tonightpass 0.0.262 → 0.0.263

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/index.d.mts CHANGED
@@ -194,7 +194,7 @@ type UserPostViewOptions = {
194
194
  };
195
195
  type UserPostViewResult = {
196
196
  postId: string;
197
- viewsCount: number;
197
+ visitsCount: number;
198
198
  };
199
199
  type UserPostViewEndpoints = Endpoint<"POST", "/users/@:username/posts/:postId/views", boolean, null> | Endpoint<"GET", "/users/posts/views/stream", ReadableStream<UserPostViewResult>, UserPostViewOptions>;
200
200
 
@@ -212,6 +212,8 @@ type UserPost = Base & {
212
212
  reposts: number;
213
213
  comments: number;
214
214
  views: number;
215
+ visits: number;
216
+ visitors: number;
215
217
  };
216
218
  isReposted?: boolean;
217
219
  isEdited: boolean;
@@ -508,6 +510,8 @@ type UserProfileMetadata = BaseProfileMetadata & {
508
510
  type OrganizationProfileMetadata = BaseProfileMetadata & {
509
511
  eventsCount: number;
510
512
  viewsCount: number;
513
+ visitsCount: number;
514
+ visitorsCount: number;
511
515
  membersCount: number;
512
516
  };
513
517
  type ProfileMetadata = UserProfileMetadata | OrganizationProfileMetadata;
@@ -1000,7 +1004,7 @@ type OrganizationEventViewOptions = {
1000
1004
  };
1001
1005
  type OrganizationEventViewResult = {
1002
1006
  eventId: string;
1003
- viewsCount: number;
1007
+ visitsCount: number;
1004
1008
  };
1005
1009
  type OrganizationEventViewEndpoints = Endpoint<"POST", "/organizations/@:organizationSlug/events/:eventSlug/views", boolean, null> | Endpoint<"GET", "/organizations/events/views/stream", ReadableStream<OrganizationEventViewResult>, OrganizationEventViewOptions>;
1006
1010
 
@@ -1054,9 +1058,13 @@ type OrganizationEvent = Base & {
1054
1058
  artists: EventArtistRef[];
1055
1059
  status: OrganizationEventStatus;
1056
1060
  viewsCount: number;
1057
- sessionsCount: number;
1058
- totalViewsCount: number;
1059
- averageViewsPerSessionCount: number;
1061
+ visitsCount: number;
1062
+ visitorsCount: number;
1063
+ bouncesCount: number;
1064
+ totalDurationSeconds: number;
1065
+ averageViewsPerVisitorCount: number;
1066
+ bounceRate: number;
1067
+ averageVisitDurationSeconds: number;
1060
1068
  hypeCount: number;
1061
1069
  minPrice: number;
1062
1070
  startAt: Date;
@@ -1168,9 +1176,9 @@ type OrganizationAnalyticsOverview = {
1168
1176
  type OrganizationEventAnalytics = {
1169
1177
  event: OrganizationEvent;
1170
1178
  metrics: {
1171
- totalViews: number;
1172
- uniqueViews: number;
1173
- sessionsCount: number;
1179
+ views: number;
1180
+ visits: number;
1181
+ visitors: number;
1174
1182
  totalRevenue: number;
1175
1183
  totalOrders: number;
1176
1184
  totalTicketsSold: number;
@@ -1667,7 +1675,7 @@ declare class AtLeastOneMediaConstraint implements ValidatorConstraintInterface
1667
1675
  defaultMessage(): string;
1668
1676
  }
1669
1677
  declare function AtLeastOneMedia(validationOptions?: ValidationOptions): (object: object, propertyName: string) => void;
1670
- type CreateOrganizationEventInput = Omit<ExcludeBase<OrganizationEvent>, "slug" | "styles" | "tickets" | "artists" | "organization" | "status" | "viewsCount" | "sessionsCount" | "totalViewsCount" | "averageViewsPerSessionCount" | "hypeCount" | "minPrice"> & {
1678
+ type CreateOrganizationEventInput = Omit<ExcludeBase<OrganizationEvent>, "slug" | "styles" | "tickets" | "artists" | "organization" | "status" | "viewsCount" | "visitsCount" | "visitorsCount" | "bouncesCount" | "totalDurationSeconds" | "averageViewsPerVisitorCount" | "bounceRate" | "averageVisitDurationSeconds" | "hypeCount" | "minPrice"> & {
1671
1679
  slug?: string;
1672
1680
  styles: string[];
1673
1681
  tickets: CreateOrganizationEventTicketInput[];
package/dist/index.d.ts CHANGED
@@ -194,7 +194,7 @@ type UserPostViewOptions = {
194
194
  };
195
195
  type UserPostViewResult = {
196
196
  postId: string;
197
- viewsCount: number;
197
+ visitsCount: number;
198
198
  };
199
199
  type UserPostViewEndpoints = Endpoint<"POST", "/users/@:username/posts/:postId/views", boolean, null> | Endpoint<"GET", "/users/posts/views/stream", ReadableStream<UserPostViewResult>, UserPostViewOptions>;
200
200
 
@@ -212,6 +212,8 @@ type UserPost = Base & {
212
212
  reposts: number;
213
213
  comments: number;
214
214
  views: number;
215
+ visits: number;
216
+ visitors: number;
215
217
  };
216
218
  isReposted?: boolean;
217
219
  isEdited: boolean;
@@ -508,6 +510,8 @@ type UserProfileMetadata = BaseProfileMetadata & {
508
510
  type OrganizationProfileMetadata = BaseProfileMetadata & {
509
511
  eventsCount: number;
510
512
  viewsCount: number;
513
+ visitsCount: number;
514
+ visitorsCount: number;
511
515
  membersCount: number;
512
516
  };
513
517
  type ProfileMetadata = UserProfileMetadata | OrganizationProfileMetadata;
@@ -1000,7 +1004,7 @@ type OrganizationEventViewOptions = {
1000
1004
  };
1001
1005
  type OrganizationEventViewResult = {
1002
1006
  eventId: string;
1003
- viewsCount: number;
1007
+ visitsCount: number;
1004
1008
  };
1005
1009
  type OrganizationEventViewEndpoints = Endpoint<"POST", "/organizations/@:organizationSlug/events/:eventSlug/views", boolean, null> | Endpoint<"GET", "/organizations/events/views/stream", ReadableStream<OrganizationEventViewResult>, OrganizationEventViewOptions>;
1006
1010
 
@@ -1054,9 +1058,13 @@ type OrganizationEvent = Base & {
1054
1058
  artists: EventArtistRef[];
1055
1059
  status: OrganizationEventStatus;
1056
1060
  viewsCount: number;
1057
- sessionsCount: number;
1058
- totalViewsCount: number;
1059
- averageViewsPerSessionCount: number;
1061
+ visitsCount: number;
1062
+ visitorsCount: number;
1063
+ bouncesCount: number;
1064
+ totalDurationSeconds: number;
1065
+ averageViewsPerVisitorCount: number;
1066
+ bounceRate: number;
1067
+ averageVisitDurationSeconds: number;
1060
1068
  hypeCount: number;
1061
1069
  minPrice: number;
1062
1070
  startAt: Date;
@@ -1168,9 +1176,9 @@ type OrganizationAnalyticsOverview = {
1168
1176
  type OrganizationEventAnalytics = {
1169
1177
  event: OrganizationEvent;
1170
1178
  metrics: {
1171
- totalViews: number;
1172
- uniqueViews: number;
1173
- sessionsCount: number;
1179
+ views: number;
1180
+ visits: number;
1181
+ visitors: number;
1174
1182
  totalRevenue: number;
1175
1183
  totalOrders: number;
1176
1184
  totalTicketsSold: number;
@@ -1667,7 +1675,7 @@ declare class AtLeastOneMediaConstraint implements ValidatorConstraintInterface
1667
1675
  defaultMessage(): string;
1668
1676
  }
1669
1677
  declare function AtLeastOneMedia(validationOptions?: ValidationOptions): (object: object, propertyName: string) => void;
1670
- type CreateOrganizationEventInput = Omit<ExcludeBase<OrganizationEvent>, "slug" | "styles" | "tickets" | "artists" | "organization" | "status" | "viewsCount" | "sessionsCount" | "totalViewsCount" | "averageViewsPerSessionCount" | "hypeCount" | "minPrice"> & {
1678
+ type CreateOrganizationEventInput = Omit<ExcludeBase<OrganizationEvent>, "slug" | "styles" | "tickets" | "artists" | "organization" | "status" | "viewsCount" | "visitsCount" | "visitorsCount" | "bouncesCount" | "totalDurationSeconds" | "averageViewsPerVisitorCount" | "bounceRate" | "averageVisitDurationSeconds" | "hypeCount" | "minPrice"> & {
1671
1679
  slug?: string;
1672
1680
  styles: string[];
1673
1681
  tickets: CreateOrganizationEventTicketInput[];