hvp-shared 7.3.0 → 7.4.0
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.
|
@@ -68,10 +68,20 @@ export interface SnapshotParams {
|
|
|
68
68
|
/** Optional: filter by warehouse */
|
|
69
69
|
warehouse?: string;
|
|
70
70
|
}
|
|
71
|
+
/**
|
|
72
|
+
* Parameters for client sync (Report 1)
|
|
73
|
+
*
|
|
74
|
+
* Daily sync uses `includeInactive: false` (~7k active clients, fast).
|
|
75
|
+
* Day-1 monthly sync uses `includeInactive: true` (~30k all clients) to capture inactive ones.
|
|
76
|
+
*/
|
|
77
|
+
export interface ClientsParams {
|
|
78
|
+
/** When true, fetches active + inactive clients. When false/omitted, only active. */
|
|
79
|
+
includeInactive?: boolean;
|
|
80
|
+
}
|
|
71
81
|
/**
|
|
72
82
|
* Union type for all possible sync parameters
|
|
73
83
|
*/
|
|
74
|
-
export type SyncParams = DateRangeParams | SnapshotParams | Record<string, never>;
|
|
84
|
+
export type SyncParams = DateRangeParams | SnapshotParams | ClientsParams | Record<string, never>;
|
|
75
85
|
/**
|
|
76
86
|
* Result for a single sub-task
|
|
77
87
|
*/
|