@nimee/shared-types 1.0.183 → 1.0.185

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.
@@ -5,3 +5,4 @@ export * from "./automation";
5
5
  export * from "./calendarEvent";
6
6
  export * from "./generalComment";
7
7
  export * from "./endUserComment";
8
+ export * from "./visit";
package/dist/crm/index.js CHANGED
@@ -21,4 +21,5 @@ __exportStar(require("./automation"), exports);
21
21
  __exportStar(require("./calendarEvent"), exports);
22
22
  __exportStar(require("./generalComment"), exports);
23
23
  __exportStar(require("./endUserComment"), exports);
24
+ __exportStar(require("./visit"), exports);
24
25
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/crm/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oDAAkC;AAClC,uDAAqC;AACrC,wDAAsC;AACtC,+CAA6B;AAC7B,kDAAgC;AAChC,mDAAiC;AACjC,mDAAiC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/crm/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oDAAkC;AAClC,uDAAqC;AACrC,wDAAsC;AACtC,+CAA6B;AAC7B,kDAAgC;AAChC,mDAAiC;AACjC,mDAAiC;AACjC,0CAAwB"}
@@ -0,0 +1,19 @@
1
+ /// <reference types="mongoose/types/pipelinestage" />
2
+ /// <reference types="mongoose/types/connection" />
3
+ /// <reference types="mongoose/types/cursor" />
4
+ /// <reference types="mongoose/types/document" />
5
+ /// <reference types="mongoose/types/error" />
6
+ /// <reference types="mongoose/types/mongooseoptions" />
7
+ /// <reference types="mongoose/types/schemaoptions" />
8
+ import mongoose from "mongoose";
9
+ export interface IVisitModel {
10
+ _id?: string | mongoose.Types.ObjectId;
11
+ endUser: string | mongoose.Types.ObjectId;
12
+ guests: number;
13
+ exit: boolean;
14
+ exitDate?: Date;
15
+ seller: string | mongoose.Types.ObjectId;
16
+ marketplace: string | mongoose.Types.ObjectId;
17
+ createdAt?: Date;
18
+ updatedAt?: Date;
19
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=visit.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"visit.js","sourceRoot":"","sources":["../../src/crm/visit.ts"],"names":[],"mappings":""}
@@ -65,6 +65,7 @@ export interface IEndUserSeasonTicketModel {
65
65
  entryPassTicketsUsed?: number;
66
66
  entryPassTicketsAllowedPerEvent?: number;
67
67
  entryPassTotalTicketsAllowed?: number;
68
+ comment?: string;
68
69
  }
69
70
  export declare enum ISeasonTicketStatusType {
70
71
  ACTIVE = "active",// the season ticket is active
@@ -1 +1 @@
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"}
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"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nimee/shared-types",
3
- "version": "1.0.183",
3
+ "version": "1.0.185",
4
4
  "description": "Types and interfaces that any service can access if needed",
5
5
  "main": "dist/index.js",
6
6
  "author": "dan goldberg",
package/src/crm/index.ts CHANGED
@@ -5,3 +5,4 @@ export * from "./automation";
5
5
  export * from "./calendarEvent";
6
6
  export * from "./generalComment";
7
7
  export * from "./endUserComment";
8
+ export * from "./visit";
@@ -0,0 +1,13 @@
1
+ import mongoose from "mongoose";
2
+
3
+ export interface IVisitModel {
4
+ _id?: string | mongoose.Types.ObjectId;
5
+ endUser: string | mongoose.Types.ObjectId;
6
+ guests: number;
7
+ exit: boolean;
8
+ exitDate?: Date;
9
+ seller: string | mongoose.Types.ObjectId;
10
+ marketplace: string | mongoose.Types.ObjectId;
11
+ createdAt?: Date;
12
+ updatedAt?: Date;
13
+ }
@@ -59,6 +59,7 @@ export interface IEndUserSeasonTicketModel {
59
59
  entryPassTicketsUsed?: number;
60
60
  entryPassTicketsAllowedPerEvent?: number;
61
61
  entryPassTotalTicketsAllowed?: number;
62
+ comment?: string;
62
63
  }
63
64
  export enum ISeasonTicketStatusType {
64
65
  ACTIVE = "active", // the season ticket is active