@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-umd.js CHANGED
@@ -9,7 +9,7 @@
9
9
  var crypto__default = /*#__PURE__*/_interopDefaultLegacy(crypto);
10
10
 
11
11
  (function() {
12
- const env = {"npm_package_name":"@linear/sdk","npm_package_version":"17.0.1"};
12
+ const env = {"npm_package_name":"@linear/sdk","npm_package_version":"18.1.0"};
13
13
  try {
14
14
  if (process) {
15
15
  process.env = Object.assign({}, process.env);
@@ -1667,6 +1667,7 @@
1667
1667
  ViewType["Inbox"] = "inbox";
1668
1668
  ViewType["Initiative"] = "initiative";
1669
1669
  ViewType["Initiatives"] = "initiatives";
1670
+ ViewType["IssueIdentifiers"] = "issueIdentifiers";
1670
1671
  ViewType["Label"] = "label";
1671
1672
  ViewType["MyIssues"] = "myIssues";
1672
1673
  ViewType["MyIssuesActivity"] = "myIssuesActivity";
@@ -3086,6 +3087,100 @@
3086
3087
  },
3087
3088
  ],
3088
3089
  };
3090
+ const AuthOrganizationFragmentDoc = {
3091
+ kind: "Document",
3092
+ definitions: [
3093
+ {
3094
+ kind: "FragmentDefinition",
3095
+ name: { kind: "Name", value: "AuthOrganization" },
3096
+ typeCondition: { kind: "NamedType", name: { kind: "Name", value: "AuthOrganization" } },
3097
+ selectionSet: {
3098
+ kind: "SelectionSet",
3099
+ selections: [
3100
+ { kind: "Field", name: { kind: "Name", value: "__typename" } },
3101
+ { kind: "Field", name: { kind: "Name", value: "allowedAuthServices" } },
3102
+ { kind: "Field", name: { kind: "Name", value: "previousUrlKeys" } },
3103
+ { kind: "Field", name: { kind: "Name", value: "serviceId" } },
3104
+ { kind: "Field", name: { kind: "Name", value: "logoUrl" } },
3105
+ { kind: "Field", name: { kind: "Name", value: "name" } },
3106
+ { kind: "Field", name: { kind: "Name", value: "urlKey" } },
3107
+ { kind: "Field", name: { kind: "Name", value: "region" } },
3108
+ { kind: "Field", name: { kind: "Name", value: "deletionRequestedAt" } },
3109
+ { kind: "Field", name: { kind: "Name", value: "id" } },
3110
+ { kind: "Field", name: { kind: "Name", value: "samlEnabled" } },
3111
+ { kind: "Field", name: { kind: "Name", value: "scimEnabled" } },
3112
+ { kind: "Field", name: { kind: "Name", value: "userCount" } },
3113
+ ],
3114
+ },
3115
+ },
3116
+ ],
3117
+ };
3118
+ const AuthUserFragmentDoc = {
3119
+ kind: "Document",
3120
+ definitions: [
3121
+ {
3122
+ kind: "FragmentDefinition",
3123
+ name: { kind: "Name", value: "AuthUser" },
3124
+ typeCondition: { kind: "NamedType", name: { kind: "Name", value: "AuthUser" } },
3125
+ selectionSet: {
3126
+ kind: "SelectionSet",
3127
+ selections: [
3128
+ { kind: "Field", name: { kind: "Name", value: "__typename" } },
3129
+ { kind: "Field", name: { kind: "Name", value: "avatarUrl" } },
3130
+ {
3131
+ kind: "Field",
3132
+ name: { kind: "Name", value: "organization" },
3133
+ selectionSet: {
3134
+ kind: "SelectionSet",
3135
+ selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "AuthOrganization" } }],
3136
+ },
3137
+ },
3138
+ { kind: "Field", name: { kind: "Name", value: "displayName" } },
3139
+ { kind: "Field", name: { kind: "Name", value: "email" } },
3140
+ { kind: "Field", name: { kind: "Name", value: "name" } },
3141
+ { kind: "Field", name: { kind: "Name", value: "userAccountId" } },
3142
+ { kind: "Field", name: { kind: "Name", value: "active" } },
3143
+ { kind: "Field", name: { kind: "Name", value: "id" } },
3144
+ ],
3145
+ },
3146
+ },
3147
+ ],
3148
+ };
3149
+ const AuthEmailIntakeAddressFragmentDoc = {
3150
+ kind: "Document",
3151
+ definitions: [
3152
+ {
3153
+ kind: "FragmentDefinition",
3154
+ name: { kind: "Name", value: "AuthEmailIntakeAddress" },
3155
+ typeCondition: { kind: "NamedType", name: { kind: "Name", value: "AuthEmailIntakeAddress" } },
3156
+ selectionSet: {
3157
+ kind: "SelectionSet",
3158
+ selections: [
3159
+ { kind: "Field", name: { kind: "Name", value: "__typename" } },
3160
+ {
3161
+ kind: "Field",
3162
+ name: { kind: "Name", value: "organization" },
3163
+ selectionSet: {
3164
+ kind: "SelectionSet",
3165
+ selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "AuthOrganization" } }],
3166
+ },
3167
+ },
3168
+ {
3169
+ kind: "Field",
3170
+ name: { kind: "Name", value: "creator" },
3171
+ selectionSet: {
3172
+ kind: "SelectionSet",
3173
+ selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "AuthUser" } }],
3174
+ },
3175
+ },
3176
+ { kind: "Field", name: { kind: "Name", value: "id" } },
3177
+ { kind: "Field", name: { kind: "Name", value: "address" } },
3178
+ { kind: "Field", name: { kind: "Name", value: "enabled" } },
3179
+ ],
3180
+ },
3181
+ },
3182
+ ],
3183
+ };
3089
3184
  const AuthOrganizationInviteFragmentDoc = {
3090
3185
  kind: "Document",
3091
3186
  definitions: [
@@ -3416,6 +3511,25 @@
3416
3511
  },
3417
3512
  ],
3418
3513
  };
3514
+ const SharedSlackSettingsFragmentDoc = {
3515
+ kind: "Document",
3516
+ definitions: [
3517
+ {
3518
+ kind: "FragmentDefinition",
3519
+ name: { kind: "Name", value: "SharedSlackSettings" },
3520
+ typeCondition: { kind: "NamedType", name: { kind: "Name", value: "SharedSlackSettings" } },
3521
+ selectionSet: {
3522
+ kind: "SelectionSet",
3523
+ selections: [
3524
+ { kind: "Field", name: { kind: "Name", value: "__typename" } },
3525
+ { kind: "Field", name: { kind: "Name", value: "enterpriseName" } },
3526
+ { kind: "Field", name: { kind: "Name", value: "teamId" } },
3527
+ { kind: "Field", name: { kind: "Name", value: "teamName" } },
3528
+ ],
3529
+ },
3530
+ },
3531
+ ],
3532
+ };
3419
3533
  const FrontSettingsFragmentDoc = {
3420
3534
  kind: "Document",
3421
3535
  definitions: [
@@ -3755,6 +3869,9 @@
3755
3869
  kind: "SelectionSet",
3756
3870
  selections: [
3757
3871
  { kind: "Field", name: { kind: "Name", value: "__typename" } },
3872
+ { kind: "Field", name: { kind: "Name", value: "enterpriseName" } },
3873
+ { kind: "Field", name: { kind: "Name", value: "teamId" } },
3874
+ { kind: "Field", name: { kind: "Name", value: "teamName" } },
3758
3875
  { kind: "Field", name: { kind: "Name", value: "linkOnIssueIdMention" } },
3759
3876
  ],
3760
3877
  },
@@ -3823,6 +3940,9 @@
3823
3940
  kind: "SelectionSet",
3824
3941
  selections: [
3825
3942
  { kind: "Field", name: { kind: "Name", value: "__typename" } },
3943
+ { kind: "Field", name: { kind: "Name", value: "enterpriseName" } },
3944
+ { kind: "Field", name: { kind: "Name", value: "teamId" } },
3945
+ { kind: "Field", name: { kind: "Name", value: "teamName" } },
3826
3946
  {
3827
3947
  kind: "Field",
3828
3948
  name: { kind: "Name", value: "slackChannelMapping" },
@@ -4540,64 +4660,6 @@
4540
4660
  },
4541
4661
  ],
4542
4662
  };
4543
- const AuthOrganizationFragmentDoc = {
4544
- kind: "Document",
4545
- definitions: [
4546
- {
4547
- kind: "FragmentDefinition",
4548
- name: { kind: "Name", value: "AuthOrganization" },
4549
- typeCondition: { kind: "NamedType", name: { kind: "Name", value: "AuthOrganization" } },
4550
- selectionSet: {
4551
- kind: "SelectionSet",
4552
- selections: [
4553
- { kind: "Field", name: { kind: "Name", value: "__typename" } },
4554
- { kind: "Field", name: { kind: "Name", value: "allowedAuthServices" } },
4555
- { kind: "Field", name: { kind: "Name", value: "previousUrlKeys" } },
4556
- { kind: "Field", name: { kind: "Name", value: "serviceId" } },
4557
- { kind: "Field", name: { kind: "Name", value: "logoUrl" } },
4558
- { kind: "Field", name: { kind: "Name", value: "name" } },
4559
- { kind: "Field", name: { kind: "Name", value: "urlKey" } },
4560
- { kind: "Field", name: { kind: "Name", value: "deletionRequestedAt" } },
4561
- { kind: "Field", name: { kind: "Name", value: "id" } },
4562
- { kind: "Field", name: { kind: "Name", value: "samlEnabled" } },
4563
- { kind: "Field", name: { kind: "Name", value: "scimEnabled" } },
4564
- { kind: "Field", name: { kind: "Name", value: "userCount" } },
4565
- ],
4566
- },
4567
- },
4568
- ],
4569
- };
4570
- const AuthUserFragmentDoc = {
4571
- kind: "Document",
4572
- definitions: [
4573
- {
4574
- kind: "FragmentDefinition",
4575
- name: { kind: "Name", value: "AuthUser" },
4576
- typeCondition: { kind: "NamedType", name: { kind: "Name", value: "AuthUser" } },
4577
- selectionSet: {
4578
- kind: "SelectionSet",
4579
- selections: [
4580
- { kind: "Field", name: { kind: "Name", value: "__typename" } },
4581
- { kind: "Field", name: { kind: "Name", value: "avatarUrl" } },
4582
- {
4583
- kind: "Field",
4584
- name: { kind: "Name", value: "organization" },
4585
- selectionSet: {
4586
- kind: "SelectionSet",
4587
- selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "AuthOrganization" } }],
4588
- },
4589
- },
4590
- { kind: "Field", name: { kind: "Name", value: "displayName" } },
4591
- { kind: "Field", name: { kind: "Name", value: "email" } },
4592
- { kind: "Field", name: { kind: "Name", value: "name" } },
4593
- { kind: "Field", name: { kind: "Name", value: "userAccountId" } },
4594
- { kind: "Field", name: { kind: "Name", value: "active" } },
4595
- { kind: "Field", name: { kind: "Name", value: "id" } },
4596
- ],
4597
- },
4598
- },
4599
- ],
4600
- };
4601
4663
  const OauthTokenFragmentDoc = {
4602
4664
  kind: "Document",
4603
4665
  definitions: [
@@ -5346,6 +5408,7 @@
5346
5408
  selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }],
5347
5409
  },
5348
5410
  },
5411
+ { kind: "Field", name: { kind: "Name", value: "hiddenAt" } },
5349
5412
  { kind: "Field", name: { kind: "Name", value: "archivedAt" } },
5350
5413
  { kind: "Field", name: { kind: "Name", value: "createdAt" } },
5351
5414
  { kind: "Field", name: { kind: "Name", value: "id" } },
@@ -5528,6 +5591,7 @@
5528
5591
  selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }],
5529
5592
  },
5530
5593
  },
5594
+ { kind: "Field", name: { kind: "Name", value: "hiddenAt" } },
5531
5595
  { kind: "Field", name: { kind: "Name", value: "archivedAt" } },
5532
5596
  { kind: "Field", name: { kind: "Name", value: "createdAt" } },
5533
5597
  { kind: "Field", name: { kind: "Name", value: "id" } },
@@ -6635,6 +6699,14 @@
6635
6699
  selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "ActorBot" } }],
6636
6700
  },
6637
6701
  },
6702
+ {
6703
+ kind: "Field",
6704
+ name: { kind: "Name", value: "sourceComment" },
6705
+ selectionSet: {
6706
+ kind: "SelectionSet",
6707
+ selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }],
6708
+ },
6709
+ },
6638
6710
  {
6639
6711
  kind: "Field",
6640
6712
  name: { kind: "Name", value: "cycle" },
@@ -7471,6 +7543,14 @@
7471
7543
  selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "ActorBot" } }],
7472
7544
  },
7473
7545
  },
7546
+ {
7547
+ kind: "Field",
7548
+ name: { kind: "Name", value: "sourceComment" },
7549
+ selectionSet: {
7550
+ kind: "SelectionSet",
7551
+ selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }],
7552
+ },
7553
+ },
7474
7554
  {
7475
7555
  kind: "Field",
7476
7556
  name: { kind: "Name", value: "cycle" },
@@ -8050,6 +8130,7 @@
8050
8130
  kind: "SelectionSet",
8051
8131
  selections: [
8052
8132
  { kind: "Field", name: { kind: "Name", value: "__typename" } },
8133
+ { kind: "Field", name: { kind: "Name", value: "allowedAuthServices" } },
8053
8134
  { kind: "Field", name: { kind: "Name", value: "organizationId" } },
8054
8135
  { kind: "Field", name: { kind: "Name", value: "organizationName" } },
8055
8136
  { kind: "Field", name: { kind: "Name", value: "email" } },
@@ -8063,6 +8144,28 @@
8063
8144
  },
8064
8145
  ],
8065
8146
  };
8147
+ const OrganizationInviteLinkDetailsPayloadFragmentDoc = {
8148
+ kind: "Document",
8149
+ definitions: [
8150
+ {
8151
+ kind: "FragmentDefinition",
8152
+ name: { kind: "Name", value: "OrganizationInviteLinkDetailsPayload" },
8153
+ typeCondition: { kind: "NamedType", name: { kind: "Name", value: "OrganizationInviteLinkDetailsPayload" } },
8154
+ selectionSet: {
8155
+ kind: "SelectionSet",
8156
+ selections: [
8157
+ { kind: "Field", name: { kind: "Name", value: "__typename" } },
8158
+ { kind: "Field", name: { kind: "Name", value: "allowedAuthServices" } },
8159
+ { kind: "Field", name: { kind: "Name", value: "organizationId" } },
8160
+ { kind: "Field", name: { kind: "Name", value: "organizationName" } },
8161
+ { kind: "Field", name: { kind: "Name", value: "organizationRegion" } },
8162
+ { kind: "Field", name: { kind: "Name", value: "organizationUrlKey" } },
8163
+ { kind: "Field", name: { kind: "Name", value: "organizationLogoUrl" } },
8164
+ ],
8165
+ },
8166
+ },
8167
+ ],
8168
+ };
8066
8169
  const OrganizationInvitePayloadFragmentDoc = {
8067
8170
  kind: "Document",
8068
8171
  definitions: [
@@ -8107,6 +8210,24 @@
8107
8210
  },
8108
8211
  ],
8109
8212
  };
8213
+ const OrganizationRegionResponseFragmentDoc = {
8214
+ kind: "Document",
8215
+ definitions: [
8216
+ {
8217
+ kind: "FragmentDefinition",
8218
+ name: { kind: "Name", value: "OrganizationRegionResponse" },
8219
+ typeCondition: { kind: "NamedType", name: { kind: "Name", value: "OrganizationRegionResponse" } },
8220
+ selectionSet: {
8221
+ kind: "SelectionSet",
8222
+ selections: [
8223
+ { kind: "Field", name: { kind: "Name", value: "__typename" } },
8224
+ { kind: "Field", name: { kind: "Name", value: "region" } },
8225
+ { kind: "Field", name: { kind: "Name", value: "success" } },
8226
+ ],
8227
+ },
8228
+ },
8229
+ ],
8230
+ };
8110
8231
  const OrganizationStartPlusTrialPayloadFragmentDoc = {
8111
8232
  kind: "Document",
8112
8233
  definitions: [
@@ -8193,7 +8314,6 @@
8193
8314
  { kind: "Field", name: { kind: "Name", value: "projectUpdateRemindersPausedUntilAt" } },
8194
8315
  { kind: "Field", name: { kind: "Name", value: "scopeHistory" } },
8195
8316
  { kind: "Field", name: { kind: "Name", value: "issueCountHistory" } },
8196
- { kind: "Field", name: { kind: "Name", value: "state" } },
8197
8317
  { kind: "Field", name: { kind: "Name", value: "id" } },
8198
8318
  {
8199
8319
  kind: "Field",
@@ -8203,9 +8323,18 @@
8203
8323
  selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }],
8204
8324
  },
8205
8325
  },
8326
+ {
8327
+ kind: "Field",
8328
+ name: { kind: "Name", value: "favorite" },
8329
+ selectionSet: {
8330
+ kind: "SelectionSet",
8331
+ selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }],
8332
+ },
8333
+ },
8206
8334
  { kind: "Field", name: { kind: "Name", value: "slackIssueComments" } },
8207
8335
  { kind: "Field", name: { kind: "Name", value: "slackNewIssue" } },
8208
8336
  { kind: "Field", name: { kind: "Name", value: "slackIssueStatuses" } },
8337
+ { kind: "Field", name: { kind: "Name", value: "state" } },
8209
8338
  ],
8210
8339
  },
8211
8340
  },
@@ -8543,7 +8672,6 @@
8543
8672
  { kind: "Field", name: { kind: "Name", value: "projectUpdateRemindersPausedUntilAt" } },
8544
8673
  { kind: "Field", name: { kind: "Name", value: "scopeHistory" } },
8545
8674
  { kind: "Field", name: { kind: "Name", value: "issueCountHistory" } },
8546
- { kind: "Field", name: { kind: "Name", value: "state" } },
8547
8675
  { kind: "Field", name: { kind: "Name", value: "id" } },
8548
8676
  {
8549
8677
  kind: "Field",
@@ -8553,9 +8681,18 @@
8553
8681
  selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }],
8554
8682
  },
8555
8683
  },
8684
+ {
8685
+ kind: "Field",
8686
+ name: { kind: "Name", value: "favorite" },
8687
+ selectionSet: {
8688
+ kind: "SelectionSet",
8689
+ selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }],
8690
+ },
8691
+ },
8556
8692
  { kind: "Field", name: { kind: "Name", value: "slackIssueComments" } },
8557
8693
  { kind: "Field", name: { kind: "Name", value: "slackNewIssue" } },
8558
8694
  { kind: "Field", name: { kind: "Name", value: "slackIssueStatuses" } },
8695
+ { kind: "Field", name: { kind: "Name", value: "state" } },
8559
8696
  ],
8560
8697
  },
8561
8698
  },
@@ -18734,6 +18871,44 @@
18734
18871
  ...PageInfoFragmentDoc.definitions,
18735
18872
  ],
18736
18873
  };
18874
+ const OrganizationRegionDocument = {
18875
+ kind: "Document",
18876
+ definitions: [
18877
+ {
18878
+ kind: "OperationDefinition",
18879
+ operation: "query",
18880
+ name: { kind: "Name", value: "organizationRegion" },
18881
+ variableDefinitions: [
18882
+ {
18883
+ kind: "VariableDefinition",
18884
+ variable: { kind: "Variable", name: { kind: "Name", value: "id" } },
18885
+ type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "String" } } },
18886
+ },
18887
+ ],
18888
+ selectionSet: {
18889
+ kind: "SelectionSet",
18890
+ selections: [
18891
+ {
18892
+ kind: "Field",
18893
+ name: { kind: "Name", value: "organizationRegion" },
18894
+ arguments: [
18895
+ {
18896
+ kind: "Argument",
18897
+ name: { kind: "Name", value: "id" },
18898
+ value: { kind: "Variable", name: { kind: "Name", value: "id" } },
18899
+ },
18900
+ ],
18901
+ selectionSet: {
18902
+ kind: "SelectionSet",
18903
+ selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "OrganizationRegionResponse" } }],
18904
+ },
18905
+ },
18906
+ ],
18907
+ },
18908
+ },
18909
+ ...OrganizationRegionResponseFragmentDoc.definitions,
18910
+ ],
18911
+ };
18737
18912
  const ProjectDocument = {
18738
18913
  kind: "Document",
18739
18914
  definitions: [
@@ -25945,44 +26120,6 @@
25945
26120
  ...AttachmentPayloadFragmentDoc.definitions,
25946
26121
  ],
25947
26122
  };
25948
- const AttachmentUnsyncSlackDocument = {
25949
- kind: "Document",
25950
- definitions: [
25951
- {
25952
- kind: "OperationDefinition",
25953
- operation: "mutation",
25954
- name: { kind: "Name", value: "attachmentUnsyncSlack" },
25955
- variableDefinitions: [
25956
- {
25957
- kind: "VariableDefinition",
25958
- variable: { kind: "Variable", name: { kind: "Name", value: "id" } },
25959
- type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "String" } } },
25960
- },
25961
- ],
25962
- selectionSet: {
25963
- kind: "SelectionSet",
25964
- selections: [
25965
- {
25966
- kind: "Field",
25967
- name: { kind: "Name", value: "attachmentUnsyncSlack" },
25968
- arguments: [
25969
- {
25970
- kind: "Argument",
25971
- name: { kind: "Name", value: "id" },
25972
- value: { kind: "Variable", name: { kind: "Name", value: "id" } },
25973
- },
25974
- ],
25975
- selectionSet: {
25976
- kind: "SelectionSet",
25977
- selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "AttachmentPayload" } }],
25978
- },
25979
- },
25980
- ],
25981
- },
25982
- },
25983
- ...AttachmentPayloadFragmentDoc.definitions,
25984
- ],
25985
- };
25986
26123
  const UpdateAttachmentDocument = {
25987
26124
  kind: "Document",
25988
26125
  definitions: [
@@ -34678,6 +34815,9 @@
34678
34815
  TeamNotificationSubscriptionFragmentDoc: TeamNotificationSubscriptionFragmentDoc,
34679
34816
  UserAccountFragmentDoc: UserAccountFragmentDoc,
34680
34817
  UserNotificationSubscriptionFragmentDoc: UserNotificationSubscriptionFragmentDoc,
34818
+ AuthOrganizationFragmentDoc: AuthOrganizationFragmentDoc,
34819
+ AuthUserFragmentDoc: AuthUserFragmentDoc,
34820
+ AuthEmailIntakeAddressFragmentDoc: AuthEmailIntakeAddressFragmentDoc,
34681
34821
  AuthOrganizationInviteFragmentDoc: AuthOrganizationInviteFragmentDoc,
34682
34822
  PaidSubscriptionFragmentDoc: PaidSubscriptionFragmentDoc,
34683
34823
  OrganizationFragmentDoc: OrganizationFragmentDoc,
@@ -34690,6 +34830,7 @@
34690
34830
  GithubOAuthTokenPayloadFragmentDoc: GithubOAuthTokenPayloadFragmentDoc,
34691
34831
  UserAuthorizedApplicationFragmentDoc: UserAuthorizedApplicationFragmentDoc,
34692
34832
  ApplicationFragmentDoc: ApplicationFragmentDoc,
34833
+ SharedSlackSettingsFragmentDoc: SharedSlackSettingsFragmentDoc,
34693
34834
  FrontSettingsFragmentDoc: FrontSettingsFragmentDoc,
34694
34835
  TeamRepoMappingFragmentDoc: TeamRepoMappingFragmentDoc,
34695
34836
  GitHubRepoFragmentDoc: GitHubRepoFragmentDoc,
@@ -34731,8 +34872,6 @@
34731
34872
  AuthApiKeyPayloadFragmentDoc: AuthApiKeyPayloadFragmentDoc,
34732
34873
  AuthIntegrationFragmentDoc: AuthIntegrationFragmentDoc,
34733
34874
  AuthOauthClientFragmentDoc: AuthOauthClientFragmentDoc,
34734
- AuthOrganizationFragmentDoc: AuthOrganizationFragmentDoc,
34735
- AuthUserFragmentDoc: AuthUserFragmentDoc,
34736
34875
  OauthTokenFragmentDoc: OauthTokenFragmentDoc,
34737
34876
  AuthOauthClientWithTokensFragmentDoc: AuthOauthClientWithTokensFragmentDoc,
34738
34877
  AuthOrganizationDomainFragmentDoc: AuthOrganizationDomainFragmentDoc,
@@ -34832,8 +34971,10 @@
34832
34971
  OrganizationInviteFragmentDoc: OrganizationInviteFragmentDoc,
34833
34972
  OrganizationInviteConnectionFragmentDoc: OrganizationInviteConnectionFragmentDoc,
34834
34973
  OrganizationInviteFullDetailsPayloadFragmentDoc: OrganizationInviteFullDetailsPayloadFragmentDoc,
34974
+ OrganizationInviteLinkDetailsPayloadFragmentDoc: OrganizationInviteLinkDetailsPayloadFragmentDoc,
34835
34975
  OrganizationInvitePayloadFragmentDoc: OrganizationInvitePayloadFragmentDoc,
34836
34976
  OrganizationPayloadFragmentDoc: OrganizationPayloadFragmentDoc,
34977
+ OrganizationRegionResponseFragmentDoc: OrganizationRegionResponseFragmentDoc,
34837
34978
  OrganizationStartPlusTrialPayloadFragmentDoc: OrganizationStartPlusTrialPayloadFragmentDoc,
34838
34979
  ProjectFragmentDoc: ProjectFragmentDoc,
34839
34980
  ProjectConnectionFragmentDoc: ProjectConnectionFragmentDoc,
@@ -35010,6 +35151,7 @@
35010
35151
  OrganizationExistsDocument: OrganizationExistsDocument,
35011
35152
  OrganizationInviteDocument: OrganizationInviteDocument,
35012
35153
  OrganizationInvitesDocument: OrganizationInvitesDocument,
35154
+ OrganizationRegionDocument: OrganizationRegionDocument,
35013
35155
  ProjectDocument: ProjectDocument,
35014
35156
  Project_DocumentsDocument: Project_DocumentsDocument,
35015
35157
  Project_IssuesDocument: Project_IssuesDocument,
@@ -35093,7 +35235,6 @@
35093
35235
  AttachmentLinkSlackDocument: AttachmentLinkSlackDocument,
35094
35236
  AttachmentLinkUrlDocument: AttachmentLinkUrlDocument,
35095
35237
  AttachmentLinkZendeskDocument: AttachmentLinkZendeskDocument,
35096
- AttachmentUnsyncSlackDocument: AttachmentUnsyncSlackDocument,
35097
35238
  UpdateAttachmentDocument: UpdateAttachmentDocument,
35098
35239
  CreateCommentDocument: CreateCommentDocument,
35099
35240
  DeleteCommentDocument: DeleteCommentDocument,
@@ -35751,6 +35892,22 @@
35751
35892
  this.authApiKey = new AuthApiKey(request, data.authApiKey);
35752
35893
  }
35753
35894
  }
35895
+ /**
35896
+ * An email address that can be used for submitting issues.
35897
+ *
35898
+ * @param request - function to call the graphql client
35899
+ * @param data - L.AuthEmailIntakeAddressFragment response data
35900
+ */
35901
+ class AuthEmailIntakeAddress extends Request {
35902
+ constructor(request, data) {
35903
+ super(request);
35904
+ this.address = data.address;
35905
+ this.enabled = data.enabled;
35906
+ this.id = data.id;
35907
+ this.creator = data.creator ? new AuthUser(request, data.creator) : undefined;
35908
+ this.organization = new AuthOrganization(request, data.organization);
35909
+ }
35910
+ }
35754
35911
  /**
35755
35912
  * AuthIntegration model
35756
35913
  *
@@ -35855,6 +36012,7 @@
35855
36012
  this.logoUrl = (_b = data.logoUrl) !== null && _b !== void 0 ? _b : undefined;
35856
36013
  this.name = data.name;
35857
36014
  this.previousUrlKeys = data.previousUrlKeys;
36015
+ this.region = data.region;
35858
36016
  this.samlEnabled = data.samlEnabled;
35859
36017
  this.scimEnabled = data.scimEnabled;
35860
36018
  this.serviceId = data.serviceId;
@@ -36581,20 +36739,21 @@
36581
36739
  */
36582
36740
  class Document extends Request {
36583
36741
  constructor(request, data) {
36584
- var _a, _b, _c, _d, _e, _f, _g;
36742
+ var _a, _b, _c, _d, _e, _f, _g, _h;
36585
36743
  super(request);
36586
36744
  this.archivedAt = (_a = parseDate(data.archivedAt)) !== null && _a !== void 0 ? _a : undefined;
36587
36745
  this.color = (_b = data.color) !== null && _b !== void 0 ? _b : undefined;
36588
36746
  this.content = (_c = data.content) !== null && _c !== void 0 ? _c : undefined;
36589
36747
  this.createdAt = (_d = parseDate(data.createdAt)) !== null && _d !== void 0 ? _d : new Date();
36590
- this.icon = (_e = data.icon) !== null && _e !== void 0 ? _e : undefined;
36748
+ this.hiddenAt = (_e = parseDate(data.hiddenAt)) !== null && _e !== void 0 ? _e : undefined;
36749
+ this.icon = (_f = data.icon) !== null && _f !== void 0 ? _f : undefined;
36591
36750
  this.id = data.id;
36592
36751
  this.slugId = data.slugId;
36593
36752
  this.sortOrder = data.sortOrder;
36594
36753
  this.title = data.title;
36595
- this.updatedAt = (_f = parseDate(data.updatedAt)) !== null && _f !== void 0 ? _f : new Date();
36754
+ this.updatedAt = (_g = parseDate(data.updatedAt)) !== null && _g !== void 0 ? _g : new Date();
36596
36755
  this._creator = data.creator;
36597
- this._lastAppliedTemplate = (_g = data.lastAppliedTemplate) !== null && _g !== void 0 ? _g : undefined;
36756
+ this._lastAppliedTemplate = (_h = data.lastAppliedTemplate) !== null && _h !== void 0 ? _h : undefined;
36598
36757
  this._project = data.project;
36599
36758
  this._updatedBy = data.updatedBy;
36600
36759
  }
@@ -36776,21 +36935,22 @@
36776
36935
  */
36777
36936
  class DocumentSearchResult extends Request {
36778
36937
  constructor(request, data) {
36779
- var _a, _b, _c, _d, _e, _f, _g;
36938
+ var _a, _b, _c, _d, _e, _f, _g, _h;
36780
36939
  super(request);
36781
36940
  this.archivedAt = (_a = parseDate(data.archivedAt)) !== null && _a !== void 0 ? _a : undefined;
36782
36941
  this.color = (_b = data.color) !== null && _b !== void 0 ? _b : undefined;
36783
36942
  this.content = (_c = data.content) !== null && _c !== void 0 ? _c : undefined;
36784
36943
  this.createdAt = (_d = parseDate(data.createdAt)) !== null && _d !== void 0 ? _d : new Date();
36785
- this.icon = (_e = data.icon) !== null && _e !== void 0 ? _e : undefined;
36944
+ this.hiddenAt = (_e = parseDate(data.hiddenAt)) !== null && _e !== void 0 ? _e : undefined;
36945
+ this.icon = (_f = data.icon) !== null && _f !== void 0 ? _f : undefined;
36786
36946
  this.id = data.id;
36787
36947
  this.metadata = data.metadata;
36788
36948
  this.slugId = data.slugId;
36789
36949
  this.sortOrder = data.sortOrder;
36790
36950
  this.title = data.title;
36791
- this.updatedAt = (_f = parseDate(data.updatedAt)) !== null && _f !== void 0 ? _f : new Date();
36951
+ this.updatedAt = (_g = parseDate(data.updatedAt)) !== null && _g !== void 0 ? _g : new Date();
36792
36952
  this._creator = data.creator;
36793
- this._lastAppliedTemplate = (_g = data.lastAppliedTemplate) !== null && _g !== void 0 ? _g : undefined;
36953
+ this._lastAppliedTemplate = (_h = data.lastAppliedTemplate) !== null && _h !== void 0 ? _h : undefined;
36794
36954
  this._project = data.project;
36795
36955
  this._updatedBy = data.updatedBy;
36796
36956
  }
@@ -37778,7 +37938,7 @@
37778
37938
  */
37779
37939
  class Issue extends Request {
37780
37940
  constructor(request, data) {
37781
- 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;
37941
+ 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;
37782
37942
  super(request);
37783
37943
  this.archivedAt = (_a = parseDate(data.archivedAt)) !== null && _a !== void 0 ? _a : undefined;
37784
37944
  this.autoArchivedAt = (_b = parseDate(data.autoArchivedAt)) !== null && _b !== void 0 ? _b : undefined;
@@ -37820,6 +37980,7 @@
37820
37980
  this._project = (_z = data.project) !== null && _z !== void 0 ? _z : undefined;
37821
37981
  this._projectMilestone = (_0 = data.projectMilestone) !== null && _0 !== void 0 ? _0 : undefined;
37822
37982
  this._snoozedBy = (_1 = data.snoozedBy) !== null && _1 !== void 0 ? _1 : undefined;
37983
+ this._sourceComment = (_2 = data.sourceComment) !== null && _2 !== void 0 ? _2 : undefined;
37823
37984
  this._state = data.state;
37824
37985
  this._team = data.team;
37825
37986
  }
@@ -37879,6 +38040,11 @@
37879
38040
  var _a, _b;
37880
38041
  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;
37881
38042
  }
38043
+ /** The comment that this issue was created from. */
38044
+ get sourceComment() {
38045
+ var _a, _b;
38046
+ 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;
38047
+ }
37882
38048
  /** The workflow state that the issue is associated with. */
37883
38049
  get state() {
37884
38050
  return new WorkflowStateQuery(this._request).fetch(this._state.id);
@@ -38524,7 +38690,7 @@
38524
38690
  */
38525
38691
  class IssueSearchResult extends Request {
38526
38692
  constructor(request, data) {
38527
- 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;
38693
+ 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;
38528
38694
  super(request);
38529
38695
  this.archivedAt = (_a = parseDate(data.archivedAt)) !== null && _a !== void 0 ? _a : undefined;
38530
38696
  this.autoArchivedAt = (_b = parseDate(data.autoArchivedAt)) !== null && _b !== void 0 ? _b : undefined;
@@ -38567,6 +38733,7 @@
38567
38733
  this._project = (_z = data.project) !== null && _z !== void 0 ? _z : undefined;
38568
38734
  this._projectMilestone = (_0 = data.projectMilestone) !== null && _0 !== void 0 ? _0 : undefined;
38569
38735
  this._snoozedBy = (_1 = data.snoozedBy) !== null && _1 !== void 0 ? _1 : undefined;
38736
+ this._sourceComment = (_2 = data.sourceComment) !== null && _2 !== void 0 ? _2 : undefined;
38570
38737
  this._state = data.state;
38571
38738
  this._team = data.team;
38572
38739
  }
@@ -38626,6 +38793,11 @@
38626
38793
  var _a, _b;
38627
38794
  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;
38628
38795
  }
38796
+ /** The comment that this issue was created from. */
38797
+ get sourceComment() {
38798
+ var _a, _b;
38799
+ 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;
38800
+ }
38629
38801
  /** The workflow state that the issue is associated with. */
38630
38802
  get state() {
38631
38803
  return new WorkflowStateQuery(this._request).fetch(this._state.id);
@@ -39377,6 +39549,7 @@
39377
39549
  var _a, _b;
39378
39550
  super(request);
39379
39551
  this.accepted = data.accepted;
39552
+ this.allowedAuthServices = data.allowedAuthServices;
39380
39553
  this.createdAt = (_a = parseDate(data.createdAt)) !== null && _a !== void 0 ? _a : new Date();
39381
39554
  this.email = data.email;
39382
39555
  this.expired = data.expired;
@@ -39386,6 +39559,24 @@
39386
39559
  this.organizationName = data.organizationName;
39387
39560
  }
39388
39561
  }
39562
+ /**
39563
+ * OrganizationInviteLinkDetailsPayload model
39564
+ *
39565
+ * @param request - function to call the graphql client
39566
+ * @param data - L.OrganizationInviteLinkDetailsPayloadFragment response data
39567
+ */
39568
+ class OrganizationInviteLinkDetailsPayload extends Request {
39569
+ constructor(request, data) {
39570
+ var _a, _b, _c, _d, _e;
39571
+ super(request);
39572
+ this.allowedAuthServices = data.allowedAuthServices;
39573
+ this.organizationId = (_a = data.organizationId) !== null && _a !== void 0 ? _a : undefined;
39574
+ this.organizationLogoUrl = (_b = data.organizationLogoUrl) !== null && _b !== void 0 ? _b : undefined;
39575
+ this.organizationName = (_c = data.organizationName) !== null && _c !== void 0 ? _c : undefined;
39576
+ this.organizationRegion = (_d = data.organizationRegion) !== null && _d !== void 0 ? _d : undefined;
39577
+ this.organizationUrlKey = (_e = data.organizationUrlKey) !== null && _e !== void 0 ? _e : undefined;
39578
+ }
39579
+ }
39389
39580
  /**
39390
39581
  * OrganizationInvitePayload model
39391
39582
  *
@@ -39421,6 +39612,20 @@
39421
39612
  return new OrganizationQuery(this._request).fetch();
39422
39613
  }
39423
39614
  }
39615
+ /**
39616
+ * OrganizationRegionResponse model
39617
+ *
39618
+ * @param request - function to call the graphql client
39619
+ * @param data - L.OrganizationRegionResponseFragment response data
39620
+ */
39621
+ class OrganizationRegionResponse extends Request {
39622
+ constructor(request, data) {
39623
+ var _a;
39624
+ super(request);
39625
+ this.region = (_a = data.region) !== null && _a !== void 0 ? _a : undefined;
39626
+ this.success = data.success;
39627
+ }
39628
+ }
39424
39629
  /**
39425
39630
  * OrganizationStartPlusTrialPayload model
39426
39631
  *
@@ -39504,7 +39709,7 @@
39504
39709
  */
39505
39710
  class Project extends Request {
39506
39711
  constructor(request, data) {
39507
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t;
39712
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u;
39508
39713
  super(request);
39509
39714
  this.archivedAt = (_a = parseDate(data.archivedAt)) !== null && _a !== void 0 ? _a : undefined;
39510
39715
  this.autoArchivedAt = (_b = parseDate(data.autoArchivedAt)) !== null && _b !== void 0 ? _b : undefined;
@@ -39539,9 +39744,10 @@
39539
39744
  this.url = data.url;
39540
39745
  this._convertedFromIssue = (_p = data.convertedFromIssue) !== null && _p !== void 0 ? _p : undefined;
39541
39746
  this._creator = (_q = data.creator) !== null && _q !== void 0 ? _q : undefined;
39542
- this._integrationsSettings = (_r = data.integrationsSettings) !== null && _r !== void 0 ? _r : undefined;
39543
- this._lastAppliedTemplate = (_s = data.lastAppliedTemplate) !== null && _s !== void 0 ? _s : undefined;
39544
- this._lead = (_t = data.lead) !== null && _t !== void 0 ? _t : undefined;
39747
+ this._favorite = (_r = data.favorite) !== null && _r !== void 0 ? _r : undefined;
39748
+ this._integrationsSettings = (_s = data.integrationsSettings) !== null && _s !== void 0 ? _s : undefined;
39749
+ this._lastAppliedTemplate = (_t = data.lastAppliedTemplate) !== null && _t !== void 0 ? _t : undefined;
39750
+ this._lead = (_u = data.lead) !== null && _u !== void 0 ? _u : undefined;
39545
39751
  }
39546
39752
  /** The project was created based on this issue. */
39547
39753
  get convertedFromIssue() {
@@ -39553,6 +39759,11 @@
39553
39759
  var _a, _b;
39554
39760
  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;
39555
39761
  }
39762
+ /** The user's favorite associated with this project. */
39763
+ get favorite() {
39764
+ var _a, _b;
39765
+ 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;
39766
+ }
39556
39767
  /** Settings for all integrations associated with that project. */
39557
39768
  get integrationsSettings() {
39558
39769
  var _a, _b;
@@ -39961,7 +40172,7 @@
39961
40172
  */
39962
40173
  class ProjectSearchResult extends Request {
39963
40174
  constructor(request, data) {
39964
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t;
40175
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u;
39965
40176
  super(request);
39966
40177
  this.archivedAt = (_a = parseDate(data.archivedAt)) !== null && _a !== void 0 ? _a : undefined;
39967
40178
  this.autoArchivedAt = (_b = parseDate(data.autoArchivedAt)) !== null && _b !== void 0 ? _b : undefined;
@@ -39997,9 +40208,10 @@
39997
40208
  this.url = data.url;
39998
40209
  this._convertedFromIssue = (_p = data.convertedFromIssue) !== null && _p !== void 0 ? _p : undefined;
39999
40210
  this._creator = (_q = data.creator) !== null && _q !== void 0 ? _q : undefined;
40000
- this._integrationsSettings = (_r = data.integrationsSettings) !== null && _r !== void 0 ? _r : undefined;
40001
- this._lastAppliedTemplate = (_s = data.lastAppliedTemplate) !== null && _s !== void 0 ? _s : undefined;
40002
- this._lead = (_t = data.lead) !== null && _t !== void 0 ? _t : undefined;
40211
+ this._favorite = (_r = data.favorite) !== null && _r !== void 0 ? _r : undefined;
40212
+ this._integrationsSettings = (_s = data.integrationsSettings) !== null && _s !== void 0 ? _s : undefined;
40213
+ this._lastAppliedTemplate = (_t = data.lastAppliedTemplate) !== null && _t !== void 0 ? _t : undefined;
40214
+ this._lead = (_u = data.lead) !== null && _u !== void 0 ? _u : undefined;
40003
40215
  }
40004
40216
  /** The project was created based on this issue. */
40005
40217
  get convertedFromIssue() {
@@ -40011,6 +40223,11 @@
40011
40223
  var _a, _b;
40012
40224
  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;
40013
40225
  }
40226
+ /** The user's favorite associated with this project. */
40227
+ get favorite() {
40228
+ var _a, _b;
40229
+ 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;
40230
+ }
40014
40231
  /** Settings for all integrations associated with that project. */
40015
40232
  get integrationsSettings() {
40016
40233
  var _a, _b;
@@ -40573,6 +40790,21 @@
40573
40790
  this.organizationSlug = data.organizationSlug;
40574
40791
  }
40575
40792
  }
40793
+ /**
40794
+ * Shared Slack integration settings.
40795
+ *
40796
+ * @param request - function to call the graphql client
40797
+ * @param data - L.SharedSlackSettingsFragment response data
40798
+ */
40799
+ class SharedSlackSettings extends Request {
40800
+ constructor(request, data) {
40801
+ var _a, _b, _c;
40802
+ super(request);
40803
+ this.enterpriseName = (_a = data.enterpriseName) !== null && _a !== void 0 ? _a : undefined;
40804
+ this.teamId = (_b = data.teamId) !== null && _b !== void 0 ? _b : undefined;
40805
+ this.teamName = (_c = data.teamName) !== null && _c !== void 0 ? _c : undefined;
40806
+ }
40807
+ }
40576
40808
  /**
40577
40809
  * Slack Asks specific settings.
40578
40810
  *
@@ -40581,7 +40813,11 @@
40581
40813
  */
40582
40814
  class SlackAsksSettings extends Request {
40583
40815
  constructor(request, data) {
40816
+ var _a, _b, _c;
40584
40817
  super(request);
40818
+ this.enterpriseName = (_a = data.enterpriseName) !== null && _a !== void 0 ? _a : undefined;
40819
+ this.teamId = (_b = data.teamId) !== null && _b !== void 0 ? _b : undefined;
40820
+ this.teamName = (_c = data.teamName) !== null && _c !== void 0 ? _c : undefined;
40585
40821
  this.slackChannelMapping = data.slackChannelMapping
40586
40822
  ? data.slackChannelMapping.map(node => new SlackChannelNameMapping(request, node))
40587
40823
  : undefined;
@@ -40667,8 +40903,12 @@
40667
40903
  */
40668
40904
  class SlackSettings extends Request {
40669
40905
  constructor(request, data) {
40906
+ var _a, _b, _c;
40670
40907
  super(request);
40908
+ this.enterpriseName = (_a = data.enterpriseName) !== null && _a !== void 0 ? _a : undefined;
40671
40909
  this.linkOnIssueIdMention = data.linkOnIssueIdMention;
40910
+ this.teamId = (_b = data.teamId) !== null && _b !== void 0 ? _b : undefined;
40911
+ this.teamName = (_c = data.teamName) !== null && _c !== void 0 ? _c : undefined;
40672
40912
  }
40673
40913
  }
40674
40914
  /**
@@ -43371,6 +43611,31 @@
43371
43611
  });
43372
43612
  }
43373
43613
  }
43614
+ /**
43615
+ * A fetchable OrganizationRegion Query
43616
+ *
43617
+ * @param request - function to call the graphql client
43618
+ */
43619
+ class OrganizationRegionQuery extends Request {
43620
+ constructor(request) {
43621
+ super(request);
43622
+ }
43623
+ /**
43624
+ * Call the OrganizationRegion query and return a OrganizationRegionResponse
43625
+ *
43626
+ * @param id - required id to pass to organizationRegion
43627
+ * @returns parsed response from OrganizationRegionQuery
43628
+ */
43629
+ fetch(id) {
43630
+ return __awaiter(this, void 0, void 0, function* () {
43631
+ const response = yield this._request(OrganizationRegionDocument, {
43632
+ id,
43633
+ });
43634
+ const data = response.organizationRegion;
43635
+ return new OrganizationRegionResponse(this._request, data);
43636
+ });
43637
+ }
43638
+ }
43374
43639
  /**
43375
43640
  * A fetchable Project Query
43376
43641
  *
@@ -44656,31 +44921,6 @@
44656
44921
  });
44657
44922
  }
44658
44923
  }
44659
- /**
44660
- * A fetchable AttachmentUnsyncSlack Mutation
44661
- *
44662
- * @param request - function to call the graphql client
44663
- */
44664
- class AttachmentUnsyncSlackMutation extends Request {
44665
- constructor(request) {
44666
- super(request);
44667
- }
44668
- /**
44669
- * Call the AttachmentUnsyncSlack mutation and return a AttachmentPayload
44670
- *
44671
- * @param id - required id to pass to attachmentUnsyncSlack
44672
- * @returns parsed response from AttachmentUnsyncSlackMutation
44673
- */
44674
- fetch(id) {
44675
- return __awaiter(this, void 0, void 0, function* () {
44676
- const response = yield this._request(AttachmentUnsyncSlackDocument, {
44677
- id,
44678
- });
44679
- const data = response.attachmentUnsyncSlack;
44680
- return new AttachmentPayload(this._request, data);
44681
- });
44682
- }
44683
- }
44684
44924
  /**
44685
44925
  * A fetchable UpdateAttachment Mutation
44686
44926
  *
@@ -51998,6 +52238,15 @@
51998
52238
  organizationInvites(variables) {
51999
52239
  return new OrganizationInvitesQuery(this._request).fetch(variables);
52000
52240
  }
52241
+ /**
52242
+ * Fetch the region for the organization.
52243
+ *
52244
+ * @param id - required id to pass to organizationRegion
52245
+ * @returns OrganizationRegionResponse
52246
+ */
52247
+ organizationRegion(id) {
52248
+ return new OrganizationRegionQuery(this._request).fetch(id);
52249
+ }
52001
52250
  /**
52002
52251
  * One specific project.
52003
52252
  *
@@ -52491,15 +52740,6 @@
52491
52740
  attachmentLinkZendesk(issueId, ticketId, variables) {
52492
52741
  return new AttachmentLinkZendeskMutation(this._request).fetch(issueId, ticketId, variables);
52493
52742
  }
52494
- /**
52495
- * [DEPRECATED] Unsyncs an existing synced Slack attachment.
52496
- *
52497
- * @param id - required id to pass to attachmentUnsyncSlack
52498
- * @returns AttachmentPayload
52499
- */
52500
- attachmentUnsyncSlack(id) {
52501
- return new AttachmentUnsyncSlackMutation(this._request).fetch(id);
52502
- }
52503
52743
  /**
52504
52744
  * Updates an existing issue attachment.
52505
52745
  *
@@ -52735,7 +52975,7 @@
52735
52975
  return new EmailTokenUserAccountAuthMutation(this._request).fetch(input);
52736
52976
  }
52737
52977
  /**
52738
- * Unsubscribes the user from one type of emails.
52978
+ * Unsubscribes the user from one type of email.
52739
52979
  *
52740
52980
  * @param input - required input to pass to emailUnsubscribe
52741
52981
  * @returns EmailUnsubscribePayload
@@ -54332,6 +54572,23 @@
54332
54572
  this.options = parsedOptions;
54333
54573
  this.client = graphQLClient;
54334
54574
  }
54575
+ /**
54576
+ * Helper to paginate over all pages of a given connection query.
54577
+ * @param fn The query to paginate
54578
+ * @param args The arguments to pass to the query
54579
+ */
54580
+ paginate(fn, args) {
54581
+ return __awaiter(this, void 0, void 0, function* () {
54582
+ const boundFn = fn.bind(this);
54583
+ let connection = (yield boundFn(args));
54584
+ const nodes = connection.nodes;
54585
+ while (connection.pageInfo.hasNextPage) {
54586
+ connection = (yield boundFn(Object.assign(Object.assign({}, args), { after: connection.pageInfo.endCursor })));
54587
+ nodes.push(...connection.nodes);
54588
+ }
54589
+ return nodes;
54590
+ });
54591
+ }
54335
54592
  }
54336
54593
 
54337
54594
  const LINEAR_WEBHOOK_SIGNATURE_HEADER = "linear-signature";
@@ -54416,7 +54673,6 @@
54416
54673
  exports.AttachmentPayload = AttachmentPayload;
54417
54674
  exports.AttachmentQuery = AttachmentQuery;
54418
54675
  exports.AttachmentSourcesPayload = AttachmentSourcesPayload;
54419
- exports.AttachmentUnsyncSlackMutation = AttachmentUnsyncSlackMutation;
54420
54676
  exports.AttachmentsForUrlQuery = AttachmentsForUrlQuery;
54421
54677
  exports.AttachmentsQuery = AttachmentsQuery;
54422
54678
  exports.AuditEntriesQuery = AuditEntriesQuery;
@@ -54426,6 +54682,7 @@
54426
54682
  exports.AuditEntryTypesQuery = AuditEntryTypesQuery;
54427
54683
  exports.AuthApiKey = AuthApiKey;
54428
54684
  exports.AuthApiKeyPayload = AuthApiKeyPayload;
54685
+ exports.AuthEmailIntakeAddress = AuthEmailIntakeAddress;
54429
54686
  exports.AuthIntegration = AuthIntegration;
54430
54687
  exports.AuthOauthClient = AuthOauthClient;
54431
54688
  exports.AuthOauthClientWithMemberships = AuthOauthClientWithMemberships;
@@ -54789,11 +55046,14 @@
54789
55046
  exports.OrganizationInvite = OrganizationInvite;
54790
55047
  exports.OrganizationInviteConnection = OrganizationInviteConnection;
54791
55048
  exports.OrganizationInviteFullDetailsPayload = OrganizationInviteFullDetailsPayload;
55049
+ exports.OrganizationInviteLinkDetailsPayload = OrganizationInviteLinkDetailsPayload;
54792
55050
  exports.OrganizationInvitePayload = OrganizationInvitePayload;
54793
55051
  exports.OrganizationInviteQuery = OrganizationInviteQuery;
54794
55052
  exports.OrganizationInvitesQuery = OrganizationInvitesQuery;
54795
55053
  exports.OrganizationPayload = OrganizationPayload;
54796
55054
  exports.OrganizationQuery = OrganizationQuery;
55055
+ exports.OrganizationRegionQuery = OrganizationRegionQuery;
55056
+ exports.OrganizationRegionResponse = OrganizationRegionResponse;
54797
55057
  exports.OrganizationStartPlusTrialMutation = OrganizationStartPlusTrialMutation;
54798
55058
  exports.OrganizationStartPlusTrialPayload = OrganizationStartPlusTrialPayload;
54799
55059
  exports.Organization_IntegrationsQuery = Organization_IntegrationsQuery;
@@ -54885,6 +55145,7 @@
54885
55145
  exports.SearchProjectsQuery = SearchProjectsQuery;
54886
55146
  exports.SearchProjects_ArchivePayloadQuery = SearchProjects_ArchivePayloadQuery;
54887
55147
  exports.SentrySettings = SentrySettings;
55148
+ exports.SharedSlackSettings = SharedSlackSettings;
54888
55149
  exports.SlackAsksSettings = SlackAsksSettings;
54889
55150
  exports.SlackAsksTeamSettings = SlackAsksTeamSettings;
54890
55151
  exports.SlackChannelConnectPayload = SlackChannelConnectPayload;