@vitrina/api 14.83.2 → 14.84.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 +39 -1
- package/dist/index.d.ts +39 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -18098,6 +18098,15 @@ interface paths {
|
|
|
18098
18098
|
/** Format: uri */
|
|
18099
18099
|
url: string;
|
|
18100
18100
|
order?: number;
|
|
18101
|
+
focal?: {
|
|
18102
|
+
x: number;
|
|
18103
|
+
y: number;
|
|
18104
|
+
/**
|
|
18105
|
+
* @default manual
|
|
18106
|
+
* @enum {string}
|
|
18107
|
+
*/
|
|
18108
|
+
source?: "manual" | "auto";
|
|
18109
|
+
} | null;
|
|
18101
18110
|
}[];
|
|
18102
18111
|
attributes?: {
|
|
18103
18112
|
[key: string]: unknown;
|
|
@@ -18750,6 +18759,15 @@ interface paths {
|
|
|
18750
18759
|
/** Format: uri */
|
|
18751
18760
|
url: string;
|
|
18752
18761
|
order?: number;
|
|
18762
|
+
focal?: {
|
|
18763
|
+
x: number;
|
|
18764
|
+
y: number;
|
|
18765
|
+
/**
|
|
18766
|
+
* @default manual
|
|
18767
|
+
* @enum {string}
|
|
18768
|
+
*/
|
|
18769
|
+
source?: "manual" | "auto";
|
|
18770
|
+
} | null;
|
|
18753
18771
|
}[];
|
|
18754
18772
|
attributes?: {
|
|
18755
18773
|
[key: string]: unknown;
|
|
@@ -26199,7 +26217,7 @@ interface paths {
|
|
|
26199
26217
|
get?: never;
|
|
26200
26218
|
/**
|
|
26201
26219
|
* Move a lead to another stage
|
|
26202
|
-
* @description THE move. The target must be a stage of the lead's own board and must be reachable from the current one — a stage graph that forbids the hop is a 400. Landing on a terminal column re-derives the lifecycle from that stage's category, so dragging a card to «Ganado» closes the lead exactly as `PUT /leads/{id}/won` does. Emits `lead.stage_changed` with `changes.stage = { from, to }` and the author, plus the outcome Evento when the status actually flipped. A no-op move (already on that stage) emits nothing.
|
|
26220
|
+
* @description THE move. The target must be a stage of the lead's own board and must be reachable from the current one — a stage graph that forbids the hop is a 400. Landing on a terminal column re-derives the lifecycle from that stage's category, so dragging a card to «Ganado» closes the lead exactly as `PUT /leads/{id}/won` does. Emits `lead.stage_changed` with `changes.stage = { from, to }` and the author, plus the outcome Evento when the status actually flipped. A no-op move (already on that stage) emits nothing. `value_amount` (+ `value_currency`) is the REAL closing price and is acted on only when the target is a won stage: it overwrites the value and stamps `value_amount_close_confirmed_at` before the move, as `PUT /leads/{id}/won` does; for any other target it is ignored.
|
|
26203
26221
|
*/
|
|
26204
26222
|
put: {
|
|
26205
26223
|
parameters: {
|
|
@@ -26224,6 +26242,8 @@ interface paths {
|
|
|
26224
26242
|
reason?: string | null;
|
|
26225
26243
|
/** Format: uuid */
|
|
26226
26244
|
suggestion_id?: string;
|
|
26245
|
+
value_amount?: number | null;
|
|
26246
|
+
value_currency?: string | null;
|
|
26227
26247
|
};
|
|
26228
26248
|
};
|
|
26229
26249
|
};
|
|
@@ -167698,6 +167718,15 @@ interface paths {
|
|
|
167698
167718
|
/** Format: uri */
|
|
167699
167719
|
url: string;
|
|
167700
167720
|
order?: number;
|
|
167721
|
+
focal?: {
|
|
167722
|
+
x: number;
|
|
167723
|
+
y: number;
|
|
167724
|
+
/**
|
|
167725
|
+
* @default manual
|
|
167726
|
+
* @enum {string}
|
|
167727
|
+
*/
|
|
167728
|
+
source?: "manual" | "auto";
|
|
167729
|
+
} | null;
|
|
167701
167730
|
}[];
|
|
167702
167731
|
attributes?: {
|
|
167703
167732
|
[key: string]: unknown;
|
|
@@ -168156,6 +168185,15 @@ interface paths {
|
|
|
168156
168185
|
/** Format: uri */
|
|
168157
168186
|
url: string;
|
|
168158
168187
|
order?: number;
|
|
168188
|
+
focal?: {
|
|
168189
|
+
x: number;
|
|
168190
|
+
y: number;
|
|
168191
|
+
/**
|
|
168192
|
+
* @default manual
|
|
168193
|
+
* @enum {string}
|
|
168194
|
+
*/
|
|
168195
|
+
source?: "manual" | "auto";
|
|
168196
|
+
} | null;
|
|
168159
168197
|
}[];
|
|
168160
168198
|
attributes?: {
|
|
168161
168199
|
[key: string]: unknown;
|
package/dist/index.d.ts
CHANGED
|
@@ -18098,6 +18098,15 @@ interface paths {
|
|
|
18098
18098
|
/** Format: uri */
|
|
18099
18099
|
url: string;
|
|
18100
18100
|
order?: number;
|
|
18101
|
+
focal?: {
|
|
18102
|
+
x: number;
|
|
18103
|
+
y: number;
|
|
18104
|
+
/**
|
|
18105
|
+
* @default manual
|
|
18106
|
+
* @enum {string}
|
|
18107
|
+
*/
|
|
18108
|
+
source?: "manual" | "auto";
|
|
18109
|
+
} | null;
|
|
18101
18110
|
}[];
|
|
18102
18111
|
attributes?: {
|
|
18103
18112
|
[key: string]: unknown;
|
|
@@ -18750,6 +18759,15 @@ interface paths {
|
|
|
18750
18759
|
/** Format: uri */
|
|
18751
18760
|
url: string;
|
|
18752
18761
|
order?: number;
|
|
18762
|
+
focal?: {
|
|
18763
|
+
x: number;
|
|
18764
|
+
y: number;
|
|
18765
|
+
/**
|
|
18766
|
+
* @default manual
|
|
18767
|
+
* @enum {string}
|
|
18768
|
+
*/
|
|
18769
|
+
source?: "manual" | "auto";
|
|
18770
|
+
} | null;
|
|
18753
18771
|
}[];
|
|
18754
18772
|
attributes?: {
|
|
18755
18773
|
[key: string]: unknown;
|
|
@@ -26199,7 +26217,7 @@ interface paths {
|
|
|
26199
26217
|
get?: never;
|
|
26200
26218
|
/**
|
|
26201
26219
|
* Move a lead to another stage
|
|
26202
|
-
* @description THE move. The target must be a stage of the lead's own board and must be reachable from the current one — a stage graph that forbids the hop is a 400. Landing on a terminal column re-derives the lifecycle from that stage's category, so dragging a card to «Ganado» closes the lead exactly as `PUT /leads/{id}/won` does. Emits `lead.stage_changed` with `changes.stage = { from, to }` and the author, plus the outcome Evento when the status actually flipped. A no-op move (already on that stage) emits nothing.
|
|
26220
|
+
* @description THE move. The target must be a stage of the lead's own board and must be reachable from the current one — a stage graph that forbids the hop is a 400. Landing on a terminal column re-derives the lifecycle from that stage's category, so dragging a card to «Ganado» closes the lead exactly as `PUT /leads/{id}/won` does. Emits `lead.stage_changed` with `changes.stage = { from, to }` and the author, plus the outcome Evento when the status actually flipped. A no-op move (already on that stage) emits nothing. `value_amount` (+ `value_currency`) is the REAL closing price and is acted on only when the target is a won stage: it overwrites the value and stamps `value_amount_close_confirmed_at` before the move, as `PUT /leads/{id}/won` does; for any other target it is ignored.
|
|
26203
26221
|
*/
|
|
26204
26222
|
put: {
|
|
26205
26223
|
parameters: {
|
|
@@ -26224,6 +26242,8 @@ interface paths {
|
|
|
26224
26242
|
reason?: string | null;
|
|
26225
26243
|
/** Format: uuid */
|
|
26226
26244
|
suggestion_id?: string;
|
|
26245
|
+
value_amount?: number | null;
|
|
26246
|
+
value_currency?: string | null;
|
|
26227
26247
|
};
|
|
26228
26248
|
};
|
|
26229
26249
|
};
|
|
@@ -167698,6 +167718,15 @@ interface paths {
|
|
|
167698
167718
|
/** Format: uri */
|
|
167699
167719
|
url: string;
|
|
167700
167720
|
order?: number;
|
|
167721
|
+
focal?: {
|
|
167722
|
+
x: number;
|
|
167723
|
+
y: number;
|
|
167724
|
+
/**
|
|
167725
|
+
* @default manual
|
|
167726
|
+
* @enum {string}
|
|
167727
|
+
*/
|
|
167728
|
+
source?: "manual" | "auto";
|
|
167729
|
+
} | null;
|
|
167701
167730
|
}[];
|
|
167702
167731
|
attributes?: {
|
|
167703
167732
|
[key: string]: unknown;
|
|
@@ -168156,6 +168185,15 @@ interface paths {
|
|
|
168156
168185
|
/** Format: uri */
|
|
168157
168186
|
url: string;
|
|
168158
168187
|
order?: number;
|
|
168188
|
+
focal?: {
|
|
168189
|
+
x: number;
|
|
168190
|
+
y: number;
|
|
168191
|
+
/**
|
|
168192
|
+
* @default manual
|
|
168193
|
+
* @enum {string}
|
|
168194
|
+
*/
|
|
168195
|
+
source?: "manual" | "auto";
|
|
168196
|
+
} | null;
|
|
168159
168197
|
}[];
|
|
168160
168198
|
attributes?: {
|
|
168161
168199
|
[key: string]: unknown;
|
package/package.json
CHANGED