@linear/sdk 12.0.0 → 13.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","npm_package_version":"12.0.0"};
12
+ const env = {"npm_package_name":"linear","npm_package_version":"13.0.0"};
13
13
  try {
14
14
  if (process) {
15
15
  process.env = Object.assign({}, process.env);
@@ -1393,6 +1393,14 @@
1393
1393
  ContextViewType["Triage"] = "triage";
1394
1394
  ContextViewType["UpcomingCycle"] = "upcomingCycle";
1395
1395
  })(ContextViewType || (ContextViewType = {}));
1396
+ /** [INTERNAL] By which resolution is a date defined. */
1397
+ var DateResolutionType;
1398
+ (function (DateResolutionType) {
1399
+ DateResolutionType["HalfYear"] = "halfYear";
1400
+ DateResolutionType["Month"] = "month";
1401
+ DateResolutionType["Quarter"] = "quarter";
1402
+ DateResolutionType["Year"] = "year";
1403
+ })(DateResolutionType || (DateResolutionType = {}));
1396
1404
  /** The day of the week. */
1397
1405
  var Day;
1398
1406
  (function (Day) {
@@ -1404,6 +1412,15 @@
1404
1412
  Day["Tuesday"] = "Tuesday";
1405
1413
  Day["Wednesday"] = "Wednesday";
1406
1414
  })(Day || (Day = {}));
1415
+ /** The various states of a pull/merge request. */
1416
+ var GitAutomationStates;
1417
+ (function (GitAutomationStates) {
1418
+ GitAutomationStates["Draft"] = "draft";
1419
+ GitAutomationStates["Merge"] = "merge";
1420
+ GitAutomationStates["Mergeable"] = "mergeable";
1421
+ GitAutomationStates["Review"] = "review";
1422
+ GitAutomationStates["Start"] = "start";
1423
+ })(GitAutomationStates || (GitAutomationStates = {}));
1407
1424
  /** Linear supported integration services. */
1408
1425
  var IntegrationService;
1409
1426
  (function (IntegrationService) {
@@ -1412,7 +1429,6 @@
1412
1429
  IntegrationService["Figma"] = "figma";
1413
1430
  IntegrationService["FigmaPlugin"] = "figmaPlugin";
1414
1431
  IntegrationService["Front"] = "front";
1415
- IntegrationService["GitHubSync"] = "gitHubSync";
1416
1432
  IntegrationService["Github"] = "github";
1417
1433
  IntegrationService["GithubCommit"] = "githubCommit";
1418
1434
  IntegrationService["GithubPersonal"] = "githubPersonal";
@@ -1468,6 +1484,13 @@
1468
1484
  PaginationOrderBy["CreatedAt"] = "createdAt";
1469
1485
  PaginationOrderBy["UpdatedAt"] = "updatedAt";
1470
1486
  })(PaginationOrderBy || (PaginationOrderBy = {}));
1487
+ /** Different tabs available inside a project. */
1488
+ var ProjectTab;
1489
+ (function (ProjectTab) {
1490
+ ProjectTab["Activity"] = "activity";
1491
+ ProjectTab["Documents"] = "documents";
1492
+ ProjectTab["Issues"] = "issues";
1493
+ })(ProjectTab || (ProjectTab = {}));
1471
1494
  /** The health type of a project when the update is created. */
1472
1495
  var ProjectUpdateHealthType;
1473
1496
  (function (ProjectUpdateHealthType) {
@@ -1505,6 +1528,13 @@
1505
1528
  SlaDayCountType["All"] = "all";
1506
1529
  SlaDayCountType["OnlyBusinessDays"] = "onlyBusinessDays";
1507
1530
  })(SlaDayCountType || (SlaDayCountType = {}));
1531
+ var SendStrategy;
1532
+ (function (SendStrategy) {
1533
+ SendStrategy["Desktop"] = "desktop";
1534
+ SendStrategy["DesktopAndPush"] = "desktopAndPush";
1535
+ SendStrategy["DesktopThenPush"] = "desktopThenPush";
1536
+ SendStrategy["Push"] = "push";
1537
+ })(SendStrategy || (SendStrategy = {}));
1508
1538
  var SlaStatus;
1509
1539
  (function (SlaStatus) {
1510
1540
  SlaStatus["Breached"] = "Breached";
@@ -1515,6 +1545,13 @@
1515
1545
  SlaStatus["MediumRisk"] = "MediumRisk";
1516
1546
  SlaStatus["Paused"] = "Paused";
1517
1547
  })(SlaStatus || (SlaStatus = {}));
1548
+ var SlackChannelType;
1549
+ (function (SlackChannelType) {
1550
+ SlackChannelType["DirectMessage"] = "DirectMessage";
1551
+ SlackChannelType["MultiPersonDirectMessage"] = "MultiPersonDirectMessage";
1552
+ SlackChannelType["Private"] = "Private";
1553
+ SlackChannelType["Public"] = "Public";
1554
+ })(SlackChannelType || (SlackChannelType = {}));
1518
1555
  /** Which action should be taken after an issue is added to triage. */
1519
1556
  var TriageResponsibilityAction;
1520
1557
  (function (TriageResponsibilityAction) {
@@ -1611,6 +1648,7 @@
1611
1648
  ViewType["MyIssuesCreatedByMe"] = "myIssuesCreatedByMe";
1612
1649
  ViewType["MyIssuesSubscribedTo"] = "myIssuesSubscribedTo";
1613
1650
  ViewType["Project"] = "project";
1651
+ ViewType["ProjectDocuments"] = "projectDocuments";
1614
1652
  ViewType["Projects"] = "projects";
1615
1653
  ViewType["ProjectsAll"] = "projectsAll";
1616
1654
  ViewType["ProjectsBacklog"] = "projectsBacklog";
@@ -2486,6 +2524,32 @@
2486
2524
  },
2487
2525
  ],
2488
2526
  };
2527
+ const TeamArchivePayloadFragmentDoc = {
2528
+ kind: "Document",
2529
+ definitions: [
2530
+ {
2531
+ kind: "FragmentDefinition",
2532
+ name: { kind: "Name", value: "TeamArchivePayload" },
2533
+ typeCondition: { kind: "NamedType", name: { kind: "Name", value: "TeamArchivePayload" } },
2534
+ selectionSet: {
2535
+ kind: "SelectionSet",
2536
+ selections: [
2537
+ { kind: "Field", name: { kind: "Name", value: "__typename" } },
2538
+ {
2539
+ kind: "Field",
2540
+ name: { kind: "Name", value: "entity" },
2541
+ selectionSet: {
2542
+ kind: "SelectionSet",
2543
+ selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }],
2544
+ },
2545
+ },
2546
+ { kind: "Field", name: { kind: "Name", value: "lastSyncId" } },
2547
+ { kind: "Field", name: { kind: "Name", value: "success" } },
2548
+ ],
2549
+ },
2550
+ },
2551
+ ],
2552
+ };
2489
2553
  const WorkflowStateArchivePayloadFragmentDoc = {
2490
2554
  kind: "Document",
2491
2555
  definitions: [
@@ -2581,6 +2645,14 @@
2581
2645
  selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "RoadmapArchivePayload" } }],
2582
2646
  },
2583
2647
  },
2648
+ {
2649
+ kind: "InlineFragment",
2650
+ typeCondition: { kind: "NamedType", name: { kind: "Name", value: "TeamArchivePayload" } },
2651
+ selectionSet: {
2652
+ kind: "SelectionSet",
2653
+ selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "TeamArchivePayload" } }],
2654
+ },
2655
+ },
2584
2656
  {
2585
2657
  kind: "InlineFragment",
2586
2658
  typeCondition: { kind: "NamedType", name: { kind: "Name", value: "WorkflowStateArchivePayload" } },
@@ -2828,54 +2900,6 @@
2828
2900
  },
2829
2901
  ],
2830
2902
  };
2831
- const TemplateFragmentDoc = {
2832
- kind: "Document",
2833
- definitions: [
2834
- {
2835
- kind: "FragmentDefinition",
2836
- name: { kind: "Name", value: "Template" },
2837
- typeCondition: { kind: "NamedType", name: { kind: "Name", value: "Template" } },
2838
- selectionSet: {
2839
- kind: "SelectionSet",
2840
- selections: [
2841
- { kind: "Field", name: { kind: "Name", value: "__typename" } },
2842
- { kind: "Field", name: { kind: "Name", value: "templateData" } },
2843
- { kind: "Field", name: { kind: "Name", value: "description" } },
2844
- { kind: "Field", name: { kind: "Name", value: "type" } },
2845
- { kind: "Field", name: { kind: "Name", value: "updatedAt" } },
2846
- { kind: "Field", name: { kind: "Name", value: "name" } },
2847
- {
2848
- kind: "Field",
2849
- name: { kind: "Name", value: "team" },
2850
- selectionSet: {
2851
- kind: "SelectionSet",
2852
- selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }],
2853
- },
2854
- },
2855
- { kind: "Field", name: { kind: "Name", value: "archivedAt" } },
2856
- { kind: "Field", name: { kind: "Name", value: "createdAt" } },
2857
- { kind: "Field", name: { kind: "Name", value: "id" } },
2858
- {
2859
- kind: "Field",
2860
- name: { kind: "Name", value: "creator" },
2861
- selectionSet: {
2862
- kind: "SelectionSet",
2863
- selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }],
2864
- },
2865
- },
2866
- {
2867
- kind: "Field",
2868
- name: { kind: "Name", value: "lastUpdatedBy" },
2869
- selectionSet: {
2870
- kind: "SelectionSet",
2871
- selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }],
2872
- },
2873
- },
2874
- ],
2875
- },
2876
- },
2877
- ],
2878
- };
2879
2903
  const UserAccountFragmentDoc = {
2880
2904
  kind: "Document",
2881
2905
  definitions: [
@@ -2977,6 +3001,44 @@
2977
3001
  },
2978
3002
  ],
2979
3003
  };
3004
+ const EmailIntakeAddressFragmentDoc = {
3005
+ kind: "Document",
3006
+ definitions: [
3007
+ {
3008
+ kind: "FragmentDefinition",
3009
+ name: { kind: "Name", value: "EmailIntakeAddress" },
3010
+ typeCondition: { kind: "NamedType", name: { kind: "Name", value: "EmailIntakeAddress" } },
3011
+ selectionSet: {
3012
+ kind: "SelectionSet",
3013
+ selections: [
3014
+ { kind: "Field", name: { kind: "Name", value: "__typename" } },
3015
+ { kind: "Field", name: { kind: "Name", value: "updatedAt" } },
3016
+ {
3017
+ kind: "Field",
3018
+ name: { kind: "Name", value: "team" },
3019
+ selectionSet: {
3020
+ kind: "SelectionSet",
3021
+ selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }],
3022
+ },
3023
+ },
3024
+ { kind: "Field", name: { kind: "Name", value: "archivedAt" } },
3025
+ { kind: "Field", name: { kind: "Name", value: "createdAt" } },
3026
+ { kind: "Field", name: { kind: "Name", value: "id" } },
3027
+ {
3028
+ kind: "Field",
3029
+ name: { kind: "Name", value: "creator" },
3030
+ selectionSet: {
3031
+ kind: "SelectionSet",
3032
+ selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }],
3033
+ },
3034
+ },
3035
+ { kind: "Field", name: { kind: "Name", value: "address" } },
3036
+ { kind: "Field", name: { kind: "Name", value: "enabled" } },
3037
+ ],
3038
+ },
3039
+ },
3040
+ ],
3041
+ };
2980
3042
  const PaidSubscriptionFragmentDoc = {
2981
3043
  kind: "Document",
2982
3044
  definitions: [
@@ -3032,6 +3094,7 @@
3032
3094
  { kind: "Field", name: { kind: "Name", value: "periodUploadVolume" } },
3033
3095
  { kind: "Field", name: { kind: "Name", value: "projectUpdateRemindersHour" } },
3034
3096
  { kind: "Field", name: { kind: "Name", value: "updatedAt" } },
3097
+ { kind: "Field", name: { kind: "Name", value: "fiscalYearStartMonth" } },
3035
3098
  { kind: "Field", name: { kind: "Name", value: "logoUrl" } },
3036
3099
  { kind: "Field", name: { kind: "Name", value: "name" } },
3037
3100
  {
@@ -3059,22 +3122,78 @@
3059
3122
  },
3060
3123
  ],
3061
3124
  };
3062
- const SyncResponseFragmentDoc = {
3125
+ const AuthOauthClientWithScopeFragmentDoc = {
3063
3126
  kind: "Document",
3064
3127
  definitions: [
3065
3128
  {
3066
3129
  kind: "FragmentDefinition",
3067
- name: { kind: "Name", value: "SyncResponse" },
3068
- typeCondition: { kind: "NamedType", name: { kind: "Name", value: "SyncResponse" } },
3130
+ name: { kind: "Name", value: "AuthOauthClientWithScope" },
3131
+ typeCondition: { kind: "NamedType", name: { kind: "Name", value: "AuthOauthClientWithScope" } },
3069
3132
  selectionSet: {
3070
3133
  kind: "SelectionSet",
3071
3134
  selections: [
3072
3135
  { kind: "Field", name: { kind: "Name", value: "__typename" } },
3073
- { kind: "Field", name: { kind: "Name", value: "delta" } },
3074
- { kind: "Field", name: { kind: "Name", value: "state" } },
3075
- { kind: "Field", name: { kind: "Name", value: "lastSyncId" } },
3076
- { kind: "Field", name: { kind: "Name", value: "subscribedSyncGroups" } },
3077
- { kind: "Field", name: { kind: "Name", value: "databaseVersion" } },
3136
+ { kind: "Field", name: { kind: "Name", value: "name" } },
3137
+ { kind: "Field", name: { kind: "Name", value: "imageUrl" } },
3138
+ { kind: "Field", name: { kind: "Name", value: "appId" } },
3139
+ { kind: "Field", name: { kind: "Name", value: "clientId" } },
3140
+ { kind: "Field", name: { kind: "Name", value: "scope" } },
3141
+ { kind: "Field", name: { kind: "Name", value: "webhookUrl" } },
3142
+ ],
3143
+ },
3144
+ },
3145
+ ],
3146
+ };
3147
+ const AuthOauthClientWithMembershipsFragmentDoc = {
3148
+ kind: "Document",
3149
+ definitions: [
3150
+ {
3151
+ kind: "FragmentDefinition",
3152
+ name: { kind: "Name", value: "AuthOauthClientWithMemberships" },
3153
+ typeCondition: { kind: "NamedType", name: { kind: "Name", value: "AuthOauthClientWithMemberships" } },
3154
+ selectionSet: {
3155
+ kind: "SelectionSet",
3156
+ selections: [
3157
+ { kind: "Field", name: { kind: "Name", value: "__typename" } },
3158
+ { kind: "Field", name: { kind: "Name", value: "name" } },
3159
+ { kind: "Field", name: { kind: "Name", value: "imageUrl" } },
3160
+ { kind: "Field", name: { kind: "Name", value: "appId" } },
3161
+ { kind: "Field", name: { kind: "Name", value: "clientId" } },
3162
+ { kind: "Field", name: { kind: "Name", value: "scope" } },
3163
+ { kind: "Field", name: { kind: "Name", value: "webhookUrl" } },
3164
+ { kind: "Field", name: { kind: "Name", value: "totalMembers" } },
3165
+ ],
3166
+ },
3167
+ },
3168
+ ],
3169
+ };
3170
+ const AuthenticationSessionResponseFragmentDoc = {
3171
+ kind: "Document",
3172
+ definitions: [
3173
+ {
3174
+ kind: "FragmentDefinition",
3175
+ name: { kind: "Name", value: "AuthenticationSessionResponse" },
3176
+ typeCondition: { kind: "NamedType", name: { kind: "Name", value: "AuthenticationSessionResponse" } },
3177
+ selectionSet: {
3178
+ kind: "SelectionSet",
3179
+ selections: [
3180
+ { kind: "Field", name: { kind: "Name", value: "__typename" } },
3181
+ { kind: "Field", name: { kind: "Name", value: "client" } },
3182
+ { kind: "Field", name: { kind: "Name", value: "countryCodes" } },
3183
+ { kind: "Field", name: { kind: "Name", value: "createdAt" } },
3184
+ { kind: "Field", name: { kind: "Name", value: "updatedAt" } },
3185
+ { kind: "Field", name: { kind: "Name", value: "location" } },
3186
+ { kind: "Field", name: { kind: "Name", value: "ip" } },
3187
+ { kind: "Field", name: { kind: "Name", value: "isCurrentSession" } },
3188
+ { kind: "Field", name: { kind: "Name", value: "locationCity" } },
3189
+ { kind: "Field", name: { kind: "Name", value: "locationCountryCode" } },
3190
+ { kind: "Field", name: { kind: "Name", value: "locationCountry" } },
3191
+ { kind: "Field", name: { kind: "Name", value: "name" } },
3192
+ { kind: "Field", name: { kind: "Name", value: "operatingSystem" } },
3193
+ { kind: "Field", name: { kind: "Name", value: "userAgent" } },
3194
+ { kind: "Field", name: { kind: "Name", value: "browserType" } },
3195
+ { kind: "Field", name: { kind: "Name", value: "lastActiveAt" } },
3196
+ { kind: "Field", name: { kind: "Name", value: "id" } },
3078
3197
  ],
3079
3198
  },
3080
3199
  },
@@ -3254,25 +3373,6 @@
3254
3373
  },
3255
3374
  ],
3256
3375
  };
3257
- const GitHubSettingsFragmentDoc = {
3258
- kind: "Document",
3259
- definitions: [
3260
- {
3261
- kind: "FragmentDefinition",
3262
- name: { kind: "Name", value: "GitHubSettings" },
3263
- typeCondition: { kind: "NamedType", name: { kind: "Name", value: "GitHubSettings" } },
3264
- selectionSet: {
3265
- kind: "SelectionSet",
3266
- selections: [
3267
- { kind: "Field", name: { kind: "Name", value: "__typename" } },
3268
- { kind: "Field", name: { kind: "Name", value: "orgLogin" } },
3269
- { kind: "Field", name: { kind: "Name", value: "orgAvatarUrl" } },
3270
- { kind: "Field", name: { kind: "Name", value: "repositories" } },
3271
- ],
3272
- },
3273
- },
3274
- ],
3275
- };
3276
3376
  const TeamRepoMappingFragmentDoc = {
3277
3377
  kind: "Document",
3278
3378
  definitions: [
@@ -3291,13 +3391,13 @@
3291
3391
  },
3292
3392
  ],
3293
3393
  };
3294
- const GitHubSyncRepoFragmentDoc = {
3394
+ const GitHubRepoFragmentDoc = {
3295
3395
  kind: "Document",
3296
3396
  definitions: [
3297
3397
  {
3298
3398
  kind: "FragmentDefinition",
3299
- name: { kind: "Name", value: "GitHubSyncRepo" },
3300
- typeCondition: { kind: "NamedType", name: { kind: "Name", value: "GitHubSyncRepo" } },
3399
+ name: { kind: "Name", value: "GitHubRepo" },
3400
+ typeCondition: { kind: "NamedType", name: { kind: "Name", value: "GitHubRepo" } },
3301
3401
  selectionSet: {
3302
3402
  kind: "SelectionSet",
3303
3403
  selections: [
@@ -3309,31 +3409,33 @@
3309
3409
  },
3310
3410
  ],
3311
3411
  };
3312
- const GitHubSyncSettingsFragmentDoc = {
3412
+ const GitHubSettingsFragmentDoc = {
3313
3413
  kind: "Document",
3314
3414
  definitions: [
3315
3415
  {
3316
3416
  kind: "FragmentDefinition",
3317
- name: { kind: "Name", value: "GitHubSyncSettings" },
3318
- typeCondition: { kind: "NamedType", name: { kind: "Name", value: "GitHubSyncSettings" } },
3417
+ name: { kind: "Name", value: "GitHubSettings" },
3418
+ typeCondition: { kind: "NamedType", name: { kind: "Name", value: "GitHubSettings" } },
3319
3419
  selectionSet: {
3320
3420
  kind: "SelectionSet",
3321
3421
  selections: [
3322
3422
  { kind: "Field", name: { kind: "Name", value: "__typename" } },
3323
3423
  {
3324
3424
  kind: "Field",
3325
- name: { kind: "Name", value: "repoMapping" },
3425
+ name: { kind: "Name", value: "repositoriesMapping" },
3326
3426
  selectionSet: {
3327
3427
  kind: "SelectionSet",
3328
3428
  selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "TeamRepoMapping" } }],
3329
3429
  },
3330
3430
  },
3431
+ { kind: "Field", name: { kind: "Name", value: "orgLogin" } },
3432
+ { kind: "Field", name: { kind: "Name", value: "orgAvatarUrl" } },
3331
3433
  {
3332
3434
  kind: "Field",
3333
- name: { kind: "Name", value: "repos" },
3435
+ name: { kind: "Name", value: "repositories" },
3334
3436
  selectionSet: {
3335
3437
  kind: "SelectionSet",
3336
- selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "GitHubSyncRepo" } }],
3438
+ selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "GitHubRepo" } }],
3337
3439
  },
3338
3440
  },
3339
3441
  ],
@@ -3341,6 +3443,23 @@
3341
3443
  },
3342
3444
  ],
3343
3445
  };
3446
+ const GitHubPersonalSettingsFragmentDoc = {
3447
+ kind: "Document",
3448
+ definitions: [
3449
+ {
3450
+ kind: "FragmentDefinition",
3451
+ name: { kind: "Name", value: "GitHubPersonalSettings" },
3452
+ typeCondition: { kind: "NamedType", name: { kind: "Name", value: "GitHubPersonalSettings" } },
3453
+ selectionSet: {
3454
+ kind: "SelectionSet",
3455
+ selections: [
3456
+ { kind: "Field", name: { kind: "Name", value: "__typename" } },
3457
+ { kind: "Field", name: { kind: "Name", value: "login" } },
3458
+ ],
3459
+ },
3460
+ },
3461
+ ],
3462
+ };
3344
3463
  const GitLabSettingsFragmentDoc = {
3345
3464
  kind: "Document",
3346
3465
  definitions: [
@@ -3434,6 +3553,7 @@
3434
3553
  { kind: "Field", name: { kind: "Name", value: "jiraProjectId" } },
3435
3554
  { kind: "Field", name: { kind: "Name", value: "linearTeamId" } },
3436
3555
  { kind: "Field", name: { kind: "Name", value: "bidirectional" } },
3556
+ { kind: "Field", name: { kind: "Name", value: "default" } },
3437
3557
  ],
3438
3558
  },
3439
3559
  },
@@ -3466,6 +3586,7 @@
3466
3586
  selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "JiraLinearMapping" } }],
3467
3587
  },
3468
3588
  },
3589
+ { kind: "Field", name: { kind: "Name", value: "isJiraServer" } },
3469
3590
  ],
3470
3591
  },
3471
3592
  },
@@ -3614,6 +3735,7 @@
3614
3735
  { kind: "Field", name: { kind: "Name", value: "__typename" } },
3615
3736
  { kind: "Field", name: { kind: "Name", value: "id" } },
3616
3737
  { kind: "Field", name: { kind: "Name", value: "name" } },
3738
+ { kind: "Field", name: { kind: "Name", value: "autoCreateTemplateId" } },
3617
3739
  { kind: "Field", name: { kind: "Name", value: "autoCreateOnBotMention" } },
3618
3740
  { kind: "Field", name: { kind: "Name", value: "isPrivate" } },
3619
3741
  { kind: "Field", name: { kind: "Name", value: "isShared" } },
@@ -3729,10 +3851,10 @@
3729
3851
  },
3730
3852
  {
3731
3853
  kind: "Field",
3732
- name: { kind: "Name", value: "gitHubSync" },
3854
+ name: { kind: "Name", value: "gitHubPersonal" },
3733
3855
  selectionSet: {
3734
3856
  kind: "SelectionSet",
3735
- selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "GitHubSyncSettings" } }],
3857
+ selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "GitHubPersonalSettings" } }],
3736
3858
  },
3737
3859
  },
3738
3860
  {
@@ -4271,23 +4393,6 @@
4271
4393
  },
4272
4394
  ],
4273
4395
  };
4274
- const AuthApiKeyDeletePayloadFragmentDoc = {
4275
- kind: "Document",
4276
- definitions: [
4277
- {
4278
- kind: "FragmentDefinition",
4279
- name: { kind: "Name", value: "AuthApiKeyDeletePayload" },
4280
- typeCondition: { kind: "NamedType", name: { kind: "Name", value: "AuthApiKeyDeletePayload" } },
4281
- selectionSet: {
4282
- kind: "SelectionSet",
4283
- selections: [
4284
- { kind: "Field", name: { kind: "Name", value: "__typename" } },
4285
- { kind: "Field", name: { kind: "Name", value: "success" } },
4286
- ],
4287
- },
4288
- },
4289
- ],
4290
- };
4291
4396
  const AuthApiKeyFragmentDoc = {
4292
4397
  kind: "Document",
4293
4398
  definitions: [
@@ -4330,43 +4435,6 @@
4330
4435
  },
4331
4436
  ],
4332
4437
  };
4333
- const AuthIntegrationFragmentDoc = {
4334
- kind: "Document",
4335
- definitions: [
4336
- {
4337
- kind: "FragmentDefinition",
4338
- name: { kind: "Name", value: "AuthIntegration" },
4339
- typeCondition: { kind: "NamedType", name: { kind: "Name", value: "AuthIntegration" } },
4340
- selectionSet: {
4341
- kind: "SelectionSet",
4342
- selections: [
4343
- { kind: "Field", name: { kind: "Name", value: "__typename" } },
4344
- { kind: "Field", name: { kind: "Name", value: "id" } },
4345
- ],
4346
- },
4347
- },
4348
- ],
4349
- };
4350
- const AuthOauthClientFragmentDoc = {
4351
- kind: "Document",
4352
- definitions: [
4353
- {
4354
- kind: "FragmentDefinition",
4355
- name: { kind: "Name", value: "AuthOauthClient" },
4356
- typeCondition: { kind: "NamedType", name: { kind: "Name", value: "AuthOauthClient" } },
4357
- selectionSet: {
4358
- kind: "SelectionSet",
4359
- selections: [
4360
- { kind: "Field", name: { kind: "Name", value: "__typename" } },
4361
- { kind: "Field", name: { kind: "Name", value: "redirectUris" } },
4362
- { kind: "Field", name: { kind: "Name", value: "clientId" } },
4363
- { kind: "Field", name: { kind: "Name", value: "clientSecret" } },
4364
- { kind: "Field", name: { kind: "Name", value: "id" } },
4365
- ],
4366
- },
4367
- },
4368
- ],
4369
- };
4370
4438
  const AuthOrganizationFragmentDoc = {
4371
4439
  kind: "Document",
4372
4440
  definitions: [
@@ -4384,8 +4452,9 @@
4384
4452
  { kind: "Field", name: { kind: "Name", value: "name" } },
4385
4453
  { kind: "Field", name: { kind: "Name", value: "urlKey" } },
4386
4454
  { kind: "Field", name: { kind: "Name", value: "deletionRequestedAt" } },
4387
- { kind: "Field", name: { kind: "Name", value: "samlEnabled" } },
4388
4455
  { kind: "Field", name: { kind: "Name", value: "id" } },
4456
+ { kind: "Field", name: { kind: "Name", value: "samlEnabled" } },
4457
+ { kind: "Field", name: { kind: "Name", value: "scimEnabled" } },
4389
4458
  { kind: "Field", name: { kind: "Name", value: "userCount" } },
4390
4459
  ],
4391
4460
  },
@@ -4415,6 +4484,170 @@
4415
4484
  { kind: "Field", name: { kind: "Name", value: "displayName" } },
4416
4485
  { kind: "Field", name: { kind: "Name", value: "email" } },
4417
4486
  { kind: "Field", name: { kind: "Name", value: "name" } },
4487
+ { kind: "Field", name: { kind: "Name", value: "active" } },
4488
+ { kind: "Field", name: { kind: "Name", value: "id" } },
4489
+ ],
4490
+ },
4491
+ },
4492
+ ],
4493
+ };
4494
+ const AuthCreateOrJoinOrganizationResponseFragmentDoc = {
4495
+ kind: "Document",
4496
+ definitions: [
4497
+ {
4498
+ kind: "FragmentDefinition",
4499
+ name: { kind: "Name", value: "AuthCreateOrJoinOrganizationResponse" },
4500
+ typeCondition: { kind: "NamedType", name: { kind: "Name", value: "AuthCreateOrJoinOrganizationResponse" } },
4501
+ selectionSet: {
4502
+ kind: "SelectionSet",
4503
+ selections: [
4504
+ { kind: "Field", name: { kind: "Name", value: "__typename" } },
4505
+ {
4506
+ kind: "Field",
4507
+ name: { kind: "Name", value: "authOrganization" },
4508
+ selectionSet: {
4509
+ kind: "SelectionSet",
4510
+ selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "AuthOrganization" } }],
4511
+ },
4512
+ },
4513
+ {
4514
+ kind: "Field",
4515
+ name: { kind: "Name", value: "authUser" },
4516
+ selectionSet: {
4517
+ kind: "SelectionSet",
4518
+ selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "AuthUser" } }],
4519
+ },
4520
+ },
4521
+ { kind: "Field", name: { kind: "Name", value: "grantDomainAccess" } },
4522
+ {
4523
+ kind: "Field",
4524
+ name: { kind: "Name", value: "organization" },
4525
+ selectionSet: {
4526
+ kind: "SelectionSet",
4527
+ selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "AuthOrganization" } }],
4528
+ },
4529
+ },
4530
+ {
4531
+ kind: "Field",
4532
+ name: { kind: "Name", value: "user" },
4533
+ selectionSet: {
4534
+ kind: "SelectionSet",
4535
+ selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "AuthUser" } }],
4536
+ },
4537
+ },
4538
+ ],
4539
+ },
4540
+ },
4541
+ ],
4542
+ };
4543
+ const AuthIntegrationFragmentDoc = {
4544
+ kind: "Document",
4545
+ definitions: [
4546
+ {
4547
+ kind: "FragmentDefinition",
4548
+ name: { kind: "Name", value: "AuthIntegration" },
4549
+ typeCondition: { kind: "NamedType", name: { kind: "Name", value: "AuthIntegration" } },
4550
+ selectionSet: {
4551
+ kind: "SelectionSet",
4552
+ selections: [
4553
+ { kind: "Field", name: { kind: "Name", value: "__typename" } },
4554
+ { kind: "Field", name: { kind: "Name", value: "id" } },
4555
+ ],
4556
+ },
4557
+ },
4558
+ ],
4559
+ };
4560
+ const AuthOauthClientFragmentDoc = {
4561
+ kind: "Document",
4562
+ definitions: [
4563
+ {
4564
+ kind: "FragmentDefinition",
4565
+ name: { kind: "Name", value: "AuthOauthClient" },
4566
+ typeCondition: { kind: "NamedType", name: { kind: "Name", value: "AuthOauthClient" } },
4567
+ selectionSet: {
4568
+ kind: "SelectionSet",
4569
+ selections: [
4570
+ { kind: "Field", name: { kind: "Name", value: "__typename" } },
4571
+ { kind: "Field", name: { kind: "Name", value: "imageUrl" } },
4572
+ { kind: "Field", name: { kind: "Name", value: "description" } },
4573
+ { kind: "Field", name: { kind: "Name", value: "redirectUris" } },
4574
+ { kind: "Field", name: { kind: "Name", value: "developer" } },
4575
+ { kind: "Field", name: { kind: "Name", value: "clientId" } },
4576
+ { kind: "Field", name: { kind: "Name", value: "name" } },
4577
+ { kind: "Field", name: { kind: "Name", value: "clientSecret" } },
4578
+ { kind: "Field", name: { kind: "Name", value: "creatorId" } },
4579
+ { kind: "Field", name: { kind: "Name", value: "organizationId" } },
4580
+ { kind: "Field", name: { kind: "Name", value: "id" } },
4581
+ { kind: "Field", name: { kind: "Name", value: "developerUrl" } },
4582
+ { kind: "Field", name: { kind: "Name", value: "webhookUrl" } },
4583
+ { kind: "Field", name: { kind: "Name", value: "publicEnabled" } },
4584
+ { kind: "Field", name: { kind: "Name", value: "archivedAt" } },
4585
+ ],
4586
+ },
4587
+ },
4588
+ ],
4589
+ };
4590
+ const OauthTokenFragmentDoc = {
4591
+ kind: "Document",
4592
+ definitions: [
4593
+ {
4594
+ kind: "FragmentDefinition",
4595
+ name: { kind: "Name", value: "OauthToken" },
4596
+ typeCondition: { kind: "NamedType", name: { kind: "Name", value: "OauthToken" } },
4597
+ selectionSet: {
4598
+ kind: "SelectionSet",
4599
+ selections: [
4600
+ { kind: "Field", name: { kind: "Name", value: "__typename" } },
4601
+ { kind: "Field", name: { kind: "Name", value: "createdAt" } },
4602
+ { kind: "Field", name: { kind: "Name", value: "id" } },
4603
+ ],
4604
+ },
4605
+ },
4606
+ ],
4607
+ };
4608
+ const AuthOauthClientWithTokensFragmentDoc = {
4609
+ kind: "Document",
4610
+ definitions: [
4611
+ {
4612
+ kind: "FragmentDefinition",
4613
+ name: { kind: "Name", value: "AuthOauthClientWithTokens" },
4614
+ typeCondition: { kind: "NamedType", name: { kind: "Name", value: "AuthOauthClientWithTokens" } },
4615
+ selectionSet: {
4616
+ kind: "SelectionSet",
4617
+ selections: [
4618
+ { kind: "Field", name: { kind: "Name", value: "__typename" } },
4619
+ {
4620
+ kind: "Field",
4621
+ name: { kind: "Name", value: "client" },
4622
+ selectionSet: {
4623
+ kind: "SelectionSet",
4624
+ selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "AuthOauthClient" } }],
4625
+ },
4626
+ },
4627
+ {
4628
+ kind: "Field",
4629
+ name: { kind: "Name", value: "tokens" },
4630
+ selectionSet: {
4631
+ kind: "SelectionSet",
4632
+ selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "OauthToken" } }],
4633
+ },
4634
+ },
4635
+ ],
4636
+ },
4637
+ },
4638
+ ],
4639
+ };
4640
+ const AuthOrganizationDomainFragmentDoc = {
4641
+ kind: "Document",
4642
+ definitions: [
4643
+ {
4644
+ kind: "FragmentDefinition",
4645
+ name: { kind: "Name", value: "AuthOrganizationDomain" },
4646
+ typeCondition: { kind: "NamedType", name: { kind: "Name", value: "AuthOrganizationDomain" } },
4647
+ selectionSet: {
4648
+ kind: "SelectionSet",
4649
+ selections: [
4650
+ { kind: "Field", name: { kind: "Name", value: "__typename" } },
4418
4651
  { kind: "Field", name: { kind: "Name", value: "id" } },
4419
4652
  ],
4420
4653
  },
@@ -4466,33 +4699,39 @@
4466
4699
  },
4467
4700
  ],
4468
4701
  };
4469
- const AuthenticationSessionResponseFragmentDoc = {
4702
+ const AuthSuccessPayloadFragmentDoc = {
4470
4703
  kind: "Document",
4471
4704
  definitions: [
4472
4705
  {
4473
4706
  kind: "FragmentDefinition",
4474
- name: { kind: "Name", value: "AuthenticationSessionResponse" },
4475
- typeCondition: { kind: "NamedType", name: { kind: "Name", value: "AuthenticationSessionResponse" } },
4707
+ name: { kind: "Name", value: "AuthSuccessPayload" },
4708
+ typeCondition: { kind: "NamedType", name: { kind: "Name", value: "AuthSuccessPayload" } },
4709
+ selectionSet: {
4710
+ kind: "SelectionSet",
4711
+ selections: [
4712
+ { kind: "Field", name: { kind: "Name", value: "__typename" } },
4713
+ { kind: "Field", name: { kind: "Name", value: "success" } },
4714
+ ],
4715
+ },
4716
+ },
4717
+ ],
4718
+ };
4719
+ const AuthorizedApplicationBaseFragmentDoc = {
4720
+ kind: "Document",
4721
+ definitions: [
4722
+ {
4723
+ kind: "FragmentDefinition",
4724
+ name: { kind: "Name", value: "AuthorizedApplicationBase" },
4725
+ typeCondition: { kind: "NamedType", name: { kind: "Name", value: "AuthorizedApplicationBase" } },
4476
4726
  selectionSet: {
4477
4727
  kind: "SelectionSet",
4478
4728
  selections: [
4479
4729
  { kind: "Field", name: { kind: "Name", value: "__typename" } },
4480
- { kind: "Field", name: { kind: "Name", value: "client" } },
4481
- { kind: "Field", name: { kind: "Name", value: "countryCodes" } },
4482
- { kind: "Field", name: { kind: "Name", value: "createdAt" } },
4483
- { kind: "Field", name: { kind: "Name", value: "updatedAt" } },
4484
- { kind: "Field", name: { kind: "Name", value: "location" } },
4485
- { kind: "Field", name: { kind: "Name", value: "ip" } },
4486
- { kind: "Field", name: { kind: "Name", value: "isCurrentSession" } },
4487
- { kind: "Field", name: { kind: "Name", value: "locationCity" } },
4488
- { kind: "Field", name: { kind: "Name", value: "locationCountryCode" } },
4489
- { kind: "Field", name: { kind: "Name", value: "locationCountry" } },
4490
4730
  { kind: "Field", name: { kind: "Name", value: "name" } },
4491
- { kind: "Field", name: { kind: "Name", value: "operatingSystem" } },
4492
- { kind: "Field", name: { kind: "Name", value: "userAgent" } },
4493
- { kind: "Field", name: { kind: "Name", value: "browserType" } },
4494
- { kind: "Field", name: { kind: "Name", value: "lastActiveAt" } },
4495
- { kind: "Field", name: { kind: "Name", value: "id" } },
4731
+ { kind: "Field", name: { kind: "Name", value: "imageUrl" } },
4732
+ { kind: "Field", name: { kind: "Name", value: "appId" } },
4733
+ { kind: "Field", name: { kind: "Name", value: "clientId" } },
4734
+ { kind: "Field", name: { kind: "Name", value: "scope" } },
4496
4735
  ],
4497
4736
  },
4498
4737
  },
@@ -4553,6 +4792,14 @@
4553
4792
  selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }],
4554
4793
  },
4555
4794
  },
4795
+ {
4796
+ kind: "Field",
4797
+ name: { kind: "Name", value: "projectUpdate" },
4798
+ selectionSet: {
4799
+ kind: "SelectionSet",
4800
+ selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }],
4801
+ },
4802
+ },
4556
4803
  { kind: "Field", name: { kind: "Name", value: "archivedAt" } },
4557
4804
  { kind: "Field", name: { kind: "Name", value: "createdAt" } },
4558
4805
  { kind: "Field", name: { kind: "Name", value: "resolvedAt" } },
@@ -5039,6 +5286,7 @@
5039
5286
  },
5040
5287
  },
5041
5288
  { kind: "Field", name: { kind: "Name", value: "updatedAt" } },
5289
+ { kind: "Field", name: { kind: "Name", value: "sortOrder" } },
5042
5290
  {
5043
5291
  kind: "Field",
5044
5292
  name: { kind: "Name", value: "project" },
@@ -5221,6 +5469,7 @@
5221
5469
  },
5222
5470
  },
5223
5471
  { kind: "Field", name: { kind: "Name", value: "updatedAt" } },
5472
+ { kind: "Field", name: { kind: "Name", value: "sortOrder" } },
5224
5473
  {
5225
5474
  kind: "Field",
5226
5475
  name: { kind: "Name", value: "project" },
@@ -5646,6 +5895,101 @@
5646
5895
  },
5647
5896
  ],
5648
5897
  };
5898
+ const GitAutomationStateFragmentDoc = {
5899
+ kind: "Document",
5900
+ definitions: [
5901
+ {
5902
+ kind: "FragmentDefinition",
5903
+ name: { kind: "Name", value: "GitAutomationState" },
5904
+ typeCondition: { kind: "NamedType", name: { kind: "Name", value: "GitAutomationState" } },
5905
+ selectionSet: {
5906
+ kind: "SelectionSet",
5907
+ selections: [
5908
+ { kind: "Field", name: { kind: "Name", value: "__typename" } },
5909
+ {
5910
+ kind: "Field",
5911
+ name: { kind: "Name", value: "state" },
5912
+ selectionSet: {
5913
+ kind: "SelectionSet",
5914
+ selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }],
5915
+ },
5916
+ },
5917
+ { kind: "Field", name: { kind: "Name", value: "updatedAt" } },
5918
+ { kind: "Field", name: { kind: "Name", value: "branchPattern" } },
5919
+ {
5920
+ kind: "Field",
5921
+ name: { kind: "Name", value: "team" },
5922
+ selectionSet: {
5923
+ kind: "SelectionSet",
5924
+ selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }],
5925
+ },
5926
+ },
5927
+ { kind: "Field", name: { kind: "Name", value: "archivedAt" } },
5928
+ { kind: "Field", name: { kind: "Name", value: "createdAt" } },
5929
+ { kind: "Field", name: { kind: "Name", value: "id" } },
5930
+ ],
5931
+ },
5932
+ },
5933
+ ],
5934
+ };
5935
+ const GitAutomationStateConnectionFragmentDoc = {
5936
+ kind: "Document",
5937
+ definitions: [
5938
+ {
5939
+ kind: "FragmentDefinition",
5940
+ name: { kind: "Name", value: "GitAutomationStateConnection" },
5941
+ typeCondition: { kind: "NamedType", name: { kind: "Name", value: "GitAutomationStateConnection" } },
5942
+ selectionSet: {
5943
+ kind: "SelectionSet",
5944
+ selections: [
5945
+ { kind: "Field", name: { kind: "Name", value: "__typename" } },
5946
+ {
5947
+ kind: "Field",
5948
+ name: { kind: "Name", value: "nodes" },
5949
+ selectionSet: {
5950
+ kind: "SelectionSet",
5951
+ selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "GitAutomationState" } }],
5952
+ },
5953
+ },
5954
+ {
5955
+ kind: "Field",
5956
+ name: { kind: "Name", value: "pageInfo" },
5957
+ selectionSet: {
5958
+ kind: "SelectionSet",
5959
+ selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "PageInfo" } }],
5960
+ },
5961
+ },
5962
+ ],
5963
+ },
5964
+ },
5965
+ ],
5966
+ };
5967
+ const GitAutomationStatePayloadFragmentDoc = {
5968
+ kind: "Document",
5969
+ definitions: [
5970
+ {
5971
+ kind: "FragmentDefinition",
5972
+ name: { kind: "Name", value: "GitAutomationStatePayload" },
5973
+ typeCondition: { kind: "NamedType", name: { kind: "Name", value: "GitAutomationStatePayload" } },
5974
+ selectionSet: {
5975
+ kind: "SelectionSet",
5976
+ selections: [
5977
+ { kind: "Field", name: { kind: "Name", value: "__typename" } },
5978
+ {
5979
+ kind: "Field",
5980
+ name: { kind: "Name", value: "gitAutomationState" },
5981
+ selectionSet: {
5982
+ kind: "SelectionSet",
5983
+ selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "GitAutomationState" } }],
5984
+ },
5985
+ },
5986
+ { kind: "Field", name: { kind: "Name", value: "lastSyncId" } },
5987
+ { kind: "Field", name: { kind: "Name", value: "success" } },
5988
+ ],
5989
+ },
5990
+ },
5991
+ ],
5992
+ };
5649
5993
  const GitHubCommitIntegrationPayloadFragmentDoc = {
5650
5994
  kind: "Document",
5651
5995
  definitions: [
@@ -6015,12 +6359,21 @@
6015
6359
  selections: [
6016
6360
  { kind: "Field", name: { kind: "Name", value: "__typename" } },
6017
6361
  { kind: "Field", name: { kind: "Name", value: "trashed" } },
6362
+ { kind: "Field", name: { kind: "Name", value: "labelIds" } },
6018
6363
  { kind: "Field", name: { kind: "Name", value: "url" } },
6019
6364
  { kind: "Field", name: { kind: "Name", value: "identifier" } },
6020
6365
  { kind: "Field", name: { kind: "Name", value: "priorityLabel" } },
6021
6366
  { kind: "Field", name: { kind: "Name", value: "previousIdentifiers" } },
6022
6367
  { kind: "Field", name: { kind: "Name", value: "customerTicketCount" } },
6023
6368
  { kind: "Field", name: { kind: "Name", value: "branchName" } },
6369
+ {
6370
+ kind: "Field",
6371
+ name: { kind: "Name", value: "botActor" },
6372
+ selectionSet: {
6373
+ kind: "SelectionSet",
6374
+ selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "ActorBot" } }],
6375
+ },
6376
+ },
6024
6377
  {
6025
6378
  kind: "Field",
6026
6379
  name: { kind: "Name", value: "cycle" },
@@ -6833,6 +7186,7 @@
6833
7186
  selections: [
6834
7187
  { kind: "Field", name: { kind: "Name", value: "__typename" } },
6835
7188
  { kind: "Field", name: { kind: "Name", value: "trashed" } },
7189
+ { kind: "Field", name: { kind: "Name", value: "labelIds" } },
6836
7190
  { kind: "Field", name: { kind: "Name", value: "url" } },
6837
7191
  { kind: "Field", name: { kind: "Name", value: "identifier" } },
6838
7192
  { kind: "Field", name: { kind: "Name", value: "priorityLabel" } },
@@ -6840,6 +7194,14 @@
6840
7194
  { kind: "Field", name: { kind: "Name", value: "previousIdentifiers" } },
6841
7195
  { kind: "Field", name: { kind: "Name", value: "customerTicketCount" } },
6842
7196
  { kind: "Field", name: { kind: "Name", value: "branchName" } },
7197
+ {
7198
+ kind: "Field",
7199
+ name: { kind: "Name", value: "botActor" },
7200
+ selectionSet: {
7201
+ kind: "SelectionSet",
7202
+ selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "ActorBot" } }],
7203
+ },
7204
+ },
6843
7205
  {
6844
7206
  kind: "Field",
6845
7207
  name: { kind: "Name", value: "cycle" },
@@ -7635,6 +7997,7 @@
7635
7997
  { kind: "Field", name: { kind: "Name", value: "updatedAt" } },
7636
7998
  { kind: "Field", name: { kind: "Name", value: "url" } },
7637
7999
  { kind: "Field", name: { kind: "Name", value: "label" } },
8000
+ { kind: "Field", name: { kind: "Name", value: "sortOrder" } },
7638
8001
  {
7639
8002
  kind: "Field",
7640
8003
  name: { kind: "Name", value: "project" },
@@ -8395,7 +8758,31 @@
8395
8758
  selections: [
8396
8759
  { kind: "Field", name: { kind: "Name", value: "__typename" } },
8397
8760
  { kind: "Field", name: { kind: "Name", value: "emoji" } },
8761
+ {
8762
+ kind: "Field",
8763
+ name: { kind: "Name", value: "comment" },
8764
+ selectionSet: {
8765
+ kind: "SelectionSet",
8766
+ selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }],
8767
+ },
8768
+ },
8769
+ {
8770
+ kind: "Field",
8771
+ name: { kind: "Name", value: "issue" },
8772
+ selectionSet: {
8773
+ kind: "SelectionSet",
8774
+ selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }],
8775
+ },
8776
+ },
8398
8777
  { kind: "Field", name: { kind: "Name", value: "updatedAt" } },
8778
+ {
8779
+ kind: "Field",
8780
+ name: { kind: "Name", value: "projectUpdate" },
8781
+ selectionSet: {
8782
+ kind: "SelectionSet",
8783
+ selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }],
8784
+ },
8785
+ },
8399
8786
  { kind: "Field", name: { kind: "Name", value: "archivedAt" } },
8400
8787
  { kind: "Field", name: { kind: "Name", value: "createdAt" } },
8401
8788
  { kind: "Field", name: { kind: "Name", value: "id" } },
@@ -8685,6 +9072,35 @@
8685
9072
  },
8686
9073
  ],
8687
9074
  };
9075
+ const SlackChannelConnectPayloadFragmentDoc = {
9076
+ kind: "Document",
9077
+ definitions: [
9078
+ {
9079
+ kind: "FragmentDefinition",
9080
+ name: { kind: "Name", value: "SlackChannelConnectPayload" },
9081
+ typeCondition: { kind: "NamedType", name: { kind: "Name", value: "SlackChannelConnectPayload" } },
9082
+ selectionSet: {
9083
+ kind: "SelectionSet",
9084
+ selections: [
9085
+ { kind: "Field", name: { kind: "Name", value: "__typename" } },
9086
+ { kind: "Field", name: { kind: "Name", value: "lastSyncId" } },
9087
+ {
9088
+ kind: "Field",
9089
+ name: { kind: "Name", value: "integration" },
9090
+ selectionSet: {
9091
+ kind: "SelectionSet",
9092
+ selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }],
9093
+ },
9094
+ },
9095
+ { kind: "Field", name: { kind: "Name", value: "nudgeToConnectMainSlackIntegration" } },
9096
+ { kind: "Field", name: { kind: "Name", value: "nudgeToUpdateMainSlackIntegration" } },
9097
+ { kind: "Field", name: { kind: "Name", value: "addBot" } },
9098
+ { kind: "Field", name: { kind: "Name", value: "success" } },
9099
+ ],
9100
+ },
9101
+ },
9102
+ ],
9103
+ };
8688
9104
  const SsoUrlFromEmailResponseFragmentDoc = {
8689
9105
  kind: "Document",
8690
9106
  definitions: [
@@ -8862,6 +9278,7 @@
8862
9278
  },
8863
9279
  { kind: "Field", name: { kind: "Name", value: "inviteHash" } },
8864
9280
  { kind: "Field", name: { kind: "Name", value: "defaultIssueEstimate" } },
9281
+ { kind: "Field", name: { kind: "Name", value: "setIssueSortOrderOnStateChange" } },
8865
9282
  { kind: "Field", name: { kind: "Name", value: "requirePriorityToLeaveTriage" } },
8866
9283
  { kind: "Field", name: { kind: "Name", value: "issueOrderingNoPriorityFirst" } },
8867
9284
  { kind: "Field", name: { kind: "Name", value: "private" } },
@@ -8869,11 +9286,11 @@
8869
9286
  { kind: "Field", name: { kind: "Name", value: "issueEstimationExtended" } },
8870
9287
  { kind: "Field", name: { kind: "Name", value: "issueEstimationAllowZero" } },
8871
9288
  { kind: "Field", name: { kind: "Name", value: "groupIssueHistory" } },
8872
- { kind: "Field", name: { kind: "Name", value: "issueSortOrderDefaultToBottom" } },
8873
9289
  { kind: "Field", name: { kind: "Name", value: "slackIssueComments" } },
8874
9290
  { kind: "Field", name: { kind: "Name", value: "slackNewIssue" } },
8875
9291
  { kind: "Field", name: { kind: "Name", value: "slackIssueStatuses" } },
8876
9292
  { kind: "Field", name: { kind: "Name", value: "triageEnabled" } },
9293
+ { kind: "Field", name: { kind: "Name", value: "issueSortOrderDefaultToBottom" } },
8877
9294
  ],
8878
9295
  },
8879
9296
  },
@@ -9033,6 +9450,54 @@
9033
9450
  },
9034
9451
  ],
9035
9452
  };
9453
+ const TemplateFragmentDoc = {
9454
+ kind: "Document",
9455
+ definitions: [
9456
+ {
9457
+ kind: "FragmentDefinition",
9458
+ name: { kind: "Name", value: "Template" },
9459
+ typeCondition: { kind: "NamedType", name: { kind: "Name", value: "Template" } },
9460
+ selectionSet: {
9461
+ kind: "SelectionSet",
9462
+ selections: [
9463
+ { kind: "Field", name: { kind: "Name", value: "__typename" } },
9464
+ { kind: "Field", name: { kind: "Name", value: "templateData" } },
9465
+ { kind: "Field", name: { kind: "Name", value: "description" } },
9466
+ { kind: "Field", name: { kind: "Name", value: "type" } },
9467
+ { kind: "Field", name: { kind: "Name", value: "updatedAt" } },
9468
+ { kind: "Field", name: { kind: "Name", value: "name" } },
9469
+ {
9470
+ kind: "Field",
9471
+ name: { kind: "Name", value: "team" },
9472
+ selectionSet: {
9473
+ kind: "SelectionSet",
9474
+ selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }],
9475
+ },
9476
+ },
9477
+ { kind: "Field", name: { kind: "Name", value: "archivedAt" } },
9478
+ { kind: "Field", name: { kind: "Name", value: "createdAt" } },
9479
+ { kind: "Field", name: { kind: "Name", value: "id" } },
9480
+ {
9481
+ kind: "Field",
9482
+ name: { kind: "Name", value: "creator" },
9483
+ selectionSet: {
9484
+ kind: "SelectionSet",
9485
+ selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }],
9486
+ },
9487
+ },
9488
+ {
9489
+ kind: "Field",
9490
+ name: { kind: "Name", value: "lastUpdatedBy" },
9491
+ selectionSet: {
9492
+ kind: "SelectionSet",
9493
+ selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }],
9494
+ },
9495
+ },
9496
+ ],
9497
+ },
9498
+ },
9499
+ ],
9500
+ };
9036
9501
  const TemplateConnectionFragmentDoc = {
9037
9502
  kind: "Document",
9038
9503
  definitions: [
@@ -9044,6 +9509,14 @@
9044
9509
  kind: "SelectionSet",
9045
9510
  selections: [
9046
9511
  { kind: "Field", name: { kind: "Name", value: "__typename" } },
9512
+ {
9513
+ kind: "Field",
9514
+ name: { kind: "Name", value: "nodes" },
9515
+ selectionSet: {
9516
+ kind: "SelectionSet",
9517
+ selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "Template" } }],
9518
+ },
9519
+ },
9047
9520
  {
9048
9521
  kind: "Field",
9049
9522
  name: { kind: "Name", value: "pageInfo" },
@@ -10201,6 +10674,7 @@
10201
10674
  },
10202
10675
  },
10203
10676
  ...IssueFragmentDoc.definitions,
10677
+ ...ActorBotFragmentDoc.definitions,
10204
10678
  ],
10205
10679
  };
10206
10680
  const AttachmentIssue_AttachmentsDocument = {
@@ -10324,6 +10798,53 @@
10324
10798
  ...PageInfoFragmentDoc.definitions,
10325
10799
  ],
10326
10800
  };
10801
+ const AttachmentIssue_BotActorDocument = {
10802
+ kind: "Document",
10803
+ definitions: [
10804
+ {
10805
+ kind: "OperationDefinition",
10806
+ operation: "query",
10807
+ name: { kind: "Name", value: "attachmentIssue_botActor" },
10808
+ variableDefinitions: [
10809
+ {
10810
+ kind: "VariableDefinition",
10811
+ variable: { kind: "Variable", name: { kind: "Name", value: "id" } },
10812
+ type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "String" } } },
10813
+ },
10814
+ ],
10815
+ selectionSet: {
10816
+ kind: "SelectionSet",
10817
+ selections: [
10818
+ {
10819
+ kind: "Field",
10820
+ name: { kind: "Name", value: "attachmentIssue" },
10821
+ arguments: [
10822
+ {
10823
+ kind: "Argument",
10824
+ name: { kind: "Name", value: "id" },
10825
+ value: { kind: "Variable", name: { kind: "Name", value: "id" } },
10826
+ },
10827
+ ],
10828
+ selectionSet: {
10829
+ kind: "SelectionSet",
10830
+ selections: [
10831
+ {
10832
+ kind: "Field",
10833
+ name: { kind: "Name", value: "botActor" },
10834
+ selectionSet: {
10835
+ kind: "SelectionSet",
10836
+ selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "ActorBot" } }],
10837
+ },
10838
+ },
10839
+ ],
10840
+ },
10841
+ },
10842
+ ],
10843
+ },
10844
+ },
10845
+ ...ActorBotFragmentDoc.definitions,
10846
+ ],
10847
+ };
10327
10848
  const AttachmentIssue_ChildrenDocument = {
10328
10849
  kind: "Document",
10329
10850
  definitions: [
@@ -10442,6 +10963,7 @@
10442
10963
  },
10443
10964
  ...IssueConnectionFragmentDoc.definitions,
10444
10965
  ...IssueFragmentDoc.definitions,
10966
+ ...ActorBotFragmentDoc.definitions,
10445
10967
  ...PageInfoFragmentDoc.definitions,
10446
10968
  ],
10447
10969
  };
@@ -12214,6 +12736,7 @@
12214
12736
  },
12215
12737
  ...IssueConnectionFragmentDoc.definitions,
12216
12738
  ...IssueFragmentDoc.definitions,
12739
+ ...ActorBotFragmentDoc.definitions,
12217
12740
  ...PageInfoFragmentDoc.definitions,
12218
12741
  ],
12219
12742
  };
@@ -12335,6 +12858,7 @@
12335
12858
  },
12336
12859
  ...IssueConnectionFragmentDoc.definitions,
12337
12860
  ...IssueFragmentDoc.definitions,
12861
+ ...ActorBotFragmentDoc.definitions,
12338
12862
  ...PageInfoFragmentDoc.definitions,
12339
12863
  ],
12340
12864
  };
@@ -13302,6 +13826,7 @@
13302
13826
  },
13303
13827
  },
13304
13828
  ...IssueFragmentDoc.definitions,
13829
+ ...ActorBotFragmentDoc.definitions,
13305
13830
  ],
13306
13831
  };
13307
13832
  const Issue_AttachmentsDocument = {
@@ -13425,54 +13950,19 @@
13425
13950
  ...PageInfoFragmentDoc.definitions,
13426
13951
  ],
13427
13952
  };
13428
- const Issue_ChildrenDocument = {
13953
+ const Issue_BotActorDocument = {
13429
13954
  kind: "Document",
13430
13955
  definitions: [
13431
13956
  {
13432
13957
  kind: "OperationDefinition",
13433
13958
  operation: "query",
13434
- name: { kind: "Name", value: "issue_children" },
13959
+ name: { kind: "Name", value: "issue_botActor" },
13435
13960
  variableDefinitions: [
13436
13961
  {
13437
13962
  kind: "VariableDefinition",
13438
13963
  variable: { kind: "Variable", name: { kind: "Name", value: "id" } },
13439
13964
  type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "String" } } },
13440
13965
  },
13441
- {
13442
- kind: "VariableDefinition",
13443
- variable: { kind: "Variable", name: { kind: "Name", value: "after" } },
13444
- type: { kind: "NamedType", name: { kind: "Name", value: "String" } },
13445
- },
13446
- {
13447
- kind: "VariableDefinition",
13448
- variable: { kind: "Variable", name: { kind: "Name", value: "before" } },
13449
- type: { kind: "NamedType", name: { kind: "Name", value: "String" } },
13450
- },
13451
- {
13452
- kind: "VariableDefinition",
13453
- variable: { kind: "Variable", name: { kind: "Name", value: "filter" } },
13454
- type: { kind: "NamedType", name: { kind: "Name", value: "IssueFilter" } },
13455
- },
13456
- {
13457
- kind: "VariableDefinition",
13458
- variable: { kind: "Variable", name: { kind: "Name", value: "first" } },
13459
- type: { kind: "NamedType", name: { kind: "Name", value: "Int" } },
13460
- },
13461
- {
13462
- kind: "VariableDefinition",
13463
- variable: { kind: "Variable", name: { kind: "Name", value: "includeArchived" } },
13464
- type: { kind: "NamedType", name: { kind: "Name", value: "Boolean" } },
13465
- },
13466
- {
13467
- kind: "VariableDefinition",
13468
- variable: { kind: "Variable", name: { kind: "Name", value: "last" } },
13469
- type: { kind: "NamedType", name: { kind: "Name", value: "Int" } },
13470
- },
13471
- {
13472
- kind: "VariableDefinition",
13473
- variable: { kind: "Variable", name: { kind: "Name", value: "orderBy" } },
13474
- type: { kind: "NamedType", name: { kind: "Name", value: "PaginationOrderBy" } },
13475
- },
13476
13966
  ],
13477
13967
  selectionSet: {
13478
13968
  kind: "SelectionSet",
@@ -13492,47 +13982,10 @@
13492
13982
  selections: [
13493
13983
  {
13494
13984
  kind: "Field",
13495
- name: { kind: "Name", value: "children" },
13496
- arguments: [
13497
- {
13498
- kind: "Argument",
13499
- name: { kind: "Name", value: "after" },
13500
- value: { kind: "Variable", name: { kind: "Name", value: "after" } },
13501
- },
13502
- {
13503
- kind: "Argument",
13504
- name: { kind: "Name", value: "before" },
13505
- value: { kind: "Variable", name: { kind: "Name", value: "before" } },
13506
- },
13507
- {
13508
- kind: "Argument",
13509
- name: { kind: "Name", value: "filter" },
13510
- value: { kind: "Variable", name: { kind: "Name", value: "filter" } },
13511
- },
13512
- {
13513
- kind: "Argument",
13514
- name: { kind: "Name", value: "first" },
13515
- value: { kind: "Variable", name: { kind: "Name", value: "first" } },
13516
- },
13517
- {
13518
- kind: "Argument",
13519
- name: { kind: "Name", value: "includeArchived" },
13520
- value: { kind: "Variable", name: { kind: "Name", value: "includeArchived" } },
13521
- },
13522
- {
13523
- kind: "Argument",
13524
- name: { kind: "Name", value: "last" },
13525
- value: { kind: "Variable", name: { kind: "Name", value: "last" } },
13526
- },
13527
- {
13528
- kind: "Argument",
13529
- name: { kind: "Name", value: "orderBy" },
13530
- value: { kind: "Variable", name: { kind: "Name", value: "orderBy" } },
13531
- },
13532
- ],
13985
+ name: { kind: "Name", value: "botActor" },
13533
13986
  selectionSet: {
13534
13987
  kind: "SelectionSet",
13535
- selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "IssueConnection" } }],
13988
+ selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "ActorBot" } }],
13536
13989
  },
13537
13990
  },
13538
13991
  ],
@@ -13541,18 +13994,16 @@
13541
13994
  ],
13542
13995
  },
13543
13996
  },
13544
- ...IssueConnectionFragmentDoc.definitions,
13545
- ...IssueFragmentDoc.definitions,
13546
- ...PageInfoFragmentDoc.definitions,
13997
+ ...ActorBotFragmentDoc.definitions,
13547
13998
  ],
13548
13999
  };
13549
- const Issue_CommentsDocument = {
14000
+ const Issue_ChildrenDocument = {
13550
14001
  kind: "Document",
13551
14002
  definitions: [
13552
14003
  {
13553
14004
  kind: "OperationDefinition",
13554
14005
  operation: "query",
13555
- name: { kind: "Name", value: "issue_comments" },
14006
+ name: { kind: "Name", value: "issue_children" },
13556
14007
  variableDefinitions: [
13557
14008
  {
13558
14009
  kind: "VariableDefinition",
@@ -13572,7 +14023,129 @@
13572
14023
  {
13573
14024
  kind: "VariableDefinition",
13574
14025
  variable: { kind: "Variable", name: { kind: "Name", value: "filter" } },
13575
- type: { kind: "NamedType", name: { kind: "Name", value: "CommentFilter" } },
14026
+ type: { kind: "NamedType", name: { kind: "Name", value: "IssueFilter" } },
14027
+ },
14028
+ {
14029
+ kind: "VariableDefinition",
14030
+ variable: { kind: "Variable", name: { kind: "Name", value: "first" } },
14031
+ type: { kind: "NamedType", name: { kind: "Name", value: "Int" } },
14032
+ },
14033
+ {
14034
+ kind: "VariableDefinition",
14035
+ variable: { kind: "Variable", name: { kind: "Name", value: "includeArchived" } },
14036
+ type: { kind: "NamedType", name: { kind: "Name", value: "Boolean" } },
14037
+ },
14038
+ {
14039
+ kind: "VariableDefinition",
14040
+ variable: { kind: "Variable", name: { kind: "Name", value: "last" } },
14041
+ type: { kind: "NamedType", name: { kind: "Name", value: "Int" } },
14042
+ },
14043
+ {
14044
+ kind: "VariableDefinition",
14045
+ variable: { kind: "Variable", name: { kind: "Name", value: "orderBy" } },
14046
+ type: { kind: "NamedType", name: { kind: "Name", value: "PaginationOrderBy" } },
14047
+ },
14048
+ ],
14049
+ selectionSet: {
14050
+ kind: "SelectionSet",
14051
+ selections: [
14052
+ {
14053
+ kind: "Field",
14054
+ name: { kind: "Name", value: "issue" },
14055
+ arguments: [
14056
+ {
14057
+ kind: "Argument",
14058
+ name: { kind: "Name", value: "id" },
14059
+ value: { kind: "Variable", name: { kind: "Name", value: "id" } },
14060
+ },
14061
+ ],
14062
+ selectionSet: {
14063
+ kind: "SelectionSet",
14064
+ selections: [
14065
+ {
14066
+ kind: "Field",
14067
+ name: { kind: "Name", value: "children" },
14068
+ arguments: [
14069
+ {
14070
+ kind: "Argument",
14071
+ name: { kind: "Name", value: "after" },
14072
+ value: { kind: "Variable", name: { kind: "Name", value: "after" } },
14073
+ },
14074
+ {
14075
+ kind: "Argument",
14076
+ name: { kind: "Name", value: "before" },
14077
+ value: { kind: "Variable", name: { kind: "Name", value: "before" } },
14078
+ },
14079
+ {
14080
+ kind: "Argument",
14081
+ name: { kind: "Name", value: "filter" },
14082
+ value: { kind: "Variable", name: { kind: "Name", value: "filter" } },
14083
+ },
14084
+ {
14085
+ kind: "Argument",
14086
+ name: { kind: "Name", value: "first" },
14087
+ value: { kind: "Variable", name: { kind: "Name", value: "first" } },
14088
+ },
14089
+ {
14090
+ kind: "Argument",
14091
+ name: { kind: "Name", value: "includeArchived" },
14092
+ value: { kind: "Variable", name: { kind: "Name", value: "includeArchived" } },
14093
+ },
14094
+ {
14095
+ kind: "Argument",
14096
+ name: { kind: "Name", value: "last" },
14097
+ value: { kind: "Variable", name: { kind: "Name", value: "last" } },
14098
+ },
14099
+ {
14100
+ kind: "Argument",
14101
+ name: { kind: "Name", value: "orderBy" },
14102
+ value: { kind: "Variable", name: { kind: "Name", value: "orderBy" } },
14103
+ },
14104
+ ],
14105
+ selectionSet: {
14106
+ kind: "SelectionSet",
14107
+ selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "IssueConnection" } }],
14108
+ },
14109
+ },
14110
+ ],
14111
+ },
14112
+ },
14113
+ ],
14114
+ },
14115
+ },
14116
+ ...IssueConnectionFragmentDoc.definitions,
14117
+ ...IssueFragmentDoc.definitions,
14118
+ ...ActorBotFragmentDoc.definitions,
14119
+ ...PageInfoFragmentDoc.definitions,
14120
+ ],
14121
+ };
14122
+ const Issue_CommentsDocument = {
14123
+ kind: "Document",
14124
+ definitions: [
14125
+ {
14126
+ kind: "OperationDefinition",
14127
+ operation: "query",
14128
+ name: { kind: "Name", value: "issue_comments" },
14129
+ variableDefinitions: [
14130
+ {
14131
+ kind: "VariableDefinition",
14132
+ variable: { kind: "Variable", name: { kind: "Name", value: "id" } },
14133
+ type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "String" } } },
14134
+ },
14135
+ {
14136
+ kind: "VariableDefinition",
14137
+ variable: { kind: "Variable", name: { kind: "Name", value: "after" } },
14138
+ type: { kind: "NamedType", name: { kind: "Name", value: "String" } },
14139
+ },
14140
+ {
14141
+ kind: "VariableDefinition",
14142
+ variable: { kind: "Variable", name: { kind: "Name", value: "before" } },
14143
+ type: { kind: "NamedType", name: { kind: "Name", value: "String" } },
14144
+ },
14145
+ {
14146
+ kind: "VariableDefinition",
14147
+ variable: { kind: "Variable", name: { kind: "Name", value: "filter" } },
14148
+ type: { kind: "NamedType", name: { kind: "Name", value: "CommentFilter" } },
13576
14149
  },
13577
14150
  {
13578
14151
  kind: "VariableDefinition",
@@ -14355,6 +14928,7 @@
14355
14928
  },
14356
14929
  ...IssueConnectionFragmentDoc.definitions,
14357
14930
  ...IssueFragmentDoc.definitions,
14931
+ ...ActorBotFragmentDoc.definitions,
14358
14932
  ...PageInfoFragmentDoc.definitions,
14359
14933
  ],
14360
14934
  };
@@ -14761,6 +15335,7 @@
14761
15335
  },
14762
15336
  ...IssueConnectionFragmentDoc.definitions,
14763
15337
  ...IssueFragmentDoc.definitions,
15338
+ ...ActorBotFragmentDoc.definitions,
14764
15339
  ...PageInfoFragmentDoc.definitions,
14765
15340
  ],
14766
15341
  };
@@ -15123,6 +15698,7 @@
15123
15698
  },
15124
15699
  ...IssueConnectionFragmentDoc.definitions,
15125
15700
  ...IssueFragmentDoc.definitions,
15701
+ ...ActorBotFragmentDoc.definitions,
15126
15702
  ...PageInfoFragmentDoc.definitions,
15127
15703
  ],
15128
15704
  };
@@ -15162,6 +15738,7 @@
15162
15738
  },
15163
15739
  },
15164
15740
  ...IssueFragmentDoc.definitions,
15741
+ ...ActorBotFragmentDoc.definitions,
15165
15742
  ],
15166
15743
  };
15167
15744
  const IssueVcsBranchSearch_AttachmentsDocument = {
@@ -15285,6 +15862,53 @@
15285
15862
  ...PageInfoFragmentDoc.definitions,
15286
15863
  ],
15287
15864
  };
15865
+ const IssueVcsBranchSearch_BotActorDocument = {
15866
+ kind: "Document",
15867
+ definitions: [
15868
+ {
15869
+ kind: "OperationDefinition",
15870
+ operation: "query",
15871
+ name: { kind: "Name", value: "issueVcsBranchSearch_botActor" },
15872
+ variableDefinitions: [
15873
+ {
15874
+ kind: "VariableDefinition",
15875
+ variable: { kind: "Variable", name: { kind: "Name", value: "branchName" } },
15876
+ type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "String" } } },
15877
+ },
15878
+ ],
15879
+ selectionSet: {
15880
+ kind: "SelectionSet",
15881
+ selections: [
15882
+ {
15883
+ kind: "Field",
15884
+ name: { kind: "Name", value: "issueVcsBranchSearch" },
15885
+ arguments: [
15886
+ {
15887
+ kind: "Argument",
15888
+ name: { kind: "Name", value: "branchName" },
15889
+ value: { kind: "Variable", name: { kind: "Name", value: "branchName" } },
15890
+ },
15891
+ ],
15892
+ selectionSet: {
15893
+ kind: "SelectionSet",
15894
+ selections: [
15895
+ {
15896
+ kind: "Field",
15897
+ name: { kind: "Name", value: "botActor" },
15898
+ selectionSet: {
15899
+ kind: "SelectionSet",
15900
+ selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "ActorBot" } }],
15901
+ },
15902
+ },
15903
+ ],
15904
+ },
15905
+ },
15906
+ ],
15907
+ },
15908
+ },
15909
+ ...ActorBotFragmentDoc.definitions,
15910
+ ],
15911
+ };
15288
15912
  const IssueVcsBranchSearch_ChildrenDocument = {
15289
15913
  kind: "Document",
15290
15914
  definitions: [
@@ -15403,6 +16027,7 @@
15403
16027
  },
15404
16028
  ...IssueConnectionFragmentDoc.definitions,
15405
16029
  ...IssueFragmentDoc.definitions,
16030
+ ...ActorBotFragmentDoc.definitions,
15406
16031
  ...PageInfoFragmentDoc.definitions,
15407
16032
  ],
15408
16033
  };
@@ -16215,6 +16840,7 @@
16215
16840
  },
16216
16841
  ...IssueConnectionFragmentDoc.definitions,
16217
16842
  ...IssueFragmentDoc.definitions,
16843
+ ...ActorBotFragmentDoc.definitions,
16218
16844
  ...PageInfoFragmentDoc.definitions,
16219
16845
  ],
16220
16846
  };
@@ -16958,6 +17584,7 @@
16958
17584
  },
16959
17585
  },
16960
17586
  ...TemplateConnectionFragmentDoc.definitions,
17587
+ ...TemplateFragmentDoc.definitions,
16961
17588
  ...PageInfoFragmentDoc.definitions,
16962
17589
  ],
16963
17590
  };
@@ -17503,6 +18130,7 @@
17503
18130
  },
17504
18131
  ...IssueConnectionFragmentDoc.definitions,
17505
18132
  ...IssueFragmentDoc.definitions,
18133
+ ...ActorBotFragmentDoc.definitions,
17506
18134
  ...PageInfoFragmentDoc.definitions,
17507
18135
  ],
17508
18136
  };
@@ -18772,12 +19400,36 @@
18772
19400
  kind: "OperationDefinition",
18773
19401
  operation: "query",
18774
19402
  name: { kind: "Name", value: "pushSubscriptionTest" },
19403
+ variableDefinitions: [
19404
+ {
19405
+ kind: "VariableDefinition",
19406
+ variable: { kind: "Variable", name: { kind: "Name", value: "sendStrategy" } },
19407
+ type: { kind: "NamedType", name: { kind: "Name", value: "SendStrategy" } },
19408
+ },
19409
+ {
19410
+ kind: "VariableDefinition",
19411
+ variable: { kind: "Variable", name: { kind: "Name", value: "targetMobile" } },
19412
+ type: { kind: "NamedType", name: { kind: "Name", value: "Boolean" } },
19413
+ },
19414
+ ],
18775
19415
  selectionSet: {
18776
19416
  kind: "SelectionSet",
18777
19417
  selections: [
18778
19418
  {
18779
19419
  kind: "Field",
18780
19420
  name: { kind: "Name", value: "pushSubscriptionTest" },
19421
+ arguments: [
19422
+ {
19423
+ kind: "Argument",
19424
+ name: { kind: "Name", value: "sendStrategy" },
19425
+ value: { kind: "Variable", name: { kind: "Name", value: "sendStrategy" } },
19426
+ },
19427
+ {
19428
+ kind: "Argument",
19429
+ name: { kind: "Name", value: "targetMobile" },
19430
+ value: { kind: "Variable", name: { kind: "Name", value: "targetMobile" } },
19431
+ },
19432
+ ],
18781
19433
  selectionSet: {
18782
19434
  kind: "SelectionSet",
18783
19435
  selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "PushSubscriptionTestPayload" } }],
@@ -19567,6 +20219,7 @@
19567
20219
  ...IssueSearchPayloadFragmentDoc.definitions,
19568
20220
  ...ArchiveResponseFragmentDoc.definitions,
19569
20221
  ...IssueSearchResultFragmentDoc.definitions,
20222
+ ...ActorBotFragmentDoc.definitions,
19570
20223
  ...PageInfoFragmentDoc.definitions,
19571
20224
  ],
19572
20225
  };
@@ -20041,6 +20694,119 @@
20041
20694
  ...TeamFragmentDoc.definitions,
20042
20695
  ],
20043
20696
  };
20697
+ const Team_AutomationStatesDocument = {
20698
+ kind: "Document",
20699
+ definitions: [
20700
+ {
20701
+ kind: "OperationDefinition",
20702
+ operation: "query",
20703
+ name: { kind: "Name", value: "team_automationStates" },
20704
+ variableDefinitions: [
20705
+ {
20706
+ kind: "VariableDefinition",
20707
+ variable: { kind: "Variable", name: { kind: "Name", value: "id" } },
20708
+ type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "String" } } },
20709
+ },
20710
+ {
20711
+ kind: "VariableDefinition",
20712
+ variable: { kind: "Variable", name: { kind: "Name", value: "after" } },
20713
+ type: { kind: "NamedType", name: { kind: "Name", value: "String" } },
20714
+ },
20715
+ {
20716
+ kind: "VariableDefinition",
20717
+ variable: { kind: "Variable", name: { kind: "Name", value: "before" } },
20718
+ type: { kind: "NamedType", name: { kind: "Name", value: "String" } },
20719
+ },
20720
+ {
20721
+ kind: "VariableDefinition",
20722
+ variable: { kind: "Variable", name: { kind: "Name", value: "first" } },
20723
+ type: { kind: "NamedType", name: { kind: "Name", value: "Int" } },
20724
+ },
20725
+ {
20726
+ kind: "VariableDefinition",
20727
+ variable: { kind: "Variable", name: { kind: "Name", value: "includeArchived" } },
20728
+ type: { kind: "NamedType", name: { kind: "Name", value: "Boolean" } },
20729
+ },
20730
+ {
20731
+ kind: "VariableDefinition",
20732
+ variable: { kind: "Variable", name: { kind: "Name", value: "last" } },
20733
+ type: { kind: "NamedType", name: { kind: "Name", value: "Int" } },
20734
+ },
20735
+ {
20736
+ kind: "VariableDefinition",
20737
+ variable: { kind: "Variable", name: { kind: "Name", value: "orderBy" } },
20738
+ type: { kind: "NamedType", name: { kind: "Name", value: "PaginationOrderBy" } },
20739
+ },
20740
+ ],
20741
+ selectionSet: {
20742
+ kind: "SelectionSet",
20743
+ selections: [
20744
+ {
20745
+ kind: "Field",
20746
+ name: { kind: "Name", value: "team" },
20747
+ arguments: [
20748
+ {
20749
+ kind: "Argument",
20750
+ name: { kind: "Name", value: "id" },
20751
+ value: { kind: "Variable", name: { kind: "Name", value: "id" } },
20752
+ },
20753
+ ],
20754
+ selectionSet: {
20755
+ kind: "SelectionSet",
20756
+ selections: [
20757
+ {
20758
+ kind: "Field",
20759
+ name: { kind: "Name", value: "automationStates" },
20760
+ arguments: [
20761
+ {
20762
+ kind: "Argument",
20763
+ name: { kind: "Name", value: "after" },
20764
+ value: { kind: "Variable", name: { kind: "Name", value: "after" } },
20765
+ },
20766
+ {
20767
+ kind: "Argument",
20768
+ name: { kind: "Name", value: "before" },
20769
+ value: { kind: "Variable", name: { kind: "Name", value: "before" } },
20770
+ },
20771
+ {
20772
+ kind: "Argument",
20773
+ name: { kind: "Name", value: "first" },
20774
+ value: { kind: "Variable", name: { kind: "Name", value: "first" } },
20775
+ },
20776
+ {
20777
+ kind: "Argument",
20778
+ name: { kind: "Name", value: "includeArchived" },
20779
+ value: { kind: "Variable", name: { kind: "Name", value: "includeArchived" } },
20780
+ },
20781
+ {
20782
+ kind: "Argument",
20783
+ name: { kind: "Name", value: "last" },
20784
+ value: { kind: "Variable", name: { kind: "Name", value: "last" } },
20785
+ },
20786
+ {
20787
+ kind: "Argument",
20788
+ name: { kind: "Name", value: "orderBy" },
20789
+ value: { kind: "Variable", name: { kind: "Name", value: "orderBy" } },
20790
+ },
20791
+ ],
20792
+ selectionSet: {
20793
+ kind: "SelectionSet",
20794
+ selections: [
20795
+ { kind: "FragmentSpread", name: { kind: "Name", value: "GitAutomationStateConnection" } },
20796
+ ],
20797
+ },
20798
+ },
20799
+ ],
20800
+ },
20801
+ },
20802
+ ],
20803
+ },
20804
+ },
20805
+ ...GitAutomationStateConnectionFragmentDoc.definitions,
20806
+ ...GitAutomationStateFragmentDoc.definitions,
20807
+ ...PageInfoFragmentDoc.definitions,
20808
+ ],
20809
+ };
20044
20810
  const Team_CyclesDocument = {
20045
20811
  kind: "Document",
20046
20812
  definitions: [
@@ -20280,6 +21046,7 @@
20280
21046
  },
20281
21047
  ...IssueConnectionFragmentDoc.definitions,
20282
21048
  ...IssueFragmentDoc.definitions,
21049
+ ...ActorBotFragmentDoc.definitions,
20283
21050
  ...PageInfoFragmentDoc.definitions,
20284
21051
  ],
20285
21052
  };
@@ -20995,6 +21762,7 @@
20995
21762
  },
20996
21763
  },
20997
21764
  ...TemplateConnectionFragmentDoc.definitions,
21765
+ ...TemplateFragmentDoc.definitions,
20998
21766
  ...PageInfoFragmentDoc.definitions,
20999
21767
  ],
21000
21768
  };
@@ -21593,6 +22361,7 @@
21593
22361
  },
21594
22362
  ...IssueConnectionFragmentDoc.definitions,
21595
22363
  ...IssueFragmentDoc.definitions,
22364
+ ...ActorBotFragmentDoc.definitions,
21596
22365
  ...PageInfoFragmentDoc.definitions,
21597
22366
  ],
21598
22367
  };
@@ -21714,6 +22483,7 @@
21714
22483
  },
21715
22484
  ...IssueConnectionFragmentDoc.definitions,
21716
22485
  ...IssueFragmentDoc.definitions,
22486
+ ...ActorBotFragmentDoc.definitions,
21717
22487
  ...PageInfoFragmentDoc.definitions,
21718
22488
  ],
21719
22489
  };
@@ -22213,6 +22983,7 @@
22213
22983
  },
22214
22984
  ...IssueConnectionFragmentDoc.definitions,
22215
22985
  ...IssueFragmentDoc.definitions,
22986
+ ...ActorBotFragmentDoc.definitions,
22216
22987
  ...PageInfoFragmentDoc.definitions,
22217
22988
  ],
22218
22989
  };
@@ -22322,6 +23093,7 @@
22322
23093
  },
22323
23094
  ...IssueConnectionFragmentDoc.definitions,
22324
23095
  ...IssueFragmentDoc.definitions,
23096
+ ...ActorBotFragmentDoc.definitions,
22325
23097
  ...PageInfoFragmentDoc.definitions,
22326
23098
  ],
22327
23099
  };
@@ -22817,6 +23589,7 @@
22817
23589
  },
22818
23590
  ...IssueConnectionFragmentDoc.definitions,
22819
23591
  ...IssueFragmentDoc.definitions,
23592
+ ...ActorBotFragmentDoc.definitions,
22820
23593
  ...PageInfoFragmentDoc.definitions,
22821
23594
  ],
22822
23595
  };
@@ -23334,6 +24107,84 @@
23334
24107
  ...FrontAttachmentPayloadFragmentDoc.definitions,
23335
24108
  ],
23336
24109
  };
24110
+ const AttachmentLinkGitHubIssueDocument = {
24111
+ kind: "Document",
24112
+ definitions: [
24113
+ {
24114
+ kind: "OperationDefinition",
24115
+ operation: "mutation",
24116
+ name: { kind: "Name", value: "attachmentLinkGitHubIssue" },
24117
+ variableDefinitions: [
24118
+ {
24119
+ kind: "VariableDefinition",
24120
+ variable: { kind: "Variable", name: { kind: "Name", value: "createAsUser" } },
24121
+ type: { kind: "NamedType", name: { kind: "Name", value: "String" } },
24122
+ },
24123
+ {
24124
+ kind: "VariableDefinition",
24125
+ variable: { kind: "Variable", name: { kind: "Name", value: "displayIconUrl" } },
24126
+ type: { kind: "NamedType", name: { kind: "Name", value: "String" } },
24127
+ },
24128
+ {
24129
+ kind: "VariableDefinition",
24130
+ variable: { kind: "Variable", name: { kind: "Name", value: "id" } },
24131
+ type: { kind: "NamedType", name: { kind: "Name", value: "String" } },
24132
+ },
24133
+ {
24134
+ kind: "VariableDefinition",
24135
+ variable: { kind: "Variable", name: { kind: "Name", value: "issueId" } },
24136
+ type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "String" } } },
24137
+ },
24138
+ {
24139
+ kind: "VariableDefinition",
24140
+ variable: { kind: "Variable", name: { kind: "Name", value: "url" } },
24141
+ type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "String" } } },
24142
+ },
24143
+ ],
24144
+ selectionSet: {
24145
+ kind: "SelectionSet",
24146
+ selections: [
24147
+ {
24148
+ kind: "Field",
24149
+ name: { kind: "Name", value: "attachmentLinkGitHubIssue" },
24150
+ arguments: [
24151
+ {
24152
+ kind: "Argument",
24153
+ name: { kind: "Name", value: "createAsUser" },
24154
+ value: { kind: "Variable", name: { kind: "Name", value: "createAsUser" } },
24155
+ },
24156
+ {
24157
+ kind: "Argument",
24158
+ name: { kind: "Name", value: "displayIconUrl" },
24159
+ value: { kind: "Variable", name: { kind: "Name", value: "displayIconUrl" } },
24160
+ },
24161
+ {
24162
+ kind: "Argument",
24163
+ name: { kind: "Name", value: "id" },
24164
+ value: { kind: "Variable", name: { kind: "Name", value: "id" } },
24165
+ },
24166
+ {
24167
+ kind: "Argument",
24168
+ name: { kind: "Name", value: "issueId" },
24169
+ value: { kind: "Variable", name: { kind: "Name", value: "issueId" } },
24170
+ },
24171
+ {
24172
+ kind: "Argument",
24173
+ name: { kind: "Name", value: "url" },
24174
+ value: { kind: "Variable", name: { kind: "Name", value: "url" } },
24175
+ },
24176
+ ],
24177
+ selectionSet: {
24178
+ kind: "SelectionSet",
24179
+ selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "AttachmentPayload" } }],
24180
+ },
24181
+ },
24182
+ ],
24183
+ },
24184
+ },
24185
+ ...AttachmentPayloadFragmentDoc.definitions,
24186
+ ],
24187
+ };
23337
24188
  const AttachmentLinkGitHubPrDocument = {
23338
24189
  kind: "Document",
23339
24190
  definitions: [
@@ -23365,17 +24216,17 @@
23365
24216
  {
23366
24217
  kind: "VariableDefinition",
23367
24218
  variable: { kind: "Variable", name: { kind: "Name", value: "number" } },
23368
- type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "Float" } } },
24219
+ type: { kind: "NamedType", name: { kind: "Name", value: "Float" } },
23369
24220
  },
23370
24221
  {
23371
24222
  kind: "VariableDefinition",
23372
24223
  variable: { kind: "Variable", name: { kind: "Name", value: "owner" } },
23373
- type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "String" } } },
24224
+ type: { kind: "NamedType", name: { kind: "Name", value: "String" } },
23374
24225
  },
23375
24226
  {
23376
24227
  kind: "VariableDefinition",
23377
24228
  variable: { kind: "Variable", name: { kind: "Name", value: "repo" } },
23378
- type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "String" } } },
24229
+ type: { kind: "NamedType", name: { kind: "Name", value: "String" } },
23379
24230
  },
23380
24231
  {
23381
24232
  kind: "VariableDefinition",
@@ -24646,6 +25497,47 @@
24646
25497
  ...CyclePayloadFragmentDoc.definitions,
24647
25498
  ],
24648
25499
  };
25500
+ const CycleShiftAllDocument = {
25501
+ kind: "Document",
25502
+ definitions: [
25503
+ {
25504
+ kind: "OperationDefinition",
25505
+ operation: "mutation",
25506
+ name: { kind: "Name", value: "cycleShiftAll" },
25507
+ variableDefinitions: [
25508
+ {
25509
+ kind: "VariableDefinition",
25510
+ variable: { kind: "Variable", name: { kind: "Name", value: "input" } },
25511
+ type: {
25512
+ kind: "NonNullType",
25513
+ type: { kind: "NamedType", name: { kind: "Name", value: "CycleShiftAllInput" } },
25514
+ },
25515
+ },
25516
+ ],
25517
+ selectionSet: {
25518
+ kind: "SelectionSet",
25519
+ selections: [
25520
+ {
25521
+ kind: "Field",
25522
+ name: { kind: "Name", value: "cycleShiftAll" },
25523
+ arguments: [
25524
+ {
25525
+ kind: "Argument",
25526
+ name: { kind: "Name", value: "input" },
25527
+ value: { kind: "Variable", name: { kind: "Name", value: "input" } },
25528
+ },
25529
+ ],
25530
+ selectionSet: {
25531
+ kind: "SelectionSet",
25532
+ selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "CyclePayload" } }],
25533
+ },
25534
+ },
25535
+ ],
25536
+ },
25537
+ },
25538
+ ...CyclePayloadFragmentDoc.definitions,
25539
+ ],
25540
+ };
24649
25541
  const UpdateCycleDocument = {
24650
25542
  kind: "Document",
24651
25543
  definitions: [
@@ -25237,6 +26129,138 @@
25237
26129
  ...UploadFileHeaderFragmentDoc.definitions,
25238
26130
  ],
25239
26131
  };
26132
+ const CreateGitAutomationStateDocument = {
26133
+ kind: "Document",
26134
+ definitions: [
26135
+ {
26136
+ kind: "OperationDefinition",
26137
+ operation: "mutation",
26138
+ name: { kind: "Name", value: "createGitAutomationState" },
26139
+ variableDefinitions: [
26140
+ {
26141
+ kind: "VariableDefinition",
26142
+ variable: { kind: "Variable", name: { kind: "Name", value: "input" } },
26143
+ type: {
26144
+ kind: "NonNullType",
26145
+ type: { kind: "NamedType", name: { kind: "Name", value: "GitAutomationStateCreateInput" } },
26146
+ },
26147
+ },
26148
+ ],
26149
+ selectionSet: {
26150
+ kind: "SelectionSet",
26151
+ selections: [
26152
+ {
26153
+ kind: "Field",
26154
+ name: { kind: "Name", value: "gitAutomationStateCreate" },
26155
+ arguments: [
26156
+ {
26157
+ kind: "Argument",
26158
+ name: { kind: "Name", value: "input" },
26159
+ value: { kind: "Variable", name: { kind: "Name", value: "input" } },
26160
+ },
26161
+ ],
26162
+ selectionSet: {
26163
+ kind: "SelectionSet",
26164
+ selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "GitAutomationStatePayload" } }],
26165
+ },
26166
+ },
26167
+ ],
26168
+ },
26169
+ },
26170
+ ...GitAutomationStatePayloadFragmentDoc.definitions,
26171
+ ...GitAutomationStateFragmentDoc.definitions,
26172
+ ],
26173
+ };
26174
+ const DeleteGitAutomationStateDocument = {
26175
+ kind: "Document",
26176
+ definitions: [
26177
+ {
26178
+ kind: "OperationDefinition",
26179
+ operation: "mutation",
26180
+ name: { kind: "Name", value: "deleteGitAutomationState" },
26181
+ variableDefinitions: [
26182
+ {
26183
+ kind: "VariableDefinition",
26184
+ variable: { kind: "Variable", name: { kind: "Name", value: "id" } },
26185
+ type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "String" } } },
26186
+ },
26187
+ ],
26188
+ selectionSet: {
26189
+ kind: "SelectionSet",
26190
+ selections: [
26191
+ {
26192
+ kind: "Field",
26193
+ name: { kind: "Name", value: "gitAutomationStateDelete" },
26194
+ arguments: [
26195
+ {
26196
+ kind: "Argument",
26197
+ name: { kind: "Name", value: "id" },
26198
+ value: { kind: "Variable", name: { kind: "Name", value: "id" } },
26199
+ },
26200
+ ],
26201
+ selectionSet: {
26202
+ kind: "SelectionSet",
26203
+ selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "DeletePayload" } }],
26204
+ },
26205
+ },
26206
+ ],
26207
+ },
26208
+ },
26209
+ ...DeletePayloadFragmentDoc.definitions,
26210
+ ],
26211
+ };
26212
+ const UpdateGitAutomationStateDocument = {
26213
+ kind: "Document",
26214
+ definitions: [
26215
+ {
26216
+ kind: "OperationDefinition",
26217
+ operation: "mutation",
26218
+ name: { kind: "Name", value: "updateGitAutomationState" },
26219
+ variableDefinitions: [
26220
+ {
26221
+ kind: "VariableDefinition",
26222
+ variable: { kind: "Variable", name: { kind: "Name", value: "id" } },
26223
+ type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "String" } } },
26224
+ },
26225
+ {
26226
+ kind: "VariableDefinition",
26227
+ variable: { kind: "Variable", name: { kind: "Name", value: "input" } },
26228
+ type: {
26229
+ kind: "NonNullType",
26230
+ type: { kind: "NamedType", name: { kind: "Name", value: "GitAutomationStateUpdateInput" } },
26231
+ },
26232
+ },
26233
+ ],
26234
+ selectionSet: {
26235
+ kind: "SelectionSet",
26236
+ selections: [
26237
+ {
26238
+ kind: "Field",
26239
+ name: { kind: "Name", value: "gitAutomationStateUpdate" },
26240
+ arguments: [
26241
+ {
26242
+ kind: "Argument",
26243
+ name: { kind: "Name", value: "id" },
26244
+ value: { kind: "Variable", name: { kind: "Name", value: "id" } },
26245
+ },
26246
+ {
26247
+ kind: "Argument",
26248
+ name: { kind: "Name", value: "input" },
26249
+ value: { kind: "Variable", name: { kind: "Name", value: "input" } },
26250
+ },
26251
+ ],
26252
+ selectionSet: {
26253
+ kind: "SelectionSet",
26254
+ selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "GitAutomationStatePayload" } }],
26255
+ },
26256
+ },
26257
+ ],
26258
+ },
26259
+ },
26260
+ ...GitAutomationStatePayloadFragmentDoc.definitions,
26261
+ ...GitAutomationStateFragmentDoc.definitions,
26262
+ ],
26263
+ };
25240
26264
  const GoogleUserAccountAuthDocument = {
25241
26265
  kind: "Document",
25242
26266
  definitions: [
@@ -25720,44 +26744,6 @@
25720
26744
  ...IntegrationPayloadFragmentDoc.definitions,
25721
26745
  ],
25722
26746
  };
25723
- const IntegrationGithubSyncConnectDocument = {
25724
- kind: "Document",
25725
- definitions: [
25726
- {
25727
- kind: "OperationDefinition",
25728
- operation: "mutation",
25729
- name: { kind: "Name", value: "integrationGithubSyncConnect" },
25730
- variableDefinitions: [
25731
- {
25732
- kind: "VariableDefinition",
25733
- variable: { kind: "Variable", name: { kind: "Name", value: "installationId" } },
25734
- type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "String" } } },
25735
- },
25736
- ],
25737
- selectionSet: {
25738
- kind: "SelectionSet",
25739
- selections: [
25740
- {
25741
- kind: "Field",
25742
- name: { kind: "Name", value: "integrationGithubSyncConnect" },
25743
- arguments: [
25744
- {
25745
- kind: "Argument",
25746
- name: { kind: "Name", value: "installationId" },
25747
- value: { kind: "Variable", name: { kind: "Name", value: "installationId" } },
25748
- },
25749
- ],
25750
- selectionSet: {
25751
- kind: "SelectionSet",
25752
- selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "IntegrationPayload" } }],
25753
- },
25754
- },
25755
- ],
25756
- },
25757
- },
25758
- ...IntegrationPayloadFragmentDoc.definitions,
25759
- ],
25760
- };
25761
26747
  const IntegrationGitlabConnectDocument = {
25762
26748
  kind: "Document",
25763
26749
  definitions: [
@@ -25975,10 +26961,15 @@
25975
26961
  operation: "mutation",
25976
26962
  name: { kind: "Name", value: "integrationJiraPersonal" },
25977
26963
  variableDefinitions: [
26964
+ {
26965
+ kind: "VariableDefinition",
26966
+ variable: { kind: "Variable", name: { kind: "Name", value: "accessToken" } },
26967
+ type: { kind: "NamedType", name: { kind: "Name", value: "String" } },
26968
+ },
25978
26969
  {
25979
26970
  kind: "VariableDefinition",
25980
26971
  variable: { kind: "Variable", name: { kind: "Name", value: "code" } },
25981
- type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "String" } } },
26972
+ type: { kind: "NamedType", name: { kind: "Name", value: "String" } },
25982
26973
  },
25983
26974
  ],
25984
26975
  selectionSet: {
@@ -25988,6 +26979,11 @@
25988
26979
  kind: "Field",
25989
26980
  name: { kind: "Name", value: "integrationJiraPersonal" },
25990
26981
  arguments: [
26982
+ {
26983
+ kind: "Argument",
26984
+ name: { kind: "Name", value: "accessToken" },
26985
+ value: { kind: "Variable", name: { kind: "Name", value: "accessToken" } },
26986
+ },
25991
26987
  {
25992
26988
  kind: "Argument",
25993
26989
  name: { kind: "Name", value: "code" },
@@ -26321,13 +27317,13 @@
26321
27317
  ],
26322
27318
  selectionSet: {
26323
27319
  kind: "SelectionSet",
26324
- selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "IntegrationPayload" } }],
27320
+ selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "SlackChannelConnectPayload" } }],
26325
27321
  },
26326
27322
  },
26327
27323
  ],
26328
27324
  },
26329
27325
  },
26330
- ...IntegrationPayloadFragmentDoc.definitions,
27326
+ ...SlackChannelConnectPayloadFragmentDoc.definitions,
26331
27327
  ],
26332
27328
  };
26333
27329
  const IntegrationSlackPersonalDocument = {
@@ -26437,13 +27433,13 @@
26437
27433
  ],
26438
27434
  selectionSet: {
26439
27435
  kind: "SelectionSet",
26440
- selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "IntegrationPayload" } }],
27436
+ selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "SlackChannelConnectPayload" } }],
26441
27437
  },
26442
27438
  },
26443
27439
  ],
26444
27440
  },
26445
27441
  },
26446
- ...IntegrationPayloadFragmentDoc.definitions,
27442
+ ...SlackChannelConnectPayloadFragmentDoc.definitions,
26447
27443
  ],
26448
27444
  };
26449
27445
  const IntegrationSlackProjectPostDocument = {
@@ -26505,13 +27501,13 @@
26505
27501
  ],
26506
27502
  selectionSet: {
26507
27503
  kind: "SelectionSet",
26508
- selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "IntegrationPayload" } }],
27504
+ selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "SlackChannelConnectPayload" } }],
26509
27505
  },
26510
27506
  },
26511
27507
  ],
26512
27508
  },
26513
27509
  },
26514
- ...IntegrationPayloadFragmentDoc.definitions,
27510
+ ...SlackChannelConnectPayloadFragmentDoc.definitions,
26515
27511
  ],
26516
27512
  };
26517
27513
  const CreateIntegrationTemplateDocument = {
@@ -26950,6 +27946,7 @@
26950
27946
  },
26951
27947
  ...IssueBatchPayloadFragmentDoc.definitions,
26952
27948
  ...IssueFragmentDoc.definitions,
27949
+ ...ActorBotFragmentDoc.definitions,
26953
27950
  ],
26954
27951
  };
26955
27952
  const CreateIssueDocument = {
@@ -29424,6 +30421,11 @@
29424
30421
  operation: "mutation",
29425
30422
  name: { kind: "Name", value: "createProject" },
29426
30423
  variableDefinitions: [
30424
+ {
30425
+ kind: "VariableDefinition",
30426
+ variable: { kind: "Variable", name: { kind: "Name", value: "connectSlackChannel" } },
30427
+ type: { kind: "NamedType", name: { kind: "Name", value: "Boolean" } },
30428
+ },
29427
30429
  {
29428
30430
  kind: "VariableDefinition",
29429
30431
  variable: { kind: "Variable", name: { kind: "Name", value: "input" } },
@@ -29440,6 +30442,11 @@
29440
30442
  kind: "Field",
29441
30443
  name: { kind: "Name", value: "projectCreate" },
29442
30444
  arguments: [
30445
+ {
30446
+ kind: "Argument",
30447
+ name: { kind: "Name", value: "connectSlackChannel" },
30448
+ value: { kind: "Variable", name: { kind: "Name", value: "connectSlackChannel" } },
30449
+ },
29443
30450
  {
29444
30451
  kind: "Argument",
29445
30452
  name: { kind: "Name", value: "input" },
@@ -30965,6 +31972,44 @@
30965
31972
  ...TeamMembershipPayloadFragmentDoc.definitions,
30966
31973
  ],
30967
31974
  };
31975
+ const UnarchiveTeamDocument = {
31976
+ kind: "Document",
31977
+ definitions: [
31978
+ {
31979
+ kind: "OperationDefinition",
31980
+ operation: "mutation",
31981
+ name: { kind: "Name", value: "unarchiveTeam" },
31982
+ variableDefinitions: [
31983
+ {
31984
+ kind: "VariableDefinition",
31985
+ variable: { kind: "Variable", name: { kind: "Name", value: "id" } },
31986
+ type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "String" } } },
31987
+ },
31988
+ ],
31989
+ selectionSet: {
31990
+ kind: "SelectionSet",
31991
+ selections: [
31992
+ {
31993
+ kind: "Field",
31994
+ name: { kind: "Name", value: "teamUnarchive" },
31995
+ arguments: [
31996
+ {
31997
+ kind: "Argument",
31998
+ name: { kind: "Name", value: "id" },
31999
+ value: { kind: "Variable", name: { kind: "Name", value: "id" } },
32000
+ },
32001
+ ],
32002
+ selectionSet: {
32003
+ kind: "SelectionSet",
32004
+ selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "TeamArchivePayload" } }],
32005
+ },
32006
+ },
32007
+ ],
32008
+ },
32009
+ },
32010
+ ...TeamArchivePayloadFragmentDoc.definitions,
32011
+ ],
32012
+ };
30968
32013
  const UpdateTeamDocument = {
30969
32014
  kind: "Document",
30970
32015
  definitions: [
@@ -31356,82 +32401,6 @@
31356
32401
  ...UserSettingsFlagPayloadFragmentDoc.definitions,
31357
32402
  ],
31358
32403
  };
31359
- const UserGitHubConnectDocument = {
31360
- kind: "Document",
31361
- definitions: [
31362
- {
31363
- kind: "OperationDefinition",
31364
- operation: "mutation",
31365
- name: { kind: "Name", value: "userGitHubConnect" },
31366
- variableDefinitions: [
31367
- {
31368
- kind: "VariableDefinition",
31369
- variable: { kind: "Variable", name: { kind: "Name", value: "code" } },
31370
- type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "String" } } },
31371
- },
31372
- ],
31373
- selectionSet: {
31374
- kind: "SelectionSet",
31375
- selections: [
31376
- {
31377
- kind: "Field",
31378
- name: { kind: "Name", value: "userGitHubConnect" },
31379
- arguments: [
31380
- {
31381
- kind: "Argument",
31382
- name: { kind: "Name", value: "code" },
31383
- value: { kind: "Variable", name: { kind: "Name", value: "code" } },
31384
- },
31385
- ],
31386
- selectionSet: {
31387
- kind: "SelectionSet",
31388
- selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "UserPayload" } }],
31389
- },
31390
- },
31391
- ],
31392
- },
31393
- },
31394
- ...UserPayloadFragmentDoc.definitions,
31395
- ],
31396
- };
31397
- const UserJiraConnectDocument = {
31398
- kind: "Document",
31399
- definitions: [
31400
- {
31401
- kind: "OperationDefinition",
31402
- operation: "mutation",
31403
- name: { kind: "Name", value: "userJiraConnect" },
31404
- variableDefinitions: [
31405
- {
31406
- kind: "VariableDefinition",
31407
- variable: { kind: "Variable", name: { kind: "Name", value: "code" } },
31408
- type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "String" } } },
31409
- },
31410
- ],
31411
- selectionSet: {
31412
- kind: "SelectionSet",
31413
- selections: [
31414
- {
31415
- kind: "Field",
31416
- name: { kind: "Name", value: "userJiraConnect" },
31417
- arguments: [
31418
- {
31419
- kind: "Argument",
31420
- name: { kind: "Name", value: "code" },
31421
- value: { kind: "Variable", name: { kind: "Name", value: "code" } },
31422
- },
31423
- ],
31424
- selectionSet: {
31425
- kind: "SelectionSet",
31426
- selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "UserPayload" } }],
31427
- },
31428
- },
31429
- ],
31430
- },
31431
- },
31432
- ...UserPayloadFragmentDoc.definitions,
31433
- ],
31434
- };
31435
32404
  const UserPromoteAdminDocument = {
31436
32405
  kind: "Document",
31437
32406
  definitions: [
@@ -32159,19 +33128,24 @@
32159
33128
  __proto__: null,
32160
33129
  get AuthenticationSessionType () { return AuthenticationSessionType; },
32161
33130
  get ContextViewType () { return ContextViewType; },
33131
+ get DateResolutionType () { return DateResolutionType; },
32162
33132
  get Day () { return Day; },
33133
+ get GitAutomationStates () { return GitAutomationStates; },
32163
33134
  get IntegrationService () { return IntegrationService; },
32164
33135
  get IssueRelationType () { return IssueRelationType; },
32165
33136
  get OAuthClientApprovalStatus () { return OAuthClientApprovalStatus; },
32166
33137
  get OrganizationDomainAuthType () { return OrganizationDomainAuthType; },
32167
33138
  get OrganizationInviteStatus () { return OrganizationInviteStatus; },
32168
33139
  get PaginationOrderBy () { return PaginationOrderBy; },
33140
+ get ProjectTab () { return ProjectTab; },
32169
33141
  get ProjectUpdateHealthType () { return ProjectUpdateHealthType; },
32170
33142
  get ProjectUpdateReminderFrequency () { return ProjectUpdateReminderFrequency; },
32171
33143
  get PushSubscriptionType () { return PushSubscriptionType; },
32172
33144
  get ReleaseChannel () { return ReleaseChannel; },
32173
33145
  get SlaDayCountType () { return SlaDayCountType; },
33146
+ get SendStrategy () { return SendStrategy; },
32174
33147
  get SlaStatus () { return SlaStatus; },
33148
+ get SlackChannelType () { return SlackChannelType; },
32175
33149
  get TriageResponsibilityAction () { return TriageResponsibilityAction; },
32176
33150
  get UserContextViewType () { return UserContextViewType; },
32177
33151
  get UserFlagType () { return UserFlagType; },
@@ -32201,17 +33175,20 @@
32201
33175
  NotificationArchivePayloadFragmentDoc: NotificationArchivePayloadFragmentDoc,
32202
33176
  ProjectArchivePayloadFragmentDoc: ProjectArchivePayloadFragmentDoc,
32203
33177
  RoadmapArchivePayloadFragmentDoc: RoadmapArchivePayloadFragmentDoc,
33178
+ TeamArchivePayloadFragmentDoc: TeamArchivePayloadFragmentDoc,
32204
33179
  WorkflowStateArchivePayloadFragmentDoc: WorkflowStateArchivePayloadFragmentDoc,
32205
33180
  ArchivePayloadFragmentDoc: ArchivePayloadFragmentDoc,
32206
33181
  LabelNotificationSubscriptionFragmentDoc: LabelNotificationSubscriptionFragmentDoc,
32207
33182
  ProjectNotificationSubscriptionFragmentDoc: ProjectNotificationSubscriptionFragmentDoc,
32208
33183
  TeamNotificationSubscriptionFragmentDoc: TeamNotificationSubscriptionFragmentDoc,
32209
- TemplateFragmentDoc: TemplateFragmentDoc,
32210
33184
  UserAccountFragmentDoc: UserAccountFragmentDoc,
32211
33185
  UserNotificationSubscriptionFragmentDoc: UserNotificationSubscriptionFragmentDoc,
33186
+ EmailIntakeAddressFragmentDoc: EmailIntakeAddressFragmentDoc,
32212
33187
  PaidSubscriptionFragmentDoc: PaidSubscriptionFragmentDoc,
32213
33188
  OrganizationFragmentDoc: OrganizationFragmentDoc,
32214
- SyncResponseFragmentDoc: SyncResponseFragmentDoc,
33189
+ AuthOauthClientWithScopeFragmentDoc: AuthOauthClientWithScopeFragmentDoc,
33190
+ AuthOauthClientWithMembershipsFragmentDoc: AuthOauthClientWithMembershipsFragmentDoc,
33191
+ AuthenticationSessionResponseFragmentDoc: AuthenticationSessionResponseFragmentDoc,
32215
33192
  OrganizationDomainFragmentDoc: OrganizationDomainFragmentDoc,
32216
33193
  GithubRepoFragmentDoc: GithubRepoFragmentDoc,
32217
33194
  GithubOrgFragmentDoc: GithubOrgFragmentDoc,
@@ -32219,10 +33196,10 @@
32219
33196
  UserAuthorizedApplicationFragmentDoc: UserAuthorizedApplicationFragmentDoc,
32220
33197
  ApplicationFragmentDoc: ApplicationFragmentDoc,
32221
33198
  FrontSettingsFragmentDoc: FrontSettingsFragmentDoc,
32222
- GitHubSettingsFragmentDoc: GitHubSettingsFragmentDoc,
32223
33199
  TeamRepoMappingFragmentDoc: TeamRepoMappingFragmentDoc,
32224
- GitHubSyncRepoFragmentDoc: GitHubSyncRepoFragmentDoc,
32225
- GitHubSyncSettingsFragmentDoc: GitHubSyncSettingsFragmentDoc,
33200
+ GitHubRepoFragmentDoc: GitHubRepoFragmentDoc,
33201
+ GitHubSettingsFragmentDoc: GitHubSettingsFragmentDoc,
33202
+ GitHubPersonalSettingsFragmentDoc: GitHubPersonalSettingsFragmentDoc,
32226
33203
  GitLabSettingsFragmentDoc: GitLabSettingsFragmentDoc,
32227
33204
  GoogleSheetsSettingsFragmentDoc: GoogleSheetsSettingsFragmentDoc,
32228
33205
  IntercomSettingsFragmentDoc: IntercomSettingsFragmentDoc,
@@ -32256,15 +33233,19 @@
32256
33233
  AuditEntryFragmentDoc: AuditEntryFragmentDoc,
32257
33234
  AuditEntryConnectionFragmentDoc: AuditEntryConnectionFragmentDoc,
32258
33235
  AuditEntryTypeFragmentDoc: AuditEntryTypeFragmentDoc,
32259
- AuthApiKeyDeletePayloadFragmentDoc: AuthApiKeyDeletePayloadFragmentDoc,
32260
33236
  AuthApiKeyFragmentDoc: AuthApiKeyFragmentDoc,
32261
33237
  AuthApiKeyPayloadFragmentDoc: AuthApiKeyPayloadFragmentDoc,
32262
- AuthIntegrationFragmentDoc: AuthIntegrationFragmentDoc,
32263
- AuthOauthClientFragmentDoc: AuthOauthClientFragmentDoc,
32264
33238
  AuthOrganizationFragmentDoc: AuthOrganizationFragmentDoc,
32265
33239
  AuthUserFragmentDoc: AuthUserFragmentDoc,
33240
+ AuthCreateOrJoinOrganizationResponseFragmentDoc: AuthCreateOrJoinOrganizationResponseFragmentDoc,
33241
+ AuthIntegrationFragmentDoc: AuthIntegrationFragmentDoc,
33242
+ AuthOauthClientFragmentDoc: AuthOauthClientFragmentDoc,
33243
+ OauthTokenFragmentDoc: OauthTokenFragmentDoc,
33244
+ AuthOauthClientWithTokensFragmentDoc: AuthOauthClientWithTokensFragmentDoc,
33245
+ AuthOrganizationDomainFragmentDoc: AuthOrganizationDomainFragmentDoc,
32266
33246
  AuthResolverResponseFragmentDoc: AuthResolverResponseFragmentDoc,
32267
- AuthenticationSessionResponseFragmentDoc: AuthenticationSessionResponseFragmentDoc,
33247
+ AuthSuccessPayloadFragmentDoc: AuthSuccessPayloadFragmentDoc,
33248
+ AuthorizedApplicationBaseFragmentDoc: AuthorizedApplicationBaseFragmentDoc,
32268
33249
  CommentFragmentDoc: CommentFragmentDoc,
32269
33250
  CommentConnectionFragmentDoc: CommentConnectionFragmentDoc,
32270
33251
  CommentPayloadFragmentDoc: CommentPayloadFragmentDoc,
@@ -32299,6 +33280,9 @@
32299
33280
  FavoriteConnectionFragmentDoc: FavoriteConnectionFragmentDoc,
32300
33281
  FavoritePayloadFragmentDoc: FavoritePayloadFragmentDoc,
32301
33282
  FrontAttachmentPayloadFragmentDoc: FrontAttachmentPayloadFragmentDoc,
33283
+ GitAutomationStateFragmentDoc: GitAutomationStateFragmentDoc,
33284
+ GitAutomationStateConnectionFragmentDoc: GitAutomationStateConnectionFragmentDoc,
33285
+ GitAutomationStatePayloadFragmentDoc: GitAutomationStatePayloadFragmentDoc,
32302
33286
  GitHubCommitIntegrationPayloadFragmentDoc: GitHubCommitIntegrationPayloadFragmentDoc,
32303
33287
  ImageUploadFromUrlPayloadFragmentDoc: ImageUploadFromUrlPayloadFragmentDoc,
32304
33288
  IntegrationFragmentDoc: IntegrationFragmentDoc,
@@ -32388,6 +33372,7 @@
32388
33372
  RoadmapToProjectConnectionFragmentDoc: RoadmapToProjectConnectionFragmentDoc,
32389
33373
  RoadmapToProjectPayloadFragmentDoc: RoadmapToProjectPayloadFragmentDoc,
32390
33374
  SamlConfigurationFragmentDoc: SamlConfigurationFragmentDoc,
33375
+ SlackChannelConnectPayloadFragmentDoc: SlackChannelConnectPayloadFragmentDoc,
32391
33376
  SsoUrlFromEmailResponseFragmentDoc: SsoUrlFromEmailResponseFragmentDoc,
32392
33377
  SynchronizedPayloadFragmentDoc: SynchronizedPayloadFragmentDoc,
32393
33378
  TeamFragmentDoc: TeamFragmentDoc,
@@ -32396,6 +33381,7 @@
32396
33381
  TeamMembershipConnectionFragmentDoc: TeamMembershipConnectionFragmentDoc,
32397
33382
  TeamMembershipPayloadFragmentDoc: TeamMembershipPayloadFragmentDoc,
32398
33383
  TeamPayloadFragmentDoc: TeamPayloadFragmentDoc,
33384
+ TemplateFragmentDoc: TemplateFragmentDoc,
32399
33385
  TemplateConnectionFragmentDoc: TemplateConnectionFragmentDoc,
32400
33386
  TemplatePayloadFragmentDoc: TemplatePayloadFragmentDoc,
32401
33387
  TriageResponsibilityFragmentDoc: TriageResponsibilityFragmentDoc,
@@ -32429,6 +33415,7 @@
32429
33415
  AttachmentDocument: AttachmentDocument,
32430
33416
  AttachmentIssueDocument: AttachmentIssueDocument,
32431
33417
  AttachmentIssue_AttachmentsDocument: AttachmentIssue_AttachmentsDocument,
33418
+ AttachmentIssue_BotActorDocument: AttachmentIssue_BotActorDocument,
32432
33419
  AttachmentIssue_ChildrenDocument: AttachmentIssue_ChildrenDocument,
32433
33420
  AttachmentIssue_CommentsDocument: AttachmentIssue_CommentsDocument,
32434
33421
  AttachmentIssue_HistoryDocument: AttachmentIssue_HistoryDocument,
@@ -32469,6 +33456,7 @@
32469
33456
  IntegrationsSettingsDocument: IntegrationsSettingsDocument,
32470
33457
  IssueDocument: IssueDocument,
32471
33458
  Issue_AttachmentsDocument: Issue_AttachmentsDocument,
33459
+ Issue_BotActorDocument: Issue_BotActorDocument,
32472
33460
  Issue_ChildrenDocument: Issue_ChildrenDocument,
32473
33461
  Issue_CommentsDocument: Issue_CommentsDocument,
32474
33462
  Issue_HistoryDocument: Issue_HistoryDocument,
@@ -32490,6 +33478,7 @@
32490
33478
  IssueSearchDocument: IssueSearchDocument,
32491
33479
  IssueVcsBranchSearchDocument: IssueVcsBranchSearchDocument,
32492
33480
  IssueVcsBranchSearch_AttachmentsDocument: IssueVcsBranchSearch_AttachmentsDocument,
33481
+ IssueVcsBranchSearch_BotActorDocument: IssueVcsBranchSearch_BotActorDocument,
32493
33482
  IssueVcsBranchSearch_ChildrenDocument: IssueVcsBranchSearch_ChildrenDocument,
32494
33483
  IssueVcsBranchSearch_CommentsDocument: IssueVcsBranchSearch_CommentsDocument,
32495
33484
  IssueVcsBranchSearch_HistoryDocument: IssueVcsBranchSearch_HistoryDocument,
@@ -32545,6 +33534,7 @@
32545
33534
  SearchProjects_ArchivePayloadDocument: SearchProjects_ArchivePayloadDocument,
32546
33535
  SsoUrlFromEmailDocument: SsoUrlFromEmailDocument,
32547
33536
  TeamDocument: TeamDocument,
33537
+ Team_AutomationStatesDocument: Team_AutomationStatesDocument,
32548
33538
  Team_CyclesDocument: Team_CyclesDocument,
32549
33539
  Team_IssuesDocument: Team_IssuesDocument,
32550
33540
  Team_LabelsDocument: Team_LabelsDocument,
@@ -32585,6 +33575,7 @@
32585
33575
  DeleteAttachmentDocument: DeleteAttachmentDocument,
32586
33576
  AttachmentLinkDiscordDocument: AttachmentLinkDiscordDocument,
32587
33577
  AttachmentLinkFrontDocument: AttachmentLinkFrontDocument,
33578
+ AttachmentLinkGitHubIssueDocument: AttachmentLinkGitHubIssueDocument,
32588
33579
  AttachmentLinkGitHubPrDocument: AttachmentLinkGitHubPrDocument,
32589
33580
  AttachmentLinkGitLabMrDocument: AttachmentLinkGitLabMrDocument,
32590
33581
  AttachmentLinkIntercomDocument: AttachmentLinkIntercomDocument,
@@ -32608,6 +33599,7 @@
32608
33599
  UpdateCustomViewDocument: UpdateCustomViewDocument,
32609
33600
  ArchiveCycleDocument: ArchiveCycleDocument,
32610
33601
  CreateCycleDocument: CreateCycleDocument,
33602
+ CycleShiftAllDocument: CycleShiftAllDocument,
32611
33603
  UpdateCycleDocument: UpdateCycleDocument,
32612
33604
  CreateDocumentDocument: CreateDocumentDocument,
32613
33605
  DeleteDocumentDocument: DeleteDocumentDocument,
@@ -32621,6 +33613,9 @@
32621
33613
  DeleteFavoriteDocument: DeleteFavoriteDocument,
32622
33614
  UpdateFavoriteDocument: UpdateFavoriteDocument,
32623
33615
  FileUploadDocument: FileUploadDocument,
33616
+ CreateGitAutomationStateDocument: CreateGitAutomationStateDocument,
33617
+ DeleteGitAutomationStateDocument: DeleteGitAutomationStateDocument,
33618
+ UpdateGitAutomationStateDocument: UpdateGitAutomationStateDocument,
32624
33619
  GoogleUserAccountAuthDocument: GoogleUserAccountAuthDocument,
32625
33620
  ImageUploadFromUrlDocument: ImageUploadFromUrlDocument,
32626
33621
  ImportFileUploadDocument: ImportFileUploadDocument,
@@ -32632,7 +33627,6 @@
32632
33627
  IntegrationGitHubPersonalDocument: IntegrationGitHubPersonalDocument,
32633
33628
  CreateIntegrationGithubCommitDocument: CreateIntegrationGithubCommitDocument,
32634
33629
  IntegrationGithubConnectDocument: IntegrationGithubConnectDocument,
32635
- IntegrationGithubSyncConnectDocument: IntegrationGithubSyncConnectDocument,
32636
33630
  IntegrationGitlabConnectDocument: IntegrationGitlabConnectDocument,
32637
33631
  IntegrationGoogleSheetsDocument: IntegrationGoogleSheetsDocument,
32638
33632
  IntegrationIntercomDocument: IntegrationIntercomDocument,
@@ -32744,6 +33738,7 @@
32744
33738
  CreateTeamMembershipDocument: CreateTeamMembershipDocument,
32745
33739
  DeleteTeamMembershipDocument: DeleteTeamMembershipDocument,
32746
33740
  UpdateTeamMembershipDocument: UpdateTeamMembershipDocument,
33741
+ UnarchiveTeamDocument: UnarchiveTeamDocument,
32747
33742
  UpdateTeamDocument: UpdateTeamDocument,
32748
33743
  CreateTemplateDocument: CreateTemplateDocument,
32749
33744
  DeleteTemplateDocument: DeleteTemplateDocument,
@@ -32753,8 +33748,6 @@
32753
33748
  UserDiscordConnectDocument: UserDiscordConnectDocument,
32754
33749
  UserExternalUserDisconnectDocument: UserExternalUserDisconnectDocument,
32755
33750
  UpdateUserFlagDocument: UpdateUserFlagDocument,
32756
- UserGitHubConnectDocument: UserGitHubConnectDocument,
32757
- UserJiraConnectDocument: UserJiraConnectDocument,
32758
33751
  UserPromoteAdminDocument: UserPromoteAdminDocument,
32759
33752
  UserPromoteMemberDocument: UserPromoteMemberDocument,
32760
33753
  UserSettingsFlagIncrementDocument: UserSettingsFlagIncrementDocument,
@@ -33046,20 +34039,20 @@
33046
34039
  */
33047
34040
  class Attachment extends Request {
33048
34041
  constructor(request, data) {
33049
- var _a, _b, _c, _d, _e, _f, _g, _h;
34042
+ var _a, _b, _c, _d, _e, _f, _g;
33050
34043
  super(request);
33051
34044
  this.archivedAt = (_a = parseDate(data.archivedAt)) !== null && _a !== void 0 ? _a : undefined;
33052
34045
  this.createdAt = (_b = parseDate(data.createdAt)) !== null && _b !== void 0 ? _b : new Date();
33053
34046
  this.groupBySource = data.groupBySource;
33054
34047
  this.id = data.id;
33055
- this.metadata = (_c = parseJson(data.metadata)) !== null && _c !== void 0 ? _c : {};
33056
- this.source = (_d = parseJson(data.source)) !== null && _d !== void 0 ? _d : undefined;
33057
- this.sourceType = (_e = data.sourceType) !== null && _e !== void 0 ? _e : undefined;
33058
- this.subtitle = (_f = data.subtitle) !== null && _f !== void 0 ? _f : undefined;
34048
+ this.metadata = data.metadata;
34049
+ this.source = (_c = data.source) !== null && _c !== void 0 ? _c : undefined;
34050
+ this.sourceType = (_d = data.sourceType) !== null && _d !== void 0 ? _d : undefined;
34051
+ this.subtitle = (_e = data.subtitle) !== null && _e !== void 0 ? _e : undefined;
33059
34052
  this.title = data.title;
33060
- this.updatedAt = (_g = parseDate(data.updatedAt)) !== null && _g !== void 0 ? _g : new Date();
34053
+ this.updatedAt = (_f = parseDate(data.updatedAt)) !== null && _f !== void 0 ? _f : new Date();
33061
34054
  this.url = data.url;
33062
- this._creator = (_h = data.creator) !== null && _h !== void 0 ? _h : undefined;
34055
+ this._creator = (_g = data.creator) !== null && _g !== void 0 ? _g : undefined;
33063
34056
  this._issue = data.issue;
33064
34057
  }
33065
34058
  /** The creator of the attachment. */
@@ -33146,9 +34139,8 @@
33146
34139
  */
33147
34140
  class AttachmentSourcesPayload extends Request {
33148
34141
  constructor(request, data) {
33149
- var _a;
33150
34142
  super(request);
33151
- this.sources = (_a = parseJson(data.sources)) !== null && _a !== void 0 ? _a : {};
34143
+ this.sources = data.sources;
33152
34144
  }
33153
34145
  }
33154
34146
  /**
@@ -33167,8 +34159,8 @@
33167
34159
  this.createdAt = (_d = parseDate(data.createdAt)) !== null && _d !== void 0 ? _d : new Date();
33168
34160
  this.id = data.id;
33169
34161
  this.ip = (_e = data.ip) !== null && _e !== void 0 ? _e : undefined;
33170
- this.metadata = (_f = parseJson(data.metadata)) !== null && _f !== void 0 ? _f : undefined;
33171
- this.requestInformation = (_g = parseJson(data.requestInformation)) !== null && _g !== void 0 ? _g : undefined;
34162
+ this.metadata = (_f = data.metadata) !== null && _f !== void 0 ? _f : undefined;
34163
+ this.requestInformation = (_g = data.requestInformation) !== null && _g !== void 0 ? _g : undefined;
33172
34164
  this.type = data.type;
33173
34165
  this.updatedAt = (_h = parseDate(data.updatedAt)) !== null && _h !== void 0 ? _h : new Date();
33174
34166
  this._actor = (_j = data.actor) !== null && _j !== void 0 ? _j : undefined;
@@ -33221,28 +34213,33 @@
33221
34213
  }
33222
34214
  }
33223
34215
  /**
33224
- * AuthApiKeyDeletePayload model
34216
+ * AuthApiKeyPayload model
33225
34217
  *
33226
34218
  * @param request - function to call the graphql client
33227
- * @param data - L.AuthApiKeyDeletePayloadFragment response data
34219
+ * @param data - L.AuthApiKeyPayloadFragment response data
33228
34220
  */
33229
- class AuthApiKeyDeletePayload extends Request {
34221
+ class AuthApiKeyPayload extends Request {
33230
34222
  constructor(request, data) {
33231
34223
  super(request);
33232
34224
  this.success = data.success;
34225
+ this.authApiKey = new AuthApiKey(request, data.authApiKey);
33233
34226
  }
33234
34227
  }
33235
34228
  /**
33236
- * AuthApiKeyPayload model
34229
+ * AuthCreateOrJoinOrganizationResponse model
33237
34230
  *
33238
34231
  * @param request - function to call the graphql client
33239
- * @param data - L.AuthApiKeyPayloadFragment response data
34232
+ * @param data - L.AuthCreateOrJoinOrganizationResponseFragment response data
33240
34233
  */
33241
- class AuthApiKeyPayload extends Request {
34234
+ class AuthCreateOrJoinOrganizationResponse extends Request {
33242
34235
  constructor(request, data) {
34236
+ var _a;
33243
34237
  super(request);
33244
- this.success = data.success;
33245
- this.authApiKey = new AuthApiKey(request, data.authApiKey);
34238
+ this.grantDomainAccess = (_a = data.grantDomainAccess) !== null && _a !== void 0 ? _a : undefined;
34239
+ this.authOrganization = new AuthOrganization(request, data.authOrganization);
34240
+ this.authUser = new AuthUser(request, data.authUser);
34241
+ this.organization = new AuthOrganization(request, data.organization);
34242
+ this.user = new AuthUser(request, data.user);
33246
34243
  }
33247
34244
  }
33248
34245
  /**
@@ -33265,11 +34262,72 @@
33265
34262
  */
33266
34263
  class AuthOauthClient extends Request {
33267
34264
  constructor(request, data) {
34265
+ var _a, _b, _c, _d;
33268
34266
  super(request);
34267
+ this.archivedAt = (_a = parseDate(data.archivedAt)) !== null && _a !== void 0 ? _a : undefined;
33269
34268
  this.clientId = data.clientId;
33270
34269
  this.clientSecret = data.clientSecret;
34270
+ this.creatorId = data.creatorId;
34271
+ this.description = (_b = data.description) !== null && _b !== void 0 ? _b : undefined;
34272
+ this.developer = data.developer;
34273
+ this.developerUrl = data.developerUrl;
33271
34274
  this.id = data.id;
34275
+ this.imageUrl = (_c = data.imageUrl) !== null && _c !== void 0 ? _c : undefined;
34276
+ this.name = data.name;
34277
+ this.organizationId = data.organizationId;
34278
+ this.publicEnabled = data.publicEnabled;
33272
34279
  this.redirectUris = data.redirectUris;
34280
+ this.webhookUrl = (_d = data.webhookUrl) !== null && _d !== void 0 ? _d : undefined;
34281
+ }
34282
+ }
34283
+ /**
34284
+ * AuthOauthClient with token creator IDs and counts (memberships), for use in the GraphQL API.
34285
+ *
34286
+ * @param request - function to call the graphql client
34287
+ * @param data - L.AuthOauthClientWithMembershipsFragment response data
34288
+ */
34289
+ class AuthOauthClientWithMemberships extends Request {
34290
+ constructor(request, data) {
34291
+ var _a, _b;
34292
+ super(request);
34293
+ this.appId = data.appId;
34294
+ this.clientId = data.clientId;
34295
+ this.imageUrl = (_a = data.imageUrl) !== null && _a !== void 0 ? _a : undefined;
34296
+ this.name = data.name;
34297
+ this.scope = data.scope;
34298
+ this.totalMembers = data.totalMembers;
34299
+ this.webhookUrl = (_b = data.webhookUrl) !== null && _b !== void 0 ? _b : undefined;
34300
+ }
34301
+ }
34302
+ /**
34303
+ * AuthOauthClient with scope from OauthToken, for use in the GraphQL API.
34304
+ *
34305
+ * @param request - function to call the graphql client
34306
+ * @param data - L.AuthOauthClientWithScopeFragment response data
34307
+ */
34308
+ class AuthOauthClientWithScope extends Request {
34309
+ constructor(request, data) {
34310
+ var _a, _b;
34311
+ super(request);
34312
+ this.appId = data.appId;
34313
+ this.clientId = data.clientId;
34314
+ this.imageUrl = (_a = data.imageUrl) !== null && _a !== void 0 ? _a : undefined;
34315
+ this.name = data.name;
34316
+ this.scope = data.scope;
34317
+ this.webhookUrl = (_b = data.webhookUrl) !== null && _b !== void 0 ? _b : undefined;
34318
+ }
34319
+ }
34320
+ /**
34321
+ * AuthOauthClientWithTokens model
34322
+ *
34323
+ * @param request - function to call the graphql client
34324
+ * @param data - L.AuthOauthClientWithTokensFragment response data
34325
+ */
34326
+ class AuthOauthClientWithTokens extends Request {
34327
+ constructor(request, data) {
34328
+ super(request);
34329
+ this.client = new AuthOauthClient(request, data.client);
34330
+ this.tokens = data.tokens.map(node => new OauthToken(request, node));
33273
34331
  }
33274
34332
  }
33275
34333
  /**
@@ -33289,10 +34347,23 @@
33289
34347
  this.name = data.name;
33290
34348
  this.previousUrlKeys = data.previousUrlKeys;
33291
34349
  this.samlEnabled = data.samlEnabled;
34350
+ this.scimEnabled = data.scimEnabled;
33292
34351
  this.urlKey = data.urlKey;
33293
34352
  this.userCount = data.userCount;
33294
34353
  }
33295
34354
  }
34355
+ /**
34356
+ * AuthOrganizationDomain model
34357
+ *
34358
+ * @param request - function to call the graphql client
34359
+ * @param data - L.AuthOrganizationDomainFragment response data
34360
+ */
34361
+ class AuthOrganizationDomain extends Request {
34362
+ constructor(request, data) {
34363
+ super(request);
34364
+ this.id = data.id;
34365
+ }
34366
+ }
33296
34367
  /**
33297
34368
  * AuthResolverResponse model
33298
34369
  *
@@ -33317,6 +34388,18 @@
33317
34388
  this.users = data.users.map(node => new AuthUser(request, node));
33318
34389
  }
33319
34390
  }
34391
+ /**
34392
+ * AuthSuccessPayload model
34393
+ *
34394
+ * @param request - function to call the graphql client
34395
+ * @param data - L.AuthSuccessPayloadFragment response data
34396
+ */
34397
+ class AuthSuccessPayload extends Request {
34398
+ constructor(request, data) {
34399
+ super(request);
34400
+ this.success = data.success;
34401
+ }
34402
+ }
33320
34403
  /**
33321
34404
  * A user that has access to the the resources of an organization.
33322
34405
  *
@@ -33327,6 +34410,7 @@
33327
34410
  constructor(request, data) {
33328
34411
  var _a;
33329
34412
  super(request);
34413
+ this.active = data.active;
33330
34414
  this.avatarUrl = (_a = data.avatarUrl) !== null && _a !== void 0 ? _a : undefined;
33331
34415
  this.displayName = data.displayName;
33332
34416
  this.email = data.email;
@@ -33363,7 +34447,7 @@
33363
34447
  }
33364
34448
  }
33365
34449
  /**
33366
- * AuthenticationSessionResponse model
34450
+ * Authentication session information
33367
34451
  *
33368
34452
  * @param request - function to call the graphql client
33369
34453
  * @param data - L.AuthenticationSessionResponseFragment response data
@@ -33390,6 +34474,23 @@
33390
34474
  this.userAgent = (_m = data.userAgent) !== null && _m !== void 0 ? _m : undefined;
33391
34475
  }
33392
34476
  }
34477
+ /**
34478
+ * AuthorizedApplicationBase model
34479
+ *
34480
+ * @param request - function to call the graphql client
34481
+ * @param data - L.AuthorizedApplicationBaseFragment response data
34482
+ */
34483
+ class AuthorizedApplicationBase extends Request {
34484
+ constructor(request, data) {
34485
+ var _a;
34486
+ super(request);
34487
+ this.appId = data.appId;
34488
+ this.clientId = data.clientId;
34489
+ this.imageUrl = (_a = data.imageUrl) !== null && _a !== void 0 ? _a : undefined;
34490
+ this.name = data.name;
34491
+ this.scope = data.scope;
34492
+ }
34493
+ }
33393
34494
  /**
33394
34495
  * A comment associated with an issue.
33395
34496
  *
@@ -33398,34 +34499,41 @@
33398
34499
  */
33399
34500
  class Comment extends Request {
33400
34501
  constructor(request, data) {
33401
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
34502
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
33402
34503
  super(request);
33403
34504
  this.archivedAt = (_a = parseDate(data.archivedAt)) !== null && _a !== void 0 ? _a : undefined;
33404
34505
  this.body = data.body;
33405
34506
  this.createdAt = (_b = parseDate(data.createdAt)) !== null && _b !== void 0 ? _b : new Date();
33406
34507
  this.editedAt = (_c = parseDate(data.editedAt)) !== null && _c !== void 0 ? _c : undefined;
33407
34508
  this.id = data.id;
33408
- this.reactionData = (_d = parseJson(data.reactionData)) !== null && _d !== void 0 ? _d : {};
33409
- this.resolvedAt = (_e = parseDate(data.resolvedAt)) !== null && _e !== void 0 ? _e : undefined;
33410
- this.updatedAt = (_f = parseDate(data.updatedAt)) !== null && _f !== void 0 ? _f : new Date();
34509
+ this.reactionData = data.reactionData;
34510
+ this.resolvedAt = (_d = parseDate(data.resolvedAt)) !== null && _d !== void 0 ? _d : undefined;
34511
+ this.updatedAt = (_e = parseDate(data.updatedAt)) !== null && _e !== void 0 ? _e : new Date();
33411
34512
  this.url = data.url;
33412
34513
  this.botActor = data.botActor ? new ActorBot(request, data.botActor) : undefined;
33413
34514
  this.documentContent = data.documentContent ? new DocumentContent(request, data.documentContent) : undefined;
33414
- this._issue = data.issue;
34515
+ this._issue = (_f = data.issue) !== null && _f !== void 0 ? _f : undefined;
33415
34516
  this._parent = (_g = data.parent) !== null && _g !== void 0 ? _g : undefined;
33416
- this._resolvingComment = (_h = data.resolvingComment) !== null && _h !== void 0 ? _h : undefined;
33417
- this._resolvingUser = (_j = data.resolvingUser) !== null && _j !== void 0 ? _j : undefined;
33418
- this._user = (_k = data.user) !== null && _k !== void 0 ? _k : undefined;
34517
+ this._projectUpdate = (_h = data.projectUpdate) !== null && _h !== void 0 ? _h : undefined;
34518
+ this._resolvingComment = (_j = data.resolvingComment) !== null && _j !== void 0 ? _j : undefined;
34519
+ this._resolvingUser = (_k = data.resolvingUser) !== null && _k !== void 0 ? _k : undefined;
34520
+ this._user = (_l = data.user) !== null && _l !== void 0 ? _l : undefined;
33419
34521
  }
33420
34522
  /** The issue that the comment is associated with. */
33421
34523
  get issue() {
33422
- return new IssueQuery(this._request).fetch(this._issue.id);
34524
+ var _a, _b;
34525
+ return ((_a = this._issue) === null || _a === void 0 ? void 0 : _a.id) ? new IssueQuery(this._request).fetch((_b = this._issue) === null || _b === void 0 ? void 0 : _b.id) : undefined;
33423
34526
  }
33424
34527
  /** The parent comment under which the current comment is nested. */
33425
34528
  get parent() {
33426
34529
  var _a, _b;
33427
34530
  return ((_a = this._parent) === null || _a === void 0 ? void 0 : _a.id) ? new CommentQuery(this._request).fetch((_b = this._parent) === null || _b === void 0 ? void 0 : _b.id) : undefined;
33428
34531
  }
34532
+ /** The project update that the comment is associated with. */
34533
+ get projectUpdate() {
34534
+ var _a, _b;
34535
+ return ((_a = this._projectUpdate) === null || _a === void 0 ? void 0 : _a.id) ? new ProjectUpdateQuery(this._request).fetch((_b = this._projectUpdate) === null || _b === void 0 ? void 0 : _b.id) : undefined;
34536
+ }
33429
34537
  /** The comment that resolved the thread. */
33430
34538
  get resolvingComment() {
33431
34539
  var _a, _b;
@@ -33496,17 +34604,17 @@
33496
34604
  */
33497
34605
  class Company extends Request {
33498
34606
  constructor(request, data) {
33499
- var _a, _b, _c, _d, _e, _f;
34607
+ var _a, _b, _c, _d, _e;
33500
34608
  super(request);
33501
34609
  this.archivedAt = (_a = parseDate(data.archivedAt)) !== null && _a !== void 0 ? _a : undefined;
33502
- this.companyProperties = (_b = parseJson(data.companyProperties)) !== null && _b !== void 0 ? _b : {};
33503
- this.createdAt = (_c = parseDate(data.createdAt)) !== null && _c !== void 0 ? _c : new Date();
34610
+ this.companyProperties = data.companyProperties;
34611
+ this.createdAt = (_b = parseDate(data.createdAt)) !== null && _b !== void 0 ? _b : new Date();
33504
34612
  this.externalId = data.externalId;
33505
34613
  this.id = data.id;
33506
- this.logoUrl = (_d = data.logoUrl) !== null && _d !== void 0 ? _d : undefined;
34614
+ this.logoUrl = (_c = data.logoUrl) !== null && _c !== void 0 ? _c : undefined;
33507
34615
  this.name = data.name;
33508
- this.updatedAt = (_e = parseDate(data.updatedAt)) !== null && _e !== void 0 ? _e : new Date();
33509
- this.websiteUrl = (_f = data.websiteUrl) !== null && _f !== void 0 ? _f : undefined;
34616
+ this.updatedAt = (_d = parseDate(data.updatedAt)) !== null && _d !== void 0 ? _d : new Date();
34617
+ this.websiteUrl = (_e = data.websiteUrl) !== null && _e !== void 0 ? _e : undefined;
33510
34618
  this._creator = data.creator;
33511
34619
  }
33512
34620
  /** The user who added the company. */
@@ -33575,23 +34683,23 @@
33575
34683
  */
33576
34684
  class CustomView extends Request {
33577
34685
  constructor(request, data) {
33578
- var _a, _b, _c, _d, _e, _f, _g, _h, _j;
34686
+ var _a, _b, _c, _d, _e, _f, _g;
33579
34687
  super(request);
33580
34688
  this.archivedAt = (_a = parseDate(data.archivedAt)) !== null && _a !== void 0 ? _a : undefined;
33581
34689
  this.color = (_b = data.color) !== null && _b !== void 0 ? _b : undefined;
33582
34690
  this.createdAt = (_c = parseDate(data.createdAt)) !== null && _c !== void 0 ? _c : new Date();
33583
34691
  this.description = (_d = data.description) !== null && _d !== void 0 ? _d : undefined;
33584
- this.filterData = (_e = parseJson(data.filterData)) !== null && _e !== void 0 ? _e : {};
33585
- this.filters = (_f = parseJson(data.filters)) !== null && _f !== void 0 ? _f : {};
33586
- this.icon = (_g = data.icon) !== null && _g !== void 0 ? _g : undefined;
34692
+ this.filterData = data.filterData;
34693
+ this.filters = data.filters;
34694
+ this.icon = (_e = data.icon) !== null && _e !== void 0 ? _e : undefined;
33587
34695
  this.id = data.id;
33588
34696
  this.modelName = data.modelName;
33589
34697
  this.name = data.name;
33590
34698
  this.shared = data.shared;
33591
- this.updatedAt = (_h = parseDate(data.updatedAt)) !== null && _h !== void 0 ? _h : new Date();
34699
+ this.updatedAt = (_f = parseDate(data.updatedAt)) !== null && _f !== void 0 ? _f : new Date();
33592
34700
  this._creator = data.creator;
33593
34701
  this._owner = data.owner;
33594
- this._team = (_j = data.team) !== null && _j !== void 0 ? _j : undefined;
34702
+ this._team = (_g = data.team) !== null && _g !== void 0 ? _g : undefined;
33595
34703
  }
33596
34704
  /** The user who created the custom view. */
33597
34705
  get creator() {
@@ -33934,6 +35042,7 @@
33934
35042
  this.icon = (_f = data.icon) !== null && _f !== void 0 ? _f : undefined;
33935
35043
  this.id = data.id;
33936
35044
  this.slugId = data.slugId;
35045
+ this.sortOrder = data.sortOrder;
33937
35046
  this.title = data.title;
33938
35047
  this.updatedAt = (_g = parseDate(data.updatedAt)) !== null && _g !== void 0 ? _g : new Date();
33939
35048
  this._creator = data.creator;
@@ -34111,7 +35220,7 @@
34111
35220
  */
34112
35221
  class DocumentSearchResult extends Request {
34113
35222
  constructor(request, data) {
34114
- var _a, _b, _c, _d, _e, _f, _g, _h, _j;
35223
+ var _a, _b, _c, _d, _e, _f, _g, _h;
34115
35224
  super(request);
34116
35225
  this.archivedAt = (_a = parseDate(data.archivedAt)) !== null && _a !== void 0 ? _a : undefined;
34117
35226
  this.color = (_b = data.color) !== null && _b !== void 0 ? _b : undefined;
@@ -34120,12 +35229,13 @@
34120
35229
  this.createdAt = (_e = parseDate(data.createdAt)) !== null && _e !== void 0 ? _e : new Date();
34121
35230
  this.icon = (_f = data.icon) !== null && _f !== void 0 ? _f : undefined;
34122
35231
  this.id = data.id;
34123
- this.metadata = (_g = parseJson(data.metadata)) !== null && _g !== void 0 ? _g : {};
35232
+ this.metadata = data.metadata;
34124
35233
  this.slugId = data.slugId;
35234
+ this.sortOrder = data.sortOrder;
34125
35235
  this.title = data.title;
34126
- this.updatedAt = (_h = parseDate(data.updatedAt)) !== null && _h !== void 0 ? _h : new Date();
35236
+ this.updatedAt = (_g = parseDate(data.updatedAt)) !== null && _g !== void 0 ? _g : new Date();
34127
35237
  this._creator = data.creator;
34128
- this._lastAppliedTemplate = (_j = data.lastAppliedTemplate) !== null && _j !== void 0 ? _j : undefined;
35238
+ this._lastAppliedTemplate = (_h = data.lastAppliedTemplate) !== null && _h !== void 0 ? _h : undefined;
34129
35239
  this._project = data.project;
34130
35240
  this._updatedBy = data.updatedBy;
34131
35241
  }
@@ -34161,6 +35271,35 @@
34161
35271
  super(request, fetch, data.nodes.map(node => new DocumentSearchResult(request, node)), new PageInfo(request, data.pageInfo));
34162
35272
  }
34163
35273
  }
35274
+ /**
35275
+ * An email address that can be used for submitting issues
35276
+ *
35277
+ * @param request - function to call the graphql client
35278
+ * @param data - L.EmailIntakeAddressFragment response data
35279
+ */
35280
+ class EmailIntakeAddress extends Request {
35281
+ constructor(request, data) {
35282
+ var _a, _b, _c, _d;
35283
+ super(request);
35284
+ this.address = data.address;
35285
+ this.archivedAt = (_a = parseDate(data.archivedAt)) !== null && _a !== void 0 ? _a : undefined;
35286
+ this.createdAt = (_b = parseDate(data.createdAt)) !== null && _b !== void 0 ? _b : new Date();
35287
+ this.enabled = data.enabled;
35288
+ this.id = data.id;
35289
+ this.updatedAt = (_c = parseDate(data.updatedAt)) !== null && _c !== void 0 ? _c : new Date();
35290
+ this._creator = (_d = data.creator) !== null && _d !== void 0 ? _d : undefined;
35291
+ this._team = data.team;
35292
+ }
35293
+ /** The user who created the email intake address. */
35294
+ get creator() {
35295
+ var _a, _b;
35296
+ 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;
35297
+ }
35298
+ /** The team that the email address is associated with. */
35299
+ get team() {
35300
+ return new TeamQuery(this._request).fetch(this._team.id);
35301
+ }
35302
+ }
34164
35303
  /**
34165
35304
  * EmailUnsubscribePayload model
34166
35305
  *
@@ -34435,6 +35574,72 @@
34435
35574
  this.sendNoteOnStatusChange = (_e = data.sendNoteOnStatusChange) !== null && _e !== void 0 ? _e : undefined;
34436
35575
  }
34437
35576
  }
35577
+ /**
35578
+ * A trigger that updates the issue status according to Git automations.
35579
+ *
35580
+ * @param request - function to call the graphql client
35581
+ * @param data - L.GitAutomationStateFragment response data
35582
+ */
35583
+ class GitAutomationState extends Request {
35584
+ constructor(request, data) {
35585
+ var _a, _b, _c, _d;
35586
+ super(request);
35587
+ this.archivedAt = (_a = parseDate(data.archivedAt)) !== null && _a !== void 0 ? _a : undefined;
35588
+ this.branchPattern = data.branchPattern;
35589
+ this.createdAt = (_b = parseDate(data.createdAt)) !== null && _b !== void 0 ? _b : new Date();
35590
+ this.id = data.id;
35591
+ this.updatedAt = (_c = parseDate(data.updatedAt)) !== null && _c !== void 0 ? _c : new Date();
35592
+ this._state = (_d = data.state) !== null && _d !== void 0 ? _d : undefined;
35593
+ this._team = data.team;
35594
+ }
35595
+ /** The associated workflow state. */
35596
+ get state() {
35597
+ var _a, _b;
35598
+ return ((_a = this._state) === null || _a === void 0 ? void 0 : _a.id) ? new WorkflowStateQuery(this._request).fetch((_b = this._state) === null || _b === void 0 ? void 0 : _b.id) : undefined;
35599
+ }
35600
+ /** The team to which this automation state belongs. */
35601
+ get team() {
35602
+ return new TeamQuery(this._request).fetch(this._team.id);
35603
+ }
35604
+ /** Creates a new automation state. */
35605
+ create(input) {
35606
+ return new CreateGitAutomationStateMutation(this._request).fetch(input);
35607
+ }
35608
+ /** Archives an automation state. */
35609
+ delete() {
35610
+ return new DeleteGitAutomationStateMutation(this._request).fetch(this.id);
35611
+ }
35612
+ /** Updates an existing state. */
35613
+ update(input) {
35614
+ return new UpdateGitAutomationStateMutation(this._request).fetch(this.id, input);
35615
+ }
35616
+ }
35617
+ /**
35618
+ * GitAutomationStateConnection model
35619
+ *
35620
+ * @param request - function to call the graphql client
35621
+ * @param fetch - function to trigger a refetch of this GitAutomationStateConnection model
35622
+ * @param data - GitAutomationStateConnection response data
35623
+ */
35624
+ class GitAutomationStateConnection extends Connection {
35625
+ constructor(request, fetch, data) {
35626
+ super(request, fetch, data.nodes.map(node => new GitAutomationState(request, node)), new PageInfo(request, data.pageInfo));
35627
+ }
35628
+ }
35629
+ /**
35630
+ * GitAutomationStatePayload model
35631
+ *
35632
+ * @param request - function to call the graphql client
35633
+ * @param data - L.GitAutomationStatePayloadFragment response data
35634
+ */
35635
+ class GitAutomationStatePayload extends Request {
35636
+ constructor(request, data) {
35637
+ super(request);
35638
+ this.lastSyncId = data.lastSyncId;
35639
+ this.success = data.success;
35640
+ this.gitAutomationState = new GitAutomationState(request, data.gitAutomationState);
35641
+ }
35642
+ }
34438
35643
  /**
34439
35644
  * GitHubCommitIntegrationPayload model
34440
35645
  *
@@ -34457,27 +35662,24 @@
34457
35662
  }
34458
35663
  }
34459
35664
  /**
34460
- * Metadata and settings for a GitHub integration.
35665
+ * Metadata and settings for a GitHub Personal integration.
34461
35666
  *
34462
35667
  * @param request - function to call the graphql client
34463
- * @param data - L.GitHubSettingsFragment response data
35668
+ * @param data - L.GitHubPersonalSettingsFragment response data
34464
35669
  */
34465
- class GitHubSettings extends Request {
35670
+ class GitHubPersonalSettings extends Request {
34466
35671
  constructor(request, data) {
34467
- var _a;
34468
35672
  super(request);
34469
- this.orgAvatarUrl = data.orgAvatarUrl;
34470
- this.orgLogin = data.orgLogin;
34471
- this.repositories = (_a = data.repositories) !== null && _a !== void 0 ? _a : undefined;
35673
+ this.login = data.login;
34472
35674
  }
34473
35675
  }
34474
35676
  /**
34475
35677
  * GitHub repos available to sync.
34476
35678
  *
34477
35679
  * @param request - function to call the graphql client
34478
- * @param data - L.GitHubSyncRepoFragment response data
35680
+ * @param data - L.GitHubRepoFragment response data
34479
35681
  */
34480
- class GitHubSyncRepo extends Request {
35682
+ class GitHubRepo extends Request {
34481
35683
  constructor(request, data) {
34482
35684
  super(request);
34483
35685
  this.fullName = data.fullName;
@@ -34485,16 +35687,20 @@
34485
35687
  }
34486
35688
  }
34487
35689
  /**
34488
- * Metadata and settings for a GitHub Sync integration.
35690
+ * Metadata and settings for a GitHub integration.
34489
35691
  *
34490
35692
  * @param request - function to call the graphql client
34491
- * @param data - L.GitHubSyncSettingsFragment response data
35693
+ * @param data - L.GitHubSettingsFragment response data
34492
35694
  */
34493
- class GitHubSyncSettings extends Request {
35695
+ class GitHubSettings extends Request {
34494
35696
  constructor(request, data) {
34495
35697
  super(request);
34496
- this.repoMapping = data.repoMapping ? data.repoMapping.map(node => new TeamRepoMapping(request, node)) : undefined;
34497
- this.repos = data.repos ? data.repos.map(node => new GitHubSyncRepo(request, node)) : undefined;
35698
+ this.orgAvatarUrl = data.orgAvatarUrl;
35699
+ this.orgLogin = data.orgLogin;
35700
+ this.repositories = data.repositories ? data.repositories.map(node => new GitHubRepo(request, node)) : undefined;
35701
+ this.repositoriesMapping = data.repositoriesMapping
35702
+ ? data.repositoriesMapping.map(node => new TeamRepoMapping(request, node))
35703
+ : undefined;
34498
35704
  }
34499
35705
  }
34500
35706
  /**
@@ -34678,7 +35884,7 @@
34678
35884
  super(request);
34679
35885
  this.front = data.front ? new FrontSettings(request, data.front) : undefined;
34680
35886
  this.gitHub = data.gitHub ? new GitHubSettings(request, data.gitHub) : undefined;
34681
- this.gitHubSync = data.gitHubSync ? new GitHubSyncSettings(request, data.gitHubSync) : undefined;
35887
+ this.gitHubPersonal = data.gitHubPersonal ? new GitHubPersonalSettings(request, data.gitHubPersonal) : undefined;
34682
35888
  this.gitLab = data.gitLab ? new GitLabSettings(request, data.gitLab) : undefined;
34683
35889
  this.googleSheets = data.googleSheets ? new GoogleSheetsSettings(request, data.googleSheets) : undefined;
34684
35890
  this.intercom = data.intercom ? new IntercomSettings(request, data.intercom) : undefined;
@@ -34879,6 +36085,7 @@
34879
36085
  this.estimate = (_j = data.estimate) !== null && _j !== void 0 ? _j : undefined;
34880
36086
  this.id = data.id;
34881
36087
  this.identifier = data.identifier;
36088
+ this.labelIds = data.labelIds;
34882
36089
  this.number = data.number;
34883
36090
  this.previousIdentifiers = data.previousIdentifiers;
34884
36091
  this.priority = data.priority;
@@ -34893,6 +36100,7 @@
34893
36100
  this.triagedAt = (_q = parseDate(data.triagedAt)) !== null && _q !== void 0 ? _q : undefined;
34894
36101
  this.updatedAt = (_r = parseDate(data.updatedAt)) !== null && _r !== void 0 ? _r : new Date();
34895
36102
  this.url = data.url;
36103
+ this.botActor = data.botActor ? new ActorBot(request, data.botActor) : undefined;
34896
36104
  this._assignee = (_s = data.assignee) !== null && _s !== void 0 ? _s : undefined;
34897
36105
  this._creator = (_t = data.creator) !== null && _t !== void 0 ? _t : undefined;
34898
36106
  this._cycle = (_u = data.cycle) !== null && _u !== void 0 ? _u : undefined;
@@ -35063,7 +36271,7 @@
35063
36271
  constructor(request, data) {
35064
36272
  var _a;
35065
36273
  super(request);
35066
- this.filter = (_a = parseJson(data.filter)) !== null && _a !== void 0 ? _a : undefined;
36274
+ this.filter = (_a = data.filter) !== null && _a !== void 0 ? _a : undefined;
35067
36275
  }
35068
36276
  }
35069
36277
  /**
@@ -35243,9 +36451,9 @@
35243
36451
  this.creatorId = data.creatorId;
35244
36452
  this.csvFileUrl = (_c = data.csvFileUrl) !== null && _c !== void 0 ? _c : undefined;
35245
36453
  this.error = (_d = data.error) !== null && _d !== void 0 ? _d : undefined;
35246
- this.errorMetadata = (_e = parseJson(data.errorMetadata)) !== null && _e !== void 0 ? _e : undefined;
36454
+ this.errorMetadata = (_e = data.errorMetadata) !== null && _e !== void 0 ? _e : undefined;
35247
36455
  this.id = data.id;
35248
- this.mapping = (_f = parseJson(data.mapping)) !== null && _f !== void 0 ? _f : undefined;
36456
+ this.mapping = (_f = data.mapping) !== null && _f !== void 0 ? _f : undefined;
35249
36457
  this.progress = (_g = data.progress) !== null && _g !== void 0 ? _g : undefined;
35250
36458
  this.service = data.service;
35251
36459
  this.status = data.status;
@@ -35583,7 +36791,7 @@
35583
36791
  */
35584
36792
  class IssueSearchResult extends Request {
35585
36793
  constructor(request, data) {
35586
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0;
36794
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z;
35587
36795
  super(request);
35588
36796
  this.archivedAt = (_a = parseDate(data.archivedAt)) !== null && _a !== void 0 ? _a : undefined;
35589
36797
  this.autoArchivedAt = (_b = parseDate(data.autoArchivedAt)) !== null && _b !== void 0 ? _b : undefined;
@@ -35599,29 +36807,31 @@
35599
36807
  this.estimate = (_j = data.estimate) !== null && _j !== void 0 ? _j : undefined;
35600
36808
  this.id = data.id;
35601
36809
  this.identifier = data.identifier;
35602
- this.metadata = (_k = parseJson(data.metadata)) !== null && _k !== void 0 ? _k : {};
36810
+ this.labelIds = data.labelIds;
36811
+ this.metadata = data.metadata;
35603
36812
  this.number = data.number;
35604
36813
  this.previousIdentifiers = data.previousIdentifiers;
35605
36814
  this.priority = data.priority;
35606
36815
  this.priorityLabel = data.priorityLabel;
35607
- this.snoozedUntilAt = (_l = parseDate(data.snoozedUntilAt)) !== null && _l !== void 0 ? _l : undefined;
36816
+ this.snoozedUntilAt = (_k = parseDate(data.snoozedUntilAt)) !== null && _k !== void 0 ? _k : undefined;
35608
36817
  this.sortOrder = data.sortOrder;
35609
- this.startedAt = (_m = parseDate(data.startedAt)) !== null && _m !== void 0 ? _m : undefined;
35610
- this.startedTriageAt = (_o = parseDate(data.startedTriageAt)) !== null && _o !== void 0 ? _o : undefined;
35611
- this.subIssueSortOrder = (_p = data.subIssueSortOrder) !== null && _p !== void 0 ? _p : undefined;
36818
+ this.startedAt = (_l = parseDate(data.startedAt)) !== null && _l !== void 0 ? _l : undefined;
36819
+ this.startedTriageAt = (_m = parseDate(data.startedTriageAt)) !== null && _m !== void 0 ? _m : undefined;
36820
+ this.subIssueSortOrder = (_o = data.subIssueSortOrder) !== null && _o !== void 0 ? _o : undefined;
35612
36821
  this.title = data.title;
35613
- this.trashed = (_q = data.trashed) !== null && _q !== void 0 ? _q : undefined;
35614
- this.triagedAt = (_r = parseDate(data.triagedAt)) !== null && _r !== void 0 ? _r : undefined;
35615
- this.updatedAt = (_s = parseDate(data.updatedAt)) !== null && _s !== void 0 ? _s : new Date();
36822
+ this.trashed = (_p = data.trashed) !== null && _p !== void 0 ? _p : undefined;
36823
+ this.triagedAt = (_q = parseDate(data.triagedAt)) !== null && _q !== void 0 ? _q : undefined;
36824
+ this.updatedAt = (_r = parseDate(data.updatedAt)) !== null && _r !== void 0 ? _r : new Date();
35616
36825
  this.url = data.url;
35617
- this._assignee = (_t = data.assignee) !== null && _t !== void 0 ? _t : undefined;
35618
- this._creator = (_u = data.creator) !== null && _u !== void 0 ? _u : undefined;
35619
- this._cycle = (_v = data.cycle) !== null && _v !== void 0 ? _v : undefined;
35620
- this._favorite = (_w = data.favorite) !== null && _w !== void 0 ? _w : undefined;
35621
- this._lastAppliedTemplate = (_x = data.lastAppliedTemplate) !== null && _x !== void 0 ? _x : undefined;
35622
- this._parent = (_y = data.parent) !== null && _y !== void 0 ? _y : undefined;
35623
- this._project = (_z = data.project) !== null && _z !== void 0 ? _z : undefined;
35624
- this._snoozedBy = (_0 = data.snoozedBy) !== null && _0 !== void 0 ? _0 : undefined;
36826
+ this.botActor = data.botActor ? new ActorBot(request, data.botActor) : undefined;
36827
+ this._assignee = (_s = data.assignee) !== null && _s !== void 0 ? _s : undefined;
36828
+ this._creator = (_t = data.creator) !== null && _t !== void 0 ? _t : undefined;
36829
+ this._cycle = (_u = data.cycle) !== null && _u !== void 0 ? _u : undefined;
36830
+ this._favorite = (_v = data.favorite) !== null && _v !== void 0 ? _v : undefined;
36831
+ this._lastAppliedTemplate = (_w = data.lastAppliedTemplate) !== null && _w !== void 0 ? _w : undefined;
36832
+ this._parent = (_x = data.parent) !== null && _x !== void 0 ? _x : undefined;
36833
+ this._project = (_y = data.project) !== null && _y !== void 0 ? _y : undefined;
36834
+ this._snoozedBy = (_z = data.snoozedBy) !== null && _z !== void 0 ? _z : undefined;
35625
36835
  this._state = data.state;
35626
36836
  this._team = data.team;
35627
36837
  }
@@ -35696,9 +36906,10 @@
35696
36906
  */
35697
36907
  class JiraLinearMapping extends Request {
35698
36908
  constructor(request, data) {
35699
- var _a;
36909
+ var _a, _b;
35700
36910
  super(request);
35701
36911
  this.bidirectional = (_a = data.bidirectional) !== null && _a !== void 0 ? _a : undefined;
36912
+ this.default = (_b = data.default) !== null && _b !== void 0 ? _b : undefined;
35702
36913
  this.jiraProjectId = data.jiraProjectId;
35703
36914
  this.linearTeamId = data.linearTeamId;
35704
36915
  }
@@ -35738,7 +36949,9 @@
35738
36949
  */
35739
36950
  class JiraSettings extends Request {
35740
36951
  constructor(request, data) {
36952
+ var _a;
35741
36953
  super(request);
36954
+ this.isJiraServer = (_a = data.isJiraServer) !== null && _a !== void 0 ? _a : undefined;
35742
36955
  this.projectMapping = data.projectMapping
35743
36956
  ? data.projectMapping.map(node => new JiraLinearMapping(request, node))
35744
36957
  : undefined;
@@ -36165,6 +37378,20 @@
36165
37378
  super(request, fetch, data.nodes.map(node => new OauthClient(request, node)), new PageInfo(request, data.pageInfo));
36166
37379
  }
36167
37380
  }
37381
+ /**
37382
+ * OauthToken model
37383
+ *
37384
+ * @param request - function to call the graphql client
37385
+ * @param data - L.OauthTokenFragment response data
37386
+ */
37387
+ class OauthToken extends Request {
37388
+ constructor(request, data) {
37389
+ var _a;
37390
+ super(request);
37391
+ this.createdAt = (_a = parseDate(data.createdAt)) !== null && _a !== void 0 ? _a : new Date();
37392
+ this.id = data.id;
37393
+ }
37394
+ }
36168
37395
  /**
36169
37396
  * An organization. Organizations are root-level objects that contain user accounts and teams.
36170
37397
  *
@@ -36181,6 +37408,7 @@
36181
37408
  this.createdAt = (_c = parseDate(data.createdAt)) !== null && _c !== void 0 ? _c : new Date();
36182
37409
  this.createdIssueCount = data.createdIssueCount;
36183
37410
  this.deletionRequestedAt = (_d = parseDate(data.deletionRequestedAt)) !== null && _d !== void 0 ? _d : undefined;
37411
+ this.fiscalYearStartMonth = data.fiscalYearStartMonth;
36184
37412
  this.gitBranchFormat = (_e = data.gitBranchFormat) !== null && _e !== void 0 ? _e : undefined;
36185
37413
  this.gitLinkbackMessagesEnabled = data.gitLinkbackMessagesEnabled;
36186
37414
  this.gitPublicLinkbackMessagesEnabled = data.gitPublicLinkbackMessagesEnabled;
@@ -36303,7 +37531,7 @@
36303
37531
  */
36304
37532
  class OrganizationInvite extends Request {
36305
37533
  constructor(request, data) {
36306
- var _a, _b, _c, _d, _e, _f, _g;
37534
+ var _a, _b, _c, _d, _e, _f;
36307
37535
  super(request);
36308
37536
  this.acceptedAt = (_a = parseDate(data.acceptedAt)) !== null && _a !== void 0 ? _a : undefined;
36309
37537
  this.archivedAt = (_b = parseDate(data.archivedAt)) !== null && _b !== void 0 ? _b : undefined;
@@ -36312,9 +37540,9 @@
36312
37540
  this.expiresAt = (_d = parseDate(data.expiresAt)) !== null && _d !== void 0 ? _d : undefined;
36313
37541
  this.external = data.external;
36314
37542
  this.id = data.id;
36315
- this.metadata = (_e = parseJson(data.metadata)) !== null && _e !== void 0 ? _e : {};
36316
- this.updatedAt = (_f = parseDate(data.updatedAt)) !== null && _f !== void 0 ? _f : new Date();
36317
- this._invitee = (_g = data.invitee) !== null && _g !== void 0 ? _g : undefined;
37543
+ this.metadata = data.metadata;
37544
+ this.updatedAt = (_e = parseDate(data.updatedAt)) !== null && _e !== void 0 ? _e : new Date();
37545
+ this._invitee = (_f = data.invitee) !== null && _f !== void 0 ? _f : undefined;
36318
37546
  this._inviter = data.inviter;
36319
37547
  }
36320
37548
  /** The user who has accepted the invite. Null, if the invite hasn't been accepted. */
@@ -36506,7 +37734,7 @@
36506
37734
  */
36507
37735
  class Project extends Request {
36508
37736
  constructor(request, data) {
36509
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s;
37737
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t;
36510
37738
  super(request);
36511
37739
  this.archivedAt = (_a = parseDate(data.archivedAt)) !== null && _a !== void 0 ? _a : undefined;
36512
37740
  this.autoArchivedAt = (_b = parseDate(data.autoArchivedAt)) !== null && _b !== void 0 ? _b : undefined;
@@ -36540,10 +37768,10 @@
36540
37768
  this.updatedAt = (_o = parseDate(data.updatedAt)) !== null && _o !== void 0 ? _o : new Date();
36541
37769
  this.url = data.url;
36542
37770
  this._convertedFromIssue = (_p = data.convertedFromIssue) !== null && _p !== void 0 ? _p : undefined;
36543
- this._creator = data.creator;
36544
- this._integrationsSettings = (_q = data.integrationsSettings) !== null && _q !== void 0 ? _q : undefined;
36545
- this._lastAppliedTemplate = (_r = data.lastAppliedTemplate) !== null && _r !== void 0 ? _r : undefined;
36546
- this._lead = (_s = data.lead) !== null && _s !== void 0 ? _s : undefined;
37771
+ this._creator = (_q = data.creator) !== null && _q !== void 0 ? _q : undefined;
37772
+ this._integrationsSettings = (_r = data.integrationsSettings) !== null && _r !== void 0 ? _r : undefined;
37773
+ this._lastAppliedTemplate = (_s = data.lastAppliedTemplate) !== null && _s !== void 0 ? _s : undefined;
37774
+ this._lead = (_t = data.lead) !== null && _t !== void 0 ? _t : undefined;
36547
37775
  }
36548
37776
  /** The project was created based on this issue. */
36549
37777
  get convertedFromIssue() {
@@ -36552,7 +37780,8 @@
36552
37780
  }
36553
37781
  /** The user who created the project. */
36554
37782
  get creator() {
36555
- return new UserQuery(this._request).fetch(this._creator.id);
37783
+ var _a, _b;
37784
+ 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;
36556
37785
  }
36557
37786
  /** Settings for all integrations associated with that project. */
36558
37787
  get integrationsSettings() {
@@ -36606,8 +37835,8 @@
36606
37835
  return new ArchiveProjectMutation(this._request).fetch(this.id, variables);
36607
37836
  }
36608
37837
  /** Creates a new project. */
36609
- create(input) {
36610
- return new CreateProjectMutation(this._request).fetch(input);
37838
+ create(input, variables) {
37839
+ return new CreateProjectMutation(this._request).fetch(input, variables);
36611
37840
  }
36612
37841
  /** Deletes (trashes) a project. */
36613
37842
  delete() {
@@ -36664,7 +37893,7 @@
36664
37893
  constructor(request, data) {
36665
37894
  var _a;
36666
37895
  super(request);
36667
- this.filter = (_a = parseJson(data.filter)) !== null && _a !== void 0 ? _a : undefined;
37896
+ this.filter = (_a = data.filter) !== null && _a !== void 0 ? _a : undefined;
36668
37897
  }
36669
37898
  }
36670
37899
  /**
@@ -36681,6 +37910,7 @@
36681
37910
  this.createdAt = (_b = parseDate(data.createdAt)) !== null && _b !== void 0 ? _b : new Date();
36682
37911
  this.id = data.id;
36683
37912
  this.label = data.label;
37913
+ this.sortOrder = data.sortOrder;
36684
37914
  this.updatedAt = (_c = parseDate(data.updatedAt)) !== null && _c !== void 0 ? _c : new Date();
36685
37915
  this.url = data.url;
36686
37916
  this._creator = data.creator;
@@ -36960,10 +38190,10 @@
36960
38190
  this.id = data.id;
36961
38191
  this.inProgressScopeHistory = data.inProgressScopeHistory;
36962
38192
  this.issueCountHistory = data.issueCountHistory;
36963
- this.metadata = (_h = parseJson(data.metadata)) !== null && _h !== void 0 ? _h : {};
38193
+ this.metadata = data.metadata;
36964
38194
  this.name = data.name;
36965
38195
  this.progress = data.progress;
36966
- this.projectUpdateRemindersPausedUntilAt = (_j = parseDate(data.projectUpdateRemindersPausedUntilAt)) !== null && _j !== void 0 ? _j : undefined;
38196
+ this.projectUpdateRemindersPausedUntilAt = (_h = parseDate(data.projectUpdateRemindersPausedUntilAt)) !== null && _h !== void 0 ? _h : undefined;
36967
38197
  this.scope = data.scope;
36968
38198
  this.scopeHistory = data.scopeHistory;
36969
38199
  this.slackIssueComments = data.slackIssueComments;
@@ -36971,15 +38201,15 @@
36971
38201
  this.slackNewIssue = data.slackNewIssue;
36972
38202
  this.slugId = data.slugId;
36973
38203
  this.sortOrder = data.sortOrder;
36974
- this.startDate = (_k = data.startDate) !== null && _k !== void 0 ? _k : undefined;
36975
- this.startedAt = (_l = parseDate(data.startedAt)) !== null && _l !== void 0 ? _l : undefined;
38204
+ this.startDate = (_j = data.startDate) !== null && _j !== void 0 ? _j : undefined;
38205
+ this.startedAt = (_k = parseDate(data.startedAt)) !== null && _k !== void 0 ? _k : undefined;
36976
38206
  this.state = data.state;
36977
- this.targetDate = (_m = data.targetDate) !== null && _m !== void 0 ? _m : undefined;
36978
- this.trashed = (_o = data.trashed) !== null && _o !== void 0 ? _o : undefined;
36979
- this.updatedAt = (_p = parseDate(data.updatedAt)) !== null && _p !== void 0 ? _p : new Date();
38207
+ this.targetDate = (_l = data.targetDate) !== null && _l !== void 0 ? _l : undefined;
38208
+ this.trashed = (_m = data.trashed) !== null && _m !== void 0 ? _m : undefined;
38209
+ this.updatedAt = (_o = parseDate(data.updatedAt)) !== null && _o !== void 0 ? _o : new Date();
36980
38210
  this.url = data.url;
36981
- this._convertedFromIssue = (_q = data.convertedFromIssue) !== null && _q !== void 0 ? _q : undefined;
36982
- this._creator = data.creator;
38211
+ this._convertedFromIssue = (_p = data.convertedFromIssue) !== null && _p !== void 0 ? _p : undefined;
38212
+ this._creator = (_q = data.creator) !== null && _q !== void 0 ? _q : undefined;
36983
38213
  this._integrationsSettings = (_r = data.integrationsSettings) !== null && _r !== void 0 ? _r : undefined;
36984
38214
  this._lastAppliedTemplate = (_s = data.lastAppliedTemplate) !== null && _s !== void 0 ? _s : undefined;
36985
38215
  this._lead = (_t = data.lead) !== null && _t !== void 0 ? _t : undefined;
@@ -36991,7 +38221,8 @@
36991
38221
  }
36992
38222
  /** The user who created the project. */
36993
38223
  get creator() {
36994
- return new UserQuery(this._request).fetch(this._creator.id);
38224
+ var _a, _b;
38225
+ 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;
36995
38226
  }
36996
38227
  /** Settings for all integrations associated with that project. */
36997
38228
  get integrationsSettings() {
@@ -37297,16 +38528,34 @@
37297
38528
  */
37298
38529
  class Reaction extends Request {
37299
38530
  constructor(request, data) {
37300
- var _a, _b, _c, _d;
38531
+ var _a, _b, _c, _d, _e, _f, _g;
37301
38532
  super(request);
37302
38533
  this.archivedAt = (_a = parseDate(data.archivedAt)) !== null && _a !== void 0 ? _a : undefined;
37303
38534
  this.createdAt = (_b = parseDate(data.createdAt)) !== null && _b !== void 0 ? _b : new Date();
37304
38535
  this.emoji = data.emoji;
37305
38536
  this.id = data.id;
37306
38537
  this.updatedAt = (_c = parseDate(data.updatedAt)) !== null && _c !== void 0 ? _c : new Date();
37307
- this._user = (_d = data.user) !== null && _d !== void 0 ? _d : undefined;
38538
+ this._comment = (_d = data.comment) !== null && _d !== void 0 ? _d : undefined;
38539
+ this._issue = (_e = data.issue) !== null && _e !== void 0 ? _e : undefined;
38540
+ this._projectUpdate = (_f = data.projectUpdate) !== null && _f !== void 0 ? _f : undefined;
38541
+ this._user = (_g = data.user) !== null && _g !== void 0 ? _g : undefined;
37308
38542
  }
37309
- /** The user who reacted. */
38543
+ /** The comment that the reaction is associated with. */
38544
+ get comment() {
38545
+ var _a, _b;
38546
+ return ((_a = this._comment) === null || _a === void 0 ? void 0 : _a.id) ? new CommentQuery(this._request).fetch((_b = this._comment) === null || _b === void 0 ? void 0 : _b.id) : undefined;
38547
+ }
38548
+ /** The issue that the reaction is associated with. */
38549
+ get issue() {
38550
+ var _a, _b;
38551
+ return ((_a = this._issue) === null || _a === void 0 ? void 0 : _a.id) ? new IssueQuery(this._request).fetch((_b = this._issue) === null || _b === void 0 ? void 0 : _b.id) : undefined;
38552
+ }
38553
+ /** The project update that the reaction is associated with. */
38554
+ get projectUpdate() {
38555
+ var _a, _b;
38556
+ return ((_a = this._projectUpdate) === null || _a === void 0 ? void 0 : _a.id) ? new ProjectUpdateQuery(this._request).fetch((_b = this._projectUpdate) === null || _b === void 0 ? void 0 : _b.id) : undefined;
38557
+ }
38558
+ /** The user that created the reaction. */
37310
38559
  get user() {
37311
38560
  var _a, _b;
37312
38561
  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;
@@ -37596,6 +38845,29 @@
37596
38845
  this.id = data.id;
37597
38846
  }
37598
38847
  }
38848
+ /**
38849
+ * SlackChannelConnectPayload model
38850
+ *
38851
+ * @param request - function to call the graphql client
38852
+ * @param data - L.SlackChannelConnectPayloadFragment response data
38853
+ */
38854
+ class SlackChannelConnectPayload extends Request {
38855
+ constructor(request, data) {
38856
+ var _a, _b, _c;
38857
+ super(request);
38858
+ this.addBot = data.addBot;
38859
+ this.lastSyncId = data.lastSyncId;
38860
+ this.nudgeToConnectMainSlackIntegration = (_a = data.nudgeToConnectMainSlackIntegration) !== null && _a !== void 0 ? _a : undefined;
38861
+ this.nudgeToUpdateMainSlackIntegration = (_b = data.nudgeToUpdateMainSlackIntegration) !== null && _b !== void 0 ? _b : undefined;
38862
+ this.success = data.success;
38863
+ this._integration = (_c = data.integration) !== null && _c !== void 0 ? _c : undefined;
38864
+ }
38865
+ /** The integration that was created or updated. */
38866
+ get integration() {
38867
+ var _a, _b;
38868
+ return ((_a = this._integration) === null || _a === void 0 ? void 0 : _a.id) ? new IntegrationQuery(this._request).fetch((_b = this._integration) === null || _b === void 0 ? void 0 : _b.id) : undefined;
38869
+ }
38870
+ }
37599
38871
  /**
37600
38872
  * Object for mapping Slack channel IDs to names and other settings
37601
38873
  *
@@ -37604,15 +38876,16 @@
37604
38876
  */
37605
38877
  class SlackChannelNameMapping extends Request {
37606
38878
  constructor(request, data) {
37607
- var _a, _b, _c, _d, _e, _f;
38879
+ var _a, _b, _c, _d, _e, _f, _g;
37608
38880
  super(request);
37609
38881
  this.autoCreateOnBotMention = (_a = data.autoCreateOnBotMention) !== null && _a !== void 0 ? _a : undefined;
37610
38882
  this.autoCreateOnEmoji = (_b = data.autoCreateOnEmoji) !== null && _b !== void 0 ? _b : undefined;
37611
38883
  this.autoCreateOnMessage = (_c = data.autoCreateOnMessage) !== null && _c !== void 0 ? _c : undefined;
37612
- this.botAdded = (_d = data.botAdded) !== null && _d !== void 0 ? _d : undefined;
38884
+ this.autoCreateTemplateId = (_d = data.autoCreateTemplateId) !== null && _d !== void 0 ? _d : undefined;
38885
+ this.botAdded = (_e = data.botAdded) !== null && _e !== void 0 ? _e : undefined;
37613
38886
  this.id = data.id;
37614
- this.isPrivate = (_e = data.isPrivate) !== null && _e !== void 0 ? _e : undefined;
37615
- this.isShared = (_f = data.isShared) !== null && _f !== void 0 ? _f : undefined;
38887
+ this.isPrivate = (_f = data.isPrivate) !== null && _f !== void 0 ? _f : undefined;
38888
+ this.isShared = (_g = data.isShared) !== null && _g !== void 0 ? _g : undefined;
37616
38889
  this.name = data.name;
37617
38890
  this.teams = data.teams.map(node => new SlackAsksTeamSettings(request, node));
37618
38891
  }
@@ -37656,23 +38929,6 @@
37656
38929
  this.success = data.success;
37657
38930
  }
37658
38931
  }
37659
- /**
37660
- * Contains either the full serialized state of the application or delta packets that the requester can apply to the local data set in order to be up-to-date.
37661
- *
37662
- * @param request - function to call the graphql client
37663
- * @param data - L.SyncResponseFragment response data
37664
- */
37665
- class SyncResponse extends Request {
37666
- constructor(request, data) {
37667
- var _a, _b;
37668
- super(request);
37669
- this.databaseVersion = data.databaseVersion;
37670
- this.delta = (_a = data.delta) !== null && _a !== void 0 ? _a : undefined;
37671
- this.lastSyncId = data.lastSyncId;
37672
- this.state = (_b = data.state) !== null && _b !== void 0 ? _b : undefined;
37673
- this.subscribedSyncGroups = data.subscribedSyncGroups;
37674
- }
37675
- }
37676
38932
  /**
37677
38933
  * SynchronizedPayload model
37678
38934
  *
@@ -37727,6 +38983,7 @@
37727
38983
  this.name = data.name;
37728
38984
  this.private = data.private;
37729
38985
  this.requirePriorityToLeaveTriage = data.requirePriorityToLeaveTriage;
38986
+ this.setIssueSortOrderOnStateChange = data.setIssueSortOrderOnStateChange;
37730
38987
  this.slackIssueComments = data.slackIssueComments;
37731
38988
  this.slackIssueStatuses = data.slackIssueStatuses;
37732
38989
  this.slackNewIssue = data.slackNewIssue;
@@ -37841,6 +39098,10 @@
37841
39098
  ? new WorkflowStateQuery(this._request).fetch((_b = this._triageIssueState) === null || _b === void 0 ? void 0 : _b.id)
37842
39099
  : undefined;
37843
39100
  }
39101
+ /** The automation states for the team. */
39102
+ automationStates(variables) {
39103
+ return new Team_AutomationStatesQuery(this._request, this.id, variables).fetch(variables);
39104
+ }
37844
39105
  /** Cycles associated with the team. */
37845
39106
  cycles(variables) {
37846
39107
  return new Team_CyclesQuery(this._request, this.id, variables).fetch(variables);
@@ -37885,11 +39146,35 @@
37885
39146
  delete() {
37886
39147
  return new DeleteTeamMutation(this._request).fetch(this.id);
37887
39148
  }
39149
+ /** Unarchives a team and cancels deletion. */
39150
+ unarchive() {
39151
+ return new UnarchiveTeamMutation(this._request).fetch(this.id);
39152
+ }
37888
39153
  /** Updates a team. */
37889
39154
  update(input) {
37890
39155
  return new UpdateTeamMutation(this._request).fetch(this.id, input);
37891
39156
  }
37892
39157
  }
39158
+ /**
39159
+ * A generic payload return from entity archive mutations.
39160
+ *
39161
+ * @param request - function to call the graphql client
39162
+ * @param data - L.TeamArchivePayloadFragment response data
39163
+ */
39164
+ class TeamArchivePayload extends Request {
39165
+ constructor(request, data) {
39166
+ var _a;
39167
+ super(request);
39168
+ this.lastSyncId = data.lastSyncId;
39169
+ this.success = data.success;
39170
+ this._entity = (_a = data.entity) !== null && _a !== void 0 ? _a : undefined;
39171
+ }
39172
+ /** The archived/unarchived entity. Null if entity was deleted. */
39173
+ get entity() {
39174
+ var _a, _b;
39175
+ return ((_a = this._entity) === null || _a === void 0 ? void 0 : _a.id) ? new TeamQuery(this._request).fetch((_b = this._entity) === null || _b === void 0 ? void 0 : _b.id) : undefined;
39176
+ }
39177
+ }
37893
39178
  /**
37894
39179
  * TeamConnection model
37895
39180
  *
@@ -38125,15 +39410,12 @@
38125
39410
  * TemplateConnection model
38126
39411
  *
38127
39412
  * @param request - function to call the graphql client
38128
- * @param data - L.TemplateConnectionFragment response data
39413
+ * @param fetch - function to trigger a refetch of this TemplateConnection model
39414
+ * @param data - TemplateConnection response data
38129
39415
  */
38130
- class TemplateConnection extends Request {
38131
- constructor(request, data) {
38132
- super(request);
38133
- this.pageInfo = new PageInfo(request, data.pageInfo);
38134
- }
38135
- get nodes() {
38136
- return new TemplatesQuery(this._request).fetch();
39416
+ class TemplateConnection extends Connection {
39417
+ constructor(request, fetch, data) {
39418
+ super(request, fetch, data.nodes.map(node => new Template(request, node)), new PageInfo(request, data.pageInfo));
38137
39419
  }
38138
39420
  }
38139
39421
  /**
@@ -38167,8 +39449,8 @@
38167
39449
  this.archivedAt = (_a = parseDate(data.archivedAt)) !== null && _a !== void 0 ? _a : undefined;
38168
39450
  this.createdAt = (_b = parseDate(data.createdAt)) !== null && _b !== void 0 ? _b : new Date();
38169
39451
  this.id = data.id;
38170
- this.manualSelection = (_c = parseJson(data.manualSelection)) !== null && _c !== void 0 ? _c : undefined;
38171
- this.schedule = (_d = parseJson(data.schedule)) !== null && _d !== void 0 ? _d : undefined;
39452
+ this.manualSelection = (_c = data.manualSelection) !== null && _c !== void 0 ? _c : undefined;
39453
+ this.schedule = (_d = data.schedule) !== null && _d !== void 0 ? _d : undefined;
38172
39454
  this.updatedAt = (_e = parseDate(data.updatedAt)) !== null && _e !== void 0 ? _e : new Date();
38173
39455
  this._integration = data.integration;
38174
39456
  this._team = data.team;
@@ -38207,7 +39489,7 @@
38207
39489
  this.assetUrl = data.assetUrl;
38208
39490
  this.contentType = data.contentType;
38209
39491
  this.filename = data.filename;
38210
- this.metaData = (_a = parseJson(data.metaData)) !== null && _a !== void 0 ? _a : undefined;
39492
+ this.metaData = (_a = data.metaData) !== null && _a !== void 0 ? _a : undefined;
38211
39493
  this.size = data.size;
38212
39494
  this.uploadUrl = data.uploadUrl;
38213
39495
  this.headers = data.headers.map(node => new UploadFileHeader(request, node));
@@ -38459,16 +39741,16 @@
38459
39741
  */
38460
39742
  class UserSettings extends Request {
38461
39743
  constructor(request, data) {
38462
- var _a, _b, _c, _d, _e;
39744
+ var _a, _b, _c, _d;
38463
39745
  super(request);
38464
39746
  this.archivedAt = (_a = parseDate(data.archivedAt)) !== null && _a !== void 0 ? _a : undefined;
38465
39747
  this.calendarHash = (_b = data.calendarHash) !== null && _b !== void 0 ? _b : undefined;
38466
39748
  this.createdAt = (_c = parseDate(data.createdAt)) !== null && _c !== void 0 ? _c : new Date();
38467
39749
  this.id = data.id;
38468
- this.notificationPreferences = (_d = parseJson(data.notificationPreferences)) !== null && _d !== void 0 ? _d : {};
39750
+ this.notificationPreferences = data.notificationPreferences;
38469
39751
  this.showFullUserNames = data.showFullUserNames;
38470
39752
  this.unsubscribedFrom = data.unsubscribedFrom;
38471
- this.updatedAt = (_e = parseDate(data.updatedAt)) !== null && _e !== void 0 ? _e : new Date();
39753
+ this.updatedAt = (_d = parseDate(data.updatedAt)) !== null && _d !== void 0 ? _d : new Date();
38472
39754
  this._user = data.user;
38473
39755
  }
38474
39756
  /** The user associated with these settings. */
@@ -38653,18 +39935,18 @@
38653
39935
  */
38654
39936
  class WorkflowCronJobDefinition extends Request {
38655
39937
  constructor(request, data) {
38656
- var _a, _b, _c, _d, _e, _f;
39938
+ var _a, _b, _c, _d;
38657
39939
  super(request);
38658
- this.activities = (_a = parseJson(data.activities)) !== null && _a !== void 0 ? _a : {};
38659
- this.archivedAt = (_b = parseDate(data.archivedAt)) !== null && _b !== void 0 ? _b : undefined;
38660
- this.createdAt = (_c = parseDate(data.createdAt)) !== null && _c !== void 0 ? _c : new Date();
38661
- this.description = (_d = data.description) !== null && _d !== void 0 ? _d : undefined;
39940
+ this.activities = data.activities;
39941
+ this.archivedAt = (_a = parseDate(data.archivedAt)) !== null && _a !== void 0 ? _a : undefined;
39942
+ this.createdAt = (_b = parseDate(data.createdAt)) !== null && _b !== void 0 ? _b : new Date();
39943
+ this.description = (_c = data.description) !== null && _c !== void 0 ? _c : undefined;
38662
39944
  this.enabled = data.enabled;
38663
39945
  this.id = data.id;
38664
39946
  this.name = data.name;
38665
- this.schedule = (_e = parseJson(data.schedule)) !== null && _e !== void 0 ? _e : {};
39947
+ this.schedule = data.schedule;
38666
39948
  this.sortOrder = data.sortOrder;
38667
- this.updatedAt = (_f = parseDate(data.updatedAt)) !== null && _f !== void 0 ? _f : new Date();
39949
+ this.updatedAt = (_d = parseDate(data.updatedAt)) !== null && _d !== void 0 ? _d : new Date();
38668
39950
  this._creator = data.creator;
38669
39951
  this._team = data.team;
38670
39952
  }
@@ -38697,26 +39979,26 @@
38697
39979
  */
38698
39980
  class WorkflowDefinition extends Request {
38699
39981
  constructor(request, data) {
38700
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
39982
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
38701
39983
  super(request);
38702
- this.activities = (_a = parseJson(data.activities)) !== null && _a !== void 0 ? _a : {};
38703
- this.archivedAt = (_b = parseDate(data.archivedAt)) !== null && _b !== void 0 ? _b : undefined;
38704
- this.conditions = (_c = parseJson(data.conditions)) !== null && _c !== void 0 ? _c : {};
38705
- this.createdAt = (_d = parseDate(data.createdAt)) !== null && _d !== void 0 ? _d : new Date();
38706
- this.description = (_e = data.description) !== null && _e !== void 0 ? _e : undefined;
39984
+ this.activities = data.activities;
39985
+ this.archivedAt = (_a = parseDate(data.archivedAt)) !== null && _a !== void 0 ? _a : undefined;
39986
+ this.conditions = data.conditions;
39987
+ this.createdAt = (_b = parseDate(data.createdAt)) !== null && _b !== void 0 ? _b : new Date();
39988
+ this.description = (_c = data.description) !== null && _c !== void 0 ? _c : undefined;
38707
39989
  this.enabled = data.enabled;
38708
- this.groupName = (_f = data.groupName) !== null && _f !== void 0 ? _f : undefined;
39990
+ this.groupName = (_d = data.groupName) !== null && _d !== void 0 ? _d : undefined;
38709
39991
  this.id = data.id;
38710
39992
  this.name = data.name;
38711
39993
  this.sortOrder = data.sortOrder;
38712
- this.updatedAt = (_g = parseDate(data.updatedAt)) !== null && _g !== void 0 ? _g : new Date();
39994
+ this.updatedAt = (_e = parseDate(data.updatedAt)) !== null && _e !== void 0 ? _e : new Date();
38713
39995
  this._creator = data.creator;
38714
- this._customView = (_h = data.customView) !== null && _h !== void 0 ? _h : undefined;
38715
- this._cycle = (_j = data.cycle) !== null && _j !== void 0 ? _j : undefined;
38716
- this._label = (_k = data.label) !== null && _k !== void 0 ? _k : undefined;
38717
- this._project = (_l = data.project) !== null && _l !== void 0 ? _l : undefined;
38718
- this._team = (_m = data.team) !== null && _m !== void 0 ? _m : undefined;
38719
- this._user = (_o = data.user) !== null && _o !== void 0 ? _o : undefined;
39996
+ this._customView = (_f = data.customView) !== null && _f !== void 0 ? _f : undefined;
39997
+ this._cycle = (_g = data.cycle) !== null && _g !== void 0 ? _g : undefined;
39998
+ this._label = (_h = data.label) !== null && _h !== void 0 ? _h : undefined;
39999
+ this._project = (_j = data.project) !== null && _j !== void 0 ? _j : undefined;
40000
+ this._team = (_k = data.team) !== null && _k !== void 0 ? _k : undefined;
40001
+ this._user = (_l = data.user) !== null && _l !== void 0 ? _l : undefined;
38720
40002
  }
38721
40003
  /** The user who created the workflow. */
38722
40004
  get creator() {
@@ -40432,11 +41714,12 @@
40432
41714
  /**
40433
41715
  * Call the PushSubscriptionTest query and return a PushSubscriptionTestPayload
40434
41716
  *
41717
+ * @param variables - variables to pass into the PushSubscriptionTestQuery
40435
41718
  * @returns parsed response from PushSubscriptionTestQuery
40436
41719
  */
40437
- fetch() {
41720
+ fetch(variables) {
40438
41721
  return __awaiter(this, void 0, void 0, function* () {
40439
- const response = yield this._request(PushSubscriptionTestDocument, {});
41722
+ const response = yield this._request(PushSubscriptionTestDocument, variables);
40440
41723
  const data = response.pushSubscriptionTest;
40441
41724
  return new PushSubscriptionTestPayload(this._request, data);
40442
41725
  });
@@ -41222,6 +42505,32 @@
41222
42505
  });
41223
42506
  }
41224
42507
  }
42508
+ /**
42509
+ * A fetchable AttachmentLinkGitHubIssue Mutation
42510
+ *
42511
+ * @param request - function to call the graphql client
42512
+ */
42513
+ class AttachmentLinkGitHubIssueMutation extends Request {
42514
+ constructor(request) {
42515
+ super(request);
42516
+ }
42517
+ /**
42518
+ * Call the AttachmentLinkGitHubIssue mutation and return a AttachmentPayload
42519
+ *
42520
+ * @param issueId - required issueId to pass to attachmentLinkGitHubIssue
42521
+ * @param url - required url to pass to attachmentLinkGitHubIssue
42522
+ * @param variables - variables without 'issueId', 'url' to pass into the AttachmentLinkGitHubIssueMutation
42523
+ * @returns parsed response from AttachmentLinkGitHubIssueMutation
42524
+ */
42525
+ fetch(issueId, url, variables) {
42526
+ return __awaiter(this, void 0, void 0, function* () {
42527
+ const response = yield this._request(AttachmentLinkGitHubIssueDocument, Object.assign({ issueId,
42528
+ url }, variables));
42529
+ const data = response.attachmentLinkGitHubIssue;
42530
+ return new AttachmentPayload(this._request, data);
42531
+ });
42532
+ }
42533
+ }
41225
42534
  /**
41226
42535
  * A fetchable AttachmentLinkGitHubPr Mutation
41227
42536
  *
@@ -41235,19 +42544,13 @@
41235
42544
  * Call the AttachmentLinkGitHubPr mutation and return a AttachmentPayload
41236
42545
  *
41237
42546
  * @param issueId - required issueId to pass to attachmentLinkGitHubPR
41238
- * @param number - required number to pass to attachmentLinkGitHubPR
41239
- * @param owner - required owner to pass to attachmentLinkGitHubPR
41240
- * @param repo - required repo to pass to attachmentLinkGitHubPR
41241
42547
  * @param url - required url to pass to attachmentLinkGitHubPR
41242
- * @param variables - variables without 'issueId', 'number', 'owner', 'repo', 'url' to pass into the AttachmentLinkGitHubPrMutation
42548
+ * @param variables - variables without 'issueId', 'url' to pass into the AttachmentLinkGitHubPrMutation
41243
42549
  * @returns parsed response from AttachmentLinkGitHubPrMutation
41244
42550
  */
41245
- fetch(issueId, number, owner, repo, url, variables) {
42551
+ fetch(issueId, url, variables) {
41246
42552
  return __awaiter(this, void 0, void 0, function* () {
41247
42553
  const response = yield this._request(AttachmentLinkGitHubPrDocument, Object.assign({ issueId,
41248
- number,
41249
- owner,
41250
- repo,
41251
42554
  url }, variables));
41252
42555
  const data = response.attachmentLinkGitHubPR;
41253
42556
  return new AttachmentPayload(this._request, data);
@@ -41820,6 +43123,31 @@
41820
43123
  });
41821
43124
  }
41822
43125
  }
43126
+ /**
43127
+ * A fetchable CycleShiftAll Mutation
43128
+ *
43129
+ * @param request - function to call the graphql client
43130
+ */
43131
+ class CycleShiftAllMutation extends Request {
43132
+ constructor(request) {
43133
+ super(request);
43134
+ }
43135
+ /**
43136
+ * Call the CycleShiftAll mutation and return a CyclePayload
43137
+ *
43138
+ * @param input - required input to pass to cycleShiftAll
43139
+ * @returns parsed response from CycleShiftAllMutation
43140
+ */
43141
+ fetch(input) {
43142
+ return __awaiter(this, void 0, void 0, function* () {
43143
+ const response = yield this._request(CycleShiftAllDocument, {
43144
+ input,
43145
+ });
43146
+ const data = response.cycleShiftAll;
43147
+ return new CyclePayload(this._request, data);
43148
+ });
43149
+ }
43150
+ }
41823
43151
  /**
41824
43152
  * A fetchable UpdateCycle Mutation
41825
43153
  *
@@ -42154,6 +43482,83 @@
42154
43482
  });
42155
43483
  }
42156
43484
  }
43485
+ /**
43486
+ * A fetchable CreateGitAutomationState Mutation
43487
+ *
43488
+ * @param request - function to call the graphql client
43489
+ */
43490
+ class CreateGitAutomationStateMutation extends Request {
43491
+ constructor(request) {
43492
+ super(request);
43493
+ }
43494
+ /**
43495
+ * Call the CreateGitAutomationState mutation and return a GitAutomationStatePayload
43496
+ *
43497
+ * @param input - required input to pass to createGitAutomationState
43498
+ * @returns parsed response from CreateGitAutomationStateMutation
43499
+ */
43500
+ fetch(input) {
43501
+ return __awaiter(this, void 0, void 0, function* () {
43502
+ const response = yield this._request(CreateGitAutomationStateDocument, {
43503
+ input,
43504
+ });
43505
+ const data = response.gitAutomationStateCreate;
43506
+ return new GitAutomationStatePayload(this._request, data);
43507
+ });
43508
+ }
43509
+ }
43510
+ /**
43511
+ * A fetchable DeleteGitAutomationState Mutation
43512
+ *
43513
+ * @param request - function to call the graphql client
43514
+ */
43515
+ class DeleteGitAutomationStateMutation extends Request {
43516
+ constructor(request) {
43517
+ super(request);
43518
+ }
43519
+ /**
43520
+ * Call the DeleteGitAutomationState mutation and return a DeletePayload
43521
+ *
43522
+ * @param id - required id to pass to deleteGitAutomationState
43523
+ * @returns parsed response from DeleteGitAutomationStateMutation
43524
+ */
43525
+ fetch(id) {
43526
+ return __awaiter(this, void 0, void 0, function* () {
43527
+ const response = yield this._request(DeleteGitAutomationStateDocument, {
43528
+ id,
43529
+ });
43530
+ const data = response.gitAutomationStateDelete;
43531
+ return new DeletePayload(this._request, data);
43532
+ });
43533
+ }
43534
+ }
43535
+ /**
43536
+ * A fetchable UpdateGitAutomationState Mutation
43537
+ *
43538
+ * @param request - function to call the graphql client
43539
+ */
43540
+ class UpdateGitAutomationStateMutation extends Request {
43541
+ constructor(request) {
43542
+ super(request);
43543
+ }
43544
+ /**
43545
+ * Call the UpdateGitAutomationState mutation and return a GitAutomationStatePayload
43546
+ *
43547
+ * @param id - required id to pass to updateGitAutomationState
43548
+ * @param input - required input to pass to updateGitAutomationState
43549
+ * @returns parsed response from UpdateGitAutomationStateMutation
43550
+ */
43551
+ fetch(id, input) {
43552
+ return __awaiter(this, void 0, void 0, function* () {
43553
+ const response = yield this._request(UpdateGitAutomationStateDocument, {
43554
+ id,
43555
+ input,
43556
+ });
43557
+ const data = response.gitAutomationStateUpdate;
43558
+ return new GitAutomationStatePayload(this._request, data);
43559
+ });
43560
+ }
43561
+ }
42157
43562
  /**
42158
43563
  * A fetchable GoogleUserAccountAuth Mutation
42159
43564
  *
@@ -42437,31 +43842,6 @@
42437
43842
  });
42438
43843
  }
42439
43844
  }
42440
- /**
42441
- * A fetchable IntegrationGithubSyncConnect Mutation
42442
- *
42443
- * @param request - function to call the graphql client
42444
- */
42445
- class IntegrationGithubSyncConnectMutation extends Request {
42446
- constructor(request) {
42447
- super(request);
42448
- }
42449
- /**
42450
- * Call the IntegrationGithubSyncConnect mutation and return a IntegrationPayload
42451
- *
42452
- * @param installationId - required installationId to pass to integrationGithubSyncConnect
42453
- * @returns parsed response from IntegrationGithubSyncConnectMutation
42454
- */
42455
- fetch(installationId) {
42456
- return __awaiter(this, void 0, void 0, function* () {
42457
- const response = yield this._request(IntegrationGithubSyncConnectDocument, {
42458
- installationId,
42459
- });
42460
- const data = response.integrationGithubSyncConnect;
42461
- return new IntegrationPayload(this._request, data);
42462
- });
42463
- }
42464
- }
42465
43845
  /**
42466
43846
  * A fetchable IntegrationGitlabConnect Mutation
42467
43847
  *
@@ -42599,14 +43979,12 @@
42599
43979
  /**
42600
43980
  * Call the IntegrationJiraPersonal mutation and return a IntegrationPayload
42601
43981
  *
42602
- * @param code - required code to pass to integrationJiraPersonal
43982
+ * @param variables - variables to pass into the IntegrationJiraPersonalMutation
42603
43983
  * @returns parsed response from IntegrationJiraPersonalMutation
42604
43984
  */
42605
- fetch(code) {
43985
+ fetch(variables) {
42606
43986
  return __awaiter(this, void 0, void 0, function* () {
42607
- const response = yield this._request(IntegrationJiraPersonalDocument, {
42608
- code,
42609
- });
43987
+ const response = yield this._request(IntegrationJiraPersonalDocument, variables);
42610
43988
  const data = response.integrationJiraPersonal;
42611
43989
  return new IntegrationPayload(this._request, data);
42612
43990
  });
@@ -42778,7 +44156,7 @@
42778
44156
  super(request);
42779
44157
  }
42780
44158
  /**
42781
- * Call the IntegrationSlackOrgProjectUpdatesPost mutation and return a IntegrationPayload
44159
+ * Call the IntegrationSlackOrgProjectUpdatesPost mutation and return a SlackChannelConnectPayload
42782
44160
  *
42783
44161
  * @param code - required code to pass to integrationSlackOrgProjectUpdatesPost
42784
44162
  * @param redirectUri - required redirectUri to pass to integrationSlackOrgProjectUpdatesPost
@@ -42791,7 +44169,7 @@
42791
44169
  redirectUri,
42792
44170
  });
42793
44171
  const data = response.integrationSlackOrgProjectUpdatesPost;
42794
- return new IntegrationPayload(this._request, data);
44172
+ return new SlackChannelConnectPayload(this._request, data);
42795
44173
  });
42796
44174
  }
42797
44175
  }
@@ -42832,7 +44210,7 @@
42832
44210
  super(request);
42833
44211
  }
42834
44212
  /**
42835
- * Call the IntegrationSlackPost mutation and return a IntegrationPayload
44213
+ * Call the IntegrationSlackPost mutation and return a SlackChannelConnectPayload
42836
44214
  *
42837
44215
  * @param code - required code to pass to integrationSlackPost
42838
44216
  * @param redirectUri - required redirectUri to pass to integrationSlackPost
@@ -42846,7 +44224,7 @@
42846
44224
  redirectUri,
42847
44225
  teamId }, variables));
42848
44226
  const data = response.integrationSlackPost;
42849
- return new IntegrationPayload(this._request, data);
44227
+ return new SlackChannelConnectPayload(this._request, data);
42850
44228
  });
42851
44229
  }
42852
44230
  }
@@ -42860,7 +44238,7 @@
42860
44238
  super(request);
42861
44239
  }
42862
44240
  /**
42863
- * Call the IntegrationSlackProjectPost mutation and return a IntegrationPayload
44241
+ * Call the IntegrationSlackProjectPost mutation and return a SlackChannelConnectPayload
42864
44242
  *
42865
44243
  * @param code - required code to pass to integrationSlackProjectPost
42866
44244
  * @param projectId - required projectId to pass to integrationSlackProjectPost
@@ -42877,7 +44255,7 @@
42877
44255
  service,
42878
44256
  });
42879
44257
  const data = response.integrationSlackProjectPost;
42880
- return new IntegrationPayload(this._request, data);
44258
+ return new SlackChannelConnectPayload(this._request, data);
42881
44259
  });
42882
44260
  }
42883
44261
  }
@@ -44370,13 +45748,12 @@
44370
45748
  * Call the CreateProject mutation and return a ProjectPayload
44371
45749
  *
44372
45750
  * @param input - required input to pass to createProject
45751
+ * @param variables - variables without 'input' to pass into the CreateProjectMutation
44373
45752
  * @returns parsed response from CreateProjectMutation
44374
45753
  */
44375
- fetch(input) {
45754
+ fetch(input, variables) {
44376
45755
  return __awaiter(this, void 0, void 0, function* () {
44377
- const response = yield this._request(CreateProjectDocument, {
44378
- input,
44379
- });
45756
+ const response = yield this._request(CreateProjectDocument, Object.assign({ input }, variables));
44380
45757
  const data = response.projectCreate;
44381
45758
  return new ProjectPayload(this._request, data);
44382
45759
  });
@@ -45295,6 +46672,31 @@
45295
46672
  });
45296
46673
  }
45297
46674
  }
46675
+ /**
46676
+ * A fetchable UnarchiveTeam Mutation
46677
+ *
46678
+ * @param request - function to call the graphql client
46679
+ */
46680
+ class UnarchiveTeamMutation extends Request {
46681
+ constructor(request) {
46682
+ super(request);
46683
+ }
46684
+ /**
46685
+ * Call the UnarchiveTeam mutation and return a TeamArchivePayload
46686
+ *
46687
+ * @param id - required id to pass to unarchiveTeam
46688
+ * @returns parsed response from UnarchiveTeamMutation
46689
+ */
46690
+ fetch(id) {
46691
+ return __awaiter(this, void 0, void 0, function* () {
46692
+ const response = yield this._request(UnarchiveTeamDocument, {
46693
+ id,
46694
+ });
46695
+ const data = response.teamUnarchive;
46696
+ return new TeamArchivePayload(this._request, data);
46697
+ });
46698
+ }
46699
+ }
45298
46700
  /**
45299
46701
  * A fetchable UpdateTeam Mutation
45300
46702
  *
@@ -45528,56 +46930,6 @@
45528
46930
  });
45529
46931
  }
45530
46932
  }
45531
- /**
45532
- * A fetchable UserGitHubConnect Mutation
45533
- *
45534
- * @param request - function to call the graphql client
45535
- */
45536
- class UserGitHubConnectMutation extends Request {
45537
- constructor(request) {
45538
- super(request);
45539
- }
45540
- /**
45541
- * Call the UserGitHubConnect mutation and return a UserPayload
45542
- *
45543
- * @param code - required code to pass to userGitHubConnect
45544
- * @returns parsed response from UserGitHubConnectMutation
45545
- */
45546
- fetch(code) {
45547
- return __awaiter(this, void 0, void 0, function* () {
45548
- const response = yield this._request(UserGitHubConnectDocument, {
45549
- code,
45550
- });
45551
- const data = response.userGitHubConnect;
45552
- return new UserPayload(this._request, data);
45553
- });
45554
- }
45555
- }
45556
- /**
45557
- * A fetchable UserJiraConnect Mutation
45558
- *
45559
- * @param request - function to call the graphql client
45560
- */
45561
- class UserJiraConnectMutation extends Request {
45562
- constructor(request) {
45563
- super(request);
45564
- }
45565
- /**
45566
- * Call the UserJiraConnect mutation and return a UserPayload
45567
- *
45568
- * @param code - required code to pass to userJiraConnect
45569
- * @returns parsed response from UserJiraConnectMutation
45570
- */
45571
- fetch(code) {
45572
- return __awaiter(this, void 0, void 0, function* () {
45573
- const response = yield this._request(UserJiraConnectDocument, {
45574
- code,
45575
- });
45576
- const data = response.userJiraConnect;
45577
- return new UserPayload(this._request, data);
45578
- });
45579
- }
45580
- }
45581
46933
  /**
45582
46934
  * A fetchable UserPromoteAdmin Mutation
45583
46935
  *
@@ -46038,6 +47390,32 @@
46038
47390
  });
46039
47391
  }
46040
47392
  }
47393
+ /**
47394
+ * A fetchable AttachmentIssue_BotActor Query
47395
+ *
47396
+ * @param request - function to call the graphql client
47397
+ * @param id - required id to pass to attachmentIssue
47398
+ */
47399
+ class AttachmentIssue_BotActorQuery extends Request {
47400
+ constructor(request, id) {
47401
+ super(request);
47402
+ this._id = id;
47403
+ }
47404
+ /**
47405
+ * Call the AttachmentIssue_BotActor query and return a ActorBot
47406
+ *
47407
+ * @returns parsed response from AttachmentIssue_BotActorQuery
47408
+ */
47409
+ fetch() {
47410
+ return __awaiter(this, void 0, void 0, function* () {
47411
+ const response = yield this._request(AttachmentIssue_BotActorDocument, {
47412
+ id: this._id,
47413
+ });
47414
+ const data = response.attachmentIssue.botActor;
47415
+ return data ? new ActorBot(this._request, data) : undefined;
47416
+ });
47417
+ }
47418
+ }
46041
47419
  /**
46042
47420
  * A fetchable AttachmentIssue_Children Query
46043
47421
  *
@@ -46414,6 +47792,32 @@
46414
47792
  });
46415
47793
  }
46416
47794
  }
47795
+ /**
47796
+ * A fetchable Issue_BotActor Query
47797
+ *
47798
+ * @param request - function to call the graphql client
47799
+ * @param id - required id to pass to issue
47800
+ */
47801
+ class Issue_BotActorQuery extends Request {
47802
+ constructor(request, id) {
47803
+ super(request);
47804
+ this._id = id;
47805
+ }
47806
+ /**
47807
+ * Call the Issue_BotActor query and return a ActorBot
47808
+ *
47809
+ * @returns parsed response from Issue_BotActorQuery
47810
+ */
47811
+ fetch() {
47812
+ return __awaiter(this, void 0, void 0, function* () {
47813
+ const response = yield this._request(Issue_BotActorDocument, {
47814
+ id: this._id,
47815
+ });
47816
+ const data = response.issue.botActor;
47817
+ return data ? new ActorBot(this._request, data) : undefined;
47818
+ });
47819
+ }
47820
+ }
46417
47821
  /**
46418
47822
  * A fetchable Issue_Children Query
46419
47823
  *
@@ -46690,6 +48094,33 @@
46690
48094
  });
46691
48095
  }
46692
48096
  }
48097
+ /**
48098
+ * A fetchable IssueVcsBranchSearch_BotActor Query
48099
+ *
48100
+ * @param request - function to call the graphql client
48101
+ * @param branchName - required branchName to pass to issueVcsBranchSearch
48102
+ */
48103
+ class IssueVcsBranchSearch_BotActorQuery extends Request {
48104
+ constructor(request, branchName) {
48105
+ super(request);
48106
+ this._branchName = branchName;
48107
+ }
48108
+ /**
48109
+ * Call the IssueVcsBranchSearch_BotActor query and return a ActorBot
48110
+ *
48111
+ * @returns parsed response from IssueVcsBranchSearch_BotActorQuery
48112
+ */
48113
+ fetch() {
48114
+ var _a;
48115
+ return __awaiter(this, void 0, void 0, function* () {
48116
+ const response = yield this._request(IssueVcsBranchSearch_BotActorDocument, {
48117
+ branchName: this._branchName,
48118
+ });
48119
+ const data = (_a = response.issueVcsBranchSearch) === null || _a === void 0 ? void 0 : _a.botActor;
48120
+ return data ? new ActorBot(this._request, data) : undefined;
48121
+ });
48122
+ }
48123
+ }
46693
48124
  /**
46694
48125
  * A fetchable IssueVcsBranchSearch_Children Query
46695
48126
  *
@@ -47039,7 +48470,7 @@
47039
48470
  return __awaiter(this, void 0, void 0, function* () {
47040
48471
  const response = yield this._request(Organization_TemplatesDocument, variables);
47041
48472
  const data = response.organization.templates;
47042
- return new TemplateConnection(this._request, data);
48473
+ return new TemplateConnection(this._request, connection => this.fetch(defaultConnection(Object.assign(Object.assign(Object.assign({}, this._variables), variables), connection))), data);
47043
48474
  });
47044
48475
  }
47045
48476
  }
@@ -47365,6 +48796,33 @@
47365
48796
  });
47366
48797
  }
47367
48798
  }
48799
+ /**
48800
+ * A fetchable Team_AutomationStates Query
48801
+ *
48802
+ * @param request - function to call the graphql client
48803
+ * @param id - required id to pass to team
48804
+ * @param variables - variables without 'id' to pass into the Team_AutomationStatesQuery
48805
+ */
48806
+ class Team_AutomationStatesQuery extends Request {
48807
+ constructor(request, id, variables) {
48808
+ super(request);
48809
+ this._id = id;
48810
+ this._variables = variables;
48811
+ }
48812
+ /**
48813
+ * Call the Team_AutomationStates query and return a GitAutomationStateConnection
48814
+ *
48815
+ * @param variables - variables without 'id' to pass into the Team_AutomationStatesQuery
48816
+ * @returns parsed response from Team_AutomationStatesQuery
48817
+ */
48818
+ fetch(variables) {
48819
+ return __awaiter(this, void 0, void 0, function* () {
48820
+ const response = yield this._request(Team_AutomationStatesDocument, Object.assign(Object.assign({ id: this._id }, this._variables), variables));
48821
+ const data = response.team.automationStates;
48822
+ return new GitAutomationStateConnection(this._request, connection => this.fetch(defaultConnection(Object.assign(Object.assign(Object.assign({}, this._variables), variables), connection))), data);
48823
+ });
48824
+ }
48825
+ }
47368
48826
  /**
47369
48827
  * A fetchable Team_Cycles Query
47370
48828
  *
@@ -47577,7 +49035,7 @@
47577
49035
  return __awaiter(this, void 0, void 0, function* () {
47578
49036
  const response = yield this._request(Team_TemplatesDocument, Object.assign(Object.assign({ id: this._id }, this._variables), variables));
47579
49037
  const data = response.team.templates;
47580
- return new TemplateConnection(this._request, data);
49038
+ return new TemplateConnection(this._request, connection => this.fetch(defaultConnection(Object.assign(Object.assign(Object.assign({}, this._variables), variables), connection))), data);
47581
49039
  });
47582
49040
  }
47583
49041
  }
@@ -48425,10 +49883,11 @@
48425
49883
  /**
48426
49884
  * Sends a test push message.
48427
49885
  *
49886
+ * @param variables - variables to pass into the PushSubscriptionTestQuery
48428
49887
  * @returns PushSubscriptionTestPayload
48429
49888
  */
48430
- get pushSubscriptionTest() {
48431
- return new PushSubscriptionTestQuery(this._request).fetch();
49889
+ pushSubscriptionTest(variables) {
49890
+ return new PushSubscriptionTestQuery(this._request).fetch(variables);
48432
49891
  }
48433
49892
  /**
48434
49893
  * The status of the rate limiter.
@@ -48725,18 +50184,26 @@
48725
50184
  return new AttachmentLinkFrontMutation(this._request).fetch(conversationId, issueId, variables);
48726
50185
  }
48727
50186
  /**
48728
- * Link an existing GitHub PR to an issue.
50187
+ * Link a GitHub issue to a Linear issue.
50188
+ *
50189
+ * @param issueId - required issueId to pass to attachmentLinkGitHubIssue
50190
+ * @param url - required url to pass to attachmentLinkGitHubIssue
50191
+ * @param variables - variables without 'issueId', 'url' to pass into the AttachmentLinkGitHubIssueMutation
50192
+ * @returns AttachmentPayload
50193
+ */
50194
+ attachmentLinkGitHubIssue(issueId, url, variables) {
50195
+ return new AttachmentLinkGitHubIssueMutation(this._request).fetch(issueId, url, variables);
50196
+ }
50197
+ /**
50198
+ * Link a GitHub pull request to an issue.
48729
50199
  *
48730
50200
  * @param issueId - required issueId to pass to attachmentLinkGitHubPR
48731
- * @param number - required number to pass to attachmentLinkGitHubPR
48732
- * @param owner - required owner to pass to attachmentLinkGitHubPR
48733
- * @param repo - required repo to pass to attachmentLinkGitHubPR
48734
50201
  * @param url - required url to pass to attachmentLinkGitHubPR
48735
- * @param variables - variables without 'issueId', 'number', 'owner', 'repo', 'url' to pass into the AttachmentLinkGitHubPrMutation
50202
+ * @param variables - variables without 'issueId', 'url' to pass into the AttachmentLinkGitHubPrMutation
48736
50203
  * @returns AttachmentPayload
48737
50204
  */
48738
- attachmentLinkGitHubPR(issueId, number, owner, repo, url, variables) {
48739
- return new AttachmentLinkGitHubPrMutation(this._request).fetch(issueId, number, owner, repo, url, variables);
50205
+ attachmentLinkGitHubPR(issueId, url, variables) {
50206
+ return new AttachmentLinkGitHubPrMutation(this._request).fetch(issueId, url, variables);
48740
50207
  }
48741
50208
  /**
48742
50209
  * Link an existing GitLab MR to an issue.
@@ -48957,6 +50424,15 @@
48957
50424
  createCycle(input) {
48958
50425
  return new CreateCycleMutation(this._request).fetch(input);
48959
50426
  }
50427
+ /**
50428
+ * Shifts all cycles starts by a certain number of weeks.
50429
+ *
50430
+ * @param input - required input to pass to cycleShiftAll
50431
+ * @returns CyclePayload
50432
+ */
50433
+ cycleShiftAll(input) {
50434
+ return new CycleShiftAllMutation(this._request).fetch(input);
50435
+ }
48960
50436
  /**
48961
50437
  * Updates a cycle.
48962
50438
  *
@@ -49080,6 +50556,34 @@
49080
50556
  fileUpload(contentType, filename, size, variables) {
49081
50557
  return new FileUploadMutation(this._request).fetch(contentType, filename, size, variables);
49082
50558
  }
50559
+ /**
50560
+ * Creates a new automation state.
50561
+ *
50562
+ * @param input - required input to pass to createGitAutomationState
50563
+ * @returns GitAutomationStatePayload
50564
+ */
50565
+ createGitAutomationState(input) {
50566
+ return new CreateGitAutomationStateMutation(this._request).fetch(input);
50567
+ }
50568
+ /**
50569
+ * Archives an automation state.
50570
+ *
50571
+ * @param id - required id to pass to deleteGitAutomationState
50572
+ * @returns DeletePayload
50573
+ */
50574
+ deleteGitAutomationState(id) {
50575
+ return new DeleteGitAutomationStateMutation(this._request).fetch(id);
50576
+ }
50577
+ /**
50578
+ * Updates an existing state.
50579
+ *
50580
+ * @param id - required id to pass to updateGitAutomationState
50581
+ * @param input - required input to pass to updateGitAutomationState
50582
+ * @returns GitAutomationStatePayload
50583
+ */
50584
+ updateGitAutomationState(id, input) {
50585
+ return new UpdateGitAutomationStateMutation(this._request).fetch(id, input);
50586
+ }
49083
50587
  /**
49084
50588
  * Authenticate user account through Google OAuth. This is the 2nd step of OAuth flow.
49085
50589
  *
@@ -49185,15 +50689,6 @@
49185
50689
  integrationGithubConnect(installationId) {
49186
50690
  return new IntegrationGithubConnectMutation(this._request).fetch(installationId);
49187
50691
  }
49188
- /**
49189
- * Connects the organization with the GitHub Sync App.
49190
- *
49191
- * @param installationId - required installationId to pass to integrationGithubSyncConnect
49192
- * @returns IntegrationPayload
49193
- */
49194
- integrationGithubSyncConnect(installationId) {
49195
- return new IntegrationGithubSyncConnectMutation(this._request).fetch(installationId);
49196
- }
49197
50692
  /**
49198
50693
  * Connects the organization with a GitLab Access Token.
49199
50694
  *
@@ -49244,11 +50739,11 @@
49244
50739
  /**
49245
50740
  * Connect your Jira account to Linear.
49246
50741
  *
49247
- * @param code - required code to pass to integrationJiraPersonal
50742
+ * @param variables - variables to pass into the IntegrationJiraPersonalMutation
49248
50743
  * @returns IntegrationPayload
49249
50744
  */
49250
- integrationJiraPersonal(code) {
49251
- return new IntegrationJiraPersonalMutation(this._request).fetch(code);
50745
+ integrationJiraPersonal(variables) {
50746
+ return new IntegrationJiraPersonalMutation(this._request).fetch(variables);
49252
50747
  }
49253
50748
  /**
49254
50749
  * Enables Loom integration for the organization.
@@ -49314,7 +50809,7 @@
49314
50809
  *
49315
50810
  * @param code - required code to pass to integrationSlackOrgProjectUpdatesPost
49316
50811
  * @param redirectUri - required redirectUri to pass to integrationSlackOrgProjectUpdatesPost
49317
- * @returns IntegrationPayload
50812
+ * @returns SlackChannelConnectPayload
49318
50813
  */
49319
50814
  integrationSlackOrgProjectUpdatesPost(code, redirectUri) {
49320
50815
  return new IntegrationSlackOrgProjectUpdatesPostMutation(this._request).fetch(code, redirectUri);
@@ -49336,7 +50831,7 @@
49336
50831
  * @param redirectUri - required redirectUri to pass to integrationSlackPost
49337
50832
  * @param teamId - required teamId to pass to integrationSlackPost
49338
50833
  * @param variables - variables without 'code', 'redirectUri', 'teamId' to pass into the IntegrationSlackPostMutation
49339
- * @returns IntegrationPayload
50834
+ * @returns SlackChannelConnectPayload
49340
50835
  */
49341
50836
  integrationSlackPost(code, redirectUri, teamId, variables) {
49342
50837
  return new IntegrationSlackPostMutation(this._request).fetch(code, redirectUri, teamId, variables);
@@ -49348,7 +50843,7 @@
49348
50843
  * @param projectId - required projectId to pass to integrationSlackProjectPost
49349
50844
  * @param redirectUri - required redirectUri to pass to integrationSlackProjectPost
49350
50845
  * @param service - required service to pass to integrationSlackProjectPost
49351
- * @returns IntegrationPayload
50846
+ * @returns SlackChannelConnectPayload
49352
50847
  */
49353
50848
  integrationSlackProjectPost(code, projectId, redirectUri, service) {
49354
50849
  return new IntegrationSlackProjectPostMutation(this._request).fetch(code, projectId, redirectUri, service);
@@ -49910,10 +51405,11 @@
49910
51405
  * Creates a new project.
49911
51406
  *
49912
51407
  * @param input - required input to pass to createProject
51408
+ * @param variables - variables without 'input' to pass into the CreateProjectMutation
49913
51409
  * @returns ProjectPayload
49914
51410
  */
49915
- createProject(input) {
49916
- return new CreateProjectMutation(this._request).fetch(input);
51411
+ createProject(input, variables) {
51412
+ return new CreateProjectMutation(this._request).fetch(input, variables);
49917
51413
  }
49918
51414
  /**
49919
51415
  * Deletes (trashes) a project.
@@ -50247,6 +51743,15 @@
50247
51743
  updateTeamMembership(id, input) {
50248
51744
  return new UpdateTeamMembershipMutation(this._request).fetch(id, input);
50249
51745
  }
51746
+ /**
51747
+ * Unarchives a team and cancels deletion.
51748
+ *
51749
+ * @param id - required id to pass to unarchiveTeam
51750
+ * @returns TeamArchivePayload
51751
+ */
51752
+ unarchiveTeam(id) {
51753
+ return new UnarchiveTeamMutation(this._request).fetch(id);
51754
+ }
50250
51755
  /**
50251
51756
  * Updates a team.
50252
51757
  *
@@ -50332,24 +51837,6 @@
50332
51837
  updateUserFlag(flag, operation) {
50333
51838
  return new UpdateUserFlagMutation(this._request).fetch(flag, operation);
50334
51839
  }
50335
- /**
50336
- * [DEPRECATED] Connects the GitHub user to this Linear account via OAuth2.
50337
- *
50338
- * @param code - required code to pass to userGitHubConnect
50339
- * @returns UserPayload
50340
- */
50341
- userGitHubConnect(code) {
50342
- return new UserGitHubConnectMutation(this._request).fetch(code);
50343
- }
50344
- /**
50345
- * [DEPRECATED] Connects the Jira user to this Linear account via OAuth2.
50346
- *
50347
- * @param code - required code to pass to userJiraConnect
50348
- * @returns UserPayload
50349
- */
50350
- userJiraConnect(code) {
50351
- return new UserJiraConnectMutation(this._request).fetch(code);
50352
- }
50353
51840
  /**
50354
51841
  * Makes user an admin. Can only be called by an admin.
50355
51842
  *
@@ -50616,6 +52103,7 @@
50616
52103
  exports.AttachmentConnection = AttachmentConnection;
50617
52104
  exports.AttachmentIssueQuery = AttachmentIssueQuery;
50618
52105
  exports.AttachmentIssue_AttachmentsQuery = AttachmentIssue_AttachmentsQuery;
52106
+ exports.AttachmentIssue_BotActorQuery = AttachmentIssue_BotActorQuery;
50619
52107
  exports.AttachmentIssue_ChildrenQuery = AttachmentIssue_ChildrenQuery;
50620
52108
  exports.AttachmentIssue_CommentsQuery = AttachmentIssue_CommentsQuery;
50621
52109
  exports.AttachmentIssue_HistoryQuery = AttachmentIssue_HistoryQuery;
@@ -50625,6 +52113,7 @@
50625
52113
  exports.AttachmentIssue_SubscribersQuery = AttachmentIssue_SubscribersQuery;
50626
52114
  exports.AttachmentLinkDiscordMutation = AttachmentLinkDiscordMutation;
50627
52115
  exports.AttachmentLinkFrontMutation = AttachmentLinkFrontMutation;
52116
+ exports.AttachmentLinkGitHubIssueMutation = AttachmentLinkGitHubIssueMutation;
50628
52117
  exports.AttachmentLinkGitHubPrMutation = AttachmentLinkGitHubPrMutation;
50629
52118
  exports.AttachmentLinkGitLabMrMutation = AttachmentLinkGitLabMrMutation;
50630
52119
  exports.AttachmentLinkIntercomMutation = AttachmentLinkIntercomMutation;
@@ -50644,17 +52133,23 @@
50644
52133
  exports.AuditEntryType = AuditEntryType;
50645
52134
  exports.AuditEntryTypesQuery = AuditEntryTypesQuery;
50646
52135
  exports.AuthApiKey = AuthApiKey;
50647
- exports.AuthApiKeyDeletePayload = AuthApiKeyDeletePayload;
50648
52136
  exports.AuthApiKeyPayload = AuthApiKeyPayload;
52137
+ exports.AuthCreateOrJoinOrganizationResponse = AuthCreateOrJoinOrganizationResponse;
50649
52138
  exports.AuthIntegration = AuthIntegration;
50650
52139
  exports.AuthOauthClient = AuthOauthClient;
52140
+ exports.AuthOauthClientWithMemberships = AuthOauthClientWithMemberships;
52141
+ exports.AuthOauthClientWithScope = AuthOauthClientWithScope;
52142
+ exports.AuthOauthClientWithTokens = AuthOauthClientWithTokens;
50651
52143
  exports.AuthOrganization = AuthOrganization;
52144
+ exports.AuthOrganizationDomain = AuthOrganizationDomain;
50652
52145
  exports.AuthResolverResponse = AuthResolverResponse;
52146
+ exports.AuthSuccessPayload = AuthSuccessPayload;
50653
52147
  exports.AuthUser = AuthUser;
50654
52148
  exports.AuthenticationLinearError = AuthenticationLinearError;
50655
52149
  exports.AuthenticationSession = AuthenticationSession;
50656
52150
  exports.AuthenticationSessionResponse = AuthenticationSessionResponse;
50657
52151
  exports.AuthenticationSessionsQuery = AuthenticationSessionsQuery;
52152
+ exports.AuthorizedApplicationBase = AuthorizedApplicationBase;
50658
52153
  exports.AvailableUsersQuery = AvailableUsersQuery;
50659
52154
  exports.BootstrapLinearError = BootstrapLinearError;
50660
52155
  exports.Comment = Comment;
@@ -50682,6 +52177,7 @@
50682
52177
  exports.CreateDocumentMutation = CreateDocumentMutation;
50683
52178
  exports.CreateEmojiMutation = CreateEmojiMutation;
50684
52179
  exports.CreateFavoriteMutation = CreateFavoriteMutation;
52180
+ exports.CreateGitAutomationStateMutation = CreateGitAutomationStateMutation;
50685
52181
  exports.CreateIntegrationGithubCommitMutation = CreateIntegrationGithubCommitMutation;
50686
52182
  exports.CreateIntegrationTemplateMutation = CreateIntegrationTemplateMutation;
50687
52183
  exports.CreateIntegrationsSettingsMutation = CreateIntegrationsSettingsMutation;
@@ -50723,6 +52219,7 @@
50723
52219
  exports.CycleNotificationSubscription = CycleNotificationSubscription;
50724
52220
  exports.CyclePayload = CyclePayload;
50725
52221
  exports.CycleQuery = CycleQuery;
52222
+ exports.CycleShiftAllMutation = CycleShiftAllMutation;
50726
52223
  exports.Cycle_IssuesQuery = Cycle_IssuesQuery;
50727
52224
  exports.Cycle_UncompletedIssuesUponCloseQuery = Cycle_UncompletedIssuesUponCloseQuery;
50728
52225
  exports.CyclesQuery = CyclesQuery;
@@ -50733,6 +52230,7 @@
50733
52230
  exports.DeleteDocumentMutation = DeleteDocumentMutation;
50734
52231
  exports.DeleteEmojiMutation = DeleteEmojiMutation;
50735
52232
  exports.DeleteFavoriteMutation = DeleteFavoriteMutation;
52233
+ exports.DeleteGitAutomationStateMutation = DeleteGitAutomationStateMutation;
50736
52234
  exports.DeleteIntegrationIntercomMutation = DeleteIntegrationIntercomMutation;
50737
52235
  exports.DeleteIntegrationMutation = DeleteIntegrationMutation;
50738
52236
  exports.DeleteIntegrationTemplateMutation = DeleteIntegrationTemplateMutation;
@@ -50774,6 +52272,7 @@
50774
52272
  exports.DocumentSearchResult = DocumentSearchResult;
50775
52273
  exports.DocumentSearchResultConnection = DocumentSearchResultConnection;
50776
52274
  exports.DocumentsQuery = DocumentsQuery;
52275
+ exports.EmailIntakeAddress = EmailIntakeAddress;
50777
52276
  exports.EmailTokenUserAccountAuthMutation = EmailTokenUserAccountAuthMutation;
50778
52277
  exports.EmailUnsubscribeMutation = EmailUnsubscribeMutation;
50779
52278
  exports.EmailUnsubscribePayload = EmailUnsubscribePayload;
@@ -50796,10 +52295,13 @@
50796
52295
  exports.ForbiddenLinearError = ForbiddenLinearError;
50797
52296
  exports.FrontAttachmentPayload = FrontAttachmentPayload;
50798
52297
  exports.FrontSettings = FrontSettings;
52298
+ exports.GitAutomationState = GitAutomationState;
52299
+ exports.GitAutomationStateConnection = GitAutomationStateConnection;
52300
+ exports.GitAutomationStatePayload = GitAutomationStatePayload;
50799
52301
  exports.GitHubCommitIntegrationPayload = GitHubCommitIntegrationPayload;
52302
+ exports.GitHubPersonalSettings = GitHubPersonalSettings;
52303
+ exports.GitHubRepo = GitHubRepo;
50800
52304
  exports.GitHubSettings = GitHubSettings;
50801
- exports.GitHubSyncRepo = GitHubSyncRepo;
50802
- exports.GitHubSyncSettings = GitHubSyncSettings;
50803
52305
  exports.GitLabSettings = GitLabSettings;
50804
52306
  exports.GithubOAuthTokenPayload = GithubOAuthTokenPayload;
50805
52307
  exports.GithubOrg = GithubOrg;
@@ -50819,7 +52321,6 @@
50819
52321
  exports.IntegrationFrontMutation = IntegrationFrontMutation;
50820
52322
  exports.IntegrationGitHubPersonalMutation = IntegrationGitHubPersonalMutation;
50821
52323
  exports.IntegrationGithubConnectMutation = IntegrationGithubConnectMutation;
50822
- exports.IntegrationGithubSyncConnectMutation = IntegrationGithubSyncConnectMutation;
50823
52324
  exports.IntegrationGitlabConnectMutation = IntegrationGitlabConnectMutation;
50824
52325
  exports.IntegrationGoogleSheetsMutation = IntegrationGoogleSheetsMutation;
50825
52326
  exports.IntegrationIntercomMutation = IntegrationIntercomMutation;
@@ -50903,6 +52404,7 @@
50903
52404
  exports.IssueUnsubscribeMutation = IssueUnsubscribeMutation;
50904
52405
  exports.IssueVcsBranchSearchQuery = IssueVcsBranchSearchQuery;
50905
52406
  exports.IssueVcsBranchSearch_AttachmentsQuery = IssueVcsBranchSearch_AttachmentsQuery;
52407
+ exports.IssueVcsBranchSearch_BotActorQuery = IssueVcsBranchSearch_BotActorQuery;
50906
52408
  exports.IssueVcsBranchSearch_ChildrenQuery = IssueVcsBranchSearch_ChildrenQuery;
50907
52409
  exports.IssueVcsBranchSearch_CommentsQuery = IssueVcsBranchSearch_CommentsQuery;
50908
52410
  exports.IssueVcsBranchSearch_HistoryQuery = IssueVcsBranchSearch_HistoryQuery;
@@ -50911,6 +52413,7 @@
50911
52413
  exports.IssueVcsBranchSearch_RelationsQuery = IssueVcsBranchSearch_RelationsQuery;
50912
52414
  exports.IssueVcsBranchSearch_SubscribersQuery = IssueVcsBranchSearch_SubscribersQuery;
50913
52415
  exports.Issue_AttachmentsQuery = Issue_AttachmentsQuery;
52416
+ exports.Issue_BotActorQuery = Issue_BotActorQuery;
50914
52417
  exports.Issue_ChildrenQuery = Issue_ChildrenQuery;
50915
52418
  exports.Issue_CommentsQuery = Issue_CommentsQuery;
50916
52419
  exports.Issue_HistoryQuery = Issue_HistoryQuery;
@@ -50966,6 +52469,7 @@
50966
52469
  exports.OauthClientApproval = OauthClientApproval;
50967
52470
  exports.OauthClientApprovalNotification = OauthClientApprovalNotification;
50968
52471
  exports.OauthClientConnection = OauthClientConnection;
52472
+ exports.OauthToken = OauthToken;
50969
52473
  exports.Organization = Organization;
50970
52474
  exports.OrganizationCancelDeletePayload = OrganizationCancelDeletePayload;
50971
52475
  exports.OrganizationDeleteChallengeMutation = OrganizationDeleteChallengeMutation;
@@ -51076,15 +52580,16 @@
51076
52580
  exports.SentrySettings = SentrySettings;
51077
52581
  exports.SlackAsksSettings = SlackAsksSettings;
51078
52582
  exports.SlackAsksTeamSettings = SlackAsksTeamSettings;
52583
+ exports.SlackChannelConnectPayload = SlackChannelConnectPayload;
51079
52584
  exports.SlackChannelNameMapping = SlackChannelNameMapping;
51080
52585
  exports.SlackPostSettings = SlackPostSettings;
51081
52586
  exports.SlackSettings = SlackSettings;
51082
52587
  exports.SsoUrlFromEmailQuery = SsoUrlFromEmailQuery;
51083
52588
  exports.SsoUrlFromEmailResponse = SsoUrlFromEmailResponse;
51084
52589
  exports.SuspendUserMutation = SuspendUserMutation;
51085
- exports.SyncResponse = SyncResponse;
51086
52590
  exports.SynchronizedPayload = SynchronizedPayload;
51087
52591
  exports.Team = Team;
52592
+ exports.TeamArchivePayload = TeamArchivePayload;
51088
52593
  exports.TeamConnection = TeamConnection;
51089
52594
  exports.TeamMembership = TeamMembership;
51090
52595
  exports.TeamMembershipConnection = TeamMembershipConnection;
@@ -51095,6 +52600,7 @@
51095
52600
  exports.TeamPayload = TeamPayload;
51096
52601
  exports.TeamQuery = TeamQuery;
51097
52602
  exports.TeamRepoMapping = TeamRepoMapping;
52603
+ exports.Team_AutomationStatesQuery = Team_AutomationStatesQuery;
51098
52604
  exports.Team_CyclesQuery = Team_CyclesQuery;
51099
52605
  exports.Team_IssuesQuery = Team_IssuesQuery;
51100
52606
  exports.Team_LabelsQuery = Team_LabelsQuery;
@@ -51117,6 +52623,7 @@
51117
52623
  exports.UnarchiveNotificationMutation = UnarchiveNotificationMutation;
51118
52624
  exports.UnarchiveProjectMutation = UnarchiveProjectMutation;
51119
52625
  exports.UnarchiveRoadmapMutation = UnarchiveRoadmapMutation;
52626
+ exports.UnarchiveTeamMutation = UnarchiveTeamMutation;
51120
52627
  exports.UnknownLinearError = UnknownLinearError;
51121
52628
  exports.UnsuspendUserMutation = UnsuspendUserMutation;
51122
52629
  exports.UpdateAttachmentMutation = UpdateAttachmentMutation;
@@ -51125,6 +52632,7 @@
51125
52632
  exports.UpdateCycleMutation = UpdateCycleMutation;
51126
52633
  exports.UpdateDocumentMutation = UpdateDocumentMutation;
51127
52634
  exports.UpdateFavoriteMutation = UpdateFavoriteMutation;
52635
+ exports.UpdateGitAutomationStateMutation = UpdateGitAutomationStateMutation;
51128
52636
  exports.UpdateIntegrationIntercomSettingsMutation = UpdateIntegrationIntercomSettingsMutation;
51129
52637
  exports.UpdateIntegrationsSettingsMutation = UpdateIntegrationsSettingsMutation;
51130
52638
  exports.UpdateIssueBatchMutation = UpdateIssueBatchMutation;
@@ -51163,8 +52671,6 @@
51163
52671
  exports.UserDemoteMemberMutation = UserDemoteMemberMutation;
51164
52672
  exports.UserDiscordConnectMutation = UserDiscordConnectMutation;
51165
52673
  exports.UserExternalUserDisconnectMutation = UserExternalUserDisconnectMutation;
51166
- exports.UserGitHubConnectMutation = UserGitHubConnectMutation;
51167
- exports.UserJiraConnectMutation = UserJiraConnectMutation;
51168
52674
  exports.UserLinearError = UserLinearError;
51169
52675
  exports.UserNotificationSubscription = UserNotificationSubscription;
51170
52676
  exports.UserPayload = UserPayload;