@nimee/shared-types 1.0.185 → 1.0.187

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.
@@ -43,9 +43,8 @@ export interface ICalendarEventModel {
43
43
  _id?: string | mongoose.Types.ObjectId;
44
44
  title: string;
45
45
  description?: string;
46
- startDate: Date;
47
- endDate: Date;
48
- endUser: string | mongoose.Types.ObjectId;
46
+ start: Date;
47
+ end: Date;
49
48
  seller: string | mongoose.Types.ObjectId;
50
49
  marketplace: string | mongoose.Types.ObjectId;
51
50
  status?: "scheduled" | "completed" | "cancelled";
@@ -54,6 +53,7 @@ export interface ICalendarEventModel {
54
53
  tableReservation?: {
55
54
  guestCount: number;
56
55
  specialRequests?: string;
56
+ endUser: string | mongoose.Types.ObjectId;
57
57
  };
58
58
  tour?: {
59
59
  prospect?: {
@@ -80,5 +80,5 @@ export interface ICalendarEventModel {
80
80
  metadata?: Record<string, any>;
81
81
  createdAt?: Date;
82
82
  updatedAt?: Date;
83
- color?: string;
83
+ textColor?: string;
84
84
  }
@@ -14,6 +14,7 @@ export interface ITicketModel {
14
14
  quantity?: number;
15
15
  category?: string;
16
16
  countTicketsAllowPerPurchase?: number;
17
+ minTicketsAllowPerPurchase?: number;
17
18
  pending_count?: number;
18
19
  sold_count?: number;
19
20
  refund_count?: number;
@@ -65,7 +65,6 @@ export interface IEndUserSeasonTicketModel {
65
65
  entryPassTicketsUsed?: number;
66
66
  entryPassTicketsAllowedPerEvent?: number;
67
67
  entryPassTotalTicketsAllowed?: number;
68
- comment?: string;
69
68
  }
70
69
  export declare enum ISeasonTicketStatusType {
71
70
  ACTIVE = "active",// the season ticket is active
@@ -1 +1 @@
1
- {"version":3,"file":"endUserSeasonTicket.js","sourceRoot":"","sources":["../../src/payment/endUserSeasonTicket.ts"],"names":[],"mappings":";;;AA+DA,IAAY,uBAUX;AAVD,WAAY,uBAAuB;IACjC,4CAAiB,CAAA;IACjB,8CAAmB,CAAA;IACnB,kDAAuB,CAAA;IACvB,4CAAiB,CAAA;IACjB,kDAAuB,CAAA;IACvB,8CAAmB,CAAA;IACnB,4CAAiB,CAAA;IACjB,0EAA+C,CAAA;IAC/C,0EAA+C,CAAA;AACjD,CAAC,EAVW,uBAAuB,uCAAvB,uBAAuB,QAUlC"}
1
+ {"version":3,"file":"endUserSeasonTicket.js","sourceRoot":"","sources":["../../src/payment/endUserSeasonTicket.ts"],"names":[],"mappings":";;;AA8DA,IAAY,uBAUX;AAVD,WAAY,uBAAuB;IACjC,4CAAiB,CAAA;IACjB,8CAAmB,CAAA;IACnB,kDAAuB,CAAA;IACvB,4CAAiB,CAAA;IACjB,kDAAuB,CAAA;IACvB,8CAAmB,CAAA;IACnB,4CAAiB,CAAA;IACjB,0EAA+C,CAAA;IAC/C,0EAA+C,CAAA;AACjD,CAAC,EAVW,uBAAuB,uCAAvB,uBAAuB,QAUlC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nimee/shared-types",
3
- "version": "1.0.185",
3
+ "version": "1.0.187",
4
4
  "description": "Types and interfaces that any service can access if needed",
5
5
  "main": "dist/index.js",
6
6
  "author": "dan goldberg",
@@ -41,9 +41,8 @@ export interface ICalendarEventModel {
41
41
  _id?: string | mongoose.Types.ObjectId;
42
42
  title: string;
43
43
  description?: string;
44
- startDate: Date;
45
- endDate: Date;
46
- endUser: string | mongoose.Types.ObjectId;
44
+ start: Date;
45
+ end: Date;
47
46
  seller: string | mongoose.Types.ObjectId;
48
47
  marketplace: string | mongoose.Types.ObjectId;
49
48
  status?: "scheduled" | "completed" | "cancelled";
@@ -52,6 +51,7 @@ export interface ICalendarEventModel {
52
51
  tableReservation?: {
53
52
  guestCount: number;
54
53
  specialRequests?: string;
54
+ endUser: string | mongoose.Types.ObjectId;
55
55
  };
56
56
  tour?: {
57
57
  prospect?: {
@@ -78,5 +78,5 @@ export interface ICalendarEventModel {
78
78
  metadata?: Record<string, any>;
79
79
  createdAt?: Date;
80
80
  updatedAt?: Date;
81
- color?: string;
81
+ textColor?: string;
82
82
  }
@@ -14,6 +14,7 @@ export interface ITicketModel {
14
14
  quantity?: number;
15
15
  category?: string;
16
16
  countTicketsAllowPerPurchase?: number;
17
+ minTicketsAllowPerPurchase?: number;
17
18
  pending_count?: number;
18
19
  sold_count?: number;
19
20
  refund_count?: number;
@@ -59,7 +59,6 @@ export interface IEndUserSeasonTicketModel {
59
59
  entryPassTicketsUsed?: number;
60
60
  entryPassTicketsAllowedPerEvent?: number;
61
61
  entryPassTotalTicketsAllowed?: number;
62
- comment?: string;
63
62
  }
64
63
  export enum ISeasonTicketStatusType {
65
64
  ACTIVE = "active", // the season ticket is active