@yoast/ai-insights-client 1.4.28 → 1.4.29

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.
@@ -8012,9 +8012,9 @@ var C6 = function(t, n, r) {
8012
8012
  }, Ev = function(t, n) {
8013
8013
  var r = _6(t);
8014
8014
  return Mr(r, n);
8015
- }, k6 = function(t) {
8015
+ }, k6 = function(t, n) {
8016
8016
  return Tt({
8017
- url: "/brandGroups/".concat(t),
8017
+ url: "/brands/".concat(t, "/associated-brand-groups/").concat(n),
8018
8018
  method: "DELETE"
8019
8019
  });
8020
8020
  }, O6 = function(t) {
@@ -8027,8 +8027,8 @@ var C6 = function(t, n, r) {
8027
8027
  mutationKey: n
8028
8028
  }
8029
8029
  }, i = r.mutation, s = function(a) {
8030
- var l = a != null ? a : {}, c = l.brandGroupId;
8031
- return k6(c);
8030
+ var l = a != null ? a : {}, c = l.brandId, u = l.brandGroupId;
8031
+ return k6(c, u);
8032
8032
  };
8033
8033
  return Ce({
8034
8034
  mutationFn: s
@@ -30801,6 +30801,7 @@ var QL = function(t) {
30801
30801
  return S(!1);
30802
30802
  }, M = function() {
30803
30803
  typeof (i == null ? void 0 : i.id) == "number" && O({
30804
+ brandId: a,
30804
30805
  brandGroupId: i.id
30805
30806
  });
30806
30807
  };
@@ -31991,13 +31992,13 @@ var yp = al(dp || (dp = Hh(["xl:yst-w-1/3"]))), mp = al(fp || (fp = Hh(["xl:yst-
31991
31992
  " ",
31992
31993
  /* @__PURE__ */ D("b", { children: [
31993
31994
  (t = b == null ? void 0 : b.activeSubscriptions) !== null && t !== void 0 ? t : "—",
31994
- " active subscriptions"
31995
+ " subscriptions"
31995
31996
  ] }),
31996
31997
  ". This gives you up to",
31997
31998
  " ",
31998
31999
  /* @__PURE__ */ D("b", { children: [
31999
32000
  (n = b == null ? void 0 : b.maxNumberOfActiveBrands) !== null && n !== void 0 ? n : "—",
32000
- " active brands"
32001
+ " active brand(s)"
32001
32002
  ] }),
32002
32003
  ", for which we’ll automatically run a weekly analysis."
32003
32004
  ] }),
@@ -33203,9 +33204,13 @@ var CR = function(t) {
33203
33204
  ] }, "result-item-".concat(k));
33204
33205
  }) })
33205
33206
  ] }),
33206
- /* @__PURE__ */ p("div", { className: "yst-mb-[-2rem] yst-ml-[-2rem] yst-mr-[-2rem] yst-mt-8 yst-flex yst-justify-end yst-gap-4 yst-rounded-bl-lg yst-rounded-br-lg yst-border-t yst-border-slate-200 yst-bg-slate-50 yst-px-8 yst-py-6", children: /* @__PURE__ */ p(Ue, { as: hi, to: y, onClick: function() {
33207
- return s.clear();
33208
- }, children: b === 100 ? "Continue →" : "Skip for now" }) })
33207
+ /* @__PURE__ */ p("div", { className: "yst-mb-[-2rem] yst-ml-[-2rem] yst-mr-[-2rem] yst-mt-8 yst-flex yst-justify-end yst-gap-4 yst-rounded-bl-lg yst-rounded-br-lg yst-border-t yst-border-slate-200 yst-bg-slate-50 yst-px-8 yst-py-6", children: /* @__PURE__ */ p(Ue, { as: hi, to: y, onClick: function(S) {
33208
+ if (b !== 100) {
33209
+ S.preventDefault();
33210
+ return;
33211
+ }
33212
+ s.clear();
33213
+ }, disabled: b !== 100, children: "Continue →" }) })
33209
33214
  ] });
33210
33215
  };
33211
33216
  const kR = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({