@supernova-studio/model 1.37.6 → 1.38.0

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
@@ -1406,9 +1406,9 @@ declare const PriceSchema: z.ZodObject<{
1406
1406
  type BillingInterval = z.infer<typeof BillingIntervalSchema>;
1407
1407
  type Price = z.infer<typeof PriceSchema>;
1408
1408
 
1409
- declare const ProductCodeSchema: z.ZodEnum<["free", "team", "company", "enterprise"]>;
1409
+ declare const ProductCodeSchema: z.ZodEnum<["free", "team", "company", "enterprise", "pro"]>;
1410
1410
  type ProductCode = z.infer<typeof ProductCodeSchema>;
1411
- declare const ProductCode: z.Values<["free", "team", "company", "enterprise"]>;
1411
+ declare const ProductCode: z.Values<["free", "team", "company", "enterprise", "pro"]>;
1412
1412
 
1413
1413
  declare const StripeSubscriptionStatusSchema: z.ZodEnum<["trialing", "active", "past_due", "canceled", "unpaid", "incomplete_expired", "incomplete", "unknown"]>;
1414
1414
  declare const InternalStatusSchema: z.ZodEnum<["active", "suspended", "gracePeriod", "cancelled", "downgraded_to_free"]>;
@@ -1462,7 +1462,7 @@ declare const Subscription: z.ZodObject<{
1462
1462
  internalStatus: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<"active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free", z.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>;
1463
1463
  stripeSubscriptionId: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<string, z.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
1464
1464
  stripeCustomerId: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<string, z.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
1465
- product: z.ZodEnum<["free", "team", "company", "enterprise"]>;
1465
+ product: z.ZodEnum<["free", "team", "company", "enterprise", "pro"]>;
1466
1466
  planPriceId: z.ZodString;
1467
1467
  planInterval: z.ZodEnum<["daily", "monthly", "weekly", "yearly"]>;
1468
1468
  currentPeriodStart: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<string, z.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
@@ -1470,7 +1470,7 @@ declare const Subscription: z.ZodObject<{
1470
1470
  cancelAt: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<string, z.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
1471
1471
  subscriptionStatusUpdatedAt: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<string, z.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
1472
1472
  }, "strip", z.ZodTypeAny, {
1473
- product: "company" | "enterprise" | "free" | "team";
1473
+ product: "company" | "enterprise" | "free" | "team" | "pro";
1474
1474
  seats: number;
1475
1475
  seatLimit: number;
1476
1476
  planPriceId: string;
@@ -1499,7 +1499,7 @@ declare const Subscription: z.ZodObject<{
1499
1499
  cancelAt?: string | undefined;
1500
1500
  subscriptionStatusUpdatedAt?: string | undefined;
1501
1501
  }, {
1502
- product: "company" | "enterprise" | "free" | "team";
1502
+ product: "company" | "enterprise" | "free" | "team" | "pro";
1503
1503
  seats: number;
1504
1504
  seatLimit: number;
1505
1505
  planPriceId: string;
@@ -1647,6 +1647,7 @@ declare const ForgeChatMessage: z.ZodObject<{
1647
1647
  tags: string[];
1648
1648
  comment?: string | undefined;
1649
1649
  }>>;
1650
+ replyToMessageId: z.ZodOptional<z.ZodString>;
1650
1651
  }, "strip", z.ZodTypeAny, {
1651
1652
  id: string;
1652
1653
  createdAt: Date;
@@ -1672,6 +1673,7 @@ declare const ForgeChatMessage: z.ZodObject<{
1672
1673
  tags: string[];
1673
1674
  comment?: string | undefined;
1674
1675
  } | undefined;
1676
+ replyToMessageId?: string | undefined;
1675
1677
  }, {
1676
1678
  id: string;
1677
1679
  createdAt: Date;
@@ -1697,6 +1699,7 @@ declare const ForgeChatMessage: z.ZodObject<{
1697
1699
  tags: string[];
1698
1700
  comment?: string | undefined;
1699
1701
  } | undefined;
1702
+ replyToMessageId?: string | undefined;
1700
1703
  }>;
1701
1704
  type ForgeChatMessage = z.infer<typeof ForgeChatMessage>;
1702
1705
 
@@ -12009,7 +12012,7 @@ declare const UserDump: z.ZodObject<{
12009
12012
  internalStatus: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<"active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free", z.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>;
12010
12013
  stripeSubscriptionId: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<string, z.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
12011
12014
  stripeCustomerId: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<string, z.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
12012
- product: z.ZodEnum<["free", "team", "company", "enterprise"]>;
12015
+ product: z.ZodEnum<["free", "team", "company", "enterprise", "pro"]>;
12013
12016
  planPriceId: z.ZodString;
12014
12017
  planInterval: z.ZodEnum<["daily", "monthly", "weekly", "yearly"]>;
12015
12018
  currentPeriodStart: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<string, z.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
@@ -12017,7 +12020,7 @@ declare const UserDump: z.ZodObject<{
12017
12020
  cancelAt: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<string, z.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
12018
12021
  subscriptionStatusUpdatedAt: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<string, z.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
12019
12022
  }, "strip", z.ZodTypeAny, {
12020
- product: "company" | "enterprise" | "free" | "team";
12023
+ product: "company" | "enterprise" | "free" | "team" | "pro";
12021
12024
  seats: number;
12022
12025
  seatLimit: number;
12023
12026
  planPriceId: string;
@@ -12046,7 +12049,7 @@ declare const UserDump: z.ZodObject<{
12046
12049
  cancelAt?: string | undefined;
12047
12050
  subscriptionStatusUpdatedAt?: string | undefined;
12048
12051
  }, {
12049
- product: "company" | "enterprise" | "free" | "team";
12052
+ product: "company" | "enterprise" | "free" | "team" | "pro";
12050
12053
  seats: number;
12051
12054
  seatLimit: number;
12052
12055
  planPriceId: string;
@@ -12255,7 +12258,7 @@ declare const UserDump: z.ZodObject<{
12255
12258
  } | undefined;
12256
12259
  };
12257
12260
  subscription: {
12258
- product: "company" | "enterprise" | "free" | "team";
12261
+ product: "company" | "enterprise" | "free" | "team" | "pro";
12259
12262
  seats: number;
12260
12263
  seatLimit: number;
12261
12264
  planPriceId: string;
@@ -12353,7 +12356,7 @@ declare const UserDump: z.ZodObject<{
12353
12356
  } | null | undefined;
12354
12357
  };
12355
12358
  subscription: {
12356
- product: "company" | "enterprise" | "free" | "team";
12359
+ product: "company" | "enterprise" | "free" | "team" | "pro";
12357
12360
  seats: number;
12358
12361
  seatLimit: number;
12359
12362
  planPriceId: string;
@@ -19270,7 +19273,7 @@ declare const UserDump: z.ZodObject<{
19270
19273
  } | undefined;
19271
19274
  };
19272
19275
  subscription: {
19273
- product: "company" | "enterprise" | "free" | "team";
19276
+ product: "company" | "enterprise" | "free" | "team" | "pro";
19274
19277
  seats: number;
19275
19278
  seatLimit: number;
19276
19279
  planPriceId: string;
@@ -20162,7 +20165,7 @@ declare const UserDump: z.ZodObject<{
20162
20165
  } | null | undefined;
20163
20166
  };
20164
20167
  subscription: {
20165
- product: "company" | "enterprise" | "free" | "team";
20168
+ product: "company" | "enterprise" | "free" | "team" | "pro";
20166
20169
  seats: number;
20167
20170
  seatLimit: number;
20168
20171
  planPriceId: string;
@@ -21056,7 +21059,7 @@ declare const UserDump: z.ZodObject<{
21056
21059
  } | undefined;
21057
21060
  };
21058
21061
  subscription: {
21059
- product: "company" | "enterprise" | "free" | "team";
21062
+ product: "company" | "enterprise" | "free" | "team" | "pro";
21060
21063
  seats: number;
21061
21064
  seatLimit: number;
21062
21065
  planPriceId: string;
@@ -21990,7 +21993,7 @@ declare const UserDump: z.ZodObject<{
21990
21993
  } | null | undefined;
21991
21994
  };
21992
21995
  subscription: {
21993
- product: "company" | "enterprise" | "free" | "team";
21996
+ product: "company" | "enterprise" | "free" | "team" | "pro";
21994
21997
  seats: number;
21995
21998
  seatLimit: number;
21996
21999
  planPriceId: string;
@@ -23055,7 +23058,7 @@ declare const WorkspaceDump: z.ZodObject<{
23055
23058
  internalStatus: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<"active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free", z.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>;
23056
23059
  stripeSubscriptionId: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<string, z.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
23057
23060
  stripeCustomerId: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<string, z.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
23058
- product: z.ZodEnum<["free", "team", "company", "enterprise"]>;
23061
+ product: z.ZodEnum<["free", "team", "company", "enterprise", "pro"]>;
23059
23062
  planPriceId: z.ZodString;
23060
23063
  planInterval: z.ZodEnum<["daily", "monthly", "weekly", "yearly"]>;
23061
23064
  currentPeriodStart: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<string, z.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
@@ -23063,7 +23066,7 @@ declare const WorkspaceDump: z.ZodObject<{
23063
23066
  cancelAt: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<string, z.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
23064
23067
  subscriptionStatusUpdatedAt: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<string, z.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
23065
23068
  }, "strip", z.ZodTypeAny, {
23066
- product: "company" | "enterprise" | "free" | "team";
23069
+ product: "company" | "enterprise" | "free" | "team" | "pro";
23067
23070
  seats: number;
23068
23071
  seatLimit: number;
23069
23072
  planPriceId: string;
@@ -23092,7 +23095,7 @@ declare const WorkspaceDump: z.ZodObject<{
23092
23095
  cancelAt?: string | undefined;
23093
23096
  subscriptionStatusUpdatedAt?: string | undefined;
23094
23097
  }, {
23095
- product: "company" | "enterprise" | "free" | "team";
23098
+ product: "company" | "enterprise" | "free" | "team" | "pro";
23096
23099
  seats: number;
23097
23100
  seatLimit: number;
23098
23101
  planPriceId: string;
@@ -23301,7 +23304,7 @@ declare const WorkspaceDump: z.ZodObject<{
23301
23304
  } | undefined;
23302
23305
  };
23303
23306
  subscription: {
23304
- product: "company" | "enterprise" | "free" | "team";
23307
+ product: "company" | "enterprise" | "free" | "team" | "pro";
23305
23308
  seats: number;
23306
23309
  seatLimit: number;
23307
23310
  planPriceId: string;
@@ -23399,7 +23402,7 @@ declare const WorkspaceDump: z.ZodObject<{
23399
23402
  } | null | undefined;
23400
23403
  };
23401
23404
  subscription: {
23402
- product: "company" | "enterprise" | "free" | "team";
23405
+ product: "company" | "enterprise" | "free" | "team" | "pro";
23403
23406
  seats: number;
23404
23407
  seatLimit: number;
23405
23408
  planPriceId: string;
@@ -30316,7 +30319,7 @@ declare const WorkspaceDump: z.ZodObject<{
30316
30319
  } | undefined;
30317
30320
  };
30318
30321
  subscription: {
30319
- product: "company" | "enterprise" | "free" | "team";
30322
+ product: "company" | "enterprise" | "free" | "team" | "pro";
30320
30323
  seats: number;
30321
30324
  seatLimit: number;
30322
30325
  planPriceId: string;
@@ -31208,7 +31211,7 @@ declare const WorkspaceDump: z.ZodObject<{
31208
31211
  } | null | undefined;
31209
31212
  };
31210
31213
  subscription: {
31211
- product: "company" | "enterprise" | "free" | "team";
31214
+ product: "company" | "enterprise" | "free" | "team" | "pro";
31212
31215
  seats: number;
31213
31216
  seatLimit: number;
31214
31217
  planPriceId: string;
@@ -138537,7 +138540,7 @@ type WorkspaceConfigurationUpdate = z.infer<typeof WorkspaceConfigurationUpdate>
138537
138540
 
138538
138541
  declare const WorkspaceContext: z.ZodObject<{
138539
138542
  workspaceId: z.ZodString;
138540
- product: z.ZodEnum<["free", "team", "company", "enterprise"]>;
138543
+ product: z.ZodEnum<["free", "team", "company", "enterprise", "pro"]>;
138541
138544
  ipWhitelist: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<{
138542
138545
  entries: {
138543
138546
  name: string;
@@ -138573,7 +138576,7 @@ declare const WorkspaceContext: z.ZodObject<{
138573
138576
  } | null | undefined>;
138574
138577
  publicDesignSystem: z.ZodOptional<z.ZodBoolean>;
138575
138578
  }, "strip", z.ZodTypeAny, {
138576
- product: "company" | "enterprise" | "free" | "team";
138579
+ product: "company" | "enterprise" | "free" | "team" | "pro";
138577
138580
  workspaceId: string;
138578
138581
  ipWhitelist?: {
138579
138582
  entries: {
@@ -138586,7 +138589,7 @@ declare const WorkspaceContext: z.ZodObject<{
138586
138589
  } | undefined;
138587
138590
  publicDesignSystem?: boolean | undefined;
138588
138591
  }, {
138589
- product: "company" | "enterprise" | "free" | "team";
138592
+ product: "company" | "enterprise" | "free" | "team" | "pro";
138590
138593
  workspaceId: string;
138591
138594
  ipWhitelist?: {
138592
138595
  entries: {
@@ -139166,7 +139169,7 @@ declare const Workspace: z.ZodObject<{
139166
139169
  internalStatus: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<"active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free", z.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>;
139167
139170
  stripeSubscriptionId: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<string, z.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
139168
139171
  stripeCustomerId: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<string, z.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
139169
- product: z.ZodEnum<["free", "team", "company", "enterprise"]>;
139172
+ product: z.ZodEnum<["free", "team", "company", "enterprise", "pro"]>;
139170
139173
  planPriceId: z.ZodString;
139171
139174
  planInterval: z.ZodEnum<["daily", "monthly", "weekly", "yearly"]>;
139172
139175
  currentPeriodStart: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<string, z.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
@@ -139174,7 +139177,7 @@ declare const Workspace: z.ZodObject<{
139174
139177
  cancelAt: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<string, z.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
139175
139178
  subscriptionStatusUpdatedAt: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<string, z.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
139176
139179
  }, "strip", z.ZodTypeAny, {
139177
- product: "company" | "enterprise" | "free" | "team";
139180
+ product: "company" | "enterprise" | "free" | "team" | "pro";
139178
139181
  seats: number;
139179
139182
  seatLimit: number;
139180
139183
  planPriceId: string;
@@ -139203,7 +139206,7 @@ declare const Workspace: z.ZodObject<{
139203
139206
  cancelAt?: string | undefined;
139204
139207
  subscriptionStatusUpdatedAt?: string | undefined;
139205
139208
  }, {
139206
- product: "company" | "enterprise" | "free" | "team";
139209
+ product: "company" | "enterprise" | "free" | "team" | "pro";
139207
139210
  seats: number;
139208
139211
  seatLimit: number;
139209
139212
  planPriceId: string;
@@ -139412,7 +139415,7 @@ declare const Workspace: z.ZodObject<{
139412
139415
  } | undefined;
139413
139416
  };
139414
139417
  subscription: {
139415
- product: "company" | "enterprise" | "free" | "team";
139418
+ product: "company" | "enterprise" | "free" | "team" | "pro";
139416
139419
  seats: number;
139417
139420
  seatLimit: number;
139418
139421
  planPriceId: string;
@@ -139510,7 +139513,7 @@ declare const Workspace: z.ZodObject<{
139510
139513
  } | null | undefined;
139511
139514
  };
139512
139515
  subscription: {
139513
- product: "company" | "enterprise" | "free" | "team";
139516
+ product: "company" | "enterprise" | "free" | "team" | "pro";
139514
139517
  seats: number;
139515
139518
  seatLimit: number;
139516
139519
  planPriceId: string;
@@ -139740,7 +139743,7 @@ declare const WorkspaceWithDesignSystems: z.ZodObject<{
139740
139743
  internalStatus: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<"active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free", z.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>;
139741
139744
  stripeSubscriptionId: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<string, z.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
139742
139745
  stripeCustomerId: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<string, z.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
139743
- product: z.ZodEnum<["free", "team", "company", "enterprise"]>;
139746
+ product: z.ZodEnum<["free", "team", "company", "enterprise", "pro"]>;
139744
139747
  planPriceId: z.ZodString;
139745
139748
  planInterval: z.ZodEnum<["daily", "monthly", "weekly", "yearly"]>;
139746
139749
  currentPeriodStart: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<string, z.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
@@ -139748,7 +139751,7 @@ declare const WorkspaceWithDesignSystems: z.ZodObject<{
139748
139751
  cancelAt: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<string, z.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
139749
139752
  subscriptionStatusUpdatedAt: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<string, z.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
139750
139753
  }, "strip", z.ZodTypeAny, {
139751
- product: "company" | "enterprise" | "free" | "team";
139754
+ product: "company" | "enterprise" | "free" | "team" | "pro";
139752
139755
  seats: number;
139753
139756
  seatLimit: number;
139754
139757
  planPriceId: string;
@@ -139777,7 +139780,7 @@ declare const WorkspaceWithDesignSystems: z.ZodObject<{
139777
139780
  cancelAt?: string | undefined;
139778
139781
  subscriptionStatusUpdatedAt?: string | undefined;
139779
139782
  }, {
139780
- product: "company" | "enterprise" | "free" | "team";
139783
+ product: "company" | "enterprise" | "free" | "team" | "pro";
139781
139784
  seats: number;
139782
139785
  seatLimit: number;
139783
139786
  planPriceId: string;
@@ -139986,7 +139989,7 @@ declare const WorkspaceWithDesignSystems: z.ZodObject<{
139986
139989
  } | undefined;
139987
139990
  };
139988
139991
  subscription: {
139989
- product: "company" | "enterprise" | "free" | "team";
139992
+ product: "company" | "enterprise" | "free" | "team" | "pro";
139990
139993
  seats: number;
139991
139994
  seatLimit: number;
139992
139995
  planPriceId: string;
@@ -140084,7 +140087,7 @@ declare const WorkspaceWithDesignSystems: z.ZodObject<{
140084
140087
  } | null | undefined;
140085
140088
  };
140086
140089
  subscription: {
140087
- product: "company" | "enterprise" | "free" | "team";
140090
+ product: "company" | "enterprise" | "free" | "team" | "pro";
140088
140091
  seats: number;
140089
140092
  seatLimit: number;
140090
140093
  planPriceId: string;
@@ -140260,7 +140263,7 @@ declare const WorkspaceWithDesignSystems: z.ZodObject<{
140260
140263
  } | undefined;
140261
140264
  };
140262
140265
  subscription: {
140263
- product: "company" | "enterprise" | "free" | "team";
140266
+ product: "company" | "enterprise" | "free" | "team" | "pro";
140264
140267
  seats: number;
140265
140268
  seatLimit: number;
140266
140269
  planPriceId: string;
@@ -140383,7 +140386,7 @@ declare const WorkspaceWithDesignSystems: z.ZodObject<{
140383
140386
  } | null | undefined;
140384
140387
  };
140385
140388
  subscription: {
140386
- product: "company" | "enterprise" | "free" | "team";
140389
+ product: "company" | "enterprise" | "free" | "team" | "pro";
140387
140390
  seats: number;
140388
140391
  seatLimit: number;
140389
140392
  planPriceId: string;
@@ -143921,7 +143924,7 @@ declare const DesignSystemInviteEmailData: z.ZodObject<{
143921
143924
  internalStatus: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<"active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free", z.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>;
143922
143925
  stripeSubscriptionId: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<string, z.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
143923
143926
  stripeCustomerId: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<string, z.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
143924
- product: z.ZodEnum<["free", "team", "company", "enterprise"]>;
143927
+ product: z.ZodEnum<["free", "team", "company", "enterprise", "pro"]>;
143925
143928
  planPriceId: z.ZodString;
143926
143929
  planInterval: z.ZodEnum<["daily", "monthly", "weekly", "yearly"]>;
143927
143930
  currentPeriodStart: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<string, z.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
@@ -143929,7 +143932,7 @@ declare const DesignSystemInviteEmailData: z.ZodObject<{
143929
143932
  cancelAt: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<string, z.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
143930
143933
  subscriptionStatusUpdatedAt: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<string, z.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
143931
143934
  }, "strip", z.ZodTypeAny, {
143932
- product: "company" | "enterprise" | "free" | "team";
143935
+ product: "company" | "enterprise" | "free" | "team" | "pro";
143933
143936
  seats: number;
143934
143937
  seatLimit: number;
143935
143938
  planPriceId: string;
@@ -143958,7 +143961,7 @@ declare const DesignSystemInviteEmailData: z.ZodObject<{
143958
143961
  cancelAt?: string | undefined;
143959
143962
  subscriptionStatusUpdatedAt?: string | undefined;
143960
143963
  }, {
143961
- product: "company" | "enterprise" | "free" | "team";
143964
+ product: "company" | "enterprise" | "free" | "team" | "pro";
143962
143965
  seats: number;
143963
143966
  seatLimit: number;
143964
143967
  planPriceId: string;
@@ -144167,7 +144170,7 @@ declare const DesignSystemInviteEmailData: z.ZodObject<{
144167
144170
  } | undefined;
144168
144171
  };
144169
144172
  subscription: {
144170
- product: "company" | "enterprise" | "free" | "team";
144173
+ product: "company" | "enterprise" | "free" | "team" | "pro";
144171
144174
  seats: number;
144172
144175
  seatLimit: number;
144173
144176
  planPriceId: string;
@@ -144265,7 +144268,7 @@ declare const DesignSystemInviteEmailData: z.ZodObject<{
144265
144268
  } | null | undefined;
144266
144269
  };
144267
144270
  subscription: {
144268
- product: "company" | "enterprise" | "free" | "team";
144271
+ product: "company" | "enterprise" | "free" | "team" | "pro";
144269
144272
  seats: number;
144270
144273
  seatLimit: number;
144271
144274
  planPriceId: string;
@@ -144721,7 +144724,7 @@ declare const DesignSystemInviteEmailData: z.ZodObject<{
144721
144724
  } | undefined;
144722
144725
  };
144723
144726
  subscription: {
144724
- product: "company" | "enterprise" | "free" | "team";
144727
+ product: "company" | "enterprise" | "free" | "team" | "pro";
144725
144728
  seats: number;
144726
144729
  seatLimit: number;
144727
144730
  planPriceId: string;
@@ -144892,7 +144895,7 @@ declare const DesignSystemInviteEmailData: z.ZodObject<{
144892
144895
  } | null | undefined;
144893
144896
  };
144894
144897
  subscription: {
144895
- product: "company" | "enterprise" | "free" | "team";
144898
+ product: "company" | "enterprise" | "free" | "team" | "pro";
144896
144899
  seats: number;
144897
144900
  seatLimit: number;
144898
144901
  planPriceId: string;
@@ -145217,7 +145220,7 @@ declare const WorkspaceInviteEmailData: z.ZodObject<{
145217
145220
  internalStatus: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<"active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free", z.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>;
145218
145221
  stripeSubscriptionId: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<string, z.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
145219
145222
  stripeCustomerId: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<string, z.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
145220
- product: z.ZodEnum<["free", "team", "company", "enterprise"]>;
145223
+ product: z.ZodEnum<["free", "team", "company", "enterprise", "pro"]>;
145221
145224
  planPriceId: z.ZodString;
145222
145225
  planInterval: z.ZodEnum<["daily", "monthly", "weekly", "yearly"]>;
145223
145226
  currentPeriodStart: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<string, z.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
@@ -145225,7 +145228,7 @@ declare const WorkspaceInviteEmailData: z.ZodObject<{
145225
145228
  cancelAt: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<string, z.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
145226
145229
  subscriptionStatusUpdatedAt: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<string, z.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
145227
145230
  }, "strip", z.ZodTypeAny, {
145228
- product: "company" | "enterprise" | "free" | "team";
145231
+ product: "company" | "enterprise" | "free" | "team" | "pro";
145229
145232
  seats: number;
145230
145233
  seatLimit: number;
145231
145234
  planPriceId: string;
@@ -145254,7 +145257,7 @@ declare const WorkspaceInviteEmailData: z.ZodObject<{
145254
145257
  cancelAt?: string | undefined;
145255
145258
  subscriptionStatusUpdatedAt?: string | undefined;
145256
145259
  }, {
145257
- product: "company" | "enterprise" | "free" | "team";
145260
+ product: "company" | "enterprise" | "free" | "team" | "pro";
145258
145261
  seats: number;
145259
145262
  seatLimit: number;
145260
145263
  planPriceId: string;
@@ -145463,7 +145466,7 @@ declare const WorkspaceInviteEmailData: z.ZodObject<{
145463
145466
  } | undefined;
145464
145467
  };
145465
145468
  subscription: {
145466
- product: "company" | "enterprise" | "free" | "team";
145469
+ product: "company" | "enterprise" | "free" | "team" | "pro";
145467
145470
  seats: number;
145468
145471
  seatLimit: number;
145469
145472
  planPriceId: string;
@@ -145561,7 +145564,7 @@ declare const WorkspaceInviteEmailData: z.ZodObject<{
145561
145564
  } | null | undefined;
145562
145565
  };
145563
145566
  subscription: {
145564
- product: "company" | "enterprise" | "free" | "team";
145567
+ product: "company" | "enterprise" | "free" | "team" | "pro";
145565
145568
  seats: number;
145566
145569
  seatLimit: number;
145567
145570
  planPriceId: string;
@@ -145941,7 +145944,7 @@ declare const WorkspaceInviteEmailData: z.ZodObject<{
145941
145944
  } | undefined;
145942
145945
  };
145943
145946
  subscription: {
145944
- product: "company" | "enterprise" | "free" | "team";
145947
+ product: "company" | "enterprise" | "free" | "team" | "pro";
145945
145948
  seats: number;
145946
145949
  seatLimit: number;
145947
145950
  planPriceId: string;
@@ -146089,7 +146092,7 @@ declare const WorkspaceInviteEmailData: z.ZodObject<{
146089
146092
  } | null | undefined;
146090
146093
  };
146091
146094
  subscription: {
146092
- product: "company" | "enterprise" | "free" | "team";
146095
+ product: "company" | "enterprise" | "free" | "team" | "pro";
146093
146096
  seats: number;
146094
146097
  seatLimit: number;
146095
146098
  planPriceId: string;
package/dist/index.js CHANGED
@@ -247,7 +247,7 @@ var PriceSchema = _zod.z.object({
247
247
 
248
248
  // src/billing/product.ts
249
249
 
250
- var ProductCodeSchema = _zod.z.enum(["free", "team", "company", "enterprise"]);
250
+ var ProductCodeSchema = _zod.z.enum(["free", "team", "company", "enterprise", "pro"]);
251
251
  var ProductCode = ProductCodeSchema.enum;
252
252
 
253
253
  // src/billing/subscription.ts
@@ -321,7 +321,8 @@ var ForgeChatMessage = _zod.z.object({
321
321
  updatedAt: _zod.z.coerce.date(),
322
322
  opikTraceId: _zod.z.string().optional(),
323
323
  sender: ForgeChatMessageSender,
324
- userScore: ForgeChatMessageUserScore.optional()
324
+ userScore: ForgeChatMessageUserScore.optional(),
325
+ replyToMessageId: _zod.z.string().optional()
325
326
  });
326
327
 
327
328
  // src/chat-threads/chat-thread.ts