@vitrina/api 15.27.0 → 15.28.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
@@ -261284,7 +261284,7 @@ interface components {
261284
261284
  /** @description Imported by an earlier run: nothing to do. */
261285
261285
  already: number;
261286
261286
  skip: number;
261287
- /** @description Why: unmapped_account, ambiguous, no_categories, voided, classified_in_vitrina (a person already classified it: kept), company_rut_unknown (connect the SII first), movement_not_found (the bank movement is not in Vitrina: connect the bank or upload the cartola), movement_ambiguous, document_not_imported, direction_mismatch, nothing_open, movement_to_income, linked_to_another_contraparte, rut_is_another_contraparte, non_positive, chosen_skip. */
261287
+ /** @description Why: unmapped_account, ambiguous, no_categories, voided, classified_in_vitrina (a person already classified it: kept), company_rut_unknown (connect the SII first), movement_not_found (the bank movement is not in Vitrina: connect the bank or upload the cartola), movement_ambiguous, document_not_imported, direction_mismatch, nothing_open, movement_to_income, linked_to_another_contraparte, rut_is_another_contraparte, non_positive, chosen_skip; bank movements: no_bank_account (Chipax booked the line on no account), bank_account_not_imported, currency_unsupported, unreadable, ingest_failed. */
261288
261288
  skip_reasons: {
261289
261289
  [key: string]: number;
261290
261290
  };
@@ -261303,10 +261303,17 @@ interface components {
261303
261303
  account_path: string | null;
261304
261304
  chipax_parent_account: number | null;
261305
261305
  /**
261306
- * @description previous_import = mapped by an earlier run; chosen = the person chose it; same_name = a Vitrina account of the same kind and name; new = will be created; ambiguous = several candidates (pick one in `account_map`).
261306
+ * @description previous_import = mapped by an earlier run; chosen = the person chose it; same_name = matched to an existing Vitrina account of the same kind, by name or by the tree (`match` says how); new = will be created; ambiguous = several candidates (pick one in `account_map`).
261307
261307
  * @enum {string}
261308
261308
  */
261309
261309
  basis: "previous_import" | "chosen" | "same_name" | "new" | "ambiguous";
261310
+ /**
261311
+ * @description How: exact = same name; normalized = same once case, accents, plurals, «de»/«y» and a «(…)» qualifier are folded; similar = one or two letters apart, under the account its Chipax parent maps to; prefix = one name starts the other, there too; children = its children already sit under that account; kept_distinct = another Chipax account claimed the same match, so this one is created rather than merged; none = nothing alike, created. Absent on runs before 2026-11-02.
261312
+ * @enum {string}
261313
+ */
261314
+ match?: "previous" | "chosen" | "exact" | "normalized" | "similar" | "prefix" | "children" | "kept_distinct" | "none" | "ambiguous";
261315
+ /** @description The decision in one sentence (Spanish), for the person reviewing the dry run. Absent on runs before 2026-11-02. */
261316
+ reason?: string;
261310
261317
  candidates: {
261311
261318
  id: string;
261312
261319
  path: string;
@@ -261321,7 +261328,7 @@ interface components {
261321
261328
  /** @description Imported by an earlier run: nothing to do. */
261322
261329
  already: number;
261323
261330
  skip: number;
261324
- /** @description Why: unmapped_account, ambiguous, no_categories, voided, classified_in_vitrina (a person already classified it: kept), company_rut_unknown (connect the SII first), movement_not_found (the bank movement is not in Vitrina: connect the bank or upload the cartola), movement_ambiguous, document_not_imported, direction_mismatch, nothing_open, movement_to_income, linked_to_another_contraparte, rut_is_another_contraparte, non_positive, chosen_skip. */
261331
+ /** @description Why: unmapped_account, ambiguous, no_categories, voided, classified_in_vitrina (a person already classified it: kept), company_rut_unknown (connect the SII first), movement_not_found (the bank movement is not in Vitrina: connect the bank or upload the cartola), movement_ambiguous, document_not_imported, direction_mismatch, nothing_open, movement_to_income, linked_to_another_contraparte, rut_is_another_contraparte, non_positive, chosen_skip; bank movements: no_bank_account (Chipax booked the line on no account), bank_account_not_imported, currency_unsupported, unreadable, ingest_failed. */
261325
261332
  skip_reasons: {
261326
261333
  [key: string]: number;
261327
261334
  };
@@ -261334,7 +261341,7 @@ interface components {
261334
261341
  /** @description Imported by an earlier run: nothing to do. */
261335
261342
  already: number;
261336
261343
  skip: number;
261337
- /** @description Why: unmapped_account, ambiguous, no_categories, voided, classified_in_vitrina (a person already classified it: kept), company_rut_unknown (connect the SII first), movement_not_found (the bank movement is not in Vitrina: connect the bank or upload the cartola), movement_ambiguous, document_not_imported, direction_mismatch, nothing_open, movement_to_income, linked_to_another_contraparte, rut_is_another_contraparte, non_positive, chosen_skip. */
261344
+ /** @description Why: unmapped_account, ambiguous, no_categories, voided, classified_in_vitrina (a person already classified it: kept), company_rut_unknown (connect the SII first), movement_not_found (the bank movement is not in Vitrina: connect the bank or upload the cartola), movement_ambiguous, document_not_imported, direction_mismatch, nothing_open, movement_to_income, linked_to_another_contraparte, rut_is_another_contraparte, non_positive, chosen_skip; bank movements: no_bank_account (Chipax booked the line on no account), bank_account_not_imported, currency_unsupported, unreadable, ingest_failed. */
261338
261345
  skip_reasons: {
261339
261346
  [key: string]: number;
261340
261347
  };
@@ -261350,7 +261357,7 @@ interface components {
261350
261357
  /** @description Imported by an earlier run: nothing to do. */
261351
261358
  already: number;
261352
261359
  skip: number;
261353
- /** @description Why: unmapped_account, ambiguous, no_categories, voided, classified_in_vitrina (a person already classified it: kept), company_rut_unknown (connect the SII first), movement_not_found (the bank movement is not in Vitrina: connect the bank or upload the cartola), movement_ambiguous, document_not_imported, direction_mismatch, nothing_open, movement_to_income, linked_to_another_contraparte, rut_is_another_contraparte, non_positive, chosen_skip. */
261360
+ /** @description Why: unmapped_account, ambiguous, no_categories, voided, classified_in_vitrina (a person already classified it: kept), company_rut_unknown (connect the SII first), movement_not_found (the bank movement is not in Vitrina: connect the bank or upload the cartola), movement_ambiguous, document_not_imported, direction_mismatch, nothing_open, movement_to_income, linked_to_another_contraparte, rut_is_another_contraparte, non_positive, chosen_skip; bank movements: no_bank_account (Chipax booked the line on no account), bank_account_not_imported, currency_unsupported, unreadable, ingest_failed. */
261354
261361
  skip_reasons: {
261355
261362
  [key: string]: number;
261356
261363
  };
@@ -261365,7 +261372,7 @@ interface components {
261365
261372
  /** @description Imported by an earlier run: nothing to do. */
261366
261373
  already: number;
261367
261374
  skip: number;
261368
- /** @description Why: unmapped_account, ambiguous, no_categories, voided, classified_in_vitrina (a person already classified it: kept), company_rut_unknown (connect the SII first), movement_not_found (the bank movement is not in Vitrina: connect the bank or upload the cartola), movement_ambiguous, document_not_imported, direction_mismatch, nothing_open, movement_to_income, linked_to_another_contraparte, rut_is_another_contraparte, non_positive, chosen_skip. */
261375
+ /** @description Why: unmapped_account, ambiguous, no_categories, voided, classified_in_vitrina (a person already classified it: kept), company_rut_unknown (connect the SII first), movement_not_found (the bank movement is not in Vitrina: connect the bank or upload the cartola), movement_ambiguous, document_not_imported, direction_mismatch, nothing_open, movement_to_income, linked_to_another_contraparte, rut_is_another_contraparte, non_positive, chosen_skip; bank movements: no_bank_account (Chipax booked the line on no account), bank_account_not_imported, currency_unsupported, unreadable, ingest_failed. */
261369
261376
  skip_reasons: {
261370
261377
  [key: string]: number;
261371
261378
  };
@@ -261378,7 +261385,7 @@ interface components {
261378
261385
  /** @description Imported by an earlier run: nothing to do. */
261379
261386
  already: number;
261380
261387
  skip: number;
261381
- /** @description Why: unmapped_account, ambiguous, no_categories, voided, classified_in_vitrina (a person already classified it: kept), company_rut_unknown (connect the SII first), movement_not_found (the bank movement is not in Vitrina: connect the bank or upload the cartola), movement_ambiguous, document_not_imported, direction_mismatch, nothing_open, movement_to_income, linked_to_another_contraparte, rut_is_another_contraparte, non_positive, chosen_skip. */
261388
+ /** @description Why: unmapped_account, ambiguous, no_categories, voided, classified_in_vitrina (a person already classified it: kept), company_rut_unknown (connect the SII first), movement_not_found (the bank movement is not in Vitrina: connect the bank or upload the cartola), movement_ambiguous, document_not_imported, direction_mismatch, nothing_open, movement_to_income, linked_to_another_contraparte, rut_is_another_contraparte, non_positive, chosen_skip; bank movements: no_bank_account (Chipax booked the line on no account), bank_account_not_imported, currency_unsupported, unreadable, ingest_failed. */
261382
261389
  skip_reasons: {
261383
261390
  [key: string]: number;
261384
261391
  };
@@ -261391,7 +261398,7 @@ interface components {
261391
261398
  /** @description Imported by an earlier run: nothing to do. */
261392
261399
  already: number;
261393
261400
  skip: number;
261394
- /** @description Why: unmapped_account, ambiguous, no_categories, voided, classified_in_vitrina (a person already classified it: kept), company_rut_unknown (connect the SII first), movement_not_found (the bank movement is not in Vitrina: connect the bank or upload the cartola), movement_ambiguous, document_not_imported, direction_mismatch, nothing_open, movement_to_income, linked_to_another_contraparte, rut_is_another_contraparte, non_positive, chosen_skip. */
261401
+ /** @description Why: unmapped_account, ambiguous, no_categories, voided, classified_in_vitrina (a person already classified it: kept), company_rut_unknown (connect the SII first), movement_not_found (the bank movement is not in Vitrina: connect the bank or upload the cartola), movement_ambiguous, document_not_imported, direction_mismatch, nothing_open, movement_to_income, linked_to_another_contraparte, rut_is_another_contraparte, non_positive, chosen_skip; bank movements: no_bank_account (Chipax booked the line on no account), bank_account_not_imported, currency_unsupported, unreadable, ingest_failed. */
261395
261402
  skip_reasons: {
261396
261403
  [key: string]: number;
261397
261404
  };
@@ -261412,7 +261419,7 @@ interface components {
261412
261419
  /** @description Imported by an earlier run: nothing to do. */
261413
261420
  already: number;
261414
261421
  skip: number;
261415
- /** @description Why: unmapped_account, ambiguous, no_categories, voided, classified_in_vitrina (a person already classified it: kept), company_rut_unknown (connect the SII first), movement_not_found (the bank movement is not in Vitrina: connect the bank or upload the cartola), movement_ambiguous, document_not_imported, direction_mismatch, nothing_open, movement_to_income, linked_to_another_contraparte, rut_is_another_contraparte, non_positive, chosen_skip. */
261422
+ /** @description Why: unmapped_account, ambiguous, no_categories, voided, classified_in_vitrina (a person already classified it: kept), company_rut_unknown (connect the SII first), movement_not_found (the bank movement is not in Vitrina: connect the bank or upload the cartola), movement_ambiguous, document_not_imported, direction_mismatch, nothing_open, movement_to_income, linked_to_another_contraparte, rut_is_another_contraparte, non_positive, chosen_skip; bank movements: no_bank_account (Chipax booked the line on no account), bank_account_not_imported, currency_unsupported, unreadable, ingest_failed. */
261416
261423
  skip_reasons: {
261417
261424
  [key: string]: number;
261418
261425
  };
@@ -261430,7 +261437,53 @@ interface components {
261430
261437
  /** @description Imported by an earlier run: nothing to do. */
261431
261438
  already: number;
261432
261439
  skip: number;
261433
- /** @description Why: unmapped_account, ambiguous, no_categories, voided, classified_in_vitrina (a person already classified it: kept), company_rut_unknown (connect the SII first), movement_not_found (the bank movement is not in Vitrina: connect the bank or upload the cartola), movement_ambiguous, document_not_imported, direction_mismatch, nothing_open, movement_to_income, linked_to_another_contraparte, rut_is_another_contraparte, non_positive, chosen_skip. */
261440
+ /** @description Why: unmapped_account, ambiguous, no_categories, voided, classified_in_vitrina (a person already classified it: kept), company_rut_unknown (connect the SII first), movement_not_found (the bank movement is not in Vitrina: connect the bank or upload the cartola), movement_ambiguous, document_not_imported, direction_mismatch, nothing_open, movement_to_income, linked_to_another_contraparte, rut_is_another_contraparte, non_positive, chosen_skip; bank movements: no_bank_account (Chipax booked the line on no account), bank_account_not_imported, currency_unsupported, unreadable, ingest_failed. */
261441
+ skip_reasons: {
261442
+ [key: string]: number;
261443
+ };
261444
+ };
261445
+ /** @description Chipax's bank accounts (/cuentas-corrientes) and the Vitrina account each one is. Absent on runs before 2026-11-02. */
261446
+ bank_accounts?: {
261447
+ /** @description New in Vitrina (dry run: would be created). */
261448
+ create: number;
261449
+ /** @description Already in Vitrina (e.g. from the SII): matched and enriched. */
261450
+ match: number;
261451
+ /** @description Imported by an earlier run: nothing to do. */
261452
+ already: number;
261453
+ skip: number;
261454
+ /** @description Why: unmapped_account, ambiguous, no_categories, voided, classified_in_vitrina (a person already classified it: kept), company_rut_unknown (connect the SII first), movement_not_found (the bank movement is not in Vitrina: connect the bank or upload the cartola), movement_ambiguous, document_not_imported, direction_mismatch, nothing_open, movement_to_income, linked_to_another_contraparte, rut_is_another_contraparte, non_positive, chosen_skip; bank movements: no_bank_account (Chipax booked the line on no account), bank_account_not_imported, currency_unsupported, unreadable, ingest_failed. */
261455
+ skip_reasons: {
261456
+ [key: string]: number;
261457
+ };
261458
+ items: {
261459
+ /** @description Chipax's `cuenta_corriente_id`. */
261460
+ chipax_account: string;
261461
+ name: string;
261462
+ institution: string | null;
261463
+ number_tail: string | null;
261464
+ /** @enum {string} */
261465
+ type: "cuenta_corriente" | "cuenta_vista" | "tarjeta_credito" | "linea_credito" | "mercado_pago" | "otra";
261466
+ /** @enum {string|null} */
261467
+ currency: "CLP" | "USD" | null;
261468
+ /**
261469
+ * @description map = the Vitrina account with the same number and currency; create = a new manual account; skip = not imported (currency_unsupported).
261470
+ * @enum {string}
261471
+ */
261472
+ action: "map" | "create" | "skip";
261473
+ account_id: string | null;
261474
+ reason: string;
261475
+ }[];
261476
+ };
261477
+ /** @description Chipax's statement lines (/flujo-caja/cartolas) as bank movements, source chipax: create = new rows; match = the transfer was already in Vitrina from another rail (the bank's e-mail, a feed), kept as its twin, never a second row; already = an earlier run. Absent on runs before 2026-11-02. */
261478
+ movements?: {
261479
+ /** @description New in Vitrina (dry run: would be created). */
261480
+ create: number;
261481
+ /** @description Already in Vitrina (e.g. from the SII): matched and enriched. */
261482
+ match: number;
261483
+ /** @description Imported by an earlier run: nothing to do. */
261484
+ already: number;
261485
+ skip: number;
261486
+ /** @description Why: unmapped_account, ambiguous, no_categories, voided, classified_in_vitrina (a person already classified it: kept), company_rut_unknown (connect the SII first), movement_not_found (the bank movement is not in Vitrina: connect the bank or upload the cartola), movement_ambiguous, document_not_imported, direction_mismatch, nothing_open, movement_to_income, linked_to_another_contraparte, rut_is_another_contraparte, non_positive, chosen_skip; bank movements: no_bank_account (Chipax booked the line on no account), bank_account_not_imported, currency_unsupported, unreadable, ingest_failed. */
261434
261487
  skip_reasons: {
261435
261488
  [key: string]: number;
261436
261489
  };
@@ -261457,6 +261510,8 @@ interface components {
261457
261510
  vitrina_clp: number;
261458
261511
  matches: boolean;
261459
261512
  }[];
261513
+ /** @description Account × month rows left out of the check: balance accounts (activo, pasivo, patrimonio), which Chipax's Resultado Operacional does not cover. Absent on runs before 2026-11-02. */
261514
+ excluded_balance_rows?: number;
261460
261515
  };
261461
261516
  not_in_api: string[];
261462
261517
  warnings: string[];
package/dist/index.d.ts CHANGED
@@ -261284,7 +261284,7 @@ interface components {
261284
261284
  /** @description Imported by an earlier run: nothing to do. */
261285
261285
  already: number;
261286
261286
  skip: number;
261287
- /** @description Why: unmapped_account, ambiguous, no_categories, voided, classified_in_vitrina (a person already classified it: kept), company_rut_unknown (connect the SII first), movement_not_found (the bank movement is not in Vitrina: connect the bank or upload the cartola), movement_ambiguous, document_not_imported, direction_mismatch, nothing_open, movement_to_income, linked_to_another_contraparte, rut_is_another_contraparte, non_positive, chosen_skip. */
261287
+ /** @description Why: unmapped_account, ambiguous, no_categories, voided, classified_in_vitrina (a person already classified it: kept), company_rut_unknown (connect the SII first), movement_not_found (the bank movement is not in Vitrina: connect the bank or upload the cartola), movement_ambiguous, document_not_imported, direction_mismatch, nothing_open, movement_to_income, linked_to_another_contraparte, rut_is_another_contraparte, non_positive, chosen_skip; bank movements: no_bank_account (Chipax booked the line on no account), bank_account_not_imported, currency_unsupported, unreadable, ingest_failed. */
261288
261288
  skip_reasons: {
261289
261289
  [key: string]: number;
261290
261290
  };
@@ -261303,10 +261303,17 @@ interface components {
261303
261303
  account_path: string | null;
261304
261304
  chipax_parent_account: number | null;
261305
261305
  /**
261306
- * @description previous_import = mapped by an earlier run; chosen = the person chose it; same_name = a Vitrina account of the same kind and name; new = will be created; ambiguous = several candidates (pick one in `account_map`).
261306
+ * @description previous_import = mapped by an earlier run; chosen = the person chose it; same_name = matched to an existing Vitrina account of the same kind, by name or by the tree (`match` says how); new = will be created; ambiguous = several candidates (pick one in `account_map`).
261307
261307
  * @enum {string}
261308
261308
  */
261309
261309
  basis: "previous_import" | "chosen" | "same_name" | "new" | "ambiguous";
261310
+ /**
261311
+ * @description How: exact = same name; normalized = same once case, accents, plurals, «de»/«y» and a «(…)» qualifier are folded; similar = one or two letters apart, under the account its Chipax parent maps to; prefix = one name starts the other, there too; children = its children already sit under that account; kept_distinct = another Chipax account claimed the same match, so this one is created rather than merged; none = nothing alike, created. Absent on runs before 2026-11-02.
261312
+ * @enum {string}
261313
+ */
261314
+ match?: "previous" | "chosen" | "exact" | "normalized" | "similar" | "prefix" | "children" | "kept_distinct" | "none" | "ambiguous";
261315
+ /** @description The decision in one sentence (Spanish), for the person reviewing the dry run. Absent on runs before 2026-11-02. */
261316
+ reason?: string;
261310
261317
  candidates: {
261311
261318
  id: string;
261312
261319
  path: string;
@@ -261321,7 +261328,7 @@ interface components {
261321
261328
  /** @description Imported by an earlier run: nothing to do. */
261322
261329
  already: number;
261323
261330
  skip: number;
261324
- /** @description Why: unmapped_account, ambiguous, no_categories, voided, classified_in_vitrina (a person already classified it: kept), company_rut_unknown (connect the SII first), movement_not_found (the bank movement is not in Vitrina: connect the bank or upload the cartola), movement_ambiguous, document_not_imported, direction_mismatch, nothing_open, movement_to_income, linked_to_another_contraparte, rut_is_another_contraparte, non_positive, chosen_skip. */
261331
+ /** @description Why: unmapped_account, ambiguous, no_categories, voided, classified_in_vitrina (a person already classified it: kept), company_rut_unknown (connect the SII first), movement_not_found (the bank movement is not in Vitrina: connect the bank or upload the cartola), movement_ambiguous, document_not_imported, direction_mismatch, nothing_open, movement_to_income, linked_to_another_contraparte, rut_is_another_contraparte, non_positive, chosen_skip; bank movements: no_bank_account (Chipax booked the line on no account), bank_account_not_imported, currency_unsupported, unreadable, ingest_failed. */
261325
261332
  skip_reasons: {
261326
261333
  [key: string]: number;
261327
261334
  };
@@ -261334,7 +261341,7 @@ interface components {
261334
261341
  /** @description Imported by an earlier run: nothing to do. */
261335
261342
  already: number;
261336
261343
  skip: number;
261337
- /** @description Why: unmapped_account, ambiguous, no_categories, voided, classified_in_vitrina (a person already classified it: kept), company_rut_unknown (connect the SII first), movement_not_found (the bank movement is not in Vitrina: connect the bank or upload the cartola), movement_ambiguous, document_not_imported, direction_mismatch, nothing_open, movement_to_income, linked_to_another_contraparte, rut_is_another_contraparte, non_positive, chosen_skip. */
261344
+ /** @description Why: unmapped_account, ambiguous, no_categories, voided, classified_in_vitrina (a person already classified it: kept), company_rut_unknown (connect the SII first), movement_not_found (the bank movement is not in Vitrina: connect the bank or upload the cartola), movement_ambiguous, document_not_imported, direction_mismatch, nothing_open, movement_to_income, linked_to_another_contraparte, rut_is_another_contraparte, non_positive, chosen_skip; bank movements: no_bank_account (Chipax booked the line on no account), bank_account_not_imported, currency_unsupported, unreadable, ingest_failed. */
261338
261345
  skip_reasons: {
261339
261346
  [key: string]: number;
261340
261347
  };
@@ -261350,7 +261357,7 @@ interface components {
261350
261357
  /** @description Imported by an earlier run: nothing to do. */
261351
261358
  already: number;
261352
261359
  skip: number;
261353
- /** @description Why: unmapped_account, ambiguous, no_categories, voided, classified_in_vitrina (a person already classified it: kept), company_rut_unknown (connect the SII first), movement_not_found (the bank movement is not in Vitrina: connect the bank or upload the cartola), movement_ambiguous, document_not_imported, direction_mismatch, nothing_open, movement_to_income, linked_to_another_contraparte, rut_is_another_contraparte, non_positive, chosen_skip. */
261360
+ /** @description Why: unmapped_account, ambiguous, no_categories, voided, classified_in_vitrina (a person already classified it: kept), company_rut_unknown (connect the SII first), movement_not_found (the bank movement is not in Vitrina: connect the bank or upload the cartola), movement_ambiguous, document_not_imported, direction_mismatch, nothing_open, movement_to_income, linked_to_another_contraparte, rut_is_another_contraparte, non_positive, chosen_skip; bank movements: no_bank_account (Chipax booked the line on no account), bank_account_not_imported, currency_unsupported, unreadable, ingest_failed. */
261354
261361
  skip_reasons: {
261355
261362
  [key: string]: number;
261356
261363
  };
@@ -261365,7 +261372,7 @@ interface components {
261365
261372
  /** @description Imported by an earlier run: nothing to do. */
261366
261373
  already: number;
261367
261374
  skip: number;
261368
- /** @description Why: unmapped_account, ambiguous, no_categories, voided, classified_in_vitrina (a person already classified it: kept), company_rut_unknown (connect the SII first), movement_not_found (the bank movement is not in Vitrina: connect the bank or upload the cartola), movement_ambiguous, document_not_imported, direction_mismatch, nothing_open, movement_to_income, linked_to_another_contraparte, rut_is_another_contraparte, non_positive, chosen_skip. */
261375
+ /** @description Why: unmapped_account, ambiguous, no_categories, voided, classified_in_vitrina (a person already classified it: kept), company_rut_unknown (connect the SII first), movement_not_found (the bank movement is not in Vitrina: connect the bank or upload the cartola), movement_ambiguous, document_not_imported, direction_mismatch, nothing_open, movement_to_income, linked_to_another_contraparte, rut_is_another_contraparte, non_positive, chosen_skip; bank movements: no_bank_account (Chipax booked the line on no account), bank_account_not_imported, currency_unsupported, unreadable, ingest_failed. */
261369
261376
  skip_reasons: {
261370
261377
  [key: string]: number;
261371
261378
  };
@@ -261378,7 +261385,7 @@ interface components {
261378
261385
  /** @description Imported by an earlier run: nothing to do. */
261379
261386
  already: number;
261380
261387
  skip: number;
261381
- /** @description Why: unmapped_account, ambiguous, no_categories, voided, classified_in_vitrina (a person already classified it: kept), company_rut_unknown (connect the SII first), movement_not_found (the bank movement is not in Vitrina: connect the bank or upload the cartola), movement_ambiguous, document_not_imported, direction_mismatch, nothing_open, movement_to_income, linked_to_another_contraparte, rut_is_another_contraparte, non_positive, chosen_skip. */
261388
+ /** @description Why: unmapped_account, ambiguous, no_categories, voided, classified_in_vitrina (a person already classified it: kept), company_rut_unknown (connect the SII first), movement_not_found (the bank movement is not in Vitrina: connect the bank or upload the cartola), movement_ambiguous, document_not_imported, direction_mismatch, nothing_open, movement_to_income, linked_to_another_contraparte, rut_is_another_contraparte, non_positive, chosen_skip; bank movements: no_bank_account (Chipax booked the line on no account), bank_account_not_imported, currency_unsupported, unreadable, ingest_failed. */
261382
261389
  skip_reasons: {
261383
261390
  [key: string]: number;
261384
261391
  };
@@ -261391,7 +261398,7 @@ interface components {
261391
261398
  /** @description Imported by an earlier run: nothing to do. */
261392
261399
  already: number;
261393
261400
  skip: number;
261394
- /** @description Why: unmapped_account, ambiguous, no_categories, voided, classified_in_vitrina (a person already classified it: kept), company_rut_unknown (connect the SII first), movement_not_found (the bank movement is not in Vitrina: connect the bank or upload the cartola), movement_ambiguous, document_not_imported, direction_mismatch, nothing_open, movement_to_income, linked_to_another_contraparte, rut_is_another_contraparte, non_positive, chosen_skip. */
261401
+ /** @description Why: unmapped_account, ambiguous, no_categories, voided, classified_in_vitrina (a person already classified it: kept), company_rut_unknown (connect the SII first), movement_not_found (the bank movement is not in Vitrina: connect the bank or upload the cartola), movement_ambiguous, document_not_imported, direction_mismatch, nothing_open, movement_to_income, linked_to_another_contraparte, rut_is_another_contraparte, non_positive, chosen_skip; bank movements: no_bank_account (Chipax booked the line on no account), bank_account_not_imported, currency_unsupported, unreadable, ingest_failed. */
261395
261402
  skip_reasons: {
261396
261403
  [key: string]: number;
261397
261404
  };
@@ -261412,7 +261419,7 @@ interface components {
261412
261419
  /** @description Imported by an earlier run: nothing to do. */
261413
261420
  already: number;
261414
261421
  skip: number;
261415
- /** @description Why: unmapped_account, ambiguous, no_categories, voided, classified_in_vitrina (a person already classified it: kept), company_rut_unknown (connect the SII first), movement_not_found (the bank movement is not in Vitrina: connect the bank or upload the cartola), movement_ambiguous, document_not_imported, direction_mismatch, nothing_open, movement_to_income, linked_to_another_contraparte, rut_is_another_contraparte, non_positive, chosen_skip. */
261422
+ /** @description Why: unmapped_account, ambiguous, no_categories, voided, classified_in_vitrina (a person already classified it: kept), company_rut_unknown (connect the SII first), movement_not_found (the bank movement is not in Vitrina: connect the bank or upload the cartola), movement_ambiguous, document_not_imported, direction_mismatch, nothing_open, movement_to_income, linked_to_another_contraparte, rut_is_another_contraparte, non_positive, chosen_skip; bank movements: no_bank_account (Chipax booked the line on no account), bank_account_not_imported, currency_unsupported, unreadable, ingest_failed. */
261416
261423
  skip_reasons: {
261417
261424
  [key: string]: number;
261418
261425
  };
@@ -261430,7 +261437,53 @@ interface components {
261430
261437
  /** @description Imported by an earlier run: nothing to do. */
261431
261438
  already: number;
261432
261439
  skip: number;
261433
- /** @description Why: unmapped_account, ambiguous, no_categories, voided, classified_in_vitrina (a person already classified it: kept), company_rut_unknown (connect the SII first), movement_not_found (the bank movement is not in Vitrina: connect the bank or upload the cartola), movement_ambiguous, document_not_imported, direction_mismatch, nothing_open, movement_to_income, linked_to_another_contraparte, rut_is_another_contraparte, non_positive, chosen_skip. */
261440
+ /** @description Why: unmapped_account, ambiguous, no_categories, voided, classified_in_vitrina (a person already classified it: kept), company_rut_unknown (connect the SII first), movement_not_found (the bank movement is not in Vitrina: connect the bank or upload the cartola), movement_ambiguous, document_not_imported, direction_mismatch, nothing_open, movement_to_income, linked_to_another_contraparte, rut_is_another_contraparte, non_positive, chosen_skip; bank movements: no_bank_account (Chipax booked the line on no account), bank_account_not_imported, currency_unsupported, unreadable, ingest_failed. */
261441
+ skip_reasons: {
261442
+ [key: string]: number;
261443
+ };
261444
+ };
261445
+ /** @description Chipax's bank accounts (/cuentas-corrientes) and the Vitrina account each one is. Absent on runs before 2026-11-02. */
261446
+ bank_accounts?: {
261447
+ /** @description New in Vitrina (dry run: would be created). */
261448
+ create: number;
261449
+ /** @description Already in Vitrina (e.g. from the SII): matched and enriched. */
261450
+ match: number;
261451
+ /** @description Imported by an earlier run: nothing to do. */
261452
+ already: number;
261453
+ skip: number;
261454
+ /** @description Why: unmapped_account, ambiguous, no_categories, voided, classified_in_vitrina (a person already classified it: kept), company_rut_unknown (connect the SII first), movement_not_found (the bank movement is not in Vitrina: connect the bank or upload the cartola), movement_ambiguous, document_not_imported, direction_mismatch, nothing_open, movement_to_income, linked_to_another_contraparte, rut_is_another_contraparte, non_positive, chosen_skip; bank movements: no_bank_account (Chipax booked the line on no account), bank_account_not_imported, currency_unsupported, unreadable, ingest_failed. */
261455
+ skip_reasons: {
261456
+ [key: string]: number;
261457
+ };
261458
+ items: {
261459
+ /** @description Chipax's `cuenta_corriente_id`. */
261460
+ chipax_account: string;
261461
+ name: string;
261462
+ institution: string | null;
261463
+ number_tail: string | null;
261464
+ /** @enum {string} */
261465
+ type: "cuenta_corriente" | "cuenta_vista" | "tarjeta_credito" | "linea_credito" | "mercado_pago" | "otra";
261466
+ /** @enum {string|null} */
261467
+ currency: "CLP" | "USD" | null;
261468
+ /**
261469
+ * @description map = the Vitrina account with the same number and currency; create = a new manual account; skip = not imported (currency_unsupported).
261470
+ * @enum {string}
261471
+ */
261472
+ action: "map" | "create" | "skip";
261473
+ account_id: string | null;
261474
+ reason: string;
261475
+ }[];
261476
+ };
261477
+ /** @description Chipax's statement lines (/flujo-caja/cartolas) as bank movements, source chipax: create = new rows; match = the transfer was already in Vitrina from another rail (the bank's e-mail, a feed), kept as its twin, never a second row; already = an earlier run. Absent on runs before 2026-11-02. */
261478
+ movements?: {
261479
+ /** @description New in Vitrina (dry run: would be created). */
261480
+ create: number;
261481
+ /** @description Already in Vitrina (e.g. from the SII): matched and enriched. */
261482
+ match: number;
261483
+ /** @description Imported by an earlier run: nothing to do. */
261484
+ already: number;
261485
+ skip: number;
261486
+ /** @description Why: unmapped_account, ambiguous, no_categories, voided, classified_in_vitrina (a person already classified it: kept), company_rut_unknown (connect the SII first), movement_not_found (the bank movement is not in Vitrina: connect the bank or upload the cartola), movement_ambiguous, document_not_imported, direction_mismatch, nothing_open, movement_to_income, linked_to_another_contraparte, rut_is_another_contraparte, non_positive, chosen_skip; bank movements: no_bank_account (Chipax booked the line on no account), bank_account_not_imported, currency_unsupported, unreadable, ingest_failed. */
261434
261487
  skip_reasons: {
261435
261488
  [key: string]: number;
261436
261489
  };
@@ -261457,6 +261510,8 @@ interface components {
261457
261510
  vitrina_clp: number;
261458
261511
  matches: boolean;
261459
261512
  }[];
261513
+ /** @description Account × month rows left out of the check: balance accounts (activo, pasivo, patrimonio), which Chipax's Resultado Operacional does not cover. Absent on runs before 2026-11-02. */
261514
+ excluded_balance_rows?: number;
261460
261515
  };
261461
261516
  not_in_api: string[];
261462
261517
  warnings: string[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vitrina/api",
3
- "version": "15.27.0",
3
+ "version": "15.28.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",