@vitrina/api 17.95.0 → 17.97.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
@@ -18750,7 +18750,7 @@ interface paths {
18750
18750
  without_acquisition?: boolean | string;
18751
18751
  view?: "published" | "unpublished" | "error" | "stale" | "source_deactivated" | "sin_costo" | "mandato_sin_firmar";
18752
18752
  active?: boolean | string;
18753
- sort?: "price_asc" | "price_desc" | "year_desc" | "year_asc" | "km_asc" | "km_desc" | "recent" | "days_desc" | "interest_desc" | "estacionamiento";
18753
+ sort?: "price_asc" | "price_desc" | "year_desc" | "year_asc" | "km_asc" | "km_desc" | "recent" | "created_desc" | "days_desc" | "interest_desc" | "estacionamiento" | "name_asc" | "name_desc";
18754
18754
  limit?: number;
18755
18755
  offset?: number | null;
18756
18756
  };
@@ -19321,7 +19321,7 @@ interface paths {
19321
19321
  tenencia?: "propio" | "consignacion";
19322
19322
  consignacion_modalidad?: "en_local" | "virtual" | "sin_contrato";
19323
19323
  tenencia_source?: "document" | "declared" | "default" | "decided";
19324
- sort?: "price_asc" | "price_desc" | "year_desc" | "year_asc" | "km_asc" | "km_desc" | "recent" | "published_asc" | "published_desc" | "created_asc" | "created_desc" | "days_desc" | "interest_desc" | "estacionamiento";
19324
+ sort?: "price_asc" | "price_desc" | "year_desc" | "year_asc" | "km_asc" | "km_desc" | "recent" | "published_asc" | "published_desc" | "created_asc" | "created_desc" | "days_desc" | "interest_desc" | "estacionamiento" | "name_asc" | "name_desc";
19325
19325
  ids?: string;
19326
19326
  include_inactive?: boolean | null;
19327
19327
  include_internal_prices?: boolean | null;
@@ -51762,7 +51762,9 @@ interface paths {
51762
51762
  * "signed_document_type": null,
51763
51763
  * "signed_document_id": null,
51764
51764
  * "label": null,
51765
- * "expires_on": null
51765
+ * "expires_on": null,
51766
+ * "customer_shareable": false,
51767
+ * "customer_share_allowed": true
51766
51768
  * },
51767
51769
  * {
51768
51770
  * "id": "f1f1f1f1-0000-4000-8000-000000000002",
@@ -51781,7 +51783,9 @@ interface paths {
51781
51783
  * "signed_document_type": null,
51782
51784
  * "signed_document_id": null,
51783
51785
  * "label": null,
51784
- * "expires_on": null
51786
+ * "expires_on": null,
51787
+ * "customer_shareable": false,
51788
+ * "customer_share_allowed": false
51785
51789
  * },
51786
51790
  * {
51787
51791
  * "id": "f1f1f1f1-0000-4000-8000-000000000003",
@@ -51800,7 +51804,9 @@ interface paths {
51800
51804
  * "signed_document_type": "compraventa",
51801
51805
  * "signed_document_id": "d4d4d4d4-0000-4000-8000-000000000001",
51802
51806
  * "label": null,
51803
- * "expires_on": null
51807
+ * "expires_on": null,
51808
+ * "customer_shareable": false,
51809
+ * "customer_share_allowed": false
51804
51810
  * },
51805
51811
  * {
51806
51812
  * "id": "f1f1f1f1-0000-4000-8000-000000000004",
@@ -51819,7 +51825,9 @@ interface paths {
51819
51825
  * "signed_document_type": null,
51820
51826
  * "signed_document_id": null,
51821
51827
  * "label": null,
51822
- * "expires_on": "2027-03-31"
51828
+ * "expires_on": "2027-03-31",
51829
+ * "customer_shareable": false,
51830
+ * "customer_share_allowed": true
51823
51831
  * },
51824
51832
  * {
51825
51833
  * "id": "f1f1f1f1-0000-4000-8000-000000000005",
@@ -51838,7 +51846,9 @@ interface paths {
51838
51846
  * "signed_document_type": null,
51839
51847
  * "signed_document_id": null,
51840
51848
  * "label": "Informe mecánico",
51841
- * "expires_on": null
51849
+ * "expires_on": null,
51850
+ * "customer_shareable": true,
51851
+ * "customer_share_allowed": true
51842
51852
  * }
51843
51853
  * ]
51844
51854
  * }
@@ -51958,6 +51968,8 @@ interface paths {
51958
51968
  */
51959
51969
  label?: string;
51960
51970
  expires_on?: string | "";
51971
+ /** @description «Se puede enviar a clientes»: `true` lets a customer receive this paper in a conversation (the AI agent sends it when asked — an informe Autofact, the revisión técnica, the padrón); `false` keeps it internal. Refused (400) on a `cedula`, a `contrato`, a `factura`, a paper naming a person (`subject_contact_id`) and a signed copy — each row says so in `customer_share_allowed`. It never publishes the paper to a portal. */
51972
+ customer_shareable?: boolean | ("true" | "false");
51961
51973
  /**
51962
51974
  * Format: uuid
51963
51975
  * @description Replace a filed paper: the id of the paper this file supersedes (same car, same kind; not a signed copy). The old paper is erased only after the new one is filed.
@@ -52006,6 +52018,8 @@ interface paths {
52006
52018
  */
52007
52019
  label?: string;
52008
52020
  expires_on?: string | "";
52021
+ /** @description «Se puede enviar a clientes»: `true` lets a customer receive this paper in a conversation (the AI agent sends it when asked — an informe Autofact, the revisión técnica, the padrón); `false` keeps it internal. Refused (400) on a `cedula`, a `contrato`, a `factura`, a paper naming a person (`subject_contact_id`) and a signed copy — each row says so in `customer_share_allowed`. It never publishes the paper to a portal. */
52022
+ customer_shareable?: boolean | ("true" | "false");
52009
52023
  /**
52010
52024
  * Format: uuid
52011
52025
  * @description Replace a filed paper: the id of the paper this file supersedes (same car, same kind; not a signed copy). The old paper is erased only after the new one is filed.
@@ -52040,7 +52054,9 @@ interface paths {
52040
52054
  * "signed_document_type": null,
52041
52055
  * "signed_document_id": null,
52042
52056
  * "label": null,
52043
- * "expires_on": null
52057
+ * "expires_on": null,
52058
+ * "customer_shareable": false,
52059
+ * "customer_share_allowed": true
52044
52060
  * }
52045
52061
  * }
52046
52062
  */
@@ -52297,8 +52313,8 @@ interface paths {
52297
52313
  options?: never;
52298
52314
  head?: never;
52299
52315
  /**
52300
- * Rename a paper or set its «Vence» day
52301
- * @description ADR 0114 §7 — corrects a filed paper without touching its file: `label` renames a paper filed as `otro` (a named kind — SOAP, padrón… — is named by its kind and refuses a label, 400); `expires_on` sets the day the paper stops being valid, `null` clears it. A new file is a replace (`POST` with `replaces_id`), not this. Recorded in the car’s Historial.
52316
+ * Rename a paper, set its «Vence» day or let customers receive it
52317
+ * @description ADR 0114 §7 — corrects a filed paper without touching its file: `label` renames a paper filed as `otro` (a named kind — SOAP, padrón… — is named by its kind and refuses a label, 400); `expires_on` sets the day the paper stops being valid, `null` clears it; `customer_shareable` marks the paper «Se puede enviar a clientes» — the AI agent then sends it to a customer who asks for it (400 on a cédula, a contrato, a factura, a paper naming a person or a signed copy; `customer_share_allowed` on the row says which). A new file is a replace (`POST` with `replaces_id`), not this. Recorded in the car’s Historial.
52302
52318
  */
52303
52319
  patch: {
52304
52320
  parameters: {
@@ -52327,6 +52343,8 @@ interface paths {
52327
52343
  * @example 2027-03-31
52328
52344
  */
52329
52345
  expires_on?: string | null;
52346
+ /** @description «Se puede enviar a clientes»: `true` lets a customer receive this paper in a conversation (the AI agent sends it when asked — an informe Autofact, the revisión técnica, the padrón); `false` keeps it internal. Refused (400) on a `cedula`, a `contrato`, a `factura`, a paper naming a person (`subject_contact_id`) and a signed copy — each row says so in `customer_share_allowed`. It never publishes the paper to a portal. */
52347
+ customer_shareable?: boolean;
52330
52348
  };
52331
52349
  };
52332
52350
  };
@@ -52356,7 +52374,9 @@ interface paths {
52356
52374
  * "signed_document_type": null,
52357
52375
  * "signed_document_id": null,
52358
52376
  * "label": null,
52359
- * "expires_on": "2027-03-31"
52377
+ * "expires_on": "2027-03-31",
52378
+ * "customer_shareable": false,
52379
+ * "customer_share_allowed": true
52360
52380
  * }
52361
52381
  * }
52362
52382
  */
package/dist/index.d.ts CHANGED
@@ -18750,7 +18750,7 @@ interface paths {
18750
18750
  without_acquisition?: boolean | string;
18751
18751
  view?: "published" | "unpublished" | "error" | "stale" | "source_deactivated" | "sin_costo" | "mandato_sin_firmar";
18752
18752
  active?: boolean | string;
18753
- sort?: "price_asc" | "price_desc" | "year_desc" | "year_asc" | "km_asc" | "km_desc" | "recent" | "days_desc" | "interest_desc" | "estacionamiento";
18753
+ sort?: "price_asc" | "price_desc" | "year_desc" | "year_asc" | "km_asc" | "km_desc" | "recent" | "created_desc" | "days_desc" | "interest_desc" | "estacionamiento" | "name_asc" | "name_desc";
18754
18754
  limit?: number;
18755
18755
  offset?: number | null;
18756
18756
  };
@@ -19321,7 +19321,7 @@ interface paths {
19321
19321
  tenencia?: "propio" | "consignacion";
19322
19322
  consignacion_modalidad?: "en_local" | "virtual" | "sin_contrato";
19323
19323
  tenencia_source?: "document" | "declared" | "default" | "decided";
19324
- sort?: "price_asc" | "price_desc" | "year_desc" | "year_asc" | "km_asc" | "km_desc" | "recent" | "published_asc" | "published_desc" | "created_asc" | "created_desc" | "days_desc" | "interest_desc" | "estacionamiento";
19324
+ sort?: "price_asc" | "price_desc" | "year_desc" | "year_asc" | "km_asc" | "km_desc" | "recent" | "published_asc" | "published_desc" | "created_asc" | "created_desc" | "days_desc" | "interest_desc" | "estacionamiento" | "name_asc" | "name_desc";
19325
19325
  ids?: string;
19326
19326
  include_inactive?: boolean | null;
19327
19327
  include_internal_prices?: boolean | null;
@@ -51762,7 +51762,9 @@ interface paths {
51762
51762
  * "signed_document_type": null,
51763
51763
  * "signed_document_id": null,
51764
51764
  * "label": null,
51765
- * "expires_on": null
51765
+ * "expires_on": null,
51766
+ * "customer_shareable": false,
51767
+ * "customer_share_allowed": true
51766
51768
  * },
51767
51769
  * {
51768
51770
  * "id": "f1f1f1f1-0000-4000-8000-000000000002",
@@ -51781,7 +51783,9 @@ interface paths {
51781
51783
  * "signed_document_type": null,
51782
51784
  * "signed_document_id": null,
51783
51785
  * "label": null,
51784
- * "expires_on": null
51786
+ * "expires_on": null,
51787
+ * "customer_shareable": false,
51788
+ * "customer_share_allowed": false
51785
51789
  * },
51786
51790
  * {
51787
51791
  * "id": "f1f1f1f1-0000-4000-8000-000000000003",
@@ -51800,7 +51804,9 @@ interface paths {
51800
51804
  * "signed_document_type": "compraventa",
51801
51805
  * "signed_document_id": "d4d4d4d4-0000-4000-8000-000000000001",
51802
51806
  * "label": null,
51803
- * "expires_on": null
51807
+ * "expires_on": null,
51808
+ * "customer_shareable": false,
51809
+ * "customer_share_allowed": false
51804
51810
  * },
51805
51811
  * {
51806
51812
  * "id": "f1f1f1f1-0000-4000-8000-000000000004",
@@ -51819,7 +51825,9 @@ interface paths {
51819
51825
  * "signed_document_type": null,
51820
51826
  * "signed_document_id": null,
51821
51827
  * "label": null,
51822
- * "expires_on": "2027-03-31"
51828
+ * "expires_on": "2027-03-31",
51829
+ * "customer_shareable": false,
51830
+ * "customer_share_allowed": true
51823
51831
  * },
51824
51832
  * {
51825
51833
  * "id": "f1f1f1f1-0000-4000-8000-000000000005",
@@ -51838,7 +51846,9 @@ interface paths {
51838
51846
  * "signed_document_type": null,
51839
51847
  * "signed_document_id": null,
51840
51848
  * "label": "Informe mecánico",
51841
- * "expires_on": null
51849
+ * "expires_on": null,
51850
+ * "customer_shareable": true,
51851
+ * "customer_share_allowed": true
51842
51852
  * }
51843
51853
  * ]
51844
51854
  * }
@@ -51958,6 +51968,8 @@ interface paths {
51958
51968
  */
51959
51969
  label?: string;
51960
51970
  expires_on?: string | "";
51971
+ /** @description «Se puede enviar a clientes»: `true` lets a customer receive this paper in a conversation (the AI agent sends it when asked — an informe Autofact, the revisión técnica, the padrón); `false` keeps it internal. Refused (400) on a `cedula`, a `contrato`, a `factura`, a paper naming a person (`subject_contact_id`) and a signed copy — each row says so in `customer_share_allowed`. It never publishes the paper to a portal. */
51972
+ customer_shareable?: boolean | ("true" | "false");
51961
51973
  /**
51962
51974
  * Format: uuid
51963
51975
  * @description Replace a filed paper: the id of the paper this file supersedes (same car, same kind; not a signed copy). The old paper is erased only after the new one is filed.
@@ -52006,6 +52018,8 @@ interface paths {
52006
52018
  */
52007
52019
  label?: string;
52008
52020
  expires_on?: string | "";
52021
+ /** @description «Se puede enviar a clientes»: `true` lets a customer receive this paper in a conversation (the AI agent sends it when asked — an informe Autofact, the revisión técnica, the padrón); `false` keeps it internal. Refused (400) on a `cedula`, a `contrato`, a `factura`, a paper naming a person (`subject_contact_id`) and a signed copy — each row says so in `customer_share_allowed`. It never publishes the paper to a portal. */
52022
+ customer_shareable?: boolean | ("true" | "false");
52009
52023
  /**
52010
52024
  * Format: uuid
52011
52025
  * @description Replace a filed paper: the id of the paper this file supersedes (same car, same kind; not a signed copy). The old paper is erased only after the new one is filed.
@@ -52040,7 +52054,9 @@ interface paths {
52040
52054
  * "signed_document_type": null,
52041
52055
  * "signed_document_id": null,
52042
52056
  * "label": null,
52043
- * "expires_on": null
52057
+ * "expires_on": null,
52058
+ * "customer_shareable": false,
52059
+ * "customer_share_allowed": true
52044
52060
  * }
52045
52061
  * }
52046
52062
  */
@@ -52297,8 +52313,8 @@ interface paths {
52297
52313
  options?: never;
52298
52314
  head?: never;
52299
52315
  /**
52300
- * Rename a paper or set its «Vence» day
52301
- * @description ADR 0114 §7 — corrects a filed paper without touching its file: `label` renames a paper filed as `otro` (a named kind — SOAP, padrón… — is named by its kind and refuses a label, 400); `expires_on` sets the day the paper stops being valid, `null` clears it. A new file is a replace (`POST` with `replaces_id`), not this. Recorded in the car’s Historial.
52316
+ * Rename a paper, set its «Vence» day or let customers receive it
52317
+ * @description ADR 0114 §7 — corrects a filed paper without touching its file: `label` renames a paper filed as `otro` (a named kind — SOAP, padrón… — is named by its kind and refuses a label, 400); `expires_on` sets the day the paper stops being valid, `null` clears it; `customer_shareable` marks the paper «Se puede enviar a clientes» — the AI agent then sends it to a customer who asks for it (400 on a cédula, a contrato, a factura, a paper naming a person or a signed copy; `customer_share_allowed` on the row says which). A new file is a replace (`POST` with `replaces_id`), not this. Recorded in the car’s Historial.
52302
52318
  */
52303
52319
  patch: {
52304
52320
  parameters: {
@@ -52327,6 +52343,8 @@ interface paths {
52327
52343
  * @example 2027-03-31
52328
52344
  */
52329
52345
  expires_on?: string | null;
52346
+ /** @description «Se puede enviar a clientes»: `true` lets a customer receive this paper in a conversation (the AI agent sends it when asked — an informe Autofact, the revisión técnica, the padrón); `false` keeps it internal. Refused (400) on a `cedula`, a `contrato`, a `factura`, a paper naming a person (`subject_contact_id`) and a signed copy — each row says so in `customer_share_allowed`. It never publishes the paper to a portal. */
52347
+ customer_shareable?: boolean;
52330
52348
  };
52331
52349
  };
52332
52350
  };
@@ -52356,7 +52374,9 @@ interface paths {
52356
52374
  * "signed_document_type": null,
52357
52375
  * "signed_document_id": null,
52358
52376
  * "label": null,
52359
- * "expires_on": "2027-03-31"
52377
+ * "expires_on": "2027-03-31",
52378
+ * "customer_shareable": false,
52379
+ * "customer_share_allowed": true
52360
52380
  * }
52361
52381
  * }
52362
52382
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vitrina/api",
3
- "version": "17.95.0",
3
+ "version": "17.97.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",