@kong-ui-public/entities-plugins 9.204.0 → 9.204.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.
@@ -82,7 +82,7 @@ export default {
82
82
  edit: "".concat(konnectGlobalBaseApiUrl, "/custom-plugins/{pluginId}"),
83
83
  },
84
84
  cloned: {
85
- create: "".concat(konnectGlobalBaseApiUrl, "/cloned-plugins/{pluginId}"),
85
+ create: "".concat(konnectGlobalBaseApiUrl, "/cloned-plugins"),
86
86
  edit: "".concat(konnectGlobalBaseApiUrl, "/cloned-plugins/{pluginId}"),
87
87
  },
88
88
  },
@@ -92,7 +92,7 @@ export default {
92
92
  edit: "".concat(KMGlobalBaseApiUrl, "/custom-plugins/{pluginId}"),
93
93
  },
94
94
  cloned: {
95
- create: "".concat(KMGlobalBaseApiUrl, "/cloned-plugins/{pluginId}"),
95
+ create: "".concat(KMGlobalBaseApiUrl, "/cloned-plugins"),
96
96
  edit: "".concat(KMGlobalBaseApiUrl, "/cloned-plugins/{pluginId}"),
97
97
  },
98
98
  },
@@ -14561,7 +14561,7 @@ const IO = "/v2/control-planes/{controlPlaneId}/core-entities/v1", Fn = "/v2/con
14561
14561
  edit: `${pi}/custom-plugins/{pluginId}`
14562
14562
  },
14563
14563
  cloned: {
14564
- create: `${pi}/cloned-plugins/{pluginId}`,
14564
+ create: `${pi}/cloned-plugins`,
14565
14565
  edit: `${pi}/cloned-plugins/{pluginId}`
14566
14566
  }
14567
14567
  },
@@ -14571,7 +14571,7 @@ const IO = "/v2/control-planes/{controlPlaneId}/core-entities/v1", Fn = "/v2/con
14571
14571
  edit: `${Ro}/custom-plugins/{pluginId}`
14572
14572
  },
14573
14573
  cloned: {
14574
- create: `${Ro}/cloned-plugins/{pluginId}`,
14574
+ create: `${Ro}/cloned-plugins`,
14575
14575
  edit: `${Ro}/cloned-plugins/{pluginId}`
14576
14576
  }
14577
14577
  }
@@ -28326,7 +28326,8 @@ function oD(e) {
28326
28326
  const v = o(ft.customPlugin[e.app].streamed.edit, y), C = e.app === "konnect" ? "put" : "patch", { data: b } = await t[C](v, _);
28327
28327
  return b;
28328
28328
  }, d = async (y) => {
28329
- const { aliasName: _, priority: v, sourcePlugin: C } = y, b = o(ft.customPlugin[e.app].cloned.create, _), { data: k } = await t.put(b, {
28329
+ const { aliasName: _, priority: v, sourcePlugin: C } = y, b = o(ft.customPlugin[e.app].cloned.create), { data: k } = await t.post(b, {
28330
+ name: _,
28330
28331
  ref: C,
28331
28332
  priority: v
28332
28333
  });