@vitrina/api 14.66.0 → 14.67.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
@@ -6028,6 +6028,7 @@ interface paths {
6028
6028
  * "slug": "generic-sales",
6029
6029
  * "kind": "sales",
6030
6030
  * "is_fallback": true,
6031
+ * "direction": "sell_to_customer",
6031
6032
  * "template_key": "generic_sales",
6032
6033
  * "template_version": 1,
6033
6034
  * "template_locale": "es",
@@ -6043,6 +6044,7 @@ interface paths {
6043
6044
  * "slug": "generic-support",
6044
6045
  * "kind": "ticket",
6045
6046
  * "is_fallback": true,
6047
+ * "direction": "sell_to_customer",
6046
6048
  * "template_key": "generic_support",
6047
6049
  * "template_version": 1,
6048
6050
  * "template_locale": "es",
@@ -6123,7 +6125,7 @@ interface paths {
6123
6125
  put?: never;
6124
6126
  /**
6125
6127
  * Create pipeline
6126
- * @description Creates an EMPTY board — a board with no stages accepts no cards, so follow it with `POST /stages/bulk`, or start from a shipped template with `POST /pipeline-templates/{key}/apply` instead. A workspace holds exactly one FALLBACK board per kind — the board a card lands on when nobody named one. `is_fallback: true` promotes this board and demotes the current holder of that kind; `false` is ignored (promote the other board instead, so there is never a moment with no fallback).
6128
+ * @description Creates an EMPTY board — a board with no stages accepts no cards, so follow it with `POST /stages/bulk`, or start from a shipped template with `POST /pipeline-templates/{key}/apply` instead. A workspace holds exactly one FALLBACK board per kind — the board a card lands on when nobody named one. `is_fallback: true` promotes this board and demotes the current holder of that kind; `false` is ignored (promote the other board instead, so there is never a moment with no fallback). `direction` says who the board's customers are: `sell_to_customer` (we sell to the contact; the default) or `buy_from_customer` (we buy from, or consign for, the contact: acquisition, consignación, buyback). The conversation-driven stage mover picks its qualification questions from it; the board's name never decides it. Boards applied from a template take the template's direction.
6127
6129
  */
6128
6130
  post: {
6129
6131
  parameters: {
@@ -6157,6 +6159,8 @@ interface paths {
6157
6159
  kind?: "ticket" | "sales" | "vehicle";
6158
6160
  /** @default false */
6159
6161
  is_fallback?: boolean;
6162
+ /** @enum {string} */
6163
+ direction?: "sell_to_customer" | "buy_from_customer";
6160
6164
  };
6161
6165
  };
6162
6166
  };
@@ -6177,6 +6181,7 @@ interface paths {
6177
6181
  * "slug": "ventas-mayoristas",
6178
6182
  * "kind": "sales",
6179
6183
  * "is_fallback": false,
6184
+ * "direction": "sell_to_customer",
6180
6185
  * "template_key": null,
6181
6186
  * "template_version": null,
6182
6187
  * "template_locale": null,
@@ -6650,6 +6655,7 @@ interface paths {
6650
6655
  * "slug": "generic-sales",
6651
6656
  * "kind": "sales",
6652
6657
  * "is_fallback": true,
6658
+ * "direction": "sell_to_customer",
6653
6659
  * "template_key": "generic_sales",
6654
6660
  * "template_version": 1,
6655
6661
  * "template_locale": "es",
@@ -7080,6 +7086,7 @@ interface paths {
7080
7086
  * "slug": "generic-sales",
7081
7087
  * "kind": "sales",
7082
7088
  * "is_fallback": true,
7089
+ * "direction": "sell_to_customer",
7083
7090
  * "template_key": "generic_sales",
7084
7091
  * "template_version": 1,
7085
7092
  * "template_locale": "es",
@@ -7236,7 +7243,7 @@ interface paths {
7236
7243
  };
7237
7244
  /**
7238
7245
  * Update pipeline
7239
- * @description Only the fields present in the body are written. `kind` is editable only for a non-fallback, EMPTY board that is not the last of its kind — otherwise 409. A workspace holds exactly one FALLBACK board per kind — the board a card lands on when nobody named one. `is_fallback: true` promotes this board and demotes the current holder of that kind; `false` is ignored (promote the other board instead, so there is never a moment with no fallback).
7246
+ * @description Only the fields present in the body are written. `kind` is editable only for a non-fallback, EMPTY board that is not the last of its kind — otherwise 409. A workspace holds exactly one FALLBACK board per kind — the board a card lands on when nobody named one. `is_fallback: true` promotes this board and demotes the current holder of that kind; `false` is ignored (promote the other board instead, so there is never a moment with no fallback). `direction` says who the board's customers are: `sell_to_customer` (we sell to the contact; the default) or `buy_from_customer` (we buy from, or consign for, the contact: acquisition, consignación, buyback). The conversation-driven stage mover picks its qualification questions from it; the board's name never decides it. Boards applied from a template take the template's direction.
7240
7247
  */
7241
7248
  put: {
7242
7249
  parameters: {
@@ -7261,6 +7268,8 @@ interface paths {
7261
7268
  /** @enum {string} */
7262
7269
  kind?: "ticket" | "sales" | "vehicle";
7263
7270
  is_fallback?: boolean;
7271
+ /** @enum {string} */
7272
+ direction?: "sell_to_customer" | "buy_from_customer";
7264
7273
  /** Format: uuid */
7265
7274
  default_team_id?: string | null;
7266
7275
  };
@@ -7283,6 +7292,7 @@ interface paths {
7283
7292
  * "slug": "ventas-mayoristas",
7284
7293
  * "kind": "sales",
7285
7294
  * "is_fallback": false,
7295
+ * "direction": "sell_to_customer",
7286
7296
  * "template_key": null,
7287
7297
  * "template_version": null,
7288
7298
  * "template_locale": null,
package/dist/index.d.ts CHANGED
@@ -6028,6 +6028,7 @@ interface paths {
6028
6028
  * "slug": "generic-sales",
6029
6029
  * "kind": "sales",
6030
6030
  * "is_fallback": true,
6031
+ * "direction": "sell_to_customer",
6031
6032
  * "template_key": "generic_sales",
6032
6033
  * "template_version": 1,
6033
6034
  * "template_locale": "es",
@@ -6043,6 +6044,7 @@ interface paths {
6043
6044
  * "slug": "generic-support",
6044
6045
  * "kind": "ticket",
6045
6046
  * "is_fallback": true,
6047
+ * "direction": "sell_to_customer",
6046
6048
  * "template_key": "generic_support",
6047
6049
  * "template_version": 1,
6048
6050
  * "template_locale": "es",
@@ -6123,7 +6125,7 @@ interface paths {
6123
6125
  put?: never;
6124
6126
  /**
6125
6127
  * Create pipeline
6126
- * @description Creates an EMPTY board — a board with no stages accepts no cards, so follow it with `POST /stages/bulk`, or start from a shipped template with `POST /pipeline-templates/{key}/apply` instead. A workspace holds exactly one FALLBACK board per kind — the board a card lands on when nobody named one. `is_fallback: true` promotes this board and demotes the current holder of that kind; `false` is ignored (promote the other board instead, so there is never a moment with no fallback).
6128
+ * @description Creates an EMPTY board — a board with no stages accepts no cards, so follow it with `POST /stages/bulk`, or start from a shipped template with `POST /pipeline-templates/{key}/apply` instead. A workspace holds exactly one FALLBACK board per kind — the board a card lands on when nobody named one. `is_fallback: true` promotes this board and demotes the current holder of that kind; `false` is ignored (promote the other board instead, so there is never a moment with no fallback). `direction` says who the board's customers are: `sell_to_customer` (we sell to the contact; the default) or `buy_from_customer` (we buy from, or consign for, the contact: acquisition, consignación, buyback). The conversation-driven stage mover picks its qualification questions from it; the board's name never decides it. Boards applied from a template take the template's direction.
6127
6129
  */
6128
6130
  post: {
6129
6131
  parameters: {
@@ -6157,6 +6159,8 @@ interface paths {
6157
6159
  kind?: "ticket" | "sales" | "vehicle";
6158
6160
  /** @default false */
6159
6161
  is_fallback?: boolean;
6162
+ /** @enum {string} */
6163
+ direction?: "sell_to_customer" | "buy_from_customer";
6160
6164
  };
6161
6165
  };
6162
6166
  };
@@ -6177,6 +6181,7 @@ interface paths {
6177
6181
  * "slug": "ventas-mayoristas",
6178
6182
  * "kind": "sales",
6179
6183
  * "is_fallback": false,
6184
+ * "direction": "sell_to_customer",
6180
6185
  * "template_key": null,
6181
6186
  * "template_version": null,
6182
6187
  * "template_locale": null,
@@ -6650,6 +6655,7 @@ interface paths {
6650
6655
  * "slug": "generic-sales",
6651
6656
  * "kind": "sales",
6652
6657
  * "is_fallback": true,
6658
+ * "direction": "sell_to_customer",
6653
6659
  * "template_key": "generic_sales",
6654
6660
  * "template_version": 1,
6655
6661
  * "template_locale": "es",
@@ -7080,6 +7086,7 @@ interface paths {
7080
7086
  * "slug": "generic-sales",
7081
7087
  * "kind": "sales",
7082
7088
  * "is_fallback": true,
7089
+ * "direction": "sell_to_customer",
7083
7090
  * "template_key": "generic_sales",
7084
7091
  * "template_version": 1,
7085
7092
  * "template_locale": "es",
@@ -7236,7 +7243,7 @@ interface paths {
7236
7243
  };
7237
7244
  /**
7238
7245
  * Update pipeline
7239
- * @description Only the fields present in the body are written. `kind` is editable only for a non-fallback, EMPTY board that is not the last of its kind — otherwise 409. A workspace holds exactly one FALLBACK board per kind — the board a card lands on when nobody named one. `is_fallback: true` promotes this board and demotes the current holder of that kind; `false` is ignored (promote the other board instead, so there is never a moment with no fallback).
7246
+ * @description Only the fields present in the body are written. `kind` is editable only for a non-fallback, EMPTY board that is not the last of its kind — otherwise 409. A workspace holds exactly one FALLBACK board per kind — the board a card lands on when nobody named one. `is_fallback: true` promotes this board and demotes the current holder of that kind; `false` is ignored (promote the other board instead, so there is never a moment with no fallback). `direction` says who the board's customers are: `sell_to_customer` (we sell to the contact; the default) or `buy_from_customer` (we buy from, or consign for, the contact: acquisition, consignación, buyback). The conversation-driven stage mover picks its qualification questions from it; the board's name never decides it. Boards applied from a template take the template's direction.
7240
7247
  */
7241
7248
  put: {
7242
7249
  parameters: {
@@ -7261,6 +7268,8 @@ interface paths {
7261
7268
  /** @enum {string} */
7262
7269
  kind?: "ticket" | "sales" | "vehicle";
7263
7270
  is_fallback?: boolean;
7271
+ /** @enum {string} */
7272
+ direction?: "sell_to_customer" | "buy_from_customer";
7264
7273
  /** Format: uuid */
7265
7274
  default_team_id?: string | null;
7266
7275
  };
@@ -7283,6 +7292,7 @@ interface paths {
7283
7292
  * "slug": "ventas-mayoristas",
7284
7293
  * "kind": "sales",
7285
7294
  * "is_fallback": false,
7295
+ * "direction": "sell_to_customer",
7286
7296
  * "template_key": null,
7287
7297
  * "template_version": null,
7288
7298
  * "template_locale": null,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vitrina/api",
3
- "version": "14.66.0",
3
+ "version": "14.67.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",