@supernova-studio/model 1.44.3 → 1.44.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
@@ -203,7 +203,7 @@ var PostStripePortalSessionOutputSchema = _zod.z.object({
203
203
 
204
204
  // src/billing/price.ts
205
205
 
206
- var BillingIntervalSchema = _zod.z.enum(["daily", "monthly", "weekly", "yearly"]);
206
+ var BillingIntervalSchema = _zod.z.enum(["daily", "monthly", "yearly"]);
207
207
  var PriceSchema = _zod.z.object({
208
208
  stripePriceId: _zod.z.string(),
209
209
  stripeProductId: _zod.z.string(),
@@ -252,10 +252,11 @@ var Subscription = _zod.z.object({
252
252
  seatLimit: _zod.z.number(),
253
253
  monthlyCreditGrantAnchor: nullishToOptional(_zod.z.string()),
254
254
  monthlyCreditGrantAmount: nullishToOptional(_zod.z.number()),
255
- builderSeatLimit: _zod.z.number().optional(),
256
- fullSeatLimit: _zod.z.number().optional(),
257
- builderSeats: _zod.z.number().optional(),
258
- fullSeats: _zod.z.number().optional(),
255
+ builderSeatLimit: nullishToOptional(_zod.z.number()),
256
+ fullSeatLimit: nullishToOptional(_zod.z.number()),
257
+ additionalCredits: nullishToOptional(_zod.z.number()),
258
+ builderSeats: nullishToOptional(_zod.z.number()),
259
+ fullSeats: nullishToOptional(_zod.z.number()),
259
260
  status: nullishToOptional(InternalStatusSchema),
260
261
  subscriptionStatus: nullishToOptional(StripeSubscriptionStatusSchema),
261
262
  internalStatus: nullishToOptional(InternalStatusSchema),
@@ -269,6 +270,7 @@ var Subscription = _zod.z.object({
269
270
  cancelAt: nullishToOptional(_zod.z.string()),
270
271
  fullSeatPriceId: nullishToOptional(_zod.z.string()),
271
272
  builderSeatPriceId: nullishToOptional(_zod.z.string()),
273
+ additionalCreditsPriceId: nullishToOptional(_zod.z.string()),
272
274
  subscriptionStatusUpdatedAt: nullishToOptional(_zod.z.string())
273
275
  });
274
276