@linear/sdk 19.1.0 → 19.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index-cjs.js CHANGED
@@ -85551,6 +85551,7 @@ const SharedSlackSettingsFragmentDoc = {
85551
85551
  { kind: "Field", name: { kind: "Name", value: "enterpriseName" } },
85552
85552
  { kind: "Field", name: { kind: "Name", value: "teamId" } },
85553
85553
  { kind: "Field", name: { kind: "Name", value: "teamName" } },
85554
+ { kind: "Field", name: { kind: "Name", value: "shouldUnfurl" } },
85554
85555
  ],
85555
85556
  },
85556
85557
  },
@@ -85899,6 +85900,7 @@ const SlackSettingsFragmentDoc = {
85899
85900
  { kind: "Field", name: { kind: "Name", value: "teamId" } },
85900
85901
  { kind: "Field", name: { kind: "Name", value: "teamName" } },
85901
85902
  { kind: "Field", name: { kind: "Name", value: "linkOnIssueIdMention" } },
85903
+ { kind: "Field", name: { kind: "Name", value: "shouldUnfurl" } },
85902
85904
  ],
85903
85905
  },
85904
85906
  },
@@ -85977,6 +85979,7 @@ const SlackAsksSettingsFragmentDoc = {
85977
85979
  selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "SlackChannelNameMapping" } }],
85978
85980
  },
85979
85981
  },
85982
+ { kind: "Field", name: { kind: "Name", value: "shouldUnfurl" } },
85980
85983
  ],
85981
85984
  },
85982
85985
  },
@@ -91539,6 +91542,23 @@ const SsoUrlFromEmailResponseFragmentDoc = {
91539
91542
  },
91540
91543
  ],
91541
91544
  };
91545
+ const SummaryPayloadFragmentDoc = {
91546
+ kind: "Document",
91547
+ definitions: [
91548
+ {
91549
+ kind: "FragmentDefinition",
91550
+ name: { kind: "Name", value: "SummaryPayload" },
91551
+ typeCondition: { kind: "NamedType", name: { kind: "Name", value: "SummaryPayload" } },
91552
+ selectionSet: {
91553
+ kind: "SelectionSet",
91554
+ selections: [
91555
+ { kind: "Field", name: { kind: "Name", value: "__typename" } },
91556
+ { kind: "Field", name: { kind: "Name", value: "summary" } },
91557
+ ],
91558
+ },
91559
+ },
91560
+ ],
91561
+ };
91542
91562
  const SynchronizedPayloadFragmentDoc = {
91543
91563
  kind: "Document",
91544
91564
  definitions: [
@@ -117002,6 +117022,7 @@ var _generated_documents = /*#__PURE__*/Object.freeze({
117002
117022
  RoadmapToProjectPayloadFragmentDoc: RoadmapToProjectPayloadFragmentDoc,
117003
117023
  SlackChannelConnectPayloadFragmentDoc: SlackChannelConnectPayloadFragmentDoc,
117004
117024
  SsoUrlFromEmailResponseFragmentDoc: SsoUrlFromEmailResponseFragmentDoc,
117025
+ SummaryPayloadFragmentDoc: SummaryPayloadFragmentDoc,
117005
117026
  SynchronizedPayloadFragmentDoc: SynchronizedPayloadFragmentDoc,
117006
117027
  TeamFragmentDoc: TeamFragmentDoc,
117007
117028
  TeamConnectionFragmentDoc: TeamConnectionFragmentDoc,
@@ -122802,11 +122823,12 @@ class SentrySettings extends Request {
122802
122823
  */
122803
122824
  class SharedSlackSettings extends Request {
122804
122825
  constructor(request, data) {
122805
- var _a, _b, _c;
122826
+ var _a, _b, _c, _d;
122806
122827
  super(request);
122807
122828
  this.enterpriseName = (_a = data.enterpriseName) !== null && _a !== void 0 ? _a : undefined;
122808
- this.teamId = (_b = data.teamId) !== null && _b !== void 0 ? _b : undefined;
122809
- this.teamName = (_c = data.teamName) !== null && _c !== void 0 ? _c : undefined;
122829
+ this.shouldUnfurl = (_b = data.shouldUnfurl) !== null && _b !== void 0 ? _b : undefined;
122830
+ this.teamId = (_c = data.teamId) !== null && _c !== void 0 ? _c : undefined;
122831
+ this.teamName = (_d = data.teamName) !== null && _d !== void 0 ? _d : undefined;
122810
122832
  }
122811
122833
  }
122812
122834
  /**
@@ -122817,11 +122839,12 @@ class SharedSlackSettings extends Request {
122817
122839
  */
122818
122840
  class SlackAsksSettings extends Request {
122819
122841
  constructor(request, data) {
122820
- var _a, _b, _c;
122842
+ var _a, _b, _c, _d;
122821
122843
  super(request);
122822
122844
  this.enterpriseName = (_a = data.enterpriseName) !== null && _a !== void 0 ? _a : undefined;
122823
- this.teamId = (_b = data.teamId) !== null && _b !== void 0 ? _b : undefined;
122824
- this.teamName = (_c = data.teamName) !== null && _c !== void 0 ? _c : undefined;
122845
+ this.shouldUnfurl = (_b = data.shouldUnfurl) !== null && _b !== void 0 ? _b : undefined;
122846
+ this.teamId = (_c = data.teamId) !== null && _c !== void 0 ? _c : undefined;
122847
+ this.teamName = (_d = data.teamName) !== null && _d !== void 0 ? _d : undefined;
122825
122848
  this.slackChannelMapping = data.slackChannelMapping
122826
122849
  ? data.slackChannelMapping.map(node => new SlackChannelNameMapping(request, node))
122827
122850
  : undefined;
@@ -122907,12 +122930,13 @@ class SlackPostSettings extends Request {
122907
122930
  */
122908
122931
  class SlackSettings extends Request {
122909
122932
  constructor(request, data) {
122910
- var _a, _b, _c;
122933
+ var _a, _b, _c, _d;
122911
122934
  super(request);
122912
122935
  this.enterpriseName = (_a = data.enterpriseName) !== null && _a !== void 0 ? _a : undefined;
122913
122936
  this.linkOnIssueIdMention = data.linkOnIssueIdMention;
122914
- this.teamId = (_b = data.teamId) !== null && _b !== void 0 ? _b : undefined;
122915
- this.teamName = (_c = data.teamName) !== null && _c !== void 0 ? _c : undefined;
122937
+ this.shouldUnfurl = (_b = data.shouldUnfurl) !== null && _b !== void 0 ? _b : undefined;
122938
+ this.teamId = (_c = data.teamId) !== null && _c !== void 0 ? _c : undefined;
122939
+ this.teamName = (_d = data.teamName) !== null && _d !== void 0 ? _d : undefined;
122916
122940
  }
122917
122941
  }
122918
122942
  /**
@@ -122928,6 +122952,18 @@ class SsoUrlFromEmailResponse extends Request {
122928
122952
  this.success = data.success;
122929
122953
  }
122930
122954
  }
122955
+ /**
122956
+ * SummaryPayload model
122957
+ *
122958
+ * @param request - function to call the graphql client
122959
+ * @param data - L.SummaryPayloadFragment response data
122960
+ */
122961
+ class SummaryPayload extends Request {
122962
+ constructor(request, data) {
122963
+ super(request);
122964
+ this.summary = data.summary;
122965
+ }
122966
+ }
122931
122967
  /**
122932
122968
  * SynchronizedPayload model
122933
122969
  *
@@ -137100,6 +137136,7 @@ exports.SlackPostSettings = SlackPostSettings;
137100
137136
  exports.SlackSettings = SlackSettings;
137101
137137
  exports.SsoUrlFromEmailQuery = SsoUrlFromEmailQuery;
137102
137138
  exports.SsoUrlFromEmailResponse = SsoUrlFromEmailResponse;
137139
+ exports.SummaryPayload = SummaryPayload;
137103
137140
  exports.SuspendUserMutation = SuspendUserMutation;
137104
137141
  exports.SynchronizedPayload = SynchronizedPayload;
137105
137142
  exports.Team = Team;