@bash-app/bash-common 30.477.0 → 30.480.0

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.
Files changed (103) hide show
  1. package/dist/__tests__/bashEventCancellationPolicy.m300.test.d.ts +2 -0
  2. package/dist/__tests__/bashEventCancellationPolicy.m300.test.d.ts.map +1 -0
  3. package/dist/__tests__/bashEventCancellationPolicy.m300.test.js +17 -0
  4. package/dist/__tests__/bashEventCancellationPolicy.m300.test.js.map +1 -0
  5. package/dist/__tests__/bashEventLocationDisplay.test.d.ts +2 -0
  6. package/dist/__tests__/bashEventLocationDisplay.test.d.ts.map +1 -0
  7. package/dist/__tests__/bashEventLocationDisplay.test.js +11 -0
  8. package/dist/__tests__/bashEventLocationDisplay.test.js.map +1 -0
  9. package/dist/__tests__/bashEventMerchCatalogValidation.m299.test.d.ts +2 -0
  10. package/dist/__tests__/bashEventMerchCatalogValidation.m299.test.d.ts.map +1 -0
  11. package/dist/__tests__/bashEventMerchCatalogValidation.m299.test.js +33 -0
  12. package/dist/__tests__/bashEventMerchCatalogValidation.m299.test.js.map +1 -0
  13. package/dist/__tests__/bashEventWriteValidation.l193.test.d.ts +2 -0
  14. package/dist/__tests__/bashEventWriteValidation.l193.test.d.ts.map +1 -0
  15. package/dist/__tests__/bashEventWriteValidation.l193.test.js +20 -0
  16. package/dist/__tests__/bashEventWriteValidation.l193.test.js.map +1 -0
  17. package/dist/__tests__/hybridSearchQuery.test.d.ts +2 -0
  18. package/dist/__tests__/hybridSearchQuery.test.d.ts.map +1 -0
  19. package/dist/__tests__/hybridSearchQuery.test.js +42 -0
  20. package/dist/__tests__/hybridSearchQuery.test.js.map +1 -0
  21. package/dist/__tests__/serviceListingText.l195.test.d.ts +2 -0
  22. package/dist/__tests__/serviceListingText.l195.test.d.ts.map +1 -0
  23. package/dist/__tests__/serviceListingText.l195.test.js +7 -0
  24. package/dist/__tests__/serviceListingText.l195.test.js.map +1 -0
  25. package/dist/__tests__/serviceWizardSave.pipNov14.test.d.ts +2 -0
  26. package/dist/__tests__/serviceWizardSave.pipNov14.test.d.ts.map +1 -0
  27. package/dist/__tests__/serviceWizardSave.pipNov14.test.js +42 -0
  28. package/dist/__tests__/serviceWizardSave.pipNov14.test.js.map +1 -0
  29. package/dist/bashEventCancellationPolicy.d.ts +8 -0
  30. package/dist/bashEventCancellationPolicy.d.ts.map +1 -1
  31. package/dist/bashEventCancellationPolicy.js +20 -0
  32. package/dist/bashEventCancellationPolicy.js.map +1 -1
  33. package/dist/bashEventMerchCatalogValidation.d.ts +9 -0
  34. package/dist/bashEventMerchCatalogValidation.d.ts.map +1 -0
  35. package/dist/bashEventMerchCatalogValidation.js +39 -0
  36. package/dist/bashEventMerchCatalogValidation.js.map +1 -0
  37. package/dist/bashEventWriteValidation.d.ts +13 -0
  38. package/dist/bashEventWriteValidation.d.ts.map +1 -0
  39. package/dist/bashEventWriteValidation.js +24 -0
  40. package/dist/bashEventWriteValidation.js.map +1 -0
  41. package/dist/extendedSchemas.d.ts +674 -215
  42. package/dist/extendedSchemas.d.ts.map +1 -1
  43. package/dist/extendedSchemas.js +115 -4
  44. package/dist/extendedSchemas.js.map +1 -1
  45. package/dist/index.d.ts +5 -0
  46. package/dist/index.d.ts.map +1 -1
  47. package/dist/index.js +5 -0
  48. package/dist/index.js.map +1 -1
  49. package/dist/serviceWizardSave.d.ts +2 -0
  50. package/dist/serviceWizardSave.d.ts.map +1 -1
  51. package/dist/serviceWizardSave.js +43 -4
  52. package/dist/serviceWizardSave.js.map +1 -1
  53. package/dist/utils/__tests__/eventTaskVolunteerRewardUtils.test.js +10 -1
  54. package/dist/utils/__tests__/eventTaskVolunteerRewardUtils.test.js.map +1 -1
  55. package/dist/utils/__tests__/webLinkValidation.test.js +11 -1
  56. package/dist/utils/__tests__/webLinkValidation.test.js.map +1 -1
  57. package/dist/utils/bashEventLocationDisplay.d.ts +3 -0
  58. package/dist/utils/bashEventLocationDisplay.d.ts.map +1 -0
  59. package/dist/utils/bashEventLocationDisplay.js +21 -0
  60. package/dist/utils/bashEventLocationDisplay.js.map +1 -0
  61. package/dist/utils/hybridSearchQuery.d.ts +29 -0
  62. package/dist/utils/hybridSearchQuery.d.ts.map +1 -0
  63. package/dist/utils/hybridSearchQuery.js +77 -0
  64. package/dist/utils/hybridSearchQuery.js.map +1 -0
  65. package/dist/utils/richTextContent.d.ts +4 -0
  66. package/dist/utils/richTextContent.d.ts.map +1 -1
  67. package/dist/utils/richTextContent.js +26 -0
  68. package/dist/utils/richTextContent.js.map +1 -1
  69. package/dist/utils/serviceListingText.d.ts +3 -0
  70. package/dist/utils/serviceListingText.d.ts.map +1 -0
  71. package/dist/utils/serviceListingText.js +6 -0
  72. package/dist/utils/serviceListingText.js.map +1 -0
  73. package/dist/utils/userUtils.d.ts +3 -0
  74. package/dist/utils/userUtils.d.ts.map +1 -1
  75. package/dist/utils/userUtils.js +10 -0
  76. package/dist/utils/userUtils.js.map +1 -1
  77. package/dist/utils/webLinkValidation.d.ts +2 -0
  78. package/dist/utils/webLinkValidation.d.ts.map +1 -1
  79. package/dist/utils/webLinkValidation.js +9 -0
  80. package/dist/utils/webLinkValidation.js.map +1 -1
  81. package/package.json +1 -1
  82. package/prisma/schema.prisma +7 -0
  83. package/src/__tests__/bashEventCancellationPolicy.m300.test.ts +20 -0
  84. package/src/__tests__/bashEventLocationDisplay.test.ts +20 -0
  85. package/src/__tests__/bashEventMerchCatalogValidation.m299.test.ts +37 -0
  86. package/src/__tests__/bashEventWriteValidation.l193.test.ts +31 -0
  87. package/src/__tests__/hybridSearchQuery.test.ts +54 -0
  88. package/src/__tests__/serviceListingText.l195.test.ts +7 -0
  89. package/src/__tests__/serviceWizardSave.pipNov14.test.ts +47 -0
  90. package/src/bashEventCancellationPolicy.ts +23 -0
  91. package/src/bashEventMerchCatalogValidation.ts +45 -0
  92. package/src/bashEventWriteValidation.ts +31 -0
  93. package/src/extendedSchemas.ts +132 -6
  94. package/src/index.ts +5 -0
  95. package/src/serviceWizardSave.ts +59 -6
  96. package/src/utils/__tests__/eventTaskVolunteerRewardUtils.test.ts +16 -0
  97. package/src/utils/__tests__/webLinkValidation.test.ts +18 -1
  98. package/src/utils/bashEventLocationDisplay.ts +24 -0
  99. package/src/utils/hybridSearchQuery.ts +93 -0
  100. package/src/utils/richTextContent.ts +26 -0
  101. package/src/utils/serviceListingText.ts +6 -0
  102. package/src/utils/userUtils.ts +13 -0
  103. package/src/utils/webLinkValidation.ts +10 -0
@@ -688,6 +688,15 @@ export type BashEventUpsertWireInput = Override<Override<DeepPartial<BashEventEx
688
688
  endsNextDay: boolean;
689
689
  } | import("@prisma/client").Prisma.JsonValue | null;
690
690
  advertiseRecurrence?: boolean;
691
+ /**
692
+ * updatedAt the wizard tab last loaded. The API drops a stale title,
693
+ * subtitle, or description when another tab saved a newer version.
694
+ */
695
+ baseUpdatedAt?: string | null;
696
+ /** Title, subtitle, and description this wizard tab loaded. */
697
+ baseTitle?: string | null;
698
+ baseSubtitle?: string | null;
699
+ baseDescription?: string | null;
691
700
  }>, {
692
701
  /** Explicit null clears recurrence (API deleteMany on Recurrence rows). */
693
702
  recurrence?: DeepPartial<Recurrence> | null;
@@ -1578,7 +1587,585 @@ export declare const SERVICE_PUBLIC_LIST_DATA_TO_INCLUDE: {
1578
1587
  dealRequiresMinimumCash: true;
1579
1588
  dealMinimumCashCents: true;
1580
1589
  id: true;
1581
- crowdSize: true;
1590
+ crowdSize: true;
1591
+ };
1592
+ };
1593
+ };
1594
+ /** Full service detail for signed-out `GET /api/public-services/service/:id` (no owner/creator PII). */
1595
+ export declare const SERVICE_PUBLIC_DETAIL_DATA_TO_INCLUDE: {
1596
+ creator: {
1597
+ select: {
1598
+ id: true;
1599
+ username: true;
1600
+ givenName: true;
1601
+ familyName: true;
1602
+ image: true;
1603
+ imageUpdatedAt: true;
1604
+ uploadedImage: true;
1605
+ uploadedImageUpdatedAt: true;
1606
+ /** Public social links for attendee lists / teasers (IG, LinkedIn, etc.). */
1607
+ socialMediaProfiles: {
1608
+ select: {
1609
+ id: true;
1610
+ platform: true;
1611
+ url: true;
1612
+ userId: true;
1613
+ };
1614
+ };
1615
+ };
1616
+ };
1617
+ owner: {
1618
+ select: {
1619
+ id: true;
1620
+ username: true;
1621
+ givenName: true;
1622
+ familyName: true;
1623
+ image: true;
1624
+ imageUpdatedAt: true;
1625
+ uploadedImage: true;
1626
+ uploadedImageUpdatedAt: true;
1627
+ /** Public social links for attendee lists / teasers (IG, LinkedIn, etc.). */
1628
+ socialMediaProfiles: {
1629
+ select: {
1630
+ id: true;
1631
+ platform: true;
1632
+ url: true;
1633
+ userId: true;
1634
+ };
1635
+ };
1636
+ };
1637
+ };
1638
+ targetAudience: true;
1639
+ media: true;
1640
+ stripeAccount: {
1641
+ select: {
1642
+ logo: true;
1643
+ logoId: true;
1644
+ createdAt: true;
1645
+ updatedAt: true;
1646
+ };
1647
+ };
1648
+ serviceLinks: {
1649
+ include: {
1650
+ link: true;
1651
+ };
1652
+ };
1653
+ serviceRatesAssociation: {
1654
+ include: {
1655
+ serviceGeneralRates: true;
1656
+ serviceDailyRates: {
1657
+ include: {
1658
+ serviceRate: true;
1659
+ };
1660
+ };
1661
+ serviceSpecialRates: {
1662
+ include: {
1663
+ serviceRate: true;
1664
+ };
1665
+ };
1666
+ addons: true;
1667
+ packages: {
1668
+ include: {
1669
+ serviceAddons: true;
1670
+ };
1671
+ };
1672
+ media: true;
1673
+ };
1674
+ };
1675
+ bashEvent: {
1676
+ include: {
1677
+ creator: {
1678
+ select: {
1679
+ id: true;
1680
+ username: true;
1681
+ email: true;
1682
+ givenName: true;
1683
+ familyName: true;
1684
+ image: true;
1685
+ imageUpdatedAt: true;
1686
+ uploadedImage: true;
1687
+ uploadedImageUpdatedAt: true;
1688
+ isSuperUser: true;
1689
+ socialMediaProfiles: true;
1690
+ city: true;
1691
+ state: true;
1692
+ createdOn: true;
1693
+ dob: true;
1694
+ showAgeOnProfile: true;
1695
+ showGenderOnProfile: true;
1696
+ showSocialEventCadenceOnProfile: true;
1697
+ showVerifiedBadgesOnProfile: true;
1698
+ schoolName: true;
1699
+ documentIDId: true;
1700
+ /** Set when Stripe Identity verification completes (hosted flow). */
1701
+ idVerified: true;
1702
+ /** $1 card verification (Stripe PaymentIntent). Unlocks publish gate + 2x earn multiplier */
1703
+ paymentVerified: true;
1704
+ reviews: true;
1705
+ contacts: true;
1706
+ accepted: true;
1707
+ boughtTicket: true;
1708
+ noPay: true;
1709
+ supportedEvent: true;
1710
+ aboutMe: true;
1711
+ levelBadge: true;
1712
+ temporaryBadges: true;
1713
+ artistsToSee: true;
1714
+ membershipTier: true;
1715
+ isAmbashador: true;
1716
+ isBashInsider: true;
1717
+ scoutTier: true;
1718
+ isFirstInCity: true;
1719
+ /** Venmo / Zelle / CashApp handle for off-platform payouts (promoters). */
1720
+ paymentHandle: true;
1721
+ /** BashPoints loyalty (API may omit when viewing someone else’s profile). */
1722
+ bashPointsBalance: true;
1723
+ bashPointsEarnedLifetime: true;
1724
+ /** Home hero “Stuff the horn” best clear (ms; lower is better). */
1725
+ hornClearBestMs: true;
1726
+ hornClearBestAt: true;
1727
+ /** Host reputation fields */
1728
+ hostRating: true;
1729
+ totalRatings: true;
1730
+ totalEventsHosted: true;
1731
+ /** Whether this account is suspended (superuser admin visibility). */
1732
+ isSuspended: true;
1733
+ /** Subscription summary for public surfaces. Omit Stripe linkage fields (see PUBLIC_USER_SUBSCRIPTION_DATA_TO_SELECT). */
1734
+ userSubscription: {
1735
+ select: {
1736
+ type: true;
1737
+ status: true;
1738
+ ownerId: true;
1739
+ subscriptionCount: true;
1740
+ listedCount: true;
1741
+ };
1742
+ };
1743
+ };
1744
+ };
1745
+ organization: {
1746
+ select: {
1747
+ id: true;
1748
+ name: true;
1749
+ slug: true;
1750
+ logoUrl: true;
1751
+ };
1752
+ };
1753
+ hostedByService: {
1754
+ select: {
1755
+ id: true;
1756
+ serviceName: true;
1757
+ coverPhoto: true;
1758
+ };
1759
+ };
1760
+ payoutUser: {
1761
+ select: {
1762
+ givenName: true;
1763
+ familyName: true;
1764
+ email: true;
1765
+ };
1766
+ };
1767
+ targetAudience: true;
1768
+ amountOfGuests: true;
1769
+ recurrence: true;
1770
+ ticketTiers: true;
1771
+ media: true;
1772
+ potluckItems: true;
1773
+ bashEventSuggestions: {
1774
+ include: {
1775
+ creator: {
1776
+ select: {
1777
+ id: true;
1778
+ username: true;
1779
+ email: true;
1780
+ givenName: true;
1781
+ familyName: true;
1782
+ image: true;
1783
+ imageUpdatedAt: true;
1784
+ uploadedImage: true;
1785
+ uploadedImageUpdatedAt: true;
1786
+ isSuperUser: true;
1787
+ socialMediaProfiles: true;
1788
+ city: true;
1789
+ state: true;
1790
+ createdOn: true;
1791
+ dob: true;
1792
+ showAgeOnProfile: true;
1793
+ showGenderOnProfile: true;
1794
+ showSocialEventCadenceOnProfile: true;
1795
+ showVerifiedBadgesOnProfile: true;
1796
+ schoolName: true;
1797
+ documentIDId: true;
1798
+ /** Set when Stripe Identity verification completes (hosted flow). */
1799
+ idVerified: true;
1800
+ /** $1 card verification (Stripe PaymentIntent). Unlocks publish gate + 2x earn multiplier */
1801
+ paymentVerified: true;
1802
+ reviews: true;
1803
+ contacts: true;
1804
+ accepted: true;
1805
+ boughtTicket: true;
1806
+ noPay: true;
1807
+ supportedEvent: true;
1808
+ aboutMe: true;
1809
+ levelBadge: true;
1810
+ temporaryBadges: true;
1811
+ artistsToSee: true;
1812
+ membershipTier: true;
1813
+ isAmbashador: true;
1814
+ isBashInsider: true;
1815
+ scoutTier: true;
1816
+ isFirstInCity: true;
1817
+ /** Venmo / Zelle / CashApp handle for off-platform payouts (promoters). */
1818
+ paymentHandle: true;
1819
+ /** BashPoints loyalty (API may omit when viewing someone else’s profile). */
1820
+ bashPointsBalance: true;
1821
+ bashPointsEarnedLifetime: true;
1822
+ /** Home hero “Stuff the horn” best clear (ms; lower is better). */
1823
+ hornClearBestMs: true;
1824
+ hornClearBestAt: true;
1825
+ /** Host reputation fields */
1826
+ hostRating: true;
1827
+ totalRatings: true;
1828
+ totalEventsHosted: true;
1829
+ /** Whether this account is suspended (superuser admin visibility). */
1830
+ isSuspended: true;
1831
+ /** Subscription summary for public surfaces. Omit Stripe linkage fields (see PUBLIC_USER_SUBSCRIPTION_DATA_TO_SELECT). */
1832
+ userSubscription: {
1833
+ select: {
1834
+ type: true;
1835
+ status: true;
1836
+ ownerId: true;
1837
+ subscriptionCount: true;
1838
+ listedCount: true;
1839
+ };
1840
+ };
1841
+ };
1842
+ };
1843
+ };
1844
+ orderBy: {
1845
+ createdAt: "asc";
1846
+ };
1847
+ };
1848
+ eventTasks: {
1849
+ include: {
1850
+ assignments: true;
1851
+ };
1852
+ };
1853
+ invitations: true;
1854
+ competitions: {
1855
+ include: {
1856
+ entryTicketTier: {
1857
+ select: {
1858
+ id: true;
1859
+ title: true;
1860
+ price: true;
1861
+ isDonationTier: true;
1862
+ };
1863
+ };
1864
+ sponsor: true;
1865
+ prizes: {
1866
+ include: {
1867
+ winner: {
1868
+ select: {
1869
+ id: true;
1870
+ username: true;
1871
+ email: true;
1872
+ givenName: true;
1873
+ familyName: true;
1874
+ image: true;
1875
+ imageUpdatedAt: true;
1876
+ uploadedImage: true;
1877
+ uploadedImageUpdatedAt: true;
1878
+ isSuperUser: true;
1879
+ socialMediaProfiles: true;
1880
+ city: true;
1881
+ state: true;
1882
+ createdOn: true;
1883
+ dob: true;
1884
+ showAgeOnProfile: true;
1885
+ showGenderOnProfile: true;
1886
+ showSocialEventCadenceOnProfile: true;
1887
+ showVerifiedBadgesOnProfile: true;
1888
+ schoolName: true;
1889
+ documentIDId: true;
1890
+ /** Set when Stripe Identity verification completes (hosted flow). */
1891
+ idVerified: true;
1892
+ /** $1 card verification (Stripe PaymentIntent). Unlocks publish gate + 2x earn multiplier */
1893
+ paymentVerified: true;
1894
+ reviews: true;
1895
+ contacts: true;
1896
+ accepted: true;
1897
+ boughtTicket: true;
1898
+ noPay: true;
1899
+ supportedEvent: true;
1900
+ aboutMe: true;
1901
+ levelBadge: true;
1902
+ temporaryBadges: true;
1903
+ artistsToSee: true;
1904
+ membershipTier: true;
1905
+ isAmbashador: true;
1906
+ isBashInsider: true;
1907
+ scoutTier: true;
1908
+ isFirstInCity: true;
1909
+ /** Venmo / Zelle / CashApp handle for off-platform payouts (promoters). */
1910
+ paymentHandle: true;
1911
+ /** BashPoints loyalty (API may omit when viewing someone else’s profile). */
1912
+ bashPointsBalance: true;
1913
+ bashPointsEarnedLifetime: true;
1914
+ /** Home hero “Stuff the horn” best clear (ms; lower is better). */
1915
+ hornClearBestMs: true;
1916
+ hornClearBestAt: true;
1917
+ /** Host reputation fields */
1918
+ hostRating: true;
1919
+ totalRatings: true;
1920
+ totalEventsHosted: true;
1921
+ /** Whether this account is suspended (superuser admin visibility). */
1922
+ isSuspended: true;
1923
+ /** Subscription summary for public surfaces. Omit Stripe linkage fields (see PUBLIC_USER_SUBSCRIPTION_DATA_TO_SELECT). */
1924
+ userSubscription: {
1925
+ select: {
1926
+ type: true;
1927
+ status: true;
1928
+ ownerId: true;
1929
+ subscriptionCount: true;
1930
+ listedCount: true;
1931
+ };
1932
+ };
1933
+ };
1934
+ };
1935
+ contributor: {
1936
+ select: {
1937
+ id: true;
1938
+ username: true;
1939
+ email: true;
1940
+ givenName: true;
1941
+ familyName: true;
1942
+ image: true;
1943
+ imageUpdatedAt: true;
1944
+ uploadedImage: true;
1945
+ uploadedImageUpdatedAt: true;
1946
+ isSuperUser: true;
1947
+ socialMediaProfiles: true;
1948
+ city: true;
1949
+ state: true;
1950
+ createdOn: true;
1951
+ dob: true;
1952
+ showAgeOnProfile: true;
1953
+ showGenderOnProfile: true;
1954
+ showSocialEventCadenceOnProfile: true;
1955
+ showVerifiedBadgesOnProfile: true;
1956
+ schoolName: true;
1957
+ documentIDId: true;
1958
+ /** Set when Stripe Identity verification completes (hosted flow). */
1959
+ idVerified: true;
1960
+ /** $1 card verification (Stripe PaymentIntent). Unlocks publish gate + 2x earn multiplier */
1961
+ paymentVerified: true;
1962
+ reviews: true;
1963
+ contacts: true;
1964
+ accepted: true;
1965
+ boughtTicket: true;
1966
+ noPay: true;
1967
+ supportedEvent: true;
1968
+ aboutMe: true;
1969
+ levelBadge: true;
1970
+ temporaryBadges: true;
1971
+ artistsToSee: true;
1972
+ membershipTier: true;
1973
+ isAmbashador: true;
1974
+ isBashInsider: true;
1975
+ scoutTier: true;
1976
+ isFirstInCity: true;
1977
+ /** Venmo / Zelle / CashApp handle for off-platform payouts (promoters). */
1978
+ paymentHandle: true;
1979
+ /** BashPoints loyalty (API may omit when viewing someone else’s profile). */
1980
+ bashPointsBalance: true;
1981
+ bashPointsEarnedLifetime: true;
1982
+ /** Home hero “Stuff the horn” best clear (ms; lower is better). */
1983
+ hornClearBestMs: true;
1984
+ hornClearBestAt: true;
1985
+ /** Host reputation fields */
1986
+ hostRating: true;
1987
+ totalRatings: true;
1988
+ totalEventsHosted: true;
1989
+ /** Whether this account is suspended (superuser admin visibility). */
1990
+ isSuspended: true;
1991
+ /** Subscription summary for public surfaces. Omit Stripe linkage fields (see PUBLIC_USER_SUBSCRIPTION_DATA_TO_SELECT). */
1992
+ userSubscription: {
1993
+ select: {
1994
+ type: true;
1995
+ status: true;
1996
+ ownerId: true;
1997
+ subscriptionCount: true;
1998
+ listedCount: true;
1999
+ };
2000
+ };
2001
+ };
2002
+ };
2003
+ sourceService: {
2004
+ select: {
2005
+ id: true;
2006
+ serviceName: true;
2007
+ coverPhoto: true;
2008
+ };
2009
+ };
2010
+ };
2011
+ };
2012
+ participants: {
2013
+ include: {
2014
+ user: {
2015
+ select: {
2016
+ id: true;
2017
+ username: true;
2018
+ email: true;
2019
+ givenName: true;
2020
+ familyName: true;
2021
+ image: true;
2022
+ imageUpdatedAt: true;
2023
+ uploadedImage: true;
2024
+ uploadedImageUpdatedAt: true;
2025
+ isSuperUser: true;
2026
+ socialMediaProfiles: true;
2027
+ city: true;
2028
+ state: true;
2029
+ createdOn: true;
2030
+ dob: true;
2031
+ showAgeOnProfile: true;
2032
+ showGenderOnProfile: true;
2033
+ showSocialEventCadenceOnProfile: true;
2034
+ showVerifiedBadgesOnProfile: true;
2035
+ schoolName: true;
2036
+ documentIDId: true;
2037
+ /** Set when Stripe Identity verification completes (hosted flow). */
2038
+ idVerified: true;
2039
+ /** $1 card verification (Stripe PaymentIntent). Unlocks publish gate + 2x earn multiplier */
2040
+ paymentVerified: true;
2041
+ reviews: true;
2042
+ contacts: true;
2043
+ accepted: true;
2044
+ boughtTicket: true;
2045
+ noPay: true;
2046
+ supportedEvent: true;
2047
+ aboutMe: true;
2048
+ levelBadge: true;
2049
+ temporaryBadges: true;
2050
+ artistsToSee: true;
2051
+ membershipTier: true;
2052
+ isAmbashador: true;
2053
+ isBashInsider: true;
2054
+ scoutTier: true;
2055
+ isFirstInCity: true;
2056
+ /** Venmo / Zelle / CashApp handle for off-platform payouts (promoters). */
2057
+ paymentHandle: true;
2058
+ /** BashPoints loyalty (API may omit when viewing someone else’s profile). */
2059
+ bashPointsBalance: true;
2060
+ bashPointsEarnedLifetime: true;
2061
+ /** Home hero “Stuff the horn” best clear (ms; lower is better). */
2062
+ hornClearBestMs: true;
2063
+ hornClearBestAt: true;
2064
+ /** Host reputation fields */
2065
+ hostRating: true;
2066
+ totalRatings: true;
2067
+ totalEventsHosted: true;
2068
+ /** Whether this account is suspended (superuser admin visibility). */
2069
+ isSuspended: true;
2070
+ /** Subscription summary for public surfaces. Omit Stripe linkage fields (see PUBLIC_USER_SUBSCRIPTION_DATA_TO_SELECT). */
2071
+ userSubscription: {
2072
+ select: {
2073
+ type: true;
2074
+ status: true;
2075
+ ownerId: true;
2076
+ subscriptionCount: true;
2077
+ listedCount: true;
2078
+ };
2079
+ };
2080
+ };
2081
+ };
2082
+ };
2083
+ };
2084
+ promoterMilestones: {
2085
+ orderBy: {
2086
+ displayOrder: "asc";
2087
+ };
2088
+ };
2089
+ promoters: {
2090
+ orderBy: {
2091
+ qualifiedSales: "desc";
2092
+ };
2093
+ include: {
2094
+ promoterUser: {
2095
+ select: {
2096
+ givenName: true;
2097
+ familyName: true;
2098
+ username: true;
2099
+ image: true;
2100
+ };
2101
+ };
2102
+ };
2103
+ };
2104
+ };
2105
+ };
2106
+ };
2107
+ };
2108
+ venue: {
2109
+ include: {};
2110
+ };
2111
+ eventService: {
2112
+ include: {
2113
+ formatOptions: true;
2114
+ crowdSize: true;
2115
+ serviceRange: true;
2116
+ };
2117
+ };
2118
+ entertainmentService: {
2119
+ include: {
2120
+ crowdSize: true;
2121
+ serviceRange: true;
2122
+ };
2123
+ };
2124
+ vendor: {
2125
+ include: {
2126
+ spaceRequirements: true;
2127
+ insurance: true;
2128
+ permits: true;
2129
+ paymentOptions: {
2130
+ orderBy: {
2131
+ sortOrder: "asc";
2132
+ };
2133
+ };
2134
+ preferences: {
2135
+ include: {
2136
+ socialMediaExpectations: true;
2137
+ };
2138
+ };
2139
+ crowdSize: true;
2140
+ serviceRange: true;
2141
+ };
2142
+ };
2143
+ exhibitor: {
2144
+ include: {
2145
+ crowdSize: true;
2146
+ serviceRange: true;
2147
+ };
2148
+ };
2149
+ sponsor: {
2150
+ include: {
2151
+ crowdSize: true;
2152
+ serviceRange: true;
2153
+ };
2154
+ };
2155
+ organization: {
2156
+ include: {
2157
+ _count: {
2158
+ select: {
2159
+ members: true;
2160
+ };
2161
+ };
2162
+ sportsProfile: true;
2163
+ };
2164
+ };
2165
+ complementaryProfiles: {
2166
+ select: {
2167
+ id: true;
2168
+ serviceType: true;
1582
2169
  };
1583
2170
  };
1584
2171
  };
@@ -6205,66 +6792,19 @@ export declare const BLOG_POST_DATA_TO_INCLUDE: {
6205
6792
  select: {
6206
6793
  id: true;
6207
6794
  username: true;
6208
- email: true;
6209
6795
  givenName: true;
6210
6796
  familyName: true;
6211
6797
  image: true;
6212
6798
  imageUpdatedAt: true;
6213
6799
  uploadedImage: true;
6214
6800
  uploadedImageUpdatedAt: true;
6215
- isSuperUser: true;
6216
- socialMediaProfiles: true;
6217
- city: true;
6218
- state: true;
6219
- createdOn: true;
6220
- dob: true;
6221
- showAgeOnProfile: true;
6222
- showGenderOnProfile: true;
6223
- showSocialEventCadenceOnProfile: true;
6224
- showVerifiedBadgesOnProfile: true;
6225
- schoolName: true;
6226
- documentIDId: true;
6227
- /** Set when Stripe Identity verification completes (hosted flow). */
6228
- idVerified: true;
6229
- /** $1 card verification (Stripe PaymentIntent). Unlocks publish gate + 2x earn multiplier */
6230
- paymentVerified: true;
6231
- reviews: true;
6232
- contacts: true;
6233
- accepted: true;
6234
- boughtTicket: true;
6235
- noPay: true;
6236
- supportedEvent: true;
6237
- aboutMe: true;
6238
- levelBadge: true;
6239
- temporaryBadges: true;
6240
- artistsToSee: true;
6241
- membershipTier: true;
6242
- isAmbashador: true;
6243
- isBashInsider: true;
6244
- scoutTier: true;
6245
- isFirstInCity: true;
6246
- /** Venmo / Zelle / CashApp handle for off-platform payouts (promoters). */
6247
- paymentHandle: true;
6248
- /** BashPoints loyalty (API may omit when viewing someone else’s profile). */
6249
- bashPointsBalance: true;
6250
- bashPointsEarnedLifetime: true;
6251
- /** Home hero “Stuff the horn” best clear (ms; lower is better). */
6252
- hornClearBestMs: true;
6253
- hornClearBestAt: true;
6254
- /** Host reputation fields */
6255
- hostRating: true;
6256
- totalRatings: true;
6257
- totalEventsHosted: true;
6258
- /** Whether this account is suspended (superuser admin visibility). */
6259
- isSuspended: true;
6260
- /** Subscription summary for public surfaces. Omit Stripe linkage fields (see PUBLIC_USER_SUBSCRIPTION_DATA_TO_SELECT). */
6261
- userSubscription: {
6801
+ /** Public social links for attendee lists / teasers (IG, LinkedIn, etc.). */
6802
+ socialMediaProfiles: {
6262
6803
  select: {
6263
- type: true;
6264
- status: true;
6265
- ownerId: true;
6266
- subscriptionCount: true;
6267
- listedCount: true;
6804
+ id: true;
6805
+ platform: true;
6806
+ url: true;
6807
+ userId: true;
6268
6808
  };
6269
6809
  };
6270
6810
  };
@@ -6277,66 +6817,19 @@ export declare const BLOG_POST_DATA_TO_INCLUDE: {
6277
6817
  select: {
6278
6818
  id: true;
6279
6819
  username: true;
6280
- email: true;
6281
6820
  givenName: true;
6282
6821
  familyName: true;
6283
6822
  image: true;
6284
6823
  imageUpdatedAt: true;
6285
6824
  uploadedImage: true;
6286
6825
  uploadedImageUpdatedAt: true;
6287
- isSuperUser: true;
6288
- socialMediaProfiles: true;
6289
- city: true;
6290
- state: true;
6291
- createdOn: true;
6292
- dob: true;
6293
- showAgeOnProfile: true;
6294
- showGenderOnProfile: true;
6295
- showSocialEventCadenceOnProfile: true;
6296
- showVerifiedBadgesOnProfile: true;
6297
- schoolName: true;
6298
- documentIDId: true;
6299
- /** Set when Stripe Identity verification completes (hosted flow). */
6300
- idVerified: true;
6301
- /** $1 card verification (Stripe PaymentIntent). Unlocks publish gate + 2x earn multiplier */
6302
- paymentVerified: true;
6303
- reviews: true;
6304
- contacts: true;
6305
- accepted: true;
6306
- boughtTicket: true;
6307
- noPay: true;
6308
- supportedEvent: true;
6309
- aboutMe: true;
6310
- levelBadge: true;
6311
- temporaryBadges: true;
6312
- artistsToSee: true;
6313
- membershipTier: true;
6314
- isAmbashador: true;
6315
- isBashInsider: true;
6316
- scoutTier: true;
6317
- isFirstInCity: true;
6318
- /** Venmo / Zelle / CashApp handle for off-platform payouts (promoters). */
6319
- paymentHandle: true;
6320
- /** BashPoints loyalty (API may omit when viewing someone else’s profile). */
6321
- bashPointsBalance: true;
6322
- bashPointsEarnedLifetime: true;
6323
- /** Home hero “Stuff the horn” best clear (ms; lower is better). */
6324
- hornClearBestMs: true;
6325
- hornClearBestAt: true;
6326
- /** Host reputation fields */
6327
- hostRating: true;
6328
- totalRatings: true;
6329
- totalEventsHosted: true;
6330
- /** Whether this account is suspended (superuser admin visibility). */
6331
- isSuspended: true;
6332
- /** Subscription summary for public surfaces. Omit Stripe linkage fields (see PUBLIC_USER_SUBSCRIPTION_DATA_TO_SELECT). */
6333
- userSubscription: {
6826
+ /** Public social links for attendee lists / teasers (IG, LinkedIn, etc.). */
6827
+ socialMediaProfiles: {
6334
6828
  select: {
6335
- type: true;
6336
- status: true;
6337
- ownerId: true;
6338
- subscriptionCount: true;
6339
- listedCount: true;
6829
+ id: true;
6830
+ platform: true;
6831
+ url: true;
6832
+ userId: true;
6340
6833
  };
6341
6834
  };
6342
6835
  };
@@ -6347,66 +6840,19 @@ export declare const BLOG_POST_DATA_TO_INCLUDE: {
6347
6840
  select: {
6348
6841
  id: true;
6349
6842
  username: true;
6350
- email: true;
6351
6843
  givenName: true;
6352
6844
  familyName: true;
6353
6845
  image: true;
6354
6846
  imageUpdatedAt: true;
6355
6847
  uploadedImage: true;
6356
6848
  uploadedImageUpdatedAt: true;
6357
- isSuperUser: true;
6358
- socialMediaProfiles: true;
6359
- city: true;
6360
- state: true;
6361
- createdOn: true;
6362
- dob: true;
6363
- showAgeOnProfile: true;
6364
- showGenderOnProfile: true;
6365
- showSocialEventCadenceOnProfile: true;
6366
- showVerifiedBadgesOnProfile: true;
6367
- schoolName: true;
6368
- documentIDId: true;
6369
- /** Set when Stripe Identity verification completes (hosted flow). */
6370
- idVerified: true;
6371
- /** $1 card verification (Stripe PaymentIntent). Unlocks publish gate + 2x earn multiplier */
6372
- paymentVerified: true;
6373
- reviews: true;
6374
- contacts: true;
6375
- accepted: true;
6376
- boughtTicket: true;
6377
- noPay: true;
6378
- supportedEvent: true;
6379
- aboutMe: true;
6380
- levelBadge: true;
6381
- temporaryBadges: true;
6382
- artistsToSee: true;
6383
- membershipTier: true;
6384
- isAmbashador: true;
6385
- isBashInsider: true;
6386
- scoutTier: true;
6387
- isFirstInCity: true;
6388
- /** Venmo / Zelle / CashApp handle for off-platform payouts (promoters). */
6389
- paymentHandle: true;
6390
- /** BashPoints loyalty (API may omit when viewing someone else’s profile). */
6391
- bashPointsBalance: true;
6392
- bashPointsEarnedLifetime: true;
6393
- /** Home hero “Stuff the horn” best clear (ms; lower is better). */
6394
- hornClearBestMs: true;
6395
- hornClearBestAt: true;
6396
- /** Host reputation fields */
6397
- hostRating: true;
6398
- totalRatings: true;
6399
- totalEventsHosted: true;
6400
- /** Whether this account is suspended (superuser admin visibility). */
6401
- isSuspended: true;
6402
- /** Subscription summary for public surfaces. Omit Stripe linkage fields (see PUBLIC_USER_SUBSCRIPTION_DATA_TO_SELECT). */
6403
- userSubscription: {
6849
+ /** Public social links for attendee lists / teasers (IG, LinkedIn, etc.). */
6850
+ socialMediaProfiles: {
6404
6851
  select: {
6405
- type: true;
6406
- status: true;
6407
- ownerId: true;
6408
- subscriptionCount: true;
6409
- listedCount: true;
6852
+ id: true;
6853
+ platform: true;
6854
+ url: true;
6855
+ userId: true;
6410
6856
  };
6411
6857
  };
6412
6858
  };
@@ -6427,66 +6873,19 @@ export declare const BLOG_POST_PREVIEW_DATA_TO_INCLUDE: {
6427
6873
  select: {
6428
6874
  id: true;
6429
6875
  username: true;
6430
- email: true;
6431
6876
  givenName: true;
6432
6877
  familyName: true;
6433
6878
  image: true;
6434
6879
  imageUpdatedAt: true;
6435
6880
  uploadedImage: true;
6436
6881
  uploadedImageUpdatedAt: true;
6437
- isSuperUser: true;
6438
- socialMediaProfiles: true;
6439
- city: true;
6440
- state: true;
6441
- createdOn: true;
6442
- dob: true;
6443
- showAgeOnProfile: true;
6444
- showGenderOnProfile: true;
6445
- showSocialEventCadenceOnProfile: true;
6446
- showVerifiedBadgesOnProfile: true;
6447
- schoolName: true;
6448
- documentIDId: true;
6449
- /** Set when Stripe Identity verification completes (hosted flow). */
6450
- idVerified: true;
6451
- /** $1 card verification (Stripe PaymentIntent). Unlocks publish gate + 2x earn multiplier */
6452
- paymentVerified: true;
6453
- reviews: true;
6454
- contacts: true;
6455
- accepted: true;
6456
- boughtTicket: true;
6457
- noPay: true;
6458
- supportedEvent: true;
6459
- aboutMe: true;
6460
- levelBadge: true;
6461
- temporaryBadges: true;
6462
- artistsToSee: true;
6463
- membershipTier: true;
6464
- isAmbashador: true;
6465
- isBashInsider: true;
6466
- scoutTier: true;
6467
- isFirstInCity: true;
6468
- /** Venmo / Zelle / CashApp handle for off-platform payouts (promoters). */
6469
- paymentHandle: true;
6470
- /** BashPoints loyalty (API may omit when viewing someone else’s profile). */
6471
- bashPointsBalance: true;
6472
- bashPointsEarnedLifetime: true;
6473
- /** Home hero “Stuff the horn” best clear (ms; lower is better). */
6474
- hornClearBestMs: true;
6475
- hornClearBestAt: true;
6476
- /** Host reputation fields */
6477
- hostRating: true;
6478
- totalRatings: true;
6479
- totalEventsHosted: true;
6480
- /** Whether this account is suspended (superuser admin visibility). */
6481
- isSuspended: true;
6482
- /** Subscription summary for public surfaces. Omit Stripe linkage fields (see PUBLIC_USER_SUBSCRIPTION_DATA_TO_SELECT). */
6483
- userSubscription: {
6882
+ /** Public social links for attendee lists / teasers (IG, LinkedIn, etc.). */
6883
+ socialMediaProfiles: {
6484
6884
  select: {
6485
- type: true;
6486
- status: true;
6487
- ownerId: true;
6488
- subscriptionCount: true;
6489
- listedCount: true;
6885
+ id: true;
6886
+ platform: true;
6887
+ url: true;
6888
+ userId: true;
6490
6889
  };
6491
6890
  };
6492
6891
  };
@@ -6504,7 +6903,7 @@ export declare const BLOG_POST_PREVIEW_DATA_TO_INCLUDE: {
6504
6903
  };
6505
6904
  };
6506
6905
  export interface BlogPostExt extends BlogPost {
6507
- author: PublicUser;
6906
+ author: PublicTeaserUser;
6508
6907
  category?: BlogCategory | null;
6509
6908
  tags: BlogTag[];
6510
6909
  comments?: BlogCommentExt[];
@@ -6513,7 +6912,7 @@ export interface BlogPostExt extends BlogPost {
6513
6912
  };
6514
6913
  }
6515
6914
  export interface BlogCommentExt extends BlogComment {
6516
- author: PublicUser;
6915
+ author: PublicTeaserUser;
6517
6916
  replies?: BlogCommentExt[];
6518
6917
  }
6519
6918
  export interface BlogCategoryExt extends BlogCategory {
@@ -6792,6 +7191,66 @@ export declare const ARTIST_REPRESENTATION_PUBLIC_SELECT: {
6792
7191
  };
6793
7192
  };
6794
7193
  };
7194
+ /**
7195
+ * Signed-out / non-member `GET /organizations/:id` and `/slug/:slug`.
7196
+ * Omits contact email and phone, street address, billing, SMS caps, SSO,
7197
+ * Stripe ids, and other workspace-admin fields (M294).
7198
+ */
7199
+ export declare const ORGANIZATION_PUBLIC_DETAIL_SELECT: {
7200
+ id: true;
7201
+ name: true;
7202
+ slug: true;
7203
+ organizationType: true;
7204
+ bio: true;
7205
+ mission: true;
7206
+ pocName: true;
7207
+ city: true;
7208
+ state: true;
7209
+ zipCode: true;
7210
+ country: true;
7211
+ coverPhoto: true;
7212
+ logoUrl: true;
7213
+ websiteUrl: true;
7214
+ socialLinks: true;
7215
+ goodsOrServices: true;
7216
+ venueTypes: true;
7217
+ secondaryVenueTypes: true;
7218
+ baseMembershipPriceCents: true;
7219
+ premiumMembershipPriceCents: true;
7220
+ membershipBillingInterval: true;
7221
+ allowGuestsByDefault: true;
7222
+ defaultGuestLimit: true;
7223
+ visibility: true;
7224
+ requiresApproval: true;
7225
+ memberAutoApproval: true;
7226
+ ownerId: true;
7227
+ parentOrganizationId: true;
7228
+ departmentName: true;
7229
+ hierarchyLevel: true;
7230
+ latitude: true;
7231
+ longitude: true;
7232
+ createdAt: true;
7233
+ updatedAt: true;
7234
+ accentColor: true;
7235
+ faviconUrl: true;
7236
+ secondaryBrandColor: true;
7237
+ fontPreset: true;
7238
+ coursesEnabled: true;
7239
+ communityEnabled: true;
7240
+ resourcesEnabled: true;
7241
+ removeBashBranding: true;
7242
+ isBashOfficial: true;
7243
+ customDomain: true;
7244
+ customDomainStatus: true;
7245
+ inheritBrandingFromParent: true;
7246
+ nonprofitVerifiedAt: true;
7247
+ nonprofitCountry: true;
7248
+ promotionalPackageRates: true;
7249
+ subscriptionTier: true;
7250
+ };
7251
+ export type OrganizationPublicDetail = Prisma.OrganizationGetPayload<{
7252
+ select: typeof ORGANIZATION_PUBLIC_DETAIL_SELECT;
7253
+ }>;
6795
7254
  export type ArtistRepresentationPublic = Prisma.OrganizationArtistRepresentationGetPayload<{
6796
7255
  select: typeof ARTIST_REPRESENTATION_PUBLIC_SELECT;
6797
7256
  }>;