@vitrina/api 17.9.0 → 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
@@ -277254,12 +277254,12 @@ interface components {
277254
277254
  closed: boolean;
277255
277255
  };
277256
277256
  /**
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.
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.
277258
277258
  * @enum {string}
277259
277259
  */
277260
- 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";
277261
277261
  billing_starts_on: string | null;
277262
- /** @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). */
277263
277263
  show_prices: boolean;
277264
277264
  /** @description Today's UF, for the CLP estimate only (the close freezes its own). */
277265
277265
  uf: {
@@ -277439,7 +277439,7 @@ interface components {
277439
277439
  waiver_until: string | null;
277440
277440
  }[];
277441
277441
  /**
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.
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.
277443
277443
  * @enum {string}
277444
277444
  */
277445
277445
  amount_source: "estimate" | "invoice" | "external" | "none";
package/dist/index.d.ts CHANGED
@@ -277254,12 +277254,12 @@ interface components {
277254
277254
  closed: boolean;
277255
277255
  };
277256
277256
  /**
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.
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.
277258
277258
  * @enum {string}
277259
277259
  */
277260
- 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";
277261
277261
  billing_starts_on: string | null;
277262
- /** @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). */
277263
277263
  show_prices: boolean;
277264
277264
  /** @description Today's UF, for the CLP estimate only (the close freezes its own). */
277265
277265
  uf: {
@@ -277439,7 +277439,7 @@ interface components {
277439
277439
  waiver_until: string | null;
277440
277440
  }[];
277441
277441
  /**
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.
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.
277443
277443
  * @enum {string}
277444
277444
  */
277445
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.9.0",
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",