@elyx-code/project-logic-tree 0.0.7157 → 0.0.7158
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 +1 -1
- package/dist/index.js +53 -46
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -171248,7 +171248,7 @@ class UJi extends _e {
|
|
|
171248
171248
|
throw new Error(
|
|
171249
171249
|
`${E}The ${I(N, "Title", "title")} input value is invalid. If present, it must be a non-empty string. E.g. "My Spreadsheet"`
|
|
171250
171250
|
);
|
|
171251
|
-
const K = { Authorization: `Bearer ${await m.getAccessToken()}` }, q = `${(e = m.env) == null ? void 0 : e.API_BASE_URL}/editor-runtime/
|
|
171251
|
+
const K = { Authorization: `Bearer ${await m.getAccessToken()}` }, q = `${(e = m.env) == null ? void 0 : e.API_BASE_URL}/editor-runtime/v2/external-integrations/generic-proxy/${m.projectId}/${Ht["google-sheet"]}/${V}`, H = async (J) => Wt.post(q, J, { headers: K }), W = {};
|
|
171252
171252
|
P && (W.properties = { title: P });
|
|
171253
171253
|
const re = ((f = (await H({
|
|
171254
171254
|
method: "POST",
|
|
@@ -171597,7 +171597,7 @@ class FJi extends _e {
|
|
|
171597
171597
|
}
|
|
171598
171598
|
), G = (c = P == null ? void 0 : P.value) == null ? void 0 : c.value, K = Yn(G, {
|
|
171599
171599
|
errorPrefix: `${I}The ${A(P, "Spreadsheet ID", "spreadsheetId")} input `
|
|
171600
|
-
}), H = { Authorization: `Bearer ${await T.getAccessToken()}` }, W = `${(e = T.env) == null ? void 0 : e.API_BASE_URL}/editor-runtime/
|
|
171600
|
+
}), H = { Authorization: `Bearer ${await T.getAccessToken()}` }, W = `${(e = T.env) == null ? void 0 : e.API_BASE_URL}/editor-runtime/v2/external-integrations/generic-proxy/${T.projectId}/${Ht["google-sheet"]}/${N}`, J = ((f = (await (async (Z) => Wt.post(W, Z, { headers: H }))({
|
|
171601
171601
|
method: "GET",
|
|
171602
171602
|
endpoint: `/v4/spreadsheets/${K}`
|
|
171603
171603
|
})).data) == null ? void 0 : f.data) || {};
|
|
@@ -171704,7 +171704,7 @@ class jJi extends _e {
|
|
|
171704
171704
|
throw new Error(
|
|
171705
171705
|
`${N}The ${P(re, "Title", "title")} input value is invalid. If present, it must be a string. E.g. "New Sheet"`
|
|
171706
171706
|
);
|
|
171707
|
-
const Y = { Authorization: `Bearer ${await A.getAccessToken()}` }, ne = `${(f = A.env) == null ? void 0 : f.API_BASE_URL}/editor-runtime/
|
|
171707
|
+
const Y = { Authorization: `Bearer ${await A.getAccessToken()}` }, ne = `${(f = A.env) == null ? void 0 : f.API_BASE_URL}/editor-runtime/v2/external-integrations/generic-proxy/${A.projectId}/${Ht["google-sheet"]}/${q}`, he = (E = (g = (T = (m = (((y = (await (async (Te) => Wt.post(ne, Te, { headers: Y }))({
|
|
171708
171708
|
method: "POST",
|
|
171709
171709
|
endpoint: `/v4/spreadsheets/${ee}:batchUpdate`,
|
|
171710
171710
|
data: {
|
|
@@ -171823,7 +171823,7 @@ class SJi extends _e {
|
|
|
171823
171823
|
throw new Error(
|
|
171824
171824
|
`${E}The ${I(K, "Sheet ID", "sheetId")} input value is invalid. It must be a number. E.g. 0`
|
|
171825
171825
|
);
|
|
171826
|
-
const W = { Authorization: `Bearer ${await m.getAccessToken()}` }, ee = `${(f = m.env) == null ? void 0 : f.API_BASE_URL}/editor-runtime/
|
|
171826
|
+
const W = { Authorization: `Bearer ${await m.getAccessToken()}` }, ee = `${(f = m.env) == null ? void 0 : f.API_BASE_URL}/editor-runtime/v2/external-integrations/generic-proxy/${m.projectId}/${Ht["google-sheet"]}/${V}`;
|
|
171827
171827
|
return await (async (J) => Wt.post(ee, J, { headers: W }))({
|
|
171828
171828
|
method: "POST",
|
|
171829
171829
|
endpoint: `/v4/spreadsheets/${G}:batchUpdate`,
|
|
@@ -171948,7 +171948,7 @@ class KJi extends _e {
|
|
|
171948
171948
|
throw new Error(
|
|
171949
171949
|
`${w}The ${V(re, "Values", "values")} input is missing.`
|
|
171950
171950
|
);
|
|
171951
|
-
const Y = { Authorization: `Bearer ${await E.getAccessToken()}` }, ne = `${(y = E.env) == null ? void 0 : y.API_BASE_URL}/editor-runtime/
|
|
171951
|
+
const Y = { Authorization: `Bearer ${await E.getAccessToken()}` }, ne = `${(y = E.env) == null ? void 0 : y.API_BASE_URL}/editor-runtime/v2/external-integrations/generic-proxy/${E.projectId}/${Ht["google-sheet"]}/${G}`, z = async (Te) => Wt.post(ne, Te, { headers: Y });
|
|
171952
171952
|
let ie = J;
|
|
171953
171953
|
if (typeof J == "string")
|
|
171954
171954
|
try {
|
|
@@ -172080,7 +172080,7 @@ class qJi extends _e {
|
|
|
172080
172080
|
throw new Error(
|
|
172081
172081
|
`${I}The ${A(q, "Range", "range")} input is missing.`
|
|
172082
172082
|
);
|
|
172083
|
-
const ee = { Authorization: `Bearer ${await T.getAccessToken()}` }, re = `${(f = T.env) == null ? void 0 : f.API_BASE_URL}/editor-runtime/
|
|
172083
|
+
const ee = { Authorization: `Bearer ${await T.getAccessToken()}` }, re = `${(f = T.env) == null ? void 0 : f.API_BASE_URL}/editor-runtime/v2/external-integrations/generic-proxy/${T.projectId}/${Ht["google-sheet"]}/${N}`, J = async (ne) => Wt.post(re, ne, { headers: ee });
|
|
172084
172084
|
await Eu(H, "Name", async () => {
|
|
172085
172085
|
var z;
|
|
172086
172086
|
return (((z = (await J({
|
|
@@ -172210,7 +172210,7 @@ class ZJi extends _e {
|
|
|
172210
172210
|
throw new Error(
|
|
172211
172211
|
`${A}The ${w(ee, "Values", "values")} input is missing.`
|
|
172212
172212
|
);
|
|
172213
|
-
const Z = { Authorization: `Bearer ${await g.getAccessToken()}` }, Y = `${(y = g.env) == null ? void 0 : y.API_BASE_URL}/editor-runtime/
|
|
172213
|
+
const Z = { Authorization: `Bearer ${await g.getAccessToken()}` }, Y = `${(y = g.env) == null ? void 0 : y.API_BASE_URL}/editor-runtime/v2/external-integrations/generic-proxy/${g.projectId}/${Ht["google-sheet"]}/${P}`, ne = async (he) => Wt.post(Y, he, { headers: Z });
|
|
172214
172214
|
let z = re;
|
|
172215
172215
|
if (typeof re == "string")
|
|
172216
172216
|
try {
|
|
@@ -172342,7 +172342,7 @@ class HJi extends _e {
|
|
|
172342
172342
|
throw new Error(
|
|
172343
172343
|
`${I}The ${A(q, "Range", "range")} input is missing.`
|
|
172344
172344
|
);
|
|
172345
|
-
const ee = { Authorization: `Bearer ${await T.getAccessToken()}` }, re = `${(f = T.env) == null ? void 0 : f.API_BASE_URL}/editor-runtime/
|
|
172345
|
+
const ee = { Authorization: `Bearer ${await T.getAccessToken()}` }, re = `${(f = T.env) == null ? void 0 : f.API_BASE_URL}/editor-runtime/v2/external-integrations/generic-proxy/${T.projectId}/${Ht["google-sheet"]}/${N}`, J = async (ne) => Wt.post(re, ne, { headers: ee });
|
|
172346
172346
|
await Eu(H, "Name", async () => {
|
|
172347
172347
|
var z;
|
|
172348
172348
|
return (((z = (await J({
|
|
@@ -172473,7 +172473,7 @@ class WJi extends _e {
|
|
|
172473
172473
|
throw new Error(
|
|
172474
172474
|
`${I}The ${A(q, "Requests", "requests")} input evaluated to an empty array. E.g. [{ addSheet: { properties: { title: "New Sheet" } } }]`
|
|
172475
172475
|
);
|
|
172476
|
-
const re = { Authorization: `Bearer ${await T.getAccessToken()}` }, J = `${(f = T.env) == null ? void 0 : f.API_BASE_URL}/editor-runtime/
|
|
172476
|
+
const re = { Authorization: `Bearer ${await T.getAccessToken()}` }, J = `${(f = T.env) == null ? void 0 : f.API_BASE_URL}/editor-runtime/v2/external-integrations/generic-proxy/${T.projectId}/${Ht["google-sheet"]}/${N}`, Y = await (async (z) => Wt.post(J, z, { headers: re }))({
|
|
172477
172477
|
method: "POST",
|
|
172478
172478
|
endpoint: `/v4/spreadsheets/${K}:batchUpdate`,
|
|
172479
172479
|
data: { requests: W }
|
|
@@ -172592,7 +172592,7 @@ class zJi extends _e {
|
|
|
172592
172592
|
throw new Error(
|
|
172593
172593
|
`${I}The ${A(W, "Title", "title")} input value is invalid, if present, it must be a string.`
|
|
172594
172594
|
);
|
|
172595
|
-
const J = { Authorization: `Bearer ${await T.getAccessToken()}` }, Z = `${(y = T.env) == null ? void 0 : y.API_BASE_URL}/editor-runtime/
|
|
172595
|
+
const J = { Authorization: `Bearer ${await T.getAccessToken()}` }, Z = `${(y = T.env) == null ? void 0 : y.API_BASE_URL}/editor-runtime/v2/external-integrations/generic-proxy/${T.projectId}/${Ht["google-sheet"]}/${N}`, Y = async (ie) => Wt.post(Z, ie, { headers: J }), ne = { sheetId: H }, z = [];
|
|
172596
172596
|
return ne.title = ee || "", z.push("title"), await Y({
|
|
172597
172597
|
method: "POST",
|
|
172598
172598
|
endpoint: `/v4/spreadsheets/${K}:batchUpdate`,
|
|
@@ -172724,7 +172724,7 @@ class JJi extends _e {
|
|
|
172724
172724
|
throw new Error(
|
|
172725
172725
|
`${A}The ${w(ee, "Destination Spreadsheet ID", "destinationSpreadsheetId")} input value is invalid. It must be a non-empty string. E.g. "1BxiMVs0XRA5nFMdKvBdBZjgmUUqptlbs74OgvE2upms"`
|
|
172726
172726
|
);
|
|
172727
|
-
const Z = { Authorization: `Bearer ${await g.getAccessToken()}` }, Y = `${(y = g.env) == null ? void 0 : y.API_BASE_URL}/editor-runtime/
|
|
172727
|
+
const Z = { Authorization: `Bearer ${await g.getAccessToken()}` }, Y = `${(y = g.env) == null ? void 0 : y.API_BASE_URL}/editor-runtime/v2/external-integrations/generic-proxy/${g.projectId}/${Ht["google-sheet"]}/${P}`, z = await (async (ue) => Wt.post(Y, ue, { headers: Z }))({
|
|
172728
172728
|
method: "POST",
|
|
172729
172729
|
endpoint: `/v4/spreadsheets/${q}/sheets/${W}:copyTo`,
|
|
172730
172730
|
data: { destinationSpreadsheetId: re }
|
|
@@ -172833,7 +172833,7 @@ class YJi extends _e {
|
|
|
172833
172833
|
throw new Error(
|
|
172834
172834
|
`${I}The ${A(q, "Sheet Name", "sheetName")} input value is invalid. It must be a non-empty string. E.g. "Sheet1"`
|
|
172835
172835
|
);
|
|
172836
|
-
const ee = { Authorization: `Bearer ${await T.getAccessToken()}` }, re = `${(f = T.env) == null ? void 0 : f.API_BASE_URL}/editor-runtime/
|
|
172836
|
+
const ee = { Authorization: `Bearer ${await T.getAccessToken()}` }, re = `${(f = T.env) == null ? void 0 : f.API_BASE_URL}/editor-runtime/v2/external-integrations/generic-proxy/${T.projectId}/${Ht["google-sheet"]}/${N}`, Z = await (async (ne) => Wt.post(re, ne, { headers: ee }))({
|
|
172837
172837
|
method: "POST",
|
|
172838
172838
|
endpoint: `/v4/spreadsheets/${K}/values/${H}:clear`,
|
|
172839
172839
|
data: {}
|
|
@@ -172938,7 +172938,7 @@ class QJi extends _e {
|
|
|
172938
172938
|
throw new Error(
|
|
172939
172939
|
`${P}The ${G(J, "Ranges", "ranges")} input is missing.`
|
|
172940
172940
|
);
|
|
172941
|
-
const ne = { Authorization: `Bearer ${await w.getAccessToken()}` }, z = `${(f = w.env) == null ? void 0 : f.API_BASE_URL}/editor-runtime/
|
|
172941
|
+
const ne = { Authorization: `Bearer ${await w.getAccessToken()}` }, z = `${(f = w.env) == null ? void 0 : f.API_BASE_URL}/editor-runtime/v2/external-integrations/generic-proxy/${w.projectId}/${Ht["google-sheet"]}/${H}`, ie = async ($e) => Wt.post(z, $e, { headers: ne });
|
|
172942
172942
|
let ue = Array.isArray(Z) ? Z : [Z];
|
|
172943
172943
|
if (ue.length === 0)
|
|
172944
172944
|
throw new Error(
|
|
@@ -173097,7 +173097,7 @@ class XJi extends _e {
|
|
|
173097
173097
|
throw new Error(
|
|
173098
173098
|
`${E}The ${I(K, "Range", "range")} input is missing.`
|
|
173099
173099
|
);
|
|
173100
|
-
const W = { Authorization: `Bearer ${await m.getAccessToken()}` }, ee = `${(f = m.env) == null ? void 0 : f.API_BASE_URL}/editor-runtime/
|
|
173100
|
+
const W = { Authorization: `Bearer ${await m.getAccessToken()}` }, ee = `${(f = m.env) == null ? void 0 : f.API_BASE_URL}/editor-runtime/v2/external-integrations/generic-proxy/${m.projectId}/${Ht["google-sheet"]}/${V}`, re = async (gt) => Wt.post(ee, gt, { headers: W });
|
|
173101
173101
|
await Eu(q, "Id", async () => (await re({
|
|
173102
173102
|
method: "GET",
|
|
173103
173103
|
endpoint: `/v4/spreadsheets/${G}?fields=sheets.properties(sheetId,title)`
|
|
@@ -173105,9 +173105,12 @@ class XJi extends _e {
|
|
|
173105
173105
|
id: Vt.properties.sheetId,
|
|
173106
173106
|
name: Vt.properties.title
|
|
173107
173107
|
})));
|
|
173108
|
-
const J = gc(
|
|
173109
|
-
|
|
173110
|
-
|
|
173108
|
+
const J = gc(
|
|
173109
|
+
q,
|
|
173110
|
+
{
|
|
173111
|
+
errorPrefix: `${E}The ${I(K, "Range", "range")} input `
|
|
173112
|
+
}
|
|
173113
|
+
), Z = L.operation[le.GoogleSheetsFormatCells].inputs, Y = (gt) => {
|
|
173111
173114
|
var Et;
|
|
173112
173115
|
const Vt = n.find(
|
|
173113
173116
|
(mt) => {
|
|
@@ -173116,7 +173119,9 @@ class XJi extends _e {
|
|
|
173116
173119
|
}
|
|
173117
173120
|
);
|
|
173118
173121
|
return (Et = Vt == null ? void 0 : Vt.value) == null ? void 0 : Et.value;
|
|
173119
|
-
}, ne = Y(Z.bold.id), z = Y(Z.italic.id), ie = Y(Z.underline.id), ue = Y(
|
|
173122
|
+
}, ne = Y(Z.bold.id), z = Y(Z.italic.id), ie = Y(Z.underline.id), ue = Y(
|
|
173123
|
+
Z.strikethrough.id
|
|
173124
|
+
), he = Y(Z.fontSize.id), Te = Y(Z.fontFamily.id), Ce = Y(Z.textColor.id), Oe = Y(
|
|
173120
173125
|
Z.backgroundColor.id
|
|
173121
173126
|
), Ve = Y(
|
|
173122
173127
|
Z.horizontalAlignment.id
|
|
@@ -173273,7 +173278,7 @@ class eYi extends _e {
|
|
|
173273
173278
|
throw new Error(
|
|
173274
173279
|
`${I}The ${A(q, "Range", "range")} input is missing.`
|
|
173275
173280
|
);
|
|
173276
|
-
const ee = { Authorization: `Bearer ${await T.getAccessToken()}` }, re = `${(f = T.env) == null ? void 0 : f.API_BASE_URL}/editor-runtime/
|
|
173281
|
+
const ee = { Authorization: `Bearer ${await T.getAccessToken()}` }, re = `${(f = T.env) == null ? void 0 : f.API_BASE_URL}/editor-runtime/v2/external-integrations/generic-proxy/${T.projectId}/${Ht["google-sheet"]}/${N}`, J = async (ie) => Wt.post(re, ie, { headers: ee });
|
|
173277
173282
|
await Eu(H, "Id", async () => (await J({
|
|
173278
173283
|
method: "GET",
|
|
173279
173284
|
endpoint: `/v4/spreadsheets/${K}?fields=sheets.properties(sheetId,title)`
|
|
@@ -173415,7 +173420,7 @@ class tYi extends _e {
|
|
|
173415
173420
|
throw new Error(
|
|
173416
173421
|
`${A}The ${w(H, "Range", "range")} input is missing.`
|
|
173417
173422
|
);
|
|
173418
|
-
const re = { Authorization: `Bearer ${await g.getAccessToken()}` }, J = `${(f = g.env) == null ? void 0 : f.API_BASE_URL}/editor-runtime/
|
|
173423
|
+
const re = { Authorization: `Bearer ${await g.getAccessToken()}` }, J = `${(f = g.env) == null ? void 0 : f.API_BASE_URL}/editor-runtime/v2/external-integrations/generic-proxy/${g.projectId}/${Ht["google-sheet"]}/${P}`, Z = async (Te) => Wt.post(J, Te, { headers: re });
|
|
173419
173424
|
await Eu(W, "Id", async () => (await Z({
|
|
173420
173425
|
method: "GET",
|
|
173421
173426
|
endpoint: `/v4/spreadsheets/${q}?fields=sheets.properties(sheetId,title)`
|
|
@@ -173557,7 +173562,7 @@ class iYi extends _e {
|
|
|
173557
173562
|
throw new Error(
|
|
173558
173563
|
`${E}The ${I(K, "Range", "range")} input is missing.`
|
|
173559
173564
|
);
|
|
173560
|
-
const W = { Authorization: `Bearer ${await m.getAccessToken()}` }, ee = `${(f = m.env) == null ? void 0 : f.API_BASE_URL}/editor-runtime/
|
|
173565
|
+
const W = { Authorization: `Bearer ${await m.getAccessToken()}` }, ee = `${(f = m.env) == null ? void 0 : f.API_BASE_URL}/editor-runtime/v2/external-integrations/generic-proxy/${m.projectId}/${Ht["google-sheet"]}/${V}`, re = async (Z) => Wt.post(ee, Z, { headers: W });
|
|
173561
173566
|
await Eu(q, "Id", async () => {
|
|
173562
173567
|
var Y;
|
|
173563
173568
|
return (((Y = (await re({
|
|
@@ -173719,7 +173724,7 @@ class nYi extends _e {
|
|
|
173719
173724
|
var at;
|
|
173720
173725
|
return ((at = Je.valueOwner.declaration) == null ? void 0 : at.id) === L.operation[le.GoogleSheetsFindAndReplace].inputs.matchEntireCell.id;
|
|
173721
173726
|
}
|
|
173722
|
-
), Ve = !!((T = Oe == null ? void 0 : Oe.value) != null && T.value), $e = { Authorization: `Bearer ${await N.getAccessToken()}` }, Ze = `${(g = N.env) == null ? void 0 : g.API_BASE_URL}/editor-runtime/
|
|
173727
|
+
), Ve = !!((T = Oe == null ? void 0 : Oe.value) != null && T.value), $e = { Authorization: `Bearer ${await N.getAccessToken()}` }, Ze = `${(g = N.env) == null ? void 0 : g.API_BASE_URL}/editor-runtime/v2/external-integrations/generic-proxy/${N.projectId}/${Ht["google-sheet"]}/${ee}`, qe = async (Je) => Wt.post(Ze, Je, { headers: $e }), rt = {
|
|
173723
173728
|
findReplace: {
|
|
173724
173729
|
range: gc(ne, {
|
|
173725
173730
|
errorPrefix: `${K}The ${q(Y, "Range", "range")} input `
|
|
@@ -174139,7 +174144,7 @@ class hYi extends _e {
|
|
|
174139
174144
|
throw new Error(
|
|
174140
174145
|
`${A}The ${w(H, "Range", "range")} input is missing.`
|
|
174141
174146
|
);
|
|
174142
|
-
const re = { Authorization: `Bearer ${await g.getAccessToken()}` }, J = `${(f = g.env) == null ? void 0 : f.API_BASE_URL}/editor-runtime/
|
|
174147
|
+
const re = { Authorization: `Bearer ${await g.getAccessToken()}` }, J = `${(f = g.env) == null ? void 0 : f.API_BASE_URL}/editor-runtime/v2/external-integrations/generic-proxy/${g.projectId}/${Ht["google-sheet"]}/${P}`, Z = async (Ie) => Wt.post(J, Ie, { headers: re });
|
|
174143
174148
|
await Eu(W, "Id", async () => (await Z({
|
|
174144
174149
|
method: "GET",
|
|
174145
174150
|
endpoint: `/v4/spreadsheets/${q}?fields=sheets.properties(sheetId,title)`
|
|
@@ -174184,7 +174189,9 @@ class hYi extends _e {
|
|
|
174184
174189
|
userEnteredValue: String(Ie)
|
|
174185
174190
|
}));
|
|
174186
174191
|
if (ie === "TEXT_STARTS_WITH" || ie === "TEXT_ENDS_WITH") {
|
|
174187
|
-
const Ie = yYi(
|
|
174192
|
+
const Ie = yYi(
|
|
174193
|
+
String(W)
|
|
174194
|
+
), $e = Te.length > 0 ? String(Te[0]) : "", Ze = $e.replace(/"/g, '""'), qe = ie === "TEXT_STARTS_WITH" ? `=LEFT(${Ie}, ${$e.length})="${Ze}"` : `=RIGHT(${Ie}, ${$e.length})="${Ze}"`;
|
|
174188
174195
|
Ce = "CUSTOM_FORMULA", Oe = [{ userEnteredValue: qe }];
|
|
174189
174196
|
}
|
|
174190
174197
|
const Ve = {
|
|
@@ -174303,7 +174310,7 @@ class mYi extends _e {
|
|
|
174303
174310
|
throw new Error(
|
|
174304
174311
|
`${A}The ${w(H, "Range", "range")} input is missing.`
|
|
174305
174312
|
);
|
|
174306
|
-
const re = { Authorization: `Bearer ${await g.getAccessToken()}` }, J = `${(f = g.env) == null ? void 0 : f.API_BASE_URL}/editor-runtime/
|
|
174313
|
+
const re = { Authorization: `Bearer ${await g.getAccessToken()}` }, J = `${(f = g.env) == null ? void 0 : f.API_BASE_URL}/editor-runtime/v2/external-integrations/generic-proxy/${g.projectId}/${Ht["google-sheet"]}/${P}`, Z = async (Oe) => Wt.post(J, Oe, { headers: re });
|
|
174307
174314
|
await Eu(W, "Id", async () => (await Z({
|
|
174308
174315
|
method: "GET",
|
|
174309
174316
|
endpoint: `/v4/spreadsheets/${q}?fields=sheets.properties(sheetId,title)`
|
|
@@ -174464,7 +174471,7 @@ class TYi extends _e {
|
|
|
174464
174471
|
throw new Error(
|
|
174465
174472
|
`${I}The ${A(q, "Range", "range")} input is missing.`
|
|
174466
174473
|
);
|
|
174467
|
-
const ee = { Authorization: `Bearer ${await T.getAccessToken()}` }, re = `${(f = T.env) == null ? void 0 : f.API_BASE_URL}/editor-runtime/
|
|
174474
|
+
const ee = { Authorization: `Bearer ${await T.getAccessToken()}` }, re = `${(f = T.env) == null ? void 0 : f.API_BASE_URL}/editor-runtime/v2/external-integrations/generic-proxy/${T.projectId}/${Ht["google-sheet"]}/${N}`, J = async (ue) => Wt.post(re, ue, { headers: ee });
|
|
174468
174475
|
await Eu(H, "Id", async () => (await J({
|
|
174469
174476
|
method: "GET",
|
|
174470
174477
|
endpoint: `/v4/spreadsheets/${K}?fields=sheets.properties(sheetId,title)`
|
|
@@ -174684,7 +174691,7 @@ class vYi extends _e {
|
|
|
174684
174691
|
throw new Error(
|
|
174685
174692
|
`${P}At least one property must be provided to update.`
|
|
174686
174693
|
);
|
|
174687
|
-
const it = { Authorization: `Bearer ${await w.getAccessToken()}` }, Je = `${(I = w.env) == null ? void 0 : I.API_BASE_URL}/editor-runtime/
|
|
174694
|
+
const it = { Authorization: `Bearer ${await w.getAccessToken()}` }, Je = `${(I = w.env) == null ? void 0 : I.API_BASE_URL}/editor-runtime/v2/external-integrations/generic-proxy/${w.projectId}/${Ht["google-sheet"]}/${H}`;
|
|
174688
174695
|
return await (async (gt) => Wt.post(Je, gt, { headers: it }))({
|
|
174689
174696
|
method: "POST",
|
|
174690
174697
|
endpoint: `/v4/spreadsheets/${re}:batchUpdate`,
|
|
@@ -174791,7 +174798,7 @@ class gYi extends _e {
|
|
|
174791
174798
|
)) == null ? void 0 : A.value) == null ? void 0 : w.value, ue = this.extensionsRegistry.requestContexts(
|
|
174792
174799
|
this,
|
|
174793
174800
|
[X.Editor]
|
|
174794
|
-
)[0], he = Ui(J), Ce = { Authorization: `Bearer ${await ue.getAccessToken()}` }, Oe = `${(V = ue.env) == null ? void 0 : V.API_BASE_URL}/editor-runtime/
|
|
174801
|
+
)[0], he = Ui(J), Ce = { Authorization: `Bearer ${await ue.getAccessToken()}` }, Oe = `${(V = ue.env) == null ? void 0 : V.API_BASE_URL}/editor-runtime/v2/external-integrations/generic-proxy/${ue.projectId}/${Ht["google-sheet"]}/${he}`, Ve = async (lt) => Wt.post(Oe, lt, { headers: Ce });
|
|
174795
174802
|
let Ie;
|
|
174796
174803
|
if (!isNaN(Number(ne)))
|
|
174797
174804
|
Ie = Number(ne);
|
|
@@ -174926,7 +174933,7 @@ class bYi extends _e {
|
|
|
174926
174933
|
throw new Error(
|
|
174927
174934
|
`${E}The ${I(K, "chartId", "chartId")} input is missing.`
|
|
174928
174935
|
);
|
|
174929
|
-
const W = { Authorization: `Bearer ${await m.getAccessToken()}` }, ee = `${(f = m.env) == null ? void 0 : f.API_BASE_URL}/editor-runtime/
|
|
174936
|
+
const W = { Authorization: `Bearer ${await m.getAccessToken()}` }, ee = `${(f = m.env) == null ? void 0 : f.API_BASE_URL}/editor-runtime/v2/external-integrations/generic-proxy/${m.projectId}/${Ht["google-sheet"]}/${V}`, re = async (Z) => Wt.post(ee, Z, { headers: W });
|
|
174930
174937
|
let J = {};
|
|
174931
174938
|
return J.deleteChart = {
|
|
174932
174939
|
chartId: typeof q == "string" && q.trim().startsWith("{") ? JSON.parse(q) : q
|
|
@@ -175036,7 +175043,7 @@ class EYi extends _e {
|
|
|
175036
175043
|
throw new Error(
|
|
175037
175044
|
`${E}The ${I(K, "destination", "destination")} input is missing.`
|
|
175038
175045
|
);
|
|
175039
|
-
const W = { Authorization: `Bearer ${await m.getAccessToken()}` }, ee = `${(f = m.env) == null ? void 0 : f.API_BASE_URL}/editor-runtime/
|
|
175046
|
+
const W = { Authorization: `Bearer ${await m.getAccessToken()}` }, ee = `${(f = m.env) == null ? void 0 : f.API_BASE_URL}/editor-runtime/v2/external-integrations/generic-proxy/${m.projectId}/${Ht["google-sheet"]}/${V}`, re = async (Z) => Wt.post(ee, Z, { headers: W });
|
|
175040
175047
|
let J = {
|
|
175041
175048
|
updateCells: {
|
|
175042
175049
|
start: typeof q == "string" && q.trim().startsWith("{") ? JSON.parse(q) : q,
|
|
@@ -175158,7 +175165,7 @@ class AYi extends _e {
|
|
|
175158
175165
|
throw new Error(
|
|
175159
175166
|
`${E}The ${I(K, "range", "range")} input is missing.`
|
|
175160
175167
|
);
|
|
175161
|
-
const W = { Authorization: `Bearer ${await m.getAccessToken()}` }, ee = `${(f = m.env) == null ? void 0 : f.API_BASE_URL}/editor-runtime/
|
|
175168
|
+
const W = { Authorization: `Bearer ${await m.getAccessToken()}` }, ee = `${(f = m.env) == null ? void 0 : f.API_BASE_URL}/editor-runtime/v2/external-integrations/generic-proxy/${m.projectId}/${Ht["google-sheet"]}/${V}`, re = async (Z) => Wt.post(ee, Z, { headers: W });
|
|
175162
175169
|
let J = {};
|
|
175163
175170
|
return J.deleteDimension = {
|
|
175164
175171
|
range: cC(q, {
|
|
@@ -175270,7 +175277,7 @@ class IYi extends _e {
|
|
|
175270
175277
|
throw new Error(
|
|
175271
175278
|
`${E}The ${I(K, "protectedRangeId", "protectedRangeId")} input is missing.`
|
|
175272
175279
|
);
|
|
175273
|
-
const W = { Authorization: `Bearer ${await m.getAccessToken()}` }, ee = `${(f = m.env) == null ? void 0 : f.API_BASE_URL}/editor-runtime/
|
|
175280
|
+
const W = { Authorization: `Bearer ${await m.getAccessToken()}` }, ee = `${(f = m.env) == null ? void 0 : f.API_BASE_URL}/editor-runtime/v2/external-integrations/generic-proxy/${m.projectId}/${Ht["google-sheet"]}/${V}`, re = async (Z) => Wt.post(ee, Z, { headers: W });
|
|
175274
175281
|
let J = {};
|
|
175275
175282
|
return J.deleteProtectedRange = {
|
|
175276
175283
|
protectedRangeId: typeof q == "string" && q.trim().startsWith("{") ? JSON.parse(q) : q
|
|
@@ -175380,7 +175387,7 @@ class RYi extends _e {
|
|
|
175380
175387
|
throw new Error(
|
|
175381
175388
|
`${E}The ${I(K, "bandedRange", "bandedRange")} input is missing.`
|
|
175382
175389
|
);
|
|
175383
|
-
const W = { Authorization: `Bearer ${await m.getAccessToken()}` }, ee = `${(f = m.env) == null ? void 0 : f.API_BASE_URL}/editor-runtime/
|
|
175390
|
+
const W = { Authorization: `Bearer ${await m.getAccessToken()}` }, ee = `${(f = m.env) == null ? void 0 : f.API_BASE_URL}/editor-runtime/v2/external-integrations/generic-proxy/${m.projectId}/${Ht["google-sheet"]}/${V}`, re = async (Z) => Wt.post(ee, Z, { headers: W });
|
|
175384
175391
|
let J = {};
|
|
175385
175392
|
return J.addBanding = {
|
|
175386
175393
|
bandedRange: gc(q, {
|
|
@@ -175492,7 +175499,7 @@ class wYi extends _e {
|
|
|
175492
175499
|
throw new Error(
|
|
175493
175500
|
`${E}The ${I(K, "chart", "chart")} input is missing.`
|
|
175494
175501
|
);
|
|
175495
|
-
const W = { Authorization: `Bearer ${await m.getAccessToken()}` }, ee = `${(f = m.env) == null ? void 0 : f.API_BASE_URL}/editor-runtime/
|
|
175502
|
+
const W = { Authorization: `Bearer ${await m.getAccessToken()}` }, ee = `${(f = m.env) == null ? void 0 : f.API_BASE_URL}/editor-runtime/v2/external-integrations/generic-proxy/${m.projectId}/${Ht["google-sheet"]}/${V}`, re = async (Z) => Wt.post(ee, Z, { headers: W });
|
|
175496
175503
|
let J = {};
|
|
175497
175504
|
return J.addChart = {
|
|
175498
175505
|
chart: typeof q == "string" && q.trim().startsWith("{") ? JSON.parse(q) : q
|
|
@@ -175602,7 +175609,7 @@ class CYi extends _e {
|
|
|
175602
175609
|
throw new Error(
|
|
175603
175610
|
`${E}The ${I(K, "rule", "rule")} input is missing.`
|
|
175604
175611
|
);
|
|
175605
|
-
const W = { Authorization: `Bearer ${await m.getAccessToken()}` }, ee = `${(f = m.env) == null ? void 0 : f.API_BASE_URL}/editor-runtime/
|
|
175612
|
+
const W = { Authorization: `Bearer ${await m.getAccessToken()}` }, ee = `${(f = m.env) == null ? void 0 : f.API_BASE_URL}/editor-runtime/v2/external-integrations/generic-proxy/${m.projectId}/${Ht["google-sheet"]}/${V}`, re = async (Z) => Wt.post(ee, Z, { headers: W });
|
|
175606
175613
|
let J = {};
|
|
175607
175614
|
return J.addConditionalFormatRule = {
|
|
175608
175615
|
rule: typeof q == "string" && q.trim().startsWith("{") ? JSON.parse(q) : q
|
|
@@ -175712,7 +175719,7 @@ class DYi extends _e {
|
|
|
175712
175719
|
throw new Error(
|
|
175713
175720
|
`${E}The ${I(K, "protectedRange", "protectedRange")} input is missing.`
|
|
175714
175721
|
);
|
|
175715
|
-
const W = { Authorization: `Bearer ${await m.getAccessToken()}` }, ee = `${(f = m.env) == null ? void 0 : f.API_BASE_URL}/editor-runtime/
|
|
175722
|
+
const W = { Authorization: `Bearer ${await m.getAccessToken()}` }, ee = `${(f = m.env) == null ? void 0 : f.API_BASE_URL}/editor-runtime/v2/external-integrations/generic-proxy/${m.projectId}/${Ht["google-sheet"]}/${V}`, re = async (Z) => Wt.post(ee, Z, { headers: W });
|
|
175716
175723
|
let J = {};
|
|
175717
175724
|
return J.addProtectedRange = {
|
|
175718
175725
|
protectedRange: typeof q == "string" && q.trim().startsWith("{") ? JSON.parse(q) : q
|
|
@@ -175832,7 +175839,7 @@ class OYi extends _e {
|
|
|
175832
175839
|
throw new Error(
|
|
175833
175840
|
`${I}The ${A(W, "chart", "chart")} input is missing.`
|
|
175834
175841
|
);
|
|
175835
|
-
const J = { Authorization: `Bearer ${await T.getAccessToken()}` }, Z = `${(y = T.env) == null ? void 0 : y.API_BASE_URL}/editor-runtime/
|
|
175842
|
+
const J = { Authorization: `Bearer ${await T.getAccessToken()}` }, Z = `${(y = T.env) == null ? void 0 : y.API_BASE_URL}/editor-runtime/v2/external-integrations/generic-proxy/${T.projectId}/${Ht["google-sheet"]}/${N}`, Y = async (z) => Wt.post(Z, z, { headers: J });
|
|
175836
175843
|
let ne = {};
|
|
175837
175844
|
return ne.updateChartSpec = {
|
|
175838
175845
|
chartId: typeof H == "string" && H.trim().startsWith("{") ? JSON.parse(H) : H,
|
|
@@ -175953,7 +175960,7 @@ class xYi extends _e {
|
|
|
175953
175960
|
throw new Error(
|
|
175954
175961
|
`${I}The ${A(W, "pivotTable", "pivotTable")} input is missing.`
|
|
175955
175962
|
);
|
|
175956
|
-
const J = { Authorization: `Bearer ${await T.getAccessToken()}` }, Z = `${(y = T.env) == null ? void 0 : y.API_BASE_URL}/editor-runtime/
|
|
175963
|
+
const J = { Authorization: `Bearer ${await T.getAccessToken()}` }, Z = `${(y = T.env) == null ? void 0 : y.API_BASE_URL}/editor-runtime/v2/external-integrations/generic-proxy/${T.projectId}/${Ht["google-sheet"]}/${N}`, Y = async (z) => Wt.post(Z, z, { headers: J });
|
|
175957
175964
|
let ne = {
|
|
175958
175965
|
updateCells: {
|
|
175959
175966
|
start: typeof H == "string" && H.trim().startsWith("{") ? JSON.parse(H) : H,
|
|
@@ -176085,7 +176092,7 @@ class PYi extends _e {
|
|
|
176085
176092
|
throw new Error(
|
|
176086
176093
|
`${I}The ${A(W, "inheritFromBefore", "inheritFromBefore")} input is missing.`
|
|
176087
176094
|
);
|
|
176088
|
-
const J = { Authorization: `Bearer ${await T.getAccessToken()}` }, Z = `${(y = T.env) == null ? void 0 : y.API_BASE_URL}/editor-runtime/
|
|
176095
|
+
const J = { Authorization: `Bearer ${await T.getAccessToken()}` }, Z = `${(y = T.env) == null ? void 0 : y.API_BASE_URL}/editor-runtime/v2/external-integrations/generic-proxy/${T.projectId}/${Ht["google-sheet"]}/${N}`, Y = async (z) => Wt.post(Z, z, { headers: J });
|
|
176089
176096
|
let ne = {};
|
|
176090
176097
|
return ne.insertDimension = {
|
|
176091
176098
|
range: cC(H, {
|
|
@@ -176208,7 +176215,7 @@ class _Yi extends _e {
|
|
|
176208
176215
|
throw new Error(
|
|
176209
176216
|
`${I}The ${A(W, "destinationIndex", "destinationIndex")} input is missing.`
|
|
176210
176217
|
);
|
|
176211
|
-
const J = { Authorization: `Bearer ${await T.getAccessToken()}` }, Z = `${(y = T.env) == null ? void 0 : y.API_BASE_URL}/editor-runtime/
|
|
176218
|
+
const J = { Authorization: `Bearer ${await T.getAccessToken()}` }, Z = `${(y = T.env) == null ? void 0 : y.API_BASE_URL}/editor-runtime/v2/external-integrations/generic-proxy/${T.projectId}/${Ht["google-sheet"]}/${N}`, Y = async (z) => Wt.post(Z, z, { headers: J });
|
|
176212
176219
|
let ne = {};
|
|
176213
176220
|
return ne.moveDimension = {
|
|
176214
176221
|
source: typeof H == "string" && H.trim().startsWith("{") ? JSON.parse(H) : H,
|
|
@@ -176329,7 +176336,7 @@ class VYi extends _e {
|
|
|
176329
176336
|
throw new Error(
|
|
176330
176337
|
`${I}The ${A(W, "rule", "rule")} input is missing.`
|
|
176331
176338
|
);
|
|
176332
|
-
const J = { Authorization: `Bearer ${await T.getAccessToken()}` }, Z = `${(y = T.env) == null ? void 0 : y.API_BASE_URL}/editor-runtime/
|
|
176339
|
+
const J = { Authorization: `Bearer ${await T.getAccessToken()}` }, Z = `${(y = T.env) == null ? void 0 : y.API_BASE_URL}/editor-runtime/v2/external-integrations/generic-proxy/${T.projectId}/${Ht["google-sheet"]}/${N}`, Y = async (z) => Wt.post(Z, z, { headers: J });
|
|
176333
176340
|
let ne = {};
|
|
176334
176341
|
return ne.updateConditionalFormatRule = {
|
|
176335
176342
|
index: typeof H == "string" && H.trim().startsWith("{") ? JSON.parse(H) : H,
|
|
@@ -176450,7 +176457,7 @@ class NYi extends _e {
|
|
|
176450
176457
|
throw new Error(
|
|
176451
176458
|
`${I}The ${A(W, "protectedRange", "protectedRange")} input is missing.`
|
|
176452
176459
|
);
|
|
176453
|
-
const J = { Authorization: `Bearer ${await T.getAccessToken()}` }, Z = `${(y = T.env) == null ? void 0 : y.API_BASE_URL}/editor-runtime/
|
|
176460
|
+
const J = { Authorization: `Bearer ${await T.getAccessToken()}` }, Z = `${(y = T.env) == null ? void 0 : y.API_BASE_URL}/editor-runtime/v2/external-integrations/generic-proxy/${T.projectId}/${Ht["google-sheet"]}/${N}`, Y = async (z) => Wt.post(Z, z, { headers: J });
|
|
176454
176461
|
let ne = {};
|
|
176455
176462
|
return ne.updateProtectedRange = {
|
|
176456
176463
|
protectedRangeId: typeof H == "string" && H.trim().startsWith("{") ? JSON.parse(H) : H,
|
|
@@ -176571,7 +176578,7 @@ class $Yi extends _e {
|
|
|
176571
176578
|
throw new Error(
|
|
176572
176579
|
`${I}The ${A(W, "range", "range")} input is missing.`
|
|
176573
176580
|
);
|
|
176574
|
-
const J = { Authorization: `Bearer ${await T.getAccessToken()}` }, Z = `${(y = T.env) == null ? void 0 : y.API_BASE_URL}/editor-runtime/
|
|
176581
|
+
const J = { Authorization: `Bearer ${await T.getAccessToken()}` }, Z = `${(y = T.env) == null ? void 0 : y.API_BASE_URL}/editor-runtime/v2/external-integrations/generic-proxy/${T.projectId}/${Ht["google-sheet"]}/${N}`, Y = async (z) => Wt.post(Z, z, { headers: J });
|
|
176575
176582
|
let ne = {};
|
|
176576
176583
|
return ne.addNamedRange = {
|
|
176577
176584
|
name: typeof H == "string" && H.trim().startsWith("{") ? JSON.parse(H) : H,
|
|
@@ -176694,7 +176701,7 @@ class LYi extends _e {
|
|
|
176694
176701
|
throw new Error(
|
|
176695
176702
|
`${I}The ${A(W, "note", "note")} input is missing.`
|
|
176696
176703
|
);
|
|
176697
|
-
const J = { Authorization: `Bearer ${await T.getAccessToken()}` }, Z = `${(y = T.env) == null ? void 0 : y.API_BASE_URL}/editor-runtime/
|
|
176704
|
+
const J = { Authorization: `Bearer ${await T.getAccessToken()}` }, Z = `${(y = T.env) == null ? void 0 : y.API_BASE_URL}/editor-runtime/v2/external-integrations/generic-proxy/${T.projectId}/${Ht["google-sheet"]}/${N}`, Y = async (z) => Wt.post(Z, z, { headers: J });
|
|
176698
176705
|
let ne = {
|
|
176699
176706
|
repeatCell: {
|
|
176700
176707
|
range: gc(H, {
|
|
@@ -176822,7 +176829,7 @@ class GYi extends _e {
|
|
|
176822
176829
|
throw new Error(
|
|
176823
176830
|
`${I}The ${A(W, "index", "index")} input is missing.`
|
|
176824
176831
|
);
|
|
176825
|
-
const J = { Authorization: `Bearer ${await T.getAccessToken()}` }, Z = `${(y = T.env) == null ? void 0 : y.API_BASE_URL}/editor-runtime/
|
|
176832
|
+
const J = { Authorization: `Bearer ${await T.getAccessToken()}` }, Z = `${(y = T.env) == null ? void 0 : y.API_BASE_URL}/editor-runtime/v2/external-integrations/generic-proxy/${T.projectId}/${Ht["google-sheet"]}/${N}`, Y = async (z) => Wt.post(Z, z, { headers: J });
|
|
176826
176833
|
let ne = {};
|
|
176827
176834
|
return ne.deleteConditionalFormatRule = {
|
|
176828
176835
|
sheetId: typeof H == "string" && H.trim().startsWith("{") ? JSON.parse(H) : H,
|
|
@@ -176943,7 +176950,7 @@ class BYi extends _e {
|
|
|
176943
176950
|
throw new Error(
|
|
176944
176951
|
`${I}The ${A(W, "Pixel size", "pixelSize")} input is missing or invalid. Expected a non-negative number in pixels.`
|
|
176945
176952
|
);
|
|
176946
|
-
const J = { Authorization: `Bearer ${await T.getAccessToken()}` }, Z = `${(y = T.env) == null ? void 0 : y.API_BASE_URL}/editor-runtime/
|
|
176953
|
+
const J = { Authorization: `Bearer ${await T.getAccessToken()}` }, Z = `${(y = T.env) == null ? void 0 : y.API_BASE_URL}/editor-runtime/v2/external-integrations/generic-proxy/${T.projectId}/${Ht["google-sheet"]}/${N}`, Y = async (ie) => Wt.post(Z, ie, { headers: J });
|
|
176947
176954
|
await Eu(H, "Id", async () => {
|
|
176948
176955
|
var ue;
|
|
176949
176956
|
return (((ue = (await Y({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elyx-code/project-logic-tree",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.7158",
|
|
4
4
|
"author": "Sergio Herrero",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"description": "An installable module which contains the type definitions and ephemeral state management for a projects' logic tree data structure",
|