@vitrina/api 14.37.0 → 14.39.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
@@ -11253,6 +11253,7 @@ interface paths {
11253
11253
  * "assignee_ai_agent_id": null,
11254
11254
  * "help_center_id": null,
11255
11255
  * "public_number_id": null,
11256
+ * "display_phone": null,
11256
11257
  * "voice_attachable": false,
11257
11258
  * "voice_attach_source": null,
11258
11259
  * "created_at": "2026-01-10T13:00:00.000Z",
@@ -11388,6 +11389,7 @@ interface paths {
11388
11389
  * "assignee_ai_agent_id": null,
11389
11390
  * "help_center_id": null,
11390
11391
  * "public_number_id": null,
11392
+ * "display_phone": null,
11391
11393
  * "voice_attachable": false,
11392
11394
  * "voice_attach_source": null,
11393
11395
  * "created_at": "2026-01-10T13:00:00.000Z",
@@ -17637,6 +17639,13 @@ interface paths {
17637
17639
  * "close_retry_count": 0,
17638
17640
  * "portal_state": null,
17639
17641
  * "portal_state_at": null,
17642
+ * "last_push_status": "updated",
17643
+ * "last_push_at": "2026-09-19T09:58:00.000Z",
17644
+ * "last_push_error": null,
17645
+ * "last_push_fields": [
17646
+ * "priceAmount"
17647
+ * ],
17648
+ * "push_delivery": "api",
17640
17649
  * "raw_provider_payload": null,
17641
17650
  * "created_at": "2026-09-16T09:00:00.000Z",
17642
17651
  * "updated_at": "2026-09-19T10:00:00.000Z"
@@ -17663,6 +17672,13 @@ interface paths {
17663
17672
  * "close_retry_count": 0,
17664
17673
  * "portal_state": "active",
17665
17674
  * "portal_state_at": "2026-09-19T10:00:00.000Z",
17675
+ * "last_push_status": "updated",
17676
+ * "last_push_at": "2026-09-19T09:58:00.000Z",
17677
+ * "last_push_error": null,
17678
+ * "last_push_fields": [
17679
+ * "priceAmount"
17680
+ * ],
17681
+ * "push_delivery": "api",
17666
17682
  * "raw_provider_payload": null,
17667
17683
  * "created_at": "2026-09-16T09:00:00.000Z",
17668
17684
  * "updated_at": "2026-09-19T10:00:00.000Z"
@@ -19918,6 +19934,8 @@ interface paths {
19918
19934
  /**
19919
19935
  * List marketplace publications of a vehicle
19920
19936
  * @description Every publication row for this vehicle, one per connected portal it has ever been sent to — including a `deleted`/`error` row from a past close/unpublish, since a row here is a tombstone rather than an absence. `status` is the real `PublicationStatus` (never a boolean): `pending` (device-agent transport, facebook_marketplace — enqueued but not yet posted), `published`/`imported`/`updating`/`error` (live on the portal — `error` too, since only a later refresh failed), `removing` (device-agent transport — a removal was enqueued but not yet confirmed, so the ad is presumptively **still live**, the opposite fact from `pending`), `paused` (Cierre de avisos reversible hide, portals that support pausing) or `deleted` (gone, or a portal-specific terminal state like Chileautos’ `Withdrawn`). `external_id` is the portal’s own id for the ad; it is never a key inside Vitrina.
19937
+ *
19938
+ * **Per-portal push status.** After a dealer edit, each row reports the result of its last push: `last_push_status` is `updating` (the edit is queued, running or being retried), `updated` (the portal took it; `last_push_at` is when and `last_push_fields` lists what went out) or `failed` (the final retry failed: `last_push_error` is the portal’s reason in Spanish, `last_push_at` is when it gave up). A failed push retries automatically and the row stays `failed` until a later push succeeds; one portal failing never changes the others. `null` means never pushed. `push_delivery` says what `updated` means: `api` (the change is on the portal), `feed` (Yapo: the change is in the feed and shows when Yapo reads it) or `extension` (Facebook Marketplace: queued for the dealer’s browser extension). The same fields ride on `GET /vehicles/publications`.
19921
19939
  */
19922
19940
  get: {
19923
19941
  parameters: {
@@ -19955,6 +19973,13 @@ interface paths {
19955
19973
  * "close_retry_count": 0,
19956
19974
  * "portal_state": "active",
19957
19975
  * "portal_state_at": "2026-09-19T10:00:00.000Z",
19976
+ * "last_push_status": "updated",
19977
+ * "last_push_at": "2026-09-19T09:58:00.000Z",
19978
+ * "last_push_error": null,
19979
+ * "last_push_fields": [
19980
+ * "priceAmount"
19981
+ * ],
19982
+ * "push_delivery": "api",
19958
19983
  * "raw_provider_payload": null,
19959
19984
  * "created_at": "2026-09-16T09:00:00.000Z",
19960
19985
  * "updated_at": "2026-09-19T10:00:00.000Z"
@@ -20108,6 +20133,13 @@ interface paths {
20108
20133
  * "close_retry_count": 0,
20109
20134
  * "portal_state": "active",
20110
20135
  * "portal_state_at": "2026-09-19T10:00:00.000Z",
20136
+ * "last_push_status": "updated",
20137
+ * "last_push_at": "2026-09-19T09:58:00.000Z",
20138
+ * "last_push_error": null,
20139
+ * "last_push_fields": [
20140
+ * "priceAmount"
20141
+ * ],
20142
+ * "push_delivery": "api",
20111
20143
  * "raw_provider_payload": null,
20112
20144
  * "created_at": "2026-09-16T09:00:00.000Z",
20113
20145
  * "updated_at": "2026-09-19T10:00:00.000Z"
@@ -20134,6 +20166,13 @@ interface paths {
20134
20166
  * "close_retry_count": 0,
20135
20167
  * "portal_state": null,
20136
20168
  * "portal_state_at": null,
20169
+ * "last_push_status": "updated",
20170
+ * "last_push_at": "2026-09-19T09:58:00.000Z",
20171
+ * "last_push_error": null,
20172
+ * "last_push_fields": [
20173
+ * "priceAmount"
20174
+ * ],
20175
+ * "push_delivery": "api",
20137
20176
  * "raw_provider_payload": null,
20138
20177
  * "created_at": "2026-09-16T09:00:00.000Z",
20139
20178
  * "updated_at": "2026-09-19T10:00:00.000Z"
@@ -20264,6 +20303,13 @@ interface paths {
20264
20303
  * "close_retry_count": 0,
20265
20304
  * "portal_state": "active",
20266
20305
  * "portal_state_at": "2026-09-19T10:00:00.000Z",
20306
+ * "last_push_status": "updated",
20307
+ * "last_push_at": "2026-09-19T09:58:00.000Z",
20308
+ * "last_push_error": null,
20309
+ * "last_push_fields": [
20310
+ * "priceAmount"
20311
+ * ],
20312
+ * "push_delivery": "api",
20267
20313
  * "raw_provider_payload": null,
20268
20314
  * "created_at": "2026-09-16T09:00:00.000Z",
20269
20315
  * "updated_at": "2026-09-19T10:00:00.000Z"
@@ -160190,6 +160236,7 @@ interface paths {
160190
160236
  * "access_token": "APP_••••9z"
160191
160237
  * },
160192
160238
  * "has_credentials": true,
160239
+ * "has_user_login": false,
160193
160240
  * "enabled": true,
160194
160241
  * "sync_enabled": true,
160195
160242
  * "publish_enabled": true,
@@ -160284,7 +160331,7 @@ interface paths {
160284
160331
  };
160285
160332
  /**
160286
160333
  * Fetch one marketplace account
160287
- * @description The account view: configuration, `verification_status`, and `has_credentials` / `secrets_preview` rather than the secrets themselves. This is what to poll after a 202 from `/verify`.
160334
+ * @description The account view: configuration, `verification_status`, and `has_credentials` / `secrets_preview` rather than the secrets themselves (`has_user_login` says whether a Veekls app user is stored). This is what to poll after a 202 from `/verify`.
160288
160335
  */
160289
160336
  get: {
160290
160337
  parameters: {
@@ -160320,6 +160367,7 @@ interface paths {
160320
160367
  * "access_token": "APP_••••9z"
160321
160368
  * },
160322
160369
  * "has_credentials": true,
160370
+ * "has_user_login": false,
160323
160371
  * "enabled": true,
160324
160372
  * "sync_enabled": true,
160325
160373
  * "publish_enabled": true,
@@ -169616,7 +169664,7 @@ interface paths {
169616
169664
  * Publications for many vehicles at once
169617
169665
  * @description The batched read behind the inventory list: pass `ids` and get every vehicle’s publications in one call instead of N. Capped at 100 ids per request — page the list and batch per page.
169618
169666
  *
169619
- * Note `deleted` publications are tombstones rather than absences, so a vehicle that was unpublished still has rows here; read each row’s status rather than treating presence as "published". Automotive-vertical only: a workspace on another vertical gets 403 here however its scopes are set.
169667
+ * Note `deleted` publications are tombstones rather than absences, so a vehicle that was unpublished still has rows here; read each row’s status rather than treating presence as "published". Each row also carries the per-portal push status of the last edit: `last_push_status` (`updating` | `updated` | `failed` | null), `last_push_at`, `last_push_error` (the portal’s reason when `failed`), `last_push_fields` and `push_delivery` (`api` | `feed` | `extension`; Yapo is `feed`: `updated` means the change is in the feed it reads). See `GET /vehicles/{id}/publications`. Automotive-vertical only: a workspace on another vertical gets 403 here however its scopes are set.
169620
169668
  */
169621
169669
  get: {
169622
169670
  parameters: {
@@ -169655,6 +169703,13 @@ interface paths {
169655
169703
  * "close_retry_count": 0,
169656
169704
  * "portal_state": "active",
169657
169705
  * "portal_state_at": "2026-09-19T10:00:00.000Z",
169706
+ * "last_push_status": "updated",
169707
+ * "last_push_at": "2026-09-19T09:58:00.000Z",
169708
+ * "last_push_error": null,
169709
+ * "last_push_fields": [
169710
+ * "priceAmount"
169711
+ * ],
169712
+ * "push_delivery": "api",
169658
169713
  * "raw_provider_payload": null,
169659
169714
  * "created_at": "2026-09-16T09:00:00.000Z",
169660
169715
  * "updated_at": "2026-09-19T10:00:00.000Z"
package/dist/index.d.ts CHANGED
@@ -11253,6 +11253,7 @@ interface paths {
11253
11253
  * "assignee_ai_agent_id": null,
11254
11254
  * "help_center_id": null,
11255
11255
  * "public_number_id": null,
11256
+ * "display_phone": null,
11256
11257
  * "voice_attachable": false,
11257
11258
  * "voice_attach_source": null,
11258
11259
  * "created_at": "2026-01-10T13:00:00.000Z",
@@ -11388,6 +11389,7 @@ interface paths {
11388
11389
  * "assignee_ai_agent_id": null,
11389
11390
  * "help_center_id": null,
11390
11391
  * "public_number_id": null,
11392
+ * "display_phone": null,
11391
11393
  * "voice_attachable": false,
11392
11394
  * "voice_attach_source": null,
11393
11395
  * "created_at": "2026-01-10T13:00:00.000Z",
@@ -17637,6 +17639,13 @@ interface paths {
17637
17639
  * "close_retry_count": 0,
17638
17640
  * "portal_state": null,
17639
17641
  * "portal_state_at": null,
17642
+ * "last_push_status": "updated",
17643
+ * "last_push_at": "2026-09-19T09:58:00.000Z",
17644
+ * "last_push_error": null,
17645
+ * "last_push_fields": [
17646
+ * "priceAmount"
17647
+ * ],
17648
+ * "push_delivery": "api",
17640
17649
  * "raw_provider_payload": null,
17641
17650
  * "created_at": "2026-09-16T09:00:00.000Z",
17642
17651
  * "updated_at": "2026-09-19T10:00:00.000Z"
@@ -17663,6 +17672,13 @@ interface paths {
17663
17672
  * "close_retry_count": 0,
17664
17673
  * "portal_state": "active",
17665
17674
  * "portal_state_at": "2026-09-19T10:00:00.000Z",
17675
+ * "last_push_status": "updated",
17676
+ * "last_push_at": "2026-09-19T09:58:00.000Z",
17677
+ * "last_push_error": null,
17678
+ * "last_push_fields": [
17679
+ * "priceAmount"
17680
+ * ],
17681
+ * "push_delivery": "api",
17666
17682
  * "raw_provider_payload": null,
17667
17683
  * "created_at": "2026-09-16T09:00:00.000Z",
17668
17684
  * "updated_at": "2026-09-19T10:00:00.000Z"
@@ -19918,6 +19934,8 @@ interface paths {
19918
19934
  /**
19919
19935
  * List marketplace publications of a vehicle
19920
19936
  * @description Every publication row for this vehicle, one per connected portal it has ever been sent to — including a `deleted`/`error` row from a past close/unpublish, since a row here is a tombstone rather than an absence. `status` is the real `PublicationStatus` (never a boolean): `pending` (device-agent transport, facebook_marketplace — enqueued but not yet posted), `published`/`imported`/`updating`/`error` (live on the portal — `error` too, since only a later refresh failed), `removing` (device-agent transport — a removal was enqueued but not yet confirmed, so the ad is presumptively **still live**, the opposite fact from `pending`), `paused` (Cierre de avisos reversible hide, portals that support pausing) or `deleted` (gone, or a portal-specific terminal state like Chileautos’ `Withdrawn`). `external_id` is the portal’s own id for the ad; it is never a key inside Vitrina.
19937
+ *
19938
+ * **Per-portal push status.** After a dealer edit, each row reports the result of its last push: `last_push_status` is `updating` (the edit is queued, running or being retried), `updated` (the portal took it; `last_push_at` is when and `last_push_fields` lists what went out) or `failed` (the final retry failed: `last_push_error` is the portal’s reason in Spanish, `last_push_at` is when it gave up). A failed push retries automatically and the row stays `failed` until a later push succeeds; one portal failing never changes the others. `null` means never pushed. `push_delivery` says what `updated` means: `api` (the change is on the portal), `feed` (Yapo: the change is in the feed and shows when Yapo reads it) or `extension` (Facebook Marketplace: queued for the dealer’s browser extension). The same fields ride on `GET /vehicles/publications`.
19921
19939
  */
19922
19940
  get: {
19923
19941
  parameters: {
@@ -19955,6 +19973,13 @@ interface paths {
19955
19973
  * "close_retry_count": 0,
19956
19974
  * "portal_state": "active",
19957
19975
  * "portal_state_at": "2026-09-19T10:00:00.000Z",
19976
+ * "last_push_status": "updated",
19977
+ * "last_push_at": "2026-09-19T09:58:00.000Z",
19978
+ * "last_push_error": null,
19979
+ * "last_push_fields": [
19980
+ * "priceAmount"
19981
+ * ],
19982
+ * "push_delivery": "api",
19958
19983
  * "raw_provider_payload": null,
19959
19984
  * "created_at": "2026-09-16T09:00:00.000Z",
19960
19985
  * "updated_at": "2026-09-19T10:00:00.000Z"
@@ -20108,6 +20133,13 @@ interface paths {
20108
20133
  * "close_retry_count": 0,
20109
20134
  * "portal_state": "active",
20110
20135
  * "portal_state_at": "2026-09-19T10:00:00.000Z",
20136
+ * "last_push_status": "updated",
20137
+ * "last_push_at": "2026-09-19T09:58:00.000Z",
20138
+ * "last_push_error": null,
20139
+ * "last_push_fields": [
20140
+ * "priceAmount"
20141
+ * ],
20142
+ * "push_delivery": "api",
20111
20143
  * "raw_provider_payload": null,
20112
20144
  * "created_at": "2026-09-16T09:00:00.000Z",
20113
20145
  * "updated_at": "2026-09-19T10:00:00.000Z"
@@ -20134,6 +20166,13 @@ interface paths {
20134
20166
  * "close_retry_count": 0,
20135
20167
  * "portal_state": null,
20136
20168
  * "portal_state_at": null,
20169
+ * "last_push_status": "updated",
20170
+ * "last_push_at": "2026-09-19T09:58:00.000Z",
20171
+ * "last_push_error": null,
20172
+ * "last_push_fields": [
20173
+ * "priceAmount"
20174
+ * ],
20175
+ * "push_delivery": "api",
20137
20176
  * "raw_provider_payload": null,
20138
20177
  * "created_at": "2026-09-16T09:00:00.000Z",
20139
20178
  * "updated_at": "2026-09-19T10:00:00.000Z"
@@ -20264,6 +20303,13 @@ interface paths {
20264
20303
  * "close_retry_count": 0,
20265
20304
  * "portal_state": "active",
20266
20305
  * "portal_state_at": "2026-09-19T10:00:00.000Z",
20306
+ * "last_push_status": "updated",
20307
+ * "last_push_at": "2026-09-19T09:58:00.000Z",
20308
+ * "last_push_error": null,
20309
+ * "last_push_fields": [
20310
+ * "priceAmount"
20311
+ * ],
20312
+ * "push_delivery": "api",
20267
20313
  * "raw_provider_payload": null,
20268
20314
  * "created_at": "2026-09-16T09:00:00.000Z",
20269
20315
  * "updated_at": "2026-09-19T10:00:00.000Z"
@@ -160190,6 +160236,7 @@ interface paths {
160190
160236
  * "access_token": "APP_••••9z"
160191
160237
  * },
160192
160238
  * "has_credentials": true,
160239
+ * "has_user_login": false,
160193
160240
  * "enabled": true,
160194
160241
  * "sync_enabled": true,
160195
160242
  * "publish_enabled": true,
@@ -160284,7 +160331,7 @@ interface paths {
160284
160331
  };
160285
160332
  /**
160286
160333
  * Fetch one marketplace account
160287
- * @description The account view: configuration, `verification_status`, and `has_credentials` / `secrets_preview` rather than the secrets themselves. This is what to poll after a 202 from `/verify`.
160334
+ * @description The account view: configuration, `verification_status`, and `has_credentials` / `secrets_preview` rather than the secrets themselves (`has_user_login` says whether a Veekls app user is stored). This is what to poll after a 202 from `/verify`.
160288
160335
  */
160289
160336
  get: {
160290
160337
  parameters: {
@@ -160320,6 +160367,7 @@ interface paths {
160320
160367
  * "access_token": "APP_••••9z"
160321
160368
  * },
160322
160369
  * "has_credentials": true,
160370
+ * "has_user_login": false,
160323
160371
  * "enabled": true,
160324
160372
  * "sync_enabled": true,
160325
160373
  * "publish_enabled": true,
@@ -169616,7 +169664,7 @@ interface paths {
169616
169664
  * Publications for many vehicles at once
169617
169665
  * @description The batched read behind the inventory list: pass `ids` and get every vehicle’s publications in one call instead of N. Capped at 100 ids per request — page the list and batch per page.
169618
169666
  *
169619
- * Note `deleted` publications are tombstones rather than absences, so a vehicle that was unpublished still has rows here; read each row’s status rather than treating presence as "published". Automotive-vertical only: a workspace on another vertical gets 403 here however its scopes are set.
169667
+ * Note `deleted` publications are tombstones rather than absences, so a vehicle that was unpublished still has rows here; read each row’s status rather than treating presence as "published". Each row also carries the per-portal push status of the last edit: `last_push_status` (`updating` | `updated` | `failed` | null), `last_push_at`, `last_push_error` (the portal’s reason when `failed`), `last_push_fields` and `push_delivery` (`api` | `feed` | `extension`; Yapo is `feed`: `updated` means the change is in the feed it reads). See `GET /vehicles/{id}/publications`. Automotive-vertical only: a workspace on another vertical gets 403 here however its scopes are set.
169620
169668
  */
169621
169669
  get: {
169622
169670
  parameters: {
@@ -169655,6 +169703,13 @@ interface paths {
169655
169703
  * "close_retry_count": 0,
169656
169704
  * "portal_state": "active",
169657
169705
  * "portal_state_at": "2026-09-19T10:00:00.000Z",
169706
+ * "last_push_status": "updated",
169707
+ * "last_push_at": "2026-09-19T09:58:00.000Z",
169708
+ * "last_push_error": null,
169709
+ * "last_push_fields": [
169710
+ * "priceAmount"
169711
+ * ],
169712
+ * "push_delivery": "api",
169658
169713
  * "raw_provider_payload": null,
169659
169714
  * "created_at": "2026-09-16T09:00:00.000Z",
169660
169715
  * "updated_at": "2026-09-19T10:00:00.000Z"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vitrina/api",
3
- "version": "14.37.0",
3
+ "version": "14.39.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",