@linear/sdk 19.1.1 → 19.3.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":"19.1.1"};
12
+ const env = {"npm_package_name":"@linear/sdk","npm_package_version":"19.3.0"};
13
13
  try {
14
14
  if (process) {
15
15
  process.env = Object.assign({}, process.env);
@@ -1546,11 +1546,11 @@
1546
1546
  ReleaseChannel["Public"] = "public";
1547
1547
  })(ReleaseChannel || (ReleaseChannel = {}));
1548
1548
  /** Which day count to use for SLA calculations. */
1549
- var SlaDayCountType;
1550
- (function (SlaDayCountType) {
1551
- SlaDayCountType["All"] = "all";
1552
- SlaDayCountType["OnlyBusinessDays"] = "onlyBusinessDays";
1553
- })(SlaDayCountType || (SlaDayCountType = {}));
1549
+ var SLADayCountType;
1550
+ (function (SLADayCountType) {
1551
+ SLADayCountType["All"] = "all";
1552
+ SLADayCountType["OnlyBusinessDays"] = "onlyBusinessDays";
1553
+ })(SLADayCountType || (SLADayCountType = {}));
1554
1554
  var SendStrategy;
1555
1555
  (function (SendStrategy) {
1556
1556
  SendStrategy["Desktop"] = "desktop";
@@ -1786,6 +1786,8 @@
1786
1786
  { kind: "Field", name: { kind: "Name", value: "archivedAt" } },
1787
1787
  { kind: "Field", name: { kind: "Name", value: "createdAt" } },
1788
1788
  { kind: "Field", name: { kind: "Name", value: "notificationSubscriptionTypes" } },
1789
+ { kind: "Field", name: { kind: "Name", value: "userContextViewType" } },
1790
+ { kind: "Field", name: { kind: "Name", value: "contextViewType" } },
1789
1791
  { kind: "Field", name: { kind: "Name", value: "id" } },
1790
1792
  {
1791
1793
  kind: "Field",
@@ -1864,6 +1866,8 @@
1864
1866
  { kind: "Field", name: { kind: "Name", value: "archivedAt" } },
1865
1867
  { kind: "Field", name: { kind: "Name", value: "createdAt" } },
1866
1868
  { kind: "Field", name: { kind: "Name", value: "notificationSubscriptionTypes" } },
1869
+ { kind: "Field", name: { kind: "Name", value: "userContextViewType" } },
1870
+ { kind: "Field", name: { kind: "Name", value: "contextViewType" } },
1867
1871
  { kind: "Field", name: { kind: "Name", value: "id" } },
1868
1872
  {
1869
1873
  kind: "Field",
@@ -2163,6 +2167,8 @@
2163
2167
  },
2164
2168
  { kind: "Field", name: { kind: "Name", value: "archivedAt" } },
2165
2169
  { kind: "Field", name: { kind: "Name", value: "createdAt" } },
2170
+ { kind: "Field", name: { kind: "Name", value: "userContextViewType" } },
2171
+ { kind: "Field", name: { kind: "Name", value: "contextViewType" } },
2166
2172
  { kind: "Field", name: { kind: "Name", value: "id" } },
2167
2173
  {
2168
2174
  kind: "Field",
@@ -2293,6 +2299,7 @@
2293
2299
  { kind: "Field", name: { kind: "Name", value: "requestReason" } },
2294
2300
  { kind: "Field", name: { kind: "Name", value: "denyReason" } },
2295
2301
  { kind: "Field", name: { kind: "Name", value: "scopes" } },
2302
+ { kind: "Field", name: { kind: "Name", value: "status" } },
2296
2303
  { kind: "Field", name: { kind: "Name", value: "archivedAt" } },
2297
2304
  { kind: "Field", name: { kind: "Name", value: "createdAt" } },
2298
2305
  { kind: "Field", name: { kind: "Name", value: "id" } },
@@ -2806,6 +2813,8 @@
2806
2813
  { kind: "Field", name: { kind: "Name", value: "archivedAt" } },
2807
2814
  { kind: "Field", name: { kind: "Name", value: "createdAt" } },
2808
2815
  { kind: "Field", name: { kind: "Name", value: "notificationSubscriptionTypes" } },
2816
+ { kind: "Field", name: { kind: "Name", value: "userContextViewType" } },
2817
+ { kind: "Field", name: { kind: "Name", value: "contextViewType" } },
2809
2818
  { kind: "Field", name: { kind: "Name", value: "id" } },
2810
2819
  {
2811
2820
  kind: "Field",
@@ -2884,6 +2893,8 @@
2884
2893
  { kind: "Field", name: { kind: "Name", value: "archivedAt" } },
2885
2894
  { kind: "Field", name: { kind: "Name", value: "createdAt" } },
2886
2895
  { kind: "Field", name: { kind: "Name", value: "notificationSubscriptionTypes" } },
2896
+ { kind: "Field", name: { kind: "Name", value: "userContextViewType" } },
2897
+ { kind: "Field", name: { kind: "Name", value: "contextViewType" } },
2887
2898
  { kind: "Field", name: { kind: "Name", value: "id" } },
2888
2899
  {
2889
2900
  kind: "Field",
@@ -2962,6 +2973,8 @@
2962
2973
  { kind: "Field", name: { kind: "Name", value: "archivedAt" } },
2963
2974
  { kind: "Field", name: { kind: "Name", value: "createdAt" } },
2964
2975
  { kind: "Field", name: { kind: "Name", value: "notificationSubscriptionTypes" } },
2976
+ { kind: "Field", name: { kind: "Name", value: "userContextViewType" } },
2977
+ { kind: "Field", name: { kind: "Name", value: "contextViewType" } },
2965
2978
  { kind: "Field", name: { kind: "Name", value: "id" } },
2966
2979
  {
2967
2980
  kind: "Field",
@@ -3064,6 +3077,8 @@
3064
3077
  { kind: "Field", name: { kind: "Name", value: "archivedAt" } },
3065
3078
  { kind: "Field", name: { kind: "Name", value: "createdAt" } },
3066
3079
  { kind: "Field", name: { kind: "Name", value: "notificationSubscriptionTypes" } },
3080
+ { kind: "Field", name: { kind: "Name", value: "userContextViewType" } },
3081
+ { kind: "Field", name: { kind: "Name", value: "contextViewType" } },
3067
3082
  { kind: "Field", name: { kind: "Name", value: "id" } },
3068
3083
  {
3069
3084
  kind: "Field",
@@ -3101,6 +3116,7 @@
3101
3116
  { kind: "Field", name: { kind: "Name", value: "allowedAuthServices" } },
3102
3117
  { kind: "Field", name: { kind: "Name", value: "previousUrlKeys" } },
3103
3118
  { kind: "Field", name: { kind: "Name", value: "serviceId" } },
3119
+ { kind: "Field", name: { kind: "Name", value: "releaseChannel" } },
3104
3120
  { kind: "Field", name: { kind: "Name", value: "logoUrl" } },
3105
3121
  { kind: "Field", name: { kind: "Name", value: "name" } },
3106
3122
  { kind: "Field", name: { kind: "Name", value: "urlKey" } },
@@ -3252,6 +3268,9 @@
3252
3268
  { kind: "Field", name: { kind: "Name", value: "createdIssueCount" } },
3253
3269
  { kind: "Field", name: { kind: "Name", value: "previousUrlKeys" } },
3254
3270
  { kind: "Field", name: { kind: "Name", value: "periodUploadVolume" } },
3271
+ { kind: "Field", name: { kind: "Name", value: "projectUpdateRemindersDay" } },
3272
+ { kind: "Field", name: { kind: "Name", value: "releaseChannel" } },
3273
+ { kind: "Field", name: { kind: "Name", value: "projectUpdatesReminderFrequency" } },
3255
3274
  { kind: "Field", name: { kind: "Name", value: "projectUpdateRemindersHour" } },
3256
3275
  { kind: "Field", name: { kind: "Name", value: "updatedAt" } },
3257
3276
  { kind: "Field", name: { kind: "Name", value: "fiscalYearStartMonth" } },
@@ -3277,6 +3296,7 @@
3277
3296
  { kind: "Field", name: { kind: "Name", value: "gitLinkbackMessagesEnabled" } },
3278
3297
  { kind: "Field", name: { kind: "Name", value: "gitPublicLinkbackMessagesEnabled" } },
3279
3298
  { kind: "Field", name: { kind: "Name", value: "roadmapEnabled" } },
3299
+ { kind: "Field", name: { kind: "Name", value: "slaDayCount" } },
3280
3300
  ],
3281
3301
  },
3282
3302
  },
@@ -3351,6 +3371,7 @@
3351
3371
  { kind: "Field", name: { kind: "Name", value: "name" } },
3352
3372
  { kind: "Field", name: { kind: "Name", value: "operatingSystem" } },
3353
3373
  { kind: "Field", name: { kind: "Name", value: "userAgent" } },
3374
+ { kind: "Field", name: { kind: "Name", value: "type" } },
3354
3375
  { kind: "Field", name: { kind: "Name", value: "browserType" } },
3355
3376
  { kind: "Field", name: { kind: "Name", value: "lastActiveAt" } },
3356
3377
  { kind: "Field", name: { kind: "Name", value: "id" } },
@@ -3385,6 +3406,7 @@
3385
3406
  selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }],
3386
3407
  },
3387
3408
  },
3409
+ { kind: "Field", name: { kind: "Name", value: "authType" } },
3388
3410
  { kind: "Field", name: { kind: "Name", value: "claimed" } },
3389
3411
  ],
3390
3412
  },
@@ -3525,6 +3547,7 @@
3525
3547
  { kind: "Field", name: { kind: "Name", value: "enterpriseName" } },
3526
3548
  { kind: "Field", name: { kind: "Name", value: "teamId" } },
3527
3549
  { kind: "Field", name: { kind: "Name", value: "teamName" } },
3550
+ { kind: "Field", name: { kind: "Name", value: "shouldUnfurl" } },
3528
3551
  ],
3529
3552
  },
3530
3553
  },
@@ -3873,6 +3896,7 @@
3873
3896
  { kind: "Field", name: { kind: "Name", value: "teamId" } },
3874
3897
  { kind: "Field", name: { kind: "Name", value: "teamName" } },
3875
3898
  { kind: "Field", name: { kind: "Name", value: "linkOnIssueIdMention" } },
3899
+ { kind: "Field", name: { kind: "Name", value: "shouldUnfurl" } },
3876
3900
  ],
3877
3901
  },
3878
3902
  },
@@ -3951,6 +3975,8 @@
3951
3975
  selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "SlackChannelNameMapping" } }],
3952
3976
  },
3953
3977
  },
3978
+ { kind: "Field", name: { kind: "Name", value: "canAdministrate" } },
3979
+ { kind: "Field", name: { kind: "Name", value: "shouldUnfurl" } },
3954
3980
  ],
3955
3981
  },
3956
3982
  },
@@ -3969,6 +3995,7 @@
3969
3995
  { kind: "Field", name: { kind: "Name", value: "__typename" } },
3970
3996
  { kind: "Field", name: { kind: "Name", value: "channel" } },
3971
3997
  { kind: "Field", name: { kind: "Name", value: "channelId" } },
3998
+ { kind: "Field", name: { kind: "Name", value: "channelType" } },
3972
3999
  { kind: "Field", name: { kind: "Name", value: "configurationUrl" } },
3973
4000
  ],
3974
4001
  },
@@ -4219,6 +4246,7 @@
4219
4246
  { kind: "Field", name: { kind: "Name", value: "name" } },
4220
4247
  { kind: "Field", name: { kind: "Name", value: "operatingSystem" } },
4221
4248
  { kind: "Field", name: { kind: "Name", value: "userAgent" } },
4249
+ { kind: "Field", name: { kind: "Name", value: "type" } },
4222
4250
  { kind: "Field", name: { kind: "Name", value: "browserType" } },
4223
4251
  { kind: "Field", name: { kind: "Name", value: "lastActiveAt" } },
4224
4252
  { kind: "Field", name: { kind: "Name", value: "id" } },
@@ -4741,6 +4769,7 @@
4741
4769
  selections: [
4742
4770
  { kind: "Field", name: { kind: "Name", value: "__typename" } },
4743
4771
  { kind: "Field", name: { kind: "Name", value: "id" } },
4772
+ { kind: "Field", name: { kind: "Name", value: "authType" } },
4744
4773
  { kind: "Field", name: { kind: "Name", value: "claimed" } },
4745
4774
  { kind: "Field", name: { kind: "Name", value: "name" } },
4746
4775
  { kind: "Field", name: { kind: "Name", value: "organizationId" } },
@@ -6044,6 +6073,7 @@
6044
6073
  selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }],
6045
6074
  },
6046
6075
  },
6076
+ { kind: "Field", name: { kind: "Name", value: "projectTab" } },
6047
6077
  {
6048
6078
  kind: "Field",
6049
6079
  name: { kind: "Name", value: "predefinedViewTeam" },
@@ -6187,6 +6217,7 @@
6187
6217
  selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }],
6188
6218
  },
6189
6219
  },
6220
+ { kind: "Field", name: { kind: "Name", value: "event" } },
6190
6221
  { kind: "Field", name: { kind: "Name", value: "updatedAt" } },
6191
6222
  {
6192
6223
  kind: "Field",
@@ -6685,6 +6716,7 @@
6685
6716
  { kind: "Field", name: { kind: "Name", value: "__typename" } },
6686
6717
  { kind: "Field", name: { kind: "Name", value: "trashed" } },
6687
6718
  { kind: "Field", name: { kind: "Name", value: "labelIds" } },
6719
+ { kind: "Field", name: { kind: "Name", value: "integrationSourceType" } },
6688
6720
  { kind: "Field", name: { kind: "Name", value: "url" } },
6689
6721
  { kind: "Field", name: { kind: "Name", value: "identifier" } },
6690
6722
  { kind: "Field", name: { kind: "Name", value: "priorityLabel" } },
@@ -7528,6 +7560,7 @@
7528
7560
  { kind: "Field", name: { kind: "Name", value: "__typename" } },
7529
7561
  { kind: "Field", name: { kind: "Name", value: "trashed" } },
7530
7562
  { kind: "Field", name: { kind: "Name", value: "labelIds" } },
7563
+ { kind: "Field", name: { kind: "Name", value: "integrationSourceType" } },
7531
7564
  { kind: "Field", name: { kind: "Name", value: "url" } },
7532
7565
  { kind: "Field", name: { kind: "Name", value: "identifier" } },
7533
7566
  { kind: "Field", name: { kind: "Name", value: "priorityLabel" } },
@@ -7994,6 +8027,26 @@
7994
8027
  },
7995
8028
  ],
7996
8029
  };
8030
+ const OrganizationAcceptedOrExpiredInviteDetailsPayloadFragmentDoc = {
8031
+ kind: "Document",
8032
+ definitions: [
8033
+ {
8034
+ kind: "FragmentDefinition",
8035
+ name: { kind: "Name", value: "OrganizationAcceptedOrExpiredInviteDetailsPayload" },
8036
+ typeCondition: {
8037
+ kind: "NamedType",
8038
+ name: { kind: "Name", value: "OrganizationAcceptedOrExpiredInviteDetailsPayload" },
8039
+ },
8040
+ selectionSet: {
8041
+ kind: "SelectionSet",
8042
+ selections: [
8043
+ { kind: "Field", name: { kind: "Name", value: "__typename" } },
8044
+ { kind: "Field", name: { kind: "Name", value: "status" } },
8045
+ ],
8046
+ },
8047
+ },
8048
+ ],
8049
+ };
7997
8050
  const OrganizationCancelDeletePayloadFragmentDoc = {
7998
8051
  kind: "Document",
7999
8052
  definitions: [
@@ -8066,6 +8119,7 @@
8066
8119
  { kind: "Field", name: { kind: "Name", value: "acceptedAt" } },
8067
8120
  { kind: "Field", name: { kind: "Name", value: "expiresAt" } },
8068
8121
  { kind: "Field", name: { kind: "Name", value: "id" } },
8122
+ { kind: "Field", name: { kind: "Name", value: "role" } },
8069
8123
  {
8070
8124
  kind: "Field",
8071
8125
  name: { kind: "Name", value: "inviter" },
@@ -8135,7 +8189,9 @@
8135
8189
  { kind: "Field", name: { kind: "Name", value: "organizationName" } },
8136
8190
  { kind: "Field", name: { kind: "Name", value: "email" } },
8137
8191
  { kind: "Field", name: { kind: "Name", value: "inviter" } },
8192
+ { kind: "Field", name: { kind: "Name", value: "status" } },
8138
8193
  { kind: "Field", name: { kind: "Name", value: "organizationLogoUrl" } },
8194
+ { kind: "Field", name: { kind: "Name", value: "role" } },
8139
8195
  { kind: "Field", name: { kind: "Name", value: "createdAt" } },
8140
8196
  { kind: "Field", name: { kind: "Name", value: "accepted" } },
8141
8197
  { kind: "Field", name: { kind: "Name", value: "expired" } },
@@ -8785,6 +8841,7 @@
8785
8841
  { kind: "Field", name: { kind: "Name", value: "url" } },
8786
8842
  { kind: "Field", name: { kind: "Name", value: "diffMarkdown" } },
8787
8843
  { kind: "Field", name: { kind: "Name", value: "diff" } },
8844
+ { kind: "Field", name: { kind: "Name", value: "health" } },
8788
8845
  { kind: "Field", name: { kind: "Name", value: "updatedAt" } },
8789
8846
  {
8790
8847
  kind: "Field",
@@ -9513,6 +9570,23 @@
9513
9570
  },
9514
9571
  ],
9515
9572
  };
9573
+ const SummaryPayloadFragmentDoc = {
9574
+ kind: "Document",
9575
+ definitions: [
9576
+ {
9577
+ kind: "FragmentDefinition",
9578
+ name: { kind: "Name", value: "SummaryPayload" },
9579
+ typeCondition: { kind: "NamedType", name: { kind: "Name", value: "SummaryPayload" } },
9580
+ selectionSet: {
9581
+ kind: "SelectionSet",
9582
+ selections: [
9583
+ { kind: "Field", name: { kind: "Name", value: "__typename" } },
9584
+ { kind: "Field", name: { kind: "Name", value: "summary" } },
9585
+ ],
9586
+ },
9587
+ },
9588
+ ],
9589
+ };
9516
9590
  const SynchronizedPayloadFragmentDoc = {
9517
9591
  kind: "Document",
9518
9592
  definitions: [
@@ -10113,6 +10187,7 @@
10113
10187
  ],
10114
10188
  },
10115
10189
  },
10190
+ { kind: "Field", name: { kind: "Name", value: "action" } },
10116
10191
  { kind: "Field", name: { kind: "Name", value: "updatedAt" } },
10117
10192
  {
10118
10193
  kind: "Field",
@@ -10727,6 +10802,7 @@
10727
10802
  { kind: "Field", name: { kind: "Name", value: "updatedAt" } },
10728
10803
  { kind: "Field", name: { kind: "Name", value: "groupName" } },
10729
10804
  { kind: "Field", name: { kind: "Name", value: "name" } },
10805
+ { kind: "Field", name: { kind: "Name", value: "triggerType" } },
10730
10806
  { kind: "Field", name: { kind: "Name", value: "sortOrder" } },
10731
10807
  {
10732
10808
  kind: "Field",
@@ -10738,6 +10814,10 @@
10738
10814
  },
10739
10815
  { kind: "Field", name: { kind: "Name", value: "archivedAt" } },
10740
10816
  { kind: "Field", name: { kind: "Name", value: "createdAt" } },
10817
+ { kind: "Field", name: { kind: "Name", value: "trigger" } },
10818
+ { kind: "Field", name: { kind: "Name", value: "type" } },
10819
+ { kind: "Field", name: { kind: "Name", value: "userContextViewType" } },
10820
+ { kind: "Field", name: { kind: "Name", value: "contextViewType" } },
10741
10821
  { kind: "Field", name: { kind: "Name", value: "id" } },
10742
10822
  {
10743
10823
  kind: "Field",
@@ -34735,7 +34815,7 @@
34735
34815
  get ProjectUpdateReminderFrequency () { return ProjectUpdateReminderFrequency; },
34736
34816
  get PushSubscriptionType () { return PushSubscriptionType; },
34737
34817
  get ReleaseChannel () { return ReleaseChannel; },
34738
- get SlaDayCountType () { return SlaDayCountType; },
34818
+ get SLADayCountType () { return SLADayCountType; },
34739
34819
  get SendStrategy () { return SendStrategy; },
34740
34820
  get SlaStatus () { return SlaStatus; },
34741
34821
  get SlackChannelType () { return SlackChannelType; },
@@ -34927,6 +35007,7 @@
34927
35007
  NotificationSubscriptionPayloadFragmentDoc: NotificationSubscriptionPayloadFragmentDoc,
34928
35008
  OauthClientFragmentDoc: OauthClientFragmentDoc,
34929
35009
  OauthClientConnectionFragmentDoc: OauthClientConnectionFragmentDoc,
35010
+ OrganizationAcceptedOrExpiredInviteDetailsPayloadFragmentDoc: OrganizationAcceptedOrExpiredInviteDetailsPayloadFragmentDoc,
34930
35011
  OrganizationCancelDeletePayloadFragmentDoc: OrganizationCancelDeletePayloadFragmentDoc,
34931
35012
  OrganizationDeletePayloadFragmentDoc: OrganizationDeletePayloadFragmentDoc,
34932
35013
  OrganizationExistsPayloadFragmentDoc: OrganizationExistsPayloadFragmentDoc,
@@ -34976,6 +35057,7 @@
34976
35057
  RoadmapToProjectPayloadFragmentDoc: RoadmapToProjectPayloadFragmentDoc,
34977
35058
  SlackChannelConnectPayloadFragmentDoc: SlackChannelConnectPayloadFragmentDoc,
34978
35059
  SsoUrlFromEmailResponseFragmentDoc: SsoUrlFromEmailResponseFragmentDoc,
35060
+ SummaryPayloadFragmentDoc: SummaryPayloadFragmentDoc,
34979
35061
  SynchronizedPayloadFragmentDoc: SynchronizedPayloadFragmentDoc,
34980
35062
  TeamFragmentDoc: TeamFragmentDoc,
34981
35063
  TeamConnectionFragmentDoc: TeamConnectionFragmentDoc,
@@ -35996,6 +36078,7 @@
35996
36078
  this.serviceId = data.serviceId;
35997
36079
  this.urlKey = data.urlKey;
35998
36080
  this.userCount = data.userCount;
36081
+ this.releaseChannel = data.releaseChannel;
35999
36082
  }
36000
36083
  }
36001
36084
  /**
@@ -36013,6 +36096,7 @@
36013
36096
  this.name = data.name;
36014
36097
  this.organizationId = data.organizationId;
36015
36098
  this.verified = data.verified;
36099
+ this.authType = data.authType;
36016
36100
  }
36017
36101
  }
36018
36102
  /**
@@ -36110,6 +36194,7 @@
36110
36194
  this.operatingSystem = (_k = data.operatingSystem) !== null && _k !== void 0 ? _k : undefined;
36111
36195
  this.updatedAt = (_l = parseDate(data.updatedAt)) !== null && _l !== void 0 ? _l : new Date();
36112
36196
  this.userAgent = (_m = data.userAgent) !== null && _m !== void 0 ? _m : undefined;
36197
+ this.type = data.type;
36113
36198
  }
36114
36199
  }
36115
36200
  /**
@@ -36138,6 +36223,7 @@
36138
36223
  this.operatingSystem = (_k = data.operatingSystem) !== null && _k !== void 0 ? _k : undefined;
36139
36224
  this.updatedAt = (_l = parseDate(data.updatedAt)) !== null && _l !== void 0 ? _l : new Date();
36140
36225
  this.userAgent = (_m = data.userAgent) !== null && _m !== void 0 ? _m : undefined;
36226
+ this.type = data.type;
36141
36227
  }
36142
36228
  }
36143
36229
  /**
@@ -36448,7 +36534,7 @@
36448
36534
  */
36449
36535
  class CustomViewNotificationSubscription extends Request {
36450
36536
  constructor(request, data) {
36451
- var _a, _b, _c, _d, _e, _f, _g, _h;
36537
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
36452
36538
  super(request);
36453
36539
  this.active = data.active;
36454
36540
  this.archivedAt = (_a = parseDate(data.archivedAt)) !== null && _a !== void 0 ? _a : undefined;
@@ -36456,13 +36542,15 @@
36456
36542
  this.id = data.id;
36457
36543
  this.notificationSubscriptionTypes = data.notificationSubscriptionTypes;
36458
36544
  this.updatedAt = (_c = parseDate(data.updatedAt)) !== null && _c !== void 0 ? _c : new Date();
36545
+ this.contextViewType = (_d = data.contextViewType) !== null && _d !== void 0 ? _d : undefined;
36546
+ this.userContextViewType = (_e = data.userContextViewType) !== null && _e !== void 0 ? _e : undefined;
36459
36547
  this._customView = data.customView;
36460
- this._cycle = (_d = data.cycle) !== null && _d !== void 0 ? _d : undefined;
36461
- this._label = (_e = data.label) !== null && _e !== void 0 ? _e : undefined;
36462
- this._project = (_f = data.project) !== null && _f !== void 0 ? _f : undefined;
36548
+ this._cycle = (_f = data.cycle) !== null && _f !== void 0 ? _f : undefined;
36549
+ this._label = (_g = data.label) !== null && _g !== void 0 ? _g : undefined;
36550
+ this._project = (_h = data.project) !== null && _h !== void 0 ? _h : undefined;
36463
36551
  this._subscriber = data.subscriber;
36464
- this._team = (_g = data.team) !== null && _g !== void 0 ? _g : undefined;
36465
- this._user = (_h = data.user) !== null && _h !== void 0 ? _h : undefined;
36552
+ this._team = (_j = data.team) !== null && _j !== void 0 ? _j : undefined;
36553
+ this._user = (_k = data.user) !== null && _k !== void 0 ? _k : undefined;
36466
36554
  }
36467
36555
  /** The custom view subscribed to. */
36468
36556
  get customView() {
@@ -36625,7 +36713,7 @@
36625
36713
  */
36626
36714
  class CycleNotificationSubscription extends Request {
36627
36715
  constructor(request, data) {
36628
- var _a, _b, _c, _d, _e, _f, _g, _h;
36716
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
36629
36717
  super(request);
36630
36718
  this.active = data.active;
36631
36719
  this.archivedAt = (_a = parseDate(data.archivedAt)) !== null && _a !== void 0 ? _a : undefined;
@@ -36633,13 +36721,15 @@
36633
36721
  this.id = data.id;
36634
36722
  this.notificationSubscriptionTypes = data.notificationSubscriptionTypes;
36635
36723
  this.updatedAt = (_c = parseDate(data.updatedAt)) !== null && _c !== void 0 ? _c : new Date();
36636
- this._customView = (_d = data.customView) !== null && _d !== void 0 ? _d : undefined;
36724
+ this.contextViewType = (_d = data.contextViewType) !== null && _d !== void 0 ? _d : undefined;
36725
+ this.userContextViewType = (_e = data.userContextViewType) !== null && _e !== void 0 ? _e : undefined;
36726
+ this._customView = (_f = data.customView) !== null && _f !== void 0 ? _f : undefined;
36637
36727
  this._cycle = data.cycle;
36638
- this._label = (_e = data.label) !== null && _e !== void 0 ? _e : undefined;
36639
- this._project = (_f = data.project) !== null && _f !== void 0 ? _f : undefined;
36728
+ this._label = (_g = data.label) !== null && _g !== void 0 ? _g : undefined;
36729
+ this._project = (_h = data.project) !== null && _h !== void 0 ? _h : undefined;
36640
36730
  this._subscriber = data.subscriber;
36641
- this._team = (_g = data.team) !== null && _g !== void 0 ? _g : undefined;
36642
- this._user = (_h = data.user) !== null && _h !== void 0 ? _h : undefined;
36731
+ this._team = (_j = data.team) !== null && _j !== void 0 ? _j : undefined;
36732
+ this._user = (_k = data.user) !== null && _k !== void 0 ? _k : undefined;
36643
36733
  }
36644
36734
  /** The contextual custom view associated with the notification subscription. */
36645
36735
  get customView() {
@@ -37181,7 +37271,7 @@
37181
37271
  */
37182
37272
  class Favorite extends Request {
37183
37273
  constructor(request, data) {
37184
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r;
37274
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s;
37185
37275
  super(request);
37186
37276
  this.archivedAt = (_a = parseDate(data.archivedAt)) !== null && _a !== void 0 ? _a : undefined;
37187
37277
  this.createdAt = (_b = parseDate(data.createdAt)) !== null && _b !== void 0 ? _b : new Date();
@@ -37191,18 +37281,19 @@
37191
37281
  this.sortOrder = data.sortOrder;
37192
37282
  this.type = data.type;
37193
37283
  this.updatedAt = (_e = parseDate(data.updatedAt)) !== null && _e !== void 0 ? _e : new Date();
37194
- this._customView = (_f = data.customView) !== null && _f !== void 0 ? _f : undefined;
37195
- this._cycle = (_g = data.cycle) !== null && _g !== void 0 ? _g : undefined;
37196
- this._document = (_h = data.document) !== null && _h !== void 0 ? _h : undefined;
37197
- this._issue = (_j = data.issue) !== null && _j !== void 0 ? _j : undefined;
37198
- this._label = (_k = data.label) !== null && _k !== void 0 ? _k : undefined;
37284
+ this.projectTab = (_f = data.projectTab) !== null && _f !== void 0 ? _f : undefined;
37285
+ this._customView = (_g = data.customView) !== null && _g !== void 0 ? _g : undefined;
37286
+ this._cycle = (_h = data.cycle) !== null && _h !== void 0 ? _h : undefined;
37287
+ this._document = (_j = data.document) !== null && _j !== void 0 ? _j : undefined;
37288
+ this._issue = (_k = data.issue) !== null && _k !== void 0 ? _k : undefined;
37289
+ this._label = (_l = data.label) !== null && _l !== void 0 ? _l : undefined;
37199
37290
  this._owner = data.owner;
37200
- this._parent = (_l = data.parent) !== null && _l !== void 0 ? _l : undefined;
37201
- this._predefinedViewTeam = (_m = data.predefinedViewTeam) !== null && _m !== void 0 ? _m : undefined;
37202
- this._project = (_o = data.project) !== null && _o !== void 0 ? _o : undefined;
37203
- this._projectTeam = (_p = data.projectTeam) !== null && _p !== void 0 ? _p : undefined;
37204
- this._roadmap = (_q = data.roadmap) !== null && _q !== void 0 ? _q : undefined;
37205
- this._user = (_r = data.user) !== null && _r !== void 0 ? _r : undefined;
37291
+ this._parent = (_m = data.parent) !== null && _m !== void 0 ? _m : undefined;
37292
+ this._predefinedViewTeam = (_o = data.predefinedViewTeam) !== null && _o !== void 0 ? _o : undefined;
37293
+ this._project = (_p = data.project) !== null && _p !== void 0 ? _p : undefined;
37294
+ this._projectTeam = (_q = data.projectTeam) !== null && _q !== void 0 ? _q : undefined;
37295
+ this._roadmap = (_r = data.roadmap) !== null && _r !== void 0 ? _r : undefined;
37296
+ this._user = (_s = data.user) !== null && _s !== void 0 ? _s : undefined;
37206
37297
  }
37207
37298
  /** The favorited custom view. */
37208
37299
  get customView() {
@@ -37356,6 +37447,7 @@
37356
37447
  this.id = data.id;
37357
37448
  this.updatedAt = (_d = parseDate(data.updatedAt)) !== null && _d !== void 0 ? _d : new Date();
37358
37449
  this.targetBranch = data.targetBranch ? new GitAutomationTargetBranch(request, data.targetBranch) : undefined;
37450
+ this.event = data.event;
37359
37451
  this._state = (_e = data.state) !== null && _e !== void 0 ? _e : undefined;
37360
37452
  this._team = data.team;
37361
37453
  }
@@ -37916,7 +38008,7 @@
37916
38008
  */
37917
38009
  class Issue extends Request {
37918
38010
  constructor(request, data) {
37919
- 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;
38011
+ 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, _3;
37920
38012
  super(request);
37921
38013
  this.archivedAt = (_a = parseDate(data.archivedAt)) !== null && _a !== void 0 ? _a : undefined;
37922
38014
  this.autoArchivedAt = (_b = parseDate(data.autoArchivedAt)) !== null && _b !== void 0 ? _b : undefined;
@@ -37948,17 +38040,18 @@
37948
38040
  this.updatedAt = (_r = parseDate(data.updatedAt)) !== null && _r !== void 0 ? _r : new Date();
37949
38041
  this.url = data.url;
37950
38042
  this.botActor = data.botActor ? new ActorBot(request, data.botActor) : undefined;
37951
- this._assignee = (_s = data.assignee) !== null && _s !== void 0 ? _s : undefined;
37952
- this._creator = (_t = data.creator) !== null && _t !== void 0 ? _t : undefined;
37953
- this._cycle = (_u = data.cycle) !== null && _u !== void 0 ? _u : undefined;
37954
- this._externalUserCreator = (_v = data.externalUserCreator) !== null && _v !== void 0 ? _v : undefined;
37955
- this._favorite = (_w = data.favorite) !== null && _w !== void 0 ? _w : undefined;
37956
- this._lastAppliedTemplate = (_x = data.lastAppliedTemplate) !== null && _x !== void 0 ? _x : undefined;
37957
- this._parent = (_y = data.parent) !== null && _y !== void 0 ? _y : undefined;
37958
- this._project = (_z = data.project) !== null && _z !== void 0 ? _z : undefined;
37959
- this._projectMilestone = (_0 = data.projectMilestone) !== null && _0 !== void 0 ? _0 : undefined;
37960
- this._snoozedBy = (_1 = data.snoozedBy) !== null && _1 !== void 0 ? _1 : undefined;
37961
- this._sourceComment = (_2 = data.sourceComment) !== null && _2 !== void 0 ? _2 : undefined;
38043
+ this.integrationSourceType = (_s = data.integrationSourceType) !== null && _s !== void 0 ? _s : undefined;
38044
+ this._assignee = (_t = data.assignee) !== null && _t !== void 0 ? _t : undefined;
38045
+ this._creator = (_u = data.creator) !== null && _u !== void 0 ? _u : undefined;
38046
+ this._cycle = (_v = data.cycle) !== null && _v !== void 0 ? _v : undefined;
38047
+ this._externalUserCreator = (_w = data.externalUserCreator) !== null && _w !== void 0 ? _w : undefined;
38048
+ this._favorite = (_x = data.favorite) !== null && _x !== void 0 ? _x : undefined;
38049
+ this._lastAppliedTemplate = (_y = data.lastAppliedTemplate) !== null && _y !== void 0 ? _y : undefined;
38050
+ this._parent = (_z = data.parent) !== null && _z !== void 0 ? _z : undefined;
38051
+ this._project = (_0 = data.project) !== null && _0 !== void 0 ? _0 : undefined;
38052
+ this._projectMilestone = (_1 = data.projectMilestone) !== null && _1 !== void 0 ? _1 : undefined;
38053
+ this._snoozedBy = (_2 = data.snoozedBy) !== null && _2 !== void 0 ? _2 : undefined;
38054
+ this._sourceComment = (_3 = data.sourceComment) !== null && _3 !== void 0 ? _3 : undefined;
37962
38055
  this._state = data.state;
37963
38056
  this._team = data.team;
37964
38057
  }
@@ -38668,7 +38761,7 @@
38668
38761
  */
38669
38762
  class IssueSearchResult extends Request {
38670
38763
  constructor(request, data) {
38671
- 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;
38764
+ 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, _3;
38672
38765
  super(request);
38673
38766
  this.archivedAt = (_a = parseDate(data.archivedAt)) !== null && _a !== void 0 ? _a : undefined;
38674
38767
  this.autoArchivedAt = (_b = parseDate(data.autoArchivedAt)) !== null && _b !== void 0 ? _b : undefined;
@@ -38701,17 +38794,18 @@
38701
38794
  this.updatedAt = (_r = parseDate(data.updatedAt)) !== null && _r !== void 0 ? _r : new Date();
38702
38795
  this.url = data.url;
38703
38796
  this.botActor = data.botActor ? new ActorBot(request, data.botActor) : undefined;
38704
- this._assignee = (_s = data.assignee) !== null && _s !== void 0 ? _s : undefined;
38705
- this._creator = (_t = data.creator) !== null && _t !== void 0 ? _t : undefined;
38706
- this._cycle = (_u = data.cycle) !== null && _u !== void 0 ? _u : undefined;
38707
- this._externalUserCreator = (_v = data.externalUserCreator) !== null && _v !== void 0 ? _v : undefined;
38708
- this._favorite = (_w = data.favorite) !== null && _w !== void 0 ? _w : undefined;
38709
- this._lastAppliedTemplate = (_x = data.lastAppliedTemplate) !== null && _x !== void 0 ? _x : undefined;
38710
- this._parent = (_y = data.parent) !== null && _y !== void 0 ? _y : undefined;
38711
- this._project = (_z = data.project) !== null && _z !== void 0 ? _z : undefined;
38712
- this._projectMilestone = (_0 = data.projectMilestone) !== null && _0 !== void 0 ? _0 : undefined;
38713
- this._snoozedBy = (_1 = data.snoozedBy) !== null && _1 !== void 0 ? _1 : undefined;
38714
- this._sourceComment = (_2 = data.sourceComment) !== null && _2 !== void 0 ? _2 : undefined;
38797
+ this.integrationSourceType = (_s = data.integrationSourceType) !== null && _s !== void 0 ? _s : undefined;
38798
+ this._assignee = (_t = data.assignee) !== null && _t !== void 0 ? _t : undefined;
38799
+ this._creator = (_u = data.creator) !== null && _u !== void 0 ? _u : undefined;
38800
+ this._cycle = (_v = data.cycle) !== null && _v !== void 0 ? _v : undefined;
38801
+ this._externalUserCreator = (_w = data.externalUserCreator) !== null && _w !== void 0 ? _w : undefined;
38802
+ this._favorite = (_x = data.favorite) !== null && _x !== void 0 ? _x : undefined;
38803
+ this._lastAppliedTemplate = (_y = data.lastAppliedTemplate) !== null && _y !== void 0 ? _y : undefined;
38804
+ this._parent = (_z = data.parent) !== null && _z !== void 0 ? _z : undefined;
38805
+ this._project = (_0 = data.project) !== null && _0 !== void 0 ? _0 : undefined;
38806
+ this._projectMilestone = (_1 = data.projectMilestone) !== null && _1 !== void 0 ? _1 : undefined;
38807
+ this._snoozedBy = (_2 = data.snoozedBy) !== null && _2 !== void 0 ? _2 : undefined;
38808
+ this._sourceComment = (_3 = data.sourceComment) !== null && _3 !== void 0 ? _3 : undefined;
38715
38809
  this._state = data.state;
38716
38810
  this._team = data.team;
38717
38811
  }
@@ -38865,7 +38959,7 @@
38865
38959
  */
38866
38960
  class LabelNotificationSubscription extends Request {
38867
38961
  constructor(request, data) {
38868
- var _a, _b, _c, _d, _e, _f, _g, _h;
38962
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
38869
38963
  super(request);
38870
38964
  this.active = data.active;
38871
38965
  this.archivedAt = (_a = parseDate(data.archivedAt)) !== null && _a !== void 0 ? _a : undefined;
@@ -38873,13 +38967,15 @@
38873
38967
  this.id = data.id;
38874
38968
  this.notificationSubscriptionTypes = data.notificationSubscriptionTypes;
38875
38969
  this.updatedAt = (_c = parseDate(data.updatedAt)) !== null && _c !== void 0 ? _c : new Date();
38876
- this._customView = (_d = data.customView) !== null && _d !== void 0 ? _d : undefined;
38877
- this._cycle = (_e = data.cycle) !== null && _e !== void 0 ? _e : undefined;
38970
+ this.contextViewType = (_d = data.contextViewType) !== null && _d !== void 0 ? _d : undefined;
38971
+ this.userContextViewType = (_e = data.userContextViewType) !== null && _e !== void 0 ? _e : undefined;
38972
+ this._customView = (_f = data.customView) !== null && _f !== void 0 ? _f : undefined;
38973
+ this._cycle = (_g = data.cycle) !== null && _g !== void 0 ? _g : undefined;
38878
38974
  this._label = data.label;
38879
- this._project = (_f = data.project) !== null && _f !== void 0 ? _f : undefined;
38975
+ this._project = (_h = data.project) !== null && _h !== void 0 ? _h : undefined;
38880
38976
  this._subscriber = data.subscriber;
38881
- this._team = (_g = data.team) !== null && _g !== void 0 ? _g : undefined;
38882
- this._user = (_h = data.user) !== null && _h !== void 0 ? _h : undefined;
38977
+ this._team = (_j = data.team) !== null && _j !== void 0 ? _j : undefined;
38978
+ this._user = (_k = data.user) !== null && _k !== void 0 ? _k : undefined;
38883
38979
  }
38884
38980
  /** The contextual custom view associated with the notification subscription. */
38885
38981
  get customView() {
@@ -39063,20 +39159,22 @@
39063
39159
  */
39064
39160
  class NotificationSubscription extends Request {
39065
39161
  constructor(request, data) {
39066
- var _a, _b, _c, _d, _e, _f, _g, _h, _j;
39162
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
39067
39163
  super(request);
39068
39164
  this.active = data.active;
39069
39165
  this.archivedAt = (_a = parseDate(data.archivedAt)) !== null && _a !== void 0 ? _a : undefined;
39070
39166
  this.createdAt = (_b = parseDate(data.createdAt)) !== null && _b !== void 0 ? _b : new Date();
39071
39167
  this.id = data.id;
39072
39168
  this.updatedAt = (_c = parseDate(data.updatedAt)) !== null && _c !== void 0 ? _c : new Date();
39073
- this._customView = (_d = data.customView) !== null && _d !== void 0 ? _d : undefined;
39074
- this._cycle = (_e = data.cycle) !== null && _e !== void 0 ? _e : undefined;
39075
- this._label = (_f = data.label) !== null && _f !== void 0 ? _f : undefined;
39076
- this._project = (_g = data.project) !== null && _g !== void 0 ? _g : undefined;
39169
+ this.contextViewType = (_d = data.contextViewType) !== null && _d !== void 0 ? _d : undefined;
39170
+ this.userContextViewType = (_e = data.userContextViewType) !== null && _e !== void 0 ? _e : undefined;
39171
+ this._customView = (_f = data.customView) !== null && _f !== void 0 ? _f : undefined;
39172
+ this._cycle = (_g = data.cycle) !== null && _g !== void 0 ? _g : undefined;
39173
+ this._label = (_h = data.label) !== null && _h !== void 0 ? _h : undefined;
39174
+ this._project = (_j = data.project) !== null && _j !== void 0 ? _j : undefined;
39077
39175
  this._subscriber = data.subscriber;
39078
- this._team = (_h = data.team) !== null && _h !== void 0 ? _h : undefined;
39079
- this._user = (_j = data.user) !== null && _j !== void 0 ? _j : undefined;
39176
+ this._team = (_k = data.team) !== null && _k !== void 0 ? _k : undefined;
39177
+ this._user = (_l = data.user) !== null && _l !== void 0 ? _l : undefined;
39080
39178
  }
39081
39179
  /** The contextual custom view associated with the notification subscription. */
39082
39180
  get customView() {
@@ -39237,6 +39335,7 @@
39237
39335
  this.responderId = (_e = data.responderId) !== null && _e !== void 0 ? _e : undefined;
39238
39336
  this.scopes = data.scopes;
39239
39337
  this.updatedAt = (_f = parseDate(data.updatedAt)) !== null && _f !== void 0 ? _f : new Date();
39338
+ this.status = data.status;
39240
39339
  }
39241
39340
  }
39242
39341
  /**
@@ -39359,6 +39458,10 @@
39359
39458
  this.urlKey = data.urlKey;
39360
39459
  this.userCount = data.userCount;
39361
39460
  this.subscription = data.subscription ? new PaidSubscription(request, data.subscription) : undefined;
39461
+ this.projectUpdateRemindersDay = data.projectUpdateRemindersDay;
39462
+ this.projectUpdatesReminderFrequency = data.projectUpdatesReminderFrequency;
39463
+ this.releaseChannel = data.releaseChannel;
39464
+ this.slaDayCount = data.slaDayCount;
39362
39465
  }
39363
39466
  /** Integrations associated with the organization. */
39364
39467
  integrations(variables) {
@@ -39389,6 +39492,18 @@
39389
39492
  return new UpdateOrganizationMutation(this._request).fetch(input);
39390
39493
  }
39391
39494
  }
39495
+ /**
39496
+ * OrganizationAcceptedOrExpiredInviteDetailsPayload model
39497
+ *
39498
+ * @param request - function to call the graphql client
39499
+ * @param data - L.OrganizationAcceptedOrExpiredInviteDetailsPayloadFragment response data
39500
+ */
39501
+ class OrganizationAcceptedOrExpiredInviteDetailsPayload extends Request {
39502
+ constructor(request, data) {
39503
+ super(request);
39504
+ this.status = data.status;
39505
+ }
39506
+ }
39392
39507
  /**
39393
39508
  * OrganizationCancelDeletePayload model
39394
39509
  *
@@ -39431,6 +39546,7 @@
39431
39546
  this.updatedAt = (_d = parseDate(data.updatedAt)) !== null && _d !== void 0 ? _d : new Date();
39432
39547
  this.verificationEmail = (_e = data.verificationEmail) !== null && _e !== void 0 ? _e : undefined;
39433
39548
  this.verified = data.verified;
39549
+ this.authType = data.authType;
39434
39550
  this._creator = (_f = data.creator) !== null && _f !== void 0 ? _f : undefined;
39435
39551
  }
39436
39552
  /** The user who added the domain. */
@@ -39475,6 +39591,7 @@
39475
39591
  this.id = data.id;
39476
39592
  this.metadata = data.metadata;
39477
39593
  this.updatedAt = (_e = parseDate(data.updatedAt)) !== null && _e !== void 0 ? _e : new Date();
39594
+ this.role = data.role;
39478
39595
  this._invitee = (_f = data.invitee) !== null && _f !== void 0 ? _f : undefined;
39479
39596
  this._inviter = data.inviter;
39480
39597
  }
@@ -39535,6 +39652,8 @@
39535
39652
  this.organizationId = data.organizationId;
39536
39653
  this.organizationLogoUrl = (_b = data.organizationLogoUrl) !== null && _b !== void 0 ? _b : undefined;
39537
39654
  this.organizationName = data.organizationName;
39655
+ this.role = data.role;
39656
+ this.status = data.status;
39538
39657
  }
39539
39658
  }
39540
39659
  /**
@@ -40057,7 +40176,7 @@
40057
40176
  */
40058
40177
  class ProjectNotificationSubscription extends Request {
40059
40178
  constructor(request, data) {
40060
- var _a, _b, _c, _d, _e, _f, _g, _h;
40179
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
40061
40180
  super(request);
40062
40181
  this.active = data.active;
40063
40182
  this.archivedAt = (_a = parseDate(data.archivedAt)) !== null && _a !== void 0 ? _a : undefined;
@@ -40065,13 +40184,15 @@
40065
40184
  this.id = data.id;
40066
40185
  this.notificationSubscriptionTypes = data.notificationSubscriptionTypes;
40067
40186
  this.updatedAt = (_c = parseDate(data.updatedAt)) !== null && _c !== void 0 ? _c : new Date();
40068
- this._customView = (_d = data.customView) !== null && _d !== void 0 ? _d : undefined;
40069
- this._cycle = (_e = data.cycle) !== null && _e !== void 0 ? _e : undefined;
40070
- this._label = (_f = data.label) !== null && _f !== void 0 ? _f : undefined;
40187
+ this.contextViewType = (_d = data.contextViewType) !== null && _d !== void 0 ? _d : undefined;
40188
+ this.userContextViewType = (_e = data.userContextViewType) !== null && _e !== void 0 ? _e : undefined;
40189
+ this._customView = (_f = data.customView) !== null && _f !== void 0 ? _f : undefined;
40190
+ this._cycle = (_g = data.cycle) !== null && _g !== void 0 ? _g : undefined;
40191
+ this._label = (_h = data.label) !== null && _h !== void 0 ? _h : undefined;
40071
40192
  this._project = data.project;
40072
40193
  this._subscriber = data.subscriber;
40073
- this._team = (_g = data.team) !== null && _g !== void 0 ? _g : undefined;
40074
- this._user = (_h = data.user) !== null && _h !== void 0 ? _h : undefined;
40194
+ this._team = (_j = data.team) !== null && _j !== void 0 ? _j : undefined;
40195
+ this._user = (_k = data.user) !== null && _k !== void 0 ? _k : undefined;
40075
40196
  }
40076
40197
  /** The contextual custom view associated with the notification subscription. */
40077
40198
  get customView() {
@@ -40258,6 +40379,7 @@
40258
40379
  this.isDiffHidden = data.isDiffHidden;
40259
40380
  this.updatedAt = (_f = parseDate(data.updatedAt)) !== null && _f !== void 0 ? _f : new Date();
40260
40381
  this.url = data.url;
40382
+ this.health = data.health;
40261
40383
  this._project = data.project;
40262
40384
  this._user = data.user;
40263
40385
  }
@@ -40776,11 +40898,12 @@
40776
40898
  */
40777
40899
  class SharedSlackSettings extends Request {
40778
40900
  constructor(request, data) {
40779
- var _a, _b, _c;
40901
+ var _a, _b, _c, _d;
40780
40902
  super(request);
40781
40903
  this.enterpriseName = (_a = data.enterpriseName) !== null && _a !== void 0 ? _a : undefined;
40782
- this.teamId = (_b = data.teamId) !== null && _b !== void 0 ? _b : undefined;
40783
- this.teamName = (_c = data.teamName) !== null && _c !== void 0 ? _c : undefined;
40904
+ this.shouldUnfurl = (_b = data.shouldUnfurl) !== null && _b !== void 0 ? _b : undefined;
40905
+ this.teamId = (_c = data.teamId) !== null && _c !== void 0 ? _c : undefined;
40906
+ this.teamName = (_d = data.teamName) !== null && _d !== void 0 ? _d : undefined;
40784
40907
  }
40785
40908
  }
40786
40909
  /**
@@ -40791,14 +40914,16 @@
40791
40914
  */
40792
40915
  class SlackAsksSettings extends Request {
40793
40916
  constructor(request, data) {
40794
- var _a, _b, _c;
40917
+ var _a, _b, _c, _d;
40795
40918
  super(request);
40796
40919
  this.enterpriseName = (_a = data.enterpriseName) !== null && _a !== void 0 ? _a : undefined;
40797
- this.teamId = (_b = data.teamId) !== null && _b !== void 0 ? _b : undefined;
40798
- this.teamName = (_c = data.teamName) !== null && _c !== void 0 ? _c : undefined;
40920
+ this.shouldUnfurl = (_b = data.shouldUnfurl) !== null && _b !== void 0 ? _b : undefined;
40921
+ this.teamId = (_c = data.teamId) !== null && _c !== void 0 ? _c : undefined;
40922
+ this.teamName = (_d = data.teamName) !== null && _d !== void 0 ? _d : undefined;
40799
40923
  this.slackChannelMapping = data.slackChannelMapping
40800
40924
  ? data.slackChannelMapping.map(node => new SlackChannelNameMapping(request, node))
40801
40925
  : undefined;
40926
+ this.canAdministrate = data.canAdministrate;
40802
40927
  }
40803
40928
  }
40804
40929
  /**
@@ -40867,10 +40992,12 @@
40867
40992
  */
40868
40993
  class SlackPostSettings extends Request {
40869
40994
  constructor(request, data) {
40995
+ var _a;
40870
40996
  super(request);
40871
40997
  this.channel = data.channel;
40872
40998
  this.channelId = data.channelId;
40873
40999
  this.configurationUrl = data.configurationUrl;
41000
+ this.channelType = (_a = data.channelType) !== null && _a !== void 0 ? _a : undefined;
40874
41001
  }
40875
41002
  }
40876
41003
  /**
@@ -40881,12 +41008,13 @@
40881
41008
  */
40882
41009
  class SlackSettings extends Request {
40883
41010
  constructor(request, data) {
40884
- var _a, _b, _c;
41011
+ var _a, _b, _c, _d;
40885
41012
  super(request);
40886
41013
  this.enterpriseName = (_a = data.enterpriseName) !== null && _a !== void 0 ? _a : undefined;
40887
41014
  this.linkOnIssueIdMention = data.linkOnIssueIdMention;
40888
- this.teamId = (_b = data.teamId) !== null && _b !== void 0 ? _b : undefined;
40889
- this.teamName = (_c = data.teamName) !== null && _c !== void 0 ? _c : undefined;
41015
+ this.shouldUnfurl = (_b = data.shouldUnfurl) !== null && _b !== void 0 ? _b : undefined;
41016
+ this.teamId = (_c = data.teamId) !== null && _c !== void 0 ? _c : undefined;
41017
+ this.teamName = (_d = data.teamName) !== null && _d !== void 0 ? _d : undefined;
40890
41018
  }
40891
41019
  }
40892
41020
  /**
@@ -40902,6 +41030,18 @@
40902
41030
  this.success = data.success;
40903
41031
  }
40904
41032
  }
41033
+ /**
41034
+ * SummaryPayload model
41035
+ *
41036
+ * @param request - function to call the graphql client
41037
+ * @param data - L.SummaryPayloadFragment response data
41038
+ */
41039
+ class SummaryPayload extends Request {
41040
+ constructor(request, data) {
41041
+ super(request);
41042
+ this.summary = data.summary;
41043
+ }
41044
+ }
40905
41045
  /**
40906
41046
  * SynchronizedPayload model
40907
41047
  *
@@ -41242,7 +41382,7 @@
41242
41382
  */
41243
41383
  class TeamNotificationSubscription extends Request {
41244
41384
  constructor(request, data) {
41245
- var _a, _b, _c, _d, _e, _f, _g, _h;
41385
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
41246
41386
  super(request);
41247
41387
  this.active = data.active;
41248
41388
  this.archivedAt = (_a = parseDate(data.archivedAt)) !== null && _a !== void 0 ? _a : undefined;
@@ -41250,13 +41390,15 @@
41250
41390
  this.id = data.id;
41251
41391
  this.notificationSubscriptionTypes = data.notificationSubscriptionTypes;
41252
41392
  this.updatedAt = (_c = parseDate(data.updatedAt)) !== null && _c !== void 0 ? _c : new Date();
41253
- this._customView = (_d = data.customView) !== null && _d !== void 0 ? _d : undefined;
41254
- this._cycle = (_e = data.cycle) !== null && _e !== void 0 ? _e : undefined;
41255
- this._label = (_f = data.label) !== null && _f !== void 0 ? _f : undefined;
41256
- this._project = (_g = data.project) !== null && _g !== void 0 ? _g : undefined;
41393
+ this.contextViewType = (_d = data.contextViewType) !== null && _d !== void 0 ? _d : undefined;
41394
+ this.userContextViewType = (_e = data.userContextViewType) !== null && _e !== void 0 ? _e : undefined;
41395
+ this._customView = (_f = data.customView) !== null && _f !== void 0 ? _f : undefined;
41396
+ this._cycle = (_g = data.cycle) !== null && _g !== void 0 ? _g : undefined;
41397
+ this._label = (_h = data.label) !== null && _h !== void 0 ? _h : undefined;
41398
+ this._project = (_j = data.project) !== null && _j !== void 0 ? _j : undefined;
41257
41399
  this._subscriber = data.subscriber;
41258
41400
  this._team = data.team;
41259
- this._user = (_h = data.user) !== null && _h !== void 0 ? _h : undefined;
41401
+ this._user = (_k = data.user) !== null && _k !== void 0 ? _k : undefined;
41260
41402
  }
41261
41403
  /** The contextual custom view associated with the notification subscription. */
41262
41404
  get customView() {
@@ -41500,6 +41642,7 @@
41500
41642
  this.manualSelection = data.manualSelection
41501
41643
  ? new TriageResponsibilityManualSelection(request, data.manualSelection)
41502
41644
  : undefined;
41645
+ this.action = data.action;
41503
41646
  this._currentUser = (_d = data.currentUser) !== null && _d !== void 0 ? _d : undefined;
41504
41647
  this._team = data.team;
41505
41648
  }
@@ -41738,7 +41881,7 @@
41738
41881
  */
41739
41882
  class UserNotificationSubscription extends Request {
41740
41883
  constructor(request, data) {
41741
- var _a, _b, _c, _d, _e, _f, _g, _h;
41884
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
41742
41885
  super(request);
41743
41886
  this.active = data.active;
41744
41887
  this.archivedAt = (_a = parseDate(data.archivedAt)) !== null && _a !== void 0 ? _a : undefined;
@@ -41746,12 +41889,14 @@
41746
41889
  this.id = data.id;
41747
41890
  this.notificationSubscriptionTypes = data.notificationSubscriptionTypes;
41748
41891
  this.updatedAt = (_c = parseDate(data.updatedAt)) !== null && _c !== void 0 ? _c : new Date();
41749
- this._customView = (_d = data.customView) !== null && _d !== void 0 ? _d : undefined;
41750
- this._cycle = (_e = data.cycle) !== null && _e !== void 0 ? _e : undefined;
41751
- this._label = (_f = data.label) !== null && _f !== void 0 ? _f : undefined;
41752
- this._project = (_g = data.project) !== null && _g !== void 0 ? _g : undefined;
41892
+ this.contextViewType = (_d = data.contextViewType) !== null && _d !== void 0 ? _d : undefined;
41893
+ this.userContextViewType = (_e = data.userContextViewType) !== null && _e !== void 0 ? _e : undefined;
41894
+ this._customView = (_f = data.customView) !== null && _f !== void 0 ? _f : undefined;
41895
+ this._cycle = (_g = data.cycle) !== null && _g !== void 0 ? _g : undefined;
41896
+ this._label = (_h = data.label) !== null && _h !== void 0 ? _h : undefined;
41897
+ this._project = (_j = data.project) !== null && _j !== void 0 ? _j : undefined;
41753
41898
  this._subscriber = data.subscriber;
41754
- this._team = (_h = data.team) !== null && _h !== void 0 ? _h : undefined;
41899
+ this._team = (_k = data.team) !== null && _k !== void 0 ? _k : undefined;
41755
41900
  this._user = data.user;
41756
41901
  }
41757
41902
  /** The contextual custom view associated with the notification subscription. */
@@ -42059,7 +42204,7 @@
42059
42204
  */
42060
42205
  class WorkflowDefinition extends Request {
42061
42206
  constructor(request, data) {
42062
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
42207
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
42063
42208
  super(request);
42064
42209
  this.activities = data.activities;
42065
42210
  this.archivedAt = (_a = parseDate(data.archivedAt)) !== null && _a !== void 0 ? _a : undefined;
@@ -42072,13 +42217,18 @@
42072
42217
  this.name = data.name;
42073
42218
  this.sortOrder = data.sortOrder;
42074
42219
  this.updatedAt = (_e = parseDate(data.updatedAt)) !== null && _e !== void 0 ? _e : new Date();
42220
+ this.contextViewType = (_f = data.contextViewType) !== null && _f !== void 0 ? _f : undefined;
42221
+ this.trigger = data.trigger;
42222
+ this.triggerType = data.triggerType;
42223
+ this.type = data.type;
42224
+ this.userContextViewType = (_g = data.userContextViewType) !== null && _g !== void 0 ? _g : undefined;
42075
42225
  this._creator = data.creator;
42076
- this._customView = (_f = data.customView) !== null && _f !== void 0 ? _f : undefined;
42077
- this._cycle = (_g = data.cycle) !== null && _g !== void 0 ? _g : undefined;
42078
- this._label = (_h = data.label) !== null && _h !== void 0 ? _h : undefined;
42079
- this._project = (_j = data.project) !== null && _j !== void 0 ? _j : undefined;
42080
- this._team = (_k = data.team) !== null && _k !== void 0 ? _k : undefined;
42081
- this._user = (_l = data.user) !== null && _l !== void 0 ? _l : undefined;
42226
+ this._customView = (_h = data.customView) !== null && _h !== void 0 ? _h : undefined;
42227
+ this._cycle = (_j = data.cycle) !== null && _j !== void 0 ? _j : undefined;
42228
+ this._label = (_k = data.label) !== null && _k !== void 0 ? _k : undefined;
42229
+ this._project = (_l = data.project) !== null && _l !== void 0 ? _l : undefined;
42230
+ this._team = (_m = data.team) !== null && _m !== void 0 ? _m : undefined;
42231
+ this._user = (_o = data.user) !== null && _o !== void 0 ? _o : undefined;
42082
42232
  }
42083
42233
  /** The user who created the workflow. */
42084
42234
  get creator() {
@@ -54958,6 +55108,7 @@
54958
55108
  exports.OauthToken = OauthToken;
54959
55109
  exports.OpsgenieSettings = OpsgenieSettings;
54960
55110
  exports.Organization = Organization;
55111
+ exports.OrganizationAcceptedOrExpiredInviteDetailsPayload = OrganizationAcceptedOrExpiredInviteDetailsPayload;
54961
55112
  exports.OrganizationCancelDeletePayload = OrganizationCancelDeletePayload;
54962
55113
  exports.OrganizationDeleteChallengeMutation = OrganizationDeleteChallengeMutation;
54963
55114
  exports.OrganizationDeletePayload = OrganizationDeletePayload;
@@ -55074,6 +55225,7 @@
55074
55225
  exports.SlackSettings = SlackSettings;
55075
55226
  exports.SsoUrlFromEmailQuery = SsoUrlFromEmailQuery;
55076
55227
  exports.SsoUrlFromEmailResponse = SsoUrlFromEmailResponse;
55228
+ exports.SummaryPayload = SummaryPayload;
55077
55229
  exports.SuspendUserMutation = SuspendUserMutation;
55078
55230
  exports.SynchronizedPayload = SynchronizedPayload;
55079
55231
  exports.Team = Team;