@linear/sdk 7.0.0 → 7.0.1

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":"7.0.0"};
12
+ const env = {"npm_package_name":"@linear/sdk","npm_package_version":"7.0.1"};
13
13
  try {
14
14
  if (process) {
15
15
  process.env = Object.assign({}, process.env);
@@ -3605,6 +3605,23 @@
3605
3605
  },
3606
3606
  ],
3607
3607
  };
3608
+ const AttachmentSourcesPayloadFragmentDoc = {
3609
+ kind: "Document",
3610
+ definitions: [
3611
+ {
3612
+ kind: "FragmentDefinition",
3613
+ name: { kind: "Name", value: "AttachmentSourcesPayload" },
3614
+ typeCondition: { kind: "NamedType", name: { kind: "Name", value: "AttachmentSourcesPayload" } },
3615
+ selectionSet: {
3616
+ kind: "SelectionSet",
3617
+ selections: [
3618
+ { kind: "Field", name: { kind: "Name", value: "__typename" } },
3619
+ { kind: "Field", name: { kind: "Name", value: "sources" } },
3620
+ ],
3621
+ },
3622
+ },
3623
+ ],
3624
+ };
3608
3625
  const AuditEntryFragmentDoc = {
3609
3626
  kind: "Document",
3610
3627
  definitions: [
@@ -5977,6 +5994,7 @@
5977
5994
  selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }],
5978
5995
  },
5979
5996
  },
5997
+ { kind: "Field", name: { kind: "Name", value: "isGroup" } },
5980
5998
  ],
5981
5999
  },
5982
6000
  },
@@ -30171,6 +30189,7 @@
30171
30189
  AttachmentFragmentDoc: AttachmentFragmentDoc,
30172
30190
  AttachmentConnectionFragmentDoc: AttachmentConnectionFragmentDoc,
30173
30191
  AttachmentPayloadFragmentDoc: AttachmentPayloadFragmentDoc,
30192
+ AttachmentSourcesPayloadFragmentDoc: AttachmentSourcesPayloadFragmentDoc,
30174
30193
  AuditEntryFragmentDoc: AuditEntryFragmentDoc,
30175
30194
  AuditEntryConnectionFragmentDoc: AuditEntryConnectionFragmentDoc,
30176
30195
  AuditEntryTypeFragmentDoc: AuditEntryTypeFragmentDoc,
@@ -30994,6 +31013,19 @@
30994
31013
  return new AttachmentQuery(this._request).fetch(this._attachment.id);
30995
31014
  }
30996
31015
  }
31016
+ /**
31017
+ * AttachmentSourcesPayload model
31018
+ *
31019
+ * @param request - function to call the graphql client
31020
+ * @param data - L.AttachmentSourcesPayloadFragment response data
31021
+ */
31022
+ class AttachmentSourcesPayload extends Request {
31023
+ constructor(request, data) {
31024
+ var _a;
31025
+ super(request);
31026
+ this.sources = (_a = parseJson(data.sources)) !== null && _a !== void 0 ? _a : {};
31027
+ }
31028
+ }
30997
31029
  /**
30998
31030
  * Workspace audit log entry object.
30999
31031
  *
@@ -32946,6 +32978,7 @@
32946
32978
  this.createdAt = (_b = parseDate(data.createdAt)) !== null && _b !== void 0 ? _b : new Date();
32947
32979
  this.description = (_c = data.description) !== null && _c !== void 0 ? _c : undefined;
32948
32980
  this.id = data.id;
32981
+ this.isGroup = data.isGroup;
32949
32982
  this.name = data.name;
32950
32983
  this.updatedAt = (_d = parseDate(data.updatedAt)) !== null && _d !== void 0 ? _d : new Date();
32951
32984
  this._creator = (_e = data.creator) !== null && _e !== void 0 ? _e : undefined;
@@ -47507,6 +47540,7 @@
47507
47540
  exports.AttachmentLinkZendeskMutation = AttachmentLinkZendeskMutation;
47508
47541
  exports.AttachmentPayload = AttachmentPayload;
47509
47542
  exports.AttachmentQuery = AttachmentQuery;
47543
+ exports.AttachmentSourcesPayload = AttachmentSourcesPayload;
47510
47544
  exports.AttachmentUnsyncSlackMutation = AttachmentUnsyncSlackMutation;
47511
47545
  exports.AttachmentsForUrlQuery = AttachmentsForUrlQuery;
47512
47546
  exports.AttachmentsQuery = AttachmentsQuery;