@vitrina/api 17.97.1 → 17.99.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 +32 -11
- package/dist/index.d.ts +32 -11
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -23642,6 +23642,7 @@ interface paths {
|
|
|
23642
23642
|
metadata?: {
|
|
23643
23643
|
[key: string]: unknown;
|
|
23644
23644
|
};
|
|
23645
|
+
internal_only?: boolean;
|
|
23645
23646
|
};
|
|
23646
23647
|
};
|
|
23647
23648
|
};
|
|
@@ -24013,6 +24014,7 @@ interface paths {
|
|
|
24013
24014
|
metadata?: {
|
|
24014
24015
|
[key: string]: unknown;
|
|
24015
24016
|
};
|
|
24017
|
+
internal_only?: boolean;
|
|
24016
24018
|
is_active?: boolean;
|
|
24017
24019
|
};
|
|
24018
24020
|
};
|
|
@@ -51719,7 +51721,7 @@ interface paths {
|
|
|
51719
51721
|
};
|
|
51720
51722
|
/**
|
|
51721
51723
|
* List the car's papers
|
|
51722
|
-
* @description `vehicle_id` is required; there is no tenant-wide list of documents. Newest first. Each paper carries its `kind`, its `label` (an `otro` paper) and its `expires_on` («Vence»), when recorded.
|
|
51724
|
+
* @description `vehicle_id` is required; there is no tenant-wide list of documents. Newest first. Each paper carries its `kind`, its `label` (an `otro` paper) and its `expires_on` («Vence»), when recorded. `meta.kinds` lists every kind with `customer_share_allowed` (may a paper of this kind be sent to customers) and `customer_shareable_default` (is it sendable when the upload does not say) — what an upload form needs before the paper exists.
|
|
51723
51725
|
*
|
|
51724
51726
|
* `expiring_within_days` (ADR 0114 §7) narrows to the papers «Vencido» or due within that many days, soonest first, each with `expiry_state`; without `vehicle_id` it covers every car in stock and never returns a cédula or a paper naming a person. The same papers raise the `vehicle_papers_expiring` dealer alert and fill the Stock counts `papers_expired` / `papers_expiring` on `GET /vehicles/stats`.
|
|
51725
51727
|
*/
|
|
@@ -51727,7 +51729,7 @@ interface paths {
|
|
|
51727
51729
|
parameters: {
|
|
51728
51730
|
query?: {
|
|
51729
51731
|
vehicle_id?: string;
|
|
51730
|
-
kind?: "padron" | "cedula" | "contrato" | "certificado_anotaciones" | "factura" | "permiso_circulacion" | "revision_tecnica" | "soap" | "otro";
|
|
51732
|
+
kind?: "padron" | "cedula" | "contrato" | "certificado_anotaciones" | "factura" | "permiso_circulacion" | "revision_tecnica" | "soap" | "informe_vehiculo" | "otro";
|
|
51731
51733
|
expiring_within_days?: number;
|
|
51732
51734
|
};
|
|
51733
51735
|
header?: never;
|
|
@@ -51850,7 +51852,26 @@ interface paths {
|
|
|
51850
51852
|
* "customer_shareable": true,
|
|
51851
51853
|
* "customer_share_allowed": true
|
|
51852
51854
|
* }
|
|
51853
|
-
* ]
|
|
51855
|
+
* ],
|
|
51856
|
+
* "meta": {
|
|
51857
|
+
* "kinds": [
|
|
51858
|
+
* {
|
|
51859
|
+
* "kind": "padron",
|
|
51860
|
+
* "customer_share_allowed": true,
|
|
51861
|
+
* "customer_shareable_default": false
|
|
51862
|
+
* },
|
|
51863
|
+
* {
|
|
51864
|
+
* "kind": "cedula",
|
|
51865
|
+
* "customer_share_allowed": false,
|
|
51866
|
+
* "customer_shareable_default": false
|
|
51867
|
+
* },
|
|
51868
|
+
* {
|
|
51869
|
+
* "kind": "informe_vehiculo",
|
|
51870
|
+
* "customer_share_allowed": true,
|
|
51871
|
+
* "customer_shareable_default": true
|
|
51872
|
+
* }
|
|
51873
|
+
* ]
|
|
51874
|
+
* }
|
|
51854
51875
|
* }
|
|
51855
51876
|
*/
|
|
51856
51877
|
"application/json": {
|
|
@@ -51922,7 +51943,7 @@ interface paths {
|
|
|
51922
51943
|
* File one of the car's papers (multipart/form-data)
|
|
51923
51944
|
* @description Capped at the configured max size; the file part is required. PDF or an image (JPEG, PNG, WebP, HEIC, TIFF — a phone photo of a paper is fine).
|
|
51924
51945
|
*
|
|
51925
|
-
* THE CAR’S PAPERS (ADR 0114 §7): `kind` names the paper — `permiso_circulacion`, `revision_tecnica`, `soap`, `padron`, `certificado_anotaciones` (CAV), `factura`, `contrato`, `cedula`. Any other paper is `otro` with a `label` that names it («Factura de compra», «Informe mecánico»); a `label` with no `kind` files it as `otro`. `expires_on` records the day the paper stops being valid («Vence»). `replaces_id` supersedes a filed paper of the same kind: the old one is erased once the new one is filed.
|
|
51946
|
+
* THE CAR’S PAPERS (ADR 0114 §7): `kind` names the paper — `permiso_circulacion`, `revision_tecnica`, `soap`, `padron`, `certificado_anotaciones` (CAV), `informe_vehiculo` (the car’s history report — Autofact in Chile — which is filed as sendable to customers unless `customer_shareable` says otherwise), `factura`, `contrato`, `cedula`. Any other paper is `otro` with a `label` that names it («Factura de compra», «Informe mecánico»); a `label` with no `kind` files it as `otro`. `expires_on` records the day the paper stops being valid («Vence»). `replaces_id` supersedes a filed paper of the same kind: the old one is erased once the new one is filed.
|
|
51926
51947
|
*
|
|
51927
51948
|
* A SIGNED COPY of one of the car’s documents (ADR 0114 §7) is filed with `signed_document_type` (`purchase_note`, `sale_note`, `compraventa`, `consignment_contract`, `liquidacion`) and `signed_document_id` (the nota de venta’s id for a compraventa, the consignación’s id for a liquidación). The document must be this car’s, and a compraventa must have been printed; `kind` may then be omitted — it is `contrato` for the compraventa and the mandato, `otro` for the rest — and a contradicting `kind` is refused (400). `GET /vehicles/{id}/documents` shows the copy on its document.
|
|
51928
51949
|
*
|
|
@@ -51952,10 +51973,10 @@ interface paths {
|
|
|
51952
51973
|
/** Format: uuid */
|
|
51953
51974
|
vehicle_id: string;
|
|
51954
51975
|
/**
|
|
51955
|
-
* @description Which paper: `padron` (padrón / certificado de inscripción), `certificado_anotaciones` (certificado de anotaciones vigentes, CAV), `permiso_circulacion` (permiso de circulación), `revision_tecnica` (revisión técnica), `soap` (SOAP), `factura`, `contrato` (contrato firmado), `cedula` (cédula de identidad del dueño o consignante) or `otro` (any other paper, named by `label`).
|
|
51976
|
+
* @description Which paper: `padron` (padrón / certificado de inscripción), `certificado_anotaciones` (certificado de anotaciones vigentes, CAV), `permiso_circulacion` (permiso de circulación), `revision_tecnica` (revisión técnica), `soap` (SOAP), `factura`, `contrato` (contrato firmado), `informe_vehiculo` (informe del vehículo: the car’s history report, Autofact in Chile), `cedula` (cédula de identidad del dueño o consignante) or `otro` (any other paper, named by `label`).
|
|
51956
51977
|
* @enum {string}
|
|
51957
51978
|
*/
|
|
51958
|
-
kind?: "padron" | "cedula" | "contrato" | "certificado_anotaciones" | "factura" | "permiso_circulacion" | "revision_tecnica" | "soap" | "otro";
|
|
51979
|
+
kind?: "padron" | "cedula" | "contrato" | "certificado_anotaciones" | "factura" | "permiso_circulacion" | "revision_tecnica" | "soap" | "informe_vehiculo" | "otro";
|
|
51959
51980
|
/** Format: uuid */
|
|
51960
51981
|
subject_contact_id?: string;
|
|
51961
51982
|
/** @enum {string} */
|
|
@@ -51968,7 +51989,7 @@ interface paths {
|
|
|
51968
51989
|
*/
|
|
51969
51990
|
label?: string;
|
|
51970
51991
|
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. */
|
|
51992
|
+
/** @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. Omitted on upload, an `informe_vehiculo` is sendable and every other kind is internal (`meta.kinds` on the list says so per kind). 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
51993
|
customer_shareable?: boolean | ("true" | "false");
|
|
51973
51994
|
/**
|
|
51974
51995
|
* Format: uuid
|
|
@@ -52002,10 +52023,10 @@ interface paths {
|
|
|
52002
52023
|
/** Format: uuid */
|
|
52003
52024
|
vehicle_id: string;
|
|
52004
52025
|
/**
|
|
52005
|
-
* @description Which paper: `padron` (padrón / certificado de inscripción), `certificado_anotaciones` (certificado de anotaciones vigentes, CAV), `permiso_circulacion` (permiso de circulación), `revision_tecnica` (revisión técnica), `soap` (SOAP), `factura`, `contrato` (contrato firmado), `cedula` (cédula de identidad del dueño o consignante) or `otro` (any other paper, named by `label`).
|
|
52026
|
+
* @description Which paper: `padron` (padrón / certificado de inscripción), `certificado_anotaciones` (certificado de anotaciones vigentes, CAV), `permiso_circulacion` (permiso de circulación), `revision_tecnica` (revisión técnica), `soap` (SOAP), `factura`, `contrato` (contrato firmado), `informe_vehiculo` (informe del vehículo: the car’s history report, Autofact in Chile), `cedula` (cédula de identidad del dueño o consignante) or `otro` (any other paper, named by `label`).
|
|
52006
52027
|
* @enum {string}
|
|
52007
52028
|
*/
|
|
52008
|
-
kind?: "padron" | "cedula" | "contrato" | "certificado_anotaciones" | "factura" | "permiso_circulacion" | "revision_tecnica" | "soap" | "otro";
|
|
52029
|
+
kind?: "padron" | "cedula" | "contrato" | "certificado_anotaciones" | "factura" | "permiso_circulacion" | "revision_tecnica" | "soap" | "informe_vehiculo" | "otro";
|
|
52009
52030
|
/** Format: uuid */
|
|
52010
52031
|
subject_contact_id?: string;
|
|
52011
52032
|
/** @enum {string} */
|
|
@@ -52018,7 +52039,7 @@ interface paths {
|
|
|
52018
52039
|
*/
|
|
52019
52040
|
label?: string;
|
|
52020
52041
|
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. */
|
|
52042
|
+
/** @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. Omitted on upload, an `informe_vehiculo` is sendable and every other kind is internal (`meta.kinds` on the list says so per kind). 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
52043
|
customer_shareable?: boolean | ("true" | "false");
|
|
52023
52044
|
/**
|
|
52024
52045
|
* Format: uuid
|
|
@@ -52343,7 +52364,7 @@ interface paths {
|
|
|
52343
52364
|
* @example 2027-03-31
|
|
52344
52365
|
*/
|
|
52345
52366
|
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. */
|
|
52367
|
+
/** @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. Omitted on upload, an `informe_vehiculo` is sendable and every other kind is internal (`meta.kinds` on the list says so per kind). 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
52368
|
customer_shareable?: boolean;
|
|
52348
52369
|
};
|
|
52349
52370
|
};
|
package/dist/index.d.ts
CHANGED
|
@@ -23642,6 +23642,7 @@ interface paths {
|
|
|
23642
23642
|
metadata?: {
|
|
23643
23643
|
[key: string]: unknown;
|
|
23644
23644
|
};
|
|
23645
|
+
internal_only?: boolean;
|
|
23645
23646
|
};
|
|
23646
23647
|
};
|
|
23647
23648
|
};
|
|
@@ -24013,6 +24014,7 @@ interface paths {
|
|
|
24013
24014
|
metadata?: {
|
|
24014
24015
|
[key: string]: unknown;
|
|
24015
24016
|
};
|
|
24017
|
+
internal_only?: boolean;
|
|
24016
24018
|
is_active?: boolean;
|
|
24017
24019
|
};
|
|
24018
24020
|
};
|
|
@@ -51719,7 +51721,7 @@ interface paths {
|
|
|
51719
51721
|
};
|
|
51720
51722
|
/**
|
|
51721
51723
|
* List the car's papers
|
|
51722
|
-
* @description `vehicle_id` is required; there is no tenant-wide list of documents. Newest first. Each paper carries its `kind`, its `label` (an `otro` paper) and its `expires_on` («Vence»), when recorded.
|
|
51724
|
+
* @description `vehicle_id` is required; there is no tenant-wide list of documents. Newest first. Each paper carries its `kind`, its `label` (an `otro` paper) and its `expires_on` («Vence»), when recorded. `meta.kinds` lists every kind with `customer_share_allowed` (may a paper of this kind be sent to customers) and `customer_shareable_default` (is it sendable when the upload does not say) — what an upload form needs before the paper exists.
|
|
51723
51725
|
*
|
|
51724
51726
|
* `expiring_within_days` (ADR 0114 §7) narrows to the papers «Vencido» or due within that many days, soonest first, each with `expiry_state`; without `vehicle_id` it covers every car in stock and never returns a cédula or a paper naming a person. The same papers raise the `vehicle_papers_expiring` dealer alert and fill the Stock counts `papers_expired` / `papers_expiring` on `GET /vehicles/stats`.
|
|
51725
51727
|
*/
|
|
@@ -51727,7 +51729,7 @@ interface paths {
|
|
|
51727
51729
|
parameters: {
|
|
51728
51730
|
query?: {
|
|
51729
51731
|
vehicle_id?: string;
|
|
51730
|
-
kind?: "padron" | "cedula" | "contrato" | "certificado_anotaciones" | "factura" | "permiso_circulacion" | "revision_tecnica" | "soap" | "otro";
|
|
51732
|
+
kind?: "padron" | "cedula" | "contrato" | "certificado_anotaciones" | "factura" | "permiso_circulacion" | "revision_tecnica" | "soap" | "informe_vehiculo" | "otro";
|
|
51731
51733
|
expiring_within_days?: number;
|
|
51732
51734
|
};
|
|
51733
51735
|
header?: never;
|
|
@@ -51850,7 +51852,26 @@ interface paths {
|
|
|
51850
51852
|
* "customer_shareable": true,
|
|
51851
51853
|
* "customer_share_allowed": true
|
|
51852
51854
|
* }
|
|
51853
|
-
* ]
|
|
51855
|
+
* ],
|
|
51856
|
+
* "meta": {
|
|
51857
|
+
* "kinds": [
|
|
51858
|
+
* {
|
|
51859
|
+
* "kind": "padron",
|
|
51860
|
+
* "customer_share_allowed": true,
|
|
51861
|
+
* "customer_shareable_default": false
|
|
51862
|
+
* },
|
|
51863
|
+
* {
|
|
51864
|
+
* "kind": "cedula",
|
|
51865
|
+
* "customer_share_allowed": false,
|
|
51866
|
+
* "customer_shareable_default": false
|
|
51867
|
+
* },
|
|
51868
|
+
* {
|
|
51869
|
+
* "kind": "informe_vehiculo",
|
|
51870
|
+
* "customer_share_allowed": true,
|
|
51871
|
+
* "customer_shareable_default": true
|
|
51872
|
+
* }
|
|
51873
|
+
* ]
|
|
51874
|
+
* }
|
|
51854
51875
|
* }
|
|
51855
51876
|
*/
|
|
51856
51877
|
"application/json": {
|
|
@@ -51922,7 +51943,7 @@ interface paths {
|
|
|
51922
51943
|
* File one of the car's papers (multipart/form-data)
|
|
51923
51944
|
* @description Capped at the configured max size; the file part is required. PDF or an image (JPEG, PNG, WebP, HEIC, TIFF — a phone photo of a paper is fine).
|
|
51924
51945
|
*
|
|
51925
|
-
* THE CAR’S PAPERS (ADR 0114 §7): `kind` names the paper — `permiso_circulacion`, `revision_tecnica`, `soap`, `padron`, `certificado_anotaciones` (CAV), `factura`, `contrato`, `cedula`. Any other paper is `otro` with a `label` that names it («Factura de compra», «Informe mecánico»); a `label` with no `kind` files it as `otro`. `expires_on` records the day the paper stops being valid («Vence»). `replaces_id` supersedes a filed paper of the same kind: the old one is erased once the new one is filed.
|
|
51946
|
+
* THE CAR’S PAPERS (ADR 0114 §7): `kind` names the paper — `permiso_circulacion`, `revision_tecnica`, `soap`, `padron`, `certificado_anotaciones` (CAV), `informe_vehiculo` (the car’s history report — Autofact in Chile — which is filed as sendable to customers unless `customer_shareable` says otherwise), `factura`, `contrato`, `cedula`. Any other paper is `otro` with a `label` that names it («Factura de compra», «Informe mecánico»); a `label` with no `kind` files it as `otro`. `expires_on` records the day the paper stops being valid («Vence»). `replaces_id` supersedes a filed paper of the same kind: the old one is erased once the new one is filed.
|
|
51926
51947
|
*
|
|
51927
51948
|
* A SIGNED COPY of one of the car’s documents (ADR 0114 §7) is filed with `signed_document_type` (`purchase_note`, `sale_note`, `compraventa`, `consignment_contract`, `liquidacion`) and `signed_document_id` (the nota de venta’s id for a compraventa, the consignación’s id for a liquidación). The document must be this car’s, and a compraventa must have been printed; `kind` may then be omitted — it is `contrato` for the compraventa and the mandato, `otro` for the rest — and a contradicting `kind` is refused (400). `GET /vehicles/{id}/documents` shows the copy on its document.
|
|
51928
51949
|
*
|
|
@@ -51952,10 +51973,10 @@ interface paths {
|
|
|
51952
51973
|
/** Format: uuid */
|
|
51953
51974
|
vehicle_id: string;
|
|
51954
51975
|
/**
|
|
51955
|
-
* @description Which paper: `padron` (padrón / certificado de inscripción), `certificado_anotaciones` (certificado de anotaciones vigentes, CAV), `permiso_circulacion` (permiso de circulación), `revision_tecnica` (revisión técnica), `soap` (SOAP), `factura`, `contrato` (contrato firmado), `cedula` (cédula de identidad del dueño o consignante) or `otro` (any other paper, named by `label`).
|
|
51976
|
+
* @description Which paper: `padron` (padrón / certificado de inscripción), `certificado_anotaciones` (certificado de anotaciones vigentes, CAV), `permiso_circulacion` (permiso de circulación), `revision_tecnica` (revisión técnica), `soap` (SOAP), `factura`, `contrato` (contrato firmado), `informe_vehiculo` (informe del vehículo: the car’s history report, Autofact in Chile), `cedula` (cédula de identidad del dueño o consignante) or `otro` (any other paper, named by `label`).
|
|
51956
51977
|
* @enum {string}
|
|
51957
51978
|
*/
|
|
51958
|
-
kind?: "padron" | "cedula" | "contrato" | "certificado_anotaciones" | "factura" | "permiso_circulacion" | "revision_tecnica" | "soap" | "otro";
|
|
51979
|
+
kind?: "padron" | "cedula" | "contrato" | "certificado_anotaciones" | "factura" | "permiso_circulacion" | "revision_tecnica" | "soap" | "informe_vehiculo" | "otro";
|
|
51959
51980
|
/** Format: uuid */
|
|
51960
51981
|
subject_contact_id?: string;
|
|
51961
51982
|
/** @enum {string} */
|
|
@@ -51968,7 +51989,7 @@ interface paths {
|
|
|
51968
51989
|
*/
|
|
51969
51990
|
label?: string;
|
|
51970
51991
|
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. */
|
|
51992
|
+
/** @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. Omitted on upload, an `informe_vehiculo` is sendable and every other kind is internal (`meta.kinds` on the list says so per kind). 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
51993
|
customer_shareable?: boolean | ("true" | "false");
|
|
51973
51994
|
/**
|
|
51974
51995
|
* Format: uuid
|
|
@@ -52002,10 +52023,10 @@ interface paths {
|
|
|
52002
52023
|
/** Format: uuid */
|
|
52003
52024
|
vehicle_id: string;
|
|
52004
52025
|
/**
|
|
52005
|
-
* @description Which paper: `padron` (padrón / certificado de inscripción), `certificado_anotaciones` (certificado de anotaciones vigentes, CAV), `permiso_circulacion` (permiso de circulación), `revision_tecnica` (revisión técnica), `soap` (SOAP), `factura`, `contrato` (contrato firmado), `cedula` (cédula de identidad del dueño o consignante) or `otro` (any other paper, named by `label`).
|
|
52026
|
+
* @description Which paper: `padron` (padrón / certificado de inscripción), `certificado_anotaciones` (certificado de anotaciones vigentes, CAV), `permiso_circulacion` (permiso de circulación), `revision_tecnica` (revisión técnica), `soap` (SOAP), `factura`, `contrato` (contrato firmado), `informe_vehiculo` (informe del vehículo: the car’s history report, Autofact in Chile), `cedula` (cédula de identidad del dueño o consignante) or `otro` (any other paper, named by `label`).
|
|
52006
52027
|
* @enum {string}
|
|
52007
52028
|
*/
|
|
52008
|
-
kind?: "padron" | "cedula" | "contrato" | "certificado_anotaciones" | "factura" | "permiso_circulacion" | "revision_tecnica" | "soap" | "otro";
|
|
52029
|
+
kind?: "padron" | "cedula" | "contrato" | "certificado_anotaciones" | "factura" | "permiso_circulacion" | "revision_tecnica" | "soap" | "informe_vehiculo" | "otro";
|
|
52009
52030
|
/** Format: uuid */
|
|
52010
52031
|
subject_contact_id?: string;
|
|
52011
52032
|
/** @enum {string} */
|
|
@@ -52018,7 +52039,7 @@ interface paths {
|
|
|
52018
52039
|
*/
|
|
52019
52040
|
label?: string;
|
|
52020
52041
|
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. */
|
|
52042
|
+
/** @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. Omitted on upload, an `informe_vehiculo` is sendable and every other kind is internal (`meta.kinds` on the list says so per kind). 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
52043
|
customer_shareable?: boolean | ("true" | "false");
|
|
52023
52044
|
/**
|
|
52024
52045
|
* Format: uuid
|
|
@@ -52343,7 +52364,7 @@ interface paths {
|
|
|
52343
52364
|
* @example 2027-03-31
|
|
52344
52365
|
*/
|
|
52345
52366
|
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. */
|
|
52367
|
+
/** @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. Omitted on upload, an `informe_vehiculo` is sendable and every other kind is internal (`meta.kinds` on the list says so per kind). 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
52368
|
customer_shareable?: boolean;
|
|
52348
52369
|
};
|
|
52349
52370
|
};
|
package/package.json
CHANGED