@supernova-studio/client 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.js CHANGED
@@ -5809,6 +5809,9 @@ var PageScreenshotInput = _zod.z.object({
5809
5809
  imageSize: _zod.z.object({
5810
5810
  width: _zod.z.number().positive(),
5811
5811
  height: _zod.z.number().positive()
5812
+ }).optional(),
5813
+ authorization: _zod.z.object({
5814
+ supernovaToken: _zod.z.string().optional()
5812
5815
  }).optional()
5813
5816
  });
5814
5817
  var PageScreenshotOutput = _zod.z.discriminatedUnion("success", [
@@ -7384,7 +7387,7 @@ var DTOCreditBalance = _zod2.default.object({
7384
7387
  resetAt: _zod2.default.string().optional()
7385
7388
  })
7386
7389
  }).optional()
7387
- }).optional();
7390
+ });
7388
7391
  var DTOCreditsPrices = _zod2.default.object({
7389
7392
  creditsToCentsConversionRate: _zod2.default.number(),
7390
7393
  purchaseTopUpCreditsToCentsConversionRate: _zod2.default.number()
@@ -7429,7 +7432,7 @@ var DTOSubscription = _zod2.default.object({
7429
7432
  });
7430
7433
  var DTOSubscriptionResponse = _zod2.default.object({
7431
7434
  subscription: DTOSubscription,
7432
- creditBalance: DTOCreditBalance,
7435
+ creditBalance: DTOCreditBalance.optional(),
7433
7436
  creditsPrices: DTOCreditsPrices
7434
7437
  });
7435
7438
 
@@ -9844,7 +9847,7 @@ var DTOForgeProjectFeatureCreateInput = _zod2.default.object({
9844
9847
  description: _zod2.default.string(),
9845
9848
  sectionId: Id.optional(),
9846
9849
  afterFeatureId: Id.nullable().optional(),
9847
- initialMessage: DTOFeatureMessageCreateInput
9850
+ initialMessage: DTOThreadMessageCreateInput
9848
9851
  });
9849
9852
  var DTOForgeProjectFeatureUpdateInput = _zod2.default.object({
9850
9853
  id: Id,