@supernova-studio/client 0.59.14 → 0.59.15

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.mjs CHANGED
@@ -8103,6 +8103,43 @@ var DesignSystemSourcesEndpoint = class {
8103
8103
  }
8104
8104
  };
8105
8105
 
8106
+ // src/api/endpoints/design-system/redirects.ts
8107
+ var DesignSystemPageRedirectsEndpoint = class {
8108
+ constructor(requestExecutor) {
8109
+ this.requestExecutor = requestExecutor;
8110
+ }
8111
+ create(dsId, body) {
8112
+ return this.requestExecutor.json(`/design-systems/${dsId}/documentation/redirects`, DTOPageRedirectResponse, {
8113
+ body,
8114
+ method: "POST"
8115
+ });
8116
+ }
8117
+ list(dsId) {
8118
+ return this.requestExecutor.json(`/design-systems/${dsId}/documentation/redirects`, DTOPageRedirectListResponse, {
8119
+ method: "GET"
8120
+ });
8121
+ }
8122
+ update(dsId, redirectId, body) {
8123
+ return this.requestExecutor.json(
8124
+ `/design-systems/${dsId}/documentation/redirects/${redirectId}`,
8125
+ DTOPageRedirectResponse,
8126
+ {
8127
+ body,
8128
+ method: "PUT"
8129
+ }
8130
+ );
8131
+ }
8132
+ delete(dsId, redirectId) {
8133
+ return this.requestExecutor.json(
8134
+ `/design-systems/${dsId}/documentation/redirects/${redirectId}`,
8135
+ DTOPageRedirectDeleteResponse,
8136
+ {
8137
+ method: "DELETE"
8138
+ }
8139
+ );
8140
+ }
8141
+ };
8142
+
8106
8143
  // src/api/endpoints/design-system/design-systems.ts
8107
8144
  var DesignSystemsEndpoint = class {
8108
8145
  constructor(requestExecutor) {
@@ -8112,11 +8149,13 @@ var DesignSystemsEndpoint = class {
8112
8149
  __publicField(this, "bff");
8113
8150
  __publicField(this, "sources");
8114
8151
  __publicField(this, "contacts");
8152
+ __publicField(this, "redirects");
8115
8153
  this.members = new DesignSystemMembersEndpoint(requestExecutor);
8116
8154
  this.versions = new DesignSystemVersionsEndpoint(requestExecutor);
8117
8155
  this.bff = new DesignSystemBffEndpoint(requestExecutor);
8118
8156
  this.sources = new DesignSystemSourcesEndpoint(requestExecutor);
8119
8157
  this.contacts = new DesignSystemContactsEndpoint(requestExecutor);
8158
+ this.redirects = new DesignSystemPageRedirectsEndpoint(requestExecutor);
8120
8159
  }
8121
8160
  create(body) {
8122
8161
  return this.requestExecutor.json("/design-systems", DTODesignSystemResponse, { method: "POST", body });
@@ -13651,6 +13690,7 @@ export {
13651
13690
  DesignSystemComponentEndpoint,
13652
13691
  DesignSystemContactsEndpoint,
13653
13692
  DesignSystemMembersEndpoint,
13693
+ DesignSystemPageRedirectsEndpoint,
13654
13694
  DesignSystemSourcesEndpoint,
13655
13695
  DesignSystemVersionsEndpoint,
13656
13696
  DesignSystemsEndpoint,