@supernova-studio/model 0.50.0 → 0.51.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.mts CHANGED
@@ -536,6 +536,19 @@ declare const FeaturesSummary: z.ZodObject<{
536
536
  errorReason: string;
537
537
  enabled: boolean;
538
538
  }>;
539
+ approvals: z.ZodObject<{
540
+ enabled: z.ZodBoolean;
541
+ errorMessage: z.ZodString;
542
+ errorReason: z.ZodString;
543
+ }, "strip", z.ZodTypeAny, {
544
+ errorMessage: string;
545
+ errorReason: string;
546
+ enabled: boolean;
547
+ }, {
548
+ errorMessage: string;
549
+ errorReason: string;
550
+ enabled: boolean;
551
+ }>;
539
552
  }, "strip", z.ZodTypeAny, {
540
553
  designSystems: {
541
554
  max: number;
@@ -629,6 +642,11 @@ declare const FeaturesSummary: z.ZodObject<{
629
642
  errorReason: string;
630
643
  enabled: boolean;
631
644
  };
645
+ approvals: {
646
+ errorMessage: string;
647
+ errorReason: string;
648
+ enabled: boolean;
649
+ };
632
650
  }, {
633
651
  designSystems: {
634
652
  max: number;
@@ -722,6 +740,11 @@ declare const FeaturesSummary: z.ZodObject<{
722
740
  errorReason: string;
723
741
  enabled: boolean;
724
742
  };
743
+ approvals: {
744
+ errorMessage: string;
745
+ errorReason: string;
746
+ enabled: boolean;
747
+ };
725
748
  }>;
726
749
  type FeaturesSummary = z.infer<typeof FeaturesSummary>;
727
750
 
@@ -1209,6 +1232,19 @@ declare const Subscription: z.ZodObject<{
1209
1232
  errorReason: string;
1210
1233
  enabled: boolean;
1211
1234
  }>;
1235
+ approvals: z.ZodObject<{
1236
+ enabled: z.ZodBoolean;
1237
+ errorMessage: z.ZodString;
1238
+ errorReason: z.ZodString;
1239
+ }, "strip", z.ZodTypeAny, {
1240
+ errorMessage: string;
1241
+ errorReason: string;
1242
+ enabled: boolean;
1243
+ }, {
1244
+ errorMessage: string;
1245
+ errorReason: string;
1246
+ enabled: boolean;
1247
+ }>;
1212
1248
  }, "strip", z.ZodTypeAny, {
1213
1249
  designSystems: {
1214
1250
  max: number;
@@ -1302,6 +1338,11 @@ declare const Subscription: z.ZodObject<{
1302
1338
  errorReason: string;
1303
1339
  enabled: boolean;
1304
1340
  };
1341
+ approvals: {
1342
+ errorMessage: string;
1343
+ errorReason: string;
1344
+ enabled: boolean;
1345
+ };
1305
1346
  }, {
1306
1347
  designSystems: {
1307
1348
  max: number;
@@ -1395,6 +1436,11 @@ declare const Subscription: z.ZodObject<{
1395
1436
  errorReason: string;
1396
1437
  enabled: boolean;
1397
1438
  };
1439
+ approvals: {
1440
+ errorMessage: string;
1441
+ errorReason: string;
1442
+ enabled: boolean;
1443
+ };
1398
1444
  }>>;
1399
1445
  stripeProductDescription: z.ZodOptional<z.ZodString>;
1400
1446
  stripeProductFeatures: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -1555,6 +1601,11 @@ declare const Subscription: z.ZodObject<{
1555
1601
  errorReason: string;
1556
1602
  enabled: boolean;
1557
1603
  };
1604
+ approvals: {
1605
+ errorMessage: string;
1606
+ errorReason: string;
1607
+ enabled: boolean;
1608
+ };
1558
1609
  } | undefined;
1559
1610
  stripeSubscriptionMainItemId?: string | undefined;
1560
1611
  currentPeriodStart?: string | undefined;
@@ -1682,6 +1733,11 @@ declare const Subscription: z.ZodObject<{
1682
1733
  errorReason: string;
1683
1734
  enabled: boolean;
1684
1735
  };
1736
+ approvals: {
1737
+ errorMessage: string;
1738
+ errorReason: string;
1739
+ enabled: boolean;
1740
+ };
1685
1741
  } | undefined;
1686
1742
  stripeSubscriptionMainItemId?: string | undefined;
1687
1743
  currentPeriodStart?: string | undefined;
@@ -2732,6 +2788,7 @@ declare const DesignSystemDump: z.ZodObject<{
2732
2788
  designSystemIds: string[];
2733
2789
  } | null | undefined>;
2734
2790
  isApprovalFeatureEnabled: z.ZodBoolean;
2791
+ approvalRequiredForPublishing: z.ZodBoolean;
2735
2792
  createdAt: z.ZodDate;
2736
2793
  updatedAt: z.ZodDate;
2737
2794
  }, "strip", z.ZodTypeAny, {
@@ -2747,6 +2804,7 @@ declare const DesignSystemDump: z.ZodObject<{
2747
2804
  isMultibrand: boolean;
2748
2805
  basePrefixes: string[];
2749
2806
  isApprovalFeatureEnabled: boolean;
2807
+ approvalRequiredForPublishing: boolean;
2750
2808
  docExporterId?: string | undefined;
2751
2809
  docUserSlug?: string | undefined;
2752
2810
  docViewUrl?: string | undefined;
@@ -2767,6 +2825,7 @@ declare const DesignSystemDump: z.ZodObject<{
2767
2825
  isMultibrand: boolean;
2768
2826
  basePrefixes: string[];
2769
2827
  isApprovalFeatureEnabled: boolean;
2828
+ approvalRequiredForPublishing: boolean;
2770
2829
  docExporterId?: string | null | undefined;
2771
2830
  docUserSlug?: string | null | undefined;
2772
2831
  docViewUrl?: string | null | undefined;
@@ -5849,6 +5908,7 @@ declare const DesignSystemDump: z.ZodObject<{
5849
5908
  isMultibrand: boolean;
5850
5909
  basePrefixes: string[];
5851
5910
  isApprovalFeatureEnabled: boolean;
5911
+ approvalRequiredForPublishing: boolean;
5852
5912
  docExporterId?: string | undefined;
5853
5913
  docUserSlug?: string | undefined;
5854
5914
  docViewUrl?: string | undefined;
@@ -6277,6 +6337,7 @@ declare const DesignSystemDump: z.ZodObject<{
6277
6337
  isMultibrand: boolean;
6278
6338
  basePrefixes: string[];
6279
6339
  isApprovalFeatureEnabled: boolean;
6340
+ approvalRequiredForPublishing: boolean;
6280
6341
  docExporterId?: string | null | undefined;
6281
6342
  docUserSlug?: string | null | undefined;
6282
6343
  docViewUrl?: string | null | undefined;
@@ -10580,6 +10641,19 @@ declare const UserDump: z.ZodObject<{
10580
10641
  errorReason: string;
10581
10642
  enabled: boolean;
10582
10643
  }>;
10644
+ approvals: z.ZodObject<{
10645
+ enabled: z.ZodBoolean;
10646
+ errorMessage: z.ZodString;
10647
+ errorReason: z.ZodString;
10648
+ }, "strip", z.ZodTypeAny, {
10649
+ errorMessage: string;
10650
+ errorReason: string;
10651
+ enabled: boolean;
10652
+ }, {
10653
+ errorMessage: string;
10654
+ errorReason: string;
10655
+ enabled: boolean;
10656
+ }>;
10583
10657
  }, "strip", z.ZodTypeAny, {
10584
10658
  designSystems: {
10585
10659
  max: number;
@@ -10673,6 +10747,11 @@ declare const UserDump: z.ZodObject<{
10673
10747
  errorReason: string;
10674
10748
  enabled: boolean;
10675
10749
  };
10750
+ approvals: {
10751
+ errorMessage: string;
10752
+ errorReason: string;
10753
+ enabled: boolean;
10754
+ };
10676
10755
  }, {
10677
10756
  designSystems: {
10678
10757
  max: number;
@@ -10766,6 +10845,11 @@ declare const UserDump: z.ZodObject<{
10766
10845
  errorReason: string;
10767
10846
  enabled: boolean;
10768
10847
  };
10848
+ approvals: {
10849
+ errorMessage: string;
10850
+ errorReason: string;
10851
+ enabled: boolean;
10852
+ };
10769
10853
  }>>;
10770
10854
  stripeProductDescription: z.ZodOptional<z.ZodString>;
10771
10855
  stripeProductFeatures: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -10926,6 +11010,11 @@ declare const UserDump: z.ZodObject<{
10926
11010
  errorReason: string;
10927
11011
  enabled: boolean;
10928
11012
  };
11013
+ approvals: {
11014
+ errorMessage: string;
11015
+ errorReason: string;
11016
+ enabled: boolean;
11017
+ };
10929
11018
  } | undefined;
10930
11019
  stripeSubscriptionMainItemId?: string | undefined;
10931
11020
  currentPeriodStart?: string | undefined;
@@ -11053,6 +11142,11 @@ declare const UserDump: z.ZodObject<{
11053
11142
  errorReason: string;
11054
11143
  enabled: boolean;
11055
11144
  };
11145
+ approvals: {
11146
+ errorMessage: string;
11147
+ errorReason: string;
11148
+ enabled: boolean;
11149
+ };
11056
11150
  } | undefined;
11057
11151
  stripeSubscriptionMainItemId?: string | undefined;
11058
11152
  currentPeriodStart?: string | undefined;
@@ -11356,6 +11450,11 @@ declare const UserDump: z.ZodObject<{
11356
11450
  errorReason: string;
11357
11451
  enabled: boolean;
11358
11452
  };
11453
+ approvals: {
11454
+ errorMessage: string;
11455
+ errorReason: string;
11456
+ enabled: boolean;
11457
+ };
11359
11458
  } | undefined;
11360
11459
  stripeSubscriptionMainItemId?: string | undefined;
11361
11460
  currentPeriodStart?: string | undefined;
@@ -11548,6 +11647,11 @@ declare const UserDump: z.ZodObject<{
11548
11647
  errorReason: string;
11549
11648
  enabled: boolean;
11550
11649
  };
11650
+ approvals: {
11651
+ errorMessage: string;
11652
+ errorReason: string;
11653
+ enabled: boolean;
11654
+ };
11551
11655
  } | undefined;
11552
11656
  stripeSubscriptionMainItemId?: string | undefined;
11553
11657
  currentPeriodStart?: string | undefined;
@@ -11626,6 +11730,7 @@ declare const UserDump: z.ZodObject<{
11626
11730
  designSystemIds: string[];
11627
11731
  } | null | undefined>;
11628
11732
  isApprovalFeatureEnabled: z.ZodBoolean;
11733
+ approvalRequiredForPublishing: z.ZodBoolean;
11629
11734
  createdAt: z.ZodDate;
11630
11735
  updatedAt: z.ZodDate;
11631
11736
  }, "strip", z.ZodTypeAny, {
@@ -11641,6 +11746,7 @@ declare const UserDump: z.ZodObject<{
11641
11746
  isMultibrand: boolean;
11642
11747
  basePrefixes: string[];
11643
11748
  isApprovalFeatureEnabled: boolean;
11749
+ approvalRequiredForPublishing: boolean;
11644
11750
  docExporterId?: string | undefined;
11645
11751
  docUserSlug?: string | undefined;
11646
11752
  docViewUrl?: string | undefined;
@@ -11661,6 +11767,7 @@ declare const UserDump: z.ZodObject<{
11661
11767
  isMultibrand: boolean;
11662
11768
  basePrefixes: string[];
11663
11769
  isApprovalFeatureEnabled: boolean;
11770
+ approvalRequiredForPublishing: boolean;
11664
11771
  docExporterId?: string | null | undefined;
11665
11772
  docUserSlug?: string | null | undefined;
11666
11773
  docViewUrl?: string | null | undefined;
@@ -14743,6 +14850,7 @@ declare const UserDump: z.ZodObject<{
14743
14850
  isMultibrand: boolean;
14744
14851
  basePrefixes: string[];
14745
14852
  isApprovalFeatureEnabled: boolean;
14853
+ approvalRequiredForPublishing: boolean;
14746
14854
  docExporterId?: string | undefined;
14747
14855
  docUserSlug?: string | undefined;
14748
14856
  docViewUrl?: string | undefined;
@@ -15171,6 +15279,7 @@ declare const UserDump: z.ZodObject<{
15171
15279
  isMultibrand: boolean;
15172
15280
  basePrefixes: string[];
15173
15281
  isApprovalFeatureEnabled: boolean;
15282
+ approvalRequiredForPublishing: boolean;
15174
15283
  docExporterId?: string | null | undefined;
15175
15284
  docUserSlug?: string | null | undefined;
15176
15285
  docViewUrl?: string | null | undefined;
@@ -16733,6 +16842,7 @@ declare const UserDump: z.ZodObject<{
16733
16842
  isMultibrand: boolean;
16734
16843
  basePrefixes: string[];
16735
16844
  isApprovalFeatureEnabled: boolean;
16845
+ approvalRequiredForPublishing: boolean;
16736
16846
  docExporterId?: string | undefined;
16737
16847
  docUserSlug?: string | undefined;
16738
16848
  docViewUrl?: string | undefined;
@@ -17269,6 +17379,11 @@ declare const UserDump: z.ZodObject<{
17269
17379
  errorReason: string;
17270
17380
  enabled: boolean;
17271
17381
  };
17382
+ approvals: {
17383
+ errorMessage: string;
17384
+ errorReason: string;
17385
+ enabled: boolean;
17386
+ };
17272
17387
  } | undefined;
17273
17388
  stripeSubscriptionMainItemId?: string | undefined;
17274
17389
  currentPeriodStart?: string | undefined;
@@ -17523,6 +17638,7 @@ declare const UserDump: z.ZodObject<{
17523
17638
  isMultibrand: boolean;
17524
17639
  basePrefixes: string[];
17525
17640
  isApprovalFeatureEnabled: boolean;
17641
+ approvalRequiredForPublishing: boolean;
17526
17642
  docExporterId?: string | null | undefined;
17527
17643
  docUserSlug?: string | null | undefined;
17528
17644
  docViewUrl?: string | null | undefined;
@@ -18059,6 +18175,11 @@ declare const UserDump: z.ZodObject<{
18059
18175
  errorReason: string;
18060
18176
  enabled: boolean;
18061
18177
  };
18178
+ approvals: {
18179
+ errorMessage: string;
18180
+ errorReason: string;
18181
+ enabled: boolean;
18182
+ };
18062
18183
  } | undefined;
18063
18184
  stripeSubscriptionMainItemId?: string | undefined;
18064
18185
  currentPeriodStart?: string | undefined;
@@ -18315,6 +18436,7 @@ declare const UserDump: z.ZodObject<{
18315
18436
  isMultibrand: boolean;
18316
18437
  basePrefixes: string[];
18317
18438
  isApprovalFeatureEnabled: boolean;
18439
+ approvalRequiredForPublishing: boolean;
18318
18440
  docExporterId?: string | undefined;
18319
18441
  docUserSlug?: string | undefined;
18320
18442
  docViewUrl?: string | undefined;
@@ -18851,6 +18973,11 @@ declare const UserDump: z.ZodObject<{
18851
18973
  errorReason: string;
18852
18974
  enabled: boolean;
18853
18975
  };
18976
+ approvals: {
18977
+ errorMessage: string;
18978
+ errorReason: string;
18979
+ enabled: boolean;
18980
+ };
18854
18981
  } | undefined;
18855
18982
  stripeSubscriptionMainItemId?: string | undefined;
18856
18983
  currentPeriodStart?: string | undefined;
@@ -19176,6 +19303,7 @@ declare const UserDump: z.ZodObject<{
19176
19303
  isMultibrand: boolean;
19177
19304
  basePrefixes: string[];
19178
19305
  isApprovalFeatureEnabled: boolean;
19306
+ approvalRequiredForPublishing: boolean;
19179
19307
  docExporterId?: string | null | undefined;
19180
19308
  docUserSlug?: string | null | undefined;
19181
19309
  docViewUrl?: string | null | undefined;
@@ -19712,6 +19840,11 @@ declare const UserDump: z.ZodObject<{
19712
19840
  errorReason: string;
19713
19841
  enabled: boolean;
19714
19842
  };
19843
+ approvals: {
19844
+ errorMessage: string;
19845
+ errorReason: string;
19846
+ enabled: boolean;
19847
+ };
19715
19848
  } | undefined;
19716
19849
  stripeSubscriptionMainItemId?: string | undefined;
19717
19850
  currentPeriodStart?: string | undefined;
@@ -20363,6 +20496,19 @@ declare const WorkspaceDump: z.ZodObject<{
20363
20496
  errorReason: string;
20364
20497
  enabled: boolean;
20365
20498
  }>;
20499
+ approvals: z.ZodObject<{
20500
+ enabled: z.ZodBoolean;
20501
+ errorMessage: z.ZodString;
20502
+ errorReason: z.ZodString;
20503
+ }, "strip", z.ZodTypeAny, {
20504
+ errorMessage: string;
20505
+ errorReason: string;
20506
+ enabled: boolean;
20507
+ }, {
20508
+ errorMessage: string;
20509
+ errorReason: string;
20510
+ enabled: boolean;
20511
+ }>;
20366
20512
  }, "strip", z.ZodTypeAny, {
20367
20513
  designSystems: {
20368
20514
  max: number;
@@ -20456,6 +20602,11 @@ declare const WorkspaceDump: z.ZodObject<{
20456
20602
  errorReason: string;
20457
20603
  enabled: boolean;
20458
20604
  };
20605
+ approvals: {
20606
+ errorMessage: string;
20607
+ errorReason: string;
20608
+ enabled: boolean;
20609
+ };
20459
20610
  }, {
20460
20611
  designSystems: {
20461
20612
  max: number;
@@ -20549,6 +20700,11 @@ declare const WorkspaceDump: z.ZodObject<{
20549
20700
  errorReason: string;
20550
20701
  enabled: boolean;
20551
20702
  };
20703
+ approvals: {
20704
+ errorMessage: string;
20705
+ errorReason: string;
20706
+ enabled: boolean;
20707
+ };
20552
20708
  }>>;
20553
20709
  stripeProductDescription: z.ZodOptional<z.ZodString>;
20554
20710
  stripeProductFeatures: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -20709,6 +20865,11 @@ declare const WorkspaceDump: z.ZodObject<{
20709
20865
  errorReason: string;
20710
20866
  enabled: boolean;
20711
20867
  };
20868
+ approvals: {
20869
+ errorMessage: string;
20870
+ errorReason: string;
20871
+ enabled: boolean;
20872
+ };
20712
20873
  } | undefined;
20713
20874
  stripeSubscriptionMainItemId?: string | undefined;
20714
20875
  currentPeriodStart?: string | undefined;
@@ -20836,6 +20997,11 @@ declare const WorkspaceDump: z.ZodObject<{
20836
20997
  errorReason: string;
20837
20998
  enabled: boolean;
20838
20999
  };
21000
+ approvals: {
21001
+ errorMessage: string;
21002
+ errorReason: string;
21003
+ enabled: boolean;
21004
+ };
20839
21005
  } | undefined;
20840
21006
  stripeSubscriptionMainItemId?: string | undefined;
20841
21007
  currentPeriodStart?: string | undefined;
@@ -21139,6 +21305,11 @@ declare const WorkspaceDump: z.ZodObject<{
21139
21305
  errorReason: string;
21140
21306
  enabled: boolean;
21141
21307
  };
21308
+ approvals: {
21309
+ errorMessage: string;
21310
+ errorReason: string;
21311
+ enabled: boolean;
21312
+ };
21142
21313
  } | undefined;
21143
21314
  stripeSubscriptionMainItemId?: string | undefined;
21144
21315
  currentPeriodStart?: string | undefined;
@@ -21331,6 +21502,11 @@ declare const WorkspaceDump: z.ZodObject<{
21331
21502
  errorReason: string;
21332
21503
  enabled: boolean;
21333
21504
  };
21505
+ approvals: {
21506
+ errorMessage: string;
21507
+ errorReason: string;
21508
+ enabled: boolean;
21509
+ };
21334
21510
  } | undefined;
21335
21511
  stripeSubscriptionMainItemId?: string | undefined;
21336
21512
  currentPeriodStart?: string | undefined;
@@ -21409,6 +21585,7 @@ declare const WorkspaceDump: z.ZodObject<{
21409
21585
  designSystemIds: string[];
21410
21586
  } | null | undefined>;
21411
21587
  isApprovalFeatureEnabled: z.ZodBoolean;
21588
+ approvalRequiredForPublishing: z.ZodBoolean;
21412
21589
  createdAt: z.ZodDate;
21413
21590
  updatedAt: z.ZodDate;
21414
21591
  }, "strip", z.ZodTypeAny, {
@@ -21424,6 +21601,7 @@ declare const WorkspaceDump: z.ZodObject<{
21424
21601
  isMultibrand: boolean;
21425
21602
  basePrefixes: string[];
21426
21603
  isApprovalFeatureEnabled: boolean;
21604
+ approvalRequiredForPublishing: boolean;
21427
21605
  docExporterId?: string | undefined;
21428
21606
  docUserSlug?: string | undefined;
21429
21607
  docViewUrl?: string | undefined;
@@ -21444,6 +21622,7 @@ declare const WorkspaceDump: z.ZodObject<{
21444
21622
  isMultibrand: boolean;
21445
21623
  basePrefixes: string[];
21446
21624
  isApprovalFeatureEnabled: boolean;
21625
+ approvalRequiredForPublishing: boolean;
21447
21626
  docExporterId?: string | null | undefined;
21448
21627
  docUserSlug?: string | null | undefined;
21449
21628
  docViewUrl?: string | null | undefined;
@@ -24526,6 +24705,7 @@ declare const WorkspaceDump: z.ZodObject<{
24526
24705
  isMultibrand: boolean;
24527
24706
  basePrefixes: string[];
24528
24707
  isApprovalFeatureEnabled: boolean;
24708
+ approvalRequiredForPublishing: boolean;
24529
24709
  docExporterId?: string | undefined;
24530
24710
  docUserSlug?: string | undefined;
24531
24711
  docViewUrl?: string | undefined;
@@ -24954,6 +25134,7 @@ declare const WorkspaceDump: z.ZodObject<{
24954
25134
  isMultibrand: boolean;
24955
25135
  basePrefixes: string[];
24956
25136
  isApprovalFeatureEnabled: boolean;
25137
+ approvalRequiredForPublishing: boolean;
24957
25138
  docExporterId?: string | null | undefined;
24958
25139
  docUserSlug?: string | null | undefined;
24959
25140
  docViewUrl?: string | null | undefined;
@@ -26516,6 +26697,7 @@ declare const WorkspaceDump: z.ZodObject<{
26516
26697
  isMultibrand: boolean;
26517
26698
  basePrefixes: string[];
26518
26699
  isApprovalFeatureEnabled: boolean;
26700
+ approvalRequiredForPublishing: boolean;
26519
26701
  docExporterId?: string | undefined;
26520
26702
  docUserSlug?: string | undefined;
26521
26703
  docViewUrl?: string | undefined;
@@ -27052,6 +27234,11 @@ declare const WorkspaceDump: z.ZodObject<{
27052
27234
  errorReason: string;
27053
27235
  enabled: boolean;
27054
27236
  };
27237
+ approvals: {
27238
+ errorMessage: string;
27239
+ errorReason: string;
27240
+ enabled: boolean;
27241
+ };
27055
27242
  } | undefined;
27056
27243
  stripeSubscriptionMainItemId?: string | undefined;
27057
27244
  currentPeriodStart?: string | undefined;
@@ -27306,6 +27493,7 @@ declare const WorkspaceDump: z.ZodObject<{
27306
27493
  isMultibrand: boolean;
27307
27494
  basePrefixes: string[];
27308
27495
  isApprovalFeatureEnabled: boolean;
27496
+ approvalRequiredForPublishing: boolean;
27309
27497
  docExporterId?: string | null | undefined;
27310
27498
  docUserSlug?: string | null | undefined;
27311
27499
  docViewUrl?: string | null | undefined;
@@ -27842,6 +28030,11 @@ declare const WorkspaceDump: z.ZodObject<{
27842
28030
  errorReason: string;
27843
28031
  enabled: boolean;
27844
28032
  };
28033
+ approvals: {
28034
+ errorMessage: string;
28035
+ errorReason: string;
28036
+ enabled: boolean;
28037
+ };
27845
28038
  } | undefined;
27846
28039
  stripeSubscriptionMainItemId?: string | undefined;
27847
28040
  currentPeriodStart?: string | undefined;
@@ -125017,6 +125210,7 @@ declare const DesignSystemUpdateInput: z.ZodObject<z.objectUtil.extendShape<Omit
125017
125210
  designSystemIds: string[];
125018
125211
  } | null | undefined>>;
125019
125212
  isApprovalFeatureEnabled: z.ZodOptional<z.ZodBoolean>;
125213
+ approvalRequiredForPublishing: z.ZodOptional<z.ZodBoolean>;
125020
125214
  createdAt: z.ZodOptional<z.ZodDate>;
125021
125215
  updatedAt: z.ZodOptional<z.ZodDate>;
125022
125216
  }, "id" | "createdAt" | "updatedAt" | "workspaceId" | "docSlug" | "docViewUrl">, {
@@ -125048,6 +125242,7 @@ declare const DesignSystemUpdateInput: z.ZodObject<z.objectUtil.extendShape<Omit
125048
125242
  designSystemIds: string[];
125049
125243
  } | undefined;
125050
125244
  isApprovalFeatureEnabled?: boolean | undefined;
125245
+ approvalRequiredForPublishing?: boolean | undefined;
125051
125246
  }, {
125052
125247
  name?: string | undefined;
125053
125248
  description?: string | undefined;
@@ -125066,6 +125261,7 @@ declare const DesignSystemUpdateInput: z.ZodObject<z.objectUtil.extendShape<Omit
125066
125261
  designSystemIds: string[];
125067
125262
  } | null | undefined;
125068
125263
  isApprovalFeatureEnabled?: boolean | undefined;
125264
+ approvalRequiredForPublishing?: boolean | undefined;
125069
125265
  }>;
125070
125266
  type DesignSystemUpdateInput = z.infer<typeof DesignSystemUpdateInput>;
125071
125267
  declare const DesignSystemUpdateInputMetadata: z.ZodObject<{
@@ -125118,6 +125314,7 @@ declare const DesignSystem: z.ZodObject<{
125118
125314
  designSystemIds: string[];
125119
125315
  } | null | undefined>;
125120
125316
  isApprovalFeatureEnabled: z.ZodBoolean;
125317
+ approvalRequiredForPublishing: z.ZodBoolean;
125121
125318
  createdAt: z.ZodDate;
125122
125319
  updatedAt: z.ZodDate;
125123
125320
  }, "strip", z.ZodTypeAny, {
@@ -125133,6 +125330,7 @@ declare const DesignSystem: z.ZodObject<{
125133
125330
  isMultibrand: boolean;
125134
125331
  basePrefixes: string[];
125135
125332
  isApprovalFeatureEnabled: boolean;
125333
+ approvalRequiredForPublishing: boolean;
125136
125334
  docExporterId?: string | undefined;
125137
125335
  docUserSlug?: string | undefined;
125138
125336
  docViewUrl?: string | undefined;
@@ -125153,6 +125351,7 @@ declare const DesignSystem: z.ZodObject<{
125153
125351
  isMultibrand: boolean;
125154
125352
  basePrefixes: string[];
125155
125353
  isApprovalFeatureEnabled: boolean;
125354
+ approvalRequiredForPublishing: boolean;
125156
125355
  docExporterId?: string | null | undefined;
125157
125356
  docUserSlug?: string | null | undefined;
125158
125357
  docViewUrl?: string | null | undefined;
@@ -125190,6 +125389,7 @@ declare const DesignSystemWithWorkspace: z.ZodObject<{
125190
125389
  designSystemIds: string[];
125191
125390
  } | null | undefined>;
125192
125391
  isApprovalFeatureEnabled: z.ZodBoolean;
125392
+ approvalRequiredForPublishing: z.ZodBoolean;
125193
125393
  createdAt: z.ZodDate;
125194
125394
  updatedAt: z.ZodDate;
125195
125395
  }, "strip", z.ZodTypeAny, {
@@ -125205,6 +125405,7 @@ declare const DesignSystemWithWorkspace: z.ZodObject<{
125205
125405
  isMultibrand: boolean;
125206
125406
  basePrefixes: string[];
125207
125407
  isApprovalFeatureEnabled: boolean;
125408
+ approvalRequiredForPublishing: boolean;
125208
125409
  docExporterId?: string | undefined;
125209
125410
  docUserSlug?: string | undefined;
125210
125411
  docViewUrl?: string | undefined;
@@ -125225,6 +125426,7 @@ declare const DesignSystemWithWorkspace: z.ZodObject<{
125225
125426
  isMultibrand: boolean;
125226
125427
  basePrefixes: string[];
125227
125428
  isApprovalFeatureEnabled: boolean;
125429
+ approvalRequiredForPublishing: boolean;
125228
125430
  docExporterId?: string | null | undefined;
125229
125431
  docUserSlug?: string | null | undefined;
125230
125432
  docViewUrl?: string | null | undefined;
@@ -125593,6 +125795,19 @@ declare const DesignSystemWithWorkspace: z.ZodObject<{
125593
125795
  errorReason: string;
125594
125796
  enabled: boolean;
125595
125797
  }>;
125798
+ approvals: z.ZodObject<{
125799
+ enabled: z.ZodBoolean;
125800
+ errorMessage: z.ZodString;
125801
+ errorReason: z.ZodString;
125802
+ }, "strip", z.ZodTypeAny, {
125803
+ errorMessage: string;
125804
+ errorReason: string;
125805
+ enabled: boolean;
125806
+ }, {
125807
+ errorMessage: string;
125808
+ errorReason: string;
125809
+ enabled: boolean;
125810
+ }>;
125596
125811
  }, "strip", z.ZodTypeAny, {
125597
125812
  designSystems: {
125598
125813
  max: number;
@@ -125686,6 +125901,11 @@ declare const DesignSystemWithWorkspace: z.ZodObject<{
125686
125901
  errorReason: string;
125687
125902
  enabled: boolean;
125688
125903
  };
125904
+ approvals: {
125905
+ errorMessage: string;
125906
+ errorReason: string;
125907
+ enabled: boolean;
125908
+ };
125689
125909
  }, {
125690
125910
  designSystems: {
125691
125911
  max: number;
@@ -125779,6 +125999,11 @@ declare const DesignSystemWithWorkspace: z.ZodObject<{
125779
125999
  errorReason: string;
125780
126000
  enabled: boolean;
125781
126001
  };
126002
+ approvals: {
126003
+ errorMessage: string;
126004
+ errorReason: string;
126005
+ enabled: boolean;
126006
+ };
125782
126007
  }>>;
125783
126008
  stripeProductDescription: z.ZodOptional<z.ZodString>;
125784
126009
  stripeProductFeatures: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -125939,6 +126164,11 @@ declare const DesignSystemWithWorkspace: z.ZodObject<{
125939
126164
  errorReason: string;
125940
126165
  enabled: boolean;
125941
126166
  };
126167
+ approvals: {
126168
+ errorMessage: string;
126169
+ errorReason: string;
126170
+ enabled: boolean;
126171
+ };
125942
126172
  } | undefined;
125943
126173
  stripeSubscriptionMainItemId?: string | undefined;
125944
126174
  currentPeriodStart?: string | undefined;
@@ -126066,6 +126296,11 @@ declare const DesignSystemWithWorkspace: z.ZodObject<{
126066
126296
  errorReason: string;
126067
126297
  enabled: boolean;
126068
126298
  };
126299
+ approvals: {
126300
+ errorMessage: string;
126301
+ errorReason: string;
126302
+ enabled: boolean;
126303
+ };
126069
126304
  } | undefined;
126070
126305
  stripeSubscriptionMainItemId?: string | undefined;
126071
126306
  currentPeriodStart?: string | undefined;
@@ -126369,6 +126604,11 @@ declare const DesignSystemWithWorkspace: z.ZodObject<{
126369
126604
  errorReason: string;
126370
126605
  enabled: boolean;
126371
126606
  };
126607
+ approvals: {
126608
+ errorMessage: string;
126609
+ errorReason: string;
126610
+ enabled: boolean;
126611
+ };
126372
126612
  } | undefined;
126373
126613
  stripeSubscriptionMainItemId?: string | undefined;
126374
126614
  currentPeriodStart?: string | undefined;
@@ -126561,6 +126801,11 @@ declare const DesignSystemWithWorkspace: z.ZodObject<{
126561
126801
  errorReason: string;
126562
126802
  enabled: boolean;
126563
126803
  };
126804
+ approvals: {
126805
+ errorMessage: string;
126806
+ errorReason: string;
126807
+ enabled: boolean;
126808
+ };
126564
126809
  } | undefined;
126565
126810
  stripeSubscriptionMainItemId?: string | undefined;
126566
126811
  currentPeriodStart?: string | undefined;
@@ -126755,6 +127000,11 @@ declare const DesignSystemWithWorkspace: z.ZodObject<{
126755
127000
  errorReason: string;
126756
127001
  enabled: boolean;
126757
127002
  };
127003
+ approvals: {
127004
+ errorMessage: string;
127005
+ errorReason: string;
127006
+ enabled: boolean;
127007
+ };
126758
127008
  } | undefined;
126759
127009
  stripeSubscriptionMainItemId?: string | undefined;
126760
127010
  currentPeriodStart?: string | undefined;
@@ -126818,6 +127068,7 @@ declare const DesignSystemWithWorkspace: z.ZodObject<{
126818
127068
  isMultibrand: boolean;
126819
127069
  basePrefixes: string[];
126820
127070
  isApprovalFeatureEnabled: boolean;
127071
+ approvalRequiredForPublishing: boolean;
126821
127072
  docExporterId?: string | undefined;
126822
127073
  docUserSlug?: string | undefined;
126823
127074
  docViewUrl?: string | undefined;
@@ -126970,6 +127221,11 @@ declare const DesignSystemWithWorkspace: z.ZodObject<{
126970
127221
  errorReason: string;
126971
127222
  enabled: boolean;
126972
127223
  };
127224
+ approvals: {
127225
+ errorMessage: string;
127226
+ errorReason: string;
127227
+ enabled: boolean;
127228
+ };
126973
127229
  } | undefined;
126974
127230
  stripeSubscriptionMainItemId?: string | undefined;
126975
127231
  currentPeriodStart?: string | undefined;
@@ -127033,6 +127289,7 @@ declare const DesignSystemWithWorkspace: z.ZodObject<{
127033
127289
  isMultibrand: boolean;
127034
127290
  basePrefixes: string[];
127035
127291
  isApprovalFeatureEnabled: boolean;
127292
+ approvalRequiredForPublishing: boolean;
127036
127293
  docExporterId?: string | null | undefined;
127037
127294
  docUserSlug?: string | null | undefined;
127038
127295
  docViewUrl?: string | null | undefined;
@@ -160922,6 +161179,19 @@ declare const Workspace: z.ZodObject<{
160922
161179
  errorReason: string;
160923
161180
  enabled: boolean;
160924
161181
  }>;
161182
+ approvals: z.ZodObject<{
161183
+ enabled: z.ZodBoolean;
161184
+ errorMessage: z.ZodString;
161185
+ errorReason: z.ZodString;
161186
+ }, "strip", z.ZodTypeAny, {
161187
+ errorMessage: string;
161188
+ errorReason: string;
161189
+ enabled: boolean;
161190
+ }, {
161191
+ errorMessage: string;
161192
+ errorReason: string;
161193
+ enabled: boolean;
161194
+ }>;
160925
161195
  }, "strip", z.ZodTypeAny, {
160926
161196
  designSystems: {
160927
161197
  max: number;
@@ -161015,6 +161285,11 @@ declare const Workspace: z.ZodObject<{
161015
161285
  errorReason: string;
161016
161286
  enabled: boolean;
161017
161287
  };
161288
+ approvals: {
161289
+ errorMessage: string;
161290
+ errorReason: string;
161291
+ enabled: boolean;
161292
+ };
161018
161293
  }, {
161019
161294
  designSystems: {
161020
161295
  max: number;
@@ -161108,6 +161383,11 @@ declare const Workspace: z.ZodObject<{
161108
161383
  errorReason: string;
161109
161384
  enabled: boolean;
161110
161385
  };
161386
+ approvals: {
161387
+ errorMessage: string;
161388
+ errorReason: string;
161389
+ enabled: boolean;
161390
+ };
161111
161391
  }>>;
161112
161392
  stripeProductDescription: z.ZodOptional<z.ZodString>;
161113
161393
  stripeProductFeatures: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -161268,6 +161548,11 @@ declare const Workspace: z.ZodObject<{
161268
161548
  errorReason: string;
161269
161549
  enabled: boolean;
161270
161550
  };
161551
+ approvals: {
161552
+ errorMessage: string;
161553
+ errorReason: string;
161554
+ enabled: boolean;
161555
+ };
161271
161556
  } | undefined;
161272
161557
  stripeSubscriptionMainItemId?: string | undefined;
161273
161558
  currentPeriodStart?: string | undefined;
@@ -161395,6 +161680,11 @@ declare const Workspace: z.ZodObject<{
161395
161680
  errorReason: string;
161396
161681
  enabled: boolean;
161397
161682
  };
161683
+ approvals: {
161684
+ errorMessage: string;
161685
+ errorReason: string;
161686
+ enabled: boolean;
161687
+ };
161398
161688
  } | undefined;
161399
161689
  stripeSubscriptionMainItemId?: string | undefined;
161400
161690
  currentPeriodStart?: string | undefined;
@@ -161698,6 +161988,11 @@ declare const Workspace: z.ZodObject<{
161698
161988
  errorReason: string;
161699
161989
  enabled: boolean;
161700
161990
  };
161991
+ approvals: {
161992
+ errorMessage: string;
161993
+ errorReason: string;
161994
+ enabled: boolean;
161995
+ };
161701
161996
  } | undefined;
161702
161997
  stripeSubscriptionMainItemId?: string | undefined;
161703
161998
  currentPeriodStart?: string | undefined;
@@ -161890,6 +162185,11 @@ declare const Workspace: z.ZodObject<{
161890
162185
  errorReason: string;
161891
162186
  enabled: boolean;
161892
162187
  };
162188
+ approvals: {
162189
+ errorMessage: string;
162190
+ errorReason: string;
162191
+ enabled: boolean;
162192
+ };
161893
162193
  } | undefined;
161894
162194
  stripeSubscriptionMainItemId?: string | undefined;
161895
162195
  currentPeriodStart?: string | undefined;
@@ -162302,6 +162602,19 @@ declare const WorkspaceWithDesignSystems: z.ZodObject<{
162302
162602
  errorReason: string;
162303
162603
  enabled: boolean;
162304
162604
  }>;
162605
+ approvals: z.ZodObject<{
162606
+ enabled: z.ZodBoolean;
162607
+ errorMessage: z.ZodString;
162608
+ errorReason: z.ZodString;
162609
+ }, "strip", z.ZodTypeAny, {
162610
+ errorMessage: string;
162611
+ errorReason: string;
162612
+ enabled: boolean;
162613
+ }, {
162614
+ errorMessage: string;
162615
+ errorReason: string;
162616
+ enabled: boolean;
162617
+ }>;
162305
162618
  }, "strip", z.ZodTypeAny, {
162306
162619
  designSystems: {
162307
162620
  max: number;
@@ -162395,6 +162708,11 @@ declare const WorkspaceWithDesignSystems: z.ZodObject<{
162395
162708
  errorReason: string;
162396
162709
  enabled: boolean;
162397
162710
  };
162711
+ approvals: {
162712
+ errorMessage: string;
162713
+ errorReason: string;
162714
+ enabled: boolean;
162715
+ };
162398
162716
  }, {
162399
162717
  designSystems: {
162400
162718
  max: number;
@@ -162488,6 +162806,11 @@ declare const WorkspaceWithDesignSystems: z.ZodObject<{
162488
162806
  errorReason: string;
162489
162807
  enabled: boolean;
162490
162808
  };
162809
+ approvals: {
162810
+ errorMessage: string;
162811
+ errorReason: string;
162812
+ enabled: boolean;
162813
+ };
162491
162814
  }>>;
162492
162815
  stripeProductDescription: z.ZodOptional<z.ZodString>;
162493
162816
  stripeProductFeatures: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -162648,6 +162971,11 @@ declare const WorkspaceWithDesignSystems: z.ZodObject<{
162648
162971
  errorReason: string;
162649
162972
  enabled: boolean;
162650
162973
  };
162974
+ approvals: {
162975
+ errorMessage: string;
162976
+ errorReason: string;
162977
+ enabled: boolean;
162978
+ };
162651
162979
  } | undefined;
162652
162980
  stripeSubscriptionMainItemId?: string | undefined;
162653
162981
  currentPeriodStart?: string | undefined;
@@ -162775,6 +163103,11 @@ declare const WorkspaceWithDesignSystems: z.ZodObject<{
162775
163103
  errorReason: string;
162776
163104
  enabled: boolean;
162777
163105
  };
163106
+ approvals: {
163107
+ errorMessage: string;
163108
+ errorReason: string;
163109
+ enabled: boolean;
163110
+ };
162778
163111
  } | undefined;
162779
163112
  stripeSubscriptionMainItemId?: string | undefined;
162780
163113
  currentPeriodStart?: string | undefined;
@@ -163078,6 +163411,11 @@ declare const WorkspaceWithDesignSystems: z.ZodObject<{
163078
163411
  errorReason: string;
163079
163412
  enabled: boolean;
163080
163413
  };
163414
+ approvals: {
163415
+ errorMessage: string;
163416
+ errorReason: string;
163417
+ enabled: boolean;
163418
+ };
163081
163419
  } | undefined;
163082
163420
  stripeSubscriptionMainItemId?: string | undefined;
163083
163421
  currentPeriodStart?: string | undefined;
@@ -163270,6 +163608,11 @@ declare const WorkspaceWithDesignSystems: z.ZodObject<{
163270
163608
  errorReason: string;
163271
163609
  enabled: boolean;
163272
163610
  };
163611
+ approvals: {
163612
+ errorMessage: string;
163613
+ errorReason: string;
163614
+ enabled: boolean;
163615
+ };
163273
163616
  } | undefined;
163274
163617
  stripeSubscriptionMainItemId?: string | undefined;
163275
163618
  currentPeriodStart?: string | undefined;
@@ -163347,6 +163690,7 @@ declare const WorkspaceWithDesignSystems: z.ZodObject<{
163347
163690
  designSystemIds: string[];
163348
163691
  } | null | undefined>;
163349
163692
  isApprovalFeatureEnabled: z.ZodBoolean;
163693
+ approvalRequiredForPublishing: z.ZodBoolean;
163350
163694
  createdAt: z.ZodDate;
163351
163695
  updatedAt: z.ZodDate;
163352
163696
  }, "strip", z.ZodTypeAny, {
@@ -163362,6 +163706,7 @@ declare const WorkspaceWithDesignSystems: z.ZodObject<{
163362
163706
  isMultibrand: boolean;
163363
163707
  basePrefixes: string[];
163364
163708
  isApprovalFeatureEnabled: boolean;
163709
+ approvalRequiredForPublishing: boolean;
163365
163710
  docExporterId?: string | undefined;
163366
163711
  docUserSlug?: string | undefined;
163367
163712
  docViewUrl?: string | undefined;
@@ -163382,6 +163727,7 @@ declare const WorkspaceWithDesignSystems: z.ZodObject<{
163382
163727
  isMultibrand: boolean;
163383
163728
  basePrefixes: string[];
163384
163729
  isApprovalFeatureEnabled: boolean;
163730
+ approvalRequiredForPublishing: boolean;
163385
163731
  docExporterId?: string | null | undefined;
163386
163732
  docUserSlug?: string | null | undefined;
163387
163733
  docViewUrl?: string | null | undefined;
@@ -163404,6 +163750,7 @@ declare const WorkspaceWithDesignSystems: z.ZodObject<{
163404
163750
  isMultibrand: boolean;
163405
163751
  basePrefixes: string[];
163406
163752
  isApprovalFeatureEnabled: boolean;
163753
+ approvalRequiredForPublishing: boolean;
163407
163754
  docExporterId?: string | undefined;
163408
163755
  docUserSlug?: string | undefined;
163409
163756
  docViewUrl?: string | undefined;
@@ -163555,6 +163902,11 @@ declare const WorkspaceWithDesignSystems: z.ZodObject<{
163555
163902
  errorReason: string;
163556
163903
  enabled: boolean;
163557
163904
  };
163905
+ approvals: {
163906
+ errorMessage: string;
163907
+ errorReason: string;
163908
+ enabled: boolean;
163909
+ };
163558
163910
  } | undefined;
163559
163911
  stripeSubscriptionMainItemId?: string | undefined;
163560
163912
  currentPeriodStart?: string | undefined;
@@ -163619,6 +163971,7 @@ declare const WorkspaceWithDesignSystems: z.ZodObject<{
163619
163971
  isMultibrand: boolean;
163620
163972
  basePrefixes: string[];
163621
163973
  isApprovalFeatureEnabled: boolean;
163974
+ approvalRequiredForPublishing: boolean;
163622
163975
  docExporterId?: string | null | undefined;
163623
163976
  docUserSlug?: string | null | undefined;
163624
163977
  docViewUrl?: string | null | undefined;
@@ -163770,6 +164123,11 @@ declare const WorkspaceWithDesignSystems: z.ZodObject<{
163770
164123
  errorReason: string;
163771
164124
  enabled: boolean;
163772
164125
  };
164126
+ approvals: {
164127
+ errorMessage: string;
164128
+ errorReason: string;
164129
+ enabled: boolean;
164130
+ };
163773
164131
  } | undefined;
163774
164132
  stripeSubscriptionMainItemId?: string | undefined;
163775
164133
  currentPeriodStart?: string | undefined;