@vitrina/api 14.118.3 → 15.0.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 +59 -24
- package/dist/index.d.ts +59 -24
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -166301,14 +166301,20 @@ interface paths {
|
|
|
166301
166301
|
* "error": null,
|
|
166302
166302
|
* "created_at": "2026-10-27T15:00:00.000Z",
|
|
166303
166303
|
* "completed_at": null,
|
|
166304
|
+
* "templates": [
|
|
166305
|
+
* "asi-de-facil",
|
|
166306
|
+
* "pov-chat",
|
|
166307
|
+
* "tasacion"
|
|
166308
|
+
* ],
|
|
166304
166309
|
* "voice_skipped": [],
|
|
166305
166310
|
* "renders": [
|
|
166306
166311
|
* {
|
|
166307
166312
|
* "id": "2b7e1d4a-8c3f-4a6e-9f10-3c4d5e6f7a81",
|
|
166308
|
-
* "render_key": "
|
|
166309
|
-
* "
|
|
166310
|
-
* "
|
|
166311
|
-
* "
|
|
166313
|
+
* "render_key": "tpl-asi-de-facil-20s-9x16-vo",
|
|
166314
|
+
* "template": "asi-de-facil",
|
|
166315
|
+
* "hook": null,
|
|
166316
|
+
* "cut": 20,
|
|
166317
|
+
* "aspect": "9x16",
|
|
166312
166318
|
* "voiced": true,
|
|
166313
166319
|
* "status": "ready",
|
|
166314
166320
|
* "error": null,
|
|
@@ -166320,9 +166326,10 @@ interface paths {
|
|
|
166320
166326
|
* },
|
|
166321
166327
|
* {
|
|
166322
166328
|
* "id": "5d1c8e2f-3a4b-4c5d-8e6f-7a8b9c0d1e22",
|
|
166323
|
-
* "render_key": "
|
|
166324
|
-
* "
|
|
166325
|
-
* "
|
|
166329
|
+
* "render_key": "tpl-pov-chat-20s-9x16-vo",
|
|
166330
|
+
* "template": "pov-chat",
|
|
166331
|
+
* "hook": null,
|
|
166332
|
+
* "cut": 20,
|
|
166326
166333
|
* "aspect": "9x16",
|
|
166327
166334
|
* "voiced": true,
|
|
166328
166335
|
* "status": "rendering",
|
|
@@ -166346,15 +166353,25 @@ interface paths {
|
|
|
166346
166353
|
error: string | null;
|
|
166347
166354
|
created_at: string;
|
|
166348
166355
|
completed_at: string | null;
|
|
166349
|
-
/** @description
|
|
166350
|
-
|
|
166356
|
+
/** @description What this set renders. */
|
|
166357
|
+
templates: ("asi-de-facil" | "pov-chat" | "tasacion" | "m30")[];
|
|
166358
|
+
/** @description M30 hooks rendered music-only because their voice-over cannot fit, and templates not rendered because their voice-over cannot fit 20 s (a long dealer name or landing address). */
|
|
166359
|
+
voice_skipped: string[];
|
|
166351
166360
|
renders: {
|
|
166352
166361
|
/** Format: uuid */
|
|
166353
166362
|
id: string;
|
|
166354
|
-
/** @description `hook<H>-<cut>s-<aspect>-<vo|novo
|
|
166363
|
+
/** @description `hook<H>-<cut>s-<aspect>-<vo|novo>` (M30) or `tpl-<template>-20s-9x16-vo`, unique in the set. */
|
|
166355
166364
|
render_key: string;
|
|
166356
|
-
/**
|
|
166357
|
-
|
|
166365
|
+
/**
|
|
166366
|
+
* @description The template that renders this video (`m30` = the original matrix).
|
|
166367
|
+
* @enum {string}
|
|
166368
|
+
*/
|
|
166369
|
+
template: "asi-de-facil" | "pov-chat" | "tasacion" | "m30";
|
|
166370
|
+
/**
|
|
166371
|
+
* @description The M30 hook; null for a template video.
|
|
166372
|
+
* @enum {string|null}
|
|
166373
|
+
*/
|
|
166374
|
+
hook: "A" | "B" | "C" | "D" | null;
|
|
166358
166375
|
cut: number;
|
|
166359
166376
|
/** @enum {string} */
|
|
166360
166377
|
aspect: "9x16" | "4x5";
|
|
@@ -166365,7 +166382,7 @@ interface paths {
|
|
|
166365
166382
|
error: string | null;
|
|
166366
166383
|
/**
|
|
166367
166384
|
* Format: uuid
|
|
166368
|
-
* @description Once ready: the `generated_video` creative asset. `POST /ads/lanzamientos` takes
|
|
166385
|
+
* @description Once ready: the `generated_video` creative asset. `POST /ads/lanzamientos` takes an M30 4:5 one as `videos[].feed_asset_id` and its 9:16 twin (same hook, cut and voice) as `vertical_asset_id`; a template video (9:16 only) goes alone as `feed_asset_id`.
|
|
166369
166386
|
*/
|
|
166370
166387
|
asset_id: string | null;
|
|
166371
166388
|
/** @description A 10-minute playback URL (ready only). */
|
|
@@ -166473,7 +166490,7 @@ interface paths {
|
|
|
166473
166490
|
put?: never;
|
|
166474
166491
|
/**
|
|
166475
166492
|
* Render the Lanzamiento consignment videos
|
|
166476
|
-
* @description Queues the generated consignment videos for a render set: the same dealer facts, stock photos and Oferta as its statics, rendered as the
|
|
166493
|
+
* @description Queues the generated consignment videos for a render set: the same dealer facts, stock photos and Oferta as its statics, rendered as the templates in `templates` (default: «Así de fácil», «POV: vendes tu auto solo», «¿Cuánto vale tu auto hoy?», one 9:16 voiced video each) and/or `m30`, the original consignment video (hooks × cuts × 9:16/4:5 × voiced/music-only). Answers 202 with the video set; poll `GET …/videos` until `status` is `done` or `failed`. Idempotent: asking again returns the same set and re-queues only the variants that failed. 409 `video_render_not_configured` while the render service is not set up; 409 `oferta_not_configured` when the set’s Oferta cannot back a claim.
|
|
166477
166494
|
*/
|
|
166478
166495
|
post: {
|
|
166479
166496
|
parameters: {
|
|
@@ -166491,13 +166508,16 @@ interface paths {
|
|
|
166491
166508
|
content: {
|
|
166492
166509
|
/**
|
|
166493
166510
|
* @example {
|
|
166494
|
-
* "
|
|
166495
|
-
* "
|
|
166496
|
-
*
|
|
166497
|
-
*
|
|
166511
|
+
* "templates": [
|
|
166512
|
+
* "asi-de-facil",
|
|
166513
|
+
* "pov-chat",
|
|
166514
|
+
* "tasacion"
|
|
166515
|
+
* ]
|
|
166498
166516
|
* }
|
|
166499
166517
|
*/
|
|
166500
166518
|
"application/json": {
|
|
166519
|
+
/** @description Which videos to render. `asi-de-facil` («Así de fácil»: the process as an animated explainer), `pov-chat` («POV: vendes tu auto solo»: a native chat, the chaos of selling alone and the relief), `tasacion` («¿Cuánto vale tu auto hoy?»: the patente, the commission, the floor as figures): one 9:16 voiced video each, ≤ 20 s, copy from the Oferta only. `m30`: the original consignment video (hooks × cuts × 4:5/9:16 × voiced/music-only; `hooks`, `cuts`, `aspects` and `voice` narrow it). Default: the three templates. Asking again with a template the set has not rendered adds it and keeps what is ready. */
|
|
166520
|
+
templates?: ("asi-de-facil" | "pov-chat" | "tasacion" | "m30")[];
|
|
166501
166521
|
/** @description Hooks to render. Default: every hook the Oferta allows (B needs a commission figure, C needs `segment_label`). */
|
|
166502
166522
|
hooks?: ("A" | "B" | "C")[];
|
|
166503
166523
|
/** @description Lengths in seconds. Default: `20` (the script with the form line needs it; a voiced cut too short for the script is reported as failed with the reason, its music-only twin renders). */
|
|
@@ -166530,6 +166550,11 @@ interface paths {
|
|
|
166530
166550
|
* "error": null,
|
|
166531
166551
|
* "created_at": "2026-10-27T15:00:00.000Z",
|
|
166532
166552
|
* "completed_at": null,
|
|
166553
|
+
* "templates": [
|
|
166554
|
+
* "asi-de-facil",
|
|
166555
|
+
* "pov-chat",
|
|
166556
|
+
* "tasacion"
|
|
166557
|
+
* ],
|
|
166533
166558
|
* "voice_skipped": [],
|
|
166534
166559
|
* "renders": []
|
|
166535
166560
|
* }
|
|
@@ -166547,15 +166572,25 @@ interface paths {
|
|
|
166547
166572
|
error: string | null;
|
|
166548
166573
|
created_at: string;
|
|
166549
166574
|
completed_at: string | null;
|
|
166550
|
-
/** @description
|
|
166551
|
-
|
|
166575
|
+
/** @description What this set renders. */
|
|
166576
|
+
templates: ("asi-de-facil" | "pov-chat" | "tasacion" | "m30")[];
|
|
166577
|
+
/** @description M30 hooks rendered music-only because their voice-over cannot fit, and templates not rendered because their voice-over cannot fit 20 s (a long dealer name or landing address). */
|
|
166578
|
+
voice_skipped: string[];
|
|
166552
166579
|
renders: {
|
|
166553
166580
|
/** Format: uuid */
|
|
166554
166581
|
id: string;
|
|
166555
|
-
/** @description `hook<H>-<cut>s-<aspect>-<vo|novo
|
|
166582
|
+
/** @description `hook<H>-<cut>s-<aspect>-<vo|novo>` (M30) or `tpl-<template>-20s-9x16-vo`, unique in the set. */
|
|
166556
166583
|
render_key: string;
|
|
166557
|
-
/**
|
|
166558
|
-
|
|
166584
|
+
/**
|
|
166585
|
+
* @description The template that renders this video (`m30` = the original matrix).
|
|
166586
|
+
* @enum {string}
|
|
166587
|
+
*/
|
|
166588
|
+
template: "asi-de-facil" | "pov-chat" | "tasacion" | "m30";
|
|
166589
|
+
/**
|
|
166590
|
+
* @description The M30 hook; null for a template video.
|
|
166591
|
+
* @enum {string|null}
|
|
166592
|
+
*/
|
|
166593
|
+
hook: "A" | "B" | "C" | "D" | null;
|
|
166559
166594
|
cut: number;
|
|
166560
166595
|
/** @enum {string} */
|
|
166561
166596
|
aspect: "9x16" | "4x5";
|
|
@@ -166566,7 +166601,7 @@ interface paths {
|
|
|
166566
166601
|
error: string | null;
|
|
166567
166602
|
/**
|
|
166568
166603
|
* Format: uuid
|
|
166569
|
-
* @description Once ready: the `generated_video` creative asset. `POST /ads/lanzamientos` takes
|
|
166604
|
+
* @description Once ready: the `generated_video` creative asset. `POST /ads/lanzamientos` takes an M30 4:5 one as `videos[].feed_asset_id` and its 9:16 twin (same hook, cut and voice) as `vertical_asset_id`; a template video (9:16 only) goes alone as `feed_asset_id`.
|
|
166570
166605
|
*/
|
|
166571
166606
|
asset_id: string | null;
|
|
166572
166607
|
/** @description A 10-minute playback URL (ready only). */
|
package/dist/index.d.ts
CHANGED
|
@@ -166301,14 +166301,20 @@ interface paths {
|
|
|
166301
166301
|
* "error": null,
|
|
166302
166302
|
* "created_at": "2026-10-27T15:00:00.000Z",
|
|
166303
166303
|
* "completed_at": null,
|
|
166304
|
+
* "templates": [
|
|
166305
|
+
* "asi-de-facil",
|
|
166306
|
+
* "pov-chat",
|
|
166307
|
+
* "tasacion"
|
|
166308
|
+
* ],
|
|
166304
166309
|
* "voice_skipped": [],
|
|
166305
166310
|
* "renders": [
|
|
166306
166311
|
* {
|
|
166307
166312
|
* "id": "2b7e1d4a-8c3f-4a6e-9f10-3c4d5e6f7a81",
|
|
166308
|
-
* "render_key": "
|
|
166309
|
-
* "
|
|
166310
|
-
* "
|
|
166311
|
-
* "
|
|
166313
|
+
* "render_key": "tpl-asi-de-facil-20s-9x16-vo",
|
|
166314
|
+
* "template": "asi-de-facil",
|
|
166315
|
+
* "hook": null,
|
|
166316
|
+
* "cut": 20,
|
|
166317
|
+
* "aspect": "9x16",
|
|
166312
166318
|
* "voiced": true,
|
|
166313
166319
|
* "status": "ready",
|
|
166314
166320
|
* "error": null,
|
|
@@ -166320,9 +166326,10 @@ interface paths {
|
|
|
166320
166326
|
* },
|
|
166321
166327
|
* {
|
|
166322
166328
|
* "id": "5d1c8e2f-3a4b-4c5d-8e6f-7a8b9c0d1e22",
|
|
166323
|
-
* "render_key": "
|
|
166324
|
-
* "
|
|
166325
|
-
* "
|
|
166329
|
+
* "render_key": "tpl-pov-chat-20s-9x16-vo",
|
|
166330
|
+
* "template": "pov-chat",
|
|
166331
|
+
* "hook": null,
|
|
166332
|
+
* "cut": 20,
|
|
166326
166333
|
* "aspect": "9x16",
|
|
166327
166334
|
* "voiced": true,
|
|
166328
166335
|
* "status": "rendering",
|
|
@@ -166346,15 +166353,25 @@ interface paths {
|
|
|
166346
166353
|
error: string | null;
|
|
166347
166354
|
created_at: string;
|
|
166348
166355
|
completed_at: string | null;
|
|
166349
|
-
/** @description
|
|
166350
|
-
|
|
166356
|
+
/** @description What this set renders. */
|
|
166357
|
+
templates: ("asi-de-facil" | "pov-chat" | "tasacion" | "m30")[];
|
|
166358
|
+
/** @description M30 hooks rendered music-only because their voice-over cannot fit, and templates not rendered because their voice-over cannot fit 20 s (a long dealer name or landing address). */
|
|
166359
|
+
voice_skipped: string[];
|
|
166351
166360
|
renders: {
|
|
166352
166361
|
/** Format: uuid */
|
|
166353
166362
|
id: string;
|
|
166354
|
-
/** @description `hook<H>-<cut>s-<aspect>-<vo|novo
|
|
166363
|
+
/** @description `hook<H>-<cut>s-<aspect>-<vo|novo>` (M30) or `tpl-<template>-20s-9x16-vo`, unique in the set. */
|
|
166355
166364
|
render_key: string;
|
|
166356
|
-
/**
|
|
166357
|
-
|
|
166365
|
+
/**
|
|
166366
|
+
* @description The template that renders this video (`m30` = the original matrix).
|
|
166367
|
+
* @enum {string}
|
|
166368
|
+
*/
|
|
166369
|
+
template: "asi-de-facil" | "pov-chat" | "tasacion" | "m30";
|
|
166370
|
+
/**
|
|
166371
|
+
* @description The M30 hook; null for a template video.
|
|
166372
|
+
* @enum {string|null}
|
|
166373
|
+
*/
|
|
166374
|
+
hook: "A" | "B" | "C" | "D" | null;
|
|
166358
166375
|
cut: number;
|
|
166359
166376
|
/** @enum {string} */
|
|
166360
166377
|
aspect: "9x16" | "4x5";
|
|
@@ -166365,7 +166382,7 @@ interface paths {
|
|
|
166365
166382
|
error: string | null;
|
|
166366
166383
|
/**
|
|
166367
166384
|
* Format: uuid
|
|
166368
|
-
* @description Once ready: the `generated_video` creative asset. `POST /ads/lanzamientos` takes
|
|
166385
|
+
* @description Once ready: the `generated_video` creative asset. `POST /ads/lanzamientos` takes an M30 4:5 one as `videos[].feed_asset_id` and its 9:16 twin (same hook, cut and voice) as `vertical_asset_id`; a template video (9:16 only) goes alone as `feed_asset_id`.
|
|
166369
166386
|
*/
|
|
166370
166387
|
asset_id: string | null;
|
|
166371
166388
|
/** @description A 10-minute playback URL (ready only). */
|
|
@@ -166473,7 +166490,7 @@ interface paths {
|
|
|
166473
166490
|
put?: never;
|
|
166474
166491
|
/**
|
|
166475
166492
|
* Render the Lanzamiento consignment videos
|
|
166476
|
-
* @description Queues the generated consignment videos for a render set: the same dealer facts, stock photos and Oferta as its statics, rendered as the
|
|
166493
|
+
* @description Queues the generated consignment videos for a render set: the same dealer facts, stock photos and Oferta as its statics, rendered as the templates in `templates` (default: «Así de fácil», «POV: vendes tu auto solo», «¿Cuánto vale tu auto hoy?», one 9:16 voiced video each) and/or `m30`, the original consignment video (hooks × cuts × 9:16/4:5 × voiced/music-only). Answers 202 with the video set; poll `GET …/videos` until `status` is `done` or `failed`. Idempotent: asking again returns the same set and re-queues only the variants that failed. 409 `video_render_not_configured` while the render service is not set up; 409 `oferta_not_configured` when the set’s Oferta cannot back a claim.
|
|
166477
166494
|
*/
|
|
166478
166495
|
post: {
|
|
166479
166496
|
parameters: {
|
|
@@ -166491,13 +166508,16 @@ interface paths {
|
|
|
166491
166508
|
content: {
|
|
166492
166509
|
/**
|
|
166493
166510
|
* @example {
|
|
166494
|
-
* "
|
|
166495
|
-
* "
|
|
166496
|
-
*
|
|
166497
|
-
*
|
|
166511
|
+
* "templates": [
|
|
166512
|
+
* "asi-de-facil",
|
|
166513
|
+
* "pov-chat",
|
|
166514
|
+
* "tasacion"
|
|
166515
|
+
* ]
|
|
166498
166516
|
* }
|
|
166499
166517
|
*/
|
|
166500
166518
|
"application/json": {
|
|
166519
|
+
/** @description Which videos to render. `asi-de-facil` («Así de fácil»: the process as an animated explainer), `pov-chat` («POV: vendes tu auto solo»: a native chat, the chaos of selling alone and the relief), `tasacion` («¿Cuánto vale tu auto hoy?»: the patente, the commission, the floor as figures): one 9:16 voiced video each, ≤ 20 s, copy from the Oferta only. `m30`: the original consignment video (hooks × cuts × 4:5/9:16 × voiced/music-only; `hooks`, `cuts`, `aspects` and `voice` narrow it). Default: the three templates. Asking again with a template the set has not rendered adds it and keeps what is ready. */
|
|
166520
|
+
templates?: ("asi-de-facil" | "pov-chat" | "tasacion" | "m30")[];
|
|
166501
166521
|
/** @description Hooks to render. Default: every hook the Oferta allows (B needs a commission figure, C needs `segment_label`). */
|
|
166502
166522
|
hooks?: ("A" | "B" | "C")[];
|
|
166503
166523
|
/** @description Lengths in seconds. Default: `20` (the script with the form line needs it; a voiced cut too short for the script is reported as failed with the reason, its music-only twin renders). */
|
|
@@ -166530,6 +166550,11 @@ interface paths {
|
|
|
166530
166550
|
* "error": null,
|
|
166531
166551
|
* "created_at": "2026-10-27T15:00:00.000Z",
|
|
166532
166552
|
* "completed_at": null,
|
|
166553
|
+
* "templates": [
|
|
166554
|
+
* "asi-de-facil",
|
|
166555
|
+
* "pov-chat",
|
|
166556
|
+
* "tasacion"
|
|
166557
|
+
* ],
|
|
166533
166558
|
* "voice_skipped": [],
|
|
166534
166559
|
* "renders": []
|
|
166535
166560
|
* }
|
|
@@ -166547,15 +166572,25 @@ interface paths {
|
|
|
166547
166572
|
error: string | null;
|
|
166548
166573
|
created_at: string;
|
|
166549
166574
|
completed_at: string | null;
|
|
166550
|
-
/** @description
|
|
166551
|
-
|
|
166575
|
+
/** @description What this set renders. */
|
|
166576
|
+
templates: ("asi-de-facil" | "pov-chat" | "tasacion" | "m30")[];
|
|
166577
|
+
/** @description M30 hooks rendered music-only because their voice-over cannot fit, and templates not rendered because their voice-over cannot fit 20 s (a long dealer name or landing address). */
|
|
166578
|
+
voice_skipped: string[];
|
|
166552
166579
|
renders: {
|
|
166553
166580
|
/** Format: uuid */
|
|
166554
166581
|
id: string;
|
|
166555
|
-
/** @description `hook<H>-<cut>s-<aspect>-<vo|novo
|
|
166582
|
+
/** @description `hook<H>-<cut>s-<aspect>-<vo|novo>` (M30) or `tpl-<template>-20s-9x16-vo`, unique in the set. */
|
|
166556
166583
|
render_key: string;
|
|
166557
|
-
/**
|
|
166558
|
-
|
|
166584
|
+
/**
|
|
166585
|
+
* @description The template that renders this video (`m30` = the original matrix).
|
|
166586
|
+
* @enum {string}
|
|
166587
|
+
*/
|
|
166588
|
+
template: "asi-de-facil" | "pov-chat" | "tasacion" | "m30";
|
|
166589
|
+
/**
|
|
166590
|
+
* @description The M30 hook; null for a template video.
|
|
166591
|
+
* @enum {string|null}
|
|
166592
|
+
*/
|
|
166593
|
+
hook: "A" | "B" | "C" | "D" | null;
|
|
166559
166594
|
cut: number;
|
|
166560
166595
|
/** @enum {string} */
|
|
166561
166596
|
aspect: "9x16" | "4x5";
|
|
@@ -166566,7 +166601,7 @@ interface paths {
|
|
|
166566
166601
|
error: string | null;
|
|
166567
166602
|
/**
|
|
166568
166603
|
* Format: uuid
|
|
166569
|
-
* @description Once ready: the `generated_video` creative asset. `POST /ads/lanzamientos` takes
|
|
166604
|
+
* @description Once ready: the `generated_video` creative asset. `POST /ads/lanzamientos` takes an M30 4:5 one as `videos[].feed_asset_id` and its 9:16 twin (same hook, cut and voice) as `vertical_asset_id`; a template video (9:16 only) goes alone as `feed_asset_id`.
|
|
166570
166605
|
*/
|
|
166571
166606
|
asset_id: string | null;
|
|
166572
166607
|
/** @description A 10-minute playback URL (ready only). */
|
package/package.json
CHANGED