@sellout/models 0.0.57 → 0.0.59
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/enums/OrderDeliveryMethodEnum.d.ts +5 -0
- package/.dist/enums/OrderDeliveryMethodEnum.js +11 -0
- package/.dist/enums/OrderDeliveryMethodEnum.js.map +1 -0
- package/.dist/enums/PaymentMethodTypeEnum.d.ts +5 -0
- package/.dist/enums/PaymentMethodTypeEnum.js +10 -0
- package/.dist/enums/PaymentMethodTypeEnum.js.map +1 -0
- package/.dist/graphql/fragments/event.fragment.js +3 -0
- package/.dist/graphql/fragments/event.fragment.js.map +1 -1
- package/.dist/graphql/links/debounceLink.d.ts +3 -0
- package/.dist/graphql/links/debounceLink.js +9 -0
- package/.dist/graphql/links/debounceLink.js.map +1 -0
- package/.dist/graphql/mutations/acceptRole.mutation.d.ts +2 -0
- package/.dist/graphql/mutations/acceptRole.mutation.js +21 -0
- package/.dist/graphql/mutations/acceptRole.mutation.js.map +1 -0
- package/.dist/graphql/mutations/attachStripePaymentMethod.mutation.d.ts +2 -0
- package/.dist/graphql/mutations/attachStripePaymentMethod.mutation.js +13 -0
- package/.dist/graphql/mutations/attachStripePaymentMethod.mutation.js.map +1 -0
- package/.dist/graphql/mutations/createArtist.mutation.js +0 -8
- package/.dist/graphql/mutations/createArtist.mutation.js.map +1 -1
- package/.dist/graphql/mutations/createEvent.mutation.js +0 -2
- package/.dist/graphql/mutations/createEvent.mutation.js.map +1 -1
- package/.dist/graphql/mutations/createOrder.mutation.d.ts +2 -0
- package/.dist/graphql/mutations/createOrder.mutation.js +60 -0
- package/.dist/graphql/mutations/createOrder.mutation.js.map +1 -0
- package/.dist/graphql/mutations/createOrganizationFee.mutation.d.ts +2 -0
- package/.dist/graphql/mutations/createOrganizationFee.mutation.js +30 -0
- package/.dist/graphql/mutations/createOrganizationFee.mutation.js.map +1 -0
- package/.dist/graphql/mutations/createPlatformFee.mutation.d.ts +2 -0
- package/.dist/graphql/mutations/createPlatformFee.mutation.js +30 -0
- package/.dist/graphql/mutations/createPlatformFee.mutation.js.map +1 -0
- package/.dist/graphql/mutations/createRole.mutation.d.ts +2 -0
- package/.dist/graphql/mutations/createRole.mutation.js +19 -0
- package/.dist/graphql/mutations/createRole.mutation.js.map +1 -0
- package/.dist/graphql/mutations/createStripeSetupIntent.mutation.d.ts +2 -0
- package/.dist/graphql/mutations/createStripeSetupIntent.mutation.js +13 -0
- package/.dist/graphql/mutations/createStripeSetupIntent.mutation.js.map +1 -0
- package/.dist/graphql/mutations/createStripeTerminalConnectionToken.mutation.d.ts +2 -0
- package/.dist/graphql/mutations/createStripeTerminalConnectionToken.mutation.js +13 -0
- package/.dist/graphql/mutations/createStripeTerminalConnectionToken.mutation.js.map +1 -0
- package/.dist/graphql/mutations/createVenue.mutation.d.ts +2 -0
- package/.dist/graphql/mutations/createVenue.mutation.js +35 -0
- package/.dist/graphql/mutations/createVenue.mutation.js.map +1 -0
- package/.dist/graphql/mutations/createWebFlowSite.mutation.d.ts +2 -0
- package/.dist/graphql/mutations/createWebFlowSite.mutation.js +42 -0
- package/.dist/graphql/mutations/createWebFlowSite.mutation.js.map +1 -0
- package/.dist/graphql/mutations/deleteOrganizationFee.mutation.d.ts +2 -0
- package/.dist/graphql/mutations/deleteOrganizationFee.mutation.js +13 -0
- package/.dist/graphql/mutations/deleteOrganizationFee.mutation.js.map +1 -0
- package/.dist/graphql/mutations/deletePlatformFee.mutation.d.ts +2 -0
- package/.dist/graphql/mutations/deletePlatformFee.mutation.js +13 -0
- package/.dist/graphql/mutations/deletePlatformFee.mutation.js.map +1 -0
- package/.dist/graphql/mutations/deleteRole.mutation.d.ts +2 -0
- package/.dist/graphql/mutations/deleteRole.mutation.js +13 -0
- package/.dist/graphql/mutations/deleteRole.mutation.js.map +1 -0
- package/.dist/graphql/mutations/deleteStripeTerminalReader.mutation.d.ts +2 -0
- package/.dist/graphql/mutations/deleteStripeTerminalReader.mutation.js +13 -0
- package/.dist/graphql/mutations/deleteStripeTerminalReader.mutation.js.map +1 -0
- package/.dist/graphql/mutations/deleteUnverifiedUser.mutation.d.ts +2 -0
- package/.dist/graphql/mutations/deleteUnverifiedUser.mutation.js +14 -0
- package/.dist/graphql/mutations/deleteUnverifiedUser.mutation.js.map +1 -0
- package/.dist/graphql/mutations/forgotPassword.mutation.d.ts +2 -0
- package/.dist/graphql/mutations/forgotPassword.mutation.js +13 -0
- package/.dist/graphql/mutations/forgotPassword.mutation.js.map +1 -0
- package/.dist/graphql/mutations/login.mutation.d.ts +2 -0
- package/.dist/graphql/mutations/login.mutation.js +23 -0
- package/.dist/graphql/mutations/login.mutation.js.map +1 -0
- package/.dist/graphql/mutations/register.mutation.d.ts +2 -0
- package/.dist/graphql/mutations/register.mutation.js +23 -0
- package/.dist/graphql/mutations/register.mutation.js.map +1 -0
- package/.dist/graphql/mutations/registerStripeTerminalReader.mutation.d.ts +2 -0
- package/.dist/graphql/mutations/registerStripeTerminalReader.mutation.js +21 -0
- package/.dist/graphql/mutations/registerStripeTerminalReader.mutation.js.map +1 -0
- package/.dist/graphql/mutations/remapWebFlowSite.mutation.d.ts +2 -0
- package/.dist/graphql/mutations/remapWebFlowSite.mutation.js +40 -0
- package/.dist/graphql/mutations/remapWebFlowSite.mutation.js.map +1 -0
- package/.dist/graphql/mutations/sendUserPhoneAuthentication.mutation.d.ts +2 -0
- package/.dist/graphql/mutations/sendUserPhoneAuthentication.mutation.js +13 -0
- package/.dist/graphql/mutations/sendUserPhoneAuthentication.mutation.js.map +1 -0
- package/.dist/graphql/mutations/setUserOrgContextId.d.ts +2 -0
- package/.dist/graphql/mutations/setUserOrgContextId.js +15 -0
- package/.dist/graphql/mutations/setUserOrgContextId.js.map +1 -0
- package/.dist/graphql/mutations/setUserOrgContextId.mutation.d.ts +2 -0
- package/.dist/graphql/mutations/setUserOrgContextId.mutation.js +15 -0
- package/.dist/graphql/mutations/setUserOrgContextId.mutation.js.map +1 -0
- package/.dist/graphql/mutations/setUserPassword.mutation.d.ts +2 -0
- package/.dist/graphql/mutations/setUserPassword.mutation.js +15 -0
- package/.dist/graphql/mutations/setUserPassword.mutation.js.map +1 -0
- package/.dist/graphql/mutations/updateArtist.mutation.js +0 -8
- package/.dist/graphql/mutations/updateArtist.mutation.js.map +1 -1
- package/.dist/graphql/mutations/updateEvent.mutation.js +0 -2
- package/.dist/graphql/mutations/updateEvent.mutation.js.map +1 -1
- package/.dist/graphql/mutations/updateOrganizationFee.mutation.d.ts +2 -0
- package/.dist/graphql/mutations/updateOrganizationFee.mutation.js +30 -0
- package/.dist/graphql/mutations/updateOrganizationFee.mutation.js.map +1 -0
- package/.dist/graphql/mutations/updatePlatformFee.mutation.d.ts +2 -0
- package/.dist/graphql/mutations/updatePlatformFee.mutation.js +30 -0
- package/.dist/graphql/mutations/updatePlatformFee.mutation.js.map +1 -0
- package/.dist/graphql/mutations/updateVenue.mutation.d.ts +2 -0
- package/.dist/graphql/mutations/updateVenue.mutation.js +35 -0
- package/.dist/graphql/mutations/updateVenue.mutation.js.map +1 -0
- package/.dist/graphql/mutations/verifyUserPhoneAuthentication.mutation.d.ts +2 -0
- package/.dist/graphql/mutations/verifyUserPhoneAuthentication.mutation.js +15 -0
- package/.dist/graphql/mutations/verifyUserPhoneAuthentication.mutation.js.map +1 -0
- package/.dist/graphql/queries/analytics.query.d.ts +2 -0
- package/.dist/graphql/queries/analytics.query.js +30 -0
- package/.dist/graphql/queries/analytics.query.js.map +1 -0
- package/.dist/graphql/queries/artist.query.js +0 -8
- package/.dist/graphql/queries/artist.query.js.map +1 -1
- package/.dist/graphql/queries/artists.query.js +0 -8
- package/.dist/graphql/queries/artists.query.js.map +1 -1
- package/.dist/graphql/queries/customerProfile.d.ts +2 -0
- package/.dist/graphql/queries/customerProfile.js +42 -0
- package/.dist/graphql/queries/customerProfile.js.map +1 -0
- package/.dist/graphql/queries/customerProfile.query.d.ts +2 -0
- package/.dist/graphql/queries/customerProfile.query.js +25 -0
- package/.dist/graphql/queries/customerProfile.query.js.map +1 -0
- package/.dist/graphql/queries/event.query.js +3 -2
- package/.dist/graphql/queries/event.query.js.map +1 -1
- package/.dist/graphql/queries/events.query.js +2 -7
- package/.dist/graphql/queries/events.query.js.map +1 -1
- package/.dist/graphql/queries/listStripeTerminalReaders.query.d.ts +2 -0
- package/.dist/graphql/queries/listStripeTerminalReaders.query.js +21 -0
- package/.dist/graphql/queries/listStripeTerminalReaders.query.js.map +1 -0
- package/.dist/graphql/queries/orders.query.js +14 -0
- package/.dist/graphql/queries/orders.query.js.map +1 -1
- package/.dist/graphql/queries/organization.query.d.ts +2 -0
- package/.dist/graphql/queries/organization.query.js +49 -0
- package/.dist/graphql/queries/organization.query.js.map +1 -0
- package/.dist/graphql/queries/organizationFees.query.d.ts +2 -0
- package/.dist/graphql/queries/organizationFees.query.js +30 -0
- package/.dist/graphql/queries/organizationFees.query.js.map +1 -0
- package/.dist/graphql/queries/organizations.d.ts +2 -0
- package/.dist/graphql/queries/organizations.js +49 -0
- package/.dist/graphql/queries/organizations.js.map +1 -0
- package/.dist/graphql/queries/organizations.query.d.ts +2 -0
- package/.dist/graphql/queries/organizations.query.js +49 -0
- package/.dist/graphql/queries/organizations.query.js.map +1 -0
- package/.dist/graphql/queries/platformFees.query.d.ts +2 -0
- package/.dist/graphql/queries/platformFees.query.js +30 -0
- package/.dist/graphql/queries/platformFees.query.js.map +1 -0
- package/.dist/graphql/queries/profile.query.js +4 -1
- package/.dist/graphql/queries/profile.query.js.map +1 -1
- package/.dist/graphql/queries/profiles.query.js +1 -8
- package/.dist/graphql/queries/profiles.query.js.map +1 -1
- package/.dist/graphql/queries/publicEvent.query.d.ts +2 -0
- package/.dist/graphql/queries/publicEvent.query.js +57 -0
- package/.dist/graphql/queries/publicEvent.query.js.map +1 -0
- package/.dist/graphql/queries/role.query.d.ts +2 -0
- package/.dist/graphql/queries/role.query.js +32 -0
- package/.dist/graphql/queries/role.query.js.map +1 -0
- package/.dist/graphql/queries/seating.query.d.ts +2 -0
- package/.dist/graphql/queries/seating.query.js +20 -0
- package/.dist/graphql/queries/seating.query.js.map +1 -0
- package/.dist/graphql/queries/userExists.query.d.ts +2 -0
- package/.dist/graphql/queries/userExists.query.js +18 -0
- package/.dist/graphql/queries/userExists.query.js.map +1 -0
- package/.dist/graphql/queries/userProfile.query.d.ts +2 -0
- package/.dist/graphql/queries/userProfile.query.js +33 -0
- package/.dist/graphql/queries/userProfile.query.js.map +1 -0
- package/.dist/graphql/queries/userRoles.query.d.ts +2 -0
- package/.dist/graphql/queries/userRoles.query.js +34 -0
- package/.dist/graphql/queries/userRoles.query.js.map +1 -0
- package/.dist/graphql/queries/venue.query.js +1 -2
- package/.dist/graphql/queries/venue.query.js.map +1 -1
- package/.dist/graphql/queries/venues.query.js +23 -36
- package/.dist/graphql/queries/venues.query.js.map +1 -1
- package/.dist/graphql/queries/webFlowSites.query.d.ts +2 -0
- package/.dist/graphql/queries/webFlowSites.query.js +24 -0
- package/.dist/graphql/queries/webFlowSites.query.js.map +1 -0
- package/.dist/interfaces/IAnalytics.d.ts +60 -0
- package/.dist/interfaces/IAnalytics.js +76 -0
- package/.dist/interfaces/IAnalytics.js.map +1 -0
- package/.dist/interfaces/IArtist.d.ts +0 -2
- package/.dist/interfaces/IArtist.js.map +1 -1
- package/.dist/interfaces/IEvent.d.ts +14 -2
- package/.dist/interfaces/IEvent.js.map +1 -1
- package/.dist/interfaces/IEventCustomField.d.ts +5 -2
- package/.dist/interfaces/IEventCustomField.js +2 -0
- package/.dist/interfaces/IEventCustomField.js.map +1 -1
- package/.dist/interfaces/IEventUpgrade.d.ts +1 -0
- package/.dist/interfaces/IFee.d.ts +3 -1
- package/.dist/interfaces/IFee.js +2 -4
- package/.dist/interfaces/IFee.js.map +1 -1
- package/.dist/interfaces/IOrder.d.ts +4 -0
- package/.dist/interfaces/IOrder.js.map +1 -1
- package/.dist/interfaces/IOrderState.d.ts +5 -5
- package/.dist/interfaces/IOrderState.js +5 -14
- package/.dist/interfaces/IOrderState.js.map +1 -1
- package/.dist/interfaces/IOrderTicket.d.ts +2 -0
- package/.dist/interfaces/IOrderTicket.js.map +1 -1
- package/.dist/interfaces/IOrderType.d.ts +1 -1
- package/.dist/interfaces/IOrderType.js +1 -1
- package/.dist/interfaces/IOrderType.js.map +1 -1
- package/.dist/interfaces/IOrderUpgrade.d.ts +2 -1
- package/.dist/interfaces/IPagination.d.ts +9 -0
- package/.dist/interfaces/IPagination.js +10 -0
- package/.dist/interfaces/IPagination.js.map +1 -1
- package/.dist/interfaces/IPayment.d.ts +13 -0
- package/.dist/interfaces/IPayment.js +3 -0
- package/.dist/interfaces/IPayment.js.map +1 -0
- package/.dist/interfaces/IRole.d.ts +15 -7
- package/.dist/interfaces/IRole.js +24 -0
- package/.dist/interfaces/IRole.js.map +1 -1
- package/.dist/interfaces/ISecondaryEmail.d.ts +4 -0
- package/.dist/interfaces/ISecondaryEmail.js +3 -0
- package/.dist/interfaces/ISecondaryEmail.js.map +1 -0
- package/.dist/interfaces/IStripeCustomer.d.ts +6 -0
- package/.dist/interfaces/IStripeCustomer.js +3 -0
- package/.dist/interfaces/IStripeCustomer.js.map +1 -0
- package/.dist/interfaces/IStripeSource.d.ts +10 -0
- package/.dist/interfaces/IStripeSource.js +3 -0
- package/.dist/interfaces/IStripeSource.js.map +1 -0
- package/.dist/interfaces/IStripeTerminalReader.d.ts +9 -0
- package/.dist/interfaces/IStripeTerminalReader.js +3 -0
- package/.dist/interfaces/IStripeTerminalReader.js.map +1 -0
- package/.dist/interfaces/ITicketTier.d.ts +2 -2
- package/.dist/interfaces/ITicketType.d.ts +1 -0
- package/.dist/interfaces/IUserProfile.d.ts +6 -2
- package/.dist/interfaces/IVenue.d.ts +2 -6
- package/.dist/schemas/Artist.d.ts +4 -130
- package/.dist/schemas/Artist.js +4 -2
- package/.dist/schemas/Artist.js.map +1 -1
- package/.dist/schemas/Event.d.ts +15 -0
- package/.dist/schemas/Event.js +15 -0
- package/.dist/schemas/Event.js.map +1 -1
- package/.dist/schemas/Order.d.ts +83 -0
- package/.dist/schemas/Order.js +84 -0
- package/.dist/schemas/Order.js.map +1 -1
- package/.dist/schemas/SecondaryEmail.d.ts +12 -0
- package/.dist/schemas/SecondaryEmail.js +14 -0
- package/.dist/schemas/SecondaryEmail.js.map +1 -0
- package/.dist/schemas/UserProfile.d.ts +0 -130
- package/.dist/schemas/UserProfile.js +0 -2
- package/.dist/schemas/UserProfile.js.map +1 -1
- package/.dist/schemas/Venue.d.ts +4 -141
- package/.dist/schemas/Venue.js +4 -15
- package/.dist/schemas/Venue.js.map +1 -1
- package/.dist/sellout-proto.js +29977 -22900
- package/.dist/utils/AnalyticsUtil.d.ts +37 -0
- package/.dist/utils/AnalyticsUtil.js +557 -0
- package/.dist/utils/AnalyticsUtil.js.map +1 -0
- package/.dist/utils/EventUtil.d.ts +35 -12
- package/.dist/utils/EventUtil.js +80 -15
- package/.dist/utils/EventUtil.js.map +1 -1
- package/.dist/utils/FeeUtil.d.ts +4 -4
- package/.dist/utils/FeeUtil.js +4 -4
- package/.dist/utils/FeeUtil.js.map +1 -1
- package/package.json +6 -5
- package/src/enums/OrderDeliveryMethodEnum.ts +5 -0
- package/src/enums/PaymentMethodTypeEnum.ts +5 -0
- package/src/graphql/fragments/event.fragment.ts +3 -0
- package/src/graphql/links/debounceLink.ts +4 -0
- package/src/graphql/mutations/acceptRole.mutation.ts +17 -0
- package/src/graphql/mutations/attachStripePaymentMethod.mutation.ts +9 -0
- package/src/graphql/mutations/createArtist.mutation.ts +0 -8
- package/src/graphql/mutations/createEvent.mutation.ts +0 -2
- package/src/graphql/mutations/createOrder.mutation.ts +56 -0
- package/src/graphql/mutations/createOrganizationFee.mutation.ts +26 -0
- package/src/graphql/mutations/createPlatformFee.mutation.ts +26 -0
- package/src/graphql/mutations/createRole.mutation.ts +15 -0
- package/src/graphql/mutations/createStripeSetupIntent.mutation.ts +9 -0
- package/src/graphql/mutations/createStripeTerminalConnectionToken.mutation.ts +9 -0
- package/src/graphql/mutations/createVenue.mutation.ts +31 -0
- package/src/graphql/mutations/createWebFlowSite.mutation.ts +38 -0
- package/src/graphql/mutations/deleteOrganizationFee.mutation.ts +9 -0
- package/src/graphql/mutations/deletePlatformFee.mutation.ts +9 -0
- package/src/graphql/mutations/deleteRole.mutation.ts +9 -0
- package/src/graphql/mutations/deleteStripeTerminalReader.mutation.ts +9 -0
- package/src/graphql/mutations/deleteUnverifiedUser.mutation.ts +10 -0
- package/src/graphql/mutations/registerStripeTerminalReader.mutation.ts +17 -0
- package/src/graphql/mutations/remapWebFlowSite.mutation.ts +36 -0
- package/src/graphql/mutations/sendUserPhoneAuthentication.mutation.ts +9 -0
- package/src/graphql/mutations/setUserOrgContextId.mutation.ts +11 -0
- package/src/graphql/mutations/setUserPassword.mutation.ts +11 -0
- package/src/graphql/mutations/updateArtist.mutation.ts +0 -8
- package/src/graphql/mutations/updateEvent.mutation.ts +0 -2
- package/src/graphql/mutations/updateOrganizationFee.mutation.ts +26 -0
- package/src/graphql/mutations/updatePlatformFee.mutation.ts +26 -0
- package/src/graphql/mutations/updateVenue.mutation.ts +31 -0
- package/src/graphql/mutations/verifyUserPhoneAuthentication.mutation.ts +11 -0
- package/src/graphql/queries/analytics.query.ts +26 -0
- package/src/graphql/queries/artist.query.ts +0 -8
- package/src/graphql/queries/artists.query.ts +0 -8
- package/src/graphql/queries/customerProfile.query.ts +21 -0
- package/src/graphql/queries/event.query.ts +3 -2
- package/src/graphql/queries/events.query.ts +2 -7
- package/src/graphql/queries/listStripeTerminalReaders.query.ts +17 -0
- package/src/graphql/queries/orders.query.ts +14 -0
- package/src/graphql/queries/organizationFees.query.ts +26 -0
- package/src/graphql/queries/organizations.query.ts +45 -0
- package/src/graphql/queries/platformFees.query.ts +26 -0
- package/src/graphql/queries/profile.query.ts +4 -1
- package/src/graphql/queries/profiles.query.ts +1 -8
- package/src/graphql/queries/publicEvent.query.ts +53 -0
- package/src/graphql/queries/role.query.ts +28 -0
- package/src/graphql/queries/seating.query.ts +16 -0
- package/src/graphql/queries/userExists.query.ts +14 -0
- package/src/graphql/queries/userProfile.query.ts +29 -0
- package/src/graphql/queries/userRoles.query.ts +30 -0
- package/src/graphql/queries/venue.query.ts +1 -2
- package/src/graphql/queries/venues.query.ts +23 -36
- package/src/graphql/queries/webFlowSites.query.ts +20 -0
- package/src/interfaces/IAnalytics.ts +96 -0
- package/src/interfaces/IArtist.ts +0 -2
- package/src/interfaces/IEvent.ts +17 -2
- package/src/interfaces/IEventCustomField.ts +4 -1
- package/src/interfaces/IEventUpgrade.ts +1 -0
- package/src/interfaces/IFee.ts +2 -4
- package/src/interfaces/IOrder.ts +8 -4
- package/src/interfaces/IOrderState.ts +5 -14
- package/src/interfaces/IOrderTicket.ts +2 -0
- package/src/interfaces/IOrderType.ts +1 -1
- package/src/interfaces/IOrderUpgrade.ts +2 -1
- package/src/interfaces/IPagination.ts +11 -0
- package/src/interfaces/IPayment.ts +13 -0
- package/src/interfaces/IRole.ts +26 -8
- package/src/interfaces/IStripeCustomer.ts +7 -0
- package/src/interfaces/IStripeSource.ts +10 -0
- package/src/interfaces/IStripeTerminalReader.ts +9 -0
- package/src/interfaces/ITicketTier.ts +2 -2
- package/src/interfaces/ITicketType.ts +1 -0
- package/src/interfaces/IUserProfile.ts +8 -2
- package/src/interfaces/IVenue.ts +2 -6
- package/src/proto/artist.proto +1 -2
- package/src/proto/broadcast.proto +0 -13
- package/src/proto/common.proto +15 -0
- package/src/proto/event.proto +4 -1
- package/src/proto/order.proto +78 -4
- package/src/proto/stripe.proto +135 -0
- package/src/proto/venue.proto +7 -10
- package/src/schemas/Artist.ts +4 -2
- package/src/schemas/Event.ts +15 -0
- package/src/schemas/Order.ts +85 -0
- package/src/schemas/UserProfile.ts +0 -2
- package/src/schemas/Venue.ts +4 -15
- package/src/utils/AnalyticsUtil.ts +838 -0
- package/src/utils/EventUtil.ts +110 -44
- package/src/utils/FeeUtil.ts +4 -4
- package/src/utils/fee-util-broken-but-why +36 -0
- package/src/interfaces/IMetrics.ts +0 -33
- /package/src/graphql/mutations/{forgotPassword.ts → forgotPassword.mutation.ts} +0 -0
- /package/src/graphql/mutations/{login.ts → login.mutation.ts} +0 -0
- /package/src/graphql/mutations/{register.ts → register.mutation.ts} +0 -0
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import gql from "graphql-tag";
|
|
2
|
+
|
|
3
|
+
const query = gql`
|
|
4
|
+
query role($roleId: String!) {
|
|
5
|
+
role(roleId: $roleId) {
|
|
6
|
+
_id
|
|
7
|
+
userId
|
|
8
|
+
userEmail
|
|
9
|
+
orgId
|
|
10
|
+
org {
|
|
11
|
+
orgName
|
|
12
|
+
orgLogoUrl
|
|
13
|
+
}
|
|
14
|
+
role
|
|
15
|
+
createdAt
|
|
16
|
+
createdBy
|
|
17
|
+
acceptedAt
|
|
18
|
+
user {
|
|
19
|
+
_id
|
|
20
|
+
firstName
|
|
21
|
+
lastName
|
|
22
|
+
email
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
`;
|
|
27
|
+
|
|
28
|
+
export default query;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import gql from "graphql-tag";
|
|
2
|
+
|
|
3
|
+
const query = gql`
|
|
4
|
+
query userProfile {
|
|
5
|
+
userProfile {
|
|
6
|
+
user {
|
|
7
|
+
firstName
|
|
8
|
+
lastName
|
|
9
|
+
phoneNumber
|
|
10
|
+
email
|
|
11
|
+
}
|
|
12
|
+
stripeCustomerId
|
|
13
|
+
stripeCustomer {
|
|
14
|
+
sources {
|
|
15
|
+
sourceId
|
|
16
|
+
brand
|
|
17
|
+
last4
|
|
18
|
+
expMonth
|
|
19
|
+
expYear
|
|
20
|
+
funding
|
|
21
|
+
country
|
|
22
|
+
type
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
`;
|
|
28
|
+
|
|
29
|
+
export default query;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import gql from 'graphql-tag';
|
|
2
|
+
|
|
3
|
+
const query = gql`
|
|
4
|
+
query userRoles {
|
|
5
|
+
userRoles {
|
|
6
|
+
_id
|
|
7
|
+
userId
|
|
8
|
+
userEmail
|
|
9
|
+
user {
|
|
10
|
+
_id
|
|
11
|
+
firstName
|
|
12
|
+
lastName
|
|
13
|
+
email
|
|
14
|
+
}
|
|
15
|
+
orgId
|
|
16
|
+
org {
|
|
17
|
+
userId
|
|
18
|
+
orgName
|
|
19
|
+
orgLogoUrl
|
|
20
|
+
stripeId
|
|
21
|
+
}
|
|
22
|
+
role
|
|
23
|
+
createdAt
|
|
24
|
+
createdBy
|
|
25
|
+
acceptedAt
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
`;
|
|
29
|
+
|
|
30
|
+
export default query;
|
|
@@ -4,6 +4,7 @@ const query = gql`
|
|
|
4
4
|
query venue($venueId: String) {
|
|
5
5
|
venue(venueId: $venueId) {
|
|
6
6
|
_id
|
|
7
|
+
orgId
|
|
7
8
|
name
|
|
8
9
|
description
|
|
9
10
|
capacity
|
|
@@ -22,9 +23,7 @@ const query = gql`
|
|
|
22
23
|
}
|
|
23
24
|
url
|
|
24
25
|
imageUrls
|
|
25
|
-
seatingMapIds
|
|
26
26
|
venueGlobalId
|
|
27
|
-
orgId
|
|
28
27
|
}
|
|
29
28
|
}
|
|
30
29
|
`;
|
|
@@ -2,44 +2,31 @@
|
|
|
2
2
|
import gql from "graphql-tag";
|
|
3
3
|
|
|
4
4
|
const query = gql`
|
|
5
|
-
query venues($query: VenueQueryInput, $pagination: PaginationInput) {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
orgId
|
|
29
|
-
metrics {
|
|
30
|
-
lifeTimeTicketsPurchased
|
|
31
|
-
lifeTimeTicketsRefunded
|
|
32
|
-
lifeTimeValue
|
|
33
|
-
lifeTimeValueRefunded
|
|
34
|
-
yearToDateTicketsPurchased
|
|
35
|
-
yearToDateTicketsRefunded
|
|
36
|
-
yearToDateValue
|
|
37
|
-
yearToDateValueRefunded
|
|
38
|
-
lifeTimeUpgradesPurchased
|
|
39
|
-
lifeTimeUpgradesRefunded
|
|
5
|
+
query venues($query: VenueQueryInput, $pagination: PaginationInput) {
|
|
6
|
+
venues(query: $query, pagination: $pagination) {
|
|
7
|
+
_id
|
|
8
|
+
orgId
|
|
9
|
+
name
|
|
10
|
+
description
|
|
11
|
+
capacity
|
|
12
|
+
address {
|
|
13
|
+
address1
|
|
14
|
+
address2
|
|
15
|
+
city
|
|
16
|
+
state
|
|
17
|
+
zip
|
|
18
|
+
country
|
|
19
|
+
phone
|
|
20
|
+
lat
|
|
21
|
+
lng
|
|
22
|
+
placeId
|
|
23
|
+
timezone
|
|
24
|
+
}
|
|
25
|
+
url
|
|
26
|
+
imageUrls
|
|
27
|
+
venueGlobalId
|
|
40
28
|
}
|
|
41
29
|
}
|
|
42
|
-
}
|
|
43
30
|
`;
|
|
44
31
|
|
|
45
32
|
export default query;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import gql from 'graphql-tag';
|
|
2
|
+
|
|
3
|
+
const query = gql`
|
|
4
|
+
query webFlowSites {
|
|
5
|
+
webFlowSites {
|
|
6
|
+
name
|
|
7
|
+
webFlowId
|
|
8
|
+
enabled
|
|
9
|
+
createdAt
|
|
10
|
+
updatedAt
|
|
11
|
+
previewUrl
|
|
12
|
+
domains {
|
|
13
|
+
lastPublishedAt
|
|
14
|
+
name
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
`;
|
|
19
|
+
|
|
20
|
+
export default query;
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
export enum AnalyticsIntervalEnum {
|
|
2
|
+
Hour = 'Hour',
|
|
3
|
+
Day = 'Day',
|
|
4
|
+
Week = 'Week',
|
|
5
|
+
Month = 'Month',
|
|
6
|
+
Year = 'Year',
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
export enum AnalyticsDurationEnum {
|
|
10
|
+
AllTime = 'All time',
|
|
11
|
+
Today = 'Today',
|
|
12
|
+
OneWeek = 'One week',
|
|
13
|
+
OneMonth = 'One month',
|
|
14
|
+
MonthToDate = 'Month to date',
|
|
15
|
+
YearToDate = 'Year to date',
|
|
16
|
+
OneYear = 'One year',
|
|
17
|
+
Custom = 'Custom dates',
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
export enum AnalyticsTypeEnum {
|
|
21
|
+
Overview = 'Overview',
|
|
22
|
+
TotalSales = 'Total Sales',
|
|
23
|
+
TicketSales = "Ticket Sales",
|
|
24
|
+
TicketsSold = "Tickets Sold",
|
|
25
|
+
TicketComps = "Ticket Comps",
|
|
26
|
+
UpgradeSales = "Upgrades Sales",
|
|
27
|
+
UpgradesSold = "Upgrades Sold",
|
|
28
|
+
UpgradeComps = "Upgrade Comps",
|
|
29
|
+
Promotions = "Promotions",
|
|
30
|
+
ExtraFeeRevenue = "Extra Fee Revenue",
|
|
31
|
+
TotalOrders = "Total Orders",
|
|
32
|
+
AvgOrderValue = "Avg. Order Value",
|
|
33
|
+
OnlineSessions = "Online Sessions",
|
|
34
|
+
OnlineConversationRate = "Online Converstation Rate",
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export enum AnalyticsValueTypeEnum {
|
|
38
|
+
Quantity = 'Quantity',
|
|
39
|
+
Currency = 'Currency',
|
|
40
|
+
Percent = 'Percent',
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
export interface IAnalyticsQueryParams {
|
|
44
|
+
eventId?: string;
|
|
45
|
+
venueId?: string;
|
|
46
|
+
artistId?: string;
|
|
47
|
+
startDate?: number;
|
|
48
|
+
endDate?: number;
|
|
49
|
+
interval?: AnalyticsIntervalEnum;
|
|
50
|
+
types: AnalyticsTypeEnum[];
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
export interface ICoordinate {
|
|
54
|
+
x: number;
|
|
55
|
+
y: number;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
export default interface IAnalytics {
|
|
59
|
+
label: string;
|
|
60
|
+
interval?: AnalyticsIntervalEnum;
|
|
61
|
+
intervalOptions?: AnalyticsIntervalEnum[];
|
|
62
|
+
coordinates?: ICoordinate[];
|
|
63
|
+
segments?: IAnalytics[];
|
|
64
|
+
type: AnalyticsValueTypeEnum;
|
|
65
|
+
totalValue?: number;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
// const TicketSalesCard: IAnalytics = {
|
|
69
|
+
// label: AnalyticsTypeEnum.TicketSales,
|
|
70
|
+
// type: AnalyticsValueTypeEnum.Currency,
|
|
71
|
+
// interval: AnalyticsIntervalEnum.Hour,
|
|
72
|
+
// totalValue: 1000,
|
|
73
|
+
// coordinates: [
|
|
74
|
+
// {
|
|
75
|
+
// x: 1,
|
|
76
|
+
// y: 1,
|
|
77
|
+
// }
|
|
78
|
+
// ],
|
|
79
|
+
// segments: [
|
|
80
|
+
// {
|
|
81
|
+
// label: 'General Admission',
|
|
82
|
+
// type: AnalyticsValueTypeEnum.Currency,
|
|
83
|
+
// totalValue: 300,
|
|
84
|
+
// coordinates: [
|
|
85
|
+
// {
|
|
86
|
+
// x: 1,
|
|
87
|
+
// y: 1,
|
|
88
|
+
// },
|
|
89
|
+
// {
|
|
90
|
+
// x: 2,
|
|
91
|
+
// y: 1,
|
|
92
|
+
// }
|
|
93
|
+
// ]
|
|
94
|
+
// }
|
|
95
|
+
// ]
|
|
96
|
+
// }
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import IMetrics from "./IMetrics";
|
|
2
1
|
import { ISocialAccountLink } from './ISocialAccountLink';
|
|
3
2
|
import IArtistPressKit from './IArtistPressKit';
|
|
4
3
|
import IArtistContact from './IArtistContact';
|
|
@@ -20,6 +19,5 @@ export default interface IArtist {
|
|
|
20
19
|
socialAccounts: ISocialAccountLink[];
|
|
21
20
|
pressKits: IArtistPressKit[];
|
|
22
21
|
contacts: IArtistContact[];
|
|
23
|
-
metrics?: IMetrics;
|
|
24
22
|
createdAt?: number;
|
|
25
23
|
}
|
package/src/interfaces/IEvent.ts
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
import IVenue from "./IVenue";
|
|
2
|
+
import IOrganization from "./IOrganization";
|
|
3
|
+
import IArtist from './IArtist';
|
|
4
|
+
import IFee from "./IFee";
|
|
5
|
+
import { IWebFlowEntity } from "./IWebFlow";
|
|
6
|
+
|
|
1
7
|
import ITicketType from './ITicketType';
|
|
2
8
|
import IEventSchedule from './IEventSchedule';
|
|
3
9
|
import ITicketExchange from './ITicketExchange';
|
|
@@ -7,7 +13,6 @@ import IPerformance from './IPerformance';
|
|
|
7
13
|
import IEventPromotion from './IEventPromotion';
|
|
8
14
|
import IEventCustomField from './IEventCustomField';
|
|
9
15
|
import IAddress from "./IAddress";
|
|
10
|
-
import IMetrics from "./IMetrics";
|
|
11
16
|
|
|
12
17
|
export enum EventTypeEnum {
|
|
13
18
|
// GeneralEvent = 'General Event', // TODO // BACKFILL
|
|
@@ -70,5 +75,15 @@ export default interface IEvent {
|
|
|
70
75
|
promotions?: IEventPromotion[];
|
|
71
76
|
customFields?: IEventCustomField[];
|
|
72
77
|
exchange?: ITicketExchange;
|
|
73
|
-
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
export interface IEventGraphQL extends IEvent {
|
|
82
|
+
organization?: IOrganization;
|
|
83
|
+
venue?: IVenue;
|
|
84
|
+
fees: IFee[];
|
|
85
|
+
artists: IArtist[];
|
|
86
|
+
webFlowEntity?: IWebFlowEntity
|
|
87
|
+
seatingPublicKey?: string;
|
|
88
|
+
hasOrders: boolean;
|
|
74
89
|
}
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
export enum EventCustomFieldTypeEnum {
|
|
2
2
|
Text = 'Text',
|
|
3
3
|
Number = 'Number',
|
|
4
|
+
Address = 'Address',
|
|
5
|
+
Dropdown = 'Dropdown',
|
|
4
6
|
}
|
|
5
7
|
|
|
6
|
-
export default interface
|
|
8
|
+
export default interface IEventCustomField {
|
|
7
9
|
_id?: string;
|
|
8
10
|
label?: string;
|
|
9
11
|
type: EventCustomFieldTypeEnum;
|
|
@@ -12,5 +14,6 @@ export default interface IEventCustomFields {
|
|
|
12
14
|
maxValue: number;
|
|
13
15
|
minValue: number;
|
|
14
16
|
required: boolean;
|
|
17
|
+
options: string[];
|
|
15
18
|
active: boolean;
|
|
16
19
|
}
|
package/src/interfaces/IFee.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
export enum FeeTypeEnum {
|
|
2
2
|
Flat = 'Flat',
|
|
3
3
|
Percent = 'Percent',
|
|
4
|
-
// FlatPlusPercent = 'Flat + Percent',
|
|
5
4
|
}
|
|
6
5
|
|
|
7
6
|
export enum FeeAppliedToEnum {
|
|
@@ -17,10 +16,9 @@ export enum FeeAppliedByEnum {
|
|
|
17
16
|
}
|
|
18
17
|
|
|
19
18
|
export enum FeeFilters {
|
|
20
|
-
// Online = 'Online Orders Only',
|
|
21
|
-
// BoxOffice = 'Box Office Orders Only',
|
|
22
19
|
Seated = 'Seated',
|
|
23
|
-
|
|
20
|
+
CardEntry = 'Card Entry',
|
|
21
|
+
CardReader = 'Card Reader',
|
|
24
22
|
}
|
|
25
23
|
|
|
26
24
|
export default interface IFee {
|
package/src/interfaces/IOrder.ts
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import IAddress from "./IAddress";
|
|
2
|
+
import IPayment from './IPayment';
|
|
2
3
|
import IOrderTicket from './IOrderTicket';
|
|
3
4
|
import IOrderUpgrade from './IOrderUpgrade';
|
|
4
5
|
import IOrderCustomField from './IOrderCustomField'
|
|
5
6
|
import { OrderStateEnum } from './IOrderState';
|
|
6
7
|
import { OrderTypeEnum } from './IOrderType';
|
|
8
|
+
import { OrderDeliveryMethodEnum } from "../enums/OrderDeliveryMethodEnum";
|
|
7
9
|
|
|
8
10
|
export default interface IOrder {
|
|
9
11
|
_id?: string;
|
|
@@ -14,14 +16,14 @@ export default interface IOrder {
|
|
|
14
16
|
eventName: string;
|
|
15
17
|
venueIds: string[];
|
|
16
18
|
artistIds: string[];
|
|
17
|
-
feeIds: string[];
|
|
18
|
-
stripeChargeId?: string;
|
|
19
|
+
feeIds: string[]; // BACKFILL
|
|
20
|
+
stripeChargeId?: string; // BACKFILL
|
|
19
21
|
tickets: IOrderTicket[];
|
|
20
22
|
upgrades: IOrderUpgrade[];
|
|
21
23
|
recipientEmails?: string[];
|
|
22
24
|
qrCodeUrl?: string;
|
|
23
25
|
state?: OrderStateEnum,
|
|
24
|
-
refundedAmount?: number;
|
|
26
|
+
refundedAmount?: number; // BACKFILL
|
|
25
27
|
type?: OrderTypeEnum;
|
|
26
28
|
createdAt?: number;
|
|
27
29
|
createdBy?: string;
|
|
@@ -29,5 +31,7 @@ export default interface IOrder {
|
|
|
29
31
|
ipAddress?: string;
|
|
30
32
|
address?: IAddress;
|
|
31
33
|
customFields?: IOrderCustomField[];
|
|
32
|
-
refundReason?: string;
|
|
34
|
+
refundReason?: string; // BACKFILL
|
|
35
|
+
payments: IPayment[];
|
|
36
|
+
deliveryMethod: OrderDeliveryMethodEnum,
|
|
33
37
|
};
|
|
@@ -1,19 +1,10 @@
|
|
|
1
1
|
export enum OrderStateEnum {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
// TRANSFERRED = 'Transferred',
|
|
6
|
-
// RESOLD = 'Re-sold',
|
|
7
|
-
// PARTIALLY_ADMITTED = 'Partially Admitted',
|
|
8
|
-
// ADMITTED = 'Admitted',
|
|
2
|
+
Active = 'Active',
|
|
3
|
+
Refunded = 'Refunded',
|
|
4
|
+
PartiallyRefunded = 'Partial Refund',
|
|
9
5
|
};
|
|
10
6
|
|
|
11
7
|
export enum OrderItemStateEnum {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
// AWATING_TRANSFER = 'Awaiting Transfer',
|
|
15
|
-
// TRANSFERRED = 'Transferred',
|
|
16
|
-
// AWATING_SALE = 'Awaiting Sale',
|
|
17
|
-
// RESOLD = 'Re-sold',
|
|
18
|
-
// SCANNED = 'Scanned',
|
|
8
|
+
Active = 'Active',
|
|
9
|
+
Canceled = 'Canceled',
|
|
19
10
|
};
|
|
@@ -2,3 +2,14 @@ export default interface IPagination {
|
|
|
2
2
|
pageSize: number;
|
|
3
3
|
pageNumber: number;
|
|
4
4
|
}
|
|
5
|
+
|
|
6
|
+
export enum PaginationTypes {
|
|
7
|
+
Orders = 'Orders',
|
|
8
|
+
EventOrders = 'EventOrders',
|
|
9
|
+
CustomerOrders = 'CustomerOrders',
|
|
10
|
+
Events = 'Events',
|
|
11
|
+
Artists = 'Artists',
|
|
12
|
+
Venues = 'Venues',
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
export type PaginationMap = Map<PaginationTypes, IPagination>;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { PaymentMethodTypeEnum } from '../enums/PaymentMethodTypeEnum';
|
|
2
|
+
export default interface IPayment {
|
|
3
|
+
_id?: string;
|
|
4
|
+
paymentIntentId?: string;
|
|
5
|
+
amount: number;
|
|
6
|
+
transferAmount: number;
|
|
7
|
+
feeAmount: number;
|
|
8
|
+
feeIds: string[];
|
|
9
|
+
createdAt: number;
|
|
10
|
+
createdBy: string;
|
|
11
|
+
promotionCode?: string;
|
|
12
|
+
paymentMethodType: PaymentMethodTypeEnum
|
|
13
|
+
}
|
package/src/interfaces/IRole.ts
CHANGED
|
@@ -1,10 +1,3 @@
|
|
|
1
|
-
export declare enum Roles {
|
|
2
|
-
OWNER = 'OWNER',
|
|
3
|
-
ADMIN = 'ADMIN',
|
|
4
|
-
BOX_OFFICE = 'BOX_OFFICE',
|
|
5
|
-
SCANNER = 'SCANNER',
|
|
6
|
-
}
|
|
7
|
-
|
|
8
1
|
export default interface IRole {
|
|
9
2
|
_id?: string;
|
|
10
3
|
orgId: string;
|
|
@@ -12,6 +5,31 @@ export default interface IRole {
|
|
|
12
5
|
userEmail: string;
|
|
13
6
|
createdAt: number;
|
|
14
7
|
createdBy: string;
|
|
15
|
-
role:
|
|
8
|
+
role: RolesEnum;
|
|
16
9
|
acceptedAt?: number;
|
|
17
10
|
}
|
|
11
|
+
|
|
12
|
+
// BACKFILL
|
|
13
|
+
export enum RolesEnum {
|
|
14
|
+
SUPER_USER = 'SUPER_USER',
|
|
15
|
+
OWNER = 'OWNER',
|
|
16
|
+
ADMIN = 'ADMIN',
|
|
17
|
+
BOX_OFFICE = 'BOX_OFFICE',
|
|
18
|
+
SCANNER = 'SCANNER',
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
export const roleValues = {
|
|
22
|
+
[RolesEnum.SUPER_USER]: 4,
|
|
23
|
+
[RolesEnum.OWNER]: 3,
|
|
24
|
+
[RolesEnum.ADMIN]: 2,
|
|
25
|
+
[RolesEnum.BOX_OFFICE]: 1,
|
|
26
|
+
[RolesEnum.SCANNER]: 0,
|
|
27
|
+
};
|
|
28
|
+
|
|
29
|
+
// export enum RoleOrdinalEnum {
|
|
30
|
+
// SCANNER = 0,
|
|
31
|
+
// BOX_OFFICE,
|
|
32
|
+
// ADMIN,
|
|
33
|
+
// OWNER,
|
|
34
|
+
// SUPER_USER,
|
|
35
|
+
// }
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import IAddress from "./IAddress";
|
|
2
|
-
import
|
|
2
|
+
import IStripeCustomer from './IStripeCustomer';
|
|
3
|
+
import IUser from "./IUser";
|
|
3
4
|
|
|
4
5
|
export default interface IUserProfile {
|
|
5
6
|
_id?: string;
|
|
@@ -11,10 +12,15 @@ export default interface IUserProfile {
|
|
|
11
12
|
authyId?: string;
|
|
12
13
|
stripeCustomerId?: string;
|
|
13
14
|
imageUrl?: string;
|
|
14
|
-
metrics?: IMetrics[];
|
|
15
15
|
orgIds?: string[];
|
|
16
16
|
eventIds?: string[];
|
|
17
17
|
venueIds?: string[];
|
|
18
18
|
artistIds?: string[];
|
|
19
19
|
address?: IAddress;
|
|
20
20
|
}
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
export interface IUserProfileGraphQL extends IUserProfile {
|
|
24
|
+
user: IUser;
|
|
25
|
+
stripeCustomer: IStripeCustomer;
|
|
26
|
+
}
|
package/src/interfaces/IVenue.ts
CHANGED
|
@@ -1,17 +1,13 @@
|
|
|
1
1
|
import IAddress from "./IAddress";
|
|
2
|
-
import IMetrics from "./IMetrics";
|
|
3
2
|
|
|
4
3
|
export default interface IVenue {
|
|
5
4
|
_id?: string;
|
|
5
|
+
orgId?: string;
|
|
6
6
|
name: string;
|
|
7
7
|
description: string;
|
|
8
8
|
capacity: number;
|
|
9
|
-
address: IAddress;
|
|
10
9
|
url?: string;
|
|
11
10
|
imageUrls?: string[];
|
|
12
|
-
seatingMapIds?: string[];
|
|
13
11
|
venueGlobalId?: string;
|
|
14
|
-
|
|
15
|
-
venueFee?: number;
|
|
16
|
-
metrics?: IMetrics;
|
|
12
|
+
address: IAddress;
|
|
17
13
|
}
|