@code.store/arcxp-sdk-ts 5.1.7 → 5.1.8

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.js CHANGED
@@ -224,6 +224,10 @@ class ArcDraft extends ArcAbstractAPI {
224
224
  const { data } = await this.client.get(`/redirect/${website}/${websiteUrl}`);
225
225
  return data;
226
226
  }
227
+ async deleteRedirect(website, websiteUrl) {
228
+ const { data } = await this.client.delete(`/redirect/${website}/${websiteUrl}`);
229
+ return data;
230
+ }
227
231
  async updateDraftRevision(id, payload, type = 'story') {
228
232
  const { data } = await this.client.put(`/${type}/${id}/revision/draft`, payload);
229
233
  return data;