@parra/parra-js-sdk 0.3.558 → 0.3.561

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.
@@ -1509,6 +1509,878 @@ export interface Reaction {
1509
1509
  user_id: string;
1510
1510
  user: TenantUserNameStub;
1511
1511
  }
1512
+ export interface HexValue {
1513
+ hex_value: string;
1514
+ }
1515
+ export interface TransparentColorToken {
1516
+ transparent: boolean;
1517
+ }
1518
+ export interface PaletteColorSwatch {
1519
+ "50": HexValue;
1520
+ "100": HexValue;
1521
+ "200": HexValue;
1522
+ "300": HexValue;
1523
+ "400": HexValue;
1524
+ "500": HexValue;
1525
+ "600": HexValue;
1526
+ "700": HexValue;
1527
+ "800": HexValue;
1528
+ "900": HexValue;
1529
+ "950": HexValue;
1530
+ }
1531
+ export interface ResolvedPalette {
1532
+ white: HexValue;
1533
+ black: HexValue;
1534
+ transparent: TransparentColorToken;
1535
+ red: PaletteColorSwatch;
1536
+ orange: PaletteColorSwatch;
1537
+ amber: PaletteColorSwatch;
1538
+ yellow: PaletteColorSwatch;
1539
+ lime: PaletteColorSwatch;
1540
+ green: PaletteColorSwatch;
1541
+ emerald: PaletteColorSwatch;
1542
+ teal: PaletteColorSwatch;
1543
+ cyan: PaletteColorSwatch;
1544
+ sky: PaletteColorSwatch;
1545
+ blue: PaletteColorSwatch;
1546
+ indigo: PaletteColorSwatch;
1547
+ violet: PaletteColorSwatch;
1548
+ purple: PaletteColorSwatch;
1549
+ fuchsia: PaletteColorSwatch;
1550
+ pink: PaletteColorSwatch;
1551
+ rose: PaletteColorSwatch;
1552
+ slate: PaletteColorSwatch;
1553
+ gray: PaletteColorSwatch;
1554
+ zinc: PaletteColorSwatch;
1555
+ neutral: PaletteColorSwatch;
1556
+ stone: PaletteColorSwatch;
1557
+ primary: PaletteColorSwatch;
1558
+ secondary: PaletteColorSwatch;
1559
+ success: PaletteColorSwatch;
1560
+ warning: PaletteColorSwatch;
1561
+ danger: PaletteColorSwatch;
1562
+ info: PaletteColorSwatch;
1563
+ tertiary: PaletteColorSwatch;
1564
+ accent: PaletteColorSwatch;
1565
+ }
1566
+ export interface ResolvedColors {
1567
+ }
1568
+ export interface RemValue {
1569
+ rem_value: number;
1570
+ }
1571
+ export interface PxValue {
1572
+ px_value: number;
1573
+ }
1574
+ export interface EmValue {
1575
+ em_value: number;
1576
+ }
1577
+ export type CssValue = RemValue | PxValue | EmValue;
1578
+ export interface SpacingTheme {
1579
+ "0"?: RemValue | PxValue | EmValue;
1580
+ "1"?: RemValue | PxValue | EmValue;
1581
+ "2"?: RemValue | PxValue | EmValue;
1582
+ "3"?: RemValue | PxValue | EmValue;
1583
+ "4"?: RemValue | PxValue | EmValue;
1584
+ "5"?: RemValue | PxValue | EmValue;
1585
+ "6"?: RemValue | PxValue | EmValue;
1586
+ "7"?: RemValue | PxValue | EmValue;
1587
+ "8"?: RemValue | PxValue | EmValue;
1588
+ "10"?: RemValue | PxValue | EmValue;
1589
+ "12"?: RemValue | PxValue | EmValue;
1590
+ "16"?: RemValue | PxValue | EmValue;
1591
+ "20"?: RemValue | PxValue | EmValue;
1592
+ "24"?: RemValue | PxValue | EmValue;
1593
+ "32"?: RemValue | PxValue | EmValue;
1594
+ "0.25"?: RemValue | PxValue | EmValue;
1595
+ "0.5"?: RemValue | PxValue | EmValue;
1596
+ "0.75"?: RemValue | PxValue | EmValue;
1597
+ "1.25"?: RemValue | PxValue | EmValue;
1598
+ "1.5"?: RemValue | PxValue | EmValue;
1599
+ "1.75"?: RemValue | PxValue | EmValue;
1600
+ "2.5"?: RemValue | PxValue | EmValue;
1601
+ "3.5"?: RemValue | PxValue | EmValue;
1602
+ "4.5"?: RemValue | PxValue | EmValue;
1603
+ "5.5"?: RemValue | PxValue | EmValue;
1604
+ }
1605
+ export declare enum FontSizeType {
1606
+ xs = "xs",
1607
+ sm = "sm",
1608
+ md = "md",
1609
+ lg = "lg",
1610
+ xl = "xl",
1611
+ "2xl" = "2xl",
1612
+ "3xl" = "3xl",
1613
+ "4xl" = "4xl",
1614
+ "5xl" = "5xl"
1615
+ }
1616
+ export type FontSizeToken = CssValue;
1617
+ export interface Ref {
1618
+ ref: string;
1619
+ }
1620
+ export type FontSize = FontSizeType | FontSizeToken | Ref;
1621
+ export interface FontSizes {
1622
+ xs?: FontSizeType | FontSizeToken | Ref;
1623
+ sm?: FontSizeType | FontSizeToken | Ref;
1624
+ md?: FontSizeType | FontSizeToken | Ref;
1625
+ lg?: FontSizeType | FontSizeToken | Ref;
1626
+ xl?: FontSizeType | FontSizeToken | Ref;
1627
+ "2xl"?: FontSizeType | FontSizeToken | Ref;
1628
+ "3xl"?: FontSizeType | FontSizeToken | Ref;
1629
+ "4xl"?: FontSizeType | FontSizeToken | Ref;
1630
+ }
1631
+ export declare enum FontWeightType {
1632
+ light = "light",
1633
+ regular = "regular",
1634
+ medium = "medium",
1635
+ semibold = "semibold",
1636
+ bold = "bold",
1637
+ extrabold = "extrabold",
1638
+ black = "black"
1639
+ }
1640
+ export interface FontWeightToken {
1641
+ value: number;
1642
+ }
1643
+ export type FontWeight = FontWeightType | FontWeightToken | Ref;
1644
+ export interface FontWeights {
1645
+ light?: FontWeightType | FontWeightToken | Ref;
1646
+ regular?: FontWeightType | FontWeightToken | Ref;
1647
+ medium?: FontWeightType | FontWeightToken | Ref;
1648
+ semibold?: FontWeightType | FontWeightToken | Ref;
1649
+ bold?: FontWeightType | FontWeightToken | Ref;
1650
+ extrabold?: FontWeightType | FontWeightToken | Ref;
1651
+ black?: FontWeightType | FontWeightToken | Ref;
1652
+ }
1653
+ export interface LineHeights {
1654
+ tight: RemValue;
1655
+ normal: RemValue;
1656
+ relaxed: RemValue;
1657
+ }
1658
+ export declare enum FontFamilyType {
1659
+ base = "base",
1660
+ heading = "heading",
1661
+ monospace = "monospace"
1662
+ }
1663
+ export type FontFamilyToken = string;
1664
+ export type FontFamily = FontFamilyType | FontFamilyToken | Ref;
1665
+ export interface FontFamilies {
1666
+ base?: FontFamilyType | FontFamilyToken | Ref;
1667
+ heading?: FontFamilyType | FontFamilyToken | Ref;
1668
+ monospace?: FontFamilyType | FontFamilyToken | Ref;
1669
+ }
1670
+ export interface ResolvedTypography {
1671
+ font_size: FontSizes;
1672
+ font_weight: FontWeights;
1673
+ line_height: LineHeights;
1674
+ font_family: FontFamilies;
1675
+ }
1676
+ export type Color = HexValue | Ref;
1677
+ export declare enum TextTransform {
1678
+ none = "none",
1679
+ uppercase = "uppercase",
1680
+ lowercase = "lowercase",
1681
+ capitalize = "capitalize"
1682
+ }
1683
+ export interface MarginToken {
1684
+ value?: string;
1685
+ }
1686
+ export type MarginTokenOrRef = MarginToken | Ref;
1687
+ export interface MarginAll {
1688
+ all?: MarginToken | Ref;
1689
+ }
1690
+ export interface MarginEdges {
1691
+ top?: MarginToken | Ref;
1692
+ right?: MarginToken | Ref;
1693
+ bottom?: MarginToken | Ref;
1694
+ left?: MarginToken | Ref;
1695
+ }
1696
+ export interface MarginDirectional {
1697
+ vertical?: MarginToken | Ref;
1698
+ horizontal?: MarginToken | Ref;
1699
+ }
1700
+ export type Margin = MarginTokenOrRef | MarginAll | MarginEdges | MarginDirectional;
1701
+ export interface PaddingToken {
1702
+ value?: string;
1703
+ }
1704
+ export type PaddingTokenOrRef = PaddingToken | Ref;
1705
+ export interface PaddingAll {
1706
+ all?: PaddingToken | Ref;
1707
+ }
1708
+ export interface PaddingEdges {
1709
+ top?: PaddingToken | Ref;
1710
+ right?: PaddingToken | Ref;
1711
+ bottom?: PaddingToken | Ref;
1712
+ left?: PaddingToken | Ref;
1713
+ }
1714
+ export interface PaddingDirectional {
1715
+ vertical?: PaddingToken | Ref;
1716
+ horizontal?: PaddingToken | Ref;
1717
+ }
1718
+ export type Padding = PaddingTokenOrRef | PaddingAll | PaddingEdges | PaddingDirectional;
1719
+ export interface FormLabelTheme {
1720
+ font_family?: FontFamilyType | FontFamilyToken | Ref;
1721
+ color?: HexValue | Ref;
1722
+ text_transform?: TextTransform;
1723
+ font_size?: FontSizeType | FontSizeToken | Ref;
1724
+ font_weight?: FontWeightType | FontWeightToken | Ref;
1725
+ line_height?: RemValue;
1726
+ letter_spacing?: number;
1727
+ margin?: MarginTokenOrRef | MarginAll | MarginEdges | MarginDirectional;
1728
+ padding?: PaddingTokenOrRef | PaddingAll | PaddingEdges | PaddingDirectional;
1729
+ }
1730
+ export interface FormTheme {
1731
+ label: FormLabelTheme;
1732
+ }
1733
+ export interface BackgroundTheme {
1734
+ primary: HexValue | Ref;
1735
+ secondary: HexValue | Ref;
1736
+ }
1737
+ export declare enum BorderStyle {
1738
+ solid = "solid",
1739
+ dashed = "dashed",
1740
+ dotted = "dotted"
1741
+ }
1742
+ export type BorderWidth = CssValue | Ref;
1743
+ export declare enum BorderRadiusType {
1744
+ none = "none",
1745
+ sm = "sm",
1746
+ md = "md",
1747
+ lg = "lg",
1748
+ xl = "xl",
1749
+ "2xl" = "2xl",
1750
+ full = "full"
1751
+ }
1752
+ export type BorderRadius = BorderRadiusType | CssValue | Ref;
1753
+ export interface BadgeSize {
1754
+ font_size?: FontSizeType | FontSizeToken | Ref;
1755
+ font_weight?: FontWeightType | FontWeightToken | Ref;
1756
+ padding?: PaddingTokenOrRef | PaddingAll | PaddingEdges | PaddingDirectional;
1757
+ border_width?: CssValue | Ref;
1758
+ border_radius?: BorderRadiusType | CssValue | Ref;
1759
+ }
1760
+ export interface BadgeBase {
1761
+ font_size?: FontSizeType | FontSizeToken | Ref;
1762
+ font_weight?: FontWeightType | FontWeightToken | Ref;
1763
+ padding?: PaddingTokenOrRef | PaddingAll | PaddingEdges | PaddingDirectional;
1764
+ border_width?: CssValue | Ref;
1765
+ border_radius?: BorderRadiusType | CssValue | Ref;
1766
+ background_color?: HexValue | Ref;
1767
+ color?: HexValue | Ref;
1768
+ border_style?: BorderStyle;
1769
+ border_color?: HexValue | Ref;
1770
+ alpha?: number;
1771
+ }
1772
+ export interface BadgeVariant {
1773
+ background_color?: HexValue | Ref;
1774
+ color?: HexValue | Ref;
1775
+ border_style?: BorderStyle;
1776
+ border_color?: HexValue | Ref;
1777
+ padding?: PaddingTokenOrRef | PaddingAll | PaddingEdges | PaddingDirectional;
1778
+ alpha?: number;
1779
+ font_size?: FontSizeType | FontSizeToken | Ref;
1780
+ font_weight?: FontWeightType | FontWeightToken | Ref;
1781
+ border_width?: CssValue | Ref;
1782
+ border_radius?: BorderRadiusType | CssValue | Ref;
1783
+ }
1784
+ export interface BadgeVariants {
1785
+ primary: BadgeVariant;
1786
+ secondary: BadgeVariant;
1787
+ accent: BadgeVariant;
1788
+ success: BadgeVariant;
1789
+ warning: BadgeVariant;
1790
+ danger: BadgeVariant;
1791
+ info: BadgeVariant;
1792
+ }
1793
+ export interface BadgeSizes {
1794
+ "2xs": BadgeSize;
1795
+ xs: BadgeSize;
1796
+ sm: BadgeSize;
1797
+ md: BadgeSize;
1798
+ lg: BadgeSize;
1799
+ }
1800
+ export interface BadgeTheme {
1801
+ base: BadgeBase;
1802
+ variants: BadgeVariants;
1803
+ sizes: BadgeSizes;
1804
+ }
1805
+ export interface ButtonBase {
1806
+ background_color?: HexValue | Ref;
1807
+ color?: HexValue | Ref;
1808
+ border_width?: CssValue | Ref;
1809
+ border_style?: BorderStyle;
1810
+ border_color?: HexValue | Ref;
1811
+ border_radius?: BorderRadiusType | CssValue | Ref;
1812
+ alpha?: number;
1813
+ }
1814
+ export interface ButtonState {
1815
+ background_color?: HexValue | Ref;
1816
+ color?: HexValue | Ref;
1817
+ border_width?: CssValue | Ref;
1818
+ border_style?: BorderStyle;
1819
+ border_color?: HexValue | Ref;
1820
+ border_radius?: BorderRadiusType | CssValue | Ref;
1821
+ alpha?: number;
1822
+ }
1823
+ export interface ButtonVariantStates {
1824
+ hover: ButtonState;
1825
+ focus: ButtonState;
1826
+ disabled: ButtonState;
1827
+ }
1828
+ export interface ButtonVariant {
1829
+ base: ButtonBase;
1830
+ states: ButtonVariantStates;
1831
+ }
1832
+ export interface ButtonVariants {
1833
+ primary: ButtonVariant;
1834
+ secondary: ButtonVariant;
1835
+ ghost: ButtonVariant;
1836
+ destructive: ButtonVariant;
1837
+ }
1838
+ export interface ButtonSize {
1839
+ font_size?: FontSizeType | FontSizeToken | Ref;
1840
+ font_weight?: FontWeightType | FontWeightToken | Ref;
1841
+ border_width?: CssValue | Ref;
1842
+ border_radius?: BorderRadiusType | CssValue | Ref;
1843
+ padding?: PaddingTokenOrRef | PaddingAll | PaddingEdges | PaddingDirectional;
1844
+ }
1845
+ export interface ButtonSizes {
1846
+ xs: ButtonSize;
1847
+ sm: ButtonSize;
1848
+ md: ButtonSize;
1849
+ lg: ButtonSize;
1850
+ xl: ButtonSize;
1851
+ "2xl": ButtonSize;
1852
+ }
1853
+ export interface ButtonTheme {
1854
+ variants: ButtonVariants;
1855
+ sizes: ButtonSizes;
1856
+ }
1857
+ export interface IconButtonTheme {
1858
+ variants: ButtonVariants;
1859
+ sizes: ButtonSizes;
1860
+ }
1861
+ export interface CardBase {
1862
+ background_color: HexValue | Ref;
1863
+ padding: PaddingTokenOrRef | PaddingAll | PaddingEdges | PaddingDirectional;
1864
+ border_width?: CssValue | Ref;
1865
+ border_style?: BorderStyle;
1866
+ border_color?: HexValue | Ref;
1867
+ border_radius?: BorderRadiusType | CssValue | Ref;
1868
+ }
1869
+ export interface CardVariant {
1870
+ background_color: HexValue | Ref;
1871
+ padding: PaddingTokenOrRef | PaddingAll | PaddingEdges | PaddingDirectional;
1872
+ border_width?: CssValue | Ref;
1873
+ border_style?: BorderStyle;
1874
+ border_color?: HexValue | Ref;
1875
+ border_radius?: BorderRadiusType | CssValue | Ref;
1876
+ }
1877
+ export interface CardVariants {
1878
+ elevated: CardVariant;
1879
+ outlined: CardVariant;
1880
+ secondary: CardVariant;
1881
+ }
1882
+ export interface CardTheme {
1883
+ base: CardBase;
1884
+ variants: CardVariants;
1885
+ }
1886
+ export interface InputBase {
1887
+ background_color?: HexValue | Ref;
1888
+ color?: HexValue | Ref;
1889
+ border_width?: CssValue | Ref;
1890
+ border_style?: BorderStyle;
1891
+ border_color?: HexValue | Ref;
1892
+ border_radius?: BorderRadiusType | CssValue | Ref;
1893
+ alpha?: number;
1894
+ }
1895
+ export interface InputState {
1896
+ background_color?: HexValue | Ref;
1897
+ color?: HexValue | Ref;
1898
+ border_width?: CssValue | Ref;
1899
+ border_style?: BorderStyle;
1900
+ border_color?: HexValue | Ref;
1901
+ border_radius?: BorderRadiusType | CssValue | Ref;
1902
+ alpha?: number;
1903
+ }
1904
+ export interface InputStates {
1905
+ disabled: InputState;
1906
+ error: InputState;
1907
+ focus: InputState;
1908
+ }
1909
+ export interface InputSize {
1910
+ font_size?: FontSizeType | FontSizeToken | Ref;
1911
+ font_weight?: FontWeightType | FontWeightToken | Ref;
1912
+ padding?: PaddingTokenOrRef | PaddingAll | PaddingEdges | PaddingDirectional;
1913
+ border_radius?: BorderRadiusType | CssValue | Ref;
1914
+ }
1915
+ export interface InputSizes {
1916
+ sm: InputSize;
1917
+ md: InputSize;
1918
+ lg: InputSize;
1919
+ }
1920
+ export interface InputTheme {
1921
+ base: InputBase;
1922
+ states: InputStates;
1923
+ sizes: InputSizes;
1924
+ }
1925
+ export interface ZIndexToken {
1926
+ value?: number | string;
1927
+ }
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;
1940
+ export interface DialogBase {
1941
+ background_color: HexValue | Ref;
1942
+ padding: PaddingTokenOrRef | PaddingAll | PaddingEdges | PaddingDirectional;
1943
+ margin?: MarginTokenOrRef | MarginAll | MarginEdges | MarginDirectional;
1944
+ border_width?: CssValue | Ref;
1945
+ border_style?: BorderStyle;
1946
+ border_color?: HexValue | Ref;
1947
+ border_radius?: BorderRadiusType | CssValue | Ref;
1948
+ overlay_color?: HexValue | Ref;
1949
+ z_index?: ZIndexToken | ZIndexType | Ref;
1950
+ }
1951
+ export interface DialogSize {
1952
+ width: string | number;
1953
+ max_width?: string | number;
1954
+ max_height?: string | number;
1955
+ }
1956
+ export interface DialogSizes {
1957
+ sm: DialogSize;
1958
+ md: DialogSize;
1959
+ lg: DialogSize;
1960
+ xl: DialogSize;
1961
+ full: DialogSize;
1962
+ }
1963
+ export interface DialogTheme {
1964
+ base: DialogBase;
1965
+ sizes: DialogSizes;
1966
+ }
1967
+ export interface TabItemBase {
1968
+ background_color?: HexValue | Ref;
1969
+ color?: HexValue | Ref;
1970
+ border_width?: CssValue | Ref;
1971
+ border_style?: BorderStyle;
1972
+ border_color?: HexValue | Ref;
1973
+ border_radius?: BorderRadiusType | CssValue | Ref;
1974
+ padding?: PaddingTokenOrRef | PaddingAll | PaddingEdges | PaddingDirectional;
1975
+ alpha?: number;
1976
+ }
1977
+ export interface TabsBase {
1978
+ background_color?: HexValue | Ref;
1979
+ color?: HexValue | Ref;
1980
+ border_width?: CssValue | Ref;
1981
+ border_style?: BorderStyle;
1982
+ border_color?: HexValue | Ref;
1983
+ border_radius?: BorderRadiusType | CssValue | Ref;
1984
+ padding?: PaddingTokenOrRef | PaddingAll | PaddingEdges | PaddingDirectional;
1985
+ item?: TabItemBase;
1986
+ }
1987
+ export interface TabsVariantStates {
1988
+ active: TabsBase;
1989
+ hover: TabsBase;
1990
+ disabled: TabsBase;
1991
+ }
1992
+ export interface TabsVariant {
1993
+ base: TabsBase;
1994
+ states: TabsVariantStates;
1995
+ }
1996
+ export interface TabsVariants {
1997
+ primary: TabsVariant;
1998
+ ghost: TabsVariant;
1999
+ }
2000
+ export interface TabsSize {
2001
+ font_size?: FontSizeType | FontSizeToken | Ref;
2002
+ font_weight?: FontWeightType | FontWeightToken | Ref;
2003
+ padding?: PaddingTokenOrRef | PaddingAll | PaddingEdges | PaddingDirectional;
2004
+ border_width?: CssValue | Ref;
2005
+ border_radius?: BorderRadiusType | CssValue | Ref;
2006
+ item?: TabItemBase;
2007
+ }
2008
+ export interface TabsSizes {
2009
+ sm: TabsSize;
2010
+ md: TabsSize;
2011
+ lg: TabsSize;
2012
+ }
2013
+ export interface TabsTheme {
2014
+ base: TabsBase;
2015
+ variants: TabsVariants;
2016
+ sizes: TabsSizes;
2017
+ }
2018
+ export interface NavBase {
2019
+ background_color?: HexValue | Ref;
2020
+ color?: HexValue | Ref;
2021
+ border_width?: CssValue | Ref;
2022
+ border_style?: BorderStyle;
2023
+ border_color?: HexValue | Ref;
2024
+ border_radius?: BorderRadiusType | CssValue | Ref;
2025
+ padding?: PaddingTokenOrRef | PaddingAll | PaddingEdges | PaddingDirectional;
2026
+ z_index?: ZIndexToken | ZIndexType | Ref;
2027
+ }
2028
+ export interface NavState {
2029
+ background_color?: HexValue | Ref;
2030
+ color?: HexValue | Ref;
2031
+ border_width?: CssValue | Ref;
2032
+ border_style?: BorderStyle;
2033
+ border_color?: HexValue | Ref;
2034
+ border_radius?: BorderRadiusType | CssValue | Ref;
2035
+ padding?: PaddingTokenOrRef | PaddingAll | PaddingEdges | PaddingDirectional;
2036
+ z_index?: ZIndexToken | ZIndexType | Ref;
2037
+ }
2038
+ export interface NavStates {
2039
+ scrolled: NavState;
2040
+ }
2041
+ export interface NavItemBase {
2042
+ background_color?: HexValue | Ref;
2043
+ color?: HexValue | Ref;
2044
+ border_width?: CssValue | Ref;
2045
+ border_style?: BorderStyle;
2046
+ border_color?: HexValue | Ref;
2047
+ border_radius?: BorderRadiusType | CssValue | Ref;
2048
+ padding?: PaddingTokenOrRef | PaddingAll | PaddingEdges | PaddingDirectional;
2049
+ font_size?: FontSizeType | FontSizeToken | Ref;
2050
+ font_weight?: FontWeightType | FontWeightToken | Ref;
2051
+ alpha?: number;
2052
+ }
2053
+ export interface NavItemVariantStates {
2054
+ hover: NavItemBase;
2055
+ active: NavItemBase;
2056
+ disabled: NavItemBase;
2057
+ }
2058
+ export interface NavItemVariant {
2059
+ base: NavItemBase;
2060
+ states: NavItemVariantStates;
2061
+ }
2062
+ export interface NavItemVariants {
2063
+ primary: NavItemVariant;
2064
+ secondary: NavItemVariant;
2065
+ }
2066
+ export interface NavItemTheme {
2067
+ variants: NavItemVariants;
2068
+ }
2069
+ export interface NavTheme {
2070
+ base: NavBase;
2071
+ states: NavStates;
2072
+ items: NavItemTheme;
2073
+ }
2074
+ export interface MenuBase {
2075
+ background_color?: HexValue | Ref;
2076
+ border_width?: CssValue | Ref;
2077
+ border_style?: BorderStyle;
2078
+ border_color?: HexValue | Ref;
2079
+ border_radius?: BorderRadiusType | CssValue | Ref;
2080
+ padding?: PaddingTokenOrRef | PaddingAll | PaddingEdges | PaddingDirectional;
2081
+ }
2082
+ export interface MenuItemBase {
2083
+ background_color?: HexValue | Ref;
2084
+ color?: HexValue | Ref;
2085
+ border_width?: CssValue | Ref;
2086
+ border_style?: BorderStyle;
2087
+ border_color?: HexValue | Ref;
2088
+ border_radius?: BorderRadiusType | CssValue | Ref;
2089
+ padding?: PaddingTokenOrRef | PaddingAll | PaddingEdges | PaddingDirectional;
2090
+ font_size?: FontSizeType | FontSizeToken | Ref;
2091
+ font_weight?: FontWeightType | FontWeightToken | Ref;
2092
+ alpha?: number;
2093
+ }
2094
+ export interface MenuItemState {
2095
+ background_color?: HexValue | Ref;
2096
+ color?: HexValue | Ref;
2097
+ border_width?: CssValue | Ref;
2098
+ border_style?: BorderStyle;
2099
+ border_color?: HexValue | Ref;
2100
+ border_radius?: BorderRadiusType | CssValue | Ref;
2101
+ padding?: PaddingTokenOrRef | PaddingAll | PaddingEdges | PaddingDirectional;
2102
+ font_size?: FontSizeType | FontSizeToken | Ref;
2103
+ font_weight?: FontWeightType | FontWeightToken | Ref;
2104
+ alpha?: number;
2105
+ }
2106
+ export interface NavItemStates {
2107
+ hover: MenuItemState;
2108
+ active: MenuItemState;
2109
+ disabled: MenuItemState;
2110
+ }
2111
+ export interface MenuItemTheme {
2112
+ base: MenuItemBase;
2113
+ states: NavItemStates;
2114
+ }
2115
+ export interface MenuTheme {
2116
+ base: MenuBase;
2117
+ item: MenuItemTheme;
2118
+ }
2119
+ export interface SeparatorBase {
2120
+ background_color: HexValue | Ref;
2121
+ }
2122
+ export interface SeparatorTheme {
2123
+ primary: SeparatorBase;
2124
+ secondary: SeparatorBase;
2125
+ }
2126
+ export declare enum QrCodeLogoPaddingStyle {
2127
+ square = "square",
2128
+ circle = "circle"
2129
+ }
2130
+ export declare enum QrCodeStyle {
2131
+ squares = "squares",
2132
+ dots = "dots",
2133
+ fluid = "fluid"
2134
+ }
2135
+ export declare enum QrCodeEcLevel {
2136
+ l = "L",
2137
+ m = "M",
2138
+ q = "Q",
2139
+ h = "H"
2140
+ }
2141
+ export interface QrCodeBase {
2142
+ background_color?: HexValue | Ref;
2143
+ foreground_color?: HexValue | Ref;
2144
+ border_width?: CssValue | Ref;
2145
+ border_style?: BorderStyle;
2146
+ border_color?: HexValue | Ref;
2147
+ border_radius?: BorderRadiusType | CssValue | Ref;
2148
+ logo_image?: string;
2149
+ logo_width?: number;
2150
+ logo_height?: number;
2151
+ logo_opacity?: number;
2152
+ remove_qr_code_behind_logo?: boolean;
2153
+ logo_padding?: number;
2154
+ logo_padding_style?: QrCodeLogoPaddingStyle;
2155
+ eye_radius?: number;
2156
+ eye_color?: HexValue | Ref;
2157
+ qr_style?: QrCodeStyle;
2158
+ quiet_zone?: number;
2159
+ ec_level?: QrCodeEcLevel;
2160
+ padding?: PaddingTokenOrRef | PaddingAll | PaddingEdges | PaddingDirectional;
2161
+ }
2162
+ export interface QrCodeVariant {
2163
+ background_color?: HexValue | Ref;
2164
+ foreground_color?: HexValue | Ref;
2165
+ border_width?: CssValue | Ref;
2166
+ border_style?: BorderStyle;
2167
+ border_color?: HexValue | Ref;
2168
+ border_radius?: BorderRadiusType | CssValue | Ref;
2169
+ logo_image?: string;
2170
+ logo_width?: number;
2171
+ logo_height?: number;
2172
+ logo_opacity?: number;
2173
+ remove_qr_code_behind_logo?: boolean;
2174
+ logo_padding?: number;
2175
+ logo_padding_style?: QrCodeLogoPaddingStyle;
2176
+ eye_radius?: number;
2177
+ eye_color?: HexValue | Ref;
2178
+ qr_style?: QrCodeStyle;
2179
+ quiet_zone?: number;
2180
+ ec_level?: QrCodeEcLevel;
2181
+ padding?: PaddingTokenOrRef | PaddingAll | PaddingEdges | PaddingDirectional;
2182
+ }
2183
+ export interface QrCodeVariants {
2184
+ primary: QrCodeVariant;
2185
+ secondary: QrCodeVariant;
2186
+ }
2187
+ export interface QrCodeTheme {
2188
+ base: QrCodeBase;
2189
+ variants: QrCodeVariants;
2190
+ }
2191
+ export interface ProgressBase {
2192
+ color?: HexValue | Ref;
2193
+ background_color?: HexValue | Ref;
2194
+ stroke_width?: number;
2195
+ }
2196
+ export interface ProgressVariant {
2197
+ color?: HexValue | Ref;
2198
+ background_color?: HexValue | Ref;
2199
+ stroke_width?: number;
2200
+ }
2201
+ export interface ProgressVariants {
2202
+ primary: ProgressVariant;
2203
+ secondary: ProgressVariant;
2204
+ }
2205
+ export interface ProgressSize {
2206
+ size: number;
2207
+ stroke_width: number;
2208
+ }
2209
+ export interface ProgressSizes {
2210
+ xs: ProgressSize;
2211
+ sm: ProgressSize;
2212
+ md: ProgressSize;
2213
+ lg: ProgressSize;
2214
+ xl: ProgressSize;
2215
+ }
2216
+ export interface ProgressTheme {
2217
+ base: ProgressBase;
2218
+ variants: ProgressVariants;
2219
+ sizes: ProgressSizes;
2220
+ }
2221
+ export interface FlairBase {
2222
+ background_color?: HexValue | Ref;
2223
+ }
2224
+ export interface FlairVariant {
2225
+ background_color?: HexValue | Ref;
2226
+ }
2227
+ export interface FlairVariants {
2228
+ primary: FlairVariant;
2229
+ secondary: FlairVariant;
2230
+ accent: FlairVariant;
2231
+ }
2232
+ export interface FlairTheme {
2233
+ base: FlairBase;
2234
+ variants: FlairVariants;
2235
+ }
2236
+ export declare enum HeadingTag {
2237
+ h1 = "h1",
2238
+ h2 = "h2",
2239
+ h3 = "h3",
2240
+ h4 = "h4",
2241
+ h5 = "h5",
2242
+ h6 = "h6",
2243
+ p = "p",
2244
+ span = "span"
2245
+ }
2246
+ export declare enum TextAlign {
2247
+ left = "left",
2248
+ center = "center",
2249
+ right = "right"
2250
+ }
2251
+ export interface TypographyBase {
2252
+ as?: HeadingTag;
2253
+ font_family?: FontFamilyType | FontFamilyToken | Ref;
2254
+ color?: HexValue | Ref;
2255
+ text_align?: TextAlign;
2256
+ text_transform?: TextTransform;
2257
+ }
2258
+ export interface TypographyVariant {
2259
+ as?: HeadingTag;
2260
+ font_family?: FontFamilyType | FontFamilyToken | Ref;
2261
+ color?: HexValue | Ref;
2262
+ text_align?: TextAlign;
2263
+ text_transform?: TextTransform;
2264
+ }
2265
+ export interface TypographyVariants {
2266
+ heading?: TypographyVariant;
2267
+ subheading?: TypographyVariant;
2268
+ body?: TypographyVariant;
2269
+ caption?: TypographyVariant;
2270
+ }
2271
+ export interface TypographySize {
2272
+ font_size?: FontSizeType | FontSizeToken | Ref;
2273
+ font_weight?: FontWeightType | FontWeightToken | Ref;
2274
+ line_height?: RemValue;
2275
+ letter_spacing?: number;
2276
+ }
2277
+ export interface TypographySizes {
2278
+ xs?: TypographySize;
2279
+ sm?: TypographySize;
2280
+ md?: TypographySize;
2281
+ lg?: TypographySize;
2282
+ xl?: TypographySize;
2283
+ "2xl"?: TypographySize;
2284
+ "3xl"?: TypographySize;
2285
+ "4xl"?: TypographySize;
2286
+ "5xl"?: TypographySize;
2287
+ }
2288
+ export interface TypographyTheme {
2289
+ base: TypographyBase;
2290
+ variants: TypographyVariants;
2291
+ sizes: TypographySizes;
2292
+ }
2293
+ export interface ResolvedComponents {
2294
+ form: FormTheme;
2295
+ background: BackgroundTheme;
2296
+ badge: BadgeTheme;
2297
+ button: ButtonTheme;
2298
+ icon_button: IconButtonTheme;
2299
+ card: CardTheme;
2300
+ input: InputTheme;
2301
+ dialog: DialogTheme;
2302
+ tabs: TabsTheme;
2303
+ nav: NavTheme;
2304
+ menu: MenuTheme;
2305
+ separator: SeparatorTheme;
2306
+ qr_code: QrCodeTheme;
2307
+ progress: ProgressTheme;
2308
+ flair: FlairTheme;
2309
+ typography: TypographyTheme;
2310
+ }
2311
+ export interface ResolvedTokens {
2312
+ }
2313
+ export interface ResolvedTheme {
2314
+ id: string;
2315
+ design_system_id: string;
2316
+ name: string;
2317
+ key: string;
2318
+ is_dark: boolean;
2319
+ is_default: boolean;
2320
+ palette: ResolvedPalette;
2321
+ colors: ResolvedColors;
2322
+ spacing: SpacingTheme;
2323
+ typography: ResolvedTypography;
2324
+ components: ResolvedComponents;
2325
+ tokens: ResolvedTokens;
2326
+ }
2327
+ export interface AppTabEmptyStateCta {
2328
+ title: string;
2329
+ url?: string | null;
2330
+ }
2331
+ export interface AppTabEmptyState {
2332
+ title: string;
2333
+ subtitle?: string | null;
2334
+ sf_symbol?: string | null;
2335
+ cta?: AppTabEmptyStateCta | null;
2336
+ }
2337
+ export interface AppTabDescriptor {
2338
+ name: string;
2339
+ sf_symbol: string;
2340
+ }
2341
+ export interface AppSampleTab {
2342
+ title: string;
2343
+ type: string;
2344
+ empty_state?: AppTabEmptyState;
2345
+ tab: AppTabDescriptor;
2346
+ }
2347
+ export interface AppFeedTab {
2348
+ title: string;
2349
+ type: string;
2350
+ feed_id?: string;
2351
+ tab: AppTabDescriptor;
2352
+ empty_state?: AppTabEmptyState | null;
2353
+ }
2354
+ export interface AppShopTabShopifyConfiguration {
2355
+ domain: string;
2356
+ api_key: string;
2357
+ discount_code?: string | null;
2358
+ attribution_source?: string | null;
2359
+ }
2360
+ export interface AppShopTab {
2361
+ tab: AppTabDescriptor;
2362
+ title: string;
2363
+ type: string;
2364
+ shopify?: AppShopTabShopifyConfiguration | null;
2365
+ }
2366
+ export interface AppSettingsTab {
2367
+ tab: AppTabDescriptor;
2368
+ title: string;
2369
+ type: string;
2370
+ }
2371
+ export interface AppWebViewTab {
2372
+ tab: AppTabDescriptor;
2373
+ title: string;
2374
+ type: string;
2375
+ url: string;
2376
+ }
2377
+ export type AppTab = AppSampleTab | AppFeedTab | AppShopTab | AppSettingsTab | AppWebViewTab;
2378
+ export interface AppBootstrapResponseBody {
2379
+ tenant_id: string;
2380
+ application_id: string;
2381
+ themes?: Array<ResolvedTheme>;
2382
+ tabs: Array<AppTab>;
2383
+ }
1512
2384
  export interface UpdateCourseRequestBody {
1513
2385
  title?: string;
1514
2386
  description?: string | null;
@@ -2146,7 +3018,14 @@ export interface CreateLinkedinSocialAccountRequestBody {
2146
3018
  profile_id: string;
2147
3019
  connection_id?: string | null;
2148
3020
  }
2149
- export type CreateSocialAccountRequestBody = CreateYoutubeSocialAccountRequestBody | CreateXSocialAccountRequestBody | CreateTiktokSocialAccountRequestBody | CreateInstagramSocialAccountRequestBody | CreateFacebookSocialAccountRequestBody | CreateTwitchSocialAccountRequestBody | CreateLinkedinSocialAccountRequestBody;
3021
+ export interface CreateShopifySocialAccountRequestBody {
3022
+ type: string;
3023
+ domain: string;
3024
+ api_key: string;
3025
+ discount_code?: string | null;
3026
+ attribution_source?: string | null;
3027
+ }
3028
+ export type CreateSocialAccountRequestBody = CreateYoutubeSocialAccountRequestBody | CreateXSocialAccountRequestBody | CreateTiktokSocialAccountRequestBody | CreateInstagramSocialAccountRequestBody | CreateFacebookSocialAccountRequestBody | CreateTwitchSocialAccountRequestBody | CreateLinkedinSocialAccountRequestBody | CreateShopifySocialAccountRequestBody;
2150
3029
  export declare enum SocialAccountType {
2151
3030
  x = "x",
2152
3031
  youtube = "youtube",
@@ -2154,7 +3033,8 @@ export declare enum SocialAccountType {
2154
3033
  instagram = "instagram",
2155
3034
  facebook = "facebook",
2156
3035
  twitch = "twitch",
2157
- linkedin = "linkedin"
3036
+ linkedin = "linkedin",
3037
+ shopify = "shopify"
2158
3038
  }
2159
3039
  export interface SocialAccountYoutubeData {
2160
3040
  channel_handle: string;
@@ -2197,7 +3077,13 @@ export interface SocialAccountLinkedinData {
2197
3077
  profile_name?: string | null;
2198
3078
  profile_image_url?: string | null;
2199
3079
  }
2200
- export type SocialAccountData = SocialAccountYoutubeData | SocialAccountXData | SocialAccountTiktokData | SocialAccountInstagramData | SocialAccountFacebookData | SocialAccountTwitchData | SocialAccountLinkedinData;
3080
+ export interface SocialAccountShopifyData {
3081
+ domain: string;
3082
+ api_key: string;
3083
+ discount_code?: string | null;
3084
+ attribution_source?: string | null;
3085
+ }
3086
+ export type SocialAccountData = SocialAccountYoutubeData | SocialAccountXData | SocialAccountTiktokData | SocialAccountInstagramData | SocialAccountFacebookData | SocialAccountTwitchData | SocialAccountLinkedinData | SocialAccountShopifyData;
2201
3087
  export interface SocialAccountYoutubeMetrics {
2202
3088
  last_synced_at: string;
2203
3089
  subscriber_count: number;
@@ -5519,6 +6405,7 @@ declare class ParraAPI {
5519
6405
  flagChatMessage: (tenant_id: string, message_id: string, body?: FlagMessageRequestBody, options?: Options) => Promise<Response>;
5520
6406
  addReactionToChatMessage: (tenant_id: string, message_id: string, body: CreateReactionRequestBody, options?: Options) => Promise<Reaction>;
5521
6407
  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>;
5522
6409
  createCourse: (tenant_id: string, body: CreateCourseRequestBody, options?: Options) => Promise<Course>;
5523
6410
  listCourses: (tenant_id: string, options?: Options) => Promise<Array<Course>>;
5524
6411
  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.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 = exports.CreatorUpdateVisibilityType = exports.CreatorUpdateTopic = exports.LessonType = 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 = void 0;
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;
16
16
  var TicketType;
17
17
  (function (TicketType) {
18
18
  TicketType["bug"] = "bug";
@@ -223,6 +223,104 @@ var AttachmentType;
223
223
  (function (AttachmentType) {
224
224
  AttachmentType["image"] = "image";
225
225
  })(AttachmentType || (exports.AttachmentType = AttachmentType = {}));
226
+ var FontSizeType;
227
+ (function (FontSizeType) {
228
+ FontSizeType["xs"] = "xs";
229
+ FontSizeType["sm"] = "sm";
230
+ FontSizeType["md"] = "md";
231
+ FontSizeType["lg"] = "lg";
232
+ FontSizeType["xl"] = "xl";
233
+ FontSizeType["2xl"] = "2xl";
234
+ FontSizeType["3xl"] = "3xl";
235
+ FontSizeType["4xl"] = "4xl";
236
+ FontSizeType["5xl"] = "5xl";
237
+ })(FontSizeType || (exports.FontSizeType = FontSizeType = {}));
238
+ var FontWeightType;
239
+ (function (FontWeightType) {
240
+ FontWeightType["light"] = "light";
241
+ FontWeightType["regular"] = "regular";
242
+ FontWeightType["medium"] = "medium";
243
+ FontWeightType["semibold"] = "semibold";
244
+ FontWeightType["bold"] = "bold";
245
+ FontWeightType["extrabold"] = "extrabold";
246
+ FontWeightType["black"] = "black";
247
+ })(FontWeightType || (exports.FontWeightType = FontWeightType = {}));
248
+ var FontFamilyType;
249
+ (function (FontFamilyType) {
250
+ FontFamilyType["base"] = "base";
251
+ FontFamilyType["heading"] = "heading";
252
+ FontFamilyType["monospace"] = "monospace";
253
+ })(FontFamilyType || (exports.FontFamilyType = FontFamilyType = {}));
254
+ var TextTransform;
255
+ (function (TextTransform) {
256
+ TextTransform["none"] = "none";
257
+ TextTransform["uppercase"] = "uppercase";
258
+ TextTransform["lowercase"] = "lowercase";
259
+ TextTransform["capitalize"] = "capitalize";
260
+ })(TextTransform || (exports.TextTransform = TextTransform = {}));
261
+ var BorderStyle;
262
+ (function (BorderStyle) {
263
+ BorderStyle["solid"] = "solid";
264
+ BorderStyle["dashed"] = "dashed";
265
+ BorderStyle["dotted"] = "dotted";
266
+ })(BorderStyle || (exports.BorderStyle = BorderStyle = {}));
267
+ var BorderRadiusType;
268
+ (function (BorderRadiusType) {
269
+ BorderRadiusType["none"] = "none";
270
+ BorderRadiusType["sm"] = "sm";
271
+ BorderRadiusType["md"] = "md";
272
+ BorderRadiusType["lg"] = "lg";
273
+ BorderRadiusType["xl"] = "xl";
274
+ BorderRadiusType["2xl"] = "2xl";
275
+ BorderRadiusType["full"] = "full";
276
+ })(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
+ var QrCodeLogoPaddingStyle;
290
+ (function (QrCodeLogoPaddingStyle) {
291
+ QrCodeLogoPaddingStyle["square"] = "square";
292
+ QrCodeLogoPaddingStyle["circle"] = "circle";
293
+ })(QrCodeLogoPaddingStyle || (exports.QrCodeLogoPaddingStyle = QrCodeLogoPaddingStyle = {}));
294
+ var QrCodeStyle;
295
+ (function (QrCodeStyle) {
296
+ QrCodeStyle["squares"] = "squares";
297
+ QrCodeStyle["dots"] = "dots";
298
+ QrCodeStyle["fluid"] = "fluid";
299
+ })(QrCodeStyle || (exports.QrCodeStyle = QrCodeStyle = {}));
300
+ var QrCodeEcLevel;
301
+ (function (QrCodeEcLevel) {
302
+ QrCodeEcLevel["l"] = "L";
303
+ QrCodeEcLevel["m"] = "M";
304
+ QrCodeEcLevel["q"] = "Q";
305
+ QrCodeEcLevel["h"] = "H";
306
+ })(QrCodeEcLevel || (exports.QrCodeEcLevel = QrCodeEcLevel = {}));
307
+ var HeadingTag;
308
+ (function (HeadingTag) {
309
+ HeadingTag["h1"] = "h1";
310
+ HeadingTag["h2"] = "h2";
311
+ HeadingTag["h3"] = "h3";
312
+ HeadingTag["h4"] = "h4";
313
+ HeadingTag["h5"] = "h5";
314
+ HeadingTag["h6"] = "h6";
315
+ HeadingTag["p"] = "p";
316
+ HeadingTag["span"] = "span";
317
+ })(HeadingTag || (exports.HeadingTag = HeadingTag = {}));
318
+ var TextAlign;
319
+ (function (TextAlign) {
320
+ TextAlign["left"] = "left";
321
+ TextAlign["center"] = "center";
322
+ TextAlign["right"] = "right";
323
+ })(TextAlign || (exports.TextAlign = TextAlign = {}));
226
324
  var LessonType;
227
325
  (function (LessonType) {
228
326
  LessonType["youtubeVideo"] = "youtube_video";
@@ -264,6 +362,7 @@ var SocialAccountType;
264
362
  SocialAccountType["facebook"] = "facebook";
265
363
  SocialAccountType["twitch"] = "twitch";
266
364
  SocialAccountType["linkedin"] = "linkedin";
365
+ SocialAccountType["shopify"] = "shopify";
267
366
  })(SocialAccountType || (exports.SocialAccountType = SocialAccountType = {}));
268
367
  var FeedItemType;
269
368
  (function (FeedItemType) {
@@ -1066,6 +1165,10 @@ var ParraAPI = /** @class */ (function () {
1066
1165
  if (options === void 0) { options = {}; }
1067
1166
  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));
1068
1167
  };
1168
+ this.bootstrapTenantApplication = function (tenant_id, application_id, options) {
1169
+ 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));
1171
+ };
1069
1172
  this.createCourse = function (tenant_id, body, options) {
1070
1173
  if (options === void 0) { options = {}; }
1071
1174
  return _this.http.execute(__assign({ path: "".concat(_this.options.baseUrl, "/v1/tenants/").concat(tenant_id, "/courses"), method: "post", body: JSON.stringify(body), headers: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@parra/parra-js-sdk",
3
- "version": "0.3.558",
3
+ "version": "0.3.561",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",