@bash-app/bash-common 30.476.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.
- package/dist/__tests__/bashEventCancellationPolicy.m300.test.d.ts +2 -0
- package/dist/__tests__/bashEventCancellationPolicy.m300.test.d.ts.map +1 -0
- package/dist/__tests__/bashEventCancellationPolicy.m300.test.js +17 -0
- package/dist/__tests__/bashEventCancellationPolicy.m300.test.js.map +1 -0
- package/dist/__tests__/bashEventLocationDisplay.test.d.ts +2 -0
- package/dist/__tests__/bashEventLocationDisplay.test.d.ts.map +1 -0
- package/dist/__tests__/bashEventLocationDisplay.test.js +11 -0
- package/dist/__tests__/bashEventLocationDisplay.test.js.map +1 -0
- package/dist/__tests__/bashEventMerchCatalogValidation.m299.test.d.ts +2 -0
- package/dist/__tests__/bashEventMerchCatalogValidation.m299.test.d.ts.map +1 -0
- package/dist/__tests__/bashEventMerchCatalogValidation.m299.test.js +33 -0
- package/dist/__tests__/bashEventMerchCatalogValidation.m299.test.js.map +1 -0
- package/dist/__tests__/bashEventWriteValidation.l193.test.d.ts +2 -0
- package/dist/__tests__/bashEventWriteValidation.l193.test.d.ts.map +1 -0
- package/dist/__tests__/bashEventWriteValidation.l193.test.js +20 -0
- package/dist/__tests__/bashEventWriteValidation.l193.test.js.map +1 -0
- package/dist/__tests__/hybridSearchQuery.test.d.ts +2 -0
- package/dist/__tests__/hybridSearchQuery.test.d.ts.map +1 -0
- package/dist/__tests__/hybridSearchQuery.test.js +42 -0
- package/dist/__tests__/hybridSearchQuery.test.js.map +1 -0
- package/dist/__tests__/promoCodeScope.test.js +7 -0
- package/dist/__tests__/promoCodeScope.test.js.map +1 -1
- package/dist/__tests__/serviceListingText.l195.test.d.ts +2 -0
- package/dist/__tests__/serviceListingText.l195.test.d.ts.map +1 -0
- package/dist/__tests__/serviceListingText.l195.test.js +7 -0
- package/dist/__tests__/serviceListingText.l195.test.js.map +1 -0
- package/dist/__tests__/serviceWizardSave.pipNov14.test.d.ts +2 -0
- package/dist/__tests__/serviceWizardSave.pipNov14.test.d.ts.map +1 -0
- package/dist/__tests__/serviceWizardSave.pipNov14.test.js +42 -0
- package/dist/__tests__/serviceWizardSave.pipNov14.test.js.map +1 -0
- package/dist/bashEventCancellationPolicy.d.ts +8 -0
- package/dist/bashEventCancellationPolicy.d.ts.map +1 -1
- package/dist/bashEventCancellationPolicy.js +20 -0
- package/dist/bashEventCancellationPolicy.js.map +1 -1
- package/dist/bashEventMerchCatalogValidation.d.ts +9 -0
- package/dist/bashEventMerchCatalogValidation.d.ts.map +1 -0
- package/dist/bashEventMerchCatalogValidation.js +39 -0
- package/dist/bashEventMerchCatalogValidation.js.map +1 -0
- package/dist/bashEventWriteValidation.d.ts +13 -0
- package/dist/bashEventWriteValidation.d.ts.map +1 -0
- package/dist/bashEventWriteValidation.js +24 -0
- package/dist/bashEventWriteValidation.js.map +1 -0
- package/dist/extendedSchemas.d.ts +675 -215
- package/dist/extendedSchemas.d.ts.map +1 -1
- package/dist/extendedSchemas.js +116 -4
- package/dist/extendedSchemas.js.map +1 -1
- package/dist/index.d.ts +5 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +5 -0
- package/dist/index.js.map +1 -1
- package/dist/promoCodeScope.d.ts +2 -0
- package/dist/promoCodeScope.d.ts.map +1 -1
- package/dist/promoCodeScope.js +8 -3
- package/dist/promoCodeScope.js.map +1 -1
- package/dist/serviceWizardSave.d.ts +2 -0
- package/dist/serviceWizardSave.d.ts.map +1 -1
- package/dist/serviceWizardSave.js +43 -4
- package/dist/serviceWizardSave.js.map +1 -1
- package/dist/utils/__tests__/eventTaskVolunteerRewardUtils.test.js +10 -1
- package/dist/utils/__tests__/eventTaskVolunteerRewardUtils.test.js.map +1 -1
- package/dist/utils/__tests__/webLinkValidation.test.js +11 -1
- package/dist/utils/__tests__/webLinkValidation.test.js.map +1 -1
- package/dist/utils/bashEventLocationDisplay.d.ts +3 -0
- package/dist/utils/bashEventLocationDisplay.d.ts.map +1 -0
- package/dist/utils/bashEventLocationDisplay.js +21 -0
- package/dist/utils/bashEventLocationDisplay.js.map +1 -0
- package/dist/utils/hybridSearchQuery.d.ts +29 -0
- package/dist/utils/hybridSearchQuery.d.ts.map +1 -0
- package/dist/utils/hybridSearchQuery.js +77 -0
- package/dist/utils/hybridSearchQuery.js.map +1 -0
- package/dist/utils/richTextContent.d.ts +4 -0
- package/dist/utils/richTextContent.d.ts.map +1 -1
- package/dist/utils/richTextContent.js +26 -0
- package/dist/utils/richTextContent.js.map +1 -1
- package/dist/utils/serviceListingText.d.ts +3 -0
- package/dist/utils/serviceListingText.d.ts.map +1 -0
- package/dist/utils/serviceListingText.js +6 -0
- package/dist/utils/serviceListingText.js.map +1 -0
- package/dist/utils/userUtils.d.ts +3 -0
- package/dist/utils/userUtils.d.ts.map +1 -1
- package/dist/utils/userUtils.js +10 -0
- package/dist/utils/userUtils.js.map +1 -1
- package/dist/utils/webLinkValidation.d.ts +2 -0
- package/dist/utils/webLinkValidation.d.ts.map +1 -1
- package/dist/utils/webLinkValidation.js +9 -0
- package/dist/utils/webLinkValidation.js.map +1 -1
- package/package.json +1 -1
- package/prisma/schema.prisma +7 -0
- package/src/__tests__/bashEventCancellationPolicy.m300.test.ts +20 -0
- package/src/__tests__/bashEventLocationDisplay.test.ts +20 -0
- package/src/__tests__/bashEventMerchCatalogValidation.m299.test.ts +37 -0
- package/src/__tests__/bashEventWriteValidation.l193.test.ts +31 -0
- package/src/__tests__/hybridSearchQuery.test.ts +54 -0
- package/src/__tests__/promoCodeScope.test.ts +10 -0
- package/src/__tests__/serviceListingText.l195.test.ts +7 -0
- package/src/__tests__/serviceWizardSave.pipNov14.test.ts +47 -0
- package/src/bashEventCancellationPolicy.ts +23 -0
- package/src/bashEventMerchCatalogValidation.ts +45 -0
- package/src/bashEventWriteValidation.ts +31 -0
- package/src/extendedSchemas.ts +133 -6
- package/src/index.ts +5 -0
- package/src/promoCodeScope.ts +10 -3
- package/src/serviceWizardSave.ts +59 -6
- package/src/utils/__tests__/eventTaskVolunteerRewardUtils.test.ts +16 -0
- package/src/utils/__tests__/webLinkValidation.test.ts +18 -1
- package/src/utils/bashEventLocationDisplay.ts +24 -0
- package/src/utils/hybridSearchQuery.ts +93 -0
- package/src/utils/richTextContent.ts +26 -0
- package/src/utils/serviceListingText.ts +6 -0
- package/src/utils/userUtils.ts +13 -0
- 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;
|
|
@@ -1467,6 +1476,7 @@ export declare const SERVICE_PUBLIC_LIST_DATA_TO_INCLUDE: {
|
|
|
1467
1476
|
select: {
|
|
1468
1477
|
id: true;
|
|
1469
1478
|
venueTypes: true;
|
|
1479
|
+
secondaryVenueTypes: true;
|
|
1470
1480
|
capacity: true;
|
|
1471
1481
|
amenities: true;
|
|
1472
1482
|
features: true;
|
|
@@ -1577,7 +1587,585 @@ export declare const SERVICE_PUBLIC_LIST_DATA_TO_INCLUDE: {
|
|
|
1577
1587
|
dealRequiresMinimumCash: true;
|
|
1578
1588
|
dealMinimumCashCents: true;
|
|
1579
1589
|
id: true;
|
|
1580
|
-
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;
|
|
1581
2169
|
};
|
|
1582
2170
|
};
|
|
1583
2171
|
};
|
|
@@ -6204,66 +6792,19 @@ export declare const BLOG_POST_DATA_TO_INCLUDE: {
|
|
|
6204
6792
|
select: {
|
|
6205
6793
|
id: true;
|
|
6206
6794
|
username: true;
|
|
6207
|
-
email: true;
|
|
6208
6795
|
givenName: true;
|
|
6209
6796
|
familyName: true;
|
|
6210
6797
|
image: true;
|
|
6211
6798
|
imageUpdatedAt: true;
|
|
6212
6799
|
uploadedImage: true;
|
|
6213
6800
|
uploadedImageUpdatedAt: true;
|
|
6214
|
-
|
|
6215
|
-
socialMediaProfiles:
|
|
6216
|
-
city: true;
|
|
6217
|
-
state: true;
|
|
6218
|
-
createdOn: true;
|
|
6219
|
-
dob: true;
|
|
6220
|
-
showAgeOnProfile: true;
|
|
6221
|
-
showGenderOnProfile: true;
|
|
6222
|
-
showSocialEventCadenceOnProfile: true;
|
|
6223
|
-
showVerifiedBadgesOnProfile: true;
|
|
6224
|
-
schoolName: true;
|
|
6225
|
-
documentIDId: true;
|
|
6226
|
-
/** Set when Stripe Identity verification completes (hosted flow). */
|
|
6227
|
-
idVerified: true;
|
|
6228
|
-
/** $1 card verification (Stripe PaymentIntent). Unlocks publish gate + 2x earn multiplier */
|
|
6229
|
-
paymentVerified: true;
|
|
6230
|
-
reviews: true;
|
|
6231
|
-
contacts: true;
|
|
6232
|
-
accepted: true;
|
|
6233
|
-
boughtTicket: true;
|
|
6234
|
-
noPay: true;
|
|
6235
|
-
supportedEvent: true;
|
|
6236
|
-
aboutMe: true;
|
|
6237
|
-
levelBadge: true;
|
|
6238
|
-
temporaryBadges: true;
|
|
6239
|
-
artistsToSee: true;
|
|
6240
|
-
membershipTier: true;
|
|
6241
|
-
isAmbashador: true;
|
|
6242
|
-
isBashInsider: true;
|
|
6243
|
-
scoutTier: true;
|
|
6244
|
-
isFirstInCity: true;
|
|
6245
|
-
/** Venmo / Zelle / CashApp handle for off-platform payouts (promoters). */
|
|
6246
|
-
paymentHandle: true;
|
|
6247
|
-
/** BashPoints loyalty (API may omit when viewing someone else’s profile). */
|
|
6248
|
-
bashPointsBalance: true;
|
|
6249
|
-
bashPointsEarnedLifetime: true;
|
|
6250
|
-
/** Home hero “Stuff the horn” best clear (ms; lower is better). */
|
|
6251
|
-
hornClearBestMs: true;
|
|
6252
|
-
hornClearBestAt: true;
|
|
6253
|
-
/** Host reputation fields */
|
|
6254
|
-
hostRating: true;
|
|
6255
|
-
totalRatings: true;
|
|
6256
|
-
totalEventsHosted: true;
|
|
6257
|
-
/** Whether this account is suspended (superuser admin visibility). */
|
|
6258
|
-
isSuspended: true;
|
|
6259
|
-
/** Subscription summary for public surfaces. Omit Stripe linkage fields (see PUBLIC_USER_SUBSCRIPTION_DATA_TO_SELECT). */
|
|
6260
|
-
userSubscription: {
|
|
6801
|
+
/** Public social links for attendee lists / teasers (IG, LinkedIn, etc.). */
|
|
6802
|
+
socialMediaProfiles: {
|
|
6261
6803
|
select: {
|
|
6262
|
-
|
|
6263
|
-
|
|
6264
|
-
|
|
6265
|
-
|
|
6266
|
-
listedCount: true;
|
|
6804
|
+
id: true;
|
|
6805
|
+
platform: true;
|
|
6806
|
+
url: true;
|
|
6807
|
+
userId: true;
|
|
6267
6808
|
};
|
|
6268
6809
|
};
|
|
6269
6810
|
};
|
|
@@ -6276,66 +6817,19 @@ export declare const BLOG_POST_DATA_TO_INCLUDE: {
|
|
|
6276
6817
|
select: {
|
|
6277
6818
|
id: true;
|
|
6278
6819
|
username: true;
|
|
6279
|
-
email: true;
|
|
6280
6820
|
givenName: true;
|
|
6281
6821
|
familyName: true;
|
|
6282
6822
|
image: true;
|
|
6283
6823
|
imageUpdatedAt: true;
|
|
6284
6824
|
uploadedImage: true;
|
|
6285
6825
|
uploadedImageUpdatedAt: true;
|
|
6286
|
-
|
|
6287
|
-
socialMediaProfiles:
|
|
6288
|
-
city: true;
|
|
6289
|
-
state: true;
|
|
6290
|
-
createdOn: true;
|
|
6291
|
-
dob: true;
|
|
6292
|
-
showAgeOnProfile: true;
|
|
6293
|
-
showGenderOnProfile: true;
|
|
6294
|
-
showSocialEventCadenceOnProfile: true;
|
|
6295
|
-
showVerifiedBadgesOnProfile: true;
|
|
6296
|
-
schoolName: true;
|
|
6297
|
-
documentIDId: true;
|
|
6298
|
-
/** Set when Stripe Identity verification completes (hosted flow). */
|
|
6299
|
-
idVerified: true;
|
|
6300
|
-
/** $1 card verification (Stripe PaymentIntent). Unlocks publish gate + 2x earn multiplier */
|
|
6301
|
-
paymentVerified: true;
|
|
6302
|
-
reviews: true;
|
|
6303
|
-
contacts: true;
|
|
6304
|
-
accepted: true;
|
|
6305
|
-
boughtTicket: true;
|
|
6306
|
-
noPay: true;
|
|
6307
|
-
supportedEvent: true;
|
|
6308
|
-
aboutMe: true;
|
|
6309
|
-
levelBadge: true;
|
|
6310
|
-
temporaryBadges: true;
|
|
6311
|
-
artistsToSee: true;
|
|
6312
|
-
membershipTier: true;
|
|
6313
|
-
isAmbashador: true;
|
|
6314
|
-
isBashInsider: true;
|
|
6315
|
-
scoutTier: true;
|
|
6316
|
-
isFirstInCity: true;
|
|
6317
|
-
/** Venmo / Zelle / CashApp handle for off-platform payouts (promoters). */
|
|
6318
|
-
paymentHandle: true;
|
|
6319
|
-
/** BashPoints loyalty (API may omit when viewing someone else’s profile). */
|
|
6320
|
-
bashPointsBalance: true;
|
|
6321
|
-
bashPointsEarnedLifetime: true;
|
|
6322
|
-
/** Home hero “Stuff the horn” best clear (ms; lower is better). */
|
|
6323
|
-
hornClearBestMs: true;
|
|
6324
|
-
hornClearBestAt: true;
|
|
6325
|
-
/** Host reputation fields */
|
|
6326
|
-
hostRating: true;
|
|
6327
|
-
totalRatings: true;
|
|
6328
|
-
totalEventsHosted: true;
|
|
6329
|
-
/** Whether this account is suspended (superuser admin visibility). */
|
|
6330
|
-
isSuspended: true;
|
|
6331
|
-
/** Subscription summary for public surfaces. Omit Stripe linkage fields (see PUBLIC_USER_SUBSCRIPTION_DATA_TO_SELECT). */
|
|
6332
|
-
userSubscription: {
|
|
6826
|
+
/** Public social links for attendee lists / teasers (IG, LinkedIn, etc.). */
|
|
6827
|
+
socialMediaProfiles: {
|
|
6333
6828
|
select: {
|
|
6334
|
-
|
|
6335
|
-
|
|
6336
|
-
|
|
6337
|
-
|
|
6338
|
-
listedCount: true;
|
|
6829
|
+
id: true;
|
|
6830
|
+
platform: true;
|
|
6831
|
+
url: true;
|
|
6832
|
+
userId: true;
|
|
6339
6833
|
};
|
|
6340
6834
|
};
|
|
6341
6835
|
};
|
|
@@ -6346,66 +6840,19 @@ export declare const BLOG_POST_DATA_TO_INCLUDE: {
|
|
|
6346
6840
|
select: {
|
|
6347
6841
|
id: true;
|
|
6348
6842
|
username: true;
|
|
6349
|
-
email: true;
|
|
6350
6843
|
givenName: true;
|
|
6351
6844
|
familyName: true;
|
|
6352
6845
|
image: true;
|
|
6353
6846
|
imageUpdatedAt: true;
|
|
6354
6847
|
uploadedImage: true;
|
|
6355
6848
|
uploadedImageUpdatedAt: true;
|
|
6356
|
-
|
|
6357
|
-
socialMediaProfiles:
|
|
6358
|
-
city: true;
|
|
6359
|
-
state: true;
|
|
6360
|
-
createdOn: true;
|
|
6361
|
-
dob: true;
|
|
6362
|
-
showAgeOnProfile: true;
|
|
6363
|
-
showGenderOnProfile: true;
|
|
6364
|
-
showSocialEventCadenceOnProfile: true;
|
|
6365
|
-
showVerifiedBadgesOnProfile: true;
|
|
6366
|
-
schoolName: true;
|
|
6367
|
-
documentIDId: true;
|
|
6368
|
-
/** Set when Stripe Identity verification completes (hosted flow). */
|
|
6369
|
-
idVerified: true;
|
|
6370
|
-
/** $1 card verification (Stripe PaymentIntent). Unlocks publish gate + 2x earn multiplier */
|
|
6371
|
-
paymentVerified: true;
|
|
6372
|
-
reviews: true;
|
|
6373
|
-
contacts: true;
|
|
6374
|
-
accepted: true;
|
|
6375
|
-
boughtTicket: true;
|
|
6376
|
-
noPay: true;
|
|
6377
|
-
supportedEvent: true;
|
|
6378
|
-
aboutMe: true;
|
|
6379
|
-
levelBadge: true;
|
|
6380
|
-
temporaryBadges: true;
|
|
6381
|
-
artistsToSee: true;
|
|
6382
|
-
membershipTier: true;
|
|
6383
|
-
isAmbashador: true;
|
|
6384
|
-
isBashInsider: true;
|
|
6385
|
-
scoutTier: true;
|
|
6386
|
-
isFirstInCity: true;
|
|
6387
|
-
/** Venmo / Zelle / CashApp handle for off-platform payouts (promoters). */
|
|
6388
|
-
paymentHandle: true;
|
|
6389
|
-
/** BashPoints loyalty (API may omit when viewing someone else’s profile). */
|
|
6390
|
-
bashPointsBalance: true;
|
|
6391
|
-
bashPointsEarnedLifetime: true;
|
|
6392
|
-
/** Home hero “Stuff the horn” best clear (ms; lower is better). */
|
|
6393
|
-
hornClearBestMs: true;
|
|
6394
|
-
hornClearBestAt: true;
|
|
6395
|
-
/** Host reputation fields */
|
|
6396
|
-
hostRating: true;
|
|
6397
|
-
totalRatings: true;
|
|
6398
|
-
totalEventsHosted: true;
|
|
6399
|
-
/** Whether this account is suspended (superuser admin visibility). */
|
|
6400
|
-
isSuspended: true;
|
|
6401
|
-
/** Subscription summary for public surfaces. Omit Stripe linkage fields (see PUBLIC_USER_SUBSCRIPTION_DATA_TO_SELECT). */
|
|
6402
|
-
userSubscription: {
|
|
6849
|
+
/** Public social links for attendee lists / teasers (IG, LinkedIn, etc.). */
|
|
6850
|
+
socialMediaProfiles: {
|
|
6403
6851
|
select: {
|
|
6404
|
-
|
|
6405
|
-
|
|
6406
|
-
|
|
6407
|
-
|
|
6408
|
-
listedCount: true;
|
|
6852
|
+
id: true;
|
|
6853
|
+
platform: true;
|
|
6854
|
+
url: true;
|
|
6855
|
+
userId: true;
|
|
6409
6856
|
};
|
|
6410
6857
|
};
|
|
6411
6858
|
};
|
|
@@ -6426,66 +6873,19 @@ export declare const BLOG_POST_PREVIEW_DATA_TO_INCLUDE: {
|
|
|
6426
6873
|
select: {
|
|
6427
6874
|
id: true;
|
|
6428
6875
|
username: true;
|
|
6429
|
-
email: true;
|
|
6430
6876
|
givenName: true;
|
|
6431
6877
|
familyName: true;
|
|
6432
6878
|
image: true;
|
|
6433
6879
|
imageUpdatedAt: true;
|
|
6434
6880
|
uploadedImage: true;
|
|
6435
6881
|
uploadedImageUpdatedAt: true;
|
|
6436
|
-
|
|
6437
|
-
socialMediaProfiles:
|
|
6438
|
-
city: true;
|
|
6439
|
-
state: true;
|
|
6440
|
-
createdOn: true;
|
|
6441
|
-
dob: true;
|
|
6442
|
-
showAgeOnProfile: true;
|
|
6443
|
-
showGenderOnProfile: true;
|
|
6444
|
-
showSocialEventCadenceOnProfile: true;
|
|
6445
|
-
showVerifiedBadgesOnProfile: true;
|
|
6446
|
-
schoolName: true;
|
|
6447
|
-
documentIDId: true;
|
|
6448
|
-
/** Set when Stripe Identity verification completes (hosted flow). */
|
|
6449
|
-
idVerified: true;
|
|
6450
|
-
/** $1 card verification (Stripe PaymentIntent). Unlocks publish gate + 2x earn multiplier */
|
|
6451
|
-
paymentVerified: true;
|
|
6452
|
-
reviews: true;
|
|
6453
|
-
contacts: true;
|
|
6454
|
-
accepted: true;
|
|
6455
|
-
boughtTicket: true;
|
|
6456
|
-
noPay: true;
|
|
6457
|
-
supportedEvent: true;
|
|
6458
|
-
aboutMe: true;
|
|
6459
|
-
levelBadge: true;
|
|
6460
|
-
temporaryBadges: true;
|
|
6461
|
-
artistsToSee: true;
|
|
6462
|
-
membershipTier: true;
|
|
6463
|
-
isAmbashador: true;
|
|
6464
|
-
isBashInsider: true;
|
|
6465
|
-
scoutTier: true;
|
|
6466
|
-
isFirstInCity: true;
|
|
6467
|
-
/** Venmo / Zelle / CashApp handle for off-platform payouts (promoters). */
|
|
6468
|
-
paymentHandle: true;
|
|
6469
|
-
/** BashPoints loyalty (API may omit when viewing someone else’s profile). */
|
|
6470
|
-
bashPointsBalance: true;
|
|
6471
|
-
bashPointsEarnedLifetime: true;
|
|
6472
|
-
/** Home hero “Stuff the horn” best clear (ms; lower is better). */
|
|
6473
|
-
hornClearBestMs: true;
|
|
6474
|
-
hornClearBestAt: true;
|
|
6475
|
-
/** Host reputation fields */
|
|
6476
|
-
hostRating: true;
|
|
6477
|
-
totalRatings: true;
|
|
6478
|
-
totalEventsHosted: true;
|
|
6479
|
-
/** Whether this account is suspended (superuser admin visibility). */
|
|
6480
|
-
isSuspended: true;
|
|
6481
|
-
/** Subscription summary for public surfaces. Omit Stripe linkage fields (see PUBLIC_USER_SUBSCRIPTION_DATA_TO_SELECT). */
|
|
6482
|
-
userSubscription: {
|
|
6882
|
+
/** Public social links for attendee lists / teasers (IG, LinkedIn, etc.). */
|
|
6883
|
+
socialMediaProfiles: {
|
|
6483
6884
|
select: {
|
|
6484
|
-
|
|
6485
|
-
|
|
6486
|
-
|
|
6487
|
-
|
|
6488
|
-
listedCount: true;
|
|
6885
|
+
id: true;
|
|
6886
|
+
platform: true;
|
|
6887
|
+
url: true;
|
|
6888
|
+
userId: true;
|
|
6489
6889
|
};
|
|
6490
6890
|
};
|
|
6491
6891
|
};
|
|
@@ -6503,7 +6903,7 @@ export declare const BLOG_POST_PREVIEW_DATA_TO_INCLUDE: {
|
|
|
6503
6903
|
};
|
|
6504
6904
|
};
|
|
6505
6905
|
export interface BlogPostExt extends BlogPost {
|
|
6506
|
-
author:
|
|
6906
|
+
author: PublicTeaserUser;
|
|
6507
6907
|
category?: BlogCategory | null;
|
|
6508
6908
|
tags: BlogTag[];
|
|
6509
6909
|
comments?: BlogCommentExt[];
|
|
@@ -6512,7 +6912,7 @@ export interface BlogPostExt extends BlogPost {
|
|
|
6512
6912
|
};
|
|
6513
6913
|
}
|
|
6514
6914
|
export interface BlogCommentExt extends BlogComment {
|
|
6515
|
-
author:
|
|
6915
|
+
author: PublicTeaserUser;
|
|
6516
6916
|
replies?: BlogCommentExt[];
|
|
6517
6917
|
}
|
|
6518
6918
|
export interface BlogCategoryExt extends BlogCategory {
|
|
@@ -6791,6 +7191,66 @@ export declare const ARTIST_REPRESENTATION_PUBLIC_SELECT: {
|
|
|
6791
7191
|
};
|
|
6792
7192
|
};
|
|
6793
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
|
+
}>;
|
|
6794
7254
|
export type ArtistRepresentationPublic = Prisma.OrganizationArtistRepresentationGetPayload<{
|
|
6795
7255
|
select: typeof ARTIST_REPRESENTATION_PUBLIC_SELECT;
|
|
6796
7256
|
}>;
|