@vitrina/api 17.121.0 → 17.122.1

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
@@ -115754,7 +115754,7 @@ interface paths {
115754
115754
  };
115755
115755
  /**
115756
115756
  * What the Paquete anual of a year holds and what it is missing
115757
- * @description The Paquete anual's manifest, without the bytes: the files (key, label, name, rows, size), `complete` (true only when nothing is missing), `incomplete` (the months not closed, not read by the SII sync, with unclassified movements or documents, F29 periods with no filing, undated collections and payments, money out nothing explains: Spanish sentences, ready to show), `warnings` (retention declared versus the boletas) and one row per month. The zip downloads from `GET /finanzas/contador-export?year=`. `00-estado-del-ano` (what makes the year incomplete), `01-resultado-por-cuenta` (a column per month and the total), `02-base-de-caja` (collected and paid by account, `no_operacional` money apart, undated items listed), `03-iva-y-ppm` (each F29, proposal or filed), `04-honorarios-y-retenciones` (with the comparison against F29 code 151), `05-libro-de-compras`, `06-libro-de-ventas` and `07-pagos-de-impuestos`, each `<name>-<year>.xlsx`. A future year answers 400, and so does the current year until a month of it has closed; a workspace with more than one sociedad answers 409. A caller without the patient register (the Contador) sees a patient as «Paciente A. P.» with no RUT; the libro de ventas keeps the patient RUT on facturas and on notas de crédito or débito that cite one, and boletas carry neither RUT nor name. Requires the `finanzas` add-on — without it every Finanzas operation answers `402 ENTITLEMENT_NOT_ACTIVE` (`details.required = ["finanzas"]`). Requires `finanzas:read`, `finanzas_reports:read` and `finanzas:export` (the Contador seat, owners and admins).
115757
+ * @description The Paquete anual's manifest, without the bytes: the files (key, label, name, rows, size), `complete` (the year is over and nothing a person can do is missing; `limits`, what Vitrina does not hold, do not count), `status`, `has_limits`, `limits` (one sentence per kind: the SII window, F29 filed elsewhere, payments marked paid before Vitrina...), `incomplete` (every reason with `actionable`: the months not closed, not read by the SII sync, with unclassified movements or documents, F29 periods with no filing, undated collections and payments, money out nothing explains: Spanish sentences, ready to show), `warnings` (retention declared versus the boletas) and one row per month. The zip downloads from `GET /finanzas/contador-export?year=`. `00-estado-del-ano` (what makes the year incomplete), `01-resultado-por-cuenta` (a column per month and the total), `02-base-de-caja` (collected and paid by account, `no_operacional` money apart, undated items listed), `03-iva-y-ppm` (each F29, proposal or filed), `04-honorarios-y-retenciones` (with the comparison against F29 code 151), `05-libro-de-compras`, `06-libro-de-ventas` and `07-pagos-de-impuestos`, each `<name>-<year>.xlsx`. A future year answers 400, and so does the current year until a month of it has closed; a workspace with more than one sociedad answers 409. It writes nothing: the open cases are computed in memory as a refresh would leave them, so they are never stale. A caller without the patient register (the Contador) sees a patient as «Paciente A. P.» with no RUT; the libro de ventas keeps the patient RUT on facturas and on notas de crédito or débito that cite one, and boletas carry neither RUT nor name. Requires the `finanzas` add-on — without it every Finanzas operation answers `402 ENTITLEMENT_NOT_ACTIVE` (`details.required = ["finanzas"]`). Requires `finanzas:read`, `finanzas_reports:read` and `finanzas:export` (the Contador seat, owners and admins).
115758
115758
  */
115759
115759
  get: {
115760
115760
  parameters: {
@@ -115781,6 +115781,11 @@ interface paths {
115781
115781
  * "filename": "paquete-contador-2025.zip",
115782
115782
  * "in_progress": false,
115783
115783
  * "complete": true,
115784
+ * "has_limits": false,
115785
+ * "status": "complete",
115786
+ * "status_label": "Completo",
115787
+ * "actionable_count": 0,
115788
+ * "limits": [],
115784
115789
  * "sociedad": {
115785
115790
  * "connection_id": "0194f3a0-7c1e-7a52-9d1b-3c5e8f2a6b41",
115786
115791
  * "rut": "76.123.456-7",
@@ -115799,7 +115804,9 @@ interface paths {
115799
115804
  * "sii_read": true,
115800
115805
  * "f29": "filed",
115801
115806
  * "f29_label": "Presentado",
115802
- * "issues": []
115807
+ * "issues": [],
115808
+ * "actionable_issues": [],
115809
+ * "complete": true
115803
115810
  * },
115804
115811
  * {
115805
115812
  * "month": "2025-02",
@@ -115811,7 +115818,9 @@ interface paths {
115811
115818
  * "sii_read": true,
115812
115819
  * "f29": "filed",
115813
115820
  * "f29_label": "Presentado",
115814
- * "issues": []
115821
+ * "issues": [],
115822
+ * "actionable_issues": [],
115823
+ * "complete": true
115815
115824
  * },
115816
115825
  * {
115817
115826
  * "month": "2025-03",
@@ -115823,7 +115832,9 @@ interface paths {
115823
115832
  * "sii_read": true,
115824
115833
  * "f29": "filed",
115825
115834
  * "f29_label": "Presentado",
115826
- * "issues": []
115835
+ * "issues": [],
115836
+ * "actionable_issues": [],
115837
+ * "complete": true
115827
115838
  * },
115828
115839
  * {
115829
115840
  * "month": "2025-04",
@@ -115835,7 +115846,9 @@ interface paths {
115835
115846
  * "sii_read": true,
115836
115847
  * "f29": "filed",
115837
115848
  * "f29_label": "Presentado",
115838
- * "issues": []
115849
+ * "issues": [],
115850
+ * "actionable_issues": [],
115851
+ * "complete": true
115839
115852
  * },
115840
115853
  * {
115841
115854
  * "month": "2025-05",
@@ -115847,7 +115860,9 @@ interface paths {
115847
115860
  * "sii_read": true,
115848
115861
  * "f29": "filed",
115849
115862
  * "f29_label": "Presentado",
115850
- * "issues": []
115863
+ * "issues": [],
115864
+ * "actionable_issues": [],
115865
+ * "complete": true
115851
115866
  * },
115852
115867
  * {
115853
115868
  * "month": "2025-06",
@@ -115859,7 +115874,9 @@ interface paths {
115859
115874
  * "sii_read": true,
115860
115875
  * "f29": "filed",
115861
115876
  * "f29_label": "Presentado",
115862
- * "issues": []
115877
+ * "issues": [],
115878
+ * "actionable_issues": [],
115879
+ * "complete": true
115863
115880
  * },
115864
115881
  * {
115865
115882
  * "month": "2025-07",
@@ -115871,7 +115888,9 @@ interface paths {
115871
115888
  * "sii_read": true,
115872
115889
  * "f29": "filed",
115873
115890
  * "f29_label": "Presentado",
115874
- * "issues": []
115891
+ * "issues": [],
115892
+ * "actionable_issues": [],
115893
+ * "complete": true
115875
115894
  * },
115876
115895
  * {
115877
115896
  * "month": "2025-08",
@@ -115883,7 +115902,9 @@ interface paths {
115883
115902
  * "sii_read": true,
115884
115903
  * "f29": "filed",
115885
115904
  * "f29_label": "Presentado",
115886
- * "issues": []
115905
+ * "issues": [],
115906
+ * "actionable_issues": [],
115907
+ * "complete": true
115887
115908
  * },
115888
115909
  * {
115889
115910
  * "month": "2025-09",
@@ -115895,7 +115916,9 @@ interface paths {
115895
115916
  * "sii_read": true,
115896
115917
  * "f29": "filed",
115897
115918
  * "f29_label": "Presentado",
115898
- * "issues": []
115919
+ * "issues": [],
115920
+ * "actionable_issues": [],
115921
+ * "complete": true
115899
115922
  * },
115900
115923
  * {
115901
115924
  * "month": "2025-10",
@@ -115907,7 +115930,9 @@ interface paths {
115907
115930
  * "sii_read": true,
115908
115931
  * "f29": "filed",
115909
115932
  * "f29_label": "Presentado",
115910
- * "issues": []
115933
+ * "issues": [],
115934
+ * "actionable_issues": [],
115935
+ * "complete": true
115911
115936
  * },
115912
115937
  * {
115913
115938
  * "month": "2025-11",
@@ -115919,7 +115944,9 @@ interface paths {
115919
115944
  * "sii_read": true,
115920
115945
  * "f29": "filed",
115921
115946
  * "f29_label": "Presentado",
115922
- * "issues": []
115947
+ * "issues": [],
115948
+ * "actionable_issues": [],
115949
+ * "complete": true
115923
115950
  * },
115924
115951
  * {
115925
115952
  * "month": "2025-12",
@@ -115931,7 +115958,9 @@ interface paths {
115931
115958
  * "sii_read": true,
115932
115959
  * "f29": "filed",
115933
115960
  * "f29_label": "Presentado",
115934
- * "issues": []
115961
+ * "issues": [],
115962
+ * "actionable_issues": [],
115963
+ * "complete": true
115935
115964
  * }
115936
115965
  * ],
115937
115966
  * "files": [
@@ -116004,13 +116033,40 @@ interface paths {
116004
116033
  filename: string;
116005
116034
  /** @description The current year: figures still moving, future months missing. */
116006
116035
  in_progress: boolean;
116007
- /** @description True only when `incomplete` is empty. Anything else: the year is NOT complete and nothing in it should be read as final. */
116036
+ /** @description True when the year is over and no ACTIONABLE reason remains (`actionable_count` is 0). `limits` (what Vitrina does not hold) do not count: see `has_limits`. False for the current year. A year that is not complete is not final. */
116008
116037
  complete: boolean;
116038
+ /** @description The year has limits: things the package does not contain or cannot confirm and no action in Vitrina can fix. A complete year can have limits («Completo, con límites»). */
116039
+ has_limits: boolean;
116040
+ /**
116041
+ * @description `complete` and not `has_limits`: «Completo»; `complete_with_limits`: «Completo, con límites»; `incomplete`: «Incompleto»; `in_progress` (the current year): «En curso: incompleto».
116042
+ * @enum {string}
116043
+ */
116044
+ status: "complete" | "complete_with_limits" | "incomplete" | "in_progress";
116045
+ /** @description The Spanish label of `status`. */
116046
+ status_label: string;
116047
+ /** @description How many `incomplete` items have `actionable: true`. */
116048
+ actionable_count: number;
116049
+ /** @description The non-actionable reasons, ONE entry per kind for the year (not one per month). Nothing a person does in Vitrina clears them. */
116050
+ limits: {
116051
+ /** @enum {string} */
116052
+ kind: "sii_not_read_previous_year" | "sii_not_read" | "f29_not_readable" | "undated_collections_before_vitrina" | "undated_payments_before_vitrina" | "month_in_progress" | "month_not_started" | "rows_truncated";
116053
+ /** @description The reason codes collapsed into this limit. */
116054
+ codes: ("month_not_closed" | "month_in_progress" | "month_not_started" | "sii_not_connected" | "sii_backfill_pending" | "sii_not_read" | "sii_not_read_previous_year" | "unclassified" | "incomplete_month" | "f29_missing" | "f29_not_filed" | "undated_collections" | "undated_payments" | "unexplained_outflows" | "rows_truncated")[];
116055
+ /** @description Spanish, neutral register: what the package does not contain or cannot confirm. */
116056
+ message: string;
116057
+ /** @description Months for the month kinds, documents for the undated kinds, files for `rows_truncated`. */
116058
+ count: number;
116059
+ /** @description In base de caja, for the undated kinds; null otherwise. */
116060
+ amount_clp: number | null;
116061
+ /** @description `YYYY-MM` months it covers; empty for a year-wide limit. */
116062
+ months: string[];
116063
+ }[];
116009
116064
  sociedad: {
116010
116065
  connection_id: string;
116011
116066
  rut: string;
116012
116067
  legal_name: string | null;
116013
116068
  } | null;
116069
+ /** @description Every reason, actionable or not. Group by `actionable` to render «Por revisar» and «Lo que este paquete no trae». */
116014
116070
  incomplete: {
116015
116071
  /** @enum {string} */
116016
116072
  code: "month_not_closed" | "month_in_progress" | "month_not_started" | "sii_not_connected" | "sii_backfill_pending" | "sii_not_read" | "sii_not_read_previous_year" | "unclassified" | "incomplete_month" | "f29_missing" | "f29_not_filed" | "undated_collections" | "undated_payments" | "unexplained_outflows" | "rows_truncated";
@@ -116018,6 +116074,8 @@ interface paths {
116018
116074
  month: string | null;
116019
116075
  /** @description Spanish, ready to show. */
116020
116076
  message: string;
116077
+ /** @description A person can clear it in Vitrina. False: Vitrina does not hold the data or it only needs time; it is also summarised in `limits`. An undated-payments or undated-collections reason is split into an actionable item and a non-actionable one (documents marked paid before Vitrina have no date to give). */
116078
+ actionable: boolean;
116021
116079
  }[];
116022
116080
  warnings: {
116023
116081
  /** @enum {string} */
@@ -116037,7 +116095,12 @@ interface paths {
116037
116095
  /** @enum {string} */
116038
116096
  f29: "filed" | "proposal" | "missing" | "not_due";
116039
116097
  f29_label: string;
116098
+ /** @description Every reason code of the month, actionable or not. */
116040
116099
  issues: ("month_not_closed" | "month_in_progress" | "month_not_started" | "sii_not_connected" | "sii_backfill_pending" | "sii_not_read" | "sii_not_read_previous_year" | "unclassified" | "incomplete_month" | "f29_missing" | "f29_not_filed" | "undated_collections" | "undated_payments" | "unexplained_outflows" | "rows_truncated")[];
116100
+ /** @description The subset of `issues` a person can clear. */
116101
+ actionable_issues: ("month_not_closed" | "month_in_progress" | "month_not_started" | "sii_not_connected" | "sii_backfill_pending" | "sii_not_read" | "sii_not_read_previous_year" | "unclassified" | "incomplete_month" | "f29_missing" | "f29_not_filed" | "undated_collections" | "undated_payments" | "unexplained_outflows" | "rows_truncated")[];
116102
+ /** @description The month has ended and no actionable reason remains. False for the current month and for months that have not begun. */
116103
+ complete: boolean;
116041
116104
  }[];
116042
116105
  files: {
116043
116106
  /** @enum {string} */
package/dist/index.d.ts CHANGED
@@ -115754,7 +115754,7 @@ interface paths {
115754
115754
  };
115755
115755
  /**
115756
115756
  * What the Paquete anual of a year holds and what it is missing
115757
- * @description The Paquete anual's manifest, without the bytes: the files (key, label, name, rows, size), `complete` (true only when nothing is missing), `incomplete` (the months not closed, not read by the SII sync, with unclassified movements or documents, F29 periods with no filing, undated collections and payments, money out nothing explains: Spanish sentences, ready to show), `warnings` (retention declared versus the boletas) and one row per month. The zip downloads from `GET /finanzas/contador-export?year=`. `00-estado-del-ano` (what makes the year incomplete), `01-resultado-por-cuenta` (a column per month and the total), `02-base-de-caja` (collected and paid by account, `no_operacional` money apart, undated items listed), `03-iva-y-ppm` (each F29, proposal or filed), `04-honorarios-y-retenciones` (with the comparison against F29 code 151), `05-libro-de-compras`, `06-libro-de-ventas` and `07-pagos-de-impuestos`, each `<name>-<year>.xlsx`. A future year answers 400, and so does the current year until a month of it has closed; a workspace with more than one sociedad answers 409. A caller without the patient register (the Contador) sees a patient as «Paciente A. P.» with no RUT; the libro de ventas keeps the patient RUT on facturas and on notas de crédito or débito that cite one, and boletas carry neither RUT nor name. Requires the `finanzas` add-on — without it every Finanzas operation answers `402 ENTITLEMENT_NOT_ACTIVE` (`details.required = ["finanzas"]`). Requires `finanzas:read`, `finanzas_reports:read` and `finanzas:export` (the Contador seat, owners and admins).
115757
+ * @description The Paquete anual's manifest, without the bytes: the files (key, label, name, rows, size), `complete` (the year is over and nothing a person can do is missing; `limits`, what Vitrina does not hold, do not count), `status`, `has_limits`, `limits` (one sentence per kind: the SII window, F29 filed elsewhere, payments marked paid before Vitrina...), `incomplete` (every reason with `actionable`: the months not closed, not read by the SII sync, with unclassified movements or documents, F29 periods with no filing, undated collections and payments, money out nothing explains: Spanish sentences, ready to show), `warnings` (retention declared versus the boletas) and one row per month. The zip downloads from `GET /finanzas/contador-export?year=`. `00-estado-del-ano` (what makes the year incomplete), `01-resultado-por-cuenta` (a column per month and the total), `02-base-de-caja` (collected and paid by account, `no_operacional` money apart, undated items listed), `03-iva-y-ppm` (each F29, proposal or filed), `04-honorarios-y-retenciones` (with the comparison against F29 code 151), `05-libro-de-compras`, `06-libro-de-ventas` and `07-pagos-de-impuestos`, each `<name>-<year>.xlsx`. A future year answers 400, and so does the current year until a month of it has closed; a workspace with more than one sociedad answers 409. It writes nothing: the open cases are computed in memory as a refresh would leave them, so they are never stale. A caller without the patient register (the Contador) sees a patient as «Paciente A. P.» with no RUT; the libro de ventas keeps the patient RUT on facturas and on notas de crédito or débito that cite one, and boletas carry neither RUT nor name. Requires the `finanzas` add-on — without it every Finanzas operation answers `402 ENTITLEMENT_NOT_ACTIVE` (`details.required = ["finanzas"]`). Requires `finanzas:read`, `finanzas_reports:read` and `finanzas:export` (the Contador seat, owners and admins).
115758
115758
  */
115759
115759
  get: {
115760
115760
  parameters: {
@@ -115781,6 +115781,11 @@ interface paths {
115781
115781
  * "filename": "paquete-contador-2025.zip",
115782
115782
  * "in_progress": false,
115783
115783
  * "complete": true,
115784
+ * "has_limits": false,
115785
+ * "status": "complete",
115786
+ * "status_label": "Completo",
115787
+ * "actionable_count": 0,
115788
+ * "limits": [],
115784
115789
  * "sociedad": {
115785
115790
  * "connection_id": "0194f3a0-7c1e-7a52-9d1b-3c5e8f2a6b41",
115786
115791
  * "rut": "76.123.456-7",
@@ -115799,7 +115804,9 @@ interface paths {
115799
115804
  * "sii_read": true,
115800
115805
  * "f29": "filed",
115801
115806
  * "f29_label": "Presentado",
115802
- * "issues": []
115807
+ * "issues": [],
115808
+ * "actionable_issues": [],
115809
+ * "complete": true
115803
115810
  * },
115804
115811
  * {
115805
115812
  * "month": "2025-02",
@@ -115811,7 +115818,9 @@ interface paths {
115811
115818
  * "sii_read": true,
115812
115819
  * "f29": "filed",
115813
115820
  * "f29_label": "Presentado",
115814
- * "issues": []
115821
+ * "issues": [],
115822
+ * "actionable_issues": [],
115823
+ * "complete": true
115815
115824
  * },
115816
115825
  * {
115817
115826
  * "month": "2025-03",
@@ -115823,7 +115832,9 @@ interface paths {
115823
115832
  * "sii_read": true,
115824
115833
  * "f29": "filed",
115825
115834
  * "f29_label": "Presentado",
115826
- * "issues": []
115835
+ * "issues": [],
115836
+ * "actionable_issues": [],
115837
+ * "complete": true
115827
115838
  * },
115828
115839
  * {
115829
115840
  * "month": "2025-04",
@@ -115835,7 +115846,9 @@ interface paths {
115835
115846
  * "sii_read": true,
115836
115847
  * "f29": "filed",
115837
115848
  * "f29_label": "Presentado",
115838
- * "issues": []
115849
+ * "issues": [],
115850
+ * "actionable_issues": [],
115851
+ * "complete": true
115839
115852
  * },
115840
115853
  * {
115841
115854
  * "month": "2025-05",
@@ -115847,7 +115860,9 @@ interface paths {
115847
115860
  * "sii_read": true,
115848
115861
  * "f29": "filed",
115849
115862
  * "f29_label": "Presentado",
115850
- * "issues": []
115863
+ * "issues": [],
115864
+ * "actionable_issues": [],
115865
+ * "complete": true
115851
115866
  * },
115852
115867
  * {
115853
115868
  * "month": "2025-06",
@@ -115859,7 +115874,9 @@ interface paths {
115859
115874
  * "sii_read": true,
115860
115875
  * "f29": "filed",
115861
115876
  * "f29_label": "Presentado",
115862
- * "issues": []
115877
+ * "issues": [],
115878
+ * "actionable_issues": [],
115879
+ * "complete": true
115863
115880
  * },
115864
115881
  * {
115865
115882
  * "month": "2025-07",
@@ -115871,7 +115888,9 @@ interface paths {
115871
115888
  * "sii_read": true,
115872
115889
  * "f29": "filed",
115873
115890
  * "f29_label": "Presentado",
115874
- * "issues": []
115891
+ * "issues": [],
115892
+ * "actionable_issues": [],
115893
+ * "complete": true
115875
115894
  * },
115876
115895
  * {
115877
115896
  * "month": "2025-08",
@@ -115883,7 +115902,9 @@ interface paths {
115883
115902
  * "sii_read": true,
115884
115903
  * "f29": "filed",
115885
115904
  * "f29_label": "Presentado",
115886
- * "issues": []
115905
+ * "issues": [],
115906
+ * "actionable_issues": [],
115907
+ * "complete": true
115887
115908
  * },
115888
115909
  * {
115889
115910
  * "month": "2025-09",
@@ -115895,7 +115916,9 @@ interface paths {
115895
115916
  * "sii_read": true,
115896
115917
  * "f29": "filed",
115897
115918
  * "f29_label": "Presentado",
115898
- * "issues": []
115919
+ * "issues": [],
115920
+ * "actionable_issues": [],
115921
+ * "complete": true
115899
115922
  * },
115900
115923
  * {
115901
115924
  * "month": "2025-10",
@@ -115907,7 +115930,9 @@ interface paths {
115907
115930
  * "sii_read": true,
115908
115931
  * "f29": "filed",
115909
115932
  * "f29_label": "Presentado",
115910
- * "issues": []
115933
+ * "issues": [],
115934
+ * "actionable_issues": [],
115935
+ * "complete": true
115911
115936
  * },
115912
115937
  * {
115913
115938
  * "month": "2025-11",
@@ -115919,7 +115944,9 @@ interface paths {
115919
115944
  * "sii_read": true,
115920
115945
  * "f29": "filed",
115921
115946
  * "f29_label": "Presentado",
115922
- * "issues": []
115947
+ * "issues": [],
115948
+ * "actionable_issues": [],
115949
+ * "complete": true
115923
115950
  * },
115924
115951
  * {
115925
115952
  * "month": "2025-12",
@@ -115931,7 +115958,9 @@ interface paths {
115931
115958
  * "sii_read": true,
115932
115959
  * "f29": "filed",
115933
115960
  * "f29_label": "Presentado",
115934
- * "issues": []
115961
+ * "issues": [],
115962
+ * "actionable_issues": [],
115963
+ * "complete": true
115935
115964
  * }
115936
115965
  * ],
115937
115966
  * "files": [
@@ -116004,13 +116033,40 @@ interface paths {
116004
116033
  filename: string;
116005
116034
  /** @description The current year: figures still moving, future months missing. */
116006
116035
  in_progress: boolean;
116007
- /** @description True only when `incomplete` is empty. Anything else: the year is NOT complete and nothing in it should be read as final. */
116036
+ /** @description True when the year is over and no ACTIONABLE reason remains (`actionable_count` is 0). `limits` (what Vitrina does not hold) do not count: see `has_limits`. False for the current year. A year that is not complete is not final. */
116008
116037
  complete: boolean;
116038
+ /** @description The year has limits: things the package does not contain or cannot confirm and no action in Vitrina can fix. A complete year can have limits («Completo, con límites»). */
116039
+ has_limits: boolean;
116040
+ /**
116041
+ * @description `complete` and not `has_limits`: «Completo»; `complete_with_limits`: «Completo, con límites»; `incomplete`: «Incompleto»; `in_progress` (the current year): «En curso: incompleto».
116042
+ * @enum {string}
116043
+ */
116044
+ status: "complete" | "complete_with_limits" | "incomplete" | "in_progress";
116045
+ /** @description The Spanish label of `status`. */
116046
+ status_label: string;
116047
+ /** @description How many `incomplete` items have `actionable: true`. */
116048
+ actionable_count: number;
116049
+ /** @description The non-actionable reasons, ONE entry per kind for the year (not one per month). Nothing a person does in Vitrina clears them. */
116050
+ limits: {
116051
+ /** @enum {string} */
116052
+ kind: "sii_not_read_previous_year" | "sii_not_read" | "f29_not_readable" | "undated_collections_before_vitrina" | "undated_payments_before_vitrina" | "month_in_progress" | "month_not_started" | "rows_truncated";
116053
+ /** @description The reason codes collapsed into this limit. */
116054
+ codes: ("month_not_closed" | "month_in_progress" | "month_not_started" | "sii_not_connected" | "sii_backfill_pending" | "sii_not_read" | "sii_not_read_previous_year" | "unclassified" | "incomplete_month" | "f29_missing" | "f29_not_filed" | "undated_collections" | "undated_payments" | "unexplained_outflows" | "rows_truncated")[];
116055
+ /** @description Spanish, neutral register: what the package does not contain or cannot confirm. */
116056
+ message: string;
116057
+ /** @description Months for the month kinds, documents for the undated kinds, files for `rows_truncated`. */
116058
+ count: number;
116059
+ /** @description In base de caja, for the undated kinds; null otherwise. */
116060
+ amount_clp: number | null;
116061
+ /** @description `YYYY-MM` months it covers; empty for a year-wide limit. */
116062
+ months: string[];
116063
+ }[];
116009
116064
  sociedad: {
116010
116065
  connection_id: string;
116011
116066
  rut: string;
116012
116067
  legal_name: string | null;
116013
116068
  } | null;
116069
+ /** @description Every reason, actionable or not. Group by `actionable` to render «Por revisar» and «Lo que este paquete no trae». */
116014
116070
  incomplete: {
116015
116071
  /** @enum {string} */
116016
116072
  code: "month_not_closed" | "month_in_progress" | "month_not_started" | "sii_not_connected" | "sii_backfill_pending" | "sii_not_read" | "sii_not_read_previous_year" | "unclassified" | "incomplete_month" | "f29_missing" | "f29_not_filed" | "undated_collections" | "undated_payments" | "unexplained_outflows" | "rows_truncated";
@@ -116018,6 +116074,8 @@ interface paths {
116018
116074
  month: string | null;
116019
116075
  /** @description Spanish, ready to show. */
116020
116076
  message: string;
116077
+ /** @description A person can clear it in Vitrina. False: Vitrina does not hold the data or it only needs time; it is also summarised in `limits`. An undated-payments or undated-collections reason is split into an actionable item and a non-actionable one (documents marked paid before Vitrina have no date to give). */
116078
+ actionable: boolean;
116021
116079
  }[];
116022
116080
  warnings: {
116023
116081
  /** @enum {string} */
@@ -116037,7 +116095,12 @@ interface paths {
116037
116095
  /** @enum {string} */
116038
116096
  f29: "filed" | "proposal" | "missing" | "not_due";
116039
116097
  f29_label: string;
116098
+ /** @description Every reason code of the month, actionable or not. */
116040
116099
  issues: ("month_not_closed" | "month_in_progress" | "month_not_started" | "sii_not_connected" | "sii_backfill_pending" | "sii_not_read" | "sii_not_read_previous_year" | "unclassified" | "incomplete_month" | "f29_missing" | "f29_not_filed" | "undated_collections" | "undated_payments" | "unexplained_outflows" | "rows_truncated")[];
116100
+ /** @description The subset of `issues` a person can clear. */
116101
+ actionable_issues: ("month_not_closed" | "month_in_progress" | "month_not_started" | "sii_not_connected" | "sii_backfill_pending" | "sii_not_read" | "sii_not_read_previous_year" | "unclassified" | "incomplete_month" | "f29_missing" | "f29_not_filed" | "undated_collections" | "undated_payments" | "unexplained_outflows" | "rows_truncated")[];
116102
+ /** @description The month has ended and no actionable reason remains. False for the current month and for months that have not begun. */
116103
+ complete: boolean;
116041
116104
  }[];
116042
116105
  files: {
116043
116106
  /** @enum {string} */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vitrina/api",
3
- "version": "17.121.0",
3
+ "version": "17.122.1",
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",