@linear/sdk 2.6.0 → 3.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/CHANGELOG.md +104 -0
- package/dist/_generated_documents.d.ts +277 -21
- package/dist/_generated_documents.d.ts.map +1 -1
- package/dist/_generated_sdk.d.ts +129 -5
- package/dist/_generated_sdk.d.ts.map +1 -1
- package/dist/index-cjs.js +650 -15
- 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 +645 -16
- 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 +651 -16
- 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":"3.0.0"};
|
13
13
|
try {
|
14
14
|
if (process) {
|
15
15
|
process.env = Object.assign({}, process.env);
|
@@ -1449,6 +1449,7 @@
|
|
1449
1449
|
(function (SlaStatus) {
|
1450
1450
|
SlaStatus["Breached"] = "Breached";
|
1451
1451
|
SlaStatus["Completed"] = "Completed";
|
1452
|
+
SlaStatus["Failed"] = "Failed";
|
1452
1453
|
SlaStatus["HighRisk"] = "HighRisk";
|
1453
1454
|
SlaStatus["LowRisk"] = "LowRisk";
|
1454
1455
|
SlaStatus["MediumRisk"] = "MediumRisk";
|
@@ -1464,6 +1465,7 @@
|
|
1464
1465
|
UserFlagType["CycleWelcomeDismissed"] = "cycleWelcomeDismissed";
|
1465
1466
|
UserFlagType["DesktopDownloadToastDismissed"] = "desktopDownloadToastDismissed";
|
1466
1467
|
UserFlagType["DesktopInstalled"] = "desktopInstalled";
|
1468
|
+
UserFlagType["DesktopTabsOnboardingDismissed"] = "desktopTabsOnboardingDismissed";
|
1467
1469
|
UserFlagType["DueDateShortcutMigration"] = "dueDateShortcutMigration";
|
1468
1470
|
UserFlagType["EmptyActiveIssuesDismissed"] = "emptyActiveIssuesDismissed";
|
1469
1471
|
UserFlagType["EmptyBacklogDismissed"] = "emptyBacklogDismissed";
|
@@ -1471,12 +1473,14 @@
|
|
1471
1473
|
UserFlagType["EmptyMyIssuesDismissed"] = "emptyMyIssuesDismissed";
|
1472
1474
|
UserFlagType["FigmaPromptDismissed"] = "figmaPromptDismissed";
|
1473
1475
|
UserFlagType["ImportBannerDismissed"] = "importBannerDismissed";
|
1476
|
+
UserFlagType["InsightsHelpDismissed"] = "insightsHelpDismissed";
|
1474
1477
|
UserFlagType["InsightsWelcomeDismissed"] = "insightsWelcomeDismissed";
|
1475
1478
|
UserFlagType["IssueLabelSuggestionUsed"] = "issueLabelSuggestionUsed";
|
1476
1479
|
UserFlagType["IssueMovePromptCompleted"] = "issueMovePromptCompleted";
|
1477
1480
|
UserFlagType["JoinTeamIntroductionDismissed"] = "joinTeamIntroductionDismissed";
|
1478
1481
|
UserFlagType["ListSelectionTip"] = "listSelectionTip";
|
1479
1482
|
UserFlagType["MigrateThemePreference"] = "migrateThemePreference";
|
1483
|
+
UserFlagType["MilestoneOnboardingIsSeenAndDismissed"] = "milestoneOnboardingIsSeenAndDismissed";
|
1480
1484
|
UserFlagType["ProjectBacklogWelcomeDismissed"] = "projectBacklogWelcomeDismissed";
|
1481
1485
|
UserFlagType["ProjectUpdatesWelcomeDismissed"] = "projectUpdatesWelcomeDismissed";
|
1482
1486
|
UserFlagType["ProjectWelcomeDismissed"] = "projectWelcomeDismissed";
|
@@ -1534,6 +1538,7 @@
|
|
1534
1538
|
ViewType["RoadmapAll"] = "roadmapAll";
|
1535
1539
|
ViewType["RoadmapBacklog"] = "roadmapBacklog";
|
1536
1540
|
ViewType["RoadmapClosed"] = "roadmapClosed";
|
1541
|
+
ViewType["Roadmaps"] = "roadmaps";
|
1537
1542
|
ViewType["Search"] = "search";
|
1538
1543
|
ViewType["Teams"] = "teams";
|
1539
1544
|
ViewType["Triage"] = "triage";
|
@@ -1759,7 +1764,6 @@
|
|
1759
1764
|
{ kind: "Field", name: { kind: "Name", value: "statusUntilAt" } },
|
1760
1765
|
{ kind: "Field", name: { kind: "Name", value: "description" } },
|
1761
1766
|
{ kind: "Field", name: { kind: "Name", value: "avatarUrl" } },
|
1762
|
-
{ kind: "Field", name: { kind: "Name", value: "calendarHash" } },
|
1763
1767
|
{ kind: "Field", name: { kind: "Name", value: "createdIssueCount" } },
|
1764
1768
|
{ kind: "Field", name: { kind: "Name", value: "disableReason" } },
|
1765
1769
|
{ kind: "Field", name: { kind: "Name", value: "statusEmoji" } },
|
@@ -1779,6 +1783,7 @@
|
|
1779
1783
|
{ kind: "Field", name: { kind: "Name", value: "guest" } },
|
1780
1784
|
{ kind: "Field", name: { kind: "Name", value: "admin" } },
|
1781
1785
|
{ kind: "Field", name: { kind: "Name", value: "isMe" } },
|
1786
|
+
{ kind: "Field", name: { kind: "Name", value: "calendarHash" } },
|
1782
1787
|
],
|
1783
1788
|
},
|
1784
1789
|
},
|
@@ -2365,6 +2370,7 @@
|
|
2365
2370
|
kind: "SelectionSet",
|
2366
2371
|
selections: [
|
2367
2372
|
{ kind: "Field", name: { kind: "Name", value: "__typename" } },
|
2373
|
+
{ kind: "Field", name: { kind: "Name", value: "calendarHash" } },
|
2368
2374
|
{ kind: "Field", name: { kind: "Name", value: "unsubscribedFrom" } },
|
2369
2375
|
{ kind: "Field", name: { kind: "Name", value: "updatedAt" } },
|
2370
2376
|
{ kind: "Field", name: { kind: "Name", value: "notificationPreferences" } },
|
@@ -3083,6 +3089,25 @@
|
|
3083
3089
|
},
|
3084
3090
|
],
|
3085
3091
|
};
|
3092
|
+
const CustomViewSuggestionPayloadFragmentDoc = {
|
3093
|
+
kind: "Document",
|
3094
|
+
definitions: [
|
3095
|
+
{
|
3096
|
+
kind: "FragmentDefinition",
|
3097
|
+
name: { kind: "Name", value: "CustomViewSuggestionPayload" },
|
3098
|
+
typeCondition: { kind: "NamedType", name: { kind: "Name", value: "CustomViewSuggestionPayload" } },
|
3099
|
+
selectionSet: {
|
3100
|
+
kind: "SelectionSet",
|
3101
|
+
selections: [
|
3102
|
+
{ kind: "Field", name: { kind: "Name", value: "__typename" } },
|
3103
|
+
{ kind: "Field", name: { kind: "Name", value: "suggestedDescription" } },
|
3104
|
+
{ kind: "Field", name: { kind: "Name", value: "suggestedIcon" } },
|
3105
|
+
{ kind: "Field", name: { kind: "Name", value: "suggestedName" } },
|
3106
|
+
],
|
3107
|
+
},
|
3108
|
+
},
|
3109
|
+
],
|
3110
|
+
};
|
3086
3111
|
const CycleFragmentDoc = {
|
3087
3112
|
kind: "Document",
|
3088
3113
|
definitions: [
|
@@ -4087,6 +4112,14 @@
|
|
4087
4112
|
selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }],
|
4088
4113
|
},
|
4089
4114
|
},
|
4115
|
+
{
|
4116
|
+
kind: "Field",
|
4117
|
+
name: { kind: "Name", value: "projectMilestone" },
|
4118
|
+
selectionSet: {
|
4119
|
+
kind: "SelectionSet",
|
4120
|
+
selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }],
|
4121
|
+
},
|
4122
|
+
},
|
4090
4123
|
{
|
4091
4124
|
kind: "Field",
|
4092
4125
|
name: { kind: "Name", value: "team" },
|
@@ -5519,6 +5552,23 @@
|
|
5519
5552
|
},
|
5520
5553
|
],
|
5521
5554
|
};
|
5555
|
+
const OrganizationStartPlusTrialPayloadFragmentDoc = {
|
5556
|
+
kind: "Document",
|
5557
|
+
definitions: [
|
5558
|
+
{
|
5559
|
+
kind: "FragmentDefinition",
|
5560
|
+
name: { kind: "Name", value: "OrganizationStartPlusTrialPayload" },
|
5561
|
+
typeCondition: { kind: "NamedType", name: { kind: "Name", value: "OrganizationStartPlusTrialPayload" } },
|
5562
|
+
selectionSet: {
|
5563
|
+
kind: "SelectionSet",
|
5564
|
+
selections: [
|
5565
|
+
{ kind: "Field", name: { kind: "Name", value: "__typename" } },
|
5566
|
+
{ kind: "Field", name: { kind: "Name", value: "success" } },
|
5567
|
+
],
|
5568
|
+
},
|
5569
|
+
},
|
5570
|
+
],
|
5571
|
+
};
|
5522
5572
|
const ProjectFragmentDoc = {
|
5523
5573
|
kind: "Document",
|
5524
5574
|
definitions: [
|
@@ -6317,7 +6367,9 @@
|
|
6317
6367
|
{ kind: "Field", name: { kind: "Name", value: "description" } },
|
6318
6368
|
{ kind: "Field", name: { kind: "Name", value: "updatedAt" } },
|
6319
6369
|
{ kind: "Field", name: { kind: "Name", value: "name" } },
|
6370
|
+
{ kind: "Field", name: { kind: "Name", value: "color" } },
|
6320
6371
|
{ kind: "Field", name: { kind: "Name", value: "slugId" } },
|
6372
|
+
{ kind: "Field", name: { kind: "Name", value: "sortOrder" } },
|
6321
6373
|
{ kind: "Field", name: { kind: "Name", value: "archivedAt" } },
|
6322
6374
|
{ kind: "Field", name: { kind: "Name", value: "createdAt" } },
|
6323
6375
|
{ kind: "Field", name: { kind: "Name", value: "id" } },
|
@@ -12360,6 +12412,32 @@
|
|
12360
12412
|
...OrganizationInvitePayloadFragmentDoc.definitions,
|
12361
12413
|
],
|
12362
12414
|
};
|
12415
|
+
const OrganizationStartPlusTrialDocument = {
|
12416
|
+
kind: "Document",
|
12417
|
+
definitions: [
|
12418
|
+
{
|
12419
|
+
kind: "OperationDefinition",
|
12420
|
+
operation: "mutation",
|
12421
|
+
name: { kind: "Name", value: "organizationStartPlusTrial" },
|
12422
|
+
selectionSet: {
|
12423
|
+
kind: "SelectionSet",
|
12424
|
+
selections: [
|
12425
|
+
{
|
12426
|
+
kind: "Field",
|
12427
|
+
name: { kind: "Name", value: "organizationStartPlusTrial" },
|
12428
|
+
selectionSet: {
|
12429
|
+
kind: "SelectionSet",
|
12430
|
+
selections: [
|
12431
|
+
{ kind: "FragmentSpread", name: { kind: "Name", value: "OrganizationStartPlusTrialPayload" } },
|
12432
|
+
],
|
12433
|
+
},
|
12434
|
+
},
|
12435
|
+
],
|
12436
|
+
},
|
12437
|
+
},
|
12438
|
+
...OrganizationStartPlusTrialPayloadFragmentDoc.definitions,
|
12439
|
+
],
|
12440
|
+
};
|
12363
12441
|
const UpdateOrganizationDocument = {
|
12364
12442
|
kind: "Document",
|
12365
12443
|
definitions: [
|
@@ -13314,6 +13392,44 @@
|
|
13314
13392
|
...ArchivePayloadFragmentDoc.definitions,
|
13315
13393
|
],
|
13316
13394
|
};
|
13395
|
+
const ArchiveRoadmapDocument = {
|
13396
|
+
kind: "Document",
|
13397
|
+
definitions: [
|
13398
|
+
{
|
13399
|
+
kind: "OperationDefinition",
|
13400
|
+
operation: "mutation",
|
13401
|
+
name: { kind: "Name", value: "archiveRoadmap" },
|
13402
|
+
variableDefinitions: [
|
13403
|
+
{
|
13404
|
+
kind: "VariableDefinition",
|
13405
|
+
variable: { kind: "Variable", name: { kind: "Name", value: "id" } },
|
13406
|
+
type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "String" } } },
|
13407
|
+
},
|
13408
|
+
],
|
13409
|
+
selectionSet: {
|
13410
|
+
kind: "SelectionSet",
|
13411
|
+
selections: [
|
13412
|
+
{
|
13413
|
+
kind: "Field",
|
13414
|
+
name: { kind: "Name", value: "roadmapArchive" },
|
13415
|
+
arguments: [
|
13416
|
+
{
|
13417
|
+
kind: "Argument",
|
13418
|
+
name: { kind: "Name", value: "id" },
|
13419
|
+
value: { kind: "Variable", name: { kind: "Name", value: "id" } },
|
13420
|
+
},
|
13421
|
+
],
|
13422
|
+
selectionSet: {
|
13423
|
+
kind: "SelectionSet",
|
13424
|
+
selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "ArchivePayload" } }],
|
13425
|
+
},
|
13426
|
+
},
|
13427
|
+
],
|
13428
|
+
},
|
13429
|
+
},
|
13430
|
+
...ArchivePayloadFragmentDoc.definitions,
|
13431
|
+
],
|
13432
|
+
};
|
13317
13433
|
const CreateRoadmapDocument = {
|
13318
13434
|
kind: "Document",
|
13319
13435
|
definitions: [
|
@@ -13523,6 +13639,44 @@
|
|
13523
13639
|
...RoadmapToProjectPayloadFragmentDoc.definitions,
|
13524
13640
|
],
|
13525
13641
|
};
|
13642
|
+
const UnarchiveRoadmapDocument = {
|
13643
|
+
kind: "Document",
|
13644
|
+
definitions: [
|
13645
|
+
{
|
13646
|
+
kind: "OperationDefinition",
|
13647
|
+
operation: "mutation",
|
13648
|
+
name: { kind: "Name", value: "unarchiveRoadmap" },
|
13649
|
+
variableDefinitions: [
|
13650
|
+
{
|
13651
|
+
kind: "VariableDefinition",
|
13652
|
+
variable: { kind: "Variable", name: { kind: "Name", value: "id" } },
|
13653
|
+
type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "String" } } },
|
13654
|
+
},
|
13655
|
+
],
|
13656
|
+
selectionSet: {
|
13657
|
+
kind: "SelectionSet",
|
13658
|
+
selections: [
|
13659
|
+
{
|
13660
|
+
kind: "Field",
|
13661
|
+
name: { kind: "Name", value: "roadmapUnarchive" },
|
13662
|
+
arguments: [
|
13663
|
+
{
|
13664
|
+
kind: "Argument",
|
13665
|
+
name: { kind: "Name", value: "id" },
|
13666
|
+
value: { kind: "Variable", name: { kind: "Name", value: "id" } },
|
13667
|
+
},
|
13668
|
+
],
|
13669
|
+
selectionSet: {
|
13670
|
+
kind: "SelectionSet",
|
13671
|
+
selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "ArchivePayload" } }],
|
13672
|
+
},
|
13673
|
+
},
|
13674
|
+
],
|
13675
|
+
},
|
13676
|
+
},
|
13677
|
+
...ArchivePayloadFragmentDoc.definitions,
|
13678
|
+
],
|
13679
|
+
};
|
13526
13680
|
const UpdateRoadmapDocument = {
|
13527
13681
|
kind: "Document",
|
13528
13682
|
definitions: [
|
@@ -17875,6 +18029,186 @@
|
|
17875
18029
|
...EmojiConnectionFragmentDoc.definitions,
|
17876
18030
|
],
|
17877
18031
|
};
|
18032
|
+
const ExternalUserDocument = {
|
18033
|
+
kind: "Document",
|
18034
|
+
definitions: [
|
18035
|
+
{
|
18036
|
+
kind: "OperationDefinition",
|
18037
|
+
operation: "query",
|
18038
|
+
name: { kind: "Name", value: "externalUser" },
|
18039
|
+
variableDefinitions: [
|
18040
|
+
{
|
18041
|
+
kind: "VariableDefinition",
|
18042
|
+
variable: { kind: "Variable", name: { kind: "Name", value: "id" } },
|
18043
|
+
type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "String" } } },
|
18044
|
+
},
|
18045
|
+
],
|
18046
|
+
selectionSet: {
|
18047
|
+
kind: "SelectionSet",
|
18048
|
+
selections: [
|
18049
|
+
{
|
18050
|
+
kind: "Field",
|
18051
|
+
name: { kind: "Name", value: "externalUser" },
|
18052
|
+
arguments: [
|
18053
|
+
{
|
18054
|
+
kind: "Argument",
|
18055
|
+
name: { kind: "Name", value: "id" },
|
18056
|
+
value: { kind: "Variable", name: { kind: "Name", value: "id" } },
|
18057
|
+
},
|
18058
|
+
],
|
18059
|
+
selectionSet: {
|
18060
|
+
kind: "SelectionSet",
|
18061
|
+
selections: [
|
18062
|
+
{ kind: "Field", name: { kind: "Name", value: "archivedAt" } },
|
18063
|
+
{ kind: "Field", name: { kind: "Name", value: "avatarUrl" } },
|
18064
|
+
{ kind: "Field", name: { kind: "Name", value: "createdAt" } },
|
18065
|
+
{ kind: "Field", name: { kind: "Name", value: "displayName" } },
|
18066
|
+
{ kind: "Field", name: { kind: "Name", value: "email" } },
|
18067
|
+
{ kind: "Field", name: { kind: "Name", value: "id" } },
|
18068
|
+
{ kind: "Field", name: { kind: "Name", value: "lastSeen" } },
|
18069
|
+
{ kind: "Field", name: { kind: "Name", value: "name" } },
|
18070
|
+
{
|
18071
|
+
kind: "Field",
|
18072
|
+
name: { kind: "Name", value: "organization" },
|
18073
|
+
selectionSet: {
|
18074
|
+
kind: "SelectionSet",
|
18075
|
+
selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "Organization" } }],
|
18076
|
+
},
|
18077
|
+
},
|
18078
|
+
{ kind: "Field", name: { kind: "Name", value: "updatedAt" } },
|
18079
|
+
],
|
18080
|
+
},
|
18081
|
+
},
|
18082
|
+
],
|
18083
|
+
},
|
18084
|
+
},
|
18085
|
+
...OrganizationFragmentDoc.definitions,
|
18086
|
+
],
|
18087
|
+
};
|
18088
|
+
const ExternalUsersDocument = {
|
18089
|
+
kind: "Document",
|
18090
|
+
definitions: [
|
18091
|
+
{
|
18092
|
+
kind: "OperationDefinition",
|
18093
|
+
operation: "query",
|
18094
|
+
name: { kind: "Name", value: "externalUsers" },
|
18095
|
+
variableDefinitions: [
|
18096
|
+
{
|
18097
|
+
kind: "VariableDefinition",
|
18098
|
+
variable: { kind: "Variable", name: { kind: "Name", value: "after" } },
|
18099
|
+
type: { kind: "NamedType", name: { kind: "Name", value: "String" } },
|
18100
|
+
},
|
18101
|
+
{
|
18102
|
+
kind: "VariableDefinition",
|
18103
|
+
variable: { kind: "Variable", name: { kind: "Name", value: "before" } },
|
18104
|
+
type: { kind: "NamedType", name: { kind: "Name", value: "String" } },
|
18105
|
+
},
|
18106
|
+
{
|
18107
|
+
kind: "VariableDefinition",
|
18108
|
+
variable: { kind: "Variable", name: { kind: "Name", value: "first" } },
|
18109
|
+
type: { kind: "NamedType", name: { kind: "Name", value: "Int" } },
|
18110
|
+
},
|
18111
|
+
{
|
18112
|
+
kind: "VariableDefinition",
|
18113
|
+
variable: { kind: "Variable", name: { kind: "Name", value: "includeArchived" } },
|
18114
|
+
type: { kind: "NamedType", name: { kind: "Name", value: "Boolean" } },
|
18115
|
+
},
|
18116
|
+
{
|
18117
|
+
kind: "VariableDefinition",
|
18118
|
+
variable: { kind: "Variable", name: { kind: "Name", value: "last" } },
|
18119
|
+
type: { kind: "NamedType", name: { kind: "Name", value: "Int" } },
|
18120
|
+
},
|
18121
|
+
{
|
18122
|
+
kind: "VariableDefinition",
|
18123
|
+
variable: { kind: "Variable", name: { kind: "Name", value: "orderBy" } },
|
18124
|
+
type: { kind: "NamedType", name: { kind: "Name", value: "PaginationOrderBy" } },
|
18125
|
+
},
|
18126
|
+
],
|
18127
|
+
selectionSet: {
|
18128
|
+
kind: "SelectionSet",
|
18129
|
+
selections: [
|
18130
|
+
{
|
18131
|
+
kind: "Field",
|
18132
|
+
name: { kind: "Name", value: "externalUsers" },
|
18133
|
+
arguments: [
|
18134
|
+
{
|
18135
|
+
kind: "Argument",
|
18136
|
+
name: { kind: "Name", value: "after" },
|
18137
|
+
value: { kind: "Variable", name: { kind: "Name", value: "after" } },
|
18138
|
+
},
|
18139
|
+
{
|
18140
|
+
kind: "Argument",
|
18141
|
+
name: { kind: "Name", value: "before" },
|
18142
|
+
value: { kind: "Variable", name: { kind: "Name", value: "before" } },
|
18143
|
+
},
|
18144
|
+
{
|
18145
|
+
kind: "Argument",
|
18146
|
+
name: { kind: "Name", value: "first" },
|
18147
|
+
value: { kind: "Variable", name: { kind: "Name", value: "first" } },
|
18148
|
+
},
|
18149
|
+
{
|
18150
|
+
kind: "Argument",
|
18151
|
+
name: { kind: "Name", value: "includeArchived" },
|
18152
|
+
value: { kind: "Variable", name: { kind: "Name", value: "includeArchived" } },
|
18153
|
+
},
|
18154
|
+
{
|
18155
|
+
kind: "Argument",
|
18156
|
+
name: { kind: "Name", value: "last" },
|
18157
|
+
value: { kind: "Variable", name: { kind: "Name", value: "last" } },
|
18158
|
+
},
|
18159
|
+
{
|
18160
|
+
kind: "Argument",
|
18161
|
+
name: { kind: "Name", value: "orderBy" },
|
18162
|
+
value: { kind: "Variable", name: { kind: "Name", value: "orderBy" } },
|
18163
|
+
},
|
18164
|
+
],
|
18165
|
+
selectionSet: {
|
18166
|
+
kind: "SelectionSet",
|
18167
|
+
selections: [
|
18168
|
+
{
|
18169
|
+
kind: "Field",
|
18170
|
+
name: { kind: "Name", value: "nodes" },
|
18171
|
+
selectionSet: {
|
18172
|
+
kind: "SelectionSet",
|
18173
|
+
selections: [
|
18174
|
+
{ kind: "Field", name: { kind: "Name", value: "archivedAt" } },
|
18175
|
+
{ kind: "Field", name: { kind: "Name", value: "avatarUrl" } },
|
18176
|
+
{ kind: "Field", name: { kind: "Name", value: "createdAt" } },
|
18177
|
+
{ kind: "Field", name: { kind: "Name", value: "displayName" } },
|
18178
|
+
{ kind: "Field", name: { kind: "Name", value: "email" } },
|
18179
|
+
{ kind: "Field", name: { kind: "Name", value: "id" } },
|
18180
|
+
{ kind: "Field", name: { kind: "Name", value: "lastSeen" } },
|
18181
|
+
{ kind: "Field", name: { kind: "Name", value: "name" } },
|
18182
|
+
{
|
18183
|
+
kind: "Field",
|
18184
|
+
name: { kind: "Name", value: "organization" },
|
18185
|
+
selectionSet: {
|
18186
|
+
kind: "SelectionSet",
|
18187
|
+
selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "Organization" } }],
|
18188
|
+
},
|
18189
|
+
},
|
18190
|
+
{ kind: "Field", name: { kind: "Name", value: "updatedAt" } },
|
18191
|
+
],
|
18192
|
+
},
|
18193
|
+
},
|
18194
|
+
{
|
18195
|
+
kind: "Field",
|
18196
|
+
name: { kind: "Name", value: "pageInfo" },
|
18197
|
+
selectionSet: {
|
18198
|
+
kind: "SelectionSet",
|
18199
|
+
selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "PageInfo" } }],
|
18200
|
+
},
|
18201
|
+
},
|
18202
|
+
],
|
18203
|
+
},
|
18204
|
+
},
|
18205
|
+
],
|
18206
|
+
},
|
18207
|
+
},
|
18208
|
+
...OrganizationFragmentDoc.definitions,
|
18209
|
+
...PageInfoFragmentDoc.definitions,
|
18210
|
+
],
|
18211
|
+
};
|
17878
18212
|
const FavoriteDocument = {
|
17879
18213
|
kind: "Document",
|
17880
18214
|
definitions: [
|
@@ -22639,6 +22973,117 @@
|
|
22639
22973
|
...UserConnectionFragmentDoc.definitions,
|
22640
22974
|
],
|
22641
22975
|
};
|
22976
|
+
const Project_ProjectMilestonesDocument = {
|
22977
|
+
kind: "Document",
|
22978
|
+
definitions: [
|
22979
|
+
{
|
22980
|
+
kind: "OperationDefinition",
|
22981
|
+
operation: "query",
|
22982
|
+
name: { kind: "Name", value: "project_projectMilestones" },
|
22983
|
+
variableDefinitions: [
|
22984
|
+
{
|
22985
|
+
kind: "VariableDefinition",
|
22986
|
+
variable: { kind: "Variable", name: { kind: "Name", value: "id" } },
|
22987
|
+
type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "String" } } },
|
22988
|
+
},
|
22989
|
+
{
|
22990
|
+
kind: "VariableDefinition",
|
22991
|
+
variable: { kind: "Variable", name: { kind: "Name", value: "after" } },
|
22992
|
+
type: { kind: "NamedType", name: { kind: "Name", value: "String" } },
|
22993
|
+
},
|
22994
|
+
{
|
22995
|
+
kind: "VariableDefinition",
|
22996
|
+
variable: { kind: "Variable", name: { kind: "Name", value: "before" } },
|
22997
|
+
type: { kind: "NamedType", name: { kind: "Name", value: "String" } },
|
22998
|
+
},
|
22999
|
+
{
|
23000
|
+
kind: "VariableDefinition",
|
23001
|
+
variable: { kind: "Variable", name: { kind: "Name", value: "first" } },
|
23002
|
+
type: { kind: "NamedType", name: { kind: "Name", value: "Int" } },
|
23003
|
+
},
|
23004
|
+
{
|
23005
|
+
kind: "VariableDefinition",
|
23006
|
+
variable: { kind: "Variable", name: { kind: "Name", value: "includeArchived" } },
|
23007
|
+
type: { kind: "NamedType", name: { kind: "Name", value: "Boolean" } },
|
23008
|
+
},
|
23009
|
+
{
|
23010
|
+
kind: "VariableDefinition",
|
23011
|
+
variable: { kind: "Variable", name: { kind: "Name", value: "last" } },
|
23012
|
+
type: { kind: "NamedType", name: { kind: "Name", value: "Int" } },
|
23013
|
+
},
|
23014
|
+
{
|
23015
|
+
kind: "VariableDefinition",
|
23016
|
+
variable: { kind: "Variable", name: { kind: "Name", value: "orderBy" } },
|
23017
|
+
type: { kind: "NamedType", name: { kind: "Name", value: "PaginationOrderBy" } },
|
23018
|
+
},
|
23019
|
+
],
|
23020
|
+
selectionSet: {
|
23021
|
+
kind: "SelectionSet",
|
23022
|
+
selections: [
|
23023
|
+
{
|
23024
|
+
kind: "Field",
|
23025
|
+
name: { kind: "Name", value: "project" },
|
23026
|
+
arguments: [
|
23027
|
+
{
|
23028
|
+
kind: "Argument",
|
23029
|
+
name: { kind: "Name", value: "id" },
|
23030
|
+
value: { kind: "Variable", name: { kind: "Name", value: "id" } },
|
23031
|
+
},
|
23032
|
+
],
|
23033
|
+
selectionSet: {
|
23034
|
+
kind: "SelectionSet",
|
23035
|
+
selections: [
|
23036
|
+
{
|
23037
|
+
kind: "Field",
|
23038
|
+
name: { kind: "Name", value: "projectMilestones" },
|
23039
|
+
arguments: [
|
23040
|
+
{
|
23041
|
+
kind: "Argument",
|
23042
|
+
name: { kind: "Name", value: "after" },
|
23043
|
+
value: { kind: "Variable", name: { kind: "Name", value: "after" } },
|
23044
|
+
},
|
23045
|
+
{
|
23046
|
+
kind: "Argument",
|
23047
|
+
name: { kind: "Name", value: "before" },
|
23048
|
+
value: { kind: "Variable", name: { kind: "Name", value: "before" } },
|
23049
|
+
},
|
23050
|
+
{
|
23051
|
+
kind: "Argument",
|
23052
|
+
name: { kind: "Name", value: "first" },
|
23053
|
+
value: { kind: "Variable", name: { kind: "Name", value: "first" } },
|
23054
|
+
},
|
23055
|
+
{
|
23056
|
+
kind: "Argument",
|
23057
|
+
name: { kind: "Name", value: "includeArchived" },
|
23058
|
+
value: { kind: "Variable", name: { kind: "Name", value: "includeArchived" } },
|
23059
|
+
},
|
23060
|
+
{
|
23061
|
+
kind: "Argument",
|
23062
|
+
name: { kind: "Name", value: "last" },
|
23063
|
+
value: { kind: "Variable", name: { kind: "Name", value: "last" } },
|
23064
|
+
},
|
23065
|
+
{
|
23066
|
+
kind: "Argument",
|
23067
|
+
name: { kind: "Name", value: "orderBy" },
|
23068
|
+
value: { kind: "Variable", name: { kind: "Name", value: "orderBy" } },
|
23069
|
+
},
|
23070
|
+
],
|
23071
|
+
selectionSet: {
|
23072
|
+
kind: "SelectionSet",
|
23073
|
+
selections: [
|
23074
|
+
{ kind: "FragmentSpread", name: { kind: "Name", value: "ProjectMilestoneConnection" } },
|
23075
|
+
],
|
23076
|
+
},
|
23077
|
+
},
|
23078
|
+
],
|
23079
|
+
},
|
23080
|
+
},
|
23081
|
+
],
|
23082
|
+
},
|
23083
|
+
},
|
23084
|
+
...ProjectMilestoneConnectionFragmentDoc.definitions,
|
23085
|
+
],
|
23086
|
+
};
|
22642
23087
|
const Project_ProjectUpdatesDocument = {
|
22643
23088
|
kind: "Document",
|
22644
23089
|
definitions: [
|
@@ -26719,6 +27164,7 @@
|
|
26719
27164
|
CustomViewFragmentDoc: CustomViewFragmentDoc,
|
26720
27165
|
CustomViewConnectionFragmentDoc: CustomViewConnectionFragmentDoc,
|
26721
27166
|
CustomViewPayloadFragmentDoc: CustomViewPayloadFragmentDoc,
|
27167
|
+
CustomViewSuggestionPayloadFragmentDoc: CustomViewSuggestionPayloadFragmentDoc,
|
26722
27168
|
CycleFragmentDoc: CycleFragmentDoc,
|
26723
27169
|
CycleConnectionFragmentDoc: CycleConnectionFragmentDoc,
|
26724
27170
|
CyclePayloadFragmentDoc: CyclePayloadFragmentDoc,
|
@@ -26788,6 +27234,7 @@
|
|
26788
27234
|
OrganizationInviteDetailsPayloadFragmentDoc: OrganizationInviteDetailsPayloadFragmentDoc,
|
26789
27235
|
OrganizationInvitePayloadFragmentDoc: OrganizationInvitePayloadFragmentDoc,
|
26790
27236
|
OrganizationPayloadFragmentDoc: OrganizationPayloadFragmentDoc,
|
27237
|
+
OrganizationStartPlusTrialPayloadFragmentDoc: OrganizationStartPlusTrialPayloadFragmentDoc,
|
26791
27238
|
ProjectFragmentDoc: ProjectFragmentDoc,
|
26792
27239
|
ProjectConnectionFragmentDoc: ProjectConnectionFragmentDoc,
|
26793
27240
|
ProjectLinkFragmentDoc: ProjectLinkFragmentDoc,
|
@@ -26954,6 +27401,7 @@
|
|
26954
27401
|
CreateOrganizationInviteDocument: CreateOrganizationInviteDocument,
|
26955
27402
|
DeleteOrganizationInviteDocument: DeleteOrganizationInviteDocument,
|
26956
27403
|
UpdateOrganizationInviteDocument: UpdateOrganizationInviteDocument,
|
27404
|
+
OrganizationStartPlusTrialDocument: OrganizationStartPlusTrialDocument,
|
26957
27405
|
UpdateOrganizationDocument: UpdateOrganizationDocument,
|
26958
27406
|
ArchiveProjectDocument: ArchiveProjectDocument,
|
26959
27407
|
CreateProjectDocument: CreateProjectDocument,
|
@@ -26977,11 +27425,13 @@
|
|
26977
27425
|
DeleteReactionDocument: DeleteReactionDocument,
|
26978
27426
|
RefreshGoogleSheetsDataDocument: RefreshGoogleSheetsDataDocument,
|
26979
27427
|
ResendOrganizationInviteDocument: ResendOrganizationInviteDocument,
|
27428
|
+
ArchiveRoadmapDocument: ArchiveRoadmapDocument,
|
26980
27429
|
CreateRoadmapDocument: CreateRoadmapDocument,
|
26981
27430
|
DeleteRoadmapDocument: DeleteRoadmapDocument,
|
26982
27431
|
CreateRoadmapToProjectDocument: CreateRoadmapToProjectDocument,
|
26983
27432
|
DeleteRoadmapToProjectDocument: DeleteRoadmapToProjectDocument,
|
26984
27433
|
UpdateRoadmapToProjectDocument: UpdateRoadmapToProjectDocument,
|
27434
|
+
UnarchiveRoadmapDocument: UnarchiveRoadmapDocument,
|
26985
27435
|
UpdateRoadmapDocument: UpdateRoadmapDocument,
|
26986
27436
|
SamlTokenUserAccountAuthDocument: SamlTokenUserAccountAuthDocument,
|
26987
27437
|
CreateTeamDocument: CreateTeamDocument,
|
@@ -27053,6 +27503,8 @@
|
|
27053
27503
|
DocumentsDocument: DocumentsDocument,
|
27054
27504
|
EmojiDocument: EmojiDocument,
|
27055
27505
|
EmojisDocument: EmojisDocument,
|
27506
|
+
ExternalUserDocument: ExternalUserDocument,
|
27507
|
+
ExternalUsersDocument: ExternalUsersDocument,
|
27056
27508
|
FavoriteDocument: FavoriteDocument,
|
27057
27509
|
Favorite_ChildrenDocument: Favorite_ChildrenDocument,
|
27058
27510
|
FavoritesDocument: FavoritesDocument,
|
@@ -27110,6 +27562,7 @@
|
|
27110
27562
|
Project_IssuesDocument: Project_IssuesDocument,
|
27111
27563
|
Project_LinksDocument: Project_LinksDocument,
|
27112
27564
|
Project_MembersDocument: Project_MembersDocument,
|
27565
|
+
Project_ProjectMilestonesDocument: Project_ProjectMilestonesDocument,
|
27113
27566
|
Project_ProjectUpdatesDocument: Project_ProjectUpdatesDocument,
|
27114
27567
|
Project_TeamsDocument: Project_TeamsDocument,
|
27115
27568
|
ProjectLinkDocument: ProjectLinkDocument,
|
@@ -27386,7 +27839,7 @@
|
|
27386
27839
|
this.id = data.id;
|
27387
27840
|
this.metadata = (_c = parseJson(data.metadata)) !== null && _c !== void 0 ? _c : {};
|
27388
27841
|
this.source = (_d = parseJson(data.source)) !== null && _d !== void 0 ? _d : undefined;
|
27389
|
-
this.sourceType = (_e =
|
27842
|
+
this.sourceType = (_e = data.sourceType) !== null && _e !== void 0 ? _e : undefined;
|
27390
27843
|
this.subtitle = (_f = data.subtitle) !== null && _f !== void 0 ? _f : undefined;
|
27391
27844
|
this.title = data.title;
|
27392
27845
|
this.updatedAt = (_g = parseDate(data.updatedAt)) !== null && _g !== void 0 ? _g : new Date();
|
@@ -27734,6 +28187,21 @@
|
|
27734
28187
|
return new CustomViewQuery(this._request).fetch(this._customView.id);
|
27735
28188
|
}
|
27736
28189
|
}
|
28190
|
+
/**
|
28191
|
+
* CustomViewSuggestionPayload model
|
28192
|
+
*
|
28193
|
+
* @param request - function to call the graphql client
|
28194
|
+
* @param data - L.CustomViewSuggestionPayloadFragment response data
|
28195
|
+
*/
|
28196
|
+
class CustomViewSuggestionPayload extends Request {
|
28197
|
+
constructor(request, data) {
|
28198
|
+
var _a, _b, _c;
|
28199
|
+
super(request);
|
28200
|
+
this.suggestedDescription = (_a = data.suggestedDescription) !== null && _a !== void 0 ? _a : undefined;
|
28201
|
+
this.suggestedIcon = (_b = data.suggestedIcon) !== null && _b !== void 0 ? _b : undefined;
|
28202
|
+
this.suggestedName = (_c = data.suggestedName) !== null && _c !== void 0 ? _c : undefined;
|
28203
|
+
}
|
28204
|
+
}
|
27737
28205
|
/**
|
27738
28206
|
* A set of issues to be resolved in a specified amount of time.
|
27739
28207
|
*
|
@@ -28586,7 +29054,7 @@
|
|
28586
29054
|
*/
|
28587
29055
|
class Issue extends Request {
|
28588
29056
|
constructor(request, data) {
|
28589
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x;
|
29057
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y;
|
28590
29058
|
super(request);
|
28591
29059
|
this.archivedAt = (_a = parseDate(data.archivedAt)) !== null && _a !== void 0 ? _a : undefined;
|
28592
29060
|
this.autoArchivedAt = (_b = parseDate(data.autoArchivedAt)) !== null && _b !== void 0 ? _b : undefined;
|
@@ -28621,7 +29089,8 @@
|
|
28621
29089
|
this._cycle = (_u = data.cycle) !== null && _u !== void 0 ? _u : undefined;
|
28622
29090
|
this._parent = (_v = data.parent) !== null && _v !== void 0 ? _v : undefined;
|
28623
29091
|
this._project = (_w = data.project) !== null && _w !== void 0 ? _w : undefined;
|
28624
|
-
this.
|
29092
|
+
this._projectMilestone = (_x = data.projectMilestone) !== null && _x !== void 0 ? _x : undefined;
|
29093
|
+
this._snoozedBy = (_y = data.snoozedBy) !== null && _y !== void 0 ? _y : undefined;
|
28625
29094
|
this._state = data.state;
|
28626
29095
|
this._team = data.team;
|
28627
29096
|
}
|
@@ -28650,6 +29119,13 @@
|
|
28650
29119
|
var _a, _b;
|
28651
29120
|
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;
|
28652
29121
|
}
|
29122
|
+
/** The projectMilestone that the issue is associated with. */
|
29123
|
+
get projectMilestone() {
|
29124
|
+
var _a, _b;
|
29125
|
+
return ((_a = this._projectMilestone) === null || _a === void 0 ? void 0 : _a.id)
|
29126
|
+
? new ProjectMilestoneQuery(this._request).fetch((_b = this._projectMilestone) === null || _b === void 0 ? void 0 : _b.id)
|
29127
|
+
: undefined;
|
29128
|
+
}
|
28653
29129
|
/** The user who snoozed the issue. */
|
28654
29130
|
get snoozedBy() {
|
28655
29131
|
var _a, _b;
|
@@ -29804,6 +30280,18 @@
|
|
29804
30280
|
return new OrganizationQuery(this._request).fetch();
|
29805
30281
|
}
|
29806
30282
|
}
|
30283
|
+
/**
|
30284
|
+
* OrganizationStartPlusTrialPayload model
|
30285
|
+
*
|
30286
|
+
* @param request - function to call the graphql client
|
30287
|
+
* @param data - L.OrganizationStartPlusTrialPayloadFragment response data
|
30288
|
+
*/
|
30289
|
+
class OrganizationStartPlusTrialPayload extends Request {
|
30290
|
+
constructor(request, data) {
|
30291
|
+
super(request);
|
30292
|
+
this.success = data.success;
|
30293
|
+
}
|
30294
|
+
}
|
29807
30295
|
/**
|
29808
30296
|
* PageInfo model
|
29809
30297
|
*
|
@@ -29955,6 +30443,10 @@
|
|
29955
30443
|
members(variables) {
|
29956
30444
|
return new Project_MembersQuery(this._request, this.id, variables).fetch(variables);
|
29957
30445
|
}
|
30446
|
+
/** Milestones associated with the project. */
|
30447
|
+
projectMilestones(variables) {
|
30448
|
+
return new Project_ProjectMilestonesQuery(this._request, this.id, variables).fetch(variables);
|
30449
|
+
}
|
29958
30450
|
/** Project updates associated with the project. */
|
29959
30451
|
projectUpdates(variables) {
|
29960
30452
|
return new Project_ProjectUpdatesQuery(this._request, this.id, variables).fetch(variables);
|
@@ -30485,18 +30977,19 @@
|
|
30485
30977
|
*/
|
30486
30978
|
class Reaction extends Request {
|
30487
30979
|
constructor(request, data) {
|
30488
|
-
var _a, _b, _c;
|
30980
|
+
var _a, _b, _c, _d;
|
30489
30981
|
super(request);
|
30490
30982
|
this.archivedAt = (_a = parseDate(data.archivedAt)) !== null && _a !== void 0 ? _a : undefined;
|
30491
30983
|
this.createdAt = (_b = parseDate(data.createdAt)) !== null && _b !== void 0 ? _b : new Date();
|
30492
30984
|
this.emoji = data.emoji;
|
30493
30985
|
this.id = data.id;
|
30494
30986
|
this.updatedAt = (_c = parseDate(data.updatedAt)) !== null && _c !== void 0 ? _c : new Date();
|
30495
|
-
this._user = data.user;
|
30987
|
+
this._user = (_d = data.user) !== null && _d !== void 0 ? _d : undefined;
|
30496
30988
|
}
|
30497
30989
|
/** The user who reacted. */
|
30498
30990
|
get user() {
|
30499
|
-
|
30991
|
+
var _a, _b;
|
30992
|
+
return ((_a = this._user) === null || _a === void 0 ? void 0 : _a.id) ? new UserQuery(this._request).fetch((_b = this._user) === null || _b === void 0 ? void 0 : _b.id) : undefined;
|
30500
30993
|
}
|
30501
30994
|
/** Creates a new reaction. */
|
30502
30995
|
create(input) {
|
@@ -30541,15 +31034,17 @@
|
|
30541
31034
|
*/
|
30542
31035
|
class Roadmap extends Request {
|
30543
31036
|
constructor(request, data) {
|
30544
|
-
var _a, _b, _c, _d;
|
31037
|
+
var _a, _b, _c, _d, _e;
|
30545
31038
|
super(request);
|
30546
31039
|
this.archivedAt = (_a = parseDate(data.archivedAt)) !== null && _a !== void 0 ? _a : undefined;
|
30547
|
-
this.
|
30548
|
-
this.
|
31040
|
+
this.color = (_b = data.color) !== null && _b !== void 0 ? _b : undefined;
|
31041
|
+
this.createdAt = (_c = parseDate(data.createdAt)) !== null && _c !== void 0 ? _c : new Date();
|
31042
|
+
this.description = (_d = data.description) !== null && _d !== void 0 ? _d : undefined;
|
30549
31043
|
this.id = data.id;
|
30550
31044
|
this.name = data.name;
|
30551
31045
|
this.slugId = data.slugId;
|
30552
|
-
this.
|
31046
|
+
this.sortOrder = data.sortOrder;
|
31047
|
+
this.updatedAt = (_e = parseDate(data.updatedAt)) !== null && _e !== void 0 ? _e : new Date();
|
30553
31048
|
this._creator = data.creator;
|
30554
31049
|
this._owner = data.owner;
|
30555
31050
|
}
|
@@ -30569,6 +31064,10 @@
|
|
30569
31064
|
projects(variables) {
|
30570
31065
|
return new Roadmap_ProjectsQuery(this._request, this.id, variables).fetch(variables);
|
30571
31066
|
}
|
31067
|
+
/** Archives a roadmap. */
|
31068
|
+
archive() {
|
31069
|
+
return new ArchiveRoadmapMutation(this._request).fetch(this.id);
|
31070
|
+
}
|
30572
31071
|
/** Creates a new roadmap. */
|
30573
31072
|
create(input) {
|
30574
31073
|
return new CreateRoadmapMutation(this._request).fetch(input);
|
@@ -30577,6 +31076,10 @@
|
|
30577
31076
|
delete() {
|
30578
31077
|
return new DeleteRoadmapMutation(this._request).fetch(this.id);
|
30579
31078
|
}
|
31079
|
+
/** Unarchives a roadmap. */
|
31080
|
+
unarchive() {
|
31081
|
+
return new UnarchiveRoadmapMutation(this._request).fetch(this.id);
|
31082
|
+
}
|
30580
31083
|
/** Updates a roadmap. */
|
30581
31084
|
update(input) {
|
30582
31085
|
return new UpdateRoadmapMutation(this._request).fetch(this.id, input);
|
@@ -31405,14 +31908,15 @@
|
|
31405
31908
|
*/
|
31406
31909
|
class UserSettings extends Request {
|
31407
31910
|
constructor(request, data) {
|
31408
|
-
var _a, _b, _c, _d;
|
31911
|
+
var _a, _b, _c, _d, _e;
|
31409
31912
|
super(request);
|
31410
31913
|
this.archivedAt = (_a = parseDate(data.archivedAt)) !== null && _a !== void 0 ? _a : undefined;
|
31411
|
-
this.
|
31914
|
+
this.calendarHash = (_b = data.calendarHash) !== null && _b !== void 0 ? _b : undefined;
|
31915
|
+
this.createdAt = (_c = parseDate(data.createdAt)) !== null && _c !== void 0 ? _c : new Date();
|
31412
31916
|
this.id = data.id;
|
31413
|
-
this.notificationPreferences = (
|
31917
|
+
this.notificationPreferences = (_d = parseJson(data.notificationPreferences)) !== null && _d !== void 0 ? _d : {};
|
31414
31918
|
this.unsubscribedFrom = data.unsubscribedFrom;
|
31415
|
-
this.updatedAt = (
|
31919
|
+
this.updatedAt = (_e = parseDate(data.updatedAt)) !== null && _e !== void 0 ? _e : new Date();
|
31416
31920
|
this._user = data.user;
|
31417
31921
|
}
|
31418
31922
|
/** The user associated with these settings. */
|
@@ -34422,6 +34926,28 @@
|
|
34422
34926
|
});
|
34423
34927
|
}
|
34424
34928
|
}
|
34929
|
+
/**
|
34930
|
+
* A fetchable OrganizationStartPlusTrial Mutation
|
34931
|
+
*
|
34932
|
+
* @param request - function to call the graphql client
|
34933
|
+
*/
|
34934
|
+
class OrganizationStartPlusTrialMutation extends Request {
|
34935
|
+
constructor(request) {
|
34936
|
+
super(request);
|
34937
|
+
}
|
34938
|
+
/**
|
34939
|
+
* Call the OrganizationStartPlusTrial mutation and return a OrganizationStartPlusTrialPayload
|
34940
|
+
*
|
34941
|
+
* @returns parsed response from OrganizationStartPlusTrialMutation
|
34942
|
+
*/
|
34943
|
+
fetch() {
|
34944
|
+
return __awaiter(this, void 0, void 0, function* () {
|
34945
|
+
const response = yield this._request(OrganizationStartPlusTrialDocument, {});
|
34946
|
+
const data = response.organizationStartPlusTrial;
|
34947
|
+
return new OrganizationStartPlusTrialPayload(this._request, data);
|
34948
|
+
});
|
34949
|
+
}
|
34950
|
+
}
|
34425
34951
|
/**
|
34426
34952
|
* A fetchable UpdateOrganization Mutation
|
34427
34953
|
*
|
@@ -35005,6 +35531,31 @@
|
|
35005
35531
|
});
|
35006
35532
|
}
|
35007
35533
|
}
|
35534
|
+
/**
|
35535
|
+
* A fetchable ArchiveRoadmap Mutation
|
35536
|
+
*
|
35537
|
+
* @param request - function to call the graphql client
|
35538
|
+
*/
|
35539
|
+
class ArchiveRoadmapMutation extends Request {
|
35540
|
+
constructor(request) {
|
35541
|
+
super(request);
|
35542
|
+
}
|
35543
|
+
/**
|
35544
|
+
* Call the ArchiveRoadmap mutation and return a ArchivePayload
|
35545
|
+
*
|
35546
|
+
* @param id - required id to pass to archiveRoadmap
|
35547
|
+
* @returns parsed response from ArchiveRoadmapMutation
|
35548
|
+
*/
|
35549
|
+
fetch(id) {
|
35550
|
+
return __awaiter(this, void 0, void 0, function* () {
|
35551
|
+
const response = yield this._request(ArchiveRoadmapDocument, {
|
35552
|
+
id,
|
35553
|
+
});
|
35554
|
+
const data = response.roadmapArchive;
|
35555
|
+
return new ArchivePayload(this._request, data);
|
35556
|
+
});
|
35557
|
+
}
|
35558
|
+
}
|
35008
35559
|
/**
|
35009
35560
|
* A fetchable CreateRoadmap Mutation
|
35010
35561
|
*
|
@@ -35132,6 +35683,31 @@
|
|
35132
35683
|
});
|
35133
35684
|
}
|
35134
35685
|
}
|
35686
|
+
/**
|
35687
|
+
* A fetchable UnarchiveRoadmap Mutation
|
35688
|
+
*
|
35689
|
+
* @param request - function to call the graphql client
|
35690
|
+
*/
|
35691
|
+
class UnarchiveRoadmapMutation extends Request {
|
35692
|
+
constructor(request) {
|
35693
|
+
super(request);
|
35694
|
+
}
|
35695
|
+
/**
|
35696
|
+
* Call the UnarchiveRoadmap mutation and return a ArchivePayload
|
35697
|
+
*
|
35698
|
+
* @param id - required id to pass to unarchiveRoadmap
|
35699
|
+
* @returns parsed response from UnarchiveRoadmapMutation
|
35700
|
+
*/
|
35701
|
+
fetch(id) {
|
35702
|
+
return __awaiter(this, void 0, void 0, function* () {
|
35703
|
+
const response = yield this._request(UnarchiveRoadmapDocument, {
|
35704
|
+
id,
|
35705
|
+
});
|
35706
|
+
const data = response.roadmapUnarchive;
|
35707
|
+
return new ArchivePayload(this._request, data);
|
35708
|
+
});
|
35709
|
+
}
|
35710
|
+
}
|
35135
35711
|
/**
|
35136
35712
|
* A fetchable UpdateRoadmap Mutation
|
35137
35713
|
*
|
@@ -39099,6 +39675,33 @@
|
|
39099
39675
|
});
|
39100
39676
|
}
|
39101
39677
|
}
|
39678
|
+
/**
|
39679
|
+
* A fetchable Project_ProjectMilestones Query
|
39680
|
+
*
|
39681
|
+
* @param request - function to call the graphql client
|
39682
|
+
* @param id - required id to pass to project
|
39683
|
+
* @param variables - variables without 'id' to pass into the Project_ProjectMilestonesQuery
|
39684
|
+
*/
|
39685
|
+
class Project_ProjectMilestonesQuery extends Request {
|
39686
|
+
constructor(request, id, variables) {
|
39687
|
+
super(request);
|
39688
|
+
this._id = id;
|
39689
|
+
this._variables = variables;
|
39690
|
+
}
|
39691
|
+
/**
|
39692
|
+
* Call the Project_ProjectMilestones query and return a ProjectMilestoneConnection
|
39693
|
+
*
|
39694
|
+
* @param variables - variables without 'id' to pass into the Project_ProjectMilestonesQuery
|
39695
|
+
* @returns parsed response from Project_ProjectMilestonesQuery
|
39696
|
+
*/
|
39697
|
+
fetch(variables) {
|
39698
|
+
return __awaiter(this, void 0, void 0, function* () {
|
39699
|
+
const response = yield this._request(Project_ProjectMilestonesDocument, Object.assign(Object.assign({ id: this._id }, this._variables), variables));
|
39700
|
+
const data = response.project.projectMilestones;
|
39701
|
+
return new ProjectMilestoneConnection(this._request, connection => this.fetch(defaultConnection(Object.assign(Object.assign(Object.assign({}, this._variables), variables), connection))), data);
|
39702
|
+
});
|
39703
|
+
}
|
39704
|
+
}
|
39102
39705
|
/**
|
39103
39706
|
* A fetchable Project_ProjectUpdates Query
|
39104
39707
|
*
|
@@ -40654,6 +41257,14 @@
|
|
40654
41257
|
updateOrganizationInvite(id, input) {
|
40655
41258
|
return new UpdateOrganizationInviteMutation(this._request).fetch(id, input);
|
40656
41259
|
}
|
41260
|
+
/**
|
41261
|
+
* Starts a plus trial for the organization. Administrator privileges required.
|
41262
|
+
*
|
41263
|
+
* @returns OrganizationStartPlusTrialPayload
|
41264
|
+
*/
|
41265
|
+
get organizationStartPlusTrial() {
|
41266
|
+
return new OrganizationStartPlusTrialMutation(this._request).fetch();
|
41267
|
+
}
|
40657
41268
|
/**
|
40658
41269
|
* Updates the user's organization.
|
40659
41270
|
*
|
@@ -40865,6 +41476,15 @@
|
|
40865
41476
|
resendOrganizationInvite(id) {
|
40866
41477
|
return new ResendOrganizationInviteMutation(this._request).fetch(id);
|
40867
41478
|
}
|
41479
|
+
/**
|
41480
|
+
* Archives a roadmap.
|
41481
|
+
*
|
41482
|
+
* @param id - required id to pass to archiveRoadmap
|
41483
|
+
* @returns ArchivePayload
|
41484
|
+
*/
|
41485
|
+
archiveRoadmap(id) {
|
41486
|
+
return new ArchiveRoadmapMutation(this._request).fetch(id);
|
41487
|
+
}
|
40868
41488
|
/**
|
40869
41489
|
* Creates a new roadmap.
|
40870
41490
|
*
|
@@ -40911,6 +41531,15 @@
|
|
40911
41531
|
updateRoadmapToProject(id, input) {
|
40912
41532
|
return new UpdateRoadmapToProjectMutation(this._request).fetch(id, input);
|
40913
41533
|
}
|
41534
|
+
/**
|
41535
|
+
* Unarchives a roadmap.
|
41536
|
+
*
|
41537
|
+
* @param id - required id to pass to unarchiveRoadmap
|
41538
|
+
* @returns ArchivePayload
|
41539
|
+
*/
|
41540
|
+
unarchiveRoadmap(id) {
|
41541
|
+
return new UnarchiveRoadmapMutation(this._request).fetch(id);
|
41542
|
+
}
|
40914
41543
|
/**
|
40915
41544
|
* Updates a roadmap.
|
40916
41545
|
*
|
@@ -42056,6 +42685,7 @@
|
|
42056
42685
|
exports.ArchiveNotificationMutation = ArchiveNotificationMutation;
|
42057
42686
|
exports.ArchivePayload = ArchivePayload;
|
42058
42687
|
exports.ArchiveProjectMutation = ArchiveProjectMutation;
|
42688
|
+
exports.ArchiveRoadmapMutation = ArchiveRoadmapMutation;
|
42059
42689
|
exports.ArchiveWorkflowStateMutation = ArchiveWorkflowStateMutation;
|
42060
42690
|
exports.Attachment = Attachment;
|
42061
42691
|
exports.AttachmentConnection = AttachmentConnection;
|
@@ -42136,6 +42766,7 @@
|
|
42136
42766
|
exports.CustomViewConnection = CustomViewConnection;
|
42137
42767
|
exports.CustomViewPayload = CustomViewPayload;
|
42138
42768
|
exports.CustomViewQuery = CustomViewQuery;
|
42769
|
+
exports.CustomViewSuggestionPayload = CustomViewSuggestionPayload;
|
42139
42770
|
exports.CustomViewsQuery = CustomViewsQuery;
|
42140
42771
|
exports.Cycle = Cycle;
|
42141
42772
|
exports.CycleConnection = CycleConnection;
|
@@ -42360,6 +42991,8 @@
|
|
42360
42991
|
exports.OrganizationInvitesQuery = OrganizationInvitesQuery;
|
42361
42992
|
exports.OrganizationPayload = OrganizationPayload;
|
42362
42993
|
exports.OrganizationQuery = OrganizationQuery;
|
42994
|
+
exports.OrganizationStartPlusTrialMutation = OrganizationStartPlusTrialMutation;
|
42995
|
+
exports.OrganizationStartPlusTrialPayload = OrganizationStartPlusTrialPayload;
|
42363
42996
|
exports.Organization_IntegrationsQuery = Organization_IntegrationsQuery;
|
42364
42997
|
exports.Organization_LabelsQuery = Organization_LabelsQuery;
|
42365
42998
|
exports.Organization_SubscriptionQuery = Organization_SubscriptionQuery;
|
@@ -42402,6 +43035,7 @@
|
|
42402
43035
|
exports.Project_IssuesQuery = Project_IssuesQuery;
|
42403
43036
|
exports.Project_LinksQuery = Project_LinksQuery;
|
42404
43037
|
exports.Project_MembersQuery = Project_MembersQuery;
|
43038
|
+
exports.Project_ProjectMilestonesQuery = Project_ProjectMilestonesQuery;
|
42405
43039
|
exports.Project_ProjectUpdatesQuery = Project_ProjectUpdatesQuery;
|
42406
43040
|
exports.Project_TeamsQuery = Project_TeamsQuery;
|
42407
43041
|
exports.ProjectsQuery = ProjectsQuery;
|
@@ -42469,6 +43103,7 @@
|
|
42469
43103
|
exports.UnarchiveIssueMutation = UnarchiveIssueMutation;
|
42470
43104
|
exports.UnarchiveNotificationMutation = UnarchiveNotificationMutation;
|
42471
43105
|
exports.UnarchiveProjectMutation = UnarchiveProjectMutation;
|
43106
|
+
exports.UnarchiveRoadmapMutation = UnarchiveRoadmapMutation;
|
42472
43107
|
exports.UnknownLinearError = UnknownLinearError;
|
42473
43108
|
exports.UnsuspendUserMutation = UnsuspendUserMutation;
|
42474
43109
|
exports.UpdateAttachmentMutation = UpdateAttachmentMutation;
|