@managesome/eposmatic-toolkit 0.2.607 → 0.2.609

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.
@@ -9,9 +9,8 @@
9
9
  * `convertDecimalToInt`). It exists ONLY on the cash-drawer open (opening
10
10
  * float) and close (counted cash) requests — every other lifecycle amount is
11
11
  * backend-owned and derived server-side from the cash-drawer ledger.
12
- * - `operational_time_zone_offset_gmt` is the tenant's UTC offset (hours) used
13
- * to stamp the local-time fields — only where the client clock is trusted
14
- * (shift open). Day open/reopen use the tenant's stored offset instead.
12
+ * - `operational_time_zone_offset_gmt` is NOT part of any request — local-time
13
+ * fields are always stamped server-side from the tenant's stored offset.
15
14
  */
16
15
  export interface IOpenTenantDayRequestBody {
17
16
  tenant_id: string;
@@ -40,7 +39,6 @@ export interface IOpenInstoreShiftRequestBody {
40
39
  staff_id: string;
41
40
  staff_name: string;
42
41
  note?: string;
43
- operational_time_zone_offset_gmt: number;
44
42
  }
45
43
  export interface ICloseInstoreShiftRequestBody {
46
44
  tenant_id: string;
@@ -10,8 +10,7 @@
10
10
  * `convertDecimalToInt`). It exists ONLY on the cash-drawer open (opening
11
11
  * float) and close (counted cash) requests — every other lifecycle amount is
12
12
  * backend-owned and derived server-side from the cash-drawer ledger.
13
- * - `operational_time_zone_offset_gmt` is the tenant's UTC offset (hours) used
14
- * to stamp the local-time fields — only where the client clock is trusted
15
- * (shift open). Day open/reopen use the tenant's stored offset instead.
13
+ * - `operational_time_zone_offset_gmt` is NOT part of any request — local-time
14
+ * fields are always stamped server-side from the tenant's stored offset.
16
15
  */
17
16
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -85,3 +85,27 @@ export interface IWarehouseInternalMovement extends IWarehouseInternalMovementSt
85
85
  createdAt: Date;
86
86
  updatedAt: Date;
87
87
  }
88
+ export interface IWarehouseInternalMovementItemUsageRecord {
89
+ movement_id: string;
90
+ doc_number: string;
91
+ record_type: WAREHOUSE_INTERNAL_MOVEMENT_RECORD_TYPE_ENUM;
92
+ status: WAREHOUSE_INTERNAL_MOVEMENT_STATUS_ENUM;
93
+ quantity: number;
94
+ source_name: string;
95
+ destination_name: string;
96
+ }
97
+ export interface IWarehouseInternalMovementItemUsage {
98
+ item_id: string;
99
+ inventory_code: string;
100
+ actual_stock: number;
101
+ records: IWarehouseInternalMovementItemUsageRecord[];
102
+ }
103
+ export interface IGetWarehouseInternalMovementItemUsage {
104
+ ref_id: string;
105
+ ref_type: WAREHOUSE_REF_TYPE_ENUM;
106
+ item_id: string;
107
+ inventory_code: string;
108
+ source_id: string;
109
+ source_type: WAREHOUSE_INTERNAL_MOVEMENT_LOCATION_TYPE_ENUM;
110
+ exclude_movement_id: string;
111
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@managesome/eposmatic-toolkit",
3
- "version": "0.2.607",
3
+ "version": "0.2.609",
4
4
  "description": "A Toolkit Library for Eposmatic",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",