@supernova-studio/client 1.37.4 → 1.37.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
@@ -51,8 +51,8 @@ var _zod = require('zod'); var _zod2 = _interopRequireDefault(_zod);
51
51
 
52
52
 
53
53
 
54
- var _slugify = require('@sindresorhus/slugify'); var _slugify2 = _interopRequireDefault(_slugify);
55
54
 
55
+ var _slugify = require('@sindresorhus/slugify'); var _slugify2 = _interopRequireDefault(_slugify);
56
56
 
57
57
 
58
58
 
@@ -383,6 +383,9 @@ var PostStripePortalSessionOutputSchema = _zod.z.object({
383
383
  id: _zod.z.string(),
384
384
  url: _zod.z.string().nullish()
385
385
  });
386
+ var WorkspaceRoleSchema = _zod.z.enum(["Owner", "Admin", "Creator", "Viewer", "Billing", "Guest", "Contributor"]);
387
+ var WorkspaceRole = WorkspaceRoleSchema.enum;
388
+ var WorkspaceSeatType = _zod.z.enum(["Full", "Builder", "None"]);
386
389
  var BillingIntervalSchema = _zod.z.enum(["daily", "monthly", "weekly", "yearly"]);
387
390
  var PriceSchema = _zod.z.object({
388
391
  stripePriceId: _zod.z.string(),
@@ -399,7 +402,9 @@ var PriceSchema = _zod.z.object({
399
402
  legacyVersion: _zod.z.string().optional(),
400
403
  featuresSet: _zod.z.string().optional(),
401
404
  stripeProductFeatures: _zod.z.array(_zod.z.string()).optional(),
402
- stripeProductAdditionalFeatures: _zod.z.array(_zod.z.string()).optional()
405
+ stripeProductAdditionalFeatures: _zod.z.array(_zod.z.string()).optional(),
406
+ seatType: WorkspaceSeatType.optional(),
407
+ monthlyCreditGrant: _zod.z.number().optional()
403
408
  });
404
409
  var ProductCodeSchema = _zod.z.enum(["free", "team", "company", "enterprise"]);
405
410
  var ProductCode = ProductCodeSchema.enum;
@@ -422,6 +427,8 @@ var Subscription = _zod.z.object({
422
427
  card: nullishToOptional(CardSchema),
423
428
  seats: _zod.z.number(),
424
429
  seatLimit: _zod.z.number(),
430
+ monthlyCreditGrantAnchor: nullishToOptional(_zod.z.string()),
431
+ monthlyCreditGrantAmount: nullishToOptional(_zod.z.number()),
425
432
  builderSeatLimit: _zod.z.number().optional(),
426
433
  fullSeatLimit: _zod.z.number().optional(),
427
434
  builderSeats: _zod.z.number().optional(),
@@ -4399,9 +4406,6 @@ var WorkspaceUntypedData = _zod.z.object({
4399
4406
  createdAt: _zod.z.coerce.date(),
4400
4407
  updatedAt: _zod.z.coerce.date()
4401
4408
  });
4402
- var WorkspaceRoleSchema = _zod.z.enum(["Owner", "Admin", "Creator", "Viewer", "Billing", "Guest", "Contributor"]);
4403
- var WorkspaceRole = WorkspaceRoleSchema.enum;
4404
- var WorkspaceSeatType = _zod.z.enum(["Full", "Builder", "None"]);
4405
4409
  var MAX_MEMBERS_COUNT = 100;
4406
4410
  var UserInvite = _zod.z.object({
4407
4411
  email: _zod.z.string().email().trim().transform((value) => value.toLowerCase()),