@factorialco/api-client 3.0.0-beta.2026100120 → 3.0.0-beta.2026100121

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.
@@ -7203,7 +7203,13 @@ export type TimeoffLeave = {
7203
7203
  */
7204
7204
  duration_attributes?: string;
7205
7205
  /**
7206
- * Number of days taken for paid leave
7206
+ * Per-day breakdown of the leave's workable and used units, keyed by calendar date. Populated only when the read requests `include_duration_by_day=true`; null otherwise.
7207
+ */
7208
+ duration_by_day_attributes?: {
7209
+ [key: string]: unknown;
7210
+ };
7211
+ /**
7212
+ * Number of days taken for paid leave. Reflects the summed per-day used total when the per-day breakdown is computed; otherwise the leave's calendar-day duration.
7207
7213
  */
7208
7214
  days_taken: number;
7209
7215
  };
@@ -23132,6 +23138,10 @@ export type GetApi20261001ResourcesTimeoffLeavesData = {
23132
23138
  * Retrieve leave duration
23133
23139
  */
23134
23140
  include_duration?: boolean;
23141
+ /**
23142
+ * Retrieve the per-day breakdown of the leave's duration (`duration_by_day_attributes`)
23143
+ */
23144
+ include_duration_by_day?: boolean;
23135
23145
  /**
23136
23146
  * Retrieve workable leaves
23137
23147
  */