@vitrina/api 17.9.0 → 17.11.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
@@ -18575,6 +18575,7 @@ interface paths {
18575
18575
  /** @enum {string|null} */
18576
18576
  merch_label?: "oferta" | "liquidacion" | "poco_km" | "cuatro_x_cuatro" | "full_equipo" | "recien_llegado" | "unico_dueno" | null;
18577
18577
  is_featured?: boolean;
18578
+ sold_outside_vitrina?: boolean;
18578
18579
  /** @enum {string} */
18579
18580
  vehicle_type?: "auto" | "camion" | "maquinaria" | "nautico";
18580
18581
  sale_status?: string | null;
@@ -19236,6 +19237,7 @@ interface paths {
19236
19237
  /** @enum {string|null} */
19237
19238
  merch_label?: "oferta" | "liquidacion" | "poco_km" | "cuatro_x_cuatro" | "full_equipo" | "recien_llegado" | "unico_dueno" | null;
19238
19239
  is_featured?: boolean;
19240
+ sold_outside_vitrina?: boolean;
19239
19241
  /** @enum {string} */
19240
19242
  vehicle_type?: "auto" | "camion" | "maquinaria" | "nautico";
19241
19243
  sale_status?: string | null;
@@ -277254,12 +277256,12 @@ interface components {
277254
277256
  closed: boolean;
277255
277257
  };
277256
277258
  /**
277257
- * @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.
277259
+ * @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.
277258
277260
  * @enum {string}
277259
277261
  */
277260
- mode: "metered" | "fixed_contract" | "not_billed" | "billing_not_started" | "external_month" | "clinic_plan";
277262
+ mode: "metered" | "fixed_contract" | "not_billed" | "complimentary" | "billing_not_started" | "external_month" | "clinic_plan";
277261
277263
  billing_starts_on: string | null;
277262
- /** @description False: render usage only, no amounts anywhere. */
277264
+ /** @description False: render usage only, no amounts anywhere. True for `complimentary` too: show the amounts, but as a reference (never charged). */
277263
277265
  show_prices: boolean;
277264
277266
  /** @description Today's UF, for the CLP estimate only (the close freezes its own). */
277265
277267
  uf: {
@@ -277439,7 +277441,7 @@ interface components {
277439
277441
  waiver_until: string | null;
277440
277442
  }[];
277441
277443
  /**
277442
- * @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.
277444
+ * @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.
277443
277445
  * @enum {string}
277444
277446
  */
277445
277447
  amount_source: "estimate" | "invoice" | "external" | "none";
package/dist/index.d.ts CHANGED
@@ -18575,6 +18575,7 @@ interface paths {
18575
18575
  /** @enum {string|null} */
18576
18576
  merch_label?: "oferta" | "liquidacion" | "poco_km" | "cuatro_x_cuatro" | "full_equipo" | "recien_llegado" | "unico_dueno" | null;
18577
18577
  is_featured?: boolean;
18578
+ sold_outside_vitrina?: boolean;
18578
18579
  /** @enum {string} */
18579
18580
  vehicle_type?: "auto" | "camion" | "maquinaria" | "nautico";
18580
18581
  sale_status?: string | null;
@@ -19236,6 +19237,7 @@ interface paths {
19236
19237
  /** @enum {string|null} */
19237
19238
  merch_label?: "oferta" | "liquidacion" | "poco_km" | "cuatro_x_cuatro" | "full_equipo" | "recien_llegado" | "unico_dueno" | null;
19238
19239
  is_featured?: boolean;
19240
+ sold_outside_vitrina?: boolean;
19239
19241
  /** @enum {string} */
19240
19242
  vehicle_type?: "auto" | "camion" | "maquinaria" | "nautico";
19241
19243
  sale_status?: string | null;
@@ -277254,12 +277256,12 @@ interface components {
277254
277256
  closed: boolean;
277255
277257
  };
277256
277258
  /**
277257
- * @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.
277259
+ * @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.
277258
277260
  * @enum {string}
277259
277261
  */
277260
- mode: "metered" | "fixed_contract" | "not_billed" | "billing_not_started" | "external_month" | "clinic_plan";
277262
+ mode: "metered" | "fixed_contract" | "not_billed" | "complimentary" | "billing_not_started" | "external_month" | "clinic_plan";
277261
277263
  billing_starts_on: string | null;
277262
- /** @description False: render usage only, no amounts anywhere. */
277264
+ /** @description False: render usage only, no amounts anywhere. True for `complimentary` too: show the amounts, but as a reference (never charged). */
277263
277265
  show_prices: boolean;
277264
277266
  /** @description Today's UF, for the CLP estimate only (the close freezes its own). */
277265
277267
  uf: {
@@ -277439,7 +277441,7 @@ interface components {
277439
277441
  waiver_until: string | null;
277440
277442
  }[];
277441
277443
  /**
277442
- * @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.
277444
+ * @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.
277443
277445
  * @enum {string}
277444
277446
  */
277445
277447
  amount_source: "estimate" | "invoice" | "external" | "none";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vitrina/api",
3
- "version": "17.9.0",
3
+ "version": "17.11.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",