@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-cjs.js
CHANGED
@@ -83475,6 +83475,7 @@ var SlaStatus;
|
|
83475
83475
|
(function (SlaStatus) {
|
83476
83476
|
SlaStatus["Breached"] = "Breached";
|
83477
83477
|
SlaStatus["Completed"] = "Completed";
|
83478
|
+
SlaStatus["Failed"] = "Failed";
|
83478
83479
|
SlaStatus["HighRisk"] = "HighRisk";
|
83479
83480
|
SlaStatus["LowRisk"] = "LowRisk";
|
83480
83481
|
SlaStatus["MediumRisk"] = "MediumRisk";
|
@@ -83490,6 +83491,7 @@ var UserFlagType;
|
|
83490
83491
|
UserFlagType["CycleWelcomeDismissed"] = "cycleWelcomeDismissed";
|
83491
83492
|
UserFlagType["DesktopDownloadToastDismissed"] = "desktopDownloadToastDismissed";
|
83492
83493
|
UserFlagType["DesktopInstalled"] = "desktopInstalled";
|
83494
|
+
UserFlagType["DesktopTabsOnboardingDismissed"] = "desktopTabsOnboardingDismissed";
|
83493
83495
|
UserFlagType["DueDateShortcutMigration"] = "dueDateShortcutMigration";
|
83494
83496
|
UserFlagType["EmptyActiveIssuesDismissed"] = "emptyActiveIssuesDismissed";
|
83495
83497
|
UserFlagType["EmptyBacklogDismissed"] = "emptyBacklogDismissed";
|
@@ -83497,12 +83499,14 @@ var UserFlagType;
|
|
83497
83499
|
UserFlagType["EmptyMyIssuesDismissed"] = "emptyMyIssuesDismissed";
|
83498
83500
|
UserFlagType["FigmaPromptDismissed"] = "figmaPromptDismissed";
|
83499
83501
|
UserFlagType["ImportBannerDismissed"] = "importBannerDismissed";
|
83502
|
+
UserFlagType["InsightsHelpDismissed"] = "insightsHelpDismissed";
|
83500
83503
|
UserFlagType["InsightsWelcomeDismissed"] = "insightsWelcomeDismissed";
|
83501
83504
|
UserFlagType["IssueLabelSuggestionUsed"] = "issueLabelSuggestionUsed";
|
83502
83505
|
UserFlagType["IssueMovePromptCompleted"] = "issueMovePromptCompleted";
|
83503
83506
|
UserFlagType["JoinTeamIntroductionDismissed"] = "joinTeamIntroductionDismissed";
|
83504
83507
|
UserFlagType["ListSelectionTip"] = "listSelectionTip";
|
83505
83508
|
UserFlagType["MigrateThemePreference"] = "migrateThemePreference";
|
83509
|
+
UserFlagType["MilestoneOnboardingIsSeenAndDismissed"] = "milestoneOnboardingIsSeenAndDismissed";
|
83506
83510
|
UserFlagType["ProjectBacklogWelcomeDismissed"] = "projectBacklogWelcomeDismissed";
|
83507
83511
|
UserFlagType["ProjectUpdatesWelcomeDismissed"] = "projectUpdatesWelcomeDismissed";
|
83508
83512
|
UserFlagType["ProjectWelcomeDismissed"] = "projectWelcomeDismissed";
|
@@ -83560,6 +83564,7 @@ var ViewType;
|
|
83560
83564
|
ViewType["RoadmapAll"] = "roadmapAll";
|
83561
83565
|
ViewType["RoadmapBacklog"] = "roadmapBacklog";
|
83562
83566
|
ViewType["RoadmapClosed"] = "roadmapClosed";
|
83567
|
+
ViewType["Roadmaps"] = "roadmaps";
|
83563
83568
|
ViewType["Search"] = "search";
|
83564
83569
|
ViewType["Teams"] = "teams";
|
83565
83570
|
ViewType["Triage"] = "triage";
|
@@ -83785,7 +83790,6 @@ const UserFragmentDoc = {
|
|
83785
83790
|
{ kind: "Field", name: { kind: "Name", value: "statusUntilAt" } },
|
83786
83791
|
{ kind: "Field", name: { kind: "Name", value: "description" } },
|
83787
83792
|
{ kind: "Field", name: { kind: "Name", value: "avatarUrl" } },
|
83788
|
-
{ kind: "Field", name: { kind: "Name", value: "calendarHash" } },
|
83789
83793
|
{ kind: "Field", name: { kind: "Name", value: "createdIssueCount" } },
|
83790
83794
|
{ kind: "Field", name: { kind: "Name", value: "disableReason" } },
|
83791
83795
|
{ kind: "Field", name: { kind: "Name", value: "statusEmoji" } },
|
@@ -83805,6 +83809,7 @@ const UserFragmentDoc = {
|
|
83805
83809
|
{ kind: "Field", name: { kind: "Name", value: "guest" } },
|
83806
83810
|
{ kind: "Field", name: { kind: "Name", value: "admin" } },
|
83807
83811
|
{ kind: "Field", name: { kind: "Name", value: "isMe" } },
|
83812
|
+
{ kind: "Field", name: { kind: "Name", value: "calendarHash" } },
|
83808
83813
|
],
|
83809
83814
|
},
|
83810
83815
|
},
|
@@ -84391,6 +84396,7 @@ const UserSettingsFragmentDoc = {
|
|
84391
84396
|
kind: "SelectionSet",
|
84392
84397
|
selections: [
|
84393
84398
|
{ kind: "Field", name: { kind: "Name", value: "__typename" } },
|
84399
|
+
{ kind: "Field", name: { kind: "Name", value: "calendarHash" } },
|
84394
84400
|
{ kind: "Field", name: { kind: "Name", value: "unsubscribedFrom" } },
|
84395
84401
|
{ kind: "Field", name: { kind: "Name", value: "updatedAt" } },
|
84396
84402
|
{ kind: "Field", name: { kind: "Name", value: "notificationPreferences" } },
|
@@ -85109,6 +85115,25 @@ const CustomViewPayloadFragmentDoc = {
|
|
85109
85115
|
},
|
85110
85116
|
],
|
85111
85117
|
};
|
85118
|
+
const CustomViewSuggestionPayloadFragmentDoc = {
|
85119
|
+
kind: "Document",
|
85120
|
+
definitions: [
|
85121
|
+
{
|
85122
|
+
kind: "FragmentDefinition",
|
85123
|
+
name: { kind: "Name", value: "CustomViewSuggestionPayload" },
|
85124
|
+
typeCondition: { kind: "NamedType", name: { kind: "Name", value: "CustomViewSuggestionPayload" } },
|
85125
|
+
selectionSet: {
|
85126
|
+
kind: "SelectionSet",
|
85127
|
+
selections: [
|
85128
|
+
{ kind: "Field", name: { kind: "Name", value: "__typename" } },
|
85129
|
+
{ kind: "Field", name: { kind: "Name", value: "suggestedDescription" } },
|
85130
|
+
{ kind: "Field", name: { kind: "Name", value: "suggestedIcon" } },
|
85131
|
+
{ kind: "Field", name: { kind: "Name", value: "suggestedName" } },
|
85132
|
+
],
|
85133
|
+
},
|
85134
|
+
},
|
85135
|
+
],
|
85136
|
+
};
|
85112
85137
|
const CycleFragmentDoc = {
|
85113
85138
|
kind: "Document",
|
85114
85139
|
definitions: [
|
@@ -86113,6 +86138,14 @@ const IssueFragmentDoc = {
|
|
86113
86138
|
selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }],
|
86114
86139
|
},
|
86115
86140
|
},
|
86141
|
+
{
|
86142
|
+
kind: "Field",
|
86143
|
+
name: { kind: "Name", value: "projectMilestone" },
|
86144
|
+
selectionSet: {
|
86145
|
+
kind: "SelectionSet",
|
86146
|
+
selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }],
|
86147
|
+
},
|
86148
|
+
},
|
86116
86149
|
{
|
86117
86150
|
kind: "Field",
|
86118
86151
|
name: { kind: "Name", value: "team" },
|
@@ -87545,6 +87578,23 @@ const OrganizationPayloadFragmentDoc = {
|
|
87545
87578
|
},
|
87546
87579
|
],
|
87547
87580
|
};
|
87581
|
+
const OrganizationStartPlusTrialPayloadFragmentDoc = {
|
87582
|
+
kind: "Document",
|
87583
|
+
definitions: [
|
87584
|
+
{
|
87585
|
+
kind: "FragmentDefinition",
|
87586
|
+
name: { kind: "Name", value: "OrganizationStartPlusTrialPayload" },
|
87587
|
+
typeCondition: { kind: "NamedType", name: { kind: "Name", value: "OrganizationStartPlusTrialPayload" } },
|
87588
|
+
selectionSet: {
|
87589
|
+
kind: "SelectionSet",
|
87590
|
+
selections: [
|
87591
|
+
{ kind: "Field", name: { kind: "Name", value: "__typename" } },
|
87592
|
+
{ kind: "Field", name: { kind: "Name", value: "success" } },
|
87593
|
+
],
|
87594
|
+
},
|
87595
|
+
},
|
87596
|
+
],
|
87597
|
+
};
|
87548
87598
|
const ProjectFragmentDoc = {
|
87549
87599
|
kind: "Document",
|
87550
87600
|
definitions: [
|
@@ -88343,7 +88393,9 @@ const RoadmapFragmentDoc = {
|
|
88343
88393
|
{ kind: "Field", name: { kind: "Name", value: "description" } },
|
88344
88394
|
{ kind: "Field", name: { kind: "Name", value: "updatedAt" } },
|
88345
88395
|
{ kind: "Field", name: { kind: "Name", value: "name" } },
|
88396
|
+
{ kind: "Field", name: { kind: "Name", value: "color" } },
|
88346
88397
|
{ kind: "Field", name: { kind: "Name", value: "slugId" } },
|
88398
|
+
{ kind: "Field", name: { kind: "Name", value: "sortOrder" } },
|
88347
88399
|
{ kind: "Field", name: { kind: "Name", value: "archivedAt" } },
|
88348
88400
|
{ kind: "Field", name: { kind: "Name", value: "createdAt" } },
|
88349
88401
|
{ kind: "Field", name: { kind: "Name", value: "id" } },
|
@@ -94386,6 +94438,32 @@ const UpdateOrganizationInviteDocument = {
|
|
94386
94438
|
...OrganizationInvitePayloadFragmentDoc.definitions,
|
94387
94439
|
],
|
94388
94440
|
};
|
94441
|
+
const OrganizationStartPlusTrialDocument = {
|
94442
|
+
kind: "Document",
|
94443
|
+
definitions: [
|
94444
|
+
{
|
94445
|
+
kind: "OperationDefinition",
|
94446
|
+
operation: "mutation",
|
94447
|
+
name: { kind: "Name", value: "organizationStartPlusTrial" },
|
94448
|
+
selectionSet: {
|
94449
|
+
kind: "SelectionSet",
|
94450
|
+
selections: [
|
94451
|
+
{
|
94452
|
+
kind: "Field",
|
94453
|
+
name: { kind: "Name", value: "organizationStartPlusTrial" },
|
94454
|
+
selectionSet: {
|
94455
|
+
kind: "SelectionSet",
|
94456
|
+
selections: [
|
94457
|
+
{ kind: "FragmentSpread", name: { kind: "Name", value: "OrganizationStartPlusTrialPayload" } },
|
94458
|
+
],
|
94459
|
+
},
|
94460
|
+
},
|
94461
|
+
],
|
94462
|
+
},
|
94463
|
+
},
|
94464
|
+
...OrganizationStartPlusTrialPayloadFragmentDoc.definitions,
|
94465
|
+
],
|
94466
|
+
};
|
94389
94467
|
const UpdateOrganizationDocument = {
|
94390
94468
|
kind: "Document",
|
94391
94469
|
definitions: [
|
@@ -95340,6 +95418,44 @@ const ResendOrganizationInviteDocument = {
|
|
95340
95418
|
...ArchivePayloadFragmentDoc.definitions,
|
95341
95419
|
],
|
95342
95420
|
};
|
95421
|
+
const ArchiveRoadmapDocument = {
|
95422
|
+
kind: "Document",
|
95423
|
+
definitions: [
|
95424
|
+
{
|
95425
|
+
kind: "OperationDefinition",
|
95426
|
+
operation: "mutation",
|
95427
|
+
name: { kind: "Name", value: "archiveRoadmap" },
|
95428
|
+
variableDefinitions: [
|
95429
|
+
{
|
95430
|
+
kind: "VariableDefinition",
|
95431
|
+
variable: { kind: "Variable", name: { kind: "Name", value: "id" } },
|
95432
|
+
type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "String" } } },
|
95433
|
+
},
|
95434
|
+
],
|
95435
|
+
selectionSet: {
|
95436
|
+
kind: "SelectionSet",
|
95437
|
+
selections: [
|
95438
|
+
{
|
95439
|
+
kind: "Field",
|
95440
|
+
name: { kind: "Name", value: "roadmapArchive" },
|
95441
|
+
arguments: [
|
95442
|
+
{
|
95443
|
+
kind: "Argument",
|
95444
|
+
name: { kind: "Name", value: "id" },
|
95445
|
+
value: { kind: "Variable", name: { kind: "Name", value: "id" } },
|
95446
|
+
},
|
95447
|
+
],
|
95448
|
+
selectionSet: {
|
95449
|
+
kind: "SelectionSet",
|
95450
|
+
selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "ArchivePayload" } }],
|
95451
|
+
},
|
95452
|
+
},
|
95453
|
+
],
|
95454
|
+
},
|
95455
|
+
},
|
95456
|
+
...ArchivePayloadFragmentDoc.definitions,
|
95457
|
+
],
|
95458
|
+
};
|
95343
95459
|
const CreateRoadmapDocument = {
|
95344
95460
|
kind: "Document",
|
95345
95461
|
definitions: [
|
@@ -95549,6 +95665,44 @@ const UpdateRoadmapToProjectDocument = {
|
|
95549
95665
|
...RoadmapToProjectPayloadFragmentDoc.definitions,
|
95550
95666
|
],
|
95551
95667
|
};
|
95668
|
+
const UnarchiveRoadmapDocument = {
|
95669
|
+
kind: "Document",
|
95670
|
+
definitions: [
|
95671
|
+
{
|
95672
|
+
kind: "OperationDefinition",
|
95673
|
+
operation: "mutation",
|
95674
|
+
name: { kind: "Name", value: "unarchiveRoadmap" },
|
95675
|
+
variableDefinitions: [
|
95676
|
+
{
|
95677
|
+
kind: "VariableDefinition",
|
95678
|
+
variable: { kind: "Variable", name: { kind: "Name", value: "id" } },
|
95679
|
+
type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "String" } } },
|
95680
|
+
},
|
95681
|
+
],
|
95682
|
+
selectionSet: {
|
95683
|
+
kind: "SelectionSet",
|
95684
|
+
selections: [
|
95685
|
+
{
|
95686
|
+
kind: "Field",
|
95687
|
+
name: { kind: "Name", value: "roadmapUnarchive" },
|
95688
|
+
arguments: [
|
95689
|
+
{
|
95690
|
+
kind: "Argument",
|
95691
|
+
name: { kind: "Name", value: "id" },
|
95692
|
+
value: { kind: "Variable", name: { kind: "Name", value: "id" } },
|
95693
|
+
},
|
95694
|
+
],
|
95695
|
+
selectionSet: {
|
95696
|
+
kind: "SelectionSet",
|
95697
|
+
selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "ArchivePayload" } }],
|
95698
|
+
},
|
95699
|
+
},
|
95700
|
+
],
|
95701
|
+
},
|
95702
|
+
},
|
95703
|
+
...ArchivePayloadFragmentDoc.definitions,
|
95704
|
+
],
|
95705
|
+
};
|
95552
95706
|
const UpdateRoadmapDocument = {
|
95553
95707
|
kind: "Document",
|
95554
95708
|
definitions: [
|
@@ -99901,6 +100055,186 @@ const EmojisDocument = {
|
|
99901
100055
|
...EmojiConnectionFragmentDoc.definitions,
|
99902
100056
|
],
|
99903
100057
|
};
|
100058
|
+
const ExternalUserDocument = {
|
100059
|
+
kind: "Document",
|
100060
|
+
definitions: [
|
100061
|
+
{
|
100062
|
+
kind: "OperationDefinition",
|
100063
|
+
operation: "query",
|
100064
|
+
name: { kind: "Name", value: "externalUser" },
|
100065
|
+
variableDefinitions: [
|
100066
|
+
{
|
100067
|
+
kind: "VariableDefinition",
|
100068
|
+
variable: { kind: "Variable", name: { kind: "Name", value: "id" } },
|
100069
|
+
type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "String" } } },
|
100070
|
+
},
|
100071
|
+
],
|
100072
|
+
selectionSet: {
|
100073
|
+
kind: "SelectionSet",
|
100074
|
+
selections: [
|
100075
|
+
{
|
100076
|
+
kind: "Field",
|
100077
|
+
name: { kind: "Name", value: "externalUser" },
|
100078
|
+
arguments: [
|
100079
|
+
{
|
100080
|
+
kind: "Argument",
|
100081
|
+
name: { kind: "Name", value: "id" },
|
100082
|
+
value: { kind: "Variable", name: { kind: "Name", value: "id" } },
|
100083
|
+
},
|
100084
|
+
],
|
100085
|
+
selectionSet: {
|
100086
|
+
kind: "SelectionSet",
|
100087
|
+
selections: [
|
100088
|
+
{ kind: "Field", name: { kind: "Name", value: "archivedAt" } },
|
100089
|
+
{ kind: "Field", name: { kind: "Name", value: "avatarUrl" } },
|
100090
|
+
{ kind: "Field", name: { kind: "Name", value: "createdAt" } },
|
100091
|
+
{ kind: "Field", name: { kind: "Name", value: "displayName" } },
|
100092
|
+
{ kind: "Field", name: { kind: "Name", value: "email" } },
|
100093
|
+
{ kind: "Field", name: { kind: "Name", value: "id" } },
|
100094
|
+
{ kind: "Field", name: { kind: "Name", value: "lastSeen" } },
|
100095
|
+
{ kind: "Field", name: { kind: "Name", value: "name" } },
|
100096
|
+
{
|
100097
|
+
kind: "Field",
|
100098
|
+
name: { kind: "Name", value: "organization" },
|
100099
|
+
selectionSet: {
|
100100
|
+
kind: "SelectionSet",
|
100101
|
+
selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "Organization" } }],
|
100102
|
+
},
|
100103
|
+
},
|
100104
|
+
{ kind: "Field", name: { kind: "Name", value: "updatedAt" } },
|
100105
|
+
],
|
100106
|
+
},
|
100107
|
+
},
|
100108
|
+
],
|
100109
|
+
},
|
100110
|
+
},
|
100111
|
+
...OrganizationFragmentDoc.definitions,
|
100112
|
+
],
|
100113
|
+
};
|
100114
|
+
const ExternalUsersDocument = {
|
100115
|
+
kind: "Document",
|
100116
|
+
definitions: [
|
100117
|
+
{
|
100118
|
+
kind: "OperationDefinition",
|
100119
|
+
operation: "query",
|
100120
|
+
name: { kind: "Name", value: "externalUsers" },
|
100121
|
+
variableDefinitions: [
|
100122
|
+
{
|
100123
|
+
kind: "VariableDefinition",
|
100124
|
+
variable: { kind: "Variable", name: { kind: "Name", value: "after" } },
|
100125
|
+
type: { kind: "NamedType", name: { kind: "Name", value: "String" } },
|
100126
|
+
},
|
100127
|
+
{
|
100128
|
+
kind: "VariableDefinition",
|
100129
|
+
variable: { kind: "Variable", name: { kind: "Name", value: "before" } },
|
100130
|
+
type: { kind: "NamedType", name: { kind: "Name", value: "String" } },
|
100131
|
+
},
|
100132
|
+
{
|
100133
|
+
kind: "VariableDefinition",
|
100134
|
+
variable: { kind: "Variable", name: { kind: "Name", value: "first" } },
|
100135
|
+
type: { kind: "NamedType", name: { kind: "Name", value: "Int" } },
|
100136
|
+
},
|
100137
|
+
{
|
100138
|
+
kind: "VariableDefinition",
|
100139
|
+
variable: { kind: "Variable", name: { kind: "Name", value: "includeArchived" } },
|
100140
|
+
type: { kind: "NamedType", name: { kind: "Name", value: "Boolean" } },
|
100141
|
+
},
|
100142
|
+
{
|
100143
|
+
kind: "VariableDefinition",
|
100144
|
+
variable: { kind: "Variable", name: { kind: "Name", value: "last" } },
|
100145
|
+
type: { kind: "NamedType", name: { kind: "Name", value: "Int" } },
|
100146
|
+
},
|
100147
|
+
{
|
100148
|
+
kind: "VariableDefinition",
|
100149
|
+
variable: { kind: "Variable", name: { kind: "Name", value: "orderBy" } },
|
100150
|
+
type: { kind: "NamedType", name: { kind: "Name", value: "PaginationOrderBy" } },
|
100151
|
+
},
|
100152
|
+
],
|
100153
|
+
selectionSet: {
|
100154
|
+
kind: "SelectionSet",
|
100155
|
+
selections: [
|
100156
|
+
{
|
100157
|
+
kind: "Field",
|
100158
|
+
name: { kind: "Name", value: "externalUsers" },
|
100159
|
+
arguments: [
|
100160
|
+
{
|
100161
|
+
kind: "Argument",
|
100162
|
+
name: { kind: "Name", value: "after" },
|
100163
|
+
value: { kind: "Variable", name: { kind: "Name", value: "after" } },
|
100164
|
+
},
|
100165
|
+
{
|
100166
|
+
kind: "Argument",
|
100167
|
+
name: { kind: "Name", value: "before" },
|
100168
|
+
value: { kind: "Variable", name: { kind: "Name", value: "before" } },
|
100169
|
+
},
|
100170
|
+
{
|
100171
|
+
kind: "Argument",
|
100172
|
+
name: { kind: "Name", value: "first" },
|
100173
|
+
value: { kind: "Variable", name: { kind: "Name", value: "first" } },
|
100174
|
+
},
|
100175
|
+
{
|
100176
|
+
kind: "Argument",
|
100177
|
+
name: { kind: "Name", value: "includeArchived" },
|
100178
|
+
value: { kind: "Variable", name: { kind: "Name", value: "includeArchived" } },
|
100179
|
+
},
|
100180
|
+
{
|
100181
|
+
kind: "Argument",
|
100182
|
+
name: { kind: "Name", value: "last" },
|
100183
|
+
value: { kind: "Variable", name: { kind: "Name", value: "last" } },
|
100184
|
+
},
|
100185
|
+
{
|
100186
|
+
kind: "Argument",
|
100187
|
+
name: { kind: "Name", value: "orderBy" },
|
100188
|
+
value: { kind: "Variable", name: { kind: "Name", value: "orderBy" } },
|
100189
|
+
},
|
100190
|
+
],
|
100191
|
+
selectionSet: {
|
100192
|
+
kind: "SelectionSet",
|
100193
|
+
selections: [
|
100194
|
+
{
|
100195
|
+
kind: "Field",
|
100196
|
+
name: { kind: "Name", value: "nodes" },
|
100197
|
+
selectionSet: {
|
100198
|
+
kind: "SelectionSet",
|
100199
|
+
selections: [
|
100200
|
+
{ kind: "Field", name: { kind: "Name", value: "archivedAt" } },
|
100201
|
+
{ kind: "Field", name: { kind: "Name", value: "avatarUrl" } },
|
100202
|
+
{ kind: "Field", name: { kind: "Name", value: "createdAt" } },
|
100203
|
+
{ kind: "Field", name: { kind: "Name", value: "displayName" } },
|
100204
|
+
{ kind: "Field", name: { kind: "Name", value: "email" } },
|
100205
|
+
{ kind: "Field", name: { kind: "Name", value: "id" } },
|
100206
|
+
{ kind: "Field", name: { kind: "Name", value: "lastSeen" } },
|
100207
|
+
{ kind: "Field", name: { kind: "Name", value: "name" } },
|
100208
|
+
{
|
100209
|
+
kind: "Field",
|
100210
|
+
name: { kind: "Name", value: "organization" },
|
100211
|
+
selectionSet: {
|
100212
|
+
kind: "SelectionSet",
|
100213
|
+
selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "Organization" } }],
|
100214
|
+
},
|
100215
|
+
},
|
100216
|
+
{ kind: "Field", name: { kind: "Name", value: "updatedAt" } },
|
100217
|
+
],
|
100218
|
+
},
|
100219
|
+
},
|
100220
|
+
{
|
100221
|
+
kind: "Field",
|
100222
|
+
name: { kind: "Name", value: "pageInfo" },
|
100223
|
+
selectionSet: {
|
100224
|
+
kind: "SelectionSet",
|
100225
|
+
selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "PageInfo" } }],
|
100226
|
+
},
|
100227
|
+
},
|
100228
|
+
],
|
100229
|
+
},
|
100230
|
+
},
|
100231
|
+
],
|
100232
|
+
},
|
100233
|
+
},
|
100234
|
+
...OrganizationFragmentDoc.definitions,
|
100235
|
+
...PageInfoFragmentDoc.definitions,
|
100236
|
+
],
|
100237
|
+
};
|
99904
100238
|
const FavoriteDocument = {
|
99905
100239
|
kind: "Document",
|
99906
100240
|
definitions: [
|
@@ -104665,6 +104999,117 @@ const Project_MembersDocument = {
|
|
104665
104999
|
...UserConnectionFragmentDoc.definitions,
|
104666
105000
|
],
|
104667
105001
|
};
|
105002
|
+
const Project_ProjectMilestonesDocument = {
|
105003
|
+
kind: "Document",
|
105004
|
+
definitions: [
|
105005
|
+
{
|
105006
|
+
kind: "OperationDefinition",
|
105007
|
+
operation: "query",
|
105008
|
+
name: { kind: "Name", value: "project_projectMilestones" },
|
105009
|
+
variableDefinitions: [
|
105010
|
+
{
|
105011
|
+
kind: "VariableDefinition",
|
105012
|
+
variable: { kind: "Variable", name: { kind: "Name", value: "id" } },
|
105013
|
+
type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "String" } } },
|
105014
|
+
},
|
105015
|
+
{
|
105016
|
+
kind: "VariableDefinition",
|
105017
|
+
variable: { kind: "Variable", name: { kind: "Name", value: "after" } },
|
105018
|
+
type: { kind: "NamedType", name: { kind: "Name", value: "String" } },
|
105019
|
+
},
|
105020
|
+
{
|
105021
|
+
kind: "VariableDefinition",
|
105022
|
+
variable: { kind: "Variable", name: { kind: "Name", value: "before" } },
|
105023
|
+
type: { kind: "NamedType", name: { kind: "Name", value: "String" } },
|
105024
|
+
},
|
105025
|
+
{
|
105026
|
+
kind: "VariableDefinition",
|
105027
|
+
variable: { kind: "Variable", name: { kind: "Name", value: "first" } },
|
105028
|
+
type: { kind: "NamedType", name: { kind: "Name", value: "Int" } },
|
105029
|
+
},
|
105030
|
+
{
|
105031
|
+
kind: "VariableDefinition",
|
105032
|
+
variable: { kind: "Variable", name: { kind: "Name", value: "includeArchived" } },
|
105033
|
+
type: { kind: "NamedType", name: { kind: "Name", value: "Boolean" } },
|
105034
|
+
},
|
105035
|
+
{
|
105036
|
+
kind: "VariableDefinition",
|
105037
|
+
variable: { kind: "Variable", name: { kind: "Name", value: "last" } },
|
105038
|
+
type: { kind: "NamedType", name: { kind: "Name", value: "Int" } },
|
105039
|
+
},
|
105040
|
+
{
|
105041
|
+
kind: "VariableDefinition",
|
105042
|
+
variable: { kind: "Variable", name: { kind: "Name", value: "orderBy" } },
|
105043
|
+
type: { kind: "NamedType", name: { kind: "Name", value: "PaginationOrderBy" } },
|
105044
|
+
},
|
105045
|
+
],
|
105046
|
+
selectionSet: {
|
105047
|
+
kind: "SelectionSet",
|
105048
|
+
selections: [
|
105049
|
+
{
|
105050
|
+
kind: "Field",
|
105051
|
+
name: { kind: "Name", value: "project" },
|
105052
|
+
arguments: [
|
105053
|
+
{
|
105054
|
+
kind: "Argument",
|
105055
|
+
name: { kind: "Name", value: "id" },
|
105056
|
+
value: { kind: "Variable", name: { kind: "Name", value: "id" } },
|
105057
|
+
},
|
105058
|
+
],
|
105059
|
+
selectionSet: {
|
105060
|
+
kind: "SelectionSet",
|
105061
|
+
selections: [
|
105062
|
+
{
|
105063
|
+
kind: "Field",
|
105064
|
+
name: { kind: "Name", value: "projectMilestones" },
|
105065
|
+
arguments: [
|
105066
|
+
{
|
105067
|
+
kind: "Argument",
|
105068
|
+
name: { kind: "Name", value: "after" },
|
105069
|
+
value: { kind: "Variable", name: { kind: "Name", value: "after" } },
|
105070
|
+
},
|
105071
|
+
{
|
105072
|
+
kind: "Argument",
|
105073
|
+
name: { kind: "Name", value: "before" },
|
105074
|
+
value: { kind: "Variable", name: { kind: "Name", value: "before" } },
|
105075
|
+
},
|
105076
|
+
{
|
105077
|
+
kind: "Argument",
|
105078
|
+
name: { kind: "Name", value: "first" },
|
105079
|
+
value: { kind: "Variable", name: { kind: "Name", value: "first" } },
|
105080
|
+
},
|
105081
|
+
{
|
105082
|
+
kind: "Argument",
|
105083
|
+
name: { kind: "Name", value: "includeArchived" },
|
105084
|
+
value: { kind: "Variable", name: { kind: "Name", value: "includeArchived" } },
|
105085
|
+
},
|
105086
|
+
{
|
105087
|
+
kind: "Argument",
|
105088
|
+
name: { kind: "Name", value: "last" },
|
105089
|
+
value: { kind: "Variable", name: { kind: "Name", value: "last" } },
|
105090
|
+
},
|
105091
|
+
{
|
105092
|
+
kind: "Argument",
|
105093
|
+
name: { kind: "Name", value: "orderBy" },
|
105094
|
+
value: { kind: "Variable", name: { kind: "Name", value: "orderBy" } },
|
105095
|
+
},
|
105096
|
+
],
|
105097
|
+
selectionSet: {
|
105098
|
+
kind: "SelectionSet",
|
105099
|
+
selections: [
|
105100
|
+
{ kind: "FragmentSpread", name: { kind: "Name", value: "ProjectMilestoneConnection" } },
|
105101
|
+
],
|
105102
|
+
},
|
105103
|
+
},
|
105104
|
+
],
|
105105
|
+
},
|
105106
|
+
},
|
105107
|
+
],
|
105108
|
+
},
|
105109
|
+
},
|
105110
|
+
...ProjectMilestoneConnectionFragmentDoc.definitions,
|
105111
|
+
],
|
105112
|
+
};
|
104668
105113
|
const Project_ProjectUpdatesDocument = {
|
104669
105114
|
kind: "Document",
|
104670
105115
|
definitions: [
|
@@ -108745,6 +109190,7 @@ var _generated_documents = /*#__PURE__*/Object.freeze({
|
|
108745
109190
|
CustomViewFragmentDoc: CustomViewFragmentDoc,
|
108746
109191
|
CustomViewConnectionFragmentDoc: CustomViewConnectionFragmentDoc,
|
108747
109192
|
CustomViewPayloadFragmentDoc: CustomViewPayloadFragmentDoc,
|
109193
|
+
CustomViewSuggestionPayloadFragmentDoc: CustomViewSuggestionPayloadFragmentDoc,
|
108748
109194
|
CycleFragmentDoc: CycleFragmentDoc,
|
108749
109195
|
CycleConnectionFragmentDoc: CycleConnectionFragmentDoc,
|
108750
109196
|
CyclePayloadFragmentDoc: CyclePayloadFragmentDoc,
|
@@ -108814,6 +109260,7 @@ var _generated_documents = /*#__PURE__*/Object.freeze({
|
|
108814
109260
|
OrganizationInviteDetailsPayloadFragmentDoc: OrganizationInviteDetailsPayloadFragmentDoc,
|
108815
109261
|
OrganizationInvitePayloadFragmentDoc: OrganizationInvitePayloadFragmentDoc,
|
108816
109262
|
OrganizationPayloadFragmentDoc: OrganizationPayloadFragmentDoc,
|
109263
|
+
OrganizationStartPlusTrialPayloadFragmentDoc: OrganizationStartPlusTrialPayloadFragmentDoc,
|
108817
109264
|
ProjectFragmentDoc: ProjectFragmentDoc,
|
108818
109265
|
ProjectConnectionFragmentDoc: ProjectConnectionFragmentDoc,
|
108819
109266
|
ProjectLinkFragmentDoc: ProjectLinkFragmentDoc,
|
@@ -108980,6 +109427,7 @@ var _generated_documents = /*#__PURE__*/Object.freeze({
|
|
108980
109427
|
CreateOrganizationInviteDocument: CreateOrganizationInviteDocument,
|
108981
109428
|
DeleteOrganizationInviteDocument: DeleteOrganizationInviteDocument,
|
108982
109429
|
UpdateOrganizationInviteDocument: UpdateOrganizationInviteDocument,
|
109430
|
+
OrganizationStartPlusTrialDocument: OrganizationStartPlusTrialDocument,
|
108983
109431
|
UpdateOrganizationDocument: UpdateOrganizationDocument,
|
108984
109432
|
ArchiveProjectDocument: ArchiveProjectDocument,
|
108985
109433
|
CreateProjectDocument: CreateProjectDocument,
|
@@ -109003,11 +109451,13 @@ var _generated_documents = /*#__PURE__*/Object.freeze({
|
|
109003
109451
|
DeleteReactionDocument: DeleteReactionDocument,
|
109004
109452
|
RefreshGoogleSheetsDataDocument: RefreshGoogleSheetsDataDocument,
|
109005
109453
|
ResendOrganizationInviteDocument: ResendOrganizationInviteDocument,
|
109454
|
+
ArchiveRoadmapDocument: ArchiveRoadmapDocument,
|
109006
109455
|
CreateRoadmapDocument: CreateRoadmapDocument,
|
109007
109456
|
DeleteRoadmapDocument: DeleteRoadmapDocument,
|
109008
109457
|
CreateRoadmapToProjectDocument: CreateRoadmapToProjectDocument,
|
109009
109458
|
DeleteRoadmapToProjectDocument: DeleteRoadmapToProjectDocument,
|
109010
109459
|
UpdateRoadmapToProjectDocument: UpdateRoadmapToProjectDocument,
|
109460
|
+
UnarchiveRoadmapDocument: UnarchiveRoadmapDocument,
|
109011
109461
|
UpdateRoadmapDocument: UpdateRoadmapDocument,
|
109012
109462
|
SamlTokenUserAccountAuthDocument: SamlTokenUserAccountAuthDocument,
|
109013
109463
|
CreateTeamDocument: CreateTeamDocument,
|
@@ -109079,6 +109529,8 @@ var _generated_documents = /*#__PURE__*/Object.freeze({
|
|
109079
109529
|
DocumentsDocument: DocumentsDocument,
|
109080
109530
|
EmojiDocument: EmojiDocument,
|
109081
109531
|
EmojisDocument: EmojisDocument,
|
109532
|
+
ExternalUserDocument: ExternalUserDocument,
|
109533
|
+
ExternalUsersDocument: ExternalUsersDocument,
|
109082
109534
|
FavoriteDocument: FavoriteDocument,
|
109083
109535
|
Favorite_ChildrenDocument: Favorite_ChildrenDocument,
|
109084
109536
|
FavoritesDocument: FavoritesDocument,
|
@@ -109136,6 +109588,7 @@ var _generated_documents = /*#__PURE__*/Object.freeze({
|
|
109136
109588
|
Project_IssuesDocument: Project_IssuesDocument,
|
109137
109589
|
Project_LinksDocument: Project_LinksDocument,
|
109138
109590
|
Project_MembersDocument: Project_MembersDocument,
|
109591
|
+
Project_ProjectMilestonesDocument: Project_ProjectMilestonesDocument,
|
109139
109592
|
Project_ProjectUpdatesDocument: Project_ProjectUpdatesDocument,
|
109140
109593
|
Project_TeamsDocument: Project_TeamsDocument,
|
109141
109594
|
ProjectLinkDocument: ProjectLinkDocument,
|
@@ -109412,7 +109865,7 @@ class Attachment extends Request {
|
|
109412
109865
|
this.id = data.id;
|
109413
109866
|
this.metadata = (_c = parseJson(data.metadata)) !== null && _c !== void 0 ? _c : {};
|
109414
109867
|
this.source = (_d = parseJson(data.source)) !== null && _d !== void 0 ? _d : undefined;
|
109415
|
-
this.sourceType = (_e =
|
109868
|
+
this.sourceType = (_e = data.sourceType) !== null && _e !== void 0 ? _e : undefined;
|
109416
109869
|
this.subtitle = (_f = data.subtitle) !== null && _f !== void 0 ? _f : undefined;
|
109417
109870
|
this.title = data.title;
|
109418
109871
|
this.updatedAt = (_g = parseDate(data.updatedAt)) !== null && _g !== void 0 ? _g : new Date();
|
@@ -109760,6 +110213,21 @@ class CustomViewPayload extends Request {
|
|
109760
110213
|
return new CustomViewQuery(this._request).fetch(this._customView.id);
|
109761
110214
|
}
|
109762
110215
|
}
|
110216
|
+
/**
|
110217
|
+
* CustomViewSuggestionPayload model
|
110218
|
+
*
|
110219
|
+
* @param request - function to call the graphql client
|
110220
|
+
* @param data - L.CustomViewSuggestionPayloadFragment response data
|
110221
|
+
*/
|
110222
|
+
class CustomViewSuggestionPayload extends Request {
|
110223
|
+
constructor(request, data) {
|
110224
|
+
var _a, _b, _c;
|
110225
|
+
super(request);
|
110226
|
+
this.suggestedDescription = (_a = data.suggestedDescription) !== null && _a !== void 0 ? _a : undefined;
|
110227
|
+
this.suggestedIcon = (_b = data.suggestedIcon) !== null && _b !== void 0 ? _b : undefined;
|
110228
|
+
this.suggestedName = (_c = data.suggestedName) !== null && _c !== void 0 ? _c : undefined;
|
110229
|
+
}
|
110230
|
+
}
|
109763
110231
|
/**
|
109764
110232
|
* A set of issues to be resolved in a specified amount of time.
|
109765
110233
|
*
|
@@ -110612,7 +111080,7 @@ class IntercomSettings extends Request {
|
|
110612
111080
|
*/
|
110613
111081
|
class Issue extends Request {
|
110614
111082
|
constructor(request, data) {
|
110615
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x;
|
111083
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y;
|
110616
111084
|
super(request);
|
110617
111085
|
this.archivedAt = (_a = parseDate(data.archivedAt)) !== null && _a !== void 0 ? _a : undefined;
|
110618
111086
|
this.autoArchivedAt = (_b = parseDate(data.autoArchivedAt)) !== null && _b !== void 0 ? _b : undefined;
|
@@ -110647,7 +111115,8 @@ class Issue extends Request {
|
|
110647
111115
|
this._cycle = (_u = data.cycle) !== null && _u !== void 0 ? _u : undefined;
|
110648
111116
|
this._parent = (_v = data.parent) !== null && _v !== void 0 ? _v : undefined;
|
110649
111117
|
this._project = (_w = data.project) !== null && _w !== void 0 ? _w : undefined;
|
110650
|
-
this.
|
111118
|
+
this._projectMilestone = (_x = data.projectMilestone) !== null && _x !== void 0 ? _x : undefined;
|
111119
|
+
this._snoozedBy = (_y = data.snoozedBy) !== null && _y !== void 0 ? _y : undefined;
|
110651
111120
|
this._state = data.state;
|
110652
111121
|
this._team = data.team;
|
110653
111122
|
}
|
@@ -110676,6 +111145,13 @@ class Issue extends Request {
|
|
110676
111145
|
var _a, _b;
|
110677
111146
|
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;
|
110678
111147
|
}
|
111148
|
+
/** The projectMilestone that the issue is associated with. */
|
111149
|
+
get projectMilestone() {
|
111150
|
+
var _a, _b;
|
111151
|
+
return ((_a = this._projectMilestone) === null || _a === void 0 ? void 0 : _a.id)
|
111152
|
+
? new ProjectMilestoneQuery(this._request).fetch((_b = this._projectMilestone) === null || _b === void 0 ? void 0 : _b.id)
|
111153
|
+
: undefined;
|
111154
|
+
}
|
110679
111155
|
/** The user who snoozed the issue. */
|
110680
111156
|
get snoozedBy() {
|
110681
111157
|
var _a, _b;
|
@@ -111830,6 +112306,18 @@ class OrganizationPayload extends Request {
|
|
111830
112306
|
return new OrganizationQuery(this._request).fetch();
|
111831
112307
|
}
|
111832
112308
|
}
|
112309
|
+
/**
|
112310
|
+
* OrganizationStartPlusTrialPayload model
|
112311
|
+
*
|
112312
|
+
* @param request - function to call the graphql client
|
112313
|
+
* @param data - L.OrganizationStartPlusTrialPayloadFragment response data
|
112314
|
+
*/
|
112315
|
+
class OrganizationStartPlusTrialPayload extends Request {
|
112316
|
+
constructor(request, data) {
|
112317
|
+
super(request);
|
112318
|
+
this.success = data.success;
|
112319
|
+
}
|
112320
|
+
}
|
111833
112321
|
/**
|
111834
112322
|
* PageInfo model
|
111835
112323
|
*
|
@@ -111981,6 +112469,10 @@ class Project extends Request {
|
|
111981
112469
|
members(variables) {
|
111982
112470
|
return new Project_MembersQuery(this._request, this.id, variables).fetch(variables);
|
111983
112471
|
}
|
112472
|
+
/** Milestones associated with the project. */
|
112473
|
+
projectMilestones(variables) {
|
112474
|
+
return new Project_ProjectMilestonesQuery(this._request, this.id, variables).fetch(variables);
|
112475
|
+
}
|
111984
112476
|
/** Project updates associated with the project. */
|
111985
112477
|
projectUpdates(variables) {
|
111986
112478
|
return new Project_ProjectUpdatesQuery(this._request, this.id, variables).fetch(variables);
|
@@ -112511,18 +113003,19 @@ class RateLimitResultPayload extends Request {
|
|
112511
113003
|
*/
|
112512
113004
|
class Reaction extends Request {
|
112513
113005
|
constructor(request, data) {
|
112514
|
-
var _a, _b, _c;
|
113006
|
+
var _a, _b, _c, _d;
|
112515
113007
|
super(request);
|
112516
113008
|
this.archivedAt = (_a = parseDate(data.archivedAt)) !== null && _a !== void 0 ? _a : undefined;
|
112517
113009
|
this.createdAt = (_b = parseDate(data.createdAt)) !== null && _b !== void 0 ? _b : new Date();
|
112518
113010
|
this.emoji = data.emoji;
|
112519
113011
|
this.id = data.id;
|
112520
113012
|
this.updatedAt = (_c = parseDate(data.updatedAt)) !== null && _c !== void 0 ? _c : new Date();
|
112521
|
-
this._user = data.user;
|
113013
|
+
this._user = (_d = data.user) !== null && _d !== void 0 ? _d : undefined;
|
112522
113014
|
}
|
112523
113015
|
/** The user who reacted. */
|
112524
113016
|
get user() {
|
112525
|
-
|
113017
|
+
var _a, _b;
|
113018
|
+
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;
|
112526
113019
|
}
|
112527
113020
|
/** Creates a new reaction. */
|
112528
113021
|
create(input) {
|
@@ -112567,15 +113060,17 @@ class ReactionPayload extends Request {
|
|
112567
113060
|
*/
|
112568
113061
|
class Roadmap extends Request {
|
112569
113062
|
constructor(request, data) {
|
112570
|
-
var _a, _b, _c, _d;
|
113063
|
+
var _a, _b, _c, _d, _e;
|
112571
113064
|
super(request);
|
112572
113065
|
this.archivedAt = (_a = parseDate(data.archivedAt)) !== null && _a !== void 0 ? _a : undefined;
|
112573
|
-
this.
|
112574
|
-
this.
|
113066
|
+
this.color = (_b = data.color) !== null && _b !== void 0 ? _b : undefined;
|
113067
|
+
this.createdAt = (_c = parseDate(data.createdAt)) !== null && _c !== void 0 ? _c : new Date();
|
113068
|
+
this.description = (_d = data.description) !== null && _d !== void 0 ? _d : undefined;
|
112575
113069
|
this.id = data.id;
|
112576
113070
|
this.name = data.name;
|
112577
113071
|
this.slugId = data.slugId;
|
112578
|
-
this.
|
113072
|
+
this.sortOrder = data.sortOrder;
|
113073
|
+
this.updatedAt = (_e = parseDate(data.updatedAt)) !== null && _e !== void 0 ? _e : new Date();
|
112579
113074
|
this._creator = data.creator;
|
112580
113075
|
this._owner = data.owner;
|
112581
113076
|
}
|
@@ -112595,6 +113090,10 @@ class Roadmap extends Request {
|
|
112595
113090
|
projects(variables) {
|
112596
113091
|
return new Roadmap_ProjectsQuery(this._request, this.id, variables).fetch(variables);
|
112597
113092
|
}
|
113093
|
+
/** Archives a roadmap. */
|
113094
|
+
archive() {
|
113095
|
+
return new ArchiveRoadmapMutation(this._request).fetch(this.id);
|
113096
|
+
}
|
112598
113097
|
/** Creates a new roadmap. */
|
112599
113098
|
create(input) {
|
112600
113099
|
return new CreateRoadmapMutation(this._request).fetch(input);
|
@@ -112603,6 +113102,10 @@ class Roadmap extends Request {
|
|
112603
113102
|
delete() {
|
112604
113103
|
return new DeleteRoadmapMutation(this._request).fetch(this.id);
|
112605
113104
|
}
|
113105
|
+
/** Unarchives a roadmap. */
|
113106
|
+
unarchive() {
|
113107
|
+
return new UnarchiveRoadmapMutation(this._request).fetch(this.id);
|
113108
|
+
}
|
112606
113109
|
/** Updates a roadmap. */
|
112607
113110
|
update(input) {
|
112608
113111
|
return new UpdateRoadmapMutation(this._request).fetch(this.id, input);
|
@@ -113431,14 +113934,15 @@ class UserPayload extends Request {
|
|
113431
113934
|
*/
|
113432
113935
|
class UserSettings extends Request {
|
113433
113936
|
constructor(request, data) {
|
113434
|
-
var _a, _b, _c, _d;
|
113937
|
+
var _a, _b, _c, _d, _e;
|
113435
113938
|
super(request);
|
113436
113939
|
this.archivedAt = (_a = parseDate(data.archivedAt)) !== null && _a !== void 0 ? _a : undefined;
|
113437
|
-
this.
|
113940
|
+
this.calendarHash = (_b = data.calendarHash) !== null && _b !== void 0 ? _b : undefined;
|
113941
|
+
this.createdAt = (_c = parseDate(data.createdAt)) !== null && _c !== void 0 ? _c : new Date();
|
113438
113942
|
this.id = data.id;
|
113439
|
-
this.notificationPreferences = (
|
113943
|
+
this.notificationPreferences = (_d = parseJson(data.notificationPreferences)) !== null && _d !== void 0 ? _d : {};
|
113440
113944
|
this.unsubscribedFrom = data.unsubscribedFrom;
|
113441
|
-
this.updatedAt = (
|
113945
|
+
this.updatedAt = (_e = parseDate(data.updatedAt)) !== null && _e !== void 0 ? _e : new Date();
|
113442
113946
|
this._user = data.user;
|
113443
113947
|
}
|
113444
113948
|
/** The user associated with these settings. */
|
@@ -116448,6 +116952,28 @@ class UpdateOrganizationInviteMutation extends Request {
|
|
116448
116952
|
});
|
116449
116953
|
}
|
116450
116954
|
}
|
116955
|
+
/**
|
116956
|
+
* A fetchable OrganizationStartPlusTrial Mutation
|
116957
|
+
*
|
116958
|
+
* @param request - function to call the graphql client
|
116959
|
+
*/
|
116960
|
+
class OrganizationStartPlusTrialMutation extends Request {
|
116961
|
+
constructor(request) {
|
116962
|
+
super(request);
|
116963
|
+
}
|
116964
|
+
/**
|
116965
|
+
* Call the OrganizationStartPlusTrial mutation and return a OrganizationStartPlusTrialPayload
|
116966
|
+
*
|
116967
|
+
* @returns parsed response from OrganizationStartPlusTrialMutation
|
116968
|
+
*/
|
116969
|
+
fetch() {
|
116970
|
+
return __awaiter(this, void 0, void 0, function* () {
|
116971
|
+
const response = yield this._request(OrganizationStartPlusTrialDocument, {});
|
116972
|
+
const data = response.organizationStartPlusTrial;
|
116973
|
+
return new OrganizationStartPlusTrialPayload(this._request, data);
|
116974
|
+
});
|
116975
|
+
}
|
116976
|
+
}
|
116451
116977
|
/**
|
116452
116978
|
* A fetchable UpdateOrganization Mutation
|
116453
116979
|
*
|
@@ -117031,6 +117557,31 @@ class ResendOrganizationInviteMutation extends Request {
|
|
117031
117557
|
});
|
117032
117558
|
}
|
117033
117559
|
}
|
117560
|
+
/**
|
117561
|
+
* A fetchable ArchiveRoadmap Mutation
|
117562
|
+
*
|
117563
|
+
* @param request - function to call the graphql client
|
117564
|
+
*/
|
117565
|
+
class ArchiveRoadmapMutation extends Request {
|
117566
|
+
constructor(request) {
|
117567
|
+
super(request);
|
117568
|
+
}
|
117569
|
+
/**
|
117570
|
+
* Call the ArchiveRoadmap mutation and return a ArchivePayload
|
117571
|
+
*
|
117572
|
+
* @param id - required id to pass to archiveRoadmap
|
117573
|
+
* @returns parsed response from ArchiveRoadmapMutation
|
117574
|
+
*/
|
117575
|
+
fetch(id) {
|
117576
|
+
return __awaiter(this, void 0, void 0, function* () {
|
117577
|
+
const response = yield this._request(ArchiveRoadmapDocument, {
|
117578
|
+
id,
|
117579
|
+
});
|
117580
|
+
const data = response.roadmapArchive;
|
117581
|
+
return new ArchivePayload(this._request, data);
|
117582
|
+
});
|
117583
|
+
}
|
117584
|
+
}
|
117034
117585
|
/**
|
117035
117586
|
* A fetchable CreateRoadmap Mutation
|
117036
117587
|
*
|
@@ -117158,6 +117709,31 @@ class UpdateRoadmapToProjectMutation extends Request {
|
|
117158
117709
|
});
|
117159
117710
|
}
|
117160
117711
|
}
|
117712
|
+
/**
|
117713
|
+
* A fetchable UnarchiveRoadmap Mutation
|
117714
|
+
*
|
117715
|
+
* @param request - function to call the graphql client
|
117716
|
+
*/
|
117717
|
+
class UnarchiveRoadmapMutation extends Request {
|
117718
|
+
constructor(request) {
|
117719
|
+
super(request);
|
117720
|
+
}
|
117721
|
+
/**
|
117722
|
+
* Call the UnarchiveRoadmap mutation and return a ArchivePayload
|
117723
|
+
*
|
117724
|
+
* @param id - required id to pass to unarchiveRoadmap
|
117725
|
+
* @returns parsed response from UnarchiveRoadmapMutation
|
117726
|
+
*/
|
117727
|
+
fetch(id) {
|
117728
|
+
return __awaiter(this, void 0, void 0, function* () {
|
117729
|
+
const response = yield this._request(UnarchiveRoadmapDocument, {
|
117730
|
+
id,
|
117731
|
+
});
|
117732
|
+
const data = response.roadmapUnarchive;
|
117733
|
+
return new ArchivePayload(this._request, data);
|
117734
|
+
});
|
117735
|
+
}
|
117736
|
+
}
|
117161
117737
|
/**
|
117162
117738
|
* A fetchable UpdateRoadmap Mutation
|
117163
117739
|
*
|
@@ -121125,6 +121701,33 @@ class Project_MembersQuery extends Request {
|
|
121125
121701
|
});
|
121126
121702
|
}
|
121127
121703
|
}
|
121704
|
+
/**
|
121705
|
+
* A fetchable Project_ProjectMilestones Query
|
121706
|
+
*
|
121707
|
+
* @param request - function to call the graphql client
|
121708
|
+
* @param id - required id to pass to project
|
121709
|
+
* @param variables - variables without 'id' to pass into the Project_ProjectMilestonesQuery
|
121710
|
+
*/
|
121711
|
+
class Project_ProjectMilestonesQuery extends Request {
|
121712
|
+
constructor(request, id, variables) {
|
121713
|
+
super(request);
|
121714
|
+
this._id = id;
|
121715
|
+
this._variables = variables;
|
121716
|
+
}
|
121717
|
+
/**
|
121718
|
+
* Call the Project_ProjectMilestones query and return a ProjectMilestoneConnection
|
121719
|
+
*
|
121720
|
+
* @param variables - variables without 'id' to pass into the Project_ProjectMilestonesQuery
|
121721
|
+
* @returns parsed response from Project_ProjectMilestonesQuery
|
121722
|
+
*/
|
121723
|
+
fetch(variables) {
|
121724
|
+
return __awaiter(this, void 0, void 0, function* () {
|
121725
|
+
const response = yield this._request(Project_ProjectMilestonesDocument, Object.assign(Object.assign({ id: this._id }, this._variables), variables));
|
121726
|
+
const data = response.project.projectMilestones;
|
121727
|
+
return new ProjectMilestoneConnection(this._request, connection => this.fetch(defaultConnection(Object.assign(Object.assign(Object.assign({}, this._variables), variables), connection))), data);
|
121728
|
+
});
|
121729
|
+
}
|
121730
|
+
}
|
121128
121731
|
/**
|
121129
121732
|
* A fetchable Project_ProjectUpdates Query
|
121130
121733
|
*
|
@@ -122680,6 +123283,14 @@ class LinearSdk extends Request {
|
|
122680
123283
|
updateOrganizationInvite(id, input) {
|
122681
123284
|
return new UpdateOrganizationInviteMutation(this._request).fetch(id, input);
|
122682
123285
|
}
|
123286
|
+
/**
|
123287
|
+
* Starts a plus trial for the organization. Administrator privileges required.
|
123288
|
+
*
|
123289
|
+
* @returns OrganizationStartPlusTrialPayload
|
123290
|
+
*/
|
123291
|
+
get organizationStartPlusTrial() {
|
123292
|
+
return new OrganizationStartPlusTrialMutation(this._request).fetch();
|
123293
|
+
}
|
122683
123294
|
/**
|
122684
123295
|
* Updates the user's organization.
|
122685
123296
|
*
|
@@ -122891,6 +123502,15 @@ class LinearSdk extends Request {
|
|
122891
123502
|
resendOrganizationInvite(id) {
|
122892
123503
|
return new ResendOrganizationInviteMutation(this._request).fetch(id);
|
122893
123504
|
}
|
123505
|
+
/**
|
123506
|
+
* Archives a roadmap.
|
123507
|
+
*
|
123508
|
+
* @param id - required id to pass to archiveRoadmap
|
123509
|
+
* @returns ArchivePayload
|
123510
|
+
*/
|
123511
|
+
archiveRoadmap(id) {
|
123512
|
+
return new ArchiveRoadmapMutation(this._request).fetch(id);
|
123513
|
+
}
|
122894
123514
|
/**
|
122895
123515
|
* Creates a new roadmap.
|
122896
123516
|
*
|
@@ -122937,6 +123557,15 @@ class LinearSdk extends Request {
|
|
122937
123557
|
updateRoadmapToProject(id, input) {
|
122938
123558
|
return new UpdateRoadmapToProjectMutation(this._request).fetch(id, input);
|
122939
123559
|
}
|
123560
|
+
/**
|
123561
|
+
* Unarchives a roadmap.
|
123562
|
+
*
|
123563
|
+
* @param id - required id to pass to unarchiveRoadmap
|
123564
|
+
* @returns ArchivePayload
|
123565
|
+
*/
|
123566
|
+
unarchiveRoadmap(id) {
|
123567
|
+
return new UnarchiveRoadmapMutation(this._request).fetch(id);
|
123568
|
+
}
|
122940
123569
|
/**
|
122941
123570
|
* Updates a roadmap.
|
122942
123571
|
*
|
@@ -124082,6 +124711,7 @@ exports.ArchiveIssueMutation = ArchiveIssueMutation;
|
|
124082
124711
|
exports.ArchiveNotificationMutation = ArchiveNotificationMutation;
|
124083
124712
|
exports.ArchivePayload = ArchivePayload;
|
124084
124713
|
exports.ArchiveProjectMutation = ArchiveProjectMutation;
|
124714
|
+
exports.ArchiveRoadmapMutation = ArchiveRoadmapMutation;
|
124085
124715
|
exports.ArchiveWorkflowStateMutation = ArchiveWorkflowStateMutation;
|
124086
124716
|
exports.Attachment = Attachment;
|
124087
124717
|
exports.AttachmentConnection = AttachmentConnection;
|
@@ -124162,6 +124792,7 @@ exports.CustomView = CustomView;
|
|
124162
124792
|
exports.CustomViewConnection = CustomViewConnection;
|
124163
124793
|
exports.CustomViewPayload = CustomViewPayload;
|
124164
124794
|
exports.CustomViewQuery = CustomViewQuery;
|
124795
|
+
exports.CustomViewSuggestionPayload = CustomViewSuggestionPayload;
|
124165
124796
|
exports.CustomViewsQuery = CustomViewsQuery;
|
124166
124797
|
exports.Cycle = Cycle;
|
124167
124798
|
exports.CycleConnection = CycleConnection;
|
@@ -124386,6 +125017,8 @@ exports.OrganizationInviteQuery = OrganizationInviteQuery;
|
|
124386
125017
|
exports.OrganizationInvitesQuery = OrganizationInvitesQuery;
|
124387
125018
|
exports.OrganizationPayload = OrganizationPayload;
|
124388
125019
|
exports.OrganizationQuery = OrganizationQuery;
|
125020
|
+
exports.OrganizationStartPlusTrialMutation = OrganizationStartPlusTrialMutation;
|
125021
|
+
exports.OrganizationStartPlusTrialPayload = OrganizationStartPlusTrialPayload;
|
124389
125022
|
exports.Organization_IntegrationsQuery = Organization_IntegrationsQuery;
|
124390
125023
|
exports.Organization_LabelsQuery = Organization_LabelsQuery;
|
124391
125024
|
exports.Organization_SubscriptionQuery = Organization_SubscriptionQuery;
|
@@ -124428,6 +125061,7 @@ exports.Project_DocumentsQuery = Project_DocumentsQuery;
|
|
124428
125061
|
exports.Project_IssuesQuery = Project_IssuesQuery;
|
124429
125062
|
exports.Project_LinksQuery = Project_LinksQuery;
|
124430
125063
|
exports.Project_MembersQuery = Project_MembersQuery;
|
125064
|
+
exports.Project_ProjectMilestonesQuery = Project_ProjectMilestonesQuery;
|
124431
125065
|
exports.Project_ProjectUpdatesQuery = Project_ProjectUpdatesQuery;
|
124432
125066
|
exports.Project_TeamsQuery = Project_TeamsQuery;
|
124433
125067
|
exports.ProjectsQuery = ProjectsQuery;
|
@@ -124495,6 +125129,7 @@ exports.TemplatesQuery = TemplatesQuery;
|
|
124495
125129
|
exports.UnarchiveIssueMutation = UnarchiveIssueMutation;
|
124496
125130
|
exports.UnarchiveNotificationMutation = UnarchiveNotificationMutation;
|
124497
125131
|
exports.UnarchiveProjectMutation = UnarchiveProjectMutation;
|
125132
|
+
exports.UnarchiveRoadmapMutation = UnarchiveRoadmapMutation;
|
124498
125133
|
exports.UnknownLinearError = UnknownLinearError;
|
124499
125134
|
exports.UnsuspendUserMutation = UnsuspendUserMutation;
|
124500
125135
|
exports.UpdateAttachmentMutation = UpdateAttachmentMutation;
|