@supernova-studio/client 0.54.19 → 0.54.20

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
@@ -1138,6 +1138,2308 @@ declare const DTOPagination: z.ZodObject<{
1138
1138
  }>;
1139
1139
  type DTOPagination = z.infer<typeof DTOPagination>;
1140
1140
 
1141
+ declare const DTOAppBootstrapDataQuery: z.ZodObject<{
1142
+ preferredWorkspaceId: z.ZodOptional<z.ZodString>;
1143
+ preferredDesignSystemId: z.ZodOptional<z.ZodString>;
1144
+ preferredVersionId: z.ZodOptional<z.ZodString>;
1145
+ preferredBrandId: z.ZodOptional<z.ZodString>;
1146
+ }, "strip", z.ZodTypeAny, {
1147
+ preferredWorkspaceId?: string | undefined;
1148
+ preferredDesignSystemId?: string | undefined;
1149
+ preferredVersionId?: string | undefined;
1150
+ preferredBrandId?: string | undefined;
1151
+ }, {
1152
+ preferredWorkspaceId?: string | undefined;
1153
+ preferredDesignSystemId?: string | undefined;
1154
+ preferredVersionId?: string | undefined;
1155
+ preferredBrandId?: string | undefined;
1156
+ }>;
1157
+ type DTOAppBootstrapDataQuery = z.infer<typeof DTOAppBootstrapDataQuery>;
1158
+ declare const DTOAppBootstrapDataResponse: z.ZodObject<{
1159
+ workspaceMembership: z.ZodOptional<z.ZodObject<{
1160
+ workspace: z.ZodObject<{
1161
+ id: z.ZodString;
1162
+ profile: z.ZodObject<{
1163
+ name: z.ZodString;
1164
+ handle: z.ZodString;
1165
+ color: z.ZodString;
1166
+ avatar: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<string, z.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
1167
+ billingDetails: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<{
1168
+ address?: {
1169
+ street1?: string | undefined;
1170
+ street2?: string | undefined;
1171
+ city?: string | undefined;
1172
+ postal?: string | undefined;
1173
+ country?: string | undefined;
1174
+ state?: string | undefined;
1175
+ } | undefined;
1176
+ email?: string | undefined;
1177
+ companyName?: string | undefined;
1178
+ companyId?: string | undefined;
1179
+ notes?: string | undefined;
1180
+ vat?: string | undefined;
1181
+ poNumber?: string | undefined;
1182
+ }, z.ZodTypeDef, {
1183
+ address?: {
1184
+ street1?: string | null | undefined;
1185
+ street2?: string | null | undefined;
1186
+ city?: string | null | undefined;
1187
+ postal?: string | null | undefined;
1188
+ country?: string | null | undefined;
1189
+ state?: string | null | undefined;
1190
+ } | null | undefined;
1191
+ email?: string | null | undefined;
1192
+ companyName?: string | null | undefined;
1193
+ companyId?: string | null | undefined;
1194
+ notes?: string | null | undefined;
1195
+ vat?: string | null | undefined;
1196
+ poNumber?: string | null | undefined;
1197
+ }>>>, {
1198
+ address?: {
1199
+ street1?: string | undefined;
1200
+ street2?: string | undefined;
1201
+ city?: string | undefined;
1202
+ postal?: string | undefined;
1203
+ country?: string | undefined;
1204
+ state?: string | undefined;
1205
+ } | undefined;
1206
+ email?: string | undefined;
1207
+ companyName?: string | undefined;
1208
+ companyId?: string | undefined;
1209
+ notes?: string | undefined;
1210
+ vat?: string | undefined;
1211
+ poNumber?: string | undefined;
1212
+ } | undefined, {
1213
+ address?: {
1214
+ street1?: string | null | undefined;
1215
+ street2?: string | null | undefined;
1216
+ city?: string | null | undefined;
1217
+ postal?: string | null | undefined;
1218
+ country?: string | null | undefined;
1219
+ state?: string | null | undefined;
1220
+ } | null | undefined;
1221
+ email?: string | null | undefined;
1222
+ companyName?: string | null | undefined;
1223
+ companyId?: string | null | undefined;
1224
+ notes?: string | null | undefined;
1225
+ vat?: string | null | undefined;
1226
+ poNumber?: string | null | undefined;
1227
+ } | null | undefined>;
1228
+ }, "strip", z.ZodTypeAny, {
1229
+ name: string;
1230
+ color: string;
1231
+ handle: string;
1232
+ avatar?: string | undefined;
1233
+ billingDetails?: {
1234
+ address?: {
1235
+ street1?: string | undefined;
1236
+ street2?: string | undefined;
1237
+ city?: string | undefined;
1238
+ postal?: string | undefined;
1239
+ country?: string | undefined;
1240
+ state?: string | undefined;
1241
+ } | undefined;
1242
+ email?: string | undefined;
1243
+ companyName?: string | undefined;
1244
+ companyId?: string | undefined;
1245
+ notes?: string | undefined;
1246
+ vat?: string | undefined;
1247
+ poNumber?: string | undefined;
1248
+ } | undefined;
1249
+ }, {
1250
+ name: string;
1251
+ color: string;
1252
+ handle: string;
1253
+ avatar?: string | null | undefined;
1254
+ billingDetails?: {
1255
+ address?: {
1256
+ street1?: string | null | undefined;
1257
+ street2?: string | null | undefined;
1258
+ city?: string | null | undefined;
1259
+ postal?: string | null | undefined;
1260
+ country?: string | null | undefined;
1261
+ state?: string | null | undefined;
1262
+ } | null | undefined;
1263
+ email?: string | null | undefined;
1264
+ companyName?: string | null | undefined;
1265
+ companyId?: string | null | undefined;
1266
+ notes?: string | null | undefined;
1267
+ vat?: string | null | undefined;
1268
+ poNumber?: string | null | undefined;
1269
+ } | null | undefined;
1270
+ }>;
1271
+ subscription: z.ZodObject<{
1272
+ stripeSubscriptionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1273
+ stripeCustomerId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1274
+ status: z.ZodOptional<z.ZodEnum<["active", "suspended", "gracePeriod", "cancelled", "downgraded_to_free"]>>;
1275
+ subscriptionStatus: z.ZodOptional<z.ZodEnum<["trialing", "active", "past_due", "canceled", "unpaid", "incomplete_expired", "incomplete", "unknown"]>>;
1276
+ internalStatus: z.ZodOptional<z.ZodEnum<["active", "suspended", "gracePeriod", "cancelled", "downgraded_to_free"]>>;
1277
+ product: z.ZodEnum<["free", "team", "company", "enterprise"]>;
1278
+ featuresSummary: z.ZodOptional<z.ZodObject<{
1279
+ designSystems: z.ZodObject<{
1280
+ max: z.ZodNumber;
1281
+ errorMessage: z.ZodString;
1282
+ errorReason: z.ZodString;
1283
+ }, "strip", z.ZodTypeAny, {
1284
+ max: number;
1285
+ errorMessage: string;
1286
+ errorReason: string;
1287
+ }, {
1288
+ max: number;
1289
+ errorMessage: string;
1290
+ errorReason: string;
1291
+ }>;
1292
+ designSystemSources: z.ZodObject<z.objectUtil.extendShape<{
1293
+ max: z.ZodNumber;
1294
+ errorMessage: z.ZodString;
1295
+ errorReason: z.ZodString;
1296
+ }, {
1297
+ noImportJobsErrorMessage: z.ZodString;
1298
+ noImportJobsErrorReason: z.ZodString;
1299
+ }>, "strip", z.ZodTypeAny, {
1300
+ max: number;
1301
+ errorMessage: string;
1302
+ errorReason: string;
1303
+ noImportJobsErrorMessage: string;
1304
+ noImportJobsErrorReason: string;
1305
+ }, {
1306
+ max: number;
1307
+ errorMessage: string;
1308
+ errorReason: string;
1309
+ noImportJobsErrorMessage: string;
1310
+ noImportJobsErrorReason: string;
1311
+ }>;
1312
+ designSystemVersions: z.ZodObject<{
1313
+ max: z.ZodNumber;
1314
+ errorMessage: z.ZodString;
1315
+ errorReason: z.ZodString;
1316
+ }, "strip", z.ZodTypeAny, {
1317
+ max: number;
1318
+ errorMessage: string;
1319
+ errorReason: string;
1320
+ }, {
1321
+ max: number;
1322
+ errorMessage: string;
1323
+ errorReason: string;
1324
+ }>;
1325
+ themes: z.ZodObject<{
1326
+ max: z.ZodNumber;
1327
+ errorMessage: z.ZodString;
1328
+ errorReason: z.ZodString;
1329
+ }, "strip", z.ZodTypeAny, {
1330
+ max: number;
1331
+ errorMessage: string;
1332
+ errorReason: string;
1333
+ }, {
1334
+ max: number;
1335
+ errorMessage: string;
1336
+ errorReason: string;
1337
+ }>;
1338
+ brands: z.ZodObject<{
1339
+ max: z.ZodNumber;
1340
+ errorMessage: z.ZodString;
1341
+ errorReason: z.ZodString;
1342
+ }, "strip", z.ZodTypeAny, {
1343
+ max: number;
1344
+ errorMessage: string;
1345
+ errorReason: string;
1346
+ }, {
1347
+ max: number;
1348
+ errorMessage: string;
1349
+ errorReason: string;
1350
+ }>;
1351
+ codegenSchedules: z.ZodObject<{
1352
+ max: z.ZodNumber;
1353
+ errorMessage: z.ZodString;
1354
+ errorReason: z.ZodString;
1355
+ }, "strip", z.ZodTypeAny, {
1356
+ max: number;
1357
+ errorMessage: string;
1358
+ errorReason: string;
1359
+ }, {
1360
+ max: number;
1361
+ errorMessage: string;
1362
+ errorReason: string;
1363
+ }>;
1364
+ publicDocumentation: z.ZodObject<{
1365
+ enabled: z.ZodBoolean;
1366
+ errorMessage: z.ZodString;
1367
+ errorReason: z.ZodString;
1368
+ }, "strip", z.ZodTypeAny, {
1369
+ errorMessage: string;
1370
+ errorReason: string;
1371
+ enabled: boolean;
1372
+ }, {
1373
+ errorMessage: string;
1374
+ errorReason: string;
1375
+ enabled: boolean;
1376
+ }>;
1377
+ customDocumentationUrl: z.ZodObject<{
1378
+ enabled: z.ZodBoolean;
1379
+ errorMessage: z.ZodString;
1380
+ errorReason: z.ZodString;
1381
+ }, "strip", z.ZodTypeAny, {
1382
+ errorMessage: string;
1383
+ errorReason: string;
1384
+ enabled: boolean;
1385
+ }, {
1386
+ errorMessage: string;
1387
+ errorReason: string;
1388
+ enabled: boolean;
1389
+ }>;
1390
+ customDocumentationViewButton: z.ZodObject<{
1391
+ enabled: z.ZodBoolean;
1392
+ errorMessage: z.ZodString;
1393
+ errorReason: z.ZodString;
1394
+ }, "strip", z.ZodTypeAny, {
1395
+ errorMessage: string;
1396
+ errorReason: string;
1397
+ enabled: boolean;
1398
+ }, {
1399
+ errorMessage: string;
1400
+ errorReason: string;
1401
+ enabled: boolean;
1402
+ }>;
1403
+ designSystemSourceAutoImport: z.ZodObject<{
1404
+ enabled: z.ZodBoolean;
1405
+ errorMessage: z.ZodString;
1406
+ errorReason: z.ZodString;
1407
+ }, "strip", z.ZodTypeAny, {
1408
+ errorMessage: string;
1409
+ errorReason: string;
1410
+ enabled: boolean;
1411
+ }, {
1412
+ errorMessage: string;
1413
+ errorReason: string;
1414
+ enabled: boolean;
1415
+ }>;
1416
+ designSystemSlug: z.ZodObject<{
1417
+ enabled: z.ZodBoolean;
1418
+ errorMessage: z.ZodString;
1419
+ errorReason: z.ZodString;
1420
+ }, "strip", z.ZodTypeAny, {
1421
+ errorMessage: string;
1422
+ errorReason: string;
1423
+ enabled: boolean;
1424
+ }, {
1425
+ errorMessage: string;
1426
+ errorReason: string;
1427
+ enabled: boolean;
1428
+ }>;
1429
+ ipWhitelisting: z.ZodObject<{
1430
+ enabled: z.ZodBoolean;
1431
+ errorMessage: z.ZodString;
1432
+ errorReason: z.ZodString;
1433
+ }, "strip", z.ZodTypeAny, {
1434
+ errorMessage: string;
1435
+ errorReason: string;
1436
+ enabled: boolean;
1437
+ }, {
1438
+ errorMessage: string;
1439
+ errorReason: string;
1440
+ enabled: boolean;
1441
+ }>;
1442
+ npmRegistry: z.ZodObject<{
1443
+ enabled: z.ZodBoolean;
1444
+ errorMessage: z.ZodString;
1445
+ errorReason: z.ZodString;
1446
+ }, "strip", z.ZodTypeAny, {
1447
+ errorMessage: string;
1448
+ errorReason: string;
1449
+ enabled: boolean;
1450
+ }, {
1451
+ errorMessage: string;
1452
+ errorReason: string;
1453
+ enabled: boolean;
1454
+ }>;
1455
+ sso: z.ZodObject<{
1456
+ enabled: z.ZodBoolean;
1457
+ errorMessage: z.ZodString;
1458
+ errorReason: z.ZodString;
1459
+ }, "strip", z.ZodTypeAny, {
1460
+ errorMessage: string;
1461
+ errorReason: string;
1462
+ enabled: boolean;
1463
+ }, {
1464
+ errorMessage: string;
1465
+ errorReason: string;
1466
+ enabled: boolean;
1467
+ }>;
1468
+ workspacePaidSeats: z.ZodObject<{
1469
+ max: z.ZodNumber;
1470
+ errorMessage: z.ZodString;
1471
+ errorReason: z.ZodString;
1472
+ }, "strip", z.ZodTypeAny, {
1473
+ max: number;
1474
+ errorMessage: string;
1475
+ errorReason: string;
1476
+ }, {
1477
+ max: number;
1478
+ errorMessage: string;
1479
+ errorReason: string;
1480
+ }>;
1481
+ workspaceViewers: z.ZodObject<{
1482
+ max: z.ZodNumber;
1483
+ errorMessage: z.ZodString;
1484
+ errorReason: z.ZodString;
1485
+ }, "strip", z.ZodTypeAny, {
1486
+ max: number;
1487
+ errorMessage: string;
1488
+ errorReason: string;
1489
+ }, {
1490
+ max: number;
1491
+ errorMessage: string;
1492
+ errorReason: string;
1493
+ }>;
1494
+ customDocumentationExporter: z.ZodObject<{
1495
+ enabled: z.ZodBoolean;
1496
+ errorMessage: z.ZodString;
1497
+ errorReason: z.ZodString;
1498
+ }, "strip", z.ZodTypeAny, {
1499
+ errorMessage: string;
1500
+ errorReason: string;
1501
+ enabled: boolean;
1502
+ }, {
1503
+ errorMessage: string;
1504
+ errorReason: string;
1505
+ enabled: boolean;
1506
+ }>;
1507
+ protectedPages: z.ZodObject<{
1508
+ enabled: z.ZodBoolean;
1509
+ errorMessage: z.ZodString;
1510
+ errorReason: z.ZodString;
1511
+ }, "strip", z.ZodTypeAny, {
1512
+ errorMessage: string;
1513
+ errorReason: string;
1514
+ enabled: boolean;
1515
+ }, {
1516
+ errorMessage: string;
1517
+ errorReason: string;
1518
+ enabled: boolean;
1519
+ }>;
1520
+ approvals: z.ZodObject<{
1521
+ enabled: z.ZodBoolean;
1522
+ errorMessage: z.ZodString;
1523
+ errorReason: z.ZodString;
1524
+ }, "strip", z.ZodTypeAny, {
1525
+ errorMessage: string;
1526
+ errorReason: string;
1527
+ enabled: boolean;
1528
+ }, {
1529
+ errorMessage: string;
1530
+ errorReason: string;
1531
+ enabled: boolean;
1532
+ }>;
1533
+ selectivePublishing: z.ZodObject<{
1534
+ enabled: z.ZodBoolean;
1535
+ errorMessage: z.ZodString;
1536
+ errorReason: z.ZodString;
1537
+ }, "strip", z.ZodTypeAny, {
1538
+ errorMessage: string;
1539
+ errorReason: string;
1540
+ enabled: boolean;
1541
+ }, {
1542
+ errorMessage: string;
1543
+ errorReason: string;
1544
+ enabled: boolean;
1545
+ }>;
1546
+ }, "strip", z.ZodTypeAny, {
1547
+ designSystems: {
1548
+ max: number;
1549
+ errorMessage: string;
1550
+ errorReason: string;
1551
+ };
1552
+ designSystemSources: {
1553
+ max: number;
1554
+ errorMessage: string;
1555
+ errorReason: string;
1556
+ noImportJobsErrorMessage: string;
1557
+ noImportJobsErrorReason: string;
1558
+ };
1559
+ designSystemVersions: {
1560
+ max: number;
1561
+ errorMessage: string;
1562
+ errorReason: string;
1563
+ };
1564
+ themes: {
1565
+ max: number;
1566
+ errorMessage: string;
1567
+ errorReason: string;
1568
+ };
1569
+ brands: {
1570
+ max: number;
1571
+ errorMessage: string;
1572
+ errorReason: string;
1573
+ };
1574
+ codegenSchedules: {
1575
+ max: number;
1576
+ errorMessage: string;
1577
+ errorReason: string;
1578
+ };
1579
+ publicDocumentation: {
1580
+ errorMessage: string;
1581
+ errorReason: string;
1582
+ enabled: boolean;
1583
+ };
1584
+ customDocumentationUrl: {
1585
+ errorMessage: string;
1586
+ errorReason: string;
1587
+ enabled: boolean;
1588
+ };
1589
+ customDocumentationViewButton: {
1590
+ errorMessage: string;
1591
+ errorReason: string;
1592
+ enabled: boolean;
1593
+ };
1594
+ designSystemSourceAutoImport: {
1595
+ errorMessage: string;
1596
+ errorReason: string;
1597
+ enabled: boolean;
1598
+ };
1599
+ designSystemSlug: {
1600
+ errorMessage: string;
1601
+ errorReason: string;
1602
+ enabled: boolean;
1603
+ };
1604
+ ipWhitelisting: {
1605
+ errorMessage: string;
1606
+ errorReason: string;
1607
+ enabled: boolean;
1608
+ };
1609
+ npmRegistry: {
1610
+ errorMessage: string;
1611
+ errorReason: string;
1612
+ enabled: boolean;
1613
+ };
1614
+ sso: {
1615
+ errorMessage: string;
1616
+ errorReason: string;
1617
+ enabled: boolean;
1618
+ };
1619
+ workspacePaidSeats: {
1620
+ max: number;
1621
+ errorMessage: string;
1622
+ errorReason: string;
1623
+ };
1624
+ workspaceViewers: {
1625
+ max: number;
1626
+ errorMessage: string;
1627
+ errorReason: string;
1628
+ };
1629
+ customDocumentationExporter: {
1630
+ errorMessage: string;
1631
+ errorReason: string;
1632
+ enabled: boolean;
1633
+ };
1634
+ protectedPages: {
1635
+ errorMessage: string;
1636
+ errorReason: string;
1637
+ enabled: boolean;
1638
+ };
1639
+ approvals: {
1640
+ errorMessage: string;
1641
+ errorReason: string;
1642
+ enabled: boolean;
1643
+ };
1644
+ selectivePublishing: {
1645
+ errorMessage: string;
1646
+ errorReason: string;
1647
+ enabled: boolean;
1648
+ };
1649
+ }, {
1650
+ designSystems: {
1651
+ max: number;
1652
+ errorMessage: string;
1653
+ errorReason: string;
1654
+ };
1655
+ designSystemSources: {
1656
+ max: number;
1657
+ errorMessage: string;
1658
+ errorReason: string;
1659
+ noImportJobsErrorMessage: string;
1660
+ noImportJobsErrorReason: string;
1661
+ };
1662
+ designSystemVersions: {
1663
+ max: number;
1664
+ errorMessage: string;
1665
+ errorReason: string;
1666
+ };
1667
+ themes: {
1668
+ max: number;
1669
+ errorMessage: string;
1670
+ errorReason: string;
1671
+ };
1672
+ brands: {
1673
+ max: number;
1674
+ errorMessage: string;
1675
+ errorReason: string;
1676
+ };
1677
+ codegenSchedules: {
1678
+ max: number;
1679
+ errorMessage: string;
1680
+ errorReason: string;
1681
+ };
1682
+ publicDocumentation: {
1683
+ errorMessage: string;
1684
+ errorReason: string;
1685
+ enabled: boolean;
1686
+ };
1687
+ customDocumentationUrl: {
1688
+ errorMessage: string;
1689
+ errorReason: string;
1690
+ enabled: boolean;
1691
+ };
1692
+ customDocumentationViewButton: {
1693
+ errorMessage: string;
1694
+ errorReason: string;
1695
+ enabled: boolean;
1696
+ };
1697
+ designSystemSourceAutoImport: {
1698
+ errorMessage: string;
1699
+ errorReason: string;
1700
+ enabled: boolean;
1701
+ };
1702
+ designSystemSlug: {
1703
+ errorMessage: string;
1704
+ errorReason: string;
1705
+ enabled: boolean;
1706
+ };
1707
+ ipWhitelisting: {
1708
+ errorMessage: string;
1709
+ errorReason: string;
1710
+ enabled: boolean;
1711
+ };
1712
+ npmRegistry: {
1713
+ errorMessage: string;
1714
+ errorReason: string;
1715
+ enabled: boolean;
1716
+ };
1717
+ sso: {
1718
+ errorMessage: string;
1719
+ errorReason: string;
1720
+ enabled: boolean;
1721
+ };
1722
+ workspacePaidSeats: {
1723
+ max: number;
1724
+ errorMessage: string;
1725
+ errorReason: string;
1726
+ };
1727
+ workspaceViewers: {
1728
+ max: number;
1729
+ errorMessage: string;
1730
+ errorReason: string;
1731
+ };
1732
+ customDocumentationExporter: {
1733
+ errorMessage: string;
1734
+ errorReason: string;
1735
+ enabled: boolean;
1736
+ };
1737
+ protectedPages: {
1738
+ errorMessage: string;
1739
+ errorReason: string;
1740
+ enabled: boolean;
1741
+ };
1742
+ approvals: {
1743
+ errorMessage: string;
1744
+ errorReason: string;
1745
+ enabled: boolean;
1746
+ };
1747
+ selectivePublishing: {
1748
+ errorMessage: string;
1749
+ errorReason: string;
1750
+ enabled: boolean;
1751
+ };
1752
+ }>>;
1753
+ stripeProductDescription: z.ZodOptional<z.ZodString>;
1754
+ stripeProductFeatures: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1755
+ stripeProductAdditionalFeatures: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1756
+ stripeSubscriptionMainItemId: z.ZodOptional<z.ZodString>;
1757
+ planPriceId: z.ZodString;
1758
+ planInterval: z.ZodEnum<["daily", "monthly", "weekly", "yearly"]>;
1759
+ isPricePerCreator: z.ZodOptional<z.ZodBoolean>;
1760
+ legacyVersion: z.ZodOptional<z.ZodString>;
1761
+ seats: z.ZodNumber;
1762
+ seatLimit: z.ZodNumber;
1763
+ currentPeriodStart: z.ZodOptional<z.ZodString>;
1764
+ currentPeriodEnd: z.ZodOptional<z.ZodString>;
1765
+ subscriptionStatusUpdatedAt: z.ZodOptional<z.ZodString>;
1766
+ cancelAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1767
+ card: z.ZodOptional<z.ZodObject<{
1768
+ cardId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1769
+ last4: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1770
+ expiryMonth: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1771
+ expiryYear: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1772
+ brand: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1773
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1774
+ }, "strip", z.ZodTypeAny, {
1775
+ cardId?: string | null | undefined;
1776
+ last4?: string | null | undefined;
1777
+ expiryMonth?: string | null | undefined;
1778
+ expiryYear?: string | null | undefined;
1779
+ brand?: string | null | undefined;
1780
+ name?: string | null | undefined;
1781
+ }, {
1782
+ cardId?: string | null | undefined;
1783
+ last4?: string | null | undefined;
1784
+ expiryMonth?: string | null | undefined;
1785
+ expiryYear?: string | null | undefined;
1786
+ brand?: string | null | undefined;
1787
+ name?: string | null | undefined;
1788
+ }>>;
1789
+ amount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1790
+ isTrial: z.ZodOptional<z.ZodBoolean>;
1791
+ billingType: z.ZodOptional<z.ZodEnum<["Auto", "Invoice"]>>;
1792
+ daysUntilDue: z.ZodOptional<z.ZodNumber>;
1793
+ }, "strip", z.ZodTypeAny, {
1794
+ product: "free" | "team" | "company" | "enterprise";
1795
+ planPriceId: string;
1796
+ planInterval: "daily" | "monthly" | "weekly" | "yearly";
1797
+ seats: number;
1798
+ seatLimit: number;
1799
+ status?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
1800
+ card?: {
1801
+ cardId?: string | null | undefined;
1802
+ last4?: string | null | undefined;
1803
+ expiryMonth?: string | null | undefined;
1804
+ expiryYear?: string | null | undefined;
1805
+ brand?: string | null | undefined;
1806
+ name?: string | null | undefined;
1807
+ } | undefined;
1808
+ amount?: number | null | undefined;
1809
+ stripeProductDescription?: string | undefined;
1810
+ isPricePerCreator?: boolean | undefined;
1811
+ isTrial?: boolean | undefined;
1812
+ legacyVersion?: string | undefined;
1813
+ stripeProductFeatures?: string[] | undefined;
1814
+ stripeProductAdditionalFeatures?: string[] | undefined;
1815
+ stripeSubscriptionId?: string | null | undefined;
1816
+ stripeCustomerId?: string | null | undefined;
1817
+ subscriptionStatus?: "unknown" | "active" | "trialing" | "past_due" | "canceled" | "unpaid" | "incomplete_expired" | "incomplete" | undefined;
1818
+ internalStatus?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
1819
+ featuresSummary?: {
1820
+ designSystems: {
1821
+ max: number;
1822
+ errorMessage: string;
1823
+ errorReason: string;
1824
+ };
1825
+ designSystemSources: {
1826
+ max: number;
1827
+ errorMessage: string;
1828
+ errorReason: string;
1829
+ noImportJobsErrorMessage: string;
1830
+ noImportJobsErrorReason: string;
1831
+ };
1832
+ designSystemVersions: {
1833
+ max: number;
1834
+ errorMessage: string;
1835
+ errorReason: string;
1836
+ };
1837
+ themes: {
1838
+ max: number;
1839
+ errorMessage: string;
1840
+ errorReason: string;
1841
+ };
1842
+ brands: {
1843
+ max: number;
1844
+ errorMessage: string;
1845
+ errorReason: string;
1846
+ };
1847
+ codegenSchedules: {
1848
+ max: number;
1849
+ errorMessage: string;
1850
+ errorReason: string;
1851
+ };
1852
+ publicDocumentation: {
1853
+ errorMessage: string;
1854
+ errorReason: string;
1855
+ enabled: boolean;
1856
+ };
1857
+ customDocumentationUrl: {
1858
+ errorMessage: string;
1859
+ errorReason: string;
1860
+ enabled: boolean;
1861
+ };
1862
+ customDocumentationViewButton: {
1863
+ errorMessage: string;
1864
+ errorReason: string;
1865
+ enabled: boolean;
1866
+ };
1867
+ designSystemSourceAutoImport: {
1868
+ errorMessage: string;
1869
+ errorReason: string;
1870
+ enabled: boolean;
1871
+ };
1872
+ designSystemSlug: {
1873
+ errorMessage: string;
1874
+ errorReason: string;
1875
+ enabled: boolean;
1876
+ };
1877
+ ipWhitelisting: {
1878
+ errorMessage: string;
1879
+ errorReason: string;
1880
+ enabled: boolean;
1881
+ };
1882
+ npmRegistry: {
1883
+ errorMessage: string;
1884
+ errorReason: string;
1885
+ enabled: boolean;
1886
+ };
1887
+ sso: {
1888
+ errorMessage: string;
1889
+ errorReason: string;
1890
+ enabled: boolean;
1891
+ };
1892
+ workspacePaidSeats: {
1893
+ max: number;
1894
+ errorMessage: string;
1895
+ errorReason: string;
1896
+ };
1897
+ workspaceViewers: {
1898
+ max: number;
1899
+ errorMessage: string;
1900
+ errorReason: string;
1901
+ };
1902
+ customDocumentationExporter: {
1903
+ errorMessage: string;
1904
+ errorReason: string;
1905
+ enabled: boolean;
1906
+ };
1907
+ protectedPages: {
1908
+ errorMessage: string;
1909
+ errorReason: string;
1910
+ enabled: boolean;
1911
+ };
1912
+ approvals: {
1913
+ errorMessage: string;
1914
+ errorReason: string;
1915
+ enabled: boolean;
1916
+ };
1917
+ selectivePublishing: {
1918
+ errorMessage: string;
1919
+ errorReason: string;
1920
+ enabled: boolean;
1921
+ };
1922
+ } | undefined;
1923
+ stripeSubscriptionMainItemId?: string | undefined;
1924
+ currentPeriodStart?: string | undefined;
1925
+ currentPeriodEnd?: string | undefined;
1926
+ subscriptionStatusUpdatedAt?: string | undefined;
1927
+ cancelAt?: string | null | undefined;
1928
+ billingType?: "Auto" | "Invoice" | undefined;
1929
+ daysUntilDue?: number | undefined;
1930
+ }, {
1931
+ product: "free" | "team" | "company" | "enterprise";
1932
+ planPriceId: string;
1933
+ planInterval: "daily" | "monthly" | "weekly" | "yearly";
1934
+ seats: number;
1935
+ seatLimit: number;
1936
+ status?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
1937
+ card?: {
1938
+ cardId?: string | null | undefined;
1939
+ last4?: string | null | undefined;
1940
+ expiryMonth?: string | null | undefined;
1941
+ expiryYear?: string | null | undefined;
1942
+ brand?: string | null | undefined;
1943
+ name?: string | null | undefined;
1944
+ } | undefined;
1945
+ amount?: number | null | undefined;
1946
+ stripeProductDescription?: string | undefined;
1947
+ isPricePerCreator?: boolean | undefined;
1948
+ isTrial?: boolean | undefined;
1949
+ legacyVersion?: string | undefined;
1950
+ stripeProductFeatures?: string[] | undefined;
1951
+ stripeProductAdditionalFeatures?: string[] | undefined;
1952
+ stripeSubscriptionId?: string | null | undefined;
1953
+ stripeCustomerId?: string | null | undefined;
1954
+ subscriptionStatus?: "unknown" | "active" | "trialing" | "past_due" | "canceled" | "unpaid" | "incomplete_expired" | "incomplete" | undefined;
1955
+ internalStatus?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
1956
+ featuresSummary?: {
1957
+ designSystems: {
1958
+ max: number;
1959
+ errorMessage: string;
1960
+ errorReason: string;
1961
+ };
1962
+ designSystemSources: {
1963
+ max: number;
1964
+ errorMessage: string;
1965
+ errorReason: string;
1966
+ noImportJobsErrorMessage: string;
1967
+ noImportJobsErrorReason: string;
1968
+ };
1969
+ designSystemVersions: {
1970
+ max: number;
1971
+ errorMessage: string;
1972
+ errorReason: string;
1973
+ };
1974
+ themes: {
1975
+ max: number;
1976
+ errorMessage: string;
1977
+ errorReason: string;
1978
+ };
1979
+ brands: {
1980
+ max: number;
1981
+ errorMessage: string;
1982
+ errorReason: string;
1983
+ };
1984
+ codegenSchedules: {
1985
+ max: number;
1986
+ errorMessage: string;
1987
+ errorReason: string;
1988
+ };
1989
+ publicDocumentation: {
1990
+ errorMessage: string;
1991
+ errorReason: string;
1992
+ enabled: boolean;
1993
+ };
1994
+ customDocumentationUrl: {
1995
+ errorMessage: string;
1996
+ errorReason: string;
1997
+ enabled: boolean;
1998
+ };
1999
+ customDocumentationViewButton: {
2000
+ errorMessage: string;
2001
+ errorReason: string;
2002
+ enabled: boolean;
2003
+ };
2004
+ designSystemSourceAutoImport: {
2005
+ errorMessage: string;
2006
+ errorReason: string;
2007
+ enabled: boolean;
2008
+ };
2009
+ designSystemSlug: {
2010
+ errorMessage: string;
2011
+ errorReason: string;
2012
+ enabled: boolean;
2013
+ };
2014
+ ipWhitelisting: {
2015
+ errorMessage: string;
2016
+ errorReason: string;
2017
+ enabled: boolean;
2018
+ };
2019
+ npmRegistry: {
2020
+ errorMessage: string;
2021
+ errorReason: string;
2022
+ enabled: boolean;
2023
+ };
2024
+ sso: {
2025
+ errorMessage: string;
2026
+ errorReason: string;
2027
+ enabled: boolean;
2028
+ };
2029
+ workspacePaidSeats: {
2030
+ max: number;
2031
+ errorMessage: string;
2032
+ errorReason: string;
2033
+ };
2034
+ workspaceViewers: {
2035
+ max: number;
2036
+ errorMessage: string;
2037
+ errorReason: string;
2038
+ };
2039
+ customDocumentationExporter: {
2040
+ errorMessage: string;
2041
+ errorReason: string;
2042
+ enabled: boolean;
2043
+ };
2044
+ protectedPages: {
2045
+ errorMessage: string;
2046
+ errorReason: string;
2047
+ enabled: boolean;
2048
+ };
2049
+ approvals: {
2050
+ errorMessage: string;
2051
+ errorReason: string;
2052
+ enabled: boolean;
2053
+ };
2054
+ selectivePublishing: {
2055
+ errorMessage: string;
2056
+ errorReason: string;
2057
+ enabled: boolean;
2058
+ };
2059
+ } | undefined;
2060
+ stripeSubscriptionMainItemId?: string | undefined;
2061
+ currentPeriodStart?: string | undefined;
2062
+ currentPeriodEnd?: string | undefined;
2063
+ subscriptionStatusUpdatedAt?: string | undefined;
2064
+ cancelAt?: string | null | undefined;
2065
+ billingType?: "Auto" | "Invoice" | undefined;
2066
+ daysUntilDue?: number | undefined;
2067
+ }>;
2068
+ npmRegistry: z.ZodOptional<z.ZodObject<{
2069
+ registryType: z.ZodEnum<["NPMJS", "GitHub", "AzureDevOps", "Artifactory", "Custom"]>;
2070
+ registryUrl: z.ZodString;
2071
+ customRegistryUrl: z.ZodOptional<z.ZodString>;
2072
+ proxyUrl: z.ZodString;
2073
+ authType: z.ZodEnum<["Basic", "Bearer", "None", "Custom"]>;
2074
+ accessToken: z.ZodOptional<z.ZodLiteral<string>>;
2075
+ username: z.ZodOptional<z.ZodString>;
2076
+ password: z.ZodOptional<z.ZodLiteral<string>>;
2077
+ enabledScopes: z.ZodArray<z.ZodString, "many">;
2078
+ bypassProxy: z.ZodBoolean;
2079
+ }, "strip", z.ZodTypeAny, {
2080
+ enabledScopes: string[];
2081
+ bypassProxy: boolean;
2082
+ registryType: "Custom" | "NPMJS" | "GitHub" | "AzureDevOps" | "Artifactory";
2083
+ authType: "Custom" | "None" | "Basic" | "Bearer";
2084
+ registryUrl: string;
2085
+ proxyUrl: string;
2086
+ customRegistryUrl?: string | undefined;
2087
+ accessToken?: string | undefined;
2088
+ username?: string | undefined;
2089
+ password?: string | undefined;
2090
+ }, {
2091
+ enabledScopes: string[];
2092
+ bypassProxy: boolean;
2093
+ registryType: "Custom" | "NPMJS" | "GitHub" | "AzureDevOps" | "Artifactory";
2094
+ authType: "Custom" | "None" | "Basic" | "Bearer";
2095
+ registryUrl: string;
2096
+ proxyUrl: string;
2097
+ customRegistryUrl?: string | undefined;
2098
+ accessToken?: string | undefined;
2099
+ username?: string | undefined;
2100
+ password?: string | undefined;
2101
+ }>>;
2102
+ }, "strip", z.ZodTypeAny, {
2103
+ id: string;
2104
+ profile: {
2105
+ name: string;
2106
+ color: string;
2107
+ handle: string;
2108
+ avatar?: string | undefined;
2109
+ billingDetails?: {
2110
+ address?: {
2111
+ street1?: string | undefined;
2112
+ street2?: string | undefined;
2113
+ city?: string | undefined;
2114
+ postal?: string | undefined;
2115
+ country?: string | undefined;
2116
+ state?: string | undefined;
2117
+ } | undefined;
2118
+ email?: string | undefined;
2119
+ companyName?: string | undefined;
2120
+ companyId?: string | undefined;
2121
+ notes?: string | undefined;
2122
+ vat?: string | undefined;
2123
+ poNumber?: string | undefined;
2124
+ } | undefined;
2125
+ };
2126
+ subscription: {
2127
+ product: "free" | "team" | "company" | "enterprise";
2128
+ planPriceId: string;
2129
+ planInterval: "daily" | "monthly" | "weekly" | "yearly";
2130
+ seats: number;
2131
+ seatLimit: number;
2132
+ status?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
2133
+ card?: {
2134
+ cardId?: string | null | undefined;
2135
+ last4?: string | null | undefined;
2136
+ expiryMonth?: string | null | undefined;
2137
+ expiryYear?: string | null | undefined;
2138
+ brand?: string | null | undefined;
2139
+ name?: string | null | undefined;
2140
+ } | undefined;
2141
+ amount?: number | null | undefined;
2142
+ stripeProductDescription?: string | undefined;
2143
+ isPricePerCreator?: boolean | undefined;
2144
+ isTrial?: boolean | undefined;
2145
+ legacyVersion?: string | undefined;
2146
+ stripeProductFeatures?: string[] | undefined;
2147
+ stripeProductAdditionalFeatures?: string[] | undefined;
2148
+ stripeSubscriptionId?: string | null | undefined;
2149
+ stripeCustomerId?: string | null | undefined;
2150
+ subscriptionStatus?: "unknown" | "active" | "trialing" | "past_due" | "canceled" | "unpaid" | "incomplete_expired" | "incomplete" | undefined;
2151
+ internalStatus?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
2152
+ featuresSummary?: {
2153
+ designSystems: {
2154
+ max: number;
2155
+ errorMessage: string;
2156
+ errorReason: string;
2157
+ };
2158
+ designSystemSources: {
2159
+ max: number;
2160
+ errorMessage: string;
2161
+ errorReason: string;
2162
+ noImportJobsErrorMessage: string;
2163
+ noImportJobsErrorReason: string;
2164
+ };
2165
+ designSystemVersions: {
2166
+ max: number;
2167
+ errorMessage: string;
2168
+ errorReason: string;
2169
+ };
2170
+ themes: {
2171
+ max: number;
2172
+ errorMessage: string;
2173
+ errorReason: string;
2174
+ };
2175
+ brands: {
2176
+ max: number;
2177
+ errorMessage: string;
2178
+ errorReason: string;
2179
+ };
2180
+ codegenSchedules: {
2181
+ max: number;
2182
+ errorMessage: string;
2183
+ errorReason: string;
2184
+ };
2185
+ publicDocumentation: {
2186
+ errorMessage: string;
2187
+ errorReason: string;
2188
+ enabled: boolean;
2189
+ };
2190
+ customDocumentationUrl: {
2191
+ errorMessage: string;
2192
+ errorReason: string;
2193
+ enabled: boolean;
2194
+ };
2195
+ customDocumentationViewButton: {
2196
+ errorMessage: string;
2197
+ errorReason: string;
2198
+ enabled: boolean;
2199
+ };
2200
+ designSystemSourceAutoImport: {
2201
+ errorMessage: string;
2202
+ errorReason: string;
2203
+ enabled: boolean;
2204
+ };
2205
+ designSystemSlug: {
2206
+ errorMessage: string;
2207
+ errorReason: string;
2208
+ enabled: boolean;
2209
+ };
2210
+ ipWhitelisting: {
2211
+ errorMessage: string;
2212
+ errorReason: string;
2213
+ enabled: boolean;
2214
+ };
2215
+ npmRegistry: {
2216
+ errorMessage: string;
2217
+ errorReason: string;
2218
+ enabled: boolean;
2219
+ };
2220
+ sso: {
2221
+ errorMessage: string;
2222
+ errorReason: string;
2223
+ enabled: boolean;
2224
+ };
2225
+ workspacePaidSeats: {
2226
+ max: number;
2227
+ errorMessage: string;
2228
+ errorReason: string;
2229
+ };
2230
+ workspaceViewers: {
2231
+ max: number;
2232
+ errorMessage: string;
2233
+ errorReason: string;
2234
+ };
2235
+ customDocumentationExporter: {
2236
+ errorMessage: string;
2237
+ errorReason: string;
2238
+ enabled: boolean;
2239
+ };
2240
+ protectedPages: {
2241
+ errorMessage: string;
2242
+ errorReason: string;
2243
+ enabled: boolean;
2244
+ };
2245
+ approvals: {
2246
+ errorMessage: string;
2247
+ errorReason: string;
2248
+ enabled: boolean;
2249
+ };
2250
+ selectivePublishing: {
2251
+ errorMessage: string;
2252
+ errorReason: string;
2253
+ enabled: boolean;
2254
+ };
2255
+ } | undefined;
2256
+ stripeSubscriptionMainItemId?: string | undefined;
2257
+ currentPeriodStart?: string | undefined;
2258
+ currentPeriodEnd?: string | undefined;
2259
+ subscriptionStatusUpdatedAt?: string | undefined;
2260
+ cancelAt?: string | null | undefined;
2261
+ billingType?: "Auto" | "Invoice" | undefined;
2262
+ daysUntilDue?: number | undefined;
2263
+ };
2264
+ npmRegistry?: {
2265
+ enabledScopes: string[];
2266
+ bypassProxy: boolean;
2267
+ registryType: "Custom" | "NPMJS" | "GitHub" | "AzureDevOps" | "Artifactory";
2268
+ authType: "Custom" | "None" | "Basic" | "Bearer";
2269
+ registryUrl: string;
2270
+ proxyUrl: string;
2271
+ customRegistryUrl?: string | undefined;
2272
+ accessToken?: string | undefined;
2273
+ username?: string | undefined;
2274
+ password?: string | undefined;
2275
+ } | undefined;
2276
+ }, {
2277
+ id: string;
2278
+ profile: {
2279
+ name: string;
2280
+ color: string;
2281
+ handle: string;
2282
+ avatar?: string | null | undefined;
2283
+ billingDetails?: {
2284
+ address?: {
2285
+ street1?: string | null | undefined;
2286
+ street2?: string | null | undefined;
2287
+ city?: string | null | undefined;
2288
+ postal?: string | null | undefined;
2289
+ country?: string | null | undefined;
2290
+ state?: string | null | undefined;
2291
+ } | null | undefined;
2292
+ email?: string | null | undefined;
2293
+ companyName?: string | null | undefined;
2294
+ companyId?: string | null | undefined;
2295
+ notes?: string | null | undefined;
2296
+ vat?: string | null | undefined;
2297
+ poNumber?: string | null | undefined;
2298
+ } | null | undefined;
2299
+ };
2300
+ subscription: {
2301
+ product: "free" | "team" | "company" | "enterprise";
2302
+ planPriceId: string;
2303
+ planInterval: "daily" | "monthly" | "weekly" | "yearly";
2304
+ seats: number;
2305
+ seatLimit: number;
2306
+ status?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
2307
+ card?: {
2308
+ cardId?: string | null | undefined;
2309
+ last4?: string | null | undefined;
2310
+ expiryMonth?: string | null | undefined;
2311
+ expiryYear?: string | null | undefined;
2312
+ brand?: string | null | undefined;
2313
+ name?: string | null | undefined;
2314
+ } | undefined;
2315
+ amount?: number | null | undefined;
2316
+ stripeProductDescription?: string | undefined;
2317
+ isPricePerCreator?: boolean | undefined;
2318
+ isTrial?: boolean | undefined;
2319
+ legacyVersion?: string | undefined;
2320
+ stripeProductFeatures?: string[] | undefined;
2321
+ stripeProductAdditionalFeatures?: string[] | undefined;
2322
+ stripeSubscriptionId?: string | null | undefined;
2323
+ stripeCustomerId?: string | null | undefined;
2324
+ subscriptionStatus?: "unknown" | "active" | "trialing" | "past_due" | "canceled" | "unpaid" | "incomplete_expired" | "incomplete" | undefined;
2325
+ internalStatus?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
2326
+ featuresSummary?: {
2327
+ designSystems: {
2328
+ max: number;
2329
+ errorMessage: string;
2330
+ errorReason: string;
2331
+ };
2332
+ designSystemSources: {
2333
+ max: number;
2334
+ errorMessage: string;
2335
+ errorReason: string;
2336
+ noImportJobsErrorMessage: string;
2337
+ noImportJobsErrorReason: string;
2338
+ };
2339
+ designSystemVersions: {
2340
+ max: number;
2341
+ errorMessage: string;
2342
+ errorReason: string;
2343
+ };
2344
+ themes: {
2345
+ max: number;
2346
+ errorMessage: string;
2347
+ errorReason: string;
2348
+ };
2349
+ brands: {
2350
+ max: number;
2351
+ errorMessage: string;
2352
+ errorReason: string;
2353
+ };
2354
+ codegenSchedules: {
2355
+ max: number;
2356
+ errorMessage: string;
2357
+ errorReason: string;
2358
+ };
2359
+ publicDocumentation: {
2360
+ errorMessage: string;
2361
+ errorReason: string;
2362
+ enabled: boolean;
2363
+ };
2364
+ customDocumentationUrl: {
2365
+ errorMessage: string;
2366
+ errorReason: string;
2367
+ enabled: boolean;
2368
+ };
2369
+ customDocumentationViewButton: {
2370
+ errorMessage: string;
2371
+ errorReason: string;
2372
+ enabled: boolean;
2373
+ };
2374
+ designSystemSourceAutoImport: {
2375
+ errorMessage: string;
2376
+ errorReason: string;
2377
+ enabled: boolean;
2378
+ };
2379
+ designSystemSlug: {
2380
+ errorMessage: string;
2381
+ errorReason: string;
2382
+ enabled: boolean;
2383
+ };
2384
+ ipWhitelisting: {
2385
+ errorMessage: string;
2386
+ errorReason: string;
2387
+ enabled: boolean;
2388
+ };
2389
+ npmRegistry: {
2390
+ errorMessage: string;
2391
+ errorReason: string;
2392
+ enabled: boolean;
2393
+ };
2394
+ sso: {
2395
+ errorMessage: string;
2396
+ errorReason: string;
2397
+ enabled: boolean;
2398
+ };
2399
+ workspacePaidSeats: {
2400
+ max: number;
2401
+ errorMessage: string;
2402
+ errorReason: string;
2403
+ };
2404
+ workspaceViewers: {
2405
+ max: number;
2406
+ errorMessage: string;
2407
+ errorReason: string;
2408
+ };
2409
+ customDocumentationExporter: {
2410
+ errorMessage: string;
2411
+ errorReason: string;
2412
+ enabled: boolean;
2413
+ };
2414
+ protectedPages: {
2415
+ errorMessage: string;
2416
+ errorReason: string;
2417
+ enabled: boolean;
2418
+ };
2419
+ approvals: {
2420
+ errorMessage: string;
2421
+ errorReason: string;
2422
+ enabled: boolean;
2423
+ };
2424
+ selectivePublishing: {
2425
+ errorMessage: string;
2426
+ errorReason: string;
2427
+ enabled: boolean;
2428
+ };
2429
+ } | undefined;
2430
+ stripeSubscriptionMainItemId?: string | undefined;
2431
+ currentPeriodStart?: string | undefined;
2432
+ currentPeriodEnd?: string | undefined;
2433
+ subscriptionStatusUpdatedAt?: string | undefined;
2434
+ cancelAt?: string | null | undefined;
2435
+ billingType?: "Auto" | "Invoice" | undefined;
2436
+ daysUntilDue?: number | undefined;
2437
+ };
2438
+ npmRegistry?: {
2439
+ enabledScopes: string[];
2440
+ bypassProxy: boolean;
2441
+ registryType: "Custom" | "NPMJS" | "GitHub" | "AzureDevOps" | "Artifactory";
2442
+ authType: "Custom" | "None" | "Basic" | "Bearer";
2443
+ registryUrl: string;
2444
+ proxyUrl: string;
2445
+ customRegistryUrl?: string | undefined;
2446
+ accessToken?: string | undefined;
2447
+ username?: string | undefined;
2448
+ password?: string | undefined;
2449
+ } | undefined;
2450
+ }>;
2451
+ role: z.ZodEnum<["Owner", "Admin", "Creator", "Viewer", "Billing", "Contributor"]>;
2452
+ effectiveRole: z.ZodEnum<["Owner", "Admin", "Creator", "Viewer", "Billing", "Contributor"]>;
2453
+ }, "strip", z.ZodTypeAny, {
2454
+ role: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Contributor";
2455
+ workspace: {
2456
+ id: string;
2457
+ profile: {
2458
+ name: string;
2459
+ color: string;
2460
+ handle: string;
2461
+ avatar?: string | undefined;
2462
+ billingDetails?: {
2463
+ address?: {
2464
+ street1?: string | undefined;
2465
+ street2?: string | undefined;
2466
+ city?: string | undefined;
2467
+ postal?: string | undefined;
2468
+ country?: string | undefined;
2469
+ state?: string | undefined;
2470
+ } | undefined;
2471
+ email?: string | undefined;
2472
+ companyName?: string | undefined;
2473
+ companyId?: string | undefined;
2474
+ notes?: string | undefined;
2475
+ vat?: string | undefined;
2476
+ poNumber?: string | undefined;
2477
+ } | undefined;
2478
+ };
2479
+ subscription: {
2480
+ product: "free" | "team" | "company" | "enterprise";
2481
+ planPriceId: string;
2482
+ planInterval: "daily" | "monthly" | "weekly" | "yearly";
2483
+ seats: number;
2484
+ seatLimit: number;
2485
+ status?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
2486
+ card?: {
2487
+ cardId?: string | null | undefined;
2488
+ last4?: string | null | undefined;
2489
+ expiryMonth?: string | null | undefined;
2490
+ expiryYear?: string | null | undefined;
2491
+ brand?: string | null | undefined;
2492
+ name?: string | null | undefined;
2493
+ } | undefined;
2494
+ amount?: number | null | undefined;
2495
+ stripeProductDescription?: string | undefined;
2496
+ isPricePerCreator?: boolean | undefined;
2497
+ isTrial?: boolean | undefined;
2498
+ legacyVersion?: string | undefined;
2499
+ stripeProductFeatures?: string[] | undefined;
2500
+ stripeProductAdditionalFeatures?: string[] | undefined;
2501
+ stripeSubscriptionId?: string | null | undefined;
2502
+ stripeCustomerId?: string | null | undefined;
2503
+ subscriptionStatus?: "unknown" | "active" | "trialing" | "past_due" | "canceled" | "unpaid" | "incomplete_expired" | "incomplete" | undefined;
2504
+ internalStatus?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
2505
+ featuresSummary?: {
2506
+ designSystems: {
2507
+ max: number;
2508
+ errorMessage: string;
2509
+ errorReason: string;
2510
+ };
2511
+ designSystemSources: {
2512
+ max: number;
2513
+ errorMessage: string;
2514
+ errorReason: string;
2515
+ noImportJobsErrorMessage: string;
2516
+ noImportJobsErrorReason: string;
2517
+ };
2518
+ designSystemVersions: {
2519
+ max: number;
2520
+ errorMessage: string;
2521
+ errorReason: string;
2522
+ };
2523
+ themes: {
2524
+ max: number;
2525
+ errorMessage: string;
2526
+ errorReason: string;
2527
+ };
2528
+ brands: {
2529
+ max: number;
2530
+ errorMessage: string;
2531
+ errorReason: string;
2532
+ };
2533
+ codegenSchedules: {
2534
+ max: number;
2535
+ errorMessage: string;
2536
+ errorReason: string;
2537
+ };
2538
+ publicDocumentation: {
2539
+ errorMessage: string;
2540
+ errorReason: string;
2541
+ enabled: boolean;
2542
+ };
2543
+ customDocumentationUrl: {
2544
+ errorMessage: string;
2545
+ errorReason: string;
2546
+ enabled: boolean;
2547
+ };
2548
+ customDocumentationViewButton: {
2549
+ errorMessage: string;
2550
+ errorReason: string;
2551
+ enabled: boolean;
2552
+ };
2553
+ designSystemSourceAutoImport: {
2554
+ errorMessage: string;
2555
+ errorReason: string;
2556
+ enabled: boolean;
2557
+ };
2558
+ designSystemSlug: {
2559
+ errorMessage: string;
2560
+ errorReason: string;
2561
+ enabled: boolean;
2562
+ };
2563
+ ipWhitelisting: {
2564
+ errorMessage: string;
2565
+ errorReason: string;
2566
+ enabled: boolean;
2567
+ };
2568
+ npmRegistry: {
2569
+ errorMessage: string;
2570
+ errorReason: string;
2571
+ enabled: boolean;
2572
+ };
2573
+ sso: {
2574
+ errorMessage: string;
2575
+ errorReason: string;
2576
+ enabled: boolean;
2577
+ };
2578
+ workspacePaidSeats: {
2579
+ max: number;
2580
+ errorMessage: string;
2581
+ errorReason: string;
2582
+ };
2583
+ workspaceViewers: {
2584
+ max: number;
2585
+ errorMessage: string;
2586
+ errorReason: string;
2587
+ };
2588
+ customDocumentationExporter: {
2589
+ errorMessage: string;
2590
+ errorReason: string;
2591
+ enabled: boolean;
2592
+ };
2593
+ protectedPages: {
2594
+ errorMessage: string;
2595
+ errorReason: string;
2596
+ enabled: boolean;
2597
+ };
2598
+ approvals: {
2599
+ errorMessage: string;
2600
+ errorReason: string;
2601
+ enabled: boolean;
2602
+ };
2603
+ selectivePublishing: {
2604
+ errorMessage: string;
2605
+ errorReason: string;
2606
+ enabled: boolean;
2607
+ };
2608
+ } | undefined;
2609
+ stripeSubscriptionMainItemId?: string | undefined;
2610
+ currentPeriodStart?: string | undefined;
2611
+ currentPeriodEnd?: string | undefined;
2612
+ subscriptionStatusUpdatedAt?: string | undefined;
2613
+ cancelAt?: string | null | undefined;
2614
+ billingType?: "Auto" | "Invoice" | undefined;
2615
+ daysUntilDue?: number | undefined;
2616
+ };
2617
+ npmRegistry?: {
2618
+ enabledScopes: string[];
2619
+ bypassProxy: boolean;
2620
+ registryType: "Custom" | "NPMJS" | "GitHub" | "AzureDevOps" | "Artifactory";
2621
+ authType: "Custom" | "None" | "Basic" | "Bearer";
2622
+ registryUrl: string;
2623
+ proxyUrl: string;
2624
+ customRegistryUrl?: string | undefined;
2625
+ accessToken?: string | undefined;
2626
+ username?: string | undefined;
2627
+ password?: string | undefined;
2628
+ } | undefined;
2629
+ };
2630
+ effectiveRole: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Contributor";
2631
+ }, {
2632
+ role: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Contributor";
2633
+ workspace: {
2634
+ id: string;
2635
+ profile: {
2636
+ name: string;
2637
+ color: string;
2638
+ handle: string;
2639
+ avatar?: string | null | undefined;
2640
+ billingDetails?: {
2641
+ address?: {
2642
+ street1?: string | null | undefined;
2643
+ street2?: string | null | undefined;
2644
+ city?: string | null | undefined;
2645
+ postal?: string | null | undefined;
2646
+ country?: string | null | undefined;
2647
+ state?: string | null | undefined;
2648
+ } | null | undefined;
2649
+ email?: string | null | undefined;
2650
+ companyName?: string | null | undefined;
2651
+ companyId?: string | null | undefined;
2652
+ notes?: string | null | undefined;
2653
+ vat?: string | null | undefined;
2654
+ poNumber?: string | null | undefined;
2655
+ } | null | undefined;
2656
+ };
2657
+ subscription: {
2658
+ product: "free" | "team" | "company" | "enterprise";
2659
+ planPriceId: string;
2660
+ planInterval: "daily" | "monthly" | "weekly" | "yearly";
2661
+ seats: number;
2662
+ seatLimit: number;
2663
+ status?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
2664
+ card?: {
2665
+ cardId?: string | null | undefined;
2666
+ last4?: string | null | undefined;
2667
+ expiryMonth?: string | null | undefined;
2668
+ expiryYear?: string | null | undefined;
2669
+ brand?: string | null | undefined;
2670
+ name?: string | null | undefined;
2671
+ } | undefined;
2672
+ amount?: number | null | undefined;
2673
+ stripeProductDescription?: string | undefined;
2674
+ isPricePerCreator?: boolean | undefined;
2675
+ isTrial?: boolean | undefined;
2676
+ legacyVersion?: string | undefined;
2677
+ stripeProductFeatures?: string[] | undefined;
2678
+ stripeProductAdditionalFeatures?: string[] | undefined;
2679
+ stripeSubscriptionId?: string | null | undefined;
2680
+ stripeCustomerId?: string | null | undefined;
2681
+ subscriptionStatus?: "unknown" | "active" | "trialing" | "past_due" | "canceled" | "unpaid" | "incomplete_expired" | "incomplete" | undefined;
2682
+ internalStatus?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
2683
+ featuresSummary?: {
2684
+ designSystems: {
2685
+ max: number;
2686
+ errorMessage: string;
2687
+ errorReason: string;
2688
+ };
2689
+ designSystemSources: {
2690
+ max: number;
2691
+ errorMessage: string;
2692
+ errorReason: string;
2693
+ noImportJobsErrorMessage: string;
2694
+ noImportJobsErrorReason: string;
2695
+ };
2696
+ designSystemVersions: {
2697
+ max: number;
2698
+ errorMessage: string;
2699
+ errorReason: string;
2700
+ };
2701
+ themes: {
2702
+ max: number;
2703
+ errorMessage: string;
2704
+ errorReason: string;
2705
+ };
2706
+ brands: {
2707
+ max: number;
2708
+ errorMessage: string;
2709
+ errorReason: string;
2710
+ };
2711
+ codegenSchedules: {
2712
+ max: number;
2713
+ errorMessage: string;
2714
+ errorReason: string;
2715
+ };
2716
+ publicDocumentation: {
2717
+ errorMessage: string;
2718
+ errorReason: string;
2719
+ enabled: boolean;
2720
+ };
2721
+ customDocumentationUrl: {
2722
+ errorMessage: string;
2723
+ errorReason: string;
2724
+ enabled: boolean;
2725
+ };
2726
+ customDocumentationViewButton: {
2727
+ errorMessage: string;
2728
+ errorReason: string;
2729
+ enabled: boolean;
2730
+ };
2731
+ designSystemSourceAutoImport: {
2732
+ errorMessage: string;
2733
+ errorReason: string;
2734
+ enabled: boolean;
2735
+ };
2736
+ designSystemSlug: {
2737
+ errorMessage: string;
2738
+ errorReason: string;
2739
+ enabled: boolean;
2740
+ };
2741
+ ipWhitelisting: {
2742
+ errorMessage: string;
2743
+ errorReason: string;
2744
+ enabled: boolean;
2745
+ };
2746
+ npmRegistry: {
2747
+ errorMessage: string;
2748
+ errorReason: string;
2749
+ enabled: boolean;
2750
+ };
2751
+ sso: {
2752
+ errorMessage: string;
2753
+ errorReason: string;
2754
+ enabled: boolean;
2755
+ };
2756
+ workspacePaidSeats: {
2757
+ max: number;
2758
+ errorMessage: string;
2759
+ errorReason: string;
2760
+ };
2761
+ workspaceViewers: {
2762
+ max: number;
2763
+ errorMessage: string;
2764
+ errorReason: string;
2765
+ };
2766
+ customDocumentationExporter: {
2767
+ errorMessage: string;
2768
+ errorReason: string;
2769
+ enabled: boolean;
2770
+ };
2771
+ protectedPages: {
2772
+ errorMessage: string;
2773
+ errorReason: string;
2774
+ enabled: boolean;
2775
+ };
2776
+ approvals: {
2777
+ errorMessage: string;
2778
+ errorReason: string;
2779
+ enabled: boolean;
2780
+ };
2781
+ selectivePublishing: {
2782
+ errorMessage: string;
2783
+ errorReason: string;
2784
+ enabled: boolean;
2785
+ };
2786
+ } | undefined;
2787
+ stripeSubscriptionMainItemId?: string | undefined;
2788
+ currentPeriodStart?: string | undefined;
2789
+ currentPeriodEnd?: string | undefined;
2790
+ subscriptionStatusUpdatedAt?: string | undefined;
2791
+ cancelAt?: string | null | undefined;
2792
+ billingType?: "Auto" | "Invoice" | undefined;
2793
+ daysUntilDue?: number | undefined;
2794
+ };
2795
+ npmRegistry?: {
2796
+ enabledScopes: string[];
2797
+ bypassProxy: boolean;
2798
+ registryType: "Custom" | "NPMJS" | "GitHub" | "AzureDevOps" | "Artifactory";
2799
+ authType: "Custom" | "None" | "Basic" | "Bearer";
2800
+ registryUrl: string;
2801
+ proxyUrl: string;
2802
+ customRegistryUrl?: string | undefined;
2803
+ accessToken?: string | undefined;
2804
+ username?: string | undefined;
2805
+ password?: string | undefined;
2806
+ } | undefined;
2807
+ };
2808
+ effectiveRole: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Contributor";
2809
+ }>>;
2810
+ designSystem: z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<Omit<{
2811
+ id: z.ZodString;
2812
+ workspaceId: z.ZodString;
2813
+ name: z.ZodString;
2814
+ description: z.ZodString;
2815
+ docExporterId: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<string, z.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
2816
+ docSlug: z.ZodString;
2817
+ docUserSlug: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<string, z.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
2818
+ docSlugDeprecated: z.ZodString;
2819
+ isPublic: z.ZodBoolean;
2820
+ isMultibrand: z.ZodBoolean;
2821
+ docViewUrl: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<string, z.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
2822
+ basePrefixes: z.ZodArray<z.ZodString, "many">;
2823
+ designSystemSwitcher: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<{
2824
+ isEnabled: boolean;
2825
+ designSystemIds: string[];
2826
+ }, z.ZodTypeDef, {
2827
+ isEnabled: boolean;
2828
+ designSystemIds: string[];
2829
+ }>>>, {
2830
+ isEnabled: boolean;
2831
+ designSystemIds: string[];
2832
+ } | undefined, {
2833
+ isEnabled: boolean;
2834
+ designSystemIds: string[];
2835
+ } | null | undefined>;
2836
+ isApprovalFeatureEnabled: z.ZodBoolean;
2837
+ approvalRequiredForPublishing: z.ZodBoolean;
2838
+ accessMode: z.ZodEnum<["Open", "InviteOnly"]>;
2839
+ membersGenerated: z.ZodBoolean;
2840
+ createdAt: z.ZodDate;
2841
+ updatedAt: z.ZodDate;
2842
+ }, "description" | "name" | "docExporterId">, {
2843
+ meta: z.ZodObject<{
2844
+ name: z.ZodString;
2845
+ description: z.ZodOptional<z.ZodString>;
2846
+ }, "strip", z.ZodTypeAny, {
2847
+ name: string;
2848
+ description?: string | undefined;
2849
+ }, {
2850
+ name: string;
2851
+ description?: string | undefined;
2852
+ }>;
2853
+ docExporterId: z.ZodString;
2854
+ sources: z.ZodArray<z.ZodAny, "many">;
2855
+ role: z.ZodOptional<z.ZodEnum<["Owner", "Admin", "Creator", "Viewer", "Billing", "Guest", "Contributor"]>>;
2856
+ }>, "strip", z.ZodTypeAny, {
2857
+ id: string;
2858
+ meta: {
2859
+ name: string;
2860
+ description?: string | undefined;
2861
+ };
2862
+ createdAt: Date;
2863
+ updatedAt: Date;
2864
+ sources: any[];
2865
+ workspaceId: string;
2866
+ docExporterId: string;
2867
+ docSlug: string;
2868
+ docSlugDeprecated: string;
2869
+ isPublic: boolean;
2870
+ isMultibrand: boolean;
2871
+ basePrefixes: string[];
2872
+ isApprovalFeatureEnabled: boolean;
2873
+ approvalRequiredForPublishing: boolean;
2874
+ accessMode: "Open" | "InviteOnly";
2875
+ membersGenerated: boolean;
2876
+ docUserSlug?: string | undefined;
2877
+ docViewUrl?: string | undefined;
2878
+ designSystemSwitcher?: {
2879
+ isEnabled: boolean;
2880
+ designSystemIds: string[];
2881
+ } | undefined;
2882
+ role?: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Guest" | "Contributor" | undefined;
2883
+ }, {
2884
+ id: string;
2885
+ meta: {
2886
+ name: string;
2887
+ description?: string | undefined;
2888
+ };
2889
+ createdAt: Date;
2890
+ updatedAt: Date;
2891
+ sources: any[];
2892
+ workspaceId: string;
2893
+ docExporterId: string;
2894
+ docSlug: string;
2895
+ docSlugDeprecated: string;
2896
+ isPublic: boolean;
2897
+ isMultibrand: boolean;
2898
+ basePrefixes: string[];
2899
+ isApprovalFeatureEnabled: boolean;
2900
+ approvalRequiredForPublishing: boolean;
2901
+ accessMode: "Open" | "InviteOnly";
2902
+ membersGenerated: boolean;
2903
+ docUserSlug?: string | null | undefined;
2904
+ docViewUrl?: string | null | undefined;
2905
+ designSystemSwitcher?: {
2906
+ isEnabled: boolean;
2907
+ designSystemIds: string[];
2908
+ } | null | undefined;
2909
+ role?: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Guest" | "Contributor" | undefined;
2910
+ }>>;
2911
+ version: z.ZodOptional<z.ZodObject<{
2912
+ id: z.ZodString;
2913
+ createdAt: z.ZodDate;
2914
+ meta: z.ZodObject<{
2915
+ name: z.ZodString;
2916
+ description: z.ZodOptional<z.ZodString>;
2917
+ }, "strip", z.ZodTypeAny, {
2918
+ name: string;
2919
+ description?: string | undefined;
2920
+ }, {
2921
+ name: string;
2922
+ description?: string | undefined;
2923
+ }>;
2924
+ version: z.ZodString;
2925
+ isReadonly: z.ZodBoolean;
2926
+ changeLog: z.ZodString;
2927
+ designSystemId: z.ZodString;
2928
+ }, "strip", z.ZodTypeAny, {
2929
+ id: string;
2930
+ meta: {
2931
+ name: string;
2932
+ description?: string | undefined;
2933
+ };
2934
+ createdAt: Date;
2935
+ version: string;
2936
+ changeLog: string;
2937
+ designSystemId: string;
2938
+ isReadonly: boolean;
2939
+ }, {
2940
+ id: string;
2941
+ meta: {
2942
+ name: string;
2943
+ description?: string | undefined;
2944
+ };
2945
+ createdAt: Date;
2946
+ version: string;
2947
+ changeLog: string;
2948
+ designSystemId: string;
2949
+ isReadonly: boolean;
2950
+ }>>;
2951
+ brand: z.ZodOptional<z.ZodObject<{
2952
+ id: z.ZodString;
2953
+ designSystemVersionId: z.ZodString;
2954
+ persistentId: z.ZodString;
2955
+ meta: z.ZodObject<{
2956
+ name: z.ZodString;
2957
+ description: z.ZodOptional<z.ZodString>;
2958
+ }, "strip", z.ZodTypeAny, {
2959
+ name: string;
2960
+ description?: string | undefined;
2961
+ }, {
2962
+ name: string;
2963
+ description?: string | undefined;
2964
+ }>;
2965
+ }, "strip", z.ZodTypeAny, {
2966
+ id: string;
2967
+ persistentId: string;
2968
+ meta: {
2969
+ name: string;
2970
+ description?: string | undefined;
2971
+ };
2972
+ designSystemVersionId: string;
2973
+ }, {
2974
+ id: string;
2975
+ persistentId: string;
2976
+ meta: {
2977
+ name: string;
2978
+ description?: string | undefined;
2979
+ };
2980
+ designSystemVersionId: string;
2981
+ }>>;
2982
+ }, "strip", z.ZodTypeAny, {
2983
+ brand?: {
2984
+ id: string;
2985
+ persistentId: string;
2986
+ meta: {
2987
+ name: string;
2988
+ description?: string | undefined;
2989
+ };
2990
+ designSystemVersionId: string;
2991
+ } | undefined;
2992
+ designSystem?: {
2993
+ id: string;
2994
+ meta: {
2995
+ name: string;
2996
+ description?: string | undefined;
2997
+ };
2998
+ createdAt: Date;
2999
+ updatedAt: Date;
3000
+ sources: any[];
3001
+ workspaceId: string;
3002
+ docExporterId: string;
3003
+ docSlug: string;
3004
+ docSlugDeprecated: string;
3005
+ isPublic: boolean;
3006
+ isMultibrand: boolean;
3007
+ basePrefixes: string[];
3008
+ isApprovalFeatureEnabled: boolean;
3009
+ approvalRequiredForPublishing: boolean;
3010
+ accessMode: "Open" | "InviteOnly";
3011
+ membersGenerated: boolean;
3012
+ docUserSlug?: string | undefined;
3013
+ docViewUrl?: string | undefined;
3014
+ designSystemSwitcher?: {
3015
+ isEnabled: boolean;
3016
+ designSystemIds: string[];
3017
+ } | undefined;
3018
+ role?: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Guest" | "Contributor" | undefined;
3019
+ } | undefined;
3020
+ version?: {
3021
+ id: string;
3022
+ meta: {
3023
+ name: string;
3024
+ description?: string | undefined;
3025
+ };
3026
+ createdAt: Date;
3027
+ version: string;
3028
+ changeLog: string;
3029
+ designSystemId: string;
3030
+ isReadonly: boolean;
3031
+ } | undefined;
3032
+ workspaceMembership?: {
3033
+ role: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Contributor";
3034
+ workspace: {
3035
+ id: string;
3036
+ profile: {
3037
+ name: string;
3038
+ color: string;
3039
+ handle: string;
3040
+ avatar?: string | undefined;
3041
+ billingDetails?: {
3042
+ address?: {
3043
+ street1?: string | undefined;
3044
+ street2?: string | undefined;
3045
+ city?: string | undefined;
3046
+ postal?: string | undefined;
3047
+ country?: string | undefined;
3048
+ state?: string | undefined;
3049
+ } | undefined;
3050
+ email?: string | undefined;
3051
+ companyName?: string | undefined;
3052
+ companyId?: string | undefined;
3053
+ notes?: string | undefined;
3054
+ vat?: string | undefined;
3055
+ poNumber?: string | undefined;
3056
+ } | undefined;
3057
+ };
3058
+ subscription: {
3059
+ product: "free" | "team" | "company" | "enterprise";
3060
+ planPriceId: string;
3061
+ planInterval: "daily" | "monthly" | "weekly" | "yearly";
3062
+ seats: number;
3063
+ seatLimit: number;
3064
+ status?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
3065
+ card?: {
3066
+ cardId?: string | null | undefined;
3067
+ last4?: string | null | undefined;
3068
+ expiryMonth?: string | null | undefined;
3069
+ expiryYear?: string | null | undefined;
3070
+ brand?: string | null | undefined;
3071
+ name?: string | null | undefined;
3072
+ } | undefined;
3073
+ amount?: number | null | undefined;
3074
+ stripeProductDescription?: string | undefined;
3075
+ isPricePerCreator?: boolean | undefined;
3076
+ isTrial?: boolean | undefined;
3077
+ legacyVersion?: string | undefined;
3078
+ stripeProductFeatures?: string[] | undefined;
3079
+ stripeProductAdditionalFeatures?: string[] | undefined;
3080
+ stripeSubscriptionId?: string | null | undefined;
3081
+ stripeCustomerId?: string | null | undefined;
3082
+ subscriptionStatus?: "unknown" | "active" | "trialing" | "past_due" | "canceled" | "unpaid" | "incomplete_expired" | "incomplete" | undefined;
3083
+ internalStatus?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
3084
+ featuresSummary?: {
3085
+ designSystems: {
3086
+ max: number;
3087
+ errorMessage: string;
3088
+ errorReason: string;
3089
+ };
3090
+ designSystemSources: {
3091
+ max: number;
3092
+ errorMessage: string;
3093
+ errorReason: string;
3094
+ noImportJobsErrorMessage: string;
3095
+ noImportJobsErrorReason: string;
3096
+ };
3097
+ designSystemVersions: {
3098
+ max: number;
3099
+ errorMessage: string;
3100
+ errorReason: string;
3101
+ };
3102
+ themes: {
3103
+ max: number;
3104
+ errorMessage: string;
3105
+ errorReason: string;
3106
+ };
3107
+ brands: {
3108
+ max: number;
3109
+ errorMessage: string;
3110
+ errorReason: string;
3111
+ };
3112
+ codegenSchedules: {
3113
+ max: number;
3114
+ errorMessage: string;
3115
+ errorReason: string;
3116
+ };
3117
+ publicDocumentation: {
3118
+ errorMessage: string;
3119
+ errorReason: string;
3120
+ enabled: boolean;
3121
+ };
3122
+ customDocumentationUrl: {
3123
+ errorMessage: string;
3124
+ errorReason: string;
3125
+ enabled: boolean;
3126
+ };
3127
+ customDocumentationViewButton: {
3128
+ errorMessage: string;
3129
+ errorReason: string;
3130
+ enabled: boolean;
3131
+ };
3132
+ designSystemSourceAutoImport: {
3133
+ errorMessage: string;
3134
+ errorReason: string;
3135
+ enabled: boolean;
3136
+ };
3137
+ designSystemSlug: {
3138
+ errorMessage: string;
3139
+ errorReason: string;
3140
+ enabled: boolean;
3141
+ };
3142
+ ipWhitelisting: {
3143
+ errorMessage: string;
3144
+ errorReason: string;
3145
+ enabled: boolean;
3146
+ };
3147
+ npmRegistry: {
3148
+ errorMessage: string;
3149
+ errorReason: string;
3150
+ enabled: boolean;
3151
+ };
3152
+ sso: {
3153
+ errorMessage: string;
3154
+ errorReason: string;
3155
+ enabled: boolean;
3156
+ };
3157
+ workspacePaidSeats: {
3158
+ max: number;
3159
+ errorMessage: string;
3160
+ errorReason: string;
3161
+ };
3162
+ workspaceViewers: {
3163
+ max: number;
3164
+ errorMessage: string;
3165
+ errorReason: string;
3166
+ };
3167
+ customDocumentationExporter: {
3168
+ errorMessage: string;
3169
+ errorReason: string;
3170
+ enabled: boolean;
3171
+ };
3172
+ protectedPages: {
3173
+ errorMessage: string;
3174
+ errorReason: string;
3175
+ enabled: boolean;
3176
+ };
3177
+ approvals: {
3178
+ errorMessage: string;
3179
+ errorReason: string;
3180
+ enabled: boolean;
3181
+ };
3182
+ selectivePublishing: {
3183
+ errorMessage: string;
3184
+ errorReason: string;
3185
+ enabled: boolean;
3186
+ };
3187
+ } | undefined;
3188
+ stripeSubscriptionMainItemId?: string | undefined;
3189
+ currentPeriodStart?: string | undefined;
3190
+ currentPeriodEnd?: string | undefined;
3191
+ subscriptionStatusUpdatedAt?: string | undefined;
3192
+ cancelAt?: string | null | undefined;
3193
+ billingType?: "Auto" | "Invoice" | undefined;
3194
+ daysUntilDue?: number | undefined;
3195
+ };
3196
+ npmRegistry?: {
3197
+ enabledScopes: string[];
3198
+ bypassProxy: boolean;
3199
+ registryType: "Custom" | "NPMJS" | "GitHub" | "AzureDevOps" | "Artifactory";
3200
+ authType: "Custom" | "None" | "Basic" | "Bearer";
3201
+ registryUrl: string;
3202
+ proxyUrl: string;
3203
+ customRegistryUrl?: string | undefined;
3204
+ accessToken?: string | undefined;
3205
+ username?: string | undefined;
3206
+ password?: string | undefined;
3207
+ } | undefined;
3208
+ };
3209
+ effectiveRole: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Contributor";
3210
+ } | undefined;
3211
+ }, {
3212
+ brand?: {
3213
+ id: string;
3214
+ persistentId: string;
3215
+ meta: {
3216
+ name: string;
3217
+ description?: string | undefined;
3218
+ };
3219
+ designSystemVersionId: string;
3220
+ } | undefined;
3221
+ designSystem?: {
3222
+ id: string;
3223
+ meta: {
3224
+ name: string;
3225
+ description?: string | undefined;
3226
+ };
3227
+ createdAt: Date;
3228
+ updatedAt: Date;
3229
+ sources: any[];
3230
+ workspaceId: string;
3231
+ docExporterId: string;
3232
+ docSlug: string;
3233
+ docSlugDeprecated: string;
3234
+ isPublic: boolean;
3235
+ isMultibrand: boolean;
3236
+ basePrefixes: string[];
3237
+ isApprovalFeatureEnabled: boolean;
3238
+ approvalRequiredForPublishing: boolean;
3239
+ accessMode: "Open" | "InviteOnly";
3240
+ membersGenerated: boolean;
3241
+ docUserSlug?: string | null | undefined;
3242
+ docViewUrl?: string | null | undefined;
3243
+ designSystemSwitcher?: {
3244
+ isEnabled: boolean;
3245
+ designSystemIds: string[];
3246
+ } | null | undefined;
3247
+ role?: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Guest" | "Contributor" | undefined;
3248
+ } | undefined;
3249
+ version?: {
3250
+ id: string;
3251
+ meta: {
3252
+ name: string;
3253
+ description?: string | undefined;
3254
+ };
3255
+ createdAt: Date;
3256
+ version: string;
3257
+ changeLog: string;
3258
+ designSystemId: string;
3259
+ isReadonly: boolean;
3260
+ } | undefined;
3261
+ workspaceMembership?: {
3262
+ role: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Contributor";
3263
+ workspace: {
3264
+ id: string;
3265
+ profile: {
3266
+ name: string;
3267
+ color: string;
3268
+ handle: string;
3269
+ avatar?: string | null | undefined;
3270
+ billingDetails?: {
3271
+ address?: {
3272
+ street1?: string | null | undefined;
3273
+ street2?: string | null | undefined;
3274
+ city?: string | null | undefined;
3275
+ postal?: string | null | undefined;
3276
+ country?: string | null | undefined;
3277
+ state?: string | null | undefined;
3278
+ } | null | undefined;
3279
+ email?: string | null | undefined;
3280
+ companyName?: string | null | undefined;
3281
+ companyId?: string | null | undefined;
3282
+ notes?: string | null | undefined;
3283
+ vat?: string | null | undefined;
3284
+ poNumber?: string | null | undefined;
3285
+ } | null | undefined;
3286
+ };
3287
+ subscription: {
3288
+ product: "free" | "team" | "company" | "enterprise";
3289
+ planPriceId: string;
3290
+ planInterval: "daily" | "monthly" | "weekly" | "yearly";
3291
+ seats: number;
3292
+ seatLimit: number;
3293
+ status?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
3294
+ card?: {
3295
+ cardId?: string | null | undefined;
3296
+ last4?: string | null | undefined;
3297
+ expiryMonth?: string | null | undefined;
3298
+ expiryYear?: string | null | undefined;
3299
+ brand?: string | null | undefined;
3300
+ name?: string | null | undefined;
3301
+ } | undefined;
3302
+ amount?: number | null | undefined;
3303
+ stripeProductDescription?: string | undefined;
3304
+ isPricePerCreator?: boolean | undefined;
3305
+ isTrial?: boolean | undefined;
3306
+ legacyVersion?: string | undefined;
3307
+ stripeProductFeatures?: string[] | undefined;
3308
+ stripeProductAdditionalFeatures?: string[] | undefined;
3309
+ stripeSubscriptionId?: string | null | undefined;
3310
+ stripeCustomerId?: string | null | undefined;
3311
+ subscriptionStatus?: "unknown" | "active" | "trialing" | "past_due" | "canceled" | "unpaid" | "incomplete_expired" | "incomplete" | undefined;
3312
+ internalStatus?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
3313
+ featuresSummary?: {
3314
+ designSystems: {
3315
+ max: number;
3316
+ errorMessage: string;
3317
+ errorReason: string;
3318
+ };
3319
+ designSystemSources: {
3320
+ max: number;
3321
+ errorMessage: string;
3322
+ errorReason: string;
3323
+ noImportJobsErrorMessage: string;
3324
+ noImportJobsErrorReason: string;
3325
+ };
3326
+ designSystemVersions: {
3327
+ max: number;
3328
+ errorMessage: string;
3329
+ errorReason: string;
3330
+ };
3331
+ themes: {
3332
+ max: number;
3333
+ errorMessage: string;
3334
+ errorReason: string;
3335
+ };
3336
+ brands: {
3337
+ max: number;
3338
+ errorMessage: string;
3339
+ errorReason: string;
3340
+ };
3341
+ codegenSchedules: {
3342
+ max: number;
3343
+ errorMessage: string;
3344
+ errorReason: string;
3345
+ };
3346
+ publicDocumentation: {
3347
+ errorMessage: string;
3348
+ errorReason: string;
3349
+ enabled: boolean;
3350
+ };
3351
+ customDocumentationUrl: {
3352
+ errorMessage: string;
3353
+ errorReason: string;
3354
+ enabled: boolean;
3355
+ };
3356
+ customDocumentationViewButton: {
3357
+ errorMessage: string;
3358
+ errorReason: string;
3359
+ enabled: boolean;
3360
+ };
3361
+ designSystemSourceAutoImport: {
3362
+ errorMessage: string;
3363
+ errorReason: string;
3364
+ enabled: boolean;
3365
+ };
3366
+ designSystemSlug: {
3367
+ errorMessage: string;
3368
+ errorReason: string;
3369
+ enabled: boolean;
3370
+ };
3371
+ ipWhitelisting: {
3372
+ errorMessage: string;
3373
+ errorReason: string;
3374
+ enabled: boolean;
3375
+ };
3376
+ npmRegistry: {
3377
+ errorMessage: string;
3378
+ errorReason: string;
3379
+ enabled: boolean;
3380
+ };
3381
+ sso: {
3382
+ errorMessage: string;
3383
+ errorReason: string;
3384
+ enabled: boolean;
3385
+ };
3386
+ workspacePaidSeats: {
3387
+ max: number;
3388
+ errorMessage: string;
3389
+ errorReason: string;
3390
+ };
3391
+ workspaceViewers: {
3392
+ max: number;
3393
+ errorMessage: string;
3394
+ errorReason: string;
3395
+ };
3396
+ customDocumentationExporter: {
3397
+ errorMessage: string;
3398
+ errorReason: string;
3399
+ enabled: boolean;
3400
+ };
3401
+ protectedPages: {
3402
+ errorMessage: string;
3403
+ errorReason: string;
3404
+ enabled: boolean;
3405
+ };
3406
+ approvals: {
3407
+ errorMessage: string;
3408
+ errorReason: string;
3409
+ enabled: boolean;
3410
+ };
3411
+ selectivePublishing: {
3412
+ errorMessage: string;
3413
+ errorReason: string;
3414
+ enabled: boolean;
3415
+ };
3416
+ } | undefined;
3417
+ stripeSubscriptionMainItemId?: string | undefined;
3418
+ currentPeriodStart?: string | undefined;
3419
+ currentPeriodEnd?: string | undefined;
3420
+ subscriptionStatusUpdatedAt?: string | undefined;
3421
+ cancelAt?: string | null | undefined;
3422
+ billingType?: "Auto" | "Invoice" | undefined;
3423
+ daysUntilDue?: number | undefined;
3424
+ };
3425
+ npmRegistry?: {
3426
+ enabledScopes: string[];
3427
+ bypassProxy: boolean;
3428
+ registryType: "Custom" | "NPMJS" | "GitHub" | "AzureDevOps" | "Artifactory";
3429
+ authType: "Custom" | "None" | "Basic" | "Bearer";
3430
+ registryUrl: string;
3431
+ proxyUrl: string;
3432
+ customRegistryUrl?: string | undefined;
3433
+ accessToken?: string | undefined;
3434
+ username?: string | undefined;
3435
+ password?: string | undefined;
3436
+ } | undefined;
3437
+ };
3438
+ effectiveRole: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Contributor";
3439
+ } | undefined;
3440
+ }>;
3441
+ type DTOAppBootstrapDataResponse = z.infer<typeof DTOAppBootstrapDataResponse>;
3442
+
1141
3443
  declare const DTOBrand: z.ZodObject<{
1142
3444
  id: z.ZodString;
1143
3445
  designSystemVersionId: z.ZodString;
@@ -29427,6 +31729,11 @@ declare const DTOExporterCreateOutput: z.ZodObject<{
29427
31729
  exporterId: string;
29428
31730
  }>;
29429
31731
  }, "strip", z.ZodTypeAny, {
31732
+ membership: {
31733
+ workspaceId: string;
31734
+ role: "Owner" | "OwnerArchived" | "User";
31735
+ exporterId: string;
31736
+ };
29430
31737
  exporter: {
29431
31738
  isPrivate: boolean;
29432
31739
  id: string;
@@ -29477,12 +31784,12 @@ declare const DTOExporterCreateOutput: z.ZodObject<{
29477
31784
  gitBranch?: string | undefined;
29478
31785
  gitDirectory?: string | undefined;
29479
31786
  };
31787
+ }, {
29480
31788
  membership: {
29481
31789
  workspaceId: string;
29482
31790
  role: "Owner" | "OwnerArchived" | "User";
29483
31791
  exporterId: string;
29484
31792
  };
29485
- }, {
29486
31793
  exporter: {
29487
31794
  isPrivate: boolean;
29488
31795
  id: string;
@@ -29533,11 +31840,6 @@ declare const DTOExporterCreateOutput: z.ZodObject<{
29533
31840
  gitBranch?: string | undefined;
29534
31841
  gitDirectory?: string | undefined;
29535
31842
  };
29536
- membership: {
29537
- workspaceId: string;
29538
- role: "Owner" | "OwnerArchived" | "User";
29539
- exporterId: string;
29540
- };
29541
31843
  }>;
29542
31844
  type DTOExporterCreateOutput = z.infer<typeof DTOExporterCreateOutput>;
29543
31845
  declare const DTOExporterGitProviderEnum: z.ZodEnum<["github", "gitlab", "bitbucket", "azure"]>;
@@ -45047,4 +47349,4 @@ declare class FrontendVersionRoomYDoc {
45047
47349
 
45048
47350
  declare function generatePageContentHash(content: DocumentationPageEditorModel, definitions: PageBlockDefinition[], debug?: boolean): string;
45049
47351
 
45050
- export { BackendVersionRoomYDoc, BlockDefinitionUtils, BlockParsingUtils, DTOAssetRenderConfiguration, DTOBrand, DTOBrandCreateResponse, DTOBrandGetResponse, DTOBrandsListResponse, DTOCreateBrandInput, DTOCreateDocumentationGroupInput, DTOCreateDocumentationPageInputV2, DTOCreateDocumentationTabInput, DTOCreateElementPropertyDefinitionInputV2, DTOCreateVersionInput, DTODataSource, DTODataSourceCreationResponse, DTODataSourceFigma, DTODataSourceFigmaCloud, DTODataSourceFigmaVariablesPlugin, DTODataSourceTokenStudio, DTODataSourcesListResponse, DTODeleteDocumentationGroupInput, DTODeleteDocumentationPageInputV2, DTODeleteDocumentationTabGroupInput, DTODeleteElementPropertyDefinitionInputV2, DTODesignElementsDataDiffResponse, DTODesignSystem, DTODesignSystemCreateInput, DTODesignSystemCreateResponse, DTODesignSystemMember, DTODesignSystemMemberListResponse, DTODesignSystemMembersUpdatePayload, DTODesignSystemMembersUpdateResponse, DTODesignSystemUpdateInput, DTODesignSystemVersion, DTODesignSystemVersionCreationResponse, DTODesignSystemVersionGetResponse, DTODesignSystemVersionJobStatusResponse, DTODesignSystemVersionJobsResponse, DTODesignSystemVersionsListResponse, DTODesignSystemsListResponse, DTODiffCountBase, DTODocumentationDraftChangeType, DTODocumentationDraftState, DTODocumentationDraftStateCreated, DTODocumentationDraftStateDeleted, DTODocumentationDraftStateUpdated, DTODocumentationGroupApprovalState, DTODocumentationGroupCreateActionInputV2, DTODocumentationGroupCreateActionOutputV2, DTODocumentationGroupDeleteActionInputV2, DTODocumentationGroupDeleteActionOutputV2, DTODocumentationGroupDuplicateActionInputV2, DTODocumentationGroupDuplicateActionOutputV2, DTODocumentationGroupMoveActionInputV2, DTODocumentationGroupMoveActionOutputV2, DTODocumentationGroupRestoreActionInput, DTODocumentationGroupRestoreActionOutput, DTODocumentationGroupStructureV1, DTODocumentationGroupUpdateActionInputV2, DTODocumentationGroupUpdateActionOutputV2, DTODocumentationGroupV1, DTODocumentationGroupV2, DTODocumentationHierarchyV2, DTODocumentationItemConfigurationV1, DTODocumentationItemConfigurationV2, DTODocumentationItemHeaderV2, DTODocumentationLinkPreviewRequest, DTODocumentationLinkPreviewResponse, DTODocumentationPageAnchor, DTODocumentationPageApprovalState, DTODocumentationPageApprovalStateChangeActionInput, DTODocumentationPageApprovalStateChangeActionOutput, DTODocumentationPageApprovalStateChangeInput, DTODocumentationPageContent, DTODocumentationPageContentGetResponse, DTODocumentationPageCreateActionInputV2, DTODocumentationPageCreateActionOutputV2, DTODocumentationPageDeleteActionInputV2, DTODocumentationPageDeleteActionOutputV2, DTODocumentationPageDuplicateActionInputV2, DTODocumentationPageDuplicateActionOutputV2, DTODocumentationPageMoveActionInputV2, DTODocumentationPageMoveActionOutputV2, DTODocumentationPageRestoreActionInput, DTODocumentationPageRestoreActionOutput, DTODocumentationPageRoomHeaderData, DTODocumentationPageRoomHeaderDataUpdate, DTODocumentationPageSnapshot, DTODocumentationPageUpdateActionInputV2, DTODocumentationPageUpdateActionOutputV2, DTODocumentationPageV2, DTODocumentationPublishMetadata, DTODocumentationPublishTypeQueryParams, DTODocumentationTabCreateActionInputV2, DTODocumentationTabCreateActionOutputV2, type DTODocumentationTabGroupCreateActionInputV2, DTODocumentationTabGroupDeleteActionInputV2, DTODocumentationTabGroupDeleteActionOutputV2, DTODownloadAssetsRequest, DTODownloadAssetsResponse, DTODuplicateDocumentationGroupInput, DTODuplicateDocumentationPageInputV2, DTOElementActionInput, DTOElementActionOutput, DTOElementPropertyDefinition, DTOElementPropertyDefinitionsGetResponse, DTOElementPropertyValue, DTOElementPropertyValuesGetResponse, DTOElementView, DTOElementViewBasePropertyColumn, DTOElementViewColumn, DTOElementViewColumnSharedAttributes, DTOElementViewPropertyDefinitionColumn, DTOElementViewThemeColumn, DTOElementViewsListResponse, DTOElementsGetOutput, type DTOElementsGetQueryParsed, type DTOElementsGetQueryRaw, DTOElementsGetQuerySchema, DTOElementsGetTypeFilter, DTOExportJob, DTOExportJobCreatedBy, DTOExportJobDesignSystemPreview, DTOExportJobDesignSystemVersionPreview, DTOExportJobDestinations, DTOExportJobResponse, DTOExportJobResult, DTOExportJobsListFilter, DTOExporter, DTOExporterCreateInput, DTOExporterCreateOutput, DTOExporterGitProviderEnum, DTOExporterMembership, DTOExporterMembershipRole, DTOExporterProperty, DTOExporterPropertyListResponse, DTOExporterSource, DTOExporterType, DTOExporterUpdateInput, DTOFigmaComponent, DTOFigmaComponentBooleanProperty, DTOFigmaComponentInstanceSwapProperty, DTOFigmaComponentListResponse, DTOFigmaComponentProperty, DTOFigmaComponentPropertyMap, DTOFigmaComponentTextProperty, DTOFigmaComponentVariantProperty, DTOFigmaNode, DTOFigmaNodeData, DTOFigmaNodeOrigin, DTOFigmaNodeRenderActionInput, DTOFigmaNodeRenderActionOutput, DTOFigmaNodeRenderFormat, DTOFigmaNodeRenderInput, DTOGetBlockDefinitionsOutput, DTOGetDocumentationPageAnchorsResponse, DTOGitBranch, DTOGitOrganization, DTOGitProject, DTOGitRepository, DTOIntegration, DTOIntegrationCredentials, DTOIntegrationOAuthGetResponse, DTOIntegrationPostResponse, DTOIntegrationsGetListResponse, DTOLiveblocksAuthRequest, DTOLiveblocksAuthResponse, DTOMoveDocumentationGroupInput, DTOMoveDocumentationPageInputV2, DTONpmRegistryConfig, DTONpmRegistryConfigConstants, DTOPageBlockColorV2, DTOPageBlockDefinition, DTOPageBlockDefinitionBehavior, DTOPageBlockDefinitionItem, DTOPageBlockDefinitionLayout, DTOPageBlockDefinitionProperty, DTOPageBlockDefinitionVariant, DTOPageBlockItemV2, DTOPagination, DTOPipeline, DTOPipelineCreateBody, DTOPipelineTriggerBody, DTOPipelineUpdateBody, DTOPropertyDefinitionCreateActionInputV2, DTOPropertyDefinitionCreateActionOutputV2, DTOPropertyDefinitionDeleteActionInputV2, DTOPropertyDefinitionDeleteActionOutputV2, DTOPropertyDefinitionUpdateActionInputV2, DTOPropertyDefinitionUpdateActionOutputV2, DTOPublishDocumentationChanges, DTOPublishDocumentationRequest, DTOPublishDocumentationResponse, DTORenderedAssetFile, DTORestoreDocumentationGroupInput, DTORestoreDocumentationPageInput, DTOUpdateDocumentationGroupInput, DTOUpdateDocumentationPageInputV2, DTOUpdateElementPropertyDefinitionInputV2, DTOUpdateUserNotificationSettingsPayload, DTOUpdateVersionInput, DTOUser, DTOUserNotificationSettingsResponse, DTOUserProfile, DTOUserProfileUpdatePayload, DTOUserProfileUpdateResponse, DTOUserWorkspaceMembership, DTOUserWorkspaceMembershipsResponse, DTOWorkspace, DTOWorkspaceIntegrationGetGitObjectsInput, DTOWorkspaceIntegrationOauthInput, DTOWorkspaceIntegrationPATInput, DTOWorkspaceRole, DocumentationHierarchySettings, DocumentationPageEditorModel, DocumentationPageV1DTO, FrontendVersionRoomYDoc, type ListItemNode, type ListNode, ListTreeBuilder, NpmRegistryInput, ObjectMeta, PageBlockEditorModel, PageSectionEditorModel, type ProsemirrorBlockItem, type ProsemirrorMark, type ProsemirrorNode, VersionRoomBaseYDoc, VersionSQSPayload, WorkspaceConfigurationPayload, applyPrivacyConfigurationToNestedItems, blockToProsemirrorNode, buildDocPagePublishPaths, calculateElementParentChain, documentationItemConfigurationToDTOV1, documentationItemConfigurationToDTOV2, documentationPageToDTOV2, documentationPagesFixedConfigurationToDTOV1, documentationPagesFixedConfigurationToDTOV2, documentationPagesToDTOV1, documentationPagesToDTOV2, elementGroupsToDocumentationGroupDTOV1, elementGroupsToDocumentationGroupDTOV2, elementGroupsToDocumentationGroupFixedConfigurationDTOV1, elementGroupsToDocumentationGroupFixedConfigurationDTOV2, elementGroupsToDocumentationGroupStructureDTOV1, generateHash, generatePageContentHash, getDtoDefaultItemConfigurationV1, getDtoDefaultItemConfigurationV2, getMockPageBlockDefinitions, gitBranchToDto, gitOrganizationToDto, gitProjectToDto, gitRepositoryToDto, innerEditorProsemirrorSchema, integrationCredentialToDto, integrationToDto, itemConfigurationToYjs, mainEditorProsemirrorSchema, pageToProsemirrorDoc, pageToYDoc, pageToYXmlFragment, pipelineToDto, prosemirrorDocToPage, prosemirrorDocToRichTextPropertyValue, prosemirrorNodeToSection, prosemirrorNodesToBlocks, richTextPropertyValueToProsemirror, serializeAsCustomBlock, shallowProsemirrorNodeToBlock, validateDesignSystemVersion, validateSsoPayload, yDocToPage, yXmlFragmentToPage, yjsToDocumentationHierarchy, yjsToItemConfiguration };
47352
+ export { BackendVersionRoomYDoc, BlockDefinitionUtils, BlockParsingUtils, DTOAppBootstrapDataQuery, DTOAppBootstrapDataResponse, DTOAssetRenderConfiguration, DTOBrand, DTOBrandCreateResponse, DTOBrandGetResponse, DTOBrandsListResponse, DTOCreateBrandInput, DTOCreateDocumentationGroupInput, DTOCreateDocumentationPageInputV2, DTOCreateDocumentationTabInput, DTOCreateElementPropertyDefinitionInputV2, DTOCreateVersionInput, DTODataSource, DTODataSourceCreationResponse, DTODataSourceFigma, DTODataSourceFigmaCloud, DTODataSourceFigmaVariablesPlugin, DTODataSourceTokenStudio, DTODataSourcesListResponse, DTODeleteDocumentationGroupInput, DTODeleteDocumentationPageInputV2, DTODeleteDocumentationTabGroupInput, DTODeleteElementPropertyDefinitionInputV2, DTODesignElementsDataDiffResponse, DTODesignSystem, DTODesignSystemCreateInput, DTODesignSystemCreateResponse, DTODesignSystemMember, DTODesignSystemMemberListResponse, DTODesignSystemMembersUpdatePayload, DTODesignSystemMembersUpdateResponse, DTODesignSystemUpdateInput, DTODesignSystemVersion, DTODesignSystemVersionCreationResponse, DTODesignSystemVersionGetResponse, DTODesignSystemVersionJobStatusResponse, DTODesignSystemVersionJobsResponse, DTODesignSystemVersionsListResponse, DTODesignSystemsListResponse, DTODiffCountBase, DTODocumentationDraftChangeType, DTODocumentationDraftState, DTODocumentationDraftStateCreated, DTODocumentationDraftStateDeleted, DTODocumentationDraftStateUpdated, DTODocumentationGroupApprovalState, DTODocumentationGroupCreateActionInputV2, DTODocumentationGroupCreateActionOutputV2, DTODocumentationGroupDeleteActionInputV2, DTODocumentationGroupDeleteActionOutputV2, DTODocumentationGroupDuplicateActionInputV2, DTODocumentationGroupDuplicateActionOutputV2, DTODocumentationGroupMoveActionInputV2, DTODocumentationGroupMoveActionOutputV2, DTODocumentationGroupRestoreActionInput, DTODocumentationGroupRestoreActionOutput, DTODocumentationGroupStructureV1, DTODocumentationGroupUpdateActionInputV2, DTODocumentationGroupUpdateActionOutputV2, DTODocumentationGroupV1, DTODocumentationGroupV2, DTODocumentationHierarchyV2, DTODocumentationItemConfigurationV1, DTODocumentationItemConfigurationV2, DTODocumentationItemHeaderV2, DTODocumentationLinkPreviewRequest, DTODocumentationLinkPreviewResponse, DTODocumentationPageAnchor, DTODocumentationPageApprovalState, DTODocumentationPageApprovalStateChangeActionInput, DTODocumentationPageApprovalStateChangeActionOutput, DTODocumentationPageApprovalStateChangeInput, DTODocumentationPageContent, DTODocumentationPageContentGetResponse, DTODocumentationPageCreateActionInputV2, DTODocumentationPageCreateActionOutputV2, DTODocumentationPageDeleteActionInputV2, DTODocumentationPageDeleteActionOutputV2, DTODocumentationPageDuplicateActionInputV2, DTODocumentationPageDuplicateActionOutputV2, DTODocumentationPageMoveActionInputV2, DTODocumentationPageMoveActionOutputV2, DTODocumentationPageRestoreActionInput, DTODocumentationPageRestoreActionOutput, DTODocumentationPageRoomHeaderData, DTODocumentationPageRoomHeaderDataUpdate, DTODocumentationPageSnapshot, DTODocumentationPageUpdateActionInputV2, DTODocumentationPageUpdateActionOutputV2, DTODocumentationPageV2, DTODocumentationPublishMetadata, DTODocumentationPublishTypeQueryParams, DTODocumentationTabCreateActionInputV2, DTODocumentationTabCreateActionOutputV2, type DTODocumentationTabGroupCreateActionInputV2, DTODocumentationTabGroupDeleteActionInputV2, DTODocumentationTabGroupDeleteActionOutputV2, DTODownloadAssetsRequest, DTODownloadAssetsResponse, DTODuplicateDocumentationGroupInput, DTODuplicateDocumentationPageInputV2, DTOElementActionInput, DTOElementActionOutput, DTOElementPropertyDefinition, DTOElementPropertyDefinitionsGetResponse, DTOElementPropertyValue, DTOElementPropertyValuesGetResponse, DTOElementView, DTOElementViewBasePropertyColumn, DTOElementViewColumn, DTOElementViewColumnSharedAttributes, DTOElementViewPropertyDefinitionColumn, DTOElementViewThemeColumn, DTOElementViewsListResponse, DTOElementsGetOutput, type DTOElementsGetQueryParsed, type DTOElementsGetQueryRaw, DTOElementsGetQuerySchema, DTOElementsGetTypeFilter, DTOExportJob, DTOExportJobCreatedBy, DTOExportJobDesignSystemPreview, DTOExportJobDesignSystemVersionPreview, DTOExportJobDestinations, DTOExportJobResponse, DTOExportJobResult, DTOExportJobsListFilter, DTOExporter, DTOExporterCreateInput, DTOExporterCreateOutput, DTOExporterGitProviderEnum, DTOExporterMembership, DTOExporterMembershipRole, DTOExporterProperty, DTOExporterPropertyListResponse, DTOExporterSource, DTOExporterType, DTOExporterUpdateInput, DTOFigmaComponent, DTOFigmaComponentBooleanProperty, DTOFigmaComponentInstanceSwapProperty, DTOFigmaComponentListResponse, DTOFigmaComponentProperty, DTOFigmaComponentPropertyMap, DTOFigmaComponentTextProperty, DTOFigmaComponentVariantProperty, DTOFigmaNode, DTOFigmaNodeData, DTOFigmaNodeOrigin, DTOFigmaNodeRenderActionInput, DTOFigmaNodeRenderActionOutput, DTOFigmaNodeRenderFormat, DTOFigmaNodeRenderInput, DTOGetBlockDefinitionsOutput, DTOGetDocumentationPageAnchorsResponse, DTOGitBranch, DTOGitOrganization, DTOGitProject, DTOGitRepository, DTOIntegration, DTOIntegrationCredentials, DTOIntegrationOAuthGetResponse, DTOIntegrationPostResponse, DTOIntegrationsGetListResponse, DTOLiveblocksAuthRequest, DTOLiveblocksAuthResponse, DTOMoveDocumentationGroupInput, DTOMoveDocumentationPageInputV2, DTONpmRegistryConfig, DTONpmRegistryConfigConstants, DTOPageBlockColorV2, DTOPageBlockDefinition, DTOPageBlockDefinitionBehavior, DTOPageBlockDefinitionItem, DTOPageBlockDefinitionLayout, DTOPageBlockDefinitionProperty, DTOPageBlockDefinitionVariant, DTOPageBlockItemV2, DTOPagination, DTOPipeline, DTOPipelineCreateBody, DTOPipelineTriggerBody, DTOPipelineUpdateBody, DTOPropertyDefinitionCreateActionInputV2, DTOPropertyDefinitionCreateActionOutputV2, DTOPropertyDefinitionDeleteActionInputV2, DTOPropertyDefinitionDeleteActionOutputV2, DTOPropertyDefinitionUpdateActionInputV2, DTOPropertyDefinitionUpdateActionOutputV2, DTOPublishDocumentationChanges, DTOPublishDocumentationRequest, DTOPublishDocumentationResponse, DTORenderedAssetFile, DTORestoreDocumentationGroupInput, DTORestoreDocumentationPageInput, DTOUpdateDocumentationGroupInput, DTOUpdateDocumentationPageInputV2, DTOUpdateElementPropertyDefinitionInputV2, DTOUpdateUserNotificationSettingsPayload, DTOUpdateVersionInput, DTOUser, DTOUserNotificationSettingsResponse, DTOUserProfile, DTOUserProfileUpdatePayload, DTOUserProfileUpdateResponse, DTOUserWorkspaceMembership, DTOUserWorkspaceMembershipsResponse, DTOWorkspace, DTOWorkspaceIntegrationGetGitObjectsInput, DTOWorkspaceIntegrationOauthInput, DTOWorkspaceIntegrationPATInput, DTOWorkspaceRole, DocumentationHierarchySettings, DocumentationPageEditorModel, DocumentationPageV1DTO, FrontendVersionRoomYDoc, type ListItemNode, type ListNode, ListTreeBuilder, NpmRegistryInput, ObjectMeta, PageBlockEditorModel, PageSectionEditorModel, type ProsemirrorBlockItem, type ProsemirrorMark, type ProsemirrorNode, VersionRoomBaseYDoc, VersionSQSPayload, WorkspaceConfigurationPayload, applyPrivacyConfigurationToNestedItems, blockToProsemirrorNode, buildDocPagePublishPaths, calculateElementParentChain, documentationItemConfigurationToDTOV1, documentationItemConfigurationToDTOV2, documentationPageToDTOV2, documentationPagesFixedConfigurationToDTOV1, documentationPagesFixedConfigurationToDTOV2, documentationPagesToDTOV1, documentationPagesToDTOV2, elementGroupsToDocumentationGroupDTOV1, elementGroupsToDocumentationGroupDTOV2, elementGroupsToDocumentationGroupFixedConfigurationDTOV1, elementGroupsToDocumentationGroupFixedConfigurationDTOV2, elementGroupsToDocumentationGroupStructureDTOV1, generateHash, generatePageContentHash, getDtoDefaultItemConfigurationV1, getDtoDefaultItemConfigurationV2, getMockPageBlockDefinitions, gitBranchToDto, gitOrganizationToDto, gitProjectToDto, gitRepositoryToDto, innerEditorProsemirrorSchema, integrationCredentialToDto, integrationToDto, itemConfigurationToYjs, mainEditorProsemirrorSchema, pageToProsemirrorDoc, pageToYDoc, pageToYXmlFragment, pipelineToDto, prosemirrorDocToPage, prosemirrorDocToRichTextPropertyValue, prosemirrorNodeToSection, prosemirrorNodesToBlocks, richTextPropertyValueToProsemirror, serializeAsCustomBlock, shallowProsemirrorNodeToBlock, validateDesignSystemVersion, validateSsoPayload, yDocToPage, yXmlFragmentToPage, yjsToDocumentationHierarchy, yjsToItemConfiguration };