@supernova-studio/model 0.47.6 → 0.47.8

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;
@@ -2634,10 +2652,11 @@ declare const ContentLoaderPayload: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
2634
2652
  }>]>;
2635
2653
  type ContentLoaderPayload = z.infer<typeof ContentLoaderPayload>;
2636
2654
 
2637
- type SupernovaExceptionType = "AccessDenied" | "ResourceNotFound" | "WrongFormat" | "TooMuchWork" | "Timeout" | "Conflict" | "NotImplemented" | "BadRequest" | "WrongActionOrder" | "InvalidOperation" | "UnexpectedError" | "IPRestricted" | "PlanRestricted" | "MissingWorkspacePermission" | "MissingExporterPermission" | "NoAccess" | "MissingCredentials";
2655
+ type SupernovaExceptionType = "AccessDenied" | "ResourceNotFound" | "WrongFormat" | "TooMuchWork" | "Timeout" | "Conflict" | "NotImplemented" | "BadRequest" | "WrongActionOrder" | "InvalidOperation" | "UnexpectedError" | "IPRestricted" | "PlanRestricted" | "MissingWorkspacePermission" | "MissingExporterPermission" | "NoAccess" | "MissingCredentials" | "ValidationError";
2638
2656
  declare class SupernovaException extends Error {
2639
2657
  readonly type: SupernovaExceptionType;
2640
2658
  static wrongFormat(message?: string): SupernovaException;
2659
+ static validationError(message?: string): SupernovaException;
2641
2660
  static accessDenied(message?: string): SupernovaException;
2642
2661
  static tooMuchWork(message?: string): SupernovaException;
2643
2662
  static notFound(message?: string): SupernovaException;
@@ -114697,6 +114716,8 @@ declare const UserOnboarding: z.ZodObject<{
114697
114716
  phase: z.ZodOptional<z.ZodString>;
114698
114717
  jobLevel: z.ZodOptional<z.ZodEnum<["Executive", "Manager", "IndividualContributor", "Other"]>>;
114699
114718
  designSystemName: z.ZodOptional<z.ZodString>;
114719
+ defaultDestination: z.ZodOptional<z.ZodString>;
114720
+ figmaUrl: z.ZodOptional<z.ZodString>;
114700
114721
  }, "strip", z.ZodTypeAny, {
114701
114722
  companyName?: string | undefined;
114702
114723
  numberOfPeopleInOrg?: string | undefined;
@@ -114706,6 +114727,8 @@ declare const UserOnboarding: z.ZodObject<{
114706
114727
  phase?: string | undefined;
114707
114728
  jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
114708
114729
  designSystemName?: string | undefined;
114730
+ defaultDestination?: string | undefined;
114731
+ figmaUrl?: string | undefined;
114709
114732
  }, {
114710
114733
  companyName?: string | undefined;
114711
114734
  numberOfPeopleInOrg?: string | undefined;
@@ -114715,6 +114738,8 @@ declare const UserOnboarding: z.ZodObject<{
114715
114738
  phase?: string | undefined;
114716
114739
  jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
114717
114740
  designSystemName?: string | undefined;
114741
+ defaultDestination?: string | undefined;
114742
+ figmaUrl?: string | undefined;
114718
114743
  }>;
114719
114744
  type UserOnboarding = z.infer<typeof UserOnboarding>;
114720
114745
  declare const UserProfileUpdate: z.ZodObject<Omit<{
@@ -114730,6 +114755,8 @@ declare const UserProfileUpdate: z.ZodObject<Omit<{
114730
114755
  phase: z.ZodOptional<z.ZodString>;
114731
114756
  jobLevel: z.ZodOptional<z.ZodEnum<["Executive", "Manager", "IndividualContributor", "Other"]>>;
114732
114757
  designSystemName: z.ZodOptional<z.ZodString>;
114758
+ defaultDestination: z.ZodOptional<z.ZodString>;
114759
+ figmaUrl: z.ZodOptional<z.ZodString>;
114733
114760
  }, "strip", z.ZodTypeAny, {
114734
114761
  companyName?: string | undefined;
114735
114762
  numberOfPeopleInOrg?: string | undefined;
@@ -114739,6 +114766,8 @@ declare const UserProfileUpdate: z.ZodObject<Omit<{
114739
114766
  phase?: string | undefined;
114740
114767
  jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
114741
114768
  designSystemName?: string | undefined;
114769
+ defaultDestination?: string | undefined;
114770
+ figmaUrl?: string | undefined;
114742
114771
  }, {
114743
114772
  companyName?: string | undefined;
114744
114773
  numberOfPeopleInOrg?: string | undefined;
@@ -114748,6 +114777,8 @@ declare const UserProfileUpdate: z.ZodObject<Omit<{
114748
114777
  phase?: string | undefined;
114749
114778
  jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
114750
114779
  designSystemName?: string | undefined;
114780
+ defaultDestination?: string | undefined;
114781
+ figmaUrl?: string | undefined;
114751
114782
  }>>>;
114752
114783
  }, "avatar">, "strip", z.ZodTypeAny, {
114753
114784
  name?: string | undefined;
@@ -114761,6 +114792,8 @@ declare const UserProfileUpdate: z.ZodObject<Omit<{
114761
114792
  phase?: string | undefined;
114762
114793
  jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
114763
114794
  designSystemName?: string | undefined;
114795
+ defaultDestination?: string | undefined;
114796
+ figmaUrl?: string | undefined;
114764
114797
  } | undefined;
114765
114798
  }, {
114766
114799
  name?: string | undefined;
@@ -114774,6 +114807,8 @@ declare const UserProfileUpdate: z.ZodObject<Omit<{
114774
114807
  phase?: string | undefined;
114775
114808
  jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
114776
114809
  designSystemName?: string | undefined;
114810
+ defaultDestination?: string | undefined;
114811
+ figmaUrl?: string | undefined;
114777
114812
  } | undefined;
114778
114813
  }>;
114779
114814
  type UserProfileUpdate = z.infer<typeof UserProfileUpdate>;
@@ -114790,6 +114825,8 @@ declare const UserProfile: z.ZodObject<{
114790
114825
  phase: z.ZodOptional<z.ZodString>;
114791
114826
  jobLevel: z.ZodOptional<z.ZodEnum<["Executive", "Manager", "IndividualContributor", "Other"]>>;
114792
114827
  designSystemName: z.ZodOptional<z.ZodString>;
114828
+ defaultDestination: z.ZodOptional<z.ZodString>;
114829
+ figmaUrl: z.ZodOptional<z.ZodString>;
114793
114830
  }, "strip", z.ZodTypeAny, {
114794
114831
  companyName?: string | undefined;
114795
114832
  numberOfPeopleInOrg?: string | undefined;
@@ -114799,6 +114836,8 @@ declare const UserProfile: z.ZodObject<{
114799
114836
  phase?: string | undefined;
114800
114837
  jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
114801
114838
  designSystemName?: string | undefined;
114839
+ defaultDestination?: string | undefined;
114840
+ figmaUrl?: string | undefined;
114802
114841
  }, {
114803
114842
  companyName?: string | undefined;
114804
114843
  numberOfPeopleInOrg?: string | undefined;
@@ -114808,6 +114847,8 @@ declare const UserProfile: z.ZodObject<{
114808
114847
  phase?: string | undefined;
114809
114848
  jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
114810
114849
  designSystemName?: string | undefined;
114850
+ defaultDestination?: string | undefined;
114851
+ figmaUrl?: string | undefined;
114811
114852
  }>>;
114812
114853
  }, "strip", z.ZodTypeAny, {
114813
114854
  name: string;
@@ -114822,6 +114863,8 @@ declare const UserProfile: z.ZodObject<{
114822
114863
  phase?: string | undefined;
114823
114864
  jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
114824
114865
  designSystemName?: string | undefined;
114866
+ defaultDestination?: string | undefined;
114867
+ figmaUrl?: string | undefined;
114825
114868
  } | undefined;
114826
114869
  }, {
114827
114870
  name: string;
@@ -114836,6 +114879,8 @@ declare const UserProfile: z.ZodObject<{
114836
114879
  phase?: string | undefined;
114837
114880
  jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
114838
114881
  designSystemName?: string | undefined;
114882
+ defaultDestination?: string | undefined;
114883
+ figmaUrl?: string | undefined;
114839
114884
  } | undefined;
114840
114885
  }>;
114841
114886
  type UserProfile = z.infer<typeof UserProfile>;
@@ -114871,6 +114916,8 @@ declare const User: z.ZodObject<{
114871
114916
  phase: z.ZodOptional<z.ZodString>;
114872
114917
  jobLevel: z.ZodOptional<z.ZodEnum<["Executive", "Manager", "IndividualContributor", "Other"]>>;
114873
114918
  designSystemName: z.ZodOptional<z.ZodString>;
114919
+ defaultDestination: z.ZodOptional<z.ZodString>;
114920
+ figmaUrl: z.ZodOptional<z.ZodString>;
114874
114921
  }, "strip", z.ZodTypeAny, {
114875
114922
  companyName?: string | undefined;
114876
114923
  numberOfPeopleInOrg?: string | undefined;
@@ -114880,6 +114927,8 @@ declare const User: z.ZodObject<{
114880
114927
  phase?: string | undefined;
114881
114928
  jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
114882
114929
  designSystemName?: string | undefined;
114930
+ defaultDestination?: string | undefined;
114931
+ figmaUrl?: string | undefined;
114883
114932
  }, {
114884
114933
  companyName?: string | undefined;
114885
114934
  numberOfPeopleInOrg?: string | undefined;
@@ -114889,6 +114938,8 @@ declare const User: z.ZodObject<{
114889
114938
  phase?: string | undefined;
114890
114939
  jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
114891
114940
  designSystemName?: string | undefined;
114941
+ defaultDestination?: string | undefined;
114942
+ figmaUrl?: string | undefined;
114892
114943
  }>>;
114893
114944
  }, "strip", z.ZodTypeAny, {
114894
114945
  name: string;
@@ -114903,6 +114954,8 @@ declare const User: z.ZodObject<{
114903
114954
  phase?: string | undefined;
114904
114955
  jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
114905
114956
  designSystemName?: string | undefined;
114957
+ defaultDestination?: string | undefined;
114958
+ figmaUrl?: string | undefined;
114906
114959
  } | undefined;
114907
114960
  }, {
114908
114961
  name: string;
@@ -114917,6 +114970,8 @@ declare const User: z.ZodObject<{
114917
114970
  phase?: string | undefined;
114918
114971
  jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
114919
114972
  designSystemName?: string | undefined;
114973
+ defaultDestination?: string | undefined;
114974
+ figmaUrl?: string | undefined;
114920
114975
  } | undefined;
114921
114976
  }>;
114922
114977
  linkedIntegrations: z.ZodOptional<z.ZodObject<{
@@ -115133,6 +115188,8 @@ declare const User: z.ZodObject<{
115133
115188
  phase?: string | undefined;
115134
115189
  jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
115135
115190
  designSystemName?: string | undefined;
115191
+ defaultDestination?: string | undefined;
115192
+ figmaUrl?: string | undefined;
115136
115193
  } | undefined;
115137
115194
  };
115138
115195
  isProtected: boolean;
@@ -115198,6 +115255,8 @@ declare const User: z.ZodObject<{
115198
115255
  phase?: string | undefined;
115199
115256
  jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
115200
115257
  designSystemName?: string | undefined;
115258
+ defaultDestination?: string | undefined;
115259
+ figmaUrl?: string | undefined;
115201
115260
  } | undefined;
115202
115261
  };
115203
115262
  isProtected: boolean;
package/dist/index.d.ts 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;
@@ -2634,10 +2652,11 @@ declare const ContentLoaderPayload: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
2634
2652
  }>]>;
2635
2653
  type ContentLoaderPayload = z.infer<typeof ContentLoaderPayload>;
2636
2654
 
2637
- type SupernovaExceptionType = "AccessDenied" | "ResourceNotFound" | "WrongFormat" | "TooMuchWork" | "Timeout" | "Conflict" | "NotImplemented" | "BadRequest" | "WrongActionOrder" | "InvalidOperation" | "UnexpectedError" | "IPRestricted" | "PlanRestricted" | "MissingWorkspacePermission" | "MissingExporterPermission" | "NoAccess" | "MissingCredentials";
2655
+ type SupernovaExceptionType = "AccessDenied" | "ResourceNotFound" | "WrongFormat" | "TooMuchWork" | "Timeout" | "Conflict" | "NotImplemented" | "BadRequest" | "WrongActionOrder" | "InvalidOperation" | "UnexpectedError" | "IPRestricted" | "PlanRestricted" | "MissingWorkspacePermission" | "MissingExporterPermission" | "NoAccess" | "MissingCredentials" | "ValidationError";
2638
2656
  declare class SupernovaException extends Error {
2639
2657
  readonly type: SupernovaExceptionType;
2640
2658
  static wrongFormat(message?: string): SupernovaException;
2659
+ static validationError(message?: string): SupernovaException;
2641
2660
  static accessDenied(message?: string): SupernovaException;
2642
2661
  static tooMuchWork(message?: string): SupernovaException;
2643
2662
  static notFound(message?: string): SupernovaException;
@@ -114697,6 +114716,8 @@ declare const UserOnboarding: z.ZodObject<{
114697
114716
  phase: z.ZodOptional<z.ZodString>;
114698
114717
  jobLevel: z.ZodOptional<z.ZodEnum<["Executive", "Manager", "IndividualContributor", "Other"]>>;
114699
114718
  designSystemName: z.ZodOptional<z.ZodString>;
114719
+ defaultDestination: z.ZodOptional<z.ZodString>;
114720
+ figmaUrl: z.ZodOptional<z.ZodString>;
114700
114721
  }, "strip", z.ZodTypeAny, {
114701
114722
  companyName?: string | undefined;
114702
114723
  numberOfPeopleInOrg?: string | undefined;
@@ -114706,6 +114727,8 @@ declare const UserOnboarding: z.ZodObject<{
114706
114727
  phase?: string | undefined;
114707
114728
  jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
114708
114729
  designSystemName?: string | undefined;
114730
+ defaultDestination?: string | undefined;
114731
+ figmaUrl?: string | undefined;
114709
114732
  }, {
114710
114733
  companyName?: string | undefined;
114711
114734
  numberOfPeopleInOrg?: string | undefined;
@@ -114715,6 +114738,8 @@ declare const UserOnboarding: z.ZodObject<{
114715
114738
  phase?: string | undefined;
114716
114739
  jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
114717
114740
  designSystemName?: string | undefined;
114741
+ defaultDestination?: string | undefined;
114742
+ figmaUrl?: string | undefined;
114718
114743
  }>;
114719
114744
  type UserOnboarding = z.infer<typeof UserOnboarding>;
114720
114745
  declare const UserProfileUpdate: z.ZodObject<Omit<{
@@ -114730,6 +114755,8 @@ declare const UserProfileUpdate: z.ZodObject<Omit<{
114730
114755
  phase: z.ZodOptional<z.ZodString>;
114731
114756
  jobLevel: z.ZodOptional<z.ZodEnum<["Executive", "Manager", "IndividualContributor", "Other"]>>;
114732
114757
  designSystemName: z.ZodOptional<z.ZodString>;
114758
+ defaultDestination: z.ZodOptional<z.ZodString>;
114759
+ figmaUrl: z.ZodOptional<z.ZodString>;
114733
114760
  }, "strip", z.ZodTypeAny, {
114734
114761
  companyName?: string | undefined;
114735
114762
  numberOfPeopleInOrg?: string | undefined;
@@ -114739,6 +114766,8 @@ declare const UserProfileUpdate: z.ZodObject<Omit<{
114739
114766
  phase?: string | undefined;
114740
114767
  jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
114741
114768
  designSystemName?: string | undefined;
114769
+ defaultDestination?: string | undefined;
114770
+ figmaUrl?: string | undefined;
114742
114771
  }, {
114743
114772
  companyName?: string | undefined;
114744
114773
  numberOfPeopleInOrg?: string | undefined;
@@ -114748,6 +114777,8 @@ declare const UserProfileUpdate: z.ZodObject<Omit<{
114748
114777
  phase?: string | undefined;
114749
114778
  jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
114750
114779
  designSystemName?: string | undefined;
114780
+ defaultDestination?: string | undefined;
114781
+ figmaUrl?: string | undefined;
114751
114782
  }>>>;
114752
114783
  }, "avatar">, "strip", z.ZodTypeAny, {
114753
114784
  name?: string | undefined;
@@ -114761,6 +114792,8 @@ declare const UserProfileUpdate: z.ZodObject<Omit<{
114761
114792
  phase?: string | undefined;
114762
114793
  jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
114763
114794
  designSystemName?: string | undefined;
114795
+ defaultDestination?: string | undefined;
114796
+ figmaUrl?: string | undefined;
114764
114797
  } | undefined;
114765
114798
  }, {
114766
114799
  name?: string | undefined;
@@ -114774,6 +114807,8 @@ declare const UserProfileUpdate: z.ZodObject<Omit<{
114774
114807
  phase?: string | undefined;
114775
114808
  jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
114776
114809
  designSystemName?: string | undefined;
114810
+ defaultDestination?: string | undefined;
114811
+ figmaUrl?: string | undefined;
114777
114812
  } | undefined;
114778
114813
  }>;
114779
114814
  type UserProfileUpdate = z.infer<typeof UserProfileUpdate>;
@@ -114790,6 +114825,8 @@ declare const UserProfile: z.ZodObject<{
114790
114825
  phase: z.ZodOptional<z.ZodString>;
114791
114826
  jobLevel: z.ZodOptional<z.ZodEnum<["Executive", "Manager", "IndividualContributor", "Other"]>>;
114792
114827
  designSystemName: z.ZodOptional<z.ZodString>;
114828
+ defaultDestination: z.ZodOptional<z.ZodString>;
114829
+ figmaUrl: z.ZodOptional<z.ZodString>;
114793
114830
  }, "strip", z.ZodTypeAny, {
114794
114831
  companyName?: string | undefined;
114795
114832
  numberOfPeopleInOrg?: string | undefined;
@@ -114799,6 +114836,8 @@ declare const UserProfile: z.ZodObject<{
114799
114836
  phase?: string | undefined;
114800
114837
  jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
114801
114838
  designSystemName?: string | undefined;
114839
+ defaultDestination?: string | undefined;
114840
+ figmaUrl?: string | undefined;
114802
114841
  }, {
114803
114842
  companyName?: string | undefined;
114804
114843
  numberOfPeopleInOrg?: string | undefined;
@@ -114808,6 +114847,8 @@ declare const UserProfile: z.ZodObject<{
114808
114847
  phase?: string | undefined;
114809
114848
  jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
114810
114849
  designSystemName?: string | undefined;
114850
+ defaultDestination?: string | undefined;
114851
+ figmaUrl?: string | undefined;
114811
114852
  }>>;
114812
114853
  }, "strip", z.ZodTypeAny, {
114813
114854
  name: string;
@@ -114822,6 +114863,8 @@ declare const UserProfile: z.ZodObject<{
114822
114863
  phase?: string | undefined;
114823
114864
  jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
114824
114865
  designSystemName?: string | undefined;
114866
+ defaultDestination?: string | undefined;
114867
+ figmaUrl?: string | undefined;
114825
114868
  } | undefined;
114826
114869
  }, {
114827
114870
  name: string;
@@ -114836,6 +114879,8 @@ declare const UserProfile: z.ZodObject<{
114836
114879
  phase?: string | undefined;
114837
114880
  jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
114838
114881
  designSystemName?: string | undefined;
114882
+ defaultDestination?: string | undefined;
114883
+ figmaUrl?: string | undefined;
114839
114884
  } | undefined;
114840
114885
  }>;
114841
114886
  type UserProfile = z.infer<typeof UserProfile>;
@@ -114871,6 +114916,8 @@ declare const User: z.ZodObject<{
114871
114916
  phase: z.ZodOptional<z.ZodString>;
114872
114917
  jobLevel: z.ZodOptional<z.ZodEnum<["Executive", "Manager", "IndividualContributor", "Other"]>>;
114873
114918
  designSystemName: z.ZodOptional<z.ZodString>;
114919
+ defaultDestination: z.ZodOptional<z.ZodString>;
114920
+ figmaUrl: z.ZodOptional<z.ZodString>;
114874
114921
  }, "strip", z.ZodTypeAny, {
114875
114922
  companyName?: string | undefined;
114876
114923
  numberOfPeopleInOrg?: string | undefined;
@@ -114880,6 +114927,8 @@ declare const User: z.ZodObject<{
114880
114927
  phase?: string | undefined;
114881
114928
  jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
114882
114929
  designSystemName?: string | undefined;
114930
+ defaultDestination?: string | undefined;
114931
+ figmaUrl?: string | undefined;
114883
114932
  }, {
114884
114933
  companyName?: string | undefined;
114885
114934
  numberOfPeopleInOrg?: string | undefined;
@@ -114889,6 +114938,8 @@ declare const User: z.ZodObject<{
114889
114938
  phase?: string | undefined;
114890
114939
  jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
114891
114940
  designSystemName?: string | undefined;
114941
+ defaultDestination?: string | undefined;
114942
+ figmaUrl?: string | undefined;
114892
114943
  }>>;
114893
114944
  }, "strip", z.ZodTypeAny, {
114894
114945
  name: string;
@@ -114903,6 +114954,8 @@ declare const User: z.ZodObject<{
114903
114954
  phase?: string | undefined;
114904
114955
  jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
114905
114956
  designSystemName?: string | undefined;
114957
+ defaultDestination?: string | undefined;
114958
+ figmaUrl?: string | undefined;
114906
114959
  } | undefined;
114907
114960
  }, {
114908
114961
  name: string;
@@ -114917,6 +114970,8 @@ declare const User: z.ZodObject<{
114917
114970
  phase?: string | undefined;
114918
114971
  jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
114919
114972
  designSystemName?: string | undefined;
114973
+ defaultDestination?: string | undefined;
114974
+ figmaUrl?: string | undefined;
114920
114975
  } | undefined;
114921
114976
  }>;
114922
114977
  linkedIntegrations: z.ZodOptional<z.ZodObject<{
@@ -115133,6 +115188,8 @@ declare const User: z.ZodObject<{
115133
115188
  phase?: string | undefined;
115134
115189
  jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
115135
115190
  designSystemName?: string | undefined;
115191
+ defaultDestination?: string | undefined;
115192
+ figmaUrl?: string | undefined;
115136
115193
  } | undefined;
115137
115194
  };
115138
115195
  isProtected: boolean;
@@ -115198,6 +115255,8 @@ declare const User: z.ZodObject<{
115198
115255
  phase?: string | undefined;
115199
115256
  jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
115200
115257
  designSystemName?: string | undefined;
115258
+ defaultDestination?: string | undefined;
115259
+ figmaUrl?: string | undefined;
115201
115260
  } | undefined;
115202
115261
  };
115203
115262
  isProtected: boolean;
package/dist/index.js CHANGED
@@ -365,7 +365,9 @@ var UserOnboarding = _zod.z.object({
365
365
  jobTitle: _zod.z.string().optional(),
366
366
  phase: _zod.z.string().optional(),
367
367
  jobLevel: UserOnboardingJobLevel.optional(),
368
- designSystemName: _zod.z.string().optional()
368
+ designSystemName: _zod.z.string().optional(),
369
+ defaultDestination: _zod.z.string().optional(),
370
+ figmaUrl: _zod.z.string().optional()
369
371
  });
370
372
  var UserProfile = _zod.z.object({
371
373
  name: _zod.z.string(),
@@ -3732,6 +3734,9 @@ var SupernovaException = class _SupernovaException extends Error {
3732
3734
  static wrongFormat(message) {
3733
3735
  return new _SupernovaException("WrongFormat", message);
3734
3736
  }
3737
+ static validationError(message) {
3738
+ return new _SupernovaException("ValidationError", message);
3739
+ }
3735
3740
  static accessDenied(message) {
3736
3741
  return new _SupernovaException("AccessDenied", message);
3737
3742
  }