@supernova-studio/model 0.54.35 → 0.55.1

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
@@ -132017,6 +132017,2527 @@ declare const DesignSystemInviteEmailData: z.ZodObject<{
132017
132017
  }>;
132018
132018
  type DesignSystemInviteEmailData = z.infer<typeof DesignSystemInviteEmailData>;
132019
132019
 
132020
+ /**
132021
+ * Object describing who is going to receive the email.
132022
+ *
132023
+ * Normally recepient is just an email, however in some cases email can be tailored
132024
+ * for who receives it. In this case the email has cutomization based on the role of the
132025
+ * recepient in the workspace.
132026
+ */
132027
+ declare const WorkspaceInviteEmailRecipient: z.ZodObject<{
132028
+ email: z.ZodString;
132029
+ role: z.ZodEnum<["Owner", "Admin", "Creator", "Viewer", "Billing", "Guest", "Contributor"]>;
132030
+ }, "strip", z.ZodTypeAny, {
132031
+ email: string;
132032
+ role: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Guest" | "Contributor";
132033
+ }, {
132034
+ email: string;
132035
+ role: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Guest" | "Contributor";
132036
+ }>;
132037
+ type WorkspaceInviteEmailRecipient = z.infer<typeof WorkspaceInviteEmailRecipient>;
132038
+ /**
132039
+ * Object describing the necessary data to send an email notifying a user that
132040
+ * they've been added to a workspace.
132041
+ */
132042
+ declare const WorkspaceInviteEmailData: z.ZodObject<{
132043
+ workspace: z.ZodObject<{
132044
+ id: z.ZodString;
132045
+ profile: z.ZodObject<{
132046
+ name: z.ZodString;
132047
+ handle: z.ZodString;
132048
+ color: z.ZodString;
132049
+ avatar: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<string, z.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
132050
+ billingDetails: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<{
132051
+ address?: {
132052
+ street1?: string | undefined;
132053
+ street2?: string | undefined;
132054
+ city?: string | undefined;
132055
+ postal?: string | undefined;
132056
+ country?: string | undefined;
132057
+ state?: string | undefined;
132058
+ } | undefined;
132059
+ email?: string | undefined;
132060
+ companyName?: string | undefined;
132061
+ companyId?: string | undefined;
132062
+ notes?: string | undefined;
132063
+ vat?: string | undefined;
132064
+ poNumber?: string | undefined;
132065
+ }, z.ZodTypeDef, {
132066
+ address?: {
132067
+ street1?: string | null | undefined;
132068
+ street2?: string | null | undefined;
132069
+ city?: string | null | undefined;
132070
+ postal?: string | null | undefined;
132071
+ country?: string | null | undefined;
132072
+ state?: string | null | undefined;
132073
+ } | null | undefined;
132074
+ email?: string | null | undefined;
132075
+ companyName?: string | null | undefined;
132076
+ companyId?: string | null | undefined;
132077
+ notes?: string | null | undefined;
132078
+ vat?: string | null | undefined;
132079
+ poNumber?: string | null | undefined;
132080
+ }>>>, {
132081
+ address?: {
132082
+ street1?: string | undefined;
132083
+ street2?: string | undefined;
132084
+ city?: string | undefined;
132085
+ postal?: string | undefined;
132086
+ country?: string | undefined;
132087
+ state?: string | undefined;
132088
+ } | undefined;
132089
+ email?: string | undefined;
132090
+ companyName?: string | undefined;
132091
+ companyId?: string | undefined;
132092
+ notes?: string | undefined;
132093
+ vat?: string | undefined;
132094
+ poNumber?: string | undefined;
132095
+ } | undefined, {
132096
+ address?: {
132097
+ street1?: string | null | undefined;
132098
+ street2?: string | null | undefined;
132099
+ city?: string | null | undefined;
132100
+ postal?: string | null | undefined;
132101
+ country?: string | null | undefined;
132102
+ state?: string | null | undefined;
132103
+ } | null | undefined;
132104
+ email?: string | null | undefined;
132105
+ companyName?: string | null | undefined;
132106
+ companyId?: string | null | undefined;
132107
+ notes?: string | null | undefined;
132108
+ vat?: string | null | undefined;
132109
+ poNumber?: string | null | undefined;
132110
+ } | null | undefined>;
132111
+ }, "strip", z.ZodTypeAny, {
132112
+ name: string;
132113
+ color: string;
132114
+ handle: string;
132115
+ avatar?: string | undefined;
132116
+ billingDetails?: {
132117
+ address?: {
132118
+ street1?: string | undefined;
132119
+ street2?: string | undefined;
132120
+ city?: string | undefined;
132121
+ postal?: string | undefined;
132122
+ country?: string | undefined;
132123
+ state?: string | undefined;
132124
+ } | undefined;
132125
+ email?: string | undefined;
132126
+ companyName?: string | undefined;
132127
+ companyId?: string | undefined;
132128
+ notes?: string | undefined;
132129
+ vat?: string | undefined;
132130
+ poNumber?: string | undefined;
132131
+ } | undefined;
132132
+ }, {
132133
+ name: string;
132134
+ color: string;
132135
+ handle: string;
132136
+ avatar?: string | null | undefined;
132137
+ billingDetails?: {
132138
+ address?: {
132139
+ street1?: string | null | undefined;
132140
+ street2?: string | null | undefined;
132141
+ city?: string | null | undefined;
132142
+ postal?: string | null | undefined;
132143
+ country?: string | null | undefined;
132144
+ state?: string | null | undefined;
132145
+ } | null | undefined;
132146
+ email?: string | null | undefined;
132147
+ companyName?: string | null | undefined;
132148
+ companyId?: string | null | undefined;
132149
+ notes?: string | null | undefined;
132150
+ vat?: string | null | undefined;
132151
+ poNumber?: string | null | undefined;
132152
+ } | null | undefined;
132153
+ }>;
132154
+ subscription: z.ZodObject<{
132155
+ stripeSubscriptionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
132156
+ stripeCustomerId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
132157
+ status: z.ZodOptional<z.ZodEnum<["active", "suspended", "gracePeriod", "cancelled", "downgraded_to_free"]>>;
132158
+ subscriptionStatus: z.ZodOptional<z.ZodEnum<["trialing", "active", "past_due", "canceled", "unpaid", "incomplete_expired", "incomplete", "unknown"]>>;
132159
+ internalStatus: z.ZodOptional<z.ZodEnum<["active", "suspended", "gracePeriod", "cancelled", "downgraded_to_free"]>>;
132160
+ product: z.ZodEnum<["free", "team", "company", "enterprise"]>;
132161
+ featuresSummary: z.ZodOptional<z.ZodObject<{
132162
+ designSystems: z.ZodObject<{
132163
+ max: z.ZodNumber;
132164
+ errorMessage: z.ZodString;
132165
+ errorReason: z.ZodString;
132166
+ }, "strip", z.ZodTypeAny, {
132167
+ max: number;
132168
+ errorMessage: string;
132169
+ errorReason: string;
132170
+ }, {
132171
+ max: number;
132172
+ errorMessage: string;
132173
+ errorReason: string;
132174
+ }>;
132175
+ designSystemSources: z.ZodObject<z.objectUtil.extendShape<{
132176
+ max: z.ZodNumber;
132177
+ errorMessage: z.ZodString;
132178
+ errorReason: z.ZodString;
132179
+ }, {
132180
+ noImportJobsErrorMessage: z.ZodString;
132181
+ noImportJobsErrorReason: z.ZodString;
132182
+ }>, "strip", z.ZodTypeAny, {
132183
+ max: number;
132184
+ errorMessage: string;
132185
+ errorReason: string;
132186
+ noImportJobsErrorMessage: string;
132187
+ noImportJobsErrorReason: string;
132188
+ }, {
132189
+ max: number;
132190
+ errorMessage: string;
132191
+ errorReason: string;
132192
+ noImportJobsErrorMessage: string;
132193
+ noImportJobsErrorReason: string;
132194
+ }>;
132195
+ designSystemVersions: z.ZodObject<{
132196
+ max: z.ZodNumber;
132197
+ errorMessage: z.ZodString;
132198
+ errorReason: z.ZodString;
132199
+ }, "strip", z.ZodTypeAny, {
132200
+ max: number;
132201
+ errorMessage: string;
132202
+ errorReason: string;
132203
+ }, {
132204
+ max: number;
132205
+ errorMessage: string;
132206
+ errorReason: string;
132207
+ }>;
132208
+ themes: z.ZodObject<{
132209
+ max: z.ZodNumber;
132210
+ errorMessage: z.ZodString;
132211
+ errorReason: z.ZodString;
132212
+ }, "strip", z.ZodTypeAny, {
132213
+ max: number;
132214
+ errorMessage: string;
132215
+ errorReason: string;
132216
+ }, {
132217
+ max: number;
132218
+ errorMessage: string;
132219
+ errorReason: string;
132220
+ }>;
132221
+ brands: z.ZodObject<{
132222
+ max: z.ZodNumber;
132223
+ errorMessage: z.ZodString;
132224
+ errorReason: z.ZodString;
132225
+ }, "strip", z.ZodTypeAny, {
132226
+ max: number;
132227
+ errorMessage: string;
132228
+ errorReason: string;
132229
+ }, {
132230
+ max: number;
132231
+ errorMessage: string;
132232
+ errorReason: string;
132233
+ }>;
132234
+ codegenSchedules: z.ZodObject<{
132235
+ max: z.ZodNumber;
132236
+ errorMessage: z.ZodString;
132237
+ errorReason: z.ZodString;
132238
+ }, "strip", z.ZodTypeAny, {
132239
+ max: number;
132240
+ errorMessage: string;
132241
+ errorReason: string;
132242
+ }, {
132243
+ max: number;
132244
+ errorMessage: string;
132245
+ errorReason: string;
132246
+ }>;
132247
+ publicDocumentation: z.ZodObject<{
132248
+ enabled: z.ZodBoolean;
132249
+ errorMessage: z.ZodString;
132250
+ errorReason: z.ZodString;
132251
+ }, "strip", z.ZodTypeAny, {
132252
+ errorMessage: string;
132253
+ errorReason: string;
132254
+ enabled: boolean;
132255
+ }, {
132256
+ errorMessage: string;
132257
+ errorReason: string;
132258
+ enabled: boolean;
132259
+ }>;
132260
+ customDocumentationUrl: z.ZodObject<{
132261
+ enabled: z.ZodBoolean;
132262
+ errorMessage: z.ZodString;
132263
+ errorReason: z.ZodString;
132264
+ }, "strip", z.ZodTypeAny, {
132265
+ errorMessage: string;
132266
+ errorReason: string;
132267
+ enabled: boolean;
132268
+ }, {
132269
+ errorMessage: string;
132270
+ errorReason: string;
132271
+ enabled: boolean;
132272
+ }>;
132273
+ customDocumentationViewButton: z.ZodObject<{
132274
+ enabled: z.ZodBoolean;
132275
+ errorMessage: z.ZodString;
132276
+ errorReason: z.ZodString;
132277
+ }, "strip", z.ZodTypeAny, {
132278
+ errorMessage: string;
132279
+ errorReason: string;
132280
+ enabled: boolean;
132281
+ }, {
132282
+ errorMessage: string;
132283
+ errorReason: string;
132284
+ enabled: boolean;
132285
+ }>;
132286
+ designSystemSourceAutoImport: z.ZodObject<{
132287
+ enabled: z.ZodBoolean;
132288
+ errorMessage: z.ZodString;
132289
+ errorReason: z.ZodString;
132290
+ }, "strip", z.ZodTypeAny, {
132291
+ errorMessage: string;
132292
+ errorReason: string;
132293
+ enabled: boolean;
132294
+ }, {
132295
+ errorMessage: string;
132296
+ errorReason: string;
132297
+ enabled: boolean;
132298
+ }>;
132299
+ designSystemSlug: z.ZodObject<{
132300
+ enabled: z.ZodBoolean;
132301
+ errorMessage: z.ZodString;
132302
+ errorReason: z.ZodString;
132303
+ }, "strip", z.ZodTypeAny, {
132304
+ errorMessage: string;
132305
+ errorReason: string;
132306
+ enabled: boolean;
132307
+ }, {
132308
+ errorMessage: string;
132309
+ errorReason: string;
132310
+ enabled: boolean;
132311
+ }>;
132312
+ ipWhitelisting: z.ZodObject<{
132313
+ enabled: z.ZodBoolean;
132314
+ errorMessage: z.ZodString;
132315
+ errorReason: z.ZodString;
132316
+ }, "strip", z.ZodTypeAny, {
132317
+ errorMessage: string;
132318
+ errorReason: string;
132319
+ enabled: boolean;
132320
+ }, {
132321
+ errorMessage: string;
132322
+ errorReason: string;
132323
+ enabled: boolean;
132324
+ }>;
132325
+ npmRegistry: z.ZodObject<{
132326
+ enabled: z.ZodBoolean;
132327
+ errorMessage: z.ZodString;
132328
+ errorReason: z.ZodString;
132329
+ }, "strip", z.ZodTypeAny, {
132330
+ errorMessage: string;
132331
+ errorReason: string;
132332
+ enabled: boolean;
132333
+ }, {
132334
+ errorMessage: string;
132335
+ errorReason: string;
132336
+ enabled: boolean;
132337
+ }>;
132338
+ sso: z.ZodObject<{
132339
+ enabled: z.ZodBoolean;
132340
+ errorMessage: z.ZodString;
132341
+ errorReason: z.ZodString;
132342
+ }, "strip", z.ZodTypeAny, {
132343
+ errorMessage: string;
132344
+ errorReason: string;
132345
+ enabled: boolean;
132346
+ }, {
132347
+ errorMessage: string;
132348
+ errorReason: string;
132349
+ enabled: boolean;
132350
+ }>;
132351
+ workspacePaidSeats: z.ZodObject<{
132352
+ max: z.ZodNumber;
132353
+ errorMessage: z.ZodString;
132354
+ errorReason: z.ZodString;
132355
+ }, "strip", z.ZodTypeAny, {
132356
+ max: number;
132357
+ errorMessage: string;
132358
+ errorReason: string;
132359
+ }, {
132360
+ max: number;
132361
+ errorMessage: string;
132362
+ errorReason: string;
132363
+ }>;
132364
+ workspaceViewers: z.ZodObject<{
132365
+ max: z.ZodNumber;
132366
+ errorMessage: z.ZodString;
132367
+ errorReason: z.ZodString;
132368
+ }, "strip", z.ZodTypeAny, {
132369
+ max: number;
132370
+ errorMessage: string;
132371
+ errorReason: string;
132372
+ }, {
132373
+ max: number;
132374
+ errorMessage: string;
132375
+ errorReason: string;
132376
+ }>;
132377
+ customDocumentationExporter: z.ZodObject<{
132378
+ enabled: z.ZodBoolean;
132379
+ errorMessage: z.ZodString;
132380
+ errorReason: z.ZodString;
132381
+ }, "strip", z.ZodTypeAny, {
132382
+ errorMessage: string;
132383
+ errorReason: string;
132384
+ enabled: boolean;
132385
+ }, {
132386
+ errorMessage: string;
132387
+ errorReason: string;
132388
+ enabled: boolean;
132389
+ }>;
132390
+ protectedPages: z.ZodObject<{
132391
+ enabled: z.ZodBoolean;
132392
+ errorMessage: z.ZodString;
132393
+ errorReason: z.ZodString;
132394
+ }, "strip", z.ZodTypeAny, {
132395
+ errorMessage: string;
132396
+ errorReason: string;
132397
+ enabled: boolean;
132398
+ }, {
132399
+ errorMessage: string;
132400
+ errorReason: string;
132401
+ enabled: boolean;
132402
+ }>;
132403
+ approvals: z.ZodObject<{
132404
+ enabled: z.ZodBoolean;
132405
+ errorMessage: z.ZodString;
132406
+ errorReason: z.ZodString;
132407
+ }, "strip", z.ZodTypeAny, {
132408
+ errorMessage: string;
132409
+ errorReason: string;
132410
+ enabled: boolean;
132411
+ }, {
132412
+ errorMessage: string;
132413
+ errorReason: string;
132414
+ enabled: boolean;
132415
+ }>;
132416
+ selectivePublishing: z.ZodObject<{
132417
+ enabled: z.ZodBoolean;
132418
+ errorMessage: z.ZodString;
132419
+ errorReason: z.ZodString;
132420
+ }, "strip", z.ZodTypeAny, {
132421
+ errorMessage: string;
132422
+ errorReason: string;
132423
+ enabled: boolean;
132424
+ }, {
132425
+ errorMessage: string;
132426
+ errorReason: string;
132427
+ enabled: boolean;
132428
+ }>;
132429
+ designSystemAccessModes: z.ZodObject<{
132430
+ enabled: z.ZodBoolean;
132431
+ errorMessage: z.ZodString;
132432
+ errorReason: z.ZodString;
132433
+ }, "strip", z.ZodTypeAny, {
132434
+ errorMessage: string;
132435
+ errorReason: string;
132436
+ enabled: boolean;
132437
+ }, {
132438
+ errorMessage: string;
132439
+ errorReason: string;
132440
+ enabled: boolean;
132441
+ }>;
132442
+ }, "strip", z.ZodTypeAny, {
132443
+ designSystems: {
132444
+ max: number;
132445
+ errorMessage: string;
132446
+ errorReason: string;
132447
+ };
132448
+ designSystemSources: {
132449
+ max: number;
132450
+ errorMessage: string;
132451
+ errorReason: string;
132452
+ noImportJobsErrorMessage: string;
132453
+ noImportJobsErrorReason: string;
132454
+ };
132455
+ designSystemVersions: {
132456
+ max: number;
132457
+ errorMessage: string;
132458
+ errorReason: string;
132459
+ };
132460
+ themes: {
132461
+ max: number;
132462
+ errorMessage: string;
132463
+ errorReason: string;
132464
+ };
132465
+ brands: {
132466
+ max: number;
132467
+ errorMessage: string;
132468
+ errorReason: string;
132469
+ };
132470
+ codegenSchedules: {
132471
+ max: number;
132472
+ errorMessage: string;
132473
+ errorReason: string;
132474
+ };
132475
+ publicDocumentation: {
132476
+ errorMessage: string;
132477
+ errorReason: string;
132478
+ enabled: boolean;
132479
+ };
132480
+ customDocumentationUrl: {
132481
+ errorMessage: string;
132482
+ errorReason: string;
132483
+ enabled: boolean;
132484
+ };
132485
+ customDocumentationViewButton: {
132486
+ errorMessage: string;
132487
+ errorReason: string;
132488
+ enabled: boolean;
132489
+ };
132490
+ designSystemSourceAutoImport: {
132491
+ errorMessage: string;
132492
+ errorReason: string;
132493
+ enabled: boolean;
132494
+ };
132495
+ designSystemSlug: {
132496
+ errorMessage: string;
132497
+ errorReason: string;
132498
+ enabled: boolean;
132499
+ };
132500
+ ipWhitelisting: {
132501
+ errorMessage: string;
132502
+ errorReason: string;
132503
+ enabled: boolean;
132504
+ };
132505
+ npmRegistry: {
132506
+ errorMessage: string;
132507
+ errorReason: string;
132508
+ enabled: boolean;
132509
+ };
132510
+ sso: {
132511
+ errorMessage: string;
132512
+ errorReason: string;
132513
+ enabled: boolean;
132514
+ };
132515
+ workspacePaidSeats: {
132516
+ max: number;
132517
+ errorMessage: string;
132518
+ errorReason: string;
132519
+ };
132520
+ workspaceViewers: {
132521
+ max: number;
132522
+ errorMessage: string;
132523
+ errorReason: string;
132524
+ };
132525
+ customDocumentationExporter: {
132526
+ errorMessage: string;
132527
+ errorReason: string;
132528
+ enabled: boolean;
132529
+ };
132530
+ protectedPages: {
132531
+ errorMessage: string;
132532
+ errorReason: string;
132533
+ enabled: boolean;
132534
+ };
132535
+ approvals: {
132536
+ errorMessage: string;
132537
+ errorReason: string;
132538
+ enabled: boolean;
132539
+ };
132540
+ selectivePublishing: {
132541
+ errorMessage: string;
132542
+ errorReason: string;
132543
+ enabled: boolean;
132544
+ };
132545
+ designSystemAccessModes: {
132546
+ errorMessage: string;
132547
+ errorReason: string;
132548
+ enabled: boolean;
132549
+ };
132550
+ }, {
132551
+ designSystems: {
132552
+ max: number;
132553
+ errorMessage: string;
132554
+ errorReason: string;
132555
+ };
132556
+ designSystemSources: {
132557
+ max: number;
132558
+ errorMessage: string;
132559
+ errorReason: string;
132560
+ noImportJobsErrorMessage: string;
132561
+ noImportJobsErrorReason: string;
132562
+ };
132563
+ designSystemVersions: {
132564
+ max: number;
132565
+ errorMessage: string;
132566
+ errorReason: string;
132567
+ };
132568
+ themes: {
132569
+ max: number;
132570
+ errorMessage: string;
132571
+ errorReason: string;
132572
+ };
132573
+ brands: {
132574
+ max: number;
132575
+ errorMessage: string;
132576
+ errorReason: string;
132577
+ };
132578
+ codegenSchedules: {
132579
+ max: number;
132580
+ errorMessage: string;
132581
+ errorReason: string;
132582
+ };
132583
+ publicDocumentation: {
132584
+ errorMessage: string;
132585
+ errorReason: string;
132586
+ enabled: boolean;
132587
+ };
132588
+ customDocumentationUrl: {
132589
+ errorMessage: string;
132590
+ errorReason: string;
132591
+ enabled: boolean;
132592
+ };
132593
+ customDocumentationViewButton: {
132594
+ errorMessage: string;
132595
+ errorReason: string;
132596
+ enabled: boolean;
132597
+ };
132598
+ designSystemSourceAutoImport: {
132599
+ errorMessage: string;
132600
+ errorReason: string;
132601
+ enabled: boolean;
132602
+ };
132603
+ designSystemSlug: {
132604
+ errorMessage: string;
132605
+ errorReason: string;
132606
+ enabled: boolean;
132607
+ };
132608
+ ipWhitelisting: {
132609
+ errorMessage: string;
132610
+ errorReason: string;
132611
+ enabled: boolean;
132612
+ };
132613
+ npmRegistry: {
132614
+ errorMessage: string;
132615
+ errorReason: string;
132616
+ enabled: boolean;
132617
+ };
132618
+ sso: {
132619
+ errorMessage: string;
132620
+ errorReason: string;
132621
+ enabled: boolean;
132622
+ };
132623
+ workspacePaidSeats: {
132624
+ max: number;
132625
+ errorMessage: string;
132626
+ errorReason: string;
132627
+ };
132628
+ workspaceViewers: {
132629
+ max: number;
132630
+ errorMessage: string;
132631
+ errorReason: string;
132632
+ };
132633
+ customDocumentationExporter: {
132634
+ errorMessage: string;
132635
+ errorReason: string;
132636
+ enabled: boolean;
132637
+ };
132638
+ protectedPages: {
132639
+ errorMessage: string;
132640
+ errorReason: string;
132641
+ enabled: boolean;
132642
+ };
132643
+ approvals: {
132644
+ errorMessage: string;
132645
+ errorReason: string;
132646
+ enabled: boolean;
132647
+ };
132648
+ selectivePublishing: {
132649
+ errorMessage: string;
132650
+ errorReason: string;
132651
+ enabled: boolean;
132652
+ };
132653
+ designSystemAccessModes: {
132654
+ errorMessage: string;
132655
+ errorReason: string;
132656
+ enabled: boolean;
132657
+ };
132658
+ }>>;
132659
+ stripeProductDescription: z.ZodOptional<z.ZodString>;
132660
+ stripeProductFeatures: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
132661
+ stripeProductAdditionalFeatures: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
132662
+ stripeSubscriptionMainItemId: z.ZodOptional<z.ZodString>;
132663
+ planPriceId: z.ZodString;
132664
+ planInterval: z.ZodEnum<["daily", "monthly", "weekly", "yearly"]>;
132665
+ isPricePerCreator: z.ZodOptional<z.ZodBoolean>;
132666
+ legacyVersion: z.ZodOptional<z.ZodString>;
132667
+ seats: z.ZodNumber;
132668
+ seatLimit: z.ZodNumber;
132669
+ currentPeriodStart: z.ZodOptional<z.ZodString>;
132670
+ currentPeriodEnd: z.ZodOptional<z.ZodString>;
132671
+ subscriptionStatusUpdatedAt: z.ZodOptional<z.ZodString>;
132672
+ cancelAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
132673
+ card: z.ZodOptional<z.ZodObject<{
132674
+ cardId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
132675
+ last4: z.ZodOptional<z.ZodNullable<z.ZodString>>;
132676
+ expiryMonth: z.ZodOptional<z.ZodNullable<z.ZodString>>;
132677
+ expiryYear: z.ZodOptional<z.ZodNullable<z.ZodString>>;
132678
+ brand: z.ZodOptional<z.ZodNullable<z.ZodString>>;
132679
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
132680
+ }, "strip", z.ZodTypeAny, {
132681
+ cardId?: string | null | undefined;
132682
+ last4?: string | null | undefined;
132683
+ expiryMonth?: string | null | undefined;
132684
+ expiryYear?: string | null | undefined;
132685
+ brand?: string | null | undefined;
132686
+ name?: string | null | undefined;
132687
+ }, {
132688
+ cardId?: string | null | undefined;
132689
+ last4?: string | null | undefined;
132690
+ expiryMonth?: string | null | undefined;
132691
+ expiryYear?: string | null | undefined;
132692
+ brand?: string | null | undefined;
132693
+ name?: string | null | undefined;
132694
+ }>>;
132695
+ amount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
132696
+ isTrial: z.ZodOptional<z.ZodBoolean>;
132697
+ billingType: z.ZodOptional<z.ZodEnum<["Auto", "Invoice"]>>;
132698
+ daysUntilDue: z.ZodOptional<z.ZodNumber>;
132699
+ }, "strip", z.ZodTypeAny, {
132700
+ product: "free" | "team" | "company" | "enterprise";
132701
+ planPriceId: string;
132702
+ planInterval: "daily" | "monthly" | "weekly" | "yearly";
132703
+ seats: number;
132704
+ seatLimit: number;
132705
+ status?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
132706
+ card?: {
132707
+ cardId?: string | null | undefined;
132708
+ last4?: string | null | undefined;
132709
+ expiryMonth?: string | null | undefined;
132710
+ expiryYear?: string | null | undefined;
132711
+ brand?: string | null | undefined;
132712
+ name?: string | null | undefined;
132713
+ } | undefined;
132714
+ amount?: number | null | undefined;
132715
+ stripeProductDescription?: string | undefined;
132716
+ isPricePerCreator?: boolean | undefined;
132717
+ isTrial?: boolean | undefined;
132718
+ legacyVersion?: string | undefined;
132719
+ stripeProductFeatures?: string[] | undefined;
132720
+ stripeProductAdditionalFeatures?: string[] | undefined;
132721
+ stripeSubscriptionId?: string | null | undefined;
132722
+ stripeCustomerId?: string | null | undefined;
132723
+ subscriptionStatus?: "unknown" | "active" | "trialing" | "past_due" | "canceled" | "unpaid" | "incomplete_expired" | "incomplete" | undefined;
132724
+ internalStatus?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
132725
+ featuresSummary?: {
132726
+ designSystems: {
132727
+ max: number;
132728
+ errorMessage: string;
132729
+ errorReason: string;
132730
+ };
132731
+ designSystemSources: {
132732
+ max: number;
132733
+ errorMessage: string;
132734
+ errorReason: string;
132735
+ noImportJobsErrorMessage: string;
132736
+ noImportJobsErrorReason: string;
132737
+ };
132738
+ designSystemVersions: {
132739
+ max: number;
132740
+ errorMessage: string;
132741
+ errorReason: string;
132742
+ };
132743
+ themes: {
132744
+ max: number;
132745
+ errorMessage: string;
132746
+ errorReason: string;
132747
+ };
132748
+ brands: {
132749
+ max: number;
132750
+ errorMessage: string;
132751
+ errorReason: string;
132752
+ };
132753
+ codegenSchedules: {
132754
+ max: number;
132755
+ errorMessage: string;
132756
+ errorReason: string;
132757
+ };
132758
+ publicDocumentation: {
132759
+ errorMessage: string;
132760
+ errorReason: string;
132761
+ enabled: boolean;
132762
+ };
132763
+ customDocumentationUrl: {
132764
+ errorMessage: string;
132765
+ errorReason: string;
132766
+ enabled: boolean;
132767
+ };
132768
+ customDocumentationViewButton: {
132769
+ errorMessage: string;
132770
+ errorReason: string;
132771
+ enabled: boolean;
132772
+ };
132773
+ designSystemSourceAutoImport: {
132774
+ errorMessage: string;
132775
+ errorReason: string;
132776
+ enabled: boolean;
132777
+ };
132778
+ designSystemSlug: {
132779
+ errorMessage: string;
132780
+ errorReason: string;
132781
+ enabled: boolean;
132782
+ };
132783
+ ipWhitelisting: {
132784
+ errorMessage: string;
132785
+ errorReason: string;
132786
+ enabled: boolean;
132787
+ };
132788
+ npmRegistry: {
132789
+ errorMessage: string;
132790
+ errorReason: string;
132791
+ enabled: boolean;
132792
+ };
132793
+ sso: {
132794
+ errorMessage: string;
132795
+ errorReason: string;
132796
+ enabled: boolean;
132797
+ };
132798
+ workspacePaidSeats: {
132799
+ max: number;
132800
+ errorMessage: string;
132801
+ errorReason: string;
132802
+ };
132803
+ workspaceViewers: {
132804
+ max: number;
132805
+ errorMessage: string;
132806
+ errorReason: string;
132807
+ };
132808
+ customDocumentationExporter: {
132809
+ errorMessage: string;
132810
+ errorReason: string;
132811
+ enabled: boolean;
132812
+ };
132813
+ protectedPages: {
132814
+ errorMessage: string;
132815
+ errorReason: string;
132816
+ enabled: boolean;
132817
+ };
132818
+ approvals: {
132819
+ errorMessage: string;
132820
+ errorReason: string;
132821
+ enabled: boolean;
132822
+ };
132823
+ selectivePublishing: {
132824
+ errorMessage: string;
132825
+ errorReason: string;
132826
+ enabled: boolean;
132827
+ };
132828
+ designSystemAccessModes: {
132829
+ errorMessage: string;
132830
+ errorReason: string;
132831
+ enabled: boolean;
132832
+ };
132833
+ } | undefined;
132834
+ stripeSubscriptionMainItemId?: string | undefined;
132835
+ currentPeriodStart?: string | undefined;
132836
+ currentPeriodEnd?: string | undefined;
132837
+ subscriptionStatusUpdatedAt?: string | undefined;
132838
+ cancelAt?: string | null | undefined;
132839
+ billingType?: "Auto" | "Invoice" | undefined;
132840
+ daysUntilDue?: number | undefined;
132841
+ }, {
132842
+ product: "free" | "team" | "company" | "enterprise";
132843
+ planPriceId: string;
132844
+ planInterval: "daily" | "monthly" | "weekly" | "yearly";
132845
+ seats: number;
132846
+ seatLimit: number;
132847
+ status?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
132848
+ card?: {
132849
+ cardId?: string | null | undefined;
132850
+ last4?: string | null | undefined;
132851
+ expiryMonth?: string | null | undefined;
132852
+ expiryYear?: string | null | undefined;
132853
+ brand?: string | null | undefined;
132854
+ name?: string | null | undefined;
132855
+ } | undefined;
132856
+ amount?: number | null | undefined;
132857
+ stripeProductDescription?: string | undefined;
132858
+ isPricePerCreator?: boolean | undefined;
132859
+ isTrial?: boolean | undefined;
132860
+ legacyVersion?: string | undefined;
132861
+ stripeProductFeatures?: string[] | undefined;
132862
+ stripeProductAdditionalFeatures?: string[] | undefined;
132863
+ stripeSubscriptionId?: string | null | undefined;
132864
+ stripeCustomerId?: string | null | undefined;
132865
+ subscriptionStatus?: "unknown" | "active" | "trialing" | "past_due" | "canceled" | "unpaid" | "incomplete_expired" | "incomplete" | undefined;
132866
+ internalStatus?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
132867
+ featuresSummary?: {
132868
+ designSystems: {
132869
+ max: number;
132870
+ errorMessage: string;
132871
+ errorReason: string;
132872
+ };
132873
+ designSystemSources: {
132874
+ max: number;
132875
+ errorMessage: string;
132876
+ errorReason: string;
132877
+ noImportJobsErrorMessage: string;
132878
+ noImportJobsErrorReason: string;
132879
+ };
132880
+ designSystemVersions: {
132881
+ max: number;
132882
+ errorMessage: string;
132883
+ errorReason: string;
132884
+ };
132885
+ themes: {
132886
+ max: number;
132887
+ errorMessage: string;
132888
+ errorReason: string;
132889
+ };
132890
+ brands: {
132891
+ max: number;
132892
+ errorMessage: string;
132893
+ errorReason: string;
132894
+ };
132895
+ codegenSchedules: {
132896
+ max: number;
132897
+ errorMessage: string;
132898
+ errorReason: string;
132899
+ };
132900
+ publicDocumentation: {
132901
+ errorMessage: string;
132902
+ errorReason: string;
132903
+ enabled: boolean;
132904
+ };
132905
+ customDocumentationUrl: {
132906
+ errorMessage: string;
132907
+ errorReason: string;
132908
+ enabled: boolean;
132909
+ };
132910
+ customDocumentationViewButton: {
132911
+ errorMessage: string;
132912
+ errorReason: string;
132913
+ enabled: boolean;
132914
+ };
132915
+ designSystemSourceAutoImport: {
132916
+ errorMessage: string;
132917
+ errorReason: string;
132918
+ enabled: boolean;
132919
+ };
132920
+ designSystemSlug: {
132921
+ errorMessage: string;
132922
+ errorReason: string;
132923
+ enabled: boolean;
132924
+ };
132925
+ ipWhitelisting: {
132926
+ errorMessage: string;
132927
+ errorReason: string;
132928
+ enabled: boolean;
132929
+ };
132930
+ npmRegistry: {
132931
+ errorMessage: string;
132932
+ errorReason: string;
132933
+ enabled: boolean;
132934
+ };
132935
+ sso: {
132936
+ errorMessage: string;
132937
+ errorReason: string;
132938
+ enabled: boolean;
132939
+ };
132940
+ workspacePaidSeats: {
132941
+ max: number;
132942
+ errorMessage: string;
132943
+ errorReason: string;
132944
+ };
132945
+ workspaceViewers: {
132946
+ max: number;
132947
+ errorMessage: string;
132948
+ errorReason: string;
132949
+ };
132950
+ customDocumentationExporter: {
132951
+ errorMessage: string;
132952
+ errorReason: string;
132953
+ enabled: boolean;
132954
+ };
132955
+ protectedPages: {
132956
+ errorMessage: string;
132957
+ errorReason: string;
132958
+ enabled: boolean;
132959
+ };
132960
+ approvals: {
132961
+ errorMessage: string;
132962
+ errorReason: string;
132963
+ enabled: boolean;
132964
+ };
132965
+ selectivePublishing: {
132966
+ errorMessage: string;
132967
+ errorReason: string;
132968
+ enabled: boolean;
132969
+ };
132970
+ designSystemAccessModes: {
132971
+ errorMessage: string;
132972
+ errorReason: string;
132973
+ enabled: boolean;
132974
+ };
132975
+ } | undefined;
132976
+ stripeSubscriptionMainItemId?: string | undefined;
132977
+ currentPeriodStart?: string | undefined;
132978
+ currentPeriodEnd?: string | undefined;
132979
+ subscriptionStatusUpdatedAt?: string | undefined;
132980
+ cancelAt?: string | null | undefined;
132981
+ billingType?: "Auto" | "Invoice" | undefined;
132982
+ daysUntilDue?: number | undefined;
132983
+ }>;
132984
+ ipWhitelist: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<{
132985
+ entries: {
132986
+ name: string;
132987
+ isEnabled: boolean;
132988
+ range: string;
132989
+ }[];
132990
+ isEnabledForCloud: boolean;
132991
+ isEnabledForDocs: boolean;
132992
+ }, z.ZodTypeDef, {
132993
+ entries: {
132994
+ name: string;
132995
+ isEnabled: boolean;
132996
+ range: string;
132997
+ }[];
132998
+ isEnabledForCloud: boolean;
132999
+ isEnabledForDocs: boolean;
133000
+ }>>>, {
133001
+ entries: {
133002
+ name: string;
133003
+ isEnabled: boolean;
133004
+ range: string;
133005
+ }[];
133006
+ isEnabledForCloud: boolean;
133007
+ isEnabledForDocs: boolean;
133008
+ } | undefined, {
133009
+ entries: {
133010
+ name: string;
133011
+ isEnabled: boolean;
133012
+ range: string;
133013
+ }[];
133014
+ isEnabledForCloud: boolean;
133015
+ isEnabledForDocs: boolean;
133016
+ } | null | undefined>;
133017
+ sso: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<{
133018
+ providerId: string;
133019
+ defaultAutoInviteValue: boolean;
133020
+ autoInviteDomains: Record<string, boolean>;
133021
+ skipDocsSupernovaLogin: boolean;
133022
+ areInvitesDisabled: boolean;
133023
+ isTestMode: boolean;
133024
+ emailDomains: string[];
133025
+ metadataXml?: string | null | undefined;
133026
+ }, z.ZodTypeDef, {
133027
+ providerId: string;
133028
+ defaultAutoInviteValue: boolean;
133029
+ autoInviteDomains: Record<string, boolean>;
133030
+ skipDocsSupernovaLogin: boolean;
133031
+ areInvitesDisabled: boolean;
133032
+ isTestMode: boolean;
133033
+ emailDomains: string[];
133034
+ metadataXml?: string | null | undefined;
133035
+ }>>>, {
133036
+ providerId: string;
133037
+ defaultAutoInviteValue: boolean;
133038
+ autoInviteDomains: Record<string, boolean>;
133039
+ skipDocsSupernovaLogin: boolean;
133040
+ areInvitesDisabled: boolean;
133041
+ isTestMode: boolean;
133042
+ emailDomains: string[];
133043
+ metadataXml?: string | null | undefined;
133044
+ } | undefined, {
133045
+ providerId: string;
133046
+ defaultAutoInviteValue: boolean;
133047
+ autoInviteDomains: Record<string, boolean>;
133048
+ skipDocsSupernovaLogin: boolean;
133049
+ areInvitesDisabled: boolean;
133050
+ isTestMode: boolean;
133051
+ emailDomains: string[];
133052
+ metadataXml?: string | null | undefined;
133053
+ } | null | undefined>;
133054
+ npmRegistrySettings: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<{
133055
+ registryType: "Custom" | "NPMJS" | "GitHub" | "AzureDevOps" | "Artifactory";
133056
+ enabledScopes: string[];
133057
+ bypassProxy: boolean;
133058
+ customRegistryUrl?: string | undefined;
133059
+ npmProxyRegistryConfigId?: string | undefined;
133060
+ npmProxyVersion?: number | undefined;
133061
+ } & ({
133062
+ password: string;
133063
+ username: string;
133064
+ authType: "Basic";
133065
+ } | {
133066
+ accessToken: string;
133067
+ authType: "Bearer";
133068
+ } | {
133069
+ authType: "None";
133070
+ } | {
133071
+ authType: "Custom";
133072
+ authHeaderName: string;
133073
+ authHeaderValue: string;
133074
+ }), z.ZodTypeDef, {
133075
+ registryType: "Custom" | "NPMJS" | "GitHub" | "AzureDevOps" | "Artifactory";
133076
+ enabledScopes: string[];
133077
+ customRegistryUrl?: string | undefined;
133078
+ bypassProxy?: boolean | undefined;
133079
+ npmProxyRegistryConfigId?: string | undefined;
133080
+ npmProxyVersion?: number | undefined;
133081
+ } & ({
133082
+ password: string;
133083
+ username: string;
133084
+ authType: "Basic";
133085
+ } | {
133086
+ accessToken: string;
133087
+ authType: "Bearer";
133088
+ } | {
133089
+ authType: "None";
133090
+ } | {
133091
+ authType: "Custom";
133092
+ authHeaderName: string;
133093
+ authHeaderValue: string;
133094
+ })>>>, NonNullable<{
133095
+ registryType: "Custom" | "NPMJS" | "GitHub" | "AzureDevOps" | "Artifactory";
133096
+ enabledScopes: string[];
133097
+ bypassProxy: boolean;
133098
+ customRegistryUrl?: string | undefined;
133099
+ npmProxyRegistryConfigId?: string | undefined;
133100
+ npmProxyVersion?: number | undefined;
133101
+ } & ({
133102
+ password: string;
133103
+ username: string;
133104
+ authType: "Basic";
133105
+ } | {
133106
+ accessToken: string;
133107
+ authType: "Bearer";
133108
+ } | {
133109
+ authType: "None";
133110
+ } | {
133111
+ authType: "Custom";
133112
+ authHeaderName: string;
133113
+ authHeaderValue: string;
133114
+ })> | undefined, ({
133115
+ registryType: "Custom" | "NPMJS" | "GitHub" | "AzureDevOps" | "Artifactory";
133116
+ enabledScopes: string[];
133117
+ customRegistryUrl?: string | undefined;
133118
+ bypassProxy?: boolean | undefined;
133119
+ npmProxyRegistryConfigId?: string | undefined;
133120
+ npmProxyVersion?: number | undefined;
133121
+ } & ({
133122
+ password: string;
133123
+ username: string;
133124
+ authType: "Basic";
133125
+ } | {
133126
+ accessToken: string;
133127
+ authType: "Bearer";
133128
+ } | {
133129
+ authType: "None";
133130
+ } | {
133131
+ authType: "Custom";
133132
+ authHeaderName: string;
133133
+ authHeaderValue: string;
133134
+ })) | null | undefined>;
133135
+ }, "strip", z.ZodTypeAny, {
133136
+ id: string;
133137
+ profile: {
133138
+ name: string;
133139
+ color: string;
133140
+ handle: string;
133141
+ avatar?: string | undefined;
133142
+ billingDetails?: {
133143
+ address?: {
133144
+ street1?: string | undefined;
133145
+ street2?: string | undefined;
133146
+ city?: string | undefined;
133147
+ postal?: string | undefined;
133148
+ country?: string | undefined;
133149
+ state?: string | undefined;
133150
+ } | undefined;
133151
+ email?: string | undefined;
133152
+ companyName?: string | undefined;
133153
+ companyId?: string | undefined;
133154
+ notes?: string | undefined;
133155
+ vat?: string | undefined;
133156
+ poNumber?: string | undefined;
133157
+ } | undefined;
133158
+ };
133159
+ subscription: {
133160
+ product: "free" | "team" | "company" | "enterprise";
133161
+ planPriceId: string;
133162
+ planInterval: "daily" | "monthly" | "weekly" | "yearly";
133163
+ seats: number;
133164
+ seatLimit: number;
133165
+ status?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
133166
+ card?: {
133167
+ cardId?: string | null | undefined;
133168
+ last4?: string | null | undefined;
133169
+ expiryMonth?: string | null | undefined;
133170
+ expiryYear?: string | null | undefined;
133171
+ brand?: string | null | undefined;
133172
+ name?: string | null | undefined;
133173
+ } | undefined;
133174
+ amount?: number | null | undefined;
133175
+ stripeProductDescription?: string | undefined;
133176
+ isPricePerCreator?: boolean | undefined;
133177
+ isTrial?: boolean | undefined;
133178
+ legacyVersion?: string | undefined;
133179
+ stripeProductFeatures?: string[] | undefined;
133180
+ stripeProductAdditionalFeatures?: string[] | undefined;
133181
+ stripeSubscriptionId?: string | null | undefined;
133182
+ stripeCustomerId?: string | null | undefined;
133183
+ subscriptionStatus?: "unknown" | "active" | "trialing" | "past_due" | "canceled" | "unpaid" | "incomplete_expired" | "incomplete" | undefined;
133184
+ internalStatus?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
133185
+ featuresSummary?: {
133186
+ designSystems: {
133187
+ max: number;
133188
+ errorMessage: string;
133189
+ errorReason: string;
133190
+ };
133191
+ designSystemSources: {
133192
+ max: number;
133193
+ errorMessage: string;
133194
+ errorReason: string;
133195
+ noImportJobsErrorMessage: string;
133196
+ noImportJobsErrorReason: string;
133197
+ };
133198
+ designSystemVersions: {
133199
+ max: number;
133200
+ errorMessage: string;
133201
+ errorReason: string;
133202
+ };
133203
+ themes: {
133204
+ max: number;
133205
+ errorMessage: string;
133206
+ errorReason: string;
133207
+ };
133208
+ brands: {
133209
+ max: number;
133210
+ errorMessage: string;
133211
+ errorReason: string;
133212
+ };
133213
+ codegenSchedules: {
133214
+ max: number;
133215
+ errorMessage: string;
133216
+ errorReason: string;
133217
+ };
133218
+ publicDocumentation: {
133219
+ errorMessage: string;
133220
+ errorReason: string;
133221
+ enabled: boolean;
133222
+ };
133223
+ customDocumentationUrl: {
133224
+ errorMessage: string;
133225
+ errorReason: string;
133226
+ enabled: boolean;
133227
+ };
133228
+ customDocumentationViewButton: {
133229
+ errorMessage: string;
133230
+ errorReason: string;
133231
+ enabled: boolean;
133232
+ };
133233
+ designSystemSourceAutoImport: {
133234
+ errorMessage: string;
133235
+ errorReason: string;
133236
+ enabled: boolean;
133237
+ };
133238
+ designSystemSlug: {
133239
+ errorMessage: string;
133240
+ errorReason: string;
133241
+ enabled: boolean;
133242
+ };
133243
+ ipWhitelisting: {
133244
+ errorMessage: string;
133245
+ errorReason: string;
133246
+ enabled: boolean;
133247
+ };
133248
+ npmRegistry: {
133249
+ errorMessage: string;
133250
+ errorReason: string;
133251
+ enabled: boolean;
133252
+ };
133253
+ sso: {
133254
+ errorMessage: string;
133255
+ errorReason: string;
133256
+ enabled: boolean;
133257
+ };
133258
+ workspacePaidSeats: {
133259
+ max: number;
133260
+ errorMessage: string;
133261
+ errorReason: string;
133262
+ };
133263
+ workspaceViewers: {
133264
+ max: number;
133265
+ errorMessage: string;
133266
+ errorReason: string;
133267
+ };
133268
+ customDocumentationExporter: {
133269
+ errorMessage: string;
133270
+ errorReason: string;
133271
+ enabled: boolean;
133272
+ };
133273
+ protectedPages: {
133274
+ errorMessage: string;
133275
+ errorReason: string;
133276
+ enabled: boolean;
133277
+ };
133278
+ approvals: {
133279
+ errorMessage: string;
133280
+ errorReason: string;
133281
+ enabled: boolean;
133282
+ };
133283
+ selectivePublishing: {
133284
+ errorMessage: string;
133285
+ errorReason: string;
133286
+ enabled: boolean;
133287
+ };
133288
+ designSystemAccessModes: {
133289
+ errorMessage: string;
133290
+ errorReason: string;
133291
+ enabled: boolean;
133292
+ };
133293
+ } | undefined;
133294
+ stripeSubscriptionMainItemId?: string | undefined;
133295
+ currentPeriodStart?: string | undefined;
133296
+ currentPeriodEnd?: string | undefined;
133297
+ subscriptionStatusUpdatedAt?: string | undefined;
133298
+ cancelAt?: string | null | undefined;
133299
+ billingType?: "Auto" | "Invoice" | undefined;
133300
+ daysUntilDue?: number | undefined;
133301
+ };
133302
+ sso?: {
133303
+ providerId: string;
133304
+ defaultAutoInviteValue: boolean;
133305
+ autoInviteDomains: Record<string, boolean>;
133306
+ skipDocsSupernovaLogin: boolean;
133307
+ areInvitesDisabled: boolean;
133308
+ isTestMode: boolean;
133309
+ emailDomains: string[];
133310
+ metadataXml?: string | null | undefined;
133311
+ } | undefined;
133312
+ ipWhitelist?: {
133313
+ entries: {
133314
+ name: string;
133315
+ isEnabled: boolean;
133316
+ range: string;
133317
+ }[];
133318
+ isEnabledForCloud: boolean;
133319
+ isEnabledForDocs: boolean;
133320
+ } | undefined;
133321
+ npmRegistrySettings?: NonNullable<{
133322
+ registryType: "Custom" | "NPMJS" | "GitHub" | "AzureDevOps" | "Artifactory";
133323
+ enabledScopes: string[];
133324
+ bypassProxy: boolean;
133325
+ customRegistryUrl?: string | undefined;
133326
+ npmProxyRegistryConfigId?: string | undefined;
133327
+ npmProxyVersion?: number | undefined;
133328
+ } & ({
133329
+ password: string;
133330
+ username: string;
133331
+ authType: "Basic";
133332
+ } | {
133333
+ accessToken: string;
133334
+ authType: "Bearer";
133335
+ } | {
133336
+ authType: "None";
133337
+ } | {
133338
+ authType: "Custom";
133339
+ authHeaderName: string;
133340
+ authHeaderValue: string;
133341
+ })> | undefined;
133342
+ }, {
133343
+ id: string;
133344
+ profile: {
133345
+ name: string;
133346
+ color: string;
133347
+ handle: string;
133348
+ avatar?: string | null | undefined;
133349
+ billingDetails?: {
133350
+ address?: {
133351
+ street1?: string | null | undefined;
133352
+ street2?: string | null | undefined;
133353
+ city?: string | null | undefined;
133354
+ postal?: string | null | undefined;
133355
+ country?: string | null | undefined;
133356
+ state?: string | null | undefined;
133357
+ } | null | undefined;
133358
+ email?: string | null | undefined;
133359
+ companyName?: string | null | undefined;
133360
+ companyId?: string | null | undefined;
133361
+ notes?: string | null | undefined;
133362
+ vat?: string | null | undefined;
133363
+ poNumber?: string | null | undefined;
133364
+ } | null | undefined;
133365
+ };
133366
+ subscription: {
133367
+ product: "free" | "team" | "company" | "enterprise";
133368
+ planPriceId: string;
133369
+ planInterval: "daily" | "monthly" | "weekly" | "yearly";
133370
+ seats: number;
133371
+ seatLimit: number;
133372
+ status?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
133373
+ card?: {
133374
+ cardId?: string | null | undefined;
133375
+ last4?: string | null | undefined;
133376
+ expiryMonth?: string | null | undefined;
133377
+ expiryYear?: string | null | undefined;
133378
+ brand?: string | null | undefined;
133379
+ name?: string | null | undefined;
133380
+ } | undefined;
133381
+ amount?: number | null | undefined;
133382
+ stripeProductDescription?: string | undefined;
133383
+ isPricePerCreator?: boolean | undefined;
133384
+ isTrial?: boolean | undefined;
133385
+ legacyVersion?: string | undefined;
133386
+ stripeProductFeatures?: string[] | undefined;
133387
+ stripeProductAdditionalFeatures?: string[] | undefined;
133388
+ stripeSubscriptionId?: string | null | undefined;
133389
+ stripeCustomerId?: string | null | undefined;
133390
+ subscriptionStatus?: "unknown" | "active" | "trialing" | "past_due" | "canceled" | "unpaid" | "incomplete_expired" | "incomplete" | undefined;
133391
+ internalStatus?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
133392
+ featuresSummary?: {
133393
+ designSystems: {
133394
+ max: number;
133395
+ errorMessage: string;
133396
+ errorReason: string;
133397
+ };
133398
+ designSystemSources: {
133399
+ max: number;
133400
+ errorMessage: string;
133401
+ errorReason: string;
133402
+ noImportJobsErrorMessage: string;
133403
+ noImportJobsErrorReason: string;
133404
+ };
133405
+ designSystemVersions: {
133406
+ max: number;
133407
+ errorMessage: string;
133408
+ errorReason: string;
133409
+ };
133410
+ themes: {
133411
+ max: number;
133412
+ errorMessage: string;
133413
+ errorReason: string;
133414
+ };
133415
+ brands: {
133416
+ max: number;
133417
+ errorMessage: string;
133418
+ errorReason: string;
133419
+ };
133420
+ codegenSchedules: {
133421
+ max: number;
133422
+ errorMessage: string;
133423
+ errorReason: string;
133424
+ };
133425
+ publicDocumentation: {
133426
+ errorMessage: string;
133427
+ errorReason: string;
133428
+ enabled: boolean;
133429
+ };
133430
+ customDocumentationUrl: {
133431
+ errorMessage: string;
133432
+ errorReason: string;
133433
+ enabled: boolean;
133434
+ };
133435
+ customDocumentationViewButton: {
133436
+ errorMessage: string;
133437
+ errorReason: string;
133438
+ enabled: boolean;
133439
+ };
133440
+ designSystemSourceAutoImport: {
133441
+ errorMessage: string;
133442
+ errorReason: string;
133443
+ enabled: boolean;
133444
+ };
133445
+ designSystemSlug: {
133446
+ errorMessage: string;
133447
+ errorReason: string;
133448
+ enabled: boolean;
133449
+ };
133450
+ ipWhitelisting: {
133451
+ errorMessage: string;
133452
+ errorReason: string;
133453
+ enabled: boolean;
133454
+ };
133455
+ npmRegistry: {
133456
+ errorMessage: string;
133457
+ errorReason: string;
133458
+ enabled: boolean;
133459
+ };
133460
+ sso: {
133461
+ errorMessage: string;
133462
+ errorReason: string;
133463
+ enabled: boolean;
133464
+ };
133465
+ workspacePaidSeats: {
133466
+ max: number;
133467
+ errorMessage: string;
133468
+ errorReason: string;
133469
+ };
133470
+ workspaceViewers: {
133471
+ max: number;
133472
+ errorMessage: string;
133473
+ errorReason: string;
133474
+ };
133475
+ customDocumentationExporter: {
133476
+ errorMessage: string;
133477
+ errorReason: string;
133478
+ enabled: boolean;
133479
+ };
133480
+ protectedPages: {
133481
+ errorMessage: string;
133482
+ errorReason: string;
133483
+ enabled: boolean;
133484
+ };
133485
+ approvals: {
133486
+ errorMessage: string;
133487
+ errorReason: string;
133488
+ enabled: boolean;
133489
+ };
133490
+ selectivePublishing: {
133491
+ errorMessage: string;
133492
+ errorReason: string;
133493
+ enabled: boolean;
133494
+ };
133495
+ designSystemAccessModes: {
133496
+ errorMessage: string;
133497
+ errorReason: string;
133498
+ enabled: boolean;
133499
+ };
133500
+ } | undefined;
133501
+ stripeSubscriptionMainItemId?: string | undefined;
133502
+ currentPeriodStart?: string | undefined;
133503
+ currentPeriodEnd?: string | undefined;
133504
+ subscriptionStatusUpdatedAt?: string | undefined;
133505
+ cancelAt?: string | null | undefined;
133506
+ billingType?: "Auto" | "Invoice" | undefined;
133507
+ daysUntilDue?: number | undefined;
133508
+ };
133509
+ sso?: {
133510
+ providerId: string;
133511
+ defaultAutoInviteValue: boolean;
133512
+ autoInviteDomains: Record<string, boolean>;
133513
+ skipDocsSupernovaLogin: boolean;
133514
+ areInvitesDisabled: boolean;
133515
+ isTestMode: boolean;
133516
+ emailDomains: string[];
133517
+ metadataXml?: string | null | undefined;
133518
+ } | null | undefined;
133519
+ ipWhitelist?: {
133520
+ entries: {
133521
+ name: string;
133522
+ isEnabled: boolean;
133523
+ range: string;
133524
+ }[];
133525
+ isEnabledForCloud: boolean;
133526
+ isEnabledForDocs: boolean;
133527
+ } | null | undefined;
133528
+ npmRegistrySettings?: ({
133529
+ registryType: "Custom" | "NPMJS" | "GitHub" | "AzureDevOps" | "Artifactory";
133530
+ enabledScopes: string[];
133531
+ customRegistryUrl?: string | undefined;
133532
+ bypassProxy?: boolean | undefined;
133533
+ npmProxyRegistryConfigId?: string | undefined;
133534
+ npmProxyVersion?: number | undefined;
133535
+ } & ({
133536
+ password: string;
133537
+ username: string;
133538
+ authType: "Basic";
133539
+ } | {
133540
+ accessToken: string;
133541
+ authType: "Bearer";
133542
+ } | {
133543
+ authType: "None";
133544
+ } | {
133545
+ authType: "Custom";
133546
+ authHeaderName: string;
133547
+ authHeaderValue: string;
133548
+ })) | null | undefined;
133549
+ }>;
133550
+ invitedBy: z.ZodObject<{
133551
+ id: z.ZodString;
133552
+ email: z.ZodString;
133553
+ emailVerified: z.ZodBoolean;
133554
+ createdAt: z.ZodDate;
133555
+ trialExpiresAt: z.ZodOptional<z.ZodDate>;
133556
+ profile: z.ZodObject<{
133557
+ name: z.ZodString;
133558
+ avatar: z.ZodOptional<z.ZodString>;
133559
+ nickname: z.ZodOptional<z.ZodString>;
133560
+ onboarding: z.ZodOptional<z.ZodObject<{
133561
+ companyName: z.ZodOptional<z.ZodString>;
133562
+ numberOfPeopleInOrg: z.ZodOptional<z.ZodString>;
133563
+ numberOfPeopleInDesignTeam: z.ZodOptional<z.ZodString>;
133564
+ department: z.ZodOptional<z.ZodEnum<["Design", "Engineering", "Product", "Brand", "Other"]>>;
133565
+ jobTitle: z.ZodOptional<z.ZodString>;
133566
+ phase: z.ZodOptional<z.ZodString>;
133567
+ jobLevel: z.ZodOptional<z.ZodEnum<["Executive", "Manager", "IndividualContributor", "Other"]>>;
133568
+ designSystemName: z.ZodOptional<z.ZodString>;
133569
+ defaultDestination: z.ZodOptional<z.ZodString>;
133570
+ figmaUrl: z.ZodOptional<z.ZodString>;
133571
+ isPageDraftOnboardingFinished: z.ZodOptional<z.ZodBoolean>;
133572
+ isApprovalsOnboardingFinished: z.ZodOptional<z.ZodBoolean>;
133573
+ }, "strip", z.ZodTypeAny, {
133574
+ companyName?: string | undefined;
133575
+ numberOfPeopleInOrg?: string | undefined;
133576
+ numberOfPeopleInDesignTeam?: string | undefined;
133577
+ department?: "Other" | "Design" | "Engineering" | "Product" | "Brand" | undefined;
133578
+ jobTitle?: string | undefined;
133579
+ phase?: string | undefined;
133580
+ jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
133581
+ designSystemName?: string | undefined;
133582
+ defaultDestination?: string | undefined;
133583
+ figmaUrl?: string | undefined;
133584
+ isPageDraftOnboardingFinished?: boolean | undefined;
133585
+ isApprovalsOnboardingFinished?: boolean | undefined;
133586
+ }, {
133587
+ companyName?: string | undefined;
133588
+ numberOfPeopleInOrg?: string | undefined;
133589
+ numberOfPeopleInDesignTeam?: string | undefined;
133590
+ department?: "Other" | "Design" | "Engineering" | "Product" | "Brand" | undefined;
133591
+ jobTitle?: string | undefined;
133592
+ phase?: string | undefined;
133593
+ jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
133594
+ designSystemName?: string | undefined;
133595
+ defaultDestination?: string | undefined;
133596
+ figmaUrl?: string | undefined;
133597
+ isPageDraftOnboardingFinished?: boolean | undefined;
133598
+ isApprovalsOnboardingFinished?: boolean | undefined;
133599
+ }>>;
133600
+ }, "strip", z.ZodTypeAny, {
133601
+ name: string;
133602
+ avatar?: string | undefined;
133603
+ nickname?: string | undefined;
133604
+ onboarding?: {
133605
+ companyName?: string | undefined;
133606
+ numberOfPeopleInOrg?: string | undefined;
133607
+ numberOfPeopleInDesignTeam?: string | undefined;
133608
+ department?: "Other" | "Design" | "Engineering" | "Product" | "Brand" | undefined;
133609
+ jobTitle?: string | undefined;
133610
+ phase?: string | undefined;
133611
+ jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
133612
+ designSystemName?: string | undefined;
133613
+ defaultDestination?: string | undefined;
133614
+ figmaUrl?: string | undefined;
133615
+ isPageDraftOnboardingFinished?: boolean | undefined;
133616
+ isApprovalsOnboardingFinished?: boolean | undefined;
133617
+ } | undefined;
133618
+ }, {
133619
+ name: string;
133620
+ avatar?: string | undefined;
133621
+ nickname?: string | undefined;
133622
+ onboarding?: {
133623
+ companyName?: string | undefined;
133624
+ numberOfPeopleInOrg?: string | undefined;
133625
+ numberOfPeopleInDesignTeam?: string | undefined;
133626
+ department?: "Other" | "Design" | "Engineering" | "Product" | "Brand" | undefined;
133627
+ jobTitle?: string | undefined;
133628
+ phase?: string | undefined;
133629
+ jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
133630
+ designSystemName?: string | undefined;
133631
+ defaultDestination?: string | undefined;
133632
+ figmaUrl?: string | undefined;
133633
+ isPageDraftOnboardingFinished?: boolean | undefined;
133634
+ isApprovalsOnboardingFinished?: boolean | undefined;
133635
+ } | undefined;
133636
+ }>;
133637
+ linkedIntegrations: z.ZodOptional<z.ZodObject<{
133638
+ figma: z.ZodOptional<z.ZodObject<{
133639
+ id: z.ZodString;
133640
+ handle: z.ZodOptional<z.ZodString>;
133641
+ avatarUrl: z.ZodOptional<z.ZodString>;
133642
+ email: z.ZodOptional<z.ZodString>;
133643
+ authType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"OAuth2">, z.ZodLiteral<"PAT">]>>;
133644
+ customUrl: z.ZodOptional<z.ZodString>;
133645
+ }, "strip", z.ZodTypeAny, {
133646
+ id: string;
133647
+ email?: string | undefined;
133648
+ authType?: "OAuth2" | "PAT" | undefined;
133649
+ handle?: string | undefined;
133650
+ avatarUrl?: string | undefined;
133651
+ customUrl?: string | undefined;
133652
+ }, {
133653
+ id: string;
133654
+ email?: string | undefined;
133655
+ authType?: "OAuth2" | "PAT" | undefined;
133656
+ handle?: string | undefined;
133657
+ avatarUrl?: string | undefined;
133658
+ customUrl?: string | undefined;
133659
+ }>>;
133660
+ github: z.ZodOptional<z.ZodArray<z.ZodObject<{
133661
+ id: z.ZodString;
133662
+ handle: z.ZodOptional<z.ZodString>;
133663
+ avatarUrl: z.ZodOptional<z.ZodString>;
133664
+ email: z.ZodOptional<z.ZodString>;
133665
+ authType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"OAuth2">, z.ZodLiteral<"PAT">]>>;
133666
+ customUrl: z.ZodOptional<z.ZodString>;
133667
+ }, "strip", z.ZodTypeAny, {
133668
+ id: string;
133669
+ email?: string | undefined;
133670
+ authType?: "OAuth2" | "PAT" | undefined;
133671
+ handle?: string | undefined;
133672
+ avatarUrl?: string | undefined;
133673
+ customUrl?: string | undefined;
133674
+ }, {
133675
+ id: string;
133676
+ email?: string | undefined;
133677
+ authType?: "OAuth2" | "PAT" | undefined;
133678
+ handle?: string | undefined;
133679
+ avatarUrl?: string | undefined;
133680
+ customUrl?: string | undefined;
133681
+ }>, "many">>;
133682
+ azure: z.ZodOptional<z.ZodArray<z.ZodObject<{
133683
+ id: z.ZodString;
133684
+ handle: z.ZodOptional<z.ZodString>;
133685
+ avatarUrl: z.ZodOptional<z.ZodString>;
133686
+ email: z.ZodOptional<z.ZodString>;
133687
+ authType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"OAuth2">, z.ZodLiteral<"PAT">]>>;
133688
+ customUrl: z.ZodOptional<z.ZodString>;
133689
+ }, "strip", z.ZodTypeAny, {
133690
+ id: string;
133691
+ email?: string | undefined;
133692
+ authType?: "OAuth2" | "PAT" | undefined;
133693
+ handle?: string | undefined;
133694
+ avatarUrl?: string | undefined;
133695
+ customUrl?: string | undefined;
133696
+ }, {
133697
+ id: string;
133698
+ email?: string | undefined;
133699
+ authType?: "OAuth2" | "PAT" | undefined;
133700
+ handle?: string | undefined;
133701
+ avatarUrl?: string | undefined;
133702
+ customUrl?: string | undefined;
133703
+ }>, "many">>;
133704
+ gitlab: z.ZodOptional<z.ZodArray<z.ZodObject<{
133705
+ id: z.ZodString;
133706
+ handle: z.ZodOptional<z.ZodString>;
133707
+ avatarUrl: z.ZodOptional<z.ZodString>;
133708
+ email: z.ZodOptional<z.ZodString>;
133709
+ authType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"OAuth2">, z.ZodLiteral<"PAT">]>>;
133710
+ customUrl: z.ZodOptional<z.ZodString>;
133711
+ }, "strip", z.ZodTypeAny, {
133712
+ id: string;
133713
+ email?: string | undefined;
133714
+ authType?: "OAuth2" | "PAT" | undefined;
133715
+ handle?: string | undefined;
133716
+ avatarUrl?: string | undefined;
133717
+ customUrl?: string | undefined;
133718
+ }, {
133719
+ id: string;
133720
+ email?: string | undefined;
133721
+ authType?: "OAuth2" | "PAT" | undefined;
133722
+ handle?: string | undefined;
133723
+ avatarUrl?: string | undefined;
133724
+ customUrl?: string | undefined;
133725
+ }>, "many">>;
133726
+ bitbucket: z.ZodOptional<z.ZodArray<z.ZodObject<{
133727
+ id: z.ZodString;
133728
+ handle: z.ZodOptional<z.ZodString>;
133729
+ avatarUrl: z.ZodOptional<z.ZodString>;
133730
+ email: z.ZodOptional<z.ZodString>;
133731
+ authType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"OAuth2">, z.ZodLiteral<"PAT">]>>;
133732
+ customUrl: z.ZodOptional<z.ZodString>;
133733
+ }, "strip", z.ZodTypeAny, {
133734
+ id: string;
133735
+ email?: string | undefined;
133736
+ authType?: "OAuth2" | "PAT" | undefined;
133737
+ handle?: string | undefined;
133738
+ avatarUrl?: string | undefined;
133739
+ customUrl?: string | undefined;
133740
+ }, {
133741
+ id: string;
133742
+ email?: string | undefined;
133743
+ authType?: "OAuth2" | "PAT" | undefined;
133744
+ handle?: string | undefined;
133745
+ avatarUrl?: string | undefined;
133746
+ customUrl?: string | undefined;
133747
+ }>, "many">>;
133748
+ }, "strip", z.ZodTypeAny, {
133749
+ azure?: {
133750
+ id: string;
133751
+ email?: string | undefined;
133752
+ authType?: "OAuth2" | "PAT" | undefined;
133753
+ handle?: string | undefined;
133754
+ avatarUrl?: string | undefined;
133755
+ customUrl?: string | undefined;
133756
+ }[] | undefined;
133757
+ github?: {
133758
+ id: string;
133759
+ email?: string | undefined;
133760
+ authType?: "OAuth2" | "PAT" | undefined;
133761
+ handle?: string | undefined;
133762
+ avatarUrl?: string | undefined;
133763
+ customUrl?: string | undefined;
133764
+ }[] | undefined;
133765
+ gitlab?: {
133766
+ id: string;
133767
+ email?: string | undefined;
133768
+ authType?: "OAuth2" | "PAT" | undefined;
133769
+ handle?: string | undefined;
133770
+ avatarUrl?: string | undefined;
133771
+ customUrl?: string | undefined;
133772
+ }[] | undefined;
133773
+ bitbucket?: {
133774
+ id: string;
133775
+ email?: string | undefined;
133776
+ authType?: "OAuth2" | "PAT" | undefined;
133777
+ handle?: string | undefined;
133778
+ avatarUrl?: string | undefined;
133779
+ customUrl?: string | undefined;
133780
+ }[] | undefined;
133781
+ figma?: {
133782
+ id: string;
133783
+ email?: string | undefined;
133784
+ authType?: "OAuth2" | "PAT" | undefined;
133785
+ handle?: string | undefined;
133786
+ avatarUrl?: string | undefined;
133787
+ customUrl?: string | undefined;
133788
+ } | undefined;
133789
+ }, {
133790
+ azure?: {
133791
+ id: string;
133792
+ email?: string | undefined;
133793
+ authType?: "OAuth2" | "PAT" | undefined;
133794
+ handle?: string | undefined;
133795
+ avatarUrl?: string | undefined;
133796
+ customUrl?: string | undefined;
133797
+ }[] | undefined;
133798
+ github?: {
133799
+ id: string;
133800
+ email?: string | undefined;
133801
+ authType?: "OAuth2" | "PAT" | undefined;
133802
+ handle?: string | undefined;
133803
+ avatarUrl?: string | undefined;
133804
+ customUrl?: string | undefined;
133805
+ }[] | undefined;
133806
+ gitlab?: {
133807
+ id: string;
133808
+ email?: string | undefined;
133809
+ authType?: "OAuth2" | "PAT" | undefined;
133810
+ handle?: string | undefined;
133811
+ avatarUrl?: string | undefined;
133812
+ customUrl?: string | undefined;
133813
+ }[] | undefined;
133814
+ bitbucket?: {
133815
+ id: string;
133816
+ email?: string | undefined;
133817
+ authType?: "OAuth2" | "PAT" | undefined;
133818
+ handle?: string | undefined;
133819
+ avatarUrl?: string | undefined;
133820
+ customUrl?: string | undefined;
133821
+ }[] | undefined;
133822
+ figma?: {
133823
+ id: string;
133824
+ email?: string | undefined;
133825
+ authType?: "OAuth2" | "PAT" | undefined;
133826
+ handle?: string | undefined;
133827
+ avatarUrl?: string | undefined;
133828
+ customUrl?: string | undefined;
133829
+ } | undefined;
133830
+ }>>;
133831
+ loggedOutAt: z.ZodOptional<z.ZodDate>;
133832
+ isProtected: z.ZodBoolean;
133833
+ source: z.ZodOptional<z.ZodEnum<["SignUp", "Invite", "SSO"]>>;
133834
+ }, "strip", z.ZodTypeAny, {
133835
+ id: string;
133836
+ createdAt: Date;
133837
+ email: string;
133838
+ profile: {
133839
+ name: string;
133840
+ avatar?: string | undefined;
133841
+ nickname?: string | undefined;
133842
+ onboarding?: {
133843
+ companyName?: string | undefined;
133844
+ numberOfPeopleInOrg?: string | undefined;
133845
+ numberOfPeopleInDesignTeam?: string | undefined;
133846
+ department?: "Other" | "Design" | "Engineering" | "Product" | "Brand" | undefined;
133847
+ jobTitle?: string | undefined;
133848
+ phase?: string | undefined;
133849
+ jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
133850
+ designSystemName?: string | undefined;
133851
+ defaultDestination?: string | undefined;
133852
+ figmaUrl?: string | undefined;
133853
+ isPageDraftOnboardingFinished?: boolean | undefined;
133854
+ isApprovalsOnboardingFinished?: boolean | undefined;
133855
+ } | undefined;
133856
+ };
133857
+ emailVerified: boolean;
133858
+ isProtected: boolean;
133859
+ source?: "SignUp" | "Invite" | "SSO" | undefined;
133860
+ trialExpiresAt?: Date | undefined;
133861
+ linkedIntegrations?: {
133862
+ azure?: {
133863
+ id: string;
133864
+ email?: string | undefined;
133865
+ authType?: "OAuth2" | "PAT" | undefined;
133866
+ handle?: string | undefined;
133867
+ avatarUrl?: string | undefined;
133868
+ customUrl?: string | undefined;
133869
+ }[] | undefined;
133870
+ github?: {
133871
+ id: string;
133872
+ email?: string | undefined;
133873
+ authType?: "OAuth2" | "PAT" | undefined;
133874
+ handle?: string | undefined;
133875
+ avatarUrl?: string | undefined;
133876
+ customUrl?: string | undefined;
133877
+ }[] | undefined;
133878
+ gitlab?: {
133879
+ id: string;
133880
+ email?: string | undefined;
133881
+ authType?: "OAuth2" | "PAT" | undefined;
133882
+ handle?: string | undefined;
133883
+ avatarUrl?: string | undefined;
133884
+ customUrl?: string | undefined;
133885
+ }[] | undefined;
133886
+ bitbucket?: {
133887
+ id: string;
133888
+ email?: string | undefined;
133889
+ authType?: "OAuth2" | "PAT" | undefined;
133890
+ handle?: string | undefined;
133891
+ avatarUrl?: string | undefined;
133892
+ customUrl?: string | undefined;
133893
+ }[] | undefined;
133894
+ figma?: {
133895
+ id: string;
133896
+ email?: string | undefined;
133897
+ authType?: "OAuth2" | "PAT" | undefined;
133898
+ handle?: string | undefined;
133899
+ avatarUrl?: string | undefined;
133900
+ customUrl?: string | undefined;
133901
+ } | undefined;
133902
+ } | undefined;
133903
+ loggedOutAt?: Date | undefined;
133904
+ }, {
133905
+ id: string;
133906
+ createdAt: Date;
133907
+ email: string;
133908
+ profile: {
133909
+ name: string;
133910
+ avatar?: string | undefined;
133911
+ nickname?: string | undefined;
133912
+ onboarding?: {
133913
+ companyName?: string | undefined;
133914
+ numberOfPeopleInOrg?: string | undefined;
133915
+ numberOfPeopleInDesignTeam?: string | undefined;
133916
+ department?: "Other" | "Design" | "Engineering" | "Product" | "Brand" | undefined;
133917
+ jobTitle?: string | undefined;
133918
+ phase?: string | undefined;
133919
+ jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
133920
+ designSystemName?: string | undefined;
133921
+ defaultDestination?: string | undefined;
133922
+ figmaUrl?: string | undefined;
133923
+ isPageDraftOnboardingFinished?: boolean | undefined;
133924
+ isApprovalsOnboardingFinished?: boolean | undefined;
133925
+ } | undefined;
133926
+ };
133927
+ emailVerified: boolean;
133928
+ isProtected: boolean;
133929
+ source?: "SignUp" | "Invite" | "SSO" | undefined;
133930
+ trialExpiresAt?: Date | undefined;
133931
+ linkedIntegrations?: {
133932
+ azure?: {
133933
+ id: string;
133934
+ email?: string | undefined;
133935
+ authType?: "OAuth2" | "PAT" | undefined;
133936
+ handle?: string | undefined;
133937
+ avatarUrl?: string | undefined;
133938
+ customUrl?: string | undefined;
133939
+ }[] | undefined;
133940
+ github?: {
133941
+ id: string;
133942
+ email?: string | undefined;
133943
+ authType?: "OAuth2" | "PAT" | undefined;
133944
+ handle?: string | undefined;
133945
+ avatarUrl?: string | undefined;
133946
+ customUrl?: string | undefined;
133947
+ }[] | undefined;
133948
+ gitlab?: {
133949
+ id: string;
133950
+ email?: string | undefined;
133951
+ authType?: "OAuth2" | "PAT" | undefined;
133952
+ handle?: string | undefined;
133953
+ avatarUrl?: string | undefined;
133954
+ customUrl?: string | undefined;
133955
+ }[] | undefined;
133956
+ bitbucket?: {
133957
+ id: string;
133958
+ email?: string | undefined;
133959
+ authType?: "OAuth2" | "PAT" | undefined;
133960
+ handle?: string | undefined;
133961
+ avatarUrl?: string | undefined;
133962
+ customUrl?: string | undefined;
133963
+ }[] | undefined;
133964
+ figma?: {
133965
+ id: string;
133966
+ email?: string | undefined;
133967
+ authType?: "OAuth2" | "PAT" | undefined;
133968
+ handle?: string | undefined;
133969
+ avatarUrl?: string | undefined;
133970
+ customUrl?: string | undefined;
133971
+ } | undefined;
133972
+ } | undefined;
133973
+ loggedOutAt?: Date | undefined;
133974
+ }>;
133975
+ documentationDomain: z.ZodOptional<z.ZodString>;
133976
+ }, "strip", z.ZodTypeAny, {
133977
+ workspace: {
133978
+ id: string;
133979
+ profile: {
133980
+ name: string;
133981
+ color: string;
133982
+ handle: string;
133983
+ avatar?: string | undefined;
133984
+ billingDetails?: {
133985
+ address?: {
133986
+ street1?: string | undefined;
133987
+ street2?: string | undefined;
133988
+ city?: string | undefined;
133989
+ postal?: string | undefined;
133990
+ country?: string | undefined;
133991
+ state?: string | undefined;
133992
+ } | undefined;
133993
+ email?: string | undefined;
133994
+ companyName?: string | undefined;
133995
+ companyId?: string | undefined;
133996
+ notes?: string | undefined;
133997
+ vat?: string | undefined;
133998
+ poNumber?: string | undefined;
133999
+ } | undefined;
134000
+ };
134001
+ subscription: {
134002
+ product: "free" | "team" | "company" | "enterprise";
134003
+ planPriceId: string;
134004
+ planInterval: "daily" | "monthly" | "weekly" | "yearly";
134005
+ seats: number;
134006
+ seatLimit: number;
134007
+ status?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
134008
+ card?: {
134009
+ cardId?: string | null | undefined;
134010
+ last4?: string | null | undefined;
134011
+ expiryMonth?: string | null | undefined;
134012
+ expiryYear?: string | null | undefined;
134013
+ brand?: string | null | undefined;
134014
+ name?: string | null | undefined;
134015
+ } | undefined;
134016
+ amount?: number | null | undefined;
134017
+ stripeProductDescription?: string | undefined;
134018
+ isPricePerCreator?: boolean | undefined;
134019
+ isTrial?: boolean | undefined;
134020
+ legacyVersion?: string | undefined;
134021
+ stripeProductFeatures?: string[] | undefined;
134022
+ stripeProductAdditionalFeatures?: string[] | undefined;
134023
+ stripeSubscriptionId?: string | null | undefined;
134024
+ stripeCustomerId?: string | null | undefined;
134025
+ subscriptionStatus?: "unknown" | "active" | "trialing" | "past_due" | "canceled" | "unpaid" | "incomplete_expired" | "incomplete" | undefined;
134026
+ internalStatus?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
134027
+ featuresSummary?: {
134028
+ designSystems: {
134029
+ max: number;
134030
+ errorMessage: string;
134031
+ errorReason: string;
134032
+ };
134033
+ designSystemSources: {
134034
+ max: number;
134035
+ errorMessage: string;
134036
+ errorReason: string;
134037
+ noImportJobsErrorMessage: string;
134038
+ noImportJobsErrorReason: string;
134039
+ };
134040
+ designSystemVersions: {
134041
+ max: number;
134042
+ errorMessage: string;
134043
+ errorReason: string;
134044
+ };
134045
+ themes: {
134046
+ max: number;
134047
+ errorMessage: string;
134048
+ errorReason: string;
134049
+ };
134050
+ brands: {
134051
+ max: number;
134052
+ errorMessage: string;
134053
+ errorReason: string;
134054
+ };
134055
+ codegenSchedules: {
134056
+ max: number;
134057
+ errorMessage: string;
134058
+ errorReason: string;
134059
+ };
134060
+ publicDocumentation: {
134061
+ errorMessage: string;
134062
+ errorReason: string;
134063
+ enabled: boolean;
134064
+ };
134065
+ customDocumentationUrl: {
134066
+ errorMessage: string;
134067
+ errorReason: string;
134068
+ enabled: boolean;
134069
+ };
134070
+ customDocumentationViewButton: {
134071
+ errorMessage: string;
134072
+ errorReason: string;
134073
+ enabled: boolean;
134074
+ };
134075
+ designSystemSourceAutoImport: {
134076
+ errorMessage: string;
134077
+ errorReason: string;
134078
+ enabled: boolean;
134079
+ };
134080
+ designSystemSlug: {
134081
+ errorMessage: string;
134082
+ errorReason: string;
134083
+ enabled: boolean;
134084
+ };
134085
+ ipWhitelisting: {
134086
+ errorMessage: string;
134087
+ errorReason: string;
134088
+ enabled: boolean;
134089
+ };
134090
+ npmRegistry: {
134091
+ errorMessage: string;
134092
+ errorReason: string;
134093
+ enabled: boolean;
134094
+ };
134095
+ sso: {
134096
+ errorMessage: string;
134097
+ errorReason: string;
134098
+ enabled: boolean;
134099
+ };
134100
+ workspacePaidSeats: {
134101
+ max: number;
134102
+ errorMessage: string;
134103
+ errorReason: string;
134104
+ };
134105
+ workspaceViewers: {
134106
+ max: number;
134107
+ errorMessage: string;
134108
+ errorReason: string;
134109
+ };
134110
+ customDocumentationExporter: {
134111
+ errorMessage: string;
134112
+ errorReason: string;
134113
+ enabled: boolean;
134114
+ };
134115
+ protectedPages: {
134116
+ errorMessage: string;
134117
+ errorReason: string;
134118
+ enabled: boolean;
134119
+ };
134120
+ approvals: {
134121
+ errorMessage: string;
134122
+ errorReason: string;
134123
+ enabled: boolean;
134124
+ };
134125
+ selectivePublishing: {
134126
+ errorMessage: string;
134127
+ errorReason: string;
134128
+ enabled: boolean;
134129
+ };
134130
+ designSystemAccessModes: {
134131
+ errorMessage: string;
134132
+ errorReason: string;
134133
+ enabled: boolean;
134134
+ };
134135
+ } | undefined;
134136
+ stripeSubscriptionMainItemId?: string | undefined;
134137
+ currentPeriodStart?: string | undefined;
134138
+ currentPeriodEnd?: string | undefined;
134139
+ subscriptionStatusUpdatedAt?: string | undefined;
134140
+ cancelAt?: string | null | undefined;
134141
+ billingType?: "Auto" | "Invoice" | undefined;
134142
+ daysUntilDue?: number | undefined;
134143
+ };
134144
+ sso?: {
134145
+ providerId: string;
134146
+ defaultAutoInviteValue: boolean;
134147
+ autoInviteDomains: Record<string, boolean>;
134148
+ skipDocsSupernovaLogin: boolean;
134149
+ areInvitesDisabled: boolean;
134150
+ isTestMode: boolean;
134151
+ emailDomains: string[];
134152
+ metadataXml?: string | null | undefined;
134153
+ } | undefined;
134154
+ ipWhitelist?: {
134155
+ entries: {
134156
+ name: string;
134157
+ isEnabled: boolean;
134158
+ range: string;
134159
+ }[];
134160
+ isEnabledForCloud: boolean;
134161
+ isEnabledForDocs: boolean;
134162
+ } | undefined;
134163
+ npmRegistrySettings?: NonNullable<{
134164
+ registryType: "Custom" | "NPMJS" | "GitHub" | "AzureDevOps" | "Artifactory";
134165
+ enabledScopes: string[];
134166
+ bypassProxy: boolean;
134167
+ customRegistryUrl?: string | undefined;
134168
+ npmProxyRegistryConfigId?: string | undefined;
134169
+ npmProxyVersion?: number | undefined;
134170
+ } & ({
134171
+ password: string;
134172
+ username: string;
134173
+ authType: "Basic";
134174
+ } | {
134175
+ accessToken: string;
134176
+ authType: "Bearer";
134177
+ } | {
134178
+ authType: "None";
134179
+ } | {
134180
+ authType: "Custom";
134181
+ authHeaderName: string;
134182
+ authHeaderValue: string;
134183
+ })> | undefined;
134184
+ };
134185
+ invitedBy: {
134186
+ id: string;
134187
+ createdAt: Date;
134188
+ email: string;
134189
+ profile: {
134190
+ name: string;
134191
+ avatar?: string | undefined;
134192
+ nickname?: string | undefined;
134193
+ onboarding?: {
134194
+ companyName?: string | undefined;
134195
+ numberOfPeopleInOrg?: string | undefined;
134196
+ numberOfPeopleInDesignTeam?: string | undefined;
134197
+ department?: "Other" | "Design" | "Engineering" | "Product" | "Brand" | undefined;
134198
+ jobTitle?: string | undefined;
134199
+ phase?: string | undefined;
134200
+ jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
134201
+ designSystemName?: string | undefined;
134202
+ defaultDestination?: string | undefined;
134203
+ figmaUrl?: string | undefined;
134204
+ isPageDraftOnboardingFinished?: boolean | undefined;
134205
+ isApprovalsOnboardingFinished?: boolean | undefined;
134206
+ } | undefined;
134207
+ };
134208
+ emailVerified: boolean;
134209
+ isProtected: boolean;
134210
+ source?: "SignUp" | "Invite" | "SSO" | undefined;
134211
+ trialExpiresAt?: Date | undefined;
134212
+ linkedIntegrations?: {
134213
+ azure?: {
134214
+ id: string;
134215
+ email?: string | undefined;
134216
+ authType?: "OAuth2" | "PAT" | undefined;
134217
+ handle?: string | undefined;
134218
+ avatarUrl?: string | undefined;
134219
+ customUrl?: string | undefined;
134220
+ }[] | undefined;
134221
+ github?: {
134222
+ id: string;
134223
+ email?: string | undefined;
134224
+ authType?: "OAuth2" | "PAT" | undefined;
134225
+ handle?: string | undefined;
134226
+ avatarUrl?: string | undefined;
134227
+ customUrl?: string | undefined;
134228
+ }[] | undefined;
134229
+ gitlab?: {
134230
+ id: string;
134231
+ email?: string | undefined;
134232
+ authType?: "OAuth2" | "PAT" | undefined;
134233
+ handle?: string | undefined;
134234
+ avatarUrl?: string | undefined;
134235
+ customUrl?: string | undefined;
134236
+ }[] | undefined;
134237
+ bitbucket?: {
134238
+ id: string;
134239
+ email?: string | undefined;
134240
+ authType?: "OAuth2" | "PAT" | undefined;
134241
+ handle?: string | undefined;
134242
+ avatarUrl?: string | undefined;
134243
+ customUrl?: string | undefined;
134244
+ }[] | undefined;
134245
+ figma?: {
134246
+ id: string;
134247
+ email?: string | undefined;
134248
+ authType?: "OAuth2" | "PAT" | undefined;
134249
+ handle?: string | undefined;
134250
+ avatarUrl?: string | undefined;
134251
+ customUrl?: string | undefined;
134252
+ } | undefined;
134253
+ } | undefined;
134254
+ loggedOutAt?: Date | undefined;
134255
+ };
134256
+ documentationDomain?: string | undefined;
134257
+ }, {
134258
+ workspace: {
134259
+ id: string;
134260
+ profile: {
134261
+ name: string;
134262
+ color: string;
134263
+ handle: string;
134264
+ avatar?: string | null | undefined;
134265
+ billingDetails?: {
134266
+ address?: {
134267
+ street1?: string | null | undefined;
134268
+ street2?: string | null | undefined;
134269
+ city?: string | null | undefined;
134270
+ postal?: string | null | undefined;
134271
+ country?: string | null | undefined;
134272
+ state?: string | null | undefined;
134273
+ } | null | undefined;
134274
+ email?: string | null | undefined;
134275
+ companyName?: string | null | undefined;
134276
+ companyId?: string | null | undefined;
134277
+ notes?: string | null | undefined;
134278
+ vat?: string | null | undefined;
134279
+ poNumber?: string | null | undefined;
134280
+ } | null | undefined;
134281
+ };
134282
+ subscription: {
134283
+ product: "free" | "team" | "company" | "enterprise";
134284
+ planPriceId: string;
134285
+ planInterval: "daily" | "monthly" | "weekly" | "yearly";
134286
+ seats: number;
134287
+ seatLimit: number;
134288
+ status?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
134289
+ card?: {
134290
+ cardId?: string | null | undefined;
134291
+ last4?: string | null | undefined;
134292
+ expiryMonth?: string | null | undefined;
134293
+ expiryYear?: string | null | undefined;
134294
+ brand?: string | null | undefined;
134295
+ name?: string | null | undefined;
134296
+ } | undefined;
134297
+ amount?: number | null | undefined;
134298
+ stripeProductDescription?: string | undefined;
134299
+ isPricePerCreator?: boolean | undefined;
134300
+ isTrial?: boolean | undefined;
134301
+ legacyVersion?: string | undefined;
134302
+ stripeProductFeatures?: string[] | undefined;
134303
+ stripeProductAdditionalFeatures?: string[] | undefined;
134304
+ stripeSubscriptionId?: string | null | undefined;
134305
+ stripeCustomerId?: string | null | undefined;
134306
+ subscriptionStatus?: "unknown" | "active" | "trialing" | "past_due" | "canceled" | "unpaid" | "incomplete_expired" | "incomplete" | undefined;
134307
+ internalStatus?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
134308
+ featuresSummary?: {
134309
+ designSystems: {
134310
+ max: number;
134311
+ errorMessage: string;
134312
+ errorReason: string;
134313
+ };
134314
+ designSystemSources: {
134315
+ max: number;
134316
+ errorMessage: string;
134317
+ errorReason: string;
134318
+ noImportJobsErrorMessage: string;
134319
+ noImportJobsErrorReason: string;
134320
+ };
134321
+ designSystemVersions: {
134322
+ max: number;
134323
+ errorMessage: string;
134324
+ errorReason: string;
134325
+ };
134326
+ themes: {
134327
+ max: number;
134328
+ errorMessage: string;
134329
+ errorReason: string;
134330
+ };
134331
+ brands: {
134332
+ max: number;
134333
+ errorMessage: string;
134334
+ errorReason: string;
134335
+ };
134336
+ codegenSchedules: {
134337
+ max: number;
134338
+ errorMessage: string;
134339
+ errorReason: string;
134340
+ };
134341
+ publicDocumentation: {
134342
+ errorMessage: string;
134343
+ errorReason: string;
134344
+ enabled: boolean;
134345
+ };
134346
+ customDocumentationUrl: {
134347
+ errorMessage: string;
134348
+ errorReason: string;
134349
+ enabled: boolean;
134350
+ };
134351
+ customDocumentationViewButton: {
134352
+ errorMessage: string;
134353
+ errorReason: string;
134354
+ enabled: boolean;
134355
+ };
134356
+ designSystemSourceAutoImport: {
134357
+ errorMessage: string;
134358
+ errorReason: string;
134359
+ enabled: boolean;
134360
+ };
134361
+ designSystemSlug: {
134362
+ errorMessage: string;
134363
+ errorReason: string;
134364
+ enabled: boolean;
134365
+ };
134366
+ ipWhitelisting: {
134367
+ errorMessage: string;
134368
+ errorReason: string;
134369
+ enabled: boolean;
134370
+ };
134371
+ npmRegistry: {
134372
+ errorMessage: string;
134373
+ errorReason: string;
134374
+ enabled: boolean;
134375
+ };
134376
+ sso: {
134377
+ errorMessage: string;
134378
+ errorReason: string;
134379
+ enabled: boolean;
134380
+ };
134381
+ workspacePaidSeats: {
134382
+ max: number;
134383
+ errorMessage: string;
134384
+ errorReason: string;
134385
+ };
134386
+ workspaceViewers: {
134387
+ max: number;
134388
+ errorMessage: string;
134389
+ errorReason: string;
134390
+ };
134391
+ customDocumentationExporter: {
134392
+ errorMessage: string;
134393
+ errorReason: string;
134394
+ enabled: boolean;
134395
+ };
134396
+ protectedPages: {
134397
+ errorMessage: string;
134398
+ errorReason: string;
134399
+ enabled: boolean;
134400
+ };
134401
+ approvals: {
134402
+ errorMessage: string;
134403
+ errorReason: string;
134404
+ enabled: boolean;
134405
+ };
134406
+ selectivePublishing: {
134407
+ errorMessage: string;
134408
+ errorReason: string;
134409
+ enabled: boolean;
134410
+ };
134411
+ designSystemAccessModes: {
134412
+ errorMessage: string;
134413
+ errorReason: string;
134414
+ enabled: boolean;
134415
+ };
134416
+ } | undefined;
134417
+ stripeSubscriptionMainItemId?: string | undefined;
134418
+ currentPeriodStart?: string | undefined;
134419
+ currentPeriodEnd?: string | undefined;
134420
+ subscriptionStatusUpdatedAt?: string | undefined;
134421
+ cancelAt?: string | null | undefined;
134422
+ billingType?: "Auto" | "Invoice" | undefined;
134423
+ daysUntilDue?: number | undefined;
134424
+ };
134425
+ sso?: {
134426
+ providerId: string;
134427
+ defaultAutoInviteValue: boolean;
134428
+ autoInviteDomains: Record<string, boolean>;
134429
+ skipDocsSupernovaLogin: boolean;
134430
+ areInvitesDisabled: boolean;
134431
+ isTestMode: boolean;
134432
+ emailDomains: string[];
134433
+ metadataXml?: string | null | undefined;
134434
+ } | null | undefined;
134435
+ ipWhitelist?: {
134436
+ entries: {
134437
+ name: string;
134438
+ isEnabled: boolean;
134439
+ range: string;
134440
+ }[];
134441
+ isEnabledForCloud: boolean;
134442
+ isEnabledForDocs: boolean;
134443
+ } | null | undefined;
134444
+ npmRegistrySettings?: ({
134445
+ registryType: "Custom" | "NPMJS" | "GitHub" | "AzureDevOps" | "Artifactory";
134446
+ enabledScopes: string[];
134447
+ customRegistryUrl?: string | undefined;
134448
+ bypassProxy?: boolean | undefined;
134449
+ npmProxyRegistryConfigId?: string | undefined;
134450
+ npmProxyVersion?: number | undefined;
134451
+ } & ({
134452
+ password: string;
134453
+ username: string;
134454
+ authType: "Basic";
134455
+ } | {
134456
+ accessToken: string;
134457
+ authType: "Bearer";
134458
+ } | {
134459
+ authType: "None";
134460
+ } | {
134461
+ authType: "Custom";
134462
+ authHeaderName: string;
134463
+ authHeaderValue: string;
134464
+ })) | null | undefined;
134465
+ };
134466
+ invitedBy: {
134467
+ id: string;
134468
+ createdAt: Date;
134469
+ email: string;
134470
+ profile: {
134471
+ name: string;
134472
+ avatar?: string | undefined;
134473
+ nickname?: string | undefined;
134474
+ onboarding?: {
134475
+ companyName?: string | undefined;
134476
+ numberOfPeopleInOrg?: string | undefined;
134477
+ numberOfPeopleInDesignTeam?: string | undefined;
134478
+ department?: "Other" | "Design" | "Engineering" | "Product" | "Brand" | undefined;
134479
+ jobTitle?: string | undefined;
134480
+ phase?: string | undefined;
134481
+ jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
134482
+ designSystemName?: string | undefined;
134483
+ defaultDestination?: string | undefined;
134484
+ figmaUrl?: string | undefined;
134485
+ isPageDraftOnboardingFinished?: boolean | undefined;
134486
+ isApprovalsOnboardingFinished?: boolean | undefined;
134487
+ } | undefined;
134488
+ };
134489
+ emailVerified: boolean;
134490
+ isProtected: boolean;
134491
+ source?: "SignUp" | "Invite" | "SSO" | undefined;
134492
+ trialExpiresAt?: Date | undefined;
134493
+ linkedIntegrations?: {
134494
+ azure?: {
134495
+ id: string;
134496
+ email?: string | undefined;
134497
+ authType?: "OAuth2" | "PAT" | undefined;
134498
+ handle?: string | undefined;
134499
+ avatarUrl?: string | undefined;
134500
+ customUrl?: string | undefined;
134501
+ }[] | undefined;
134502
+ github?: {
134503
+ id: string;
134504
+ email?: string | undefined;
134505
+ authType?: "OAuth2" | "PAT" | undefined;
134506
+ handle?: string | undefined;
134507
+ avatarUrl?: string | undefined;
134508
+ customUrl?: string | undefined;
134509
+ }[] | undefined;
134510
+ gitlab?: {
134511
+ id: string;
134512
+ email?: string | undefined;
134513
+ authType?: "OAuth2" | "PAT" | undefined;
134514
+ handle?: string | undefined;
134515
+ avatarUrl?: string | undefined;
134516
+ customUrl?: string | undefined;
134517
+ }[] | undefined;
134518
+ bitbucket?: {
134519
+ id: string;
134520
+ email?: string | undefined;
134521
+ authType?: "OAuth2" | "PAT" | undefined;
134522
+ handle?: string | undefined;
134523
+ avatarUrl?: string | undefined;
134524
+ customUrl?: string | undefined;
134525
+ }[] | undefined;
134526
+ figma?: {
134527
+ id: string;
134528
+ email?: string | undefined;
134529
+ authType?: "OAuth2" | "PAT" | undefined;
134530
+ handle?: string | undefined;
134531
+ avatarUrl?: string | undefined;
134532
+ customUrl?: string | undefined;
134533
+ } | undefined;
134534
+ } | undefined;
134535
+ loggedOutAt?: Date | undefined;
134536
+ };
134537
+ documentationDomain?: string | undefined;
134538
+ }>;
134539
+ type WorkspaceInviteEmailData = z.infer<typeof WorkspaceInviteEmailData>;
134540
+
132020
134541
  declare const Event: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
132021
134542
  type: z.ZodLiteral<"DesignSystemVersionReleased">;
132022
134543
  workspaceId: z.ZodString;
@@ -163213,6 +165734,8 @@ declare const WorkspaceInvitation: z.ZodObject<{
163213
165734
  resentAt?: Date | null | undefined;
163214
165735
  }>;
163215
165736
  type WorkspaceInvitation = z.infer<typeof WorkspaceInvitation>;
165737
+ type CreateWorkspaceInvitation = DbCreateInputOmit<WorkspaceInvitation>;
165738
+ type UpdateWorkspaceInvitation = OmitStrict<DbUpdate<WorkspaceInvitation>, "email" | "invitedBy" | "workspaceId">;
163216
165739
 
163217
165740
  declare const WorkspaceMembership: z.ZodObject<{
163218
165741
  id: z.ZodString;
@@ -163258,6 +165781,8 @@ declare const WorkspaceMembership: z.ZodObject<{
163258
165781
  };
163259
165782
  }>;
163260
165783
  type WorkspaceMembership = z.infer<typeof WorkspaceMembership>;
165784
+ type CreateWorkspaceMembership = DbCreateInputOmit<WorkspaceMembership>;
165785
+ type UpdateWorkspaceMembership = OmitStrict<DbUpdate<WorkspaceMembership>, "userId" | "workspaceId">;
163261
165786
  declare const UpdateMembershipRolesInput: z.ZodObject<{
163262
165787
  members: z.ZodArray<z.ZodObject<{
163263
165788
  userId: z.ZodString;
@@ -167118,4 +169643,4 @@ declare const WorkspaceWithDesignSystems: z.ZodObject<{
167118
169643
  }>;
167119
169644
  type WorkspaceWithDesignSystems = z.infer<typeof WorkspaceWithDesignSystems>;
167120
169645
 
167121
- export { Address, type AllFields, type ArrayElementType, Asset, AssetDeleteSchedule, type AssetDeleteScheduleDbInput, AssetDeleteScheduleStatus, AssetDynamoRecord, AssetFontProperties, type AssetImportModel, AssetImportModelInput, AssetOrigin, AssetProcessStatus, AssetProperties, AssetReference, type AssetReferenceDiff, AssetRenderConfiguration, AssetScope, AssetType, AssetValue, AuthTokens, BillingDetails, type BillingInterval, BillingIntervalSchema, BillingType, BillingTypeSchema, BlurTokenData, BlurType, BlurValue, BorderPosition, BorderRadiusTokenData, BorderRadiusUnit, BorderRadiusValue, BorderStyle, BorderTokenData, BorderValue, BorderWidthTokenData, BorderWidthUnit, BorderWidthValue, Brand, BrandedElementGroup, type Card, CardSchema, ChangedImportedFigmaSourceData, CodeIntegrationDump, ColorTokenData, ColorTokenInlineData, ColorValue, ComponentElementData, ContentLoadInstruction, ContentLoaderPayload, type CreateAssetReference, type CreateBrand, type CreateDataSource, type CreateDesignElement, type CreateDesignElementReference, type CreateDesignSystem, type CreateDesignSystemInvitation, type CreateDesignSystemMembership, type CreateDesignSystemVersion, type CreateDesignSystemVersionRoom, CreateDesignToken, type CreateDocumentationPageApproval, type CreateDocumentationPageContent, type CreateDocumentationPageRoom, type CreateDocumentationPageSnapshot, type CreateDocumentationPageV1, type CreateDocumentationPageV2, type CreateElementGroup, type CreateElementGroupSnapshot, type CreateElementPropertyDefinition, type CreateElementPropertyValue, type CreateElementView, type CreateElementViewColumn, type CreateExportJob, type CreateExporterMembership, type CreateFigmaComponent, type CreateFigmaFileStructure, type CreateFigmaNodeReference, type CreateImportJob, type CreatePersonalAccessToken, type CreatePublishedDocPage, type CreateTheme, type CreateWorkspaceDbInput, CreateWorkspaceInput, type CreateWorkspaceRoom, CustomDomain, type CustomDomainState, Customer, DataSource, DataSourceAutoImportMode, DataSourceFigmaFileData, DataSourceFigmaFileVersionData, DataSourceFigmaImportMetadata, DataSourceFigmaRemote, DataSourceFigmaScope, DataSourceFigmaState, DataSourceImportModel, DataSourceRemote, DataSourceRemoteType, DataSourceStats, DataSourceTokenStudioRemote, DataSourceUploadImportMetadata, DataSourceUploadRemote, DataSourceUploadRemoteSource, DataSourceVersion, type DbCreateInputOmit, type DbUpdate, type DbUpdateInputOmit, type Defined, DesignElement, DesignElementBase, DesignElementBrandedPart, DesignElementCategory, DesignElementGroupableBase, DesignElementGroupablePart, DesignElementGroupableRequiredPart, DesignElementImportedBase, DesignElementOrigin, type DesignElementOriginImportModel, type DesignElementReference, DesignElementSlugPart, DesignElementSnapshotBase, DesignElementSnapshotReason, DesignElementType, DesignSystem, DesignSystemAccessMode, DesignSystemDump, DesignSystemElementExportProps, DesignSystemInvitation, DesignSystemInvite, DesignSystemInviteEmailData, DesignSystemInviteEmailRecipient, DesignSystemMembers, DesignSystemMembership, DesignSystemMembershipUpdates, DesignSystemPendingMemberInvitation, type DesignSystemPendingMemberInvite, DesignSystemSwitcher, DesignSystemUserInvitation, DesignSystemVersion, DesignSystemVersionDump, DesignSystemVersionMultiplayerDump, DesignSystemVersionRoom, DesignSystemVersionRoomInitialState, DesignSystemVersionRoomInternalSettings, DesignSystemVersionRoomUpdate, DesignToken, DesignTokenBase, DesignTokenImportModel, DesignTokenImportModelBase, DesignTokenImportModelInput, DesignTokenImportModelInputBase, type DesignTokenImportModelInputOfType, type DesignTokenImportModelOfType, type DesignTokenOfType, DesignTokenOrigin, DesignTokenOriginPart, DesignTokenType, DesignTokenTypedData, type DesignTokenTypedDataOfType, type DesignTokensDiff, DimensionTokenData, DimensionUnit, DimensionValue, DocumentationComment, DocumentationCommentThread, DocumentationGroupBehavior, DocumentationGroupV1, DocumentationItemConfigurationV1, DocumentationItemConfigurationV2, DocumentationItemHeaderAlignment, DocumentationItemHeaderAlignmentSchema, DocumentationItemHeaderImageScaleType, DocumentationItemHeaderImageScaleTypeSchema, DocumentationItemHeaderV1, DocumentationItemHeaderV2, DocumentationLinkPreview, DocumentationPage, DocumentationPageAnchor, DocumentationPageApproval, DocumentationPageApprovalState, DocumentationPageContent, DocumentationPageContentBackup, DocumentationPageContentData, DocumentationPageContentItem, DocumentationPageDataV1, DocumentationPageDataV2, DocumentationPageGroup, DocumentationPageRoom, DocumentationPageRoomDump, DocumentationPageRoomInitialStateUpdate, DocumentationPageRoomRoomUpdate, DocumentationPageRoomState, DocumentationPageSnapshot, DocumentationPageV1, DocumentationPageV2, DocumentationSettings, DocumentationThreadDump, DurationTokenData, DurationUnit, DurationValue, ElementGroup, ElementGroupDataV1, ElementGroupDataV2, ElementGroupSnapshot, type ElementGroupsDiff, ElementPropertyDefinition, type ElementPropertyDefinitionDiff, ElementPropertyDefinitionOption, ElementPropertyLinkType, type ElementPropertyReference, ElementPropertyTargetType, ElementPropertyType, ElementPropertyTypeSchema, ElementPropertyValue, type ElementPropertyValueDiff, ElementView, ElementViewBaseColumnType, ElementViewBasePropertyColumn, ElementViewColumn, ElementViewColumnSharedAttributes, ElementViewColumnType, ElementViewPropertyDefinitionColumn, ElementViewThemeColumn, Entity, Event, EventDataSourceImported, EventVersionReleased, type ExplicitPartial, ExportDestinationsMap, ExportJob, ExportJobContext, ExportJobDestinationType, ExportJobDocsDestinationResult, ExportJobDocumentationChanges, ExportJobDocumentationContext, ExportJobDump, ExportJobFindByFilter, ExportJobLogEntry, ExportJobLogEntryType, ExportJobPullRequestDestinationResult, ExportJobResult, ExportJobS3DestinationResult, ExportJobStatus, Exporter, ExporterDestinationAzure, ExporterDestinationBitbucket, ExporterDestinationDocs, ExporterDestinationGithub, ExporterDestinationGitlab, ExporterDestinationS3, ExporterDetails, ExporterFunctionPayload, ExporterPropertyImageValue, ExporterPropertyValue, ExporterPropertyValuesCollection, ExporterPulsarDetails, ExporterSource, ExporterTag, ExporterType, ExporterWorkspaceMembership, ExporterWorkspaceMembershipRole, type ExtendedIntegration, ExtendedIntegrationType, ExternalOAuthRequest, ExternalServiceType, FeatureFlag, FeatureFlagMap, type FeatureLimitedDetails, type FeatureToggleDetails, type FeatureWithImportJobsDetails, FeaturesSummary, FigmaComponent, FigmaComponentAsset, FigmaComponentBooleanProperty, type FigmaComponentDiff, FigmaComponentImportModel, FigmaComponentImportModelInput, FigmaComponentInstanceSwapProperty, FigmaComponentOrigin, FigmaComponentOriginPart, FigmaComponentProperty, FigmaComponentPropertyMap, FigmaComponentPropertyOrigin, FigmaComponentPropertyType, FigmaComponentTextProperty, FigmaComponentVariantProperty, FigmaFileAccessData, FigmaFileDownloadScope, FigmaFileStructure, FigmaFileStructureData, type FigmaFileStructureDiff, FigmaFileStructureElementData, FigmaFileStructureImportModel, FigmaFileStructureImportModelInput, FigmaFileStructureNode, FigmaFileStructureNodeBase, FigmaFileStructureNodeImportModel, FigmaFileStructureNodeType, FigmaFileStructureOrigin, FigmaFileStructureStatistics, FigmaImportBaseContext, FigmaImportContextWithDownloadScopes, FigmaImportContextWithSourcesState, FigmaNodeReference, FigmaNodeReferenceData, type FigmaNodeReferenceDiff, FigmaNodeReferenceElementData, FigmaNodeReferenceOrigin, FigmaNodeRenderFormat, FigmaPngRenderImportModel, FigmaRenderBase, FigmaRenderFormat, FigmaRenderImportModel, FigmaSvgRenderImportModel, FileStructureStats, FlaggedFeature, FontFamilyTokenData, FontFamilyValue, FontSizeTokenData, FontSizeUnit, FontSizeValue, FontTokenData, FontValue, FontWeightTokenData, FontWeightValue, GitBranch, GitIntegrationType, GitObjectsQuery, GitOrganization, GitProject, GitProvider, GitProviderNames, GitRepository, GradientLayerData, GradientLayerValue, GradientStop, GradientTokenData, GradientTokenValue, GradientType, HANDLE_MAX_LENGTH, HANDLE_MIN_LENGTH, HierarchicalElements, IconSet, ImageImportModel, ImageImportModelType, ImportFunctionInput, ImportJob, ImportJobOperation, ImportJobState, ImportModelBase, ImportModelCollection, ImportModelInputBase, ImportModelInputCollection, ImportWarning, ImportWarningType, type ImportedAsset, type ImportedDesignToken, type ImportedDesignTokenOfType, type ImportedFigmaComponent, ImportedFigmaSourceData, Integration, IntegrationAuthType, IntegrationCredentials, IntegrationCredentialsProfile, IntegrationCredentialsState, IntegrationCredentialsType, IntegrationDesignSystem, IntegrationToken, type IntegrationTokenOld, IntegrationTokenSchemaOld, IntegrationType, IntegrationUserInfo, InternalStatus, InternalStatusSchema, type Invoice, type InvoiceCoupon, InvoiceCouponSchema, type InvoiceLine, InvoiceLineSchema, InvoiceSchema, LetterSpacingTokenData, LetterSpacingUnit, LetterSpacingValue, LineHeightTokenData, LineHeightUnit, LineHeightValue, LiveblocksNotificationSettings, MAX_MEMBERS_COUNT, NpmPackage, NpmProxyToken, NpmProxyTokenPayload, NpmRegistrCustomAuthConfig, NpmRegistryAuthConfig, NpmRegistryAuthType, NpmRegistryBasicAuthConfig, NpmRegistryBearerAuthConfig, NpmRegistryConfig, NpmRegistryNoAuthConfig, NpmRegistryType, type Nullish, OAuthProvider, OAuthProviderNames, OAuthProviderSchema, ObjectMeta, type OmitStrict, OpacityTokenData, OpacityValue, type Optional, type OptionalToNullable, PageBlockAlignment, PageBlockAppearanceV2, PageBlockAsset, PageBlockAssetComponent, PageBlockAssetEntityMeta, PageBlockAssetType, PageBlockBaseV1, PageBlockBehaviorDataType, PageBlockBehaviorSelectionType, PageBlockCalloutType, PageBlockCategory, PageBlockCodeLanguage, PageBlockColorV2, PageBlockCustomBlockPropertyImageValue, PageBlockCustomBlockPropertyValue, PageBlockDataV2, PageBlockDefinition, PageBlockDefinitionAppearance, PageBlockDefinitionBehavior, PageBlockDefinitionBooleanOptions, PageBlockDefinitionBooleanPropertyStyle, PageBlockDefinitionComponentOptions, PageBlockDefinitionImageAspectRatio, PageBlockDefinitionImageOptions, PageBlockDefinitionImageWidth, PageBlockDefinitionItem, PageBlockDefinitionLayout, PageBlockDefinitionLayoutAlign, PageBlockDefinitionLayoutBase, PageBlockDefinitionLayoutGap, PageBlockDefinitionLayoutResizing, PageBlockDefinitionLayoutType, PageBlockDefinitionMultiRichTextPropertyStyle, PageBlockDefinitionMultiSelectPropertyStyle, PageBlockDefinitionMutiRichTextOptions, PageBlockDefinitionNumberOptions, PageBlockDefinitionOnboarding, PageBlockDefinitionProperty, PageBlockDefinitionPropertyType, PageBlockDefinitionRichTextEditorOptions, PageBlockDefinitionRichTextEditorPropertyStyle, PageBlockDefinitionRichTextOptions, PageBlockDefinitionRichTextPropertyStyle, PageBlockDefinitionSelectChoice, PageBlockDefinitionSelectOptions, PageBlockDefinitionSingleSelectPropertyColor, PageBlockDefinitionSingleSelectPropertyStyle, PageBlockDefinitionTextOptions, PageBlockDefinitionTextPropertyColor, PageBlockDefinitionTextPropertyStyle, PageBlockDefinitionUntypedPropertyOptions, PageBlockDefinitionVariant, PageBlockDefinitionsMap, PageBlockEditorModelV2, PageBlockFigmaComponentEntityMeta, PageBlockFigmaFrameProperties, PageBlockFigmaNodeEntityMeta, PageBlockFrame, PageBlockFrameOrigin, PageBlockGuideline, PageBlockImageAlignment, PageBlockImageReference, PageBlockImageResourceReference, PageBlockImageType, PageBlockItemAssetPropertyValue, PageBlockItemAssetValue, PageBlockItemBooleanValue, PageBlockItemCodeValue, PageBlockItemColorValue, PageBlockItemComponentPropertyValue, PageBlockItemComponentValue, PageBlockItemDividerValue, PageBlockItemEmbedValue, PageBlockItemFigmaComponentValue, PageBlockItemFigmaNodeValue, PageBlockItemImageValue, PageBlockItemMarkdownValue, PageBlockItemMultiRichTextValue, PageBlockItemMultiSelectValue, PageBlockItemNumberValue, PageBlockItemRichTextEditorListNode, PageBlockItemRichTextEditorNode, PageBlockItemRichTextEditorParagraphNode, PageBlockItemRichTextEditorValue, PageBlockItemRichTextValue, PageBlockItemSandboxValue, PageBlockItemSingleSelectValue, PageBlockItemStorybookValue, PageBlockItemSwatch, PageBlockItemTableCell, PageBlockItemTableImageNode, PageBlockItemTableNode, PageBlockItemTableRichTextNode, PageBlockItemTableRow, PageBlockItemTableValue, PageBlockItemTextValue, PageBlockItemTokenPropertyValue, PageBlockItemTokenTypeValue, PageBlockItemTokenValue, PageBlockItemUntypedValue, PageBlockItemUrlValue, PageBlockItemV2, PageBlockLinkPreview, PageBlockLinkType, PageBlockLinkV2, PageBlockPreviewContainerSize, PageBlockRenderCodeProperties, PageBlockResourceFrameNodeReference, PageBlockShortcut, PageBlockSwatch, PageBlockTableCellAlignment, PageBlockTableColumn, PageBlockTableProperties, PageBlockText, PageBlockTextSpan, PageBlockTextSpanAttribute, PageBlockTextSpanAttributeType, PageBlockTheme, PageBlockThemeDisplayMode, PageBlockThemeType, PageBlockTilesAlignment, PageBlockTilesLayout, PageBlockTypeV1, PageBlockUrlPreview, PageBlockV1, PageBlockV2, PageSectionAppearanceV2, PageSectionColumnV2, PageSectionEditorModelV2, PageSectionItemV2, PageSectionPaddingV2, PageSectionTypeV2, type Pagination, ParagraphIndentTokenData, ParagraphIndentUnit, ParagraphIndentValue, ParagraphSpacingTokenData, ParagraphSpacingUnit, ParagraphSpacingValue, PeriodSchema, PersonalAccessToken, type PersonalAccessTokenWithUser, Pipeline, PipelineDestinationExtraType, PipelineDestinationGitType, PipelineDestinationType, PipelineEventType, type PluginOAuthRequest, PluginOAuthRequestSchema, Point2D, PostStripeCheckoutBodyInputSchema, PostStripeCheckoutOutputSchema, PostStripePortalSessionBodyInputSchema, PostStripePortalSessionOutputSchema, PostStripePortalUpdateSessionBodyInputSchema, type Price, PriceSchema, ProductCode, ProductCodeSchema, ProductCopyTokenData, ProductCopyValue, PublishedDoc, PublishedDocEnvironment, PublishedDocPage, PublishedDocRoutingVersion, PublishedDocsChecksums, PublishedDocsDump, PulsarBaseProperty, PulsarContributionConfigurationProperty, PulsarContributionVariant, PulsarCustomBlock, PulsarPropertyType, RESERVED_SLUGS, RESERVED_SLUG_PREFIX, RenderedAssetFile, ResolvedAsset, type RestoreDocumentationPage, type RestoreElementGroup, RestoredDocumentationGroup, RestoredDocumentationPage, RoomType, RoomTypeEnum, RoomTypeSchema, SHORT_PERSISTENT_ID_LENGTH, SafeIdSchema, Session, SessionData, ShadowLayerValue, ShadowTokenData, ShadowType, ShallowDesignElement, Size, SizeOrUndefined, SizeTokenData, SizeUnit, SizeValue, SourceImportComponentSummary, SourceImportFrameSummary, SourceImportSummary, SourceImportSummaryByTokenType, SourceImportTokenSummary, SpaceTokenData, SpaceUnit, SpaceValue, SsoProvider, StringTokenData, StringValue, type StripeCheckoutInput, type StripeCheckoutOutput, type StripePortalSessionInput, type StripePortalSessionOutput, StripeSubscriptionStatus, StripeSubscriptionStatusSchema, Subscription, SupernovaException, type SupernovaExceptionType, TextCase, TextCaseTokenData, TextCaseValue, TextDecoration, TextDecorationTokenData, TextDecorationValue, Theme, type ThemeDiff, ThemeElementData, ThemeImportModel, ThemeImportModelInput, ThemeOrigin, ThemeOriginObject, ThemeOriginPart, ThemeOriginSource, ThemeOverride, ThemeOverrideImportModel, ThemeOverrideImportModelBase, ThemeOverrideImportModelInput, type ThemeOverrideImportModelInputOfType, type ThemeOverrideImportModelOfType, type ThemeOverrideOfType, ThemeOverrideOrigin, ThemeOverrideOriginPart, ThemeUpdateImportModel, ThemeUpdateImportModelInput, TokenDataAliasSchema, TypographyTokenData, TypographyValue, type UpdateDataSource, type UpdateDesignElement, type UpdateDesignSystem, type UpdateDesignSystemVersion, type UpdateDesignSystemVersionRoom, type UpdateDesignToken, type UpdateDocumentationPageContent, type UpdateDocumentationPageRoom, type UpdateDocumentationPageSnapshot, type UpdateDocumentationPageV1, type UpdateDocumentationPageV2, type UpdateElementGroup, type UpdateElementGroupSnapshot, type UpdateElementPropertyDefinition, type UpdateElementPropertyValue, type UpdateElementView, type UpdateElementViewColumn, type UpdateExportJob, type UpdateFigmaComponent, type UpdateFigmaFileStructure, type UpdateFigmaNodeReference, type UpdateImportJob, UpdateMembershipRolesInput, type UpdatePublishedDocPage, type UpdateTheme, type UpdateWorkspaceDbInput, type UpdateWorkspaceRoom, UrlImageImportModel, User, UserAnalyticsCleanupSchedule, UserAnalyticsCleanupScheduleDbInput, UserDump, UserIdentity, UserInvite, UserInvites, UserLinkedIntegrations, UserMinified, UserNotificationSettings, UserOnboarding, UserOnboardingDepartment, UserOnboardingJobLevel, UserProfile, UserProfileUpdate, UserSession, UserSource, UserTest, VersionCreationJob, VersionCreationJobStatus, Visibility, VisibilityTokenData, VisibilityValue, type WithRequired, Workspace, WorkspaceConfigurationUpdate, WorkspaceContext, WorkspaceDump, WorkspaceInvitation, WorkspaceIpSettings, WorkspaceIpWhitelistEntry, WorkspaceMembership, type WorkspaceOAuthRequest, WorkspaceOAuthRequestSchema, WorkspaceProfile, WorkspaceProfileUpdate, WorkspaceRole, WorkspaceRoleSchema, WorkspaceRoom, WorkspaceWithDesignSystems, ZIndexTokenData, ZIndexUnit, ZIndexValue, addImportModelCollections, areShallowObjectsEqual, buildConstantEnum, defaultDocumentationItemConfigurationV1, defaultDocumentationItemConfigurationV2, defaultDocumentationItemHeaderV1, defaultDocumentationItemHeaderV2, defaultNotificationSettings, designTokenImportModelTypeFilter, designTokenTypeFilter, extractTokenTypedData, figmaFileStructureImportModelToMap, figmaFileStructureToMap, filterNonNullish, forceUnwrapNullish, getCodenameFromText, getFigmaRenderFormatFileExtension, groupBy, isDesignTokenImportModelOfType, isDesignTokenOfType, isImportedAsset, isImportedDesignToken, isImportedFigmaComponent, isSlugReserved, isTokenType, joinRepeatingSpans, mapByUnique, mapPageBlockItemValuesV2, nonNullFilter, nonNullishFilter, nullishToOptional, parseUrl, pickLatestGroupSnapshots, pickLatestPageSnapshots, pickLatestSnapshots, promiseWithTimeout, publishedDocEnvironments, removeCommentSpans, sleep, slugRegex, slugify, tokenAliasOrValue, tokenElementTypes, traversePageBlockItemValuesV2, traversePageBlockItemsV2, traversePageBlocksV1, traversePageItemsV2, traverseStructure, trimLeadingSlash, trimTrailingSlash, tryParseShortPersistentId, tryParseUrl, uniqueBy, zodCreateInputOmit, zodUpdateInputOmit };
169646
+ export { Address, type AllFields, type ArrayElementType, Asset, AssetDeleteSchedule, type AssetDeleteScheduleDbInput, AssetDeleteScheduleStatus, AssetDynamoRecord, AssetFontProperties, type AssetImportModel, AssetImportModelInput, AssetOrigin, AssetProcessStatus, AssetProperties, AssetReference, type AssetReferenceDiff, AssetRenderConfiguration, AssetScope, AssetType, AssetValue, AuthTokens, BillingDetails, type BillingInterval, BillingIntervalSchema, BillingType, BillingTypeSchema, BlurTokenData, BlurType, BlurValue, BorderPosition, BorderRadiusTokenData, BorderRadiusUnit, BorderRadiusValue, BorderStyle, BorderTokenData, BorderValue, BorderWidthTokenData, BorderWidthUnit, BorderWidthValue, Brand, BrandedElementGroup, type Card, CardSchema, ChangedImportedFigmaSourceData, CodeIntegrationDump, ColorTokenData, ColorTokenInlineData, ColorValue, ComponentElementData, ContentLoadInstruction, ContentLoaderPayload, type CreateAssetReference, type CreateBrand, type CreateDataSource, type CreateDesignElement, type CreateDesignElementReference, type CreateDesignSystem, type CreateDesignSystemInvitation, type CreateDesignSystemMembership, type CreateDesignSystemVersion, type CreateDesignSystemVersionRoom, CreateDesignToken, type CreateDocumentationPageApproval, type CreateDocumentationPageContent, type CreateDocumentationPageRoom, type CreateDocumentationPageSnapshot, type CreateDocumentationPageV1, type CreateDocumentationPageV2, type CreateElementGroup, type CreateElementGroupSnapshot, type CreateElementPropertyDefinition, type CreateElementPropertyValue, type CreateElementView, type CreateElementViewColumn, type CreateExportJob, type CreateExporterMembership, type CreateFigmaComponent, type CreateFigmaFileStructure, type CreateFigmaNodeReference, type CreateImportJob, type CreatePersonalAccessToken, type CreatePublishedDocPage, type CreateTheme, type CreateWorkspaceDbInput, CreateWorkspaceInput, type CreateWorkspaceInvitation, type CreateWorkspaceMembership, type CreateWorkspaceRoom, CustomDomain, type CustomDomainState, Customer, DataSource, DataSourceAutoImportMode, DataSourceFigmaFileData, DataSourceFigmaFileVersionData, DataSourceFigmaImportMetadata, DataSourceFigmaRemote, DataSourceFigmaScope, DataSourceFigmaState, DataSourceImportModel, DataSourceRemote, DataSourceRemoteType, DataSourceStats, DataSourceTokenStudioRemote, DataSourceUploadImportMetadata, DataSourceUploadRemote, DataSourceUploadRemoteSource, DataSourceVersion, type DbCreateInputOmit, type DbUpdate, type DbUpdateInputOmit, type Defined, DesignElement, DesignElementBase, DesignElementBrandedPart, DesignElementCategory, DesignElementGroupableBase, DesignElementGroupablePart, DesignElementGroupableRequiredPart, DesignElementImportedBase, DesignElementOrigin, type DesignElementOriginImportModel, type DesignElementReference, DesignElementSlugPart, DesignElementSnapshotBase, DesignElementSnapshotReason, DesignElementType, DesignSystem, DesignSystemAccessMode, DesignSystemDump, DesignSystemElementExportProps, DesignSystemInvitation, DesignSystemInvite, DesignSystemInviteEmailData, DesignSystemInviteEmailRecipient, DesignSystemMembers, DesignSystemMembership, DesignSystemMembershipUpdates, DesignSystemPendingMemberInvitation, type DesignSystemPendingMemberInvite, DesignSystemSwitcher, DesignSystemUserInvitation, DesignSystemVersion, DesignSystemVersionDump, DesignSystemVersionMultiplayerDump, DesignSystemVersionRoom, DesignSystemVersionRoomInitialState, DesignSystemVersionRoomInternalSettings, DesignSystemVersionRoomUpdate, DesignToken, DesignTokenBase, DesignTokenImportModel, DesignTokenImportModelBase, DesignTokenImportModelInput, DesignTokenImportModelInputBase, type DesignTokenImportModelInputOfType, type DesignTokenImportModelOfType, type DesignTokenOfType, DesignTokenOrigin, DesignTokenOriginPart, DesignTokenType, DesignTokenTypedData, type DesignTokenTypedDataOfType, type DesignTokensDiff, DimensionTokenData, DimensionUnit, DimensionValue, DocumentationComment, DocumentationCommentThread, DocumentationGroupBehavior, DocumentationGroupV1, DocumentationItemConfigurationV1, DocumentationItemConfigurationV2, DocumentationItemHeaderAlignment, DocumentationItemHeaderAlignmentSchema, DocumentationItemHeaderImageScaleType, DocumentationItemHeaderImageScaleTypeSchema, DocumentationItemHeaderV1, DocumentationItemHeaderV2, DocumentationLinkPreview, DocumentationPage, DocumentationPageAnchor, DocumentationPageApproval, DocumentationPageApprovalState, DocumentationPageContent, DocumentationPageContentBackup, DocumentationPageContentData, DocumentationPageContentItem, DocumentationPageDataV1, DocumentationPageDataV2, DocumentationPageGroup, DocumentationPageRoom, DocumentationPageRoomDump, DocumentationPageRoomInitialStateUpdate, DocumentationPageRoomRoomUpdate, DocumentationPageRoomState, DocumentationPageSnapshot, DocumentationPageV1, DocumentationPageV2, DocumentationSettings, DocumentationThreadDump, DurationTokenData, DurationUnit, DurationValue, ElementGroup, ElementGroupDataV1, ElementGroupDataV2, ElementGroupSnapshot, type ElementGroupsDiff, ElementPropertyDefinition, type ElementPropertyDefinitionDiff, ElementPropertyDefinitionOption, ElementPropertyLinkType, type ElementPropertyReference, ElementPropertyTargetType, ElementPropertyType, ElementPropertyTypeSchema, ElementPropertyValue, type ElementPropertyValueDiff, ElementView, ElementViewBaseColumnType, ElementViewBasePropertyColumn, ElementViewColumn, ElementViewColumnSharedAttributes, ElementViewColumnType, ElementViewPropertyDefinitionColumn, ElementViewThemeColumn, Entity, Event, EventDataSourceImported, EventVersionReleased, type ExplicitPartial, ExportDestinationsMap, ExportJob, ExportJobContext, ExportJobDestinationType, ExportJobDocsDestinationResult, ExportJobDocumentationChanges, ExportJobDocumentationContext, ExportJobDump, ExportJobFindByFilter, ExportJobLogEntry, ExportJobLogEntryType, ExportJobPullRequestDestinationResult, ExportJobResult, ExportJobS3DestinationResult, ExportJobStatus, Exporter, ExporterDestinationAzure, ExporterDestinationBitbucket, ExporterDestinationDocs, ExporterDestinationGithub, ExporterDestinationGitlab, ExporterDestinationS3, ExporterDetails, ExporterFunctionPayload, ExporterPropertyImageValue, ExporterPropertyValue, ExporterPropertyValuesCollection, ExporterPulsarDetails, ExporterSource, ExporterTag, ExporterType, ExporterWorkspaceMembership, ExporterWorkspaceMembershipRole, type ExtendedIntegration, ExtendedIntegrationType, ExternalOAuthRequest, ExternalServiceType, FeatureFlag, FeatureFlagMap, type FeatureLimitedDetails, type FeatureToggleDetails, type FeatureWithImportJobsDetails, FeaturesSummary, FigmaComponent, FigmaComponentAsset, FigmaComponentBooleanProperty, type FigmaComponentDiff, FigmaComponentImportModel, FigmaComponentImportModelInput, FigmaComponentInstanceSwapProperty, FigmaComponentOrigin, FigmaComponentOriginPart, FigmaComponentProperty, FigmaComponentPropertyMap, FigmaComponentPropertyOrigin, FigmaComponentPropertyType, FigmaComponentTextProperty, FigmaComponentVariantProperty, FigmaFileAccessData, FigmaFileDownloadScope, FigmaFileStructure, FigmaFileStructureData, type FigmaFileStructureDiff, FigmaFileStructureElementData, FigmaFileStructureImportModel, FigmaFileStructureImportModelInput, FigmaFileStructureNode, FigmaFileStructureNodeBase, FigmaFileStructureNodeImportModel, FigmaFileStructureNodeType, FigmaFileStructureOrigin, FigmaFileStructureStatistics, FigmaImportBaseContext, FigmaImportContextWithDownloadScopes, FigmaImportContextWithSourcesState, FigmaNodeReference, FigmaNodeReferenceData, type FigmaNodeReferenceDiff, FigmaNodeReferenceElementData, FigmaNodeReferenceOrigin, FigmaNodeRenderFormat, FigmaPngRenderImportModel, FigmaRenderBase, FigmaRenderFormat, FigmaRenderImportModel, FigmaSvgRenderImportModel, FileStructureStats, FlaggedFeature, FontFamilyTokenData, FontFamilyValue, FontSizeTokenData, FontSizeUnit, FontSizeValue, FontTokenData, FontValue, FontWeightTokenData, FontWeightValue, GitBranch, GitIntegrationType, GitObjectsQuery, GitOrganization, GitProject, GitProvider, GitProviderNames, GitRepository, GradientLayerData, GradientLayerValue, GradientStop, GradientTokenData, GradientTokenValue, GradientType, HANDLE_MAX_LENGTH, HANDLE_MIN_LENGTH, HierarchicalElements, IconSet, ImageImportModel, ImageImportModelType, ImportFunctionInput, ImportJob, ImportJobOperation, ImportJobState, ImportModelBase, ImportModelCollection, ImportModelInputBase, ImportModelInputCollection, ImportWarning, ImportWarningType, type ImportedAsset, type ImportedDesignToken, type ImportedDesignTokenOfType, type ImportedFigmaComponent, ImportedFigmaSourceData, Integration, IntegrationAuthType, IntegrationCredentials, IntegrationCredentialsProfile, IntegrationCredentialsState, IntegrationCredentialsType, IntegrationDesignSystem, IntegrationToken, type IntegrationTokenOld, IntegrationTokenSchemaOld, IntegrationType, IntegrationUserInfo, InternalStatus, InternalStatusSchema, type Invoice, type InvoiceCoupon, InvoiceCouponSchema, type InvoiceLine, InvoiceLineSchema, InvoiceSchema, LetterSpacingTokenData, LetterSpacingUnit, LetterSpacingValue, LineHeightTokenData, LineHeightUnit, LineHeightValue, LiveblocksNotificationSettings, MAX_MEMBERS_COUNT, NpmPackage, NpmProxyToken, NpmProxyTokenPayload, NpmRegistrCustomAuthConfig, NpmRegistryAuthConfig, NpmRegistryAuthType, NpmRegistryBasicAuthConfig, NpmRegistryBearerAuthConfig, NpmRegistryConfig, NpmRegistryNoAuthConfig, NpmRegistryType, type Nullish, OAuthProvider, OAuthProviderNames, OAuthProviderSchema, ObjectMeta, type OmitStrict, OpacityTokenData, OpacityValue, type Optional, type OptionalToNullable, PageBlockAlignment, PageBlockAppearanceV2, PageBlockAsset, PageBlockAssetComponent, PageBlockAssetEntityMeta, PageBlockAssetType, PageBlockBaseV1, PageBlockBehaviorDataType, PageBlockBehaviorSelectionType, PageBlockCalloutType, PageBlockCategory, PageBlockCodeLanguage, PageBlockColorV2, PageBlockCustomBlockPropertyImageValue, PageBlockCustomBlockPropertyValue, PageBlockDataV2, PageBlockDefinition, PageBlockDefinitionAppearance, PageBlockDefinitionBehavior, PageBlockDefinitionBooleanOptions, PageBlockDefinitionBooleanPropertyStyle, PageBlockDefinitionComponentOptions, PageBlockDefinitionImageAspectRatio, PageBlockDefinitionImageOptions, PageBlockDefinitionImageWidth, PageBlockDefinitionItem, PageBlockDefinitionLayout, PageBlockDefinitionLayoutAlign, PageBlockDefinitionLayoutBase, PageBlockDefinitionLayoutGap, PageBlockDefinitionLayoutResizing, PageBlockDefinitionLayoutType, PageBlockDefinitionMultiRichTextPropertyStyle, PageBlockDefinitionMultiSelectPropertyStyle, PageBlockDefinitionMutiRichTextOptions, PageBlockDefinitionNumberOptions, PageBlockDefinitionOnboarding, PageBlockDefinitionProperty, PageBlockDefinitionPropertyType, PageBlockDefinitionRichTextEditorOptions, PageBlockDefinitionRichTextEditorPropertyStyle, PageBlockDefinitionRichTextOptions, PageBlockDefinitionRichTextPropertyStyle, PageBlockDefinitionSelectChoice, PageBlockDefinitionSelectOptions, PageBlockDefinitionSingleSelectPropertyColor, PageBlockDefinitionSingleSelectPropertyStyle, PageBlockDefinitionTextOptions, PageBlockDefinitionTextPropertyColor, PageBlockDefinitionTextPropertyStyle, PageBlockDefinitionUntypedPropertyOptions, PageBlockDefinitionVariant, PageBlockDefinitionsMap, PageBlockEditorModelV2, PageBlockFigmaComponentEntityMeta, PageBlockFigmaFrameProperties, PageBlockFigmaNodeEntityMeta, PageBlockFrame, PageBlockFrameOrigin, PageBlockGuideline, PageBlockImageAlignment, PageBlockImageReference, PageBlockImageResourceReference, PageBlockImageType, PageBlockItemAssetPropertyValue, PageBlockItemAssetValue, PageBlockItemBooleanValue, PageBlockItemCodeValue, PageBlockItemColorValue, PageBlockItemComponentPropertyValue, PageBlockItemComponentValue, PageBlockItemDividerValue, PageBlockItemEmbedValue, PageBlockItemFigmaComponentValue, PageBlockItemFigmaNodeValue, PageBlockItemImageValue, PageBlockItemMarkdownValue, PageBlockItemMultiRichTextValue, PageBlockItemMultiSelectValue, PageBlockItemNumberValue, PageBlockItemRichTextEditorListNode, PageBlockItemRichTextEditorNode, PageBlockItemRichTextEditorParagraphNode, PageBlockItemRichTextEditorValue, PageBlockItemRichTextValue, PageBlockItemSandboxValue, PageBlockItemSingleSelectValue, PageBlockItemStorybookValue, PageBlockItemSwatch, PageBlockItemTableCell, PageBlockItemTableImageNode, PageBlockItemTableNode, PageBlockItemTableRichTextNode, PageBlockItemTableRow, PageBlockItemTableValue, PageBlockItemTextValue, PageBlockItemTokenPropertyValue, PageBlockItemTokenTypeValue, PageBlockItemTokenValue, PageBlockItemUntypedValue, PageBlockItemUrlValue, PageBlockItemV2, PageBlockLinkPreview, PageBlockLinkType, PageBlockLinkV2, PageBlockPreviewContainerSize, PageBlockRenderCodeProperties, PageBlockResourceFrameNodeReference, PageBlockShortcut, PageBlockSwatch, PageBlockTableCellAlignment, PageBlockTableColumn, PageBlockTableProperties, PageBlockText, PageBlockTextSpan, PageBlockTextSpanAttribute, PageBlockTextSpanAttributeType, PageBlockTheme, PageBlockThemeDisplayMode, PageBlockThemeType, PageBlockTilesAlignment, PageBlockTilesLayout, PageBlockTypeV1, PageBlockUrlPreview, PageBlockV1, PageBlockV2, PageSectionAppearanceV2, PageSectionColumnV2, PageSectionEditorModelV2, PageSectionItemV2, PageSectionPaddingV2, PageSectionTypeV2, type Pagination, ParagraphIndentTokenData, ParagraphIndentUnit, ParagraphIndentValue, ParagraphSpacingTokenData, ParagraphSpacingUnit, ParagraphSpacingValue, PeriodSchema, PersonalAccessToken, type PersonalAccessTokenWithUser, Pipeline, PipelineDestinationExtraType, PipelineDestinationGitType, PipelineDestinationType, PipelineEventType, type PluginOAuthRequest, PluginOAuthRequestSchema, Point2D, PostStripeCheckoutBodyInputSchema, PostStripeCheckoutOutputSchema, PostStripePortalSessionBodyInputSchema, PostStripePortalSessionOutputSchema, PostStripePortalUpdateSessionBodyInputSchema, type Price, PriceSchema, ProductCode, ProductCodeSchema, ProductCopyTokenData, ProductCopyValue, PublishedDoc, PublishedDocEnvironment, PublishedDocPage, PublishedDocRoutingVersion, PublishedDocsChecksums, PublishedDocsDump, PulsarBaseProperty, PulsarContributionConfigurationProperty, PulsarContributionVariant, PulsarCustomBlock, PulsarPropertyType, RESERVED_SLUGS, RESERVED_SLUG_PREFIX, RenderedAssetFile, ResolvedAsset, type RestoreDocumentationPage, type RestoreElementGroup, RestoredDocumentationGroup, RestoredDocumentationPage, RoomType, RoomTypeEnum, RoomTypeSchema, SHORT_PERSISTENT_ID_LENGTH, SafeIdSchema, Session, SessionData, ShadowLayerValue, ShadowTokenData, ShadowType, ShallowDesignElement, Size, SizeOrUndefined, SizeTokenData, SizeUnit, SizeValue, SourceImportComponentSummary, SourceImportFrameSummary, SourceImportSummary, SourceImportSummaryByTokenType, SourceImportTokenSummary, SpaceTokenData, SpaceUnit, SpaceValue, SsoProvider, StringTokenData, StringValue, type StripeCheckoutInput, type StripeCheckoutOutput, type StripePortalSessionInput, type StripePortalSessionOutput, StripeSubscriptionStatus, StripeSubscriptionStatusSchema, Subscription, SupernovaException, type SupernovaExceptionType, TextCase, TextCaseTokenData, TextCaseValue, TextDecoration, TextDecorationTokenData, TextDecorationValue, Theme, type ThemeDiff, ThemeElementData, ThemeImportModel, ThemeImportModelInput, ThemeOrigin, ThemeOriginObject, ThemeOriginPart, ThemeOriginSource, ThemeOverride, ThemeOverrideImportModel, ThemeOverrideImportModelBase, ThemeOverrideImportModelInput, type ThemeOverrideImportModelInputOfType, type ThemeOverrideImportModelOfType, type ThemeOverrideOfType, ThemeOverrideOrigin, ThemeOverrideOriginPart, ThemeUpdateImportModel, ThemeUpdateImportModelInput, TokenDataAliasSchema, TypographyTokenData, TypographyValue, type UpdateDataSource, type UpdateDesignElement, type UpdateDesignSystem, type UpdateDesignSystemVersion, type UpdateDesignSystemVersionRoom, type UpdateDesignToken, type UpdateDocumentationPageContent, type UpdateDocumentationPageRoom, type UpdateDocumentationPageSnapshot, type UpdateDocumentationPageV1, type UpdateDocumentationPageV2, type UpdateElementGroup, type UpdateElementGroupSnapshot, type UpdateElementPropertyDefinition, type UpdateElementPropertyValue, type UpdateElementView, type UpdateElementViewColumn, type UpdateExportJob, type UpdateFigmaComponent, type UpdateFigmaFileStructure, type UpdateFigmaNodeReference, type UpdateImportJob, UpdateMembershipRolesInput, type UpdatePublishedDocPage, type UpdateTheme, type UpdateWorkspaceDbInput, type UpdateWorkspaceInvitation, type UpdateWorkspaceMembership, type UpdateWorkspaceRoom, UrlImageImportModel, User, UserAnalyticsCleanupSchedule, UserAnalyticsCleanupScheduleDbInput, UserDump, UserIdentity, UserInvite, UserInvites, UserLinkedIntegrations, UserMinified, UserNotificationSettings, UserOnboarding, UserOnboardingDepartment, UserOnboardingJobLevel, UserProfile, UserProfileUpdate, UserSession, UserSource, UserTest, VersionCreationJob, VersionCreationJobStatus, Visibility, VisibilityTokenData, VisibilityValue, type WithRequired, Workspace, WorkspaceConfigurationUpdate, WorkspaceContext, WorkspaceDump, WorkspaceInvitation, WorkspaceInviteEmailData, WorkspaceInviteEmailRecipient, WorkspaceIpSettings, WorkspaceIpWhitelistEntry, WorkspaceMembership, type WorkspaceOAuthRequest, WorkspaceOAuthRequestSchema, WorkspaceProfile, WorkspaceProfileUpdate, WorkspaceRole, WorkspaceRoleSchema, WorkspaceRoom, WorkspaceWithDesignSystems, ZIndexTokenData, ZIndexUnit, ZIndexValue, addImportModelCollections, areShallowObjectsEqual, buildConstantEnum, defaultDocumentationItemConfigurationV1, defaultDocumentationItemConfigurationV2, defaultDocumentationItemHeaderV1, defaultDocumentationItemHeaderV2, defaultNotificationSettings, designTokenImportModelTypeFilter, designTokenTypeFilter, extractTokenTypedData, figmaFileStructureImportModelToMap, figmaFileStructureToMap, filterNonNullish, forceUnwrapNullish, getCodenameFromText, getFigmaRenderFormatFileExtension, groupBy, isDesignTokenImportModelOfType, isDesignTokenOfType, isImportedAsset, isImportedDesignToken, isImportedFigmaComponent, isSlugReserved, isTokenType, joinRepeatingSpans, mapByUnique, mapPageBlockItemValuesV2, nonNullFilter, nonNullishFilter, nullishToOptional, parseUrl, pickLatestGroupSnapshots, pickLatestPageSnapshots, pickLatestSnapshots, promiseWithTimeout, publishedDocEnvironments, removeCommentSpans, sleep, slugRegex, slugify, tokenAliasOrValue, tokenElementTypes, traversePageBlockItemValuesV2, traversePageBlockItemsV2, traversePageBlocksV1, traversePageItemsV2, traverseStructure, trimLeadingSlash, trimTrailingSlash, tryParseShortPersistentId, tryParseUrl, uniqueBy, zodCreateInputOmit, zodUpdateInputOmit };