@parra/parra-js-sdk 0.3.561 → 0.3.562

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.
@@ -287,11 +287,19 @@ export interface Domain {
287
287
  }
288
288
  export interface TenantEntitlement {
289
289
  }
290
+ export declare enum TenantArchetype {
291
+ custom = "custom",
292
+ podcast = "podcast",
293
+ contentCreator = "content_creator",
294
+ other = "other"
295
+ }
290
296
  export interface CreateTenantRequestBody {
291
297
  name: string;
292
298
  subdomain?: string | null;
293
299
  is_test: boolean;
294
300
  parent_tenant_id?: string | null;
301
+ archetype?: TenantArchetype | null;
302
+ archetype_other_description?: string | null;
295
303
  }
296
304
  export interface TenantAppInfoStub {
297
305
  id: string;
@@ -302,6 +310,8 @@ export interface TenantAppInfoStub {
302
310
  subdomain?: string | null;
303
311
  is_test: boolean;
304
312
  parent_tenant_id?: string | null;
313
+ archetype?: TenantArchetype | null;
314
+ archetype_other_description?: string | null;
305
315
  display_name?: string | null;
306
316
  logo?: ImageAssetStub | null;
307
317
  issuer: string;
@@ -1509,6 +1519,16 @@ export interface Reaction {
1509
1519
  user_id: string;
1510
1520
  user: TenantUserNameStub;
1511
1521
  }
1522
+ export declare enum ParraTemplateType {
1523
+ default = "default",
1524
+ revenueCat = "revenue-cat",
1525
+ shopifyStorefront = "shopify-storefront",
1526
+ yc = "yc",
1527
+ podcast = "podcast"
1528
+ }
1529
+ export interface AppBootstrapRequestBody {
1530
+ template?: ParraTemplateType | null;
1531
+ }
1512
1532
  export interface HexValue {
1513
1533
  hex_value: string;
1514
1534
  }
@@ -1611,7 +1631,8 @@ export declare enum FontSizeType {
1611
1631
  "2xl" = "2xl",
1612
1632
  "3xl" = "3xl",
1613
1633
  "4xl" = "4xl",
1614
- "5xl" = "5xl"
1634
+ "5xl" = "5xl",
1635
+ "6xl" = "6xl"
1615
1636
  }
1616
1637
  export type FontSizeToken = CssValue;
1617
1638
  export interface Ref {
@@ -1627,6 +1648,8 @@ export interface FontSizes {
1627
1648
  "2xl"?: FontSizeType | FontSizeToken | Ref;
1628
1649
  "3xl"?: FontSizeType | FontSizeToken | Ref;
1629
1650
  "4xl"?: FontSizeType | FontSizeToken | Ref;
1651
+ "5xl"?: FontSizeType | FontSizeToken | Ref;
1652
+ "6xl"?: FontSizeType | FontSizeToken | Ref;
1630
1653
  }
1631
1654
  export declare enum FontWeightType {
1632
1655
  light = "light",
@@ -1660,7 +1683,9 @@ export declare enum FontFamilyType {
1660
1683
  heading = "heading",
1661
1684
  monospace = "monospace"
1662
1685
  }
1663
- export type FontFamilyToken = string;
1686
+ export interface FontFamilyToken {
1687
+ value: string;
1688
+ }
1664
1689
  export type FontFamily = FontFamilyType | FontFamilyToken | Ref;
1665
1690
  export interface FontFamilies {
1666
1691
  base?: FontFamilyType | FontFamilyToken | Ref;
@@ -1673,66 +1698,89 @@ export interface ResolvedTypography {
1673
1698
  line_height: LineHeights;
1674
1699
  font_family: FontFamilies;
1675
1700
  }
1676
- export type Color = HexValue | Ref;
1701
+ export interface OptionalRef {
1702
+ ref?: string;
1703
+ }
1704
+ export interface ResolvedColor {
1705
+ hex_value: string;
1706
+ ref?: string;
1707
+ }
1677
1708
  export declare enum TextTransform {
1678
1709
  none = "none",
1679
1710
  uppercase = "uppercase",
1680
1711
  lowercase = "lowercase",
1681
1712
  capitalize = "capitalize"
1682
1713
  }
1683
- export interface MarginToken {
1684
- value?: string;
1714
+ export interface ResolvedRemValue {
1715
+ ref?: string;
1716
+ rem_value: number;
1717
+ }
1718
+ export interface ResolvedPxValue {
1719
+ ref?: string;
1720
+ px_value: number;
1721
+ }
1722
+ export interface ResolvedEmValue {
1723
+ ref?: string;
1724
+ em_value: number;
1685
1725
  }
1686
- export type MarginTokenOrRef = MarginToken | Ref;
1687
- export interface MarginAll {
1688
- all?: MarginToken | Ref;
1726
+ export type ResolvedFontSize = ResolvedRemValue | ResolvedPxValue | ResolvedEmValue;
1727
+ export interface ResolvedFontWeight {
1728
+ ref?: string;
1729
+ value: number;
1689
1730
  }
1690
- export interface MarginEdges {
1691
- top?: MarginToken | Ref;
1692
- right?: MarginToken | Ref;
1693
- bottom?: MarginToken | Ref;
1694
- left?: MarginToken | Ref;
1731
+ export interface ResolvedMarginToken {
1732
+ ref?: string;
1733
+ px_value: number;
1695
1734
  }
1696
- export interface MarginDirectional {
1697
- vertical?: MarginToken | Ref;
1698
- horizontal?: MarginToken | Ref;
1735
+ export interface ResolvedMarginAll {
1736
+ all: ResolvedMarginToken;
1699
1737
  }
1700
- export type Margin = MarginTokenOrRef | MarginAll | MarginEdges | MarginDirectional;
1701
- export interface PaddingToken {
1702
- value?: string;
1738
+ export interface ResolvedMarginEdges {
1739
+ top?: ResolvedMarginToken;
1740
+ right?: ResolvedMarginToken;
1741
+ bottom?: ResolvedMarginToken;
1742
+ left?: ResolvedMarginToken;
1703
1743
  }
1704
- export type PaddingTokenOrRef = PaddingToken | Ref;
1705
- export interface PaddingAll {
1706
- all?: PaddingToken | Ref;
1744
+ export interface ResolvedMarginDirectional {
1745
+ vertical: ResolvedMarginToken;
1746
+ horizontal: ResolvedMarginToken;
1707
1747
  }
1708
- export interface PaddingEdges {
1709
- top?: PaddingToken | Ref;
1710
- right?: PaddingToken | Ref;
1711
- bottom?: PaddingToken | Ref;
1712
- left?: PaddingToken | Ref;
1748
+ export type ResolvedMargin = ResolvedMarginAll | ResolvedMarginEdges | ResolvedMarginDirectional;
1749
+ export interface ResolvedPaddingToken {
1750
+ ref?: string;
1751
+ px_value: number;
1752
+ }
1753
+ export interface ResolvedPaddingAll {
1754
+ all: ResolvedPaddingToken;
1755
+ }
1756
+ export interface ResolvedPaddingEdges {
1757
+ top?: ResolvedPaddingToken;
1758
+ right?: ResolvedPaddingToken;
1759
+ bottom?: ResolvedPaddingToken;
1760
+ left?: ResolvedPaddingToken;
1713
1761
  }
1714
- export interface PaddingDirectional {
1715
- vertical?: PaddingToken | Ref;
1716
- horizontal?: PaddingToken | Ref;
1762
+ export interface ResolvedPaddingDirectional {
1763
+ vertical: ResolvedPaddingToken;
1764
+ horizontal: ResolvedPaddingToken;
1717
1765
  }
1718
- export type Padding = PaddingTokenOrRef | PaddingAll | PaddingEdges | PaddingDirectional;
1766
+ export type ResolvedPadding = ResolvedPaddingAll | ResolvedPaddingEdges | ResolvedPaddingDirectional;
1719
1767
  export interface FormLabelTheme {
1720
1768
  font_family?: FontFamilyType | FontFamilyToken | Ref;
1721
- color?: HexValue | Ref;
1769
+ color?: ResolvedColor;
1722
1770
  text_transform?: TextTransform;
1723
- font_size?: FontSizeType | FontSizeToken | Ref;
1724
- font_weight?: FontWeightType | FontWeightToken | Ref;
1771
+ font_size?: ResolvedRemValue | ResolvedPxValue | ResolvedEmValue;
1772
+ font_weight?: ResolvedFontWeight;
1725
1773
  line_height?: RemValue;
1726
1774
  letter_spacing?: number;
1727
- margin?: MarginTokenOrRef | MarginAll | MarginEdges | MarginDirectional;
1728
- padding?: PaddingTokenOrRef | PaddingAll | PaddingEdges | PaddingDirectional;
1775
+ margin?: ResolvedMarginAll | ResolvedMarginEdges | ResolvedMarginDirectional;
1776
+ padding?: ResolvedPaddingAll | ResolvedPaddingEdges | ResolvedPaddingDirectional;
1729
1777
  }
1730
1778
  export interface FormTheme {
1731
1779
  label: FormLabelTheme;
1732
1780
  }
1733
1781
  export interface BackgroundTheme {
1734
- primary: HexValue | Ref;
1735
- secondary: HexValue | Ref;
1782
+ primary: ResolvedColor;
1783
+ secondary: ResolvedColor;
1736
1784
  }
1737
1785
  export declare enum BorderStyle {
1738
1786
  solid = "solid",
@@ -1751,33 +1799,33 @@ export declare enum BorderRadiusType {
1751
1799
  }
1752
1800
  export type BorderRadius = BorderRadiusType | CssValue | Ref;
1753
1801
  export interface BadgeSize {
1754
- font_size?: FontSizeType | FontSizeToken | Ref;
1755
- font_weight?: FontWeightType | FontWeightToken | Ref;
1756
- padding?: PaddingTokenOrRef | PaddingAll | PaddingEdges | PaddingDirectional;
1802
+ font_size?: ResolvedRemValue | ResolvedPxValue | ResolvedEmValue;
1803
+ font_weight?: ResolvedFontWeight;
1804
+ padding?: ResolvedPaddingAll | ResolvedPaddingEdges | ResolvedPaddingDirectional;
1757
1805
  border_width?: CssValue | Ref;
1758
1806
  border_radius?: BorderRadiusType | CssValue | Ref;
1759
1807
  }
1760
1808
  export interface BadgeBase {
1761
- font_size?: FontSizeType | FontSizeToken | Ref;
1762
- font_weight?: FontWeightType | FontWeightToken | Ref;
1763
- padding?: PaddingTokenOrRef | PaddingAll | PaddingEdges | PaddingDirectional;
1809
+ font_size?: ResolvedRemValue | ResolvedPxValue | ResolvedEmValue;
1810
+ font_weight?: ResolvedFontWeight;
1811
+ padding?: ResolvedPaddingAll | ResolvedPaddingEdges | ResolvedPaddingDirectional;
1764
1812
  border_width?: CssValue | Ref;
1765
1813
  border_radius?: BorderRadiusType | CssValue | Ref;
1766
- background_color?: HexValue | Ref;
1767
- color?: HexValue | Ref;
1814
+ background_color?: ResolvedColor;
1815
+ color?: ResolvedColor;
1768
1816
  border_style?: BorderStyle;
1769
- border_color?: HexValue | Ref;
1817
+ border_color?: ResolvedColor;
1770
1818
  alpha?: number;
1771
1819
  }
1772
1820
  export interface BadgeVariant {
1773
- background_color?: HexValue | Ref;
1774
- color?: HexValue | Ref;
1821
+ background_color?: ResolvedColor;
1822
+ color?: ResolvedColor;
1775
1823
  border_style?: BorderStyle;
1776
- border_color?: HexValue | Ref;
1777
- padding?: PaddingTokenOrRef | PaddingAll | PaddingEdges | PaddingDirectional;
1824
+ border_color?: ResolvedColor;
1825
+ padding?: ResolvedPaddingAll | ResolvedPaddingEdges | ResolvedPaddingDirectional;
1778
1826
  alpha?: number;
1779
- font_size?: FontSizeType | FontSizeToken | Ref;
1780
- font_weight?: FontWeightType | FontWeightToken | Ref;
1827
+ font_size?: ResolvedRemValue | ResolvedPxValue | ResolvedEmValue;
1828
+ font_weight?: ResolvedFontWeight;
1781
1829
  border_width?: CssValue | Ref;
1782
1830
  border_radius?: BorderRadiusType | CssValue | Ref;
1783
1831
  }
@@ -1803,20 +1851,20 @@ export interface BadgeTheme {
1803
1851
  sizes: BadgeSizes;
1804
1852
  }
1805
1853
  export interface ButtonBase {
1806
- background_color?: HexValue | Ref;
1807
- color?: HexValue | Ref;
1854
+ background_color?: ResolvedColor;
1855
+ color?: ResolvedColor;
1808
1856
  border_width?: CssValue | Ref;
1809
1857
  border_style?: BorderStyle;
1810
- border_color?: HexValue | Ref;
1858
+ border_color?: ResolvedColor;
1811
1859
  border_radius?: BorderRadiusType | CssValue | Ref;
1812
1860
  alpha?: number;
1813
1861
  }
1814
1862
  export interface ButtonState {
1815
- background_color?: HexValue | Ref;
1816
- color?: HexValue | Ref;
1863
+ background_color?: ResolvedColor;
1864
+ color?: ResolvedColor;
1817
1865
  border_width?: CssValue | Ref;
1818
1866
  border_style?: BorderStyle;
1819
- border_color?: HexValue | Ref;
1867
+ border_color?: ResolvedColor;
1820
1868
  border_radius?: BorderRadiusType | CssValue | Ref;
1821
1869
  alpha?: number;
1822
1870
  }
@@ -1836,11 +1884,11 @@ export interface ButtonVariants {
1836
1884
  destructive: ButtonVariant;
1837
1885
  }
1838
1886
  export interface ButtonSize {
1839
- font_size?: FontSizeType | FontSizeToken | Ref;
1840
- font_weight?: FontWeightType | FontWeightToken | Ref;
1887
+ font_size?: ResolvedRemValue | ResolvedPxValue | ResolvedEmValue;
1888
+ font_weight?: ResolvedFontWeight;
1841
1889
  border_width?: CssValue | Ref;
1842
1890
  border_radius?: BorderRadiusType | CssValue | Ref;
1843
- padding?: PaddingTokenOrRef | PaddingAll | PaddingEdges | PaddingDirectional;
1891
+ padding?: ResolvedPaddingAll | ResolvedPaddingEdges | ResolvedPaddingDirectional;
1844
1892
  }
1845
1893
  export interface ButtonSizes {
1846
1894
  xs: ButtonSize;
@@ -1859,19 +1907,19 @@ export interface IconButtonTheme {
1859
1907
  sizes: ButtonSizes;
1860
1908
  }
1861
1909
  export interface CardBase {
1862
- background_color: HexValue | Ref;
1863
- padding: PaddingTokenOrRef | PaddingAll | PaddingEdges | PaddingDirectional;
1910
+ background_color?: ResolvedColor;
1911
+ padding?: ResolvedPaddingAll | ResolvedPaddingEdges | ResolvedPaddingDirectional;
1864
1912
  border_width?: CssValue | Ref;
1865
1913
  border_style?: BorderStyle;
1866
- border_color?: HexValue | Ref;
1914
+ border_color?: ResolvedColor;
1867
1915
  border_radius?: BorderRadiusType | CssValue | Ref;
1868
1916
  }
1869
1917
  export interface CardVariant {
1870
- background_color: HexValue | Ref;
1871
- padding: PaddingTokenOrRef | PaddingAll | PaddingEdges | PaddingDirectional;
1918
+ background_color?: ResolvedColor;
1919
+ padding?: ResolvedPaddingAll | ResolvedPaddingEdges | ResolvedPaddingDirectional;
1872
1920
  border_width?: CssValue | Ref;
1873
1921
  border_style?: BorderStyle;
1874
- border_color?: HexValue | Ref;
1922
+ border_color?: ResolvedColor;
1875
1923
  border_radius?: BorderRadiusType | CssValue | Ref;
1876
1924
  }
1877
1925
  export interface CardVariants {
@@ -1884,20 +1932,20 @@ export interface CardTheme {
1884
1932
  variants: CardVariants;
1885
1933
  }
1886
1934
  export interface InputBase {
1887
- background_color?: HexValue | Ref;
1888
- color?: HexValue | Ref;
1935
+ background_color?: ResolvedColor;
1936
+ color?: ResolvedColor;
1889
1937
  border_width?: CssValue | Ref;
1890
1938
  border_style?: BorderStyle;
1891
- border_color?: HexValue | Ref;
1939
+ border_color?: ResolvedColor;
1892
1940
  border_radius?: BorderRadiusType | CssValue | Ref;
1893
1941
  alpha?: number;
1894
1942
  }
1895
1943
  export interface InputState {
1896
- background_color?: HexValue | Ref;
1897
- color?: HexValue | Ref;
1944
+ background_color?: ResolvedColor;
1945
+ color?: ResolvedColor;
1898
1946
  border_width?: CssValue | Ref;
1899
1947
  border_style?: BorderStyle;
1900
- border_color?: HexValue | Ref;
1948
+ border_color?: ResolvedColor;
1901
1949
  border_radius?: BorderRadiusType | CssValue | Ref;
1902
1950
  alpha?: number;
1903
1951
  }
@@ -1907,9 +1955,9 @@ export interface InputStates {
1907
1955
  focus: InputState;
1908
1956
  }
1909
1957
  export interface InputSize {
1910
- font_size?: FontSizeType | FontSizeToken | Ref;
1911
- font_weight?: FontWeightType | FontWeightToken | Ref;
1912
- padding?: PaddingTokenOrRef | PaddingAll | PaddingEdges | PaddingDirectional;
1958
+ font_size?: ResolvedRemValue | ResolvedPxValue | ResolvedEmValue;
1959
+ font_weight?: ResolvedFontWeight;
1960
+ padding?: ResolvedPaddingAll | ResolvedPaddingEdges | ResolvedPaddingDirectional;
1913
1961
  border_radius?: BorderRadiusType | CssValue | Ref;
1914
1962
  }
1915
1963
  export interface InputSizes {
@@ -1925,28 +1973,20 @@ export interface InputTheme {
1925
1973
  export interface ZIndexToken {
1926
1974
  value?: number | string;
1927
1975
  }
1928
- export declare enum ZIndexType {
1929
- hide = "hide",
1930
- auto = "auto",
1931
- base = "base",
1932
- dropdown = "dropdown",
1933
- sticky = "sticky",
1934
- modal = "modal",
1935
- popover = "popover",
1936
- toast = "toast",
1937
- tooltip = "tooltip"
1938
- }
1939
- export type ZIndex = ZIndexToken | ZIndexType | Ref;
1976
+ export interface ResolvedZIndex {
1977
+ ref?: string;
1978
+ value?: number | string;
1979
+ }
1940
1980
  export interface DialogBase {
1941
- background_color: HexValue | Ref;
1942
- padding: PaddingTokenOrRef | PaddingAll | PaddingEdges | PaddingDirectional;
1943
- margin?: MarginTokenOrRef | MarginAll | MarginEdges | MarginDirectional;
1981
+ background_color: ResolvedColor;
1982
+ padding: ResolvedPaddingAll | ResolvedPaddingEdges | ResolvedPaddingDirectional;
1983
+ margin?: ResolvedMarginAll | ResolvedMarginEdges | ResolvedMarginDirectional;
1944
1984
  border_width?: CssValue | Ref;
1945
1985
  border_style?: BorderStyle;
1946
- border_color?: HexValue | Ref;
1986
+ border_color?: ResolvedColor;
1947
1987
  border_radius?: BorderRadiusType | CssValue | Ref;
1948
- overlay_color?: HexValue | Ref;
1949
- z_index?: ZIndexToken | ZIndexType | Ref;
1988
+ overlay_color?: ResolvedColor;
1989
+ z_index?: ResolvedZIndex;
1950
1990
  }
1951
1991
  export interface DialogSize {
1952
1992
  width: string | number;
@@ -1965,23 +2005,23 @@ export interface DialogTheme {
1965
2005
  sizes: DialogSizes;
1966
2006
  }
1967
2007
  export interface TabItemBase {
1968
- background_color?: HexValue | Ref;
1969
- color?: HexValue | Ref;
2008
+ background_color?: ResolvedColor;
2009
+ color?: ResolvedColor;
1970
2010
  border_width?: CssValue | Ref;
1971
2011
  border_style?: BorderStyle;
1972
- border_color?: HexValue | Ref;
2012
+ border_color?: ResolvedColor;
1973
2013
  border_radius?: BorderRadiusType | CssValue | Ref;
1974
- padding?: PaddingTokenOrRef | PaddingAll | PaddingEdges | PaddingDirectional;
2014
+ padding?: ResolvedPaddingAll | ResolvedPaddingEdges | ResolvedPaddingDirectional;
1975
2015
  alpha?: number;
1976
2016
  }
1977
2017
  export interface TabsBase {
1978
- background_color?: HexValue | Ref;
1979
- color?: HexValue | Ref;
2018
+ background_color?: ResolvedColor;
2019
+ color?: ResolvedColor;
1980
2020
  border_width?: CssValue | Ref;
1981
2021
  border_style?: BorderStyle;
1982
- border_color?: HexValue | Ref;
2022
+ border_color?: ResolvedColor;
1983
2023
  border_radius?: BorderRadiusType | CssValue | Ref;
1984
- padding?: PaddingTokenOrRef | PaddingAll | PaddingEdges | PaddingDirectional;
2024
+ padding?: ResolvedPaddingAll | ResolvedPaddingEdges | ResolvedPaddingDirectional;
1985
2025
  item?: TabItemBase;
1986
2026
  }
1987
2027
  export interface TabsVariantStates {
@@ -1998,9 +2038,9 @@ export interface TabsVariants {
1998
2038
  ghost: TabsVariant;
1999
2039
  }
2000
2040
  export interface TabsSize {
2001
- font_size?: FontSizeType | FontSizeToken | Ref;
2002
- font_weight?: FontWeightType | FontWeightToken | Ref;
2003
- padding?: PaddingTokenOrRef | PaddingAll | PaddingEdges | PaddingDirectional;
2041
+ font_size?: ResolvedRemValue | ResolvedPxValue | ResolvedEmValue;
2042
+ font_weight?: ResolvedFontWeight;
2043
+ padding?: ResolvedPaddingAll | ResolvedPaddingEdges | ResolvedPaddingDirectional;
2004
2044
  border_width?: CssValue | Ref;
2005
2045
  border_radius?: BorderRadiusType | CssValue | Ref;
2006
2046
  item?: TabItemBase;
@@ -2011,43 +2051,42 @@ export interface TabsSizes {
2011
2051
  lg: TabsSize;
2012
2052
  }
2013
2053
  export interface TabsTheme {
2014
- base: TabsBase;
2015
2054
  variants: TabsVariants;
2016
2055
  sizes: TabsSizes;
2017
2056
  }
2018
2057
  export interface NavBase {
2019
- background_color?: HexValue | Ref;
2020
- color?: HexValue | Ref;
2058
+ background_color?: ResolvedColor;
2059
+ color?: ResolvedColor;
2021
2060
  border_width?: CssValue | Ref;
2022
2061
  border_style?: BorderStyle;
2023
- border_color?: HexValue | Ref;
2062
+ border_color?: ResolvedColor;
2024
2063
  border_radius?: BorderRadiusType | CssValue | Ref;
2025
- padding?: PaddingTokenOrRef | PaddingAll | PaddingEdges | PaddingDirectional;
2026
- z_index?: ZIndexToken | ZIndexType | Ref;
2064
+ padding?: ResolvedPaddingAll | ResolvedPaddingEdges | ResolvedPaddingDirectional;
2065
+ z_index?: ResolvedZIndex;
2027
2066
  }
2028
2067
  export interface NavState {
2029
- background_color?: HexValue | Ref;
2030
- color?: HexValue | Ref;
2068
+ background_color?: ResolvedColor;
2069
+ color?: ResolvedColor;
2031
2070
  border_width?: CssValue | Ref;
2032
2071
  border_style?: BorderStyle;
2033
- border_color?: HexValue | Ref;
2072
+ border_color?: ResolvedColor;
2034
2073
  border_radius?: BorderRadiusType | CssValue | Ref;
2035
- padding?: PaddingTokenOrRef | PaddingAll | PaddingEdges | PaddingDirectional;
2036
- z_index?: ZIndexToken | ZIndexType | Ref;
2074
+ padding?: ResolvedPaddingAll | ResolvedPaddingEdges | ResolvedPaddingDirectional;
2075
+ z_index?: ResolvedZIndex;
2037
2076
  }
2038
2077
  export interface NavStates {
2039
2078
  scrolled: NavState;
2040
2079
  }
2041
2080
  export interface NavItemBase {
2042
- background_color?: HexValue | Ref;
2043
- color?: HexValue | Ref;
2081
+ background_color?: ResolvedColor;
2082
+ color?: ResolvedColor;
2044
2083
  border_width?: CssValue | Ref;
2045
2084
  border_style?: BorderStyle;
2046
- border_color?: HexValue | Ref;
2085
+ border_color?: ResolvedColor;
2047
2086
  border_radius?: BorderRadiusType | CssValue | Ref;
2048
- padding?: PaddingTokenOrRef | PaddingAll | PaddingEdges | PaddingDirectional;
2049
- font_size?: FontSizeType | FontSizeToken | Ref;
2050
- font_weight?: FontWeightType | FontWeightToken | Ref;
2087
+ padding?: ResolvedPaddingAll | ResolvedPaddingEdges | ResolvedPaddingDirectional;
2088
+ font_size?: ResolvedRemValue | ResolvedPxValue | ResolvedEmValue;
2089
+ font_weight?: ResolvedFontWeight;
2051
2090
  alpha?: number;
2052
2091
  }
2053
2092
  export interface NavItemVariantStates {
@@ -2072,35 +2111,35 @@ export interface NavTheme {
2072
2111
  items: NavItemTheme;
2073
2112
  }
2074
2113
  export interface MenuBase {
2075
- background_color?: HexValue | Ref;
2114
+ background_color?: ResolvedColor;
2076
2115
  border_width?: CssValue | Ref;
2077
2116
  border_style?: BorderStyle;
2078
- border_color?: HexValue | Ref;
2117
+ border_color?: ResolvedColor;
2079
2118
  border_radius?: BorderRadiusType | CssValue | Ref;
2080
- padding?: PaddingTokenOrRef | PaddingAll | PaddingEdges | PaddingDirectional;
2119
+ padding?: ResolvedPaddingAll | ResolvedPaddingEdges | ResolvedPaddingDirectional;
2081
2120
  }
2082
2121
  export interface MenuItemBase {
2083
- background_color?: HexValue | Ref;
2084
- color?: HexValue | Ref;
2122
+ background_color?: ResolvedColor;
2123
+ color?: ResolvedColor;
2085
2124
  border_width?: CssValue | Ref;
2086
2125
  border_style?: BorderStyle;
2087
- border_color?: HexValue | Ref;
2126
+ border_color?: ResolvedColor;
2088
2127
  border_radius?: BorderRadiusType | CssValue | Ref;
2089
- padding?: PaddingTokenOrRef | PaddingAll | PaddingEdges | PaddingDirectional;
2090
- font_size?: FontSizeType | FontSizeToken | Ref;
2091
- font_weight?: FontWeightType | FontWeightToken | Ref;
2128
+ padding?: ResolvedPaddingAll | ResolvedPaddingEdges | ResolvedPaddingDirectional;
2129
+ font_size?: ResolvedRemValue | ResolvedPxValue | ResolvedEmValue;
2130
+ font_weight?: ResolvedFontWeight;
2092
2131
  alpha?: number;
2093
2132
  }
2094
2133
  export interface MenuItemState {
2095
- background_color?: HexValue | Ref;
2096
- color?: HexValue | Ref;
2134
+ background_color?: ResolvedColor;
2135
+ color?: ResolvedColor;
2097
2136
  border_width?: CssValue | Ref;
2098
2137
  border_style?: BorderStyle;
2099
- border_color?: HexValue | Ref;
2138
+ border_color?: ResolvedColor;
2100
2139
  border_radius?: BorderRadiusType | CssValue | Ref;
2101
- padding?: PaddingTokenOrRef | PaddingAll | PaddingEdges | PaddingDirectional;
2102
- font_size?: FontSizeType | FontSizeToken | Ref;
2103
- font_weight?: FontWeightType | FontWeightToken | Ref;
2140
+ padding?: ResolvedPaddingAll | ResolvedPaddingEdges | ResolvedPaddingDirectional;
2141
+ font_size?: ResolvedRemValue | ResolvedPxValue | ResolvedEmValue;
2142
+ font_weight?: ResolvedFontWeight;
2104
2143
  alpha?: number;
2105
2144
  }
2106
2145
  export interface NavItemStates {
@@ -2117,7 +2156,7 @@ export interface MenuTheme {
2117
2156
  item: MenuItemTheme;
2118
2157
  }
2119
2158
  export interface SeparatorBase {
2120
- background_color: HexValue | Ref;
2159
+ background_color: ResolvedColor;
2121
2160
  }
2122
2161
  export interface SeparatorTheme {
2123
2162
  primary: SeparatorBase;
@@ -2139,11 +2178,11 @@ export declare enum QrCodeEcLevel {
2139
2178
  h = "H"
2140
2179
  }
2141
2180
  export interface QrCodeBase {
2142
- background_color?: HexValue | Ref;
2143
- foreground_color?: HexValue | Ref;
2181
+ background_color?: ResolvedColor;
2182
+ foreground_color?: ResolvedColor;
2144
2183
  border_width?: CssValue | Ref;
2145
2184
  border_style?: BorderStyle;
2146
- border_color?: HexValue | Ref;
2185
+ border_color?: ResolvedColor;
2147
2186
  border_radius?: BorderRadiusType | CssValue | Ref;
2148
2187
  logo_image?: string;
2149
2188
  logo_width?: number;
@@ -2153,18 +2192,18 @@ export interface QrCodeBase {
2153
2192
  logo_padding?: number;
2154
2193
  logo_padding_style?: QrCodeLogoPaddingStyle;
2155
2194
  eye_radius?: number;
2156
- eye_color?: HexValue | Ref;
2195
+ eye_color?: ResolvedColor;
2157
2196
  qr_style?: QrCodeStyle;
2158
2197
  quiet_zone?: number;
2159
2198
  ec_level?: QrCodeEcLevel;
2160
- padding?: PaddingTokenOrRef | PaddingAll | PaddingEdges | PaddingDirectional;
2199
+ padding?: ResolvedPaddingAll | ResolvedPaddingEdges | ResolvedPaddingDirectional;
2161
2200
  }
2162
2201
  export interface QrCodeVariant {
2163
- background_color?: HexValue | Ref;
2164
- foreground_color?: HexValue | Ref;
2202
+ background_color?: ResolvedColor;
2203
+ foreground_color?: ResolvedColor;
2165
2204
  border_width?: CssValue | Ref;
2166
2205
  border_style?: BorderStyle;
2167
- border_color?: HexValue | Ref;
2206
+ border_color?: ResolvedColor;
2168
2207
  border_radius?: BorderRadiusType | CssValue | Ref;
2169
2208
  logo_image?: string;
2170
2209
  logo_width?: number;
@@ -2174,11 +2213,11 @@ export interface QrCodeVariant {
2174
2213
  logo_padding?: number;
2175
2214
  logo_padding_style?: QrCodeLogoPaddingStyle;
2176
2215
  eye_radius?: number;
2177
- eye_color?: HexValue | Ref;
2216
+ eye_color?: ResolvedColor;
2178
2217
  qr_style?: QrCodeStyle;
2179
2218
  quiet_zone?: number;
2180
2219
  ec_level?: QrCodeEcLevel;
2181
- padding?: PaddingTokenOrRef | PaddingAll | PaddingEdges | PaddingDirectional;
2220
+ padding?: ResolvedPaddingAll | ResolvedPaddingEdges | ResolvedPaddingDirectional;
2182
2221
  }
2183
2222
  export interface QrCodeVariants {
2184
2223
  primary: QrCodeVariant;
@@ -2189,13 +2228,13 @@ export interface QrCodeTheme {
2189
2228
  variants: QrCodeVariants;
2190
2229
  }
2191
2230
  export interface ProgressBase {
2192
- color?: HexValue | Ref;
2193
- background_color?: HexValue | Ref;
2231
+ color?: ResolvedColor;
2232
+ background_color?: ResolvedColor;
2194
2233
  stroke_width?: number;
2195
2234
  }
2196
2235
  export interface ProgressVariant {
2197
- color?: HexValue | Ref;
2198
- background_color?: HexValue | Ref;
2236
+ color?: ResolvedColor;
2237
+ background_color?: ResolvedColor;
2199
2238
  stroke_width?: number;
2200
2239
  }
2201
2240
  export interface ProgressVariants {
@@ -2219,10 +2258,10 @@ export interface ProgressTheme {
2219
2258
  sizes: ProgressSizes;
2220
2259
  }
2221
2260
  export interface FlairBase {
2222
- background_color?: HexValue | Ref;
2261
+ background_color?: ResolvedColor;
2223
2262
  }
2224
2263
  export interface FlairVariant {
2225
- background_color?: HexValue | Ref;
2264
+ background_color?: ResolvedColor;
2226
2265
  }
2227
2266
  export interface FlairVariants {
2228
2267
  primary: FlairVariant;
@@ -2251,14 +2290,14 @@ export declare enum TextAlign {
2251
2290
  export interface TypographyBase {
2252
2291
  as?: HeadingTag;
2253
2292
  font_family?: FontFamilyType | FontFamilyToken | Ref;
2254
- color?: HexValue | Ref;
2293
+ color?: ResolvedColor;
2255
2294
  text_align?: TextAlign;
2256
2295
  text_transform?: TextTransform;
2257
2296
  }
2258
2297
  export interface TypographyVariant {
2259
2298
  as?: HeadingTag;
2260
2299
  font_family?: FontFamilyType | FontFamilyToken | Ref;
2261
- color?: HexValue | Ref;
2300
+ color?: ResolvedColor;
2262
2301
  text_align?: TextAlign;
2263
2302
  text_transform?: TextTransform;
2264
2303
  }
@@ -2269,8 +2308,8 @@ export interface TypographyVariants {
2269
2308
  caption?: TypographyVariant;
2270
2309
  }
2271
2310
  export interface TypographySize {
2272
- font_size?: FontSizeType | FontSizeToken | Ref;
2273
- font_weight?: FontWeightType | FontWeightToken | Ref;
2311
+ font_size?: ResolvedRemValue | ResolvedPxValue | ResolvedEmValue;
2312
+ font_weight?: ResolvedFontWeight;
2274
2313
  line_height?: RemValue;
2275
2314
  letter_spacing?: number;
2276
2315
  }
@@ -2284,6 +2323,7 @@ export interface TypographySizes {
2284
2323
  "3xl"?: TypographySize;
2285
2324
  "4xl"?: TypographySize;
2286
2325
  "5xl"?: TypographySize;
2326
+ "6xl"?: TypographySize;
2287
2327
  }
2288
2328
  export interface TypographyTheme {
2289
2329
  base: TypographyBase;
@@ -2378,6 +2418,7 @@ export type AppTab = AppSampleTab | AppFeedTab | AppShopTab | AppSettingsTab | A
2378
2418
  export interface AppBootstrapResponseBody {
2379
2419
  tenant_id: string;
2380
2420
  application_id: string;
2421
+ template: ParraTemplateType;
2381
2422
  themes?: Array<ResolvedTheme>;
2382
2423
  tabs: Array<AppTab>;
2383
2424
  }
@@ -3025,7 +3066,22 @@ export interface CreateShopifySocialAccountRequestBody {
3025
3066
  discount_code?: string | null;
3026
3067
  attribution_source?: string | null;
3027
3068
  }
3028
- export type CreateSocialAccountRequestBody = CreateYoutubeSocialAccountRequestBody | CreateXSocialAccountRequestBody | CreateTiktokSocialAccountRequestBody | CreateInstagramSocialAccountRequestBody | CreateFacebookSocialAccountRequestBody | CreateTwitchSocialAccountRequestBody | CreateLinkedinSocialAccountRequestBody | CreateShopifySocialAccountRequestBody;
3069
+ export interface CreateWebsiteSocialAccountRequestBody {
3070
+ type: string;
3071
+ url: string;
3072
+ slug?: string | null;
3073
+ }
3074
+ export interface CreateRssSocialAccountRequestBody {
3075
+ type: string;
3076
+ url: string;
3077
+ }
3078
+ export interface CreateCustomSocialAccountRequestBody {
3079
+ type: string;
3080
+ slug?: string | null;
3081
+ handle?: string | null;
3082
+ url?: string | null;
3083
+ }
3084
+ export type CreateSocialAccountRequestBody = CreateYoutubeSocialAccountRequestBody | CreateXSocialAccountRequestBody | CreateTiktokSocialAccountRequestBody | CreateInstagramSocialAccountRequestBody | CreateFacebookSocialAccountRequestBody | CreateTwitchSocialAccountRequestBody | CreateLinkedinSocialAccountRequestBody | CreateShopifySocialAccountRequestBody | CreateWebsiteSocialAccountRequestBody | CreateRssSocialAccountRequestBody | CreateCustomSocialAccountRequestBody;
3029
3085
  export declare enum SocialAccountType {
3030
3086
  x = "x",
3031
3087
  youtube = "youtube",
@@ -3083,7 +3139,21 @@ export interface SocialAccountShopifyData {
3083
3139
  discount_code?: string | null;
3084
3140
  attribution_source?: string | null;
3085
3141
  }
3086
- export type SocialAccountData = SocialAccountYoutubeData | SocialAccountXData | SocialAccountTiktokData | SocialAccountInstagramData | SocialAccountFacebookData | SocialAccountTwitchData | SocialAccountLinkedinData | SocialAccountShopifyData;
3142
+ export interface SocialAccountWebsiteData {
3143
+ url: string;
3144
+ slug?: string | null;
3145
+ }
3146
+ export interface SocialAccountRssData {
3147
+ url: string;
3148
+ rss_feed_id: string;
3149
+ }
3150
+ export interface SocialAccountCustomData {
3151
+ type: string;
3152
+ slug?: string | null;
3153
+ handle?: string | null;
3154
+ url?: string | null;
3155
+ }
3156
+ export type SocialAccountData = SocialAccountYoutubeData | SocialAccountXData | SocialAccountTiktokData | SocialAccountInstagramData | SocialAccountFacebookData | SocialAccountTwitchData | SocialAccountLinkedinData | SocialAccountShopifyData | SocialAccountWebsiteData | SocialAccountRssData | SocialAccountCustomData;
3087
3157
  export interface SocialAccountYoutubeMetrics {
3088
3158
  last_synced_at: string;
3089
3159
  subscriber_count: number;
@@ -5362,6 +5432,8 @@ export interface Tenant {
5362
5432
  subdomain?: string | null;
5363
5433
  is_test: boolean;
5364
5434
  parent_tenant_id?: string | null;
5435
+ archetype?: TenantArchetype | null;
5436
+ archetype_other_description?: string | null;
5365
5437
  display_name?: string | null;
5366
5438
  logo?: ImageAssetStub | null;
5367
5439
  issuer: string;
@@ -5925,6 +5997,8 @@ export interface CreateTenantUserIdentityRequestBody {
5925
5997
  export interface UpdateTenantRequestBody {
5926
5998
  name?: string;
5927
5999
  display_name?: string | null;
6000
+ archetype?: TenantArchetype | null;
6001
+ archetype_other_description?: string | null;
5928
6002
  subdomain?: string | null;
5929
6003
  onboarding_skipped?: boolean;
5930
6004
  onboarding_goal?: TenantOnboardingGoal | null;
@@ -5943,6 +6017,8 @@ export interface CreateTenantForUserRequestBody {
5943
6017
  name: string;
5944
6018
  subdomain?: string | null;
5945
6019
  is_test: boolean;
6020
+ archetype?: TenantArchetype | null;
6021
+ archetype_other_description?: string | null;
5946
6022
  }
5947
6023
  export interface CreateMailSenderRequestBody {
5948
6024
  name?: string | null;
@@ -6405,7 +6481,7 @@ declare class ParraAPI {
6405
6481
  flagChatMessage: (tenant_id: string, message_id: string, body?: FlagMessageRequestBody, options?: Options) => Promise<Response>;
6406
6482
  addReactionToChatMessage: (tenant_id: string, message_id: string, body: CreateReactionRequestBody, options?: Options) => Promise<Reaction>;
6407
6483
  removeReactionFromChatMessage: (tenant_id: string, message_id: string, reaction_id: string, options?: Options) => Promise<Response>;
6408
- bootstrapTenantApplication: (tenant_id: string, application_id: string, options?: Options) => Promise<AppBootstrapResponseBody>;
6484
+ bootstrapTenantApplication: (tenant_id: string, application_id: string, body?: AppBootstrapRequestBody, options?: Options) => Promise<AppBootstrapResponseBody>;
6409
6485
  createCourse: (tenant_id: string, body: CreateCourseRequestBody, options?: Options) => Promise<Course>;
6410
6486
  listCourses: (tenant_id: string, options?: Options) => Promise<Array<Course>>;
6411
6487
  createCheckoutSessionForCourse: (tenant_id: string, course_id: string, body: CreateCourseCheckoutSessionRequestBody, options?: Options) => Promise<AppCheckoutSession>;
package/dist/ParraAPI.js CHANGED
@@ -11,8 +11,8 @@ var __assign = (this && this.__assign) || function () {
11
11
  return __assign.apply(this, arguments);
12
12
  };
13
13
  Object.defineProperty(exports, "__esModule", { value: true });
14
- exports.CreatorUpdateStatus = exports.CreatorUpdateVisibilityType = exports.CreatorUpdateTopic = exports.LessonType = exports.TextAlign = exports.HeadingTag = exports.QrCodeEcLevel = exports.QrCodeStyle = exports.QrCodeLogoPaddingStyle = exports.ZIndexType = exports.BorderRadiusType = exports.BorderStyle = exports.TextTransform = exports.FontFamilyType = exports.FontWeightType = exports.FontSizeType = exports.AttachmentType = exports.ChannelMemberRole = exports.ChannelMemberType = exports.ChatChannelStatus = exports.ChatChannelType = exports.BillingSourceType = exports.ApplePurchaseType = exports.ApplePurchaseEnvironment = exports.PurchaseEnvironment = exports.PurchasePlatform = exports.PurchaseStatus = exports.PurchaseType = exports.PaywallIapType = exports.AppPaywallType = exports.ShareAssetType = exports.DesignTokenType = exports.ThemeCornerRadiusStyle = exports.SubscriptionStatus = exports.Interval = exports.Currency = exports.FeedbackFormFieldType = exports.ContentCardActionType = exports.IdentityType = exports.PolicyDocumentType = exports.AppleSsoScope = exports.DomainStatus = exports.DomainType = exports.ApplicationType = exports.ReleaseType = exports.ReleaseStatus = exports.TicketIconType = exports.TicketPriority = exports.TicketStatus = exports.TicketType = void 0;
15
- exports.PolicyDocumentVersionStatus = exports.PolicyDocumentStatus = exports.MailTemplateStatus = exports.MailTemplateVersionStatus = exports.MailTemplateType = exports.TenantUserMetricType = exports.IntegrationScope = exports.IntegrationConnectionStatus = exports.IntegrationType = exports.ConnectedAppConnectionStatus = exports.ConnectedAppType = exports.TenantOnboardingGoal = exports.DashboardChecklistItemStatus = exports.DashboardChecklistItemType = exports.RefreshTokenRotationType = exports.RefreshTokenExpirationType = exports.JwtAlgorithm = exports.GrantType = exports.ClientType = exports.PasswordlessStrategy = exports.SsoProvider = exports.SettingsItemType = exports.ApnsPushType = exports.ApnsEnvironment = exports.ChannelType = exports.AppVersionStatus = exports.TicketDisplayStatus = exports.UserNoteStatus = exports.TicketLinkType = exports.BoardType = exports.TemplateType = exports.CampaignStatus = exports.CampaignActionDisplayType = exports.CampaignActionType = exports.CardItemDisplayType = exports.CardItemType = exports.QuestionKind = exports.QuestionType = exports.SubmitCommentReviewStatus = exports.CommentReviewStatus = exports.FeedChannelType = exports.ReactionType = exports.FeedItemType = exports.SocialAccountType = exports.CreatorUpdateGiveawayCriteria = exports.CreatorUpdateChannelType = void 0;
14
+ exports.CreatorUpdateVisibilityType = exports.CreatorUpdateTopic = exports.LessonType = exports.TextAlign = exports.HeadingTag = exports.QrCodeEcLevel = exports.QrCodeStyle = exports.QrCodeLogoPaddingStyle = exports.BorderRadiusType = exports.BorderStyle = exports.TextTransform = exports.FontFamilyType = exports.FontWeightType = exports.FontSizeType = exports.ParraTemplateType = exports.AttachmentType = exports.ChannelMemberRole = exports.ChannelMemberType = exports.ChatChannelStatus = exports.ChatChannelType = exports.BillingSourceType = exports.ApplePurchaseType = exports.ApplePurchaseEnvironment = exports.PurchaseEnvironment = exports.PurchasePlatform = exports.PurchaseStatus = exports.PurchaseType = exports.PaywallIapType = exports.AppPaywallType = exports.ShareAssetType = exports.DesignTokenType = exports.ThemeCornerRadiusStyle = exports.SubscriptionStatus = exports.Interval = exports.Currency = exports.FeedbackFormFieldType = exports.ContentCardActionType = exports.IdentityType = exports.PolicyDocumentType = exports.AppleSsoScope = exports.TenantArchetype = exports.DomainStatus = exports.DomainType = exports.ApplicationType = exports.ReleaseType = exports.ReleaseStatus = exports.TicketIconType = exports.TicketPriority = exports.TicketStatus = exports.TicketType = void 0;
15
+ exports.PolicyDocumentVersionStatus = exports.PolicyDocumentStatus = exports.MailTemplateStatus = exports.MailTemplateVersionStatus = exports.MailTemplateType = exports.TenantUserMetricType = exports.IntegrationScope = exports.IntegrationConnectionStatus = exports.IntegrationType = exports.ConnectedAppConnectionStatus = exports.ConnectedAppType = exports.TenantOnboardingGoal = exports.DashboardChecklistItemStatus = exports.DashboardChecklistItemType = exports.RefreshTokenRotationType = exports.RefreshTokenExpirationType = exports.JwtAlgorithm = exports.GrantType = exports.ClientType = exports.PasswordlessStrategy = exports.SsoProvider = exports.SettingsItemType = exports.ApnsPushType = exports.ApnsEnvironment = exports.ChannelType = exports.AppVersionStatus = exports.TicketDisplayStatus = exports.UserNoteStatus = exports.TicketLinkType = exports.BoardType = exports.TemplateType = exports.CampaignStatus = exports.CampaignActionDisplayType = exports.CampaignActionType = exports.CardItemDisplayType = exports.CardItemType = exports.QuestionKind = exports.QuestionType = exports.SubmitCommentReviewStatus = exports.CommentReviewStatus = exports.FeedChannelType = exports.ReactionType = exports.FeedItemType = exports.SocialAccountType = exports.CreatorUpdateGiveawayCriteria = exports.CreatorUpdateChannelType = exports.CreatorUpdateStatus = void 0;
16
16
  var TicketType;
17
17
  (function (TicketType) {
18
18
  TicketType["bug"] = "bug";
@@ -80,6 +80,13 @@ var DomainStatus;
80
80
  DomainStatus["disabled"] = "disabled";
81
81
  DomainStatus["deleted"] = "deleted";
82
82
  })(DomainStatus || (exports.DomainStatus = DomainStatus = {}));
83
+ var TenantArchetype;
84
+ (function (TenantArchetype) {
85
+ TenantArchetype["custom"] = "custom";
86
+ TenantArchetype["podcast"] = "podcast";
87
+ TenantArchetype["contentCreator"] = "content_creator";
88
+ TenantArchetype["other"] = "other";
89
+ })(TenantArchetype || (exports.TenantArchetype = TenantArchetype = {}));
83
90
  var AppleSsoScope;
84
91
  (function (AppleSsoScope) {
85
92
  AppleSsoScope["fullName"] = "full_name";
@@ -223,6 +230,14 @@ var AttachmentType;
223
230
  (function (AttachmentType) {
224
231
  AttachmentType["image"] = "image";
225
232
  })(AttachmentType || (exports.AttachmentType = AttachmentType = {}));
233
+ var ParraTemplateType;
234
+ (function (ParraTemplateType) {
235
+ ParraTemplateType["default"] = "default";
236
+ ParraTemplateType["revenueCat"] = "revenue-cat";
237
+ ParraTemplateType["shopifyStorefront"] = "shopify-storefront";
238
+ ParraTemplateType["yc"] = "yc";
239
+ ParraTemplateType["podcast"] = "podcast";
240
+ })(ParraTemplateType || (exports.ParraTemplateType = ParraTemplateType = {}));
226
241
  var FontSizeType;
227
242
  (function (FontSizeType) {
228
243
  FontSizeType["xs"] = "xs";
@@ -234,6 +249,7 @@ var FontSizeType;
234
249
  FontSizeType["3xl"] = "3xl";
235
250
  FontSizeType["4xl"] = "4xl";
236
251
  FontSizeType["5xl"] = "5xl";
252
+ FontSizeType["6xl"] = "6xl";
237
253
  })(FontSizeType || (exports.FontSizeType = FontSizeType = {}));
238
254
  var FontWeightType;
239
255
  (function (FontWeightType) {
@@ -274,18 +290,6 @@ var BorderRadiusType;
274
290
  BorderRadiusType["2xl"] = "2xl";
275
291
  BorderRadiusType["full"] = "full";
276
292
  })(BorderRadiusType || (exports.BorderRadiusType = BorderRadiusType = {}));
277
- var ZIndexType;
278
- (function (ZIndexType) {
279
- ZIndexType["hide"] = "hide";
280
- ZIndexType["auto"] = "auto";
281
- ZIndexType["base"] = "base";
282
- ZIndexType["dropdown"] = "dropdown";
283
- ZIndexType["sticky"] = "sticky";
284
- ZIndexType["modal"] = "modal";
285
- ZIndexType["popover"] = "popover";
286
- ZIndexType["toast"] = "toast";
287
- ZIndexType["tooltip"] = "tooltip";
288
- })(ZIndexType || (exports.ZIndexType = ZIndexType = {}));
289
293
  var QrCodeLogoPaddingStyle;
290
294
  (function (QrCodeLogoPaddingStyle) {
291
295
  QrCodeLogoPaddingStyle["square"] = "square";
@@ -1165,9 +1169,11 @@ var ParraAPI = /** @class */ (function () {
1165
1169
  if (options === void 0) { options = {}; }
1166
1170
  return _this.http.execute(__assign({ path: "".concat(_this.options.baseUrl, "/v1/tenants/").concat(tenant_id, "/chat/messages/").concat(message_id, "/reactions/").concat(reaction_id), method: "delete" }, options));
1167
1171
  };
1168
- this.bootstrapTenantApplication = function (tenant_id, application_id, options) {
1172
+ this.bootstrapTenantApplication = function (tenant_id, application_id, body, options) {
1169
1173
  if (options === void 0) { options = {}; }
1170
- return _this.http.execute(__assign({ path: "".concat(_this.options.baseUrl, "/v1/tenants/").concat(tenant_id, "/applications/").concat(application_id, "/bootstrap"), method: "post" }, options));
1174
+ return _this.http.execute(__assign({ path: "".concat(_this.options.baseUrl, "/v1/tenants/").concat(tenant_id, "/applications/").concat(application_id, "/bootstrap"), method: "post", body: JSON.stringify(body), headers: {
1175
+ "content-type": "application/json",
1176
+ } }, options));
1171
1177
  };
1172
1178
  this.createCourse = function (tenant_id, body, options) {
1173
1179
  if (options === void 0) { options = {}; }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@parra/parra-js-sdk",
3
- "version": "0.3.561",
3
+ "version": "0.3.562",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",