@supernova-studio/client 0.59.13 → 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
@@ -3937,7 +3937,17 @@ var UserNotificationSettings = z131.object({
3937
3937
  var UserOnboardingDepartment = z132.enum(["Design", "Engineering", "Product", "Brand", "Other"]);
3938
3938
  var UserOnboardingJobLevel = z132.enum(["Executive", "Manager", "IndividualContributor", "Other"]);
3939
3939
  var UserTheme = z132.object({
3940
- preset: z132.enum(["Custom", "Default", "HighContrast", "DefaultDark", "HighContrastDark", "SpaceBlue", "DarkGrey"]).optional(),
3940
+ preset: z132.enum([
3941
+ "Custom",
3942
+ "Default",
3943
+ "HighContrast",
3944
+ "DefaultDark",
3945
+ "HighContrastDark",
3946
+ "SpaceBlue",
3947
+ "DarkGrey",
3948
+ "SystemPreference",
3949
+ "Sepia"
3950
+ ]).optional(),
3941
3951
  backgroundColor: z132.string().optional(),
3942
3952
  accentColor: z132.string().optional(),
3943
3953
  contrast: z132.number().min(16).max(100).optional(),
@@ -8093,6 +8103,43 @@ var DesignSystemSourcesEndpoint = class {
8093
8103
  }
8094
8104
  };
8095
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
+
8096
8143
  // src/api/endpoints/design-system/design-systems.ts
8097
8144
  var DesignSystemsEndpoint = class {
8098
8145
  constructor(requestExecutor) {
@@ -8102,11 +8149,13 @@ var DesignSystemsEndpoint = class {
8102
8149
  __publicField(this, "bff");
8103
8150
  __publicField(this, "sources");
8104
8151
  __publicField(this, "contacts");
8152
+ __publicField(this, "redirects");
8105
8153
  this.members = new DesignSystemMembersEndpoint(requestExecutor);
8106
8154
  this.versions = new DesignSystemVersionsEndpoint(requestExecutor);
8107
8155
  this.bff = new DesignSystemBffEndpoint(requestExecutor);
8108
8156
  this.sources = new DesignSystemSourcesEndpoint(requestExecutor);
8109
8157
  this.contacts = new DesignSystemContactsEndpoint(requestExecutor);
8158
+ this.redirects = new DesignSystemPageRedirectsEndpoint(requestExecutor);
8110
8159
  }
8111
8160
  create(body) {
8112
8161
  return this.requestExecutor.json("/design-systems", DTODesignSystemResponse, { method: "POST", body });
@@ -13641,6 +13690,7 @@ export {
13641
13690
  DesignSystemComponentEndpoint,
13642
13691
  DesignSystemContactsEndpoint,
13643
13692
  DesignSystemMembersEndpoint,
13693
+ DesignSystemPageRedirectsEndpoint,
13644
13694
  DesignSystemSourcesEndpoint,
13645
13695
  DesignSystemVersionsEndpoint,
13646
13696
  DesignSystemsEndpoint,