@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/_generated_documents.d.ts +29 -3
- package/dist/_generated_documents.d.ts.map +1 -1
- package/dist/_generated_sdk.d.ts +17 -0
- package/dist/_generated_sdk.d.ts.map +1 -1
- package/dist/index-cjs.js +46 -9
- package/dist/index-cjs.js.map +1 -1
- package/dist/index-cjs.min.js +1 -1
- package/dist/index-cjs.min.js.br +0 -0
- package/dist/index-cjs.min.js.gz +0 -0
- package/dist/index-cjs.min.js.map +1 -1
- package/dist/index-es.js +46 -10
- package/dist/index-es.js.map +1 -1
- package/dist/index-es.min.js +1 -1
- package/dist/index-es.min.js.br +0 -0
- package/dist/index-es.min.js.gz +0 -0
- package/dist/index-es.min.js.map +1 -1
- package/dist/index-umd.js +47 -10
- package/dist/index-umd.js.map +1 -1
- package/dist/index-umd.min.js +1 -1
- package/dist/index-umd.min.js.br +0 -0
- package/dist/index-umd.min.js.gz +0 -0
- package/dist/index-umd.min.js.map +1 -1
- package/package.json +1 -1
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.
|
12
|
+
const env = {"npm_package_name":"@linear/sdk","npm_package_version":"19.2.0"};
|
13
13
|
try {
|
14
14
|
if (process) {
|
15
15
|
process.env = Object.assign({}, process.env);
|
@@ -3525,6 +3525,7 @@
|
|
3525
3525
|
{ kind: "Field", name: { kind: "Name", value: "enterpriseName" } },
|
3526
3526
|
{ kind: "Field", name: { kind: "Name", value: "teamId" } },
|
3527
3527
|
{ kind: "Field", name: { kind: "Name", value: "teamName" } },
|
3528
|
+
{ kind: "Field", name: { kind: "Name", value: "shouldUnfurl" } },
|
3528
3529
|
],
|
3529
3530
|
},
|
3530
3531
|
},
|
@@ -3873,6 +3874,7 @@
|
|
3873
3874
|
{ kind: "Field", name: { kind: "Name", value: "teamId" } },
|
3874
3875
|
{ kind: "Field", name: { kind: "Name", value: "teamName" } },
|
3875
3876
|
{ kind: "Field", name: { kind: "Name", value: "linkOnIssueIdMention" } },
|
3877
|
+
{ kind: "Field", name: { kind: "Name", value: "shouldUnfurl" } },
|
3876
3878
|
],
|
3877
3879
|
},
|
3878
3880
|
},
|
@@ -3951,6 +3953,7 @@
|
|
3951
3953
|
selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "SlackChannelNameMapping" } }],
|
3952
3954
|
},
|
3953
3955
|
},
|
3956
|
+
{ kind: "Field", name: { kind: "Name", value: "shouldUnfurl" } },
|
3954
3957
|
],
|
3955
3958
|
},
|
3956
3959
|
},
|
@@ -9513,6 +9516,23 @@
|
|
9513
9516
|
},
|
9514
9517
|
],
|
9515
9518
|
};
|
9519
|
+
const SummaryPayloadFragmentDoc = {
|
9520
|
+
kind: "Document",
|
9521
|
+
definitions: [
|
9522
|
+
{
|
9523
|
+
kind: "FragmentDefinition",
|
9524
|
+
name: { kind: "Name", value: "SummaryPayload" },
|
9525
|
+
typeCondition: { kind: "NamedType", name: { kind: "Name", value: "SummaryPayload" } },
|
9526
|
+
selectionSet: {
|
9527
|
+
kind: "SelectionSet",
|
9528
|
+
selections: [
|
9529
|
+
{ kind: "Field", name: { kind: "Name", value: "__typename" } },
|
9530
|
+
{ kind: "Field", name: { kind: "Name", value: "summary" } },
|
9531
|
+
],
|
9532
|
+
},
|
9533
|
+
},
|
9534
|
+
],
|
9535
|
+
};
|
9516
9536
|
const SynchronizedPayloadFragmentDoc = {
|
9517
9537
|
kind: "Document",
|
9518
9538
|
definitions: [
|
@@ -34976,6 +34996,7 @@
|
|
34976
34996
|
RoadmapToProjectPayloadFragmentDoc: RoadmapToProjectPayloadFragmentDoc,
|
34977
34997
|
SlackChannelConnectPayloadFragmentDoc: SlackChannelConnectPayloadFragmentDoc,
|
34978
34998
|
SsoUrlFromEmailResponseFragmentDoc: SsoUrlFromEmailResponseFragmentDoc,
|
34999
|
+
SummaryPayloadFragmentDoc: SummaryPayloadFragmentDoc,
|
34979
35000
|
SynchronizedPayloadFragmentDoc: SynchronizedPayloadFragmentDoc,
|
34980
35001
|
TeamFragmentDoc: TeamFragmentDoc,
|
34981
35002
|
TeamConnectionFragmentDoc: TeamConnectionFragmentDoc,
|
@@ -40776,11 +40797,12 @@
|
|
40776
40797
|
*/
|
40777
40798
|
class SharedSlackSettings extends Request {
|
40778
40799
|
constructor(request, data) {
|
40779
|
-
var _a, _b, _c;
|
40800
|
+
var _a, _b, _c, _d;
|
40780
40801
|
super(request);
|
40781
40802
|
this.enterpriseName = (_a = data.enterpriseName) !== null && _a !== void 0 ? _a : undefined;
|
40782
|
-
this.
|
40783
|
-
this.
|
40803
|
+
this.shouldUnfurl = (_b = data.shouldUnfurl) !== null && _b !== void 0 ? _b : undefined;
|
40804
|
+
this.teamId = (_c = data.teamId) !== null && _c !== void 0 ? _c : undefined;
|
40805
|
+
this.teamName = (_d = data.teamName) !== null && _d !== void 0 ? _d : undefined;
|
40784
40806
|
}
|
40785
40807
|
}
|
40786
40808
|
/**
|
@@ -40791,11 +40813,12 @@
|
|
40791
40813
|
*/
|
40792
40814
|
class SlackAsksSettings extends Request {
|
40793
40815
|
constructor(request, data) {
|
40794
|
-
var _a, _b, _c;
|
40816
|
+
var _a, _b, _c, _d;
|
40795
40817
|
super(request);
|
40796
40818
|
this.enterpriseName = (_a = data.enterpriseName) !== null && _a !== void 0 ? _a : undefined;
|
40797
|
-
this.
|
40798
|
-
this.
|
40819
|
+
this.shouldUnfurl = (_b = data.shouldUnfurl) !== null && _b !== void 0 ? _b : undefined;
|
40820
|
+
this.teamId = (_c = data.teamId) !== null && _c !== void 0 ? _c : undefined;
|
40821
|
+
this.teamName = (_d = data.teamName) !== null && _d !== void 0 ? _d : undefined;
|
40799
40822
|
this.slackChannelMapping = data.slackChannelMapping
|
40800
40823
|
? data.slackChannelMapping.map(node => new SlackChannelNameMapping(request, node))
|
40801
40824
|
: undefined;
|
@@ -40881,12 +40904,13 @@
|
|
40881
40904
|
*/
|
40882
40905
|
class SlackSettings extends Request {
|
40883
40906
|
constructor(request, data) {
|
40884
|
-
var _a, _b, _c;
|
40907
|
+
var _a, _b, _c, _d;
|
40885
40908
|
super(request);
|
40886
40909
|
this.enterpriseName = (_a = data.enterpriseName) !== null && _a !== void 0 ? _a : undefined;
|
40887
40910
|
this.linkOnIssueIdMention = data.linkOnIssueIdMention;
|
40888
|
-
this.
|
40889
|
-
this.
|
40911
|
+
this.shouldUnfurl = (_b = data.shouldUnfurl) !== null && _b !== void 0 ? _b : undefined;
|
40912
|
+
this.teamId = (_c = data.teamId) !== null && _c !== void 0 ? _c : undefined;
|
40913
|
+
this.teamName = (_d = data.teamName) !== null && _d !== void 0 ? _d : undefined;
|
40890
40914
|
}
|
40891
40915
|
}
|
40892
40916
|
/**
|
@@ -40902,6 +40926,18 @@
|
|
40902
40926
|
this.success = data.success;
|
40903
40927
|
}
|
40904
40928
|
}
|
40929
|
+
/**
|
40930
|
+
* SummaryPayload model
|
40931
|
+
*
|
40932
|
+
* @param request - function to call the graphql client
|
40933
|
+
* @param data - L.SummaryPayloadFragment response data
|
40934
|
+
*/
|
40935
|
+
class SummaryPayload extends Request {
|
40936
|
+
constructor(request, data) {
|
40937
|
+
super(request);
|
40938
|
+
this.summary = data.summary;
|
40939
|
+
}
|
40940
|
+
}
|
40905
40941
|
/**
|
40906
40942
|
* SynchronizedPayload model
|
40907
40943
|
*
|
@@ -55074,6 +55110,7 @@
|
|
55074
55110
|
exports.SlackSettings = SlackSettings;
|
55075
55111
|
exports.SsoUrlFromEmailQuery = SsoUrlFromEmailQuery;
|
55076
55112
|
exports.SsoUrlFromEmailResponse = SsoUrlFromEmailResponse;
|
55113
|
+
exports.SummaryPayload = SummaryPayload;
|
55077
55114
|
exports.SuspendUserMutation = SuspendUserMutation;
|
55078
55115
|
exports.SynchronizedPayload = SynchronizedPayload;
|
55079
55116
|
exports.Team = Team;
|