@linear/sdk 72.0.0 → 73.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{index-BBxdiqQK.d.mts → index-CvYRfx0L.d.mts} +313 -14
- package/dist/index-CvYRfx0L.d.mts.map +1 -0
- package/dist/{index-DPQVugF5.d.cts → index-DMxh237_.d.cts} +313 -14
- package/dist/index-DMxh237_.d.cts.map +1 -0
- package/dist/index.cjs +361 -1
- package/dist/index.d.cts +113 -4
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.mts +113 -4
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +356 -2
- package/dist/index.mjs.map +1 -1
- package/dist/webhooks/index.d.cts +1 -1
- package/dist/webhooks/index.d.mts +1 -1
- package/package.json +3 -3
- package/dist/index-BBxdiqQK.d.mts.map +0 -1
- package/dist/index-DPQVugF5.d.cts.map +0 -1
package/dist/index.cjs
CHANGED
|
@@ -1478,6 +1478,7 @@ var _generated_documents_exports = /* @__PURE__ */ require_webhooks.__export({
|
|
|
1478
1478
|
AgentSessionCreateOnIssueDocument: () => AgentSessionCreateOnIssueDocument,
|
|
1479
1479
|
AgentSessionDocument: () => AgentSessionDocument,
|
|
1480
1480
|
AgentSessionEventWebhookPayloadFragmentDoc: () => AgentSessionEventWebhookPayloadFragmentDoc,
|
|
1481
|
+
AgentSessionExternalLinkFragmentDoc: () => AgentSessionExternalLinkFragmentDoc,
|
|
1481
1482
|
AgentSessionFragmentDoc: () => AgentSessionFragmentDoc,
|
|
1482
1483
|
AgentSessionPayloadFragmentDoc: () => AgentSessionPayloadFragmentDoc,
|
|
1483
1484
|
AgentSessionStatus: () => AgentSessionStatus,
|
|
@@ -1528,6 +1529,7 @@ var _generated_documents_exports = /* @__PURE__ */ require_webhooks.__export({
|
|
|
1528
1529
|
AttachmentIssue_LabelsDocument: () => AttachmentIssue_LabelsDocument,
|
|
1529
1530
|
AttachmentIssue_NeedsDocument: () => AttachmentIssue_NeedsDocument,
|
|
1530
1531
|
AttachmentIssue_RelationsDocument: () => AttachmentIssue_RelationsDocument,
|
|
1532
|
+
AttachmentIssue_StateHistoryDocument: () => AttachmentIssue_StateHistoryDocument,
|
|
1531
1533
|
AttachmentIssue_SubscribersDocument: () => AttachmentIssue_SubscribersDocument,
|
|
1532
1534
|
AttachmentLinkDiscordDocument: () => AttachmentLinkDiscordDocument,
|
|
1533
1535
|
AttachmentLinkFrontDocument: () => AttachmentLinkFrontDocument,
|
|
@@ -2022,6 +2024,7 @@ var _generated_documents_exports = /* @__PURE__ */ require_webhooks.__export({
|
|
|
2022
2024
|
IssueVcsBranchSearch_LabelsDocument: () => IssueVcsBranchSearch_LabelsDocument,
|
|
2023
2025
|
IssueVcsBranchSearch_NeedsDocument: () => IssueVcsBranchSearch_NeedsDocument,
|
|
2024
2026
|
IssueVcsBranchSearch_RelationsDocument: () => IssueVcsBranchSearch_RelationsDocument,
|
|
2027
|
+
IssueVcsBranchSearch_StateHistoryDocument: () => IssueVcsBranchSearch_StateHistoryDocument,
|
|
2025
2028
|
IssueVcsBranchSearch_SubscribersDocument: () => IssueVcsBranchSearch_SubscribersDocument,
|
|
2026
2029
|
IssueWebhookPayloadFragmentDoc: () => IssueWebhookPayloadFragmentDoc,
|
|
2027
2030
|
IssueWithDescriptionChildWebhookPayloadFragmentDoc: () => IssueWithDescriptionChildWebhookPayloadFragmentDoc,
|
|
@@ -2037,6 +2040,7 @@ var _generated_documents_exports = /* @__PURE__ */ require_webhooks.__export({
|
|
|
2037
2040
|
Issue_LabelsDocument: () => Issue_LabelsDocument,
|
|
2038
2041
|
Issue_NeedsDocument: () => Issue_NeedsDocument,
|
|
2039
2042
|
Issue_RelationsDocument: () => Issue_RelationsDocument,
|
|
2043
|
+
Issue_StateHistoryDocument: () => Issue_StateHistoryDocument,
|
|
2040
2044
|
Issue_SubscribersDocument: () => Issue_SubscribersDocument,
|
|
2041
2045
|
IssuesDocument: () => IssuesDocument,
|
|
2042
2046
|
JoinOrganizationFromOnboardingDocument: () => JoinOrganizationFromOnboardingDocument,
|
|
@@ -2275,6 +2279,8 @@ var _generated_documents_exports = /* @__PURE__ */ require_webhooks.__export({
|
|
|
2275
2279
|
SsoUrlFromEmailDocument: () => SsoUrlFromEmailDocument,
|
|
2276
2280
|
SsoUrlFromEmailResponseFragmentDoc: () => SsoUrlFromEmailResponseFragmentDoc,
|
|
2277
2281
|
SuccessPayloadFragmentDoc: () => SuccessPayloadFragmentDoc,
|
|
2282
|
+
SummaryFragmentDoc: () => SummaryFragmentDoc,
|
|
2283
|
+
SummaryGenerationStatus: () => SummaryGenerationStatus,
|
|
2278
2284
|
SuspendUserDocument: () => SuspendUserDocument,
|
|
2279
2285
|
SyncedExternalThreadFragmentDoc: () => SyncedExternalThreadFragmentDoc,
|
|
2280
2286
|
TeamArchivePayloadFragmentDoc: () => TeamArchivePayloadFragmentDoc,
|
|
@@ -2691,6 +2697,7 @@ let IntegrationService = /* @__PURE__ */ function(IntegrationService$1) {
|
|
|
2691
2697
|
IntegrationService$1["Loom"] = "loom";
|
|
2692
2698
|
IntegrationService$1["McpServer"] = "mcpServer";
|
|
2693
2699
|
IntegrationService$1["McpServerPersonal"] = "mcpServerPersonal";
|
|
2700
|
+
IntegrationService$1["MicrosoftTeams"] = "microsoftTeams";
|
|
2694
2701
|
IntegrationService$1["Notion"] = "notion";
|
|
2695
2702
|
IntegrationService$1["Opsgenie"] = "opsgenie";
|
|
2696
2703
|
IntegrationService$1["PagerDuty"] = "pagerDuty";
|
|
@@ -3035,6 +3042,13 @@ let SlackChannelType = /* @__PURE__ */ function(SlackChannelType$1) {
|
|
|
3035
3042
|
SlackChannelType$1["Public"] = "Public";
|
|
3036
3043
|
return SlackChannelType$1;
|
|
3037
3044
|
}({});
|
|
3045
|
+
/** The generation status of a summary. */
|
|
3046
|
+
let SummaryGenerationStatus = /* @__PURE__ */ function(SummaryGenerationStatus$1) {
|
|
3047
|
+
SummaryGenerationStatus$1["Completed"] = "completed";
|
|
3048
|
+
SummaryGenerationStatus$1["Failed"] = "failed";
|
|
3049
|
+
SummaryGenerationStatus$1["Pending"] = "pending";
|
|
3050
|
+
return SummaryGenerationStatus$1;
|
|
3051
|
+
}({});
|
|
3038
3052
|
/** [Internal] How to handle sub-teams when retiring a parent team. */
|
|
3039
3053
|
let TeamRetirementSubTeamHandling = /* @__PURE__ */ function(TeamRetirementSubTeamHandling$1) {
|
|
3040
3054
|
TeamRetirementSubTeamHandling$1["Retire"] = "retire";
|
|
@@ -3208,6 +3222,7 @@ let ViewType = /* @__PURE__ */ function(ViewType$1) {
|
|
|
3208
3222
|
ViewType$1["ProjectsClosed"] = "projectsClosed";
|
|
3209
3223
|
ViewType$1["QuickView"] = "quickView";
|
|
3210
3224
|
ViewType$1["Release"] = "release";
|
|
3225
|
+
ViewType$1["ReleasePipelines"] = "releasePipelines";
|
|
3211
3226
|
ViewType$1["Reviews"] = "reviews";
|
|
3212
3227
|
ViewType$1["Roadmap"] = "roadmap";
|
|
3213
3228
|
ViewType$1["RoadmapAll"] = "roadmapAll";
|
|
@@ -5687,6 +5702,22 @@ const UserNotificationSubscriptionFragmentDoc = new TypedDocumentString(`
|
|
|
5687
5702
|
active
|
|
5688
5703
|
}
|
|
5689
5704
|
`, { fragmentName: "UserNotificationSubscription" });
|
|
5705
|
+
const SummaryFragmentDoc = new TypedDocumentString(`
|
|
5706
|
+
fragment Summary on Summary {
|
|
5707
|
+
__typename
|
|
5708
|
+
evalLogId
|
|
5709
|
+
generationStatus
|
|
5710
|
+
issue {
|
|
5711
|
+
id
|
|
5712
|
+
}
|
|
5713
|
+
updatedAt
|
|
5714
|
+
content
|
|
5715
|
+
archivedAt
|
|
5716
|
+
createdAt
|
|
5717
|
+
generatedAt
|
|
5718
|
+
id
|
|
5719
|
+
}
|
|
5720
|
+
`, { fragmentName: "Summary" });
|
|
5690
5721
|
const SesDomainIdentityDnsRecordFragmentDoc = new TypedDocumentString(`
|
|
5691
5722
|
fragment SesDomainIdentityDnsRecord on SesDomainIdentityDnsRecord {
|
|
5692
5723
|
__typename
|
|
@@ -9257,12 +9288,22 @@ const AgentActivityPayloadFragmentDoc = new TypedDocumentString(`
|
|
|
9257
9288
|
success
|
|
9258
9289
|
}
|
|
9259
9290
|
`, { fragmentName: "AgentActivityPayload" });
|
|
9291
|
+
const AgentSessionExternalLinkFragmentDoc = new TypedDocumentString(`
|
|
9292
|
+
fragment AgentSessionExternalLink on AgentSessionExternalLink {
|
|
9293
|
+
__typename
|
|
9294
|
+
label
|
|
9295
|
+
url
|
|
9296
|
+
}
|
|
9297
|
+
`, { fragmentName: "AgentSessionExternalLink" });
|
|
9260
9298
|
const AgentSessionFragmentDoc = new TypedDocumentString(`
|
|
9261
9299
|
fragment AgentSession on AgentSession {
|
|
9262
9300
|
__typename
|
|
9263
9301
|
plan
|
|
9264
9302
|
summary
|
|
9265
9303
|
url
|
|
9304
|
+
externalLinks {
|
|
9305
|
+
...AgentSessionExternalLink
|
|
9306
|
+
}
|
|
9266
9307
|
sourceMetadata
|
|
9267
9308
|
context
|
|
9268
9309
|
externalLink
|
|
@@ -9295,7 +9336,11 @@ const AgentSessionFragmentDoc = new TypedDocumentString(`
|
|
|
9295
9336
|
externalUrls
|
|
9296
9337
|
type
|
|
9297
9338
|
}
|
|
9298
|
-
|
|
9339
|
+
fragment AgentSessionExternalLink on AgentSessionExternalLink {
|
|
9340
|
+
__typename
|
|
9341
|
+
label
|
|
9342
|
+
url
|
|
9343
|
+
}`, { fragmentName: "AgentSession" });
|
|
9299
9344
|
const AgentSessionConnectionFragmentDoc = new TypedDocumentString(`
|
|
9300
9345
|
fragment AgentSessionConnection on AgentSessionConnection {
|
|
9301
9346
|
__typename
|
|
@@ -9311,6 +9356,9 @@ const AgentSessionConnectionFragmentDoc = new TypedDocumentString(`
|
|
|
9311
9356
|
plan
|
|
9312
9357
|
summary
|
|
9313
9358
|
url
|
|
9359
|
+
externalLinks {
|
|
9360
|
+
...AgentSessionExternalLink
|
|
9361
|
+
}
|
|
9314
9362
|
sourceMetadata
|
|
9315
9363
|
context
|
|
9316
9364
|
externalLink
|
|
@@ -9343,6 +9391,11 @@ const AgentSessionConnectionFragmentDoc = new TypedDocumentString(`
|
|
|
9343
9391
|
externalUrls
|
|
9344
9392
|
type
|
|
9345
9393
|
}
|
|
9394
|
+
fragment AgentSessionExternalLink on AgentSessionExternalLink {
|
|
9395
|
+
__typename
|
|
9396
|
+
label
|
|
9397
|
+
url
|
|
9398
|
+
}
|
|
9346
9399
|
fragment PageInfo on PageInfo {
|
|
9347
9400
|
__typename
|
|
9348
9401
|
startCursor
|
|
@@ -9690,6 +9743,7 @@ const AuthResolverResponseFragmentDoc = new TypedDocumentString(`
|
|
|
9690
9743
|
...AuthOrganization
|
|
9691
9744
|
}
|
|
9692
9745
|
allowDomainAccess
|
|
9746
|
+
service
|
|
9693
9747
|
id
|
|
9694
9748
|
}
|
|
9695
9749
|
fragment AuthUser on AuthUser {
|
|
@@ -18469,6 +18523,9 @@ const AgentSessionDocument = new TypedDocumentString(`
|
|
|
18469
18523
|
plan
|
|
18470
18524
|
summary
|
|
18471
18525
|
url
|
|
18526
|
+
externalLinks {
|
|
18527
|
+
...AgentSessionExternalLink
|
|
18528
|
+
}
|
|
18472
18529
|
sourceMetadata
|
|
18473
18530
|
context
|
|
18474
18531
|
externalLink
|
|
@@ -18500,6 +18557,11 @@ const AgentSessionDocument = new TypedDocumentString(`
|
|
|
18500
18557
|
}
|
|
18501
18558
|
externalUrls
|
|
18502
18559
|
type
|
|
18560
|
+
}
|
|
18561
|
+
fragment AgentSessionExternalLink on AgentSessionExternalLink {
|
|
18562
|
+
__typename
|
|
18563
|
+
label
|
|
18564
|
+
url
|
|
18503
18565
|
}`);
|
|
18504
18566
|
const AgentSession_ActivitiesDocument = new TypedDocumentString(`
|
|
18505
18567
|
query agentSession_activities($id: String!, $after: String, $before: String, $filter: AgentActivityFilter, $first: Int, $includeArchived: Boolean, $last: Int, $orderBy: PaginationOrderBy) {
|
|
@@ -18623,6 +18685,9 @@ const AgentSessionsDocument = new TypedDocumentString(`
|
|
|
18623
18685
|
plan
|
|
18624
18686
|
summary
|
|
18625
18687
|
url
|
|
18688
|
+
externalLinks {
|
|
18689
|
+
...AgentSessionExternalLink
|
|
18690
|
+
}
|
|
18626
18691
|
sourceMetadata
|
|
18627
18692
|
context
|
|
18628
18693
|
externalLink
|
|
@@ -18655,6 +18720,11 @@ const AgentSessionsDocument = new TypedDocumentString(`
|
|
|
18655
18720
|
externalUrls
|
|
18656
18721
|
type
|
|
18657
18722
|
}
|
|
18723
|
+
fragment AgentSessionExternalLink on AgentSessionExternalLink {
|
|
18724
|
+
__typename
|
|
18725
|
+
label
|
|
18726
|
+
url
|
|
18727
|
+
}
|
|
18658
18728
|
fragment AgentSessionConnection on AgentSessionConnection {
|
|
18659
18729
|
__typename
|
|
18660
18730
|
nodes {
|
|
@@ -20143,6 +20213,40 @@ fragment PageInfo on PageInfo {
|
|
|
20143
20213
|
hasPreviousPage
|
|
20144
20214
|
hasNextPage
|
|
20145
20215
|
}`);
|
|
20216
|
+
const AttachmentIssue_StateHistoryDocument = new TypedDocumentString(`
|
|
20217
|
+
query attachmentIssue_stateHistory($id: String!, $after: String, $before: String, $first: Int, $last: Int) {
|
|
20218
|
+
attachmentIssue(id: $id) {
|
|
20219
|
+
stateHistory(after: $after, before: $before, first: $first, last: $last) {
|
|
20220
|
+
...IssueStateSpanConnection
|
|
20221
|
+
}
|
|
20222
|
+
}
|
|
20223
|
+
}
|
|
20224
|
+
fragment IssueStateSpan on IssueStateSpan {
|
|
20225
|
+
__typename
|
|
20226
|
+
startedAt
|
|
20227
|
+
endedAt
|
|
20228
|
+
id
|
|
20229
|
+
state {
|
|
20230
|
+
id
|
|
20231
|
+
}
|
|
20232
|
+
stateId
|
|
20233
|
+
}
|
|
20234
|
+
fragment IssueStateSpanConnection on IssueStateSpanConnection {
|
|
20235
|
+
__typename
|
|
20236
|
+
nodes {
|
|
20237
|
+
...IssueStateSpan
|
|
20238
|
+
}
|
|
20239
|
+
pageInfo {
|
|
20240
|
+
...PageInfo
|
|
20241
|
+
}
|
|
20242
|
+
}
|
|
20243
|
+
fragment PageInfo on PageInfo {
|
|
20244
|
+
__typename
|
|
20245
|
+
startCursor
|
|
20246
|
+
endCursor
|
|
20247
|
+
hasPreviousPage
|
|
20248
|
+
hasNextPage
|
|
20249
|
+
}`);
|
|
20146
20250
|
const AttachmentIssue_SubscribersDocument = new TypedDocumentString(`
|
|
20147
20251
|
query attachmentIssue_subscribers($id: String!, $after: String, $before: String, $filter: UserFilter, $first: Int, $includeArchived: Boolean, $includeDisabled: Boolean, $last: Int, $orderBy: PaginationOrderBy) {
|
|
20148
20252
|
attachmentIssue(id: $id) {
|
|
@@ -20468,6 +20572,7 @@ fragment AuthResolverResponse on AuthResolverResponse {
|
|
|
20468
20572
|
...AuthOrganization
|
|
20469
20573
|
}
|
|
20470
20574
|
allowDomainAccess
|
|
20575
|
+
service
|
|
20471
20576
|
id
|
|
20472
20577
|
}`);
|
|
20473
20578
|
const CommentDocument = new TypedDocumentString(`
|
|
@@ -26614,6 +26719,40 @@ fragment PageInfo on PageInfo {
|
|
|
26614
26719
|
hasPreviousPage
|
|
26615
26720
|
hasNextPage
|
|
26616
26721
|
}`);
|
|
26722
|
+
const Issue_StateHistoryDocument = new TypedDocumentString(`
|
|
26723
|
+
query issue_stateHistory($id: String!, $after: String, $before: String, $first: Int, $last: Int) {
|
|
26724
|
+
issue(id: $id) {
|
|
26725
|
+
stateHistory(after: $after, before: $before, first: $first, last: $last) {
|
|
26726
|
+
...IssueStateSpanConnection
|
|
26727
|
+
}
|
|
26728
|
+
}
|
|
26729
|
+
}
|
|
26730
|
+
fragment IssueStateSpan on IssueStateSpan {
|
|
26731
|
+
__typename
|
|
26732
|
+
startedAt
|
|
26733
|
+
endedAt
|
|
26734
|
+
id
|
|
26735
|
+
state {
|
|
26736
|
+
id
|
|
26737
|
+
}
|
|
26738
|
+
stateId
|
|
26739
|
+
}
|
|
26740
|
+
fragment IssueStateSpanConnection on IssueStateSpanConnection {
|
|
26741
|
+
__typename
|
|
26742
|
+
nodes {
|
|
26743
|
+
...IssueStateSpan
|
|
26744
|
+
}
|
|
26745
|
+
pageInfo {
|
|
26746
|
+
...PageInfo
|
|
26747
|
+
}
|
|
26748
|
+
}
|
|
26749
|
+
fragment PageInfo on PageInfo {
|
|
26750
|
+
__typename
|
|
26751
|
+
startCursor
|
|
26752
|
+
endCursor
|
|
26753
|
+
hasPreviousPage
|
|
26754
|
+
hasNextPage
|
|
26755
|
+
}`);
|
|
26617
26756
|
const Issue_SubscribersDocument = new TypedDocumentString(`
|
|
26618
26757
|
query issue_subscribers($id: String!, $after: String, $before: String, $filter: UserFilter, $first: Int, $includeArchived: Boolean, $includeDisabled: Boolean, $last: Int, $orderBy: PaginationOrderBy) {
|
|
26619
26758
|
issue(id: $id) {
|
|
@@ -28954,6 +29093,40 @@ fragment PageInfo on PageInfo {
|
|
|
28954
29093
|
hasPreviousPage
|
|
28955
29094
|
hasNextPage
|
|
28956
29095
|
}`);
|
|
29096
|
+
const IssueVcsBranchSearch_StateHistoryDocument = new TypedDocumentString(`
|
|
29097
|
+
query issueVcsBranchSearch_stateHistory($branchName: String!, $after: String, $before: String, $first: Int, $last: Int) {
|
|
29098
|
+
issueVcsBranchSearch(branchName: $branchName) {
|
|
29099
|
+
stateHistory(after: $after, before: $before, first: $first, last: $last) {
|
|
29100
|
+
...IssueStateSpanConnection
|
|
29101
|
+
}
|
|
29102
|
+
}
|
|
29103
|
+
}
|
|
29104
|
+
fragment IssueStateSpan on IssueStateSpan {
|
|
29105
|
+
__typename
|
|
29106
|
+
startedAt
|
|
29107
|
+
endedAt
|
|
29108
|
+
id
|
|
29109
|
+
state {
|
|
29110
|
+
id
|
|
29111
|
+
}
|
|
29112
|
+
stateId
|
|
29113
|
+
}
|
|
29114
|
+
fragment IssueStateSpanConnection on IssueStateSpanConnection {
|
|
29115
|
+
__typename
|
|
29116
|
+
nodes {
|
|
29117
|
+
...IssueStateSpan
|
|
29118
|
+
}
|
|
29119
|
+
pageInfo {
|
|
29120
|
+
...PageInfo
|
|
29121
|
+
}
|
|
29122
|
+
}
|
|
29123
|
+
fragment PageInfo on PageInfo {
|
|
29124
|
+
__typename
|
|
29125
|
+
startCursor
|
|
29126
|
+
endCursor
|
|
29127
|
+
hasPreviousPage
|
|
29128
|
+
hasNextPage
|
|
29129
|
+
}`);
|
|
28957
29130
|
const IssueVcsBranchSearch_SubscribersDocument = new TypedDocumentString(`
|
|
28958
29131
|
query issueVcsBranchSearch_subscribers($branchName: String!, $after: String, $before: String, $filter: UserFilter, $first: Int, $includeArchived: Boolean, $includeDisabled: Boolean, $last: Int, $orderBy: PaginationOrderBy) {
|
|
28959
29132
|
issueVcsBranchSearch(branchName: $branchName) {
|
|
@@ -40192,6 +40365,7 @@ fragment AuthResolverResponse on AuthResolverResponse {
|
|
|
40192
40365
|
...AuthOrganization
|
|
40193
40366
|
}
|
|
40194
40367
|
allowDomainAccess
|
|
40368
|
+
service
|
|
40195
40369
|
id
|
|
40196
40370
|
}`);
|
|
40197
40371
|
const EmailUnsubscribeDocument = new TypedDocumentString(`
|
|
@@ -40580,6 +40754,7 @@ fragment AuthResolverResponse on AuthResolverResponse {
|
|
|
40580
40754
|
...AuthOrganization
|
|
40581
40755
|
}
|
|
40582
40756
|
allowDomainAccess
|
|
40757
|
+
service
|
|
40583
40758
|
id
|
|
40584
40759
|
}`);
|
|
40585
40760
|
const ImageUploadFromUrlDocument = new TypedDocumentString(`
|
|
@@ -46988,6 +47163,7 @@ fragment AuthResolverResponse on AuthResolverResponse {
|
|
|
46988
47163
|
...AuthOrganization
|
|
46989
47164
|
}
|
|
46990
47165
|
allowDomainAccess
|
|
47166
|
+
service
|
|
46991
47167
|
id
|
|
46992
47168
|
}`);
|
|
46993
47169
|
const CreateTeamDocument = new TypedDocumentString(`
|
|
@@ -48071,6 +48247,7 @@ var AgentSession = class extends Request {
|
|
|
48071
48247
|
this.summary = data.summary ?? void 0;
|
|
48072
48248
|
this.updatedAt = parseDate(data.updatedAt) ?? /* @__PURE__ */ new Date();
|
|
48073
48249
|
this.url = data.url ?? void 0;
|
|
48250
|
+
this.externalLinks = data.externalLinks.map((node) => new AgentSessionExternalLink(request, node));
|
|
48074
48251
|
this.status = data.status;
|
|
48075
48252
|
this.type = data.type ?? void 0;
|
|
48076
48253
|
this._appUser = data.appUser;
|
|
@@ -48111,6 +48288,8 @@ var AgentSession = class extends Request {
|
|
|
48111
48288
|
updatedAt;
|
|
48112
48289
|
/** Agent session URL. */
|
|
48113
48290
|
url;
|
|
48291
|
+
/** External links associated with this session. */
|
|
48292
|
+
externalLinks;
|
|
48114
48293
|
/** The current status of the agent session. */
|
|
48115
48294
|
status;
|
|
48116
48295
|
/** [DEPRECATED] The type of the agent session. */
|
|
@@ -48233,6 +48412,23 @@ var AgentSessionEventWebhookPayload = class {
|
|
|
48233
48412
|
agentSession;
|
|
48234
48413
|
};
|
|
48235
48414
|
/**
|
|
48415
|
+
* An external link associated with an agent session.
|
|
48416
|
+
*
|
|
48417
|
+
* @param request - function to call the graphql client
|
|
48418
|
+
* @param data - L.AgentSessionExternalLinkFragment response data
|
|
48419
|
+
*/
|
|
48420
|
+
var AgentSessionExternalLink = class extends Request {
|
|
48421
|
+
constructor(request, data) {
|
|
48422
|
+
super(request);
|
|
48423
|
+
this.label = data.label;
|
|
48424
|
+
this.url = data.url;
|
|
48425
|
+
}
|
|
48426
|
+
/** Label for the link. */
|
|
48427
|
+
label;
|
|
48428
|
+
/** The URL of the external resource. */
|
|
48429
|
+
url;
|
|
48430
|
+
};
|
|
48431
|
+
/**
|
|
48236
48432
|
* AgentSessionPayload model
|
|
48237
48433
|
*
|
|
48238
48434
|
* @param request - function to call the graphql client
|
|
@@ -49102,6 +49298,7 @@ var AuthResolverResponse = class extends Request {
|
|
|
49102
49298
|
this.email = data.email;
|
|
49103
49299
|
this.id = data.id;
|
|
49104
49300
|
this.lastUsedOrganizationId = data.lastUsedOrganizationId ?? void 0;
|
|
49301
|
+
this.service = data.service ?? void 0;
|
|
49105
49302
|
this.token = data.token ?? void 0;
|
|
49106
49303
|
this.availableOrganizations = data.availableOrganizations ? data.availableOrganizations.map((node) => new AuthOrganization(request, node)) : void 0;
|
|
49107
49304
|
this.lockedOrganizations = data.lockedOrganizations ? data.lockedOrganizations.map((node) => new AuthOrganization(request, node)) : void 0;
|
|
@@ -49116,6 +49313,8 @@ var AuthResolverResponse = class extends Request {
|
|
|
49116
49313
|
id;
|
|
49117
49314
|
/** ID of the organization last accessed by the user. */
|
|
49118
49315
|
lastUsedOrganizationId;
|
|
49316
|
+
/** The authentication service used for the current session (e.g., google, email, saml). */
|
|
49317
|
+
service;
|
|
49119
49318
|
/** Application token. */
|
|
49120
49319
|
token;
|
|
49121
49320
|
/** List of organizations allowing this user account to join automatically. */
|
|
@@ -55673,6 +55872,10 @@ var Issue = class extends Request {
|
|
|
55673
55872
|
relations(variables) {
|
|
55674
55873
|
return new Issue_RelationsQuery(this._request, this.id, variables).fetch(variables);
|
|
55675
55874
|
}
|
|
55875
|
+
/** The issue's workflow states over time. */
|
|
55876
|
+
stateHistory(variables) {
|
|
55877
|
+
return new Issue_StateHistoryQuery(this._request, this.id, variables).fetch(variables);
|
|
55878
|
+
}
|
|
55676
55879
|
/** Users who are subscribed to the issue. */
|
|
55677
55880
|
subscribers(variables) {
|
|
55678
55881
|
return new Issue_SubscribersQuery(this._request, this.id, variables).fetch(variables);
|
|
@@ -62886,6 +63089,54 @@ var SuccessPayload = class extends Request {
|
|
|
62886
63089
|
success;
|
|
62887
63090
|
};
|
|
62888
63091
|
/**
|
|
63092
|
+
* An AI-generated summary.
|
|
63093
|
+
*
|
|
63094
|
+
* @param request - function to call the graphql client
|
|
63095
|
+
* @param data - L.SummaryFragment response data
|
|
63096
|
+
*/
|
|
63097
|
+
var Summary = class extends Request {
|
|
63098
|
+
_issue;
|
|
63099
|
+
constructor(request, data) {
|
|
63100
|
+
super(request);
|
|
63101
|
+
this.archivedAt = parseDate(data.archivedAt) ?? void 0;
|
|
63102
|
+
this.content = data.content;
|
|
63103
|
+
this.createdAt = parseDate(data.createdAt) ?? /* @__PURE__ */ new Date();
|
|
63104
|
+
this.evalLogId = data.evalLogId ?? void 0;
|
|
63105
|
+
this.generatedAt = parseDate(data.generatedAt) ?? /* @__PURE__ */ new Date();
|
|
63106
|
+
this.id = data.id;
|
|
63107
|
+
this.updatedAt = parseDate(data.updatedAt) ?? /* @__PURE__ */ new Date();
|
|
63108
|
+
this.generationStatus = data.generationStatus;
|
|
63109
|
+
this._issue = data.issue;
|
|
63110
|
+
}
|
|
63111
|
+
/** The time at which the entity was archived. Null if the entity has not been archived. */
|
|
63112
|
+
archivedAt;
|
|
63113
|
+
/** The summary content as a Prosemirror document. */
|
|
63114
|
+
content;
|
|
63115
|
+
/** The time at which the entity was created. */
|
|
63116
|
+
createdAt;
|
|
63117
|
+
/** The evaluation log id for this summary generation. */
|
|
63118
|
+
evalLogId;
|
|
63119
|
+
/** The time at which the summary was generated. */
|
|
63120
|
+
generatedAt;
|
|
63121
|
+
/** The unique identifier of the entity. */
|
|
63122
|
+
id;
|
|
63123
|
+
/**
|
|
63124
|
+
* The last time at which the entity was meaningfully updated. This is the same as the creation time if the entity hasn't
|
|
63125
|
+
* been updated after creation.
|
|
63126
|
+
*/
|
|
63127
|
+
updatedAt;
|
|
63128
|
+
/** The generation status of the summary. */
|
|
63129
|
+
generationStatus;
|
|
63130
|
+
/** The issue this summary belongs to. */
|
|
63131
|
+
get issue() {
|
|
63132
|
+
return new IssueQuery(this._request).fetch(this._issue.id);
|
|
63133
|
+
}
|
|
63134
|
+
/** The ID of issue this summary belongs to. */
|
|
63135
|
+
get issueId() {
|
|
63136
|
+
return this._issue?.id;
|
|
63137
|
+
}
|
|
63138
|
+
};
|
|
63139
|
+
/**
|
|
62889
63140
|
* A comment thread that is synced with an external source.
|
|
62890
63141
|
*
|
|
62891
63142
|
* @param request - function to call the graphql client
|
|
@@ -74770,6 +75021,40 @@ var AttachmentIssue_RelationsQuery = class extends Request {
|
|
|
74770
75021
|
}
|
|
74771
75022
|
};
|
|
74772
75023
|
/**
|
|
75024
|
+
* A fetchable AttachmentIssue_StateHistory Query
|
|
75025
|
+
*
|
|
75026
|
+
* @param request - function to call the graphql client
|
|
75027
|
+
* @param id - required id to pass to attachmentIssue
|
|
75028
|
+
* @param variables - variables without 'id' to pass into the AttachmentIssue_StateHistoryQuery
|
|
75029
|
+
*/
|
|
75030
|
+
var AttachmentIssue_StateHistoryQuery = class extends Request {
|
|
75031
|
+
_id;
|
|
75032
|
+
_variables;
|
|
75033
|
+
constructor(request, id, variables) {
|
|
75034
|
+
super(request);
|
|
75035
|
+
this._id = id;
|
|
75036
|
+
this._variables = variables;
|
|
75037
|
+
}
|
|
75038
|
+
/**
|
|
75039
|
+
* Call the AttachmentIssue_StateHistory query and return a IssueStateSpanConnection
|
|
75040
|
+
*
|
|
75041
|
+
* @param variables - variables without 'id' to pass into the AttachmentIssue_StateHistoryQuery
|
|
75042
|
+
* @returns parsed response from AttachmentIssue_StateHistoryQuery
|
|
75043
|
+
*/
|
|
75044
|
+
async fetch(variables) {
|
|
75045
|
+
const data = (await this._request(AttachmentIssue_StateHistoryDocument.toString(), {
|
|
75046
|
+
id: this._id,
|
|
75047
|
+
...this._variables,
|
|
75048
|
+
...variables
|
|
75049
|
+
})).attachmentIssue.stateHistory;
|
|
75050
|
+
return new IssueStateSpanConnection(this._request, (connection) => this.fetch(defaultConnection({
|
|
75051
|
+
...this._variables,
|
|
75052
|
+
...variables,
|
|
75053
|
+
...connection
|
|
75054
|
+
})), data);
|
|
75055
|
+
}
|
|
75056
|
+
};
|
|
75057
|
+
/**
|
|
74773
75058
|
* A fetchable AttachmentIssue_Subscribers Query
|
|
74774
75059
|
*
|
|
74775
75060
|
* @param request - function to call the graphql client
|
|
@@ -76021,6 +76306,40 @@ var Issue_RelationsQuery = class extends Request {
|
|
|
76021
76306
|
}
|
|
76022
76307
|
};
|
|
76023
76308
|
/**
|
|
76309
|
+
* A fetchable Issue_StateHistory Query
|
|
76310
|
+
*
|
|
76311
|
+
* @param request - function to call the graphql client
|
|
76312
|
+
* @param id - required id to pass to issue
|
|
76313
|
+
* @param variables - variables without 'id' to pass into the Issue_StateHistoryQuery
|
|
76314
|
+
*/
|
|
76315
|
+
var Issue_StateHistoryQuery = class extends Request {
|
|
76316
|
+
_id;
|
|
76317
|
+
_variables;
|
|
76318
|
+
constructor(request, id, variables) {
|
|
76319
|
+
super(request);
|
|
76320
|
+
this._id = id;
|
|
76321
|
+
this._variables = variables;
|
|
76322
|
+
}
|
|
76323
|
+
/**
|
|
76324
|
+
* Call the Issue_StateHistory query and return a IssueStateSpanConnection
|
|
76325
|
+
*
|
|
76326
|
+
* @param variables - variables without 'id' to pass into the Issue_StateHistoryQuery
|
|
76327
|
+
* @returns parsed response from Issue_StateHistoryQuery
|
|
76328
|
+
*/
|
|
76329
|
+
async fetch(variables) {
|
|
76330
|
+
const data = (await this._request(Issue_StateHistoryDocument.toString(), {
|
|
76331
|
+
id: this._id,
|
|
76332
|
+
...this._variables,
|
|
76333
|
+
...variables
|
|
76334
|
+
})).issue.stateHistory;
|
|
76335
|
+
return new IssueStateSpanConnection(this._request, (connection) => this.fetch(defaultConnection({
|
|
76336
|
+
...this._variables,
|
|
76337
|
+
...variables,
|
|
76338
|
+
...connection
|
|
76339
|
+
})), data);
|
|
76340
|
+
}
|
|
76341
|
+
};
|
|
76342
|
+
/**
|
|
76024
76343
|
* A fetchable Issue_Subscribers Query
|
|
76025
76344
|
*
|
|
76026
76345
|
* @param request - function to call the graphql client
|
|
@@ -76530,6 +76849,41 @@ var IssueVcsBranchSearch_RelationsQuery = class extends Request {
|
|
|
76530
76849
|
}
|
|
76531
76850
|
};
|
|
76532
76851
|
/**
|
|
76852
|
+
* A fetchable IssueVcsBranchSearch_StateHistory Query
|
|
76853
|
+
*
|
|
76854
|
+
* @param request - function to call the graphql client
|
|
76855
|
+
* @param branchName - required branchName to pass to issueVcsBranchSearch
|
|
76856
|
+
* @param variables - variables without 'branchName' to pass into the IssueVcsBranchSearch_StateHistoryQuery
|
|
76857
|
+
*/
|
|
76858
|
+
var IssueVcsBranchSearch_StateHistoryQuery = class extends Request {
|
|
76859
|
+
_branchName;
|
|
76860
|
+
_variables;
|
|
76861
|
+
constructor(request, branchName, variables) {
|
|
76862
|
+
super(request);
|
|
76863
|
+
this._branchName = branchName;
|
|
76864
|
+
this._variables = variables;
|
|
76865
|
+
}
|
|
76866
|
+
/**
|
|
76867
|
+
* Call the IssueVcsBranchSearch_StateHistory query and return a IssueStateSpanConnection
|
|
76868
|
+
*
|
|
76869
|
+
* @param variables - variables without 'branchName' to pass into the IssueVcsBranchSearch_StateHistoryQuery
|
|
76870
|
+
* @returns parsed response from IssueVcsBranchSearch_StateHistoryQuery
|
|
76871
|
+
*/
|
|
76872
|
+
async fetch(variables) {
|
|
76873
|
+
const data = (await this._request(IssueVcsBranchSearch_StateHistoryDocument.toString(), {
|
|
76874
|
+
branchName: this._branchName,
|
|
76875
|
+
...this._variables,
|
|
76876
|
+
...variables
|
|
76877
|
+
})).issueVcsBranchSearch?.stateHistory;
|
|
76878
|
+
if (data) return new IssueStateSpanConnection(this._request, (connection) => this.fetch(defaultConnection({
|
|
76879
|
+
...this._variables,
|
|
76880
|
+
...variables,
|
|
76881
|
+
...connection
|
|
76882
|
+
})), data);
|
|
76883
|
+
else return;
|
|
76884
|
+
}
|
|
76885
|
+
};
|
|
76886
|
+
/**
|
|
76533
76887
|
* A fetchable IssueVcsBranchSearch_Subscribers Query
|
|
76534
76888
|
*
|
|
76535
76889
|
* @param request - function to call the graphql client
|
|
@@ -82893,6 +83247,7 @@ exports.AgentSessionConnection = AgentSessionConnection;
|
|
|
82893
83247
|
exports.AgentSessionCreateOnCommentMutation = AgentSessionCreateOnCommentMutation;
|
|
82894
83248
|
exports.AgentSessionCreateOnIssueMutation = AgentSessionCreateOnIssueMutation;
|
|
82895
83249
|
exports.AgentSessionEventWebhookPayload = AgentSessionEventWebhookPayload;
|
|
83250
|
+
exports.AgentSessionExternalLink = AgentSessionExternalLink;
|
|
82896
83251
|
exports.AgentSessionPayload = AgentSessionPayload;
|
|
82897
83252
|
exports.AgentSessionQuery = AgentSessionQuery;
|
|
82898
83253
|
exports.AgentSessionStatus = AgentSessionStatus;
|
|
@@ -82942,6 +83297,7 @@ exports.AttachmentIssue_InverseRelationsQuery = AttachmentIssue_InverseRelations
|
|
|
82942
83297
|
exports.AttachmentIssue_LabelsQuery = AttachmentIssue_LabelsQuery;
|
|
82943
83298
|
exports.AttachmentIssue_NeedsQuery = AttachmentIssue_NeedsQuery;
|
|
82944
83299
|
exports.AttachmentIssue_RelationsQuery = AttachmentIssue_RelationsQuery;
|
|
83300
|
+
exports.AttachmentIssue_StateHistoryQuery = AttachmentIssue_StateHistoryQuery;
|
|
82945
83301
|
exports.AttachmentIssue_SubscribersQuery = AttachmentIssue_SubscribersQuery;
|
|
82946
83302
|
exports.AttachmentLinkDiscordMutation = AttachmentLinkDiscordMutation;
|
|
82947
83303
|
exports.AttachmentLinkFrontMutation = AttachmentLinkFrontMutation;
|
|
@@ -83446,6 +83802,7 @@ exports.IssueVcsBranchSearch_InverseRelationsQuery = IssueVcsBranchSearch_Invers
|
|
|
83446
83802
|
exports.IssueVcsBranchSearch_LabelsQuery = IssueVcsBranchSearch_LabelsQuery;
|
|
83447
83803
|
exports.IssueVcsBranchSearch_NeedsQuery = IssueVcsBranchSearch_NeedsQuery;
|
|
83448
83804
|
exports.IssueVcsBranchSearch_RelationsQuery = IssueVcsBranchSearch_RelationsQuery;
|
|
83805
|
+
exports.IssueVcsBranchSearch_StateHistoryQuery = IssueVcsBranchSearch_StateHistoryQuery;
|
|
83449
83806
|
exports.IssueVcsBranchSearch_SubscribersQuery = IssueVcsBranchSearch_SubscribersQuery;
|
|
83450
83807
|
exports.IssueWebhookPayload = IssueWebhookPayload;
|
|
83451
83808
|
exports.IssueWithDescriptionChildWebhookPayload = IssueWithDescriptionChildWebhookPayload;
|
|
@@ -83461,6 +83818,7 @@ exports.Issue_InverseRelationsQuery = Issue_InverseRelationsQuery;
|
|
|
83461
83818
|
exports.Issue_LabelsQuery = Issue_LabelsQuery;
|
|
83462
83819
|
exports.Issue_NeedsQuery = Issue_NeedsQuery;
|
|
83463
83820
|
exports.Issue_RelationsQuery = Issue_RelationsQuery;
|
|
83821
|
+
exports.Issue_StateHistoryQuery = Issue_StateHistoryQuery;
|
|
83464
83822
|
exports.Issue_SubscribersQuery = Issue_SubscribersQuery;
|
|
83465
83823
|
exports.IssuesQuery = IssuesQuery;
|
|
83466
83824
|
exports.JoinOrganizationFromOnboardingMutation = JoinOrganizationFromOnboardingMutation;
|
|
@@ -83718,6 +84076,8 @@ exports.SlackChannelType = SlackChannelType;
|
|
|
83718
84076
|
exports.SsoUrlFromEmailQuery = SsoUrlFromEmailQuery;
|
|
83719
84077
|
exports.SsoUrlFromEmailResponse = SsoUrlFromEmailResponse;
|
|
83720
84078
|
exports.SuccessPayload = SuccessPayload;
|
|
84079
|
+
exports.Summary = Summary;
|
|
84080
|
+
exports.SummaryGenerationStatus = SummaryGenerationStatus;
|
|
83721
84081
|
exports.SuspendUserMutation = SuspendUserMutation;
|
|
83722
84082
|
exports.SyncedExternalThread = SyncedExternalThread;
|
|
83723
84083
|
exports.Team = Team;
|