@linear/sdk 17.0.1 → 18.1.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-cjs.js CHANGED
@@ -83693,6 +83693,7 @@ var ViewType;
83693
83693
  ViewType["Inbox"] = "inbox";
83694
83694
  ViewType["Initiative"] = "initiative";
83695
83695
  ViewType["Initiatives"] = "initiatives";
83696
+ ViewType["IssueIdentifiers"] = "issueIdentifiers";
83696
83697
  ViewType["Label"] = "label";
83697
83698
  ViewType["MyIssues"] = "myIssues";
83698
83699
  ViewType["MyIssuesActivity"] = "myIssuesActivity";
@@ -85112,6 +85113,100 @@ const UserNotificationSubscriptionFragmentDoc = {
85112
85113
  },
85113
85114
  ],
85114
85115
  };
85116
+ const AuthOrganizationFragmentDoc = {
85117
+ kind: "Document",
85118
+ definitions: [
85119
+ {
85120
+ kind: "FragmentDefinition",
85121
+ name: { kind: "Name", value: "AuthOrganization" },
85122
+ typeCondition: { kind: "NamedType", name: { kind: "Name", value: "AuthOrganization" } },
85123
+ selectionSet: {
85124
+ kind: "SelectionSet",
85125
+ selections: [
85126
+ { kind: "Field", name: { kind: "Name", value: "__typename" } },
85127
+ { kind: "Field", name: { kind: "Name", value: "allowedAuthServices" } },
85128
+ { kind: "Field", name: { kind: "Name", value: "previousUrlKeys" } },
85129
+ { kind: "Field", name: { kind: "Name", value: "serviceId" } },
85130
+ { kind: "Field", name: { kind: "Name", value: "logoUrl" } },
85131
+ { kind: "Field", name: { kind: "Name", value: "name" } },
85132
+ { kind: "Field", name: { kind: "Name", value: "urlKey" } },
85133
+ { kind: "Field", name: { kind: "Name", value: "region" } },
85134
+ { kind: "Field", name: { kind: "Name", value: "deletionRequestedAt" } },
85135
+ { kind: "Field", name: { kind: "Name", value: "id" } },
85136
+ { kind: "Field", name: { kind: "Name", value: "samlEnabled" } },
85137
+ { kind: "Field", name: { kind: "Name", value: "scimEnabled" } },
85138
+ { kind: "Field", name: { kind: "Name", value: "userCount" } },
85139
+ ],
85140
+ },
85141
+ },
85142
+ ],
85143
+ };
85144
+ const AuthUserFragmentDoc = {
85145
+ kind: "Document",
85146
+ definitions: [
85147
+ {
85148
+ kind: "FragmentDefinition",
85149
+ name: { kind: "Name", value: "AuthUser" },
85150
+ typeCondition: { kind: "NamedType", name: { kind: "Name", value: "AuthUser" } },
85151
+ selectionSet: {
85152
+ kind: "SelectionSet",
85153
+ selections: [
85154
+ { kind: "Field", name: { kind: "Name", value: "__typename" } },
85155
+ { kind: "Field", name: { kind: "Name", value: "avatarUrl" } },
85156
+ {
85157
+ kind: "Field",
85158
+ name: { kind: "Name", value: "organization" },
85159
+ selectionSet: {
85160
+ kind: "SelectionSet",
85161
+ selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "AuthOrganization" } }],
85162
+ },
85163
+ },
85164
+ { kind: "Field", name: { kind: "Name", value: "displayName" } },
85165
+ { kind: "Field", name: { kind: "Name", value: "email" } },
85166
+ { kind: "Field", name: { kind: "Name", value: "name" } },
85167
+ { kind: "Field", name: { kind: "Name", value: "userAccountId" } },
85168
+ { kind: "Field", name: { kind: "Name", value: "active" } },
85169
+ { kind: "Field", name: { kind: "Name", value: "id" } },
85170
+ ],
85171
+ },
85172
+ },
85173
+ ],
85174
+ };
85175
+ const AuthEmailIntakeAddressFragmentDoc = {
85176
+ kind: "Document",
85177
+ definitions: [
85178
+ {
85179
+ kind: "FragmentDefinition",
85180
+ name: { kind: "Name", value: "AuthEmailIntakeAddress" },
85181
+ typeCondition: { kind: "NamedType", name: { kind: "Name", value: "AuthEmailIntakeAddress" } },
85182
+ selectionSet: {
85183
+ kind: "SelectionSet",
85184
+ selections: [
85185
+ { kind: "Field", name: { kind: "Name", value: "__typename" } },
85186
+ {
85187
+ kind: "Field",
85188
+ name: { kind: "Name", value: "organization" },
85189
+ selectionSet: {
85190
+ kind: "SelectionSet",
85191
+ selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "AuthOrganization" } }],
85192
+ },
85193
+ },
85194
+ {
85195
+ kind: "Field",
85196
+ name: { kind: "Name", value: "creator" },
85197
+ selectionSet: {
85198
+ kind: "SelectionSet",
85199
+ selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "AuthUser" } }],
85200
+ },
85201
+ },
85202
+ { kind: "Field", name: { kind: "Name", value: "id" } },
85203
+ { kind: "Field", name: { kind: "Name", value: "address" } },
85204
+ { kind: "Field", name: { kind: "Name", value: "enabled" } },
85205
+ ],
85206
+ },
85207
+ },
85208
+ ],
85209
+ };
85115
85210
  const AuthOrganizationInviteFragmentDoc = {
85116
85211
  kind: "Document",
85117
85212
  definitions: [
@@ -85442,6 +85537,25 @@ const ApplicationFragmentDoc = {
85442
85537
  },
85443
85538
  ],
85444
85539
  };
85540
+ const SharedSlackSettingsFragmentDoc = {
85541
+ kind: "Document",
85542
+ definitions: [
85543
+ {
85544
+ kind: "FragmentDefinition",
85545
+ name: { kind: "Name", value: "SharedSlackSettings" },
85546
+ typeCondition: { kind: "NamedType", name: { kind: "Name", value: "SharedSlackSettings" } },
85547
+ selectionSet: {
85548
+ kind: "SelectionSet",
85549
+ selections: [
85550
+ { kind: "Field", name: { kind: "Name", value: "__typename" } },
85551
+ { kind: "Field", name: { kind: "Name", value: "enterpriseName" } },
85552
+ { kind: "Field", name: { kind: "Name", value: "teamId" } },
85553
+ { kind: "Field", name: { kind: "Name", value: "teamName" } },
85554
+ ],
85555
+ },
85556
+ },
85557
+ ],
85558
+ };
85445
85559
  const FrontSettingsFragmentDoc = {
85446
85560
  kind: "Document",
85447
85561
  definitions: [
@@ -85781,6 +85895,9 @@ const SlackSettingsFragmentDoc = {
85781
85895
  kind: "SelectionSet",
85782
85896
  selections: [
85783
85897
  { kind: "Field", name: { kind: "Name", value: "__typename" } },
85898
+ { kind: "Field", name: { kind: "Name", value: "enterpriseName" } },
85899
+ { kind: "Field", name: { kind: "Name", value: "teamId" } },
85900
+ { kind: "Field", name: { kind: "Name", value: "teamName" } },
85784
85901
  { kind: "Field", name: { kind: "Name", value: "linkOnIssueIdMention" } },
85785
85902
  ],
85786
85903
  },
@@ -85849,6 +85966,9 @@ const SlackAsksSettingsFragmentDoc = {
85849
85966
  kind: "SelectionSet",
85850
85967
  selections: [
85851
85968
  { kind: "Field", name: { kind: "Name", value: "__typename" } },
85969
+ { kind: "Field", name: { kind: "Name", value: "enterpriseName" } },
85970
+ { kind: "Field", name: { kind: "Name", value: "teamId" } },
85971
+ { kind: "Field", name: { kind: "Name", value: "teamName" } },
85852
85972
  {
85853
85973
  kind: "Field",
85854
85974
  name: { kind: "Name", value: "slackChannelMapping" },
@@ -86566,64 +86686,6 @@ const AuthOauthClientFragmentDoc = {
86566
86686
  },
86567
86687
  ],
86568
86688
  };
86569
- const AuthOrganizationFragmentDoc = {
86570
- kind: "Document",
86571
- definitions: [
86572
- {
86573
- kind: "FragmentDefinition",
86574
- name: { kind: "Name", value: "AuthOrganization" },
86575
- typeCondition: { kind: "NamedType", name: { kind: "Name", value: "AuthOrganization" } },
86576
- selectionSet: {
86577
- kind: "SelectionSet",
86578
- selections: [
86579
- { kind: "Field", name: { kind: "Name", value: "__typename" } },
86580
- { kind: "Field", name: { kind: "Name", value: "allowedAuthServices" } },
86581
- { kind: "Field", name: { kind: "Name", value: "previousUrlKeys" } },
86582
- { kind: "Field", name: { kind: "Name", value: "serviceId" } },
86583
- { kind: "Field", name: { kind: "Name", value: "logoUrl" } },
86584
- { kind: "Field", name: { kind: "Name", value: "name" } },
86585
- { kind: "Field", name: { kind: "Name", value: "urlKey" } },
86586
- { kind: "Field", name: { kind: "Name", value: "deletionRequestedAt" } },
86587
- { kind: "Field", name: { kind: "Name", value: "id" } },
86588
- { kind: "Field", name: { kind: "Name", value: "samlEnabled" } },
86589
- { kind: "Field", name: { kind: "Name", value: "scimEnabled" } },
86590
- { kind: "Field", name: { kind: "Name", value: "userCount" } },
86591
- ],
86592
- },
86593
- },
86594
- ],
86595
- };
86596
- const AuthUserFragmentDoc = {
86597
- kind: "Document",
86598
- definitions: [
86599
- {
86600
- kind: "FragmentDefinition",
86601
- name: { kind: "Name", value: "AuthUser" },
86602
- typeCondition: { kind: "NamedType", name: { kind: "Name", value: "AuthUser" } },
86603
- selectionSet: {
86604
- kind: "SelectionSet",
86605
- selections: [
86606
- { kind: "Field", name: { kind: "Name", value: "__typename" } },
86607
- { kind: "Field", name: { kind: "Name", value: "avatarUrl" } },
86608
- {
86609
- kind: "Field",
86610
- name: { kind: "Name", value: "organization" },
86611
- selectionSet: {
86612
- kind: "SelectionSet",
86613
- selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "AuthOrganization" } }],
86614
- },
86615
- },
86616
- { kind: "Field", name: { kind: "Name", value: "displayName" } },
86617
- { kind: "Field", name: { kind: "Name", value: "email" } },
86618
- { kind: "Field", name: { kind: "Name", value: "name" } },
86619
- { kind: "Field", name: { kind: "Name", value: "userAccountId" } },
86620
- { kind: "Field", name: { kind: "Name", value: "active" } },
86621
- { kind: "Field", name: { kind: "Name", value: "id" } },
86622
- ],
86623
- },
86624
- },
86625
- ],
86626
- };
86627
86689
  const OauthTokenFragmentDoc = {
86628
86690
  kind: "Document",
86629
86691
  definitions: [
@@ -87372,6 +87434,7 @@ const DocumentFragmentDoc = {
87372
87434
  selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }],
87373
87435
  },
87374
87436
  },
87437
+ { kind: "Field", name: { kind: "Name", value: "hiddenAt" } },
87375
87438
  { kind: "Field", name: { kind: "Name", value: "archivedAt" } },
87376
87439
  { kind: "Field", name: { kind: "Name", value: "createdAt" } },
87377
87440
  { kind: "Field", name: { kind: "Name", value: "id" } },
@@ -87554,6 +87617,7 @@ const DocumentSearchResultFragmentDoc = {
87554
87617
  selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }],
87555
87618
  },
87556
87619
  },
87620
+ { kind: "Field", name: { kind: "Name", value: "hiddenAt" } },
87557
87621
  { kind: "Field", name: { kind: "Name", value: "archivedAt" } },
87558
87622
  { kind: "Field", name: { kind: "Name", value: "createdAt" } },
87559
87623
  { kind: "Field", name: { kind: "Name", value: "id" } },
@@ -88661,6 +88725,14 @@ const IssueFragmentDoc = {
88661
88725
  selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "ActorBot" } }],
88662
88726
  },
88663
88727
  },
88728
+ {
88729
+ kind: "Field",
88730
+ name: { kind: "Name", value: "sourceComment" },
88731
+ selectionSet: {
88732
+ kind: "SelectionSet",
88733
+ selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }],
88734
+ },
88735
+ },
88664
88736
  {
88665
88737
  kind: "Field",
88666
88738
  name: { kind: "Name", value: "cycle" },
@@ -89497,6 +89569,14 @@ const IssueSearchResultFragmentDoc = {
89497
89569
  selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "ActorBot" } }],
89498
89570
  },
89499
89571
  },
89572
+ {
89573
+ kind: "Field",
89574
+ name: { kind: "Name", value: "sourceComment" },
89575
+ selectionSet: {
89576
+ kind: "SelectionSet",
89577
+ selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }],
89578
+ },
89579
+ },
89500
89580
  {
89501
89581
  kind: "Field",
89502
89582
  name: { kind: "Name", value: "cycle" },
@@ -90076,6 +90156,7 @@ const OrganizationInviteFullDetailsPayloadFragmentDoc = {
90076
90156
  kind: "SelectionSet",
90077
90157
  selections: [
90078
90158
  { kind: "Field", name: { kind: "Name", value: "__typename" } },
90159
+ { kind: "Field", name: { kind: "Name", value: "allowedAuthServices" } },
90079
90160
  { kind: "Field", name: { kind: "Name", value: "organizationId" } },
90080
90161
  { kind: "Field", name: { kind: "Name", value: "organizationName" } },
90081
90162
  { kind: "Field", name: { kind: "Name", value: "email" } },
@@ -90089,6 +90170,28 @@ const OrganizationInviteFullDetailsPayloadFragmentDoc = {
90089
90170
  },
90090
90171
  ],
90091
90172
  };
90173
+ const OrganizationInviteLinkDetailsPayloadFragmentDoc = {
90174
+ kind: "Document",
90175
+ definitions: [
90176
+ {
90177
+ kind: "FragmentDefinition",
90178
+ name: { kind: "Name", value: "OrganizationInviteLinkDetailsPayload" },
90179
+ typeCondition: { kind: "NamedType", name: { kind: "Name", value: "OrganizationInviteLinkDetailsPayload" } },
90180
+ selectionSet: {
90181
+ kind: "SelectionSet",
90182
+ selections: [
90183
+ { kind: "Field", name: { kind: "Name", value: "__typename" } },
90184
+ { kind: "Field", name: { kind: "Name", value: "allowedAuthServices" } },
90185
+ { kind: "Field", name: { kind: "Name", value: "organizationId" } },
90186
+ { kind: "Field", name: { kind: "Name", value: "organizationName" } },
90187
+ { kind: "Field", name: { kind: "Name", value: "organizationRegion" } },
90188
+ { kind: "Field", name: { kind: "Name", value: "organizationUrlKey" } },
90189
+ { kind: "Field", name: { kind: "Name", value: "organizationLogoUrl" } },
90190
+ ],
90191
+ },
90192
+ },
90193
+ ],
90194
+ };
90092
90195
  const OrganizationInvitePayloadFragmentDoc = {
90093
90196
  kind: "Document",
90094
90197
  definitions: [
@@ -90133,6 +90236,24 @@ const OrganizationPayloadFragmentDoc = {
90133
90236
  },
90134
90237
  ],
90135
90238
  };
90239
+ const OrganizationRegionResponseFragmentDoc = {
90240
+ kind: "Document",
90241
+ definitions: [
90242
+ {
90243
+ kind: "FragmentDefinition",
90244
+ name: { kind: "Name", value: "OrganizationRegionResponse" },
90245
+ typeCondition: { kind: "NamedType", name: { kind: "Name", value: "OrganizationRegionResponse" } },
90246
+ selectionSet: {
90247
+ kind: "SelectionSet",
90248
+ selections: [
90249
+ { kind: "Field", name: { kind: "Name", value: "__typename" } },
90250
+ { kind: "Field", name: { kind: "Name", value: "region" } },
90251
+ { kind: "Field", name: { kind: "Name", value: "success" } },
90252
+ ],
90253
+ },
90254
+ },
90255
+ ],
90256
+ };
90136
90257
  const OrganizationStartPlusTrialPayloadFragmentDoc = {
90137
90258
  kind: "Document",
90138
90259
  definitions: [
@@ -90219,7 +90340,6 @@ const ProjectFragmentDoc = {
90219
90340
  { kind: "Field", name: { kind: "Name", value: "projectUpdateRemindersPausedUntilAt" } },
90220
90341
  { kind: "Field", name: { kind: "Name", value: "scopeHistory" } },
90221
90342
  { kind: "Field", name: { kind: "Name", value: "issueCountHistory" } },
90222
- { kind: "Field", name: { kind: "Name", value: "state" } },
90223
90343
  { kind: "Field", name: { kind: "Name", value: "id" } },
90224
90344
  {
90225
90345
  kind: "Field",
@@ -90229,9 +90349,18 @@ const ProjectFragmentDoc = {
90229
90349
  selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }],
90230
90350
  },
90231
90351
  },
90352
+ {
90353
+ kind: "Field",
90354
+ name: { kind: "Name", value: "favorite" },
90355
+ selectionSet: {
90356
+ kind: "SelectionSet",
90357
+ selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }],
90358
+ },
90359
+ },
90232
90360
  { kind: "Field", name: { kind: "Name", value: "slackIssueComments" } },
90233
90361
  { kind: "Field", name: { kind: "Name", value: "slackNewIssue" } },
90234
90362
  { kind: "Field", name: { kind: "Name", value: "slackIssueStatuses" } },
90363
+ { kind: "Field", name: { kind: "Name", value: "state" } },
90235
90364
  ],
90236
90365
  },
90237
90366
  },
@@ -90569,7 +90698,6 @@ const ProjectSearchResultFragmentDoc = {
90569
90698
  { kind: "Field", name: { kind: "Name", value: "projectUpdateRemindersPausedUntilAt" } },
90570
90699
  { kind: "Field", name: { kind: "Name", value: "scopeHistory" } },
90571
90700
  { kind: "Field", name: { kind: "Name", value: "issueCountHistory" } },
90572
- { kind: "Field", name: { kind: "Name", value: "state" } },
90573
90701
  { kind: "Field", name: { kind: "Name", value: "id" } },
90574
90702
  {
90575
90703
  kind: "Field",
@@ -90579,9 +90707,18 @@ const ProjectSearchResultFragmentDoc = {
90579
90707
  selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }],
90580
90708
  },
90581
90709
  },
90710
+ {
90711
+ kind: "Field",
90712
+ name: { kind: "Name", value: "favorite" },
90713
+ selectionSet: {
90714
+ kind: "SelectionSet",
90715
+ selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }],
90716
+ },
90717
+ },
90582
90718
  { kind: "Field", name: { kind: "Name", value: "slackIssueComments" } },
90583
90719
  { kind: "Field", name: { kind: "Name", value: "slackNewIssue" } },
90584
90720
  { kind: "Field", name: { kind: "Name", value: "slackIssueStatuses" } },
90721
+ { kind: "Field", name: { kind: "Name", value: "state" } },
90585
90722
  ],
90586
90723
  },
90587
90724
  },
@@ -100760,6 +100897,44 @@ const OrganizationInvitesDocument = {
100760
100897
  ...PageInfoFragmentDoc.definitions,
100761
100898
  ],
100762
100899
  };
100900
+ const OrganizationRegionDocument = {
100901
+ kind: "Document",
100902
+ definitions: [
100903
+ {
100904
+ kind: "OperationDefinition",
100905
+ operation: "query",
100906
+ name: { kind: "Name", value: "organizationRegion" },
100907
+ variableDefinitions: [
100908
+ {
100909
+ kind: "VariableDefinition",
100910
+ variable: { kind: "Variable", name: { kind: "Name", value: "id" } },
100911
+ type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "String" } } },
100912
+ },
100913
+ ],
100914
+ selectionSet: {
100915
+ kind: "SelectionSet",
100916
+ selections: [
100917
+ {
100918
+ kind: "Field",
100919
+ name: { kind: "Name", value: "organizationRegion" },
100920
+ arguments: [
100921
+ {
100922
+ kind: "Argument",
100923
+ name: { kind: "Name", value: "id" },
100924
+ value: { kind: "Variable", name: { kind: "Name", value: "id" } },
100925
+ },
100926
+ ],
100927
+ selectionSet: {
100928
+ kind: "SelectionSet",
100929
+ selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "OrganizationRegionResponse" } }],
100930
+ },
100931
+ },
100932
+ ],
100933
+ },
100934
+ },
100935
+ ...OrganizationRegionResponseFragmentDoc.definitions,
100936
+ ],
100937
+ };
100763
100938
  const ProjectDocument = {
100764
100939
  kind: "Document",
100765
100940
  definitions: [
@@ -107971,44 +108146,6 @@ const AttachmentLinkZendeskDocument = {
107971
108146
  ...AttachmentPayloadFragmentDoc.definitions,
107972
108147
  ],
107973
108148
  };
107974
- const AttachmentUnsyncSlackDocument = {
107975
- kind: "Document",
107976
- definitions: [
107977
- {
107978
- kind: "OperationDefinition",
107979
- operation: "mutation",
107980
- name: { kind: "Name", value: "attachmentUnsyncSlack" },
107981
- variableDefinitions: [
107982
- {
107983
- kind: "VariableDefinition",
107984
- variable: { kind: "Variable", name: { kind: "Name", value: "id" } },
107985
- type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "String" } } },
107986
- },
107987
- ],
107988
- selectionSet: {
107989
- kind: "SelectionSet",
107990
- selections: [
107991
- {
107992
- kind: "Field",
107993
- name: { kind: "Name", value: "attachmentUnsyncSlack" },
107994
- arguments: [
107995
- {
107996
- kind: "Argument",
107997
- name: { kind: "Name", value: "id" },
107998
- value: { kind: "Variable", name: { kind: "Name", value: "id" } },
107999
- },
108000
- ],
108001
- selectionSet: {
108002
- kind: "SelectionSet",
108003
- selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "AttachmentPayload" } }],
108004
- },
108005
- },
108006
- ],
108007
- },
108008
- },
108009
- ...AttachmentPayloadFragmentDoc.definitions,
108010
- ],
108011
- };
108012
108149
  const UpdateAttachmentDocument = {
108013
108150
  kind: "Document",
108014
108151
  definitions: [
@@ -116704,6 +116841,9 @@ var _generated_documents = /*#__PURE__*/Object.freeze({
116704
116841
  TeamNotificationSubscriptionFragmentDoc: TeamNotificationSubscriptionFragmentDoc,
116705
116842
  UserAccountFragmentDoc: UserAccountFragmentDoc,
116706
116843
  UserNotificationSubscriptionFragmentDoc: UserNotificationSubscriptionFragmentDoc,
116844
+ AuthOrganizationFragmentDoc: AuthOrganizationFragmentDoc,
116845
+ AuthUserFragmentDoc: AuthUserFragmentDoc,
116846
+ AuthEmailIntakeAddressFragmentDoc: AuthEmailIntakeAddressFragmentDoc,
116707
116847
  AuthOrganizationInviteFragmentDoc: AuthOrganizationInviteFragmentDoc,
116708
116848
  PaidSubscriptionFragmentDoc: PaidSubscriptionFragmentDoc,
116709
116849
  OrganizationFragmentDoc: OrganizationFragmentDoc,
@@ -116716,6 +116856,7 @@ var _generated_documents = /*#__PURE__*/Object.freeze({
116716
116856
  GithubOAuthTokenPayloadFragmentDoc: GithubOAuthTokenPayloadFragmentDoc,
116717
116857
  UserAuthorizedApplicationFragmentDoc: UserAuthorizedApplicationFragmentDoc,
116718
116858
  ApplicationFragmentDoc: ApplicationFragmentDoc,
116859
+ SharedSlackSettingsFragmentDoc: SharedSlackSettingsFragmentDoc,
116719
116860
  FrontSettingsFragmentDoc: FrontSettingsFragmentDoc,
116720
116861
  TeamRepoMappingFragmentDoc: TeamRepoMappingFragmentDoc,
116721
116862
  GitHubRepoFragmentDoc: GitHubRepoFragmentDoc,
@@ -116757,8 +116898,6 @@ var _generated_documents = /*#__PURE__*/Object.freeze({
116757
116898
  AuthApiKeyPayloadFragmentDoc: AuthApiKeyPayloadFragmentDoc,
116758
116899
  AuthIntegrationFragmentDoc: AuthIntegrationFragmentDoc,
116759
116900
  AuthOauthClientFragmentDoc: AuthOauthClientFragmentDoc,
116760
- AuthOrganizationFragmentDoc: AuthOrganizationFragmentDoc,
116761
- AuthUserFragmentDoc: AuthUserFragmentDoc,
116762
116901
  OauthTokenFragmentDoc: OauthTokenFragmentDoc,
116763
116902
  AuthOauthClientWithTokensFragmentDoc: AuthOauthClientWithTokensFragmentDoc,
116764
116903
  AuthOrganizationDomainFragmentDoc: AuthOrganizationDomainFragmentDoc,
@@ -116858,8 +116997,10 @@ var _generated_documents = /*#__PURE__*/Object.freeze({
116858
116997
  OrganizationInviteFragmentDoc: OrganizationInviteFragmentDoc,
116859
116998
  OrganizationInviteConnectionFragmentDoc: OrganizationInviteConnectionFragmentDoc,
116860
116999
  OrganizationInviteFullDetailsPayloadFragmentDoc: OrganizationInviteFullDetailsPayloadFragmentDoc,
117000
+ OrganizationInviteLinkDetailsPayloadFragmentDoc: OrganizationInviteLinkDetailsPayloadFragmentDoc,
116861
117001
  OrganizationInvitePayloadFragmentDoc: OrganizationInvitePayloadFragmentDoc,
116862
117002
  OrganizationPayloadFragmentDoc: OrganizationPayloadFragmentDoc,
117003
+ OrganizationRegionResponseFragmentDoc: OrganizationRegionResponseFragmentDoc,
116863
117004
  OrganizationStartPlusTrialPayloadFragmentDoc: OrganizationStartPlusTrialPayloadFragmentDoc,
116864
117005
  ProjectFragmentDoc: ProjectFragmentDoc,
116865
117006
  ProjectConnectionFragmentDoc: ProjectConnectionFragmentDoc,
@@ -117036,6 +117177,7 @@ var _generated_documents = /*#__PURE__*/Object.freeze({
117036
117177
  OrganizationExistsDocument: OrganizationExistsDocument,
117037
117178
  OrganizationInviteDocument: OrganizationInviteDocument,
117038
117179
  OrganizationInvitesDocument: OrganizationInvitesDocument,
117180
+ OrganizationRegionDocument: OrganizationRegionDocument,
117039
117181
  ProjectDocument: ProjectDocument,
117040
117182
  Project_DocumentsDocument: Project_DocumentsDocument,
117041
117183
  Project_IssuesDocument: Project_IssuesDocument,
@@ -117119,7 +117261,6 @@ var _generated_documents = /*#__PURE__*/Object.freeze({
117119
117261
  AttachmentLinkSlackDocument: AttachmentLinkSlackDocument,
117120
117262
  AttachmentLinkUrlDocument: AttachmentLinkUrlDocument,
117121
117263
  AttachmentLinkZendeskDocument: AttachmentLinkZendeskDocument,
117122
- AttachmentUnsyncSlackDocument: AttachmentUnsyncSlackDocument,
117123
117264
  UpdateAttachmentDocument: UpdateAttachmentDocument,
117124
117265
  CreateCommentDocument: CreateCommentDocument,
117125
117266
  DeleteCommentDocument: DeleteCommentDocument,
@@ -117777,6 +117918,22 @@ class AuthApiKeyPayload extends Request {
117777
117918
  this.authApiKey = new AuthApiKey(request, data.authApiKey);
117778
117919
  }
117779
117920
  }
117921
+ /**
117922
+ * An email address that can be used for submitting issues.
117923
+ *
117924
+ * @param request - function to call the graphql client
117925
+ * @param data - L.AuthEmailIntakeAddressFragment response data
117926
+ */
117927
+ class AuthEmailIntakeAddress extends Request {
117928
+ constructor(request, data) {
117929
+ super(request);
117930
+ this.address = data.address;
117931
+ this.enabled = data.enabled;
117932
+ this.id = data.id;
117933
+ this.creator = data.creator ? new AuthUser(request, data.creator) : undefined;
117934
+ this.organization = new AuthOrganization(request, data.organization);
117935
+ }
117936
+ }
117780
117937
  /**
117781
117938
  * AuthIntegration model
117782
117939
  *
@@ -117881,6 +118038,7 @@ class AuthOrganization extends Request {
117881
118038
  this.logoUrl = (_b = data.logoUrl) !== null && _b !== void 0 ? _b : undefined;
117882
118039
  this.name = data.name;
117883
118040
  this.previousUrlKeys = data.previousUrlKeys;
118041
+ this.region = data.region;
117884
118042
  this.samlEnabled = data.samlEnabled;
117885
118043
  this.scimEnabled = data.scimEnabled;
117886
118044
  this.serviceId = data.serviceId;
@@ -118607,20 +118765,21 @@ class DeletePayload extends Request {
118607
118765
  */
118608
118766
  class Document extends Request {
118609
118767
  constructor(request, data) {
118610
- var _a, _b, _c, _d, _e, _f, _g;
118768
+ var _a, _b, _c, _d, _e, _f, _g, _h;
118611
118769
  super(request);
118612
118770
  this.archivedAt = (_a = parseDate(data.archivedAt)) !== null && _a !== void 0 ? _a : undefined;
118613
118771
  this.color = (_b = data.color) !== null && _b !== void 0 ? _b : undefined;
118614
118772
  this.content = (_c = data.content) !== null && _c !== void 0 ? _c : undefined;
118615
118773
  this.createdAt = (_d = parseDate(data.createdAt)) !== null && _d !== void 0 ? _d : new Date();
118616
- this.icon = (_e = data.icon) !== null && _e !== void 0 ? _e : undefined;
118774
+ this.hiddenAt = (_e = parseDate(data.hiddenAt)) !== null && _e !== void 0 ? _e : undefined;
118775
+ this.icon = (_f = data.icon) !== null && _f !== void 0 ? _f : undefined;
118617
118776
  this.id = data.id;
118618
118777
  this.slugId = data.slugId;
118619
118778
  this.sortOrder = data.sortOrder;
118620
118779
  this.title = data.title;
118621
- this.updatedAt = (_f = parseDate(data.updatedAt)) !== null && _f !== void 0 ? _f : new Date();
118780
+ this.updatedAt = (_g = parseDate(data.updatedAt)) !== null && _g !== void 0 ? _g : new Date();
118622
118781
  this._creator = data.creator;
118623
- this._lastAppliedTemplate = (_g = data.lastAppliedTemplate) !== null && _g !== void 0 ? _g : undefined;
118782
+ this._lastAppliedTemplate = (_h = data.lastAppliedTemplate) !== null && _h !== void 0 ? _h : undefined;
118624
118783
  this._project = data.project;
118625
118784
  this._updatedBy = data.updatedBy;
118626
118785
  }
@@ -118802,21 +118961,22 @@ class DocumentSearchPayload extends Request {
118802
118961
  */
118803
118962
  class DocumentSearchResult extends Request {
118804
118963
  constructor(request, data) {
118805
- var _a, _b, _c, _d, _e, _f, _g;
118964
+ var _a, _b, _c, _d, _e, _f, _g, _h;
118806
118965
  super(request);
118807
118966
  this.archivedAt = (_a = parseDate(data.archivedAt)) !== null && _a !== void 0 ? _a : undefined;
118808
118967
  this.color = (_b = data.color) !== null && _b !== void 0 ? _b : undefined;
118809
118968
  this.content = (_c = data.content) !== null && _c !== void 0 ? _c : undefined;
118810
118969
  this.createdAt = (_d = parseDate(data.createdAt)) !== null && _d !== void 0 ? _d : new Date();
118811
- this.icon = (_e = data.icon) !== null && _e !== void 0 ? _e : undefined;
118970
+ this.hiddenAt = (_e = parseDate(data.hiddenAt)) !== null && _e !== void 0 ? _e : undefined;
118971
+ this.icon = (_f = data.icon) !== null && _f !== void 0 ? _f : undefined;
118812
118972
  this.id = data.id;
118813
118973
  this.metadata = data.metadata;
118814
118974
  this.slugId = data.slugId;
118815
118975
  this.sortOrder = data.sortOrder;
118816
118976
  this.title = data.title;
118817
- this.updatedAt = (_f = parseDate(data.updatedAt)) !== null && _f !== void 0 ? _f : new Date();
118977
+ this.updatedAt = (_g = parseDate(data.updatedAt)) !== null && _g !== void 0 ? _g : new Date();
118818
118978
  this._creator = data.creator;
118819
- this._lastAppliedTemplate = (_g = data.lastAppliedTemplate) !== null && _g !== void 0 ? _g : undefined;
118979
+ this._lastAppliedTemplate = (_h = data.lastAppliedTemplate) !== null && _h !== void 0 ? _h : undefined;
118820
118980
  this._project = data.project;
118821
118981
  this._updatedBy = data.updatedBy;
118822
118982
  }
@@ -119804,7 +119964,7 @@ class IntercomSettings extends Request {
119804
119964
  */
119805
119965
  class Issue extends Request {
119806
119966
  constructor(request, data) {
119807
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1;
119967
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2;
119808
119968
  super(request);
119809
119969
  this.archivedAt = (_a = parseDate(data.archivedAt)) !== null && _a !== void 0 ? _a : undefined;
119810
119970
  this.autoArchivedAt = (_b = parseDate(data.autoArchivedAt)) !== null && _b !== void 0 ? _b : undefined;
@@ -119846,6 +120006,7 @@ class Issue extends Request {
119846
120006
  this._project = (_z = data.project) !== null && _z !== void 0 ? _z : undefined;
119847
120007
  this._projectMilestone = (_0 = data.projectMilestone) !== null && _0 !== void 0 ? _0 : undefined;
119848
120008
  this._snoozedBy = (_1 = data.snoozedBy) !== null && _1 !== void 0 ? _1 : undefined;
120009
+ this._sourceComment = (_2 = data.sourceComment) !== null && _2 !== void 0 ? _2 : undefined;
119849
120010
  this._state = data.state;
119850
120011
  this._team = data.team;
119851
120012
  }
@@ -119905,6 +120066,11 @@ class Issue extends Request {
119905
120066
  var _a, _b;
119906
120067
  return ((_a = this._snoozedBy) === null || _a === void 0 ? void 0 : _a.id) ? new UserQuery(this._request).fetch((_b = this._snoozedBy) === null || _b === void 0 ? void 0 : _b.id) : undefined;
119907
120068
  }
120069
+ /** The comment that this issue was created from. */
120070
+ get sourceComment() {
120071
+ var _a, _b;
120072
+ return ((_a = this._sourceComment) === null || _a === void 0 ? void 0 : _a.id) ? new CommentQuery(this._request).fetch({ id: (_b = this._sourceComment) === null || _b === void 0 ? void 0 : _b.id }) : undefined;
120073
+ }
119908
120074
  /** The workflow state that the issue is associated with. */
119909
120075
  get state() {
119910
120076
  return new WorkflowStateQuery(this._request).fetch(this._state.id);
@@ -120550,7 +120716,7 @@ class IssueSearchPayload extends Request {
120550
120716
  */
120551
120717
  class IssueSearchResult extends Request {
120552
120718
  constructor(request, data) {
120553
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1;
120719
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2;
120554
120720
  super(request);
120555
120721
  this.archivedAt = (_a = parseDate(data.archivedAt)) !== null && _a !== void 0 ? _a : undefined;
120556
120722
  this.autoArchivedAt = (_b = parseDate(data.autoArchivedAt)) !== null && _b !== void 0 ? _b : undefined;
@@ -120593,6 +120759,7 @@ class IssueSearchResult extends Request {
120593
120759
  this._project = (_z = data.project) !== null && _z !== void 0 ? _z : undefined;
120594
120760
  this._projectMilestone = (_0 = data.projectMilestone) !== null && _0 !== void 0 ? _0 : undefined;
120595
120761
  this._snoozedBy = (_1 = data.snoozedBy) !== null && _1 !== void 0 ? _1 : undefined;
120762
+ this._sourceComment = (_2 = data.sourceComment) !== null && _2 !== void 0 ? _2 : undefined;
120596
120763
  this._state = data.state;
120597
120764
  this._team = data.team;
120598
120765
  }
@@ -120652,6 +120819,11 @@ class IssueSearchResult extends Request {
120652
120819
  var _a, _b;
120653
120820
  return ((_a = this._snoozedBy) === null || _a === void 0 ? void 0 : _a.id) ? new UserQuery(this._request).fetch((_b = this._snoozedBy) === null || _b === void 0 ? void 0 : _b.id) : undefined;
120654
120821
  }
120822
+ /** The comment that this issue was created from. */
120823
+ get sourceComment() {
120824
+ var _a, _b;
120825
+ return ((_a = this._sourceComment) === null || _a === void 0 ? void 0 : _a.id) ? new CommentQuery(this._request).fetch({ id: (_b = this._sourceComment) === null || _b === void 0 ? void 0 : _b.id }) : undefined;
120826
+ }
120655
120827
  /** The workflow state that the issue is associated with. */
120656
120828
  get state() {
120657
120829
  return new WorkflowStateQuery(this._request).fetch(this._state.id);
@@ -121403,6 +121575,7 @@ class OrganizationInviteFullDetailsPayload extends Request {
121403
121575
  var _a, _b;
121404
121576
  super(request);
121405
121577
  this.accepted = data.accepted;
121578
+ this.allowedAuthServices = data.allowedAuthServices;
121406
121579
  this.createdAt = (_a = parseDate(data.createdAt)) !== null && _a !== void 0 ? _a : new Date();
121407
121580
  this.email = data.email;
121408
121581
  this.expired = data.expired;
@@ -121412,6 +121585,24 @@ class OrganizationInviteFullDetailsPayload extends Request {
121412
121585
  this.organizationName = data.organizationName;
121413
121586
  }
121414
121587
  }
121588
+ /**
121589
+ * OrganizationInviteLinkDetailsPayload model
121590
+ *
121591
+ * @param request - function to call the graphql client
121592
+ * @param data - L.OrganizationInviteLinkDetailsPayloadFragment response data
121593
+ */
121594
+ class OrganizationInviteLinkDetailsPayload extends Request {
121595
+ constructor(request, data) {
121596
+ var _a, _b, _c, _d, _e;
121597
+ super(request);
121598
+ this.allowedAuthServices = data.allowedAuthServices;
121599
+ this.organizationId = (_a = data.organizationId) !== null && _a !== void 0 ? _a : undefined;
121600
+ this.organizationLogoUrl = (_b = data.organizationLogoUrl) !== null && _b !== void 0 ? _b : undefined;
121601
+ this.organizationName = (_c = data.organizationName) !== null && _c !== void 0 ? _c : undefined;
121602
+ this.organizationRegion = (_d = data.organizationRegion) !== null && _d !== void 0 ? _d : undefined;
121603
+ this.organizationUrlKey = (_e = data.organizationUrlKey) !== null && _e !== void 0 ? _e : undefined;
121604
+ }
121605
+ }
121415
121606
  /**
121416
121607
  * OrganizationInvitePayload model
121417
121608
  *
@@ -121447,6 +121638,20 @@ class OrganizationPayload extends Request {
121447
121638
  return new OrganizationQuery(this._request).fetch();
121448
121639
  }
121449
121640
  }
121641
+ /**
121642
+ * OrganizationRegionResponse model
121643
+ *
121644
+ * @param request - function to call the graphql client
121645
+ * @param data - L.OrganizationRegionResponseFragment response data
121646
+ */
121647
+ class OrganizationRegionResponse extends Request {
121648
+ constructor(request, data) {
121649
+ var _a;
121650
+ super(request);
121651
+ this.region = (_a = data.region) !== null && _a !== void 0 ? _a : undefined;
121652
+ this.success = data.success;
121653
+ }
121654
+ }
121450
121655
  /**
121451
121656
  * OrganizationStartPlusTrialPayload model
121452
121657
  *
@@ -121530,7 +121735,7 @@ class PaidSubscription extends Request {
121530
121735
  */
121531
121736
  class Project extends Request {
121532
121737
  constructor(request, data) {
121533
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t;
121738
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u;
121534
121739
  super(request);
121535
121740
  this.archivedAt = (_a = parseDate(data.archivedAt)) !== null && _a !== void 0 ? _a : undefined;
121536
121741
  this.autoArchivedAt = (_b = parseDate(data.autoArchivedAt)) !== null && _b !== void 0 ? _b : undefined;
@@ -121565,9 +121770,10 @@ class Project extends Request {
121565
121770
  this.url = data.url;
121566
121771
  this._convertedFromIssue = (_p = data.convertedFromIssue) !== null && _p !== void 0 ? _p : undefined;
121567
121772
  this._creator = (_q = data.creator) !== null && _q !== void 0 ? _q : undefined;
121568
- this._integrationsSettings = (_r = data.integrationsSettings) !== null && _r !== void 0 ? _r : undefined;
121569
- this._lastAppliedTemplate = (_s = data.lastAppliedTemplate) !== null && _s !== void 0 ? _s : undefined;
121570
- this._lead = (_t = data.lead) !== null && _t !== void 0 ? _t : undefined;
121773
+ this._favorite = (_r = data.favorite) !== null && _r !== void 0 ? _r : undefined;
121774
+ this._integrationsSettings = (_s = data.integrationsSettings) !== null && _s !== void 0 ? _s : undefined;
121775
+ this._lastAppliedTemplate = (_t = data.lastAppliedTemplate) !== null && _t !== void 0 ? _t : undefined;
121776
+ this._lead = (_u = data.lead) !== null && _u !== void 0 ? _u : undefined;
121571
121777
  }
121572
121778
  /** The project was created based on this issue. */
121573
121779
  get convertedFromIssue() {
@@ -121579,6 +121785,11 @@ class Project extends Request {
121579
121785
  var _a, _b;
121580
121786
  return ((_a = this._creator) === null || _a === void 0 ? void 0 : _a.id) ? new UserQuery(this._request).fetch((_b = this._creator) === null || _b === void 0 ? void 0 : _b.id) : undefined;
121581
121787
  }
121788
+ /** The user's favorite associated with this project. */
121789
+ get favorite() {
121790
+ var _a, _b;
121791
+ return ((_a = this._favorite) === null || _a === void 0 ? void 0 : _a.id) ? new FavoriteQuery(this._request).fetch((_b = this._favorite) === null || _b === void 0 ? void 0 : _b.id) : undefined;
121792
+ }
121582
121793
  /** Settings for all integrations associated with that project. */
121583
121794
  get integrationsSettings() {
121584
121795
  var _a, _b;
@@ -121987,7 +122198,7 @@ class ProjectSearchPayload extends Request {
121987
122198
  */
121988
122199
  class ProjectSearchResult extends Request {
121989
122200
  constructor(request, data) {
121990
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t;
122201
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u;
121991
122202
  super(request);
121992
122203
  this.archivedAt = (_a = parseDate(data.archivedAt)) !== null && _a !== void 0 ? _a : undefined;
121993
122204
  this.autoArchivedAt = (_b = parseDate(data.autoArchivedAt)) !== null && _b !== void 0 ? _b : undefined;
@@ -122023,9 +122234,10 @@ class ProjectSearchResult extends Request {
122023
122234
  this.url = data.url;
122024
122235
  this._convertedFromIssue = (_p = data.convertedFromIssue) !== null && _p !== void 0 ? _p : undefined;
122025
122236
  this._creator = (_q = data.creator) !== null && _q !== void 0 ? _q : undefined;
122026
- this._integrationsSettings = (_r = data.integrationsSettings) !== null && _r !== void 0 ? _r : undefined;
122027
- this._lastAppliedTemplate = (_s = data.lastAppliedTemplate) !== null && _s !== void 0 ? _s : undefined;
122028
- this._lead = (_t = data.lead) !== null && _t !== void 0 ? _t : undefined;
122237
+ this._favorite = (_r = data.favorite) !== null && _r !== void 0 ? _r : undefined;
122238
+ this._integrationsSettings = (_s = data.integrationsSettings) !== null && _s !== void 0 ? _s : undefined;
122239
+ this._lastAppliedTemplate = (_t = data.lastAppliedTemplate) !== null && _t !== void 0 ? _t : undefined;
122240
+ this._lead = (_u = data.lead) !== null && _u !== void 0 ? _u : undefined;
122029
122241
  }
122030
122242
  /** The project was created based on this issue. */
122031
122243
  get convertedFromIssue() {
@@ -122037,6 +122249,11 @@ class ProjectSearchResult extends Request {
122037
122249
  var _a, _b;
122038
122250
  return ((_a = this._creator) === null || _a === void 0 ? void 0 : _a.id) ? new UserQuery(this._request).fetch((_b = this._creator) === null || _b === void 0 ? void 0 : _b.id) : undefined;
122039
122251
  }
122252
+ /** The user's favorite associated with this project. */
122253
+ get favorite() {
122254
+ var _a, _b;
122255
+ return ((_a = this._favorite) === null || _a === void 0 ? void 0 : _a.id) ? new FavoriteQuery(this._request).fetch((_b = this._favorite) === null || _b === void 0 ? void 0 : _b.id) : undefined;
122256
+ }
122040
122257
  /** Settings for all integrations associated with that project. */
122041
122258
  get integrationsSettings() {
122042
122259
  var _a, _b;
@@ -122599,6 +122816,21 @@ class SentrySettings extends Request {
122599
122816
  this.organizationSlug = data.organizationSlug;
122600
122817
  }
122601
122818
  }
122819
+ /**
122820
+ * Shared Slack integration settings.
122821
+ *
122822
+ * @param request - function to call the graphql client
122823
+ * @param data - L.SharedSlackSettingsFragment response data
122824
+ */
122825
+ class SharedSlackSettings extends Request {
122826
+ constructor(request, data) {
122827
+ var _a, _b, _c;
122828
+ super(request);
122829
+ this.enterpriseName = (_a = data.enterpriseName) !== null && _a !== void 0 ? _a : undefined;
122830
+ this.teamId = (_b = data.teamId) !== null && _b !== void 0 ? _b : undefined;
122831
+ this.teamName = (_c = data.teamName) !== null && _c !== void 0 ? _c : undefined;
122832
+ }
122833
+ }
122602
122834
  /**
122603
122835
  * Slack Asks specific settings.
122604
122836
  *
@@ -122607,7 +122839,11 @@ class SentrySettings extends Request {
122607
122839
  */
122608
122840
  class SlackAsksSettings extends Request {
122609
122841
  constructor(request, data) {
122842
+ var _a, _b, _c;
122610
122843
  super(request);
122844
+ this.enterpriseName = (_a = data.enterpriseName) !== null && _a !== void 0 ? _a : undefined;
122845
+ this.teamId = (_b = data.teamId) !== null && _b !== void 0 ? _b : undefined;
122846
+ this.teamName = (_c = data.teamName) !== null && _c !== void 0 ? _c : undefined;
122611
122847
  this.slackChannelMapping = data.slackChannelMapping
122612
122848
  ? data.slackChannelMapping.map(node => new SlackChannelNameMapping(request, node))
122613
122849
  : undefined;
@@ -122693,8 +122929,12 @@ class SlackPostSettings extends Request {
122693
122929
  */
122694
122930
  class SlackSettings extends Request {
122695
122931
  constructor(request, data) {
122932
+ var _a, _b, _c;
122696
122933
  super(request);
122934
+ this.enterpriseName = (_a = data.enterpriseName) !== null && _a !== void 0 ? _a : undefined;
122697
122935
  this.linkOnIssueIdMention = data.linkOnIssueIdMention;
122936
+ this.teamId = (_b = data.teamId) !== null && _b !== void 0 ? _b : undefined;
122937
+ this.teamName = (_c = data.teamName) !== null && _c !== void 0 ? _c : undefined;
122698
122938
  }
122699
122939
  }
122700
122940
  /**
@@ -125397,6 +125637,31 @@ class OrganizationInvitesQuery extends Request {
125397
125637
  });
125398
125638
  }
125399
125639
  }
125640
+ /**
125641
+ * A fetchable OrganizationRegion Query
125642
+ *
125643
+ * @param request - function to call the graphql client
125644
+ */
125645
+ class OrganizationRegionQuery extends Request {
125646
+ constructor(request) {
125647
+ super(request);
125648
+ }
125649
+ /**
125650
+ * Call the OrganizationRegion query and return a OrganizationRegionResponse
125651
+ *
125652
+ * @param id - required id to pass to organizationRegion
125653
+ * @returns parsed response from OrganizationRegionQuery
125654
+ */
125655
+ fetch(id) {
125656
+ return __awaiter(this, void 0, void 0, function* () {
125657
+ const response = yield this._request(OrganizationRegionDocument, {
125658
+ id,
125659
+ });
125660
+ const data = response.organizationRegion;
125661
+ return new OrganizationRegionResponse(this._request, data);
125662
+ });
125663
+ }
125664
+ }
125400
125665
  /**
125401
125666
  * A fetchable Project Query
125402
125667
  *
@@ -126682,31 +126947,6 @@ class AttachmentLinkZendeskMutation extends Request {
126682
126947
  });
126683
126948
  }
126684
126949
  }
126685
- /**
126686
- * A fetchable AttachmentUnsyncSlack Mutation
126687
- *
126688
- * @param request - function to call the graphql client
126689
- */
126690
- class AttachmentUnsyncSlackMutation extends Request {
126691
- constructor(request) {
126692
- super(request);
126693
- }
126694
- /**
126695
- * Call the AttachmentUnsyncSlack mutation and return a AttachmentPayload
126696
- *
126697
- * @param id - required id to pass to attachmentUnsyncSlack
126698
- * @returns parsed response from AttachmentUnsyncSlackMutation
126699
- */
126700
- fetch(id) {
126701
- return __awaiter(this, void 0, void 0, function* () {
126702
- const response = yield this._request(AttachmentUnsyncSlackDocument, {
126703
- id,
126704
- });
126705
- const data = response.attachmentUnsyncSlack;
126706
- return new AttachmentPayload(this._request, data);
126707
- });
126708
- }
126709
- }
126710
126950
  /**
126711
126951
  * A fetchable UpdateAttachment Mutation
126712
126952
  *
@@ -134024,6 +134264,15 @@ class LinearSdk extends Request {
134024
134264
  organizationInvites(variables) {
134025
134265
  return new OrganizationInvitesQuery(this._request).fetch(variables);
134026
134266
  }
134267
+ /**
134268
+ * Fetch the region for the organization.
134269
+ *
134270
+ * @param id - required id to pass to organizationRegion
134271
+ * @returns OrganizationRegionResponse
134272
+ */
134273
+ organizationRegion(id) {
134274
+ return new OrganizationRegionQuery(this._request).fetch(id);
134275
+ }
134027
134276
  /**
134028
134277
  * One specific project.
134029
134278
  *
@@ -134517,15 +134766,6 @@ class LinearSdk extends Request {
134517
134766
  attachmentLinkZendesk(issueId, ticketId, variables) {
134518
134767
  return new AttachmentLinkZendeskMutation(this._request).fetch(issueId, ticketId, variables);
134519
134768
  }
134520
- /**
134521
- * [DEPRECATED] Unsyncs an existing synced Slack attachment.
134522
- *
134523
- * @param id - required id to pass to attachmentUnsyncSlack
134524
- * @returns AttachmentPayload
134525
- */
134526
- attachmentUnsyncSlack(id) {
134527
- return new AttachmentUnsyncSlackMutation(this._request).fetch(id);
134528
- }
134529
134769
  /**
134530
134770
  * Updates an existing issue attachment.
134531
134771
  *
@@ -134761,7 +135001,7 @@ class LinearSdk extends Request {
134761
135001
  return new EmailTokenUserAccountAuthMutation(this._request).fetch(input);
134762
135002
  }
134763
135003
  /**
134764
- * Unsubscribes the user from one type of emails.
135004
+ * Unsubscribes the user from one type of email.
134765
135005
  *
134766
135006
  * @param input - required input to pass to emailUnsubscribe
134767
135007
  * @returns EmailUnsubscribePayload
@@ -136358,6 +136598,23 @@ class LinearClient extends LinearSdk {
136358
136598
  this.options = parsedOptions;
136359
136599
  this.client = graphQLClient;
136360
136600
  }
136601
+ /**
136602
+ * Helper to paginate over all pages of a given connection query.
136603
+ * @param fn The query to paginate
136604
+ * @param args The arguments to pass to the query
136605
+ */
136606
+ paginate(fn, args) {
136607
+ return __awaiter(this, void 0, void 0, function* () {
136608
+ const boundFn = fn.bind(this);
136609
+ let connection = (yield boundFn(args));
136610
+ const nodes = connection.nodes;
136611
+ while (connection.pageInfo.hasNextPage) {
136612
+ connection = (yield boundFn(Object.assign(Object.assign({}, args), { after: connection.pageInfo.endCursor })));
136613
+ nodes.push(...connection.nodes);
136614
+ }
136615
+ return nodes;
136616
+ });
136617
+ }
136361
136618
  }
136362
136619
 
136363
136620
  const LINEAR_WEBHOOK_SIGNATURE_HEADER = "linear-signature";
@@ -136442,7 +136699,6 @@ exports.AttachmentLinkZendeskMutation = AttachmentLinkZendeskMutation;
136442
136699
  exports.AttachmentPayload = AttachmentPayload;
136443
136700
  exports.AttachmentQuery = AttachmentQuery;
136444
136701
  exports.AttachmentSourcesPayload = AttachmentSourcesPayload;
136445
- exports.AttachmentUnsyncSlackMutation = AttachmentUnsyncSlackMutation;
136446
136702
  exports.AttachmentsForUrlQuery = AttachmentsForUrlQuery;
136447
136703
  exports.AttachmentsQuery = AttachmentsQuery;
136448
136704
  exports.AuditEntriesQuery = AuditEntriesQuery;
@@ -136452,6 +136708,7 @@ exports.AuditEntryType = AuditEntryType;
136452
136708
  exports.AuditEntryTypesQuery = AuditEntryTypesQuery;
136453
136709
  exports.AuthApiKey = AuthApiKey;
136454
136710
  exports.AuthApiKeyPayload = AuthApiKeyPayload;
136711
+ exports.AuthEmailIntakeAddress = AuthEmailIntakeAddress;
136455
136712
  exports.AuthIntegration = AuthIntegration;
136456
136713
  exports.AuthOauthClient = AuthOauthClient;
136457
136714
  exports.AuthOauthClientWithMemberships = AuthOauthClientWithMemberships;
@@ -136815,11 +137072,14 @@ exports.OrganizationExistsQuery = OrganizationExistsQuery;
136815
137072
  exports.OrganizationInvite = OrganizationInvite;
136816
137073
  exports.OrganizationInviteConnection = OrganizationInviteConnection;
136817
137074
  exports.OrganizationInviteFullDetailsPayload = OrganizationInviteFullDetailsPayload;
137075
+ exports.OrganizationInviteLinkDetailsPayload = OrganizationInviteLinkDetailsPayload;
136818
137076
  exports.OrganizationInvitePayload = OrganizationInvitePayload;
136819
137077
  exports.OrganizationInviteQuery = OrganizationInviteQuery;
136820
137078
  exports.OrganizationInvitesQuery = OrganizationInvitesQuery;
136821
137079
  exports.OrganizationPayload = OrganizationPayload;
136822
137080
  exports.OrganizationQuery = OrganizationQuery;
137081
+ exports.OrganizationRegionQuery = OrganizationRegionQuery;
137082
+ exports.OrganizationRegionResponse = OrganizationRegionResponse;
136823
137083
  exports.OrganizationStartPlusTrialMutation = OrganizationStartPlusTrialMutation;
136824
137084
  exports.OrganizationStartPlusTrialPayload = OrganizationStartPlusTrialPayload;
136825
137085
  exports.Organization_IntegrationsQuery = Organization_IntegrationsQuery;
@@ -136911,6 +137171,7 @@ exports.SearchIssues_ArchivePayloadQuery = SearchIssues_ArchivePayloadQuery;
136911
137171
  exports.SearchProjectsQuery = SearchProjectsQuery;
136912
137172
  exports.SearchProjects_ArchivePayloadQuery = SearchProjects_ArchivePayloadQuery;
136913
137173
  exports.SentrySettings = SentrySettings;
137174
+ exports.SharedSlackSettings = SharedSlackSettings;
136914
137175
  exports.SlackAsksSettings = SlackAsksSettings;
136915
137176
  exports.SlackAsksTeamSettings = SlackAsksTeamSettings;
136916
137177
  exports.SlackChannelConnectPayload = SlackChannelConnectPayload;