@vitrina/api 15.9.1 → 15.10.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
@@ -236150,6 +236150,11 @@ interface components {
236150
236150
  */
236151
236151
  factura_state: "issued" | "after_payment" | "processing" | "none";
236152
236152
  factura: {
236153
+ /**
236154
+ * @description Which tax document this month carries.
236155
+ * @enum {string}
236156
+ */
236157
+ kind: "factura" | "boleta";
236153
236158
  folio: string;
236154
236159
  pdf_path: string;
236155
236160
  xml_path: string;
@@ -236301,7 +236306,7 @@ interface components {
236301
236306
  reference: string | null;
236302
236307
  invoice_number: string | null;
236303
236308
  } | null;
236304
- /** @description Rails that can be added now, card rails most preferred first: `fintoc_pac` and `fintoc_card` appear only while Fintoc has their product enabled for Vitrina (probed, no flag); `oneclick` only once Vitrina’s card contract is configured; `mercadopago` stays listed as the card fallback. The PAC is the recommended one when present. */
236309
+ /** @description Rails that can be added now, card rails most preferred first and the PAC last: `fintoc_card` appears only while Fintoc has the product enabled for Vitrina (probed, no flag) and, while it does, `oneclick` and `mercadopago` are not listed; without it they stay as the card fallback. `fintoc_pac` only with «PAC permitido» on and Fintoc PAC available. `recommended` is the first card rail; the PAC is never recommended. */
236305
236310
  available_rails: {
236306
236311
  /**
236307
236312
  * @description The rail that holds the method: `fintoc_pac` (automatic debit from a current account through Fintoc), `fintoc_card` (credit or debit card on file at Fintoc), `oneclick` (card on file at Transbank Webpay Oneclick), `mercadopago` (card on file at Mercado Pago).
@@ -236310,6 +236315,8 @@ interface components {
236310
236315
  rail: "fintoc_pac" | "fintoc_card" | "oneclick" | "mercadopago";
236311
236316
  rail_name: string;
236312
236317
  recommended: boolean;
236318
+ /** @description Text to show on the setup screen before continuing; set for `fintoc_pac` (company accounts fail), null otherwise. */
236319
+ warning: string | null;
236313
236320
  }[];
236314
236321
  /** @description Banks where a PAC can be enrolled; send a `code` as `bank` when adding a PAC. */
236315
236322
  pac_banks: {
package/dist/index.d.ts CHANGED
@@ -236150,6 +236150,11 @@ interface components {
236150
236150
  */
236151
236151
  factura_state: "issued" | "after_payment" | "processing" | "none";
236152
236152
  factura: {
236153
+ /**
236154
+ * @description Which tax document this month carries.
236155
+ * @enum {string}
236156
+ */
236157
+ kind: "factura" | "boleta";
236153
236158
  folio: string;
236154
236159
  pdf_path: string;
236155
236160
  xml_path: string;
@@ -236301,7 +236306,7 @@ interface components {
236301
236306
  reference: string | null;
236302
236307
  invoice_number: string | null;
236303
236308
  } | null;
236304
- /** @description Rails that can be added now, card rails most preferred first: `fintoc_pac` and `fintoc_card` appear only while Fintoc has their product enabled for Vitrina (probed, no flag); `oneclick` only once Vitrina’s card contract is configured; `mercadopago` stays listed as the card fallback. The PAC is the recommended one when present. */
236309
+ /** @description Rails that can be added now, card rails most preferred first and the PAC last: `fintoc_card` appears only while Fintoc has the product enabled for Vitrina (probed, no flag) and, while it does, `oneclick` and `mercadopago` are not listed; without it they stay as the card fallback. `fintoc_pac` only with «PAC permitido» on and Fintoc PAC available. `recommended` is the first card rail; the PAC is never recommended. */
236305
236310
  available_rails: {
236306
236311
  /**
236307
236312
  * @description The rail that holds the method: `fintoc_pac` (automatic debit from a current account through Fintoc), `fintoc_card` (credit or debit card on file at Fintoc), `oneclick` (card on file at Transbank Webpay Oneclick), `mercadopago` (card on file at Mercado Pago).
@@ -236310,6 +236315,8 @@ interface components {
236310
236315
  rail: "fintoc_pac" | "fintoc_card" | "oneclick" | "mercadopago";
236311
236316
  rail_name: string;
236312
236317
  recommended: boolean;
236318
+ /** @description Text to show on the setup screen before continuing; set for `fintoc_pac` (company accounts fail), null otherwise. */
236319
+ warning: string | null;
236313
236320
  }[];
236314
236321
  /** @description Banks where a PAC can be enrolled; send a `code` as `bank` when adding a PAC. */
236315
236322
  pac_banks: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vitrina/api",
3
- "version": "15.9.1",
3
+ "version": "15.10.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",