@linear/sdk 19.2.0 → 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.2.0"};
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
  },
@@ -3953,6 +3975,7 @@
3953
3975
  selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "SlackChannelNameMapping" } }],
3954
3976
  },
3955
3977
  },
3978
+ { kind: "Field", name: { kind: "Name", value: "canAdministrate" } },
3956
3979
  { kind: "Field", name: { kind: "Name", value: "shouldUnfurl" } },
3957
3980
  ],
3958
3981
  },
@@ -3972,6 +3995,7 @@
3972
3995
  { kind: "Field", name: { kind: "Name", value: "__typename" } },
3973
3996
  { kind: "Field", name: { kind: "Name", value: "channel" } },
3974
3997
  { kind: "Field", name: { kind: "Name", value: "channelId" } },
3998
+ { kind: "Field", name: { kind: "Name", value: "channelType" } },
3975
3999
  { kind: "Field", name: { kind: "Name", value: "configurationUrl" } },
3976
4000
  ],
3977
4001
  },
@@ -4222,6 +4246,7 @@
4222
4246
  { kind: "Field", name: { kind: "Name", value: "name" } },
4223
4247
  { kind: "Field", name: { kind: "Name", value: "operatingSystem" } },
4224
4248
  { kind: "Field", name: { kind: "Name", value: "userAgent" } },
4249
+ { kind: "Field", name: { kind: "Name", value: "type" } },
4225
4250
  { kind: "Field", name: { kind: "Name", value: "browserType" } },
4226
4251
  { kind: "Field", name: { kind: "Name", value: "lastActiveAt" } },
4227
4252
  { kind: "Field", name: { kind: "Name", value: "id" } },
@@ -4744,6 +4769,7 @@
4744
4769
  selections: [
4745
4770
  { kind: "Field", name: { kind: "Name", value: "__typename" } },
4746
4771
  { kind: "Field", name: { kind: "Name", value: "id" } },
4772
+ { kind: "Field", name: { kind: "Name", value: "authType" } },
4747
4773
  { kind: "Field", name: { kind: "Name", value: "claimed" } },
4748
4774
  { kind: "Field", name: { kind: "Name", value: "name" } },
4749
4775
  { kind: "Field", name: { kind: "Name", value: "organizationId" } },
@@ -6047,6 +6073,7 @@
6047
6073
  selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }],
6048
6074
  },
6049
6075
  },
6076
+ { kind: "Field", name: { kind: "Name", value: "projectTab" } },
6050
6077
  {
6051
6078
  kind: "Field",
6052
6079
  name: { kind: "Name", value: "predefinedViewTeam" },
@@ -6190,6 +6217,7 @@
6190
6217
  selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }],
6191
6218
  },
6192
6219
  },
6220
+ { kind: "Field", name: { kind: "Name", value: "event" } },
6193
6221
  { kind: "Field", name: { kind: "Name", value: "updatedAt" } },
6194
6222
  {
6195
6223
  kind: "Field",
@@ -6688,6 +6716,7 @@
6688
6716
  { kind: "Field", name: { kind: "Name", value: "__typename" } },
6689
6717
  { kind: "Field", name: { kind: "Name", value: "trashed" } },
6690
6718
  { kind: "Field", name: { kind: "Name", value: "labelIds" } },
6719
+ { kind: "Field", name: { kind: "Name", value: "integrationSourceType" } },
6691
6720
  { kind: "Field", name: { kind: "Name", value: "url" } },
6692
6721
  { kind: "Field", name: { kind: "Name", value: "identifier" } },
6693
6722
  { kind: "Field", name: { kind: "Name", value: "priorityLabel" } },
@@ -7531,6 +7560,7 @@
7531
7560
  { kind: "Field", name: { kind: "Name", value: "__typename" } },
7532
7561
  { kind: "Field", name: { kind: "Name", value: "trashed" } },
7533
7562
  { kind: "Field", name: { kind: "Name", value: "labelIds" } },
7563
+ { kind: "Field", name: { kind: "Name", value: "integrationSourceType" } },
7534
7564
  { kind: "Field", name: { kind: "Name", value: "url" } },
7535
7565
  { kind: "Field", name: { kind: "Name", value: "identifier" } },
7536
7566
  { kind: "Field", name: { kind: "Name", value: "priorityLabel" } },
@@ -7997,6 +8027,26 @@
7997
8027
  },
7998
8028
  ],
7999
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
+ };
8000
8050
  const OrganizationCancelDeletePayloadFragmentDoc = {
8001
8051
  kind: "Document",
8002
8052
  definitions: [
@@ -8069,6 +8119,7 @@
8069
8119
  { kind: "Field", name: { kind: "Name", value: "acceptedAt" } },
8070
8120
  { kind: "Field", name: { kind: "Name", value: "expiresAt" } },
8071
8121
  { kind: "Field", name: { kind: "Name", value: "id" } },
8122
+ { kind: "Field", name: { kind: "Name", value: "role" } },
8072
8123
  {
8073
8124
  kind: "Field",
8074
8125
  name: { kind: "Name", value: "inviter" },
@@ -8138,7 +8189,9 @@
8138
8189
  { kind: "Field", name: { kind: "Name", value: "organizationName" } },
8139
8190
  { kind: "Field", name: { kind: "Name", value: "email" } },
8140
8191
  { kind: "Field", name: { kind: "Name", value: "inviter" } },
8192
+ { kind: "Field", name: { kind: "Name", value: "status" } },
8141
8193
  { kind: "Field", name: { kind: "Name", value: "organizationLogoUrl" } },
8194
+ { kind: "Field", name: { kind: "Name", value: "role" } },
8142
8195
  { kind: "Field", name: { kind: "Name", value: "createdAt" } },
8143
8196
  { kind: "Field", name: { kind: "Name", value: "accepted" } },
8144
8197
  { kind: "Field", name: { kind: "Name", value: "expired" } },
@@ -8788,6 +8841,7 @@
8788
8841
  { kind: "Field", name: { kind: "Name", value: "url" } },
8789
8842
  { kind: "Field", name: { kind: "Name", value: "diffMarkdown" } },
8790
8843
  { kind: "Field", name: { kind: "Name", value: "diff" } },
8844
+ { kind: "Field", name: { kind: "Name", value: "health" } },
8791
8845
  { kind: "Field", name: { kind: "Name", value: "updatedAt" } },
8792
8846
  {
8793
8847
  kind: "Field",
@@ -10133,6 +10187,7 @@
10133
10187
  ],
10134
10188
  },
10135
10189
  },
10190
+ { kind: "Field", name: { kind: "Name", value: "action" } },
10136
10191
  { kind: "Field", name: { kind: "Name", value: "updatedAt" } },
10137
10192
  {
10138
10193
  kind: "Field",
@@ -10747,6 +10802,7 @@
10747
10802
  { kind: "Field", name: { kind: "Name", value: "updatedAt" } },
10748
10803
  { kind: "Field", name: { kind: "Name", value: "groupName" } },
10749
10804
  { kind: "Field", name: { kind: "Name", value: "name" } },
10805
+ { kind: "Field", name: { kind: "Name", value: "triggerType" } },
10750
10806
  { kind: "Field", name: { kind: "Name", value: "sortOrder" } },
10751
10807
  {
10752
10808
  kind: "Field",
@@ -10758,6 +10814,10 @@
10758
10814
  },
10759
10815
  { kind: "Field", name: { kind: "Name", value: "archivedAt" } },
10760
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" } },
10761
10821
  { kind: "Field", name: { kind: "Name", value: "id" } },
10762
10822
  {
10763
10823
  kind: "Field",
@@ -34755,7 +34815,7 @@
34755
34815
  get ProjectUpdateReminderFrequency () { return ProjectUpdateReminderFrequency; },
34756
34816
  get PushSubscriptionType () { return PushSubscriptionType; },
34757
34817
  get ReleaseChannel () { return ReleaseChannel; },
34758
- get SlaDayCountType () { return SlaDayCountType; },
34818
+ get SLADayCountType () { return SLADayCountType; },
34759
34819
  get SendStrategy () { return SendStrategy; },
34760
34820
  get SlaStatus () { return SlaStatus; },
34761
34821
  get SlackChannelType () { return SlackChannelType; },
@@ -34947,6 +35007,7 @@
34947
35007
  NotificationSubscriptionPayloadFragmentDoc: NotificationSubscriptionPayloadFragmentDoc,
34948
35008
  OauthClientFragmentDoc: OauthClientFragmentDoc,
34949
35009
  OauthClientConnectionFragmentDoc: OauthClientConnectionFragmentDoc,
35010
+ OrganizationAcceptedOrExpiredInviteDetailsPayloadFragmentDoc: OrganizationAcceptedOrExpiredInviteDetailsPayloadFragmentDoc,
34950
35011
  OrganizationCancelDeletePayloadFragmentDoc: OrganizationCancelDeletePayloadFragmentDoc,
34951
35012
  OrganizationDeletePayloadFragmentDoc: OrganizationDeletePayloadFragmentDoc,
34952
35013
  OrganizationExistsPayloadFragmentDoc: OrganizationExistsPayloadFragmentDoc,
@@ -36017,6 +36078,7 @@
36017
36078
  this.serviceId = data.serviceId;
36018
36079
  this.urlKey = data.urlKey;
36019
36080
  this.userCount = data.userCount;
36081
+ this.releaseChannel = data.releaseChannel;
36020
36082
  }
36021
36083
  }
36022
36084
  /**
@@ -36034,6 +36096,7 @@
36034
36096
  this.name = data.name;
36035
36097
  this.organizationId = data.organizationId;
36036
36098
  this.verified = data.verified;
36099
+ this.authType = data.authType;
36037
36100
  }
36038
36101
  }
36039
36102
  /**
@@ -36131,6 +36194,7 @@
36131
36194
  this.operatingSystem = (_k = data.operatingSystem) !== null && _k !== void 0 ? _k : undefined;
36132
36195
  this.updatedAt = (_l = parseDate(data.updatedAt)) !== null && _l !== void 0 ? _l : new Date();
36133
36196
  this.userAgent = (_m = data.userAgent) !== null && _m !== void 0 ? _m : undefined;
36197
+ this.type = data.type;
36134
36198
  }
36135
36199
  }
36136
36200
  /**
@@ -36159,6 +36223,7 @@
36159
36223
  this.operatingSystem = (_k = data.operatingSystem) !== null && _k !== void 0 ? _k : undefined;
36160
36224
  this.updatedAt = (_l = parseDate(data.updatedAt)) !== null && _l !== void 0 ? _l : new Date();
36161
36225
  this.userAgent = (_m = data.userAgent) !== null && _m !== void 0 ? _m : undefined;
36226
+ this.type = data.type;
36162
36227
  }
36163
36228
  }
36164
36229
  /**
@@ -36469,7 +36534,7 @@
36469
36534
  */
36470
36535
  class CustomViewNotificationSubscription extends Request {
36471
36536
  constructor(request, data) {
36472
- var _a, _b, _c, _d, _e, _f, _g, _h;
36537
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
36473
36538
  super(request);
36474
36539
  this.active = data.active;
36475
36540
  this.archivedAt = (_a = parseDate(data.archivedAt)) !== null && _a !== void 0 ? _a : undefined;
@@ -36477,13 +36542,15 @@
36477
36542
  this.id = data.id;
36478
36543
  this.notificationSubscriptionTypes = data.notificationSubscriptionTypes;
36479
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;
36480
36547
  this._customView = data.customView;
36481
- this._cycle = (_d = data.cycle) !== null && _d !== void 0 ? _d : undefined;
36482
- this._label = (_e = data.label) !== null && _e !== void 0 ? _e : undefined;
36483
- 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;
36484
36551
  this._subscriber = data.subscriber;
36485
- this._team = (_g = data.team) !== null && _g !== void 0 ? _g : undefined;
36486
- 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;
36487
36554
  }
36488
36555
  /** The custom view subscribed to. */
36489
36556
  get customView() {
@@ -36646,7 +36713,7 @@
36646
36713
  */
36647
36714
  class CycleNotificationSubscription extends Request {
36648
36715
  constructor(request, data) {
36649
- var _a, _b, _c, _d, _e, _f, _g, _h;
36716
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
36650
36717
  super(request);
36651
36718
  this.active = data.active;
36652
36719
  this.archivedAt = (_a = parseDate(data.archivedAt)) !== null && _a !== void 0 ? _a : undefined;
@@ -36654,13 +36721,15 @@
36654
36721
  this.id = data.id;
36655
36722
  this.notificationSubscriptionTypes = data.notificationSubscriptionTypes;
36656
36723
  this.updatedAt = (_c = parseDate(data.updatedAt)) !== null && _c !== void 0 ? _c : new Date();
36657
- 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;
36658
36727
  this._cycle = data.cycle;
36659
- this._label = (_e = data.label) !== null && _e !== void 0 ? _e : undefined;
36660
- 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;
36661
36730
  this._subscriber = data.subscriber;
36662
- this._team = (_g = data.team) !== null && _g !== void 0 ? _g : undefined;
36663
- 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;
36664
36733
  }
36665
36734
  /** The contextual custom view associated with the notification subscription. */
36666
36735
  get customView() {
@@ -37202,7 +37271,7 @@
37202
37271
  */
37203
37272
  class Favorite extends Request {
37204
37273
  constructor(request, data) {
37205
- 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;
37206
37275
  super(request);
37207
37276
  this.archivedAt = (_a = parseDate(data.archivedAt)) !== null && _a !== void 0 ? _a : undefined;
37208
37277
  this.createdAt = (_b = parseDate(data.createdAt)) !== null && _b !== void 0 ? _b : new Date();
@@ -37212,18 +37281,19 @@
37212
37281
  this.sortOrder = data.sortOrder;
37213
37282
  this.type = data.type;
37214
37283
  this.updatedAt = (_e = parseDate(data.updatedAt)) !== null && _e !== void 0 ? _e : new Date();
37215
- this._customView = (_f = data.customView) !== null && _f !== void 0 ? _f : undefined;
37216
- this._cycle = (_g = data.cycle) !== null && _g !== void 0 ? _g : undefined;
37217
- this._document = (_h = data.document) !== null && _h !== void 0 ? _h : undefined;
37218
- this._issue = (_j = data.issue) !== null && _j !== void 0 ? _j : undefined;
37219
- 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;
37220
37290
  this._owner = data.owner;
37221
- this._parent = (_l = data.parent) !== null && _l !== void 0 ? _l : undefined;
37222
- this._predefinedViewTeam = (_m = data.predefinedViewTeam) !== null && _m !== void 0 ? _m : undefined;
37223
- this._project = (_o = data.project) !== null && _o !== void 0 ? _o : undefined;
37224
- this._projectTeam = (_p = data.projectTeam) !== null && _p !== void 0 ? _p : undefined;
37225
- this._roadmap = (_q = data.roadmap) !== null && _q !== void 0 ? _q : undefined;
37226
- 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;
37227
37297
  }
37228
37298
  /** The favorited custom view. */
37229
37299
  get customView() {
@@ -37377,6 +37447,7 @@
37377
37447
  this.id = data.id;
37378
37448
  this.updatedAt = (_d = parseDate(data.updatedAt)) !== null && _d !== void 0 ? _d : new Date();
37379
37449
  this.targetBranch = data.targetBranch ? new GitAutomationTargetBranch(request, data.targetBranch) : undefined;
37450
+ this.event = data.event;
37380
37451
  this._state = (_e = data.state) !== null && _e !== void 0 ? _e : undefined;
37381
37452
  this._team = data.team;
37382
37453
  }
@@ -37937,7 +38008,7 @@
37937
38008
  */
37938
38009
  class Issue extends Request {
37939
38010
  constructor(request, data) {
37940
- 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;
37941
38012
  super(request);
37942
38013
  this.archivedAt = (_a = parseDate(data.archivedAt)) !== null && _a !== void 0 ? _a : undefined;
37943
38014
  this.autoArchivedAt = (_b = parseDate(data.autoArchivedAt)) !== null && _b !== void 0 ? _b : undefined;
@@ -37969,17 +38040,18 @@
37969
38040
  this.updatedAt = (_r = parseDate(data.updatedAt)) !== null && _r !== void 0 ? _r : new Date();
37970
38041
  this.url = data.url;
37971
38042
  this.botActor = data.botActor ? new ActorBot(request, data.botActor) : undefined;
37972
- this._assignee = (_s = data.assignee) !== null && _s !== void 0 ? _s : undefined;
37973
- this._creator = (_t = data.creator) !== null && _t !== void 0 ? _t : undefined;
37974
- this._cycle = (_u = data.cycle) !== null && _u !== void 0 ? _u : undefined;
37975
- this._externalUserCreator = (_v = data.externalUserCreator) !== null && _v !== void 0 ? _v : undefined;
37976
- this._favorite = (_w = data.favorite) !== null && _w !== void 0 ? _w : undefined;
37977
- this._lastAppliedTemplate = (_x = data.lastAppliedTemplate) !== null && _x !== void 0 ? _x : undefined;
37978
- this._parent = (_y = data.parent) !== null && _y !== void 0 ? _y : undefined;
37979
- this._project = (_z = data.project) !== null && _z !== void 0 ? _z : undefined;
37980
- this._projectMilestone = (_0 = data.projectMilestone) !== null && _0 !== void 0 ? _0 : undefined;
37981
- this._snoozedBy = (_1 = data.snoozedBy) !== null && _1 !== void 0 ? _1 : undefined;
37982
- 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;
37983
38055
  this._state = data.state;
37984
38056
  this._team = data.team;
37985
38057
  }
@@ -38689,7 +38761,7 @@
38689
38761
  */
38690
38762
  class IssueSearchResult extends Request {
38691
38763
  constructor(request, data) {
38692
- 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;
38693
38765
  super(request);
38694
38766
  this.archivedAt = (_a = parseDate(data.archivedAt)) !== null && _a !== void 0 ? _a : undefined;
38695
38767
  this.autoArchivedAt = (_b = parseDate(data.autoArchivedAt)) !== null && _b !== void 0 ? _b : undefined;
@@ -38722,17 +38794,18 @@
38722
38794
  this.updatedAt = (_r = parseDate(data.updatedAt)) !== null && _r !== void 0 ? _r : new Date();
38723
38795
  this.url = data.url;
38724
38796
  this.botActor = data.botActor ? new ActorBot(request, data.botActor) : undefined;
38725
- this._assignee = (_s = data.assignee) !== null && _s !== void 0 ? _s : undefined;
38726
- this._creator = (_t = data.creator) !== null && _t !== void 0 ? _t : undefined;
38727
- this._cycle = (_u = data.cycle) !== null && _u !== void 0 ? _u : undefined;
38728
- this._externalUserCreator = (_v = data.externalUserCreator) !== null && _v !== void 0 ? _v : undefined;
38729
- this._favorite = (_w = data.favorite) !== null && _w !== void 0 ? _w : undefined;
38730
- this._lastAppliedTemplate = (_x = data.lastAppliedTemplate) !== null && _x !== void 0 ? _x : undefined;
38731
- this._parent = (_y = data.parent) !== null && _y !== void 0 ? _y : undefined;
38732
- this._project = (_z = data.project) !== null && _z !== void 0 ? _z : undefined;
38733
- this._projectMilestone = (_0 = data.projectMilestone) !== null && _0 !== void 0 ? _0 : undefined;
38734
- this._snoozedBy = (_1 = data.snoozedBy) !== null && _1 !== void 0 ? _1 : undefined;
38735
- 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;
38736
38809
  this._state = data.state;
38737
38810
  this._team = data.team;
38738
38811
  }
@@ -38886,7 +38959,7 @@
38886
38959
  */
38887
38960
  class LabelNotificationSubscription extends Request {
38888
38961
  constructor(request, data) {
38889
- var _a, _b, _c, _d, _e, _f, _g, _h;
38962
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
38890
38963
  super(request);
38891
38964
  this.active = data.active;
38892
38965
  this.archivedAt = (_a = parseDate(data.archivedAt)) !== null && _a !== void 0 ? _a : undefined;
@@ -38894,13 +38967,15 @@
38894
38967
  this.id = data.id;
38895
38968
  this.notificationSubscriptionTypes = data.notificationSubscriptionTypes;
38896
38969
  this.updatedAt = (_c = parseDate(data.updatedAt)) !== null && _c !== void 0 ? _c : new Date();
38897
- this._customView = (_d = data.customView) !== null && _d !== void 0 ? _d : undefined;
38898
- 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;
38899
38974
  this._label = data.label;
38900
- this._project = (_f = data.project) !== null && _f !== void 0 ? _f : undefined;
38975
+ this._project = (_h = data.project) !== null && _h !== void 0 ? _h : undefined;
38901
38976
  this._subscriber = data.subscriber;
38902
- this._team = (_g = data.team) !== null && _g !== void 0 ? _g : undefined;
38903
- 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;
38904
38979
  }
38905
38980
  /** The contextual custom view associated with the notification subscription. */
38906
38981
  get customView() {
@@ -39084,20 +39159,22 @@
39084
39159
  */
39085
39160
  class NotificationSubscription extends Request {
39086
39161
  constructor(request, data) {
39087
- var _a, _b, _c, _d, _e, _f, _g, _h, _j;
39162
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
39088
39163
  super(request);
39089
39164
  this.active = data.active;
39090
39165
  this.archivedAt = (_a = parseDate(data.archivedAt)) !== null && _a !== void 0 ? _a : undefined;
39091
39166
  this.createdAt = (_b = parseDate(data.createdAt)) !== null && _b !== void 0 ? _b : new Date();
39092
39167
  this.id = data.id;
39093
39168
  this.updatedAt = (_c = parseDate(data.updatedAt)) !== null && _c !== void 0 ? _c : new Date();
39094
- this._customView = (_d = data.customView) !== null && _d !== void 0 ? _d : undefined;
39095
- this._cycle = (_e = data.cycle) !== null && _e !== void 0 ? _e : undefined;
39096
- this._label = (_f = data.label) !== null && _f !== void 0 ? _f : undefined;
39097
- 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;
39098
39175
  this._subscriber = data.subscriber;
39099
- this._team = (_h = data.team) !== null && _h !== void 0 ? _h : undefined;
39100
- 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;
39101
39178
  }
39102
39179
  /** The contextual custom view associated with the notification subscription. */
39103
39180
  get customView() {
@@ -39258,6 +39335,7 @@
39258
39335
  this.responderId = (_e = data.responderId) !== null && _e !== void 0 ? _e : undefined;
39259
39336
  this.scopes = data.scopes;
39260
39337
  this.updatedAt = (_f = parseDate(data.updatedAt)) !== null && _f !== void 0 ? _f : new Date();
39338
+ this.status = data.status;
39261
39339
  }
39262
39340
  }
39263
39341
  /**
@@ -39380,6 +39458,10 @@
39380
39458
  this.urlKey = data.urlKey;
39381
39459
  this.userCount = data.userCount;
39382
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;
39383
39465
  }
39384
39466
  /** Integrations associated with the organization. */
39385
39467
  integrations(variables) {
@@ -39410,6 +39492,18 @@
39410
39492
  return new UpdateOrganizationMutation(this._request).fetch(input);
39411
39493
  }
39412
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
+ }
39413
39507
  /**
39414
39508
  * OrganizationCancelDeletePayload model
39415
39509
  *
@@ -39452,6 +39546,7 @@
39452
39546
  this.updatedAt = (_d = parseDate(data.updatedAt)) !== null && _d !== void 0 ? _d : new Date();
39453
39547
  this.verificationEmail = (_e = data.verificationEmail) !== null && _e !== void 0 ? _e : undefined;
39454
39548
  this.verified = data.verified;
39549
+ this.authType = data.authType;
39455
39550
  this._creator = (_f = data.creator) !== null && _f !== void 0 ? _f : undefined;
39456
39551
  }
39457
39552
  /** The user who added the domain. */
@@ -39496,6 +39591,7 @@
39496
39591
  this.id = data.id;
39497
39592
  this.metadata = data.metadata;
39498
39593
  this.updatedAt = (_e = parseDate(data.updatedAt)) !== null && _e !== void 0 ? _e : new Date();
39594
+ this.role = data.role;
39499
39595
  this._invitee = (_f = data.invitee) !== null && _f !== void 0 ? _f : undefined;
39500
39596
  this._inviter = data.inviter;
39501
39597
  }
@@ -39556,6 +39652,8 @@
39556
39652
  this.organizationId = data.organizationId;
39557
39653
  this.organizationLogoUrl = (_b = data.organizationLogoUrl) !== null && _b !== void 0 ? _b : undefined;
39558
39654
  this.organizationName = data.organizationName;
39655
+ this.role = data.role;
39656
+ this.status = data.status;
39559
39657
  }
39560
39658
  }
39561
39659
  /**
@@ -40078,7 +40176,7 @@
40078
40176
  */
40079
40177
  class ProjectNotificationSubscription extends Request {
40080
40178
  constructor(request, data) {
40081
- var _a, _b, _c, _d, _e, _f, _g, _h;
40179
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
40082
40180
  super(request);
40083
40181
  this.active = data.active;
40084
40182
  this.archivedAt = (_a = parseDate(data.archivedAt)) !== null && _a !== void 0 ? _a : undefined;
@@ -40086,13 +40184,15 @@
40086
40184
  this.id = data.id;
40087
40185
  this.notificationSubscriptionTypes = data.notificationSubscriptionTypes;
40088
40186
  this.updatedAt = (_c = parseDate(data.updatedAt)) !== null && _c !== void 0 ? _c : new Date();
40089
- this._customView = (_d = data.customView) !== null && _d !== void 0 ? _d : undefined;
40090
- this._cycle = (_e = data.cycle) !== null && _e !== void 0 ? _e : undefined;
40091
- 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;
40092
40192
  this._project = data.project;
40093
40193
  this._subscriber = data.subscriber;
40094
- this._team = (_g = data.team) !== null && _g !== void 0 ? _g : undefined;
40095
- 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;
40096
40196
  }
40097
40197
  /** The contextual custom view associated with the notification subscription. */
40098
40198
  get customView() {
@@ -40279,6 +40379,7 @@
40279
40379
  this.isDiffHidden = data.isDiffHidden;
40280
40380
  this.updatedAt = (_f = parseDate(data.updatedAt)) !== null && _f !== void 0 ? _f : new Date();
40281
40381
  this.url = data.url;
40382
+ this.health = data.health;
40282
40383
  this._project = data.project;
40283
40384
  this._user = data.user;
40284
40385
  }
@@ -40822,6 +40923,7 @@
40822
40923
  this.slackChannelMapping = data.slackChannelMapping
40823
40924
  ? data.slackChannelMapping.map(node => new SlackChannelNameMapping(request, node))
40824
40925
  : undefined;
40926
+ this.canAdministrate = data.canAdministrate;
40825
40927
  }
40826
40928
  }
40827
40929
  /**
@@ -40890,10 +40992,12 @@
40890
40992
  */
40891
40993
  class SlackPostSettings extends Request {
40892
40994
  constructor(request, data) {
40995
+ var _a;
40893
40996
  super(request);
40894
40997
  this.channel = data.channel;
40895
40998
  this.channelId = data.channelId;
40896
40999
  this.configurationUrl = data.configurationUrl;
41000
+ this.channelType = (_a = data.channelType) !== null && _a !== void 0 ? _a : undefined;
40897
41001
  }
40898
41002
  }
40899
41003
  /**
@@ -41278,7 +41382,7 @@
41278
41382
  */
41279
41383
  class TeamNotificationSubscription extends Request {
41280
41384
  constructor(request, data) {
41281
- var _a, _b, _c, _d, _e, _f, _g, _h;
41385
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
41282
41386
  super(request);
41283
41387
  this.active = data.active;
41284
41388
  this.archivedAt = (_a = parseDate(data.archivedAt)) !== null && _a !== void 0 ? _a : undefined;
@@ -41286,13 +41390,15 @@
41286
41390
  this.id = data.id;
41287
41391
  this.notificationSubscriptionTypes = data.notificationSubscriptionTypes;
41288
41392
  this.updatedAt = (_c = parseDate(data.updatedAt)) !== null && _c !== void 0 ? _c : new Date();
41289
- this._customView = (_d = data.customView) !== null && _d !== void 0 ? _d : undefined;
41290
- this._cycle = (_e = data.cycle) !== null && _e !== void 0 ? _e : undefined;
41291
- this._label = (_f = data.label) !== null && _f !== void 0 ? _f : undefined;
41292
- 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;
41293
41399
  this._subscriber = data.subscriber;
41294
41400
  this._team = data.team;
41295
- this._user = (_h = data.user) !== null && _h !== void 0 ? _h : undefined;
41401
+ this._user = (_k = data.user) !== null && _k !== void 0 ? _k : undefined;
41296
41402
  }
41297
41403
  /** The contextual custom view associated with the notification subscription. */
41298
41404
  get customView() {
@@ -41536,6 +41642,7 @@
41536
41642
  this.manualSelection = data.manualSelection
41537
41643
  ? new TriageResponsibilityManualSelection(request, data.manualSelection)
41538
41644
  : undefined;
41645
+ this.action = data.action;
41539
41646
  this._currentUser = (_d = data.currentUser) !== null && _d !== void 0 ? _d : undefined;
41540
41647
  this._team = data.team;
41541
41648
  }
@@ -41774,7 +41881,7 @@
41774
41881
  */
41775
41882
  class UserNotificationSubscription extends Request {
41776
41883
  constructor(request, data) {
41777
- var _a, _b, _c, _d, _e, _f, _g, _h;
41884
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
41778
41885
  super(request);
41779
41886
  this.active = data.active;
41780
41887
  this.archivedAt = (_a = parseDate(data.archivedAt)) !== null && _a !== void 0 ? _a : undefined;
@@ -41782,12 +41889,14 @@
41782
41889
  this.id = data.id;
41783
41890
  this.notificationSubscriptionTypes = data.notificationSubscriptionTypes;
41784
41891
  this.updatedAt = (_c = parseDate(data.updatedAt)) !== null && _c !== void 0 ? _c : new Date();
41785
- this._customView = (_d = data.customView) !== null && _d !== void 0 ? _d : undefined;
41786
- this._cycle = (_e = data.cycle) !== null && _e !== void 0 ? _e : undefined;
41787
- this._label = (_f = data.label) !== null && _f !== void 0 ? _f : undefined;
41788
- 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;
41789
41898
  this._subscriber = data.subscriber;
41790
- this._team = (_h = data.team) !== null && _h !== void 0 ? _h : undefined;
41899
+ this._team = (_k = data.team) !== null && _k !== void 0 ? _k : undefined;
41791
41900
  this._user = data.user;
41792
41901
  }
41793
41902
  /** The contextual custom view associated with the notification subscription. */
@@ -42095,7 +42204,7 @@
42095
42204
  */
42096
42205
  class WorkflowDefinition extends Request {
42097
42206
  constructor(request, data) {
42098
- 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;
42099
42208
  super(request);
42100
42209
  this.activities = data.activities;
42101
42210
  this.archivedAt = (_a = parseDate(data.archivedAt)) !== null && _a !== void 0 ? _a : undefined;
@@ -42108,13 +42217,18 @@
42108
42217
  this.name = data.name;
42109
42218
  this.sortOrder = data.sortOrder;
42110
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;
42111
42225
  this._creator = data.creator;
42112
- this._customView = (_f = data.customView) !== null && _f !== void 0 ? _f : undefined;
42113
- this._cycle = (_g = data.cycle) !== null && _g !== void 0 ? _g : undefined;
42114
- this._label = (_h = data.label) !== null && _h !== void 0 ? _h : undefined;
42115
- this._project = (_j = data.project) !== null && _j !== void 0 ? _j : undefined;
42116
- this._team = (_k = data.team) !== null && _k !== void 0 ? _k : undefined;
42117
- 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;
42118
42232
  }
42119
42233
  /** The user who created the workflow. */
42120
42234
  get creator() {
@@ -54994,6 +55108,7 @@
54994
55108
  exports.OauthToken = OauthToken;
54995
55109
  exports.OpsgenieSettings = OpsgenieSettings;
54996
55110
  exports.Organization = Organization;
55111
+ exports.OrganizationAcceptedOrExpiredInviteDetailsPayload = OrganizationAcceptedOrExpiredInviteDetailsPayload;
54997
55112
  exports.OrganizationCancelDeletePayload = OrganizationCancelDeletePayload;
54998
55113
  exports.OrganizationDeleteChallengeMutation = OrganizationDeleteChallengeMutation;
54999
55114
  exports.OrganizationDeletePayload = OrganizationDeletePayload;