@supernova-studio/model 1.42.8 → 1.42.9

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
@@ -188578,12 +188578,15 @@ declare const PageScreenshotInput: z.ZodObject<{
188578
188578
  width: number;
188579
188579
  height: number;
188580
188580
  }>>;
188581
- authorization: z.ZodOptional<z.ZodObject<{
188582
- supernovaToken: z.ZodOptional<z.ZodString>;
188581
+ supernovaAuth: z.ZodOptional<z.ZodObject<{
188582
+ accessToken: z.ZodString;
188583
+ authPageUrl: z.ZodString;
188583
188584
  }, "strip", z.ZodTypeAny, {
188584
- supernovaToken?: string | undefined;
188585
+ accessToken: string;
188586
+ authPageUrl: string;
188585
188587
  }, {
188586
- supernovaToken?: string | undefined;
188588
+ accessToken: string;
188589
+ authPageUrl: string;
188587
188590
  }>>;
188588
188591
  }, "strip", z.ZodTypeAny, {
188589
188592
  url: string;
@@ -188593,8 +188596,9 @@ declare const PageScreenshotInput: z.ZodObject<{
188593
188596
  width: number;
188594
188597
  height: number;
188595
188598
  } | undefined;
188596
- authorization?: {
188597
- supernovaToken?: string | undefined;
188599
+ supernovaAuth?: {
188600
+ accessToken: string;
188601
+ authPageUrl: string;
188598
188602
  } | undefined;
188599
188603
  }, {
188600
188604
  url: string;
@@ -188604,8 +188608,9 @@ declare const PageScreenshotInput: z.ZodObject<{
188604
188608
  width: number;
188605
188609
  height: number;
188606
188610
  } | undefined;
188607
- authorization?: {
188608
- supernovaToken?: string | undefined;
188611
+ supernovaAuth?: {
188612
+ accessToken: string;
188613
+ authPageUrl: string;
188609
188614
  } | undefined;
188610
188615
  }>;
188611
188616
  type PageScreenshotInput = z.infer<typeof PageScreenshotInput>;
package/dist/index.d.ts CHANGED
@@ -188578,12 +188578,15 @@ declare const PageScreenshotInput: z.ZodObject<{
188578
188578
  width: number;
188579
188579
  height: number;
188580
188580
  }>>;
188581
- authorization: z.ZodOptional<z.ZodObject<{
188582
- supernovaToken: z.ZodOptional<z.ZodString>;
188581
+ supernovaAuth: z.ZodOptional<z.ZodObject<{
188582
+ accessToken: z.ZodString;
188583
+ authPageUrl: z.ZodString;
188583
188584
  }, "strip", z.ZodTypeAny, {
188584
- supernovaToken?: string | undefined;
188585
+ accessToken: string;
188586
+ authPageUrl: string;
188585
188587
  }, {
188586
- supernovaToken?: string | undefined;
188588
+ accessToken: string;
188589
+ authPageUrl: string;
188587
188590
  }>>;
188588
188591
  }, "strip", z.ZodTypeAny, {
188589
188592
  url: string;
@@ -188593,8 +188596,9 @@ declare const PageScreenshotInput: z.ZodObject<{
188593
188596
  width: number;
188594
188597
  height: number;
188595
188598
  } | undefined;
188596
- authorization?: {
188597
- supernovaToken?: string | undefined;
188599
+ supernovaAuth?: {
188600
+ accessToken: string;
188601
+ authPageUrl: string;
188598
188602
  } | undefined;
188599
188603
  }, {
188600
188604
  url: string;
@@ -188604,8 +188608,9 @@ declare const PageScreenshotInput: z.ZodObject<{
188604
188608
  width: number;
188605
188609
  height: number;
188606
188610
  } | undefined;
188607
- authorization?: {
188608
- supernovaToken?: string | undefined;
188611
+ supernovaAuth?: {
188612
+ accessToken: string;
188613
+ authPageUrl: string;
188609
188614
  } | undefined;
188610
188615
  }>;
188611
188616
  type PageScreenshotInput = z.infer<typeof PageScreenshotInput>;
package/dist/index.js CHANGED
@@ -6637,8 +6637,9 @@ var PageScreenshotInput = _zod.z.object({
6637
6637
  width: _zod.z.number().positive(),
6638
6638
  height: _zod.z.number().positive()
6639
6639
  }).optional(),
6640
- authorization: _zod.z.object({
6641
- supernovaToken: _zod.z.string().optional()
6640
+ supernovaAuth: _zod.z.object({
6641
+ accessToken: _zod.z.string(),
6642
+ authPageUrl: _zod.z.string()
6642
6643
  }).optional()
6643
6644
  });
6644
6645
  var PageScreenshotOutput = _zod.z.discriminatedUnion("success", [