@vitrina/api 17.17.0 → 17.18.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
@@ -72493,6 +72493,7 @@ interface paths {
72493
72493
  * "description": null,
72494
72494
  * "kind": "gasto",
72495
72495
  * "behavior": "fijo",
72496
+ * "no_document": false,
72496
72497
  * "position": 2,
72497
72498
  * "depth": 1,
72498
72499
  * "path": "Gastos de administración",
@@ -72509,6 +72510,7 @@ interface paths {
72509
72510
  * "description": "Arriendo mensual de la oficina central.",
72510
72511
  * "kind": "gasto",
72511
72512
  * "behavior": "fijo",
72513
+ * "no_document": false,
72512
72514
  * "position": 0,
72513
72515
  * "depth": 2,
72514
72516
  * "path": "Gastos de administración > Arriendo de oficina",
@@ -72626,6 +72628,7 @@ interface paths {
72626
72628
  * "description": "Arriendo mensual de la oficina central.",
72627
72629
  * "kind": "gasto",
72628
72630
  * "behavior": "fijo",
72631
+ * "no_document": false,
72629
72632
  * "position": 0,
72630
72633
  * "depth": 2,
72631
72634
  * "path": "Gastos de administración > Arriendo de oficina",
@@ -72796,7 +72799,7 @@ interface paths {
72796
72799
  head?: never;
72797
72800
  /**
72798
72801
  * Rename, move or retag an account
72799
- * @description Change `name`, `description`, `behavior` (costo and gasto only), `position` (order among siblings) or move the account with `parent_id` (`null` = top level). A move keeps the account’s id, so every classification follows it; it is refused under itself or its sub-accounts (`cycle`), under another kind (`kind_mismatch`) or beyond 5 levels (`too_deep`). The kind itself never changes. An archived account cannot be edited. The plan de cuentas is a classification tree, not double-entry. Each account has a `kind` (`ingreso`, `costo`, `gasto` or `no_operacional`) and, on `costo` and `gasto` only, a `behavior` (`fijo` or `variable`). A sub-account has its parent’s kind. Rule breaks answer `422 FINANZAS_ACCOUNT_INVALID` and state conflicts `409 FINANZAS_ACCOUNT_CONFLICT`, both with `details.reason`. Requires the `finanzas` add-on — without it every Finanzas operation answers `402 ENTITLEMENT_NOT_ACTIVE` (`details.required = ["finanzas"]`). Requires `finanzas_admin:write`.
72802
+ * @description Change `name`, `description`, `behavior` (costo and gasto only), `no_document` («No lleva documento»: the account opens no «Falta documento» case and its money out is not counted in «Egresos sin documento»), `position` (order among siblings) or move the account with `parent_id` (`null` = top level). A move keeps the account’s id, so every classification follows it; it is refused under itself or its sub-accounts (`cycle`), under another kind (`kind_mismatch`) or beyond 5 levels (`too_deep`). The kind itself never changes. An archived account cannot be edited. The plan de cuentas is a classification tree, not double-entry. Each account has a `kind` (`ingreso`, `costo`, `gasto` or `no_operacional`) and, on `costo` and `gasto` only, a `behavior` (`fijo` or `variable`). A sub-account has its parent’s kind. Rule breaks answer `422 FINANZAS_ACCOUNT_INVALID` and state conflicts `409 FINANZAS_ACCOUNT_CONFLICT`, both with `details.reason`. Requires the `finanzas` add-on — without it every Finanzas operation answers `402 ENTITLEMENT_NOT_ACTIVE` (`details.required = ["finanzas"]`). Requires `finanzas_admin:write`.
72800
72803
  */
72801
72804
  patch: {
72802
72805
  parameters: {
@@ -72834,6 +72837,7 @@ interface paths {
72834
72837
  * "description": "Arriendo mensual de la oficina central.",
72835
72838
  * "kind": "gasto",
72836
72839
  * "behavior": "fijo",
72840
+ * "no_document": false,
72837
72841
  * "position": 1,
72838
72842
  * "depth": 2,
72839
72843
  * "path": "Gastos de administración > Arriendo de oficina",
@@ -72950,6 +72954,7 @@ interface paths {
72950
72954
  * "description": "Arriendo mensual de la oficina central.",
72951
72955
  * "kind": "gasto",
72952
72956
  * "behavior": "fijo",
72957
+ * "no_document": false,
72953
72958
  * "position": 0,
72954
72959
  * "depth": 2,
72955
72960
  * "path": "Gastos de administración > Arriendo de oficina",
@@ -73070,6 +73075,7 @@ interface paths {
73070
73075
  * "description": "Arriendo mensual de la oficina central.",
73071
73076
  * "kind": "gasto",
73072
73077
  * "behavior": "fijo",
73078
+ * "no_document": false,
73073
73079
  * "position": 0,
73074
73080
  * "depth": 2,
73075
73081
  * "path": "Gastos de administración > Arriendo de oficina",
@@ -279785,6 +279791,8 @@ interface components {
279785
279791
  description: string | null;
279786
279792
  kind: components["schemas"]["FinanzasAccountKind"];
279787
279793
  behavior: components["schemas"]["FinanzasAccountBehavior"];
279794
+ /** @description «No lleva documento»: money out classified here never has a legal document. It opens no «Falta documento» case and is not counted in «Egresos sin documento». */
279795
+ no_document: boolean;
279788
279796
  position: number;
279789
279797
  depth: number;
279790
279798
  path: string;
@@ -279803,12 +279811,14 @@ interface components {
279803
279811
  parent_id?: string | null;
279804
279812
  kind?: components["schemas"]["FinanzasAccountKind"];
279805
279813
  behavior?: components["schemas"]["FinanzasAccountBehavior"];
279814
+ no_document?: boolean;
279806
279815
  description?: string | null;
279807
279816
  };
279808
279817
  FinanzasAccountUpdateBody: {
279809
279818
  name?: string;
279810
279819
  description?: string | null;
279811
279820
  behavior?: components["schemas"]["FinanzasAccountBehavior"] & string;
279821
+ no_document?: boolean;
279812
279822
  /** Format: uuid */
279813
279823
  parent_id?: string | null;
279814
279824
  position?: number;
package/dist/index.d.ts CHANGED
@@ -72493,6 +72493,7 @@ interface paths {
72493
72493
  * "description": null,
72494
72494
  * "kind": "gasto",
72495
72495
  * "behavior": "fijo",
72496
+ * "no_document": false,
72496
72497
  * "position": 2,
72497
72498
  * "depth": 1,
72498
72499
  * "path": "Gastos de administración",
@@ -72509,6 +72510,7 @@ interface paths {
72509
72510
  * "description": "Arriendo mensual de la oficina central.",
72510
72511
  * "kind": "gasto",
72511
72512
  * "behavior": "fijo",
72513
+ * "no_document": false,
72512
72514
  * "position": 0,
72513
72515
  * "depth": 2,
72514
72516
  * "path": "Gastos de administración > Arriendo de oficina",
@@ -72626,6 +72628,7 @@ interface paths {
72626
72628
  * "description": "Arriendo mensual de la oficina central.",
72627
72629
  * "kind": "gasto",
72628
72630
  * "behavior": "fijo",
72631
+ * "no_document": false,
72629
72632
  * "position": 0,
72630
72633
  * "depth": 2,
72631
72634
  * "path": "Gastos de administración > Arriendo de oficina",
@@ -72796,7 +72799,7 @@ interface paths {
72796
72799
  head?: never;
72797
72800
  /**
72798
72801
  * Rename, move or retag an account
72799
- * @description Change `name`, `description`, `behavior` (costo and gasto only), `position` (order among siblings) or move the account with `parent_id` (`null` = top level). A move keeps the account’s id, so every classification follows it; it is refused under itself or its sub-accounts (`cycle`), under another kind (`kind_mismatch`) or beyond 5 levels (`too_deep`). The kind itself never changes. An archived account cannot be edited. The plan de cuentas is a classification tree, not double-entry. Each account has a `kind` (`ingreso`, `costo`, `gasto` or `no_operacional`) and, on `costo` and `gasto` only, a `behavior` (`fijo` or `variable`). A sub-account has its parent’s kind. Rule breaks answer `422 FINANZAS_ACCOUNT_INVALID` and state conflicts `409 FINANZAS_ACCOUNT_CONFLICT`, both with `details.reason`. Requires the `finanzas` add-on — without it every Finanzas operation answers `402 ENTITLEMENT_NOT_ACTIVE` (`details.required = ["finanzas"]`). Requires `finanzas_admin:write`.
72802
+ * @description Change `name`, `description`, `behavior` (costo and gasto only), `no_document` («No lleva documento»: the account opens no «Falta documento» case and its money out is not counted in «Egresos sin documento»), `position` (order among siblings) or move the account with `parent_id` (`null` = top level). A move keeps the account’s id, so every classification follows it; it is refused under itself or its sub-accounts (`cycle`), under another kind (`kind_mismatch`) or beyond 5 levels (`too_deep`). The kind itself never changes. An archived account cannot be edited. The plan de cuentas is a classification tree, not double-entry. Each account has a `kind` (`ingreso`, `costo`, `gasto` or `no_operacional`) and, on `costo` and `gasto` only, a `behavior` (`fijo` or `variable`). A sub-account has its parent’s kind. Rule breaks answer `422 FINANZAS_ACCOUNT_INVALID` and state conflicts `409 FINANZAS_ACCOUNT_CONFLICT`, both with `details.reason`. Requires the `finanzas` add-on — without it every Finanzas operation answers `402 ENTITLEMENT_NOT_ACTIVE` (`details.required = ["finanzas"]`). Requires `finanzas_admin:write`.
72800
72803
  */
72801
72804
  patch: {
72802
72805
  parameters: {
@@ -72834,6 +72837,7 @@ interface paths {
72834
72837
  * "description": "Arriendo mensual de la oficina central.",
72835
72838
  * "kind": "gasto",
72836
72839
  * "behavior": "fijo",
72840
+ * "no_document": false,
72837
72841
  * "position": 1,
72838
72842
  * "depth": 2,
72839
72843
  * "path": "Gastos de administración > Arriendo de oficina",
@@ -72950,6 +72954,7 @@ interface paths {
72950
72954
  * "description": "Arriendo mensual de la oficina central.",
72951
72955
  * "kind": "gasto",
72952
72956
  * "behavior": "fijo",
72957
+ * "no_document": false,
72953
72958
  * "position": 0,
72954
72959
  * "depth": 2,
72955
72960
  * "path": "Gastos de administración > Arriendo de oficina",
@@ -73070,6 +73075,7 @@ interface paths {
73070
73075
  * "description": "Arriendo mensual de la oficina central.",
73071
73076
  * "kind": "gasto",
73072
73077
  * "behavior": "fijo",
73078
+ * "no_document": false,
73073
73079
  * "position": 0,
73074
73080
  * "depth": 2,
73075
73081
  * "path": "Gastos de administración > Arriendo de oficina",
@@ -279785,6 +279791,8 @@ interface components {
279785
279791
  description: string | null;
279786
279792
  kind: components["schemas"]["FinanzasAccountKind"];
279787
279793
  behavior: components["schemas"]["FinanzasAccountBehavior"];
279794
+ /** @description «No lleva documento»: money out classified here never has a legal document. It opens no «Falta documento» case and is not counted in «Egresos sin documento». */
279795
+ no_document: boolean;
279788
279796
  position: number;
279789
279797
  depth: number;
279790
279798
  path: string;
@@ -279803,12 +279811,14 @@ interface components {
279803
279811
  parent_id?: string | null;
279804
279812
  kind?: components["schemas"]["FinanzasAccountKind"];
279805
279813
  behavior?: components["schemas"]["FinanzasAccountBehavior"];
279814
+ no_document?: boolean;
279806
279815
  description?: string | null;
279807
279816
  };
279808
279817
  FinanzasAccountUpdateBody: {
279809
279818
  name?: string;
279810
279819
  description?: string | null;
279811
279820
  behavior?: components["schemas"]["FinanzasAccountBehavior"] & string;
279821
+ no_document?: boolean;
279812
279822
  /** Format: uuid */
279813
279823
  parent_id?: string | null;
279814
279824
  position?: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vitrina/api",
3
- "version": "17.17.0",
3
+ "version": "17.18.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",