syllable-sdk 0.1.0-alpha.47 → 0.1.0-alpha.49
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/README.md +18 -4
- package/docs/sdks/fullsummary/README.md +85 -0
- package/docs/sdks/languagegroups/README.md +465 -0
- package/docs/sdks/v1/README.md +0 -158
- package/funcs/languageGroupsCreate.d.ts +16 -0
- package/funcs/languageGroupsCreate.d.ts.map +1 -0
- package/funcs/languageGroupsCreate.js +102 -0
- package/funcs/languageGroupsCreate.js.map +1 -0
- package/funcs/{v1Delete.d.ts → languageGroupsDelete.d.ts} +4 -4
- package/funcs/languageGroupsDelete.d.ts.map +1 -0
- package/funcs/{v1Delete.js → languageGroupsDelete.js} +9 -12
- package/funcs/languageGroupsDelete.js.map +1 -0
- package/funcs/languageGroupsGetById.d.ts +17 -0
- package/funcs/languageGroupsGetById.d.ts.map +1 -0
- package/funcs/languageGroupsGetById.js +105 -0
- package/funcs/languageGroupsGetById.js.map +1 -0
- package/funcs/{v1GetById.d.ts → languageGroupsList.d.ts} +4 -4
- package/funcs/languageGroupsList.d.ts.map +1 -0
- package/funcs/languageGroupsList.js +114 -0
- package/funcs/languageGroupsList.js.map +1 -0
- package/funcs/languageGroupsUpdate.d.ts +16 -0
- package/funcs/languageGroupsUpdate.d.ts.map +1 -0
- package/funcs/languageGroupsUpdate.js +102 -0
- package/funcs/languageGroupsUpdate.js.map +1 -0
- package/funcs/sessionsFullSummaryGetById.d.ts +14 -0
- package/funcs/sessionsFullSummaryGetById.d.ts.map +1 -0
- package/funcs/{v1GetById.js → sessionsFullSummaryGetById.js} +9 -12
- package/funcs/sessionsFullSummaryGetById.js.map +1 -0
- package/jsr.json +1 -1
- package/lib/config.d.ts +2 -2
- package/lib/config.js +2 -2
- package/models/components/agentcreate.d.ts +7 -0
- package/models/components/agentcreate.d.ts.map +1 -1
- package/models/components/agentcreate.js +4 -0
- package/models/components/agentcreate.js.map +1 -1
- package/models/components/agentlanguage.d.ts +41 -0
- package/models/components/agentlanguage.d.ts.map +1 -0
- package/models/components/agentlanguage.js +62 -0
- package/models/components/agentlanguage.js.map +1 -0
- package/models/components/agentresponse.d.ts +13 -0
- package/models/components/agentresponse.d.ts.map +1 -1
- package/models/components/agentresponse.js +9 -0
- package/models/components/agentresponse.js.map +1 -1
- package/models/components/agentupdate.d.ts +7 -0
- package/models/components/agentupdate.d.ts.map +1 -1
- package/models/components/agentupdate.js +4 -0
- package/models/components/agentupdate.js.map +1 -1
- package/models/components/agentvoice.d.ts +29 -5
- package/models/components/agentvoice.d.ts.map +1 -1
- package/models/components/agentvoice.js +19 -5
- package/models/components/agentvoice.js.map +1 -1
- package/models/components/agentvoicedisplayname.d.ts +142 -0
- package/models/components/agentvoicedisplayname.d.ts.map +1 -0
- package/models/components/agentvoicedisplayname.js +89 -0
- package/models/components/agentvoicedisplayname.js.map +1 -0
- package/models/components/agentvoicegender.d.ts +34 -0
- package/models/components/agentvoicegender.d.ts.map +1 -0
- package/models/components/agentvoicegender.js +53 -0
- package/models/components/agentvoicegender.js.map +1 -0
- package/models/components/agentvoicemodel.d.ts +46 -0
- package/models/components/agentvoicemodel.d.ts.map +1 -0
- package/models/components/agentvoicemodel.js +57 -0
- package/models/components/agentvoicemodel.js.map +1 -0
- package/models/components/agentvoicevarname.d.ts +30 -0
- package/models/components/agentvoicevarname.d.ts.map +1 -1
- package/models/components/agentvoicevarname.js +10 -0
- package/models/components/agentvoicevarname.js.map +1 -1
- package/models/components/index.d.ts +13 -1
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +13 -1
- package/models/components/index.js.map +1 -1
- package/models/components/languagecode.d.ts +49 -0
- package/models/components/languagecode.d.ts.map +1 -0
- package/models/components/languagecode.js +58 -0
- package/models/components/languagecode.js.map +1 -0
- package/models/components/languageconfig.d.ts +56 -0
- package/models/components/languageconfig.d.ts.map +1 -0
- package/models/components/languageconfig.js +83 -0
- package/models/components/languageconfig.js.map +1 -0
- package/models/components/languagegroupcreaterequest.d.ts +48 -0
- package/models/components/languagegroupcreaterequest.d.ts.map +1 -0
- package/models/components/languagegroupcreaterequest.js +77 -0
- package/models/components/languagegroupcreaterequest.js.map +1 -0
- package/models/components/languagegroupproperties.d.ts +37 -0
- package/models/components/languagegroupproperties.d.ts.map +1 -0
- package/models/components/languagegroupproperties.js +53 -0
- package/models/components/languagegroupproperties.js.map +1 -0
- package/models/components/languagegroupresponse.d.ts +68 -0
- package/models/components/languagegroupresponse.d.ts.map +1 -0
- package/models/components/languagegroupresponse.js +91 -0
- package/models/components/languagegroupresponse.js.map +1 -0
- package/models/components/languagegroupupdaterequest.d.ts +58 -0
- package/models/components/languagegroupupdaterequest.d.ts.map +1 -0
- package/models/components/languagegroupupdaterequest.js +83 -0
- package/models/components/languagegroupupdaterequest.js.map +1 -0
- package/models/components/listresponselanguagegroupresponse.d.ts +38 -0
- package/models/components/listresponselanguagegroupresponse.d.ts.map +1 -0
- package/models/components/listresponselanguagegroupresponse.js +81 -0
- package/models/components/listresponselanguagegroupresponse.js.map +1 -0
- package/models/components/promptcreaterequest.d.ts +5 -0
- package/models/components/promptcreaterequest.d.ts.map +1 -1
- package/models/components/promptcreaterequest.js +4 -0
- package/models/components/promptcreaterequest.js.map +1 -1
- package/models/components/promptupdaterequest.d.ts +5 -0
- package/models/components/promptupdaterequest.d.ts.map +1 -1
- package/models/components/promptupdaterequest.js +4 -0
- package/models/components/promptupdaterequest.js.map +1 -1
- package/models/components/sessionrecordingresponse.d.ts +0 -5
- package/models/components/sessionrecordingresponse.d.ts.map +1 -1
- package/models/components/sessionrecordingresponse.js +0 -2
- package/models/components/sessionrecordingresponse.js.map +1 -1
- package/models/components/sessionsummaryresponse.d.ts +40 -0
- package/models/components/sessionsummaryresponse.d.ts.map +1 -0
- package/models/components/sessionsummaryresponse.js +61 -0
- package/models/components/sessionsummaryresponse.js.map +1 -0
- package/models/components/{sttprovider.d.ts → ttsprovider.d.ts} +10 -10
- package/models/components/{sttprovider.d.ts.map → ttsprovider.d.ts.map} +1 -1
- package/models/components/{sttprovider.js → ttsprovider.js} +14 -14
- package/models/components/{sttprovider.js.map → ttsprovider.js.map} +1 -1
- package/models/operations/index.d.ts +4 -0
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +4 -0
- package/models/operations/index.js.map +1 -1
- package/models/operations/languagegroupsdelete.d.ts +31 -0
- package/models/operations/languagegroupsdelete.d.ts.map +1 -0
- package/models/operations/languagegroupsdelete.js +70 -0
- package/models/operations/languagegroupsdelete.js.map +1 -0
- package/models/operations/languagegroupsgetbyid.d.ts +29 -0
- package/models/operations/languagegroupsgetbyid.d.ts.map +1 -0
- package/models/operations/languagegroupsgetbyid.js +68 -0
- package/models/operations/languagegroupsgetbyid.js.map +1 -0
- package/models/operations/languagegroupslist.d.ts +46 -0
- package/models/operations/languagegroupslist.d.ts.map +1 -0
- package/models/operations/languagegroupslist.js +103 -0
- package/models/operations/languagegroupslist.js.map +1 -0
- package/models/operations/sessionfullsummarygetbyid.d.ts +29 -0
- package/models/operations/sessionfullsummarygetbyid.d.ts.map +1 -0
- package/models/operations/sessionfullsummarygetbyid.js +68 -0
- package/models/operations/sessionfullsummarygetbyid.js.map +1 -0
- package/openapi.json +1163 -198
- package/package.json +1 -1
- package/sdk/fullsummary.d.ts +10 -0
- package/sdk/fullsummary.d.ts.map +1 -0
- package/sdk/fullsummary.js +19 -0
- package/sdk/fullsummary.js.map +1 -0
- package/sdk/languagegroups.d.ts +41 -0
- package/sdk/languagegroups.d.ts.map +1 -0
- package/sdk/languagegroups.js +62 -0
- package/sdk/languagegroups.js.map +1 -0
- package/sdk/sdk.d.ts +5 -2
- package/sdk/sdk.d.ts.map +1 -1
- package/sdk/sdk.js +7 -3
- package/sdk/sdk.js.map +1 -1
- package/sdk/sessions.d.ts +3 -0
- package/sdk/sessions.d.ts.map +1 -1
- package/sdk/sessions.js +4 -0
- package/sdk/sessions.js.map +1 -1
- package/sdk/v1.d.ts +0 -14
- package/sdk/v1.d.ts.map +1 -1
- package/sdk/v1.js +0 -20
- package/sdk/v1.js.map +1 -1
- package/src/funcs/languageGroupsCreate.ts +136 -0
- package/src/funcs/{v1Delete.ts → languageGroupsDelete.ts} +15 -11
- package/src/funcs/languageGroupsGetById.ts +146 -0
- package/src/funcs/languageGroupsList.ts +148 -0
- package/src/funcs/languageGroupsUpdate.ts +136 -0
- package/src/funcs/{v1GetById.ts → sessionsFullSummaryGetById.ts} +13 -13
- package/src/lib/config.ts +2 -2
- package/src/models/components/agentcreate.ts +11 -0
- package/src/models/components/agentlanguage.ts +80 -0
- package/src/models/components/agentresponse.ts +26 -0
- package/src/models/components/agentupdate.ts +11 -0
- package/src/models/components/agentvoice.ts +63 -12
- package/src/models/components/agentvoicedisplayname.ts +75 -0
- package/src/models/components/agentvoicegender.ts +39 -0
- package/src/models/components/agentvoicemodel.ts +43 -0
- package/src/models/components/agentvoicevarname.ts +10 -0
- package/src/models/components/index.ts +13 -1
- package/src/models/components/languagecode.ts +42 -0
- package/src/models/components/languageconfig.ts +122 -0
- package/src/models/components/languagegroupcreaterequest.ts +107 -0
- package/src/models/components/languagegroupproperties.ts +38 -0
- package/src/models/components/languagegroupresponse.ts +141 -0
- package/src/models/components/languagegroupupdaterequest.ts +123 -0
- package/src/models/components/listresponselanguagegroupresponse.ts +104 -0
- package/src/models/components/promptcreaterequest.ts +9 -0
- package/src/models/components/promptupdaterequest.ts +9 -0
- package/src/models/components/sessionrecordingresponse.ts +0 -7
- package/src/models/components/sessionsummaryresponse.ts +79 -0
- package/src/models/components/ttsprovider.ts +38 -0
- package/src/models/operations/index.ts +4 -0
- package/src/models/operations/languagegroupsdelete.ts +81 -0
- package/src/models/operations/languagegroupsgetbyid.ts +77 -0
- package/src/models/operations/languagegroupslist.ts +126 -0
- package/src/models/operations/sessionfullsummarygetbyid.ts +77 -0
- package/src/sdk/fullsummary.ts +25 -0
- package/src/sdk/languagegroups.ts +100 -0
- package/src/sdk/sdk.ts +11 -5
- package/src/sdk/sessions.ts +6 -0
- package/src/sdk/v1.ts +0 -36
- package/funcs/v1Delete.d.ts.map +0 -1
- package/funcs/v1Delete.js.map +0 -1
- package/funcs/v1GetById.d.ts.map +0 -1
- package/funcs/v1GetById.js.map +0 -1
- package/src/models/components/sttprovider.ts +0 -38
package/openapi.json
CHANGED
|
@@ -3891,6 +3891,54 @@
|
|
|
3891
3891
|
}
|
|
3892
3892
|
}
|
|
3893
3893
|
},
|
|
3894
|
+
"/api/v1/sessions/full-summary/{session_id}": {
|
|
3895
|
+
"get": {
|
|
3896
|
+
"tags": [
|
|
3897
|
+
"sessions",
|
|
3898
|
+
"V1"
|
|
3899
|
+
],
|
|
3900
|
+
"summary": "Get Full Session Summary By Id",
|
|
3901
|
+
"operationId": "session_full_summary_get_by_id",
|
|
3902
|
+
"security": [
|
|
3903
|
+
{
|
|
3904
|
+
"APIKeyHeader": []
|
|
3905
|
+
}
|
|
3906
|
+
],
|
|
3907
|
+
"parameters": [
|
|
3908
|
+
{
|
|
3909
|
+
"name": "session_id",
|
|
3910
|
+
"in": "path",
|
|
3911
|
+
"required": true,
|
|
3912
|
+
"schema": {
|
|
3913
|
+
"type": "string",
|
|
3914
|
+
"title": "Session Id"
|
|
3915
|
+
}
|
|
3916
|
+
}
|
|
3917
|
+
],
|
|
3918
|
+
"responses": {
|
|
3919
|
+
"200": {
|
|
3920
|
+
"description": "Successful Response",
|
|
3921
|
+
"content": {
|
|
3922
|
+
"application/json": {
|
|
3923
|
+
"schema": {
|
|
3924
|
+
"$ref": "#/components/schemas/SessionSummaryResponse"
|
|
3925
|
+
}
|
|
3926
|
+
}
|
|
3927
|
+
}
|
|
3928
|
+
},
|
|
3929
|
+
"422": {
|
|
3930
|
+
"description": "Validation Error",
|
|
3931
|
+
"content": {
|
|
3932
|
+
"application/json": {
|
|
3933
|
+
"schema": {
|
|
3934
|
+
"$ref": "#/components/schemas/HTTPValidationError"
|
|
3935
|
+
}
|
|
3936
|
+
}
|
|
3937
|
+
}
|
|
3938
|
+
}
|
|
3939
|
+
}
|
|
3940
|
+
}
|
|
3941
|
+
},
|
|
3894
3942
|
"/api/v1/sessions/{session_id}": {
|
|
3895
3943
|
"get": {
|
|
3896
3944
|
"tags": [
|
|
@@ -6764,118 +6812,505 @@
|
|
|
6764
6812
|
},
|
|
6765
6813
|
"x-speakeasy-ignore": true
|
|
6766
6814
|
}
|
|
6767
|
-
}
|
|
6768
|
-
|
|
6769
|
-
|
|
6770
|
-
|
|
6771
|
-
|
|
6772
|
-
|
|
6773
|
-
"enum": [
|
|
6774
|
-
"BATCH",
|
|
6775
|
-
"INTERACTIVE"
|
|
6815
|
+
},
|
|
6816
|
+
"/api/v1/language_groups/": {
|
|
6817
|
+
"get": {
|
|
6818
|
+
"tags": [
|
|
6819
|
+
"language_groups",
|
|
6820
|
+
"V1"
|
|
6776
6821
|
],
|
|
6777
|
-
"
|
|
6778
|
-
|
|
6779
|
-
|
|
6780
|
-
"
|
|
6781
|
-
|
|
6782
|
-
"
|
|
6783
|
-
|
|
6784
|
-
|
|
6822
|
+
"summary": "List Language Groups",
|
|
6823
|
+
"description": "Fetch language groups.",
|
|
6824
|
+
"operationId": "language_groups_list",
|
|
6825
|
+
"security": [
|
|
6826
|
+
{
|
|
6827
|
+
"APIKeyHeader": []
|
|
6828
|
+
}
|
|
6829
|
+
],
|
|
6830
|
+
"parameters": [
|
|
6831
|
+
{
|
|
6832
|
+
"name": "page",
|
|
6833
|
+
"in": "query",
|
|
6834
|
+
"required": false,
|
|
6835
|
+
"schema": {
|
|
6836
|
+
"anyOf": [
|
|
6837
|
+
{
|
|
6838
|
+
"type": "integer",
|
|
6839
|
+
"minimum": 0
|
|
6840
|
+
},
|
|
6841
|
+
{
|
|
6842
|
+
"type": "null"
|
|
6843
|
+
}
|
|
6844
|
+
],
|
|
6845
|
+
"default": 0,
|
|
6846
|
+
"title": "Page"
|
|
6847
|
+
}
|
|
6785
6848
|
},
|
|
6786
|
-
|
|
6787
|
-
"
|
|
6788
|
-
|
|
6789
|
-
|
|
6849
|
+
{
|
|
6850
|
+
"name": "limit",
|
|
6851
|
+
"in": "query",
|
|
6852
|
+
"required": false,
|
|
6853
|
+
"schema": {
|
|
6854
|
+
"type": "integer",
|
|
6855
|
+
"minimum": 0,
|
|
6856
|
+
"default": 25,
|
|
6857
|
+
"title": "Limit"
|
|
6858
|
+
}
|
|
6859
|
+
},
|
|
6860
|
+
{
|
|
6861
|
+
"name": "search_fields",
|
|
6862
|
+
"in": "query",
|
|
6863
|
+
"required": false,
|
|
6864
|
+
"schema": {
|
|
6865
|
+
"type": "array",
|
|
6866
|
+
"items": {
|
|
6867
|
+
"$ref": "#/components/schemas/LanguageGroupProperties"
|
|
6790
6868
|
},
|
|
6791
|
-
|
|
6792
|
-
|
|
6793
|
-
|
|
6794
|
-
],
|
|
6795
|
-
"title": "Description",
|
|
6796
|
-
"description": "The agent description"
|
|
6869
|
+
"default": [],
|
|
6870
|
+
"title": "Search Fields"
|
|
6871
|
+
}
|
|
6797
6872
|
},
|
|
6798
|
-
|
|
6799
|
-
"
|
|
6800
|
-
|
|
6873
|
+
{
|
|
6874
|
+
"name": "search_field_values",
|
|
6875
|
+
"in": "query",
|
|
6876
|
+
"required": false,
|
|
6877
|
+
"schema": {
|
|
6878
|
+
"type": "array",
|
|
6879
|
+
"items": {
|
|
6801
6880
|
"type": "string"
|
|
6802
6881
|
},
|
|
6803
|
-
|
|
6804
|
-
|
|
6805
|
-
|
|
6806
|
-
],
|
|
6807
|
-
"title": "Label",
|
|
6808
|
-
"description": "The agent label"
|
|
6809
|
-
},
|
|
6810
|
-
"type": {
|
|
6811
|
-
"type": "string",
|
|
6812
|
-
"title": "Type",
|
|
6813
|
-
"description": "The agent type. Can be an arbitrary string",
|
|
6814
|
-
"examples": [
|
|
6815
|
-
"ca_v1"
|
|
6816
|
-
]
|
|
6817
|
-
},
|
|
6818
|
-
"prompt_id": {
|
|
6819
|
-
"type": "integer",
|
|
6820
|
-
"title": "Prompt Id",
|
|
6821
|
-
"description": "ID of the prompt associated with the agent"
|
|
6822
|
-
},
|
|
6823
|
-
"custom_message_id": {
|
|
6824
|
-
"type": "integer",
|
|
6825
|
-
"title": "Custom Message Id",
|
|
6826
|
-
"description": "ID of the custom message that should be delivered at the beginning of a conversation with the agent"
|
|
6827
|
-
},
|
|
6828
|
-
"timezone": {
|
|
6829
|
-
"type": "string",
|
|
6830
|
-
"title": "Timezone",
|
|
6831
|
-
"description": "The time zone in which the agent operates",
|
|
6832
|
-
"examples": [
|
|
6833
|
-
"America/New_York",
|
|
6834
|
-
"America/Chicago"
|
|
6835
|
-
]
|
|
6882
|
+
"default": [],
|
|
6883
|
+
"title": "Search Field Values"
|
|
6884
|
+
}
|
|
6836
6885
|
},
|
|
6837
|
-
|
|
6838
|
-
"
|
|
6839
|
-
|
|
6840
|
-
|
|
6841
|
-
"
|
|
6842
|
-
|
|
6843
|
-
|
|
6886
|
+
{
|
|
6887
|
+
"name": "order_by",
|
|
6888
|
+
"in": "query",
|
|
6889
|
+
"required": false,
|
|
6890
|
+
"schema": {
|
|
6891
|
+
"anyOf": [
|
|
6892
|
+
{
|
|
6893
|
+
"$ref": "#/components/schemas/LanguageGroupProperties"
|
|
6894
|
+
},
|
|
6895
|
+
{
|
|
6896
|
+
"type": "null"
|
|
6897
|
+
}
|
|
6898
|
+
],
|
|
6899
|
+
"title": "Order By"
|
|
6900
|
+
}
|
|
6844
6901
|
},
|
|
6845
|
-
|
|
6846
|
-
"
|
|
6847
|
-
|
|
6848
|
-
|
|
6849
|
-
"
|
|
6850
|
-
|
|
6851
|
-
|
|
6852
|
-
|
|
6853
|
-
|
|
6854
|
-
|
|
6855
|
-
|
|
6856
|
-
|
|
6857
|
-
|
|
6902
|
+
{
|
|
6903
|
+
"name": "order_by_direction",
|
|
6904
|
+
"in": "query",
|
|
6905
|
+
"required": false,
|
|
6906
|
+
"schema": {
|
|
6907
|
+
"anyOf": [
|
|
6908
|
+
{
|
|
6909
|
+
"$ref": "#/components/schemas/OrderByDirection"
|
|
6910
|
+
},
|
|
6911
|
+
{
|
|
6912
|
+
"type": "null"
|
|
6913
|
+
}
|
|
6914
|
+
],
|
|
6915
|
+
"title": "Order By Direction"
|
|
6916
|
+
}
|
|
6858
6917
|
},
|
|
6859
|
-
|
|
6860
|
-
"
|
|
6861
|
-
|
|
6862
|
-
|
|
6863
|
-
"
|
|
6864
|
-
|
|
6865
|
-
|
|
6918
|
+
{
|
|
6919
|
+
"name": "fields",
|
|
6920
|
+
"in": "query",
|
|
6921
|
+
"required": false,
|
|
6922
|
+
"schema": {
|
|
6923
|
+
"anyOf": [
|
|
6924
|
+
{
|
|
6925
|
+
"type": "array",
|
|
6926
|
+
"items": {
|
|
6927
|
+
"$ref": "#/components/schemas/LanguageGroupProperties"
|
|
6928
|
+
}
|
|
6929
|
+
},
|
|
6930
|
+
{
|
|
6931
|
+
"type": "null"
|
|
6932
|
+
}
|
|
6933
|
+
],
|
|
6934
|
+
"default": [],
|
|
6935
|
+
"title": "Fields"
|
|
6936
|
+
}
|
|
6866
6937
|
},
|
|
6867
|
-
|
|
6868
|
-
"
|
|
6869
|
-
|
|
6870
|
-
|
|
6938
|
+
{
|
|
6939
|
+
"name": "start_datetime",
|
|
6940
|
+
"in": "query",
|
|
6941
|
+
"required": false,
|
|
6942
|
+
"schema": {
|
|
6943
|
+
"anyOf": [
|
|
6944
|
+
{
|
|
6871
6945
|
"type": "string"
|
|
6872
6946
|
},
|
|
6873
|
-
|
|
6874
|
-
|
|
6875
|
-
|
|
6876
|
-
|
|
6877
|
-
|
|
6878
|
-
|
|
6947
|
+
{
|
|
6948
|
+
"type": "null"
|
|
6949
|
+
}
|
|
6950
|
+
],
|
|
6951
|
+
"title": "Start Datetime"
|
|
6952
|
+
}
|
|
6953
|
+
},
|
|
6954
|
+
{
|
|
6955
|
+
"name": "end_datetime",
|
|
6956
|
+
"in": "query",
|
|
6957
|
+
"required": false,
|
|
6958
|
+
"schema": {
|
|
6959
|
+
"anyOf": [
|
|
6960
|
+
{
|
|
6961
|
+
"type": "string"
|
|
6962
|
+
},
|
|
6963
|
+
{
|
|
6964
|
+
"type": "null"
|
|
6965
|
+
}
|
|
6966
|
+
],
|
|
6967
|
+
"title": "End Datetime"
|
|
6968
|
+
}
|
|
6969
|
+
}
|
|
6970
|
+
],
|
|
6971
|
+
"responses": {
|
|
6972
|
+
"200": {
|
|
6973
|
+
"description": "Successful Response",
|
|
6974
|
+
"content": {
|
|
6975
|
+
"application/json": {
|
|
6976
|
+
"schema": {
|
|
6977
|
+
"$ref": "#/components/schemas/ListResponse_LanguageGroupResponse_"
|
|
6978
|
+
}
|
|
6979
|
+
}
|
|
6980
|
+
}
|
|
6981
|
+
},
|
|
6982
|
+
"422": {
|
|
6983
|
+
"description": "Validation Error",
|
|
6984
|
+
"content": {
|
|
6985
|
+
"application/json": {
|
|
6986
|
+
"schema": {
|
|
6987
|
+
"$ref": "#/components/schemas/HTTPValidationError"
|
|
6988
|
+
}
|
|
6989
|
+
}
|
|
6990
|
+
}
|
|
6991
|
+
}
|
|
6992
|
+
}
|
|
6993
|
+
},
|
|
6994
|
+
"post": {
|
|
6995
|
+
"tags": [
|
|
6996
|
+
"language_groups",
|
|
6997
|
+
"V1"
|
|
6998
|
+
],
|
|
6999
|
+
"summary": "Create Language Group",
|
|
7000
|
+
"description": "Create a new language group.",
|
|
7001
|
+
"operationId": "language_groups_create",
|
|
7002
|
+
"security": [
|
|
7003
|
+
{
|
|
7004
|
+
"APIKeyHeader": []
|
|
7005
|
+
}
|
|
7006
|
+
],
|
|
7007
|
+
"requestBody": {
|
|
7008
|
+
"required": true,
|
|
7009
|
+
"content": {
|
|
7010
|
+
"application/json": {
|
|
7011
|
+
"schema": {
|
|
7012
|
+
"$ref": "#/components/schemas/LanguageGroupCreateRequest"
|
|
7013
|
+
}
|
|
7014
|
+
}
|
|
7015
|
+
}
|
|
7016
|
+
},
|
|
7017
|
+
"responses": {
|
|
7018
|
+
"200": {
|
|
7019
|
+
"description": "Successful Response",
|
|
7020
|
+
"content": {
|
|
7021
|
+
"application/json": {
|
|
7022
|
+
"schema": {
|
|
7023
|
+
"$ref": "#/components/schemas/LanguageGroupResponse"
|
|
7024
|
+
}
|
|
7025
|
+
}
|
|
7026
|
+
}
|
|
7027
|
+
},
|
|
7028
|
+
"422": {
|
|
7029
|
+
"description": "Validation Error",
|
|
7030
|
+
"content": {
|
|
7031
|
+
"application/json": {
|
|
7032
|
+
"schema": {
|
|
7033
|
+
"$ref": "#/components/schemas/HTTPValidationError"
|
|
7034
|
+
}
|
|
7035
|
+
}
|
|
7036
|
+
}
|
|
7037
|
+
}
|
|
7038
|
+
}
|
|
7039
|
+
},
|
|
7040
|
+
"put": {
|
|
7041
|
+
"tags": [
|
|
7042
|
+
"language_groups",
|
|
7043
|
+
"V1"
|
|
7044
|
+
],
|
|
7045
|
+
"summary": "Update Language Group",
|
|
7046
|
+
"description": "Update an existing language group",
|
|
7047
|
+
"operationId": "language_groups_update",
|
|
7048
|
+
"security": [
|
|
7049
|
+
{
|
|
7050
|
+
"APIKeyHeader": []
|
|
7051
|
+
}
|
|
7052
|
+
],
|
|
7053
|
+
"requestBody": {
|
|
7054
|
+
"required": true,
|
|
7055
|
+
"content": {
|
|
7056
|
+
"application/json": {
|
|
7057
|
+
"schema": {
|
|
7058
|
+
"$ref": "#/components/schemas/LanguageGroupUpdateRequest"
|
|
7059
|
+
}
|
|
7060
|
+
}
|
|
7061
|
+
}
|
|
7062
|
+
},
|
|
7063
|
+
"responses": {
|
|
7064
|
+
"200": {
|
|
7065
|
+
"description": "Successful Response",
|
|
7066
|
+
"content": {
|
|
7067
|
+
"application/json": {
|
|
7068
|
+
"schema": {
|
|
7069
|
+
"$ref": "#/components/schemas/LanguageGroupResponse"
|
|
7070
|
+
}
|
|
7071
|
+
}
|
|
7072
|
+
}
|
|
7073
|
+
},
|
|
7074
|
+
"422": {
|
|
7075
|
+
"description": "Validation Error",
|
|
7076
|
+
"content": {
|
|
7077
|
+
"application/json": {
|
|
7078
|
+
"schema": {
|
|
7079
|
+
"$ref": "#/components/schemas/HTTPValidationError"
|
|
7080
|
+
}
|
|
7081
|
+
}
|
|
7082
|
+
}
|
|
7083
|
+
}
|
|
7084
|
+
}
|
|
7085
|
+
}
|
|
7086
|
+
},
|
|
7087
|
+
"/api/v1/language_groups/{language_group_id}": {
|
|
7088
|
+
"get": {
|
|
7089
|
+
"tags": [
|
|
7090
|
+
"language_groups",
|
|
7091
|
+
"V1"
|
|
7092
|
+
],
|
|
7093
|
+
"summary": "Get Language Group",
|
|
7094
|
+
"description": "Fetch a given language group.",
|
|
7095
|
+
"operationId": "language_groups_get_by_id",
|
|
7096
|
+
"security": [
|
|
7097
|
+
{
|
|
7098
|
+
"APIKeyHeader": []
|
|
7099
|
+
}
|
|
7100
|
+
],
|
|
7101
|
+
"parameters": [
|
|
7102
|
+
{
|
|
7103
|
+
"name": "language_group_id",
|
|
7104
|
+
"in": "path",
|
|
7105
|
+
"required": true,
|
|
7106
|
+
"schema": {
|
|
7107
|
+
"type": "integer",
|
|
7108
|
+
"title": "Language Group Id"
|
|
7109
|
+
}
|
|
7110
|
+
}
|
|
7111
|
+
],
|
|
7112
|
+
"responses": {
|
|
7113
|
+
"200": {
|
|
7114
|
+
"description": "Successful Response",
|
|
7115
|
+
"content": {
|
|
7116
|
+
"application/json": {
|
|
7117
|
+
"schema": {
|
|
7118
|
+
"$ref": "#/components/schemas/LanguageGroupResponse"
|
|
7119
|
+
}
|
|
7120
|
+
}
|
|
7121
|
+
}
|
|
7122
|
+
},
|
|
7123
|
+
"422": {
|
|
7124
|
+
"description": "Validation Error",
|
|
7125
|
+
"content": {
|
|
7126
|
+
"application/json": {
|
|
7127
|
+
"schema": {
|
|
7128
|
+
"$ref": "#/components/schemas/HTTPValidationError"
|
|
7129
|
+
}
|
|
7130
|
+
}
|
|
7131
|
+
}
|
|
7132
|
+
}
|
|
7133
|
+
}
|
|
7134
|
+
},
|
|
7135
|
+
"delete": {
|
|
7136
|
+
"tags": [
|
|
7137
|
+
"language_groups",
|
|
7138
|
+
"V1"
|
|
7139
|
+
],
|
|
7140
|
+
"summary": "Delete Language Group",
|
|
7141
|
+
"description": "Delete a language group.",
|
|
7142
|
+
"operationId": "language_groups_delete",
|
|
7143
|
+
"security": [
|
|
7144
|
+
{
|
|
7145
|
+
"APIKeyHeader": []
|
|
7146
|
+
}
|
|
7147
|
+
],
|
|
7148
|
+
"parameters": [
|
|
7149
|
+
{
|
|
7150
|
+
"name": "language_group_id",
|
|
7151
|
+
"in": "path",
|
|
7152
|
+
"required": true,
|
|
7153
|
+
"schema": {
|
|
7154
|
+
"type": "integer",
|
|
7155
|
+
"title": "Language Group Id"
|
|
7156
|
+
}
|
|
7157
|
+
},
|
|
7158
|
+
{
|
|
7159
|
+
"name": "reason",
|
|
7160
|
+
"in": "query",
|
|
7161
|
+
"required": true,
|
|
7162
|
+
"schema": {
|
|
7163
|
+
"type": "string",
|
|
7164
|
+
"title": "Reason"
|
|
7165
|
+
}
|
|
7166
|
+
}
|
|
7167
|
+
],
|
|
7168
|
+
"responses": {
|
|
7169
|
+
"200": {
|
|
7170
|
+
"description": "Successful Response",
|
|
7171
|
+
"content": {
|
|
7172
|
+
"application/json": {
|
|
7173
|
+
"schema": {}
|
|
7174
|
+
}
|
|
7175
|
+
}
|
|
7176
|
+
},
|
|
7177
|
+
"422": {
|
|
7178
|
+
"description": "Validation Error",
|
|
7179
|
+
"content": {
|
|
7180
|
+
"application/json": {
|
|
7181
|
+
"schema": {
|
|
7182
|
+
"$ref": "#/components/schemas/HTTPValidationError"
|
|
7183
|
+
}
|
|
7184
|
+
}
|
|
7185
|
+
}
|
|
7186
|
+
}
|
|
7187
|
+
}
|
|
7188
|
+
}
|
|
7189
|
+
}
|
|
7190
|
+
},
|
|
7191
|
+
"components": {
|
|
7192
|
+
"schemas": {
|
|
7193
|
+
"ActionMode": {
|
|
7194
|
+
"type": "string",
|
|
7195
|
+
"enum": [
|
|
7196
|
+
"BATCH",
|
|
7197
|
+
"INTERACTIVE"
|
|
7198
|
+
],
|
|
7199
|
+
"title": "ActionMode"
|
|
7200
|
+
},
|
|
7201
|
+
"AgentCreate": {
|
|
7202
|
+
"properties": {
|
|
7203
|
+
"name": {
|
|
7204
|
+
"type": "string",
|
|
7205
|
+
"title": "Name",
|
|
7206
|
+
"description": "The agent name"
|
|
7207
|
+
},
|
|
7208
|
+
"description": {
|
|
7209
|
+
"anyOf": [
|
|
7210
|
+
{
|
|
7211
|
+
"type": "string"
|
|
7212
|
+
},
|
|
7213
|
+
{
|
|
7214
|
+
"type": "null"
|
|
7215
|
+
}
|
|
7216
|
+
],
|
|
7217
|
+
"title": "Description",
|
|
7218
|
+
"description": "The agent description"
|
|
7219
|
+
},
|
|
7220
|
+
"label": {
|
|
7221
|
+
"anyOf": [
|
|
7222
|
+
{
|
|
7223
|
+
"type": "string"
|
|
7224
|
+
},
|
|
7225
|
+
{
|
|
7226
|
+
"type": "null"
|
|
7227
|
+
}
|
|
7228
|
+
],
|
|
7229
|
+
"title": "Label",
|
|
7230
|
+
"description": "The agent label"
|
|
7231
|
+
},
|
|
7232
|
+
"type": {
|
|
7233
|
+
"type": "string",
|
|
7234
|
+
"title": "Type",
|
|
7235
|
+
"description": "The agent type. Can be an arbitrary string",
|
|
7236
|
+
"examples": [
|
|
7237
|
+
"ca_v1"
|
|
7238
|
+
]
|
|
7239
|
+
},
|
|
7240
|
+
"prompt_id": {
|
|
7241
|
+
"type": "integer",
|
|
7242
|
+
"title": "Prompt Id",
|
|
7243
|
+
"description": "ID of the prompt associated with the agent"
|
|
7244
|
+
},
|
|
7245
|
+
"custom_message_id": {
|
|
7246
|
+
"type": "integer",
|
|
7247
|
+
"title": "Custom Message Id",
|
|
7248
|
+
"description": "ID of the custom message that should be delivered at the beginning of a conversation with the agent"
|
|
7249
|
+
},
|
|
7250
|
+
"language_group_id": {
|
|
7251
|
+
"anyOf": [
|
|
7252
|
+
{
|
|
7253
|
+
"type": "integer"
|
|
7254
|
+
},
|
|
7255
|
+
{
|
|
7256
|
+
"type": "null"
|
|
7257
|
+
}
|
|
7258
|
+
],
|
|
7259
|
+
"title": "Language Group Id",
|
|
7260
|
+
"description": "ID of the language group associated with the agent"
|
|
7261
|
+
},
|
|
7262
|
+
"timezone": {
|
|
7263
|
+
"type": "string",
|
|
7264
|
+
"title": "Timezone",
|
|
7265
|
+
"description": "The time zone in which the agent operates",
|
|
7266
|
+
"examples": [
|
|
7267
|
+
"America/New_York",
|
|
7268
|
+
"America/Chicago"
|
|
7269
|
+
]
|
|
7270
|
+
},
|
|
7271
|
+
"prompt_tool_defaults": {
|
|
7272
|
+
"items": {
|
|
7273
|
+
"$ref": "#/components/schemas/AgentToolDefaults"
|
|
7274
|
+
},
|
|
7275
|
+
"type": "array",
|
|
7276
|
+
"title": "Prompt Tool Defaults",
|
|
7277
|
+
"description": "User-configured parameter values for the agent's tools"
|
|
7278
|
+
},
|
|
7279
|
+
"languages": {
|
|
7280
|
+
"items": {
|
|
7281
|
+
"type": "string"
|
|
7282
|
+
},
|
|
7283
|
+
"type": "array",
|
|
7284
|
+
"title": "Languages",
|
|
7285
|
+
"description": "BCP 47 codes of languages the agent supports",
|
|
7286
|
+
"deprecated": true,
|
|
7287
|
+
"examples": [
|
|
7288
|
+
[
|
|
7289
|
+
"en-US",
|
|
7290
|
+
"es-US"
|
|
7291
|
+
]
|
|
7292
|
+
]
|
|
7293
|
+
},
|
|
7294
|
+
"variables": {
|
|
7295
|
+
"additionalProperties": {
|
|
7296
|
+
"type": "string"
|
|
7297
|
+
},
|
|
7298
|
+
"type": "object",
|
|
7299
|
+
"title": "Variables",
|
|
7300
|
+
"description": "Custom context variables for the conversation session. Keys should be prefixed with \"vars.\"."
|
|
7301
|
+
},
|
|
7302
|
+
"tool_headers": {
|
|
7303
|
+
"anyOf": [
|
|
7304
|
+
{
|
|
7305
|
+
"additionalProperties": {
|
|
7306
|
+
"type": "string"
|
|
7307
|
+
},
|
|
7308
|
+
"type": "object"
|
|
7309
|
+
},
|
|
7310
|
+
{
|
|
7311
|
+
"type": "null"
|
|
7312
|
+
}
|
|
7313
|
+
],
|
|
6879
7314
|
"title": "Tool Headers",
|
|
6880
7315
|
"description": "Optional headers to include in tool calls for agent."
|
|
6881
7316
|
},
|
|
@@ -6898,6 +7333,32 @@
|
|
|
6898
7333
|
],
|
|
6899
7334
|
"title": "AgentCreate"
|
|
6900
7335
|
},
|
|
7336
|
+
"AgentLanguage": {
|
|
7337
|
+
"properties": {
|
|
7338
|
+
"name": {
|
|
7339
|
+
"type": "string",
|
|
7340
|
+
"title": "Name",
|
|
7341
|
+
"description": "Name of the language",
|
|
7342
|
+
"examples": [
|
|
7343
|
+
"English"
|
|
7344
|
+
]
|
|
7345
|
+
},
|
|
7346
|
+
"code": {
|
|
7347
|
+
"$ref": "#/components/schemas/LanguageCode",
|
|
7348
|
+
"description": "BCP 47 code of the language",
|
|
7349
|
+
"examples": [
|
|
7350
|
+
"en-US"
|
|
7351
|
+
]
|
|
7352
|
+
}
|
|
7353
|
+
},
|
|
7354
|
+
"type": "object",
|
|
7355
|
+
"required": [
|
|
7356
|
+
"name",
|
|
7357
|
+
"code"
|
|
7358
|
+
],
|
|
7359
|
+
"title": "AgentLanguage",
|
|
7360
|
+
"description": "Language option for an agent."
|
|
7361
|
+
},
|
|
6901
7362
|
"AgentProperties": {
|
|
6902
7363
|
"type": "string",
|
|
6903
7364
|
"enum": [
|
|
@@ -6969,6 +7430,18 @@
|
|
|
6969
7430
|
"title": "Custom Message Id",
|
|
6970
7431
|
"description": "ID of the custom message that should be delivered at the beginning of a conversation with the agent"
|
|
6971
7432
|
},
|
|
7433
|
+
"language_group_id": {
|
|
7434
|
+
"anyOf": [
|
|
7435
|
+
{
|
|
7436
|
+
"type": "integer"
|
|
7437
|
+
},
|
|
7438
|
+
{
|
|
7439
|
+
"type": "null"
|
|
7440
|
+
}
|
|
7441
|
+
],
|
|
7442
|
+
"title": "Language Group Id",
|
|
7443
|
+
"description": "ID of the language group associated with the agent"
|
|
7444
|
+
},
|
|
6972
7445
|
"timezone": {
|
|
6973
7446
|
"type": "string",
|
|
6974
7447
|
"title": "Timezone",
|
|
@@ -6993,6 +7466,7 @@
|
|
|
6993
7466
|
"type": "array",
|
|
6994
7467
|
"title": "Languages",
|
|
6995
7468
|
"description": "BCP 47 codes of languages the agent supports",
|
|
7469
|
+
"deprecated": true,
|
|
6996
7470
|
"examples": [
|
|
6997
7471
|
[
|
|
6998
7472
|
"en-US",
|
|
@@ -7103,6 +7577,17 @@
|
|
|
7103
7577
|
],
|
|
7104
7578
|
"title": "Tools",
|
|
7105
7579
|
"description": "Tools associated with the agent"
|
|
7580
|
+
},
|
|
7581
|
+
"language_group": {
|
|
7582
|
+
"anyOf": [
|
|
7583
|
+
{
|
|
7584
|
+
"$ref": "#/components/schemas/LanguageGroupResponse"
|
|
7585
|
+
},
|
|
7586
|
+
{
|
|
7587
|
+
"type": "null"
|
|
7588
|
+
}
|
|
7589
|
+
],
|
|
7590
|
+
"description": "The language group associated with the agent"
|
|
7106
7591
|
}
|
|
7107
7592
|
},
|
|
7108
7593
|
"type": "object",
|
|
@@ -7214,6 +7699,18 @@
|
|
|
7214
7699
|
"title": "Custom Message Id",
|
|
7215
7700
|
"description": "ID of the custom message that should be delivered at the beginning of a conversation with the agent"
|
|
7216
7701
|
},
|
|
7702
|
+
"language_group_id": {
|
|
7703
|
+
"anyOf": [
|
|
7704
|
+
{
|
|
7705
|
+
"type": "integer"
|
|
7706
|
+
},
|
|
7707
|
+
{
|
|
7708
|
+
"type": "null"
|
|
7709
|
+
}
|
|
7710
|
+
],
|
|
7711
|
+
"title": "Language Group Id",
|
|
7712
|
+
"description": "ID of the language group associated with the agent"
|
|
7713
|
+
},
|
|
7217
7714
|
"timezone": {
|
|
7218
7715
|
"type": "string",
|
|
7219
7716
|
"title": "Timezone",
|
|
@@ -7238,6 +7735,7 @@
|
|
|
7238
7735
|
"type": "array",
|
|
7239
7736
|
"title": "Languages",
|
|
7240
7737
|
"description": "BCP 47 codes of languages the agent supports",
|
|
7738
|
+
"deprecated": true,
|
|
7241
7739
|
"examples": [
|
|
7242
7740
|
[
|
|
7243
7741
|
"en-US",
|
|
@@ -7296,7 +7794,7 @@
|
|
|
7296
7794
|
"AgentVoice": {
|
|
7297
7795
|
"properties": {
|
|
7298
7796
|
"provider": {
|
|
7299
|
-
"$ref": "#/components/schemas/
|
|
7797
|
+
"$ref": "#/components/schemas/TtsProvider",
|
|
7300
7798
|
"description": "The provider for the voice",
|
|
7301
7799
|
"examples": [
|
|
7302
7800
|
"OpenAI",
|
|
@@ -7305,38 +7803,135 @@
|
|
|
7305
7803
|
]
|
|
7306
7804
|
},
|
|
7307
7805
|
"display_name": {
|
|
7308
|
-
"
|
|
7309
|
-
"title": "Display Name",
|
|
7806
|
+
"$ref": "#/components/schemas/AgentVoiceDisplayName",
|
|
7310
7807
|
"description": "The display name of the voice",
|
|
7311
7808
|
"examples": [
|
|
7312
|
-
"
|
|
7809
|
+
"Alejandro"
|
|
7313
7810
|
]
|
|
7314
7811
|
},
|
|
7315
7812
|
"var_name": {
|
|
7316
7813
|
"$ref": "#/components/schemas/AgentVoiceVarName",
|
|
7317
|
-
"description": "The variable name of the voice (used when
|
|
7814
|
+
"description": "The variable name of the voice (used when processing messages)",
|
|
7815
|
+
"deprecated": true,
|
|
7318
7816
|
"examples": [
|
|
7319
7817
|
"openai:alloy"
|
|
7320
7818
|
]
|
|
7819
|
+
},
|
|
7820
|
+
"gender": {
|
|
7821
|
+
"$ref": "#/components/schemas/AgentVoiceGender",
|
|
7822
|
+
"description": "The gender of the voice",
|
|
7823
|
+
"examples": [
|
|
7824
|
+
"female",
|
|
7825
|
+
"male"
|
|
7826
|
+
]
|
|
7827
|
+
},
|
|
7828
|
+
"model": {
|
|
7829
|
+
"$ref": "#/components/schemas/AgentVoiceModel"
|
|
7830
|
+
},
|
|
7831
|
+
"supported_languages": {
|
|
7832
|
+
"items": {
|
|
7833
|
+
"$ref": "#/components/schemas/AgentLanguage"
|
|
7834
|
+
},
|
|
7835
|
+
"type": "array",
|
|
7836
|
+
"title": "Supported Languages",
|
|
7837
|
+
"description": "Languages supported by the voice"
|
|
7838
|
+
},
|
|
7839
|
+
"deprecated": {
|
|
7840
|
+
"type": "boolean",
|
|
7841
|
+
"title": "Deprecated",
|
|
7842
|
+
"description": "Whether the voice is deprecated and should not be used"
|
|
7321
7843
|
}
|
|
7322
7844
|
},
|
|
7323
7845
|
"type": "object",
|
|
7324
7846
|
"required": [
|
|
7325
7847
|
"provider",
|
|
7326
7848
|
"display_name",
|
|
7327
|
-
"var_name"
|
|
7849
|
+
"var_name",
|
|
7850
|
+
"gender",
|
|
7851
|
+
"supported_languages",
|
|
7852
|
+
"deprecated"
|
|
7328
7853
|
],
|
|
7329
7854
|
"title": "AgentVoice",
|
|
7330
7855
|
"description": "Voice option for an agent."
|
|
7331
7856
|
},
|
|
7857
|
+
"AgentVoiceDisplayName": {
|
|
7858
|
+
"type": "string",
|
|
7859
|
+
"enum": [
|
|
7860
|
+
"Alejandro",
|
|
7861
|
+
"Alice",
|
|
7862
|
+
"Alloy",
|
|
7863
|
+
"Ash",
|
|
7864
|
+
"Bill",
|
|
7865
|
+
"Brian",
|
|
7866
|
+
"Callum",
|
|
7867
|
+
"Charlie",
|
|
7868
|
+
"Charlotte",
|
|
7869
|
+
"Chris",
|
|
7870
|
+
"Clara",
|
|
7871
|
+
"Coral",
|
|
7872
|
+
"Daniel",
|
|
7873
|
+
"Echo",
|
|
7874
|
+
"Eric",
|
|
7875
|
+
"Fable",
|
|
7876
|
+
"George",
|
|
7877
|
+
"Isabella",
|
|
7878
|
+
"Jerry",
|
|
7879
|
+
"Jessica",
|
|
7880
|
+
"Laura",
|
|
7881
|
+
"Liam",
|
|
7882
|
+
"Lily",
|
|
7883
|
+
"Lina",
|
|
7884
|
+
"Mark",
|
|
7885
|
+
"Matilda",
|
|
7886
|
+
"Melanie",
|
|
7887
|
+
"Mila",
|
|
7888
|
+
"Nova",
|
|
7889
|
+
"Onyx",
|
|
7890
|
+
"River",
|
|
7891
|
+
"Roger",
|
|
7892
|
+
"Sarah",
|
|
7893
|
+
"Sage",
|
|
7894
|
+
"Shimmer",
|
|
7895
|
+
"Sienna",
|
|
7896
|
+
"Tara",
|
|
7897
|
+
"Will"
|
|
7898
|
+
],
|
|
7899
|
+
"title": "AgentVoiceDisplayName",
|
|
7900
|
+
"description": "Display names of voices that Syllable supports."
|
|
7901
|
+
},
|
|
7902
|
+
"AgentVoiceGender": {
|
|
7903
|
+
"type": "string",
|
|
7904
|
+
"enum": [
|
|
7905
|
+
"female",
|
|
7906
|
+
"male"
|
|
7907
|
+
],
|
|
7908
|
+
"title": "AgentVoiceGender",
|
|
7909
|
+
"description": "Gender for an agent voice."
|
|
7910
|
+
},
|
|
7911
|
+
"AgentVoiceModel": {
|
|
7912
|
+
"type": "string",
|
|
7913
|
+
"enum": [
|
|
7914
|
+
"Multilingual_v2",
|
|
7915
|
+
"Neural2",
|
|
7916
|
+
"Standard",
|
|
7917
|
+
"Studio",
|
|
7918
|
+
"WaveNet",
|
|
7919
|
+
"Whisper"
|
|
7920
|
+
],
|
|
7921
|
+
"title": "AgentVoiceModel",
|
|
7922
|
+
"description": "Model for an agent voice."
|
|
7923
|
+
},
|
|
7332
7924
|
"AgentVoiceVarName": {
|
|
7333
7925
|
"type": "string",
|
|
7334
7926
|
"enum": [
|
|
7335
7927
|
"openai:alloy",
|
|
7928
|
+
"openai:ash",
|
|
7929
|
+
"openai:coral",
|
|
7336
7930
|
"openai:echo",
|
|
7337
7931
|
"openai:fable",
|
|
7338
7932
|
"openai:nova",
|
|
7339
7933
|
"openai:onyx",
|
|
7934
|
+
"openai:sage",
|
|
7340
7935
|
"openai:shimmer",
|
|
7341
7936
|
"elevenlabs:Alice",
|
|
7342
7937
|
"elevenlabs:Bill",
|
|
@@ -7357,9 +7952,16 @@
|
|
|
7357
7952
|
"elevenlabs:Roger",
|
|
7358
7953
|
"elevenlabs:Sarah",
|
|
7359
7954
|
"elevenlabs:Will",
|
|
7955
|
+
"wavenet:male/es-US-Neural2-B",
|
|
7360
7956
|
"wavenet:female/en-US-Neural2-F",
|
|
7957
|
+
"wavenet:female/es-US-Neural2-A",
|
|
7361
7958
|
"wavenet:male/en-US-Neural2-D",
|
|
7362
|
-
"wavenet:female/
|
|
7959
|
+
"wavenet:female/cmn-TW-Wavenet-A",
|
|
7960
|
+
"wavenet:male/en-US-Neural2-J",
|
|
7961
|
+
"wavenet:female/yue-HK-Standard-C",
|
|
7962
|
+
"wavenet:female/en-US-Studio-O",
|
|
7963
|
+
"wavenet:female/ko-KR-Neural2-A",
|
|
7964
|
+
"wavenet:female/vi-VN-Neural2-A"
|
|
7363
7965
|
],
|
|
7364
7966
|
"title": "AgentVoiceVarName",
|
|
7365
7967
|
"description": "The variable name of an agent voice (used when procesing messages)."
|
|
@@ -9620,129 +10222,409 @@
|
|
|
9620
10222
|
"title": "Conditions",
|
|
9621
10223
|
"description": "Conditions for Insight Workflow"
|
|
9622
10224
|
},
|
|
9623
|
-
"status": {
|
|
9624
|
-
"type": "string",
|
|
9625
|
-
"title": "Status",
|
|
9626
|
-
"description": "Status of the Insight Workflow"
|
|
10225
|
+
"status": {
|
|
10226
|
+
"type": "string",
|
|
10227
|
+
"title": "Status",
|
|
10228
|
+
"description": "Status of the Insight Workflow"
|
|
10229
|
+
}
|
|
10230
|
+
},
|
|
10231
|
+
"type": "object",
|
|
10232
|
+
"required": [
|
|
10233
|
+
"name",
|
|
10234
|
+
"description",
|
|
10235
|
+
"insight_tool_ids",
|
|
10236
|
+
"conditions",
|
|
10237
|
+
"status"
|
|
10238
|
+
],
|
|
10239
|
+
"title": "InsightWorkflowInput"
|
|
10240
|
+
},
|
|
10241
|
+
"InsightWorkflowOutput": {
|
|
10242
|
+
"properties": {
|
|
10243
|
+
"name": {
|
|
10244
|
+
"type": "string",
|
|
10245
|
+
"title": "Name",
|
|
10246
|
+
"description": "Human readable name of Insight Workflow"
|
|
10247
|
+
},
|
|
10248
|
+
"description": {
|
|
10249
|
+
"type": "string",
|
|
10250
|
+
"title": "Description",
|
|
10251
|
+
"description": "Text description of Insight Workflow"
|
|
10252
|
+
},
|
|
10253
|
+
"insight_tool_ids": {
|
|
10254
|
+
"items": {
|
|
10255
|
+
"type": "integer"
|
|
10256
|
+
},
|
|
10257
|
+
"type": "array",
|
|
10258
|
+
"title": "Insight Tool Ids",
|
|
10259
|
+
"description": "List of Insight Tool IDs"
|
|
10260
|
+
},
|
|
10261
|
+
"conditions": {
|
|
10262
|
+
"type": "object",
|
|
10263
|
+
"title": "Conditions",
|
|
10264
|
+
"description": "Conditions for Insight Workflow"
|
|
10265
|
+
},
|
|
10266
|
+
"status": {
|
|
10267
|
+
"type": "string",
|
|
10268
|
+
"title": "Status",
|
|
10269
|
+
"description": "Status of the Insight Workflow"
|
|
10270
|
+
},
|
|
10271
|
+
"id": {
|
|
10272
|
+
"type": "integer",
|
|
10273
|
+
"title": "Id",
|
|
10274
|
+
"description": "Unique ID for Insight Workflow"
|
|
10275
|
+
},
|
|
10276
|
+
"insight_tools": {
|
|
10277
|
+
"items": {
|
|
10278
|
+
"$ref": "#/components/schemas/InsightToolOutput"
|
|
10279
|
+
},
|
|
10280
|
+
"type": "array",
|
|
10281
|
+
"title": "Insight Tools",
|
|
10282
|
+
"description": "List of Insight Tools"
|
|
10283
|
+
},
|
|
10284
|
+
"created_at": {
|
|
10285
|
+
"type": "string",
|
|
10286
|
+
"format": "date-time",
|
|
10287
|
+
"title": "Created At",
|
|
10288
|
+
"description": "Timestamp of Insight Workflow creation"
|
|
10289
|
+
},
|
|
10290
|
+
"updated_at": {
|
|
10291
|
+
"type": "string",
|
|
10292
|
+
"format": "date-time",
|
|
10293
|
+
"title": "Updated At",
|
|
10294
|
+
"description": "Timestamp of Insight Workflow update"
|
|
10295
|
+
},
|
|
10296
|
+
"last_updated_by": {
|
|
10297
|
+
"type": "string",
|
|
10298
|
+
"title": "Last Updated By",
|
|
10299
|
+
"description": "User who last updated Insight Workflow"
|
|
10300
|
+
}
|
|
10301
|
+
},
|
|
10302
|
+
"type": "object",
|
|
10303
|
+
"required": [
|
|
10304
|
+
"name",
|
|
10305
|
+
"description",
|
|
10306
|
+
"insight_tool_ids",
|
|
10307
|
+
"conditions",
|
|
10308
|
+
"status",
|
|
10309
|
+
"id",
|
|
10310
|
+
"insight_tools",
|
|
10311
|
+
"last_updated_by"
|
|
10312
|
+
],
|
|
10313
|
+
"title": "InsightWorkflowOutput"
|
|
10314
|
+
},
|
|
10315
|
+
"InsightWorkflowProperties": {
|
|
10316
|
+
"type": "string",
|
|
10317
|
+
"enum": [
|
|
10318
|
+
"id",
|
|
10319
|
+
"name",
|
|
10320
|
+
"description",
|
|
10321
|
+
"status",
|
|
10322
|
+
"conditions",
|
|
10323
|
+
"insight_tool_ids",
|
|
10324
|
+
"updated_at"
|
|
10325
|
+
],
|
|
10326
|
+
"title": "InsightWorkflowProperties"
|
|
10327
|
+
},
|
|
10328
|
+
"InternalTool": {
|
|
10329
|
+
"properties": {
|
|
10330
|
+
"type": {
|
|
10331
|
+
"type": "string",
|
|
10332
|
+
"const": "function",
|
|
10333
|
+
"title": "Type",
|
|
10334
|
+
"description": "Always `function`.",
|
|
10335
|
+
"default": "function"
|
|
10336
|
+
},
|
|
10337
|
+
"function": {
|
|
10338
|
+
"$ref": "#/components/schemas/ToolFunction",
|
|
10339
|
+
"description": "The tool definition including the JSON Schema of its parameters."
|
|
10340
|
+
}
|
|
10341
|
+
},
|
|
10342
|
+
"type": "object",
|
|
10343
|
+
"required": [
|
|
10344
|
+
"function"
|
|
10345
|
+
],
|
|
10346
|
+
"title": "InternalTool",
|
|
10347
|
+
"description": "A tool definition to be used by the OpenAI API."
|
|
10348
|
+
},
|
|
10349
|
+
"LanguageCode": {
|
|
10350
|
+
"type": "string",
|
|
10351
|
+
"enum": [
|
|
10352
|
+
"yue-HK",
|
|
10353
|
+
"en-US",
|
|
10354
|
+
"ko-KR",
|
|
10355
|
+
"zh-CN",
|
|
10356
|
+
"es-US",
|
|
10357
|
+
"th-TH",
|
|
10358
|
+
"vi-VN"
|
|
10359
|
+
],
|
|
10360
|
+
"title": "LanguageCode",
|
|
10361
|
+
"description": "BCP 47 codes of languages that Syllable supports."
|
|
10362
|
+
},
|
|
10363
|
+
"LanguageConfig": {
|
|
10364
|
+
"properties": {
|
|
10365
|
+
"language_code": {
|
|
10366
|
+
"$ref": "#/components/schemas/LanguageCode",
|
|
10367
|
+
"description": "BCP 47 code of the language",
|
|
10368
|
+
"examples": [
|
|
10369
|
+
"en-US"
|
|
10370
|
+
]
|
|
10371
|
+
},
|
|
10372
|
+
"voice_provider": {
|
|
10373
|
+
"$ref": "#/components/schemas/TtsProvider",
|
|
10374
|
+
"description": "TTS provider of the voice to use for the language",
|
|
10375
|
+
"examples": [
|
|
10376
|
+
"OpenAI"
|
|
10377
|
+
]
|
|
10378
|
+
},
|
|
10379
|
+
"voice_display_name": {
|
|
10380
|
+
"$ref": "#/components/schemas/AgentVoiceDisplayName",
|
|
10381
|
+
"description": "Display name of the voice to use for the language",
|
|
10382
|
+
"examples": [
|
|
10383
|
+
"Alloy"
|
|
10384
|
+
]
|
|
10385
|
+
},
|
|
10386
|
+
"dtmf_code": {
|
|
10387
|
+
"type": "integer",
|
|
10388
|
+
"title": "Dtmf Code",
|
|
10389
|
+
"description": "DTMF code that should be used for the language in the menu generated from the language group",
|
|
10390
|
+
"examples": [
|
|
10391
|
+
1
|
|
10392
|
+
]
|
|
10393
|
+
}
|
|
10394
|
+
},
|
|
10395
|
+
"type": "object",
|
|
10396
|
+
"required": [
|
|
10397
|
+
"language_code",
|
|
10398
|
+
"voice_provider",
|
|
10399
|
+
"voice_display_name",
|
|
10400
|
+
"dtmf_code"
|
|
10401
|
+
],
|
|
10402
|
+
"title": "LanguageConfig",
|
|
10403
|
+
"description": "Voice and DTMF configurations for a language in a language group. List of available voices\nand their supported languages can be fetched from `GET /agents/voices/available/`."
|
|
10404
|
+
},
|
|
10405
|
+
"LanguageGroupCreateRequest": {
|
|
10406
|
+
"properties": {
|
|
10407
|
+
"name": {
|
|
10408
|
+
"type": "string",
|
|
10409
|
+
"title": "Name",
|
|
10410
|
+
"description": "The name of the language group.",
|
|
10411
|
+
"examples": [
|
|
10412
|
+
"Call Center 1 Languages"
|
|
10413
|
+
]
|
|
10414
|
+
},
|
|
10415
|
+
"description": {
|
|
10416
|
+
"anyOf": [
|
|
10417
|
+
{
|
|
10418
|
+
"type": "string"
|
|
10419
|
+
},
|
|
10420
|
+
{
|
|
10421
|
+
"type": "null"
|
|
10422
|
+
}
|
|
10423
|
+
],
|
|
10424
|
+
"title": "Description",
|
|
10425
|
+
"description": "Description of the language group.",
|
|
10426
|
+
"examples": [
|
|
10427
|
+
"Languages spoken by operators at Call Center 1"
|
|
10428
|
+
]
|
|
10429
|
+
},
|
|
10430
|
+
"language_configs": {
|
|
10431
|
+
"items": {
|
|
10432
|
+
"$ref": "#/components/schemas/LanguageConfig"
|
|
10433
|
+
},
|
|
10434
|
+
"type": "array",
|
|
10435
|
+
"title": "Language Configs",
|
|
10436
|
+
"description": "Voice and DTMF configurations for each language in the group."
|
|
10437
|
+
},
|
|
10438
|
+
"skip_current_language_in_message": {
|
|
10439
|
+
"type": "boolean",
|
|
10440
|
+
"title": "Skip Current Language In Message",
|
|
10441
|
+
"description": "Whether a message using the language group to generate a language DTMF menu should skip the agent's current language in the menu."
|
|
9627
10442
|
}
|
|
9628
10443
|
},
|
|
9629
10444
|
"type": "object",
|
|
9630
10445
|
"required": [
|
|
10446
|
+
"name",
|
|
10447
|
+
"language_configs",
|
|
10448
|
+
"skip_current_language_in_message"
|
|
10449
|
+
],
|
|
10450
|
+
"title": "LanguageGroupCreateRequest"
|
|
10451
|
+
},
|
|
10452
|
+
"LanguageGroupProperties": {
|
|
10453
|
+
"type": "string",
|
|
10454
|
+
"enum": [
|
|
9631
10455
|
"name",
|
|
9632
10456
|
"description",
|
|
9633
|
-
"
|
|
9634
|
-
"
|
|
9635
|
-
"
|
|
10457
|
+
"skip_current_language_in_message",
|
|
10458
|
+
"updated_at",
|
|
10459
|
+
"last_updated_by"
|
|
9636
10460
|
],
|
|
9637
|
-
"title": "
|
|
10461
|
+
"title": "LanguageGroupProperties"
|
|
9638
10462
|
},
|
|
9639
|
-
"
|
|
10463
|
+
"LanguageGroupResponse": {
|
|
9640
10464
|
"properties": {
|
|
9641
10465
|
"name": {
|
|
9642
10466
|
"type": "string",
|
|
9643
10467
|
"title": "Name",
|
|
9644
|
-
"description": "
|
|
10468
|
+
"description": "The name of the language group.",
|
|
10469
|
+
"examples": [
|
|
10470
|
+
"Call Center 1 Languages"
|
|
10471
|
+
]
|
|
9645
10472
|
},
|
|
9646
10473
|
"description": {
|
|
9647
|
-
"
|
|
10474
|
+
"anyOf": [
|
|
10475
|
+
{
|
|
10476
|
+
"type": "string"
|
|
10477
|
+
},
|
|
10478
|
+
{
|
|
10479
|
+
"type": "null"
|
|
10480
|
+
}
|
|
10481
|
+
],
|
|
9648
10482
|
"title": "Description",
|
|
9649
|
-
"description": "
|
|
10483
|
+
"description": "Description of the language group.",
|
|
10484
|
+
"examples": [
|
|
10485
|
+
"Languages spoken by operators at Call Center 1"
|
|
10486
|
+
]
|
|
9650
10487
|
},
|
|
9651
|
-
"
|
|
10488
|
+
"language_configs": {
|
|
9652
10489
|
"items": {
|
|
9653
|
-
"
|
|
10490
|
+
"$ref": "#/components/schemas/LanguageConfig"
|
|
9654
10491
|
},
|
|
9655
10492
|
"type": "array",
|
|
9656
|
-
"title": "
|
|
9657
|
-
"description": "
|
|
9658
|
-
},
|
|
9659
|
-
"conditions": {
|
|
9660
|
-
"type": "object",
|
|
9661
|
-
"title": "Conditions",
|
|
9662
|
-
"description": "Conditions for Insight Workflow"
|
|
10493
|
+
"title": "Language Configs",
|
|
10494
|
+
"description": "Voice and DTMF configurations for each language in the group."
|
|
9663
10495
|
},
|
|
9664
|
-
"
|
|
9665
|
-
"type": "
|
|
9666
|
-
"title": "
|
|
9667
|
-
"description": "
|
|
10496
|
+
"skip_current_language_in_message": {
|
|
10497
|
+
"type": "boolean",
|
|
10498
|
+
"title": "Skip Current Language In Message",
|
|
10499
|
+
"description": "Whether a message using the language group to generate a language DTMF menu should skip the agent's current language in the menu."
|
|
9668
10500
|
},
|
|
9669
10501
|
"id": {
|
|
9670
10502
|
"type": "integer",
|
|
9671
10503
|
"title": "Id",
|
|
9672
|
-
"description": "
|
|
9673
|
-
|
|
9674
|
-
|
|
9675
|
-
|
|
9676
|
-
"$ref": "#/components/schemas/InsightToolOutput"
|
|
9677
|
-
},
|
|
9678
|
-
"type": "array",
|
|
9679
|
-
"title": "Insight Tools",
|
|
9680
|
-
"description": "List of Insight Tools"
|
|
10504
|
+
"description": "The ID of the language group to update.",
|
|
10505
|
+
"examples": [
|
|
10506
|
+
1
|
|
10507
|
+
]
|
|
9681
10508
|
},
|
|
9682
|
-
"
|
|
9683
|
-
"
|
|
9684
|
-
|
|
9685
|
-
|
|
9686
|
-
|
|
10509
|
+
"edit_comments": {
|
|
10510
|
+
"anyOf": [
|
|
10511
|
+
{
|
|
10512
|
+
"type": "string"
|
|
10513
|
+
},
|
|
10514
|
+
{
|
|
10515
|
+
"type": "null"
|
|
10516
|
+
}
|
|
10517
|
+
],
|
|
10518
|
+
"title": "Edit Comments",
|
|
10519
|
+
"description": "Comments for the most recent edit to the language group.",
|
|
10520
|
+
"examples": [
|
|
10521
|
+
"Added Spanish support."
|
|
10522
|
+
]
|
|
9687
10523
|
},
|
|
9688
|
-
"
|
|
9689
|
-
"
|
|
9690
|
-
|
|
9691
|
-
|
|
9692
|
-
|
|
10524
|
+
"agent_count": {
|
|
10525
|
+
"anyOf": [
|
|
10526
|
+
{
|
|
10527
|
+
"type": "integer"
|
|
10528
|
+
},
|
|
10529
|
+
{
|
|
10530
|
+
"type": "null"
|
|
10531
|
+
}
|
|
10532
|
+
],
|
|
10533
|
+
"title": "Agent Count",
|
|
10534
|
+
"description": "Number of agents associated with the language group.",
|
|
10535
|
+
"examples": [
|
|
10536
|
+
1
|
|
10537
|
+
]
|
|
9693
10538
|
},
|
|
9694
10539
|
"last_updated_by": {
|
|
9695
10540
|
"type": "string",
|
|
9696
10541
|
"title": "Last Updated By",
|
|
9697
|
-
"description": "
|
|
10542
|
+
"description": "Email of the user who last updated the language group.",
|
|
10543
|
+
"examples": [
|
|
10544
|
+
"user@mail.com"
|
|
10545
|
+
]
|
|
9698
10546
|
}
|
|
9699
10547
|
},
|
|
9700
10548
|
"type": "object",
|
|
9701
10549
|
"required": [
|
|
9702
10550
|
"name",
|
|
9703
|
-
"
|
|
9704
|
-
"
|
|
9705
|
-
"conditions",
|
|
9706
|
-
"status",
|
|
10551
|
+
"language_configs",
|
|
10552
|
+
"skip_current_language_in_message",
|
|
9707
10553
|
"id",
|
|
9708
|
-
"insight_tools",
|
|
9709
10554
|
"last_updated_by"
|
|
9710
10555
|
],
|
|
9711
|
-
"title": "
|
|
9712
|
-
},
|
|
9713
|
-
"InsightWorkflowProperties": {
|
|
9714
|
-
"type": "string",
|
|
9715
|
-
"enum": [
|
|
9716
|
-
"id",
|
|
9717
|
-
"name",
|
|
9718
|
-
"description",
|
|
9719
|
-
"status",
|
|
9720
|
-
"conditions",
|
|
9721
|
-
"insight_tool_ids",
|
|
9722
|
-
"updated_at"
|
|
9723
|
-
],
|
|
9724
|
-
"title": "InsightWorkflowProperties"
|
|
10556
|
+
"title": "LanguageGroupResponse"
|
|
9725
10557
|
},
|
|
9726
|
-
"
|
|
10558
|
+
"LanguageGroupUpdateRequest": {
|
|
9727
10559
|
"properties": {
|
|
9728
|
-
"
|
|
10560
|
+
"name": {
|
|
9729
10561
|
"type": "string",
|
|
9730
|
-
"
|
|
9731
|
-
"
|
|
9732
|
-
"
|
|
9733
|
-
|
|
10562
|
+
"title": "Name",
|
|
10563
|
+
"description": "The name of the language group.",
|
|
10564
|
+
"examples": [
|
|
10565
|
+
"Call Center 1 Languages"
|
|
10566
|
+
]
|
|
9734
10567
|
},
|
|
9735
|
-
"
|
|
9736
|
-
"
|
|
9737
|
-
|
|
10568
|
+
"description": {
|
|
10569
|
+
"anyOf": [
|
|
10570
|
+
{
|
|
10571
|
+
"type": "string"
|
|
10572
|
+
},
|
|
10573
|
+
{
|
|
10574
|
+
"type": "null"
|
|
10575
|
+
}
|
|
10576
|
+
],
|
|
10577
|
+
"title": "Description",
|
|
10578
|
+
"description": "Description of the language group.",
|
|
10579
|
+
"examples": [
|
|
10580
|
+
"Languages spoken by operators at Call Center 1"
|
|
10581
|
+
]
|
|
10582
|
+
},
|
|
10583
|
+
"language_configs": {
|
|
10584
|
+
"items": {
|
|
10585
|
+
"$ref": "#/components/schemas/LanguageConfig"
|
|
10586
|
+
},
|
|
10587
|
+
"type": "array",
|
|
10588
|
+
"title": "Language Configs",
|
|
10589
|
+
"description": "Voice and DTMF configurations for each language in the group."
|
|
10590
|
+
},
|
|
10591
|
+
"skip_current_language_in_message": {
|
|
10592
|
+
"type": "boolean",
|
|
10593
|
+
"title": "Skip Current Language In Message",
|
|
10594
|
+
"description": "Whether a message using the language group to generate a language DTMF menu should skip the agent's current language in the menu."
|
|
10595
|
+
},
|
|
10596
|
+
"id": {
|
|
10597
|
+
"type": "integer",
|
|
10598
|
+
"title": "Id",
|
|
10599
|
+
"description": "The ID of the language group to update.",
|
|
10600
|
+
"examples": [
|
|
10601
|
+
1
|
|
10602
|
+
]
|
|
10603
|
+
},
|
|
10604
|
+
"edit_comments": {
|
|
10605
|
+
"anyOf": [
|
|
10606
|
+
{
|
|
10607
|
+
"type": "string"
|
|
10608
|
+
},
|
|
10609
|
+
{
|
|
10610
|
+
"type": "null"
|
|
10611
|
+
}
|
|
10612
|
+
],
|
|
10613
|
+
"title": "Edit Comments",
|
|
10614
|
+
"description": "Comments for the most recent edit to the language group.",
|
|
10615
|
+
"examples": [
|
|
10616
|
+
"Added Spanish support."
|
|
10617
|
+
]
|
|
9738
10618
|
}
|
|
9739
10619
|
},
|
|
9740
10620
|
"type": "object",
|
|
9741
10621
|
"required": [
|
|
9742
|
-
"
|
|
10622
|
+
"name",
|
|
10623
|
+
"language_configs",
|
|
10624
|
+
"skip_current_language_in_message",
|
|
10625
|
+
"id"
|
|
9743
10626
|
],
|
|
9744
|
-
"title": "
|
|
9745
|
-
"description": "A tool definition to be used by the OpenAI API."
|
|
10627
|
+
"title": "LanguageGroupUpdateRequest"
|
|
9746
10628
|
},
|
|
9747
10629
|
"ListResponse_AgentResponse_": {
|
|
9748
10630
|
"properties": {
|
|
@@ -10320,6 +11202,54 @@
|
|
|
10320
11202
|
],
|
|
10321
11203
|
"title": "ListResponse[InsightWorkflowOutput]"
|
|
10322
11204
|
},
|
|
11205
|
+
"ListResponse_LanguageGroupResponse_": {
|
|
11206
|
+
"properties": {
|
|
11207
|
+
"items": {
|
|
11208
|
+
"items": {
|
|
11209
|
+
"$ref": "#/components/schemas/LanguageGroupResponse"
|
|
11210
|
+
},
|
|
11211
|
+
"type": "array",
|
|
11212
|
+
"title": "Items"
|
|
11213
|
+
},
|
|
11214
|
+
"page": {
|
|
11215
|
+
"type": "integer",
|
|
11216
|
+
"title": "Page"
|
|
11217
|
+
},
|
|
11218
|
+
"page_size": {
|
|
11219
|
+
"type": "integer",
|
|
11220
|
+
"title": "Page Size"
|
|
11221
|
+
},
|
|
11222
|
+
"total_pages": {
|
|
11223
|
+
"anyOf": [
|
|
11224
|
+
{
|
|
11225
|
+
"type": "integer"
|
|
11226
|
+
},
|
|
11227
|
+
{
|
|
11228
|
+
"type": "null"
|
|
11229
|
+
}
|
|
11230
|
+
],
|
|
11231
|
+
"title": "Total Pages"
|
|
11232
|
+
},
|
|
11233
|
+
"total_count": {
|
|
11234
|
+
"anyOf": [
|
|
11235
|
+
{
|
|
11236
|
+
"type": "integer"
|
|
11237
|
+
},
|
|
11238
|
+
{
|
|
11239
|
+
"type": "null"
|
|
11240
|
+
}
|
|
11241
|
+
],
|
|
11242
|
+
"title": "Total Count"
|
|
11243
|
+
}
|
|
11244
|
+
},
|
|
11245
|
+
"type": "object",
|
|
11246
|
+
"required": [
|
|
11247
|
+
"items",
|
|
11248
|
+
"page",
|
|
11249
|
+
"page_size"
|
|
11250
|
+
],
|
|
11251
|
+
"title": "ListResponse[LanguageGroupResponse]"
|
|
11252
|
+
},
|
|
10323
11253
|
"ListResponse_PromptResponse_": {
|
|
10324
11254
|
"properties": {
|
|
10325
11255
|
"items": {
|
|
@@ -10734,6 +11664,12 @@
|
|
|
10734
11664
|
"llm_config": {
|
|
10735
11665
|
"$ref": "#/components/schemas/PromptLlmConfig",
|
|
10736
11666
|
"description": "The configuration for the LLM that the prompt uses"
|
|
11667
|
+
},
|
|
11668
|
+
"include_default_tools": {
|
|
11669
|
+
"type": "boolean",
|
|
11670
|
+
"title": "Include Default Tools",
|
|
11671
|
+
"description": "Whether to include the default tools (`hangup`, `summary`) in the list of tools for the prompt. If you disable this during creation, you might want to disable it during updates as well, otherwise the default tools will be added when updating the prompt.",
|
|
11672
|
+
"default": true
|
|
10737
11673
|
}
|
|
10738
11674
|
},
|
|
10739
11675
|
"type": "object",
|
|
@@ -11081,6 +12017,12 @@
|
|
|
11081
12017
|
],
|
|
11082
12018
|
"title": "Edit Comments",
|
|
11083
12019
|
"description": "The comments for the most recent edit to the prompt"
|
|
12020
|
+
},
|
|
12021
|
+
"include_default_tools": {
|
|
12022
|
+
"type": "boolean",
|
|
12023
|
+
"title": "Include Default Tools",
|
|
12024
|
+
"description": "Whether to include the default tools (`hangup`, `summary`) in the list of tools for the prompt. If you remove one of the default tools from your prompt, you might want to disable this option so that the tool is not added again when updated.",
|
|
12025
|
+
"default": true
|
|
11084
12026
|
}
|
|
11085
12027
|
},
|
|
11086
12028
|
"type": "object",
|
|
@@ -11763,8 +12705,27 @@
|
|
|
11763
12705
|
],
|
|
11764
12706
|
"title": "Recordings",
|
|
11765
12707
|
"description": "List of recording URLs"
|
|
12708
|
+
}
|
|
12709
|
+
},
|
|
12710
|
+
"type": "object",
|
|
12711
|
+
"title": "SessionRecordingResponse",
|
|
12712
|
+
"description": "Recording URLs for a given session."
|
|
12713
|
+
},
|
|
12714
|
+
"SessionSummaryResponse": {
|
|
12715
|
+
"properties": {
|
|
12716
|
+
"summary": {
|
|
12717
|
+
"anyOf": [
|
|
12718
|
+
{
|
|
12719
|
+
"type": "string"
|
|
12720
|
+
},
|
|
12721
|
+
{
|
|
12722
|
+
"type": "null"
|
|
12723
|
+
}
|
|
12724
|
+
],
|
|
12725
|
+
"title": "Summary",
|
|
12726
|
+
"description": "The AI summary of the session"
|
|
11766
12727
|
},
|
|
11767
|
-
"
|
|
12728
|
+
"rating": {
|
|
11768
12729
|
"anyOf": [
|
|
11769
12730
|
{
|
|
11770
12731
|
"type": "string"
|
|
@@ -11773,13 +12734,13 @@
|
|
|
11773
12734
|
"type": "null"
|
|
11774
12735
|
}
|
|
11775
12736
|
],
|
|
11776
|
-
"title": "
|
|
11777
|
-
"description": "
|
|
12737
|
+
"title": "Rating",
|
|
12738
|
+
"description": "The AI rating of the session"
|
|
11778
12739
|
}
|
|
11779
12740
|
},
|
|
11780
12741
|
"type": "object",
|
|
11781
|
-
"title": "
|
|
11782
|
-
"description": "
|
|
12742
|
+
"title": "SessionSummaryResponse",
|
|
12743
|
+
"description": "Summary for a given session."
|
|
11783
12744
|
},
|
|
11784
12745
|
"SessionText": {
|
|
11785
12746
|
"properties": {
|
|
@@ -11934,16 +12895,6 @@
|
|
|
11934
12895
|
"title": "StaticToolParameterType",
|
|
11935
12896
|
"description": "The expected type for a static tool parameter."
|
|
11936
12897
|
},
|
|
11937
|
-
"SttProvider": {
|
|
11938
|
-
"type": "string",
|
|
11939
|
-
"enum": [
|
|
11940
|
-
"OpenAI",
|
|
11941
|
-
"ElevenLabs",
|
|
11942
|
-
"Google"
|
|
11943
|
-
],
|
|
11944
|
-
"title": "SttProvider",
|
|
11945
|
-
"description": "Provider for an agent voice."
|
|
11946
|
-
},
|
|
11947
12898
|
"TargetModes": {
|
|
11948
12899
|
"type": "string",
|
|
11949
12900
|
"enum": [
|
|
@@ -12692,6 +13643,16 @@
|
|
|
12692
13643
|
],
|
|
12693
13644
|
"title": "ToolUpdateRequest"
|
|
12694
13645
|
},
|
|
13646
|
+
"TtsProvider": {
|
|
13647
|
+
"type": "string",
|
|
13648
|
+
"enum": [
|
|
13649
|
+
"OpenAI",
|
|
13650
|
+
"ElevenLabs",
|
|
13651
|
+
"Google"
|
|
13652
|
+
],
|
|
13653
|
+
"title": "TtsProvider",
|
|
13654
|
+
"description": "TTS provider for an agent voice."
|
|
13655
|
+
},
|
|
12695
13656
|
"ValidationError": {
|
|
12696
13657
|
"properties": {
|
|
12697
13658
|
"loc": {
|
|
@@ -12783,6 +13744,10 @@
|
|
|
12783
13744
|
"name": "insights.workflows",
|
|
12784
13745
|
"description": "Operations related to insights workflows. An workflow is series of tool invocations that processes conversation data to extract information and generate reports."
|
|
12785
13746
|
},
|
|
13747
|
+
{
|
|
13748
|
+
"name": "language_groups",
|
|
13749
|
+
"description": "Operations related to language groups. A language group is a collection of language, voice, and DTMF configuration that can be linked to an agent to define the languages and voices it supports."
|
|
13750
|
+
},
|
|
12786
13751
|
{
|
|
12787
13752
|
"name": "outbound.campaigns",
|
|
12788
13753
|
"description": "Operations related to outbound message campaigns"
|