@supernova-studio/client 1.55.2 → 1.55.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -2964,7 +2964,43 @@ declare const DTODataSourceFigmaCloud: z.ZodObject<{
2964
2964
  sourceId: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<string, z.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
2965
2965
  brandId: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<string, z.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
2966
2966
  versionId: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<string, z.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
2967
- error: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<any, z.ZodTypeDef, any>>>, any, any>;
2967
+ error: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<{
2968
+ cloudState: "MissingIntegration" | "Active" | "MissingFileAccess" | "MissingFileOwner";
2969
+ errorType?: "FigmaAPIRateLimit" | "UnknownImportError" | undefined;
2970
+ originalError?: Record<string, any> | undefined;
2971
+ rateLimitDetails?: {
2972
+ retryAfter?: number | undefined;
2973
+ figmaPlanTier?: string | undefined;
2974
+ rateLimitType?: string | undefined;
2975
+ } | undefined;
2976
+ }, z.ZodTypeDef, {
2977
+ cloudState: "MissingIntegration" | "Active" | "MissingFileAccess" | "MissingFileOwner";
2978
+ errorType?: "FigmaAPIRateLimit" | "UnknownImportError" | undefined;
2979
+ originalError?: Record<string, any> | null | undefined;
2980
+ rateLimitDetails?: {
2981
+ retryAfter?: number | undefined;
2982
+ figmaPlanTier?: string | undefined;
2983
+ rateLimitType?: string | undefined;
2984
+ } | undefined;
2985
+ }>>>, {
2986
+ cloudState: "MissingIntegration" | "Active" | "MissingFileAccess" | "MissingFileOwner";
2987
+ errorType?: "FigmaAPIRateLimit" | "UnknownImportError" | undefined;
2988
+ originalError?: Record<string, any> | undefined;
2989
+ rateLimitDetails?: {
2990
+ retryAfter?: number | undefined;
2991
+ figmaPlanTier?: string | undefined;
2992
+ rateLimitType?: string | undefined;
2993
+ } | undefined;
2994
+ } | undefined, {
2995
+ cloudState: "MissingIntegration" | "Active" | "MissingFileAccess" | "MissingFileOwner";
2996
+ errorType?: "FigmaAPIRateLimit" | "UnknownImportError" | undefined;
2997
+ originalError?: Record<string, any> | null | undefined;
2998
+ rateLimitDetails?: {
2999
+ retryAfter?: number | undefined;
3000
+ figmaPlanTier?: string | undefined;
3001
+ rateLimitType?: string | undefined;
3002
+ } | undefined;
3003
+ } | null | undefined>;
2968
3004
  isFailed: z.ZodBoolean;
2969
3005
  warnings: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
2970
3006
  warningType: z.ZodEnum<["NoVersionFound", "UnsupportedFill", "UnsupportedStroke", "UnsupportedEffect", "NoPublishedElements", "NoPublishedStyles", "NoPublishedComponents", "NoPublishedAssets", "StyleNotApplied", "ComponentHasNoThumbnail", "DuplicateImportedStyleId", "DuplicateImportedStylePath", "NoUnpublishedStyles", "ReferenceResolutionFailed"]>;
@@ -3033,13 +3069,31 @@ declare const DTODataSourceFigmaCloud: z.ZodObject<{
3033
3069
  unsupportedStyleValueType?: string | undefined;
3034
3070
  referenceId?: string | undefined;
3035
3071
  }[];
3036
- error?: any;
3072
+ error?: {
3073
+ cloudState: "MissingIntegration" | "Active" | "MissingFileAccess" | "MissingFileOwner";
3074
+ errorType?: "FigmaAPIRateLimit" | "UnknownImportError" | undefined;
3075
+ originalError?: Record<string, any> | undefined;
3076
+ rateLimitDetails?: {
3077
+ retryAfter?: number | undefined;
3078
+ figmaPlanTier?: string | undefined;
3079
+ rateLimitType?: string | undefined;
3080
+ } | undefined;
3081
+ } | undefined;
3037
3082
  versionId?: string | undefined;
3038
3083
  sourceId?: string | undefined;
3039
3084
  brandId?: string | undefined;
3040
3085
  }, {
3041
3086
  isFailed: boolean;
3042
- error?: any;
3087
+ error?: {
3088
+ cloudState: "MissingIntegration" | "Active" | "MissingFileAccess" | "MissingFileOwner";
3089
+ errorType?: "FigmaAPIRateLimit" | "UnknownImportError" | undefined;
3090
+ originalError?: Record<string, any> | null | undefined;
3091
+ rateLimitDetails?: {
3092
+ retryAfter?: number | undefined;
3093
+ figmaPlanTier?: string | undefined;
3094
+ rateLimitType?: string | undefined;
3095
+ } | undefined;
3096
+ } | null | undefined;
3043
3097
  versionId?: string | null | undefined;
3044
3098
  components?: number | null | undefined;
3045
3099
  componentSets?: number | null | undefined;
@@ -3143,7 +3197,16 @@ declare const DTODataSourceFigmaCloud: z.ZodObject<{
3143
3197
  unsupportedStyleValueType?: string | undefined;
3144
3198
  referenceId?: string | undefined;
3145
3199
  }[];
3146
- error?: any;
3200
+ error?: {
3201
+ cloudState: "MissingIntegration" | "Active" | "MissingFileAccess" | "MissingFileOwner";
3202
+ errorType?: "FigmaAPIRateLimit" | "UnknownImportError" | undefined;
3203
+ originalError?: Record<string, any> | undefined;
3204
+ rateLimitDetails?: {
3205
+ retryAfter?: number | undefined;
3206
+ figmaPlanTier?: string | undefined;
3207
+ rateLimitType?: string | undefined;
3208
+ } | undefined;
3209
+ } | undefined;
3147
3210
  versionId?: string | undefined;
3148
3211
  sourceId?: string | undefined;
3149
3212
  brandId?: string | undefined;
@@ -3172,7 +3235,16 @@ declare const DTODataSourceFigmaCloud: z.ZodObject<{
3172
3235
  fileThumbnailUrl?: string | undefined;
3173
3236
  lastImportResult?: {
3174
3237
  isFailed: boolean;
3175
- error?: any;
3238
+ error?: {
3239
+ cloudState: "MissingIntegration" | "Active" | "MissingFileAccess" | "MissingFileOwner";
3240
+ errorType?: "FigmaAPIRateLimit" | "UnknownImportError" | undefined;
3241
+ originalError?: Record<string, any> | null | undefined;
3242
+ rateLimitDetails?: {
3243
+ retryAfter?: number | undefined;
3244
+ figmaPlanTier?: string | undefined;
3245
+ rateLimitType?: string | undefined;
3246
+ } | undefined;
3247
+ } | null | undefined;
3176
3248
  versionId?: string | null | undefined;
3177
3249
  components?: number | null | undefined;
3178
3250
  componentSets?: number | null | undefined;
@@ -3264,7 +3336,43 @@ declare const DTODataSourceFigma: z.ZodObject<{
3264
3336
  sourceId: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<string, z.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
3265
3337
  brandId: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<string, z.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
3266
3338
  versionId: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<string, z.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
3267
- error: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<any, z.ZodTypeDef, any>>>, any, any>;
3339
+ error: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<{
3340
+ cloudState: "MissingIntegration" | "Active" | "MissingFileAccess" | "MissingFileOwner";
3341
+ errorType?: "FigmaAPIRateLimit" | "UnknownImportError" | undefined;
3342
+ originalError?: Record<string, any> | undefined;
3343
+ rateLimitDetails?: {
3344
+ retryAfter?: number | undefined;
3345
+ figmaPlanTier?: string | undefined;
3346
+ rateLimitType?: string | undefined;
3347
+ } | undefined;
3348
+ }, z.ZodTypeDef, {
3349
+ cloudState: "MissingIntegration" | "Active" | "MissingFileAccess" | "MissingFileOwner";
3350
+ errorType?: "FigmaAPIRateLimit" | "UnknownImportError" | undefined;
3351
+ originalError?: Record<string, any> | null | undefined;
3352
+ rateLimitDetails?: {
3353
+ retryAfter?: number | undefined;
3354
+ figmaPlanTier?: string | undefined;
3355
+ rateLimitType?: string | undefined;
3356
+ } | undefined;
3357
+ }>>>, {
3358
+ cloudState: "MissingIntegration" | "Active" | "MissingFileAccess" | "MissingFileOwner";
3359
+ errorType?: "FigmaAPIRateLimit" | "UnknownImportError" | undefined;
3360
+ originalError?: Record<string, any> | undefined;
3361
+ rateLimitDetails?: {
3362
+ retryAfter?: number | undefined;
3363
+ figmaPlanTier?: string | undefined;
3364
+ rateLimitType?: string | undefined;
3365
+ } | undefined;
3366
+ } | undefined, {
3367
+ cloudState: "MissingIntegration" | "Active" | "MissingFileAccess" | "MissingFileOwner";
3368
+ errorType?: "FigmaAPIRateLimit" | "UnknownImportError" | undefined;
3369
+ originalError?: Record<string, any> | null | undefined;
3370
+ rateLimitDetails?: {
3371
+ retryAfter?: number | undefined;
3372
+ figmaPlanTier?: string | undefined;
3373
+ rateLimitType?: string | undefined;
3374
+ } | undefined;
3375
+ } | null | undefined>;
3268
3376
  isFailed: z.ZodBoolean;
3269
3377
  warnings: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
3270
3378
  warningType: z.ZodEnum<["NoVersionFound", "UnsupportedFill", "UnsupportedStroke", "UnsupportedEffect", "NoPublishedElements", "NoPublishedStyles", "NoPublishedComponents", "NoPublishedAssets", "StyleNotApplied", "ComponentHasNoThumbnail", "DuplicateImportedStyleId", "DuplicateImportedStylePath", "NoUnpublishedStyles", "ReferenceResolutionFailed"]>;
@@ -3333,13 +3441,31 @@ declare const DTODataSourceFigma: z.ZodObject<{
3333
3441
  unsupportedStyleValueType?: string | undefined;
3334
3442
  referenceId?: string | undefined;
3335
3443
  }[];
3336
- error?: any;
3444
+ error?: {
3445
+ cloudState: "MissingIntegration" | "Active" | "MissingFileAccess" | "MissingFileOwner";
3446
+ errorType?: "FigmaAPIRateLimit" | "UnknownImportError" | undefined;
3447
+ originalError?: Record<string, any> | undefined;
3448
+ rateLimitDetails?: {
3449
+ retryAfter?: number | undefined;
3450
+ figmaPlanTier?: string | undefined;
3451
+ rateLimitType?: string | undefined;
3452
+ } | undefined;
3453
+ } | undefined;
3337
3454
  versionId?: string | undefined;
3338
3455
  sourceId?: string | undefined;
3339
3456
  brandId?: string | undefined;
3340
3457
  }, {
3341
3458
  isFailed: boolean;
3342
- error?: any;
3459
+ error?: {
3460
+ cloudState: "MissingIntegration" | "Active" | "MissingFileAccess" | "MissingFileOwner";
3461
+ errorType?: "FigmaAPIRateLimit" | "UnknownImportError" | undefined;
3462
+ originalError?: Record<string, any> | null | undefined;
3463
+ rateLimitDetails?: {
3464
+ retryAfter?: number | undefined;
3465
+ figmaPlanTier?: string | undefined;
3466
+ rateLimitType?: string | undefined;
3467
+ } | undefined;
3468
+ } | null | undefined;
3343
3469
  versionId?: string | null | undefined;
3344
3470
  components?: number | null | undefined;
3345
3471
  componentSets?: number | null | undefined;
@@ -3443,7 +3569,16 @@ declare const DTODataSourceFigma: z.ZodObject<{
3443
3569
  unsupportedStyleValueType?: string | undefined;
3444
3570
  referenceId?: string | undefined;
3445
3571
  }[];
3446
- error?: any;
3572
+ error?: {
3573
+ cloudState: "MissingIntegration" | "Active" | "MissingFileAccess" | "MissingFileOwner";
3574
+ errorType?: "FigmaAPIRateLimit" | "UnknownImportError" | undefined;
3575
+ originalError?: Record<string, any> | undefined;
3576
+ rateLimitDetails?: {
3577
+ retryAfter?: number | undefined;
3578
+ figmaPlanTier?: string | undefined;
3579
+ rateLimitType?: string | undefined;
3580
+ } | undefined;
3581
+ } | undefined;
3447
3582
  versionId?: string | undefined;
3448
3583
  sourceId?: string | undefined;
3449
3584
  brandId?: string | undefined;
@@ -3472,7 +3607,16 @@ declare const DTODataSourceFigma: z.ZodObject<{
3472
3607
  fileThumbnailUrl?: string | undefined;
3473
3608
  lastImportResult?: {
3474
3609
  isFailed: boolean;
3475
- error?: any;
3610
+ error?: {
3611
+ cloudState: "MissingIntegration" | "Active" | "MissingFileAccess" | "MissingFileOwner";
3612
+ errorType?: "FigmaAPIRateLimit" | "UnknownImportError" | undefined;
3613
+ originalError?: Record<string, any> | null | undefined;
3614
+ rateLimitDetails?: {
3615
+ retryAfter?: number | undefined;
3616
+ figmaPlanTier?: string | undefined;
3617
+ rateLimitType?: string | undefined;
3618
+ } | undefined;
3619
+ } | null | undefined;
3476
3620
  versionId?: string | null | undefined;
3477
3621
  components?: number | null | undefined;
3478
3622
  componentSets?: number | null | undefined;
@@ -3565,7 +3709,16 @@ declare const DTODataSourceFigma: z.ZodObject<{
3565
3709
  unsupportedStyleValueType?: string | undefined;
3566
3710
  referenceId?: string | undefined;
3567
3711
  }[];
3568
- error?: any;
3712
+ error?: {
3713
+ cloudState: "MissingIntegration" | "Active" | "MissingFileAccess" | "MissingFileOwner";
3714
+ errorType?: "FigmaAPIRateLimit" | "UnknownImportError" | undefined;
3715
+ originalError?: Record<string, any> | undefined;
3716
+ rateLimitDetails?: {
3717
+ retryAfter?: number | undefined;
3718
+ figmaPlanTier?: string | undefined;
3719
+ rateLimitType?: string | undefined;
3720
+ } | undefined;
3721
+ } | undefined;
3569
3722
  versionId?: string | undefined;
3570
3723
  sourceId?: string | undefined;
3571
3724
  brandId?: string | undefined;
@@ -3610,7 +3763,16 @@ declare const DTODataSourceFigma: z.ZodObject<{
3610
3763
  fileThumbnailUrl?: string | undefined;
3611
3764
  lastImportResult?: {
3612
3765
  isFailed: boolean;
3613
- error?: any;
3766
+ error?: {
3767
+ cloudState: "MissingIntegration" | "Active" | "MissingFileAccess" | "MissingFileOwner";
3768
+ errorType?: "FigmaAPIRateLimit" | "UnknownImportError" | undefined;
3769
+ originalError?: Record<string, any> | null | undefined;
3770
+ rateLimitDetails?: {
3771
+ retryAfter?: number | undefined;
3772
+ figmaPlanTier?: string | undefined;
3773
+ rateLimitType?: string | undefined;
3774
+ } | undefined;
3775
+ } | null | undefined;
3614
3776
  versionId?: string | null | undefined;
3615
3777
  components?: number | null | undefined;
3616
3778
  componentSets?: number | null | undefined;
@@ -4054,7 +4216,43 @@ declare const DTODataSource: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
4054
4216
  sourceId: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<string, z.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
4055
4217
  brandId: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<string, z.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
4056
4218
  versionId: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<string, z.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
4057
- error: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<any, z.ZodTypeDef, any>>>, any, any>;
4219
+ error: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<{
4220
+ cloudState: "MissingIntegration" | "Active" | "MissingFileAccess" | "MissingFileOwner";
4221
+ errorType?: "FigmaAPIRateLimit" | "UnknownImportError" | undefined;
4222
+ originalError?: Record<string, any> | undefined;
4223
+ rateLimitDetails?: {
4224
+ retryAfter?: number | undefined;
4225
+ figmaPlanTier?: string | undefined;
4226
+ rateLimitType?: string | undefined;
4227
+ } | undefined;
4228
+ }, z.ZodTypeDef, {
4229
+ cloudState: "MissingIntegration" | "Active" | "MissingFileAccess" | "MissingFileOwner";
4230
+ errorType?: "FigmaAPIRateLimit" | "UnknownImportError" | undefined;
4231
+ originalError?: Record<string, any> | null | undefined;
4232
+ rateLimitDetails?: {
4233
+ retryAfter?: number | undefined;
4234
+ figmaPlanTier?: string | undefined;
4235
+ rateLimitType?: string | undefined;
4236
+ } | undefined;
4237
+ }>>>, {
4238
+ cloudState: "MissingIntegration" | "Active" | "MissingFileAccess" | "MissingFileOwner";
4239
+ errorType?: "FigmaAPIRateLimit" | "UnknownImportError" | undefined;
4240
+ originalError?: Record<string, any> | undefined;
4241
+ rateLimitDetails?: {
4242
+ retryAfter?: number | undefined;
4243
+ figmaPlanTier?: string | undefined;
4244
+ rateLimitType?: string | undefined;
4245
+ } | undefined;
4246
+ } | undefined, {
4247
+ cloudState: "MissingIntegration" | "Active" | "MissingFileAccess" | "MissingFileOwner";
4248
+ errorType?: "FigmaAPIRateLimit" | "UnknownImportError" | undefined;
4249
+ originalError?: Record<string, any> | null | undefined;
4250
+ rateLimitDetails?: {
4251
+ retryAfter?: number | undefined;
4252
+ figmaPlanTier?: string | undefined;
4253
+ rateLimitType?: string | undefined;
4254
+ } | undefined;
4255
+ } | null | undefined>;
4058
4256
  isFailed: z.ZodBoolean;
4059
4257
  warnings: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
4060
4258
  warningType: z.ZodEnum<["NoVersionFound", "UnsupportedFill", "UnsupportedStroke", "UnsupportedEffect", "NoPublishedElements", "NoPublishedStyles", "NoPublishedComponents", "NoPublishedAssets", "StyleNotApplied", "ComponentHasNoThumbnail", "DuplicateImportedStyleId", "DuplicateImportedStylePath", "NoUnpublishedStyles", "ReferenceResolutionFailed"]>;
@@ -4123,13 +4321,31 @@ declare const DTODataSource: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
4123
4321
  unsupportedStyleValueType?: string | undefined;
4124
4322
  referenceId?: string | undefined;
4125
4323
  }[];
4126
- error?: any;
4324
+ error?: {
4325
+ cloudState: "MissingIntegration" | "Active" | "MissingFileAccess" | "MissingFileOwner";
4326
+ errorType?: "FigmaAPIRateLimit" | "UnknownImportError" | undefined;
4327
+ originalError?: Record<string, any> | undefined;
4328
+ rateLimitDetails?: {
4329
+ retryAfter?: number | undefined;
4330
+ figmaPlanTier?: string | undefined;
4331
+ rateLimitType?: string | undefined;
4332
+ } | undefined;
4333
+ } | undefined;
4127
4334
  versionId?: string | undefined;
4128
4335
  sourceId?: string | undefined;
4129
4336
  brandId?: string | undefined;
4130
4337
  }, {
4131
4338
  isFailed: boolean;
4132
- error?: any;
4339
+ error?: {
4340
+ cloudState: "MissingIntegration" | "Active" | "MissingFileAccess" | "MissingFileOwner";
4341
+ errorType?: "FigmaAPIRateLimit" | "UnknownImportError" | undefined;
4342
+ originalError?: Record<string, any> | null | undefined;
4343
+ rateLimitDetails?: {
4344
+ retryAfter?: number | undefined;
4345
+ figmaPlanTier?: string | undefined;
4346
+ rateLimitType?: string | undefined;
4347
+ } | undefined;
4348
+ } | null | undefined;
4133
4349
  versionId?: string | null | undefined;
4134
4350
  components?: number | null | undefined;
4135
4351
  componentSets?: number | null | undefined;
@@ -4233,7 +4449,16 @@ declare const DTODataSource: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
4233
4449
  unsupportedStyleValueType?: string | undefined;
4234
4450
  referenceId?: string | undefined;
4235
4451
  }[];
4236
- error?: any;
4452
+ error?: {
4453
+ cloudState: "MissingIntegration" | "Active" | "MissingFileAccess" | "MissingFileOwner";
4454
+ errorType?: "FigmaAPIRateLimit" | "UnknownImportError" | undefined;
4455
+ originalError?: Record<string, any> | undefined;
4456
+ rateLimitDetails?: {
4457
+ retryAfter?: number | undefined;
4458
+ figmaPlanTier?: string | undefined;
4459
+ rateLimitType?: string | undefined;
4460
+ } | undefined;
4461
+ } | undefined;
4237
4462
  versionId?: string | undefined;
4238
4463
  sourceId?: string | undefined;
4239
4464
  brandId?: string | undefined;
@@ -4262,7 +4487,16 @@ declare const DTODataSource: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
4262
4487
  fileThumbnailUrl?: string | undefined;
4263
4488
  lastImportResult?: {
4264
4489
  isFailed: boolean;
4265
- error?: any;
4490
+ error?: {
4491
+ cloudState: "MissingIntegration" | "Active" | "MissingFileAccess" | "MissingFileOwner";
4492
+ errorType?: "FigmaAPIRateLimit" | "UnknownImportError" | undefined;
4493
+ originalError?: Record<string, any> | null | undefined;
4494
+ rateLimitDetails?: {
4495
+ retryAfter?: number | undefined;
4496
+ figmaPlanTier?: string | undefined;
4497
+ rateLimitType?: string | undefined;
4498
+ } | undefined;
4499
+ } | null | undefined;
4266
4500
  versionId?: string | null | undefined;
4267
4501
  components?: number | null | undefined;
4268
4502
  componentSets?: number | null | undefined;
@@ -4355,7 +4589,16 @@ declare const DTODataSource: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
4355
4589
  unsupportedStyleValueType?: string | undefined;
4356
4590
  referenceId?: string | undefined;
4357
4591
  }[];
4358
- error?: any;
4592
+ error?: {
4593
+ cloudState: "MissingIntegration" | "Active" | "MissingFileAccess" | "MissingFileOwner";
4594
+ errorType?: "FigmaAPIRateLimit" | "UnknownImportError" | undefined;
4595
+ originalError?: Record<string, any> | undefined;
4596
+ rateLimitDetails?: {
4597
+ retryAfter?: number | undefined;
4598
+ figmaPlanTier?: string | undefined;
4599
+ rateLimitType?: string | undefined;
4600
+ } | undefined;
4601
+ } | undefined;
4359
4602
  versionId?: string | undefined;
4360
4603
  sourceId?: string | undefined;
4361
4604
  brandId?: string | undefined;
@@ -4400,7 +4643,16 @@ declare const DTODataSource: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
4400
4643
  fileThumbnailUrl?: string | undefined;
4401
4644
  lastImportResult?: {
4402
4645
  isFailed: boolean;
4403
- error?: any;
4646
+ error?: {
4647
+ cloudState: "MissingIntegration" | "Active" | "MissingFileAccess" | "MissingFileOwner";
4648
+ errorType?: "FigmaAPIRateLimit" | "UnknownImportError" | undefined;
4649
+ originalError?: Record<string, any> | null | undefined;
4650
+ rateLimitDetails?: {
4651
+ retryAfter?: number | undefined;
4652
+ figmaPlanTier?: string | undefined;
4653
+ rateLimitType?: string | undefined;
4654
+ } | undefined;
4655
+ } | null | undefined;
4404
4656
  versionId?: string | null | undefined;
4405
4657
  components?: number | null | undefined;
4406
4658
  componentSets?: number | null | undefined;
@@ -4839,7 +5091,43 @@ declare const DTODataSourceResponse: z.ZodObject<{
4839
5091
  sourceId: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<string, z.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
4840
5092
  brandId: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<string, z.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
4841
5093
  versionId: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<string, z.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
4842
- error: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<any, z.ZodTypeDef, any>>>, any, any>;
5094
+ error: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<{
5095
+ cloudState: "MissingIntegration" | "Active" | "MissingFileAccess" | "MissingFileOwner";
5096
+ errorType?: "FigmaAPIRateLimit" | "UnknownImportError" | undefined;
5097
+ originalError?: Record<string, any> | undefined;
5098
+ rateLimitDetails?: {
5099
+ retryAfter?: number | undefined;
5100
+ figmaPlanTier?: string | undefined;
5101
+ rateLimitType?: string | undefined;
5102
+ } | undefined;
5103
+ }, z.ZodTypeDef, {
5104
+ cloudState: "MissingIntegration" | "Active" | "MissingFileAccess" | "MissingFileOwner";
5105
+ errorType?: "FigmaAPIRateLimit" | "UnknownImportError" | undefined;
5106
+ originalError?: Record<string, any> | null | undefined;
5107
+ rateLimitDetails?: {
5108
+ retryAfter?: number | undefined;
5109
+ figmaPlanTier?: string | undefined;
5110
+ rateLimitType?: string | undefined;
5111
+ } | undefined;
5112
+ }>>>, {
5113
+ cloudState: "MissingIntegration" | "Active" | "MissingFileAccess" | "MissingFileOwner";
5114
+ errorType?: "FigmaAPIRateLimit" | "UnknownImportError" | undefined;
5115
+ originalError?: Record<string, any> | undefined;
5116
+ rateLimitDetails?: {
5117
+ retryAfter?: number | undefined;
5118
+ figmaPlanTier?: string | undefined;
5119
+ rateLimitType?: string | undefined;
5120
+ } | undefined;
5121
+ } | undefined, {
5122
+ cloudState: "MissingIntegration" | "Active" | "MissingFileAccess" | "MissingFileOwner";
5123
+ errorType?: "FigmaAPIRateLimit" | "UnknownImportError" | undefined;
5124
+ originalError?: Record<string, any> | null | undefined;
5125
+ rateLimitDetails?: {
5126
+ retryAfter?: number | undefined;
5127
+ figmaPlanTier?: string | undefined;
5128
+ rateLimitType?: string | undefined;
5129
+ } | undefined;
5130
+ } | null | undefined>;
4843
5131
  isFailed: z.ZodBoolean;
4844
5132
  warnings: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
4845
5133
  warningType: z.ZodEnum<["NoVersionFound", "UnsupportedFill", "UnsupportedStroke", "UnsupportedEffect", "NoPublishedElements", "NoPublishedStyles", "NoPublishedComponents", "NoPublishedAssets", "StyleNotApplied", "ComponentHasNoThumbnail", "DuplicateImportedStyleId", "DuplicateImportedStylePath", "NoUnpublishedStyles", "ReferenceResolutionFailed"]>;
@@ -4908,13 +5196,31 @@ declare const DTODataSourceResponse: z.ZodObject<{
4908
5196
  unsupportedStyleValueType?: string | undefined;
4909
5197
  referenceId?: string | undefined;
4910
5198
  }[];
4911
- error?: any;
5199
+ error?: {
5200
+ cloudState: "MissingIntegration" | "Active" | "MissingFileAccess" | "MissingFileOwner";
5201
+ errorType?: "FigmaAPIRateLimit" | "UnknownImportError" | undefined;
5202
+ originalError?: Record<string, any> | undefined;
5203
+ rateLimitDetails?: {
5204
+ retryAfter?: number | undefined;
5205
+ figmaPlanTier?: string | undefined;
5206
+ rateLimitType?: string | undefined;
5207
+ } | undefined;
5208
+ } | undefined;
4912
5209
  versionId?: string | undefined;
4913
5210
  sourceId?: string | undefined;
4914
5211
  brandId?: string | undefined;
4915
5212
  }, {
4916
5213
  isFailed: boolean;
4917
- error?: any;
5214
+ error?: {
5215
+ cloudState: "MissingIntegration" | "Active" | "MissingFileAccess" | "MissingFileOwner";
5216
+ errorType?: "FigmaAPIRateLimit" | "UnknownImportError" | undefined;
5217
+ originalError?: Record<string, any> | null | undefined;
5218
+ rateLimitDetails?: {
5219
+ retryAfter?: number | undefined;
5220
+ figmaPlanTier?: string | undefined;
5221
+ rateLimitType?: string | undefined;
5222
+ } | undefined;
5223
+ } | null | undefined;
4918
5224
  versionId?: string | null | undefined;
4919
5225
  components?: number | null | undefined;
4920
5226
  componentSets?: number | null | undefined;
@@ -5018,7 +5324,16 @@ declare const DTODataSourceResponse: z.ZodObject<{
5018
5324
  unsupportedStyleValueType?: string | undefined;
5019
5325
  referenceId?: string | undefined;
5020
5326
  }[];
5021
- error?: any;
5327
+ error?: {
5328
+ cloudState: "MissingIntegration" | "Active" | "MissingFileAccess" | "MissingFileOwner";
5329
+ errorType?: "FigmaAPIRateLimit" | "UnknownImportError" | undefined;
5330
+ originalError?: Record<string, any> | undefined;
5331
+ rateLimitDetails?: {
5332
+ retryAfter?: number | undefined;
5333
+ figmaPlanTier?: string | undefined;
5334
+ rateLimitType?: string | undefined;
5335
+ } | undefined;
5336
+ } | undefined;
5022
5337
  versionId?: string | undefined;
5023
5338
  sourceId?: string | undefined;
5024
5339
  brandId?: string | undefined;
@@ -5047,7 +5362,16 @@ declare const DTODataSourceResponse: z.ZodObject<{
5047
5362
  fileThumbnailUrl?: string | undefined;
5048
5363
  lastImportResult?: {
5049
5364
  isFailed: boolean;
5050
- error?: any;
5365
+ error?: {
5366
+ cloudState: "MissingIntegration" | "Active" | "MissingFileAccess" | "MissingFileOwner";
5367
+ errorType?: "FigmaAPIRateLimit" | "UnknownImportError" | undefined;
5368
+ originalError?: Record<string, any> | null | undefined;
5369
+ rateLimitDetails?: {
5370
+ retryAfter?: number | undefined;
5371
+ figmaPlanTier?: string | undefined;
5372
+ rateLimitType?: string | undefined;
5373
+ } | undefined;
5374
+ } | null | undefined;
5051
5375
  versionId?: string | null | undefined;
5052
5376
  components?: number | null | undefined;
5053
5377
  componentSets?: number | null | undefined;
@@ -5140,7 +5464,16 @@ declare const DTODataSourceResponse: z.ZodObject<{
5140
5464
  unsupportedStyleValueType?: string | undefined;
5141
5465
  referenceId?: string | undefined;
5142
5466
  }[];
5143
- error?: any;
5467
+ error?: {
5468
+ cloudState: "MissingIntegration" | "Active" | "MissingFileAccess" | "MissingFileOwner";
5469
+ errorType?: "FigmaAPIRateLimit" | "UnknownImportError" | undefined;
5470
+ originalError?: Record<string, any> | undefined;
5471
+ rateLimitDetails?: {
5472
+ retryAfter?: number | undefined;
5473
+ figmaPlanTier?: string | undefined;
5474
+ rateLimitType?: string | undefined;
5475
+ } | undefined;
5476
+ } | undefined;
5144
5477
  versionId?: string | undefined;
5145
5478
  sourceId?: string | undefined;
5146
5479
  brandId?: string | undefined;
@@ -5185,7 +5518,16 @@ declare const DTODataSourceResponse: z.ZodObject<{
5185
5518
  fileThumbnailUrl?: string | undefined;
5186
5519
  lastImportResult?: {
5187
5520
  isFailed: boolean;
5188
- error?: any;
5521
+ error?: {
5522
+ cloudState: "MissingIntegration" | "Active" | "MissingFileAccess" | "MissingFileOwner";
5523
+ errorType?: "FigmaAPIRateLimit" | "UnknownImportError" | undefined;
5524
+ originalError?: Record<string, any> | null | undefined;
5525
+ rateLimitDetails?: {
5526
+ retryAfter?: number | undefined;
5527
+ figmaPlanTier?: string | undefined;
5528
+ rateLimitType?: string | undefined;
5529
+ } | undefined;
5530
+ } | null | undefined;
5189
5531
  versionId?: string | null | undefined;
5190
5532
  components?: number | null | undefined;
5191
5533
  componentSets?: number | null | undefined;
@@ -5623,7 +5965,16 @@ declare const DTODataSourceResponse: z.ZodObject<{
5623
5965
  unsupportedStyleValueType?: string | undefined;
5624
5966
  referenceId?: string | undefined;
5625
5967
  }[];
5626
- error?: any;
5968
+ error?: {
5969
+ cloudState: "MissingIntegration" | "Active" | "MissingFileAccess" | "MissingFileOwner";
5970
+ errorType?: "FigmaAPIRateLimit" | "UnknownImportError" | undefined;
5971
+ originalError?: Record<string, any> | undefined;
5972
+ rateLimitDetails?: {
5973
+ retryAfter?: number | undefined;
5974
+ figmaPlanTier?: string | undefined;
5975
+ rateLimitType?: string | undefined;
5976
+ } | undefined;
5977
+ } | undefined;
5627
5978
  versionId?: string | undefined;
5628
5979
  sourceId?: string | undefined;
5629
5980
  brandId?: string | undefined;
@@ -5739,7 +6090,16 @@ declare const DTODataSourceResponse: z.ZodObject<{
5739
6090
  fileThumbnailUrl?: string | undefined;
5740
6091
  lastImportResult?: {
5741
6092
  isFailed: boolean;
5742
- error?: any;
6093
+ error?: {
6094
+ cloudState: "MissingIntegration" | "Active" | "MissingFileAccess" | "MissingFileOwner";
6095
+ errorType?: "FigmaAPIRateLimit" | "UnknownImportError" | undefined;
6096
+ originalError?: Record<string, any> | null | undefined;
6097
+ rateLimitDetails?: {
6098
+ retryAfter?: number | undefined;
6099
+ figmaPlanTier?: string | undefined;
6100
+ rateLimitType?: string | undefined;
6101
+ } | undefined;
6102
+ } | null | undefined;
5743
6103
  versionId?: string | null | undefined;
5744
6104
  components?: number | null | undefined;
5745
6105
  componentSets?: number | null | undefined;
@@ -5905,7 +6265,43 @@ declare const DTODataSourcesListResponse: z.ZodObject<{
5905
6265
  sourceId: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<string, z.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
5906
6266
  brandId: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<string, z.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
5907
6267
  versionId: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<string, z.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
5908
- error: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<any, z.ZodTypeDef, any>>>, any, any>;
6268
+ error: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<{
6269
+ cloudState: "MissingIntegration" | "Active" | "MissingFileAccess" | "MissingFileOwner";
6270
+ errorType?: "FigmaAPIRateLimit" | "UnknownImportError" | undefined;
6271
+ originalError?: Record<string, any> | undefined;
6272
+ rateLimitDetails?: {
6273
+ retryAfter?: number | undefined;
6274
+ figmaPlanTier?: string | undefined;
6275
+ rateLimitType?: string | undefined;
6276
+ } | undefined;
6277
+ }, z.ZodTypeDef, {
6278
+ cloudState: "MissingIntegration" | "Active" | "MissingFileAccess" | "MissingFileOwner";
6279
+ errorType?: "FigmaAPIRateLimit" | "UnknownImportError" | undefined;
6280
+ originalError?: Record<string, any> | null | undefined;
6281
+ rateLimitDetails?: {
6282
+ retryAfter?: number | undefined;
6283
+ figmaPlanTier?: string | undefined;
6284
+ rateLimitType?: string | undefined;
6285
+ } | undefined;
6286
+ }>>>, {
6287
+ cloudState: "MissingIntegration" | "Active" | "MissingFileAccess" | "MissingFileOwner";
6288
+ errorType?: "FigmaAPIRateLimit" | "UnknownImportError" | undefined;
6289
+ originalError?: Record<string, any> | undefined;
6290
+ rateLimitDetails?: {
6291
+ retryAfter?: number | undefined;
6292
+ figmaPlanTier?: string | undefined;
6293
+ rateLimitType?: string | undefined;
6294
+ } | undefined;
6295
+ } | undefined, {
6296
+ cloudState: "MissingIntegration" | "Active" | "MissingFileAccess" | "MissingFileOwner";
6297
+ errorType?: "FigmaAPIRateLimit" | "UnknownImportError" | undefined;
6298
+ originalError?: Record<string, any> | null | undefined;
6299
+ rateLimitDetails?: {
6300
+ retryAfter?: number | undefined;
6301
+ figmaPlanTier?: string | undefined;
6302
+ rateLimitType?: string | undefined;
6303
+ } | undefined;
6304
+ } | null | undefined>;
5909
6305
  isFailed: z.ZodBoolean;
5910
6306
  warnings: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
5911
6307
  warningType: z.ZodEnum<["NoVersionFound", "UnsupportedFill", "UnsupportedStroke", "UnsupportedEffect", "NoPublishedElements", "NoPublishedStyles", "NoPublishedComponents", "NoPublishedAssets", "StyleNotApplied", "ComponentHasNoThumbnail", "DuplicateImportedStyleId", "DuplicateImportedStylePath", "NoUnpublishedStyles", "ReferenceResolutionFailed"]>;
@@ -5974,13 +6370,31 @@ declare const DTODataSourcesListResponse: z.ZodObject<{
5974
6370
  unsupportedStyleValueType?: string | undefined;
5975
6371
  referenceId?: string | undefined;
5976
6372
  }[];
5977
- error?: any;
6373
+ error?: {
6374
+ cloudState: "MissingIntegration" | "Active" | "MissingFileAccess" | "MissingFileOwner";
6375
+ errorType?: "FigmaAPIRateLimit" | "UnknownImportError" | undefined;
6376
+ originalError?: Record<string, any> | undefined;
6377
+ rateLimitDetails?: {
6378
+ retryAfter?: number | undefined;
6379
+ figmaPlanTier?: string | undefined;
6380
+ rateLimitType?: string | undefined;
6381
+ } | undefined;
6382
+ } | undefined;
5978
6383
  versionId?: string | undefined;
5979
6384
  sourceId?: string | undefined;
5980
6385
  brandId?: string | undefined;
5981
6386
  }, {
5982
6387
  isFailed: boolean;
5983
- error?: any;
6388
+ error?: {
6389
+ cloudState: "MissingIntegration" | "Active" | "MissingFileAccess" | "MissingFileOwner";
6390
+ errorType?: "FigmaAPIRateLimit" | "UnknownImportError" | undefined;
6391
+ originalError?: Record<string, any> | null | undefined;
6392
+ rateLimitDetails?: {
6393
+ retryAfter?: number | undefined;
6394
+ figmaPlanTier?: string | undefined;
6395
+ rateLimitType?: string | undefined;
6396
+ } | undefined;
6397
+ } | null | undefined;
5984
6398
  versionId?: string | null | undefined;
5985
6399
  components?: number | null | undefined;
5986
6400
  componentSets?: number | null | undefined;
@@ -6084,7 +6498,16 @@ declare const DTODataSourcesListResponse: z.ZodObject<{
6084
6498
  unsupportedStyleValueType?: string | undefined;
6085
6499
  referenceId?: string | undefined;
6086
6500
  }[];
6087
- error?: any;
6501
+ error?: {
6502
+ cloudState: "MissingIntegration" | "Active" | "MissingFileAccess" | "MissingFileOwner";
6503
+ errorType?: "FigmaAPIRateLimit" | "UnknownImportError" | undefined;
6504
+ originalError?: Record<string, any> | undefined;
6505
+ rateLimitDetails?: {
6506
+ retryAfter?: number | undefined;
6507
+ figmaPlanTier?: string | undefined;
6508
+ rateLimitType?: string | undefined;
6509
+ } | undefined;
6510
+ } | undefined;
6088
6511
  versionId?: string | undefined;
6089
6512
  sourceId?: string | undefined;
6090
6513
  brandId?: string | undefined;
@@ -6113,7 +6536,16 @@ declare const DTODataSourcesListResponse: z.ZodObject<{
6113
6536
  fileThumbnailUrl?: string | undefined;
6114
6537
  lastImportResult?: {
6115
6538
  isFailed: boolean;
6116
- error?: any;
6539
+ error?: {
6540
+ cloudState: "MissingIntegration" | "Active" | "MissingFileAccess" | "MissingFileOwner";
6541
+ errorType?: "FigmaAPIRateLimit" | "UnknownImportError" | undefined;
6542
+ originalError?: Record<string, any> | null | undefined;
6543
+ rateLimitDetails?: {
6544
+ retryAfter?: number | undefined;
6545
+ figmaPlanTier?: string | undefined;
6546
+ rateLimitType?: string | undefined;
6547
+ } | undefined;
6548
+ } | null | undefined;
6117
6549
  versionId?: string | null | undefined;
6118
6550
  components?: number | null | undefined;
6119
6551
  componentSets?: number | null | undefined;
@@ -6206,7 +6638,16 @@ declare const DTODataSourcesListResponse: z.ZodObject<{
6206
6638
  unsupportedStyleValueType?: string | undefined;
6207
6639
  referenceId?: string | undefined;
6208
6640
  }[];
6209
- error?: any;
6641
+ error?: {
6642
+ cloudState: "MissingIntegration" | "Active" | "MissingFileAccess" | "MissingFileOwner";
6643
+ errorType?: "FigmaAPIRateLimit" | "UnknownImportError" | undefined;
6644
+ originalError?: Record<string, any> | undefined;
6645
+ rateLimitDetails?: {
6646
+ retryAfter?: number | undefined;
6647
+ figmaPlanTier?: string | undefined;
6648
+ rateLimitType?: string | undefined;
6649
+ } | undefined;
6650
+ } | undefined;
6210
6651
  versionId?: string | undefined;
6211
6652
  sourceId?: string | undefined;
6212
6653
  brandId?: string | undefined;
@@ -6251,7 +6692,16 @@ declare const DTODataSourcesListResponse: z.ZodObject<{
6251
6692
  fileThumbnailUrl?: string | undefined;
6252
6693
  lastImportResult?: {
6253
6694
  isFailed: boolean;
6254
- error?: any;
6695
+ error?: {
6696
+ cloudState: "MissingIntegration" | "Active" | "MissingFileAccess" | "MissingFileOwner";
6697
+ errorType?: "FigmaAPIRateLimit" | "UnknownImportError" | undefined;
6698
+ originalError?: Record<string, any> | null | undefined;
6699
+ rateLimitDetails?: {
6700
+ retryAfter?: number | undefined;
6701
+ figmaPlanTier?: string | undefined;
6702
+ rateLimitType?: string | undefined;
6703
+ } | undefined;
6704
+ } | null | undefined;
6255
6705
  versionId?: string | null | undefined;
6256
6706
  components?: number | null | undefined;
6257
6707
  componentSets?: number | null | undefined;
@@ -6689,7 +7139,16 @@ declare const DTODataSourcesListResponse: z.ZodObject<{
6689
7139
  unsupportedStyleValueType?: string | undefined;
6690
7140
  referenceId?: string | undefined;
6691
7141
  }[];
6692
- error?: any;
7142
+ error?: {
7143
+ cloudState: "MissingIntegration" | "Active" | "MissingFileAccess" | "MissingFileOwner";
7144
+ errorType?: "FigmaAPIRateLimit" | "UnknownImportError" | undefined;
7145
+ originalError?: Record<string, any> | undefined;
7146
+ rateLimitDetails?: {
7147
+ retryAfter?: number | undefined;
7148
+ figmaPlanTier?: string | undefined;
7149
+ rateLimitType?: string | undefined;
7150
+ } | undefined;
7151
+ } | undefined;
6693
7152
  versionId?: string | undefined;
6694
7153
  sourceId?: string | undefined;
6695
7154
  brandId?: string | undefined;
@@ -6805,7 +7264,16 @@ declare const DTODataSourcesListResponse: z.ZodObject<{
6805
7264
  fileThumbnailUrl?: string | undefined;
6806
7265
  lastImportResult?: {
6807
7266
  isFailed: boolean;
6808
- error?: any;
7267
+ error?: {
7268
+ cloudState: "MissingIntegration" | "Active" | "MissingFileAccess" | "MissingFileOwner";
7269
+ errorType?: "FigmaAPIRateLimit" | "UnknownImportError" | undefined;
7270
+ originalError?: Record<string, any> | null | undefined;
7271
+ rateLimitDetails?: {
7272
+ retryAfter?: number | undefined;
7273
+ figmaPlanTier?: string | undefined;
7274
+ rateLimitType?: string | undefined;
7275
+ } | undefined;
7276
+ } | null | undefined;
6809
7277
  versionId?: string | null | undefined;
6810
7278
  components?: number | null | undefined;
6811
7279
  componentSets?: number | null | undefined;
@@ -23148,14 +23616,14 @@ declare const DTOPageBlockDefinitionItem: z.ZodObject<{
23148
23616
  options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
23149
23617
  variantOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>>>;
23150
23618
  }, "strip", z.ZodTypeAny, {
23151
- type: "Boolean" | "Number" | "Code" | "Image" | "Text" | "URL" | "Token" | "Component" | "FigmaComponent" | "Color" | "Divider" | "Table" | "Markdown" | "RichText" | "MultiRichText" | "RichTextEditor" | "SingleSelect" | "MultiSelect" | "TokenType" | "TokenProperty" | "ComponentProperty" | "Asset" | "AssetProperty" | "FigmaNode" | "EmbedURL" | "CodeSandbox" | "Storybook" | "File";
23619
+ type: "Boolean" | "Number" | "Code" | "Image" | "Storybook" | "Text" | "URL" | "Token" | "Component" | "FigmaComponent" | "Color" | "Divider" | "Table" | "Markdown" | "RichText" | "MultiRichText" | "RichTextEditor" | "SingleSelect" | "MultiSelect" | "TokenType" | "TokenProperty" | "ComponentProperty" | "Asset" | "AssetProperty" | "FigmaNode" | "EmbedURL" | "CodeSandbox" | "File";
23152
23620
  id: string;
23153
23621
  name: string;
23154
23622
  options?: Record<string, any> | undefined;
23155
23623
  description?: string | undefined;
23156
23624
  variantOptions?: Record<string, Record<string, any>> | undefined;
23157
23625
  }, {
23158
- type: "Boolean" | "Number" | "Code" | "Image" | "Text" | "URL" | "Token" | "Component" | "FigmaComponent" | "Color" | "Divider" | "Table" | "Markdown" | "RichText" | "MultiRichText" | "RichTextEditor" | "SingleSelect" | "MultiSelect" | "TokenType" | "TokenProperty" | "ComponentProperty" | "Asset" | "AssetProperty" | "FigmaNode" | "EmbedURL" | "CodeSandbox" | "Storybook" | "File";
23626
+ type: "Boolean" | "Number" | "Code" | "Image" | "Storybook" | "Text" | "URL" | "Token" | "Component" | "FigmaComponent" | "Color" | "Divider" | "Table" | "Markdown" | "RichText" | "MultiRichText" | "RichTextEditor" | "SingleSelect" | "MultiSelect" | "TokenType" | "TokenProperty" | "ComponentProperty" | "Asset" | "AssetProperty" | "FigmaNode" | "EmbedURL" | "CodeSandbox" | "File";
23159
23627
  id: string;
23160
23628
  name: string;
23161
23629
  options?: Record<string, any> | undefined;
@@ -23251,7 +23719,7 @@ declare const DTOPageBlockDefinitionItem: z.ZodObject<{
23251
23719
  defaultVariantKey: z.ZodString;
23252
23720
  }, "strip", z.ZodTypeAny, {
23253
23721
  properties: {
23254
- type: "Boolean" | "Number" | "Code" | "Image" | "Text" | "URL" | "Token" | "Component" | "FigmaComponent" | "Color" | "Divider" | "Table" | "Markdown" | "RichText" | "MultiRichText" | "RichTextEditor" | "SingleSelect" | "MultiSelect" | "TokenType" | "TokenProperty" | "ComponentProperty" | "Asset" | "AssetProperty" | "FigmaNode" | "EmbedURL" | "CodeSandbox" | "Storybook" | "File";
23722
+ type: "Boolean" | "Number" | "Code" | "Image" | "Storybook" | "Text" | "URL" | "Token" | "Component" | "FigmaComponent" | "Color" | "Divider" | "Table" | "Markdown" | "RichText" | "MultiRichText" | "RichTextEditor" | "SingleSelect" | "MultiSelect" | "TokenType" | "TokenProperty" | "ComponentProperty" | "Asset" | "AssetProperty" | "FigmaNode" | "EmbedURL" | "CodeSandbox" | "File";
23255
23723
  id: string;
23256
23724
  name: string;
23257
23725
  options?: Record<string, any> | undefined;
@@ -23290,7 +23758,7 @@ declare const DTOPageBlockDefinitionItem: z.ZodObject<{
23290
23758
  } | undefined;
23291
23759
  }, {
23292
23760
  properties: {
23293
- type: "Boolean" | "Number" | "Code" | "Image" | "Text" | "URL" | "Token" | "Component" | "FigmaComponent" | "Color" | "Divider" | "Table" | "Markdown" | "RichText" | "MultiRichText" | "RichTextEditor" | "SingleSelect" | "MultiSelect" | "TokenType" | "TokenProperty" | "ComponentProperty" | "Asset" | "AssetProperty" | "FigmaNode" | "EmbedURL" | "CodeSandbox" | "Storybook" | "File";
23761
+ type: "Boolean" | "Number" | "Code" | "Image" | "Storybook" | "Text" | "URL" | "Token" | "Component" | "FigmaComponent" | "Color" | "Divider" | "Table" | "Markdown" | "RichText" | "MultiRichText" | "RichTextEditor" | "SingleSelect" | "MultiSelect" | "TokenType" | "TokenProperty" | "ComponentProperty" | "Asset" | "AssetProperty" | "FigmaNode" | "EmbedURL" | "CodeSandbox" | "File";
23294
23762
  id: string;
23295
23763
  name: string;
23296
23764
  options?: Record<string, any> | undefined;
@@ -23410,14 +23878,14 @@ declare const DTOPageBlockDefinitionProperty: z.ZodObject<{
23410
23878
  options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
23411
23879
  variantOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>>>;
23412
23880
  }, "strip", z.ZodTypeAny, {
23413
- type: "Boolean" | "Number" | "Code" | "Image" | "Text" | "URL" | "Token" | "Component" | "FigmaComponent" | "Color" | "Divider" | "Table" | "Markdown" | "RichText" | "MultiRichText" | "RichTextEditor" | "SingleSelect" | "MultiSelect" | "TokenType" | "TokenProperty" | "ComponentProperty" | "Asset" | "AssetProperty" | "FigmaNode" | "EmbedURL" | "CodeSandbox" | "Storybook" | "File";
23881
+ type: "Boolean" | "Number" | "Code" | "Image" | "Storybook" | "Text" | "URL" | "Token" | "Component" | "FigmaComponent" | "Color" | "Divider" | "Table" | "Markdown" | "RichText" | "MultiRichText" | "RichTextEditor" | "SingleSelect" | "MultiSelect" | "TokenType" | "TokenProperty" | "ComponentProperty" | "Asset" | "AssetProperty" | "FigmaNode" | "EmbedURL" | "CodeSandbox" | "File";
23414
23882
  id: string;
23415
23883
  name: string;
23416
23884
  options?: Record<string, any> | undefined;
23417
23885
  description?: string | undefined;
23418
23886
  variantOptions?: Record<string, Record<string, any>> | undefined;
23419
23887
  }, {
23420
- type: "Boolean" | "Number" | "Code" | "Image" | "Text" | "URL" | "Token" | "Component" | "FigmaComponent" | "Color" | "Divider" | "Table" | "Markdown" | "RichText" | "MultiRichText" | "RichTextEditor" | "SingleSelect" | "MultiSelect" | "TokenType" | "TokenProperty" | "ComponentProperty" | "Asset" | "AssetProperty" | "FigmaNode" | "EmbedURL" | "CodeSandbox" | "Storybook" | "File";
23888
+ type: "Boolean" | "Number" | "Code" | "Image" | "Storybook" | "Text" | "URL" | "Token" | "Component" | "FigmaComponent" | "Color" | "Divider" | "Table" | "Markdown" | "RichText" | "MultiRichText" | "RichTextEditor" | "SingleSelect" | "MultiSelect" | "TokenType" | "TokenProperty" | "ComponentProperty" | "Asset" | "AssetProperty" | "FigmaNode" | "EmbedURL" | "CodeSandbox" | "File";
23421
23889
  id: string;
23422
23890
  name: string;
23423
23891
  options?: Record<string, any> | undefined;
@@ -23453,14 +23921,14 @@ declare const DTOPageBlockDefinition: z.ZodObject<{
23453
23921
  options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
23454
23922
  variantOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>>>;
23455
23923
  }, "strip", z.ZodTypeAny, {
23456
- type: "Boolean" | "Number" | "Code" | "Image" | "Text" | "URL" | "Token" | "Component" | "FigmaComponent" | "Color" | "Divider" | "Table" | "Markdown" | "RichText" | "MultiRichText" | "RichTextEditor" | "SingleSelect" | "MultiSelect" | "TokenType" | "TokenProperty" | "ComponentProperty" | "Asset" | "AssetProperty" | "FigmaNode" | "EmbedURL" | "CodeSandbox" | "Storybook" | "File";
23924
+ type: "Boolean" | "Number" | "Code" | "Image" | "Storybook" | "Text" | "URL" | "Token" | "Component" | "FigmaComponent" | "Color" | "Divider" | "Table" | "Markdown" | "RichText" | "MultiRichText" | "RichTextEditor" | "SingleSelect" | "MultiSelect" | "TokenType" | "TokenProperty" | "ComponentProperty" | "Asset" | "AssetProperty" | "FigmaNode" | "EmbedURL" | "CodeSandbox" | "File";
23457
23925
  id: string;
23458
23926
  name: string;
23459
23927
  options?: Record<string, any> | undefined;
23460
23928
  description?: string | undefined;
23461
23929
  variantOptions?: Record<string, Record<string, any>> | undefined;
23462
23930
  }, {
23463
- type: "Boolean" | "Number" | "Code" | "Image" | "Text" | "URL" | "Token" | "Component" | "FigmaComponent" | "Color" | "Divider" | "Table" | "Markdown" | "RichText" | "MultiRichText" | "RichTextEditor" | "SingleSelect" | "MultiSelect" | "TokenType" | "TokenProperty" | "ComponentProperty" | "Asset" | "AssetProperty" | "FigmaNode" | "EmbedURL" | "CodeSandbox" | "Storybook" | "File";
23931
+ type: "Boolean" | "Number" | "Code" | "Image" | "Storybook" | "Text" | "URL" | "Token" | "Component" | "FigmaComponent" | "Color" | "Divider" | "Table" | "Markdown" | "RichText" | "MultiRichText" | "RichTextEditor" | "SingleSelect" | "MultiSelect" | "TokenType" | "TokenProperty" | "ComponentProperty" | "Asset" | "AssetProperty" | "FigmaNode" | "EmbedURL" | "CodeSandbox" | "File";
23464
23932
  id: string;
23465
23933
  name: string;
23466
23934
  options?: Record<string, any> | undefined;
@@ -23556,7 +24024,7 @@ declare const DTOPageBlockDefinition: z.ZodObject<{
23556
24024
  defaultVariantKey: z.ZodString;
23557
24025
  }, "strip", z.ZodTypeAny, {
23558
24026
  properties: {
23559
- type: "Boolean" | "Number" | "Code" | "Image" | "Text" | "URL" | "Token" | "Component" | "FigmaComponent" | "Color" | "Divider" | "Table" | "Markdown" | "RichText" | "MultiRichText" | "RichTextEditor" | "SingleSelect" | "MultiSelect" | "TokenType" | "TokenProperty" | "ComponentProperty" | "Asset" | "AssetProperty" | "FigmaNode" | "EmbedURL" | "CodeSandbox" | "Storybook" | "File";
24027
+ type: "Boolean" | "Number" | "Code" | "Image" | "Storybook" | "Text" | "URL" | "Token" | "Component" | "FigmaComponent" | "Color" | "Divider" | "Table" | "Markdown" | "RichText" | "MultiRichText" | "RichTextEditor" | "SingleSelect" | "MultiSelect" | "TokenType" | "TokenProperty" | "ComponentProperty" | "Asset" | "AssetProperty" | "FigmaNode" | "EmbedURL" | "CodeSandbox" | "File";
23560
24028
  id: string;
23561
24029
  name: string;
23562
24030
  options?: Record<string, any> | undefined;
@@ -23595,7 +24063,7 @@ declare const DTOPageBlockDefinition: z.ZodObject<{
23595
24063
  } | undefined;
23596
24064
  }, {
23597
24065
  properties: {
23598
- type: "Boolean" | "Number" | "Code" | "Image" | "Text" | "URL" | "Token" | "Component" | "FigmaComponent" | "Color" | "Divider" | "Table" | "Markdown" | "RichText" | "MultiRichText" | "RichTextEditor" | "SingleSelect" | "MultiSelect" | "TokenType" | "TokenProperty" | "ComponentProperty" | "Asset" | "AssetProperty" | "FigmaNode" | "EmbedURL" | "CodeSandbox" | "Storybook" | "File";
24066
+ type: "Boolean" | "Number" | "Code" | "Image" | "Storybook" | "Text" | "URL" | "Token" | "Component" | "FigmaComponent" | "Color" | "Divider" | "Table" | "Markdown" | "RichText" | "MultiRichText" | "RichTextEditor" | "SingleSelect" | "MultiSelect" | "TokenType" | "TokenProperty" | "ComponentProperty" | "Asset" | "AssetProperty" | "FigmaNode" | "EmbedURL" | "CodeSandbox" | "File";
23599
24067
  id: string;
23600
24068
  name: string;
23601
24069
  options?: Record<string, any> | undefined;
@@ -23725,7 +24193,7 @@ declare const DTOPageBlockDefinition: z.ZodObject<{
23725
24193
  }, "strip", z.ZodTypeAny, {
23726
24194
  item: {
23727
24195
  properties: {
23728
- type: "Boolean" | "Number" | "Code" | "Image" | "Text" | "URL" | "Token" | "Component" | "FigmaComponent" | "Color" | "Divider" | "Table" | "Markdown" | "RichText" | "MultiRichText" | "RichTextEditor" | "SingleSelect" | "MultiSelect" | "TokenType" | "TokenProperty" | "ComponentProperty" | "Asset" | "AssetProperty" | "FigmaNode" | "EmbedURL" | "CodeSandbox" | "Storybook" | "File";
24196
+ type: "Boolean" | "Number" | "Code" | "Image" | "Storybook" | "Text" | "URL" | "Token" | "Component" | "FigmaComponent" | "Color" | "Divider" | "Table" | "Markdown" | "RichText" | "MultiRichText" | "RichTextEditor" | "SingleSelect" | "MultiSelect" | "TokenType" | "TokenProperty" | "ComponentProperty" | "Asset" | "AssetProperty" | "FigmaNode" | "EmbedURL" | "CodeSandbox" | "File";
23729
24197
  id: string;
23730
24198
  name: string;
23731
24199
  options?: Record<string, any> | undefined;
@@ -23763,7 +24231,7 @@ declare const DTOPageBlockDefinition: z.ZodObject<{
23763
24231
  showBlockHeaderInEditor?: boolean | undefined;
23764
24232
  } | undefined;
23765
24233
  };
23766
- category: "Code" | "Text" | "Embed" | "Guidelines" | "Layout" | "Media" | "Figma" | "Tokens" | "Components" | "Assets" | "Data" | "Other";
24234
+ category: "Code" | "Figma" | "Text" | "Embed" | "Guidelines" | "Layout" | "Media" | "Tokens" | "Components" | "Assets" | "Data" | "Other";
23767
24235
  id: string;
23768
24236
  name: string;
23769
24237
  description: string;
@@ -23798,7 +24266,7 @@ declare const DTOPageBlockDefinition: z.ZodObject<{
23798
24266
  }, {
23799
24267
  item: {
23800
24268
  properties: {
23801
- type: "Boolean" | "Number" | "Code" | "Image" | "Text" | "URL" | "Token" | "Component" | "FigmaComponent" | "Color" | "Divider" | "Table" | "Markdown" | "RichText" | "MultiRichText" | "RichTextEditor" | "SingleSelect" | "MultiSelect" | "TokenType" | "TokenProperty" | "ComponentProperty" | "Asset" | "AssetProperty" | "FigmaNode" | "EmbedURL" | "CodeSandbox" | "Storybook" | "File";
24269
+ type: "Boolean" | "Number" | "Code" | "Image" | "Storybook" | "Text" | "URL" | "Token" | "Component" | "FigmaComponent" | "Color" | "Divider" | "Table" | "Markdown" | "RichText" | "MultiRichText" | "RichTextEditor" | "SingleSelect" | "MultiSelect" | "TokenType" | "TokenProperty" | "ComponentProperty" | "Asset" | "AssetProperty" | "FigmaNode" | "EmbedURL" | "CodeSandbox" | "File";
23802
24270
  id: string;
23803
24271
  name: string;
23804
24272
  options?: Record<string, any> | undefined;
@@ -23836,7 +24304,7 @@ declare const DTOPageBlockDefinition: z.ZodObject<{
23836
24304
  showBlockHeaderInEditor?: boolean | undefined;
23837
24305
  } | undefined;
23838
24306
  };
23839
- category: "Code" | "Text" | "Embed" | "Guidelines" | "Layout" | "Media" | "Figma" | "Tokens" | "Components" | "Assets" | "Data" | "Other";
24307
+ category: "Code" | "Figma" | "Text" | "Embed" | "Guidelines" | "Layout" | "Media" | "Tokens" | "Components" | "Assets" | "Data" | "Other";
23840
24308
  id: string;
23841
24309
  name: string;
23842
24310
  description: string;
@@ -333584,18 +334052,18 @@ declare const DTOThreadMessageFinalizeInput: z$1.ZodObject<{
333584
334052
  inputTokenCount: z$1.ZodNumber;
333585
334053
  outputTokenCount: z$1.ZodNumber;
333586
334054
  inputCachedTokenCount: z$1.ZodOptional<z$1.ZodNumber>;
333587
- modelName: z$1.ZodEnum<["GPT_4_1", "GPT_4_1_MINI", "GPT_4O", "O1", "GPT_5", "GPT_5_MINI", "GPT_5_NANO"]>;
334055
+ modelName: z$1.ZodEnum<["GPT_4_1", "GPT_4_1_MINI", "GPT_4O", "O1", "GPT_5", "GPT_5_MINI", "GPT_5_NANO", "CLAUDE_OPUS_4_0", "CLAUDE_OPUS_4_1", "CLAUDE_OPUS_4_5", "CLAUDE_SONNET_4_0", "CLAUDE_SONNET_4_5", "CLAUDE_HAIKU_4_5", "CLAUDE_OPUS_4_20250514", "CLAUDE_OPUS_4_1_20250805", "CLAUDE_OPUS_4_5_20251101", "CLAUDE_3_7_SONNET_20250219", "CLAUDE_3_7_SONNET_LATEST", "CLAUDE_SONNET_4_20250514", "CLAUDE_SONNET_4_5_20250929", "CLAUDE_3_HAIKU_20240307", "CLAUDE_3_5_HAIKU_20241022", "CLAUDE_3_5_HAIKU_LATEST", "CLAUDE_HAIKU_4_5_20251001"]>;
333588
334056
  action: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodEnum<["Ask", "Build", "DocumentUpdate"]>>>;
333589
334057
  }, "strip", z$1.ZodTypeAny, {
333590
334058
  inputTokenCount: number;
333591
334059
  outputTokenCount: number;
333592
- modelName: "GPT_4_1" | "GPT_4_1_MINI" | "GPT_4O" | "O1" | "GPT_5" | "GPT_5_MINI" | "GPT_5_NANO";
334060
+ modelName: "GPT_4_1" | "GPT_4_1_MINI" | "GPT_4O" | "O1" | "GPT_5" | "GPT_5_MINI" | "GPT_5_NANO" | "CLAUDE_OPUS_4_0" | "CLAUDE_OPUS_4_1" | "CLAUDE_OPUS_4_5" | "CLAUDE_SONNET_4_0" | "CLAUDE_SONNET_4_5" | "CLAUDE_HAIKU_4_5" | "CLAUDE_OPUS_4_20250514" | "CLAUDE_OPUS_4_1_20250805" | "CLAUDE_OPUS_4_5_20251101" | "CLAUDE_3_7_SONNET_20250219" | "CLAUDE_3_7_SONNET_LATEST" | "CLAUDE_SONNET_4_20250514" | "CLAUDE_SONNET_4_5_20250929" | "CLAUDE_3_HAIKU_20240307" | "CLAUDE_3_5_HAIKU_20241022" | "CLAUDE_3_5_HAIKU_LATEST" | "CLAUDE_HAIKU_4_5_20251001";
333593
334061
  action: "Ask" | "Build" | "DocumentUpdate";
333594
334062
  inputCachedTokenCount?: number | undefined;
333595
334063
  }, {
333596
334064
  inputTokenCount: number;
333597
334065
  outputTokenCount: number;
333598
- modelName: "GPT_4_1" | "GPT_4_1_MINI" | "GPT_4O" | "O1" | "GPT_5" | "GPT_5_MINI" | "GPT_5_NANO";
334066
+ modelName: "GPT_4_1" | "GPT_4_1_MINI" | "GPT_4O" | "O1" | "GPT_5" | "GPT_5_MINI" | "GPT_5_NANO" | "CLAUDE_OPUS_4_0" | "CLAUDE_OPUS_4_1" | "CLAUDE_OPUS_4_5" | "CLAUDE_SONNET_4_0" | "CLAUDE_SONNET_4_5" | "CLAUDE_HAIKU_4_5" | "CLAUDE_OPUS_4_20250514" | "CLAUDE_OPUS_4_1_20250805" | "CLAUDE_OPUS_4_5_20251101" | "CLAUDE_3_7_SONNET_20250219" | "CLAUDE_3_7_SONNET_LATEST" | "CLAUDE_SONNET_4_20250514" | "CLAUDE_SONNET_4_5_20250929" | "CLAUDE_3_HAIKU_20240307" | "CLAUDE_3_5_HAIKU_20241022" | "CLAUDE_3_5_HAIKU_LATEST" | "CLAUDE_HAIKU_4_5_20251001";
333599
334067
  inputCachedTokenCount?: number | undefined;
333600
334068
  action?: "Ask" | "Build" | "DocumentUpdate" | undefined;
333601
334069
  }>>;
@@ -333606,7 +334074,7 @@ declare const DTOThreadMessageFinalizeInput: z$1.ZodObject<{
333606
334074
  creditsSpend?: {
333607
334075
  inputTokenCount: number;
333608
334076
  outputTokenCount: number;
333609
- modelName: "GPT_4_1" | "GPT_4_1_MINI" | "GPT_4O" | "O1" | "GPT_5" | "GPT_5_MINI" | "GPT_5_NANO";
334077
+ modelName: "GPT_4_1" | "GPT_4_1_MINI" | "GPT_4O" | "O1" | "GPT_5" | "GPT_5_MINI" | "GPT_5_NANO" | "CLAUDE_OPUS_4_0" | "CLAUDE_OPUS_4_1" | "CLAUDE_OPUS_4_5" | "CLAUDE_SONNET_4_0" | "CLAUDE_SONNET_4_5" | "CLAUDE_HAIKU_4_5" | "CLAUDE_OPUS_4_20250514" | "CLAUDE_OPUS_4_1_20250805" | "CLAUDE_OPUS_4_5_20251101" | "CLAUDE_3_7_SONNET_20250219" | "CLAUDE_3_7_SONNET_LATEST" | "CLAUDE_SONNET_4_20250514" | "CLAUDE_SONNET_4_5_20250929" | "CLAUDE_3_HAIKU_20240307" | "CLAUDE_3_5_HAIKU_20241022" | "CLAUDE_3_5_HAIKU_LATEST" | "CLAUDE_HAIKU_4_5_20251001";
333610
334078
  action: "Ask" | "Build" | "DocumentUpdate";
333611
334079
  inputCachedTokenCount?: number | undefined;
333612
334080
  } | undefined;
@@ -333617,7 +334085,7 @@ declare const DTOThreadMessageFinalizeInput: z$1.ZodObject<{
333617
334085
  creditsSpend?: {
333618
334086
  inputTokenCount: number;
333619
334087
  outputTokenCount: number;
333620
- modelName: "GPT_4_1" | "GPT_4_1_MINI" | "GPT_4O" | "O1" | "GPT_5" | "GPT_5_MINI" | "GPT_5_NANO";
334088
+ modelName: "GPT_4_1" | "GPT_4_1_MINI" | "GPT_4O" | "O1" | "GPT_5" | "GPT_5_MINI" | "GPT_5_NANO" | "CLAUDE_OPUS_4_0" | "CLAUDE_OPUS_4_1" | "CLAUDE_OPUS_4_5" | "CLAUDE_SONNET_4_0" | "CLAUDE_SONNET_4_5" | "CLAUDE_HAIKU_4_5" | "CLAUDE_OPUS_4_20250514" | "CLAUDE_OPUS_4_1_20250805" | "CLAUDE_OPUS_4_5_20251101" | "CLAUDE_3_7_SONNET_20250219" | "CLAUDE_3_7_SONNET_LATEST" | "CLAUDE_SONNET_4_20250514" | "CLAUDE_SONNET_4_5_20250929" | "CLAUDE_3_HAIKU_20240307" | "CLAUDE_3_5_HAIKU_20241022" | "CLAUDE_3_5_HAIKU_LATEST" | "CLAUDE_HAIKU_4_5_20251001";
333621
334089
  inputCachedTokenCount?: number | undefined;
333622
334090
  action?: "Ask" | "Build" | "DocumentUpdate" | undefined;
333623
334091
  } | undefined;
@@ -339751,7 +340219,7 @@ declare const DTOUserGetResponse: z.ZodObject<{
339751
340219
  }>;
339752
340220
  type DTOUserGetResponse = z.infer<typeof DTOUserGetResponse>;
339753
340221
 
339754
- declare const DTOBillingSupportedModels: z$1.ZodEnum<["GPT_4_1", "GPT_4_1_MINI", "GPT_4O", "O1", "GPT_5", "GPT_5_MINI", "GPT_5_NANO"]>;
340222
+ declare const DTOBillingSupportedModels: z$1.ZodEnum<["GPT_4_1", "GPT_4_1_MINI", "GPT_4O", "O1", "GPT_5", "GPT_5_MINI", "GPT_5_NANO", "CLAUDE_OPUS_4_0", "CLAUDE_OPUS_4_1", "CLAUDE_OPUS_4_5", "CLAUDE_SONNET_4_0", "CLAUDE_SONNET_4_5", "CLAUDE_HAIKU_4_5", "CLAUDE_OPUS_4_20250514", "CLAUDE_OPUS_4_1_20250805", "CLAUDE_OPUS_4_5_20251101", "CLAUDE_3_7_SONNET_20250219", "CLAUDE_3_7_SONNET_LATEST", "CLAUDE_SONNET_4_20250514", "CLAUDE_SONNET_4_5_20250929", "CLAUDE_3_HAIKU_20240307", "CLAUDE_3_5_HAIKU_20241022", "CLAUDE_3_5_HAIKU_LATEST", "CLAUDE_HAIKU_4_5_20251001"]>;
339755
340223
  type DTOBillingSupportedModels = z$1.infer<typeof DTOBillingSupportedModels>;
339756
340224
  declare const DTOBillingCheckoutMode: z$1.ZodEnum<["SubscriptionChange", "CreditsTopUp"]>;
339757
340225
  type DTOBillingCheckoutMode = z$1.infer<typeof DTOBillingCheckoutMode>;
@@ -339781,18 +340249,18 @@ declare const DTOBillingCreditsSpendInput: z$1.ZodObject<{
339781
340249
  inputTokenCount: z$1.ZodNumber;
339782
340250
  outputTokenCount: z$1.ZodNumber;
339783
340251
  inputCachedTokenCount: z$1.ZodOptional<z$1.ZodNumber>;
339784
- modelName: z$1.ZodEnum<["GPT_4_1", "GPT_4_1_MINI", "GPT_4O", "O1", "GPT_5", "GPT_5_MINI", "GPT_5_NANO"]>;
340252
+ modelName: z$1.ZodEnum<["GPT_4_1", "GPT_4_1_MINI", "GPT_4O", "O1", "GPT_5", "GPT_5_MINI", "GPT_5_NANO", "CLAUDE_OPUS_4_0", "CLAUDE_OPUS_4_1", "CLAUDE_OPUS_4_5", "CLAUDE_SONNET_4_0", "CLAUDE_SONNET_4_5", "CLAUDE_HAIKU_4_5", "CLAUDE_OPUS_4_20250514", "CLAUDE_OPUS_4_1_20250805", "CLAUDE_OPUS_4_5_20251101", "CLAUDE_3_7_SONNET_20250219", "CLAUDE_3_7_SONNET_LATEST", "CLAUDE_SONNET_4_20250514", "CLAUDE_SONNET_4_5_20250929", "CLAUDE_3_HAIKU_20240307", "CLAUDE_3_5_HAIKU_20241022", "CLAUDE_3_5_HAIKU_LATEST", "CLAUDE_HAIKU_4_5_20251001"]>;
339785
340253
  action: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodEnum<["Ask", "Build", "DocumentUpdate"]>>>;
339786
340254
  }, "strip", z$1.ZodTypeAny, {
339787
340255
  inputTokenCount: number;
339788
340256
  outputTokenCount: number;
339789
- modelName: "GPT_4_1" | "GPT_4_1_MINI" | "GPT_4O" | "O1" | "GPT_5" | "GPT_5_MINI" | "GPT_5_NANO";
340257
+ modelName: "GPT_4_1" | "GPT_4_1_MINI" | "GPT_4O" | "O1" | "GPT_5" | "GPT_5_MINI" | "GPT_5_NANO" | "CLAUDE_OPUS_4_0" | "CLAUDE_OPUS_4_1" | "CLAUDE_OPUS_4_5" | "CLAUDE_SONNET_4_0" | "CLAUDE_SONNET_4_5" | "CLAUDE_HAIKU_4_5" | "CLAUDE_OPUS_4_20250514" | "CLAUDE_OPUS_4_1_20250805" | "CLAUDE_OPUS_4_5_20251101" | "CLAUDE_3_7_SONNET_20250219" | "CLAUDE_3_7_SONNET_LATEST" | "CLAUDE_SONNET_4_20250514" | "CLAUDE_SONNET_4_5_20250929" | "CLAUDE_3_HAIKU_20240307" | "CLAUDE_3_5_HAIKU_20241022" | "CLAUDE_3_5_HAIKU_LATEST" | "CLAUDE_HAIKU_4_5_20251001";
339790
340258
  action: "Ask" | "Build" | "DocumentUpdate";
339791
340259
  inputCachedTokenCount?: number | undefined;
339792
340260
  }, {
339793
340261
  inputTokenCount: number;
339794
340262
  outputTokenCount: number;
339795
- modelName: "GPT_4_1" | "GPT_4_1_MINI" | "GPT_4O" | "O1" | "GPT_5" | "GPT_5_MINI" | "GPT_5_NANO";
340263
+ modelName: "GPT_4_1" | "GPT_4_1_MINI" | "GPT_4O" | "O1" | "GPT_5" | "GPT_5_MINI" | "GPT_5_NANO" | "CLAUDE_OPUS_4_0" | "CLAUDE_OPUS_4_1" | "CLAUDE_OPUS_4_5" | "CLAUDE_SONNET_4_0" | "CLAUDE_SONNET_4_5" | "CLAUDE_HAIKU_4_5" | "CLAUDE_OPUS_4_20250514" | "CLAUDE_OPUS_4_1_20250805" | "CLAUDE_OPUS_4_5_20251101" | "CLAUDE_3_7_SONNET_20250219" | "CLAUDE_3_7_SONNET_LATEST" | "CLAUDE_SONNET_4_20250514" | "CLAUDE_SONNET_4_5_20250929" | "CLAUDE_3_HAIKU_20240307" | "CLAUDE_3_5_HAIKU_20241022" | "CLAUDE_3_5_HAIKU_LATEST" | "CLAUDE_HAIKU_4_5_20251001";
339796
340264
  inputCachedTokenCount?: number | undefined;
339797
340265
  action?: "Ask" | "Build" | "DocumentUpdate" | undefined;
339798
340266
  }>;
@@ -351054,14 +351522,14 @@ declare const DTOGetBlockDefinitionsOutput: z.ZodObject<{
351054
351522
  options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
351055
351523
  variantOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>>>;
351056
351524
  }, "strip", z.ZodTypeAny, {
351057
- type: "Boolean" | "Number" | "Code" | "Image" | "Text" | "URL" | "Token" | "Component" | "FigmaComponent" | "Color" | "Divider" | "Table" | "Markdown" | "RichText" | "MultiRichText" | "RichTextEditor" | "SingleSelect" | "MultiSelect" | "TokenType" | "TokenProperty" | "ComponentProperty" | "Asset" | "AssetProperty" | "FigmaNode" | "EmbedURL" | "CodeSandbox" | "Storybook" | "File";
351525
+ type: "Boolean" | "Number" | "Code" | "Image" | "Storybook" | "Text" | "URL" | "Token" | "Component" | "FigmaComponent" | "Color" | "Divider" | "Table" | "Markdown" | "RichText" | "MultiRichText" | "RichTextEditor" | "SingleSelect" | "MultiSelect" | "TokenType" | "TokenProperty" | "ComponentProperty" | "Asset" | "AssetProperty" | "FigmaNode" | "EmbedURL" | "CodeSandbox" | "File";
351058
351526
  id: string;
351059
351527
  name: string;
351060
351528
  options?: Record<string, any> | undefined;
351061
351529
  description?: string | undefined;
351062
351530
  variantOptions?: Record<string, Record<string, any>> | undefined;
351063
351531
  }, {
351064
- type: "Boolean" | "Number" | "Code" | "Image" | "Text" | "URL" | "Token" | "Component" | "FigmaComponent" | "Color" | "Divider" | "Table" | "Markdown" | "RichText" | "MultiRichText" | "RichTextEditor" | "SingleSelect" | "MultiSelect" | "TokenType" | "TokenProperty" | "ComponentProperty" | "Asset" | "AssetProperty" | "FigmaNode" | "EmbedURL" | "CodeSandbox" | "Storybook" | "File";
351532
+ type: "Boolean" | "Number" | "Code" | "Image" | "Storybook" | "Text" | "URL" | "Token" | "Component" | "FigmaComponent" | "Color" | "Divider" | "Table" | "Markdown" | "RichText" | "MultiRichText" | "RichTextEditor" | "SingleSelect" | "MultiSelect" | "TokenType" | "TokenProperty" | "ComponentProperty" | "Asset" | "AssetProperty" | "FigmaNode" | "EmbedURL" | "CodeSandbox" | "File";
351065
351533
  id: string;
351066
351534
  name: string;
351067
351535
  options?: Record<string, any> | undefined;
@@ -351157,7 +351625,7 @@ declare const DTOGetBlockDefinitionsOutput: z.ZodObject<{
351157
351625
  defaultVariantKey: z.ZodString;
351158
351626
  }, "strip", z.ZodTypeAny, {
351159
351627
  properties: {
351160
- type: "Boolean" | "Number" | "Code" | "Image" | "Text" | "URL" | "Token" | "Component" | "FigmaComponent" | "Color" | "Divider" | "Table" | "Markdown" | "RichText" | "MultiRichText" | "RichTextEditor" | "SingleSelect" | "MultiSelect" | "TokenType" | "TokenProperty" | "ComponentProperty" | "Asset" | "AssetProperty" | "FigmaNode" | "EmbedURL" | "CodeSandbox" | "Storybook" | "File";
351628
+ type: "Boolean" | "Number" | "Code" | "Image" | "Storybook" | "Text" | "URL" | "Token" | "Component" | "FigmaComponent" | "Color" | "Divider" | "Table" | "Markdown" | "RichText" | "MultiRichText" | "RichTextEditor" | "SingleSelect" | "MultiSelect" | "TokenType" | "TokenProperty" | "ComponentProperty" | "Asset" | "AssetProperty" | "FigmaNode" | "EmbedURL" | "CodeSandbox" | "File";
351161
351629
  id: string;
351162
351630
  name: string;
351163
351631
  options?: Record<string, any> | undefined;
@@ -351196,7 +351664,7 @@ declare const DTOGetBlockDefinitionsOutput: z.ZodObject<{
351196
351664
  } | undefined;
351197
351665
  }, {
351198
351666
  properties: {
351199
- type: "Boolean" | "Number" | "Code" | "Image" | "Text" | "URL" | "Token" | "Component" | "FigmaComponent" | "Color" | "Divider" | "Table" | "Markdown" | "RichText" | "MultiRichText" | "RichTextEditor" | "SingleSelect" | "MultiSelect" | "TokenType" | "TokenProperty" | "ComponentProperty" | "Asset" | "AssetProperty" | "FigmaNode" | "EmbedURL" | "CodeSandbox" | "Storybook" | "File";
351667
+ type: "Boolean" | "Number" | "Code" | "Image" | "Storybook" | "Text" | "URL" | "Token" | "Component" | "FigmaComponent" | "Color" | "Divider" | "Table" | "Markdown" | "RichText" | "MultiRichText" | "RichTextEditor" | "SingleSelect" | "MultiSelect" | "TokenType" | "TokenProperty" | "ComponentProperty" | "Asset" | "AssetProperty" | "FigmaNode" | "EmbedURL" | "CodeSandbox" | "File";
351200
351668
  id: string;
351201
351669
  name: string;
351202
351670
  options?: Record<string, any> | undefined;
@@ -351326,7 +351794,7 @@ declare const DTOGetBlockDefinitionsOutput: z.ZodObject<{
351326
351794
  }, "strip", z.ZodTypeAny, {
351327
351795
  item: {
351328
351796
  properties: {
351329
- type: "Boolean" | "Number" | "Code" | "Image" | "Text" | "URL" | "Token" | "Component" | "FigmaComponent" | "Color" | "Divider" | "Table" | "Markdown" | "RichText" | "MultiRichText" | "RichTextEditor" | "SingleSelect" | "MultiSelect" | "TokenType" | "TokenProperty" | "ComponentProperty" | "Asset" | "AssetProperty" | "FigmaNode" | "EmbedURL" | "CodeSandbox" | "Storybook" | "File";
351797
+ type: "Boolean" | "Number" | "Code" | "Image" | "Storybook" | "Text" | "URL" | "Token" | "Component" | "FigmaComponent" | "Color" | "Divider" | "Table" | "Markdown" | "RichText" | "MultiRichText" | "RichTextEditor" | "SingleSelect" | "MultiSelect" | "TokenType" | "TokenProperty" | "ComponentProperty" | "Asset" | "AssetProperty" | "FigmaNode" | "EmbedURL" | "CodeSandbox" | "File";
351330
351798
  id: string;
351331
351799
  name: string;
351332
351800
  options?: Record<string, any> | undefined;
@@ -351364,7 +351832,7 @@ declare const DTOGetBlockDefinitionsOutput: z.ZodObject<{
351364
351832
  showBlockHeaderInEditor?: boolean | undefined;
351365
351833
  } | undefined;
351366
351834
  };
351367
- category: "Code" | "Text" | "Embed" | "Guidelines" | "Layout" | "Media" | "Figma" | "Tokens" | "Components" | "Assets" | "Data" | "Other";
351835
+ category: "Code" | "Figma" | "Text" | "Embed" | "Guidelines" | "Layout" | "Media" | "Tokens" | "Components" | "Assets" | "Data" | "Other";
351368
351836
  id: string;
351369
351837
  name: string;
351370
351838
  description: string;
@@ -351399,7 +351867,7 @@ declare const DTOGetBlockDefinitionsOutput: z.ZodObject<{
351399
351867
  }, {
351400
351868
  item: {
351401
351869
  properties: {
351402
- type: "Boolean" | "Number" | "Code" | "Image" | "Text" | "URL" | "Token" | "Component" | "FigmaComponent" | "Color" | "Divider" | "Table" | "Markdown" | "RichText" | "MultiRichText" | "RichTextEditor" | "SingleSelect" | "MultiSelect" | "TokenType" | "TokenProperty" | "ComponentProperty" | "Asset" | "AssetProperty" | "FigmaNode" | "EmbedURL" | "CodeSandbox" | "Storybook" | "File";
351870
+ type: "Boolean" | "Number" | "Code" | "Image" | "Storybook" | "Text" | "URL" | "Token" | "Component" | "FigmaComponent" | "Color" | "Divider" | "Table" | "Markdown" | "RichText" | "MultiRichText" | "RichTextEditor" | "SingleSelect" | "MultiSelect" | "TokenType" | "TokenProperty" | "ComponentProperty" | "Asset" | "AssetProperty" | "FigmaNode" | "EmbedURL" | "CodeSandbox" | "File";
351403
351871
  id: string;
351404
351872
  name: string;
351405
351873
  options?: Record<string, any> | undefined;
@@ -351437,7 +351905,7 @@ declare const DTOGetBlockDefinitionsOutput: z.ZodObject<{
351437
351905
  showBlockHeaderInEditor?: boolean | undefined;
351438
351906
  } | undefined;
351439
351907
  };
351440
- category: "Code" | "Text" | "Embed" | "Guidelines" | "Layout" | "Media" | "Figma" | "Tokens" | "Components" | "Assets" | "Data" | "Other";
351908
+ category: "Code" | "Figma" | "Text" | "Embed" | "Guidelines" | "Layout" | "Media" | "Tokens" | "Components" | "Assets" | "Data" | "Other";
351441
351909
  id: string;
351442
351910
  name: string;
351443
351911
  description: string;
@@ -351474,7 +351942,7 @@ declare const DTOGetBlockDefinitionsOutput: z.ZodObject<{
351474
351942
  definitions: {
351475
351943
  item: {
351476
351944
  properties: {
351477
- type: "Boolean" | "Number" | "Code" | "Image" | "Text" | "URL" | "Token" | "Component" | "FigmaComponent" | "Color" | "Divider" | "Table" | "Markdown" | "RichText" | "MultiRichText" | "RichTextEditor" | "SingleSelect" | "MultiSelect" | "TokenType" | "TokenProperty" | "ComponentProperty" | "Asset" | "AssetProperty" | "FigmaNode" | "EmbedURL" | "CodeSandbox" | "Storybook" | "File";
351945
+ type: "Boolean" | "Number" | "Code" | "Image" | "Storybook" | "Text" | "URL" | "Token" | "Component" | "FigmaComponent" | "Color" | "Divider" | "Table" | "Markdown" | "RichText" | "MultiRichText" | "RichTextEditor" | "SingleSelect" | "MultiSelect" | "TokenType" | "TokenProperty" | "ComponentProperty" | "Asset" | "AssetProperty" | "FigmaNode" | "EmbedURL" | "CodeSandbox" | "File";
351478
351946
  id: string;
351479
351947
  name: string;
351480
351948
  options?: Record<string, any> | undefined;
@@ -351512,7 +351980,7 @@ declare const DTOGetBlockDefinitionsOutput: z.ZodObject<{
351512
351980
  showBlockHeaderInEditor?: boolean | undefined;
351513
351981
  } | undefined;
351514
351982
  };
351515
- category: "Code" | "Text" | "Embed" | "Guidelines" | "Layout" | "Media" | "Figma" | "Tokens" | "Components" | "Assets" | "Data" | "Other";
351983
+ category: "Code" | "Figma" | "Text" | "Embed" | "Guidelines" | "Layout" | "Media" | "Tokens" | "Components" | "Assets" | "Data" | "Other";
351516
351984
  id: string;
351517
351985
  name: string;
351518
351986
  description: string;
@@ -351549,7 +352017,7 @@ declare const DTOGetBlockDefinitionsOutput: z.ZodObject<{
351549
352017
  definitions: {
351550
352018
  item: {
351551
352019
  properties: {
351552
- type: "Boolean" | "Number" | "Code" | "Image" | "Text" | "URL" | "Token" | "Component" | "FigmaComponent" | "Color" | "Divider" | "Table" | "Markdown" | "RichText" | "MultiRichText" | "RichTextEditor" | "SingleSelect" | "MultiSelect" | "TokenType" | "TokenProperty" | "ComponentProperty" | "Asset" | "AssetProperty" | "FigmaNode" | "EmbedURL" | "CodeSandbox" | "Storybook" | "File";
352020
+ type: "Boolean" | "Number" | "Code" | "Image" | "Storybook" | "Text" | "URL" | "Token" | "Component" | "FigmaComponent" | "Color" | "Divider" | "Table" | "Markdown" | "RichText" | "MultiRichText" | "RichTextEditor" | "SingleSelect" | "MultiSelect" | "TokenType" | "TokenProperty" | "ComponentProperty" | "Asset" | "AssetProperty" | "FigmaNode" | "EmbedURL" | "CodeSandbox" | "File";
351553
352021
  id: string;
351554
352022
  name: string;
351555
352023
  options?: Record<string, any> | undefined;
@@ -351587,7 +352055,7 @@ declare const DTOGetBlockDefinitionsOutput: z.ZodObject<{
351587
352055
  showBlockHeaderInEditor?: boolean | undefined;
351588
352056
  } | undefined;
351589
352057
  };
351590
- category: "Code" | "Text" | "Embed" | "Guidelines" | "Layout" | "Media" | "Figma" | "Tokens" | "Components" | "Assets" | "Data" | "Other";
352058
+ category: "Code" | "Figma" | "Text" | "Embed" | "Guidelines" | "Layout" | "Media" | "Tokens" | "Components" | "Assets" | "Data" | "Other";
351591
352059
  id: string;
351592
352060
  name: string;
351593
352061
  description: string;
@@ -355006,7 +355474,7 @@ declare class DocumentationEndpoint {
355006
355474
  definitions: {
355007
355475
  item: {
355008
355476
  properties: {
355009
- type: "Boolean" | "Number" | "Code" | "Image" | "Text" | "URL" | "Token" | "Component" | "FigmaComponent" | "Color" | "Divider" | "Table" | "Markdown" | "RichText" | "MultiRichText" | "RichTextEditor" | "SingleSelect" | "MultiSelect" | "TokenType" | "TokenProperty" | "ComponentProperty" | "Asset" | "AssetProperty" | "FigmaNode" | "EmbedURL" | "CodeSandbox" | "Storybook" | "File";
355477
+ type: "Boolean" | "Number" | "Code" | "Image" | "Storybook" | "Text" | "URL" | "Token" | "Component" | "FigmaComponent" | "Color" | "Divider" | "Table" | "Markdown" | "RichText" | "MultiRichText" | "RichTextEditor" | "SingleSelect" | "MultiSelect" | "TokenType" | "TokenProperty" | "ComponentProperty" | "Asset" | "AssetProperty" | "FigmaNode" | "EmbedURL" | "CodeSandbox" | "File";
355010
355478
  id: string;
355011
355479
  name: string;
355012
355480
  options?: Record<string, any> | undefined;
@@ -355044,7 +355512,7 @@ declare class DocumentationEndpoint {
355044
355512
  showBlockHeaderInEditor?: boolean | undefined;
355045
355513
  } | undefined;
355046
355514
  };
355047
- category: "Code" | "Text" | "Embed" | "Guidelines" | "Layout" | "Media" | "Figma" | "Tokens" | "Components" | "Assets" | "Data" | "Other";
355515
+ category: "Code" | "Figma" | "Text" | "Embed" | "Guidelines" | "Layout" | "Media" | "Tokens" | "Components" | "Assets" | "Data" | "Other";
355048
355516
  id: string;
355049
355517
  name: string;
355050
355518
  description: string;
@@ -359118,7 +359586,16 @@ declare class DesignSystemSourcesEndpoint {
359118
359586
  unsupportedStyleValueType?: string | undefined;
359119
359587
  referenceId?: string | undefined;
359120
359588
  }[];
359121
- error?: any;
359589
+ error?: {
359590
+ cloudState: "MissingIntegration" | "Active" | "MissingFileAccess" | "MissingFileOwner";
359591
+ errorType?: "FigmaAPIRateLimit" | "UnknownImportError" | undefined;
359592
+ originalError?: Record<string, any> | undefined;
359593
+ rateLimitDetails?: {
359594
+ retryAfter?: number | undefined;
359595
+ figmaPlanTier?: string | undefined;
359596
+ rateLimitType?: string | undefined;
359597
+ } | undefined;
359598
+ } | undefined;
359122
359599
  versionId?: string | undefined;
359123
359600
  sourceId?: string | undefined;
359124
359601
  brandId?: string | undefined;
@@ -359259,7 +359736,16 @@ declare class DesignSystemSourcesEndpoint {
359259
359736
  unsupportedStyleValueType?: string | undefined;
359260
359737
  referenceId?: string | undefined;
359261
359738
  }[];
359262
- error?: any;
359739
+ error?: {
359740
+ cloudState: "MissingIntegration" | "Active" | "MissingFileAccess" | "MissingFileOwner";
359741
+ errorType?: "FigmaAPIRateLimit" | "UnknownImportError" | undefined;
359742
+ originalError?: Record<string, any> | undefined;
359743
+ rateLimitDetails?: {
359744
+ retryAfter?: number | undefined;
359745
+ figmaPlanTier?: string | undefined;
359746
+ rateLimitType?: string | undefined;
359747
+ } | undefined;
359748
+ } | undefined;
359263
359749
  versionId?: string | undefined;
359264
359750
  sourceId?: string | undefined;
359265
359751
  brandId?: string | undefined;
@@ -359400,7 +359886,16 @@ declare class DesignSystemSourcesEndpoint {
359400
359886
  unsupportedStyleValueType?: string | undefined;
359401
359887
  referenceId?: string | undefined;
359402
359888
  }[];
359403
- error?: any;
359889
+ error?: {
359890
+ cloudState: "MissingIntegration" | "Active" | "MissingFileAccess" | "MissingFileOwner";
359891
+ errorType?: "FigmaAPIRateLimit" | "UnknownImportError" | undefined;
359892
+ originalError?: Record<string, any> | undefined;
359893
+ rateLimitDetails?: {
359894
+ retryAfter?: number | undefined;
359895
+ figmaPlanTier?: string | undefined;
359896
+ rateLimitType?: string | undefined;
359897
+ } | undefined;
359898
+ } | undefined;
359404
359899
  versionId?: string | undefined;
359405
359900
  sourceId?: string | undefined;
359406
359901
  brandId?: string | undefined;
@@ -359542,7 +360037,16 @@ declare class DesignSystemSourcesEndpoint {
359542
360037
  unsupportedStyleValueType?: string | undefined;
359543
360038
  referenceId?: string | undefined;
359544
360039
  }[];
359545
- error?: any;
360040
+ error?: {
360041
+ cloudState: "MissingIntegration" | "Active" | "MissingFileAccess" | "MissingFileOwner";
360042
+ errorType?: "FigmaAPIRateLimit" | "UnknownImportError" | undefined;
360043
+ originalError?: Record<string, any> | undefined;
360044
+ rateLimitDetails?: {
360045
+ retryAfter?: number | undefined;
360046
+ figmaPlanTier?: string | undefined;
360047
+ rateLimitType?: string | undefined;
360048
+ } | undefined;
360049
+ } | undefined;
359546
360050
  versionId?: string | undefined;
359547
360051
  sourceId?: string | undefined;
359548
360052
  brandId?: string | undefined;
@@ -359683,7 +360187,16 @@ declare class DesignSystemSourcesEndpoint {
359683
360187
  unsupportedStyleValueType?: string | undefined;
359684
360188
  referenceId?: string | undefined;
359685
360189
  }[];
359686
- error?: any;
360190
+ error?: {
360191
+ cloudState: "MissingIntegration" | "Active" | "MissingFileAccess" | "MissingFileOwner";
360192
+ errorType?: "FigmaAPIRateLimit" | "UnknownImportError" | undefined;
360193
+ originalError?: Record<string, any> | undefined;
360194
+ rateLimitDetails?: {
360195
+ retryAfter?: number | undefined;
360196
+ figmaPlanTier?: string | undefined;
360197
+ rateLimitType?: string | undefined;
360198
+ } | undefined;
360199
+ } | undefined;
359687
360200
  versionId?: string | undefined;
359688
360201
  sourceId?: string | undefined;
359689
360202
  brandId?: string | undefined;
@@ -373366,7 +373879,7 @@ declare const BlockParsingUtils: {
373366
373879
  };
373367
373880
  declare const BlockDefinitionUtils: {
373368
373881
  firstRichTextProperty(definition: PageBlockDefinition): {
373369
- type: "Boolean" | "Number" | "Code" | "Image" | "Text" | "URL" | "Token" | "Component" | "FigmaComponent" | "Color" | "Divider" | "Table" | "Markdown" | "RichText" | "MultiRichText" | "RichTextEditor" | "SingleSelect" | "MultiSelect" | "TokenType" | "TokenProperty" | "ComponentProperty" | "Asset" | "AssetProperty" | "FigmaNode" | "EmbedURL" | "CodeSandbox" | "Storybook" | "File";
373882
+ type: "Boolean" | "Number" | "Code" | "Image" | "Storybook" | "Text" | "URL" | "Token" | "Component" | "FigmaComponent" | "Color" | "Divider" | "Table" | "Markdown" | "RichText" | "MultiRichText" | "RichTextEditor" | "SingleSelect" | "MultiSelect" | "TokenType" | "TokenProperty" | "ComponentProperty" | "Asset" | "AssetProperty" | "FigmaNode" | "EmbedURL" | "CodeSandbox" | "File";
373370
373883
  id: string;
373371
373884
  name: string;
373372
373885
  options?: Record<string, any> | undefined;
@@ -373374,7 +373887,7 @@ declare const BlockDefinitionUtils: {
373374
373887
  variantOptions?: Record<string, Record<string, any>> | undefined;
373375
373888
  } | undefined;
373376
373889
  firstMultiRichTextProperty(definition: PageBlockDefinition): {
373377
- type: "Boolean" | "Number" | "Code" | "Image" | "Text" | "URL" | "Token" | "Component" | "FigmaComponent" | "Color" | "Divider" | "Table" | "Markdown" | "RichText" | "MultiRichText" | "RichTextEditor" | "SingleSelect" | "MultiSelect" | "TokenType" | "TokenProperty" | "ComponentProperty" | "Asset" | "AssetProperty" | "FigmaNode" | "EmbedURL" | "CodeSandbox" | "Storybook" | "File";
373890
+ type: "Boolean" | "Number" | "Code" | "Image" | "Storybook" | "Text" | "URL" | "Token" | "Component" | "FigmaComponent" | "Color" | "Divider" | "Table" | "Markdown" | "RichText" | "MultiRichText" | "RichTextEditor" | "SingleSelect" | "MultiSelect" | "TokenType" | "TokenProperty" | "ComponentProperty" | "Asset" | "AssetProperty" | "FigmaNode" | "EmbedURL" | "CodeSandbox" | "File";
373378
373891
  id: string;
373379
373892
  name: string;
373380
373893
  options?: Record<string, any> | undefined;
@@ -373382,7 +373895,7 @@ declare const BlockDefinitionUtils: {
373382
373895
  variantOptions?: Record<string, Record<string, any>> | undefined;
373383
373896
  } | undefined;
373384
373897
  firstTableProperty(definition: PageBlockDefinition): {
373385
- type: "Boolean" | "Number" | "Code" | "Image" | "Text" | "URL" | "Token" | "Component" | "FigmaComponent" | "Color" | "Divider" | "Table" | "Markdown" | "RichText" | "MultiRichText" | "RichTextEditor" | "SingleSelect" | "MultiSelect" | "TokenType" | "TokenProperty" | "ComponentProperty" | "Asset" | "AssetProperty" | "FigmaNode" | "EmbedURL" | "CodeSandbox" | "Storybook" | "File";
373898
+ type: "Boolean" | "Number" | "Code" | "Image" | "Storybook" | "Text" | "URL" | "Token" | "Component" | "FigmaComponent" | "Color" | "Divider" | "Table" | "Markdown" | "RichText" | "MultiRichText" | "RichTextEditor" | "SingleSelect" | "MultiSelect" | "TokenType" | "TokenProperty" | "ComponentProperty" | "Asset" | "AssetProperty" | "FigmaNode" | "EmbedURL" | "CodeSandbox" | "File";
373386
373899
  id: string;
373387
373900
  name: string;
373388
373901
  options?: Record<string, any> | undefined;
@@ -373390,7 +373903,7 @@ declare const BlockDefinitionUtils: {
373390
373903
  variantOptions?: Record<string, Record<string, any>> | undefined;
373391
373904
  } | undefined;
373392
373905
  firstEmbedProperty(definition: PageBlockDefinition): {
373393
- type: "Boolean" | "Number" | "Code" | "Image" | "Text" | "URL" | "Token" | "Component" | "FigmaComponent" | "Color" | "Divider" | "Table" | "Markdown" | "RichText" | "MultiRichText" | "RichTextEditor" | "SingleSelect" | "MultiSelect" | "TokenType" | "TokenProperty" | "ComponentProperty" | "Asset" | "AssetProperty" | "FigmaNode" | "EmbedURL" | "CodeSandbox" | "Storybook" | "File";
373906
+ type: "Boolean" | "Number" | "Code" | "Image" | "Storybook" | "Text" | "URL" | "Token" | "Component" | "FigmaComponent" | "Color" | "Divider" | "Table" | "Markdown" | "RichText" | "MultiRichText" | "RichTextEditor" | "SingleSelect" | "MultiSelect" | "TokenType" | "TokenProperty" | "ComponentProperty" | "Asset" | "AssetProperty" | "FigmaNode" | "EmbedURL" | "CodeSandbox" | "File";
373394
373907
  id: string;
373395
373908
  name: string;
373396
373909
  options?: Record<string, any> | undefined;
@@ -373398,7 +373911,7 @@ declare const BlockDefinitionUtils: {
373398
373911
  variantOptions?: Record<string, Record<string, any>> | undefined;
373399
373912
  } | undefined;
373400
373913
  richTextProperty(definition: PageBlockDefinition, propertyKey: string): {
373401
- type: "Boolean" | "Number" | "Code" | "Image" | "Text" | "URL" | "Token" | "Component" | "FigmaComponent" | "Color" | "Divider" | "Table" | "Markdown" | "RichText" | "MultiRichText" | "RichTextEditor" | "SingleSelect" | "MultiSelect" | "TokenType" | "TokenProperty" | "ComponentProperty" | "Asset" | "AssetProperty" | "FigmaNode" | "EmbedURL" | "CodeSandbox" | "Storybook" | "File";
373914
+ type: "Boolean" | "Number" | "Code" | "Image" | "Storybook" | "Text" | "URL" | "Token" | "Component" | "FigmaComponent" | "Color" | "Divider" | "Table" | "Markdown" | "RichText" | "MultiRichText" | "RichTextEditor" | "SingleSelect" | "MultiSelect" | "TokenType" | "TokenProperty" | "ComponentProperty" | "Asset" | "AssetProperty" | "FigmaNode" | "EmbedURL" | "CodeSandbox" | "File";
373402
373915
  id: string;
373403
373916
  name: string;
373404
373917
  options?: Record<string, any> | undefined;
@@ -373406,7 +373919,7 @@ declare const BlockDefinitionUtils: {
373406
373919
  variantOptions?: Record<string, Record<string, any>> | undefined;
373407
373920
  };
373408
373921
  property(definition: PageBlockDefinition, propertyKey: string, expectedPropertyType?: PageBlockDefinitionPropertyType): {
373409
- type: "Boolean" | "Number" | "Code" | "Image" | "Text" | "URL" | "Token" | "Component" | "FigmaComponent" | "Color" | "Divider" | "Table" | "Markdown" | "RichText" | "MultiRichText" | "RichTextEditor" | "SingleSelect" | "MultiSelect" | "TokenType" | "TokenProperty" | "ComponentProperty" | "Asset" | "AssetProperty" | "FigmaNode" | "EmbedURL" | "CodeSandbox" | "Storybook" | "File";
373922
+ type: "Boolean" | "Number" | "Code" | "Image" | "Storybook" | "Text" | "URL" | "Token" | "Component" | "FigmaComponent" | "Color" | "Divider" | "Table" | "Markdown" | "RichText" | "MultiRichText" | "RichTextEditor" | "SingleSelect" | "MultiSelect" | "TokenType" | "TokenProperty" | "ComponentProperty" | "Asset" | "AssetProperty" | "FigmaNode" | "EmbedURL" | "CodeSandbox" | "File";
373410
373923
  id: string;
373411
373924
  name: string;
373412
373925
  options?: Record<string, any> | undefined;