syllable-sdk 0.1.0-alpha.59 → 0.1.0-alpha.60
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/FUNCTIONS.md +11 -1
- package/README.md +75 -6
- package/docs/sdks/agents/README.md +23 -3
- package/docs/sdks/channels/README.md +22 -2
- package/docs/sdks/conversations/README.md +22 -2
- package/docs/sdks/custommessages/README.md +23 -3
- package/docs/sdks/dashboards/README.md +22 -2
- package/docs/sdks/datasources/README.md +23 -3
- package/docs/sdks/events/README.md +22 -2
- package/docs/sdks/languagegroups/README.md +23 -3
- package/docs/sdks/prompts/README.md +23 -3
- package/docs/sdks/services/README.md +22 -2
- package/docs/sdks/sessiondebug/README.md +245 -0
- package/docs/sdks/sessionlabels/README.md +23 -3
- package/docs/sdks/sessions/README.md +23 -3
- package/docs/sdks/syllablesdktools/README.md +22 -2
- package/docs/sdks/targets/README.md +45 -5
- package/docs/sdks/tools/README.md +23 -3
- package/docs/sdks/v1/README.md +22 -2
- package/docs/sdks/workflows/README.md +22 -2
- package/funcs/sessionDebugGetSessionDataBySessionId.d.ts +14 -0
- package/funcs/sessionDebugGetSessionDataBySessionId.d.ts.map +1 -0
- package/funcs/sessionDebugGetSessionDataBySessionId.js +105 -0
- package/funcs/sessionDebugGetSessionDataBySessionId.js.map +1 -0
- package/funcs/sessionDebugGetSessionDataBySid.d.ts +14 -0
- package/funcs/sessionDebugGetSessionDataBySid.d.ts.map +1 -0
- package/funcs/sessionDebugGetSessionDataBySid.js +103 -0
- package/funcs/sessionDebugGetSessionDataBySid.js.map +1 -0
- package/funcs/sessionDebugGetSessionToolCallResultById.d.ts +14 -0
- package/funcs/sessionDebugGetSessionToolCallResultById.d.ts.map +1 -0
- package/funcs/sessionDebugGetSessionToolCallResultById.js +109 -0
- package/funcs/sessionDebugGetSessionToolCallResultById.js.map +1 -0
- package/jsr.json +1 -1
- package/lib/config.d.ts +2 -2
- package/lib/config.js +2 -2
- package/mintlify/mint.json +2 -9
- package/models/components/agentresponse.d.ts +2 -1
- package/models/components/agentresponse.d.ts.map +1 -1
- package/models/components/agentresponse.js.map +1 -1
- package/models/components/channeltargetresponse.d.ts +2 -1
- package/models/components/channeltargetresponse.d.ts.map +1 -1
- package/models/components/channeltargetresponse.js.map +1 -1
- package/models/components/custommessageresponse.d.ts +2 -1
- package/models/components/custommessageresponse.d.ts.map +1 -1
- package/models/components/custommessageresponse.js.map +1 -1
- package/models/components/datasourcedetailresponse.d.ts +6 -1
- package/models/components/datasourcedetailresponse.d.ts.map +1 -1
- package/models/components/datasourcedetailresponse.js.map +1 -1
- package/models/components/datasourcemetadataresponse.d.ts +6 -1
- package/models/components/datasourcemetadataresponse.d.ts.map +1 -1
- package/models/components/datasourcemetadataresponse.js.map +1 -1
- package/models/components/dialogmessage.d.ts +29 -0
- package/models/components/dialogmessage.d.ts.map +1 -0
- package/models/components/dialogmessage.js +59 -0
- package/models/components/dialogmessage.js.map +1 -0
- package/models/components/dialogrole.d.ts +28 -0
- package/models/components/dialogrole.d.ts.map +1 -0
- package/models/components/dialogrole.js +51 -0
- package/models/components/dialogrole.js.map +1 -0
- package/models/components/dialogtoolcall.d.ts +56 -0
- package/models/components/dialogtoolcall.d.ts.map +1 -0
- package/models/components/dialogtoolcall.js +101 -0
- package/models/components/dialogtoolcall.js.map +1 -0
- package/models/components/index.d.ts +6 -0
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +6 -0
- package/models/components/index.js.map +1 -1
- package/models/components/languagegroupresponse.d.ts +7 -0
- package/models/components/languagegroupresponse.d.ts.map +1 -1
- package/models/components/languagegroupresponse.js.map +1 -1
- package/models/components/promptresponse.d.ts +2 -1
- package/models/components/promptresponse.d.ts.map +1 -1
- package/models/components/promptresponse.js.map +1 -1
- package/models/components/sessiondata.d.ts +38 -0
- package/models/components/sessiondata.d.ts.map +1 -0
- package/models/components/sessiondata.js +79 -0
- package/models/components/sessiondata.js.map +1 -0
- package/models/components/sessionmessage.d.ts +38 -0
- package/models/components/sessionmessage.d.ts.map +1 -0
- package/models/components/sessionmessage.js +77 -0
- package/models/components/sessionmessage.js.map +1 -0
- package/models/components/sessiontranscriptionresponse.d.ts +4 -1
- package/models/components/sessiontranscriptionresponse.d.ts.map +1 -1
- package/models/components/sessiontranscriptionresponse.js.map +1 -1
- package/models/components/testmessage.d.ts +5 -3
- package/models/components/testmessage.d.ts.map +1 -1
- package/models/components/testmessage.js +2 -2
- package/models/components/testmessage.js.map +1 -1
- package/models/components/tooldetailresponse.d.ts +1 -0
- package/models/components/tooldetailresponse.d.ts.map +1 -1
- package/models/components/tooldetailresponse.js.map +1 -1
- package/models/components/toolresponse.d.ts +1 -0
- package/models/components/toolresponse.d.ts.map +1 -1
- package/models/components/toolresponse.js.map +1 -1
- package/models/components/toolresultdata.d.ts +52 -0
- package/models/components/toolresultdata.d.ts.map +1 -0
- package/models/components/toolresultdata.js +95 -0
- package/models/components/toolresultdata.js.map +1 -0
- package/models/operations/agentlist.d.ts +27 -0
- package/models/operations/agentlist.d.ts.map +1 -1
- package/models/operations/agentlist.js.map +1 -1
- package/models/operations/availabletargets.d.ts +27 -0
- package/models/operations/availabletargets.d.ts.map +1 -1
- package/models/operations/availabletargets.js.map +1 -1
- package/models/operations/channelslist.d.ts +27 -0
- package/models/operations/channelslist.d.ts.map +1 -1
- package/models/operations/channelslist.js.map +1 -1
- package/models/operations/channeltargetslist.d.ts +27 -0
- package/models/operations/channeltargetslist.d.ts.map +1 -1
- package/models/operations/channeltargetslist.js.map +1 -1
- package/models/operations/conversationslist.d.ts +27 -0
- package/models/operations/conversationslist.d.ts.map +1 -1
- package/models/operations/conversationslist.js.map +1 -1
- package/models/operations/custommessageslist.d.ts +27 -0
- package/models/operations/custommessageslist.d.ts.map +1 -1
- package/models/operations/custommessageslist.js.map +1 -1
- package/models/operations/datasourceslist.d.ts +27 -0
- package/models/operations/datasourceslist.d.ts.map +1 -1
- package/models/operations/datasourceslist.js.map +1 -1
- package/models/operations/eventslist.d.ts +27 -0
- package/models/operations/eventslist.d.ts.map +1 -1
- package/models/operations/eventslist.js.map +1 -1
- package/models/operations/getsessiondatabysessionid.d.ts +29 -0
- package/models/operations/getsessiondatabysessionid.d.ts.map +1 -0
- package/models/operations/getsessiondatabysessionid.js +68 -0
- package/models/operations/getsessiondatabysessionid.js.map +1 -0
- package/models/operations/getsessiondatabysid.d.ts +31 -0
- package/models/operations/getsessiondatabysid.d.ts.map +1 -0
- package/models/operations/getsessiondatabysid.js +72 -0
- package/models/operations/getsessiondatabysid.js.map +1 -0
- package/models/operations/getsessiontoolcallresultbyid.d.ts +31 -0
- package/models/operations/getsessiontoolcallresultbyid.d.ts.map +1 -0
- package/models/operations/getsessiontoolcallresultbyid.js +72 -0
- package/models/operations/getsessiontoolcallresultbyid.js.map +1 -0
- package/models/operations/index.d.ts +3 -0
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +3 -0
- package/models/operations/index.js.map +1 -1
- package/models/operations/insightsworkflowlist.d.ts +27 -0
- package/models/operations/insightsworkflowlist.d.ts.map +1 -1
- package/models/operations/insightsworkflowlist.js.map +1 -1
- package/models/operations/insighttoollist.d.ts +27 -0
- package/models/operations/insighttoollist.d.ts.map +1 -1
- package/models/operations/insighttoollist.js.map +1 -1
- package/models/operations/languagegroupslist.d.ts +27 -0
- package/models/operations/languagegroupslist.d.ts.map +1 -1
- package/models/operations/languagegroupslist.js.map +1 -1
- package/models/operations/postlistdashboard.d.ts +27 -0
- package/models/operations/postlistdashboard.d.ts.map +1 -1
- package/models/operations/postlistdashboard.js.map +1 -1
- package/models/operations/promptslist.d.ts +27 -0
- package/models/operations/promptslist.d.ts.map +1 -1
- package/models/operations/promptslist.js.map +1 -1
- package/models/operations/servicelist.d.ts +27 -0
- package/models/operations/servicelist.d.ts.map +1 -1
- package/models/operations/servicelist.js.map +1 -1
- package/models/operations/sessionlabelslist.d.ts +27 -0
- package/models/operations/sessionlabelslist.d.ts.map +1 -1
- package/models/operations/sessionlabelslist.js.map +1 -1
- package/models/operations/sessionslist.d.ts +27 -0
- package/models/operations/sessionslist.d.ts.map +1 -1
- package/models/operations/sessionslist.js.map +1 -1
- package/models/operations/toollist.d.ts +27 -0
- package/models/operations/toollist.d.ts.map +1 -1
- package/models/operations/toollist.js.map +1 -1
- package/openapi.json +1287 -203
- package/package.json +1 -1
- package/sdk/sdk.d.ts +3 -0
- package/sdk/sdk.d.ts.map +1 -1
- package/sdk/sdk.js +4 -0
- package/sdk/sdk.js.map +1 -1
- package/sdk/sessiondebug.d.ts +18 -0
- package/sdk/sessiondebug.d.ts.map +1 -0
- package/sdk/sessiondebug.js +33 -0
- package/sdk/sessiondebug.js.map +1 -0
- package/src/funcs/sessionDebugGetSessionDataBySessionId.ts +142 -0
- package/src/funcs/sessionDebugGetSessionDataBySid.ts +148 -0
- package/src/funcs/sessionDebugGetSessionToolCallResultById.ts +148 -0
- package/src/lib/config.ts +2 -2
- package/src/models/components/agentresponse.ts +2 -1
- package/src/models/components/channeltargetresponse.ts +2 -1
- package/src/models/components/custommessageresponse.ts +2 -1
- package/src/models/components/datasourcedetailresponse.ts +6 -1
- package/src/models/components/datasourcemetadataresponse.ts +6 -1
- package/src/models/components/dialogmessage.ts +62 -0
- package/src/models/components/dialogrole.ts +31 -0
- package/src/models/components/dialogtoolcall.ts +139 -0
- package/src/models/components/index.ts +6 -0
- package/src/models/components/languagegroupresponse.ts +7 -0
- package/src/models/components/promptresponse.ts +2 -1
- package/src/models/components/sessiondata.ts +95 -0
- package/src/models/components/sessionmessage.ts +100 -0
- package/src/models/components/sessiontranscriptionresponse.ts +4 -1
- package/src/models/components/testmessage.ts +7 -5
- package/src/models/components/tooldetailresponse.ts +1 -0
- package/src/models/components/toolresponse.ts +1 -0
- package/src/models/components/toolresultdata.ts +123 -0
- package/src/models/operations/agentlist.ts +27 -0
- package/src/models/operations/availabletargets.ts +27 -0
- package/src/models/operations/channelslist.ts +27 -0
- package/src/models/operations/channeltargetslist.ts +27 -0
- package/src/models/operations/conversationslist.ts +27 -0
- package/src/models/operations/custommessageslist.ts +27 -0
- package/src/models/operations/datasourceslist.ts +27 -0
- package/src/models/operations/eventslist.ts +27 -0
- package/src/models/operations/getsessiondatabysessionid.ts +77 -0
- package/src/models/operations/getsessiondatabysid.ts +81 -0
- package/src/models/operations/getsessiontoolcallresultbyid.ts +86 -0
- package/src/models/operations/index.ts +3 -0
- package/src/models/operations/insightsworkflowlist.ts +27 -0
- package/src/models/operations/insighttoollist.ts +27 -0
- package/src/models/operations/languagegroupslist.ts +27 -0
- package/src/models/operations/postlistdashboard.ts +27 -0
- package/src/models/operations/promptslist.ts +27 -0
- package/src/models/operations/servicelist.ts +27 -0
- package/src/models/operations/sessionlabelslist.ts +27 -0
- package/src/models/operations/sessionslist.ts +27 -0
- package/src/models/operations/toollist.ts +27 -0
- package/src/sdk/sdk.ts +6 -0
- package/src/sdk/sessiondebug.ts +55 -0
|
@@ -10,14 +10,41 @@ import * as components from "../components/index.js";
|
|
|
10
10
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
11
11
|
|
|
12
12
|
export type AgentListRequest = {
|
|
13
|
+
/**
|
|
14
|
+
* The page number from which to start (0-indexed)
|
|
15
|
+
*/
|
|
13
16
|
page?: number | null | undefined;
|
|
17
|
+
/**
|
|
18
|
+
* The maximum number of items to return
|
|
19
|
+
*/
|
|
14
20
|
limit?: number | undefined;
|
|
21
|
+
/**
|
|
22
|
+
* String names of fields to search. Correspond by index to search field values
|
|
23
|
+
*/
|
|
15
24
|
searchFields?: Array<components.AgentProperties> | undefined;
|
|
25
|
+
/**
|
|
26
|
+
* Values of fields to search. Correspond by index to search fields. Unless field name contains "list", an individual search field value cannot be a list
|
|
27
|
+
*/
|
|
16
28
|
searchFieldValues?: Array<string> | undefined;
|
|
29
|
+
/**
|
|
30
|
+
* The field whose value should be used to order the results
|
|
31
|
+
*/
|
|
17
32
|
orderBy?: components.AgentProperties | null | undefined;
|
|
33
|
+
/**
|
|
34
|
+
* The direction in which to order the results
|
|
35
|
+
*/
|
|
18
36
|
orderByDirection?: components.OrderByDirection | null | undefined;
|
|
37
|
+
/**
|
|
38
|
+
* The fields to include in the response
|
|
39
|
+
*/
|
|
19
40
|
fields?: Array<components.AgentProperties> | null | undefined;
|
|
41
|
+
/**
|
|
42
|
+
* The start datetime for filtering results
|
|
43
|
+
*/
|
|
20
44
|
startDatetime?: string | null | undefined;
|
|
45
|
+
/**
|
|
46
|
+
* The end datetime for filtering results
|
|
47
|
+
*/
|
|
21
48
|
endDatetime?: string | null | undefined;
|
|
22
49
|
};
|
|
23
50
|
|
|
@@ -10,14 +10,41 @@ import * as components from "../components/index.js";
|
|
|
10
10
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
11
11
|
|
|
12
12
|
export type AvailableTargetsRequest = {
|
|
13
|
+
/**
|
|
14
|
+
* The page number from which to start (0-indexed)
|
|
15
|
+
*/
|
|
13
16
|
page?: number | null | undefined;
|
|
17
|
+
/**
|
|
18
|
+
* The maximum number of items to return
|
|
19
|
+
*/
|
|
14
20
|
limit?: number | undefined;
|
|
21
|
+
/**
|
|
22
|
+
* String names of fields to search. Correspond by index to search field values
|
|
23
|
+
*/
|
|
15
24
|
searchFields?: Array<components.AvailableTargetProperties> | undefined;
|
|
25
|
+
/**
|
|
26
|
+
* Values of fields to search. Correspond by index to search fields. Unless field name contains "list", an individual search field value cannot be a list
|
|
27
|
+
*/
|
|
16
28
|
searchFieldValues?: Array<string> | undefined;
|
|
29
|
+
/**
|
|
30
|
+
* The field whose value should be used to order the results
|
|
31
|
+
*/
|
|
17
32
|
orderBy?: components.AvailableTargetProperties | null | undefined;
|
|
33
|
+
/**
|
|
34
|
+
* The direction in which to order the results
|
|
35
|
+
*/
|
|
18
36
|
orderByDirection?: components.OrderByDirection | null | undefined;
|
|
37
|
+
/**
|
|
38
|
+
* The fields to include in the response
|
|
39
|
+
*/
|
|
19
40
|
fields?: Array<components.AvailableTargetProperties> | null | undefined;
|
|
41
|
+
/**
|
|
42
|
+
* The start datetime for filtering results
|
|
43
|
+
*/
|
|
20
44
|
startDatetime?: string | null | undefined;
|
|
45
|
+
/**
|
|
46
|
+
* The end datetime for filtering results
|
|
47
|
+
*/
|
|
21
48
|
endDatetime?: string | null | undefined;
|
|
22
49
|
};
|
|
23
50
|
|
|
@@ -10,14 +10,41 @@ import * as components from "../components/index.js";
|
|
|
10
10
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
11
11
|
|
|
12
12
|
export type ChannelsListRequest = {
|
|
13
|
+
/**
|
|
14
|
+
* The page number from which to start (0-indexed)
|
|
15
|
+
*/
|
|
13
16
|
page?: number | null | undefined;
|
|
17
|
+
/**
|
|
18
|
+
* The maximum number of items to return
|
|
19
|
+
*/
|
|
14
20
|
limit?: number | undefined;
|
|
21
|
+
/**
|
|
22
|
+
* String names of fields to search. Correspond by index to search field values
|
|
23
|
+
*/
|
|
15
24
|
searchFields?: Array<components.ChannelProperties> | undefined;
|
|
25
|
+
/**
|
|
26
|
+
* Values of fields to search. Correspond by index to search fields. Unless field name contains "list", an individual search field value cannot be a list
|
|
27
|
+
*/
|
|
16
28
|
searchFieldValues?: Array<string> | undefined;
|
|
29
|
+
/**
|
|
30
|
+
* The field whose value should be used to order the results
|
|
31
|
+
*/
|
|
17
32
|
orderBy?: components.ChannelProperties | null | undefined;
|
|
33
|
+
/**
|
|
34
|
+
* The direction in which to order the results
|
|
35
|
+
*/
|
|
18
36
|
orderByDirection?: components.OrderByDirection | null | undefined;
|
|
37
|
+
/**
|
|
38
|
+
* The fields to include in the response
|
|
39
|
+
*/
|
|
19
40
|
fields?: Array<components.ChannelProperties> | null | undefined;
|
|
41
|
+
/**
|
|
42
|
+
* The start datetime for filtering results
|
|
43
|
+
*/
|
|
20
44
|
startDatetime?: string | null | undefined;
|
|
45
|
+
/**
|
|
46
|
+
* The end datetime for filtering results
|
|
47
|
+
*/
|
|
21
48
|
endDatetime?: string | null | undefined;
|
|
22
49
|
};
|
|
23
50
|
|
|
@@ -10,14 +10,41 @@ import * as components from "../components/index.js";
|
|
|
10
10
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
11
11
|
|
|
12
12
|
export type ChannelTargetsListRequest = {
|
|
13
|
+
/**
|
|
14
|
+
* The page number from which to start (0-indexed)
|
|
15
|
+
*/
|
|
13
16
|
page?: number | null | undefined;
|
|
17
|
+
/**
|
|
18
|
+
* The maximum number of items to return
|
|
19
|
+
*/
|
|
14
20
|
limit?: number | undefined;
|
|
21
|
+
/**
|
|
22
|
+
* String names of fields to search. Correspond by index to search field values
|
|
23
|
+
*/
|
|
15
24
|
searchFields?: Array<components.ChannelTargetProperties> | undefined;
|
|
25
|
+
/**
|
|
26
|
+
* Values of fields to search. Correspond by index to search fields. Unless field name contains "list", an individual search field value cannot be a list
|
|
27
|
+
*/
|
|
16
28
|
searchFieldValues?: Array<string> | undefined;
|
|
29
|
+
/**
|
|
30
|
+
* The field whose value should be used to order the results
|
|
31
|
+
*/
|
|
17
32
|
orderBy?: components.ChannelTargetProperties | null | undefined;
|
|
33
|
+
/**
|
|
34
|
+
* The direction in which to order the results
|
|
35
|
+
*/
|
|
18
36
|
orderByDirection?: components.OrderByDirection | null | undefined;
|
|
37
|
+
/**
|
|
38
|
+
* The fields to include in the response
|
|
39
|
+
*/
|
|
19
40
|
fields?: Array<components.ChannelTargetProperties> | null | undefined;
|
|
41
|
+
/**
|
|
42
|
+
* The start datetime for filtering results
|
|
43
|
+
*/
|
|
20
44
|
startDatetime?: string | null | undefined;
|
|
45
|
+
/**
|
|
46
|
+
* The end datetime for filtering results
|
|
47
|
+
*/
|
|
21
48
|
endDatetime?: string | null | undefined;
|
|
22
49
|
};
|
|
23
50
|
|
|
@@ -10,14 +10,41 @@ import * as components from "../components/index.js";
|
|
|
10
10
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
11
11
|
|
|
12
12
|
export type ConversationsListRequest = {
|
|
13
|
+
/**
|
|
14
|
+
* The page number from which to start (0-indexed)
|
|
15
|
+
*/
|
|
13
16
|
page?: number | null | undefined;
|
|
17
|
+
/**
|
|
18
|
+
* The maximum number of items to return
|
|
19
|
+
*/
|
|
14
20
|
limit?: number | undefined;
|
|
21
|
+
/**
|
|
22
|
+
* String names of fields to search. Correspond by index to search field values
|
|
23
|
+
*/
|
|
15
24
|
searchFields?: Array<components.ConversationProperties> | undefined;
|
|
25
|
+
/**
|
|
26
|
+
* Values of fields to search. Correspond by index to search fields. Unless field name contains "list", an individual search field value cannot be a list
|
|
27
|
+
*/
|
|
16
28
|
searchFieldValues?: Array<string> | undefined;
|
|
29
|
+
/**
|
|
30
|
+
* The field whose value should be used to order the results
|
|
31
|
+
*/
|
|
17
32
|
orderBy?: components.ConversationProperties | null | undefined;
|
|
33
|
+
/**
|
|
34
|
+
* The direction in which to order the results
|
|
35
|
+
*/
|
|
18
36
|
orderByDirection?: components.OrderByDirection | null | undefined;
|
|
37
|
+
/**
|
|
38
|
+
* The fields to include in the response
|
|
39
|
+
*/
|
|
19
40
|
fields?: Array<components.ConversationProperties> | null | undefined;
|
|
41
|
+
/**
|
|
42
|
+
* The start datetime for filtering results
|
|
43
|
+
*/
|
|
20
44
|
startDatetime?: string | null | undefined;
|
|
45
|
+
/**
|
|
46
|
+
* The end datetime for filtering results
|
|
47
|
+
*/
|
|
21
48
|
endDatetime?: string | null | undefined;
|
|
22
49
|
};
|
|
23
50
|
|
|
@@ -10,14 +10,41 @@ import * as components from "../components/index.js";
|
|
|
10
10
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
11
11
|
|
|
12
12
|
export type CustomMessagesListRequest = {
|
|
13
|
+
/**
|
|
14
|
+
* The page number from which to start (0-indexed)
|
|
15
|
+
*/
|
|
13
16
|
page?: number | null | undefined;
|
|
17
|
+
/**
|
|
18
|
+
* The maximum number of items to return
|
|
19
|
+
*/
|
|
14
20
|
limit?: number | undefined;
|
|
21
|
+
/**
|
|
22
|
+
* String names of fields to search. Correspond by index to search field values
|
|
23
|
+
*/
|
|
15
24
|
searchFields?: Array<components.CustomMessageProperties> | undefined;
|
|
25
|
+
/**
|
|
26
|
+
* Values of fields to search. Correspond by index to search fields. Unless field name contains "list", an individual search field value cannot be a list
|
|
27
|
+
*/
|
|
16
28
|
searchFieldValues?: Array<string> | undefined;
|
|
29
|
+
/**
|
|
30
|
+
* The field whose value should be used to order the results
|
|
31
|
+
*/
|
|
17
32
|
orderBy?: components.CustomMessageProperties | null | undefined;
|
|
33
|
+
/**
|
|
34
|
+
* The direction in which to order the results
|
|
35
|
+
*/
|
|
18
36
|
orderByDirection?: components.OrderByDirection | null | undefined;
|
|
37
|
+
/**
|
|
38
|
+
* The fields to include in the response
|
|
39
|
+
*/
|
|
19
40
|
fields?: Array<components.CustomMessageProperties> | null | undefined;
|
|
41
|
+
/**
|
|
42
|
+
* The start datetime for filtering results
|
|
43
|
+
*/
|
|
20
44
|
startDatetime?: string | null | undefined;
|
|
45
|
+
/**
|
|
46
|
+
* The end datetime for filtering results
|
|
47
|
+
*/
|
|
21
48
|
endDatetime?: string | null | undefined;
|
|
22
49
|
};
|
|
23
50
|
|
|
@@ -10,14 +10,41 @@ import * as components from "../components/index.js";
|
|
|
10
10
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
11
11
|
|
|
12
12
|
export type DataSourcesListRequest = {
|
|
13
|
+
/**
|
|
14
|
+
* The page number from which to start (0-indexed)
|
|
15
|
+
*/
|
|
13
16
|
page?: number | null | undefined;
|
|
17
|
+
/**
|
|
18
|
+
* The maximum number of items to return
|
|
19
|
+
*/
|
|
14
20
|
limit?: number | undefined;
|
|
21
|
+
/**
|
|
22
|
+
* String names of fields to search. Correspond by index to search field values
|
|
23
|
+
*/
|
|
15
24
|
searchFields?: Array<components.DataSourceProperties> | undefined;
|
|
25
|
+
/**
|
|
26
|
+
* Values of fields to search. Correspond by index to search fields. Unless field name contains "list", an individual search field value cannot be a list
|
|
27
|
+
*/
|
|
16
28
|
searchFieldValues?: Array<string> | undefined;
|
|
29
|
+
/**
|
|
30
|
+
* The field whose value should be used to order the results
|
|
31
|
+
*/
|
|
17
32
|
orderBy?: components.DataSourceProperties | null | undefined;
|
|
33
|
+
/**
|
|
34
|
+
* The direction in which to order the results
|
|
35
|
+
*/
|
|
18
36
|
orderByDirection?: components.OrderByDirection | null | undefined;
|
|
37
|
+
/**
|
|
38
|
+
* The fields to include in the response
|
|
39
|
+
*/
|
|
19
40
|
fields?: Array<components.DataSourceProperties> | null | undefined;
|
|
41
|
+
/**
|
|
42
|
+
* The start datetime for filtering results
|
|
43
|
+
*/
|
|
20
44
|
startDatetime?: string | null | undefined;
|
|
45
|
+
/**
|
|
46
|
+
* The end datetime for filtering results
|
|
47
|
+
*/
|
|
21
48
|
endDatetime?: string | null | undefined;
|
|
22
49
|
};
|
|
23
50
|
|
|
@@ -10,14 +10,41 @@ import * as components from "../components/index.js";
|
|
|
10
10
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
11
11
|
|
|
12
12
|
export type EventsListRequest = {
|
|
13
|
+
/**
|
|
14
|
+
* The page number from which to start (0-indexed)
|
|
15
|
+
*/
|
|
13
16
|
page?: number | null | undefined;
|
|
17
|
+
/**
|
|
18
|
+
* The maximum number of items to return
|
|
19
|
+
*/
|
|
14
20
|
limit?: number | undefined;
|
|
21
|
+
/**
|
|
22
|
+
* String names of fields to search. Correspond by index to search field values
|
|
23
|
+
*/
|
|
15
24
|
searchFields?: Array<components.EventProperties> | undefined;
|
|
25
|
+
/**
|
|
26
|
+
* Values of fields to search. Correspond by index to search fields. Unless field name contains "list", an individual search field value cannot be a list
|
|
27
|
+
*/
|
|
16
28
|
searchFieldValues?: Array<string> | undefined;
|
|
29
|
+
/**
|
|
30
|
+
* The field whose value should be used to order the results
|
|
31
|
+
*/
|
|
17
32
|
orderBy?: components.EventProperties | null | undefined;
|
|
33
|
+
/**
|
|
34
|
+
* The direction in which to order the results
|
|
35
|
+
*/
|
|
18
36
|
orderByDirection?: components.OrderByDirection | null | undefined;
|
|
37
|
+
/**
|
|
38
|
+
* The fields to include in the response
|
|
39
|
+
*/
|
|
19
40
|
fields?: Array<components.EventProperties> | null | undefined;
|
|
41
|
+
/**
|
|
42
|
+
* The start datetime for filtering results
|
|
43
|
+
*/
|
|
20
44
|
startDatetime?: string | null | undefined;
|
|
45
|
+
/**
|
|
46
|
+
* The end datetime for filtering results
|
|
47
|
+
*/
|
|
21
48
|
endDatetime?: string | null | undefined;
|
|
22
49
|
};
|
|
23
50
|
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod";
|
|
6
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
8
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
|
+
|
|
11
|
+
export type GetSessionDataBySessionIdRequest = {
|
|
12
|
+
sessionId: number;
|
|
13
|
+
};
|
|
14
|
+
|
|
15
|
+
/** @internal */
|
|
16
|
+
export const GetSessionDataBySessionIdRequest$inboundSchema: z.ZodType<
|
|
17
|
+
GetSessionDataBySessionIdRequest,
|
|
18
|
+
z.ZodTypeDef,
|
|
19
|
+
unknown
|
|
20
|
+
> = z.object({
|
|
21
|
+
session_id: z.number().int(),
|
|
22
|
+
}).transform((v) => {
|
|
23
|
+
return remap$(v, {
|
|
24
|
+
"session_id": "sessionId",
|
|
25
|
+
});
|
|
26
|
+
});
|
|
27
|
+
|
|
28
|
+
/** @internal */
|
|
29
|
+
export type GetSessionDataBySessionIdRequest$Outbound = {
|
|
30
|
+
session_id: number;
|
|
31
|
+
};
|
|
32
|
+
|
|
33
|
+
/** @internal */
|
|
34
|
+
export const GetSessionDataBySessionIdRequest$outboundSchema: z.ZodType<
|
|
35
|
+
GetSessionDataBySessionIdRequest$Outbound,
|
|
36
|
+
z.ZodTypeDef,
|
|
37
|
+
GetSessionDataBySessionIdRequest
|
|
38
|
+
> = z.object({
|
|
39
|
+
sessionId: z.number().int(),
|
|
40
|
+
}).transform((v) => {
|
|
41
|
+
return remap$(v, {
|
|
42
|
+
sessionId: "session_id",
|
|
43
|
+
});
|
|
44
|
+
});
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* @internal
|
|
48
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
49
|
+
*/
|
|
50
|
+
export namespace GetSessionDataBySessionIdRequest$ {
|
|
51
|
+
/** @deprecated use `GetSessionDataBySessionIdRequest$inboundSchema` instead. */
|
|
52
|
+
export const inboundSchema = GetSessionDataBySessionIdRequest$inboundSchema;
|
|
53
|
+
/** @deprecated use `GetSessionDataBySessionIdRequest$outboundSchema` instead. */
|
|
54
|
+
export const outboundSchema = GetSessionDataBySessionIdRequest$outboundSchema;
|
|
55
|
+
/** @deprecated use `GetSessionDataBySessionIdRequest$Outbound` instead. */
|
|
56
|
+
export type Outbound = GetSessionDataBySessionIdRequest$Outbound;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
export function getSessionDataBySessionIdRequestToJSON(
|
|
60
|
+
getSessionDataBySessionIdRequest: GetSessionDataBySessionIdRequest,
|
|
61
|
+
): string {
|
|
62
|
+
return JSON.stringify(
|
|
63
|
+
GetSessionDataBySessionIdRequest$outboundSchema.parse(
|
|
64
|
+
getSessionDataBySessionIdRequest,
|
|
65
|
+
),
|
|
66
|
+
);
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
export function getSessionDataBySessionIdRequestFromJSON(
|
|
70
|
+
jsonString: string,
|
|
71
|
+
): SafeParseResult<GetSessionDataBySessionIdRequest, SDKValidationError> {
|
|
72
|
+
return safeParse(
|
|
73
|
+
jsonString,
|
|
74
|
+
(x) => GetSessionDataBySessionIdRequest$inboundSchema.parse(JSON.parse(x)),
|
|
75
|
+
`Failed to parse 'GetSessionDataBySessionIdRequest' from JSON`,
|
|
76
|
+
);
|
|
77
|
+
}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod";
|
|
6
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
8
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
|
+
|
|
11
|
+
export type GetSessionDataBySidRequest = {
|
|
12
|
+
channelManagerService: string;
|
|
13
|
+
channelManagerSid: string;
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
/** @internal */
|
|
17
|
+
export const GetSessionDataBySidRequest$inboundSchema: z.ZodType<
|
|
18
|
+
GetSessionDataBySidRequest,
|
|
19
|
+
z.ZodTypeDef,
|
|
20
|
+
unknown
|
|
21
|
+
> = z.object({
|
|
22
|
+
channel_manager_service: z.string(),
|
|
23
|
+
channel_manager_sid: z.string(),
|
|
24
|
+
}).transform((v) => {
|
|
25
|
+
return remap$(v, {
|
|
26
|
+
"channel_manager_service": "channelManagerService",
|
|
27
|
+
"channel_manager_sid": "channelManagerSid",
|
|
28
|
+
});
|
|
29
|
+
});
|
|
30
|
+
|
|
31
|
+
/** @internal */
|
|
32
|
+
export type GetSessionDataBySidRequest$Outbound = {
|
|
33
|
+
channel_manager_service: string;
|
|
34
|
+
channel_manager_sid: string;
|
|
35
|
+
};
|
|
36
|
+
|
|
37
|
+
/** @internal */
|
|
38
|
+
export const GetSessionDataBySidRequest$outboundSchema: z.ZodType<
|
|
39
|
+
GetSessionDataBySidRequest$Outbound,
|
|
40
|
+
z.ZodTypeDef,
|
|
41
|
+
GetSessionDataBySidRequest
|
|
42
|
+
> = z.object({
|
|
43
|
+
channelManagerService: z.string(),
|
|
44
|
+
channelManagerSid: z.string(),
|
|
45
|
+
}).transform((v) => {
|
|
46
|
+
return remap$(v, {
|
|
47
|
+
channelManagerService: "channel_manager_service",
|
|
48
|
+
channelManagerSid: "channel_manager_sid",
|
|
49
|
+
});
|
|
50
|
+
});
|
|
51
|
+
|
|
52
|
+
/**
|
|
53
|
+
* @internal
|
|
54
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
55
|
+
*/
|
|
56
|
+
export namespace GetSessionDataBySidRequest$ {
|
|
57
|
+
/** @deprecated use `GetSessionDataBySidRequest$inboundSchema` instead. */
|
|
58
|
+
export const inboundSchema = GetSessionDataBySidRequest$inboundSchema;
|
|
59
|
+
/** @deprecated use `GetSessionDataBySidRequest$outboundSchema` instead. */
|
|
60
|
+
export const outboundSchema = GetSessionDataBySidRequest$outboundSchema;
|
|
61
|
+
/** @deprecated use `GetSessionDataBySidRequest$Outbound` instead. */
|
|
62
|
+
export type Outbound = GetSessionDataBySidRequest$Outbound;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
export function getSessionDataBySidRequestToJSON(
|
|
66
|
+
getSessionDataBySidRequest: GetSessionDataBySidRequest,
|
|
67
|
+
): string {
|
|
68
|
+
return JSON.stringify(
|
|
69
|
+
GetSessionDataBySidRequest$outboundSchema.parse(getSessionDataBySidRequest),
|
|
70
|
+
);
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
export function getSessionDataBySidRequestFromJSON(
|
|
74
|
+
jsonString: string,
|
|
75
|
+
): SafeParseResult<GetSessionDataBySidRequest, SDKValidationError> {
|
|
76
|
+
return safeParse(
|
|
77
|
+
jsonString,
|
|
78
|
+
(x) => GetSessionDataBySidRequest$inboundSchema.parse(JSON.parse(x)),
|
|
79
|
+
`Failed to parse 'GetSessionDataBySidRequest' from JSON`,
|
|
80
|
+
);
|
|
81
|
+
}
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod";
|
|
6
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
8
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
|
+
|
|
11
|
+
export type GetSessionToolCallResultByIdRequest = {
|
|
12
|
+
sessionId: number;
|
|
13
|
+
toolCallId: string;
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
/** @internal */
|
|
17
|
+
export const GetSessionToolCallResultByIdRequest$inboundSchema: z.ZodType<
|
|
18
|
+
GetSessionToolCallResultByIdRequest,
|
|
19
|
+
z.ZodTypeDef,
|
|
20
|
+
unknown
|
|
21
|
+
> = z.object({
|
|
22
|
+
session_id: z.number().int(),
|
|
23
|
+
tool_call_id: z.string(),
|
|
24
|
+
}).transform((v) => {
|
|
25
|
+
return remap$(v, {
|
|
26
|
+
"session_id": "sessionId",
|
|
27
|
+
"tool_call_id": "toolCallId",
|
|
28
|
+
});
|
|
29
|
+
});
|
|
30
|
+
|
|
31
|
+
/** @internal */
|
|
32
|
+
export type GetSessionToolCallResultByIdRequest$Outbound = {
|
|
33
|
+
session_id: number;
|
|
34
|
+
tool_call_id: string;
|
|
35
|
+
};
|
|
36
|
+
|
|
37
|
+
/** @internal */
|
|
38
|
+
export const GetSessionToolCallResultByIdRequest$outboundSchema: z.ZodType<
|
|
39
|
+
GetSessionToolCallResultByIdRequest$Outbound,
|
|
40
|
+
z.ZodTypeDef,
|
|
41
|
+
GetSessionToolCallResultByIdRequest
|
|
42
|
+
> = z.object({
|
|
43
|
+
sessionId: z.number().int(),
|
|
44
|
+
toolCallId: z.string(),
|
|
45
|
+
}).transform((v) => {
|
|
46
|
+
return remap$(v, {
|
|
47
|
+
sessionId: "session_id",
|
|
48
|
+
toolCallId: "tool_call_id",
|
|
49
|
+
});
|
|
50
|
+
});
|
|
51
|
+
|
|
52
|
+
/**
|
|
53
|
+
* @internal
|
|
54
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
55
|
+
*/
|
|
56
|
+
export namespace GetSessionToolCallResultByIdRequest$ {
|
|
57
|
+
/** @deprecated use `GetSessionToolCallResultByIdRequest$inboundSchema` instead. */
|
|
58
|
+
export const inboundSchema =
|
|
59
|
+
GetSessionToolCallResultByIdRequest$inboundSchema;
|
|
60
|
+
/** @deprecated use `GetSessionToolCallResultByIdRequest$outboundSchema` instead. */
|
|
61
|
+
export const outboundSchema =
|
|
62
|
+
GetSessionToolCallResultByIdRequest$outboundSchema;
|
|
63
|
+
/** @deprecated use `GetSessionToolCallResultByIdRequest$Outbound` instead. */
|
|
64
|
+
export type Outbound = GetSessionToolCallResultByIdRequest$Outbound;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
export function getSessionToolCallResultByIdRequestToJSON(
|
|
68
|
+
getSessionToolCallResultByIdRequest: GetSessionToolCallResultByIdRequest,
|
|
69
|
+
): string {
|
|
70
|
+
return JSON.stringify(
|
|
71
|
+
GetSessionToolCallResultByIdRequest$outboundSchema.parse(
|
|
72
|
+
getSessionToolCallResultByIdRequest,
|
|
73
|
+
),
|
|
74
|
+
);
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
export function getSessionToolCallResultByIdRequestFromJSON(
|
|
78
|
+
jsonString: string,
|
|
79
|
+
): SafeParseResult<GetSessionToolCallResultByIdRequest, SDKValidationError> {
|
|
80
|
+
return safeParse(
|
|
81
|
+
jsonString,
|
|
82
|
+
(x) =>
|
|
83
|
+
GetSessionToolCallResultByIdRequest$inboundSchema.parse(JSON.parse(x)),
|
|
84
|
+
`Failed to parse 'GetSessionToolCallResultByIdRequest' from JSON`,
|
|
85
|
+
);
|
|
86
|
+
}
|
|
@@ -22,6 +22,9 @@ export * from "./datasourceslist.js";
|
|
|
22
22
|
export * from "./directoryworkflowdelete.js";
|
|
23
23
|
export * from "./eventslist.js";
|
|
24
24
|
export * from "./generatesessionrecordingurls.js";
|
|
25
|
+
export * from "./getsessiondatabysessionid.js";
|
|
26
|
+
export * from "./getsessiondatabysid.js";
|
|
27
|
+
export * from "./getsessiontoolcallresultbyid.js";
|
|
25
28
|
export * from "./insightstoolupdate.js";
|
|
26
29
|
export * from "./insightsworkflowgetbyid.js";
|
|
27
30
|
export * from "./insightsworkflowlist.js";
|
|
@@ -10,14 +10,41 @@ import * as components from "../components/index.js";
|
|
|
10
10
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
11
11
|
|
|
12
12
|
export type InsightsWorkflowListRequest = {
|
|
13
|
+
/**
|
|
14
|
+
* The page number from which to start (0-indexed)
|
|
15
|
+
*/
|
|
13
16
|
page?: number | null | undefined;
|
|
17
|
+
/**
|
|
18
|
+
* The maximum number of items to return
|
|
19
|
+
*/
|
|
14
20
|
limit?: number | undefined;
|
|
21
|
+
/**
|
|
22
|
+
* String names of fields to search. Correspond by index to search field values
|
|
23
|
+
*/
|
|
15
24
|
searchFields?: Array<components.InsightWorkflowProperties> | undefined;
|
|
25
|
+
/**
|
|
26
|
+
* Values of fields to search. Correspond by index to search fields. Unless field name contains "list", an individual search field value cannot be a list
|
|
27
|
+
*/
|
|
16
28
|
searchFieldValues?: Array<string> | undefined;
|
|
29
|
+
/**
|
|
30
|
+
* The field whose value should be used to order the results
|
|
31
|
+
*/
|
|
17
32
|
orderBy?: components.InsightWorkflowProperties | null | undefined;
|
|
33
|
+
/**
|
|
34
|
+
* The direction in which to order the results
|
|
35
|
+
*/
|
|
18
36
|
orderByDirection?: components.OrderByDirection | null | undefined;
|
|
37
|
+
/**
|
|
38
|
+
* The fields to include in the response
|
|
39
|
+
*/
|
|
19
40
|
fields?: Array<components.InsightWorkflowProperties> | null | undefined;
|
|
41
|
+
/**
|
|
42
|
+
* The start datetime for filtering results
|
|
43
|
+
*/
|
|
20
44
|
startDatetime?: string | null | undefined;
|
|
45
|
+
/**
|
|
46
|
+
* The end datetime for filtering results
|
|
47
|
+
*/
|
|
21
48
|
endDatetime?: string | null | undefined;
|
|
22
49
|
};
|
|
23
50
|
|
|
@@ -10,14 +10,41 @@ import * as components from "../components/index.js";
|
|
|
10
10
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
11
11
|
|
|
12
12
|
export type InsightToolListRequest = {
|
|
13
|
+
/**
|
|
14
|
+
* The page number from which to start (0-indexed)
|
|
15
|
+
*/
|
|
13
16
|
page?: number | null | undefined;
|
|
17
|
+
/**
|
|
18
|
+
* The maximum number of items to return
|
|
19
|
+
*/
|
|
14
20
|
limit?: number | undefined;
|
|
21
|
+
/**
|
|
22
|
+
* String names of fields to search. Correspond by index to search field values
|
|
23
|
+
*/
|
|
15
24
|
searchFields?: Array<components.InsightToolProperties> | undefined;
|
|
25
|
+
/**
|
|
26
|
+
* Values of fields to search. Correspond by index to search fields. Unless field name contains "list", an individual search field value cannot be a list
|
|
27
|
+
*/
|
|
16
28
|
searchFieldValues?: Array<string> | undefined;
|
|
29
|
+
/**
|
|
30
|
+
* The field whose value should be used to order the results
|
|
31
|
+
*/
|
|
17
32
|
orderBy?: components.InsightToolProperties | null | undefined;
|
|
33
|
+
/**
|
|
34
|
+
* The direction in which to order the results
|
|
35
|
+
*/
|
|
18
36
|
orderByDirection?: components.OrderByDirection | null | undefined;
|
|
37
|
+
/**
|
|
38
|
+
* The fields to include in the response
|
|
39
|
+
*/
|
|
19
40
|
fields?: Array<components.InsightToolProperties> | null | undefined;
|
|
41
|
+
/**
|
|
42
|
+
* The start datetime for filtering results
|
|
43
|
+
*/
|
|
20
44
|
startDatetime?: string | null | undefined;
|
|
45
|
+
/**
|
|
46
|
+
* The end datetime for filtering results
|
|
47
|
+
*/
|
|
21
48
|
endDatetime?: string | null | undefined;
|
|
22
49
|
};
|
|
23
50
|
|