@nimee/shared-types 1.0.166 → 1.0.168
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/crm/calendarEvent.d.ts +3 -1
- package/dist/crm/calendarEvent.js +2 -0
- package/dist/crm/calendarEvent.js.map +1 -1
- package/dist/crm/generalComment.d.ts +19 -0
- package/dist/crm/generalComment.js +3 -0
- package/dist/crm/generalComment.js.map +1 -0
- package/dist/crm/index.d.ts +1 -0
- package/dist/crm/index.js +1 -0
- package/dist/crm/index.js.map +1 -1
- package/package.json +1 -1
- package/src/crm/calendarEvent.ts +2 -0
- package/src/crm/generalComment.ts +13 -0
- package/src/crm/index.ts +1 -0
|
@@ -9,7 +9,9 @@ import mongoose from "mongoose";
|
|
|
9
9
|
export declare enum ICalendarEventType {
|
|
10
10
|
TABLE_RESERVATION = "TABLE_RESERVATION",
|
|
11
11
|
TOUR = "TOUR",
|
|
12
|
-
TASK = "TASK"
|
|
12
|
+
TASK = "TASK",
|
|
13
|
+
REGULAR = "REGULAR",
|
|
14
|
+
WELLNESS = "WELLNESS"
|
|
13
15
|
}
|
|
14
16
|
export declare enum TaskStatus {
|
|
15
17
|
PENDING = "pending",
|
|
@@ -6,6 +6,8 @@ var ICalendarEventType;
|
|
|
6
6
|
ICalendarEventType["TABLE_RESERVATION"] = "TABLE_RESERVATION";
|
|
7
7
|
ICalendarEventType["TOUR"] = "TOUR";
|
|
8
8
|
ICalendarEventType["TASK"] = "TASK";
|
|
9
|
+
ICalendarEventType["REGULAR"] = "REGULAR";
|
|
10
|
+
ICalendarEventType["WELLNESS"] = "WELLNESS";
|
|
9
11
|
})(ICalendarEventType || (exports.ICalendarEventType = ICalendarEventType = {}));
|
|
10
12
|
var TaskStatus;
|
|
11
13
|
(function (TaskStatus) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"calendarEvent.js","sourceRoot":"","sources":["../../src/crm/calendarEvent.ts"],"names":[],"mappings":";;;AAEA,IAAY,
|
|
1
|
+
{"version":3,"file":"calendarEvent.js","sourceRoot":"","sources":["../../src/crm/calendarEvent.ts"],"names":[],"mappings":";;;AAEA,IAAY,kBAMX;AAND,WAAY,kBAAkB;IAC5B,6DAAuC,CAAA;IACvC,mCAAa,CAAA;IACb,mCAAa,CAAA;IACb,yCAAmB,CAAA;IACnB,2CAAqB,CAAA;AACvB,CAAC,EANW,kBAAkB,kCAAlB,kBAAkB,QAM7B;AAED,IAAY,UAIX;AAJD,WAAY,UAAU;IACpB,iCAAmB,CAAA;IACnB,yCAA2B,CAAA;IAC3B,qCAAuB,CAAA;AACzB,CAAC,EAJW,UAAU,0BAAV,UAAU,QAIrB;AAED,IAAY,cAIX;AAJD,WAAY,cAAc;IACxB,iCAAe,CAAA;IACf,mCAAiB,CAAA;IACjB,qCAAmB,CAAA;AACrB,CAAC,EAJW,cAAc,8BAAd,cAAc,QAIzB;AAED,IAAY,oBAIX;AAJD,WAAY,oBAAoB;IAC9B,+CAAuB,CAAA;IACvB,+CAAuB,CAAA;IACvB,+CAAuB,CAAA;AACzB,CAAC,EAJW,oBAAoB,oCAApB,oBAAoB,QAI/B;AACD,IAAY,mBAUX;AAVD,WAAY,mBAAmB;IAC7B,kCAAW,CAAA;IACX,sCAAe,CAAA;IACf,oCAAa,CAAA;IACb,wCAAiB,CAAA;IACjB,wCAAiB,CAAA;IACjB,wCAAiB,CAAA;IACjB,oCAAa,CAAA;IACb,oCAAa,CAAA;IACb,sCAAe,CAAA;AACjB,CAAC,EAVW,mBAAmB,mCAAnB,mBAAmB,QAU9B"}
|
|
@@ -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 IGeneralCommentModel {
|
|
10
|
+
_id?: string | mongoose.Types.ObjectId;
|
|
11
|
+
content: string;
|
|
12
|
+
author: string | mongoose.Types.ObjectId;
|
|
13
|
+
relatedTo?: string | mongoose.Types.ObjectId;
|
|
14
|
+
relatedType?: string;
|
|
15
|
+
seller: string | mongoose.Types.ObjectId;
|
|
16
|
+
marketplace: string | mongoose.Types.ObjectId;
|
|
17
|
+
createdAt?: Date;
|
|
18
|
+
updatedAt?: Date;
|
|
19
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"generalComment.js","sourceRoot":"","sources":["../../src/crm/generalComment.ts"],"names":[],"mappings":""}
|
package/dist/crm/index.d.ts
CHANGED
package/dist/crm/index.js
CHANGED
|
@@ -19,4 +19,5 @@ __exportStar(require("./deviceNotification"), exports);
|
|
|
19
19
|
__exportStar(require("./endUserNotification"), exports);
|
|
20
20
|
__exportStar(require("./automation"), exports);
|
|
21
21
|
__exportStar(require("./calendarEvent"), exports);
|
|
22
|
+
__exportStar(require("./generalComment"), exports);
|
|
22
23
|
//# sourceMappingURL=index.js.map
|
package/dist/crm/index.js.map
CHANGED
|
@@ -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"}
|
|
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"}
|
package/package.json
CHANGED
package/src/crm/calendarEvent.ts
CHANGED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import mongoose from "mongoose";
|
|
2
|
+
|
|
3
|
+
export interface IGeneralCommentModel {
|
|
4
|
+
_id?: string | mongoose.Types.ObjectId;
|
|
5
|
+
content: string;
|
|
6
|
+
author: string | mongoose.Types.ObjectId; // User who wrote the comment
|
|
7
|
+
relatedTo?: string | mongoose.Types.ObjectId; // Optional reference to related entity
|
|
8
|
+
relatedType?: string; // Type of entity it's related to (e.g., 'task', 'event', etc.)
|
|
9
|
+
seller: string | mongoose.Types.ObjectId;
|
|
10
|
+
marketplace: string | mongoose.Types.ObjectId;
|
|
11
|
+
createdAt?: Date;
|
|
12
|
+
updatedAt?: Date;
|
|
13
|
+
}
|
package/src/crm/index.ts
CHANGED