@managesome/eposmatic-toolkit 0.4.12 → 0.4.14
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/esm/schemas/models/warehouse_communications.js +5 -0
- package/lib/schemas/models/warehouse_communications.d.ts +3 -0
- package/lib/schemas/models/warehouse_communications.js +5 -0
- package/lib/schemas/types/deliveries.d.ts +4 -1
- package/lib/schemas/types/dinein_tables_fingerprints.d.ts +1 -1
- package/lib/schemas/types/reviews.d.ts +1 -1
- package/lib/schemas/types/tenant-activity-logs.d.ts +1 -1
- package/lib/schemas/types/tenant_hr_employees.d.ts +1 -1
- package/lib/schemas/types/warehouse-activity-logs.d.ts +1 -1
- package/package.json +1 -1
|
@@ -142,6 +142,11 @@ const WarehouseCommunicationMetadataSchema = new Schema({
|
|
|
142
142
|
type: [WarehouseCommunicationActionButtonSchema],
|
|
143
143
|
default: [],
|
|
144
144
|
},
|
|
145
|
+
theme_color: {
|
|
146
|
+
type: String,
|
|
147
|
+
required: false,
|
|
148
|
+
default: null,
|
|
149
|
+
},
|
|
145
150
|
}, {
|
|
146
151
|
_id: false,
|
|
147
152
|
minimize: false,
|
|
@@ -74,6 +74,7 @@ export declare const WarehouseCommunicationsSchema: Schema<any, import("mongoose
|
|
|
74
74
|
expected_deadline?: string | null | undefined;
|
|
75
75
|
notes?: string | null | undefined;
|
|
76
76
|
payment_terms_days?: number | null | undefined;
|
|
77
|
+
theme_color?: string | null | undefined;
|
|
77
78
|
};
|
|
78
79
|
sent_at?: NativeDate | null | undefined;
|
|
79
80
|
}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
|
|
@@ -146,6 +147,7 @@ export declare const WarehouseCommunicationsSchema: Schema<any, import("mongoose
|
|
|
146
147
|
expected_deadline?: string | null | undefined;
|
|
147
148
|
notes?: string | null | undefined;
|
|
148
149
|
payment_terms_days?: number | null | undefined;
|
|
150
|
+
theme_color?: string | null | undefined;
|
|
149
151
|
};
|
|
150
152
|
sent_at?: NativeDate | null | undefined;
|
|
151
153
|
}>> & import("mongoose").FlatRecord<{
|
|
@@ -218,6 +220,7 @@ export declare const WarehouseCommunicationsSchema: Schema<any, import("mongoose
|
|
|
218
220
|
expected_deadline?: string | null | undefined;
|
|
219
221
|
notes?: string | null | undefined;
|
|
220
222
|
payment_terms_days?: number | null | undefined;
|
|
223
|
+
theme_color?: string | null | undefined;
|
|
221
224
|
};
|
|
222
225
|
sent_at?: NativeDate | null | undefined;
|
|
223
226
|
}> & Required<{
|
|
@@ -145,6 +145,11 @@ const WarehouseCommunicationMetadataSchema = new mongoose_1.Schema({
|
|
|
145
145
|
type: [WarehouseCommunicationActionButtonSchema],
|
|
146
146
|
default: [],
|
|
147
147
|
},
|
|
148
|
+
theme_color: {
|
|
149
|
+
type: String,
|
|
150
|
+
required: false,
|
|
151
|
+
default: null,
|
|
152
|
+
},
|
|
148
153
|
}, {
|
|
149
154
|
_id: false,
|
|
150
155
|
minimize: false,
|
|
@@ -15,7 +15,10 @@ export interface IDelivery {
|
|
|
15
15
|
tenant_phone_numbers: string[];
|
|
16
16
|
status: DELIVERY_STATUS_ENUM;
|
|
17
17
|
cancel_reason?: string | null;
|
|
18
|
-
/**
|
|
18
|
+
/**
|
|
19
|
+
* Tenant-local business date resolved from `track_order_numbers.runningLocalDate`
|
|
20
|
+
* at creation (order.localDate is the fallback when the tracker is absent).
|
|
21
|
+
*/
|
|
19
22
|
localDate?: string | null;
|
|
20
23
|
polyline: [number, number][];
|
|
21
24
|
distance_in_meters_from_store: number;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { TENANT_ACTIVITY_LOG_ACTION_ENUM, TENANT_ACTIVITY_LOG_ENTITY_TYPE_ENUM, TENANT_ACTIVITY_LOG_SEVERITY_ENUM } from '../../constants';
|
|
2
2
|
export interface ITenantActivityLogActor {
|
|
3
|
-
staff_id: string;
|
|
3
|
+
staff_id: string | null;
|
|
4
4
|
staff_name: string | null;
|
|
5
5
|
staff_email: string | null;
|
|
6
6
|
staff_mobile: string | null;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { WAREHOUSE_ACTIVITY_LOG_ACTION_ENUM, WAREHOUSE_ACTIVITY_LOG_ENTITY_TYPE_ENUM, WAREHOUSE_ACTIVITY_LOG_SEVERITY_ENUM } from '../../constants';
|
|
2
2
|
export interface IWarehouseActivityLogActor {
|
|
3
|
-
staff_id: string;
|
|
3
|
+
staff_id: string | null;
|
|
4
4
|
staff_name: string | null;
|
|
5
5
|
staff_email: string | null;
|
|
6
6
|
staff_mobile: string | null;
|