@supernova-studio/client 0.23.0 → 0.25.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -3132,7 +3132,7 @@ declare const DocumentationPageV1DTO: z.ZodObject<{
3132
3132
  };
3133
3133
  } | null | undefined>;
3134
3134
  blocks: z.ZodArray<z.ZodType<_supernova_studio_model.PageBlockV1, z.ZodTypeDef, {
3135
- type: "Tabs" | "Image" | "Component" | "Theme" | "Text" | "Token" | "Code" | "Table" | "Divider" | "Embed" | "Quote" | "Callout" | "Link" | "ComponentGroup" | "Heading" | "UnorderedList" | "OrderedList" | "Shortcuts" | "FigmaEmbed" | "YoutubeEmbed" | "StorybookEmbed" | "TokenGroup" | "TokenList" | "ComponentSandbox" | "Custom" | "FigmaFrames" | "ComponentAssets" | "RenderCode" | "TabItem" | "TableRow" | "TableCell";
3135
+ type: "Tabs" | "Custom" | "Image" | "Component" | "Theme" | "Text" | "Token" | "Code" | "Table" | "Divider" | "Embed" | "Quote" | "Callout" | "Link" | "ComponentGroup" | "Heading" | "UnorderedList" | "OrderedList" | "Shortcuts" | "FigmaEmbed" | "YoutubeEmbed" | "StorybookEmbed" | "TokenGroup" | "TokenList" | "ComponentSandbox" | "FigmaFrames" | "ComponentAssets" | "RenderCode" | "TabItem" | "TableRow" | "TableCell";
3136
3136
  persistentId: string;
3137
3137
  designObjectId?: string | null | undefined;
3138
3138
  designObjectIds?: string[] | null | undefined;
@@ -3410,7 +3410,7 @@ declare const DocumentationPageV1DTO: z.ZodObject<{
3410
3410
  shortPersistentId: string;
3411
3411
  title: string;
3412
3412
  blocks: ({
3413
- type: "Tabs" | "Image" | "Component" | "Theme" | "Text" | "Token" | "Code" | "Table" | "Divider" | "Embed" | "Quote" | "Callout" | "Link" | "ComponentGroup" | "Heading" | "UnorderedList" | "OrderedList" | "Shortcuts" | "FigmaEmbed" | "YoutubeEmbed" | "StorybookEmbed" | "TokenGroup" | "TokenList" | "ComponentSandbox" | "Custom" | "FigmaFrames" | "ComponentAssets" | "RenderCode" | "TabItem" | "TableRow" | "TableCell";
3413
+ type: "Tabs" | "Custom" | "Image" | "Component" | "Theme" | "Text" | "Token" | "Code" | "Table" | "Divider" | "Embed" | "Quote" | "Callout" | "Link" | "ComponentGroup" | "Heading" | "UnorderedList" | "OrderedList" | "Shortcuts" | "FigmaEmbed" | "YoutubeEmbed" | "StorybookEmbed" | "TokenGroup" | "TokenList" | "ComponentSandbox" | "FigmaFrames" | "ComponentAssets" | "RenderCode" | "TabItem" | "TableRow" | "TableCell";
3414
3414
  persistentId: string;
3415
3415
  designObjectId?: string | null | undefined;
3416
3416
  designObjectIds?: string[] | null | undefined;
@@ -4815,7 +4815,7 @@ declare const DTOFigmaNode: z.ZodObject<{
4815
4815
  };
4816
4816
  }>;
4817
4817
  type DTOFigmaNode = z.infer<typeof DTOFigmaNode>;
4818
- declare const DTOFigmaNodeCreateInput: z.ZodObject<{
4818
+ declare const DTOFigmaNodeRenderInput: z.ZodObject<{
4819
4819
  sourceId: z.ZodString;
4820
4820
  figmaFileNodeId: z.ZodString;
4821
4821
  }, "strip", z.ZodTypeAny, {
@@ -4825,9 +4825,9 @@ declare const DTOFigmaNodeCreateInput: z.ZodObject<{
4825
4825
  sourceId: string;
4826
4826
  figmaFileNodeId: string;
4827
4827
  }>;
4828
- type DTOFigmaNodeCreateInput = z.infer<typeof DTOFigmaNodeCreateInput>;
4828
+ type DTOFigmaNodeRenderInput = z.infer<typeof DTOFigmaNodeRenderInput>;
4829
4829
 
4830
- declare const DTOFigmaNodeActionOutput: z.ZodObject<{
4830
+ declare const DTOFigmaNodeRenderActionOutput: z.ZodObject<{
4831
4831
  type: z.ZodLiteral<"FigmaNodeRender">;
4832
4832
  figmaNodes: z.ZodArray<z.ZodObject<{
4833
4833
  id: z.ZodString;
@@ -4980,8 +4980,8 @@ declare const DTOFigmaNodeActionOutput: z.ZodObject<{
4980
4980
  };
4981
4981
  }[];
4982
4982
  }>;
4983
- type DTOFigmaNodeActionOutput = z.infer<typeof DTOFigmaNodeActionOutput>;
4984
- declare const DTOFigmaNodeActionInput: z.ZodObject<{
4983
+ type DTOFigmaNodeRenderActionOutput = z.infer<typeof DTOFigmaNodeRenderActionOutput>;
4984
+ declare const DTOFigmaNodeRenderActionInput: z.ZodObject<{
4985
4985
  type: z.ZodLiteral<"FigmaNodeRender">;
4986
4986
  input: z.ZodArray<z.ZodObject<{
4987
4987
  sourceId: z.ZodString;
@@ -5006,7 +5006,7 @@ declare const DTOFigmaNodeActionInput: z.ZodObject<{
5006
5006
  figmaFileNodeId: string;
5007
5007
  }[];
5008
5008
  }>;
5009
- type DTOFigmaNodeActionInput = z.infer<typeof DTOFigmaNodeActionInput>;
5009
+ type DTOFigmaNodeRenderActionInput = z.infer<typeof DTOFigmaNodeRenderActionInput>;
5010
5010
 
5011
5011
  declare const DTOElementActionOutput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5012
5012
  type: z.ZodLiteral<"DocumentationPageCreate">;
@@ -6966,7 +6966,7 @@ declare const DTOElementActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6966
6966
  }>]>;
6967
6967
  type DTOElementActionInput = z.infer<typeof DTOElementActionInput>;
6968
6968
 
6969
- declare const DTOElementGetQuerySchema: z.ZodObject<{
6969
+ declare const DTOElementsGetQuerySchema: z.ZodObject<{
6970
6970
  types: z.ZodEffects<z.ZodString, "FigmaNode"[], string>;
6971
6971
  }, "strip", z.ZodTypeAny, {
6972
6972
  types: "FigmaNode"[];
@@ -7124,10 +7124,4528 @@ declare const DTOElementsGetOutput: z.ZodObject<{
7124
7124
  }[] | undefined;
7125
7125
  }>;
7126
7126
  type DTOElementsGetOutput = z.infer<typeof DTOElementsGetOutput>;
7127
- type DTOElementGetQueryRaw = z.input<typeof DTOElementGetQuerySchema>;
7128
- type DTOElementGetQueryParsed = z.output<typeof DTOElementGetQuerySchema>;
7129
- declare const DTOElementGetTypeFilter: z.ZodEnum<["FigmaNode"]>;
7130
- type DTOElementGetTypeFilter = z.infer<typeof DTOElementGetTypeFilter>;
7127
+ type DTOElementsGetQueryRaw = z.input<typeof DTOElementsGetQuerySchema>;
7128
+ type DTOElementsGetQueryParsed = z.output<typeof DTOElementsGetQuerySchema>;
7129
+ declare const DTOElementsGetTypeFilter: z.ZodEnum<["FigmaNode"]>;
7130
+ type DTOElementsGetTypeFilter = z.infer<typeof DTOElementsGetTypeFilter>;
7131
+
7132
+ declare const DTOWorkspaceRole: z.ZodEnum<["Owner", "Admin", "Creator", "Viewer", "Billing"]>;
7133
+ type DTOWorkspaceRole = z.infer<typeof DTOWorkspaceRole>;
7134
+ declare const DTOUserWorkspaceMembership: z.ZodObject<{
7135
+ workspace: z.ZodObject<{
7136
+ id: z.ZodString;
7137
+ profile: z.ZodObject<{
7138
+ name: z.ZodString;
7139
+ handle: z.ZodString;
7140
+ color: z.ZodString;
7141
+ avatar: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<string, z.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
7142
+ billingDetails: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<{
7143
+ address?: {
7144
+ street1?: string | undefined;
7145
+ street2?: string | undefined;
7146
+ city?: string | undefined;
7147
+ postal?: string | undefined;
7148
+ country?: string | undefined;
7149
+ state?: string | undefined;
7150
+ } | undefined;
7151
+ email?: string | undefined;
7152
+ companyName?: string | undefined;
7153
+ companyId?: string | undefined;
7154
+ notes?: string | undefined;
7155
+ vat?: string | undefined;
7156
+ poNumber?: string | undefined;
7157
+ }, z.ZodTypeDef, {
7158
+ address?: {
7159
+ street1?: string | null | undefined;
7160
+ street2?: string | null | undefined;
7161
+ city?: string | null | undefined;
7162
+ postal?: string | null | undefined;
7163
+ country?: string | null | undefined;
7164
+ state?: string | null | undefined;
7165
+ } | null | undefined;
7166
+ email?: string | null | undefined;
7167
+ companyName?: string | null | undefined;
7168
+ companyId?: string | null | undefined;
7169
+ notes?: string | null | undefined;
7170
+ vat?: string | null | undefined;
7171
+ poNumber?: string | null | undefined;
7172
+ }>>>, {
7173
+ address?: {
7174
+ street1?: string | undefined;
7175
+ street2?: string | undefined;
7176
+ city?: string | undefined;
7177
+ postal?: string | undefined;
7178
+ country?: string | undefined;
7179
+ state?: string | undefined;
7180
+ } | undefined;
7181
+ email?: string | undefined;
7182
+ companyName?: string | undefined;
7183
+ companyId?: string | undefined;
7184
+ notes?: string | undefined;
7185
+ vat?: string | undefined;
7186
+ poNumber?: string | undefined;
7187
+ } | undefined, {
7188
+ address?: {
7189
+ street1?: string | null | undefined;
7190
+ street2?: string | null | undefined;
7191
+ city?: string | null | undefined;
7192
+ postal?: string | null | undefined;
7193
+ country?: string | null | undefined;
7194
+ state?: string | null | undefined;
7195
+ } | null | undefined;
7196
+ email?: string | null | undefined;
7197
+ companyName?: string | null | undefined;
7198
+ companyId?: string | null | undefined;
7199
+ notes?: string | null | undefined;
7200
+ vat?: string | null | undefined;
7201
+ poNumber?: string | null | undefined;
7202
+ } | null | undefined>;
7203
+ }, "strip", z.ZodTypeAny, {
7204
+ name: string;
7205
+ color: string;
7206
+ handle: string;
7207
+ avatar?: string | undefined;
7208
+ billingDetails?: {
7209
+ address?: {
7210
+ street1?: string | undefined;
7211
+ street2?: string | undefined;
7212
+ city?: string | undefined;
7213
+ postal?: string | undefined;
7214
+ country?: string | undefined;
7215
+ state?: string | undefined;
7216
+ } | undefined;
7217
+ email?: string | undefined;
7218
+ companyName?: string | undefined;
7219
+ companyId?: string | undefined;
7220
+ notes?: string | undefined;
7221
+ vat?: string | undefined;
7222
+ poNumber?: string | undefined;
7223
+ } | undefined;
7224
+ }, {
7225
+ name: string;
7226
+ color: string;
7227
+ handle: string;
7228
+ avatar?: string | null | undefined;
7229
+ billingDetails?: {
7230
+ address?: {
7231
+ street1?: string | null | undefined;
7232
+ street2?: string | null | undefined;
7233
+ city?: string | null | undefined;
7234
+ postal?: string | null | undefined;
7235
+ country?: string | null | undefined;
7236
+ state?: string | null | undefined;
7237
+ } | null | undefined;
7238
+ email?: string | null | undefined;
7239
+ companyName?: string | null | undefined;
7240
+ companyId?: string | null | undefined;
7241
+ notes?: string | null | undefined;
7242
+ vat?: string | null | undefined;
7243
+ poNumber?: string | null | undefined;
7244
+ } | null | undefined;
7245
+ }>;
7246
+ subscription: z.ZodObject<{
7247
+ stripeSubscriptionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7248
+ stripeCustomerId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7249
+ status: z.ZodOptional<z.ZodEnum<["active", "suspended", "gracePeriod", "cancelled", "downgraded_to_free"]>>;
7250
+ subscriptionStatus: z.ZodOptional<z.ZodEnum<["trialing", "active", "past_due", "canceled", "unpaid", "incomplete_expired", "incomplete", "unknown"]>>;
7251
+ internalStatus: z.ZodOptional<z.ZodEnum<["active", "suspended", "gracePeriod", "cancelled", "downgraded_to_free"]>>;
7252
+ product: z.ZodEnum<["free", "team", "team_test", "company", "enterprise"]>;
7253
+ featuresSummary: z.ZodOptional<z.ZodObject<{
7254
+ designSystems: z.ZodObject<{
7255
+ max: z.ZodNumber;
7256
+ errorMessage: z.ZodString;
7257
+ errorReason: z.ZodString;
7258
+ }, "strip", z.ZodTypeAny, {
7259
+ max: number;
7260
+ errorMessage: string;
7261
+ errorReason: string;
7262
+ }, {
7263
+ max: number;
7264
+ errorMessage: string;
7265
+ errorReason: string;
7266
+ }>;
7267
+ designSystemSources: z.ZodObject<{
7268
+ max: z.ZodNumber;
7269
+ errorMessage: z.ZodString;
7270
+ errorReason: z.ZodString;
7271
+ noImportJobsErrorMessage: z.ZodString;
7272
+ noImportJobsErrorReason: z.ZodString;
7273
+ }, "strip", z.ZodTypeAny, {
7274
+ max: number;
7275
+ errorMessage: string;
7276
+ errorReason: string;
7277
+ noImportJobsErrorMessage: string;
7278
+ noImportJobsErrorReason: string;
7279
+ }, {
7280
+ max: number;
7281
+ errorMessage: string;
7282
+ errorReason: string;
7283
+ noImportJobsErrorMessage: string;
7284
+ noImportJobsErrorReason: string;
7285
+ }>;
7286
+ designSystemVersions: z.ZodObject<{
7287
+ max: z.ZodNumber;
7288
+ errorMessage: z.ZodString;
7289
+ errorReason: z.ZodString;
7290
+ }, "strip", z.ZodTypeAny, {
7291
+ max: number;
7292
+ errorMessage: string;
7293
+ errorReason: string;
7294
+ }, {
7295
+ max: number;
7296
+ errorMessage: string;
7297
+ errorReason: string;
7298
+ }>;
7299
+ themes: z.ZodObject<{
7300
+ max: z.ZodNumber;
7301
+ errorMessage: z.ZodString;
7302
+ errorReason: z.ZodString;
7303
+ }, "strip", z.ZodTypeAny, {
7304
+ max: number;
7305
+ errorMessage: string;
7306
+ errorReason: string;
7307
+ }, {
7308
+ max: number;
7309
+ errorMessage: string;
7310
+ errorReason: string;
7311
+ }>;
7312
+ brands: z.ZodObject<{
7313
+ max: z.ZodNumber;
7314
+ errorMessage: z.ZodString;
7315
+ errorReason: z.ZodString;
7316
+ }, "strip", z.ZodTypeAny, {
7317
+ max: number;
7318
+ errorMessage: string;
7319
+ errorReason: string;
7320
+ }, {
7321
+ max: number;
7322
+ errorMessage: string;
7323
+ errorReason: string;
7324
+ }>;
7325
+ codegenSchedules: z.ZodObject<{
7326
+ max: z.ZodNumber;
7327
+ errorMessage: z.ZodString;
7328
+ errorReason: z.ZodString;
7329
+ }, "strip", z.ZodTypeAny, {
7330
+ max: number;
7331
+ errorMessage: string;
7332
+ errorReason: string;
7333
+ }, {
7334
+ max: number;
7335
+ errorMessage: string;
7336
+ errorReason: string;
7337
+ }>;
7338
+ publicDocumentation: z.ZodObject<{
7339
+ enabled: z.ZodBoolean;
7340
+ errorMessage: z.ZodString;
7341
+ errorReason: z.ZodString;
7342
+ }, "strip", z.ZodTypeAny, {
7343
+ errorMessage: string;
7344
+ errorReason: string;
7345
+ enabled: boolean;
7346
+ }, {
7347
+ errorMessage: string;
7348
+ errorReason: string;
7349
+ enabled: boolean;
7350
+ }>;
7351
+ customDocumentationUrl: z.ZodObject<{
7352
+ enabled: z.ZodBoolean;
7353
+ errorMessage: z.ZodString;
7354
+ errorReason: z.ZodString;
7355
+ }, "strip", z.ZodTypeAny, {
7356
+ errorMessage: string;
7357
+ errorReason: string;
7358
+ enabled: boolean;
7359
+ }, {
7360
+ errorMessage: string;
7361
+ errorReason: string;
7362
+ enabled: boolean;
7363
+ }>;
7364
+ customDocumentationViewButton: z.ZodObject<{
7365
+ enabled: z.ZodBoolean;
7366
+ errorMessage: z.ZodString;
7367
+ errorReason: z.ZodString;
7368
+ }, "strip", z.ZodTypeAny, {
7369
+ errorMessage: string;
7370
+ errorReason: string;
7371
+ enabled: boolean;
7372
+ }, {
7373
+ errorMessage: string;
7374
+ errorReason: string;
7375
+ enabled: boolean;
7376
+ }>;
7377
+ designSystemSourceAutoImport: z.ZodObject<{
7378
+ enabled: z.ZodBoolean;
7379
+ errorMessage: z.ZodString;
7380
+ errorReason: z.ZodString;
7381
+ }, "strip", z.ZodTypeAny, {
7382
+ errorMessage: string;
7383
+ errorReason: string;
7384
+ enabled: boolean;
7385
+ }, {
7386
+ errorMessage: string;
7387
+ errorReason: string;
7388
+ enabled: boolean;
7389
+ }>;
7390
+ designSystemSlug: z.ZodObject<{
7391
+ enabled: z.ZodBoolean;
7392
+ errorMessage: z.ZodString;
7393
+ errorReason: z.ZodString;
7394
+ }, "strip", z.ZodTypeAny, {
7395
+ errorMessage: string;
7396
+ errorReason: string;
7397
+ enabled: boolean;
7398
+ }, {
7399
+ errorMessage: string;
7400
+ errorReason: string;
7401
+ enabled: boolean;
7402
+ }>;
7403
+ ipWhitelisting: z.ZodObject<{
7404
+ enabled: z.ZodBoolean;
7405
+ errorMessage: z.ZodString;
7406
+ errorReason: z.ZodString;
7407
+ }, "strip", z.ZodTypeAny, {
7408
+ errorMessage: string;
7409
+ errorReason: string;
7410
+ enabled: boolean;
7411
+ }, {
7412
+ errorMessage: string;
7413
+ errorReason: string;
7414
+ enabled: boolean;
7415
+ }>;
7416
+ npmRegistry: z.ZodObject<{
7417
+ enabled: z.ZodBoolean;
7418
+ errorMessage: z.ZodString;
7419
+ errorReason: z.ZodString;
7420
+ }, "strip", z.ZodTypeAny, {
7421
+ errorMessage: string;
7422
+ errorReason: string;
7423
+ enabled: boolean;
7424
+ }, {
7425
+ errorMessage: string;
7426
+ errorReason: string;
7427
+ enabled: boolean;
7428
+ }>;
7429
+ sso: z.ZodObject<{
7430
+ enabled: z.ZodBoolean;
7431
+ errorMessage: z.ZodString;
7432
+ errorReason: z.ZodString;
7433
+ }, "strip", z.ZodTypeAny, {
7434
+ errorMessage: string;
7435
+ errorReason: string;
7436
+ enabled: boolean;
7437
+ }, {
7438
+ errorMessage: string;
7439
+ errorReason: string;
7440
+ enabled: boolean;
7441
+ }>;
7442
+ workspacePaidSeats: z.ZodObject<{
7443
+ max: z.ZodNumber;
7444
+ errorMessage: z.ZodString;
7445
+ errorReason: z.ZodString;
7446
+ }, "strip", z.ZodTypeAny, {
7447
+ max: number;
7448
+ errorMessage: string;
7449
+ errorReason: string;
7450
+ }, {
7451
+ max: number;
7452
+ errorMessage: string;
7453
+ errorReason: string;
7454
+ }>;
7455
+ workspaceViewers: z.ZodObject<{
7456
+ max: z.ZodNumber;
7457
+ errorMessage: z.ZodString;
7458
+ errorReason: z.ZodString;
7459
+ }, "strip", z.ZodTypeAny, {
7460
+ max: number;
7461
+ errorMessage: string;
7462
+ errorReason: string;
7463
+ }, {
7464
+ max: number;
7465
+ errorMessage: string;
7466
+ errorReason: string;
7467
+ }>;
7468
+ customDocumentationExporter: z.ZodObject<{
7469
+ enabled: z.ZodBoolean;
7470
+ errorMessage: z.ZodString;
7471
+ errorReason: z.ZodString;
7472
+ }, "strip", z.ZodTypeAny, {
7473
+ errorMessage: string;
7474
+ errorReason: string;
7475
+ enabled: boolean;
7476
+ }, {
7477
+ errorMessage: string;
7478
+ errorReason: string;
7479
+ enabled: boolean;
7480
+ }>;
7481
+ }, "strip", z.ZodTypeAny, {
7482
+ designSystems: {
7483
+ max: number;
7484
+ errorMessage: string;
7485
+ errorReason: string;
7486
+ };
7487
+ designSystemSources: {
7488
+ max: number;
7489
+ errorMessage: string;
7490
+ errorReason: string;
7491
+ noImportJobsErrorMessage: string;
7492
+ noImportJobsErrorReason: string;
7493
+ };
7494
+ designSystemVersions: {
7495
+ max: number;
7496
+ errorMessage: string;
7497
+ errorReason: string;
7498
+ };
7499
+ themes: {
7500
+ max: number;
7501
+ errorMessage: string;
7502
+ errorReason: string;
7503
+ };
7504
+ brands: {
7505
+ max: number;
7506
+ errorMessage: string;
7507
+ errorReason: string;
7508
+ };
7509
+ codegenSchedules: {
7510
+ max: number;
7511
+ errorMessage: string;
7512
+ errorReason: string;
7513
+ };
7514
+ publicDocumentation: {
7515
+ errorMessage: string;
7516
+ errorReason: string;
7517
+ enabled: boolean;
7518
+ };
7519
+ customDocumentationUrl: {
7520
+ errorMessage: string;
7521
+ errorReason: string;
7522
+ enabled: boolean;
7523
+ };
7524
+ customDocumentationViewButton: {
7525
+ errorMessage: string;
7526
+ errorReason: string;
7527
+ enabled: boolean;
7528
+ };
7529
+ designSystemSourceAutoImport: {
7530
+ errorMessage: string;
7531
+ errorReason: string;
7532
+ enabled: boolean;
7533
+ };
7534
+ designSystemSlug: {
7535
+ errorMessage: string;
7536
+ errorReason: string;
7537
+ enabled: boolean;
7538
+ };
7539
+ ipWhitelisting: {
7540
+ errorMessage: string;
7541
+ errorReason: string;
7542
+ enabled: boolean;
7543
+ };
7544
+ npmRegistry: {
7545
+ errorMessage: string;
7546
+ errorReason: string;
7547
+ enabled: boolean;
7548
+ };
7549
+ sso: {
7550
+ errorMessage: string;
7551
+ errorReason: string;
7552
+ enabled: boolean;
7553
+ };
7554
+ workspacePaidSeats: {
7555
+ max: number;
7556
+ errorMessage: string;
7557
+ errorReason: string;
7558
+ };
7559
+ workspaceViewers: {
7560
+ max: number;
7561
+ errorMessage: string;
7562
+ errorReason: string;
7563
+ };
7564
+ customDocumentationExporter: {
7565
+ errorMessage: string;
7566
+ errorReason: string;
7567
+ enabled: boolean;
7568
+ };
7569
+ }, {
7570
+ designSystems: {
7571
+ max: number;
7572
+ errorMessage: string;
7573
+ errorReason: string;
7574
+ };
7575
+ designSystemSources: {
7576
+ max: number;
7577
+ errorMessage: string;
7578
+ errorReason: string;
7579
+ noImportJobsErrorMessage: string;
7580
+ noImportJobsErrorReason: string;
7581
+ };
7582
+ designSystemVersions: {
7583
+ max: number;
7584
+ errorMessage: string;
7585
+ errorReason: string;
7586
+ };
7587
+ themes: {
7588
+ max: number;
7589
+ errorMessage: string;
7590
+ errorReason: string;
7591
+ };
7592
+ brands: {
7593
+ max: number;
7594
+ errorMessage: string;
7595
+ errorReason: string;
7596
+ };
7597
+ codegenSchedules: {
7598
+ max: number;
7599
+ errorMessage: string;
7600
+ errorReason: string;
7601
+ };
7602
+ publicDocumentation: {
7603
+ errorMessage: string;
7604
+ errorReason: string;
7605
+ enabled: boolean;
7606
+ };
7607
+ customDocumentationUrl: {
7608
+ errorMessage: string;
7609
+ errorReason: string;
7610
+ enabled: boolean;
7611
+ };
7612
+ customDocumentationViewButton: {
7613
+ errorMessage: string;
7614
+ errorReason: string;
7615
+ enabled: boolean;
7616
+ };
7617
+ designSystemSourceAutoImport: {
7618
+ errorMessage: string;
7619
+ errorReason: string;
7620
+ enabled: boolean;
7621
+ };
7622
+ designSystemSlug: {
7623
+ errorMessage: string;
7624
+ errorReason: string;
7625
+ enabled: boolean;
7626
+ };
7627
+ ipWhitelisting: {
7628
+ errorMessage: string;
7629
+ errorReason: string;
7630
+ enabled: boolean;
7631
+ };
7632
+ npmRegistry: {
7633
+ errorMessage: string;
7634
+ errorReason: string;
7635
+ enabled: boolean;
7636
+ };
7637
+ sso: {
7638
+ errorMessage: string;
7639
+ errorReason: string;
7640
+ enabled: boolean;
7641
+ };
7642
+ workspacePaidSeats: {
7643
+ max: number;
7644
+ errorMessage: string;
7645
+ errorReason: string;
7646
+ };
7647
+ workspaceViewers: {
7648
+ max: number;
7649
+ errorMessage: string;
7650
+ errorReason: string;
7651
+ };
7652
+ customDocumentationExporter: {
7653
+ errorMessage: string;
7654
+ errorReason: string;
7655
+ enabled: boolean;
7656
+ };
7657
+ }>>;
7658
+ stripeProductDescription: z.ZodOptional<z.ZodString>;
7659
+ stripeProductFeatures: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
7660
+ stripeProductAdditionalFeatures: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
7661
+ stripeSubscriptionMainItemId: z.ZodOptional<z.ZodString>;
7662
+ planPriceId: z.ZodString;
7663
+ planInterval: z.ZodEnum<["daily", "monthly", "weekly", "yearly"]>;
7664
+ isPricePerCreator: z.ZodOptional<z.ZodBoolean>;
7665
+ legacyVersion: z.ZodOptional<z.ZodString>;
7666
+ seats: z.ZodNumber;
7667
+ seatLimit: z.ZodNumber;
7668
+ currentPeriodStart: z.ZodOptional<z.ZodString>;
7669
+ currentPeriodEnd: z.ZodOptional<z.ZodString>;
7670
+ subscriptionStatusUpdatedAt: z.ZodOptional<z.ZodString>;
7671
+ cancelAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7672
+ card: z.ZodOptional<z.ZodObject<{
7673
+ cardId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7674
+ last4: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7675
+ expiryMonth: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7676
+ expiryYear: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7677
+ brand: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7678
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7679
+ }, "strip", z.ZodTypeAny, {
7680
+ cardId?: string | null | undefined;
7681
+ last4?: string | null | undefined;
7682
+ expiryMonth?: string | null | undefined;
7683
+ expiryYear?: string | null | undefined;
7684
+ brand?: string | null | undefined;
7685
+ name?: string | null | undefined;
7686
+ }, {
7687
+ cardId?: string | null | undefined;
7688
+ last4?: string | null | undefined;
7689
+ expiryMonth?: string | null | undefined;
7690
+ expiryYear?: string | null | undefined;
7691
+ brand?: string | null | undefined;
7692
+ name?: string | null | undefined;
7693
+ }>>;
7694
+ amount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
7695
+ isTrial: z.ZodOptional<z.ZodBoolean>;
7696
+ billingType: z.ZodOptional<z.ZodEnum<["Auto", "Invoice"]>>;
7697
+ daysUntilDue: z.ZodOptional<z.ZodNumber>;
7698
+ }, "strip", z.ZodTypeAny, {
7699
+ product: "free" | "team" | "team_test" | "company" | "enterprise";
7700
+ planPriceId: string;
7701
+ planInterval: "daily" | "monthly" | "weekly" | "yearly";
7702
+ seats: number;
7703
+ seatLimit: number;
7704
+ stripeSubscriptionId?: string | null | undefined;
7705
+ stripeCustomerId?: string | null | undefined;
7706
+ status?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
7707
+ subscriptionStatus?: "unknown" | "active" | "trialing" | "past_due" | "canceled" | "unpaid" | "incomplete_expired" | "incomplete" | undefined;
7708
+ internalStatus?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
7709
+ featuresSummary?: {
7710
+ designSystems: {
7711
+ max: number;
7712
+ errorMessage: string;
7713
+ errorReason: string;
7714
+ };
7715
+ designSystemSources: {
7716
+ max: number;
7717
+ errorMessage: string;
7718
+ errorReason: string;
7719
+ noImportJobsErrorMessage: string;
7720
+ noImportJobsErrorReason: string;
7721
+ };
7722
+ designSystemVersions: {
7723
+ max: number;
7724
+ errorMessage: string;
7725
+ errorReason: string;
7726
+ };
7727
+ themes: {
7728
+ max: number;
7729
+ errorMessage: string;
7730
+ errorReason: string;
7731
+ };
7732
+ brands: {
7733
+ max: number;
7734
+ errorMessage: string;
7735
+ errorReason: string;
7736
+ };
7737
+ codegenSchedules: {
7738
+ max: number;
7739
+ errorMessage: string;
7740
+ errorReason: string;
7741
+ };
7742
+ publicDocumentation: {
7743
+ errorMessage: string;
7744
+ errorReason: string;
7745
+ enabled: boolean;
7746
+ };
7747
+ customDocumentationUrl: {
7748
+ errorMessage: string;
7749
+ errorReason: string;
7750
+ enabled: boolean;
7751
+ };
7752
+ customDocumentationViewButton: {
7753
+ errorMessage: string;
7754
+ errorReason: string;
7755
+ enabled: boolean;
7756
+ };
7757
+ designSystemSourceAutoImport: {
7758
+ errorMessage: string;
7759
+ errorReason: string;
7760
+ enabled: boolean;
7761
+ };
7762
+ designSystemSlug: {
7763
+ errorMessage: string;
7764
+ errorReason: string;
7765
+ enabled: boolean;
7766
+ };
7767
+ ipWhitelisting: {
7768
+ errorMessage: string;
7769
+ errorReason: string;
7770
+ enabled: boolean;
7771
+ };
7772
+ npmRegistry: {
7773
+ errorMessage: string;
7774
+ errorReason: string;
7775
+ enabled: boolean;
7776
+ };
7777
+ sso: {
7778
+ errorMessage: string;
7779
+ errorReason: string;
7780
+ enabled: boolean;
7781
+ };
7782
+ workspacePaidSeats: {
7783
+ max: number;
7784
+ errorMessage: string;
7785
+ errorReason: string;
7786
+ };
7787
+ workspaceViewers: {
7788
+ max: number;
7789
+ errorMessage: string;
7790
+ errorReason: string;
7791
+ };
7792
+ customDocumentationExporter: {
7793
+ errorMessage: string;
7794
+ errorReason: string;
7795
+ enabled: boolean;
7796
+ };
7797
+ } | undefined;
7798
+ stripeProductDescription?: string | undefined;
7799
+ stripeProductFeatures?: string[] | undefined;
7800
+ stripeProductAdditionalFeatures?: string[] | undefined;
7801
+ stripeSubscriptionMainItemId?: string | undefined;
7802
+ isPricePerCreator?: boolean | undefined;
7803
+ legacyVersion?: string | undefined;
7804
+ currentPeriodStart?: string | undefined;
7805
+ currentPeriodEnd?: string | undefined;
7806
+ subscriptionStatusUpdatedAt?: string | undefined;
7807
+ cancelAt?: string | null | undefined;
7808
+ card?: {
7809
+ cardId?: string | null | undefined;
7810
+ last4?: string | null | undefined;
7811
+ expiryMonth?: string | null | undefined;
7812
+ expiryYear?: string | null | undefined;
7813
+ brand?: string | null | undefined;
7814
+ name?: string | null | undefined;
7815
+ } | undefined;
7816
+ amount?: number | null | undefined;
7817
+ isTrial?: boolean | undefined;
7818
+ billingType?: "Auto" | "Invoice" | undefined;
7819
+ daysUntilDue?: number | undefined;
7820
+ }, {
7821
+ product: "free" | "team" | "team_test" | "company" | "enterprise";
7822
+ planPriceId: string;
7823
+ planInterval: "daily" | "monthly" | "weekly" | "yearly";
7824
+ seats: number;
7825
+ seatLimit: number;
7826
+ stripeSubscriptionId?: string | null | undefined;
7827
+ stripeCustomerId?: string | null | undefined;
7828
+ status?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
7829
+ subscriptionStatus?: "unknown" | "active" | "trialing" | "past_due" | "canceled" | "unpaid" | "incomplete_expired" | "incomplete" | undefined;
7830
+ internalStatus?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
7831
+ featuresSummary?: {
7832
+ designSystems: {
7833
+ max: number;
7834
+ errorMessage: string;
7835
+ errorReason: string;
7836
+ };
7837
+ designSystemSources: {
7838
+ max: number;
7839
+ errorMessage: string;
7840
+ errorReason: string;
7841
+ noImportJobsErrorMessage: string;
7842
+ noImportJobsErrorReason: string;
7843
+ };
7844
+ designSystemVersions: {
7845
+ max: number;
7846
+ errorMessage: string;
7847
+ errorReason: string;
7848
+ };
7849
+ themes: {
7850
+ max: number;
7851
+ errorMessage: string;
7852
+ errorReason: string;
7853
+ };
7854
+ brands: {
7855
+ max: number;
7856
+ errorMessage: string;
7857
+ errorReason: string;
7858
+ };
7859
+ codegenSchedules: {
7860
+ max: number;
7861
+ errorMessage: string;
7862
+ errorReason: string;
7863
+ };
7864
+ publicDocumentation: {
7865
+ errorMessage: string;
7866
+ errorReason: string;
7867
+ enabled: boolean;
7868
+ };
7869
+ customDocumentationUrl: {
7870
+ errorMessage: string;
7871
+ errorReason: string;
7872
+ enabled: boolean;
7873
+ };
7874
+ customDocumentationViewButton: {
7875
+ errorMessage: string;
7876
+ errorReason: string;
7877
+ enabled: boolean;
7878
+ };
7879
+ designSystemSourceAutoImport: {
7880
+ errorMessage: string;
7881
+ errorReason: string;
7882
+ enabled: boolean;
7883
+ };
7884
+ designSystemSlug: {
7885
+ errorMessage: string;
7886
+ errorReason: string;
7887
+ enabled: boolean;
7888
+ };
7889
+ ipWhitelisting: {
7890
+ errorMessage: string;
7891
+ errorReason: string;
7892
+ enabled: boolean;
7893
+ };
7894
+ npmRegistry: {
7895
+ errorMessage: string;
7896
+ errorReason: string;
7897
+ enabled: boolean;
7898
+ };
7899
+ sso: {
7900
+ errorMessage: string;
7901
+ errorReason: string;
7902
+ enabled: boolean;
7903
+ };
7904
+ workspacePaidSeats: {
7905
+ max: number;
7906
+ errorMessage: string;
7907
+ errorReason: string;
7908
+ };
7909
+ workspaceViewers: {
7910
+ max: number;
7911
+ errorMessage: string;
7912
+ errorReason: string;
7913
+ };
7914
+ customDocumentationExporter: {
7915
+ errorMessage: string;
7916
+ errorReason: string;
7917
+ enabled: boolean;
7918
+ };
7919
+ } | undefined;
7920
+ stripeProductDescription?: string | undefined;
7921
+ stripeProductFeatures?: string[] | undefined;
7922
+ stripeProductAdditionalFeatures?: string[] | undefined;
7923
+ stripeSubscriptionMainItemId?: string | undefined;
7924
+ isPricePerCreator?: boolean | undefined;
7925
+ legacyVersion?: string | undefined;
7926
+ currentPeriodStart?: string | undefined;
7927
+ currentPeriodEnd?: string | undefined;
7928
+ subscriptionStatusUpdatedAt?: string | undefined;
7929
+ cancelAt?: string | null | undefined;
7930
+ card?: {
7931
+ cardId?: string | null | undefined;
7932
+ last4?: string | null | undefined;
7933
+ expiryMonth?: string | null | undefined;
7934
+ expiryYear?: string | null | undefined;
7935
+ brand?: string | null | undefined;
7936
+ name?: string | null | undefined;
7937
+ } | undefined;
7938
+ amount?: number | null | undefined;
7939
+ isTrial?: boolean | undefined;
7940
+ billingType?: "Auto" | "Invoice" | undefined;
7941
+ daysUntilDue?: number | undefined;
7942
+ }>;
7943
+ npmRegistry: z.ZodOptional<z.ZodObject<{
7944
+ registryType: z.ZodEnum<["NPMJS", "GitHub", "Artifactory", "Custom", "AzureDevOps"]>;
7945
+ registryUrl: z.ZodString;
7946
+ customRegistryUrl: z.ZodOptional<z.ZodString>;
7947
+ proxyUrl: z.ZodString;
7948
+ authType: z.ZodEnum<["Basic", "Bearer", "None", "Custom"]>;
7949
+ accessToken: z.ZodOptional<z.ZodLiteral<"redacted">>;
7950
+ username: z.ZodOptional<z.ZodString>;
7951
+ password: z.ZodOptional<z.ZodLiteral<"redacted">>;
7952
+ enabledScopes: z.ZodArray<z.ZodString, "many">;
7953
+ bypassProxy: z.ZodBoolean;
7954
+ }, "strip", z.ZodTypeAny, {
7955
+ registryType: "NPMJS" | "GitHub" | "Artifactory" | "Custom" | "AzureDevOps";
7956
+ registryUrl: string;
7957
+ proxyUrl: string;
7958
+ authType: "Custom" | "Basic" | "Bearer" | "None";
7959
+ enabledScopes: string[];
7960
+ bypassProxy: boolean;
7961
+ customRegistryUrl?: string | undefined;
7962
+ accessToken?: "redacted" | undefined;
7963
+ username?: string | undefined;
7964
+ password?: "redacted" | undefined;
7965
+ }, {
7966
+ registryType: "NPMJS" | "GitHub" | "Artifactory" | "Custom" | "AzureDevOps";
7967
+ registryUrl: string;
7968
+ proxyUrl: string;
7969
+ authType: "Custom" | "Basic" | "Bearer" | "None";
7970
+ enabledScopes: string[];
7971
+ bypassProxy: boolean;
7972
+ customRegistryUrl?: string | undefined;
7973
+ accessToken?: "redacted" | undefined;
7974
+ username?: string | undefined;
7975
+ password?: "redacted" | undefined;
7976
+ }>>;
7977
+ }, "strip", z.ZodTypeAny, {
7978
+ id: string;
7979
+ profile: {
7980
+ name: string;
7981
+ color: string;
7982
+ handle: string;
7983
+ avatar?: string | undefined;
7984
+ billingDetails?: {
7985
+ address?: {
7986
+ street1?: string | undefined;
7987
+ street2?: string | undefined;
7988
+ city?: string | undefined;
7989
+ postal?: string | undefined;
7990
+ country?: string | undefined;
7991
+ state?: string | undefined;
7992
+ } | undefined;
7993
+ email?: string | undefined;
7994
+ companyName?: string | undefined;
7995
+ companyId?: string | undefined;
7996
+ notes?: string | undefined;
7997
+ vat?: string | undefined;
7998
+ poNumber?: string | undefined;
7999
+ } | undefined;
8000
+ };
8001
+ subscription: {
8002
+ product: "free" | "team" | "team_test" | "company" | "enterprise";
8003
+ planPriceId: string;
8004
+ planInterval: "daily" | "monthly" | "weekly" | "yearly";
8005
+ seats: number;
8006
+ seatLimit: number;
8007
+ stripeSubscriptionId?: string | null | undefined;
8008
+ stripeCustomerId?: string | null | undefined;
8009
+ status?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
8010
+ subscriptionStatus?: "unknown" | "active" | "trialing" | "past_due" | "canceled" | "unpaid" | "incomplete_expired" | "incomplete" | undefined;
8011
+ internalStatus?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
8012
+ featuresSummary?: {
8013
+ designSystems: {
8014
+ max: number;
8015
+ errorMessage: string;
8016
+ errorReason: string;
8017
+ };
8018
+ designSystemSources: {
8019
+ max: number;
8020
+ errorMessage: string;
8021
+ errorReason: string;
8022
+ noImportJobsErrorMessage: string;
8023
+ noImportJobsErrorReason: string;
8024
+ };
8025
+ designSystemVersions: {
8026
+ max: number;
8027
+ errorMessage: string;
8028
+ errorReason: string;
8029
+ };
8030
+ themes: {
8031
+ max: number;
8032
+ errorMessage: string;
8033
+ errorReason: string;
8034
+ };
8035
+ brands: {
8036
+ max: number;
8037
+ errorMessage: string;
8038
+ errorReason: string;
8039
+ };
8040
+ codegenSchedules: {
8041
+ max: number;
8042
+ errorMessage: string;
8043
+ errorReason: string;
8044
+ };
8045
+ publicDocumentation: {
8046
+ errorMessage: string;
8047
+ errorReason: string;
8048
+ enabled: boolean;
8049
+ };
8050
+ customDocumentationUrl: {
8051
+ errorMessage: string;
8052
+ errorReason: string;
8053
+ enabled: boolean;
8054
+ };
8055
+ customDocumentationViewButton: {
8056
+ errorMessage: string;
8057
+ errorReason: string;
8058
+ enabled: boolean;
8059
+ };
8060
+ designSystemSourceAutoImport: {
8061
+ errorMessage: string;
8062
+ errorReason: string;
8063
+ enabled: boolean;
8064
+ };
8065
+ designSystemSlug: {
8066
+ errorMessage: string;
8067
+ errorReason: string;
8068
+ enabled: boolean;
8069
+ };
8070
+ ipWhitelisting: {
8071
+ errorMessage: string;
8072
+ errorReason: string;
8073
+ enabled: boolean;
8074
+ };
8075
+ npmRegistry: {
8076
+ errorMessage: string;
8077
+ errorReason: string;
8078
+ enabled: boolean;
8079
+ };
8080
+ sso: {
8081
+ errorMessage: string;
8082
+ errorReason: string;
8083
+ enabled: boolean;
8084
+ };
8085
+ workspacePaidSeats: {
8086
+ max: number;
8087
+ errorMessage: string;
8088
+ errorReason: string;
8089
+ };
8090
+ workspaceViewers: {
8091
+ max: number;
8092
+ errorMessage: string;
8093
+ errorReason: string;
8094
+ };
8095
+ customDocumentationExporter: {
8096
+ errorMessage: string;
8097
+ errorReason: string;
8098
+ enabled: boolean;
8099
+ };
8100
+ } | undefined;
8101
+ stripeProductDescription?: string | undefined;
8102
+ stripeProductFeatures?: string[] | undefined;
8103
+ stripeProductAdditionalFeatures?: string[] | undefined;
8104
+ stripeSubscriptionMainItemId?: string | undefined;
8105
+ isPricePerCreator?: boolean | undefined;
8106
+ legacyVersion?: string | undefined;
8107
+ currentPeriodStart?: string | undefined;
8108
+ currentPeriodEnd?: string | undefined;
8109
+ subscriptionStatusUpdatedAt?: string | undefined;
8110
+ cancelAt?: string | null | undefined;
8111
+ card?: {
8112
+ cardId?: string | null | undefined;
8113
+ last4?: string | null | undefined;
8114
+ expiryMonth?: string | null | undefined;
8115
+ expiryYear?: string | null | undefined;
8116
+ brand?: string | null | undefined;
8117
+ name?: string | null | undefined;
8118
+ } | undefined;
8119
+ amount?: number | null | undefined;
8120
+ isTrial?: boolean | undefined;
8121
+ billingType?: "Auto" | "Invoice" | undefined;
8122
+ daysUntilDue?: number | undefined;
8123
+ };
8124
+ npmRegistry?: {
8125
+ registryType: "NPMJS" | "GitHub" | "Artifactory" | "Custom" | "AzureDevOps";
8126
+ registryUrl: string;
8127
+ proxyUrl: string;
8128
+ authType: "Custom" | "Basic" | "Bearer" | "None";
8129
+ enabledScopes: string[];
8130
+ bypassProxy: boolean;
8131
+ customRegistryUrl?: string | undefined;
8132
+ accessToken?: "redacted" | undefined;
8133
+ username?: string | undefined;
8134
+ password?: "redacted" | undefined;
8135
+ } | undefined;
8136
+ }, {
8137
+ id: string;
8138
+ profile: {
8139
+ name: string;
8140
+ color: string;
8141
+ handle: string;
8142
+ avatar?: string | null | undefined;
8143
+ billingDetails?: {
8144
+ address?: {
8145
+ street1?: string | null | undefined;
8146
+ street2?: string | null | undefined;
8147
+ city?: string | null | undefined;
8148
+ postal?: string | null | undefined;
8149
+ country?: string | null | undefined;
8150
+ state?: string | null | undefined;
8151
+ } | null | undefined;
8152
+ email?: string | null | undefined;
8153
+ companyName?: string | null | undefined;
8154
+ companyId?: string | null | undefined;
8155
+ notes?: string | null | undefined;
8156
+ vat?: string | null | undefined;
8157
+ poNumber?: string | null | undefined;
8158
+ } | null | undefined;
8159
+ };
8160
+ subscription: {
8161
+ product: "free" | "team" | "team_test" | "company" | "enterprise";
8162
+ planPriceId: string;
8163
+ planInterval: "daily" | "monthly" | "weekly" | "yearly";
8164
+ seats: number;
8165
+ seatLimit: number;
8166
+ stripeSubscriptionId?: string | null | undefined;
8167
+ stripeCustomerId?: string | null | undefined;
8168
+ status?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
8169
+ subscriptionStatus?: "unknown" | "active" | "trialing" | "past_due" | "canceled" | "unpaid" | "incomplete_expired" | "incomplete" | undefined;
8170
+ internalStatus?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
8171
+ featuresSummary?: {
8172
+ designSystems: {
8173
+ max: number;
8174
+ errorMessage: string;
8175
+ errorReason: string;
8176
+ };
8177
+ designSystemSources: {
8178
+ max: number;
8179
+ errorMessage: string;
8180
+ errorReason: string;
8181
+ noImportJobsErrorMessage: string;
8182
+ noImportJobsErrorReason: string;
8183
+ };
8184
+ designSystemVersions: {
8185
+ max: number;
8186
+ errorMessage: string;
8187
+ errorReason: string;
8188
+ };
8189
+ themes: {
8190
+ max: number;
8191
+ errorMessage: string;
8192
+ errorReason: string;
8193
+ };
8194
+ brands: {
8195
+ max: number;
8196
+ errorMessage: string;
8197
+ errorReason: string;
8198
+ };
8199
+ codegenSchedules: {
8200
+ max: number;
8201
+ errorMessage: string;
8202
+ errorReason: string;
8203
+ };
8204
+ publicDocumentation: {
8205
+ errorMessage: string;
8206
+ errorReason: string;
8207
+ enabled: boolean;
8208
+ };
8209
+ customDocumentationUrl: {
8210
+ errorMessage: string;
8211
+ errorReason: string;
8212
+ enabled: boolean;
8213
+ };
8214
+ customDocumentationViewButton: {
8215
+ errorMessage: string;
8216
+ errorReason: string;
8217
+ enabled: boolean;
8218
+ };
8219
+ designSystemSourceAutoImport: {
8220
+ errorMessage: string;
8221
+ errorReason: string;
8222
+ enabled: boolean;
8223
+ };
8224
+ designSystemSlug: {
8225
+ errorMessage: string;
8226
+ errorReason: string;
8227
+ enabled: boolean;
8228
+ };
8229
+ ipWhitelisting: {
8230
+ errorMessage: string;
8231
+ errorReason: string;
8232
+ enabled: boolean;
8233
+ };
8234
+ npmRegistry: {
8235
+ errorMessage: string;
8236
+ errorReason: string;
8237
+ enabled: boolean;
8238
+ };
8239
+ sso: {
8240
+ errorMessage: string;
8241
+ errorReason: string;
8242
+ enabled: boolean;
8243
+ };
8244
+ workspacePaidSeats: {
8245
+ max: number;
8246
+ errorMessage: string;
8247
+ errorReason: string;
8248
+ };
8249
+ workspaceViewers: {
8250
+ max: number;
8251
+ errorMessage: string;
8252
+ errorReason: string;
8253
+ };
8254
+ customDocumentationExporter: {
8255
+ errorMessage: string;
8256
+ errorReason: string;
8257
+ enabled: boolean;
8258
+ };
8259
+ } | undefined;
8260
+ stripeProductDescription?: string | undefined;
8261
+ stripeProductFeatures?: string[] | undefined;
8262
+ stripeProductAdditionalFeatures?: string[] | undefined;
8263
+ stripeSubscriptionMainItemId?: string | undefined;
8264
+ isPricePerCreator?: boolean | undefined;
8265
+ legacyVersion?: string | undefined;
8266
+ currentPeriodStart?: string | undefined;
8267
+ currentPeriodEnd?: string | undefined;
8268
+ subscriptionStatusUpdatedAt?: string | undefined;
8269
+ cancelAt?: string | null | undefined;
8270
+ card?: {
8271
+ cardId?: string | null | undefined;
8272
+ last4?: string | null | undefined;
8273
+ expiryMonth?: string | null | undefined;
8274
+ expiryYear?: string | null | undefined;
8275
+ brand?: string | null | undefined;
8276
+ name?: string | null | undefined;
8277
+ } | undefined;
8278
+ amount?: number | null | undefined;
8279
+ isTrial?: boolean | undefined;
8280
+ billingType?: "Auto" | "Invoice" | undefined;
8281
+ daysUntilDue?: number | undefined;
8282
+ };
8283
+ npmRegistry?: {
8284
+ registryType: "NPMJS" | "GitHub" | "Artifactory" | "Custom" | "AzureDevOps";
8285
+ registryUrl: string;
8286
+ proxyUrl: string;
8287
+ authType: "Custom" | "Basic" | "Bearer" | "None";
8288
+ enabledScopes: string[];
8289
+ bypassProxy: boolean;
8290
+ customRegistryUrl?: string | undefined;
8291
+ accessToken?: "redacted" | undefined;
8292
+ username?: string | undefined;
8293
+ password?: "redacted" | undefined;
8294
+ } | undefined;
8295
+ }>;
8296
+ role: z.ZodEnum<["Owner", "Admin", "Creator", "Viewer", "Billing"]>;
8297
+ effectiveRole: z.ZodEnum<["Owner", "Admin", "Creator", "Viewer", "Billing"]>;
8298
+ }, "strip", z.ZodTypeAny, {
8299
+ workspace: {
8300
+ id: string;
8301
+ profile: {
8302
+ name: string;
8303
+ color: string;
8304
+ handle: string;
8305
+ avatar?: string | undefined;
8306
+ billingDetails?: {
8307
+ address?: {
8308
+ street1?: string | undefined;
8309
+ street2?: string | undefined;
8310
+ city?: string | undefined;
8311
+ postal?: string | undefined;
8312
+ country?: string | undefined;
8313
+ state?: string | undefined;
8314
+ } | undefined;
8315
+ email?: string | undefined;
8316
+ companyName?: string | undefined;
8317
+ companyId?: string | undefined;
8318
+ notes?: string | undefined;
8319
+ vat?: string | undefined;
8320
+ poNumber?: string | undefined;
8321
+ } | undefined;
8322
+ };
8323
+ subscription: {
8324
+ product: "free" | "team" | "team_test" | "company" | "enterprise";
8325
+ planPriceId: string;
8326
+ planInterval: "daily" | "monthly" | "weekly" | "yearly";
8327
+ seats: number;
8328
+ seatLimit: number;
8329
+ stripeSubscriptionId?: string | null | undefined;
8330
+ stripeCustomerId?: string | null | undefined;
8331
+ status?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
8332
+ subscriptionStatus?: "unknown" | "active" | "trialing" | "past_due" | "canceled" | "unpaid" | "incomplete_expired" | "incomplete" | undefined;
8333
+ internalStatus?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
8334
+ featuresSummary?: {
8335
+ designSystems: {
8336
+ max: number;
8337
+ errorMessage: string;
8338
+ errorReason: string;
8339
+ };
8340
+ designSystemSources: {
8341
+ max: number;
8342
+ errorMessage: string;
8343
+ errorReason: string;
8344
+ noImportJobsErrorMessage: string;
8345
+ noImportJobsErrorReason: string;
8346
+ };
8347
+ designSystemVersions: {
8348
+ max: number;
8349
+ errorMessage: string;
8350
+ errorReason: string;
8351
+ };
8352
+ themes: {
8353
+ max: number;
8354
+ errorMessage: string;
8355
+ errorReason: string;
8356
+ };
8357
+ brands: {
8358
+ max: number;
8359
+ errorMessage: string;
8360
+ errorReason: string;
8361
+ };
8362
+ codegenSchedules: {
8363
+ max: number;
8364
+ errorMessage: string;
8365
+ errorReason: string;
8366
+ };
8367
+ publicDocumentation: {
8368
+ errorMessage: string;
8369
+ errorReason: string;
8370
+ enabled: boolean;
8371
+ };
8372
+ customDocumentationUrl: {
8373
+ errorMessage: string;
8374
+ errorReason: string;
8375
+ enabled: boolean;
8376
+ };
8377
+ customDocumentationViewButton: {
8378
+ errorMessage: string;
8379
+ errorReason: string;
8380
+ enabled: boolean;
8381
+ };
8382
+ designSystemSourceAutoImport: {
8383
+ errorMessage: string;
8384
+ errorReason: string;
8385
+ enabled: boolean;
8386
+ };
8387
+ designSystemSlug: {
8388
+ errorMessage: string;
8389
+ errorReason: string;
8390
+ enabled: boolean;
8391
+ };
8392
+ ipWhitelisting: {
8393
+ errorMessage: string;
8394
+ errorReason: string;
8395
+ enabled: boolean;
8396
+ };
8397
+ npmRegistry: {
8398
+ errorMessage: string;
8399
+ errorReason: string;
8400
+ enabled: boolean;
8401
+ };
8402
+ sso: {
8403
+ errorMessage: string;
8404
+ errorReason: string;
8405
+ enabled: boolean;
8406
+ };
8407
+ workspacePaidSeats: {
8408
+ max: number;
8409
+ errorMessage: string;
8410
+ errorReason: string;
8411
+ };
8412
+ workspaceViewers: {
8413
+ max: number;
8414
+ errorMessage: string;
8415
+ errorReason: string;
8416
+ };
8417
+ customDocumentationExporter: {
8418
+ errorMessage: string;
8419
+ errorReason: string;
8420
+ enabled: boolean;
8421
+ };
8422
+ } | undefined;
8423
+ stripeProductDescription?: string | undefined;
8424
+ stripeProductFeatures?: string[] | undefined;
8425
+ stripeProductAdditionalFeatures?: string[] | undefined;
8426
+ stripeSubscriptionMainItemId?: string | undefined;
8427
+ isPricePerCreator?: boolean | undefined;
8428
+ legacyVersion?: string | undefined;
8429
+ currentPeriodStart?: string | undefined;
8430
+ currentPeriodEnd?: string | undefined;
8431
+ subscriptionStatusUpdatedAt?: string | undefined;
8432
+ cancelAt?: string | null | undefined;
8433
+ card?: {
8434
+ cardId?: string | null | undefined;
8435
+ last4?: string | null | undefined;
8436
+ expiryMonth?: string | null | undefined;
8437
+ expiryYear?: string | null | undefined;
8438
+ brand?: string | null | undefined;
8439
+ name?: string | null | undefined;
8440
+ } | undefined;
8441
+ amount?: number | null | undefined;
8442
+ isTrial?: boolean | undefined;
8443
+ billingType?: "Auto" | "Invoice" | undefined;
8444
+ daysUntilDue?: number | undefined;
8445
+ };
8446
+ npmRegistry?: {
8447
+ registryType: "NPMJS" | "GitHub" | "Artifactory" | "Custom" | "AzureDevOps";
8448
+ registryUrl: string;
8449
+ proxyUrl: string;
8450
+ authType: "Custom" | "Basic" | "Bearer" | "None";
8451
+ enabledScopes: string[];
8452
+ bypassProxy: boolean;
8453
+ customRegistryUrl?: string | undefined;
8454
+ accessToken?: "redacted" | undefined;
8455
+ username?: string | undefined;
8456
+ password?: "redacted" | undefined;
8457
+ } | undefined;
8458
+ };
8459
+ role: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing";
8460
+ effectiveRole: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing";
8461
+ }, {
8462
+ workspace: {
8463
+ id: string;
8464
+ profile: {
8465
+ name: string;
8466
+ color: string;
8467
+ handle: string;
8468
+ avatar?: string | null | undefined;
8469
+ billingDetails?: {
8470
+ address?: {
8471
+ street1?: string | null | undefined;
8472
+ street2?: string | null | undefined;
8473
+ city?: string | null | undefined;
8474
+ postal?: string | null | undefined;
8475
+ country?: string | null | undefined;
8476
+ state?: string | null | undefined;
8477
+ } | null | undefined;
8478
+ email?: string | null | undefined;
8479
+ companyName?: string | null | undefined;
8480
+ companyId?: string | null | undefined;
8481
+ notes?: string | null | undefined;
8482
+ vat?: string | null | undefined;
8483
+ poNumber?: string | null | undefined;
8484
+ } | null | undefined;
8485
+ };
8486
+ subscription: {
8487
+ product: "free" | "team" | "team_test" | "company" | "enterprise";
8488
+ planPriceId: string;
8489
+ planInterval: "daily" | "monthly" | "weekly" | "yearly";
8490
+ seats: number;
8491
+ seatLimit: number;
8492
+ stripeSubscriptionId?: string | null | undefined;
8493
+ stripeCustomerId?: string | null | undefined;
8494
+ status?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
8495
+ subscriptionStatus?: "unknown" | "active" | "trialing" | "past_due" | "canceled" | "unpaid" | "incomplete_expired" | "incomplete" | undefined;
8496
+ internalStatus?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
8497
+ featuresSummary?: {
8498
+ designSystems: {
8499
+ max: number;
8500
+ errorMessage: string;
8501
+ errorReason: string;
8502
+ };
8503
+ designSystemSources: {
8504
+ max: number;
8505
+ errorMessage: string;
8506
+ errorReason: string;
8507
+ noImportJobsErrorMessage: string;
8508
+ noImportJobsErrorReason: string;
8509
+ };
8510
+ designSystemVersions: {
8511
+ max: number;
8512
+ errorMessage: string;
8513
+ errorReason: string;
8514
+ };
8515
+ themes: {
8516
+ max: number;
8517
+ errorMessage: string;
8518
+ errorReason: string;
8519
+ };
8520
+ brands: {
8521
+ max: number;
8522
+ errorMessage: string;
8523
+ errorReason: string;
8524
+ };
8525
+ codegenSchedules: {
8526
+ max: number;
8527
+ errorMessage: string;
8528
+ errorReason: string;
8529
+ };
8530
+ publicDocumentation: {
8531
+ errorMessage: string;
8532
+ errorReason: string;
8533
+ enabled: boolean;
8534
+ };
8535
+ customDocumentationUrl: {
8536
+ errorMessage: string;
8537
+ errorReason: string;
8538
+ enabled: boolean;
8539
+ };
8540
+ customDocumentationViewButton: {
8541
+ errorMessage: string;
8542
+ errorReason: string;
8543
+ enabled: boolean;
8544
+ };
8545
+ designSystemSourceAutoImport: {
8546
+ errorMessage: string;
8547
+ errorReason: string;
8548
+ enabled: boolean;
8549
+ };
8550
+ designSystemSlug: {
8551
+ errorMessage: string;
8552
+ errorReason: string;
8553
+ enabled: boolean;
8554
+ };
8555
+ ipWhitelisting: {
8556
+ errorMessage: string;
8557
+ errorReason: string;
8558
+ enabled: boolean;
8559
+ };
8560
+ npmRegistry: {
8561
+ errorMessage: string;
8562
+ errorReason: string;
8563
+ enabled: boolean;
8564
+ };
8565
+ sso: {
8566
+ errorMessage: string;
8567
+ errorReason: string;
8568
+ enabled: boolean;
8569
+ };
8570
+ workspacePaidSeats: {
8571
+ max: number;
8572
+ errorMessage: string;
8573
+ errorReason: string;
8574
+ };
8575
+ workspaceViewers: {
8576
+ max: number;
8577
+ errorMessage: string;
8578
+ errorReason: string;
8579
+ };
8580
+ customDocumentationExporter: {
8581
+ errorMessage: string;
8582
+ errorReason: string;
8583
+ enabled: boolean;
8584
+ };
8585
+ } | undefined;
8586
+ stripeProductDescription?: string | undefined;
8587
+ stripeProductFeatures?: string[] | undefined;
8588
+ stripeProductAdditionalFeatures?: string[] | undefined;
8589
+ stripeSubscriptionMainItemId?: string | undefined;
8590
+ isPricePerCreator?: boolean | undefined;
8591
+ legacyVersion?: string | undefined;
8592
+ currentPeriodStart?: string | undefined;
8593
+ currentPeriodEnd?: string | undefined;
8594
+ subscriptionStatusUpdatedAt?: string | undefined;
8595
+ cancelAt?: string | null | undefined;
8596
+ card?: {
8597
+ cardId?: string | null | undefined;
8598
+ last4?: string | null | undefined;
8599
+ expiryMonth?: string | null | undefined;
8600
+ expiryYear?: string | null | undefined;
8601
+ brand?: string | null | undefined;
8602
+ name?: string | null | undefined;
8603
+ } | undefined;
8604
+ amount?: number | null | undefined;
8605
+ isTrial?: boolean | undefined;
8606
+ billingType?: "Auto" | "Invoice" | undefined;
8607
+ daysUntilDue?: number | undefined;
8608
+ };
8609
+ npmRegistry?: {
8610
+ registryType: "NPMJS" | "GitHub" | "Artifactory" | "Custom" | "AzureDevOps";
8611
+ registryUrl: string;
8612
+ proxyUrl: string;
8613
+ authType: "Custom" | "Basic" | "Bearer" | "None";
8614
+ enabledScopes: string[];
8615
+ bypassProxy: boolean;
8616
+ customRegistryUrl?: string | undefined;
8617
+ accessToken?: "redacted" | undefined;
8618
+ username?: string | undefined;
8619
+ password?: "redacted" | undefined;
8620
+ } | undefined;
8621
+ };
8622
+ role: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing";
8623
+ effectiveRole: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing";
8624
+ }>;
8625
+ type DTOUserWorkspaceMembership = z.infer<typeof DTOUserWorkspaceMembership>;
8626
+ declare const DTOUserWorkspaceMembershipsResponse: z.ZodObject<{
8627
+ membership: z.ZodArray<z.ZodObject<{
8628
+ workspace: z.ZodObject<{
8629
+ id: z.ZodString;
8630
+ profile: z.ZodObject<{
8631
+ name: z.ZodString;
8632
+ handle: z.ZodString;
8633
+ color: z.ZodString;
8634
+ avatar: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<string, z.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
8635
+ billingDetails: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<{
8636
+ address?: {
8637
+ street1?: string | undefined;
8638
+ street2?: string | undefined;
8639
+ city?: string | undefined;
8640
+ postal?: string | undefined;
8641
+ country?: string | undefined;
8642
+ state?: string | undefined;
8643
+ } | undefined;
8644
+ email?: string | undefined;
8645
+ companyName?: string | undefined;
8646
+ companyId?: string | undefined;
8647
+ notes?: string | undefined;
8648
+ vat?: string | undefined;
8649
+ poNumber?: string | undefined;
8650
+ }, z.ZodTypeDef, {
8651
+ address?: {
8652
+ street1?: string | null | undefined;
8653
+ street2?: string | null | undefined;
8654
+ city?: string | null | undefined;
8655
+ postal?: string | null | undefined;
8656
+ country?: string | null | undefined;
8657
+ state?: string | null | undefined;
8658
+ } | null | undefined;
8659
+ email?: string | null | undefined;
8660
+ companyName?: string | null | undefined;
8661
+ companyId?: string | null | undefined;
8662
+ notes?: string | null | undefined;
8663
+ vat?: string | null | undefined;
8664
+ poNumber?: string | null | undefined;
8665
+ }>>>, {
8666
+ address?: {
8667
+ street1?: string | undefined;
8668
+ street2?: string | undefined;
8669
+ city?: string | undefined;
8670
+ postal?: string | undefined;
8671
+ country?: string | undefined;
8672
+ state?: string | undefined;
8673
+ } | undefined;
8674
+ email?: string | undefined;
8675
+ companyName?: string | undefined;
8676
+ companyId?: string | undefined;
8677
+ notes?: string | undefined;
8678
+ vat?: string | undefined;
8679
+ poNumber?: string | undefined;
8680
+ } | undefined, {
8681
+ address?: {
8682
+ street1?: string | null | undefined;
8683
+ street2?: string | null | undefined;
8684
+ city?: string | null | undefined;
8685
+ postal?: string | null | undefined;
8686
+ country?: string | null | undefined;
8687
+ state?: string | null | undefined;
8688
+ } | null | undefined;
8689
+ email?: string | null | undefined;
8690
+ companyName?: string | null | undefined;
8691
+ companyId?: string | null | undefined;
8692
+ notes?: string | null | undefined;
8693
+ vat?: string | null | undefined;
8694
+ poNumber?: string | null | undefined;
8695
+ } | null | undefined>;
8696
+ }, "strip", z.ZodTypeAny, {
8697
+ name: string;
8698
+ color: string;
8699
+ handle: string;
8700
+ avatar?: string | undefined;
8701
+ billingDetails?: {
8702
+ address?: {
8703
+ street1?: string | undefined;
8704
+ street2?: string | undefined;
8705
+ city?: string | undefined;
8706
+ postal?: string | undefined;
8707
+ country?: string | undefined;
8708
+ state?: string | undefined;
8709
+ } | undefined;
8710
+ email?: string | undefined;
8711
+ companyName?: string | undefined;
8712
+ companyId?: string | undefined;
8713
+ notes?: string | undefined;
8714
+ vat?: string | undefined;
8715
+ poNumber?: string | undefined;
8716
+ } | undefined;
8717
+ }, {
8718
+ name: string;
8719
+ color: string;
8720
+ handle: string;
8721
+ avatar?: string | null | undefined;
8722
+ billingDetails?: {
8723
+ address?: {
8724
+ street1?: string | null | undefined;
8725
+ street2?: string | null | undefined;
8726
+ city?: string | null | undefined;
8727
+ postal?: string | null | undefined;
8728
+ country?: string | null | undefined;
8729
+ state?: string | null | undefined;
8730
+ } | null | undefined;
8731
+ email?: string | null | undefined;
8732
+ companyName?: string | null | undefined;
8733
+ companyId?: string | null | undefined;
8734
+ notes?: string | null | undefined;
8735
+ vat?: string | null | undefined;
8736
+ poNumber?: string | null | undefined;
8737
+ } | null | undefined;
8738
+ }>;
8739
+ subscription: z.ZodObject<{
8740
+ stripeSubscriptionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8741
+ stripeCustomerId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8742
+ status: z.ZodOptional<z.ZodEnum<["active", "suspended", "gracePeriod", "cancelled", "downgraded_to_free"]>>;
8743
+ subscriptionStatus: z.ZodOptional<z.ZodEnum<["trialing", "active", "past_due", "canceled", "unpaid", "incomplete_expired", "incomplete", "unknown"]>>;
8744
+ internalStatus: z.ZodOptional<z.ZodEnum<["active", "suspended", "gracePeriod", "cancelled", "downgraded_to_free"]>>;
8745
+ product: z.ZodEnum<["free", "team", "team_test", "company", "enterprise"]>;
8746
+ featuresSummary: z.ZodOptional<z.ZodObject<{
8747
+ designSystems: z.ZodObject<{
8748
+ max: z.ZodNumber;
8749
+ errorMessage: z.ZodString;
8750
+ errorReason: z.ZodString;
8751
+ }, "strip", z.ZodTypeAny, {
8752
+ max: number;
8753
+ errorMessage: string;
8754
+ errorReason: string;
8755
+ }, {
8756
+ max: number;
8757
+ errorMessage: string;
8758
+ errorReason: string;
8759
+ }>;
8760
+ designSystemSources: z.ZodObject<{
8761
+ max: z.ZodNumber;
8762
+ errorMessage: z.ZodString;
8763
+ errorReason: z.ZodString;
8764
+ noImportJobsErrorMessage: z.ZodString;
8765
+ noImportJobsErrorReason: z.ZodString;
8766
+ }, "strip", z.ZodTypeAny, {
8767
+ max: number;
8768
+ errorMessage: string;
8769
+ errorReason: string;
8770
+ noImportJobsErrorMessage: string;
8771
+ noImportJobsErrorReason: string;
8772
+ }, {
8773
+ max: number;
8774
+ errorMessage: string;
8775
+ errorReason: string;
8776
+ noImportJobsErrorMessage: string;
8777
+ noImportJobsErrorReason: string;
8778
+ }>;
8779
+ designSystemVersions: z.ZodObject<{
8780
+ max: z.ZodNumber;
8781
+ errorMessage: z.ZodString;
8782
+ errorReason: z.ZodString;
8783
+ }, "strip", z.ZodTypeAny, {
8784
+ max: number;
8785
+ errorMessage: string;
8786
+ errorReason: string;
8787
+ }, {
8788
+ max: number;
8789
+ errorMessage: string;
8790
+ errorReason: string;
8791
+ }>;
8792
+ themes: z.ZodObject<{
8793
+ max: z.ZodNumber;
8794
+ errorMessage: z.ZodString;
8795
+ errorReason: z.ZodString;
8796
+ }, "strip", z.ZodTypeAny, {
8797
+ max: number;
8798
+ errorMessage: string;
8799
+ errorReason: string;
8800
+ }, {
8801
+ max: number;
8802
+ errorMessage: string;
8803
+ errorReason: string;
8804
+ }>;
8805
+ brands: z.ZodObject<{
8806
+ max: z.ZodNumber;
8807
+ errorMessage: z.ZodString;
8808
+ errorReason: z.ZodString;
8809
+ }, "strip", z.ZodTypeAny, {
8810
+ max: number;
8811
+ errorMessage: string;
8812
+ errorReason: string;
8813
+ }, {
8814
+ max: number;
8815
+ errorMessage: string;
8816
+ errorReason: string;
8817
+ }>;
8818
+ codegenSchedules: z.ZodObject<{
8819
+ max: z.ZodNumber;
8820
+ errorMessage: z.ZodString;
8821
+ errorReason: z.ZodString;
8822
+ }, "strip", z.ZodTypeAny, {
8823
+ max: number;
8824
+ errorMessage: string;
8825
+ errorReason: string;
8826
+ }, {
8827
+ max: number;
8828
+ errorMessage: string;
8829
+ errorReason: string;
8830
+ }>;
8831
+ publicDocumentation: z.ZodObject<{
8832
+ enabled: z.ZodBoolean;
8833
+ errorMessage: z.ZodString;
8834
+ errorReason: z.ZodString;
8835
+ }, "strip", z.ZodTypeAny, {
8836
+ errorMessage: string;
8837
+ errorReason: string;
8838
+ enabled: boolean;
8839
+ }, {
8840
+ errorMessage: string;
8841
+ errorReason: string;
8842
+ enabled: boolean;
8843
+ }>;
8844
+ customDocumentationUrl: z.ZodObject<{
8845
+ enabled: z.ZodBoolean;
8846
+ errorMessage: z.ZodString;
8847
+ errorReason: z.ZodString;
8848
+ }, "strip", z.ZodTypeAny, {
8849
+ errorMessage: string;
8850
+ errorReason: string;
8851
+ enabled: boolean;
8852
+ }, {
8853
+ errorMessage: string;
8854
+ errorReason: string;
8855
+ enabled: boolean;
8856
+ }>;
8857
+ customDocumentationViewButton: z.ZodObject<{
8858
+ enabled: z.ZodBoolean;
8859
+ errorMessage: z.ZodString;
8860
+ errorReason: z.ZodString;
8861
+ }, "strip", z.ZodTypeAny, {
8862
+ errorMessage: string;
8863
+ errorReason: string;
8864
+ enabled: boolean;
8865
+ }, {
8866
+ errorMessage: string;
8867
+ errorReason: string;
8868
+ enabled: boolean;
8869
+ }>;
8870
+ designSystemSourceAutoImport: z.ZodObject<{
8871
+ enabled: z.ZodBoolean;
8872
+ errorMessage: z.ZodString;
8873
+ errorReason: z.ZodString;
8874
+ }, "strip", z.ZodTypeAny, {
8875
+ errorMessage: string;
8876
+ errorReason: string;
8877
+ enabled: boolean;
8878
+ }, {
8879
+ errorMessage: string;
8880
+ errorReason: string;
8881
+ enabled: boolean;
8882
+ }>;
8883
+ designSystemSlug: z.ZodObject<{
8884
+ enabled: z.ZodBoolean;
8885
+ errorMessage: z.ZodString;
8886
+ errorReason: z.ZodString;
8887
+ }, "strip", z.ZodTypeAny, {
8888
+ errorMessage: string;
8889
+ errorReason: string;
8890
+ enabled: boolean;
8891
+ }, {
8892
+ errorMessage: string;
8893
+ errorReason: string;
8894
+ enabled: boolean;
8895
+ }>;
8896
+ ipWhitelisting: z.ZodObject<{
8897
+ enabled: z.ZodBoolean;
8898
+ errorMessage: z.ZodString;
8899
+ errorReason: z.ZodString;
8900
+ }, "strip", z.ZodTypeAny, {
8901
+ errorMessage: string;
8902
+ errorReason: string;
8903
+ enabled: boolean;
8904
+ }, {
8905
+ errorMessage: string;
8906
+ errorReason: string;
8907
+ enabled: boolean;
8908
+ }>;
8909
+ npmRegistry: z.ZodObject<{
8910
+ enabled: z.ZodBoolean;
8911
+ errorMessage: z.ZodString;
8912
+ errorReason: z.ZodString;
8913
+ }, "strip", z.ZodTypeAny, {
8914
+ errorMessage: string;
8915
+ errorReason: string;
8916
+ enabled: boolean;
8917
+ }, {
8918
+ errorMessage: string;
8919
+ errorReason: string;
8920
+ enabled: boolean;
8921
+ }>;
8922
+ sso: z.ZodObject<{
8923
+ enabled: z.ZodBoolean;
8924
+ errorMessage: z.ZodString;
8925
+ errorReason: z.ZodString;
8926
+ }, "strip", z.ZodTypeAny, {
8927
+ errorMessage: string;
8928
+ errorReason: string;
8929
+ enabled: boolean;
8930
+ }, {
8931
+ errorMessage: string;
8932
+ errorReason: string;
8933
+ enabled: boolean;
8934
+ }>;
8935
+ workspacePaidSeats: z.ZodObject<{
8936
+ max: z.ZodNumber;
8937
+ errorMessage: z.ZodString;
8938
+ errorReason: z.ZodString;
8939
+ }, "strip", z.ZodTypeAny, {
8940
+ max: number;
8941
+ errorMessage: string;
8942
+ errorReason: string;
8943
+ }, {
8944
+ max: number;
8945
+ errorMessage: string;
8946
+ errorReason: string;
8947
+ }>;
8948
+ workspaceViewers: z.ZodObject<{
8949
+ max: z.ZodNumber;
8950
+ errorMessage: z.ZodString;
8951
+ errorReason: z.ZodString;
8952
+ }, "strip", z.ZodTypeAny, {
8953
+ max: number;
8954
+ errorMessage: string;
8955
+ errorReason: string;
8956
+ }, {
8957
+ max: number;
8958
+ errorMessage: string;
8959
+ errorReason: string;
8960
+ }>;
8961
+ customDocumentationExporter: z.ZodObject<{
8962
+ enabled: z.ZodBoolean;
8963
+ errorMessage: z.ZodString;
8964
+ errorReason: z.ZodString;
8965
+ }, "strip", z.ZodTypeAny, {
8966
+ errorMessage: string;
8967
+ errorReason: string;
8968
+ enabled: boolean;
8969
+ }, {
8970
+ errorMessage: string;
8971
+ errorReason: string;
8972
+ enabled: boolean;
8973
+ }>;
8974
+ }, "strip", z.ZodTypeAny, {
8975
+ designSystems: {
8976
+ max: number;
8977
+ errorMessage: string;
8978
+ errorReason: string;
8979
+ };
8980
+ designSystemSources: {
8981
+ max: number;
8982
+ errorMessage: string;
8983
+ errorReason: string;
8984
+ noImportJobsErrorMessage: string;
8985
+ noImportJobsErrorReason: string;
8986
+ };
8987
+ designSystemVersions: {
8988
+ max: number;
8989
+ errorMessage: string;
8990
+ errorReason: string;
8991
+ };
8992
+ themes: {
8993
+ max: number;
8994
+ errorMessage: string;
8995
+ errorReason: string;
8996
+ };
8997
+ brands: {
8998
+ max: number;
8999
+ errorMessage: string;
9000
+ errorReason: string;
9001
+ };
9002
+ codegenSchedules: {
9003
+ max: number;
9004
+ errorMessage: string;
9005
+ errorReason: string;
9006
+ };
9007
+ publicDocumentation: {
9008
+ errorMessage: string;
9009
+ errorReason: string;
9010
+ enabled: boolean;
9011
+ };
9012
+ customDocumentationUrl: {
9013
+ errorMessage: string;
9014
+ errorReason: string;
9015
+ enabled: boolean;
9016
+ };
9017
+ customDocumentationViewButton: {
9018
+ errorMessage: string;
9019
+ errorReason: string;
9020
+ enabled: boolean;
9021
+ };
9022
+ designSystemSourceAutoImport: {
9023
+ errorMessage: string;
9024
+ errorReason: string;
9025
+ enabled: boolean;
9026
+ };
9027
+ designSystemSlug: {
9028
+ errorMessage: string;
9029
+ errorReason: string;
9030
+ enabled: boolean;
9031
+ };
9032
+ ipWhitelisting: {
9033
+ errorMessage: string;
9034
+ errorReason: string;
9035
+ enabled: boolean;
9036
+ };
9037
+ npmRegistry: {
9038
+ errorMessage: string;
9039
+ errorReason: string;
9040
+ enabled: boolean;
9041
+ };
9042
+ sso: {
9043
+ errorMessage: string;
9044
+ errorReason: string;
9045
+ enabled: boolean;
9046
+ };
9047
+ workspacePaidSeats: {
9048
+ max: number;
9049
+ errorMessage: string;
9050
+ errorReason: string;
9051
+ };
9052
+ workspaceViewers: {
9053
+ max: number;
9054
+ errorMessage: string;
9055
+ errorReason: string;
9056
+ };
9057
+ customDocumentationExporter: {
9058
+ errorMessage: string;
9059
+ errorReason: string;
9060
+ enabled: boolean;
9061
+ };
9062
+ }, {
9063
+ designSystems: {
9064
+ max: number;
9065
+ errorMessage: string;
9066
+ errorReason: string;
9067
+ };
9068
+ designSystemSources: {
9069
+ max: number;
9070
+ errorMessage: string;
9071
+ errorReason: string;
9072
+ noImportJobsErrorMessage: string;
9073
+ noImportJobsErrorReason: string;
9074
+ };
9075
+ designSystemVersions: {
9076
+ max: number;
9077
+ errorMessage: string;
9078
+ errorReason: string;
9079
+ };
9080
+ themes: {
9081
+ max: number;
9082
+ errorMessage: string;
9083
+ errorReason: string;
9084
+ };
9085
+ brands: {
9086
+ max: number;
9087
+ errorMessage: string;
9088
+ errorReason: string;
9089
+ };
9090
+ codegenSchedules: {
9091
+ max: number;
9092
+ errorMessage: string;
9093
+ errorReason: string;
9094
+ };
9095
+ publicDocumentation: {
9096
+ errorMessage: string;
9097
+ errorReason: string;
9098
+ enabled: boolean;
9099
+ };
9100
+ customDocumentationUrl: {
9101
+ errorMessage: string;
9102
+ errorReason: string;
9103
+ enabled: boolean;
9104
+ };
9105
+ customDocumentationViewButton: {
9106
+ errorMessage: string;
9107
+ errorReason: string;
9108
+ enabled: boolean;
9109
+ };
9110
+ designSystemSourceAutoImport: {
9111
+ errorMessage: string;
9112
+ errorReason: string;
9113
+ enabled: boolean;
9114
+ };
9115
+ designSystemSlug: {
9116
+ errorMessage: string;
9117
+ errorReason: string;
9118
+ enabled: boolean;
9119
+ };
9120
+ ipWhitelisting: {
9121
+ errorMessage: string;
9122
+ errorReason: string;
9123
+ enabled: boolean;
9124
+ };
9125
+ npmRegistry: {
9126
+ errorMessage: string;
9127
+ errorReason: string;
9128
+ enabled: boolean;
9129
+ };
9130
+ sso: {
9131
+ errorMessage: string;
9132
+ errorReason: string;
9133
+ enabled: boolean;
9134
+ };
9135
+ workspacePaidSeats: {
9136
+ max: number;
9137
+ errorMessage: string;
9138
+ errorReason: string;
9139
+ };
9140
+ workspaceViewers: {
9141
+ max: number;
9142
+ errorMessage: string;
9143
+ errorReason: string;
9144
+ };
9145
+ customDocumentationExporter: {
9146
+ errorMessage: string;
9147
+ errorReason: string;
9148
+ enabled: boolean;
9149
+ };
9150
+ }>>;
9151
+ stripeProductDescription: z.ZodOptional<z.ZodString>;
9152
+ stripeProductFeatures: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
9153
+ stripeProductAdditionalFeatures: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
9154
+ stripeSubscriptionMainItemId: z.ZodOptional<z.ZodString>;
9155
+ planPriceId: z.ZodString;
9156
+ planInterval: z.ZodEnum<["daily", "monthly", "weekly", "yearly"]>;
9157
+ isPricePerCreator: z.ZodOptional<z.ZodBoolean>;
9158
+ legacyVersion: z.ZodOptional<z.ZodString>;
9159
+ seats: z.ZodNumber;
9160
+ seatLimit: z.ZodNumber;
9161
+ currentPeriodStart: z.ZodOptional<z.ZodString>;
9162
+ currentPeriodEnd: z.ZodOptional<z.ZodString>;
9163
+ subscriptionStatusUpdatedAt: z.ZodOptional<z.ZodString>;
9164
+ cancelAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9165
+ card: z.ZodOptional<z.ZodObject<{
9166
+ cardId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9167
+ last4: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9168
+ expiryMonth: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9169
+ expiryYear: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9170
+ brand: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9171
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9172
+ }, "strip", z.ZodTypeAny, {
9173
+ cardId?: string | null | undefined;
9174
+ last4?: string | null | undefined;
9175
+ expiryMonth?: string | null | undefined;
9176
+ expiryYear?: string | null | undefined;
9177
+ brand?: string | null | undefined;
9178
+ name?: string | null | undefined;
9179
+ }, {
9180
+ cardId?: string | null | undefined;
9181
+ last4?: string | null | undefined;
9182
+ expiryMonth?: string | null | undefined;
9183
+ expiryYear?: string | null | undefined;
9184
+ brand?: string | null | undefined;
9185
+ name?: string | null | undefined;
9186
+ }>>;
9187
+ amount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
9188
+ isTrial: z.ZodOptional<z.ZodBoolean>;
9189
+ billingType: z.ZodOptional<z.ZodEnum<["Auto", "Invoice"]>>;
9190
+ daysUntilDue: z.ZodOptional<z.ZodNumber>;
9191
+ }, "strip", z.ZodTypeAny, {
9192
+ product: "free" | "team" | "team_test" | "company" | "enterprise";
9193
+ planPriceId: string;
9194
+ planInterval: "daily" | "monthly" | "weekly" | "yearly";
9195
+ seats: number;
9196
+ seatLimit: number;
9197
+ stripeSubscriptionId?: string | null | undefined;
9198
+ stripeCustomerId?: string | null | undefined;
9199
+ status?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
9200
+ subscriptionStatus?: "unknown" | "active" | "trialing" | "past_due" | "canceled" | "unpaid" | "incomplete_expired" | "incomplete" | undefined;
9201
+ internalStatus?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
9202
+ featuresSummary?: {
9203
+ designSystems: {
9204
+ max: number;
9205
+ errorMessage: string;
9206
+ errorReason: string;
9207
+ };
9208
+ designSystemSources: {
9209
+ max: number;
9210
+ errorMessage: string;
9211
+ errorReason: string;
9212
+ noImportJobsErrorMessage: string;
9213
+ noImportJobsErrorReason: string;
9214
+ };
9215
+ designSystemVersions: {
9216
+ max: number;
9217
+ errorMessage: string;
9218
+ errorReason: string;
9219
+ };
9220
+ themes: {
9221
+ max: number;
9222
+ errorMessage: string;
9223
+ errorReason: string;
9224
+ };
9225
+ brands: {
9226
+ max: number;
9227
+ errorMessage: string;
9228
+ errorReason: string;
9229
+ };
9230
+ codegenSchedules: {
9231
+ max: number;
9232
+ errorMessage: string;
9233
+ errorReason: string;
9234
+ };
9235
+ publicDocumentation: {
9236
+ errorMessage: string;
9237
+ errorReason: string;
9238
+ enabled: boolean;
9239
+ };
9240
+ customDocumentationUrl: {
9241
+ errorMessage: string;
9242
+ errorReason: string;
9243
+ enabled: boolean;
9244
+ };
9245
+ customDocumentationViewButton: {
9246
+ errorMessage: string;
9247
+ errorReason: string;
9248
+ enabled: boolean;
9249
+ };
9250
+ designSystemSourceAutoImport: {
9251
+ errorMessage: string;
9252
+ errorReason: string;
9253
+ enabled: boolean;
9254
+ };
9255
+ designSystemSlug: {
9256
+ errorMessage: string;
9257
+ errorReason: string;
9258
+ enabled: boolean;
9259
+ };
9260
+ ipWhitelisting: {
9261
+ errorMessage: string;
9262
+ errorReason: string;
9263
+ enabled: boolean;
9264
+ };
9265
+ npmRegistry: {
9266
+ errorMessage: string;
9267
+ errorReason: string;
9268
+ enabled: boolean;
9269
+ };
9270
+ sso: {
9271
+ errorMessage: string;
9272
+ errorReason: string;
9273
+ enabled: boolean;
9274
+ };
9275
+ workspacePaidSeats: {
9276
+ max: number;
9277
+ errorMessage: string;
9278
+ errorReason: string;
9279
+ };
9280
+ workspaceViewers: {
9281
+ max: number;
9282
+ errorMessage: string;
9283
+ errorReason: string;
9284
+ };
9285
+ customDocumentationExporter: {
9286
+ errorMessage: string;
9287
+ errorReason: string;
9288
+ enabled: boolean;
9289
+ };
9290
+ } | undefined;
9291
+ stripeProductDescription?: string | undefined;
9292
+ stripeProductFeatures?: string[] | undefined;
9293
+ stripeProductAdditionalFeatures?: string[] | undefined;
9294
+ stripeSubscriptionMainItemId?: string | undefined;
9295
+ isPricePerCreator?: boolean | undefined;
9296
+ legacyVersion?: string | undefined;
9297
+ currentPeriodStart?: string | undefined;
9298
+ currentPeriodEnd?: string | undefined;
9299
+ subscriptionStatusUpdatedAt?: string | undefined;
9300
+ cancelAt?: string | null | undefined;
9301
+ card?: {
9302
+ cardId?: string | null | undefined;
9303
+ last4?: string | null | undefined;
9304
+ expiryMonth?: string | null | undefined;
9305
+ expiryYear?: string | null | undefined;
9306
+ brand?: string | null | undefined;
9307
+ name?: string | null | undefined;
9308
+ } | undefined;
9309
+ amount?: number | null | undefined;
9310
+ isTrial?: boolean | undefined;
9311
+ billingType?: "Auto" | "Invoice" | undefined;
9312
+ daysUntilDue?: number | undefined;
9313
+ }, {
9314
+ product: "free" | "team" | "team_test" | "company" | "enterprise";
9315
+ planPriceId: string;
9316
+ planInterval: "daily" | "monthly" | "weekly" | "yearly";
9317
+ seats: number;
9318
+ seatLimit: number;
9319
+ stripeSubscriptionId?: string | null | undefined;
9320
+ stripeCustomerId?: string | null | undefined;
9321
+ status?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
9322
+ subscriptionStatus?: "unknown" | "active" | "trialing" | "past_due" | "canceled" | "unpaid" | "incomplete_expired" | "incomplete" | undefined;
9323
+ internalStatus?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
9324
+ featuresSummary?: {
9325
+ designSystems: {
9326
+ max: number;
9327
+ errorMessage: string;
9328
+ errorReason: string;
9329
+ };
9330
+ designSystemSources: {
9331
+ max: number;
9332
+ errorMessage: string;
9333
+ errorReason: string;
9334
+ noImportJobsErrorMessage: string;
9335
+ noImportJobsErrorReason: string;
9336
+ };
9337
+ designSystemVersions: {
9338
+ max: number;
9339
+ errorMessage: string;
9340
+ errorReason: string;
9341
+ };
9342
+ themes: {
9343
+ max: number;
9344
+ errorMessage: string;
9345
+ errorReason: string;
9346
+ };
9347
+ brands: {
9348
+ max: number;
9349
+ errorMessage: string;
9350
+ errorReason: string;
9351
+ };
9352
+ codegenSchedules: {
9353
+ max: number;
9354
+ errorMessage: string;
9355
+ errorReason: string;
9356
+ };
9357
+ publicDocumentation: {
9358
+ errorMessage: string;
9359
+ errorReason: string;
9360
+ enabled: boolean;
9361
+ };
9362
+ customDocumentationUrl: {
9363
+ errorMessage: string;
9364
+ errorReason: string;
9365
+ enabled: boolean;
9366
+ };
9367
+ customDocumentationViewButton: {
9368
+ errorMessage: string;
9369
+ errorReason: string;
9370
+ enabled: boolean;
9371
+ };
9372
+ designSystemSourceAutoImport: {
9373
+ errorMessage: string;
9374
+ errorReason: string;
9375
+ enabled: boolean;
9376
+ };
9377
+ designSystemSlug: {
9378
+ errorMessage: string;
9379
+ errorReason: string;
9380
+ enabled: boolean;
9381
+ };
9382
+ ipWhitelisting: {
9383
+ errorMessage: string;
9384
+ errorReason: string;
9385
+ enabled: boolean;
9386
+ };
9387
+ npmRegistry: {
9388
+ errorMessage: string;
9389
+ errorReason: string;
9390
+ enabled: boolean;
9391
+ };
9392
+ sso: {
9393
+ errorMessage: string;
9394
+ errorReason: string;
9395
+ enabled: boolean;
9396
+ };
9397
+ workspacePaidSeats: {
9398
+ max: number;
9399
+ errorMessage: string;
9400
+ errorReason: string;
9401
+ };
9402
+ workspaceViewers: {
9403
+ max: number;
9404
+ errorMessage: string;
9405
+ errorReason: string;
9406
+ };
9407
+ customDocumentationExporter: {
9408
+ errorMessage: string;
9409
+ errorReason: string;
9410
+ enabled: boolean;
9411
+ };
9412
+ } | undefined;
9413
+ stripeProductDescription?: string | undefined;
9414
+ stripeProductFeatures?: string[] | undefined;
9415
+ stripeProductAdditionalFeatures?: string[] | undefined;
9416
+ stripeSubscriptionMainItemId?: string | undefined;
9417
+ isPricePerCreator?: boolean | undefined;
9418
+ legacyVersion?: string | undefined;
9419
+ currentPeriodStart?: string | undefined;
9420
+ currentPeriodEnd?: string | undefined;
9421
+ subscriptionStatusUpdatedAt?: string | undefined;
9422
+ cancelAt?: string | null | undefined;
9423
+ card?: {
9424
+ cardId?: string | null | undefined;
9425
+ last4?: string | null | undefined;
9426
+ expiryMonth?: string | null | undefined;
9427
+ expiryYear?: string | null | undefined;
9428
+ brand?: string | null | undefined;
9429
+ name?: string | null | undefined;
9430
+ } | undefined;
9431
+ amount?: number | null | undefined;
9432
+ isTrial?: boolean | undefined;
9433
+ billingType?: "Auto" | "Invoice" | undefined;
9434
+ daysUntilDue?: number | undefined;
9435
+ }>;
9436
+ npmRegistry: z.ZodOptional<z.ZodObject<{
9437
+ registryType: z.ZodEnum<["NPMJS", "GitHub", "Artifactory", "Custom", "AzureDevOps"]>;
9438
+ registryUrl: z.ZodString;
9439
+ customRegistryUrl: z.ZodOptional<z.ZodString>;
9440
+ proxyUrl: z.ZodString;
9441
+ authType: z.ZodEnum<["Basic", "Bearer", "None", "Custom"]>;
9442
+ accessToken: z.ZodOptional<z.ZodLiteral<"redacted">>;
9443
+ username: z.ZodOptional<z.ZodString>;
9444
+ password: z.ZodOptional<z.ZodLiteral<"redacted">>;
9445
+ enabledScopes: z.ZodArray<z.ZodString, "many">;
9446
+ bypassProxy: z.ZodBoolean;
9447
+ }, "strip", z.ZodTypeAny, {
9448
+ registryType: "NPMJS" | "GitHub" | "Artifactory" | "Custom" | "AzureDevOps";
9449
+ registryUrl: string;
9450
+ proxyUrl: string;
9451
+ authType: "Custom" | "Basic" | "Bearer" | "None";
9452
+ enabledScopes: string[];
9453
+ bypassProxy: boolean;
9454
+ customRegistryUrl?: string | undefined;
9455
+ accessToken?: "redacted" | undefined;
9456
+ username?: string | undefined;
9457
+ password?: "redacted" | undefined;
9458
+ }, {
9459
+ registryType: "NPMJS" | "GitHub" | "Artifactory" | "Custom" | "AzureDevOps";
9460
+ registryUrl: string;
9461
+ proxyUrl: string;
9462
+ authType: "Custom" | "Basic" | "Bearer" | "None";
9463
+ enabledScopes: string[];
9464
+ bypassProxy: boolean;
9465
+ customRegistryUrl?: string | undefined;
9466
+ accessToken?: "redacted" | undefined;
9467
+ username?: string | undefined;
9468
+ password?: "redacted" | undefined;
9469
+ }>>;
9470
+ }, "strip", z.ZodTypeAny, {
9471
+ id: string;
9472
+ profile: {
9473
+ name: string;
9474
+ color: string;
9475
+ handle: string;
9476
+ avatar?: string | undefined;
9477
+ billingDetails?: {
9478
+ address?: {
9479
+ street1?: string | undefined;
9480
+ street2?: string | undefined;
9481
+ city?: string | undefined;
9482
+ postal?: string | undefined;
9483
+ country?: string | undefined;
9484
+ state?: string | undefined;
9485
+ } | undefined;
9486
+ email?: string | undefined;
9487
+ companyName?: string | undefined;
9488
+ companyId?: string | undefined;
9489
+ notes?: string | undefined;
9490
+ vat?: string | undefined;
9491
+ poNumber?: string | undefined;
9492
+ } | undefined;
9493
+ };
9494
+ subscription: {
9495
+ product: "free" | "team" | "team_test" | "company" | "enterprise";
9496
+ planPriceId: string;
9497
+ planInterval: "daily" | "monthly" | "weekly" | "yearly";
9498
+ seats: number;
9499
+ seatLimit: number;
9500
+ stripeSubscriptionId?: string | null | undefined;
9501
+ stripeCustomerId?: string | null | undefined;
9502
+ status?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
9503
+ subscriptionStatus?: "unknown" | "active" | "trialing" | "past_due" | "canceled" | "unpaid" | "incomplete_expired" | "incomplete" | undefined;
9504
+ internalStatus?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
9505
+ featuresSummary?: {
9506
+ designSystems: {
9507
+ max: number;
9508
+ errorMessage: string;
9509
+ errorReason: string;
9510
+ };
9511
+ designSystemSources: {
9512
+ max: number;
9513
+ errorMessage: string;
9514
+ errorReason: string;
9515
+ noImportJobsErrorMessage: string;
9516
+ noImportJobsErrorReason: string;
9517
+ };
9518
+ designSystemVersions: {
9519
+ max: number;
9520
+ errorMessage: string;
9521
+ errorReason: string;
9522
+ };
9523
+ themes: {
9524
+ max: number;
9525
+ errorMessage: string;
9526
+ errorReason: string;
9527
+ };
9528
+ brands: {
9529
+ max: number;
9530
+ errorMessage: string;
9531
+ errorReason: string;
9532
+ };
9533
+ codegenSchedules: {
9534
+ max: number;
9535
+ errorMessage: string;
9536
+ errorReason: string;
9537
+ };
9538
+ publicDocumentation: {
9539
+ errorMessage: string;
9540
+ errorReason: string;
9541
+ enabled: boolean;
9542
+ };
9543
+ customDocumentationUrl: {
9544
+ errorMessage: string;
9545
+ errorReason: string;
9546
+ enabled: boolean;
9547
+ };
9548
+ customDocumentationViewButton: {
9549
+ errorMessage: string;
9550
+ errorReason: string;
9551
+ enabled: boolean;
9552
+ };
9553
+ designSystemSourceAutoImport: {
9554
+ errorMessage: string;
9555
+ errorReason: string;
9556
+ enabled: boolean;
9557
+ };
9558
+ designSystemSlug: {
9559
+ errorMessage: string;
9560
+ errorReason: string;
9561
+ enabled: boolean;
9562
+ };
9563
+ ipWhitelisting: {
9564
+ errorMessage: string;
9565
+ errorReason: string;
9566
+ enabled: boolean;
9567
+ };
9568
+ npmRegistry: {
9569
+ errorMessage: string;
9570
+ errorReason: string;
9571
+ enabled: boolean;
9572
+ };
9573
+ sso: {
9574
+ errorMessage: string;
9575
+ errorReason: string;
9576
+ enabled: boolean;
9577
+ };
9578
+ workspacePaidSeats: {
9579
+ max: number;
9580
+ errorMessage: string;
9581
+ errorReason: string;
9582
+ };
9583
+ workspaceViewers: {
9584
+ max: number;
9585
+ errorMessage: string;
9586
+ errorReason: string;
9587
+ };
9588
+ customDocumentationExporter: {
9589
+ errorMessage: string;
9590
+ errorReason: string;
9591
+ enabled: boolean;
9592
+ };
9593
+ } | undefined;
9594
+ stripeProductDescription?: string | undefined;
9595
+ stripeProductFeatures?: string[] | undefined;
9596
+ stripeProductAdditionalFeatures?: string[] | undefined;
9597
+ stripeSubscriptionMainItemId?: string | undefined;
9598
+ isPricePerCreator?: boolean | undefined;
9599
+ legacyVersion?: string | undefined;
9600
+ currentPeriodStart?: string | undefined;
9601
+ currentPeriodEnd?: string | undefined;
9602
+ subscriptionStatusUpdatedAt?: string | undefined;
9603
+ cancelAt?: string | null | undefined;
9604
+ card?: {
9605
+ cardId?: string | null | undefined;
9606
+ last4?: string | null | undefined;
9607
+ expiryMonth?: string | null | undefined;
9608
+ expiryYear?: string | null | undefined;
9609
+ brand?: string | null | undefined;
9610
+ name?: string | null | undefined;
9611
+ } | undefined;
9612
+ amount?: number | null | undefined;
9613
+ isTrial?: boolean | undefined;
9614
+ billingType?: "Auto" | "Invoice" | undefined;
9615
+ daysUntilDue?: number | undefined;
9616
+ };
9617
+ npmRegistry?: {
9618
+ registryType: "NPMJS" | "GitHub" | "Artifactory" | "Custom" | "AzureDevOps";
9619
+ registryUrl: string;
9620
+ proxyUrl: string;
9621
+ authType: "Custom" | "Basic" | "Bearer" | "None";
9622
+ enabledScopes: string[];
9623
+ bypassProxy: boolean;
9624
+ customRegistryUrl?: string | undefined;
9625
+ accessToken?: "redacted" | undefined;
9626
+ username?: string | undefined;
9627
+ password?: "redacted" | undefined;
9628
+ } | undefined;
9629
+ }, {
9630
+ id: string;
9631
+ profile: {
9632
+ name: string;
9633
+ color: string;
9634
+ handle: string;
9635
+ avatar?: string | null | undefined;
9636
+ billingDetails?: {
9637
+ address?: {
9638
+ street1?: string | null | undefined;
9639
+ street2?: string | null | undefined;
9640
+ city?: string | null | undefined;
9641
+ postal?: string | null | undefined;
9642
+ country?: string | null | undefined;
9643
+ state?: string | null | undefined;
9644
+ } | null | undefined;
9645
+ email?: string | null | undefined;
9646
+ companyName?: string | null | undefined;
9647
+ companyId?: string | null | undefined;
9648
+ notes?: string | null | undefined;
9649
+ vat?: string | null | undefined;
9650
+ poNumber?: string | null | undefined;
9651
+ } | null | undefined;
9652
+ };
9653
+ subscription: {
9654
+ product: "free" | "team" | "team_test" | "company" | "enterprise";
9655
+ planPriceId: string;
9656
+ planInterval: "daily" | "monthly" | "weekly" | "yearly";
9657
+ seats: number;
9658
+ seatLimit: number;
9659
+ stripeSubscriptionId?: string | null | undefined;
9660
+ stripeCustomerId?: string | null | undefined;
9661
+ status?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
9662
+ subscriptionStatus?: "unknown" | "active" | "trialing" | "past_due" | "canceled" | "unpaid" | "incomplete_expired" | "incomplete" | undefined;
9663
+ internalStatus?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
9664
+ featuresSummary?: {
9665
+ designSystems: {
9666
+ max: number;
9667
+ errorMessage: string;
9668
+ errorReason: string;
9669
+ };
9670
+ designSystemSources: {
9671
+ max: number;
9672
+ errorMessage: string;
9673
+ errorReason: string;
9674
+ noImportJobsErrorMessage: string;
9675
+ noImportJobsErrorReason: string;
9676
+ };
9677
+ designSystemVersions: {
9678
+ max: number;
9679
+ errorMessage: string;
9680
+ errorReason: string;
9681
+ };
9682
+ themes: {
9683
+ max: number;
9684
+ errorMessage: string;
9685
+ errorReason: string;
9686
+ };
9687
+ brands: {
9688
+ max: number;
9689
+ errorMessage: string;
9690
+ errorReason: string;
9691
+ };
9692
+ codegenSchedules: {
9693
+ max: number;
9694
+ errorMessage: string;
9695
+ errorReason: string;
9696
+ };
9697
+ publicDocumentation: {
9698
+ errorMessage: string;
9699
+ errorReason: string;
9700
+ enabled: boolean;
9701
+ };
9702
+ customDocumentationUrl: {
9703
+ errorMessage: string;
9704
+ errorReason: string;
9705
+ enabled: boolean;
9706
+ };
9707
+ customDocumentationViewButton: {
9708
+ errorMessage: string;
9709
+ errorReason: string;
9710
+ enabled: boolean;
9711
+ };
9712
+ designSystemSourceAutoImport: {
9713
+ errorMessage: string;
9714
+ errorReason: string;
9715
+ enabled: boolean;
9716
+ };
9717
+ designSystemSlug: {
9718
+ errorMessage: string;
9719
+ errorReason: string;
9720
+ enabled: boolean;
9721
+ };
9722
+ ipWhitelisting: {
9723
+ errorMessage: string;
9724
+ errorReason: string;
9725
+ enabled: boolean;
9726
+ };
9727
+ npmRegistry: {
9728
+ errorMessage: string;
9729
+ errorReason: string;
9730
+ enabled: boolean;
9731
+ };
9732
+ sso: {
9733
+ errorMessage: string;
9734
+ errorReason: string;
9735
+ enabled: boolean;
9736
+ };
9737
+ workspacePaidSeats: {
9738
+ max: number;
9739
+ errorMessage: string;
9740
+ errorReason: string;
9741
+ };
9742
+ workspaceViewers: {
9743
+ max: number;
9744
+ errorMessage: string;
9745
+ errorReason: string;
9746
+ };
9747
+ customDocumentationExporter: {
9748
+ errorMessage: string;
9749
+ errorReason: string;
9750
+ enabled: boolean;
9751
+ };
9752
+ } | undefined;
9753
+ stripeProductDescription?: string | undefined;
9754
+ stripeProductFeatures?: string[] | undefined;
9755
+ stripeProductAdditionalFeatures?: string[] | undefined;
9756
+ stripeSubscriptionMainItemId?: string | undefined;
9757
+ isPricePerCreator?: boolean | undefined;
9758
+ legacyVersion?: string | undefined;
9759
+ currentPeriodStart?: string | undefined;
9760
+ currentPeriodEnd?: string | undefined;
9761
+ subscriptionStatusUpdatedAt?: string | undefined;
9762
+ cancelAt?: string | null | undefined;
9763
+ card?: {
9764
+ cardId?: string | null | undefined;
9765
+ last4?: string | null | undefined;
9766
+ expiryMonth?: string | null | undefined;
9767
+ expiryYear?: string | null | undefined;
9768
+ brand?: string | null | undefined;
9769
+ name?: string | null | undefined;
9770
+ } | undefined;
9771
+ amount?: number | null | undefined;
9772
+ isTrial?: boolean | undefined;
9773
+ billingType?: "Auto" | "Invoice" | undefined;
9774
+ daysUntilDue?: number | undefined;
9775
+ };
9776
+ npmRegistry?: {
9777
+ registryType: "NPMJS" | "GitHub" | "Artifactory" | "Custom" | "AzureDevOps";
9778
+ registryUrl: string;
9779
+ proxyUrl: string;
9780
+ authType: "Custom" | "Basic" | "Bearer" | "None";
9781
+ enabledScopes: string[];
9782
+ bypassProxy: boolean;
9783
+ customRegistryUrl?: string | undefined;
9784
+ accessToken?: "redacted" | undefined;
9785
+ username?: string | undefined;
9786
+ password?: "redacted" | undefined;
9787
+ } | undefined;
9788
+ }>;
9789
+ role: z.ZodEnum<["Owner", "Admin", "Creator", "Viewer", "Billing"]>;
9790
+ effectiveRole: z.ZodEnum<["Owner", "Admin", "Creator", "Viewer", "Billing"]>;
9791
+ }, "strip", z.ZodTypeAny, {
9792
+ workspace: {
9793
+ id: string;
9794
+ profile: {
9795
+ name: string;
9796
+ color: string;
9797
+ handle: string;
9798
+ avatar?: string | undefined;
9799
+ billingDetails?: {
9800
+ address?: {
9801
+ street1?: string | undefined;
9802
+ street2?: string | undefined;
9803
+ city?: string | undefined;
9804
+ postal?: string | undefined;
9805
+ country?: string | undefined;
9806
+ state?: string | undefined;
9807
+ } | undefined;
9808
+ email?: string | undefined;
9809
+ companyName?: string | undefined;
9810
+ companyId?: string | undefined;
9811
+ notes?: string | undefined;
9812
+ vat?: string | undefined;
9813
+ poNumber?: string | undefined;
9814
+ } | undefined;
9815
+ };
9816
+ subscription: {
9817
+ product: "free" | "team" | "team_test" | "company" | "enterprise";
9818
+ planPriceId: string;
9819
+ planInterval: "daily" | "monthly" | "weekly" | "yearly";
9820
+ seats: number;
9821
+ seatLimit: number;
9822
+ stripeSubscriptionId?: string | null | undefined;
9823
+ stripeCustomerId?: string | null | undefined;
9824
+ status?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
9825
+ subscriptionStatus?: "unknown" | "active" | "trialing" | "past_due" | "canceled" | "unpaid" | "incomplete_expired" | "incomplete" | undefined;
9826
+ internalStatus?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
9827
+ featuresSummary?: {
9828
+ designSystems: {
9829
+ max: number;
9830
+ errorMessage: string;
9831
+ errorReason: string;
9832
+ };
9833
+ designSystemSources: {
9834
+ max: number;
9835
+ errorMessage: string;
9836
+ errorReason: string;
9837
+ noImportJobsErrorMessage: string;
9838
+ noImportJobsErrorReason: string;
9839
+ };
9840
+ designSystemVersions: {
9841
+ max: number;
9842
+ errorMessage: string;
9843
+ errorReason: string;
9844
+ };
9845
+ themes: {
9846
+ max: number;
9847
+ errorMessage: string;
9848
+ errorReason: string;
9849
+ };
9850
+ brands: {
9851
+ max: number;
9852
+ errorMessage: string;
9853
+ errorReason: string;
9854
+ };
9855
+ codegenSchedules: {
9856
+ max: number;
9857
+ errorMessage: string;
9858
+ errorReason: string;
9859
+ };
9860
+ publicDocumentation: {
9861
+ errorMessage: string;
9862
+ errorReason: string;
9863
+ enabled: boolean;
9864
+ };
9865
+ customDocumentationUrl: {
9866
+ errorMessage: string;
9867
+ errorReason: string;
9868
+ enabled: boolean;
9869
+ };
9870
+ customDocumentationViewButton: {
9871
+ errorMessage: string;
9872
+ errorReason: string;
9873
+ enabled: boolean;
9874
+ };
9875
+ designSystemSourceAutoImport: {
9876
+ errorMessage: string;
9877
+ errorReason: string;
9878
+ enabled: boolean;
9879
+ };
9880
+ designSystemSlug: {
9881
+ errorMessage: string;
9882
+ errorReason: string;
9883
+ enabled: boolean;
9884
+ };
9885
+ ipWhitelisting: {
9886
+ errorMessage: string;
9887
+ errorReason: string;
9888
+ enabled: boolean;
9889
+ };
9890
+ npmRegistry: {
9891
+ errorMessage: string;
9892
+ errorReason: string;
9893
+ enabled: boolean;
9894
+ };
9895
+ sso: {
9896
+ errorMessage: string;
9897
+ errorReason: string;
9898
+ enabled: boolean;
9899
+ };
9900
+ workspacePaidSeats: {
9901
+ max: number;
9902
+ errorMessage: string;
9903
+ errorReason: string;
9904
+ };
9905
+ workspaceViewers: {
9906
+ max: number;
9907
+ errorMessage: string;
9908
+ errorReason: string;
9909
+ };
9910
+ customDocumentationExporter: {
9911
+ errorMessage: string;
9912
+ errorReason: string;
9913
+ enabled: boolean;
9914
+ };
9915
+ } | undefined;
9916
+ stripeProductDescription?: string | undefined;
9917
+ stripeProductFeatures?: string[] | undefined;
9918
+ stripeProductAdditionalFeatures?: string[] | undefined;
9919
+ stripeSubscriptionMainItemId?: string | undefined;
9920
+ isPricePerCreator?: boolean | undefined;
9921
+ legacyVersion?: string | undefined;
9922
+ currentPeriodStart?: string | undefined;
9923
+ currentPeriodEnd?: string | undefined;
9924
+ subscriptionStatusUpdatedAt?: string | undefined;
9925
+ cancelAt?: string | null | undefined;
9926
+ card?: {
9927
+ cardId?: string | null | undefined;
9928
+ last4?: string | null | undefined;
9929
+ expiryMonth?: string | null | undefined;
9930
+ expiryYear?: string | null | undefined;
9931
+ brand?: string | null | undefined;
9932
+ name?: string | null | undefined;
9933
+ } | undefined;
9934
+ amount?: number | null | undefined;
9935
+ isTrial?: boolean | undefined;
9936
+ billingType?: "Auto" | "Invoice" | undefined;
9937
+ daysUntilDue?: number | undefined;
9938
+ };
9939
+ npmRegistry?: {
9940
+ registryType: "NPMJS" | "GitHub" | "Artifactory" | "Custom" | "AzureDevOps";
9941
+ registryUrl: string;
9942
+ proxyUrl: string;
9943
+ authType: "Custom" | "Basic" | "Bearer" | "None";
9944
+ enabledScopes: string[];
9945
+ bypassProxy: boolean;
9946
+ customRegistryUrl?: string | undefined;
9947
+ accessToken?: "redacted" | undefined;
9948
+ username?: string | undefined;
9949
+ password?: "redacted" | undefined;
9950
+ } | undefined;
9951
+ };
9952
+ role: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing";
9953
+ effectiveRole: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing";
9954
+ }, {
9955
+ workspace: {
9956
+ id: string;
9957
+ profile: {
9958
+ name: string;
9959
+ color: string;
9960
+ handle: string;
9961
+ avatar?: string | null | undefined;
9962
+ billingDetails?: {
9963
+ address?: {
9964
+ street1?: string | null | undefined;
9965
+ street2?: string | null | undefined;
9966
+ city?: string | null | undefined;
9967
+ postal?: string | null | undefined;
9968
+ country?: string | null | undefined;
9969
+ state?: string | null | undefined;
9970
+ } | null | undefined;
9971
+ email?: string | null | undefined;
9972
+ companyName?: string | null | undefined;
9973
+ companyId?: string | null | undefined;
9974
+ notes?: string | null | undefined;
9975
+ vat?: string | null | undefined;
9976
+ poNumber?: string | null | undefined;
9977
+ } | null | undefined;
9978
+ };
9979
+ subscription: {
9980
+ product: "free" | "team" | "team_test" | "company" | "enterprise";
9981
+ planPriceId: string;
9982
+ planInterval: "daily" | "monthly" | "weekly" | "yearly";
9983
+ seats: number;
9984
+ seatLimit: number;
9985
+ stripeSubscriptionId?: string | null | undefined;
9986
+ stripeCustomerId?: string | null | undefined;
9987
+ status?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
9988
+ subscriptionStatus?: "unknown" | "active" | "trialing" | "past_due" | "canceled" | "unpaid" | "incomplete_expired" | "incomplete" | undefined;
9989
+ internalStatus?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
9990
+ featuresSummary?: {
9991
+ designSystems: {
9992
+ max: number;
9993
+ errorMessage: string;
9994
+ errorReason: string;
9995
+ };
9996
+ designSystemSources: {
9997
+ max: number;
9998
+ errorMessage: string;
9999
+ errorReason: string;
10000
+ noImportJobsErrorMessage: string;
10001
+ noImportJobsErrorReason: string;
10002
+ };
10003
+ designSystemVersions: {
10004
+ max: number;
10005
+ errorMessage: string;
10006
+ errorReason: string;
10007
+ };
10008
+ themes: {
10009
+ max: number;
10010
+ errorMessage: string;
10011
+ errorReason: string;
10012
+ };
10013
+ brands: {
10014
+ max: number;
10015
+ errorMessage: string;
10016
+ errorReason: string;
10017
+ };
10018
+ codegenSchedules: {
10019
+ max: number;
10020
+ errorMessage: string;
10021
+ errorReason: string;
10022
+ };
10023
+ publicDocumentation: {
10024
+ errorMessage: string;
10025
+ errorReason: string;
10026
+ enabled: boolean;
10027
+ };
10028
+ customDocumentationUrl: {
10029
+ errorMessage: string;
10030
+ errorReason: string;
10031
+ enabled: boolean;
10032
+ };
10033
+ customDocumentationViewButton: {
10034
+ errorMessage: string;
10035
+ errorReason: string;
10036
+ enabled: boolean;
10037
+ };
10038
+ designSystemSourceAutoImport: {
10039
+ errorMessage: string;
10040
+ errorReason: string;
10041
+ enabled: boolean;
10042
+ };
10043
+ designSystemSlug: {
10044
+ errorMessage: string;
10045
+ errorReason: string;
10046
+ enabled: boolean;
10047
+ };
10048
+ ipWhitelisting: {
10049
+ errorMessage: string;
10050
+ errorReason: string;
10051
+ enabled: boolean;
10052
+ };
10053
+ npmRegistry: {
10054
+ errorMessage: string;
10055
+ errorReason: string;
10056
+ enabled: boolean;
10057
+ };
10058
+ sso: {
10059
+ errorMessage: string;
10060
+ errorReason: string;
10061
+ enabled: boolean;
10062
+ };
10063
+ workspacePaidSeats: {
10064
+ max: number;
10065
+ errorMessage: string;
10066
+ errorReason: string;
10067
+ };
10068
+ workspaceViewers: {
10069
+ max: number;
10070
+ errorMessage: string;
10071
+ errorReason: string;
10072
+ };
10073
+ customDocumentationExporter: {
10074
+ errorMessage: string;
10075
+ errorReason: string;
10076
+ enabled: boolean;
10077
+ };
10078
+ } | undefined;
10079
+ stripeProductDescription?: string | undefined;
10080
+ stripeProductFeatures?: string[] | undefined;
10081
+ stripeProductAdditionalFeatures?: string[] | undefined;
10082
+ stripeSubscriptionMainItemId?: string | undefined;
10083
+ isPricePerCreator?: boolean | undefined;
10084
+ legacyVersion?: string | undefined;
10085
+ currentPeriodStart?: string | undefined;
10086
+ currentPeriodEnd?: string | undefined;
10087
+ subscriptionStatusUpdatedAt?: string | undefined;
10088
+ cancelAt?: string | null | undefined;
10089
+ card?: {
10090
+ cardId?: string | null | undefined;
10091
+ last4?: string | null | undefined;
10092
+ expiryMonth?: string | null | undefined;
10093
+ expiryYear?: string | null | undefined;
10094
+ brand?: string | null | undefined;
10095
+ name?: string | null | undefined;
10096
+ } | undefined;
10097
+ amount?: number | null | undefined;
10098
+ isTrial?: boolean | undefined;
10099
+ billingType?: "Auto" | "Invoice" | undefined;
10100
+ daysUntilDue?: number | undefined;
10101
+ };
10102
+ npmRegistry?: {
10103
+ registryType: "NPMJS" | "GitHub" | "Artifactory" | "Custom" | "AzureDevOps";
10104
+ registryUrl: string;
10105
+ proxyUrl: string;
10106
+ authType: "Custom" | "Basic" | "Bearer" | "None";
10107
+ enabledScopes: string[];
10108
+ bypassProxy: boolean;
10109
+ customRegistryUrl?: string | undefined;
10110
+ accessToken?: "redacted" | undefined;
10111
+ username?: string | undefined;
10112
+ password?: "redacted" | undefined;
10113
+ } | undefined;
10114
+ };
10115
+ role: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing";
10116
+ effectiveRole: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing";
10117
+ }>, "many">;
10118
+ }, "strip", z.ZodTypeAny, {
10119
+ membership: {
10120
+ workspace: {
10121
+ id: string;
10122
+ profile: {
10123
+ name: string;
10124
+ color: string;
10125
+ handle: string;
10126
+ avatar?: string | undefined;
10127
+ billingDetails?: {
10128
+ address?: {
10129
+ street1?: string | undefined;
10130
+ street2?: string | undefined;
10131
+ city?: string | undefined;
10132
+ postal?: string | undefined;
10133
+ country?: string | undefined;
10134
+ state?: string | undefined;
10135
+ } | undefined;
10136
+ email?: string | undefined;
10137
+ companyName?: string | undefined;
10138
+ companyId?: string | undefined;
10139
+ notes?: string | undefined;
10140
+ vat?: string | undefined;
10141
+ poNumber?: string | undefined;
10142
+ } | undefined;
10143
+ };
10144
+ subscription: {
10145
+ product: "free" | "team" | "team_test" | "company" | "enterprise";
10146
+ planPriceId: string;
10147
+ planInterval: "daily" | "monthly" | "weekly" | "yearly";
10148
+ seats: number;
10149
+ seatLimit: number;
10150
+ stripeSubscriptionId?: string | null | undefined;
10151
+ stripeCustomerId?: string | null | undefined;
10152
+ status?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
10153
+ subscriptionStatus?: "unknown" | "active" | "trialing" | "past_due" | "canceled" | "unpaid" | "incomplete_expired" | "incomplete" | undefined;
10154
+ internalStatus?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
10155
+ featuresSummary?: {
10156
+ designSystems: {
10157
+ max: number;
10158
+ errorMessage: string;
10159
+ errorReason: string;
10160
+ };
10161
+ designSystemSources: {
10162
+ max: number;
10163
+ errorMessage: string;
10164
+ errorReason: string;
10165
+ noImportJobsErrorMessage: string;
10166
+ noImportJobsErrorReason: string;
10167
+ };
10168
+ designSystemVersions: {
10169
+ max: number;
10170
+ errorMessage: string;
10171
+ errorReason: string;
10172
+ };
10173
+ themes: {
10174
+ max: number;
10175
+ errorMessage: string;
10176
+ errorReason: string;
10177
+ };
10178
+ brands: {
10179
+ max: number;
10180
+ errorMessage: string;
10181
+ errorReason: string;
10182
+ };
10183
+ codegenSchedules: {
10184
+ max: number;
10185
+ errorMessage: string;
10186
+ errorReason: string;
10187
+ };
10188
+ publicDocumentation: {
10189
+ errorMessage: string;
10190
+ errorReason: string;
10191
+ enabled: boolean;
10192
+ };
10193
+ customDocumentationUrl: {
10194
+ errorMessage: string;
10195
+ errorReason: string;
10196
+ enabled: boolean;
10197
+ };
10198
+ customDocumentationViewButton: {
10199
+ errorMessage: string;
10200
+ errorReason: string;
10201
+ enabled: boolean;
10202
+ };
10203
+ designSystemSourceAutoImport: {
10204
+ errorMessage: string;
10205
+ errorReason: string;
10206
+ enabled: boolean;
10207
+ };
10208
+ designSystemSlug: {
10209
+ errorMessage: string;
10210
+ errorReason: string;
10211
+ enabled: boolean;
10212
+ };
10213
+ ipWhitelisting: {
10214
+ errorMessage: string;
10215
+ errorReason: string;
10216
+ enabled: boolean;
10217
+ };
10218
+ npmRegistry: {
10219
+ errorMessage: string;
10220
+ errorReason: string;
10221
+ enabled: boolean;
10222
+ };
10223
+ sso: {
10224
+ errorMessage: string;
10225
+ errorReason: string;
10226
+ enabled: boolean;
10227
+ };
10228
+ workspacePaidSeats: {
10229
+ max: number;
10230
+ errorMessage: string;
10231
+ errorReason: string;
10232
+ };
10233
+ workspaceViewers: {
10234
+ max: number;
10235
+ errorMessage: string;
10236
+ errorReason: string;
10237
+ };
10238
+ customDocumentationExporter: {
10239
+ errorMessage: string;
10240
+ errorReason: string;
10241
+ enabled: boolean;
10242
+ };
10243
+ } | undefined;
10244
+ stripeProductDescription?: string | undefined;
10245
+ stripeProductFeatures?: string[] | undefined;
10246
+ stripeProductAdditionalFeatures?: string[] | undefined;
10247
+ stripeSubscriptionMainItemId?: string | undefined;
10248
+ isPricePerCreator?: boolean | undefined;
10249
+ legacyVersion?: string | undefined;
10250
+ currentPeriodStart?: string | undefined;
10251
+ currentPeriodEnd?: string | undefined;
10252
+ subscriptionStatusUpdatedAt?: string | undefined;
10253
+ cancelAt?: string | null | undefined;
10254
+ card?: {
10255
+ cardId?: string | null | undefined;
10256
+ last4?: string | null | undefined;
10257
+ expiryMonth?: string | null | undefined;
10258
+ expiryYear?: string | null | undefined;
10259
+ brand?: string | null | undefined;
10260
+ name?: string | null | undefined;
10261
+ } | undefined;
10262
+ amount?: number | null | undefined;
10263
+ isTrial?: boolean | undefined;
10264
+ billingType?: "Auto" | "Invoice" | undefined;
10265
+ daysUntilDue?: number | undefined;
10266
+ };
10267
+ npmRegistry?: {
10268
+ registryType: "NPMJS" | "GitHub" | "Artifactory" | "Custom" | "AzureDevOps";
10269
+ registryUrl: string;
10270
+ proxyUrl: string;
10271
+ authType: "Custom" | "Basic" | "Bearer" | "None";
10272
+ enabledScopes: string[];
10273
+ bypassProxy: boolean;
10274
+ customRegistryUrl?: string | undefined;
10275
+ accessToken?: "redacted" | undefined;
10276
+ username?: string | undefined;
10277
+ password?: "redacted" | undefined;
10278
+ } | undefined;
10279
+ };
10280
+ role: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing";
10281
+ effectiveRole: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing";
10282
+ }[];
10283
+ }, {
10284
+ membership: {
10285
+ workspace: {
10286
+ id: string;
10287
+ profile: {
10288
+ name: string;
10289
+ color: string;
10290
+ handle: string;
10291
+ avatar?: string | null | undefined;
10292
+ billingDetails?: {
10293
+ address?: {
10294
+ street1?: string | null | undefined;
10295
+ street2?: string | null | undefined;
10296
+ city?: string | null | undefined;
10297
+ postal?: string | null | undefined;
10298
+ country?: string | null | undefined;
10299
+ state?: string | null | undefined;
10300
+ } | null | undefined;
10301
+ email?: string | null | undefined;
10302
+ companyName?: string | null | undefined;
10303
+ companyId?: string | null | undefined;
10304
+ notes?: string | null | undefined;
10305
+ vat?: string | null | undefined;
10306
+ poNumber?: string | null | undefined;
10307
+ } | null | undefined;
10308
+ };
10309
+ subscription: {
10310
+ product: "free" | "team" | "team_test" | "company" | "enterprise";
10311
+ planPriceId: string;
10312
+ planInterval: "daily" | "monthly" | "weekly" | "yearly";
10313
+ seats: number;
10314
+ seatLimit: number;
10315
+ stripeSubscriptionId?: string | null | undefined;
10316
+ stripeCustomerId?: string | null | undefined;
10317
+ status?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
10318
+ subscriptionStatus?: "unknown" | "active" | "trialing" | "past_due" | "canceled" | "unpaid" | "incomplete_expired" | "incomplete" | undefined;
10319
+ internalStatus?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
10320
+ featuresSummary?: {
10321
+ designSystems: {
10322
+ max: number;
10323
+ errorMessage: string;
10324
+ errorReason: string;
10325
+ };
10326
+ designSystemSources: {
10327
+ max: number;
10328
+ errorMessage: string;
10329
+ errorReason: string;
10330
+ noImportJobsErrorMessage: string;
10331
+ noImportJobsErrorReason: string;
10332
+ };
10333
+ designSystemVersions: {
10334
+ max: number;
10335
+ errorMessage: string;
10336
+ errorReason: string;
10337
+ };
10338
+ themes: {
10339
+ max: number;
10340
+ errorMessage: string;
10341
+ errorReason: string;
10342
+ };
10343
+ brands: {
10344
+ max: number;
10345
+ errorMessage: string;
10346
+ errorReason: string;
10347
+ };
10348
+ codegenSchedules: {
10349
+ max: number;
10350
+ errorMessage: string;
10351
+ errorReason: string;
10352
+ };
10353
+ publicDocumentation: {
10354
+ errorMessage: string;
10355
+ errorReason: string;
10356
+ enabled: boolean;
10357
+ };
10358
+ customDocumentationUrl: {
10359
+ errorMessage: string;
10360
+ errorReason: string;
10361
+ enabled: boolean;
10362
+ };
10363
+ customDocumentationViewButton: {
10364
+ errorMessage: string;
10365
+ errorReason: string;
10366
+ enabled: boolean;
10367
+ };
10368
+ designSystemSourceAutoImport: {
10369
+ errorMessage: string;
10370
+ errorReason: string;
10371
+ enabled: boolean;
10372
+ };
10373
+ designSystemSlug: {
10374
+ errorMessage: string;
10375
+ errorReason: string;
10376
+ enabled: boolean;
10377
+ };
10378
+ ipWhitelisting: {
10379
+ errorMessage: string;
10380
+ errorReason: string;
10381
+ enabled: boolean;
10382
+ };
10383
+ npmRegistry: {
10384
+ errorMessage: string;
10385
+ errorReason: string;
10386
+ enabled: boolean;
10387
+ };
10388
+ sso: {
10389
+ errorMessage: string;
10390
+ errorReason: string;
10391
+ enabled: boolean;
10392
+ };
10393
+ workspacePaidSeats: {
10394
+ max: number;
10395
+ errorMessage: string;
10396
+ errorReason: string;
10397
+ };
10398
+ workspaceViewers: {
10399
+ max: number;
10400
+ errorMessage: string;
10401
+ errorReason: string;
10402
+ };
10403
+ customDocumentationExporter: {
10404
+ errorMessage: string;
10405
+ errorReason: string;
10406
+ enabled: boolean;
10407
+ };
10408
+ } | undefined;
10409
+ stripeProductDescription?: string | undefined;
10410
+ stripeProductFeatures?: string[] | undefined;
10411
+ stripeProductAdditionalFeatures?: string[] | undefined;
10412
+ stripeSubscriptionMainItemId?: string | undefined;
10413
+ isPricePerCreator?: boolean | undefined;
10414
+ legacyVersion?: string | undefined;
10415
+ currentPeriodStart?: string | undefined;
10416
+ currentPeriodEnd?: string | undefined;
10417
+ subscriptionStatusUpdatedAt?: string | undefined;
10418
+ cancelAt?: string | null | undefined;
10419
+ card?: {
10420
+ cardId?: string | null | undefined;
10421
+ last4?: string | null | undefined;
10422
+ expiryMonth?: string | null | undefined;
10423
+ expiryYear?: string | null | undefined;
10424
+ brand?: string | null | undefined;
10425
+ name?: string | null | undefined;
10426
+ } | undefined;
10427
+ amount?: number | null | undefined;
10428
+ isTrial?: boolean | undefined;
10429
+ billingType?: "Auto" | "Invoice" | undefined;
10430
+ daysUntilDue?: number | undefined;
10431
+ };
10432
+ npmRegistry?: {
10433
+ registryType: "NPMJS" | "GitHub" | "Artifactory" | "Custom" | "AzureDevOps";
10434
+ registryUrl: string;
10435
+ proxyUrl: string;
10436
+ authType: "Custom" | "Basic" | "Bearer" | "None";
10437
+ enabledScopes: string[];
10438
+ bypassProxy: boolean;
10439
+ customRegistryUrl?: string | undefined;
10440
+ accessToken?: "redacted" | undefined;
10441
+ username?: string | undefined;
10442
+ password?: "redacted" | undefined;
10443
+ } | undefined;
10444
+ };
10445
+ role: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing";
10446
+ effectiveRole: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing";
10447
+ }[];
10448
+ }>;
10449
+ type DTOUserWorkspaceMembershipsResponse = z.infer<typeof DTOUserWorkspaceMembershipsResponse>;
10450
+
10451
+ declare const DTONpmRegistryConfig: z.ZodObject<{
10452
+ registryType: z.ZodEnum<["NPMJS", "GitHub", "Artifactory", "Custom", "AzureDevOps"]>;
10453
+ registryUrl: z.ZodString;
10454
+ customRegistryUrl: z.ZodOptional<z.ZodString>;
10455
+ proxyUrl: z.ZodString;
10456
+ authType: z.ZodEnum<["Basic", "Bearer", "None", "Custom"]>;
10457
+ accessToken: z.ZodOptional<z.ZodLiteral<"redacted">>;
10458
+ username: z.ZodOptional<z.ZodString>;
10459
+ password: z.ZodOptional<z.ZodLiteral<"redacted">>;
10460
+ enabledScopes: z.ZodArray<z.ZodString, "many">;
10461
+ bypassProxy: z.ZodBoolean;
10462
+ }, "strip", z.ZodTypeAny, {
10463
+ registryType: "NPMJS" | "GitHub" | "Artifactory" | "Custom" | "AzureDevOps";
10464
+ registryUrl: string;
10465
+ proxyUrl: string;
10466
+ authType: "Custom" | "Basic" | "Bearer" | "None";
10467
+ enabledScopes: string[];
10468
+ bypassProxy: boolean;
10469
+ customRegistryUrl?: string | undefined;
10470
+ accessToken?: "redacted" | undefined;
10471
+ username?: string | undefined;
10472
+ password?: "redacted" | undefined;
10473
+ }, {
10474
+ registryType: "NPMJS" | "GitHub" | "Artifactory" | "Custom" | "AzureDevOps";
10475
+ registryUrl: string;
10476
+ proxyUrl: string;
10477
+ authType: "Custom" | "Basic" | "Bearer" | "None";
10478
+ enabledScopes: string[];
10479
+ bypassProxy: boolean;
10480
+ customRegistryUrl?: string | undefined;
10481
+ accessToken?: "redacted" | undefined;
10482
+ username?: string | undefined;
10483
+ password?: "redacted" | undefined;
10484
+ }>;
10485
+ type DTONpmRegistryConfig = z.infer<typeof DTONpmRegistryConfig>;
10486
+
10487
+ declare const DTOWorkspace: z.ZodObject<{
10488
+ id: z.ZodString;
10489
+ profile: z.ZodObject<{
10490
+ name: z.ZodString;
10491
+ handle: z.ZodString;
10492
+ color: z.ZodString;
10493
+ avatar: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<string, z.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
10494
+ billingDetails: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<{
10495
+ address?: {
10496
+ street1?: string | undefined;
10497
+ street2?: string | undefined;
10498
+ city?: string | undefined;
10499
+ postal?: string | undefined;
10500
+ country?: string | undefined;
10501
+ state?: string | undefined;
10502
+ } | undefined;
10503
+ email?: string | undefined;
10504
+ companyName?: string | undefined;
10505
+ companyId?: string | undefined;
10506
+ notes?: string | undefined;
10507
+ vat?: string | undefined;
10508
+ poNumber?: string | undefined;
10509
+ }, z.ZodTypeDef, {
10510
+ address?: {
10511
+ street1?: string | null | undefined;
10512
+ street2?: string | null | undefined;
10513
+ city?: string | null | undefined;
10514
+ postal?: string | null | undefined;
10515
+ country?: string | null | undefined;
10516
+ state?: string | null | undefined;
10517
+ } | null | undefined;
10518
+ email?: string | null | undefined;
10519
+ companyName?: string | null | undefined;
10520
+ companyId?: string | null | undefined;
10521
+ notes?: string | null | undefined;
10522
+ vat?: string | null | undefined;
10523
+ poNumber?: string | null | undefined;
10524
+ }>>>, {
10525
+ address?: {
10526
+ street1?: string | undefined;
10527
+ street2?: string | undefined;
10528
+ city?: string | undefined;
10529
+ postal?: string | undefined;
10530
+ country?: string | undefined;
10531
+ state?: string | undefined;
10532
+ } | undefined;
10533
+ email?: string | undefined;
10534
+ companyName?: string | undefined;
10535
+ companyId?: string | undefined;
10536
+ notes?: string | undefined;
10537
+ vat?: string | undefined;
10538
+ poNumber?: string | undefined;
10539
+ } | undefined, {
10540
+ address?: {
10541
+ street1?: string | null | undefined;
10542
+ street2?: string | null | undefined;
10543
+ city?: string | null | undefined;
10544
+ postal?: string | null | undefined;
10545
+ country?: string | null | undefined;
10546
+ state?: string | null | undefined;
10547
+ } | null | undefined;
10548
+ email?: string | null | undefined;
10549
+ companyName?: string | null | undefined;
10550
+ companyId?: string | null | undefined;
10551
+ notes?: string | null | undefined;
10552
+ vat?: string | null | undefined;
10553
+ poNumber?: string | null | undefined;
10554
+ } | null | undefined>;
10555
+ }, "strip", z.ZodTypeAny, {
10556
+ name: string;
10557
+ color: string;
10558
+ handle: string;
10559
+ avatar?: string | undefined;
10560
+ billingDetails?: {
10561
+ address?: {
10562
+ street1?: string | undefined;
10563
+ street2?: string | undefined;
10564
+ city?: string | undefined;
10565
+ postal?: string | undefined;
10566
+ country?: string | undefined;
10567
+ state?: string | undefined;
10568
+ } | undefined;
10569
+ email?: string | undefined;
10570
+ companyName?: string | undefined;
10571
+ companyId?: string | undefined;
10572
+ notes?: string | undefined;
10573
+ vat?: string | undefined;
10574
+ poNumber?: string | undefined;
10575
+ } | undefined;
10576
+ }, {
10577
+ name: string;
10578
+ color: string;
10579
+ handle: string;
10580
+ avatar?: string | null | undefined;
10581
+ billingDetails?: {
10582
+ address?: {
10583
+ street1?: string | null | undefined;
10584
+ street2?: string | null | undefined;
10585
+ city?: string | null | undefined;
10586
+ postal?: string | null | undefined;
10587
+ country?: string | null | undefined;
10588
+ state?: string | null | undefined;
10589
+ } | null | undefined;
10590
+ email?: string | null | undefined;
10591
+ companyName?: string | null | undefined;
10592
+ companyId?: string | null | undefined;
10593
+ notes?: string | null | undefined;
10594
+ vat?: string | null | undefined;
10595
+ poNumber?: string | null | undefined;
10596
+ } | null | undefined;
10597
+ }>;
10598
+ subscription: z.ZodObject<{
10599
+ stripeSubscriptionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10600
+ stripeCustomerId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10601
+ status: z.ZodOptional<z.ZodEnum<["active", "suspended", "gracePeriod", "cancelled", "downgraded_to_free"]>>;
10602
+ subscriptionStatus: z.ZodOptional<z.ZodEnum<["trialing", "active", "past_due", "canceled", "unpaid", "incomplete_expired", "incomplete", "unknown"]>>;
10603
+ internalStatus: z.ZodOptional<z.ZodEnum<["active", "suspended", "gracePeriod", "cancelled", "downgraded_to_free"]>>;
10604
+ product: z.ZodEnum<["free", "team", "team_test", "company", "enterprise"]>;
10605
+ featuresSummary: z.ZodOptional<z.ZodObject<{
10606
+ designSystems: z.ZodObject<{
10607
+ max: z.ZodNumber;
10608
+ errorMessage: z.ZodString;
10609
+ errorReason: z.ZodString;
10610
+ }, "strip", z.ZodTypeAny, {
10611
+ max: number;
10612
+ errorMessage: string;
10613
+ errorReason: string;
10614
+ }, {
10615
+ max: number;
10616
+ errorMessage: string;
10617
+ errorReason: string;
10618
+ }>;
10619
+ designSystemSources: z.ZodObject<{
10620
+ max: z.ZodNumber;
10621
+ errorMessage: z.ZodString;
10622
+ errorReason: z.ZodString;
10623
+ noImportJobsErrorMessage: z.ZodString;
10624
+ noImportJobsErrorReason: z.ZodString;
10625
+ }, "strip", z.ZodTypeAny, {
10626
+ max: number;
10627
+ errorMessage: string;
10628
+ errorReason: string;
10629
+ noImportJobsErrorMessage: string;
10630
+ noImportJobsErrorReason: string;
10631
+ }, {
10632
+ max: number;
10633
+ errorMessage: string;
10634
+ errorReason: string;
10635
+ noImportJobsErrorMessage: string;
10636
+ noImportJobsErrorReason: string;
10637
+ }>;
10638
+ designSystemVersions: z.ZodObject<{
10639
+ max: z.ZodNumber;
10640
+ errorMessage: z.ZodString;
10641
+ errorReason: z.ZodString;
10642
+ }, "strip", z.ZodTypeAny, {
10643
+ max: number;
10644
+ errorMessage: string;
10645
+ errorReason: string;
10646
+ }, {
10647
+ max: number;
10648
+ errorMessage: string;
10649
+ errorReason: string;
10650
+ }>;
10651
+ themes: z.ZodObject<{
10652
+ max: z.ZodNumber;
10653
+ errorMessage: z.ZodString;
10654
+ errorReason: z.ZodString;
10655
+ }, "strip", z.ZodTypeAny, {
10656
+ max: number;
10657
+ errorMessage: string;
10658
+ errorReason: string;
10659
+ }, {
10660
+ max: number;
10661
+ errorMessage: string;
10662
+ errorReason: string;
10663
+ }>;
10664
+ brands: z.ZodObject<{
10665
+ max: z.ZodNumber;
10666
+ errorMessage: z.ZodString;
10667
+ errorReason: z.ZodString;
10668
+ }, "strip", z.ZodTypeAny, {
10669
+ max: number;
10670
+ errorMessage: string;
10671
+ errorReason: string;
10672
+ }, {
10673
+ max: number;
10674
+ errorMessage: string;
10675
+ errorReason: string;
10676
+ }>;
10677
+ codegenSchedules: z.ZodObject<{
10678
+ max: z.ZodNumber;
10679
+ errorMessage: z.ZodString;
10680
+ errorReason: z.ZodString;
10681
+ }, "strip", z.ZodTypeAny, {
10682
+ max: number;
10683
+ errorMessage: string;
10684
+ errorReason: string;
10685
+ }, {
10686
+ max: number;
10687
+ errorMessage: string;
10688
+ errorReason: string;
10689
+ }>;
10690
+ publicDocumentation: z.ZodObject<{
10691
+ enabled: z.ZodBoolean;
10692
+ errorMessage: z.ZodString;
10693
+ errorReason: z.ZodString;
10694
+ }, "strip", z.ZodTypeAny, {
10695
+ errorMessage: string;
10696
+ errorReason: string;
10697
+ enabled: boolean;
10698
+ }, {
10699
+ errorMessage: string;
10700
+ errorReason: string;
10701
+ enabled: boolean;
10702
+ }>;
10703
+ customDocumentationUrl: z.ZodObject<{
10704
+ enabled: z.ZodBoolean;
10705
+ errorMessage: z.ZodString;
10706
+ errorReason: z.ZodString;
10707
+ }, "strip", z.ZodTypeAny, {
10708
+ errorMessage: string;
10709
+ errorReason: string;
10710
+ enabled: boolean;
10711
+ }, {
10712
+ errorMessage: string;
10713
+ errorReason: string;
10714
+ enabled: boolean;
10715
+ }>;
10716
+ customDocumentationViewButton: z.ZodObject<{
10717
+ enabled: z.ZodBoolean;
10718
+ errorMessage: z.ZodString;
10719
+ errorReason: z.ZodString;
10720
+ }, "strip", z.ZodTypeAny, {
10721
+ errorMessage: string;
10722
+ errorReason: string;
10723
+ enabled: boolean;
10724
+ }, {
10725
+ errorMessage: string;
10726
+ errorReason: string;
10727
+ enabled: boolean;
10728
+ }>;
10729
+ designSystemSourceAutoImport: z.ZodObject<{
10730
+ enabled: z.ZodBoolean;
10731
+ errorMessage: z.ZodString;
10732
+ errorReason: z.ZodString;
10733
+ }, "strip", z.ZodTypeAny, {
10734
+ errorMessage: string;
10735
+ errorReason: string;
10736
+ enabled: boolean;
10737
+ }, {
10738
+ errorMessage: string;
10739
+ errorReason: string;
10740
+ enabled: boolean;
10741
+ }>;
10742
+ designSystemSlug: z.ZodObject<{
10743
+ enabled: z.ZodBoolean;
10744
+ errorMessage: z.ZodString;
10745
+ errorReason: z.ZodString;
10746
+ }, "strip", z.ZodTypeAny, {
10747
+ errorMessage: string;
10748
+ errorReason: string;
10749
+ enabled: boolean;
10750
+ }, {
10751
+ errorMessage: string;
10752
+ errorReason: string;
10753
+ enabled: boolean;
10754
+ }>;
10755
+ ipWhitelisting: z.ZodObject<{
10756
+ enabled: z.ZodBoolean;
10757
+ errorMessage: z.ZodString;
10758
+ errorReason: z.ZodString;
10759
+ }, "strip", z.ZodTypeAny, {
10760
+ errorMessage: string;
10761
+ errorReason: string;
10762
+ enabled: boolean;
10763
+ }, {
10764
+ errorMessage: string;
10765
+ errorReason: string;
10766
+ enabled: boolean;
10767
+ }>;
10768
+ npmRegistry: z.ZodObject<{
10769
+ enabled: z.ZodBoolean;
10770
+ errorMessage: z.ZodString;
10771
+ errorReason: z.ZodString;
10772
+ }, "strip", z.ZodTypeAny, {
10773
+ errorMessage: string;
10774
+ errorReason: string;
10775
+ enabled: boolean;
10776
+ }, {
10777
+ errorMessage: string;
10778
+ errorReason: string;
10779
+ enabled: boolean;
10780
+ }>;
10781
+ sso: z.ZodObject<{
10782
+ enabled: z.ZodBoolean;
10783
+ errorMessage: z.ZodString;
10784
+ errorReason: z.ZodString;
10785
+ }, "strip", z.ZodTypeAny, {
10786
+ errorMessage: string;
10787
+ errorReason: string;
10788
+ enabled: boolean;
10789
+ }, {
10790
+ errorMessage: string;
10791
+ errorReason: string;
10792
+ enabled: boolean;
10793
+ }>;
10794
+ workspacePaidSeats: z.ZodObject<{
10795
+ max: z.ZodNumber;
10796
+ errorMessage: z.ZodString;
10797
+ errorReason: z.ZodString;
10798
+ }, "strip", z.ZodTypeAny, {
10799
+ max: number;
10800
+ errorMessage: string;
10801
+ errorReason: string;
10802
+ }, {
10803
+ max: number;
10804
+ errorMessage: string;
10805
+ errorReason: string;
10806
+ }>;
10807
+ workspaceViewers: z.ZodObject<{
10808
+ max: z.ZodNumber;
10809
+ errorMessage: z.ZodString;
10810
+ errorReason: z.ZodString;
10811
+ }, "strip", z.ZodTypeAny, {
10812
+ max: number;
10813
+ errorMessage: string;
10814
+ errorReason: string;
10815
+ }, {
10816
+ max: number;
10817
+ errorMessage: string;
10818
+ errorReason: string;
10819
+ }>;
10820
+ customDocumentationExporter: z.ZodObject<{
10821
+ enabled: z.ZodBoolean;
10822
+ errorMessage: z.ZodString;
10823
+ errorReason: z.ZodString;
10824
+ }, "strip", z.ZodTypeAny, {
10825
+ errorMessage: string;
10826
+ errorReason: string;
10827
+ enabled: boolean;
10828
+ }, {
10829
+ errorMessage: string;
10830
+ errorReason: string;
10831
+ enabled: boolean;
10832
+ }>;
10833
+ }, "strip", z.ZodTypeAny, {
10834
+ designSystems: {
10835
+ max: number;
10836
+ errorMessage: string;
10837
+ errorReason: string;
10838
+ };
10839
+ designSystemSources: {
10840
+ max: number;
10841
+ errorMessage: string;
10842
+ errorReason: string;
10843
+ noImportJobsErrorMessage: string;
10844
+ noImportJobsErrorReason: string;
10845
+ };
10846
+ designSystemVersions: {
10847
+ max: number;
10848
+ errorMessage: string;
10849
+ errorReason: string;
10850
+ };
10851
+ themes: {
10852
+ max: number;
10853
+ errorMessage: string;
10854
+ errorReason: string;
10855
+ };
10856
+ brands: {
10857
+ max: number;
10858
+ errorMessage: string;
10859
+ errorReason: string;
10860
+ };
10861
+ codegenSchedules: {
10862
+ max: number;
10863
+ errorMessage: string;
10864
+ errorReason: string;
10865
+ };
10866
+ publicDocumentation: {
10867
+ errorMessage: string;
10868
+ errorReason: string;
10869
+ enabled: boolean;
10870
+ };
10871
+ customDocumentationUrl: {
10872
+ errorMessage: string;
10873
+ errorReason: string;
10874
+ enabled: boolean;
10875
+ };
10876
+ customDocumentationViewButton: {
10877
+ errorMessage: string;
10878
+ errorReason: string;
10879
+ enabled: boolean;
10880
+ };
10881
+ designSystemSourceAutoImport: {
10882
+ errorMessage: string;
10883
+ errorReason: string;
10884
+ enabled: boolean;
10885
+ };
10886
+ designSystemSlug: {
10887
+ errorMessage: string;
10888
+ errorReason: string;
10889
+ enabled: boolean;
10890
+ };
10891
+ ipWhitelisting: {
10892
+ errorMessage: string;
10893
+ errorReason: string;
10894
+ enabled: boolean;
10895
+ };
10896
+ npmRegistry: {
10897
+ errorMessage: string;
10898
+ errorReason: string;
10899
+ enabled: boolean;
10900
+ };
10901
+ sso: {
10902
+ errorMessage: string;
10903
+ errorReason: string;
10904
+ enabled: boolean;
10905
+ };
10906
+ workspacePaidSeats: {
10907
+ max: number;
10908
+ errorMessage: string;
10909
+ errorReason: string;
10910
+ };
10911
+ workspaceViewers: {
10912
+ max: number;
10913
+ errorMessage: string;
10914
+ errorReason: string;
10915
+ };
10916
+ customDocumentationExporter: {
10917
+ errorMessage: string;
10918
+ errorReason: string;
10919
+ enabled: boolean;
10920
+ };
10921
+ }, {
10922
+ designSystems: {
10923
+ max: number;
10924
+ errorMessage: string;
10925
+ errorReason: string;
10926
+ };
10927
+ designSystemSources: {
10928
+ max: number;
10929
+ errorMessage: string;
10930
+ errorReason: string;
10931
+ noImportJobsErrorMessage: string;
10932
+ noImportJobsErrorReason: string;
10933
+ };
10934
+ designSystemVersions: {
10935
+ max: number;
10936
+ errorMessage: string;
10937
+ errorReason: string;
10938
+ };
10939
+ themes: {
10940
+ max: number;
10941
+ errorMessage: string;
10942
+ errorReason: string;
10943
+ };
10944
+ brands: {
10945
+ max: number;
10946
+ errorMessage: string;
10947
+ errorReason: string;
10948
+ };
10949
+ codegenSchedules: {
10950
+ max: number;
10951
+ errorMessage: string;
10952
+ errorReason: string;
10953
+ };
10954
+ publicDocumentation: {
10955
+ errorMessage: string;
10956
+ errorReason: string;
10957
+ enabled: boolean;
10958
+ };
10959
+ customDocumentationUrl: {
10960
+ errorMessage: string;
10961
+ errorReason: string;
10962
+ enabled: boolean;
10963
+ };
10964
+ customDocumentationViewButton: {
10965
+ errorMessage: string;
10966
+ errorReason: string;
10967
+ enabled: boolean;
10968
+ };
10969
+ designSystemSourceAutoImport: {
10970
+ errorMessage: string;
10971
+ errorReason: string;
10972
+ enabled: boolean;
10973
+ };
10974
+ designSystemSlug: {
10975
+ errorMessage: string;
10976
+ errorReason: string;
10977
+ enabled: boolean;
10978
+ };
10979
+ ipWhitelisting: {
10980
+ errorMessage: string;
10981
+ errorReason: string;
10982
+ enabled: boolean;
10983
+ };
10984
+ npmRegistry: {
10985
+ errorMessage: string;
10986
+ errorReason: string;
10987
+ enabled: boolean;
10988
+ };
10989
+ sso: {
10990
+ errorMessage: string;
10991
+ errorReason: string;
10992
+ enabled: boolean;
10993
+ };
10994
+ workspacePaidSeats: {
10995
+ max: number;
10996
+ errorMessage: string;
10997
+ errorReason: string;
10998
+ };
10999
+ workspaceViewers: {
11000
+ max: number;
11001
+ errorMessage: string;
11002
+ errorReason: string;
11003
+ };
11004
+ customDocumentationExporter: {
11005
+ errorMessage: string;
11006
+ errorReason: string;
11007
+ enabled: boolean;
11008
+ };
11009
+ }>>;
11010
+ stripeProductDescription: z.ZodOptional<z.ZodString>;
11011
+ stripeProductFeatures: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
11012
+ stripeProductAdditionalFeatures: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
11013
+ stripeSubscriptionMainItemId: z.ZodOptional<z.ZodString>;
11014
+ planPriceId: z.ZodString;
11015
+ planInterval: z.ZodEnum<["daily", "monthly", "weekly", "yearly"]>;
11016
+ isPricePerCreator: z.ZodOptional<z.ZodBoolean>;
11017
+ legacyVersion: z.ZodOptional<z.ZodString>;
11018
+ seats: z.ZodNumber;
11019
+ seatLimit: z.ZodNumber;
11020
+ currentPeriodStart: z.ZodOptional<z.ZodString>;
11021
+ currentPeriodEnd: z.ZodOptional<z.ZodString>;
11022
+ subscriptionStatusUpdatedAt: z.ZodOptional<z.ZodString>;
11023
+ cancelAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11024
+ card: z.ZodOptional<z.ZodObject<{
11025
+ cardId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11026
+ last4: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11027
+ expiryMonth: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11028
+ expiryYear: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11029
+ brand: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11030
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11031
+ }, "strip", z.ZodTypeAny, {
11032
+ cardId?: string | null | undefined;
11033
+ last4?: string | null | undefined;
11034
+ expiryMonth?: string | null | undefined;
11035
+ expiryYear?: string | null | undefined;
11036
+ brand?: string | null | undefined;
11037
+ name?: string | null | undefined;
11038
+ }, {
11039
+ cardId?: string | null | undefined;
11040
+ last4?: string | null | undefined;
11041
+ expiryMonth?: string | null | undefined;
11042
+ expiryYear?: string | null | undefined;
11043
+ brand?: string | null | undefined;
11044
+ name?: string | null | undefined;
11045
+ }>>;
11046
+ amount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
11047
+ isTrial: z.ZodOptional<z.ZodBoolean>;
11048
+ billingType: z.ZodOptional<z.ZodEnum<["Auto", "Invoice"]>>;
11049
+ daysUntilDue: z.ZodOptional<z.ZodNumber>;
11050
+ }, "strip", z.ZodTypeAny, {
11051
+ product: "free" | "team" | "team_test" | "company" | "enterprise";
11052
+ planPriceId: string;
11053
+ planInterval: "daily" | "monthly" | "weekly" | "yearly";
11054
+ seats: number;
11055
+ seatLimit: number;
11056
+ stripeSubscriptionId?: string | null | undefined;
11057
+ stripeCustomerId?: string | null | undefined;
11058
+ status?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
11059
+ subscriptionStatus?: "unknown" | "active" | "trialing" | "past_due" | "canceled" | "unpaid" | "incomplete_expired" | "incomplete" | undefined;
11060
+ internalStatus?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
11061
+ featuresSummary?: {
11062
+ designSystems: {
11063
+ max: number;
11064
+ errorMessage: string;
11065
+ errorReason: string;
11066
+ };
11067
+ designSystemSources: {
11068
+ max: number;
11069
+ errorMessage: string;
11070
+ errorReason: string;
11071
+ noImportJobsErrorMessage: string;
11072
+ noImportJobsErrorReason: string;
11073
+ };
11074
+ designSystemVersions: {
11075
+ max: number;
11076
+ errorMessage: string;
11077
+ errorReason: string;
11078
+ };
11079
+ themes: {
11080
+ max: number;
11081
+ errorMessage: string;
11082
+ errorReason: string;
11083
+ };
11084
+ brands: {
11085
+ max: number;
11086
+ errorMessage: string;
11087
+ errorReason: string;
11088
+ };
11089
+ codegenSchedules: {
11090
+ max: number;
11091
+ errorMessage: string;
11092
+ errorReason: string;
11093
+ };
11094
+ publicDocumentation: {
11095
+ errorMessage: string;
11096
+ errorReason: string;
11097
+ enabled: boolean;
11098
+ };
11099
+ customDocumentationUrl: {
11100
+ errorMessage: string;
11101
+ errorReason: string;
11102
+ enabled: boolean;
11103
+ };
11104
+ customDocumentationViewButton: {
11105
+ errorMessage: string;
11106
+ errorReason: string;
11107
+ enabled: boolean;
11108
+ };
11109
+ designSystemSourceAutoImport: {
11110
+ errorMessage: string;
11111
+ errorReason: string;
11112
+ enabled: boolean;
11113
+ };
11114
+ designSystemSlug: {
11115
+ errorMessage: string;
11116
+ errorReason: string;
11117
+ enabled: boolean;
11118
+ };
11119
+ ipWhitelisting: {
11120
+ errorMessage: string;
11121
+ errorReason: string;
11122
+ enabled: boolean;
11123
+ };
11124
+ npmRegistry: {
11125
+ errorMessage: string;
11126
+ errorReason: string;
11127
+ enabled: boolean;
11128
+ };
11129
+ sso: {
11130
+ errorMessage: string;
11131
+ errorReason: string;
11132
+ enabled: boolean;
11133
+ };
11134
+ workspacePaidSeats: {
11135
+ max: number;
11136
+ errorMessage: string;
11137
+ errorReason: string;
11138
+ };
11139
+ workspaceViewers: {
11140
+ max: number;
11141
+ errorMessage: string;
11142
+ errorReason: string;
11143
+ };
11144
+ customDocumentationExporter: {
11145
+ errorMessage: string;
11146
+ errorReason: string;
11147
+ enabled: boolean;
11148
+ };
11149
+ } | undefined;
11150
+ stripeProductDescription?: string | undefined;
11151
+ stripeProductFeatures?: string[] | undefined;
11152
+ stripeProductAdditionalFeatures?: string[] | undefined;
11153
+ stripeSubscriptionMainItemId?: string | undefined;
11154
+ isPricePerCreator?: boolean | undefined;
11155
+ legacyVersion?: string | undefined;
11156
+ currentPeriodStart?: string | undefined;
11157
+ currentPeriodEnd?: string | undefined;
11158
+ subscriptionStatusUpdatedAt?: string | undefined;
11159
+ cancelAt?: string | null | undefined;
11160
+ card?: {
11161
+ cardId?: string | null | undefined;
11162
+ last4?: string | null | undefined;
11163
+ expiryMonth?: string | null | undefined;
11164
+ expiryYear?: string | null | undefined;
11165
+ brand?: string | null | undefined;
11166
+ name?: string | null | undefined;
11167
+ } | undefined;
11168
+ amount?: number | null | undefined;
11169
+ isTrial?: boolean | undefined;
11170
+ billingType?: "Auto" | "Invoice" | undefined;
11171
+ daysUntilDue?: number | undefined;
11172
+ }, {
11173
+ product: "free" | "team" | "team_test" | "company" | "enterprise";
11174
+ planPriceId: string;
11175
+ planInterval: "daily" | "monthly" | "weekly" | "yearly";
11176
+ seats: number;
11177
+ seatLimit: number;
11178
+ stripeSubscriptionId?: string | null | undefined;
11179
+ stripeCustomerId?: string | null | undefined;
11180
+ status?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
11181
+ subscriptionStatus?: "unknown" | "active" | "trialing" | "past_due" | "canceled" | "unpaid" | "incomplete_expired" | "incomplete" | undefined;
11182
+ internalStatus?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
11183
+ featuresSummary?: {
11184
+ designSystems: {
11185
+ max: number;
11186
+ errorMessage: string;
11187
+ errorReason: string;
11188
+ };
11189
+ designSystemSources: {
11190
+ max: number;
11191
+ errorMessage: string;
11192
+ errorReason: string;
11193
+ noImportJobsErrorMessage: string;
11194
+ noImportJobsErrorReason: string;
11195
+ };
11196
+ designSystemVersions: {
11197
+ max: number;
11198
+ errorMessage: string;
11199
+ errorReason: string;
11200
+ };
11201
+ themes: {
11202
+ max: number;
11203
+ errorMessage: string;
11204
+ errorReason: string;
11205
+ };
11206
+ brands: {
11207
+ max: number;
11208
+ errorMessage: string;
11209
+ errorReason: string;
11210
+ };
11211
+ codegenSchedules: {
11212
+ max: number;
11213
+ errorMessage: string;
11214
+ errorReason: string;
11215
+ };
11216
+ publicDocumentation: {
11217
+ errorMessage: string;
11218
+ errorReason: string;
11219
+ enabled: boolean;
11220
+ };
11221
+ customDocumentationUrl: {
11222
+ errorMessage: string;
11223
+ errorReason: string;
11224
+ enabled: boolean;
11225
+ };
11226
+ customDocumentationViewButton: {
11227
+ errorMessage: string;
11228
+ errorReason: string;
11229
+ enabled: boolean;
11230
+ };
11231
+ designSystemSourceAutoImport: {
11232
+ errorMessage: string;
11233
+ errorReason: string;
11234
+ enabled: boolean;
11235
+ };
11236
+ designSystemSlug: {
11237
+ errorMessage: string;
11238
+ errorReason: string;
11239
+ enabled: boolean;
11240
+ };
11241
+ ipWhitelisting: {
11242
+ errorMessage: string;
11243
+ errorReason: string;
11244
+ enabled: boolean;
11245
+ };
11246
+ npmRegistry: {
11247
+ errorMessage: string;
11248
+ errorReason: string;
11249
+ enabled: boolean;
11250
+ };
11251
+ sso: {
11252
+ errorMessage: string;
11253
+ errorReason: string;
11254
+ enabled: boolean;
11255
+ };
11256
+ workspacePaidSeats: {
11257
+ max: number;
11258
+ errorMessage: string;
11259
+ errorReason: string;
11260
+ };
11261
+ workspaceViewers: {
11262
+ max: number;
11263
+ errorMessage: string;
11264
+ errorReason: string;
11265
+ };
11266
+ customDocumentationExporter: {
11267
+ errorMessage: string;
11268
+ errorReason: string;
11269
+ enabled: boolean;
11270
+ };
11271
+ } | undefined;
11272
+ stripeProductDescription?: string | undefined;
11273
+ stripeProductFeatures?: string[] | undefined;
11274
+ stripeProductAdditionalFeatures?: string[] | undefined;
11275
+ stripeSubscriptionMainItemId?: string | undefined;
11276
+ isPricePerCreator?: boolean | undefined;
11277
+ legacyVersion?: string | undefined;
11278
+ currentPeriodStart?: string | undefined;
11279
+ currentPeriodEnd?: string | undefined;
11280
+ subscriptionStatusUpdatedAt?: string | undefined;
11281
+ cancelAt?: string | null | undefined;
11282
+ card?: {
11283
+ cardId?: string | null | undefined;
11284
+ last4?: string | null | undefined;
11285
+ expiryMonth?: string | null | undefined;
11286
+ expiryYear?: string | null | undefined;
11287
+ brand?: string | null | undefined;
11288
+ name?: string | null | undefined;
11289
+ } | undefined;
11290
+ amount?: number | null | undefined;
11291
+ isTrial?: boolean | undefined;
11292
+ billingType?: "Auto" | "Invoice" | undefined;
11293
+ daysUntilDue?: number | undefined;
11294
+ }>;
11295
+ npmRegistry: z.ZodOptional<z.ZodObject<{
11296
+ registryType: z.ZodEnum<["NPMJS", "GitHub", "Artifactory", "Custom", "AzureDevOps"]>;
11297
+ registryUrl: z.ZodString;
11298
+ customRegistryUrl: z.ZodOptional<z.ZodString>;
11299
+ proxyUrl: z.ZodString;
11300
+ authType: z.ZodEnum<["Basic", "Bearer", "None", "Custom"]>;
11301
+ accessToken: z.ZodOptional<z.ZodLiteral<"redacted">>;
11302
+ username: z.ZodOptional<z.ZodString>;
11303
+ password: z.ZodOptional<z.ZodLiteral<"redacted">>;
11304
+ enabledScopes: z.ZodArray<z.ZodString, "many">;
11305
+ bypassProxy: z.ZodBoolean;
11306
+ }, "strip", z.ZodTypeAny, {
11307
+ registryType: "NPMJS" | "GitHub" | "Artifactory" | "Custom" | "AzureDevOps";
11308
+ registryUrl: string;
11309
+ proxyUrl: string;
11310
+ authType: "Custom" | "Basic" | "Bearer" | "None";
11311
+ enabledScopes: string[];
11312
+ bypassProxy: boolean;
11313
+ customRegistryUrl?: string | undefined;
11314
+ accessToken?: "redacted" | undefined;
11315
+ username?: string | undefined;
11316
+ password?: "redacted" | undefined;
11317
+ }, {
11318
+ registryType: "NPMJS" | "GitHub" | "Artifactory" | "Custom" | "AzureDevOps";
11319
+ registryUrl: string;
11320
+ proxyUrl: string;
11321
+ authType: "Custom" | "Basic" | "Bearer" | "None";
11322
+ enabledScopes: string[];
11323
+ bypassProxy: boolean;
11324
+ customRegistryUrl?: string | undefined;
11325
+ accessToken?: "redacted" | undefined;
11326
+ username?: string | undefined;
11327
+ password?: "redacted" | undefined;
11328
+ }>>;
11329
+ }, "strip", z.ZodTypeAny, {
11330
+ id: string;
11331
+ profile: {
11332
+ name: string;
11333
+ color: string;
11334
+ handle: string;
11335
+ avatar?: string | undefined;
11336
+ billingDetails?: {
11337
+ address?: {
11338
+ street1?: string | undefined;
11339
+ street2?: string | undefined;
11340
+ city?: string | undefined;
11341
+ postal?: string | undefined;
11342
+ country?: string | undefined;
11343
+ state?: string | undefined;
11344
+ } | undefined;
11345
+ email?: string | undefined;
11346
+ companyName?: string | undefined;
11347
+ companyId?: string | undefined;
11348
+ notes?: string | undefined;
11349
+ vat?: string | undefined;
11350
+ poNumber?: string | undefined;
11351
+ } | undefined;
11352
+ };
11353
+ subscription: {
11354
+ product: "free" | "team" | "team_test" | "company" | "enterprise";
11355
+ planPriceId: string;
11356
+ planInterval: "daily" | "monthly" | "weekly" | "yearly";
11357
+ seats: number;
11358
+ seatLimit: number;
11359
+ stripeSubscriptionId?: string | null | undefined;
11360
+ stripeCustomerId?: string | null | undefined;
11361
+ status?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
11362
+ subscriptionStatus?: "unknown" | "active" | "trialing" | "past_due" | "canceled" | "unpaid" | "incomplete_expired" | "incomplete" | undefined;
11363
+ internalStatus?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
11364
+ featuresSummary?: {
11365
+ designSystems: {
11366
+ max: number;
11367
+ errorMessage: string;
11368
+ errorReason: string;
11369
+ };
11370
+ designSystemSources: {
11371
+ max: number;
11372
+ errorMessage: string;
11373
+ errorReason: string;
11374
+ noImportJobsErrorMessage: string;
11375
+ noImportJobsErrorReason: string;
11376
+ };
11377
+ designSystemVersions: {
11378
+ max: number;
11379
+ errorMessage: string;
11380
+ errorReason: string;
11381
+ };
11382
+ themes: {
11383
+ max: number;
11384
+ errorMessage: string;
11385
+ errorReason: string;
11386
+ };
11387
+ brands: {
11388
+ max: number;
11389
+ errorMessage: string;
11390
+ errorReason: string;
11391
+ };
11392
+ codegenSchedules: {
11393
+ max: number;
11394
+ errorMessage: string;
11395
+ errorReason: string;
11396
+ };
11397
+ publicDocumentation: {
11398
+ errorMessage: string;
11399
+ errorReason: string;
11400
+ enabled: boolean;
11401
+ };
11402
+ customDocumentationUrl: {
11403
+ errorMessage: string;
11404
+ errorReason: string;
11405
+ enabled: boolean;
11406
+ };
11407
+ customDocumentationViewButton: {
11408
+ errorMessage: string;
11409
+ errorReason: string;
11410
+ enabled: boolean;
11411
+ };
11412
+ designSystemSourceAutoImport: {
11413
+ errorMessage: string;
11414
+ errorReason: string;
11415
+ enabled: boolean;
11416
+ };
11417
+ designSystemSlug: {
11418
+ errorMessage: string;
11419
+ errorReason: string;
11420
+ enabled: boolean;
11421
+ };
11422
+ ipWhitelisting: {
11423
+ errorMessage: string;
11424
+ errorReason: string;
11425
+ enabled: boolean;
11426
+ };
11427
+ npmRegistry: {
11428
+ errorMessage: string;
11429
+ errorReason: string;
11430
+ enabled: boolean;
11431
+ };
11432
+ sso: {
11433
+ errorMessage: string;
11434
+ errorReason: string;
11435
+ enabled: boolean;
11436
+ };
11437
+ workspacePaidSeats: {
11438
+ max: number;
11439
+ errorMessage: string;
11440
+ errorReason: string;
11441
+ };
11442
+ workspaceViewers: {
11443
+ max: number;
11444
+ errorMessage: string;
11445
+ errorReason: string;
11446
+ };
11447
+ customDocumentationExporter: {
11448
+ errorMessage: string;
11449
+ errorReason: string;
11450
+ enabled: boolean;
11451
+ };
11452
+ } | undefined;
11453
+ stripeProductDescription?: string | undefined;
11454
+ stripeProductFeatures?: string[] | undefined;
11455
+ stripeProductAdditionalFeatures?: string[] | undefined;
11456
+ stripeSubscriptionMainItemId?: string | undefined;
11457
+ isPricePerCreator?: boolean | undefined;
11458
+ legacyVersion?: string | undefined;
11459
+ currentPeriodStart?: string | undefined;
11460
+ currentPeriodEnd?: string | undefined;
11461
+ subscriptionStatusUpdatedAt?: string | undefined;
11462
+ cancelAt?: string | null | undefined;
11463
+ card?: {
11464
+ cardId?: string | null | undefined;
11465
+ last4?: string | null | undefined;
11466
+ expiryMonth?: string | null | undefined;
11467
+ expiryYear?: string | null | undefined;
11468
+ brand?: string | null | undefined;
11469
+ name?: string | null | undefined;
11470
+ } | undefined;
11471
+ amount?: number | null | undefined;
11472
+ isTrial?: boolean | undefined;
11473
+ billingType?: "Auto" | "Invoice" | undefined;
11474
+ daysUntilDue?: number | undefined;
11475
+ };
11476
+ npmRegistry?: {
11477
+ registryType: "NPMJS" | "GitHub" | "Artifactory" | "Custom" | "AzureDevOps";
11478
+ registryUrl: string;
11479
+ proxyUrl: string;
11480
+ authType: "Custom" | "Basic" | "Bearer" | "None";
11481
+ enabledScopes: string[];
11482
+ bypassProxy: boolean;
11483
+ customRegistryUrl?: string | undefined;
11484
+ accessToken?: "redacted" | undefined;
11485
+ username?: string | undefined;
11486
+ password?: "redacted" | undefined;
11487
+ } | undefined;
11488
+ }, {
11489
+ id: string;
11490
+ profile: {
11491
+ name: string;
11492
+ color: string;
11493
+ handle: string;
11494
+ avatar?: string | null | undefined;
11495
+ billingDetails?: {
11496
+ address?: {
11497
+ street1?: string | null | undefined;
11498
+ street2?: string | null | undefined;
11499
+ city?: string | null | undefined;
11500
+ postal?: string | null | undefined;
11501
+ country?: string | null | undefined;
11502
+ state?: string | null | undefined;
11503
+ } | null | undefined;
11504
+ email?: string | null | undefined;
11505
+ companyName?: string | null | undefined;
11506
+ companyId?: string | null | undefined;
11507
+ notes?: string | null | undefined;
11508
+ vat?: string | null | undefined;
11509
+ poNumber?: string | null | undefined;
11510
+ } | null | undefined;
11511
+ };
11512
+ subscription: {
11513
+ product: "free" | "team" | "team_test" | "company" | "enterprise";
11514
+ planPriceId: string;
11515
+ planInterval: "daily" | "monthly" | "weekly" | "yearly";
11516
+ seats: number;
11517
+ seatLimit: number;
11518
+ stripeSubscriptionId?: string | null | undefined;
11519
+ stripeCustomerId?: string | null | undefined;
11520
+ status?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
11521
+ subscriptionStatus?: "unknown" | "active" | "trialing" | "past_due" | "canceled" | "unpaid" | "incomplete_expired" | "incomplete" | undefined;
11522
+ internalStatus?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
11523
+ featuresSummary?: {
11524
+ designSystems: {
11525
+ max: number;
11526
+ errorMessage: string;
11527
+ errorReason: string;
11528
+ };
11529
+ designSystemSources: {
11530
+ max: number;
11531
+ errorMessage: string;
11532
+ errorReason: string;
11533
+ noImportJobsErrorMessage: string;
11534
+ noImportJobsErrorReason: string;
11535
+ };
11536
+ designSystemVersions: {
11537
+ max: number;
11538
+ errorMessage: string;
11539
+ errorReason: string;
11540
+ };
11541
+ themes: {
11542
+ max: number;
11543
+ errorMessage: string;
11544
+ errorReason: string;
11545
+ };
11546
+ brands: {
11547
+ max: number;
11548
+ errorMessage: string;
11549
+ errorReason: string;
11550
+ };
11551
+ codegenSchedules: {
11552
+ max: number;
11553
+ errorMessage: string;
11554
+ errorReason: string;
11555
+ };
11556
+ publicDocumentation: {
11557
+ errorMessage: string;
11558
+ errorReason: string;
11559
+ enabled: boolean;
11560
+ };
11561
+ customDocumentationUrl: {
11562
+ errorMessage: string;
11563
+ errorReason: string;
11564
+ enabled: boolean;
11565
+ };
11566
+ customDocumentationViewButton: {
11567
+ errorMessage: string;
11568
+ errorReason: string;
11569
+ enabled: boolean;
11570
+ };
11571
+ designSystemSourceAutoImport: {
11572
+ errorMessage: string;
11573
+ errorReason: string;
11574
+ enabled: boolean;
11575
+ };
11576
+ designSystemSlug: {
11577
+ errorMessage: string;
11578
+ errorReason: string;
11579
+ enabled: boolean;
11580
+ };
11581
+ ipWhitelisting: {
11582
+ errorMessage: string;
11583
+ errorReason: string;
11584
+ enabled: boolean;
11585
+ };
11586
+ npmRegistry: {
11587
+ errorMessage: string;
11588
+ errorReason: string;
11589
+ enabled: boolean;
11590
+ };
11591
+ sso: {
11592
+ errorMessage: string;
11593
+ errorReason: string;
11594
+ enabled: boolean;
11595
+ };
11596
+ workspacePaidSeats: {
11597
+ max: number;
11598
+ errorMessage: string;
11599
+ errorReason: string;
11600
+ };
11601
+ workspaceViewers: {
11602
+ max: number;
11603
+ errorMessage: string;
11604
+ errorReason: string;
11605
+ };
11606
+ customDocumentationExporter: {
11607
+ errorMessage: string;
11608
+ errorReason: string;
11609
+ enabled: boolean;
11610
+ };
11611
+ } | undefined;
11612
+ stripeProductDescription?: string | undefined;
11613
+ stripeProductFeatures?: string[] | undefined;
11614
+ stripeProductAdditionalFeatures?: string[] | undefined;
11615
+ stripeSubscriptionMainItemId?: string | undefined;
11616
+ isPricePerCreator?: boolean | undefined;
11617
+ legacyVersion?: string | undefined;
11618
+ currentPeriodStart?: string | undefined;
11619
+ currentPeriodEnd?: string | undefined;
11620
+ subscriptionStatusUpdatedAt?: string | undefined;
11621
+ cancelAt?: string | null | undefined;
11622
+ card?: {
11623
+ cardId?: string | null | undefined;
11624
+ last4?: string | null | undefined;
11625
+ expiryMonth?: string | null | undefined;
11626
+ expiryYear?: string | null | undefined;
11627
+ brand?: string | null | undefined;
11628
+ name?: string | null | undefined;
11629
+ } | undefined;
11630
+ amount?: number | null | undefined;
11631
+ isTrial?: boolean | undefined;
11632
+ billingType?: "Auto" | "Invoice" | undefined;
11633
+ daysUntilDue?: number | undefined;
11634
+ };
11635
+ npmRegistry?: {
11636
+ registryType: "NPMJS" | "GitHub" | "Artifactory" | "Custom" | "AzureDevOps";
11637
+ registryUrl: string;
11638
+ proxyUrl: string;
11639
+ authType: "Custom" | "Basic" | "Bearer" | "None";
11640
+ enabledScopes: string[];
11641
+ bypassProxy: boolean;
11642
+ customRegistryUrl?: string | undefined;
11643
+ accessToken?: "redacted" | undefined;
11644
+ username?: string | undefined;
11645
+ password?: "redacted" | undefined;
11646
+ } | undefined;
11647
+ }>;
11648
+ type DTOWorkspace = z.infer<typeof DTOWorkspace>;
7131
11649
 
7132
11650
  declare function documentationElementsToHierarchyDto(docPages: DocumentationPageV2[], docGroups: ElementGroup[]): DTODocumentationHierarchyV2;
7133
11651
 
@@ -8824,4 +13342,4 @@ declare const BlockDefinitionUtils: {
8824
13342
  };
8825
13343
  };
8826
13344
 
8827
- export { BlockDefinitionUtils, BlockParsingUtils, DTOCreateDocumentationGroupInput, DTOCreateDocumentationPageInputV2, DTOCreateDocumentationTabGroupInput, DTODeleteDocumentationGroupInput, DTODeleteDocumentationPageInputV2, DTODeleteDocumentationTabGroupInput, DTODesignSystem, DTODocumentationGroupCreateActionInputV2, DTODocumentationGroupCreateActionOutputV2, DTODocumentationGroupDeleteActionInputV2, DTODocumentationGroupDeleteActionOutputV2, DTODocumentationGroupDuplicateActionInputV2, DTODocumentationGroupDuplicateActionOutputV2, DTODocumentationGroupMoveActionInputV2, DTODocumentationGroupMoveActionOutputV2, DTODocumentationGroupStructureV2, DTODocumentationGroupUpdateActionInputV2, DTODocumentationGroupUpdateActionOutputV2, DTODocumentationGroupV2, DTODocumentationHierarchyV2, DTODocumentationPageCreateActionInputV2, DTODocumentationPageCreateActionOutputV2, DTODocumentationPageDeleteActionInputV2, DTODocumentationPageDeleteActionOutputV2, DTODocumentationPageDuplicateActionInputV2, DTODocumentationPageDuplicateActionOutputV2, DTODocumentationPageMoveActionInputV2, DTODocumentationPageMoveActionOutputV2, DTODocumentationPageRoomHeaderData, DTODocumentationPageRoomHeaderDataUpdate, DTODocumentationPageStructureV2, DTODocumentationPageUpdateActionInputV2, DTODocumentationPageUpdateActionOutputV2, DTODocumentationPageV2, DTODocumentationTabGroupCreateActionInputV2, DTODocumentationTabGroupCreateActionOutputV2, DTODocumentationTabGroupDeleteActionInputV2, DTODocumentationTabGroupDeleteActionOutputV2, DTODuplicateDocumentationGroupInput, DTODuplicateDocumentationPageInputV2, DTOElementActionInput, DTOElementActionOutput, type DTOElementGetQueryParsed, type DTOElementGetQueryRaw, DTOElementGetQuerySchema, DTOElementGetTypeFilter, DTOElementsGetOutput, DTOFigmaNode, DTOFigmaNodeActionInput, DTOFigmaNodeActionOutput, DTOFigmaNodeCreateInput, DTOFigmaNodeData, DTOGetBlockDefinitionsOutput, DTOLiveblocksAuthRequest, DTOMoveDocumentationGroupInput, DTOMoveDocumentationPageInputV2, DTOUpdateDocumentationGroupInput, DTOUpdateDocumentationPageInputV2, DocumentationPageEditorModel, DocumentationPageV1DTO, PageBlockEditorModel, type ProsemirrorBlockItem, type ProsemirrorMark, type ProsemirrorNode, blockDefinitionForBlock, blockToProsemirrorNode, buildDocPagePublishPaths, calculateElementParentChain, documentationElementsToHierarchyDto, documentationHierarchyToYjs, documentationPagesToDTOV1, documentationPagesToDTOV2, documentationPagesToStructureDTOV2, elementGroupsToDocumentationGroupDTO, elementGroupsToDocumentationGroupStructureDTO, getMockPageBlockDefinitions, itemConfigurationToYjs, pageToProsemirrorDoc, pageToYXmlFragment, pmSchema, prosemirrorDocToPage, prosemirrorNodeToBlock, serializeAsCustomBlock, yDocToPage, yXmlFragmentToPage, yjsToDocumentationHierarchy, yjsToItemConfiguration };
13345
+ export { BlockDefinitionUtils, BlockParsingUtils, DTOCreateDocumentationGroupInput, DTOCreateDocumentationPageInputV2, DTOCreateDocumentationTabGroupInput, DTODeleteDocumentationGroupInput, DTODeleteDocumentationPageInputV2, DTODeleteDocumentationTabGroupInput, DTODesignSystem, DTODocumentationGroupCreateActionInputV2, DTODocumentationGroupCreateActionOutputV2, DTODocumentationGroupDeleteActionInputV2, DTODocumentationGroupDeleteActionOutputV2, DTODocumentationGroupDuplicateActionInputV2, DTODocumentationGroupDuplicateActionOutputV2, DTODocumentationGroupMoveActionInputV2, DTODocumentationGroupMoveActionOutputV2, DTODocumentationGroupStructureV2, DTODocumentationGroupUpdateActionInputV2, DTODocumentationGroupUpdateActionOutputV2, DTODocumentationGroupV2, DTODocumentationHierarchyV2, DTODocumentationPageCreateActionInputV2, DTODocumentationPageCreateActionOutputV2, DTODocumentationPageDeleteActionInputV2, DTODocumentationPageDeleteActionOutputV2, DTODocumentationPageDuplicateActionInputV2, DTODocumentationPageDuplicateActionOutputV2, DTODocumentationPageMoveActionInputV2, DTODocumentationPageMoveActionOutputV2, DTODocumentationPageRoomHeaderData, DTODocumentationPageRoomHeaderDataUpdate, DTODocumentationPageStructureV2, DTODocumentationPageUpdateActionInputV2, DTODocumentationPageUpdateActionOutputV2, DTODocumentationPageV2, DTODocumentationTabGroupCreateActionInputV2, DTODocumentationTabGroupCreateActionOutputV2, DTODocumentationTabGroupDeleteActionInputV2, DTODocumentationTabGroupDeleteActionOutputV2, DTODuplicateDocumentationGroupInput, DTODuplicateDocumentationPageInputV2, DTOElementActionInput, DTOElementActionOutput, DTOElementsGetOutput, type DTOElementsGetQueryParsed, type DTOElementsGetQueryRaw, DTOElementsGetQuerySchema, DTOElementsGetTypeFilter, DTOFigmaNode, DTOFigmaNodeData, DTOFigmaNodeRenderActionInput, DTOFigmaNodeRenderActionOutput, DTOFigmaNodeRenderInput, DTOGetBlockDefinitionsOutput, DTOLiveblocksAuthRequest, DTOMoveDocumentationGroupInput, DTOMoveDocumentationPageInputV2, DTONpmRegistryConfig, DTOUpdateDocumentationGroupInput, DTOUpdateDocumentationPageInputV2, DTOUserWorkspaceMembership, DTOUserWorkspaceMembershipsResponse, DTOWorkspace, DTOWorkspaceRole, DocumentationPageEditorModel, DocumentationPageV1DTO, PageBlockEditorModel, type ProsemirrorBlockItem, type ProsemirrorMark, type ProsemirrorNode, blockDefinitionForBlock, blockToProsemirrorNode, buildDocPagePublishPaths, calculateElementParentChain, documentationElementsToHierarchyDto, documentationHierarchyToYjs, documentationPagesToDTOV1, documentationPagesToDTOV2, documentationPagesToStructureDTOV2, elementGroupsToDocumentationGroupDTO, elementGroupsToDocumentationGroupStructureDTO, getMockPageBlockDefinitions, itemConfigurationToYjs, pageToProsemirrorDoc, pageToYXmlFragment, pmSchema, prosemirrorDocToPage, prosemirrorNodeToBlock, serializeAsCustomBlock, yDocToPage, yXmlFragmentToPage, yjsToDocumentationHierarchy, yjsToItemConfiguration };