@nimee/shared-types 1.0.168 → 1.0.169

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.
@@ -0,0 +1,18 @@
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 IEndUserCommentModel {
10
+ _id?: string | mongoose.Types.ObjectId;
11
+ content: string;
12
+ author: string | mongoose.Types.ObjectId;
13
+ relatedTo?: string | mongoose.Types.ObjectId;
14
+ seller: string | mongoose.Types.ObjectId;
15
+ marketplace: string | mongoose.Types.ObjectId;
16
+ createdAt?: Date;
17
+ updatedAt?: Date;
18
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=endUserComment.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"endUserComment.js","sourceRoot":"","sources":["../../src/crm/endUserComment.ts"],"names":[],"mappings":""}
@@ -4,3 +4,4 @@ export * from "./endUserNotification";
4
4
  export * from "./automation";
5
5
  export * from "./calendarEvent";
6
6
  export * from "./generalComment";
7
+ export * from "./endUserComment";
package/dist/crm/index.js CHANGED
@@ -20,4 +20,5 @@ __exportStar(require("./endUserNotification"), exports);
20
20
  __exportStar(require("./automation"), exports);
21
21
  __exportStar(require("./calendarEvent"), exports);
22
22
  __exportStar(require("./generalComment"), exports);
23
+ __exportStar(require("./endUserComment"), exports);
23
24
  //# 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"}
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"}
@@ -37,4 +37,8 @@ export interface IEndUserModel {
37
37
  credits?: number;
38
38
  buyTokenPayMe?: string;
39
39
  selectedHrc?: string;
40
+ allergies?: string;
41
+ idOrPassport?: string;
42
+ partnerName?: string;
43
+ originDate?: Date;
40
44
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nimee/shared-types",
3
- "version": "1.0.168",
3
+ "version": "1.0.169",
4
4
  "description": "Types and interfaces that any service can access if needed",
5
5
  "main": "dist/index.js",
6
6
  "author": "dan goldberg",
@@ -0,0 +1,12 @@
1
+ import mongoose from "mongoose";
2
+
3
+ export interface IEndUserCommentModel {
4
+ _id?: string | mongoose.Types.ObjectId;
5
+ content: string;
6
+ author: string | mongoose.Types.ObjectId; // EndUser who wrote the comment
7
+ relatedTo?: string | mongoose.Types.ObjectId;
8
+ seller: string | mongoose.Types.ObjectId;
9
+ marketplace: string | mongoose.Types.ObjectId;
10
+ createdAt?: Date;
11
+ updatedAt?: Date;
12
+ }
package/src/crm/index.ts CHANGED
@@ -4,3 +4,4 @@ export * from "./endUserNotification";
4
4
  export * from "./automation";
5
5
  export * from "./calendarEvent";
6
6
  export * from "./generalComment";
7
+ export * from "./endUserComment";
@@ -31,4 +31,8 @@ export interface IEndUserModel {
31
31
  credits?: number;
32
32
  buyTokenPayMe?: string;
33
33
  selectedHrc?: string;
34
+ allergies?: string;
35
+ idOrPassport?: string;
36
+ partnerName?: string;
37
+ originDate?: Date;
34
38
  }