@managesome/eposmatic-toolkit 0.2.609 → 0.2.611
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/lib/constants/WAREHOUSE_ENUMS.d.ts +2 -1
- package/lib/constants/WAREHOUSE_ENUMS.js +1 -0
- package/lib/schemas/models/tenant_day_sessions.d.ts +0 -12
- package/lib/schemas/models/tenant_day_sessions.js +0 -4
- package/lib/schemas/types/shift_day_drawer_requests.d.ts +0 -1
- package/lib/schemas/types/tenant_day_sessions.d.ts +0 -1
- package/package.json +1 -1
|
@@ -169,7 +169,8 @@ export declare enum WAREHOUSE_INTERNAL_MOVEMENT_FLOW_ENUM {
|
|
|
169
169
|
WH_TO_BRANCH = "WH_TO_BRANCH",
|
|
170
170
|
BRANCH_TO_WH = "BRANCH_TO_WH",
|
|
171
171
|
BRANCH_TO_BRANCH = "BRANCH_TO_BRANCH",
|
|
172
|
-
BRANCH_TO_DEPARTMENT = "BRANCH_TO_DEPARTMENT"
|
|
172
|
+
BRANCH_TO_DEPARTMENT = "BRANCH_TO_DEPARTMENT",
|
|
173
|
+
DEPARTMENT_TO_BRANCH = "DEPARTMENT_TO_BRANCH"
|
|
173
174
|
}
|
|
174
175
|
export declare const ALL_WAREHOUSE_INTERNAL_MOVEMENT_FLOW_NAMES: WAREHOUSE_INTERNAL_MOVEMENT_FLOW_ENUM[];
|
|
175
176
|
export declare enum WAREHOUSE_INTERNAL_MOVEMENT_LOCATION_TYPE_ENUM {
|
|
@@ -211,6 +211,7 @@ var WAREHOUSE_INTERNAL_MOVEMENT_FLOW_ENUM;
|
|
|
211
211
|
WAREHOUSE_INTERNAL_MOVEMENT_FLOW_ENUM["BRANCH_TO_WH"] = "BRANCH_TO_WH";
|
|
212
212
|
WAREHOUSE_INTERNAL_MOVEMENT_FLOW_ENUM["BRANCH_TO_BRANCH"] = "BRANCH_TO_BRANCH";
|
|
213
213
|
WAREHOUSE_INTERNAL_MOVEMENT_FLOW_ENUM["BRANCH_TO_DEPARTMENT"] = "BRANCH_TO_DEPARTMENT";
|
|
214
|
+
WAREHOUSE_INTERNAL_MOVEMENT_FLOW_ENUM["DEPARTMENT_TO_BRANCH"] = "DEPARTMENT_TO_BRANCH";
|
|
214
215
|
})(WAREHOUSE_INTERNAL_MOVEMENT_FLOW_ENUM || (exports.WAREHOUSE_INTERNAL_MOVEMENT_FLOW_ENUM = WAREHOUSE_INTERNAL_MOVEMENT_FLOW_ENUM = {}));
|
|
215
216
|
exports.ALL_WAREHOUSE_INTERNAL_MOVEMENT_FLOW_NAMES = Object.values(WAREHOUSE_INTERNAL_MOVEMENT_FLOW_ENUM);
|
|
216
217
|
var WAREHOUSE_INTERNAL_MOVEMENT_LOCATION_TYPE_ENUM;
|
|
@@ -41,7 +41,6 @@ export declare const TenantDaySessionSchema: Schema<any, import("mongoose").Mode
|
|
|
41
41
|
expected_cash_amount: number;
|
|
42
42
|
difference: number;
|
|
43
43
|
closed_at: NativeDate;
|
|
44
|
-
cash_in_out_id: string;
|
|
45
44
|
};
|
|
46
45
|
reopened_iterations: import("mongoose").Types.DocumentArray<{
|
|
47
46
|
staff_id: string;
|
|
@@ -62,7 +61,6 @@ export declare const TenantDaySessionSchema: Schema<any, import("mongoose").Mode
|
|
|
62
61
|
expected_cash_amount: number;
|
|
63
62
|
difference: number;
|
|
64
63
|
closed_at: NativeDate;
|
|
65
|
-
cash_in_out_id: string;
|
|
66
64
|
};
|
|
67
65
|
reopened_times: number;
|
|
68
66
|
total_shifts: number;
|
|
@@ -85,7 +83,6 @@ export declare const TenantDaySessionSchema: Schema<any, import("mongoose").Mode
|
|
|
85
83
|
expected_cash_amount: number;
|
|
86
84
|
difference: number;
|
|
87
85
|
closed_at: NativeDate;
|
|
88
|
-
cash_in_out_id: string;
|
|
89
86
|
};
|
|
90
87
|
reopened_times: number;
|
|
91
88
|
total_shifts: number;
|
|
@@ -108,7 +105,6 @@ export declare const TenantDaySessionSchema: Schema<any, import("mongoose").Mode
|
|
|
108
105
|
expected_cash_amount: number;
|
|
109
106
|
difference: number;
|
|
110
107
|
closed_at: NativeDate;
|
|
111
|
-
cash_in_out_id: string;
|
|
112
108
|
};
|
|
113
109
|
reopened_times: number;
|
|
114
110
|
total_shifts: number;
|
|
@@ -153,7 +149,6 @@ export declare const TenantDaySessionSchema: Schema<any, import("mongoose").Mode
|
|
|
153
149
|
expected_cash_amount: number;
|
|
154
150
|
difference: number;
|
|
155
151
|
closed_at: NativeDate;
|
|
156
|
-
cash_in_out_id: string;
|
|
157
152
|
};
|
|
158
153
|
reopened_iterations: import("mongoose").Types.DocumentArray<{
|
|
159
154
|
staff_id: string;
|
|
@@ -174,7 +169,6 @@ export declare const TenantDaySessionSchema: Schema<any, import("mongoose").Mode
|
|
|
174
169
|
expected_cash_amount: number;
|
|
175
170
|
difference: number;
|
|
176
171
|
closed_at: NativeDate;
|
|
177
|
-
cash_in_out_id: string;
|
|
178
172
|
};
|
|
179
173
|
reopened_times: number;
|
|
180
174
|
total_shifts: number;
|
|
@@ -197,7 +191,6 @@ export declare const TenantDaySessionSchema: Schema<any, import("mongoose").Mode
|
|
|
197
191
|
expected_cash_amount: number;
|
|
198
192
|
difference: number;
|
|
199
193
|
closed_at: NativeDate;
|
|
200
|
-
cash_in_out_id: string;
|
|
201
194
|
};
|
|
202
195
|
reopened_times: number;
|
|
203
196
|
total_shifts: number;
|
|
@@ -220,7 +213,6 @@ export declare const TenantDaySessionSchema: Schema<any, import("mongoose").Mode
|
|
|
220
213
|
expected_cash_amount: number;
|
|
221
214
|
difference: number;
|
|
222
215
|
closed_at: NativeDate;
|
|
223
|
-
cash_in_out_id: string;
|
|
224
216
|
};
|
|
225
217
|
reopened_times: number;
|
|
226
218
|
total_shifts: number;
|
|
@@ -265,7 +257,6 @@ export declare const TenantDaySessionSchema: Schema<any, import("mongoose").Mode
|
|
|
265
257
|
expected_cash_amount: number;
|
|
266
258
|
difference: number;
|
|
267
259
|
closed_at: NativeDate;
|
|
268
|
-
cash_in_out_id: string;
|
|
269
260
|
};
|
|
270
261
|
reopened_iterations: import("mongoose").Types.DocumentArray<{
|
|
271
262
|
staff_id: string;
|
|
@@ -286,7 +277,6 @@ export declare const TenantDaySessionSchema: Schema<any, import("mongoose").Mode
|
|
|
286
277
|
expected_cash_amount: number;
|
|
287
278
|
difference: number;
|
|
288
279
|
closed_at: NativeDate;
|
|
289
|
-
cash_in_out_id: string;
|
|
290
280
|
};
|
|
291
281
|
reopened_times: number;
|
|
292
282
|
total_shifts: number;
|
|
@@ -309,7 +299,6 @@ export declare const TenantDaySessionSchema: Schema<any, import("mongoose").Mode
|
|
|
309
299
|
expected_cash_amount: number;
|
|
310
300
|
difference: number;
|
|
311
301
|
closed_at: NativeDate;
|
|
312
|
-
cash_in_out_id: string;
|
|
313
302
|
};
|
|
314
303
|
reopened_times: number;
|
|
315
304
|
total_shifts: number;
|
|
@@ -332,7 +321,6 @@ export declare const TenantDaySessionSchema: Schema<any, import("mongoose").Mode
|
|
|
332
321
|
expected_cash_amount: number;
|
|
333
322
|
difference: number;
|
|
334
323
|
closed_at: NativeDate;
|
|
335
|
-
cash_in_out_id: string;
|
|
336
324
|
};
|
|
337
325
|
reopened_times: number;
|
|
338
326
|
total_shifts: number;
|
|
@@ -55,10 +55,6 @@ const TenantDaySessionClosingSchema = new mongoose_1.Schema({
|
|
|
55
55
|
type: Number,
|
|
56
56
|
required: true,
|
|
57
57
|
},
|
|
58
|
-
cash_in_out_id: {
|
|
59
|
-
type: String,
|
|
60
|
-
default: null,
|
|
61
|
-
},
|
|
62
58
|
}, { _id: false, minimize: false });
|
|
63
59
|
const TenantDaySessionReopeningIterationSchema = new mongoose_1.Schema({
|
|
64
60
|
staff_id: {
|