@elyx-code/project-logic-tree 0.0.7157 → 0.0.7159
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 +2 -2
- package/dist/index.d.ts +1 -1
- package/dist/index.js +57 -52
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -16016,7 +16016,7 @@ export declare const batchUpdateSpreadsheetSpreadsheetIdInputParentRef: IActionD
|
|
|
16016
16016
|
|
|
16017
16017
|
export declare function concatLists(base: unknown, ...others: unknown[]): any[];
|
|
16018
16018
|
|
|
16019
|
-
export declare const CONDITION_TYPE_OPTIONS: readonly ["List of items", "List from cell range", "Number greater than", "Number greater than or equal", "Number less than", "Number less than or equal", "Number equal to", "Number not equal to", "Number between", "Number not between", "Text contains", "Text does not contain", "Text starts with", "Text ends with", "Text equals", "Text is valid email", "Text is valid URL", "Date is", "Date is before", "Date is after", "Date is on or before", "Date is on or after", "Date is between", "Date is not between", "Date is valid", "
|
|
16019
|
+
export declare const CONDITION_TYPE_OPTIONS: readonly ["List of items", "List from cell range", "Number greater than", "Number greater than or equal", "Number less than", "Number less than or equal", "Number equal to", "Number not equal to", "Number between", "Number not between", "Text contains", "Text does not contain", "Text starts with", "Text ends with", "Text equals", "Text is valid email", "Text is valid URL", "Date is", "Date is before", "Date is after", "Date is on or before", "Date is on or after", "Date is between", "Date is not between", "Date is valid", "Checkbox", "Custom formula"];
|
|
16020
16020
|
|
|
16021
16021
|
export declare enum ConditionDependencyField {
|
|
16022
16022
|
Parent = "parent"
|
package/dist/index.js
CHANGED
|
@@ -81332,8 +81332,6 @@ const adi = pp("ts", "TS", "Message timestamp", 0, "string", !0), sdi = pp("text
|
|
|
81332
81332
|
"Date is between",
|
|
81333
81333
|
"Date is not between",
|
|
81334
81334
|
"Date is valid",
|
|
81335
|
-
"Is empty",
|
|
81336
|
-
"Is not empty",
|
|
81337
81335
|
"Checkbox",
|
|
81338
81336
|
"Custom formula"
|
|
81339
81337
|
], Jwn = {
|
|
@@ -171248,7 +171246,7 @@ class UJi extends _e {
|
|
|
171248
171246
|
throw new Error(
|
|
171249
171247
|
`${E}The ${I(N, "Title", "title")} input value is invalid. If present, it must be a non-empty string. E.g. "My Spreadsheet"`
|
|
171250
171248
|
);
|
|
171251
|
-
const K = { Authorization: `Bearer ${await m.getAccessToken()}` }, q = `${(e = m.env) == null ? void 0 : e.API_BASE_URL}/editor-runtime/
|
|
171249
|
+
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
171250
|
P && (W.properties = { title: P });
|
|
171253
171251
|
const re = ((f = (await H({
|
|
171254
171252
|
method: "POST",
|
|
@@ -171597,7 +171595,7 @@ class FJi extends _e {
|
|
|
171597
171595
|
}
|
|
171598
171596
|
), G = (c = P == null ? void 0 : P.value) == null ? void 0 : c.value, K = Yn(G, {
|
|
171599
171597
|
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/
|
|
171598
|
+
}), 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
171599
|
method: "GET",
|
|
171602
171600
|
endpoint: `/v4/spreadsheets/${K}`
|
|
171603
171601
|
})).data) == null ? void 0 : f.data) || {};
|
|
@@ -171704,7 +171702,7 @@ class jJi extends _e {
|
|
|
171704
171702
|
throw new Error(
|
|
171705
171703
|
`${N}The ${P(re, "Title", "title")} input value is invalid. If present, it must be a string. E.g. "New Sheet"`
|
|
171706
171704
|
);
|
|
171707
|
-
const Y = { Authorization: `Bearer ${await A.getAccessToken()}` }, ne = `${(f = A.env) == null ? void 0 : f.API_BASE_URL}/editor-runtime/
|
|
171705
|
+
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
171706
|
method: "POST",
|
|
171709
171707
|
endpoint: `/v4/spreadsheets/${ee}:batchUpdate`,
|
|
171710
171708
|
data: {
|
|
@@ -171823,7 +171821,7 @@ class SJi extends _e {
|
|
|
171823
171821
|
throw new Error(
|
|
171824
171822
|
`${E}The ${I(K, "Sheet ID", "sheetId")} input value is invalid. It must be a number. E.g. 0`
|
|
171825
171823
|
);
|
|
171826
|
-
const W = { Authorization: `Bearer ${await m.getAccessToken()}` }, ee = `${(f = m.env) == null ? void 0 : f.API_BASE_URL}/editor-runtime/
|
|
171824
|
+
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
171825
|
return await (async (J) => Wt.post(ee, J, { headers: W }))({
|
|
171828
171826
|
method: "POST",
|
|
171829
171827
|
endpoint: `/v4/spreadsheets/${G}:batchUpdate`,
|
|
@@ -171948,7 +171946,7 @@ class KJi extends _e {
|
|
|
171948
171946
|
throw new Error(
|
|
171949
171947
|
`${w}The ${V(re, "Values", "values")} input is missing.`
|
|
171950
171948
|
);
|
|
171951
|
-
const Y = { Authorization: `Bearer ${await E.getAccessToken()}` }, ne = `${(y = E.env) == null ? void 0 : y.API_BASE_URL}/editor-runtime/
|
|
171949
|
+
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
171950
|
let ie = J;
|
|
171953
171951
|
if (typeof J == "string")
|
|
171954
171952
|
try {
|
|
@@ -172080,7 +172078,7 @@ class qJi extends _e {
|
|
|
172080
172078
|
throw new Error(
|
|
172081
172079
|
`${I}The ${A(q, "Range", "range")} input is missing.`
|
|
172082
172080
|
);
|
|
172083
|
-
const ee = { Authorization: `Bearer ${await T.getAccessToken()}` }, re = `${(f = T.env) == null ? void 0 : f.API_BASE_URL}/editor-runtime/
|
|
172081
|
+
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
172082
|
await Eu(H, "Name", async () => {
|
|
172085
172083
|
var z;
|
|
172086
172084
|
return (((z = (await J({
|
|
@@ -172210,7 +172208,7 @@ class ZJi extends _e {
|
|
|
172210
172208
|
throw new Error(
|
|
172211
172209
|
`${A}The ${w(ee, "Values", "values")} input is missing.`
|
|
172212
172210
|
);
|
|
172213
|
-
const Z = { Authorization: `Bearer ${await g.getAccessToken()}` }, Y = `${(y = g.env) == null ? void 0 : y.API_BASE_URL}/editor-runtime/
|
|
172211
|
+
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
172212
|
let z = re;
|
|
172215
172213
|
if (typeof re == "string")
|
|
172216
172214
|
try {
|
|
@@ -172342,7 +172340,7 @@ class HJi extends _e {
|
|
|
172342
172340
|
throw new Error(
|
|
172343
172341
|
`${I}The ${A(q, "Range", "range")} input is missing.`
|
|
172344
172342
|
);
|
|
172345
|
-
const ee = { Authorization: `Bearer ${await T.getAccessToken()}` }, re = `${(f = T.env) == null ? void 0 : f.API_BASE_URL}/editor-runtime/
|
|
172343
|
+
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
172344
|
await Eu(H, "Name", async () => {
|
|
172347
172345
|
var z;
|
|
172348
172346
|
return (((z = (await J({
|
|
@@ -172473,7 +172471,7 @@ class WJi extends _e {
|
|
|
172473
172471
|
throw new Error(
|
|
172474
172472
|
`${I}The ${A(q, "Requests", "requests")} input evaluated to an empty array. E.g. [{ addSheet: { properties: { title: "New Sheet" } } }]`
|
|
172475
172473
|
);
|
|
172476
|
-
const re = { Authorization: `Bearer ${await T.getAccessToken()}` }, J = `${(f = T.env) == null ? void 0 : f.API_BASE_URL}/editor-runtime/
|
|
172474
|
+
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
172475
|
method: "POST",
|
|
172478
172476
|
endpoint: `/v4/spreadsheets/${K}:batchUpdate`,
|
|
172479
172477
|
data: { requests: W }
|
|
@@ -172592,7 +172590,7 @@ class zJi extends _e {
|
|
|
172592
172590
|
throw new Error(
|
|
172593
172591
|
`${I}The ${A(W, "Title", "title")} input value is invalid, if present, it must be a string.`
|
|
172594
172592
|
);
|
|
172595
|
-
const J = { Authorization: `Bearer ${await T.getAccessToken()}` }, Z = `${(y = T.env) == null ? void 0 : y.API_BASE_URL}/editor-runtime/
|
|
172593
|
+
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
172594
|
return ne.title = ee || "", z.push("title"), await Y({
|
|
172597
172595
|
method: "POST",
|
|
172598
172596
|
endpoint: `/v4/spreadsheets/${K}:batchUpdate`,
|
|
@@ -172724,7 +172722,7 @@ class JJi extends _e {
|
|
|
172724
172722
|
throw new Error(
|
|
172725
172723
|
`${A}The ${w(ee, "Destination Spreadsheet ID", "destinationSpreadsheetId")} input value is invalid. It must be a non-empty string. E.g. "1BxiMVs0XRA5nFMdKvBdBZjgmUUqptlbs74OgvE2upms"`
|
|
172726
172724
|
);
|
|
172727
|
-
const Z = { Authorization: `Bearer ${await g.getAccessToken()}` }, Y = `${(y = g.env) == null ? void 0 : y.API_BASE_URL}/editor-runtime/
|
|
172725
|
+
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
172726
|
method: "POST",
|
|
172729
172727
|
endpoint: `/v4/spreadsheets/${q}/sheets/${W}:copyTo`,
|
|
172730
172728
|
data: { destinationSpreadsheetId: re }
|
|
@@ -172833,7 +172831,7 @@ class YJi extends _e {
|
|
|
172833
172831
|
throw new Error(
|
|
172834
172832
|
`${I}The ${A(q, "Sheet Name", "sheetName")} input value is invalid. It must be a non-empty string. E.g. "Sheet1"`
|
|
172835
172833
|
);
|
|
172836
|
-
const ee = { Authorization: `Bearer ${await T.getAccessToken()}` }, re = `${(f = T.env) == null ? void 0 : f.API_BASE_URL}/editor-runtime/
|
|
172834
|
+
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
172835
|
method: "POST",
|
|
172838
172836
|
endpoint: `/v4/spreadsheets/${K}/values/${H}:clear`,
|
|
172839
172837
|
data: {}
|
|
@@ -172938,7 +172936,7 @@ class QJi extends _e {
|
|
|
172938
172936
|
throw new Error(
|
|
172939
172937
|
`${P}The ${G(J, "Ranges", "ranges")} input is missing.`
|
|
172940
172938
|
);
|
|
172941
|
-
const ne = { Authorization: `Bearer ${await w.getAccessToken()}` }, z = `${(f = w.env) == null ? void 0 : f.API_BASE_URL}/editor-runtime/
|
|
172939
|
+
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
172940
|
let ue = Array.isArray(Z) ? Z : [Z];
|
|
172943
172941
|
if (ue.length === 0)
|
|
172944
172942
|
throw new Error(
|
|
@@ -173097,7 +173095,7 @@ class XJi extends _e {
|
|
|
173097
173095
|
throw new Error(
|
|
173098
173096
|
`${E}The ${I(K, "Range", "range")} input is missing.`
|
|
173099
173097
|
);
|
|
173100
|
-
const W = { Authorization: `Bearer ${await m.getAccessToken()}` }, ee = `${(f = m.env) == null ? void 0 : f.API_BASE_URL}/editor-runtime/
|
|
173098
|
+
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
173099
|
await Eu(q, "Id", async () => (await re({
|
|
173102
173100
|
method: "GET",
|
|
173103
173101
|
endpoint: `/v4/spreadsheets/${G}?fields=sheets.properties(sheetId,title)`
|
|
@@ -173105,9 +173103,12 @@ class XJi extends _e {
|
|
|
173105
173103
|
id: Vt.properties.sheetId,
|
|
173106
173104
|
name: Vt.properties.title
|
|
173107
173105
|
})));
|
|
173108
|
-
const J = gc(
|
|
173109
|
-
|
|
173110
|
-
|
|
173106
|
+
const J = gc(
|
|
173107
|
+
q,
|
|
173108
|
+
{
|
|
173109
|
+
errorPrefix: `${E}The ${I(K, "Range", "range")} input `
|
|
173110
|
+
}
|
|
173111
|
+
), Z = L.operation[le.GoogleSheetsFormatCells].inputs, Y = (gt) => {
|
|
173111
173112
|
var Et;
|
|
173112
173113
|
const Vt = n.find(
|
|
173113
173114
|
(mt) => {
|
|
@@ -173116,7 +173117,9 @@ class XJi extends _e {
|
|
|
173116
173117
|
}
|
|
173117
173118
|
);
|
|
173118
173119
|
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(
|
|
173120
|
+
}, ne = Y(Z.bold.id), z = Y(Z.italic.id), ie = Y(Z.underline.id), ue = Y(
|
|
173121
|
+
Z.strikethrough.id
|
|
173122
|
+
), he = Y(Z.fontSize.id), Te = Y(Z.fontFamily.id), Ce = Y(Z.textColor.id), Oe = Y(
|
|
173120
173123
|
Z.backgroundColor.id
|
|
173121
173124
|
), Ve = Y(
|
|
173122
173125
|
Z.horizontalAlignment.id
|
|
@@ -173273,7 +173276,7 @@ class eYi extends _e {
|
|
|
173273
173276
|
throw new Error(
|
|
173274
173277
|
`${I}The ${A(q, "Range", "range")} input is missing.`
|
|
173275
173278
|
);
|
|
173276
|
-
const ee = { Authorization: `Bearer ${await T.getAccessToken()}` }, re = `${(f = T.env) == null ? void 0 : f.API_BASE_URL}/editor-runtime/
|
|
173279
|
+
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
173280
|
await Eu(H, "Id", async () => (await J({
|
|
173278
173281
|
method: "GET",
|
|
173279
173282
|
endpoint: `/v4/spreadsheets/${K}?fields=sheets.properties(sheetId,title)`
|
|
@@ -173415,7 +173418,7 @@ class tYi extends _e {
|
|
|
173415
173418
|
throw new Error(
|
|
173416
173419
|
`${A}The ${w(H, "Range", "range")} input is missing.`
|
|
173417
173420
|
);
|
|
173418
|
-
const re = { Authorization: `Bearer ${await g.getAccessToken()}` }, J = `${(f = g.env) == null ? void 0 : f.API_BASE_URL}/editor-runtime/
|
|
173421
|
+
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
173422
|
await Eu(W, "Id", async () => (await Z({
|
|
173420
173423
|
method: "GET",
|
|
173421
173424
|
endpoint: `/v4/spreadsheets/${q}?fields=sheets.properties(sheetId,title)`
|
|
@@ -173557,7 +173560,7 @@ class iYi extends _e {
|
|
|
173557
173560
|
throw new Error(
|
|
173558
173561
|
`${E}The ${I(K, "Range", "range")} input is missing.`
|
|
173559
173562
|
);
|
|
173560
|
-
const W = { Authorization: `Bearer ${await m.getAccessToken()}` }, ee = `${(f = m.env) == null ? void 0 : f.API_BASE_URL}/editor-runtime/
|
|
173563
|
+
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
173564
|
await Eu(q, "Id", async () => {
|
|
173562
173565
|
var Y;
|
|
173563
173566
|
return (((Y = (await re({
|
|
@@ -173719,7 +173722,7 @@ class nYi extends _e {
|
|
|
173719
173722
|
var at;
|
|
173720
173723
|
return ((at = Je.valueOwner.declaration) == null ? void 0 : at.id) === L.operation[le.GoogleSheetsFindAndReplace].inputs.matchEntireCell.id;
|
|
173721
173724
|
}
|
|
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/
|
|
173725
|
+
), 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
173726
|
findReplace: {
|
|
173724
173727
|
range: gc(ne, {
|
|
173725
173728
|
errorPrefix: `${K}The ${q(Y, "Range", "range")} input `
|
|
@@ -173766,6 +173769,8 @@ const T_ = {
|
|
|
173766
173769
|
"Number not between": "NUMBER_NOT_BETWEEN",
|
|
173767
173770
|
"Text contains": "TEXT_CONTAINS",
|
|
173768
173771
|
"Text does not contain": "TEXT_NOT_CONTAINS",
|
|
173772
|
+
"Text starts with": "TEXT_STARTS_WITH",
|
|
173773
|
+
"Text ends with": "TEXT_ENDS_WITH",
|
|
173769
173774
|
"Text equals": "TEXT_EQ",
|
|
173770
173775
|
"Text is valid email": "TEXT_IS_EMAIL",
|
|
173771
173776
|
"Text is valid URL": "TEXT_IS_URL",
|
|
@@ -173799,8 +173804,8 @@ function KH(r) {
|
|
|
173799
173804
|
return null;
|
|
173800
173805
|
if (T_[u])
|
|
173801
173806
|
return T_[u];
|
|
173802
|
-
const i = u.toUpperCase();
|
|
173803
|
-
return CR[i] ? CR[i] : rYi.has(i)
|
|
173807
|
+
const i = u.toUpperCase().replace(/\s+/g, "_");
|
|
173808
|
+
return CR[i] ? CR[i] : (rYi.has(i), i);
|
|
173804
173809
|
}
|
|
173805
173810
|
function aYi(r, u, i) {
|
|
173806
173811
|
if (r.length === 0) {
|
|
@@ -174043,8 +174048,6 @@ function fYi(r, u, i, n) {
|
|
|
174043
174048
|
case "TEXT_IS_EMAIL":
|
|
174044
174049
|
case "TEXT_IS_URL":
|
|
174045
174050
|
case "DATE_IS_VALID":
|
|
174046
|
-
case "BLANK":
|
|
174047
|
-
case "NOT_BLANK":
|
|
174048
174051
|
case "BOOLEAN":
|
|
174049
174052
|
cYi(s, i, n);
|
|
174050
174053
|
break;
|
|
@@ -174139,7 +174142,7 @@ class hYi extends _e {
|
|
|
174139
174142
|
throw new Error(
|
|
174140
174143
|
`${A}The ${w(H, "Range", "range")} input is missing.`
|
|
174141
174144
|
);
|
|
174142
|
-
const re = { Authorization: `Bearer ${await g.getAccessToken()}` }, J = `${(f = g.env) == null ? void 0 : f.API_BASE_URL}/editor-runtime/
|
|
174145
|
+
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
174146
|
await Eu(W, "Id", async () => (await Z({
|
|
174144
174147
|
method: "GET",
|
|
174145
174148
|
endpoint: `/v4/spreadsheets/${q}?fields=sheets.properties(sheetId,title)`
|
|
@@ -174184,7 +174187,9 @@ class hYi extends _e {
|
|
|
174184
174187
|
userEnteredValue: String(Ie)
|
|
174185
174188
|
}));
|
|
174186
174189
|
if (ie === "TEXT_STARTS_WITH" || ie === "TEXT_ENDS_WITH") {
|
|
174187
|
-
const Ie = yYi(
|
|
174190
|
+
const Ie = yYi(
|
|
174191
|
+
String(W)
|
|
174192
|
+
), $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
174193
|
Ce = "CUSTOM_FORMULA", Oe = [{ userEnteredValue: qe }];
|
|
174189
174194
|
}
|
|
174190
174195
|
const Ve = {
|
|
@@ -174303,7 +174308,7 @@ class mYi extends _e {
|
|
|
174303
174308
|
throw new Error(
|
|
174304
174309
|
`${A}The ${w(H, "Range", "range")} input is missing.`
|
|
174305
174310
|
);
|
|
174306
|
-
const re = { Authorization: `Bearer ${await g.getAccessToken()}` }, J = `${(f = g.env) == null ? void 0 : f.API_BASE_URL}/editor-runtime/
|
|
174311
|
+
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
174312
|
await Eu(W, "Id", async () => (await Z({
|
|
174308
174313
|
method: "GET",
|
|
174309
174314
|
endpoint: `/v4/spreadsheets/${q}?fields=sheets.properties(sheetId,title)`
|
|
@@ -174464,7 +174469,7 @@ class TYi extends _e {
|
|
|
174464
174469
|
throw new Error(
|
|
174465
174470
|
`${I}The ${A(q, "Range", "range")} input is missing.`
|
|
174466
174471
|
);
|
|
174467
|
-
const ee = { Authorization: `Bearer ${await T.getAccessToken()}` }, re = `${(f = T.env) == null ? void 0 : f.API_BASE_URL}/editor-runtime/
|
|
174472
|
+
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
174473
|
await Eu(H, "Id", async () => (await J({
|
|
174469
174474
|
method: "GET",
|
|
174470
174475
|
endpoint: `/v4/spreadsheets/${K}?fields=sheets.properties(sheetId,title)`
|
|
@@ -174684,7 +174689,7 @@ class vYi extends _e {
|
|
|
174684
174689
|
throw new Error(
|
|
174685
174690
|
`${P}At least one property must be provided to update.`
|
|
174686
174691
|
);
|
|
174687
|
-
const it = { Authorization: `Bearer ${await w.getAccessToken()}` }, Je = `${(I = w.env) == null ? void 0 : I.API_BASE_URL}/editor-runtime/
|
|
174692
|
+
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
174693
|
return await (async (gt) => Wt.post(Je, gt, { headers: it }))({
|
|
174689
174694
|
method: "POST",
|
|
174690
174695
|
endpoint: `/v4/spreadsheets/${re}:batchUpdate`,
|
|
@@ -174791,7 +174796,7 @@ class gYi extends _e {
|
|
|
174791
174796
|
)) == null ? void 0 : A.value) == null ? void 0 : w.value, ue = this.extensionsRegistry.requestContexts(
|
|
174792
174797
|
this,
|
|
174793
174798
|
[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/
|
|
174799
|
+
)[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
174800
|
let Ie;
|
|
174796
174801
|
if (!isNaN(Number(ne)))
|
|
174797
174802
|
Ie = Number(ne);
|
|
@@ -174926,7 +174931,7 @@ class bYi extends _e {
|
|
|
174926
174931
|
throw new Error(
|
|
174927
174932
|
`${E}The ${I(K, "chartId", "chartId")} input is missing.`
|
|
174928
174933
|
);
|
|
174929
|
-
const W = { Authorization: `Bearer ${await m.getAccessToken()}` }, ee = `${(f = m.env) == null ? void 0 : f.API_BASE_URL}/editor-runtime/
|
|
174934
|
+
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
174935
|
let J = {};
|
|
174931
174936
|
return J.deleteChart = {
|
|
174932
174937
|
chartId: typeof q == "string" && q.trim().startsWith("{") ? JSON.parse(q) : q
|
|
@@ -175036,7 +175041,7 @@ class EYi extends _e {
|
|
|
175036
175041
|
throw new Error(
|
|
175037
175042
|
`${E}The ${I(K, "destination", "destination")} input is missing.`
|
|
175038
175043
|
);
|
|
175039
|
-
const W = { Authorization: `Bearer ${await m.getAccessToken()}` }, ee = `${(f = m.env) == null ? void 0 : f.API_BASE_URL}/editor-runtime/
|
|
175044
|
+
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
175045
|
let J = {
|
|
175041
175046
|
updateCells: {
|
|
175042
175047
|
start: typeof q == "string" && q.trim().startsWith("{") ? JSON.parse(q) : q,
|
|
@@ -175158,7 +175163,7 @@ class AYi extends _e {
|
|
|
175158
175163
|
throw new Error(
|
|
175159
175164
|
`${E}The ${I(K, "range", "range")} input is missing.`
|
|
175160
175165
|
);
|
|
175161
|
-
const W = { Authorization: `Bearer ${await m.getAccessToken()}` }, ee = `${(f = m.env) == null ? void 0 : f.API_BASE_URL}/editor-runtime/
|
|
175166
|
+
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
175167
|
let J = {};
|
|
175163
175168
|
return J.deleteDimension = {
|
|
175164
175169
|
range: cC(q, {
|
|
@@ -175270,7 +175275,7 @@ class IYi extends _e {
|
|
|
175270
175275
|
throw new Error(
|
|
175271
175276
|
`${E}The ${I(K, "protectedRangeId", "protectedRangeId")} input is missing.`
|
|
175272
175277
|
);
|
|
175273
|
-
const W = { Authorization: `Bearer ${await m.getAccessToken()}` }, ee = `${(f = m.env) == null ? void 0 : f.API_BASE_URL}/editor-runtime/
|
|
175278
|
+
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
175279
|
let J = {};
|
|
175275
175280
|
return J.deleteProtectedRange = {
|
|
175276
175281
|
protectedRangeId: typeof q == "string" && q.trim().startsWith("{") ? JSON.parse(q) : q
|
|
@@ -175380,7 +175385,7 @@ class RYi extends _e {
|
|
|
175380
175385
|
throw new Error(
|
|
175381
175386
|
`${E}The ${I(K, "bandedRange", "bandedRange")} input is missing.`
|
|
175382
175387
|
);
|
|
175383
|
-
const W = { Authorization: `Bearer ${await m.getAccessToken()}` }, ee = `${(f = m.env) == null ? void 0 : f.API_BASE_URL}/editor-runtime/
|
|
175388
|
+
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
175389
|
let J = {};
|
|
175385
175390
|
return J.addBanding = {
|
|
175386
175391
|
bandedRange: gc(q, {
|
|
@@ -175492,7 +175497,7 @@ class wYi extends _e {
|
|
|
175492
175497
|
throw new Error(
|
|
175493
175498
|
`${E}The ${I(K, "chart", "chart")} input is missing.`
|
|
175494
175499
|
);
|
|
175495
|
-
const W = { Authorization: `Bearer ${await m.getAccessToken()}` }, ee = `${(f = m.env) == null ? void 0 : f.API_BASE_URL}/editor-runtime/
|
|
175500
|
+
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
175501
|
let J = {};
|
|
175497
175502
|
return J.addChart = {
|
|
175498
175503
|
chart: typeof q == "string" && q.trim().startsWith("{") ? JSON.parse(q) : q
|
|
@@ -175602,7 +175607,7 @@ class CYi extends _e {
|
|
|
175602
175607
|
throw new Error(
|
|
175603
175608
|
`${E}The ${I(K, "rule", "rule")} input is missing.`
|
|
175604
175609
|
);
|
|
175605
|
-
const W = { Authorization: `Bearer ${await m.getAccessToken()}` }, ee = `${(f = m.env) == null ? void 0 : f.API_BASE_URL}/editor-runtime/
|
|
175610
|
+
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
175611
|
let J = {};
|
|
175607
175612
|
return J.addConditionalFormatRule = {
|
|
175608
175613
|
rule: typeof q == "string" && q.trim().startsWith("{") ? JSON.parse(q) : q
|
|
@@ -175712,7 +175717,7 @@ class DYi extends _e {
|
|
|
175712
175717
|
throw new Error(
|
|
175713
175718
|
`${E}The ${I(K, "protectedRange", "protectedRange")} input is missing.`
|
|
175714
175719
|
);
|
|
175715
|
-
const W = { Authorization: `Bearer ${await m.getAccessToken()}` }, ee = `${(f = m.env) == null ? void 0 : f.API_BASE_URL}/editor-runtime/
|
|
175720
|
+
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
175721
|
let J = {};
|
|
175717
175722
|
return J.addProtectedRange = {
|
|
175718
175723
|
protectedRange: typeof q == "string" && q.trim().startsWith("{") ? JSON.parse(q) : q
|
|
@@ -175832,7 +175837,7 @@ class OYi extends _e {
|
|
|
175832
175837
|
throw new Error(
|
|
175833
175838
|
`${I}The ${A(W, "chart", "chart")} input is missing.`
|
|
175834
175839
|
);
|
|
175835
|
-
const J = { Authorization: `Bearer ${await T.getAccessToken()}` }, Z = `${(y = T.env) == null ? void 0 : y.API_BASE_URL}/editor-runtime/
|
|
175840
|
+
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
175841
|
let ne = {};
|
|
175837
175842
|
return ne.updateChartSpec = {
|
|
175838
175843
|
chartId: typeof H == "string" && H.trim().startsWith("{") ? JSON.parse(H) : H,
|
|
@@ -175953,7 +175958,7 @@ class xYi extends _e {
|
|
|
175953
175958
|
throw new Error(
|
|
175954
175959
|
`${I}The ${A(W, "pivotTable", "pivotTable")} input is missing.`
|
|
175955
175960
|
);
|
|
175956
|
-
const J = { Authorization: `Bearer ${await T.getAccessToken()}` }, Z = `${(y = T.env) == null ? void 0 : y.API_BASE_URL}/editor-runtime/
|
|
175961
|
+
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
175962
|
let ne = {
|
|
175958
175963
|
updateCells: {
|
|
175959
175964
|
start: typeof H == "string" && H.trim().startsWith("{") ? JSON.parse(H) : H,
|
|
@@ -176085,7 +176090,7 @@ class PYi extends _e {
|
|
|
176085
176090
|
throw new Error(
|
|
176086
176091
|
`${I}The ${A(W, "inheritFromBefore", "inheritFromBefore")} input is missing.`
|
|
176087
176092
|
);
|
|
176088
|
-
const J = { Authorization: `Bearer ${await T.getAccessToken()}` }, Z = `${(y = T.env) == null ? void 0 : y.API_BASE_URL}/editor-runtime/
|
|
176093
|
+
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
176094
|
let ne = {};
|
|
176090
176095
|
return ne.insertDimension = {
|
|
176091
176096
|
range: cC(H, {
|
|
@@ -176208,7 +176213,7 @@ class _Yi extends _e {
|
|
|
176208
176213
|
throw new Error(
|
|
176209
176214
|
`${I}The ${A(W, "destinationIndex", "destinationIndex")} input is missing.`
|
|
176210
176215
|
);
|
|
176211
|
-
const J = { Authorization: `Bearer ${await T.getAccessToken()}` }, Z = `${(y = T.env) == null ? void 0 : y.API_BASE_URL}/editor-runtime/
|
|
176216
|
+
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
176217
|
let ne = {};
|
|
176213
176218
|
return ne.moveDimension = {
|
|
176214
176219
|
source: typeof H == "string" && H.trim().startsWith("{") ? JSON.parse(H) : H,
|
|
@@ -176329,7 +176334,7 @@ class VYi extends _e {
|
|
|
176329
176334
|
throw new Error(
|
|
176330
176335
|
`${I}The ${A(W, "rule", "rule")} input is missing.`
|
|
176331
176336
|
);
|
|
176332
|
-
const J = { Authorization: `Bearer ${await T.getAccessToken()}` }, Z = `${(y = T.env) == null ? void 0 : y.API_BASE_URL}/editor-runtime/
|
|
176337
|
+
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
176338
|
let ne = {};
|
|
176334
176339
|
return ne.updateConditionalFormatRule = {
|
|
176335
176340
|
index: typeof H == "string" && H.trim().startsWith("{") ? JSON.parse(H) : H,
|
|
@@ -176450,7 +176455,7 @@ class NYi extends _e {
|
|
|
176450
176455
|
throw new Error(
|
|
176451
176456
|
`${I}The ${A(W, "protectedRange", "protectedRange")} input is missing.`
|
|
176452
176457
|
);
|
|
176453
|
-
const J = { Authorization: `Bearer ${await T.getAccessToken()}` }, Z = `${(y = T.env) == null ? void 0 : y.API_BASE_URL}/editor-runtime/
|
|
176458
|
+
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
176459
|
let ne = {};
|
|
176455
176460
|
return ne.updateProtectedRange = {
|
|
176456
176461
|
protectedRangeId: typeof H == "string" && H.trim().startsWith("{") ? JSON.parse(H) : H,
|
|
@@ -176571,7 +176576,7 @@ class $Yi extends _e {
|
|
|
176571
176576
|
throw new Error(
|
|
176572
176577
|
`${I}The ${A(W, "range", "range")} input is missing.`
|
|
176573
176578
|
);
|
|
176574
|
-
const J = { Authorization: `Bearer ${await T.getAccessToken()}` }, Z = `${(y = T.env) == null ? void 0 : y.API_BASE_URL}/editor-runtime/
|
|
176579
|
+
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
176580
|
let ne = {};
|
|
176576
176581
|
return ne.addNamedRange = {
|
|
176577
176582
|
name: typeof H == "string" && H.trim().startsWith("{") ? JSON.parse(H) : H,
|
|
@@ -176694,7 +176699,7 @@ class LYi extends _e {
|
|
|
176694
176699
|
throw new Error(
|
|
176695
176700
|
`${I}The ${A(W, "note", "note")} input is missing.`
|
|
176696
176701
|
);
|
|
176697
|
-
const J = { Authorization: `Bearer ${await T.getAccessToken()}` }, Z = `${(y = T.env) == null ? void 0 : y.API_BASE_URL}/editor-runtime/
|
|
176702
|
+
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
176703
|
let ne = {
|
|
176699
176704
|
repeatCell: {
|
|
176700
176705
|
range: gc(H, {
|
|
@@ -176822,7 +176827,7 @@ class GYi extends _e {
|
|
|
176822
176827
|
throw new Error(
|
|
176823
176828
|
`${I}The ${A(W, "index", "index")} input is missing.`
|
|
176824
176829
|
);
|
|
176825
|
-
const J = { Authorization: `Bearer ${await T.getAccessToken()}` }, Z = `${(y = T.env) == null ? void 0 : y.API_BASE_URL}/editor-runtime/
|
|
176830
|
+
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
176831
|
let ne = {};
|
|
176827
176832
|
return ne.deleteConditionalFormatRule = {
|
|
176828
176833
|
sheetId: typeof H == "string" && H.trim().startsWith("{") ? JSON.parse(H) : H,
|
|
@@ -176943,7 +176948,7 @@ class BYi extends _e {
|
|
|
176943
176948
|
throw new Error(
|
|
176944
176949
|
`${I}The ${A(W, "Pixel size", "pixelSize")} input is missing or invalid. Expected a non-negative number in pixels.`
|
|
176945
176950
|
);
|
|
176946
|
-
const J = { Authorization: `Bearer ${await T.getAccessToken()}` }, Z = `${(y = T.env) == null ? void 0 : y.API_BASE_URL}/editor-runtime/
|
|
176951
|
+
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
176952
|
await Eu(H, "Id", async () => {
|
|
176948
176953
|
var ue;
|
|
176949
176954
|
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.7159",
|
|
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",
|