@vitrina/api 17.8.5 → 17.10.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
@@ -40908,6 +40908,8 @@ interface paths {
40908
40908
  tax_treatment: "afecto" | "exento" | "no_gravado" | "pass_through";
40909
40909
  /** Format: date-time */
40910
40910
  issued_at?: string | null;
40911
+ /** @description Internal free-text notes. Never printed on the document. Blank clears them. */
40912
+ notes?: string | null;
40911
40913
  lines?: {
40912
40914
  description: string;
40913
40915
  net_clp: number;
@@ -41209,6 +41211,8 @@ interface paths {
41209
41211
  tax_treatment?: "afecto" | "exento" | "no_gravado" | "pass_through";
41210
41212
  /** Format: date-time */
41211
41213
  issued_at?: string;
41214
+ /** @description Internal free-text notes. Never printed on the document. Blank clears them. */
41215
+ notes?: string | null;
41212
41216
  lines?: {
41213
41217
  description: string;
41214
41218
  net_clp: number;
@@ -144067,6 +144071,8 @@ interface paths {
144067
144071
  vencimiento?: string | null;
144068
144072
  /** @enum {string|null} */
144069
144073
  sale_iva_regime?: "afecto" | "exento" | null;
144074
+ /** @description Internal free-text notes. Never printed on the document. Blank clears them. */
144075
+ notes?: string | null;
144070
144076
  };
144071
144077
  };
144072
144078
  };
@@ -144470,6 +144476,8 @@ interface paths {
144470
144476
  estado?: "activo" | "vendido" | "devuelto" | "vencido";
144471
144477
  /** @enum {string|null} */
144472
144478
  sale_iva_regime?: "afecto" | "exento" | null;
144479
+ /** @description Internal free-text notes. Never printed on the document. Blank clears them. */
144480
+ notes?: string | null;
144473
144481
  };
144474
144482
  };
144475
144483
  };
@@ -277246,12 +277254,12 @@ interface components {
277246
277254
  closed: boolean;
277247
277255
  };
277248
277256
  /**
277249
- * @description `metered`: rate card. `fixed_contract`: one fixed monthly price, usage shown at $0. `not_billed`: usage only, no prices. `billing_not_started`: billing begins on `billing_starts_on`. `external_month`: the month is invoiced outside the system. `clinic_plan`: billed on the plan anniversary, not by this view.
277257
+ * @description `metered`: rate card. `fixed_contract`: one fixed monthly price, usage shown at $0. `not_billed`: usage only, no prices. `complimentary`: never billed («se calcula, no se cobra») but priced exactly like `metered` for reference — lines, totals, projection and UF, `show_prices` true, `next_charge` null; show the amounts with a note that the workspace is not charged. `billing_not_started`: billing begins on `billing_starts_on`. `external_month`: the month is invoiced outside the system. `clinic_plan`: billed on the plan anniversary, not by this view.
277250
277258
  * @enum {string}
277251
277259
  */
277252
- mode: "metered" | "fixed_contract" | "not_billed" | "billing_not_started" | "external_month" | "clinic_plan";
277260
+ mode: "metered" | "fixed_contract" | "not_billed" | "complimentary" | "billing_not_started" | "external_month" | "clinic_plan";
277253
277261
  billing_starts_on: string | null;
277254
- /** @description False: render usage only, no amounts anywhere. */
277262
+ /** @description False: render usage only, no amounts anywhere. True for `complimentary` too: show the amounts, but as a reference (never charged). */
277255
277263
  show_prices: boolean;
277256
277264
  /** @description Today's UF, for the CLP estimate only (the close freezes its own). */
277257
277265
  uf: {
@@ -277431,7 +277439,7 @@ interface components {
277431
277439
  waiver_until: string | null;
277432
277440
  }[];
277433
277441
  /**
277434
- * @description Where `lines`/`totals` come from. `estimate`: the open month priced at today's UF. `invoice`: the issued cobro, exactly as frozen at the close (never recomputed); a cobro issued by hand for the month reads the same, with its totals. `external`: the month was invoiced by hand outside the system and its amount is not on this month (no cobro on record, or it was billed on a cobro listed on another month — then `invoice` names that cobro). `none`: nothing was billed or prices are hidden — usage only.
277442
+ * @description Where `lines`/`totals` come from. `estimate`: the open month priced at today's UF, or a closed `complimentary` month priced on the rate card at its close day's UF (reference only). `invoice`: the issued cobro, exactly as frozen at the close (never recomputed); a cobro issued by hand for the month reads the same, with its totals. `external`: the month was invoiced by hand outside the system and its amount is not on this month (no cobro on record, or it was billed on a cobro listed on another month — then `invoice` names that cobro). `none`: nothing was billed or prices are hidden — usage only.
277435
277443
  * @enum {string}
277436
277444
  */
277437
277445
  amount_source: "estimate" | "invoice" | "external" | "none";
package/dist/index.d.ts CHANGED
@@ -40908,6 +40908,8 @@ interface paths {
40908
40908
  tax_treatment: "afecto" | "exento" | "no_gravado" | "pass_through";
40909
40909
  /** Format: date-time */
40910
40910
  issued_at?: string | null;
40911
+ /** @description Internal free-text notes. Never printed on the document. Blank clears them. */
40912
+ notes?: string | null;
40911
40913
  lines?: {
40912
40914
  description: string;
40913
40915
  net_clp: number;
@@ -41209,6 +41211,8 @@ interface paths {
41209
41211
  tax_treatment?: "afecto" | "exento" | "no_gravado" | "pass_through";
41210
41212
  /** Format: date-time */
41211
41213
  issued_at?: string;
41214
+ /** @description Internal free-text notes. Never printed on the document. Blank clears them. */
41215
+ notes?: string | null;
41212
41216
  lines?: {
41213
41217
  description: string;
41214
41218
  net_clp: number;
@@ -144067,6 +144071,8 @@ interface paths {
144067
144071
  vencimiento?: string | null;
144068
144072
  /** @enum {string|null} */
144069
144073
  sale_iva_regime?: "afecto" | "exento" | null;
144074
+ /** @description Internal free-text notes. Never printed on the document. Blank clears them. */
144075
+ notes?: string | null;
144070
144076
  };
144071
144077
  };
144072
144078
  };
@@ -144470,6 +144476,8 @@ interface paths {
144470
144476
  estado?: "activo" | "vendido" | "devuelto" | "vencido";
144471
144477
  /** @enum {string|null} */
144472
144478
  sale_iva_regime?: "afecto" | "exento" | null;
144479
+ /** @description Internal free-text notes. Never printed on the document. Blank clears them. */
144480
+ notes?: string | null;
144473
144481
  };
144474
144482
  };
144475
144483
  };
@@ -277246,12 +277254,12 @@ interface components {
277246
277254
  closed: boolean;
277247
277255
  };
277248
277256
  /**
277249
- * @description `metered`: rate card. `fixed_contract`: one fixed monthly price, usage shown at $0. `not_billed`: usage only, no prices. `billing_not_started`: billing begins on `billing_starts_on`. `external_month`: the month is invoiced outside the system. `clinic_plan`: billed on the plan anniversary, not by this view.
277257
+ * @description `metered`: rate card. `fixed_contract`: one fixed monthly price, usage shown at $0. `not_billed`: usage only, no prices. `complimentary`: never billed («se calcula, no se cobra») but priced exactly like `metered` for reference — lines, totals, projection and UF, `show_prices` true, `next_charge` null; show the amounts with a note that the workspace is not charged. `billing_not_started`: billing begins on `billing_starts_on`. `external_month`: the month is invoiced outside the system. `clinic_plan`: billed on the plan anniversary, not by this view.
277250
277258
  * @enum {string}
277251
277259
  */
277252
- mode: "metered" | "fixed_contract" | "not_billed" | "billing_not_started" | "external_month" | "clinic_plan";
277260
+ mode: "metered" | "fixed_contract" | "not_billed" | "complimentary" | "billing_not_started" | "external_month" | "clinic_plan";
277253
277261
  billing_starts_on: string | null;
277254
- /** @description False: render usage only, no amounts anywhere. */
277262
+ /** @description False: render usage only, no amounts anywhere. True for `complimentary` too: show the amounts, but as a reference (never charged). */
277255
277263
  show_prices: boolean;
277256
277264
  /** @description Today's UF, for the CLP estimate only (the close freezes its own). */
277257
277265
  uf: {
@@ -277431,7 +277439,7 @@ interface components {
277431
277439
  waiver_until: string | null;
277432
277440
  }[];
277433
277441
  /**
277434
- * @description Where `lines`/`totals` come from. `estimate`: the open month priced at today's UF. `invoice`: the issued cobro, exactly as frozen at the close (never recomputed); a cobro issued by hand for the month reads the same, with its totals. `external`: the month was invoiced by hand outside the system and its amount is not on this month (no cobro on record, or it was billed on a cobro listed on another month — then `invoice` names that cobro). `none`: nothing was billed or prices are hidden — usage only.
277442
+ * @description Where `lines`/`totals` come from. `estimate`: the open month priced at today's UF, or a closed `complimentary` month priced on the rate card at its close day's UF (reference only). `invoice`: the issued cobro, exactly as frozen at the close (never recomputed); a cobro issued by hand for the month reads the same, with its totals. `external`: the month was invoiced by hand outside the system and its amount is not on this month (no cobro on record, or it was billed on a cobro listed on another month — then `invoice` names that cobro). `none`: nothing was billed or prices are hidden — usage only.
277435
277443
  * @enum {string}
277436
277444
  */
277437
277445
  amount_source: "estimate" | "invoice" | "external" | "none";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vitrina/api",
3
- "version": "17.8.5",
3
+ "version": "17.10.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",