@linear/sdk 70.0.0 → 72.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-CExL-wAi.d.mts → index-BBxdiqQK.d.mts} +767 -89
- package/dist/index-BBxdiqQK.d.mts.map +1 -0
- package/dist/{index-Bm4jA7_4.d.cts → index-DPQVugF5.d.cts} +767 -89
- package/dist/index-DPQVugF5.d.cts.map +1 -0
- package/dist/index.cjs +1131 -93
- package/dist/index.d.cts +391 -33
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.mts +391 -33
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +1113 -92
- package/dist/index.mjs.map +1 -1
- package/dist/webhooks/index.cjs +2 -1
- package/dist/webhooks/index.d.cts +2 -2
- package/dist/webhooks/index.d.mts +2 -2
- package/dist/webhooks/index.mjs +2 -2
- package/dist/{webhooks-CgtCOSvZ.mjs → webhooks-Bbhy0Mv8.mjs} +21 -10
- package/dist/webhooks-Bbhy0Mv8.mjs.map +1 -0
- package/dist/{webhooks-BFArBJks.cjs → webhooks-nAfXvD4i.cjs} +25 -8
- package/package.json +4 -4
- package/dist/index-Bm4jA7_4.d.cts.map +0 -1
- package/dist/index-CExL-wAi.d.mts.map +0 -1
- package/dist/webhooks-CgtCOSvZ.mjs.map +0 -1
package/dist/index.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const require_webhooks = require('./webhooks-
|
|
1
|
+
const require_webhooks = require('./webhooks-nAfXvD4i.cjs');
|
|
2
2
|
|
|
3
3
|
//#region src/types.ts
|
|
4
4
|
/**
|
|
@@ -1509,8 +1509,9 @@ var _generated_documents_exports = /* @__PURE__ */ require_webhooks.__export({
|
|
|
1509
1509
|
ArchiveRoadmapDocument: () => ArchiveRoadmapDocument,
|
|
1510
1510
|
ArchiveWorkflowStateDocument: () => ArchiveWorkflowStateDocument,
|
|
1511
1511
|
AsksChannelConnectPayloadFragmentDoc: () => AsksChannelConnectPayloadFragmentDoc,
|
|
1512
|
-
|
|
1513
|
-
|
|
1512
|
+
AsksWebSettingDocument: () => AsksWebSettingDocument,
|
|
1513
|
+
AsksWebSetting_IdentityProviderDocument: () => AsksWebSetting_IdentityProviderDocument,
|
|
1514
|
+
AsksWebSettingsFragmentDoc: () => AsksWebSettingsFragmentDoc,
|
|
1514
1515
|
AttachmentConnectionFragmentDoc: () => AttachmentConnectionFragmentDoc,
|
|
1515
1516
|
AttachmentDocument: () => AttachmentDocument,
|
|
1516
1517
|
AttachmentFragmentDoc: () => AttachmentFragmentDoc,
|
|
@@ -1827,6 +1828,7 @@ var _generated_documents_exports = /* @__PURE__ */ require_webhooks.__export({
|
|
|
1827
1828
|
GitHubEnterpriseServerInstallVerificationPayloadFragmentDoc: () => GitHubEnterpriseServerInstallVerificationPayloadFragmentDoc,
|
|
1828
1829
|
GitHubEnterpriseServerPayloadFragmentDoc: () => GitHubEnterpriseServerPayloadFragmentDoc,
|
|
1829
1830
|
GitLabIntegrationCreatePayloadFragmentDoc: () => GitLabIntegrationCreatePayloadFragmentDoc,
|
|
1831
|
+
GitLabTestConnectionPayloadFragmentDoc: () => GitLabTestConnectionPayloadFragmentDoc,
|
|
1830
1832
|
GitLinkKind: () => GitLinkKind,
|
|
1831
1833
|
GithubOrgType: () => GithubOrgType,
|
|
1832
1834
|
GoogleUserAccountAuthDocument: () => GoogleUserAccountAuthDocument,
|
|
@@ -1894,6 +1896,7 @@ var _generated_documents_exports = /* @__PURE__ */ require_webhooks.__export({
|
|
|
1894
1896
|
IntegrationGithubImportConnectDocument: () => IntegrationGithubImportConnectDocument,
|
|
1895
1897
|
IntegrationGithubImportRefreshDocument: () => IntegrationGithubImportRefreshDocument,
|
|
1896
1898
|
IntegrationGitlabConnectDocument: () => IntegrationGitlabConnectDocument,
|
|
1899
|
+
IntegrationGitlabTestConnectionDocument: () => IntegrationGitlabTestConnectionDocument,
|
|
1897
1900
|
IntegrationGongDocument: () => IntegrationGongDocument,
|
|
1898
1901
|
IntegrationGoogleSheetsDocument: () => IntegrationGoogleSheetsDocument,
|
|
1899
1902
|
IntegrationHasScopesDocument: () => IntegrationHasScopesDocument,
|
|
@@ -1945,6 +1948,8 @@ var _generated_documents_exports = /* @__PURE__ */ require_webhooks.__export({
|
|
|
1945
1948
|
IssueFragmentDoc: () => IssueFragmentDoc,
|
|
1946
1949
|
IssueHistoryConnectionFragmentDoc: () => IssueHistoryConnectionFragmentDoc,
|
|
1947
1950
|
IssueHistoryFragmentDoc: () => IssueHistoryFragmentDoc,
|
|
1951
|
+
IssueHistoryTriageRuleErrorFragmentDoc: () => IssueHistoryTriageRuleErrorFragmentDoc,
|
|
1952
|
+
IssueHistoryTriageRuleMetadataFragmentDoc: () => IssueHistoryTriageRuleMetadataFragmentDoc,
|
|
1948
1953
|
IssueImportCheckCsvDocument: () => IssueImportCheckCsvDocument,
|
|
1949
1954
|
IssueImportCheckPayloadFragmentDoc: () => IssueImportCheckPayloadFragmentDoc,
|
|
1950
1955
|
IssueImportCheckSyncDocument: () => IssueImportCheckSyncDocument,
|
|
@@ -1986,6 +1991,7 @@ var _generated_documents_exports = /* @__PURE__ */ require_webhooks.__export({
|
|
|
1986
1991
|
IssueRelationsDocument: () => IssueRelationsDocument,
|
|
1987
1992
|
IssueReminderDocument: () => IssueReminderDocument,
|
|
1988
1993
|
IssueRemoveLabelDocument: () => IssueRemoveLabelDocument,
|
|
1994
|
+
IssueRepositorySuggestionsDocument: () => IssueRepositorySuggestionsDocument,
|
|
1989
1995
|
IssueSearchDocument: () => IssueSearchDocument,
|
|
1990
1996
|
IssueSearchPayloadFragmentDoc: () => IssueSearchPayloadFragmentDoc,
|
|
1991
1997
|
IssueSearchResultFragmentDoc: () => IssueSearchResultFragmentDoc,
|
|
@@ -2245,6 +2251,7 @@ var _generated_documents_exports = /* @__PURE__ */ require_webhooks.__export({
|
|
|
2245
2251
|
RoadmapToProjectsDocument: () => RoadmapToProjectsDocument,
|
|
2246
2252
|
Roadmap_ProjectsDocument: () => Roadmap_ProjectsDocument,
|
|
2247
2253
|
RoadmapsDocument: () => RoadmapsDocument,
|
|
2254
|
+
RotateSecretWebhookDocument: () => RotateSecretWebhookDocument,
|
|
2248
2255
|
SLADayCountType: () => SLADayCountType,
|
|
2249
2256
|
SamlTokenUserAccountAuthDocument: () => SamlTokenUserAccountAuthDocument,
|
|
2250
2257
|
SearchDocumentsDocument: () => SearchDocumentsDocument,
|
|
@@ -2283,6 +2290,7 @@ var _generated_documents_exports = /* @__PURE__ */ require_webhooks.__export({
|
|
|
2283
2290
|
TeamNotificationSubscriptionFragmentDoc: () => TeamNotificationSubscriptionFragmentDoc,
|
|
2284
2291
|
TeamOriginWebhookPayloadFragmentDoc: () => TeamOriginWebhookPayloadFragmentDoc,
|
|
2285
2292
|
TeamPayloadFragmentDoc: () => TeamPayloadFragmentDoc,
|
|
2293
|
+
TeamRetirementSubTeamHandling: () => TeamRetirementSubTeamHandling,
|
|
2286
2294
|
TeamRoleType: () => TeamRoleType,
|
|
2287
2295
|
TeamWithParentWebhookPayloadFragmentDoc: () => TeamWithParentWebhookPayloadFragmentDoc,
|
|
2288
2296
|
Team_CyclesDocument: () => Team_CyclesDocument,
|
|
@@ -2318,6 +2326,7 @@ var _generated_documents_exports = /* @__PURE__ */ require_webhooks.__export({
|
|
|
2318
2326
|
TriageResponsibilityManualSelectionFragmentDoc: () => TriageResponsibilityManualSelectionFragmentDoc,
|
|
2319
2327
|
TriageResponsibilityPayloadFragmentDoc: () => TriageResponsibilityPayloadFragmentDoc,
|
|
2320
2328
|
TriageResponsibility_ManualSelectionDocument: () => TriageResponsibility_ManualSelectionDocument,
|
|
2329
|
+
TriageRuleErrorType: () => TriageRuleErrorType,
|
|
2321
2330
|
TypedDocumentString: () => TypedDocumentString,
|
|
2322
2331
|
UnarchiveCustomerNeedDocument: () => UnarchiveCustomerNeedDocument,
|
|
2323
2332
|
UnarchiveDocumentDocument: () => UnarchiveDocumentDocument,
|
|
@@ -2402,7 +2411,10 @@ var _generated_documents_exports = /* @__PURE__ */ require_webhooks.__export({
|
|
|
2402
2411
|
UserPayloadFragmentDoc: () => UserPayloadFragmentDoc,
|
|
2403
2412
|
UserPromoteAdminDocument: () => UserPromoteAdminDocument,
|
|
2404
2413
|
UserPromoteMemberDocument: () => UserPromoteMemberDocument,
|
|
2414
|
+
UserRevokeAllSessionsDocument: () => UserRevokeAllSessionsDocument,
|
|
2415
|
+
UserRevokeSessionDocument: () => UserRevokeSessionDocument,
|
|
2405
2416
|
UserRoleType: () => UserRoleType,
|
|
2417
|
+
UserSessionsDocument: () => UserSessionsDocument,
|
|
2406
2418
|
UserSettingsCustomSidebarThemeFragmentDoc: () => UserSettingsCustomSidebarThemeFragmentDoc,
|
|
2407
2419
|
UserSettingsCustomThemeFragmentDoc: () => UserSettingsCustomThemeFragmentDoc,
|
|
2408
2420
|
UserSettingsDocument: () => UserSettingsDocument,
|
|
@@ -2472,7 +2484,9 @@ var _generated_documents_exports = /* @__PURE__ */ require_webhooks.__export({
|
|
|
2472
2484
|
WebhookFailureEventFragmentDoc: () => WebhookFailureEventFragmentDoc,
|
|
2473
2485
|
WebhookFragmentDoc: () => WebhookFragmentDoc,
|
|
2474
2486
|
WebhookPayloadFragmentDoc: () => WebhookPayloadFragmentDoc,
|
|
2487
|
+
WebhookRotateSecretPayloadFragmentDoc: () => WebhookRotateSecretPayloadFragmentDoc,
|
|
2475
2488
|
WebhooksDocument: () => WebhooksDocument,
|
|
2489
|
+
WorkflowDefinitionFragmentDoc: () => WorkflowDefinitionFragmentDoc,
|
|
2476
2490
|
WorkflowStateArchivePayloadFragmentDoc: () => WorkflowStateArchivePayloadFragmentDoc,
|
|
2477
2491
|
WorkflowStateChildWebhookPayloadFragmentDoc: () => WorkflowStateChildWebhookPayloadFragmentDoc,
|
|
2478
2492
|
WorkflowStateConnectionFragmentDoc: () => WorkflowStateConnectionFragmentDoc,
|
|
@@ -2480,7 +2494,10 @@ var _generated_documents_exports = /* @__PURE__ */ require_webhooks.__export({
|
|
|
2480
2494
|
WorkflowStateFragmentDoc: () => WorkflowStateFragmentDoc,
|
|
2481
2495
|
WorkflowStatePayloadFragmentDoc: () => WorkflowStatePayloadFragmentDoc,
|
|
2482
2496
|
WorkflowState_IssuesDocument: () => WorkflowState_IssuesDocument,
|
|
2483
|
-
WorkflowStatesDocument: () => WorkflowStatesDocument
|
|
2497
|
+
WorkflowStatesDocument: () => WorkflowStatesDocument,
|
|
2498
|
+
WorkflowTrigger: () => WorkflowTrigger,
|
|
2499
|
+
WorkflowTriggerType: () => WorkflowTriggerType,
|
|
2500
|
+
WorkflowType: () => WorkflowType
|
|
2484
2501
|
});
|
|
2485
2502
|
/** A modifier that provides additional instructions on how the activity should be interpreted. */
|
|
2486
2503
|
let AgentActivitySignal = /* @__PURE__ */ function(AgentActivitySignal$1) {
|
|
@@ -3018,6 +3035,12 @@ let SlackChannelType = /* @__PURE__ */ function(SlackChannelType$1) {
|
|
|
3018
3035
|
SlackChannelType$1["Public"] = "Public";
|
|
3019
3036
|
return SlackChannelType$1;
|
|
3020
3037
|
}({});
|
|
3038
|
+
/** [Internal] How to handle sub-teams when retiring a parent team. */
|
|
3039
|
+
let TeamRetirementSubTeamHandling = /* @__PURE__ */ function(TeamRetirementSubTeamHandling$1) {
|
|
3040
|
+
TeamRetirementSubTeamHandling$1["Retire"] = "retire";
|
|
3041
|
+
TeamRetirementSubTeamHandling$1["Unnest"] = "unnest";
|
|
3042
|
+
return TeamRetirementSubTeamHandling$1;
|
|
3043
|
+
}({});
|
|
3021
3044
|
/** All possible roles within a team in terms of access to team settings and operations. */
|
|
3022
3045
|
let TeamRoleType = /* @__PURE__ */ function(TeamRoleType$1) {
|
|
3023
3046
|
TeamRoleType$1["Member"] = "member";
|
|
@@ -3030,6 +3053,13 @@ let TriageResponsibilityAction = /* @__PURE__ */ function(TriageResponsibilityAc
|
|
|
3030
3053
|
TriageResponsibilityAction$1["Notify"] = "notify";
|
|
3031
3054
|
return TriageResponsibilityAction$1;
|
|
3032
3055
|
}({});
|
|
3056
|
+
/** The type of error that occurred during triage rule execution. */
|
|
3057
|
+
let TriageRuleErrorType = /* @__PURE__ */ function(TriageRuleErrorType$1) {
|
|
3058
|
+
TriageRuleErrorType$1["Cycle"] = "cycle";
|
|
3059
|
+
TriageRuleErrorType$1["Default"] = "default";
|
|
3060
|
+
TriageRuleErrorType$1["LabelGroupConflict"] = "labelGroupConflict";
|
|
3061
|
+
return TriageRuleErrorType$1;
|
|
3062
|
+
}({});
|
|
3033
3063
|
let UserContextViewType = /* @__PURE__ */ function(UserContextViewType$1) {
|
|
3034
3064
|
UserContextViewType$1["Assigned"] = "assigned";
|
|
3035
3065
|
return UserContextViewType$1;
|
|
@@ -3141,6 +3171,7 @@ let ViewType = /* @__PURE__ */ function(ViewType$1) {
|
|
|
3141
3171
|
ViewType$1["Backlog"] = "backlog";
|
|
3142
3172
|
ViewType$1["Board"] = "board";
|
|
3143
3173
|
ViewType$1["CompletedCycle"] = "completedCycle";
|
|
3174
|
+
ViewType$1["CreatedReviews"] = "createdReviews";
|
|
3144
3175
|
ViewType$1["CustomView"] = "customView";
|
|
3145
3176
|
ViewType$1["CustomViews"] = "customViews";
|
|
3146
3177
|
ViewType$1["Customer"] = "customer";
|
|
@@ -3164,6 +3195,7 @@ let ViewType = /* @__PURE__ */ function(ViewType$1) {
|
|
|
3164
3195
|
ViewType$1["MyIssues"] = "myIssues";
|
|
3165
3196
|
ViewType$1["MyIssuesActivity"] = "myIssuesActivity";
|
|
3166
3197
|
ViewType$1["MyIssuesCreatedByMe"] = "myIssuesCreatedByMe";
|
|
3198
|
+
ViewType$1["MyIssuesSharedWithMe"] = "myIssuesSharedWithMe";
|
|
3167
3199
|
ViewType$1["MyIssuesSubscribedTo"] = "myIssuesSubscribedTo";
|
|
3168
3200
|
ViewType$1["MyReviews"] = "myReviews";
|
|
3169
3201
|
ViewType$1["Project"] = "project";
|
|
@@ -3192,6 +3224,26 @@ let ViewType = /* @__PURE__ */ function(ViewType$1) {
|
|
|
3192
3224
|
ViewType$1["WorkspaceMembers"] = "workspaceMembers";
|
|
3193
3225
|
return ViewType$1;
|
|
3194
3226
|
}({});
|
|
3227
|
+
let WorkflowTrigger = /* @__PURE__ */ function(WorkflowTrigger$1) {
|
|
3228
|
+
WorkflowTrigger$1["EntityCreated"] = "entityCreated";
|
|
3229
|
+
WorkflowTrigger$1["EntityCreatedOrUpdated"] = "entityCreatedOrUpdated";
|
|
3230
|
+
WorkflowTrigger$1["EntityRemoved"] = "entityRemoved";
|
|
3231
|
+
WorkflowTrigger$1["EntityUnarchived"] = "entityUnarchived";
|
|
3232
|
+
WorkflowTrigger$1["EntityUpdated"] = "entityUpdated";
|
|
3233
|
+
return WorkflowTrigger$1;
|
|
3234
|
+
}({});
|
|
3235
|
+
let WorkflowTriggerType = /* @__PURE__ */ function(WorkflowTriggerType$1) {
|
|
3236
|
+
WorkflowTriggerType$1["Issue"] = "issue";
|
|
3237
|
+
WorkflowTriggerType$1["Project"] = "project";
|
|
3238
|
+
return WorkflowTriggerType$1;
|
|
3239
|
+
}({});
|
|
3240
|
+
let WorkflowType = /* @__PURE__ */ function(WorkflowType$1) {
|
|
3241
|
+
WorkflowType$1["Custom"] = "custom";
|
|
3242
|
+
WorkflowType$1["Sla"] = "sla";
|
|
3243
|
+
WorkflowType$1["Triage"] = "triage";
|
|
3244
|
+
WorkflowType$1["ViewSubscription"] = "viewSubscription";
|
|
3245
|
+
return WorkflowType$1;
|
|
3246
|
+
}({});
|
|
3195
3247
|
var TypedDocumentString = class extends String {
|
|
3196
3248
|
__apiType;
|
|
3197
3249
|
value;
|
|
@@ -5880,6 +5932,7 @@ const OrganizationFragmentDoc = new TypedDocumentString(`
|
|
|
5880
5932
|
feedEnabled
|
|
5881
5933
|
customersEnabled
|
|
5882
5934
|
roadmapEnabled
|
|
5935
|
+
hideNonPrimaryOrganizations
|
|
5883
5936
|
projectUpdatesReminderFrequency
|
|
5884
5937
|
allowMembersToInvite
|
|
5885
5938
|
restrictTeamCreationToAdmins
|
|
@@ -6283,6 +6336,226 @@ const IntegrationActorWebhookPayloadFragmentDoc = new TypedDocumentString(`
|
|
|
6283
6336
|
type
|
|
6284
6337
|
}
|
|
6285
6338
|
`, { fragmentName: "IntegrationActorWebhookPayload" });
|
|
6339
|
+
const IssueLabelFragmentDoc = new TypedDocumentString(`
|
|
6340
|
+
fragment IssueLabel on IssueLabel {
|
|
6341
|
+
__typename
|
|
6342
|
+
lastAppliedAt
|
|
6343
|
+
color
|
|
6344
|
+
description
|
|
6345
|
+
name
|
|
6346
|
+
updatedAt
|
|
6347
|
+
inheritedFrom {
|
|
6348
|
+
id
|
|
6349
|
+
}
|
|
6350
|
+
parent {
|
|
6351
|
+
id
|
|
6352
|
+
}
|
|
6353
|
+
team {
|
|
6354
|
+
id
|
|
6355
|
+
}
|
|
6356
|
+
archivedAt
|
|
6357
|
+
createdAt
|
|
6358
|
+
id
|
|
6359
|
+
creator {
|
|
6360
|
+
id
|
|
6361
|
+
}
|
|
6362
|
+
retiredBy {
|
|
6363
|
+
id
|
|
6364
|
+
}
|
|
6365
|
+
isGroup
|
|
6366
|
+
}
|
|
6367
|
+
`, { fragmentName: "IssueLabel" });
|
|
6368
|
+
const IssueHistoryTriageRuleErrorFragmentDoc = new TypedDocumentString(`
|
|
6369
|
+
fragment IssueHistoryTriageRuleError on IssueHistoryTriageRuleError {
|
|
6370
|
+
__typename
|
|
6371
|
+
conflictingLabels {
|
|
6372
|
+
...IssueLabel
|
|
6373
|
+
}
|
|
6374
|
+
property
|
|
6375
|
+
fromTeam {
|
|
6376
|
+
id
|
|
6377
|
+
}
|
|
6378
|
+
toTeam {
|
|
6379
|
+
id
|
|
6380
|
+
}
|
|
6381
|
+
type
|
|
6382
|
+
conflictForSameChildLabel
|
|
6383
|
+
}
|
|
6384
|
+
fragment IssueLabel on IssueLabel {
|
|
6385
|
+
__typename
|
|
6386
|
+
lastAppliedAt
|
|
6387
|
+
color
|
|
6388
|
+
description
|
|
6389
|
+
name
|
|
6390
|
+
updatedAt
|
|
6391
|
+
inheritedFrom {
|
|
6392
|
+
id
|
|
6393
|
+
}
|
|
6394
|
+
parent {
|
|
6395
|
+
id
|
|
6396
|
+
}
|
|
6397
|
+
team {
|
|
6398
|
+
id
|
|
6399
|
+
}
|
|
6400
|
+
archivedAt
|
|
6401
|
+
createdAt
|
|
6402
|
+
id
|
|
6403
|
+
creator {
|
|
6404
|
+
id
|
|
6405
|
+
}
|
|
6406
|
+
retiredBy {
|
|
6407
|
+
id
|
|
6408
|
+
}
|
|
6409
|
+
isGroup
|
|
6410
|
+
}`, { fragmentName: "IssueHistoryTriageRuleError" });
|
|
6411
|
+
const WorkflowDefinitionFragmentDoc = new TypedDocumentString(`
|
|
6412
|
+
fragment WorkflowDefinition on WorkflowDefinition {
|
|
6413
|
+
__typename
|
|
6414
|
+
activities
|
|
6415
|
+
conditions
|
|
6416
|
+
customView {
|
|
6417
|
+
id
|
|
6418
|
+
}
|
|
6419
|
+
cycle {
|
|
6420
|
+
id
|
|
6421
|
+
}
|
|
6422
|
+
initiative {
|
|
6423
|
+
id
|
|
6424
|
+
}
|
|
6425
|
+
label {
|
|
6426
|
+
id
|
|
6427
|
+
}
|
|
6428
|
+
project {
|
|
6429
|
+
id
|
|
6430
|
+
}
|
|
6431
|
+
user {
|
|
6432
|
+
id
|
|
6433
|
+
}
|
|
6434
|
+
lastExecutedAt
|
|
6435
|
+
description
|
|
6436
|
+
updatedAt
|
|
6437
|
+
groupName
|
|
6438
|
+
name
|
|
6439
|
+
triggerType
|
|
6440
|
+
sortOrder
|
|
6441
|
+
team {
|
|
6442
|
+
id
|
|
6443
|
+
}
|
|
6444
|
+
archivedAt
|
|
6445
|
+
createdAt
|
|
6446
|
+
trigger
|
|
6447
|
+
type
|
|
6448
|
+
userContextViewType
|
|
6449
|
+
contextViewType
|
|
6450
|
+
id
|
|
6451
|
+
creator {
|
|
6452
|
+
id
|
|
6453
|
+
}
|
|
6454
|
+
lastUpdatedBy {
|
|
6455
|
+
id
|
|
6456
|
+
}
|
|
6457
|
+
enabled
|
|
6458
|
+
}
|
|
6459
|
+
`, { fragmentName: "WorkflowDefinition" });
|
|
6460
|
+
const IssueHistoryTriageRuleMetadataFragmentDoc = new TypedDocumentString(`
|
|
6461
|
+
fragment IssueHistoryTriageRuleMetadata on IssueHistoryTriageRuleMetadata {
|
|
6462
|
+
__typename
|
|
6463
|
+
triageRuleError {
|
|
6464
|
+
...IssueHistoryTriageRuleError
|
|
6465
|
+
}
|
|
6466
|
+
updatedByTriageRule {
|
|
6467
|
+
...WorkflowDefinition
|
|
6468
|
+
}
|
|
6469
|
+
}
|
|
6470
|
+
fragment IssueHistoryTriageRuleError on IssueHistoryTriageRuleError {
|
|
6471
|
+
__typename
|
|
6472
|
+
conflictingLabels {
|
|
6473
|
+
...IssueLabel
|
|
6474
|
+
}
|
|
6475
|
+
property
|
|
6476
|
+
fromTeam {
|
|
6477
|
+
id
|
|
6478
|
+
}
|
|
6479
|
+
toTeam {
|
|
6480
|
+
id
|
|
6481
|
+
}
|
|
6482
|
+
type
|
|
6483
|
+
conflictForSameChildLabel
|
|
6484
|
+
}
|
|
6485
|
+
fragment IssueLabel on IssueLabel {
|
|
6486
|
+
__typename
|
|
6487
|
+
lastAppliedAt
|
|
6488
|
+
color
|
|
6489
|
+
description
|
|
6490
|
+
name
|
|
6491
|
+
updatedAt
|
|
6492
|
+
inheritedFrom {
|
|
6493
|
+
id
|
|
6494
|
+
}
|
|
6495
|
+
parent {
|
|
6496
|
+
id
|
|
6497
|
+
}
|
|
6498
|
+
team {
|
|
6499
|
+
id
|
|
6500
|
+
}
|
|
6501
|
+
archivedAt
|
|
6502
|
+
createdAt
|
|
6503
|
+
id
|
|
6504
|
+
creator {
|
|
6505
|
+
id
|
|
6506
|
+
}
|
|
6507
|
+
retiredBy {
|
|
6508
|
+
id
|
|
6509
|
+
}
|
|
6510
|
+
isGroup
|
|
6511
|
+
}
|
|
6512
|
+
fragment WorkflowDefinition on WorkflowDefinition {
|
|
6513
|
+
__typename
|
|
6514
|
+
activities
|
|
6515
|
+
conditions
|
|
6516
|
+
customView {
|
|
6517
|
+
id
|
|
6518
|
+
}
|
|
6519
|
+
cycle {
|
|
6520
|
+
id
|
|
6521
|
+
}
|
|
6522
|
+
initiative {
|
|
6523
|
+
id
|
|
6524
|
+
}
|
|
6525
|
+
label {
|
|
6526
|
+
id
|
|
6527
|
+
}
|
|
6528
|
+
project {
|
|
6529
|
+
id
|
|
6530
|
+
}
|
|
6531
|
+
user {
|
|
6532
|
+
id
|
|
6533
|
+
}
|
|
6534
|
+
lastExecutedAt
|
|
6535
|
+
description
|
|
6536
|
+
updatedAt
|
|
6537
|
+
groupName
|
|
6538
|
+
name
|
|
6539
|
+
triggerType
|
|
6540
|
+
sortOrder
|
|
6541
|
+
team {
|
|
6542
|
+
id
|
|
6543
|
+
}
|
|
6544
|
+
archivedAt
|
|
6545
|
+
createdAt
|
|
6546
|
+
trigger
|
|
6547
|
+
type
|
|
6548
|
+
userContextViewType
|
|
6549
|
+
contextViewType
|
|
6550
|
+
id
|
|
6551
|
+
creator {
|
|
6552
|
+
id
|
|
6553
|
+
}
|
|
6554
|
+
lastUpdatedBy {
|
|
6555
|
+
id
|
|
6556
|
+
}
|
|
6557
|
+
enabled
|
|
6558
|
+
}`, { fragmentName: "IssueHistoryTriageRuleMetadata" });
|
|
6286
6559
|
const OauthClientActorWebhookPayloadFragmentDoc = new TypedDocumentString(`
|
|
6287
6560
|
fragment OauthClientActorWebhookPayload on OauthClientActorWebhookPayload {
|
|
6288
6561
|
__typename
|
|
@@ -7094,8 +7367,18 @@ const AgentActivityWebhookPayloadFragmentDoc = new TypedDocumentString(`
|
|
|
7094
7367
|
archivedAt
|
|
7095
7368
|
createdAt
|
|
7096
7369
|
updatedAt
|
|
7370
|
+
user {
|
|
7371
|
+
...UserChildWebhookPayload
|
|
7372
|
+
}
|
|
7097
7373
|
}
|
|
7098
|
-
|
|
7374
|
+
fragment UserChildWebhookPayload on UserChildWebhookPayload {
|
|
7375
|
+
__typename
|
|
7376
|
+
id
|
|
7377
|
+
url
|
|
7378
|
+
avatarUrl
|
|
7379
|
+
email
|
|
7380
|
+
name
|
|
7381
|
+
}`, { fragmentName: "AgentActivityWebhookPayload" });
|
|
7099
7382
|
const AgentSessionWebhookPayloadFragmentDoc = new TypedDocumentString(`
|
|
7100
7383
|
fragment AgentSessionWebhookPayload on AgentSessionWebhookPayload {
|
|
7101
7384
|
__typename
|
|
@@ -7108,6 +7391,7 @@ const AgentSessionWebhookPayloadFragmentDoc = new TypedDocumentString(`
|
|
|
7108
7391
|
issueId
|
|
7109
7392
|
organizationId
|
|
7110
7393
|
commentId
|
|
7394
|
+
url
|
|
7111
7395
|
status
|
|
7112
7396
|
creator {
|
|
7113
7397
|
...UserChildWebhookPayload
|
|
@@ -7238,6 +7522,9 @@ fragment AgentActivityWebhookPayload on AgentActivityWebhookPayload {
|
|
|
7238
7522
|
archivedAt
|
|
7239
7523
|
createdAt
|
|
7240
7524
|
updatedAt
|
|
7525
|
+
user {
|
|
7526
|
+
...UserChildWebhookPayload
|
|
7527
|
+
}
|
|
7241
7528
|
}
|
|
7242
7529
|
fragment AgentSessionWebhookPayload on AgentSessionWebhookPayload {
|
|
7243
7530
|
__typename
|
|
@@ -7250,6 +7537,7 @@ fragment AgentSessionWebhookPayload on AgentSessionWebhookPayload {
|
|
|
7250
7537
|
issueId
|
|
7251
7538
|
organizationId
|
|
7252
7539
|
commentId
|
|
7540
|
+
url
|
|
7253
7541
|
status
|
|
7254
7542
|
creator {
|
|
7255
7543
|
...UserChildWebhookPayload
|
|
@@ -8219,6 +8507,43 @@ const ApplicationFragmentDoc = new TypedDocumentString(`
|
|
|
8219
8507
|
developerUrl
|
|
8220
8508
|
}
|
|
8221
8509
|
`, { fragmentName: "Application" });
|
|
8510
|
+
const AsksWebSettingsFragmentDoc = new TypedDocumentString(`
|
|
8511
|
+
fragment AsksWebSettings on AsksWebSettings {
|
|
8512
|
+
__typename
|
|
8513
|
+
domain
|
|
8514
|
+
emailIntakeAddress {
|
|
8515
|
+
id
|
|
8516
|
+
}
|
|
8517
|
+
identityProvider {
|
|
8518
|
+
...IdentityProvider
|
|
8519
|
+
}
|
|
8520
|
+
updatedAt
|
|
8521
|
+
archivedAt
|
|
8522
|
+
createdAt
|
|
8523
|
+
id
|
|
8524
|
+
creator {
|
|
8525
|
+
id
|
|
8526
|
+
}
|
|
8527
|
+
}
|
|
8528
|
+
fragment IdentityProvider on IdentityProvider {
|
|
8529
|
+
__typename
|
|
8530
|
+
ssoBinding
|
|
8531
|
+
ssoEndpoint
|
|
8532
|
+
priority
|
|
8533
|
+
ssoSignAlgo
|
|
8534
|
+
issuerEntityId
|
|
8535
|
+
updatedAt
|
|
8536
|
+
spEntityId
|
|
8537
|
+
archivedAt
|
|
8538
|
+
createdAt
|
|
8539
|
+
type
|
|
8540
|
+
id
|
|
8541
|
+
samlEnabled
|
|
8542
|
+
scimEnabled
|
|
8543
|
+
defaultMigrated
|
|
8544
|
+
allowNameChange
|
|
8545
|
+
ssoSigningCert
|
|
8546
|
+
}`, { fragmentName: "AsksWebSettings" });
|
|
8222
8547
|
const TeamWithParentWebhookPayloadFragmentDoc = new TypedDocumentString(`
|
|
8223
8548
|
fragment TeamWithParentWebhookPayload on TeamWithParentWebhookPayload {
|
|
8224
8549
|
__typename
|
|
@@ -8937,6 +9262,7 @@ const AgentSessionFragmentDoc = new TypedDocumentString(`
|
|
|
8937
9262
|
__typename
|
|
8938
9263
|
plan
|
|
8939
9264
|
summary
|
|
9265
|
+
url
|
|
8940
9266
|
sourceMetadata
|
|
8941
9267
|
context
|
|
8942
9268
|
externalLink
|
|
@@ -8984,6 +9310,7 @@ const AgentSessionConnectionFragmentDoc = new TypedDocumentString(`
|
|
|
8984
9310
|
__typename
|
|
8985
9311
|
plan
|
|
8986
9312
|
summary
|
|
9313
|
+
url
|
|
8987
9314
|
sourceMetadata
|
|
8988
9315
|
context
|
|
8989
9316
|
externalLink
|
|
@@ -9141,13 +9468,6 @@ fragment SlackAsksTeamSettings on SlackAsksTeamSettings {
|
|
|
9141
9468
|
id
|
|
9142
9469
|
hasDefaultAsk
|
|
9143
9470
|
}`, { fragmentName: "AsksChannelConnectPayload" });
|
|
9144
|
-
const AsksWebFormsAuthResponseFragmentDoc = new TypedDocumentString(`
|
|
9145
|
-
fragment AsksWebFormsAuthResponse on AsksWebFormsAuthResponse {
|
|
9146
|
-
__typename
|
|
9147
|
-
name
|
|
9148
|
-
email
|
|
9149
|
-
}
|
|
9150
|
-
`, { fragmentName: "AsksWebFormsAuthResponse" });
|
|
9151
9471
|
const AttachmentFragmentDoc = new TypedDocumentString(`
|
|
9152
9472
|
fragment Attachment on Attachment {
|
|
9153
9473
|
__typename
|
|
@@ -9312,6 +9632,7 @@ const AuthOrganizationFragmentDoc = new TypedDocumentString(`
|
|
|
9312
9632
|
samlEnabled
|
|
9313
9633
|
scimEnabled
|
|
9314
9634
|
enabled
|
|
9635
|
+
hideNonPrimaryOrganizations
|
|
9315
9636
|
userCount
|
|
9316
9637
|
}
|
|
9317
9638
|
`, { fragmentName: "AuthOrganization" });
|
|
@@ -9347,6 +9668,7 @@ const AuthUserFragmentDoc = new TypedDocumentString(`
|
|
|
9347
9668
|
samlEnabled
|
|
9348
9669
|
scimEnabled
|
|
9349
9670
|
enabled
|
|
9671
|
+
hideNonPrimaryOrganizations
|
|
9350
9672
|
userCount
|
|
9351
9673
|
}`, { fragmentName: "AuthUser" });
|
|
9352
9674
|
const AuthResolverResponseFragmentDoc = new TypedDocumentString(`
|
|
@@ -9401,6 +9723,7 @@ fragment AuthOrganization on AuthOrganization {
|
|
|
9401
9723
|
samlEnabled
|
|
9402
9724
|
scimEnabled
|
|
9403
9725
|
enabled
|
|
9726
|
+
hideNonPrimaryOrganizations
|
|
9404
9727
|
userCount
|
|
9405
9728
|
}`, { fragmentName: "AuthResolverResponse" });
|
|
9406
9729
|
const ReactionFragmentDoc = new TypedDocumentString(`
|
|
@@ -10000,6 +10323,7 @@ fragment AuthOrganization on AuthOrganization {
|
|
|
10000
10323
|
samlEnabled
|
|
10001
10324
|
scimEnabled
|
|
10002
10325
|
enabled
|
|
10326
|
+
hideNonPrimaryOrganizations
|
|
10003
10327
|
userCount
|
|
10004
10328
|
}`, { fragmentName: "CreateOrJoinOrganizationResponse" });
|
|
10005
10329
|
const ViewPreferencesValuesFragmentDoc = new TypedDocumentString(`
|
|
@@ -11622,6 +11946,19 @@ const GitLabIntegrationCreatePayloadFragmentDoc = new TypedDocumentString(`
|
|
|
11622
11946
|
success
|
|
11623
11947
|
}
|
|
11624
11948
|
`, { fragmentName: "GitLabIntegrationCreatePayload" });
|
|
11949
|
+
const GitLabTestConnectionPayloadFragmentDoc = new TypedDocumentString(`
|
|
11950
|
+
fragment GitLabTestConnectionPayload on GitLabTestConnectionPayload {
|
|
11951
|
+
__typename
|
|
11952
|
+
error
|
|
11953
|
+
errorResponseBody
|
|
11954
|
+
errorResponseHeaders
|
|
11955
|
+
lastSyncId
|
|
11956
|
+
integration {
|
|
11957
|
+
id
|
|
11958
|
+
}
|
|
11959
|
+
success
|
|
11960
|
+
}
|
|
11961
|
+
`, { fragmentName: "GitLabTestConnectionPayload" });
|
|
11625
11962
|
const ImageUploadFromUrlPayloadFragmentDoc = new TypedDocumentString(`
|
|
11626
11963
|
fragment ImageUploadFromUrlPayload on ImageUploadFromUrlPayload {
|
|
11627
11964
|
__typename
|
|
@@ -12885,35 +13222,6 @@ const IssueImportFragmentDoc = new TypedDocumentString(`
|
|
|
12885
13222
|
error
|
|
12886
13223
|
}
|
|
12887
13224
|
`, { fragmentName: "IssueImport" });
|
|
12888
|
-
const IssueLabelFragmentDoc = new TypedDocumentString(`
|
|
12889
|
-
fragment IssueLabel on IssueLabel {
|
|
12890
|
-
__typename
|
|
12891
|
-
lastAppliedAt
|
|
12892
|
-
color
|
|
12893
|
-
description
|
|
12894
|
-
name
|
|
12895
|
-
updatedAt
|
|
12896
|
-
inheritedFrom {
|
|
12897
|
-
id
|
|
12898
|
-
}
|
|
12899
|
-
parent {
|
|
12900
|
-
id
|
|
12901
|
-
}
|
|
12902
|
-
team {
|
|
12903
|
-
id
|
|
12904
|
-
}
|
|
12905
|
-
archivedAt
|
|
12906
|
-
createdAt
|
|
12907
|
-
id
|
|
12908
|
-
creator {
|
|
12909
|
-
id
|
|
12910
|
-
}
|
|
12911
|
-
retiredBy {
|
|
12912
|
-
id
|
|
12913
|
-
}
|
|
12914
|
-
isGroup
|
|
12915
|
-
}
|
|
12916
|
-
`, { fragmentName: "IssueLabel" });
|
|
12917
13225
|
const IssueHistoryFragmentDoc = new TypedDocumentString(`
|
|
12918
13226
|
fragment IssueHistory on IssueHistory {
|
|
12919
13227
|
__typename
|
|
@@ -17771,6 +18079,14 @@ const WebhookPayloadFragmentDoc = new TypedDocumentString(`
|
|
|
17771
18079
|
success
|
|
17772
18080
|
}
|
|
17773
18081
|
`, { fragmentName: "WebhookPayload" });
|
|
18082
|
+
const WebhookRotateSecretPayloadFragmentDoc = new TypedDocumentString(`
|
|
18083
|
+
fragment WebhookRotateSecretPayload on WebhookRotateSecretPayload {
|
|
18084
|
+
__typename
|
|
18085
|
+
lastSyncId
|
|
18086
|
+
secret
|
|
18087
|
+
success
|
|
18088
|
+
}
|
|
18089
|
+
`, { fragmentName: "WebhookRotateSecretPayload" });
|
|
17774
18090
|
const WorkflowStateFragmentDoc = new TypedDocumentString(`
|
|
17775
18091
|
fragment WorkflowState on WorkflowState {
|
|
17776
18092
|
__typename
|
|
@@ -18152,6 +18468,7 @@ const AgentSessionDocument = new TypedDocumentString(`
|
|
|
18152
18468
|
__typename
|
|
18153
18469
|
plan
|
|
18154
18470
|
summary
|
|
18471
|
+
url
|
|
18155
18472
|
sourceMetadata
|
|
18156
18473
|
context
|
|
18157
18474
|
externalLink
|
|
@@ -18305,6 +18622,7 @@ const AgentSessionsDocument = new TypedDocumentString(`
|
|
|
18305
18622
|
__typename
|
|
18306
18623
|
plan
|
|
18307
18624
|
summary
|
|
18625
|
+
url
|
|
18308
18626
|
sourceMetadata
|
|
18309
18627
|
context
|
|
18310
18628
|
externalLink
|
|
@@ -18369,6 +18687,75 @@ const ApplicationInfoDocument = new TypedDocumentString(`
|
|
|
18369
18687
|
clientId
|
|
18370
18688
|
developerUrl
|
|
18371
18689
|
}`);
|
|
18690
|
+
const AsksWebSettingDocument = new TypedDocumentString(`
|
|
18691
|
+
query asksWebSetting($id: String!) {
|
|
18692
|
+
asksWebSetting(id: $id) {
|
|
18693
|
+
...AsksWebSettings
|
|
18694
|
+
}
|
|
18695
|
+
}
|
|
18696
|
+
fragment IdentityProvider on IdentityProvider {
|
|
18697
|
+
__typename
|
|
18698
|
+
ssoBinding
|
|
18699
|
+
ssoEndpoint
|
|
18700
|
+
priority
|
|
18701
|
+
ssoSignAlgo
|
|
18702
|
+
issuerEntityId
|
|
18703
|
+
updatedAt
|
|
18704
|
+
spEntityId
|
|
18705
|
+
archivedAt
|
|
18706
|
+
createdAt
|
|
18707
|
+
type
|
|
18708
|
+
id
|
|
18709
|
+
samlEnabled
|
|
18710
|
+
scimEnabled
|
|
18711
|
+
defaultMigrated
|
|
18712
|
+
allowNameChange
|
|
18713
|
+
ssoSigningCert
|
|
18714
|
+
}
|
|
18715
|
+
fragment AsksWebSettings on AsksWebSettings {
|
|
18716
|
+
__typename
|
|
18717
|
+
domain
|
|
18718
|
+
emailIntakeAddress {
|
|
18719
|
+
id
|
|
18720
|
+
}
|
|
18721
|
+
identityProvider {
|
|
18722
|
+
...IdentityProvider
|
|
18723
|
+
}
|
|
18724
|
+
updatedAt
|
|
18725
|
+
archivedAt
|
|
18726
|
+
createdAt
|
|
18727
|
+
id
|
|
18728
|
+
creator {
|
|
18729
|
+
id
|
|
18730
|
+
}
|
|
18731
|
+
}`);
|
|
18732
|
+
const AsksWebSetting_IdentityProviderDocument = new TypedDocumentString(`
|
|
18733
|
+
query asksWebSetting_identityProvider($id: String!) {
|
|
18734
|
+
asksWebSetting(id: $id) {
|
|
18735
|
+
identityProvider {
|
|
18736
|
+
...IdentityProvider
|
|
18737
|
+
}
|
|
18738
|
+
}
|
|
18739
|
+
}
|
|
18740
|
+
fragment IdentityProvider on IdentityProvider {
|
|
18741
|
+
__typename
|
|
18742
|
+
ssoBinding
|
|
18743
|
+
ssoEndpoint
|
|
18744
|
+
priority
|
|
18745
|
+
ssoSignAlgo
|
|
18746
|
+
issuerEntityId
|
|
18747
|
+
updatedAt
|
|
18748
|
+
spEntityId
|
|
18749
|
+
archivedAt
|
|
18750
|
+
createdAt
|
|
18751
|
+
type
|
|
18752
|
+
id
|
|
18753
|
+
samlEnabled
|
|
18754
|
+
scimEnabled
|
|
18755
|
+
defaultMigrated
|
|
18756
|
+
allowNameChange
|
|
18757
|
+
ssoSigningCert
|
|
18758
|
+
}`);
|
|
18372
18759
|
const AttachmentDocument = new TypedDocumentString(`
|
|
18373
18760
|
query attachment($id: String!) {
|
|
18374
18761
|
attachment(id: $id) {
|
|
@@ -20060,6 +20447,7 @@ fragment AuthOrganization on AuthOrganization {
|
|
|
20060
20447
|
samlEnabled
|
|
20061
20448
|
scimEnabled
|
|
20062
20449
|
enabled
|
|
20450
|
+
hideNonPrimaryOrganizations
|
|
20063
20451
|
userCount
|
|
20064
20452
|
}
|
|
20065
20453
|
fragment AuthResolverResponse on AuthResolverResponse {
|
|
@@ -26975,6 +27363,28 @@ fragment PageInfo on PageInfo {
|
|
|
26975
27363
|
hasPreviousPage
|
|
26976
27364
|
hasNextPage
|
|
26977
27365
|
}`);
|
|
27366
|
+
const IssueRepositorySuggestionsDocument = new TypedDocumentString(`
|
|
27367
|
+
query issueRepositorySuggestions($agentSessionId: String, $candidateRepositories: [CandidateRepository!]!, $issueId: String!) {
|
|
27368
|
+
issueRepositorySuggestions(
|
|
27369
|
+
agentSessionId: $agentSessionId
|
|
27370
|
+
candidateRepositories: $candidateRepositories
|
|
27371
|
+
issueId: $issueId
|
|
27372
|
+
) {
|
|
27373
|
+
...RepositorySuggestionsPayload
|
|
27374
|
+
}
|
|
27375
|
+
}
|
|
27376
|
+
fragment RepositorySuggestion on RepositorySuggestion {
|
|
27377
|
+
__typename
|
|
27378
|
+
confidence
|
|
27379
|
+
hostname
|
|
27380
|
+
repositoryFullName
|
|
27381
|
+
}
|
|
27382
|
+
fragment RepositorySuggestionsPayload on RepositorySuggestionsPayload {
|
|
27383
|
+
__typename
|
|
27384
|
+
suggestions {
|
|
27385
|
+
...RepositorySuggestion
|
|
27386
|
+
}
|
|
27387
|
+
}`);
|
|
26978
27388
|
const IssueSearchDocument = new TypedDocumentString(`
|
|
26979
27389
|
query issueSearch($after: String, $before: String, $filter: IssueFilter, $first: Int, $includeArchived: Boolean, $last: Int, $orderBy: PaginationOrderBy, $query: String) {
|
|
26980
27390
|
issueSearch(
|
|
@@ -29883,6 +30293,7 @@ fragment Organization on Organization {
|
|
|
29883
30293
|
feedEnabled
|
|
29884
30294
|
customersEnabled
|
|
29885
30295
|
roadmapEnabled
|
|
30296
|
+
hideNonPrimaryOrganizations
|
|
29886
30297
|
projectUpdatesReminderFrequency
|
|
29887
30298
|
allowMembersToInvite
|
|
29888
30299
|
restrictTeamCreationToAdmins
|
|
@@ -36476,6 +36887,34 @@ fragment TeamConnection on TeamConnection {
|
|
|
36476
36887
|
...PageInfo
|
|
36477
36888
|
}
|
|
36478
36889
|
}`);
|
|
36890
|
+
const UserSessionsDocument = new TypedDocumentString(`
|
|
36891
|
+
query userSessions($id: String!) {
|
|
36892
|
+
userSessions(id: $id) {
|
|
36893
|
+
...AuthenticationSessionResponse
|
|
36894
|
+
}
|
|
36895
|
+
}
|
|
36896
|
+
fragment AuthenticationSessionResponse on AuthenticationSessionResponse {
|
|
36897
|
+
__typename
|
|
36898
|
+
client
|
|
36899
|
+
countryCodes
|
|
36900
|
+
updatedAt
|
|
36901
|
+
location
|
|
36902
|
+
ip
|
|
36903
|
+
isCurrentSession
|
|
36904
|
+
locationCity
|
|
36905
|
+
locationCountryCode
|
|
36906
|
+
locationCountry
|
|
36907
|
+
locationRegionCode
|
|
36908
|
+
name
|
|
36909
|
+
operatingSystem
|
|
36910
|
+
service
|
|
36911
|
+
userAgent
|
|
36912
|
+
createdAt
|
|
36913
|
+
type
|
|
36914
|
+
browserType
|
|
36915
|
+
lastActiveAt
|
|
36916
|
+
id
|
|
36917
|
+
}`);
|
|
36479
36918
|
const UserSettingsDocument = new TypedDocumentString(`
|
|
36480
36919
|
query userSettings {
|
|
36481
36920
|
userSettings {
|
|
@@ -38722,17 +39161,6 @@ const AirbyteIntegrationConnectDocument = new TypedDocumentString(`
|
|
|
38722
39161
|
}
|
|
38723
39162
|
success
|
|
38724
39163
|
}`);
|
|
38725
|
-
const AsksWebFormsAuthDocument = new TypedDocumentString(`
|
|
38726
|
-
mutation asksWebFormsAuth($token: String!) {
|
|
38727
|
-
asksWebFormsAuth(token: $token) {
|
|
38728
|
-
...AsksWebFormsAuthResponse
|
|
38729
|
-
}
|
|
38730
|
-
}
|
|
38731
|
-
fragment AsksWebFormsAuthResponse on AsksWebFormsAuthResponse {
|
|
38732
|
-
__typename
|
|
38733
|
-
name
|
|
38734
|
-
email
|
|
38735
|
-
}`);
|
|
38736
39164
|
const CreateAttachmentDocument = new TypedDocumentString(`
|
|
38737
39165
|
mutation createAttachment($input: AttachmentCreateInput!) {
|
|
38738
39166
|
attachmentCreate(input: $input) {
|
|
@@ -39163,6 +39591,7 @@ fragment AuthOrganization on AuthOrganization {
|
|
|
39163
39591
|
samlEnabled
|
|
39164
39592
|
scimEnabled
|
|
39165
39593
|
enabled
|
|
39594
|
+
hideNonPrimaryOrganizations
|
|
39166
39595
|
userCount
|
|
39167
39596
|
}
|
|
39168
39597
|
fragment CreateOrJoinOrganizationResponse on CreateOrJoinOrganizationResponse {
|
|
@@ -39742,6 +40171,7 @@ fragment AuthOrganization on AuthOrganization {
|
|
|
39742
40171
|
samlEnabled
|
|
39743
40172
|
scimEnabled
|
|
39744
40173
|
enabled
|
|
40174
|
+
hideNonPrimaryOrganizations
|
|
39745
40175
|
userCount
|
|
39746
40176
|
}
|
|
39747
40177
|
fragment AuthResolverResponse on AuthResolverResponse {
|
|
@@ -40129,6 +40559,7 @@ fragment AuthOrganization on AuthOrganization {
|
|
|
40129
40559
|
samlEnabled
|
|
40130
40560
|
scimEnabled
|
|
40131
40561
|
enabled
|
|
40562
|
+
hideNonPrimaryOrganizations
|
|
40132
40563
|
userCount
|
|
40133
40564
|
}
|
|
40134
40565
|
fragment AuthResolverResponse on AuthResolverResponse {
|
|
@@ -40636,6 +41067,23 @@ const IntegrationGitlabConnectDocument = new TypedDocumentString(`
|
|
|
40636
41067
|
webhookSecret
|
|
40637
41068
|
success
|
|
40638
41069
|
}`);
|
|
41070
|
+
const IntegrationGitlabTestConnectionDocument = new TypedDocumentString(`
|
|
41071
|
+
mutation integrationGitlabTestConnection($integrationId: String!) {
|
|
41072
|
+
integrationGitlabTestConnection(integrationId: $integrationId) {
|
|
41073
|
+
...GitLabTestConnectionPayload
|
|
41074
|
+
}
|
|
41075
|
+
}
|
|
41076
|
+
fragment GitLabTestConnectionPayload on GitLabTestConnectionPayload {
|
|
41077
|
+
__typename
|
|
41078
|
+
error
|
|
41079
|
+
errorResponseBody
|
|
41080
|
+
errorResponseHeaders
|
|
41081
|
+
lastSyncId
|
|
41082
|
+
integration {
|
|
41083
|
+
id
|
|
41084
|
+
}
|
|
41085
|
+
success
|
|
41086
|
+
}`);
|
|
40639
41087
|
const IntegrationGongDocument = new TypedDocumentString(`
|
|
40640
41088
|
mutation integrationGong($code: String!, $redirectUri: String!) {
|
|
40641
41089
|
integrationGong(code: $code, redirectUri: $redirectUri) {
|
|
@@ -41995,6 +42443,7 @@ fragment AuthOrganization on AuthOrganization {
|
|
|
41995
42443
|
samlEnabled
|
|
41996
42444
|
scimEnabled
|
|
41997
42445
|
enabled
|
|
42446
|
+
hideNonPrimaryOrganizations
|
|
41998
42447
|
userCount
|
|
41999
42448
|
}
|
|
42000
42449
|
fragment CreateOrJoinOrganizationResponse on CreateOrJoinOrganizationResponse {
|
|
@@ -42043,6 +42492,7 @@ fragment AuthOrganization on AuthOrganization {
|
|
|
42043
42492
|
samlEnabled
|
|
42044
42493
|
scimEnabled
|
|
42045
42494
|
enabled
|
|
42495
|
+
hideNonPrimaryOrganizations
|
|
42046
42496
|
userCount
|
|
42047
42497
|
}
|
|
42048
42498
|
fragment CreateOrJoinOrganizationResponse on CreateOrJoinOrganizationResponse {
|
|
@@ -46517,6 +46967,7 @@ fragment AuthOrganization on AuthOrganization {
|
|
|
46517
46967
|
samlEnabled
|
|
46518
46968
|
scimEnabled
|
|
46519
46969
|
enabled
|
|
46970
|
+
hideNonPrimaryOrganizations
|
|
46520
46971
|
userCount
|
|
46521
46972
|
}
|
|
46522
46973
|
fragment AuthResolverResponse on AuthResolverResponse {
|
|
@@ -46898,6 +47349,26 @@ const UserPromoteMemberDocument = new TypedDocumentString(`
|
|
|
46898
47349
|
__typename
|
|
46899
47350
|
success
|
|
46900
47351
|
}`);
|
|
47352
|
+
const UserRevokeAllSessionsDocument = new TypedDocumentString(`
|
|
47353
|
+
mutation userRevokeAllSessions($id: String!) {
|
|
47354
|
+
userRevokeAllSessions(id: $id) {
|
|
47355
|
+
...UserAdminPayload
|
|
47356
|
+
}
|
|
47357
|
+
}
|
|
47358
|
+
fragment UserAdminPayload on UserAdminPayload {
|
|
47359
|
+
__typename
|
|
47360
|
+
success
|
|
47361
|
+
}`);
|
|
47362
|
+
const UserRevokeSessionDocument = new TypedDocumentString(`
|
|
47363
|
+
mutation userRevokeSession($id: String!, $sessionId: String!) {
|
|
47364
|
+
userRevokeSession(id: $id, sessionId: $sessionId) {
|
|
47365
|
+
...UserAdminPayload
|
|
47366
|
+
}
|
|
47367
|
+
}
|
|
47368
|
+
fragment UserAdminPayload on UserAdminPayload {
|
|
47369
|
+
__typename
|
|
47370
|
+
success
|
|
47371
|
+
}`);
|
|
46901
47372
|
const UserSettingsFlagsResetDocument = new TypedDocumentString(`
|
|
46902
47373
|
mutation userSettingsFlagsReset($flags: [UserFlagType!]) {
|
|
46903
47374
|
userSettingsFlagsReset(flags: $flags) {
|
|
@@ -47068,6 +47539,18 @@ const DeleteWebhookDocument = new TypedDocumentString(`
|
|
|
47068
47539
|
lastSyncId
|
|
47069
47540
|
success
|
|
47070
47541
|
}`);
|
|
47542
|
+
const RotateSecretWebhookDocument = new TypedDocumentString(`
|
|
47543
|
+
mutation rotateSecretWebhook($id: String!) {
|
|
47544
|
+
webhookRotateSecret(id: $id) {
|
|
47545
|
+
...WebhookRotateSecretPayload
|
|
47546
|
+
}
|
|
47547
|
+
}
|
|
47548
|
+
fragment WebhookRotateSecretPayload on WebhookRotateSecretPayload {
|
|
47549
|
+
__typename
|
|
47550
|
+
lastSyncId
|
|
47551
|
+
secret
|
|
47552
|
+
success
|
|
47553
|
+
}`);
|
|
47071
47554
|
const UpdateWebhookDocument = new TypedDocumentString(`
|
|
47072
47555
|
mutation updateWebhook($id: String!, $input: WebhookUpdateInput!) {
|
|
47073
47556
|
webhookUpdate(id: $id, input: $input) {
|
|
@@ -47533,7 +48016,8 @@ var AgentActivityWebhookPayload = class {
|
|
|
47533
48016
|
this.signalMetadata = data.signalMetadata ?? void 0;
|
|
47534
48017
|
this.sourceCommentId = data.sourceCommentId ?? void 0;
|
|
47535
48018
|
this.updatedAt = data.updatedAt;
|
|
47536
|
-
this.userId = data.userId
|
|
48019
|
+
this.userId = data.userId;
|
|
48020
|
+
this.user = new UserChildWebhookPayload(data.user);
|
|
47537
48021
|
}
|
|
47538
48022
|
/** The ID of the agent session that this activity belongs to. */
|
|
47539
48023
|
agentSessionId;
|
|
@@ -47555,6 +48039,8 @@ var AgentActivityWebhookPayload = class {
|
|
|
47555
48039
|
updatedAt;
|
|
47556
48040
|
/** The ID of the user who created this agent activity. */
|
|
47557
48041
|
userId;
|
|
48042
|
+
/** The user who created this agent activity. */
|
|
48043
|
+
user;
|
|
47558
48044
|
};
|
|
47559
48045
|
/**
|
|
47560
48046
|
* A session for agent activities and state management.
|
|
@@ -47584,6 +48070,7 @@ var AgentSession = class extends Request {
|
|
|
47584
48070
|
this.startedAt = parseDate(data.startedAt) ?? void 0;
|
|
47585
48071
|
this.summary = data.summary ?? void 0;
|
|
47586
48072
|
this.updatedAt = parseDate(data.updatedAt) ?? /* @__PURE__ */ new Date();
|
|
48073
|
+
this.url = data.url ?? void 0;
|
|
47587
48074
|
this.status = data.status;
|
|
47588
48075
|
this.type = data.type ?? void 0;
|
|
47589
48076
|
this._appUser = data.appUser;
|
|
@@ -47622,6 +48109,8 @@ var AgentSession = class extends Request {
|
|
|
47622
48109
|
* been updated after creation.
|
|
47623
48110
|
*/
|
|
47624
48111
|
updatedAt;
|
|
48112
|
+
/** Agent session URL. */
|
|
48113
|
+
url;
|
|
47625
48114
|
/** The current status of the agent session. */
|
|
47626
48115
|
status;
|
|
47627
48116
|
/** [DEPRECATED] The type of the agent session. */
|
|
@@ -47841,6 +48330,7 @@ var AgentSessionWebhookPayload = class {
|
|
|
47841
48330
|
this.summary = data.summary ?? void 0;
|
|
47842
48331
|
this.type = data.type;
|
|
47843
48332
|
this.updatedAt = data.updatedAt;
|
|
48333
|
+
this.url = data.url ?? void 0;
|
|
47844
48334
|
this.comment = data.comment ? new CommentChildWebhookPayload(data.comment) : void 0;
|
|
47845
48335
|
this.creator = data.creator ? new UserChildWebhookPayload(data.creator) : void 0;
|
|
47846
48336
|
this.issue = data.issue ? new IssueWithDescriptionChildWebhookPayload(data.issue) : void 0;
|
|
@@ -47877,6 +48367,8 @@ var AgentSessionWebhookPayload = class {
|
|
|
47877
48367
|
type;
|
|
47878
48368
|
/** The time at which the entity was updated. */
|
|
47879
48369
|
updatedAt;
|
|
48370
|
+
/** The URL of the agent session. */
|
|
48371
|
+
url;
|
|
47880
48372
|
/** The root comment of the thread this agent session is attached to. */
|
|
47881
48373
|
comment;
|
|
47882
48374
|
/** The human user responsible for the agent session. Unset if the session was initiated via automation or by an agent user, with no responsible human user. */
|
|
@@ -48101,21 +48593,60 @@ var AsksChannelConnectPayload = class extends Request {
|
|
|
48101
48593
|
}
|
|
48102
48594
|
};
|
|
48103
48595
|
/**
|
|
48104
|
-
*
|
|
48596
|
+
* Settings for an Asks web form.
|
|
48105
48597
|
*
|
|
48106
48598
|
* @param request - function to call the graphql client
|
|
48107
|
-
* @param data - L.
|
|
48599
|
+
* @param data - L.AsksWebSettingsFragment response data
|
|
48108
48600
|
*/
|
|
48109
|
-
var
|
|
48601
|
+
var AsksWebSettings = class extends Request {
|
|
48602
|
+
_creator;
|
|
48603
|
+
_emailIntakeAddress;
|
|
48110
48604
|
constructor(request, data) {
|
|
48111
48605
|
super(request);
|
|
48112
|
-
this.
|
|
48113
|
-
this.
|
|
48606
|
+
this.archivedAt = parseDate(data.archivedAt) ?? void 0;
|
|
48607
|
+
this.createdAt = parseDate(data.createdAt) ?? /* @__PURE__ */ new Date();
|
|
48608
|
+
this.domain = data.domain ?? void 0;
|
|
48609
|
+
this.id = data.id;
|
|
48610
|
+
this.updatedAt = parseDate(data.updatedAt) ?? /* @__PURE__ */ new Date();
|
|
48611
|
+
this.identityProvider = data.identityProvider ? new IdentityProvider(request, data.identityProvider) : void 0;
|
|
48612
|
+
this._creator = data.creator ?? void 0;
|
|
48613
|
+
this._emailIntakeAddress = data.emailIntakeAddress ?? void 0;
|
|
48614
|
+
}
|
|
48615
|
+
/** The time at which the entity was archived. Null if the entity has not been archived. */
|
|
48616
|
+
archivedAt;
|
|
48617
|
+
/** The time at which the entity was created. */
|
|
48618
|
+
createdAt;
|
|
48619
|
+
/** The custom domain for the Asks web form. If null, the default Linear-hosted domain will be used. */
|
|
48620
|
+
domain;
|
|
48621
|
+
/** The unique identifier of the entity. */
|
|
48622
|
+
id;
|
|
48623
|
+
/**
|
|
48624
|
+
* The last time at which the entity was meaningfully updated. This is the same as the creation time if the entity hasn't
|
|
48625
|
+
* been updated after creation.
|
|
48626
|
+
*/
|
|
48627
|
+
updatedAt;
|
|
48628
|
+
/** The identity provider for SAML authentication on this Asks web form. */
|
|
48629
|
+
identityProvider;
|
|
48630
|
+
/** The user who created the Asks web settings. */
|
|
48631
|
+
get creator() {
|
|
48632
|
+
return this._creator?.id ? new UserQuery(this._request).fetch(this._creator?.id) : void 0;
|
|
48633
|
+
}
|
|
48634
|
+
/** The ID of user who created the asks web settings. */
|
|
48635
|
+
get creatorId() {
|
|
48636
|
+
return this._creator?.id;
|
|
48637
|
+
}
|
|
48638
|
+
/** The email intake address associated with these Asks web settings. */
|
|
48639
|
+
get emailIntakeAddress() {
|
|
48640
|
+
return this._emailIntakeAddress?.id ? new EmailIntakeAddressQuery(this._request).fetch(this._emailIntakeAddress?.id) : void 0;
|
|
48641
|
+
}
|
|
48642
|
+
/** The ID of email intake address associated with these asks web settings. */
|
|
48643
|
+
get emailIntakeAddressId() {
|
|
48644
|
+
return this._emailIntakeAddress?.id;
|
|
48645
|
+
}
|
|
48646
|
+
/** The organization that the Asks web settings are associated with. */
|
|
48647
|
+
get organization() {
|
|
48648
|
+
return new OrganizationQuery(this._request).fetch();
|
|
48114
48649
|
}
|
|
48115
|
-
/** User email. */
|
|
48116
|
-
email;
|
|
48117
|
-
/** User display name. */
|
|
48118
|
-
name;
|
|
48119
48650
|
};
|
|
48120
48651
|
/**
|
|
48121
48652
|
* Issue attachment (e.g. support ticket, pull request).
|
|
@@ -48513,6 +49044,7 @@ var AuthOrganization = class extends Request {
|
|
|
48513
49044
|
this.createdAt = parseDate(data.createdAt) ?? /* @__PURE__ */ new Date();
|
|
48514
49045
|
this.deletionRequestedAt = parseDate(data.deletionRequestedAt) ?? void 0;
|
|
48515
49046
|
this.enabled = data.enabled;
|
|
49047
|
+
this.hideNonPrimaryOrganizations = data.hideNonPrimaryOrganizations;
|
|
48516
49048
|
this.id = data.id;
|
|
48517
49049
|
this.logoUrl = data.logoUrl ?? void 0;
|
|
48518
49050
|
this.name = data.name;
|
|
@@ -48533,6 +49065,8 @@ var AuthOrganization = class extends Request {
|
|
|
48533
49065
|
deletionRequestedAt;
|
|
48534
49066
|
/** Whether the organization is enabled. Used as a superuser tool to lock down the org. */
|
|
48535
49067
|
enabled;
|
|
49068
|
+
/** Whether to hide other organizations for new users signing up with email domains claimed by this organization. */
|
|
49069
|
+
hideNonPrimaryOrganizations;
|
|
48536
49070
|
/** The unique identifier of the entity. */
|
|
48537
49071
|
id;
|
|
48538
49072
|
/** The organization's logo URL. */
|
|
@@ -53091,6 +53625,42 @@ var GitLabIntegrationCreatePayload = class extends Request {
|
|
|
53091
53625
|
}
|
|
53092
53626
|
};
|
|
53093
53627
|
/**
|
|
53628
|
+
* GitLabTestConnectionPayload model
|
|
53629
|
+
*
|
|
53630
|
+
* @param request - function to call the graphql client
|
|
53631
|
+
* @param data - L.GitLabTestConnectionPayloadFragment response data
|
|
53632
|
+
*/
|
|
53633
|
+
var GitLabTestConnectionPayload = class extends Request {
|
|
53634
|
+
_integration;
|
|
53635
|
+
constructor(request, data) {
|
|
53636
|
+
super(request);
|
|
53637
|
+
this.error = data.error ?? void 0;
|
|
53638
|
+
this.errorResponseBody = data.errorResponseBody ?? void 0;
|
|
53639
|
+
this.errorResponseHeaders = data.errorResponseHeaders ?? void 0;
|
|
53640
|
+
this.lastSyncId = data.lastSyncId;
|
|
53641
|
+
this.success = data.success;
|
|
53642
|
+
this._integration = data.integration ?? void 0;
|
|
53643
|
+
}
|
|
53644
|
+
/** Error message if the connection test failed. */
|
|
53645
|
+
error;
|
|
53646
|
+
/** Response body from GitLab for debugging. */
|
|
53647
|
+
errorResponseBody;
|
|
53648
|
+
/** Response headers from GitLab for debugging (JSON stringified). */
|
|
53649
|
+
errorResponseHeaders;
|
|
53650
|
+
/** The identifier of the last sync operation. */
|
|
53651
|
+
lastSyncId;
|
|
53652
|
+
/** Whether the operation was successful. */
|
|
53653
|
+
success;
|
|
53654
|
+
/** The integration that was created or updated. */
|
|
53655
|
+
get integration() {
|
|
53656
|
+
return this._integration?.id ? new IntegrationQuery(this._request).fetch(this._integration?.id) : void 0;
|
|
53657
|
+
}
|
|
53658
|
+
/** The ID of integration that was created or updated. */
|
|
53659
|
+
get integrationId() {
|
|
53660
|
+
return this._integration?.id;
|
|
53661
|
+
}
|
|
53662
|
+
};
|
|
53663
|
+
/**
|
|
53094
53664
|
* Metadata for guidance that should be provided to an AI agent.
|
|
53095
53665
|
*
|
|
53096
53666
|
* @param data - L.GuidanceRuleWebhookPayloadFragment response data
|
|
@@ -55708,6 +56278,66 @@ var IssueHistoryConnection = class extends Connection {
|
|
|
55708
56278
|
}
|
|
55709
56279
|
};
|
|
55710
56280
|
/**
|
|
56281
|
+
* An error that occurred during triage rule execution.
|
|
56282
|
+
*
|
|
56283
|
+
* @param request - function to call the graphql client
|
|
56284
|
+
* @param data - L.IssueHistoryTriageRuleErrorFragment response data
|
|
56285
|
+
*/
|
|
56286
|
+
var IssueHistoryTriageRuleError = class extends Request {
|
|
56287
|
+
_fromTeam;
|
|
56288
|
+
_toTeam;
|
|
56289
|
+
constructor(request, data) {
|
|
56290
|
+
super(request);
|
|
56291
|
+
this.conflictForSameChildLabel = data.conflictForSameChildLabel ?? void 0;
|
|
56292
|
+
this.property = data.property ?? void 0;
|
|
56293
|
+
this.conflictingLabels = data.conflictingLabels ? data.conflictingLabels.map((node) => new IssueLabel(request, node)) : void 0;
|
|
56294
|
+
this.type = data.type;
|
|
56295
|
+
this._fromTeam = data.fromTeam ?? void 0;
|
|
56296
|
+
this._toTeam = data.toTeam ?? void 0;
|
|
56297
|
+
}
|
|
56298
|
+
/** Whether the conflict was for the same child label. */
|
|
56299
|
+
conflictForSameChildLabel;
|
|
56300
|
+
/** The property that caused the error. */
|
|
56301
|
+
property;
|
|
56302
|
+
/** The conflicting labels. */
|
|
56303
|
+
conflictingLabels;
|
|
56304
|
+
/** The type of error that occurred. */
|
|
56305
|
+
type;
|
|
56306
|
+
/** The team the issue was being moved from. */
|
|
56307
|
+
get fromTeam() {
|
|
56308
|
+
return this._fromTeam?.id ? new TeamQuery(this._request).fetch(this._fromTeam?.id) : void 0;
|
|
56309
|
+
}
|
|
56310
|
+
/** The ID of team the issue was being moved from. */
|
|
56311
|
+
get fromTeamId() {
|
|
56312
|
+
return this._fromTeam?.id;
|
|
56313
|
+
}
|
|
56314
|
+
/** The team the issue was being moved to. */
|
|
56315
|
+
get toTeam() {
|
|
56316
|
+
return this._toTeam?.id ? new TeamQuery(this._request).fetch(this._toTeam?.id) : void 0;
|
|
56317
|
+
}
|
|
56318
|
+
/** The ID of team the issue was being moved to. */
|
|
56319
|
+
get toTeamId() {
|
|
56320
|
+
return this._toTeam?.id;
|
|
56321
|
+
}
|
|
56322
|
+
};
|
|
56323
|
+
/**
|
|
56324
|
+
* Metadata about a triage rule that made changes to an issue.
|
|
56325
|
+
*
|
|
56326
|
+
* @param request - function to call the graphql client
|
|
56327
|
+
* @param data - L.IssueHistoryTriageRuleMetadataFragment response data
|
|
56328
|
+
*/
|
|
56329
|
+
var IssueHistoryTriageRuleMetadata = class extends Request {
|
|
56330
|
+
constructor(request, data) {
|
|
56331
|
+
super(request);
|
|
56332
|
+
this.triageRuleError = data.triageRuleError ? new IssueHistoryTriageRuleError(request, data.triageRuleError) : void 0;
|
|
56333
|
+
this.updatedByTriageRule = data.updatedByTriageRule ? new WorkflowDefinition(request, data.updatedByTriageRule) : void 0;
|
|
56334
|
+
}
|
|
56335
|
+
/** The error that occurred, if any. */
|
|
56336
|
+
triageRuleError;
|
|
56337
|
+
/** The triage rule that triggered the issue update. */
|
|
56338
|
+
updatedByTriageRule;
|
|
56339
|
+
};
|
|
56340
|
+
/**
|
|
55711
56341
|
* An import job for data from an external service.
|
|
55712
56342
|
*
|
|
55713
56343
|
* @param request - function to call the graphql client
|
|
@@ -58261,6 +58891,7 @@ var Organization = class extends Request {
|
|
|
58261
58891
|
this.gitLinkbackDescriptionsEnabled = data.gitLinkbackDescriptionsEnabled;
|
|
58262
58892
|
this.gitLinkbackMessagesEnabled = data.gitLinkbackMessagesEnabled;
|
|
58263
58893
|
this.gitPublicLinkbackMessagesEnabled = data.gitPublicLinkbackMessagesEnabled;
|
|
58894
|
+
this.hideNonPrimaryOrganizations = data.hideNonPrimaryOrganizations;
|
|
58264
58895
|
this.hipaaComplianceEnabled = data.hipaaComplianceEnabled;
|
|
58265
58896
|
this.id = data.id;
|
|
58266
58897
|
this.initiativeUpdateReminderFrequencyInWeeks = data.initiativeUpdateReminderFrequencyInWeeks ?? void 0;
|
|
@@ -58328,6 +58959,8 @@ var Organization = class extends Request {
|
|
|
58328
58959
|
gitLinkbackMessagesEnabled;
|
|
58329
58960
|
/** Whether the Git integration linkback messages should be sent to public repositories. */
|
|
58330
58961
|
gitPublicLinkbackMessagesEnabled;
|
|
58962
|
+
/** Whether to hide other organizations for new users signing up with email domains claimed by this organization. */
|
|
58963
|
+
hideNonPrimaryOrganizations;
|
|
58331
58964
|
/** Whether HIPAA compliance is enabled for organization. */
|
|
58332
58965
|
hipaaComplianceEnabled;
|
|
58333
58966
|
/** The unique identifier of the entity. */
|
|
@@ -64265,6 +64898,10 @@ var Webhook = class extends Request {
|
|
|
64265
64898
|
delete() {
|
|
64266
64899
|
return new DeleteWebhookMutation(this._request).fetch(this.id);
|
|
64267
64900
|
}
|
|
64901
|
+
/** Rotates the signing secret for a Webhook. */
|
|
64902
|
+
rotateSecret() {
|
|
64903
|
+
return new RotateSecretWebhookMutation(this._request).fetch(this.id);
|
|
64904
|
+
}
|
|
64268
64905
|
/** Updates an existing Webhook. */
|
|
64269
64906
|
update(input) {
|
|
64270
64907
|
return new UpdateWebhookMutation(this._request).fetch(this.id, input);
|
|
@@ -64349,6 +64986,180 @@ var WebhookPayload = class extends Request {
|
|
|
64349
64986
|
}
|
|
64350
64987
|
};
|
|
64351
64988
|
/**
|
|
64989
|
+
* WebhookRotateSecretPayload model
|
|
64990
|
+
*
|
|
64991
|
+
* @param request - function to call the graphql client
|
|
64992
|
+
* @param data - L.WebhookRotateSecretPayloadFragment response data
|
|
64993
|
+
*/
|
|
64994
|
+
var WebhookRotateSecretPayload = class extends Request {
|
|
64995
|
+
constructor(request, data) {
|
|
64996
|
+
super(request);
|
|
64997
|
+
this.lastSyncId = data.lastSyncId;
|
|
64998
|
+
this.secret = data.secret;
|
|
64999
|
+
this.success = data.success;
|
|
65000
|
+
}
|
|
65001
|
+
/** The identifier of the last sync operation. */
|
|
65002
|
+
lastSyncId;
|
|
65003
|
+
/** The new webhook signing secret. */
|
|
65004
|
+
secret;
|
|
65005
|
+
/** Whether the operation was successful. */
|
|
65006
|
+
success;
|
|
65007
|
+
};
|
|
65008
|
+
/**
|
|
65009
|
+
* WorkflowDefinition model
|
|
65010
|
+
*
|
|
65011
|
+
* @param request - function to call the graphql client
|
|
65012
|
+
* @param data - L.WorkflowDefinitionFragment response data
|
|
65013
|
+
*/
|
|
65014
|
+
var WorkflowDefinition = class extends Request {
|
|
65015
|
+
_creator;
|
|
65016
|
+
_customView;
|
|
65017
|
+
_cycle;
|
|
65018
|
+
_initiative;
|
|
65019
|
+
_label;
|
|
65020
|
+
_lastUpdatedBy;
|
|
65021
|
+
_project;
|
|
65022
|
+
_team;
|
|
65023
|
+
_user;
|
|
65024
|
+
constructor(request, data) {
|
|
65025
|
+
super(request);
|
|
65026
|
+
this.activities = data.activities;
|
|
65027
|
+
this.archivedAt = parseDate(data.archivedAt) ?? void 0;
|
|
65028
|
+
this.conditions = data.conditions ?? void 0;
|
|
65029
|
+
this.createdAt = parseDate(data.createdAt) ?? /* @__PURE__ */ new Date();
|
|
65030
|
+
this.description = data.description ?? void 0;
|
|
65031
|
+
this.enabled = data.enabled;
|
|
65032
|
+
this.groupName = data.groupName ?? void 0;
|
|
65033
|
+
this.id = data.id;
|
|
65034
|
+
this.lastExecutedAt = parseDate(data.lastExecutedAt) ?? void 0;
|
|
65035
|
+
this.name = data.name;
|
|
65036
|
+
this.sortOrder = data.sortOrder;
|
|
65037
|
+
this.updatedAt = parseDate(data.updatedAt) ?? /* @__PURE__ */ new Date();
|
|
65038
|
+
this.contextViewType = data.contextViewType ?? void 0;
|
|
65039
|
+
this.trigger = data.trigger;
|
|
65040
|
+
this.triggerType = data.triggerType;
|
|
65041
|
+
this.type = data.type;
|
|
65042
|
+
this.userContextViewType = data.userContextViewType ?? void 0;
|
|
65043
|
+
this._creator = data.creator;
|
|
65044
|
+
this._customView = data.customView ?? void 0;
|
|
65045
|
+
this._cycle = data.cycle ?? void 0;
|
|
65046
|
+
this._initiative = data.initiative ?? void 0;
|
|
65047
|
+
this._label = data.label ?? void 0;
|
|
65048
|
+
this._lastUpdatedBy = data.lastUpdatedBy ?? void 0;
|
|
65049
|
+
this._project = data.project ?? void 0;
|
|
65050
|
+
this._team = data.team ?? void 0;
|
|
65051
|
+
this._user = data.user ?? void 0;
|
|
65052
|
+
}
|
|
65053
|
+
/** An array of activities that will be executed as part of the workflow. */
|
|
65054
|
+
activities;
|
|
65055
|
+
/** The time at which the entity was archived. Null if the entity has not been archived. */
|
|
65056
|
+
archivedAt;
|
|
65057
|
+
/** The conditions that need to be match for the workflow to be triggered. */
|
|
65058
|
+
conditions;
|
|
65059
|
+
/** The time at which the entity was created. */
|
|
65060
|
+
createdAt;
|
|
65061
|
+
/** The description of the workflow. */
|
|
65062
|
+
description;
|
|
65063
|
+
enabled;
|
|
65064
|
+
/** The name of the group that the workflow belongs to. */
|
|
65065
|
+
groupName;
|
|
65066
|
+
/** The unique identifier of the entity. */
|
|
65067
|
+
id;
|
|
65068
|
+
/** The date when the workflow was last executed. */
|
|
65069
|
+
lastExecutedAt;
|
|
65070
|
+
/** The name of the workflow. */
|
|
65071
|
+
name;
|
|
65072
|
+
/** The sort order of the workflow definition within its siblings. */
|
|
65073
|
+
sortOrder;
|
|
65074
|
+
/**
|
|
65075
|
+
* The last time at which the entity was meaningfully updated. This is the same as the creation time if the entity hasn't
|
|
65076
|
+
* been updated after creation.
|
|
65077
|
+
*/
|
|
65078
|
+
updatedAt;
|
|
65079
|
+
/** The type of view to which this workflow's context is associated with. */
|
|
65080
|
+
contextViewType;
|
|
65081
|
+
/** The type of the event that triggers off the workflow. */
|
|
65082
|
+
trigger;
|
|
65083
|
+
/** The object type (e.g. Issue) that triggers this workflow. */
|
|
65084
|
+
triggerType;
|
|
65085
|
+
/** The type of the workflow. */
|
|
65086
|
+
type;
|
|
65087
|
+
/** The type of user view to which this workflow's context is associated with. */
|
|
65088
|
+
userContextViewType;
|
|
65089
|
+
/** The user who created the workflow. */
|
|
65090
|
+
get creator() {
|
|
65091
|
+
return new UserQuery(this._request).fetch(this._creator.id);
|
|
65092
|
+
}
|
|
65093
|
+
/** The ID of user who created the workflow. */
|
|
65094
|
+
get creatorId() {
|
|
65095
|
+
return this._creator?.id;
|
|
65096
|
+
}
|
|
65097
|
+
/** The context custom view associated with the workflow. */
|
|
65098
|
+
get customView() {
|
|
65099
|
+
return this._customView?.id ? new CustomViewQuery(this._request).fetch(this._customView?.id) : void 0;
|
|
65100
|
+
}
|
|
65101
|
+
/** The ID of context custom view associated with the workflow. */
|
|
65102
|
+
get customViewId() {
|
|
65103
|
+
return this._customView?.id;
|
|
65104
|
+
}
|
|
65105
|
+
/** The contextual cycle view associated with the workflow. */
|
|
65106
|
+
get cycle() {
|
|
65107
|
+
return this._cycle?.id ? new CycleQuery(this._request).fetch(this._cycle?.id) : void 0;
|
|
65108
|
+
}
|
|
65109
|
+
/** The ID of contextual cycle view associated with the workflow. */
|
|
65110
|
+
get cycleId() {
|
|
65111
|
+
return this._cycle?.id;
|
|
65112
|
+
}
|
|
65113
|
+
/** The contextual initiative view associated with the workflow. */
|
|
65114
|
+
get initiative() {
|
|
65115
|
+
return this._initiative?.id ? new InitiativeQuery(this._request).fetch(this._initiative?.id) : void 0;
|
|
65116
|
+
}
|
|
65117
|
+
/** The ID of contextual initiative view associated with the workflow. */
|
|
65118
|
+
get initiativeId() {
|
|
65119
|
+
return this._initiative?.id;
|
|
65120
|
+
}
|
|
65121
|
+
/** The contextual label view associated with the workflow. */
|
|
65122
|
+
get label() {
|
|
65123
|
+
return this._label?.id ? new IssueLabelQuery(this._request).fetch(this._label?.id) : void 0;
|
|
65124
|
+
}
|
|
65125
|
+
/** The ID of contextual label view associated with the workflow. */
|
|
65126
|
+
get labelId() {
|
|
65127
|
+
return this._label?.id;
|
|
65128
|
+
}
|
|
65129
|
+
/** The user who last updated the workflow. */
|
|
65130
|
+
get lastUpdatedBy() {
|
|
65131
|
+
return this._lastUpdatedBy?.id ? new UserQuery(this._request).fetch(this._lastUpdatedBy?.id) : void 0;
|
|
65132
|
+
}
|
|
65133
|
+
/** The ID of user who last updated the workflow. */
|
|
65134
|
+
get lastUpdatedById() {
|
|
65135
|
+
return this._lastUpdatedBy?.id;
|
|
65136
|
+
}
|
|
65137
|
+
/** The contextual project view associated with the workflow. */
|
|
65138
|
+
get project() {
|
|
65139
|
+
return this._project?.id ? new ProjectQuery(this._request).fetch(this._project?.id) : void 0;
|
|
65140
|
+
}
|
|
65141
|
+
/** The ID of contextual project view associated with the workflow. */
|
|
65142
|
+
get projectId() {
|
|
65143
|
+
return this._project?.id;
|
|
65144
|
+
}
|
|
65145
|
+
/** The team associated with the workflow. If not set, the workflow is associated with the entire organization. */
|
|
65146
|
+
get team() {
|
|
65147
|
+
return this._team?.id ? new TeamQuery(this._request).fetch(this._team?.id) : void 0;
|
|
65148
|
+
}
|
|
65149
|
+
/** The ID of team associated with the workflow. if not set, the workflow is associated with the entire organization. */
|
|
65150
|
+
get teamId() {
|
|
65151
|
+
return this._team?.id;
|
|
65152
|
+
}
|
|
65153
|
+
/** The contextual user view associated with the workflow. */
|
|
65154
|
+
get user() {
|
|
65155
|
+
return this._user?.id ? new UserQuery(this._request).fetch(this._user?.id) : void 0;
|
|
65156
|
+
}
|
|
65157
|
+
/** The ID of contextual user view associated with the workflow. */
|
|
65158
|
+
get userId() {
|
|
65159
|
+
return this._user?.id;
|
|
65160
|
+
}
|
|
65161
|
+
};
|
|
65162
|
+
/**
|
|
64352
65163
|
* A state in a team workflow.
|
|
64353
65164
|
*
|
|
64354
65165
|
* @param request - function to call the graphql client
|
|
@@ -64642,6 +65453,26 @@ var ApplicationInfoQuery = class extends Request {
|
|
|
64642
65453
|
}
|
|
64643
65454
|
};
|
|
64644
65455
|
/**
|
|
65456
|
+
* A fetchable AsksWebSetting Query
|
|
65457
|
+
*
|
|
65458
|
+
* @param request - function to call the graphql client
|
|
65459
|
+
*/
|
|
65460
|
+
var AsksWebSettingQuery = class extends Request {
|
|
65461
|
+
constructor(request) {
|
|
65462
|
+
super(request);
|
|
65463
|
+
}
|
|
65464
|
+
/**
|
|
65465
|
+
* Call the AsksWebSetting query and return a AsksWebSettings
|
|
65466
|
+
*
|
|
65467
|
+
* @param id - required id to pass to asksWebSetting
|
|
65468
|
+
* @returns parsed response from AsksWebSettingQuery
|
|
65469
|
+
*/
|
|
65470
|
+
async fetch(id) {
|
|
65471
|
+
const data = (await this._request(AsksWebSettingDocument.toString(), { id })).asksWebSetting;
|
|
65472
|
+
return new AsksWebSettings(this._request, data);
|
|
65473
|
+
}
|
|
65474
|
+
};
|
|
65475
|
+
/**
|
|
64645
65476
|
* A fetchable Attachment Query
|
|
64646
65477
|
*
|
|
64647
65478
|
* @param request - function to call the graphql client
|
|
@@ -65920,6 +66751,32 @@ var IssueRelationsQuery = class extends Request {
|
|
|
65920
66751
|
}
|
|
65921
66752
|
};
|
|
65922
66753
|
/**
|
|
66754
|
+
* A fetchable IssueRepositorySuggestions Query
|
|
66755
|
+
*
|
|
66756
|
+
* @param request - function to call the graphql client
|
|
66757
|
+
*/
|
|
66758
|
+
var IssueRepositorySuggestionsQuery = class extends Request {
|
|
66759
|
+
constructor(request) {
|
|
66760
|
+
super(request);
|
|
66761
|
+
}
|
|
66762
|
+
/**
|
|
66763
|
+
* Call the IssueRepositorySuggestions query and return a RepositorySuggestionsPayload
|
|
66764
|
+
*
|
|
66765
|
+
* @param candidateRepositories - required candidateRepositories to pass to issueRepositorySuggestions
|
|
66766
|
+
* @param issueId - required issueId to pass to issueRepositorySuggestions
|
|
66767
|
+
* @param variables - variables without 'candidateRepositories', 'issueId' to pass into the IssueRepositorySuggestionsQuery
|
|
66768
|
+
* @returns parsed response from IssueRepositorySuggestionsQuery
|
|
66769
|
+
*/
|
|
66770
|
+
async fetch(candidateRepositories, issueId, variables) {
|
|
66771
|
+
const data = (await this._request(IssueRepositorySuggestionsDocument.toString(), {
|
|
66772
|
+
candidateRepositories,
|
|
66773
|
+
issueId,
|
|
66774
|
+
...variables
|
|
66775
|
+
})).issueRepositorySuggestions;
|
|
66776
|
+
return new RepositorySuggestionsPayload(this._request, data);
|
|
66777
|
+
}
|
|
66778
|
+
};
|
|
66779
|
+
/**
|
|
65923
66780
|
* A fetchable IssueSearch Query
|
|
65924
66781
|
*
|
|
65925
66782
|
* @param request - function to call the graphql client
|
|
@@ -66973,6 +67830,27 @@ var UserQuery = class extends Request {
|
|
|
66973
67830
|
}
|
|
66974
67831
|
};
|
|
66975
67832
|
/**
|
|
67833
|
+
* A fetchable UserSessions Query
|
|
67834
|
+
*
|
|
67835
|
+
* @param request - function to call the graphql client
|
|
67836
|
+
*/
|
|
67837
|
+
var UserSessionsQuery = class extends Request {
|
|
67838
|
+
constructor(request) {
|
|
67839
|
+
super(request);
|
|
67840
|
+
}
|
|
67841
|
+
/**
|
|
67842
|
+
* Call the UserSessions query and return a AuthenticationSessionResponse list
|
|
67843
|
+
*
|
|
67844
|
+
* @param id - required id to pass to userSessions
|
|
67845
|
+
* @returns parsed response from UserSessionsQuery
|
|
67846
|
+
*/
|
|
67847
|
+
async fetch(id) {
|
|
67848
|
+
return (await this._request(UserSessionsDocument.toString(), { id })).userSessions.map((node) => {
|
|
67849
|
+
return new AuthenticationSessionResponse(this._request, node);
|
|
67850
|
+
});
|
|
67851
|
+
}
|
|
67852
|
+
};
|
|
67853
|
+
/**
|
|
66976
67854
|
* A fetchable UserSettings Query
|
|
66977
67855
|
*
|
|
66978
67856
|
* @param request - function to call the graphql client
|
|
@@ -67268,26 +68146,6 @@ var AirbyteIntegrationConnectMutation = class extends Request {
|
|
|
67268
68146
|
}
|
|
67269
68147
|
};
|
|
67270
68148
|
/**
|
|
67271
|
-
* A fetchable AsksWebFormsAuth Mutation
|
|
67272
|
-
*
|
|
67273
|
-
* @param request - function to call the graphql client
|
|
67274
|
-
*/
|
|
67275
|
-
var AsksWebFormsAuthMutation = class extends Request {
|
|
67276
|
-
constructor(request) {
|
|
67277
|
-
super(request);
|
|
67278
|
-
}
|
|
67279
|
-
/**
|
|
67280
|
-
* Call the AsksWebFormsAuth mutation and return a AsksWebFormsAuthResponse
|
|
67281
|
-
*
|
|
67282
|
-
* @param token - required token to pass to asksWebFormsAuth
|
|
67283
|
-
* @returns parsed response from AsksWebFormsAuthMutation
|
|
67284
|
-
*/
|
|
67285
|
-
async fetch(token) {
|
|
67286
|
-
const data = (await this._request(AsksWebFormsAuthDocument.toString(), { token })).asksWebFormsAuth;
|
|
67287
|
-
return new AsksWebFormsAuthResponse(this._request, data);
|
|
67288
|
-
}
|
|
67289
|
-
};
|
|
67290
|
-
/**
|
|
67291
68149
|
* A fetchable CreateAttachment Mutation
|
|
67292
68150
|
*
|
|
67293
68151
|
* @param request - function to call the graphql client
|
|
@@ -69677,6 +70535,26 @@ var IntegrationGitlabConnectMutation = class extends Request {
|
|
|
69677
70535
|
}
|
|
69678
70536
|
};
|
|
69679
70537
|
/**
|
|
70538
|
+
* A fetchable IntegrationGitlabTestConnection Mutation
|
|
70539
|
+
*
|
|
70540
|
+
* @param request - function to call the graphql client
|
|
70541
|
+
*/
|
|
70542
|
+
var IntegrationGitlabTestConnectionMutation = class extends Request {
|
|
70543
|
+
constructor(request) {
|
|
70544
|
+
super(request);
|
|
70545
|
+
}
|
|
70546
|
+
/**
|
|
70547
|
+
* Call the IntegrationGitlabTestConnection mutation and return a GitLabTestConnectionPayload
|
|
70548
|
+
*
|
|
70549
|
+
* @param integrationId - required integrationId to pass to integrationGitlabTestConnection
|
|
70550
|
+
* @returns parsed response from IntegrationGitlabTestConnectionMutation
|
|
70551
|
+
*/
|
|
70552
|
+
async fetch(integrationId) {
|
|
70553
|
+
const data = (await this._request(IntegrationGitlabTestConnectionDocument.toString(), { integrationId })).integrationGitlabTestConnection;
|
|
70554
|
+
return new GitLabTestConnectionPayload(this._request, data);
|
|
70555
|
+
}
|
|
70556
|
+
};
|
|
70557
|
+
/**
|
|
69680
70558
|
* A fetchable IntegrationGong Mutation
|
|
69681
70559
|
*
|
|
69682
70560
|
* @param request - function to call the graphql client
|
|
@@ -73056,6 +73934,50 @@ var UserPromoteMemberMutation = class extends Request {
|
|
|
73056
73934
|
}
|
|
73057
73935
|
};
|
|
73058
73936
|
/**
|
|
73937
|
+
* A fetchable UserRevokeAllSessions Mutation
|
|
73938
|
+
*
|
|
73939
|
+
* @param request - function to call the graphql client
|
|
73940
|
+
*/
|
|
73941
|
+
var UserRevokeAllSessionsMutation = class extends Request {
|
|
73942
|
+
constructor(request) {
|
|
73943
|
+
super(request);
|
|
73944
|
+
}
|
|
73945
|
+
/**
|
|
73946
|
+
* Call the UserRevokeAllSessions mutation and return a UserAdminPayload
|
|
73947
|
+
*
|
|
73948
|
+
* @param id - required id to pass to userRevokeAllSessions
|
|
73949
|
+
* @returns parsed response from UserRevokeAllSessionsMutation
|
|
73950
|
+
*/
|
|
73951
|
+
async fetch(id) {
|
|
73952
|
+
const data = (await this._request(UserRevokeAllSessionsDocument.toString(), { id })).userRevokeAllSessions;
|
|
73953
|
+
return new UserAdminPayload(this._request, data);
|
|
73954
|
+
}
|
|
73955
|
+
};
|
|
73956
|
+
/**
|
|
73957
|
+
* A fetchable UserRevokeSession Mutation
|
|
73958
|
+
*
|
|
73959
|
+
* @param request - function to call the graphql client
|
|
73960
|
+
*/
|
|
73961
|
+
var UserRevokeSessionMutation = class extends Request {
|
|
73962
|
+
constructor(request) {
|
|
73963
|
+
super(request);
|
|
73964
|
+
}
|
|
73965
|
+
/**
|
|
73966
|
+
* Call the UserRevokeSession mutation and return a UserAdminPayload
|
|
73967
|
+
*
|
|
73968
|
+
* @param id - required id to pass to userRevokeSession
|
|
73969
|
+
* @param sessionId - required sessionId to pass to userRevokeSession
|
|
73970
|
+
* @returns parsed response from UserRevokeSessionMutation
|
|
73971
|
+
*/
|
|
73972
|
+
async fetch(id, sessionId) {
|
|
73973
|
+
const data = (await this._request(UserRevokeSessionDocument.toString(), {
|
|
73974
|
+
id,
|
|
73975
|
+
sessionId
|
|
73976
|
+
})).userRevokeSession;
|
|
73977
|
+
return new UserAdminPayload(this._request, data);
|
|
73978
|
+
}
|
|
73979
|
+
};
|
|
73980
|
+
/**
|
|
73059
73981
|
* A fetchable UserSettingsFlagsReset Mutation
|
|
73060
73982
|
*
|
|
73061
73983
|
* @param request - function to call the graphql client
|
|
@@ -73288,6 +74210,26 @@ var DeleteWebhookMutation = class extends Request {
|
|
|
73288
74210
|
}
|
|
73289
74211
|
};
|
|
73290
74212
|
/**
|
|
74213
|
+
* A fetchable RotateSecretWebhook Mutation
|
|
74214
|
+
*
|
|
74215
|
+
* @param request - function to call the graphql client
|
|
74216
|
+
*/
|
|
74217
|
+
var RotateSecretWebhookMutation = class extends Request {
|
|
74218
|
+
constructor(request) {
|
|
74219
|
+
super(request);
|
|
74220
|
+
}
|
|
74221
|
+
/**
|
|
74222
|
+
* Call the RotateSecretWebhook mutation and return a WebhookRotateSecretPayload
|
|
74223
|
+
*
|
|
74224
|
+
* @param id - required id to pass to rotateSecretWebhook
|
|
74225
|
+
* @returns parsed response from RotateSecretWebhookMutation
|
|
74226
|
+
*/
|
|
74227
|
+
async fetch(id) {
|
|
74228
|
+
const data = (await this._request(RotateSecretWebhookDocument.toString(), { id })).webhookRotateSecret;
|
|
74229
|
+
return new WebhookRotateSecretPayload(this._request, data);
|
|
74230
|
+
}
|
|
74231
|
+
};
|
|
74232
|
+
/**
|
|
73291
74233
|
* A fetchable UpdateWebhook Mutation
|
|
73292
74234
|
*
|
|
73293
74235
|
* @param request - function to call the graphql client
|
|
@@ -73410,6 +74352,28 @@ var AgentSession_ActivitiesQuery = class extends Request {
|
|
|
73410
74352
|
}
|
|
73411
74353
|
};
|
|
73412
74354
|
/**
|
|
74355
|
+
* A fetchable AsksWebSetting_IdentityProvider Query
|
|
74356
|
+
*
|
|
74357
|
+
* @param request - function to call the graphql client
|
|
74358
|
+
* @param id - required id to pass to asksWebSetting
|
|
74359
|
+
*/
|
|
74360
|
+
var AsksWebSetting_IdentityProviderQuery = class extends Request {
|
|
74361
|
+
_id;
|
|
74362
|
+
constructor(request, id) {
|
|
74363
|
+
super(request);
|
|
74364
|
+
this._id = id;
|
|
74365
|
+
}
|
|
74366
|
+
/**
|
|
74367
|
+
* Call the AsksWebSetting_IdentityProvider query and return a IdentityProvider
|
|
74368
|
+
*
|
|
74369
|
+
* @returns parsed response from AsksWebSetting_IdentityProviderQuery
|
|
74370
|
+
*/
|
|
74371
|
+
async fetch() {
|
|
74372
|
+
const data = (await this._request(AsksWebSetting_IdentityProviderDocument.toString(), { id: this._id })).asksWebSetting.identityProvider;
|
|
74373
|
+
return data ? new IdentityProvider(this._request, data) : void 0;
|
|
74374
|
+
}
|
|
74375
|
+
};
|
|
74376
|
+
/**
|
|
73413
74377
|
* A fetchable AttachmentIssue_Attachments Query
|
|
73414
74378
|
*
|
|
73415
74379
|
* @param request - function to call the graphql client
|
|
@@ -78047,6 +79011,15 @@ var LinearSdk = class extends Request {
|
|
|
78047
79011
|
return new ApplicationInfoQuery(this._request).fetch(clientId);
|
|
78048
79012
|
}
|
|
78049
79013
|
/**
|
|
79014
|
+
* Asks web form settings by ID.
|
|
79015
|
+
*
|
|
79016
|
+
* @param id - required id to pass to asksWebSetting
|
|
79017
|
+
* @returns AsksWebSettings
|
|
79018
|
+
*/
|
|
79019
|
+
asksWebSetting(id) {
|
|
79020
|
+
return new AsksWebSettingQuery(this._request).fetch(id);
|
|
79021
|
+
}
|
|
79022
|
+
/**
|
|
78050
79023
|
* One specific issue attachment.
|
|
78051
79024
|
* [Deprecated] 'url' can no longer be used as the 'id' parameter. Use 'attachmentsForUrl' instead
|
|
78052
79025
|
*
|
|
@@ -78586,6 +79559,17 @@ var LinearSdk = class extends Request {
|
|
|
78586
79559
|
return new IssueRelationsQuery(this._request).fetch(variables);
|
|
78587
79560
|
}
|
|
78588
79561
|
/**
|
|
79562
|
+
* Returns code repositories that are most likely to be relevant for implementing an issue.
|
|
79563
|
+
*
|
|
79564
|
+
* @param candidateRepositories - required candidateRepositories to pass to issueRepositorySuggestions
|
|
79565
|
+
* @param issueId - required issueId to pass to issueRepositorySuggestions
|
|
79566
|
+
* @param variables - variables without 'candidateRepositories', 'issueId' to pass into the IssueRepositorySuggestionsQuery
|
|
79567
|
+
* @returns RepositorySuggestionsPayload
|
|
79568
|
+
*/
|
|
79569
|
+
issueRepositorySuggestions(candidateRepositories, issueId, variables) {
|
|
79570
|
+
return new IssueRepositorySuggestionsQuery(this._request).fetch(candidateRepositories, issueId, variables);
|
|
79571
|
+
}
|
|
79572
|
+
/**
|
|
78589
79573
|
* [DEPRECATED] Search issues. This endpoint is deprecated and will be removed in the future – use `searchIssues` instead.
|
|
78590
79574
|
*
|
|
78591
79575
|
* @param variables - variables to pass into the IssueSearchQuery
|
|
@@ -79021,6 +80005,15 @@ var LinearSdk = class extends Request {
|
|
|
79021
80005
|
return new UserQuery(this._request).fetch(id);
|
|
79022
80006
|
}
|
|
79023
80007
|
/**
|
|
80008
|
+
* Lists the sessions of a user. Can only be called by an admin or owner.
|
|
80009
|
+
*
|
|
80010
|
+
* @param id - required id to pass to userSessions
|
|
80011
|
+
* @returns AuthenticationSessionResponse[]
|
|
80012
|
+
*/
|
|
80013
|
+
userSessions(id) {
|
|
80014
|
+
return new UserSessionsQuery(this._request).fetch(id);
|
|
80015
|
+
}
|
|
80016
|
+
/**
|
|
79024
80017
|
* The user's settings.
|
|
79025
80018
|
*
|
|
79026
80019
|
* @returns UserSettings
|
|
@@ -79147,15 +80140,6 @@ var LinearSdk = class extends Request {
|
|
|
79147
80140
|
return new AirbyteIntegrationConnectMutation(this._request).fetch(input);
|
|
79148
80141
|
}
|
|
79149
80142
|
/**
|
|
79150
|
-
* Authenticate a user to the Asks web forms app.
|
|
79151
|
-
*
|
|
79152
|
-
* @param token - required token to pass to asksWebFormsAuth
|
|
79153
|
-
* @returns AsksWebFormsAuthResponse
|
|
79154
|
-
*/
|
|
79155
|
-
asksWebFormsAuth(token) {
|
|
79156
|
-
return new AsksWebFormsAuthMutation(this._request).fetch(token);
|
|
79157
|
-
}
|
|
79158
|
-
/**
|
|
79159
80143
|
* Creates a new attachment, or updates existing if the same `url` and `issueId` is used.
|
|
79160
80144
|
*
|
|
79161
80145
|
* @param input - required input to pass to createAttachment
|
|
@@ -80195,6 +81179,15 @@ var LinearSdk = class extends Request {
|
|
|
80195
81179
|
return new IntegrationGitlabConnectMutation(this._request).fetch(accessToken, gitlabUrl);
|
|
80196
81180
|
}
|
|
80197
81181
|
/**
|
|
81182
|
+
* Tests connectivity to a self-hosted GitLab instance and clears auth errors if successful.
|
|
81183
|
+
*
|
|
81184
|
+
* @param integrationId - required integrationId to pass to integrationGitlabTestConnection
|
|
81185
|
+
* @returns GitLabTestConnectionPayload
|
|
81186
|
+
*/
|
|
81187
|
+
integrationGitlabTestConnection(integrationId) {
|
|
81188
|
+
return new IntegrationGitlabTestConnectionMutation(this._request).fetch(integrationId);
|
|
81189
|
+
}
|
|
81190
|
+
/**
|
|
80198
81191
|
* Integrates the organization with Gong.
|
|
80199
81192
|
*
|
|
80200
81193
|
* @param code - required code to pass to integrationGong
|
|
@@ -81662,6 +82655,25 @@ var LinearSdk = class extends Request {
|
|
|
81662
82655
|
return new UserPromoteMemberMutation(this._request).fetch(id);
|
|
81663
82656
|
}
|
|
81664
82657
|
/**
|
|
82658
|
+
* Revokes a user's sessions. Can only be called by an admin or owner.
|
|
82659
|
+
*
|
|
82660
|
+
* @param id - required id to pass to userRevokeAllSessions
|
|
82661
|
+
* @returns UserAdminPayload
|
|
82662
|
+
*/
|
|
82663
|
+
userRevokeAllSessions(id) {
|
|
82664
|
+
return new UserRevokeAllSessionsMutation(this._request).fetch(id);
|
|
82665
|
+
}
|
|
82666
|
+
/**
|
|
82667
|
+
* Revokes a specific session for a user. Can only be called by an admin or owner.
|
|
82668
|
+
*
|
|
82669
|
+
* @param id - required id to pass to userRevokeSession
|
|
82670
|
+
* @param sessionId - required sessionId to pass to userRevokeSession
|
|
82671
|
+
* @returns UserAdminPayload
|
|
82672
|
+
*/
|
|
82673
|
+
userRevokeSession(id, sessionId) {
|
|
82674
|
+
return new UserRevokeSessionMutation(this._request).fetch(id, sessionId);
|
|
82675
|
+
}
|
|
82676
|
+
/**
|
|
81665
82677
|
* Resets user's setting flags.
|
|
81666
82678
|
*
|
|
81667
82679
|
* @param variables - variables to pass into the UserSettingsFlagsResetMutation
|
|
@@ -81764,6 +82776,15 @@ var LinearSdk = class extends Request {
|
|
|
81764
82776
|
return new DeleteWebhookMutation(this._request).fetch(id);
|
|
81765
82777
|
}
|
|
81766
82778
|
/**
|
|
82779
|
+
* Rotates the signing secret for a Webhook.
|
|
82780
|
+
*
|
|
82781
|
+
* @param id - required id to pass to rotateSecretWebhook
|
|
82782
|
+
* @returns WebhookRotateSecretPayload
|
|
82783
|
+
*/
|
|
82784
|
+
rotateSecretWebhook(id) {
|
|
82785
|
+
return new RotateSecretWebhookMutation(this._request).fetch(id);
|
|
82786
|
+
}
|
|
82787
|
+
/**
|
|
81767
82788
|
* Updates an existing Webhook.
|
|
81768
82789
|
*
|
|
81769
82790
|
* @param id - required id to pass to updateWebhook
|
|
@@ -81903,8 +82924,9 @@ exports.ArchiveResponse = ArchiveResponse;
|
|
|
81903
82924
|
exports.ArchiveRoadmapMutation = ArchiveRoadmapMutation;
|
|
81904
82925
|
exports.ArchiveWorkflowStateMutation = ArchiveWorkflowStateMutation;
|
|
81905
82926
|
exports.AsksChannelConnectPayload = AsksChannelConnectPayload;
|
|
81906
|
-
exports.
|
|
81907
|
-
exports.
|
|
82927
|
+
exports.AsksWebSettingQuery = AsksWebSettingQuery;
|
|
82928
|
+
exports.AsksWebSetting_IdentityProviderQuery = AsksWebSetting_IdentityProviderQuery;
|
|
82929
|
+
exports.AsksWebSettings = AsksWebSettings;
|
|
81908
82930
|
exports.Attachment = Attachment;
|
|
81909
82931
|
exports.AttachmentConnection = AttachmentConnection;
|
|
81910
82932
|
exports.AttachmentIssueQuery = AttachmentIssueQuery;
|
|
@@ -82226,6 +83248,7 @@ exports.GitHubCommitIntegrationPayload = GitHubCommitIntegrationPayload;
|
|
|
82226
83248
|
exports.GitHubEnterpriseServerInstallVerificationPayload = GitHubEnterpriseServerInstallVerificationPayload;
|
|
82227
83249
|
exports.GitHubEnterpriseServerPayload = GitHubEnterpriseServerPayload;
|
|
82228
83250
|
exports.GitLabIntegrationCreatePayload = GitLabIntegrationCreatePayload;
|
|
83251
|
+
exports.GitLabTestConnectionPayload = GitLabTestConnectionPayload;
|
|
82229
83252
|
exports.GitLinkKind = GitLinkKind;
|
|
82230
83253
|
exports.GithubOrgType = GithubOrgType;
|
|
82231
83254
|
exports.GoogleUserAccountAuthMutation = GoogleUserAccountAuthMutation;
|
|
@@ -82294,6 +83317,7 @@ exports.IntegrationGithubConnectMutation = IntegrationGithubConnectMutation;
|
|
|
82294
83317
|
exports.IntegrationGithubImportConnectMutation = IntegrationGithubImportConnectMutation;
|
|
82295
83318
|
exports.IntegrationGithubImportRefreshMutation = IntegrationGithubImportRefreshMutation;
|
|
82296
83319
|
exports.IntegrationGitlabConnectMutation = IntegrationGitlabConnectMutation;
|
|
83320
|
+
exports.IntegrationGitlabTestConnectionMutation = IntegrationGitlabTestConnectionMutation;
|
|
82297
83321
|
exports.IntegrationGongMutation = IntegrationGongMutation;
|
|
82298
83322
|
exports.IntegrationGoogleSheetsMutation = IntegrationGoogleSheetsMutation;
|
|
82299
83323
|
exports.IntegrationHasScopesPayload = IntegrationHasScopesPayload;
|
|
@@ -82347,6 +83371,8 @@ exports.IssueFilterSuggestionPayload = IssueFilterSuggestionPayload;
|
|
|
82347
83371
|
exports.IssueFilterSuggestionQuery = IssueFilterSuggestionQuery;
|
|
82348
83372
|
exports.IssueHistory = IssueHistory;
|
|
82349
83373
|
exports.IssueHistoryConnection = IssueHistoryConnection;
|
|
83374
|
+
exports.IssueHistoryTriageRuleError = IssueHistoryTriageRuleError;
|
|
83375
|
+
exports.IssueHistoryTriageRuleMetadata = IssueHistoryTriageRuleMetadata;
|
|
82350
83376
|
exports.IssueImport = IssueImport;
|
|
82351
83377
|
exports.IssueImportCheckCsvQuery = IssueImportCheckCsvQuery;
|
|
82352
83378
|
exports.IssueImportCheckPayload = IssueImportCheckPayload;
|
|
@@ -82389,6 +83415,7 @@ exports.IssueRelationType = IssueRelationType;
|
|
|
82389
83415
|
exports.IssueRelationsQuery = IssueRelationsQuery;
|
|
82390
83416
|
exports.IssueReminderMutation = IssueReminderMutation;
|
|
82391
83417
|
exports.IssueRemoveLabelMutation = IssueRemoveLabelMutation;
|
|
83418
|
+
exports.IssueRepositorySuggestionsQuery = IssueRepositorySuggestionsQuery;
|
|
82392
83419
|
exports.IssueSearchPayload = IssueSearchPayload;
|
|
82393
83420
|
exports.IssueSearchQuery = IssueSearchQuery;
|
|
82394
83421
|
exports.IssueSearchResult = IssueSearchResult;
|
|
@@ -82667,6 +83694,7 @@ exports.RoadmapToProjectQuery = RoadmapToProjectQuery;
|
|
|
82667
83694
|
exports.RoadmapToProjectsQuery = RoadmapToProjectsQuery;
|
|
82668
83695
|
exports.Roadmap_ProjectsQuery = Roadmap_ProjectsQuery;
|
|
82669
83696
|
exports.RoadmapsQuery = RoadmapsQuery;
|
|
83697
|
+
exports.RotateSecretWebhookMutation = RotateSecretWebhookMutation;
|
|
82670
83698
|
exports.SLADayCountType = SLADayCountType;
|
|
82671
83699
|
exports.SamlTokenUserAccountAuthMutation = SamlTokenUserAccountAuthMutation;
|
|
82672
83700
|
exports.SearchDocumentsQuery = SearchDocumentsQuery;
|
|
@@ -82705,6 +83733,7 @@ exports.TeamNotificationSubscription = TeamNotificationSubscription;
|
|
|
82705
83733
|
exports.TeamOriginWebhookPayload = TeamOriginWebhookPayload;
|
|
82706
83734
|
exports.TeamPayload = TeamPayload;
|
|
82707
83735
|
exports.TeamQuery = TeamQuery;
|
|
83736
|
+
exports.TeamRetirementSubTeamHandling = TeamRetirementSubTeamHandling;
|
|
82708
83737
|
exports.TeamRoleType = TeamRoleType;
|
|
82709
83738
|
exports.TeamWithParentWebhookPayload = TeamWithParentWebhookPayload;
|
|
82710
83739
|
exports.Team_CyclesQuery = Team_CyclesQuery;
|
|
@@ -82740,6 +83769,7 @@ exports.TriageResponsibilityManualSelection = TriageResponsibilityManualSelectio
|
|
|
82740
83769
|
exports.TriageResponsibilityPayload = TriageResponsibilityPayload;
|
|
82741
83770
|
exports.TriageResponsibilityQuery = TriageResponsibilityQuery;
|
|
82742
83771
|
exports.TriageResponsibility_ManualSelectionQuery = TriageResponsibility_ManualSelectionQuery;
|
|
83772
|
+
exports.TriageRuleErrorType = TriageRuleErrorType;
|
|
82743
83773
|
exports.UnarchiveCustomerNeedMutation = UnarchiveCustomerNeedMutation;
|
|
82744
83774
|
exports.UnarchiveDocumentMutation = UnarchiveDocumentMutation;
|
|
82745
83775
|
exports.UnarchiveInitiativeMutation = UnarchiveInitiativeMutation;
|
|
@@ -82826,7 +83856,10 @@ exports.UserPayload = UserPayload;
|
|
|
82826
83856
|
exports.UserPromoteAdminMutation = UserPromoteAdminMutation;
|
|
82827
83857
|
exports.UserPromoteMemberMutation = UserPromoteMemberMutation;
|
|
82828
83858
|
exports.UserQuery = UserQuery;
|
|
83859
|
+
exports.UserRevokeAllSessionsMutation = UserRevokeAllSessionsMutation;
|
|
83860
|
+
exports.UserRevokeSessionMutation = UserRevokeSessionMutation;
|
|
82829
83861
|
exports.UserRoleType = UserRoleType;
|
|
83862
|
+
exports.UserSessionsQuery = UserSessionsQuery;
|
|
82830
83863
|
exports.UserSettings = UserSettings;
|
|
82831
83864
|
exports.UserSettingsCustomSidebarTheme = UserSettingsCustomSidebarTheme;
|
|
82832
83865
|
exports.UserSettingsCustomTheme = UserSettingsCustomTheme;
|
|
@@ -82896,7 +83929,9 @@ exports.WebhookConnection = WebhookConnection;
|
|
|
82896
83929
|
exports.WebhookFailureEvent = WebhookFailureEvent;
|
|
82897
83930
|
exports.WebhookPayload = WebhookPayload;
|
|
82898
83931
|
exports.WebhookQuery = WebhookQuery;
|
|
83932
|
+
exports.WebhookRotateSecretPayload = WebhookRotateSecretPayload;
|
|
82899
83933
|
exports.WebhooksQuery = WebhooksQuery;
|
|
83934
|
+
exports.WorkflowDefinition = WorkflowDefinition;
|
|
82900
83935
|
exports.WorkflowState = WorkflowState;
|
|
82901
83936
|
exports.WorkflowStateArchivePayload = WorkflowStateArchivePayload;
|
|
82902
83937
|
exports.WorkflowStateChildWebhookPayload = WorkflowStateChildWebhookPayload;
|
|
@@ -82905,4 +83940,7 @@ exports.WorkflowStatePayload = WorkflowStatePayload;
|
|
|
82905
83940
|
exports.WorkflowStateQuery = WorkflowStateQuery;
|
|
82906
83941
|
exports.WorkflowState_IssuesQuery = WorkflowState_IssuesQuery;
|
|
82907
83942
|
exports.WorkflowStatesQuery = WorkflowStatesQuery;
|
|
83943
|
+
exports.WorkflowTrigger = WorkflowTrigger;
|
|
83944
|
+
exports.WorkflowTriggerType = WorkflowTriggerType;
|
|
83945
|
+
exports.WorkflowType = WorkflowType;
|
|
82908
83946
|
exports.parseLinearError = parseLinearError;
|