@supernova-studio/model 1.42.3 → 1.42.5

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
@@ -188660,6 +188660,13 @@ declare const PageScreenshotInput: z.ZodObject<{
188660
188660
  width: number;
188661
188661
  height: number;
188662
188662
  }>>;
188663
+ authorization: z.ZodOptional<z.ZodObject<{
188664
+ supernovaToken: z.ZodOptional<z.ZodString>;
188665
+ }, "strip", z.ZodTypeAny, {
188666
+ supernovaToken?: string | undefined;
188667
+ }, {
188668
+ supernovaToken?: string | undefined;
188669
+ }>>;
188663
188670
  }, "strip", z.ZodTypeAny, {
188664
188671
  url: string;
188665
188672
  elementSelector: string;
@@ -188668,6 +188675,9 @@ declare const PageScreenshotInput: z.ZodObject<{
188668
188675
  width: number;
188669
188676
  height: number;
188670
188677
  } | undefined;
188678
+ authorization?: {
188679
+ supernovaToken?: string | undefined;
188680
+ } | undefined;
188671
188681
  }, {
188672
188682
  url: string;
188673
188683
  elementSelector: string;
@@ -188676,6 +188686,9 @@ declare const PageScreenshotInput: z.ZodObject<{
188676
188686
  width: number;
188677
188687
  height: number;
188678
188688
  } | undefined;
188689
+ authorization?: {
188690
+ supernovaToken?: string | undefined;
188691
+ } | undefined;
188679
188692
  }>;
188680
188693
  type PageScreenshotInput = z.infer<typeof PageScreenshotInput>;
188681
188694
 
package/dist/index.d.ts CHANGED
@@ -188660,6 +188660,13 @@ declare const PageScreenshotInput: z.ZodObject<{
188660
188660
  width: number;
188661
188661
  height: number;
188662
188662
  }>>;
188663
+ authorization: z.ZodOptional<z.ZodObject<{
188664
+ supernovaToken: z.ZodOptional<z.ZodString>;
188665
+ }, "strip", z.ZodTypeAny, {
188666
+ supernovaToken?: string | undefined;
188667
+ }, {
188668
+ supernovaToken?: string | undefined;
188669
+ }>>;
188663
188670
  }, "strip", z.ZodTypeAny, {
188664
188671
  url: string;
188665
188672
  elementSelector: string;
@@ -188668,6 +188675,9 @@ declare const PageScreenshotInput: z.ZodObject<{
188668
188675
  width: number;
188669
188676
  height: number;
188670
188677
  } | undefined;
188678
+ authorization?: {
188679
+ supernovaToken?: string | undefined;
188680
+ } | undefined;
188671
188681
  }, {
188672
188682
  url: string;
188673
188683
  elementSelector: string;
@@ -188676,6 +188686,9 @@ declare const PageScreenshotInput: z.ZodObject<{
188676
188686
  width: number;
188677
188687
  height: number;
188678
188688
  } | undefined;
188689
+ authorization?: {
188690
+ supernovaToken?: string | undefined;
188691
+ } | undefined;
188679
188692
  }>;
188680
188693
  type PageScreenshotInput = z.infer<typeof PageScreenshotInput>;
188681
188694
 
package/dist/index.js CHANGED
@@ -6665,6 +6665,9 @@ var PageScreenshotInput = _zod.z.object({
6665
6665
  imageSize: _zod.z.object({
6666
6666
  width: _zod.z.number().positive(),
6667
6667
  height: _zod.z.number().positive()
6668
+ }).optional(),
6669
+ authorization: _zod.z.object({
6670
+ supernovaToken: _zod.z.string().optional()
6668
6671
  }).optional()
6669
6672
  });
6670
6673
  var PageScreenshotOutput = _zod.z.discriminatedUnion("success", [