@xoxno/types 1.0.256 → 1.0.258

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.
@@ -6,6 +6,7 @@ import { CreatorProfileDoc } from '../user/user-creator-profile.doc';
6
6
  import { EventGuestProfile } from './event-guest.doc';
7
7
  import { EventLocationDto, EventSeoDto, RegistrationDetailsDto } from './event-profile-create.dto';
8
8
  import { EventUserRoleDoc } from './event-user-role.doc';
9
+ import { OwnerDto } from '../../../common/owner.dto';
9
10
  export declare class PremiumType {
10
11
  searchable: boolean;
11
12
  }
@@ -54,6 +55,7 @@ export declare class EventProfile extends EventProfileDoc {
54
55
  guestSummary?: EventGuestSummary;
55
56
  startsFrom?: EventStartPrice;
56
57
  guestProfile?: EventGuestProfile;
58
+ coHosts?: OwnerDto[];
57
59
  }
58
60
  declare const EventProfileQuery_base: {
59
61
  new (resources: EventProfile[], count: number | null, hasMoreResults: boolean): {
@@ -24,6 +24,7 @@ const user_creator_profile_doc_1 = require("../user/user-creator-profile.doc");
24
24
  const event_guest_doc_1 = require("./event-guest.doc");
25
25
  const event_profile_create_dto_1 = require("./event-profile-create.dto");
26
26
  const event_user_role_doc_1 = require("./event-user-role.doc");
27
+ const owner_dto_1 = require("../../../common/owner.dto");
27
28
  class PremiumType {
28
29
  }
29
30
  exports.PremiumType = PremiumType;
@@ -380,6 +381,15 @@ __decorate([
380
381
  }),
381
382
  __metadata("design:type", event_guest_doc_1.EventGuestProfile)
382
383
  ], EventProfile.prototype, "guestProfile", void 0);
384
+ __decorate([
385
+ (0, swagger_1.ApiProperty)({
386
+ description: 'The co-hosts of the event.',
387
+ required: false,
388
+ isArray: true,
389
+ type: () => owner_dto_1.OwnerDto,
390
+ }),
391
+ __metadata("design:type", Array)
392
+ ], EventProfile.prototype, "coHosts", void 0);
383
393
  class EventProfileQuery extends (0, cosmos_db_paginated_response_dto_1.createCosmosPaginatedResponse)(EventProfile) {
384
394
  }
385
395
  exports.EventProfileQuery = EventProfileQuery;
@@ -1,4 +1,5 @@
1
1
  export declare enum EventUserRoles {
2
+ EVENT_COHOST = "event-cohost",
2
3
  EVENT_READER = "event-reader",
3
4
  EVENT_MANAGER = "event-manager",
4
5
  CHECK_IN_MANAGER = "check-in-manager"
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.EventUserRolePermission = exports.EventUserRoles = void 0;
4
4
  var EventUserRoles;
5
5
  (function (EventUserRoles) {
6
+ EventUserRoles["EVENT_COHOST"] = "event-cohost";
6
7
  EventUserRoles["EVENT_READER"] = "event-reader";
7
8
  EventUserRoles["EVENT_MANAGER"] = "event-manager";
8
9
  EventUserRoles["CHECK_IN_MANAGER"] = "check-in-manager";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xoxno/types",
3
- "version": "1.0.256",
3
+ "version": "1.0.258",
4
4
  "description": "Shared types and utilities for XOXNO API.",
5
5
  "exports": {
6
6
  ".": {