@linear/sdk 22.0.0 → 23.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index-umd.js CHANGED
@@ -9,7 +9,7 @@
9
9
  var crypto__default = /*#__PURE__*/_interopDefaultLegacy(crypto);
10
10
 
11
11
  (function() {
12
- const env = {"npm_package_name":"@linear/sdk","npm_package_version":"22.0.0"};
12
+ const env = {"npm_package_name":"@linear/sdk","npm_package_version":"23.0.0"};
13
13
  try {
14
14
  if (process) {
15
15
  process.env = Object.assign({}, process.env);
@@ -1412,6 +1412,18 @@
1412
1412
  Day["Tuesday"] = "Tuesday";
1413
1413
  Day["Wednesday"] = "Wednesday";
1414
1414
  })(Day || (Day = {}));
1415
+ var FacetPageSource;
1416
+ (function (FacetPageSource) {
1417
+ FacetPageSource["Projects"] = "projects";
1418
+ })(FacetPageSource || (FacetPageSource = {}));
1419
+ /** The type of a feature flag rollout stage. */
1420
+ var FeatureFlagRolloutStageType;
1421
+ (function (FeatureFlagRolloutStageType) {
1422
+ FeatureFlagRolloutStageType["Dev"] = "dev";
1423
+ FeatureFlagRolloutStageType["Full"] = "full";
1424
+ FeatureFlagRolloutStageType["Internal"] = "internal";
1425
+ FeatureFlagRolloutStageType["Partial"] = "partial";
1426
+ })(FeatureFlagRolloutStageType || (FeatureFlagRolloutStageType = {}));
1415
1427
  /** The various states of a pull/merge request. */
1416
1428
  var GitAutomationStates;
1417
1429
  (function (GitAutomationStates) {
@@ -1451,6 +1463,7 @@
1451
1463
  IntegrationService["Intercom"] = "intercom";
1452
1464
  IntegrationService["Jira"] = "jira";
1453
1465
  IntegrationService["JiraPersonal"] = "jiraPersonal";
1466
+ IntegrationService["LaunchDarkly"] = "launchDarkly";
1454
1467
  IntegrationService["Loom"] = "loom";
1455
1468
  IntegrationService["Notion"] = "notion";
1456
1469
  IntegrationService["Opsgenie"] = "opsgenie";
@@ -1524,7 +1537,6 @@
1524
1537
  /** Different tabs available inside a project. */
1525
1538
  var ProjectTab;
1526
1539
  (function (ProjectTab) {
1527
- ProjectTab["Activity"] = "activity";
1528
1540
  ProjectTab["Documents"] = "documents";
1529
1541
  ProjectTab["Issues"] = "issues";
1530
1542
  })(ProjectTab || (ProjectTab = {}));
@@ -1580,7 +1592,6 @@
1580
1592
  SlaStatus["HighRisk"] = "HighRisk";
1581
1593
  SlaStatus["LowRisk"] = "LowRisk";
1582
1594
  SlaStatus["MediumRisk"] = "MediumRisk";
1583
- SlaStatus["Paused"] = "Paused";
1584
1595
  })(SlaStatus || (SlaStatus = {}));
1585
1596
  var SlackChannelType;
1586
1597
  (function (SlackChannelType) {
@@ -1679,12 +1690,11 @@
1679
1690
  ViewType["CustomRoadmap"] = "customRoadmap";
1680
1691
  ViewType["CustomView"] = "customView";
1681
1692
  ViewType["CustomViews"] = "customViews";
1682
- ViewType["CustomViewsPersonal"] = "customViewsPersonal";
1683
1693
  ViewType["Cycle"] = "cycle";
1684
1694
  ViewType["Inbox"] = "inbox";
1685
1695
  ViewType["Initiative"] = "initiative";
1696
+ ViewType["InitiativeOverview"] = "initiativeOverview";
1686
1697
  ViewType["Initiatives"] = "initiatives";
1687
- ViewType["InitiativesAll"] = "initiativesAll";
1688
1698
  ViewType["InitiativesCompleted"] = "initiativesCompleted";
1689
1699
  ViewType["InitiativesPlanned"] = "initiativesPlanned";
1690
1700
  ViewType["IssueIdentifiers"] = "issueIdentifiers";
@@ -2067,6 +2077,32 @@
2067
2077
  },
2068
2078
  ],
2069
2079
  };
2080
+ const DocumentArchivePayloadFragmentDoc = {
2081
+ kind: "Document",
2082
+ definitions: [
2083
+ {
2084
+ kind: "FragmentDefinition",
2085
+ name: { kind: "Name", value: "DocumentArchivePayload" },
2086
+ typeCondition: { kind: "NamedType", name: { kind: "Name", value: "DocumentArchivePayload" } },
2087
+ selectionSet: {
2088
+ kind: "SelectionSet",
2089
+ selections: [
2090
+ { kind: "Field", name: { kind: "Name", value: "__typename" } },
2091
+ {
2092
+ kind: "Field",
2093
+ name: { kind: "Name", value: "entity" },
2094
+ selectionSet: {
2095
+ kind: "SelectionSet",
2096
+ selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }],
2097
+ },
2098
+ },
2099
+ { kind: "Field", name: { kind: "Name", value: "lastSyncId" } },
2100
+ { kind: "Field", name: { kind: "Name", value: "success" } },
2101
+ ],
2102
+ },
2103
+ },
2104
+ ],
2105
+ };
2070
2106
  const InitiativeArchivePayloadFragmentDoc = {
2071
2107
  kind: "Document",
2072
2108
  definitions: [
@@ -2847,6 +2883,14 @@
2847
2883
  selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "DeletePayload" } }],
2848
2884
  },
2849
2885
  },
2886
+ {
2887
+ kind: "InlineFragment",
2888
+ typeCondition: { kind: "NamedType", name: { kind: "Name", value: "DocumentArchivePayload" } },
2889
+ selectionSet: {
2890
+ kind: "SelectionSet",
2891
+ selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "DocumentArchivePayload" } }],
2892
+ },
2893
+ },
2850
2894
  {
2851
2895
  kind: "InlineFragment",
2852
2896
  typeCondition: { kind: "NamedType", name: { kind: "Name", value: "InitiativeArchivePayload" } },
@@ -3484,6 +3528,26 @@
3484
3528
  },
3485
3529
  ],
3486
3530
  };
3531
+ const OrganizationIpRestrictionFragmentDoc = {
3532
+ kind: "Document",
3533
+ definitions: [
3534
+ {
3535
+ kind: "FragmentDefinition",
3536
+ name: { kind: "Name", value: "OrganizationIpRestriction" },
3537
+ typeCondition: { kind: "NamedType", name: { kind: "Name", value: "OrganizationIpRestriction" } },
3538
+ selectionSet: {
3539
+ kind: "SelectionSet",
3540
+ selections: [
3541
+ { kind: "Field", name: { kind: "Name", value: "__typename" } },
3542
+ { kind: "Field", name: { kind: "Name", value: "range" } },
3543
+ { kind: "Field", name: { kind: "Name", value: "description" } },
3544
+ { kind: "Field", name: { kind: "Name", value: "type" } },
3545
+ { kind: "Field", name: { kind: "Name", value: "enabled" } },
3546
+ ],
3547
+ },
3548
+ },
3549
+ ],
3550
+ };
3487
3551
  const ProjectStatusFragmentDoc = {
3488
3552
  kind: "Document",
3489
3553
  definitions: [
@@ -3559,6 +3623,14 @@
3559
3623
  { kind: "Field", name: { kind: "Name", value: "__typename" } },
3560
3624
  { kind: "Field", name: { kind: "Name", value: "allowedAuthServices" } },
3561
3625
  { kind: "Field", name: { kind: "Name", value: "gitBranchFormat" } },
3626
+ {
3627
+ kind: "Field",
3628
+ name: { kind: "Name", value: "ipRestrictions" },
3629
+ selectionSet: {
3630
+ kind: "SelectionSet",
3631
+ selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "OrganizationIpRestriction" } }],
3632
+ },
3633
+ },
3562
3634
  { kind: "Field", name: { kind: "Name", value: "userCount" } },
3563
3635
  { kind: "Field", name: { kind: "Name", value: "createdIssueCount" } },
3564
3636
  { kind: "Field", name: { kind: "Name", value: "previousUrlKeys" } },
@@ -4109,6 +4181,24 @@
4109
4181
  },
4110
4182
  ],
4111
4183
  };
4184
+ const LaunchDarklySettingsFragmentDoc = {
4185
+ kind: "Document",
4186
+ definitions: [
4187
+ {
4188
+ kind: "FragmentDefinition",
4189
+ name: { kind: "Name", value: "LaunchDarklySettings" },
4190
+ typeCondition: { kind: "NamedType", name: { kind: "Name", value: "LaunchDarklySettings" } },
4191
+ selectionSet: {
4192
+ kind: "SelectionSet",
4193
+ selections: [
4194
+ { kind: "Field", name: { kind: "Name", value: "__typename" } },
4195
+ { kind: "Field", name: { kind: "Name", value: "environment" } },
4196
+ { kind: "Field", name: { kind: "Name", value: "projectKey" } },
4197
+ ],
4198
+ },
4199
+ },
4200
+ ],
4201
+ };
4112
4202
  const NotionSettingsFragmentDoc = {
4113
4203
  kind: "Document",
4114
4204
  definitions: [
@@ -4409,6 +4499,14 @@
4409
4499
  selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "JiraPersonalSettings" } }],
4410
4500
  },
4411
4501
  },
4502
+ {
4503
+ kind: "Field",
4504
+ name: { kind: "Name", value: "launchDarkly" },
4505
+ selectionSet: {
4506
+ kind: "SelectionSet",
4507
+ selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "LaunchDarklySettings" } }],
4508
+ },
4509
+ },
4412
4510
  {
4413
4511
  kind: "Field",
4414
4512
  name: { kind: "Name", value: "notion" },
@@ -5263,6 +5361,24 @@
5263
5361
  },
5264
5362
  ],
5265
5363
  };
5364
+ const AuthOrganizationBucketNamePayloadFragmentDoc = {
5365
+ kind: "Document",
5366
+ definitions: [
5367
+ {
5368
+ kind: "FragmentDefinition",
5369
+ name: { kind: "Name", value: "AuthOrganizationBucketNamePayload" },
5370
+ typeCondition: { kind: "NamedType", name: { kind: "Name", value: "AuthOrganizationBucketNamePayload" } },
5371
+ selectionSet: {
5372
+ kind: "SelectionSet",
5373
+ selections: [
5374
+ { kind: "Field", name: { kind: "Name", value: "__typename" } },
5375
+ { kind: "Field", name: { kind: "Name", value: "importsBucketName" } },
5376
+ { kind: "Field", name: { kind: "Name", value: "uploadsBucketName" } },
5377
+ ],
5378
+ },
5379
+ },
5380
+ ],
5381
+ };
5266
5382
  const AuthOrganizationDomainFragmentDoc = {
5267
5383
  kind: "Document",
5268
5384
  definitions: [
@@ -5420,6 +5536,59 @@
5420
5536
  },
5421
5537
  ],
5422
5538
  };
5539
+ const ReactionFragmentDoc = {
5540
+ kind: "Document",
5541
+ definitions: [
5542
+ {
5543
+ kind: "FragmentDefinition",
5544
+ name: { kind: "Name", value: "Reaction" },
5545
+ typeCondition: { kind: "NamedType", name: { kind: "Name", value: "Reaction" } },
5546
+ selectionSet: {
5547
+ kind: "SelectionSet",
5548
+ selections: [
5549
+ { kind: "Field", name: { kind: "Name", value: "__typename" } },
5550
+ { kind: "Field", name: { kind: "Name", value: "emoji" } },
5551
+ {
5552
+ kind: "Field",
5553
+ name: { kind: "Name", value: "comment" },
5554
+ selectionSet: {
5555
+ kind: "SelectionSet",
5556
+ selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }],
5557
+ },
5558
+ },
5559
+ {
5560
+ kind: "Field",
5561
+ name: { kind: "Name", value: "issue" },
5562
+ selectionSet: {
5563
+ kind: "SelectionSet",
5564
+ selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }],
5565
+ },
5566
+ },
5567
+ { kind: "Field", name: { kind: "Name", value: "updatedAt" } },
5568
+ {
5569
+ kind: "Field",
5570
+ name: { kind: "Name", value: "projectUpdate" },
5571
+ selectionSet: {
5572
+ kind: "SelectionSet",
5573
+ selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }],
5574
+ },
5575
+ },
5576
+ { kind: "Field", name: { kind: "Name", value: "archivedAt" } },
5577
+ { kind: "Field", name: { kind: "Name", value: "createdAt" } },
5578
+ { kind: "Field", name: { kind: "Name", value: "id" } },
5579
+ {
5580
+ kind: "Field",
5581
+ name: { kind: "Name", value: "user" },
5582
+ selectionSet: {
5583
+ kind: "SelectionSet",
5584
+ selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }],
5585
+ },
5586
+ },
5587
+ ],
5588
+ },
5589
+ },
5590
+ ],
5591
+ };
5423
5592
  const CommentFragmentDoc = {
5424
5593
  kind: "Document",
5425
5594
  definitions: [
@@ -5433,6 +5602,14 @@
5433
5602
  { kind: "Field", name: { kind: "Name", value: "__typename" } },
5434
5603
  { kind: "Field", name: { kind: "Name", value: "url" } },
5435
5604
  { kind: "Field", name: { kind: "Name", value: "reactionData" } },
5605
+ {
5606
+ kind: "Field",
5607
+ name: { kind: "Name", value: "reactions" },
5608
+ selectionSet: {
5609
+ kind: "SelectionSet",
5610
+ selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "Reaction" } }],
5611
+ },
5612
+ },
5436
5613
  {
5437
5614
  kind: "Field",
5438
5615
  name: { kind: "Name", value: "botActor" },
@@ -6133,6 +6310,7 @@
6133
6310
  kind: "SelectionSet",
6134
6311
  selections: [
6135
6312
  { kind: "Field", name: { kind: "Name", value: "__typename" } },
6313
+ { kind: "Field", name: { kind: "Name", value: "trashed" } },
6136
6314
  { kind: "Field", name: { kind: "Name", value: "url" } },
6137
6315
  { kind: "Field", name: { kind: "Name", value: "color" } },
6138
6316
  { kind: "Field", name: { kind: "Name", value: "title" } },
@@ -6316,6 +6494,7 @@
6316
6494
  kind: "SelectionSet",
6317
6495
  selections: [
6318
6496
  { kind: "Field", name: { kind: "Name", value: "__typename" } },
6497
+ { kind: "Field", name: { kind: "Name", value: "trashed" } },
6319
6498
  { kind: "Field", name: { kind: "Name", value: "metadata" } },
6320
6499
  { kind: "Field", name: { kind: "Name", value: "url" } },
6321
6500
  { kind: "Field", name: { kind: "Name", value: "color" } },
@@ -6793,7 +6972,32 @@
6793
6972
  selections: [
6794
6973
  { kind: "Field", name: { kind: "Name", value: "__typename" } },
6795
6974
  { kind: "Field", name: { kind: "Name", value: "updatedAt" } },
6975
+ { kind: "Field", name: { kind: "Name", value: "sourcePage" } },
6976
+ {
6977
+ kind: "Field",
6978
+ name: { kind: "Name", value: "sourceProject" },
6979
+ selectionSet: {
6980
+ kind: "SelectionSet",
6981
+ selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }],
6982
+ },
6983
+ },
6984
+ {
6985
+ kind: "Field",
6986
+ name: { kind: "Name", value: "sourceTeam" },
6987
+ selectionSet: {
6988
+ kind: "SelectionSet",
6989
+ selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }],
6990
+ },
6991
+ },
6796
6992
  { kind: "Field", name: { kind: "Name", value: "sortOrder" } },
6993
+ {
6994
+ kind: "Field",
6995
+ name: { kind: "Name", value: "targetCustomView" },
6996
+ selectionSet: {
6997
+ kind: "SelectionSet",
6998
+ selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }],
6999
+ },
7000
+ },
6797
7001
  { kind: "Field", name: { kind: "Name", value: "archivedAt" } },
6798
7002
  { kind: "Field", name: { kind: "Name", value: "createdAt" } },
6799
7003
  { kind: "Field", name: { kind: "Name", value: "id" } },
@@ -7013,6 +7217,177 @@
7013
7217
  },
7014
7218
  ],
7015
7219
  };
7220
+ const FeatureFlagRolloutStageFragmentDoc = {
7221
+ kind: "Document",
7222
+ definitions: [
7223
+ {
7224
+ kind: "FragmentDefinition",
7225
+ name: { kind: "Name", value: "FeatureFlagRolloutStage" },
7226
+ typeCondition: { kind: "NamedType", name: { kind: "Name", value: "FeatureFlagRolloutStage" } },
7227
+ selectionSet: {
7228
+ kind: "SelectionSet",
7229
+ selections: [
7230
+ { kind: "Field", name: { kind: "Name", value: "__typename" } },
7231
+ { kind: "Field", name: { kind: "Name", value: "description" } },
7232
+ {
7233
+ kind: "Field",
7234
+ name: { kind: "Name", value: "integration" },
7235
+ selectionSet: {
7236
+ kind: "SelectionSet",
7237
+ selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }],
7238
+ },
7239
+ },
7240
+ { kind: "Field", name: { kind: "Name", value: "updatedAt" } },
7241
+ { kind: "Field", name: { kind: "Name", value: "name" } },
7242
+ { kind: "Field", name: { kind: "Name", value: "sortOrder" } },
7243
+ { kind: "Field", name: { kind: "Name", value: "archivedAt" } },
7244
+ { kind: "Field", name: { kind: "Name", value: "createdAt" } },
7245
+ { kind: "Field", name: { kind: "Name", value: "type" } },
7246
+ { kind: "Field", name: { kind: "Name", value: "id" } },
7247
+ { kind: "Field", name: { kind: "Name", value: "segmentKeys" } },
7248
+ ],
7249
+ },
7250
+ },
7251
+ ],
7252
+ };
7253
+ const FeatureFlagFragmentDoc = {
7254
+ kind: "Document",
7255
+ definitions: [
7256
+ {
7257
+ kind: "FragmentDefinition",
7258
+ name: { kind: "Name", value: "FeatureFlag" },
7259
+ typeCondition: { kind: "NamedType", name: { kind: "Name", value: "FeatureFlag" } },
7260
+ selectionSet: {
7261
+ kind: "SelectionSet",
7262
+ selections: [
7263
+ { kind: "Field", name: { kind: "Name", value: "__typename" } },
7264
+ { kind: "Field", name: { kind: "Name", value: "description" } },
7265
+ { kind: "Field", name: { kind: "Name", value: "lastStageUpdatedAt" } },
7266
+ {
7267
+ kind: "Field",
7268
+ name: { kind: "Name", value: "integration" },
7269
+ selectionSet: {
7270
+ kind: "SelectionSet",
7271
+ selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }],
7272
+ },
7273
+ },
7274
+ { kind: "Field", name: { kind: "Name", value: "updatedAt" } },
7275
+ {
7276
+ kind: "Field",
7277
+ name: { kind: "Name", value: "pendingRolloutStage" },
7278
+ selectionSet: {
7279
+ kind: "SelectionSet",
7280
+ selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "FeatureFlagRolloutStage" } }],
7281
+ },
7282
+ },
7283
+ {
7284
+ kind: "Field",
7285
+ name: { kind: "Name", value: "project" },
7286
+ selectionSet: {
7287
+ kind: "SelectionSet",
7288
+ selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }],
7289
+ },
7290
+ },
7291
+ {
7292
+ kind: "Field",
7293
+ name: { kind: "Name", value: "rolloutStage" },
7294
+ selectionSet: {
7295
+ kind: "SelectionSet",
7296
+ selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "FeatureFlagRolloutStage" } }],
7297
+ },
7298
+ },
7299
+ { kind: "Field", name: { kind: "Name", value: "status" } },
7300
+ { kind: "Field", name: { kind: "Name", value: "archivedAt" } },
7301
+ { kind: "Field", name: { kind: "Name", value: "createdAt" } },
7302
+ { kind: "Field", name: { kind: "Name", value: "id" } },
7303
+ { kind: "Field", name: { kind: "Name", value: "key" } },
7304
+ {
7305
+ kind: "Field",
7306
+ name: { kind: "Name", value: "creator" },
7307
+ selectionSet: {
7308
+ kind: "SelectionSet",
7309
+ selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }],
7310
+ },
7311
+ },
7312
+ {
7313
+ kind: "Field",
7314
+ name: { kind: "Name", value: "lastStageUpdatedBy" },
7315
+ selectionSet: {
7316
+ kind: "SelectionSet",
7317
+ selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }],
7318
+ },
7319
+ },
7320
+ { kind: "Field", name: { kind: "Name", value: "externalUrl" } },
7321
+ { kind: "Field", name: { kind: "Name", value: "isEnabled" } },
7322
+ ],
7323
+ },
7324
+ },
7325
+ ],
7326
+ };
7327
+ const FeatureFlagConnectionFragmentDoc = {
7328
+ kind: "Document",
7329
+ definitions: [
7330
+ {
7331
+ kind: "FragmentDefinition",
7332
+ name: { kind: "Name", value: "FeatureFlagConnection" },
7333
+ typeCondition: { kind: "NamedType", name: { kind: "Name", value: "FeatureFlagConnection" } },
7334
+ selectionSet: {
7335
+ kind: "SelectionSet",
7336
+ selections: [
7337
+ { kind: "Field", name: { kind: "Name", value: "__typename" } },
7338
+ {
7339
+ kind: "Field",
7340
+ name: { kind: "Name", value: "nodes" },
7341
+ selectionSet: {
7342
+ kind: "SelectionSet",
7343
+ selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "FeatureFlag" } }],
7344
+ },
7345
+ },
7346
+ {
7347
+ kind: "Field",
7348
+ name: { kind: "Name", value: "pageInfo" },
7349
+ selectionSet: {
7350
+ kind: "SelectionSet",
7351
+ selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "PageInfo" } }],
7352
+ },
7353
+ },
7354
+ ],
7355
+ },
7356
+ },
7357
+ ],
7358
+ };
7359
+ const FeatureFlagRolloutStageConnectionFragmentDoc = {
7360
+ kind: "Document",
7361
+ definitions: [
7362
+ {
7363
+ kind: "FragmentDefinition",
7364
+ name: { kind: "Name", value: "FeatureFlagRolloutStageConnection" },
7365
+ typeCondition: { kind: "NamedType", name: { kind: "Name", value: "FeatureFlagRolloutStageConnection" } },
7366
+ selectionSet: {
7367
+ kind: "SelectionSet",
7368
+ selections: [
7369
+ { kind: "Field", name: { kind: "Name", value: "__typename" } },
7370
+ {
7371
+ kind: "Field",
7372
+ name: { kind: "Name", value: "nodes" },
7373
+ selectionSet: {
7374
+ kind: "SelectionSet",
7375
+ selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "FeatureFlagRolloutStage" } }],
7376
+ },
7377
+ },
7378
+ {
7379
+ kind: "Field",
7380
+ name: { kind: "Name", value: "pageInfo" },
7381
+ selectionSet: {
7382
+ kind: "SelectionSet",
7383
+ selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "PageInfo" } }],
7384
+ },
7385
+ },
7386
+ ],
7387
+ },
7388
+ },
7389
+ ],
7390
+ };
7016
7391
  const FrontAttachmentPayloadFragmentDoc = {
7017
7392
  kind: "Document",
7018
7393
  definitions: [
@@ -7499,6 +7874,7 @@
7499
7874
  { kind: "Field", name: { kind: "Name", value: "slackProjectUpdateCreated" } },
7500
7875
  { kind: "Field", name: { kind: "Name", value: "slackIssueSlaHighRisk" } },
7501
7876
  { kind: "Field", name: { kind: "Name", value: "slackIssueSlaBreached" } },
7877
+ { kind: "Field", name: { kind: "Name", value: "slackIssueAddedToView" } },
7502
7878
  { kind: "Field", name: { kind: "Name", value: "slackIssueStatusChangedDone" } },
7503
7879
  { kind: "Field", name: { kind: "Name", value: "slackIssueStatusChangedAll" } },
7504
7880
  { kind: "Field", name: { kind: "Name", value: "slackProjectUpdateCreatedToTeam" } },
@@ -7578,12 +7954,21 @@
7578
7954
  selections: [
7579
7955
  { kind: "Field", name: { kind: "Name", value: "__typename" } },
7580
7956
  { kind: "Field", name: { kind: "Name", value: "trashed" } },
7957
+ { kind: "Field", name: { kind: "Name", value: "reactionData" } },
7581
7958
  { kind: "Field", name: { kind: "Name", value: "labelIds" } },
7582
7959
  { kind: "Field", name: { kind: "Name", value: "integrationSourceType" } },
7583
7960
  { kind: "Field", name: { kind: "Name", value: "url" } },
7584
7961
  { kind: "Field", name: { kind: "Name", value: "identifier" } },
7585
7962
  { kind: "Field", name: { kind: "Name", value: "priorityLabel" } },
7586
7963
  { kind: "Field", name: { kind: "Name", value: "previousIdentifiers" } },
7964
+ {
7965
+ kind: "Field",
7966
+ name: { kind: "Name", value: "reactions" },
7967
+ selectionSet: {
7968
+ kind: "SelectionSet",
7969
+ selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "Reaction" } }],
7970
+ },
7971
+ },
7587
7972
  { kind: "Field", name: { kind: "Name", value: "customerTicketCount" } },
7588
7973
  { kind: "Field", name: { kind: "Name", value: "branchName" } },
7589
7974
  {
@@ -7957,6 +8342,14 @@
7957
8342
  },
7958
8343
  { kind: "Field", name: { kind: "Name", value: "addedLabelIds" } },
7959
8344
  { kind: "Field", name: { kind: "Name", value: "removedLabelIds" } },
8345
+ {
8346
+ kind: "Field",
8347
+ name: { kind: "Name", value: "actor" },
8348
+ selectionSet: {
8349
+ kind: "SelectionSet",
8350
+ selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }],
8351
+ },
8352
+ },
7960
8353
  {
7961
8354
  kind: "Field",
7962
8355
  name: { kind: "Name", value: "actors" },
@@ -7973,6 +8366,22 @@
7973
8366
  selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "ActorBot" } }],
7974
8367
  },
7975
8368
  },
8369
+ {
8370
+ kind: "Field",
8371
+ name: { kind: "Name", value: "fromCycle" },
8372
+ selectionSet: {
8373
+ kind: "SelectionSet",
8374
+ selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }],
8375
+ },
8376
+ },
8377
+ {
8378
+ kind: "Field",
8379
+ name: { kind: "Name", value: "toCycle" },
8380
+ selectionSet: {
8381
+ kind: "SelectionSet",
8382
+ selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }],
8383
+ },
8384
+ },
7976
8385
  { kind: "Field", name: { kind: "Name", value: "attachmentId" } },
7977
8386
  { kind: "Field", name: { kind: "Name", value: "toCycleId" } },
7978
8387
  { kind: "Field", name: { kind: "Name", value: "toParentId" } },
@@ -8029,22 +8438,6 @@
8029
8438
  selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }],
8030
8439
  },
8031
8440
  },
8032
- {
8033
- kind: "Field",
8034
- name: { kind: "Name", value: "toCycle" },
8035
- selectionSet: {
8036
- kind: "SelectionSet",
8037
- selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }],
8038
- },
8039
- },
8040
- {
8041
- kind: "Field",
8042
- name: { kind: "Name", value: "toParent" },
8043
- selectionSet: {
8044
- kind: "SelectionSet",
8045
- selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }],
8046
- },
8047
- },
8048
8441
  {
8049
8442
  kind: "Field",
8050
8443
  name: { kind: "Name", value: "toConvertedProject" },
@@ -8055,7 +8448,7 @@
8055
8448
  },
8056
8449
  {
8057
8450
  kind: "Field",
8058
- name: { kind: "Name", value: "toProject" },
8451
+ name: { kind: "Name", value: "fromParent" },
8059
8452
  selectionSet: {
8060
8453
  kind: "SelectionSet",
8061
8454
  selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }],
@@ -8063,7 +8456,7 @@
8063
8456
  },
8064
8457
  {
8065
8458
  kind: "Field",
8066
- name: { kind: "Name", value: "toState" },
8459
+ name: { kind: "Name", value: "toParent" },
8067
8460
  selectionSet: {
8068
8461
  kind: "SelectionSet",
8069
8462
  selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }],
@@ -8071,7 +8464,7 @@
8071
8464
  },
8072
8465
  {
8073
8466
  kind: "Field",
8074
- name: { kind: "Name", value: "fromCycle" },
8467
+ name: { kind: "Name", value: "fromProject" },
8075
8468
  selectionSet: {
8076
8469
  kind: "SelectionSet",
8077
8470
  selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }],
@@ -8079,7 +8472,7 @@
8079
8472
  },
8080
8473
  {
8081
8474
  kind: "Field",
8082
- name: { kind: "Name", value: "fromParent" },
8475
+ name: { kind: "Name", value: "toProject" },
8083
8476
  selectionSet: {
8084
8477
  kind: "SelectionSet",
8085
8478
  selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }],
@@ -8087,7 +8480,7 @@
8087
8480
  },
8088
8481
  {
8089
8482
  kind: "Field",
8090
- name: { kind: "Name", value: "fromProject" },
8483
+ name: { kind: "Name", value: "fromState" },
8091
8484
  selectionSet: {
8092
8485
  kind: "SelectionSet",
8093
8486
  selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }],
@@ -8095,7 +8488,7 @@
8095
8488
  },
8096
8489
  {
8097
8490
  kind: "Field",
8098
- name: { kind: "Name", value: "fromState" },
8491
+ name: { kind: "Name", value: "toState" },
8099
8492
  selectionSet: {
8100
8493
  kind: "SelectionSet",
8101
8494
  selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }],
@@ -8120,14 +8513,6 @@
8120
8513
  { kind: "Field", name: { kind: "Name", value: "archivedAt" } },
8121
8514
  { kind: "Field", name: { kind: "Name", value: "createdAt" } },
8122
8515
  { kind: "Field", name: { kind: "Name", value: "id" } },
8123
- {
8124
- kind: "Field",
8125
- name: { kind: "Name", value: "fromAssignee" },
8126
- selectionSet: {
8127
- kind: "SelectionSet",
8128
- selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }],
8129
- },
8130
- },
8131
8516
  {
8132
8517
  kind: "Field",
8133
8518
  name: { kind: "Name", value: "toAssignee" },
@@ -8138,7 +8523,7 @@
8138
8523
  },
8139
8524
  {
8140
8525
  kind: "Field",
8141
- name: { kind: "Name", value: "actor" },
8526
+ name: { kind: "Name", value: "fromAssignee" },
8142
8527
  selectionSet: {
8143
8528
  kind: "SelectionSet",
8144
8529
  selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }],
@@ -8480,6 +8865,7 @@
8480
8865
  selections: [
8481
8866
  { kind: "Field", name: { kind: "Name", value: "__typename" } },
8482
8867
  { kind: "Field", name: { kind: "Name", value: "trashed" } },
8868
+ { kind: "Field", name: { kind: "Name", value: "reactionData" } },
8483
8869
  { kind: "Field", name: { kind: "Name", value: "labelIds" } },
8484
8870
  { kind: "Field", name: { kind: "Name", value: "integrationSourceType" } },
8485
8871
  { kind: "Field", name: { kind: "Name", value: "url" } },
@@ -8487,6 +8873,14 @@
8487
8873
  { kind: "Field", name: { kind: "Name", value: "priorityLabel" } },
8488
8874
  { kind: "Field", name: { kind: "Name", value: "metadata" } },
8489
8875
  { kind: "Field", name: { kind: "Name", value: "previousIdentifiers" } },
8876
+ {
8877
+ kind: "Field",
8878
+ name: { kind: "Name", value: "reactions" },
8879
+ selectionSet: {
8880
+ kind: "SelectionSet",
8881
+ selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "Reaction" } }],
8882
+ },
8883
+ },
8490
8884
  { kind: "Field", name: { kind: "Name", value: "customerTicketCount" } },
8491
8885
  { kind: "Field", name: { kind: "Name", value: "branchName" } },
8492
8886
  {
@@ -9395,24 +9789,6 @@
9395
9789
  },
9396
9790
  ],
9397
9791
  };
9398
- const ProjectDetailSuggestionPayloadFragmentDoc = {
9399
- kind: "Document",
9400
- definitions: [
9401
- {
9402
- kind: "FragmentDefinition",
9403
- name: { kind: "Name", value: "ProjectDetailSuggestionPayload" },
9404
- typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ProjectDetailSuggestionPayload" } },
9405
- selectionSet: {
9406
- kind: "SelectionSet",
9407
- selections: [
9408
- { kind: "Field", name: { kind: "Name", value: "__typename" } },
9409
- { kind: "Field", name: { kind: "Name", value: "color" } },
9410
- { kind: "Field", name: { kind: "Name", value: "icon" } },
9411
- ],
9412
- },
9413
- },
9414
- ],
9415
- };
9416
9792
  const ProjectFilterSuggestionPayloadFragmentDoc = {
9417
9793
  kind: "Document",
9418
9794
  definitions: [
@@ -9977,6 +10353,14 @@
9977
10353
  selections: [
9978
10354
  { kind: "Field", name: { kind: "Name", value: "__typename" } },
9979
10355
  { kind: "Field", name: { kind: "Name", value: "reactionData" } },
10356
+ {
10357
+ kind: "Field",
10358
+ name: { kind: "Name", value: "reactions" },
10359
+ selectionSet: {
10360
+ kind: "SelectionSet",
10361
+ selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "Reaction" } }],
10362
+ },
10363
+ },
9980
10364
  { kind: "Field", name: { kind: "Name", value: "url" } },
9981
10365
  { kind: "Field", name: { kind: "Name", value: "diffMarkdown" } },
9982
10366
  { kind: "Field", name: { kind: "Name", value: "diff" } },
@@ -10357,59 +10741,6 @@
10357
10741
  },
10358
10742
  ],
10359
10743
  };
10360
- const ReactionFragmentDoc = {
10361
- kind: "Document",
10362
- definitions: [
10363
- {
10364
- kind: "FragmentDefinition",
10365
- name: { kind: "Name", value: "Reaction" },
10366
- typeCondition: { kind: "NamedType", name: { kind: "Name", value: "Reaction" } },
10367
- selectionSet: {
10368
- kind: "SelectionSet",
10369
- selections: [
10370
- { kind: "Field", name: { kind: "Name", value: "__typename" } },
10371
- { kind: "Field", name: { kind: "Name", value: "emoji" } },
10372
- {
10373
- kind: "Field",
10374
- name: { kind: "Name", value: "comment" },
10375
- selectionSet: {
10376
- kind: "SelectionSet",
10377
- selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }],
10378
- },
10379
- },
10380
- {
10381
- kind: "Field",
10382
- name: { kind: "Name", value: "issue" },
10383
- selectionSet: {
10384
- kind: "SelectionSet",
10385
- selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }],
10386
- },
10387
- },
10388
- { kind: "Field", name: { kind: "Name", value: "updatedAt" } },
10389
- {
10390
- kind: "Field",
10391
- name: { kind: "Name", value: "projectUpdate" },
10392
- selectionSet: {
10393
- kind: "SelectionSet",
10394
- selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }],
10395
- },
10396
- },
10397
- { kind: "Field", name: { kind: "Name", value: "archivedAt" } },
10398
- { kind: "Field", name: { kind: "Name", value: "createdAt" } },
10399
- { kind: "Field", name: { kind: "Name", value: "id" } },
10400
- {
10401
- kind: "Field",
10402
- name: { kind: "Name", value: "user" },
10403
- selectionSet: {
10404
- kind: "SelectionSet",
10405
- selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }],
10406
- },
10407
- },
10408
- ],
10409
- },
10410
- },
10411
- ],
10412
- };
10413
10744
  const ReactionConnectionFragmentDoc = {
10414
10745
  kind: "Document",
10415
10746
  definitions: [
@@ -12431,6 +12762,7 @@
12431
12762
  },
12432
12763
  },
12433
12764
  ...IssueFragmentDoc.definitions,
12765
+ ...ReactionFragmentDoc.definitions,
12434
12766
  ...ActorBotFragmentDoc.definitions,
12435
12767
  ],
12436
12768
  };
@@ -12720,6 +13052,7 @@
12720
13052
  },
12721
13053
  ...IssueConnectionFragmentDoc.definitions,
12722
13054
  ...IssueFragmentDoc.definitions,
13055
+ ...ReactionFragmentDoc.definitions,
12723
13056
  ...ActorBotFragmentDoc.definitions,
12724
13057
  ...PageInfoFragmentDoc.definitions,
12725
13058
  ],
@@ -12842,6 +13175,7 @@
12842
13175
  },
12843
13176
  ...CommentConnectionFragmentDoc.definitions,
12844
13177
  ...CommentFragmentDoc.definitions,
13178
+ ...ReactionFragmentDoc.definitions,
12845
13179
  ...ActorBotFragmentDoc.definitions,
12846
13180
  ...DocumentContentFragmentDoc.definitions,
12847
13181
  ...PageInfoFragmentDoc.definitions,
@@ -13867,6 +14201,7 @@
13867
14201
  },
13868
14202
  },
13869
14203
  ...CommentFragmentDoc.definitions,
14204
+ ...ReactionFragmentDoc.definitions,
13870
14205
  ...ActorBotFragmentDoc.definitions,
13871
14206
  ...DocumentContentFragmentDoc.definitions,
13872
14207
  ],
@@ -14076,6 +14411,7 @@
14076
14411
  },
14077
14412
  ...CommentConnectionFragmentDoc.definitions,
14078
14413
  ...CommentFragmentDoc.definitions,
14414
+ ...ReactionFragmentDoc.definitions,
14079
14415
  ...ActorBotFragmentDoc.definitions,
14080
14416
  ...DocumentContentFragmentDoc.definitions,
14081
14417
  ...PageInfoFragmentDoc.definitions,
@@ -14245,6 +14581,7 @@
14245
14581
  },
14246
14582
  ...CommentConnectionFragmentDoc.definitions,
14247
14583
  ...CommentFragmentDoc.definitions,
14584
+ ...ReactionFragmentDoc.definitions,
14248
14585
  ...ActorBotFragmentDoc.definitions,
14249
14586
  ...DocumentContentFragmentDoc.definitions,
14250
14587
  ...PageInfoFragmentDoc.definitions,
@@ -14421,6 +14758,7 @@
14421
14758
  },
14422
14759
  ...IssueConnectionFragmentDoc.definitions,
14423
14760
  ...IssueFragmentDoc.definitions,
14761
+ ...ReactionFragmentDoc.definitions,
14424
14762
  ...ActorBotFragmentDoc.definitions,
14425
14763
  ...PageInfoFragmentDoc.definitions,
14426
14764
  ],
@@ -15094,6 +15432,7 @@
15094
15432
  },
15095
15433
  ...IssueConnectionFragmentDoc.definitions,
15096
15434
  ...IssueFragmentDoc.definitions,
15435
+ ...ReactionFragmentDoc.definitions,
15097
15436
  ...ActorBotFragmentDoc.definitions,
15098
15437
  ...PageInfoFragmentDoc.definitions,
15099
15438
  ],
@@ -15216,6 +15555,7 @@
15216
15555
  },
15217
15556
  ...IssueConnectionFragmentDoc.definitions,
15218
15557
  ...IssueFragmentDoc.definitions,
15558
+ ...ReactionFragmentDoc.definitions,
15219
15559
  ...ActorBotFragmentDoc.definitions,
15220
15560
  ...PageInfoFragmentDoc.definitions,
15221
15561
  ],
@@ -16452,6 +16792,7 @@
16452
16792
  },
16453
16793
  },
16454
16794
  ...IssueFragmentDoc.definitions,
16795
+ ...ReactionFragmentDoc.definitions,
16455
16796
  ...ActorBotFragmentDoc.definitions,
16456
16797
  ],
16457
16798
  };
@@ -16741,6 +17082,7 @@
16741
17082
  },
16742
17083
  ...IssueConnectionFragmentDoc.definitions,
16743
17084
  ...IssueFragmentDoc.definitions,
17085
+ ...ReactionFragmentDoc.definitions,
16744
17086
  ...ActorBotFragmentDoc.definitions,
16745
17087
  ...PageInfoFragmentDoc.definitions,
16746
17088
  ],
@@ -16863,6 +17205,7 @@
16863
17205
  },
16864
17206
  ...CommentConnectionFragmentDoc.definitions,
16865
17207
  ...CommentFragmentDoc.definitions,
17208
+ ...ReactionFragmentDoc.definitions,
16866
17209
  ...ActorBotFragmentDoc.definitions,
16867
17210
  ...DocumentContentFragmentDoc.definitions,
16868
17211
  ...PageInfoFragmentDoc.definitions,
@@ -17555,6 +17898,7 @@
17555
17898
  },
17556
17899
  ...IssueConnectionFragmentDoc.definitions,
17557
17900
  ...IssueFragmentDoc.definitions,
17901
+ ...ReactionFragmentDoc.definitions,
17558
17902
  ...ActorBotFragmentDoc.definitions,
17559
17903
  ...PageInfoFragmentDoc.definitions,
17560
17904
  ],
@@ -17970,6 +18314,7 @@
17970
18314
  },
17971
18315
  ...IssueConnectionFragmentDoc.definitions,
17972
18316
  ...IssueFragmentDoc.definitions,
18317
+ ...ReactionFragmentDoc.definitions,
17973
18318
  ...ActorBotFragmentDoc.definitions,
17974
18319
  ...PageInfoFragmentDoc.definitions,
17975
18320
  ],
@@ -18333,6 +18678,7 @@
18333
18678
  },
18334
18679
  ...IssueConnectionFragmentDoc.definitions,
18335
18680
  ...IssueFragmentDoc.definitions,
18681
+ ...ReactionFragmentDoc.definitions,
18336
18682
  ...ActorBotFragmentDoc.definitions,
18337
18683
  ...PageInfoFragmentDoc.definitions,
18338
18684
  ],
@@ -18373,6 +18719,7 @@
18373
18719
  },
18374
18720
  },
18375
18721
  ...IssueFragmentDoc.definitions,
18722
+ ...ReactionFragmentDoc.definitions,
18376
18723
  ...ActorBotFragmentDoc.definitions,
18377
18724
  ],
18378
18725
  };
@@ -18662,6 +19009,7 @@
18662
19009
  },
18663
19010
  ...IssueConnectionFragmentDoc.definitions,
18664
19011
  ...IssueFragmentDoc.definitions,
19012
+ ...ReactionFragmentDoc.definitions,
18665
19013
  ...ActorBotFragmentDoc.definitions,
18666
19014
  ...PageInfoFragmentDoc.definitions,
18667
19015
  ],
@@ -18784,6 +19132,7 @@
18784
19132
  },
18785
19133
  ...CommentConnectionFragmentDoc.definitions,
18786
19134
  ...CommentFragmentDoc.definitions,
19135
+ ...ReactionFragmentDoc.definitions,
18787
19136
  ...ActorBotFragmentDoc.definitions,
18788
19137
  ...DocumentContentFragmentDoc.definitions,
18789
19138
  ...PageInfoFragmentDoc.definitions,
@@ -19489,6 +19838,7 @@
19489
19838
  },
19490
19839
  ...IssueConnectionFragmentDoc.definitions,
19491
19840
  ...IssueFragmentDoc.definitions,
19841
+ ...ReactionFragmentDoc.definitions,
19492
19842
  ...ActorBotFragmentDoc.definitions,
19493
19843
  ...PageInfoFragmentDoc.definitions,
19494
19844
  ],
@@ -19789,6 +20139,7 @@
19789
20139
  },
19790
20140
  },
19791
20141
  ...OrganizationFragmentDoc.definitions,
20142
+ ...OrganizationIpRestrictionFragmentDoc.definitions,
19792
20143
  ...ProjectStatusFragmentDoc.definitions,
19793
20144
  ...PaidSubscriptionFragmentDoc.definitions,
19794
20145
  ],
@@ -20795,6 +21146,7 @@
20795
21146
  },
20796
21147
  ...IssueConnectionFragmentDoc.definitions,
20797
21148
  ...IssueFragmentDoc.definitions,
21149
+ ...ReactionFragmentDoc.definitions,
20798
21150
  ...ActorBotFragmentDoc.definitions,
20799
21151
  ...PageInfoFragmentDoc.definitions,
20800
21152
  ],
@@ -21272,6 +21624,7 @@
21272
21624
  },
21273
21625
  ...ProjectUpdateConnectionFragmentDoc.definitions,
21274
21626
  ...ProjectUpdateFragmentDoc.definitions,
21627
+ ...ReactionFragmentDoc.definitions,
21275
21628
  ...PageInfoFragmentDoc.definitions,
21276
21629
  ],
21277
21630
  };
@@ -21765,6 +22118,7 @@
21765
22118
  },
21766
22119
  ...IssueConnectionFragmentDoc.definitions,
21767
22120
  ...IssueFragmentDoc.definitions,
22121
+ ...ReactionFragmentDoc.definitions,
21768
22122
  ...ActorBotFragmentDoc.definitions,
21769
22123
  ...PageInfoFragmentDoc.definitions,
21770
22124
  ],
@@ -22033,6 +22387,7 @@
22033
22387
  },
22034
22388
  },
22035
22389
  ...ProjectUpdateFragmentDoc.definitions,
22390
+ ...ReactionFragmentDoc.definitions,
22036
22391
  ],
22037
22392
  };
22038
22393
  const ProjectUpdate_CommentsDocument = {
@@ -22153,6 +22508,7 @@
22153
22508
  },
22154
22509
  ...CommentConnectionFragmentDoc.definitions,
22155
22510
  ...CommentFragmentDoc.definitions,
22511
+ ...ReactionFragmentDoc.definitions,
22156
22512
  ...ActorBotFragmentDoc.definitions,
22157
22513
  ...DocumentContentFragmentDoc.definitions,
22158
22514
  ...PageInfoFragmentDoc.definitions,
@@ -22385,6 +22741,7 @@
22385
22741
  },
22386
22742
  ...ProjectUpdateConnectionFragmentDoc.definitions,
22387
22743
  ...ProjectUpdateFragmentDoc.definitions,
22744
+ ...ReactionFragmentDoc.definitions,
22388
22745
  ...PageInfoFragmentDoc.definitions,
22389
22746
  ],
22390
22747
  };
@@ -23346,6 +23703,7 @@
23346
23703
  ...IssueSearchPayloadFragmentDoc.definitions,
23347
23704
  ...ArchiveResponseFragmentDoc.definitions,
23348
23705
  ...IssueSearchResultFragmentDoc.definitions,
23706
+ ...ReactionFragmentDoc.definitions,
23349
23707
  ...ActorBotFragmentDoc.definitions,
23350
23708
  ...PageInfoFragmentDoc.definitions,
23351
23709
  ],
@@ -24205,6 +24563,7 @@
24205
24563
  },
24206
24564
  ...IssueConnectionFragmentDoc.definitions,
24207
24565
  ...IssueFragmentDoc.definitions,
24566
+ ...ReactionFragmentDoc.definitions,
24208
24567
  ...ActorBotFragmentDoc.definitions,
24209
24568
  ...PageInfoFragmentDoc.definitions,
24210
24569
  ],
@@ -25830,6 +26189,7 @@
25830
26189
  },
25831
26190
  ...IssueConnectionFragmentDoc.definitions,
25832
26191
  ...IssueFragmentDoc.definitions,
26192
+ ...ReactionFragmentDoc.definitions,
25833
26193
  ...ActorBotFragmentDoc.definitions,
25834
26194
  ...PageInfoFragmentDoc.definitions,
25835
26195
  ],
@@ -25952,6 +26312,7 @@
25952
26312
  },
25953
26313
  ...IssueConnectionFragmentDoc.definitions,
25954
26314
  ...IssueFragmentDoc.definitions,
26315
+ ...ReactionFragmentDoc.definitions,
25955
26316
  ...ActorBotFragmentDoc.definitions,
25956
26317
  ...PageInfoFragmentDoc.definitions,
25957
26318
  ],
@@ -27055,6 +27416,7 @@
27055
27416
  },
27056
27417
  ...IssueConnectionFragmentDoc.definitions,
27057
27418
  ...IssueFragmentDoc.definitions,
27419
+ ...ReactionFragmentDoc.definitions,
27058
27420
  ...ActorBotFragmentDoc.definitions,
27059
27421
  ...PageInfoFragmentDoc.definitions,
27060
27422
  ],
@@ -27165,6 +27527,7 @@
27165
27527
  },
27166
27528
  ...IssueConnectionFragmentDoc.definitions,
27167
27529
  ...IssueFragmentDoc.definitions,
27530
+ ...ReactionFragmentDoc.definitions,
27168
27531
  ...ActorBotFragmentDoc.definitions,
27169
27532
  ...PageInfoFragmentDoc.definitions,
27170
27533
  ],
@@ -27661,6 +28024,7 @@
27661
28024
  },
27662
28025
  ...IssueConnectionFragmentDoc.definitions,
27663
28026
  ...IssueFragmentDoc.definitions,
28027
+ ...ReactionFragmentDoc.definitions,
27664
28028
  ...ActorBotFragmentDoc.definitions,
27665
28029
  ...PageInfoFragmentDoc.definitions,
27666
28030
  ],
@@ -29858,13 +30222,51 @@
29858
30222
  ],
29859
30223
  selectionSet: {
29860
30224
  kind: "SelectionSet",
29861
- selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "DeletePayload" } }],
30225
+ selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "DocumentArchivePayload" } }],
29862
30226
  },
29863
30227
  },
29864
30228
  ],
29865
30229
  },
29866
30230
  },
29867
- ...DeletePayloadFragmentDoc.definitions,
30231
+ ...DocumentArchivePayloadFragmentDoc.definitions,
30232
+ ],
30233
+ };
30234
+ const UnarchiveDocumentDocument = {
30235
+ kind: "Document",
30236
+ definitions: [
30237
+ {
30238
+ kind: "OperationDefinition",
30239
+ operation: "mutation",
30240
+ name: { kind: "Name", value: "unarchiveDocument" },
30241
+ variableDefinitions: [
30242
+ {
30243
+ kind: "VariableDefinition",
30244
+ variable: { kind: "Variable", name: { kind: "Name", value: "id" } },
30245
+ type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "String" } } },
30246
+ },
30247
+ ],
30248
+ selectionSet: {
30249
+ kind: "SelectionSet",
30250
+ selections: [
30251
+ {
30252
+ kind: "Field",
30253
+ name: { kind: "Name", value: "documentUnarchive" },
30254
+ arguments: [
30255
+ {
30256
+ kind: "Argument",
30257
+ name: { kind: "Name", value: "id" },
30258
+ value: { kind: "Variable", name: { kind: "Name", value: "id" } },
30259
+ },
30260
+ ],
30261
+ selectionSet: {
30262
+ kind: "SelectionSet",
30263
+ selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "DocumentArchivePayload" } }],
30264
+ },
30265
+ },
30266
+ ],
30267
+ },
30268
+ },
30269
+ ...DocumentArchivePayloadFragmentDoc.definitions,
29868
30270
  ],
29869
30271
  };
29870
30272
  const UpdateDocumentDocument = {
@@ -32721,6 +33123,7 @@
32721
33123
  },
32722
33124
  ...IssueBatchPayloadFragmentDoc.definitions,
32723
33125
  ...IssueFragmentDoc.definitions,
33126
+ ...ReactionFragmentDoc.definitions,
32724
33127
  ...ActorBotFragmentDoc.definitions,
32725
33128
  ],
32726
33129
  };
@@ -37658,44 +38061,6 @@
37658
38061
  ...UserAdminPayloadFragmentDoc.definitions,
37659
38062
  ],
37660
38063
  };
37661
- const UserSettingsFlagIncrementDocument = {
37662
- kind: "Document",
37663
- definitions: [
37664
- {
37665
- kind: "OperationDefinition",
37666
- operation: "mutation",
37667
- name: { kind: "Name", value: "userSettingsFlagIncrement" },
37668
- variableDefinitions: [
37669
- {
37670
- kind: "VariableDefinition",
37671
- variable: { kind: "Variable", name: { kind: "Name", value: "flag" } },
37672
- type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "String" } } },
37673
- },
37674
- ],
37675
- selectionSet: {
37676
- kind: "SelectionSet",
37677
- selections: [
37678
- {
37679
- kind: "Field",
37680
- name: { kind: "Name", value: "userSettingsFlagIncrement" },
37681
- arguments: [
37682
- {
37683
- kind: "Argument",
37684
- name: { kind: "Name", value: "flag" },
37685
- value: { kind: "Variable", name: { kind: "Name", value: "flag" } },
37686
- },
37687
- ],
37688
- selectionSet: {
37689
- kind: "SelectionSet",
37690
- selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "UserSettingsFlagPayload" } }],
37691
- },
37692
- },
37693
- ],
37694
- },
37695
- },
37696
- ...UserSettingsFlagPayloadFragmentDoc.definitions,
37697
- ],
37698
- };
37699
38064
  const UserSettingsFlagsResetDocument = {
37700
38065
  kind: "Document",
37701
38066
  definitions: [
@@ -38313,6 +38678,8 @@
38313
38678
  get ContextViewType () { return ContextViewType; },
38314
38679
  get DateResolutionType () { return DateResolutionType; },
38315
38680
  get Day () { return Day; },
38681
+ get FacetPageSource () { return FacetPageSource; },
38682
+ get FeatureFlagRolloutStageType () { return FeatureFlagRolloutStageType; },
38316
38683
  get GitAutomationStates () { return GitAutomationStates; },
38317
38684
  get GithubOrgType () { return GithubOrgType; },
38318
38685
  get InitiativeStatus () { return InitiativeStatus; },
@@ -38352,6 +38719,7 @@
38352
38719
  AttachmentArchivePayloadFragmentDoc: AttachmentArchivePayloadFragmentDoc,
38353
38720
  CycleArchivePayloadFragmentDoc: CycleArchivePayloadFragmentDoc,
38354
38721
  DeletePayloadFragmentDoc: DeletePayloadFragmentDoc,
38722
+ DocumentArchivePayloadFragmentDoc: DocumentArchivePayloadFragmentDoc,
38355
38723
  InitiativeArchivePayloadFragmentDoc: InitiativeArchivePayloadFragmentDoc,
38356
38724
  IssueArchivePayloadFragmentDoc: IssueArchivePayloadFragmentDoc,
38357
38725
  ActorBotFragmentDoc: ActorBotFragmentDoc,
@@ -38380,6 +38748,7 @@
38380
38748
  AuthUserFragmentDoc: AuthUserFragmentDoc,
38381
38749
  AuthEmailIntakeAddressFragmentDoc: AuthEmailIntakeAddressFragmentDoc,
38382
38750
  AuthOrganizationInviteFragmentDoc: AuthOrganizationInviteFragmentDoc,
38751
+ OrganizationIpRestrictionFragmentDoc: OrganizationIpRestrictionFragmentDoc,
38383
38752
  ProjectStatusFragmentDoc: ProjectStatusFragmentDoc,
38384
38753
  PaidSubscriptionFragmentDoc: PaidSubscriptionFragmentDoc,
38385
38754
  OrganizationFragmentDoc: OrganizationFragmentDoc,
@@ -38404,6 +38773,7 @@
38404
38773
  JiraLinearMappingFragmentDoc: JiraLinearMappingFragmentDoc,
38405
38774
  JiraSettingsFragmentDoc: JiraSettingsFragmentDoc,
38406
38775
  JiraPersonalSettingsFragmentDoc: JiraPersonalSettingsFragmentDoc,
38776
+ LaunchDarklySettingsFragmentDoc: LaunchDarklySettingsFragmentDoc,
38407
38777
  NotionSettingsFragmentDoc: NotionSettingsFragmentDoc,
38408
38778
  OpsgenieSettingsFragmentDoc: OpsgenieSettingsFragmentDoc,
38409
38779
  PagerDutySettingsFragmentDoc: PagerDutySettingsFragmentDoc,
@@ -38440,12 +38810,14 @@
38440
38810
  AuthOauthClientFragmentDoc: AuthOauthClientFragmentDoc,
38441
38811
  OauthTokenFragmentDoc: OauthTokenFragmentDoc,
38442
38812
  AuthOauthClientWithTokensFragmentDoc: AuthOauthClientWithTokensFragmentDoc,
38813
+ AuthOrganizationBucketNamePayloadFragmentDoc: AuthOrganizationBucketNamePayloadFragmentDoc,
38443
38814
  AuthOrganizationDomainFragmentDoc: AuthOrganizationDomainFragmentDoc,
38444
38815
  AuthOrganizationExistsPayloadFragmentDoc: AuthOrganizationExistsPayloadFragmentDoc,
38445
38816
  AuthOrganizationPayloadFragmentDoc: AuthOrganizationPayloadFragmentDoc,
38446
38817
  AuthResolverResponseFragmentDoc: AuthResolverResponseFragmentDoc,
38447
38818
  AuthSuccessPayloadFragmentDoc: AuthSuccessPayloadFragmentDoc,
38448
38819
  AuthorizedApplicationBaseFragmentDoc: AuthorizedApplicationBaseFragmentDoc,
38820
+ ReactionFragmentDoc: ReactionFragmentDoc,
38449
38821
  CommentFragmentDoc: CommentFragmentDoc,
38450
38822
  CommentConnectionFragmentDoc: CommentConnectionFragmentDoc,
38451
38823
  CommentPayloadFragmentDoc: CommentPayloadFragmentDoc,
@@ -38493,6 +38865,10 @@
38493
38865
  FavoriteFragmentDoc: FavoriteFragmentDoc,
38494
38866
  FavoriteConnectionFragmentDoc: FavoriteConnectionFragmentDoc,
38495
38867
  FavoritePayloadFragmentDoc: FavoritePayloadFragmentDoc,
38868
+ FeatureFlagRolloutStageFragmentDoc: FeatureFlagRolloutStageFragmentDoc,
38869
+ FeatureFlagFragmentDoc: FeatureFlagFragmentDoc,
38870
+ FeatureFlagConnectionFragmentDoc: FeatureFlagConnectionFragmentDoc,
38871
+ FeatureFlagRolloutStageConnectionFragmentDoc: FeatureFlagRolloutStageConnectionFragmentDoc,
38496
38872
  FrontAttachmentPayloadFragmentDoc: FrontAttachmentPayloadFragmentDoc,
38497
38873
  GitAutomationTargetBranchFragmentDoc: GitAutomationTargetBranchFragmentDoc,
38498
38874
  GitAutomationStateFragmentDoc: GitAutomationStateFragmentDoc,
@@ -38560,7 +38936,6 @@
38560
38936
  PasskeyLoginStartResponseFragmentDoc: PasskeyLoginStartResponseFragmentDoc,
38561
38937
  ProjectFragmentDoc: ProjectFragmentDoc,
38562
38938
  ProjectConnectionFragmentDoc: ProjectConnectionFragmentDoc,
38563
- ProjectDetailSuggestionPayloadFragmentDoc: ProjectDetailSuggestionPayloadFragmentDoc,
38564
38939
  ProjectFilterSuggestionPayloadFragmentDoc: ProjectFilterSuggestionPayloadFragmentDoc,
38565
38940
  ProjectLinkFragmentDoc: ProjectLinkFragmentDoc,
38566
38941
  ProjectLinkConnectionFragmentDoc: ProjectLinkConnectionFragmentDoc,
@@ -38590,7 +38965,6 @@
38590
38965
  PushSubscriptionTestPayloadFragmentDoc: PushSubscriptionTestPayloadFragmentDoc,
38591
38966
  RateLimitResultPayloadFragmentDoc: RateLimitResultPayloadFragmentDoc,
38592
38967
  RateLimitPayloadFragmentDoc: RateLimitPayloadFragmentDoc,
38593
- ReactionFragmentDoc: ReactionFragmentDoc,
38594
38968
  ReactionConnectionFragmentDoc: ReactionConnectionFragmentDoc,
38595
38969
  ReactionPayloadFragmentDoc: ReactionPayloadFragmentDoc,
38596
38970
  RoadmapFragmentDoc: RoadmapFragmentDoc,
@@ -38869,6 +39243,7 @@
38869
39243
  UpdateDiaryEntryDocument: UpdateDiaryEntryDocument,
38870
39244
  CreateDocumentDocument: CreateDocumentDocument,
38871
39245
  DeleteDocumentDocument: DeleteDocumentDocument,
39246
+ UnarchiveDocumentDocument: UnarchiveDocumentDocument,
38872
39247
  UpdateDocumentDocument: UpdateDocumentDocument,
38873
39248
  CreateEmailIntakeAddressDocument: CreateEmailIntakeAddressDocument,
38874
39249
  DeleteEmailIntakeAddressDocument: DeleteEmailIntakeAddressDocument,
@@ -39037,7 +39412,6 @@
39037
39412
  UpdateUserFlagDocument: UpdateUserFlagDocument,
39038
39413
  UserPromoteAdminDocument: UserPromoteAdminDocument,
39039
39414
  UserPromoteMemberDocument: UserPromoteMemberDocument,
39040
- UserSettingsFlagIncrementDocument: UserSettingsFlagIncrementDocument,
39041
39415
  UserSettingsFlagsResetDocument: UserSettingsFlagsResetDocument,
39042
39416
  UpdateUserSettingsDocument: UpdateUserSettingsDocument,
39043
39417
  SuspendUserDocument: SuspendUserDocument,
@@ -39661,6 +40035,19 @@
39661
40035
  this.releaseChannel = data.releaseChannel;
39662
40036
  }
39663
40037
  }
40038
+ /**
40039
+ * AuthOrganizationBucketNamePayload model
40040
+ *
40041
+ * @param request - function to call the graphql client
40042
+ * @param data - L.AuthOrganizationBucketNamePayloadFragment response data
40043
+ */
40044
+ class AuthOrganizationBucketNamePayload extends Request {
40045
+ constructor(request, data) {
40046
+ super(request);
40047
+ this.importsBucketName = data.importsBucketName;
40048
+ this.uploadsBucketName = data.uploadsBucketName;
40049
+ }
40050
+ }
39664
40051
  /**
39665
40052
  * AuthOrganizationDomain model
39666
40053
  *
@@ -39876,6 +40263,7 @@
39876
40263
  this.url = data.url;
39877
40264
  this.botActor = data.botActor ? new ActorBot(request, data.botActor) : undefined;
39878
40265
  this.documentContent = data.documentContent ? new DocumentContent(request, data.documentContent) : undefined;
40266
+ this.reactions = data.reactions.map(node => new Reaction(request, node));
39879
40267
  this._externalUser = (_g = data.externalUser) !== null && _g !== void 0 ? _g : undefined;
39880
40268
  this._issue = (_h = data.issue) !== null && _h !== void 0 ? _h : undefined;
39881
40269
  this._parent = (_j = data.parent) !== null && _j !== void 0 ? _j : undefined;
@@ -40496,7 +40884,7 @@
40496
40884
  */
40497
40885
  class Document extends Request {
40498
40886
  constructor(request, data) {
40499
- var _a, _b, _c, _d, _e, _f, _g, _h, _j;
40887
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
40500
40888
  super(request);
40501
40889
  this.archivedAt = (_a = parseDate(data.archivedAt)) !== null && _a !== void 0 ? _a : undefined;
40502
40890
  this.color = (_b = data.color) !== null && _b !== void 0 ? _b : undefined;
@@ -40508,11 +40896,12 @@
40508
40896
  this.slugId = data.slugId;
40509
40897
  this.sortOrder = data.sortOrder;
40510
40898
  this.title = data.title;
40511
- this.updatedAt = (_g = parseDate(data.updatedAt)) !== null && _g !== void 0 ? _g : new Date();
40899
+ this.trashed = (_g = data.trashed) !== null && _g !== void 0 ? _g : undefined;
40900
+ this.updatedAt = (_h = parseDate(data.updatedAt)) !== null && _h !== void 0 ? _h : new Date();
40512
40901
  this.url = data.url;
40513
40902
  this._creator = data.creator;
40514
- this._lastAppliedTemplate = (_h = data.lastAppliedTemplate) !== null && _h !== void 0 ? _h : undefined;
40515
- this._project = (_j = data.project) !== null && _j !== void 0 ? _j : undefined;
40903
+ this._lastAppliedTemplate = (_j = data.lastAppliedTemplate) !== null && _j !== void 0 ? _j : undefined;
40904
+ this._project = (_k = data.project) !== null && _k !== void 0 ? _k : undefined;
40516
40905
  this._updatedBy = data.updatedBy;
40517
40906
  }
40518
40907
  /** The user who created the document. */
@@ -40539,15 +40928,39 @@
40539
40928
  create(input) {
40540
40929
  return new CreateDocumentMutation(this._request).fetch(input);
40541
40930
  }
40542
- /** Deletes a document. */
40931
+ /** Deletes (trashes) a document. */
40543
40932
  delete() {
40544
40933
  return new DeleteDocumentMutation(this._request).fetch(this.id);
40545
40934
  }
40935
+ /** Restores a document. */
40936
+ unarchive() {
40937
+ return new UnarchiveDocumentMutation(this._request).fetch(this.id);
40938
+ }
40546
40939
  /** Updates a document. */
40547
40940
  update(input) {
40548
40941
  return new UpdateDocumentMutation(this._request).fetch(this.id, input);
40549
40942
  }
40550
40943
  }
40944
+ /**
40945
+ * A generic payload return from entity archive mutations.
40946
+ *
40947
+ * @param request - function to call the graphql client
40948
+ * @param data - L.DocumentArchivePayloadFragment response data
40949
+ */
40950
+ class DocumentArchivePayload extends Request {
40951
+ constructor(request, data) {
40952
+ var _a;
40953
+ super(request);
40954
+ this.lastSyncId = data.lastSyncId;
40955
+ this.success = data.success;
40956
+ this._entity = (_a = data.entity) !== null && _a !== void 0 ? _a : undefined;
40957
+ }
40958
+ /** The archived/unarchived entity. Null if entity was deleted. */
40959
+ get entity() {
40960
+ var _a, _b;
40961
+ return ((_a = this._entity) === null || _a === void 0 ? void 0 : _a.id) ? new DocumentQuery(this._request).fetch((_b = this._entity) === null || _b === void 0 ? void 0 : _b.id) : undefined;
40962
+ }
40963
+ }
40551
40964
  /**
40552
40965
  * DocumentConnection model
40553
40966
  *
@@ -40634,7 +41047,7 @@
40634
41047
  constructor(request, data) {
40635
41048
  super(request);
40636
41049
  this.success = data.success;
40637
- this.history = data.history ? data.history.map(node => new DocumentContentHistoryType(request, node)) : undefined;
41050
+ this.history = data.history.map(node => new DocumentContentHistoryType(request, node));
40638
41051
  }
40639
41052
  }
40640
41053
  /**
@@ -40735,7 +41148,7 @@
40735
41148
  */
40736
41149
  class DocumentSearchResult extends Request {
40737
41150
  constructor(request, data) {
40738
- var _a, _b, _c, _d, _e, _f, _g, _h, _j;
41151
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
40739
41152
  super(request);
40740
41153
  this.archivedAt = (_a = parseDate(data.archivedAt)) !== null && _a !== void 0 ? _a : undefined;
40741
41154
  this.color = (_b = data.color) !== null && _b !== void 0 ? _b : undefined;
@@ -40748,11 +41161,12 @@
40748
41161
  this.slugId = data.slugId;
40749
41162
  this.sortOrder = data.sortOrder;
40750
41163
  this.title = data.title;
40751
- this.updatedAt = (_g = parseDate(data.updatedAt)) !== null && _g !== void 0 ? _g : new Date();
41164
+ this.trashed = (_g = data.trashed) !== null && _g !== void 0 ? _g : undefined;
41165
+ this.updatedAt = (_h = parseDate(data.updatedAt)) !== null && _h !== void 0 ? _h : new Date();
40752
41166
  this.url = data.url;
40753
41167
  this._creator = data.creator;
40754
- this._lastAppliedTemplate = (_h = data.lastAppliedTemplate) !== null && _h !== void 0 ? _h : undefined;
40755
- this._project = (_j = data.project) !== null && _j !== void 0 ? _j : undefined;
41168
+ this._lastAppliedTemplate = (_j = data.lastAppliedTemplate) !== null && _j !== void 0 ? _j : undefined;
41169
+ this._project = (_k = data.project) !== null && _k !== void 0 ? _k : undefined;
40756
41170
  this._updatedBy = data.updatedBy;
40757
41171
  }
40758
41172
  /** The user who created the document. */
@@ -41071,13 +41485,38 @@
41071
41485
  */
41072
41486
  class Facet extends Request {
41073
41487
  constructor(request, data) {
41074
- var _a, _b, _c;
41488
+ var _a, _b, _c, _d, _e, _f, _g;
41075
41489
  super(request);
41076
41490
  this.archivedAt = (_a = parseDate(data.archivedAt)) !== null && _a !== void 0 ? _a : undefined;
41077
41491
  this.createdAt = (_b = parseDate(data.createdAt)) !== null && _b !== void 0 ? _b : new Date();
41078
41492
  this.id = data.id;
41079
41493
  this.sortOrder = data.sortOrder;
41080
41494
  this.updatedAt = (_c = parseDate(data.updatedAt)) !== null && _c !== void 0 ? _c : new Date();
41495
+ this.sourcePage = (_d = data.sourcePage) !== null && _d !== void 0 ? _d : undefined;
41496
+ this._sourceProject = (_e = data.sourceProject) !== null && _e !== void 0 ? _e : undefined;
41497
+ this._sourceTeam = (_f = data.sourceTeam) !== null && _f !== void 0 ? _f : undefined;
41498
+ this._targetCustomView = (_g = data.targetCustomView) !== null && _g !== void 0 ? _g : undefined;
41499
+ }
41500
+ /** The owning organization. */
41501
+ get sourceOrganization() {
41502
+ return new OrganizationQuery(this._request).fetch();
41503
+ }
41504
+ /** The owning project. */
41505
+ get sourceProject() {
41506
+ var _a, _b;
41507
+ return ((_a = this._sourceProject) === null || _a === void 0 ? void 0 : _a.id) ? new ProjectQuery(this._request).fetch((_b = this._sourceProject) === null || _b === void 0 ? void 0 : _b.id) : undefined;
41508
+ }
41509
+ /** The owning team. */
41510
+ get sourceTeam() {
41511
+ var _a, _b;
41512
+ return ((_a = this._sourceTeam) === null || _a === void 0 ? void 0 : _a.id) ? new TeamQuery(this._request).fetch((_b = this._sourceTeam) === null || _b === void 0 ? void 0 : _b.id) : undefined;
41513
+ }
41514
+ /** The targeted custom view. */
41515
+ get targetCustomView() {
41516
+ var _a, _b;
41517
+ return ((_a = this._targetCustomView) === null || _a === void 0 ? void 0 : _a.id)
41518
+ ? new CustomViewQuery(this._request).fetch((_b = this._targetCustomView) === null || _b === void 0 ? void 0 : _b.id)
41519
+ : undefined;
41081
41520
  }
41082
41521
  }
41083
41522
  /**
@@ -41230,6 +41669,113 @@
41230
41669
  return new FavoriteQuery(this._request).fetch(this._favorite.id);
41231
41670
  }
41232
41671
  }
41672
+ /**
41673
+ * A feature flag for a project.
41674
+ *
41675
+ * @param request - function to call the graphql client
41676
+ * @param data - L.FeatureFlagFragment response data
41677
+ */
41678
+ class FeatureFlag extends Request {
41679
+ constructor(request, data) {
41680
+ var _a, _b, _c, _d, _e, _f, _g, _h;
41681
+ super(request);
41682
+ this.archivedAt = (_a = parseDate(data.archivedAt)) !== null && _a !== void 0 ? _a : undefined;
41683
+ this.createdAt = (_b = parseDate(data.createdAt)) !== null && _b !== void 0 ? _b : new Date();
41684
+ this.description = (_c = data.description) !== null && _c !== void 0 ? _c : undefined;
41685
+ this.externalUrl = data.externalUrl;
41686
+ this.id = data.id;
41687
+ this.isEnabled = data.isEnabled;
41688
+ this.key = data.key;
41689
+ this.lastStageUpdatedAt = (_d = parseDate(data.lastStageUpdatedAt)) !== null && _d !== void 0 ? _d : undefined;
41690
+ this.status = data.status;
41691
+ this.updatedAt = (_e = parseDate(data.updatedAt)) !== null && _e !== void 0 ? _e : new Date();
41692
+ this.pendingRolloutStage = data.pendingRolloutStage
41693
+ ? new FeatureFlagRolloutStage(request, data.pendingRolloutStage)
41694
+ : undefined;
41695
+ this.rolloutStage = new FeatureFlagRolloutStage(request, data.rolloutStage);
41696
+ this._creator = (_f = data.creator) !== null && _f !== void 0 ? _f : undefined;
41697
+ this._integration = data.integration;
41698
+ this._lastStageUpdatedBy = (_g = data.lastStageUpdatedBy) !== null && _g !== void 0 ? _g : undefined;
41699
+ this._project = (_h = data.project) !== null && _h !== void 0 ? _h : undefined;
41700
+ }
41701
+ /** The user who created the feature flag. */
41702
+ get creator() {
41703
+ var _a, _b;
41704
+ return ((_a = this._creator) === null || _a === void 0 ? void 0 : _a.id) ? new UserQuery(this._request).fetch((_b = this._creator) === null || _b === void 0 ? void 0 : _b.id) : undefined;
41705
+ }
41706
+ /** The integration providing the feature flag. */
41707
+ get integration() {
41708
+ return new IntegrationQuery(this._request).fetch(this._integration.id);
41709
+ }
41710
+ /** The user who last changed the stage of the feature flag. */
41711
+ get lastStageUpdatedBy() {
41712
+ var _a, _b;
41713
+ return ((_a = this._lastStageUpdatedBy) === null || _a === void 0 ? void 0 : _a.id) ? new UserQuery(this._request).fetch((_b = this._lastStageUpdatedBy) === null || _b === void 0 ? void 0 : _b.id) : undefined;
41714
+ }
41715
+ /** The organization of the feature flag. */
41716
+ get organization() {
41717
+ return new OrganizationQuery(this._request).fetch();
41718
+ }
41719
+ /** The project the feature flag is associated with. */
41720
+ get project() {
41721
+ var _a, _b;
41722
+ 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;
41723
+ }
41724
+ }
41725
+ /**
41726
+ * FeatureFlagConnection model
41727
+ *
41728
+ * @param request - function to call the graphql client
41729
+ * @param fetch - function to trigger a refetch of this FeatureFlagConnection model
41730
+ * @param data - FeatureFlagConnection response data
41731
+ */
41732
+ class FeatureFlagConnection extends Connection {
41733
+ constructor(request, fetch, data) {
41734
+ super(request, fetch, data.nodes.map(node => new FeatureFlag(request, node)), new PageInfo(request, data.pageInfo));
41735
+ }
41736
+ }
41737
+ /**
41738
+ * A rollout stage for a feature flag.
41739
+ *
41740
+ * @param request - function to call the graphql client
41741
+ * @param data - L.FeatureFlagRolloutStageFragment response data
41742
+ */
41743
+ class FeatureFlagRolloutStage extends Request {
41744
+ constructor(request, data) {
41745
+ var _a, _b, _c, _d;
41746
+ super(request);
41747
+ this.archivedAt = (_a = parseDate(data.archivedAt)) !== null && _a !== void 0 ? _a : undefined;
41748
+ this.createdAt = (_b = parseDate(data.createdAt)) !== null && _b !== void 0 ? _b : new Date();
41749
+ this.description = (_c = data.description) !== null && _c !== void 0 ? _c : undefined;
41750
+ this.id = data.id;
41751
+ this.name = data.name;
41752
+ this.segmentKeys = data.segmentKeys;
41753
+ this.sortOrder = data.sortOrder;
41754
+ this.updatedAt = (_d = parseDate(data.updatedAt)) !== null && _d !== void 0 ? _d : new Date();
41755
+ this.type = data.type;
41756
+ this._integration = data.integration;
41757
+ }
41758
+ /** The integration providing the feature flag. */
41759
+ get integration() {
41760
+ return new IntegrationQuery(this._request).fetch(this._integration.id);
41761
+ }
41762
+ /** The organization of the feature flag rollout stage. */
41763
+ get organization() {
41764
+ return new OrganizationQuery(this._request).fetch();
41765
+ }
41766
+ }
41767
+ /**
41768
+ * FeatureFlagRolloutStageConnection model
41769
+ *
41770
+ * @param request - function to call the graphql client
41771
+ * @param fetch - function to trigger a refetch of this FeatureFlagRolloutStageConnection model
41772
+ * @param data - FeatureFlagRolloutStageConnection response data
41773
+ */
41774
+ class FeatureFlagRolloutStageConnection extends Connection {
41775
+ constructor(request, fetch, data) {
41776
+ super(request, fetch, data.nodes.map(node => new FeatureFlagRolloutStage(request, node)), new PageInfo(request, data.pageInfo));
41777
+ }
41778
+ }
41233
41779
  /**
41234
41780
  * FrontAttachmentPayload model
41235
41781
  *
@@ -41485,7 +42031,7 @@
41485
42031
  this.sheetId = data.sheetId;
41486
42032
  this.spreadsheetId = data.spreadsheetId;
41487
42033
  this.spreadsheetUrl = data.spreadsheetUrl;
41488
- this.updatedIssuesAt = (_a = parseDate(data.updatedIssuesAt)) !== null && _a !== void 0 ? _a : new Date();
42034
+ this.updatedIssuesAt = (_a = parseDate(data.updatedIssuesAt)) !== null && _a !== void 0 ? _a : undefined;
41489
42035
  }
41490
42036
  }
41491
42037
  /**
@@ -41673,6 +42219,7 @@
41673
42219
  this.intercom = data.intercom ? new IntercomSettings(request, data.intercom) : undefined;
41674
42220
  this.jira = data.jira ? new JiraSettings(request, data.jira) : undefined;
41675
42221
  this.jiraPersonal = data.jiraPersonal ? new JiraPersonalSettings(request, data.jiraPersonal) : undefined;
42222
+ this.launchDarkly = data.launchDarkly ? new LaunchDarklySettings(request, data.launchDarkly) : undefined;
41676
42223
  this.notion = data.notion ? new NotionSettings(request, data.notion) : undefined;
41677
42224
  this.opsgenie = data.opsgenie ? new OpsgenieSettings(request, data.opsgenie) : undefined;
41678
42225
  this.pagerDuty = data.pagerDuty ? new PagerDutySettings(request, data.pagerDuty) : undefined;
@@ -41763,24 +42310,25 @@
41763
42310
  */
41764
42311
  class IntegrationsSettings extends Request {
41765
42312
  constructor(request, data) {
41766
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
42313
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r;
41767
42314
  super(request);
41768
42315
  this.archivedAt = (_a = parseDate(data.archivedAt)) !== null && _a !== void 0 ? _a : undefined;
41769
42316
  this.createdAt = (_b = parseDate(data.createdAt)) !== null && _b !== void 0 ? _b : new Date();
41770
42317
  this.id = data.id;
41771
42318
  this.slackIssueAddedToTriage = (_c = data.slackIssueAddedToTriage) !== null && _c !== void 0 ? _c : undefined;
41772
- this.slackIssueCreated = (_d = data.slackIssueCreated) !== null && _d !== void 0 ? _d : undefined;
41773
- this.slackIssueNewComment = (_e = data.slackIssueNewComment) !== null && _e !== void 0 ? _e : undefined;
41774
- this.slackIssueSlaBreached = (_f = data.slackIssueSlaBreached) !== null && _f !== void 0 ? _f : undefined;
41775
- this.slackIssueSlaHighRisk = (_g = data.slackIssueSlaHighRisk) !== null && _g !== void 0 ? _g : undefined;
41776
- this.slackIssueStatusChangedAll = (_h = data.slackIssueStatusChangedAll) !== null && _h !== void 0 ? _h : undefined;
41777
- this.slackIssueStatusChangedDone = (_j = data.slackIssueStatusChangedDone) !== null && _j !== void 0 ? _j : undefined;
41778
- this.slackProjectUpdateCreated = (_k = data.slackProjectUpdateCreated) !== null && _k !== void 0 ? _k : undefined;
41779
- this.slackProjectUpdateCreatedToTeam = (_l = data.slackProjectUpdateCreatedToTeam) !== null && _l !== void 0 ? _l : undefined;
41780
- this.slackProjectUpdateCreatedToWorkspace = (_m = data.slackProjectUpdateCreatedToWorkspace) !== null && _m !== void 0 ? _m : undefined;
41781
- this.updatedAt = (_o = parseDate(data.updatedAt)) !== null && _o !== void 0 ? _o : new Date();
41782
- this._project = (_p = data.project) !== null && _p !== void 0 ? _p : undefined;
41783
- this._team = (_q = data.team) !== null && _q !== void 0 ? _q : undefined;
42319
+ this.slackIssueAddedToView = (_d = data.slackIssueAddedToView) !== null && _d !== void 0 ? _d : undefined;
42320
+ this.slackIssueCreated = (_e = data.slackIssueCreated) !== null && _e !== void 0 ? _e : undefined;
42321
+ this.slackIssueNewComment = (_f = data.slackIssueNewComment) !== null && _f !== void 0 ? _f : undefined;
42322
+ this.slackIssueSlaBreached = (_g = data.slackIssueSlaBreached) !== null && _g !== void 0 ? _g : undefined;
42323
+ this.slackIssueSlaHighRisk = (_h = data.slackIssueSlaHighRisk) !== null && _h !== void 0 ? _h : undefined;
42324
+ this.slackIssueStatusChangedAll = (_j = data.slackIssueStatusChangedAll) !== null && _j !== void 0 ? _j : undefined;
42325
+ this.slackIssueStatusChangedDone = (_k = data.slackIssueStatusChangedDone) !== null && _k !== void 0 ? _k : undefined;
42326
+ this.slackProjectUpdateCreated = (_l = data.slackProjectUpdateCreated) !== null && _l !== void 0 ? _l : undefined;
42327
+ this.slackProjectUpdateCreatedToTeam = (_m = data.slackProjectUpdateCreatedToTeam) !== null && _m !== void 0 ? _m : undefined;
42328
+ this.slackProjectUpdateCreatedToWorkspace = (_o = data.slackProjectUpdateCreatedToWorkspace) !== null && _o !== void 0 ? _o : undefined;
42329
+ this.updatedAt = (_p = parseDate(data.updatedAt)) !== null && _p !== void 0 ? _p : new Date();
42330
+ this._project = (_q = data.project) !== null && _q !== void 0 ? _q : undefined;
42331
+ this._team = (_r = data.team) !== null && _r !== void 0 ? _r : undefined;
41784
42332
  }
41785
42333
  /** Project which those settings apply to. */
41786
42334
  get project() {
@@ -41877,6 +42425,7 @@
41877
42425
  this.previousIdentifiers = data.previousIdentifiers;
41878
42426
  this.priority = data.priority;
41879
42427
  this.priorityLabel = data.priorityLabel;
42428
+ this.reactionData = data.reactionData;
41880
42429
  this.slaBreachesAt = (_k = parseDate(data.slaBreachesAt)) !== null && _k !== void 0 ? _k : undefined;
41881
42430
  this.slaStartedAt = (_l = parseDate(data.slaStartedAt)) !== null && _l !== void 0 ? _l : undefined;
41882
42431
  this.snoozedUntilAt = (_m = parseDate(data.snoozedUntilAt)) !== null && _m !== void 0 ? _m : undefined;
@@ -41890,6 +42439,7 @@
41890
42439
  this.updatedAt = (_t = parseDate(data.updatedAt)) !== null && _t !== void 0 ? _t : new Date();
41891
42440
  this.url = data.url;
41892
42441
  this.botActor = data.botActor ? new ActorBot(request, data.botActor) : undefined;
42442
+ this.reactions = data.reactions.map(node => new Reaction(request, node));
41893
42443
  this.integrationSourceType = (_u = data.integrationSourceType) !== null && _u !== void 0 ? _u : undefined;
41894
42444
  this._assignee = (_v = data.assignee) !== null && _v !== void 0 ? _v : undefined;
41895
42445
  this._creator = (_w = data.creator) !== null && _w !== void 0 ? _w : undefined;
@@ -42158,7 +42708,7 @@
42158
42708
  this._toState = (_22 = data.toState) !== null && _22 !== void 0 ? _22 : undefined;
42159
42709
  this._toTeam = (_23 = data.toTeam) !== null && _23 !== void 0 ? _23 : undefined;
42160
42710
  }
42161
- /** The user who made these changes. If null, possibly means that the change made by an integration. */
42711
+ /** The actor that performed the actions. This field may be empty in the case of integrations or automations. */
42162
42712
  get actor() {
42163
42713
  var _a, _b;
42164
42714
  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;
@@ -42168,32 +42718,32 @@
42168
42718
  var _a, _b;
42169
42719
  return ((_a = this._attachment) === null || _a === void 0 ? void 0 : _a.id) ? new AttachmentQuery(this._request).fetch((_b = this._attachment) === null || _b === void 0 ? void 0 : _b.id) : undefined;
42170
42720
  }
42171
- /** The user from whom the issue was re-assigned from. */
42721
+ /** The user that was unassigned from the issue. */
42172
42722
  get fromAssignee() {
42173
42723
  var _a, _b;
42174
42724
  return ((_a = this._fromAssignee) === null || _a === void 0 ? void 0 : _a.id) ? new UserQuery(this._request).fetch((_b = this._fromAssignee) === null || _b === void 0 ? void 0 : _b.id) : undefined;
42175
42725
  }
42176
- /** The previous cycle of the issue. */
42726
+ /** The cycle that the issue was moved from. */
42177
42727
  get fromCycle() {
42178
42728
  var _a, _b;
42179
42729
  return ((_a = this._fromCycle) === null || _a === void 0 ? void 0 : _a.id) ? new CycleQuery(this._request).fetch((_b = this._fromCycle) === null || _b === void 0 ? void 0 : _b.id) : undefined;
42180
42730
  }
42181
- /** The previous parent of the issue. */
42731
+ /** The parent issue that the issue was moved from. */
42182
42732
  get fromParent() {
42183
42733
  var _a, _b;
42184
42734
  return ((_a = this._fromParent) === null || _a === void 0 ? void 0 : _a.id) ? new IssueQuery(this._request).fetch((_b = this._fromParent) === null || _b === void 0 ? void 0 : _b.id) : undefined;
42185
42735
  }
42186
- /** The previous project of the issue. */
42736
+ /** The project that the issue was moved from. */
42187
42737
  get fromProject() {
42188
42738
  var _a, _b;
42189
42739
  return ((_a = this._fromProject) === null || _a === void 0 ? void 0 : _a.id) ? new ProjectQuery(this._request).fetch((_b = this._fromProject) === null || _b === void 0 ? void 0 : _b.id) : undefined;
42190
42740
  }
42191
- /** The previous workflow state of the issue. */
42741
+ /** The state that the issue was moved from. */
42192
42742
  get fromState() {
42193
42743
  var _a, _b;
42194
42744
  return ((_a = this._fromState) === null || _a === void 0 ? void 0 : _a.id) ? new WorkflowStateQuery(this._request).fetch((_b = this._fromState) === null || _b === void 0 ? void 0 : _b.id) : undefined;
42195
42745
  }
42196
- /** The team from which the issue was moved from. */
42746
+ /** The team that the issue was moved from. */
42197
42747
  get fromTeam() {
42198
42748
  var _a, _b;
42199
42749
  return ((_a = this._fromTeam) === null || _a === void 0 ? void 0 : _a.id) ? new TeamQuery(this._request).fetch((_b = this._fromTeam) === null || _b === void 0 ? void 0 : _b.id) : undefined;
@@ -42202,7 +42752,7 @@
42202
42752
  get issue() {
42203
42753
  return new IssueQuery(this._request).fetch(this._issue.id);
42204
42754
  }
42205
- /** The user to whom the issue was assigned to. */
42755
+ /** The user that was assigned to the issue. */
42206
42756
  get toAssignee() {
42207
42757
  var _a, _b;
42208
42758
  return ((_a = this._toAssignee) === null || _a === void 0 ? void 0 : _a.id) ? new UserQuery(this._request).fetch((_b = this._toAssignee) === null || _b === void 0 ? void 0 : _b.id) : undefined;
@@ -42214,27 +42764,27 @@
42214
42764
  ? new ProjectQuery(this._request).fetch((_b = this._toConvertedProject) === null || _b === void 0 ? void 0 : _b.id)
42215
42765
  : undefined;
42216
42766
  }
42217
- /** The new cycle of the issue. */
42767
+ /** The cycle that the issue was moved to. */
42218
42768
  get toCycle() {
42219
42769
  var _a, _b;
42220
42770
  return ((_a = this._toCycle) === null || _a === void 0 ? void 0 : _a.id) ? new CycleQuery(this._request).fetch((_b = this._toCycle) === null || _b === void 0 ? void 0 : _b.id) : undefined;
42221
42771
  }
42222
- /** The new parent of the issue. */
42772
+ /** The parent issue that the issue was moved to. */
42223
42773
  get toParent() {
42224
42774
  var _a, _b;
42225
42775
  return ((_a = this._toParent) === null || _a === void 0 ? void 0 : _a.id) ? new IssueQuery(this._request).fetch((_b = this._toParent) === null || _b === void 0 ? void 0 : _b.id) : undefined;
42226
42776
  }
42227
- /** The new project of the issue. */
42777
+ /** The project that the issue was moved to. */
42228
42778
  get toProject() {
42229
42779
  var _a, _b;
42230
42780
  return ((_a = this._toProject) === null || _a === void 0 ? void 0 : _a.id) ? new ProjectQuery(this._request).fetch((_b = this._toProject) === null || _b === void 0 ? void 0 : _b.id) : undefined;
42231
42781
  }
42232
- /** The new workflow state of the issue. */
42782
+ /** The state that the issue was moved to. */
42233
42783
  get toState() {
42234
42784
  var _a, _b;
42235
42785
  return ((_a = this._toState) === null || _a === void 0 ? void 0 : _a.id) ? new WorkflowStateQuery(this._request).fetch((_b = this._toState) === null || _b === void 0 ? void 0 : _b.id) : undefined;
42236
42786
  }
42237
- /** The team to which the issue was moved to. */
42787
+ /** The team that the issue was moved to. */
42238
42788
  get toTeam() {
42239
42789
  var _a, _b;
42240
42790
  return ((_a = this._toTeam) === null || _a === void 0 ? void 0 : _a.id) ? new TeamQuery(this._request).fetch((_b = this._toTeam) === null || _b === void 0 ? void 0 : _b.id) : undefined;
@@ -42652,6 +43202,7 @@
42652
43202
  this.previousIdentifiers = data.previousIdentifiers;
42653
43203
  this.priority = data.priority;
42654
43204
  this.priorityLabel = data.priorityLabel;
43205
+ this.reactionData = data.reactionData;
42655
43206
  this.slaBreachesAt = (_k = parseDate(data.slaBreachesAt)) !== null && _k !== void 0 ? _k : undefined;
42656
43207
  this.slaStartedAt = (_l = parseDate(data.slaStartedAt)) !== null && _l !== void 0 ? _l : undefined;
42657
43208
  this.snoozedUntilAt = (_m = parseDate(data.snoozedUntilAt)) !== null && _m !== void 0 ? _m : undefined;
@@ -42665,6 +43216,7 @@
42665
43216
  this.updatedAt = (_t = parseDate(data.updatedAt)) !== null && _t !== void 0 ? _t : new Date();
42666
43217
  this.url = data.url;
42667
43218
  this.botActor = data.botActor ? new ActorBot(request, data.botActor) : undefined;
43219
+ this.reactions = data.reactions.map(node => new Reaction(request, node));
42668
43220
  this.integrationSourceType = (_u = data.integrationSourceType) !== null && _u !== void 0 ? _u : undefined;
42669
43221
  this._assignee = (_v = data.assignee) !== null && _v !== void 0 ? _v : undefined;
42670
43222
  this._creator = (_w = data.creator) !== null && _w !== void 0 ? _w : undefined;
@@ -42884,6 +43436,19 @@
42884
43436
  return ((_a = this._user) === null || _a === void 0 ? void 0 : _a.id) ? new UserQuery(this._request).fetch((_b = this._user) === null || _b === void 0 ? void 0 : _b.id) : undefined;
42885
43437
  }
42886
43438
  }
43439
+ /**
43440
+ * LaunchDarkly specific settings.
43441
+ *
43442
+ * @param request - function to call the graphql client
43443
+ * @param data - L.LaunchDarklySettingsFragment response data
43444
+ */
43445
+ class LaunchDarklySettings extends Request {
43446
+ constructor(request, data) {
43447
+ super(request);
43448
+ this.environment = data.environment;
43449
+ this.projectKey = data.projectKey;
43450
+ }
43451
+ }
42887
43452
  /**
42888
43453
  * LogoutResponse model
42889
43454
  *
@@ -43038,7 +43603,7 @@
43038
43603
  var _a;
43039
43604
  super(request);
43040
43605
  this.notificationsDisabled = (_a = data.notificationsDisabled) !== null && _a !== void 0 ? _a : undefined;
43041
- this.schedule = new NotificationDeliveryPreferencesSchedule(request, data.schedule);
43606
+ this.schedule = data.schedule ? new NotificationDeliveryPreferencesSchedule(request, data.schedule) : undefined;
43042
43607
  }
43043
43608
  }
43044
43609
  /**
@@ -43359,7 +43924,7 @@
43359
43924
  constructor(request, data) {
43360
43925
  var _a;
43361
43926
  super(request);
43362
- this.apiFailedWithUnauthorizedErrorAt = (_a = parseDate(data.apiFailedWithUnauthorizedErrorAt)) !== null && _a !== void 0 ? _a : new Date();
43927
+ this.apiFailedWithUnauthorizedErrorAt = (_a = parseDate(data.apiFailedWithUnauthorizedErrorAt)) !== null && _a !== void 0 ? _a : undefined;
43363
43928
  }
43364
43929
  }
43365
43930
  /**
@@ -43396,6 +43961,9 @@
43396
43961
  this.urlKey = data.urlKey;
43397
43962
  this.userCount = data.userCount;
43398
43963
  this.subscription = data.subscription ? new PaidSubscription(request, data.subscription) : undefined;
43964
+ this.ipRestrictions = data.ipRestrictions
43965
+ ? data.ipRestrictions.map(node => new OrganizationIpRestriction(request, node))
43966
+ : undefined;
43399
43967
  this.projectStatuses = data.projectStatuses.map(node => new ProjectStatus(request, node));
43400
43968
  this.projectUpdateRemindersDay = data.projectUpdateRemindersDay;
43401
43969
  this.projectUpdatesReminderFrequency = data.projectUpdatesReminderFrequency;
@@ -43520,7 +44088,7 @@
43520
44088
  */
43521
44089
  class OrganizationInvite extends Request {
43522
44090
  constructor(request, data) {
43523
- var _a, _b, _c, _d, _e, _f;
44091
+ var _a, _b, _c, _d, _e, _f, _g;
43524
44092
  super(request);
43525
44093
  this.acceptedAt = (_a = parseDate(data.acceptedAt)) !== null && _a !== void 0 ? _a : undefined;
43526
44094
  this.archivedAt = (_b = parseDate(data.archivedAt)) !== null && _b !== void 0 ? _b : undefined;
@@ -43529,10 +44097,10 @@
43529
44097
  this.expiresAt = (_d = parseDate(data.expiresAt)) !== null && _d !== void 0 ? _d : undefined;
43530
44098
  this.external = data.external;
43531
44099
  this.id = data.id;
43532
- this.metadata = data.metadata;
43533
- this.updatedAt = (_e = parseDate(data.updatedAt)) !== null && _e !== void 0 ? _e : new Date();
44100
+ this.metadata = (_e = data.metadata) !== null && _e !== void 0 ? _e : undefined;
44101
+ this.updatedAt = (_f = parseDate(data.updatedAt)) !== null && _f !== void 0 ? _f : new Date();
43534
44102
  this.role = data.role;
43535
- this._invitee = (_f = data.invitee) !== null && _f !== void 0 ? _f : undefined;
44103
+ this._invitee = (_g = data.invitee) !== null && _g !== void 0 ? _g : undefined;
43536
44104
  this._inviter = data.inviter;
43537
44105
  }
43538
44106
  /** The user who has accepted the invite. Null, if the invite hasn't been accepted. */
@@ -43632,6 +44200,22 @@
43632
44200
  return new OrganizationInviteQuery(this._request).fetch(this._organizationInvite.id);
43633
44201
  }
43634
44202
  }
44203
+ /**
44204
+ * OrganizationIpRestriction model
44205
+ *
44206
+ * @param request - function to call the graphql client
44207
+ * @param data - L.OrganizationIpRestrictionFragment response data
44208
+ */
44209
+ class OrganizationIpRestriction extends Request {
44210
+ constructor(request, data) {
44211
+ var _a;
44212
+ super(request);
44213
+ this.description = (_a = data.description) !== null && _a !== void 0 ? _a : undefined;
44214
+ this.enabled = data.enabled;
44215
+ this.range = data.range;
44216
+ this.type = data.type;
44217
+ }
44218
+ }
43635
44219
  /**
43636
44220
  * OrganizationMeta model
43637
44221
  *
@@ -43714,7 +44298,7 @@
43714
44298
  constructor(request, data) {
43715
44299
  var _a;
43716
44300
  super(request);
43717
- this.apiFailedWithUnauthorizedErrorAt = (_a = parseDate(data.apiFailedWithUnauthorizedErrorAt)) !== null && _a !== void 0 ? _a : new Date();
44301
+ this.apiFailedWithUnauthorizedErrorAt = (_a = parseDate(data.apiFailedWithUnauthorizedErrorAt)) !== null && _a !== void 0 ? _a : undefined;
43718
44302
  }
43719
44303
  }
43720
44304
  /**
@@ -43725,21 +44309,21 @@
43725
44309
  */
43726
44310
  class PaidSubscription extends Request {
43727
44311
  constructor(request, data) {
43728
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
44312
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j;
43729
44313
  super(request);
43730
44314
  this.archivedAt = (_a = parseDate(data.archivedAt)) !== null && _a !== void 0 ? _a : undefined;
43731
44315
  this.canceledAt = (_b = parseDate(data.canceledAt)) !== null && _b !== void 0 ? _b : undefined;
43732
- this.collectionMethod = (_c = data.collectionMethod) !== null && _c !== void 0 ? _c : undefined;
43733
- this.createdAt = (_d = parseDate(data.createdAt)) !== null && _d !== void 0 ? _d : new Date();
44316
+ this.collectionMethod = data.collectionMethod;
44317
+ this.createdAt = (_c = parseDate(data.createdAt)) !== null && _c !== void 0 ? _c : new Date();
43734
44318
  this.id = data.id;
43735
- this.nextBillingAt = (_e = parseDate(data.nextBillingAt)) !== null && _e !== void 0 ? _e : undefined;
43736
- this.pendingChangeType = (_f = data.pendingChangeType) !== null && _f !== void 0 ? _f : undefined;
44319
+ this.nextBillingAt = (_d = parseDate(data.nextBillingAt)) !== null && _d !== void 0 ? _d : undefined;
44320
+ this.pendingChangeType = (_e = data.pendingChangeType) !== null && _e !== void 0 ? _e : undefined;
43737
44321
  this.seats = data.seats;
43738
- this.seatsMaximum = (_g = data.seatsMaximum) !== null && _g !== void 0 ? _g : undefined;
43739
- this.seatsMinimum = (_h = data.seatsMinimum) !== null && _h !== void 0 ? _h : undefined;
44322
+ this.seatsMaximum = (_f = data.seatsMaximum) !== null && _f !== void 0 ? _f : undefined;
44323
+ this.seatsMinimum = (_g = data.seatsMinimum) !== null && _g !== void 0 ? _g : undefined;
43740
44324
  this.type = data.type;
43741
- this.updatedAt = (_j = parseDate(data.updatedAt)) !== null && _j !== void 0 ? _j : new Date();
43742
- this._creator = (_k = data.creator) !== null && _k !== void 0 ? _k : undefined;
44325
+ this.updatedAt = (_h = parseDate(data.updatedAt)) !== null && _h !== void 0 ? _h : new Date();
44326
+ this._creator = (_j = data.creator) !== null && _j !== void 0 ? _j : undefined;
43743
44327
  }
43744
44328
  /** The creator of the subscription. */
43745
44329
  get creator() {
@@ -43955,20 +44539,6 @@
43955
44539
  super(request, fetch, data.nodes.map(node => new Project(request, node)), new PageInfo(request, data.pageInfo));
43956
44540
  }
43957
44541
  }
43958
- /**
43959
- * ProjectDetailSuggestionPayload model
43960
- *
43961
- * @param request - function to call the graphql client
43962
- * @param data - L.ProjectDetailSuggestionPayloadFragment response data
43963
- */
43964
- class ProjectDetailSuggestionPayload extends Request {
43965
- constructor(request, data) {
43966
- var _a, _b;
43967
- super(request);
43968
- this.color = (_a = data.color) !== null && _a !== void 0 ? _a : undefined;
43969
- this.icon = (_b = data.icon) !== null && _b !== void 0 ? _b : undefined;
43970
- }
43971
- }
43972
44542
  /**
43973
44543
  * ProjectFilterSuggestionPayload model
43974
44544
  *
@@ -44498,6 +45068,7 @@
44498
45068
  this.reactionData = data.reactionData;
44499
45069
  this.updatedAt = (_f = parseDate(data.updatedAt)) !== null && _f !== void 0 ? _f : new Date();
44500
45070
  this.url = data.url;
45071
+ this.reactions = data.reactions.map(node => new Reaction(request, node));
44501
45072
  this.health = data.health;
44502
45073
  this._project = data.project;
44503
45074
  this._user = data.user;
@@ -45500,14 +46071,14 @@
45500
46071
  */
45501
46072
  class TeamMembership extends Request {
45502
46073
  constructor(request, data) {
45503
- var _a, _b, _c, _d;
46074
+ var _a, _b, _c;
45504
46075
  super(request);
45505
46076
  this.archivedAt = (_a = parseDate(data.archivedAt)) !== null && _a !== void 0 ? _a : undefined;
45506
46077
  this.createdAt = (_b = parseDate(data.createdAt)) !== null && _b !== void 0 ? _b : new Date();
45507
46078
  this.id = data.id;
45508
- this.owner = (_c = data.owner) !== null && _c !== void 0 ? _c : undefined;
46079
+ this.owner = data.owner;
45509
46080
  this.sortOrder = data.sortOrder;
45510
- this.updatedAt = (_d = parseDate(data.updatedAt)) !== null && _d !== void 0 ? _d : new Date();
46081
+ this.updatedAt = (_c = parseDate(data.updatedAt)) !== null && _c !== void 0 ? _c : new Date();
45511
46082
  this._team = data.team;
45512
46083
  this._user = data.user;
45513
46084
  }
@@ -45811,7 +46382,7 @@
45811
46382
  this.id = data.id;
45812
46383
  this.name = data.name;
45813
46384
  this.updatedAt = (_e = parseDate(data.updatedAt)) !== null && _e !== void 0 ? _e : new Date();
45814
- this.entries = data.entries.map(node => new TimeScheduleEntry(request, node));
46385
+ this.entries = data.entries ? data.entries.map(node => new TimeScheduleEntry(request, node)) : undefined;
45815
46386
  this._integration = (_f = data.integration) !== null && _f !== void 0 ? _f : undefined;
45816
46387
  }
45817
46388
  /** The identifier of the Linear integration populating the schedule. */
@@ -46274,11 +46845,12 @@
46274
46845
  */
46275
46846
  class UserSettingsFlagPayload extends Request {
46276
46847
  constructor(request, data) {
46848
+ var _a, _b;
46277
46849
  super(request);
46278
- this.flag = data.flag;
46850
+ this.flag = (_a = data.flag) !== null && _a !== void 0 ? _a : undefined;
46279
46851
  this.lastSyncId = data.lastSyncId;
46280
46852
  this.success = data.success;
46281
- this.value = data.value;
46853
+ this.value = (_b = data.value) !== null && _b !== void 0 ? _b : undefined;
46282
46854
  }
46283
46855
  }
46284
46856
  /**
@@ -46499,31 +47071,31 @@
46499
47071
  */
46500
47072
  class WorkflowDefinition extends Request {
46501
47073
  constructor(request, data) {
46502
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
47074
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p;
46503
47075
  super(request);
46504
47076
  this.activities = data.activities;
46505
47077
  this.archivedAt = (_a = parseDate(data.archivedAt)) !== null && _a !== void 0 ? _a : undefined;
46506
- this.conditions = data.conditions;
46507
- this.createdAt = (_b = parseDate(data.createdAt)) !== null && _b !== void 0 ? _b : new Date();
46508
- this.description = (_c = data.description) !== null && _c !== void 0 ? _c : undefined;
47078
+ this.conditions = (_b = data.conditions) !== null && _b !== void 0 ? _b : undefined;
47079
+ this.createdAt = (_c = parseDate(data.createdAt)) !== null && _c !== void 0 ? _c : new Date();
47080
+ this.description = (_d = data.description) !== null && _d !== void 0 ? _d : undefined;
46509
47081
  this.enabled = data.enabled;
46510
- this.groupName = (_d = data.groupName) !== null && _d !== void 0 ? _d : undefined;
47082
+ this.groupName = (_e = data.groupName) !== null && _e !== void 0 ? _e : undefined;
46511
47083
  this.id = data.id;
46512
47084
  this.name = data.name;
46513
47085
  this.sortOrder = data.sortOrder;
46514
- this.updatedAt = (_e = parseDate(data.updatedAt)) !== null && _e !== void 0 ? _e : new Date();
46515
- this.contextViewType = (_f = data.contextViewType) !== null && _f !== void 0 ? _f : undefined;
47086
+ this.updatedAt = (_f = parseDate(data.updatedAt)) !== null && _f !== void 0 ? _f : new Date();
47087
+ this.contextViewType = (_g = data.contextViewType) !== null && _g !== void 0 ? _g : undefined;
46516
47088
  this.trigger = data.trigger;
46517
47089
  this.triggerType = data.triggerType;
46518
47090
  this.type = data.type;
46519
- this.userContextViewType = (_g = data.userContextViewType) !== null && _g !== void 0 ? _g : undefined;
47091
+ this.userContextViewType = (_h = data.userContextViewType) !== null && _h !== void 0 ? _h : undefined;
46520
47092
  this._creator = data.creator;
46521
- this._customView = (_h = data.customView) !== null && _h !== void 0 ? _h : undefined;
46522
- this._cycle = (_j = data.cycle) !== null && _j !== void 0 ? _j : undefined;
46523
- this._label = (_k = data.label) !== null && _k !== void 0 ? _k : undefined;
46524
- this._project = (_l = data.project) !== null && _l !== void 0 ? _l : undefined;
46525
- this._team = (_m = data.team) !== null && _m !== void 0 ? _m : undefined;
46526
- this._user = (_o = data.user) !== null && _o !== void 0 ? _o : undefined;
47093
+ this._customView = (_j = data.customView) !== null && _j !== void 0 ? _j : undefined;
47094
+ this._cycle = (_k = data.cycle) !== null && _k !== void 0 ? _k : undefined;
47095
+ this._label = (_l = data.label) !== null && _l !== void 0 ? _l : undefined;
47096
+ this._project = (_m = data.project) !== null && _m !== void 0 ? _m : undefined;
47097
+ this._team = (_o = data.team) !== null && _o !== void 0 ? _o : undefined;
47098
+ this._user = (_p = data.user) !== null && _p !== void 0 ? _p : undefined;
46527
47099
  }
46528
47100
  /** The user who created the workflow. */
46529
47101
  get creator() {
@@ -50028,7 +50600,7 @@
50028
50600
  super(request);
50029
50601
  }
50030
50602
  /**
50031
- * Call the DeleteDocument mutation and return a DeletePayload
50603
+ * Call the DeleteDocument mutation and return a DocumentArchivePayload
50032
50604
  *
50033
50605
  * @param id - required id to pass to deleteDocument
50034
50606
  * @returns parsed response from DeleteDocumentMutation
@@ -50039,7 +50611,32 @@
50039
50611
  id,
50040
50612
  });
50041
50613
  const data = response.documentDelete;
50042
- return new DeletePayload(this._request, data);
50614
+ return new DocumentArchivePayload(this._request, data);
50615
+ });
50616
+ }
50617
+ }
50618
+ /**
50619
+ * A fetchable UnarchiveDocument Mutation
50620
+ *
50621
+ * @param request - function to call the graphql client
50622
+ */
50623
+ class UnarchiveDocumentMutation extends Request {
50624
+ constructor(request) {
50625
+ super(request);
50626
+ }
50627
+ /**
50628
+ * Call the UnarchiveDocument mutation and return a DocumentArchivePayload
50629
+ *
50630
+ * @param id - required id to pass to unarchiveDocument
50631
+ * @returns parsed response from UnarchiveDocumentMutation
50632
+ */
50633
+ fetch(id) {
50634
+ return __awaiter(this, void 0, void 0, function* () {
50635
+ const response = yield this._request(UnarchiveDocumentDocument, {
50636
+ id,
50637
+ });
50638
+ const data = response.documentUnarchive;
50639
+ return new DocumentArchivePayload(this._request, data);
50043
50640
  });
50044
50641
  }
50045
50642
  }
@@ -54333,31 +54930,6 @@
54333
54930
  });
54334
54931
  }
54335
54932
  }
54336
- /**
54337
- * A fetchable UserSettingsFlagIncrement Mutation
54338
- *
54339
- * @param request - function to call the graphql client
54340
- */
54341
- class UserSettingsFlagIncrementMutation extends Request {
54342
- constructor(request) {
54343
- super(request);
54344
- }
54345
- /**
54346
- * Call the UserSettingsFlagIncrement mutation and return a UserSettingsFlagPayload
54347
- *
54348
- * @param flag - required flag to pass to userSettingsFlagIncrement
54349
- * @returns parsed response from UserSettingsFlagIncrementMutation
54350
- */
54351
- fetch(flag) {
54352
- return __awaiter(this, void 0, void 0, function* () {
54353
- const response = yield this._request(UserSettingsFlagIncrementDocument, {
54354
- flag,
54355
- });
54356
- const data = response.userSettingsFlagIncrement;
54357
- return new UserSettingsFlagPayload(this._request, data);
54358
- });
54359
- }
54360
- }
54361
54933
  /**
54362
54934
  * A fetchable UserSettingsFlagsReset Mutation
54363
54935
  *
@@ -58431,14 +59003,23 @@
58431
59003
  return new CreateDocumentMutation(this._request).fetch(input);
58432
59004
  }
58433
59005
  /**
58434
- * Deletes a document.
59006
+ * Deletes (trashes) a document.
58435
59007
  *
58436
59008
  * @param id - required id to pass to deleteDocument
58437
- * @returns DeletePayload
59009
+ * @returns DocumentArchivePayload
58438
59010
  */
58439
59011
  deleteDocument(id) {
58440
59012
  return new DeleteDocumentMutation(this._request).fetch(id);
58441
59013
  }
59014
+ /**
59015
+ * Restores a document.
59016
+ *
59017
+ * @param id - required id to pass to unarchiveDocument
59018
+ * @returns DocumentArchivePayload
59019
+ */
59020
+ unarchiveDocument(id) {
59021
+ return new UnarchiveDocumentMutation(this._request).fetch(id);
59022
+ }
58442
59023
  /**
58443
59024
  * Updates a document.
58444
59025
  *
@@ -60030,15 +60611,6 @@
60030
60611
  userPromoteMember(id) {
60031
60612
  return new UserPromoteMemberMutation(this._request).fetch(id);
60032
60613
  }
60033
- /**
60034
- * [Deprecated] Updates a user's settings flag.
60035
- *
60036
- * @param flag - required flag to pass to userSettingsFlagIncrement
60037
- * @returns UserSettingsFlagPayload
60038
- */
60039
- userSettingsFlagIncrement(flag) {
60040
- return new UserSettingsFlagIncrementMutation(this._request).fetch(flag);
60041
- }
60042
60614
  /**
60043
60615
  * Resets user's setting flags.
60044
60616
  *
@@ -60317,6 +60889,7 @@
60317
60889
  exports.AuthOauthClientWithScope = AuthOauthClientWithScope;
60318
60890
  exports.AuthOauthClientWithTokens = AuthOauthClientWithTokens;
60319
60891
  exports.AuthOrganization = AuthOrganization;
60892
+ exports.AuthOrganizationBucketNamePayload = AuthOrganizationBucketNamePayload;
60320
60893
  exports.AuthOrganizationDomain = AuthOrganizationDomain;
60321
60894
  exports.AuthOrganizationExistsPayload = AuthOrganizationExistsPayload;
60322
60895
  exports.AuthOrganizationInvite = AuthOrganizationInvite;
@@ -60460,6 +61033,7 @@
60460
61033
  exports.DiaryEntryPayload = DiaryEntryPayload;
60461
61034
  exports.DiaryEntryQuery = DiaryEntryQuery;
60462
61035
  exports.Document = Document;
61036
+ exports.DocumentArchivePayload = DocumentArchivePayload;
60463
61037
  exports.DocumentConnection = DocumentConnection;
60464
61038
  exports.DocumentContent = DocumentContent;
60465
61039
  exports.DocumentContentHistory = DocumentContentHistory;
@@ -60503,6 +61077,10 @@
60503
61077
  exports.FavoriteQuery = FavoriteQuery;
60504
61078
  exports.Favorite_ChildrenQuery = Favorite_ChildrenQuery;
60505
61079
  exports.FavoritesQuery = FavoritesQuery;
61080
+ exports.FeatureFlag = FeatureFlag;
61081
+ exports.FeatureFlagConnection = FeatureFlagConnection;
61082
+ exports.FeatureFlagRolloutStage = FeatureFlagRolloutStage;
61083
+ exports.FeatureFlagRolloutStageConnection = FeatureFlagRolloutStageConnection;
60506
61084
  exports.FeatureNotAccessibleLinearError = FeatureNotAccessibleLinearError;
60507
61085
  exports.FileUploadMutation = FileUploadMutation;
60508
61086
  exports.ForbiddenLinearError = ForbiddenLinearError;
@@ -60650,6 +61228,7 @@
60650
61228
  exports.LINEAR_WEBHOOK_SIGNATURE_HEADER = LINEAR_WEBHOOK_SIGNATURE_HEADER;
60651
61229
  exports.LINEAR_WEBHOOK_TS_FIELD = LINEAR_WEBHOOK_TS_FIELD;
60652
61230
  exports.LabelNotificationSubscription = LabelNotificationSubscription;
61231
+ exports.LaunchDarklySettings = LaunchDarklySettings;
60653
61232
  exports.LeaveOrganizationMutation = LeaveOrganizationMutation;
60654
61233
  exports.LinearClient = LinearClient;
60655
61234
  exports.LinearConnection = LinearConnection;
@@ -60710,6 +61289,7 @@
60710
61289
  exports.OrganizationInvitePayload = OrganizationInvitePayload;
60711
61290
  exports.OrganizationInviteQuery = OrganizationInviteQuery;
60712
61291
  exports.OrganizationInvitesQuery = OrganizationInvitesQuery;
61292
+ exports.OrganizationIpRestriction = OrganizationIpRestriction;
60713
61293
  exports.OrganizationMeta = OrganizationMeta;
60714
61294
  exports.OrganizationPayload = OrganizationPayload;
60715
61295
  exports.OrganizationQuery = OrganizationQuery;
@@ -60731,7 +61311,6 @@
60731
61311
  exports.Project = Project;
60732
61312
  exports.ProjectArchivePayload = ProjectArchivePayload;
60733
61313
  exports.ProjectConnection = ProjectConnection;
60734
- exports.ProjectDetailSuggestionPayload = ProjectDetailSuggestionPayload;
60735
61314
  exports.ProjectFilterSuggestionPayload = ProjectFilterSuggestionPayload;
60736
61315
  exports.ProjectFilterSuggestionQuery = ProjectFilterSuggestionQuery;
60737
61316
  exports.ProjectLink = ProjectLink;
@@ -60876,6 +61455,7 @@
60876
61455
  exports.TriageResponsibilityPayload = TriageResponsibilityPayload;
60877
61456
  exports.TriageResponsibilityQuery = TriageResponsibilityQuery;
60878
61457
  exports.TriageResponsibility_ManualSelectionQuery = TriageResponsibility_ManualSelectionQuery;
61458
+ exports.UnarchiveDocumentMutation = UnarchiveDocumentMutation;
60879
61459
  exports.UnarchiveIssueMutation = UnarchiveIssueMutation;
60880
61460
  exports.UnarchiveNotificationMutation = UnarchiveNotificationMutation;
60881
61461
  exports.UnarchiveProjectMutation = UnarchiveProjectMutation;
@@ -60941,7 +61521,6 @@
60941
61521
  exports.UserPromoteMemberMutation = UserPromoteMemberMutation;
60942
61522
  exports.UserQuery = UserQuery;
60943
61523
  exports.UserSettings = UserSettings;
60944
- exports.UserSettingsFlagIncrementMutation = UserSettingsFlagIncrementMutation;
60945
61524
  exports.UserSettingsFlagPayload = UserSettingsFlagPayload;
60946
61525
  exports.UserSettingsFlagsResetMutation = UserSettingsFlagsResetMutation;
60947
61526
  exports.UserSettingsFlagsResetPayload = UserSettingsFlagsResetPayload;