@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.d.ts CHANGED
@@ -1348,7 +1348,7 @@ declare const PostStripePortalSessionOutputSchema: z$1.ZodObject<{
1348
1348
  type StripePortalSessionInput = z$1.infer<typeof PostStripePortalSessionBodyInputSchema>;
1349
1349
  type StripePortalSessionOutput = z$1.infer<typeof PostStripePortalSessionOutputSchema>;
1350
1350
 
1351
- declare const BillingIntervalSchema: z$1.ZodEnum<["daily", "monthly", "weekly", "yearly"]>;
1351
+ declare const BillingIntervalSchema: z$1.ZodEnum<["daily", "monthly", "yearly"]>;
1352
1352
  declare const PriceSchema: z$1.ZodObject<{
1353
1353
  stripePriceId: z$1.ZodString;
1354
1354
  stripeProductId: z$1.ZodString;
@@ -1356,7 +1356,7 @@ declare const PriceSchema: z$1.ZodObject<{
1356
1356
  stripeProductDescription: z$1.ZodOptional<z$1.ZodString>;
1357
1357
  active: z$1.ZodBoolean;
1358
1358
  amount: z$1.ZodNumber;
1359
- interval: z$1.ZodEnum<["daily", "monthly", "weekly", "yearly"]>;
1359
+ interval: z$1.ZodEnum<["daily", "monthly", "yearly"]>;
1360
1360
  isPricePerCreator: z$1.ZodOptional<z$1.ZodBoolean>;
1361
1361
  isTrial: z$1.ZodOptional<z$1.ZodBoolean>;
1362
1362
  isHidden: z$1.ZodOptional<z$1.ZodBoolean>;
@@ -1372,7 +1372,7 @@ declare const PriceSchema: z$1.ZodObject<{
1372
1372
  stripePriceId: string;
1373
1373
  stripeProductId: string;
1374
1374
  active: boolean;
1375
- interval: "daily" | "monthly" | "weekly" | "yearly";
1375
+ interval: "daily" | "monthly" | "yearly";
1376
1376
  stripeProductName?: string | undefined;
1377
1377
  stripeProductDescription?: string | undefined;
1378
1378
  isPricePerCreator?: boolean | undefined;
@@ -1390,7 +1390,7 @@ declare const PriceSchema: z$1.ZodObject<{
1390
1390
  stripePriceId: string;
1391
1391
  stripeProductId: string;
1392
1392
  active: boolean;
1393
- interval: "daily" | "monthly" | "weekly" | "yearly";
1393
+ interval: "daily" | "monthly" | "yearly";
1394
1394
  stripeProductName?: string | undefined;
1395
1395
  stripeProductDescription?: string | undefined;
1396
1396
  isPricePerCreator?: boolean | undefined;
@@ -1454,10 +1454,11 @@ declare const Subscription: z$1.ZodObject<{
1454
1454
  seatLimit: z$1.ZodNumber;
1455
1455
  monthlyCreditGrantAnchor: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<string, z$1.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
1456
1456
  monthlyCreditGrantAmount: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<number, z$1.ZodTypeDef, number>>>, number | undefined, number | null | undefined>;
1457
- builderSeatLimit: z$1.ZodOptional<z$1.ZodNumber>;
1458
- fullSeatLimit: z$1.ZodOptional<z$1.ZodNumber>;
1459
- builderSeats: z$1.ZodOptional<z$1.ZodNumber>;
1460
- fullSeats: z$1.ZodOptional<z$1.ZodNumber>;
1457
+ builderSeatLimit: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<number, z$1.ZodTypeDef, number>>>, number | undefined, number | null | undefined>;
1458
+ fullSeatLimit: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<number, z$1.ZodTypeDef, number>>>, number | undefined, number | null | undefined>;
1459
+ additionalCredits: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<number, z$1.ZodTypeDef, number>>>, number | undefined, number | null | undefined>;
1460
+ builderSeats: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<number, z$1.ZodTypeDef, number>>>, number | undefined, number | null | undefined>;
1461
+ fullSeats: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<number, z$1.ZodTypeDef, number>>>, number | undefined, number | null | undefined>;
1461
1462
  status: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<"active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free", z$1.ZodTypeDef, "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free">>>, NonNullable<"active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free"> | undefined, "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | null | undefined>;
1462
1463
  subscriptionStatus: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<"unknown" | "active" | "trialing" | "past_due" | "canceled" | "unpaid" | "incomplete_expired" | "incomplete", z$1.ZodTypeDef, "unknown" | "active" | "trialing" | "past_due" | "canceled" | "unpaid" | "incomplete_expired" | "incomplete">>>, NonNullable<"unknown" | "active" | "trialing" | "past_due" | "canceled" | "unpaid" | "incomplete_expired" | "incomplete"> | undefined, "unknown" | "active" | "trialing" | "past_due" | "canceled" | "unpaid" | "incomplete_expired" | "incomplete" | null | undefined>;
1463
1464
  internalStatus: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<"active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free", z$1.ZodTypeDef, "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free">>>, NonNullable<"active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free"> | undefined, "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | null | undefined>;
@@ -1465,19 +1466,20 @@ declare const Subscription: z$1.ZodObject<{
1465
1466
  stripeCustomerId: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<string, z$1.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
1466
1467
  product: z$1.ZodEnum<["free", "team", "company", "enterprise", "pro"]>;
1467
1468
  planPriceId: z$1.ZodString;
1468
- planInterval: z$1.ZodEnum<["daily", "monthly", "weekly", "yearly"]>;
1469
+ planInterval: z$1.ZodEnum<["daily", "monthly", "yearly"]>;
1469
1470
  currentPeriodStart: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<string, z$1.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
1470
1471
  currentPeriodEnd: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<string, z$1.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
1471
1472
  cancelAt: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<string, z$1.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
1472
1473
  fullSeatPriceId: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<string, z$1.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
1473
1474
  builderSeatPriceId: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<string, z$1.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
1475
+ additionalCreditsPriceId: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<string, z$1.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
1474
1476
  subscriptionStatusUpdatedAt: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<string, z$1.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
1475
1477
  }, "strip", z$1.ZodTypeAny, {
1476
1478
  product: "company" | "enterprise" | "free" | "team" | "pro";
1477
1479
  seats: number;
1478
1480
  seatLimit: number;
1479
1481
  planPriceId: string;
1480
- planInterval: "daily" | "monthly" | "weekly" | "yearly";
1482
+ planInterval: "daily" | "monthly" | "yearly";
1481
1483
  status?: NonNullable<"active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free"> | undefined;
1482
1484
  card?: {
1483
1485
  name?: string | null | undefined;
@@ -1491,6 +1493,7 @@ declare const Subscription: z$1.ZodObject<{
1491
1493
  monthlyCreditGrantAmount?: number | undefined;
1492
1494
  builderSeatLimit?: number | undefined;
1493
1495
  fullSeatLimit?: number | undefined;
1496
+ additionalCredits?: number | undefined;
1494
1497
  builderSeats?: number | undefined;
1495
1498
  fullSeats?: number | undefined;
1496
1499
  subscriptionStatus?: NonNullable<"unknown" | "active" | "trialing" | "past_due" | "canceled" | "unpaid" | "incomplete_expired" | "incomplete"> | undefined;
@@ -1502,13 +1505,14 @@ declare const Subscription: z$1.ZodObject<{
1502
1505
  cancelAt?: string | undefined;
1503
1506
  fullSeatPriceId?: string | undefined;
1504
1507
  builderSeatPriceId?: string | undefined;
1508
+ additionalCreditsPriceId?: string | undefined;
1505
1509
  subscriptionStatusUpdatedAt?: string | undefined;
1506
1510
  }, {
1507
1511
  product: "company" | "enterprise" | "free" | "team" | "pro";
1508
1512
  seats: number;
1509
1513
  seatLimit: number;
1510
1514
  planPriceId: string;
1511
- planInterval: "daily" | "monthly" | "weekly" | "yearly";
1515
+ planInterval: "daily" | "monthly" | "yearly";
1512
1516
  status?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | null | undefined;
1513
1517
  card?: {
1514
1518
  name?: string | null | undefined;
@@ -1520,10 +1524,11 @@ declare const Subscription: z$1.ZodObject<{
1520
1524
  } | null | undefined;
1521
1525
  monthlyCreditGrantAnchor?: string | null | undefined;
1522
1526
  monthlyCreditGrantAmount?: number | null | undefined;
1523
- builderSeatLimit?: number | undefined;
1524
- fullSeatLimit?: number | undefined;
1525
- builderSeats?: number | undefined;
1526
- fullSeats?: number | undefined;
1527
+ builderSeatLimit?: number | null | undefined;
1528
+ fullSeatLimit?: number | null | undefined;
1529
+ additionalCredits?: number | null | undefined;
1530
+ builderSeats?: number | null | undefined;
1531
+ fullSeats?: number | null | undefined;
1527
1532
  subscriptionStatus?: "unknown" | "active" | "trialing" | "past_due" | "canceled" | "unpaid" | "incomplete_expired" | "incomplete" | null | undefined;
1528
1533
  internalStatus?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | null | undefined;
1529
1534
  stripeSubscriptionId?: string | null | undefined;
@@ -1533,6 +1538,7 @@ declare const Subscription: z$1.ZodObject<{
1533
1538
  cancelAt?: string | null | undefined;
1534
1539
  fullSeatPriceId?: string | null | undefined;
1535
1540
  builderSeatPriceId?: string | null | undefined;
1541
+ additionalCreditsPriceId?: string | null | undefined;
1536
1542
  subscriptionStatusUpdatedAt?: string | null | undefined;
1537
1543
  }>;
1538
1544
  type Subscription = z$1.infer<typeof Subscription>;
@@ -12049,10 +12055,11 @@ declare const UserDump: z$1.ZodObject<{
12049
12055
  seatLimit: z$1.ZodNumber;
12050
12056
  monthlyCreditGrantAnchor: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<string, z$1.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
12051
12057
  monthlyCreditGrantAmount: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<number, z$1.ZodTypeDef, number>>>, number | undefined, number | null | undefined>;
12052
- builderSeatLimit: z$1.ZodOptional<z$1.ZodNumber>;
12053
- fullSeatLimit: z$1.ZodOptional<z$1.ZodNumber>;
12054
- builderSeats: z$1.ZodOptional<z$1.ZodNumber>;
12055
- fullSeats: z$1.ZodOptional<z$1.ZodNumber>;
12058
+ builderSeatLimit: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<number, z$1.ZodTypeDef, number>>>, number | undefined, number | null | undefined>;
12059
+ fullSeatLimit: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<number, z$1.ZodTypeDef, number>>>, number | undefined, number | null | undefined>;
12060
+ additionalCredits: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<number, z$1.ZodTypeDef, number>>>, number | undefined, number | null | undefined>;
12061
+ builderSeats: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<number, z$1.ZodTypeDef, number>>>, number | undefined, number | null | undefined>;
12062
+ fullSeats: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<number, z$1.ZodTypeDef, number>>>, number | undefined, number | null | undefined>;
12056
12063
  status: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<"active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free", z$1.ZodTypeDef, "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free">>>, NonNullable<"active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free"> | undefined, "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | null | undefined>;
12057
12064
  subscriptionStatus: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<"unknown" | "active" | "trialing" | "past_due" | "canceled" | "unpaid" | "incomplete_expired" | "incomplete", z$1.ZodTypeDef, "unknown" | "active" | "trialing" | "past_due" | "canceled" | "unpaid" | "incomplete_expired" | "incomplete">>>, NonNullable<"unknown" | "active" | "trialing" | "past_due" | "canceled" | "unpaid" | "incomplete_expired" | "incomplete"> | undefined, "unknown" | "active" | "trialing" | "past_due" | "canceled" | "unpaid" | "incomplete_expired" | "incomplete" | null | undefined>;
12058
12065
  internalStatus: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<"active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free", z$1.ZodTypeDef, "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free">>>, NonNullable<"active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free"> | undefined, "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | null | undefined>;
@@ -12060,19 +12067,20 @@ declare const UserDump: z$1.ZodObject<{
12060
12067
  stripeCustomerId: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<string, z$1.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
12061
12068
  product: z$1.ZodEnum<["free", "team", "company", "enterprise", "pro"]>;
12062
12069
  planPriceId: z$1.ZodString;
12063
- planInterval: z$1.ZodEnum<["daily", "monthly", "weekly", "yearly"]>;
12070
+ planInterval: z$1.ZodEnum<["daily", "monthly", "yearly"]>;
12064
12071
  currentPeriodStart: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<string, z$1.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
12065
12072
  currentPeriodEnd: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<string, z$1.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
12066
12073
  cancelAt: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<string, z$1.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
12067
12074
  fullSeatPriceId: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<string, z$1.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
12068
12075
  builderSeatPriceId: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<string, z$1.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
12076
+ additionalCreditsPriceId: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<string, z$1.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
12069
12077
  subscriptionStatusUpdatedAt: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<string, z$1.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
12070
12078
  }, "strip", z$1.ZodTypeAny, {
12071
12079
  product: "company" | "enterprise" | "free" | "team" | "pro";
12072
12080
  seats: number;
12073
12081
  seatLimit: number;
12074
12082
  planPriceId: string;
12075
- planInterval: "daily" | "monthly" | "weekly" | "yearly";
12083
+ planInterval: "daily" | "monthly" | "yearly";
12076
12084
  status?: NonNullable<"active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free"> | undefined;
12077
12085
  card?: {
12078
12086
  name?: string | null | undefined;
@@ -12086,6 +12094,7 @@ declare const UserDump: z$1.ZodObject<{
12086
12094
  monthlyCreditGrantAmount?: number | undefined;
12087
12095
  builderSeatLimit?: number | undefined;
12088
12096
  fullSeatLimit?: number | undefined;
12097
+ additionalCredits?: number | undefined;
12089
12098
  builderSeats?: number | undefined;
12090
12099
  fullSeats?: number | undefined;
12091
12100
  subscriptionStatus?: NonNullable<"unknown" | "active" | "trialing" | "past_due" | "canceled" | "unpaid" | "incomplete_expired" | "incomplete"> | undefined;
@@ -12097,13 +12106,14 @@ declare const UserDump: z$1.ZodObject<{
12097
12106
  cancelAt?: string | undefined;
12098
12107
  fullSeatPriceId?: string | undefined;
12099
12108
  builderSeatPriceId?: string | undefined;
12109
+ additionalCreditsPriceId?: string | undefined;
12100
12110
  subscriptionStatusUpdatedAt?: string | undefined;
12101
12111
  }, {
12102
12112
  product: "company" | "enterprise" | "free" | "team" | "pro";
12103
12113
  seats: number;
12104
12114
  seatLimit: number;
12105
12115
  planPriceId: string;
12106
- planInterval: "daily" | "monthly" | "weekly" | "yearly";
12116
+ planInterval: "daily" | "monthly" | "yearly";
12107
12117
  status?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | null | undefined;
12108
12118
  card?: {
12109
12119
  name?: string | null | undefined;
@@ -12115,10 +12125,11 @@ declare const UserDump: z$1.ZodObject<{
12115
12125
  } | null | undefined;
12116
12126
  monthlyCreditGrantAnchor?: string | null | undefined;
12117
12127
  monthlyCreditGrantAmount?: number | null | undefined;
12118
- builderSeatLimit?: number | undefined;
12119
- fullSeatLimit?: number | undefined;
12120
- builderSeats?: number | undefined;
12121
- fullSeats?: number | undefined;
12128
+ builderSeatLimit?: number | null | undefined;
12129
+ fullSeatLimit?: number | null | undefined;
12130
+ additionalCredits?: number | null | undefined;
12131
+ builderSeats?: number | null | undefined;
12132
+ fullSeats?: number | null | undefined;
12122
12133
  subscriptionStatus?: "unknown" | "active" | "trialing" | "past_due" | "canceled" | "unpaid" | "incomplete_expired" | "incomplete" | null | undefined;
12123
12134
  internalStatus?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | null | undefined;
12124
12135
  stripeSubscriptionId?: string | null | undefined;
@@ -12128,6 +12139,7 @@ declare const UserDump: z$1.ZodObject<{
12128
12139
  cancelAt?: string | null | undefined;
12129
12140
  fullSeatPriceId?: string | null | undefined;
12130
12141
  builderSeatPriceId?: string | null | undefined;
12142
+ additionalCreditsPriceId?: string | null | undefined;
12131
12143
  subscriptionStatusUpdatedAt?: string | null | undefined;
12132
12144
  }>;
12133
12145
  ipWhitelist: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<{
@@ -12314,7 +12326,7 @@ declare const UserDump: z$1.ZodObject<{
12314
12326
  seats: number;
12315
12327
  seatLimit: number;
12316
12328
  planPriceId: string;
12317
- planInterval: "daily" | "monthly" | "weekly" | "yearly";
12329
+ planInterval: "daily" | "monthly" | "yearly";
12318
12330
  status?: NonNullable<"active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free"> | undefined;
12319
12331
  card?: {
12320
12332
  name?: string | null | undefined;
@@ -12328,6 +12340,7 @@ declare const UserDump: z$1.ZodObject<{
12328
12340
  monthlyCreditGrantAmount?: number | undefined;
12329
12341
  builderSeatLimit?: number | undefined;
12330
12342
  fullSeatLimit?: number | undefined;
12343
+ additionalCredits?: number | undefined;
12331
12344
  builderSeats?: number | undefined;
12332
12345
  fullSeats?: number | undefined;
12333
12346
  subscriptionStatus?: NonNullable<"unknown" | "active" | "trialing" | "past_due" | "canceled" | "unpaid" | "incomplete_expired" | "incomplete"> | undefined;
@@ -12339,6 +12352,7 @@ declare const UserDump: z$1.ZodObject<{
12339
12352
  cancelAt?: string | undefined;
12340
12353
  fullSeatPriceId?: string | undefined;
12341
12354
  builderSeatPriceId?: string | undefined;
12355
+ additionalCreditsPriceId?: string | undefined;
12342
12356
  subscriptionStatusUpdatedAt?: string | undefined;
12343
12357
  };
12344
12358
  aiFeaturesEnabled: boolean;
@@ -12414,7 +12428,7 @@ declare const UserDump: z$1.ZodObject<{
12414
12428
  seats: number;
12415
12429
  seatLimit: number;
12416
12430
  planPriceId: string;
12417
- planInterval: "daily" | "monthly" | "weekly" | "yearly";
12431
+ planInterval: "daily" | "monthly" | "yearly";
12418
12432
  status?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | null | undefined;
12419
12433
  card?: {
12420
12434
  name?: string | null | undefined;
@@ -12426,10 +12440,11 @@ declare const UserDump: z$1.ZodObject<{
12426
12440
  } | null | undefined;
12427
12441
  monthlyCreditGrantAnchor?: string | null | undefined;
12428
12442
  monthlyCreditGrantAmount?: number | null | undefined;
12429
- builderSeatLimit?: number | undefined;
12430
- fullSeatLimit?: number | undefined;
12431
- builderSeats?: number | undefined;
12432
- fullSeats?: number | undefined;
12443
+ builderSeatLimit?: number | null | undefined;
12444
+ fullSeatLimit?: number | null | undefined;
12445
+ additionalCredits?: number | null | undefined;
12446
+ builderSeats?: number | null | undefined;
12447
+ fullSeats?: number | null | undefined;
12433
12448
  subscriptionStatus?: "unknown" | "active" | "trialing" | "past_due" | "canceled" | "unpaid" | "incomplete_expired" | "incomplete" | null | undefined;
12434
12449
  internalStatus?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | null | undefined;
12435
12450
  stripeSubscriptionId?: string | null | undefined;
@@ -12439,6 +12454,7 @@ declare const UserDump: z$1.ZodObject<{
12439
12454
  cancelAt?: string | null | undefined;
12440
12455
  fullSeatPriceId?: string | null | undefined;
12441
12456
  builderSeatPriceId?: string | null | undefined;
12457
+ additionalCreditsPriceId?: string | null | undefined;
12442
12458
  subscriptionStatusUpdatedAt?: string | null | undefined;
12443
12459
  };
12444
12460
  hasOpenMeterSubject: boolean;
@@ -19333,7 +19349,7 @@ declare const UserDump: z$1.ZodObject<{
19333
19349
  seats: number;
19334
19350
  seatLimit: number;
19335
19351
  planPriceId: string;
19336
- planInterval: "daily" | "monthly" | "weekly" | "yearly";
19352
+ planInterval: "daily" | "monthly" | "yearly";
19337
19353
  status?: NonNullable<"active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free"> | undefined;
19338
19354
  card?: {
19339
19355
  name?: string | null | undefined;
@@ -19347,6 +19363,7 @@ declare const UserDump: z$1.ZodObject<{
19347
19363
  monthlyCreditGrantAmount?: number | undefined;
19348
19364
  builderSeatLimit?: number | undefined;
19349
19365
  fullSeatLimit?: number | undefined;
19366
+ additionalCredits?: number | undefined;
19350
19367
  builderSeats?: number | undefined;
19351
19368
  fullSeats?: number | undefined;
19352
19369
  subscriptionStatus?: NonNullable<"unknown" | "active" | "trialing" | "past_due" | "canceled" | "unpaid" | "incomplete_expired" | "incomplete"> | undefined;
@@ -19358,6 +19375,7 @@ declare const UserDump: z$1.ZodObject<{
19358
19375
  cancelAt?: string | undefined;
19359
19376
  fullSeatPriceId?: string | undefined;
19360
19377
  builderSeatPriceId?: string | undefined;
19378
+ additionalCreditsPriceId?: string | undefined;
19361
19379
  subscriptionStatusUpdatedAt?: string | undefined;
19362
19380
  };
19363
19381
  aiFeaturesEnabled: boolean;
@@ -20227,7 +20245,7 @@ declare const UserDump: z$1.ZodObject<{
20227
20245
  seats: number;
20228
20246
  seatLimit: number;
20229
20247
  planPriceId: string;
20230
- planInterval: "daily" | "monthly" | "weekly" | "yearly";
20248
+ planInterval: "daily" | "monthly" | "yearly";
20231
20249
  status?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | null | undefined;
20232
20250
  card?: {
20233
20251
  name?: string | null | undefined;
@@ -20239,10 +20257,11 @@ declare const UserDump: z$1.ZodObject<{
20239
20257
  } | null | undefined;
20240
20258
  monthlyCreditGrantAnchor?: string | null | undefined;
20241
20259
  monthlyCreditGrantAmount?: number | null | undefined;
20242
- builderSeatLimit?: number | undefined;
20243
- fullSeatLimit?: number | undefined;
20244
- builderSeats?: number | undefined;
20245
- fullSeats?: number | undefined;
20260
+ builderSeatLimit?: number | null | undefined;
20261
+ fullSeatLimit?: number | null | undefined;
20262
+ additionalCredits?: number | null | undefined;
20263
+ builderSeats?: number | null | undefined;
20264
+ fullSeats?: number | null | undefined;
20246
20265
  subscriptionStatus?: "unknown" | "active" | "trialing" | "past_due" | "canceled" | "unpaid" | "incomplete_expired" | "incomplete" | null | undefined;
20247
20266
  internalStatus?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | null | undefined;
20248
20267
  stripeSubscriptionId?: string | null | undefined;
@@ -20252,6 +20271,7 @@ declare const UserDump: z$1.ZodObject<{
20252
20271
  cancelAt?: string | null | undefined;
20253
20272
  fullSeatPriceId?: string | null | undefined;
20254
20273
  builderSeatPriceId?: string | null | undefined;
20274
+ additionalCreditsPriceId?: string | null | undefined;
20255
20275
  subscriptionStatusUpdatedAt?: string | null | undefined;
20256
20276
  };
20257
20277
  hasOpenMeterSubject: boolean;
@@ -21123,7 +21143,7 @@ declare const UserDump: z$1.ZodObject<{
21123
21143
  seats: number;
21124
21144
  seatLimit: number;
21125
21145
  planPriceId: string;
21126
- planInterval: "daily" | "monthly" | "weekly" | "yearly";
21146
+ planInterval: "daily" | "monthly" | "yearly";
21127
21147
  status?: NonNullable<"active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free"> | undefined;
21128
21148
  card?: {
21129
21149
  name?: string | null | undefined;
@@ -21137,6 +21157,7 @@ declare const UserDump: z$1.ZodObject<{
21137
21157
  monthlyCreditGrantAmount?: number | undefined;
21138
21158
  builderSeatLimit?: number | undefined;
21139
21159
  fullSeatLimit?: number | undefined;
21160
+ additionalCredits?: number | undefined;
21140
21161
  builderSeats?: number | undefined;
21141
21162
  fullSeats?: number | undefined;
21142
21163
  subscriptionStatus?: NonNullable<"unknown" | "active" | "trialing" | "past_due" | "canceled" | "unpaid" | "incomplete_expired" | "incomplete"> | undefined;
@@ -21148,6 +21169,7 @@ declare const UserDump: z$1.ZodObject<{
21148
21169
  cancelAt?: string | undefined;
21149
21170
  fullSeatPriceId?: string | undefined;
21150
21171
  builderSeatPriceId?: string | undefined;
21172
+ additionalCreditsPriceId?: string | undefined;
21151
21173
  subscriptionStatusUpdatedAt?: string | undefined;
21152
21174
  };
21153
21175
  aiFeaturesEnabled: boolean;
@@ -22062,7 +22084,7 @@ declare const UserDump: z$1.ZodObject<{
22062
22084
  seats: number;
22063
22085
  seatLimit: number;
22064
22086
  planPriceId: string;
22065
- planInterval: "daily" | "monthly" | "weekly" | "yearly";
22087
+ planInterval: "daily" | "monthly" | "yearly";
22066
22088
  status?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | null | undefined;
22067
22089
  card?: {
22068
22090
  name?: string | null | undefined;
@@ -22074,10 +22096,11 @@ declare const UserDump: z$1.ZodObject<{
22074
22096
  } | null | undefined;
22075
22097
  monthlyCreditGrantAnchor?: string | null | undefined;
22076
22098
  monthlyCreditGrantAmount?: number | null | undefined;
22077
- builderSeatLimit?: number | undefined;
22078
- fullSeatLimit?: number | undefined;
22079
- builderSeats?: number | undefined;
22080
- fullSeats?: number | undefined;
22099
+ builderSeatLimit?: number | null | undefined;
22100
+ fullSeatLimit?: number | null | undefined;
22101
+ additionalCredits?: number | null | undefined;
22102
+ builderSeats?: number | null | undefined;
22103
+ fullSeats?: number | null | undefined;
22081
22104
  subscriptionStatus?: "unknown" | "active" | "trialing" | "past_due" | "canceled" | "unpaid" | "incomplete_expired" | "incomplete" | null | undefined;
22082
22105
  internalStatus?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | null | undefined;
22083
22106
  stripeSubscriptionId?: string | null | undefined;
@@ -22087,6 +22110,7 @@ declare const UserDump: z$1.ZodObject<{
22087
22110
  cancelAt?: string | null | undefined;
22088
22111
  fullSeatPriceId?: string | null | undefined;
22089
22112
  builderSeatPriceId?: string | null | undefined;
22113
+ additionalCreditsPriceId?: string | null | undefined;
22090
22114
  subscriptionStatusUpdatedAt?: string | null | undefined;
22091
22115
  };
22092
22116
  hasOpenMeterSubject: boolean;
@@ -23119,10 +23143,11 @@ declare const WorkspaceDump: z$1.ZodObject<{
23119
23143
  seatLimit: z$1.ZodNumber;
23120
23144
  monthlyCreditGrantAnchor: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<string, z$1.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
23121
23145
  monthlyCreditGrantAmount: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<number, z$1.ZodTypeDef, number>>>, number | undefined, number | null | undefined>;
23122
- builderSeatLimit: z$1.ZodOptional<z$1.ZodNumber>;
23123
- fullSeatLimit: z$1.ZodOptional<z$1.ZodNumber>;
23124
- builderSeats: z$1.ZodOptional<z$1.ZodNumber>;
23125
- fullSeats: z$1.ZodOptional<z$1.ZodNumber>;
23146
+ builderSeatLimit: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<number, z$1.ZodTypeDef, number>>>, number | undefined, number | null | undefined>;
23147
+ fullSeatLimit: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<number, z$1.ZodTypeDef, number>>>, number | undefined, number | null | undefined>;
23148
+ additionalCredits: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<number, z$1.ZodTypeDef, number>>>, number | undefined, number | null | undefined>;
23149
+ builderSeats: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<number, z$1.ZodTypeDef, number>>>, number | undefined, number | null | undefined>;
23150
+ fullSeats: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<number, z$1.ZodTypeDef, number>>>, number | undefined, number | null | undefined>;
23126
23151
  status: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<"active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free", z$1.ZodTypeDef, "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free">>>, NonNullable<"active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free"> | undefined, "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | null | undefined>;
23127
23152
  subscriptionStatus: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<"unknown" | "active" | "trialing" | "past_due" | "canceled" | "unpaid" | "incomplete_expired" | "incomplete", z$1.ZodTypeDef, "unknown" | "active" | "trialing" | "past_due" | "canceled" | "unpaid" | "incomplete_expired" | "incomplete">>>, NonNullable<"unknown" | "active" | "trialing" | "past_due" | "canceled" | "unpaid" | "incomplete_expired" | "incomplete"> | undefined, "unknown" | "active" | "trialing" | "past_due" | "canceled" | "unpaid" | "incomplete_expired" | "incomplete" | null | undefined>;
23128
23153
  internalStatus: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<"active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free", z$1.ZodTypeDef, "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free">>>, NonNullable<"active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free"> | undefined, "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | null | undefined>;
@@ -23130,19 +23155,20 @@ declare const WorkspaceDump: z$1.ZodObject<{
23130
23155
  stripeCustomerId: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<string, z$1.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
23131
23156
  product: z$1.ZodEnum<["free", "team", "company", "enterprise", "pro"]>;
23132
23157
  planPriceId: z$1.ZodString;
23133
- planInterval: z$1.ZodEnum<["daily", "monthly", "weekly", "yearly"]>;
23158
+ planInterval: z$1.ZodEnum<["daily", "monthly", "yearly"]>;
23134
23159
  currentPeriodStart: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<string, z$1.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
23135
23160
  currentPeriodEnd: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<string, z$1.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
23136
23161
  cancelAt: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<string, z$1.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
23137
23162
  fullSeatPriceId: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<string, z$1.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
23138
23163
  builderSeatPriceId: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<string, z$1.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
23164
+ additionalCreditsPriceId: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<string, z$1.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
23139
23165
  subscriptionStatusUpdatedAt: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<string, z$1.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
23140
23166
  }, "strip", z$1.ZodTypeAny, {
23141
23167
  product: "company" | "enterprise" | "free" | "team" | "pro";
23142
23168
  seats: number;
23143
23169
  seatLimit: number;
23144
23170
  planPriceId: string;
23145
- planInterval: "daily" | "monthly" | "weekly" | "yearly";
23171
+ planInterval: "daily" | "monthly" | "yearly";
23146
23172
  status?: NonNullable<"active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free"> | undefined;
23147
23173
  card?: {
23148
23174
  name?: string | null | undefined;
@@ -23156,6 +23182,7 @@ declare const WorkspaceDump: z$1.ZodObject<{
23156
23182
  monthlyCreditGrantAmount?: number | undefined;
23157
23183
  builderSeatLimit?: number | undefined;
23158
23184
  fullSeatLimit?: number | undefined;
23185
+ additionalCredits?: number | undefined;
23159
23186
  builderSeats?: number | undefined;
23160
23187
  fullSeats?: number | undefined;
23161
23188
  subscriptionStatus?: NonNullable<"unknown" | "active" | "trialing" | "past_due" | "canceled" | "unpaid" | "incomplete_expired" | "incomplete"> | undefined;
@@ -23167,13 +23194,14 @@ declare const WorkspaceDump: z$1.ZodObject<{
23167
23194
  cancelAt?: string | undefined;
23168
23195
  fullSeatPriceId?: string | undefined;
23169
23196
  builderSeatPriceId?: string | undefined;
23197
+ additionalCreditsPriceId?: string | undefined;
23170
23198
  subscriptionStatusUpdatedAt?: string | undefined;
23171
23199
  }, {
23172
23200
  product: "company" | "enterprise" | "free" | "team" | "pro";
23173
23201
  seats: number;
23174
23202
  seatLimit: number;
23175
23203
  planPriceId: string;
23176
- planInterval: "daily" | "monthly" | "weekly" | "yearly";
23204
+ planInterval: "daily" | "monthly" | "yearly";
23177
23205
  status?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | null | undefined;
23178
23206
  card?: {
23179
23207
  name?: string | null | undefined;
@@ -23185,10 +23213,11 @@ declare const WorkspaceDump: z$1.ZodObject<{
23185
23213
  } | null | undefined;
23186
23214
  monthlyCreditGrantAnchor?: string | null | undefined;
23187
23215
  monthlyCreditGrantAmount?: number | null | undefined;
23188
- builderSeatLimit?: number | undefined;
23189
- fullSeatLimit?: number | undefined;
23190
- builderSeats?: number | undefined;
23191
- fullSeats?: number | undefined;
23216
+ builderSeatLimit?: number | null | undefined;
23217
+ fullSeatLimit?: number | null | undefined;
23218
+ additionalCredits?: number | null | undefined;
23219
+ builderSeats?: number | null | undefined;
23220
+ fullSeats?: number | null | undefined;
23192
23221
  subscriptionStatus?: "unknown" | "active" | "trialing" | "past_due" | "canceled" | "unpaid" | "incomplete_expired" | "incomplete" | null | undefined;
23193
23222
  internalStatus?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | null | undefined;
23194
23223
  stripeSubscriptionId?: string | null | undefined;
@@ -23198,6 +23227,7 @@ declare const WorkspaceDump: z$1.ZodObject<{
23198
23227
  cancelAt?: string | null | undefined;
23199
23228
  fullSeatPriceId?: string | null | undefined;
23200
23229
  builderSeatPriceId?: string | null | undefined;
23230
+ additionalCreditsPriceId?: string | null | undefined;
23201
23231
  subscriptionStatusUpdatedAt?: string | null | undefined;
23202
23232
  }>;
23203
23233
  ipWhitelist: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<{
@@ -23384,7 +23414,7 @@ declare const WorkspaceDump: z$1.ZodObject<{
23384
23414
  seats: number;
23385
23415
  seatLimit: number;
23386
23416
  planPriceId: string;
23387
- planInterval: "daily" | "monthly" | "weekly" | "yearly";
23417
+ planInterval: "daily" | "monthly" | "yearly";
23388
23418
  status?: NonNullable<"active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free"> | undefined;
23389
23419
  card?: {
23390
23420
  name?: string | null | undefined;
@@ -23398,6 +23428,7 @@ declare const WorkspaceDump: z$1.ZodObject<{
23398
23428
  monthlyCreditGrantAmount?: number | undefined;
23399
23429
  builderSeatLimit?: number | undefined;
23400
23430
  fullSeatLimit?: number | undefined;
23431
+ additionalCredits?: number | undefined;
23401
23432
  builderSeats?: number | undefined;
23402
23433
  fullSeats?: number | undefined;
23403
23434
  subscriptionStatus?: NonNullable<"unknown" | "active" | "trialing" | "past_due" | "canceled" | "unpaid" | "incomplete_expired" | "incomplete"> | undefined;
@@ -23409,6 +23440,7 @@ declare const WorkspaceDump: z$1.ZodObject<{
23409
23440
  cancelAt?: string | undefined;
23410
23441
  fullSeatPriceId?: string | undefined;
23411
23442
  builderSeatPriceId?: string | undefined;
23443
+ additionalCreditsPriceId?: string | undefined;
23412
23444
  subscriptionStatusUpdatedAt?: string | undefined;
23413
23445
  };
23414
23446
  aiFeaturesEnabled: boolean;
@@ -23484,7 +23516,7 @@ declare const WorkspaceDump: z$1.ZodObject<{
23484
23516
  seats: number;
23485
23517
  seatLimit: number;
23486
23518
  planPriceId: string;
23487
- planInterval: "daily" | "monthly" | "weekly" | "yearly";
23519
+ planInterval: "daily" | "monthly" | "yearly";
23488
23520
  status?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | null | undefined;
23489
23521
  card?: {
23490
23522
  name?: string | null | undefined;
@@ -23496,10 +23528,11 @@ declare const WorkspaceDump: z$1.ZodObject<{
23496
23528
  } | null | undefined;
23497
23529
  monthlyCreditGrantAnchor?: string | null | undefined;
23498
23530
  monthlyCreditGrantAmount?: number | null | undefined;
23499
- builderSeatLimit?: number | undefined;
23500
- fullSeatLimit?: number | undefined;
23501
- builderSeats?: number | undefined;
23502
- fullSeats?: number | undefined;
23531
+ builderSeatLimit?: number | null | undefined;
23532
+ fullSeatLimit?: number | null | undefined;
23533
+ additionalCredits?: number | null | undefined;
23534
+ builderSeats?: number | null | undefined;
23535
+ fullSeats?: number | null | undefined;
23503
23536
  subscriptionStatus?: "unknown" | "active" | "trialing" | "past_due" | "canceled" | "unpaid" | "incomplete_expired" | "incomplete" | null | undefined;
23504
23537
  internalStatus?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | null | undefined;
23505
23538
  stripeSubscriptionId?: string | null | undefined;
@@ -23509,6 +23542,7 @@ declare const WorkspaceDump: z$1.ZodObject<{
23509
23542
  cancelAt?: string | null | undefined;
23510
23543
  fullSeatPriceId?: string | null | undefined;
23511
23544
  builderSeatPriceId?: string | null | undefined;
23545
+ additionalCreditsPriceId?: string | null | undefined;
23512
23546
  subscriptionStatusUpdatedAt?: string | null | undefined;
23513
23547
  };
23514
23548
  hasOpenMeterSubject: boolean;
@@ -30403,7 +30437,7 @@ declare const WorkspaceDump: z$1.ZodObject<{
30403
30437
  seats: number;
30404
30438
  seatLimit: number;
30405
30439
  planPriceId: string;
30406
- planInterval: "daily" | "monthly" | "weekly" | "yearly";
30440
+ planInterval: "daily" | "monthly" | "yearly";
30407
30441
  status?: NonNullable<"active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free"> | undefined;
30408
30442
  card?: {
30409
30443
  name?: string | null | undefined;
@@ -30417,6 +30451,7 @@ declare const WorkspaceDump: z$1.ZodObject<{
30417
30451
  monthlyCreditGrantAmount?: number | undefined;
30418
30452
  builderSeatLimit?: number | undefined;
30419
30453
  fullSeatLimit?: number | undefined;
30454
+ additionalCredits?: number | undefined;
30420
30455
  builderSeats?: number | undefined;
30421
30456
  fullSeats?: number | undefined;
30422
30457
  subscriptionStatus?: NonNullable<"unknown" | "active" | "trialing" | "past_due" | "canceled" | "unpaid" | "incomplete_expired" | "incomplete"> | undefined;
@@ -30428,6 +30463,7 @@ declare const WorkspaceDump: z$1.ZodObject<{
30428
30463
  cancelAt?: string | undefined;
30429
30464
  fullSeatPriceId?: string | undefined;
30430
30465
  builderSeatPriceId?: string | undefined;
30466
+ additionalCreditsPriceId?: string | undefined;
30431
30467
  subscriptionStatusUpdatedAt?: string | undefined;
30432
30468
  };
30433
30469
  aiFeaturesEnabled: boolean;
@@ -31297,7 +31333,7 @@ declare const WorkspaceDump: z$1.ZodObject<{
31297
31333
  seats: number;
31298
31334
  seatLimit: number;
31299
31335
  planPriceId: string;
31300
- planInterval: "daily" | "monthly" | "weekly" | "yearly";
31336
+ planInterval: "daily" | "monthly" | "yearly";
31301
31337
  status?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | null | undefined;
31302
31338
  card?: {
31303
31339
  name?: string | null | undefined;
@@ -31309,10 +31345,11 @@ declare const WorkspaceDump: z$1.ZodObject<{
31309
31345
  } | null | undefined;
31310
31346
  monthlyCreditGrantAnchor?: string | null | undefined;
31311
31347
  monthlyCreditGrantAmount?: number | null | undefined;
31312
- builderSeatLimit?: number | undefined;
31313
- fullSeatLimit?: number | undefined;
31314
- builderSeats?: number | undefined;
31315
- fullSeats?: number | undefined;
31348
+ builderSeatLimit?: number | null | undefined;
31349
+ fullSeatLimit?: number | null | undefined;
31350
+ additionalCredits?: number | null | undefined;
31351
+ builderSeats?: number | null | undefined;
31352
+ fullSeats?: number | null | undefined;
31316
31353
  subscriptionStatus?: "unknown" | "active" | "trialing" | "past_due" | "canceled" | "unpaid" | "incomplete_expired" | "incomplete" | null | undefined;
31317
31354
  internalStatus?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | null | undefined;
31318
31355
  stripeSubscriptionId?: string | null | undefined;
@@ -31322,6 +31359,7 @@ declare const WorkspaceDump: z$1.ZodObject<{
31322
31359
  cancelAt?: string | null | undefined;
31323
31360
  fullSeatPriceId?: string | null | undefined;
31324
31361
  builderSeatPriceId?: string | null | undefined;
31362
+ additionalCreditsPriceId?: string | null | undefined;
31325
31363
  subscriptionStatusUpdatedAt?: string | null | undefined;
31326
31364
  };
31327
31365
  hasOpenMeterSubject: boolean;
@@ -139292,10 +139330,11 @@ declare const Workspace: z$1.ZodObject<{
139292
139330
  seatLimit: z$1.ZodNumber;
139293
139331
  monthlyCreditGrantAnchor: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<string, z$1.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
139294
139332
  monthlyCreditGrantAmount: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<number, z$1.ZodTypeDef, number>>>, number | undefined, number | null | undefined>;
139295
- builderSeatLimit: z$1.ZodOptional<z$1.ZodNumber>;
139296
- fullSeatLimit: z$1.ZodOptional<z$1.ZodNumber>;
139297
- builderSeats: z$1.ZodOptional<z$1.ZodNumber>;
139298
- fullSeats: z$1.ZodOptional<z$1.ZodNumber>;
139333
+ builderSeatLimit: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<number, z$1.ZodTypeDef, number>>>, number | undefined, number | null | undefined>;
139334
+ fullSeatLimit: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<number, z$1.ZodTypeDef, number>>>, number | undefined, number | null | undefined>;
139335
+ additionalCredits: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<number, z$1.ZodTypeDef, number>>>, number | undefined, number | null | undefined>;
139336
+ builderSeats: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<number, z$1.ZodTypeDef, number>>>, number | undefined, number | null | undefined>;
139337
+ fullSeats: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<number, z$1.ZodTypeDef, number>>>, number | undefined, number | null | undefined>;
139299
139338
  status: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<"active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free", z$1.ZodTypeDef, "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free">>>, NonNullable<"active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free"> | undefined, "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | null | undefined>;
139300
139339
  subscriptionStatus: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<"unknown" | "active" | "trialing" | "past_due" | "canceled" | "unpaid" | "incomplete_expired" | "incomplete", z$1.ZodTypeDef, "unknown" | "active" | "trialing" | "past_due" | "canceled" | "unpaid" | "incomplete_expired" | "incomplete">>>, NonNullable<"unknown" | "active" | "trialing" | "past_due" | "canceled" | "unpaid" | "incomplete_expired" | "incomplete"> | undefined, "unknown" | "active" | "trialing" | "past_due" | "canceled" | "unpaid" | "incomplete_expired" | "incomplete" | null | undefined>;
139301
139340
  internalStatus: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<"active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free", z$1.ZodTypeDef, "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free">>>, NonNullable<"active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free"> | undefined, "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | null | undefined>;
@@ -139303,19 +139342,20 @@ declare const Workspace: z$1.ZodObject<{
139303
139342
  stripeCustomerId: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<string, z$1.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
139304
139343
  product: z$1.ZodEnum<["free", "team", "company", "enterprise", "pro"]>;
139305
139344
  planPriceId: z$1.ZodString;
139306
- planInterval: z$1.ZodEnum<["daily", "monthly", "weekly", "yearly"]>;
139345
+ planInterval: z$1.ZodEnum<["daily", "monthly", "yearly"]>;
139307
139346
  currentPeriodStart: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<string, z$1.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
139308
139347
  currentPeriodEnd: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<string, z$1.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
139309
139348
  cancelAt: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<string, z$1.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
139310
139349
  fullSeatPriceId: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<string, z$1.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
139311
139350
  builderSeatPriceId: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<string, z$1.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
139351
+ additionalCreditsPriceId: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<string, z$1.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
139312
139352
  subscriptionStatusUpdatedAt: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<string, z$1.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
139313
139353
  }, "strip", z$1.ZodTypeAny, {
139314
139354
  product: "company" | "enterprise" | "free" | "team" | "pro";
139315
139355
  seats: number;
139316
139356
  seatLimit: number;
139317
139357
  planPriceId: string;
139318
- planInterval: "daily" | "monthly" | "weekly" | "yearly";
139358
+ planInterval: "daily" | "monthly" | "yearly";
139319
139359
  status?: NonNullable<"active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free"> | undefined;
139320
139360
  card?: {
139321
139361
  name?: string | null | undefined;
@@ -139329,6 +139369,7 @@ declare const Workspace: z$1.ZodObject<{
139329
139369
  monthlyCreditGrantAmount?: number | undefined;
139330
139370
  builderSeatLimit?: number | undefined;
139331
139371
  fullSeatLimit?: number | undefined;
139372
+ additionalCredits?: number | undefined;
139332
139373
  builderSeats?: number | undefined;
139333
139374
  fullSeats?: number | undefined;
139334
139375
  subscriptionStatus?: NonNullable<"unknown" | "active" | "trialing" | "past_due" | "canceled" | "unpaid" | "incomplete_expired" | "incomplete"> | undefined;
@@ -139340,13 +139381,14 @@ declare const Workspace: z$1.ZodObject<{
139340
139381
  cancelAt?: string | undefined;
139341
139382
  fullSeatPriceId?: string | undefined;
139342
139383
  builderSeatPriceId?: string | undefined;
139384
+ additionalCreditsPriceId?: string | undefined;
139343
139385
  subscriptionStatusUpdatedAt?: string | undefined;
139344
139386
  }, {
139345
139387
  product: "company" | "enterprise" | "free" | "team" | "pro";
139346
139388
  seats: number;
139347
139389
  seatLimit: number;
139348
139390
  planPriceId: string;
139349
- planInterval: "daily" | "monthly" | "weekly" | "yearly";
139391
+ planInterval: "daily" | "monthly" | "yearly";
139350
139392
  status?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | null | undefined;
139351
139393
  card?: {
139352
139394
  name?: string | null | undefined;
@@ -139358,10 +139400,11 @@ declare const Workspace: z$1.ZodObject<{
139358
139400
  } | null | undefined;
139359
139401
  monthlyCreditGrantAnchor?: string | null | undefined;
139360
139402
  monthlyCreditGrantAmount?: number | null | undefined;
139361
- builderSeatLimit?: number | undefined;
139362
- fullSeatLimit?: number | undefined;
139363
- builderSeats?: number | undefined;
139364
- fullSeats?: number | undefined;
139403
+ builderSeatLimit?: number | null | undefined;
139404
+ fullSeatLimit?: number | null | undefined;
139405
+ additionalCredits?: number | null | undefined;
139406
+ builderSeats?: number | null | undefined;
139407
+ fullSeats?: number | null | undefined;
139365
139408
  subscriptionStatus?: "unknown" | "active" | "trialing" | "past_due" | "canceled" | "unpaid" | "incomplete_expired" | "incomplete" | null | undefined;
139366
139409
  internalStatus?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | null | undefined;
139367
139410
  stripeSubscriptionId?: string | null | undefined;
@@ -139371,6 +139414,7 @@ declare const Workspace: z$1.ZodObject<{
139371
139414
  cancelAt?: string | null | undefined;
139372
139415
  fullSeatPriceId?: string | null | undefined;
139373
139416
  builderSeatPriceId?: string | null | undefined;
139417
+ additionalCreditsPriceId?: string | null | undefined;
139374
139418
  subscriptionStatusUpdatedAt?: string | null | undefined;
139375
139419
  }>;
139376
139420
  ipWhitelist: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<{
@@ -139557,7 +139601,7 @@ declare const Workspace: z$1.ZodObject<{
139557
139601
  seats: number;
139558
139602
  seatLimit: number;
139559
139603
  planPriceId: string;
139560
- planInterval: "daily" | "monthly" | "weekly" | "yearly";
139604
+ planInterval: "daily" | "monthly" | "yearly";
139561
139605
  status?: NonNullable<"active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free"> | undefined;
139562
139606
  card?: {
139563
139607
  name?: string | null | undefined;
@@ -139571,6 +139615,7 @@ declare const Workspace: z$1.ZodObject<{
139571
139615
  monthlyCreditGrantAmount?: number | undefined;
139572
139616
  builderSeatLimit?: number | undefined;
139573
139617
  fullSeatLimit?: number | undefined;
139618
+ additionalCredits?: number | undefined;
139574
139619
  builderSeats?: number | undefined;
139575
139620
  fullSeats?: number | undefined;
139576
139621
  subscriptionStatus?: NonNullable<"unknown" | "active" | "trialing" | "past_due" | "canceled" | "unpaid" | "incomplete_expired" | "incomplete"> | undefined;
@@ -139582,6 +139627,7 @@ declare const Workspace: z$1.ZodObject<{
139582
139627
  cancelAt?: string | undefined;
139583
139628
  fullSeatPriceId?: string | undefined;
139584
139629
  builderSeatPriceId?: string | undefined;
139630
+ additionalCreditsPriceId?: string | undefined;
139585
139631
  subscriptionStatusUpdatedAt?: string | undefined;
139586
139632
  };
139587
139633
  aiFeaturesEnabled: boolean;
@@ -139657,7 +139703,7 @@ declare const Workspace: z$1.ZodObject<{
139657
139703
  seats: number;
139658
139704
  seatLimit: number;
139659
139705
  planPriceId: string;
139660
- planInterval: "daily" | "monthly" | "weekly" | "yearly";
139706
+ planInterval: "daily" | "monthly" | "yearly";
139661
139707
  status?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | null | undefined;
139662
139708
  card?: {
139663
139709
  name?: string | null | undefined;
@@ -139669,10 +139715,11 @@ declare const Workspace: z$1.ZodObject<{
139669
139715
  } | null | undefined;
139670
139716
  monthlyCreditGrantAnchor?: string | null | undefined;
139671
139717
  monthlyCreditGrantAmount?: number | null | undefined;
139672
- builderSeatLimit?: number | undefined;
139673
- fullSeatLimit?: number | undefined;
139674
- builderSeats?: number | undefined;
139675
- fullSeats?: number | undefined;
139718
+ builderSeatLimit?: number | null | undefined;
139719
+ fullSeatLimit?: number | null | undefined;
139720
+ additionalCredits?: number | null | undefined;
139721
+ builderSeats?: number | null | undefined;
139722
+ fullSeats?: number | null | undefined;
139676
139723
  subscriptionStatus?: "unknown" | "active" | "trialing" | "past_due" | "canceled" | "unpaid" | "incomplete_expired" | "incomplete" | null | undefined;
139677
139724
  internalStatus?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | null | undefined;
139678
139725
  stripeSubscriptionId?: string | null | undefined;
@@ -139682,6 +139729,7 @@ declare const Workspace: z$1.ZodObject<{
139682
139729
  cancelAt?: string | null | undefined;
139683
139730
  fullSeatPriceId?: string | null | undefined;
139684
139731
  builderSeatPriceId?: string | null | undefined;
139732
+ additionalCreditsPriceId?: string | null | undefined;
139685
139733
  subscriptionStatusUpdatedAt?: string | null | undefined;
139686
139734
  };
139687
139735
  hasOpenMeterSubject: boolean;
@@ -139876,10 +139924,11 @@ declare const WorkspaceWithDesignSystems: z$1.ZodObject<{
139876
139924
  seatLimit: z$1.ZodNumber;
139877
139925
  monthlyCreditGrantAnchor: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<string, z$1.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
139878
139926
  monthlyCreditGrantAmount: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<number, z$1.ZodTypeDef, number>>>, number | undefined, number | null | undefined>;
139879
- builderSeatLimit: z$1.ZodOptional<z$1.ZodNumber>;
139880
- fullSeatLimit: z$1.ZodOptional<z$1.ZodNumber>;
139881
- builderSeats: z$1.ZodOptional<z$1.ZodNumber>;
139882
- fullSeats: z$1.ZodOptional<z$1.ZodNumber>;
139927
+ builderSeatLimit: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<number, z$1.ZodTypeDef, number>>>, number | undefined, number | null | undefined>;
139928
+ fullSeatLimit: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<number, z$1.ZodTypeDef, number>>>, number | undefined, number | null | undefined>;
139929
+ additionalCredits: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<number, z$1.ZodTypeDef, number>>>, number | undefined, number | null | undefined>;
139930
+ builderSeats: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<number, z$1.ZodTypeDef, number>>>, number | undefined, number | null | undefined>;
139931
+ fullSeats: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<number, z$1.ZodTypeDef, number>>>, number | undefined, number | null | undefined>;
139883
139932
  status: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<"active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free", z$1.ZodTypeDef, "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free">>>, NonNullable<"active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free"> | undefined, "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | null | undefined>;
139884
139933
  subscriptionStatus: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<"unknown" | "active" | "trialing" | "past_due" | "canceled" | "unpaid" | "incomplete_expired" | "incomplete", z$1.ZodTypeDef, "unknown" | "active" | "trialing" | "past_due" | "canceled" | "unpaid" | "incomplete_expired" | "incomplete">>>, NonNullable<"unknown" | "active" | "trialing" | "past_due" | "canceled" | "unpaid" | "incomplete_expired" | "incomplete"> | undefined, "unknown" | "active" | "trialing" | "past_due" | "canceled" | "unpaid" | "incomplete_expired" | "incomplete" | null | undefined>;
139885
139934
  internalStatus: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<"active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free", z$1.ZodTypeDef, "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free">>>, NonNullable<"active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free"> | undefined, "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | null | undefined>;
@@ -139887,19 +139936,20 @@ declare const WorkspaceWithDesignSystems: z$1.ZodObject<{
139887
139936
  stripeCustomerId: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<string, z$1.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
139888
139937
  product: z$1.ZodEnum<["free", "team", "company", "enterprise", "pro"]>;
139889
139938
  planPriceId: z$1.ZodString;
139890
- planInterval: z$1.ZodEnum<["daily", "monthly", "weekly", "yearly"]>;
139939
+ planInterval: z$1.ZodEnum<["daily", "monthly", "yearly"]>;
139891
139940
  currentPeriodStart: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<string, z$1.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
139892
139941
  currentPeriodEnd: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<string, z$1.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
139893
139942
  cancelAt: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<string, z$1.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
139894
139943
  fullSeatPriceId: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<string, z$1.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
139895
139944
  builderSeatPriceId: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<string, z$1.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
139945
+ additionalCreditsPriceId: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<string, z$1.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
139896
139946
  subscriptionStatusUpdatedAt: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<string, z$1.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
139897
139947
  }, "strip", z$1.ZodTypeAny, {
139898
139948
  product: "company" | "enterprise" | "free" | "team" | "pro";
139899
139949
  seats: number;
139900
139950
  seatLimit: number;
139901
139951
  planPriceId: string;
139902
- planInterval: "daily" | "monthly" | "weekly" | "yearly";
139952
+ planInterval: "daily" | "monthly" | "yearly";
139903
139953
  status?: NonNullable<"active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free"> | undefined;
139904
139954
  card?: {
139905
139955
  name?: string | null | undefined;
@@ -139913,6 +139963,7 @@ declare const WorkspaceWithDesignSystems: z$1.ZodObject<{
139913
139963
  monthlyCreditGrantAmount?: number | undefined;
139914
139964
  builderSeatLimit?: number | undefined;
139915
139965
  fullSeatLimit?: number | undefined;
139966
+ additionalCredits?: number | undefined;
139916
139967
  builderSeats?: number | undefined;
139917
139968
  fullSeats?: number | undefined;
139918
139969
  subscriptionStatus?: NonNullable<"unknown" | "active" | "trialing" | "past_due" | "canceled" | "unpaid" | "incomplete_expired" | "incomplete"> | undefined;
@@ -139924,13 +139975,14 @@ declare const WorkspaceWithDesignSystems: z$1.ZodObject<{
139924
139975
  cancelAt?: string | undefined;
139925
139976
  fullSeatPriceId?: string | undefined;
139926
139977
  builderSeatPriceId?: string | undefined;
139978
+ additionalCreditsPriceId?: string | undefined;
139927
139979
  subscriptionStatusUpdatedAt?: string | undefined;
139928
139980
  }, {
139929
139981
  product: "company" | "enterprise" | "free" | "team" | "pro";
139930
139982
  seats: number;
139931
139983
  seatLimit: number;
139932
139984
  planPriceId: string;
139933
- planInterval: "daily" | "monthly" | "weekly" | "yearly";
139985
+ planInterval: "daily" | "monthly" | "yearly";
139934
139986
  status?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | null | undefined;
139935
139987
  card?: {
139936
139988
  name?: string | null | undefined;
@@ -139942,10 +139994,11 @@ declare const WorkspaceWithDesignSystems: z$1.ZodObject<{
139942
139994
  } | null | undefined;
139943
139995
  monthlyCreditGrantAnchor?: string | null | undefined;
139944
139996
  monthlyCreditGrantAmount?: number | null | undefined;
139945
- builderSeatLimit?: number | undefined;
139946
- fullSeatLimit?: number | undefined;
139947
- builderSeats?: number | undefined;
139948
- fullSeats?: number | undefined;
139997
+ builderSeatLimit?: number | null | undefined;
139998
+ fullSeatLimit?: number | null | undefined;
139999
+ additionalCredits?: number | null | undefined;
140000
+ builderSeats?: number | null | undefined;
140001
+ fullSeats?: number | null | undefined;
139949
140002
  subscriptionStatus?: "unknown" | "active" | "trialing" | "past_due" | "canceled" | "unpaid" | "incomplete_expired" | "incomplete" | null | undefined;
139950
140003
  internalStatus?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | null | undefined;
139951
140004
  stripeSubscriptionId?: string | null | undefined;
@@ -139955,6 +140008,7 @@ declare const WorkspaceWithDesignSystems: z$1.ZodObject<{
139955
140008
  cancelAt?: string | null | undefined;
139956
140009
  fullSeatPriceId?: string | null | undefined;
139957
140010
  builderSeatPriceId?: string | null | undefined;
140011
+ additionalCreditsPriceId?: string | null | undefined;
139958
140012
  subscriptionStatusUpdatedAt?: string | null | undefined;
139959
140013
  }>;
139960
140014
  ipWhitelist: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<{
@@ -140141,7 +140195,7 @@ declare const WorkspaceWithDesignSystems: z$1.ZodObject<{
140141
140195
  seats: number;
140142
140196
  seatLimit: number;
140143
140197
  planPriceId: string;
140144
- planInterval: "daily" | "monthly" | "weekly" | "yearly";
140198
+ planInterval: "daily" | "monthly" | "yearly";
140145
140199
  status?: NonNullable<"active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free"> | undefined;
140146
140200
  card?: {
140147
140201
  name?: string | null | undefined;
@@ -140155,6 +140209,7 @@ declare const WorkspaceWithDesignSystems: z$1.ZodObject<{
140155
140209
  monthlyCreditGrantAmount?: number | undefined;
140156
140210
  builderSeatLimit?: number | undefined;
140157
140211
  fullSeatLimit?: number | undefined;
140212
+ additionalCredits?: number | undefined;
140158
140213
  builderSeats?: number | undefined;
140159
140214
  fullSeats?: number | undefined;
140160
140215
  subscriptionStatus?: NonNullable<"unknown" | "active" | "trialing" | "past_due" | "canceled" | "unpaid" | "incomplete_expired" | "incomplete"> | undefined;
@@ -140166,6 +140221,7 @@ declare const WorkspaceWithDesignSystems: z$1.ZodObject<{
140166
140221
  cancelAt?: string | undefined;
140167
140222
  fullSeatPriceId?: string | undefined;
140168
140223
  builderSeatPriceId?: string | undefined;
140224
+ additionalCreditsPriceId?: string | undefined;
140169
140225
  subscriptionStatusUpdatedAt?: string | undefined;
140170
140226
  };
140171
140227
  aiFeaturesEnabled: boolean;
@@ -140241,7 +140297,7 @@ declare const WorkspaceWithDesignSystems: z$1.ZodObject<{
140241
140297
  seats: number;
140242
140298
  seatLimit: number;
140243
140299
  planPriceId: string;
140244
- planInterval: "daily" | "monthly" | "weekly" | "yearly";
140300
+ planInterval: "daily" | "monthly" | "yearly";
140245
140301
  status?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | null | undefined;
140246
140302
  card?: {
140247
140303
  name?: string | null | undefined;
@@ -140253,10 +140309,11 @@ declare const WorkspaceWithDesignSystems: z$1.ZodObject<{
140253
140309
  } | null | undefined;
140254
140310
  monthlyCreditGrantAnchor?: string | null | undefined;
140255
140311
  monthlyCreditGrantAmount?: number | null | undefined;
140256
- builderSeatLimit?: number | undefined;
140257
- fullSeatLimit?: number | undefined;
140258
- builderSeats?: number | undefined;
140259
- fullSeats?: number | undefined;
140312
+ builderSeatLimit?: number | null | undefined;
140313
+ fullSeatLimit?: number | null | undefined;
140314
+ additionalCredits?: number | null | undefined;
140315
+ builderSeats?: number | null | undefined;
140316
+ fullSeats?: number | null | undefined;
140260
140317
  subscriptionStatus?: "unknown" | "active" | "trialing" | "past_due" | "canceled" | "unpaid" | "incomplete_expired" | "incomplete" | null | undefined;
140261
140318
  internalStatus?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | null | undefined;
140262
140319
  stripeSubscriptionId?: string | null | undefined;
@@ -140266,6 +140323,7 @@ declare const WorkspaceWithDesignSystems: z$1.ZodObject<{
140266
140323
  cancelAt?: string | null | undefined;
140267
140324
  fullSeatPriceId?: string | null | undefined;
140268
140325
  builderSeatPriceId?: string | null | undefined;
140326
+ additionalCreditsPriceId?: string | null | undefined;
140269
140327
  subscriptionStatusUpdatedAt?: string | null | undefined;
140270
140328
  };
140271
140329
  hasOpenMeterSubject: boolean;
@@ -140419,7 +140477,7 @@ declare const WorkspaceWithDesignSystems: z$1.ZodObject<{
140419
140477
  seats: number;
140420
140478
  seatLimit: number;
140421
140479
  planPriceId: string;
140422
- planInterval: "daily" | "monthly" | "weekly" | "yearly";
140480
+ planInterval: "daily" | "monthly" | "yearly";
140423
140481
  status?: NonNullable<"active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free"> | undefined;
140424
140482
  card?: {
140425
140483
  name?: string | null | undefined;
@@ -140433,6 +140491,7 @@ declare const WorkspaceWithDesignSystems: z$1.ZodObject<{
140433
140491
  monthlyCreditGrantAmount?: number | undefined;
140434
140492
  builderSeatLimit?: number | undefined;
140435
140493
  fullSeatLimit?: number | undefined;
140494
+ additionalCredits?: number | undefined;
140436
140495
  builderSeats?: number | undefined;
140437
140496
  fullSeats?: number | undefined;
140438
140497
  subscriptionStatus?: NonNullable<"unknown" | "active" | "trialing" | "past_due" | "canceled" | "unpaid" | "incomplete_expired" | "incomplete"> | undefined;
@@ -140444,6 +140503,7 @@ declare const WorkspaceWithDesignSystems: z$1.ZodObject<{
140444
140503
  cancelAt?: string | undefined;
140445
140504
  fullSeatPriceId?: string | undefined;
140446
140505
  builderSeatPriceId?: string | undefined;
140506
+ additionalCreditsPriceId?: string | undefined;
140447
140507
  subscriptionStatusUpdatedAt?: string | undefined;
140448
140508
  };
140449
140509
  aiFeaturesEnabled: boolean;
@@ -140544,7 +140604,7 @@ declare const WorkspaceWithDesignSystems: z$1.ZodObject<{
140544
140604
  seats: number;
140545
140605
  seatLimit: number;
140546
140606
  planPriceId: string;
140547
- planInterval: "daily" | "monthly" | "weekly" | "yearly";
140607
+ planInterval: "daily" | "monthly" | "yearly";
140548
140608
  status?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | null | undefined;
140549
140609
  card?: {
140550
140610
  name?: string | null | undefined;
@@ -140556,10 +140616,11 @@ declare const WorkspaceWithDesignSystems: z$1.ZodObject<{
140556
140616
  } | null | undefined;
140557
140617
  monthlyCreditGrantAnchor?: string | null | undefined;
140558
140618
  monthlyCreditGrantAmount?: number | null | undefined;
140559
- builderSeatLimit?: number | undefined;
140560
- fullSeatLimit?: number | undefined;
140561
- builderSeats?: number | undefined;
140562
- fullSeats?: number | undefined;
140619
+ builderSeatLimit?: number | null | undefined;
140620
+ fullSeatLimit?: number | null | undefined;
140621
+ additionalCredits?: number | null | undefined;
140622
+ builderSeats?: number | null | undefined;
140623
+ fullSeats?: number | null | undefined;
140563
140624
  subscriptionStatus?: "unknown" | "active" | "trialing" | "past_due" | "canceled" | "unpaid" | "incomplete_expired" | "incomplete" | null | undefined;
140564
140625
  internalStatus?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | null | undefined;
140565
140626
  stripeSubscriptionId?: string | null | undefined;
@@ -140569,6 +140630,7 @@ declare const WorkspaceWithDesignSystems: z$1.ZodObject<{
140569
140630
  cancelAt?: string | null | undefined;
140570
140631
  fullSeatPriceId?: string | null | undefined;
140571
140632
  builderSeatPriceId?: string | null | undefined;
140633
+ additionalCreditsPriceId?: string | null | undefined;
140572
140634
  subscriptionStatusUpdatedAt?: string | null | undefined;
140573
140635
  };
140574
140636
  hasOpenMeterSubject: boolean;
@@ -144071,10 +144133,11 @@ declare const DesignSystemInviteEmailData: z$1.ZodObject<{
144071
144133
  seatLimit: z$1.ZodNumber;
144072
144134
  monthlyCreditGrantAnchor: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<string, z$1.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
144073
144135
  monthlyCreditGrantAmount: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<number, z$1.ZodTypeDef, number>>>, number | undefined, number | null | undefined>;
144074
- builderSeatLimit: z$1.ZodOptional<z$1.ZodNumber>;
144075
- fullSeatLimit: z$1.ZodOptional<z$1.ZodNumber>;
144076
- builderSeats: z$1.ZodOptional<z$1.ZodNumber>;
144077
- fullSeats: z$1.ZodOptional<z$1.ZodNumber>;
144136
+ builderSeatLimit: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<number, z$1.ZodTypeDef, number>>>, number | undefined, number | null | undefined>;
144137
+ fullSeatLimit: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<number, z$1.ZodTypeDef, number>>>, number | undefined, number | null | undefined>;
144138
+ additionalCredits: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<number, z$1.ZodTypeDef, number>>>, number | undefined, number | null | undefined>;
144139
+ builderSeats: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<number, z$1.ZodTypeDef, number>>>, number | undefined, number | null | undefined>;
144140
+ fullSeats: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<number, z$1.ZodTypeDef, number>>>, number | undefined, number | null | undefined>;
144078
144141
  status: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<"active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free", z$1.ZodTypeDef, "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free">>>, NonNullable<"active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free"> | undefined, "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | null | undefined>;
144079
144142
  subscriptionStatus: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<"unknown" | "active" | "trialing" | "past_due" | "canceled" | "unpaid" | "incomplete_expired" | "incomplete", z$1.ZodTypeDef, "unknown" | "active" | "trialing" | "past_due" | "canceled" | "unpaid" | "incomplete_expired" | "incomplete">>>, NonNullable<"unknown" | "active" | "trialing" | "past_due" | "canceled" | "unpaid" | "incomplete_expired" | "incomplete"> | undefined, "unknown" | "active" | "trialing" | "past_due" | "canceled" | "unpaid" | "incomplete_expired" | "incomplete" | null | undefined>;
144080
144143
  internalStatus: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<"active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free", z$1.ZodTypeDef, "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free">>>, NonNullable<"active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free"> | undefined, "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | null | undefined>;
@@ -144082,19 +144145,20 @@ declare const DesignSystemInviteEmailData: z$1.ZodObject<{
144082
144145
  stripeCustomerId: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<string, z$1.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
144083
144146
  product: z$1.ZodEnum<["free", "team", "company", "enterprise", "pro"]>;
144084
144147
  planPriceId: z$1.ZodString;
144085
- planInterval: z$1.ZodEnum<["daily", "monthly", "weekly", "yearly"]>;
144148
+ planInterval: z$1.ZodEnum<["daily", "monthly", "yearly"]>;
144086
144149
  currentPeriodStart: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<string, z$1.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
144087
144150
  currentPeriodEnd: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<string, z$1.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
144088
144151
  cancelAt: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<string, z$1.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
144089
144152
  fullSeatPriceId: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<string, z$1.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
144090
144153
  builderSeatPriceId: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<string, z$1.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
144154
+ additionalCreditsPriceId: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<string, z$1.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
144091
144155
  subscriptionStatusUpdatedAt: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<string, z$1.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
144092
144156
  }, "strip", z$1.ZodTypeAny, {
144093
144157
  product: "company" | "enterprise" | "free" | "team" | "pro";
144094
144158
  seats: number;
144095
144159
  seatLimit: number;
144096
144160
  planPriceId: string;
144097
- planInterval: "daily" | "monthly" | "weekly" | "yearly";
144161
+ planInterval: "daily" | "monthly" | "yearly";
144098
144162
  status?: NonNullable<"active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free"> | undefined;
144099
144163
  card?: {
144100
144164
  name?: string | null | undefined;
@@ -144108,6 +144172,7 @@ declare const DesignSystemInviteEmailData: z$1.ZodObject<{
144108
144172
  monthlyCreditGrantAmount?: number | undefined;
144109
144173
  builderSeatLimit?: number | undefined;
144110
144174
  fullSeatLimit?: number | undefined;
144175
+ additionalCredits?: number | undefined;
144111
144176
  builderSeats?: number | undefined;
144112
144177
  fullSeats?: number | undefined;
144113
144178
  subscriptionStatus?: NonNullable<"unknown" | "active" | "trialing" | "past_due" | "canceled" | "unpaid" | "incomplete_expired" | "incomplete"> | undefined;
@@ -144119,13 +144184,14 @@ declare const DesignSystemInviteEmailData: z$1.ZodObject<{
144119
144184
  cancelAt?: string | undefined;
144120
144185
  fullSeatPriceId?: string | undefined;
144121
144186
  builderSeatPriceId?: string | undefined;
144187
+ additionalCreditsPriceId?: string | undefined;
144122
144188
  subscriptionStatusUpdatedAt?: string | undefined;
144123
144189
  }, {
144124
144190
  product: "company" | "enterprise" | "free" | "team" | "pro";
144125
144191
  seats: number;
144126
144192
  seatLimit: number;
144127
144193
  planPriceId: string;
144128
- planInterval: "daily" | "monthly" | "weekly" | "yearly";
144194
+ planInterval: "daily" | "monthly" | "yearly";
144129
144195
  status?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | null | undefined;
144130
144196
  card?: {
144131
144197
  name?: string | null | undefined;
@@ -144137,10 +144203,11 @@ declare const DesignSystemInviteEmailData: z$1.ZodObject<{
144137
144203
  } | null | undefined;
144138
144204
  monthlyCreditGrantAnchor?: string | null | undefined;
144139
144205
  monthlyCreditGrantAmount?: number | null | undefined;
144140
- builderSeatLimit?: number | undefined;
144141
- fullSeatLimit?: number | undefined;
144142
- builderSeats?: number | undefined;
144143
- fullSeats?: number | undefined;
144206
+ builderSeatLimit?: number | null | undefined;
144207
+ fullSeatLimit?: number | null | undefined;
144208
+ additionalCredits?: number | null | undefined;
144209
+ builderSeats?: number | null | undefined;
144210
+ fullSeats?: number | null | undefined;
144144
144211
  subscriptionStatus?: "unknown" | "active" | "trialing" | "past_due" | "canceled" | "unpaid" | "incomplete_expired" | "incomplete" | null | undefined;
144145
144212
  internalStatus?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | null | undefined;
144146
144213
  stripeSubscriptionId?: string | null | undefined;
@@ -144150,6 +144217,7 @@ declare const DesignSystemInviteEmailData: z$1.ZodObject<{
144150
144217
  cancelAt?: string | null | undefined;
144151
144218
  fullSeatPriceId?: string | null | undefined;
144152
144219
  builderSeatPriceId?: string | null | undefined;
144220
+ additionalCreditsPriceId?: string | null | undefined;
144153
144221
  subscriptionStatusUpdatedAt?: string | null | undefined;
144154
144222
  }>;
144155
144223
  ipWhitelist: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<{
@@ -144336,7 +144404,7 @@ declare const DesignSystemInviteEmailData: z$1.ZodObject<{
144336
144404
  seats: number;
144337
144405
  seatLimit: number;
144338
144406
  planPriceId: string;
144339
- planInterval: "daily" | "monthly" | "weekly" | "yearly";
144407
+ planInterval: "daily" | "monthly" | "yearly";
144340
144408
  status?: NonNullable<"active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free"> | undefined;
144341
144409
  card?: {
144342
144410
  name?: string | null | undefined;
@@ -144350,6 +144418,7 @@ declare const DesignSystemInviteEmailData: z$1.ZodObject<{
144350
144418
  monthlyCreditGrantAmount?: number | undefined;
144351
144419
  builderSeatLimit?: number | undefined;
144352
144420
  fullSeatLimit?: number | undefined;
144421
+ additionalCredits?: number | undefined;
144353
144422
  builderSeats?: number | undefined;
144354
144423
  fullSeats?: number | undefined;
144355
144424
  subscriptionStatus?: NonNullable<"unknown" | "active" | "trialing" | "past_due" | "canceled" | "unpaid" | "incomplete_expired" | "incomplete"> | undefined;
@@ -144361,6 +144430,7 @@ declare const DesignSystemInviteEmailData: z$1.ZodObject<{
144361
144430
  cancelAt?: string | undefined;
144362
144431
  fullSeatPriceId?: string | undefined;
144363
144432
  builderSeatPriceId?: string | undefined;
144433
+ additionalCreditsPriceId?: string | undefined;
144364
144434
  subscriptionStatusUpdatedAt?: string | undefined;
144365
144435
  };
144366
144436
  aiFeaturesEnabled: boolean;
@@ -144436,7 +144506,7 @@ declare const DesignSystemInviteEmailData: z$1.ZodObject<{
144436
144506
  seats: number;
144437
144507
  seatLimit: number;
144438
144508
  planPriceId: string;
144439
- planInterval: "daily" | "monthly" | "weekly" | "yearly";
144509
+ planInterval: "daily" | "monthly" | "yearly";
144440
144510
  status?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | null | undefined;
144441
144511
  card?: {
144442
144512
  name?: string | null | undefined;
@@ -144448,10 +144518,11 @@ declare const DesignSystemInviteEmailData: z$1.ZodObject<{
144448
144518
  } | null | undefined;
144449
144519
  monthlyCreditGrantAnchor?: string | null | undefined;
144450
144520
  monthlyCreditGrantAmount?: number | null | undefined;
144451
- builderSeatLimit?: number | undefined;
144452
- fullSeatLimit?: number | undefined;
144453
- builderSeats?: number | undefined;
144454
- fullSeats?: number | undefined;
144521
+ builderSeatLimit?: number | null | undefined;
144522
+ fullSeatLimit?: number | null | undefined;
144523
+ additionalCredits?: number | null | undefined;
144524
+ builderSeats?: number | null | undefined;
144525
+ fullSeats?: number | null | undefined;
144455
144526
  subscriptionStatus?: "unknown" | "active" | "trialing" | "past_due" | "canceled" | "unpaid" | "incomplete_expired" | "incomplete" | null | undefined;
144456
144527
  internalStatus?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | null | undefined;
144457
144528
  stripeSubscriptionId?: string | null | undefined;
@@ -144461,6 +144532,7 @@ declare const DesignSystemInviteEmailData: z$1.ZodObject<{
144461
144532
  cancelAt?: string | null | undefined;
144462
144533
  fullSeatPriceId?: string | null | undefined;
144463
144534
  builderSeatPriceId?: string | null | undefined;
144535
+ additionalCreditsPriceId?: string | null | undefined;
144464
144536
  subscriptionStatusUpdatedAt?: string | null | undefined;
144465
144537
  };
144466
144538
  hasOpenMeterSubject: boolean;
@@ -144936,7 +145008,7 @@ declare const DesignSystemInviteEmailData: z$1.ZodObject<{
144936
145008
  seats: number;
144937
145009
  seatLimit: number;
144938
145010
  planPriceId: string;
144939
- planInterval: "daily" | "monthly" | "weekly" | "yearly";
145011
+ planInterval: "daily" | "monthly" | "yearly";
144940
145012
  status?: NonNullable<"active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free"> | undefined;
144941
145013
  card?: {
144942
145014
  name?: string | null | undefined;
@@ -144950,6 +145022,7 @@ declare const DesignSystemInviteEmailData: z$1.ZodObject<{
144950
145022
  monthlyCreditGrantAmount?: number | undefined;
144951
145023
  builderSeatLimit?: number | undefined;
144952
145024
  fullSeatLimit?: number | undefined;
145025
+ additionalCredits?: number | undefined;
144953
145026
  builderSeats?: number | undefined;
144954
145027
  fullSeats?: number | undefined;
144955
145028
  subscriptionStatus?: NonNullable<"unknown" | "active" | "trialing" | "past_due" | "canceled" | "unpaid" | "incomplete_expired" | "incomplete"> | undefined;
@@ -144961,6 +145034,7 @@ declare const DesignSystemInviteEmailData: z$1.ZodObject<{
144961
145034
  cancelAt?: string | undefined;
144962
145035
  fullSeatPriceId?: string | undefined;
144963
145036
  builderSeatPriceId?: string | undefined;
145037
+ additionalCreditsPriceId?: string | undefined;
144964
145038
  subscriptionStatusUpdatedAt?: string | undefined;
144965
145039
  };
144966
145040
  aiFeaturesEnabled: boolean;
@@ -145112,7 +145186,7 @@ declare const DesignSystemInviteEmailData: z$1.ZodObject<{
145112
145186
  seats: number;
145113
145187
  seatLimit: number;
145114
145188
  planPriceId: string;
145115
- planInterval: "daily" | "monthly" | "weekly" | "yearly";
145189
+ planInterval: "daily" | "monthly" | "yearly";
145116
145190
  status?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | null | undefined;
145117
145191
  card?: {
145118
145192
  name?: string | null | undefined;
@@ -145124,10 +145198,11 @@ declare const DesignSystemInviteEmailData: z$1.ZodObject<{
145124
145198
  } | null | undefined;
145125
145199
  monthlyCreditGrantAnchor?: string | null | undefined;
145126
145200
  monthlyCreditGrantAmount?: number | null | undefined;
145127
- builderSeatLimit?: number | undefined;
145128
- fullSeatLimit?: number | undefined;
145129
- builderSeats?: number | undefined;
145130
- fullSeats?: number | undefined;
145201
+ builderSeatLimit?: number | null | undefined;
145202
+ fullSeatLimit?: number | null | undefined;
145203
+ additionalCredits?: number | null | undefined;
145204
+ builderSeats?: number | null | undefined;
145205
+ fullSeats?: number | null | undefined;
145131
145206
  subscriptionStatus?: "unknown" | "active" | "trialing" | "past_due" | "canceled" | "unpaid" | "incomplete_expired" | "incomplete" | null | undefined;
145132
145207
  internalStatus?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | null | undefined;
145133
145208
  stripeSubscriptionId?: string | null | undefined;
@@ -145137,6 +145212,7 @@ declare const DesignSystemInviteEmailData: z$1.ZodObject<{
145137
145212
  cancelAt?: string | null | undefined;
145138
145213
  fullSeatPriceId?: string | null | undefined;
145139
145214
  builderSeatPriceId?: string | null | undefined;
145215
+ additionalCreditsPriceId?: string | null | undefined;
145140
145216
  subscriptionStatusUpdatedAt?: string | null | undefined;
145141
145217
  };
145142
145218
  hasOpenMeterSubject: boolean;
@@ -145429,10 +145505,11 @@ declare const WorkspaceInviteEmailData: z$1.ZodObject<{
145429
145505
  seatLimit: z$1.ZodNumber;
145430
145506
  monthlyCreditGrantAnchor: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<string, z$1.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
145431
145507
  monthlyCreditGrantAmount: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<number, z$1.ZodTypeDef, number>>>, number | undefined, number | null | undefined>;
145432
- builderSeatLimit: z$1.ZodOptional<z$1.ZodNumber>;
145433
- fullSeatLimit: z$1.ZodOptional<z$1.ZodNumber>;
145434
- builderSeats: z$1.ZodOptional<z$1.ZodNumber>;
145435
- fullSeats: z$1.ZodOptional<z$1.ZodNumber>;
145508
+ builderSeatLimit: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<number, z$1.ZodTypeDef, number>>>, number | undefined, number | null | undefined>;
145509
+ fullSeatLimit: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<number, z$1.ZodTypeDef, number>>>, number | undefined, number | null | undefined>;
145510
+ additionalCredits: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<number, z$1.ZodTypeDef, number>>>, number | undefined, number | null | undefined>;
145511
+ builderSeats: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<number, z$1.ZodTypeDef, number>>>, number | undefined, number | null | undefined>;
145512
+ fullSeats: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<number, z$1.ZodTypeDef, number>>>, number | undefined, number | null | undefined>;
145436
145513
  status: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<"active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free", z$1.ZodTypeDef, "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free">>>, NonNullable<"active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free"> | undefined, "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | null | undefined>;
145437
145514
  subscriptionStatus: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<"unknown" | "active" | "trialing" | "past_due" | "canceled" | "unpaid" | "incomplete_expired" | "incomplete", z$1.ZodTypeDef, "unknown" | "active" | "trialing" | "past_due" | "canceled" | "unpaid" | "incomplete_expired" | "incomplete">>>, NonNullable<"unknown" | "active" | "trialing" | "past_due" | "canceled" | "unpaid" | "incomplete_expired" | "incomplete"> | undefined, "unknown" | "active" | "trialing" | "past_due" | "canceled" | "unpaid" | "incomplete_expired" | "incomplete" | null | undefined>;
145438
145515
  internalStatus: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<"active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free", z$1.ZodTypeDef, "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free">>>, NonNullable<"active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free"> | undefined, "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | null | undefined>;
@@ -145440,19 +145517,20 @@ declare const WorkspaceInviteEmailData: z$1.ZodObject<{
145440
145517
  stripeCustomerId: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<string, z$1.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
145441
145518
  product: z$1.ZodEnum<["free", "team", "company", "enterprise", "pro"]>;
145442
145519
  planPriceId: z$1.ZodString;
145443
- planInterval: z$1.ZodEnum<["daily", "monthly", "weekly", "yearly"]>;
145520
+ planInterval: z$1.ZodEnum<["daily", "monthly", "yearly"]>;
145444
145521
  currentPeriodStart: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<string, z$1.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
145445
145522
  currentPeriodEnd: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<string, z$1.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
145446
145523
  cancelAt: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<string, z$1.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
145447
145524
  fullSeatPriceId: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<string, z$1.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
145448
145525
  builderSeatPriceId: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<string, z$1.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
145526
+ additionalCreditsPriceId: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<string, z$1.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
145449
145527
  subscriptionStatusUpdatedAt: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<string, z$1.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
145450
145528
  }, "strip", z$1.ZodTypeAny, {
145451
145529
  product: "company" | "enterprise" | "free" | "team" | "pro";
145452
145530
  seats: number;
145453
145531
  seatLimit: number;
145454
145532
  planPriceId: string;
145455
- planInterval: "daily" | "monthly" | "weekly" | "yearly";
145533
+ planInterval: "daily" | "monthly" | "yearly";
145456
145534
  status?: NonNullable<"active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free"> | undefined;
145457
145535
  card?: {
145458
145536
  name?: string | null | undefined;
@@ -145466,6 +145544,7 @@ declare const WorkspaceInviteEmailData: z$1.ZodObject<{
145466
145544
  monthlyCreditGrantAmount?: number | undefined;
145467
145545
  builderSeatLimit?: number | undefined;
145468
145546
  fullSeatLimit?: number | undefined;
145547
+ additionalCredits?: number | undefined;
145469
145548
  builderSeats?: number | undefined;
145470
145549
  fullSeats?: number | undefined;
145471
145550
  subscriptionStatus?: NonNullable<"unknown" | "active" | "trialing" | "past_due" | "canceled" | "unpaid" | "incomplete_expired" | "incomplete"> | undefined;
@@ -145477,13 +145556,14 @@ declare const WorkspaceInviteEmailData: z$1.ZodObject<{
145477
145556
  cancelAt?: string | undefined;
145478
145557
  fullSeatPriceId?: string | undefined;
145479
145558
  builderSeatPriceId?: string | undefined;
145559
+ additionalCreditsPriceId?: string | undefined;
145480
145560
  subscriptionStatusUpdatedAt?: string | undefined;
145481
145561
  }, {
145482
145562
  product: "company" | "enterprise" | "free" | "team" | "pro";
145483
145563
  seats: number;
145484
145564
  seatLimit: number;
145485
145565
  planPriceId: string;
145486
- planInterval: "daily" | "monthly" | "weekly" | "yearly";
145566
+ planInterval: "daily" | "monthly" | "yearly";
145487
145567
  status?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | null | undefined;
145488
145568
  card?: {
145489
145569
  name?: string | null | undefined;
@@ -145495,10 +145575,11 @@ declare const WorkspaceInviteEmailData: z$1.ZodObject<{
145495
145575
  } | null | undefined;
145496
145576
  monthlyCreditGrantAnchor?: string | null | undefined;
145497
145577
  monthlyCreditGrantAmount?: number | null | undefined;
145498
- builderSeatLimit?: number | undefined;
145499
- fullSeatLimit?: number | undefined;
145500
- builderSeats?: number | undefined;
145501
- fullSeats?: number | undefined;
145578
+ builderSeatLimit?: number | null | undefined;
145579
+ fullSeatLimit?: number | null | undefined;
145580
+ additionalCredits?: number | null | undefined;
145581
+ builderSeats?: number | null | undefined;
145582
+ fullSeats?: number | null | undefined;
145502
145583
  subscriptionStatus?: "unknown" | "active" | "trialing" | "past_due" | "canceled" | "unpaid" | "incomplete_expired" | "incomplete" | null | undefined;
145503
145584
  internalStatus?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | null | undefined;
145504
145585
  stripeSubscriptionId?: string | null | undefined;
@@ -145508,6 +145589,7 @@ declare const WorkspaceInviteEmailData: z$1.ZodObject<{
145508
145589
  cancelAt?: string | null | undefined;
145509
145590
  fullSeatPriceId?: string | null | undefined;
145510
145591
  builderSeatPriceId?: string | null | undefined;
145592
+ additionalCreditsPriceId?: string | null | undefined;
145511
145593
  subscriptionStatusUpdatedAt?: string | null | undefined;
145512
145594
  }>;
145513
145595
  ipWhitelist: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<{
@@ -145694,7 +145776,7 @@ declare const WorkspaceInviteEmailData: z$1.ZodObject<{
145694
145776
  seats: number;
145695
145777
  seatLimit: number;
145696
145778
  planPriceId: string;
145697
- planInterval: "daily" | "monthly" | "weekly" | "yearly";
145779
+ planInterval: "daily" | "monthly" | "yearly";
145698
145780
  status?: NonNullable<"active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free"> | undefined;
145699
145781
  card?: {
145700
145782
  name?: string | null | undefined;
@@ -145708,6 +145790,7 @@ declare const WorkspaceInviteEmailData: z$1.ZodObject<{
145708
145790
  monthlyCreditGrantAmount?: number | undefined;
145709
145791
  builderSeatLimit?: number | undefined;
145710
145792
  fullSeatLimit?: number | undefined;
145793
+ additionalCredits?: number | undefined;
145711
145794
  builderSeats?: number | undefined;
145712
145795
  fullSeats?: number | undefined;
145713
145796
  subscriptionStatus?: NonNullable<"unknown" | "active" | "trialing" | "past_due" | "canceled" | "unpaid" | "incomplete_expired" | "incomplete"> | undefined;
@@ -145719,6 +145802,7 @@ declare const WorkspaceInviteEmailData: z$1.ZodObject<{
145719
145802
  cancelAt?: string | undefined;
145720
145803
  fullSeatPriceId?: string | undefined;
145721
145804
  builderSeatPriceId?: string | undefined;
145805
+ additionalCreditsPriceId?: string | undefined;
145722
145806
  subscriptionStatusUpdatedAt?: string | undefined;
145723
145807
  };
145724
145808
  aiFeaturesEnabled: boolean;
@@ -145794,7 +145878,7 @@ declare const WorkspaceInviteEmailData: z$1.ZodObject<{
145794
145878
  seats: number;
145795
145879
  seatLimit: number;
145796
145880
  planPriceId: string;
145797
- planInterval: "daily" | "monthly" | "weekly" | "yearly";
145881
+ planInterval: "daily" | "monthly" | "yearly";
145798
145882
  status?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | null | undefined;
145799
145883
  card?: {
145800
145884
  name?: string | null | undefined;
@@ -145806,10 +145890,11 @@ declare const WorkspaceInviteEmailData: z$1.ZodObject<{
145806
145890
  } | null | undefined;
145807
145891
  monthlyCreditGrantAnchor?: string | null | undefined;
145808
145892
  monthlyCreditGrantAmount?: number | null | undefined;
145809
- builderSeatLimit?: number | undefined;
145810
- fullSeatLimit?: number | undefined;
145811
- builderSeats?: number | undefined;
145812
- fullSeats?: number | undefined;
145893
+ builderSeatLimit?: number | null | undefined;
145894
+ fullSeatLimit?: number | null | undefined;
145895
+ additionalCredits?: number | null | undefined;
145896
+ builderSeats?: number | null | undefined;
145897
+ fullSeats?: number | null | undefined;
145813
145898
  subscriptionStatus?: "unknown" | "active" | "trialing" | "past_due" | "canceled" | "unpaid" | "incomplete_expired" | "incomplete" | null | undefined;
145814
145899
  internalStatus?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | null | undefined;
145815
145900
  stripeSubscriptionId?: string | null | undefined;
@@ -145819,6 +145904,7 @@ declare const WorkspaceInviteEmailData: z$1.ZodObject<{
145819
145904
  cancelAt?: string | null | undefined;
145820
145905
  fullSeatPriceId?: string | null | undefined;
145821
145906
  builderSeatPriceId?: string | null | undefined;
145907
+ additionalCreditsPriceId?: string | null | undefined;
145822
145908
  subscriptionStatusUpdatedAt?: string | null | undefined;
145823
145909
  };
145824
145910
  hasOpenMeterSubject: boolean;
@@ -146218,7 +146304,7 @@ declare const WorkspaceInviteEmailData: z$1.ZodObject<{
146218
146304
  seats: number;
146219
146305
  seatLimit: number;
146220
146306
  planPriceId: string;
146221
- planInterval: "daily" | "monthly" | "weekly" | "yearly";
146307
+ planInterval: "daily" | "monthly" | "yearly";
146222
146308
  status?: NonNullable<"active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free"> | undefined;
146223
146309
  card?: {
146224
146310
  name?: string | null | undefined;
@@ -146232,6 +146318,7 @@ declare const WorkspaceInviteEmailData: z$1.ZodObject<{
146232
146318
  monthlyCreditGrantAmount?: number | undefined;
146233
146319
  builderSeatLimit?: number | undefined;
146234
146320
  fullSeatLimit?: number | undefined;
146321
+ additionalCredits?: number | undefined;
146235
146322
  builderSeats?: number | undefined;
146236
146323
  fullSeats?: number | undefined;
146237
146324
  subscriptionStatus?: NonNullable<"unknown" | "active" | "trialing" | "past_due" | "canceled" | "unpaid" | "incomplete_expired" | "incomplete"> | undefined;
@@ -146243,6 +146330,7 @@ declare const WorkspaceInviteEmailData: z$1.ZodObject<{
146243
146330
  cancelAt?: string | undefined;
146244
146331
  fullSeatPriceId?: string | undefined;
146245
146332
  builderSeatPriceId?: string | undefined;
146333
+ additionalCreditsPriceId?: string | undefined;
146246
146334
  subscriptionStatusUpdatedAt?: string | undefined;
146247
146335
  };
146248
146336
  aiFeaturesEnabled: boolean;
@@ -146371,7 +146459,7 @@ declare const WorkspaceInviteEmailData: z$1.ZodObject<{
146371
146459
  seats: number;
146372
146460
  seatLimit: number;
146373
146461
  planPriceId: string;
146374
- planInterval: "daily" | "monthly" | "weekly" | "yearly";
146462
+ planInterval: "daily" | "monthly" | "yearly";
146375
146463
  status?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | null | undefined;
146376
146464
  card?: {
146377
146465
  name?: string | null | undefined;
@@ -146383,10 +146471,11 @@ declare const WorkspaceInviteEmailData: z$1.ZodObject<{
146383
146471
  } | null | undefined;
146384
146472
  monthlyCreditGrantAnchor?: string | null | undefined;
146385
146473
  monthlyCreditGrantAmount?: number | null | undefined;
146386
- builderSeatLimit?: number | undefined;
146387
- fullSeatLimit?: number | undefined;
146388
- builderSeats?: number | undefined;
146389
- fullSeats?: number | undefined;
146474
+ builderSeatLimit?: number | null | undefined;
146475
+ fullSeatLimit?: number | null | undefined;
146476
+ additionalCredits?: number | null | undefined;
146477
+ builderSeats?: number | null | undefined;
146478
+ fullSeats?: number | null | undefined;
146390
146479
  subscriptionStatus?: "unknown" | "active" | "trialing" | "past_due" | "canceled" | "unpaid" | "incomplete_expired" | "incomplete" | null | undefined;
146391
146480
  internalStatus?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | null | undefined;
146392
146481
  stripeSubscriptionId?: string | null | undefined;
@@ -146396,6 +146485,7 @@ declare const WorkspaceInviteEmailData: z$1.ZodObject<{
146396
146485
  cancelAt?: string | null | undefined;
146397
146486
  fullSeatPriceId?: string | null | undefined;
146398
146487
  builderSeatPriceId?: string | null | undefined;
146488
+ additionalCreditsPriceId?: string | null | undefined;
146399
146489
  subscriptionStatusUpdatedAt?: string | null | undefined;
146400
146490
  };
146401
146491
  hasOpenMeterSubject: boolean;