@vitrina/api 14.112.0 → 14.113.1
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 +109 -0
- package/dist/index.d.ts +109 -0
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -178988,6 +178988,115 @@ interface paths {
|
|
|
178988
178988
|
patch?: never;
|
|
178989
178989
|
trace?: never;
|
|
178990
178990
|
};
|
|
178991
|
+
"/marketplaces/yapo/feed-swap": {
|
|
178992
|
+
parameters: {
|
|
178993
|
+
query?: never;
|
|
178994
|
+
header?: never;
|
|
178995
|
+
path?: never;
|
|
178996
|
+
cookie?: never;
|
|
178997
|
+
};
|
|
178998
|
+
/**
|
|
178999
|
+
* Yapo feed swap: ads to replace and progress
|
|
179000
|
+
* @description What connecting the Yapo XML feed would do to the workspace’s Yapo panel ads, for the consent step (vitrina-app#5956). `ads_to_replace` counts the live panel ads matched to cars still in stock that the feed would replace; `consent_required` is true when it is above 0, and then `message` is the sentence to show (Spanish). Send `yapo_feed_swap_consent: true` with the connect (`POST /marketplaces` with `provider: yapo`, or `PUT /marketplaces/{id}` re-enabling a feed).
|
|
179001
|
+
*
|
|
179002
|
+
* `swaps` counts this workspace’s swap rows per state: `awaiting_feed_ad` (the car’s feed ad is not live yet), `deleting_old_ad` (seen; the old ad’s delete is being retried), `timed_out` (48 h without it: the old ad is kept, the dealer was alerted, still watched), `swapped` (done), `old_ad_removed` (the car left stock during the swap) and `cancelled` (nothing to do: old ad already gone, or the feed was disconnected). Read-only.
|
|
179003
|
+
*/
|
|
179004
|
+
get: {
|
|
179005
|
+
parameters: {
|
|
179006
|
+
query?: never;
|
|
179007
|
+
header?: never;
|
|
179008
|
+
path?: never;
|
|
179009
|
+
cookie?: never;
|
|
179010
|
+
};
|
|
179011
|
+
requestBody?: never;
|
|
179012
|
+
responses: {
|
|
179013
|
+
/** @description The swap preview */
|
|
179014
|
+
200: {
|
|
179015
|
+
headers: {
|
|
179016
|
+
[name: string]: unknown;
|
|
179017
|
+
};
|
|
179018
|
+
content: {
|
|
179019
|
+
"application/json": {
|
|
179020
|
+
data: {
|
|
179021
|
+
ads_to_replace: number;
|
|
179022
|
+
consent_required: boolean;
|
|
179023
|
+
message: string | null;
|
|
179024
|
+
swaps: {
|
|
179025
|
+
awaiting_feed_ad: number;
|
|
179026
|
+
deleting_old_ad: number;
|
|
179027
|
+
timed_out: number;
|
|
179028
|
+
swapped: number;
|
|
179029
|
+
old_ad_removed: number;
|
|
179030
|
+
cancelled: number;
|
|
179031
|
+
};
|
|
179032
|
+
};
|
|
179033
|
+
};
|
|
179034
|
+
};
|
|
179035
|
+
};
|
|
179036
|
+
/** @description Validation error */
|
|
179037
|
+
400: {
|
|
179038
|
+
headers: {
|
|
179039
|
+
[name: string]: unknown;
|
|
179040
|
+
};
|
|
179041
|
+
content: {
|
|
179042
|
+
"application/json": components["schemas"]["Error"];
|
|
179043
|
+
};
|
|
179044
|
+
};
|
|
179045
|
+
/** @description Unauthorized */
|
|
179046
|
+
401: {
|
|
179047
|
+
headers: {
|
|
179048
|
+
[name: string]: unknown;
|
|
179049
|
+
};
|
|
179050
|
+
content: {
|
|
179051
|
+
"application/json": components["schemas"]["Error"];
|
|
179052
|
+
};
|
|
179053
|
+
};
|
|
179054
|
+
/** @description Forbidden */
|
|
179055
|
+
403: {
|
|
179056
|
+
headers: {
|
|
179057
|
+
[name: string]: unknown;
|
|
179058
|
+
};
|
|
179059
|
+
content: {
|
|
179060
|
+
"application/json": components["schemas"]["Error"];
|
|
179061
|
+
};
|
|
179062
|
+
};
|
|
179063
|
+
/** @description Not found */
|
|
179064
|
+
404: {
|
|
179065
|
+
headers: {
|
|
179066
|
+
[name: string]: unknown;
|
|
179067
|
+
};
|
|
179068
|
+
content: {
|
|
179069
|
+
"application/json": components["schemas"]["Error"];
|
|
179070
|
+
};
|
|
179071
|
+
};
|
|
179072
|
+
/** @description Conflict (incl. Idempotency-Key reuse with different body) */
|
|
179073
|
+
409: {
|
|
179074
|
+
headers: {
|
|
179075
|
+
[name: string]: unknown;
|
|
179076
|
+
};
|
|
179077
|
+
content: {
|
|
179078
|
+
"application/json": components["schemas"]["Error"];
|
|
179079
|
+
};
|
|
179080
|
+
};
|
|
179081
|
+
/** @description Rate limited */
|
|
179082
|
+
429: {
|
|
179083
|
+
headers: {
|
|
179084
|
+
[name: string]: unknown;
|
|
179085
|
+
};
|
|
179086
|
+
content: {
|
|
179087
|
+
"application/json": components["schemas"]["Error"];
|
|
179088
|
+
};
|
|
179089
|
+
};
|
|
179090
|
+
};
|
|
179091
|
+
};
|
|
179092
|
+
put?: never;
|
|
179093
|
+
post?: never;
|
|
179094
|
+
delete?: never;
|
|
179095
|
+
options?: never;
|
|
179096
|
+
head?: never;
|
|
179097
|
+
patch?: never;
|
|
179098
|
+
trace?: never;
|
|
179099
|
+
};
|
|
178991
179100
|
"/messaging-accounts/email/discover": {
|
|
178992
179101
|
parameters: {
|
|
178993
179102
|
query?: never;
|
package/dist/index.d.ts
CHANGED
|
@@ -178988,6 +178988,115 @@ interface paths {
|
|
|
178988
178988
|
patch?: never;
|
|
178989
178989
|
trace?: never;
|
|
178990
178990
|
};
|
|
178991
|
+
"/marketplaces/yapo/feed-swap": {
|
|
178992
|
+
parameters: {
|
|
178993
|
+
query?: never;
|
|
178994
|
+
header?: never;
|
|
178995
|
+
path?: never;
|
|
178996
|
+
cookie?: never;
|
|
178997
|
+
};
|
|
178998
|
+
/**
|
|
178999
|
+
* Yapo feed swap: ads to replace and progress
|
|
179000
|
+
* @description What connecting the Yapo XML feed would do to the workspace’s Yapo panel ads, for the consent step (vitrina-app#5956). `ads_to_replace` counts the live panel ads matched to cars still in stock that the feed would replace; `consent_required` is true when it is above 0, and then `message` is the sentence to show (Spanish). Send `yapo_feed_swap_consent: true` with the connect (`POST /marketplaces` with `provider: yapo`, or `PUT /marketplaces/{id}` re-enabling a feed).
|
|
179001
|
+
*
|
|
179002
|
+
* `swaps` counts this workspace’s swap rows per state: `awaiting_feed_ad` (the car’s feed ad is not live yet), `deleting_old_ad` (seen; the old ad’s delete is being retried), `timed_out` (48 h without it: the old ad is kept, the dealer was alerted, still watched), `swapped` (done), `old_ad_removed` (the car left stock during the swap) and `cancelled` (nothing to do: old ad already gone, or the feed was disconnected). Read-only.
|
|
179003
|
+
*/
|
|
179004
|
+
get: {
|
|
179005
|
+
parameters: {
|
|
179006
|
+
query?: never;
|
|
179007
|
+
header?: never;
|
|
179008
|
+
path?: never;
|
|
179009
|
+
cookie?: never;
|
|
179010
|
+
};
|
|
179011
|
+
requestBody?: never;
|
|
179012
|
+
responses: {
|
|
179013
|
+
/** @description The swap preview */
|
|
179014
|
+
200: {
|
|
179015
|
+
headers: {
|
|
179016
|
+
[name: string]: unknown;
|
|
179017
|
+
};
|
|
179018
|
+
content: {
|
|
179019
|
+
"application/json": {
|
|
179020
|
+
data: {
|
|
179021
|
+
ads_to_replace: number;
|
|
179022
|
+
consent_required: boolean;
|
|
179023
|
+
message: string | null;
|
|
179024
|
+
swaps: {
|
|
179025
|
+
awaiting_feed_ad: number;
|
|
179026
|
+
deleting_old_ad: number;
|
|
179027
|
+
timed_out: number;
|
|
179028
|
+
swapped: number;
|
|
179029
|
+
old_ad_removed: number;
|
|
179030
|
+
cancelled: number;
|
|
179031
|
+
};
|
|
179032
|
+
};
|
|
179033
|
+
};
|
|
179034
|
+
};
|
|
179035
|
+
};
|
|
179036
|
+
/** @description Validation error */
|
|
179037
|
+
400: {
|
|
179038
|
+
headers: {
|
|
179039
|
+
[name: string]: unknown;
|
|
179040
|
+
};
|
|
179041
|
+
content: {
|
|
179042
|
+
"application/json": components["schemas"]["Error"];
|
|
179043
|
+
};
|
|
179044
|
+
};
|
|
179045
|
+
/** @description Unauthorized */
|
|
179046
|
+
401: {
|
|
179047
|
+
headers: {
|
|
179048
|
+
[name: string]: unknown;
|
|
179049
|
+
};
|
|
179050
|
+
content: {
|
|
179051
|
+
"application/json": components["schemas"]["Error"];
|
|
179052
|
+
};
|
|
179053
|
+
};
|
|
179054
|
+
/** @description Forbidden */
|
|
179055
|
+
403: {
|
|
179056
|
+
headers: {
|
|
179057
|
+
[name: string]: unknown;
|
|
179058
|
+
};
|
|
179059
|
+
content: {
|
|
179060
|
+
"application/json": components["schemas"]["Error"];
|
|
179061
|
+
};
|
|
179062
|
+
};
|
|
179063
|
+
/** @description Not found */
|
|
179064
|
+
404: {
|
|
179065
|
+
headers: {
|
|
179066
|
+
[name: string]: unknown;
|
|
179067
|
+
};
|
|
179068
|
+
content: {
|
|
179069
|
+
"application/json": components["schemas"]["Error"];
|
|
179070
|
+
};
|
|
179071
|
+
};
|
|
179072
|
+
/** @description Conflict (incl. Idempotency-Key reuse with different body) */
|
|
179073
|
+
409: {
|
|
179074
|
+
headers: {
|
|
179075
|
+
[name: string]: unknown;
|
|
179076
|
+
};
|
|
179077
|
+
content: {
|
|
179078
|
+
"application/json": components["schemas"]["Error"];
|
|
179079
|
+
};
|
|
179080
|
+
};
|
|
179081
|
+
/** @description Rate limited */
|
|
179082
|
+
429: {
|
|
179083
|
+
headers: {
|
|
179084
|
+
[name: string]: unknown;
|
|
179085
|
+
};
|
|
179086
|
+
content: {
|
|
179087
|
+
"application/json": components["schemas"]["Error"];
|
|
179088
|
+
};
|
|
179089
|
+
};
|
|
179090
|
+
};
|
|
179091
|
+
};
|
|
179092
|
+
put?: never;
|
|
179093
|
+
post?: never;
|
|
179094
|
+
delete?: never;
|
|
179095
|
+
options?: never;
|
|
179096
|
+
head?: never;
|
|
179097
|
+
patch?: never;
|
|
179098
|
+
trace?: never;
|
|
179099
|
+
};
|
|
178991
179100
|
"/messaging-accounts/email/discover": {
|
|
178992
179101
|
parameters: {
|
|
178993
179102
|
query?: never;
|
package/package.json
CHANGED