@linear/sdk 2.4.0 → 2.5.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-es.js CHANGED
@@ -3,6 +3,7 @@ import http from 'http';
3
3
  import Url from 'url';
4
4
  import https from 'https';
5
5
  import zlib from 'zlib';
6
+ import crypto from 'crypto';
6
7
 
7
8
  /******************************************************************************
8
9
  Copyright (c) Microsoft Corporation.
@@ -83954,45 +83955,6 @@ const GithubOAuthTokenPayloadFragmentDoc = {
83954
83955
  ...GithubOrgFragmentDoc.definitions,
83955
83956
  ],
83956
83957
  };
83957
- const OauthClientFragmentDoc = {
83958
- kind: "Document",
83959
- definitions: [
83960
- {
83961
- kind: "FragmentDefinition",
83962
- name: { kind: "Name", value: "OauthClient" },
83963
- typeCondition: { kind: "NamedType", name: { kind: "Name", value: "OauthClient" } },
83964
- selectionSet: {
83965
- kind: "SelectionSet",
83966
- selections: [
83967
- { kind: "Field", name: { kind: "Name", value: "__typename" } },
83968
- { kind: "Field", name: { kind: "Name", value: "imageUrl" } },
83969
- { kind: "Field", name: { kind: "Name", value: "description" } },
83970
- { kind: "Field", name: { kind: "Name", value: "redirectUris" } },
83971
- { kind: "Field", name: { kind: "Name", value: "developer" } },
83972
- { kind: "Field", name: { kind: "Name", value: "clientId" } },
83973
- { kind: "Field", name: { kind: "Name", value: "name" } },
83974
- { kind: "Field", name: { kind: "Name", value: "clientSecret" } },
83975
- { kind: "Field", name: { kind: "Name", value: "updatedAt" } },
83976
- { kind: "Field", name: { kind: "Name", value: "webhookResourceTypes" } },
83977
- { kind: "Field", name: { kind: "Name", value: "archivedAt" } },
83978
- { kind: "Field", name: { kind: "Name", value: "createdAt" } },
83979
- { kind: "Field", name: { kind: "Name", value: "id" } },
83980
- {
83981
- kind: "Field",
83982
- name: { kind: "Name", value: "creator" },
83983
- selectionSet: {
83984
- kind: "SelectionSet",
83985
- selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }],
83986
- },
83987
- },
83988
- { kind: "Field", name: { kind: "Name", value: "developerUrl" } },
83989
- { kind: "Field", name: { kind: "Name", value: "webhookUrl" } },
83990
- { kind: "Field", name: { kind: "Name", value: "publicEnabled" } },
83991
- ],
83992
- },
83993
- },
83994
- ],
83995
- };
83996
83958
  const UserAuthorizedApplicationFragmentDoc = {
83997
83959
  kind: "Document",
83998
83960
  definitions: [
@@ -84435,54 +84397,6 @@ const UserSettingsFragmentDoc = {
84435
84397
  },
84436
84398
  ],
84437
84399
  };
84438
- const AdminJobConfigurationPayloadFragmentDoc = {
84439
- kind: "Document",
84440
- definitions: [
84441
- {
84442
- kind: "FragmentDefinition",
84443
- name: { kind: "Name", value: "AdminJobConfigurationPayload" },
84444
- typeCondition: { kind: "NamedType", name: { kind: "Name", value: "AdminJobConfigurationPayload" } },
84445
- selectionSet: {
84446
- kind: "SelectionSet",
84447
- selections: [
84448
- { kind: "Field", name: { kind: "Name", value: "__typename" } },
84449
- { kind: "Field", name: { kind: "Name", value: "currentJob" } },
84450
- { kind: "Field", name: { kind: "Name", value: "delay" } },
84451
- { kind: "Field", name: { kind: "Name", value: "enabled" } },
84452
- { kind: "Field", name: { kind: "Name", value: "param" } },
84453
- ],
84454
- },
84455
- },
84456
- ],
84457
- };
84458
- const AdminJobStatusPayloadFragmentDoc = {
84459
- kind: "Document",
84460
- definitions: [
84461
- {
84462
- kind: "FragmentDefinition",
84463
- name: { kind: "Name", value: "AdminJobStatusPayload" },
84464
- typeCondition: { kind: "NamedType", name: { kind: "Name", value: "AdminJobStatusPayload" } },
84465
- selectionSet: {
84466
- kind: "SelectionSet",
84467
- selections: [
84468
- { kind: "Field", name: { kind: "Name", value: "__typename" } },
84469
- { kind: "Field", name: { kind: "Name", value: "availableJobs" } },
84470
- {
84471
- kind: "Field",
84472
- name: { kind: "Name", value: "configuration" },
84473
- selectionSet: {
84474
- kind: "SelectionSet",
84475
- selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "AdminJobConfigurationPayload" } }],
84476
- },
84477
- },
84478
- { kind: "Field", name: { kind: "Name", value: "cursor" } },
84479
- { kind: "Field", name: { kind: "Name", value: "startedAt" } },
84480
- ],
84481
- },
84482
- },
84483
- ...AdminJobConfigurationPayloadFragmentDoc.definitions,
84484
- ],
84485
- };
84486
84400
  const ApiKeyFragmentDoc = {
84487
84401
  kind: "Document",
84488
84402
  definitions: [
@@ -87349,6 +87263,80 @@ const NotificationSubscriptionPayloadFragmentDoc = {
87349
87263
  ...NotificationSubscriptionFragmentDoc.definitions,
87350
87264
  ],
87351
87265
  };
87266
+ const OauthClientFragmentDoc = {
87267
+ kind: "Document",
87268
+ definitions: [
87269
+ {
87270
+ kind: "FragmentDefinition",
87271
+ name: { kind: "Name", value: "OauthClient" },
87272
+ typeCondition: { kind: "NamedType", name: { kind: "Name", value: "OauthClient" } },
87273
+ selectionSet: {
87274
+ kind: "SelectionSet",
87275
+ selections: [
87276
+ { kind: "Field", name: { kind: "Name", value: "__typename" } },
87277
+ { kind: "Field", name: { kind: "Name", value: "imageUrl" } },
87278
+ { kind: "Field", name: { kind: "Name", value: "description" } },
87279
+ { kind: "Field", name: { kind: "Name", value: "redirectUris" } },
87280
+ { kind: "Field", name: { kind: "Name", value: "developer" } },
87281
+ { kind: "Field", name: { kind: "Name", value: "clientId" } },
87282
+ { kind: "Field", name: { kind: "Name", value: "name" } },
87283
+ { kind: "Field", name: { kind: "Name", value: "clientSecret" } },
87284
+ { kind: "Field", name: { kind: "Name", value: "updatedAt" } },
87285
+ { kind: "Field", name: { kind: "Name", value: "webhookResourceTypes" } },
87286
+ { kind: "Field", name: { kind: "Name", value: "archivedAt" } },
87287
+ { kind: "Field", name: { kind: "Name", value: "createdAt" } },
87288
+ { kind: "Field", name: { kind: "Name", value: "id" } },
87289
+ {
87290
+ kind: "Field",
87291
+ name: { kind: "Name", value: "creator" },
87292
+ selectionSet: {
87293
+ kind: "SelectionSet",
87294
+ selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }],
87295
+ },
87296
+ },
87297
+ { kind: "Field", name: { kind: "Name", value: "developerUrl" } },
87298
+ { kind: "Field", name: { kind: "Name", value: "webhookUrl" } },
87299
+ { kind: "Field", name: { kind: "Name", value: "webhookSecret" } },
87300
+ { kind: "Field", name: { kind: "Name", value: "publicEnabled" } },
87301
+ ],
87302
+ },
87303
+ },
87304
+ ],
87305
+ };
87306
+ const OauthClientConnectionFragmentDoc = {
87307
+ kind: "Document",
87308
+ definitions: [
87309
+ {
87310
+ kind: "FragmentDefinition",
87311
+ name: { kind: "Name", value: "OauthClientConnection" },
87312
+ typeCondition: { kind: "NamedType", name: { kind: "Name", value: "OauthClientConnection" } },
87313
+ selectionSet: {
87314
+ kind: "SelectionSet",
87315
+ selections: [
87316
+ { kind: "Field", name: { kind: "Name", value: "__typename" } },
87317
+ {
87318
+ kind: "Field",
87319
+ name: { kind: "Name", value: "nodes" },
87320
+ selectionSet: {
87321
+ kind: "SelectionSet",
87322
+ selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "OauthClient" } }],
87323
+ },
87324
+ },
87325
+ {
87326
+ kind: "Field",
87327
+ name: { kind: "Name", value: "pageInfo" },
87328
+ selectionSet: {
87329
+ kind: "SelectionSet",
87330
+ selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "PageInfo" } }],
87331
+ },
87332
+ },
87333
+ ],
87334
+ },
87335
+ },
87336
+ ...OauthClientFragmentDoc.definitions,
87337
+ ...PageInfoFragmentDoc.definitions,
87338
+ ],
87339
+ };
87352
87340
  const OrganizationCancelDeletePayloadFragmentDoc = {
87353
87341
  kind: "Document",
87354
87342
  definitions: [
@@ -92009,6 +91997,54 @@ const IntegrationSlackImportEmojisDocument = {
92009
91997
  ...IntegrationPayloadFragmentDoc.definitions,
92010
91998
  ],
92011
91999
  };
92000
+ const IntegrationSlackIntakeDocument = {
92001
+ kind: "Document",
92002
+ definitions: [
92003
+ {
92004
+ kind: "OperationDefinition",
92005
+ operation: "mutation",
92006
+ name: { kind: "Name", value: "integrationSlackIntake" },
92007
+ variableDefinitions: [
92008
+ {
92009
+ kind: "VariableDefinition",
92010
+ variable: { kind: "Variable", name: { kind: "Name", value: "code" } },
92011
+ type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "String" } } },
92012
+ },
92013
+ {
92014
+ kind: "VariableDefinition",
92015
+ variable: { kind: "Variable", name: { kind: "Name", value: "redirectUri" } },
92016
+ type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "String" } } },
92017
+ },
92018
+ ],
92019
+ selectionSet: {
92020
+ kind: "SelectionSet",
92021
+ selections: [
92022
+ {
92023
+ kind: "Field",
92024
+ name: { kind: "Name", value: "integrationSlackIntake" },
92025
+ arguments: [
92026
+ {
92027
+ kind: "Argument",
92028
+ name: { kind: "Name", value: "code" },
92029
+ value: { kind: "Variable", name: { kind: "Name", value: "code" } },
92030
+ },
92031
+ {
92032
+ kind: "Argument",
92033
+ name: { kind: "Name", value: "redirectUri" },
92034
+ value: { kind: "Variable", name: { kind: "Name", value: "redirectUri" } },
92035
+ },
92036
+ ],
92037
+ selectionSet: {
92038
+ kind: "SelectionSet",
92039
+ selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "IntegrationPayload" } }],
92040
+ },
92041
+ },
92042
+ ],
92043
+ },
92044
+ },
92045
+ ...IntegrationPayloadFragmentDoc.definitions,
92046
+ ],
92047
+ };
92012
92048
  const IntegrationSlackOrgProjectUpdatesPostDocument = {
92013
92049
  kind: "Document",
92014
92050
  definitions: [
@@ -108656,7 +108692,6 @@ var _generated_documents = /*#__PURE__*/Object.freeze({
108656
108692
  GithubRepoFragmentDoc: GithubRepoFragmentDoc,
108657
108693
  GithubOrgFragmentDoc: GithubOrgFragmentDoc,
108658
108694
  GithubOAuthTokenPayloadFragmentDoc: GithubOAuthTokenPayloadFragmentDoc,
108659
- OauthClientFragmentDoc: OauthClientFragmentDoc,
108660
108695
  UserAuthorizedApplicationFragmentDoc: UserAuthorizedApplicationFragmentDoc,
108661
108696
  ApplicationFragmentDoc: ApplicationFragmentDoc,
108662
108697
  FrontSettingsFragmentDoc: FrontSettingsFragmentDoc,
@@ -108673,8 +108708,6 @@ var _generated_documents = /*#__PURE__*/Object.freeze({
108673
108708
  IntegrationSettingsFragmentDoc: IntegrationSettingsFragmentDoc,
108674
108709
  SamlConfigurationPayloadFragmentDoc: SamlConfigurationPayloadFragmentDoc,
108675
108710
  UserSettingsFragmentDoc: UserSettingsFragmentDoc,
108676
- AdminJobConfigurationPayloadFragmentDoc: AdminJobConfigurationPayloadFragmentDoc,
108677
- AdminJobStatusPayloadFragmentDoc: AdminJobStatusPayloadFragmentDoc,
108678
108711
  ApiKeyFragmentDoc: ApiKeyFragmentDoc,
108679
108712
  PageInfoFragmentDoc: PageInfoFragmentDoc,
108680
108713
  ApiKeyConnectionFragmentDoc: ApiKeyConnectionFragmentDoc,
@@ -108757,6 +108790,8 @@ var _generated_documents = /*#__PURE__*/Object.freeze({
108757
108790
  NotificationSubscriptionFragmentDoc: NotificationSubscriptionFragmentDoc,
108758
108791
  NotificationSubscriptionConnectionFragmentDoc: NotificationSubscriptionConnectionFragmentDoc,
108759
108792
  NotificationSubscriptionPayloadFragmentDoc: NotificationSubscriptionPayloadFragmentDoc,
108793
+ OauthClientFragmentDoc: OauthClientFragmentDoc,
108794
+ OauthClientConnectionFragmentDoc: OauthClientConnectionFragmentDoc,
108760
108795
  OrganizationCancelDeletePayloadFragmentDoc: OrganizationCancelDeletePayloadFragmentDoc,
108761
108796
  OrganizationDeletePayloadFragmentDoc: OrganizationDeletePayloadFragmentDoc,
108762
108797
  OrganizationExistsPayloadFragmentDoc: OrganizationExistsPayloadFragmentDoc,
@@ -108884,6 +108919,7 @@ var _generated_documents = /*#__PURE__*/Object.freeze({
108884
108919
  IntegrationSentryConnectDocument: IntegrationSentryConnectDocument,
108885
108920
  IntegrationSlackDocument: IntegrationSlackDocument,
108886
108921
  IntegrationSlackImportEmojisDocument: IntegrationSlackImportEmojisDocument,
108922
+ IntegrationSlackIntakeDocument: IntegrationSlackIntakeDocument,
108887
108923
  IntegrationSlackOrgProjectUpdatesPostDocument: IntegrationSlackOrgProjectUpdatesPostDocument,
108888
108924
  IntegrationSlackPersonalDocument: IntegrationSlackPersonalDocument,
108889
108925
  IntegrationSlackPostDocument: IntegrationSlackPostDocument,
@@ -109263,38 +109299,6 @@ function parseJson(value) {
109263
109299
  return undefined;
109264
109300
  }
109265
109301
  }
109266
- /**
109267
- * AdminJobConfigurationPayload model
109268
- *
109269
- * @param request - function to call the graphql client
109270
- * @param data - L.AdminJobConfigurationPayloadFragment response data
109271
- */
109272
- class AdminJobConfigurationPayload extends Request {
109273
- constructor(request, data) {
109274
- var _a, _b;
109275
- super(request);
109276
- this.currentJob = (_a = data.currentJob) !== null && _a !== void 0 ? _a : undefined;
109277
- this.delay = data.delay;
109278
- this.enabled = data.enabled;
109279
- this.param = (_b = data.param) !== null && _b !== void 0 ? _b : undefined;
109280
- }
109281
- }
109282
- /**
109283
- * AdminJobStatusPayload model
109284
- *
109285
- * @param request - function to call the graphql client
109286
- * @param data - L.AdminJobStatusPayloadFragment response data
109287
- */
109288
- class AdminJobStatusPayload extends Request {
109289
- constructor(request, data) {
109290
- var _a, _b;
109291
- super(request);
109292
- this.availableJobs = data.availableJobs;
109293
- this.cursor = (_a = data.cursor) !== null && _a !== void 0 ? _a : undefined;
109294
- this.startedAt = (_b = parseDate(data.startedAt)) !== null && _b !== void 0 ? _b : undefined;
109295
- this.configuration = new AdminJobConfigurationPayload(request, data.configuration);
109296
- }
109297
- }
109298
109302
  /**
109299
109303
  * An API key. Grants access to the user's resources.
109300
109304
  *
@@ -111473,7 +111477,7 @@ class NotionSettings extends Request {
111473
111477
  */
111474
111478
  class OauthClient extends Request {
111475
111479
  constructor(request, data) {
111476
- var _a, _b, _c, _d, _e, _f;
111480
+ var _a, _b, _c, _d, _e, _f, _g;
111477
111481
  super(request);
111478
111482
  this.archivedAt = (_a = parseDate(data.archivedAt)) !== null && _a !== void 0 ? _a : undefined;
111479
111483
  this.clientId = data.clientId;
@@ -111489,7 +111493,8 @@ class OauthClient extends Request {
111489
111493
  this.redirectUris = data.redirectUris;
111490
111494
  this.updatedAt = (_e = parseDate(data.updatedAt)) !== null && _e !== void 0 ? _e : new Date();
111491
111495
  this.webhookResourceTypes = data.webhookResourceTypes;
111492
- this.webhookUrl = (_f = data.webhookUrl) !== null && _f !== void 0 ? _f : undefined;
111496
+ this.webhookSecret = (_f = data.webhookSecret) !== null && _f !== void 0 ? _f : undefined;
111497
+ this.webhookUrl = (_g = data.webhookUrl) !== null && _g !== void 0 ? _g : undefined;
111493
111498
  this._creator = data.creator;
111494
111499
  }
111495
111500
  /** The user who created the OAuthClient. */
@@ -111556,6 +111561,18 @@ class OauthClientApprovalNotification extends Request {
111556
111561
  return new UserQuery(this._request).fetch(this._user.id);
111557
111562
  }
111558
111563
  }
111564
+ /**
111565
+ * OauthClientConnection model
111566
+ *
111567
+ * @param request - function to call the graphql client
111568
+ * @param fetch - function to trigger a refetch of this OauthClientConnection model
111569
+ * @param data - OauthClientConnection response data
111570
+ */
111571
+ class OauthClientConnection extends Connection {
111572
+ constructor(request, fetch, data) {
111573
+ super(request, fetch, data.nodes.map(node => new OauthClient(request, node)), new PageInfo(request, data.pageInfo));
111574
+ }
111575
+ }
111559
111576
  /**
111560
111577
  * An organization. Organizations are root-level objects that contain user accounts and teams.
111561
111578
  *
@@ -115199,6 +115216,33 @@ class IntegrationSlackImportEmojisMutation extends Request {
115199
115216
  });
115200
115217
  }
115201
115218
  }
115219
+ /**
115220
+ * A fetchable IntegrationSlackIntake Mutation
115221
+ *
115222
+ * @param request - function to call the graphql client
115223
+ */
115224
+ class IntegrationSlackIntakeMutation extends Request {
115225
+ constructor(request) {
115226
+ super(request);
115227
+ }
115228
+ /**
115229
+ * Call the IntegrationSlackIntake mutation and return a IntegrationPayload
115230
+ *
115231
+ * @param code - required code to pass to integrationSlackIntake
115232
+ * @param redirectUri - required redirectUri to pass to integrationSlackIntake
115233
+ * @returns parsed response from IntegrationSlackIntakeMutation
115234
+ */
115235
+ fetch(code, redirectUri) {
115236
+ return __awaiter(this, void 0, void 0, function* () {
115237
+ const response = yield this._request(IntegrationSlackIntakeDocument, {
115238
+ code,
115239
+ redirectUri,
115240
+ });
115241
+ const data = response.integrationSlackIntake;
115242
+ return new IntegrationPayload(this._request, data);
115243
+ });
115244
+ }
115245
+ }
115202
115246
  /**
115203
115247
  * A fetchable IntegrationSlackOrgProjectUpdatesPost Mutation
115204
115248
  *
@@ -122165,6 +122209,16 @@ class LinearSdk extends Request {
122165
122209
  integrationSlackImportEmojis(code, redirectUri) {
122166
122210
  return new IntegrationSlackImportEmojisMutation(this._request).fetch(code, redirectUri);
122167
122211
  }
122212
+ /**
122213
+ * Integrates the organization with Slack for issue intake.
122214
+ *
122215
+ * @param code - required code to pass to integrationSlackIntake
122216
+ * @param redirectUri - required redirectUri to pass to integrationSlackIntake
122217
+ * @returns IntegrationPayload
122218
+ */
122219
+ integrationSlackIntake(code, redirectUri) {
122220
+ return new IntegrationSlackIntakeMutation(this._request).fetch(code, redirectUri);
122221
+ }
122168
122222
  /**
122169
122223
  * Slack integration for organization level project update notifications.
122170
122224
  *
@@ -123962,5 +124016,38 @@ class LinearClient extends LinearSdk {
123962
124016
  }
123963
124017
  }
123964
124018
 
123965
- export { AdminJobConfigurationPayload, AdminJobStatusPayload, AdministrableTeamsQuery, AirbyteIntegrationConnectMutation, ApiKey, ApiKeyConnection, ApiKeyPayload, ApiKeysQuery, Application, ApplicationInfoQuery, ApplicationWithAuthorizationQuery, ArchiveAttachmentMutation, ArchiveCycleMutation, ArchiveIssueLabelMutation, ArchiveIssueMutation, ArchiveNotificationMutation, ArchivePayload, ArchiveProjectMutation, ArchiveWorkflowStateMutation, Attachment, AttachmentConnection, AttachmentIssueQuery, AttachmentIssue_AttachmentsQuery, AttachmentIssue_ChildrenQuery, AttachmentIssue_CommentsQuery, AttachmentIssue_HistoryQuery, AttachmentIssue_InverseRelationsQuery, AttachmentIssue_LabelsQuery, AttachmentIssue_RelationsQuery, AttachmentIssue_SubscribersQuery, AttachmentLinkDiscordMutation, AttachmentLinkFrontMutation, AttachmentLinkIntercomMutation, AttachmentLinkJiraIssueMutation, AttachmentLinkUrlMutation, AttachmentLinkZendeskMutation, AttachmentPayload, AttachmentQuery, AttachmentsForUrlQuery, AttachmentsQuery, AuditEntriesQuery, AuditEntry, AuditEntryConnection, AuditEntryType, AuditEntryTypesQuery, AuthResolverResponse, AuthenticationLinearError, AvailableUsersQuery, BootstrapLinearError, Comment, CommentConnection, CommentPayload, CommentQuery, Comment_ChildrenQuery, CommentsQuery, Connection, ContactPayload, CreateApiKeyMutation, CreateAttachmentMutation, CreateCommentMutation, CreateContactMutation, CreateCsvExportReportMutation, CreateCsvExportReportPayload, CreateCustomViewMutation, CreateCycleMutation, CreateDocumentMutation, CreateEmojiMutation, CreateEventMutation, CreateFavoriteMutation, CreateIntegrationGithubCommitMutation, CreateIntegrationTemplateMutation, CreateIntegrationsSettingsMutation, CreateIssueLabelMutation, CreateIssueMutation, CreateIssueRelationMutation, CreateNotificationSubscriptionMutation, CreateOrJoinOrganizationResponse, CreateOrganizationFromOnboardingMutation, CreateOrganizationInviteMutation, CreateProjectLinkMutation, CreateProjectMilestoneMutation, CreateProjectMutation, CreateProjectUpdateInteractionMutation, CreateProjectUpdateMutation, CreatePushSubscriptionMutation, CreateReactionMutation, CreateRoadmapMutation, CreateRoadmapToProjectMutation, CreateTeamMembershipMutation, CreateTeamMutation, CreateTemplateMutation, CreateViewPreferencesMutation, CreateWebhookMutation, CreateWorkflowStateMutation, CustomView, CustomViewConnection, CustomViewPayload, CustomViewQuery, CustomViewsQuery, Cycle, CycleConnection, CyclePayload, CycleQuery, Cycle_IssuesQuery, Cycle_UncompletedIssuesUponCloseQuery, CyclesQuery, DeleteApiKeyMutation, DeleteAttachmentMutation, DeleteCommentMutation, DeleteCustomViewMutation, DeleteDocumentMutation, DeleteEmojiMutation, DeleteFavoriteMutation, DeleteIntegrationIntercomMutation, DeleteIntegrationMutation, DeleteIntegrationTemplateMutation, DeleteIssueImportMutation, DeleteIssueLabelMutation, DeleteIssueMutation, DeleteIssueRelationMutation, DeleteNotificationSubscriptionMutation, DeleteOrganizationCancelMutation, DeleteOrganizationDomainMutation, DeleteOrganizationInviteMutation, DeleteOrganizationMutation, DeleteProjectLinkMutation, DeleteProjectMilestoneMutation, DeleteProjectMutation, DeleteProjectUpdateMutation, DeletePushSubscriptionMutation, DeleteReactionMutation, DeleteRoadmapMutation, DeleteRoadmapToProjectMutation, DeleteTeamCyclesMutation, DeleteTeamKeyMutation, DeleteTeamMembershipMutation, DeleteTeamMutation, DeleteTemplateMutation, DeleteViewPreferencesMutation, DeleteWebhookMutation, Document, DocumentConnection, DocumentPayload, DocumentQuery, DocumentsQuery, EmailTokenUserAccountAuthMutation, EmailUnsubscribeMutation, EmailUnsubscribePayload, EmailUserAccountAuthChallengeMutation, EmailUserAccountAuthChallengeResponse, Emoji, EmojiConnection, EmojiPayload, EmojiQuery, EmojisQuery, Entity, EventPayload, Favorite, FavoriteConnection, FavoritePayload, FavoriteQuery, Favorite_ChildrenQuery, FavoritesQuery, FeatureNotAccessibleLinearError, FigmaEmbed, FigmaEmbedInfoQuery, FigmaEmbedInfo_FigmaEmbedQuery, FigmaEmbedPayload, FileUploadMutation, ForbiddenLinearError, FrontAttachmentPayload, FrontSettings, GitHubCommitIntegrationPayload, GitHubSettings, GithubOAuthTokenPayload, GithubOrg, GithubRepo, GoogleSheetsSettings, GoogleUserAccountAuthMutation, GraphQLClientError, GraphqlLinearError, ImageUploadFromUrlMutation, ImageUploadFromUrlPayload, Integration, IntegrationConnection, IntegrationDiscordMutation, IntegrationFigmaMutation, IntegrationFrontMutation, IntegrationGithubConnectMutation, IntegrationGitlabConnectMutation, IntegrationGoogleSheetsMutation, IntegrationIntercomMutation, IntegrationLoomMutation, IntegrationPayload, IntegrationQuery, IntegrationRequestMutation, IntegrationRequestPayload, IntegrationSentryConnectMutation, IntegrationSettings, IntegrationSlackImportEmojisMutation, IntegrationSlackMutation, IntegrationSlackOrgProjectUpdatesPostMutation, IntegrationSlackPersonalMutation, IntegrationSlackPostMutation, IntegrationSlackProjectPostMutation, IntegrationTemplate, IntegrationTemplateConnection, IntegrationTemplatePayload, IntegrationTemplateQuery, IntegrationTemplatesQuery, IntegrationZendeskMutation, IntegrationsQuery, IntegrationsSettings, IntegrationsSettingsConnection, IntegrationsSettingsPayload, IntegrationsSettingsQuery, IntercomSettings, InternalLinearError, InvalidInputLinearError, Issue, IssueBatchPayload, IssueConnection, IssueHistory, IssueHistoryConnection, IssueImport, IssueImportCreateAsanaMutation, IssueImportCreateClubhouseMutation, IssueImportCreateGithubMutation, IssueImportCreateJiraMutation, IssueImportDeletePayload, IssueImportFinishGithubOAuthQuery, IssueImportPayload, IssueImportProcessMutation, IssueLabel, IssueLabelConnection, IssueLabelPayload, IssueLabelQuery, IssueLabel_ChildrenQuery, IssueLabel_IssuesQuery, IssueLabelsQuery, IssueNotification, IssuePayload, IssuePriorityValue, IssuePriorityValuesQuery, IssueQuery, IssueRelation, IssueRelationConnection, IssueRelationHistoryPayload, IssueRelationPayload, IssueRelationQuery, IssueRelationsQuery, IssueReminderMutation, IssueVcsBranchSearchQuery, IssueVcsBranchSearch_AttachmentsQuery, IssueVcsBranchSearch_ChildrenQuery, IssueVcsBranchSearch_CommentsQuery, IssueVcsBranchSearch_HistoryQuery, IssueVcsBranchSearch_InverseRelationsQuery, IssueVcsBranchSearch_LabelsQuery, IssueVcsBranchSearch_RelationsQuery, IssueVcsBranchSearch_SubscribersQuery, Issue_AttachmentsQuery, Issue_ChildrenQuery, Issue_CommentsQuery, Issue_HistoryQuery, Issue_InverseRelationsQuery, Issue_LabelsQuery, Issue_RelationsQuery, Issue_SubscribersQuery, IssuesQuery, JiraLinearMapping, JiraProjectData, JiraSettings, JoinOrganizationFromOnboardingMutation, LeaveOrganizationMutation, LinearClient, LinearConnection, _generated_documents as LinearDocument, LinearError, LinearErrorType, LinearGraphQLClient, LinearGraphQLError, LinearSdk, LockTimeoutLinearError, LogoutMutation, LogoutResponse, NetworkLinearError, Node, Notification, NotificationConnection, NotificationPayload, NotificationQuery, NotificationSubscription, NotificationSubscriptionConnection, NotificationSubscriptionPayload, NotificationSubscriptionQuery, NotificationSubscriptionsQuery, NotificationsQuery, NotionSettings, OauthClient, OauthClientApproval, OauthClientApprovalNotification, Organization, OrganizationCancelDeletePayload, OrganizationDeleteChallengeMutation, OrganizationDeletePayload, OrganizationDomain, OrganizationExistsPayload, OrganizationExistsQuery, OrganizationInvite, OrganizationInviteConnection, OrganizationInviteDetailsPayload, OrganizationInviteDetailsQuery, OrganizationInvitePayload, OrganizationInviteQuery, OrganizationInvitesQuery, OrganizationPayload, OrganizationQuery, Organization_IntegrationsQuery, Organization_LabelsQuery, Organization_SubscriptionQuery, Organization_TeamsQuery, Organization_TemplatesQuery, Organization_UsersQuery, OtherLinearError, PageInfo, PaidSubscription, PersonalNote, Project, ProjectConnection, ProjectLink, ProjectLinkConnection, ProjectLinkPayload, ProjectLinkQuery, ProjectLinksQuery, ProjectMilestone, ProjectMilestoneConnection, ProjectMilestonePayload, ProjectMilestoneQuery, ProjectMilestonesQuery, ProjectNotification, ProjectNotificationSubscription, ProjectPayload, ProjectQuery, ProjectUpdate, ProjectUpdateConnection, ProjectUpdateInteraction, ProjectUpdateInteractionConnection, ProjectUpdateInteractionPayload, ProjectUpdateInteractionQuery, ProjectUpdateInteractionsQuery, ProjectUpdateMarkAsReadMutation, ProjectUpdatePayload, ProjectUpdateQuery, ProjectUpdateWithInteractionPayload, ProjectUpdatesQuery, Project_DocumentsQuery, Project_IssuesQuery, Project_LinksQuery, Project_MembersQuery, Project_ProjectUpdatesQuery, Project_TeamsQuery, ProjectsQuery, PushSubscription, PushSubscriptionConnection, PushSubscriptionPayload, PushSubscriptionTestPayload, PushSubscriptionTestQuery, RateLimitPayload, RateLimitResultPayload, RateLimitStatusQuery, RatelimitedLinearError, Reaction, ReactionConnection, ReactionPayload, RefreshGoogleSheetsDataMutation, Request, ResendOrganizationInviteMutation, Roadmap, RoadmapConnection, RoadmapPayload, RoadmapQuery, RoadmapToProject, RoadmapToProjectConnection, RoadmapToProjectPayload, RoadmapToProjectQuery, RoadmapToProjectsQuery, Roadmap_ProjectsQuery, RoadmapsQuery, SamlConfiguration, SamlConfigurationPayload, SamlTokenUserAccountAuthMutation, SentrySettings, SlackPostSettings, SsoUrlFromEmailQuery, SsoUrlFromEmailResponse, SuspendUserMutation, SyncResponse, SynchronizedPayload, Team, TeamConnection, TeamMembership, TeamMembershipConnection, TeamMembershipPayload, TeamMembershipQuery, TeamMembershipsQuery, TeamNotificationSubscription, TeamPayload, TeamQuery, Team_CyclesQuery, Team_IssuesQuery, Team_LabelsQuery, Team_MembersQuery, Team_MembershipsQuery, Team_ProjectsQuery, Team_StatesQuery, Team_TemplatesQuery, Team_WebhooksQuery, TeamsQuery, Template, TemplateConnection, TemplatePayload, TemplateQuery, TemplatesQuery, UnarchiveIssueMutation, UnarchiveNotificationMutation, UnarchiveProjectMutation, UnknownLinearError, UnsuspendUserMutation, UpdateAttachmentMutation, UpdateCommentMutation, UpdateCustomViewMutation, UpdateCycleMutation, UpdateDocumentMutation, UpdateFavoriteMutation, UpdateIntegrationIntercomSettingsMutation, UpdateIntegrationsSettingsMutation, UpdateIssueBatchMutation, UpdateIssueImportMutation, UpdateIssueLabelMutation, UpdateIssueMutation, UpdateIssueRelationMutation, UpdateNotificationMutation, UpdateNotificationSubscriptionMutation, UpdateOrganizationInviteMutation, UpdateOrganizationMutation, UpdateProjectLinkMutation, UpdateProjectMilestoneMutation, UpdateProjectMutation, UpdateProjectUpdateMutation, UpdateRoadmapMutation, UpdateRoadmapToProjectMutation, UpdateTeamMembershipMutation, UpdateTeamMutation, UpdateTemplateMutation, UpdateUserFlagMutation, UpdateUserMutation, UpdateUserSettingsMutation, UpdateViewPreferencesMutation, UpdateWebhookMutation, UpdateWorkflowStateMutation, UploadFile, UploadFileHeader, UploadPayload, User, UserAccount, UserAdminPayload, UserAuthorizedApplication, UserConnection, UserDemoteAdminMutation, UserDemoteMemberMutation, UserDiscordConnectMutation, UserExternalUserDisconnectMutation, UserGitHubConnectMutation, UserGoogleCalendarConnectMutation, UserLinearError, UserPayload, UserPromoteAdminMutation, UserPromoteMemberMutation, UserQuery, UserSettings, UserSettingsFlagIncrementMutation, UserSettingsFlagPayload, UserSettingsFlagsResetMutation, UserSettingsFlagsResetPayload, UserSettingsPayload, UserSettingsQuery, User_AssignedIssuesQuery, User_CreatedIssuesQuery, User_TeamMembershipsQuery, User_TeamsQuery, UsersQuery, ViewPreferences, ViewPreferencesPayload, ViewerQuery, Viewer_AssignedIssuesQuery, Viewer_CreatedIssuesQuery, Viewer_TeamMembershipsQuery, Viewer_TeamsQuery, Webhook, WebhookConnection, WebhookPayload, WebhookQuery, WebhooksQuery, WorkflowCronJobDefinition, WorkflowCronJobDefinitionConnection, WorkflowDefinition, WorkflowDefinitionConnection, WorkflowState, WorkflowStateConnection, WorkflowStatePayload, WorkflowStateQuery, WorkflowState_IssuesQuery, WorkflowStatesQuery, ZendeskSettings, parseLinearError };
124019
+ const LINEAR_WEBHOOK_SIGNATURE_HEADER = "linear-signature";
124020
+ const LINEAR_WEBHOOK_TS_FIELD = "webhookTimestamp";
124021
+ /**
124022
+ * Provides helper functions to work with Linear webhooks
124023
+ */
124024
+ class LinearWebhooks {
124025
+ constructor(secret) {
124026
+ this.secret = secret;
124027
+ }
124028
+ /**
124029
+ * Verify the webhook signature
124030
+ * @param rawBody The webhook request raw body.
124031
+ * @param signature The signature to verify.
124032
+ * @param timestamp The `webhookTimestamp` field from the request parsed body.
124033
+ */
124034
+ verify(rawBody, signature, timestamp) {
124035
+ const verificationBuffer = Buffer.from(crypto.createHmac("sha256", this.secret).update(rawBody).digest("hex"));
124036
+ const signatureBuffer = Buffer.from(signature);
124037
+ if (verificationBuffer.length !== signatureBuffer.length) {
124038
+ throw new Error("Invalid webhook signature");
124039
+ }
124040
+ if (!crypto.timingSafeEqual(verificationBuffer, signatureBuffer)) {
124041
+ throw new Error("Invalid webhook signature");
124042
+ }
124043
+ const timeDiff = Math.abs(new Date().getTime() - timestamp);
124044
+ // Throw error if more than one minute delta between provided ts and current time
124045
+ if (timeDiff > 1000 * 60) {
124046
+ throw new Error("Invalid webhook timestamp");
124047
+ }
124048
+ return true;
124049
+ }
124050
+ }
124051
+
124052
+ export { AdministrableTeamsQuery, AirbyteIntegrationConnectMutation, ApiKey, ApiKeyConnection, ApiKeyPayload, ApiKeysQuery, Application, ApplicationInfoQuery, ApplicationWithAuthorizationQuery, ArchiveAttachmentMutation, ArchiveCycleMutation, ArchiveIssueLabelMutation, ArchiveIssueMutation, ArchiveNotificationMutation, ArchivePayload, ArchiveProjectMutation, ArchiveWorkflowStateMutation, Attachment, AttachmentConnection, AttachmentIssueQuery, AttachmentIssue_AttachmentsQuery, AttachmentIssue_ChildrenQuery, AttachmentIssue_CommentsQuery, AttachmentIssue_HistoryQuery, AttachmentIssue_InverseRelationsQuery, AttachmentIssue_LabelsQuery, AttachmentIssue_RelationsQuery, AttachmentIssue_SubscribersQuery, AttachmentLinkDiscordMutation, AttachmentLinkFrontMutation, AttachmentLinkIntercomMutation, AttachmentLinkJiraIssueMutation, AttachmentLinkUrlMutation, AttachmentLinkZendeskMutation, AttachmentPayload, AttachmentQuery, AttachmentsForUrlQuery, AttachmentsQuery, AuditEntriesQuery, AuditEntry, AuditEntryConnection, AuditEntryType, AuditEntryTypesQuery, AuthResolverResponse, AuthenticationLinearError, AvailableUsersQuery, BootstrapLinearError, Comment, CommentConnection, CommentPayload, CommentQuery, Comment_ChildrenQuery, CommentsQuery, Connection, ContactPayload, CreateApiKeyMutation, CreateAttachmentMutation, CreateCommentMutation, CreateContactMutation, CreateCsvExportReportMutation, CreateCsvExportReportPayload, CreateCustomViewMutation, CreateCycleMutation, CreateDocumentMutation, CreateEmojiMutation, CreateEventMutation, CreateFavoriteMutation, CreateIntegrationGithubCommitMutation, CreateIntegrationTemplateMutation, CreateIntegrationsSettingsMutation, CreateIssueLabelMutation, CreateIssueMutation, CreateIssueRelationMutation, CreateNotificationSubscriptionMutation, CreateOrJoinOrganizationResponse, CreateOrganizationFromOnboardingMutation, CreateOrganizationInviteMutation, CreateProjectLinkMutation, CreateProjectMilestoneMutation, CreateProjectMutation, CreateProjectUpdateInteractionMutation, CreateProjectUpdateMutation, CreatePushSubscriptionMutation, CreateReactionMutation, CreateRoadmapMutation, CreateRoadmapToProjectMutation, CreateTeamMembershipMutation, CreateTeamMutation, CreateTemplateMutation, CreateViewPreferencesMutation, CreateWebhookMutation, CreateWorkflowStateMutation, CustomView, CustomViewConnection, CustomViewPayload, CustomViewQuery, CustomViewsQuery, Cycle, CycleConnection, CyclePayload, CycleQuery, Cycle_IssuesQuery, Cycle_UncompletedIssuesUponCloseQuery, CyclesQuery, DeleteApiKeyMutation, DeleteAttachmentMutation, DeleteCommentMutation, DeleteCustomViewMutation, DeleteDocumentMutation, DeleteEmojiMutation, DeleteFavoriteMutation, DeleteIntegrationIntercomMutation, DeleteIntegrationMutation, DeleteIntegrationTemplateMutation, DeleteIssueImportMutation, DeleteIssueLabelMutation, DeleteIssueMutation, DeleteIssueRelationMutation, DeleteNotificationSubscriptionMutation, DeleteOrganizationCancelMutation, DeleteOrganizationDomainMutation, DeleteOrganizationInviteMutation, DeleteOrganizationMutation, DeleteProjectLinkMutation, DeleteProjectMilestoneMutation, DeleteProjectMutation, DeleteProjectUpdateMutation, DeletePushSubscriptionMutation, DeleteReactionMutation, DeleteRoadmapMutation, DeleteRoadmapToProjectMutation, DeleteTeamCyclesMutation, DeleteTeamKeyMutation, DeleteTeamMembershipMutation, DeleteTeamMutation, DeleteTemplateMutation, DeleteViewPreferencesMutation, DeleteWebhookMutation, Document, DocumentConnection, DocumentPayload, DocumentQuery, DocumentsQuery, EmailTokenUserAccountAuthMutation, EmailUnsubscribeMutation, EmailUnsubscribePayload, EmailUserAccountAuthChallengeMutation, EmailUserAccountAuthChallengeResponse, Emoji, EmojiConnection, EmojiPayload, EmojiQuery, EmojisQuery, Entity, EventPayload, Favorite, FavoriteConnection, FavoritePayload, FavoriteQuery, Favorite_ChildrenQuery, FavoritesQuery, FeatureNotAccessibleLinearError, FigmaEmbed, FigmaEmbedInfoQuery, FigmaEmbedInfo_FigmaEmbedQuery, FigmaEmbedPayload, FileUploadMutation, ForbiddenLinearError, FrontAttachmentPayload, FrontSettings, GitHubCommitIntegrationPayload, GitHubSettings, GithubOAuthTokenPayload, GithubOrg, GithubRepo, GoogleSheetsSettings, GoogleUserAccountAuthMutation, GraphQLClientError, GraphqlLinearError, ImageUploadFromUrlMutation, ImageUploadFromUrlPayload, Integration, IntegrationConnection, IntegrationDiscordMutation, IntegrationFigmaMutation, IntegrationFrontMutation, IntegrationGithubConnectMutation, IntegrationGitlabConnectMutation, IntegrationGoogleSheetsMutation, IntegrationIntercomMutation, IntegrationLoomMutation, IntegrationPayload, IntegrationQuery, IntegrationRequestMutation, IntegrationRequestPayload, IntegrationSentryConnectMutation, IntegrationSettings, IntegrationSlackImportEmojisMutation, IntegrationSlackIntakeMutation, IntegrationSlackMutation, IntegrationSlackOrgProjectUpdatesPostMutation, IntegrationSlackPersonalMutation, IntegrationSlackPostMutation, IntegrationSlackProjectPostMutation, IntegrationTemplate, IntegrationTemplateConnection, IntegrationTemplatePayload, IntegrationTemplateQuery, IntegrationTemplatesQuery, IntegrationZendeskMutation, IntegrationsQuery, IntegrationsSettings, IntegrationsSettingsConnection, IntegrationsSettingsPayload, IntegrationsSettingsQuery, IntercomSettings, InternalLinearError, InvalidInputLinearError, Issue, IssueBatchPayload, IssueConnection, IssueHistory, IssueHistoryConnection, IssueImport, IssueImportCreateAsanaMutation, IssueImportCreateClubhouseMutation, IssueImportCreateGithubMutation, IssueImportCreateJiraMutation, IssueImportDeletePayload, IssueImportFinishGithubOAuthQuery, IssueImportPayload, IssueImportProcessMutation, IssueLabel, IssueLabelConnection, IssueLabelPayload, IssueLabelQuery, IssueLabel_ChildrenQuery, IssueLabel_IssuesQuery, IssueLabelsQuery, IssueNotification, IssuePayload, IssuePriorityValue, IssuePriorityValuesQuery, IssueQuery, IssueRelation, IssueRelationConnection, IssueRelationHistoryPayload, IssueRelationPayload, IssueRelationQuery, IssueRelationsQuery, IssueReminderMutation, IssueVcsBranchSearchQuery, IssueVcsBranchSearch_AttachmentsQuery, IssueVcsBranchSearch_ChildrenQuery, IssueVcsBranchSearch_CommentsQuery, IssueVcsBranchSearch_HistoryQuery, IssueVcsBranchSearch_InverseRelationsQuery, IssueVcsBranchSearch_LabelsQuery, IssueVcsBranchSearch_RelationsQuery, IssueVcsBranchSearch_SubscribersQuery, Issue_AttachmentsQuery, Issue_ChildrenQuery, Issue_CommentsQuery, Issue_HistoryQuery, Issue_InverseRelationsQuery, Issue_LabelsQuery, Issue_RelationsQuery, Issue_SubscribersQuery, IssuesQuery, JiraLinearMapping, JiraProjectData, JiraSettings, JoinOrganizationFromOnboardingMutation, LINEAR_WEBHOOK_SIGNATURE_HEADER, LINEAR_WEBHOOK_TS_FIELD, LeaveOrganizationMutation, LinearClient, LinearConnection, _generated_documents as LinearDocument, LinearError, LinearErrorType, LinearGraphQLClient, LinearGraphQLError, LinearSdk, LinearWebhooks, LockTimeoutLinearError, LogoutMutation, LogoutResponse, NetworkLinearError, Node, Notification, NotificationConnection, NotificationPayload, NotificationQuery, NotificationSubscription, NotificationSubscriptionConnection, NotificationSubscriptionPayload, NotificationSubscriptionQuery, NotificationSubscriptionsQuery, NotificationsQuery, NotionSettings, OauthClient, OauthClientApproval, OauthClientApprovalNotification, OauthClientConnection, Organization, OrganizationCancelDeletePayload, OrganizationDeleteChallengeMutation, OrganizationDeletePayload, OrganizationDomain, OrganizationExistsPayload, OrganizationExistsQuery, OrganizationInvite, OrganizationInviteConnection, OrganizationInviteDetailsPayload, OrganizationInviteDetailsQuery, OrganizationInvitePayload, OrganizationInviteQuery, OrganizationInvitesQuery, OrganizationPayload, OrganizationQuery, Organization_IntegrationsQuery, Organization_LabelsQuery, Organization_SubscriptionQuery, Organization_TeamsQuery, Organization_TemplatesQuery, Organization_UsersQuery, OtherLinearError, PageInfo, PaidSubscription, PersonalNote, Project, ProjectConnection, ProjectLink, ProjectLinkConnection, ProjectLinkPayload, ProjectLinkQuery, ProjectLinksQuery, ProjectMilestone, ProjectMilestoneConnection, ProjectMilestonePayload, ProjectMilestoneQuery, ProjectMilestonesQuery, ProjectNotification, ProjectNotificationSubscription, ProjectPayload, ProjectQuery, ProjectUpdate, ProjectUpdateConnection, ProjectUpdateInteraction, ProjectUpdateInteractionConnection, ProjectUpdateInteractionPayload, ProjectUpdateInteractionQuery, ProjectUpdateInteractionsQuery, ProjectUpdateMarkAsReadMutation, ProjectUpdatePayload, ProjectUpdateQuery, ProjectUpdateWithInteractionPayload, ProjectUpdatesQuery, Project_DocumentsQuery, Project_IssuesQuery, Project_LinksQuery, Project_MembersQuery, Project_ProjectUpdatesQuery, Project_TeamsQuery, ProjectsQuery, PushSubscription, PushSubscriptionConnection, PushSubscriptionPayload, PushSubscriptionTestPayload, PushSubscriptionTestQuery, RateLimitPayload, RateLimitResultPayload, RateLimitStatusQuery, RatelimitedLinearError, Reaction, ReactionConnection, ReactionPayload, RefreshGoogleSheetsDataMutation, Request, ResendOrganizationInviteMutation, Roadmap, RoadmapConnection, RoadmapPayload, RoadmapQuery, RoadmapToProject, RoadmapToProjectConnection, RoadmapToProjectPayload, RoadmapToProjectQuery, RoadmapToProjectsQuery, Roadmap_ProjectsQuery, RoadmapsQuery, SamlConfiguration, SamlConfigurationPayload, SamlTokenUserAccountAuthMutation, SentrySettings, SlackPostSettings, SsoUrlFromEmailQuery, SsoUrlFromEmailResponse, SuspendUserMutation, SyncResponse, SynchronizedPayload, Team, TeamConnection, TeamMembership, TeamMembershipConnection, TeamMembershipPayload, TeamMembershipQuery, TeamMembershipsQuery, TeamNotificationSubscription, TeamPayload, TeamQuery, Team_CyclesQuery, Team_IssuesQuery, Team_LabelsQuery, Team_MembersQuery, Team_MembershipsQuery, Team_ProjectsQuery, Team_StatesQuery, Team_TemplatesQuery, Team_WebhooksQuery, TeamsQuery, Template, TemplateConnection, TemplatePayload, TemplateQuery, TemplatesQuery, UnarchiveIssueMutation, UnarchiveNotificationMutation, UnarchiveProjectMutation, UnknownLinearError, UnsuspendUserMutation, UpdateAttachmentMutation, UpdateCommentMutation, UpdateCustomViewMutation, UpdateCycleMutation, UpdateDocumentMutation, UpdateFavoriteMutation, UpdateIntegrationIntercomSettingsMutation, UpdateIntegrationsSettingsMutation, UpdateIssueBatchMutation, UpdateIssueImportMutation, UpdateIssueLabelMutation, UpdateIssueMutation, UpdateIssueRelationMutation, UpdateNotificationMutation, UpdateNotificationSubscriptionMutation, UpdateOrganizationInviteMutation, UpdateOrganizationMutation, UpdateProjectLinkMutation, UpdateProjectMilestoneMutation, UpdateProjectMutation, UpdateProjectUpdateMutation, UpdateRoadmapMutation, UpdateRoadmapToProjectMutation, UpdateTeamMembershipMutation, UpdateTeamMutation, UpdateTemplateMutation, UpdateUserFlagMutation, UpdateUserMutation, UpdateUserSettingsMutation, UpdateViewPreferencesMutation, UpdateWebhookMutation, UpdateWorkflowStateMutation, UploadFile, UploadFileHeader, UploadPayload, User, UserAccount, UserAdminPayload, UserAuthorizedApplication, UserConnection, UserDemoteAdminMutation, UserDemoteMemberMutation, UserDiscordConnectMutation, UserExternalUserDisconnectMutation, UserGitHubConnectMutation, UserGoogleCalendarConnectMutation, UserLinearError, UserPayload, UserPromoteAdminMutation, UserPromoteMemberMutation, UserQuery, UserSettings, UserSettingsFlagIncrementMutation, UserSettingsFlagPayload, UserSettingsFlagsResetMutation, UserSettingsFlagsResetPayload, UserSettingsPayload, UserSettingsQuery, User_AssignedIssuesQuery, User_CreatedIssuesQuery, User_TeamMembershipsQuery, User_TeamsQuery, UsersQuery, ViewPreferences, ViewPreferencesPayload, ViewerQuery, Viewer_AssignedIssuesQuery, Viewer_CreatedIssuesQuery, Viewer_TeamMembershipsQuery, Viewer_TeamsQuery, Webhook, WebhookConnection, WebhookPayload, WebhookQuery, WebhooksQuery, WorkflowCronJobDefinition, WorkflowCronJobDefinitionConnection, WorkflowDefinition, WorkflowDefinitionConnection, WorkflowState, WorkflowStateConnection, WorkflowStatePayload, WorkflowStateQuery, WorkflowState_IssuesQuery, WorkflowStatesQuery, ZendeskSettings, parseLinearError };
123966
124053
  //# sourceMappingURL=index-es.js.map