@supernova-studio/client 1.40.10 → 1.41.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.d.mts CHANGED
@@ -68860,7 +68860,6 @@ type DTOFeatureIterationTag = z__default.infer<typeof DTOFeatureIterationTag>;
68860
68860
  declare const DTOFeatureSandbox: z__default.ZodObject<{
68861
68861
  id: z__default.ZodString;
68862
68862
  url: z__default.ZodString;
68863
- staticPreviewUrl: z__default.ZodOptional<z__default.ZodString>;
68864
68863
  parentMessageId: z__default.ZodOptional<z__default.ZodString>;
68865
68864
  currentIterationId: z__default.ZodString;
68866
68865
  expiresAt: z__default.ZodOptional<z__default.ZodString>;
@@ -68870,14 +68869,12 @@ declare const DTOFeatureSandbox: z__default.ZodObject<{
68870
68869
  currentIterationId: string;
68871
68870
  expiresAt?: string | undefined;
68872
68871
  parentMessageId?: string | undefined;
68873
- staticPreviewUrl?: string | undefined;
68874
68872
  }, {
68875
68873
  id: string;
68876
68874
  url: string;
68877
68875
  currentIterationId: string;
68878
68876
  expiresAt?: string | undefined;
68879
68877
  parentMessageId?: string | undefined;
68880
- staticPreviewUrl?: string | undefined;
68881
68878
  }>;
68882
68879
  type DTOFeatureSandbox = z__default.infer<typeof DTOFeatureSandbox>;
68883
68880
  declare const DTOFeatureMessageAttachments: z__default.ZodObject<{
package/dist/index.d.ts CHANGED
@@ -68860,7 +68860,6 @@ type DTOFeatureIterationTag = z__default.infer<typeof DTOFeatureIterationTag>;
68860
68860
  declare const DTOFeatureSandbox: z__default.ZodObject<{
68861
68861
  id: z__default.ZodString;
68862
68862
  url: z__default.ZodString;
68863
- staticPreviewUrl: z__default.ZodOptional<z__default.ZodString>;
68864
68863
  parentMessageId: z__default.ZodOptional<z__default.ZodString>;
68865
68864
  currentIterationId: z__default.ZodString;
68866
68865
  expiresAt: z__default.ZodOptional<z__default.ZodString>;
@@ -68870,14 +68869,12 @@ declare const DTOFeatureSandbox: z__default.ZodObject<{
68870
68869
  currentIterationId: string;
68871
68870
  expiresAt?: string | undefined;
68872
68871
  parentMessageId?: string | undefined;
68873
- staticPreviewUrl?: string | undefined;
68874
68872
  }, {
68875
68873
  id: string;
68876
68874
  url: string;
68877
68875
  currentIterationId: string;
68878
68876
  expiresAt?: string | undefined;
68879
68877
  parentMessageId?: string | undefined;
68880
- staticPreviewUrl?: string | undefined;
68881
68878
  }>;
68882
68879
  type DTOFeatureSandbox = z__default.infer<typeof DTOFeatureSandbox>;
68883
68880
  declare const DTOFeatureMessageAttachments: z__default.ZodObject<{
package/dist/index.js CHANGED
@@ -218,6 +218,7 @@ var _ipcidr = require('ip-cidr'); var _ipcidr2 = _interopRequireDefault(_ipcidr)
218
218
 
219
219
 
220
220
 
221
+
221
222
 
222
223
 
223
224
  var __defProp2 = Object.defineProperty;
@@ -5801,6 +5802,24 @@ var NpmPackage = AnyRecord.and(
5801
5802
  var NpmProxyTokenPayload = _zod.z.object({
5802
5803
  npmProxyRegistryConfigId: _zod.z.string()
5803
5804
  });
5805
+ var PageScreenshotInput = _zod.z.object({
5806
+ url: _zod.z.string().url(),
5807
+ elementSelector: _zod.z.string(),
5808
+ uploadUrl: _zod.z.string().url(),
5809
+ imageSize: _zod.z.object({
5810
+ width: _zod.z.number().positive(),
5811
+ height: _zod.z.number().positive()
5812
+ }).optional()
5813
+ });
5814
+ var PageScreenshotOutput = _zod.z.discriminatedUnion("success", [
5815
+ _zod.z.object({
5816
+ success: _zod.z.literal(true)
5817
+ }),
5818
+ _zod.z.object({
5819
+ success: _zod.z.literal(false),
5820
+ error: _zod.z.string()
5821
+ })
5822
+ ]);
5804
5823
  var PortalSettingsTheme = UserTheme;
5805
5824
  var PortalSettingsSidebarLink = _zod.z.object({
5806
5825
  name: _zod.z.string(),
@@ -9334,7 +9353,6 @@ var DTOFeatureIterationTag = _zod2.default.object({
9334
9353
  var DTOFeatureSandbox = _zod2.default.object({
9335
9354
  id: _zod2.default.string(),
9336
9355
  url: _zod2.default.string(),
9337
- staticPreviewUrl: _zod2.default.string().optional(),
9338
9356
  parentMessageId: Id.optional(),
9339
9357
  currentIterationId: Id,
9340
9358
  expiresAt: _zod2.default.string().optional()