@vitrina/api 17.11.0 → 17.11.2

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
@@ -38731,7 +38731,7 @@ interface paths {
38731
38731
  * Print the nota de venta
38732
38732
  * @description The nota de venta as a printable PDF (`application/pdf`, served `inline`): the workspace’s default `sale_note` template — or `template_id` — filled with this sale’s facts (dealership legal identity, folio, ejecutivo, buyer, seller, vehicle, price, payments). With no live template it prints the standard text. Rendered on demand and not stored (the frozen legal instrument is the compraventa). Any status prints; a voided note carries an «ANULADA» banner. The `X-Template-Version` header names the prose used.
38733
38733
  *
38734
- * **409** when a fact the template needs is missing — nothing is printed with a blank. `details.blocked_reason` is `sale_note_print_incomplete` (or the legal-seller code when the seller is what is missing), `details.missing` lists Spanish labels (e.g. «RUT de la automotora», «RUT del comprador») and `details.missing_fields[]` carries `{ variable, label, fix, contact_id? }` where `fix` is `organization_legal` | `buyer_contact` | `sale_note` | `legal_seller` — the form to open. Requires `sale_notes:read`.
38734
+ * **409** when a fact the template needs is missing — nothing is printed with a blank. `details.blocked_reason` is `sale_note_print_incomplete` (or the legal-seller code when the seller is what is missing), `details.missing` lists Spanish labels (e.g. «RUT de la automotora», «RUT del comprador») and `details.missing_fields[]` carries `{ variable, label, fix, contact_id? }` where `fix` is `organization_legal` | `buyer_contact` | `owner_contact` | `sale_note` | `legal_seller` — the form to open. Requires `sale_notes:read`.
38735
38735
  */
38736
38736
  get: {
38737
38737
  parameters: {
@@ -217492,6 +217492,15 @@ interface paths {
217492
217492
  };
217493
217493
  requestBody?: {
217494
217494
  content: {
217495
+ /**
217496
+ * @example {
217497
+ * "scope": "workspace",
217498
+ * "ids": [
217499
+ * "6a1f0c7e-3b8d-4e52-9a51-0c2d7b1e9f44",
217500
+ * "9d4b7a10-52c3-4e8f-a1b6-7e0c3f2d8a55"
217501
+ * ]
217502
+ * }
217503
+ */
217495
217504
  "application/json": {
217496
217505
  /** @enum {string} */
217497
217506
  scope: "workspace" | "personal";
@@ -217506,6 +217515,36 @@ interface paths {
217506
217515
  [name: string]: unknown;
217507
217516
  };
217508
217517
  content: {
217518
+ /**
217519
+ * @example {
217520
+ * "data": [
217521
+ * {
217522
+ * "id": "6a1f0c7e-3b8d-4e52-9a51-0c2d7b1e9f44",
217523
+ * "name": "Piden 18 Pro Max",
217524
+ * "scope": "workspace",
217525
+ * "owner_user_id": null,
217526
+ * "filters": {
217527
+ * "active": true,
217528
+ * "attributes": [
217529
+ * {
217530
+ * "key": "*",
217531
+ * "op": "contains",
217532
+ * "value": "18 pro max"
217533
+ * }
217534
+ * ]
217535
+ * },
217536
+ * "exclude_from_waiting": true,
217537
+ * "position": 0,
217538
+ * "created_by": "0b9e2f4a-8c1d-4f37-b6a2-5d3e7c9a1b20",
217539
+ * "created_at": "2026-11-04T12:00:00.000Z",
217540
+ * "updated_at": "2026-11-04T12:00:00.000Z",
217541
+ * "editable": true,
217542
+ * "count": 21,
217543
+ * "waiting_count": 15
217544
+ * }
217545
+ * ]
217546
+ * }
217547
+ */
217509
217548
  "application/json": {
217510
217549
  data?: unknown;
217511
217550
  meta?: {
@@ -217604,6 +217643,34 @@ interface paths {
217604
217643
  [name: string]: unknown;
217605
217644
  };
217606
217645
  content: {
217646
+ /**
217647
+ * @example {
217648
+ * "data": {
217649
+ * "id": "6a1f0c7e-3b8d-4e52-9a51-0c2d7b1e9f44",
217650
+ * "name": "Piden 18 Pro Max",
217651
+ * "scope": "workspace",
217652
+ * "owner_user_id": null,
217653
+ * "filters": {
217654
+ * "active": true,
217655
+ * "attributes": [
217656
+ * {
217657
+ * "key": "*",
217658
+ * "op": "contains",
217659
+ * "value": "18 pro max"
217660
+ * }
217661
+ * ]
217662
+ * },
217663
+ * "exclude_from_waiting": true,
217664
+ * "position": 0,
217665
+ * "created_by": "0b9e2f4a-8c1d-4f37-b6a2-5d3e7c9a1b20",
217666
+ * "created_at": "2026-11-04T12:00:00.000Z",
217667
+ * "updated_at": "2026-11-04T12:00:00.000Z",
217668
+ * "editable": true,
217669
+ * "count": 21,
217670
+ * "waiting_count": 15
217671
+ * }
217672
+ * }
217673
+ */
217607
217674
  "application/json": {
217608
217675
  data?: unknown;
217609
217676
  meta?: {
@@ -217765,6 +217832,12 @@ interface paths {
217765
217832
  };
217766
217833
  requestBody?: {
217767
217834
  content: {
217835
+ /**
217836
+ * @example {
217837
+ * "name": "Piden 18 Pro Max (sin respuesta)",
217838
+ * "exclude_from_waiting": false
217839
+ * }
217840
+ */
217768
217841
  "application/json": {
217769
217842
  name?: string;
217770
217843
  filters?: components["schemas"]["InboxViewFilters"];
@@ -217780,6 +217853,34 @@ interface paths {
217780
217853
  [name: string]: unknown;
217781
217854
  };
217782
217855
  content: {
217856
+ /**
217857
+ * @example {
217858
+ * "data": {
217859
+ * "id": "6a1f0c7e-3b8d-4e52-9a51-0c2d7b1e9f44",
217860
+ * "name": "Piden 18 Pro Max",
217861
+ * "scope": "workspace",
217862
+ * "owner_user_id": null,
217863
+ * "filters": {
217864
+ * "active": true,
217865
+ * "attributes": [
217866
+ * {
217867
+ * "key": "*",
217868
+ * "op": "contains",
217869
+ * "value": "18 pro max"
217870
+ * }
217871
+ * ]
217872
+ * },
217873
+ * "exclude_from_waiting": true,
217874
+ * "position": 0,
217875
+ * "created_by": "0b9e2f4a-8c1d-4f37-b6a2-5d3e7c9a1b20",
217876
+ * "created_at": "2026-11-04T12:00:00.000Z",
217877
+ * "updated_at": "2026-11-04T12:00:00.000Z",
217878
+ * "editable": true,
217879
+ * "count": 21,
217880
+ * "waiting_count": 15
217881
+ * }
217882
+ * }
217883
+ */
217783
217884
  "application/json": {
217784
217885
  data?: unknown;
217785
217886
  meta?: {
package/dist/index.d.ts CHANGED
@@ -38731,7 +38731,7 @@ interface paths {
38731
38731
  * Print the nota de venta
38732
38732
  * @description The nota de venta as a printable PDF (`application/pdf`, served `inline`): the workspace’s default `sale_note` template — or `template_id` — filled with this sale’s facts (dealership legal identity, folio, ejecutivo, buyer, seller, vehicle, price, payments). With no live template it prints the standard text. Rendered on demand and not stored (the frozen legal instrument is the compraventa). Any status prints; a voided note carries an «ANULADA» banner. The `X-Template-Version` header names the prose used.
38733
38733
  *
38734
- * **409** when a fact the template needs is missing — nothing is printed with a blank. `details.blocked_reason` is `sale_note_print_incomplete` (or the legal-seller code when the seller is what is missing), `details.missing` lists Spanish labels (e.g. «RUT de la automotora», «RUT del comprador») and `details.missing_fields[]` carries `{ variable, label, fix, contact_id? }` where `fix` is `organization_legal` | `buyer_contact` | `sale_note` | `legal_seller` — the form to open. Requires `sale_notes:read`.
38734
+ * **409** when a fact the template needs is missing — nothing is printed with a blank. `details.blocked_reason` is `sale_note_print_incomplete` (or the legal-seller code when the seller is what is missing), `details.missing` lists Spanish labels (e.g. «RUT de la automotora», «RUT del comprador») and `details.missing_fields[]` carries `{ variable, label, fix, contact_id? }` where `fix` is `organization_legal` | `buyer_contact` | `owner_contact` | `sale_note` | `legal_seller` — the form to open. Requires `sale_notes:read`.
38735
38735
  */
38736
38736
  get: {
38737
38737
  parameters: {
@@ -217492,6 +217492,15 @@ interface paths {
217492
217492
  };
217493
217493
  requestBody?: {
217494
217494
  content: {
217495
+ /**
217496
+ * @example {
217497
+ * "scope": "workspace",
217498
+ * "ids": [
217499
+ * "6a1f0c7e-3b8d-4e52-9a51-0c2d7b1e9f44",
217500
+ * "9d4b7a10-52c3-4e8f-a1b6-7e0c3f2d8a55"
217501
+ * ]
217502
+ * }
217503
+ */
217495
217504
  "application/json": {
217496
217505
  /** @enum {string} */
217497
217506
  scope: "workspace" | "personal";
@@ -217506,6 +217515,36 @@ interface paths {
217506
217515
  [name: string]: unknown;
217507
217516
  };
217508
217517
  content: {
217518
+ /**
217519
+ * @example {
217520
+ * "data": [
217521
+ * {
217522
+ * "id": "6a1f0c7e-3b8d-4e52-9a51-0c2d7b1e9f44",
217523
+ * "name": "Piden 18 Pro Max",
217524
+ * "scope": "workspace",
217525
+ * "owner_user_id": null,
217526
+ * "filters": {
217527
+ * "active": true,
217528
+ * "attributes": [
217529
+ * {
217530
+ * "key": "*",
217531
+ * "op": "contains",
217532
+ * "value": "18 pro max"
217533
+ * }
217534
+ * ]
217535
+ * },
217536
+ * "exclude_from_waiting": true,
217537
+ * "position": 0,
217538
+ * "created_by": "0b9e2f4a-8c1d-4f37-b6a2-5d3e7c9a1b20",
217539
+ * "created_at": "2026-11-04T12:00:00.000Z",
217540
+ * "updated_at": "2026-11-04T12:00:00.000Z",
217541
+ * "editable": true,
217542
+ * "count": 21,
217543
+ * "waiting_count": 15
217544
+ * }
217545
+ * ]
217546
+ * }
217547
+ */
217509
217548
  "application/json": {
217510
217549
  data?: unknown;
217511
217550
  meta?: {
@@ -217604,6 +217643,34 @@ interface paths {
217604
217643
  [name: string]: unknown;
217605
217644
  };
217606
217645
  content: {
217646
+ /**
217647
+ * @example {
217648
+ * "data": {
217649
+ * "id": "6a1f0c7e-3b8d-4e52-9a51-0c2d7b1e9f44",
217650
+ * "name": "Piden 18 Pro Max",
217651
+ * "scope": "workspace",
217652
+ * "owner_user_id": null,
217653
+ * "filters": {
217654
+ * "active": true,
217655
+ * "attributes": [
217656
+ * {
217657
+ * "key": "*",
217658
+ * "op": "contains",
217659
+ * "value": "18 pro max"
217660
+ * }
217661
+ * ]
217662
+ * },
217663
+ * "exclude_from_waiting": true,
217664
+ * "position": 0,
217665
+ * "created_by": "0b9e2f4a-8c1d-4f37-b6a2-5d3e7c9a1b20",
217666
+ * "created_at": "2026-11-04T12:00:00.000Z",
217667
+ * "updated_at": "2026-11-04T12:00:00.000Z",
217668
+ * "editable": true,
217669
+ * "count": 21,
217670
+ * "waiting_count": 15
217671
+ * }
217672
+ * }
217673
+ */
217607
217674
  "application/json": {
217608
217675
  data?: unknown;
217609
217676
  meta?: {
@@ -217765,6 +217832,12 @@ interface paths {
217765
217832
  };
217766
217833
  requestBody?: {
217767
217834
  content: {
217835
+ /**
217836
+ * @example {
217837
+ * "name": "Piden 18 Pro Max (sin respuesta)",
217838
+ * "exclude_from_waiting": false
217839
+ * }
217840
+ */
217768
217841
  "application/json": {
217769
217842
  name?: string;
217770
217843
  filters?: components["schemas"]["InboxViewFilters"];
@@ -217780,6 +217853,34 @@ interface paths {
217780
217853
  [name: string]: unknown;
217781
217854
  };
217782
217855
  content: {
217856
+ /**
217857
+ * @example {
217858
+ * "data": {
217859
+ * "id": "6a1f0c7e-3b8d-4e52-9a51-0c2d7b1e9f44",
217860
+ * "name": "Piden 18 Pro Max",
217861
+ * "scope": "workspace",
217862
+ * "owner_user_id": null,
217863
+ * "filters": {
217864
+ * "active": true,
217865
+ * "attributes": [
217866
+ * {
217867
+ * "key": "*",
217868
+ * "op": "contains",
217869
+ * "value": "18 pro max"
217870
+ * }
217871
+ * ]
217872
+ * },
217873
+ * "exclude_from_waiting": true,
217874
+ * "position": 0,
217875
+ * "created_by": "0b9e2f4a-8c1d-4f37-b6a2-5d3e7c9a1b20",
217876
+ * "created_at": "2026-11-04T12:00:00.000Z",
217877
+ * "updated_at": "2026-11-04T12:00:00.000Z",
217878
+ * "editable": true,
217879
+ * "count": 21,
217880
+ * "waiting_count": 15
217881
+ * }
217882
+ * }
217883
+ */
217783
217884
  "application/json": {
217784
217885
  data?: unknown;
217785
217886
  meta?: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vitrina/api",
3
- "version": "17.11.0",
3
+ "version": "17.11.2",
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",