@vitrina/api 17.22.0 → 17.23.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.
package/dist/index.d.cts CHANGED
@@ -284312,6 +284312,16 @@ interface components {
284312
284312
  /** @description The missing recurring account (`recurring_cost_missing`), else null. */
284313
284313
  account_name: string | null;
284314
284314
  } | null;
284315
+ /** @description Recurring fixed costs not booked yet in this closed month, at their usual amount (the sum of `fijos_faltantes`). Already inside `equilibrio_clp`; never inside `fijos_clp` or `resultado_clp`. 0 on a proforma month. */
284316
+ fijos_faltantes_clp: number;
284317
+ /** @description The accounts behind `fijos_faltantes_clp`, usual amount descending. */
284318
+ fijos_faltantes: {
284319
+ /** Format: uuid */
284320
+ account_id: string;
284321
+ account_name: string;
284322
+ /** @description Median of the account’s last 3 non-zero months before the gap. */
284323
+ usual_clp: number;
284324
+ }[];
284315
284325
  /** @description The Resultado’s «Ingresos» (net). */
284316
284326
  ingresos_clp: number;
284317
284327
  /** @description Costs on accounts flagged variable (documented or not) + «Egresos sin clasificar». */
@@ -284324,7 +284334,7 @@ interface components {
284324
284334
  contribucion_clp: number;
284325
284335
  /** @description Percent, one decimal. */
284326
284336
  contribucion_pct: number | null;
284327
- /** @description Punto de equilibrio: fijos ÷ margen de contribución %, the monthly income at which the result is zero. Null when it cannot be reached (see `equilibrio_sin_calculo`). */
284337
+ /** @description Punto de equilibrio: (fijos + fijos faltantes) ÷ margen de contribución %, the monthly income at which the result is zero. `fijos_clp` stays the books; the recurring fixed costs not booked yet enter here at their usual amount (month rows: `fijos_faltantes_clp`). Null when it cannot be reached (see `equilibrio_sin_calculo`). */
284328
284338
  equilibrio_clp: number | null;
284329
284339
  /** @enum {string|null} */
284330
284340
  equilibrio_sin_calculo: "sin_ingresos" | "margen_no_positivo" | null;
@@ -284346,6 +284356,10 @@ interface components {
284346
284356
  label: string;
284347
284357
  equilibrio_clp: number;
284348
284358
  }[];
284359
+ /** @description Mean of the bar months’ `fijos_faltantes_clp`; already inside `equilibrio_clp`. */
284360
+ fijos_faltantes_clp: number;
284361
+ /** @description Distinct names of the accounts missing in any bar month, usual amount descending. */
284362
+ fijos_faltantes_accounts: string[];
284349
284363
  } | null;
284350
284364
  /** @description Monthly averages over the range; equilibrio = average fijos ÷ the range’s margin %. */
284351
284365
  period: {
@@ -284361,7 +284375,7 @@ interface components {
284361
284375
  contribucion_clp: number;
284362
284376
  /** @description Percent, one decimal. */
284363
284377
  contribucion_pct: number | null;
284364
- /** @description Punto de equilibrio: fijos ÷ margen de contribución %, the monthly income at which the result is zero. Null when it cannot be reached (see `equilibrio_sin_calculo`). */
284378
+ /** @description Punto de equilibrio: (fijos + fijos faltantes) ÷ margen de contribución %, the monthly income at which the result is zero. `fijos_clp` stays the books; the recurring fixed costs not booked yet enter here at their usual amount (month rows: `fijos_faltantes_clp`). Null when it cannot be reached (see `equilibrio_sin_calculo`). */
284365
284379
  equilibrio_clp: number | null;
284366
284380
  /** @enum {string|null} */
284367
284381
  equilibrio_sin_calculo: "sin_ingresos" | "margen_no_positivo" | null;
@@ -284383,6 +284397,12 @@ interface components {
284383
284397
  /** @enum {string} */
284384
284398
  behavior: "fijo" | "variable";
284385
284399
  behavior_inherited: boolean;
284400
+ /** @description Fijo accounts: median of the last 3 non-zero closed months within 12 months before the current one. Null for variable accounts or when never seen. */
284401
+ usual_monthly_clp: number | null;
284402
+ /** @description The recurring (non-zero in 3 of the 6 months up to its last booking) and stable (last amount within 25 % of the usual) test holds. */
284403
+ recurring: boolean;
284404
+ /** @description `YYYY-MM`: the account is missing in the last closed month; the first month of that run of zeros. Null otherwise. */
284405
+ missing_since: string | null;
284386
284406
  /** @description One value per entry of `months`, same order. Whole CLP. */
284387
284407
  values: number[];
284388
284408
  total_clp: number;
package/dist/index.d.ts CHANGED
@@ -284312,6 +284312,16 @@ interface components {
284312
284312
  /** @description The missing recurring account (`recurring_cost_missing`), else null. */
284313
284313
  account_name: string | null;
284314
284314
  } | null;
284315
+ /** @description Recurring fixed costs not booked yet in this closed month, at their usual amount (the sum of `fijos_faltantes`). Already inside `equilibrio_clp`; never inside `fijos_clp` or `resultado_clp`. 0 on a proforma month. */
284316
+ fijos_faltantes_clp: number;
284317
+ /** @description The accounts behind `fijos_faltantes_clp`, usual amount descending. */
284318
+ fijos_faltantes: {
284319
+ /** Format: uuid */
284320
+ account_id: string;
284321
+ account_name: string;
284322
+ /** @description Median of the account’s last 3 non-zero months before the gap. */
284323
+ usual_clp: number;
284324
+ }[];
284315
284325
  /** @description The Resultado’s «Ingresos» (net). */
284316
284326
  ingresos_clp: number;
284317
284327
  /** @description Costs on accounts flagged variable (documented or not) + «Egresos sin clasificar». */
@@ -284324,7 +284334,7 @@ interface components {
284324
284334
  contribucion_clp: number;
284325
284335
  /** @description Percent, one decimal. */
284326
284336
  contribucion_pct: number | null;
284327
- /** @description Punto de equilibrio: fijos ÷ margen de contribución %, the monthly income at which the result is zero. Null when it cannot be reached (see `equilibrio_sin_calculo`). */
284337
+ /** @description Punto de equilibrio: (fijos + fijos faltantes) ÷ margen de contribución %, the monthly income at which the result is zero. `fijos_clp` stays the books; the recurring fixed costs not booked yet enter here at their usual amount (month rows: `fijos_faltantes_clp`). Null when it cannot be reached (see `equilibrio_sin_calculo`). */
284328
284338
  equilibrio_clp: number | null;
284329
284339
  /** @enum {string|null} */
284330
284340
  equilibrio_sin_calculo: "sin_ingresos" | "margen_no_positivo" | null;
@@ -284346,6 +284356,10 @@ interface components {
284346
284356
  label: string;
284347
284357
  equilibrio_clp: number;
284348
284358
  }[];
284359
+ /** @description Mean of the bar months’ `fijos_faltantes_clp`; already inside `equilibrio_clp`. */
284360
+ fijos_faltantes_clp: number;
284361
+ /** @description Distinct names of the accounts missing in any bar month, usual amount descending. */
284362
+ fijos_faltantes_accounts: string[];
284349
284363
  } | null;
284350
284364
  /** @description Monthly averages over the range; equilibrio = average fijos ÷ the range’s margin %. */
284351
284365
  period: {
@@ -284361,7 +284375,7 @@ interface components {
284361
284375
  contribucion_clp: number;
284362
284376
  /** @description Percent, one decimal. */
284363
284377
  contribucion_pct: number | null;
284364
- /** @description Punto de equilibrio: fijos ÷ margen de contribución %, the monthly income at which the result is zero. Null when it cannot be reached (see `equilibrio_sin_calculo`). */
284378
+ /** @description Punto de equilibrio: (fijos + fijos faltantes) ÷ margen de contribución %, the monthly income at which the result is zero. `fijos_clp` stays the books; the recurring fixed costs not booked yet enter here at their usual amount (month rows: `fijos_faltantes_clp`). Null when it cannot be reached (see `equilibrio_sin_calculo`). */
284365
284379
  equilibrio_clp: number | null;
284366
284380
  /** @enum {string|null} */
284367
284381
  equilibrio_sin_calculo: "sin_ingresos" | "margen_no_positivo" | null;
@@ -284383,6 +284397,12 @@ interface components {
284383
284397
  /** @enum {string} */
284384
284398
  behavior: "fijo" | "variable";
284385
284399
  behavior_inherited: boolean;
284400
+ /** @description Fijo accounts: median of the last 3 non-zero closed months within 12 months before the current one. Null for variable accounts or when never seen. */
284401
+ usual_monthly_clp: number | null;
284402
+ /** @description The recurring (non-zero in 3 of the 6 months up to its last booking) and stable (last amount within 25 % of the usual) test holds. */
284403
+ recurring: boolean;
284404
+ /** @description `YYYY-MM`: the account is missing in the last closed month; the first month of that run of zeros. Null otherwise. */
284405
+ missing_since: string | null;
284386
284406
  /** @description One value per entry of `months`, same order. Whole CLP. */
284387
284407
  values: number[];
284388
284408
  total_clp: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vitrina/api",
3
- "version": "17.22.0",
3
+ "version": "17.23.0",
4
4
  "description": "Typed TypeScript SDK for the Vitrina API pública — generated from the committed openapi.public.json (ADR 0106).",
5
5
  "type": "module",
6
6
  "license": "MIT",