@vitrina/api 17.93.0 → 17.95.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 +171 -16
- package/dist/index.d.ts +171 -16
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -2089,10 +2089,10 @@ interface paths {
|
|
|
2089
2089
|
*/
|
|
2090
2090
|
opening_marks?: "inherit" | "none" | "keep";
|
|
2091
2091
|
/**
|
|
2092
|
-
* @description «Trato» for this agent. `inherit` (default): the workspace's `voice.agent_register`. `tu`, `usted`, or `mirror` (
|
|
2092
|
+
* @description «Trato» for this agent. `inherit` (default): the workspace's `voice.agent_register`. `tu`, `usted`, `vos` (voseo), or `mirror` (opens in the country's form, «vos» in AR/UY and «tú» elsewhere, and follows the customer); wins over the agent's instructions.
|
|
2093
2093
|
* @enum {string}
|
|
2094
2094
|
*/
|
|
2095
|
-
register?: "inherit" | "tu" | "usted" | "mirror";
|
|
2095
|
+
register?: "inherit" | "tu" | "usted" | "mirror" | "vos";
|
|
2096
2096
|
};
|
|
2097
2097
|
/** @description The `draft_version` version you last read (the `X-Config-Version` response header, or the version field in the body). If it is no longer current the write is refused with 409 `VERSION_CONFLICT` and nothing is written; the error carries the current version and a diff hint. Optional for backward compatibility (an omitted value is accepted and logged), but send it: without it two editors silently overwrite each other. The `If-Match` header is accepted as an alternative. */
|
|
2098
2098
|
expected_version?: number | null;
|
|
@@ -2383,10 +2383,10 @@ interface paths {
|
|
|
2383
2383
|
*/
|
|
2384
2384
|
opening_marks?: "inherit" | "none" | "keep";
|
|
2385
2385
|
/**
|
|
2386
|
-
* @description «Trato» for this agent. `inherit` (default): the workspace's `voice.agent_register`. `tu`, `usted`, or `mirror` (
|
|
2386
|
+
* @description «Trato» for this agent. `inherit` (default): the workspace's `voice.agent_register`. `tu`, `usted`, `vos` (voseo), or `mirror` (opens in the country's form, «vos» in AR/UY and «tú» elsewhere, and follows the customer); wins over the agent's instructions.
|
|
2387
2387
|
* @enum {string}
|
|
2388
2388
|
*/
|
|
2389
|
-
register?: "inherit" | "tu" | "usted" | "mirror";
|
|
2389
|
+
register?: "inherit" | "tu" | "usted" | "mirror" | "vos";
|
|
2390
2390
|
};
|
|
2391
2391
|
draft: {
|
|
2392
2392
|
/**
|
|
@@ -2431,10 +2431,10 @@ interface paths {
|
|
|
2431
2431
|
*/
|
|
2432
2432
|
opening_marks?: "inherit" | "none" | "keep";
|
|
2433
2433
|
/**
|
|
2434
|
-
* @description «Trato» for this agent. `inherit` (default): the workspace's `voice.agent_register`. `tu`, `usted`, or `mirror` (
|
|
2434
|
+
* @description «Trato» for this agent. `inherit` (default): the workspace's `voice.agent_register`. `tu`, `usted`, `vos` (voseo), or `mirror` (opens in the country's form, «vos» in AR/UY and «tú» elsewhere, and follows the customer); wins over the agent's instructions.
|
|
2435
2435
|
* @enum {string}
|
|
2436
2436
|
*/
|
|
2437
|
-
register?: "inherit" | "tu" | "usted" | "mirror";
|
|
2437
|
+
register?: "inherit" | "tu" | "usted" | "mirror" | "vos";
|
|
2438
2438
|
} | null;
|
|
2439
2439
|
price_policy_conflicts: {
|
|
2440
2440
|
/** @enum {string} */
|
|
@@ -16678,6 +16678,161 @@ interface paths {
|
|
|
16678
16678
|
patch?: never;
|
|
16679
16679
|
trace?: never;
|
|
16680
16680
|
};
|
|
16681
|
+
"/tenant/country-profiles": {
|
|
16682
|
+
parameters: {
|
|
16683
|
+
query?: never;
|
|
16684
|
+
header?: never;
|
|
16685
|
+
path?: never;
|
|
16686
|
+
cookie?: never;
|
|
16687
|
+
};
|
|
16688
|
+
/**
|
|
16689
|
+
* Read the country profiles
|
|
16690
|
+
* @description The table of countries Vitrina has defaults for (the backend’s single source): time zone, currency, phone region and calling code, money locale, informal form of address, national holiday calendar and identity document. Static and non-sensitive: any authenticated member may read it, no scope required. `PUT /tenant/settings` `country` accepts any ISO country; one without a row here has no defaults.
|
|
16691
|
+
*/
|
|
16692
|
+
get: {
|
|
16693
|
+
parameters: {
|
|
16694
|
+
query?: never;
|
|
16695
|
+
header?: never;
|
|
16696
|
+
path?: never;
|
|
16697
|
+
cookie?: never;
|
|
16698
|
+
};
|
|
16699
|
+
requestBody?: never;
|
|
16700
|
+
responses: {
|
|
16701
|
+
/** @description Country profiles */
|
|
16702
|
+
200: {
|
|
16703
|
+
headers: {
|
|
16704
|
+
[name: string]: unknown;
|
|
16705
|
+
};
|
|
16706
|
+
content: {
|
|
16707
|
+
/**
|
|
16708
|
+
* @example {
|
|
16709
|
+
* "data": [
|
|
16710
|
+
* {
|
|
16711
|
+
* "country": "CL",
|
|
16712
|
+
* "name": "Chile",
|
|
16713
|
+
* "timezone": "America/Santiago",
|
|
16714
|
+
* "currency": "CLP",
|
|
16715
|
+
* "phone_region": "CL",
|
|
16716
|
+
* "dial_code": "56",
|
|
16717
|
+
* "money_locale": "es-CL",
|
|
16718
|
+
* "informal_address": "tu",
|
|
16719
|
+
* "holiday_calendar": "cl-national",
|
|
16720
|
+
* "document_kind": "rut"
|
|
16721
|
+
* },
|
|
16722
|
+
* {
|
|
16723
|
+
* "country": "AR",
|
|
16724
|
+
* "name": "Argentina",
|
|
16725
|
+
* "timezone": "America/Argentina/Buenos_Aires",
|
|
16726
|
+
* "currency": "ARS",
|
|
16727
|
+
* "phone_region": "AR",
|
|
16728
|
+
* "dial_code": "54",
|
|
16729
|
+
* "money_locale": "es-AR",
|
|
16730
|
+
* "informal_address": "vos",
|
|
16731
|
+
* "holiday_calendar": null,
|
|
16732
|
+
* "document_kind": "dni"
|
|
16733
|
+
* }
|
|
16734
|
+
* ]
|
|
16735
|
+
* }
|
|
16736
|
+
*/
|
|
16737
|
+
"application/json": {
|
|
16738
|
+
data: {
|
|
16739
|
+
/** @description ISO 3166-1 alpha-2. */
|
|
16740
|
+
country: string;
|
|
16741
|
+
/** @description English country name. */
|
|
16742
|
+
name: string;
|
|
16743
|
+
/** @description Default IANA time zone (the capital’s). */
|
|
16744
|
+
timezone: string;
|
|
16745
|
+
/** @description Default ISO 4217 currency. */
|
|
16746
|
+
currency: string;
|
|
16747
|
+
/** @description Region used to read national phone numbers typed by a person. */
|
|
16748
|
+
phone_region: string;
|
|
16749
|
+
/** @description International calling code, no `+`. */
|
|
16750
|
+
dial_code: string;
|
|
16751
|
+
/** @description BCP-47 locale for money and number formatting. */
|
|
16752
|
+
money_locale: string;
|
|
16753
|
+
/**
|
|
16754
|
+
* @description The informal second person of the country.
|
|
16755
|
+
* @enum {string}
|
|
16756
|
+
*/
|
|
16757
|
+
informal_address: "tu" | "vos";
|
|
16758
|
+
/**
|
|
16759
|
+
* @description The national holiday calendar the platform ships, or null.
|
|
16760
|
+
* @enum {string|null}
|
|
16761
|
+
*/
|
|
16762
|
+
holiday_calendar: "cl-national" | null;
|
|
16763
|
+
/**
|
|
16764
|
+
* @description The main national identity document.
|
|
16765
|
+
* @enum {string}
|
|
16766
|
+
*/
|
|
16767
|
+
document_kind: "rut" | "curp" | "cedula" | "dni" | "ci";
|
|
16768
|
+
}[];
|
|
16769
|
+
};
|
|
16770
|
+
};
|
|
16771
|
+
};
|
|
16772
|
+
/** @description Validation error */
|
|
16773
|
+
400: {
|
|
16774
|
+
headers: {
|
|
16775
|
+
[name: string]: unknown;
|
|
16776
|
+
};
|
|
16777
|
+
content: {
|
|
16778
|
+
"application/json": components["schemas"]["Error"];
|
|
16779
|
+
};
|
|
16780
|
+
};
|
|
16781
|
+
/** @description Unauthorized */
|
|
16782
|
+
401: {
|
|
16783
|
+
headers: {
|
|
16784
|
+
[name: string]: unknown;
|
|
16785
|
+
};
|
|
16786
|
+
content: {
|
|
16787
|
+
"application/json": components["schemas"]["Error"];
|
|
16788
|
+
};
|
|
16789
|
+
};
|
|
16790
|
+
/** @description Forbidden */
|
|
16791
|
+
403: {
|
|
16792
|
+
headers: {
|
|
16793
|
+
[name: string]: unknown;
|
|
16794
|
+
};
|
|
16795
|
+
content: {
|
|
16796
|
+
"application/json": components["schemas"]["Error"];
|
|
16797
|
+
};
|
|
16798
|
+
};
|
|
16799
|
+
/** @description Not found */
|
|
16800
|
+
404: {
|
|
16801
|
+
headers: {
|
|
16802
|
+
[name: string]: unknown;
|
|
16803
|
+
};
|
|
16804
|
+
content: {
|
|
16805
|
+
"application/json": components["schemas"]["Error"];
|
|
16806
|
+
};
|
|
16807
|
+
};
|
|
16808
|
+
/** @description Conflict (incl. Idempotency-Key reuse with different body) */
|
|
16809
|
+
409: {
|
|
16810
|
+
headers: {
|
|
16811
|
+
[name: string]: unknown;
|
|
16812
|
+
};
|
|
16813
|
+
content: {
|
|
16814
|
+
"application/json": components["schemas"]["Error"];
|
|
16815
|
+
};
|
|
16816
|
+
};
|
|
16817
|
+
/** @description Rate limited */
|
|
16818
|
+
429: {
|
|
16819
|
+
headers: {
|
|
16820
|
+
[name: string]: unknown;
|
|
16821
|
+
};
|
|
16822
|
+
content: {
|
|
16823
|
+
"application/json": components["schemas"]["Error"];
|
|
16824
|
+
};
|
|
16825
|
+
};
|
|
16826
|
+
};
|
|
16827
|
+
};
|
|
16828
|
+
put?: never;
|
|
16829
|
+
post?: never;
|
|
16830
|
+
delete?: never;
|
|
16831
|
+
options?: never;
|
|
16832
|
+
head?: never;
|
|
16833
|
+
patch?: never;
|
|
16834
|
+
trace?: never;
|
|
16835
|
+
};
|
|
16681
16836
|
"/tenant/modules": {
|
|
16682
16837
|
parameters: {
|
|
16683
16838
|
query?: never;
|
|
@@ -322709,20 +322864,20 @@ interface components {
|
|
|
322709
322864
|
/** @description Brand name templates say literally ("te escribimos de Automec"). Absent = the workspace name. */
|
|
322710
322865
|
brand_name?: string;
|
|
322711
322866
|
/**
|
|
322712
|
-
* @description How templates address people. Absent = `usted` for healthcare
|
|
322867
|
+
* @description How templates address people: `tu`, `usted` or `vos` (voseo; any workspace may choose it, it is the form in Argentina and Uruguay). A template with no «vos» copy is sent in tú. Absent = `vos` when the workspace country is AR or UY, else `usted` for healthcare and `tu` otherwise.
|
|
322713
322868
|
* @enum {string}
|
|
322714
322869
|
*/
|
|
322715
|
-
register?: "tu" | "usted";
|
|
322870
|
+
register?: "tu" | "usted" | "vos";
|
|
322716
322871
|
/**
|
|
322717
322872
|
* @description «Signos de apertura» in the AI's chat replies and follow-ups. `none` (default when absent): no opening «¿» «¡», the way people type in a Chilean chat; removed at send time from every AI message. `keep`: the agent writes them. An agent can override it (`behavior_policies.opening_marks`).
|
|
322718
322873
|
* @enum {string}
|
|
322719
322874
|
*/
|
|
322720
322875
|
opening_marks?: "none" | "keep";
|
|
322721
322876
|
/**
|
|
322722
|
-
* @description «Trato» of the AI agents: `tu`, `usted`, or `mirror` (
|
|
322877
|
+
* @description «Trato» of the AI agents: `tu`, `usted`, `vos` (voseo), or `mirror` (opens in the country's form, «vos» in AR/UY and «tú» elsewhere, and follows the customer). Absent: `vos` when the template `register` resolves to `vos`, otherwise each agent's own instructions decide. Wins over the agent's instructions; an agent can override it (`behavior_policies.register`).
|
|
322723
322878
|
* @enum {string}
|
|
322724
322879
|
*/
|
|
322725
|
-
agent_register?: "tu" | "usted" | "mirror";
|
|
322880
|
+
agent_register?: "tu" | "usted" | "mirror" | "vos";
|
|
322726
322881
|
};
|
|
322727
322882
|
/** @description The AI agent's vocabulary: the workspace's banned terms; absent until set. */
|
|
322728
322883
|
agent_language?: {
|
|
@@ -322733,11 +322888,11 @@ interface components {
|
|
|
322733
322888
|
voice_resolved?: {
|
|
322734
322889
|
brand_name: string;
|
|
322735
322890
|
/** @enum {string} */
|
|
322736
|
-
register: "tu" | "usted";
|
|
322891
|
+
register: "tu" | "usted" | "vos";
|
|
322737
322892
|
/** @enum {string} */
|
|
322738
322893
|
brand_name_source: "stored" | "workspace_name";
|
|
322739
322894
|
/** @enum {string} */
|
|
322740
|
-
register_source: "stored" | "vertical_default";
|
|
322895
|
+
register_source: "stored" | "country_default" | "vertical_default";
|
|
322741
322896
|
};
|
|
322742
322897
|
/** @description Read-only: the country, time zone and currency the workspace runs on (stored value, the country default, or the legacy guess), with where each came from. Ignored on write. */
|
|
322743
322898
|
locale_resolved?: {
|
|
@@ -322849,20 +323004,20 @@ interface components {
|
|
|
322849
323004
|
/** @description Brand name templates say literally ("te escribimos de Automec"). Absent = the workspace name. */
|
|
322850
323005
|
brand_name?: string;
|
|
322851
323006
|
/**
|
|
322852
|
-
* @description How templates address people. Absent = `usted` for healthcare
|
|
323007
|
+
* @description How templates address people: `tu`, `usted` or `vos` (voseo; any workspace may choose it, it is the form in Argentina and Uruguay). A template with no «vos» copy is sent in tú. Absent = `vos` when the workspace country is AR or UY, else `usted` for healthcare and `tu` otherwise.
|
|
322853
323008
|
* @enum {string}
|
|
322854
323009
|
*/
|
|
322855
|
-
register?: "tu" | "usted";
|
|
323010
|
+
register?: "tu" | "usted" | "vos";
|
|
322856
323011
|
/**
|
|
322857
323012
|
* @description «Signos de apertura» in the AI's chat replies and follow-ups. `none` (default when absent): no opening «¿» «¡», the way people type in a Chilean chat; removed at send time from every AI message. `keep`: the agent writes them. An agent can override it (`behavior_policies.opening_marks`).
|
|
322858
323013
|
* @enum {string}
|
|
322859
323014
|
*/
|
|
322860
323015
|
opening_marks?: "none" | "keep";
|
|
322861
323016
|
/**
|
|
322862
|
-
* @description «Trato» of the AI agents: `tu`, `usted`, or `mirror` (
|
|
323017
|
+
* @description «Trato» of the AI agents: `tu`, `usted`, `vos` (voseo), or `mirror` (opens in the country's form, «vos» in AR/UY and «tú» elsewhere, and follows the customer). Absent: `vos` when the template `register` resolves to `vos`, otherwise each agent's own instructions decide. Wins over the agent's instructions; an agent can override it (`behavior_policies.register`).
|
|
322863
323018
|
* @enum {string}
|
|
322864
323019
|
*/
|
|
322865
|
-
agent_register?: "tu" | "usted" | "mirror";
|
|
323020
|
+
agent_register?: "tu" | "usted" | "mirror" | "vos";
|
|
322866
323021
|
} | null;
|
|
322867
323022
|
agent_language?: {
|
|
322868
323023
|
/** @description Words the AI agent must never write to customers (case- and accent-insensitive, whole words), merged with the platform es-CL list. A reply that uses one is rewritten without it before it is sent. Up to 100 terms of 2 to 60 characters. */
|
package/dist/index.d.ts
CHANGED
|
@@ -2089,10 +2089,10 @@ interface paths {
|
|
|
2089
2089
|
*/
|
|
2090
2090
|
opening_marks?: "inherit" | "none" | "keep";
|
|
2091
2091
|
/**
|
|
2092
|
-
* @description «Trato» for this agent. `inherit` (default): the workspace's `voice.agent_register`. `tu`, `usted`, or `mirror` (
|
|
2092
|
+
* @description «Trato» for this agent. `inherit` (default): the workspace's `voice.agent_register`. `tu`, `usted`, `vos` (voseo), or `mirror` (opens in the country's form, «vos» in AR/UY and «tú» elsewhere, and follows the customer); wins over the agent's instructions.
|
|
2093
2093
|
* @enum {string}
|
|
2094
2094
|
*/
|
|
2095
|
-
register?: "inherit" | "tu" | "usted" | "mirror";
|
|
2095
|
+
register?: "inherit" | "tu" | "usted" | "mirror" | "vos";
|
|
2096
2096
|
};
|
|
2097
2097
|
/** @description The `draft_version` version you last read (the `X-Config-Version` response header, or the version field in the body). If it is no longer current the write is refused with 409 `VERSION_CONFLICT` and nothing is written; the error carries the current version and a diff hint. Optional for backward compatibility (an omitted value is accepted and logged), but send it: without it two editors silently overwrite each other. The `If-Match` header is accepted as an alternative. */
|
|
2098
2098
|
expected_version?: number | null;
|
|
@@ -2383,10 +2383,10 @@ interface paths {
|
|
|
2383
2383
|
*/
|
|
2384
2384
|
opening_marks?: "inherit" | "none" | "keep";
|
|
2385
2385
|
/**
|
|
2386
|
-
* @description «Trato» for this agent. `inherit` (default): the workspace's `voice.agent_register`. `tu`, `usted`, or `mirror` (
|
|
2386
|
+
* @description «Trato» for this agent. `inherit` (default): the workspace's `voice.agent_register`. `tu`, `usted`, `vos` (voseo), or `mirror` (opens in the country's form, «vos» in AR/UY and «tú» elsewhere, and follows the customer); wins over the agent's instructions.
|
|
2387
2387
|
* @enum {string}
|
|
2388
2388
|
*/
|
|
2389
|
-
register?: "inherit" | "tu" | "usted" | "mirror";
|
|
2389
|
+
register?: "inherit" | "tu" | "usted" | "mirror" | "vos";
|
|
2390
2390
|
};
|
|
2391
2391
|
draft: {
|
|
2392
2392
|
/**
|
|
@@ -2431,10 +2431,10 @@ interface paths {
|
|
|
2431
2431
|
*/
|
|
2432
2432
|
opening_marks?: "inherit" | "none" | "keep";
|
|
2433
2433
|
/**
|
|
2434
|
-
* @description «Trato» for this agent. `inherit` (default): the workspace's `voice.agent_register`. `tu`, `usted`, or `mirror` (
|
|
2434
|
+
* @description «Trato» for this agent. `inherit` (default): the workspace's `voice.agent_register`. `tu`, `usted`, `vos` (voseo), or `mirror` (opens in the country's form, «vos» in AR/UY and «tú» elsewhere, and follows the customer); wins over the agent's instructions.
|
|
2435
2435
|
* @enum {string}
|
|
2436
2436
|
*/
|
|
2437
|
-
register?: "inherit" | "tu" | "usted" | "mirror";
|
|
2437
|
+
register?: "inherit" | "tu" | "usted" | "mirror" | "vos";
|
|
2438
2438
|
} | null;
|
|
2439
2439
|
price_policy_conflicts: {
|
|
2440
2440
|
/** @enum {string} */
|
|
@@ -16678,6 +16678,161 @@ interface paths {
|
|
|
16678
16678
|
patch?: never;
|
|
16679
16679
|
trace?: never;
|
|
16680
16680
|
};
|
|
16681
|
+
"/tenant/country-profiles": {
|
|
16682
|
+
parameters: {
|
|
16683
|
+
query?: never;
|
|
16684
|
+
header?: never;
|
|
16685
|
+
path?: never;
|
|
16686
|
+
cookie?: never;
|
|
16687
|
+
};
|
|
16688
|
+
/**
|
|
16689
|
+
* Read the country profiles
|
|
16690
|
+
* @description The table of countries Vitrina has defaults for (the backend’s single source): time zone, currency, phone region and calling code, money locale, informal form of address, national holiday calendar and identity document. Static and non-sensitive: any authenticated member may read it, no scope required. `PUT /tenant/settings` `country` accepts any ISO country; one without a row here has no defaults.
|
|
16691
|
+
*/
|
|
16692
|
+
get: {
|
|
16693
|
+
parameters: {
|
|
16694
|
+
query?: never;
|
|
16695
|
+
header?: never;
|
|
16696
|
+
path?: never;
|
|
16697
|
+
cookie?: never;
|
|
16698
|
+
};
|
|
16699
|
+
requestBody?: never;
|
|
16700
|
+
responses: {
|
|
16701
|
+
/** @description Country profiles */
|
|
16702
|
+
200: {
|
|
16703
|
+
headers: {
|
|
16704
|
+
[name: string]: unknown;
|
|
16705
|
+
};
|
|
16706
|
+
content: {
|
|
16707
|
+
/**
|
|
16708
|
+
* @example {
|
|
16709
|
+
* "data": [
|
|
16710
|
+
* {
|
|
16711
|
+
* "country": "CL",
|
|
16712
|
+
* "name": "Chile",
|
|
16713
|
+
* "timezone": "America/Santiago",
|
|
16714
|
+
* "currency": "CLP",
|
|
16715
|
+
* "phone_region": "CL",
|
|
16716
|
+
* "dial_code": "56",
|
|
16717
|
+
* "money_locale": "es-CL",
|
|
16718
|
+
* "informal_address": "tu",
|
|
16719
|
+
* "holiday_calendar": "cl-national",
|
|
16720
|
+
* "document_kind": "rut"
|
|
16721
|
+
* },
|
|
16722
|
+
* {
|
|
16723
|
+
* "country": "AR",
|
|
16724
|
+
* "name": "Argentina",
|
|
16725
|
+
* "timezone": "America/Argentina/Buenos_Aires",
|
|
16726
|
+
* "currency": "ARS",
|
|
16727
|
+
* "phone_region": "AR",
|
|
16728
|
+
* "dial_code": "54",
|
|
16729
|
+
* "money_locale": "es-AR",
|
|
16730
|
+
* "informal_address": "vos",
|
|
16731
|
+
* "holiday_calendar": null,
|
|
16732
|
+
* "document_kind": "dni"
|
|
16733
|
+
* }
|
|
16734
|
+
* ]
|
|
16735
|
+
* }
|
|
16736
|
+
*/
|
|
16737
|
+
"application/json": {
|
|
16738
|
+
data: {
|
|
16739
|
+
/** @description ISO 3166-1 alpha-2. */
|
|
16740
|
+
country: string;
|
|
16741
|
+
/** @description English country name. */
|
|
16742
|
+
name: string;
|
|
16743
|
+
/** @description Default IANA time zone (the capital’s). */
|
|
16744
|
+
timezone: string;
|
|
16745
|
+
/** @description Default ISO 4217 currency. */
|
|
16746
|
+
currency: string;
|
|
16747
|
+
/** @description Region used to read national phone numbers typed by a person. */
|
|
16748
|
+
phone_region: string;
|
|
16749
|
+
/** @description International calling code, no `+`. */
|
|
16750
|
+
dial_code: string;
|
|
16751
|
+
/** @description BCP-47 locale for money and number formatting. */
|
|
16752
|
+
money_locale: string;
|
|
16753
|
+
/**
|
|
16754
|
+
* @description The informal second person of the country.
|
|
16755
|
+
* @enum {string}
|
|
16756
|
+
*/
|
|
16757
|
+
informal_address: "tu" | "vos";
|
|
16758
|
+
/**
|
|
16759
|
+
* @description The national holiday calendar the platform ships, or null.
|
|
16760
|
+
* @enum {string|null}
|
|
16761
|
+
*/
|
|
16762
|
+
holiday_calendar: "cl-national" | null;
|
|
16763
|
+
/**
|
|
16764
|
+
* @description The main national identity document.
|
|
16765
|
+
* @enum {string}
|
|
16766
|
+
*/
|
|
16767
|
+
document_kind: "rut" | "curp" | "cedula" | "dni" | "ci";
|
|
16768
|
+
}[];
|
|
16769
|
+
};
|
|
16770
|
+
};
|
|
16771
|
+
};
|
|
16772
|
+
/** @description Validation error */
|
|
16773
|
+
400: {
|
|
16774
|
+
headers: {
|
|
16775
|
+
[name: string]: unknown;
|
|
16776
|
+
};
|
|
16777
|
+
content: {
|
|
16778
|
+
"application/json": components["schemas"]["Error"];
|
|
16779
|
+
};
|
|
16780
|
+
};
|
|
16781
|
+
/** @description Unauthorized */
|
|
16782
|
+
401: {
|
|
16783
|
+
headers: {
|
|
16784
|
+
[name: string]: unknown;
|
|
16785
|
+
};
|
|
16786
|
+
content: {
|
|
16787
|
+
"application/json": components["schemas"]["Error"];
|
|
16788
|
+
};
|
|
16789
|
+
};
|
|
16790
|
+
/** @description Forbidden */
|
|
16791
|
+
403: {
|
|
16792
|
+
headers: {
|
|
16793
|
+
[name: string]: unknown;
|
|
16794
|
+
};
|
|
16795
|
+
content: {
|
|
16796
|
+
"application/json": components["schemas"]["Error"];
|
|
16797
|
+
};
|
|
16798
|
+
};
|
|
16799
|
+
/** @description Not found */
|
|
16800
|
+
404: {
|
|
16801
|
+
headers: {
|
|
16802
|
+
[name: string]: unknown;
|
|
16803
|
+
};
|
|
16804
|
+
content: {
|
|
16805
|
+
"application/json": components["schemas"]["Error"];
|
|
16806
|
+
};
|
|
16807
|
+
};
|
|
16808
|
+
/** @description Conflict (incl. Idempotency-Key reuse with different body) */
|
|
16809
|
+
409: {
|
|
16810
|
+
headers: {
|
|
16811
|
+
[name: string]: unknown;
|
|
16812
|
+
};
|
|
16813
|
+
content: {
|
|
16814
|
+
"application/json": components["schemas"]["Error"];
|
|
16815
|
+
};
|
|
16816
|
+
};
|
|
16817
|
+
/** @description Rate limited */
|
|
16818
|
+
429: {
|
|
16819
|
+
headers: {
|
|
16820
|
+
[name: string]: unknown;
|
|
16821
|
+
};
|
|
16822
|
+
content: {
|
|
16823
|
+
"application/json": components["schemas"]["Error"];
|
|
16824
|
+
};
|
|
16825
|
+
};
|
|
16826
|
+
};
|
|
16827
|
+
};
|
|
16828
|
+
put?: never;
|
|
16829
|
+
post?: never;
|
|
16830
|
+
delete?: never;
|
|
16831
|
+
options?: never;
|
|
16832
|
+
head?: never;
|
|
16833
|
+
patch?: never;
|
|
16834
|
+
trace?: never;
|
|
16835
|
+
};
|
|
16681
16836
|
"/tenant/modules": {
|
|
16682
16837
|
parameters: {
|
|
16683
16838
|
query?: never;
|
|
@@ -322709,20 +322864,20 @@ interface components {
|
|
|
322709
322864
|
/** @description Brand name templates say literally ("te escribimos de Automec"). Absent = the workspace name. */
|
|
322710
322865
|
brand_name?: string;
|
|
322711
322866
|
/**
|
|
322712
|
-
* @description How templates address people. Absent = `usted` for healthcare
|
|
322867
|
+
* @description How templates address people: `tu`, `usted` or `vos` (voseo; any workspace may choose it, it is the form in Argentina and Uruguay). A template with no «vos» copy is sent in tú. Absent = `vos` when the workspace country is AR or UY, else `usted` for healthcare and `tu` otherwise.
|
|
322713
322868
|
* @enum {string}
|
|
322714
322869
|
*/
|
|
322715
|
-
register?: "tu" | "usted";
|
|
322870
|
+
register?: "tu" | "usted" | "vos";
|
|
322716
322871
|
/**
|
|
322717
322872
|
* @description «Signos de apertura» in the AI's chat replies and follow-ups. `none` (default when absent): no opening «¿» «¡», the way people type in a Chilean chat; removed at send time from every AI message. `keep`: the agent writes them. An agent can override it (`behavior_policies.opening_marks`).
|
|
322718
322873
|
* @enum {string}
|
|
322719
322874
|
*/
|
|
322720
322875
|
opening_marks?: "none" | "keep";
|
|
322721
322876
|
/**
|
|
322722
|
-
* @description «Trato» of the AI agents: `tu`, `usted`, or `mirror` (
|
|
322877
|
+
* @description «Trato» of the AI agents: `tu`, `usted`, `vos` (voseo), or `mirror` (opens in the country's form, «vos» in AR/UY and «tú» elsewhere, and follows the customer). Absent: `vos` when the template `register` resolves to `vos`, otherwise each agent's own instructions decide. Wins over the agent's instructions; an agent can override it (`behavior_policies.register`).
|
|
322723
322878
|
* @enum {string}
|
|
322724
322879
|
*/
|
|
322725
|
-
agent_register?: "tu" | "usted" | "mirror";
|
|
322880
|
+
agent_register?: "tu" | "usted" | "mirror" | "vos";
|
|
322726
322881
|
};
|
|
322727
322882
|
/** @description The AI agent's vocabulary: the workspace's banned terms; absent until set. */
|
|
322728
322883
|
agent_language?: {
|
|
@@ -322733,11 +322888,11 @@ interface components {
|
|
|
322733
322888
|
voice_resolved?: {
|
|
322734
322889
|
brand_name: string;
|
|
322735
322890
|
/** @enum {string} */
|
|
322736
|
-
register: "tu" | "usted";
|
|
322891
|
+
register: "tu" | "usted" | "vos";
|
|
322737
322892
|
/** @enum {string} */
|
|
322738
322893
|
brand_name_source: "stored" | "workspace_name";
|
|
322739
322894
|
/** @enum {string} */
|
|
322740
|
-
register_source: "stored" | "vertical_default";
|
|
322895
|
+
register_source: "stored" | "country_default" | "vertical_default";
|
|
322741
322896
|
};
|
|
322742
322897
|
/** @description Read-only: the country, time zone and currency the workspace runs on (stored value, the country default, or the legacy guess), with where each came from. Ignored on write. */
|
|
322743
322898
|
locale_resolved?: {
|
|
@@ -322849,20 +323004,20 @@ interface components {
|
|
|
322849
323004
|
/** @description Brand name templates say literally ("te escribimos de Automec"). Absent = the workspace name. */
|
|
322850
323005
|
brand_name?: string;
|
|
322851
323006
|
/**
|
|
322852
|
-
* @description How templates address people. Absent = `usted` for healthcare
|
|
323007
|
+
* @description How templates address people: `tu`, `usted` or `vos` (voseo; any workspace may choose it, it is the form in Argentina and Uruguay). A template with no «vos» copy is sent in tú. Absent = `vos` when the workspace country is AR or UY, else `usted` for healthcare and `tu` otherwise.
|
|
322853
323008
|
* @enum {string}
|
|
322854
323009
|
*/
|
|
322855
|
-
register?: "tu" | "usted";
|
|
323010
|
+
register?: "tu" | "usted" | "vos";
|
|
322856
323011
|
/**
|
|
322857
323012
|
* @description «Signos de apertura» in the AI's chat replies and follow-ups. `none` (default when absent): no opening «¿» «¡», the way people type in a Chilean chat; removed at send time from every AI message. `keep`: the agent writes them. An agent can override it (`behavior_policies.opening_marks`).
|
|
322858
323013
|
* @enum {string}
|
|
322859
323014
|
*/
|
|
322860
323015
|
opening_marks?: "none" | "keep";
|
|
322861
323016
|
/**
|
|
322862
|
-
* @description «Trato» of the AI agents: `tu`, `usted`, or `mirror` (
|
|
323017
|
+
* @description «Trato» of the AI agents: `tu`, `usted`, `vos` (voseo), or `mirror` (opens in the country's form, «vos» in AR/UY and «tú» elsewhere, and follows the customer). Absent: `vos` when the template `register` resolves to `vos`, otherwise each agent's own instructions decide. Wins over the agent's instructions; an agent can override it (`behavior_policies.register`).
|
|
322863
323018
|
* @enum {string}
|
|
322864
323019
|
*/
|
|
322865
|
-
agent_register?: "tu" | "usted" | "mirror";
|
|
323020
|
+
agent_register?: "tu" | "usted" | "mirror" | "vos";
|
|
322866
323021
|
} | null;
|
|
322867
323022
|
agent_language?: {
|
|
322868
323023
|
/** @description Words the AI agent must never write to customers (case- and accent-insensitive, whole words), merged with the platform es-CL list. A reply that uses one is rewritten without it before it is sent. Up to 100 terms of 2 to 60 characters. */
|
package/package.json
CHANGED