@supernova-studio/client 1.52.3 → 1.53.0

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
@@ -7693,7 +7693,11 @@ var DTODesignSystemUpdateInput = DesignSystem.partial().omit({
7693
7693
  docViewUrl: true,
7694
7694
  accessMode: true
7695
7695
  }).extend({
7696
- meta: ObjectMeta.partial().optional()
7696
+ meta: ObjectMeta.partial().optional(),
7697
+ /**
7698
+ * @deprecated Use the `designSystems.updateSwitcher` endpoint instead
7699
+ */
7700
+ designSystemSwitcher: DesignSystemSwitcher.optional()
7697
7701
  });
7698
7702
  var DTODesignSystemUpdateAccessModeInput = z255.object({
7699
7703
  accessMode: DesignSystemAccessMode,
@@ -7702,6 +7706,9 @@ var DTODesignSystemUpdateAccessModeInput = z255.object({
7702
7706
  inviteIds: z255.string().array()
7703
7707
  }).optional()
7704
7708
  });
7709
+ var DTODesignSystemUpdateSwitcherInput = z255.object({
7710
+ designSystemSwitcher: DesignSystemSwitcher
7711
+ });
7705
7712
 
7706
7713
  // src/api/payloads/design-systems/version.ts
7707
7714
  import { z as z256 } from "zod";
@@ -10509,7 +10516,8 @@ var DTOThreadMessageFinalizeInput = z325.object({
10509
10516
  });
10510
10517
  var DTOThreadMessageRetryInput = z325.object({
10511
10518
  agentMessageId: Id,
10512
- runtimeError: z325.string().optional()
10519
+ runtimeError: z325.string().optional(),
10520
+ message: DTOThreadMessage.pick({ id: true, body: true }).optional()
10513
10521
  });
10514
10522
  var DTOThreadMessageUpdateInput = DTOThreadMessage.pick({
10515
10523
  id: true
@@ -12342,6 +12350,12 @@ var DesignSystemsEndpoint = class {
12342
12350
  body
12343
12351
  });
12344
12352
  }
12353
+ updateSwitcher(dsId, body) {
12354
+ return this.requestExecutor.json(`/design-systems/${dsId}/switcher`, DTODesignSystemResponse, {
12355
+ method: "PUT",
12356
+ body
12357
+ });
12358
+ }
12345
12359
  updateAccessMode(dsId, body) {
12346
12360
  return this.requestExecutor.json(`/design-systems/${dsId}/access-mode`, DTODesignSystemResponse, {
12347
12361
  method: "PUT",
@@ -19996,6 +20010,7 @@ export {
19996
20010
  DTODesignSystemRole,
19997
20011
  DTODesignSystemUpdateAccessModeInput,
19998
20012
  DTODesignSystemUpdateInput,
20013
+ DTODesignSystemUpdateSwitcherInput,
19999
20014
  DTODesignSystemVersion,
20000
20015
  DTODesignSystemVersionCreationResponse,
20001
20016
  DTODesignSystemVersionGetResponse,