@supernova-studio/model 0.47.7 → 0.47.9

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
@@ -1918,6 +1918,8 @@ declare const UserSession: z.ZodObject<{
1918
1918
  phase: z.ZodOptional<z.ZodString>;
1919
1919
  jobLevel: z.ZodOptional<z.ZodEnum<["Executive", "Manager", "IndividualContributor", "Other"]>>;
1920
1920
  designSystemName: z.ZodOptional<z.ZodString>;
1921
+ defaultDestination: z.ZodOptional<z.ZodString>;
1922
+ figmaUrl: z.ZodOptional<z.ZodString>;
1921
1923
  }, "strip", z.ZodTypeAny, {
1922
1924
  companyName?: string | undefined;
1923
1925
  numberOfPeopleInOrg?: string | undefined;
@@ -1927,6 +1929,8 @@ declare const UserSession: z.ZodObject<{
1927
1929
  phase?: string | undefined;
1928
1930
  jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
1929
1931
  designSystemName?: string | undefined;
1932
+ defaultDestination?: string | undefined;
1933
+ figmaUrl?: string | undefined;
1930
1934
  }, {
1931
1935
  companyName?: string | undefined;
1932
1936
  numberOfPeopleInOrg?: string | undefined;
@@ -1936,6 +1940,8 @@ declare const UserSession: z.ZodObject<{
1936
1940
  phase?: string | undefined;
1937
1941
  jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
1938
1942
  designSystemName?: string | undefined;
1943
+ defaultDestination?: string | undefined;
1944
+ figmaUrl?: string | undefined;
1939
1945
  }>>;
1940
1946
  }, "strip", z.ZodTypeAny, {
1941
1947
  name: string;
@@ -1950,6 +1956,8 @@ declare const UserSession: z.ZodObject<{
1950
1956
  phase?: string | undefined;
1951
1957
  jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
1952
1958
  designSystemName?: string | undefined;
1959
+ defaultDestination?: string | undefined;
1960
+ figmaUrl?: string | undefined;
1953
1961
  } | undefined;
1954
1962
  }, {
1955
1963
  name: string;
@@ -1964,6 +1972,8 @@ declare const UserSession: z.ZodObject<{
1964
1972
  phase?: string | undefined;
1965
1973
  jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
1966
1974
  designSystemName?: string | undefined;
1975
+ defaultDestination?: string | undefined;
1976
+ figmaUrl?: string | undefined;
1967
1977
  } | undefined;
1968
1978
  }>;
1969
1979
  linkedIntegrations: z.ZodOptional<z.ZodObject<{
@@ -2180,6 +2190,8 @@ declare const UserSession: z.ZodObject<{
2180
2190
  phase?: string | undefined;
2181
2191
  jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
2182
2192
  designSystemName?: string | undefined;
2193
+ defaultDestination?: string | undefined;
2194
+ figmaUrl?: string | undefined;
2183
2195
  } | undefined;
2184
2196
  };
2185
2197
  isProtected: boolean;
@@ -2245,6 +2257,8 @@ declare const UserSession: z.ZodObject<{
2245
2257
  phase?: string | undefined;
2246
2258
  jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
2247
2259
  designSystemName?: string | undefined;
2260
+ defaultDestination?: string | undefined;
2261
+ figmaUrl?: string | undefined;
2248
2262
  } | undefined;
2249
2263
  };
2250
2264
  isProtected: boolean;
@@ -2324,6 +2338,8 @@ declare const UserSession: z.ZodObject<{
2324
2338
  phase?: string | undefined;
2325
2339
  jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
2326
2340
  designSystemName?: string | undefined;
2341
+ defaultDestination?: string | undefined;
2342
+ figmaUrl?: string | undefined;
2327
2343
  } | undefined;
2328
2344
  };
2329
2345
  isProtected: boolean;
@@ -2403,6 +2419,8 @@ declare const UserSession: z.ZodObject<{
2403
2419
  phase?: string | undefined;
2404
2420
  jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
2405
2421
  designSystemName?: string | undefined;
2422
+ defaultDestination?: string | undefined;
2423
+ figmaUrl?: string | undefined;
2406
2424
  } | undefined;
2407
2425
  };
2408
2426
  isProtected: boolean;
@@ -3160,6 +3178,7 @@ type DataSourceFigmaImportMetadata = z.infer<typeof DataSourceFigmaImportMetadat
3160
3178
  declare const DataSourceFigmaRemote: z.ZodObject<{
3161
3179
  type: z.ZodLiteral<"Figma">;
3162
3180
  fileId: z.ZodString;
3181
+ preferredCredentialId: z.ZodOptional<z.ZodString>;
3163
3182
  ownerId: z.ZodString;
3164
3183
  ownerName: z.ZodString;
3165
3184
  scope: z.ZodObject<{
@@ -3249,6 +3268,7 @@ declare const DataSourceFigmaRemote: z.ZodObject<{
3249
3268
  ownerId: string;
3250
3269
  ownerName: string;
3251
3270
  requiresSync: boolean;
3271
+ preferredCredentialId?: string | undefined;
3252
3272
  lastImportMetadata?: {
3253
3273
  fileData?: {
3254
3274
  lastUpdatedAt: Date;
@@ -3277,6 +3297,7 @@ declare const DataSourceFigmaRemote: z.ZodObject<{
3277
3297
  fileId: string;
3278
3298
  ownerId: string;
3279
3299
  ownerName: string;
3300
+ preferredCredentialId?: string | undefined;
3280
3301
  requiresSync?: boolean | undefined;
3281
3302
  lastImportMetadata?: {
3282
3303
  fileData?: {
@@ -3355,6 +3376,7 @@ type DataSourceVersion = z.infer<typeof DataSourceVersion>;
3355
3376
  declare const DataSourceRemote: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
3356
3377
  type: z.ZodLiteral<"Figma">;
3357
3378
  fileId: z.ZodString;
3379
+ preferredCredentialId: z.ZodOptional<z.ZodString>;
3358
3380
  ownerId: z.ZodString;
3359
3381
  ownerName: z.ZodString;
3360
3382
  scope: z.ZodObject<{
@@ -3444,6 +3466,7 @@ declare const DataSourceRemote: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
3444
3466
  ownerId: string;
3445
3467
  ownerName: string;
3446
3468
  requiresSync: boolean;
3469
+ preferredCredentialId?: string | undefined;
3447
3470
  lastImportMetadata?: {
3448
3471
  fileData?: {
3449
3472
  lastUpdatedAt: Date;
@@ -3472,6 +3495,7 @@ declare const DataSourceRemote: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
3472
3495
  fileId: string;
3473
3496
  ownerId: string;
3474
3497
  ownerName: string;
3498
+ preferredCredentialId?: string | undefined;
3475
3499
  requiresSync?: boolean | undefined;
3476
3500
  lastImportMetadata?: {
3477
3501
  fileData?: {
@@ -42767,6 +42791,7 @@ declare const ImportedFigmaSourceData: z.ZodObject<{
42767
42791
  figmaRemote: z.ZodObject<{
42768
42792
  type: z.ZodLiteral<"Figma">;
42769
42793
  fileId: z.ZodString;
42794
+ preferredCredentialId: z.ZodOptional<z.ZodString>;
42770
42795
  ownerId: z.ZodString;
42771
42796
  ownerName: z.ZodString;
42772
42797
  scope: z.ZodObject<{
@@ -42791,12 +42816,7 @@ declare const ImportedFigmaSourceData: z.ZodObject<{
42791
42816
  isUnpublishedImportFallbackEnabled: boolean;
42792
42817
  themePersistentId?: string | undefined;
42793
42818
  }>;
42794
- state: z.ZodEnum<["Active", "MissingIntegration", "MissingFileAccess", "MissingFileOwner"]>; /**
42795
- * Describes what to download from each file, this should contain all file id mentioned in
42796
- * importMetadataBySourceId.
42797
- *
42798
- * File id -> file download scope
42799
- */
42819
+ state: z.ZodEnum<["Active", "MissingIntegration", "MissingFileAccess", "MissingFileOwner"]>;
42800
42820
  requiresSync: z.ZodEffects<z.ZodOptional<z.ZodBoolean>, boolean, boolean | undefined>;
42801
42821
  lastImportMetadata: z.ZodOptional<z.ZodObject<{
42802
42822
  fileData: z.ZodOptional<z.ZodObject<{
@@ -42861,6 +42881,7 @@ declare const ImportedFigmaSourceData: z.ZodObject<{
42861
42881
  ownerId: string;
42862
42882
  ownerName: string;
42863
42883
  requiresSync: boolean;
42884
+ preferredCredentialId?: string | undefined;
42864
42885
  lastImportMetadata?: {
42865
42886
  fileData?: {
42866
42887
  lastUpdatedAt: Date;
@@ -42889,6 +42910,7 @@ declare const ImportedFigmaSourceData: z.ZodObject<{
42889
42910
  fileId: string;
42890
42911
  ownerId: string;
42891
42912
  ownerName: string;
42913
+ preferredCredentialId?: string | undefined;
42892
42914
  requiresSync?: boolean | undefined;
42893
42915
  lastImportMetadata?: {
42894
42916
  fileData?: {
@@ -42922,6 +42944,7 @@ declare const ImportedFigmaSourceData: z.ZodObject<{
42922
42944
  ownerId: string;
42923
42945
  ownerName: string;
42924
42946
  requiresSync: boolean;
42947
+ preferredCredentialId?: string | undefined;
42925
42948
  lastImportMetadata?: {
42926
42949
  fileData?: {
42927
42950
  lastUpdatedAt: Date;
@@ -42953,6 +42976,7 @@ declare const ImportedFigmaSourceData: z.ZodObject<{
42953
42976
  fileId: string;
42954
42977
  ownerId: string;
42955
42978
  ownerName: string;
42979
+ preferredCredentialId?: string | undefined;
42956
42980
  requiresSync?: boolean | undefined;
42957
42981
  lastImportMetadata?: {
42958
42982
  fileData?: {
@@ -42996,6 +43020,7 @@ declare const FigmaImportBaseContext: z.ZodObject<{
42996
43020
  figmaRemote: z.ZodObject<{
42997
43021
  type: z.ZodLiteral<"Figma">;
42998
43022
  fileId: z.ZodString;
43023
+ preferredCredentialId: z.ZodOptional<z.ZodString>;
42999
43024
  ownerId: z.ZodString;
43000
43025
  ownerName: z.ZodString;
43001
43026
  scope: z.ZodObject<{
@@ -43020,12 +43045,7 @@ declare const FigmaImportBaseContext: z.ZodObject<{
43020
43045
  isUnpublishedImportFallbackEnabled: boolean;
43021
43046
  themePersistentId?: string | undefined;
43022
43047
  }>;
43023
- state: z.ZodEnum<["Active", "MissingIntegration", "MissingFileAccess", "MissingFileOwner"]>; /**
43024
- * Describes what to download from each file, this should contain all file id mentioned in
43025
- * importMetadataBySourceId.
43026
- *
43027
- * File id -> file download scope
43028
- */
43048
+ state: z.ZodEnum<["Active", "MissingIntegration", "MissingFileAccess", "MissingFileOwner"]>;
43029
43049
  requiresSync: z.ZodEffects<z.ZodOptional<z.ZodBoolean>, boolean, boolean | undefined>;
43030
43050
  lastImportMetadata: z.ZodOptional<z.ZodObject<{
43031
43051
  fileData: z.ZodOptional<z.ZodObject<{
@@ -43090,6 +43110,7 @@ declare const FigmaImportBaseContext: z.ZodObject<{
43090
43110
  ownerId: string;
43091
43111
  ownerName: string;
43092
43112
  requiresSync: boolean;
43113
+ preferredCredentialId?: string | undefined;
43093
43114
  lastImportMetadata?: {
43094
43115
  fileData?: {
43095
43116
  lastUpdatedAt: Date;
@@ -43118,6 +43139,7 @@ declare const FigmaImportBaseContext: z.ZodObject<{
43118
43139
  fileId: string;
43119
43140
  ownerId: string;
43120
43141
  ownerName: string;
43142
+ preferredCredentialId?: string | undefined;
43121
43143
  requiresSync?: boolean | undefined;
43122
43144
  lastImportMetadata?: {
43123
43145
  fileData?: {
@@ -43151,6 +43173,7 @@ declare const FigmaImportBaseContext: z.ZodObject<{
43151
43173
  ownerId: string;
43152
43174
  ownerName: string;
43153
43175
  requiresSync: boolean;
43176
+ preferredCredentialId?: string | undefined;
43154
43177
  lastImportMetadata?: {
43155
43178
  fileData?: {
43156
43179
  lastUpdatedAt: Date;
@@ -43182,6 +43205,7 @@ declare const FigmaImportBaseContext: z.ZodObject<{
43182
43205
  fileId: string;
43183
43206
  ownerId: string;
43184
43207
  ownerName: string;
43208
+ preferredCredentialId?: string | undefined;
43185
43209
  requiresSync?: boolean | undefined;
43186
43210
  lastImportMetadata?: {
43187
43211
  fileData?: {
@@ -43247,6 +43271,7 @@ declare const FigmaImportBaseContext: z.ZodObject<{
43247
43271
  ownerId: string;
43248
43272
  ownerName: string;
43249
43273
  requiresSync: boolean;
43274
+ preferredCredentialId?: string | undefined;
43250
43275
  lastImportMetadata?: {
43251
43276
  fileData?: {
43252
43277
  lastUpdatedAt: Date;
@@ -43292,6 +43317,7 @@ declare const FigmaImportBaseContext: z.ZodObject<{
43292
43317
  fileId: string;
43293
43318
  ownerId: string;
43294
43319
  ownerName: string;
43320
+ preferredCredentialId?: string | undefined;
43295
43321
  requiresSync?: boolean | undefined;
43296
43322
  lastImportMetadata?: {
43297
43323
  fileData?: {
@@ -43333,6 +43359,7 @@ declare const FigmaImportContextWithSourcesState: z.ZodObject<{
43333
43359
  figmaRemote: z.ZodObject<{
43334
43360
  type: z.ZodLiteral<"Figma">;
43335
43361
  fileId: z.ZodString;
43362
+ preferredCredentialId: z.ZodOptional<z.ZodString>;
43336
43363
  ownerId: z.ZodString;
43337
43364
  ownerName: z.ZodString;
43338
43365
  scope: z.ZodObject<{
@@ -43357,12 +43384,7 @@ declare const FigmaImportContextWithSourcesState: z.ZodObject<{
43357
43384
  isUnpublishedImportFallbackEnabled: boolean;
43358
43385
  themePersistentId?: string | undefined;
43359
43386
  }>;
43360
- state: z.ZodEnum<["Active", "MissingIntegration", "MissingFileAccess", "MissingFileOwner"]>; /**
43361
- * Describes what to download from each file, this should contain all file id mentioned in
43362
- * importMetadataBySourceId.
43363
- *
43364
- * File id -> file download scope
43365
- */
43387
+ state: z.ZodEnum<["Active", "MissingIntegration", "MissingFileAccess", "MissingFileOwner"]>;
43366
43388
  requiresSync: z.ZodEffects<z.ZodOptional<z.ZodBoolean>, boolean, boolean | undefined>;
43367
43389
  lastImportMetadata: z.ZodOptional<z.ZodObject<{
43368
43390
  fileData: z.ZodOptional<z.ZodObject<{
@@ -43427,6 +43449,7 @@ declare const FigmaImportContextWithSourcesState: z.ZodObject<{
43427
43449
  ownerId: string;
43428
43450
  ownerName: string;
43429
43451
  requiresSync: boolean;
43452
+ preferredCredentialId?: string | undefined;
43430
43453
  lastImportMetadata?: {
43431
43454
  fileData?: {
43432
43455
  lastUpdatedAt: Date;
@@ -43455,6 +43478,7 @@ declare const FigmaImportContextWithSourcesState: z.ZodObject<{
43455
43478
  fileId: string;
43456
43479
  ownerId: string;
43457
43480
  ownerName: string;
43481
+ preferredCredentialId?: string | undefined;
43458
43482
  requiresSync?: boolean | undefined;
43459
43483
  lastImportMetadata?: {
43460
43484
  fileData?: {
@@ -43488,6 +43512,7 @@ declare const FigmaImportContextWithSourcesState: z.ZodObject<{
43488
43512
  ownerId: string;
43489
43513
  ownerName: string;
43490
43514
  requiresSync: boolean;
43515
+ preferredCredentialId?: string | undefined;
43491
43516
  lastImportMetadata?: {
43492
43517
  fileData?: {
43493
43518
  lastUpdatedAt: Date;
@@ -43519,6 +43544,7 @@ declare const FigmaImportContextWithSourcesState: z.ZodObject<{
43519
43544
  fileId: string;
43520
43545
  ownerId: string;
43521
43546
  ownerName: string;
43547
+ preferredCredentialId?: string | undefined;
43522
43548
  requiresSync?: boolean | undefined;
43523
43549
  lastImportMetadata?: {
43524
43550
  fileData?: {
@@ -43582,6 +43608,7 @@ declare const FigmaImportContextWithSourcesState: z.ZodObject<{
43582
43608
  ownerId: string;
43583
43609
  ownerName: string;
43584
43610
  requiresSync: boolean;
43611
+ preferredCredentialId?: string | undefined;
43585
43612
  lastImportMetadata?: {
43586
43613
  fileData?: {
43587
43614
  lastUpdatedAt: Date;
@@ -43629,6 +43656,7 @@ declare const FigmaImportContextWithSourcesState: z.ZodObject<{
43629
43656
  fileId: string;
43630
43657
  ownerId: string;
43631
43658
  ownerName: string;
43659
+ preferredCredentialId?: string | undefined;
43632
43660
  requiresSync?: boolean | undefined;
43633
43661
  lastImportMetadata?: {
43634
43662
  fileData?: {
@@ -43663,6 +43691,7 @@ declare const ChangedImportedFigmaSourceData: z.ZodObject<{
43663
43691
  figmaRemote: z.ZodObject<{
43664
43692
  type: z.ZodLiteral<"Figma">;
43665
43693
  fileId: z.ZodString;
43694
+ preferredCredentialId: z.ZodOptional<z.ZodString>;
43666
43695
  ownerId: z.ZodString;
43667
43696
  ownerName: z.ZodString;
43668
43697
  scope: z.ZodObject<{
@@ -43687,12 +43716,7 @@ declare const ChangedImportedFigmaSourceData: z.ZodObject<{
43687
43716
  isUnpublishedImportFallbackEnabled: boolean;
43688
43717
  themePersistentId?: string | undefined;
43689
43718
  }>;
43690
- state: z.ZodEnum<["Active", "MissingIntegration", "MissingFileAccess", "MissingFileOwner"]>; /**
43691
- * Describes what to download from each file, this should contain all file id mentioned in
43692
- * importMetadataBySourceId.
43693
- *
43694
- * File id -> file download scope
43695
- */
43719
+ state: z.ZodEnum<["Active", "MissingIntegration", "MissingFileAccess", "MissingFileOwner"]>;
43696
43720
  requiresSync: z.ZodEffects<z.ZodOptional<z.ZodBoolean>, boolean, boolean | undefined>;
43697
43721
  lastImportMetadata: z.ZodOptional<z.ZodObject<{
43698
43722
  fileData: z.ZodOptional<z.ZodObject<{
@@ -43757,6 +43781,7 @@ declare const ChangedImportedFigmaSourceData: z.ZodObject<{
43757
43781
  ownerId: string;
43758
43782
  ownerName: string;
43759
43783
  requiresSync: boolean;
43784
+ preferredCredentialId?: string | undefined;
43760
43785
  lastImportMetadata?: {
43761
43786
  fileData?: {
43762
43787
  lastUpdatedAt: Date;
@@ -43785,6 +43810,7 @@ declare const ChangedImportedFigmaSourceData: z.ZodObject<{
43785
43810
  fileId: string;
43786
43811
  ownerId: string;
43787
43812
  ownerName: string;
43813
+ preferredCredentialId?: string | undefined;
43788
43814
  requiresSync?: boolean | undefined;
43789
43815
  lastImportMetadata?: {
43790
43816
  fileData?: {
@@ -43863,6 +43889,7 @@ declare const ChangedImportedFigmaSourceData: z.ZodObject<{
43863
43889
  ownerId: string;
43864
43890
  ownerName: string;
43865
43891
  requiresSync: boolean;
43892
+ preferredCredentialId?: string | undefined;
43866
43893
  lastImportMetadata?: {
43867
43894
  fileData?: {
43868
43895
  lastUpdatedAt: Date;
@@ -43905,6 +43932,7 @@ declare const ChangedImportedFigmaSourceData: z.ZodObject<{
43905
43932
  fileId: string;
43906
43933
  ownerId: string;
43907
43934
  ownerName: string;
43935
+ preferredCredentialId?: string | undefined;
43908
43936
  requiresSync?: boolean | undefined;
43909
43937
  lastImportMetadata?: {
43910
43938
  fileData?: {
@@ -43948,6 +43976,7 @@ declare const FigmaImportContextWithDownloadScopes: z.ZodObject<{
43948
43976
  figmaRemote: z.ZodObject<{
43949
43977
  type: z.ZodLiteral<"Figma">;
43950
43978
  fileId: z.ZodString;
43979
+ preferredCredentialId: z.ZodOptional<z.ZodString>;
43951
43980
  ownerId: z.ZodString;
43952
43981
  ownerName: z.ZodString;
43953
43982
  scope: z.ZodObject<{
@@ -43972,12 +44001,7 @@ declare const FigmaImportContextWithDownloadScopes: z.ZodObject<{
43972
44001
  isUnpublishedImportFallbackEnabled: boolean;
43973
44002
  themePersistentId?: string | undefined;
43974
44003
  }>;
43975
- state: z.ZodEnum<["Active", "MissingIntegration", "MissingFileAccess", "MissingFileOwner"]>; /**
43976
- * Describes what to download from each file, this should contain all file id mentioned in
43977
- * importMetadataBySourceId.
43978
- *
43979
- * File id -> file download scope
43980
- */
44004
+ state: z.ZodEnum<["Active", "MissingIntegration", "MissingFileAccess", "MissingFileOwner"]>;
43981
44005
  requiresSync: z.ZodEffects<z.ZodOptional<z.ZodBoolean>, boolean, boolean | undefined>;
43982
44006
  lastImportMetadata: z.ZodOptional<z.ZodObject<{
43983
44007
  fileData: z.ZodOptional<z.ZodObject<{
@@ -44042,6 +44066,7 @@ declare const FigmaImportContextWithDownloadScopes: z.ZodObject<{
44042
44066
  ownerId: string;
44043
44067
  ownerName: string;
44044
44068
  requiresSync: boolean;
44069
+ preferredCredentialId?: string | undefined;
44045
44070
  lastImportMetadata?: {
44046
44071
  fileData?: {
44047
44072
  lastUpdatedAt: Date;
@@ -44070,6 +44095,7 @@ declare const FigmaImportContextWithDownloadScopes: z.ZodObject<{
44070
44095
  fileId: string;
44071
44096
  ownerId: string;
44072
44097
  ownerName: string;
44098
+ preferredCredentialId?: string | undefined;
44073
44099
  requiresSync?: boolean | undefined;
44074
44100
  lastImportMetadata?: {
44075
44101
  fileData?: {
@@ -44103,6 +44129,7 @@ declare const FigmaImportContextWithDownloadScopes: z.ZodObject<{
44103
44129
  ownerId: string;
44104
44130
  ownerName: string;
44105
44131
  requiresSync: boolean;
44132
+ preferredCredentialId?: string | undefined;
44106
44133
  lastImportMetadata?: {
44107
44134
  fileData?: {
44108
44135
  lastUpdatedAt: Date;
@@ -44134,6 +44161,7 @@ declare const FigmaImportContextWithDownloadScopes: z.ZodObject<{
44134
44161
  fileId: string;
44135
44162
  ownerId: string;
44136
44163
  ownerName: string;
44164
+ preferredCredentialId?: string | undefined;
44137
44165
  requiresSync?: boolean | undefined;
44138
44166
  lastImportMetadata?: {
44139
44167
  fileData?: {
@@ -44202,6 +44230,7 @@ declare const FigmaImportContextWithDownloadScopes: z.ZodObject<{
44202
44230
  figmaRemote: z.ZodObject<{
44203
44231
  type: z.ZodLiteral<"Figma">;
44204
44232
  fileId: z.ZodString;
44233
+ preferredCredentialId: z.ZodOptional<z.ZodString>;
44205
44234
  ownerId: z.ZodString;
44206
44235
  ownerName: z.ZodString;
44207
44236
  scope: z.ZodObject<{
@@ -44226,12 +44255,7 @@ declare const FigmaImportContextWithDownloadScopes: z.ZodObject<{
44226
44255
  isUnpublishedImportFallbackEnabled: boolean;
44227
44256
  themePersistentId?: string | undefined;
44228
44257
  }>;
44229
- state: z.ZodEnum<["Active", "MissingIntegration", "MissingFileAccess", "MissingFileOwner"]>; /**
44230
- * Describes what to download from each file, this should contain all file id mentioned in
44231
- * importMetadataBySourceId.
44232
- *
44233
- * File id -> file download scope
44234
- */
44258
+ state: z.ZodEnum<["Active", "MissingIntegration", "MissingFileAccess", "MissingFileOwner"]>;
44235
44259
  requiresSync: z.ZodEffects<z.ZodOptional<z.ZodBoolean>, boolean, boolean | undefined>;
44236
44260
  lastImportMetadata: z.ZodOptional<z.ZodObject<{
44237
44261
  fileData: z.ZodOptional<z.ZodObject<{
@@ -44296,6 +44320,7 @@ declare const FigmaImportContextWithDownloadScopes: z.ZodObject<{
44296
44320
  ownerId: string;
44297
44321
  ownerName: string;
44298
44322
  requiresSync: boolean;
44323
+ preferredCredentialId?: string | undefined;
44299
44324
  lastImportMetadata?: {
44300
44325
  fileData?: {
44301
44326
  lastUpdatedAt: Date;
@@ -44324,6 +44349,7 @@ declare const FigmaImportContextWithDownloadScopes: z.ZodObject<{
44324
44349
  fileId: string;
44325
44350
  ownerId: string;
44326
44351
  ownerName: string;
44352
+ preferredCredentialId?: string | undefined;
44327
44353
  requiresSync?: boolean | undefined;
44328
44354
  lastImportMetadata?: {
44329
44355
  fileData?: {
@@ -44402,6 +44428,7 @@ declare const FigmaImportContextWithDownloadScopes: z.ZodObject<{
44402
44428
  ownerId: string;
44403
44429
  ownerName: string;
44404
44430
  requiresSync: boolean;
44431
+ preferredCredentialId?: string | undefined;
44405
44432
  lastImportMetadata?: {
44406
44433
  fileData?: {
44407
44434
  lastUpdatedAt: Date;
@@ -44444,6 +44471,7 @@ declare const FigmaImportContextWithDownloadScopes: z.ZodObject<{
44444
44471
  fileId: string;
44445
44472
  ownerId: string;
44446
44473
  ownerName: string;
44474
+ preferredCredentialId?: string | undefined;
44447
44475
  requiresSync?: boolean | undefined;
44448
44476
  lastImportMetadata?: {
44449
44477
  fileData?: {
@@ -44494,6 +44522,7 @@ declare const FigmaImportContextWithDownloadScopes: z.ZodObject<{
44494
44522
  ownerId: string;
44495
44523
  ownerName: string;
44496
44524
  requiresSync: boolean;
44525
+ preferredCredentialId?: string | undefined;
44497
44526
  lastImportMetadata?: {
44498
44527
  fileData?: {
44499
44528
  lastUpdatedAt: Date;
@@ -44545,6 +44574,7 @@ declare const FigmaImportContextWithDownloadScopes: z.ZodObject<{
44545
44574
  ownerId: string;
44546
44575
  ownerName: string;
44547
44576
  requiresSync: boolean;
44577
+ preferredCredentialId?: string | undefined;
44548
44578
  lastImportMetadata?: {
44549
44579
  fileData?: {
44550
44580
  lastUpdatedAt: Date;
@@ -44593,6 +44623,7 @@ declare const FigmaImportContextWithDownloadScopes: z.ZodObject<{
44593
44623
  fileId: string;
44594
44624
  ownerId: string;
44595
44625
  ownerName: string;
44626
+ preferredCredentialId?: string | undefined;
44596
44627
  requiresSync?: boolean | undefined;
44597
44628
  lastImportMetadata?: {
44598
44629
  fileData?: {
@@ -44634,6 +44665,7 @@ declare const FigmaImportContextWithDownloadScopes: z.ZodObject<{
44634
44665
  fileId: string;
44635
44666
  ownerId: string;
44636
44667
  ownerName: string;
44668
+ preferredCredentialId?: string | undefined;
44637
44669
  requiresSync?: boolean | undefined;
44638
44670
  lastImportMetadata?: {
44639
44671
  fileData?: {
@@ -114698,6 +114730,8 @@ declare const UserOnboarding: z.ZodObject<{
114698
114730
  phase: z.ZodOptional<z.ZodString>;
114699
114731
  jobLevel: z.ZodOptional<z.ZodEnum<["Executive", "Manager", "IndividualContributor", "Other"]>>;
114700
114732
  designSystemName: z.ZodOptional<z.ZodString>;
114733
+ defaultDestination: z.ZodOptional<z.ZodString>;
114734
+ figmaUrl: z.ZodOptional<z.ZodString>;
114701
114735
  }, "strip", z.ZodTypeAny, {
114702
114736
  companyName?: string | undefined;
114703
114737
  numberOfPeopleInOrg?: string | undefined;
@@ -114707,6 +114741,8 @@ declare const UserOnboarding: z.ZodObject<{
114707
114741
  phase?: string | undefined;
114708
114742
  jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
114709
114743
  designSystemName?: string | undefined;
114744
+ defaultDestination?: string | undefined;
114745
+ figmaUrl?: string | undefined;
114710
114746
  }, {
114711
114747
  companyName?: string | undefined;
114712
114748
  numberOfPeopleInOrg?: string | undefined;
@@ -114716,6 +114752,8 @@ declare const UserOnboarding: z.ZodObject<{
114716
114752
  phase?: string | undefined;
114717
114753
  jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
114718
114754
  designSystemName?: string | undefined;
114755
+ defaultDestination?: string | undefined;
114756
+ figmaUrl?: string | undefined;
114719
114757
  }>;
114720
114758
  type UserOnboarding = z.infer<typeof UserOnboarding>;
114721
114759
  declare const UserProfileUpdate: z.ZodObject<Omit<{
@@ -114731,6 +114769,8 @@ declare const UserProfileUpdate: z.ZodObject<Omit<{
114731
114769
  phase: z.ZodOptional<z.ZodString>;
114732
114770
  jobLevel: z.ZodOptional<z.ZodEnum<["Executive", "Manager", "IndividualContributor", "Other"]>>;
114733
114771
  designSystemName: z.ZodOptional<z.ZodString>;
114772
+ defaultDestination: z.ZodOptional<z.ZodString>;
114773
+ figmaUrl: z.ZodOptional<z.ZodString>;
114734
114774
  }, "strip", z.ZodTypeAny, {
114735
114775
  companyName?: string | undefined;
114736
114776
  numberOfPeopleInOrg?: string | undefined;
@@ -114740,6 +114780,8 @@ declare const UserProfileUpdate: z.ZodObject<Omit<{
114740
114780
  phase?: string | undefined;
114741
114781
  jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
114742
114782
  designSystemName?: string | undefined;
114783
+ defaultDestination?: string | undefined;
114784
+ figmaUrl?: string | undefined;
114743
114785
  }, {
114744
114786
  companyName?: string | undefined;
114745
114787
  numberOfPeopleInOrg?: string | undefined;
@@ -114749,6 +114791,8 @@ declare const UserProfileUpdate: z.ZodObject<Omit<{
114749
114791
  phase?: string | undefined;
114750
114792
  jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
114751
114793
  designSystemName?: string | undefined;
114794
+ defaultDestination?: string | undefined;
114795
+ figmaUrl?: string | undefined;
114752
114796
  }>>>;
114753
114797
  }, "avatar">, "strip", z.ZodTypeAny, {
114754
114798
  name?: string | undefined;
@@ -114762,6 +114806,8 @@ declare const UserProfileUpdate: z.ZodObject<Omit<{
114762
114806
  phase?: string | undefined;
114763
114807
  jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
114764
114808
  designSystemName?: string | undefined;
114809
+ defaultDestination?: string | undefined;
114810
+ figmaUrl?: string | undefined;
114765
114811
  } | undefined;
114766
114812
  }, {
114767
114813
  name?: string | undefined;
@@ -114775,6 +114821,8 @@ declare const UserProfileUpdate: z.ZodObject<Omit<{
114775
114821
  phase?: string | undefined;
114776
114822
  jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
114777
114823
  designSystemName?: string | undefined;
114824
+ defaultDestination?: string | undefined;
114825
+ figmaUrl?: string | undefined;
114778
114826
  } | undefined;
114779
114827
  }>;
114780
114828
  type UserProfileUpdate = z.infer<typeof UserProfileUpdate>;
@@ -114791,6 +114839,8 @@ declare const UserProfile: z.ZodObject<{
114791
114839
  phase: z.ZodOptional<z.ZodString>;
114792
114840
  jobLevel: z.ZodOptional<z.ZodEnum<["Executive", "Manager", "IndividualContributor", "Other"]>>;
114793
114841
  designSystemName: z.ZodOptional<z.ZodString>;
114842
+ defaultDestination: z.ZodOptional<z.ZodString>;
114843
+ figmaUrl: z.ZodOptional<z.ZodString>;
114794
114844
  }, "strip", z.ZodTypeAny, {
114795
114845
  companyName?: string | undefined;
114796
114846
  numberOfPeopleInOrg?: string | undefined;
@@ -114800,6 +114850,8 @@ declare const UserProfile: z.ZodObject<{
114800
114850
  phase?: string | undefined;
114801
114851
  jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
114802
114852
  designSystemName?: string | undefined;
114853
+ defaultDestination?: string | undefined;
114854
+ figmaUrl?: string | undefined;
114803
114855
  }, {
114804
114856
  companyName?: string | undefined;
114805
114857
  numberOfPeopleInOrg?: string | undefined;
@@ -114809,6 +114861,8 @@ declare const UserProfile: z.ZodObject<{
114809
114861
  phase?: string | undefined;
114810
114862
  jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
114811
114863
  designSystemName?: string | undefined;
114864
+ defaultDestination?: string | undefined;
114865
+ figmaUrl?: string | undefined;
114812
114866
  }>>;
114813
114867
  }, "strip", z.ZodTypeAny, {
114814
114868
  name: string;
@@ -114823,6 +114877,8 @@ declare const UserProfile: z.ZodObject<{
114823
114877
  phase?: string | undefined;
114824
114878
  jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
114825
114879
  designSystemName?: string | undefined;
114880
+ defaultDestination?: string | undefined;
114881
+ figmaUrl?: string | undefined;
114826
114882
  } | undefined;
114827
114883
  }, {
114828
114884
  name: string;
@@ -114837,6 +114893,8 @@ declare const UserProfile: z.ZodObject<{
114837
114893
  phase?: string | undefined;
114838
114894
  jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
114839
114895
  designSystemName?: string | undefined;
114896
+ defaultDestination?: string | undefined;
114897
+ figmaUrl?: string | undefined;
114840
114898
  } | undefined;
114841
114899
  }>;
114842
114900
  type UserProfile = z.infer<typeof UserProfile>;
@@ -114872,6 +114930,8 @@ declare const User: z.ZodObject<{
114872
114930
  phase: z.ZodOptional<z.ZodString>;
114873
114931
  jobLevel: z.ZodOptional<z.ZodEnum<["Executive", "Manager", "IndividualContributor", "Other"]>>;
114874
114932
  designSystemName: z.ZodOptional<z.ZodString>;
114933
+ defaultDestination: z.ZodOptional<z.ZodString>;
114934
+ figmaUrl: z.ZodOptional<z.ZodString>;
114875
114935
  }, "strip", z.ZodTypeAny, {
114876
114936
  companyName?: string | undefined;
114877
114937
  numberOfPeopleInOrg?: string | undefined;
@@ -114881,6 +114941,8 @@ declare const User: z.ZodObject<{
114881
114941
  phase?: string | undefined;
114882
114942
  jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
114883
114943
  designSystemName?: string | undefined;
114944
+ defaultDestination?: string | undefined;
114945
+ figmaUrl?: string | undefined;
114884
114946
  }, {
114885
114947
  companyName?: string | undefined;
114886
114948
  numberOfPeopleInOrg?: string | undefined;
@@ -114890,6 +114952,8 @@ declare const User: z.ZodObject<{
114890
114952
  phase?: string | undefined;
114891
114953
  jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
114892
114954
  designSystemName?: string | undefined;
114955
+ defaultDestination?: string | undefined;
114956
+ figmaUrl?: string | undefined;
114893
114957
  }>>;
114894
114958
  }, "strip", z.ZodTypeAny, {
114895
114959
  name: string;
@@ -114904,6 +114968,8 @@ declare const User: z.ZodObject<{
114904
114968
  phase?: string | undefined;
114905
114969
  jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
114906
114970
  designSystemName?: string | undefined;
114971
+ defaultDestination?: string | undefined;
114972
+ figmaUrl?: string | undefined;
114907
114973
  } | undefined;
114908
114974
  }, {
114909
114975
  name: string;
@@ -114918,6 +114984,8 @@ declare const User: z.ZodObject<{
114918
114984
  phase?: string | undefined;
114919
114985
  jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
114920
114986
  designSystemName?: string | undefined;
114987
+ defaultDestination?: string | undefined;
114988
+ figmaUrl?: string | undefined;
114921
114989
  } | undefined;
114922
114990
  }>;
114923
114991
  linkedIntegrations: z.ZodOptional<z.ZodObject<{
@@ -115134,6 +115202,8 @@ declare const User: z.ZodObject<{
115134
115202
  phase?: string | undefined;
115135
115203
  jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
115136
115204
  designSystemName?: string | undefined;
115205
+ defaultDestination?: string | undefined;
115206
+ figmaUrl?: string | undefined;
115137
115207
  } | undefined;
115138
115208
  };
115139
115209
  isProtected: boolean;
@@ -115199,6 +115269,8 @@ declare const User: z.ZodObject<{
115199
115269
  phase?: string | undefined;
115200
115270
  jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
115201
115271
  designSystemName?: string | undefined;
115272
+ defaultDestination?: string | undefined;
115273
+ figmaUrl?: string | undefined;
115202
115274
  } | undefined;
115203
115275
  };
115204
115276
  isProtected: boolean;