@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/dist/index-cjs.js CHANGED
@@ -83461,6 +83461,14 @@ var PushSubscriptionType;
83461
83461
  PushSubscriptionType["Apple"] = "apple";
83462
83462
  PushSubscriptionType["Web"] = "web";
83463
83463
  })(PushSubscriptionType || (PushSubscriptionType = {}));
83464
+ /** Features release channel */
83465
+ var ReleaseChannel;
83466
+ (function (ReleaseChannel) {
83467
+ ReleaseChannel["Beta"] = "beta";
83468
+ ReleaseChannel["Internal"] = "internal";
83469
+ ReleaseChannel["PreRelease"] = "preRelease";
83470
+ ReleaseChannel["Public"] = "public";
83471
+ })(ReleaseChannel || (ReleaseChannel = {}));
83464
83472
  var SlaStatus;
83465
83473
  (function (SlaStatus) {
83466
83474
  SlaStatus["Breached"] = "Breached";
@@ -83541,7 +83549,6 @@ var ViewType;
83541
83549
  ViewType["MyIssuesActivity"] = "myIssuesActivity";
83542
83550
  ViewType["MyIssuesCreatedByMe"] = "myIssuesCreatedByMe";
83543
83551
  ViewType["MyIssuesSubscribedTo"] = "myIssuesSubscribedTo";
83544
- ViewType["MyIssuesTouchedByMe"] = "myIssuesTouchedByMe";
83545
83552
  ViewType["Project"] = "project";
83546
83553
  ViewType["Projects"] = "projects";
83547
83554
  ViewType["ProjectsAll"] = "projectsAll";
@@ -83559,7 +83566,6 @@ var ViewType;
83559
83566
  })(ViewType || (ViewType = {}));
83560
83567
  var WorkflowTrigger;
83561
83568
  (function (WorkflowTrigger) {
83562
- WorkflowTrigger["Cron"] = "cron";
83563
83569
  WorkflowTrigger["EntityCreated"] = "entityCreated";
83564
83570
  WorkflowTrigger["EntityCreatedOrUpdated"] = "entityCreatedOrUpdated";
83565
83571
  WorkflowTrigger["EntityRemoved"] = "entityRemoved";
@@ -83574,7 +83580,6 @@ var WorkflowTriggerType;
83574
83580
  var WorkflowType;
83575
83581
  (function (WorkflowType) {
83576
83582
  WorkflowType["Custom"] = "custom";
83577
- WorkflowType["RecurringIssue"] = "recurringIssue";
83578
83583
  WorkflowType["Sla"] = "sla";
83579
83584
  })(WorkflowType || (WorkflowType = {}));
83580
83585
  const EntityFragmentDoc = {
@@ -85938,259 +85943,6 @@ const IntegrationRequestPayloadFragmentDoc = {
85938
85943
  },
85939
85944
  ],
85940
85945
  };
85941
- const CommitPayloadFragmentDoc = {
85942
- kind: "Document",
85943
- definitions: [
85944
- {
85945
- kind: "FragmentDefinition",
85946
- name: { kind: "Name", value: "CommitPayload" },
85947
- typeCondition: { kind: "NamedType", name: { kind: "Name", value: "CommitPayload" } },
85948
- selectionSet: {
85949
- kind: "SelectionSet",
85950
- selections: [
85951
- { kind: "Field", name: { kind: "Name", value: "__typename" } },
85952
- { kind: "Field", name: { kind: "Name", value: "added" } },
85953
- { kind: "Field", name: { kind: "Name", value: "id" } },
85954
- { kind: "Field", name: { kind: "Name", value: "message" } },
85955
- { kind: "Field", name: { kind: "Name", value: "modified" } },
85956
- { kind: "Field", name: { kind: "Name", value: "removed" } },
85957
- { kind: "Field", name: { kind: "Name", value: "timestamp" } },
85958
- { kind: "Field", name: { kind: "Name", value: "url" } },
85959
- ],
85960
- },
85961
- },
85962
- ],
85963
- };
85964
- const PullRequestReviewFragmentDoc = {
85965
- kind: "Document",
85966
- definitions: [
85967
- {
85968
- kind: "FragmentDefinition",
85969
- name: { kind: "Name", value: "PullRequestReview" },
85970
- typeCondition: { kind: "NamedType", name: { kind: "Name", value: "PullRequestReview" } },
85971
- selectionSet: {
85972
- kind: "SelectionSet",
85973
- selections: [
85974
- { kind: "Field", name: { kind: "Name", value: "__typename" } },
85975
- { kind: "Field", name: { kind: "Name", value: "id" } },
85976
- { kind: "Field", name: { kind: "Name", value: "reviewerLogin" } },
85977
- { kind: "Field", name: { kind: "Name", value: "state" } },
85978
- { kind: "Field", name: { kind: "Name", value: "submittedAt" } },
85979
- { kind: "Field", name: { kind: "Name", value: "reviewerId" } },
85980
- ],
85981
- },
85982
- },
85983
- ],
85984
- };
85985
- const PullRequestPayloadFragmentDoc = {
85986
- kind: "Document",
85987
- definitions: [
85988
- {
85989
- kind: "FragmentDefinition",
85990
- name: { kind: "Name", value: "PullRequestPayload" },
85991
- typeCondition: { kind: "NamedType", name: { kind: "Name", value: "PullRequestPayload" } },
85992
- selectionSet: {
85993
- kind: "SelectionSet",
85994
- selections: [
85995
- { kind: "Field", name: { kind: "Name", value: "__typename" } },
85996
- { kind: "Field", name: { kind: "Name", value: "branch" } },
85997
- { kind: "Field", name: { kind: "Name", value: "closedAt" } },
85998
- { kind: "Field", name: { kind: "Name", value: "createdAt" } },
85999
- { kind: "Field", name: { kind: "Name", value: "draft" } },
86000
- { kind: "Field", name: { kind: "Name", value: "id" } },
86001
- { kind: "Field", name: { kind: "Name", value: "mergedAt" } },
86002
- { kind: "Field", name: { kind: "Name", value: "number" } },
86003
- { kind: "Field", name: { kind: "Name", value: "repoLogin" } },
86004
- { kind: "Field", name: { kind: "Name", value: "repoName" } },
86005
- { kind: "Field", name: { kind: "Name", value: "reviewers" } },
86006
- {
86007
- kind: "Field",
86008
- name: { kind: "Name", value: "reviews" },
86009
- selectionSet: {
86010
- kind: "SelectionSet",
86011
- selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "PullRequestReview" } }],
86012
- },
86013
- },
86014
- { kind: "Field", name: { kind: "Name", value: "status" } },
86015
- { kind: "Field", name: { kind: "Name", value: "title" } },
86016
- { kind: "Field", name: { kind: "Name", value: "updatedAt" } },
86017
- { kind: "Field", name: { kind: "Name", value: "url" } },
86018
- { kind: "Field", name: { kind: "Name", value: "userId" } },
86019
- { kind: "Field", name: { kind: "Name", value: "userLogin" } },
86020
- ],
86021
- },
86022
- },
86023
- ...PullRequestReviewFragmentDoc.definitions,
86024
- ],
86025
- };
86026
- const SentryIssuePayloadFragmentDoc = {
86027
- kind: "Document",
86028
- definitions: [
86029
- {
86030
- kind: "FragmentDefinition",
86031
- name: { kind: "Name", value: "SentryIssuePayload" },
86032
- typeCondition: { kind: "NamedType", name: { kind: "Name", value: "SentryIssuePayload" } },
86033
- selectionSet: {
86034
- kind: "SelectionSet",
86035
- selections: [
86036
- { kind: "Field", name: { kind: "Name", value: "__typename" } },
86037
- { kind: "Field", name: { kind: "Name", value: "issueId" } },
86038
- { kind: "Field", name: { kind: "Name", value: "actorId" } },
86039
- { kind: "Field", name: { kind: "Name", value: "projectId" } },
86040
- { kind: "Field", name: { kind: "Name", value: "firstSeen" } },
86041
- { kind: "Field", name: { kind: "Name", value: "webUrl" } },
86042
- { kind: "Field", name: { kind: "Name", value: "actorName" } },
86043
- { kind: "Field", name: { kind: "Name", value: "firstVersion" } },
86044
- { kind: "Field", name: { kind: "Name", value: "shortId" } },
86045
- { kind: "Field", name: { kind: "Name", value: "projectSlug" } },
86046
- { kind: "Field", name: { kind: "Name", value: "issueTitle" } },
86047
- { kind: "Field", name: { kind: "Name", value: "actorType" } },
86048
- ],
86049
- },
86050
- },
86051
- ],
86052
- };
86053
- const IntegrationResourceDataFragmentDoc = {
86054
- kind: "Document",
86055
- definitions: [
86056
- {
86057
- kind: "FragmentDefinition",
86058
- name: { kind: "Name", value: "IntegrationResourceData" },
86059
- typeCondition: { kind: "NamedType", name: { kind: "Name", value: "IntegrationResourceData" } },
86060
- selectionSet: {
86061
- kind: "SelectionSet",
86062
- selections: [
86063
- { kind: "Field", name: { kind: "Name", value: "__typename" } },
86064
- {
86065
- kind: "Field",
86066
- name: { kind: "Name", value: "githubCommit" },
86067
- selectionSet: {
86068
- kind: "SelectionSet",
86069
- selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "CommitPayload" } }],
86070
- },
86071
- },
86072
- {
86073
- kind: "Field",
86074
- name: { kind: "Name", value: "githubPullRequest" },
86075
- selectionSet: {
86076
- kind: "SelectionSet",
86077
- selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "PullRequestPayload" } }],
86078
- },
86079
- },
86080
- {
86081
- kind: "Field",
86082
- name: { kind: "Name", value: "gitlabMergeRequest" },
86083
- selectionSet: {
86084
- kind: "SelectionSet",
86085
- selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "PullRequestPayload" } }],
86086
- },
86087
- },
86088
- {
86089
- kind: "Field",
86090
- name: { kind: "Name", value: "sentryIssue" },
86091
- selectionSet: {
86092
- kind: "SelectionSet",
86093
- selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "SentryIssuePayload" } }],
86094
- },
86095
- },
86096
- ],
86097
- },
86098
- },
86099
- ...CommitPayloadFragmentDoc.definitions,
86100
- ...PullRequestPayloadFragmentDoc.definitions,
86101
- ...SentryIssuePayloadFragmentDoc.definitions,
86102
- ],
86103
- };
86104
- const IntegrationResourceFragmentDoc = {
86105
- kind: "Document",
86106
- definitions: [
86107
- {
86108
- kind: "FragmentDefinition",
86109
- name: { kind: "Name", value: "IntegrationResource" },
86110
- typeCondition: { kind: "NamedType", name: { kind: "Name", value: "IntegrationResource" } },
86111
- selectionSet: {
86112
- kind: "SelectionSet",
86113
- selections: [
86114
- { kind: "Field", name: { kind: "Name", value: "__typename" } },
86115
- {
86116
- kind: "Field",
86117
- name: { kind: "Name", value: "data" },
86118
- selectionSet: {
86119
- kind: "SelectionSet",
86120
- selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "IntegrationResourceData" } }],
86121
- },
86122
- },
86123
- {
86124
- kind: "Field",
86125
- name: { kind: "Name", value: "pullRequest" },
86126
- selectionSet: {
86127
- kind: "SelectionSet",
86128
- selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "PullRequestPayload" } }],
86129
- },
86130
- },
86131
- { kind: "Field", name: { kind: "Name", value: "resourceId" } },
86132
- {
86133
- kind: "Field",
86134
- name: { kind: "Name", value: "integration" },
86135
- selectionSet: {
86136
- kind: "SelectionSet",
86137
- selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }],
86138
- },
86139
- },
86140
- { kind: "Field", name: { kind: "Name", value: "resourceType" } },
86141
- {
86142
- kind: "Field",
86143
- name: { kind: "Name", value: "issue" },
86144
- selectionSet: {
86145
- kind: "SelectionSet",
86146
- selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }],
86147
- },
86148
- },
86149
- { kind: "Field", name: { kind: "Name", value: "updatedAt" } },
86150
- { kind: "Field", name: { kind: "Name", value: "archivedAt" } },
86151
- { kind: "Field", name: { kind: "Name", value: "createdAt" } },
86152
- { kind: "Field", name: { kind: "Name", value: "id" } },
86153
- ],
86154
- },
86155
- },
86156
- ...IntegrationResourceDataFragmentDoc.definitions,
86157
- ...PullRequestPayloadFragmentDoc.definitions,
86158
- ],
86159
- };
86160
- const IntegrationResourceConnectionFragmentDoc = {
86161
- kind: "Document",
86162
- definitions: [
86163
- {
86164
- kind: "FragmentDefinition",
86165
- name: { kind: "Name", value: "IntegrationResourceConnection" },
86166
- typeCondition: { kind: "NamedType", name: { kind: "Name", value: "IntegrationResourceConnection" } },
86167
- selectionSet: {
86168
- kind: "SelectionSet",
86169
- selections: [
86170
- { kind: "Field", name: { kind: "Name", value: "__typename" } },
86171
- {
86172
- kind: "Field",
86173
- name: { kind: "Name", value: "nodes" },
86174
- selectionSet: {
86175
- kind: "SelectionSet",
86176
- selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "IntegrationResource" } }],
86177
- },
86178
- },
86179
- {
86180
- kind: "Field",
86181
- name: { kind: "Name", value: "pageInfo" },
86182
- selectionSet: {
86183
- kind: "SelectionSet",
86184
- selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "PageInfo" } }],
86185
- },
86186
- },
86187
- ],
86188
- },
86189
- },
86190
- ...IntegrationResourceFragmentDoc.definitions,
86191
- ...PageInfoFragmentDoc.definitions,
86192
- ],
86193
- };
86194
85946
  const IntegrationTemplateFragmentDoc = {
86195
85947
  kind: "Document",
86196
85948
  definitions: [
@@ -88025,6 +87777,7 @@ const ProjectMilestoneFragmentDoc = {
88025
87777
  { kind: "Field", name: { kind: "Name", value: "description" } },
88026
87778
  { kind: "Field", name: { kind: "Name", value: "updatedAt" } },
88027
87779
  { kind: "Field", name: { kind: "Name", value: "name" } },
87780
+ { kind: "Field", name: { kind: "Name", value: "sortOrder" } },
88028
87781
  { kind: "Field", name: { kind: "Name", value: "targetDate" } },
88029
87782
  {
88030
87783
  kind: "Field",
@@ -89549,6 +89302,82 @@ const WebhookPayloadFragmentDoc = {
89549
89302
  },
89550
89303
  ],
89551
89304
  };
89305
+ const WorkflowCronJobDefinitionFragmentDoc = {
89306
+ kind: "Document",
89307
+ definitions: [
89308
+ {
89309
+ kind: "FragmentDefinition",
89310
+ name: { kind: "Name", value: "WorkflowCronJobDefinition" },
89311
+ typeCondition: { kind: "NamedType", name: { kind: "Name", value: "WorkflowCronJobDefinition" } },
89312
+ selectionSet: {
89313
+ kind: "SelectionSet",
89314
+ selections: [
89315
+ { kind: "Field", name: { kind: "Name", value: "__typename" } },
89316
+ { kind: "Field", name: { kind: "Name", value: "activities" } },
89317
+ { kind: "Field", name: { kind: "Name", value: "schedule" } },
89318
+ { kind: "Field", name: { kind: "Name", value: "description" } },
89319
+ { kind: "Field", name: { kind: "Name", value: "updatedAt" } },
89320
+ { kind: "Field", name: { kind: "Name", value: "name" } },
89321
+ { kind: "Field", name: { kind: "Name", value: "sortOrder" } },
89322
+ {
89323
+ kind: "Field",
89324
+ name: { kind: "Name", value: "team" },
89325
+ selectionSet: {
89326
+ kind: "SelectionSet",
89327
+ selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }],
89328
+ },
89329
+ },
89330
+ { kind: "Field", name: { kind: "Name", value: "archivedAt" } },
89331
+ { kind: "Field", name: { kind: "Name", value: "createdAt" } },
89332
+ { kind: "Field", name: { kind: "Name", value: "id" } },
89333
+ {
89334
+ kind: "Field",
89335
+ name: { kind: "Name", value: "creator" },
89336
+ selectionSet: {
89337
+ kind: "SelectionSet",
89338
+ selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }],
89339
+ },
89340
+ },
89341
+ { kind: "Field", name: { kind: "Name", value: "enabled" } },
89342
+ ],
89343
+ },
89344
+ },
89345
+ ],
89346
+ };
89347
+ const WorkflowCronJobDefinitionConnectionFragmentDoc = {
89348
+ kind: "Document",
89349
+ definitions: [
89350
+ {
89351
+ kind: "FragmentDefinition",
89352
+ name: { kind: "Name", value: "WorkflowCronJobDefinitionConnection" },
89353
+ typeCondition: { kind: "NamedType", name: { kind: "Name", value: "WorkflowCronJobDefinitionConnection" } },
89354
+ selectionSet: {
89355
+ kind: "SelectionSet",
89356
+ selections: [
89357
+ { kind: "Field", name: { kind: "Name", value: "__typename" } },
89358
+ {
89359
+ kind: "Field",
89360
+ name: { kind: "Name", value: "nodes" },
89361
+ selectionSet: {
89362
+ kind: "SelectionSet",
89363
+ selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "WorkflowCronJobDefinition" } }],
89364
+ },
89365
+ },
89366
+ {
89367
+ kind: "Field",
89368
+ name: { kind: "Name", value: "pageInfo" },
89369
+ selectionSet: {
89370
+ kind: "SelectionSet",
89371
+ selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "PageInfo" } }],
89372
+ },
89373
+ },
89374
+ ],
89375
+ },
89376
+ },
89377
+ ...WorkflowCronJobDefinitionFragmentDoc.definitions,
89378
+ ...PageInfoFragmentDoc.definitions,
89379
+ ],
89380
+ };
89552
89381
  const WorkflowDefinitionFragmentDoc = {
89553
89382
  kind: "Document",
89554
89383
  definitions: [
@@ -89561,7 +89390,6 @@ const WorkflowDefinitionFragmentDoc = {
89561
89390
  selections: [
89562
89391
  { kind: "Field", name: { kind: "Name", value: "__typename" } },
89563
89392
  { kind: "Field", name: { kind: "Name", value: "activities" } },
89564
- { kind: "Field", name: { kind: "Name", value: "schedule" } },
89565
89393
  { kind: "Field", name: { kind: "Name", value: "conditions" } },
89566
89394
  { kind: "Field", name: { kind: "Name", value: "description" } },
89567
89395
  { kind: "Field", name: { kind: "Name", value: "updatedAt" } },
@@ -92029,44 +91857,6 @@ const IntegrationRequestDocument = {
92029
91857
  ...IntegrationRequestPayloadFragmentDoc.definitions,
92030
91858
  ],
92031
91859
  };
92032
- const ArchiveIntegrationResourceDocument = {
92033
- kind: "Document",
92034
- definitions: [
92035
- {
92036
- kind: "OperationDefinition",
92037
- operation: "mutation",
92038
- name: { kind: "Name", value: "archiveIntegrationResource" },
92039
- variableDefinitions: [
92040
- {
92041
- kind: "VariableDefinition",
92042
- variable: { kind: "Variable", name: { kind: "Name", value: "id" } },
92043
- type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "String" } } },
92044
- },
92045
- ],
92046
- selectionSet: {
92047
- kind: "SelectionSet",
92048
- selections: [
92049
- {
92050
- kind: "Field",
92051
- name: { kind: "Name", value: "integrationResourceArchive" },
92052
- arguments: [
92053
- {
92054
- kind: "Argument",
92055
- name: { kind: "Name", value: "id" },
92056
- value: { kind: "Variable", name: { kind: "Name", value: "id" } },
92057
- },
92058
- ],
92059
- selectionSet: {
92060
- kind: "SelectionSet",
92061
- selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "ArchivePayload" } }],
92062
- },
92063
- },
92064
- ],
92065
- },
92066
- },
92067
- ...ArchivePayloadFragmentDoc.definitions,
92068
- ],
92069
- };
92070
91860
  const IntegrationSentryConnectDocument = {
92071
91861
  kind: "Document",
92072
91862
  definitions: [
@@ -108856,6 +108646,7 @@ var _generated_documents = /*#__PURE__*/Object.freeze({
108856
108646
  get ProjectUpdateHealthType () { return ProjectUpdateHealthType; },
108857
108647
  get ProjectUpdateReminderFrequency () { return ProjectUpdateReminderFrequency; },
108858
108648
  get PushSubscriptionType () { return PushSubscriptionType; },
108649
+ get ReleaseChannel () { return ReleaseChannel; },
108859
108650
  get SlaStatus () { return SlaStatus; },
108860
108651
  get UserFlagType () { return UserFlagType; },
108861
108652
  get UserFlagUpdateOperation () { return UserFlagUpdateOperation; },
@@ -108943,13 +108734,6 @@ var _generated_documents = /*#__PURE__*/Object.freeze({
108943
108734
  IntegrationConnectionFragmentDoc: IntegrationConnectionFragmentDoc,
108944
108735
  IntegrationPayloadFragmentDoc: IntegrationPayloadFragmentDoc,
108945
108736
  IntegrationRequestPayloadFragmentDoc: IntegrationRequestPayloadFragmentDoc,
108946
- CommitPayloadFragmentDoc: CommitPayloadFragmentDoc,
108947
- PullRequestReviewFragmentDoc: PullRequestReviewFragmentDoc,
108948
- PullRequestPayloadFragmentDoc: PullRequestPayloadFragmentDoc,
108949
- SentryIssuePayloadFragmentDoc: SentryIssuePayloadFragmentDoc,
108950
- IntegrationResourceDataFragmentDoc: IntegrationResourceDataFragmentDoc,
108951
- IntegrationResourceFragmentDoc: IntegrationResourceFragmentDoc,
108952
- IntegrationResourceConnectionFragmentDoc: IntegrationResourceConnectionFragmentDoc,
108953
108737
  IntegrationTemplateFragmentDoc: IntegrationTemplateFragmentDoc,
108954
108738
  IntegrationTemplateConnectionFragmentDoc: IntegrationTemplateConnectionFragmentDoc,
108955
108739
  IntegrationTemplatePayloadFragmentDoc: IntegrationTemplatePayloadFragmentDoc,
@@ -109049,6 +108833,8 @@ var _generated_documents = /*#__PURE__*/Object.freeze({
109049
108833
  WebhookFragmentDoc: WebhookFragmentDoc,
109050
108834
  WebhookConnectionFragmentDoc: WebhookConnectionFragmentDoc,
109051
108835
  WebhookPayloadFragmentDoc: WebhookPayloadFragmentDoc,
108836
+ WorkflowCronJobDefinitionFragmentDoc: WorkflowCronJobDefinitionFragmentDoc,
108837
+ WorkflowCronJobDefinitionConnectionFragmentDoc: WorkflowCronJobDefinitionConnectionFragmentDoc,
109052
108838
  WorkflowDefinitionFragmentDoc: WorkflowDefinitionFragmentDoc,
109053
108839
  WorkflowDefinitionConnectionFragmentDoc: WorkflowDefinitionConnectionFragmentDoc,
109054
108840
  WorkflowStateFragmentDoc: WorkflowStateFragmentDoc,
@@ -109107,7 +108893,6 @@ var _generated_documents = /*#__PURE__*/Object.freeze({
109107
108893
  UpdateIntegrationIntercomSettingsDocument: UpdateIntegrationIntercomSettingsDocument,
109108
108894
  IntegrationLoomDocument: IntegrationLoomDocument,
109109
108895
  IntegrationRequestDocument: IntegrationRequestDocument,
109110
- ArchiveIntegrationResourceDocument: ArchiveIntegrationResourceDocument,
109111
108896
  IntegrationSentryConnectDocument: IntegrationSentryConnectDocument,
109112
108897
  IntegrationSlackDocument: IntegrationSlackDocument,
109113
108898
  IntegrationSlackImportEmojisDocument: IntegrationSlackImportEmojisDocument,
@@ -109847,24 +109632,6 @@ class CommentPayload extends Request {
109847
109632
  return new CommentQuery(this._request).fetch(this._comment.id);
109848
109633
  }
109849
109634
  }
109850
- /**
109851
- * GitHub's commit data
109852
- *
109853
- * @param request - function to call the graphql client
109854
- * @param data - L.CommitPayloadFragment response data
109855
- */
109856
- class CommitPayload extends Request {
109857
- constructor(request, data) {
109858
- super(request);
109859
- this.added = data.added;
109860
- this.id = data.id;
109861
- this.message = data.message;
109862
- this.modified = data.modified;
109863
- this.removed = data.removed;
109864
- this.timestamp = data.timestamp;
109865
- this.url = data.url;
109866
- }
109867
- }
109868
109635
  /**
109869
109636
  * ContactPayload model
109870
109637
  *
@@ -110650,72 +110417,6 @@ class IntegrationRequestPayload extends Request {
110650
110417
  this.success = data.success;
110651
110418
  }
110652
110419
  }
110653
- /**
110654
- * An integration resource created by an external service.
110655
- *
110656
- * @param request - function to call the graphql client
110657
- * @param data - L.IntegrationResourceFragment response data
110658
- */
110659
- class IntegrationResource extends Request {
110660
- constructor(request, data) {
110661
- var _a, _b, _c, _d;
110662
- super(request);
110663
- this.archivedAt = (_a = parseDate(data.archivedAt)) !== null && _a !== void 0 ? _a : undefined;
110664
- this.createdAt = (_b = parseDate(data.createdAt)) !== null && _b !== void 0 ? _b : new Date();
110665
- this.id = data.id;
110666
- this.resourceId = data.resourceId;
110667
- this.resourceType = data.resourceType;
110668
- this.updatedAt = (_c = parseDate(data.updatedAt)) !== null && _c !== void 0 ? _c : new Date();
110669
- this.data = new IntegrationResourceData(request, data.data);
110670
- this.pullRequest = new PullRequestPayload(request, data.pullRequest);
110671
- this._integration = (_d = data.integration) !== null && _d !== void 0 ? _d : undefined;
110672
- this._issue = data.issue;
110673
- }
110674
- /** The integration that the resource is associated with. */
110675
- get integration() {
110676
- var _a, _b;
110677
- return ((_a = this._integration) === null || _a === void 0 ? void 0 : _a.id) ? new IntegrationQuery(this._request).fetch((_b = this._integration) === null || _b === void 0 ? void 0 : _b.id) : undefined;
110678
- }
110679
- /** The issue that the resource is associated with. */
110680
- get issue() {
110681
- return new IssueQuery(this._request).fetch(this._issue.id);
110682
- }
110683
- /** Archives an integration resource. */
110684
- archive() {
110685
- return new ArchiveIntegrationResourceMutation(this._request).fetch(this.id);
110686
- }
110687
- }
110688
- /**
110689
- * IntegrationResourceConnection model
110690
- *
110691
- * @param request - function to call the graphql client
110692
- * @param fetch - function to trigger a refetch of this IntegrationResourceConnection model
110693
- * @param data - IntegrationResourceConnection response data
110694
- */
110695
- class IntegrationResourceConnection extends Connection {
110696
- constructor(request, fetch, data) {
110697
- super(request, fetch, data.nodes.map(node => new IntegrationResource(request, node)), new PageInfo(request, data.pageInfo));
110698
- }
110699
- }
110700
- /**
110701
- * Integration resource's payload
110702
- *
110703
- * @param request - function to call the graphql client
110704
- * @param data - L.IntegrationResourceDataFragment response data
110705
- */
110706
- class IntegrationResourceData extends Request {
110707
- constructor(request, data) {
110708
- super(request);
110709
- this.githubCommit = data.githubCommit ? new CommitPayload(request, data.githubCommit) : undefined;
110710
- this.githubPullRequest = data.githubPullRequest
110711
- ? new PullRequestPayload(request, data.githubPullRequest)
110712
- : undefined;
110713
- this.gitlabMergeRequest = data.gitlabMergeRequest
110714
- ? new PullRequestPayload(request, data.gitlabMergeRequest)
110715
- : undefined;
110716
- this.sentryIssue = data.sentryIssue ? new SentryIssuePayload(request, data.sentryIssue) : undefined;
110717
- }
110718
- }
110719
110420
  /**
110720
110421
  * The integration resource's settings
110721
110422
  *
@@ -112386,6 +112087,7 @@ class ProjectMilestone extends Request {
112386
112087
  this.description = (_c = data.description) !== null && _c !== void 0 ? _c : undefined;
112387
112088
  this.id = data.id;
112388
112089
  this.name = data.name;
112090
+ this.sortOrder = data.sortOrder;
112389
112091
  this.targetDate = (_d = data.targetDate) !== null && _d !== void 0 ? _d : undefined;
112390
112092
  this.updatedAt = (_e = parseDate(data.updatedAt)) !== null && _e !== void 0 ? _e : new Date();
112391
112093
  this._project = data.project;
@@ -112688,51 +112390,6 @@ class ProjectUpdateWithInteractionPayload extends Request {
112688
112390
  return new ProjectUpdateQuery(this._request).fetch(this._projectUpdate.id);
112689
112391
  }
112690
112392
  }
112691
- /**
112692
- * Pull request data
112693
- *
112694
- * @param request - function to call the graphql client
112695
- * @param data - L.PullRequestPayloadFragment response data
112696
- */
112697
- class PullRequestPayload extends Request {
112698
- constructor(request, data) {
112699
- var _a;
112700
- super(request);
112701
- this.branch = data.branch;
112702
- this.closedAt = data.closedAt;
112703
- this.createdAt = data.createdAt;
112704
- this.draft = data.draft;
112705
- this.id = data.id;
112706
- this.mergedAt = data.mergedAt;
112707
- this.number = data.number;
112708
- this.repoLogin = data.repoLogin;
112709
- this.repoName = data.repoName;
112710
- this.reviewers = (_a = data.reviewers) !== null && _a !== void 0 ? _a : undefined;
112711
- this.status = data.status;
112712
- this.title = data.title;
112713
- this.updatedAt = data.updatedAt;
112714
- this.url = data.url;
112715
- this.userId = data.userId;
112716
- this.userLogin = data.userLogin;
112717
- this.reviews = data.reviews ? data.reviews.map(node => new PullRequestReview(request, node)) : undefined;
112718
- }
112719
- }
112720
- /**
112721
- * Pull request review data
112722
- *
112723
- * @param request - function to call the graphql client
112724
- * @param data - L.PullRequestReviewFragment response data
112725
- */
112726
- class PullRequestReview extends Request {
112727
- constructor(request, data) {
112728
- super(request);
112729
- this.id = data.id;
112730
- this.reviewerId = data.reviewerId;
112731
- this.reviewerLogin = data.reviewerLogin;
112732
- this.state = data.state;
112733
- this.submittedAt = data.submittedAt;
112734
- }
112735
- }
112736
112393
  /**
112737
112394
  * A user's web browser push notification subscription.
112738
112395
  *
@@ -113063,29 +112720,6 @@ class SamlConfigurationPayload extends Request {
113063
112720
  this.ssoSignAlgo = (_d = data.ssoSignAlgo) !== null && _d !== void 0 ? _d : undefined;
113064
112721
  }
113065
112722
  }
113066
- /**
113067
- * Sentry issue data
113068
- *
113069
- * @param request - function to call the graphql client
113070
- * @param data - L.SentryIssuePayloadFragment response data
113071
- */
113072
- class SentryIssuePayload extends Request {
113073
- constructor(request, data) {
113074
- var _a;
113075
- super(request);
113076
- this.actorId = data.actorId;
113077
- this.actorName = data.actorName;
113078
- this.actorType = data.actorType;
113079
- this.firstSeen = data.firstSeen;
113080
- this.firstVersion = (_a = data.firstVersion) !== null && _a !== void 0 ? _a : undefined;
113081
- this.issueId = data.issueId;
113082
- this.issueTitle = data.issueTitle;
113083
- this.projectId = data.projectId;
113084
- this.projectSlug = data.projectSlug;
113085
- this.shortId = data.shortId;
113086
- this.webUrl = data.webUrl;
113087
- }
113088
- }
113089
112723
  /**
113090
112724
  * Sentry specific settings.
113091
112725
  *
@@ -113961,6 +113595,50 @@ class WebhookPayload extends Request {
113961
113595
  return new WebhookQuery(this._request).fetch(this._webhook.id);
113962
113596
  }
113963
113597
  }
113598
+ /**
113599
+ * WorkflowCronJobDefinition model
113600
+ *
113601
+ * @param request - function to call the graphql client
113602
+ * @param data - L.WorkflowCronJobDefinitionFragment response data
113603
+ */
113604
+ class WorkflowCronJobDefinition extends Request {
113605
+ constructor(request, data) {
113606
+ var _a, _b, _c, _d, _e, _f;
113607
+ super(request);
113608
+ this.activities = (_a = parseJson(data.activities)) !== null && _a !== void 0 ? _a : {};
113609
+ this.archivedAt = (_b = parseDate(data.archivedAt)) !== null && _b !== void 0 ? _b : undefined;
113610
+ this.createdAt = (_c = parseDate(data.createdAt)) !== null && _c !== void 0 ? _c : new Date();
113611
+ this.description = (_d = data.description) !== null && _d !== void 0 ? _d : undefined;
113612
+ this.enabled = data.enabled;
113613
+ this.id = data.id;
113614
+ this.name = data.name;
113615
+ this.schedule = (_e = parseJson(data.schedule)) !== null && _e !== void 0 ? _e : {};
113616
+ this.sortOrder = data.sortOrder;
113617
+ this.updatedAt = (_f = parseDate(data.updatedAt)) !== null && _f !== void 0 ? _f : new Date();
113618
+ this._creator = data.creator;
113619
+ this._team = data.team;
113620
+ }
113621
+ /** The user who created the workflow cron job. */
113622
+ get creator() {
113623
+ return new UserQuery(this._request).fetch(this._creator.id);
113624
+ }
113625
+ /** The team associated with the workflow cron job. */
113626
+ get team() {
113627
+ return new TeamQuery(this._request).fetch(this._team.id);
113628
+ }
113629
+ }
113630
+ /**
113631
+ * WorkflowCronJobDefinitionConnection model
113632
+ *
113633
+ * @param request - function to call the graphql client
113634
+ * @param fetch - function to trigger a refetch of this WorkflowCronJobDefinitionConnection model
113635
+ * @param data - WorkflowCronJobDefinitionConnection response data
113636
+ */
113637
+ class WorkflowCronJobDefinitionConnection extends Connection {
113638
+ constructor(request, fetch, data) {
113639
+ super(request, fetch, data.nodes.map(node => new WorkflowCronJobDefinition(request, node)), new PageInfo(request, data.pageInfo));
113640
+ }
113641
+ }
113964
113642
  /**
113965
113643
  * WorkflowDefinition model
113966
113644
  *
@@ -113969,7 +113647,7 @@ class WebhookPayload extends Request {
113969
113647
  */
113970
113648
  class WorkflowDefinition extends Request {
113971
113649
  constructor(request, data) {
113972
- var _a, _b, _c, _d, _e, _f, _g, _h, _j;
113650
+ var _a, _b, _c, _d, _e, _f, _g, _h;
113973
113651
  super(request);
113974
113652
  this.activities = (_a = parseJson(data.activities)) !== null && _a !== void 0 ? _a : {};
113975
113653
  this.archivedAt = (_b = parseDate(data.archivedAt)) !== null && _b !== void 0 ? _b : undefined;
@@ -113980,11 +113658,10 @@ class WorkflowDefinition extends Request {
113980
113658
  this.groupName = (_f = data.groupName) !== null && _f !== void 0 ? _f : undefined;
113981
113659
  this.id = data.id;
113982
113660
  this.name = data.name;
113983
- this.schedule = (_g = parseJson(data.schedule)) !== null && _g !== void 0 ? _g : {};
113984
113661
  this.sortOrder = data.sortOrder;
113985
- this.updatedAt = (_h = parseDate(data.updatedAt)) !== null && _h !== void 0 ? _h : new Date();
113662
+ this.updatedAt = (_g = parseDate(data.updatedAt)) !== null && _g !== void 0 ? _g : new Date();
113986
113663
  this._creator = data.creator;
113987
- this._team = (_j = data.team) !== null && _j !== void 0 ? _j : undefined;
113664
+ this._team = (_h = data.team) !== null && _h !== void 0 ? _h : undefined;
113988
113665
  }
113989
113666
  /** The user who created the workflow. */
113990
113667
  get creator() {
@@ -115452,31 +115129,6 @@ class IntegrationRequestMutation extends Request {
115452
115129
  });
115453
115130
  }
115454
115131
  }
115455
- /**
115456
- * A fetchable ArchiveIntegrationResource Mutation
115457
- *
115458
- * @param request - function to call the graphql client
115459
- */
115460
- class ArchiveIntegrationResourceMutation extends Request {
115461
- constructor(request) {
115462
- super(request);
115463
- }
115464
- /**
115465
- * Call the ArchiveIntegrationResource mutation and return a ArchivePayload
115466
- *
115467
- * @param id - required id to pass to archiveIntegrationResource
115468
- * @returns parsed response from ArchiveIntegrationResourceMutation
115469
- */
115470
- fetch(id) {
115471
- return __awaiter(this, void 0, void 0, function* () {
115472
- const response = yield this._request(ArchiveIntegrationResourceDocument, {
115473
- id,
115474
- });
115475
- const data = response.integrationResourceArchive;
115476
- return new ArchivePayload(this._request, data);
115477
- });
115478
- }
115479
- }
115480
115132
  /**
115481
115133
  * A fetchable IntegrationSentryConnect Mutation
115482
115134
  *
@@ -122493,15 +122145,6 @@ class LinearSdk extends Request {
122493
122145
  integrationRequest(input) {
122494
122146
  return new IntegrationRequestMutation(this._request).fetch(input);
122495
122147
  }
122496
- /**
122497
- * Archives an integration resource.
122498
- *
122499
- * @param id - required id to pass to archiveIntegrationResource
122500
- * @returns ArchivePayload
122501
- */
122502
- archiveIntegrationResource(id) {
122503
- return new ArchiveIntegrationResourceMutation(this._request).fetch(id);
122504
- }
122505
122148
  /**
122506
122149
  * Integrates the organization with Sentry.
122507
122150
  *
@@ -124344,7 +123987,6 @@ exports.ApplicationInfoQuery = ApplicationInfoQuery;
124344
123987
  exports.ApplicationWithAuthorizationQuery = ApplicationWithAuthorizationQuery;
124345
123988
  exports.ArchiveAttachmentMutation = ArchiveAttachmentMutation;
124346
123989
  exports.ArchiveCycleMutation = ArchiveCycleMutation;
124347
- exports.ArchiveIntegrationResourceMutation = ArchiveIntegrationResourceMutation;
124348
123990
  exports.ArchiveIssueLabelMutation = ArchiveIssueLabelMutation;
124349
123991
  exports.ArchiveIssueMutation = ArchiveIssueMutation;
124350
123992
  exports.ArchiveNotificationMutation = ArchiveNotificationMutation;
@@ -124387,7 +124029,6 @@ exports.CommentPayload = CommentPayload;
124387
124029
  exports.CommentQuery = CommentQuery;
124388
124030
  exports.Comment_ChildrenQuery = Comment_ChildrenQuery;
124389
124031
  exports.CommentsQuery = CommentsQuery;
124390
- exports.CommitPayload = CommitPayload;
124391
124032
  exports.Connection = Connection;
124392
124033
  exports.ContactPayload = ContactPayload;
124393
124034
  exports.CreateApiKeyMutation = CreateApiKeyMutation;
@@ -124530,9 +124171,6 @@ exports.IntegrationPayload = IntegrationPayload;
124530
124171
  exports.IntegrationQuery = IntegrationQuery;
124531
124172
  exports.IntegrationRequestMutation = IntegrationRequestMutation;
124532
124173
  exports.IntegrationRequestPayload = IntegrationRequestPayload;
124533
- exports.IntegrationResource = IntegrationResource;
124534
- exports.IntegrationResourceConnection = IntegrationResourceConnection;
124535
- exports.IntegrationResourceData = IntegrationResourceData;
124536
124174
  exports.IntegrationSentryConnectMutation = IntegrationSentryConnectMutation;
124537
124175
  exports.IntegrationSettings = IntegrationSettings;
124538
124176
  exports.IntegrationSlackImportEmojisMutation = IntegrationSlackImportEmojisMutation;
@@ -124698,8 +124336,6 @@ exports.Project_MembersQuery = Project_MembersQuery;
124698
124336
  exports.Project_ProjectUpdatesQuery = Project_ProjectUpdatesQuery;
124699
124337
  exports.Project_TeamsQuery = Project_TeamsQuery;
124700
124338
  exports.ProjectsQuery = ProjectsQuery;
124701
- exports.PullRequestPayload = PullRequestPayload;
124702
- exports.PullRequestReview = PullRequestReview;
124703
124339
  exports.PushSubscription = PushSubscription;
124704
124340
  exports.PushSubscriptionConnection = PushSubscriptionConnection;
124705
124341
  exports.PushSubscriptionPayload = PushSubscriptionPayload;
@@ -124729,7 +124365,6 @@ exports.RoadmapsQuery = RoadmapsQuery;
124729
124365
  exports.SamlConfiguration = SamlConfiguration;
124730
124366
  exports.SamlConfigurationPayload = SamlConfigurationPayload;
124731
124367
  exports.SamlTokenUserAccountAuthMutation = SamlTokenUserAccountAuthMutation;
124732
- exports.SentryIssuePayload = SentryIssuePayload;
124733
124368
  exports.SentrySettings = SentrySettings;
124734
124369
  exports.SlackPostSettings = SlackPostSettings;
124735
124370
  exports.SsoUrlFromEmailQuery = SsoUrlFromEmailQuery;
@@ -124842,6 +124477,8 @@ exports.WebhookConnection = WebhookConnection;
124842
124477
  exports.WebhookPayload = WebhookPayload;
124843
124478
  exports.WebhookQuery = WebhookQuery;
124844
124479
  exports.WebhooksQuery = WebhooksQuery;
124480
+ exports.WorkflowCronJobDefinition = WorkflowCronJobDefinition;
124481
+ exports.WorkflowCronJobDefinitionConnection = WorkflowCronJobDefinitionConnection;
124845
124482
  exports.WorkflowDefinition = WorkflowDefinition;
124846
124483
  exports.WorkflowDefinitionConnection = WorkflowDefinitionConnection;
124847
124484
  exports.WorkflowState = WorkflowState;