@arbol-ai/cli 3.58.0 → 3.60.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.js +2620 -78
- package/package.json +4 -4
package/dist/index.js
CHANGED
|
@@ -786,6 +786,46 @@ var commands = {
|
|
|
786
786
|
confirmation: null,
|
|
787
787
|
hidden: false
|
|
788
788
|
},
|
|
789
|
+
"account billing get": {
|
|
790
|
+
operation: "account.billing.get",
|
|
791
|
+
sdkPath: [
|
|
792
|
+
"account",
|
|
793
|
+
"billing",
|
|
794
|
+
"get"
|
|
795
|
+
],
|
|
796
|
+
pathField: null,
|
|
797
|
+
fields: [],
|
|
798
|
+
inputSchema: {
|
|
799
|
+
type: "object",
|
|
800
|
+
properties: {},
|
|
801
|
+
additionalProperties: false
|
|
802
|
+
},
|
|
803
|
+
title: "Get billing",
|
|
804
|
+
description: "The organization's wallet in credits (one credit is one US dollar): credits left, granted and spent in the current period, whether running out stops service, its plans and the card a top-up charges.",
|
|
805
|
+
effect: "read",
|
|
806
|
+
confirmation: null,
|
|
807
|
+
hidden: false
|
|
808
|
+
},
|
|
809
|
+
"account billing-portal-sessions create": {
|
|
810
|
+
operation: "account.billingPortalSessions.create",
|
|
811
|
+
sdkPath: [
|
|
812
|
+
"account",
|
|
813
|
+
"billingPortalSessions",
|
|
814
|
+
"create"
|
|
815
|
+
],
|
|
816
|
+
pathField: null,
|
|
817
|
+
fields: [],
|
|
818
|
+
inputSchema: {
|
|
819
|
+
type: "object",
|
|
820
|
+
properties: {},
|
|
821
|
+
additionalProperties: false
|
|
822
|
+
},
|
|
823
|
+
title: "Open the card portal",
|
|
824
|
+
description: "A session of Stripe's portal, where the organization's people change its saved card and download its card receipts.",
|
|
825
|
+
effect: "write",
|
|
826
|
+
confirmation: null,
|
|
827
|
+
hidden: false
|
|
828
|
+
},
|
|
789
829
|
"account colombian-records lookup": {
|
|
790
830
|
operation: "account.colombianRecords.lookup",
|
|
791
831
|
sdkPath: [
|
|
@@ -1841,6 +1881,189 @@ var commands = {
|
|
|
1841
1881
|
confirmation: null,
|
|
1842
1882
|
hidden: false
|
|
1843
1883
|
},
|
|
1884
|
+
"account usage-summary get": {
|
|
1885
|
+
operation: "account.usageSummary.get",
|
|
1886
|
+
sdkPath: [
|
|
1887
|
+
"account",
|
|
1888
|
+
"usageSummary",
|
|
1889
|
+
"get"
|
|
1890
|
+
],
|
|
1891
|
+
pathField: null,
|
|
1892
|
+
fields: [
|
|
1893
|
+
{
|
|
1894
|
+
name: "from",
|
|
1895
|
+
flag: "from",
|
|
1896
|
+
kind: "string",
|
|
1897
|
+
required: false,
|
|
1898
|
+
description: "Start of the range; the current month by default."
|
|
1899
|
+
},
|
|
1900
|
+
{
|
|
1901
|
+
name: "to",
|
|
1902
|
+
flag: "to",
|
|
1903
|
+
kind: "string",
|
|
1904
|
+
required: false,
|
|
1905
|
+
description: "End of the range; now by default."
|
|
1906
|
+
},
|
|
1907
|
+
{
|
|
1908
|
+
name: "groupBy",
|
|
1909
|
+
flag: "group-by",
|
|
1910
|
+
kind: "string",
|
|
1911
|
+
required: false,
|
|
1912
|
+
description: "Breaks each feature down; by product by default.",
|
|
1913
|
+
choices: [
|
|
1914
|
+
"product",
|
|
1915
|
+
"channel"
|
|
1916
|
+
]
|
|
1917
|
+
}
|
|
1918
|
+
],
|
|
1919
|
+
inputSchema: {
|
|
1920
|
+
type: "object",
|
|
1921
|
+
properties: {
|
|
1922
|
+
from: {
|
|
1923
|
+
type: "string",
|
|
1924
|
+
format: "date-time",
|
|
1925
|
+
description: "Start of the range; the current month by default."
|
|
1926
|
+
},
|
|
1927
|
+
to: {
|
|
1928
|
+
type: "string",
|
|
1929
|
+
format: "date-time",
|
|
1930
|
+
description: "End of the range; now by default."
|
|
1931
|
+
},
|
|
1932
|
+
groupBy: {
|
|
1933
|
+
anyOf: [
|
|
1934
|
+
{
|
|
1935
|
+
type: "string",
|
|
1936
|
+
const: "product"
|
|
1937
|
+
},
|
|
1938
|
+
{
|
|
1939
|
+
type: "string",
|
|
1940
|
+
const: "channel"
|
|
1941
|
+
}
|
|
1942
|
+
],
|
|
1943
|
+
description: "Breaks each feature down; by product by default."
|
|
1944
|
+
}
|
|
1945
|
+
},
|
|
1946
|
+
additionalProperties: false
|
|
1947
|
+
},
|
|
1948
|
+
title: "Get the usage summary",
|
|
1949
|
+
description: "What the organization used in a range, the current month by default: each metered feature in its own units (minutes, conversations, lookups…), broken down by product or channel, and the credits its wallet paid.",
|
|
1950
|
+
effect: "read",
|
|
1951
|
+
confirmation: null,
|
|
1952
|
+
hidden: false
|
|
1953
|
+
},
|
|
1954
|
+
"account wallet-top-ups create": {
|
|
1955
|
+
operation: "account.walletTopUps.create",
|
|
1956
|
+
sdkPath: [
|
|
1957
|
+
"account",
|
|
1958
|
+
"walletTopUps",
|
|
1959
|
+
"create"
|
|
1960
|
+
],
|
|
1961
|
+
pathField: null,
|
|
1962
|
+
fields: [
|
|
1963
|
+
{
|
|
1964
|
+
name: "credits",
|
|
1965
|
+
flag: "credits",
|
|
1966
|
+
kind: "integer",
|
|
1967
|
+
required: true,
|
|
1968
|
+
description: "Credits to buy, at one US dollar each."
|
|
1969
|
+
}
|
|
1970
|
+
],
|
|
1971
|
+
inputSchema: {
|
|
1972
|
+
type: "object",
|
|
1973
|
+
required: [
|
|
1974
|
+
"credits"
|
|
1975
|
+
],
|
|
1976
|
+
properties: {
|
|
1977
|
+
credits: {
|
|
1978
|
+
type: "integer",
|
|
1979
|
+
minimum: 10,
|
|
1980
|
+
maximum: 1e4,
|
|
1981
|
+
description: "Credits to buy, at one US dollar each."
|
|
1982
|
+
}
|
|
1983
|
+
},
|
|
1984
|
+
additionalProperties: false
|
|
1985
|
+
},
|
|
1986
|
+
title: "Top up the wallet",
|
|
1987
|
+
description: "Buys credits at one US dollar each. The organization's saved card is charged at once; without one, or when the bank asks to confirm, the answer is Stripe's page to pay on. Never repeated on its own: a lost answer is OUTCOME_UNKNOWN, and the wallet's transactions say whether it was paid.",
|
|
1988
|
+
effect: "write",
|
|
1989
|
+
confirmation: null,
|
|
1990
|
+
hidden: false
|
|
1991
|
+
},
|
|
1992
|
+
"account wallet-transactions list": {
|
|
1993
|
+
operation: "account.walletTransactions.list",
|
|
1994
|
+
sdkPath: [
|
|
1995
|
+
"account",
|
|
1996
|
+
"walletTransactions",
|
|
1997
|
+
"list"
|
|
1998
|
+
],
|
|
1999
|
+
pathField: null,
|
|
2000
|
+
fields: [
|
|
2001
|
+
{
|
|
2002
|
+
name: "cursor",
|
|
2003
|
+
flag: "cursor",
|
|
2004
|
+
kind: "string",
|
|
2005
|
+
required: false,
|
|
2006
|
+
description: "Opaque cursor returned by pageInfo; omit it to request the first page."
|
|
2007
|
+
},
|
|
2008
|
+
{
|
|
2009
|
+
name: "direction",
|
|
2010
|
+
flag: "direction",
|
|
2011
|
+
kind: "string",
|
|
2012
|
+
required: false,
|
|
2013
|
+
description: "Direction to traverse the stable keyset ordering from the supplied cursor.",
|
|
2014
|
+
choices: [
|
|
2015
|
+
"forward",
|
|
2016
|
+
"backward"
|
|
2017
|
+
],
|
|
2018
|
+
default: "forward"
|
|
2019
|
+
},
|
|
2020
|
+
{
|
|
2021
|
+
name: "limit",
|
|
2022
|
+
flag: "limit",
|
|
2023
|
+
kind: "integer",
|
|
2024
|
+
required: false,
|
|
2025
|
+
description: "Maximum items returned in one page. Defaults to 25; larger reads require another cursor.",
|
|
2026
|
+
default: 25
|
|
2027
|
+
}
|
|
2028
|
+
],
|
|
2029
|
+
inputSchema: {
|
|
2030
|
+
type: "object",
|
|
2031
|
+
required: [],
|
|
2032
|
+
properties: {
|
|
2033
|
+
cursor: {
|
|
2034
|
+
type: "string",
|
|
2035
|
+
description: "Opaque cursor returned by pageInfo; omit it to request the first page."
|
|
2036
|
+
},
|
|
2037
|
+
direction: {
|
|
2038
|
+
anyOf: [
|
|
2039
|
+
{
|
|
2040
|
+
type: "string",
|
|
2041
|
+
const: "forward"
|
|
2042
|
+
},
|
|
2043
|
+
{
|
|
2044
|
+
type: "string",
|
|
2045
|
+
const: "backward"
|
|
2046
|
+
}
|
|
2047
|
+
],
|
|
2048
|
+
description: "Direction to traverse the stable keyset ordering from the supplied cursor.",
|
|
2049
|
+
default: "forward"
|
|
2050
|
+
},
|
|
2051
|
+
limit: {
|
|
2052
|
+
type: "integer",
|
|
2053
|
+
minimum: 1,
|
|
2054
|
+
maximum: 100,
|
|
2055
|
+
description: "Maximum items returned in one page. Defaults to 25; larger reads require another cursor.",
|
|
2056
|
+
default: 25
|
|
2057
|
+
}
|
|
2058
|
+
},
|
|
2059
|
+
additionalProperties: false
|
|
2060
|
+
},
|
|
2061
|
+
title: "List wallet transactions",
|
|
2062
|
+
description: "What moved the organization's wallet, newest first: top-ups, plan grants and renewals, adjustments Arbol made, and the credits spent, one entry per UTC day, each with the balance right after it. Listed forward only.",
|
|
2063
|
+
effect: "read",
|
|
2064
|
+
confirmation: null,
|
|
2065
|
+
hidden: false
|
|
2066
|
+
},
|
|
1844
2067
|
"adres affiliations lookup": {
|
|
1845
2068
|
operation: "adres.affiliations.lookup",
|
|
1846
2069
|
sdkPath: [
|
|
@@ -22086,6 +22309,32 @@ var commands = {
|
|
|
22086
22309
|
"team"
|
|
22087
22310
|
]
|
|
22088
22311
|
},
|
|
22312
|
+
{
|
|
22313
|
+
name: "waitingOn",
|
|
22314
|
+
flag: "waiting-on",
|
|
22315
|
+
kind: "string",
|
|
22316
|
+
required: false,
|
|
22317
|
+
description: "Open conversations by who they wait for, as each conversation's `waitingOn` says: `ai`, `team` (the team's cases to answer) or `contact`. Closed conversations never match.",
|
|
22318
|
+
choices: [
|
|
22319
|
+
"ai",
|
|
22320
|
+
"team",
|
|
22321
|
+
"contact"
|
|
22322
|
+
]
|
|
22323
|
+
},
|
|
22324
|
+
{
|
|
22325
|
+
name: "assignee",
|
|
22326
|
+
flag: "assignee",
|
|
22327
|
+
kind: "string",
|
|
22328
|
+
required: false,
|
|
22329
|
+
description: "Conversations by the case's owner: a member id, `me` (the person calling) or `none` (nobody has it). With `waitingOn=team`: one person's cases to answer, or the ones nobody took."
|
|
22330
|
+
},
|
|
22331
|
+
{
|
|
22332
|
+
name: "unattended",
|
|
22333
|
+
flag: "unattended",
|
|
22334
|
+
kind: "boolean",
|
|
22335
|
+
required: false,
|
|
22336
|
+
description: "`true`: conversations that closed for inactivity with a handoff nobody of the team answered."
|
|
22337
|
+
},
|
|
22089
22338
|
{
|
|
22090
22339
|
name: "origin",
|
|
22091
22340
|
flag: "origin",
|
|
@@ -22258,7 +22507,7 @@ var commands = {
|
|
|
22258
22507
|
flag: "group-by",
|
|
22259
22508
|
kind: "string",
|
|
22260
22509
|
required: false,
|
|
22261
|
-
description: "`outcome`, `status`, `channel` (type), `agent`, `sentiment`, `tool` (each Agent tool and the conversations that used it; null for those that used none), `toolError` (failed calls, of `toolName` when given, by error) or `fact:<definition key>` (the current value of that definition, such as the reason for contact)."
|
|
22510
|
+
description: "`outcome`, `status`, `channel` (type), `agent`, `sentiment`, `waitingOn` (who each open conversation waits for: `ai`, `team` or `contact`; null for the closed ones), `tool` (each Agent tool and the conversations that used it; null for those that used none), `toolError` (failed calls, of `toolName` when given, by error) or `fact:<definition key>` (the current value of that definition, such as the reason for contact)."
|
|
22262
22511
|
}
|
|
22263
22512
|
],
|
|
22264
22513
|
inputSchema: {
|
|
@@ -22344,6 +22593,33 @@ var commands = {
|
|
|
22344
22593
|
],
|
|
22345
22594
|
description: "Who works the conversation now. `ai`: calls and web chats, open WhatsApp conversations the AI answers (assigned to it and not paused), and closed ones the AI answered. `team`: open WhatsApp conversations the organization's people answer (not assigned to the AI, or paused) and closed ones they answered. Unlike `handling`, a conversation the AI answered and then handed to people is `team` while open."
|
|
22346
22595
|
},
|
|
22596
|
+
waitingOn: {
|
|
22597
|
+
anyOf: [
|
|
22598
|
+
{
|
|
22599
|
+
type: "string",
|
|
22600
|
+
const: "ai"
|
|
22601
|
+
},
|
|
22602
|
+
{
|
|
22603
|
+
type: "string",
|
|
22604
|
+
const: "team"
|
|
22605
|
+
},
|
|
22606
|
+
{
|
|
22607
|
+
type: "string",
|
|
22608
|
+
const: "contact"
|
|
22609
|
+
}
|
|
22610
|
+
],
|
|
22611
|
+
description: "Open conversations by who they wait for, as each conversation's `waitingOn` says: `ai`, `team` (the team's cases to answer) or `contact`. Closed conversations never match."
|
|
22612
|
+
},
|
|
22613
|
+
assignee: {
|
|
22614
|
+
type: "string",
|
|
22615
|
+
description: "Conversations by the case's owner: a member id, `me` (the person calling) or `none` (nobody has it). With `waitingOn=team`: one person's cases to answer, or the ones nobody took.",
|
|
22616
|
+
maxLength: 255,
|
|
22617
|
+
minLength: 1
|
|
22618
|
+
},
|
|
22619
|
+
unattended: {
|
|
22620
|
+
type: "boolean",
|
|
22621
|
+
description: "`true`: conversations that closed for inactivity with a handoff nobody of the team answered."
|
|
22622
|
+
},
|
|
22347
22623
|
origin: {
|
|
22348
22624
|
type: "string",
|
|
22349
22625
|
description: "Comma-separated origins.",
|
|
@@ -22506,14 +22782,14 @@ var commands = {
|
|
|
22506
22782
|
},
|
|
22507
22783
|
groupBy: {
|
|
22508
22784
|
type: "string",
|
|
22509
|
-
description: "`outcome`, `status`, `channel` (type), `agent`, `sentiment`, `tool` (each Agent tool and the conversations that used it; null for those that used none), `toolError` (failed calls, of `toolName` when given, by error) or `fact:<definition key>` (the current value of that definition, such as the reason for contact).",
|
|
22510
|
-
pattern: "^(outcome|status|channel|agent|sentiment|tool|toolError|fact:[a-z][a-z0-9_]{0,63})$"
|
|
22785
|
+
description: "`outcome`, `status`, `channel` (type), `agent`, `sentiment`, `waitingOn` (who each open conversation waits for: `ai`, `team` or `contact`; null for the closed ones), `tool` (each Agent tool and the conversations that used it; null for those that used none), `toolError` (failed calls, of `toolName` when given, by error) or `fact:<definition key>` (the current value of that definition, such as the reason for contact).",
|
|
22786
|
+
pattern: "^(outcome|status|channel|agent|sentiment|waitingOn|tool|toolError|fact:[a-z][a-z0-9_]{0,63})$"
|
|
22511
22787
|
}
|
|
22512
22788
|
},
|
|
22513
22789
|
additionalProperties: false
|
|
22514
22790
|
},
|
|
22515
22791
|
title: "Count conversations",
|
|
22516
|
-
description: "Count the conversations `list_conversations` returns for the same filters (every filter it takes, without `sort`), up to 10,000: `capped` then says at least that many match. `averageMessageCount` and `averageDurationSeconds` are their average length. `groupBy` also divides them, largest group first, each with its outcomes: by `outcome`, `status`, `channel`, `agent`, `sentiment`, `tool` (which Agent tools they used, and in how many a tool failed), `toolError` (why calls of `toolName` failed) or `fact:<definition key>` (such as the reason for contact). Use it to answer how many conversations match, or how they divide, instead of paging through the list; for volumes per day use `get_report`.",
|
|
22792
|
+
description: "Count the conversations `list_conversations` returns for the same filters (every filter it takes, without `sort`), up to 10,000: `capped` then says at least that many match. `averageMessageCount` and `averageDurationSeconds` are their average length. `groupBy` also divides them, largest group first, each with its outcomes: by `outcome`, `status`, `channel`, `agent`, `sentiment`, `waitingOn` (who each open conversation waits for: the AI, the team or the contact), `tool` (which Agent tools they used, and in how many a tool failed), `toolError` (why calls of `toolName` failed) or `fact:<definition key>` (such as the reason for contact). Use it to answer how many conversations match, or how they divide, instead of paging through the list; for volumes per day use `get_report`.",
|
|
22517
22793
|
effect: "read",
|
|
22518
22794
|
confirmation: null,
|
|
22519
22795
|
hidden: false
|
|
@@ -22564,7 +22840,7 @@ var commands = {
|
|
|
22564
22840
|
flag: "expand",
|
|
22565
22841
|
kind: "string",
|
|
22566
22842
|
required: false,
|
|
22567
|
-
description: "Related data to include, comma-separated: `messages`, `recording`, `diagnostics`."
|
|
22843
|
+
description: "Related data to include, comma-separated: `messages`, `recording`, `diagnostics`, `history`."
|
|
22568
22844
|
},
|
|
22569
22845
|
{
|
|
22570
22846
|
name: "messagesCursor",
|
|
@@ -22607,11 +22883,11 @@ var commands = {
|
|
|
22607
22883
|
},
|
|
22608
22884
|
expand: {
|
|
22609
22885
|
type: "string",
|
|
22610
|
-
description: "Related data to include, comma-separated: `messages`, `recording`, `diagnostics`.",
|
|
22886
|
+
description: "Related data to include, comma-separated: `messages`, `recording`, `diagnostics`, `history`.",
|
|
22611
22887
|
examples: [
|
|
22612
|
-
"messages,recording,diagnostics"
|
|
22888
|
+
"messages,recording,diagnostics,history"
|
|
22613
22889
|
],
|
|
22614
|
-
pattern: "^(messages|recording|diagnostics)(,(messages|recording|diagnostics))*$"
|
|
22890
|
+
pattern: "^(messages|recording|diagnostics|history)(,(messages|recording|diagnostics|history))*$"
|
|
22615
22891
|
},
|
|
22616
22892
|
messagesCursor: {
|
|
22617
22893
|
type: "string",
|
|
@@ -22646,7 +22922,7 @@ var commands = {
|
|
|
22646
22922
|
additionalProperties: false
|
|
22647
22923
|
},
|
|
22648
22924
|
title: "Get a conversation",
|
|
22649
|
-
description: "Read one conversation with its contact, Agent and channel, who works it (`workers`: each Agent and the team, and who answers now), title, summary, outcome, sentiment and current facts. Add `expand=messages` for the transcript, oldest first, each message with its author, the Agent's tool calls and quoted replies (continue with `messagesCursor`),
|
|
22925
|
+
description: "Read one conversation with its contact, Agent and channel, who works it (`workers`: each Agent and the team, and who answers now), title, summary, outcome, sentiment and current facts. Add `expand=messages` for the transcript, oldest first, each message with its author, the Agent's tool calls and quoted replies (continue with `messagesCursor`), `expand=recording` for a short-lived link to the call recording, and `expand=history` for the case's history: the handoff to the team, who took it or was given it, the return to the AI and the closing. `waitingOn` says who an open conversation waits for (the AI, the team or the contact) and `assigneeId` who has its case. Staff may also request `expand=diagnostics` for bounded live call-termination evidence; this additionally requires raiz:staff:operate and never changes the conversation. The `review-conversation` skill explains how to read and summarize one.",
|
|
22650
22926
|
effect: "read",
|
|
22651
22927
|
confirmation: null,
|
|
22652
22928
|
hidden: false
|
|
@@ -22756,6 +23032,32 @@ var commands = {
|
|
|
22756
23032
|
"team"
|
|
22757
23033
|
]
|
|
22758
23034
|
},
|
|
23035
|
+
{
|
|
23036
|
+
name: "waitingOn",
|
|
23037
|
+
flag: "waiting-on",
|
|
23038
|
+
kind: "string",
|
|
23039
|
+
required: false,
|
|
23040
|
+
description: "Open conversations by who they wait for, as each conversation's `waitingOn` says: `ai`, `team` (the team's cases to answer) or `contact`. Closed conversations never match.",
|
|
23041
|
+
choices: [
|
|
23042
|
+
"ai",
|
|
23043
|
+
"team",
|
|
23044
|
+
"contact"
|
|
23045
|
+
]
|
|
23046
|
+
},
|
|
23047
|
+
{
|
|
23048
|
+
name: "assignee",
|
|
23049
|
+
flag: "assignee",
|
|
23050
|
+
kind: "string",
|
|
23051
|
+
required: false,
|
|
23052
|
+
description: "Conversations by the case's owner: a member id, `me` (the person calling) or `none` (nobody has it). With `waitingOn=team`: one person's cases to answer, or the ones nobody took."
|
|
23053
|
+
},
|
|
23054
|
+
{
|
|
23055
|
+
name: "unattended",
|
|
23056
|
+
flag: "unattended",
|
|
23057
|
+
kind: "boolean",
|
|
23058
|
+
required: false,
|
|
23059
|
+
description: "`true`: conversations that closed for inactivity with a handoff nobody of the team answered."
|
|
23060
|
+
},
|
|
22759
23061
|
{
|
|
22760
23062
|
name: "origin",
|
|
22761
23063
|
flag: "origin",
|
|
@@ -23045,6 +23347,33 @@ var commands = {
|
|
|
23045
23347
|
],
|
|
23046
23348
|
description: "Who works the conversation now. `ai`: calls and web chats, open WhatsApp conversations the AI answers (assigned to it and not paused), and closed ones the AI answered. `team`: open WhatsApp conversations the organization's people answer (not assigned to the AI, or paused) and closed ones they answered. Unlike `handling`, a conversation the AI answered and then handed to people is `team` while open."
|
|
23047
23349
|
},
|
|
23350
|
+
waitingOn: {
|
|
23351
|
+
anyOf: [
|
|
23352
|
+
{
|
|
23353
|
+
type: "string",
|
|
23354
|
+
const: "ai"
|
|
23355
|
+
},
|
|
23356
|
+
{
|
|
23357
|
+
type: "string",
|
|
23358
|
+
const: "team"
|
|
23359
|
+
},
|
|
23360
|
+
{
|
|
23361
|
+
type: "string",
|
|
23362
|
+
const: "contact"
|
|
23363
|
+
}
|
|
23364
|
+
],
|
|
23365
|
+
description: "Open conversations by who they wait for, as each conversation's `waitingOn` says: `ai`, `team` (the team's cases to answer) or `contact`. Closed conversations never match."
|
|
23366
|
+
},
|
|
23367
|
+
assignee: {
|
|
23368
|
+
type: "string",
|
|
23369
|
+
description: "Conversations by the case's owner: a member id, `me` (the person calling) or `none` (nobody has it). With `waitingOn=team`: one person's cases to answer, or the ones nobody took.",
|
|
23370
|
+
maxLength: 255,
|
|
23371
|
+
minLength: 1
|
|
23372
|
+
},
|
|
23373
|
+
unattended: {
|
|
23374
|
+
type: "boolean",
|
|
23375
|
+
description: "`true`: conversations that closed for inactivity with a handoff nobody of the team answered."
|
|
23376
|
+
},
|
|
23048
23377
|
origin: {
|
|
23049
23378
|
type: "string",
|
|
23050
23379
|
description: "Comma-separated origins.",
|
|
@@ -23227,7 +23556,7 @@ var commands = {
|
|
|
23227
23556
|
additionalProperties: false
|
|
23228
23557
|
},
|
|
23229
23558
|
title: "List conversations",
|
|
23230
|
-
description: "Find calls, WhatsApp chats and web chats. Filter by `contactId` (as counterpart or subject), `agentId`, `channelId`, `channelType`, `status`, `conversationDirection`, `origin`, `outcome`, `sentiment`, `handling` (`ai` or `team`: whether the AI takes part; `escalated`: handed to the team by the AI), `worker` (`ai` or `team`: who answers it now), the Agent's tools (`toolName`, `toolStatus`: which tool it called and how the call ended), a captured fact (`factDefinition`, `factValue`), `assessment` (`failed` or `passed`), `toReview` (evaluated failures or unresolved handoffs; explicitly resolved successes leave this queue), length (`messagesMin`, `messagesMax`, `durationMin`, `durationMax`), `campaignId`, `profileId`, `requestedBy` and start time (`startedAfter`, `startedBefore`); `q` searches participant identities (names, profile names, usernames, phones, emails and documents), visible messages, titles, summaries and exact conversation references; `count_conversations` counts every match. Each item already carries its title, summary, outcome, sentiment, workers and tool calls (how many, how many failed, the latest failure), often enough to answer. `sort`: `started` (newest first), `last_message` (latest activity first) or `changed`, the feed of status, outcome and analysis changes, oldest first, that systems poll from a saved `pageInfo.nextCursor` (a deleted conversation appears once with `deletedAt`). Next: `get_conversation` for a transcript.",
|
|
23559
|
+
description: "Find calls, WhatsApp chats and web chats. Filter by `contactId` (as counterpart or subject), `agentId`, `channelId`, `channelType`, `status`, `conversationDirection`, `origin`, `outcome`, `sentiment`, `handling` (`ai` or `team`: whether the AI takes part; `escalated`: handed to the team by the AI), `worker` (`ai` or `team`: who answers it now), `waitingOn` (`ai`, `team` or `contact`: who an open conversation waits for; `team` lists the cases a person has to answer), `assignee` (a member id, `me` or `none`: whose case it is), `unattended` (closed with a handoff nobody of the team answered), the Agent's tools (`toolName`, `toolStatus`: which tool it called and how the call ended), a captured fact (`factDefinition`, `factValue`), `assessment` (`failed` or `passed`), `toReview` (evaluated failures or unresolved handoffs; explicitly resolved successes leave this queue), length (`messagesMin`, `messagesMax`, `durationMin`, `durationMax`), `campaignId`, `profileId`, `requestedBy` and start time (`startedAfter`, `startedBefore`); `q` searches participant identities (names, profile names, usernames, phones, emails and documents), visible messages, titles, summaries and exact conversation references; `count_conversations` counts every match. Each item already carries its title, summary, outcome, sentiment, workers and tool calls (how many, how many failed, the latest failure), often enough to answer. `sort`: `started` (newest first), `last_message` (latest activity first) or `changed`, the feed of status, outcome and analysis changes, oldest first, that systems poll from a saved `pageInfo.nextCursor` (a deleted conversation appears once with `deletedAt`). Next: `get_conversation` for a transcript.",
|
|
23231
23560
|
effect: "read",
|
|
23232
23561
|
confirmation: null,
|
|
23233
23562
|
hidden: false
|
|
@@ -23454,6 +23783,13 @@ var commands = {
|
|
|
23454
23783
|
required: false,
|
|
23455
23784
|
description: "WhatsApp only: pause or resume automatic replies for this recipient until their open conversation closes. Resuming answers what the contact wrote in this conversation after the last real answer."
|
|
23456
23785
|
},
|
|
23786
|
+
{
|
|
23787
|
+
name: "assigneeId",
|
|
23788
|
+
flag: "assignee-id",
|
|
23789
|
+
kind: "string",
|
|
23790
|
+
required: false,
|
|
23791
|
+
description: ""
|
|
23792
|
+
},
|
|
23457
23793
|
{
|
|
23458
23794
|
name: "contactId",
|
|
23459
23795
|
flag: "contact-id",
|
|
@@ -23514,6 +23850,19 @@ var commands = {
|
|
|
23514
23850
|
type: "boolean",
|
|
23515
23851
|
description: "WhatsApp only: pause or resume automatic replies for this recipient until their open conversation closes. Resuming answers what the contact wrote in this conversation after the last real answer."
|
|
23516
23852
|
},
|
|
23853
|
+
assigneeId: {
|
|
23854
|
+
anyOf: [
|
|
23855
|
+
{
|
|
23856
|
+
type: "string",
|
|
23857
|
+
description: "Give the case to a person of the organization, by their member id as Arbol Account lists it (`listAssignees` names the people who can take one); `me` takes it for the person calling; `null` leaves it with nobody. Its new owner is told by email. History keeps who had it and who passed it on.",
|
|
23858
|
+
maxLength: 255,
|
|
23859
|
+
minLength: 1
|
|
23860
|
+
},
|
|
23861
|
+
{
|
|
23862
|
+
type: "null"
|
|
23863
|
+
}
|
|
23864
|
+
]
|
|
23865
|
+
},
|
|
23517
23866
|
contactId: {
|
|
23518
23867
|
anyOf: [
|
|
23519
23868
|
{
|
|
@@ -23602,7 +23951,7 @@ var commands = {
|
|
|
23602
23951
|
additionalProperties: false
|
|
23603
23952
|
},
|
|
23604
23953
|
title: "Update a conversation",
|
|
23605
|
-
description: "Change a conversation's title, summary, metadata, contact or subject, or close it (`status: closed`), which starts its analysis. A title or summary written here always wins over the generated one. A call closes by itself (CALL_IN_PROGRESS); a web chat cannot close while the Agent is replying (REPLY_IN_PROGRESS, retry shortly). On WhatsApp, `aiEnabled` activates or pauses AI only for this open conversation and leaves future episodes unchanged; `aiPaused` pauses or resumes the Agent for this person until their open conversation closes. Activating or resuming answers what the contact wrote after the last real answer, the team's or the Agent's (a wait notice is not one).",
|
|
23954
|
+
description: "Change a conversation's title, summary, metadata, contact or subject, give its case to a person of the organization (`assigneeId`: a member id from `listAssignees`, `me`, or `null` for nobody; its new owner is told by email), or close it (`status: closed`), which starts its analysis. A title or summary written here always wins over the generated one. A call closes by itself (CALL_IN_PROGRESS); a web chat cannot close while the Agent is replying (REPLY_IN_PROGRESS, retry shortly). On WhatsApp, `aiEnabled` activates or pauses AI only for this open conversation and leaves future episodes unchanged; `aiPaused` pauses or resumes the Agent for this person until their open conversation closes (one a person handles closes by itself after the Agent's `teamCloseAfterMinutes` without messages). Activating or resuming answers what the contact wrote after the last real answer, the team's or the Agent's (a wait notice is not one).",
|
|
23606
23955
|
effect: "write",
|
|
23607
23956
|
confirmation: null,
|
|
23608
23957
|
hidden: false
|
|
@@ -26159,6 +26508,19 @@ var commands = {
|
|
|
26159
26508
|
}
|
|
26160
26509
|
]
|
|
26161
26510
|
},
|
|
26511
|
+
firstReplyMinutes: {
|
|
26512
|
+
anyOf: [
|
|
26513
|
+
{
|
|
26514
|
+
type: "integer",
|
|
26515
|
+
description: "Within how many minutes a person of the team should answer a conversation the AI handed over (default 15). Past it, the case's owner (`assigneeId`), or the team's recipients while nobody has it, is reminded once; at four times that, the organization's owners and its `productNotices.administrators` hear that it is overdue. Each wait is announced once: a contact who writes again after the team answered starts another. With a digest `frequency`, the conversation is listed again in the next digest instead. `0`: no reminders.",
|
|
26516
|
+
maximum: 1440,
|
|
26517
|
+
minimum: 0
|
|
26518
|
+
},
|
|
26519
|
+
{
|
|
26520
|
+
type: "null"
|
|
26521
|
+
}
|
|
26522
|
+
]
|
|
26523
|
+
},
|
|
26162
26524
|
frequency: {
|
|
26163
26525
|
anyOf: [
|
|
26164
26526
|
{
|
|
@@ -26873,9 +27235,10 @@ var commands = {
|
|
|
26873
27235
|
flag: "name",
|
|
26874
27236
|
kind: "string",
|
|
26875
27237
|
required: true,
|
|
26876
|
-
description: "`conversations_daily`: conversations the AI took part in per day, Agent, channel type and direction, with outcomes and escalations (filters `agentId`, `channelType`). `booking_details`: individual patients and appointments from explicit successful creation receipts, including specialty, paired exams, deduplication, matched patient names and later recorded cancellations; filters agentId and specialty; requires conversation read/write permission too. Historical receipts with created=true, not current provider status or all provider protocols. unverifiedCount covers explicit creations missing a stable patient/slot. `booking_outcomes`: verified saved booking receipts per completion day, Agent and integration, excluding test/import/deleted conversations; confirmed new bookings, reschedules, cancellations, failed, pending, unverified and duplicate receipts separately (filter `agentId`). Historical evidence, not current appointment status; hasMore requires splitting the range and returns no partial totals. `tool_calls_daily`: tool calls per day, Agent and tool with failures/durations (filter `agentId`). `tool_calls`: individual calls, never inputs/outputs (filter `agentId`). `assessment_results_daily`: assessments per day/definition (filter `definitionId`). `pqrsf_daily`: classification, confirmed resolution and referral-link counts from the pqrsf_* definitions, including pending/unclassified conversations, excluding tests/imports/deleted records (filters `agentId`, `channelType`); no measured filing reduction is inferred. `campaign_progress`: recipients by status (filter `campaignId`; no dates).",
|
|
27238
|
+
description: "`conversations_daily`: conversations the AI took part in per day, Agent, channel type and direction, with outcomes and escalations (filters `agentId`, `channelType`). `handoffs_daily`: the conversations the AI handed to the team, per day of the handoff, Agent and person (who answered first, else the case's owner), with how many were answered, answered in time, still waiting, closed unattended or returned to the AI, and the average seconds to the first answer (filter `agentId`). `booking_details`: individual patients and appointments from explicit successful creation receipts, including specialty, paired exams, deduplication, matched patient names and later recorded cancellations; filters agentId and specialty; requires conversation read/write permission too. Historical receipts with created=true, not current provider status or all provider protocols. unverifiedCount covers explicit creations missing a stable patient/slot. `booking_outcomes`: verified saved booking receipts per completion day, Agent and integration, excluding test/import/deleted conversations; confirmed new bookings, reschedules, cancellations, failed, pending, unverified and duplicate receipts separately (filter `agentId`). Historical evidence, not current appointment status; hasMore requires splitting the range and returns no partial totals. `tool_calls_daily`: tool calls per day, Agent and tool with failures/durations (filter `agentId`). `tool_calls`: individual calls, never inputs/outputs (filter `agentId`). `assessment_results_daily`: assessments per day/definition (filter `definitionId`). `pqrsf_daily`: classification, confirmed resolution and referral-link counts from the pqrsf_* definitions, including pending/unclassified conversations, excluding tests/imports/deleted records (filters `agentId`, `channelType`); no measured filing reduction is inferred. `campaign_progress`: recipients by status (filter `campaignId`; no dates).",
|
|
26877
27239
|
choices: [
|
|
26878
27240
|
"conversations_daily",
|
|
27241
|
+
"handoffs_daily",
|
|
26879
27242
|
"pqrsf_daily",
|
|
26880
27243
|
"tool_calls_daily",
|
|
26881
27244
|
"tool_calls",
|
|
@@ -26953,6 +27316,10 @@ var commands = {
|
|
|
26953
27316
|
type: "string",
|
|
26954
27317
|
const: "conversations_daily"
|
|
26955
27318
|
},
|
|
27319
|
+
{
|
|
27320
|
+
type: "string",
|
|
27321
|
+
const: "handoffs_daily"
|
|
27322
|
+
},
|
|
26956
27323
|
{
|
|
26957
27324
|
type: "string",
|
|
26958
27325
|
const: "pqrsf_daily"
|
|
@@ -26982,7 +27349,7 @@ var commands = {
|
|
|
26982
27349
|
const: "campaign_progress"
|
|
26983
27350
|
}
|
|
26984
27351
|
],
|
|
26985
|
-
description: "`conversations_daily`: conversations the AI took part in per day, Agent, channel type and direction, with outcomes and escalations (filters `agentId`, `channelType`). `booking_details`: individual patients and appointments from explicit successful creation receipts, including specialty, paired exams, deduplication, matched patient names and later recorded cancellations; filters agentId and specialty; requires conversation read/write permission too. Historical receipts with created=true, not current provider status or all provider protocols. unverifiedCount covers explicit creations missing a stable patient/slot. `booking_outcomes`: verified saved booking receipts per completion day, Agent and integration, excluding test/import/deleted conversations; confirmed new bookings, reschedules, cancellations, failed, pending, unverified and duplicate receipts separately (filter `agentId`). Historical evidence, not current appointment status; hasMore requires splitting the range and returns no partial totals. `tool_calls_daily`: tool calls per day, Agent and tool with failures/durations (filter `agentId`). `tool_calls`: individual calls, never inputs/outputs (filter `agentId`). `assessment_results_daily`: assessments per day/definition (filter `definitionId`). `pqrsf_daily`: classification, confirmed resolution and referral-link counts from the pqrsf_* definitions, including pending/unclassified conversations, excluding tests/imports/deleted records (filters `agentId`, `channelType`); no measured filing reduction is inferred. `campaign_progress`: recipients by status (filter `campaignId`; no dates)."
|
|
27352
|
+
description: "`conversations_daily`: conversations the AI took part in per day, Agent, channel type and direction, with outcomes and escalations (filters `agentId`, `channelType`). `handoffs_daily`: the conversations the AI handed to the team, per day of the handoff, Agent and person (who answered first, else the case's owner), with how many were answered, answered in time, still waiting, closed unattended or returned to the AI, and the average seconds to the first answer (filter `agentId`). `booking_details`: individual patients and appointments from explicit successful creation receipts, including specialty, paired exams, deduplication, matched patient names and later recorded cancellations; filters agentId and specialty; requires conversation read/write permission too. Historical receipts with created=true, not current provider status or all provider protocols. unverifiedCount covers explicit creations missing a stable patient/slot. `booking_outcomes`: verified saved booking receipts per completion day, Agent and integration, excluding test/import/deleted conversations; confirmed new bookings, reschedules, cancellations, failed, pending, unverified and duplicate receipts separately (filter `agentId`). Historical evidence, not current appointment status; hasMore requires splitting the range and returns no partial totals. `tool_calls_daily`: tool calls per day, Agent and tool with failures/durations (filter `agentId`). `tool_calls`: individual calls, never inputs/outputs (filter `agentId`). `assessment_results_daily`: assessments per day/definition (filter `definitionId`). `pqrsf_daily`: classification, confirmed resolution and referral-link counts from the pqrsf_* definitions, including pending/unclassified conversations, excluding tests/imports/deleted records (filters `agentId`, `channelType`); no measured filing reduction is inferred. `campaign_progress`: recipients by status (filter `campaignId`; no dates)."
|
|
26986
27353
|
},
|
|
26987
27354
|
to: {
|
|
26988
27355
|
type: "string",
|
|
@@ -26996,7 +27363,7 @@ var commands = {
|
|
|
26996
27363
|
additionalProperties: false
|
|
26997
27364
|
},
|
|
26998
27365
|
title: "Get a report",
|
|
26999
|
-
description: "Get the numbers behind a question. `name`: `conversations_daily` (conversations the AI took part in, per day), `booking_details` (verified individual creation receipts with patient, specialty, appointments and later recorded cancellations; also requires conversation read/write permission; filter specialty by its recorded code), `booking_outcomes` (verified saved booking receipts by completion day and integration, excluding tests, imports and deleted conversations; createdCount counts new appointments created by the AI, not confirmations of existing appointments; confirmedCount is its compatibility alias and must not be added again; reschedules, cancellations, failures, pending and unverified results separately), `tool_calls_daily` (Agent tool calls per day), `tool_calls` (each call, newest first), `assessment_results_daily` (assessment results per day), `pqrsf_daily` (PQRSF classification, confirmed informational resolution and correct referrals from current pqrsf_* facts; unknown and pending analysis remain visible; excludes tests/imports/deleted records), each over days in the organization's time zone (`from`, `to`; the last 30 days by default), or `campaign_progress`. Narrow with `agentId`, `channelType`, `campaignId` or `definitionId`; unsupported filters fail. At most 1000 rows: `hasMore` means split the range or filter. Booking outcomes return no partial totals when their evidence scan exceeds its bound. Conversation success and completed tool calls never establish a booking; these are historical receipts, not the provider's current appointment status.",
|
|
27366
|
+
description: "Get the numbers behind a question. `name`: `conversations_daily` (conversations the AI took part in, per day), `handoffs_daily` (the conversations the AI handed to the team per day, Agent and person: how many a person answered, how many within the organization's first-reply time and how soon on average, how many still wait, how many closed with nobody answering and how many went back to the AI; filter `agentId`), `booking_details` (verified individual creation receipts with patient, specialty, appointments and later recorded cancellations; also requires conversation read/write permission; filter specialty by its recorded code), `booking_outcomes` (verified saved booking receipts by completion day and integration, excluding tests, imports and deleted conversations; createdCount counts new appointments created by the AI, not confirmations of existing appointments; confirmedCount is its compatibility alias and must not be added again; reschedules, cancellations, failures, pending and unverified results separately), `tool_calls_daily` (Agent tool calls per day), `tool_calls` (each call, newest first), `assessment_results_daily` (assessment results per day), `pqrsf_daily` (PQRSF classification, confirmed informational resolution and correct referrals from current pqrsf_* facts; unknown and pending analysis remain visible; excludes tests/imports/deleted records), each over days in the organization's time zone (`from`, `to`; the last 30 days by default), or `campaign_progress`. Narrow with `agentId`, `channelType`, `campaignId` or `definitionId`; unsupported filters fail. At most 1000 rows: `hasMore` means split the range or filter. Booking outcomes return no partial totals when their evidence scan exceeds its bound. Conversation success and completed tool calls never establish a booking; these are historical receipts, not the provider's current appointment status.",
|
|
27000
27367
|
effect: "read",
|
|
27001
27368
|
confirmation: null,
|
|
27002
27369
|
hidden: false
|
|
@@ -34749,6 +35116,369 @@ var schemaComponents = {
|
|
|
34749
35116
|
},
|
|
34750
35117
|
additionalProperties: false
|
|
34751
35118
|
},
|
|
35119
|
+
AccountBilling: {
|
|
35120
|
+
type: "object",
|
|
35121
|
+
required: [
|
|
35122
|
+
"status",
|
|
35123
|
+
"balance",
|
|
35124
|
+
"granted",
|
|
35125
|
+
"used",
|
|
35126
|
+
"unlimited",
|
|
35127
|
+
"overageAllowed",
|
|
35128
|
+
"enforced",
|
|
35129
|
+
"nextResetAt",
|
|
35130
|
+
"plans",
|
|
35131
|
+
"card",
|
|
35132
|
+
"topUp"
|
|
35133
|
+
],
|
|
35134
|
+
properties: {
|
|
35135
|
+
status: {
|
|
35136
|
+
anyOf: [
|
|
35137
|
+
{
|
|
35138
|
+
type: "string",
|
|
35139
|
+
const: "active"
|
|
35140
|
+
},
|
|
35141
|
+
{
|
|
35142
|
+
type: "string",
|
|
35143
|
+
const: "new"
|
|
35144
|
+
}
|
|
35145
|
+
],
|
|
35146
|
+
description: "`new`: the organization has no wallet yet; its first use or top-up opens one."
|
|
35147
|
+
},
|
|
35148
|
+
balance: {
|
|
35149
|
+
type: "number",
|
|
35150
|
+
description: "Credits left in the wallet; one credit is one US dollar."
|
|
35151
|
+
},
|
|
35152
|
+
granted: {
|
|
35153
|
+
type: "number",
|
|
35154
|
+
description: "Credits the wallet received in the current period, top-ups included."
|
|
35155
|
+
},
|
|
35156
|
+
used: {
|
|
35157
|
+
type: "number",
|
|
35158
|
+
description: "Credits spent in the current period."
|
|
35159
|
+
},
|
|
35160
|
+
unlimited: {
|
|
35161
|
+
type: "boolean",
|
|
35162
|
+
description: "The plan never stops usage for lack of credits."
|
|
35163
|
+
},
|
|
35164
|
+
overageAllowed: {
|
|
35165
|
+
type: "boolean",
|
|
35166
|
+
description: "Usage continues below zero, up to any limit agreed, and is settled later."
|
|
35167
|
+
},
|
|
35168
|
+
enforced: {
|
|
35169
|
+
type: "boolean",
|
|
35170
|
+
description: "Whether running out stops service now; until it does, a refusal is only recorded."
|
|
35171
|
+
},
|
|
35172
|
+
nextResetAt: {
|
|
35173
|
+
anyOf: [
|
|
35174
|
+
{
|
|
35175
|
+
type: "string",
|
|
35176
|
+
format: "date-time"
|
|
35177
|
+
},
|
|
35178
|
+
{
|
|
35179
|
+
type: "null"
|
|
35180
|
+
}
|
|
35181
|
+
],
|
|
35182
|
+
description: "When the plan's included credits renew."
|
|
35183
|
+
},
|
|
35184
|
+
plans: {
|
|
35185
|
+
type: "array",
|
|
35186
|
+
items: {
|
|
35187
|
+
$ref: "#/components/schemas/AccountBillingPlan"
|
|
35188
|
+
},
|
|
35189
|
+
maxItems: 50
|
|
35190
|
+
},
|
|
35191
|
+
card: {
|
|
35192
|
+
anyOf: [
|
|
35193
|
+
{
|
|
35194
|
+
type: "object",
|
|
35195
|
+
required: [
|
|
35196
|
+
"brand",
|
|
35197
|
+
"last4"
|
|
35198
|
+
],
|
|
35199
|
+
properties: {
|
|
35200
|
+
brand: {
|
|
35201
|
+
type: "string"
|
|
35202
|
+
},
|
|
35203
|
+
last4: {
|
|
35204
|
+
type: "string"
|
|
35205
|
+
}
|
|
35206
|
+
},
|
|
35207
|
+
additionalProperties: false
|
|
35208
|
+
},
|
|
35209
|
+
{
|
|
35210
|
+
type: "null"
|
|
35211
|
+
}
|
|
35212
|
+
],
|
|
35213
|
+
description: "The card a top-up charges without asking for one."
|
|
35214
|
+
},
|
|
35215
|
+
topUp: {
|
|
35216
|
+
type: "object",
|
|
35217
|
+
required: [
|
|
35218
|
+
"minimum",
|
|
35219
|
+
"maximum"
|
|
35220
|
+
],
|
|
35221
|
+
properties: {
|
|
35222
|
+
minimum: {
|
|
35223
|
+
type: "integer"
|
|
35224
|
+
},
|
|
35225
|
+
maximum: {
|
|
35226
|
+
type: "integer"
|
|
35227
|
+
}
|
|
35228
|
+
},
|
|
35229
|
+
additionalProperties: false,
|
|
35230
|
+
description: "The credits one top-up may buy, in whole credits."
|
|
35231
|
+
}
|
|
35232
|
+
},
|
|
35233
|
+
additionalProperties: false
|
|
35234
|
+
},
|
|
35235
|
+
AccountBillingNotConfiguredFailure: {
|
|
35236
|
+
type: "object",
|
|
35237
|
+
description: "Billing is not configured yet.",
|
|
35238
|
+
additionalProperties: false,
|
|
35239
|
+
required: [
|
|
35240
|
+
"code",
|
|
35241
|
+
"message",
|
|
35242
|
+
"retryable",
|
|
35243
|
+
"data"
|
|
35244
|
+
],
|
|
35245
|
+
properties: {
|
|
35246
|
+
code: {
|
|
35247
|
+
type: "string",
|
|
35248
|
+
enum: [
|
|
35249
|
+
"BILLING_NOT_CONFIGURED"
|
|
35250
|
+
],
|
|
35251
|
+
description: "The failure code, stable across releases."
|
|
35252
|
+
},
|
|
35253
|
+
message: {
|
|
35254
|
+
type: "string",
|
|
35255
|
+
description: "What went wrong, for people; it never contains input values."
|
|
35256
|
+
},
|
|
35257
|
+
retryable: {
|
|
35258
|
+
type: "boolean",
|
|
35259
|
+
enum: [
|
|
35260
|
+
false
|
|
35261
|
+
],
|
|
35262
|
+
description: "Whether repeating the same request may succeed."
|
|
35263
|
+
},
|
|
35264
|
+
data: {
|
|
35265
|
+
$ref: "#/components/schemas/Empty"
|
|
35266
|
+
}
|
|
35267
|
+
}
|
|
35268
|
+
},
|
|
35269
|
+
AccountBillingPlan: {
|
|
35270
|
+
type: "object",
|
|
35271
|
+
required: [
|
|
35272
|
+
"id",
|
|
35273
|
+
"name",
|
|
35274
|
+
"status",
|
|
35275
|
+
"pastDue",
|
|
35276
|
+
"currentPeriodEndsAt"
|
|
35277
|
+
],
|
|
35278
|
+
properties: {
|
|
35279
|
+
id: {
|
|
35280
|
+
type: "string",
|
|
35281
|
+
description: "The plan's id in Autumn, such as `arbol_prepaid` or a customer's own plan."
|
|
35282
|
+
},
|
|
35283
|
+
name: {
|
|
35284
|
+
type: "string"
|
|
35285
|
+
},
|
|
35286
|
+
status: {
|
|
35287
|
+
anyOf: [
|
|
35288
|
+
{
|
|
35289
|
+
type: "string",
|
|
35290
|
+
const: "active"
|
|
35291
|
+
},
|
|
35292
|
+
{
|
|
35293
|
+
type: "string",
|
|
35294
|
+
const: "scheduled"
|
|
35295
|
+
}
|
|
35296
|
+
]
|
|
35297
|
+
},
|
|
35298
|
+
pastDue: {
|
|
35299
|
+
type: "boolean",
|
|
35300
|
+
description: "A card payment of the plan failed and is still owed."
|
|
35301
|
+
},
|
|
35302
|
+
currentPeriodEndsAt: {
|
|
35303
|
+
anyOf: [
|
|
35304
|
+
{
|
|
35305
|
+
type: "string",
|
|
35306
|
+
format: "date-time"
|
|
35307
|
+
},
|
|
35308
|
+
{
|
|
35309
|
+
type: "null"
|
|
35310
|
+
}
|
|
35311
|
+
],
|
|
35312
|
+
description: "When the current period ends."
|
|
35313
|
+
}
|
|
35314
|
+
},
|
|
35315
|
+
additionalProperties: false
|
|
35316
|
+
},
|
|
35317
|
+
AccountBillingPortalSession: {
|
|
35318
|
+
type: "object",
|
|
35319
|
+
required: [
|
|
35320
|
+
"url"
|
|
35321
|
+
],
|
|
35322
|
+
properties: {
|
|
35323
|
+
url: {
|
|
35324
|
+
type: "string",
|
|
35325
|
+
description: "Stripe's portal, for the organization's cards and receipts."
|
|
35326
|
+
}
|
|
35327
|
+
},
|
|
35328
|
+
additionalProperties: false
|
|
35329
|
+
},
|
|
35330
|
+
AccountBillingPortalSessionResponse: {
|
|
35331
|
+
type: "object",
|
|
35332
|
+
description: "A successful answer.",
|
|
35333
|
+
additionalProperties: false,
|
|
35334
|
+
required: [
|
|
35335
|
+
"success",
|
|
35336
|
+
"data",
|
|
35337
|
+
"error",
|
|
35338
|
+
"metadata"
|
|
35339
|
+
],
|
|
35340
|
+
properties: {
|
|
35341
|
+
success: {
|
|
35342
|
+
type: "boolean",
|
|
35343
|
+
enum: [
|
|
35344
|
+
true
|
|
35345
|
+
]
|
|
35346
|
+
},
|
|
35347
|
+
data: {
|
|
35348
|
+
$ref: "#/components/schemas/AccountBillingPortalSession"
|
|
35349
|
+
},
|
|
35350
|
+
error: {
|
|
35351
|
+
const: null
|
|
35352
|
+
},
|
|
35353
|
+
metadata: {
|
|
35354
|
+
$ref: "#/components/schemas/ResponseMetadata"
|
|
35355
|
+
}
|
|
35356
|
+
}
|
|
35357
|
+
},
|
|
35358
|
+
AccountBillingPortalUnavailableError: {
|
|
35359
|
+
type: "object",
|
|
35360
|
+
description: "A failed answer.",
|
|
35361
|
+
additionalProperties: false,
|
|
35362
|
+
required: [
|
|
35363
|
+
"success",
|
|
35364
|
+
"data",
|
|
35365
|
+
"error",
|
|
35366
|
+
"metadata"
|
|
35367
|
+
],
|
|
35368
|
+
properties: {
|
|
35369
|
+
success: {
|
|
35370
|
+
type: "boolean",
|
|
35371
|
+
enum: [
|
|
35372
|
+
false
|
|
35373
|
+
]
|
|
35374
|
+
},
|
|
35375
|
+
data: {
|
|
35376
|
+
const: null
|
|
35377
|
+
},
|
|
35378
|
+
error: {
|
|
35379
|
+
$ref: "#/components/schemas/AccountBillingPortalUnavailableFailure"
|
|
35380
|
+
},
|
|
35381
|
+
metadata: {
|
|
35382
|
+
$ref: "#/components/schemas/ResponseMetadata"
|
|
35383
|
+
}
|
|
35384
|
+
}
|
|
35385
|
+
},
|
|
35386
|
+
AccountBillingPortalUnavailableFailure: {
|
|
35387
|
+
type: "object",
|
|
35388
|
+
description: "The organization has no card payments to manage yet.",
|
|
35389
|
+
additionalProperties: false,
|
|
35390
|
+
required: [
|
|
35391
|
+
"code",
|
|
35392
|
+
"message",
|
|
35393
|
+
"retryable",
|
|
35394
|
+
"data"
|
|
35395
|
+
],
|
|
35396
|
+
properties: {
|
|
35397
|
+
code: {
|
|
35398
|
+
type: "string",
|
|
35399
|
+
enum: [
|
|
35400
|
+
"BILLING_PORTAL_UNAVAILABLE"
|
|
35401
|
+
],
|
|
35402
|
+
description: "The failure code, stable across releases."
|
|
35403
|
+
},
|
|
35404
|
+
message: {
|
|
35405
|
+
type: "string",
|
|
35406
|
+
description: "What went wrong, for people; it never contains input values."
|
|
35407
|
+
},
|
|
35408
|
+
retryable: {
|
|
35409
|
+
type: "boolean",
|
|
35410
|
+
enum: [
|
|
35411
|
+
false
|
|
35412
|
+
],
|
|
35413
|
+
description: "Whether repeating the same request may succeed."
|
|
35414
|
+
},
|
|
35415
|
+
data: {
|
|
35416
|
+
$ref: "#/components/schemas/Empty"
|
|
35417
|
+
}
|
|
35418
|
+
}
|
|
35419
|
+
},
|
|
35420
|
+
AccountBillingResponse: {
|
|
35421
|
+
type: "object",
|
|
35422
|
+
description: "A successful answer.",
|
|
35423
|
+
additionalProperties: false,
|
|
35424
|
+
required: [
|
|
35425
|
+
"success",
|
|
35426
|
+
"data",
|
|
35427
|
+
"error",
|
|
35428
|
+
"metadata"
|
|
35429
|
+
],
|
|
35430
|
+
properties: {
|
|
35431
|
+
success: {
|
|
35432
|
+
type: "boolean",
|
|
35433
|
+
enum: [
|
|
35434
|
+
true
|
|
35435
|
+
]
|
|
35436
|
+
},
|
|
35437
|
+
data: {
|
|
35438
|
+
$ref: "#/components/schemas/AccountBilling"
|
|
35439
|
+
},
|
|
35440
|
+
error: {
|
|
35441
|
+
const: null
|
|
35442
|
+
},
|
|
35443
|
+
metadata: {
|
|
35444
|
+
$ref: "#/components/schemas/ResponseMetadata"
|
|
35445
|
+
}
|
|
35446
|
+
}
|
|
35447
|
+
},
|
|
35448
|
+
AccountBillingUnavailableFailure: {
|
|
35449
|
+
type: "object",
|
|
35450
|
+
description: "The billing service did not answer.",
|
|
35451
|
+
additionalProperties: false,
|
|
35452
|
+
required: [
|
|
35453
|
+
"code",
|
|
35454
|
+
"message",
|
|
35455
|
+
"retryable",
|
|
35456
|
+
"data"
|
|
35457
|
+
],
|
|
35458
|
+
properties: {
|
|
35459
|
+
code: {
|
|
35460
|
+
type: "string",
|
|
35461
|
+
enum: [
|
|
35462
|
+
"BILLING_UNAVAILABLE"
|
|
35463
|
+
],
|
|
35464
|
+
description: "The failure code, stable across releases."
|
|
35465
|
+
},
|
|
35466
|
+
message: {
|
|
35467
|
+
type: "string",
|
|
35468
|
+
description: "What went wrong, for people; it never contains input values."
|
|
35469
|
+
},
|
|
35470
|
+
retryable: {
|
|
35471
|
+
type: "boolean",
|
|
35472
|
+
enum: [
|
|
35473
|
+
true
|
|
35474
|
+
],
|
|
35475
|
+
description: "Whether repeating the same request may succeed."
|
|
35476
|
+
},
|
|
35477
|
+
data: {
|
|
35478
|
+
$ref: "#/components/schemas/Empty"
|
|
35479
|
+
}
|
|
35480
|
+
}
|
|
35481
|
+
},
|
|
34752
35482
|
AccountColombiaLookupPresentation: {
|
|
34753
35483
|
anyOf: [
|
|
34754
35484
|
{
|
|
@@ -34963,7 +35693,7 @@ var schemaComponents = {
|
|
|
34963
35693
|
},
|
|
34964
35694
|
portal: {
|
|
34965
35695
|
type: "string",
|
|
34966
|
-
description: "
|
|
35696
|
+
description: "Which of the provider's independent sites this connection reaches."
|
|
34967
35697
|
},
|
|
34968
35698
|
name: {
|
|
34969
35699
|
type: "string"
|
|
@@ -35685,6 +36415,55 @@ var schemaComponents = {
|
|
|
35685
36415
|
}
|
|
35686
36416
|
}
|
|
35687
36417
|
},
|
|
36418
|
+
AccountCreateBillingPortalSessionServiceUnavailableError: {
|
|
36419
|
+
type: "object",
|
|
36420
|
+
description: "A failed answer.",
|
|
36421
|
+
additionalProperties: false,
|
|
36422
|
+
required: [
|
|
36423
|
+
"success",
|
|
36424
|
+
"data",
|
|
36425
|
+
"error",
|
|
36426
|
+
"metadata"
|
|
36427
|
+
],
|
|
36428
|
+
properties: {
|
|
36429
|
+
success: {
|
|
36430
|
+
type: "boolean",
|
|
36431
|
+
enum: [
|
|
36432
|
+
false
|
|
36433
|
+
]
|
|
36434
|
+
},
|
|
36435
|
+
data: {
|
|
36436
|
+
const: null
|
|
36437
|
+
},
|
|
36438
|
+
error: {
|
|
36439
|
+
$ref: "#/components/schemas/AccountCreateBillingPortalSessionServiceUnavailableFailure"
|
|
36440
|
+
},
|
|
36441
|
+
metadata: {
|
|
36442
|
+
$ref: "#/components/schemas/ResponseMetadata"
|
|
36443
|
+
}
|
|
36444
|
+
}
|
|
36445
|
+
},
|
|
36446
|
+
AccountCreateBillingPortalSessionServiceUnavailableFailure: {
|
|
36447
|
+
oneOf: [
|
|
36448
|
+
{
|
|
36449
|
+
$ref: "#/components/schemas/UpstreamUnavailableFailure"
|
|
36450
|
+
},
|
|
36451
|
+
{
|
|
36452
|
+
$ref: "#/components/schemas/AccountBillingNotConfiguredFailure"
|
|
36453
|
+
},
|
|
36454
|
+
{
|
|
36455
|
+
$ref: "#/components/schemas/AccountBillingUnavailableFailure"
|
|
36456
|
+
}
|
|
36457
|
+
],
|
|
36458
|
+
discriminator: {
|
|
36459
|
+
propertyName: "code",
|
|
36460
|
+
mapping: {
|
|
36461
|
+
UPSTREAM_UNAVAILABLE: "#/components/schemas/UpstreamUnavailableFailure",
|
|
36462
|
+
BILLING_NOT_CONFIGURED: "#/components/schemas/AccountBillingNotConfiguredFailure",
|
|
36463
|
+
BILLING_UNAVAILABLE: "#/components/schemas/AccountBillingUnavailableFailure"
|
|
36464
|
+
}
|
|
36465
|
+
}
|
|
36466
|
+
},
|
|
35688
36467
|
AccountCreateInvitationBody: {
|
|
35689
36468
|
type: "object",
|
|
35690
36469
|
required: [
|
|
@@ -36067,6 +36846,70 @@ var schemaComponents = {
|
|
|
36067
36846
|
}
|
|
36068
36847
|
}
|
|
36069
36848
|
},
|
|
36849
|
+
AccountCreateWalletTopUpBody: {
|
|
36850
|
+
type: "object",
|
|
36851
|
+
required: [
|
|
36852
|
+
"credits"
|
|
36853
|
+
],
|
|
36854
|
+
properties: {
|
|
36855
|
+
credits: {
|
|
36856
|
+
type: "integer",
|
|
36857
|
+
minimum: 10,
|
|
36858
|
+
maximum: 1e4,
|
|
36859
|
+
description: "Credits to buy, at one US dollar each."
|
|
36860
|
+
}
|
|
36861
|
+
},
|
|
36862
|
+
additionalProperties: false
|
|
36863
|
+
},
|
|
36864
|
+
AccountCreateWalletTopUpServiceUnavailableError: {
|
|
36865
|
+
type: "object",
|
|
36866
|
+
description: "A failed answer.",
|
|
36867
|
+
additionalProperties: false,
|
|
36868
|
+
required: [
|
|
36869
|
+
"success",
|
|
36870
|
+
"data",
|
|
36871
|
+
"error",
|
|
36872
|
+
"metadata"
|
|
36873
|
+
],
|
|
36874
|
+
properties: {
|
|
36875
|
+
success: {
|
|
36876
|
+
type: "boolean",
|
|
36877
|
+
enum: [
|
|
36878
|
+
false
|
|
36879
|
+
]
|
|
36880
|
+
},
|
|
36881
|
+
data: {
|
|
36882
|
+
const: null
|
|
36883
|
+
},
|
|
36884
|
+
error: {
|
|
36885
|
+
$ref: "#/components/schemas/AccountCreateWalletTopUpServiceUnavailableFailure"
|
|
36886
|
+
},
|
|
36887
|
+
metadata: {
|
|
36888
|
+
$ref: "#/components/schemas/ResponseMetadata"
|
|
36889
|
+
}
|
|
36890
|
+
}
|
|
36891
|
+
},
|
|
36892
|
+
AccountCreateWalletTopUpServiceUnavailableFailure: {
|
|
36893
|
+
oneOf: [
|
|
36894
|
+
{
|
|
36895
|
+
$ref: "#/components/schemas/UpstreamUnavailableFailure"
|
|
36896
|
+
},
|
|
36897
|
+
{
|
|
36898
|
+
$ref: "#/components/schemas/AccountBillingNotConfiguredFailure"
|
|
36899
|
+
},
|
|
36900
|
+
{
|
|
36901
|
+
$ref: "#/components/schemas/AccountBillingUnavailableFailure"
|
|
36902
|
+
}
|
|
36903
|
+
],
|
|
36904
|
+
discriminator: {
|
|
36905
|
+
propertyName: "code",
|
|
36906
|
+
mapping: {
|
|
36907
|
+
UPSTREAM_UNAVAILABLE: "#/components/schemas/UpstreamUnavailableFailure",
|
|
36908
|
+
BILLING_NOT_CONFIGURED: "#/components/schemas/AccountBillingNotConfiguredFailure",
|
|
36909
|
+
BILLING_UNAVAILABLE: "#/components/schemas/AccountBillingUnavailableFailure"
|
|
36910
|
+
}
|
|
36911
|
+
}
|
|
36912
|
+
},
|
|
36070
36913
|
AccountCurrentOrganization: {
|
|
36071
36914
|
type: "object",
|
|
36072
36915
|
required: [
|
|
@@ -36528,6 +37371,55 @@ var schemaComponents = {
|
|
|
36528
37371
|
}
|
|
36529
37372
|
}
|
|
36530
37373
|
},
|
|
37374
|
+
AccountGetBillingServiceUnavailableError: {
|
|
37375
|
+
type: "object",
|
|
37376
|
+
description: "A failed answer.",
|
|
37377
|
+
additionalProperties: false,
|
|
37378
|
+
required: [
|
|
37379
|
+
"success",
|
|
37380
|
+
"data",
|
|
37381
|
+
"error",
|
|
37382
|
+
"metadata"
|
|
37383
|
+
],
|
|
37384
|
+
properties: {
|
|
37385
|
+
success: {
|
|
37386
|
+
type: "boolean",
|
|
37387
|
+
enum: [
|
|
37388
|
+
false
|
|
37389
|
+
]
|
|
37390
|
+
},
|
|
37391
|
+
data: {
|
|
37392
|
+
const: null
|
|
37393
|
+
},
|
|
37394
|
+
error: {
|
|
37395
|
+
$ref: "#/components/schemas/AccountGetBillingServiceUnavailableFailure"
|
|
37396
|
+
},
|
|
37397
|
+
metadata: {
|
|
37398
|
+
$ref: "#/components/schemas/ResponseMetadata"
|
|
37399
|
+
}
|
|
37400
|
+
}
|
|
37401
|
+
},
|
|
37402
|
+
AccountGetBillingServiceUnavailableFailure: {
|
|
37403
|
+
oneOf: [
|
|
37404
|
+
{
|
|
37405
|
+
$ref: "#/components/schemas/UpstreamUnavailableFailure"
|
|
37406
|
+
},
|
|
37407
|
+
{
|
|
37408
|
+
$ref: "#/components/schemas/AccountBillingNotConfiguredFailure"
|
|
37409
|
+
},
|
|
37410
|
+
{
|
|
37411
|
+
$ref: "#/components/schemas/AccountBillingUnavailableFailure"
|
|
37412
|
+
}
|
|
37413
|
+
],
|
|
37414
|
+
discriminator: {
|
|
37415
|
+
propertyName: "code",
|
|
37416
|
+
mapping: {
|
|
37417
|
+
UPSTREAM_UNAVAILABLE: "#/components/schemas/UpstreamUnavailableFailure",
|
|
37418
|
+
BILLING_NOT_CONFIGURED: "#/components/schemas/AccountBillingNotConfiguredFailure",
|
|
37419
|
+
BILLING_UNAVAILABLE: "#/components/schemas/AccountBillingUnavailableFailure"
|
|
37420
|
+
}
|
|
37421
|
+
}
|
|
37422
|
+
},
|
|
36531
37423
|
AccountGetCurrentOrganizationServiceUnavailableError: {
|
|
36532
37424
|
type: "object",
|
|
36533
37425
|
description: "A failed answer.",
|
|
@@ -36577,6 +37469,55 @@ var schemaComponents = {
|
|
|
36577
37469
|
}
|
|
36578
37470
|
}
|
|
36579
37471
|
},
|
|
37472
|
+
AccountGetUsageSummaryServiceUnavailableError: {
|
|
37473
|
+
type: "object",
|
|
37474
|
+
description: "A failed answer.",
|
|
37475
|
+
additionalProperties: false,
|
|
37476
|
+
required: [
|
|
37477
|
+
"success",
|
|
37478
|
+
"data",
|
|
37479
|
+
"error",
|
|
37480
|
+
"metadata"
|
|
37481
|
+
],
|
|
37482
|
+
properties: {
|
|
37483
|
+
success: {
|
|
37484
|
+
type: "boolean",
|
|
37485
|
+
enum: [
|
|
37486
|
+
false
|
|
37487
|
+
]
|
|
37488
|
+
},
|
|
37489
|
+
data: {
|
|
37490
|
+
const: null
|
|
37491
|
+
},
|
|
37492
|
+
error: {
|
|
37493
|
+
$ref: "#/components/schemas/AccountGetUsageSummaryServiceUnavailableFailure"
|
|
37494
|
+
},
|
|
37495
|
+
metadata: {
|
|
37496
|
+
$ref: "#/components/schemas/ResponseMetadata"
|
|
37497
|
+
}
|
|
37498
|
+
}
|
|
37499
|
+
},
|
|
37500
|
+
AccountGetUsageSummaryServiceUnavailableFailure: {
|
|
37501
|
+
oneOf: [
|
|
37502
|
+
{
|
|
37503
|
+
$ref: "#/components/schemas/UpstreamUnavailableFailure"
|
|
37504
|
+
},
|
|
37505
|
+
{
|
|
37506
|
+
$ref: "#/components/schemas/AccountBillingNotConfiguredFailure"
|
|
37507
|
+
},
|
|
37508
|
+
{
|
|
37509
|
+
$ref: "#/components/schemas/AccountBillingUnavailableFailure"
|
|
37510
|
+
}
|
|
37511
|
+
],
|
|
37512
|
+
discriminator: {
|
|
37513
|
+
propertyName: "code",
|
|
37514
|
+
mapping: {
|
|
37515
|
+
UPSTREAM_UNAVAILABLE: "#/components/schemas/UpstreamUnavailableFailure",
|
|
37516
|
+
BILLING_NOT_CONFIGURED: "#/components/schemas/AccountBillingNotConfiguredFailure",
|
|
37517
|
+
BILLING_UNAVAILABLE: "#/components/schemas/AccountBillingUnavailableFailure"
|
|
37518
|
+
}
|
|
37519
|
+
}
|
|
37520
|
+
},
|
|
36580
37521
|
AccountIdentityRejectedError: {
|
|
36581
37522
|
type: "object",
|
|
36582
37523
|
description: "A failed answer.",
|
|
@@ -37267,6 +38208,55 @@ var schemaComponents = {
|
|
|
37267
38208
|
}
|
|
37268
38209
|
}
|
|
37269
38210
|
},
|
|
38211
|
+
AccountListWalletTransactionsServiceUnavailableError: {
|
|
38212
|
+
type: "object",
|
|
38213
|
+
description: "A failed answer.",
|
|
38214
|
+
additionalProperties: false,
|
|
38215
|
+
required: [
|
|
38216
|
+
"success",
|
|
38217
|
+
"data",
|
|
38218
|
+
"error",
|
|
38219
|
+
"metadata"
|
|
38220
|
+
],
|
|
38221
|
+
properties: {
|
|
38222
|
+
success: {
|
|
38223
|
+
type: "boolean",
|
|
38224
|
+
enum: [
|
|
38225
|
+
false
|
|
38226
|
+
]
|
|
38227
|
+
},
|
|
38228
|
+
data: {
|
|
38229
|
+
const: null
|
|
38230
|
+
},
|
|
38231
|
+
error: {
|
|
38232
|
+
$ref: "#/components/schemas/AccountListWalletTransactionsServiceUnavailableFailure"
|
|
38233
|
+
},
|
|
38234
|
+
metadata: {
|
|
38235
|
+
$ref: "#/components/schemas/ResponseMetadata"
|
|
38236
|
+
}
|
|
38237
|
+
}
|
|
38238
|
+
},
|
|
38239
|
+
AccountListWalletTransactionsServiceUnavailableFailure: {
|
|
38240
|
+
oneOf: [
|
|
38241
|
+
{
|
|
38242
|
+
$ref: "#/components/schemas/UpstreamUnavailableFailure"
|
|
38243
|
+
},
|
|
38244
|
+
{
|
|
38245
|
+
$ref: "#/components/schemas/AccountBillingNotConfiguredFailure"
|
|
38246
|
+
},
|
|
38247
|
+
{
|
|
38248
|
+
$ref: "#/components/schemas/AccountBillingUnavailableFailure"
|
|
38249
|
+
}
|
|
38250
|
+
],
|
|
38251
|
+
discriminator: {
|
|
38252
|
+
propertyName: "code",
|
|
38253
|
+
mapping: {
|
|
38254
|
+
UPSTREAM_UNAVAILABLE: "#/components/schemas/UpstreamUnavailableFailure",
|
|
38255
|
+
BILLING_NOT_CONFIGURED: "#/components/schemas/AccountBillingNotConfiguredFailure",
|
|
38256
|
+
BILLING_UNAVAILABLE: "#/components/schemas/AccountBillingUnavailableFailure"
|
|
38257
|
+
}
|
|
38258
|
+
}
|
|
38259
|
+
},
|
|
37270
38260
|
AccountMember: {
|
|
37271
38261
|
type: "object",
|
|
37272
38262
|
required: [
|
|
@@ -38454,6 +39444,68 @@ var schemaComponents = {
|
|
|
38454
39444
|
}
|
|
38455
39445
|
]
|
|
38456
39446
|
},
|
|
39447
|
+
AccountTopUpDeclinedError: {
|
|
39448
|
+
type: "object",
|
|
39449
|
+
description: "A failed answer.",
|
|
39450
|
+
additionalProperties: false,
|
|
39451
|
+
required: [
|
|
39452
|
+
"success",
|
|
39453
|
+
"data",
|
|
39454
|
+
"error",
|
|
39455
|
+
"metadata"
|
|
39456
|
+
],
|
|
39457
|
+
properties: {
|
|
39458
|
+
success: {
|
|
39459
|
+
type: "boolean",
|
|
39460
|
+
enum: [
|
|
39461
|
+
false
|
|
39462
|
+
]
|
|
39463
|
+
},
|
|
39464
|
+
data: {
|
|
39465
|
+
const: null
|
|
39466
|
+
},
|
|
39467
|
+
error: {
|
|
39468
|
+
$ref: "#/components/schemas/AccountTopUpDeclinedFailure"
|
|
39469
|
+
},
|
|
39470
|
+
metadata: {
|
|
39471
|
+
$ref: "#/components/schemas/ResponseMetadata"
|
|
39472
|
+
}
|
|
39473
|
+
}
|
|
39474
|
+
},
|
|
39475
|
+
AccountTopUpDeclinedFailure: {
|
|
39476
|
+
type: "object",
|
|
39477
|
+
description: "The card was not charged: the payment was declined.",
|
|
39478
|
+
additionalProperties: false,
|
|
39479
|
+
required: [
|
|
39480
|
+
"code",
|
|
39481
|
+
"message",
|
|
39482
|
+
"retryable",
|
|
39483
|
+
"data"
|
|
39484
|
+
],
|
|
39485
|
+
properties: {
|
|
39486
|
+
code: {
|
|
39487
|
+
type: "string",
|
|
39488
|
+
enum: [
|
|
39489
|
+
"TOP_UP_DECLINED"
|
|
39490
|
+
],
|
|
39491
|
+
description: "The failure code, stable across releases."
|
|
39492
|
+
},
|
|
39493
|
+
message: {
|
|
39494
|
+
type: "string",
|
|
39495
|
+
description: "What went wrong, for people; it never contains input values."
|
|
39496
|
+
},
|
|
39497
|
+
retryable: {
|
|
39498
|
+
type: "boolean",
|
|
39499
|
+
enum: [
|
|
39500
|
+
false
|
|
39501
|
+
],
|
|
39502
|
+
description: "Whether repeating the same request may succeed."
|
|
39503
|
+
},
|
|
39504
|
+
data: {
|
|
39505
|
+
$ref: "#/components/schemas/Empty"
|
|
39506
|
+
}
|
|
39507
|
+
}
|
|
39508
|
+
},
|
|
38457
39509
|
AccountUpdateMemberBody: {
|
|
38458
39510
|
type: "object",
|
|
38459
39511
|
required: [
|
|
@@ -38663,6 +39715,386 @@ var schemaComponents = {
|
|
|
38663
39715
|
},
|
|
38664
39716
|
additionalProperties: false
|
|
38665
39717
|
},
|
|
39718
|
+
AccountUsageFeature: {
|
|
39719
|
+
type: "object",
|
|
39720
|
+
required: [
|
|
39721
|
+
"feature",
|
|
39722
|
+
"units",
|
|
39723
|
+
"events",
|
|
39724
|
+
"groups"
|
|
39725
|
+
],
|
|
39726
|
+
properties: {
|
|
39727
|
+
feature: {
|
|
39728
|
+
anyOf: [
|
|
39729
|
+
{
|
|
39730
|
+
type: "string",
|
|
39731
|
+
const: "voice_minutes"
|
|
39732
|
+
},
|
|
39733
|
+
{
|
|
39734
|
+
type: "string",
|
|
39735
|
+
const: "telephony_minutes"
|
|
39736
|
+
},
|
|
39737
|
+
{
|
|
39738
|
+
type: "string",
|
|
39739
|
+
const: "whatsapp_conversations"
|
|
39740
|
+
},
|
|
39741
|
+
{
|
|
39742
|
+
type: "string",
|
|
39743
|
+
const: "whatsapp_messages"
|
|
39744
|
+
},
|
|
39745
|
+
{
|
|
39746
|
+
type: "string",
|
|
39747
|
+
const: "whatsapp_templates"
|
|
39748
|
+
},
|
|
39749
|
+
{
|
|
39750
|
+
type: "string",
|
|
39751
|
+
const: "tool_calls"
|
|
39752
|
+
},
|
|
39753
|
+
{
|
|
39754
|
+
type: "string",
|
|
39755
|
+
const: "ai_cost"
|
|
39756
|
+
},
|
|
39757
|
+
{
|
|
39758
|
+
type: "string",
|
|
39759
|
+
const: "phone_numbers"
|
|
39760
|
+
},
|
|
39761
|
+
{
|
|
39762
|
+
type: "string",
|
|
39763
|
+
const: "sisben_lookups"
|
|
39764
|
+
},
|
|
39765
|
+
{
|
|
39766
|
+
type: "string",
|
|
39767
|
+
const: "agenda_plan"
|
|
39768
|
+
},
|
|
39769
|
+
{
|
|
39770
|
+
type: "string",
|
|
39771
|
+
const: "agenda_users"
|
|
39772
|
+
},
|
|
39773
|
+
{
|
|
39774
|
+
type: "string",
|
|
39775
|
+
const: "support_fee"
|
|
39776
|
+
}
|
|
39777
|
+
]
|
|
39778
|
+
},
|
|
39779
|
+
units: {
|
|
39780
|
+
type: "number",
|
|
39781
|
+
description: "What was used, in the feature's units: minutes, conversations, lookups… For `ai_cost`, the model calls."
|
|
39782
|
+
},
|
|
39783
|
+
events: {
|
|
39784
|
+
type: "integer",
|
|
39785
|
+
description: "How many reports made it up."
|
|
39786
|
+
},
|
|
39787
|
+
groups: {
|
|
39788
|
+
type: "array",
|
|
39789
|
+
items: {
|
|
39790
|
+
type: "object",
|
|
39791
|
+
required: [
|
|
39792
|
+
"key",
|
|
39793
|
+
"units"
|
|
39794
|
+
],
|
|
39795
|
+
properties: {
|
|
39796
|
+
key: {
|
|
39797
|
+
type: "string",
|
|
39798
|
+
description: "The product (`raiz`) or channel (`voice`)."
|
|
39799
|
+
},
|
|
39800
|
+
units: {
|
|
39801
|
+
type: "number"
|
|
39802
|
+
}
|
|
39803
|
+
},
|
|
39804
|
+
additionalProperties: false
|
|
39805
|
+
},
|
|
39806
|
+
maxItems: 100
|
|
39807
|
+
}
|
|
39808
|
+
},
|
|
39809
|
+
additionalProperties: false
|
|
39810
|
+
},
|
|
39811
|
+
AccountUsageSummary: {
|
|
39812
|
+
type: "object",
|
|
39813
|
+
required: [
|
|
39814
|
+
"from",
|
|
39815
|
+
"to",
|
|
39816
|
+
"groupBy",
|
|
39817
|
+
"credits",
|
|
39818
|
+
"features"
|
|
39819
|
+
],
|
|
39820
|
+
properties: {
|
|
39821
|
+
from: {
|
|
39822
|
+
type: "string",
|
|
39823
|
+
format: "date-time"
|
|
39824
|
+
},
|
|
39825
|
+
to: {
|
|
39826
|
+
type: "string",
|
|
39827
|
+
format: "date-time"
|
|
39828
|
+
},
|
|
39829
|
+
groupBy: {
|
|
39830
|
+
anyOf: [
|
|
39831
|
+
{
|
|
39832
|
+
type: "string",
|
|
39833
|
+
const: "product"
|
|
39834
|
+
},
|
|
39835
|
+
{
|
|
39836
|
+
type: "string",
|
|
39837
|
+
const: "channel"
|
|
39838
|
+
}
|
|
39839
|
+
]
|
|
39840
|
+
},
|
|
39841
|
+
credits: {
|
|
39842
|
+
type: "number",
|
|
39843
|
+
description: "Credits the wallet paid in the range."
|
|
39844
|
+
},
|
|
39845
|
+
features: {
|
|
39846
|
+
type: "array",
|
|
39847
|
+
items: {
|
|
39848
|
+
$ref: "#/components/schemas/AccountUsageFeature"
|
|
39849
|
+
},
|
|
39850
|
+
maxItems: 12
|
|
39851
|
+
}
|
|
39852
|
+
},
|
|
39853
|
+
additionalProperties: false
|
|
39854
|
+
},
|
|
39855
|
+
AccountUsageSummaryResponse: {
|
|
39856
|
+
type: "object",
|
|
39857
|
+
description: "A successful answer.",
|
|
39858
|
+
additionalProperties: false,
|
|
39859
|
+
required: [
|
|
39860
|
+
"success",
|
|
39861
|
+
"data",
|
|
39862
|
+
"error",
|
|
39863
|
+
"metadata"
|
|
39864
|
+
],
|
|
39865
|
+
properties: {
|
|
39866
|
+
success: {
|
|
39867
|
+
type: "boolean",
|
|
39868
|
+
enum: [
|
|
39869
|
+
true
|
|
39870
|
+
]
|
|
39871
|
+
},
|
|
39872
|
+
data: {
|
|
39873
|
+
$ref: "#/components/schemas/AccountUsageSummary"
|
|
39874
|
+
},
|
|
39875
|
+
error: {
|
|
39876
|
+
const: null
|
|
39877
|
+
},
|
|
39878
|
+
metadata: {
|
|
39879
|
+
$ref: "#/components/schemas/ResponseMetadata"
|
|
39880
|
+
}
|
|
39881
|
+
}
|
|
39882
|
+
},
|
|
39883
|
+
AccountWalletTopUp: {
|
|
39884
|
+
type: "object",
|
|
39885
|
+
required: [
|
|
39886
|
+
"status",
|
|
39887
|
+
"checkoutUrl"
|
|
39888
|
+
],
|
|
39889
|
+
properties: {
|
|
39890
|
+
status: {
|
|
39891
|
+
anyOf: [
|
|
39892
|
+
{
|
|
39893
|
+
type: "string",
|
|
39894
|
+
const: "paid"
|
|
39895
|
+
},
|
|
39896
|
+
{
|
|
39897
|
+
type: "string",
|
|
39898
|
+
const: "checkout"
|
|
39899
|
+
}
|
|
39900
|
+
],
|
|
39901
|
+
description: "`paid`: the saved card was charged and the credits are in the wallet; `checkout`: pay on `checkoutUrl`."
|
|
39902
|
+
},
|
|
39903
|
+
checkoutUrl: {
|
|
39904
|
+
anyOf: [
|
|
39905
|
+
{
|
|
39906
|
+
type: "string"
|
|
39907
|
+
},
|
|
39908
|
+
{
|
|
39909
|
+
type: "null"
|
|
39910
|
+
}
|
|
39911
|
+
],
|
|
39912
|
+
description: "Stripe's page to pay on, for `checkout`."
|
|
39913
|
+
}
|
|
39914
|
+
},
|
|
39915
|
+
additionalProperties: false
|
|
39916
|
+
},
|
|
39917
|
+
AccountWalletTopUpResponse: {
|
|
39918
|
+
type: "object",
|
|
39919
|
+
description: "A successful answer.",
|
|
39920
|
+
additionalProperties: false,
|
|
39921
|
+
required: [
|
|
39922
|
+
"success",
|
|
39923
|
+
"data",
|
|
39924
|
+
"error",
|
|
39925
|
+
"metadata"
|
|
39926
|
+
],
|
|
39927
|
+
properties: {
|
|
39928
|
+
success: {
|
|
39929
|
+
type: "boolean",
|
|
39930
|
+
enum: [
|
|
39931
|
+
true
|
|
39932
|
+
]
|
|
39933
|
+
},
|
|
39934
|
+
data: {
|
|
39935
|
+
$ref: "#/components/schemas/AccountWalletTopUp"
|
|
39936
|
+
},
|
|
39937
|
+
error: {
|
|
39938
|
+
const: null
|
|
39939
|
+
},
|
|
39940
|
+
metadata: {
|
|
39941
|
+
$ref: "#/components/schemas/ResponseMetadata"
|
|
39942
|
+
}
|
|
39943
|
+
}
|
|
39944
|
+
},
|
|
39945
|
+
AccountWalletTransaction: {
|
|
39946
|
+
type: "object",
|
|
39947
|
+
required: [
|
|
39948
|
+
"id",
|
|
39949
|
+
"kind",
|
|
39950
|
+
"occurredAt",
|
|
39951
|
+
"endsAt",
|
|
39952
|
+
"count",
|
|
39953
|
+
"amount",
|
|
39954
|
+
"balanceAfter",
|
|
39955
|
+
"approximate"
|
|
39956
|
+
],
|
|
39957
|
+
properties: {
|
|
39958
|
+
id: {
|
|
39959
|
+
type: "string"
|
|
39960
|
+
},
|
|
39961
|
+
kind: {
|
|
39962
|
+
anyOf: [
|
|
39963
|
+
{
|
|
39964
|
+
type: "string",
|
|
39965
|
+
const: "usage"
|
|
39966
|
+
},
|
|
39967
|
+
{
|
|
39968
|
+
type: "string",
|
|
39969
|
+
const: "top_up"
|
|
39970
|
+
},
|
|
39971
|
+
{
|
|
39972
|
+
type: "string",
|
|
39973
|
+
const: "plan"
|
|
39974
|
+
},
|
|
39975
|
+
{
|
|
39976
|
+
type: "string",
|
|
39977
|
+
const: "reset"
|
|
39978
|
+
},
|
|
39979
|
+
{
|
|
39980
|
+
type: "string",
|
|
39981
|
+
const: "adjustment"
|
|
39982
|
+
}
|
|
39983
|
+
],
|
|
39984
|
+
description: "`usage`: credits spent, one entry per UTC day; `top_up`: credits bought; `plan`: a plan's grant or change; `reset`: the plan's period renewed; `adjustment`: a change Arbol made."
|
|
39985
|
+
},
|
|
39986
|
+
occurredAt: {
|
|
39987
|
+
type: "string",
|
|
39988
|
+
format: "date-time",
|
|
39989
|
+
description: "When it happened; for a day of usage, its first use."
|
|
39990
|
+
},
|
|
39991
|
+
endsAt: {
|
|
39992
|
+
anyOf: [
|
|
39993
|
+
{
|
|
39994
|
+
type: "string",
|
|
39995
|
+
format: "date-time"
|
|
39996
|
+
},
|
|
39997
|
+
{
|
|
39998
|
+
type: "null"
|
|
39999
|
+
}
|
|
40000
|
+
],
|
|
40001
|
+
description: "For a day of usage, its last use."
|
|
40002
|
+
},
|
|
40003
|
+
count: {
|
|
40004
|
+
anyOf: [
|
|
40005
|
+
{
|
|
40006
|
+
type: "integer"
|
|
40007
|
+
},
|
|
40008
|
+
{
|
|
40009
|
+
type: "null"
|
|
40010
|
+
}
|
|
40011
|
+
],
|
|
40012
|
+
description: "For usage, how many reports it groups."
|
|
40013
|
+
},
|
|
40014
|
+
amount: {
|
|
40015
|
+
anyOf: [
|
|
40016
|
+
{
|
|
40017
|
+
type: "number"
|
|
40018
|
+
},
|
|
40019
|
+
{
|
|
40020
|
+
type: "null"
|
|
40021
|
+
}
|
|
40022
|
+
],
|
|
40023
|
+
description: "Credits it added (positive) or took (negative); null when Autumn could not tell."
|
|
40024
|
+
},
|
|
40025
|
+
balanceAfter: {
|
|
40026
|
+
anyOf: [
|
|
40027
|
+
{
|
|
40028
|
+
type: "number"
|
|
40029
|
+
},
|
|
40030
|
+
{
|
|
40031
|
+
type: "null"
|
|
40032
|
+
}
|
|
40033
|
+
],
|
|
40034
|
+
description: "Credits left right after it."
|
|
40035
|
+
},
|
|
40036
|
+
approximate: {
|
|
40037
|
+
type: "boolean",
|
|
40038
|
+
description: "Its amounts are Autumn’s estimate, not an exact record."
|
|
40039
|
+
}
|
|
40040
|
+
},
|
|
40041
|
+
additionalProperties: false
|
|
40042
|
+
},
|
|
40043
|
+
AccountWalletTransactionPage: {
|
|
40044
|
+
type: "object",
|
|
40045
|
+
required: [
|
|
40046
|
+
"data",
|
|
40047
|
+
"object",
|
|
40048
|
+
"pageInfo"
|
|
40049
|
+
],
|
|
40050
|
+
properties: {
|
|
40051
|
+
data: {
|
|
40052
|
+
type: "array",
|
|
40053
|
+
items: {
|
|
40054
|
+
$ref: "#/components/schemas/AccountWalletTransaction"
|
|
40055
|
+
},
|
|
40056
|
+
description: "Items admitted by this resource contract within the verified organization."
|
|
40057
|
+
},
|
|
40058
|
+
object: {
|
|
40059
|
+
type: "string",
|
|
40060
|
+
const: "list",
|
|
40061
|
+
description: "Discriminator for a resource list response."
|
|
40062
|
+
},
|
|
40063
|
+
pageInfo: {
|
|
40064
|
+
$ref: "#/components/schemas/PageInfo",
|
|
40065
|
+
description: "Opaque navigation cursors for this page’s stable keyset order."
|
|
40066
|
+
}
|
|
40067
|
+
},
|
|
40068
|
+
additionalProperties: false
|
|
40069
|
+
},
|
|
40070
|
+
AccountWalletTransactionPageResponse: {
|
|
40071
|
+
type: "object",
|
|
40072
|
+
description: "A successful answer.",
|
|
40073
|
+
additionalProperties: false,
|
|
40074
|
+
required: [
|
|
40075
|
+
"success",
|
|
40076
|
+
"data",
|
|
40077
|
+
"error",
|
|
40078
|
+
"metadata"
|
|
40079
|
+
],
|
|
40080
|
+
properties: {
|
|
40081
|
+
success: {
|
|
40082
|
+
type: "boolean",
|
|
40083
|
+
enum: [
|
|
40084
|
+
true
|
|
40085
|
+
]
|
|
40086
|
+
},
|
|
40087
|
+
data: {
|
|
40088
|
+
$ref: "#/components/schemas/AccountWalletTransactionPage"
|
|
40089
|
+
},
|
|
40090
|
+
error: {
|
|
40091
|
+
const: null
|
|
40092
|
+
},
|
|
40093
|
+
metadata: {
|
|
40094
|
+
$ref: "#/components/schemas/ResponseMetadata"
|
|
40095
|
+
}
|
|
40096
|
+
}
|
|
40097
|
+
},
|
|
38666
40098
|
AdresAffiliationPresentation: {
|
|
38667
40099
|
anyOf: [
|
|
38668
40100
|
{
|
|
@@ -76241,6 +77673,7 @@ var schemaComponents = {
|
|
|
76241
77673
|
AgendaGetOrganizationResult: {
|
|
76242
77674
|
type: "object",
|
|
76243
77675
|
required: [
|
|
77676
|
+
"holidays",
|
|
76244
77677
|
"modules",
|
|
76245
77678
|
"name",
|
|
76246
77679
|
"object",
|
|
@@ -76248,11 +77681,85 @@ var schemaComponents = {
|
|
|
76248
77681
|
"version"
|
|
76249
77682
|
],
|
|
76250
77683
|
properties: {
|
|
77684
|
+
holidays: {
|
|
77685
|
+
type: "object",
|
|
77686
|
+
required: [
|
|
77687
|
+
"country",
|
|
77688
|
+
"exceptions",
|
|
77689
|
+
"mode"
|
|
77690
|
+
],
|
|
77691
|
+
properties: {
|
|
77692
|
+
country: {
|
|
77693
|
+
anyOf: [
|
|
77694
|
+
{
|
|
77695
|
+
type: "string",
|
|
77696
|
+
const: "CO"
|
|
77697
|
+
},
|
|
77698
|
+
{
|
|
77699
|
+
type: "string",
|
|
77700
|
+
const: "MX"
|
|
77701
|
+
},
|
|
77702
|
+
{
|
|
77703
|
+
type: "string",
|
|
77704
|
+
const: "PE"
|
|
77705
|
+
},
|
|
77706
|
+
{
|
|
77707
|
+
type: "string",
|
|
77708
|
+
const: "CL"
|
|
77709
|
+
}
|
|
77710
|
+
],
|
|
77711
|
+
description: "Country whose national holidays apply, as an ISO 3166-1 alpha-2 code."
|
|
77712
|
+
},
|
|
77713
|
+
exceptions: {
|
|
77714
|
+
type: "object",
|
|
77715
|
+
patternProperties: {
|
|
77716
|
+
"^.*$": {
|
|
77717
|
+
anyOf: [
|
|
77718
|
+
{
|
|
77719
|
+
type: "string",
|
|
77720
|
+
const: "closed"
|
|
77721
|
+
},
|
|
77722
|
+
{
|
|
77723
|
+
type: "string",
|
|
77724
|
+
const: "notice"
|
|
77725
|
+
},
|
|
77726
|
+
{
|
|
77727
|
+
type: "string",
|
|
77728
|
+
const: "hidden"
|
|
77729
|
+
}
|
|
77730
|
+
],
|
|
77731
|
+
description: "What a holiday does: closed offers no availability that day, notice only shows it on the agenda and when booking, hidden neither shows nor changes anything."
|
|
77732
|
+
}
|
|
77733
|
+
},
|
|
77734
|
+
description: "Holidays that do something else than `mode`, by holiday id."
|
|
77735
|
+
},
|
|
77736
|
+
mode: {
|
|
77737
|
+
anyOf: [
|
|
77738
|
+
{
|
|
77739
|
+
type: "string",
|
|
77740
|
+
const: "closed"
|
|
77741
|
+
},
|
|
77742
|
+
{
|
|
77743
|
+
type: "string",
|
|
77744
|
+
const: "notice"
|
|
77745
|
+
},
|
|
77746
|
+
{
|
|
77747
|
+
type: "string",
|
|
77748
|
+
const: "hidden"
|
|
77749
|
+
}
|
|
77750
|
+
],
|
|
77751
|
+
description: "What a holiday does: closed offers no availability that day, notice only shows it on the agenda and when booking, hidden neither shows nor changes anything."
|
|
77752
|
+
}
|
|
77753
|
+
},
|
|
77754
|
+
additionalProperties: false,
|
|
77755
|
+
description: "National holidays of the organization: the country, what a holiday does and its exceptions. They apply only while the holidays module is on."
|
|
77756
|
+
},
|
|
76251
77757
|
modules: {
|
|
76252
77758
|
type: "object",
|
|
76253
77759
|
required: [
|
|
76254
77760
|
"customFields",
|
|
76255
77761
|
"files",
|
|
77762
|
+
"holidays",
|
|
76256
77763
|
"locations",
|
|
76257
77764
|
"notifications",
|
|
76258
77765
|
"reports",
|
|
@@ -76268,6 +77775,10 @@ var schemaComponents = {
|
|
|
76268
77775
|
type: "boolean",
|
|
76269
77776
|
description: "Show patient and appointment documents without deleting stored files when disabled."
|
|
76270
77777
|
},
|
|
77778
|
+
holidays: {
|
|
77779
|
+
type: "boolean",
|
|
77780
|
+
description: "Apply the national holidays of the configured country: closed days offer no availability, noticed days are only shown. Disabling changes nothing stored."
|
|
77781
|
+
},
|
|
76271
77782
|
locations: {
|
|
76272
77783
|
type: "boolean",
|
|
76273
77784
|
description: "Show organization sites and site-based agenda filters."
|
|
@@ -122912,6 +124423,74 @@ var schemaComponents = {
|
|
|
122912
124423
|
minimum: 0,
|
|
122913
124424
|
description: "Organization settings version last observed; zero before the first save. A concurrent edit produces a conflict."
|
|
122914
124425
|
},
|
|
124426
|
+
holidays: {
|
|
124427
|
+
type: "object",
|
|
124428
|
+
properties: {
|
|
124429
|
+
country: {
|
|
124430
|
+
anyOf: [
|
|
124431
|
+
{
|
|
124432
|
+
type: "string",
|
|
124433
|
+
const: "CO"
|
|
124434
|
+
},
|
|
124435
|
+
{
|
|
124436
|
+
type: "string",
|
|
124437
|
+
const: "MX"
|
|
124438
|
+
},
|
|
124439
|
+
{
|
|
124440
|
+
type: "string",
|
|
124441
|
+
const: "PE"
|
|
124442
|
+
},
|
|
124443
|
+
{
|
|
124444
|
+
type: "string",
|
|
124445
|
+
const: "CL"
|
|
124446
|
+
}
|
|
124447
|
+
],
|
|
124448
|
+
description: "Country whose national holidays apply, as an ISO 3166-1 alpha-2 code."
|
|
124449
|
+
},
|
|
124450
|
+
exceptions: {
|
|
124451
|
+
type: "object",
|
|
124452
|
+
patternProperties: {
|
|
124453
|
+
"^.*$": {
|
|
124454
|
+
anyOf: [
|
|
124455
|
+
{
|
|
124456
|
+
type: "string",
|
|
124457
|
+
const: "closed"
|
|
124458
|
+
},
|
|
124459
|
+
{
|
|
124460
|
+
type: "string",
|
|
124461
|
+
const: "notice"
|
|
124462
|
+
},
|
|
124463
|
+
{
|
|
124464
|
+
type: "string",
|
|
124465
|
+
const: "hidden"
|
|
124466
|
+
}
|
|
124467
|
+
],
|
|
124468
|
+
description: "What a holiday does: closed offers no availability that day, notice only shows it on the agenda and when booking, hidden neither shows nor changes anything."
|
|
124469
|
+
}
|
|
124470
|
+
},
|
|
124471
|
+
description: "Holidays that do something else than `mode`, by holiday id."
|
|
124472
|
+
},
|
|
124473
|
+
mode: {
|
|
124474
|
+
anyOf: [
|
|
124475
|
+
{
|
|
124476
|
+
type: "string",
|
|
124477
|
+
const: "closed"
|
|
124478
|
+
},
|
|
124479
|
+
{
|
|
124480
|
+
type: "string",
|
|
124481
|
+
const: "notice"
|
|
124482
|
+
},
|
|
124483
|
+
{
|
|
124484
|
+
type: "string",
|
|
124485
|
+
const: "hidden"
|
|
124486
|
+
}
|
|
124487
|
+
],
|
|
124488
|
+
description: "What a holiday does: closed offers no availability that day, notice only shows it on the agenda and when booking, hidden neither shows nor changes anything."
|
|
124489
|
+
}
|
|
124490
|
+
},
|
|
124491
|
+
additionalProperties: false,
|
|
124492
|
+
description: "Only supplied holiday settings are changed. Supplied exceptions replace the stored ones; an exception naming a holiday the country does not have is dropped."
|
|
124493
|
+
},
|
|
122915
124494
|
modules: {
|
|
122916
124495
|
type: "object",
|
|
122917
124496
|
properties: {
|
|
@@ -122923,6 +124502,10 @@ var schemaComponents = {
|
|
|
122923
124502
|
type: "boolean",
|
|
122924
124503
|
description: "Show patient and appointment documents without deleting stored files when disabled."
|
|
122925
124504
|
},
|
|
124505
|
+
holidays: {
|
|
124506
|
+
type: "boolean",
|
|
124507
|
+
description: "Apply the national holidays of the configured country: closed days offer no availability, noticed days are only shown. Disabling changes nothing stored."
|
|
124508
|
+
},
|
|
122926
124509
|
locations: {
|
|
122927
124510
|
type: "boolean",
|
|
122928
124511
|
description: "Show organization sites and site-based agenda filters."
|
|
@@ -123319,6 +124902,7 @@ var schemaComponents = {
|
|
|
123319
124902
|
AgendaSaveOrganizationResult: {
|
|
123320
124903
|
type: "object",
|
|
123321
124904
|
required: [
|
|
124905
|
+
"holidays",
|
|
123322
124906
|
"modules",
|
|
123323
124907
|
"name",
|
|
123324
124908
|
"object",
|
|
@@ -123326,11 +124910,85 @@ var schemaComponents = {
|
|
|
123326
124910
|
"version"
|
|
123327
124911
|
],
|
|
123328
124912
|
properties: {
|
|
124913
|
+
holidays: {
|
|
124914
|
+
type: "object",
|
|
124915
|
+
required: [
|
|
124916
|
+
"country",
|
|
124917
|
+
"exceptions",
|
|
124918
|
+
"mode"
|
|
124919
|
+
],
|
|
124920
|
+
properties: {
|
|
124921
|
+
country: {
|
|
124922
|
+
anyOf: [
|
|
124923
|
+
{
|
|
124924
|
+
type: "string",
|
|
124925
|
+
const: "CO"
|
|
124926
|
+
},
|
|
124927
|
+
{
|
|
124928
|
+
type: "string",
|
|
124929
|
+
const: "MX"
|
|
124930
|
+
},
|
|
124931
|
+
{
|
|
124932
|
+
type: "string",
|
|
124933
|
+
const: "PE"
|
|
124934
|
+
},
|
|
124935
|
+
{
|
|
124936
|
+
type: "string",
|
|
124937
|
+
const: "CL"
|
|
124938
|
+
}
|
|
124939
|
+
],
|
|
124940
|
+
description: "Country whose national holidays apply, as an ISO 3166-1 alpha-2 code."
|
|
124941
|
+
},
|
|
124942
|
+
exceptions: {
|
|
124943
|
+
type: "object",
|
|
124944
|
+
patternProperties: {
|
|
124945
|
+
"^.*$": {
|
|
124946
|
+
anyOf: [
|
|
124947
|
+
{
|
|
124948
|
+
type: "string",
|
|
124949
|
+
const: "closed"
|
|
124950
|
+
},
|
|
124951
|
+
{
|
|
124952
|
+
type: "string",
|
|
124953
|
+
const: "notice"
|
|
124954
|
+
},
|
|
124955
|
+
{
|
|
124956
|
+
type: "string",
|
|
124957
|
+
const: "hidden"
|
|
124958
|
+
}
|
|
124959
|
+
],
|
|
124960
|
+
description: "What a holiday does: closed offers no availability that day, notice only shows it on the agenda and when booking, hidden neither shows nor changes anything."
|
|
124961
|
+
}
|
|
124962
|
+
},
|
|
124963
|
+
description: "Holidays that do something else than `mode`, by holiday id."
|
|
124964
|
+
},
|
|
124965
|
+
mode: {
|
|
124966
|
+
anyOf: [
|
|
124967
|
+
{
|
|
124968
|
+
type: "string",
|
|
124969
|
+
const: "closed"
|
|
124970
|
+
},
|
|
124971
|
+
{
|
|
124972
|
+
type: "string",
|
|
124973
|
+
const: "notice"
|
|
124974
|
+
},
|
|
124975
|
+
{
|
|
124976
|
+
type: "string",
|
|
124977
|
+
const: "hidden"
|
|
124978
|
+
}
|
|
124979
|
+
],
|
|
124980
|
+
description: "What a holiday does: closed offers no availability that day, notice only shows it on the agenda and when booking, hidden neither shows nor changes anything."
|
|
124981
|
+
}
|
|
124982
|
+
},
|
|
124983
|
+
additionalProperties: false,
|
|
124984
|
+
description: "National holidays of the organization: the country, what a holiday does and its exceptions. They apply only while the holidays module is on."
|
|
124985
|
+
},
|
|
123329
124986
|
modules: {
|
|
123330
124987
|
type: "object",
|
|
123331
124988
|
required: [
|
|
123332
124989
|
"customFields",
|
|
123333
124990
|
"files",
|
|
124991
|
+
"holidays",
|
|
123334
124992
|
"locations",
|
|
123335
124993
|
"notifications",
|
|
123336
124994
|
"reports",
|
|
@@ -123346,6 +125004,10 @@ var schemaComponents = {
|
|
|
123346
125004
|
type: "boolean",
|
|
123347
125005
|
description: "Show patient and appointment documents without deleting stored files when disabled."
|
|
123348
125006
|
},
|
|
125007
|
+
holidays: {
|
|
125008
|
+
type: "boolean",
|
|
125009
|
+
description: "Apply the national holidays of the configured country: closed days offer no availability, noticed days are only shown. Disabling changes nothing stored."
|
|
125010
|
+
},
|
|
123349
125011
|
locations: {
|
|
123350
125012
|
type: "boolean",
|
|
123351
125013
|
description: "Show organization sites and site-based agenda filters."
|
|
@@ -189071,6 +190733,7 @@ var schemaComponents = {
|
|
|
189071
190733
|
"reasoningEffort",
|
|
189072
190734
|
"replyChoices",
|
|
189073
190735
|
"sessionCloseAfterMinutes",
|
|
190736
|
+
"teamCloseAfterMinutes",
|
|
189074
190737
|
"temperature",
|
|
189075
190738
|
"toolDiscovery",
|
|
189076
190739
|
"voice"
|
|
@@ -189512,7 +191175,20 @@ var schemaComponents = {
|
|
|
189512
191175
|
anyOf: [
|
|
189513
191176
|
{
|
|
189514
191177
|
type: "integer",
|
|
189515
|
-
description: "Text Agents. Close a conversation after this many minutes without messages. Null:
|
|
191178
|
+
description: "Text Agents. Close a conversation the AI attends after this many minutes without messages. Null: 120 on WhatsApp (1440 for a conversation the business opened: a campaign's message or a machine client's), 30 on web. If the contact writes later, a new conversation opens and the Agent reads what is known of the contact and the summaries of their earlier conversations. A WhatsApp conversation a person of the team handles follows `teamCloseAfterMinutes` instead.",
|
|
191179
|
+
maximum: 10080,
|
|
191180
|
+
minimum: 5
|
|
191181
|
+
},
|
|
191182
|
+
{
|
|
191183
|
+
type: "null"
|
|
191184
|
+
}
|
|
191185
|
+
]
|
|
191186
|
+
},
|
|
191187
|
+
teamCloseAfterMinutes: {
|
|
191188
|
+
anyOf: [
|
|
191189
|
+
{
|
|
191190
|
+
type: "integer",
|
|
191191
|
+
description: "Text Agents on WhatsApp. Close a conversation a person of the team handles (a handoff the AI made, the AI paused for the recipient, or the AI off for the conversation) after this many minutes without messages, whether the team answered or not. One that closes with a handoff nobody of the team answered is `unattended` and stays among the conversations to review. Closing ends the recipient's pause, so their next message opens a new conversation with the AI. Null: 1440.",
|
|
189516
191192
|
maximum: 10080,
|
|
189517
191193
|
minimum: 5
|
|
189518
191194
|
},
|
|
@@ -190010,7 +191686,20 @@ var schemaComponents = {
|
|
|
190010
191686
|
anyOf: [
|
|
190011
191687
|
{
|
|
190012
191688
|
type: "integer",
|
|
190013
|
-
description: "Text Agents. Close a conversation after this many minutes without messages. Null:
|
|
191689
|
+
description: "Text Agents. Close a conversation the AI attends after this many minutes without messages. Null: 120 on WhatsApp (1440 for a conversation the business opened: a campaign's message or a machine client's), 30 on web. If the contact writes later, a new conversation opens and the Agent reads what is known of the contact and the summaries of their earlier conversations. A WhatsApp conversation a person of the team handles follows `teamCloseAfterMinutes` instead.",
|
|
191690
|
+
maximum: 10080,
|
|
191691
|
+
minimum: 5
|
|
191692
|
+
},
|
|
191693
|
+
{
|
|
191694
|
+
type: "null"
|
|
191695
|
+
}
|
|
191696
|
+
]
|
|
191697
|
+
},
|
|
191698
|
+
teamCloseAfterMinutes: {
|
|
191699
|
+
anyOf: [
|
|
191700
|
+
{
|
|
191701
|
+
type: "integer",
|
|
191702
|
+
description: "Text Agents on WhatsApp. Close a conversation a person of the team handles (a handoff the AI made, the AI paused for the recipient, or the AI off for the conversation) after this many minutes without messages, whether the team answered or not. One that closes with a handoff nobody of the team answered is `unattended` and stays among the conversations to review. Closing ends the recipient's pause, so their next message opens a new conversation with the AI. Null: 1440.",
|
|
190014
191703
|
maximum: 10080,
|
|
190015
191704
|
minimum: 5
|
|
190016
191705
|
},
|
|
@@ -191013,6 +192702,169 @@ var schemaComponents = {
|
|
|
191013
192702
|
},
|
|
191014
192703
|
additionalProperties: false
|
|
191015
192704
|
},
|
|
192705
|
+
RaizAssignee: {
|
|
192706
|
+
type: "object",
|
|
192707
|
+
required: [
|
|
192708
|
+
"email",
|
|
192709
|
+
"id",
|
|
192710
|
+
"name",
|
|
192711
|
+
"picture",
|
|
192712
|
+
"self"
|
|
192713
|
+
],
|
|
192714
|
+
properties: {
|
|
192715
|
+
email: {
|
|
192716
|
+
anyOf: [
|
|
192717
|
+
{
|
|
192718
|
+
type: "string"
|
|
192719
|
+
},
|
|
192720
|
+
{
|
|
192721
|
+
type: "null"
|
|
192722
|
+
}
|
|
192723
|
+
]
|
|
192724
|
+
},
|
|
192725
|
+
id: {
|
|
192726
|
+
type: "string",
|
|
192727
|
+
description: "The person's member id, as Arbol Account lists it (`account.members.list`): the value `assigneeId` takes."
|
|
192728
|
+
},
|
|
192729
|
+
name: {
|
|
192730
|
+
anyOf: [
|
|
192731
|
+
{
|
|
192732
|
+
type: "string"
|
|
192733
|
+
},
|
|
192734
|
+
{
|
|
192735
|
+
type: "null"
|
|
192736
|
+
}
|
|
192737
|
+
]
|
|
192738
|
+
},
|
|
192739
|
+
picture: {
|
|
192740
|
+
anyOf: [
|
|
192741
|
+
{
|
|
192742
|
+
type: "string",
|
|
192743
|
+
description: "A link to their picture."
|
|
192744
|
+
},
|
|
192745
|
+
{
|
|
192746
|
+
type: "null"
|
|
192747
|
+
}
|
|
192748
|
+
]
|
|
192749
|
+
},
|
|
192750
|
+
self: {
|
|
192751
|
+
type: "boolean",
|
|
192752
|
+
description: "The person calling."
|
|
192753
|
+
}
|
|
192754
|
+
},
|
|
192755
|
+
additionalProperties: false
|
|
192756
|
+
},
|
|
192757
|
+
RaizAssigneeList: {
|
|
192758
|
+
type: "object",
|
|
192759
|
+
required: [
|
|
192760
|
+
"data",
|
|
192761
|
+
"object"
|
|
192762
|
+
],
|
|
192763
|
+
properties: {
|
|
192764
|
+
data: {
|
|
192765
|
+
type: "array",
|
|
192766
|
+
items: {
|
|
192767
|
+
$ref: "#/components/schemas/RaizAssignee"
|
|
192768
|
+
},
|
|
192769
|
+
description: "By name. An organization's team is a short list: all of it."
|
|
192770
|
+
},
|
|
192771
|
+
object: {
|
|
192772
|
+
type: "string",
|
|
192773
|
+
const: "list"
|
|
192774
|
+
}
|
|
192775
|
+
},
|
|
192776
|
+
additionalProperties: false
|
|
192777
|
+
},
|
|
192778
|
+
RaizAssigneeListResponse: {
|
|
192779
|
+
type: "object",
|
|
192780
|
+
description: "A successful answer.",
|
|
192781
|
+
additionalProperties: false,
|
|
192782
|
+
required: [
|
|
192783
|
+
"success",
|
|
192784
|
+
"data",
|
|
192785
|
+
"error",
|
|
192786
|
+
"metadata"
|
|
192787
|
+
],
|
|
192788
|
+
properties: {
|
|
192789
|
+
success: {
|
|
192790
|
+
type: "boolean",
|
|
192791
|
+
enum: [
|
|
192792
|
+
true
|
|
192793
|
+
]
|
|
192794
|
+
},
|
|
192795
|
+
data: {
|
|
192796
|
+
$ref: "#/components/schemas/RaizAssigneeList"
|
|
192797
|
+
},
|
|
192798
|
+
error: {
|
|
192799
|
+
const: null
|
|
192800
|
+
},
|
|
192801
|
+
metadata: {
|
|
192802
|
+
$ref: "#/components/schemas/ResponseMetadata"
|
|
192803
|
+
}
|
|
192804
|
+
}
|
|
192805
|
+
},
|
|
192806
|
+
RaizAssigneeUnavailableError: {
|
|
192807
|
+
type: "object",
|
|
192808
|
+
description: "A failed answer.",
|
|
192809
|
+
additionalProperties: false,
|
|
192810
|
+
required: [
|
|
192811
|
+
"success",
|
|
192812
|
+
"data",
|
|
192813
|
+
"error",
|
|
192814
|
+
"metadata"
|
|
192815
|
+
],
|
|
192816
|
+
properties: {
|
|
192817
|
+
success: {
|
|
192818
|
+
type: "boolean",
|
|
192819
|
+
enum: [
|
|
192820
|
+
false
|
|
192821
|
+
]
|
|
192822
|
+
},
|
|
192823
|
+
data: {
|
|
192824
|
+
const: null
|
|
192825
|
+
},
|
|
192826
|
+
error: {
|
|
192827
|
+
$ref: "#/components/schemas/RaizAssigneeUnavailableFailure"
|
|
192828
|
+
},
|
|
192829
|
+
metadata: {
|
|
192830
|
+
$ref: "#/components/schemas/ResponseMetadata"
|
|
192831
|
+
}
|
|
192832
|
+
}
|
|
192833
|
+
},
|
|
192834
|
+
RaizAssigneeUnavailableFailure: {
|
|
192835
|
+
type: "object",
|
|
192836
|
+
description: "That person cannot take conversations in this organization. `listAssignees` names who can.",
|
|
192837
|
+
additionalProperties: false,
|
|
192838
|
+
required: [
|
|
192839
|
+
"code",
|
|
192840
|
+
"message",
|
|
192841
|
+
"retryable",
|
|
192842
|
+
"data"
|
|
192843
|
+
],
|
|
192844
|
+
properties: {
|
|
192845
|
+
code: {
|
|
192846
|
+
type: "string",
|
|
192847
|
+
enum: [
|
|
192848
|
+
"ASSIGNEE_UNAVAILABLE"
|
|
192849
|
+
],
|
|
192850
|
+
description: "The failure code, stable across releases."
|
|
192851
|
+
},
|
|
192852
|
+
message: {
|
|
192853
|
+
type: "string",
|
|
192854
|
+
description: "What went wrong, for people; it never contains input values."
|
|
192855
|
+
},
|
|
192856
|
+
retryable: {
|
|
192857
|
+
type: "boolean",
|
|
192858
|
+
enum: [
|
|
192859
|
+
false
|
|
192860
|
+
],
|
|
192861
|
+
description: "Whether repeating the same request may succeed."
|
|
192862
|
+
},
|
|
192863
|
+
data: {
|
|
192864
|
+
$ref: "#/components/schemas/Empty"
|
|
192865
|
+
}
|
|
192866
|
+
}
|
|
192867
|
+
},
|
|
191016
192868
|
RaizBulletin: {
|
|
191017
192869
|
type: "object",
|
|
191018
192870
|
required: [
|
|
@@ -195382,6 +197234,9 @@ var schemaComponents = {
|
|
|
195382
197234
|
"aiPaused",
|
|
195383
197235
|
"aiPausedBy",
|
|
195384
197236
|
"analyzedAt",
|
|
197237
|
+
"assignedAt",
|
|
197238
|
+
"assignedBy",
|
|
197239
|
+
"assigneeId",
|
|
195385
197240
|
"campaignId",
|
|
195386
197241
|
"campaignRecipientId",
|
|
195387
197242
|
"channelAddress",
|
|
@@ -195417,8 +197272,11 @@ var schemaComponents = {
|
|
|
195417
197272
|
"summaryAuthor",
|
|
195418
197273
|
"title",
|
|
195419
197274
|
"titleAuthor",
|
|
197275
|
+
"unattended",
|
|
195420
197276
|
"updatedAt",
|
|
195421
197277
|
"version",
|
|
197278
|
+
"waitingOn",
|
|
197279
|
+
"waitingSinceAt",
|
|
195422
197280
|
"workers",
|
|
195423
197281
|
"toolCalls",
|
|
195424
197282
|
"analysisErrorCode",
|
|
@@ -195499,6 +197357,40 @@ var schemaComponents = {
|
|
|
195499
197357
|
}
|
|
195500
197358
|
]
|
|
195501
197359
|
},
|
|
197360
|
+
assignedAt: {
|
|
197361
|
+
anyOf: [
|
|
197362
|
+
{
|
|
197363
|
+
type: "string",
|
|
197364
|
+
description: "An instant in RFC 3339 format, in UTC.",
|
|
197365
|
+
format: "date-time"
|
|
197366
|
+
},
|
|
197367
|
+
{
|
|
197368
|
+
type: "null"
|
|
197369
|
+
}
|
|
197370
|
+
]
|
|
197371
|
+
},
|
|
197372
|
+
assignedBy: {
|
|
197373
|
+
anyOf: [
|
|
197374
|
+
{
|
|
197375
|
+
type: "string",
|
|
197376
|
+
description: "Who gave the case to its owner: a member id, the owner's own when they took it."
|
|
197377
|
+
},
|
|
197378
|
+
{
|
|
197379
|
+
type: "null"
|
|
197380
|
+
}
|
|
197381
|
+
]
|
|
197382
|
+
},
|
|
197383
|
+
assigneeId: {
|
|
197384
|
+
anyOf: [
|
|
197385
|
+
{
|
|
197386
|
+
type: "string",
|
|
197387
|
+
description: "The case's owner: the person of the organization who took the conversation or was given it, by their member id as Arbol Account lists it (`account.members.list`). Null while nobody has it. It stays when the AI resumes, so a later handoff of the same conversation returns to the same person."
|
|
197388
|
+
},
|
|
197389
|
+
{
|
|
197390
|
+
type: "null"
|
|
197391
|
+
}
|
|
197392
|
+
]
|
|
197393
|
+
},
|
|
195502
197394
|
campaignId: {
|
|
195503
197395
|
anyOf: [
|
|
195504
197396
|
{
|
|
@@ -195986,6 +197878,10 @@ var schemaComponents = {
|
|
|
195986
197878
|
}
|
|
195987
197879
|
]
|
|
195988
197880
|
},
|
|
197881
|
+
unattended: {
|
|
197882
|
+
type: "boolean",
|
|
197883
|
+
description: "It closed for inactivity with a handoff nobody of the team answered. Such a conversation is also one to review (`toReview`)."
|
|
197884
|
+
},
|
|
195989
197885
|
updatedAt: {
|
|
195990
197886
|
type: "string",
|
|
195991
197887
|
description: "An instant in RFC 3339 format, in UTC.",
|
|
@@ -195995,6 +197891,42 @@ var schemaComponents = {
|
|
|
195995
197891
|
type: "integer",
|
|
195996
197892
|
minimum: 1
|
|
195997
197893
|
},
|
|
197894
|
+
waitingOn: {
|
|
197895
|
+
anyOf: [
|
|
197896
|
+
{
|
|
197897
|
+
anyOf: [
|
|
197898
|
+
{
|
|
197899
|
+
type: "string",
|
|
197900
|
+
const: "ai"
|
|
197901
|
+
},
|
|
197902
|
+
{
|
|
197903
|
+
type: "string",
|
|
197904
|
+
const: "team"
|
|
197905
|
+
},
|
|
197906
|
+
{
|
|
197907
|
+
type: "string",
|
|
197908
|
+
const: "contact"
|
|
197909
|
+
}
|
|
197910
|
+
],
|
|
197911
|
+
description: "Who an open conversation waits for. `ai`: the AI attends it. While a person of the team handles it (a pending handoff, the AI paused for the recipient or off for the conversation): `team` when the contact wrote after the last answer or nobody of the team answered the handoff, `contact` when a person answered last. Null once closed."
|
|
197912
|
+
},
|
|
197913
|
+
{
|
|
197914
|
+
type: "null"
|
|
197915
|
+
}
|
|
197916
|
+
]
|
|
197917
|
+
},
|
|
197918
|
+
waitingSinceAt: {
|
|
197919
|
+
anyOf: [
|
|
197920
|
+
{
|
|
197921
|
+
type: "string",
|
|
197922
|
+
description: "Since when it waits for the team or the contact (RFC 3339): the first message nobody answered, or the last answer. Null while the AI attends it and once closed.",
|
|
197923
|
+
format: "date-time"
|
|
197924
|
+
},
|
|
197925
|
+
{
|
|
197926
|
+
type: "null"
|
|
197927
|
+
}
|
|
197928
|
+
]
|
|
197929
|
+
},
|
|
195998
197930
|
workers: {
|
|
195999
197931
|
type: "array",
|
|
196000
197932
|
items: {
|
|
@@ -196126,6 +198058,13 @@ var schemaComponents = {
|
|
|
196126
198058
|
$ref: "#/components/schemas/RaizConversationDiagnostics",
|
|
196127
198059
|
description: "Staff-only, live read of a call's provider termination evidence. Never includes provider identifiers, credentials, transcript content or free-form error text. Unavailable evidence is explicit and does not change the stored conversation."
|
|
196128
198060
|
},
|
|
198061
|
+
history: {
|
|
198062
|
+
type: "array",
|
|
198063
|
+
items: {
|
|
198064
|
+
$ref: "#/components/schemas/RaizConversationEvent"
|
|
198065
|
+
},
|
|
198066
|
+
description: "The case's history, oldest first: the handoff, who took it or was given it, the return to the AI, a person's pause or resume, and the closing. Present only when expanded. Who answered the contact is in `workers` and in each message's `memberId`."
|
|
198067
|
+
},
|
|
196129
198068
|
messages: {
|
|
196130
198069
|
$ref: "#/components/schemas/RaizMessagePage",
|
|
196131
198070
|
description: "The transcript, oldest first, with tool calls and quoted replies. Present only when expanded."
|
|
@@ -196415,6 +198354,128 @@ var schemaComponents = {
|
|
|
196415
198354
|
},
|
|
196416
198355
|
additionalProperties: false
|
|
196417
198356
|
},
|
|
198357
|
+
RaizConversationEvent: {
|
|
198358
|
+
type: "object",
|
|
198359
|
+
required: [
|
|
198360
|
+
"at",
|
|
198361
|
+
"author",
|
|
198362
|
+
"authorId",
|
|
198363
|
+
"kind"
|
|
198364
|
+
],
|
|
198365
|
+
properties: {
|
|
198366
|
+
assigneeId: {
|
|
198367
|
+
type: "string",
|
|
198368
|
+
description: "For `assigned`: the member who has the case from then on."
|
|
198369
|
+
},
|
|
198370
|
+
at: {
|
|
198371
|
+
type: "string",
|
|
198372
|
+
description: "An instant in RFC 3339 format, in UTC.",
|
|
198373
|
+
format: "date-time"
|
|
198374
|
+
},
|
|
198375
|
+
author: {
|
|
198376
|
+
anyOf: [
|
|
198377
|
+
{
|
|
198378
|
+
type: "string",
|
|
198379
|
+
const: "person"
|
|
198380
|
+
},
|
|
198381
|
+
{
|
|
198382
|
+
type: "string",
|
|
198383
|
+
const: "ai"
|
|
198384
|
+
},
|
|
198385
|
+
{
|
|
198386
|
+
type: "string",
|
|
198387
|
+
const: "system"
|
|
198388
|
+
},
|
|
198389
|
+
{
|
|
198390
|
+
type: "string",
|
|
198391
|
+
const: "import"
|
|
198392
|
+
},
|
|
198393
|
+
{
|
|
198394
|
+
type: "string",
|
|
198395
|
+
const: "provider"
|
|
198396
|
+
}
|
|
198397
|
+
],
|
|
198398
|
+
description: "Who did it: a `person` of the organization, the `ai`, or the `system` (a rule, such as the inactivity close)."
|
|
198399
|
+
},
|
|
198400
|
+
authorId: {
|
|
198401
|
+
anyOf: [
|
|
198402
|
+
{
|
|
198403
|
+
type: "string",
|
|
198404
|
+
description: "The member id of the person, or the Agent's id; null for the system."
|
|
198405
|
+
},
|
|
198406
|
+
{
|
|
198407
|
+
type: "null"
|
|
198408
|
+
}
|
|
198409
|
+
]
|
|
198410
|
+
},
|
|
198411
|
+
automatic: {
|
|
198412
|
+
type: "boolean",
|
|
198413
|
+
description: "For `returned_to_ai`: nobody of the team asked for it; an unanswered technical handoff came back by itself."
|
|
198414
|
+
},
|
|
198415
|
+
closeReason: {
|
|
198416
|
+
anyOf: [
|
|
198417
|
+
{
|
|
198418
|
+
type: "string"
|
|
198419
|
+
},
|
|
198420
|
+
{
|
|
198421
|
+
type: "null"
|
|
198422
|
+
}
|
|
198423
|
+
]
|
|
198424
|
+
},
|
|
198425
|
+
kind: {
|
|
198426
|
+
anyOf: [
|
|
198427
|
+
{
|
|
198428
|
+
type: "string",
|
|
198429
|
+
const: "handed_off"
|
|
198430
|
+
},
|
|
198431
|
+
{
|
|
198432
|
+
type: "string",
|
|
198433
|
+
const: "assigned"
|
|
198434
|
+
},
|
|
198435
|
+
{
|
|
198436
|
+
type: "string",
|
|
198437
|
+
const: "unassigned"
|
|
198438
|
+
},
|
|
198439
|
+
{
|
|
198440
|
+
type: "string",
|
|
198441
|
+
const: "returned_to_ai"
|
|
198442
|
+
},
|
|
198443
|
+
{
|
|
198444
|
+
type: "string",
|
|
198445
|
+
const: "ai_paused"
|
|
198446
|
+
},
|
|
198447
|
+
{
|
|
198448
|
+
type: "string",
|
|
198449
|
+
const: "ai_resumed"
|
|
198450
|
+
},
|
|
198451
|
+
{
|
|
198452
|
+
type: "string",
|
|
198453
|
+
const: "closed"
|
|
198454
|
+
}
|
|
198455
|
+
],
|
|
198456
|
+
description: "`handed_off`: the AI passed the conversation to the team (`messageId` is its handoff message). `assigned`: a person took the case or was given it (`authorId` is who decided, `assigneeId` who has it, `previousAssigneeId` who had it). `unassigned`: it was left with nobody. `returned_to_ai`: the team gave it back to the AI. `ai_paused`, `ai_resumed`: a person paused or resumed the AI for the recipient. `closed`: it closed, with `closeReason`."
|
|
198457
|
+
},
|
|
198458
|
+
messageId: {
|
|
198459
|
+
type: "string",
|
|
198460
|
+
description: "Message id.",
|
|
198461
|
+
examples: [
|
|
198462
|
+
"msg_01m45h8q2rf3t9w6y7z0b1c2d3"
|
|
198463
|
+
],
|
|
198464
|
+
pattern: "^msg_(?:[0-7][0-9a-hjkmnp-tv-z]{25}|(?:[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}|[a-f0-9]{32}))$"
|
|
198465
|
+
},
|
|
198466
|
+
previousAssigneeId: {
|
|
198467
|
+
anyOf: [
|
|
198468
|
+
{
|
|
198469
|
+
type: "string"
|
|
198470
|
+
},
|
|
198471
|
+
{
|
|
198472
|
+
type: "null"
|
|
198473
|
+
}
|
|
198474
|
+
]
|
|
198475
|
+
}
|
|
198476
|
+
},
|
|
198477
|
+
additionalProperties: false
|
|
198478
|
+
},
|
|
196418
198479
|
RaizConversationGroup: {
|
|
196419
198480
|
type: "object",
|
|
196420
198481
|
required: [
|
|
@@ -196973,6 +199034,33 @@ var schemaComponents = {
|
|
|
196973
199034
|
],
|
|
196974
199035
|
description: "Who works the conversation now. `ai`: calls and web chats, open WhatsApp conversations the AI answers (assigned to it and not paused), and closed ones the AI answered. `team`: open WhatsApp conversations the organization's people answer (not assigned to the AI, or paused) and closed ones they answered. Unlike `handling`, a conversation the AI answered and then handed to people is `team` while open."
|
|
196975
199036
|
},
|
|
199037
|
+
waitingOn: {
|
|
199038
|
+
anyOf: [
|
|
199039
|
+
{
|
|
199040
|
+
type: "string",
|
|
199041
|
+
const: "ai"
|
|
199042
|
+
},
|
|
199043
|
+
{
|
|
199044
|
+
type: "string",
|
|
199045
|
+
const: "team"
|
|
199046
|
+
},
|
|
199047
|
+
{
|
|
199048
|
+
type: "string",
|
|
199049
|
+
const: "contact"
|
|
199050
|
+
}
|
|
199051
|
+
],
|
|
199052
|
+
description: "Open conversations by who they wait for, as each conversation's `waitingOn` says: `ai`, `team` (the team's cases to answer) or `contact`. Closed conversations never match."
|
|
199053
|
+
},
|
|
199054
|
+
assignee: {
|
|
199055
|
+
type: "string",
|
|
199056
|
+
description: "Conversations by the case's owner: a member id, `me` (the person calling) or `none` (nobody has it). With `waitingOn=team`: one person's cases to answer, or the ones nobody took.",
|
|
199057
|
+
maxLength: 255,
|
|
199058
|
+
minLength: 1
|
|
199059
|
+
},
|
|
199060
|
+
unattended: {
|
|
199061
|
+
type: "boolean",
|
|
199062
|
+
description: "`true`: conversations that closed for inactivity with a handoff nobody of the team answered."
|
|
199063
|
+
},
|
|
196976
199064
|
origin: {
|
|
196977
199065
|
type: "string",
|
|
196978
199066
|
description: "Comma-separated origins.",
|
|
@@ -199341,6 +201429,9 @@ var schemaComponents = {
|
|
|
199341
201429
|
{
|
|
199342
201430
|
$ref: "#/components/schemas/UpstreamUnavailableFailure"
|
|
199343
201431
|
},
|
|
201432
|
+
{
|
|
201433
|
+
$ref: "#/components/schemas/RaizTeamUnavailableFailure"
|
|
201434
|
+
},
|
|
199344
201435
|
{
|
|
199345
201436
|
$ref: "#/components/schemas/RaizCampaignHeaderNotStoredFailure"
|
|
199346
201437
|
},
|
|
@@ -199358,6 +201449,7 @@ var schemaComponents = {
|
|
|
199358
201449
|
propertyName: "code",
|
|
199359
201450
|
mapping: {
|
|
199360
201451
|
UPSTREAM_UNAVAILABLE: "#/components/schemas/UpstreamUnavailableFailure",
|
|
201452
|
+
TEAM_UNAVAILABLE: "#/components/schemas/RaizTeamUnavailableFailure",
|
|
199361
201453
|
CAMPAIGN_HEADER_NOT_STORED: "#/components/schemas/RaizCampaignHeaderNotStoredFailure",
|
|
199362
201454
|
VOICE_UNAVAILABLE: "#/components/schemas/RaizVoiceUnavailableFailure",
|
|
199363
201455
|
FEEDBACK_PROPOSAL_UNAVAILABLE: "#/components/schemas/RaizFeedbackProposalUnavailableFailure",
|
|
@@ -199448,6 +201540,9 @@ var schemaComponents = {
|
|
|
199448
201540
|
},
|
|
199449
201541
|
RaizCreateChannelUnprocessableContentFailure: {
|
|
199450
201542
|
oneOf: [
|
|
201543
|
+
{
|
|
201544
|
+
$ref: "#/components/schemas/RaizAssigneeUnavailableFailure"
|
|
201545
|
+
},
|
|
199451
201546
|
{
|
|
199452
201547
|
$ref: "#/components/schemas/RaizContactUnreachableFailure"
|
|
199453
201548
|
},
|
|
@@ -199560,6 +201655,7 @@ var schemaComponents = {
|
|
|
199560
201655
|
discriminator: {
|
|
199561
201656
|
propertyName: "code",
|
|
199562
201657
|
mapping: {
|
|
201658
|
+
ASSIGNEE_UNAVAILABLE: "#/components/schemas/RaizAssigneeUnavailableFailure",
|
|
199563
201659
|
CONTACT_UNREACHABLE: "#/components/schemas/RaizContactUnreachableFailure",
|
|
199564
201660
|
DAILY_REPORT_RECIPIENTS_MISSING: "#/components/schemas/RaizDailyReportRecipientsMissingFailure",
|
|
199565
201661
|
DEFINITION_OPTIONS_INVALID: "#/components/schemas/RaizDefinitionOptionsInvalidFailure",
|
|
@@ -200823,6 +202919,9 @@ var schemaComponents = {
|
|
|
200823
202919
|
{
|
|
200824
202920
|
$ref: "#/components/schemas/UpstreamUnavailableFailure"
|
|
200825
202921
|
},
|
|
202922
|
+
{
|
|
202923
|
+
$ref: "#/components/schemas/RaizTeamUnavailableFailure"
|
|
202924
|
+
},
|
|
200826
202925
|
{
|
|
200827
202926
|
$ref: "#/components/schemas/RaizCampaignHeaderNotStoredFailure"
|
|
200828
202927
|
},
|
|
@@ -200840,6 +202939,7 @@ var schemaComponents = {
|
|
|
200840
202939
|
propertyName: "code",
|
|
200841
202940
|
mapping: {
|
|
200842
202941
|
UPSTREAM_UNAVAILABLE: "#/components/schemas/UpstreamUnavailableFailure",
|
|
202942
|
+
TEAM_UNAVAILABLE: "#/components/schemas/RaizTeamUnavailableFailure",
|
|
200843
202943
|
CAMPAIGN_HEADER_NOT_STORED: "#/components/schemas/RaizCampaignHeaderNotStoredFailure",
|
|
200844
202944
|
VOICE_UNAVAILABLE: "#/components/schemas/RaizVoiceUnavailableFailure",
|
|
200845
202945
|
FEEDBACK_PROPOSAL_UNAVAILABLE: "#/components/schemas/RaizFeedbackProposalUnavailableFailure",
|
|
@@ -200930,6 +203030,9 @@ var schemaComponents = {
|
|
|
200930
203030
|
},
|
|
200931
203031
|
RaizCreateConversationUnprocessableContentFailure: {
|
|
200932
203032
|
oneOf: [
|
|
203033
|
+
{
|
|
203034
|
+
$ref: "#/components/schemas/RaizAssigneeUnavailableFailure"
|
|
203035
|
+
},
|
|
200933
203036
|
{
|
|
200934
203037
|
$ref: "#/components/schemas/RaizContactUnreachableFailure"
|
|
200935
203038
|
},
|
|
@@ -201042,6 +203145,7 @@ var schemaComponents = {
|
|
|
201042
203145
|
discriminator: {
|
|
201043
203146
|
propertyName: "code",
|
|
201044
203147
|
mapping: {
|
|
203148
|
+
ASSIGNEE_UNAVAILABLE: "#/components/schemas/RaizAssigneeUnavailableFailure",
|
|
201045
203149
|
CONTACT_UNREACHABLE: "#/components/schemas/RaizContactUnreachableFailure",
|
|
201046
203150
|
DAILY_REPORT_RECIPIENTS_MISSING: "#/components/schemas/RaizDailyReportRecipientsMissingFailure",
|
|
201047
203151
|
DEFINITION_OPTIONS_INVALID: "#/components/schemas/RaizDefinitionOptionsInvalidFailure",
|
|
@@ -204667,6 +206771,9 @@ var schemaComponents = {
|
|
|
204667
206771
|
{
|
|
204668
206772
|
$ref: "#/components/schemas/UpstreamUnavailableFailure"
|
|
204669
206773
|
},
|
|
206774
|
+
{
|
|
206775
|
+
$ref: "#/components/schemas/RaizTeamUnavailableFailure"
|
|
206776
|
+
},
|
|
204670
206777
|
{
|
|
204671
206778
|
$ref: "#/components/schemas/RaizCampaignHeaderNotStoredFailure"
|
|
204672
206779
|
},
|
|
@@ -204684,6 +206791,7 @@ var schemaComponents = {
|
|
|
204684
206791
|
propertyName: "code",
|
|
204685
206792
|
mapping: {
|
|
204686
206793
|
UPSTREAM_UNAVAILABLE: "#/components/schemas/UpstreamUnavailableFailure",
|
|
206794
|
+
TEAM_UNAVAILABLE: "#/components/schemas/RaizTeamUnavailableFailure",
|
|
204687
206795
|
CAMPAIGN_HEADER_NOT_STORED: "#/components/schemas/RaizCampaignHeaderNotStoredFailure",
|
|
204688
206796
|
VOICE_UNAVAILABLE: "#/components/schemas/RaizVoiceUnavailableFailure",
|
|
204689
206797
|
FEEDBACK_PROPOSAL_UNAVAILABLE: "#/components/schemas/RaizFeedbackProposalUnavailableFailure",
|
|
@@ -204774,6 +206882,9 @@ var schemaComponents = {
|
|
|
204774
206882
|
},
|
|
204775
206883
|
RaizDeleteChannelUnprocessableContentFailure: {
|
|
204776
206884
|
oneOf: [
|
|
206885
|
+
{
|
|
206886
|
+
$ref: "#/components/schemas/RaizAssigneeUnavailableFailure"
|
|
206887
|
+
},
|
|
204777
206888
|
{
|
|
204778
206889
|
$ref: "#/components/schemas/RaizContactUnreachableFailure"
|
|
204779
206890
|
},
|
|
@@ -204886,6 +206997,7 @@ var schemaComponents = {
|
|
|
204886
206997
|
discriminator: {
|
|
204887
206998
|
propertyName: "code",
|
|
204888
206999
|
mapping: {
|
|
207000
|
+
ASSIGNEE_UNAVAILABLE: "#/components/schemas/RaizAssigneeUnavailableFailure",
|
|
204889
207001
|
CONTACT_UNREACHABLE: "#/components/schemas/RaizContactUnreachableFailure",
|
|
204890
207002
|
DAILY_REPORT_RECIPIENTS_MISSING: "#/components/schemas/RaizDailyReportRecipientsMissingFailure",
|
|
204891
207003
|
DEFINITION_OPTIONS_INVALID: "#/components/schemas/RaizDefinitionOptionsInvalidFailure",
|
|
@@ -208510,6 +210622,51 @@ var schemaComponents = {
|
|
|
208510
210622
|
}
|
|
208511
210623
|
}
|
|
208512
210624
|
},
|
|
210625
|
+
RaizListAssigneesServiceUnavailableError: {
|
|
210626
|
+
type: "object",
|
|
210627
|
+
description: "A failed answer.",
|
|
210628
|
+
additionalProperties: false,
|
|
210629
|
+
required: [
|
|
210630
|
+
"success",
|
|
210631
|
+
"data",
|
|
210632
|
+
"error",
|
|
210633
|
+
"metadata"
|
|
210634
|
+
],
|
|
210635
|
+
properties: {
|
|
210636
|
+
success: {
|
|
210637
|
+
type: "boolean",
|
|
210638
|
+
enum: [
|
|
210639
|
+
false
|
|
210640
|
+
]
|
|
210641
|
+
},
|
|
210642
|
+
data: {
|
|
210643
|
+
const: null
|
|
210644
|
+
},
|
|
210645
|
+
error: {
|
|
210646
|
+
$ref: "#/components/schemas/RaizListAssigneesServiceUnavailableFailure"
|
|
210647
|
+
},
|
|
210648
|
+
metadata: {
|
|
210649
|
+
$ref: "#/components/schemas/ResponseMetadata"
|
|
210650
|
+
}
|
|
210651
|
+
}
|
|
210652
|
+
},
|
|
210653
|
+
RaizListAssigneesServiceUnavailableFailure: {
|
|
210654
|
+
oneOf: [
|
|
210655
|
+
{
|
|
210656
|
+
$ref: "#/components/schemas/UpstreamUnavailableFailure"
|
|
210657
|
+
},
|
|
210658
|
+
{
|
|
210659
|
+
$ref: "#/components/schemas/RaizTeamUnavailableFailure"
|
|
210660
|
+
}
|
|
210661
|
+
],
|
|
210662
|
+
discriminator: {
|
|
210663
|
+
propertyName: "code",
|
|
210664
|
+
mapping: {
|
|
210665
|
+
UPSTREAM_UNAVAILABLE: "#/components/schemas/UpstreamUnavailableFailure",
|
|
210666
|
+
TEAM_UNAVAILABLE: "#/components/schemas/RaizTeamUnavailableFailure"
|
|
210667
|
+
}
|
|
210668
|
+
}
|
|
210669
|
+
},
|
|
208513
210670
|
RaizListBulletinsBadRequestError: {
|
|
208514
210671
|
type: "object",
|
|
208515
210672
|
description: "A failed answer.",
|
|
@@ -211333,6 +213490,7 @@ var schemaComponents = {
|
|
|
211333
213490
|
"escalations",
|
|
211334
213491
|
"failedOutcomes",
|
|
211335
213492
|
"failures",
|
|
213493
|
+
"firstReplyMinutes",
|
|
211336
213494
|
"frequency",
|
|
211337
213495
|
"phones",
|
|
211338
213496
|
"recipients"
|
|
@@ -211350,6 +213508,12 @@ var schemaComponents = {
|
|
|
211350
213508
|
type: "boolean",
|
|
211351
213509
|
description: "Email the recipients when the AI could not answer: a WhatsApp reply that ended with the fallback message, or a call that failed or in which one of the Agent's functions failed (default true)."
|
|
211352
213510
|
},
|
|
213511
|
+
firstReplyMinutes: {
|
|
213512
|
+
type: "integer",
|
|
213513
|
+
description: "Within how many minutes a person of the team should answer a conversation the AI handed over (default 15). Past it, the case's owner (`assigneeId`), or the team's recipients while nobody has it, is reminded once; at four times that, the organization's owners and its `productNotices.administrators` hear that it is overdue. Each wait is announced once: a contact who writes again after the team answered starts another. With a digest `frequency`, the conversation is listed again in the next digest instead. `0`: no reminders.",
|
|
213514
|
+
maximum: 1440,
|
|
213515
|
+
minimum: 0
|
|
213516
|
+
},
|
|
211353
213517
|
frequency: {
|
|
211354
213518
|
anyOf: [
|
|
211355
213519
|
{
|
|
@@ -212557,7 +214721,158 @@ var schemaComponents = {
|
|
|
212557
214721
|
},
|
|
212558
214722
|
name: {
|
|
212559
214723
|
type: "string",
|
|
212560
|
-
const: "conversations_daily"
|
|
214724
|
+
const: "conversations_daily"
|
|
214725
|
+
},
|
|
214726
|
+
rows: {
|
|
214727
|
+
type: "array",
|
|
214728
|
+
items: {
|
|
214729
|
+
type: "object",
|
|
214730
|
+
required: [
|
|
214731
|
+
"agentId",
|
|
214732
|
+
"agentName",
|
|
214733
|
+
"avgDurationSeconds",
|
|
214734
|
+
"channelType",
|
|
214735
|
+
"conversationCount",
|
|
214736
|
+
"day",
|
|
214737
|
+
"direction",
|
|
214738
|
+
"escalatedCount",
|
|
214739
|
+
"failureCount",
|
|
214740
|
+
"negativeCount",
|
|
214741
|
+
"successCount",
|
|
214742
|
+
"toReviewCount"
|
|
214743
|
+
],
|
|
214744
|
+
properties: {
|
|
214745
|
+
agentId: {
|
|
214746
|
+
anyOf: [
|
|
214747
|
+
{
|
|
214748
|
+
type: "string",
|
|
214749
|
+
description: "Agent id.",
|
|
214750
|
+
examples: [
|
|
214751
|
+
"agt_01m45h8q2rf3t9w6y7z0b1c2d3"
|
|
214752
|
+
],
|
|
214753
|
+
pattern: "^agt_(?:[0-7][0-9a-hjkmnp-tv-z]{25}|(?:[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}|[a-f0-9]{32}))$"
|
|
214754
|
+
},
|
|
214755
|
+
{
|
|
214756
|
+
type: "null"
|
|
214757
|
+
}
|
|
214758
|
+
]
|
|
214759
|
+
},
|
|
214760
|
+
agentName: {
|
|
214761
|
+
anyOf: [
|
|
214762
|
+
{
|
|
214763
|
+
type: "string"
|
|
214764
|
+
},
|
|
214765
|
+
{
|
|
214766
|
+
type: "null"
|
|
214767
|
+
}
|
|
214768
|
+
]
|
|
214769
|
+
},
|
|
214770
|
+
avgDurationSeconds: {
|
|
214771
|
+
anyOf: [
|
|
214772
|
+
{
|
|
214773
|
+
type: "number",
|
|
214774
|
+
description: "Average call duration; voice only."
|
|
214775
|
+
},
|
|
214776
|
+
{
|
|
214777
|
+
type: "null"
|
|
214778
|
+
}
|
|
214779
|
+
]
|
|
214780
|
+
},
|
|
214781
|
+
channelType: {
|
|
214782
|
+
anyOf: [
|
|
214783
|
+
{
|
|
214784
|
+
type: "string",
|
|
214785
|
+
const: "voice"
|
|
214786
|
+
},
|
|
214787
|
+
{
|
|
214788
|
+
type: "string",
|
|
214789
|
+
const: "whatsapp"
|
|
214790
|
+
},
|
|
214791
|
+
{
|
|
214792
|
+
type: "string",
|
|
214793
|
+
const: "web"
|
|
214794
|
+
}
|
|
214795
|
+
]
|
|
214796
|
+
},
|
|
214797
|
+
conversationCount: {
|
|
214798
|
+
type: "integer",
|
|
214799
|
+
minimum: 0
|
|
214800
|
+
},
|
|
214801
|
+
day: {
|
|
214802
|
+
type: "string",
|
|
214803
|
+
description: "A calendar day in the organization's time zone.",
|
|
214804
|
+
format: "date"
|
|
214805
|
+
},
|
|
214806
|
+
direction: {
|
|
214807
|
+
anyOf: [
|
|
214808
|
+
{
|
|
214809
|
+
type: "string",
|
|
214810
|
+
const: "inbound"
|
|
214811
|
+
},
|
|
214812
|
+
{
|
|
214813
|
+
type: "string",
|
|
214814
|
+
const: "outbound"
|
|
214815
|
+
}
|
|
214816
|
+
]
|
|
214817
|
+
},
|
|
214818
|
+
escalatedCount: {
|
|
214819
|
+
type: "integer",
|
|
214820
|
+
description: "Conversations the AI handed to the team: a request it could not resolve, a contact who asked for a person, or a spent budget. Still counted after the team gives one back to the AI.",
|
|
214821
|
+
minimum: 0
|
|
214822
|
+
},
|
|
214823
|
+
failureCount: {
|
|
214824
|
+
type: "integer",
|
|
214825
|
+
minimum: 0
|
|
214826
|
+
},
|
|
214827
|
+
negativeCount: {
|
|
214828
|
+
type: "integer",
|
|
214829
|
+
description: "Conversations whose sentiment was negative.",
|
|
214830
|
+
minimum: 0
|
|
214831
|
+
},
|
|
214832
|
+
successCount: {
|
|
214833
|
+
type: "integer",
|
|
214834
|
+
minimum: 0
|
|
214835
|
+
},
|
|
214836
|
+
toReviewCount: {
|
|
214837
|
+
type: "integer",
|
|
214838
|
+
description: "Conversations to review: unresolved escalations or evaluated failures, each counted once. A successful conversation explicitly resolved by the team leaves this queue; its historical escalation remains counted.",
|
|
214839
|
+
minimum: 0
|
|
214840
|
+
}
|
|
214841
|
+
},
|
|
214842
|
+
additionalProperties: false
|
|
214843
|
+
},
|
|
214844
|
+
maxItems: 1000
|
|
214845
|
+
}
|
|
214846
|
+
},
|
|
214847
|
+
additionalProperties: false
|
|
214848
|
+
},
|
|
214849
|
+
{
|
|
214850
|
+
type: "object",
|
|
214851
|
+
required: [
|
|
214852
|
+
"from",
|
|
214853
|
+
"hasMore",
|
|
214854
|
+
"to",
|
|
214855
|
+
"name",
|
|
214856
|
+
"rows"
|
|
214857
|
+
],
|
|
214858
|
+
properties: {
|
|
214859
|
+
from: {
|
|
214860
|
+
type: "string",
|
|
214861
|
+
description: "A calendar day in the organization's time zone.",
|
|
214862
|
+
format: "date"
|
|
214863
|
+
},
|
|
214864
|
+
hasMore: {
|
|
214865
|
+
type: "boolean",
|
|
214866
|
+
description: "More than 1000 rows matched: narrow the range or the filters."
|
|
214867
|
+
},
|
|
214868
|
+
to: {
|
|
214869
|
+
type: "string",
|
|
214870
|
+
description: "A calendar day in the organization's time zone.",
|
|
214871
|
+
format: "date"
|
|
214872
|
+
},
|
|
214873
|
+
name: {
|
|
214874
|
+
type: "string",
|
|
214875
|
+
const: "handoffs_daily"
|
|
212561
214876
|
},
|
|
212562
214877
|
rows: {
|
|
212563
214878
|
type: "array",
|
|
@@ -212566,16 +214881,15 @@ var schemaComponents = {
|
|
|
212566
214881
|
required: [
|
|
212567
214882
|
"agentId",
|
|
212568
214883
|
"agentName",
|
|
212569
|
-
"
|
|
212570
|
-
"
|
|
212571
|
-
"
|
|
214884
|
+
"answeredCount",
|
|
214885
|
+
"answeredInTimeCount",
|
|
214886
|
+
"avgFirstReplySeconds",
|
|
212572
214887
|
"day",
|
|
212573
|
-
"
|
|
212574
|
-
"
|
|
212575
|
-
"
|
|
212576
|
-
"
|
|
212577
|
-
"
|
|
212578
|
-
"toReviewCount"
|
|
214888
|
+
"handoffCount",
|
|
214889
|
+
"memberId",
|
|
214890
|
+
"returnedCount",
|
|
214891
|
+
"unattendedCount",
|
|
214892
|
+
"waitingCount"
|
|
212579
214893
|
],
|
|
212580
214894
|
properties: {
|
|
212581
214895
|
agentId: {
|
|
@@ -212603,75 +214917,61 @@ var schemaComponents = {
|
|
|
212603
214917
|
}
|
|
212604
214918
|
]
|
|
212605
214919
|
},
|
|
212606
|
-
|
|
214920
|
+
answeredCount: {
|
|
214921
|
+
type: "integer",
|
|
214922
|
+
description: "Handoffs a person of the team answered.",
|
|
214923
|
+
minimum: 0
|
|
214924
|
+
},
|
|
214925
|
+
answeredInTimeCount: {
|
|
214926
|
+
type: "integer",
|
|
214927
|
+
description: "Of those, the ones answered within the organization's first-reply time (`settings.notifications.firstReplyMinutes`, as it is set now).",
|
|
214928
|
+
minimum: 0
|
|
214929
|
+
},
|
|
214930
|
+
avgFirstReplySeconds: {
|
|
212607
214931
|
anyOf: [
|
|
212608
214932
|
{
|
|
212609
214933
|
type: "number",
|
|
212610
|
-
description: "Average
|
|
214934
|
+
description: "Average seconds from the handoff to the first message of a person of the team; null when none was answered."
|
|
212611
214935
|
},
|
|
212612
214936
|
{
|
|
212613
214937
|
type: "null"
|
|
212614
214938
|
}
|
|
212615
214939
|
]
|
|
212616
214940
|
},
|
|
212617
|
-
channelType: {
|
|
212618
|
-
anyOf: [
|
|
212619
|
-
{
|
|
212620
|
-
type: "string",
|
|
212621
|
-
const: "voice"
|
|
212622
|
-
},
|
|
212623
|
-
{
|
|
212624
|
-
type: "string",
|
|
212625
|
-
const: "whatsapp"
|
|
212626
|
-
},
|
|
212627
|
-
{
|
|
212628
|
-
type: "string",
|
|
212629
|
-
const: "web"
|
|
212630
|
-
}
|
|
212631
|
-
]
|
|
212632
|
-
},
|
|
212633
|
-
conversationCount: {
|
|
212634
|
-
type: "integer",
|
|
212635
|
-
minimum: 0
|
|
212636
|
-
},
|
|
212637
214941
|
day: {
|
|
212638
214942
|
type: "string",
|
|
212639
214943
|
description: "A calendar day in the organization's time zone.",
|
|
212640
214944
|
format: "date"
|
|
212641
214945
|
},
|
|
212642
|
-
|
|
214946
|
+
handoffCount: {
|
|
214947
|
+
type: "integer",
|
|
214948
|
+
description: "Conversations the AI handed to the team that day, each once, by the handoff it keeps (its last).",
|
|
214949
|
+
minimum: 0
|
|
214950
|
+
},
|
|
214951
|
+
memberId: {
|
|
212643
214952
|
anyOf: [
|
|
212644
214953
|
{
|
|
212645
214954
|
type: "string",
|
|
212646
|
-
|
|
214955
|
+
description: "Who answered first, else the case's owner: a member id, as Arbol Account lists it. Null when nobody is named: nobody answered an unassigned case, or the answer came from the WhatsApp Business app."
|
|
212647
214956
|
},
|
|
212648
214957
|
{
|
|
212649
|
-
type: "
|
|
212650
|
-
const: "outbound"
|
|
214958
|
+
type: "null"
|
|
212651
214959
|
}
|
|
212652
214960
|
]
|
|
212653
214961
|
},
|
|
212654
|
-
|
|
212655
|
-
type: "integer",
|
|
212656
|
-
description: "Conversations the AI handed to the team: a request it could not resolve, a contact who asked for a person, or a spent budget. Still counted after the team gives one back to the AI.",
|
|
212657
|
-
minimum: 0
|
|
212658
|
-
},
|
|
212659
|
-
failureCount: {
|
|
212660
|
-
type: "integer",
|
|
212661
|
-
minimum: 0
|
|
212662
|
-
},
|
|
212663
|
-
negativeCount: {
|
|
214962
|
+
returnedCount: {
|
|
212664
214963
|
type: "integer",
|
|
212665
|
-
description: "
|
|
214964
|
+
description: "Handoffs the team gave back to the AI.",
|
|
212666
214965
|
minimum: 0
|
|
212667
214966
|
},
|
|
212668
|
-
|
|
214967
|
+
unattendedCount: {
|
|
212669
214968
|
type: "integer",
|
|
214969
|
+
description: "Handoffs that closed with nobody of the team answering and without going back to the AI.",
|
|
212670
214970
|
minimum: 0
|
|
212671
214971
|
},
|
|
212672
|
-
|
|
214972
|
+
waitingCount: {
|
|
212673
214973
|
type: "integer",
|
|
212674
|
-
description: "
|
|
214974
|
+
description: "Handoffs still open that nobody of the team answered.",
|
|
212675
214975
|
minimum: 0
|
|
212676
214976
|
}
|
|
212677
214977
|
},
|
|
@@ -215405,6 +217705,40 @@ var schemaComponents = {
|
|
|
215405
217705
|
}
|
|
215406
217706
|
}
|
|
215407
217707
|
},
|
|
217708
|
+
RaizTeamUnavailableFailure: {
|
|
217709
|
+
type: "object",
|
|
217710
|
+
description: "The organization's team cannot be read right now. Try again shortly.",
|
|
217711
|
+
additionalProperties: false,
|
|
217712
|
+
required: [
|
|
217713
|
+
"code",
|
|
217714
|
+
"message",
|
|
217715
|
+
"retryable",
|
|
217716
|
+
"data"
|
|
217717
|
+
],
|
|
217718
|
+
properties: {
|
|
217719
|
+
code: {
|
|
217720
|
+
type: "string",
|
|
217721
|
+
enum: [
|
|
217722
|
+
"TEAM_UNAVAILABLE"
|
|
217723
|
+
],
|
|
217724
|
+
description: "The failure code, stable across releases."
|
|
217725
|
+
},
|
|
217726
|
+
message: {
|
|
217727
|
+
type: "string",
|
|
217728
|
+
description: "What went wrong, for people; it never contains input values."
|
|
217729
|
+
},
|
|
217730
|
+
retryable: {
|
|
217731
|
+
type: "boolean",
|
|
217732
|
+
enum: [
|
|
217733
|
+
true
|
|
217734
|
+
],
|
|
217735
|
+
description: "Whether repeating the same request may succeed."
|
|
217736
|
+
},
|
|
217737
|
+
data: {
|
|
217738
|
+
$ref: "#/components/schemas/Empty"
|
|
217739
|
+
}
|
|
217740
|
+
}
|
|
217741
|
+
},
|
|
215408
217742
|
RaizTemplate: {
|
|
215409
217743
|
type: "object",
|
|
215410
217744
|
required: [
|
|
@@ -217552,6 +219886,9 @@ var schemaComponents = {
|
|
|
217552
219886
|
{
|
|
217553
219887
|
$ref: "#/components/schemas/UpstreamUnavailableFailure"
|
|
217554
219888
|
},
|
|
219889
|
+
{
|
|
219890
|
+
$ref: "#/components/schemas/RaizTeamUnavailableFailure"
|
|
219891
|
+
},
|
|
217555
219892
|
{
|
|
217556
219893
|
$ref: "#/components/schemas/RaizCampaignHeaderNotStoredFailure"
|
|
217557
219894
|
},
|
|
@@ -217569,6 +219906,7 @@ var schemaComponents = {
|
|
|
217569
219906
|
propertyName: "code",
|
|
217570
219907
|
mapping: {
|
|
217571
219908
|
UPSTREAM_UNAVAILABLE: "#/components/schemas/UpstreamUnavailableFailure",
|
|
219909
|
+
TEAM_UNAVAILABLE: "#/components/schemas/RaizTeamUnavailableFailure",
|
|
217572
219910
|
CAMPAIGN_HEADER_NOT_STORED: "#/components/schemas/RaizCampaignHeaderNotStoredFailure",
|
|
217573
219911
|
VOICE_UNAVAILABLE: "#/components/schemas/RaizVoiceUnavailableFailure",
|
|
217574
219912
|
FEEDBACK_PROPOSAL_UNAVAILABLE: "#/components/schemas/RaizFeedbackProposalUnavailableFailure",
|
|
@@ -217659,6 +219997,9 @@ var schemaComponents = {
|
|
|
217659
219997
|
},
|
|
217660
219998
|
RaizUpdateChannelUnprocessableContentFailure: {
|
|
217661
219999
|
oneOf: [
|
|
220000
|
+
{
|
|
220001
|
+
$ref: "#/components/schemas/RaizAssigneeUnavailableFailure"
|
|
220002
|
+
},
|
|
217662
220003
|
{
|
|
217663
220004
|
$ref: "#/components/schemas/RaizContactUnreachableFailure"
|
|
217664
220005
|
},
|
|
@@ -217771,6 +220112,7 @@ var schemaComponents = {
|
|
|
217771
220112
|
discriminator: {
|
|
217772
220113
|
propertyName: "code",
|
|
217773
220114
|
mapping: {
|
|
220115
|
+
ASSIGNEE_UNAVAILABLE: "#/components/schemas/RaizAssigneeUnavailableFailure",
|
|
217774
220116
|
CONTACT_UNREACHABLE: "#/components/schemas/RaizContactUnreachableFailure",
|
|
217775
220117
|
DAILY_REPORT_RECIPIENTS_MISSING: "#/components/schemas/RaizDailyReportRecipientsMissingFailure",
|
|
217776
220118
|
DEFINITION_OPTIONS_INVALID: "#/components/schemas/RaizDefinitionOptionsInvalidFailure",
|
|
@@ -218088,6 +220430,19 @@ var schemaComponents = {
|
|
|
218088
220430
|
type: "boolean",
|
|
218089
220431
|
description: "WhatsApp only: pause or resume automatic replies for this recipient until their open conversation closes. Resuming answers what the contact wrote in this conversation after the last real answer."
|
|
218090
220432
|
},
|
|
220433
|
+
assigneeId: {
|
|
220434
|
+
anyOf: [
|
|
220435
|
+
{
|
|
220436
|
+
type: "string",
|
|
220437
|
+
description: "Give the case to a person of the organization, by their member id as Arbol Account lists it (`listAssignees` names the people who can take one); `me` takes it for the person calling; `null` leaves it with nobody. Its new owner is told by email. History keeps who had it and who passed it on.",
|
|
220438
|
+
maxLength: 255,
|
|
220439
|
+
minLength: 1
|
|
220440
|
+
},
|
|
220441
|
+
{
|
|
220442
|
+
type: "null"
|
|
220443
|
+
}
|
|
220444
|
+
]
|
|
220445
|
+
},
|
|
218091
220446
|
contactId: {
|
|
218092
220447
|
anyOf: [
|
|
218093
220448
|
{
|
|
@@ -218261,6 +220616,9 @@ var schemaComponents = {
|
|
|
218261
220616
|
{
|
|
218262
220617
|
$ref: "#/components/schemas/UpstreamUnavailableFailure"
|
|
218263
220618
|
},
|
|
220619
|
+
{
|
|
220620
|
+
$ref: "#/components/schemas/RaizTeamUnavailableFailure"
|
|
220621
|
+
},
|
|
218264
220622
|
{
|
|
218265
220623
|
$ref: "#/components/schemas/RaizIntegrationsUnavailableFailure"
|
|
218266
220624
|
}
|
|
@@ -218269,6 +220627,7 @@ var schemaComponents = {
|
|
|
218269
220627
|
propertyName: "code",
|
|
218270
220628
|
mapping: {
|
|
218271
220629
|
UPSTREAM_UNAVAILABLE: "#/components/schemas/UpstreamUnavailableFailure",
|
|
220630
|
+
TEAM_UNAVAILABLE: "#/components/schemas/RaizTeamUnavailableFailure",
|
|
218272
220631
|
INTEGRATIONS_UNAVAILABLE: "#/components/schemas/RaizIntegrationsUnavailableFailure"
|
|
218273
220632
|
}
|
|
218274
220633
|
}
|
|
@@ -219249,6 +221608,19 @@ var schemaComponents = {
|
|
|
219249
221608
|
}
|
|
219250
221609
|
]
|
|
219251
221610
|
},
|
|
221611
|
+
firstReplyMinutes: {
|
|
221612
|
+
anyOf: [
|
|
221613
|
+
{
|
|
221614
|
+
type: "integer",
|
|
221615
|
+
description: "Within how many minutes a person of the team should answer a conversation the AI handed over (default 15). Past it, the case's owner (`assigneeId`), or the team's recipients while nobody has it, is reminded once; at four times that, the organization's owners and its `productNotices.administrators` hear that it is overdue. Each wait is announced once: a contact who writes again after the team answered starts another. With a digest `frequency`, the conversation is listed again in the next digest instead. `0`: no reminders.",
|
|
221616
|
+
maximum: 1440,
|
|
221617
|
+
minimum: 0
|
|
221618
|
+
},
|
|
221619
|
+
{
|
|
221620
|
+
type: "null"
|
|
221621
|
+
}
|
|
221622
|
+
]
|
|
221623
|
+
},
|
|
219252
221624
|
frequency: {
|
|
219253
221625
|
anyOf: [
|
|
219254
221626
|
{
|
|
@@ -239331,6 +241703,16 @@ var schemaComponents = {
|
|
|
239331
241703
|
},
|
|
239332
241704
|
additionalProperties: false
|
|
239333
241705
|
},
|
|
241706
|
+
AccountBillingGetInput: {
|
|
241707
|
+
type: "object",
|
|
241708
|
+
properties: {},
|
|
241709
|
+
additionalProperties: false
|
|
241710
|
+
},
|
|
241711
|
+
AccountBillingPortalSessionsCreateInput: {
|
|
241712
|
+
type: "object",
|
|
241713
|
+
properties: {},
|
|
241714
|
+
additionalProperties: false
|
|
241715
|
+
},
|
|
239334
241716
|
AccountColombianRecordsLookupInput: {
|
|
239335
241717
|
type: "object",
|
|
239336
241718
|
required: [
|
|
@@ -239832,6 +242214,82 @@ var schemaComponents = {
|
|
|
239832
242214
|
},
|
|
239833
242215
|
additionalProperties: false
|
|
239834
242216
|
},
|
|
242217
|
+
AccountUsageSummaryGetInput: {
|
|
242218
|
+
type: "object",
|
|
242219
|
+
properties: {
|
|
242220
|
+
from: {
|
|
242221
|
+
type: "string",
|
|
242222
|
+
format: "date-time",
|
|
242223
|
+
description: "Start of the range; the current month by default."
|
|
242224
|
+
},
|
|
242225
|
+
to: {
|
|
242226
|
+
type: "string",
|
|
242227
|
+
format: "date-time",
|
|
242228
|
+
description: "End of the range; now by default."
|
|
242229
|
+
},
|
|
242230
|
+
groupBy: {
|
|
242231
|
+
anyOf: [
|
|
242232
|
+
{
|
|
242233
|
+
type: "string",
|
|
242234
|
+
const: "product"
|
|
242235
|
+
},
|
|
242236
|
+
{
|
|
242237
|
+
type: "string",
|
|
242238
|
+
const: "channel"
|
|
242239
|
+
}
|
|
242240
|
+
],
|
|
242241
|
+
description: "Breaks each feature down; by product by default."
|
|
242242
|
+
}
|
|
242243
|
+
},
|
|
242244
|
+
additionalProperties: false
|
|
242245
|
+
},
|
|
242246
|
+
AccountWalletTopUpsCreateInput: {
|
|
242247
|
+
type: "object",
|
|
242248
|
+
required: [
|
|
242249
|
+
"credits"
|
|
242250
|
+
],
|
|
242251
|
+
properties: {
|
|
242252
|
+
credits: {
|
|
242253
|
+
type: "integer",
|
|
242254
|
+
minimum: 10,
|
|
242255
|
+
maximum: 1e4,
|
|
242256
|
+
description: "Credits to buy, at one US dollar each."
|
|
242257
|
+
}
|
|
242258
|
+
},
|
|
242259
|
+
additionalProperties: false
|
|
242260
|
+
},
|
|
242261
|
+
AccountWalletTransactionsListInput: {
|
|
242262
|
+
type: "object",
|
|
242263
|
+
required: [],
|
|
242264
|
+
properties: {
|
|
242265
|
+
cursor: {
|
|
242266
|
+
type: "string",
|
|
242267
|
+
description: "Opaque cursor returned by pageInfo; omit it to request the first page."
|
|
242268
|
+
},
|
|
242269
|
+
direction: {
|
|
242270
|
+
anyOf: [
|
|
242271
|
+
{
|
|
242272
|
+
type: "string",
|
|
242273
|
+
const: "forward"
|
|
242274
|
+
},
|
|
242275
|
+
{
|
|
242276
|
+
type: "string",
|
|
242277
|
+
const: "backward"
|
|
242278
|
+
}
|
|
242279
|
+
],
|
|
242280
|
+
description: "Direction to traverse the stable keyset ordering from the supplied cursor.",
|
|
242281
|
+
default: "forward"
|
|
242282
|
+
},
|
|
242283
|
+
limit: {
|
|
242284
|
+
type: "integer",
|
|
242285
|
+
minimum: 1,
|
|
242286
|
+
maximum: 100,
|
|
242287
|
+
description: "Maximum items returned in one page. Defaults to 25; larger reads require another cursor.",
|
|
242288
|
+
default: 25
|
|
242289
|
+
}
|
|
242290
|
+
},
|
|
242291
|
+
additionalProperties: false
|
|
242292
|
+
},
|
|
239835
242293
|
AdresAffiliationsLookupInput: {
|
|
239836
242294
|
type: "object",
|
|
239837
242295
|
required: [
|
|
@@ -251163,6 +253621,33 @@ var schemaComponents = {
|
|
|
251163
253621
|
],
|
|
251164
253622
|
description: "Who works the conversation now. `ai`: calls and web chats, open WhatsApp conversations the AI answers (assigned to it and not paused), and closed ones the AI answered. `team`: open WhatsApp conversations the organization's people answer (not assigned to the AI, or paused) and closed ones they answered. Unlike `handling`, a conversation the AI answered and then handed to people is `team` while open."
|
|
251165
253623
|
},
|
|
253624
|
+
waitingOn: {
|
|
253625
|
+
anyOf: [
|
|
253626
|
+
{
|
|
253627
|
+
type: "string",
|
|
253628
|
+
const: "ai"
|
|
253629
|
+
},
|
|
253630
|
+
{
|
|
253631
|
+
type: "string",
|
|
253632
|
+
const: "team"
|
|
253633
|
+
},
|
|
253634
|
+
{
|
|
253635
|
+
type: "string",
|
|
253636
|
+
const: "contact"
|
|
253637
|
+
}
|
|
253638
|
+
],
|
|
253639
|
+
description: "Open conversations by who they wait for, as each conversation's `waitingOn` says: `ai`, `team` (the team's cases to answer) or `contact`. Closed conversations never match."
|
|
253640
|
+
},
|
|
253641
|
+
assignee: {
|
|
253642
|
+
type: "string",
|
|
253643
|
+
description: "Conversations by the case's owner: a member id, `me` (the person calling) or `none` (nobody has it). With `waitingOn=team`: one person's cases to answer, or the ones nobody took.",
|
|
253644
|
+
maxLength: 255,
|
|
253645
|
+
minLength: 1
|
|
253646
|
+
},
|
|
253647
|
+
unattended: {
|
|
253648
|
+
type: "boolean",
|
|
253649
|
+
description: "`true`: conversations that closed for inactivity with a handoff nobody of the team answered."
|
|
253650
|
+
},
|
|
251166
253651
|
origin: {
|
|
251167
253652
|
type: "string",
|
|
251168
253653
|
description: "Comma-separated origins.",
|
|
@@ -251357,11 +253842,11 @@ var schemaComponents = {
|
|
|
251357
253842
|
},
|
|
251358
253843
|
expand: {
|
|
251359
253844
|
type: "string",
|
|
251360
|
-
description: "Related data to include, comma-separated: `messages`, `recording`, `diagnostics`.",
|
|
253845
|
+
description: "Related data to include, comma-separated: `messages`, `recording`, `diagnostics`, `history`.",
|
|
251361
253846
|
examples: [
|
|
251362
|
-
"messages,recording,diagnostics"
|
|
253847
|
+
"messages,recording,diagnostics,history"
|
|
251363
253848
|
],
|
|
251364
|
-
pattern: "^(messages|recording|diagnostics)(,(messages|recording|diagnostics))*$"
|
|
253849
|
+
pattern: "^(messages|recording|diagnostics|history)(,(messages|recording|diagnostics|history))*$"
|
|
251365
253850
|
},
|
|
251366
253851
|
messagesCursor: {
|
|
251367
253852
|
type: "string",
|
|
@@ -251409,6 +253894,19 @@ var schemaComponents = {
|
|
|
251409
253894
|
type: "boolean",
|
|
251410
253895
|
description: "WhatsApp only: pause or resume automatic replies for this recipient until their open conversation closes. Resuming answers what the contact wrote in this conversation after the last real answer."
|
|
251411
253896
|
},
|
|
253897
|
+
assigneeId: {
|
|
253898
|
+
anyOf: [
|
|
253899
|
+
{
|
|
253900
|
+
type: "string",
|
|
253901
|
+
description: "Give the case to a person of the organization, by their member id as Arbol Account lists it (`listAssignees` names the people who can take one); `me` takes it for the person calling; `null` leaves it with nobody. Its new owner is told by email. History keeps who had it and who passed it on.",
|
|
253902
|
+
maxLength: 255,
|
|
253903
|
+
minLength: 1
|
|
253904
|
+
},
|
|
253905
|
+
{
|
|
253906
|
+
type: "null"
|
|
253907
|
+
}
|
|
253908
|
+
]
|
|
253909
|
+
},
|
|
251412
253910
|
contactId: {
|
|
251413
253911
|
anyOf: [
|
|
251414
253912
|
{
|
|
@@ -251841,6 +254339,33 @@ var schemaComponents = {
|
|
|
251841
254339
|
],
|
|
251842
254340
|
description: "Who works the conversation now. `ai`: calls and web chats, open WhatsApp conversations the AI answers (assigned to it and not paused), and closed ones the AI answered. `team`: open WhatsApp conversations the organization's people answer (not assigned to the AI, or paused) and closed ones they answered. Unlike `handling`, a conversation the AI answered and then handed to people is `team` while open."
|
|
251843
254341
|
},
|
|
254342
|
+
waitingOn: {
|
|
254343
|
+
anyOf: [
|
|
254344
|
+
{
|
|
254345
|
+
type: "string",
|
|
254346
|
+
const: "ai"
|
|
254347
|
+
},
|
|
254348
|
+
{
|
|
254349
|
+
type: "string",
|
|
254350
|
+
const: "team"
|
|
254351
|
+
},
|
|
254352
|
+
{
|
|
254353
|
+
type: "string",
|
|
254354
|
+
const: "contact"
|
|
254355
|
+
}
|
|
254356
|
+
],
|
|
254357
|
+
description: "Open conversations by who they wait for, as each conversation's `waitingOn` says: `ai`, `team` (the team's cases to answer) or `contact`. Closed conversations never match."
|
|
254358
|
+
},
|
|
254359
|
+
assignee: {
|
|
254360
|
+
type: "string",
|
|
254361
|
+
description: "Conversations by the case's owner: a member id, `me` (the person calling) or `none` (nobody has it). With `waitingOn=team`: one person's cases to answer, or the ones nobody took.",
|
|
254362
|
+
maxLength: 255,
|
|
254363
|
+
minLength: 1
|
|
254364
|
+
},
|
|
254365
|
+
unattended: {
|
|
254366
|
+
type: "boolean",
|
|
254367
|
+
description: "`true`: conversations that closed for inactivity with a handoff nobody of the team answered."
|
|
254368
|
+
},
|
|
251844
254369
|
origin: {
|
|
251845
254370
|
type: "string",
|
|
251846
254371
|
description: "Comma-separated origins.",
|
|
@@ -252003,8 +254528,8 @@ var schemaComponents = {
|
|
|
252003
254528
|
},
|
|
252004
254529
|
groupBy: {
|
|
252005
254530
|
type: "string",
|
|
252006
|
-
description: "`outcome`, `status`, `channel` (type), `agent`, `sentiment`, `tool` (each Agent tool and the conversations that used it; null for those that used none), `toolError` (failed calls, of `toolName` when given, by error) or `fact:<definition key>` (the current value of that definition, such as the reason for contact).",
|
|
252007
|
-
pattern: "^(outcome|status|channel|agent|sentiment|tool|toolError|fact:[a-z][a-z0-9_]{0,63})$"
|
|
254531
|
+
description: "`outcome`, `status`, `channel` (type), `agent`, `sentiment`, `waitingOn` (who each open conversation waits for: `ai`, `team` or `contact`; null for the closed ones), `tool` (each Agent tool and the conversations that used it; null for those that used none), `toolError` (failed calls, of `toolName` when given, by error) or `fact:<definition key>` (the current value of that definition, such as the reason for contact).",
|
|
254532
|
+
pattern: "^(outcome|status|channel|agent|sentiment|waitingOn|tool|toolError|fact:[a-z][a-z0-9_]{0,63})$"
|
|
252008
254533
|
}
|
|
252009
254534
|
},
|
|
252010
254535
|
additionalProperties: false
|
|
@@ -253509,6 +256034,19 @@ var schemaComponents = {
|
|
|
253509
256034
|
}
|
|
253510
256035
|
]
|
|
253511
256036
|
},
|
|
256037
|
+
firstReplyMinutes: {
|
|
256038
|
+
anyOf: [
|
|
256039
|
+
{
|
|
256040
|
+
type: "integer",
|
|
256041
|
+
description: "Within how many minutes a person of the team should answer a conversation the AI handed over (default 15). Past it, the case's owner (`assigneeId`), or the team's recipients while nobody has it, is reminded once; at four times that, the organization's owners and its `productNotices.administrators` hear that it is overdue. Each wait is announced once: a contact who writes again after the team answered starts another. With a digest `frequency`, the conversation is listed again in the next digest instead. `0`: no reminders.",
|
|
256042
|
+
maximum: 1440,
|
|
256043
|
+
minimum: 0
|
|
256044
|
+
},
|
|
256045
|
+
{
|
|
256046
|
+
type: "null"
|
|
256047
|
+
}
|
|
256048
|
+
]
|
|
256049
|
+
},
|
|
253512
256050
|
frequency: {
|
|
253513
256051
|
anyOf: [
|
|
253514
256052
|
{
|
|
@@ -254066,6 +256604,10 @@ var schemaComponents = {
|
|
|
254066
256604
|
type: "string",
|
|
254067
256605
|
const: "conversations_daily"
|
|
254068
256606
|
},
|
|
256607
|
+
{
|
|
256608
|
+
type: "string",
|
|
256609
|
+
const: "handoffs_daily"
|
|
256610
|
+
},
|
|
254069
256611
|
{
|
|
254070
256612
|
type: "string",
|
|
254071
256613
|
const: "pqrsf_daily"
|
|
@@ -254095,7 +256637,7 @@ var schemaComponents = {
|
|
|
254095
256637
|
const: "campaign_progress"
|
|
254096
256638
|
}
|
|
254097
256639
|
],
|
|
254098
|
-
description: "`conversations_daily`: conversations the AI took part in per day, Agent, channel type and direction, with outcomes and escalations (filters `agentId`, `channelType`). `booking_details`: individual patients and appointments from explicit successful creation receipts, including specialty, paired exams, deduplication, matched patient names and later recorded cancellations; filters agentId and specialty; requires conversation read/write permission too. Historical receipts with created=true, not current provider status or all provider protocols. unverifiedCount covers explicit creations missing a stable patient/slot. `booking_outcomes`: verified saved booking receipts per completion day, Agent and integration, excluding test/import/deleted conversations; confirmed new bookings, reschedules, cancellations, failed, pending, unverified and duplicate receipts separately (filter `agentId`). Historical evidence, not current appointment status; hasMore requires splitting the range and returns no partial totals. `tool_calls_daily`: tool calls per day, Agent and tool with failures/durations (filter `agentId`). `tool_calls`: individual calls, never inputs/outputs (filter `agentId`). `assessment_results_daily`: assessments per day/definition (filter `definitionId`). `pqrsf_daily`: classification, confirmed resolution and referral-link counts from the pqrsf_* definitions, including pending/unclassified conversations, excluding tests/imports/deleted records (filters `agentId`, `channelType`); no measured filing reduction is inferred. `campaign_progress`: recipients by status (filter `campaignId`; no dates)."
|
|
256640
|
+
description: "`conversations_daily`: conversations the AI took part in per day, Agent, channel type and direction, with outcomes and escalations (filters `agentId`, `channelType`). `handoffs_daily`: the conversations the AI handed to the team, per day of the handoff, Agent and person (who answered first, else the case's owner), with how many were answered, answered in time, still waiting, closed unattended or returned to the AI, and the average seconds to the first answer (filter `agentId`). `booking_details`: individual patients and appointments from explicit successful creation receipts, including specialty, paired exams, deduplication, matched patient names and later recorded cancellations; filters agentId and specialty; requires conversation read/write permission too. Historical receipts with created=true, not current provider status or all provider protocols. unverifiedCount covers explicit creations missing a stable patient/slot. `booking_outcomes`: verified saved booking receipts per completion day, Agent and integration, excluding test/import/deleted conversations; confirmed new bookings, reschedules, cancellations, failed, pending, unverified and duplicate receipts separately (filter `agentId`). Historical evidence, not current appointment status; hasMore requires splitting the range and returns no partial totals. `tool_calls_daily`: tool calls per day, Agent and tool with failures/durations (filter `agentId`). `tool_calls`: individual calls, never inputs/outputs (filter `agentId`). `assessment_results_daily`: assessments per day/definition (filter `definitionId`). `pqrsf_daily`: classification, confirmed resolution and referral-link counts from the pqrsf_* definitions, including pending/unclassified conversations, excluding tests/imports/deleted records (filters `agentId`, `channelType`); no measured filing reduction is inferred. `campaign_progress`: recipients by status (filter `campaignId`; no dates)."
|
|
254099
256641
|
},
|
|
254100
256642
|
to: {
|
|
254101
256643
|
type: "string",
|
|
@@ -258165,9 +260707,9 @@ var schemaComponents = {
|
|
|
258165
260707
|
// src/generated/generation.json
|
|
258166
260708
|
var generation_default = {
|
|
258167
260709
|
formatVersion: 6,
|
|
258168
|
-
release: "1.
|
|
258169
|
-
openapiSha256: "
|
|
258170
|
-
openapiContentSha256: "
|
|
260710
|
+
release: "1.20261114.221927",
|
|
260711
|
+
openapiSha256: "f0f9f46d65fad73e9073573db337b34fa192192a4bf221927b8618a68e0c309d",
|
|
260712
|
+
openapiContentSha256: "aed83503451737d4e09f8f24d1bfeb840077d6a93bc3e0496595b4229fe7b2cc",
|
|
258171
260713
|
forge: {
|
|
258172
260714
|
repository: "https://github.com/cloudflare/forge",
|
|
258173
260715
|
commit: "7f86447210b7bea3779bfdab3cd5655eade0eadb",
|
|
@@ -258180,7 +260722,7 @@ var generation_default = {
|
|
|
258180
260722
|
outputs: [
|
|
258181
260723
|
{
|
|
258182
260724
|
path: "src/generated/commands.ts",
|
|
258183
|
-
sha256: "
|
|
260725
|
+
sha256: "bbf375be702e9b981241a82d7be7627be400938bce2f7b78e2401b88e75a4b52"
|
|
258184
260726
|
}
|
|
258185
260727
|
]
|
|
258186
260728
|
};
|
|
@@ -259780,7 +262322,7 @@ ${name}`);
|
|
|
259780
262322
|
}
|
|
259781
262323
|
|
|
259782
262324
|
// src/index.ts
|
|
259783
|
-
var VERSION = "3.
|
|
262325
|
+
var VERSION = "3.60.0";
|
|
259784
262326
|
var RELEASE = generation_default.release;
|
|
259785
262327
|
var commands2 = { ...commands, ...accountOperatorCommands };
|
|
259786
262328
|
var SDK_PATHS = new Map(Object.values(commands2).map((command) => [command.operation, command.sdkPath]));
|