@supernova-studio/model 0.54.30 → 0.54.32

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
@@ -160927,6 +160927,311 @@ declare const UserLinkedIntegrations: z.ZodObject<{
160927
160927
  }>;
160928
160928
  type UserLinkedIntegrations = z.infer<typeof UserLinkedIntegrations>;
160929
160929
 
160930
+ declare const UserAnalyticsCleanupSchedule: z.ZodObject<{
160931
+ userId: z.ZodString;
160932
+ createdAt: z.ZodDate;
160933
+ deleteAt: z.ZodDate;
160934
+ }, "strip", z.ZodTypeAny, {
160935
+ createdAt: Date;
160936
+ deleteAt: Date;
160937
+ userId: string;
160938
+ }, {
160939
+ createdAt: Date;
160940
+ deleteAt: Date;
160941
+ userId: string;
160942
+ }>;
160943
+ type UserAnalyticsCleanupSchedule = z.infer<typeof UserAnalyticsCleanupSchedule>;
160944
+ declare const UserAnalyticsCleanupScheduleDbInput: z.ZodObject<Omit<{
160945
+ userId: z.ZodString;
160946
+ createdAt: z.ZodDate;
160947
+ deleteAt: z.ZodDate;
160948
+ }, "createdAt">, "strip", z.ZodTypeAny, {
160949
+ deleteAt: Date;
160950
+ userId: string;
160951
+ }, {
160952
+ deleteAt: Date;
160953
+ userId: string;
160954
+ }>;
160955
+ type UserAnalyticsCleanupScheduleDbInput = z.infer<typeof UserAnalyticsCleanupScheduleDbInput>;
160956
+
160957
+ declare const UserIdentity: z.ZodObject<{
160958
+ id: z.ZodString;
160959
+ userId: z.ZodString;
160960
+ }, "strip", z.ZodTypeAny, {
160961
+ id: string;
160962
+ userId: string;
160963
+ }, {
160964
+ id: string;
160965
+ userId: string;
160966
+ }>;
160967
+ type UserIdentity = z.infer<typeof UserIdentity>;
160968
+
160969
+ declare const UserMinified: z.ZodObject<{
160970
+ id: z.ZodString;
160971
+ name: z.ZodString;
160972
+ email: z.ZodString;
160973
+ avatar: z.ZodOptional<z.ZodString>;
160974
+ }, "strip", z.ZodTypeAny, {
160975
+ id: string;
160976
+ name: string;
160977
+ email: string;
160978
+ avatar?: string | undefined;
160979
+ }, {
160980
+ id: string;
160981
+ name: string;
160982
+ email: string;
160983
+ avatar?: string | undefined;
160984
+ }>;
160985
+ type UserMinified = z.infer<typeof UserMinified>;
160986
+
160987
+ declare const LiveblocksNotificationSettings: z.ZodObject<{
160988
+ sendCommentNotificationEmails: z.ZodBoolean;
160989
+ }, "strip", z.ZodTypeAny, {
160990
+ sendCommentNotificationEmails: boolean;
160991
+ }, {
160992
+ sendCommentNotificationEmails: boolean;
160993
+ }>;
160994
+ type LiveblocksNotificationSettings = z.infer<typeof LiveblocksNotificationSettings>;
160995
+ declare const UserNotificationSettings: z.ZodObject<{
160996
+ liveblocksNotificationSettings: z.ZodObject<{
160997
+ sendCommentNotificationEmails: z.ZodBoolean;
160998
+ }, "strip", z.ZodTypeAny, {
160999
+ sendCommentNotificationEmails: boolean;
161000
+ }, {
161001
+ sendCommentNotificationEmails: boolean;
161002
+ }>;
161003
+ }, "strip", z.ZodTypeAny, {
161004
+ liveblocksNotificationSettings: {
161005
+ sendCommentNotificationEmails: boolean;
161006
+ };
161007
+ }, {
161008
+ liveblocksNotificationSettings: {
161009
+ sendCommentNotificationEmails: boolean;
161010
+ };
161011
+ }>;
161012
+ type UserNotificationSettings = z.infer<typeof UserNotificationSettings>;
161013
+ declare const defaultNotificationSettings: UserNotificationSettings;
161014
+
161015
+ declare const UserOnboardingDepartment: z.ZodEnum<["Design", "Engineering", "Product", "Brand", "Other"]>;
161016
+ type UserOnboardingDepartment = z.infer<typeof UserOnboardingDepartment>;
161017
+ declare const UserOnboardingJobLevel: z.ZodEnum<["Executive", "Manager", "IndividualContributor", "Other"]>;
161018
+ type UserOnboardingJobLevel = z.infer<typeof UserOnboardingJobLevel>;
161019
+ declare const UserOnboarding: z.ZodObject<{
161020
+ companyName: z.ZodOptional<z.ZodString>;
161021
+ numberOfPeopleInOrg: z.ZodOptional<z.ZodString>;
161022
+ numberOfPeopleInDesignTeam: z.ZodOptional<z.ZodString>;
161023
+ department: z.ZodOptional<z.ZodEnum<["Design", "Engineering", "Product", "Brand", "Other"]>>;
161024
+ jobTitle: z.ZodOptional<z.ZodString>;
161025
+ phase: z.ZodOptional<z.ZodString>;
161026
+ jobLevel: z.ZodOptional<z.ZodEnum<["Executive", "Manager", "IndividualContributor", "Other"]>>;
161027
+ designSystemName: z.ZodOptional<z.ZodString>;
161028
+ defaultDestination: z.ZodOptional<z.ZodString>;
161029
+ figmaUrl: z.ZodOptional<z.ZodString>;
161030
+ isPageDraftOnboardingFinished: z.ZodOptional<z.ZodBoolean>;
161031
+ isApprovalsOnboardingFinished: z.ZodOptional<z.ZodBoolean>;
161032
+ }, "strip", z.ZodTypeAny, {
161033
+ companyName?: string | undefined;
161034
+ numberOfPeopleInOrg?: string | undefined;
161035
+ numberOfPeopleInDesignTeam?: string | undefined;
161036
+ department?: "Other" | "Design" | "Engineering" | "Product" | "Brand" | undefined;
161037
+ jobTitle?: string | undefined;
161038
+ phase?: string | undefined;
161039
+ jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
161040
+ designSystemName?: string | undefined;
161041
+ defaultDestination?: string | undefined;
161042
+ figmaUrl?: string | undefined;
161043
+ isPageDraftOnboardingFinished?: boolean | undefined;
161044
+ isApprovalsOnboardingFinished?: boolean | undefined;
161045
+ }, {
161046
+ companyName?: string | undefined;
161047
+ numberOfPeopleInOrg?: string | undefined;
161048
+ numberOfPeopleInDesignTeam?: string | undefined;
161049
+ department?: "Other" | "Design" | "Engineering" | "Product" | "Brand" | undefined;
161050
+ jobTitle?: string | undefined;
161051
+ phase?: string | undefined;
161052
+ jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
161053
+ designSystemName?: string | undefined;
161054
+ defaultDestination?: string | undefined;
161055
+ figmaUrl?: string | undefined;
161056
+ isPageDraftOnboardingFinished?: boolean | undefined;
161057
+ isApprovalsOnboardingFinished?: boolean | undefined;
161058
+ }>;
161059
+ type UserOnboarding = z.infer<typeof UserOnboarding>;
161060
+ declare const UserProfile: z.ZodObject<{
161061
+ name: z.ZodString;
161062
+ avatar: z.ZodOptional<z.ZodString>;
161063
+ nickname: z.ZodOptional<z.ZodString>;
161064
+ onboarding: z.ZodOptional<z.ZodObject<{
161065
+ companyName: z.ZodOptional<z.ZodString>;
161066
+ numberOfPeopleInOrg: z.ZodOptional<z.ZodString>;
161067
+ numberOfPeopleInDesignTeam: z.ZodOptional<z.ZodString>;
161068
+ department: z.ZodOptional<z.ZodEnum<["Design", "Engineering", "Product", "Brand", "Other"]>>;
161069
+ jobTitle: z.ZodOptional<z.ZodString>;
161070
+ phase: z.ZodOptional<z.ZodString>;
161071
+ jobLevel: z.ZodOptional<z.ZodEnum<["Executive", "Manager", "IndividualContributor", "Other"]>>;
161072
+ designSystemName: z.ZodOptional<z.ZodString>;
161073
+ defaultDestination: z.ZodOptional<z.ZodString>;
161074
+ figmaUrl: z.ZodOptional<z.ZodString>;
161075
+ isPageDraftOnboardingFinished: z.ZodOptional<z.ZodBoolean>;
161076
+ isApprovalsOnboardingFinished: z.ZodOptional<z.ZodBoolean>;
161077
+ }, "strip", z.ZodTypeAny, {
161078
+ companyName?: string | undefined;
161079
+ numberOfPeopleInOrg?: string | undefined;
161080
+ numberOfPeopleInDesignTeam?: string | undefined;
161081
+ department?: "Other" | "Design" | "Engineering" | "Product" | "Brand" | undefined;
161082
+ jobTitle?: string | undefined;
161083
+ phase?: string | undefined;
161084
+ jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
161085
+ designSystemName?: string | undefined;
161086
+ defaultDestination?: string | undefined;
161087
+ figmaUrl?: string | undefined;
161088
+ isPageDraftOnboardingFinished?: boolean | undefined;
161089
+ isApprovalsOnboardingFinished?: boolean | undefined;
161090
+ }, {
161091
+ companyName?: string | undefined;
161092
+ numberOfPeopleInOrg?: string | undefined;
161093
+ numberOfPeopleInDesignTeam?: string | undefined;
161094
+ department?: "Other" | "Design" | "Engineering" | "Product" | "Brand" | undefined;
161095
+ jobTitle?: string | undefined;
161096
+ phase?: string | undefined;
161097
+ jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
161098
+ designSystemName?: string | undefined;
161099
+ defaultDestination?: string | undefined;
161100
+ figmaUrl?: string | undefined;
161101
+ isPageDraftOnboardingFinished?: boolean | undefined;
161102
+ isApprovalsOnboardingFinished?: boolean | undefined;
161103
+ }>>;
161104
+ }, "strip", z.ZodTypeAny, {
161105
+ name: string;
161106
+ avatar?: string | undefined;
161107
+ nickname?: string | undefined;
161108
+ onboarding?: {
161109
+ companyName?: string | undefined;
161110
+ numberOfPeopleInOrg?: string | undefined;
161111
+ numberOfPeopleInDesignTeam?: string | undefined;
161112
+ department?: "Other" | "Design" | "Engineering" | "Product" | "Brand" | undefined;
161113
+ jobTitle?: string | undefined;
161114
+ phase?: string | undefined;
161115
+ jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
161116
+ designSystemName?: string | undefined;
161117
+ defaultDestination?: string | undefined;
161118
+ figmaUrl?: string | undefined;
161119
+ isPageDraftOnboardingFinished?: boolean | undefined;
161120
+ isApprovalsOnboardingFinished?: boolean | undefined;
161121
+ } | undefined;
161122
+ }, {
161123
+ name: string;
161124
+ avatar?: string | undefined;
161125
+ nickname?: string | undefined;
161126
+ onboarding?: {
161127
+ companyName?: string | undefined;
161128
+ numberOfPeopleInOrg?: string | undefined;
161129
+ numberOfPeopleInDesignTeam?: string | undefined;
161130
+ department?: "Other" | "Design" | "Engineering" | "Product" | "Brand" | undefined;
161131
+ jobTitle?: string | undefined;
161132
+ phase?: string | undefined;
161133
+ jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
161134
+ designSystemName?: string | undefined;
161135
+ defaultDestination?: string | undefined;
161136
+ figmaUrl?: string | undefined;
161137
+ isPageDraftOnboardingFinished?: boolean | undefined;
161138
+ isApprovalsOnboardingFinished?: boolean | undefined;
161139
+ } | undefined;
161140
+ }>;
161141
+ type UserProfile = z.infer<typeof UserProfile>;
161142
+ declare const UserProfileUpdate: z.ZodObject<Omit<{
161143
+ name: z.ZodOptional<z.ZodString>;
161144
+ avatar: z.ZodOptional<z.ZodOptional<z.ZodString>>;
161145
+ nickname: z.ZodOptional<z.ZodOptional<z.ZodString>>;
161146
+ onboarding: z.ZodOptional<z.ZodOptional<z.ZodObject<{
161147
+ companyName: z.ZodOptional<z.ZodString>;
161148
+ numberOfPeopleInOrg: z.ZodOptional<z.ZodString>;
161149
+ numberOfPeopleInDesignTeam: z.ZodOptional<z.ZodString>;
161150
+ department: z.ZodOptional<z.ZodEnum<["Design", "Engineering", "Product", "Brand", "Other"]>>;
161151
+ jobTitle: z.ZodOptional<z.ZodString>;
161152
+ phase: z.ZodOptional<z.ZodString>;
161153
+ jobLevel: z.ZodOptional<z.ZodEnum<["Executive", "Manager", "IndividualContributor", "Other"]>>;
161154
+ designSystemName: z.ZodOptional<z.ZodString>;
161155
+ defaultDestination: z.ZodOptional<z.ZodString>;
161156
+ figmaUrl: z.ZodOptional<z.ZodString>;
161157
+ isPageDraftOnboardingFinished: z.ZodOptional<z.ZodBoolean>;
161158
+ isApprovalsOnboardingFinished: z.ZodOptional<z.ZodBoolean>;
161159
+ }, "strip", z.ZodTypeAny, {
161160
+ companyName?: string | undefined;
161161
+ numberOfPeopleInOrg?: string | undefined;
161162
+ numberOfPeopleInDesignTeam?: string | undefined;
161163
+ department?: "Other" | "Design" | "Engineering" | "Product" | "Brand" | undefined;
161164
+ jobTitle?: string | undefined;
161165
+ phase?: string | undefined;
161166
+ jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
161167
+ designSystemName?: string | undefined;
161168
+ defaultDestination?: string | undefined;
161169
+ figmaUrl?: string | undefined;
161170
+ isPageDraftOnboardingFinished?: boolean | undefined;
161171
+ isApprovalsOnboardingFinished?: boolean | undefined;
161172
+ }, {
161173
+ companyName?: string | undefined;
161174
+ numberOfPeopleInOrg?: string | undefined;
161175
+ numberOfPeopleInDesignTeam?: string | undefined;
161176
+ department?: "Other" | "Design" | "Engineering" | "Product" | "Brand" | undefined;
161177
+ jobTitle?: string | undefined;
161178
+ phase?: string | undefined;
161179
+ jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
161180
+ designSystemName?: string | undefined;
161181
+ defaultDestination?: string | undefined;
161182
+ figmaUrl?: string | undefined;
161183
+ isPageDraftOnboardingFinished?: boolean | undefined;
161184
+ isApprovalsOnboardingFinished?: boolean | undefined;
161185
+ }>>>;
161186
+ }, "avatar">, "strip", z.ZodTypeAny, {
161187
+ name?: string | undefined;
161188
+ nickname?: string | undefined;
161189
+ onboarding?: {
161190
+ companyName?: string | undefined;
161191
+ numberOfPeopleInOrg?: string | undefined;
161192
+ numberOfPeopleInDesignTeam?: string | undefined;
161193
+ department?: "Other" | "Design" | "Engineering" | "Product" | "Brand" | undefined;
161194
+ jobTitle?: string | undefined;
161195
+ phase?: string | undefined;
161196
+ jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
161197
+ designSystemName?: string | undefined;
161198
+ defaultDestination?: string | undefined;
161199
+ figmaUrl?: string | undefined;
161200
+ isPageDraftOnboardingFinished?: boolean | undefined;
161201
+ isApprovalsOnboardingFinished?: boolean | undefined;
161202
+ } | undefined;
161203
+ }, {
161204
+ name?: string | undefined;
161205
+ nickname?: string | undefined;
161206
+ onboarding?: {
161207
+ companyName?: string | undefined;
161208
+ numberOfPeopleInOrg?: string | undefined;
161209
+ numberOfPeopleInDesignTeam?: string | undefined;
161210
+ department?: "Other" | "Design" | "Engineering" | "Product" | "Brand" | undefined;
161211
+ jobTitle?: string | undefined;
161212
+ phase?: string | undefined;
161213
+ jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
161214
+ designSystemName?: string | undefined;
161215
+ defaultDestination?: string | undefined;
161216
+ figmaUrl?: string | undefined;
161217
+ isPageDraftOnboardingFinished?: boolean | undefined;
161218
+ isApprovalsOnboardingFinished?: boolean | undefined;
161219
+ } | undefined;
161220
+ }>;
161221
+ type UserProfileUpdate = z.infer<typeof UserProfileUpdate>;
161222
+
161223
+ declare const UserTest: z.ZodObject<{
161224
+ id: z.ZodString;
161225
+ email: z.ZodString;
161226
+ }, "strip", z.ZodTypeAny, {
161227
+ id: string;
161228
+ email: string;
161229
+ }, {
161230
+ id: string;
161231
+ email: string;
161232
+ }>;
161233
+ type UserTest = z.infer<typeof UserTest>;
161234
+
160930
161235
  declare const UserSource: z.ZodEnum<["SignUp", "Invite", "SSO"]>;
160931
161236
  type UserSource = z.infer<typeof UserSource>;
160932
161237
  declare const User: z.ZodObject<{
@@ -161125,217 +161430,10 @@ declare const User: z.ZodObject<{
161125
161430
  handle?: string | undefined;
161126
161431
  avatarUrl?: string | undefined;
161127
161432
  authType?: "OAuth2" | "PAT" | undefined;
161128
- customUrl?: string | undefined;
161129
- }>, "many">>;
161130
- }, "strip", z.ZodTypeAny, {
161131
- azure?: {
161132
- id: string;
161133
- email?: string | undefined;
161134
- handle?: string | undefined;
161135
- avatarUrl?: string | undefined;
161136
- authType?: "OAuth2" | "PAT" | undefined;
161137
- customUrl?: string | undefined;
161138
- }[] | undefined;
161139
- github?: {
161140
- id: string;
161141
- email?: string | undefined;
161142
- handle?: string | undefined;
161143
- avatarUrl?: string | undefined;
161144
- authType?: "OAuth2" | "PAT" | undefined;
161145
- customUrl?: string | undefined;
161146
- }[] | undefined;
161147
- gitlab?: {
161148
- id: string;
161149
- email?: string | undefined;
161150
- handle?: string | undefined;
161151
- avatarUrl?: string | undefined;
161152
- authType?: "OAuth2" | "PAT" | undefined;
161153
- customUrl?: string | undefined;
161154
- }[] | undefined;
161155
- bitbucket?: {
161156
- id: string;
161157
- email?: string | undefined;
161158
- handle?: string | undefined;
161159
- avatarUrl?: string | undefined;
161160
- authType?: "OAuth2" | "PAT" | undefined;
161161
- customUrl?: string | undefined;
161162
- }[] | undefined;
161163
- figma?: {
161164
- id: string;
161165
- email?: string | undefined;
161166
- handle?: string | undefined;
161167
- avatarUrl?: string | undefined;
161168
- authType?: "OAuth2" | "PAT" | undefined;
161169
- customUrl?: string | undefined;
161170
- } | undefined;
161171
- }, {
161172
- azure?: {
161173
- id: string;
161174
- email?: string | undefined;
161175
- handle?: string | undefined;
161176
- avatarUrl?: string | undefined;
161177
- authType?: "OAuth2" | "PAT" | undefined;
161178
- customUrl?: string | undefined;
161179
- }[] | undefined;
161180
- github?: {
161181
- id: string;
161182
- email?: string | undefined;
161183
- handle?: string | undefined;
161184
- avatarUrl?: string | undefined;
161185
- authType?: "OAuth2" | "PAT" | undefined;
161186
- customUrl?: string | undefined;
161187
- }[] | undefined;
161188
- gitlab?: {
161189
- id: string;
161190
- email?: string | undefined;
161191
- handle?: string | undefined;
161192
- avatarUrl?: string | undefined;
161193
- authType?: "OAuth2" | "PAT" | undefined;
161194
- customUrl?: string | undefined;
161195
- }[] | undefined;
161196
- bitbucket?: {
161197
- id: string;
161198
- email?: string | undefined;
161199
- handle?: string | undefined;
161200
- avatarUrl?: string | undefined;
161201
- authType?: "OAuth2" | "PAT" | undefined;
161202
- customUrl?: string | undefined;
161203
- }[] | undefined;
161204
- figma?: {
161205
- id: string;
161206
- email?: string | undefined;
161207
- handle?: string | undefined;
161208
- avatarUrl?: string | undefined;
161209
- authType?: "OAuth2" | "PAT" | undefined;
161210
- customUrl?: string | undefined;
161211
- } | undefined;
161212
- }>>;
161213
- loggedOutAt: z.ZodOptional<z.ZodDate>;
161214
- isProtected: z.ZodBoolean;
161215
- source: z.ZodOptional<z.ZodEnum<["SignUp", "Invite", "SSO"]>>;
161216
- }, "strip", z.ZodTypeAny, {
161217
- id: string;
161218
- createdAt: Date;
161219
- email: string;
161220
- profile: {
161221
- name: string;
161222
- avatar?: string | undefined;
161223
- nickname?: string | undefined;
161224
- onboarding?: {
161225
- companyName?: string | undefined;
161226
- numberOfPeopleInOrg?: string | undefined;
161227
- numberOfPeopleInDesignTeam?: string | undefined;
161228
- department?: "Other" | "Design" | "Engineering" | "Product" | "Brand" | undefined;
161229
- jobTitle?: string | undefined;
161230
- phase?: string | undefined;
161231
- jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
161232
- designSystemName?: string | undefined;
161233
- defaultDestination?: string | undefined;
161234
- figmaUrl?: string | undefined;
161235
- isPageDraftOnboardingFinished?: boolean | undefined;
161236
- isApprovalsOnboardingFinished?: boolean | undefined;
161237
- } | undefined;
161238
- };
161239
- emailVerified: boolean;
161240
- isProtected: boolean;
161241
- source?: "SignUp" | "Invite" | "SSO" | undefined;
161242
- trialExpiresAt?: Date | undefined;
161243
- linkedIntegrations?: {
161244
- azure?: {
161245
- id: string;
161246
- email?: string | undefined;
161247
- handle?: string | undefined;
161248
- avatarUrl?: string | undefined;
161249
- authType?: "OAuth2" | "PAT" | undefined;
161250
- customUrl?: string | undefined;
161251
- }[] | undefined;
161252
- github?: {
161253
- id: string;
161254
- email?: string | undefined;
161255
- handle?: string | undefined;
161256
- avatarUrl?: string | undefined;
161257
- authType?: "OAuth2" | "PAT" | undefined;
161258
- customUrl?: string | undefined;
161259
- }[] | undefined;
161260
- gitlab?: {
161261
- id: string;
161262
- email?: string | undefined;
161263
- handle?: string | undefined;
161264
- avatarUrl?: string | undefined;
161265
- authType?: "OAuth2" | "PAT" | undefined;
161266
- customUrl?: string | undefined;
161267
- }[] | undefined;
161268
- bitbucket?: {
161269
- id: string;
161270
- email?: string | undefined;
161271
- handle?: string | undefined;
161272
- avatarUrl?: string | undefined;
161273
- authType?: "OAuth2" | "PAT" | undefined;
161274
- customUrl?: string | undefined;
161275
- }[] | undefined;
161276
- figma?: {
161277
- id: string;
161278
- email?: string | undefined;
161279
- handle?: string | undefined;
161280
- avatarUrl?: string | undefined;
161281
- authType?: "OAuth2" | "PAT" | undefined;
161282
- customUrl?: string | undefined;
161283
- } | undefined;
161284
- } | undefined;
161285
- loggedOutAt?: Date | undefined;
161286
- }, {
161287
- id: string;
161288
- createdAt: Date;
161289
- email: string;
161290
- profile: {
161291
- name: string;
161292
- avatar?: string | undefined;
161293
- nickname?: string | undefined;
161294
- onboarding?: {
161295
- companyName?: string | undefined;
161296
- numberOfPeopleInOrg?: string | undefined;
161297
- numberOfPeopleInDesignTeam?: string | undefined;
161298
- department?: "Other" | "Design" | "Engineering" | "Product" | "Brand" | undefined;
161299
- jobTitle?: string | undefined;
161300
- phase?: string | undefined;
161301
- jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
161302
- designSystemName?: string | undefined;
161303
- defaultDestination?: string | undefined;
161304
- figmaUrl?: string | undefined;
161305
- isPageDraftOnboardingFinished?: boolean | undefined;
161306
- isApprovalsOnboardingFinished?: boolean | undefined;
161307
- } | undefined;
161308
- };
161309
- emailVerified: boolean;
161310
- isProtected: boolean;
161311
- source?: "SignUp" | "Invite" | "SSO" | undefined;
161312
- trialExpiresAt?: Date | undefined;
161313
- linkedIntegrations?: {
161314
- azure?: {
161315
- id: string;
161316
- email?: string | undefined;
161317
- handle?: string | undefined;
161318
- avatarUrl?: string | undefined;
161319
- authType?: "OAuth2" | "PAT" | undefined;
161320
- customUrl?: string | undefined;
161321
- }[] | undefined;
161322
- github?: {
161323
- id: string;
161324
- email?: string | undefined;
161325
- handle?: string | undefined;
161326
- avatarUrl?: string | undefined;
161327
- authType?: "OAuth2" | "PAT" | undefined;
161328
- customUrl?: string | undefined;
161329
- }[] | undefined;
161330
- gitlab?: {
161331
- id: string;
161332
- email?: string | undefined;
161333
- handle?: string | undefined;
161334
- avatarUrl?: string | undefined;
161335
- authType?: "OAuth2" | "PAT" | undefined;
161336
- customUrl?: string | undefined;
161337
- }[] | undefined;
161338
- bitbucket?: {
161433
+ customUrl?: string | undefined;
161434
+ }>, "many">>;
161435
+ }, "strip", z.ZodTypeAny, {
161436
+ azure?: {
161339
161437
  id: string;
161340
161438
  email?: string | undefined;
161341
161439
  handle?: string | undefined;
@@ -161343,323 +161441,225 @@ declare const User: z.ZodObject<{
161343
161441
  authType?: "OAuth2" | "PAT" | undefined;
161344
161442
  customUrl?: string | undefined;
161345
161443
  }[] | undefined;
161346
- figma?: {
161444
+ github?: {
161347
161445
  id: string;
161348
161446
  email?: string | undefined;
161349
161447
  handle?: string | undefined;
161350
161448
  avatarUrl?: string | undefined;
161351
161449
  authType?: "OAuth2" | "PAT" | undefined;
161352
161450
  customUrl?: string | undefined;
161353
- } | undefined;
161354
- } | undefined;
161355
- loggedOutAt?: Date | undefined;
161356
- }>;
161357
- type User = z.infer<typeof User>;
161358
-
161359
- declare const UserAnalyticsCleanupSchedule: z.ZodObject<{
161360
- userId: z.ZodString;
161361
- createdAt: z.ZodDate;
161362
- deleteAt: z.ZodDate;
161363
- }, "strip", z.ZodTypeAny, {
161364
- createdAt: Date;
161365
- deleteAt: Date;
161366
- userId: string;
161367
- }, {
161368
- createdAt: Date;
161369
- deleteAt: Date;
161370
- userId: string;
161371
- }>;
161372
- type UserAnalyticsCleanupSchedule = z.infer<typeof UserAnalyticsCleanupSchedule>;
161373
- declare const UserAnalyticsCleanupScheduleDbInput: z.ZodObject<Omit<{
161374
- userId: z.ZodString;
161375
- createdAt: z.ZodDate;
161376
- deleteAt: z.ZodDate;
161377
- }, "createdAt">, "strip", z.ZodTypeAny, {
161378
- deleteAt: Date;
161379
- userId: string;
161380
- }, {
161381
- deleteAt: Date;
161382
- userId: string;
161383
- }>;
161384
- type UserAnalyticsCleanupScheduleDbInput = z.infer<typeof UserAnalyticsCleanupScheduleDbInput>;
161385
-
161386
- declare const UserIdentity: z.ZodObject<{
161387
- id: z.ZodString;
161388
- userId: z.ZodString;
161389
- }, "strip", z.ZodTypeAny, {
161390
- id: string;
161391
- userId: string;
161392
- }, {
161393
- id: string;
161394
- userId: string;
161395
- }>;
161396
- type UserIdentity = z.infer<typeof UserIdentity>;
161397
-
161398
- declare const UserMinified: z.ZodObject<{
161399
- id: z.ZodString;
161400
- name: z.ZodString;
161401
- email: z.ZodString;
161402
- avatar: z.ZodOptional<z.ZodString>;
161403
- }, "strip", z.ZodTypeAny, {
161404
- id: string;
161405
- name: string;
161406
- email: string;
161407
- avatar?: string | undefined;
161408
- }, {
161409
- id: string;
161410
- name: string;
161411
- email: string;
161412
- avatar?: string | undefined;
161413
- }>;
161414
- type UserMinified = z.infer<typeof UserMinified>;
161415
-
161416
- declare const LiveblocksNotificationSettings: z.ZodObject<{
161417
- sendCommentNotificationEmails: z.ZodBoolean;
161418
- }, "strip", z.ZodTypeAny, {
161419
- sendCommentNotificationEmails: boolean;
161420
- }, {
161421
- sendCommentNotificationEmails: boolean;
161422
- }>;
161423
- type LiveblocksNotificationSettings = z.infer<typeof LiveblocksNotificationSettings>;
161424
- declare const UserNotificationSettings: z.ZodObject<{
161425
- liveblocksNotificationSettings: z.ZodObject<{
161426
- sendCommentNotificationEmails: z.ZodBoolean;
161427
- }, "strip", z.ZodTypeAny, {
161428
- sendCommentNotificationEmails: boolean;
161429
- }, {
161430
- sendCommentNotificationEmails: boolean;
161431
- }>;
161432
- }, "strip", z.ZodTypeAny, {
161433
- liveblocksNotificationSettings: {
161434
- sendCommentNotificationEmails: boolean;
161435
- };
161436
- }, {
161437
- liveblocksNotificationSettings: {
161438
- sendCommentNotificationEmails: boolean;
161439
- };
161440
- }>;
161441
- type UserNotificationSettings = z.infer<typeof UserNotificationSettings>;
161442
- declare const defaultNotificationSettings: UserNotificationSettings;
161443
-
161444
- declare const UserOnboardingDepartment: z.ZodEnum<["Design", "Engineering", "Product", "Brand", "Other"]>;
161445
- type UserOnboardingDepartment = z.infer<typeof UserOnboardingDepartment>;
161446
- declare const UserOnboardingJobLevel: z.ZodEnum<["Executive", "Manager", "IndividualContributor", "Other"]>;
161447
- type UserOnboardingJobLevel = z.infer<typeof UserOnboardingJobLevel>;
161448
- declare const UserOnboarding: z.ZodObject<{
161449
- companyName: z.ZodOptional<z.ZodString>;
161450
- numberOfPeopleInOrg: z.ZodOptional<z.ZodString>;
161451
- numberOfPeopleInDesignTeam: z.ZodOptional<z.ZodString>;
161452
- department: z.ZodOptional<z.ZodEnum<["Design", "Engineering", "Product", "Brand", "Other"]>>;
161453
- jobTitle: z.ZodOptional<z.ZodString>;
161454
- phase: z.ZodOptional<z.ZodString>;
161455
- jobLevel: z.ZodOptional<z.ZodEnum<["Executive", "Manager", "IndividualContributor", "Other"]>>;
161456
- designSystemName: z.ZodOptional<z.ZodString>;
161457
- defaultDestination: z.ZodOptional<z.ZodString>;
161458
- figmaUrl: z.ZodOptional<z.ZodString>;
161459
- isPageDraftOnboardingFinished: z.ZodOptional<z.ZodBoolean>;
161460
- isApprovalsOnboardingFinished: z.ZodOptional<z.ZodBoolean>;
161461
- }, "strip", z.ZodTypeAny, {
161462
- companyName?: string | undefined;
161463
- numberOfPeopleInOrg?: string | undefined;
161464
- numberOfPeopleInDesignTeam?: string | undefined;
161465
- department?: "Other" | "Design" | "Engineering" | "Product" | "Brand" | undefined;
161466
- jobTitle?: string | undefined;
161467
- phase?: string | undefined;
161468
- jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
161469
- designSystemName?: string | undefined;
161470
- defaultDestination?: string | undefined;
161471
- figmaUrl?: string | undefined;
161472
- isPageDraftOnboardingFinished?: boolean | undefined;
161473
- isApprovalsOnboardingFinished?: boolean | undefined;
161474
- }, {
161475
- companyName?: string | undefined;
161476
- numberOfPeopleInOrg?: string | undefined;
161477
- numberOfPeopleInDesignTeam?: string | undefined;
161478
- department?: "Other" | "Design" | "Engineering" | "Product" | "Brand" | undefined;
161479
- jobTitle?: string | undefined;
161480
- phase?: string | undefined;
161481
- jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
161482
- designSystemName?: string | undefined;
161483
- defaultDestination?: string | undefined;
161484
- figmaUrl?: string | undefined;
161485
- isPageDraftOnboardingFinished?: boolean | undefined;
161486
- isApprovalsOnboardingFinished?: boolean | undefined;
161487
- }>;
161488
- type UserOnboarding = z.infer<typeof UserOnboarding>;
161489
- declare const UserProfile: z.ZodObject<{
161490
- name: z.ZodString;
161491
- avatar: z.ZodOptional<z.ZodString>;
161492
- nickname: z.ZodOptional<z.ZodString>;
161493
- onboarding: z.ZodOptional<z.ZodObject<{
161494
- companyName: z.ZodOptional<z.ZodString>;
161495
- numberOfPeopleInOrg: z.ZodOptional<z.ZodString>;
161496
- numberOfPeopleInDesignTeam: z.ZodOptional<z.ZodString>;
161497
- department: z.ZodOptional<z.ZodEnum<["Design", "Engineering", "Product", "Brand", "Other"]>>;
161498
- jobTitle: z.ZodOptional<z.ZodString>;
161499
- phase: z.ZodOptional<z.ZodString>;
161500
- jobLevel: z.ZodOptional<z.ZodEnum<["Executive", "Manager", "IndividualContributor", "Other"]>>;
161501
- designSystemName: z.ZodOptional<z.ZodString>;
161502
- defaultDestination: z.ZodOptional<z.ZodString>;
161503
- figmaUrl: z.ZodOptional<z.ZodString>;
161504
- isPageDraftOnboardingFinished: z.ZodOptional<z.ZodBoolean>;
161505
- isApprovalsOnboardingFinished: z.ZodOptional<z.ZodBoolean>;
161506
- }, "strip", z.ZodTypeAny, {
161507
- companyName?: string | undefined;
161508
- numberOfPeopleInOrg?: string | undefined;
161509
- numberOfPeopleInDesignTeam?: string | undefined;
161510
- department?: "Other" | "Design" | "Engineering" | "Product" | "Brand" | undefined;
161511
- jobTitle?: string | undefined;
161512
- phase?: string | undefined;
161513
- jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
161514
- designSystemName?: string | undefined;
161515
- defaultDestination?: string | undefined;
161516
- figmaUrl?: string | undefined;
161517
- isPageDraftOnboardingFinished?: boolean | undefined;
161518
- isApprovalsOnboardingFinished?: boolean | undefined;
161519
- }, {
161520
- companyName?: string | undefined;
161521
- numberOfPeopleInOrg?: string | undefined;
161522
- numberOfPeopleInDesignTeam?: string | undefined;
161523
- department?: "Other" | "Design" | "Engineering" | "Product" | "Brand" | undefined;
161524
- jobTitle?: string | undefined;
161525
- phase?: string | undefined;
161526
- jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
161527
- designSystemName?: string | undefined;
161528
- defaultDestination?: string | undefined;
161529
- figmaUrl?: string | undefined;
161530
- isPageDraftOnboardingFinished?: boolean | undefined;
161531
- isApprovalsOnboardingFinished?: boolean | undefined;
161532
- }>>;
161533
- }, "strip", z.ZodTypeAny, {
161534
- name: string;
161535
- avatar?: string | undefined;
161536
- nickname?: string | undefined;
161537
- onboarding?: {
161538
- companyName?: string | undefined;
161539
- numberOfPeopleInOrg?: string | undefined;
161540
- numberOfPeopleInDesignTeam?: string | undefined;
161541
- department?: "Other" | "Design" | "Engineering" | "Product" | "Brand" | undefined;
161542
- jobTitle?: string | undefined;
161543
- phase?: string | undefined;
161544
- jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
161545
- designSystemName?: string | undefined;
161546
- defaultDestination?: string | undefined;
161547
- figmaUrl?: string | undefined;
161548
- isPageDraftOnboardingFinished?: boolean | undefined;
161549
- isApprovalsOnboardingFinished?: boolean | undefined;
161550
- } | undefined;
161551
- }, {
161552
- name: string;
161553
- avatar?: string | undefined;
161554
- nickname?: string | undefined;
161555
- onboarding?: {
161556
- companyName?: string | undefined;
161557
- numberOfPeopleInOrg?: string | undefined;
161558
- numberOfPeopleInDesignTeam?: string | undefined;
161559
- department?: "Other" | "Design" | "Engineering" | "Product" | "Brand" | undefined;
161560
- jobTitle?: string | undefined;
161561
- phase?: string | undefined;
161562
- jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
161563
- designSystemName?: string | undefined;
161564
- defaultDestination?: string | undefined;
161565
- figmaUrl?: string | undefined;
161566
- isPageDraftOnboardingFinished?: boolean | undefined;
161567
- isApprovalsOnboardingFinished?: boolean | undefined;
161568
- } | undefined;
161569
- }>;
161570
- type UserProfile = z.infer<typeof UserProfile>;
161571
- declare const UserProfileUpdate: z.ZodObject<Omit<{
161572
- name: z.ZodOptional<z.ZodString>;
161573
- avatar: z.ZodOptional<z.ZodOptional<z.ZodString>>;
161574
- nickname: z.ZodOptional<z.ZodOptional<z.ZodString>>;
161575
- onboarding: z.ZodOptional<z.ZodOptional<z.ZodObject<{
161576
- companyName: z.ZodOptional<z.ZodString>;
161577
- numberOfPeopleInOrg: z.ZodOptional<z.ZodString>;
161578
- numberOfPeopleInDesignTeam: z.ZodOptional<z.ZodString>;
161579
- department: z.ZodOptional<z.ZodEnum<["Design", "Engineering", "Product", "Brand", "Other"]>>;
161580
- jobTitle: z.ZodOptional<z.ZodString>;
161581
- phase: z.ZodOptional<z.ZodString>;
161582
- jobLevel: z.ZodOptional<z.ZodEnum<["Executive", "Manager", "IndividualContributor", "Other"]>>;
161583
- designSystemName: z.ZodOptional<z.ZodString>;
161584
- defaultDestination: z.ZodOptional<z.ZodString>;
161585
- figmaUrl: z.ZodOptional<z.ZodString>;
161586
- isPageDraftOnboardingFinished: z.ZodOptional<z.ZodBoolean>;
161587
- isApprovalsOnboardingFinished: z.ZodOptional<z.ZodBoolean>;
161588
- }, "strip", z.ZodTypeAny, {
161589
- companyName?: string | undefined;
161590
- numberOfPeopleInOrg?: string | undefined;
161591
- numberOfPeopleInDesignTeam?: string | undefined;
161592
- department?: "Other" | "Design" | "Engineering" | "Product" | "Brand" | undefined;
161593
- jobTitle?: string | undefined;
161594
- phase?: string | undefined;
161595
- jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
161596
- designSystemName?: string | undefined;
161597
- defaultDestination?: string | undefined;
161598
- figmaUrl?: string | undefined;
161599
- isPageDraftOnboardingFinished?: boolean | undefined;
161600
- isApprovalsOnboardingFinished?: boolean | undefined;
161451
+ }[] | undefined;
161452
+ gitlab?: {
161453
+ id: string;
161454
+ email?: string | undefined;
161455
+ handle?: string | undefined;
161456
+ avatarUrl?: string | undefined;
161457
+ authType?: "OAuth2" | "PAT" | undefined;
161458
+ customUrl?: string | undefined;
161459
+ }[] | undefined;
161460
+ bitbucket?: {
161461
+ id: string;
161462
+ email?: string | undefined;
161463
+ handle?: string | undefined;
161464
+ avatarUrl?: string | undefined;
161465
+ authType?: "OAuth2" | "PAT" | undefined;
161466
+ customUrl?: string | undefined;
161467
+ }[] | undefined;
161468
+ figma?: {
161469
+ id: string;
161470
+ email?: string | undefined;
161471
+ handle?: string | undefined;
161472
+ avatarUrl?: string | undefined;
161473
+ authType?: "OAuth2" | "PAT" | undefined;
161474
+ customUrl?: string | undefined;
161475
+ } | undefined;
161601
161476
  }, {
161602
- companyName?: string | undefined;
161603
- numberOfPeopleInOrg?: string | undefined;
161604
- numberOfPeopleInDesignTeam?: string | undefined;
161605
- department?: "Other" | "Design" | "Engineering" | "Product" | "Brand" | undefined;
161606
- jobTitle?: string | undefined;
161607
- phase?: string | undefined;
161608
- jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
161609
- designSystemName?: string | undefined;
161610
- defaultDestination?: string | undefined;
161611
- figmaUrl?: string | undefined;
161612
- isPageDraftOnboardingFinished?: boolean | undefined;
161613
- isApprovalsOnboardingFinished?: boolean | undefined;
161614
- }>>>;
161615
- }, "avatar">, "strip", z.ZodTypeAny, {
161616
- name?: string | undefined;
161617
- nickname?: string | undefined;
161618
- onboarding?: {
161619
- companyName?: string | undefined;
161620
- numberOfPeopleInOrg?: string | undefined;
161621
- numberOfPeopleInDesignTeam?: string | undefined;
161622
- department?: "Other" | "Design" | "Engineering" | "Product" | "Brand" | undefined;
161623
- jobTitle?: string | undefined;
161624
- phase?: string | undefined;
161625
- jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
161626
- designSystemName?: string | undefined;
161627
- defaultDestination?: string | undefined;
161628
- figmaUrl?: string | undefined;
161629
- isPageDraftOnboardingFinished?: boolean | undefined;
161630
- isApprovalsOnboardingFinished?: boolean | undefined;
161631
- } | undefined;
161632
- }, {
161633
- name?: string | undefined;
161634
- nickname?: string | undefined;
161635
- onboarding?: {
161636
- companyName?: string | undefined;
161637
- numberOfPeopleInOrg?: string | undefined;
161638
- numberOfPeopleInDesignTeam?: string | undefined;
161639
- department?: "Other" | "Design" | "Engineering" | "Product" | "Brand" | undefined;
161640
- jobTitle?: string | undefined;
161641
- phase?: string | undefined;
161642
- jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
161643
- designSystemName?: string | undefined;
161644
- defaultDestination?: string | undefined;
161645
- figmaUrl?: string | undefined;
161646
- isPageDraftOnboardingFinished?: boolean | undefined;
161647
- isApprovalsOnboardingFinished?: boolean | undefined;
161648
- } | undefined;
161649
- }>;
161650
- type UserProfileUpdate = z.infer<typeof UserProfileUpdate>;
161651
-
161652
- declare const UserTest: z.ZodObject<{
161653
- id: z.ZodString;
161654
- email: z.ZodString;
161477
+ azure?: {
161478
+ id: string;
161479
+ email?: string | undefined;
161480
+ handle?: string | undefined;
161481
+ avatarUrl?: string | undefined;
161482
+ authType?: "OAuth2" | "PAT" | undefined;
161483
+ customUrl?: string | undefined;
161484
+ }[] | undefined;
161485
+ github?: {
161486
+ id: string;
161487
+ email?: string | undefined;
161488
+ handle?: string | undefined;
161489
+ avatarUrl?: string | undefined;
161490
+ authType?: "OAuth2" | "PAT" | undefined;
161491
+ customUrl?: string | undefined;
161492
+ }[] | undefined;
161493
+ gitlab?: {
161494
+ id: string;
161495
+ email?: string | undefined;
161496
+ handle?: string | undefined;
161497
+ avatarUrl?: string | undefined;
161498
+ authType?: "OAuth2" | "PAT" | undefined;
161499
+ customUrl?: string | undefined;
161500
+ }[] | undefined;
161501
+ bitbucket?: {
161502
+ id: string;
161503
+ email?: string | undefined;
161504
+ handle?: string | undefined;
161505
+ avatarUrl?: string | undefined;
161506
+ authType?: "OAuth2" | "PAT" | undefined;
161507
+ customUrl?: string | undefined;
161508
+ }[] | undefined;
161509
+ figma?: {
161510
+ id: string;
161511
+ email?: string | undefined;
161512
+ handle?: string | undefined;
161513
+ avatarUrl?: string | undefined;
161514
+ authType?: "OAuth2" | "PAT" | undefined;
161515
+ customUrl?: string | undefined;
161516
+ } | undefined;
161517
+ }>>;
161518
+ loggedOutAt: z.ZodOptional<z.ZodDate>;
161519
+ isProtected: z.ZodBoolean;
161520
+ source: z.ZodOptional<z.ZodEnum<["SignUp", "Invite", "SSO"]>>;
161655
161521
  }, "strip", z.ZodTypeAny, {
161656
161522
  id: string;
161523
+ createdAt: Date;
161657
161524
  email: string;
161525
+ profile: {
161526
+ name: string;
161527
+ avatar?: string | undefined;
161528
+ nickname?: string | undefined;
161529
+ onboarding?: {
161530
+ companyName?: string | undefined;
161531
+ numberOfPeopleInOrg?: string | undefined;
161532
+ numberOfPeopleInDesignTeam?: string | undefined;
161533
+ department?: "Other" | "Design" | "Engineering" | "Product" | "Brand" | undefined;
161534
+ jobTitle?: string | undefined;
161535
+ phase?: string | undefined;
161536
+ jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
161537
+ designSystemName?: string | undefined;
161538
+ defaultDestination?: string | undefined;
161539
+ figmaUrl?: string | undefined;
161540
+ isPageDraftOnboardingFinished?: boolean | undefined;
161541
+ isApprovalsOnboardingFinished?: boolean | undefined;
161542
+ } | undefined;
161543
+ };
161544
+ emailVerified: boolean;
161545
+ isProtected: boolean;
161546
+ source?: "SignUp" | "Invite" | "SSO" | undefined;
161547
+ trialExpiresAt?: Date | undefined;
161548
+ linkedIntegrations?: {
161549
+ azure?: {
161550
+ id: string;
161551
+ email?: string | undefined;
161552
+ handle?: string | undefined;
161553
+ avatarUrl?: string | undefined;
161554
+ authType?: "OAuth2" | "PAT" | undefined;
161555
+ customUrl?: string | undefined;
161556
+ }[] | undefined;
161557
+ github?: {
161558
+ id: string;
161559
+ email?: string | undefined;
161560
+ handle?: string | undefined;
161561
+ avatarUrl?: string | undefined;
161562
+ authType?: "OAuth2" | "PAT" | undefined;
161563
+ customUrl?: string | undefined;
161564
+ }[] | undefined;
161565
+ gitlab?: {
161566
+ id: string;
161567
+ email?: string | undefined;
161568
+ handle?: string | undefined;
161569
+ avatarUrl?: string | undefined;
161570
+ authType?: "OAuth2" | "PAT" | undefined;
161571
+ customUrl?: string | undefined;
161572
+ }[] | undefined;
161573
+ bitbucket?: {
161574
+ id: string;
161575
+ email?: string | undefined;
161576
+ handle?: string | undefined;
161577
+ avatarUrl?: string | undefined;
161578
+ authType?: "OAuth2" | "PAT" | undefined;
161579
+ customUrl?: string | undefined;
161580
+ }[] | undefined;
161581
+ figma?: {
161582
+ id: string;
161583
+ email?: string | undefined;
161584
+ handle?: string | undefined;
161585
+ avatarUrl?: string | undefined;
161586
+ authType?: "OAuth2" | "PAT" | undefined;
161587
+ customUrl?: string | undefined;
161588
+ } | undefined;
161589
+ } | undefined;
161590
+ loggedOutAt?: Date | undefined;
161658
161591
  }, {
161659
161592
  id: string;
161593
+ createdAt: Date;
161660
161594
  email: string;
161595
+ profile: {
161596
+ name: string;
161597
+ avatar?: string | undefined;
161598
+ nickname?: string | undefined;
161599
+ onboarding?: {
161600
+ companyName?: string | undefined;
161601
+ numberOfPeopleInOrg?: string | undefined;
161602
+ numberOfPeopleInDesignTeam?: string | undefined;
161603
+ department?: "Other" | "Design" | "Engineering" | "Product" | "Brand" | undefined;
161604
+ jobTitle?: string | undefined;
161605
+ phase?: string | undefined;
161606
+ jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
161607
+ designSystemName?: string | undefined;
161608
+ defaultDestination?: string | undefined;
161609
+ figmaUrl?: string | undefined;
161610
+ isPageDraftOnboardingFinished?: boolean | undefined;
161611
+ isApprovalsOnboardingFinished?: boolean | undefined;
161612
+ } | undefined;
161613
+ };
161614
+ emailVerified: boolean;
161615
+ isProtected: boolean;
161616
+ source?: "SignUp" | "Invite" | "SSO" | undefined;
161617
+ trialExpiresAt?: Date | undefined;
161618
+ linkedIntegrations?: {
161619
+ azure?: {
161620
+ id: string;
161621
+ email?: string | undefined;
161622
+ handle?: string | undefined;
161623
+ avatarUrl?: string | undefined;
161624
+ authType?: "OAuth2" | "PAT" | undefined;
161625
+ customUrl?: string | undefined;
161626
+ }[] | undefined;
161627
+ github?: {
161628
+ id: string;
161629
+ email?: string | undefined;
161630
+ handle?: string | undefined;
161631
+ avatarUrl?: string | undefined;
161632
+ authType?: "OAuth2" | "PAT" | undefined;
161633
+ customUrl?: string | undefined;
161634
+ }[] | undefined;
161635
+ gitlab?: {
161636
+ id: string;
161637
+ email?: string | undefined;
161638
+ handle?: string | undefined;
161639
+ avatarUrl?: string | undefined;
161640
+ authType?: "OAuth2" | "PAT" | undefined;
161641
+ customUrl?: string | undefined;
161642
+ }[] | undefined;
161643
+ bitbucket?: {
161644
+ id: string;
161645
+ email?: string | undefined;
161646
+ handle?: string | undefined;
161647
+ avatarUrl?: string | undefined;
161648
+ authType?: "OAuth2" | "PAT" | undefined;
161649
+ customUrl?: string | undefined;
161650
+ }[] | undefined;
161651
+ figma?: {
161652
+ id: string;
161653
+ email?: string | undefined;
161654
+ handle?: string | undefined;
161655
+ avatarUrl?: string | undefined;
161656
+ authType?: "OAuth2" | "PAT" | undefined;
161657
+ customUrl?: string | undefined;
161658
+ } | undefined;
161659
+ } | undefined;
161660
+ loggedOutAt?: Date | undefined;
161661
161661
  }>;
161662
- type UserTest = z.infer<typeof UserTest>;
161662
+ type User = z.infer<typeof User>;
161663
161663
 
161664
161664
  type PersonalAccessTokenWithUser = {
161665
161665
  user: User;