@linear/sdk 23.0.0 → 24.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index-cjs.js CHANGED
@@ -83470,6 +83470,12 @@ var InitiativeStatus;
83470
83470
  InitiativeStatus["Completed"] = "Completed";
83471
83471
  InitiativeStatus["Planned"] = "Planned";
83472
83472
  })(InitiativeStatus || (InitiativeStatus = {}));
83473
+ /** Different tabs available inside an initiative. */
83474
+ var InitiativeTab;
83475
+ (function (InitiativeTab) {
83476
+ InitiativeTab["Overview"] = "overview";
83477
+ InitiativeTab["Projects"] = "projects";
83478
+ })(InitiativeTab || (InitiativeTab = {}));
83473
83479
  /** Linear supported integration services. */
83474
83480
  var IntegrationService;
83475
83481
  (function (IntegrationService) {
@@ -83481,6 +83487,7 @@ var IntegrationService;
83481
83487
  IntegrationService["Front"] = "front";
83482
83488
  IntegrationService["Github"] = "github";
83483
83489
  IntegrationService["GithubCommit"] = "githubCommit";
83490
+ IntegrationService["GithubEnterpriseServer"] = "githubEnterpriseServer";
83484
83491
  IntegrationService["GithubImport"] = "githubImport";
83485
83492
  IntegrationService["GithubPersonal"] = "githubPersonal";
83486
83493
  IntegrationService["Gitlab"] = "gitlab";
@@ -83659,6 +83666,7 @@ var UserFlagType;
83659
83666
  UserFlagType["FigmaPromptDismissed"] = "figmaPromptDismissed";
83660
83667
  UserFlagType["HelpIslandFeatureInsightsDismissed"] = "helpIslandFeatureInsightsDismissed";
83661
83668
  UserFlagType["ImportBannerDismissed"] = "importBannerDismissed";
83669
+ UserFlagType["InitiativesBannerDismissed"] = "initiativesBannerDismissed";
83662
83670
  UserFlagType["InsightsHelpDismissed"] = "insightsHelpDismissed";
83663
83671
  UserFlagType["InsightsWelcomeDismissed"] = "insightsWelcomeDismissed";
83664
83672
  UserFlagType["IssueLabelSuggestionUsed"] = "issueLabelSuggestionUsed";
@@ -83787,6 +83795,24 @@ const EntityFragmentDoc = {
83787
83795
  },
83788
83796
  ],
83789
83797
  };
83798
+ const CommentNotificationFragmentDoc = {
83799
+ kind: "Document",
83800
+ definitions: [
83801
+ {
83802
+ kind: "FragmentDefinition",
83803
+ name: { kind: "Name", value: "CommentNotification" },
83804
+ typeCondition: { kind: "NamedType", name: { kind: "Name", value: "CommentNotification" } },
83805
+ selectionSet: {
83806
+ kind: "SelectionSet",
83807
+ selections: [
83808
+ { kind: "Field", name: { kind: "Name", value: "__typename" } },
83809
+ { kind: "Field", name: { kind: "Name", value: "commentId" } },
83810
+ { kind: "Field", name: { kind: "Name", value: "parentCommentId" } },
83811
+ ],
83812
+ },
83813
+ },
83814
+ ],
83815
+ };
83790
83816
  const CustomViewNotificationSubscriptionFragmentDoc = {
83791
83817
  kind: "Document",
83792
83818
  definitions: [
@@ -83968,6 +83994,14 @@ const DocumentContentFragmentDoc = {
83968
83994
  selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }],
83969
83995
  },
83970
83996
  },
83997
+ {
83998
+ kind: "Field",
83999
+ name: { kind: "Name", value: "initiative" },
84000
+ selectionSet: {
84001
+ kind: "SelectionSet",
84002
+ selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }],
84003
+ },
84004
+ },
83971
84005
  {
83972
84006
  kind: "Field",
83973
84007
  name: { kind: "Name", value: "issue" },
@@ -84032,6 +84066,69 @@ const DocumentContentHistoryFragmentDoc = {
84032
84066
  },
84033
84067
  ],
84034
84068
  };
84069
+ const DraftFragmentDoc = {
84070
+ kind: "Document",
84071
+ definitions: [
84072
+ {
84073
+ kind: "FragmentDefinition",
84074
+ name: { kind: "Name", value: "Draft" },
84075
+ typeCondition: { kind: "NamedType", name: { kind: "Name", value: "Draft" } },
84076
+ selectionSet: {
84077
+ kind: "SelectionSet",
84078
+ selections: [
84079
+ { kind: "Field", name: { kind: "Name", value: "__typename" } },
84080
+ { kind: "Field", name: { kind: "Name", value: "data" } },
84081
+ {
84082
+ kind: "Field",
84083
+ name: { kind: "Name", value: "parentComment" },
84084
+ selectionSet: {
84085
+ kind: "SelectionSet",
84086
+ selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }],
84087
+ },
84088
+ },
84089
+ {
84090
+ kind: "Field",
84091
+ name: { kind: "Name", value: "issue" },
84092
+ selectionSet: {
84093
+ kind: "SelectionSet",
84094
+ selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }],
84095
+ },
84096
+ },
84097
+ { kind: "Field", name: { kind: "Name", value: "updatedAt" } },
84098
+ {
84099
+ kind: "Field",
84100
+ name: { kind: "Name", value: "project" },
84101
+ selectionSet: {
84102
+ kind: "SelectionSet",
84103
+ selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }],
84104
+ },
84105
+ },
84106
+ {
84107
+ kind: "Field",
84108
+ name: { kind: "Name", value: "projectUpdate" },
84109
+ selectionSet: {
84110
+ kind: "SelectionSet",
84111
+ selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }],
84112
+ },
84113
+ },
84114
+ { kind: "Field", name: { kind: "Name", value: "bodyData" } },
84115
+ { kind: "Field", name: { kind: "Name", value: "archivedAt" } },
84116
+ { kind: "Field", name: { kind: "Name", value: "createdAt" } },
84117
+ { kind: "Field", name: { kind: "Name", value: "id" } },
84118
+ {
84119
+ kind: "Field",
84120
+ name: { kind: "Name", value: "user" },
84121
+ selectionSet: {
84122
+ kind: "SelectionSet",
84123
+ selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }],
84124
+ },
84125
+ },
84126
+ { kind: "Field", name: { kind: "Name", value: "isAutogenerated" } },
84127
+ ],
84128
+ },
84129
+ },
84130
+ ],
84131
+ };
84035
84132
  const AttachmentArchivePayloadFragmentDoc = {
84036
84133
  kind: "Document",
84037
84134
  definitions: [
@@ -84140,6 +84237,14 @@ const InitiativeArchivePayloadFragmentDoc = {
84140
84237
  kind: "SelectionSet",
84141
84238
  selections: [
84142
84239
  { kind: "Field", name: { kind: "Name", value: "__typename" } },
84240
+ {
84241
+ kind: "Field",
84242
+ name: { kind: "Name", value: "entity" },
84243
+ selectionSet: {
84244
+ kind: "SelectionSet",
84245
+ selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }],
84246
+ },
84247
+ },
84143
84248
  { kind: "Field", name: { kind: "Name", value: "lastSyncId" } },
84144
84249
  { kind: "Field", name: { kind: "Name", value: "success" } },
84145
84250
  ],
@@ -84207,6 +84312,8 @@ const DocumentNotificationFragmentDoc = {
84207
84312
  selections: [
84208
84313
  { kind: "Field", name: { kind: "Name", value: "__typename" } },
84209
84314
  { kind: "Field", name: { kind: "Name", value: "type" } },
84315
+ { kind: "Field", name: { kind: "Name", value: "commentId" } },
84316
+ { kind: "Field", name: { kind: "Name", value: "parentCommentId" } },
84210
84317
  {
84211
84318
  kind: "Field",
84212
84319
  name: { kind: "Name", value: "botActor" },
@@ -84264,6 +84371,8 @@ const InitiativeNotificationFragmentDoc = {
84264
84371
  selections: [
84265
84372
  { kind: "Field", name: { kind: "Name", value: "__typename" } },
84266
84373
  { kind: "Field", name: { kind: "Name", value: "type" } },
84374
+ { kind: "Field", name: { kind: "Name", value: "commentId" } },
84375
+ { kind: "Field", name: { kind: "Name", value: "parentCommentId" } },
84267
84376
  {
84268
84377
  kind: "Field",
84269
84378
  name: { kind: "Name", value: "botActor" },
@@ -84401,6 +84510,8 @@ const IssueNotificationFragmentDoc = {
84401
84510
  { kind: "Field", name: { kind: "Name", value: "__typename" } },
84402
84511
  { kind: "Field", name: { kind: "Name", value: "reactionEmoji" } },
84403
84512
  { kind: "Field", name: { kind: "Name", value: "type" } },
84513
+ { kind: "Field", name: { kind: "Name", value: "commentId" } },
84514
+ { kind: "Field", name: { kind: "Name", value: "parentCommentId" } },
84404
84515
  {
84405
84516
  kind: "Field",
84406
84517
  name: { kind: "Name", value: "botActor" },
@@ -84434,6 +84545,14 @@ const IssueNotificationFragmentDoc = {
84434
84545
  },
84435
84546
  },
84436
84547
  { kind: "Field", name: { kind: "Name", value: "updatedAt" } },
84548
+ {
84549
+ kind: "Field",
84550
+ name: { kind: "Name", value: "parentComment" },
84551
+ selectionSet: {
84552
+ kind: "SelectionSet",
84553
+ selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }],
84554
+ },
84555
+ },
84437
84556
  {
84438
84557
  kind: "Field",
84439
84558
  name: { kind: "Name", value: "subscriptions" },
@@ -84582,6 +84701,8 @@ const ProjectNotificationFragmentDoc = {
84582
84701
  selections: [
84583
84702
  { kind: "Field", name: { kind: "Name", value: "__typename" } },
84584
84703
  { kind: "Field", name: { kind: "Name", value: "type" } },
84704
+ { kind: "Field", name: { kind: "Name", value: "commentId" } },
84705
+ { kind: "Field", name: { kind: "Name", value: "parentCommentId" } },
84585
84706
  {
84586
84707
  kind: "Field",
84587
84708
  name: { kind: "Name", value: "botActor" },
@@ -84590,6 +84711,14 @@ const ProjectNotificationFragmentDoc = {
84590
84711
  selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "ActorBot" } }],
84591
84712
  },
84592
84713
  },
84714
+ {
84715
+ kind: "Field",
84716
+ name: { kind: "Name", value: "comment" },
84717
+ selectionSet: {
84718
+ kind: "SelectionSet",
84719
+ selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }],
84720
+ },
84721
+ },
84593
84722
  {
84594
84723
  kind: "Field",
84595
84724
  name: { kind: "Name", value: "externalUserActor" },
@@ -84599,6 +84728,14 @@ const ProjectNotificationFragmentDoc = {
84599
84728
  },
84600
84729
  },
84601
84730
  { kind: "Field", name: { kind: "Name", value: "updatedAt" } },
84731
+ {
84732
+ kind: "Field",
84733
+ name: { kind: "Name", value: "parentComment" },
84734
+ selectionSet: {
84735
+ kind: "SelectionSet",
84736
+ selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }],
84737
+ },
84738
+ },
84602
84739
  {
84603
84740
  kind: "Field",
84604
84741
  name: { kind: "Name", value: "project" },
@@ -85273,68 +85410,6 @@ const TeamNotificationSubscriptionFragmentDoc = {
85273
85410
  },
85274
85411
  ],
85275
85412
  };
85276
- const TextDraftFragmentDoc = {
85277
- kind: "Document",
85278
- definitions: [
85279
- {
85280
- kind: "FragmentDefinition",
85281
- name: { kind: "Name", value: "TextDraft" },
85282
- typeCondition: { kind: "NamedType", name: { kind: "Name", value: "TextDraft" } },
85283
- selectionSet: {
85284
- kind: "SelectionSet",
85285
- selections: [
85286
- { kind: "Field", name: { kind: "Name", value: "__typename" } },
85287
- {
85288
- kind: "Field",
85289
- name: { kind: "Name", value: "parentComment" },
85290
- selectionSet: {
85291
- kind: "SelectionSet",
85292
- selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }],
85293
- },
85294
- },
85295
- {
85296
- kind: "Field",
85297
- name: { kind: "Name", value: "issue" },
85298
- selectionSet: {
85299
- kind: "SelectionSet",
85300
- selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }],
85301
- },
85302
- },
85303
- { kind: "Field", name: { kind: "Name", value: "updatedAt" } },
85304
- {
85305
- kind: "Field",
85306
- name: { kind: "Name", value: "project" },
85307
- selectionSet: {
85308
- kind: "SelectionSet",
85309
- selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }],
85310
- },
85311
- },
85312
- {
85313
- kind: "Field",
85314
- name: { kind: "Name", value: "projectUpdate" },
85315
- selectionSet: {
85316
- kind: "SelectionSet",
85317
- selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }],
85318
- },
85319
- },
85320
- { kind: "Field", name: { kind: "Name", value: "bodyData" } },
85321
- { kind: "Field", name: { kind: "Name", value: "archivedAt" } },
85322
- { kind: "Field", name: { kind: "Name", value: "createdAt" } },
85323
- { kind: "Field", name: { kind: "Name", value: "id" } },
85324
- {
85325
- kind: "Field",
85326
- name: { kind: "Name", value: "user" },
85327
- selectionSet: {
85328
- kind: "SelectionSet",
85329
- selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }],
85330
- },
85331
- },
85332
- { kind: "Field", name: { kind: "Name", value: "isAutogenerated" } },
85333
- ],
85334
- },
85335
- },
85336
- ],
85337
- };
85338
85413
  const UserAccountFragmentDoc = {
85339
85414
  kind: "Document",
85340
85415
  definitions: [
@@ -86626,6 +86701,58 @@ const IntegrationSettingsFragmentDoc = {
86626
86701
  },
86627
86702
  ],
86628
86703
  };
86704
+ const InitiativePayloadFragmentDoc = {
86705
+ kind: "Document",
86706
+ definitions: [
86707
+ {
86708
+ kind: "FragmentDefinition",
86709
+ name: { kind: "Name", value: "InitiativePayload" },
86710
+ typeCondition: { kind: "NamedType", name: { kind: "Name", value: "InitiativePayload" } },
86711
+ selectionSet: {
86712
+ kind: "SelectionSet",
86713
+ selections: [
86714
+ { kind: "Field", name: { kind: "Name", value: "__typename" } },
86715
+ { kind: "Field", name: { kind: "Name", value: "lastSyncId" } },
86716
+ {
86717
+ kind: "Field",
86718
+ name: { kind: "Name", value: "initiative" },
86719
+ selectionSet: {
86720
+ kind: "SelectionSet",
86721
+ selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }],
86722
+ },
86723
+ },
86724
+ { kind: "Field", name: { kind: "Name", value: "success" } },
86725
+ ],
86726
+ },
86727
+ },
86728
+ ],
86729
+ };
86730
+ const InitiativeToProjectPayloadFragmentDoc = {
86731
+ kind: "Document",
86732
+ definitions: [
86733
+ {
86734
+ kind: "FragmentDefinition",
86735
+ name: { kind: "Name", value: "InitiativeToProjectPayload" },
86736
+ typeCondition: { kind: "NamedType", name: { kind: "Name", value: "InitiativeToProjectPayload" } },
86737
+ selectionSet: {
86738
+ kind: "SelectionSet",
86739
+ selections: [
86740
+ { kind: "Field", name: { kind: "Name", value: "__typename" } },
86741
+ { kind: "Field", name: { kind: "Name", value: "lastSyncId" } },
86742
+ {
86743
+ kind: "Field",
86744
+ name: { kind: "Name", value: "initiativeToProject" },
86745
+ selectionSet: {
86746
+ kind: "SelectionSet",
86747
+ selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }],
86748
+ },
86749
+ },
86750
+ { kind: "Field", name: { kind: "Name", value: "success" } },
86751
+ ],
86752
+ },
86753
+ },
86754
+ ],
86755
+ };
86629
86756
  const NotificationDeliveryPreferencesDayFragmentDoc = {
86630
86757
  kind: "Document",
86631
86758
  definitions: [
@@ -86882,6 +87009,69 @@ const IssueImportSyncCheckPayloadFragmentDoc = {
86882
87009
  },
86883
87010
  ],
86884
87011
  };
87012
+ const TextDraftFragmentDoc = {
87013
+ kind: "Document",
87014
+ definitions: [
87015
+ {
87016
+ kind: "FragmentDefinition",
87017
+ name: { kind: "Name", value: "TextDraft" },
87018
+ typeCondition: { kind: "NamedType", name: { kind: "Name", value: "TextDraft" } },
87019
+ selectionSet: {
87020
+ kind: "SelectionSet",
87021
+ selections: [
87022
+ { kind: "Field", name: { kind: "Name", value: "__typename" } },
87023
+ { kind: "Field", name: { kind: "Name", value: "data" } },
87024
+ {
87025
+ kind: "Field",
87026
+ name: { kind: "Name", value: "parentComment" },
87027
+ selectionSet: {
87028
+ kind: "SelectionSet",
87029
+ selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }],
87030
+ },
87031
+ },
87032
+ {
87033
+ kind: "Field",
87034
+ name: { kind: "Name", value: "issue" },
87035
+ selectionSet: {
87036
+ kind: "SelectionSet",
87037
+ selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }],
87038
+ },
87039
+ },
87040
+ { kind: "Field", name: { kind: "Name", value: "updatedAt" } },
87041
+ {
87042
+ kind: "Field",
87043
+ name: { kind: "Name", value: "project" },
87044
+ selectionSet: {
87045
+ kind: "SelectionSet",
87046
+ selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }],
87047
+ },
87048
+ },
87049
+ {
87050
+ kind: "Field",
87051
+ name: { kind: "Name", value: "projectUpdate" },
87052
+ selectionSet: {
87053
+ kind: "SelectionSet",
87054
+ selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }],
87055
+ },
87056
+ },
87057
+ { kind: "Field", name: { kind: "Name", value: "bodyData" } },
87058
+ { kind: "Field", name: { kind: "Name", value: "archivedAt" } },
87059
+ { kind: "Field", name: { kind: "Name", value: "createdAt" } },
87060
+ { kind: "Field", name: { kind: "Name", value: "id" } },
87061
+ {
87062
+ kind: "Field",
87063
+ name: { kind: "Name", value: "user" },
87064
+ selectionSet: {
87065
+ kind: "SelectionSet",
87066
+ selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }],
87067
+ },
87068
+ },
87069
+ { kind: "Field", name: { kind: "Name", value: "isAutogenerated" } },
87070
+ ],
87071
+ },
87072
+ },
87073
+ ],
87074
+ };
86885
87075
  const ApiKeyFragmentDoc = {
86886
87076
  kind: "Document",
86887
87077
  definitions: [
@@ -87399,6 +87589,7 @@ const AuthOrganizationBucketNamePayloadFragmentDoc = {
87399
87589
  selections: [
87400
87590
  { kind: "Field", name: { kind: "Name", value: "__typename" } },
87401
87591
  { kind: "Field", name: { kind: "Name", value: "importsBucketName" } },
87592
+ { kind: "Field", name: { kind: "Name", value: "region" } },
87402
87593
  { kind: "Field", name: { kind: "Name", value: "uploadsBucketName" } },
87403
87594
  ],
87404
87595
  },
@@ -88851,6 +89042,14 @@ const EntityExternalLinkFragmentDoc = {
88851
89042
  kind: "SelectionSet",
88852
89043
  selections: [
88853
89044
  { kind: "Field", name: { kind: "Name", value: "__typename" } },
89045
+ {
89046
+ kind: "Field",
89047
+ name: { kind: "Name", value: "initiative" },
89048
+ selectionSet: {
89049
+ kind: "SelectionSet",
89050
+ selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }],
89051
+ },
89052
+ },
88854
89053
  { kind: "Field", name: { kind: "Name", value: "updatedAt" } },
88855
89054
  { kind: "Field", name: { kind: "Name", value: "url" } },
88856
89055
  { kind: "Field", name: { kind: "Name", value: "label" } },
@@ -88998,6 +89197,14 @@ const FacetFragmentDoc = {
88998
89197
  selections: [
88999
89198
  { kind: "Field", name: { kind: "Name", value: "__typename" } },
89000
89199
  { kind: "Field", name: { kind: "Name", value: "updatedAt" } },
89200
+ {
89201
+ kind: "Field",
89202
+ name: { kind: "Name", value: "sourceInitiative" },
89203
+ selectionSet: {
89204
+ kind: "SelectionSet",
89205
+ selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }],
89206
+ },
89207
+ },
89001
89208
  { kind: "Field", name: { kind: "Name", value: "sourcePage" } },
89002
89209
  {
89003
89210
  kind: "Field",
@@ -89131,14 +89338,6 @@ const FavoriteFragmentDoc = {
89131
89338
  selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }],
89132
89339
  },
89133
89340
  },
89134
- {
89135
- kind: "Field",
89136
- name: { kind: "Name", value: "projectTeam" },
89137
- selectionSet: {
89138
- kind: "SelectionSet",
89139
- selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }],
89140
- },
89141
- },
89142
89341
  {
89143
89342
  kind: "Field",
89144
89343
  name: { kind: "Name", value: "user" },
@@ -89166,6 +89365,7 @@ const FavoriteFragmentDoc = {
89166
89365
  selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }],
89167
89366
  },
89168
89367
  },
89368
+ { kind: "Field", name: { kind: "Name", value: "initiativeTab" } },
89169
89369
  { kind: "Field", name: { kind: "Name", value: "projectTab" } },
89170
89370
  {
89171
89371
  kind: "Field",
@@ -89180,6 +89380,15 @@ const FavoriteFragmentDoc = {
89180
89380
  { kind: "Field", name: { kind: "Name", value: "predefinedViewType" } },
89181
89381
  { kind: "Field", name: { kind: "Name", value: "type" } },
89182
89382
  { kind: "Field", name: { kind: "Name", value: "id" } },
89383
+ { kind: "Field", name: { kind: "Name", value: "url" } },
89384
+ {
89385
+ kind: "Field",
89386
+ name: { kind: "Name", value: "projectTeam" },
89387
+ selectionSet: {
89388
+ kind: "SelectionSet",
89389
+ selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }],
89390
+ },
89391
+ },
89183
89392
  ],
89184
89393
  },
89185
89394
  },
@@ -89619,6 +89828,34 @@ const GitHubCommitIntegrationPayloadFragmentDoc = {
89619
89828
  },
89620
89829
  ],
89621
89830
  };
89831
+ const GitHubEnterpriseServerPayloadFragmentDoc = {
89832
+ kind: "Document",
89833
+ definitions: [
89834
+ {
89835
+ kind: "FragmentDefinition",
89836
+ name: { kind: "Name", value: "GitHubEnterpriseServerPayload" },
89837
+ typeCondition: { kind: "NamedType", name: { kind: "Name", value: "GitHubEnterpriseServerPayload" } },
89838
+ selectionSet: {
89839
+ kind: "SelectionSet",
89840
+ selections: [
89841
+ { kind: "Field", name: { kind: "Name", value: "__typename" } },
89842
+ { kind: "Field", name: { kind: "Name", value: "lastSyncId" } },
89843
+ {
89844
+ kind: "Field",
89845
+ name: { kind: "Name", value: "integration" },
89846
+ selectionSet: {
89847
+ kind: "SelectionSet",
89848
+ selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }],
89849
+ },
89850
+ },
89851
+ { kind: "Field", name: { kind: "Name", value: "setupUrl" } },
89852
+ { kind: "Field", name: { kind: "Name", value: "webhookSecret" } },
89853
+ { kind: "Field", name: { kind: "Name", value: "success" } },
89854
+ ],
89855
+ },
89856
+ },
89857
+ ],
89858
+ };
89622
89859
  const ImageUploadFromUrlPayloadFragmentDoc = {
89623
89860
  kind: "Document",
89624
89861
  definitions: [
@@ -89638,6 +89875,153 @@ const ImageUploadFromUrlPayloadFragmentDoc = {
89638
89875
  },
89639
89876
  ],
89640
89877
  };
89878
+ const InitiativeFragmentDoc = {
89879
+ kind: "Document",
89880
+ definitions: [
89881
+ {
89882
+ kind: "FragmentDefinition",
89883
+ name: { kind: "Name", value: "Initiative" },
89884
+ typeCondition: { kind: "NamedType", name: { kind: "Name", value: "Initiative" } },
89885
+ selectionSet: {
89886
+ kind: "SelectionSet",
89887
+ selections: [
89888
+ { kind: "Field", name: { kind: "Name", value: "__typename" } },
89889
+ { kind: "Field", name: { kind: "Name", value: "trashed" } },
89890
+ { kind: "Field", name: { kind: "Name", value: "description" } },
89891
+ { kind: "Field", name: { kind: "Name", value: "targetDate" } },
89892
+ { kind: "Field", name: { kind: "Name", value: "icon" } },
89893
+ { kind: "Field", name: { kind: "Name", value: "color" } },
89894
+ { kind: "Field", name: { kind: "Name", value: "slugId" } },
89895
+ { kind: "Field", name: { kind: "Name", value: "updatedAt" } },
89896
+ { kind: "Field", name: { kind: "Name", value: "name" } },
89897
+ { kind: "Field", name: { kind: "Name", value: "targetDateResolution" } },
89898
+ { kind: "Field", name: { kind: "Name", value: "sortOrder" } },
89899
+ { kind: "Field", name: { kind: "Name", value: "status" } },
89900
+ { kind: "Field", name: { kind: "Name", value: "archivedAt" } },
89901
+ { kind: "Field", name: { kind: "Name", value: "createdAt" } },
89902
+ { kind: "Field", name: { kind: "Name", value: "id" } },
89903
+ {
89904
+ kind: "Field",
89905
+ name: { kind: "Name", value: "creator" },
89906
+ selectionSet: {
89907
+ kind: "SelectionSet",
89908
+ selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }],
89909
+ },
89910
+ },
89911
+ {
89912
+ kind: "Field",
89913
+ name: { kind: "Name", value: "owner" },
89914
+ selectionSet: {
89915
+ kind: "SelectionSet",
89916
+ selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }],
89917
+ },
89918
+ },
89919
+ ],
89920
+ },
89921
+ },
89922
+ ],
89923
+ };
89924
+ const InitiativeConnectionFragmentDoc = {
89925
+ kind: "Document",
89926
+ definitions: [
89927
+ {
89928
+ kind: "FragmentDefinition",
89929
+ name: { kind: "Name", value: "InitiativeConnection" },
89930
+ typeCondition: { kind: "NamedType", name: { kind: "Name", value: "InitiativeConnection" } },
89931
+ selectionSet: {
89932
+ kind: "SelectionSet",
89933
+ selections: [
89934
+ { kind: "Field", name: { kind: "Name", value: "__typename" } },
89935
+ {
89936
+ kind: "Field",
89937
+ name: { kind: "Name", value: "nodes" },
89938
+ selectionSet: {
89939
+ kind: "SelectionSet",
89940
+ selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "Initiative" } }],
89941
+ },
89942
+ },
89943
+ {
89944
+ kind: "Field",
89945
+ name: { kind: "Name", value: "pageInfo" },
89946
+ selectionSet: {
89947
+ kind: "SelectionSet",
89948
+ selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "PageInfo" } }],
89949
+ },
89950
+ },
89951
+ ],
89952
+ },
89953
+ },
89954
+ ],
89955
+ };
89956
+ const InitiativeToProjectFragmentDoc = {
89957
+ kind: "Document",
89958
+ definitions: [
89959
+ {
89960
+ kind: "FragmentDefinition",
89961
+ name: { kind: "Name", value: "InitiativeToProject" },
89962
+ typeCondition: { kind: "NamedType", name: { kind: "Name", value: "InitiativeToProject" } },
89963
+ selectionSet: {
89964
+ kind: "SelectionSet",
89965
+ selections: [
89966
+ { kind: "Field", name: { kind: "Name", value: "__typename" } },
89967
+ {
89968
+ kind: "Field",
89969
+ name: { kind: "Name", value: "initiative" },
89970
+ selectionSet: {
89971
+ kind: "SelectionSet",
89972
+ selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }],
89973
+ },
89974
+ },
89975
+ { kind: "Field", name: { kind: "Name", value: "updatedAt" } },
89976
+ {
89977
+ kind: "Field",
89978
+ name: { kind: "Name", value: "project" },
89979
+ selectionSet: {
89980
+ kind: "SelectionSet",
89981
+ selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }],
89982
+ },
89983
+ },
89984
+ { kind: "Field", name: { kind: "Name", value: "sortOrder" } },
89985
+ { kind: "Field", name: { kind: "Name", value: "archivedAt" } },
89986
+ { kind: "Field", name: { kind: "Name", value: "createdAt" } },
89987
+ { kind: "Field", name: { kind: "Name", value: "id" } },
89988
+ ],
89989
+ },
89990
+ },
89991
+ ],
89992
+ };
89993
+ const InitiativeToProjectConnectionFragmentDoc = {
89994
+ kind: "Document",
89995
+ definitions: [
89996
+ {
89997
+ kind: "FragmentDefinition",
89998
+ name: { kind: "Name", value: "InitiativeToProjectConnection" },
89999
+ typeCondition: { kind: "NamedType", name: { kind: "Name", value: "InitiativeToProjectConnection" } },
90000
+ selectionSet: {
90001
+ kind: "SelectionSet",
90002
+ selections: [
90003
+ { kind: "Field", name: { kind: "Name", value: "__typename" } },
90004
+ {
90005
+ kind: "Field",
90006
+ name: { kind: "Name", value: "nodes" },
90007
+ selectionSet: {
90008
+ kind: "SelectionSet",
90009
+ selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "InitiativeToProject" } }],
90010
+ },
90011
+ },
90012
+ {
90013
+ kind: "Field",
90014
+ name: { kind: "Name", value: "pageInfo" },
90015
+ selectionSet: {
90016
+ kind: "SelectionSet",
90017
+ selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "PageInfo" } }],
90018
+ },
90019
+ },
90020
+ ],
90021
+ },
90022
+ },
90023
+ ],
90024
+ };
89641
90025
  const IntegrationFragmentDoc = {
89642
90026
  kind: "Document",
89643
90027
  definitions: [
@@ -90246,7 +90630,9 @@ const UserFragmentDoc = {
90246
90630
  { kind: "Field", name: { kind: "Name", value: "avatarUrl" } },
90247
90631
  { kind: "Field", name: { kind: "Name", value: "createdIssueCount" } },
90248
90632
  { kind: "Field", name: { kind: "Name", value: "disableReason" } },
90633
+ { kind: "Field", name: { kind: "Name", value: "avatarBackgroundColor" } },
90249
90634
  { kind: "Field", name: { kind: "Name", value: "statusEmoji" } },
90635
+ { kind: "Field", name: { kind: "Name", value: "initials" } },
90250
90636
  { kind: "Field", name: { kind: "Name", value: "statusLabel" } },
90251
90637
  { kind: "Field", name: { kind: "Name", value: "updatedAt" } },
90252
90638
  { kind: "Field", name: { kind: "Name", value: "lastSeen" } },
@@ -90286,6 +90672,7 @@ const IssueImportFragmentDoc = {
90286
90672
  { kind: "Field", name: { kind: "Name", value: "serviceMetadata" } },
90287
90673
  { kind: "Field", name: { kind: "Name", value: "teamName" } },
90288
90674
  { kind: "Field", name: { kind: "Name", value: "mapping" } },
90675
+ { kind: "Field", name: { kind: "Name", value: "displayName" } },
90289
90676
  { kind: "Field", name: { kind: "Name", value: "creatorId" } },
90290
90677
  { kind: "Field", name: { kind: "Name", value: "updatedAt" } },
90291
90678
  { kind: "Field", name: { kind: "Name", value: "service" } },
@@ -98434,13 +98821,13 @@ const FavoritesDocument = {
98434
98821
  ...PageInfoFragmentDoc.definitions,
98435
98822
  ],
98436
98823
  };
98437
- const IntegrationDocument = {
98824
+ const InitiativeDocument = {
98438
98825
  kind: "Document",
98439
98826
  definitions: [
98440
98827
  {
98441
98828
  kind: "OperationDefinition",
98442
98829
  operation: "query",
98443
- name: { kind: "Name", value: "integration" },
98830
+ name: { kind: "Name", value: "initiative" },
98444
98831
  variableDefinitions: [
98445
98832
  {
98446
98833
  kind: "VariableDefinition",
@@ -98453,7 +98840,7 @@ const IntegrationDocument = {
98453
98840
  selections: [
98454
98841
  {
98455
98842
  kind: "Field",
98456
- name: { kind: "Name", value: "integration" },
98843
+ name: { kind: "Name", value: "initiative" },
98457
98844
  arguments: [
98458
98845
  {
98459
98846
  kind: "Argument",
@@ -98463,115 +98850,606 @@ const IntegrationDocument = {
98463
98850
  ],
98464
98851
  selectionSet: {
98465
98852
  kind: "SelectionSet",
98466
- selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "Integration" } }],
98853
+ selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "Initiative" } }],
98467
98854
  },
98468
98855
  },
98469
98856
  ],
98470
98857
  },
98471
98858
  },
98472
- ...IntegrationFragmentDoc.definitions,
98859
+ ...InitiativeFragmentDoc.definitions,
98473
98860
  ],
98474
98861
  };
98475
- const IntegrationHasScopesDocument = {
98862
+ const Initiative_LinksDocument = {
98476
98863
  kind: "Document",
98477
98864
  definitions: [
98478
98865
  {
98479
98866
  kind: "OperationDefinition",
98480
98867
  operation: "query",
98481
- name: { kind: "Name", value: "integrationHasScopes" },
98482
- variableDefinitions: [
98483
- {
98484
- kind: "VariableDefinition",
98485
- variable: { kind: "Variable", name: { kind: "Name", value: "integrationId" } },
98486
- type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "String" } } },
98487
- },
98488
- {
98489
- kind: "VariableDefinition",
98490
- variable: { kind: "Variable", name: { kind: "Name", value: "scopes" } },
98491
- type: {
98492
- kind: "NonNullType",
98493
- type: {
98494
- kind: "ListType",
98495
- type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "String" } } },
98496
- },
98497
- },
98498
- },
98499
- ],
98500
- selectionSet: {
98501
- kind: "SelectionSet",
98502
- selections: [
98503
- {
98504
- kind: "Field",
98505
- name: { kind: "Name", value: "integrationHasScopes" },
98506
- arguments: [
98507
- {
98508
- kind: "Argument",
98509
- name: { kind: "Name", value: "integrationId" },
98510
- value: { kind: "Variable", name: { kind: "Name", value: "integrationId" } },
98511
- },
98512
- {
98513
- kind: "Argument",
98514
- name: { kind: "Name", value: "scopes" },
98515
- value: { kind: "Variable", name: { kind: "Name", value: "scopes" } },
98516
- },
98517
- ],
98518
- selectionSet: {
98519
- kind: "SelectionSet",
98520
- selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "IntegrationHasScopesPayload" } }],
98521
- },
98522
- },
98523
- ],
98524
- },
98525
- },
98526
- ...IntegrationHasScopesPayloadFragmentDoc.definitions,
98527
- ],
98528
- };
98529
- const IntegrationTemplateDocument = {
98530
- kind: "Document",
98531
- definitions: [
98532
- {
98533
- kind: "OperationDefinition",
98534
- operation: "query",
98535
- name: { kind: "Name", value: "integrationTemplate" },
98868
+ name: { kind: "Name", value: "initiative_links" },
98536
98869
  variableDefinitions: [
98537
98870
  {
98538
98871
  kind: "VariableDefinition",
98539
98872
  variable: { kind: "Variable", name: { kind: "Name", value: "id" } },
98540
98873
  type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "String" } } },
98541
98874
  },
98542
- ],
98543
- selectionSet: {
98544
- kind: "SelectionSet",
98545
- selections: [
98546
- {
98547
- kind: "Field",
98548
- name: { kind: "Name", value: "integrationTemplate" },
98549
- arguments: [
98550
- {
98551
- kind: "Argument",
98552
- name: { kind: "Name", value: "id" },
98553
- value: { kind: "Variable", name: { kind: "Name", value: "id" } },
98554
- },
98555
- ],
98556
- selectionSet: {
98557
- kind: "SelectionSet",
98558
- selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "IntegrationTemplate" } }],
98559
- },
98560
- },
98561
- ],
98562
- },
98563
- },
98564
- ...IntegrationTemplateFragmentDoc.definitions,
98565
- ],
98566
- };
98567
- const IntegrationTemplatesDocument = {
98568
- kind: "Document",
98569
- definitions: [
98570
- {
98571
- kind: "OperationDefinition",
98572
- operation: "query",
98573
- name: { kind: "Name", value: "integrationTemplates" },
98574
- variableDefinitions: [
98875
+ {
98876
+ kind: "VariableDefinition",
98877
+ variable: { kind: "Variable", name: { kind: "Name", value: "after" } },
98878
+ type: { kind: "NamedType", name: { kind: "Name", value: "String" } },
98879
+ },
98880
+ {
98881
+ kind: "VariableDefinition",
98882
+ variable: { kind: "Variable", name: { kind: "Name", value: "before" } },
98883
+ type: { kind: "NamedType", name: { kind: "Name", value: "String" } },
98884
+ },
98885
+ {
98886
+ kind: "VariableDefinition",
98887
+ variable: { kind: "Variable", name: { kind: "Name", value: "first" } },
98888
+ type: { kind: "NamedType", name: { kind: "Name", value: "Int" } },
98889
+ },
98890
+ {
98891
+ kind: "VariableDefinition",
98892
+ variable: { kind: "Variable", name: { kind: "Name", value: "includeArchived" } },
98893
+ type: { kind: "NamedType", name: { kind: "Name", value: "Boolean" } },
98894
+ },
98895
+ {
98896
+ kind: "VariableDefinition",
98897
+ variable: { kind: "Variable", name: { kind: "Name", value: "last" } },
98898
+ type: { kind: "NamedType", name: { kind: "Name", value: "Int" } },
98899
+ },
98900
+ {
98901
+ kind: "VariableDefinition",
98902
+ variable: { kind: "Variable", name: { kind: "Name", value: "orderBy" } },
98903
+ type: { kind: "NamedType", name: { kind: "Name", value: "PaginationOrderBy" } },
98904
+ },
98905
+ ],
98906
+ selectionSet: {
98907
+ kind: "SelectionSet",
98908
+ selections: [
98909
+ {
98910
+ kind: "Field",
98911
+ name: { kind: "Name", value: "initiative" },
98912
+ arguments: [
98913
+ {
98914
+ kind: "Argument",
98915
+ name: { kind: "Name", value: "id" },
98916
+ value: { kind: "Variable", name: { kind: "Name", value: "id" } },
98917
+ },
98918
+ ],
98919
+ selectionSet: {
98920
+ kind: "SelectionSet",
98921
+ selections: [
98922
+ {
98923
+ kind: "Field",
98924
+ name: { kind: "Name", value: "links" },
98925
+ arguments: [
98926
+ {
98927
+ kind: "Argument",
98928
+ name: { kind: "Name", value: "after" },
98929
+ value: { kind: "Variable", name: { kind: "Name", value: "after" } },
98930
+ },
98931
+ {
98932
+ kind: "Argument",
98933
+ name: { kind: "Name", value: "before" },
98934
+ value: { kind: "Variable", name: { kind: "Name", value: "before" } },
98935
+ },
98936
+ {
98937
+ kind: "Argument",
98938
+ name: { kind: "Name", value: "first" },
98939
+ value: { kind: "Variable", name: { kind: "Name", value: "first" } },
98940
+ },
98941
+ {
98942
+ kind: "Argument",
98943
+ name: { kind: "Name", value: "includeArchived" },
98944
+ value: { kind: "Variable", name: { kind: "Name", value: "includeArchived" } },
98945
+ },
98946
+ {
98947
+ kind: "Argument",
98948
+ name: { kind: "Name", value: "last" },
98949
+ value: { kind: "Variable", name: { kind: "Name", value: "last" } },
98950
+ },
98951
+ {
98952
+ kind: "Argument",
98953
+ name: { kind: "Name", value: "orderBy" },
98954
+ value: { kind: "Variable", name: { kind: "Name", value: "orderBy" } },
98955
+ },
98956
+ ],
98957
+ selectionSet: {
98958
+ kind: "SelectionSet",
98959
+ selections: [
98960
+ { kind: "FragmentSpread", name: { kind: "Name", value: "EntityExternalLinkConnection" } },
98961
+ ],
98962
+ },
98963
+ },
98964
+ ],
98965
+ },
98966
+ },
98967
+ ],
98968
+ },
98969
+ },
98970
+ ...EntityExternalLinkConnectionFragmentDoc.definitions,
98971
+ ...EntityExternalLinkFragmentDoc.definitions,
98972
+ ...PageInfoFragmentDoc.definitions,
98973
+ ],
98974
+ };
98975
+ const Initiative_ProjectsDocument = {
98976
+ kind: "Document",
98977
+ definitions: [
98978
+ {
98979
+ kind: "OperationDefinition",
98980
+ operation: "query",
98981
+ name: { kind: "Name", value: "initiative_projects" },
98982
+ variableDefinitions: [
98983
+ {
98984
+ kind: "VariableDefinition",
98985
+ variable: { kind: "Variable", name: { kind: "Name", value: "id" } },
98986
+ type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "String" } } },
98987
+ },
98988
+ {
98989
+ kind: "VariableDefinition",
98990
+ variable: { kind: "Variable", name: { kind: "Name", value: "after" } },
98991
+ type: { kind: "NamedType", name: { kind: "Name", value: "String" } },
98992
+ },
98993
+ {
98994
+ kind: "VariableDefinition",
98995
+ variable: { kind: "Variable", name: { kind: "Name", value: "before" } },
98996
+ type: { kind: "NamedType", name: { kind: "Name", value: "String" } },
98997
+ },
98998
+ {
98999
+ kind: "VariableDefinition",
99000
+ variable: { kind: "Variable", name: { kind: "Name", value: "filter" } },
99001
+ type: { kind: "NamedType", name: { kind: "Name", value: "ProjectFilter" } },
99002
+ },
99003
+ {
99004
+ kind: "VariableDefinition",
99005
+ variable: { kind: "Variable", name: { kind: "Name", value: "first" } },
99006
+ type: { kind: "NamedType", name: { kind: "Name", value: "Int" } },
99007
+ },
99008
+ {
99009
+ kind: "VariableDefinition",
99010
+ variable: { kind: "Variable", name: { kind: "Name", value: "includeArchived" } },
99011
+ type: { kind: "NamedType", name: { kind: "Name", value: "Boolean" } },
99012
+ },
99013
+ {
99014
+ kind: "VariableDefinition",
99015
+ variable: { kind: "Variable", name: { kind: "Name", value: "last" } },
99016
+ type: { kind: "NamedType", name: { kind: "Name", value: "Int" } },
99017
+ },
99018
+ {
99019
+ kind: "VariableDefinition",
99020
+ variable: { kind: "Variable", name: { kind: "Name", value: "orderBy" } },
99021
+ type: { kind: "NamedType", name: { kind: "Name", value: "PaginationOrderBy" } },
99022
+ },
99023
+ ],
99024
+ selectionSet: {
99025
+ kind: "SelectionSet",
99026
+ selections: [
99027
+ {
99028
+ kind: "Field",
99029
+ name: { kind: "Name", value: "initiative" },
99030
+ arguments: [
99031
+ {
99032
+ kind: "Argument",
99033
+ name: { kind: "Name", value: "id" },
99034
+ value: { kind: "Variable", name: { kind: "Name", value: "id" } },
99035
+ },
99036
+ ],
99037
+ selectionSet: {
99038
+ kind: "SelectionSet",
99039
+ selections: [
99040
+ {
99041
+ kind: "Field",
99042
+ name: { kind: "Name", value: "projects" },
99043
+ arguments: [
99044
+ {
99045
+ kind: "Argument",
99046
+ name: { kind: "Name", value: "after" },
99047
+ value: { kind: "Variable", name: { kind: "Name", value: "after" } },
99048
+ },
99049
+ {
99050
+ kind: "Argument",
99051
+ name: { kind: "Name", value: "before" },
99052
+ value: { kind: "Variable", name: { kind: "Name", value: "before" } },
99053
+ },
99054
+ {
99055
+ kind: "Argument",
99056
+ name: { kind: "Name", value: "filter" },
99057
+ value: { kind: "Variable", name: { kind: "Name", value: "filter" } },
99058
+ },
99059
+ {
99060
+ kind: "Argument",
99061
+ name: { kind: "Name", value: "first" },
99062
+ value: { kind: "Variable", name: { kind: "Name", value: "first" } },
99063
+ },
99064
+ {
99065
+ kind: "Argument",
99066
+ name: { kind: "Name", value: "includeArchived" },
99067
+ value: { kind: "Variable", name: { kind: "Name", value: "includeArchived" } },
99068
+ },
99069
+ {
99070
+ kind: "Argument",
99071
+ name: { kind: "Name", value: "last" },
99072
+ value: { kind: "Variable", name: { kind: "Name", value: "last" } },
99073
+ },
99074
+ {
99075
+ kind: "Argument",
99076
+ name: { kind: "Name", value: "orderBy" },
99077
+ value: { kind: "Variable", name: { kind: "Name", value: "orderBy" } },
99078
+ },
99079
+ ],
99080
+ selectionSet: {
99081
+ kind: "SelectionSet",
99082
+ selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "ProjectConnection" } }],
99083
+ },
99084
+ },
99085
+ ],
99086
+ },
99087
+ },
99088
+ ],
99089
+ },
99090
+ },
99091
+ ...ProjectConnectionFragmentDoc.definitions,
99092
+ ...ProjectFragmentDoc.definitions,
99093
+ ...ProjectStatusFragmentDoc.definitions,
99094
+ ...PageInfoFragmentDoc.definitions,
99095
+ ],
99096
+ };
99097
+ const InitiativeToProjectDocument = {
99098
+ kind: "Document",
99099
+ definitions: [
99100
+ {
99101
+ kind: "OperationDefinition",
99102
+ operation: "query",
99103
+ name: { kind: "Name", value: "initiativeToProject" },
99104
+ variableDefinitions: [
99105
+ {
99106
+ kind: "VariableDefinition",
99107
+ variable: { kind: "Variable", name: { kind: "Name", value: "id" } },
99108
+ type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "String" } } },
99109
+ },
99110
+ ],
99111
+ selectionSet: {
99112
+ kind: "SelectionSet",
99113
+ selections: [
99114
+ {
99115
+ kind: "Field",
99116
+ name: { kind: "Name", value: "initiativeToProject" },
99117
+ arguments: [
99118
+ {
99119
+ kind: "Argument",
99120
+ name: { kind: "Name", value: "id" },
99121
+ value: { kind: "Variable", name: { kind: "Name", value: "id" } },
99122
+ },
99123
+ ],
99124
+ selectionSet: {
99125
+ kind: "SelectionSet",
99126
+ selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "InitiativeToProject" } }],
99127
+ },
99128
+ },
99129
+ ],
99130
+ },
99131
+ },
99132
+ ...InitiativeToProjectFragmentDoc.definitions,
99133
+ ],
99134
+ };
99135
+ const InitiativeToProjectsDocument = {
99136
+ kind: "Document",
99137
+ definitions: [
99138
+ {
99139
+ kind: "OperationDefinition",
99140
+ operation: "query",
99141
+ name: { kind: "Name", value: "initiativeToProjects" },
99142
+ variableDefinitions: [
99143
+ {
99144
+ kind: "VariableDefinition",
99145
+ variable: { kind: "Variable", name: { kind: "Name", value: "after" } },
99146
+ type: { kind: "NamedType", name: { kind: "Name", value: "String" } },
99147
+ },
99148
+ {
99149
+ kind: "VariableDefinition",
99150
+ variable: { kind: "Variable", name: { kind: "Name", value: "before" } },
99151
+ type: { kind: "NamedType", name: { kind: "Name", value: "String" } },
99152
+ },
99153
+ {
99154
+ kind: "VariableDefinition",
99155
+ variable: { kind: "Variable", name: { kind: "Name", value: "first" } },
99156
+ type: { kind: "NamedType", name: { kind: "Name", value: "Int" } },
99157
+ },
99158
+ {
99159
+ kind: "VariableDefinition",
99160
+ variable: { kind: "Variable", name: { kind: "Name", value: "includeArchived" } },
99161
+ type: { kind: "NamedType", name: { kind: "Name", value: "Boolean" } },
99162
+ },
99163
+ {
99164
+ kind: "VariableDefinition",
99165
+ variable: { kind: "Variable", name: { kind: "Name", value: "last" } },
99166
+ type: { kind: "NamedType", name: { kind: "Name", value: "Int" } },
99167
+ },
99168
+ {
99169
+ kind: "VariableDefinition",
99170
+ variable: { kind: "Variable", name: { kind: "Name", value: "orderBy" } },
99171
+ type: { kind: "NamedType", name: { kind: "Name", value: "PaginationOrderBy" } },
99172
+ },
99173
+ ],
99174
+ selectionSet: {
99175
+ kind: "SelectionSet",
99176
+ selections: [
99177
+ {
99178
+ kind: "Field",
99179
+ name: { kind: "Name", value: "initiativeToProjects" },
99180
+ arguments: [
99181
+ {
99182
+ kind: "Argument",
99183
+ name: { kind: "Name", value: "after" },
99184
+ value: { kind: "Variable", name: { kind: "Name", value: "after" } },
99185
+ },
99186
+ {
99187
+ kind: "Argument",
99188
+ name: { kind: "Name", value: "before" },
99189
+ value: { kind: "Variable", name: { kind: "Name", value: "before" } },
99190
+ },
99191
+ {
99192
+ kind: "Argument",
99193
+ name: { kind: "Name", value: "first" },
99194
+ value: { kind: "Variable", name: { kind: "Name", value: "first" } },
99195
+ },
99196
+ {
99197
+ kind: "Argument",
99198
+ name: { kind: "Name", value: "includeArchived" },
99199
+ value: { kind: "Variable", name: { kind: "Name", value: "includeArchived" } },
99200
+ },
99201
+ {
99202
+ kind: "Argument",
99203
+ name: { kind: "Name", value: "last" },
99204
+ value: { kind: "Variable", name: { kind: "Name", value: "last" } },
99205
+ },
99206
+ {
99207
+ kind: "Argument",
99208
+ name: { kind: "Name", value: "orderBy" },
99209
+ value: { kind: "Variable", name: { kind: "Name", value: "orderBy" } },
99210
+ },
99211
+ ],
99212
+ selectionSet: {
99213
+ kind: "SelectionSet",
99214
+ selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "InitiativeToProjectConnection" } }],
99215
+ },
99216
+ },
99217
+ ],
99218
+ },
99219
+ },
99220
+ ...InitiativeToProjectConnectionFragmentDoc.definitions,
99221
+ ...InitiativeToProjectFragmentDoc.definitions,
99222
+ ...PageInfoFragmentDoc.definitions,
99223
+ ],
99224
+ };
99225
+ const InitiativesDocument = {
99226
+ kind: "Document",
99227
+ definitions: [
99228
+ {
99229
+ kind: "OperationDefinition",
99230
+ operation: "query",
99231
+ name: { kind: "Name", value: "initiatives" },
99232
+ variableDefinitions: [
99233
+ {
99234
+ kind: "VariableDefinition",
99235
+ variable: { kind: "Variable", name: { kind: "Name", value: "after" } },
99236
+ type: { kind: "NamedType", name: { kind: "Name", value: "String" } },
99237
+ },
99238
+ {
99239
+ kind: "VariableDefinition",
99240
+ variable: { kind: "Variable", name: { kind: "Name", value: "before" } },
99241
+ type: { kind: "NamedType", name: { kind: "Name", value: "String" } },
99242
+ },
99243
+ {
99244
+ kind: "VariableDefinition",
99245
+ variable: { kind: "Variable", name: { kind: "Name", value: "first" } },
99246
+ type: { kind: "NamedType", name: { kind: "Name", value: "Int" } },
99247
+ },
99248
+ {
99249
+ kind: "VariableDefinition",
99250
+ variable: { kind: "Variable", name: { kind: "Name", value: "includeArchived" } },
99251
+ type: { kind: "NamedType", name: { kind: "Name", value: "Boolean" } },
99252
+ },
99253
+ {
99254
+ kind: "VariableDefinition",
99255
+ variable: { kind: "Variable", name: { kind: "Name", value: "last" } },
99256
+ type: { kind: "NamedType", name: { kind: "Name", value: "Int" } },
99257
+ },
99258
+ {
99259
+ kind: "VariableDefinition",
99260
+ variable: { kind: "Variable", name: { kind: "Name", value: "orderBy" } },
99261
+ type: { kind: "NamedType", name: { kind: "Name", value: "PaginationOrderBy" } },
99262
+ },
99263
+ ],
99264
+ selectionSet: {
99265
+ kind: "SelectionSet",
99266
+ selections: [
99267
+ {
99268
+ kind: "Field",
99269
+ name: { kind: "Name", value: "initiatives" },
99270
+ arguments: [
99271
+ {
99272
+ kind: "Argument",
99273
+ name: { kind: "Name", value: "after" },
99274
+ value: { kind: "Variable", name: { kind: "Name", value: "after" } },
99275
+ },
99276
+ {
99277
+ kind: "Argument",
99278
+ name: { kind: "Name", value: "before" },
99279
+ value: { kind: "Variable", name: { kind: "Name", value: "before" } },
99280
+ },
99281
+ {
99282
+ kind: "Argument",
99283
+ name: { kind: "Name", value: "first" },
99284
+ value: { kind: "Variable", name: { kind: "Name", value: "first" } },
99285
+ },
99286
+ {
99287
+ kind: "Argument",
99288
+ name: { kind: "Name", value: "includeArchived" },
99289
+ value: { kind: "Variable", name: { kind: "Name", value: "includeArchived" } },
99290
+ },
99291
+ {
99292
+ kind: "Argument",
99293
+ name: { kind: "Name", value: "last" },
99294
+ value: { kind: "Variable", name: { kind: "Name", value: "last" } },
99295
+ },
99296
+ {
99297
+ kind: "Argument",
99298
+ name: { kind: "Name", value: "orderBy" },
99299
+ value: { kind: "Variable", name: { kind: "Name", value: "orderBy" } },
99300
+ },
99301
+ ],
99302
+ selectionSet: {
99303
+ kind: "SelectionSet",
99304
+ selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "InitiativeConnection" } }],
99305
+ },
99306
+ },
99307
+ ],
99308
+ },
99309
+ },
99310
+ ...InitiativeConnectionFragmentDoc.definitions,
99311
+ ...InitiativeFragmentDoc.definitions,
99312
+ ...PageInfoFragmentDoc.definitions,
99313
+ ],
99314
+ };
99315
+ const IntegrationDocument = {
99316
+ kind: "Document",
99317
+ definitions: [
99318
+ {
99319
+ kind: "OperationDefinition",
99320
+ operation: "query",
99321
+ name: { kind: "Name", value: "integration" },
99322
+ variableDefinitions: [
99323
+ {
99324
+ kind: "VariableDefinition",
99325
+ variable: { kind: "Variable", name: { kind: "Name", value: "id" } },
99326
+ type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "String" } } },
99327
+ },
99328
+ ],
99329
+ selectionSet: {
99330
+ kind: "SelectionSet",
99331
+ selections: [
99332
+ {
99333
+ kind: "Field",
99334
+ name: { kind: "Name", value: "integration" },
99335
+ arguments: [
99336
+ {
99337
+ kind: "Argument",
99338
+ name: { kind: "Name", value: "id" },
99339
+ value: { kind: "Variable", name: { kind: "Name", value: "id" } },
99340
+ },
99341
+ ],
99342
+ selectionSet: {
99343
+ kind: "SelectionSet",
99344
+ selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "Integration" } }],
99345
+ },
99346
+ },
99347
+ ],
99348
+ },
99349
+ },
99350
+ ...IntegrationFragmentDoc.definitions,
99351
+ ],
99352
+ };
99353
+ const IntegrationHasScopesDocument = {
99354
+ kind: "Document",
99355
+ definitions: [
99356
+ {
99357
+ kind: "OperationDefinition",
99358
+ operation: "query",
99359
+ name: { kind: "Name", value: "integrationHasScopes" },
99360
+ variableDefinitions: [
99361
+ {
99362
+ kind: "VariableDefinition",
99363
+ variable: { kind: "Variable", name: { kind: "Name", value: "integrationId" } },
99364
+ type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "String" } } },
99365
+ },
99366
+ {
99367
+ kind: "VariableDefinition",
99368
+ variable: { kind: "Variable", name: { kind: "Name", value: "scopes" } },
99369
+ type: {
99370
+ kind: "NonNullType",
99371
+ type: {
99372
+ kind: "ListType",
99373
+ type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "String" } } },
99374
+ },
99375
+ },
99376
+ },
99377
+ ],
99378
+ selectionSet: {
99379
+ kind: "SelectionSet",
99380
+ selections: [
99381
+ {
99382
+ kind: "Field",
99383
+ name: { kind: "Name", value: "integrationHasScopes" },
99384
+ arguments: [
99385
+ {
99386
+ kind: "Argument",
99387
+ name: { kind: "Name", value: "integrationId" },
99388
+ value: { kind: "Variable", name: { kind: "Name", value: "integrationId" } },
99389
+ },
99390
+ {
99391
+ kind: "Argument",
99392
+ name: { kind: "Name", value: "scopes" },
99393
+ value: { kind: "Variable", name: { kind: "Name", value: "scopes" } },
99394
+ },
99395
+ ],
99396
+ selectionSet: {
99397
+ kind: "SelectionSet",
99398
+ selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "IntegrationHasScopesPayload" } }],
99399
+ },
99400
+ },
99401
+ ],
99402
+ },
99403
+ },
99404
+ ...IntegrationHasScopesPayloadFragmentDoc.definitions,
99405
+ ],
99406
+ };
99407
+ const IntegrationTemplateDocument = {
99408
+ kind: "Document",
99409
+ definitions: [
99410
+ {
99411
+ kind: "OperationDefinition",
99412
+ operation: "query",
99413
+ name: { kind: "Name", value: "integrationTemplate" },
99414
+ variableDefinitions: [
99415
+ {
99416
+ kind: "VariableDefinition",
99417
+ variable: { kind: "Variable", name: { kind: "Name", value: "id" } },
99418
+ type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "String" } } },
99419
+ },
99420
+ ],
99421
+ selectionSet: {
99422
+ kind: "SelectionSet",
99423
+ selections: [
99424
+ {
99425
+ kind: "Field",
99426
+ name: { kind: "Name", value: "integrationTemplate" },
99427
+ arguments: [
99428
+ {
99429
+ kind: "Argument",
99430
+ name: { kind: "Name", value: "id" },
99431
+ value: { kind: "Variable", name: { kind: "Name", value: "id" } },
99432
+ },
99433
+ ],
99434
+ selectionSet: {
99435
+ kind: "SelectionSet",
99436
+ selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "IntegrationTemplate" } }],
99437
+ },
99438
+ },
99439
+ ],
99440
+ },
99441
+ },
99442
+ ...IntegrationTemplateFragmentDoc.definitions,
99443
+ ],
99444
+ };
99445
+ const IntegrationTemplatesDocument = {
99446
+ kind: "Document",
99447
+ definitions: [
99448
+ {
99449
+ kind: "OperationDefinition",
99450
+ operation: "query",
99451
+ name: { kind: "Name", value: "integrationTemplates" },
99452
+ variableDefinitions: [
98575
99453
  {
98576
99454
  kind: "VariableDefinition",
98577
99455
  variable: { kind: "Variable", name: { kind: "Name", value: "after" } },
@@ -113481,6 +114359,342 @@ const ImportFileUploadDocument = {
113481
114359
  ...UploadFileHeaderFragmentDoc.definitions,
113482
114360
  ],
113483
114361
  };
114362
+ const ArchiveInitiativeDocument = {
114363
+ kind: "Document",
114364
+ definitions: [
114365
+ {
114366
+ kind: "OperationDefinition",
114367
+ operation: "mutation",
114368
+ name: { kind: "Name", value: "archiveInitiative" },
114369
+ variableDefinitions: [
114370
+ {
114371
+ kind: "VariableDefinition",
114372
+ variable: { kind: "Variable", name: { kind: "Name", value: "id" } },
114373
+ type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "String" } } },
114374
+ },
114375
+ ],
114376
+ selectionSet: {
114377
+ kind: "SelectionSet",
114378
+ selections: [
114379
+ {
114380
+ kind: "Field",
114381
+ name: { kind: "Name", value: "initiativeArchive" },
114382
+ arguments: [
114383
+ {
114384
+ kind: "Argument",
114385
+ name: { kind: "Name", value: "id" },
114386
+ value: { kind: "Variable", name: { kind: "Name", value: "id" } },
114387
+ },
114388
+ ],
114389
+ selectionSet: {
114390
+ kind: "SelectionSet",
114391
+ selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "InitiativeArchivePayload" } }],
114392
+ },
114393
+ },
114394
+ ],
114395
+ },
114396
+ },
114397
+ ...InitiativeArchivePayloadFragmentDoc.definitions,
114398
+ ],
114399
+ };
114400
+ const CreateInitiativeDocument = {
114401
+ kind: "Document",
114402
+ definitions: [
114403
+ {
114404
+ kind: "OperationDefinition",
114405
+ operation: "mutation",
114406
+ name: { kind: "Name", value: "createInitiative" },
114407
+ variableDefinitions: [
114408
+ {
114409
+ kind: "VariableDefinition",
114410
+ variable: { kind: "Variable", name: { kind: "Name", value: "input" } },
114411
+ type: {
114412
+ kind: "NonNullType",
114413
+ type: { kind: "NamedType", name: { kind: "Name", value: "InitiativeCreateInput" } },
114414
+ },
114415
+ },
114416
+ ],
114417
+ selectionSet: {
114418
+ kind: "SelectionSet",
114419
+ selections: [
114420
+ {
114421
+ kind: "Field",
114422
+ name: { kind: "Name", value: "initiativeCreate" },
114423
+ arguments: [
114424
+ {
114425
+ kind: "Argument",
114426
+ name: { kind: "Name", value: "input" },
114427
+ value: { kind: "Variable", name: { kind: "Name", value: "input" } },
114428
+ },
114429
+ ],
114430
+ selectionSet: {
114431
+ kind: "SelectionSet",
114432
+ selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "InitiativePayload" } }],
114433
+ },
114434
+ },
114435
+ ],
114436
+ },
114437
+ },
114438
+ ...InitiativePayloadFragmentDoc.definitions,
114439
+ ],
114440
+ };
114441
+ const DeleteInitiativeDocument = {
114442
+ kind: "Document",
114443
+ definitions: [
114444
+ {
114445
+ kind: "OperationDefinition",
114446
+ operation: "mutation",
114447
+ name: { kind: "Name", value: "deleteInitiative" },
114448
+ variableDefinitions: [
114449
+ {
114450
+ kind: "VariableDefinition",
114451
+ variable: { kind: "Variable", name: { kind: "Name", value: "id" } },
114452
+ type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "String" } } },
114453
+ },
114454
+ ],
114455
+ selectionSet: {
114456
+ kind: "SelectionSet",
114457
+ selections: [
114458
+ {
114459
+ kind: "Field",
114460
+ name: { kind: "Name", value: "initiativeDelete" },
114461
+ arguments: [
114462
+ {
114463
+ kind: "Argument",
114464
+ name: { kind: "Name", value: "id" },
114465
+ value: { kind: "Variable", name: { kind: "Name", value: "id" } },
114466
+ },
114467
+ ],
114468
+ selectionSet: {
114469
+ kind: "SelectionSet",
114470
+ selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "DeletePayload" } }],
114471
+ },
114472
+ },
114473
+ ],
114474
+ },
114475
+ },
114476
+ ...DeletePayloadFragmentDoc.definitions,
114477
+ ],
114478
+ };
114479
+ const CreateInitiativeToProjectDocument = {
114480
+ kind: "Document",
114481
+ definitions: [
114482
+ {
114483
+ kind: "OperationDefinition",
114484
+ operation: "mutation",
114485
+ name: { kind: "Name", value: "createInitiativeToProject" },
114486
+ variableDefinitions: [
114487
+ {
114488
+ kind: "VariableDefinition",
114489
+ variable: { kind: "Variable", name: { kind: "Name", value: "input" } },
114490
+ type: {
114491
+ kind: "NonNullType",
114492
+ type: { kind: "NamedType", name: { kind: "Name", value: "InitiativeToProjectCreateInput" } },
114493
+ },
114494
+ },
114495
+ ],
114496
+ selectionSet: {
114497
+ kind: "SelectionSet",
114498
+ selections: [
114499
+ {
114500
+ kind: "Field",
114501
+ name: { kind: "Name", value: "initiativeToProjectCreate" },
114502
+ arguments: [
114503
+ {
114504
+ kind: "Argument",
114505
+ name: { kind: "Name", value: "input" },
114506
+ value: { kind: "Variable", name: { kind: "Name", value: "input" } },
114507
+ },
114508
+ ],
114509
+ selectionSet: {
114510
+ kind: "SelectionSet",
114511
+ selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "InitiativeToProjectPayload" } }],
114512
+ },
114513
+ },
114514
+ ],
114515
+ },
114516
+ },
114517
+ ...InitiativeToProjectPayloadFragmentDoc.definitions,
114518
+ ],
114519
+ };
114520
+ const DeleteInitiativeToProjectDocument = {
114521
+ kind: "Document",
114522
+ definitions: [
114523
+ {
114524
+ kind: "OperationDefinition",
114525
+ operation: "mutation",
114526
+ name: { kind: "Name", value: "deleteInitiativeToProject" },
114527
+ variableDefinitions: [
114528
+ {
114529
+ kind: "VariableDefinition",
114530
+ variable: { kind: "Variable", name: { kind: "Name", value: "id" } },
114531
+ type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "String" } } },
114532
+ },
114533
+ ],
114534
+ selectionSet: {
114535
+ kind: "SelectionSet",
114536
+ selections: [
114537
+ {
114538
+ kind: "Field",
114539
+ name: { kind: "Name", value: "initiativeToProjectDelete" },
114540
+ arguments: [
114541
+ {
114542
+ kind: "Argument",
114543
+ name: { kind: "Name", value: "id" },
114544
+ value: { kind: "Variable", name: { kind: "Name", value: "id" } },
114545
+ },
114546
+ ],
114547
+ selectionSet: {
114548
+ kind: "SelectionSet",
114549
+ selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "DeletePayload" } }],
114550
+ },
114551
+ },
114552
+ ],
114553
+ },
114554
+ },
114555
+ ...DeletePayloadFragmentDoc.definitions,
114556
+ ],
114557
+ };
114558
+ const UpdateInitiativeToProjectDocument = {
114559
+ kind: "Document",
114560
+ definitions: [
114561
+ {
114562
+ kind: "OperationDefinition",
114563
+ operation: "mutation",
114564
+ name: { kind: "Name", value: "updateInitiativeToProject" },
114565
+ variableDefinitions: [
114566
+ {
114567
+ kind: "VariableDefinition",
114568
+ variable: { kind: "Variable", name: { kind: "Name", value: "id" } },
114569
+ type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "String" } } },
114570
+ },
114571
+ {
114572
+ kind: "VariableDefinition",
114573
+ variable: { kind: "Variable", name: { kind: "Name", value: "input" } },
114574
+ type: {
114575
+ kind: "NonNullType",
114576
+ type: { kind: "NamedType", name: { kind: "Name", value: "InitiativeToProjectUpdateInput" } },
114577
+ },
114578
+ },
114579
+ ],
114580
+ selectionSet: {
114581
+ kind: "SelectionSet",
114582
+ selections: [
114583
+ {
114584
+ kind: "Field",
114585
+ name: { kind: "Name", value: "initiativeToProjectUpdate" },
114586
+ arguments: [
114587
+ {
114588
+ kind: "Argument",
114589
+ name: { kind: "Name", value: "id" },
114590
+ value: { kind: "Variable", name: { kind: "Name", value: "id" } },
114591
+ },
114592
+ {
114593
+ kind: "Argument",
114594
+ name: { kind: "Name", value: "input" },
114595
+ value: { kind: "Variable", name: { kind: "Name", value: "input" } },
114596
+ },
114597
+ ],
114598
+ selectionSet: {
114599
+ kind: "SelectionSet",
114600
+ selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "InitiativeToProjectPayload" } }],
114601
+ },
114602
+ },
114603
+ ],
114604
+ },
114605
+ },
114606
+ ...InitiativeToProjectPayloadFragmentDoc.definitions,
114607
+ ],
114608
+ };
114609
+ const UnarchiveInitiativeDocument = {
114610
+ kind: "Document",
114611
+ definitions: [
114612
+ {
114613
+ kind: "OperationDefinition",
114614
+ operation: "mutation",
114615
+ name: { kind: "Name", value: "unarchiveInitiative" },
114616
+ variableDefinitions: [
114617
+ {
114618
+ kind: "VariableDefinition",
114619
+ variable: { kind: "Variable", name: { kind: "Name", value: "id" } },
114620
+ type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "String" } } },
114621
+ },
114622
+ ],
114623
+ selectionSet: {
114624
+ kind: "SelectionSet",
114625
+ selections: [
114626
+ {
114627
+ kind: "Field",
114628
+ name: { kind: "Name", value: "initiativeUnarchive" },
114629
+ arguments: [
114630
+ {
114631
+ kind: "Argument",
114632
+ name: { kind: "Name", value: "id" },
114633
+ value: { kind: "Variable", name: { kind: "Name", value: "id" } },
114634
+ },
114635
+ ],
114636
+ selectionSet: {
114637
+ kind: "SelectionSet",
114638
+ selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "InitiativeArchivePayload" } }],
114639
+ },
114640
+ },
114641
+ ],
114642
+ },
114643
+ },
114644
+ ...InitiativeArchivePayloadFragmentDoc.definitions,
114645
+ ],
114646
+ };
114647
+ const UpdateInitiativeDocument = {
114648
+ kind: "Document",
114649
+ definitions: [
114650
+ {
114651
+ kind: "OperationDefinition",
114652
+ operation: "mutation",
114653
+ name: { kind: "Name", value: "updateInitiative" },
114654
+ variableDefinitions: [
114655
+ {
114656
+ kind: "VariableDefinition",
114657
+ variable: { kind: "Variable", name: { kind: "Name", value: "id" } },
114658
+ type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "String" } } },
114659
+ },
114660
+ {
114661
+ kind: "VariableDefinition",
114662
+ variable: { kind: "Variable", name: { kind: "Name", value: "input" } },
114663
+ type: {
114664
+ kind: "NonNullType",
114665
+ type: { kind: "NamedType", name: { kind: "Name", value: "InitiativeUpdateInput" } },
114666
+ },
114667
+ },
114668
+ ],
114669
+ selectionSet: {
114670
+ kind: "SelectionSet",
114671
+ selections: [
114672
+ {
114673
+ kind: "Field",
114674
+ name: { kind: "Name", value: "initiativeUpdate" },
114675
+ arguments: [
114676
+ {
114677
+ kind: "Argument",
114678
+ name: { kind: "Name", value: "id" },
114679
+ value: { kind: "Variable", name: { kind: "Name", value: "id" } },
114680
+ },
114681
+ {
114682
+ kind: "Argument",
114683
+ name: { kind: "Name", value: "input" },
114684
+ value: { kind: "Variable", name: { kind: "Name", value: "input" } },
114685
+ },
114686
+ ],
114687
+ selectionSet: {
114688
+ kind: "SelectionSet",
114689
+ selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "InitiativePayload" } }],
114690
+ },
114691
+ },
114692
+ ],
114693
+ },
114694
+ },
114695
+ ...InitiativePayloadFragmentDoc.definitions,
114696
+ ],
114697
+ };
113484
114698
  const ArchiveIntegrationDocument = {
113485
114699
  kind: "Document",
113486
114700
  definitions: [
@@ -113751,6 +114965,54 @@ const IntegrationFrontDocument = {
113751
114965
  ...IntegrationPayloadFragmentDoc.definitions,
113752
114966
  ],
113753
114967
  };
114968
+ const IntegrationGitHubEnterpriseServerConnectDocument = {
114969
+ kind: "Document",
114970
+ definitions: [
114971
+ {
114972
+ kind: "OperationDefinition",
114973
+ operation: "mutation",
114974
+ name: { kind: "Name", value: "integrationGitHubEnterpriseServerConnect" },
114975
+ variableDefinitions: [
114976
+ {
114977
+ kind: "VariableDefinition",
114978
+ variable: { kind: "Variable", name: { kind: "Name", value: "githubUrl" } },
114979
+ type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "String" } } },
114980
+ },
114981
+ {
114982
+ kind: "VariableDefinition",
114983
+ variable: { kind: "Variable", name: { kind: "Name", value: "organizationName" } },
114984
+ type: { kind: "NamedType", name: { kind: "Name", value: "String" } },
114985
+ },
114986
+ ],
114987
+ selectionSet: {
114988
+ kind: "SelectionSet",
114989
+ selections: [
114990
+ {
114991
+ kind: "Field",
114992
+ name: { kind: "Name", value: "integrationGitHubEnterpriseServerConnect" },
114993
+ arguments: [
114994
+ {
114995
+ kind: "Argument",
114996
+ name: { kind: "Name", value: "githubUrl" },
114997
+ value: { kind: "Variable", name: { kind: "Name", value: "githubUrl" } },
114998
+ },
114999
+ {
115000
+ kind: "Argument",
115001
+ name: { kind: "Name", value: "organizationName" },
115002
+ value: { kind: "Variable", name: { kind: "Name", value: "organizationName" } },
115003
+ },
115004
+ ],
115005
+ selectionSet: {
115006
+ kind: "SelectionSet",
115007
+ selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "GitHubEnterpriseServerPayload" } }],
115008
+ },
115009
+ },
115010
+ ],
115011
+ },
115012
+ },
115013
+ ...GitHubEnterpriseServerPayloadFragmentDoc.definitions,
115014
+ ],
115015
+ };
113754
115016
  const IntegrationGitHubPersonalDocument = {
113755
115017
  kind: "Document",
113756
115018
  definitions: [
@@ -115204,6 +116466,11 @@ const DeleteIssueDocument = {
115204
116466
  variable: { kind: "Variable", name: { kind: "Name", value: "id" } },
115205
116467
  type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "String" } } },
115206
116468
  },
116469
+ {
116470
+ kind: "VariableDefinition",
116471
+ variable: { kind: "Variable", name: { kind: "Name", value: "permanentlyDelete" } },
116472
+ type: { kind: "NamedType", name: { kind: "Name", value: "Boolean" } },
116473
+ },
115207
116474
  ],
115208
116475
  selectionSet: {
115209
116476
  kind: "SelectionSet",
@@ -115217,6 +116484,11 @@ const DeleteIssueDocument = {
115217
116484
  name: { kind: "Name", value: "id" },
115218
116485
  value: { kind: "Variable", name: { kind: "Name", value: "id" } },
115219
116486
  },
116487
+ {
116488
+ kind: "Argument",
116489
+ name: { kind: "Name", value: "permanentlyDelete" },
116490
+ value: { kind: "Variable", name: { kind: "Name", value: "permanentlyDelete" } },
116491
+ },
115220
116492
  ],
115221
116493
  selectionSet: {
115222
116494
  kind: "SelectionSet",
@@ -115600,7 +116872,7 @@ const IssueImportCreateGithubDocument = {
115600
116872
  {
115601
116873
  kind: "VariableDefinition",
115602
116874
  variable: { kind: "Variable", name: { kind: "Name", value: "integrationId" } },
115603
- type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "String" } } },
116875
+ type: { kind: "NamedType", name: { kind: "Name", value: "String" } },
115604
116876
  },
115605
116877
  {
115606
116878
  kind: "VariableDefinition",
@@ -120709,6 +121981,7 @@ var _generated_documents = /*#__PURE__*/Object.freeze({
120709
121981
  get GitAutomationStates () { return GitAutomationStates; },
120710
121982
  get GithubOrgType () { return GithubOrgType; },
120711
121983
  get InitiativeStatus () { return InitiativeStatus; },
121984
+ get InitiativeTab () { return InitiativeTab; },
120712
121985
  get IntegrationService () { return IntegrationService; },
120713
121986
  get IssueRelationType () { return IssueRelationType; },
120714
121987
  get OAuthClientApprovalStatus () { return OAuthClientApprovalStatus; },
@@ -120738,10 +122011,12 @@ var _generated_documents = /*#__PURE__*/Object.freeze({
120738
122011
  get WorkflowTriggerType () { return WorkflowTriggerType; },
120739
122012
  get WorkflowType () { return WorkflowType; },
120740
122013
  EntityFragmentDoc: EntityFragmentDoc,
122014
+ CommentNotificationFragmentDoc: CommentNotificationFragmentDoc,
120741
122015
  CustomViewNotificationSubscriptionFragmentDoc: CustomViewNotificationSubscriptionFragmentDoc,
120742
122016
  CycleNotificationSubscriptionFragmentDoc: CycleNotificationSubscriptionFragmentDoc,
120743
122017
  DocumentContentFragmentDoc: DocumentContentFragmentDoc,
120744
122018
  DocumentContentHistoryFragmentDoc: DocumentContentHistoryFragmentDoc,
122019
+ DraftFragmentDoc: DraftFragmentDoc,
120745
122020
  AttachmentArchivePayloadFragmentDoc: AttachmentArchivePayloadFragmentDoc,
120746
122021
  CycleArchivePayloadFragmentDoc: CycleArchivePayloadFragmentDoc,
120747
122022
  DeletePayloadFragmentDoc: DeletePayloadFragmentDoc,
@@ -120767,7 +122042,6 @@ var _generated_documents = /*#__PURE__*/Object.freeze({
120767
122042
  ProjectNotificationSubscriptionFragmentDoc: ProjectNotificationSubscriptionFragmentDoc,
120768
122043
  ReminderFragmentDoc: ReminderFragmentDoc,
120769
122044
  TeamNotificationSubscriptionFragmentDoc: TeamNotificationSubscriptionFragmentDoc,
120770
- TextDraftFragmentDoc: TextDraftFragmentDoc,
120771
122045
  UserAccountFragmentDoc: UserAccountFragmentDoc,
120772
122046
  UserNotificationSubscriptionFragmentDoc: UserNotificationSubscriptionFragmentDoc,
120773
122047
  AuthOrganizationFragmentDoc: AuthOrganizationFragmentDoc,
@@ -120811,6 +122085,8 @@ var _generated_documents = /*#__PURE__*/Object.freeze({
120811
122085
  SlackPostSettingsFragmentDoc: SlackPostSettingsFragmentDoc,
120812
122086
  ZendeskSettingsFragmentDoc: ZendeskSettingsFragmentDoc,
120813
122087
  IntegrationSettingsFragmentDoc: IntegrationSettingsFragmentDoc,
122088
+ InitiativePayloadFragmentDoc: InitiativePayloadFragmentDoc,
122089
+ InitiativeToProjectPayloadFragmentDoc: InitiativeToProjectPayloadFragmentDoc,
120814
122090
  NotificationDeliveryPreferencesDayFragmentDoc: NotificationDeliveryPreferencesDayFragmentDoc,
120815
122091
  NotificationDeliveryPreferencesScheduleFragmentDoc: NotificationDeliveryPreferencesScheduleFragmentDoc,
120816
122092
  NotificationDeliveryPreferencesChannelFragmentDoc: NotificationDeliveryPreferencesChannelFragmentDoc,
@@ -120818,6 +122094,7 @@ var _generated_documents = /*#__PURE__*/Object.freeze({
120818
122094
  UserSettingsFragmentDoc: UserSettingsFragmentDoc,
120819
122095
  AuthenticationSessionFragmentDoc: AuthenticationSessionFragmentDoc,
120820
122096
  IssueImportSyncCheckPayloadFragmentDoc: IssueImportSyncCheckPayloadFragmentDoc,
122097
+ TextDraftFragmentDoc: TextDraftFragmentDoc,
120821
122098
  ApiKeyFragmentDoc: ApiKeyFragmentDoc,
120822
122099
  PageInfoFragmentDoc: PageInfoFragmentDoc,
120823
122100
  ApiKeyConnectionFragmentDoc: ApiKeyConnectionFragmentDoc,
@@ -120902,7 +122179,12 @@ var _generated_documents = /*#__PURE__*/Object.freeze({
120902
122179
  GitAutomationStatePayloadFragmentDoc: GitAutomationStatePayloadFragmentDoc,
120903
122180
  GitAutomationTargetBranchPayloadFragmentDoc: GitAutomationTargetBranchPayloadFragmentDoc,
120904
122181
  GitHubCommitIntegrationPayloadFragmentDoc: GitHubCommitIntegrationPayloadFragmentDoc,
122182
+ GitHubEnterpriseServerPayloadFragmentDoc: GitHubEnterpriseServerPayloadFragmentDoc,
120905
122183
  ImageUploadFromUrlPayloadFragmentDoc: ImageUploadFromUrlPayloadFragmentDoc,
122184
+ InitiativeFragmentDoc: InitiativeFragmentDoc,
122185
+ InitiativeConnectionFragmentDoc: InitiativeConnectionFragmentDoc,
122186
+ InitiativeToProjectFragmentDoc: InitiativeToProjectFragmentDoc,
122187
+ InitiativeToProjectConnectionFragmentDoc: InitiativeToProjectConnectionFragmentDoc,
120906
122188
  IntegrationFragmentDoc: IntegrationFragmentDoc,
120907
122189
  IntegrationConnectionFragmentDoc: IntegrationConnectionFragmentDoc,
120908
122190
  IntegrationHasScopesPayloadFragmentDoc: IntegrationHasScopesPayloadFragmentDoc,
@@ -121093,6 +122375,12 @@ var _generated_documents = /*#__PURE__*/Object.freeze({
121093
122375
  FavoriteDocument: FavoriteDocument,
121094
122376
  Favorite_ChildrenDocument: Favorite_ChildrenDocument,
121095
122377
  FavoritesDocument: FavoritesDocument,
122378
+ InitiativeDocument: InitiativeDocument,
122379
+ Initiative_LinksDocument: Initiative_LinksDocument,
122380
+ Initiative_ProjectsDocument: Initiative_ProjectsDocument,
122381
+ InitiativeToProjectDocument: InitiativeToProjectDocument,
122382
+ InitiativeToProjectsDocument: InitiativeToProjectsDocument,
122383
+ InitiativesDocument: InitiativesDocument,
121096
122384
  IntegrationDocument: IntegrationDocument,
121097
122385
  IntegrationHasScopesDocument: IntegrationHasScopesDocument,
121098
122386
  IntegrationTemplateDocument: IntegrationTemplateDocument,
@@ -121296,12 +122584,21 @@ var _generated_documents = /*#__PURE__*/Object.freeze({
121296
122584
  GoogleUserAccountAuthDocument: GoogleUserAccountAuthDocument,
121297
122585
  ImageUploadFromUrlDocument: ImageUploadFromUrlDocument,
121298
122586
  ImportFileUploadDocument: ImportFileUploadDocument,
122587
+ ArchiveInitiativeDocument: ArchiveInitiativeDocument,
122588
+ CreateInitiativeDocument: CreateInitiativeDocument,
122589
+ DeleteInitiativeDocument: DeleteInitiativeDocument,
122590
+ CreateInitiativeToProjectDocument: CreateInitiativeToProjectDocument,
122591
+ DeleteInitiativeToProjectDocument: DeleteInitiativeToProjectDocument,
122592
+ UpdateInitiativeToProjectDocument: UpdateInitiativeToProjectDocument,
122593
+ UnarchiveInitiativeDocument: UnarchiveInitiativeDocument,
122594
+ UpdateInitiativeDocument: UpdateInitiativeDocument,
121299
122595
  ArchiveIntegrationDocument: ArchiveIntegrationDocument,
121300
122596
  IntegrationAsksConnectChannelDocument: IntegrationAsksConnectChannelDocument,
121301
122597
  DeleteIntegrationDocument: DeleteIntegrationDocument,
121302
122598
  IntegrationDiscordDocument: IntegrationDiscordDocument,
121303
122599
  IntegrationFigmaDocument: IntegrationFigmaDocument,
121304
122600
  IntegrationFrontDocument: IntegrationFrontDocument,
122601
+ IntegrationGitHubEnterpriseServerConnectDocument: IntegrationGitHubEnterpriseServerConnectDocument,
121305
122602
  IntegrationGitHubPersonalDocument: IntegrationGitHubPersonalDocument,
121306
122603
  CreateIntegrationGithubCommitDocument: CreateIntegrationGithubCommitDocument,
121307
122604
  IntegrationGithubConnectDocument: IntegrationGithubConnectDocument,
@@ -122071,6 +123368,7 @@ class AuthOrganizationBucketNamePayload extends Request {
122071
123368
  constructor(request, data) {
122072
123369
  super(request);
122073
123370
  this.importsBucketName = data.importsBucketName;
123371
+ this.region = data.region;
122074
123372
  this.uploadsBucketName = data.uploadsBucketName;
122075
123373
  }
122076
123374
  }
@@ -122364,6 +123662,20 @@ class CommentConnection extends Connection {
122364
123662
  super(request, fetch, data.nodes.map(node => new Comment(request, node)), new PageInfo(request, data.pageInfo));
122365
123663
  }
122366
123664
  }
123665
+ /**
123666
+ * A comment related notification.
123667
+ *
123668
+ * @param request - function to call the graphql client
123669
+ * @param data - L.CommentNotificationFragment response data
123670
+ */
123671
+ class CommentNotification extends Request {
123672
+ constructor(request, data) {
123673
+ var _a, _b;
123674
+ super(request);
123675
+ this.commentId = (_a = data.commentId) !== null && _a !== void 0 ? _a : undefined;
123676
+ this.parentCommentId = (_b = data.parentCommentId) !== null && _b !== void 0 ? _b : undefined;
123677
+ }
123678
+ }
122367
123679
  /**
122368
123680
  * CommentPayload model
122369
123681
  *
@@ -123007,7 +124319,7 @@ class DocumentConnection extends Connection {
123007
124319
  */
123008
124320
  class DocumentContent extends Request {
123009
124321
  constructor(request, data) {
123010
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
124322
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
123011
124323
  super(request);
123012
124324
  this.archivedAt = (_a = parseDate(data.archivedAt)) !== null && _a !== void 0 ? _a : undefined;
123013
124325
  this.content = (_b = data.content) !== null && _b !== void 0 ? _b : undefined;
@@ -123017,15 +124329,21 @@ class DocumentContent extends Request {
123017
124329
  this.restoredAt = (_e = parseDate(data.restoredAt)) !== null && _e !== void 0 ? _e : undefined;
123018
124330
  this.updatedAt = (_f = parseDate(data.updatedAt)) !== null && _f !== void 0 ? _f : new Date();
123019
124331
  this._document = (_g = data.document) !== null && _g !== void 0 ? _g : undefined;
123020
- this._issue = (_h = data.issue) !== null && _h !== void 0 ? _h : undefined;
123021
- this._project = (_j = data.project) !== null && _j !== void 0 ? _j : undefined;
123022
- this._projectMilestone = (_k = data.projectMilestone) !== null && _k !== void 0 ? _k : undefined;
124332
+ this._initiative = (_h = data.initiative) !== null && _h !== void 0 ? _h : undefined;
124333
+ this._issue = (_j = data.issue) !== null && _j !== void 0 ? _j : undefined;
124334
+ this._project = (_k = data.project) !== null && _k !== void 0 ? _k : undefined;
124335
+ this._projectMilestone = (_l = data.projectMilestone) !== null && _l !== void 0 ? _l : undefined;
123023
124336
  }
123024
124337
  /** The document that the content is associated with. */
123025
124338
  get document() {
123026
124339
  var _a, _b;
123027
124340
  return ((_a = this._document) === null || _a === void 0 ? void 0 : _a.id) ? new DocumentQuery(this._request).fetch((_b = this._document) === null || _b === void 0 ? void 0 : _b.id) : undefined;
123028
124341
  }
124342
+ /** The initiative that the content is associated with. */
124343
+ get initiative() {
124344
+ var _a, _b;
124345
+ return ((_a = this._initiative) === null || _a === void 0 ? void 0 : _a.id) ? new InitiativeQuery(this._request).fetch((_b = this._initiative) === null || _b === void 0 ? void 0 : _b.id) : undefined;
124346
+ }
123029
124347
  /** The issue that the content is associated with. */
123030
124348
  get issue() {
123031
124349
  var _a, _b;
@@ -123100,20 +124418,22 @@ class DocumentContentHistoryType extends Request {
123100
124418
  */
123101
124419
  class DocumentNotification extends Request {
123102
124420
  constructor(request, data) {
123103
- var _a, _b, _c, _d, _e, _f, _g, _h, _j;
124421
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
123104
124422
  super(request);
123105
124423
  this.archivedAt = (_a = parseDate(data.archivedAt)) !== null && _a !== void 0 ? _a : undefined;
123106
- this.createdAt = (_b = parseDate(data.createdAt)) !== null && _b !== void 0 ? _b : new Date();
123107
- this.emailedAt = (_c = parseDate(data.emailedAt)) !== null && _c !== void 0 ? _c : undefined;
124424
+ this.commentId = (_b = data.commentId) !== null && _b !== void 0 ? _b : undefined;
124425
+ this.createdAt = (_c = parseDate(data.createdAt)) !== null && _c !== void 0 ? _c : new Date();
124426
+ this.emailedAt = (_d = parseDate(data.emailedAt)) !== null && _d !== void 0 ? _d : undefined;
123108
124427
  this.id = data.id;
123109
- this.readAt = (_d = parseDate(data.readAt)) !== null && _d !== void 0 ? _d : undefined;
123110
- this.snoozedUntilAt = (_e = parseDate(data.snoozedUntilAt)) !== null && _e !== void 0 ? _e : undefined;
124428
+ this.parentCommentId = (_e = data.parentCommentId) !== null && _e !== void 0 ? _e : undefined;
124429
+ this.readAt = (_f = parseDate(data.readAt)) !== null && _f !== void 0 ? _f : undefined;
124430
+ this.snoozedUntilAt = (_g = parseDate(data.snoozedUntilAt)) !== null && _g !== void 0 ? _g : undefined;
123111
124431
  this.type = data.type;
123112
- this.unsnoozedAt = (_f = parseDate(data.unsnoozedAt)) !== null && _f !== void 0 ? _f : undefined;
123113
- this.updatedAt = (_g = parseDate(data.updatedAt)) !== null && _g !== void 0 ? _g : new Date();
124432
+ this.unsnoozedAt = (_h = parseDate(data.unsnoozedAt)) !== null && _h !== void 0 ? _h : undefined;
124433
+ this.updatedAt = (_j = parseDate(data.updatedAt)) !== null && _j !== void 0 ? _j : new Date();
123114
124434
  this.botActor = data.botActor ? new ActorBot(request, data.botActor) : undefined;
123115
- this._actor = (_h = data.actor) !== null && _h !== void 0 ? _h : undefined;
123116
- this._externalUserActor = (_j = data.externalUserActor) !== null && _j !== void 0 ? _j : undefined;
124435
+ this._actor = (_k = data.actor) !== null && _k !== void 0 ? _k : undefined;
124436
+ this._externalUserActor = (_l = data.externalUserActor) !== null && _l !== void 0 ? _l : undefined;
123117
124437
  this._user = data.user;
123118
124438
  }
123119
124439
  /** The user that caused the notification. */
@@ -123228,6 +124548,54 @@ class DocumentSearchResultConnection extends Connection {
123228
124548
  super(request, fetch, data.nodes.map(node => new DocumentSearchResult(request, node)), new PageInfo(request, data.pageInfo));
123229
124549
  }
123230
124550
  }
124551
+ /**
124552
+ * A general purpose draft. Used for comments, project updates, etc.
124553
+ *
124554
+ * @param request - function to call the graphql client
124555
+ * @param data - L.DraftFragment response data
124556
+ */
124557
+ class Draft extends Request {
124558
+ constructor(request, data) {
124559
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j;
124560
+ super(request);
124561
+ this.archivedAt = (_a = parseDate(data.archivedAt)) !== null && _a !== void 0 ? _a : undefined;
124562
+ this.bodyData = (_b = parseJson(data.bodyData)) !== null && _b !== void 0 ? _b : {};
124563
+ this.createdAt = (_c = parseDate(data.createdAt)) !== null && _c !== void 0 ? _c : new Date();
124564
+ this.data = (_d = data.data) !== null && _d !== void 0 ? _d : undefined;
124565
+ this.id = data.id;
124566
+ this.isAutogenerated = data.isAutogenerated;
124567
+ this.updatedAt = (_e = parseDate(data.updatedAt)) !== null && _e !== void 0 ? _e : new Date();
124568
+ this._issue = (_f = data.issue) !== null && _f !== void 0 ? _f : undefined;
124569
+ this._parentComment = (_g = data.parentComment) !== null && _g !== void 0 ? _g : undefined;
124570
+ this._project = (_h = data.project) !== null && _h !== void 0 ? _h : undefined;
124571
+ this._projectUpdate = (_j = data.projectUpdate) !== null && _j !== void 0 ? _j : undefined;
124572
+ this._user = data.user;
124573
+ }
124574
+ /** The issue for which this is a draft comment. */
124575
+ get issue() {
124576
+ var _a, _b;
124577
+ return ((_a = this._issue) === null || _a === void 0 ? void 0 : _a.id) ? new IssueQuery(this._request).fetch((_b = this._issue) === null || _b === void 0 ? void 0 : _b.id) : undefined;
124578
+ }
124579
+ /** The comment for which this is a draft comment reply. */
124580
+ get parentComment() {
124581
+ var _a, _b;
124582
+ return ((_a = this._parentComment) === null || _a === void 0 ? void 0 : _a.id) ? new CommentQuery(this._request).fetch({ id: (_b = this._parentComment) === null || _b === void 0 ? void 0 : _b.id }) : undefined;
124583
+ }
124584
+ /** The project for which this is a draft project update. */
124585
+ get project() {
124586
+ var _a, _b;
124587
+ return ((_a = this._project) === null || _a === void 0 ? void 0 : _a.id) ? new ProjectQuery(this._request).fetch((_b = this._project) === null || _b === void 0 ? void 0 : _b.id) : undefined;
124588
+ }
124589
+ /** The project update for which this is a draft comment. */
124590
+ get projectUpdate() {
124591
+ var _a, _b;
124592
+ return ((_a = this._projectUpdate) === null || _a === void 0 ? void 0 : _a.id) ? new ProjectUpdateQuery(this._request).fetch((_b = this._projectUpdate) === null || _b === void 0 ? void 0 : _b.id) : undefined;
124593
+ }
124594
+ /** The user who created the draft. */
124595
+ get user() {
124596
+ return new UserQuery(this._request).fetch(this._user.id);
124597
+ }
124598
+ }
123231
124599
  /**
123232
124600
  * An email address that can be used for submitting issues.
123233
124601
  *
@@ -123418,11 +124786,16 @@ class EntityExternalLink extends Request {
123418
124786
  this.updatedAt = (_c = parseDate(data.updatedAt)) !== null && _c !== void 0 ? _c : new Date();
123419
124787
  this.url = data.url;
123420
124788
  this._creator = data.creator;
124789
+ this._initiative = data.initiative;
123421
124790
  }
123422
124791
  /** The user who created the link. */
123423
124792
  get creator() {
123424
124793
  return new UserQuery(this._request).fetch(this._creator.id);
123425
124794
  }
124795
+ /** The initiative that the link is associated with. */
124796
+ get initiative() {
124797
+ return new InitiativeQuery(this._request).fetch(this._initiative.id);
124798
+ }
123426
124799
  /** Creates a new entity link. */
123427
124800
  create(input) {
123428
124801
  return new CreateEntityExternalLinkMutation(this._request).fetch(input);
@@ -123511,7 +124884,7 @@ class ExternalUserConnection extends Connection {
123511
124884
  */
123512
124885
  class Facet extends Request {
123513
124886
  constructor(request, data) {
123514
- var _a, _b, _c, _d, _e, _f, _g;
124887
+ var _a, _b, _c, _d, _e, _f, _g, _h;
123515
124888
  super(request);
123516
124889
  this.archivedAt = (_a = parseDate(data.archivedAt)) !== null && _a !== void 0 ? _a : undefined;
123517
124890
  this.createdAt = (_b = parseDate(data.createdAt)) !== null && _b !== void 0 ? _b : new Date();
@@ -123519,9 +124892,17 @@ class Facet extends Request {
123519
124892
  this.sortOrder = data.sortOrder;
123520
124893
  this.updatedAt = (_c = parseDate(data.updatedAt)) !== null && _c !== void 0 ? _c : new Date();
123521
124894
  this.sourcePage = (_d = data.sourcePage) !== null && _d !== void 0 ? _d : undefined;
123522
- this._sourceProject = (_e = data.sourceProject) !== null && _e !== void 0 ? _e : undefined;
123523
- this._sourceTeam = (_f = data.sourceTeam) !== null && _f !== void 0 ? _f : undefined;
123524
- this._targetCustomView = (_g = data.targetCustomView) !== null && _g !== void 0 ? _g : undefined;
124895
+ this._sourceInitiative = (_e = data.sourceInitiative) !== null && _e !== void 0 ? _e : undefined;
124896
+ this._sourceProject = (_f = data.sourceProject) !== null && _f !== void 0 ? _f : undefined;
124897
+ this._sourceTeam = (_g = data.sourceTeam) !== null && _g !== void 0 ? _g : undefined;
124898
+ this._targetCustomView = (_h = data.targetCustomView) !== null && _h !== void 0 ? _h : undefined;
124899
+ }
124900
+ /** The owning initiative. */
124901
+ get sourceInitiative() {
124902
+ var _a, _b;
124903
+ return ((_a = this._sourceInitiative) === null || _a === void 0 ? void 0 : _a.id)
124904
+ ? new InitiativeQuery(this._request).fetch((_b = this._sourceInitiative) === null || _b === void 0 ? void 0 : _b.id)
124905
+ : undefined;
123525
124906
  }
123526
124907
  /** The owning organization. */
123527
124908
  get sourceOrganization() {
@@ -123565,7 +124946,7 @@ class FacetConnection extends Connection {
123565
124946
  */
123566
124947
  class Favorite extends Request {
123567
124948
  constructor(request, data) {
123568
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s;
124949
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u;
123569
124950
  super(request);
123570
124951
  this.archivedAt = (_a = parseDate(data.archivedAt)) !== null && _a !== void 0 ? _a : undefined;
123571
124952
  this.createdAt = (_b = parseDate(data.createdAt)) !== null && _b !== void 0 ? _b : new Date();
@@ -123575,19 +124956,21 @@ class Favorite extends Request {
123575
124956
  this.sortOrder = data.sortOrder;
123576
124957
  this.type = data.type;
123577
124958
  this.updatedAt = (_e = parseDate(data.updatedAt)) !== null && _e !== void 0 ? _e : new Date();
123578
- this.projectTab = (_f = data.projectTab) !== null && _f !== void 0 ? _f : undefined;
123579
- this._customView = (_g = data.customView) !== null && _g !== void 0 ? _g : undefined;
123580
- this._cycle = (_h = data.cycle) !== null && _h !== void 0 ? _h : undefined;
123581
- this._document = (_j = data.document) !== null && _j !== void 0 ? _j : undefined;
123582
- this._issue = (_k = data.issue) !== null && _k !== void 0 ? _k : undefined;
123583
- this._label = (_l = data.label) !== null && _l !== void 0 ? _l : undefined;
124959
+ this.url = (_f = data.url) !== null && _f !== void 0 ? _f : undefined;
124960
+ this.initiativeTab = (_g = data.initiativeTab) !== null && _g !== void 0 ? _g : undefined;
124961
+ this.projectTab = (_h = data.projectTab) !== null && _h !== void 0 ? _h : undefined;
124962
+ this._customView = (_j = data.customView) !== null && _j !== void 0 ? _j : undefined;
124963
+ this._cycle = (_k = data.cycle) !== null && _k !== void 0 ? _k : undefined;
124964
+ this._document = (_l = data.document) !== null && _l !== void 0 ? _l : undefined;
124965
+ this._issue = (_m = data.issue) !== null && _m !== void 0 ? _m : undefined;
124966
+ this._label = (_o = data.label) !== null && _o !== void 0 ? _o : undefined;
123584
124967
  this._owner = data.owner;
123585
- this._parent = (_m = data.parent) !== null && _m !== void 0 ? _m : undefined;
123586
- this._predefinedViewTeam = (_o = data.predefinedViewTeam) !== null && _o !== void 0 ? _o : undefined;
123587
- this._project = (_p = data.project) !== null && _p !== void 0 ? _p : undefined;
123588
- this._projectTeam = (_q = data.projectTeam) !== null && _q !== void 0 ? _q : undefined;
123589
- this._roadmap = (_r = data.roadmap) !== null && _r !== void 0 ? _r : undefined;
123590
- this._user = (_s = data.user) !== null && _s !== void 0 ? _s : undefined;
124968
+ this._parent = (_p = data.parent) !== null && _p !== void 0 ? _p : undefined;
124969
+ this._predefinedViewTeam = (_q = data.predefinedViewTeam) !== null && _q !== void 0 ? _q : undefined;
124970
+ this._project = (_r = data.project) !== null && _r !== void 0 ? _r : undefined;
124971
+ this._projectTeam = (_s = data.projectTeam) !== null && _s !== void 0 ? _s : undefined;
124972
+ this._roadmap = (_t = data.roadmap) !== null && _t !== void 0 ? _t : undefined;
124973
+ this._user = (_u = data.user) !== null && _u !== void 0 ? _u : undefined;
123591
124974
  }
123592
124975
  /** The favorited custom view. */
123593
124976
  get customView() {
@@ -123633,7 +125016,7 @@ class Favorite extends Request {
123633
125016
  var _a, _b;
123634
125017
  return ((_a = this._project) === null || _a === void 0 ? void 0 : _a.id) ? new ProjectQuery(this._request).fetch((_b = this._project) === null || _b === void 0 ? void 0 : _b.id) : undefined;
123635
125018
  }
123636
- /** The favorited team of the project. */
125019
+ /** [DEPRECATED] The favorited team of the project. */
123637
125020
  get projectTeam() {
123638
125021
  var _a, _b;
123639
125022
  return ((_a = this._projectTeam) === null || _a === void 0 ? void 0 : _a.id) ? new TeamQuery(this._request).fetch((_b = this._projectTeam) === null || _b === void 0 ? void 0 : _b.id) : undefined;
@@ -123970,6 +125353,28 @@ class GitHubCommitIntegrationPayload extends Request {
123970
125353
  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;
123971
125354
  }
123972
125355
  }
125356
+ /**
125357
+ * GitHubEnterpriseServerPayload model
125358
+ *
125359
+ * @param request - function to call the graphql client
125360
+ * @param data - L.GitHubEnterpriseServerPayloadFragment response data
125361
+ */
125362
+ class GitHubEnterpriseServerPayload extends Request {
125363
+ constructor(request, data) {
125364
+ var _a;
125365
+ super(request);
125366
+ this.lastSyncId = data.lastSyncId;
125367
+ this.setupUrl = data.setupUrl;
125368
+ this.success = data.success;
125369
+ this.webhookSecret = data.webhookSecret;
125370
+ this._integration = (_a = data.integration) !== null && _a !== void 0 ? _a : undefined;
125371
+ }
125372
+ /** The integration that was created or updated. */
125373
+ get integration() {
125374
+ var _a, _b;
125375
+ 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;
125376
+ }
125377
+ }
123973
125378
  /**
123974
125379
  * Metadata and settings for a GitHub import integration.
123975
125380
  *
@@ -124018,15 +125423,15 @@ class GitHubRepo extends Request {
124018
125423
  */
124019
125424
  class GitHubSettings extends Request {
124020
125425
  constructor(request, data) {
124021
- var _a;
125426
+ var _a, _b;
124022
125427
  super(request);
124023
- this.orgAvatarUrl = data.orgAvatarUrl;
125428
+ this.orgAvatarUrl = (_a = data.orgAvatarUrl) !== null && _a !== void 0 ? _a : undefined;
124024
125429
  this.orgLogin = data.orgLogin;
124025
125430
  this.repositories = data.repositories ? data.repositories.map(node => new GitHubRepo(request, node)) : undefined;
124026
125431
  this.repositoriesMapping = data.repositoriesMapping
124027
125432
  ? data.repositoriesMapping.map(node => new TeamRepoMapping(request, node))
124028
125433
  : undefined;
124029
- this.orgType = (_a = data.orgType) !== null && _a !== void 0 ? _a : undefined;
125434
+ this.orgType = (_b = data.orgType) !== null && _b !== void 0 ? _b : undefined;
124030
125435
  }
124031
125436
  }
124032
125437
  /**
@@ -124075,6 +125480,74 @@ class ImageUploadFromUrlPayload extends Request {
124075
125480
  this.url = (_a = data.url) !== null && _a !== void 0 ? _a : undefined;
124076
125481
  }
124077
125482
  }
125483
+ /**
125484
+ * An initiative to group projects.
125485
+ *
125486
+ * @param request - function to call the graphql client
125487
+ * @param data - L.InitiativeFragment response data
125488
+ */
125489
+ class Initiative extends Request {
125490
+ constructor(request, data) {
125491
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j;
125492
+ super(request);
125493
+ this.archivedAt = (_a = parseDate(data.archivedAt)) !== null && _a !== void 0 ? _a : undefined;
125494
+ this.color = (_b = data.color) !== null && _b !== void 0 ? _b : undefined;
125495
+ this.createdAt = (_c = parseDate(data.createdAt)) !== null && _c !== void 0 ? _c : new Date();
125496
+ this.description = (_d = data.description) !== null && _d !== void 0 ? _d : undefined;
125497
+ this.icon = (_e = data.icon) !== null && _e !== void 0 ? _e : undefined;
125498
+ this.id = data.id;
125499
+ this.name = data.name;
125500
+ this.slugId = data.slugId;
125501
+ this.sortOrder = data.sortOrder;
125502
+ this.targetDate = (_f = data.targetDate) !== null && _f !== void 0 ? _f : undefined;
125503
+ this.trashed = (_g = data.trashed) !== null && _g !== void 0 ? _g : undefined;
125504
+ this.updatedAt = (_h = parseDate(data.updatedAt)) !== null && _h !== void 0 ? _h : new Date();
125505
+ this.status = data.status;
125506
+ this.targetDateResolution = (_j = data.targetDateResolution) !== null && _j !== void 0 ? _j : undefined;
125507
+ this._creator = data.creator;
125508
+ this._owner = data.owner;
125509
+ }
125510
+ /** The user who created the initiative. */
125511
+ get creator() {
125512
+ return new UserQuery(this._request).fetch(this._creator.id);
125513
+ }
125514
+ /** The organization of the initiative. */
125515
+ get organization() {
125516
+ return new OrganizationQuery(this._request).fetch();
125517
+ }
125518
+ /** The user who owns the initiative. */
125519
+ get owner() {
125520
+ return new UserQuery(this._request).fetch(this._owner.id);
125521
+ }
125522
+ /** Links associated with the initiative. */
125523
+ links(variables) {
125524
+ return new Initiative_LinksQuery(this._request, this.id, variables).fetch(variables);
125525
+ }
125526
+ /** Projects associated with the initiative. */
125527
+ projects(variables) {
125528
+ return new Initiative_ProjectsQuery(this._request, this.id, variables).fetch(variables);
125529
+ }
125530
+ /** Archives a initiative. */
125531
+ archive() {
125532
+ return new ArchiveInitiativeMutation(this._request).fetch(this.id);
125533
+ }
125534
+ /** Creates a new initiative. */
125535
+ create(input) {
125536
+ return new CreateInitiativeMutation(this._request).fetch(input);
125537
+ }
125538
+ /** Deletes (trashes) an initiative. */
125539
+ delete() {
125540
+ return new DeleteInitiativeMutation(this._request).fetch(this.id);
125541
+ }
125542
+ /** Unarchives a initiative. */
125543
+ unarchive() {
125544
+ return new UnarchiveInitiativeMutation(this._request).fetch(this.id);
125545
+ }
125546
+ /** Updates a initiative. */
125547
+ update(input) {
125548
+ return new UpdateInitiativeMutation(this._request).fetch(this.id, input);
125549
+ }
125550
+ }
124078
125551
  /**
124079
125552
  * A generic payload return from entity archive mutations.
124080
125553
  *
@@ -124083,9 +125556,28 @@ class ImageUploadFromUrlPayload extends Request {
124083
125556
  */
124084
125557
  class InitiativeArchivePayload extends Request {
124085
125558
  constructor(request, data) {
125559
+ var _a;
124086
125560
  super(request);
124087
125561
  this.lastSyncId = data.lastSyncId;
124088
125562
  this.success = data.success;
125563
+ this._entity = (_a = data.entity) !== null && _a !== void 0 ? _a : undefined;
125564
+ }
125565
+ /** The archived/unarchived entity. Null if entity was deleted. */
125566
+ get entity() {
125567
+ var _a, _b;
125568
+ return ((_a = this._entity) === null || _a === void 0 ? void 0 : _a.id) ? new InitiativeQuery(this._request).fetch((_b = this._entity) === null || _b === void 0 ? void 0 : _b.id) : undefined;
125569
+ }
125570
+ }
125571
+ /**
125572
+ * InitiativeConnection model
125573
+ *
125574
+ * @param request - function to call the graphql client
125575
+ * @param fetch - function to trigger a refetch of this InitiativeConnection model
125576
+ * @param data - InitiativeConnection response data
125577
+ */
125578
+ class InitiativeConnection extends Connection {
125579
+ constructor(request, fetch, data) {
125580
+ super(request, fetch, data.nodes.map(node => new Initiative(request, node)), new PageInfo(request, data.pageInfo));
124089
125581
  }
124090
125582
  }
124091
125583
  /**
@@ -124096,20 +125588,22 @@ class InitiativeArchivePayload extends Request {
124096
125588
  */
124097
125589
  class InitiativeNotification extends Request {
124098
125590
  constructor(request, data) {
124099
- var _a, _b, _c, _d, _e, _f, _g, _h, _j;
125591
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
124100
125592
  super(request);
124101
125593
  this.archivedAt = (_a = parseDate(data.archivedAt)) !== null && _a !== void 0 ? _a : undefined;
124102
- this.createdAt = (_b = parseDate(data.createdAt)) !== null && _b !== void 0 ? _b : new Date();
124103
- this.emailedAt = (_c = parseDate(data.emailedAt)) !== null && _c !== void 0 ? _c : undefined;
125594
+ this.commentId = (_b = data.commentId) !== null && _b !== void 0 ? _b : undefined;
125595
+ this.createdAt = (_c = parseDate(data.createdAt)) !== null && _c !== void 0 ? _c : new Date();
125596
+ this.emailedAt = (_d = parseDate(data.emailedAt)) !== null && _d !== void 0 ? _d : undefined;
124104
125597
  this.id = data.id;
124105
- this.readAt = (_d = parseDate(data.readAt)) !== null && _d !== void 0 ? _d : undefined;
124106
- this.snoozedUntilAt = (_e = parseDate(data.snoozedUntilAt)) !== null && _e !== void 0 ? _e : undefined;
125598
+ this.parentCommentId = (_e = data.parentCommentId) !== null && _e !== void 0 ? _e : undefined;
125599
+ this.readAt = (_f = parseDate(data.readAt)) !== null && _f !== void 0 ? _f : undefined;
125600
+ this.snoozedUntilAt = (_g = parseDate(data.snoozedUntilAt)) !== null && _g !== void 0 ? _g : undefined;
124107
125601
  this.type = data.type;
124108
- this.unsnoozedAt = (_f = parseDate(data.unsnoozedAt)) !== null && _f !== void 0 ? _f : undefined;
124109
- this.updatedAt = (_g = parseDate(data.updatedAt)) !== null && _g !== void 0 ? _g : new Date();
125602
+ this.unsnoozedAt = (_h = parseDate(data.unsnoozedAt)) !== null && _h !== void 0 ? _h : undefined;
125603
+ this.updatedAt = (_j = parseDate(data.updatedAt)) !== null && _j !== void 0 ? _j : new Date();
124110
125604
  this.botActor = data.botActor ? new ActorBot(request, data.botActor) : undefined;
124111
- this._actor = (_h = data.actor) !== null && _h !== void 0 ? _h : undefined;
124112
- this._externalUserActor = (_j = data.externalUserActor) !== null && _j !== void 0 ? _j : undefined;
125605
+ this._actor = (_k = data.actor) !== null && _k !== void 0 ? _k : undefined;
125606
+ this._externalUserActor = (_l = data.externalUserActor) !== null && _l !== void 0 ? _l : undefined;
124113
125607
  this._user = data.user;
124114
125608
  }
124115
125609
  /** The user that caused the notification. */
@@ -124129,6 +125623,93 @@ class InitiativeNotification extends Request {
124129
125623
  return new UserQuery(this._request).fetch(this._user.id);
124130
125624
  }
124131
125625
  }
125626
+ /**
125627
+ * The payload returned by the initiative mutations.
125628
+ *
125629
+ * @param request - function to call the graphql client
125630
+ * @param data - L.InitiativePayloadFragment response data
125631
+ */
125632
+ class InitiativePayload extends Request {
125633
+ constructor(request, data) {
125634
+ super(request);
125635
+ this.lastSyncId = data.lastSyncId;
125636
+ this.success = data.success;
125637
+ this._initiative = data.initiative;
125638
+ }
125639
+ /** The initiative that was created or updated. */
125640
+ get initiative() {
125641
+ return new InitiativeQuery(this._request).fetch(this._initiative.id);
125642
+ }
125643
+ }
125644
+ /**
125645
+ * Join table between projects and initiatives.
125646
+ *
125647
+ * @param request - function to call the graphql client
125648
+ * @param data - L.InitiativeToProjectFragment response data
125649
+ */
125650
+ class InitiativeToProject extends Request {
125651
+ constructor(request, data) {
125652
+ var _a, _b, _c;
125653
+ super(request);
125654
+ this.archivedAt = (_a = parseDate(data.archivedAt)) !== null && _a !== void 0 ? _a : undefined;
125655
+ this.createdAt = (_b = parseDate(data.createdAt)) !== null && _b !== void 0 ? _b : new Date();
125656
+ this.id = data.id;
125657
+ this.sortOrder = data.sortOrder;
125658
+ this.updatedAt = (_c = parseDate(data.updatedAt)) !== null && _c !== void 0 ? _c : new Date();
125659
+ this._initiative = data.initiative;
125660
+ this._project = data.project;
125661
+ }
125662
+ /** The initiative that the project is associated with. */
125663
+ get initiative() {
125664
+ return new InitiativeQuery(this._request).fetch(this._initiative.id);
125665
+ }
125666
+ /** The project that the initiative is associated with. */
125667
+ get project() {
125668
+ return new ProjectQuery(this._request).fetch(this._project.id);
125669
+ }
125670
+ /** Creates a new initiativeToProject join. */
125671
+ create(input) {
125672
+ return new CreateInitiativeToProjectMutation(this._request).fetch(input);
125673
+ }
125674
+ /** Deletes a initiativeToProject. */
125675
+ delete() {
125676
+ return new DeleteInitiativeToProjectMutation(this._request).fetch(this.id);
125677
+ }
125678
+ /** Updates a initiativeToProject. */
125679
+ update(input) {
125680
+ return new UpdateInitiativeToProjectMutation(this._request).fetch(this.id, input);
125681
+ }
125682
+ }
125683
+ /**
125684
+ * InitiativeToProjectConnection model
125685
+ *
125686
+ * @param request - function to call the graphql client
125687
+ * @param fetch - function to trigger a refetch of this InitiativeToProjectConnection model
125688
+ * @param data - InitiativeToProjectConnection response data
125689
+ */
125690
+ class InitiativeToProjectConnection extends Connection {
125691
+ constructor(request, fetch, data) {
125692
+ super(request, fetch, data.nodes.map(node => new InitiativeToProject(request, node)), new PageInfo(request, data.pageInfo));
125693
+ }
125694
+ }
125695
+ /**
125696
+ * The result of a initiativeToProject mutation.
125697
+ *
125698
+ * @param request - function to call the graphql client
125699
+ * @param data - L.InitiativeToProjectPayloadFragment response data
125700
+ */
125701
+ class InitiativeToProjectPayload extends Request {
125702
+ constructor(request, data) {
125703
+ super(request);
125704
+ this.lastSyncId = data.lastSyncId;
125705
+ this.success = data.success;
125706
+ this._initiativeToProject = data.initiativeToProject;
125707
+ }
125708
+ /** The initiativeToProject that was created or updated. */
125709
+ get initiativeToProject() {
125710
+ return new InitiativeToProjectQuery(this._request).fetch(this._initiativeToProject.id);
125711
+ }
125712
+ }
124132
125713
  /**
124133
125714
  * An integration with an external service.
124134
125715
  *
@@ -124591,8 +126172,8 @@ class Issue extends Request {
124591
126172
  return new CreateIssueMutation(this._request).fetch(input);
124592
126173
  }
124593
126174
  /** Deletes (trashes) an issue. */
124594
- delete() {
124595
- return new DeleteIssueMutation(this._request).fetch(this.id);
126175
+ delete(variables) {
126176
+ return new DeleteIssueMutation(this._request).fetch(this.id, variables);
124596
126177
  }
124597
126178
  /** Unarchives an issue. */
124598
126179
  unarchive() {
@@ -124842,6 +126423,7 @@ class IssueImport extends Request {
124842
126423
  this.createdAt = (_b = parseDate(data.createdAt)) !== null && _b !== void 0 ? _b : new Date();
124843
126424
  this.creatorId = data.creatorId;
124844
126425
  this.csvFileUrl = (_c = data.csvFileUrl) !== null && _c !== void 0 ? _c : undefined;
126426
+ this.displayName = data.displayName;
124845
126427
  this.error = (_d = data.error) !== null && _d !== void 0 ? _d : undefined;
124846
126428
  this.errorMetadata = (_e = data.errorMetadata) !== null && _e !== void 0 ? _e : undefined;
124847
126429
  this.id = data.id;
@@ -125015,26 +126597,29 @@ class IssueLabelPayload extends Request {
125015
126597
  */
125016
126598
  class IssueNotification extends Request {
125017
126599
  constructor(request, data) {
125018
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
126600
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p;
125019
126601
  super(request);
125020
126602
  this.archivedAt = (_a = parseDate(data.archivedAt)) !== null && _a !== void 0 ? _a : undefined;
125021
- this.createdAt = (_b = parseDate(data.createdAt)) !== null && _b !== void 0 ? _b : new Date();
125022
- this.emailedAt = (_c = parseDate(data.emailedAt)) !== null && _c !== void 0 ? _c : undefined;
126603
+ this.commentId = (_b = data.commentId) !== null && _b !== void 0 ? _b : undefined;
126604
+ this.createdAt = (_c = parseDate(data.createdAt)) !== null && _c !== void 0 ? _c : new Date();
126605
+ this.emailedAt = (_d = parseDate(data.emailedAt)) !== null && _d !== void 0 ? _d : undefined;
125023
126606
  this.id = data.id;
125024
- this.reactionEmoji = (_d = data.reactionEmoji) !== null && _d !== void 0 ? _d : undefined;
125025
- this.readAt = (_e = parseDate(data.readAt)) !== null && _e !== void 0 ? _e : undefined;
125026
- this.snoozedUntilAt = (_f = parseDate(data.snoozedUntilAt)) !== null && _f !== void 0 ? _f : undefined;
126607
+ this.parentCommentId = (_e = data.parentCommentId) !== null && _e !== void 0 ? _e : undefined;
126608
+ this.reactionEmoji = (_f = data.reactionEmoji) !== null && _f !== void 0 ? _f : undefined;
126609
+ this.readAt = (_g = parseDate(data.readAt)) !== null && _g !== void 0 ? _g : undefined;
126610
+ this.snoozedUntilAt = (_h = parseDate(data.snoozedUntilAt)) !== null && _h !== void 0 ? _h : undefined;
125027
126611
  this.type = data.type;
125028
- this.unsnoozedAt = (_g = parseDate(data.unsnoozedAt)) !== null && _g !== void 0 ? _g : undefined;
125029
- this.updatedAt = (_h = parseDate(data.updatedAt)) !== null && _h !== void 0 ? _h : new Date();
126612
+ this.unsnoozedAt = (_j = parseDate(data.unsnoozedAt)) !== null && _j !== void 0 ? _j : undefined;
126613
+ this.updatedAt = (_k = parseDate(data.updatedAt)) !== null && _k !== void 0 ? _k : new Date();
125030
126614
  this.botActor = data.botActor ? new ActorBot(request, data.botActor) : undefined;
125031
126615
  this.subscriptions = data.subscriptions
125032
126616
  ? data.subscriptions.map(node => new NotificationSubscription(request, node))
125033
126617
  : undefined;
125034
- this._actor = (_j = data.actor) !== null && _j !== void 0 ? _j : undefined;
125035
- this._comment = (_k = data.comment) !== null && _k !== void 0 ? _k : undefined;
125036
- this._externalUserActor = (_l = data.externalUserActor) !== null && _l !== void 0 ? _l : undefined;
126618
+ this._actor = (_l = data.actor) !== null && _l !== void 0 ? _l : undefined;
126619
+ this._comment = (_m = data.comment) !== null && _m !== void 0 ? _m : undefined;
126620
+ this._externalUserActor = (_o = data.externalUserActor) !== null && _o !== void 0 ? _o : undefined;
125037
126621
  this._issue = data.issue;
126622
+ this._parentComment = (_p = data.parentComment) !== null && _p !== void 0 ? _p : undefined;
125038
126623
  this._team = data.team;
125039
126624
  this._user = data.user;
125040
126625
  }
@@ -125059,6 +126644,11 @@ class IssueNotification extends Request {
125059
126644
  get issue() {
125060
126645
  return new IssueQuery(this._request).fetch(this._issue.id);
125061
126646
  }
126647
+ /** The parent comment related to the notification, if a notification is a reply comment notification. */
126648
+ get parentComment() {
126649
+ var _a, _b;
126650
+ return ((_a = this._parentComment) === null || _a === void 0 ? void 0 : _a.id) ? new CommentQuery(this._request).fetch({ id: (_b = this._parentComment) === null || _b === void 0 ? void 0 : _b.id }) : undefined;
126651
+ }
125062
126652
  /** The team related to the issue notification. */
125063
126653
  get team() {
125064
126654
  return new TeamQuery(this._request).fetch(this._team.id);
@@ -126728,22 +128318,26 @@ class ProjectMilestonePayload extends Request {
126728
128318
  */
126729
128319
  class ProjectNotification extends Request {
126730
128320
  constructor(request, data) {
126731
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
128321
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p;
126732
128322
  super(request);
126733
128323
  this.archivedAt = (_a = parseDate(data.archivedAt)) !== null && _a !== void 0 ? _a : undefined;
126734
- this.createdAt = (_b = parseDate(data.createdAt)) !== null && _b !== void 0 ? _b : new Date();
126735
- this.emailedAt = (_c = parseDate(data.emailedAt)) !== null && _c !== void 0 ? _c : undefined;
128324
+ this.commentId = (_b = data.commentId) !== null && _b !== void 0 ? _b : undefined;
128325
+ this.createdAt = (_c = parseDate(data.createdAt)) !== null && _c !== void 0 ? _c : new Date();
128326
+ this.emailedAt = (_d = parseDate(data.emailedAt)) !== null && _d !== void 0 ? _d : undefined;
126736
128327
  this.id = data.id;
126737
- this.readAt = (_d = parseDate(data.readAt)) !== null && _d !== void 0 ? _d : undefined;
126738
- this.snoozedUntilAt = (_e = parseDate(data.snoozedUntilAt)) !== null && _e !== void 0 ? _e : undefined;
128328
+ this.parentCommentId = (_e = data.parentCommentId) !== null && _e !== void 0 ? _e : undefined;
128329
+ this.readAt = (_f = parseDate(data.readAt)) !== null && _f !== void 0 ? _f : undefined;
128330
+ this.snoozedUntilAt = (_g = parseDate(data.snoozedUntilAt)) !== null && _g !== void 0 ? _g : undefined;
126739
128331
  this.type = data.type;
126740
- this.unsnoozedAt = (_f = parseDate(data.unsnoozedAt)) !== null && _f !== void 0 ? _f : undefined;
126741
- this.updatedAt = (_g = parseDate(data.updatedAt)) !== null && _g !== void 0 ? _g : new Date();
128332
+ this.unsnoozedAt = (_h = parseDate(data.unsnoozedAt)) !== null && _h !== void 0 ? _h : undefined;
128333
+ this.updatedAt = (_j = parseDate(data.updatedAt)) !== null && _j !== void 0 ? _j : new Date();
126742
128334
  this.botActor = data.botActor ? new ActorBot(request, data.botActor) : undefined;
126743
- this._actor = (_h = data.actor) !== null && _h !== void 0 ? _h : undefined;
126744
- this._externalUserActor = (_j = data.externalUserActor) !== null && _j !== void 0 ? _j : undefined;
128335
+ this._actor = (_k = data.actor) !== null && _k !== void 0 ? _k : undefined;
128336
+ this._comment = (_l = data.comment) !== null && _l !== void 0 ? _l : undefined;
128337
+ this._externalUserActor = (_m = data.externalUserActor) !== null && _m !== void 0 ? _m : undefined;
128338
+ this._parentComment = (_o = data.parentComment) !== null && _o !== void 0 ? _o : undefined;
126745
128339
  this._project = data.project;
126746
- this._projectUpdate = (_k = data.projectUpdate) !== null && _k !== void 0 ? _k : undefined;
128340
+ this._projectUpdate = (_p = data.projectUpdate) !== null && _p !== void 0 ? _p : undefined;
126747
128341
  this._user = data.user;
126748
128342
  }
126749
128343
  /** The user that caused the notification. */
@@ -126751,6 +128345,11 @@ class ProjectNotification extends Request {
126751
128345
  var _a, _b;
126752
128346
  return ((_a = this._actor) === null || _a === void 0 ? void 0 : _a.id) ? new UserQuery(this._request).fetch((_b = this._actor) === null || _b === void 0 ? void 0 : _b.id) : undefined;
126753
128347
  }
128348
+ /** The comment related to the notification. */
128349
+ get comment() {
128350
+ var _a, _b;
128351
+ return ((_a = this._comment) === null || _a === void 0 ? void 0 : _a.id) ? new CommentQuery(this._request).fetch({ id: (_b = this._comment) === null || _b === void 0 ? void 0 : _b.id }) : undefined;
128352
+ }
126754
128353
  /** The external user that caused the notification. */
126755
128354
  get externalUserActor() {
126756
128355
  var _a, _b;
@@ -126758,6 +128357,11 @@ class ProjectNotification extends Request {
126758
128357
  ? new ExternalUserQuery(this._request).fetch((_b = this._externalUserActor) === null || _b === void 0 ? void 0 : _b.id)
126759
128358
  : undefined;
126760
128359
  }
128360
+ /** The parent comment related to the notification, if a notification is a reply comment notification. */
128361
+ get parentComment() {
128362
+ var _a, _b;
128363
+ return ((_a = this._parentComment) === null || _a === void 0 ? void 0 : _a.id) ? new CommentQuery(this._request).fetch({ id: (_b = this._parentComment) === null || _b === void 0 ? void 0 : _b.id }) : undefined;
128364
+ }
126761
128365
  /** The project related to the notification. */
126762
128366
  get project() {
126763
128367
  return new ProjectQuery(this._request).fetch(this._project.id);
@@ -127252,7 +128856,7 @@ class ProjectUpdateWithInteractionPayload extends Request {
127252
128856
  }
127253
128857
  }
127254
128858
  /**
127255
- * A user's web browser push notification subscription.
128859
+ * A user's web or mobile push notification subscription.
127256
128860
  *
127257
128861
  * @param request - function to call the graphql client
127258
128862
  * @param data - L.PushSubscriptionFragment response data
@@ -128345,25 +129949,26 @@ class TemplatePayload extends Request {
128345
129949
  }
128346
129950
  }
128347
129951
  /**
128348
- * A text draft, used for comments and project updates.
129952
+ * [DEPRECATED] A text draft, used for comments and project updates.
128349
129953
  *
128350
129954
  * @param request - function to call the graphql client
128351
129955
  * @param data - L.TextDraftFragment response data
128352
129956
  */
128353
129957
  class TextDraft extends Request {
128354
129958
  constructor(request, data) {
128355
- var _a, _b, _c, _d, _e, _f, _g, _h;
129959
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j;
128356
129960
  super(request);
128357
129961
  this.archivedAt = (_a = parseDate(data.archivedAt)) !== null && _a !== void 0 ? _a : undefined;
128358
129962
  this.bodyData = (_b = parseJson(data.bodyData)) !== null && _b !== void 0 ? _b : {};
128359
129963
  this.createdAt = (_c = parseDate(data.createdAt)) !== null && _c !== void 0 ? _c : new Date();
129964
+ this.data = (_d = data.data) !== null && _d !== void 0 ? _d : undefined;
128360
129965
  this.id = data.id;
128361
129966
  this.isAutogenerated = data.isAutogenerated;
128362
- this.updatedAt = (_d = parseDate(data.updatedAt)) !== null && _d !== void 0 ? _d : new Date();
128363
- this._issue = (_e = data.issue) !== null && _e !== void 0 ? _e : undefined;
128364
- this._parentComment = (_f = data.parentComment) !== null && _f !== void 0 ? _f : undefined;
128365
- this._project = (_g = data.project) !== null && _g !== void 0 ? _g : undefined;
128366
- this._projectUpdate = (_h = data.projectUpdate) !== null && _h !== void 0 ? _h : undefined;
129967
+ this.updatedAt = (_e = parseDate(data.updatedAt)) !== null && _e !== void 0 ? _e : new Date();
129968
+ this._issue = (_f = data.issue) !== null && _f !== void 0 ? _f : undefined;
129969
+ this._parentComment = (_g = data.parentComment) !== null && _g !== void 0 ? _g : undefined;
129970
+ this._project = (_h = data.project) !== null && _h !== void 0 ? _h : undefined;
129971
+ this._projectUpdate = (_j = data.projectUpdate) !== null && _j !== void 0 ? _j : undefined;
128367
129972
  this._user = data.user;
128368
129973
  }
128369
129974
  /** The issue for which this is a draft comment. */
@@ -128627,6 +130232,7 @@ class User extends Request {
128627
130232
  this.active = data.active;
128628
130233
  this.admin = data.admin;
128629
130234
  this.archivedAt = (_a = parseDate(data.archivedAt)) !== null && _a !== void 0 ? _a : undefined;
130235
+ this.avatarBackgroundColor = data.avatarBackgroundColor;
128630
130236
  this.avatarUrl = (_b = data.avatarUrl) !== null && _b !== void 0 ? _b : undefined;
128631
130237
  this.calendarHash = (_c = data.calendarHash) !== null && _c !== void 0 ? _c : undefined;
128632
130238
  this.createdAt = (_d = parseDate(data.createdAt)) !== null && _d !== void 0 ? _d : new Date();
@@ -128637,6 +130243,7 @@ class User extends Request {
128637
130243
  this.email = data.email;
128638
130244
  this.guest = data.guest;
128639
130245
  this.id = data.id;
130246
+ this.initials = data.initials;
128640
130247
  this.inviteHash = data.inviteHash;
128641
130248
  this.isMe = data.isMe;
128642
130249
  this.lastSeen = (_g = parseDate(data.lastSeen)) !== null && _g !== void 0 ? _g : undefined;
@@ -130003,6 +131610,102 @@ class FavoritesQuery extends Request {
130003
131610
  });
130004
131611
  }
130005
131612
  }
131613
+ /**
131614
+ * A fetchable Initiative Query
131615
+ *
131616
+ * @param request - function to call the graphql client
131617
+ */
131618
+ class InitiativeQuery extends Request {
131619
+ constructor(request) {
131620
+ super(request);
131621
+ }
131622
+ /**
131623
+ * Call the Initiative query and return a Initiative
131624
+ *
131625
+ * @param id - required id to pass to initiative
131626
+ * @returns parsed response from InitiativeQuery
131627
+ */
131628
+ fetch(id) {
131629
+ return __awaiter(this, void 0, void 0, function* () {
131630
+ const response = yield this._request(InitiativeDocument, {
131631
+ id,
131632
+ });
131633
+ const data = response.initiative;
131634
+ return new Initiative(this._request, data);
131635
+ });
131636
+ }
131637
+ }
131638
+ /**
131639
+ * A fetchable InitiativeToProject Query
131640
+ *
131641
+ * @param request - function to call the graphql client
131642
+ */
131643
+ class InitiativeToProjectQuery extends Request {
131644
+ constructor(request) {
131645
+ super(request);
131646
+ }
131647
+ /**
131648
+ * Call the InitiativeToProject query and return a InitiativeToProject
131649
+ *
131650
+ * @param id - required id to pass to initiativeToProject
131651
+ * @returns parsed response from InitiativeToProjectQuery
131652
+ */
131653
+ fetch(id) {
131654
+ return __awaiter(this, void 0, void 0, function* () {
131655
+ const response = yield this._request(InitiativeToProjectDocument, {
131656
+ id,
131657
+ });
131658
+ const data = response.initiativeToProject;
131659
+ return new InitiativeToProject(this._request, data);
131660
+ });
131661
+ }
131662
+ }
131663
+ /**
131664
+ * A fetchable InitiativeToProjects Query
131665
+ *
131666
+ * @param request - function to call the graphql client
131667
+ */
131668
+ class InitiativeToProjectsQuery extends Request {
131669
+ constructor(request) {
131670
+ super(request);
131671
+ }
131672
+ /**
131673
+ * Call the InitiativeToProjects query and return a InitiativeToProjectConnection
131674
+ *
131675
+ * @param variables - variables to pass into the InitiativeToProjectsQuery
131676
+ * @returns parsed response from InitiativeToProjectsQuery
131677
+ */
131678
+ fetch(variables) {
131679
+ return __awaiter(this, void 0, void 0, function* () {
131680
+ const response = yield this._request(InitiativeToProjectsDocument, variables);
131681
+ const data = response.initiativeToProjects;
131682
+ return new InitiativeToProjectConnection(this._request, connection => this.fetch(defaultConnection(Object.assign(Object.assign({}, variables), connection))), data);
131683
+ });
131684
+ }
131685
+ }
131686
+ /**
131687
+ * A fetchable Initiatives Query
131688
+ *
131689
+ * @param request - function to call the graphql client
131690
+ */
131691
+ class InitiativesQuery extends Request {
131692
+ constructor(request) {
131693
+ super(request);
131694
+ }
131695
+ /**
131696
+ * Call the Initiatives query and return a InitiativeConnection
131697
+ *
131698
+ * @param variables - variables to pass into the InitiativesQuery
131699
+ * @returns parsed response from InitiativesQuery
131700
+ */
131701
+ fetch(variables) {
131702
+ return __awaiter(this, void 0, void 0, function* () {
131703
+ const response = yield this._request(InitiativesDocument, variables);
131704
+ const data = response.initiatives;
131705
+ return new InitiativeConnection(this._request, connection => this.fetch(defaultConnection(Object.assign(Object.assign({}, variables), connection))), data);
131706
+ });
131707
+ }
131708
+ }
130006
131709
  /**
130007
131710
  * A fetchable Integration Query
130008
131711
  *
@@ -133334,6 +135037,210 @@ class ImportFileUploadMutation extends Request {
133334
135037
  });
133335
135038
  }
133336
135039
  }
135040
+ /**
135041
+ * A fetchable ArchiveInitiative Mutation
135042
+ *
135043
+ * @param request - function to call the graphql client
135044
+ */
135045
+ class ArchiveInitiativeMutation extends Request {
135046
+ constructor(request) {
135047
+ super(request);
135048
+ }
135049
+ /**
135050
+ * Call the ArchiveInitiative mutation and return a InitiativeArchivePayload
135051
+ *
135052
+ * @param id - required id to pass to archiveInitiative
135053
+ * @returns parsed response from ArchiveInitiativeMutation
135054
+ */
135055
+ fetch(id) {
135056
+ return __awaiter(this, void 0, void 0, function* () {
135057
+ const response = yield this._request(ArchiveInitiativeDocument, {
135058
+ id,
135059
+ });
135060
+ const data = response.initiativeArchive;
135061
+ return new InitiativeArchivePayload(this._request, data);
135062
+ });
135063
+ }
135064
+ }
135065
+ /**
135066
+ * A fetchable CreateInitiative Mutation
135067
+ *
135068
+ * @param request - function to call the graphql client
135069
+ */
135070
+ class CreateInitiativeMutation extends Request {
135071
+ constructor(request) {
135072
+ super(request);
135073
+ }
135074
+ /**
135075
+ * Call the CreateInitiative mutation and return a InitiativePayload
135076
+ *
135077
+ * @param input - required input to pass to createInitiative
135078
+ * @returns parsed response from CreateInitiativeMutation
135079
+ */
135080
+ fetch(input) {
135081
+ return __awaiter(this, void 0, void 0, function* () {
135082
+ const response = yield this._request(CreateInitiativeDocument, {
135083
+ input,
135084
+ });
135085
+ const data = response.initiativeCreate;
135086
+ return new InitiativePayload(this._request, data);
135087
+ });
135088
+ }
135089
+ }
135090
+ /**
135091
+ * A fetchable DeleteInitiative Mutation
135092
+ *
135093
+ * @param request - function to call the graphql client
135094
+ */
135095
+ class DeleteInitiativeMutation extends Request {
135096
+ constructor(request) {
135097
+ super(request);
135098
+ }
135099
+ /**
135100
+ * Call the DeleteInitiative mutation and return a DeletePayload
135101
+ *
135102
+ * @param id - required id to pass to deleteInitiative
135103
+ * @returns parsed response from DeleteInitiativeMutation
135104
+ */
135105
+ fetch(id) {
135106
+ return __awaiter(this, void 0, void 0, function* () {
135107
+ const response = yield this._request(DeleteInitiativeDocument, {
135108
+ id,
135109
+ });
135110
+ const data = response.initiativeDelete;
135111
+ return new DeletePayload(this._request, data);
135112
+ });
135113
+ }
135114
+ }
135115
+ /**
135116
+ * A fetchable CreateInitiativeToProject Mutation
135117
+ *
135118
+ * @param request - function to call the graphql client
135119
+ */
135120
+ class CreateInitiativeToProjectMutation extends Request {
135121
+ constructor(request) {
135122
+ super(request);
135123
+ }
135124
+ /**
135125
+ * Call the CreateInitiativeToProject mutation and return a InitiativeToProjectPayload
135126
+ *
135127
+ * @param input - required input to pass to createInitiativeToProject
135128
+ * @returns parsed response from CreateInitiativeToProjectMutation
135129
+ */
135130
+ fetch(input) {
135131
+ return __awaiter(this, void 0, void 0, function* () {
135132
+ const response = yield this._request(CreateInitiativeToProjectDocument, {
135133
+ input,
135134
+ });
135135
+ const data = response.initiativeToProjectCreate;
135136
+ return new InitiativeToProjectPayload(this._request, data);
135137
+ });
135138
+ }
135139
+ }
135140
+ /**
135141
+ * A fetchable DeleteInitiativeToProject Mutation
135142
+ *
135143
+ * @param request - function to call the graphql client
135144
+ */
135145
+ class DeleteInitiativeToProjectMutation extends Request {
135146
+ constructor(request) {
135147
+ super(request);
135148
+ }
135149
+ /**
135150
+ * Call the DeleteInitiativeToProject mutation and return a DeletePayload
135151
+ *
135152
+ * @param id - required id to pass to deleteInitiativeToProject
135153
+ * @returns parsed response from DeleteInitiativeToProjectMutation
135154
+ */
135155
+ fetch(id) {
135156
+ return __awaiter(this, void 0, void 0, function* () {
135157
+ const response = yield this._request(DeleteInitiativeToProjectDocument, {
135158
+ id,
135159
+ });
135160
+ const data = response.initiativeToProjectDelete;
135161
+ return new DeletePayload(this._request, data);
135162
+ });
135163
+ }
135164
+ }
135165
+ /**
135166
+ * A fetchable UpdateInitiativeToProject Mutation
135167
+ *
135168
+ * @param request - function to call the graphql client
135169
+ */
135170
+ class UpdateInitiativeToProjectMutation extends Request {
135171
+ constructor(request) {
135172
+ super(request);
135173
+ }
135174
+ /**
135175
+ * Call the UpdateInitiativeToProject mutation and return a InitiativeToProjectPayload
135176
+ *
135177
+ * @param id - required id to pass to updateInitiativeToProject
135178
+ * @param input - required input to pass to updateInitiativeToProject
135179
+ * @returns parsed response from UpdateInitiativeToProjectMutation
135180
+ */
135181
+ fetch(id, input) {
135182
+ return __awaiter(this, void 0, void 0, function* () {
135183
+ const response = yield this._request(UpdateInitiativeToProjectDocument, {
135184
+ id,
135185
+ input,
135186
+ });
135187
+ const data = response.initiativeToProjectUpdate;
135188
+ return new InitiativeToProjectPayload(this._request, data);
135189
+ });
135190
+ }
135191
+ }
135192
+ /**
135193
+ * A fetchable UnarchiveInitiative Mutation
135194
+ *
135195
+ * @param request - function to call the graphql client
135196
+ */
135197
+ class UnarchiveInitiativeMutation extends Request {
135198
+ constructor(request) {
135199
+ super(request);
135200
+ }
135201
+ /**
135202
+ * Call the UnarchiveInitiative mutation and return a InitiativeArchivePayload
135203
+ *
135204
+ * @param id - required id to pass to unarchiveInitiative
135205
+ * @returns parsed response from UnarchiveInitiativeMutation
135206
+ */
135207
+ fetch(id) {
135208
+ return __awaiter(this, void 0, void 0, function* () {
135209
+ const response = yield this._request(UnarchiveInitiativeDocument, {
135210
+ id,
135211
+ });
135212
+ const data = response.initiativeUnarchive;
135213
+ return new InitiativeArchivePayload(this._request, data);
135214
+ });
135215
+ }
135216
+ }
135217
+ /**
135218
+ * A fetchable UpdateInitiative Mutation
135219
+ *
135220
+ * @param request - function to call the graphql client
135221
+ */
135222
+ class UpdateInitiativeMutation extends Request {
135223
+ constructor(request) {
135224
+ super(request);
135225
+ }
135226
+ /**
135227
+ * Call the UpdateInitiative mutation and return a InitiativePayload
135228
+ *
135229
+ * @param id - required id to pass to updateInitiative
135230
+ * @param input - required input to pass to updateInitiative
135231
+ * @returns parsed response from UpdateInitiativeMutation
135232
+ */
135233
+ fetch(id, input) {
135234
+ return __awaiter(this, void 0, void 0, function* () {
135235
+ const response = yield this._request(UpdateInitiativeDocument, {
135236
+ id,
135237
+ input,
135238
+ });
135239
+ const data = response.initiativeUpdate;
135240
+ return new InitiativePayload(this._request, data);
135241
+ });
135242
+ }
135243
+ }
133337
135244
  /**
133338
135245
  * A fetchable ArchiveIntegration Mutation
133339
135246
  *
@@ -133492,6 +135399,30 @@ class IntegrationFrontMutation extends Request {
133492
135399
  });
133493
135400
  }
133494
135401
  }
135402
+ /**
135403
+ * A fetchable IntegrationGitHubEnterpriseServerConnect Mutation
135404
+ *
135405
+ * @param request - function to call the graphql client
135406
+ */
135407
+ class IntegrationGitHubEnterpriseServerConnectMutation extends Request {
135408
+ constructor(request) {
135409
+ super(request);
135410
+ }
135411
+ /**
135412
+ * Call the IntegrationGitHubEnterpriseServerConnect mutation and return a GitHubEnterpriseServerPayload
135413
+ *
135414
+ * @param githubUrl - required githubUrl to pass to integrationGitHubEnterpriseServerConnect
135415
+ * @param variables - variables without 'githubUrl' to pass into the IntegrationGitHubEnterpriseServerConnectMutation
135416
+ * @returns parsed response from IntegrationGitHubEnterpriseServerConnectMutation
135417
+ */
135418
+ fetch(githubUrl, variables) {
135419
+ return __awaiter(this, void 0, void 0, function* () {
135420
+ const response = yield this._request(IntegrationGitHubEnterpriseServerConnectDocument, Object.assign({ githubUrl }, variables));
135421
+ const data = response.integrationGitHubEnterpriseServerConnect;
135422
+ return new GitHubEnterpriseServerPayload(this._request, data);
135423
+ });
135424
+ }
135425
+ }
133495
135426
  /**
133496
135427
  * A fetchable IntegrationGitHubPersonal Mutation
133497
135428
  *
@@ -134311,13 +136242,12 @@ class DeleteIssueMutation extends Request {
134311
136242
  * Call the DeleteIssue mutation and return a IssueArchivePayload
134312
136243
  *
134313
136244
  * @param id - required id to pass to deleteIssue
136245
+ * @param variables - variables without 'id' to pass into the DeleteIssueMutation
134314
136246
  * @returns parsed response from DeleteIssueMutation
134315
136247
  */
134316
- fetch(id) {
136248
+ fetch(id, variables) {
134317
136249
  return __awaiter(this, void 0, void 0, function* () {
134318
- const response = yield this._request(DeleteIssueDocument, {
134319
- id,
134320
- });
136250
+ const response = yield this._request(DeleteIssueDocument, Object.assign({ id }, variables));
134321
136251
  const data = response.issueDelete;
134322
136252
  return new IssueArchivePayload(this._request, data);
134323
136253
  });
@@ -134411,13 +136341,12 @@ class IssueImportCreateGithubMutation extends Request {
134411
136341
  /**
134412
136342
  * Call the IssueImportCreateGithub mutation and return a IssueImportPayload
134413
136343
  *
134414
- * @param integrationId - required integrationId to pass to issueImportCreateGithub
134415
- * @param variables - variables without 'integrationId' to pass into the IssueImportCreateGithubMutation
136344
+ * @param variables - variables to pass into the IssueImportCreateGithubMutation
134416
136345
  * @returns parsed response from IssueImportCreateGithubMutation
134417
136346
  */
134418
- fetch(integrationId, variables) {
136347
+ fetch(variables) {
134419
136348
  return __awaiter(this, void 0, void 0, function* () {
134420
- const response = yield this._request(IssueImportCreateGithubDocument, Object.assign({ integrationId }, variables));
136349
+ const response = yield this._request(IssueImportCreateGithubDocument, variables);
134421
136350
  const data = response.issueImportCreateGithub;
134422
136351
  return new IssueImportPayload(this._request, data);
134423
136352
  });
@@ -137898,6 +139827,60 @@ class Favorite_ChildrenQuery extends Request {
137898
139827
  });
137899
139828
  }
137900
139829
  }
139830
+ /**
139831
+ * A fetchable Initiative_Links Query
139832
+ *
139833
+ * @param request - function to call the graphql client
139834
+ * @param id - required id to pass to initiative
139835
+ * @param variables - variables without 'id' to pass into the Initiative_LinksQuery
139836
+ */
139837
+ class Initiative_LinksQuery extends Request {
139838
+ constructor(request, id, variables) {
139839
+ super(request);
139840
+ this._id = id;
139841
+ this._variables = variables;
139842
+ }
139843
+ /**
139844
+ * Call the Initiative_Links query and return a EntityExternalLinkConnection
139845
+ *
139846
+ * @param variables - variables without 'id' to pass into the Initiative_LinksQuery
139847
+ * @returns parsed response from Initiative_LinksQuery
139848
+ */
139849
+ fetch(variables) {
139850
+ return __awaiter(this, void 0, void 0, function* () {
139851
+ const response = yield this._request(Initiative_LinksDocument, Object.assign(Object.assign({ id: this._id }, this._variables), variables));
139852
+ const data = response.initiative.links;
139853
+ return new EntityExternalLinkConnection(this._request, connection => this.fetch(defaultConnection(Object.assign(Object.assign(Object.assign({}, this._variables), variables), connection))), data);
139854
+ });
139855
+ }
139856
+ }
139857
+ /**
139858
+ * A fetchable Initiative_Projects Query
139859
+ *
139860
+ * @param request - function to call the graphql client
139861
+ * @param id - required id to pass to initiative
139862
+ * @param variables - variables without 'id' to pass into the Initiative_ProjectsQuery
139863
+ */
139864
+ class Initiative_ProjectsQuery extends Request {
139865
+ constructor(request, id, variables) {
139866
+ super(request);
139867
+ this._id = id;
139868
+ this._variables = variables;
139869
+ }
139870
+ /**
139871
+ * Call the Initiative_Projects query and return a ProjectConnection
139872
+ *
139873
+ * @param variables - variables without 'id' to pass into the Initiative_ProjectsQuery
139874
+ * @returns parsed response from Initiative_ProjectsQuery
139875
+ */
139876
+ fetch(variables) {
139877
+ return __awaiter(this, void 0, void 0, function* () {
139878
+ const response = yield this._request(Initiative_ProjectsDocument, Object.assign(Object.assign({ id: this._id }, this._variables), variables));
139879
+ const data = response.initiative.projects;
139880
+ return new ProjectConnection(this._request, connection => this.fetch(defaultConnection(Object.assign(Object.assign(Object.assign({}, this._variables), variables), connection))), data);
139881
+ });
139882
+ }
139883
+ }
137901
139884
  /**
137902
139885
  * A fetchable Issue_Attachments Query
137903
139886
  *
@@ -140050,6 +142033,42 @@ class LinearSdk extends Request {
140050
142033
  favorites(variables) {
140051
142034
  return new FavoritesQuery(this._request).fetch(variables);
140052
142035
  }
142036
+ /**
142037
+ * One specific initiative.
142038
+ *
142039
+ * @param id - required id to pass to initiative
142040
+ * @returns Initiative
142041
+ */
142042
+ initiative(id) {
142043
+ return new InitiativeQuery(this._request).fetch(id);
142044
+ }
142045
+ /**
142046
+ * One specific initiativeToProject.
142047
+ *
142048
+ * @param id - required id to pass to initiativeToProject
142049
+ * @returns InitiativeToProject
142050
+ */
142051
+ initiativeToProject(id) {
142052
+ return new InitiativeToProjectQuery(this._request).fetch(id);
142053
+ }
142054
+ /**
142055
+ * returns a list of initiative to project entities.
142056
+ *
142057
+ * @param variables - variables to pass into the InitiativeToProjectsQuery
142058
+ * @returns InitiativeToProjectConnection
142059
+ */
142060
+ initiativeToProjects(variables) {
142061
+ return new InitiativeToProjectsQuery(this._request).fetch(variables);
142062
+ }
142063
+ /**
142064
+ * All initiatives in the workspace.
142065
+ *
142066
+ * @param variables - variables to pass into the InitiativesQuery
142067
+ * @returns InitiativeConnection
142068
+ */
142069
+ initiatives(variables) {
142070
+ return new InitiativesQuery(this._request).fetch(variables);
142071
+ }
140053
142072
  /**
140054
142073
  * One specific integration.
140055
142074
  *
@@ -141292,6 +143311,80 @@ class LinearSdk extends Request {
141292
143311
  importFileUpload(contentType, filename, size, variables) {
141293
143312
  return new ImportFileUploadMutation(this._request).fetch(contentType, filename, size, variables);
141294
143313
  }
143314
+ /**
143315
+ * Archives a initiative.
143316
+ *
143317
+ * @param id - required id to pass to archiveInitiative
143318
+ * @returns InitiativeArchivePayload
143319
+ */
143320
+ archiveInitiative(id) {
143321
+ return new ArchiveInitiativeMutation(this._request).fetch(id);
143322
+ }
143323
+ /**
143324
+ * Creates a new initiative.
143325
+ *
143326
+ * @param input - required input to pass to createInitiative
143327
+ * @returns InitiativePayload
143328
+ */
143329
+ createInitiative(input) {
143330
+ return new CreateInitiativeMutation(this._request).fetch(input);
143331
+ }
143332
+ /**
143333
+ * Deletes (trashes) an initiative.
143334
+ *
143335
+ * @param id - required id to pass to deleteInitiative
143336
+ * @returns DeletePayload
143337
+ */
143338
+ deleteInitiative(id) {
143339
+ return new DeleteInitiativeMutation(this._request).fetch(id);
143340
+ }
143341
+ /**
143342
+ * Creates a new initiativeToProject join.
143343
+ *
143344
+ * @param input - required input to pass to createInitiativeToProject
143345
+ * @returns InitiativeToProjectPayload
143346
+ */
143347
+ createInitiativeToProject(input) {
143348
+ return new CreateInitiativeToProjectMutation(this._request).fetch(input);
143349
+ }
143350
+ /**
143351
+ * Deletes a initiativeToProject.
143352
+ *
143353
+ * @param id - required id to pass to deleteInitiativeToProject
143354
+ * @returns DeletePayload
143355
+ */
143356
+ deleteInitiativeToProject(id) {
143357
+ return new DeleteInitiativeToProjectMutation(this._request).fetch(id);
143358
+ }
143359
+ /**
143360
+ * Updates a initiativeToProject.
143361
+ *
143362
+ * @param id - required id to pass to updateInitiativeToProject
143363
+ * @param input - required input to pass to updateInitiativeToProject
143364
+ * @returns InitiativeToProjectPayload
143365
+ */
143366
+ updateInitiativeToProject(id, input) {
143367
+ return new UpdateInitiativeToProjectMutation(this._request).fetch(id, input);
143368
+ }
143369
+ /**
143370
+ * Unarchives a initiative.
143371
+ *
143372
+ * @param id - required id to pass to unarchiveInitiative
143373
+ * @returns InitiativeArchivePayload
143374
+ */
143375
+ unarchiveInitiative(id) {
143376
+ return new UnarchiveInitiativeMutation(this._request).fetch(id);
143377
+ }
143378
+ /**
143379
+ * Updates a initiative.
143380
+ *
143381
+ * @param id - required id to pass to updateInitiative
143382
+ * @param input - required input to pass to updateInitiative
143383
+ * @returns InitiativePayload
143384
+ */
143385
+ updateInitiative(id, input) {
143386
+ return new UpdateInitiativeMutation(this._request).fetch(id, input);
143387
+ }
141295
143388
  /**
141296
143389
  * Archives an integration.
141297
143390
  *
@@ -141350,6 +143443,16 @@ class LinearSdk extends Request {
141350
143443
  integrationFront(code, redirectUri) {
141351
143444
  return new IntegrationFrontMutation(this._request).fetch(code, redirectUri);
141352
143445
  }
143446
+ /**
143447
+ * Connects the organization with a GitHub Enterprise Server.
143448
+ *
143449
+ * @param githubUrl - required githubUrl to pass to integrationGitHubEnterpriseServerConnect
143450
+ * @param variables - variables without 'githubUrl' to pass into the IntegrationGitHubEnterpriseServerConnectMutation
143451
+ * @returns GitHubEnterpriseServerPayload
143452
+ */
143453
+ integrationGitHubEnterpriseServerConnect(githubUrl, variables) {
143454
+ return new IntegrationGitHubEnterpriseServerConnectMutation(this._request).fetch(githubUrl, variables);
143455
+ }
141353
143456
  /**
141354
143457
  * Connect your GitHub account to Linear.
141355
143458
  *
@@ -141657,10 +143760,11 @@ class LinearSdk extends Request {
141657
143760
  * Deletes (trashes) an issue.
141658
143761
  *
141659
143762
  * @param id - required id to pass to deleteIssue
143763
+ * @param variables - variables without 'id' to pass into the DeleteIssueMutation
141660
143764
  * @returns IssueArchivePayload
141661
143765
  */
141662
- deleteIssue(id) {
141663
- return new DeleteIssueMutation(this._request).fetch(id);
143766
+ deleteIssue(id, variables) {
143767
+ return new DeleteIssueMutation(this._request).fetch(id, variables);
141664
143768
  }
141665
143769
  /**
141666
143770
  * Kicks off an Asana import job.
@@ -141697,12 +143801,11 @@ class LinearSdk extends Request {
141697
143801
  /**
141698
143802
  * Kicks off a GitHub import job.
141699
143803
  *
141700
- * @param integrationId - required integrationId to pass to issueImportCreateGithub
141701
- * @param variables - variables without 'integrationId' to pass into the IssueImportCreateGithubMutation
143804
+ * @param variables - variables to pass into the IssueImportCreateGithubMutation
141702
143805
  * @returns IssueImportPayload
141703
143806
  */
141704
- issueImportCreateGithub(integrationId, variables) {
141705
- return new IssueImportCreateGithubMutation(this._request).fetch(integrationId, variables);
143807
+ issueImportCreateGithub(variables) {
143808
+ return new IssueImportCreateGithubMutation(this._request).fetch(variables);
141706
143809
  }
141707
143810
  /**
141708
143811
  * Kicks off a Jira import job.
@@ -142863,6 +144966,7 @@ exports.ApplicationInfoQuery = ApplicationInfoQuery;
142863
144966
  exports.ApplicationWithAuthorizationQuery = ApplicationWithAuthorizationQuery;
142864
144967
  exports.ArchiveAttachmentMutation = ArchiveAttachmentMutation;
142865
144968
  exports.ArchiveCycleMutation = ArchiveCycleMutation;
144969
+ exports.ArchiveInitiativeMutation = ArchiveInitiativeMutation;
142866
144970
  exports.ArchiveIntegrationMutation = ArchiveIntegrationMutation;
142867
144971
  exports.ArchiveIssueMutation = ArchiveIssueMutation;
142868
144972
  exports.ArchiveNotificationMutation = ArchiveNotificationMutation;
@@ -142932,6 +145036,7 @@ exports.AvailableUsersQuery = AvailableUsersQuery;
142932
145036
  exports.BootstrapLinearError = BootstrapLinearError;
142933
145037
  exports.Comment = Comment;
142934
145038
  exports.CommentConnection = CommentConnection;
145039
+ exports.CommentNotification = CommentNotification;
142935
145040
  exports.CommentPayload = CommentPayload;
142936
145041
  exports.CommentQuery = CommentQuery;
142937
145042
  exports.CommentResolveMutation = CommentResolveMutation;
@@ -142959,6 +145064,8 @@ exports.CreateEntityExternalLinkMutation = CreateEntityExternalLinkMutation;
142959
145064
  exports.CreateFavoriteMutation = CreateFavoriteMutation;
142960
145065
  exports.CreateGitAutomationStateMutation = CreateGitAutomationStateMutation;
142961
145066
  exports.CreateGitAutomationTargetBranchMutation = CreateGitAutomationTargetBranchMutation;
145067
+ exports.CreateInitiativeMutation = CreateInitiativeMutation;
145068
+ exports.CreateInitiativeToProjectMutation = CreateInitiativeToProjectMutation;
142962
145069
  exports.CreateIntegrationGithubCommitMutation = CreateIntegrationGithubCommitMutation;
142963
145070
  exports.CreateIntegrationTemplateMutation = CreateIntegrationTemplateMutation;
142964
145071
  exports.CreateIntegrationsSettingsMutation = CreateIntegrationsSettingsMutation;
@@ -143024,6 +145131,8 @@ exports.DeleteEntityExternalLinkMutation = DeleteEntityExternalLinkMutation;
143024
145131
  exports.DeleteFavoriteMutation = DeleteFavoriteMutation;
143025
145132
  exports.DeleteGitAutomationStateMutation = DeleteGitAutomationStateMutation;
143026
145133
  exports.DeleteGitAutomationTargetBranchMutation = DeleteGitAutomationTargetBranchMutation;
145134
+ exports.DeleteInitiativeMutation = DeleteInitiativeMutation;
145135
+ exports.DeleteInitiativeToProjectMutation = DeleteInitiativeToProjectMutation;
143027
145136
  exports.DeleteIntegrationIntercomMutation = DeleteIntegrationIntercomMutation;
143028
145137
  exports.DeleteIntegrationMutation = DeleteIntegrationMutation;
143029
145138
  exports.DeleteIntegrationTemplateMutation = DeleteIntegrationTemplateMutation;
@@ -143073,6 +145182,7 @@ exports.DocumentSearchPayload = DocumentSearchPayload;
143073
145182
  exports.DocumentSearchResult = DocumentSearchResult;
143074
145183
  exports.DocumentSearchResultConnection = DocumentSearchResultConnection;
143075
145184
  exports.DocumentsQuery = DocumentsQuery;
145185
+ exports.Draft = Draft;
143076
145186
  exports.EmailIntakeAddress = EmailIntakeAddress;
143077
145187
  exports.EmailIntakeAddressPayload = EmailIntakeAddressPayload;
143078
145188
  exports.EmailIntakeAddressRotateMutation = EmailIntakeAddressRotateMutation;
@@ -143118,6 +145228,7 @@ exports.GitAutomationStatePayload = GitAutomationStatePayload;
143118
145228
  exports.GitAutomationTargetBranch = GitAutomationTargetBranch;
143119
145229
  exports.GitAutomationTargetBranchPayload = GitAutomationTargetBranchPayload;
143120
145230
  exports.GitHubCommitIntegrationPayload = GitHubCommitIntegrationPayload;
145231
+ exports.GitHubEnterpriseServerPayload = GitHubEnterpriseServerPayload;
143121
145232
  exports.GitHubImportSettings = GitHubImportSettings;
143122
145233
  exports.GitHubPersonalSettings = GitHubPersonalSettings;
143123
145234
  exports.GitHubRepo = GitHubRepo;
@@ -143130,14 +145241,27 @@ exports.GraphqlLinearError = GraphqlLinearError;
143130
145241
  exports.ImageUploadFromUrlMutation = ImageUploadFromUrlMutation;
143131
145242
  exports.ImageUploadFromUrlPayload = ImageUploadFromUrlPayload;
143132
145243
  exports.ImportFileUploadMutation = ImportFileUploadMutation;
145244
+ exports.Initiative = Initiative;
143133
145245
  exports.InitiativeArchivePayload = InitiativeArchivePayload;
145246
+ exports.InitiativeConnection = InitiativeConnection;
143134
145247
  exports.InitiativeNotification = InitiativeNotification;
145248
+ exports.InitiativePayload = InitiativePayload;
145249
+ exports.InitiativeQuery = InitiativeQuery;
145250
+ exports.InitiativeToProject = InitiativeToProject;
145251
+ exports.InitiativeToProjectConnection = InitiativeToProjectConnection;
145252
+ exports.InitiativeToProjectPayload = InitiativeToProjectPayload;
145253
+ exports.InitiativeToProjectQuery = InitiativeToProjectQuery;
145254
+ exports.InitiativeToProjectsQuery = InitiativeToProjectsQuery;
145255
+ exports.Initiative_LinksQuery = Initiative_LinksQuery;
145256
+ exports.Initiative_ProjectsQuery = Initiative_ProjectsQuery;
145257
+ exports.InitiativesQuery = InitiativesQuery;
143135
145258
  exports.Integration = Integration;
143136
145259
  exports.IntegrationAsksConnectChannelMutation = IntegrationAsksConnectChannelMutation;
143137
145260
  exports.IntegrationConnection = IntegrationConnection;
143138
145261
  exports.IntegrationDiscordMutation = IntegrationDiscordMutation;
143139
145262
  exports.IntegrationFigmaMutation = IntegrationFigmaMutation;
143140
145263
  exports.IntegrationFrontMutation = IntegrationFrontMutation;
145264
+ exports.IntegrationGitHubEnterpriseServerConnectMutation = IntegrationGitHubEnterpriseServerConnectMutation;
143141
145265
  exports.IntegrationGitHubPersonalMutation = IntegrationGitHubPersonalMutation;
143142
145266
  exports.IntegrationGithubConnectMutation = IntegrationGithubConnectMutation;
143143
145267
  exports.IntegrationGithubImportConnectMutation = IntegrationGithubImportConnectMutation;
@@ -143482,6 +145606,7 @@ exports.TriageResponsibilityPayload = TriageResponsibilityPayload;
143482
145606
  exports.TriageResponsibilityQuery = TriageResponsibilityQuery;
143483
145607
  exports.TriageResponsibility_ManualSelectionQuery = TriageResponsibility_ManualSelectionQuery;
143484
145608
  exports.UnarchiveDocumentMutation = UnarchiveDocumentMutation;
145609
+ exports.UnarchiveInitiativeMutation = UnarchiveInitiativeMutation;
143485
145610
  exports.UnarchiveIssueMutation = UnarchiveIssueMutation;
143486
145611
  exports.UnarchiveNotificationMutation = UnarchiveNotificationMutation;
143487
145612
  exports.UnarchiveProjectMutation = UnarchiveProjectMutation;
@@ -143500,6 +145625,8 @@ exports.UpdateEntityExternalLinkMutation = UpdateEntityExternalLinkMutation;
143500
145625
  exports.UpdateFavoriteMutation = UpdateFavoriteMutation;
143501
145626
  exports.UpdateGitAutomationStateMutation = UpdateGitAutomationStateMutation;
143502
145627
  exports.UpdateGitAutomationTargetBranchMutation = UpdateGitAutomationTargetBranchMutation;
145628
+ exports.UpdateInitiativeMutation = UpdateInitiativeMutation;
145629
+ exports.UpdateInitiativeToProjectMutation = UpdateInitiativeToProjectMutation;
143503
145630
  exports.UpdateIntegrationIntercomSettingsMutation = UpdateIntegrationIntercomSettingsMutation;
143504
145631
  exports.UpdateIntegrationsSettingsMutation = UpdateIntegrationsSettingsMutation;
143505
145632
  exports.UpdateIssueBatchMutation = UpdateIssueBatchMutation;