@linear/sdk 23.0.0 → 24.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_generated_documents.d.ts +677 -70
- package/dist/_generated_documents.d.ts.map +1 -1
- package/dist/_generated_sdk.d.ts +619 -13
- package/dist/_generated_sdk.d.ts.map +1 -1
- package/dist/index-cjs.js +2381 -254
- package/dist/index-cjs.js.map +1 -1
- package/dist/index-cjs.min.js +1 -1
- package/dist/index-cjs.min.js.br +0 -0
- package/dist/index-cjs.min.js.gz +0 -0
- package/dist/index-cjs.min.js.map +1 -1
- package/dist/index-es.js +2358 -255
- package/dist/index-es.js.map +1 -1
- package/dist/index-es.min.js +1 -1
- package/dist/index-es.min.js.br +0 -0
- package/dist/index-es.min.js.gz +0 -0
- package/dist/index-es.min.js.map +1 -1
- package/dist/index-umd.js +2382 -255
- package/dist/index-umd.js.map +1 -1
- package/dist/index-umd.min.js +1 -1
- package/dist/index-umd.min.js.br +0 -0
- package/dist/index-umd.min.js.gz +0 -0
- package/dist/index-umd.min.js.map +1 -1
- package/package.json +1 -1
package/dist/index-umd.js
CHANGED
@@ -9,7 +9,7 @@
|
|
9
9
|
var crypto__default = /*#__PURE__*/_interopDefaultLegacy(crypto);
|
10
10
|
|
11
11
|
(function() {
|
12
|
-
const env = {"npm_package_name":"@linear/sdk","npm_package_version":"
|
12
|
+
const env = {"npm_package_name":"@linear/sdk","npm_package_version":"24.0.0"};
|
13
13
|
try {
|
14
14
|
if (process) {
|
15
15
|
process.env = Object.assign({}, process.env);
|
@@ -1444,6 +1444,12 @@
|
|
1444
1444
|
InitiativeStatus["Completed"] = "Completed";
|
1445
1445
|
InitiativeStatus["Planned"] = "Planned";
|
1446
1446
|
})(InitiativeStatus || (InitiativeStatus = {}));
|
1447
|
+
/** Different tabs available inside an initiative. */
|
1448
|
+
var InitiativeTab;
|
1449
|
+
(function (InitiativeTab) {
|
1450
|
+
InitiativeTab["Overview"] = "overview";
|
1451
|
+
InitiativeTab["Projects"] = "projects";
|
1452
|
+
})(InitiativeTab || (InitiativeTab = {}));
|
1447
1453
|
/** Linear supported integration services. */
|
1448
1454
|
var IntegrationService;
|
1449
1455
|
(function (IntegrationService) {
|
@@ -1455,6 +1461,7 @@
|
|
1455
1461
|
IntegrationService["Front"] = "front";
|
1456
1462
|
IntegrationService["Github"] = "github";
|
1457
1463
|
IntegrationService["GithubCommit"] = "githubCommit";
|
1464
|
+
IntegrationService["GithubEnterpriseServer"] = "githubEnterpriseServer";
|
1458
1465
|
IntegrationService["GithubImport"] = "githubImport";
|
1459
1466
|
IntegrationService["GithubPersonal"] = "githubPersonal";
|
1460
1467
|
IntegrationService["Gitlab"] = "gitlab";
|
@@ -1633,6 +1640,7 @@
|
|
1633
1640
|
UserFlagType["FigmaPromptDismissed"] = "figmaPromptDismissed";
|
1634
1641
|
UserFlagType["HelpIslandFeatureInsightsDismissed"] = "helpIslandFeatureInsightsDismissed";
|
1635
1642
|
UserFlagType["ImportBannerDismissed"] = "importBannerDismissed";
|
1643
|
+
UserFlagType["InitiativesBannerDismissed"] = "initiativesBannerDismissed";
|
1636
1644
|
UserFlagType["InsightsHelpDismissed"] = "insightsHelpDismissed";
|
1637
1645
|
UserFlagType["InsightsWelcomeDismissed"] = "insightsWelcomeDismissed";
|
1638
1646
|
UserFlagType["IssueLabelSuggestionUsed"] = "issueLabelSuggestionUsed";
|
@@ -1761,6 +1769,24 @@
|
|
1761
1769
|
},
|
1762
1770
|
],
|
1763
1771
|
};
|
1772
|
+
const CommentNotificationFragmentDoc = {
|
1773
|
+
kind: "Document",
|
1774
|
+
definitions: [
|
1775
|
+
{
|
1776
|
+
kind: "FragmentDefinition",
|
1777
|
+
name: { kind: "Name", value: "CommentNotification" },
|
1778
|
+
typeCondition: { kind: "NamedType", name: { kind: "Name", value: "CommentNotification" } },
|
1779
|
+
selectionSet: {
|
1780
|
+
kind: "SelectionSet",
|
1781
|
+
selections: [
|
1782
|
+
{ kind: "Field", name: { kind: "Name", value: "__typename" } },
|
1783
|
+
{ kind: "Field", name: { kind: "Name", value: "commentId" } },
|
1784
|
+
{ kind: "Field", name: { kind: "Name", value: "parentCommentId" } },
|
1785
|
+
],
|
1786
|
+
},
|
1787
|
+
},
|
1788
|
+
],
|
1789
|
+
};
|
1764
1790
|
const CustomViewNotificationSubscriptionFragmentDoc = {
|
1765
1791
|
kind: "Document",
|
1766
1792
|
definitions: [
|
@@ -1942,6 +1968,14 @@
|
|
1942
1968
|
selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }],
|
1943
1969
|
},
|
1944
1970
|
},
|
1971
|
+
{
|
1972
|
+
kind: "Field",
|
1973
|
+
name: { kind: "Name", value: "initiative" },
|
1974
|
+
selectionSet: {
|
1975
|
+
kind: "SelectionSet",
|
1976
|
+
selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }],
|
1977
|
+
},
|
1978
|
+
},
|
1945
1979
|
{
|
1946
1980
|
kind: "Field",
|
1947
1981
|
name: { kind: "Name", value: "issue" },
|
@@ -2006,6 +2040,69 @@
|
|
2006
2040
|
},
|
2007
2041
|
],
|
2008
2042
|
};
|
2043
|
+
const DraftFragmentDoc = {
|
2044
|
+
kind: "Document",
|
2045
|
+
definitions: [
|
2046
|
+
{
|
2047
|
+
kind: "FragmentDefinition",
|
2048
|
+
name: { kind: "Name", value: "Draft" },
|
2049
|
+
typeCondition: { kind: "NamedType", name: { kind: "Name", value: "Draft" } },
|
2050
|
+
selectionSet: {
|
2051
|
+
kind: "SelectionSet",
|
2052
|
+
selections: [
|
2053
|
+
{ kind: "Field", name: { kind: "Name", value: "__typename" } },
|
2054
|
+
{ kind: "Field", name: { kind: "Name", value: "data" } },
|
2055
|
+
{
|
2056
|
+
kind: "Field",
|
2057
|
+
name: { kind: "Name", value: "parentComment" },
|
2058
|
+
selectionSet: {
|
2059
|
+
kind: "SelectionSet",
|
2060
|
+
selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }],
|
2061
|
+
},
|
2062
|
+
},
|
2063
|
+
{
|
2064
|
+
kind: "Field",
|
2065
|
+
name: { kind: "Name", value: "issue" },
|
2066
|
+
selectionSet: {
|
2067
|
+
kind: "SelectionSet",
|
2068
|
+
selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }],
|
2069
|
+
},
|
2070
|
+
},
|
2071
|
+
{ kind: "Field", name: { kind: "Name", value: "updatedAt" } },
|
2072
|
+
{
|
2073
|
+
kind: "Field",
|
2074
|
+
name: { kind: "Name", value: "project" },
|
2075
|
+
selectionSet: {
|
2076
|
+
kind: "SelectionSet",
|
2077
|
+
selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }],
|
2078
|
+
},
|
2079
|
+
},
|
2080
|
+
{
|
2081
|
+
kind: "Field",
|
2082
|
+
name: { kind: "Name", value: "projectUpdate" },
|
2083
|
+
selectionSet: {
|
2084
|
+
kind: "SelectionSet",
|
2085
|
+
selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }],
|
2086
|
+
},
|
2087
|
+
},
|
2088
|
+
{ kind: "Field", name: { kind: "Name", value: "bodyData" } },
|
2089
|
+
{ kind: "Field", name: { kind: "Name", value: "archivedAt" } },
|
2090
|
+
{ kind: "Field", name: { kind: "Name", value: "createdAt" } },
|
2091
|
+
{ kind: "Field", name: { kind: "Name", value: "id" } },
|
2092
|
+
{
|
2093
|
+
kind: "Field",
|
2094
|
+
name: { kind: "Name", value: "user" },
|
2095
|
+
selectionSet: {
|
2096
|
+
kind: "SelectionSet",
|
2097
|
+
selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }],
|
2098
|
+
},
|
2099
|
+
},
|
2100
|
+
{ kind: "Field", name: { kind: "Name", value: "isAutogenerated" } },
|
2101
|
+
],
|
2102
|
+
},
|
2103
|
+
},
|
2104
|
+
],
|
2105
|
+
};
|
2009
2106
|
const AttachmentArchivePayloadFragmentDoc = {
|
2010
2107
|
kind: "Document",
|
2011
2108
|
definitions: [
|
@@ -2114,6 +2211,14 @@
|
|
2114
2211
|
kind: "SelectionSet",
|
2115
2212
|
selections: [
|
2116
2213
|
{ kind: "Field", name: { kind: "Name", value: "__typename" } },
|
2214
|
+
{
|
2215
|
+
kind: "Field",
|
2216
|
+
name: { kind: "Name", value: "entity" },
|
2217
|
+
selectionSet: {
|
2218
|
+
kind: "SelectionSet",
|
2219
|
+
selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }],
|
2220
|
+
},
|
2221
|
+
},
|
2117
2222
|
{ kind: "Field", name: { kind: "Name", value: "lastSyncId" } },
|
2118
2223
|
{ kind: "Field", name: { kind: "Name", value: "success" } },
|
2119
2224
|
],
|
@@ -2181,6 +2286,8 @@
|
|
2181
2286
|
selections: [
|
2182
2287
|
{ kind: "Field", name: { kind: "Name", value: "__typename" } },
|
2183
2288
|
{ kind: "Field", name: { kind: "Name", value: "type" } },
|
2289
|
+
{ kind: "Field", name: { kind: "Name", value: "commentId" } },
|
2290
|
+
{ kind: "Field", name: { kind: "Name", value: "parentCommentId" } },
|
2184
2291
|
{
|
2185
2292
|
kind: "Field",
|
2186
2293
|
name: { kind: "Name", value: "botActor" },
|
@@ -2238,6 +2345,8 @@
|
|
2238
2345
|
selections: [
|
2239
2346
|
{ kind: "Field", name: { kind: "Name", value: "__typename" } },
|
2240
2347
|
{ kind: "Field", name: { kind: "Name", value: "type" } },
|
2348
|
+
{ kind: "Field", name: { kind: "Name", value: "commentId" } },
|
2349
|
+
{ kind: "Field", name: { kind: "Name", value: "parentCommentId" } },
|
2241
2350
|
{
|
2242
2351
|
kind: "Field",
|
2243
2352
|
name: { kind: "Name", value: "botActor" },
|
@@ -2375,6 +2484,8 @@
|
|
2375
2484
|
{ kind: "Field", name: { kind: "Name", value: "__typename" } },
|
2376
2485
|
{ kind: "Field", name: { kind: "Name", value: "reactionEmoji" } },
|
2377
2486
|
{ kind: "Field", name: { kind: "Name", value: "type" } },
|
2487
|
+
{ kind: "Field", name: { kind: "Name", value: "commentId" } },
|
2488
|
+
{ kind: "Field", name: { kind: "Name", value: "parentCommentId" } },
|
2378
2489
|
{
|
2379
2490
|
kind: "Field",
|
2380
2491
|
name: { kind: "Name", value: "botActor" },
|
@@ -2408,6 +2519,14 @@
|
|
2408
2519
|
},
|
2409
2520
|
},
|
2410
2521
|
{ kind: "Field", name: { kind: "Name", value: "updatedAt" } },
|
2522
|
+
{
|
2523
|
+
kind: "Field",
|
2524
|
+
name: { kind: "Name", value: "parentComment" },
|
2525
|
+
selectionSet: {
|
2526
|
+
kind: "SelectionSet",
|
2527
|
+
selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }],
|
2528
|
+
},
|
2529
|
+
},
|
2411
2530
|
{
|
2412
2531
|
kind: "Field",
|
2413
2532
|
name: { kind: "Name", value: "subscriptions" },
|
@@ -2556,6 +2675,8 @@
|
|
2556
2675
|
selections: [
|
2557
2676
|
{ kind: "Field", name: { kind: "Name", value: "__typename" } },
|
2558
2677
|
{ kind: "Field", name: { kind: "Name", value: "type" } },
|
2678
|
+
{ kind: "Field", name: { kind: "Name", value: "commentId" } },
|
2679
|
+
{ kind: "Field", name: { kind: "Name", value: "parentCommentId" } },
|
2559
2680
|
{
|
2560
2681
|
kind: "Field",
|
2561
2682
|
name: { kind: "Name", value: "botActor" },
|
@@ -2564,6 +2685,14 @@
|
|
2564
2685
|
selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "ActorBot" } }],
|
2565
2686
|
},
|
2566
2687
|
},
|
2688
|
+
{
|
2689
|
+
kind: "Field",
|
2690
|
+
name: { kind: "Name", value: "comment" },
|
2691
|
+
selectionSet: {
|
2692
|
+
kind: "SelectionSet",
|
2693
|
+
selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }],
|
2694
|
+
},
|
2695
|
+
},
|
2567
2696
|
{
|
2568
2697
|
kind: "Field",
|
2569
2698
|
name: { kind: "Name", value: "externalUserActor" },
|
@@ -2573,6 +2702,14 @@
|
|
2573
2702
|
},
|
2574
2703
|
},
|
2575
2704
|
{ kind: "Field", name: { kind: "Name", value: "updatedAt" } },
|
2705
|
+
{
|
2706
|
+
kind: "Field",
|
2707
|
+
name: { kind: "Name", value: "parentComment" },
|
2708
|
+
selectionSet: {
|
2709
|
+
kind: "SelectionSet",
|
2710
|
+
selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }],
|
2711
|
+
},
|
2712
|
+
},
|
2576
2713
|
{
|
2577
2714
|
kind: "Field",
|
2578
2715
|
name: { kind: "Name", value: "project" },
|
@@ -3247,68 +3384,6 @@
|
|
3247
3384
|
},
|
3248
3385
|
],
|
3249
3386
|
};
|
3250
|
-
const TextDraftFragmentDoc = {
|
3251
|
-
kind: "Document",
|
3252
|
-
definitions: [
|
3253
|
-
{
|
3254
|
-
kind: "FragmentDefinition",
|
3255
|
-
name: { kind: "Name", value: "TextDraft" },
|
3256
|
-
typeCondition: { kind: "NamedType", name: { kind: "Name", value: "TextDraft" } },
|
3257
|
-
selectionSet: {
|
3258
|
-
kind: "SelectionSet",
|
3259
|
-
selections: [
|
3260
|
-
{ kind: "Field", name: { kind: "Name", value: "__typename" } },
|
3261
|
-
{
|
3262
|
-
kind: "Field",
|
3263
|
-
name: { kind: "Name", value: "parentComment" },
|
3264
|
-
selectionSet: {
|
3265
|
-
kind: "SelectionSet",
|
3266
|
-
selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }],
|
3267
|
-
},
|
3268
|
-
},
|
3269
|
-
{
|
3270
|
-
kind: "Field",
|
3271
|
-
name: { kind: "Name", value: "issue" },
|
3272
|
-
selectionSet: {
|
3273
|
-
kind: "SelectionSet",
|
3274
|
-
selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }],
|
3275
|
-
},
|
3276
|
-
},
|
3277
|
-
{ kind: "Field", name: { kind: "Name", value: "updatedAt" } },
|
3278
|
-
{
|
3279
|
-
kind: "Field",
|
3280
|
-
name: { kind: "Name", value: "project" },
|
3281
|
-
selectionSet: {
|
3282
|
-
kind: "SelectionSet",
|
3283
|
-
selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }],
|
3284
|
-
},
|
3285
|
-
},
|
3286
|
-
{
|
3287
|
-
kind: "Field",
|
3288
|
-
name: { kind: "Name", value: "projectUpdate" },
|
3289
|
-
selectionSet: {
|
3290
|
-
kind: "SelectionSet",
|
3291
|
-
selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }],
|
3292
|
-
},
|
3293
|
-
},
|
3294
|
-
{ kind: "Field", name: { kind: "Name", value: "bodyData" } },
|
3295
|
-
{ kind: "Field", name: { kind: "Name", value: "archivedAt" } },
|
3296
|
-
{ kind: "Field", name: { kind: "Name", value: "createdAt" } },
|
3297
|
-
{ kind: "Field", name: { kind: "Name", value: "id" } },
|
3298
|
-
{
|
3299
|
-
kind: "Field",
|
3300
|
-
name: { kind: "Name", value: "user" },
|
3301
|
-
selectionSet: {
|
3302
|
-
kind: "SelectionSet",
|
3303
|
-
selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }],
|
3304
|
-
},
|
3305
|
-
},
|
3306
|
-
{ kind: "Field", name: { kind: "Name", value: "isAutogenerated" } },
|
3307
|
-
],
|
3308
|
-
},
|
3309
|
-
},
|
3310
|
-
],
|
3311
|
-
};
|
3312
3387
|
const UserAccountFragmentDoc = {
|
3313
3388
|
kind: "Document",
|
3314
3389
|
definitions: [
|
@@ -4600,6 +4675,58 @@
|
|
4600
4675
|
},
|
4601
4676
|
],
|
4602
4677
|
};
|
4678
|
+
const InitiativePayloadFragmentDoc = {
|
4679
|
+
kind: "Document",
|
4680
|
+
definitions: [
|
4681
|
+
{
|
4682
|
+
kind: "FragmentDefinition",
|
4683
|
+
name: { kind: "Name", value: "InitiativePayload" },
|
4684
|
+
typeCondition: { kind: "NamedType", name: { kind: "Name", value: "InitiativePayload" } },
|
4685
|
+
selectionSet: {
|
4686
|
+
kind: "SelectionSet",
|
4687
|
+
selections: [
|
4688
|
+
{ kind: "Field", name: { kind: "Name", value: "__typename" } },
|
4689
|
+
{ kind: "Field", name: { kind: "Name", value: "lastSyncId" } },
|
4690
|
+
{
|
4691
|
+
kind: "Field",
|
4692
|
+
name: { kind: "Name", value: "initiative" },
|
4693
|
+
selectionSet: {
|
4694
|
+
kind: "SelectionSet",
|
4695
|
+
selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }],
|
4696
|
+
},
|
4697
|
+
},
|
4698
|
+
{ kind: "Field", name: { kind: "Name", value: "success" } },
|
4699
|
+
],
|
4700
|
+
},
|
4701
|
+
},
|
4702
|
+
],
|
4703
|
+
};
|
4704
|
+
const InitiativeToProjectPayloadFragmentDoc = {
|
4705
|
+
kind: "Document",
|
4706
|
+
definitions: [
|
4707
|
+
{
|
4708
|
+
kind: "FragmentDefinition",
|
4709
|
+
name: { kind: "Name", value: "InitiativeToProjectPayload" },
|
4710
|
+
typeCondition: { kind: "NamedType", name: { kind: "Name", value: "InitiativeToProjectPayload" } },
|
4711
|
+
selectionSet: {
|
4712
|
+
kind: "SelectionSet",
|
4713
|
+
selections: [
|
4714
|
+
{ kind: "Field", name: { kind: "Name", value: "__typename" } },
|
4715
|
+
{ kind: "Field", name: { kind: "Name", value: "lastSyncId" } },
|
4716
|
+
{
|
4717
|
+
kind: "Field",
|
4718
|
+
name: { kind: "Name", value: "initiativeToProject" },
|
4719
|
+
selectionSet: {
|
4720
|
+
kind: "SelectionSet",
|
4721
|
+
selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }],
|
4722
|
+
},
|
4723
|
+
},
|
4724
|
+
{ kind: "Field", name: { kind: "Name", value: "success" } },
|
4725
|
+
],
|
4726
|
+
},
|
4727
|
+
},
|
4728
|
+
],
|
4729
|
+
};
|
4603
4730
|
const NotificationDeliveryPreferencesDayFragmentDoc = {
|
4604
4731
|
kind: "Document",
|
4605
4732
|
definitions: [
|
@@ -4856,6 +4983,69 @@
|
|
4856
4983
|
},
|
4857
4984
|
],
|
4858
4985
|
};
|
4986
|
+
const TextDraftFragmentDoc = {
|
4987
|
+
kind: "Document",
|
4988
|
+
definitions: [
|
4989
|
+
{
|
4990
|
+
kind: "FragmentDefinition",
|
4991
|
+
name: { kind: "Name", value: "TextDraft" },
|
4992
|
+
typeCondition: { kind: "NamedType", name: { kind: "Name", value: "TextDraft" } },
|
4993
|
+
selectionSet: {
|
4994
|
+
kind: "SelectionSet",
|
4995
|
+
selections: [
|
4996
|
+
{ kind: "Field", name: { kind: "Name", value: "__typename" } },
|
4997
|
+
{ kind: "Field", name: { kind: "Name", value: "data" } },
|
4998
|
+
{
|
4999
|
+
kind: "Field",
|
5000
|
+
name: { kind: "Name", value: "parentComment" },
|
5001
|
+
selectionSet: {
|
5002
|
+
kind: "SelectionSet",
|
5003
|
+
selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }],
|
5004
|
+
},
|
5005
|
+
},
|
5006
|
+
{
|
5007
|
+
kind: "Field",
|
5008
|
+
name: { kind: "Name", value: "issue" },
|
5009
|
+
selectionSet: {
|
5010
|
+
kind: "SelectionSet",
|
5011
|
+
selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }],
|
5012
|
+
},
|
5013
|
+
},
|
5014
|
+
{ kind: "Field", name: { kind: "Name", value: "updatedAt" } },
|
5015
|
+
{
|
5016
|
+
kind: "Field",
|
5017
|
+
name: { kind: "Name", value: "project" },
|
5018
|
+
selectionSet: {
|
5019
|
+
kind: "SelectionSet",
|
5020
|
+
selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }],
|
5021
|
+
},
|
5022
|
+
},
|
5023
|
+
{
|
5024
|
+
kind: "Field",
|
5025
|
+
name: { kind: "Name", value: "projectUpdate" },
|
5026
|
+
selectionSet: {
|
5027
|
+
kind: "SelectionSet",
|
5028
|
+
selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }],
|
5029
|
+
},
|
5030
|
+
},
|
5031
|
+
{ kind: "Field", name: { kind: "Name", value: "bodyData" } },
|
5032
|
+
{ kind: "Field", name: { kind: "Name", value: "archivedAt" } },
|
5033
|
+
{ kind: "Field", name: { kind: "Name", value: "createdAt" } },
|
5034
|
+
{ kind: "Field", name: { kind: "Name", value: "id" } },
|
5035
|
+
{
|
5036
|
+
kind: "Field",
|
5037
|
+
name: { kind: "Name", value: "user" },
|
5038
|
+
selectionSet: {
|
5039
|
+
kind: "SelectionSet",
|
5040
|
+
selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }],
|
5041
|
+
},
|
5042
|
+
},
|
5043
|
+
{ kind: "Field", name: { kind: "Name", value: "isAutogenerated" } },
|
5044
|
+
],
|
5045
|
+
},
|
5046
|
+
},
|
5047
|
+
],
|
5048
|
+
};
|
4859
5049
|
const ApiKeyFragmentDoc = {
|
4860
5050
|
kind: "Document",
|
4861
5051
|
definitions: [
|
@@ -5373,6 +5563,7 @@
|
|
5373
5563
|
selections: [
|
5374
5564
|
{ kind: "Field", name: { kind: "Name", value: "__typename" } },
|
5375
5565
|
{ kind: "Field", name: { kind: "Name", value: "importsBucketName" } },
|
5566
|
+
{ kind: "Field", name: { kind: "Name", value: "region" } },
|
5376
5567
|
{ kind: "Field", name: { kind: "Name", value: "uploadsBucketName" } },
|
5377
5568
|
],
|
5378
5569
|
},
|
@@ -6825,6 +7016,14 @@
|
|
6825
7016
|
kind: "SelectionSet",
|
6826
7017
|
selections: [
|
6827
7018
|
{ kind: "Field", name: { kind: "Name", value: "__typename" } },
|
7019
|
+
{
|
7020
|
+
kind: "Field",
|
7021
|
+
name: { kind: "Name", value: "initiative" },
|
7022
|
+
selectionSet: {
|
7023
|
+
kind: "SelectionSet",
|
7024
|
+
selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }],
|
7025
|
+
},
|
7026
|
+
},
|
6828
7027
|
{ kind: "Field", name: { kind: "Name", value: "updatedAt" } },
|
6829
7028
|
{ kind: "Field", name: { kind: "Name", value: "url" } },
|
6830
7029
|
{ kind: "Field", name: { kind: "Name", value: "label" } },
|
@@ -6972,6 +7171,14 @@
|
|
6972
7171
|
selections: [
|
6973
7172
|
{ kind: "Field", name: { kind: "Name", value: "__typename" } },
|
6974
7173
|
{ kind: "Field", name: { kind: "Name", value: "updatedAt" } },
|
7174
|
+
{
|
7175
|
+
kind: "Field",
|
7176
|
+
name: { kind: "Name", value: "sourceInitiative" },
|
7177
|
+
selectionSet: {
|
7178
|
+
kind: "SelectionSet",
|
7179
|
+
selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }],
|
7180
|
+
},
|
7181
|
+
},
|
6975
7182
|
{ kind: "Field", name: { kind: "Name", value: "sourcePage" } },
|
6976
7183
|
{
|
6977
7184
|
kind: "Field",
|
@@ -7105,14 +7312,6 @@
|
|
7105
7312
|
selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }],
|
7106
7313
|
},
|
7107
7314
|
},
|
7108
|
-
{
|
7109
|
-
kind: "Field",
|
7110
|
-
name: { kind: "Name", value: "projectTeam" },
|
7111
|
-
selectionSet: {
|
7112
|
-
kind: "SelectionSet",
|
7113
|
-
selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }],
|
7114
|
-
},
|
7115
|
-
},
|
7116
7315
|
{
|
7117
7316
|
kind: "Field",
|
7118
7317
|
name: { kind: "Name", value: "user" },
|
@@ -7140,6 +7339,7 @@
|
|
7140
7339
|
selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }],
|
7141
7340
|
},
|
7142
7341
|
},
|
7342
|
+
{ kind: "Field", name: { kind: "Name", value: "initiativeTab" } },
|
7143
7343
|
{ kind: "Field", name: { kind: "Name", value: "projectTab" } },
|
7144
7344
|
{
|
7145
7345
|
kind: "Field",
|
@@ -7154,6 +7354,15 @@
|
|
7154
7354
|
{ kind: "Field", name: { kind: "Name", value: "predefinedViewType" } },
|
7155
7355
|
{ kind: "Field", name: { kind: "Name", value: "type" } },
|
7156
7356
|
{ kind: "Field", name: { kind: "Name", value: "id" } },
|
7357
|
+
{ kind: "Field", name: { kind: "Name", value: "url" } },
|
7358
|
+
{
|
7359
|
+
kind: "Field",
|
7360
|
+
name: { kind: "Name", value: "projectTeam" },
|
7361
|
+
selectionSet: {
|
7362
|
+
kind: "SelectionSet",
|
7363
|
+
selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }],
|
7364
|
+
},
|
7365
|
+
},
|
7157
7366
|
],
|
7158
7367
|
},
|
7159
7368
|
},
|
@@ -7593,6 +7802,34 @@
|
|
7593
7802
|
},
|
7594
7803
|
],
|
7595
7804
|
};
|
7805
|
+
const GitHubEnterpriseServerPayloadFragmentDoc = {
|
7806
|
+
kind: "Document",
|
7807
|
+
definitions: [
|
7808
|
+
{
|
7809
|
+
kind: "FragmentDefinition",
|
7810
|
+
name: { kind: "Name", value: "GitHubEnterpriseServerPayload" },
|
7811
|
+
typeCondition: { kind: "NamedType", name: { kind: "Name", value: "GitHubEnterpriseServerPayload" } },
|
7812
|
+
selectionSet: {
|
7813
|
+
kind: "SelectionSet",
|
7814
|
+
selections: [
|
7815
|
+
{ kind: "Field", name: { kind: "Name", value: "__typename" } },
|
7816
|
+
{ kind: "Field", name: { kind: "Name", value: "lastSyncId" } },
|
7817
|
+
{
|
7818
|
+
kind: "Field",
|
7819
|
+
name: { kind: "Name", value: "integration" },
|
7820
|
+
selectionSet: {
|
7821
|
+
kind: "SelectionSet",
|
7822
|
+
selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }],
|
7823
|
+
},
|
7824
|
+
},
|
7825
|
+
{ kind: "Field", name: { kind: "Name", value: "setupUrl" } },
|
7826
|
+
{ kind: "Field", name: { kind: "Name", value: "webhookSecret" } },
|
7827
|
+
{ kind: "Field", name: { kind: "Name", value: "success" } },
|
7828
|
+
],
|
7829
|
+
},
|
7830
|
+
},
|
7831
|
+
],
|
7832
|
+
};
|
7596
7833
|
const ImageUploadFromUrlPayloadFragmentDoc = {
|
7597
7834
|
kind: "Document",
|
7598
7835
|
definitions: [
|
@@ -7612,6 +7849,153 @@
|
|
7612
7849
|
},
|
7613
7850
|
],
|
7614
7851
|
};
|
7852
|
+
const InitiativeFragmentDoc = {
|
7853
|
+
kind: "Document",
|
7854
|
+
definitions: [
|
7855
|
+
{
|
7856
|
+
kind: "FragmentDefinition",
|
7857
|
+
name: { kind: "Name", value: "Initiative" },
|
7858
|
+
typeCondition: { kind: "NamedType", name: { kind: "Name", value: "Initiative" } },
|
7859
|
+
selectionSet: {
|
7860
|
+
kind: "SelectionSet",
|
7861
|
+
selections: [
|
7862
|
+
{ kind: "Field", name: { kind: "Name", value: "__typename" } },
|
7863
|
+
{ kind: "Field", name: { kind: "Name", value: "trashed" } },
|
7864
|
+
{ kind: "Field", name: { kind: "Name", value: "description" } },
|
7865
|
+
{ kind: "Field", name: { kind: "Name", value: "targetDate" } },
|
7866
|
+
{ kind: "Field", name: { kind: "Name", value: "icon" } },
|
7867
|
+
{ kind: "Field", name: { kind: "Name", value: "color" } },
|
7868
|
+
{ kind: "Field", name: { kind: "Name", value: "slugId" } },
|
7869
|
+
{ kind: "Field", name: { kind: "Name", value: "updatedAt" } },
|
7870
|
+
{ kind: "Field", name: { kind: "Name", value: "name" } },
|
7871
|
+
{ kind: "Field", name: { kind: "Name", value: "targetDateResolution" } },
|
7872
|
+
{ kind: "Field", name: { kind: "Name", value: "sortOrder" } },
|
7873
|
+
{ kind: "Field", name: { kind: "Name", value: "status" } },
|
7874
|
+
{ kind: "Field", name: { kind: "Name", value: "archivedAt" } },
|
7875
|
+
{ kind: "Field", name: { kind: "Name", value: "createdAt" } },
|
7876
|
+
{ kind: "Field", name: { kind: "Name", value: "id" } },
|
7877
|
+
{
|
7878
|
+
kind: "Field",
|
7879
|
+
name: { kind: "Name", value: "creator" },
|
7880
|
+
selectionSet: {
|
7881
|
+
kind: "SelectionSet",
|
7882
|
+
selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }],
|
7883
|
+
},
|
7884
|
+
},
|
7885
|
+
{
|
7886
|
+
kind: "Field",
|
7887
|
+
name: { kind: "Name", value: "owner" },
|
7888
|
+
selectionSet: {
|
7889
|
+
kind: "SelectionSet",
|
7890
|
+
selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }],
|
7891
|
+
},
|
7892
|
+
},
|
7893
|
+
],
|
7894
|
+
},
|
7895
|
+
},
|
7896
|
+
],
|
7897
|
+
};
|
7898
|
+
const InitiativeConnectionFragmentDoc = {
|
7899
|
+
kind: "Document",
|
7900
|
+
definitions: [
|
7901
|
+
{
|
7902
|
+
kind: "FragmentDefinition",
|
7903
|
+
name: { kind: "Name", value: "InitiativeConnection" },
|
7904
|
+
typeCondition: { kind: "NamedType", name: { kind: "Name", value: "InitiativeConnection" } },
|
7905
|
+
selectionSet: {
|
7906
|
+
kind: "SelectionSet",
|
7907
|
+
selections: [
|
7908
|
+
{ kind: "Field", name: { kind: "Name", value: "__typename" } },
|
7909
|
+
{
|
7910
|
+
kind: "Field",
|
7911
|
+
name: { kind: "Name", value: "nodes" },
|
7912
|
+
selectionSet: {
|
7913
|
+
kind: "SelectionSet",
|
7914
|
+
selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "Initiative" } }],
|
7915
|
+
},
|
7916
|
+
},
|
7917
|
+
{
|
7918
|
+
kind: "Field",
|
7919
|
+
name: { kind: "Name", value: "pageInfo" },
|
7920
|
+
selectionSet: {
|
7921
|
+
kind: "SelectionSet",
|
7922
|
+
selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "PageInfo" } }],
|
7923
|
+
},
|
7924
|
+
},
|
7925
|
+
],
|
7926
|
+
},
|
7927
|
+
},
|
7928
|
+
],
|
7929
|
+
};
|
7930
|
+
const InitiativeToProjectFragmentDoc = {
|
7931
|
+
kind: "Document",
|
7932
|
+
definitions: [
|
7933
|
+
{
|
7934
|
+
kind: "FragmentDefinition",
|
7935
|
+
name: { kind: "Name", value: "InitiativeToProject" },
|
7936
|
+
typeCondition: { kind: "NamedType", name: { kind: "Name", value: "InitiativeToProject" } },
|
7937
|
+
selectionSet: {
|
7938
|
+
kind: "SelectionSet",
|
7939
|
+
selections: [
|
7940
|
+
{ kind: "Field", name: { kind: "Name", value: "__typename" } },
|
7941
|
+
{
|
7942
|
+
kind: "Field",
|
7943
|
+
name: { kind: "Name", value: "initiative" },
|
7944
|
+
selectionSet: {
|
7945
|
+
kind: "SelectionSet",
|
7946
|
+
selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }],
|
7947
|
+
},
|
7948
|
+
},
|
7949
|
+
{ kind: "Field", name: { kind: "Name", value: "updatedAt" } },
|
7950
|
+
{
|
7951
|
+
kind: "Field",
|
7952
|
+
name: { kind: "Name", value: "project" },
|
7953
|
+
selectionSet: {
|
7954
|
+
kind: "SelectionSet",
|
7955
|
+
selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }],
|
7956
|
+
},
|
7957
|
+
},
|
7958
|
+
{ kind: "Field", name: { kind: "Name", value: "sortOrder" } },
|
7959
|
+
{ kind: "Field", name: { kind: "Name", value: "archivedAt" } },
|
7960
|
+
{ kind: "Field", name: { kind: "Name", value: "createdAt" } },
|
7961
|
+
{ kind: "Field", name: { kind: "Name", value: "id" } },
|
7962
|
+
],
|
7963
|
+
},
|
7964
|
+
},
|
7965
|
+
],
|
7966
|
+
};
|
7967
|
+
const InitiativeToProjectConnectionFragmentDoc = {
|
7968
|
+
kind: "Document",
|
7969
|
+
definitions: [
|
7970
|
+
{
|
7971
|
+
kind: "FragmentDefinition",
|
7972
|
+
name: { kind: "Name", value: "InitiativeToProjectConnection" },
|
7973
|
+
typeCondition: { kind: "NamedType", name: { kind: "Name", value: "InitiativeToProjectConnection" } },
|
7974
|
+
selectionSet: {
|
7975
|
+
kind: "SelectionSet",
|
7976
|
+
selections: [
|
7977
|
+
{ kind: "Field", name: { kind: "Name", value: "__typename" } },
|
7978
|
+
{
|
7979
|
+
kind: "Field",
|
7980
|
+
name: { kind: "Name", value: "nodes" },
|
7981
|
+
selectionSet: {
|
7982
|
+
kind: "SelectionSet",
|
7983
|
+
selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "InitiativeToProject" } }],
|
7984
|
+
},
|
7985
|
+
},
|
7986
|
+
{
|
7987
|
+
kind: "Field",
|
7988
|
+
name: { kind: "Name", value: "pageInfo" },
|
7989
|
+
selectionSet: {
|
7990
|
+
kind: "SelectionSet",
|
7991
|
+
selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "PageInfo" } }],
|
7992
|
+
},
|
7993
|
+
},
|
7994
|
+
],
|
7995
|
+
},
|
7996
|
+
},
|
7997
|
+
],
|
7998
|
+
};
|
7615
7999
|
const IntegrationFragmentDoc = {
|
7616
8000
|
kind: "Document",
|
7617
8001
|
definitions: [
|
@@ -8220,7 +8604,9 @@
|
|
8220
8604
|
{ kind: "Field", name: { kind: "Name", value: "avatarUrl" } },
|
8221
8605
|
{ kind: "Field", name: { kind: "Name", value: "createdIssueCount" } },
|
8222
8606
|
{ kind: "Field", name: { kind: "Name", value: "disableReason" } },
|
8607
|
+
{ kind: "Field", name: { kind: "Name", value: "avatarBackgroundColor" } },
|
8223
8608
|
{ kind: "Field", name: { kind: "Name", value: "statusEmoji" } },
|
8609
|
+
{ kind: "Field", name: { kind: "Name", value: "initials" } },
|
8224
8610
|
{ kind: "Field", name: { kind: "Name", value: "statusLabel" } },
|
8225
8611
|
{ kind: "Field", name: { kind: "Name", value: "updatedAt" } },
|
8226
8612
|
{ kind: "Field", name: { kind: "Name", value: "lastSeen" } },
|
@@ -8260,6 +8646,7 @@
|
|
8260
8646
|
{ kind: "Field", name: { kind: "Name", value: "serviceMetadata" } },
|
8261
8647
|
{ kind: "Field", name: { kind: "Name", value: "teamName" } },
|
8262
8648
|
{ kind: "Field", name: { kind: "Name", value: "mapping" } },
|
8649
|
+
{ kind: "Field", name: { kind: "Name", value: "displayName" } },
|
8263
8650
|
{ kind: "Field", name: { kind: "Name", value: "creatorId" } },
|
8264
8651
|
{ kind: "Field", name: { kind: "Name", value: "updatedAt" } },
|
8265
8652
|
{ kind: "Field", name: { kind: "Name", value: "service" } },
|
@@ -16408,13 +16795,13 @@
|
|
16408
16795
|
...PageInfoFragmentDoc.definitions,
|
16409
16796
|
],
|
16410
16797
|
};
|
16411
|
-
const
|
16798
|
+
const InitiativeDocument = {
|
16412
16799
|
kind: "Document",
|
16413
16800
|
definitions: [
|
16414
16801
|
{
|
16415
16802
|
kind: "OperationDefinition",
|
16416
16803
|
operation: "query",
|
16417
|
-
name: { kind: "Name", value: "
|
16804
|
+
name: { kind: "Name", value: "initiative" },
|
16418
16805
|
variableDefinitions: [
|
16419
16806
|
{
|
16420
16807
|
kind: "VariableDefinition",
|
@@ -16427,7 +16814,7 @@
|
|
16427
16814
|
selections: [
|
16428
16815
|
{
|
16429
16816
|
kind: "Field",
|
16430
|
-
name: { kind: "Name", value: "
|
16817
|
+
name: { kind: "Name", value: "initiative" },
|
16431
16818
|
arguments: [
|
16432
16819
|
{
|
16433
16820
|
kind: "Argument",
|
@@ -16437,115 +16824,606 @@
|
|
16437
16824
|
],
|
16438
16825
|
selectionSet: {
|
16439
16826
|
kind: "SelectionSet",
|
16440
|
-
selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "
|
16827
|
+
selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "Initiative" } }],
|
16441
16828
|
},
|
16442
16829
|
},
|
16443
16830
|
],
|
16444
16831
|
},
|
16445
16832
|
},
|
16446
|
-
...
|
16833
|
+
...InitiativeFragmentDoc.definitions,
|
16447
16834
|
],
|
16448
16835
|
};
|
16449
|
-
const
|
16836
|
+
const Initiative_LinksDocument = {
|
16450
16837
|
kind: "Document",
|
16451
16838
|
definitions: [
|
16452
16839
|
{
|
16453
16840
|
kind: "OperationDefinition",
|
16454
16841
|
operation: "query",
|
16455
|
-
name: { kind: "Name", value: "
|
16456
|
-
variableDefinitions: [
|
16457
|
-
{
|
16458
|
-
kind: "VariableDefinition",
|
16459
|
-
variable: { kind: "Variable", name: { kind: "Name", value: "integrationId" } },
|
16460
|
-
type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "String" } } },
|
16461
|
-
},
|
16462
|
-
{
|
16463
|
-
kind: "VariableDefinition",
|
16464
|
-
variable: { kind: "Variable", name: { kind: "Name", value: "scopes" } },
|
16465
|
-
type: {
|
16466
|
-
kind: "NonNullType",
|
16467
|
-
type: {
|
16468
|
-
kind: "ListType",
|
16469
|
-
type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "String" } } },
|
16470
|
-
},
|
16471
|
-
},
|
16472
|
-
},
|
16473
|
-
],
|
16474
|
-
selectionSet: {
|
16475
|
-
kind: "SelectionSet",
|
16476
|
-
selections: [
|
16477
|
-
{
|
16478
|
-
kind: "Field",
|
16479
|
-
name: { kind: "Name", value: "integrationHasScopes" },
|
16480
|
-
arguments: [
|
16481
|
-
{
|
16482
|
-
kind: "Argument",
|
16483
|
-
name: { kind: "Name", value: "integrationId" },
|
16484
|
-
value: { kind: "Variable", name: { kind: "Name", value: "integrationId" } },
|
16485
|
-
},
|
16486
|
-
{
|
16487
|
-
kind: "Argument",
|
16488
|
-
name: { kind: "Name", value: "scopes" },
|
16489
|
-
value: { kind: "Variable", name: { kind: "Name", value: "scopes" } },
|
16490
|
-
},
|
16491
|
-
],
|
16492
|
-
selectionSet: {
|
16493
|
-
kind: "SelectionSet",
|
16494
|
-
selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "IntegrationHasScopesPayload" } }],
|
16495
|
-
},
|
16496
|
-
},
|
16497
|
-
],
|
16498
|
-
},
|
16499
|
-
},
|
16500
|
-
...IntegrationHasScopesPayloadFragmentDoc.definitions,
|
16501
|
-
],
|
16502
|
-
};
|
16503
|
-
const IntegrationTemplateDocument = {
|
16504
|
-
kind: "Document",
|
16505
|
-
definitions: [
|
16506
|
-
{
|
16507
|
-
kind: "OperationDefinition",
|
16508
|
-
operation: "query",
|
16509
|
-
name: { kind: "Name", value: "integrationTemplate" },
|
16842
|
+
name: { kind: "Name", value: "initiative_links" },
|
16510
16843
|
variableDefinitions: [
|
16511
16844
|
{
|
16512
16845
|
kind: "VariableDefinition",
|
16513
16846
|
variable: { kind: "Variable", name: { kind: "Name", value: "id" } },
|
16514
16847
|
type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "String" } } },
|
16515
16848
|
},
|
16516
|
-
|
16517
|
-
|
16518
|
-
|
16519
|
-
|
16520
|
-
|
16521
|
-
|
16522
|
-
|
16523
|
-
|
16524
|
-
|
16525
|
-
|
16526
|
-
|
16527
|
-
|
16528
|
-
|
16529
|
-
|
16530
|
-
|
16531
|
-
|
16532
|
-
|
16533
|
-
|
16534
|
-
},
|
16535
|
-
|
16536
|
-
|
16537
|
-
|
16538
|
-
|
16539
|
-
|
16540
|
-
|
16541
|
-
|
16542
|
-
|
16543
|
-
|
16544
|
-
|
16545
|
-
|
16546
|
-
|
16547
|
-
|
16548
|
-
|
16849
|
+
{
|
16850
|
+
kind: "VariableDefinition",
|
16851
|
+
variable: { kind: "Variable", name: { kind: "Name", value: "after" } },
|
16852
|
+
type: { kind: "NamedType", name: { kind: "Name", value: "String" } },
|
16853
|
+
},
|
16854
|
+
{
|
16855
|
+
kind: "VariableDefinition",
|
16856
|
+
variable: { kind: "Variable", name: { kind: "Name", value: "before" } },
|
16857
|
+
type: { kind: "NamedType", name: { kind: "Name", value: "String" } },
|
16858
|
+
},
|
16859
|
+
{
|
16860
|
+
kind: "VariableDefinition",
|
16861
|
+
variable: { kind: "Variable", name: { kind: "Name", value: "first" } },
|
16862
|
+
type: { kind: "NamedType", name: { kind: "Name", value: "Int" } },
|
16863
|
+
},
|
16864
|
+
{
|
16865
|
+
kind: "VariableDefinition",
|
16866
|
+
variable: { kind: "Variable", name: { kind: "Name", value: "includeArchived" } },
|
16867
|
+
type: { kind: "NamedType", name: { kind: "Name", value: "Boolean" } },
|
16868
|
+
},
|
16869
|
+
{
|
16870
|
+
kind: "VariableDefinition",
|
16871
|
+
variable: { kind: "Variable", name: { kind: "Name", value: "last" } },
|
16872
|
+
type: { kind: "NamedType", name: { kind: "Name", value: "Int" } },
|
16873
|
+
},
|
16874
|
+
{
|
16875
|
+
kind: "VariableDefinition",
|
16876
|
+
variable: { kind: "Variable", name: { kind: "Name", value: "orderBy" } },
|
16877
|
+
type: { kind: "NamedType", name: { kind: "Name", value: "PaginationOrderBy" } },
|
16878
|
+
},
|
16879
|
+
],
|
16880
|
+
selectionSet: {
|
16881
|
+
kind: "SelectionSet",
|
16882
|
+
selections: [
|
16883
|
+
{
|
16884
|
+
kind: "Field",
|
16885
|
+
name: { kind: "Name", value: "initiative" },
|
16886
|
+
arguments: [
|
16887
|
+
{
|
16888
|
+
kind: "Argument",
|
16889
|
+
name: { kind: "Name", value: "id" },
|
16890
|
+
value: { kind: "Variable", name: { kind: "Name", value: "id" } },
|
16891
|
+
},
|
16892
|
+
],
|
16893
|
+
selectionSet: {
|
16894
|
+
kind: "SelectionSet",
|
16895
|
+
selections: [
|
16896
|
+
{
|
16897
|
+
kind: "Field",
|
16898
|
+
name: { kind: "Name", value: "links" },
|
16899
|
+
arguments: [
|
16900
|
+
{
|
16901
|
+
kind: "Argument",
|
16902
|
+
name: { kind: "Name", value: "after" },
|
16903
|
+
value: { kind: "Variable", name: { kind: "Name", value: "after" } },
|
16904
|
+
},
|
16905
|
+
{
|
16906
|
+
kind: "Argument",
|
16907
|
+
name: { kind: "Name", value: "before" },
|
16908
|
+
value: { kind: "Variable", name: { kind: "Name", value: "before" } },
|
16909
|
+
},
|
16910
|
+
{
|
16911
|
+
kind: "Argument",
|
16912
|
+
name: { kind: "Name", value: "first" },
|
16913
|
+
value: { kind: "Variable", name: { kind: "Name", value: "first" } },
|
16914
|
+
},
|
16915
|
+
{
|
16916
|
+
kind: "Argument",
|
16917
|
+
name: { kind: "Name", value: "includeArchived" },
|
16918
|
+
value: { kind: "Variable", name: { kind: "Name", value: "includeArchived" } },
|
16919
|
+
},
|
16920
|
+
{
|
16921
|
+
kind: "Argument",
|
16922
|
+
name: { kind: "Name", value: "last" },
|
16923
|
+
value: { kind: "Variable", name: { kind: "Name", value: "last" } },
|
16924
|
+
},
|
16925
|
+
{
|
16926
|
+
kind: "Argument",
|
16927
|
+
name: { kind: "Name", value: "orderBy" },
|
16928
|
+
value: { kind: "Variable", name: { kind: "Name", value: "orderBy" } },
|
16929
|
+
},
|
16930
|
+
],
|
16931
|
+
selectionSet: {
|
16932
|
+
kind: "SelectionSet",
|
16933
|
+
selections: [
|
16934
|
+
{ kind: "FragmentSpread", name: { kind: "Name", value: "EntityExternalLinkConnection" } },
|
16935
|
+
],
|
16936
|
+
},
|
16937
|
+
},
|
16938
|
+
],
|
16939
|
+
},
|
16940
|
+
},
|
16941
|
+
],
|
16942
|
+
},
|
16943
|
+
},
|
16944
|
+
...EntityExternalLinkConnectionFragmentDoc.definitions,
|
16945
|
+
...EntityExternalLinkFragmentDoc.definitions,
|
16946
|
+
...PageInfoFragmentDoc.definitions,
|
16947
|
+
],
|
16948
|
+
};
|
16949
|
+
const Initiative_ProjectsDocument = {
|
16950
|
+
kind: "Document",
|
16951
|
+
definitions: [
|
16952
|
+
{
|
16953
|
+
kind: "OperationDefinition",
|
16954
|
+
operation: "query",
|
16955
|
+
name: { kind: "Name", value: "initiative_projects" },
|
16956
|
+
variableDefinitions: [
|
16957
|
+
{
|
16958
|
+
kind: "VariableDefinition",
|
16959
|
+
variable: { kind: "Variable", name: { kind: "Name", value: "id" } },
|
16960
|
+
type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "String" } } },
|
16961
|
+
},
|
16962
|
+
{
|
16963
|
+
kind: "VariableDefinition",
|
16964
|
+
variable: { kind: "Variable", name: { kind: "Name", value: "after" } },
|
16965
|
+
type: { kind: "NamedType", name: { kind: "Name", value: "String" } },
|
16966
|
+
},
|
16967
|
+
{
|
16968
|
+
kind: "VariableDefinition",
|
16969
|
+
variable: { kind: "Variable", name: { kind: "Name", value: "before" } },
|
16970
|
+
type: { kind: "NamedType", name: { kind: "Name", value: "String" } },
|
16971
|
+
},
|
16972
|
+
{
|
16973
|
+
kind: "VariableDefinition",
|
16974
|
+
variable: { kind: "Variable", name: { kind: "Name", value: "filter" } },
|
16975
|
+
type: { kind: "NamedType", name: { kind: "Name", value: "ProjectFilter" } },
|
16976
|
+
},
|
16977
|
+
{
|
16978
|
+
kind: "VariableDefinition",
|
16979
|
+
variable: { kind: "Variable", name: { kind: "Name", value: "first" } },
|
16980
|
+
type: { kind: "NamedType", name: { kind: "Name", value: "Int" } },
|
16981
|
+
},
|
16982
|
+
{
|
16983
|
+
kind: "VariableDefinition",
|
16984
|
+
variable: { kind: "Variable", name: { kind: "Name", value: "includeArchived" } },
|
16985
|
+
type: { kind: "NamedType", name: { kind: "Name", value: "Boolean" } },
|
16986
|
+
},
|
16987
|
+
{
|
16988
|
+
kind: "VariableDefinition",
|
16989
|
+
variable: { kind: "Variable", name: { kind: "Name", value: "last" } },
|
16990
|
+
type: { kind: "NamedType", name: { kind: "Name", value: "Int" } },
|
16991
|
+
},
|
16992
|
+
{
|
16993
|
+
kind: "VariableDefinition",
|
16994
|
+
variable: { kind: "Variable", name: { kind: "Name", value: "orderBy" } },
|
16995
|
+
type: { kind: "NamedType", name: { kind: "Name", value: "PaginationOrderBy" } },
|
16996
|
+
},
|
16997
|
+
],
|
16998
|
+
selectionSet: {
|
16999
|
+
kind: "SelectionSet",
|
17000
|
+
selections: [
|
17001
|
+
{
|
17002
|
+
kind: "Field",
|
17003
|
+
name: { kind: "Name", value: "initiative" },
|
17004
|
+
arguments: [
|
17005
|
+
{
|
17006
|
+
kind: "Argument",
|
17007
|
+
name: { kind: "Name", value: "id" },
|
17008
|
+
value: { kind: "Variable", name: { kind: "Name", value: "id" } },
|
17009
|
+
},
|
17010
|
+
],
|
17011
|
+
selectionSet: {
|
17012
|
+
kind: "SelectionSet",
|
17013
|
+
selections: [
|
17014
|
+
{
|
17015
|
+
kind: "Field",
|
17016
|
+
name: { kind: "Name", value: "projects" },
|
17017
|
+
arguments: [
|
17018
|
+
{
|
17019
|
+
kind: "Argument",
|
17020
|
+
name: { kind: "Name", value: "after" },
|
17021
|
+
value: { kind: "Variable", name: { kind: "Name", value: "after" } },
|
17022
|
+
},
|
17023
|
+
{
|
17024
|
+
kind: "Argument",
|
17025
|
+
name: { kind: "Name", value: "before" },
|
17026
|
+
value: { kind: "Variable", name: { kind: "Name", value: "before" } },
|
17027
|
+
},
|
17028
|
+
{
|
17029
|
+
kind: "Argument",
|
17030
|
+
name: { kind: "Name", value: "filter" },
|
17031
|
+
value: { kind: "Variable", name: { kind: "Name", value: "filter" } },
|
17032
|
+
},
|
17033
|
+
{
|
17034
|
+
kind: "Argument",
|
17035
|
+
name: { kind: "Name", value: "first" },
|
17036
|
+
value: { kind: "Variable", name: { kind: "Name", value: "first" } },
|
17037
|
+
},
|
17038
|
+
{
|
17039
|
+
kind: "Argument",
|
17040
|
+
name: { kind: "Name", value: "includeArchived" },
|
17041
|
+
value: { kind: "Variable", name: { kind: "Name", value: "includeArchived" } },
|
17042
|
+
},
|
17043
|
+
{
|
17044
|
+
kind: "Argument",
|
17045
|
+
name: { kind: "Name", value: "last" },
|
17046
|
+
value: { kind: "Variable", name: { kind: "Name", value: "last" } },
|
17047
|
+
},
|
17048
|
+
{
|
17049
|
+
kind: "Argument",
|
17050
|
+
name: { kind: "Name", value: "orderBy" },
|
17051
|
+
value: { kind: "Variable", name: { kind: "Name", value: "orderBy" } },
|
17052
|
+
},
|
17053
|
+
],
|
17054
|
+
selectionSet: {
|
17055
|
+
kind: "SelectionSet",
|
17056
|
+
selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "ProjectConnection" } }],
|
17057
|
+
},
|
17058
|
+
},
|
17059
|
+
],
|
17060
|
+
},
|
17061
|
+
},
|
17062
|
+
],
|
17063
|
+
},
|
17064
|
+
},
|
17065
|
+
...ProjectConnectionFragmentDoc.definitions,
|
17066
|
+
...ProjectFragmentDoc.definitions,
|
17067
|
+
...ProjectStatusFragmentDoc.definitions,
|
17068
|
+
...PageInfoFragmentDoc.definitions,
|
17069
|
+
],
|
17070
|
+
};
|
17071
|
+
const InitiativeToProjectDocument = {
|
17072
|
+
kind: "Document",
|
17073
|
+
definitions: [
|
17074
|
+
{
|
17075
|
+
kind: "OperationDefinition",
|
17076
|
+
operation: "query",
|
17077
|
+
name: { kind: "Name", value: "initiativeToProject" },
|
17078
|
+
variableDefinitions: [
|
17079
|
+
{
|
17080
|
+
kind: "VariableDefinition",
|
17081
|
+
variable: { kind: "Variable", name: { kind: "Name", value: "id" } },
|
17082
|
+
type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "String" } } },
|
17083
|
+
},
|
17084
|
+
],
|
17085
|
+
selectionSet: {
|
17086
|
+
kind: "SelectionSet",
|
17087
|
+
selections: [
|
17088
|
+
{
|
17089
|
+
kind: "Field",
|
17090
|
+
name: { kind: "Name", value: "initiativeToProject" },
|
17091
|
+
arguments: [
|
17092
|
+
{
|
17093
|
+
kind: "Argument",
|
17094
|
+
name: { kind: "Name", value: "id" },
|
17095
|
+
value: { kind: "Variable", name: { kind: "Name", value: "id" } },
|
17096
|
+
},
|
17097
|
+
],
|
17098
|
+
selectionSet: {
|
17099
|
+
kind: "SelectionSet",
|
17100
|
+
selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "InitiativeToProject" } }],
|
17101
|
+
},
|
17102
|
+
},
|
17103
|
+
],
|
17104
|
+
},
|
17105
|
+
},
|
17106
|
+
...InitiativeToProjectFragmentDoc.definitions,
|
17107
|
+
],
|
17108
|
+
};
|
17109
|
+
const InitiativeToProjectsDocument = {
|
17110
|
+
kind: "Document",
|
17111
|
+
definitions: [
|
17112
|
+
{
|
17113
|
+
kind: "OperationDefinition",
|
17114
|
+
operation: "query",
|
17115
|
+
name: { kind: "Name", value: "initiativeToProjects" },
|
17116
|
+
variableDefinitions: [
|
17117
|
+
{
|
17118
|
+
kind: "VariableDefinition",
|
17119
|
+
variable: { kind: "Variable", name: { kind: "Name", value: "after" } },
|
17120
|
+
type: { kind: "NamedType", name: { kind: "Name", value: "String" } },
|
17121
|
+
},
|
17122
|
+
{
|
17123
|
+
kind: "VariableDefinition",
|
17124
|
+
variable: { kind: "Variable", name: { kind: "Name", value: "before" } },
|
17125
|
+
type: { kind: "NamedType", name: { kind: "Name", value: "String" } },
|
17126
|
+
},
|
17127
|
+
{
|
17128
|
+
kind: "VariableDefinition",
|
17129
|
+
variable: { kind: "Variable", name: { kind: "Name", value: "first" } },
|
17130
|
+
type: { kind: "NamedType", name: { kind: "Name", value: "Int" } },
|
17131
|
+
},
|
17132
|
+
{
|
17133
|
+
kind: "VariableDefinition",
|
17134
|
+
variable: { kind: "Variable", name: { kind: "Name", value: "includeArchived" } },
|
17135
|
+
type: { kind: "NamedType", name: { kind: "Name", value: "Boolean" } },
|
17136
|
+
},
|
17137
|
+
{
|
17138
|
+
kind: "VariableDefinition",
|
17139
|
+
variable: { kind: "Variable", name: { kind: "Name", value: "last" } },
|
17140
|
+
type: { kind: "NamedType", name: { kind: "Name", value: "Int" } },
|
17141
|
+
},
|
17142
|
+
{
|
17143
|
+
kind: "VariableDefinition",
|
17144
|
+
variable: { kind: "Variable", name: { kind: "Name", value: "orderBy" } },
|
17145
|
+
type: { kind: "NamedType", name: { kind: "Name", value: "PaginationOrderBy" } },
|
17146
|
+
},
|
17147
|
+
],
|
17148
|
+
selectionSet: {
|
17149
|
+
kind: "SelectionSet",
|
17150
|
+
selections: [
|
17151
|
+
{
|
17152
|
+
kind: "Field",
|
17153
|
+
name: { kind: "Name", value: "initiativeToProjects" },
|
17154
|
+
arguments: [
|
17155
|
+
{
|
17156
|
+
kind: "Argument",
|
17157
|
+
name: { kind: "Name", value: "after" },
|
17158
|
+
value: { kind: "Variable", name: { kind: "Name", value: "after" } },
|
17159
|
+
},
|
17160
|
+
{
|
17161
|
+
kind: "Argument",
|
17162
|
+
name: { kind: "Name", value: "before" },
|
17163
|
+
value: { kind: "Variable", name: { kind: "Name", value: "before" } },
|
17164
|
+
},
|
17165
|
+
{
|
17166
|
+
kind: "Argument",
|
17167
|
+
name: { kind: "Name", value: "first" },
|
17168
|
+
value: { kind: "Variable", name: { kind: "Name", value: "first" } },
|
17169
|
+
},
|
17170
|
+
{
|
17171
|
+
kind: "Argument",
|
17172
|
+
name: { kind: "Name", value: "includeArchived" },
|
17173
|
+
value: { kind: "Variable", name: { kind: "Name", value: "includeArchived" } },
|
17174
|
+
},
|
17175
|
+
{
|
17176
|
+
kind: "Argument",
|
17177
|
+
name: { kind: "Name", value: "last" },
|
17178
|
+
value: { kind: "Variable", name: { kind: "Name", value: "last" } },
|
17179
|
+
},
|
17180
|
+
{
|
17181
|
+
kind: "Argument",
|
17182
|
+
name: { kind: "Name", value: "orderBy" },
|
17183
|
+
value: { kind: "Variable", name: { kind: "Name", value: "orderBy" } },
|
17184
|
+
},
|
17185
|
+
],
|
17186
|
+
selectionSet: {
|
17187
|
+
kind: "SelectionSet",
|
17188
|
+
selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "InitiativeToProjectConnection" } }],
|
17189
|
+
},
|
17190
|
+
},
|
17191
|
+
],
|
17192
|
+
},
|
17193
|
+
},
|
17194
|
+
...InitiativeToProjectConnectionFragmentDoc.definitions,
|
17195
|
+
...InitiativeToProjectFragmentDoc.definitions,
|
17196
|
+
...PageInfoFragmentDoc.definitions,
|
17197
|
+
],
|
17198
|
+
};
|
17199
|
+
const InitiativesDocument = {
|
17200
|
+
kind: "Document",
|
17201
|
+
definitions: [
|
17202
|
+
{
|
17203
|
+
kind: "OperationDefinition",
|
17204
|
+
operation: "query",
|
17205
|
+
name: { kind: "Name", value: "initiatives" },
|
17206
|
+
variableDefinitions: [
|
17207
|
+
{
|
17208
|
+
kind: "VariableDefinition",
|
17209
|
+
variable: { kind: "Variable", name: { kind: "Name", value: "after" } },
|
17210
|
+
type: { kind: "NamedType", name: { kind: "Name", value: "String" } },
|
17211
|
+
},
|
17212
|
+
{
|
17213
|
+
kind: "VariableDefinition",
|
17214
|
+
variable: { kind: "Variable", name: { kind: "Name", value: "before" } },
|
17215
|
+
type: { kind: "NamedType", name: { kind: "Name", value: "String" } },
|
17216
|
+
},
|
17217
|
+
{
|
17218
|
+
kind: "VariableDefinition",
|
17219
|
+
variable: { kind: "Variable", name: { kind: "Name", value: "first" } },
|
17220
|
+
type: { kind: "NamedType", name: { kind: "Name", value: "Int" } },
|
17221
|
+
},
|
17222
|
+
{
|
17223
|
+
kind: "VariableDefinition",
|
17224
|
+
variable: { kind: "Variable", name: { kind: "Name", value: "includeArchived" } },
|
17225
|
+
type: { kind: "NamedType", name: { kind: "Name", value: "Boolean" } },
|
17226
|
+
},
|
17227
|
+
{
|
17228
|
+
kind: "VariableDefinition",
|
17229
|
+
variable: { kind: "Variable", name: { kind: "Name", value: "last" } },
|
17230
|
+
type: { kind: "NamedType", name: { kind: "Name", value: "Int" } },
|
17231
|
+
},
|
17232
|
+
{
|
17233
|
+
kind: "VariableDefinition",
|
17234
|
+
variable: { kind: "Variable", name: { kind: "Name", value: "orderBy" } },
|
17235
|
+
type: { kind: "NamedType", name: { kind: "Name", value: "PaginationOrderBy" } },
|
17236
|
+
},
|
17237
|
+
],
|
17238
|
+
selectionSet: {
|
17239
|
+
kind: "SelectionSet",
|
17240
|
+
selections: [
|
17241
|
+
{
|
17242
|
+
kind: "Field",
|
17243
|
+
name: { kind: "Name", value: "initiatives" },
|
17244
|
+
arguments: [
|
17245
|
+
{
|
17246
|
+
kind: "Argument",
|
17247
|
+
name: { kind: "Name", value: "after" },
|
17248
|
+
value: { kind: "Variable", name: { kind: "Name", value: "after" } },
|
17249
|
+
},
|
17250
|
+
{
|
17251
|
+
kind: "Argument",
|
17252
|
+
name: { kind: "Name", value: "before" },
|
17253
|
+
value: { kind: "Variable", name: { kind: "Name", value: "before" } },
|
17254
|
+
},
|
17255
|
+
{
|
17256
|
+
kind: "Argument",
|
17257
|
+
name: { kind: "Name", value: "first" },
|
17258
|
+
value: { kind: "Variable", name: { kind: "Name", value: "first" } },
|
17259
|
+
},
|
17260
|
+
{
|
17261
|
+
kind: "Argument",
|
17262
|
+
name: { kind: "Name", value: "includeArchived" },
|
17263
|
+
value: { kind: "Variable", name: { kind: "Name", value: "includeArchived" } },
|
17264
|
+
},
|
17265
|
+
{
|
17266
|
+
kind: "Argument",
|
17267
|
+
name: { kind: "Name", value: "last" },
|
17268
|
+
value: { kind: "Variable", name: { kind: "Name", value: "last" } },
|
17269
|
+
},
|
17270
|
+
{
|
17271
|
+
kind: "Argument",
|
17272
|
+
name: { kind: "Name", value: "orderBy" },
|
17273
|
+
value: { kind: "Variable", name: { kind: "Name", value: "orderBy" } },
|
17274
|
+
},
|
17275
|
+
],
|
17276
|
+
selectionSet: {
|
17277
|
+
kind: "SelectionSet",
|
17278
|
+
selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "InitiativeConnection" } }],
|
17279
|
+
},
|
17280
|
+
},
|
17281
|
+
],
|
17282
|
+
},
|
17283
|
+
},
|
17284
|
+
...InitiativeConnectionFragmentDoc.definitions,
|
17285
|
+
...InitiativeFragmentDoc.definitions,
|
17286
|
+
...PageInfoFragmentDoc.definitions,
|
17287
|
+
],
|
17288
|
+
};
|
17289
|
+
const IntegrationDocument = {
|
17290
|
+
kind: "Document",
|
17291
|
+
definitions: [
|
17292
|
+
{
|
17293
|
+
kind: "OperationDefinition",
|
17294
|
+
operation: "query",
|
17295
|
+
name: { kind: "Name", value: "integration" },
|
17296
|
+
variableDefinitions: [
|
17297
|
+
{
|
17298
|
+
kind: "VariableDefinition",
|
17299
|
+
variable: { kind: "Variable", name: { kind: "Name", value: "id" } },
|
17300
|
+
type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "String" } } },
|
17301
|
+
},
|
17302
|
+
],
|
17303
|
+
selectionSet: {
|
17304
|
+
kind: "SelectionSet",
|
17305
|
+
selections: [
|
17306
|
+
{
|
17307
|
+
kind: "Field",
|
17308
|
+
name: { kind: "Name", value: "integration" },
|
17309
|
+
arguments: [
|
17310
|
+
{
|
17311
|
+
kind: "Argument",
|
17312
|
+
name: { kind: "Name", value: "id" },
|
17313
|
+
value: { kind: "Variable", name: { kind: "Name", value: "id" } },
|
17314
|
+
},
|
17315
|
+
],
|
17316
|
+
selectionSet: {
|
17317
|
+
kind: "SelectionSet",
|
17318
|
+
selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "Integration" } }],
|
17319
|
+
},
|
17320
|
+
},
|
17321
|
+
],
|
17322
|
+
},
|
17323
|
+
},
|
17324
|
+
...IntegrationFragmentDoc.definitions,
|
17325
|
+
],
|
17326
|
+
};
|
17327
|
+
const IntegrationHasScopesDocument = {
|
17328
|
+
kind: "Document",
|
17329
|
+
definitions: [
|
17330
|
+
{
|
17331
|
+
kind: "OperationDefinition",
|
17332
|
+
operation: "query",
|
17333
|
+
name: { kind: "Name", value: "integrationHasScopes" },
|
17334
|
+
variableDefinitions: [
|
17335
|
+
{
|
17336
|
+
kind: "VariableDefinition",
|
17337
|
+
variable: { kind: "Variable", name: { kind: "Name", value: "integrationId" } },
|
17338
|
+
type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "String" } } },
|
17339
|
+
},
|
17340
|
+
{
|
17341
|
+
kind: "VariableDefinition",
|
17342
|
+
variable: { kind: "Variable", name: { kind: "Name", value: "scopes" } },
|
17343
|
+
type: {
|
17344
|
+
kind: "NonNullType",
|
17345
|
+
type: {
|
17346
|
+
kind: "ListType",
|
17347
|
+
type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "String" } } },
|
17348
|
+
},
|
17349
|
+
},
|
17350
|
+
},
|
17351
|
+
],
|
17352
|
+
selectionSet: {
|
17353
|
+
kind: "SelectionSet",
|
17354
|
+
selections: [
|
17355
|
+
{
|
17356
|
+
kind: "Field",
|
17357
|
+
name: { kind: "Name", value: "integrationHasScopes" },
|
17358
|
+
arguments: [
|
17359
|
+
{
|
17360
|
+
kind: "Argument",
|
17361
|
+
name: { kind: "Name", value: "integrationId" },
|
17362
|
+
value: { kind: "Variable", name: { kind: "Name", value: "integrationId" } },
|
17363
|
+
},
|
17364
|
+
{
|
17365
|
+
kind: "Argument",
|
17366
|
+
name: { kind: "Name", value: "scopes" },
|
17367
|
+
value: { kind: "Variable", name: { kind: "Name", value: "scopes" } },
|
17368
|
+
},
|
17369
|
+
],
|
17370
|
+
selectionSet: {
|
17371
|
+
kind: "SelectionSet",
|
17372
|
+
selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "IntegrationHasScopesPayload" } }],
|
17373
|
+
},
|
17374
|
+
},
|
17375
|
+
],
|
17376
|
+
},
|
17377
|
+
},
|
17378
|
+
...IntegrationHasScopesPayloadFragmentDoc.definitions,
|
17379
|
+
],
|
17380
|
+
};
|
17381
|
+
const IntegrationTemplateDocument = {
|
17382
|
+
kind: "Document",
|
17383
|
+
definitions: [
|
17384
|
+
{
|
17385
|
+
kind: "OperationDefinition",
|
17386
|
+
operation: "query",
|
17387
|
+
name: { kind: "Name", value: "integrationTemplate" },
|
17388
|
+
variableDefinitions: [
|
17389
|
+
{
|
17390
|
+
kind: "VariableDefinition",
|
17391
|
+
variable: { kind: "Variable", name: { kind: "Name", value: "id" } },
|
17392
|
+
type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "String" } } },
|
17393
|
+
},
|
17394
|
+
],
|
17395
|
+
selectionSet: {
|
17396
|
+
kind: "SelectionSet",
|
17397
|
+
selections: [
|
17398
|
+
{
|
17399
|
+
kind: "Field",
|
17400
|
+
name: { kind: "Name", value: "integrationTemplate" },
|
17401
|
+
arguments: [
|
17402
|
+
{
|
17403
|
+
kind: "Argument",
|
17404
|
+
name: { kind: "Name", value: "id" },
|
17405
|
+
value: { kind: "Variable", name: { kind: "Name", value: "id" } },
|
17406
|
+
},
|
17407
|
+
],
|
17408
|
+
selectionSet: {
|
17409
|
+
kind: "SelectionSet",
|
17410
|
+
selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "IntegrationTemplate" } }],
|
17411
|
+
},
|
17412
|
+
},
|
17413
|
+
],
|
17414
|
+
},
|
17415
|
+
},
|
17416
|
+
...IntegrationTemplateFragmentDoc.definitions,
|
17417
|
+
],
|
17418
|
+
};
|
17419
|
+
const IntegrationTemplatesDocument = {
|
17420
|
+
kind: "Document",
|
17421
|
+
definitions: [
|
17422
|
+
{
|
17423
|
+
kind: "OperationDefinition",
|
17424
|
+
operation: "query",
|
17425
|
+
name: { kind: "Name", value: "integrationTemplates" },
|
17426
|
+
variableDefinitions: [
|
16549
17427
|
{
|
16550
17428
|
kind: "VariableDefinition",
|
16551
17429
|
variable: { kind: "Variable", name: { kind: "Name", value: "after" } },
|
@@ -31455,6 +32333,342 @@
|
|
31455
32333
|
...UploadFileHeaderFragmentDoc.definitions,
|
31456
32334
|
],
|
31457
32335
|
};
|
32336
|
+
const ArchiveInitiativeDocument = {
|
32337
|
+
kind: "Document",
|
32338
|
+
definitions: [
|
32339
|
+
{
|
32340
|
+
kind: "OperationDefinition",
|
32341
|
+
operation: "mutation",
|
32342
|
+
name: { kind: "Name", value: "archiveInitiative" },
|
32343
|
+
variableDefinitions: [
|
32344
|
+
{
|
32345
|
+
kind: "VariableDefinition",
|
32346
|
+
variable: { kind: "Variable", name: { kind: "Name", value: "id" } },
|
32347
|
+
type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "String" } } },
|
32348
|
+
},
|
32349
|
+
],
|
32350
|
+
selectionSet: {
|
32351
|
+
kind: "SelectionSet",
|
32352
|
+
selections: [
|
32353
|
+
{
|
32354
|
+
kind: "Field",
|
32355
|
+
name: { kind: "Name", value: "initiativeArchive" },
|
32356
|
+
arguments: [
|
32357
|
+
{
|
32358
|
+
kind: "Argument",
|
32359
|
+
name: { kind: "Name", value: "id" },
|
32360
|
+
value: { kind: "Variable", name: { kind: "Name", value: "id" } },
|
32361
|
+
},
|
32362
|
+
],
|
32363
|
+
selectionSet: {
|
32364
|
+
kind: "SelectionSet",
|
32365
|
+
selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "InitiativeArchivePayload" } }],
|
32366
|
+
},
|
32367
|
+
},
|
32368
|
+
],
|
32369
|
+
},
|
32370
|
+
},
|
32371
|
+
...InitiativeArchivePayloadFragmentDoc.definitions,
|
32372
|
+
],
|
32373
|
+
};
|
32374
|
+
const CreateInitiativeDocument = {
|
32375
|
+
kind: "Document",
|
32376
|
+
definitions: [
|
32377
|
+
{
|
32378
|
+
kind: "OperationDefinition",
|
32379
|
+
operation: "mutation",
|
32380
|
+
name: { kind: "Name", value: "createInitiative" },
|
32381
|
+
variableDefinitions: [
|
32382
|
+
{
|
32383
|
+
kind: "VariableDefinition",
|
32384
|
+
variable: { kind: "Variable", name: { kind: "Name", value: "input" } },
|
32385
|
+
type: {
|
32386
|
+
kind: "NonNullType",
|
32387
|
+
type: { kind: "NamedType", name: { kind: "Name", value: "InitiativeCreateInput" } },
|
32388
|
+
},
|
32389
|
+
},
|
32390
|
+
],
|
32391
|
+
selectionSet: {
|
32392
|
+
kind: "SelectionSet",
|
32393
|
+
selections: [
|
32394
|
+
{
|
32395
|
+
kind: "Field",
|
32396
|
+
name: { kind: "Name", value: "initiativeCreate" },
|
32397
|
+
arguments: [
|
32398
|
+
{
|
32399
|
+
kind: "Argument",
|
32400
|
+
name: { kind: "Name", value: "input" },
|
32401
|
+
value: { kind: "Variable", name: { kind: "Name", value: "input" } },
|
32402
|
+
},
|
32403
|
+
],
|
32404
|
+
selectionSet: {
|
32405
|
+
kind: "SelectionSet",
|
32406
|
+
selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "InitiativePayload" } }],
|
32407
|
+
},
|
32408
|
+
},
|
32409
|
+
],
|
32410
|
+
},
|
32411
|
+
},
|
32412
|
+
...InitiativePayloadFragmentDoc.definitions,
|
32413
|
+
],
|
32414
|
+
};
|
32415
|
+
const DeleteInitiativeDocument = {
|
32416
|
+
kind: "Document",
|
32417
|
+
definitions: [
|
32418
|
+
{
|
32419
|
+
kind: "OperationDefinition",
|
32420
|
+
operation: "mutation",
|
32421
|
+
name: { kind: "Name", value: "deleteInitiative" },
|
32422
|
+
variableDefinitions: [
|
32423
|
+
{
|
32424
|
+
kind: "VariableDefinition",
|
32425
|
+
variable: { kind: "Variable", name: { kind: "Name", value: "id" } },
|
32426
|
+
type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "String" } } },
|
32427
|
+
},
|
32428
|
+
],
|
32429
|
+
selectionSet: {
|
32430
|
+
kind: "SelectionSet",
|
32431
|
+
selections: [
|
32432
|
+
{
|
32433
|
+
kind: "Field",
|
32434
|
+
name: { kind: "Name", value: "initiativeDelete" },
|
32435
|
+
arguments: [
|
32436
|
+
{
|
32437
|
+
kind: "Argument",
|
32438
|
+
name: { kind: "Name", value: "id" },
|
32439
|
+
value: { kind: "Variable", name: { kind: "Name", value: "id" } },
|
32440
|
+
},
|
32441
|
+
],
|
32442
|
+
selectionSet: {
|
32443
|
+
kind: "SelectionSet",
|
32444
|
+
selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "DeletePayload" } }],
|
32445
|
+
},
|
32446
|
+
},
|
32447
|
+
],
|
32448
|
+
},
|
32449
|
+
},
|
32450
|
+
...DeletePayloadFragmentDoc.definitions,
|
32451
|
+
],
|
32452
|
+
};
|
32453
|
+
const CreateInitiativeToProjectDocument = {
|
32454
|
+
kind: "Document",
|
32455
|
+
definitions: [
|
32456
|
+
{
|
32457
|
+
kind: "OperationDefinition",
|
32458
|
+
operation: "mutation",
|
32459
|
+
name: { kind: "Name", value: "createInitiativeToProject" },
|
32460
|
+
variableDefinitions: [
|
32461
|
+
{
|
32462
|
+
kind: "VariableDefinition",
|
32463
|
+
variable: { kind: "Variable", name: { kind: "Name", value: "input" } },
|
32464
|
+
type: {
|
32465
|
+
kind: "NonNullType",
|
32466
|
+
type: { kind: "NamedType", name: { kind: "Name", value: "InitiativeToProjectCreateInput" } },
|
32467
|
+
},
|
32468
|
+
},
|
32469
|
+
],
|
32470
|
+
selectionSet: {
|
32471
|
+
kind: "SelectionSet",
|
32472
|
+
selections: [
|
32473
|
+
{
|
32474
|
+
kind: "Field",
|
32475
|
+
name: { kind: "Name", value: "initiativeToProjectCreate" },
|
32476
|
+
arguments: [
|
32477
|
+
{
|
32478
|
+
kind: "Argument",
|
32479
|
+
name: { kind: "Name", value: "input" },
|
32480
|
+
value: { kind: "Variable", name: { kind: "Name", value: "input" } },
|
32481
|
+
},
|
32482
|
+
],
|
32483
|
+
selectionSet: {
|
32484
|
+
kind: "SelectionSet",
|
32485
|
+
selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "InitiativeToProjectPayload" } }],
|
32486
|
+
},
|
32487
|
+
},
|
32488
|
+
],
|
32489
|
+
},
|
32490
|
+
},
|
32491
|
+
...InitiativeToProjectPayloadFragmentDoc.definitions,
|
32492
|
+
],
|
32493
|
+
};
|
32494
|
+
const DeleteInitiativeToProjectDocument = {
|
32495
|
+
kind: "Document",
|
32496
|
+
definitions: [
|
32497
|
+
{
|
32498
|
+
kind: "OperationDefinition",
|
32499
|
+
operation: "mutation",
|
32500
|
+
name: { kind: "Name", value: "deleteInitiativeToProject" },
|
32501
|
+
variableDefinitions: [
|
32502
|
+
{
|
32503
|
+
kind: "VariableDefinition",
|
32504
|
+
variable: { kind: "Variable", name: { kind: "Name", value: "id" } },
|
32505
|
+
type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "String" } } },
|
32506
|
+
},
|
32507
|
+
],
|
32508
|
+
selectionSet: {
|
32509
|
+
kind: "SelectionSet",
|
32510
|
+
selections: [
|
32511
|
+
{
|
32512
|
+
kind: "Field",
|
32513
|
+
name: { kind: "Name", value: "initiativeToProjectDelete" },
|
32514
|
+
arguments: [
|
32515
|
+
{
|
32516
|
+
kind: "Argument",
|
32517
|
+
name: { kind: "Name", value: "id" },
|
32518
|
+
value: { kind: "Variable", name: { kind: "Name", value: "id" } },
|
32519
|
+
},
|
32520
|
+
],
|
32521
|
+
selectionSet: {
|
32522
|
+
kind: "SelectionSet",
|
32523
|
+
selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "DeletePayload" } }],
|
32524
|
+
},
|
32525
|
+
},
|
32526
|
+
],
|
32527
|
+
},
|
32528
|
+
},
|
32529
|
+
...DeletePayloadFragmentDoc.definitions,
|
32530
|
+
],
|
32531
|
+
};
|
32532
|
+
const UpdateInitiativeToProjectDocument = {
|
32533
|
+
kind: "Document",
|
32534
|
+
definitions: [
|
32535
|
+
{
|
32536
|
+
kind: "OperationDefinition",
|
32537
|
+
operation: "mutation",
|
32538
|
+
name: { kind: "Name", value: "updateInitiativeToProject" },
|
32539
|
+
variableDefinitions: [
|
32540
|
+
{
|
32541
|
+
kind: "VariableDefinition",
|
32542
|
+
variable: { kind: "Variable", name: { kind: "Name", value: "id" } },
|
32543
|
+
type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "String" } } },
|
32544
|
+
},
|
32545
|
+
{
|
32546
|
+
kind: "VariableDefinition",
|
32547
|
+
variable: { kind: "Variable", name: { kind: "Name", value: "input" } },
|
32548
|
+
type: {
|
32549
|
+
kind: "NonNullType",
|
32550
|
+
type: { kind: "NamedType", name: { kind: "Name", value: "InitiativeToProjectUpdateInput" } },
|
32551
|
+
},
|
32552
|
+
},
|
32553
|
+
],
|
32554
|
+
selectionSet: {
|
32555
|
+
kind: "SelectionSet",
|
32556
|
+
selections: [
|
32557
|
+
{
|
32558
|
+
kind: "Field",
|
32559
|
+
name: { kind: "Name", value: "initiativeToProjectUpdate" },
|
32560
|
+
arguments: [
|
32561
|
+
{
|
32562
|
+
kind: "Argument",
|
32563
|
+
name: { kind: "Name", value: "id" },
|
32564
|
+
value: { kind: "Variable", name: { kind: "Name", value: "id" } },
|
32565
|
+
},
|
32566
|
+
{
|
32567
|
+
kind: "Argument",
|
32568
|
+
name: { kind: "Name", value: "input" },
|
32569
|
+
value: { kind: "Variable", name: { kind: "Name", value: "input" } },
|
32570
|
+
},
|
32571
|
+
],
|
32572
|
+
selectionSet: {
|
32573
|
+
kind: "SelectionSet",
|
32574
|
+
selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "InitiativeToProjectPayload" } }],
|
32575
|
+
},
|
32576
|
+
},
|
32577
|
+
],
|
32578
|
+
},
|
32579
|
+
},
|
32580
|
+
...InitiativeToProjectPayloadFragmentDoc.definitions,
|
32581
|
+
],
|
32582
|
+
};
|
32583
|
+
const UnarchiveInitiativeDocument = {
|
32584
|
+
kind: "Document",
|
32585
|
+
definitions: [
|
32586
|
+
{
|
32587
|
+
kind: "OperationDefinition",
|
32588
|
+
operation: "mutation",
|
32589
|
+
name: { kind: "Name", value: "unarchiveInitiative" },
|
32590
|
+
variableDefinitions: [
|
32591
|
+
{
|
32592
|
+
kind: "VariableDefinition",
|
32593
|
+
variable: { kind: "Variable", name: { kind: "Name", value: "id" } },
|
32594
|
+
type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "String" } } },
|
32595
|
+
},
|
32596
|
+
],
|
32597
|
+
selectionSet: {
|
32598
|
+
kind: "SelectionSet",
|
32599
|
+
selections: [
|
32600
|
+
{
|
32601
|
+
kind: "Field",
|
32602
|
+
name: { kind: "Name", value: "initiativeUnarchive" },
|
32603
|
+
arguments: [
|
32604
|
+
{
|
32605
|
+
kind: "Argument",
|
32606
|
+
name: { kind: "Name", value: "id" },
|
32607
|
+
value: { kind: "Variable", name: { kind: "Name", value: "id" } },
|
32608
|
+
},
|
32609
|
+
],
|
32610
|
+
selectionSet: {
|
32611
|
+
kind: "SelectionSet",
|
32612
|
+
selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "InitiativeArchivePayload" } }],
|
32613
|
+
},
|
32614
|
+
},
|
32615
|
+
],
|
32616
|
+
},
|
32617
|
+
},
|
32618
|
+
...InitiativeArchivePayloadFragmentDoc.definitions,
|
32619
|
+
],
|
32620
|
+
};
|
32621
|
+
const UpdateInitiativeDocument = {
|
32622
|
+
kind: "Document",
|
32623
|
+
definitions: [
|
32624
|
+
{
|
32625
|
+
kind: "OperationDefinition",
|
32626
|
+
operation: "mutation",
|
32627
|
+
name: { kind: "Name", value: "updateInitiative" },
|
32628
|
+
variableDefinitions: [
|
32629
|
+
{
|
32630
|
+
kind: "VariableDefinition",
|
32631
|
+
variable: { kind: "Variable", name: { kind: "Name", value: "id" } },
|
32632
|
+
type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "String" } } },
|
32633
|
+
},
|
32634
|
+
{
|
32635
|
+
kind: "VariableDefinition",
|
32636
|
+
variable: { kind: "Variable", name: { kind: "Name", value: "input" } },
|
32637
|
+
type: {
|
32638
|
+
kind: "NonNullType",
|
32639
|
+
type: { kind: "NamedType", name: { kind: "Name", value: "InitiativeUpdateInput" } },
|
32640
|
+
},
|
32641
|
+
},
|
32642
|
+
],
|
32643
|
+
selectionSet: {
|
32644
|
+
kind: "SelectionSet",
|
32645
|
+
selections: [
|
32646
|
+
{
|
32647
|
+
kind: "Field",
|
32648
|
+
name: { kind: "Name", value: "initiativeUpdate" },
|
32649
|
+
arguments: [
|
32650
|
+
{
|
32651
|
+
kind: "Argument",
|
32652
|
+
name: { kind: "Name", value: "id" },
|
32653
|
+
value: { kind: "Variable", name: { kind: "Name", value: "id" } },
|
32654
|
+
},
|
32655
|
+
{
|
32656
|
+
kind: "Argument",
|
32657
|
+
name: { kind: "Name", value: "input" },
|
32658
|
+
value: { kind: "Variable", name: { kind: "Name", value: "input" } },
|
32659
|
+
},
|
32660
|
+
],
|
32661
|
+
selectionSet: {
|
32662
|
+
kind: "SelectionSet",
|
32663
|
+
selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "InitiativePayload" } }],
|
32664
|
+
},
|
32665
|
+
},
|
32666
|
+
],
|
32667
|
+
},
|
32668
|
+
},
|
32669
|
+
...InitiativePayloadFragmentDoc.definitions,
|
32670
|
+
],
|
32671
|
+
};
|
31458
32672
|
const ArchiveIntegrationDocument = {
|
31459
32673
|
kind: "Document",
|
31460
32674
|
definitions: [
|
@@ -31725,6 +32939,54 @@
|
|
31725
32939
|
...IntegrationPayloadFragmentDoc.definitions,
|
31726
32940
|
],
|
31727
32941
|
};
|
32942
|
+
const IntegrationGitHubEnterpriseServerConnectDocument = {
|
32943
|
+
kind: "Document",
|
32944
|
+
definitions: [
|
32945
|
+
{
|
32946
|
+
kind: "OperationDefinition",
|
32947
|
+
operation: "mutation",
|
32948
|
+
name: { kind: "Name", value: "integrationGitHubEnterpriseServerConnect" },
|
32949
|
+
variableDefinitions: [
|
32950
|
+
{
|
32951
|
+
kind: "VariableDefinition",
|
32952
|
+
variable: { kind: "Variable", name: { kind: "Name", value: "githubUrl" } },
|
32953
|
+
type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "String" } } },
|
32954
|
+
},
|
32955
|
+
{
|
32956
|
+
kind: "VariableDefinition",
|
32957
|
+
variable: { kind: "Variable", name: { kind: "Name", value: "organizationName" } },
|
32958
|
+
type: { kind: "NamedType", name: { kind: "Name", value: "String" } },
|
32959
|
+
},
|
32960
|
+
],
|
32961
|
+
selectionSet: {
|
32962
|
+
kind: "SelectionSet",
|
32963
|
+
selections: [
|
32964
|
+
{
|
32965
|
+
kind: "Field",
|
32966
|
+
name: { kind: "Name", value: "integrationGitHubEnterpriseServerConnect" },
|
32967
|
+
arguments: [
|
32968
|
+
{
|
32969
|
+
kind: "Argument",
|
32970
|
+
name: { kind: "Name", value: "githubUrl" },
|
32971
|
+
value: { kind: "Variable", name: { kind: "Name", value: "githubUrl" } },
|
32972
|
+
},
|
32973
|
+
{
|
32974
|
+
kind: "Argument",
|
32975
|
+
name: { kind: "Name", value: "organizationName" },
|
32976
|
+
value: { kind: "Variable", name: { kind: "Name", value: "organizationName" } },
|
32977
|
+
},
|
32978
|
+
],
|
32979
|
+
selectionSet: {
|
32980
|
+
kind: "SelectionSet",
|
32981
|
+
selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "GitHubEnterpriseServerPayload" } }],
|
32982
|
+
},
|
32983
|
+
},
|
32984
|
+
],
|
32985
|
+
},
|
32986
|
+
},
|
32987
|
+
...GitHubEnterpriseServerPayloadFragmentDoc.definitions,
|
32988
|
+
],
|
32989
|
+
};
|
31728
32990
|
const IntegrationGitHubPersonalDocument = {
|
31729
32991
|
kind: "Document",
|
31730
32992
|
definitions: [
|
@@ -33178,6 +34440,11 @@
|
|
33178
34440
|
variable: { kind: "Variable", name: { kind: "Name", value: "id" } },
|
33179
34441
|
type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "String" } } },
|
33180
34442
|
},
|
34443
|
+
{
|
34444
|
+
kind: "VariableDefinition",
|
34445
|
+
variable: { kind: "Variable", name: { kind: "Name", value: "permanentlyDelete" } },
|
34446
|
+
type: { kind: "NamedType", name: { kind: "Name", value: "Boolean" } },
|
34447
|
+
},
|
33181
34448
|
],
|
33182
34449
|
selectionSet: {
|
33183
34450
|
kind: "SelectionSet",
|
@@ -33191,6 +34458,11 @@
|
|
33191
34458
|
name: { kind: "Name", value: "id" },
|
33192
34459
|
value: { kind: "Variable", name: { kind: "Name", value: "id" } },
|
33193
34460
|
},
|
34461
|
+
{
|
34462
|
+
kind: "Argument",
|
34463
|
+
name: { kind: "Name", value: "permanentlyDelete" },
|
34464
|
+
value: { kind: "Variable", name: { kind: "Name", value: "permanentlyDelete" } },
|
34465
|
+
},
|
33194
34466
|
],
|
33195
34467
|
selectionSet: {
|
33196
34468
|
kind: "SelectionSet",
|
@@ -33574,7 +34846,7 @@
|
|
33574
34846
|
{
|
33575
34847
|
kind: "VariableDefinition",
|
33576
34848
|
variable: { kind: "Variable", name: { kind: "Name", value: "integrationId" } },
|
33577
|
-
type: { kind: "
|
34849
|
+
type: { kind: "NamedType", name: { kind: "Name", value: "String" } },
|
33578
34850
|
},
|
33579
34851
|
{
|
33580
34852
|
kind: "VariableDefinition",
|
@@ -38683,6 +39955,7 @@
|
|
38683
39955
|
get GitAutomationStates () { return GitAutomationStates; },
|
38684
39956
|
get GithubOrgType () { return GithubOrgType; },
|
38685
39957
|
get InitiativeStatus () { return InitiativeStatus; },
|
39958
|
+
get InitiativeTab () { return InitiativeTab; },
|
38686
39959
|
get IntegrationService () { return IntegrationService; },
|
38687
39960
|
get IssueRelationType () { return IssueRelationType; },
|
38688
39961
|
get OAuthClientApprovalStatus () { return OAuthClientApprovalStatus; },
|
@@ -38712,10 +39985,12 @@
|
|
38712
39985
|
get WorkflowTriggerType () { return WorkflowTriggerType; },
|
38713
39986
|
get WorkflowType () { return WorkflowType; },
|
38714
39987
|
EntityFragmentDoc: EntityFragmentDoc,
|
39988
|
+
CommentNotificationFragmentDoc: CommentNotificationFragmentDoc,
|
38715
39989
|
CustomViewNotificationSubscriptionFragmentDoc: CustomViewNotificationSubscriptionFragmentDoc,
|
38716
39990
|
CycleNotificationSubscriptionFragmentDoc: CycleNotificationSubscriptionFragmentDoc,
|
38717
39991
|
DocumentContentFragmentDoc: DocumentContentFragmentDoc,
|
38718
39992
|
DocumentContentHistoryFragmentDoc: DocumentContentHistoryFragmentDoc,
|
39993
|
+
DraftFragmentDoc: DraftFragmentDoc,
|
38719
39994
|
AttachmentArchivePayloadFragmentDoc: AttachmentArchivePayloadFragmentDoc,
|
38720
39995
|
CycleArchivePayloadFragmentDoc: CycleArchivePayloadFragmentDoc,
|
38721
39996
|
DeletePayloadFragmentDoc: DeletePayloadFragmentDoc,
|
@@ -38741,7 +40016,6 @@
|
|
38741
40016
|
ProjectNotificationSubscriptionFragmentDoc: ProjectNotificationSubscriptionFragmentDoc,
|
38742
40017
|
ReminderFragmentDoc: ReminderFragmentDoc,
|
38743
40018
|
TeamNotificationSubscriptionFragmentDoc: TeamNotificationSubscriptionFragmentDoc,
|
38744
|
-
TextDraftFragmentDoc: TextDraftFragmentDoc,
|
38745
40019
|
UserAccountFragmentDoc: UserAccountFragmentDoc,
|
38746
40020
|
UserNotificationSubscriptionFragmentDoc: UserNotificationSubscriptionFragmentDoc,
|
38747
40021
|
AuthOrganizationFragmentDoc: AuthOrganizationFragmentDoc,
|
@@ -38785,6 +40059,8 @@
|
|
38785
40059
|
SlackPostSettingsFragmentDoc: SlackPostSettingsFragmentDoc,
|
38786
40060
|
ZendeskSettingsFragmentDoc: ZendeskSettingsFragmentDoc,
|
38787
40061
|
IntegrationSettingsFragmentDoc: IntegrationSettingsFragmentDoc,
|
40062
|
+
InitiativePayloadFragmentDoc: InitiativePayloadFragmentDoc,
|
40063
|
+
InitiativeToProjectPayloadFragmentDoc: InitiativeToProjectPayloadFragmentDoc,
|
38788
40064
|
NotificationDeliveryPreferencesDayFragmentDoc: NotificationDeliveryPreferencesDayFragmentDoc,
|
38789
40065
|
NotificationDeliveryPreferencesScheduleFragmentDoc: NotificationDeliveryPreferencesScheduleFragmentDoc,
|
38790
40066
|
NotificationDeliveryPreferencesChannelFragmentDoc: NotificationDeliveryPreferencesChannelFragmentDoc,
|
@@ -38792,6 +40068,7 @@
|
|
38792
40068
|
UserSettingsFragmentDoc: UserSettingsFragmentDoc,
|
38793
40069
|
AuthenticationSessionFragmentDoc: AuthenticationSessionFragmentDoc,
|
38794
40070
|
IssueImportSyncCheckPayloadFragmentDoc: IssueImportSyncCheckPayloadFragmentDoc,
|
40071
|
+
TextDraftFragmentDoc: TextDraftFragmentDoc,
|
38795
40072
|
ApiKeyFragmentDoc: ApiKeyFragmentDoc,
|
38796
40073
|
PageInfoFragmentDoc: PageInfoFragmentDoc,
|
38797
40074
|
ApiKeyConnectionFragmentDoc: ApiKeyConnectionFragmentDoc,
|
@@ -38876,7 +40153,12 @@
|
|
38876
40153
|
GitAutomationStatePayloadFragmentDoc: GitAutomationStatePayloadFragmentDoc,
|
38877
40154
|
GitAutomationTargetBranchPayloadFragmentDoc: GitAutomationTargetBranchPayloadFragmentDoc,
|
38878
40155
|
GitHubCommitIntegrationPayloadFragmentDoc: GitHubCommitIntegrationPayloadFragmentDoc,
|
40156
|
+
GitHubEnterpriseServerPayloadFragmentDoc: GitHubEnterpriseServerPayloadFragmentDoc,
|
38879
40157
|
ImageUploadFromUrlPayloadFragmentDoc: ImageUploadFromUrlPayloadFragmentDoc,
|
40158
|
+
InitiativeFragmentDoc: InitiativeFragmentDoc,
|
40159
|
+
InitiativeConnectionFragmentDoc: InitiativeConnectionFragmentDoc,
|
40160
|
+
InitiativeToProjectFragmentDoc: InitiativeToProjectFragmentDoc,
|
40161
|
+
InitiativeToProjectConnectionFragmentDoc: InitiativeToProjectConnectionFragmentDoc,
|
38880
40162
|
IntegrationFragmentDoc: IntegrationFragmentDoc,
|
38881
40163
|
IntegrationConnectionFragmentDoc: IntegrationConnectionFragmentDoc,
|
38882
40164
|
IntegrationHasScopesPayloadFragmentDoc: IntegrationHasScopesPayloadFragmentDoc,
|
@@ -39067,6 +40349,12 @@
|
|
39067
40349
|
FavoriteDocument: FavoriteDocument,
|
39068
40350
|
Favorite_ChildrenDocument: Favorite_ChildrenDocument,
|
39069
40351
|
FavoritesDocument: FavoritesDocument,
|
40352
|
+
InitiativeDocument: InitiativeDocument,
|
40353
|
+
Initiative_LinksDocument: Initiative_LinksDocument,
|
40354
|
+
Initiative_ProjectsDocument: Initiative_ProjectsDocument,
|
40355
|
+
InitiativeToProjectDocument: InitiativeToProjectDocument,
|
40356
|
+
InitiativeToProjectsDocument: InitiativeToProjectsDocument,
|
40357
|
+
InitiativesDocument: InitiativesDocument,
|
39070
40358
|
IntegrationDocument: IntegrationDocument,
|
39071
40359
|
IntegrationHasScopesDocument: IntegrationHasScopesDocument,
|
39072
40360
|
IntegrationTemplateDocument: IntegrationTemplateDocument,
|
@@ -39270,12 +40558,21 @@
|
|
39270
40558
|
GoogleUserAccountAuthDocument: GoogleUserAccountAuthDocument,
|
39271
40559
|
ImageUploadFromUrlDocument: ImageUploadFromUrlDocument,
|
39272
40560
|
ImportFileUploadDocument: ImportFileUploadDocument,
|
40561
|
+
ArchiveInitiativeDocument: ArchiveInitiativeDocument,
|
40562
|
+
CreateInitiativeDocument: CreateInitiativeDocument,
|
40563
|
+
DeleteInitiativeDocument: DeleteInitiativeDocument,
|
40564
|
+
CreateInitiativeToProjectDocument: CreateInitiativeToProjectDocument,
|
40565
|
+
DeleteInitiativeToProjectDocument: DeleteInitiativeToProjectDocument,
|
40566
|
+
UpdateInitiativeToProjectDocument: UpdateInitiativeToProjectDocument,
|
40567
|
+
UnarchiveInitiativeDocument: UnarchiveInitiativeDocument,
|
40568
|
+
UpdateInitiativeDocument: UpdateInitiativeDocument,
|
39273
40569
|
ArchiveIntegrationDocument: ArchiveIntegrationDocument,
|
39274
40570
|
IntegrationAsksConnectChannelDocument: IntegrationAsksConnectChannelDocument,
|
39275
40571
|
DeleteIntegrationDocument: DeleteIntegrationDocument,
|
39276
40572
|
IntegrationDiscordDocument: IntegrationDiscordDocument,
|
39277
40573
|
IntegrationFigmaDocument: IntegrationFigmaDocument,
|
39278
40574
|
IntegrationFrontDocument: IntegrationFrontDocument,
|
40575
|
+
IntegrationGitHubEnterpriseServerConnectDocument: IntegrationGitHubEnterpriseServerConnectDocument,
|
39279
40576
|
IntegrationGitHubPersonalDocument: IntegrationGitHubPersonalDocument,
|
39280
40577
|
CreateIntegrationGithubCommitDocument: CreateIntegrationGithubCommitDocument,
|
39281
40578
|
IntegrationGithubConnectDocument: IntegrationGithubConnectDocument,
|
@@ -40045,6 +41342,7 @@
|
|
40045
41342
|
constructor(request, data) {
|
40046
41343
|
super(request);
|
40047
41344
|
this.importsBucketName = data.importsBucketName;
|
41345
|
+
this.region = data.region;
|
40048
41346
|
this.uploadsBucketName = data.uploadsBucketName;
|
40049
41347
|
}
|
40050
41348
|
}
|
@@ -40338,6 +41636,20 @@
|
|
40338
41636
|
super(request, fetch, data.nodes.map(node => new Comment(request, node)), new PageInfo(request, data.pageInfo));
|
40339
41637
|
}
|
40340
41638
|
}
|
41639
|
+
/**
|
41640
|
+
* A comment related notification.
|
41641
|
+
*
|
41642
|
+
* @param request - function to call the graphql client
|
41643
|
+
* @param data - L.CommentNotificationFragment response data
|
41644
|
+
*/
|
41645
|
+
class CommentNotification extends Request {
|
41646
|
+
constructor(request, data) {
|
41647
|
+
var _a, _b;
|
41648
|
+
super(request);
|
41649
|
+
this.commentId = (_a = data.commentId) !== null && _a !== void 0 ? _a : undefined;
|
41650
|
+
this.parentCommentId = (_b = data.parentCommentId) !== null && _b !== void 0 ? _b : undefined;
|
41651
|
+
}
|
41652
|
+
}
|
40341
41653
|
/**
|
40342
41654
|
* CommentPayload model
|
40343
41655
|
*
|
@@ -40981,7 +42293,7 @@
|
|
40981
42293
|
*/
|
40982
42294
|
class DocumentContent extends Request {
|
40983
42295
|
constructor(request, data) {
|
40984
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
42296
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
|
40985
42297
|
super(request);
|
40986
42298
|
this.archivedAt = (_a = parseDate(data.archivedAt)) !== null && _a !== void 0 ? _a : undefined;
|
40987
42299
|
this.content = (_b = data.content) !== null && _b !== void 0 ? _b : undefined;
|
@@ -40991,15 +42303,21 @@
|
|
40991
42303
|
this.restoredAt = (_e = parseDate(data.restoredAt)) !== null && _e !== void 0 ? _e : undefined;
|
40992
42304
|
this.updatedAt = (_f = parseDate(data.updatedAt)) !== null && _f !== void 0 ? _f : new Date();
|
40993
42305
|
this._document = (_g = data.document) !== null && _g !== void 0 ? _g : undefined;
|
40994
|
-
this.
|
40995
|
-
this.
|
40996
|
-
this.
|
42306
|
+
this._initiative = (_h = data.initiative) !== null && _h !== void 0 ? _h : undefined;
|
42307
|
+
this._issue = (_j = data.issue) !== null && _j !== void 0 ? _j : undefined;
|
42308
|
+
this._project = (_k = data.project) !== null && _k !== void 0 ? _k : undefined;
|
42309
|
+
this._projectMilestone = (_l = data.projectMilestone) !== null && _l !== void 0 ? _l : undefined;
|
40997
42310
|
}
|
40998
42311
|
/** The document that the content is associated with. */
|
40999
42312
|
get document() {
|
41000
42313
|
var _a, _b;
|
41001
42314
|
return ((_a = this._document) === null || _a === void 0 ? void 0 : _a.id) ? new DocumentQuery(this._request).fetch((_b = this._document) === null || _b === void 0 ? void 0 : _b.id) : undefined;
|
41002
42315
|
}
|
42316
|
+
/** The initiative that the content is associated with. */
|
42317
|
+
get initiative() {
|
42318
|
+
var _a, _b;
|
42319
|
+
return ((_a = this._initiative) === null || _a === void 0 ? void 0 : _a.id) ? new InitiativeQuery(this._request).fetch((_b = this._initiative) === null || _b === void 0 ? void 0 : _b.id) : undefined;
|
42320
|
+
}
|
41003
42321
|
/** The issue that the content is associated with. */
|
41004
42322
|
get issue() {
|
41005
42323
|
var _a, _b;
|
@@ -41074,20 +42392,22 @@
|
|
41074
42392
|
*/
|
41075
42393
|
class DocumentNotification extends Request {
|
41076
42394
|
constructor(request, data) {
|
41077
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
42395
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
|
41078
42396
|
super(request);
|
41079
42397
|
this.archivedAt = (_a = parseDate(data.archivedAt)) !== null && _a !== void 0 ? _a : undefined;
|
41080
|
-
this.
|
41081
|
-
this.
|
42398
|
+
this.commentId = (_b = data.commentId) !== null && _b !== void 0 ? _b : undefined;
|
42399
|
+
this.createdAt = (_c = parseDate(data.createdAt)) !== null && _c !== void 0 ? _c : new Date();
|
42400
|
+
this.emailedAt = (_d = parseDate(data.emailedAt)) !== null && _d !== void 0 ? _d : undefined;
|
41082
42401
|
this.id = data.id;
|
41083
|
-
this.
|
41084
|
-
this.
|
42402
|
+
this.parentCommentId = (_e = data.parentCommentId) !== null && _e !== void 0 ? _e : undefined;
|
42403
|
+
this.readAt = (_f = parseDate(data.readAt)) !== null && _f !== void 0 ? _f : undefined;
|
42404
|
+
this.snoozedUntilAt = (_g = parseDate(data.snoozedUntilAt)) !== null && _g !== void 0 ? _g : undefined;
|
41085
42405
|
this.type = data.type;
|
41086
|
-
this.unsnoozedAt = (
|
41087
|
-
this.updatedAt = (
|
42406
|
+
this.unsnoozedAt = (_h = parseDate(data.unsnoozedAt)) !== null && _h !== void 0 ? _h : undefined;
|
42407
|
+
this.updatedAt = (_j = parseDate(data.updatedAt)) !== null && _j !== void 0 ? _j : new Date();
|
41088
42408
|
this.botActor = data.botActor ? new ActorBot(request, data.botActor) : undefined;
|
41089
|
-
this._actor = (
|
41090
|
-
this._externalUserActor = (
|
42409
|
+
this._actor = (_k = data.actor) !== null && _k !== void 0 ? _k : undefined;
|
42410
|
+
this._externalUserActor = (_l = data.externalUserActor) !== null && _l !== void 0 ? _l : undefined;
|
41091
42411
|
this._user = data.user;
|
41092
42412
|
}
|
41093
42413
|
/** The user that caused the notification. */
|
@@ -41202,6 +42522,54 @@
|
|
41202
42522
|
super(request, fetch, data.nodes.map(node => new DocumentSearchResult(request, node)), new PageInfo(request, data.pageInfo));
|
41203
42523
|
}
|
41204
42524
|
}
|
42525
|
+
/**
|
42526
|
+
* A general purpose draft. Used for comments, project updates, etc.
|
42527
|
+
*
|
42528
|
+
* @param request - function to call the graphql client
|
42529
|
+
* @param data - L.DraftFragment response data
|
42530
|
+
*/
|
42531
|
+
class Draft extends Request {
|
42532
|
+
constructor(request, data) {
|
42533
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
42534
|
+
super(request);
|
42535
|
+
this.archivedAt = (_a = parseDate(data.archivedAt)) !== null && _a !== void 0 ? _a : undefined;
|
42536
|
+
this.bodyData = (_b = parseJson(data.bodyData)) !== null && _b !== void 0 ? _b : {};
|
42537
|
+
this.createdAt = (_c = parseDate(data.createdAt)) !== null && _c !== void 0 ? _c : new Date();
|
42538
|
+
this.data = (_d = data.data) !== null && _d !== void 0 ? _d : undefined;
|
42539
|
+
this.id = data.id;
|
42540
|
+
this.isAutogenerated = data.isAutogenerated;
|
42541
|
+
this.updatedAt = (_e = parseDate(data.updatedAt)) !== null && _e !== void 0 ? _e : new Date();
|
42542
|
+
this._issue = (_f = data.issue) !== null && _f !== void 0 ? _f : undefined;
|
42543
|
+
this._parentComment = (_g = data.parentComment) !== null && _g !== void 0 ? _g : undefined;
|
42544
|
+
this._project = (_h = data.project) !== null && _h !== void 0 ? _h : undefined;
|
42545
|
+
this._projectUpdate = (_j = data.projectUpdate) !== null && _j !== void 0 ? _j : undefined;
|
42546
|
+
this._user = data.user;
|
42547
|
+
}
|
42548
|
+
/** The issue for which this is a draft comment. */
|
42549
|
+
get issue() {
|
42550
|
+
var _a, _b;
|
42551
|
+
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;
|
42552
|
+
}
|
42553
|
+
/** The comment for which this is a draft comment reply. */
|
42554
|
+
get parentComment() {
|
42555
|
+
var _a, _b;
|
42556
|
+
return ((_a = this._parentComment) === null || _a === void 0 ? void 0 : _a.id) ? new CommentQuery(this._request).fetch({ id: (_b = this._parentComment) === null || _b === void 0 ? void 0 : _b.id }) : undefined;
|
42557
|
+
}
|
42558
|
+
/** The project for which this is a draft project update. */
|
42559
|
+
get project() {
|
42560
|
+
var _a, _b;
|
42561
|
+
return ((_a = this._project) === null || _a === void 0 ? void 0 : _a.id) ? new ProjectQuery(this._request).fetch((_b = this._project) === null || _b === void 0 ? void 0 : _b.id) : undefined;
|
42562
|
+
}
|
42563
|
+
/** The project update for which this is a draft comment. */
|
42564
|
+
get projectUpdate() {
|
42565
|
+
var _a, _b;
|
42566
|
+
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;
|
42567
|
+
}
|
42568
|
+
/** The user who created the draft. */
|
42569
|
+
get user() {
|
42570
|
+
return new UserQuery(this._request).fetch(this._user.id);
|
42571
|
+
}
|
42572
|
+
}
|
41205
42573
|
/**
|
41206
42574
|
* An email address that can be used for submitting issues.
|
41207
42575
|
*
|
@@ -41392,11 +42760,16 @@
|
|
41392
42760
|
this.updatedAt = (_c = parseDate(data.updatedAt)) !== null && _c !== void 0 ? _c : new Date();
|
41393
42761
|
this.url = data.url;
|
41394
42762
|
this._creator = data.creator;
|
42763
|
+
this._initiative = data.initiative;
|
41395
42764
|
}
|
41396
42765
|
/** The user who created the link. */
|
41397
42766
|
get creator() {
|
41398
42767
|
return new UserQuery(this._request).fetch(this._creator.id);
|
41399
42768
|
}
|
42769
|
+
/** The initiative that the link is associated with. */
|
42770
|
+
get initiative() {
|
42771
|
+
return new InitiativeQuery(this._request).fetch(this._initiative.id);
|
42772
|
+
}
|
41400
42773
|
/** Creates a new entity link. */
|
41401
42774
|
create(input) {
|
41402
42775
|
return new CreateEntityExternalLinkMutation(this._request).fetch(input);
|
@@ -41485,7 +42858,7 @@
|
|
41485
42858
|
*/
|
41486
42859
|
class Facet extends Request {
|
41487
42860
|
constructor(request, data) {
|
41488
|
-
var _a, _b, _c, _d, _e, _f, _g;
|
42861
|
+
var _a, _b, _c, _d, _e, _f, _g, _h;
|
41489
42862
|
super(request);
|
41490
42863
|
this.archivedAt = (_a = parseDate(data.archivedAt)) !== null && _a !== void 0 ? _a : undefined;
|
41491
42864
|
this.createdAt = (_b = parseDate(data.createdAt)) !== null && _b !== void 0 ? _b : new Date();
|
@@ -41493,9 +42866,17 @@
|
|
41493
42866
|
this.sortOrder = data.sortOrder;
|
41494
42867
|
this.updatedAt = (_c = parseDate(data.updatedAt)) !== null && _c !== void 0 ? _c : new Date();
|
41495
42868
|
this.sourcePage = (_d = data.sourcePage) !== null && _d !== void 0 ? _d : undefined;
|
41496
|
-
this.
|
41497
|
-
this.
|
41498
|
-
this.
|
42869
|
+
this._sourceInitiative = (_e = data.sourceInitiative) !== null && _e !== void 0 ? _e : undefined;
|
42870
|
+
this._sourceProject = (_f = data.sourceProject) !== null && _f !== void 0 ? _f : undefined;
|
42871
|
+
this._sourceTeam = (_g = data.sourceTeam) !== null && _g !== void 0 ? _g : undefined;
|
42872
|
+
this._targetCustomView = (_h = data.targetCustomView) !== null && _h !== void 0 ? _h : undefined;
|
42873
|
+
}
|
42874
|
+
/** The owning initiative. */
|
42875
|
+
get sourceInitiative() {
|
42876
|
+
var _a, _b;
|
42877
|
+
return ((_a = this._sourceInitiative) === null || _a === void 0 ? void 0 : _a.id)
|
42878
|
+
? new InitiativeQuery(this._request).fetch((_b = this._sourceInitiative) === null || _b === void 0 ? void 0 : _b.id)
|
42879
|
+
: undefined;
|
41499
42880
|
}
|
41500
42881
|
/** The owning organization. */
|
41501
42882
|
get sourceOrganization() {
|
@@ -41539,7 +42920,7 @@
|
|
41539
42920
|
*/
|
41540
42921
|
class Favorite extends Request {
|
41541
42922
|
constructor(request, data) {
|
41542
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s;
|
42923
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u;
|
41543
42924
|
super(request);
|
41544
42925
|
this.archivedAt = (_a = parseDate(data.archivedAt)) !== null && _a !== void 0 ? _a : undefined;
|
41545
42926
|
this.createdAt = (_b = parseDate(data.createdAt)) !== null && _b !== void 0 ? _b : new Date();
|
@@ -41549,19 +42930,21 @@
|
|
41549
42930
|
this.sortOrder = data.sortOrder;
|
41550
42931
|
this.type = data.type;
|
41551
42932
|
this.updatedAt = (_e = parseDate(data.updatedAt)) !== null && _e !== void 0 ? _e : new Date();
|
41552
|
-
this.
|
41553
|
-
this.
|
41554
|
-
this.
|
41555
|
-
this.
|
41556
|
-
this.
|
41557
|
-
this.
|
42933
|
+
this.url = (_f = data.url) !== null && _f !== void 0 ? _f : undefined;
|
42934
|
+
this.initiativeTab = (_g = data.initiativeTab) !== null && _g !== void 0 ? _g : undefined;
|
42935
|
+
this.projectTab = (_h = data.projectTab) !== null && _h !== void 0 ? _h : undefined;
|
42936
|
+
this._customView = (_j = data.customView) !== null && _j !== void 0 ? _j : undefined;
|
42937
|
+
this._cycle = (_k = data.cycle) !== null && _k !== void 0 ? _k : undefined;
|
42938
|
+
this._document = (_l = data.document) !== null && _l !== void 0 ? _l : undefined;
|
42939
|
+
this._issue = (_m = data.issue) !== null && _m !== void 0 ? _m : undefined;
|
42940
|
+
this._label = (_o = data.label) !== null && _o !== void 0 ? _o : undefined;
|
41558
42941
|
this._owner = data.owner;
|
41559
|
-
this._parent = (
|
41560
|
-
this._predefinedViewTeam = (
|
41561
|
-
this._project = (
|
41562
|
-
this._projectTeam = (
|
41563
|
-
this._roadmap = (
|
41564
|
-
this._user = (
|
42942
|
+
this._parent = (_p = data.parent) !== null && _p !== void 0 ? _p : undefined;
|
42943
|
+
this._predefinedViewTeam = (_q = data.predefinedViewTeam) !== null && _q !== void 0 ? _q : undefined;
|
42944
|
+
this._project = (_r = data.project) !== null && _r !== void 0 ? _r : undefined;
|
42945
|
+
this._projectTeam = (_s = data.projectTeam) !== null && _s !== void 0 ? _s : undefined;
|
42946
|
+
this._roadmap = (_t = data.roadmap) !== null && _t !== void 0 ? _t : undefined;
|
42947
|
+
this._user = (_u = data.user) !== null && _u !== void 0 ? _u : undefined;
|
41565
42948
|
}
|
41566
42949
|
/** The favorited custom view. */
|
41567
42950
|
get customView() {
|
@@ -41607,7 +42990,7 @@
|
|
41607
42990
|
var _a, _b;
|
41608
42991
|
return ((_a = this._project) === null || _a === void 0 ? void 0 : _a.id) ? new ProjectQuery(this._request).fetch((_b = this._project) === null || _b === void 0 ? void 0 : _b.id) : undefined;
|
41609
42992
|
}
|
41610
|
-
/** The favorited team of the project. */
|
42993
|
+
/** [DEPRECATED] The favorited team of the project. */
|
41611
42994
|
get projectTeam() {
|
41612
42995
|
var _a, _b;
|
41613
42996
|
return ((_a = this._projectTeam) === null || _a === void 0 ? void 0 : _a.id) ? new TeamQuery(this._request).fetch((_b = this._projectTeam) === null || _b === void 0 ? void 0 : _b.id) : undefined;
|
@@ -41944,6 +43327,28 @@
|
|
41944
43327
|
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;
|
41945
43328
|
}
|
41946
43329
|
}
|
43330
|
+
/**
|
43331
|
+
* GitHubEnterpriseServerPayload model
|
43332
|
+
*
|
43333
|
+
* @param request - function to call the graphql client
|
43334
|
+
* @param data - L.GitHubEnterpriseServerPayloadFragment response data
|
43335
|
+
*/
|
43336
|
+
class GitHubEnterpriseServerPayload extends Request {
|
43337
|
+
constructor(request, data) {
|
43338
|
+
var _a;
|
43339
|
+
super(request);
|
43340
|
+
this.lastSyncId = data.lastSyncId;
|
43341
|
+
this.setupUrl = data.setupUrl;
|
43342
|
+
this.success = data.success;
|
43343
|
+
this.webhookSecret = data.webhookSecret;
|
43344
|
+
this._integration = (_a = data.integration) !== null && _a !== void 0 ? _a : undefined;
|
43345
|
+
}
|
43346
|
+
/** The integration that was created or updated. */
|
43347
|
+
get integration() {
|
43348
|
+
var _a, _b;
|
43349
|
+
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;
|
43350
|
+
}
|
43351
|
+
}
|
41947
43352
|
/**
|
41948
43353
|
* Metadata and settings for a GitHub import integration.
|
41949
43354
|
*
|
@@ -41992,15 +43397,15 @@
|
|
41992
43397
|
*/
|
41993
43398
|
class GitHubSettings extends Request {
|
41994
43399
|
constructor(request, data) {
|
41995
|
-
var _a;
|
43400
|
+
var _a, _b;
|
41996
43401
|
super(request);
|
41997
|
-
this.orgAvatarUrl = data.orgAvatarUrl;
|
43402
|
+
this.orgAvatarUrl = (_a = data.orgAvatarUrl) !== null && _a !== void 0 ? _a : undefined;
|
41998
43403
|
this.orgLogin = data.orgLogin;
|
41999
43404
|
this.repositories = data.repositories ? data.repositories.map(node => new GitHubRepo(request, node)) : undefined;
|
42000
43405
|
this.repositoriesMapping = data.repositoriesMapping
|
42001
43406
|
? data.repositoriesMapping.map(node => new TeamRepoMapping(request, node))
|
42002
43407
|
: undefined;
|
42003
|
-
this.orgType = (
|
43408
|
+
this.orgType = (_b = data.orgType) !== null && _b !== void 0 ? _b : undefined;
|
42004
43409
|
}
|
42005
43410
|
}
|
42006
43411
|
/**
|
@@ -42049,6 +43454,74 @@
|
|
42049
43454
|
this.url = (_a = data.url) !== null && _a !== void 0 ? _a : undefined;
|
42050
43455
|
}
|
42051
43456
|
}
|
43457
|
+
/**
|
43458
|
+
* An initiative to group projects.
|
43459
|
+
*
|
43460
|
+
* @param request - function to call the graphql client
|
43461
|
+
* @param data - L.InitiativeFragment response data
|
43462
|
+
*/
|
43463
|
+
class Initiative extends Request {
|
43464
|
+
constructor(request, data) {
|
43465
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
43466
|
+
super(request);
|
43467
|
+
this.archivedAt = (_a = parseDate(data.archivedAt)) !== null && _a !== void 0 ? _a : undefined;
|
43468
|
+
this.color = (_b = data.color) !== null && _b !== void 0 ? _b : undefined;
|
43469
|
+
this.createdAt = (_c = parseDate(data.createdAt)) !== null && _c !== void 0 ? _c : new Date();
|
43470
|
+
this.description = (_d = data.description) !== null && _d !== void 0 ? _d : undefined;
|
43471
|
+
this.icon = (_e = data.icon) !== null && _e !== void 0 ? _e : undefined;
|
43472
|
+
this.id = data.id;
|
43473
|
+
this.name = data.name;
|
43474
|
+
this.slugId = data.slugId;
|
43475
|
+
this.sortOrder = data.sortOrder;
|
43476
|
+
this.targetDate = (_f = data.targetDate) !== null && _f !== void 0 ? _f : undefined;
|
43477
|
+
this.trashed = (_g = data.trashed) !== null && _g !== void 0 ? _g : undefined;
|
43478
|
+
this.updatedAt = (_h = parseDate(data.updatedAt)) !== null && _h !== void 0 ? _h : new Date();
|
43479
|
+
this.status = data.status;
|
43480
|
+
this.targetDateResolution = (_j = data.targetDateResolution) !== null && _j !== void 0 ? _j : undefined;
|
43481
|
+
this._creator = data.creator;
|
43482
|
+
this._owner = data.owner;
|
43483
|
+
}
|
43484
|
+
/** The user who created the initiative. */
|
43485
|
+
get creator() {
|
43486
|
+
return new UserQuery(this._request).fetch(this._creator.id);
|
43487
|
+
}
|
43488
|
+
/** The organization of the initiative. */
|
43489
|
+
get organization() {
|
43490
|
+
return new OrganizationQuery(this._request).fetch();
|
43491
|
+
}
|
43492
|
+
/** The user who owns the initiative. */
|
43493
|
+
get owner() {
|
43494
|
+
return new UserQuery(this._request).fetch(this._owner.id);
|
43495
|
+
}
|
43496
|
+
/** Links associated with the initiative. */
|
43497
|
+
links(variables) {
|
43498
|
+
return new Initiative_LinksQuery(this._request, this.id, variables).fetch(variables);
|
43499
|
+
}
|
43500
|
+
/** Projects associated with the initiative. */
|
43501
|
+
projects(variables) {
|
43502
|
+
return new Initiative_ProjectsQuery(this._request, this.id, variables).fetch(variables);
|
43503
|
+
}
|
43504
|
+
/** Archives a initiative. */
|
43505
|
+
archive() {
|
43506
|
+
return new ArchiveInitiativeMutation(this._request).fetch(this.id);
|
43507
|
+
}
|
43508
|
+
/** Creates a new initiative. */
|
43509
|
+
create(input) {
|
43510
|
+
return new CreateInitiativeMutation(this._request).fetch(input);
|
43511
|
+
}
|
43512
|
+
/** Deletes (trashes) an initiative. */
|
43513
|
+
delete() {
|
43514
|
+
return new DeleteInitiativeMutation(this._request).fetch(this.id);
|
43515
|
+
}
|
43516
|
+
/** Unarchives a initiative. */
|
43517
|
+
unarchive() {
|
43518
|
+
return new UnarchiveInitiativeMutation(this._request).fetch(this.id);
|
43519
|
+
}
|
43520
|
+
/** Updates a initiative. */
|
43521
|
+
update(input) {
|
43522
|
+
return new UpdateInitiativeMutation(this._request).fetch(this.id, input);
|
43523
|
+
}
|
43524
|
+
}
|
42052
43525
|
/**
|
42053
43526
|
* A generic payload return from entity archive mutations.
|
42054
43527
|
*
|
@@ -42057,9 +43530,28 @@
|
|
42057
43530
|
*/
|
42058
43531
|
class InitiativeArchivePayload extends Request {
|
42059
43532
|
constructor(request, data) {
|
43533
|
+
var _a;
|
42060
43534
|
super(request);
|
42061
43535
|
this.lastSyncId = data.lastSyncId;
|
42062
43536
|
this.success = data.success;
|
43537
|
+
this._entity = (_a = data.entity) !== null && _a !== void 0 ? _a : undefined;
|
43538
|
+
}
|
43539
|
+
/** The archived/unarchived entity. Null if entity was deleted. */
|
43540
|
+
get entity() {
|
43541
|
+
var _a, _b;
|
43542
|
+
return ((_a = this._entity) === null || _a === void 0 ? void 0 : _a.id) ? new InitiativeQuery(this._request).fetch((_b = this._entity) === null || _b === void 0 ? void 0 : _b.id) : undefined;
|
43543
|
+
}
|
43544
|
+
}
|
43545
|
+
/**
|
43546
|
+
* InitiativeConnection model
|
43547
|
+
*
|
43548
|
+
* @param request - function to call the graphql client
|
43549
|
+
* @param fetch - function to trigger a refetch of this InitiativeConnection model
|
43550
|
+
* @param data - InitiativeConnection response data
|
43551
|
+
*/
|
43552
|
+
class InitiativeConnection extends Connection {
|
43553
|
+
constructor(request, fetch, data) {
|
43554
|
+
super(request, fetch, data.nodes.map(node => new Initiative(request, node)), new PageInfo(request, data.pageInfo));
|
42063
43555
|
}
|
42064
43556
|
}
|
42065
43557
|
/**
|
@@ -42070,20 +43562,22 @@
|
|
42070
43562
|
*/
|
42071
43563
|
class InitiativeNotification extends Request {
|
42072
43564
|
constructor(request, data) {
|
42073
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
43565
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
|
42074
43566
|
super(request);
|
42075
43567
|
this.archivedAt = (_a = parseDate(data.archivedAt)) !== null && _a !== void 0 ? _a : undefined;
|
42076
|
-
this.
|
42077
|
-
this.
|
43568
|
+
this.commentId = (_b = data.commentId) !== null && _b !== void 0 ? _b : undefined;
|
43569
|
+
this.createdAt = (_c = parseDate(data.createdAt)) !== null && _c !== void 0 ? _c : new Date();
|
43570
|
+
this.emailedAt = (_d = parseDate(data.emailedAt)) !== null && _d !== void 0 ? _d : undefined;
|
42078
43571
|
this.id = data.id;
|
42079
|
-
this.
|
42080
|
-
this.
|
43572
|
+
this.parentCommentId = (_e = data.parentCommentId) !== null && _e !== void 0 ? _e : undefined;
|
43573
|
+
this.readAt = (_f = parseDate(data.readAt)) !== null && _f !== void 0 ? _f : undefined;
|
43574
|
+
this.snoozedUntilAt = (_g = parseDate(data.snoozedUntilAt)) !== null && _g !== void 0 ? _g : undefined;
|
42081
43575
|
this.type = data.type;
|
42082
|
-
this.unsnoozedAt = (
|
42083
|
-
this.updatedAt = (
|
43576
|
+
this.unsnoozedAt = (_h = parseDate(data.unsnoozedAt)) !== null && _h !== void 0 ? _h : undefined;
|
43577
|
+
this.updatedAt = (_j = parseDate(data.updatedAt)) !== null && _j !== void 0 ? _j : new Date();
|
42084
43578
|
this.botActor = data.botActor ? new ActorBot(request, data.botActor) : undefined;
|
42085
|
-
this._actor = (
|
42086
|
-
this._externalUserActor = (
|
43579
|
+
this._actor = (_k = data.actor) !== null && _k !== void 0 ? _k : undefined;
|
43580
|
+
this._externalUserActor = (_l = data.externalUserActor) !== null && _l !== void 0 ? _l : undefined;
|
42087
43581
|
this._user = data.user;
|
42088
43582
|
}
|
42089
43583
|
/** The user that caused the notification. */
|
@@ -42103,6 +43597,93 @@
|
|
42103
43597
|
return new UserQuery(this._request).fetch(this._user.id);
|
42104
43598
|
}
|
42105
43599
|
}
|
43600
|
+
/**
|
43601
|
+
* The payload returned by the initiative mutations.
|
43602
|
+
*
|
43603
|
+
* @param request - function to call the graphql client
|
43604
|
+
* @param data - L.InitiativePayloadFragment response data
|
43605
|
+
*/
|
43606
|
+
class InitiativePayload extends Request {
|
43607
|
+
constructor(request, data) {
|
43608
|
+
super(request);
|
43609
|
+
this.lastSyncId = data.lastSyncId;
|
43610
|
+
this.success = data.success;
|
43611
|
+
this._initiative = data.initiative;
|
43612
|
+
}
|
43613
|
+
/** The initiative that was created or updated. */
|
43614
|
+
get initiative() {
|
43615
|
+
return new InitiativeQuery(this._request).fetch(this._initiative.id);
|
43616
|
+
}
|
43617
|
+
}
|
43618
|
+
/**
|
43619
|
+
* Join table between projects and initiatives.
|
43620
|
+
*
|
43621
|
+
* @param request - function to call the graphql client
|
43622
|
+
* @param data - L.InitiativeToProjectFragment response data
|
43623
|
+
*/
|
43624
|
+
class InitiativeToProject extends Request {
|
43625
|
+
constructor(request, data) {
|
43626
|
+
var _a, _b, _c;
|
43627
|
+
super(request);
|
43628
|
+
this.archivedAt = (_a = parseDate(data.archivedAt)) !== null && _a !== void 0 ? _a : undefined;
|
43629
|
+
this.createdAt = (_b = parseDate(data.createdAt)) !== null && _b !== void 0 ? _b : new Date();
|
43630
|
+
this.id = data.id;
|
43631
|
+
this.sortOrder = data.sortOrder;
|
43632
|
+
this.updatedAt = (_c = parseDate(data.updatedAt)) !== null && _c !== void 0 ? _c : new Date();
|
43633
|
+
this._initiative = data.initiative;
|
43634
|
+
this._project = data.project;
|
43635
|
+
}
|
43636
|
+
/** The initiative that the project is associated with. */
|
43637
|
+
get initiative() {
|
43638
|
+
return new InitiativeQuery(this._request).fetch(this._initiative.id);
|
43639
|
+
}
|
43640
|
+
/** The project that the initiative is associated with. */
|
43641
|
+
get project() {
|
43642
|
+
return new ProjectQuery(this._request).fetch(this._project.id);
|
43643
|
+
}
|
43644
|
+
/** Creates a new initiativeToProject join. */
|
43645
|
+
create(input) {
|
43646
|
+
return new CreateInitiativeToProjectMutation(this._request).fetch(input);
|
43647
|
+
}
|
43648
|
+
/** Deletes a initiativeToProject. */
|
43649
|
+
delete() {
|
43650
|
+
return new DeleteInitiativeToProjectMutation(this._request).fetch(this.id);
|
43651
|
+
}
|
43652
|
+
/** Updates a initiativeToProject. */
|
43653
|
+
update(input) {
|
43654
|
+
return new UpdateInitiativeToProjectMutation(this._request).fetch(this.id, input);
|
43655
|
+
}
|
43656
|
+
}
|
43657
|
+
/**
|
43658
|
+
* InitiativeToProjectConnection model
|
43659
|
+
*
|
43660
|
+
* @param request - function to call the graphql client
|
43661
|
+
* @param fetch - function to trigger a refetch of this InitiativeToProjectConnection model
|
43662
|
+
* @param data - InitiativeToProjectConnection response data
|
43663
|
+
*/
|
43664
|
+
class InitiativeToProjectConnection extends Connection {
|
43665
|
+
constructor(request, fetch, data) {
|
43666
|
+
super(request, fetch, data.nodes.map(node => new InitiativeToProject(request, node)), new PageInfo(request, data.pageInfo));
|
43667
|
+
}
|
43668
|
+
}
|
43669
|
+
/**
|
43670
|
+
* The result of a initiativeToProject mutation.
|
43671
|
+
*
|
43672
|
+
* @param request - function to call the graphql client
|
43673
|
+
* @param data - L.InitiativeToProjectPayloadFragment response data
|
43674
|
+
*/
|
43675
|
+
class InitiativeToProjectPayload extends Request {
|
43676
|
+
constructor(request, data) {
|
43677
|
+
super(request);
|
43678
|
+
this.lastSyncId = data.lastSyncId;
|
43679
|
+
this.success = data.success;
|
43680
|
+
this._initiativeToProject = data.initiativeToProject;
|
43681
|
+
}
|
43682
|
+
/** The initiativeToProject that was created or updated. */
|
43683
|
+
get initiativeToProject() {
|
43684
|
+
return new InitiativeToProjectQuery(this._request).fetch(this._initiativeToProject.id);
|
43685
|
+
}
|
43686
|
+
}
|
42106
43687
|
/**
|
42107
43688
|
* An integration with an external service.
|
42108
43689
|
*
|
@@ -42565,8 +44146,8 @@
|
|
42565
44146
|
return new CreateIssueMutation(this._request).fetch(input);
|
42566
44147
|
}
|
42567
44148
|
/** Deletes (trashes) an issue. */
|
42568
|
-
delete() {
|
42569
|
-
return new DeleteIssueMutation(this._request).fetch(this.id);
|
44149
|
+
delete(variables) {
|
44150
|
+
return new DeleteIssueMutation(this._request).fetch(this.id, variables);
|
42570
44151
|
}
|
42571
44152
|
/** Unarchives an issue. */
|
42572
44153
|
unarchive() {
|
@@ -42816,6 +44397,7 @@
|
|
42816
44397
|
this.createdAt = (_b = parseDate(data.createdAt)) !== null && _b !== void 0 ? _b : new Date();
|
42817
44398
|
this.creatorId = data.creatorId;
|
42818
44399
|
this.csvFileUrl = (_c = data.csvFileUrl) !== null && _c !== void 0 ? _c : undefined;
|
44400
|
+
this.displayName = data.displayName;
|
42819
44401
|
this.error = (_d = data.error) !== null && _d !== void 0 ? _d : undefined;
|
42820
44402
|
this.errorMetadata = (_e = data.errorMetadata) !== null && _e !== void 0 ? _e : undefined;
|
42821
44403
|
this.id = data.id;
|
@@ -42989,26 +44571,29 @@
|
|
42989
44571
|
*/
|
42990
44572
|
class IssueNotification extends Request {
|
42991
44573
|
constructor(request, data) {
|
42992
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
|
44574
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p;
|
42993
44575
|
super(request);
|
42994
44576
|
this.archivedAt = (_a = parseDate(data.archivedAt)) !== null && _a !== void 0 ? _a : undefined;
|
42995
|
-
this.
|
42996
|
-
this.
|
44577
|
+
this.commentId = (_b = data.commentId) !== null && _b !== void 0 ? _b : undefined;
|
44578
|
+
this.createdAt = (_c = parseDate(data.createdAt)) !== null && _c !== void 0 ? _c : new Date();
|
44579
|
+
this.emailedAt = (_d = parseDate(data.emailedAt)) !== null && _d !== void 0 ? _d : undefined;
|
42997
44580
|
this.id = data.id;
|
42998
|
-
this.
|
42999
|
-
this.
|
43000
|
-
this.
|
44581
|
+
this.parentCommentId = (_e = data.parentCommentId) !== null && _e !== void 0 ? _e : undefined;
|
44582
|
+
this.reactionEmoji = (_f = data.reactionEmoji) !== null && _f !== void 0 ? _f : undefined;
|
44583
|
+
this.readAt = (_g = parseDate(data.readAt)) !== null && _g !== void 0 ? _g : undefined;
|
44584
|
+
this.snoozedUntilAt = (_h = parseDate(data.snoozedUntilAt)) !== null && _h !== void 0 ? _h : undefined;
|
43001
44585
|
this.type = data.type;
|
43002
|
-
this.unsnoozedAt = (
|
43003
|
-
this.updatedAt = (
|
44586
|
+
this.unsnoozedAt = (_j = parseDate(data.unsnoozedAt)) !== null && _j !== void 0 ? _j : undefined;
|
44587
|
+
this.updatedAt = (_k = parseDate(data.updatedAt)) !== null && _k !== void 0 ? _k : new Date();
|
43004
44588
|
this.botActor = data.botActor ? new ActorBot(request, data.botActor) : undefined;
|
43005
44589
|
this.subscriptions = data.subscriptions
|
43006
44590
|
? data.subscriptions.map(node => new NotificationSubscription(request, node))
|
43007
44591
|
: undefined;
|
43008
|
-
this._actor = (
|
43009
|
-
this._comment = (
|
43010
|
-
this._externalUserActor = (
|
44592
|
+
this._actor = (_l = data.actor) !== null && _l !== void 0 ? _l : undefined;
|
44593
|
+
this._comment = (_m = data.comment) !== null && _m !== void 0 ? _m : undefined;
|
44594
|
+
this._externalUserActor = (_o = data.externalUserActor) !== null && _o !== void 0 ? _o : undefined;
|
43011
44595
|
this._issue = data.issue;
|
44596
|
+
this._parentComment = (_p = data.parentComment) !== null && _p !== void 0 ? _p : undefined;
|
43012
44597
|
this._team = data.team;
|
43013
44598
|
this._user = data.user;
|
43014
44599
|
}
|
@@ -43033,6 +44618,11 @@
|
|
43033
44618
|
get issue() {
|
43034
44619
|
return new IssueQuery(this._request).fetch(this._issue.id);
|
43035
44620
|
}
|
44621
|
+
/** The parent comment related to the notification, if a notification is a reply comment notification. */
|
44622
|
+
get parentComment() {
|
44623
|
+
var _a, _b;
|
44624
|
+
return ((_a = this._parentComment) === null || _a === void 0 ? void 0 : _a.id) ? new CommentQuery(this._request).fetch({ id: (_b = this._parentComment) === null || _b === void 0 ? void 0 : _b.id }) : undefined;
|
44625
|
+
}
|
43036
44626
|
/** The team related to the issue notification. */
|
43037
44627
|
get team() {
|
43038
44628
|
return new TeamQuery(this._request).fetch(this._team.id);
|
@@ -44702,22 +46292,26 @@
|
|
44702
46292
|
*/
|
44703
46293
|
class ProjectNotification extends Request {
|
44704
46294
|
constructor(request, data) {
|
44705
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
46295
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p;
|
44706
46296
|
super(request);
|
44707
46297
|
this.archivedAt = (_a = parseDate(data.archivedAt)) !== null && _a !== void 0 ? _a : undefined;
|
44708
|
-
this.
|
44709
|
-
this.
|
46298
|
+
this.commentId = (_b = data.commentId) !== null && _b !== void 0 ? _b : undefined;
|
46299
|
+
this.createdAt = (_c = parseDate(data.createdAt)) !== null && _c !== void 0 ? _c : new Date();
|
46300
|
+
this.emailedAt = (_d = parseDate(data.emailedAt)) !== null && _d !== void 0 ? _d : undefined;
|
44710
46301
|
this.id = data.id;
|
44711
|
-
this.
|
44712
|
-
this.
|
46302
|
+
this.parentCommentId = (_e = data.parentCommentId) !== null && _e !== void 0 ? _e : undefined;
|
46303
|
+
this.readAt = (_f = parseDate(data.readAt)) !== null && _f !== void 0 ? _f : undefined;
|
46304
|
+
this.snoozedUntilAt = (_g = parseDate(data.snoozedUntilAt)) !== null && _g !== void 0 ? _g : undefined;
|
44713
46305
|
this.type = data.type;
|
44714
|
-
this.unsnoozedAt = (
|
44715
|
-
this.updatedAt = (
|
46306
|
+
this.unsnoozedAt = (_h = parseDate(data.unsnoozedAt)) !== null && _h !== void 0 ? _h : undefined;
|
46307
|
+
this.updatedAt = (_j = parseDate(data.updatedAt)) !== null && _j !== void 0 ? _j : new Date();
|
44716
46308
|
this.botActor = data.botActor ? new ActorBot(request, data.botActor) : undefined;
|
44717
|
-
this._actor = (
|
44718
|
-
this.
|
46309
|
+
this._actor = (_k = data.actor) !== null && _k !== void 0 ? _k : undefined;
|
46310
|
+
this._comment = (_l = data.comment) !== null && _l !== void 0 ? _l : undefined;
|
46311
|
+
this._externalUserActor = (_m = data.externalUserActor) !== null && _m !== void 0 ? _m : undefined;
|
46312
|
+
this._parentComment = (_o = data.parentComment) !== null && _o !== void 0 ? _o : undefined;
|
44719
46313
|
this._project = data.project;
|
44720
|
-
this._projectUpdate = (
|
46314
|
+
this._projectUpdate = (_p = data.projectUpdate) !== null && _p !== void 0 ? _p : undefined;
|
44721
46315
|
this._user = data.user;
|
44722
46316
|
}
|
44723
46317
|
/** The user that caused the notification. */
|
@@ -44725,6 +46319,11 @@
|
|
44725
46319
|
var _a, _b;
|
44726
46320
|
return ((_a = this._actor) === null || _a === void 0 ? void 0 : _a.id) ? new UserQuery(this._request).fetch((_b = this._actor) === null || _b === void 0 ? void 0 : _b.id) : undefined;
|
44727
46321
|
}
|
46322
|
+
/** The comment related to the notification. */
|
46323
|
+
get comment() {
|
46324
|
+
var _a, _b;
|
46325
|
+
return ((_a = this._comment) === null || _a === void 0 ? void 0 : _a.id) ? new CommentQuery(this._request).fetch({ id: (_b = this._comment) === null || _b === void 0 ? void 0 : _b.id }) : undefined;
|
46326
|
+
}
|
44728
46327
|
/** The external user that caused the notification. */
|
44729
46328
|
get externalUserActor() {
|
44730
46329
|
var _a, _b;
|
@@ -44732,6 +46331,11 @@
|
|
44732
46331
|
? new ExternalUserQuery(this._request).fetch((_b = this._externalUserActor) === null || _b === void 0 ? void 0 : _b.id)
|
44733
46332
|
: undefined;
|
44734
46333
|
}
|
46334
|
+
/** The parent comment related to the notification, if a notification is a reply comment notification. */
|
46335
|
+
get parentComment() {
|
46336
|
+
var _a, _b;
|
46337
|
+
return ((_a = this._parentComment) === null || _a === void 0 ? void 0 : _a.id) ? new CommentQuery(this._request).fetch({ id: (_b = this._parentComment) === null || _b === void 0 ? void 0 : _b.id }) : undefined;
|
46338
|
+
}
|
44735
46339
|
/** The project related to the notification. */
|
44736
46340
|
get project() {
|
44737
46341
|
return new ProjectQuery(this._request).fetch(this._project.id);
|
@@ -45226,7 +46830,7 @@
|
|
45226
46830
|
}
|
45227
46831
|
}
|
45228
46832
|
/**
|
45229
|
-
* A user's web
|
46833
|
+
* A user's web or mobile push notification subscription.
|
45230
46834
|
*
|
45231
46835
|
* @param request - function to call the graphql client
|
45232
46836
|
* @param data - L.PushSubscriptionFragment response data
|
@@ -46319,25 +47923,26 @@
|
|
46319
47923
|
}
|
46320
47924
|
}
|
46321
47925
|
/**
|
46322
|
-
* A text draft, used for comments and project updates.
|
47926
|
+
* [DEPRECATED] A text draft, used for comments and project updates.
|
46323
47927
|
*
|
46324
47928
|
* @param request - function to call the graphql client
|
46325
47929
|
* @param data - L.TextDraftFragment response data
|
46326
47930
|
*/
|
46327
47931
|
class TextDraft extends Request {
|
46328
47932
|
constructor(request, data) {
|
46329
|
-
var _a, _b, _c, _d, _e, _f, _g, _h;
|
47933
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
46330
47934
|
super(request);
|
46331
47935
|
this.archivedAt = (_a = parseDate(data.archivedAt)) !== null && _a !== void 0 ? _a : undefined;
|
46332
47936
|
this.bodyData = (_b = parseJson(data.bodyData)) !== null && _b !== void 0 ? _b : {};
|
46333
47937
|
this.createdAt = (_c = parseDate(data.createdAt)) !== null && _c !== void 0 ? _c : new Date();
|
47938
|
+
this.data = (_d = data.data) !== null && _d !== void 0 ? _d : undefined;
|
46334
47939
|
this.id = data.id;
|
46335
47940
|
this.isAutogenerated = data.isAutogenerated;
|
46336
|
-
this.updatedAt = (
|
46337
|
-
this._issue = (
|
46338
|
-
this._parentComment = (
|
46339
|
-
this._project = (
|
46340
|
-
this._projectUpdate = (
|
47941
|
+
this.updatedAt = (_e = parseDate(data.updatedAt)) !== null && _e !== void 0 ? _e : new Date();
|
47942
|
+
this._issue = (_f = data.issue) !== null && _f !== void 0 ? _f : undefined;
|
47943
|
+
this._parentComment = (_g = data.parentComment) !== null && _g !== void 0 ? _g : undefined;
|
47944
|
+
this._project = (_h = data.project) !== null && _h !== void 0 ? _h : undefined;
|
47945
|
+
this._projectUpdate = (_j = data.projectUpdate) !== null && _j !== void 0 ? _j : undefined;
|
46341
47946
|
this._user = data.user;
|
46342
47947
|
}
|
46343
47948
|
/** The issue for which this is a draft comment. */
|
@@ -46601,6 +48206,7 @@
|
|
46601
48206
|
this.active = data.active;
|
46602
48207
|
this.admin = data.admin;
|
46603
48208
|
this.archivedAt = (_a = parseDate(data.archivedAt)) !== null && _a !== void 0 ? _a : undefined;
|
48209
|
+
this.avatarBackgroundColor = data.avatarBackgroundColor;
|
46604
48210
|
this.avatarUrl = (_b = data.avatarUrl) !== null && _b !== void 0 ? _b : undefined;
|
46605
48211
|
this.calendarHash = (_c = data.calendarHash) !== null && _c !== void 0 ? _c : undefined;
|
46606
48212
|
this.createdAt = (_d = parseDate(data.createdAt)) !== null && _d !== void 0 ? _d : new Date();
|
@@ -46611,6 +48217,7 @@
|
|
46611
48217
|
this.email = data.email;
|
46612
48218
|
this.guest = data.guest;
|
46613
48219
|
this.id = data.id;
|
48220
|
+
this.initials = data.initials;
|
46614
48221
|
this.inviteHash = data.inviteHash;
|
46615
48222
|
this.isMe = data.isMe;
|
46616
48223
|
this.lastSeen = (_g = parseDate(data.lastSeen)) !== null && _g !== void 0 ? _g : undefined;
|
@@ -47977,6 +49584,102 @@
|
|
47977
49584
|
});
|
47978
49585
|
}
|
47979
49586
|
}
|
49587
|
+
/**
|
49588
|
+
* A fetchable Initiative Query
|
49589
|
+
*
|
49590
|
+
* @param request - function to call the graphql client
|
49591
|
+
*/
|
49592
|
+
class InitiativeQuery extends Request {
|
49593
|
+
constructor(request) {
|
49594
|
+
super(request);
|
49595
|
+
}
|
49596
|
+
/**
|
49597
|
+
* Call the Initiative query and return a Initiative
|
49598
|
+
*
|
49599
|
+
* @param id - required id to pass to initiative
|
49600
|
+
* @returns parsed response from InitiativeQuery
|
49601
|
+
*/
|
49602
|
+
fetch(id) {
|
49603
|
+
return __awaiter(this, void 0, void 0, function* () {
|
49604
|
+
const response = yield this._request(InitiativeDocument, {
|
49605
|
+
id,
|
49606
|
+
});
|
49607
|
+
const data = response.initiative;
|
49608
|
+
return new Initiative(this._request, data);
|
49609
|
+
});
|
49610
|
+
}
|
49611
|
+
}
|
49612
|
+
/**
|
49613
|
+
* A fetchable InitiativeToProject Query
|
49614
|
+
*
|
49615
|
+
* @param request - function to call the graphql client
|
49616
|
+
*/
|
49617
|
+
class InitiativeToProjectQuery extends Request {
|
49618
|
+
constructor(request) {
|
49619
|
+
super(request);
|
49620
|
+
}
|
49621
|
+
/**
|
49622
|
+
* Call the InitiativeToProject query and return a InitiativeToProject
|
49623
|
+
*
|
49624
|
+
* @param id - required id to pass to initiativeToProject
|
49625
|
+
* @returns parsed response from InitiativeToProjectQuery
|
49626
|
+
*/
|
49627
|
+
fetch(id) {
|
49628
|
+
return __awaiter(this, void 0, void 0, function* () {
|
49629
|
+
const response = yield this._request(InitiativeToProjectDocument, {
|
49630
|
+
id,
|
49631
|
+
});
|
49632
|
+
const data = response.initiativeToProject;
|
49633
|
+
return new InitiativeToProject(this._request, data);
|
49634
|
+
});
|
49635
|
+
}
|
49636
|
+
}
|
49637
|
+
/**
|
49638
|
+
* A fetchable InitiativeToProjects Query
|
49639
|
+
*
|
49640
|
+
* @param request - function to call the graphql client
|
49641
|
+
*/
|
49642
|
+
class InitiativeToProjectsQuery extends Request {
|
49643
|
+
constructor(request) {
|
49644
|
+
super(request);
|
49645
|
+
}
|
49646
|
+
/**
|
49647
|
+
* Call the InitiativeToProjects query and return a InitiativeToProjectConnection
|
49648
|
+
*
|
49649
|
+
* @param variables - variables to pass into the InitiativeToProjectsQuery
|
49650
|
+
* @returns parsed response from InitiativeToProjectsQuery
|
49651
|
+
*/
|
49652
|
+
fetch(variables) {
|
49653
|
+
return __awaiter(this, void 0, void 0, function* () {
|
49654
|
+
const response = yield this._request(InitiativeToProjectsDocument, variables);
|
49655
|
+
const data = response.initiativeToProjects;
|
49656
|
+
return new InitiativeToProjectConnection(this._request, connection => this.fetch(defaultConnection(Object.assign(Object.assign({}, variables), connection))), data);
|
49657
|
+
});
|
49658
|
+
}
|
49659
|
+
}
|
49660
|
+
/**
|
49661
|
+
* A fetchable Initiatives Query
|
49662
|
+
*
|
49663
|
+
* @param request - function to call the graphql client
|
49664
|
+
*/
|
49665
|
+
class InitiativesQuery extends Request {
|
49666
|
+
constructor(request) {
|
49667
|
+
super(request);
|
49668
|
+
}
|
49669
|
+
/**
|
49670
|
+
* Call the Initiatives query and return a InitiativeConnection
|
49671
|
+
*
|
49672
|
+
* @param variables - variables to pass into the InitiativesQuery
|
49673
|
+
* @returns parsed response from InitiativesQuery
|
49674
|
+
*/
|
49675
|
+
fetch(variables) {
|
49676
|
+
return __awaiter(this, void 0, void 0, function* () {
|
49677
|
+
const response = yield this._request(InitiativesDocument, variables);
|
49678
|
+
const data = response.initiatives;
|
49679
|
+
return new InitiativeConnection(this._request, connection => this.fetch(defaultConnection(Object.assign(Object.assign({}, variables), connection))), data);
|
49680
|
+
});
|
49681
|
+
}
|
49682
|
+
}
|
47980
49683
|
/**
|
47981
49684
|
* A fetchable Integration Query
|
47982
49685
|
*
|
@@ -51308,6 +53011,210 @@
|
|
51308
53011
|
});
|
51309
53012
|
}
|
51310
53013
|
}
|
53014
|
+
/**
|
53015
|
+
* A fetchable ArchiveInitiative Mutation
|
53016
|
+
*
|
53017
|
+
* @param request - function to call the graphql client
|
53018
|
+
*/
|
53019
|
+
class ArchiveInitiativeMutation extends Request {
|
53020
|
+
constructor(request) {
|
53021
|
+
super(request);
|
53022
|
+
}
|
53023
|
+
/**
|
53024
|
+
* Call the ArchiveInitiative mutation and return a InitiativeArchivePayload
|
53025
|
+
*
|
53026
|
+
* @param id - required id to pass to archiveInitiative
|
53027
|
+
* @returns parsed response from ArchiveInitiativeMutation
|
53028
|
+
*/
|
53029
|
+
fetch(id) {
|
53030
|
+
return __awaiter(this, void 0, void 0, function* () {
|
53031
|
+
const response = yield this._request(ArchiveInitiativeDocument, {
|
53032
|
+
id,
|
53033
|
+
});
|
53034
|
+
const data = response.initiativeArchive;
|
53035
|
+
return new InitiativeArchivePayload(this._request, data);
|
53036
|
+
});
|
53037
|
+
}
|
53038
|
+
}
|
53039
|
+
/**
|
53040
|
+
* A fetchable CreateInitiative Mutation
|
53041
|
+
*
|
53042
|
+
* @param request - function to call the graphql client
|
53043
|
+
*/
|
53044
|
+
class CreateInitiativeMutation extends Request {
|
53045
|
+
constructor(request) {
|
53046
|
+
super(request);
|
53047
|
+
}
|
53048
|
+
/**
|
53049
|
+
* Call the CreateInitiative mutation and return a InitiativePayload
|
53050
|
+
*
|
53051
|
+
* @param input - required input to pass to createInitiative
|
53052
|
+
* @returns parsed response from CreateInitiativeMutation
|
53053
|
+
*/
|
53054
|
+
fetch(input) {
|
53055
|
+
return __awaiter(this, void 0, void 0, function* () {
|
53056
|
+
const response = yield this._request(CreateInitiativeDocument, {
|
53057
|
+
input,
|
53058
|
+
});
|
53059
|
+
const data = response.initiativeCreate;
|
53060
|
+
return new InitiativePayload(this._request, data);
|
53061
|
+
});
|
53062
|
+
}
|
53063
|
+
}
|
53064
|
+
/**
|
53065
|
+
* A fetchable DeleteInitiative Mutation
|
53066
|
+
*
|
53067
|
+
* @param request - function to call the graphql client
|
53068
|
+
*/
|
53069
|
+
class DeleteInitiativeMutation extends Request {
|
53070
|
+
constructor(request) {
|
53071
|
+
super(request);
|
53072
|
+
}
|
53073
|
+
/**
|
53074
|
+
* Call the DeleteInitiative mutation and return a DeletePayload
|
53075
|
+
*
|
53076
|
+
* @param id - required id to pass to deleteInitiative
|
53077
|
+
* @returns parsed response from DeleteInitiativeMutation
|
53078
|
+
*/
|
53079
|
+
fetch(id) {
|
53080
|
+
return __awaiter(this, void 0, void 0, function* () {
|
53081
|
+
const response = yield this._request(DeleteInitiativeDocument, {
|
53082
|
+
id,
|
53083
|
+
});
|
53084
|
+
const data = response.initiativeDelete;
|
53085
|
+
return new DeletePayload(this._request, data);
|
53086
|
+
});
|
53087
|
+
}
|
53088
|
+
}
|
53089
|
+
/**
|
53090
|
+
* A fetchable CreateInitiativeToProject Mutation
|
53091
|
+
*
|
53092
|
+
* @param request - function to call the graphql client
|
53093
|
+
*/
|
53094
|
+
class CreateInitiativeToProjectMutation extends Request {
|
53095
|
+
constructor(request) {
|
53096
|
+
super(request);
|
53097
|
+
}
|
53098
|
+
/**
|
53099
|
+
* Call the CreateInitiativeToProject mutation and return a InitiativeToProjectPayload
|
53100
|
+
*
|
53101
|
+
* @param input - required input to pass to createInitiativeToProject
|
53102
|
+
* @returns parsed response from CreateInitiativeToProjectMutation
|
53103
|
+
*/
|
53104
|
+
fetch(input) {
|
53105
|
+
return __awaiter(this, void 0, void 0, function* () {
|
53106
|
+
const response = yield this._request(CreateInitiativeToProjectDocument, {
|
53107
|
+
input,
|
53108
|
+
});
|
53109
|
+
const data = response.initiativeToProjectCreate;
|
53110
|
+
return new InitiativeToProjectPayload(this._request, data);
|
53111
|
+
});
|
53112
|
+
}
|
53113
|
+
}
|
53114
|
+
/**
|
53115
|
+
* A fetchable DeleteInitiativeToProject Mutation
|
53116
|
+
*
|
53117
|
+
* @param request - function to call the graphql client
|
53118
|
+
*/
|
53119
|
+
class DeleteInitiativeToProjectMutation extends Request {
|
53120
|
+
constructor(request) {
|
53121
|
+
super(request);
|
53122
|
+
}
|
53123
|
+
/**
|
53124
|
+
* Call the DeleteInitiativeToProject mutation and return a DeletePayload
|
53125
|
+
*
|
53126
|
+
* @param id - required id to pass to deleteInitiativeToProject
|
53127
|
+
* @returns parsed response from DeleteInitiativeToProjectMutation
|
53128
|
+
*/
|
53129
|
+
fetch(id) {
|
53130
|
+
return __awaiter(this, void 0, void 0, function* () {
|
53131
|
+
const response = yield this._request(DeleteInitiativeToProjectDocument, {
|
53132
|
+
id,
|
53133
|
+
});
|
53134
|
+
const data = response.initiativeToProjectDelete;
|
53135
|
+
return new DeletePayload(this._request, data);
|
53136
|
+
});
|
53137
|
+
}
|
53138
|
+
}
|
53139
|
+
/**
|
53140
|
+
* A fetchable UpdateInitiativeToProject Mutation
|
53141
|
+
*
|
53142
|
+
* @param request - function to call the graphql client
|
53143
|
+
*/
|
53144
|
+
class UpdateInitiativeToProjectMutation extends Request {
|
53145
|
+
constructor(request) {
|
53146
|
+
super(request);
|
53147
|
+
}
|
53148
|
+
/**
|
53149
|
+
* Call the UpdateInitiativeToProject mutation and return a InitiativeToProjectPayload
|
53150
|
+
*
|
53151
|
+
* @param id - required id to pass to updateInitiativeToProject
|
53152
|
+
* @param input - required input to pass to updateInitiativeToProject
|
53153
|
+
* @returns parsed response from UpdateInitiativeToProjectMutation
|
53154
|
+
*/
|
53155
|
+
fetch(id, input) {
|
53156
|
+
return __awaiter(this, void 0, void 0, function* () {
|
53157
|
+
const response = yield this._request(UpdateInitiativeToProjectDocument, {
|
53158
|
+
id,
|
53159
|
+
input,
|
53160
|
+
});
|
53161
|
+
const data = response.initiativeToProjectUpdate;
|
53162
|
+
return new InitiativeToProjectPayload(this._request, data);
|
53163
|
+
});
|
53164
|
+
}
|
53165
|
+
}
|
53166
|
+
/**
|
53167
|
+
* A fetchable UnarchiveInitiative Mutation
|
53168
|
+
*
|
53169
|
+
* @param request - function to call the graphql client
|
53170
|
+
*/
|
53171
|
+
class UnarchiveInitiativeMutation extends Request {
|
53172
|
+
constructor(request) {
|
53173
|
+
super(request);
|
53174
|
+
}
|
53175
|
+
/**
|
53176
|
+
* Call the UnarchiveInitiative mutation and return a InitiativeArchivePayload
|
53177
|
+
*
|
53178
|
+
* @param id - required id to pass to unarchiveInitiative
|
53179
|
+
* @returns parsed response from UnarchiveInitiativeMutation
|
53180
|
+
*/
|
53181
|
+
fetch(id) {
|
53182
|
+
return __awaiter(this, void 0, void 0, function* () {
|
53183
|
+
const response = yield this._request(UnarchiveInitiativeDocument, {
|
53184
|
+
id,
|
53185
|
+
});
|
53186
|
+
const data = response.initiativeUnarchive;
|
53187
|
+
return new InitiativeArchivePayload(this._request, data);
|
53188
|
+
});
|
53189
|
+
}
|
53190
|
+
}
|
53191
|
+
/**
|
53192
|
+
* A fetchable UpdateInitiative Mutation
|
53193
|
+
*
|
53194
|
+
* @param request - function to call the graphql client
|
53195
|
+
*/
|
53196
|
+
class UpdateInitiativeMutation extends Request {
|
53197
|
+
constructor(request) {
|
53198
|
+
super(request);
|
53199
|
+
}
|
53200
|
+
/**
|
53201
|
+
* Call the UpdateInitiative mutation and return a InitiativePayload
|
53202
|
+
*
|
53203
|
+
* @param id - required id to pass to updateInitiative
|
53204
|
+
* @param input - required input to pass to updateInitiative
|
53205
|
+
* @returns parsed response from UpdateInitiativeMutation
|
53206
|
+
*/
|
53207
|
+
fetch(id, input) {
|
53208
|
+
return __awaiter(this, void 0, void 0, function* () {
|
53209
|
+
const response = yield this._request(UpdateInitiativeDocument, {
|
53210
|
+
id,
|
53211
|
+
input,
|
53212
|
+
});
|
53213
|
+
const data = response.initiativeUpdate;
|
53214
|
+
return new InitiativePayload(this._request, data);
|
53215
|
+
});
|
53216
|
+
}
|
53217
|
+
}
|
51311
53218
|
/**
|
51312
53219
|
* A fetchable ArchiveIntegration Mutation
|
51313
53220
|
*
|
@@ -51466,6 +53373,30 @@
|
|
51466
53373
|
});
|
51467
53374
|
}
|
51468
53375
|
}
|
53376
|
+
/**
|
53377
|
+
* A fetchable IntegrationGitHubEnterpriseServerConnect Mutation
|
53378
|
+
*
|
53379
|
+
* @param request - function to call the graphql client
|
53380
|
+
*/
|
53381
|
+
class IntegrationGitHubEnterpriseServerConnectMutation extends Request {
|
53382
|
+
constructor(request) {
|
53383
|
+
super(request);
|
53384
|
+
}
|
53385
|
+
/**
|
53386
|
+
* Call the IntegrationGitHubEnterpriseServerConnect mutation and return a GitHubEnterpriseServerPayload
|
53387
|
+
*
|
53388
|
+
* @param githubUrl - required githubUrl to pass to integrationGitHubEnterpriseServerConnect
|
53389
|
+
* @param variables - variables without 'githubUrl' to pass into the IntegrationGitHubEnterpriseServerConnectMutation
|
53390
|
+
* @returns parsed response from IntegrationGitHubEnterpriseServerConnectMutation
|
53391
|
+
*/
|
53392
|
+
fetch(githubUrl, variables) {
|
53393
|
+
return __awaiter(this, void 0, void 0, function* () {
|
53394
|
+
const response = yield this._request(IntegrationGitHubEnterpriseServerConnectDocument, Object.assign({ githubUrl }, variables));
|
53395
|
+
const data = response.integrationGitHubEnterpriseServerConnect;
|
53396
|
+
return new GitHubEnterpriseServerPayload(this._request, data);
|
53397
|
+
});
|
53398
|
+
}
|
53399
|
+
}
|
51469
53400
|
/**
|
51470
53401
|
* A fetchable IntegrationGitHubPersonal Mutation
|
51471
53402
|
*
|
@@ -52285,13 +54216,12 @@
|
|
52285
54216
|
* Call the DeleteIssue mutation and return a IssueArchivePayload
|
52286
54217
|
*
|
52287
54218
|
* @param id - required id to pass to deleteIssue
|
54219
|
+
* @param variables - variables without 'id' to pass into the DeleteIssueMutation
|
52288
54220
|
* @returns parsed response from DeleteIssueMutation
|
52289
54221
|
*/
|
52290
|
-
fetch(id) {
|
54222
|
+
fetch(id, variables) {
|
52291
54223
|
return __awaiter(this, void 0, void 0, function* () {
|
52292
|
-
const response = yield this._request(DeleteIssueDocument, {
|
52293
|
-
id,
|
52294
|
-
});
|
54224
|
+
const response = yield this._request(DeleteIssueDocument, Object.assign({ id }, variables));
|
52295
54225
|
const data = response.issueDelete;
|
52296
54226
|
return new IssueArchivePayload(this._request, data);
|
52297
54227
|
});
|
@@ -52385,13 +54315,12 @@
|
|
52385
54315
|
/**
|
52386
54316
|
* Call the IssueImportCreateGithub mutation and return a IssueImportPayload
|
52387
54317
|
*
|
52388
|
-
* @param
|
52389
|
-
* @param variables - variables without 'integrationId' to pass into the IssueImportCreateGithubMutation
|
54318
|
+
* @param variables - variables to pass into the IssueImportCreateGithubMutation
|
52390
54319
|
* @returns parsed response from IssueImportCreateGithubMutation
|
52391
54320
|
*/
|
52392
|
-
fetch(
|
54321
|
+
fetch(variables) {
|
52393
54322
|
return __awaiter(this, void 0, void 0, function* () {
|
52394
|
-
const response = yield this._request(IssueImportCreateGithubDocument,
|
54323
|
+
const response = yield this._request(IssueImportCreateGithubDocument, variables);
|
52395
54324
|
const data = response.issueImportCreateGithub;
|
52396
54325
|
return new IssueImportPayload(this._request, data);
|
52397
54326
|
});
|
@@ -55872,6 +57801,60 @@
|
|
55872
57801
|
});
|
55873
57802
|
}
|
55874
57803
|
}
|
57804
|
+
/**
|
57805
|
+
* A fetchable Initiative_Links Query
|
57806
|
+
*
|
57807
|
+
* @param request - function to call the graphql client
|
57808
|
+
* @param id - required id to pass to initiative
|
57809
|
+
* @param variables - variables without 'id' to pass into the Initiative_LinksQuery
|
57810
|
+
*/
|
57811
|
+
class Initiative_LinksQuery extends Request {
|
57812
|
+
constructor(request, id, variables) {
|
57813
|
+
super(request);
|
57814
|
+
this._id = id;
|
57815
|
+
this._variables = variables;
|
57816
|
+
}
|
57817
|
+
/**
|
57818
|
+
* Call the Initiative_Links query and return a EntityExternalLinkConnection
|
57819
|
+
*
|
57820
|
+
* @param variables - variables without 'id' to pass into the Initiative_LinksQuery
|
57821
|
+
* @returns parsed response from Initiative_LinksQuery
|
57822
|
+
*/
|
57823
|
+
fetch(variables) {
|
57824
|
+
return __awaiter(this, void 0, void 0, function* () {
|
57825
|
+
const response = yield this._request(Initiative_LinksDocument, Object.assign(Object.assign({ id: this._id }, this._variables), variables));
|
57826
|
+
const data = response.initiative.links;
|
57827
|
+
return new EntityExternalLinkConnection(this._request, connection => this.fetch(defaultConnection(Object.assign(Object.assign(Object.assign({}, this._variables), variables), connection))), data);
|
57828
|
+
});
|
57829
|
+
}
|
57830
|
+
}
|
57831
|
+
/**
|
57832
|
+
* A fetchable Initiative_Projects Query
|
57833
|
+
*
|
57834
|
+
* @param request - function to call the graphql client
|
57835
|
+
* @param id - required id to pass to initiative
|
57836
|
+
* @param variables - variables without 'id' to pass into the Initiative_ProjectsQuery
|
57837
|
+
*/
|
57838
|
+
class Initiative_ProjectsQuery extends Request {
|
57839
|
+
constructor(request, id, variables) {
|
57840
|
+
super(request);
|
57841
|
+
this._id = id;
|
57842
|
+
this._variables = variables;
|
57843
|
+
}
|
57844
|
+
/**
|
57845
|
+
* Call the Initiative_Projects query and return a ProjectConnection
|
57846
|
+
*
|
57847
|
+
* @param variables - variables without 'id' to pass into the Initiative_ProjectsQuery
|
57848
|
+
* @returns parsed response from Initiative_ProjectsQuery
|
57849
|
+
*/
|
57850
|
+
fetch(variables) {
|
57851
|
+
return __awaiter(this, void 0, void 0, function* () {
|
57852
|
+
const response = yield this._request(Initiative_ProjectsDocument, Object.assign(Object.assign({ id: this._id }, this._variables), variables));
|
57853
|
+
const data = response.initiative.projects;
|
57854
|
+
return new ProjectConnection(this._request, connection => this.fetch(defaultConnection(Object.assign(Object.assign(Object.assign({}, this._variables), variables), connection))), data);
|
57855
|
+
});
|
57856
|
+
}
|
57857
|
+
}
|
55875
57858
|
/**
|
55876
57859
|
* A fetchable Issue_Attachments Query
|
55877
57860
|
*
|
@@ -58024,6 +60007,42 @@
|
|
58024
60007
|
favorites(variables) {
|
58025
60008
|
return new FavoritesQuery(this._request).fetch(variables);
|
58026
60009
|
}
|
60010
|
+
/**
|
60011
|
+
* One specific initiative.
|
60012
|
+
*
|
60013
|
+
* @param id - required id to pass to initiative
|
60014
|
+
* @returns Initiative
|
60015
|
+
*/
|
60016
|
+
initiative(id) {
|
60017
|
+
return new InitiativeQuery(this._request).fetch(id);
|
60018
|
+
}
|
60019
|
+
/**
|
60020
|
+
* One specific initiativeToProject.
|
60021
|
+
*
|
60022
|
+
* @param id - required id to pass to initiativeToProject
|
60023
|
+
* @returns InitiativeToProject
|
60024
|
+
*/
|
60025
|
+
initiativeToProject(id) {
|
60026
|
+
return new InitiativeToProjectQuery(this._request).fetch(id);
|
60027
|
+
}
|
60028
|
+
/**
|
60029
|
+
* returns a list of initiative to project entities.
|
60030
|
+
*
|
60031
|
+
* @param variables - variables to pass into the InitiativeToProjectsQuery
|
60032
|
+
* @returns InitiativeToProjectConnection
|
60033
|
+
*/
|
60034
|
+
initiativeToProjects(variables) {
|
60035
|
+
return new InitiativeToProjectsQuery(this._request).fetch(variables);
|
60036
|
+
}
|
60037
|
+
/**
|
60038
|
+
* All initiatives in the workspace.
|
60039
|
+
*
|
60040
|
+
* @param variables - variables to pass into the InitiativesQuery
|
60041
|
+
* @returns InitiativeConnection
|
60042
|
+
*/
|
60043
|
+
initiatives(variables) {
|
60044
|
+
return new InitiativesQuery(this._request).fetch(variables);
|
60045
|
+
}
|
58027
60046
|
/**
|
58028
60047
|
* One specific integration.
|
58029
60048
|
*
|
@@ -59266,6 +61285,80 @@
|
|
59266
61285
|
importFileUpload(contentType, filename, size, variables) {
|
59267
61286
|
return new ImportFileUploadMutation(this._request).fetch(contentType, filename, size, variables);
|
59268
61287
|
}
|
61288
|
+
/**
|
61289
|
+
* Archives a initiative.
|
61290
|
+
*
|
61291
|
+
* @param id - required id to pass to archiveInitiative
|
61292
|
+
* @returns InitiativeArchivePayload
|
61293
|
+
*/
|
61294
|
+
archiveInitiative(id) {
|
61295
|
+
return new ArchiveInitiativeMutation(this._request).fetch(id);
|
61296
|
+
}
|
61297
|
+
/**
|
61298
|
+
* Creates a new initiative.
|
61299
|
+
*
|
61300
|
+
* @param input - required input to pass to createInitiative
|
61301
|
+
* @returns InitiativePayload
|
61302
|
+
*/
|
61303
|
+
createInitiative(input) {
|
61304
|
+
return new CreateInitiativeMutation(this._request).fetch(input);
|
61305
|
+
}
|
61306
|
+
/**
|
61307
|
+
* Deletes (trashes) an initiative.
|
61308
|
+
*
|
61309
|
+
* @param id - required id to pass to deleteInitiative
|
61310
|
+
* @returns DeletePayload
|
61311
|
+
*/
|
61312
|
+
deleteInitiative(id) {
|
61313
|
+
return new DeleteInitiativeMutation(this._request).fetch(id);
|
61314
|
+
}
|
61315
|
+
/**
|
61316
|
+
* Creates a new initiativeToProject join.
|
61317
|
+
*
|
61318
|
+
* @param input - required input to pass to createInitiativeToProject
|
61319
|
+
* @returns InitiativeToProjectPayload
|
61320
|
+
*/
|
61321
|
+
createInitiativeToProject(input) {
|
61322
|
+
return new CreateInitiativeToProjectMutation(this._request).fetch(input);
|
61323
|
+
}
|
61324
|
+
/**
|
61325
|
+
* Deletes a initiativeToProject.
|
61326
|
+
*
|
61327
|
+
* @param id - required id to pass to deleteInitiativeToProject
|
61328
|
+
* @returns DeletePayload
|
61329
|
+
*/
|
61330
|
+
deleteInitiativeToProject(id) {
|
61331
|
+
return new DeleteInitiativeToProjectMutation(this._request).fetch(id);
|
61332
|
+
}
|
61333
|
+
/**
|
61334
|
+
* Updates a initiativeToProject.
|
61335
|
+
*
|
61336
|
+
* @param id - required id to pass to updateInitiativeToProject
|
61337
|
+
* @param input - required input to pass to updateInitiativeToProject
|
61338
|
+
* @returns InitiativeToProjectPayload
|
61339
|
+
*/
|
61340
|
+
updateInitiativeToProject(id, input) {
|
61341
|
+
return new UpdateInitiativeToProjectMutation(this._request).fetch(id, input);
|
61342
|
+
}
|
61343
|
+
/**
|
61344
|
+
* Unarchives a initiative.
|
61345
|
+
*
|
61346
|
+
* @param id - required id to pass to unarchiveInitiative
|
61347
|
+
* @returns InitiativeArchivePayload
|
61348
|
+
*/
|
61349
|
+
unarchiveInitiative(id) {
|
61350
|
+
return new UnarchiveInitiativeMutation(this._request).fetch(id);
|
61351
|
+
}
|
61352
|
+
/**
|
61353
|
+
* Updates a initiative.
|
61354
|
+
*
|
61355
|
+
* @param id - required id to pass to updateInitiative
|
61356
|
+
* @param input - required input to pass to updateInitiative
|
61357
|
+
* @returns InitiativePayload
|
61358
|
+
*/
|
61359
|
+
updateInitiative(id, input) {
|
61360
|
+
return new UpdateInitiativeMutation(this._request).fetch(id, input);
|
61361
|
+
}
|
59269
61362
|
/**
|
59270
61363
|
* Archives an integration.
|
59271
61364
|
*
|
@@ -59324,6 +61417,16 @@
|
|
59324
61417
|
integrationFront(code, redirectUri) {
|
59325
61418
|
return new IntegrationFrontMutation(this._request).fetch(code, redirectUri);
|
59326
61419
|
}
|
61420
|
+
/**
|
61421
|
+
* Connects the organization with a GitHub Enterprise Server.
|
61422
|
+
*
|
61423
|
+
* @param githubUrl - required githubUrl to pass to integrationGitHubEnterpriseServerConnect
|
61424
|
+
* @param variables - variables without 'githubUrl' to pass into the IntegrationGitHubEnterpriseServerConnectMutation
|
61425
|
+
* @returns GitHubEnterpriseServerPayload
|
61426
|
+
*/
|
61427
|
+
integrationGitHubEnterpriseServerConnect(githubUrl, variables) {
|
61428
|
+
return new IntegrationGitHubEnterpriseServerConnectMutation(this._request).fetch(githubUrl, variables);
|
61429
|
+
}
|
59327
61430
|
/**
|
59328
61431
|
* Connect your GitHub account to Linear.
|
59329
61432
|
*
|
@@ -59631,10 +61734,11 @@
|
|
59631
61734
|
* Deletes (trashes) an issue.
|
59632
61735
|
*
|
59633
61736
|
* @param id - required id to pass to deleteIssue
|
61737
|
+
* @param variables - variables without 'id' to pass into the DeleteIssueMutation
|
59634
61738
|
* @returns IssueArchivePayload
|
59635
61739
|
*/
|
59636
|
-
deleteIssue(id) {
|
59637
|
-
return new DeleteIssueMutation(this._request).fetch(id);
|
61740
|
+
deleteIssue(id, variables) {
|
61741
|
+
return new DeleteIssueMutation(this._request).fetch(id, variables);
|
59638
61742
|
}
|
59639
61743
|
/**
|
59640
61744
|
* Kicks off an Asana import job.
|
@@ -59671,12 +61775,11 @@
|
|
59671
61775
|
/**
|
59672
61776
|
* Kicks off a GitHub import job.
|
59673
61777
|
*
|
59674
|
-
* @param
|
59675
|
-
* @param variables - variables without 'integrationId' to pass into the IssueImportCreateGithubMutation
|
61778
|
+
* @param variables - variables to pass into the IssueImportCreateGithubMutation
|
59676
61779
|
* @returns IssueImportPayload
|
59677
61780
|
*/
|
59678
|
-
issueImportCreateGithub(
|
59679
|
-
return new IssueImportCreateGithubMutation(this._request).fetch(
|
61781
|
+
issueImportCreateGithub(variables) {
|
61782
|
+
return new IssueImportCreateGithubMutation(this._request).fetch(variables);
|
59680
61783
|
}
|
59681
61784
|
/**
|
59682
61785
|
* Kicks off a Jira import job.
|
@@ -60837,6 +62940,7 @@
|
|
60837
62940
|
exports.ApplicationWithAuthorizationQuery = ApplicationWithAuthorizationQuery;
|
60838
62941
|
exports.ArchiveAttachmentMutation = ArchiveAttachmentMutation;
|
60839
62942
|
exports.ArchiveCycleMutation = ArchiveCycleMutation;
|
62943
|
+
exports.ArchiveInitiativeMutation = ArchiveInitiativeMutation;
|
60840
62944
|
exports.ArchiveIntegrationMutation = ArchiveIntegrationMutation;
|
60841
62945
|
exports.ArchiveIssueMutation = ArchiveIssueMutation;
|
60842
62946
|
exports.ArchiveNotificationMutation = ArchiveNotificationMutation;
|
@@ -60906,6 +63010,7 @@
|
|
60906
63010
|
exports.BootstrapLinearError = BootstrapLinearError;
|
60907
63011
|
exports.Comment = Comment;
|
60908
63012
|
exports.CommentConnection = CommentConnection;
|
63013
|
+
exports.CommentNotification = CommentNotification;
|
60909
63014
|
exports.CommentPayload = CommentPayload;
|
60910
63015
|
exports.CommentQuery = CommentQuery;
|
60911
63016
|
exports.CommentResolveMutation = CommentResolveMutation;
|
@@ -60933,6 +63038,8 @@
|
|
60933
63038
|
exports.CreateFavoriteMutation = CreateFavoriteMutation;
|
60934
63039
|
exports.CreateGitAutomationStateMutation = CreateGitAutomationStateMutation;
|
60935
63040
|
exports.CreateGitAutomationTargetBranchMutation = CreateGitAutomationTargetBranchMutation;
|
63041
|
+
exports.CreateInitiativeMutation = CreateInitiativeMutation;
|
63042
|
+
exports.CreateInitiativeToProjectMutation = CreateInitiativeToProjectMutation;
|
60936
63043
|
exports.CreateIntegrationGithubCommitMutation = CreateIntegrationGithubCommitMutation;
|
60937
63044
|
exports.CreateIntegrationTemplateMutation = CreateIntegrationTemplateMutation;
|
60938
63045
|
exports.CreateIntegrationsSettingsMutation = CreateIntegrationsSettingsMutation;
|
@@ -60998,6 +63105,8 @@
|
|
60998
63105
|
exports.DeleteFavoriteMutation = DeleteFavoriteMutation;
|
60999
63106
|
exports.DeleteGitAutomationStateMutation = DeleteGitAutomationStateMutation;
|
61000
63107
|
exports.DeleteGitAutomationTargetBranchMutation = DeleteGitAutomationTargetBranchMutation;
|
63108
|
+
exports.DeleteInitiativeMutation = DeleteInitiativeMutation;
|
63109
|
+
exports.DeleteInitiativeToProjectMutation = DeleteInitiativeToProjectMutation;
|
61001
63110
|
exports.DeleteIntegrationIntercomMutation = DeleteIntegrationIntercomMutation;
|
61002
63111
|
exports.DeleteIntegrationMutation = DeleteIntegrationMutation;
|
61003
63112
|
exports.DeleteIntegrationTemplateMutation = DeleteIntegrationTemplateMutation;
|
@@ -61047,6 +63156,7 @@
|
|
61047
63156
|
exports.DocumentSearchResult = DocumentSearchResult;
|
61048
63157
|
exports.DocumentSearchResultConnection = DocumentSearchResultConnection;
|
61049
63158
|
exports.DocumentsQuery = DocumentsQuery;
|
63159
|
+
exports.Draft = Draft;
|
61050
63160
|
exports.EmailIntakeAddress = EmailIntakeAddress;
|
61051
63161
|
exports.EmailIntakeAddressPayload = EmailIntakeAddressPayload;
|
61052
63162
|
exports.EmailIntakeAddressRotateMutation = EmailIntakeAddressRotateMutation;
|
@@ -61092,6 +63202,7 @@
|
|
61092
63202
|
exports.GitAutomationTargetBranch = GitAutomationTargetBranch;
|
61093
63203
|
exports.GitAutomationTargetBranchPayload = GitAutomationTargetBranchPayload;
|
61094
63204
|
exports.GitHubCommitIntegrationPayload = GitHubCommitIntegrationPayload;
|
63205
|
+
exports.GitHubEnterpriseServerPayload = GitHubEnterpriseServerPayload;
|
61095
63206
|
exports.GitHubImportSettings = GitHubImportSettings;
|
61096
63207
|
exports.GitHubPersonalSettings = GitHubPersonalSettings;
|
61097
63208
|
exports.GitHubRepo = GitHubRepo;
|
@@ -61104,14 +63215,27 @@
|
|
61104
63215
|
exports.ImageUploadFromUrlMutation = ImageUploadFromUrlMutation;
|
61105
63216
|
exports.ImageUploadFromUrlPayload = ImageUploadFromUrlPayload;
|
61106
63217
|
exports.ImportFileUploadMutation = ImportFileUploadMutation;
|
63218
|
+
exports.Initiative = Initiative;
|
61107
63219
|
exports.InitiativeArchivePayload = InitiativeArchivePayload;
|
63220
|
+
exports.InitiativeConnection = InitiativeConnection;
|
61108
63221
|
exports.InitiativeNotification = InitiativeNotification;
|
63222
|
+
exports.InitiativePayload = InitiativePayload;
|
63223
|
+
exports.InitiativeQuery = InitiativeQuery;
|
63224
|
+
exports.InitiativeToProject = InitiativeToProject;
|
63225
|
+
exports.InitiativeToProjectConnection = InitiativeToProjectConnection;
|
63226
|
+
exports.InitiativeToProjectPayload = InitiativeToProjectPayload;
|
63227
|
+
exports.InitiativeToProjectQuery = InitiativeToProjectQuery;
|
63228
|
+
exports.InitiativeToProjectsQuery = InitiativeToProjectsQuery;
|
63229
|
+
exports.Initiative_LinksQuery = Initiative_LinksQuery;
|
63230
|
+
exports.Initiative_ProjectsQuery = Initiative_ProjectsQuery;
|
63231
|
+
exports.InitiativesQuery = InitiativesQuery;
|
61109
63232
|
exports.Integration = Integration;
|
61110
63233
|
exports.IntegrationAsksConnectChannelMutation = IntegrationAsksConnectChannelMutation;
|
61111
63234
|
exports.IntegrationConnection = IntegrationConnection;
|
61112
63235
|
exports.IntegrationDiscordMutation = IntegrationDiscordMutation;
|
61113
63236
|
exports.IntegrationFigmaMutation = IntegrationFigmaMutation;
|
61114
63237
|
exports.IntegrationFrontMutation = IntegrationFrontMutation;
|
63238
|
+
exports.IntegrationGitHubEnterpriseServerConnectMutation = IntegrationGitHubEnterpriseServerConnectMutation;
|
61115
63239
|
exports.IntegrationGitHubPersonalMutation = IntegrationGitHubPersonalMutation;
|
61116
63240
|
exports.IntegrationGithubConnectMutation = IntegrationGithubConnectMutation;
|
61117
63241
|
exports.IntegrationGithubImportConnectMutation = IntegrationGithubImportConnectMutation;
|
@@ -61456,6 +63580,7 @@
|
|
61456
63580
|
exports.TriageResponsibilityQuery = TriageResponsibilityQuery;
|
61457
63581
|
exports.TriageResponsibility_ManualSelectionQuery = TriageResponsibility_ManualSelectionQuery;
|
61458
63582
|
exports.UnarchiveDocumentMutation = UnarchiveDocumentMutation;
|
63583
|
+
exports.UnarchiveInitiativeMutation = UnarchiveInitiativeMutation;
|
61459
63584
|
exports.UnarchiveIssueMutation = UnarchiveIssueMutation;
|
61460
63585
|
exports.UnarchiveNotificationMutation = UnarchiveNotificationMutation;
|
61461
63586
|
exports.UnarchiveProjectMutation = UnarchiveProjectMutation;
|
@@ -61474,6 +63599,8 @@
|
|
61474
63599
|
exports.UpdateFavoriteMutation = UpdateFavoriteMutation;
|
61475
63600
|
exports.UpdateGitAutomationStateMutation = UpdateGitAutomationStateMutation;
|
61476
63601
|
exports.UpdateGitAutomationTargetBranchMutation = UpdateGitAutomationTargetBranchMutation;
|
63602
|
+
exports.UpdateInitiativeMutation = UpdateInitiativeMutation;
|
63603
|
+
exports.UpdateInitiativeToProjectMutation = UpdateInitiativeToProjectMutation;
|
61477
63604
|
exports.UpdateIntegrationIntercomSettingsMutation = UpdateIntegrationIntercomSettingsMutation;
|
61478
63605
|
exports.UpdateIntegrationsSettingsMutation = UpdateIntegrationsSettingsMutation;
|
61479
63606
|
exports.UpdateIssueBatchMutation = UpdateIssueBatchMutation;
|