@managesome/eposmatic-toolkit 0.2.366 → 0.2.367

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.
@@ -11,13 +11,13 @@ export declare const WarehouseCommunicationsSchema: Schema<any, import("mongoose
11
11
  _id: import("mongoose").Types.ObjectId;
12
12
  createdAt: NativeDate;
13
13
  updatedAt: NativeDate;
14
+ description: string;
14
15
  warehouse_id: string;
15
16
  document_kind: import("../../constants").EMAIL_DOCUMENT_KIND_ENUM;
16
17
  document_id: string;
17
18
  communication_channel: COMMUNICATION_CHANNEL_ENUM;
18
19
  to: string;
19
20
  subject: string;
20
- body: string;
21
21
  metadata: {
22
22
  grand_total: number;
23
23
  subtotal: number;
@@ -83,13 +83,13 @@ export declare const WarehouseCommunicationsSchema: Schema<any, import("mongoose
83
83
  _id: import("mongoose").Types.ObjectId;
84
84
  createdAt: NativeDate;
85
85
  updatedAt: NativeDate;
86
+ description: string;
86
87
  warehouse_id: string;
87
88
  document_kind: import("../../constants").EMAIL_DOCUMENT_KIND_ENUM;
88
89
  document_id: string;
89
90
  communication_channel: COMMUNICATION_CHANNEL_ENUM;
90
91
  to: string;
91
92
  subject: string;
92
- body: string;
93
93
  metadata: {
94
94
  grand_total: number;
95
95
  subtotal: number;
@@ -155,13 +155,13 @@ export declare const WarehouseCommunicationsSchema: Schema<any, import("mongoose
155
155
  _id: import("mongoose").Types.ObjectId;
156
156
  createdAt: NativeDate;
157
157
  updatedAt: NativeDate;
158
+ description: string;
158
159
  warehouse_id: string;
159
160
  document_kind: import("../../constants").EMAIL_DOCUMENT_KIND_ENUM;
160
161
  document_id: string;
161
162
  communication_channel: COMMUNICATION_CHANNEL_ENUM;
162
163
  to: string;
163
164
  subject: string;
164
- body: string;
165
165
  metadata: {
166
166
  grand_total: number;
167
167
  subtotal: number;
@@ -184,7 +184,7 @@ exports.WarehouseCommunicationsSchema = new mongoose_1.Schema({
184
184
  type: String,
185
185
  required: true,
186
186
  },
187
- body: {
187
+ description: {
188
188
  type: String,
189
189
  default: '',
190
190
  },
@@ -44,7 +44,7 @@ export interface IWarehouseCommunication {
44
44
  communication_channel: TWarehouseCommunicationChannel;
45
45
  to: string;
46
46
  subject: string;
47
- body: string;
47
+ description: string;
48
48
  metadata: IWarehouseCommunicationMetadata;
49
49
  sent_at?: Date | null;
50
50
  createdAt: Date;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@managesome/eposmatic-toolkit",
3
- "version": "0.2.366",
3
+ "version": "0.2.367",
4
4
  "description": "A Toolkit Library for Eposmatic",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",