@linear/sdk 11.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":"11.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: [
@@ -3433,6 +3552,8 @@
3433
3552
  { kind: "Field", name: { kind: "Name", value: "__typename" } },
3434
3553
  { kind: "Field", name: { kind: "Name", value: "jiraProjectId" } },
3435
3554
  { kind: "Field", name: { kind: "Name", value: "linearTeamId" } },
3555
+ { kind: "Field", name: { kind: "Name", value: "bidirectional" } },
3556
+ { kind: "Field", name: { kind: "Name", value: "default" } },
3436
3557
  ],
3437
3558
  },
3438
3559
  },
@@ -3465,6 +3586,7 @@
3465
3586
  selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "JiraLinearMapping" } }],
3466
3587
  },
3467
3588
  },
3589
+ { kind: "Field", name: { kind: "Name", value: "isJiraServer" } },
3468
3590
  ],
3469
3591
  },
3470
3592
  },
@@ -3613,6 +3735,7 @@
3613
3735
  { kind: "Field", name: { kind: "Name", value: "__typename" } },
3614
3736
  { kind: "Field", name: { kind: "Name", value: "id" } },
3615
3737
  { kind: "Field", name: { kind: "Name", value: "name" } },
3738
+ { kind: "Field", name: { kind: "Name", value: "autoCreateTemplateId" } },
3616
3739
  { kind: "Field", name: { kind: "Name", value: "autoCreateOnBotMention" } },
3617
3740
  { kind: "Field", name: { kind: "Name", value: "isPrivate" } },
3618
3741
  { kind: "Field", name: { kind: "Name", value: "isShared" } },
@@ -3728,10 +3851,10 @@
3728
3851
  },
3729
3852
  {
3730
3853
  kind: "Field",
3731
- name: { kind: "Name", value: "gitHubSync" },
3854
+ name: { kind: "Name", value: "gitHubPersonal" },
3732
3855
  selectionSet: {
3733
3856
  kind: "SelectionSet",
3734
- selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "GitHubSyncSettings" } }],
3857
+ selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "GitHubPersonalSettings" } }],
3735
3858
  },
3736
3859
  },
3737
3860
  {
@@ -4270,60 +4393,148 @@
4270
4393
  },
4271
4394
  ],
4272
4395
  };
4273
- const AuthApiKeyDeletePayloadFragmentDoc = {
4396
+ const AuthApiKeyFragmentDoc = {
4274
4397
  kind: "Document",
4275
4398
  definitions: [
4276
4399
  {
4277
4400
  kind: "FragmentDefinition",
4278
- name: { kind: "Name", value: "AuthApiKeyDeletePayload" },
4279
- typeCondition: { kind: "NamedType", name: { kind: "Name", value: "AuthApiKeyDeletePayload" } },
4401
+ name: { kind: "Name", value: "AuthApiKey" },
4402
+ typeCondition: { kind: "NamedType", name: { kind: "Name", value: "AuthApiKey" } },
4280
4403
  selectionSet: {
4281
4404
  kind: "SelectionSet",
4282
4405
  selections: [
4283
4406
  { kind: "Field", name: { kind: "Name", value: "__typename" } },
4407
+ { kind: "Field", name: { kind: "Name", value: "id" } },
4408
+ ],
4409
+ },
4410
+ },
4411
+ ],
4412
+ };
4413
+ const AuthApiKeyPayloadFragmentDoc = {
4414
+ kind: "Document",
4415
+ definitions: [
4416
+ {
4417
+ kind: "FragmentDefinition",
4418
+ name: { kind: "Name", value: "AuthApiKeyPayload" },
4419
+ typeCondition: { kind: "NamedType", name: { kind: "Name", value: "AuthApiKeyPayload" } },
4420
+ selectionSet: {
4421
+ kind: "SelectionSet",
4422
+ selections: [
4423
+ { kind: "Field", name: { kind: "Name", value: "__typename" } },
4424
+ {
4425
+ kind: "Field",
4426
+ name: { kind: "Name", value: "authApiKey" },
4427
+ selectionSet: {
4428
+ kind: "SelectionSet",
4429
+ selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "AuthApiKey" } }],
4430
+ },
4431
+ },
4284
4432
  { kind: "Field", name: { kind: "Name", value: "success" } },
4285
4433
  ],
4286
4434
  },
4287
4435
  },
4288
4436
  ],
4289
4437
  };
4290
- const AuthApiKeyFragmentDoc = {
4438
+ const AuthOrganizationFragmentDoc = {
4291
4439
  kind: "Document",
4292
4440
  definitions: [
4293
4441
  {
4294
4442
  kind: "FragmentDefinition",
4295
- name: { kind: "Name", value: "AuthApiKey" },
4296
- typeCondition: { kind: "NamedType", name: { kind: "Name", value: "AuthApiKey" } },
4443
+ name: { kind: "Name", value: "AuthOrganization" },
4444
+ typeCondition: { kind: "NamedType", name: { kind: "Name", value: "AuthOrganization" } },
4297
4445
  selectionSet: {
4298
4446
  kind: "SelectionSet",
4299
4447
  selections: [
4300
4448
  { kind: "Field", name: { kind: "Name", value: "__typename" } },
4449
+ { kind: "Field", name: { kind: "Name", value: "allowedAuthServices" } },
4450
+ { kind: "Field", name: { kind: "Name", value: "previousUrlKeys" } },
4451
+ { kind: "Field", name: { kind: "Name", value: "logoUrl" } },
4452
+ { kind: "Field", name: { kind: "Name", value: "name" } },
4453
+ { kind: "Field", name: { kind: "Name", value: "urlKey" } },
4454
+ { kind: "Field", name: { kind: "Name", value: "deletionRequestedAt" } },
4301
4455
  { kind: "Field", name: { kind: "Name", value: "id" } },
4456
+ { kind: "Field", name: { kind: "Name", value: "samlEnabled" } },
4457
+ { kind: "Field", name: { kind: "Name", value: "scimEnabled" } },
4458
+ { kind: "Field", name: { kind: "Name", value: "userCount" } },
4302
4459
  ],
4303
4460
  },
4304
4461
  },
4305
4462
  ],
4306
4463
  };
4307
- const AuthApiKeyPayloadFragmentDoc = {
4464
+ const AuthUserFragmentDoc = {
4308
4465
  kind: "Document",
4309
4466
  definitions: [
4310
4467
  {
4311
4468
  kind: "FragmentDefinition",
4312
- name: { kind: "Name", value: "AuthApiKeyPayload" },
4313
- typeCondition: { kind: "NamedType", name: { kind: "Name", value: "AuthApiKeyPayload" } },
4469
+ name: { kind: "Name", value: "AuthUser" },
4470
+ typeCondition: { kind: "NamedType", name: { kind: "Name", value: "AuthUser" } },
4314
4471
  selectionSet: {
4315
4472
  kind: "SelectionSet",
4316
4473
  selections: [
4317
4474
  { kind: "Field", name: { kind: "Name", value: "__typename" } },
4475
+ { kind: "Field", name: { kind: "Name", value: "avatarUrl" } },
4318
4476
  {
4319
4477
  kind: "Field",
4320
- name: { kind: "Name", value: "authApiKey" },
4478
+ name: { kind: "Name", value: "organization" },
4321
4479
  selectionSet: {
4322
4480
  kind: "SelectionSet",
4323
- selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "AuthApiKey" } }],
4481
+ selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "AuthOrganization" } }],
4482
+ },
4483
+ },
4484
+ { kind: "Field", name: { kind: "Name", value: "displayName" } },
4485
+ { kind: "Field", name: { kind: "Name", value: "email" } },
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" } }],
4324
4536
  },
4325
4537
  },
4326
- { kind: "Field", name: { kind: "Name", value: "success" } },
4327
4538
  ],
4328
4539
  },
4329
4540
  },
@@ -4346,54 +4557,97 @@
4346
4557
  },
4347
4558
  ],
4348
4559
  };
4349
- const AuthOrganizationFragmentDoc = {
4560
+ const AuthOauthClientFragmentDoc = {
4350
4561
  kind: "Document",
4351
4562
  definitions: [
4352
4563
  {
4353
4564
  kind: "FragmentDefinition",
4354
- name: { kind: "Name", value: "AuthOrganization" },
4355
- typeCondition: { kind: "NamedType", name: { kind: "Name", value: "AuthOrganization" } },
4565
+ name: { kind: "Name", value: "AuthOauthClient" },
4566
+ typeCondition: { kind: "NamedType", name: { kind: "Name", value: "AuthOauthClient" } },
4356
4567
  selectionSet: {
4357
4568
  kind: "SelectionSet",
4358
4569
  selections: [
4359
4570
  { kind: "Field", name: { kind: "Name", value: "__typename" } },
4360
- { kind: "Field", name: { kind: "Name", value: "allowedAuthServices" } },
4361
- { kind: "Field", name: { kind: "Name", value: "previousUrlKeys" } },
4362
- { kind: "Field", name: { kind: "Name", value: "logoUrl" } },
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" } },
4363
4576
  { kind: "Field", name: { kind: "Name", value: "name" } },
4364
- { kind: "Field", name: { kind: "Name", value: "urlKey" } },
4365
- { kind: "Field", name: { kind: "Name", value: "deletionRequestedAt" } },
4366
- { kind: "Field", name: { kind: "Name", value: "samlEnabled" } },
4577
+ { kind: "Field", name: { kind: "Name", value: "clientSecret" } },
4578
+ { kind: "Field", name: { kind: "Name", value: "creatorId" } },
4579
+ { kind: "Field", name: { kind: "Name", value: "organizationId" } },
4367
4580
  { kind: "Field", name: { kind: "Name", value: "id" } },
4368
- { kind: "Field", name: { kind: "Name", value: "userCount" } },
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" } },
4369
4585
  ],
4370
4586
  },
4371
4587
  },
4372
4588
  ],
4373
4589
  };
4374
- const AuthUserFragmentDoc = {
4590
+ const OauthTokenFragmentDoc = {
4375
4591
  kind: "Document",
4376
4592
  definitions: [
4377
4593
  {
4378
4594
  kind: "FragmentDefinition",
4379
- name: { kind: "Name", value: "AuthUser" },
4380
- typeCondition: { kind: "NamedType", name: { kind: "Name", value: "AuthUser" } },
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" } },
4381
4615
  selectionSet: {
4382
4616
  kind: "SelectionSet",
4383
4617
  selections: [
4384
4618
  { kind: "Field", name: { kind: "Name", value: "__typename" } },
4385
- { kind: "Field", name: { kind: "Name", value: "avatarUrl" } },
4386
4619
  {
4387
4620
  kind: "Field",
4388
- name: { kind: "Name", value: "organization" },
4621
+ name: { kind: "Name", value: "client" },
4389
4622
  selectionSet: {
4390
4623
  kind: "SelectionSet",
4391
- selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "AuthOrganization" } }],
4624
+ selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "AuthOauthClient" } }],
4392
4625
  },
4393
4626
  },
4394
- { kind: "Field", name: { kind: "Name", value: "displayName" } },
4395
- { kind: "Field", name: { kind: "Name", value: "email" } },
4396
- { kind: "Field", name: { kind: "Name", value: "name" } },
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" } },
4397
4651
  { kind: "Field", name: { kind: "Name", value: "id" } },
4398
4652
  ],
4399
4653
  },
@@ -4445,33 +4699,39 @@
4445
4699
  },
4446
4700
  ],
4447
4701
  };
4448
- const AuthenticationSessionResponseFragmentDoc = {
4702
+ const AuthSuccessPayloadFragmentDoc = {
4449
4703
  kind: "Document",
4450
4704
  definitions: [
4451
4705
  {
4452
4706
  kind: "FragmentDefinition",
4453
- name: { kind: "Name", value: "AuthenticationSessionResponse" },
4454
- 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" } },
4455
4726
  selectionSet: {
4456
4727
  kind: "SelectionSet",
4457
4728
  selections: [
4458
4729
  { kind: "Field", name: { kind: "Name", value: "__typename" } },
4459
- { kind: "Field", name: { kind: "Name", value: "client" } },
4460
- { kind: "Field", name: { kind: "Name", value: "countryCodes" } },
4461
- { kind: "Field", name: { kind: "Name", value: "createdAt" } },
4462
- { kind: "Field", name: { kind: "Name", value: "updatedAt" } },
4463
- { kind: "Field", name: { kind: "Name", value: "location" } },
4464
- { kind: "Field", name: { kind: "Name", value: "ip" } },
4465
- { kind: "Field", name: { kind: "Name", value: "isCurrentSession" } },
4466
- { kind: "Field", name: { kind: "Name", value: "locationCity" } },
4467
- { kind: "Field", name: { kind: "Name", value: "locationCountryCode" } },
4468
- { kind: "Field", name: { kind: "Name", value: "locationCountry" } },
4469
4730
  { kind: "Field", name: { kind: "Name", value: "name" } },
4470
- { kind: "Field", name: { kind: "Name", value: "operatingSystem" } },
4471
- { kind: "Field", name: { kind: "Name", value: "userAgent" } },
4472
- { kind: "Field", name: { kind: "Name", value: "browserType" } },
4473
- { kind: "Field", name: { kind: "Name", value: "lastActiveAt" } },
4474
- { 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" } },
4475
4735
  ],
4476
4736
  },
4477
4737
  },
@@ -4532,6 +4792,14 @@
4532
4792
  selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }],
4533
4793
  },
4534
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
+ },
4535
4803
  { kind: "Field", name: { kind: "Name", value: "archivedAt" } },
4536
4804
  { kind: "Field", name: { kind: "Name", value: "createdAt" } },
4537
4805
  { kind: "Field", name: { kind: "Name", value: "resolvedAt" } },
@@ -5018,6 +5286,7 @@
5018
5286
  },
5019
5287
  },
5020
5288
  { kind: "Field", name: { kind: "Name", value: "updatedAt" } },
5289
+ { kind: "Field", name: { kind: "Name", value: "sortOrder" } },
5021
5290
  {
5022
5291
  kind: "Field",
5023
5292
  name: { kind: "Name", value: "project" },
@@ -5200,6 +5469,7 @@
5200
5469
  },
5201
5470
  },
5202
5471
  { kind: "Field", name: { kind: "Name", value: "updatedAt" } },
5472
+ { kind: "Field", name: { kind: "Name", value: "sortOrder" } },
5203
5473
  {
5204
5474
  kind: "Field",
5205
5475
  name: { kind: "Name", value: "project" },
@@ -5625,6 +5895,101 @@
5625
5895
  },
5626
5896
  ],
5627
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
+ };
5628
5993
  const GitHubCommitIntegrationPayloadFragmentDoc = {
5629
5994
  kind: "Document",
5630
5995
  definitions: [
@@ -5994,12 +6359,21 @@
5994
6359
  selections: [
5995
6360
  { kind: "Field", name: { kind: "Name", value: "__typename" } },
5996
6361
  { kind: "Field", name: { kind: "Name", value: "trashed" } },
6362
+ { kind: "Field", name: { kind: "Name", value: "labelIds" } },
5997
6363
  { kind: "Field", name: { kind: "Name", value: "url" } },
5998
6364
  { kind: "Field", name: { kind: "Name", value: "identifier" } },
5999
6365
  { kind: "Field", name: { kind: "Name", value: "priorityLabel" } },
6000
6366
  { kind: "Field", name: { kind: "Name", value: "previousIdentifiers" } },
6001
6367
  { kind: "Field", name: { kind: "Name", value: "customerTicketCount" } },
6002
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
+ },
6003
6377
  {
6004
6378
  kind: "Field",
6005
6379
  name: { kind: "Name", value: "cycle" },
@@ -6812,6 +7186,7 @@
6812
7186
  selections: [
6813
7187
  { kind: "Field", name: { kind: "Name", value: "__typename" } },
6814
7188
  { kind: "Field", name: { kind: "Name", value: "trashed" } },
7189
+ { kind: "Field", name: { kind: "Name", value: "labelIds" } },
6815
7190
  { kind: "Field", name: { kind: "Name", value: "url" } },
6816
7191
  { kind: "Field", name: { kind: "Name", value: "identifier" } },
6817
7192
  { kind: "Field", name: { kind: "Name", value: "priorityLabel" } },
@@ -6819,6 +7194,14 @@
6819
7194
  { kind: "Field", name: { kind: "Name", value: "previousIdentifiers" } },
6820
7195
  { kind: "Field", name: { kind: "Name", value: "customerTicketCount" } },
6821
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
+ },
6822
7205
  {
6823
7206
  kind: "Field",
6824
7207
  name: { kind: "Name", value: "cycle" },
@@ -7614,6 +7997,7 @@
7614
7997
  { kind: "Field", name: { kind: "Name", value: "updatedAt" } },
7615
7998
  { kind: "Field", name: { kind: "Name", value: "url" } },
7616
7999
  { kind: "Field", name: { kind: "Name", value: "label" } },
8000
+ { kind: "Field", name: { kind: "Name", value: "sortOrder" } },
7617
8001
  {
7618
8002
  kind: "Field",
7619
8003
  name: { kind: "Name", value: "project" },
@@ -8374,7 +8758,31 @@
8374
8758
  selections: [
8375
8759
  { kind: "Field", name: { kind: "Name", value: "__typename" } },
8376
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
+ },
8377
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
+ },
8378
8786
  { kind: "Field", name: { kind: "Name", value: "archivedAt" } },
8379
8787
  { kind: "Field", name: { kind: "Name", value: "createdAt" } },
8380
8788
  { kind: "Field", name: { kind: "Name", value: "id" } },
@@ -8664,6 +9072,35 @@
8664
9072
  },
8665
9073
  ],
8666
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
+ };
8667
9104
  const SsoUrlFromEmailResponseFragmentDoc = {
8668
9105
  kind: "Document",
8669
9106
  definitions: [
@@ -8841,6 +9278,7 @@
8841
9278
  },
8842
9279
  { kind: "Field", name: { kind: "Name", value: "inviteHash" } },
8843
9280
  { kind: "Field", name: { kind: "Name", value: "defaultIssueEstimate" } },
9281
+ { kind: "Field", name: { kind: "Name", value: "setIssueSortOrderOnStateChange" } },
8844
9282
  { kind: "Field", name: { kind: "Name", value: "requirePriorityToLeaveTriage" } },
8845
9283
  { kind: "Field", name: { kind: "Name", value: "issueOrderingNoPriorityFirst" } },
8846
9284
  { kind: "Field", name: { kind: "Name", value: "private" } },
@@ -8848,11 +9286,11 @@
8848
9286
  { kind: "Field", name: { kind: "Name", value: "issueEstimationExtended" } },
8849
9287
  { kind: "Field", name: { kind: "Name", value: "issueEstimationAllowZero" } },
8850
9288
  { kind: "Field", name: { kind: "Name", value: "groupIssueHistory" } },
8851
- { kind: "Field", name: { kind: "Name", value: "issueSortOrderDefaultToBottom" } },
8852
9289
  { kind: "Field", name: { kind: "Name", value: "slackIssueComments" } },
8853
9290
  { kind: "Field", name: { kind: "Name", value: "slackNewIssue" } },
8854
9291
  { kind: "Field", name: { kind: "Name", value: "slackIssueStatuses" } },
8855
9292
  { kind: "Field", name: { kind: "Name", value: "triageEnabled" } },
9293
+ { kind: "Field", name: { kind: "Name", value: "issueSortOrderDefaultToBottom" } },
8856
9294
  ],
8857
9295
  },
8858
9296
  },
@@ -9012,6 +9450,54 @@
9012
9450
  },
9013
9451
  ],
9014
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
+ };
9015
9501
  const TemplateConnectionFragmentDoc = {
9016
9502
  kind: "Document",
9017
9503
  definitions: [
@@ -9023,6 +9509,14 @@
9023
9509
  kind: "SelectionSet",
9024
9510
  selections: [
9025
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
+ },
9026
9520
  {
9027
9521
  kind: "Field",
9028
9522
  name: { kind: "Name", value: "pageInfo" },
@@ -10180,6 +10674,7 @@
10180
10674
  },
10181
10675
  },
10182
10676
  ...IssueFragmentDoc.definitions,
10677
+ ...ActorBotFragmentDoc.definitions,
10183
10678
  ],
10184
10679
  };
10185
10680
  const AttachmentIssue_AttachmentsDocument = {
@@ -10303,6 +10798,53 @@
10303
10798
  ...PageInfoFragmentDoc.definitions,
10304
10799
  ],
10305
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
+ };
10306
10848
  const AttachmentIssue_ChildrenDocument = {
10307
10849
  kind: "Document",
10308
10850
  definitions: [
@@ -10421,6 +10963,7 @@
10421
10963
  },
10422
10964
  ...IssueConnectionFragmentDoc.definitions,
10423
10965
  ...IssueFragmentDoc.definitions,
10966
+ ...ActorBotFragmentDoc.definitions,
10424
10967
  ...PageInfoFragmentDoc.definitions,
10425
10968
  ],
10426
10969
  };
@@ -12193,6 +12736,7 @@
12193
12736
  },
12194
12737
  ...IssueConnectionFragmentDoc.definitions,
12195
12738
  ...IssueFragmentDoc.definitions,
12739
+ ...ActorBotFragmentDoc.definitions,
12196
12740
  ...PageInfoFragmentDoc.definitions,
12197
12741
  ],
12198
12742
  };
@@ -12314,6 +12858,7 @@
12314
12858
  },
12315
12859
  ...IssueConnectionFragmentDoc.definitions,
12316
12860
  ...IssueFragmentDoc.definitions,
12861
+ ...ActorBotFragmentDoc.definitions,
12317
12862
  ...PageInfoFragmentDoc.definitions,
12318
12863
  ],
12319
12864
  };
@@ -13281,6 +13826,7 @@
13281
13826
  },
13282
13827
  },
13283
13828
  ...IssueFragmentDoc.definitions,
13829
+ ...ActorBotFragmentDoc.definitions,
13284
13830
  ],
13285
13831
  };
13286
13832
  const Issue_AttachmentsDocument = {
@@ -13404,6 +13950,53 @@
13404
13950
  ...PageInfoFragmentDoc.definitions,
13405
13951
  ],
13406
13952
  };
13953
+ const Issue_BotActorDocument = {
13954
+ kind: "Document",
13955
+ definitions: [
13956
+ {
13957
+ kind: "OperationDefinition",
13958
+ operation: "query",
13959
+ name: { kind: "Name", value: "issue_botActor" },
13960
+ variableDefinitions: [
13961
+ {
13962
+ kind: "VariableDefinition",
13963
+ variable: { kind: "Variable", name: { kind: "Name", value: "id" } },
13964
+ type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "String" } } },
13965
+ },
13966
+ ],
13967
+ selectionSet: {
13968
+ kind: "SelectionSet",
13969
+ selections: [
13970
+ {
13971
+ kind: "Field",
13972
+ name: { kind: "Name", value: "issue" },
13973
+ arguments: [
13974
+ {
13975
+ kind: "Argument",
13976
+ name: { kind: "Name", value: "id" },
13977
+ value: { kind: "Variable", name: { kind: "Name", value: "id" } },
13978
+ },
13979
+ ],
13980
+ selectionSet: {
13981
+ kind: "SelectionSet",
13982
+ selections: [
13983
+ {
13984
+ kind: "Field",
13985
+ name: { kind: "Name", value: "botActor" },
13986
+ selectionSet: {
13987
+ kind: "SelectionSet",
13988
+ selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "ActorBot" } }],
13989
+ },
13990
+ },
13991
+ ],
13992
+ },
13993
+ },
13994
+ ],
13995
+ },
13996
+ },
13997
+ ...ActorBotFragmentDoc.definitions,
13998
+ ],
13999
+ };
13407
14000
  const Issue_ChildrenDocument = {
13408
14001
  kind: "Document",
13409
14002
  definitions: [
@@ -13522,6 +14115,7 @@
13522
14115
  },
13523
14116
  ...IssueConnectionFragmentDoc.definitions,
13524
14117
  ...IssueFragmentDoc.definitions,
14118
+ ...ActorBotFragmentDoc.definitions,
13525
14119
  ...PageInfoFragmentDoc.definitions,
13526
14120
  ],
13527
14121
  };
@@ -14334,6 +14928,7 @@
14334
14928
  },
14335
14929
  ...IssueConnectionFragmentDoc.definitions,
14336
14930
  ...IssueFragmentDoc.definitions,
14931
+ ...ActorBotFragmentDoc.definitions,
14337
14932
  ...PageInfoFragmentDoc.definitions,
14338
14933
  ],
14339
14934
  };
@@ -14740,6 +15335,7 @@
14740
15335
  },
14741
15336
  ...IssueConnectionFragmentDoc.definitions,
14742
15337
  ...IssueFragmentDoc.definitions,
15338
+ ...ActorBotFragmentDoc.definitions,
14743
15339
  ...PageInfoFragmentDoc.definitions,
14744
15340
  ],
14745
15341
  };
@@ -15102,6 +15698,7 @@
15102
15698
  },
15103
15699
  ...IssueConnectionFragmentDoc.definitions,
15104
15700
  ...IssueFragmentDoc.definitions,
15701
+ ...ActorBotFragmentDoc.definitions,
15105
15702
  ...PageInfoFragmentDoc.definitions,
15106
15703
  ],
15107
15704
  };
@@ -15141,6 +15738,7 @@
15141
15738
  },
15142
15739
  },
15143
15740
  ...IssueFragmentDoc.definitions,
15741
+ ...ActorBotFragmentDoc.definitions,
15144
15742
  ],
15145
15743
  };
15146
15744
  const IssueVcsBranchSearch_AttachmentsDocument = {
@@ -15264,6 +15862,53 @@
15264
15862
  ...PageInfoFragmentDoc.definitions,
15265
15863
  ],
15266
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
+ };
15267
15912
  const IssueVcsBranchSearch_ChildrenDocument = {
15268
15913
  kind: "Document",
15269
15914
  definitions: [
@@ -15382,6 +16027,7 @@
15382
16027
  },
15383
16028
  ...IssueConnectionFragmentDoc.definitions,
15384
16029
  ...IssueFragmentDoc.definitions,
16030
+ ...ActorBotFragmentDoc.definitions,
15385
16031
  ...PageInfoFragmentDoc.definitions,
15386
16032
  ],
15387
16033
  };
@@ -16194,6 +16840,7 @@
16194
16840
  },
16195
16841
  ...IssueConnectionFragmentDoc.definitions,
16196
16842
  ...IssueFragmentDoc.definitions,
16843
+ ...ActorBotFragmentDoc.definitions,
16197
16844
  ...PageInfoFragmentDoc.definitions,
16198
16845
  ],
16199
16846
  };
@@ -16937,6 +17584,7 @@
16937
17584
  },
16938
17585
  },
16939
17586
  ...TemplateConnectionFragmentDoc.definitions,
17587
+ ...TemplateFragmentDoc.definitions,
16940
17588
  ...PageInfoFragmentDoc.definitions,
16941
17589
  ],
16942
17590
  };
@@ -17482,6 +18130,7 @@
17482
18130
  },
17483
18131
  ...IssueConnectionFragmentDoc.definitions,
17484
18132
  ...IssueFragmentDoc.definitions,
18133
+ ...ActorBotFragmentDoc.definitions,
17485
18134
  ...PageInfoFragmentDoc.definitions,
17486
18135
  ],
17487
18136
  };
@@ -18751,12 +19400,36 @@
18751
19400
  kind: "OperationDefinition",
18752
19401
  operation: "query",
18753
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
+ ],
18754
19415
  selectionSet: {
18755
19416
  kind: "SelectionSet",
18756
19417
  selections: [
18757
19418
  {
18758
19419
  kind: "Field",
18759
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
+ ],
18760
19433
  selectionSet: {
18761
19434
  kind: "SelectionSet",
18762
19435
  selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "PushSubscriptionTestPayload" } }],
@@ -19546,6 +20219,7 @@
19546
20219
  ...IssueSearchPayloadFragmentDoc.definitions,
19547
20220
  ...ArchiveResponseFragmentDoc.definitions,
19548
20221
  ...IssueSearchResultFragmentDoc.definitions,
20222
+ ...ActorBotFragmentDoc.definitions,
19549
20223
  ...PageInfoFragmentDoc.definitions,
19550
20224
  ],
19551
20225
  };
@@ -20020,6 +20694,119 @@
20020
20694
  ...TeamFragmentDoc.definitions,
20021
20695
  ],
20022
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
+ };
20023
20810
  const Team_CyclesDocument = {
20024
20811
  kind: "Document",
20025
20812
  definitions: [
@@ -20259,6 +21046,7 @@
20259
21046
  },
20260
21047
  ...IssueConnectionFragmentDoc.definitions,
20261
21048
  ...IssueFragmentDoc.definitions,
21049
+ ...ActorBotFragmentDoc.definitions,
20262
21050
  ...PageInfoFragmentDoc.definitions,
20263
21051
  ],
20264
21052
  };
@@ -20974,6 +21762,7 @@
20974
21762
  },
20975
21763
  },
20976
21764
  ...TemplateConnectionFragmentDoc.definitions,
21765
+ ...TemplateFragmentDoc.definitions,
20977
21766
  ...PageInfoFragmentDoc.definitions,
20978
21767
  ],
20979
21768
  };
@@ -21572,6 +22361,7 @@
21572
22361
  },
21573
22362
  ...IssueConnectionFragmentDoc.definitions,
21574
22363
  ...IssueFragmentDoc.definitions,
22364
+ ...ActorBotFragmentDoc.definitions,
21575
22365
  ...PageInfoFragmentDoc.definitions,
21576
22366
  ],
21577
22367
  };
@@ -21693,6 +22483,7 @@
21693
22483
  },
21694
22484
  ...IssueConnectionFragmentDoc.definitions,
21695
22485
  ...IssueFragmentDoc.definitions,
22486
+ ...ActorBotFragmentDoc.definitions,
21696
22487
  ...PageInfoFragmentDoc.definitions,
21697
22488
  ],
21698
22489
  };
@@ -22192,6 +22983,7 @@
22192
22983
  },
22193
22984
  ...IssueConnectionFragmentDoc.definitions,
22194
22985
  ...IssueFragmentDoc.definitions,
22986
+ ...ActorBotFragmentDoc.definitions,
22195
22987
  ...PageInfoFragmentDoc.definitions,
22196
22988
  ],
22197
22989
  };
@@ -22301,6 +23093,7 @@
22301
23093
  },
22302
23094
  ...IssueConnectionFragmentDoc.definitions,
22303
23095
  ...IssueFragmentDoc.definitions,
23096
+ ...ActorBotFragmentDoc.definitions,
22304
23097
  ...PageInfoFragmentDoc.definitions,
22305
23098
  ],
22306
23099
  };
@@ -22796,6 +23589,7 @@
22796
23589
  },
22797
23590
  ...IssueConnectionFragmentDoc.definitions,
22798
23591
  ...IssueFragmentDoc.definitions,
23592
+ ...ActorBotFragmentDoc.definitions,
22799
23593
  ...PageInfoFragmentDoc.definitions,
22800
23594
  ],
22801
23595
  };
@@ -23313,6 +24107,84 @@
23313
24107
  ...FrontAttachmentPayloadFragmentDoc.definitions,
23314
24108
  ],
23315
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
+ };
23316
24188
  const AttachmentLinkGitHubPrDocument = {
23317
24189
  kind: "Document",
23318
24190
  definitions: [
@@ -23344,17 +24216,17 @@
23344
24216
  {
23345
24217
  kind: "VariableDefinition",
23346
24218
  variable: { kind: "Variable", name: { kind: "Name", value: "number" } },
23347
- type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "Float" } } },
24219
+ type: { kind: "NamedType", name: { kind: "Name", value: "Float" } },
23348
24220
  },
23349
24221
  {
23350
24222
  kind: "VariableDefinition",
23351
24223
  variable: { kind: "Variable", name: { kind: "Name", value: "owner" } },
23352
- type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "String" } } },
24224
+ type: { kind: "NamedType", name: { kind: "Name", value: "String" } },
23353
24225
  },
23354
24226
  {
23355
24227
  kind: "VariableDefinition",
23356
24228
  variable: { kind: "Variable", name: { kind: "Name", value: "repo" } },
23357
- type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "String" } } },
24229
+ type: { kind: "NamedType", name: { kind: "Name", value: "String" } },
23358
24230
  },
23359
24231
  {
23360
24232
  kind: "VariableDefinition",
@@ -24625,6 +25497,47 @@
24625
25497
  ...CyclePayloadFragmentDoc.definitions,
24626
25498
  ],
24627
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
+ };
24628
25541
  const UpdateCycleDocument = {
24629
25542
  kind: "Document",
24630
25543
  definitions: [
@@ -25216,6 +26129,138 @@
25216
26129
  ...UploadFileHeaderFragmentDoc.definitions,
25217
26130
  ],
25218
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
+ };
25219
26264
  const GoogleUserAccountAuthDocument = {
25220
26265
  kind: "Document",
25221
26266
  definitions: [
@@ -25699,44 +26744,6 @@
25699
26744
  ...IntegrationPayloadFragmentDoc.definitions,
25700
26745
  ],
25701
26746
  };
25702
- const IntegrationGithubSyncConnectDocument = {
25703
- kind: "Document",
25704
- definitions: [
25705
- {
25706
- kind: "OperationDefinition",
25707
- operation: "mutation",
25708
- name: { kind: "Name", value: "integrationGithubSyncConnect" },
25709
- variableDefinitions: [
25710
- {
25711
- kind: "VariableDefinition",
25712
- variable: { kind: "Variable", name: { kind: "Name", value: "installationId" } },
25713
- type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "String" } } },
25714
- },
25715
- ],
25716
- selectionSet: {
25717
- kind: "SelectionSet",
25718
- selections: [
25719
- {
25720
- kind: "Field",
25721
- name: { kind: "Name", value: "integrationGithubSyncConnect" },
25722
- arguments: [
25723
- {
25724
- kind: "Argument",
25725
- name: { kind: "Name", value: "installationId" },
25726
- value: { kind: "Variable", name: { kind: "Name", value: "installationId" } },
25727
- },
25728
- ],
25729
- selectionSet: {
25730
- kind: "SelectionSet",
25731
- selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "IntegrationPayload" } }],
25732
- },
25733
- },
25734
- ],
25735
- },
25736
- },
25737
- ...IntegrationPayloadFragmentDoc.definitions,
25738
- ],
25739
- };
25740
26747
  const IntegrationGitlabConnectDocument = {
25741
26748
  kind: "Document",
25742
26749
  definitions: [
@@ -25954,10 +26961,15 @@
25954
26961
  operation: "mutation",
25955
26962
  name: { kind: "Name", value: "integrationJiraPersonal" },
25956
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
+ },
25957
26969
  {
25958
26970
  kind: "VariableDefinition",
25959
26971
  variable: { kind: "Variable", name: { kind: "Name", value: "code" } },
25960
- type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "String" } } },
26972
+ type: { kind: "NamedType", name: { kind: "Name", value: "String" } },
25961
26973
  },
25962
26974
  ],
25963
26975
  selectionSet: {
@@ -25967,6 +26979,11 @@
25967
26979
  kind: "Field",
25968
26980
  name: { kind: "Name", value: "integrationJiraPersonal" },
25969
26981
  arguments: [
26982
+ {
26983
+ kind: "Argument",
26984
+ name: { kind: "Name", value: "accessToken" },
26985
+ value: { kind: "Variable", name: { kind: "Name", value: "accessToken" } },
26986
+ },
25970
26987
  {
25971
26988
  kind: "Argument",
25972
26989
  name: { kind: "Name", value: "code" },
@@ -26300,13 +27317,13 @@
26300
27317
  ],
26301
27318
  selectionSet: {
26302
27319
  kind: "SelectionSet",
26303
- selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "IntegrationPayload" } }],
27320
+ selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "SlackChannelConnectPayload" } }],
26304
27321
  },
26305
27322
  },
26306
27323
  ],
26307
27324
  },
26308
27325
  },
26309
- ...IntegrationPayloadFragmentDoc.definitions,
27326
+ ...SlackChannelConnectPayloadFragmentDoc.definitions,
26310
27327
  ],
26311
27328
  };
26312
27329
  const IntegrationSlackPersonalDocument = {
@@ -26416,13 +27433,13 @@
26416
27433
  ],
26417
27434
  selectionSet: {
26418
27435
  kind: "SelectionSet",
26419
- selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "IntegrationPayload" } }],
27436
+ selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "SlackChannelConnectPayload" } }],
26420
27437
  },
26421
27438
  },
26422
27439
  ],
26423
27440
  },
26424
27441
  },
26425
- ...IntegrationPayloadFragmentDoc.definitions,
27442
+ ...SlackChannelConnectPayloadFragmentDoc.definitions,
26426
27443
  ],
26427
27444
  };
26428
27445
  const IntegrationSlackProjectPostDocument = {
@@ -26484,13 +27501,13 @@
26484
27501
  ],
26485
27502
  selectionSet: {
26486
27503
  kind: "SelectionSet",
26487
- selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "IntegrationPayload" } }],
27504
+ selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "SlackChannelConnectPayload" } }],
26488
27505
  },
26489
27506
  },
26490
27507
  ],
26491
27508
  },
26492
27509
  },
26493
- ...IntegrationPayloadFragmentDoc.definitions,
27510
+ ...SlackChannelConnectPayloadFragmentDoc.definitions,
26494
27511
  ],
26495
27512
  };
26496
27513
  const CreateIntegrationTemplateDocument = {
@@ -26929,6 +27946,7 @@
26929
27946
  },
26930
27947
  ...IssueBatchPayloadFragmentDoc.definitions,
26931
27948
  ...IssueFragmentDoc.definitions,
27949
+ ...ActorBotFragmentDoc.definitions,
26932
27950
  ],
26933
27951
  };
26934
27952
  const CreateIssueDocument = {
@@ -29403,6 +30421,11 @@
29403
30421
  operation: "mutation",
29404
30422
  name: { kind: "Name", value: "createProject" },
29405
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
+ },
29406
30429
  {
29407
30430
  kind: "VariableDefinition",
29408
30431
  variable: { kind: "Variable", name: { kind: "Name", value: "input" } },
@@ -29419,6 +30442,11 @@
29419
30442
  kind: "Field",
29420
30443
  name: { kind: "Name", value: "projectCreate" },
29421
30444
  arguments: [
30445
+ {
30446
+ kind: "Argument",
30447
+ name: { kind: "Name", value: "connectSlackChannel" },
30448
+ value: { kind: "Variable", name: { kind: "Name", value: "connectSlackChannel" } },
30449
+ },
29422
30450
  {
29423
30451
  kind: "Argument",
29424
30452
  name: { kind: "Name", value: "input" },
@@ -30944,6 +31972,44 @@
30944
31972
  ...TeamMembershipPayloadFragmentDoc.definitions,
30945
31973
  ],
30946
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
+ };
30947
32013
  const UpdateTeamDocument = {
30948
32014
  kind: "Document",
30949
32015
  definitions: [
@@ -31335,82 +32401,6 @@
31335
32401
  ...UserSettingsFlagPayloadFragmentDoc.definitions,
31336
32402
  ],
31337
32403
  };
31338
- const UserGitHubConnectDocument = {
31339
- kind: "Document",
31340
- definitions: [
31341
- {
31342
- kind: "OperationDefinition",
31343
- operation: "mutation",
31344
- name: { kind: "Name", value: "userGitHubConnect" },
31345
- variableDefinitions: [
31346
- {
31347
- kind: "VariableDefinition",
31348
- variable: { kind: "Variable", name: { kind: "Name", value: "code" } },
31349
- type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "String" } } },
31350
- },
31351
- ],
31352
- selectionSet: {
31353
- kind: "SelectionSet",
31354
- selections: [
31355
- {
31356
- kind: "Field",
31357
- name: { kind: "Name", value: "userGitHubConnect" },
31358
- arguments: [
31359
- {
31360
- kind: "Argument",
31361
- name: { kind: "Name", value: "code" },
31362
- value: { kind: "Variable", name: { kind: "Name", value: "code" } },
31363
- },
31364
- ],
31365
- selectionSet: {
31366
- kind: "SelectionSet",
31367
- selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "UserPayload" } }],
31368
- },
31369
- },
31370
- ],
31371
- },
31372
- },
31373
- ...UserPayloadFragmentDoc.definitions,
31374
- ],
31375
- };
31376
- const UserJiraConnectDocument = {
31377
- kind: "Document",
31378
- definitions: [
31379
- {
31380
- kind: "OperationDefinition",
31381
- operation: "mutation",
31382
- name: { kind: "Name", value: "userJiraConnect" },
31383
- variableDefinitions: [
31384
- {
31385
- kind: "VariableDefinition",
31386
- variable: { kind: "Variable", name: { kind: "Name", value: "code" } },
31387
- type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "String" } } },
31388
- },
31389
- ],
31390
- selectionSet: {
31391
- kind: "SelectionSet",
31392
- selections: [
31393
- {
31394
- kind: "Field",
31395
- name: { kind: "Name", value: "userJiraConnect" },
31396
- arguments: [
31397
- {
31398
- kind: "Argument",
31399
- name: { kind: "Name", value: "code" },
31400
- value: { kind: "Variable", name: { kind: "Name", value: "code" } },
31401
- },
31402
- ],
31403
- selectionSet: {
31404
- kind: "SelectionSet",
31405
- selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "UserPayload" } }],
31406
- },
31407
- },
31408
- ],
31409
- },
31410
- },
31411
- ...UserPayloadFragmentDoc.definitions,
31412
- ],
31413
- };
31414
32404
  const UserPromoteAdminDocument = {
31415
32405
  kind: "Document",
31416
32406
  definitions: [
@@ -32138,19 +33128,24 @@
32138
33128
  __proto__: null,
32139
33129
  get AuthenticationSessionType () { return AuthenticationSessionType; },
32140
33130
  get ContextViewType () { return ContextViewType; },
33131
+ get DateResolutionType () { return DateResolutionType; },
32141
33132
  get Day () { return Day; },
33133
+ get GitAutomationStates () { return GitAutomationStates; },
32142
33134
  get IntegrationService () { return IntegrationService; },
32143
33135
  get IssueRelationType () { return IssueRelationType; },
32144
33136
  get OAuthClientApprovalStatus () { return OAuthClientApprovalStatus; },
32145
33137
  get OrganizationDomainAuthType () { return OrganizationDomainAuthType; },
32146
33138
  get OrganizationInviteStatus () { return OrganizationInviteStatus; },
32147
33139
  get PaginationOrderBy () { return PaginationOrderBy; },
33140
+ get ProjectTab () { return ProjectTab; },
32148
33141
  get ProjectUpdateHealthType () { return ProjectUpdateHealthType; },
32149
33142
  get ProjectUpdateReminderFrequency () { return ProjectUpdateReminderFrequency; },
32150
33143
  get PushSubscriptionType () { return PushSubscriptionType; },
32151
33144
  get ReleaseChannel () { return ReleaseChannel; },
32152
33145
  get SlaDayCountType () { return SlaDayCountType; },
33146
+ get SendStrategy () { return SendStrategy; },
32153
33147
  get SlaStatus () { return SlaStatus; },
33148
+ get SlackChannelType () { return SlackChannelType; },
32154
33149
  get TriageResponsibilityAction () { return TriageResponsibilityAction; },
32155
33150
  get UserContextViewType () { return UserContextViewType; },
32156
33151
  get UserFlagType () { return UserFlagType; },
@@ -32180,17 +33175,20 @@
32180
33175
  NotificationArchivePayloadFragmentDoc: NotificationArchivePayloadFragmentDoc,
32181
33176
  ProjectArchivePayloadFragmentDoc: ProjectArchivePayloadFragmentDoc,
32182
33177
  RoadmapArchivePayloadFragmentDoc: RoadmapArchivePayloadFragmentDoc,
33178
+ TeamArchivePayloadFragmentDoc: TeamArchivePayloadFragmentDoc,
32183
33179
  WorkflowStateArchivePayloadFragmentDoc: WorkflowStateArchivePayloadFragmentDoc,
32184
33180
  ArchivePayloadFragmentDoc: ArchivePayloadFragmentDoc,
32185
33181
  LabelNotificationSubscriptionFragmentDoc: LabelNotificationSubscriptionFragmentDoc,
32186
33182
  ProjectNotificationSubscriptionFragmentDoc: ProjectNotificationSubscriptionFragmentDoc,
32187
33183
  TeamNotificationSubscriptionFragmentDoc: TeamNotificationSubscriptionFragmentDoc,
32188
- TemplateFragmentDoc: TemplateFragmentDoc,
32189
33184
  UserAccountFragmentDoc: UserAccountFragmentDoc,
32190
33185
  UserNotificationSubscriptionFragmentDoc: UserNotificationSubscriptionFragmentDoc,
33186
+ EmailIntakeAddressFragmentDoc: EmailIntakeAddressFragmentDoc,
32191
33187
  PaidSubscriptionFragmentDoc: PaidSubscriptionFragmentDoc,
32192
33188
  OrganizationFragmentDoc: OrganizationFragmentDoc,
32193
- SyncResponseFragmentDoc: SyncResponseFragmentDoc,
33189
+ AuthOauthClientWithScopeFragmentDoc: AuthOauthClientWithScopeFragmentDoc,
33190
+ AuthOauthClientWithMembershipsFragmentDoc: AuthOauthClientWithMembershipsFragmentDoc,
33191
+ AuthenticationSessionResponseFragmentDoc: AuthenticationSessionResponseFragmentDoc,
32194
33192
  OrganizationDomainFragmentDoc: OrganizationDomainFragmentDoc,
32195
33193
  GithubRepoFragmentDoc: GithubRepoFragmentDoc,
32196
33194
  GithubOrgFragmentDoc: GithubOrgFragmentDoc,
@@ -32198,10 +33196,10 @@
32198
33196
  UserAuthorizedApplicationFragmentDoc: UserAuthorizedApplicationFragmentDoc,
32199
33197
  ApplicationFragmentDoc: ApplicationFragmentDoc,
32200
33198
  FrontSettingsFragmentDoc: FrontSettingsFragmentDoc,
32201
- GitHubSettingsFragmentDoc: GitHubSettingsFragmentDoc,
32202
33199
  TeamRepoMappingFragmentDoc: TeamRepoMappingFragmentDoc,
32203
- GitHubSyncRepoFragmentDoc: GitHubSyncRepoFragmentDoc,
32204
- GitHubSyncSettingsFragmentDoc: GitHubSyncSettingsFragmentDoc,
33200
+ GitHubRepoFragmentDoc: GitHubRepoFragmentDoc,
33201
+ GitHubSettingsFragmentDoc: GitHubSettingsFragmentDoc,
33202
+ GitHubPersonalSettingsFragmentDoc: GitHubPersonalSettingsFragmentDoc,
32205
33203
  GitLabSettingsFragmentDoc: GitLabSettingsFragmentDoc,
32206
33204
  GoogleSheetsSettingsFragmentDoc: GoogleSheetsSettingsFragmentDoc,
32207
33205
  IntercomSettingsFragmentDoc: IntercomSettingsFragmentDoc,
@@ -32235,14 +33233,19 @@
32235
33233
  AuditEntryFragmentDoc: AuditEntryFragmentDoc,
32236
33234
  AuditEntryConnectionFragmentDoc: AuditEntryConnectionFragmentDoc,
32237
33235
  AuditEntryTypeFragmentDoc: AuditEntryTypeFragmentDoc,
32238
- AuthApiKeyDeletePayloadFragmentDoc: AuthApiKeyDeletePayloadFragmentDoc,
32239
33236
  AuthApiKeyFragmentDoc: AuthApiKeyFragmentDoc,
32240
33237
  AuthApiKeyPayloadFragmentDoc: AuthApiKeyPayloadFragmentDoc,
32241
- AuthIntegrationFragmentDoc: AuthIntegrationFragmentDoc,
32242
33238
  AuthOrganizationFragmentDoc: AuthOrganizationFragmentDoc,
32243
33239
  AuthUserFragmentDoc: AuthUserFragmentDoc,
33240
+ AuthCreateOrJoinOrganizationResponseFragmentDoc: AuthCreateOrJoinOrganizationResponseFragmentDoc,
33241
+ AuthIntegrationFragmentDoc: AuthIntegrationFragmentDoc,
33242
+ AuthOauthClientFragmentDoc: AuthOauthClientFragmentDoc,
33243
+ OauthTokenFragmentDoc: OauthTokenFragmentDoc,
33244
+ AuthOauthClientWithTokensFragmentDoc: AuthOauthClientWithTokensFragmentDoc,
33245
+ AuthOrganizationDomainFragmentDoc: AuthOrganizationDomainFragmentDoc,
32244
33246
  AuthResolverResponseFragmentDoc: AuthResolverResponseFragmentDoc,
32245
- AuthenticationSessionResponseFragmentDoc: AuthenticationSessionResponseFragmentDoc,
33247
+ AuthSuccessPayloadFragmentDoc: AuthSuccessPayloadFragmentDoc,
33248
+ AuthorizedApplicationBaseFragmentDoc: AuthorizedApplicationBaseFragmentDoc,
32246
33249
  CommentFragmentDoc: CommentFragmentDoc,
32247
33250
  CommentConnectionFragmentDoc: CommentConnectionFragmentDoc,
32248
33251
  CommentPayloadFragmentDoc: CommentPayloadFragmentDoc,
@@ -32277,6 +33280,9 @@
32277
33280
  FavoriteConnectionFragmentDoc: FavoriteConnectionFragmentDoc,
32278
33281
  FavoritePayloadFragmentDoc: FavoritePayloadFragmentDoc,
32279
33282
  FrontAttachmentPayloadFragmentDoc: FrontAttachmentPayloadFragmentDoc,
33283
+ GitAutomationStateFragmentDoc: GitAutomationStateFragmentDoc,
33284
+ GitAutomationStateConnectionFragmentDoc: GitAutomationStateConnectionFragmentDoc,
33285
+ GitAutomationStatePayloadFragmentDoc: GitAutomationStatePayloadFragmentDoc,
32280
33286
  GitHubCommitIntegrationPayloadFragmentDoc: GitHubCommitIntegrationPayloadFragmentDoc,
32281
33287
  ImageUploadFromUrlPayloadFragmentDoc: ImageUploadFromUrlPayloadFragmentDoc,
32282
33288
  IntegrationFragmentDoc: IntegrationFragmentDoc,
@@ -32366,6 +33372,7 @@
32366
33372
  RoadmapToProjectConnectionFragmentDoc: RoadmapToProjectConnectionFragmentDoc,
32367
33373
  RoadmapToProjectPayloadFragmentDoc: RoadmapToProjectPayloadFragmentDoc,
32368
33374
  SamlConfigurationFragmentDoc: SamlConfigurationFragmentDoc,
33375
+ SlackChannelConnectPayloadFragmentDoc: SlackChannelConnectPayloadFragmentDoc,
32369
33376
  SsoUrlFromEmailResponseFragmentDoc: SsoUrlFromEmailResponseFragmentDoc,
32370
33377
  SynchronizedPayloadFragmentDoc: SynchronizedPayloadFragmentDoc,
32371
33378
  TeamFragmentDoc: TeamFragmentDoc,
@@ -32374,6 +33381,7 @@
32374
33381
  TeamMembershipConnectionFragmentDoc: TeamMembershipConnectionFragmentDoc,
32375
33382
  TeamMembershipPayloadFragmentDoc: TeamMembershipPayloadFragmentDoc,
32376
33383
  TeamPayloadFragmentDoc: TeamPayloadFragmentDoc,
33384
+ TemplateFragmentDoc: TemplateFragmentDoc,
32377
33385
  TemplateConnectionFragmentDoc: TemplateConnectionFragmentDoc,
32378
33386
  TemplatePayloadFragmentDoc: TemplatePayloadFragmentDoc,
32379
33387
  TriageResponsibilityFragmentDoc: TriageResponsibilityFragmentDoc,
@@ -32407,6 +33415,7 @@
32407
33415
  AttachmentDocument: AttachmentDocument,
32408
33416
  AttachmentIssueDocument: AttachmentIssueDocument,
32409
33417
  AttachmentIssue_AttachmentsDocument: AttachmentIssue_AttachmentsDocument,
33418
+ AttachmentIssue_BotActorDocument: AttachmentIssue_BotActorDocument,
32410
33419
  AttachmentIssue_ChildrenDocument: AttachmentIssue_ChildrenDocument,
32411
33420
  AttachmentIssue_CommentsDocument: AttachmentIssue_CommentsDocument,
32412
33421
  AttachmentIssue_HistoryDocument: AttachmentIssue_HistoryDocument,
@@ -32447,6 +33456,7 @@
32447
33456
  IntegrationsSettingsDocument: IntegrationsSettingsDocument,
32448
33457
  IssueDocument: IssueDocument,
32449
33458
  Issue_AttachmentsDocument: Issue_AttachmentsDocument,
33459
+ Issue_BotActorDocument: Issue_BotActorDocument,
32450
33460
  Issue_ChildrenDocument: Issue_ChildrenDocument,
32451
33461
  Issue_CommentsDocument: Issue_CommentsDocument,
32452
33462
  Issue_HistoryDocument: Issue_HistoryDocument,
@@ -32468,6 +33478,7 @@
32468
33478
  IssueSearchDocument: IssueSearchDocument,
32469
33479
  IssueVcsBranchSearchDocument: IssueVcsBranchSearchDocument,
32470
33480
  IssueVcsBranchSearch_AttachmentsDocument: IssueVcsBranchSearch_AttachmentsDocument,
33481
+ IssueVcsBranchSearch_BotActorDocument: IssueVcsBranchSearch_BotActorDocument,
32471
33482
  IssueVcsBranchSearch_ChildrenDocument: IssueVcsBranchSearch_ChildrenDocument,
32472
33483
  IssueVcsBranchSearch_CommentsDocument: IssueVcsBranchSearch_CommentsDocument,
32473
33484
  IssueVcsBranchSearch_HistoryDocument: IssueVcsBranchSearch_HistoryDocument,
@@ -32523,6 +33534,7 @@
32523
33534
  SearchProjects_ArchivePayloadDocument: SearchProjects_ArchivePayloadDocument,
32524
33535
  SsoUrlFromEmailDocument: SsoUrlFromEmailDocument,
32525
33536
  TeamDocument: TeamDocument,
33537
+ Team_AutomationStatesDocument: Team_AutomationStatesDocument,
32526
33538
  Team_CyclesDocument: Team_CyclesDocument,
32527
33539
  Team_IssuesDocument: Team_IssuesDocument,
32528
33540
  Team_LabelsDocument: Team_LabelsDocument,
@@ -32563,6 +33575,7 @@
32563
33575
  DeleteAttachmentDocument: DeleteAttachmentDocument,
32564
33576
  AttachmentLinkDiscordDocument: AttachmentLinkDiscordDocument,
32565
33577
  AttachmentLinkFrontDocument: AttachmentLinkFrontDocument,
33578
+ AttachmentLinkGitHubIssueDocument: AttachmentLinkGitHubIssueDocument,
32566
33579
  AttachmentLinkGitHubPrDocument: AttachmentLinkGitHubPrDocument,
32567
33580
  AttachmentLinkGitLabMrDocument: AttachmentLinkGitLabMrDocument,
32568
33581
  AttachmentLinkIntercomDocument: AttachmentLinkIntercomDocument,
@@ -32586,6 +33599,7 @@
32586
33599
  UpdateCustomViewDocument: UpdateCustomViewDocument,
32587
33600
  ArchiveCycleDocument: ArchiveCycleDocument,
32588
33601
  CreateCycleDocument: CreateCycleDocument,
33602
+ CycleShiftAllDocument: CycleShiftAllDocument,
32589
33603
  UpdateCycleDocument: UpdateCycleDocument,
32590
33604
  CreateDocumentDocument: CreateDocumentDocument,
32591
33605
  DeleteDocumentDocument: DeleteDocumentDocument,
@@ -32599,6 +33613,9 @@
32599
33613
  DeleteFavoriteDocument: DeleteFavoriteDocument,
32600
33614
  UpdateFavoriteDocument: UpdateFavoriteDocument,
32601
33615
  FileUploadDocument: FileUploadDocument,
33616
+ CreateGitAutomationStateDocument: CreateGitAutomationStateDocument,
33617
+ DeleteGitAutomationStateDocument: DeleteGitAutomationStateDocument,
33618
+ UpdateGitAutomationStateDocument: UpdateGitAutomationStateDocument,
32602
33619
  GoogleUserAccountAuthDocument: GoogleUserAccountAuthDocument,
32603
33620
  ImageUploadFromUrlDocument: ImageUploadFromUrlDocument,
32604
33621
  ImportFileUploadDocument: ImportFileUploadDocument,
@@ -32610,7 +33627,6 @@
32610
33627
  IntegrationGitHubPersonalDocument: IntegrationGitHubPersonalDocument,
32611
33628
  CreateIntegrationGithubCommitDocument: CreateIntegrationGithubCommitDocument,
32612
33629
  IntegrationGithubConnectDocument: IntegrationGithubConnectDocument,
32613
- IntegrationGithubSyncConnectDocument: IntegrationGithubSyncConnectDocument,
32614
33630
  IntegrationGitlabConnectDocument: IntegrationGitlabConnectDocument,
32615
33631
  IntegrationGoogleSheetsDocument: IntegrationGoogleSheetsDocument,
32616
33632
  IntegrationIntercomDocument: IntegrationIntercomDocument,
@@ -32722,6 +33738,7 @@
32722
33738
  CreateTeamMembershipDocument: CreateTeamMembershipDocument,
32723
33739
  DeleteTeamMembershipDocument: DeleteTeamMembershipDocument,
32724
33740
  UpdateTeamMembershipDocument: UpdateTeamMembershipDocument,
33741
+ UnarchiveTeamDocument: UnarchiveTeamDocument,
32725
33742
  UpdateTeamDocument: UpdateTeamDocument,
32726
33743
  CreateTemplateDocument: CreateTemplateDocument,
32727
33744
  DeleteTemplateDocument: DeleteTemplateDocument,
@@ -32731,8 +33748,6 @@
32731
33748
  UserDiscordConnectDocument: UserDiscordConnectDocument,
32732
33749
  UserExternalUserDisconnectDocument: UserExternalUserDisconnectDocument,
32733
33750
  UpdateUserFlagDocument: UpdateUserFlagDocument,
32734
- UserGitHubConnectDocument: UserGitHubConnectDocument,
32735
- UserJiraConnectDocument: UserJiraConnectDocument,
32736
33751
  UserPromoteAdminDocument: UserPromoteAdminDocument,
32737
33752
  UserPromoteMemberDocument: UserPromoteMemberDocument,
32738
33753
  UserSettingsFlagIncrementDocument: UserSettingsFlagIncrementDocument,
@@ -33024,20 +34039,20 @@
33024
34039
  */
33025
34040
  class Attachment extends Request {
33026
34041
  constructor(request, data) {
33027
- var _a, _b, _c, _d, _e, _f, _g, _h;
34042
+ var _a, _b, _c, _d, _e, _f, _g;
33028
34043
  super(request);
33029
34044
  this.archivedAt = (_a = parseDate(data.archivedAt)) !== null && _a !== void 0 ? _a : undefined;
33030
34045
  this.createdAt = (_b = parseDate(data.createdAt)) !== null && _b !== void 0 ? _b : new Date();
33031
34046
  this.groupBySource = data.groupBySource;
33032
34047
  this.id = data.id;
33033
- this.metadata = (_c = parseJson(data.metadata)) !== null && _c !== void 0 ? _c : {};
33034
- this.source = (_d = parseJson(data.source)) !== null && _d !== void 0 ? _d : undefined;
33035
- this.sourceType = (_e = data.sourceType) !== null && _e !== void 0 ? _e : undefined;
33036
- 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;
33037
34052
  this.title = data.title;
33038
- 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();
33039
34054
  this.url = data.url;
33040
- this._creator = (_h = data.creator) !== null && _h !== void 0 ? _h : undefined;
34055
+ this._creator = (_g = data.creator) !== null && _g !== void 0 ? _g : undefined;
33041
34056
  this._issue = data.issue;
33042
34057
  }
33043
34058
  /** The creator of the attachment. */
@@ -33124,9 +34139,8 @@
33124
34139
  */
33125
34140
  class AttachmentSourcesPayload extends Request {
33126
34141
  constructor(request, data) {
33127
- var _a;
33128
34142
  super(request);
33129
- this.sources = (_a = parseJson(data.sources)) !== null && _a !== void 0 ? _a : {};
34143
+ this.sources = data.sources;
33130
34144
  }
33131
34145
  }
33132
34146
  /**
@@ -33145,8 +34159,8 @@
33145
34159
  this.createdAt = (_d = parseDate(data.createdAt)) !== null && _d !== void 0 ? _d : new Date();
33146
34160
  this.id = data.id;
33147
34161
  this.ip = (_e = data.ip) !== null && _e !== void 0 ? _e : undefined;
33148
- this.metadata = (_f = parseJson(data.metadata)) !== null && _f !== void 0 ? _f : undefined;
33149
- 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;
33150
34164
  this.type = data.type;
33151
34165
  this.updatedAt = (_h = parseDate(data.updatedAt)) !== null && _h !== void 0 ? _h : new Date();
33152
34166
  this._actor = (_j = data.actor) !== null && _j !== void 0 ? _j : undefined;
@@ -33199,28 +34213,33 @@
33199
34213
  }
33200
34214
  }
33201
34215
  /**
33202
- * AuthApiKeyDeletePayload model
34216
+ * AuthApiKeyPayload model
33203
34217
  *
33204
34218
  * @param request - function to call the graphql client
33205
- * @param data - L.AuthApiKeyDeletePayloadFragment response data
34219
+ * @param data - L.AuthApiKeyPayloadFragment response data
33206
34220
  */
33207
- class AuthApiKeyDeletePayload extends Request {
34221
+ class AuthApiKeyPayload extends Request {
33208
34222
  constructor(request, data) {
33209
34223
  super(request);
33210
34224
  this.success = data.success;
34225
+ this.authApiKey = new AuthApiKey(request, data.authApiKey);
33211
34226
  }
33212
34227
  }
33213
34228
  /**
33214
- * AuthApiKeyPayload model
34229
+ * AuthCreateOrJoinOrganizationResponse model
33215
34230
  *
33216
34231
  * @param request - function to call the graphql client
33217
- * @param data - L.AuthApiKeyPayloadFragment response data
34232
+ * @param data - L.AuthCreateOrJoinOrganizationResponseFragment response data
33218
34233
  */
33219
- class AuthApiKeyPayload extends Request {
34234
+ class AuthCreateOrJoinOrganizationResponse extends Request {
33220
34235
  constructor(request, data) {
34236
+ var _a;
33221
34237
  super(request);
33222
- this.success = data.success;
33223
- 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);
33224
34243
  }
33225
34244
  }
33226
34245
  /**
@@ -33235,6 +34254,82 @@
33235
34254
  this.id = data.id;
33236
34255
  }
33237
34256
  }
34257
+ /**
34258
+ * AuthOauthClient model
34259
+ *
34260
+ * @param request - function to call the graphql client
34261
+ * @param data - L.AuthOauthClientFragment response data
34262
+ */
34263
+ class AuthOauthClient extends Request {
34264
+ constructor(request, data) {
34265
+ var _a, _b, _c, _d;
34266
+ super(request);
34267
+ this.archivedAt = (_a = parseDate(data.archivedAt)) !== null && _a !== void 0 ? _a : undefined;
34268
+ this.clientId = data.clientId;
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;
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;
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));
34331
+ }
34332
+ }
33238
34333
  /**
33239
34334
  * An organization. Organizations are root-level objects that contain users and teams.
33240
34335
  *
@@ -33252,10 +34347,23 @@
33252
34347
  this.name = data.name;
33253
34348
  this.previousUrlKeys = data.previousUrlKeys;
33254
34349
  this.samlEnabled = data.samlEnabled;
34350
+ this.scimEnabled = data.scimEnabled;
33255
34351
  this.urlKey = data.urlKey;
33256
34352
  this.userCount = data.userCount;
33257
34353
  }
33258
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
+ }
33259
34367
  /**
33260
34368
  * AuthResolverResponse model
33261
34369
  *
@@ -33280,6 +34388,18 @@
33280
34388
  this.users = data.users.map(node => new AuthUser(request, node));
33281
34389
  }
33282
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
+ }
33283
34403
  /**
33284
34404
  * A user that has access to the the resources of an organization.
33285
34405
  *
@@ -33290,6 +34410,7 @@
33290
34410
  constructor(request, data) {
33291
34411
  var _a;
33292
34412
  super(request);
34413
+ this.active = data.active;
33293
34414
  this.avatarUrl = (_a = data.avatarUrl) !== null && _a !== void 0 ? _a : undefined;
33294
34415
  this.displayName = data.displayName;
33295
34416
  this.email = data.email;
@@ -33326,7 +34447,7 @@
33326
34447
  }
33327
34448
  }
33328
34449
  /**
33329
- * AuthenticationSessionResponse model
34450
+ * Authentication session information
33330
34451
  *
33331
34452
  * @param request - function to call the graphql client
33332
34453
  * @param data - L.AuthenticationSessionResponseFragment response data
@@ -33353,6 +34474,23 @@
33353
34474
  this.userAgent = (_m = data.userAgent) !== null && _m !== void 0 ? _m : undefined;
33354
34475
  }
33355
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
+ }
33356
34494
  /**
33357
34495
  * A comment associated with an issue.
33358
34496
  *
@@ -33361,34 +34499,41 @@
33361
34499
  */
33362
34500
  class Comment extends Request {
33363
34501
  constructor(request, data) {
33364
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
34502
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
33365
34503
  super(request);
33366
34504
  this.archivedAt = (_a = parseDate(data.archivedAt)) !== null && _a !== void 0 ? _a : undefined;
33367
34505
  this.body = data.body;
33368
34506
  this.createdAt = (_b = parseDate(data.createdAt)) !== null && _b !== void 0 ? _b : new Date();
33369
34507
  this.editedAt = (_c = parseDate(data.editedAt)) !== null && _c !== void 0 ? _c : undefined;
33370
34508
  this.id = data.id;
33371
- this.reactionData = (_d = parseJson(data.reactionData)) !== null && _d !== void 0 ? _d : {};
33372
- this.resolvedAt = (_e = parseDate(data.resolvedAt)) !== null && _e !== void 0 ? _e : undefined;
33373
- 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();
33374
34512
  this.url = data.url;
33375
34513
  this.botActor = data.botActor ? new ActorBot(request, data.botActor) : undefined;
33376
34514
  this.documentContent = data.documentContent ? new DocumentContent(request, data.documentContent) : undefined;
33377
- this._issue = data.issue;
34515
+ this._issue = (_f = data.issue) !== null && _f !== void 0 ? _f : undefined;
33378
34516
  this._parent = (_g = data.parent) !== null && _g !== void 0 ? _g : undefined;
33379
- this._resolvingComment = (_h = data.resolvingComment) !== null && _h !== void 0 ? _h : undefined;
33380
- this._resolvingUser = (_j = data.resolvingUser) !== null && _j !== void 0 ? _j : undefined;
33381
- 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;
33382
34521
  }
33383
34522
  /** The issue that the comment is associated with. */
33384
34523
  get issue() {
33385
- 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;
33386
34526
  }
33387
34527
  /** The parent comment under which the current comment is nested. */
33388
34528
  get parent() {
33389
34529
  var _a, _b;
33390
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;
33391
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
+ }
33392
34537
  /** The comment that resolved the thread. */
33393
34538
  get resolvingComment() {
33394
34539
  var _a, _b;
@@ -33459,17 +34604,17 @@
33459
34604
  */
33460
34605
  class Company extends Request {
33461
34606
  constructor(request, data) {
33462
- var _a, _b, _c, _d, _e, _f;
34607
+ var _a, _b, _c, _d, _e;
33463
34608
  super(request);
33464
34609
  this.archivedAt = (_a = parseDate(data.archivedAt)) !== null && _a !== void 0 ? _a : undefined;
33465
- this.companyProperties = (_b = parseJson(data.companyProperties)) !== null && _b !== void 0 ? _b : {};
33466
- 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();
33467
34612
  this.externalId = data.externalId;
33468
34613
  this.id = data.id;
33469
- this.logoUrl = (_d = data.logoUrl) !== null && _d !== void 0 ? _d : undefined;
34614
+ this.logoUrl = (_c = data.logoUrl) !== null && _c !== void 0 ? _c : undefined;
33470
34615
  this.name = data.name;
33471
- this.updatedAt = (_e = parseDate(data.updatedAt)) !== null && _e !== void 0 ? _e : new Date();
33472
- 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;
33473
34618
  this._creator = data.creator;
33474
34619
  }
33475
34620
  /** The user who added the company. */
@@ -33538,23 +34683,23 @@
33538
34683
  */
33539
34684
  class CustomView extends Request {
33540
34685
  constructor(request, data) {
33541
- var _a, _b, _c, _d, _e, _f, _g, _h, _j;
34686
+ var _a, _b, _c, _d, _e, _f, _g;
33542
34687
  super(request);
33543
34688
  this.archivedAt = (_a = parseDate(data.archivedAt)) !== null && _a !== void 0 ? _a : undefined;
33544
34689
  this.color = (_b = data.color) !== null && _b !== void 0 ? _b : undefined;
33545
34690
  this.createdAt = (_c = parseDate(data.createdAt)) !== null && _c !== void 0 ? _c : new Date();
33546
34691
  this.description = (_d = data.description) !== null && _d !== void 0 ? _d : undefined;
33547
- this.filterData = (_e = parseJson(data.filterData)) !== null && _e !== void 0 ? _e : {};
33548
- this.filters = (_f = parseJson(data.filters)) !== null && _f !== void 0 ? _f : {};
33549
- 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;
33550
34695
  this.id = data.id;
33551
34696
  this.modelName = data.modelName;
33552
34697
  this.name = data.name;
33553
34698
  this.shared = data.shared;
33554
- 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();
33555
34700
  this._creator = data.creator;
33556
34701
  this._owner = data.owner;
33557
- this._team = (_j = data.team) !== null && _j !== void 0 ? _j : undefined;
34702
+ this._team = (_g = data.team) !== null && _g !== void 0 ? _g : undefined;
33558
34703
  }
33559
34704
  /** The user who created the custom view. */
33560
34705
  get creator() {
@@ -33897,6 +35042,7 @@
33897
35042
  this.icon = (_f = data.icon) !== null && _f !== void 0 ? _f : undefined;
33898
35043
  this.id = data.id;
33899
35044
  this.slugId = data.slugId;
35045
+ this.sortOrder = data.sortOrder;
33900
35046
  this.title = data.title;
33901
35047
  this.updatedAt = (_g = parseDate(data.updatedAt)) !== null && _g !== void 0 ? _g : new Date();
33902
35048
  this._creator = data.creator;
@@ -34074,7 +35220,7 @@
34074
35220
  */
34075
35221
  class DocumentSearchResult extends Request {
34076
35222
  constructor(request, data) {
34077
- var _a, _b, _c, _d, _e, _f, _g, _h, _j;
35223
+ var _a, _b, _c, _d, _e, _f, _g, _h;
34078
35224
  super(request);
34079
35225
  this.archivedAt = (_a = parseDate(data.archivedAt)) !== null && _a !== void 0 ? _a : undefined;
34080
35226
  this.color = (_b = data.color) !== null && _b !== void 0 ? _b : undefined;
@@ -34083,12 +35229,13 @@
34083
35229
  this.createdAt = (_e = parseDate(data.createdAt)) !== null && _e !== void 0 ? _e : new Date();
34084
35230
  this.icon = (_f = data.icon) !== null && _f !== void 0 ? _f : undefined;
34085
35231
  this.id = data.id;
34086
- this.metadata = (_g = parseJson(data.metadata)) !== null && _g !== void 0 ? _g : {};
35232
+ this.metadata = data.metadata;
34087
35233
  this.slugId = data.slugId;
35234
+ this.sortOrder = data.sortOrder;
34088
35235
  this.title = data.title;
34089
- 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();
34090
35237
  this._creator = data.creator;
34091
- this._lastAppliedTemplate = (_j = data.lastAppliedTemplate) !== null && _j !== void 0 ? _j : undefined;
35238
+ this._lastAppliedTemplate = (_h = data.lastAppliedTemplate) !== null && _h !== void 0 ? _h : undefined;
34092
35239
  this._project = data.project;
34093
35240
  this._updatedBy = data.updatedBy;
34094
35241
  }
@@ -34124,6 +35271,35 @@
34124
35271
  super(request, fetch, data.nodes.map(node => new DocumentSearchResult(request, node)), new PageInfo(request, data.pageInfo));
34125
35272
  }
34126
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
+ }
34127
35303
  /**
34128
35304
  * EmailUnsubscribePayload model
34129
35305
  *
@@ -34398,6 +35574,72 @@
34398
35574
  this.sendNoteOnStatusChange = (_e = data.sendNoteOnStatusChange) !== null && _e !== void 0 ? _e : undefined;
34399
35575
  }
34400
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
+ }
34401
35643
  /**
34402
35644
  * GitHubCommitIntegrationPayload model
34403
35645
  *
@@ -34420,27 +35662,24 @@
34420
35662
  }
34421
35663
  }
34422
35664
  /**
34423
- * Metadata and settings for a GitHub integration.
35665
+ * Metadata and settings for a GitHub Personal integration.
34424
35666
  *
34425
35667
  * @param request - function to call the graphql client
34426
- * @param data - L.GitHubSettingsFragment response data
35668
+ * @param data - L.GitHubPersonalSettingsFragment response data
34427
35669
  */
34428
- class GitHubSettings extends Request {
35670
+ class GitHubPersonalSettings extends Request {
34429
35671
  constructor(request, data) {
34430
- var _a;
34431
35672
  super(request);
34432
- this.orgAvatarUrl = data.orgAvatarUrl;
34433
- this.orgLogin = data.orgLogin;
34434
- this.repositories = (_a = data.repositories) !== null && _a !== void 0 ? _a : undefined;
35673
+ this.login = data.login;
34435
35674
  }
34436
35675
  }
34437
35676
  /**
34438
35677
  * GitHub repos available to sync.
34439
35678
  *
34440
35679
  * @param request - function to call the graphql client
34441
- * @param data - L.GitHubSyncRepoFragment response data
35680
+ * @param data - L.GitHubRepoFragment response data
34442
35681
  */
34443
- class GitHubSyncRepo extends Request {
35682
+ class GitHubRepo extends Request {
34444
35683
  constructor(request, data) {
34445
35684
  super(request);
34446
35685
  this.fullName = data.fullName;
@@ -34448,16 +35687,20 @@
34448
35687
  }
34449
35688
  }
34450
35689
  /**
34451
- * Metadata and settings for a GitHub Sync integration.
35690
+ * Metadata and settings for a GitHub integration.
34452
35691
  *
34453
35692
  * @param request - function to call the graphql client
34454
- * @param data - L.GitHubSyncSettingsFragment response data
35693
+ * @param data - L.GitHubSettingsFragment response data
34455
35694
  */
34456
- class GitHubSyncSettings extends Request {
35695
+ class GitHubSettings extends Request {
34457
35696
  constructor(request, data) {
34458
35697
  super(request);
34459
- this.repoMapping = data.repoMapping ? data.repoMapping.map(node => new TeamRepoMapping(request, node)) : undefined;
34460
- 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;
34461
35704
  }
34462
35705
  }
34463
35706
  /**
@@ -34641,7 +35884,7 @@
34641
35884
  super(request);
34642
35885
  this.front = data.front ? new FrontSettings(request, data.front) : undefined;
34643
35886
  this.gitHub = data.gitHub ? new GitHubSettings(request, data.gitHub) : undefined;
34644
- this.gitHubSync = data.gitHubSync ? new GitHubSyncSettings(request, data.gitHubSync) : undefined;
35887
+ this.gitHubPersonal = data.gitHubPersonal ? new GitHubPersonalSettings(request, data.gitHubPersonal) : undefined;
34645
35888
  this.gitLab = data.gitLab ? new GitLabSettings(request, data.gitLab) : undefined;
34646
35889
  this.googleSheets = data.googleSheets ? new GoogleSheetsSettings(request, data.googleSheets) : undefined;
34647
35890
  this.intercom = data.intercom ? new IntercomSettings(request, data.intercom) : undefined;
@@ -34842,6 +36085,7 @@
34842
36085
  this.estimate = (_j = data.estimate) !== null && _j !== void 0 ? _j : undefined;
34843
36086
  this.id = data.id;
34844
36087
  this.identifier = data.identifier;
36088
+ this.labelIds = data.labelIds;
34845
36089
  this.number = data.number;
34846
36090
  this.previousIdentifiers = data.previousIdentifiers;
34847
36091
  this.priority = data.priority;
@@ -34856,6 +36100,7 @@
34856
36100
  this.triagedAt = (_q = parseDate(data.triagedAt)) !== null && _q !== void 0 ? _q : undefined;
34857
36101
  this.updatedAt = (_r = parseDate(data.updatedAt)) !== null && _r !== void 0 ? _r : new Date();
34858
36102
  this.url = data.url;
36103
+ this.botActor = data.botActor ? new ActorBot(request, data.botActor) : undefined;
34859
36104
  this._assignee = (_s = data.assignee) !== null && _s !== void 0 ? _s : undefined;
34860
36105
  this._creator = (_t = data.creator) !== null && _t !== void 0 ? _t : undefined;
34861
36106
  this._cycle = (_u = data.cycle) !== null && _u !== void 0 ? _u : undefined;
@@ -35026,7 +36271,7 @@
35026
36271
  constructor(request, data) {
35027
36272
  var _a;
35028
36273
  super(request);
35029
- this.filter = (_a = parseJson(data.filter)) !== null && _a !== void 0 ? _a : undefined;
36274
+ this.filter = (_a = data.filter) !== null && _a !== void 0 ? _a : undefined;
35030
36275
  }
35031
36276
  }
35032
36277
  /**
@@ -35206,9 +36451,9 @@
35206
36451
  this.creatorId = data.creatorId;
35207
36452
  this.csvFileUrl = (_c = data.csvFileUrl) !== null && _c !== void 0 ? _c : undefined;
35208
36453
  this.error = (_d = data.error) !== null && _d !== void 0 ? _d : undefined;
35209
- this.errorMetadata = (_e = parseJson(data.errorMetadata)) !== null && _e !== void 0 ? _e : undefined;
36454
+ this.errorMetadata = (_e = data.errorMetadata) !== null && _e !== void 0 ? _e : undefined;
35210
36455
  this.id = data.id;
35211
- this.mapping = (_f = parseJson(data.mapping)) !== null && _f !== void 0 ? _f : undefined;
36456
+ this.mapping = (_f = data.mapping) !== null && _f !== void 0 ? _f : undefined;
35212
36457
  this.progress = (_g = data.progress) !== null && _g !== void 0 ? _g : undefined;
35213
36458
  this.service = data.service;
35214
36459
  this.status = data.status;
@@ -35546,7 +36791,7 @@
35546
36791
  */
35547
36792
  class IssueSearchResult extends Request {
35548
36793
  constructor(request, data) {
35549
- 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;
35550
36795
  super(request);
35551
36796
  this.archivedAt = (_a = parseDate(data.archivedAt)) !== null && _a !== void 0 ? _a : undefined;
35552
36797
  this.autoArchivedAt = (_b = parseDate(data.autoArchivedAt)) !== null && _b !== void 0 ? _b : undefined;
@@ -35562,29 +36807,31 @@
35562
36807
  this.estimate = (_j = data.estimate) !== null && _j !== void 0 ? _j : undefined;
35563
36808
  this.id = data.id;
35564
36809
  this.identifier = data.identifier;
35565
- this.metadata = (_k = parseJson(data.metadata)) !== null && _k !== void 0 ? _k : {};
36810
+ this.labelIds = data.labelIds;
36811
+ this.metadata = data.metadata;
35566
36812
  this.number = data.number;
35567
36813
  this.previousIdentifiers = data.previousIdentifiers;
35568
36814
  this.priority = data.priority;
35569
36815
  this.priorityLabel = data.priorityLabel;
35570
- 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;
35571
36817
  this.sortOrder = data.sortOrder;
35572
- this.startedAt = (_m = parseDate(data.startedAt)) !== null && _m !== void 0 ? _m : undefined;
35573
- this.startedTriageAt = (_o = parseDate(data.startedTriageAt)) !== null && _o !== void 0 ? _o : undefined;
35574
- 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;
35575
36821
  this.title = data.title;
35576
- this.trashed = (_q = data.trashed) !== null && _q !== void 0 ? _q : undefined;
35577
- this.triagedAt = (_r = parseDate(data.triagedAt)) !== null && _r !== void 0 ? _r : undefined;
35578
- 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();
35579
36825
  this.url = data.url;
35580
- this._assignee = (_t = data.assignee) !== null && _t !== void 0 ? _t : undefined;
35581
- this._creator = (_u = data.creator) !== null && _u !== void 0 ? _u : undefined;
35582
- this._cycle = (_v = data.cycle) !== null && _v !== void 0 ? _v : undefined;
35583
- this._favorite = (_w = data.favorite) !== null && _w !== void 0 ? _w : undefined;
35584
- this._lastAppliedTemplate = (_x = data.lastAppliedTemplate) !== null && _x !== void 0 ? _x : undefined;
35585
- this._parent = (_y = data.parent) !== null && _y !== void 0 ? _y : undefined;
35586
- this._project = (_z = data.project) !== null && _z !== void 0 ? _z : undefined;
35587
- 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;
35588
36835
  this._state = data.state;
35589
36836
  this._team = data.team;
35590
36837
  }
@@ -35659,7 +36906,10 @@
35659
36906
  */
35660
36907
  class JiraLinearMapping extends Request {
35661
36908
  constructor(request, data) {
36909
+ var _a, _b;
35662
36910
  super(request);
36911
+ this.bidirectional = (_a = data.bidirectional) !== null && _a !== void 0 ? _a : undefined;
36912
+ this.default = (_b = data.default) !== null && _b !== void 0 ? _b : undefined;
35663
36913
  this.jiraProjectId = data.jiraProjectId;
35664
36914
  this.linearTeamId = data.linearTeamId;
35665
36915
  }
@@ -35699,7 +36949,9 @@
35699
36949
  */
35700
36950
  class JiraSettings extends Request {
35701
36951
  constructor(request, data) {
36952
+ var _a;
35702
36953
  super(request);
36954
+ this.isJiraServer = (_a = data.isJiraServer) !== null && _a !== void 0 ? _a : undefined;
35703
36955
  this.projectMapping = data.projectMapping
35704
36956
  ? data.projectMapping.map(node => new JiraLinearMapping(request, node))
35705
36957
  : undefined;
@@ -36126,6 +37378,20 @@
36126
37378
  super(request, fetch, data.nodes.map(node => new OauthClient(request, node)), new PageInfo(request, data.pageInfo));
36127
37379
  }
36128
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
+ }
36129
37395
  /**
36130
37396
  * An organization. Organizations are root-level objects that contain user accounts and teams.
36131
37397
  *
@@ -36142,6 +37408,7 @@
36142
37408
  this.createdAt = (_c = parseDate(data.createdAt)) !== null && _c !== void 0 ? _c : new Date();
36143
37409
  this.createdIssueCount = data.createdIssueCount;
36144
37410
  this.deletionRequestedAt = (_d = parseDate(data.deletionRequestedAt)) !== null && _d !== void 0 ? _d : undefined;
37411
+ this.fiscalYearStartMonth = data.fiscalYearStartMonth;
36145
37412
  this.gitBranchFormat = (_e = data.gitBranchFormat) !== null && _e !== void 0 ? _e : undefined;
36146
37413
  this.gitLinkbackMessagesEnabled = data.gitLinkbackMessagesEnabled;
36147
37414
  this.gitPublicLinkbackMessagesEnabled = data.gitPublicLinkbackMessagesEnabled;
@@ -36264,7 +37531,7 @@
36264
37531
  */
36265
37532
  class OrganizationInvite extends Request {
36266
37533
  constructor(request, data) {
36267
- var _a, _b, _c, _d, _e, _f, _g;
37534
+ var _a, _b, _c, _d, _e, _f;
36268
37535
  super(request);
36269
37536
  this.acceptedAt = (_a = parseDate(data.acceptedAt)) !== null && _a !== void 0 ? _a : undefined;
36270
37537
  this.archivedAt = (_b = parseDate(data.archivedAt)) !== null && _b !== void 0 ? _b : undefined;
@@ -36273,9 +37540,9 @@
36273
37540
  this.expiresAt = (_d = parseDate(data.expiresAt)) !== null && _d !== void 0 ? _d : undefined;
36274
37541
  this.external = data.external;
36275
37542
  this.id = data.id;
36276
- this.metadata = (_e = parseJson(data.metadata)) !== null && _e !== void 0 ? _e : {};
36277
- this.updatedAt = (_f = parseDate(data.updatedAt)) !== null && _f !== void 0 ? _f : new Date();
36278
- 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;
36279
37546
  this._inviter = data.inviter;
36280
37547
  }
36281
37548
  /** The user who has accepted the invite. Null, if the invite hasn't been accepted. */
@@ -36467,7 +37734,7 @@
36467
37734
  */
36468
37735
  class Project extends Request {
36469
37736
  constructor(request, data) {
36470
- 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;
36471
37738
  super(request);
36472
37739
  this.archivedAt = (_a = parseDate(data.archivedAt)) !== null && _a !== void 0 ? _a : undefined;
36473
37740
  this.autoArchivedAt = (_b = parseDate(data.autoArchivedAt)) !== null && _b !== void 0 ? _b : undefined;
@@ -36501,10 +37768,10 @@
36501
37768
  this.updatedAt = (_o = parseDate(data.updatedAt)) !== null && _o !== void 0 ? _o : new Date();
36502
37769
  this.url = data.url;
36503
37770
  this._convertedFromIssue = (_p = data.convertedFromIssue) !== null && _p !== void 0 ? _p : undefined;
36504
- this._creator = data.creator;
36505
- this._integrationsSettings = (_q = data.integrationsSettings) !== null && _q !== void 0 ? _q : undefined;
36506
- this._lastAppliedTemplate = (_r = data.lastAppliedTemplate) !== null && _r !== void 0 ? _r : undefined;
36507
- 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;
36508
37775
  }
36509
37776
  /** The project was created based on this issue. */
36510
37777
  get convertedFromIssue() {
@@ -36513,7 +37780,8 @@
36513
37780
  }
36514
37781
  /** The user who created the project. */
36515
37782
  get creator() {
36516
- 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;
36517
37785
  }
36518
37786
  /** Settings for all integrations associated with that project. */
36519
37787
  get integrationsSettings() {
@@ -36567,8 +37835,8 @@
36567
37835
  return new ArchiveProjectMutation(this._request).fetch(this.id, variables);
36568
37836
  }
36569
37837
  /** Creates a new project. */
36570
- create(input) {
36571
- return new CreateProjectMutation(this._request).fetch(input);
37838
+ create(input, variables) {
37839
+ return new CreateProjectMutation(this._request).fetch(input, variables);
36572
37840
  }
36573
37841
  /** Deletes (trashes) a project. */
36574
37842
  delete() {
@@ -36625,7 +37893,7 @@
36625
37893
  constructor(request, data) {
36626
37894
  var _a;
36627
37895
  super(request);
36628
- this.filter = (_a = parseJson(data.filter)) !== null && _a !== void 0 ? _a : undefined;
37896
+ this.filter = (_a = data.filter) !== null && _a !== void 0 ? _a : undefined;
36629
37897
  }
36630
37898
  }
36631
37899
  /**
@@ -36642,6 +37910,7 @@
36642
37910
  this.createdAt = (_b = parseDate(data.createdAt)) !== null && _b !== void 0 ? _b : new Date();
36643
37911
  this.id = data.id;
36644
37912
  this.label = data.label;
37913
+ this.sortOrder = data.sortOrder;
36645
37914
  this.updatedAt = (_c = parseDate(data.updatedAt)) !== null && _c !== void 0 ? _c : new Date();
36646
37915
  this.url = data.url;
36647
37916
  this._creator = data.creator;
@@ -36921,10 +38190,10 @@
36921
38190
  this.id = data.id;
36922
38191
  this.inProgressScopeHistory = data.inProgressScopeHistory;
36923
38192
  this.issueCountHistory = data.issueCountHistory;
36924
- this.metadata = (_h = parseJson(data.metadata)) !== null && _h !== void 0 ? _h : {};
38193
+ this.metadata = data.metadata;
36925
38194
  this.name = data.name;
36926
38195
  this.progress = data.progress;
36927
- 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;
36928
38197
  this.scope = data.scope;
36929
38198
  this.scopeHistory = data.scopeHistory;
36930
38199
  this.slackIssueComments = data.slackIssueComments;
@@ -36932,15 +38201,15 @@
36932
38201
  this.slackNewIssue = data.slackNewIssue;
36933
38202
  this.slugId = data.slugId;
36934
38203
  this.sortOrder = data.sortOrder;
36935
- this.startDate = (_k = data.startDate) !== null && _k !== void 0 ? _k : undefined;
36936
- 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;
36937
38206
  this.state = data.state;
36938
- this.targetDate = (_m = data.targetDate) !== null && _m !== void 0 ? _m : undefined;
36939
- this.trashed = (_o = data.trashed) !== null && _o !== void 0 ? _o : undefined;
36940
- 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();
36941
38210
  this.url = data.url;
36942
- this._convertedFromIssue = (_q = data.convertedFromIssue) !== null && _q !== void 0 ? _q : undefined;
36943
- 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;
36944
38213
  this._integrationsSettings = (_r = data.integrationsSettings) !== null && _r !== void 0 ? _r : undefined;
36945
38214
  this._lastAppliedTemplate = (_s = data.lastAppliedTemplate) !== null && _s !== void 0 ? _s : undefined;
36946
38215
  this._lead = (_t = data.lead) !== null && _t !== void 0 ? _t : undefined;
@@ -36952,7 +38221,8 @@
36952
38221
  }
36953
38222
  /** The user who created the project. */
36954
38223
  get creator() {
36955
- 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;
36956
38226
  }
36957
38227
  /** Settings for all integrations associated with that project. */
36958
38228
  get integrationsSettings() {
@@ -37258,16 +38528,34 @@
37258
38528
  */
37259
38529
  class Reaction extends Request {
37260
38530
  constructor(request, data) {
37261
- var _a, _b, _c, _d;
38531
+ var _a, _b, _c, _d, _e, _f, _g;
37262
38532
  super(request);
37263
38533
  this.archivedAt = (_a = parseDate(data.archivedAt)) !== null && _a !== void 0 ? _a : undefined;
37264
38534
  this.createdAt = (_b = parseDate(data.createdAt)) !== null && _b !== void 0 ? _b : new Date();
37265
38535
  this.emoji = data.emoji;
37266
38536
  this.id = data.id;
37267
38537
  this.updatedAt = (_c = parseDate(data.updatedAt)) !== null && _c !== void 0 ? _c : new Date();
37268
- 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;
37269
38542
  }
37270
- /** 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. */
37271
38559
  get user() {
37272
38560
  var _a, _b;
37273
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;
@@ -37557,6 +38845,29 @@
37557
38845
  this.id = data.id;
37558
38846
  }
37559
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
+ }
37560
38871
  /**
37561
38872
  * Object for mapping Slack channel IDs to names and other settings
37562
38873
  *
@@ -37565,15 +38876,16 @@
37565
38876
  */
37566
38877
  class SlackChannelNameMapping extends Request {
37567
38878
  constructor(request, data) {
37568
- var _a, _b, _c, _d, _e, _f;
38879
+ var _a, _b, _c, _d, _e, _f, _g;
37569
38880
  super(request);
37570
38881
  this.autoCreateOnBotMention = (_a = data.autoCreateOnBotMention) !== null && _a !== void 0 ? _a : undefined;
37571
38882
  this.autoCreateOnEmoji = (_b = data.autoCreateOnEmoji) !== null && _b !== void 0 ? _b : undefined;
37572
38883
  this.autoCreateOnMessage = (_c = data.autoCreateOnMessage) !== null && _c !== void 0 ? _c : undefined;
37573
- 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;
37574
38886
  this.id = data.id;
37575
- this.isPrivate = (_e = data.isPrivate) !== null && _e !== void 0 ? _e : undefined;
37576
- 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;
37577
38889
  this.name = data.name;
37578
38890
  this.teams = data.teams.map(node => new SlackAsksTeamSettings(request, node));
37579
38891
  }
@@ -37617,23 +38929,6 @@
37617
38929
  this.success = data.success;
37618
38930
  }
37619
38931
  }
37620
- /**
37621
- * 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.
37622
- *
37623
- * @param request - function to call the graphql client
37624
- * @param data - L.SyncResponseFragment response data
37625
- */
37626
- class SyncResponse extends Request {
37627
- constructor(request, data) {
37628
- var _a, _b;
37629
- super(request);
37630
- this.databaseVersion = data.databaseVersion;
37631
- this.delta = (_a = data.delta) !== null && _a !== void 0 ? _a : undefined;
37632
- this.lastSyncId = data.lastSyncId;
37633
- this.state = (_b = data.state) !== null && _b !== void 0 ? _b : undefined;
37634
- this.subscribedSyncGroups = data.subscribedSyncGroups;
37635
- }
37636
- }
37637
38932
  /**
37638
38933
  * SynchronizedPayload model
37639
38934
  *
@@ -37688,6 +38983,7 @@
37688
38983
  this.name = data.name;
37689
38984
  this.private = data.private;
37690
38985
  this.requirePriorityToLeaveTriage = data.requirePriorityToLeaveTriage;
38986
+ this.setIssueSortOrderOnStateChange = data.setIssueSortOrderOnStateChange;
37691
38987
  this.slackIssueComments = data.slackIssueComments;
37692
38988
  this.slackIssueStatuses = data.slackIssueStatuses;
37693
38989
  this.slackNewIssue = data.slackNewIssue;
@@ -37802,6 +39098,10 @@
37802
39098
  ? new WorkflowStateQuery(this._request).fetch((_b = this._triageIssueState) === null || _b === void 0 ? void 0 : _b.id)
37803
39099
  : undefined;
37804
39100
  }
39101
+ /** The automation states for the team. */
39102
+ automationStates(variables) {
39103
+ return new Team_AutomationStatesQuery(this._request, this.id, variables).fetch(variables);
39104
+ }
37805
39105
  /** Cycles associated with the team. */
37806
39106
  cycles(variables) {
37807
39107
  return new Team_CyclesQuery(this._request, this.id, variables).fetch(variables);
@@ -37846,11 +39146,35 @@
37846
39146
  delete() {
37847
39147
  return new DeleteTeamMutation(this._request).fetch(this.id);
37848
39148
  }
39149
+ /** Unarchives a team and cancels deletion. */
39150
+ unarchive() {
39151
+ return new UnarchiveTeamMutation(this._request).fetch(this.id);
39152
+ }
37849
39153
  /** Updates a team. */
37850
39154
  update(input) {
37851
39155
  return new UpdateTeamMutation(this._request).fetch(this.id, input);
37852
39156
  }
37853
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
+ }
37854
39178
  /**
37855
39179
  * TeamConnection model
37856
39180
  *
@@ -38086,15 +39410,12 @@
38086
39410
  * TemplateConnection model
38087
39411
  *
38088
39412
  * @param request - function to call the graphql client
38089
- * @param data - L.TemplateConnectionFragment response data
39413
+ * @param fetch - function to trigger a refetch of this TemplateConnection model
39414
+ * @param data - TemplateConnection response data
38090
39415
  */
38091
- class TemplateConnection extends Request {
38092
- constructor(request, data) {
38093
- super(request);
38094
- this.pageInfo = new PageInfo(request, data.pageInfo);
38095
- }
38096
- get nodes() {
38097
- 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));
38098
39419
  }
38099
39420
  }
38100
39421
  /**
@@ -38128,8 +39449,8 @@
38128
39449
  this.archivedAt = (_a = parseDate(data.archivedAt)) !== null && _a !== void 0 ? _a : undefined;
38129
39450
  this.createdAt = (_b = parseDate(data.createdAt)) !== null && _b !== void 0 ? _b : new Date();
38130
39451
  this.id = data.id;
38131
- this.manualSelection = (_c = parseJson(data.manualSelection)) !== null && _c !== void 0 ? _c : undefined;
38132
- 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;
38133
39454
  this.updatedAt = (_e = parseDate(data.updatedAt)) !== null && _e !== void 0 ? _e : new Date();
38134
39455
  this._integration = data.integration;
38135
39456
  this._team = data.team;
@@ -38168,7 +39489,7 @@
38168
39489
  this.assetUrl = data.assetUrl;
38169
39490
  this.contentType = data.contentType;
38170
39491
  this.filename = data.filename;
38171
- this.metaData = (_a = parseJson(data.metaData)) !== null && _a !== void 0 ? _a : undefined;
39492
+ this.metaData = (_a = data.metaData) !== null && _a !== void 0 ? _a : undefined;
38172
39493
  this.size = data.size;
38173
39494
  this.uploadUrl = data.uploadUrl;
38174
39495
  this.headers = data.headers.map(node => new UploadFileHeader(request, node));
@@ -38420,16 +39741,16 @@
38420
39741
  */
38421
39742
  class UserSettings extends Request {
38422
39743
  constructor(request, data) {
38423
- var _a, _b, _c, _d, _e;
39744
+ var _a, _b, _c, _d;
38424
39745
  super(request);
38425
39746
  this.archivedAt = (_a = parseDate(data.archivedAt)) !== null && _a !== void 0 ? _a : undefined;
38426
39747
  this.calendarHash = (_b = data.calendarHash) !== null && _b !== void 0 ? _b : undefined;
38427
39748
  this.createdAt = (_c = parseDate(data.createdAt)) !== null && _c !== void 0 ? _c : new Date();
38428
39749
  this.id = data.id;
38429
- this.notificationPreferences = (_d = parseJson(data.notificationPreferences)) !== null && _d !== void 0 ? _d : {};
39750
+ this.notificationPreferences = data.notificationPreferences;
38430
39751
  this.showFullUserNames = data.showFullUserNames;
38431
39752
  this.unsubscribedFrom = data.unsubscribedFrom;
38432
- 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();
38433
39754
  this._user = data.user;
38434
39755
  }
38435
39756
  /** The user associated with these settings. */
@@ -38614,18 +39935,18 @@
38614
39935
  */
38615
39936
  class WorkflowCronJobDefinition extends Request {
38616
39937
  constructor(request, data) {
38617
- var _a, _b, _c, _d, _e, _f;
39938
+ var _a, _b, _c, _d;
38618
39939
  super(request);
38619
- this.activities = (_a = parseJson(data.activities)) !== null && _a !== void 0 ? _a : {};
38620
- this.archivedAt = (_b = parseDate(data.archivedAt)) !== null && _b !== void 0 ? _b : undefined;
38621
- this.createdAt = (_c = parseDate(data.createdAt)) !== null && _c !== void 0 ? _c : new Date();
38622
- 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;
38623
39944
  this.enabled = data.enabled;
38624
39945
  this.id = data.id;
38625
39946
  this.name = data.name;
38626
- this.schedule = (_e = parseJson(data.schedule)) !== null && _e !== void 0 ? _e : {};
39947
+ this.schedule = data.schedule;
38627
39948
  this.sortOrder = data.sortOrder;
38628
- 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();
38629
39950
  this._creator = data.creator;
38630
39951
  this._team = data.team;
38631
39952
  }
@@ -38658,26 +39979,26 @@
38658
39979
  */
38659
39980
  class WorkflowDefinition extends Request {
38660
39981
  constructor(request, data) {
38661
- 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;
38662
39983
  super(request);
38663
- this.activities = (_a = parseJson(data.activities)) !== null && _a !== void 0 ? _a : {};
38664
- this.archivedAt = (_b = parseDate(data.archivedAt)) !== null && _b !== void 0 ? _b : undefined;
38665
- this.conditions = (_c = parseJson(data.conditions)) !== null && _c !== void 0 ? _c : {};
38666
- this.createdAt = (_d = parseDate(data.createdAt)) !== null && _d !== void 0 ? _d : new Date();
38667
- 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;
38668
39989
  this.enabled = data.enabled;
38669
- this.groupName = (_f = data.groupName) !== null && _f !== void 0 ? _f : undefined;
39990
+ this.groupName = (_d = data.groupName) !== null && _d !== void 0 ? _d : undefined;
38670
39991
  this.id = data.id;
38671
39992
  this.name = data.name;
38672
39993
  this.sortOrder = data.sortOrder;
38673
- 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();
38674
39995
  this._creator = data.creator;
38675
- this._customView = (_h = data.customView) !== null && _h !== void 0 ? _h : undefined;
38676
- this._cycle = (_j = data.cycle) !== null && _j !== void 0 ? _j : undefined;
38677
- this._label = (_k = data.label) !== null && _k !== void 0 ? _k : undefined;
38678
- this._project = (_l = data.project) !== null && _l !== void 0 ? _l : undefined;
38679
- this._team = (_m = data.team) !== null && _m !== void 0 ? _m : undefined;
38680
- 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;
38681
40002
  }
38682
40003
  /** The user who created the workflow. */
38683
40004
  get creator() {
@@ -40393,11 +41714,12 @@
40393
41714
  /**
40394
41715
  * Call the PushSubscriptionTest query and return a PushSubscriptionTestPayload
40395
41716
  *
41717
+ * @param variables - variables to pass into the PushSubscriptionTestQuery
40396
41718
  * @returns parsed response from PushSubscriptionTestQuery
40397
41719
  */
40398
- fetch() {
41720
+ fetch(variables) {
40399
41721
  return __awaiter(this, void 0, void 0, function* () {
40400
- const response = yield this._request(PushSubscriptionTestDocument, {});
41722
+ const response = yield this._request(PushSubscriptionTestDocument, variables);
40401
41723
  const data = response.pushSubscriptionTest;
40402
41724
  return new PushSubscriptionTestPayload(this._request, data);
40403
41725
  });
@@ -41183,6 +42505,32 @@
41183
42505
  });
41184
42506
  }
41185
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
+ }
41186
42534
  /**
41187
42535
  * A fetchable AttachmentLinkGitHubPr Mutation
41188
42536
  *
@@ -41196,19 +42544,13 @@
41196
42544
  * Call the AttachmentLinkGitHubPr mutation and return a AttachmentPayload
41197
42545
  *
41198
42546
  * @param issueId - required issueId to pass to attachmentLinkGitHubPR
41199
- * @param number - required number to pass to attachmentLinkGitHubPR
41200
- * @param owner - required owner to pass to attachmentLinkGitHubPR
41201
- * @param repo - required repo to pass to attachmentLinkGitHubPR
41202
42547
  * @param url - required url to pass to attachmentLinkGitHubPR
41203
- * @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
41204
42549
  * @returns parsed response from AttachmentLinkGitHubPrMutation
41205
42550
  */
41206
- fetch(issueId, number, owner, repo, url, variables) {
42551
+ fetch(issueId, url, variables) {
41207
42552
  return __awaiter(this, void 0, void 0, function* () {
41208
42553
  const response = yield this._request(AttachmentLinkGitHubPrDocument, Object.assign({ issueId,
41209
- number,
41210
- owner,
41211
- repo,
41212
42554
  url }, variables));
41213
42555
  const data = response.attachmentLinkGitHubPR;
41214
42556
  return new AttachmentPayload(this._request, data);
@@ -41781,6 +43123,31 @@
41781
43123
  });
41782
43124
  }
41783
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
+ }
41784
43151
  /**
41785
43152
  * A fetchable UpdateCycle Mutation
41786
43153
  *
@@ -42115,6 +43482,83 @@
42115
43482
  });
42116
43483
  }
42117
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
+ }
42118
43562
  /**
42119
43563
  * A fetchable GoogleUserAccountAuth Mutation
42120
43564
  *
@@ -42398,31 +43842,6 @@
42398
43842
  });
42399
43843
  }
42400
43844
  }
42401
- /**
42402
- * A fetchable IntegrationGithubSyncConnect Mutation
42403
- *
42404
- * @param request - function to call the graphql client
42405
- */
42406
- class IntegrationGithubSyncConnectMutation extends Request {
42407
- constructor(request) {
42408
- super(request);
42409
- }
42410
- /**
42411
- * Call the IntegrationGithubSyncConnect mutation and return a IntegrationPayload
42412
- *
42413
- * @param installationId - required installationId to pass to integrationGithubSyncConnect
42414
- * @returns parsed response from IntegrationGithubSyncConnectMutation
42415
- */
42416
- fetch(installationId) {
42417
- return __awaiter(this, void 0, void 0, function* () {
42418
- const response = yield this._request(IntegrationGithubSyncConnectDocument, {
42419
- installationId,
42420
- });
42421
- const data = response.integrationGithubSyncConnect;
42422
- return new IntegrationPayload(this._request, data);
42423
- });
42424
- }
42425
- }
42426
43845
  /**
42427
43846
  * A fetchable IntegrationGitlabConnect Mutation
42428
43847
  *
@@ -42560,14 +43979,12 @@
42560
43979
  /**
42561
43980
  * Call the IntegrationJiraPersonal mutation and return a IntegrationPayload
42562
43981
  *
42563
- * @param code - required code to pass to integrationJiraPersonal
43982
+ * @param variables - variables to pass into the IntegrationJiraPersonalMutation
42564
43983
  * @returns parsed response from IntegrationJiraPersonalMutation
42565
43984
  */
42566
- fetch(code) {
43985
+ fetch(variables) {
42567
43986
  return __awaiter(this, void 0, void 0, function* () {
42568
- const response = yield this._request(IntegrationJiraPersonalDocument, {
42569
- code,
42570
- });
43987
+ const response = yield this._request(IntegrationJiraPersonalDocument, variables);
42571
43988
  const data = response.integrationJiraPersonal;
42572
43989
  return new IntegrationPayload(this._request, data);
42573
43990
  });
@@ -42739,7 +44156,7 @@
42739
44156
  super(request);
42740
44157
  }
42741
44158
  /**
42742
- * Call the IntegrationSlackOrgProjectUpdatesPost mutation and return a IntegrationPayload
44159
+ * Call the IntegrationSlackOrgProjectUpdatesPost mutation and return a SlackChannelConnectPayload
42743
44160
  *
42744
44161
  * @param code - required code to pass to integrationSlackOrgProjectUpdatesPost
42745
44162
  * @param redirectUri - required redirectUri to pass to integrationSlackOrgProjectUpdatesPost
@@ -42752,7 +44169,7 @@
42752
44169
  redirectUri,
42753
44170
  });
42754
44171
  const data = response.integrationSlackOrgProjectUpdatesPost;
42755
- return new IntegrationPayload(this._request, data);
44172
+ return new SlackChannelConnectPayload(this._request, data);
42756
44173
  });
42757
44174
  }
42758
44175
  }
@@ -42793,7 +44210,7 @@
42793
44210
  super(request);
42794
44211
  }
42795
44212
  /**
42796
- * Call the IntegrationSlackPost mutation and return a IntegrationPayload
44213
+ * Call the IntegrationSlackPost mutation and return a SlackChannelConnectPayload
42797
44214
  *
42798
44215
  * @param code - required code to pass to integrationSlackPost
42799
44216
  * @param redirectUri - required redirectUri to pass to integrationSlackPost
@@ -42807,7 +44224,7 @@
42807
44224
  redirectUri,
42808
44225
  teamId }, variables));
42809
44226
  const data = response.integrationSlackPost;
42810
- return new IntegrationPayload(this._request, data);
44227
+ return new SlackChannelConnectPayload(this._request, data);
42811
44228
  });
42812
44229
  }
42813
44230
  }
@@ -42821,7 +44238,7 @@
42821
44238
  super(request);
42822
44239
  }
42823
44240
  /**
42824
- * Call the IntegrationSlackProjectPost mutation and return a IntegrationPayload
44241
+ * Call the IntegrationSlackProjectPost mutation and return a SlackChannelConnectPayload
42825
44242
  *
42826
44243
  * @param code - required code to pass to integrationSlackProjectPost
42827
44244
  * @param projectId - required projectId to pass to integrationSlackProjectPost
@@ -42838,7 +44255,7 @@
42838
44255
  service,
42839
44256
  });
42840
44257
  const data = response.integrationSlackProjectPost;
42841
- return new IntegrationPayload(this._request, data);
44258
+ return new SlackChannelConnectPayload(this._request, data);
42842
44259
  });
42843
44260
  }
42844
44261
  }
@@ -44331,13 +45748,12 @@
44331
45748
  * Call the CreateProject mutation and return a ProjectPayload
44332
45749
  *
44333
45750
  * @param input - required input to pass to createProject
45751
+ * @param variables - variables without 'input' to pass into the CreateProjectMutation
44334
45752
  * @returns parsed response from CreateProjectMutation
44335
45753
  */
44336
- fetch(input) {
45754
+ fetch(input, variables) {
44337
45755
  return __awaiter(this, void 0, void 0, function* () {
44338
- const response = yield this._request(CreateProjectDocument, {
44339
- input,
44340
- });
45756
+ const response = yield this._request(CreateProjectDocument, Object.assign({ input }, variables));
44341
45757
  const data = response.projectCreate;
44342
45758
  return new ProjectPayload(this._request, data);
44343
45759
  });
@@ -45256,6 +46672,31 @@
45256
46672
  });
45257
46673
  }
45258
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
+ }
45259
46700
  /**
45260
46701
  * A fetchable UpdateTeam Mutation
45261
46702
  *
@@ -45489,56 +46930,6 @@
45489
46930
  });
45490
46931
  }
45491
46932
  }
45492
- /**
45493
- * A fetchable UserGitHubConnect Mutation
45494
- *
45495
- * @param request - function to call the graphql client
45496
- */
45497
- class UserGitHubConnectMutation extends Request {
45498
- constructor(request) {
45499
- super(request);
45500
- }
45501
- /**
45502
- * Call the UserGitHubConnect mutation and return a UserPayload
45503
- *
45504
- * @param code - required code to pass to userGitHubConnect
45505
- * @returns parsed response from UserGitHubConnectMutation
45506
- */
45507
- fetch(code) {
45508
- return __awaiter(this, void 0, void 0, function* () {
45509
- const response = yield this._request(UserGitHubConnectDocument, {
45510
- code,
45511
- });
45512
- const data = response.userGitHubConnect;
45513
- return new UserPayload(this._request, data);
45514
- });
45515
- }
45516
- }
45517
- /**
45518
- * A fetchable UserJiraConnect Mutation
45519
- *
45520
- * @param request - function to call the graphql client
45521
- */
45522
- class UserJiraConnectMutation extends Request {
45523
- constructor(request) {
45524
- super(request);
45525
- }
45526
- /**
45527
- * Call the UserJiraConnect mutation and return a UserPayload
45528
- *
45529
- * @param code - required code to pass to userJiraConnect
45530
- * @returns parsed response from UserJiraConnectMutation
45531
- */
45532
- fetch(code) {
45533
- return __awaiter(this, void 0, void 0, function* () {
45534
- const response = yield this._request(UserJiraConnectDocument, {
45535
- code,
45536
- });
45537
- const data = response.userJiraConnect;
45538
- return new UserPayload(this._request, data);
45539
- });
45540
- }
45541
- }
45542
46933
  /**
45543
46934
  * A fetchable UserPromoteAdmin Mutation
45544
46935
  *
@@ -45999,6 +47390,32 @@
45999
47390
  });
46000
47391
  }
46001
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
+ }
46002
47419
  /**
46003
47420
  * A fetchable AttachmentIssue_Children Query
46004
47421
  *
@@ -46375,6 +47792,32 @@
46375
47792
  });
46376
47793
  }
46377
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
+ }
46378
47821
  /**
46379
47822
  * A fetchable Issue_Children Query
46380
47823
  *
@@ -46651,6 +48094,33 @@
46651
48094
  });
46652
48095
  }
46653
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
+ }
46654
48124
  /**
46655
48125
  * A fetchable IssueVcsBranchSearch_Children Query
46656
48126
  *
@@ -47000,7 +48470,7 @@
47000
48470
  return __awaiter(this, void 0, void 0, function* () {
47001
48471
  const response = yield this._request(Organization_TemplatesDocument, variables);
47002
48472
  const data = response.organization.templates;
47003
- 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);
47004
48474
  });
47005
48475
  }
47006
48476
  }
@@ -47326,6 +48796,33 @@
47326
48796
  });
47327
48797
  }
47328
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
+ }
47329
48826
  /**
47330
48827
  * A fetchable Team_Cycles Query
47331
48828
  *
@@ -47538,7 +49035,7 @@
47538
49035
  return __awaiter(this, void 0, void 0, function* () {
47539
49036
  const response = yield this._request(Team_TemplatesDocument, Object.assign(Object.assign({ id: this._id }, this._variables), variables));
47540
49037
  const data = response.team.templates;
47541
- 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);
47542
49039
  });
47543
49040
  }
47544
49041
  }
@@ -48386,10 +49883,11 @@
48386
49883
  /**
48387
49884
  * Sends a test push message.
48388
49885
  *
49886
+ * @param variables - variables to pass into the PushSubscriptionTestQuery
48389
49887
  * @returns PushSubscriptionTestPayload
48390
49888
  */
48391
- get pushSubscriptionTest() {
48392
- return new PushSubscriptionTestQuery(this._request).fetch();
49889
+ pushSubscriptionTest(variables) {
49890
+ return new PushSubscriptionTestQuery(this._request).fetch(variables);
48393
49891
  }
48394
49892
  /**
48395
49893
  * The status of the rate limiter.
@@ -48686,18 +50184,26 @@
48686
50184
  return new AttachmentLinkFrontMutation(this._request).fetch(conversationId, issueId, variables);
48687
50185
  }
48688
50186
  /**
48689
- * 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.
48690
50199
  *
48691
50200
  * @param issueId - required issueId to pass to attachmentLinkGitHubPR
48692
- * @param number - required number to pass to attachmentLinkGitHubPR
48693
- * @param owner - required owner to pass to attachmentLinkGitHubPR
48694
- * @param repo - required repo to pass to attachmentLinkGitHubPR
48695
50201
  * @param url - required url to pass to attachmentLinkGitHubPR
48696
- * @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
48697
50203
  * @returns AttachmentPayload
48698
50204
  */
48699
- attachmentLinkGitHubPR(issueId, number, owner, repo, url, variables) {
48700
- 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);
48701
50207
  }
48702
50208
  /**
48703
50209
  * Link an existing GitLab MR to an issue.
@@ -48918,6 +50424,15 @@
48918
50424
  createCycle(input) {
48919
50425
  return new CreateCycleMutation(this._request).fetch(input);
48920
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
+ }
48921
50436
  /**
48922
50437
  * Updates a cycle.
48923
50438
  *
@@ -49041,6 +50556,34 @@
49041
50556
  fileUpload(contentType, filename, size, variables) {
49042
50557
  return new FileUploadMutation(this._request).fetch(contentType, filename, size, variables);
49043
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
+ }
49044
50587
  /**
49045
50588
  * Authenticate user account through Google OAuth. This is the 2nd step of OAuth flow.
49046
50589
  *
@@ -49146,15 +50689,6 @@
49146
50689
  integrationGithubConnect(installationId) {
49147
50690
  return new IntegrationGithubConnectMutation(this._request).fetch(installationId);
49148
50691
  }
49149
- /**
49150
- * Connects the organization with the GitHub Sync App.
49151
- *
49152
- * @param installationId - required installationId to pass to integrationGithubSyncConnect
49153
- * @returns IntegrationPayload
49154
- */
49155
- integrationGithubSyncConnect(installationId) {
49156
- return new IntegrationGithubSyncConnectMutation(this._request).fetch(installationId);
49157
- }
49158
50692
  /**
49159
50693
  * Connects the organization with a GitLab Access Token.
49160
50694
  *
@@ -49205,11 +50739,11 @@
49205
50739
  /**
49206
50740
  * Connect your Jira account to Linear.
49207
50741
  *
49208
- * @param code - required code to pass to integrationJiraPersonal
50742
+ * @param variables - variables to pass into the IntegrationJiraPersonalMutation
49209
50743
  * @returns IntegrationPayload
49210
50744
  */
49211
- integrationJiraPersonal(code) {
49212
- return new IntegrationJiraPersonalMutation(this._request).fetch(code);
50745
+ integrationJiraPersonal(variables) {
50746
+ return new IntegrationJiraPersonalMutation(this._request).fetch(variables);
49213
50747
  }
49214
50748
  /**
49215
50749
  * Enables Loom integration for the organization.
@@ -49275,7 +50809,7 @@
49275
50809
  *
49276
50810
  * @param code - required code to pass to integrationSlackOrgProjectUpdatesPost
49277
50811
  * @param redirectUri - required redirectUri to pass to integrationSlackOrgProjectUpdatesPost
49278
- * @returns IntegrationPayload
50812
+ * @returns SlackChannelConnectPayload
49279
50813
  */
49280
50814
  integrationSlackOrgProjectUpdatesPost(code, redirectUri) {
49281
50815
  return new IntegrationSlackOrgProjectUpdatesPostMutation(this._request).fetch(code, redirectUri);
@@ -49297,7 +50831,7 @@
49297
50831
  * @param redirectUri - required redirectUri to pass to integrationSlackPost
49298
50832
  * @param teamId - required teamId to pass to integrationSlackPost
49299
50833
  * @param variables - variables without 'code', 'redirectUri', 'teamId' to pass into the IntegrationSlackPostMutation
49300
- * @returns IntegrationPayload
50834
+ * @returns SlackChannelConnectPayload
49301
50835
  */
49302
50836
  integrationSlackPost(code, redirectUri, teamId, variables) {
49303
50837
  return new IntegrationSlackPostMutation(this._request).fetch(code, redirectUri, teamId, variables);
@@ -49309,7 +50843,7 @@
49309
50843
  * @param projectId - required projectId to pass to integrationSlackProjectPost
49310
50844
  * @param redirectUri - required redirectUri to pass to integrationSlackProjectPost
49311
50845
  * @param service - required service to pass to integrationSlackProjectPost
49312
- * @returns IntegrationPayload
50846
+ * @returns SlackChannelConnectPayload
49313
50847
  */
49314
50848
  integrationSlackProjectPost(code, projectId, redirectUri, service) {
49315
50849
  return new IntegrationSlackProjectPostMutation(this._request).fetch(code, projectId, redirectUri, service);
@@ -49871,10 +51405,11 @@
49871
51405
  * Creates a new project.
49872
51406
  *
49873
51407
  * @param input - required input to pass to createProject
51408
+ * @param variables - variables without 'input' to pass into the CreateProjectMutation
49874
51409
  * @returns ProjectPayload
49875
51410
  */
49876
- createProject(input) {
49877
- return new CreateProjectMutation(this._request).fetch(input);
51411
+ createProject(input, variables) {
51412
+ return new CreateProjectMutation(this._request).fetch(input, variables);
49878
51413
  }
49879
51414
  /**
49880
51415
  * Deletes (trashes) a project.
@@ -50208,6 +51743,15 @@
50208
51743
  updateTeamMembership(id, input) {
50209
51744
  return new UpdateTeamMembershipMutation(this._request).fetch(id, input);
50210
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
+ }
50211
51755
  /**
50212
51756
  * Updates a team.
50213
51757
  *
@@ -50293,24 +51837,6 @@
50293
51837
  updateUserFlag(flag, operation) {
50294
51838
  return new UpdateUserFlagMutation(this._request).fetch(flag, operation);
50295
51839
  }
50296
- /**
50297
- * [DEPRECATED] Connects the GitHub user to this Linear account via OAuth2.
50298
- *
50299
- * @param code - required code to pass to userGitHubConnect
50300
- * @returns UserPayload
50301
- */
50302
- userGitHubConnect(code) {
50303
- return new UserGitHubConnectMutation(this._request).fetch(code);
50304
- }
50305
- /**
50306
- * [DEPRECATED] Connects the Jira user to this Linear account via OAuth2.
50307
- *
50308
- * @param code - required code to pass to userJiraConnect
50309
- * @returns UserPayload
50310
- */
50311
- userJiraConnect(code) {
50312
- return new UserJiraConnectMutation(this._request).fetch(code);
50313
- }
50314
51840
  /**
50315
51841
  * Makes user an admin. Can only be called by an admin.
50316
51842
  *
@@ -50577,6 +52103,7 @@
50577
52103
  exports.AttachmentConnection = AttachmentConnection;
50578
52104
  exports.AttachmentIssueQuery = AttachmentIssueQuery;
50579
52105
  exports.AttachmentIssue_AttachmentsQuery = AttachmentIssue_AttachmentsQuery;
52106
+ exports.AttachmentIssue_BotActorQuery = AttachmentIssue_BotActorQuery;
50580
52107
  exports.AttachmentIssue_ChildrenQuery = AttachmentIssue_ChildrenQuery;
50581
52108
  exports.AttachmentIssue_CommentsQuery = AttachmentIssue_CommentsQuery;
50582
52109
  exports.AttachmentIssue_HistoryQuery = AttachmentIssue_HistoryQuery;
@@ -50586,6 +52113,7 @@
50586
52113
  exports.AttachmentIssue_SubscribersQuery = AttachmentIssue_SubscribersQuery;
50587
52114
  exports.AttachmentLinkDiscordMutation = AttachmentLinkDiscordMutation;
50588
52115
  exports.AttachmentLinkFrontMutation = AttachmentLinkFrontMutation;
52116
+ exports.AttachmentLinkGitHubIssueMutation = AttachmentLinkGitHubIssueMutation;
50589
52117
  exports.AttachmentLinkGitHubPrMutation = AttachmentLinkGitHubPrMutation;
50590
52118
  exports.AttachmentLinkGitLabMrMutation = AttachmentLinkGitLabMrMutation;
50591
52119
  exports.AttachmentLinkIntercomMutation = AttachmentLinkIntercomMutation;
@@ -50605,16 +52133,23 @@
50605
52133
  exports.AuditEntryType = AuditEntryType;
50606
52134
  exports.AuditEntryTypesQuery = AuditEntryTypesQuery;
50607
52135
  exports.AuthApiKey = AuthApiKey;
50608
- exports.AuthApiKeyDeletePayload = AuthApiKeyDeletePayload;
50609
52136
  exports.AuthApiKeyPayload = AuthApiKeyPayload;
52137
+ exports.AuthCreateOrJoinOrganizationResponse = AuthCreateOrJoinOrganizationResponse;
50610
52138
  exports.AuthIntegration = AuthIntegration;
52139
+ exports.AuthOauthClient = AuthOauthClient;
52140
+ exports.AuthOauthClientWithMemberships = AuthOauthClientWithMemberships;
52141
+ exports.AuthOauthClientWithScope = AuthOauthClientWithScope;
52142
+ exports.AuthOauthClientWithTokens = AuthOauthClientWithTokens;
50611
52143
  exports.AuthOrganization = AuthOrganization;
52144
+ exports.AuthOrganizationDomain = AuthOrganizationDomain;
50612
52145
  exports.AuthResolverResponse = AuthResolverResponse;
52146
+ exports.AuthSuccessPayload = AuthSuccessPayload;
50613
52147
  exports.AuthUser = AuthUser;
50614
52148
  exports.AuthenticationLinearError = AuthenticationLinearError;
50615
52149
  exports.AuthenticationSession = AuthenticationSession;
50616
52150
  exports.AuthenticationSessionResponse = AuthenticationSessionResponse;
50617
52151
  exports.AuthenticationSessionsQuery = AuthenticationSessionsQuery;
52152
+ exports.AuthorizedApplicationBase = AuthorizedApplicationBase;
50618
52153
  exports.AvailableUsersQuery = AvailableUsersQuery;
50619
52154
  exports.BootstrapLinearError = BootstrapLinearError;
50620
52155
  exports.Comment = Comment;
@@ -50642,6 +52177,7 @@
50642
52177
  exports.CreateDocumentMutation = CreateDocumentMutation;
50643
52178
  exports.CreateEmojiMutation = CreateEmojiMutation;
50644
52179
  exports.CreateFavoriteMutation = CreateFavoriteMutation;
52180
+ exports.CreateGitAutomationStateMutation = CreateGitAutomationStateMutation;
50645
52181
  exports.CreateIntegrationGithubCommitMutation = CreateIntegrationGithubCommitMutation;
50646
52182
  exports.CreateIntegrationTemplateMutation = CreateIntegrationTemplateMutation;
50647
52183
  exports.CreateIntegrationsSettingsMutation = CreateIntegrationsSettingsMutation;
@@ -50683,6 +52219,7 @@
50683
52219
  exports.CycleNotificationSubscription = CycleNotificationSubscription;
50684
52220
  exports.CyclePayload = CyclePayload;
50685
52221
  exports.CycleQuery = CycleQuery;
52222
+ exports.CycleShiftAllMutation = CycleShiftAllMutation;
50686
52223
  exports.Cycle_IssuesQuery = Cycle_IssuesQuery;
50687
52224
  exports.Cycle_UncompletedIssuesUponCloseQuery = Cycle_UncompletedIssuesUponCloseQuery;
50688
52225
  exports.CyclesQuery = CyclesQuery;
@@ -50693,6 +52230,7 @@
50693
52230
  exports.DeleteDocumentMutation = DeleteDocumentMutation;
50694
52231
  exports.DeleteEmojiMutation = DeleteEmojiMutation;
50695
52232
  exports.DeleteFavoriteMutation = DeleteFavoriteMutation;
52233
+ exports.DeleteGitAutomationStateMutation = DeleteGitAutomationStateMutation;
50696
52234
  exports.DeleteIntegrationIntercomMutation = DeleteIntegrationIntercomMutation;
50697
52235
  exports.DeleteIntegrationMutation = DeleteIntegrationMutation;
50698
52236
  exports.DeleteIntegrationTemplateMutation = DeleteIntegrationTemplateMutation;
@@ -50734,6 +52272,7 @@
50734
52272
  exports.DocumentSearchResult = DocumentSearchResult;
50735
52273
  exports.DocumentSearchResultConnection = DocumentSearchResultConnection;
50736
52274
  exports.DocumentsQuery = DocumentsQuery;
52275
+ exports.EmailIntakeAddress = EmailIntakeAddress;
50737
52276
  exports.EmailTokenUserAccountAuthMutation = EmailTokenUserAccountAuthMutation;
50738
52277
  exports.EmailUnsubscribeMutation = EmailUnsubscribeMutation;
50739
52278
  exports.EmailUnsubscribePayload = EmailUnsubscribePayload;
@@ -50756,10 +52295,13 @@
50756
52295
  exports.ForbiddenLinearError = ForbiddenLinearError;
50757
52296
  exports.FrontAttachmentPayload = FrontAttachmentPayload;
50758
52297
  exports.FrontSettings = FrontSettings;
52298
+ exports.GitAutomationState = GitAutomationState;
52299
+ exports.GitAutomationStateConnection = GitAutomationStateConnection;
52300
+ exports.GitAutomationStatePayload = GitAutomationStatePayload;
50759
52301
  exports.GitHubCommitIntegrationPayload = GitHubCommitIntegrationPayload;
52302
+ exports.GitHubPersonalSettings = GitHubPersonalSettings;
52303
+ exports.GitHubRepo = GitHubRepo;
50760
52304
  exports.GitHubSettings = GitHubSettings;
50761
- exports.GitHubSyncRepo = GitHubSyncRepo;
50762
- exports.GitHubSyncSettings = GitHubSyncSettings;
50763
52305
  exports.GitLabSettings = GitLabSettings;
50764
52306
  exports.GithubOAuthTokenPayload = GithubOAuthTokenPayload;
50765
52307
  exports.GithubOrg = GithubOrg;
@@ -50779,7 +52321,6 @@
50779
52321
  exports.IntegrationFrontMutation = IntegrationFrontMutation;
50780
52322
  exports.IntegrationGitHubPersonalMutation = IntegrationGitHubPersonalMutation;
50781
52323
  exports.IntegrationGithubConnectMutation = IntegrationGithubConnectMutation;
50782
- exports.IntegrationGithubSyncConnectMutation = IntegrationGithubSyncConnectMutation;
50783
52324
  exports.IntegrationGitlabConnectMutation = IntegrationGitlabConnectMutation;
50784
52325
  exports.IntegrationGoogleSheetsMutation = IntegrationGoogleSheetsMutation;
50785
52326
  exports.IntegrationIntercomMutation = IntegrationIntercomMutation;
@@ -50863,6 +52404,7 @@
50863
52404
  exports.IssueUnsubscribeMutation = IssueUnsubscribeMutation;
50864
52405
  exports.IssueVcsBranchSearchQuery = IssueVcsBranchSearchQuery;
50865
52406
  exports.IssueVcsBranchSearch_AttachmentsQuery = IssueVcsBranchSearch_AttachmentsQuery;
52407
+ exports.IssueVcsBranchSearch_BotActorQuery = IssueVcsBranchSearch_BotActorQuery;
50866
52408
  exports.IssueVcsBranchSearch_ChildrenQuery = IssueVcsBranchSearch_ChildrenQuery;
50867
52409
  exports.IssueVcsBranchSearch_CommentsQuery = IssueVcsBranchSearch_CommentsQuery;
50868
52410
  exports.IssueVcsBranchSearch_HistoryQuery = IssueVcsBranchSearch_HistoryQuery;
@@ -50871,6 +52413,7 @@
50871
52413
  exports.IssueVcsBranchSearch_RelationsQuery = IssueVcsBranchSearch_RelationsQuery;
50872
52414
  exports.IssueVcsBranchSearch_SubscribersQuery = IssueVcsBranchSearch_SubscribersQuery;
50873
52415
  exports.Issue_AttachmentsQuery = Issue_AttachmentsQuery;
52416
+ exports.Issue_BotActorQuery = Issue_BotActorQuery;
50874
52417
  exports.Issue_ChildrenQuery = Issue_ChildrenQuery;
50875
52418
  exports.Issue_CommentsQuery = Issue_CommentsQuery;
50876
52419
  exports.Issue_HistoryQuery = Issue_HistoryQuery;
@@ -50926,6 +52469,7 @@
50926
52469
  exports.OauthClientApproval = OauthClientApproval;
50927
52470
  exports.OauthClientApprovalNotification = OauthClientApprovalNotification;
50928
52471
  exports.OauthClientConnection = OauthClientConnection;
52472
+ exports.OauthToken = OauthToken;
50929
52473
  exports.Organization = Organization;
50930
52474
  exports.OrganizationCancelDeletePayload = OrganizationCancelDeletePayload;
50931
52475
  exports.OrganizationDeleteChallengeMutation = OrganizationDeleteChallengeMutation;
@@ -51036,15 +52580,16 @@
51036
52580
  exports.SentrySettings = SentrySettings;
51037
52581
  exports.SlackAsksSettings = SlackAsksSettings;
51038
52582
  exports.SlackAsksTeamSettings = SlackAsksTeamSettings;
52583
+ exports.SlackChannelConnectPayload = SlackChannelConnectPayload;
51039
52584
  exports.SlackChannelNameMapping = SlackChannelNameMapping;
51040
52585
  exports.SlackPostSettings = SlackPostSettings;
51041
52586
  exports.SlackSettings = SlackSettings;
51042
52587
  exports.SsoUrlFromEmailQuery = SsoUrlFromEmailQuery;
51043
52588
  exports.SsoUrlFromEmailResponse = SsoUrlFromEmailResponse;
51044
52589
  exports.SuspendUserMutation = SuspendUserMutation;
51045
- exports.SyncResponse = SyncResponse;
51046
52590
  exports.SynchronizedPayload = SynchronizedPayload;
51047
52591
  exports.Team = Team;
52592
+ exports.TeamArchivePayload = TeamArchivePayload;
51048
52593
  exports.TeamConnection = TeamConnection;
51049
52594
  exports.TeamMembership = TeamMembership;
51050
52595
  exports.TeamMembershipConnection = TeamMembershipConnection;
@@ -51055,6 +52600,7 @@
51055
52600
  exports.TeamPayload = TeamPayload;
51056
52601
  exports.TeamQuery = TeamQuery;
51057
52602
  exports.TeamRepoMapping = TeamRepoMapping;
52603
+ exports.Team_AutomationStatesQuery = Team_AutomationStatesQuery;
51058
52604
  exports.Team_CyclesQuery = Team_CyclesQuery;
51059
52605
  exports.Team_IssuesQuery = Team_IssuesQuery;
51060
52606
  exports.Team_LabelsQuery = Team_LabelsQuery;
@@ -51077,6 +52623,7 @@
51077
52623
  exports.UnarchiveNotificationMutation = UnarchiveNotificationMutation;
51078
52624
  exports.UnarchiveProjectMutation = UnarchiveProjectMutation;
51079
52625
  exports.UnarchiveRoadmapMutation = UnarchiveRoadmapMutation;
52626
+ exports.UnarchiveTeamMutation = UnarchiveTeamMutation;
51080
52627
  exports.UnknownLinearError = UnknownLinearError;
51081
52628
  exports.UnsuspendUserMutation = UnsuspendUserMutation;
51082
52629
  exports.UpdateAttachmentMutation = UpdateAttachmentMutation;
@@ -51085,6 +52632,7 @@
51085
52632
  exports.UpdateCycleMutation = UpdateCycleMutation;
51086
52633
  exports.UpdateDocumentMutation = UpdateDocumentMutation;
51087
52634
  exports.UpdateFavoriteMutation = UpdateFavoriteMutation;
52635
+ exports.UpdateGitAutomationStateMutation = UpdateGitAutomationStateMutation;
51088
52636
  exports.UpdateIntegrationIntercomSettingsMutation = UpdateIntegrationIntercomSettingsMutation;
51089
52637
  exports.UpdateIntegrationsSettingsMutation = UpdateIntegrationsSettingsMutation;
51090
52638
  exports.UpdateIssueBatchMutation = UpdateIssueBatchMutation;
@@ -51123,8 +52671,6 @@
51123
52671
  exports.UserDemoteMemberMutation = UserDemoteMemberMutation;
51124
52672
  exports.UserDiscordConnectMutation = UserDiscordConnectMutation;
51125
52673
  exports.UserExternalUserDisconnectMutation = UserExternalUserDisconnectMutation;
51126
- exports.UserGitHubConnectMutation = UserGitHubConnectMutation;
51127
- exports.UserJiraConnectMutation = UserJiraConnectMutation;
51128
52674
  exports.UserLinearError = UserLinearError;
51129
52675
  exports.UserNotificationSubscription = UserNotificationSubscription;
51130
52676
  exports.UserPayload = UserPayload;