@supernova-studio/client 0.54.20 → 0.54.22

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
@@ -1,6 +1,7 @@
1
1
  import { DocumentationGroupV1, DocumentationPageV1, DocumentationPageV2, DocumentationPageApproval, PageBlockDefinitionLayout as PageBlockDefinitionLayout$1, PageBlockV1, ElementGroup, DocumentationItemConfigurationV1, DocumentationItemConfigurationV2, Pipeline, GitOrganization, GitProject, GitRepository, GitBranch, ExtendedIntegration, IntegrationCredentials, SsoProvider, PageBlockItemUntypedValue, PageBlockDefinition, PageBlockItemRichTextEditorValue, PageBlockText, PageBlockDefinitionProperty, PageBlockDefinitionMultiRichTextPropertyStyle, PageBlockItemV2, PageBlockItemRichTextValue, PageBlockItemMultiRichTextValue, PageBlockItemTableValue, PageBlockItemEmbedValue, PageBlockDefinitionPropertyType, DocumentationPageSnapshot, ElementGroupSnapshot } from '@supernova-studio/model';
2
2
  import * as zod from 'zod';
3
- import { z, ZodTypeDef } from 'zod';
3
+ import { z, ZodSchema, ZodTypeDef } from 'zod';
4
+ import { RequestInit } from 'node-fetch';
4
5
  import * as Y from 'yjs';
5
6
  import { Schema } from 'prosemirror-model';
6
7
 
@@ -1543,6 +1544,19 @@ declare const DTOAppBootstrapDataResponse: z.ZodObject<{
1543
1544
  errorReason: string;
1544
1545
  enabled: boolean;
1545
1546
  }>;
1547
+ designSystemAccessModes: z.ZodObject<{
1548
+ enabled: z.ZodBoolean;
1549
+ errorMessage: z.ZodString;
1550
+ errorReason: z.ZodString;
1551
+ }, "strip", z.ZodTypeAny, {
1552
+ errorMessage: string;
1553
+ errorReason: string;
1554
+ enabled: boolean;
1555
+ }, {
1556
+ errorMessage: string;
1557
+ errorReason: string;
1558
+ enabled: boolean;
1559
+ }>;
1546
1560
  }, "strip", z.ZodTypeAny, {
1547
1561
  designSystems: {
1548
1562
  max: number;
@@ -1646,6 +1660,11 @@ declare const DTOAppBootstrapDataResponse: z.ZodObject<{
1646
1660
  errorReason: string;
1647
1661
  enabled: boolean;
1648
1662
  };
1663
+ designSystemAccessModes: {
1664
+ errorMessage: string;
1665
+ errorReason: string;
1666
+ enabled: boolean;
1667
+ };
1649
1668
  }, {
1650
1669
  designSystems: {
1651
1670
  max: number;
@@ -1749,6 +1768,11 @@ declare const DTOAppBootstrapDataResponse: z.ZodObject<{
1749
1768
  errorReason: string;
1750
1769
  enabled: boolean;
1751
1770
  };
1771
+ designSystemAccessModes: {
1772
+ errorMessage: string;
1773
+ errorReason: string;
1774
+ enabled: boolean;
1775
+ };
1752
1776
  }>>;
1753
1777
  stripeProductDescription: z.ZodOptional<z.ZodString>;
1754
1778
  stripeProductFeatures: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -1793,7 +1817,7 @@ declare const DTOAppBootstrapDataResponse: z.ZodObject<{
1793
1817
  }, "strip", z.ZodTypeAny, {
1794
1818
  product: "free" | "team" | "company" | "enterprise";
1795
1819
  planPriceId: string;
1796
- planInterval: "daily" | "monthly" | "weekly" | "yearly";
1820
+ planInterval: "yearly" | "daily" | "monthly" | "weekly";
1797
1821
  seats: number;
1798
1822
  seatLimit: number;
1799
1823
  status?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
@@ -1919,6 +1943,11 @@ declare const DTOAppBootstrapDataResponse: z.ZodObject<{
1919
1943
  errorReason: string;
1920
1944
  enabled: boolean;
1921
1945
  };
1946
+ designSystemAccessModes: {
1947
+ errorMessage: string;
1948
+ errorReason: string;
1949
+ enabled: boolean;
1950
+ };
1922
1951
  } | undefined;
1923
1952
  stripeSubscriptionMainItemId?: string | undefined;
1924
1953
  currentPeriodStart?: string | undefined;
@@ -1930,7 +1959,7 @@ declare const DTOAppBootstrapDataResponse: z.ZodObject<{
1930
1959
  }, {
1931
1960
  product: "free" | "team" | "company" | "enterprise";
1932
1961
  planPriceId: string;
1933
- planInterval: "daily" | "monthly" | "weekly" | "yearly";
1962
+ planInterval: "yearly" | "daily" | "monthly" | "weekly";
1934
1963
  seats: number;
1935
1964
  seatLimit: number;
1936
1965
  status?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
@@ -2056,6 +2085,11 @@ declare const DTOAppBootstrapDataResponse: z.ZodObject<{
2056
2085
  errorReason: string;
2057
2086
  enabled: boolean;
2058
2087
  };
2088
+ designSystemAccessModes: {
2089
+ errorMessage: string;
2090
+ errorReason: string;
2091
+ enabled: boolean;
2092
+ };
2059
2093
  } | undefined;
2060
2094
  stripeSubscriptionMainItemId?: string | undefined;
2061
2095
  currentPeriodStart?: string | undefined;
@@ -2126,7 +2160,7 @@ declare const DTOAppBootstrapDataResponse: z.ZodObject<{
2126
2160
  subscription: {
2127
2161
  product: "free" | "team" | "company" | "enterprise";
2128
2162
  planPriceId: string;
2129
- planInterval: "daily" | "monthly" | "weekly" | "yearly";
2163
+ planInterval: "yearly" | "daily" | "monthly" | "weekly";
2130
2164
  seats: number;
2131
2165
  seatLimit: number;
2132
2166
  status?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
@@ -2252,6 +2286,11 @@ declare const DTOAppBootstrapDataResponse: z.ZodObject<{
2252
2286
  errorReason: string;
2253
2287
  enabled: boolean;
2254
2288
  };
2289
+ designSystemAccessModes: {
2290
+ errorMessage: string;
2291
+ errorReason: string;
2292
+ enabled: boolean;
2293
+ };
2255
2294
  } | undefined;
2256
2295
  stripeSubscriptionMainItemId?: string | undefined;
2257
2296
  currentPeriodStart?: string | undefined;
@@ -2300,7 +2339,7 @@ declare const DTOAppBootstrapDataResponse: z.ZodObject<{
2300
2339
  subscription: {
2301
2340
  product: "free" | "team" | "company" | "enterprise";
2302
2341
  planPriceId: string;
2303
- planInterval: "daily" | "monthly" | "weekly" | "yearly";
2342
+ planInterval: "yearly" | "daily" | "monthly" | "weekly";
2304
2343
  seats: number;
2305
2344
  seatLimit: number;
2306
2345
  status?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
@@ -2426,6 +2465,11 @@ declare const DTOAppBootstrapDataResponse: z.ZodObject<{
2426
2465
  errorReason: string;
2427
2466
  enabled: boolean;
2428
2467
  };
2468
+ designSystemAccessModes: {
2469
+ errorMessage: string;
2470
+ errorReason: string;
2471
+ enabled: boolean;
2472
+ };
2429
2473
  } | undefined;
2430
2474
  stripeSubscriptionMainItemId?: string | undefined;
2431
2475
  currentPeriodStart?: string | undefined;
@@ -2479,7 +2523,7 @@ declare const DTOAppBootstrapDataResponse: z.ZodObject<{
2479
2523
  subscription: {
2480
2524
  product: "free" | "team" | "company" | "enterprise";
2481
2525
  planPriceId: string;
2482
- planInterval: "daily" | "monthly" | "weekly" | "yearly";
2526
+ planInterval: "yearly" | "daily" | "monthly" | "weekly";
2483
2527
  seats: number;
2484
2528
  seatLimit: number;
2485
2529
  status?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
@@ -2605,6 +2649,11 @@ declare const DTOAppBootstrapDataResponse: z.ZodObject<{
2605
2649
  errorReason: string;
2606
2650
  enabled: boolean;
2607
2651
  };
2652
+ designSystemAccessModes: {
2653
+ errorMessage: string;
2654
+ errorReason: string;
2655
+ enabled: boolean;
2656
+ };
2608
2657
  } | undefined;
2609
2658
  stripeSubscriptionMainItemId?: string | undefined;
2610
2659
  currentPeriodStart?: string | undefined;
@@ -2657,7 +2706,7 @@ declare const DTOAppBootstrapDataResponse: z.ZodObject<{
2657
2706
  subscription: {
2658
2707
  product: "free" | "team" | "company" | "enterprise";
2659
2708
  planPriceId: string;
2660
- planInterval: "daily" | "monthly" | "weekly" | "yearly";
2709
+ planInterval: "yearly" | "daily" | "monthly" | "weekly";
2661
2710
  seats: number;
2662
2711
  seatLimit: number;
2663
2712
  status?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
@@ -2783,6 +2832,11 @@ declare const DTOAppBootstrapDataResponse: z.ZodObject<{
2783
2832
  errorReason: string;
2784
2833
  enabled: boolean;
2785
2834
  };
2835
+ designSystemAccessModes: {
2836
+ errorMessage: string;
2837
+ errorReason: string;
2838
+ enabled: boolean;
2839
+ };
2786
2840
  } | undefined;
2787
2841
  stripeSubscriptionMainItemId?: string | undefined;
2788
2842
  currentPeriodStart?: string | undefined;
@@ -3058,7 +3112,7 @@ declare const DTOAppBootstrapDataResponse: z.ZodObject<{
3058
3112
  subscription: {
3059
3113
  product: "free" | "team" | "company" | "enterprise";
3060
3114
  planPriceId: string;
3061
- planInterval: "daily" | "monthly" | "weekly" | "yearly";
3115
+ planInterval: "yearly" | "daily" | "monthly" | "weekly";
3062
3116
  seats: number;
3063
3117
  seatLimit: number;
3064
3118
  status?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
@@ -3184,6 +3238,11 @@ declare const DTOAppBootstrapDataResponse: z.ZodObject<{
3184
3238
  errorReason: string;
3185
3239
  enabled: boolean;
3186
3240
  };
3241
+ designSystemAccessModes: {
3242
+ errorMessage: string;
3243
+ errorReason: string;
3244
+ enabled: boolean;
3245
+ };
3187
3246
  } | undefined;
3188
3247
  stripeSubscriptionMainItemId?: string | undefined;
3189
3248
  currentPeriodStart?: string | undefined;
@@ -3287,7 +3346,7 @@ declare const DTOAppBootstrapDataResponse: z.ZodObject<{
3287
3346
  subscription: {
3288
3347
  product: "free" | "team" | "company" | "enterprise";
3289
3348
  planPriceId: string;
3290
- planInterval: "daily" | "monthly" | "weekly" | "yearly";
3349
+ planInterval: "yearly" | "daily" | "monthly" | "weekly";
3291
3350
  seats: number;
3292
3351
  seatLimit: number;
3293
3352
  status?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
@@ -3413,6 +3472,11 @@ declare const DTOAppBootstrapDataResponse: z.ZodObject<{
3413
3472
  errorReason: string;
3414
3473
  enabled: boolean;
3415
3474
  };
3475
+ designSystemAccessModes: {
3476
+ errorMessage: string;
3477
+ errorReason: string;
3478
+ enabled: boolean;
3479
+ };
3416
3480
  } | undefined;
3417
3481
  stripeSubscriptionMainItemId?: string | undefined;
3418
3482
  currentPeriodStart?: string | undefined;
@@ -7708,14 +7772,14 @@ declare const DTODesignSystemMembersUpdateResponse: z.ZodObject<{
7708
7772
  }>;
7709
7773
  type DTODesignSystemMembersUpdateResponse = z.infer<typeof DTODesignSystemMembersUpdateResponse>;
7710
7774
  declare const DTODesignSystemMembersUpdatePayload: z.ZodObject<{
7711
- inviteUserIds: z.ZodArray<z.ZodString, "many">;
7712
- removeUserIds: z.ZodArray<z.ZodString, "many">;
7775
+ inviteUserIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
7776
+ removeUserIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
7713
7777
  }, "strip", z.ZodTypeAny, {
7714
- inviteUserIds: string[];
7715
- removeUserIds: string[];
7778
+ inviteUserIds?: string[] | undefined;
7779
+ removeUserIds?: string[] | undefined;
7716
7780
  }, {
7717
- inviteUserIds: string[];
7718
- removeUserIds: string[];
7781
+ inviteUserIds?: string[] | undefined;
7782
+ removeUserIds?: string[] | undefined;
7719
7783
  }>;
7720
7784
  type DTODesignSystemMembersUpdatePayload = z.infer<typeof DTODesignSystemMembersUpdatePayload>;
7721
7785
 
@@ -36306,6 +36370,62 @@ declare const DTOUser: z.ZodObject<{
36306
36370
  email: string;
36307
36371
  }>;
36308
36372
  type DTOUser = z.infer<typeof DTOUser>;
36373
+ declare const DTOUserGetResponse: z.ZodObject<{
36374
+ user: z.ZodObject<{
36375
+ id: z.ZodString;
36376
+ email: z.ZodString;
36377
+ profile: z.ZodObject<{
36378
+ name: z.ZodString;
36379
+ nickname: z.ZodOptional<z.ZodString>;
36380
+ avatar: z.ZodOptional<z.ZodString>;
36381
+ }, "strip", z.ZodTypeAny, {
36382
+ name: string;
36383
+ avatar?: string | undefined;
36384
+ nickname?: string | undefined;
36385
+ }, {
36386
+ name: string;
36387
+ avatar?: string | undefined;
36388
+ nickname?: string | undefined;
36389
+ }>;
36390
+ }, "strip", z.ZodTypeAny, {
36391
+ id: string;
36392
+ profile: {
36393
+ name: string;
36394
+ avatar?: string | undefined;
36395
+ nickname?: string | undefined;
36396
+ };
36397
+ email: string;
36398
+ }, {
36399
+ id: string;
36400
+ profile: {
36401
+ name: string;
36402
+ avatar?: string | undefined;
36403
+ nickname?: string | undefined;
36404
+ };
36405
+ email: string;
36406
+ }>;
36407
+ }, "strip", z.ZodTypeAny, {
36408
+ user: {
36409
+ id: string;
36410
+ profile: {
36411
+ name: string;
36412
+ avatar?: string | undefined;
36413
+ nickname?: string | undefined;
36414
+ };
36415
+ email: string;
36416
+ };
36417
+ }, {
36418
+ user: {
36419
+ id: string;
36420
+ profile: {
36421
+ name: string;
36422
+ avatar?: string | undefined;
36423
+ nickname?: string | undefined;
36424
+ };
36425
+ email: string;
36426
+ };
36427
+ }>;
36428
+ type DTOUserGetResponse = z.infer<typeof DTOUserGetResponse>;
36309
36429
 
36310
36430
  declare const DTOGitOrganization: z.ZodObject<{
36311
36431
  id: z.ZodString;
@@ -37335,6 +37455,44 @@ declare const DTOIntegrationsGetListResponse: z.ZodObject<{
37335
37455
  }>;
37336
37456
  type DTOIntegrationsGetListResponse = z.infer<typeof DTOIntegrationsGetListResponse>;
37337
37457
 
37458
+ declare const DTOWorkspaceInvitationInput: z.ZodObject<{
37459
+ email: z.ZodString;
37460
+ role: z.ZodEnum<["Owner", "Admin", "Creator", "Viewer", "Billing", "Guest", "Contributor"]>;
37461
+ }, "strip", z.ZodTypeAny, {
37462
+ role: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Guest" | "Contributor";
37463
+ email: string;
37464
+ }, {
37465
+ role: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Guest" | "Contributor";
37466
+ email: string;
37467
+ }>;
37468
+ type DTOWorkspaceInvitationInput = z.infer<typeof DTOWorkspaceInvitationInput>;
37469
+ declare const DTOWorkspaceInvitationsListInput: z.ZodObject<{
37470
+ invites: z.ZodArray<z.ZodObject<{
37471
+ email: z.ZodString;
37472
+ role: z.ZodEnum<["Owner", "Admin", "Creator", "Viewer", "Billing", "Guest", "Contributor"]>;
37473
+ }, "strip", z.ZodTypeAny, {
37474
+ role: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Guest" | "Contributor";
37475
+ email: string;
37476
+ }, {
37477
+ role: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Guest" | "Contributor";
37478
+ email: string;
37479
+ }>, "many">;
37480
+ designSystemId: z.ZodOptional<z.ZodString>;
37481
+ }, "strip", z.ZodTypeAny, {
37482
+ invites: {
37483
+ role: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Guest" | "Contributor";
37484
+ email: string;
37485
+ }[];
37486
+ designSystemId?: string | undefined;
37487
+ }, {
37488
+ invites: {
37489
+ role: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Guest" | "Contributor";
37490
+ email: string;
37491
+ }[];
37492
+ designSystemId?: string | undefined;
37493
+ }>;
37494
+ type DTOWorkspaceInvitationsListInput = z.infer<typeof DTOWorkspaceInvitationsListInput>;
37495
+
37338
37496
  declare const DTOWorkspaceRole: z.ZodEnum<["Owner", "Admin", "Creator", "Viewer", "Billing", "Contributor"]>;
37339
37497
  type DTOWorkspaceRole = z.infer<typeof DTOWorkspaceRole>;
37340
37498
  declare const DTOUserWorkspaceMembership: z.ZodObject<{
@@ -37724,6 +37882,19 @@ declare const DTOUserWorkspaceMembership: z.ZodObject<{
37724
37882
  errorReason: string;
37725
37883
  enabled: boolean;
37726
37884
  }>;
37885
+ designSystemAccessModes: z.ZodObject<{
37886
+ enabled: z.ZodBoolean;
37887
+ errorMessage: z.ZodString;
37888
+ errorReason: z.ZodString;
37889
+ }, "strip", z.ZodTypeAny, {
37890
+ errorMessage: string;
37891
+ errorReason: string;
37892
+ enabled: boolean;
37893
+ }, {
37894
+ errorMessage: string;
37895
+ errorReason: string;
37896
+ enabled: boolean;
37897
+ }>;
37727
37898
  }, "strip", z.ZodTypeAny, {
37728
37899
  designSystems: {
37729
37900
  max: number;
@@ -37827,6 +37998,11 @@ declare const DTOUserWorkspaceMembership: z.ZodObject<{
37827
37998
  errorReason: string;
37828
37999
  enabled: boolean;
37829
38000
  };
38001
+ designSystemAccessModes: {
38002
+ errorMessage: string;
38003
+ errorReason: string;
38004
+ enabled: boolean;
38005
+ };
37830
38006
  }, {
37831
38007
  designSystems: {
37832
38008
  max: number;
@@ -37930,6 +38106,11 @@ declare const DTOUserWorkspaceMembership: z.ZodObject<{
37930
38106
  errorReason: string;
37931
38107
  enabled: boolean;
37932
38108
  };
38109
+ designSystemAccessModes: {
38110
+ errorMessage: string;
38111
+ errorReason: string;
38112
+ enabled: boolean;
38113
+ };
37933
38114
  }>>;
37934
38115
  stripeProductDescription: z.ZodOptional<z.ZodString>;
37935
38116
  stripeProductFeatures: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -37974,7 +38155,7 @@ declare const DTOUserWorkspaceMembership: z.ZodObject<{
37974
38155
  }, "strip", z.ZodTypeAny, {
37975
38156
  product: "free" | "team" | "company" | "enterprise";
37976
38157
  planPriceId: string;
37977
- planInterval: "daily" | "monthly" | "weekly" | "yearly";
38158
+ planInterval: "yearly" | "daily" | "monthly" | "weekly";
37978
38159
  seats: number;
37979
38160
  seatLimit: number;
37980
38161
  status?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
@@ -38100,6 +38281,11 @@ declare const DTOUserWorkspaceMembership: z.ZodObject<{
38100
38281
  errorReason: string;
38101
38282
  enabled: boolean;
38102
38283
  };
38284
+ designSystemAccessModes: {
38285
+ errorMessage: string;
38286
+ errorReason: string;
38287
+ enabled: boolean;
38288
+ };
38103
38289
  } | undefined;
38104
38290
  stripeSubscriptionMainItemId?: string | undefined;
38105
38291
  currentPeriodStart?: string | undefined;
@@ -38111,7 +38297,7 @@ declare const DTOUserWorkspaceMembership: z.ZodObject<{
38111
38297
  }, {
38112
38298
  product: "free" | "team" | "company" | "enterprise";
38113
38299
  planPriceId: string;
38114
- planInterval: "daily" | "monthly" | "weekly" | "yearly";
38300
+ planInterval: "yearly" | "daily" | "monthly" | "weekly";
38115
38301
  seats: number;
38116
38302
  seatLimit: number;
38117
38303
  status?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
@@ -38237,6 +38423,11 @@ declare const DTOUserWorkspaceMembership: z.ZodObject<{
38237
38423
  errorReason: string;
38238
38424
  enabled: boolean;
38239
38425
  };
38426
+ designSystemAccessModes: {
38427
+ errorMessage: string;
38428
+ errorReason: string;
38429
+ enabled: boolean;
38430
+ };
38240
38431
  } | undefined;
38241
38432
  stripeSubscriptionMainItemId?: string | undefined;
38242
38433
  currentPeriodStart?: string | undefined;
@@ -38307,7 +38498,7 @@ declare const DTOUserWorkspaceMembership: z.ZodObject<{
38307
38498
  subscription: {
38308
38499
  product: "free" | "team" | "company" | "enterprise";
38309
38500
  planPriceId: string;
38310
- planInterval: "daily" | "monthly" | "weekly" | "yearly";
38501
+ planInterval: "yearly" | "daily" | "monthly" | "weekly";
38311
38502
  seats: number;
38312
38503
  seatLimit: number;
38313
38504
  status?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
@@ -38433,6 +38624,11 @@ declare const DTOUserWorkspaceMembership: z.ZodObject<{
38433
38624
  errorReason: string;
38434
38625
  enabled: boolean;
38435
38626
  };
38627
+ designSystemAccessModes: {
38628
+ errorMessage: string;
38629
+ errorReason: string;
38630
+ enabled: boolean;
38631
+ };
38436
38632
  } | undefined;
38437
38633
  stripeSubscriptionMainItemId?: string | undefined;
38438
38634
  currentPeriodStart?: string | undefined;
@@ -38481,7 +38677,7 @@ declare const DTOUserWorkspaceMembership: z.ZodObject<{
38481
38677
  subscription: {
38482
38678
  product: "free" | "team" | "company" | "enterprise";
38483
38679
  planPriceId: string;
38484
- planInterval: "daily" | "monthly" | "weekly" | "yearly";
38680
+ planInterval: "yearly" | "daily" | "monthly" | "weekly";
38485
38681
  seats: number;
38486
38682
  seatLimit: number;
38487
38683
  status?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
@@ -38607,6 +38803,11 @@ declare const DTOUserWorkspaceMembership: z.ZodObject<{
38607
38803
  errorReason: string;
38608
38804
  enabled: boolean;
38609
38805
  };
38806
+ designSystemAccessModes: {
38807
+ errorMessage: string;
38808
+ errorReason: string;
38809
+ enabled: boolean;
38810
+ };
38610
38811
  } | undefined;
38611
38812
  stripeSubscriptionMainItemId?: string | undefined;
38612
38813
  currentPeriodStart?: string | undefined;
@@ -38660,7 +38861,7 @@ declare const DTOUserWorkspaceMembership: z.ZodObject<{
38660
38861
  subscription: {
38661
38862
  product: "free" | "team" | "company" | "enterprise";
38662
38863
  planPriceId: string;
38663
- planInterval: "daily" | "monthly" | "weekly" | "yearly";
38864
+ planInterval: "yearly" | "daily" | "monthly" | "weekly";
38664
38865
  seats: number;
38665
38866
  seatLimit: number;
38666
38867
  status?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
@@ -38786,6 +38987,11 @@ declare const DTOUserWorkspaceMembership: z.ZodObject<{
38786
38987
  errorReason: string;
38787
38988
  enabled: boolean;
38788
38989
  };
38990
+ designSystemAccessModes: {
38991
+ errorMessage: string;
38992
+ errorReason: string;
38993
+ enabled: boolean;
38994
+ };
38789
38995
  } | undefined;
38790
38996
  stripeSubscriptionMainItemId?: string | undefined;
38791
38997
  currentPeriodStart?: string | undefined;
@@ -38838,7 +39044,7 @@ declare const DTOUserWorkspaceMembership: z.ZodObject<{
38838
39044
  subscription: {
38839
39045
  product: "free" | "team" | "company" | "enterprise";
38840
39046
  planPriceId: string;
38841
- planInterval: "daily" | "monthly" | "weekly" | "yearly";
39047
+ planInterval: "yearly" | "daily" | "monthly" | "weekly";
38842
39048
  seats: number;
38843
39049
  seatLimit: number;
38844
39050
  status?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
@@ -38964,6 +39170,11 @@ declare const DTOUserWorkspaceMembership: z.ZodObject<{
38964
39170
  errorReason: string;
38965
39171
  enabled: boolean;
38966
39172
  };
39173
+ designSystemAccessModes: {
39174
+ errorMessage: string;
39175
+ errorReason: string;
39176
+ enabled: boolean;
39177
+ };
38967
39178
  } | undefined;
38968
39179
  stripeSubscriptionMainItemId?: string | undefined;
38969
39180
  currentPeriodStart?: string | undefined;
@@ -39377,6 +39588,19 @@ declare const DTOUserWorkspaceMembershipsResponse: z.ZodObject<{
39377
39588
  errorReason: string;
39378
39589
  enabled: boolean;
39379
39590
  }>;
39591
+ designSystemAccessModes: z.ZodObject<{
39592
+ enabled: z.ZodBoolean;
39593
+ errorMessage: z.ZodString;
39594
+ errorReason: z.ZodString;
39595
+ }, "strip", z.ZodTypeAny, {
39596
+ errorMessage: string;
39597
+ errorReason: string;
39598
+ enabled: boolean;
39599
+ }, {
39600
+ errorMessage: string;
39601
+ errorReason: string;
39602
+ enabled: boolean;
39603
+ }>;
39380
39604
  }, "strip", z.ZodTypeAny, {
39381
39605
  designSystems: {
39382
39606
  max: number;
@@ -39480,6 +39704,11 @@ declare const DTOUserWorkspaceMembershipsResponse: z.ZodObject<{
39480
39704
  errorReason: string;
39481
39705
  enabled: boolean;
39482
39706
  };
39707
+ designSystemAccessModes: {
39708
+ errorMessage: string;
39709
+ errorReason: string;
39710
+ enabled: boolean;
39711
+ };
39483
39712
  }, {
39484
39713
  designSystems: {
39485
39714
  max: number;
@@ -39583,6 +39812,11 @@ declare const DTOUserWorkspaceMembershipsResponse: z.ZodObject<{
39583
39812
  errorReason: string;
39584
39813
  enabled: boolean;
39585
39814
  };
39815
+ designSystemAccessModes: {
39816
+ errorMessage: string;
39817
+ errorReason: string;
39818
+ enabled: boolean;
39819
+ };
39586
39820
  }>>;
39587
39821
  stripeProductDescription: z.ZodOptional<z.ZodString>;
39588
39822
  stripeProductFeatures: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -39627,7 +39861,7 @@ declare const DTOUserWorkspaceMembershipsResponse: z.ZodObject<{
39627
39861
  }, "strip", z.ZodTypeAny, {
39628
39862
  product: "free" | "team" | "company" | "enterprise";
39629
39863
  planPriceId: string;
39630
- planInterval: "daily" | "monthly" | "weekly" | "yearly";
39864
+ planInterval: "yearly" | "daily" | "monthly" | "weekly";
39631
39865
  seats: number;
39632
39866
  seatLimit: number;
39633
39867
  status?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
@@ -39753,6 +39987,11 @@ declare const DTOUserWorkspaceMembershipsResponse: z.ZodObject<{
39753
39987
  errorReason: string;
39754
39988
  enabled: boolean;
39755
39989
  };
39990
+ designSystemAccessModes: {
39991
+ errorMessage: string;
39992
+ errorReason: string;
39993
+ enabled: boolean;
39994
+ };
39756
39995
  } | undefined;
39757
39996
  stripeSubscriptionMainItemId?: string | undefined;
39758
39997
  currentPeriodStart?: string | undefined;
@@ -39764,7 +40003,7 @@ declare const DTOUserWorkspaceMembershipsResponse: z.ZodObject<{
39764
40003
  }, {
39765
40004
  product: "free" | "team" | "company" | "enterprise";
39766
40005
  planPriceId: string;
39767
- planInterval: "daily" | "monthly" | "weekly" | "yearly";
40006
+ planInterval: "yearly" | "daily" | "monthly" | "weekly";
39768
40007
  seats: number;
39769
40008
  seatLimit: number;
39770
40009
  status?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
@@ -39890,6 +40129,11 @@ declare const DTOUserWorkspaceMembershipsResponse: z.ZodObject<{
39890
40129
  errorReason: string;
39891
40130
  enabled: boolean;
39892
40131
  };
40132
+ designSystemAccessModes: {
40133
+ errorMessage: string;
40134
+ errorReason: string;
40135
+ enabled: boolean;
40136
+ };
39893
40137
  } | undefined;
39894
40138
  stripeSubscriptionMainItemId?: string | undefined;
39895
40139
  currentPeriodStart?: string | undefined;
@@ -39960,7 +40204,7 @@ declare const DTOUserWorkspaceMembershipsResponse: z.ZodObject<{
39960
40204
  subscription: {
39961
40205
  product: "free" | "team" | "company" | "enterprise";
39962
40206
  planPriceId: string;
39963
- planInterval: "daily" | "monthly" | "weekly" | "yearly";
40207
+ planInterval: "yearly" | "daily" | "monthly" | "weekly";
39964
40208
  seats: number;
39965
40209
  seatLimit: number;
39966
40210
  status?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
@@ -40086,6 +40330,11 @@ declare const DTOUserWorkspaceMembershipsResponse: z.ZodObject<{
40086
40330
  errorReason: string;
40087
40331
  enabled: boolean;
40088
40332
  };
40333
+ designSystemAccessModes: {
40334
+ errorMessage: string;
40335
+ errorReason: string;
40336
+ enabled: boolean;
40337
+ };
40089
40338
  } | undefined;
40090
40339
  stripeSubscriptionMainItemId?: string | undefined;
40091
40340
  currentPeriodStart?: string | undefined;
@@ -40134,7 +40383,7 @@ declare const DTOUserWorkspaceMembershipsResponse: z.ZodObject<{
40134
40383
  subscription: {
40135
40384
  product: "free" | "team" | "company" | "enterprise";
40136
40385
  planPriceId: string;
40137
- planInterval: "daily" | "monthly" | "weekly" | "yearly";
40386
+ planInterval: "yearly" | "daily" | "monthly" | "weekly";
40138
40387
  seats: number;
40139
40388
  seatLimit: number;
40140
40389
  status?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
@@ -40260,6 +40509,11 @@ declare const DTOUserWorkspaceMembershipsResponse: z.ZodObject<{
40260
40509
  errorReason: string;
40261
40510
  enabled: boolean;
40262
40511
  };
40512
+ designSystemAccessModes: {
40513
+ errorMessage: string;
40514
+ errorReason: string;
40515
+ enabled: boolean;
40516
+ };
40263
40517
  } | undefined;
40264
40518
  stripeSubscriptionMainItemId?: string | undefined;
40265
40519
  currentPeriodStart?: string | undefined;
@@ -40313,7 +40567,7 @@ declare const DTOUserWorkspaceMembershipsResponse: z.ZodObject<{
40313
40567
  subscription: {
40314
40568
  product: "free" | "team" | "company" | "enterprise";
40315
40569
  planPriceId: string;
40316
- planInterval: "daily" | "monthly" | "weekly" | "yearly";
40570
+ planInterval: "yearly" | "daily" | "monthly" | "weekly";
40317
40571
  seats: number;
40318
40572
  seatLimit: number;
40319
40573
  status?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
@@ -40439,6 +40693,11 @@ declare const DTOUserWorkspaceMembershipsResponse: z.ZodObject<{
40439
40693
  errorReason: string;
40440
40694
  enabled: boolean;
40441
40695
  };
40696
+ designSystemAccessModes: {
40697
+ errorMessage: string;
40698
+ errorReason: string;
40699
+ enabled: boolean;
40700
+ };
40442
40701
  } | undefined;
40443
40702
  stripeSubscriptionMainItemId?: string | undefined;
40444
40703
  currentPeriodStart?: string | undefined;
@@ -40491,7 +40750,7 @@ declare const DTOUserWorkspaceMembershipsResponse: z.ZodObject<{
40491
40750
  subscription: {
40492
40751
  product: "free" | "team" | "company" | "enterprise";
40493
40752
  planPriceId: string;
40494
- planInterval: "daily" | "monthly" | "weekly" | "yearly";
40753
+ planInterval: "yearly" | "daily" | "monthly" | "weekly";
40495
40754
  seats: number;
40496
40755
  seatLimit: number;
40497
40756
  status?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
@@ -40617,6 +40876,11 @@ declare const DTOUserWorkspaceMembershipsResponse: z.ZodObject<{
40617
40876
  errorReason: string;
40618
40877
  enabled: boolean;
40619
40878
  };
40879
+ designSystemAccessModes: {
40880
+ errorMessage: string;
40881
+ errorReason: string;
40882
+ enabled: boolean;
40883
+ };
40620
40884
  } | undefined;
40621
40885
  stripeSubscriptionMainItemId?: string | undefined;
40622
40886
  currentPeriodStart?: string | undefined;
@@ -40671,7 +40935,7 @@ declare const DTOUserWorkspaceMembershipsResponse: z.ZodObject<{
40671
40935
  subscription: {
40672
40936
  product: "free" | "team" | "company" | "enterprise";
40673
40937
  planPriceId: string;
40674
- planInterval: "daily" | "monthly" | "weekly" | "yearly";
40938
+ planInterval: "yearly" | "daily" | "monthly" | "weekly";
40675
40939
  seats: number;
40676
40940
  seatLimit: number;
40677
40941
  status?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
@@ -40797,6 +41061,11 @@ declare const DTOUserWorkspaceMembershipsResponse: z.ZodObject<{
40797
41061
  errorReason: string;
40798
41062
  enabled: boolean;
40799
41063
  };
41064
+ designSystemAccessModes: {
41065
+ errorMessage: string;
41066
+ errorReason: string;
41067
+ enabled: boolean;
41068
+ };
40800
41069
  } | undefined;
40801
41070
  stripeSubscriptionMainItemId?: string | undefined;
40802
41071
  currentPeriodStart?: string | undefined;
@@ -40851,7 +41120,7 @@ declare const DTOUserWorkspaceMembershipsResponse: z.ZodObject<{
40851
41120
  subscription: {
40852
41121
  product: "free" | "team" | "company" | "enterprise";
40853
41122
  planPriceId: string;
40854
- planInterval: "daily" | "monthly" | "weekly" | "yearly";
41123
+ planInterval: "yearly" | "daily" | "monthly" | "weekly";
40855
41124
  seats: number;
40856
41125
  seatLimit: number;
40857
41126
  status?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
@@ -40977,6 +41246,11 @@ declare const DTOUserWorkspaceMembershipsResponse: z.ZodObject<{
40977
41246
  errorReason: string;
40978
41247
  enabled: boolean;
40979
41248
  };
41249
+ designSystemAccessModes: {
41250
+ errorMessage: string;
41251
+ errorReason: string;
41252
+ enabled: boolean;
41253
+ };
40980
41254
  } | undefined;
40981
41255
  stripeSubscriptionMainItemId?: string | undefined;
40982
41256
  currentPeriodStart?: string | undefined;
@@ -41429,6 +41703,19 @@ declare const DTOWorkspace: z.ZodObject<{
41429
41703
  errorReason: string;
41430
41704
  enabled: boolean;
41431
41705
  }>;
41706
+ designSystemAccessModes: z.ZodObject<{
41707
+ enabled: z.ZodBoolean;
41708
+ errorMessage: z.ZodString;
41709
+ errorReason: z.ZodString;
41710
+ }, "strip", z.ZodTypeAny, {
41711
+ errorMessage: string;
41712
+ errorReason: string;
41713
+ enabled: boolean;
41714
+ }, {
41715
+ errorMessage: string;
41716
+ errorReason: string;
41717
+ enabled: boolean;
41718
+ }>;
41432
41719
  }, "strip", z.ZodTypeAny, {
41433
41720
  designSystems: {
41434
41721
  max: number;
@@ -41532,6 +41819,11 @@ declare const DTOWorkspace: z.ZodObject<{
41532
41819
  errorReason: string;
41533
41820
  enabled: boolean;
41534
41821
  };
41822
+ designSystemAccessModes: {
41823
+ errorMessage: string;
41824
+ errorReason: string;
41825
+ enabled: boolean;
41826
+ };
41535
41827
  }, {
41536
41828
  designSystems: {
41537
41829
  max: number;
@@ -41635,6 +41927,11 @@ declare const DTOWorkspace: z.ZodObject<{
41635
41927
  errorReason: string;
41636
41928
  enabled: boolean;
41637
41929
  };
41930
+ designSystemAccessModes: {
41931
+ errorMessage: string;
41932
+ errorReason: string;
41933
+ enabled: boolean;
41934
+ };
41638
41935
  }>>;
41639
41936
  stripeProductDescription: z.ZodOptional<z.ZodString>;
41640
41937
  stripeProductFeatures: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -41679,7 +41976,7 @@ declare const DTOWorkspace: z.ZodObject<{
41679
41976
  }, "strip", z.ZodTypeAny, {
41680
41977
  product: "free" | "team" | "company" | "enterprise";
41681
41978
  planPriceId: string;
41682
- planInterval: "daily" | "monthly" | "weekly" | "yearly";
41979
+ planInterval: "yearly" | "daily" | "monthly" | "weekly";
41683
41980
  seats: number;
41684
41981
  seatLimit: number;
41685
41982
  status?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
@@ -41805,6 +42102,11 @@ declare const DTOWorkspace: z.ZodObject<{
41805
42102
  errorReason: string;
41806
42103
  enabled: boolean;
41807
42104
  };
42105
+ designSystemAccessModes: {
42106
+ errorMessage: string;
42107
+ errorReason: string;
42108
+ enabled: boolean;
42109
+ };
41808
42110
  } | undefined;
41809
42111
  stripeSubscriptionMainItemId?: string | undefined;
41810
42112
  currentPeriodStart?: string | undefined;
@@ -41816,7 +42118,7 @@ declare const DTOWorkspace: z.ZodObject<{
41816
42118
  }, {
41817
42119
  product: "free" | "team" | "company" | "enterprise";
41818
42120
  planPriceId: string;
41819
- planInterval: "daily" | "monthly" | "weekly" | "yearly";
42121
+ planInterval: "yearly" | "daily" | "monthly" | "weekly";
41820
42122
  seats: number;
41821
42123
  seatLimit: number;
41822
42124
  status?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
@@ -41942,6 +42244,11 @@ declare const DTOWorkspace: z.ZodObject<{
41942
42244
  errorReason: string;
41943
42245
  enabled: boolean;
41944
42246
  };
42247
+ designSystemAccessModes: {
42248
+ errorMessage: string;
42249
+ errorReason: string;
42250
+ enabled: boolean;
42251
+ };
41945
42252
  } | undefined;
41946
42253
  stripeSubscriptionMainItemId?: string | undefined;
41947
42254
  currentPeriodStart?: string | undefined;
@@ -42012,7 +42319,7 @@ declare const DTOWorkspace: z.ZodObject<{
42012
42319
  subscription: {
42013
42320
  product: "free" | "team" | "company" | "enterprise";
42014
42321
  planPriceId: string;
42015
- planInterval: "daily" | "monthly" | "weekly" | "yearly";
42322
+ planInterval: "yearly" | "daily" | "monthly" | "weekly";
42016
42323
  seats: number;
42017
42324
  seatLimit: number;
42018
42325
  status?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
@@ -42138,6 +42445,11 @@ declare const DTOWorkspace: z.ZodObject<{
42138
42445
  errorReason: string;
42139
42446
  enabled: boolean;
42140
42447
  };
42448
+ designSystemAccessModes: {
42449
+ errorMessage: string;
42450
+ errorReason: string;
42451
+ enabled: boolean;
42452
+ };
42141
42453
  } | undefined;
42142
42454
  stripeSubscriptionMainItemId?: string | undefined;
42143
42455
  currentPeriodStart?: string | undefined;
@@ -42186,7 +42498,7 @@ declare const DTOWorkspace: z.ZodObject<{
42186
42498
  subscription: {
42187
42499
  product: "free" | "team" | "company" | "enterprise";
42188
42500
  planPriceId: string;
42189
- planInterval: "daily" | "monthly" | "weekly" | "yearly";
42501
+ planInterval: "yearly" | "daily" | "monthly" | "weekly";
42190
42502
  seats: number;
42191
42503
  seatLimit: number;
42192
42504
  status?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
@@ -42312,29 +42624,1741 @@ declare const DTOWorkspace: z.ZodObject<{
42312
42624
  errorReason: string;
42313
42625
  enabled: boolean;
42314
42626
  };
42627
+ designSystemAccessModes: {
42628
+ errorMessage: string;
42629
+ errorReason: string;
42630
+ enabled: boolean;
42631
+ };
42632
+ } | undefined;
42633
+ stripeSubscriptionMainItemId?: string | undefined;
42634
+ currentPeriodStart?: string | undefined;
42635
+ currentPeriodEnd?: string | undefined;
42636
+ subscriptionStatusUpdatedAt?: string | undefined;
42637
+ cancelAt?: string | null | undefined;
42638
+ billingType?: "Auto" | "Invoice" | undefined;
42639
+ daysUntilDue?: number | undefined;
42640
+ };
42641
+ npmRegistry?: {
42642
+ enabledScopes: string[];
42643
+ bypassProxy: boolean;
42644
+ registryType: "Custom" | "NPMJS" | "GitHub" | "AzureDevOps" | "Artifactory";
42645
+ authType: "Custom" | "None" | "Basic" | "Bearer";
42646
+ registryUrl: string;
42647
+ proxyUrl: string;
42648
+ customRegistryUrl?: string | undefined;
42649
+ accessToken?: string | undefined;
42650
+ username?: string | undefined;
42651
+ password?: string | undefined;
42652
+ } | undefined;
42653
+ }>;
42654
+ type DTOWorkspace = z.infer<typeof DTOWorkspace>;
42655
+ declare const DTOWorkspaceCreateInput: z.ZodObject<{
42656
+ name: z.ZodString;
42657
+ }, "strip", z.ZodTypeAny, {
42658
+ name: string;
42659
+ }, {
42660
+ name: string;
42661
+ }>;
42662
+ type DTOWorkspaceCreateInput = z.infer<typeof DTOWorkspaceCreateInput>;
42663
+ declare const DTOWorkspaceCreateResponse: z.ZodObject<{
42664
+ workspace: z.ZodObject<{
42665
+ id: z.ZodString;
42666
+ profile: z.ZodObject<{
42667
+ name: z.ZodString;
42668
+ handle: z.ZodString;
42669
+ color: z.ZodString;
42670
+ avatar: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<string, z.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
42671
+ billingDetails: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<{
42672
+ address?: {
42673
+ street1?: string | undefined;
42674
+ street2?: string | undefined;
42675
+ city?: string | undefined;
42676
+ postal?: string | undefined;
42677
+ country?: string | undefined;
42678
+ state?: string | undefined;
42679
+ } | undefined;
42680
+ email?: string | undefined;
42681
+ companyName?: string | undefined;
42682
+ companyId?: string | undefined;
42683
+ notes?: string | undefined;
42684
+ vat?: string | undefined;
42685
+ poNumber?: string | undefined;
42686
+ }, z.ZodTypeDef, {
42687
+ address?: {
42688
+ street1?: string | null | undefined;
42689
+ street2?: string | null | undefined;
42690
+ city?: string | null | undefined;
42691
+ postal?: string | null | undefined;
42692
+ country?: string | null | undefined;
42693
+ state?: string | null | undefined;
42694
+ } | null | undefined;
42695
+ email?: string | null | undefined;
42696
+ companyName?: string | null | undefined;
42697
+ companyId?: string | null | undefined;
42698
+ notes?: string | null | undefined;
42699
+ vat?: string | null | undefined;
42700
+ poNumber?: string | null | undefined;
42701
+ }>>>, {
42702
+ address?: {
42703
+ street1?: string | undefined;
42704
+ street2?: string | undefined;
42705
+ city?: string | undefined;
42706
+ postal?: string | undefined;
42707
+ country?: string | undefined;
42708
+ state?: string | undefined;
42709
+ } | undefined;
42710
+ email?: string | undefined;
42711
+ companyName?: string | undefined;
42712
+ companyId?: string | undefined;
42713
+ notes?: string | undefined;
42714
+ vat?: string | undefined;
42715
+ poNumber?: string | undefined;
42716
+ } | undefined, {
42717
+ address?: {
42718
+ street1?: string | null | undefined;
42719
+ street2?: string | null | undefined;
42720
+ city?: string | null | undefined;
42721
+ postal?: string | null | undefined;
42722
+ country?: string | null | undefined;
42723
+ state?: string | null | undefined;
42724
+ } | null | undefined;
42725
+ email?: string | null | undefined;
42726
+ companyName?: string | null | undefined;
42727
+ companyId?: string | null | undefined;
42728
+ notes?: string | null | undefined;
42729
+ vat?: string | null | undefined;
42730
+ poNumber?: string | null | undefined;
42731
+ } | null | undefined>;
42732
+ }, "strip", z.ZodTypeAny, {
42733
+ name: string;
42734
+ color: string;
42735
+ handle: string;
42736
+ avatar?: string | undefined;
42737
+ billingDetails?: {
42738
+ address?: {
42739
+ street1?: string | undefined;
42740
+ street2?: string | undefined;
42741
+ city?: string | undefined;
42742
+ postal?: string | undefined;
42743
+ country?: string | undefined;
42744
+ state?: string | undefined;
42745
+ } | undefined;
42746
+ email?: string | undefined;
42747
+ companyName?: string | undefined;
42748
+ companyId?: string | undefined;
42749
+ notes?: string | undefined;
42750
+ vat?: string | undefined;
42751
+ poNumber?: string | undefined;
42752
+ } | undefined;
42753
+ }, {
42754
+ name: string;
42755
+ color: string;
42756
+ handle: string;
42757
+ avatar?: string | null | undefined;
42758
+ billingDetails?: {
42759
+ address?: {
42760
+ street1?: string | null | undefined;
42761
+ street2?: string | null | undefined;
42762
+ city?: string | null | undefined;
42763
+ postal?: string | null | undefined;
42764
+ country?: string | null | undefined;
42765
+ state?: string | null | undefined;
42766
+ } | null | undefined;
42767
+ email?: string | null | undefined;
42768
+ companyName?: string | null | undefined;
42769
+ companyId?: string | null | undefined;
42770
+ notes?: string | null | undefined;
42771
+ vat?: string | null | undefined;
42772
+ poNumber?: string | null | undefined;
42773
+ } | null | undefined;
42774
+ }>;
42775
+ subscription: z.ZodObject<{
42776
+ stripeSubscriptionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
42777
+ stripeCustomerId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
42778
+ status: z.ZodOptional<z.ZodEnum<["active", "suspended", "gracePeriod", "cancelled", "downgraded_to_free"]>>;
42779
+ subscriptionStatus: z.ZodOptional<z.ZodEnum<["trialing", "active", "past_due", "canceled", "unpaid", "incomplete_expired", "incomplete", "unknown"]>>;
42780
+ internalStatus: z.ZodOptional<z.ZodEnum<["active", "suspended", "gracePeriod", "cancelled", "downgraded_to_free"]>>;
42781
+ product: z.ZodEnum<["free", "team", "company", "enterprise"]>;
42782
+ featuresSummary: z.ZodOptional<z.ZodObject<{
42783
+ designSystems: z.ZodObject<{
42784
+ max: z.ZodNumber;
42785
+ errorMessage: z.ZodString;
42786
+ errorReason: z.ZodString;
42787
+ }, "strip", z.ZodTypeAny, {
42788
+ max: number;
42789
+ errorMessage: string;
42790
+ errorReason: string;
42791
+ }, {
42792
+ max: number;
42793
+ errorMessage: string;
42794
+ errorReason: string;
42795
+ }>;
42796
+ designSystemSources: z.ZodObject<z.objectUtil.extendShape<{
42797
+ max: z.ZodNumber;
42798
+ errorMessage: z.ZodString;
42799
+ errorReason: z.ZodString;
42800
+ }, {
42801
+ noImportJobsErrorMessage: z.ZodString;
42802
+ noImportJobsErrorReason: z.ZodString;
42803
+ }>, "strip", z.ZodTypeAny, {
42804
+ max: number;
42805
+ errorMessage: string;
42806
+ errorReason: string;
42807
+ noImportJobsErrorMessage: string;
42808
+ noImportJobsErrorReason: string;
42809
+ }, {
42810
+ max: number;
42811
+ errorMessage: string;
42812
+ errorReason: string;
42813
+ noImportJobsErrorMessage: string;
42814
+ noImportJobsErrorReason: string;
42815
+ }>;
42816
+ designSystemVersions: z.ZodObject<{
42817
+ max: z.ZodNumber;
42818
+ errorMessage: z.ZodString;
42819
+ errorReason: z.ZodString;
42820
+ }, "strip", z.ZodTypeAny, {
42821
+ max: number;
42822
+ errorMessage: string;
42823
+ errorReason: string;
42824
+ }, {
42825
+ max: number;
42826
+ errorMessage: string;
42827
+ errorReason: string;
42828
+ }>;
42829
+ themes: z.ZodObject<{
42830
+ max: z.ZodNumber;
42831
+ errorMessage: z.ZodString;
42832
+ errorReason: z.ZodString;
42833
+ }, "strip", z.ZodTypeAny, {
42834
+ max: number;
42835
+ errorMessage: string;
42836
+ errorReason: string;
42837
+ }, {
42838
+ max: number;
42839
+ errorMessage: string;
42840
+ errorReason: string;
42841
+ }>;
42842
+ brands: z.ZodObject<{
42843
+ max: z.ZodNumber;
42844
+ errorMessage: z.ZodString;
42845
+ errorReason: z.ZodString;
42846
+ }, "strip", z.ZodTypeAny, {
42847
+ max: number;
42848
+ errorMessage: string;
42849
+ errorReason: string;
42850
+ }, {
42851
+ max: number;
42852
+ errorMessage: string;
42853
+ errorReason: string;
42854
+ }>;
42855
+ codegenSchedules: z.ZodObject<{
42856
+ max: z.ZodNumber;
42857
+ errorMessage: z.ZodString;
42858
+ errorReason: z.ZodString;
42859
+ }, "strip", z.ZodTypeAny, {
42860
+ max: number;
42861
+ errorMessage: string;
42862
+ errorReason: string;
42863
+ }, {
42864
+ max: number;
42865
+ errorMessage: string;
42866
+ errorReason: string;
42867
+ }>;
42868
+ publicDocumentation: z.ZodObject<{
42869
+ enabled: z.ZodBoolean;
42870
+ errorMessage: z.ZodString;
42871
+ errorReason: z.ZodString;
42872
+ }, "strip", z.ZodTypeAny, {
42873
+ errorMessage: string;
42874
+ errorReason: string;
42875
+ enabled: boolean;
42876
+ }, {
42877
+ errorMessage: string;
42878
+ errorReason: string;
42879
+ enabled: boolean;
42880
+ }>;
42881
+ customDocumentationUrl: z.ZodObject<{
42882
+ enabled: z.ZodBoolean;
42883
+ errorMessage: z.ZodString;
42884
+ errorReason: z.ZodString;
42885
+ }, "strip", z.ZodTypeAny, {
42886
+ errorMessage: string;
42887
+ errorReason: string;
42888
+ enabled: boolean;
42889
+ }, {
42890
+ errorMessage: string;
42891
+ errorReason: string;
42892
+ enabled: boolean;
42893
+ }>;
42894
+ customDocumentationViewButton: z.ZodObject<{
42895
+ enabled: z.ZodBoolean;
42896
+ errorMessage: z.ZodString;
42897
+ errorReason: z.ZodString;
42898
+ }, "strip", z.ZodTypeAny, {
42899
+ errorMessage: string;
42900
+ errorReason: string;
42901
+ enabled: boolean;
42902
+ }, {
42903
+ errorMessage: string;
42904
+ errorReason: string;
42905
+ enabled: boolean;
42906
+ }>;
42907
+ designSystemSourceAutoImport: z.ZodObject<{
42908
+ enabled: z.ZodBoolean;
42909
+ errorMessage: z.ZodString;
42910
+ errorReason: z.ZodString;
42911
+ }, "strip", z.ZodTypeAny, {
42912
+ errorMessage: string;
42913
+ errorReason: string;
42914
+ enabled: boolean;
42915
+ }, {
42916
+ errorMessage: string;
42917
+ errorReason: string;
42918
+ enabled: boolean;
42919
+ }>;
42920
+ designSystemSlug: z.ZodObject<{
42921
+ enabled: z.ZodBoolean;
42922
+ errorMessage: z.ZodString;
42923
+ errorReason: z.ZodString;
42924
+ }, "strip", z.ZodTypeAny, {
42925
+ errorMessage: string;
42926
+ errorReason: string;
42927
+ enabled: boolean;
42928
+ }, {
42929
+ errorMessage: string;
42930
+ errorReason: string;
42931
+ enabled: boolean;
42932
+ }>;
42933
+ ipWhitelisting: z.ZodObject<{
42934
+ enabled: z.ZodBoolean;
42935
+ errorMessage: z.ZodString;
42936
+ errorReason: z.ZodString;
42937
+ }, "strip", z.ZodTypeAny, {
42938
+ errorMessage: string;
42939
+ errorReason: string;
42940
+ enabled: boolean;
42941
+ }, {
42942
+ errorMessage: string;
42943
+ errorReason: string;
42944
+ enabled: boolean;
42945
+ }>;
42946
+ npmRegistry: z.ZodObject<{
42947
+ enabled: z.ZodBoolean;
42948
+ errorMessage: z.ZodString;
42949
+ errorReason: z.ZodString;
42950
+ }, "strip", z.ZodTypeAny, {
42951
+ errorMessage: string;
42952
+ errorReason: string;
42953
+ enabled: boolean;
42954
+ }, {
42955
+ errorMessage: string;
42956
+ errorReason: string;
42957
+ enabled: boolean;
42958
+ }>;
42959
+ sso: z.ZodObject<{
42960
+ enabled: z.ZodBoolean;
42961
+ errorMessage: z.ZodString;
42962
+ errorReason: z.ZodString;
42963
+ }, "strip", z.ZodTypeAny, {
42964
+ errorMessage: string;
42965
+ errorReason: string;
42966
+ enabled: boolean;
42967
+ }, {
42968
+ errorMessage: string;
42969
+ errorReason: string;
42970
+ enabled: boolean;
42971
+ }>;
42972
+ workspacePaidSeats: z.ZodObject<{
42973
+ max: z.ZodNumber;
42974
+ errorMessage: z.ZodString;
42975
+ errorReason: z.ZodString;
42976
+ }, "strip", z.ZodTypeAny, {
42977
+ max: number;
42978
+ errorMessage: string;
42979
+ errorReason: string;
42980
+ }, {
42981
+ max: number;
42982
+ errorMessage: string;
42983
+ errorReason: string;
42984
+ }>;
42985
+ workspaceViewers: z.ZodObject<{
42986
+ max: z.ZodNumber;
42987
+ errorMessage: z.ZodString;
42988
+ errorReason: z.ZodString;
42989
+ }, "strip", z.ZodTypeAny, {
42990
+ max: number;
42991
+ errorMessage: string;
42992
+ errorReason: string;
42993
+ }, {
42994
+ max: number;
42995
+ errorMessage: string;
42996
+ errorReason: string;
42997
+ }>;
42998
+ customDocumentationExporter: z.ZodObject<{
42999
+ enabled: z.ZodBoolean;
43000
+ errorMessage: z.ZodString;
43001
+ errorReason: z.ZodString;
43002
+ }, "strip", z.ZodTypeAny, {
43003
+ errorMessage: string;
43004
+ errorReason: string;
43005
+ enabled: boolean;
43006
+ }, {
43007
+ errorMessage: string;
43008
+ errorReason: string;
43009
+ enabled: boolean;
43010
+ }>;
43011
+ protectedPages: z.ZodObject<{
43012
+ enabled: z.ZodBoolean;
43013
+ errorMessage: z.ZodString;
43014
+ errorReason: z.ZodString;
43015
+ }, "strip", z.ZodTypeAny, {
43016
+ errorMessage: string;
43017
+ errorReason: string;
43018
+ enabled: boolean;
43019
+ }, {
43020
+ errorMessage: string;
43021
+ errorReason: string;
43022
+ enabled: boolean;
43023
+ }>;
43024
+ approvals: z.ZodObject<{
43025
+ enabled: z.ZodBoolean;
43026
+ errorMessage: z.ZodString;
43027
+ errorReason: z.ZodString;
43028
+ }, "strip", z.ZodTypeAny, {
43029
+ errorMessage: string;
43030
+ errorReason: string;
43031
+ enabled: boolean;
43032
+ }, {
43033
+ errorMessage: string;
43034
+ errorReason: string;
43035
+ enabled: boolean;
43036
+ }>;
43037
+ selectivePublishing: z.ZodObject<{
43038
+ enabled: z.ZodBoolean;
43039
+ errorMessage: z.ZodString;
43040
+ errorReason: z.ZodString;
43041
+ }, "strip", z.ZodTypeAny, {
43042
+ errorMessage: string;
43043
+ errorReason: string;
43044
+ enabled: boolean;
43045
+ }, {
43046
+ errorMessage: string;
43047
+ errorReason: string;
43048
+ enabled: boolean;
43049
+ }>;
43050
+ designSystemAccessModes: z.ZodObject<{
43051
+ enabled: z.ZodBoolean;
43052
+ errorMessage: z.ZodString;
43053
+ errorReason: z.ZodString;
43054
+ }, "strip", z.ZodTypeAny, {
43055
+ errorMessage: string;
43056
+ errorReason: string;
43057
+ enabled: boolean;
43058
+ }, {
43059
+ errorMessage: string;
43060
+ errorReason: string;
43061
+ enabled: boolean;
43062
+ }>;
43063
+ }, "strip", z.ZodTypeAny, {
43064
+ designSystems: {
43065
+ max: number;
43066
+ errorMessage: string;
43067
+ errorReason: string;
43068
+ };
43069
+ designSystemSources: {
43070
+ max: number;
43071
+ errorMessage: string;
43072
+ errorReason: string;
43073
+ noImportJobsErrorMessage: string;
43074
+ noImportJobsErrorReason: string;
43075
+ };
43076
+ designSystemVersions: {
43077
+ max: number;
43078
+ errorMessage: string;
43079
+ errorReason: string;
43080
+ };
43081
+ themes: {
43082
+ max: number;
43083
+ errorMessage: string;
43084
+ errorReason: string;
43085
+ };
43086
+ brands: {
43087
+ max: number;
43088
+ errorMessage: string;
43089
+ errorReason: string;
43090
+ };
43091
+ codegenSchedules: {
43092
+ max: number;
43093
+ errorMessage: string;
43094
+ errorReason: string;
43095
+ };
43096
+ publicDocumentation: {
43097
+ errorMessage: string;
43098
+ errorReason: string;
43099
+ enabled: boolean;
43100
+ };
43101
+ customDocumentationUrl: {
43102
+ errorMessage: string;
43103
+ errorReason: string;
43104
+ enabled: boolean;
43105
+ };
43106
+ customDocumentationViewButton: {
43107
+ errorMessage: string;
43108
+ errorReason: string;
43109
+ enabled: boolean;
43110
+ };
43111
+ designSystemSourceAutoImport: {
43112
+ errorMessage: string;
43113
+ errorReason: string;
43114
+ enabled: boolean;
43115
+ };
43116
+ designSystemSlug: {
43117
+ errorMessage: string;
43118
+ errorReason: string;
43119
+ enabled: boolean;
43120
+ };
43121
+ ipWhitelisting: {
43122
+ errorMessage: string;
43123
+ errorReason: string;
43124
+ enabled: boolean;
43125
+ };
43126
+ npmRegistry: {
43127
+ errorMessage: string;
43128
+ errorReason: string;
43129
+ enabled: boolean;
43130
+ };
43131
+ sso: {
43132
+ errorMessage: string;
43133
+ errorReason: string;
43134
+ enabled: boolean;
43135
+ };
43136
+ workspacePaidSeats: {
43137
+ max: number;
43138
+ errorMessage: string;
43139
+ errorReason: string;
43140
+ };
43141
+ workspaceViewers: {
43142
+ max: number;
43143
+ errorMessage: string;
43144
+ errorReason: string;
43145
+ };
43146
+ customDocumentationExporter: {
43147
+ errorMessage: string;
43148
+ errorReason: string;
43149
+ enabled: boolean;
43150
+ };
43151
+ protectedPages: {
43152
+ errorMessage: string;
43153
+ errorReason: string;
43154
+ enabled: boolean;
43155
+ };
43156
+ approvals: {
43157
+ errorMessage: string;
43158
+ errorReason: string;
43159
+ enabled: boolean;
43160
+ };
43161
+ selectivePublishing: {
43162
+ errorMessage: string;
43163
+ errorReason: string;
43164
+ enabled: boolean;
43165
+ };
43166
+ designSystemAccessModes: {
43167
+ errorMessage: string;
43168
+ errorReason: string;
43169
+ enabled: boolean;
43170
+ };
43171
+ }, {
43172
+ designSystems: {
43173
+ max: number;
43174
+ errorMessage: string;
43175
+ errorReason: string;
43176
+ };
43177
+ designSystemSources: {
43178
+ max: number;
43179
+ errorMessage: string;
43180
+ errorReason: string;
43181
+ noImportJobsErrorMessage: string;
43182
+ noImportJobsErrorReason: string;
43183
+ };
43184
+ designSystemVersions: {
43185
+ max: number;
43186
+ errorMessage: string;
43187
+ errorReason: string;
43188
+ };
43189
+ themes: {
43190
+ max: number;
43191
+ errorMessage: string;
43192
+ errorReason: string;
43193
+ };
43194
+ brands: {
43195
+ max: number;
43196
+ errorMessage: string;
43197
+ errorReason: string;
43198
+ };
43199
+ codegenSchedules: {
43200
+ max: number;
43201
+ errorMessage: string;
43202
+ errorReason: string;
43203
+ };
43204
+ publicDocumentation: {
43205
+ errorMessage: string;
43206
+ errorReason: string;
43207
+ enabled: boolean;
43208
+ };
43209
+ customDocumentationUrl: {
43210
+ errorMessage: string;
43211
+ errorReason: string;
43212
+ enabled: boolean;
43213
+ };
43214
+ customDocumentationViewButton: {
43215
+ errorMessage: string;
43216
+ errorReason: string;
43217
+ enabled: boolean;
43218
+ };
43219
+ designSystemSourceAutoImport: {
43220
+ errorMessage: string;
43221
+ errorReason: string;
43222
+ enabled: boolean;
43223
+ };
43224
+ designSystemSlug: {
43225
+ errorMessage: string;
43226
+ errorReason: string;
43227
+ enabled: boolean;
43228
+ };
43229
+ ipWhitelisting: {
43230
+ errorMessage: string;
43231
+ errorReason: string;
43232
+ enabled: boolean;
43233
+ };
43234
+ npmRegistry: {
43235
+ errorMessage: string;
43236
+ errorReason: string;
43237
+ enabled: boolean;
43238
+ };
43239
+ sso: {
43240
+ errorMessage: string;
43241
+ errorReason: string;
43242
+ enabled: boolean;
43243
+ };
43244
+ workspacePaidSeats: {
43245
+ max: number;
43246
+ errorMessage: string;
43247
+ errorReason: string;
43248
+ };
43249
+ workspaceViewers: {
43250
+ max: number;
43251
+ errorMessage: string;
43252
+ errorReason: string;
43253
+ };
43254
+ customDocumentationExporter: {
43255
+ errorMessage: string;
43256
+ errorReason: string;
43257
+ enabled: boolean;
43258
+ };
43259
+ protectedPages: {
43260
+ errorMessage: string;
43261
+ errorReason: string;
43262
+ enabled: boolean;
43263
+ };
43264
+ approvals: {
43265
+ errorMessage: string;
43266
+ errorReason: string;
43267
+ enabled: boolean;
43268
+ };
43269
+ selectivePublishing: {
43270
+ errorMessage: string;
43271
+ errorReason: string;
43272
+ enabled: boolean;
43273
+ };
43274
+ designSystemAccessModes: {
43275
+ errorMessage: string;
43276
+ errorReason: string;
43277
+ enabled: boolean;
43278
+ };
43279
+ }>>;
43280
+ stripeProductDescription: z.ZodOptional<z.ZodString>;
43281
+ stripeProductFeatures: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
43282
+ stripeProductAdditionalFeatures: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
43283
+ stripeSubscriptionMainItemId: z.ZodOptional<z.ZodString>;
43284
+ planPriceId: z.ZodString;
43285
+ planInterval: z.ZodEnum<["daily", "monthly", "weekly", "yearly"]>;
43286
+ isPricePerCreator: z.ZodOptional<z.ZodBoolean>;
43287
+ legacyVersion: z.ZodOptional<z.ZodString>;
43288
+ seats: z.ZodNumber;
43289
+ seatLimit: z.ZodNumber;
43290
+ currentPeriodStart: z.ZodOptional<z.ZodString>;
43291
+ currentPeriodEnd: z.ZodOptional<z.ZodString>;
43292
+ subscriptionStatusUpdatedAt: z.ZodOptional<z.ZodString>;
43293
+ cancelAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
43294
+ card: z.ZodOptional<z.ZodObject<{
43295
+ cardId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
43296
+ last4: z.ZodOptional<z.ZodNullable<z.ZodString>>;
43297
+ expiryMonth: z.ZodOptional<z.ZodNullable<z.ZodString>>;
43298
+ expiryYear: z.ZodOptional<z.ZodNullable<z.ZodString>>;
43299
+ brand: z.ZodOptional<z.ZodNullable<z.ZodString>>;
43300
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
43301
+ }, "strip", z.ZodTypeAny, {
43302
+ cardId?: string | null | undefined;
43303
+ last4?: string | null | undefined;
43304
+ expiryMonth?: string | null | undefined;
43305
+ expiryYear?: string | null | undefined;
43306
+ brand?: string | null | undefined;
43307
+ name?: string | null | undefined;
43308
+ }, {
43309
+ cardId?: string | null | undefined;
43310
+ last4?: string | null | undefined;
43311
+ expiryMonth?: string | null | undefined;
43312
+ expiryYear?: string | null | undefined;
43313
+ brand?: string | null | undefined;
43314
+ name?: string | null | undefined;
43315
+ }>>;
43316
+ amount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
43317
+ isTrial: z.ZodOptional<z.ZodBoolean>;
43318
+ billingType: z.ZodOptional<z.ZodEnum<["Auto", "Invoice"]>>;
43319
+ daysUntilDue: z.ZodOptional<z.ZodNumber>;
43320
+ }, "strip", z.ZodTypeAny, {
43321
+ product: "free" | "team" | "company" | "enterprise";
43322
+ planPriceId: string;
43323
+ planInterval: "yearly" | "daily" | "monthly" | "weekly";
43324
+ seats: number;
43325
+ seatLimit: number;
43326
+ status?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
43327
+ card?: {
43328
+ cardId?: string | null | undefined;
43329
+ last4?: string | null | undefined;
43330
+ expiryMonth?: string | null | undefined;
43331
+ expiryYear?: string | null | undefined;
43332
+ brand?: string | null | undefined;
43333
+ name?: string | null | undefined;
43334
+ } | undefined;
43335
+ amount?: number | null | undefined;
43336
+ stripeProductDescription?: string | undefined;
43337
+ isPricePerCreator?: boolean | undefined;
43338
+ isTrial?: boolean | undefined;
43339
+ legacyVersion?: string | undefined;
43340
+ stripeProductFeatures?: string[] | undefined;
43341
+ stripeProductAdditionalFeatures?: string[] | undefined;
43342
+ stripeSubscriptionId?: string | null | undefined;
43343
+ stripeCustomerId?: string | null | undefined;
43344
+ subscriptionStatus?: "unknown" | "active" | "trialing" | "past_due" | "canceled" | "unpaid" | "incomplete_expired" | "incomplete" | undefined;
43345
+ internalStatus?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
43346
+ featuresSummary?: {
43347
+ designSystems: {
43348
+ max: number;
43349
+ errorMessage: string;
43350
+ errorReason: string;
43351
+ };
43352
+ designSystemSources: {
43353
+ max: number;
43354
+ errorMessage: string;
43355
+ errorReason: string;
43356
+ noImportJobsErrorMessage: string;
43357
+ noImportJobsErrorReason: string;
43358
+ };
43359
+ designSystemVersions: {
43360
+ max: number;
43361
+ errorMessage: string;
43362
+ errorReason: string;
43363
+ };
43364
+ themes: {
43365
+ max: number;
43366
+ errorMessage: string;
43367
+ errorReason: string;
43368
+ };
43369
+ brands: {
43370
+ max: number;
43371
+ errorMessage: string;
43372
+ errorReason: string;
43373
+ };
43374
+ codegenSchedules: {
43375
+ max: number;
43376
+ errorMessage: string;
43377
+ errorReason: string;
43378
+ };
43379
+ publicDocumentation: {
43380
+ errorMessage: string;
43381
+ errorReason: string;
43382
+ enabled: boolean;
43383
+ };
43384
+ customDocumentationUrl: {
43385
+ errorMessage: string;
43386
+ errorReason: string;
43387
+ enabled: boolean;
43388
+ };
43389
+ customDocumentationViewButton: {
43390
+ errorMessage: string;
43391
+ errorReason: string;
43392
+ enabled: boolean;
43393
+ };
43394
+ designSystemSourceAutoImport: {
43395
+ errorMessage: string;
43396
+ errorReason: string;
43397
+ enabled: boolean;
43398
+ };
43399
+ designSystemSlug: {
43400
+ errorMessage: string;
43401
+ errorReason: string;
43402
+ enabled: boolean;
43403
+ };
43404
+ ipWhitelisting: {
43405
+ errorMessage: string;
43406
+ errorReason: string;
43407
+ enabled: boolean;
43408
+ };
43409
+ npmRegistry: {
43410
+ errorMessage: string;
43411
+ errorReason: string;
43412
+ enabled: boolean;
43413
+ };
43414
+ sso: {
43415
+ errorMessage: string;
43416
+ errorReason: string;
43417
+ enabled: boolean;
43418
+ };
43419
+ workspacePaidSeats: {
43420
+ max: number;
43421
+ errorMessage: string;
43422
+ errorReason: string;
43423
+ };
43424
+ workspaceViewers: {
43425
+ max: number;
43426
+ errorMessage: string;
43427
+ errorReason: string;
43428
+ };
43429
+ customDocumentationExporter: {
43430
+ errorMessage: string;
43431
+ errorReason: string;
43432
+ enabled: boolean;
43433
+ };
43434
+ protectedPages: {
43435
+ errorMessage: string;
43436
+ errorReason: string;
43437
+ enabled: boolean;
43438
+ };
43439
+ approvals: {
43440
+ errorMessage: string;
43441
+ errorReason: string;
43442
+ enabled: boolean;
43443
+ };
43444
+ selectivePublishing: {
43445
+ errorMessage: string;
43446
+ errorReason: string;
43447
+ enabled: boolean;
43448
+ };
43449
+ designSystemAccessModes: {
43450
+ errorMessage: string;
43451
+ errorReason: string;
43452
+ enabled: boolean;
43453
+ };
43454
+ } | undefined;
43455
+ stripeSubscriptionMainItemId?: string | undefined;
43456
+ currentPeriodStart?: string | undefined;
43457
+ currentPeriodEnd?: string | undefined;
43458
+ subscriptionStatusUpdatedAt?: string | undefined;
43459
+ cancelAt?: string | null | undefined;
43460
+ billingType?: "Auto" | "Invoice" | undefined;
43461
+ daysUntilDue?: number | undefined;
43462
+ }, {
43463
+ product: "free" | "team" | "company" | "enterprise";
43464
+ planPriceId: string;
43465
+ planInterval: "yearly" | "daily" | "monthly" | "weekly";
43466
+ seats: number;
43467
+ seatLimit: number;
43468
+ status?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
43469
+ card?: {
43470
+ cardId?: string | null | undefined;
43471
+ last4?: string | null | undefined;
43472
+ expiryMonth?: string | null | undefined;
43473
+ expiryYear?: string | null | undefined;
43474
+ brand?: string | null | undefined;
43475
+ name?: string | null | undefined;
43476
+ } | undefined;
43477
+ amount?: number | null | undefined;
43478
+ stripeProductDescription?: string | undefined;
43479
+ isPricePerCreator?: boolean | undefined;
43480
+ isTrial?: boolean | undefined;
43481
+ legacyVersion?: string | undefined;
43482
+ stripeProductFeatures?: string[] | undefined;
43483
+ stripeProductAdditionalFeatures?: string[] | undefined;
43484
+ stripeSubscriptionId?: string | null | undefined;
43485
+ stripeCustomerId?: string | null | undefined;
43486
+ subscriptionStatus?: "unknown" | "active" | "trialing" | "past_due" | "canceled" | "unpaid" | "incomplete_expired" | "incomplete" | undefined;
43487
+ internalStatus?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
43488
+ featuresSummary?: {
43489
+ designSystems: {
43490
+ max: number;
43491
+ errorMessage: string;
43492
+ errorReason: string;
43493
+ };
43494
+ designSystemSources: {
43495
+ max: number;
43496
+ errorMessage: string;
43497
+ errorReason: string;
43498
+ noImportJobsErrorMessage: string;
43499
+ noImportJobsErrorReason: string;
43500
+ };
43501
+ designSystemVersions: {
43502
+ max: number;
43503
+ errorMessage: string;
43504
+ errorReason: string;
43505
+ };
43506
+ themes: {
43507
+ max: number;
43508
+ errorMessage: string;
43509
+ errorReason: string;
43510
+ };
43511
+ brands: {
43512
+ max: number;
43513
+ errorMessage: string;
43514
+ errorReason: string;
43515
+ };
43516
+ codegenSchedules: {
43517
+ max: number;
43518
+ errorMessage: string;
43519
+ errorReason: string;
43520
+ };
43521
+ publicDocumentation: {
43522
+ errorMessage: string;
43523
+ errorReason: string;
43524
+ enabled: boolean;
43525
+ };
43526
+ customDocumentationUrl: {
43527
+ errorMessage: string;
43528
+ errorReason: string;
43529
+ enabled: boolean;
43530
+ };
43531
+ customDocumentationViewButton: {
43532
+ errorMessage: string;
43533
+ errorReason: string;
43534
+ enabled: boolean;
43535
+ };
43536
+ designSystemSourceAutoImport: {
43537
+ errorMessage: string;
43538
+ errorReason: string;
43539
+ enabled: boolean;
43540
+ };
43541
+ designSystemSlug: {
43542
+ errorMessage: string;
43543
+ errorReason: string;
43544
+ enabled: boolean;
43545
+ };
43546
+ ipWhitelisting: {
43547
+ errorMessage: string;
43548
+ errorReason: string;
43549
+ enabled: boolean;
43550
+ };
43551
+ npmRegistry: {
43552
+ errorMessage: string;
43553
+ errorReason: string;
43554
+ enabled: boolean;
43555
+ };
43556
+ sso: {
43557
+ errorMessage: string;
43558
+ errorReason: string;
43559
+ enabled: boolean;
43560
+ };
43561
+ workspacePaidSeats: {
43562
+ max: number;
43563
+ errorMessage: string;
43564
+ errorReason: string;
43565
+ };
43566
+ workspaceViewers: {
43567
+ max: number;
43568
+ errorMessage: string;
43569
+ errorReason: string;
43570
+ };
43571
+ customDocumentationExporter: {
43572
+ errorMessage: string;
43573
+ errorReason: string;
43574
+ enabled: boolean;
43575
+ };
43576
+ protectedPages: {
43577
+ errorMessage: string;
43578
+ errorReason: string;
43579
+ enabled: boolean;
43580
+ };
43581
+ approvals: {
43582
+ errorMessage: string;
43583
+ errorReason: string;
43584
+ enabled: boolean;
43585
+ };
43586
+ selectivePublishing: {
43587
+ errorMessage: string;
43588
+ errorReason: string;
43589
+ enabled: boolean;
43590
+ };
43591
+ designSystemAccessModes: {
43592
+ errorMessage: string;
43593
+ errorReason: string;
43594
+ enabled: boolean;
43595
+ };
43596
+ } | undefined;
43597
+ stripeSubscriptionMainItemId?: string | undefined;
43598
+ currentPeriodStart?: string | undefined;
43599
+ currentPeriodEnd?: string | undefined;
43600
+ subscriptionStatusUpdatedAt?: string | undefined;
43601
+ cancelAt?: string | null | undefined;
43602
+ billingType?: "Auto" | "Invoice" | undefined;
43603
+ daysUntilDue?: number | undefined;
43604
+ }>;
43605
+ npmRegistry: z.ZodOptional<z.ZodObject<{
43606
+ registryType: z.ZodEnum<["NPMJS", "GitHub", "AzureDevOps", "Artifactory", "Custom"]>;
43607
+ registryUrl: z.ZodString;
43608
+ customRegistryUrl: z.ZodOptional<z.ZodString>;
43609
+ proxyUrl: z.ZodString;
43610
+ authType: z.ZodEnum<["Basic", "Bearer", "None", "Custom"]>;
43611
+ accessToken: z.ZodOptional<z.ZodLiteral<string>>;
43612
+ username: z.ZodOptional<z.ZodString>;
43613
+ password: z.ZodOptional<z.ZodLiteral<string>>;
43614
+ enabledScopes: z.ZodArray<z.ZodString, "many">;
43615
+ bypassProxy: z.ZodBoolean;
43616
+ }, "strip", z.ZodTypeAny, {
43617
+ enabledScopes: string[];
43618
+ bypassProxy: boolean;
43619
+ registryType: "Custom" | "NPMJS" | "GitHub" | "AzureDevOps" | "Artifactory";
43620
+ authType: "Custom" | "None" | "Basic" | "Bearer";
43621
+ registryUrl: string;
43622
+ proxyUrl: string;
43623
+ customRegistryUrl?: string | undefined;
43624
+ accessToken?: string | undefined;
43625
+ username?: string | undefined;
43626
+ password?: string | undefined;
43627
+ }, {
43628
+ enabledScopes: string[];
43629
+ bypassProxy: boolean;
43630
+ registryType: "Custom" | "NPMJS" | "GitHub" | "AzureDevOps" | "Artifactory";
43631
+ authType: "Custom" | "None" | "Basic" | "Bearer";
43632
+ registryUrl: string;
43633
+ proxyUrl: string;
43634
+ customRegistryUrl?: string | undefined;
43635
+ accessToken?: string | undefined;
43636
+ username?: string | undefined;
43637
+ password?: string | undefined;
43638
+ }>>;
43639
+ }, "strip", z.ZodTypeAny, {
43640
+ id: string;
43641
+ profile: {
43642
+ name: string;
43643
+ color: string;
43644
+ handle: string;
43645
+ avatar?: string | undefined;
43646
+ billingDetails?: {
43647
+ address?: {
43648
+ street1?: string | undefined;
43649
+ street2?: string | undefined;
43650
+ city?: string | undefined;
43651
+ postal?: string | undefined;
43652
+ country?: string | undefined;
43653
+ state?: string | undefined;
43654
+ } | undefined;
43655
+ email?: string | undefined;
43656
+ companyName?: string | undefined;
43657
+ companyId?: string | undefined;
43658
+ notes?: string | undefined;
43659
+ vat?: string | undefined;
43660
+ poNumber?: string | undefined;
43661
+ } | undefined;
43662
+ };
43663
+ subscription: {
43664
+ product: "free" | "team" | "company" | "enterprise";
43665
+ planPriceId: string;
43666
+ planInterval: "yearly" | "daily" | "monthly" | "weekly";
43667
+ seats: number;
43668
+ seatLimit: number;
43669
+ status?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
43670
+ card?: {
43671
+ cardId?: string | null | undefined;
43672
+ last4?: string | null | undefined;
43673
+ expiryMonth?: string | null | undefined;
43674
+ expiryYear?: string | null | undefined;
43675
+ brand?: string | null | undefined;
43676
+ name?: string | null | undefined;
43677
+ } | undefined;
43678
+ amount?: number | null | undefined;
43679
+ stripeProductDescription?: string | undefined;
43680
+ isPricePerCreator?: boolean | undefined;
43681
+ isTrial?: boolean | undefined;
43682
+ legacyVersion?: string | undefined;
43683
+ stripeProductFeatures?: string[] | undefined;
43684
+ stripeProductAdditionalFeatures?: string[] | undefined;
43685
+ stripeSubscriptionId?: string | null | undefined;
43686
+ stripeCustomerId?: string | null | undefined;
43687
+ subscriptionStatus?: "unknown" | "active" | "trialing" | "past_due" | "canceled" | "unpaid" | "incomplete_expired" | "incomplete" | undefined;
43688
+ internalStatus?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
43689
+ featuresSummary?: {
43690
+ designSystems: {
43691
+ max: number;
43692
+ errorMessage: string;
43693
+ errorReason: string;
43694
+ };
43695
+ designSystemSources: {
43696
+ max: number;
43697
+ errorMessage: string;
43698
+ errorReason: string;
43699
+ noImportJobsErrorMessage: string;
43700
+ noImportJobsErrorReason: string;
43701
+ };
43702
+ designSystemVersions: {
43703
+ max: number;
43704
+ errorMessage: string;
43705
+ errorReason: string;
43706
+ };
43707
+ themes: {
43708
+ max: number;
43709
+ errorMessage: string;
43710
+ errorReason: string;
43711
+ };
43712
+ brands: {
43713
+ max: number;
43714
+ errorMessage: string;
43715
+ errorReason: string;
43716
+ };
43717
+ codegenSchedules: {
43718
+ max: number;
43719
+ errorMessage: string;
43720
+ errorReason: string;
43721
+ };
43722
+ publicDocumentation: {
43723
+ errorMessage: string;
43724
+ errorReason: string;
43725
+ enabled: boolean;
43726
+ };
43727
+ customDocumentationUrl: {
43728
+ errorMessage: string;
43729
+ errorReason: string;
43730
+ enabled: boolean;
43731
+ };
43732
+ customDocumentationViewButton: {
43733
+ errorMessage: string;
43734
+ errorReason: string;
43735
+ enabled: boolean;
43736
+ };
43737
+ designSystemSourceAutoImport: {
43738
+ errorMessage: string;
43739
+ errorReason: string;
43740
+ enabled: boolean;
43741
+ };
43742
+ designSystemSlug: {
43743
+ errorMessage: string;
43744
+ errorReason: string;
43745
+ enabled: boolean;
43746
+ };
43747
+ ipWhitelisting: {
43748
+ errorMessage: string;
43749
+ errorReason: string;
43750
+ enabled: boolean;
43751
+ };
43752
+ npmRegistry: {
43753
+ errorMessage: string;
43754
+ errorReason: string;
43755
+ enabled: boolean;
43756
+ };
43757
+ sso: {
43758
+ errorMessage: string;
43759
+ errorReason: string;
43760
+ enabled: boolean;
43761
+ };
43762
+ workspacePaidSeats: {
43763
+ max: number;
43764
+ errorMessage: string;
43765
+ errorReason: string;
43766
+ };
43767
+ workspaceViewers: {
43768
+ max: number;
43769
+ errorMessage: string;
43770
+ errorReason: string;
43771
+ };
43772
+ customDocumentationExporter: {
43773
+ errorMessage: string;
43774
+ errorReason: string;
43775
+ enabled: boolean;
43776
+ };
43777
+ protectedPages: {
43778
+ errorMessage: string;
43779
+ errorReason: string;
43780
+ enabled: boolean;
43781
+ };
43782
+ approvals: {
43783
+ errorMessage: string;
43784
+ errorReason: string;
43785
+ enabled: boolean;
43786
+ };
43787
+ selectivePublishing: {
43788
+ errorMessage: string;
43789
+ errorReason: string;
43790
+ enabled: boolean;
43791
+ };
43792
+ designSystemAccessModes: {
43793
+ errorMessage: string;
43794
+ errorReason: string;
43795
+ enabled: boolean;
43796
+ };
43797
+ } | undefined;
43798
+ stripeSubscriptionMainItemId?: string | undefined;
43799
+ currentPeriodStart?: string | undefined;
43800
+ currentPeriodEnd?: string | undefined;
43801
+ subscriptionStatusUpdatedAt?: string | undefined;
43802
+ cancelAt?: string | null | undefined;
43803
+ billingType?: "Auto" | "Invoice" | undefined;
43804
+ daysUntilDue?: number | undefined;
43805
+ };
43806
+ npmRegistry?: {
43807
+ enabledScopes: string[];
43808
+ bypassProxy: boolean;
43809
+ registryType: "Custom" | "NPMJS" | "GitHub" | "AzureDevOps" | "Artifactory";
43810
+ authType: "Custom" | "None" | "Basic" | "Bearer";
43811
+ registryUrl: string;
43812
+ proxyUrl: string;
43813
+ customRegistryUrl?: string | undefined;
43814
+ accessToken?: string | undefined;
43815
+ username?: string | undefined;
43816
+ password?: string | undefined;
43817
+ } | undefined;
43818
+ }, {
43819
+ id: string;
43820
+ profile: {
43821
+ name: string;
43822
+ color: string;
43823
+ handle: string;
43824
+ avatar?: string | null | undefined;
43825
+ billingDetails?: {
43826
+ address?: {
43827
+ street1?: string | null | undefined;
43828
+ street2?: string | null | undefined;
43829
+ city?: string | null | undefined;
43830
+ postal?: string | null | undefined;
43831
+ country?: string | null | undefined;
43832
+ state?: string | null | undefined;
43833
+ } | null | undefined;
43834
+ email?: string | null | undefined;
43835
+ companyName?: string | null | undefined;
43836
+ companyId?: string | null | undefined;
43837
+ notes?: string | null | undefined;
43838
+ vat?: string | null | undefined;
43839
+ poNumber?: string | null | undefined;
43840
+ } | null | undefined;
43841
+ };
43842
+ subscription: {
43843
+ product: "free" | "team" | "company" | "enterprise";
43844
+ planPriceId: string;
43845
+ planInterval: "yearly" | "daily" | "monthly" | "weekly";
43846
+ seats: number;
43847
+ seatLimit: number;
43848
+ status?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
43849
+ card?: {
43850
+ cardId?: string | null | undefined;
43851
+ last4?: string | null | undefined;
43852
+ expiryMonth?: string | null | undefined;
43853
+ expiryYear?: string | null | undefined;
43854
+ brand?: string | null | undefined;
43855
+ name?: string | null | undefined;
43856
+ } | undefined;
43857
+ amount?: number | null | undefined;
43858
+ stripeProductDescription?: string | undefined;
43859
+ isPricePerCreator?: boolean | undefined;
43860
+ isTrial?: boolean | undefined;
43861
+ legacyVersion?: string | undefined;
43862
+ stripeProductFeatures?: string[] | undefined;
43863
+ stripeProductAdditionalFeatures?: string[] | undefined;
43864
+ stripeSubscriptionId?: string | null | undefined;
43865
+ stripeCustomerId?: string | null | undefined;
43866
+ subscriptionStatus?: "unknown" | "active" | "trialing" | "past_due" | "canceled" | "unpaid" | "incomplete_expired" | "incomplete" | undefined;
43867
+ internalStatus?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
43868
+ featuresSummary?: {
43869
+ designSystems: {
43870
+ max: number;
43871
+ errorMessage: string;
43872
+ errorReason: string;
43873
+ };
43874
+ designSystemSources: {
43875
+ max: number;
43876
+ errorMessage: string;
43877
+ errorReason: string;
43878
+ noImportJobsErrorMessage: string;
43879
+ noImportJobsErrorReason: string;
43880
+ };
43881
+ designSystemVersions: {
43882
+ max: number;
43883
+ errorMessage: string;
43884
+ errorReason: string;
43885
+ };
43886
+ themes: {
43887
+ max: number;
43888
+ errorMessage: string;
43889
+ errorReason: string;
43890
+ };
43891
+ brands: {
43892
+ max: number;
43893
+ errorMessage: string;
43894
+ errorReason: string;
43895
+ };
43896
+ codegenSchedules: {
43897
+ max: number;
43898
+ errorMessage: string;
43899
+ errorReason: string;
43900
+ };
43901
+ publicDocumentation: {
43902
+ errorMessage: string;
43903
+ errorReason: string;
43904
+ enabled: boolean;
43905
+ };
43906
+ customDocumentationUrl: {
43907
+ errorMessage: string;
43908
+ errorReason: string;
43909
+ enabled: boolean;
43910
+ };
43911
+ customDocumentationViewButton: {
43912
+ errorMessage: string;
43913
+ errorReason: string;
43914
+ enabled: boolean;
43915
+ };
43916
+ designSystemSourceAutoImport: {
43917
+ errorMessage: string;
43918
+ errorReason: string;
43919
+ enabled: boolean;
43920
+ };
43921
+ designSystemSlug: {
43922
+ errorMessage: string;
43923
+ errorReason: string;
43924
+ enabled: boolean;
43925
+ };
43926
+ ipWhitelisting: {
43927
+ errorMessage: string;
43928
+ errorReason: string;
43929
+ enabled: boolean;
43930
+ };
43931
+ npmRegistry: {
43932
+ errorMessage: string;
43933
+ errorReason: string;
43934
+ enabled: boolean;
43935
+ };
43936
+ sso: {
43937
+ errorMessage: string;
43938
+ errorReason: string;
43939
+ enabled: boolean;
43940
+ };
43941
+ workspacePaidSeats: {
43942
+ max: number;
43943
+ errorMessage: string;
43944
+ errorReason: string;
43945
+ };
43946
+ workspaceViewers: {
43947
+ max: number;
43948
+ errorMessage: string;
43949
+ errorReason: string;
43950
+ };
43951
+ customDocumentationExporter: {
43952
+ errorMessage: string;
43953
+ errorReason: string;
43954
+ enabled: boolean;
43955
+ };
43956
+ protectedPages: {
43957
+ errorMessage: string;
43958
+ errorReason: string;
43959
+ enabled: boolean;
43960
+ };
43961
+ approvals: {
43962
+ errorMessage: string;
43963
+ errorReason: string;
43964
+ enabled: boolean;
43965
+ };
43966
+ selectivePublishing: {
43967
+ errorMessage: string;
43968
+ errorReason: string;
43969
+ enabled: boolean;
43970
+ };
43971
+ designSystemAccessModes: {
43972
+ errorMessage: string;
43973
+ errorReason: string;
43974
+ enabled: boolean;
43975
+ };
43976
+ } | undefined;
43977
+ stripeSubscriptionMainItemId?: string | undefined;
43978
+ currentPeriodStart?: string | undefined;
43979
+ currentPeriodEnd?: string | undefined;
43980
+ subscriptionStatusUpdatedAt?: string | undefined;
43981
+ cancelAt?: string | null | undefined;
43982
+ billingType?: "Auto" | "Invoice" | undefined;
43983
+ daysUntilDue?: number | undefined;
43984
+ };
43985
+ npmRegistry?: {
43986
+ enabledScopes: string[];
43987
+ bypassProxy: boolean;
43988
+ registryType: "Custom" | "NPMJS" | "GitHub" | "AzureDevOps" | "Artifactory";
43989
+ authType: "Custom" | "None" | "Basic" | "Bearer";
43990
+ registryUrl: string;
43991
+ proxyUrl: string;
43992
+ customRegistryUrl?: string | undefined;
43993
+ accessToken?: string | undefined;
43994
+ username?: string | undefined;
43995
+ password?: string | undefined;
43996
+ } | undefined;
43997
+ }>;
43998
+ }, "strip", z.ZodTypeAny, {
43999
+ workspace: {
44000
+ id: string;
44001
+ profile: {
44002
+ name: string;
44003
+ color: string;
44004
+ handle: string;
44005
+ avatar?: string | undefined;
44006
+ billingDetails?: {
44007
+ address?: {
44008
+ street1?: string | undefined;
44009
+ street2?: string | undefined;
44010
+ city?: string | undefined;
44011
+ postal?: string | undefined;
44012
+ country?: string | undefined;
44013
+ state?: string | undefined;
44014
+ } | undefined;
44015
+ email?: string | undefined;
44016
+ companyName?: string | undefined;
44017
+ companyId?: string | undefined;
44018
+ notes?: string | undefined;
44019
+ vat?: string | undefined;
44020
+ poNumber?: string | undefined;
44021
+ } | undefined;
44022
+ };
44023
+ subscription: {
44024
+ product: "free" | "team" | "company" | "enterprise";
44025
+ planPriceId: string;
44026
+ planInterval: "yearly" | "daily" | "monthly" | "weekly";
44027
+ seats: number;
44028
+ seatLimit: number;
44029
+ status?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
44030
+ card?: {
44031
+ cardId?: string | null | undefined;
44032
+ last4?: string | null | undefined;
44033
+ expiryMonth?: string | null | undefined;
44034
+ expiryYear?: string | null | undefined;
44035
+ brand?: string | null | undefined;
44036
+ name?: string | null | undefined;
44037
+ } | undefined;
44038
+ amount?: number | null | undefined;
44039
+ stripeProductDescription?: string | undefined;
44040
+ isPricePerCreator?: boolean | undefined;
44041
+ isTrial?: boolean | undefined;
44042
+ legacyVersion?: string | undefined;
44043
+ stripeProductFeatures?: string[] | undefined;
44044
+ stripeProductAdditionalFeatures?: string[] | undefined;
44045
+ stripeSubscriptionId?: string | null | undefined;
44046
+ stripeCustomerId?: string | null | undefined;
44047
+ subscriptionStatus?: "unknown" | "active" | "trialing" | "past_due" | "canceled" | "unpaid" | "incomplete_expired" | "incomplete" | undefined;
44048
+ internalStatus?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
44049
+ featuresSummary?: {
44050
+ designSystems: {
44051
+ max: number;
44052
+ errorMessage: string;
44053
+ errorReason: string;
44054
+ };
44055
+ designSystemSources: {
44056
+ max: number;
44057
+ errorMessage: string;
44058
+ errorReason: string;
44059
+ noImportJobsErrorMessage: string;
44060
+ noImportJobsErrorReason: string;
44061
+ };
44062
+ designSystemVersions: {
44063
+ max: number;
44064
+ errorMessage: string;
44065
+ errorReason: string;
44066
+ };
44067
+ themes: {
44068
+ max: number;
44069
+ errorMessage: string;
44070
+ errorReason: string;
44071
+ };
44072
+ brands: {
44073
+ max: number;
44074
+ errorMessage: string;
44075
+ errorReason: string;
44076
+ };
44077
+ codegenSchedules: {
44078
+ max: number;
44079
+ errorMessage: string;
44080
+ errorReason: string;
44081
+ };
44082
+ publicDocumentation: {
44083
+ errorMessage: string;
44084
+ errorReason: string;
44085
+ enabled: boolean;
44086
+ };
44087
+ customDocumentationUrl: {
44088
+ errorMessage: string;
44089
+ errorReason: string;
44090
+ enabled: boolean;
44091
+ };
44092
+ customDocumentationViewButton: {
44093
+ errorMessage: string;
44094
+ errorReason: string;
44095
+ enabled: boolean;
44096
+ };
44097
+ designSystemSourceAutoImport: {
44098
+ errorMessage: string;
44099
+ errorReason: string;
44100
+ enabled: boolean;
44101
+ };
44102
+ designSystemSlug: {
44103
+ errorMessage: string;
44104
+ errorReason: string;
44105
+ enabled: boolean;
44106
+ };
44107
+ ipWhitelisting: {
44108
+ errorMessage: string;
44109
+ errorReason: string;
44110
+ enabled: boolean;
44111
+ };
44112
+ npmRegistry: {
44113
+ errorMessage: string;
44114
+ errorReason: string;
44115
+ enabled: boolean;
44116
+ };
44117
+ sso: {
44118
+ errorMessage: string;
44119
+ errorReason: string;
44120
+ enabled: boolean;
44121
+ };
44122
+ workspacePaidSeats: {
44123
+ max: number;
44124
+ errorMessage: string;
44125
+ errorReason: string;
44126
+ };
44127
+ workspaceViewers: {
44128
+ max: number;
44129
+ errorMessage: string;
44130
+ errorReason: string;
44131
+ };
44132
+ customDocumentationExporter: {
44133
+ errorMessage: string;
44134
+ errorReason: string;
44135
+ enabled: boolean;
44136
+ };
44137
+ protectedPages: {
44138
+ errorMessage: string;
44139
+ errorReason: string;
44140
+ enabled: boolean;
44141
+ };
44142
+ approvals: {
44143
+ errorMessage: string;
44144
+ errorReason: string;
44145
+ enabled: boolean;
44146
+ };
44147
+ selectivePublishing: {
44148
+ errorMessage: string;
44149
+ errorReason: string;
44150
+ enabled: boolean;
44151
+ };
44152
+ designSystemAccessModes: {
44153
+ errorMessage: string;
44154
+ errorReason: string;
44155
+ enabled: boolean;
44156
+ };
44157
+ } | undefined;
44158
+ stripeSubscriptionMainItemId?: string | undefined;
44159
+ currentPeriodStart?: string | undefined;
44160
+ currentPeriodEnd?: string | undefined;
44161
+ subscriptionStatusUpdatedAt?: string | undefined;
44162
+ cancelAt?: string | null | undefined;
44163
+ billingType?: "Auto" | "Invoice" | undefined;
44164
+ daysUntilDue?: number | undefined;
44165
+ };
44166
+ npmRegistry?: {
44167
+ enabledScopes: string[];
44168
+ bypassProxy: boolean;
44169
+ registryType: "Custom" | "NPMJS" | "GitHub" | "AzureDevOps" | "Artifactory";
44170
+ authType: "Custom" | "None" | "Basic" | "Bearer";
44171
+ registryUrl: string;
44172
+ proxyUrl: string;
44173
+ customRegistryUrl?: string | undefined;
44174
+ accessToken?: string | undefined;
44175
+ username?: string | undefined;
44176
+ password?: string | undefined;
44177
+ } | undefined;
44178
+ };
44179
+ }, {
44180
+ workspace: {
44181
+ id: string;
44182
+ profile: {
44183
+ name: string;
44184
+ color: string;
44185
+ handle: string;
44186
+ avatar?: string | null | undefined;
44187
+ billingDetails?: {
44188
+ address?: {
44189
+ street1?: string | null | undefined;
44190
+ street2?: string | null | undefined;
44191
+ city?: string | null | undefined;
44192
+ postal?: string | null | undefined;
44193
+ country?: string | null | undefined;
44194
+ state?: string | null | undefined;
44195
+ } | null | undefined;
44196
+ email?: string | null | undefined;
44197
+ companyName?: string | null | undefined;
44198
+ companyId?: string | null | undefined;
44199
+ notes?: string | null | undefined;
44200
+ vat?: string | null | undefined;
44201
+ poNumber?: string | null | undefined;
44202
+ } | null | undefined;
44203
+ };
44204
+ subscription: {
44205
+ product: "free" | "team" | "company" | "enterprise";
44206
+ planPriceId: string;
44207
+ planInterval: "yearly" | "daily" | "monthly" | "weekly";
44208
+ seats: number;
44209
+ seatLimit: number;
44210
+ status?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
44211
+ card?: {
44212
+ cardId?: string | null | undefined;
44213
+ last4?: string | null | undefined;
44214
+ expiryMonth?: string | null | undefined;
44215
+ expiryYear?: string | null | undefined;
44216
+ brand?: string | null | undefined;
44217
+ name?: string | null | undefined;
44218
+ } | undefined;
44219
+ amount?: number | null | undefined;
44220
+ stripeProductDescription?: string | undefined;
44221
+ isPricePerCreator?: boolean | undefined;
44222
+ isTrial?: boolean | undefined;
44223
+ legacyVersion?: string | undefined;
44224
+ stripeProductFeatures?: string[] | undefined;
44225
+ stripeProductAdditionalFeatures?: string[] | undefined;
44226
+ stripeSubscriptionId?: string | null | undefined;
44227
+ stripeCustomerId?: string | null | undefined;
44228
+ subscriptionStatus?: "unknown" | "active" | "trialing" | "past_due" | "canceled" | "unpaid" | "incomplete_expired" | "incomplete" | undefined;
44229
+ internalStatus?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
44230
+ featuresSummary?: {
44231
+ designSystems: {
44232
+ max: number;
44233
+ errorMessage: string;
44234
+ errorReason: string;
44235
+ };
44236
+ designSystemSources: {
44237
+ max: number;
44238
+ errorMessage: string;
44239
+ errorReason: string;
44240
+ noImportJobsErrorMessage: string;
44241
+ noImportJobsErrorReason: string;
44242
+ };
44243
+ designSystemVersions: {
44244
+ max: number;
44245
+ errorMessage: string;
44246
+ errorReason: string;
44247
+ };
44248
+ themes: {
44249
+ max: number;
44250
+ errorMessage: string;
44251
+ errorReason: string;
44252
+ };
44253
+ brands: {
44254
+ max: number;
44255
+ errorMessage: string;
44256
+ errorReason: string;
44257
+ };
44258
+ codegenSchedules: {
44259
+ max: number;
44260
+ errorMessage: string;
44261
+ errorReason: string;
44262
+ };
44263
+ publicDocumentation: {
44264
+ errorMessage: string;
44265
+ errorReason: string;
44266
+ enabled: boolean;
44267
+ };
44268
+ customDocumentationUrl: {
44269
+ errorMessage: string;
44270
+ errorReason: string;
44271
+ enabled: boolean;
44272
+ };
44273
+ customDocumentationViewButton: {
44274
+ errorMessage: string;
44275
+ errorReason: string;
44276
+ enabled: boolean;
44277
+ };
44278
+ designSystemSourceAutoImport: {
44279
+ errorMessage: string;
44280
+ errorReason: string;
44281
+ enabled: boolean;
44282
+ };
44283
+ designSystemSlug: {
44284
+ errorMessage: string;
44285
+ errorReason: string;
44286
+ enabled: boolean;
44287
+ };
44288
+ ipWhitelisting: {
44289
+ errorMessage: string;
44290
+ errorReason: string;
44291
+ enabled: boolean;
44292
+ };
44293
+ npmRegistry: {
44294
+ errorMessage: string;
44295
+ errorReason: string;
44296
+ enabled: boolean;
44297
+ };
44298
+ sso: {
44299
+ errorMessage: string;
44300
+ errorReason: string;
44301
+ enabled: boolean;
44302
+ };
44303
+ workspacePaidSeats: {
44304
+ max: number;
44305
+ errorMessage: string;
44306
+ errorReason: string;
44307
+ };
44308
+ workspaceViewers: {
44309
+ max: number;
44310
+ errorMessage: string;
44311
+ errorReason: string;
44312
+ };
44313
+ customDocumentationExporter: {
44314
+ errorMessage: string;
44315
+ errorReason: string;
44316
+ enabled: boolean;
44317
+ };
44318
+ protectedPages: {
44319
+ errorMessage: string;
44320
+ errorReason: string;
44321
+ enabled: boolean;
44322
+ };
44323
+ approvals: {
44324
+ errorMessage: string;
44325
+ errorReason: string;
44326
+ enabled: boolean;
44327
+ };
44328
+ selectivePublishing: {
44329
+ errorMessage: string;
44330
+ errorReason: string;
44331
+ enabled: boolean;
44332
+ };
44333
+ designSystemAccessModes: {
44334
+ errorMessage: string;
44335
+ errorReason: string;
44336
+ enabled: boolean;
44337
+ };
44338
+ } | undefined;
44339
+ stripeSubscriptionMainItemId?: string | undefined;
44340
+ currentPeriodStart?: string | undefined;
44341
+ currentPeriodEnd?: string | undefined;
44342
+ subscriptionStatusUpdatedAt?: string | undefined;
44343
+ cancelAt?: string | null | undefined;
44344
+ billingType?: "Auto" | "Invoice" | undefined;
44345
+ daysUntilDue?: number | undefined;
44346
+ };
44347
+ npmRegistry?: {
44348
+ enabledScopes: string[];
44349
+ bypassProxy: boolean;
44350
+ registryType: "Custom" | "NPMJS" | "GitHub" | "AzureDevOps" | "Artifactory";
44351
+ authType: "Custom" | "None" | "Basic" | "Bearer";
44352
+ registryUrl: string;
44353
+ proxyUrl: string;
44354
+ customRegistryUrl?: string | undefined;
44355
+ accessToken?: string | undefined;
44356
+ username?: string | undefined;
44357
+ password?: string | undefined;
42315
44358
  } | undefined;
42316
- stripeSubscriptionMainItemId?: string | undefined;
42317
- currentPeriodStart?: string | undefined;
42318
- currentPeriodEnd?: string | undefined;
42319
- subscriptionStatusUpdatedAt?: string | undefined;
42320
- cancelAt?: string | null | undefined;
42321
- billingType?: "Auto" | "Invoice" | undefined;
42322
- daysUntilDue?: number | undefined;
42323
44359
  };
42324
- npmRegistry?: {
42325
- enabledScopes: string[];
42326
- bypassProxy: boolean;
42327
- registryType: "Custom" | "NPMJS" | "GitHub" | "AzureDevOps" | "Artifactory";
42328
- authType: "Custom" | "None" | "Basic" | "Bearer";
42329
- registryUrl: string;
42330
- proxyUrl: string;
42331
- customRegistryUrl?: string | undefined;
42332
- accessToken?: string | undefined;
42333
- username?: string | undefined;
42334
- password?: string | undefined;
42335
- } | undefined;
42336
44360
  }>;
42337
- type DTOWorkspace = z.infer<typeof DTOWorkspace>;
44361
+ type DTOWorkspaceCreateResponse = z.infer<typeof DTOWorkspaceCreateResponse>;
42338
44362
 
42339
44363
  declare function elementGroupsToDocumentationGroupDTOV2(groups: ElementGroup[], pages: (DocumentationPageV1 | DocumentationPageV2)[]): DTODocumentationGroupV2[];
42340
44364
  declare function elementGroupsToDocumentationGroupFixedConfigurationDTOV2(groups: ElementGroup[], pages: (DocumentationPageV1 | DocumentationPageV2)[]): DTODocumentationGroupV2[];
@@ -42395,6 +44419,295 @@ declare function gitBranchToDto(branch: GitBranch): DTOGitBranch;
42395
44419
  declare function integrationToDto(integration: ExtendedIntegration): DTOIntegration;
42396
44420
  declare function integrationCredentialToDto(credential: IntegrationCredentials): DTOIntegrationCredentials;
42397
44421
 
44422
+ type RequestExecutorConfig = {
44423
+ host: string;
44424
+ accessToken?: string;
44425
+ };
44426
+ type RequestExecutorJSONRequest = Omit<RequestInit, "body"> & {
44427
+ body?: object;
44428
+ };
44429
+ declare class RequestExecutor {
44430
+ private readonly testServerConfig;
44431
+ constructor(testServerConfig: RequestExecutorConfig);
44432
+ json<O, I>(path: string, schema: ZodSchema<O, ZodTypeDef, I>, requestInit?: RequestExecutorJSONRequest): Promise<O>;
44433
+ private fullUrl;
44434
+ }
44435
+
44436
+ declare class DesignSystemsEndpoint {
44437
+ private readonly requestExecutor;
44438
+ constructor(requestExecutor: RequestExecutor);
44439
+ create(body: DTODesignSystemCreateInput): Promise<{
44440
+ designSystem: {
44441
+ id: string;
44442
+ meta: {
44443
+ name: string;
44444
+ description?: string | undefined;
44445
+ };
44446
+ createdAt: Date;
44447
+ updatedAt: Date;
44448
+ sources: any[];
44449
+ workspaceId: string;
44450
+ docExporterId: string;
44451
+ docSlug: string;
44452
+ docSlugDeprecated: string;
44453
+ isPublic: boolean;
44454
+ isMultibrand: boolean;
44455
+ basePrefixes: string[];
44456
+ isApprovalFeatureEnabled: boolean;
44457
+ approvalRequiredForPublishing: boolean;
44458
+ accessMode: "Open" | "InviteOnly";
44459
+ membersGenerated: boolean;
44460
+ docUserSlug?: string | undefined;
44461
+ docViewUrl?: string | undefined;
44462
+ designSystemSwitcher?: {
44463
+ isEnabled: boolean;
44464
+ designSystemIds: string[];
44465
+ } | undefined;
44466
+ role?: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Guest" | "Contributor" | undefined;
44467
+ };
44468
+ }>;
44469
+ list(wsId: string): Promise<{
44470
+ designSystems: {
44471
+ id: string;
44472
+ meta: {
44473
+ name: string;
44474
+ description?: string | undefined;
44475
+ };
44476
+ createdAt: Date;
44477
+ updatedAt: Date;
44478
+ sources: any[];
44479
+ workspaceId: string;
44480
+ docExporterId: string;
44481
+ docSlug: string;
44482
+ docSlugDeprecated: string;
44483
+ isPublic: boolean;
44484
+ isMultibrand: boolean;
44485
+ basePrefixes: string[];
44486
+ isApprovalFeatureEnabled: boolean;
44487
+ approvalRequiredForPublishing: boolean;
44488
+ accessMode: "Open" | "InviteOnly";
44489
+ membersGenerated: boolean;
44490
+ docUserSlug?: string | undefined;
44491
+ docViewUrl?: string | undefined;
44492
+ designSystemSwitcher?: {
44493
+ isEnabled: boolean;
44494
+ designSystemIds: string[];
44495
+ } | undefined;
44496
+ role?: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Guest" | "Contributor" | undefined;
44497
+ }[];
44498
+ }>;
44499
+ get(dsId: string): Promise<any>;
44500
+ delete(dsId: string): Promise<any>;
44501
+ editMembers(dsId: string, body: DTODesignSystemMembersUpdatePayload): Promise<{
44502
+ ok: true;
44503
+ }>;
44504
+ }
44505
+
44506
+ declare class UsersEndpoint {
44507
+ private readonly requestExecutor;
44508
+ constructor(requestExecutor: RequestExecutor);
44509
+ getMe(): Promise<{
44510
+ user: {
44511
+ id: string;
44512
+ profile: {
44513
+ name: string;
44514
+ avatar?: string | undefined;
44515
+ nickname?: string | undefined;
44516
+ };
44517
+ email: string;
44518
+ };
44519
+ }>;
44520
+ }
44521
+
44522
+ declare class WorkspacesEndpoint {
44523
+ private readonly requestExecutor;
44524
+ constructor(requestExecutor: RequestExecutor);
44525
+ create(body: DTOWorkspaceCreateInput): Promise<{
44526
+ workspace: {
44527
+ id: string;
44528
+ profile: {
44529
+ name: string;
44530
+ color: string;
44531
+ handle: string;
44532
+ avatar?: string | undefined;
44533
+ billingDetails?: {
44534
+ address?: {
44535
+ street1?: string | undefined;
44536
+ street2?: string | undefined;
44537
+ city?: string | undefined;
44538
+ postal?: string | undefined;
44539
+ country?: string | undefined;
44540
+ state?: string | undefined;
44541
+ } | undefined;
44542
+ email?: string | undefined;
44543
+ companyName?: string | undefined;
44544
+ companyId?: string | undefined;
44545
+ notes?: string | undefined;
44546
+ vat?: string | undefined;
44547
+ poNumber?: string | undefined;
44548
+ } | undefined;
44549
+ };
44550
+ subscription: {
44551
+ product: "free" | "team" | "company" | "enterprise";
44552
+ planPriceId: string;
44553
+ planInterval: "yearly" | "daily" | "monthly" | "weekly";
44554
+ seats: number;
44555
+ seatLimit: number;
44556
+ status?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
44557
+ card?: {
44558
+ cardId?: string | null | undefined;
44559
+ last4?: string | null | undefined;
44560
+ expiryMonth?: string | null | undefined;
44561
+ expiryYear?: string | null | undefined;
44562
+ brand?: string | null | undefined;
44563
+ name?: string | null | undefined;
44564
+ } | undefined;
44565
+ amount?: number | null | undefined;
44566
+ stripeProductDescription?: string | undefined;
44567
+ isPricePerCreator?: boolean | undefined;
44568
+ isTrial?: boolean | undefined;
44569
+ legacyVersion?: string | undefined;
44570
+ stripeProductFeatures?: string[] | undefined;
44571
+ stripeProductAdditionalFeatures?: string[] | undefined;
44572
+ stripeSubscriptionId?: string | null | undefined;
44573
+ stripeCustomerId?: string | null | undefined;
44574
+ subscriptionStatus?: "unknown" | "active" | "trialing" | "past_due" | "canceled" | "unpaid" | "incomplete_expired" | "incomplete" | undefined;
44575
+ internalStatus?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
44576
+ featuresSummary?: {
44577
+ designSystems: {
44578
+ max: number;
44579
+ errorMessage: string;
44580
+ errorReason: string;
44581
+ };
44582
+ designSystemSources: {
44583
+ max: number;
44584
+ errorMessage: string;
44585
+ errorReason: string;
44586
+ noImportJobsErrorMessage: string;
44587
+ noImportJobsErrorReason: string;
44588
+ };
44589
+ designSystemVersions: {
44590
+ max: number;
44591
+ errorMessage: string;
44592
+ errorReason: string;
44593
+ };
44594
+ themes: {
44595
+ max: number;
44596
+ errorMessage: string;
44597
+ errorReason: string;
44598
+ };
44599
+ brands: {
44600
+ max: number;
44601
+ errorMessage: string;
44602
+ errorReason: string;
44603
+ };
44604
+ codegenSchedules: {
44605
+ max: number;
44606
+ errorMessage: string;
44607
+ errorReason: string;
44608
+ };
44609
+ publicDocumentation: {
44610
+ errorMessage: string;
44611
+ errorReason: string;
44612
+ enabled: boolean;
44613
+ };
44614
+ customDocumentationUrl: {
44615
+ errorMessage: string;
44616
+ errorReason: string;
44617
+ enabled: boolean;
44618
+ };
44619
+ customDocumentationViewButton: {
44620
+ errorMessage: string;
44621
+ errorReason: string;
44622
+ enabled: boolean;
44623
+ };
44624
+ designSystemSourceAutoImport: {
44625
+ errorMessage: string;
44626
+ errorReason: string;
44627
+ enabled: boolean;
44628
+ };
44629
+ designSystemSlug: {
44630
+ errorMessage: string;
44631
+ errorReason: string;
44632
+ enabled: boolean;
44633
+ };
44634
+ ipWhitelisting: {
44635
+ errorMessage: string;
44636
+ errorReason: string;
44637
+ enabled: boolean;
44638
+ };
44639
+ npmRegistry: {
44640
+ errorMessage: string;
44641
+ errorReason: string;
44642
+ enabled: boolean;
44643
+ };
44644
+ sso: {
44645
+ errorMessage: string;
44646
+ errorReason: string;
44647
+ enabled: boolean;
44648
+ };
44649
+ workspacePaidSeats: {
44650
+ max: number;
44651
+ errorMessage: string;
44652
+ errorReason: string;
44653
+ };
44654
+ workspaceViewers: {
44655
+ max: number;
44656
+ errorMessage: string;
44657
+ errorReason: string;
44658
+ };
44659
+ customDocumentationExporter: {
44660
+ errorMessage: string;
44661
+ errorReason: string;
44662
+ enabled: boolean;
44663
+ };
44664
+ protectedPages: {
44665
+ errorMessage: string;
44666
+ errorReason: string;
44667
+ enabled: boolean;
44668
+ };
44669
+ approvals: {
44670
+ errorMessage: string;
44671
+ errorReason: string;
44672
+ enabled: boolean;
44673
+ };
44674
+ selectivePublishing: {
44675
+ errorMessage: string;
44676
+ errorReason: string;
44677
+ enabled: boolean;
44678
+ };
44679
+ designSystemAccessModes: {
44680
+ errorMessage: string;
44681
+ errorReason: string;
44682
+ enabled: boolean;
44683
+ };
44684
+ } | undefined;
44685
+ stripeSubscriptionMainItemId?: string | undefined;
44686
+ currentPeriodStart?: string | undefined;
44687
+ currentPeriodEnd?: string | undefined;
44688
+ subscriptionStatusUpdatedAt?: string | undefined;
44689
+ cancelAt?: string | null | undefined;
44690
+ billingType?: "Auto" | "Invoice" | undefined;
44691
+ daysUntilDue?: number | undefined;
44692
+ };
44693
+ npmRegistry?: {
44694
+ enabledScopes: string[];
44695
+ bypassProxy: boolean;
44696
+ registryType: "Custom" | "NPMJS" | "GitHub" | "AzureDevOps" | "Artifactory";
44697
+ authType: "Custom" | "None" | "Basic" | "Bearer";
44698
+ registryUrl: string;
44699
+ proxyUrl: string;
44700
+ customRegistryUrl?: string | undefined;
44701
+ accessToken?: string | undefined;
44702
+ username?: string | undefined;
44703
+ password?: string | undefined;
44704
+ } | undefined;
44705
+ };
44706
+ }>;
44707
+ delete(workspaceId: string): Promise<any>;
44708
+ invite(workspaceId: string, body: DTOWorkspaceInvitationsListInput): Promise<any>;
44709
+ }
44710
+
42398
44711
  declare const DTOCreateBrandInput: z.ZodObject<{
42399
44712
  persistentId: z.ZodString;
42400
44713
  meta: z.ZodObject<{
@@ -44799,6 +47112,25 @@ declare const DTOWorkspaceIntegrationGetGitObjectsInput: z.ZodObject<{
44799
47112
  }>;
44800
47113
  type DTOWorkspaceIntegrationGetGitObjectsInput = z.infer<typeof DTOWorkspaceIntegrationGetGitObjectsInput>;
44801
47114
 
47115
+ type RequestExecutorErrorType = "ServerError" | "ResponseParsingError";
47116
+ declare class RequestExecutorError extends Error {
47117
+ static serverError(endpoint: string, status: number, bodyText: string): RequestExecutorError;
47118
+ static responseParsingError(endpoint: string, cause: Error): RequestExecutorError;
47119
+ readonly type: RequestExecutorErrorType;
47120
+ private constructor();
47121
+ }
47122
+
47123
+ type SupernovaApiClientConfig = {
47124
+ host: string;
47125
+ accessToken: string;
47126
+ };
47127
+ declare class SupernovaApiClient {
47128
+ readonly users: UsersEndpoint;
47129
+ readonly workspaces: WorkspacesEndpoint;
47130
+ readonly designSystems: DesignSystemsEndpoint;
47131
+ constructor(config: SupernovaApiClientConfig);
47132
+ }
47133
+
44802
47134
  declare function generateHash(input: object | string, debug?: boolean): string;
44803
47135
 
44804
47136
  declare const DocumentationHierarchySettings: z.ZodObject<{
@@ -47349,4 +49681,4 @@ declare class FrontendVersionRoomYDoc {
47349
49681
 
47350
49682
  declare function generatePageContentHash(content: DocumentationPageEditorModel, definitions: PageBlockDefinition[], debug?: boolean): string;
47351
49683
 
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 };
49684
+ 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, DTOUserGetResponse, DTOUserNotificationSettingsResponse, DTOUserProfile, DTOUserProfileUpdatePayload, DTOUserProfileUpdateResponse, DTOUserWorkspaceMembership, DTOUserWorkspaceMembershipsResponse, DTOWorkspace, DTOWorkspaceCreateInput, DTOWorkspaceCreateResponse, DTOWorkspaceIntegrationGetGitObjectsInput, DTOWorkspaceIntegrationOauthInput, DTOWorkspaceIntegrationPATInput, DTOWorkspaceInvitationInput, DTOWorkspaceInvitationsListInput, DTOWorkspaceRole, DesignSystemsEndpoint, DocumentationHierarchySettings, DocumentationPageEditorModel, DocumentationPageV1DTO, FrontendVersionRoomYDoc, type ListItemNode, type ListNode, ListTreeBuilder, NpmRegistryInput, ObjectMeta, PageBlockEditorModel, PageSectionEditorModel, type ProsemirrorBlockItem, type ProsemirrorMark, type ProsemirrorNode, RequestExecutor, type RequestExecutorConfig, RequestExecutorError, type RequestExecutorErrorType, type RequestExecutorJSONRequest, SupernovaApiClient, UsersEndpoint, VersionRoomBaseYDoc, VersionSQSPayload, WorkspaceConfigurationPayload, WorkspacesEndpoint, 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 };