@supernova-studio/client 1.40.4 → 1.40.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
@@ -373,6 +373,8 @@ declare const DTOAppBootstrapDataResponse: z$1.ZodObject<{
373
373
  currentPeriodStart: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<string, z$1.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
374
374
  currentPeriodEnd: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<string, z$1.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
375
375
  cancelAt: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<string, z$1.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
376
+ fullSeatPriceId: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<string, z$1.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
377
+ builderSeatPriceId: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<string, z$1.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
376
378
  subscriptionStatusUpdatedAt: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<string, z$1.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
377
379
  }, "strip", z$1.ZodTypeAny, {
378
380
  product: "company" | "enterprise" | "free" | "team" | "pro";
@@ -402,6 +404,8 @@ declare const DTOAppBootstrapDataResponse: z$1.ZodObject<{
402
404
  currentPeriodStart?: string | undefined;
403
405
  currentPeriodEnd?: string | undefined;
404
406
  cancelAt?: string | undefined;
407
+ fullSeatPriceId?: string | undefined;
408
+ builderSeatPriceId?: string | undefined;
405
409
  subscriptionStatusUpdatedAt?: string | undefined;
406
410
  }, {
407
411
  product: "company" | "enterprise" | "free" | "team" | "pro";
@@ -431,6 +435,8 @@ declare const DTOAppBootstrapDataResponse: z$1.ZodObject<{
431
435
  currentPeriodStart?: string | null | undefined;
432
436
  currentPeriodEnd?: string | null | undefined;
433
437
  cancelAt?: string | null | undefined;
438
+ fullSeatPriceId?: string | null | undefined;
439
+ builderSeatPriceId?: string | null | undefined;
434
440
  subscriptionStatusUpdatedAt?: string | null | undefined;
435
441
  }>;
436
442
  npmRegistry: z$1.ZodOptional<z$1.ZodObject<{
@@ -522,6 +528,8 @@ declare const DTOAppBootstrapDataResponse: z$1.ZodObject<{
522
528
  currentPeriodStart?: string | undefined;
523
529
  currentPeriodEnd?: string | undefined;
524
530
  cancelAt?: string | undefined;
531
+ fullSeatPriceId?: string | undefined;
532
+ builderSeatPriceId?: string | undefined;
525
533
  subscriptionStatusUpdatedAt?: string | undefined;
526
534
  };
527
535
  aiFeaturesEnabled: boolean;
@@ -591,6 +599,8 @@ declare const DTOAppBootstrapDataResponse: z$1.ZodObject<{
591
599
  currentPeriodStart?: string | null | undefined;
592
600
  currentPeriodEnd?: string | null | undefined;
593
601
  cancelAt?: string | null | undefined;
602
+ fullSeatPriceId?: string | null | undefined;
603
+ builderSeatPriceId?: string | null | undefined;
594
604
  subscriptionStatusUpdatedAt?: string | null | undefined;
595
605
  };
596
606
  npmRegistry?: {
@@ -666,6 +676,8 @@ declare const DTOAppBootstrapDataResponse: z$1.ZodObject<{
666
676
  currentPeriodStart?: string | undefined;
667
677
  currentPeriodEnd?: string | undefined;
668
678
  cancelAt?: string | undefined;
679
+ fullSeatPriceId?: string | undefined;
680
+ builderSeatPriceId?: string | undefined;
669
681
  subscriptionStatusUpdatedAt?: string | undefined;
670
682
  };
671
683
  aiFeaturesEnabled: boolean;
@@ -741,6 +753,8 @@ declare const DTOAppBootstrapDataResponse: z$1.ZodObject<{
741
753
  currentPeriodStart?: string | null | undefined;
742
754
  currentPeriodEnd?: string | null | undefined;
743
755
  cancelAt?: string | null | undefined;
756
+ fullSeatPriceId?: string | null | undefined;
757
+ builderSeatPriceId?: string | null | undefined;
744
758
  subscriptionStatusUpdatedAt?: string | null | undefined;
745
759
  };
746
760
  npmRegistry?: {
@@ -1047,6 +1061,8 @@ declare const DTOAppBootstrapDataResponse: z$1.ZodObject<{
1047
1061
  currentPeriodStart?: string | undefined;
1048
1062
  currentPeriodEnd?: string | undefined;
1049
1063
  cancelAt?: string | undefined;
1064
+ fullSeatPriceId?: string | undefined;
1065
+ builderSeatPriceId?: string | undefined;
1050
1066
  subscriptionStatusUpdatedAt?: string | undefined;
1051
1067
  };
1052
1068
  aiFeaturesEnabled: boolean;
@@ -1175,6 +1191,8 @@ declare const DTOAppBootstrapDataResponse: z$1.ZodObject<{
1175
1191
  currentPeriodStart?: string | null | undefined;
1176
1192
  currentPeriodEnd?: string | null | undefined;
1177
1193
  cancelAt?: string | null | undefined;
1194
+ fullSeatPriceId?: string | null | undefined;
1195
+ builderSeatPriceId?: string | null | undefined;
1178
1196
  subscriptionStatusUpdatedAt?: string | null | undefined;
1179
1197
  };
1180
1198
  npmRegistry?: {
@@ -10063,6 +10081,8 @@ declare const DTOUserDesignSystemsResponse: z$1.ZodObject<{
10063
10081
  currentPeriodStart: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<string, z$1.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
10064
10082
  currentPeriodEnd: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<string, z$1.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
10065
10083
  cancelAt: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<string, z$1.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
10084
+ fullSeatPriceId: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<string, z$1.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
10085
+ builderSeatPriceId: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<string, z$1.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
10066
10086
  subscriptionStatusUpdatedAt: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<string, z$1.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
10067
10087
  }, "strip", z$1.ZodTypeAny, {
10068
10088
  product: "company" | "enterprise" | "free" | "team" | "pro";
@@ -10092,6 +10112,8 @@ declare const DTOUserDesignSystemsResponse: z$1.ZodObject<{
10092
10112
  currentPeriodStart?: string | undefined;
10093
10113
  currentPeriodEnd?: string | undefined;
10094
10114
  cancelAt?: string | undefined;
10115
+ fullSeatPriceId?: string | undefined;
10116
+ builderSeatPriceId?: string | undefined;
10095
10117
  subscriptionStatusUpdatedAt?: string | undefined;
10096
10118
  }, {
10097
10119
  product: "company" | "enterprise" | "free" | "team" | "pro";
@@ -10121,6 +10143,8 @@ declare const DTOUserDesignSystemsResponse: z$1.ZodObject<{
10121
10143
  currentPeriodStart?: string | null | undefined;
10122
10144
  currentPeriodEnd?: string | null | undefined;
10123
10145
  cancelAt?: string | null | undefined;
10146
+ fullSeatPriceId?: string | null | undefined;
10147
+ builderSeatPriceId?: string | null | undefined;
10124
10148
  subscriptionStatusUpdatedAt?: string | null | undefined;
10125
10149
  }>;
10126
10150
  npmRegistry: z$1.ZodOptional<z$1.ZodObject<{
@@ -10212,6 +10236,8 @@ declare const DTOUserDesignSystemsResponse: z$1.ZodObject<{
10212
10236
  currentPeriodStart?: string | undefined;
10213
10237
  currentPeriodEnd?: string | undefined;
10214
10238
  cancelAt?: string | undefined;
10239
+ fullSeatPriceId?: string | undefined;
10240
+ builderSeatPriceId?: string | undefined;
10215
10241
  subscriptionStatusUpdatedAt?: string | undefined;
10216
10242
  };
10217
10243
  aiFeaturesEnabled: boolean;
@@ -10281,6 +10307,8 @@ declare const DTOUserDesignSystemsResponse: z$1.ZodObject<{
10281
10307
  currentPeriodStart?: string | null | undefined;
10282
10308
  currentPeriodEnd?: string | null | undefined;
10283
10309
  cancelAt?: string | null | undefined;
10310
+ fullSeatPriceId?: string | null | undefined;
10311
+ builderSeatPriceId?: string | null | undefined;
10284
10312
  subscriptionStatusUpdatedAt?: string | null | undefined;
10285
10313
  };
10286
10314
  npmRegistry?: {
@@ -10382,6 +10410,8 @@ declare const DTOUserDesignSystemsResponse: z$1.ZodObject<{
10382
10410
  currentPeriodStart?: string | undefined;
10383
10411
  currentPeriodEnd?: string | undefined;
10384
10412
  cancelAt?: string | undefined;
10413
+ fullSeatPriceId?: string | undefined;
10414
+ builderSeatPriceId?: string | undefined;
10385
10415
  subscriptionStatusUpdatedAt?: string | undefined;
10386
10416
  };
10387
10417
  aiFeaturesEnabled: boolean;
@@ -10483,6 +10513,8 @@ declare const DTOUserDesignSystemsResponse: z$1.ZodObject<{
10483
10513
  currentPeriodStart?: string | null | undefined;
10484
10514
  currentPeriodEnd?: string | null | undefined;
10485
10515
  cancelAt?: string | null | undefined;
10516
+ fullSeatPriceId?: string | null | undefined;
10517
+ builderSeatPriceId?: string | null | undefined;
10486
10518
  subscriptionStatusUpdatedAt?: string | null | undefined;
10487
10519
  };
10488
10520
  npmRegistry?: {
@@ -179400,6 +179432,8 @@ declare const DTOUserWorkspaceMembership: z$1.ZodObject<{
179400
179432
  currentPeriodStart: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<string, z$1.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
179401
179433
  currentPeriodEnd: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<string, z$1.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
179402
179434
  cancelAt: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<string, z$1.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
179435
+ fullSeatPriceId: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<string, z$1.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
179436
+ builderSeatPriceId: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<string, z$1.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
179403
179437
  subscriptionStatusUpdatedAt: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<string, z$1.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
179404
179438
  }, "strip", z$1.ZodTypeAny, {
179405
179439
  product: "company" | "enterprise" | "free" | "team" | "pro";
@@ -179429,6 +179463,8 @@ declare const DTOUserWorkspaceMembership: z$1.ZodObject<{
179429
179463
  currentPeriodStart?: string | undefined;
179430
179464
  currentPeriodEnd?: string | undefined;
179431
179465
  cancelAt?: string | undefined;
179466
+ fullSeatPriceId?: string | undefined;
179467
+ builderSeatPriceId?: string | undefined;
179432
179468
  subscriptionStatusUpdatedAt?: string | undefined;
179433
179469
  }, {
179434
179470
  product: "company" | "enterprise" | "free" | "team" | "pro";
@@ -179458,6 +179494,8 @@ declare const DTOUserWorkspaceMembership: z$1.ZodObject<{
179458
179494
  currentPeriodStart?: string | null | undefined;
179459
179495
  currentPeriodEnd?: string | null | undefined;
179460
179496
  cancelAt?: string | null | undefined;
179497
+ fullSeatPriceId?: string | null | undefined;
179498
+ builderSeatPriceId?: string | null | undefined;
179461
179499
  subscriptionStatusUpdatedAt?: string | null | undefined;
179462
179500
  }>;
179463
179501
  npmRegistry: z$1.ZodOptional<z$1.ZodObject<{
@@ -179549,6 +179587,8 @@ declare const DTOUserWorkspaceMembership: z$1.ZodObject<{
179549
179587
  currentPeriodStart?: string | undefined;
179550
179588
  currentPeriodEnd?: string | undefined;
179551
179589
  cancelAt?: string | undefined;
179590
+ fullSeatPriceId?: string | undefined;
179591
+ builderSeatPriceId?: string | undefined;
179552
179592
  subscriptionStatusUpdatedAt?: string | undefined;
179553
179593
  };
179554
179594
  aiFeaturesEnabled: boolean;
@@ -179618,6 +179658,8 @@ declare const DTOUserWorkspaceMembership: z$1.ZodObject<{
179618
179658
  currentPeriodStart?: string | null | undefined;
179619
179659
  currentPeriodEnd?: string | null | undefined;
179620
179660
  cancelAt?: string | null | undefined;
179661
+ fullSeatPriceId?: string | null | undefined;
179662
+ builderSeatPriceId?: string | null | undefined;
179621
179663
  subscriptionStatusUpdatedAt?: string | null | undefined;
179622
179664
  };
179623
179665
  npmRegistry?: {
@@ -179693,6 +179735,8 @@ declare const DTOUserWorkspaceMembership: z$1.ZodObject<{
179693
179735
  currentPeriodStart?: string | undefined;
179694
179736
  currentPeriodEnd?: string | undefined;
179695
179737
  cancelAt?: string | undefined;
179738
+ fullSeatPriceId?: string | undefined;
179739
+ builderSeatPriceId?: string | undefined;
179696
179740
  subscriptionStatusUpdatedAt?: string | undefined;
179697
179741
  };
179698
179742
  aiFeaturesEnabled: boolean;
@@ -179768,6 +179812,8 @@ declare const DTOUserWorkspaceMembership: z$1.ZodObject<{
179768
179812
  currentPeriodStart?: string | null | undefined;
179769
179813
  currentPeriodEnd?: string | null | undefined;
179770
179814
  cancelAt?: string | null | undefined;
179815
+ fullSeatPriceId?: string | null | undefined;
179816
+ builderSeatPriceId?: string | null | undefined;
179771
179817
  subscriptionStatusUpdatedAt?: string | null | undefined;
179772
179818
  };
179773
179819
  npmRegistry?: {
@@ -180344,6 +180390,8 @@ declare const DTOUserWorkspaceMembershipsResponse: z$1.ZodObject<{
180344
180390
  currentPeriodStart: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<string, z$1.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
180345
180391
  currentPeriodEnd: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<string, z$1.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
180346
180392
  cancelAt: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<string, z$1.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
180393
+ fullSeatPriceId: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<string, z$1.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
180394
+ builderSeatPriceId: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<string, z$1.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
180347
180395
  subscriptionStatusUpdatedAt: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<string, z$1.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
180348
180396
  }, "strip", z$1.ZodTypeAny, {
180349
180397
  product: "company" | "enterprise" | "free" | "team" | "pro";
@@ -180373,6 +180421,8 @@ declare const DTOUserWorkspaceMembershipsResponse: z$1.ZodObject<{
180373
180421
  currentPeriodStart?: string | undefined;
180374
180422
  currentPeriodEnd?: string | undefined;
180375
180423
  cancelAt?: string | undefined;
180424
+ fullSeatPriceId?: string | undefined;
180425
+ builderSeatPriceId?: string | undefined;
180376
180426
  subscriptionStatusUpdatedAt?: string | undefined;
180377
180427
  }, {
180378
180428
  product: "company" | "enterprise" | "free" | "team" | "pro";
@@ -180402,6 +180452,8 @@ declare const DTOUserWorkspaceMembershipsResponse: z$1.ZodObject<{
180402
180452
  currentPeriodStart?: string | null | undefined;
180403
180453
  currentPeriodEnd?: string | null | undefined;
180404
180454
  cancelAt?: string | null | undefined;
180455
+ fullSeatPriceId?: string | null | undefined;
180456
+ builderSeatPriceId?: string | null | undefined;
180405
180457
  subscriptionStatusUpdatedAt?: string | null | undefined;
180406
180458
  }>;
180407
180459
  npmRegistry: z$1.ZodOptional<z$1.ZodObject<{
@@ -180493,6 +180545,8 @@ declare const DTOUserWorkspaceMembershipsResponse: z$1.ZodObject<{
180493
180545
  currentPeriodStart?: string | undefined;
180494
180546
  currentPeriodEnd?: string | undefined;
180495
180547
  cancelAt?: string | undefined;
180548
+ fullSeatPriceId?: string | undefined;
180549
+ builderSeatPriceId?: string | undefined;
180496
180550
  subscriptionStatusUpdatedAt?: string | undefined;
180497
180551
  };
180498
180552
  aiFeaturesEnabled: boolean;
@@ -180562,6 +180616,8 @@ declare const DTOUserWorkspaceMembershipsResponse: z$1.ZodObject<{
180562
180616
  currentPeriodStart?: string | null | undefined;
180563
180617
  currentPeriodEnd?: string | null | undefined;
180564
180618
  cancelAt?: string | null | undefined;
180619
+ fullSeatPriceId?: string | null | undefined;
180620
+ builderSeatPriceId?: string | null | undefined;
180565
180621
  subscriptionStatusUpdatedAt?: string | null | undefined;
180566
180622
  };
180567
180623
  npmRegistry?: {
@@ -180637,6 +180693,8 @@ declare const DTOUserWorkspaceMembershipsResponse: z$1.ZodObject<{
180637
180693
  currentPeriodStart?: string | undefined;
180638
180694
  currentPeriodEnd?: string | undefined;
180639
180695
  cancelAt?: string | undefined;
180696
+ fullSeatPriceId?: string | undefined;
180697
+ builderSeatPriceId?: string | undefined;
180640
180698
  subscriptionStatusUpdatedAt?: string | undefined;
180641
180699
  };
180642
180700
  aiFeaturesEnabled: boolean;
@@ -180712,6 +180770,8 @@ declare const DTOUserWorkspaceMembershipsResponse: z$1.ZodObject<{
180712
180770
  currentPeriodStart?: string | null | undefined;
180713
180771
  currentPeriodEnd?: string | null | undefined;
180714
180772
  cancelAt?: string | null | undefined;
180773
+ fullSeatPriceId?: string | null | undefined;
180774
+ builderSeatPriceId?: string | null | undefined;
180715
180775
  subscriptionStatusUpdatedAt?: string | null | undefined;
180716
180776
  };
180717
180777
  npmRegistry?: {
@@ -180789,6 +180849,8 @@ declare const DTOUserWorkspaceMembershipsResponse: z$1.ZodObject<{
180789
180849
  currentPeriodStart?: string | undefined;
180790
180850
  currentPeriodEnd?: string | undefined;
180791
180851
  cancelAt?: string | undefined;
180852
+ fullSeatPriceId?: string | undefined;
180853
+ builderSeatPriceId?: string | undefined;
180792
180854
  subscriptionStatusUpdatedAt?: string | undefined;
180793
180855
  };
180794
180856
  aiFeaturesEnabled: boolean;
@@ -180866,6 +180928,8 @@ declare const DTOUserWorkspaceMembershipsResponse: z$1.ZodObject<{
180866
180928
  currentPeriodStart?: string | null | undefined;
180867
180929
  currentPeriodEnd?: string | null | undefined;
180868
180930
  cancelAt?: string | null | undefined;
180931
+ fullSeatPriceId?: string | null | undefined;
180932
+ builderSeatPriceId?: string | null | undefined;
180869
180933
  subscriptionStatusUpdatedAt?: string | null | undefined;
180870
180934
  };
180871
180935
  npmRegistry?: {
@@ -182337,6 +182401,9 @@ declare const DTOSubscription: z__default.ZodObject<{
182337
182401
  stripeProductFeatures: z__default.ZodOptional<z__default.ZodArray<z__default.ZodString, "many">>;
182338
182402
  stripeProductAdditionalFeatures: z__default.ZodOptional<z__default.ZodArray<z__default.ZodString, "many">>;
182339
182403
  stripeSubscriptionMainItemId: z__default.ZodOptional<z__default.ZodString>;
182404
+ /**
182405
+ * @deprecated use `fullSeatPriceId` or `builderSeatPriceId`
182406
+ */
182340
182407
  planPriceId: z__default.ZodString;
182341
182408
  planInterval: z__default.ZodEnum<["daily", "monthly", "weekly", "yearly"]>;
182342
182409
  isPricePerCreator: z__default.ZodOptional<z__default.ZodBoolean>;
@@ -182377,6 +182444,8 @@ declare const DTOSubscription: z__default.ZodObject<{
182377
182444
  isTrial: z__default.ZodBoolean;
182378
182445
  billingType: z__default.ZodOptional<z__default.ZodEnum<["Auto", "Invoice"]>>;
182379
182446
  daysUntilDue: z__default.ZodOptional<z__default.ZodNumber>;
182447
+ fullSeatPriceId: z__default.ZodString;
182448
+ builderSeatPriceId: z__default.ZodOptional<z__default.ZodString>;
182380
182449
  }, "strip", z__default.ZodTypeAny, {
182381
182450
  fullSeats: number;
182382
182451
  builderSeats: number;
@@ -182389,6 +182458,7 @@ declare const DTOSubscription: z__default.ZodObject<{
182389
182458
  builderSeatLimit: number;
182390
182459
  amount: number;
182391
182460
  isTrial: boolean;
182461
+ fullSeatPriceId: string;
182392
182462
  status?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
182393
182463
  stripeSubscriptionId?: string | undefined;
182394
182464
  stripeCustomerId?: string | undefined;
@@ -182553,6 +182623,7 @@ declare const DTOSubscription: z__default.ZodObject<{
182553
182623
  } | undefined;
182554
182624
  billingType?: "Auto" | "Invoice" | undefined;
182555
182625
  daysUntilDue?: number | undefined;
182626
+ builderSeatPriceId?: string | undefined;
182556
182627
  }, {
182557
182628
  fullSeats: number;
182558
182629
  builderSeats: number;
@@ -182565,6 +182636,7 @@ declare const DTOSubscription: z__default.ZodObject<{
182565
182636
  builderSeatLimit: number;
182566
182637
  amount: number;
182567
182638
  isTrial: boolean;
182639
+ fullSeatPriceId: string;
182568
182640
  status?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
182569
182641
  stripeSubscriptionId?: string | undefined;
182570
182642
  stripeCustomerId?: string | undefined;
@@ -182729,6 +182801,7 @@ declare const DTOSubscription: z__default.ZodObject<{
182729
182801
  } | undefined;
182730
182802
  billingType?: "Auto" | "Invoice" | undefined;
182731
182803
  daysUntilDue?: number | undefined;
182804
+ builderSeatPriceId?: string | undefined;
182732
182805
  }>;
182733
182806
  type DTOSubscription = z__default.infer<typeof DTOSubscription>;
182734
182807
  declare const DTOSubscriptionResponse: z__default.ZodObject<{
@@ -183379,6 +183452,9 @@ declare const DTOSubscriptionResponse: z__default.ZodObject<{
183379
183452
  stripeProductFeatures: z__default.ZodOptional<z__default.ZodArray<z__default.ZodString, "many">>;
183380
183453
  stripeProductAdditionalFeatures: z__default.ZodOptional<z__default.ZodArray<z__default.ZodString, "many">>;
183381
183454
  stripeSubscriptionMainItemId: z__default.ZodOptional<z__default.ZodString>;
183455
+ /**
183456
+ * @deprecated use `fullSeatPriceId` or `builderSeatPriceId`
183457
+ */
183382
183458
  planPriceId: z__default.ZodString;
183383
183459
  planInterval: z__default.ZodEnum<["daily", "monthly", "weekly", "yearly"]>;
183384
183460
  isPricePerCreator: z__default.ZodOptional<z__default.ZodBoolean>;
@@ -183419,6 +183495,8 @@ declare const DTOSubscriptionResponse: z__default.ZodObject<{
183419
183495
  isTrial: z__default.ZodBoolean;
183420
183496
  billingType: z__default.ZodOptional<z__default.ZodEnum<["Auto", "Invoice"]>>;
183421
183497
  daysUntilDue: z__default.ZodOptional<z__default.ZodNumber>;
183498
+ fullSeatPriceId: z__default.ZodString;
183499
+ builderSeatPriceId: z__default.ZodOptional<z__default.ZodString>;
183422
183500
  }, "strip", z__default.ZodTypeAny, {
183423
183501
  fullSeats: number;
183424
183502
  builderSeats: number;
@@ -183431,6 +183509,7 @@ declare const DTOSubscriptionResponse: z__default.ZodObject<{
183431
183509
  builderSeatLimit: number;
183432
183510
  amount: number;
183433
183511
  isTrial: boolean;
183512
+ fullSeatPriceId: string;
183434
183513
  status?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
183435
183514
  stripeSubscriptionId?: string | undefined;
183436
183515
  stripeCustomerId?: string | undefined;
@@ -183595,6 +183674,7 @@ declare const DTOSubscriptionResponse: z__default.ZodObject<{
183595
183674
  } | undefined;
183596
183675
  billingType?: "Auto" | "Invoice" | undefined;
183597
183676
  daysUntilDue?: number | undefined;
183677
+ builderSeatPriceId?: string | undefined;
183598
183678
  }, {
183599
183679
  fullSeats: number;
183600
183680
  builderSeats: number;
@@ -183607,6 +183687,7 @@ declare const DTOSubscriptionResponse: z__default.ZodObject<{
183607
183687
  builderSeatLimit: number;
183608
183688
  amount: number;
183609
183689
  isTrial: boolean;
183690
+ fullSeatPriceId: string;
183610
183691
  status?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
183611
183692
  stripeSubscriptionId?: string | undefined;
183612
183693
  stripeCustomerId?: string | undefined;
@@ -183771,6 +183852,7 @@ declare const DTOSubscriptionResponse: z__default.ZodObject<{
183771
183852
  } | undefined;
183772
183853
  billingType?: "Auto" | "Invoice" | undefined;
183773
183854
  daysUntilDue?: number | undefined;
183855
+ builderSeatPriceId?: string | undefined;
183774
183856
  }>;
183775
183857
  creditBalance: z__default.ZodOptional<z__default.ZodObject<{
183776
183858
  paidTopUp: z__default.ZodOptional<z__default.ZodObject<{
@@ -183938,6 +184020,7 @@ declare const DTOSubscriptionResponse: z__default.ZodObject<{
183938
184020
  builderSeatLimit: number;
183939
184021
  amount: number;
183940
184022
  isTrial: boolean;
184023
+ fullSeatPriceId: string;
183941
184024
  status?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
183942
184025
  stripeSubscriptionId?: string | undefined;
183943
184026
  stripeCustomerId?: string | undefined;
@@ -184102,6 +184185,7 @@ declare const DTOSubscriptionResponse: z__default.ZodObject<{
184102
184185
  } | undefined;
184103
184186
  billingType?: "Auto" | "Invoice" | undefined;
184104
184187
  daysUntilDue?: number | undefined;
184188
+ builderSeatPriceId?: string | undefined;
184105
184189
  };
184106
184190
  creditsPrices: {
184107
184191
  creditsToCentsConversionRate: number;
@@ -184147,6 +184231,7 @@ declare const DTOSubscriptionResponse: z__default.ZodObject<{
184147
184231
  builderSeatLimit: number;
184148
184232
  amount: number;
184149
184233
  isTrial: boolean;
184234
+ fullSeatPriceId: string;
184150
184235
  status?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
184151
184236
  stripeSubscriptionId?: string | undefined;
184152
184237
  stripeCustomerId?: string | undefined;
@@ -184311,6 +184396,7 @@ declare const DTOSubscriptionResponse: z__default.ZodObject<{
184311
184396
  } | undefined;
184312
184397
  billingType?: "Auto" | "Invoice" | undefined;
184313
184398
  daysUntilDue?: number | undefined;
184399
+ builderSeatPriceId?: string | undefined;
184314
184400
  };
184315
184401
  creditsPrices: {
184316
184402
  creditsToCentsConversionRate: number;
@@ -184749,6 +184835,8 @@ declare const DTOWorkspace: z$1.ZodObject<{
184749
184835
  currentPeriodStart: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<string, z$1.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
184750
184836
  currentPeriodEnd: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<string, z$1.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
184751
184837
  cancelAt: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<string, z$1.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
184838
+ fullSeatPriceId: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<string, z$1.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
184839
+ builderSeatPriceId: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<string, z$1.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
184752
184840
  subscriptionStatusUpdatedAt: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<string, z$1.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
184753
184841
  }, "strip", z$1.ZodTypeAny, {
184754
184842
  product: "company" | "enterprise" | "free" | "team" | "pro";
@@ -184778,6 +184866,8 @@ declare const DTOWorkspace: z$1.ZodObject<{
184778
184866
  currentPeriodStart?: string | undefined;
184779
184867
  currentPeriodEnd?: string | undefined;
184780
184868
  cancelAt?: string | undefined;
184869
+ fullSeatPriceId?: string | undefined;
184870
+ builderSeatPriceId?: string | undefined;
184781
184871
  subscriptionStatusUpdatedAt?: string | undefined;
184782
184872
  }, {
184783
184873
  product: "company" | "enterprise" | "free" | "team" | "pro";
@@ -184807,6 +184897,8 @@ declare const DTOWorkspace: z$1.ZodObject<{
184807
184897
  currentPeriodStart?: string | null | undefined;
184808
184898
  currentPeriodEnd?: string | null | undefined;
184809
184899
  cancelAt?: string | null | undefined;
184900
+ fullSeatPriceId?: string | null | undefined;
184901
+ builderSeatPriceId?: string | null | undefined;
184810
184902
  subscriptionStatusUpdatedAt?: string | null | undefined;
184811
184903
  }>;
184812
184904
  npmRegistry: z$1.ZodOptional<z$1.ZodObject<{
@@ -184898,6 +184990,8 @@ declare const DTOWorkspace: z$1.ZodObject<{
184898
184990
  currentPeriodStart?: string | undefined;
184899
184991
  currentPeriodEnd?: string | undefined;
184900
184992
  cancelAt?: string | undefined;
184993
+ fullSeatPriceId?: string | undefined;
184994
+ builderSeatPriceId?: string | undefined;
184901
184995
  subscriptionStatusUpdatedAt?: string | undefined;
184902
184996
  };
184903
184997
  aiFeaturesEnabled: boolean;
@@ -184967,6 +185061,8 @@ declare const DTOWorkspace: z$1.ZodObject<{
184967
185061
  currentPeriodStart?: string | null | undefined;
184968
185062
  currentPeriodEnd?: string | null | undefined;
184969
185063
  cancelAt?: string | null | undefined;
185064
+ fullSeatPriceId?: string | null | undefined;
185065
+ builderSeatPriceId?: string | null | undefined;
184970
185066
  subscriptionStatusUpdatedAt?: string | null | undefined;
184971
185067
  };
184972
185068
  npmRegistry?: {
@@ -185155,6 +185251,8 @@ declare const DTOWorkspaceResponse: z$1.ZodObject<{
185155
185251
  currentPeriodStart: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<string, z$1.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
185156
185252
  currentPeriodEnd: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<string, z$1.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
185157
185253
  cancelAt: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<string, z$1.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
185254
+ fullSeatPriceId: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<string, z$1.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
185255
+ builderSeatPriceId: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<string, z$1.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
185158
185256
  subscriptionStatusUpdatedAt: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<string, z$1.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
185159
185257
  }, "strip", z$1.ZodTypeAny, {
185160
185258
  product: "company" | "enterprise" | "free" | "team" | "pro";
@@ -185184,6 +185282,8 @@ declare const DTOWorkspaceResponse: z$1.ZodObject<{
185184
185282
  currentPeriodStart?: string | undefined;
185185
185283
  currentPeriodEnd?: string | undefined;
185186
185284
  cancelAt?: string | undefined;
185285
+ fullSeatPriceId?: string | undefined;
185286
+ builderSeatPriceId?: string | undefined;
185187
185287
  subscriptionStatusUpdatedAt?: string | undefined;
185188
185288
  }, {
185189
185289
  product: "company" | "enterprise" | "free" | "team" | "pro";
@@ -185213,6 +185313,8 @@ declare const DTOWorkspaceResponse: z$1.ZodObject<{
185213
185313
  currentPeriodStart?: string | null | undefined;
185214
185314
  currentPeriodEnd?: string | null | undefined;
185215
185315
  cancelAt?: string | null | undefined;
185316
+ fullSeatPriceId?: string | null | undefined;
185317
+ builderSeatPriceId?: string | null | undefined;
185216
185318
  subscriptionStatusUpdatedAt?: string | null | undefined;
185217
185319
  }>;
185218
185320
  npmRegistry: z$1.ZodOptional<z$1.ZodObject<{
@@ -185304,6 +185406,8 @@ declare const DTOWorkspaceResponse: z$1.ZodObject<{
185304
185406
  currentPeriodStart?: string | undefined;
185305
185407
  currentPeriodEnd?: string | undefined;
185306
185408
  cancelAt?: string | undefined;
185409
+ fullSeatPriceId?: string | undefined;
185410
+ builderSeatPriceId?: string | undefined;
185307
185411
  subscriptionStatusUpdatedAt?: string | undefined;
185308
185412
  };
185309
185413
  aiFeaturesEnabled: boolean;
@@ -185373,6 +185477,8 @@ declare const DTOWorkspaceResponse: z$1.ZodObject<{
185373
185477
  currentPeriodStart?: string | null | undefined;
185374
185478
  currentPeriodEnd?: string | null | undefined;
185375
185479
  cancelAt?: string | null | undefined;
185480
+ fullSeatPriceId?: string | null | undefined;
185481
+ builderSeatPriceId?: string | null | undefined;
185376
185482
  subscriptionStatusUpdatedAt?: string | null | undefined;
185377
185483
  };
185378
185484
  npmRegistry?: {
@@ -185444,6 +185550,8 @@ declare const DTOWorkspaceResponse: z$1.ZodObject<{
185444
185550
  currentPeriodStart?: string | undefined;
185445
185551
  currentPeriodEnd?: string | undefined;
185446
185552
  cancelAt?: string | undefined;
185553
+ fullSeatPriceId?: string | undefined;
185554
+ builderSeatPriceId?: string | undefined;
185447
185555
  subscriptionStatusUpdatedAt?: string | undefined;
185448
185556
  };
185449
185557
  aiFeaturesEnabled: boolean;
@@ -185515,6 +185623,8 @@ declare const DTOWorkspaceResponse: z$1.ZodObject<{
185515
185623
  currentPeriodStart?: string | null | undefined;
185516
185624
  currentPeriodEnd?: string | null | undefined;
185517
185625
  cancelAt?: string | null | undefined;
185626
+ fullSeatPriceId?: string | null | undefined;
185627
+ builderSeatPriceId?: string | null | undefined;
185518
185628
  subscriptionStatusUpdatedAt?: string | null | undefined;
185519
185629
  };
185520
185630
  npmRegistry?: {
@@ -196380,6 +196490,8 @@ declare class DesignSystemsEndpoint {
196380
196490
  currentPeriodStart?: string | undefined;
196381
196491
  currentPeriodEnd?: string | undefined;
196382
196492
  cancelAt?: string | undefined;
196493
+ fullSeatPriceId?: string | undefined;
196494
+ builderSeatPriceId?: string | undefined;
196383
196495
  subscriptionStatusUpdatedAt?: string | undefined;
196384
196496
  };
196385
196497
  aiFeaturesEnabled: boolean;
@@ -198127,6 +198239,8 @@ declare class WorkspaceInvitationsEndpoint {
198127
198239
  currentPeriodStart?: string | undefined;
198128
198240
  currentPeriodEnd?: string | undefined;
198129
198241
  cancelAt?: string | undefined;
198242
+ fullSeatPriceId?: string | undefined;
198243
+ builderSeatPriceId?: string | undefined;
198130
198244
  subscriptionStatusUpdatedAt?: string | undefined;
198131
198245
  };
198132
198246
  aiFeaturesEnabled: boolean;
@@ -198259,6 +198373,8 @@ declare class WorkspaceMembersEndpoint {
198259
198373
  currentPeriodStart?: string | undefined;
198260
198374
  currentPeriodEnd?: string | undefined;
198261
198375
  cancelAt?: string | undefined;
198376
+ fullSeatPriceId?: string | undefined;
198377
+ builderSeatPriceId?: string | undefined;
198262
198378
  subscriptionStatusUpdatedAt?: string | undefined;
198263
198379
  };
198264
198380
  aiFeaturesEnabled: boolean;
@@ -198332,6 +198448,8 @@ declare class WorkspaceMembersEndpoint {
198332
198448
  currentPeriodStart?: string | undefined;
198333
198449
  currentPeriodEnd?: string | undefined;
198334
198450
  cancelAt?: string | undefined;
198451
+ fullSeatPriceId?: string | undefined;
198452
+ builderSeatPriceId?: string | undefined;
198335
198453
  subscriptionStatusUpdatedAt?: string | undefined;
198336
198454
  };
198337
198455
  aiFeaturesEnabled: boolean;
@@ -198438,6 +198556,8 @@ declare class WorkspacesEndpoint {
198438
198556
  currentPeriodStart?: string | undefined;
198439
198557
  currentPeriodEnd?: string | undefined;
198440
198558
  cancelAt?: string | undefined;
198559
+ fullSeatPriceId?: string | undefined;
198560
+ builderSeatPriceId?: string | undefined;
198441
198561
  subscriptionStatusUpdatedAt?: string | undefined;
198442
198562
  };
198443
198563
  aiFeaturesEnabled: boolean;
@@ -198511,6 +198631,8 @@ declare class WorkspacesEndpoint {
198511
198631
  currentPeriodStart?: string | undefined;
198512
198632
  currentPeriodEnd?: string | undefined;
198513
198633
  cancelAt?: string | undefined;
198634
+ fullSeatPriceId?: string | undefined;
198635
+ builderSeatPriceId?: string | undefined;
198514
198636
  subscriptionStatusUpdatedAt?: string | undefined;
198515
198637
  };
198516
198638
  aiFeaturesEnabled: boolean;
@@ -198588,6 +198710,8 @@ declare class WorkspacesEndpoint {
198588
198710
  currentPeriodStart?: string | undefined;
198589
198711
  currentPeriodEnd?: string | undefined;
198590
198712
  cancelAt?: string | undefined;
198713
+ fullSeatPriceId?: string | undefined;
198714
+ builderSeatPriceId?: string | undefined;
198591
198715
  subscriptionStatusUpdatedAt?: string | undefined;
198592
198716
  };
198593
198717
  aiFeaturesEnabled: boolean;
@@ -198718,6 +198842,8 @@ declare class WorkspacesEndpoint {
198718
198842
  currentPeriodStart?: string | undefined;
198719
198843
  currentPeriodEnd?: string | undefined;
198720
198844
  cancelAt?: string | undefined;
198845
+ fullSeatPriceId?: string | undefined;
198846
+ builderSeatPriceId?: string | undefined;
198721
198847
  subscriptionStatusUpdatedAt?: string | undefined;
198722
198848
  };
198723
198849
  aiFeaturesEnabled: boolean;
@@ -198840,6 +198966,8 @@ declare class UsersEndpoint {
198840
198966
  currentPeriodStart?: string | undefined;
198841
198967
  currentPeriodEnd?: string | undefined;
198842
198968
  cancelAt?: string | undefined;
198969
+ fullSeatPriceId?: string | undefined;
198970
+ builderSeatPriceId?: string | undefined;
198843
198971
  subscriptionStatusUpdatedAt?: string | undefined;
198844
198972
  };
198845
198973
  aiFeaturesEnabled: boolean;
package/dist/index.js CHANGED
@@ -444,6 +444,8 @@ var Subscription = _zod.z.object({
444
444
  currentPeriodStart: nullishToOptional(_zod.z.string()),
445
445
  currentPeriodEnd: nullishToOptional(_zod.z.string()),
446
446
  cancelAt: nullishToOptional(_zod.z.string()),
447
+ fullSeatPriceId: nullishToOptional(_zod.z.string()),
448
+ builderSeatPriceId: nullishToOptional(_zod.z.string()),
447
449
  subscriptionStatusUpdatedAt: nullishToOptional(_zod.z.string())
448
450
  });
449
451
  var ForgeChatMessageSenderType = _zod.z.enum([
@@ -7364,6 +7366,9 @@ var DTOSubscription = _zod2.default.object({
7364
7366
  stripeProductFeatures: _zod2.default.array(_zod2.default.string()).optional(),
7365
7367
  stripeProductAdditionalFeatures: _zod2.default.array(_zod2.default.string()).optional(),
7366
7368
  stripeSubscriptionMainItemId: _zod2.default.string().optional(),
7369
+ /**
7370
+ * @deprecated use `fullSeatPriceId` or `builderSeatPriceId`
7371
+ */
7367
7372
  planPriceId: _zod2.default.string(),
7368
7373
  planInterval: BillingIntervalSchema,
7369
7374
  isPricePerCreator: _zod2.default.boolean().optional(),
@@ -7383,7 +7388,9 @@ var DTOSubscription = _zod2.default.object({
7383
7388
  amount: _zod2.default.number(),
7384
7389
  isTrial: _zod2.default.boolean(),
7385
7390
  billingType: BillingTypeSchema.optional(),
7386
- daysUntilDue: _zod2.default.number().optional()
7391
+ daysUntilDue: _zod2.default.number().optional(),
7392
+ fullSeatPriceId: _zod2.default.string(),
7393
+ builderSeatPriceId: _zod2.default.string().optional()
7387
7394
  });
7388
7395
  var DTOSubscriptionResponse = _zod2.default.object({
7389
7396
  subscription: DTOSubscription,