syllable-sdk 0.1.0-alpha.1 → 0.1.0-alpha.2
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 +42 -25
- package/docs/sdks/channels/README.md +5 -3
- package/docs/sdks/conversations/README.md +0 -78
- package/docs/sdks/sessionlabels/README.md +243 -0
- package/docs/sdks/targets/README.md +1 -3
- package/docs/sdks/{organizations → transcript}/README.md +18 -14
- package/docs/sdks/v1/README.md +243 -0
- package/funcs/agentsCreate.d.ts.map +1 -1
- package/funcs/agentsCreate.js +1 -0
- package/funcs/agentsCreate.js.map +1 -1
- package/funcs/agentsDelete.d.ts.map +1 -1
- package/funcs/agentsDelete.js +1 -0
- package/funcs/agentsDelete.js.map +1 -1
- package/funcs/agentsGetById.d.ts.map +1 -1
- package/funcs/agentsGetById.js +1 -0
- package/funcs/agentsGetById.js.map +1 -1
- package/funcs/agentsList.d.ts.map +1 -1
- package/funcs/agentsList.js +1 -0
- package/funcs/agentsList.js.map +1 -1
- package/funcs/agentsTestSendTestMessage.d.ts.map +1 -1
- package/funcs/agentsTestSendTestMessage.js +1 -0
- package/funcs/agentsTestSendTestMessage.js.map +1 -1
- package/funcs/agentsUpdate.d.ts.map +1 -1
- package/funcs/agentsUpdate.js +1 -0
- package/funcs/agentsUpdate.js.map +1 -1
- package/funcs/channelsDelete.d.ts +2 -2
- package/funcs/channelsDelete.d.ts.map +1 -1
- package/funcs/channelsDelete.js +8 -3
- package/funcs/channelsDelete.js.map +1 -1
- package/funcs/channelsList.d.ts.map +1 -1
- package/funcs/channelsList.js +1 -0
- package/funcs/channelsList.js.map +1 -1
- package/funcs/channelsTargetsAvailableTargets.d.ts.map +1 -1
- package/funcs/channelsTargetsAvailableTargets.js +1 -0
- package/funcs/channelsTargetsAvailableTargets.js.map +1 -1
- package/funcs/channelsTargetsCreate.d.ts.map +1 -1
- package/funcs/channelsTargetsCreate.js +1 -0
- package/funcs/channelsTargetsCreate.js.map +1 -1
- package/funcs/channelsTargetsGetById.d.ts.map +1 -1
- package/funcs/channelsTargetsGetById.js +1 -0
- package/funcs/channelsTargetsGetById.js.map +1 -1
- package/funcs/channelsTargetsList.d.ts.map +1 -1
- package/funcs/channelsTargetsList.js +1 -0
- package/funcs/channelsTargetsList.js.map +1 -1
- package/funcs/channelsTargetsUpdate.d.ts +1 -1
- package/funcs/channelsTargetsUpdate.d.ts.map +1 -1
- package/funcs/channelsTargetsUpdate.js +3 -2
- package/funcs/channelsTargetsUpdate.js.map +1 -1
- package/funcs/conversationsList.d.ts.map +1 -1
- package/funcs/conversationsList.js +1 -0
- package/funcs/conversationsList.js.map +1 -1
- package/funcs/customMessagesCreate.d.ts.map +1 -1
- package/funcs/customMessagesCreate.js +1 -0
- package/funcs/customMessagesCreate.js.map +1 -1
- package/funcs/customMessagesDelete.d.ts.map +1 -1
- package/funcs/customMessagesDelete.js +1 -0
- package/funcs/customMessagesDelete.js.map +1 -1
- package/funcs/customMessagesGetById.d.ts.map +1 -1
- package/funcs/customMessagesGetById.js +1 -0
- package/funcs/customMessagesGetById.js.map +1 -1
- package/funcs/customMessagesList.d.ts.map +1 -1
- package/funcs/customMessagesList.js +1 -0
- package/funcs/customMessagesList.js.map +1 -1
- package/funcs/customMessagesUpdate.d.ts.map +1 -1
- package/funcs/customMessagesUpdate.js +1 -0
- package/funcs/customMessagesUpdate.js.map +1 -1
- package/funcs/dashboardsGetDailyCallVolumeByHour.d.ts.map +1 -1
- package/funcs/dashboardsGetDailyCallVolumeByHour.js +1 -0
- package/funcs/dashboardsGetDailyCallVolumeByHour.js.map +1 -1
- package/funcs/dashboardsGetMonthlyCallVolumeByDay.d.ts.map +1 -1
- package/funcs/dashboardsGetMonthlyCallVolumeByDay.js +1 -0
- package/funcs/dashboardsGetMonthlyCallVolumeByDay.js.map +1 -1
- package/funcs/dashboardsGetMonthlyCallVolumeByWeek.d.ts.map +1 -1
- package/funcs/dashboardsGetMonthlyCallVolumeByWeek.js +1 -0
- package/funcs/dashboardsGetMonthlyCallVolumeByWeek.js.map +1 -1
- package/funcs/dashboardsGetSessionAgents.d.ts.map +1 -1
- package/funcs/dashboardsGetSessionAgents.js +1 -0
- package/funcs/dashboardsGetSessionAgents.js.map +1 -1
- package/funcs/dashboardsGetSessionSummary.d.ts.map +1 -1
- package/funcs/dashboardsGetSessionSummary.js +1 -0
- package/funcs/dashboardsGetSessionSummary.js.map +1 -1
- package/funcs/dashboardsGetTotalCallVolumeByHour.d.ts.map +1 -1
- package/funcs/dashboardsGetTotalCallVolumeByHour.js +1 -0
- package/funcs/dashboardsGetTotalCallVolumeByHour.js.map +1 -1
- package/funcs/dashboardsGetWeeklyCallVolumeByWeekday.d.ts.map +1 -1
- package/funcs/dashboardsGetWeeklyCallVolumeByWeekday.js +1 -0
- package/funcs/dashboardsGetWeeklyCallVolumeByWeekday.js.map +1 -1
- package/funcs/dashboardsTotalCallVolumeByWeekday.d.ts.map +1 -1
- package/funcs/dashboardsTotalCallVolumeByWeekday.js +1 -0
- package/funcs/dashboardsTotalCallVolumeByWeekday.js.map +1 -1
- package/funcs/eventsList.d.ts.map +1 -1
- package/funcs/eventsList.js +1 -0
- package/funcs/eventsList.js.map +1 -1
- package/funcs/promptsCreate.d.ts.map +1 -1
- package/funcs/promptsCreate.js +1 -0
- package/funcs/promptsCreate.js.map +1 -1
- package/funcs/promptsDelete.d.ts.map +1 -1
- package/funcs/promptsDelete.js +1 -0
- package/funcs/promptsDelete.js.map +1 -1
- package/funcs/promptsGetById.d.ts.map +1 -1
- package/funcs/promptsGetById.js +1 -0
- package/funcs/promptsGetById.js.map +1 -1
- package/funcs/promptsList.d.ts.map +1 -1
- package/funcs/promptsList.js +1 -0
- package/funcs/promptsList.js.map +1 -1
- package/funcs/promptsUpdate.d.ts.map +1 -1
- package/funcs/promptsUpdate.js +1 -0
- package/funcs/promptsUpdate.js.map +1 -1
- package/funcs/{organizationsList.d.ts → sessionLabelsCreate.d.ts} +5 -4
- package/funcs/sessionLabelsCreate.d.ts.map +1 -0
- package/funcs/sessionLabelsCreate.js +99 -0
- package/funcs/sessionLabelsCreate.js.map +1 -0
- package/funcs/{conversationsGetById.d.ts → sessionLabelsGetById.d.ts} +3 -3
- package/funcs/{conversationsGetById.d.ts.map → sessionLabelsGetById.d.ts.map} +1 -1
- package/funcs/{conversationsGetById.js → sessionLabelsGetById.js} +10 -12
- package/funcs/sessionLabelsGetById.js.map +1 -0
- package/funcs/sessionLabelsList.d.ts +14 -0
- package/funcs/sessionLabelsList.d.ts.map +1 -0
- package/funcs/sessionLabelsList.js +108 -0
- package/funcs/sessionLabelsList.js.map +1 -0
- package/funcs/sessionsList.d.ts.map +1 -1
- package/funcs/sessionsList.js +1 -0
- package/funcs/sessionsList.js.map +1 -1
- package/funcs/sessionsTranscriptGetById.d.ts +14 -0
- package/funcs/sessionsTranscriptGetById.d.ts.map +1 -0
- package/funcs/sessionsTranscriptGetById.js +102 -0
- package/funcs/sessionsTranscriptGetById.js.map +1 -0
- package/funcs/toolsGetByName.d.ts.map +1 -1
- package/funcs/toolsGetByName.js +1 -0
- package/funcs/toolsGetByName.js.map +1 -1
- package/funcs/toolsList.d.ts.map +1 -1
- package/funcs/toolsList.js +1 -0
- package/funcs/toolsList.js.map +1 -1
- package/funcs/v1Create.d.ts +16 -0
- package/funcs/v1Create.d.ts.map +1 -0
- package/funcs/{organizationsList.js → v1Create.js} +25 -11
- package/funcs/v1Create.js.map +1 -0
- package/funcs/v1GetById.d.ts +14 -0
- package/funcs/v1GetById.d.ts.map +1 -0
- package/funcs/v1GetById.js +99 -0
- package/funcs/v1GetById.js.map +1 -0
- package/funcs/v1List.d.ts +14 -0
- package/funcs/v1List.d.ts.map +1 -0
- package/funcs/v1List.js +108 -0
- package/funcs/v1List.js.map +1 -0
- package/hooks/types.d.ts +2 -0
- package/hooks/types.d.ts.map +1 -1
- package/lib/config.d.ts +4 -4
- package/lib/config.d.ts.map +1 -1
- package/lib/config.js +11 -4
- package/lib/config.js.map +1 -1
- package/lib/env.d.ts.map +1 -1
- package/lib/env.js +3 -4
- package/lib/env.js.map +1 -1
- package/lib/primitives.d.ts +4 -0
- package/lib/primitives.d.ts.map +1 -1
- package/lib/primitives.js +12 -0
- package/lib/primitives.js.map +1 -1
- package/lib/security.d.ts +20 -1
- package/lib/security.d.ts.map +1 -1
- package/lib/security.js +11 -1
- package/lib/security.js.map +1 -1
- package/models/components/availabletarget.d.ts +2 -2
- package/models/components/availabletarget.d.ts.map +1 -1
- package/models/components/availabletarget.js +4 -4
- package/models/components/availabletarget.js.map +1 -1
- package/models/components/channel.d.ts +15 -5
- package/models/components/channel.d.ts.map +1 -1
- package/models/components/channel.js +7 -6
- package/models/components/channel.js.map +1 -1
- package/models/components/channelservices.d.ts +34 -0
- package/models/components/channelservices.d.ts.map +1 -0
- package/models/components/{toolparameterdefault.js → channelservices.js} +17 -16
- package/models/components/channelservices.js.map +1 -0
- package/models/components/channeltargetcreaterequest.d.ts +0 -2
- package/models/components/channeltargetcreaterequest.d.ts.map +1 -1
- package/models/components/channeltargetcreaterequest.js +0 -4
- package/models/components/channeltargetcreaterequest.js.map +1 -1
- package/models/components/conversation.d.ts +6 -10
- package/models/components/conversation.d.ts.map +1 -1
- package/models/components/conversation.js +12 -16
- package/models/components/conversation.js.map +1 -1
- package/models/components/conversationproperties.d.ts +9 -12
- package/models/components/conversationproperties.d.ts.map +1 -1
- package/models/components/conversationproperties.js +3 -4
- package/models/components/conversationproperties.js.map +1 -1
- package/models/components/index.d.ts +11 -12
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +11 -12
- package/models/components/index.js.map +1 -1
- package/models/components/listresponseagent.d.ts +4 -4
- package/models/components/listresponseagent.d.ts.map +1 -1
- package/models/components/listresponseagent.js +4 -4
- package/models/components/listresponseagent.js.map +1 -1
- package/models/components/listresponseavailabletarget.d.ts +4 -4
- package/models/components/listresponseavailabletarget.d.ts.map +1 -1
- package/models/components/listresponseavailabletarget.js +4 -4
- package/models/components/listresponseavailabletarget.js.map +1 -1
- package/models/components/listresponsechannel.d.ts +4 -4
- package/models/components/listresponsechannel.d.ts.map +1 -1
- package/models/components/listresponsechannel.js +4 -4
- package/models/components/listresponsechannel.js.map +1 -1
- package/models/components/listresponsechanneltarget.d.ts +4 -4
- package/models/components/listresponsechanneltarget.d.ts.map +1 -1
- package/models/components/listresponsechanneltarget.js +4 -4
- package/models/components/listresponsechanneltarget.js.map +1 -1
- package/models/components/listresponseconversation.d.ts +4 -4
- package/models/components/listresponseconversation.d.ts.map +1 -1
- package/models/components/listresponseconversation.js +4 -4
- package/models/components/listresponseconversation.js.map +1 -1
- package/models/components/listresponsecustommessage.d.ts +4 -4
- package/models/components/listresponsecustommessage.d.ts.map +1 -1
- package/models/components/listresponsecustommessage.js +4 -4
- package/models/components/listresponsecustommessage.js.map +1 -1
- package/models/components/listresponseevent.d.ts +4 -4
- package/models/components/listresponseevent.d.ts.map +1 -1
- package/models/components/listresponseevent.js +4 -4
- package/models/components/listresponseevent.js.map +1 -1
- package/models/components/listresponseprompt.d.ts +4 -4
- package/models/components/listresponseprompt.d.ts.map +1 -1
- package/models/components/listresponseprompt.js +4 -4
- package/models/components/listresponseprompt.js.map +1 -1
- package/models/components/listresponsesession.d.ts +4 -4
- package/models/components/listresponsesession.d.ts.map +1 -1
- package/models/components/listresponsesession.js +4 -4
- package/models/components/listresponsesession.js.map +1 -1
- package/models/components/listresponsesessionlabel.d.ts +34 -0
- package/models/components/listresponsesessionlabel.d.ts.map +1 -0
- package/models/components/listresponsesessionlabel.js +72 -0
- package/models/components/listresponsesessionlabel.js.map +1 -0
- package/models/components/listresponsetool.d.ts +7 -7
- package/models/components/listresponsetool.d.ts.map +1 -1
- package/models/components/listresponsetool.js +7 -7
- package/models/components/listresponsetool.js.map +1 -1
- package/models/components/llmconfig.d.ts +3 -34
- package/models/components/llmconfig.d.ts.map +1 -1
- package/models/components/llmconfig.js +4 -26
- package/models/components/llmconfig.js.map +1 -1
- package/models/components/orderbydirection.d.ts +28 -0
- package/models/components/orderbydirection.d.ts.map +1 -0
- package/models/components/orderbydirection.js +50 -0
- package/models/components/orderbydirection.js.map +1 -0
- package/models/components/prompt.d.ts +0 -3
- package/models/components/prompt.d.ts.map +1 -1
- package/models/components/prompt.js.map +1 -1
- package/models/components/promptcreate.d.ts +0 -3
- package/models/components/promptcreate.d.ts.map +1 -1
- package/models/components/promptcreate.js.map +1 -1
- package/models/components/provider.d.ts +34 -0
- package/models/components/provider.d.ts.map +1 -0
- package/models/components/provider.js +54 -0
- package/models/components/provider.js.map +1 -0
- package/models/components/session.d.ts +14 -0
- package/models/components/session.d.ts.map +1 -1
- package/models/components/session.js +26 -0
- package/models/components/session.js.map +1 -1
- package/models/components/sessionaction.d.ts +31 -0
- package/models/components/sessionaction.d.ts.map +1 -0
- package/models/components/{conversationaction.js → sessionaction.js} +11 -11
- package/models/components/sessionaction.js.map +1 -0
- package/models/components/sessionlabel.d.ts +45 -0
- package/models/components/sessionlabel.d.ts.map +1 -0
- package/models/components/sessionlabel.js +77 -0
- package/models/components/sessionlabel.js.map +1 -0
- package/models/components/sessionlabelcreate.d.ts +35 -0
- package/models/components/sessionlabelcreate.d.ts.map +1 -0
- package/models/components/sessionlabelcreate.js +73 -0
- package/models/components/sessionlabelcreate.js.map +1 -0
- package/models/components/sessionlabelproperties.d.ts +43 -0
- package/models/components/sessionlabelproperties.d.ts.map +1 -0
- package/models/components/sessionlabelproperties.js +55 -0
- package/models/components/sessionlabelproperties.js.map +1 -0
- package/models/components/sessionproperties.d.ts +15 -0
- package/models/components/sessionproperties.d.ts.map +1 -1
- package/models/components/sessionproperties.js +5 -0
- package/models/components/sessionproperties.js.map +1 -1
- package/models/components/sessiontext.d.ts +31 -0
- package/models/components/sessiontext.d.ts.map +1 -0
- package/models/components/{conversationtext.js → sessiontext.js} +11 -11
- package/models/components/sessiontext.js.map +1 -0
- package/models/components/sessiontranscriptionresponse.d.ts +31 -0
- package/models/components/sessiontranscriptionresponse.d.ts.map +1 -0
- package/models/components/sessiontranscriptionresponse.js +65 -0
- package/models/components/sessiontranscriptionresponse.js.map +1 -0
- package/models/components/tool.d.ts +70 -0
- package/models/components/tool.d.ts.map +1 -0
- package/models/components/{schemasbubblegumv2toolstool.js → tool.js} +29 -14
- package/models/components/tool.js.map +1 -0
- package/models/operations/agentlist.d.ts +2 -77
- package/models/operations/agentlist.d.ts.map +1 -1
- package/models/operations/agentlist.js +5 -52
- package/models/operations/agentlist.js.map +1 -1
- package/models/operations/availabletargets.d.ts +2 -56
- package/models/operations/availabletargets.d.ts.map +1 -1
- package/models/operations/availabletargets.js +5 -44
- package/models/operations/availabletargets.js.map +1 -1
- package/models/operations/channelslist.d.ts +2 -59
- package/models/operations/channelslist.d.ts.map +1 -1
- package/models/operations/channelslist.js +5 -47
- package/models/operations/channelslist.js.map +1 -1
- package/models/operations/channeltargetsdelete.d.ts +27 -0
- package/models/operations/channeltargetsdelete.d.ts.map +1 -0
- package/models/operations/{channelsdelete.js → channeltargetsdelete.js} +15 -11
- package/models/operations/channeltargetsdelete.js.map +1 -0
- package/models/operations/channeltargetslist.d.ts +2 -71
- package/models/operations/channeltargetslist.d.ts.map +1 -1
- package/models/operations/channeltargetslist.js +5 -52
- package/models/operations/channeltargetslist.js.map +1 -1
- package/models/operations/channeltargetsupdate.d.ts +30 -0
- package/models/operations/{channelstargetupdate.d.ts.map → channeltargetsupdate.d.ts.map} +1 -1
- package/models/operations/{channelstargetupdate.js → channeltargetsupdate.js} +11 -11
- package/models/operations/{channelstargetupdate.js.map → channeltargetsupdate.js.map} +1 -1
- package/models/operations/conversationslist.d.ts +2 -80
- package/models/operations/conversationslist.d.ts.map +1 -1
- package/models/operations/conversationslist.js +5 -55
- package/models/operations/conversationslist.js.map +1 -1
- package/models/operations/custommessageslist.d.ts +2 -56
- package/models/operations/custommessageslist.d.ts.map +1 -1
- package/models/operations/custommessageslist.js +5 -47
- package/models/operations/custommessageslist.js.map +1 -1
- package/models/operations/eventslist.d.ts +2 -77
- package/models/operations/eventslist.d.ts.map +1 -1
- package/models/operations/eventslist.js +5 -53
- package/models/operations/eventslist.js.map +1 -1
- package/models/operations/index.d.ts +5 -3
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +5 -3
- package/models/operations/index.js.map +1 -1
- package/models/operations/promptslist.d.ts +2 -62
- package/models/operations/promptslist.d.ts.map +1 -1
- package/models/operations/promptslist.js +5 -48
- package/models/operations/promptslist.js.map +1 -1
- package/models/operations/sessionlabelgetbyid.d.ts +25 -0
- package/models/operations/sessionlabelgetbyid.d.ts.map +1 -0
- package/models/operations/{conversationgetbyid.js → sessionlabelgetbyid.js} +15 -15
- package/models/operations/sessionlabelgetbyid.js.map +1 -0
- package/models/operations/sessionlabelslist.d.ts +42 -0
- package/models/operations/sessionlabelslist.d.ts.map +1 -0
- package/models/operations/sessionlabelslist.js +90 -0
- package/models/operations/sessionlabelslist.js.map +1 -0
- package/models/operations/sessionslist.d.ts +2 -77
- package/models/operations/sessionslist.d.ts.map +1 -1
- package/models/operations/sessionslist.js +5 -53
- package/models/operations/sessionslist.js.map +1 -1
- package/models/operations/sessiontranscriptgetbyid.d.ts +25 -0
- package/models/operations/sessiontranscriptgetbyid.d.ts.map +1 -0
- package/models/{components/organization.js → operations/sessiontranscriptgetbyid.js} +15 -19
- package/models/operations/sessiontranscriptgetbyid.js.map +1 -0
- package/models/operations/toollist.d.ts +2 -62
- package/models/operations/toollist.d.ts.map +1 -1
- package/models/operations/toollist.js +5 -48
- package/models/operations/toollist.js.map +1 -1
- package/package.json +1 -1
- package/sdk/channels.d.ts +2 -2
- package/sdk/channels.d.ts.map +1 -1
- package/sdk/channels.js +1 -1
- package/sdk/channels.js.map +1 -1
- package/sdk/conversations.d.ts +0 -4
- package/sdk/conversations.d.ts.map +1 -1
- package/sdk/conversations.js +0 -7
- package/sdk/conversations.js.map +1 -1
- package/sdk/sdk.d.ts +6 -3
- package/sdk/sdk.d.ts.map +1 -1
- package/sdk/sdk.js +10 -5
- package/sdk/sdk.js.map +1 -1
- package/sdk/sessionlabels.d.ts +21 -0
- package/sdk/sessionlabels.d.ts.map +1 -0
- package/sdk/sessionlabels.js +36 -0
- package/sdk/sessionlabels.js.map +1 -0
- package/sdk/sessions.d.ts +3 -0
- package/sdk/sessions.d.ts.map +1 -1
- package/sdk/sessions.js +5 -0
- package/sdk/sessions.js.map +1 -1
- package/sdk/targets.d.ts +1 -1
- package/sdk/transcript.d.ts +10 -0
- package/sdk/transcript.d.ts.map +1 -0
- package/sdk/transcript.js +19 -0
- package/sdk/transcript.js.map +1 -0
- package/sdk/v1.d.ts +21 -0
- package/sdk/v1.d.ts.map +1 -0
- package/sdk/v1.js +36 -0
- package/sdk/v1.js.map +1 -0
- package/src/funcs/agentsCreate.ts +3 -0
- package/src/funcs/agentsDelete.ts +3 -0
- package/src/funcs/agentsGetById.ts +3 -0
- package/src/funcs/agentsList.ts +3 -0
- package/src/funcs/agentsTestSendTestMessage.ts +3 -0
- package/src/funcs/agentsUpdate.ts +3 -0
- package/src/funcs/channelsDelete.ts +14 -5
- package/src/funcs/channelsList.ts +3 -0
- package/src/funcs/channelsTargetsAvailableTargets.ts +3 -0
- package/src/funcs/channelsTargetsCreate.ts +3 -0
- package/src/funcs/channelsTargetsGetById.ts +3 -0
- package/src/funcs/channelsTargetsList.ts +3 -0
- package/src/funcs/channelsTargetsUpdate.ts +6 -3
- package/src/funcs/conversationsList.ts +3 -0
- package/src/funcs/customMessagesCreate.ts +3 -0
- package/src/funcs/customMessagesDelete.ts +3 -0
- package/src/funcs/customMessagesGetById.ts +3 -0
- package/src/funcs/customMessagesList.ts +3 -0
- package/src/funcs/customMessagesUpdate.ts +3 -0
- package/src/funcs/dashboardsGetDailyCallVolumeByHour.ts +3 -0
- package/src/funcs/dashboardsGetMonthlyCallVolumeByDay.ts +3 -0
- package/src/funcs/dashboardsGetMonthlyCallVolumeByWeek.ts +3 -0
- package/src/funcs/dashboardsGetSessionAgents.ts +3 -0
- package/src/funcs/dashboardsGetSessionSummary.ts +3 -0
- package/src/funcs/dashboardsGetTotalCallVolumeByHour.ts +3 -0
- package/src/funcs/dashboardsGetWeeklyCallVolumeByWeekday.ts +3 -0
- package/src/funcs/dashboardsTotalCallVolumeByWeekday.ts +3 -0
- package/src/funcs/eventsList.ts +3 -0
- package/src/funcs/promptsCreate.ts +3 -0
- package/src/funcs/promptsDelete.ts +3 -0
- package/src/funcs/promptsGetById.ts +3 -0
- package/src/funcs/promptsList.ts +3 -0
- package/src/funcs/promptsUpdate.ts +3 -0
- package/src/funcs/sessionLabelsCreate.ts +131 -0
- package/src/funcs/sessionLabelsGetById.ts +139 -0
- package/src/funcs/sessionLabelsList.ts +141 -0
- package/src/funcs/sessionsList.ts +3 -0
- package/src/funcs/{conversationsGetById.ts → sessionsTranscriptGetById.ts} +13 -10
- package/src/funcs/toolsGetByName.ts +3 -0
- package/src/funcs/toolsList.ts +3 -0
- package/src/funcs/{organizationsList.ts → v1Create.ts} +38 -12
- package/src/funcs/v1GetById.ts +139 -0
- package/src/funcs/v1List.ts +141 -0
- package/src/hooks/types.ts +2 -0
- package/src/lib/config.ts +11 -4
- package/src/lib/env.ts +3 -4
- package/src/lib/primitives.ts +20 -0
- package/src/lib/security.ts +39 -3
- package/src/models/components/availabletarget.ts +6 -6
- package/src/models/components/channel.ts +25 -11
- package/src/models/components/channelservices.ts +35 -0
- package/src/models/components/channeltargetcreaterequest.ts +0 -6
- package/src/models/components/conversation.ts +18 -26
- package/src/models/components/conversationproperties.ts +3 -4
- package/src/models/components/index.ts +11 -12
- package/src/models/components/listresponseagent.ts +8 -8
- package/src/models/components/listresponseavailabletarget.ts +8 -8
- package/src/models/components/listresponsechannel.ts +8 -8
- package/src/models/components/listresponsechanneltarget.ts +8 -8
- package/src/models/components/listresponseconversation.ts +8 -8
- package/src/models/components/listresponsecustommessage.ts +8 -8
- package/src/models/components/listresponseevent.ts +8 -8
- package/src/models/components/listresponseprompt.ts +8 -8
- package/src/models/components/listresponsesession.ts +8 -8
- package/src/models/components/listresponsesessionlabel.ts +80 -0
- package/src/models/components/listresponsetool.ts +17 -17
- package/src/models/components/llmconfig.ts +9 -36
- package/src/models/components/orderbydirection.ts +33 -0
- package/src/models/components/prompt.ts +0 -3
- package/src/models/components/promptcreate.ts +0 -3
- package/src/models/components/provider.ts +37 -0
- package/src/models/components/session.ts +40 -0
- package/src/models/components/{conversationaction.ts → sessionaction.ts} +14 -14
- package/src/models/components/sessionlabel.ts +92 -0
- package/src/models/components/sessionlabelcreate.ts +78 -0
- package/src/models/components/sessionlabelproperties.ts +38 -0
- package/src/models/components/sessionproperties.ts +5 -0
- package/src/models/components/{conversationtext.ts → sessiontext.ts} +14 -14
- package/src/models/components/sessiontranscriptionresponse.ts +74 -0
- package/src/models/components/tool.ts +116 -0
- package/src/models/operations/agentlist.ts +6 -67
- package/src/models/operations/availabletargets.ts +6 -64
- package/src/models/operations/channelslist.ts +6 -72
- package/src/models/operations/channeltargetsdelete.ts +60 -0
- package/src/models/operations/channeltargetslist.ts +6 -77
- package/src/models/operations/{channelstargetupdate.ts → channeltargetsupdate.ts} +14 -14
- package/src/models/operations/conversationslist.ts +6 -79
- package/src/models/operations/custommessageslist.ts +6 -72
- package/src/models/operations/eventslist.ts +6 -78
- package/src/models/operations/index.ts +5 -3
- package/src/models/operations/promptslist.ts +6 -73
- package/src/models/operations/sessionlabelgetbyid.ts +54 -0
- package/src/models/operations/sessionlabelslist.ts +101 -0
- package/src/models/operations/sessionslist.ts +6 -78
- package/src/models/operations/sessiontranscriptgetbyid.ts +54 -0
- package/src/models/operations/toollist.ts +6 -71
- package/src/sdk/channels.ts +2 -2
- package/src/sdk/conversations.ts +0 -15
- package/src/sdk/sdk.ts +12 -6
- package/src/sdk/sessionlabels.ts +58 -0
- package/src/sdk/sessions.ts +6 -0
- package/src/sdk/targets.ts +1 -1
- package/src/sdk/transcript.ts +25 -0
- package/src/sdk/v1.ts +58 -0
- package/funcs/conversationsGetById.js.map +0 -1
- package/funcs/organizationsList.d.ts.map +0 -1
- package/funcs/organizationsList.js.map +0 -1
- package/models/components/conversationaction.d.ts +0 -31
- package/models/components/conversationaction.d.ts.map +0 -1
- package/models/components/conversationaction.js.map +0 -1
- package/models/components/conversationtext.d.ts +0 -31
- package/models/components/conversationtext.d.ts.map +0 -1
- package/models/components/conversationtext.js.map +0 -1
- package/models/components/conversationtranscriptionresponse.d.ts +0 -31
- package/models/components/conversationtranscriptionresponse.d.ts.map +0 -1
- package/models/components/conversationtranscriptionresponse.js +0 -65
- package/models/components/conversationtranscriptionresponse.js.map +0 -1
- package/models/components/function.d.ts +0 -68
- package/models/components/function.d.ts.map +0 -1
- package/models/components/function.js +0 -69
- package/models/components/function.js.map +0 -1
- package/models/components/httpendpoint.d.ts +0 -110
- package/models/components/httpendpoint.d.ts.map +0 -1
- package/models/components/httpendpoint.js +0 -110
- package/models/components/httpendpoint.js.map +0 -1
- package/models/components/organization.d.ts +0 -38
- package/models/components/organization.d.ts.map +0 -1
- package/models/components/organization.js.map +0 -1
- package/models/components/schemasbubblegumv2toolstool.d.ts +0 -49
- package/models/components/schemasbubblegumv2toolstool.d.ts.map +0 -1
- package/models/components/schemasbubblegumv2toolstool.js.map +0 -1
- package/models/components/schemascortexv1toolstool.d.ts +0 -66
- package/models/components/schemascortexv1toolstool.d.ts.map +0 -1
- package/models/components/schemascortexv1toolstool.js +0 -74
- package/models/components/schemascortexv1toolstool.js.map +0 -1
- package/models/components/tooldefinition.d.ts +0 -232
- package/models/components/tooldefinition.d.ts.map +0 -1
- package/models/components/tooldefinition.js +0 -141
- package/models/components/tooldefinition.js.map +0 -1
- package/models/components/toolparameterdefault.d.ts +0 -32
- package/models/components/toolparameterdefault.d.ts.map +0 -1
- package/models/components/toolparameterdefault.js.map +0 -1
- package/models/components/toolparametertransform.d.ts +0 -77
- package/models/components/toolparametertransform.d.ts.map +0 -1
- package/models/components/toolparametertransform.js +0 -79
- package/models/components/toolparametertransform.js.map +0 -1
- package/models/components/toolparametertransformcondition.d.ts +0 -64
- package/models/components/toolparametertransformcondition.d.ts.map +0 -1
- package/models/components/toolparametertransformcondition.js +0 -73
- package/models/components/toolparametertransformcondition.js.map +0 -1
- package/models/operations/channelsdelete.d.ts +0 -25
- package/models/operations/channelsdelete.d.ts.map +0 -1
- package/models/operations/channelsdelete.js.map +0 -1
- package/models/operations/channelstargetupdate.d.ts +0 -30
- package/models/operations/conversationgetbyid.d.ts +0 -25
- package/models/operations/conversationgetbyid.d.ts.map +0 -1
- package/models/operations/conversationgetbyid.js.map +0 -1
- package/sdk/organizations.d.ts +0 -12
- package/sdk/organizations.d.ts.map +0 -1
- package/sdk/organizations.js +0 -22
- package/sdk/organizations.js.map +0 -1
- package/src/models/components/conversationtranscriptionresponse.ts +0 -75
- package/src/models/components/function.ts +0 -105
- package/src/models/components/httpendpoint.ts +0 -141
- package/src/models/components/organization.ts +0 -71
- package/src/models/components/schemasbubblegumv2toolstool.ts +0 -93
- package/src/models/components/schemascortexv1toolstool.ts +0 -99
- package/src/models/components/tooldefinition.ts +0 -318
- package/src/models/components/toolparameterdefault.ts +0 -57
- package/src/models/components/toolparametertransform.ts +0 -104
- package/src/models/components/toolparametertransformcondition.ts +0 -90
- package/src/models/operations/channelsdelete.ts +0 -54
- package/src/models/operations/conversationgetbyid.ts +0 -54
- package/src/sdk/organizations.ts +0 -25
|
@@ -4,91 +4,20 @@
|
|
|
4
4
|
|
|
5
5
|
import * as z from "zod";
|
|
6
6
|
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
-
import { ClosedEnum } from "../../types/enums.js";
|
|
8
7
|
import * as components from "../components/index.js";
|
|
9
8
|
|
|
10
|
-
export const ConversationsListQueryParamOrderBy = {
|
|
11
|
-
Timestamp: "timestamp",
|
|
12
|
-
AgentType: "agent_type",
|
|
13
|
-
AgentId: "agent_id",
|
|
14
|
-
AgentName: "agent_name",
|
|
15
|
-
PromptId: "prompt_id",
|
|
16
|
-
PromptName: "prompt_name",
|
|
17
|
-
CallId: "call_id",
|
|
18
|
-
Source: "source",
|
|
19
|
-
Target: "target",
|
|
20
|
-
IsLegacy: "is_legacy",
|
|
21
|
-
IsTest: "is_test",
|
|
22
|
-
} as const;
|
|
23
|
-
export type ConversationsListQueryParamOrderBy = ClosedEnum<
|
|
24
|
-
typeof ConversationsListQueryParamOrderBy
|
|
25
|
-
>;
|
|
26
|
-
|
|
27
|
-
export const ConversationsListQueryParamOrderByDirection = {
|
|
28
|
-
Asc: "asc",
|
|
29
|
-
Desc: "desc",
|
|
30
|
-
} as const;
|
|
31
|
-
export type ConversationsListQueryParamOrderByDirection = ClosedEnum<
|
|
32
|
-
typeof ConversationsListQueryParamOrderByDirection
|
|
33
|
-
>;
|
|
34
|
-
|
|
35
9
|
export type ConversationsListRequest = {
|
|
36
10
|
page?: number | null | undefined;
|
|
37
11
|
limit?: number | undefined;
|
|
38
12
|
searchFields?: Array<components.ConversationProperties> | undefined;
|
|
39
13
|
searchFieldValues?: Array<string> | undefined;
|
|
40
|
-
orderBy?:
|
|
41
|
-
orderByDirection?:
|
|
14
|
+
orderBy?: components.ConversationProperties | undefined;
|
|
15
|
+
orderByDirection?: components.OrderByDirection | undefined;
|
|
42
16
|
fields?: Array<components.ConversationProperties> | null | undefined;
|
|
43
17
|
startDatetime?: string | null | undefined;
|
|
44
18
|
endDatetime?: string | null | undefined;
|
|
45
19
|
};
|
|
46
20
|
|
|
47
|
-
/** @internal */
|
|
48
|
-
export const ConversationsListQueryParamOrderBy$inboundSchema: z.ZodNativeEnum<
|
|
49
|
-
typeof ConversationsListQueryParamOrderBy
|
|
50
|
-
> = z.nativeEnum(ConversationsListQueryParamOrderBy);
|
|
51
|
-
|
|
52
|
-
/** @internal */
|
|
53
|
-
export const ConversationsListQueryParamOrderBy$outboundSchema: z.ZodNativeEnum<
|
|
54
|
-
typeof ConversationsListQueryParamOrderBy
|
|
55
|
-
> = ConversationsListQueryParamOrderBy$inboundSchema;
|
|
56
|
-
|
|
57
|
-
/**
|
|
58
|
-
* @internal
|
|
59
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
60
|
-
*/
|
|
61
|
-
export namespace ConversationsListQueryParamOrderBy$ {
|
|
62
|
-
/** @deprecated use `ConversationsListQueryParamOrderBy$inboundSchema` instead. */
|
|
63
|
-
export const inboundSchema = ConversationsListQueryParamOrderBy$inboundSchema;
|
|
64
|
-
/** @deprecated use `ConversationsListQueryParamOrderBy$outboundSchema` instead. */
|
|
65
|
-
export const outboundSchema =
|
|
66
|
-
ConversationsListQueryParamOrderBy$outboundSchema;
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
/** @internal */
|
|
70
|
-
export const ConversationsListQueryParamOrderByDirection$inboundSchema:
|
|
71
|
-
z.ZodNativeEnum<typeof ConversationsListQueryParamOrderByDirection> = z
|
|
72
|
-
.nativeEnum(ConversationsListQueryParamOrderByDirection);
|
|
73
|
-
|
|
74
|
-
/** @internal */
|
|
75
|
-
export const ConversationsListQueryParamOrderByDirection$outboundSchema:
|
|
76
|
-
z.ZodNativeEnum<typeof ConversationsListQueryParamOrderByDirection> =
|
|
77
|
-
ConversationsListQueryParamOrderByDirection$inboundSchema;
|
|
78
|
-
|
|
79
|
-
/**
|
|
80
|
-
* @internal
|
|
81
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
82
|
-
*/
|
|
83
|
-
export namespace ConversationsListQueryParamOrderByDirection$ {
|
|
84
|
-
/** @deprecated use `ConversationsListQueryParamOrderByDirection$inboundSchema` instead. */
|
|
85
|
-
export const inboundSchema =
|
|
86
|
-
ConversationsListQueryParamOrderByDirection$inboundSchema;
|
|
87
|
-
/** @deprecated use `ConversationsListQueryParamOrderByDirection$outboundSchema` instead. */
|
|
88
|
-
export const outboundSchema =
|
|
89
|
-
ConversationsListQueryParamOrderByDirection$outboundSchema;
|
|
90
|
-
}
|
|
91
|
-
|
|
92
21
|
/** @internal */
|
|
93
22
|
export const ConversationsListRequest$inboundSchema: z.ZodType<
|
|
94
23
|
ConversationsListRequest,
|
|
@@ -100,9 +29,8 @@ export const ConversationsListRequest$inboundSchema: z.ZodType<
|
|
|
100
29
|
search_fields: z.array(components.ConversationProperties$inboundSchema)
|
|
101
30
|
.optional(),
|
|
102
31
|
search_field_values: z.array(z.string()).optional(),
|
|
103
|
-
order_by:
|
|
104
|
-
order_by_direction:
|
|
105
|
-
.optional(),
|
|
32
|
+
order_by: components.ConversationProperties$inboundSchema.optional(),
|
|
33
|
+
order_by_direction: components.OrderByDirection$inboundSchema.optional(),
|
|
106
34
|
fields: z.nullable(z.array(components.ConversationProperties$inboundSchema))
|
|
107
35
|
.optional(),
|
|
108
36
|
start_datetime: z.nullable(z.string()).optional(),
|
|
@@ -142,9 +70,8 @@ export const ConversationsListRequest$outboundSchema: z.ZodType<
|
|
|
142
70
|
searchFields: z.array(components.ConversationProperties$outboundSchema)
|
|
143
71
|
.optional(),
|
|
144
72
|
searchFieldValues: z.array(z.string()).optional(),
|
|
145
|
-
orderBy:
|
|
146
|
-
orderByDirection:
|
|
147
|
-
.optional(),
|
|
73
|
+
orderBy: components.ConversationProperties$outboundSchema.optional(),
|
|
74
|
+
orderByDirection: components.OrderByDirection$outboundSchema.optional(),
|
|
148
75
|
fields: z.nullable(z.array(components.ConversationProperties$outboundSchema))
|
|
149
76
|
.optional(),
|
|
150
77
|
startDatetime: z.nullable(z.string()).optional(),
|
|
@@ -4,84 +4,20 @@
|
|
|
4
4
|
|
|
5
5
|
import * as z from "zod";
|
|
6
6
|
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
-
import { ClosedEnum } from "../../types/enums.js";
|
|
8
7
|
import * as components from "../components/index.js";
|
|
9
8
|
|
|
10
|
-
export const CustomMessagesListQueryParamOrderBy = {
|
|
11
|
-
Id: "id",
|
|
12
|
-
Name: "name",
|
|
13
|
-
Text: "text",
|
|
14
|
-
} as const;
|
|
15
|
-
export type CustomMessagesListQueryParamOrderBy = ClosedEnum<
|
|
16
|
-
typeof CustomMessagesListQueryParamOrderBy
|
|
17
|
-
>;
|
|
18
|
-
|
|
19
|
-
export const CustomMessagesListQueryParamOrderByDirection = {
|
|
20
|
-
Asc: "asc",
|
|
21
|
-
Desc: "desc",
|
|
22
|
-
} as const;
|
|
23
|
-
export type CustomMessagesListQueryParamOrderByDirection = ClosedEnum<
|
|
24
|
-
typeof CustomMessagesListQueryParamOrderByDirection
|
|
25
|
-
>;
|
|
26
|
-
|
|
27
9
|
export type CustomMessagesListRequest = {
|
|
28
10
|
page?: number | null | undefined;
|
|
29
11
|
limit?: number | undefined;
|
|
30
12
|
searchFields?: Array<components.CustomMessageProperties> | undefined;
|
|
31
13
|
searchFieldValues?: Array<string> | undefined;
|
|
32
|
-
orderBy?:
|
|
33
|
-
orderByDirection?:
|
|
14
|
+
orderBy?: components.CustomMessageProperties | undefined;
|
|
15
|
+
orderByDirection?: components.OrderByDirection | undefined;
|
|
34
16
|
fields?: Array<components.CustomMessageProperties> | null | undefined;
|
|
35
17
|
startDatetime?: string | null | undefined;
|
|
36
18
|
endDatetime?: string | null | undefined;
|
|
37
19
|
};
|
|
38
20
|
|
|
39
|
-
/** @internal */
|
|
40
|
-
export const CustomMessagesListQueryParamOrderBy$inboundSchema: z.ZodNativeEnum<
|
|
41
|
-
typeof CustomMessagesListQueryParamOrderBy
|
|
42
|
-
> = z.nativeEnum(CustomMessagesListQueryParamOrderBy);
|
|
43
|
-
|
|
44
|
-
/** @internal */
|
|
45
|
-
export const CustomMessagesListQueryParamOrderBy$outboundSchema:
|
|
46
|
-
z.ZodNativeEnum<typeof CustomMessagesListQueryParamOrderBy> =
|
|
47
|
-
CustomMessagesListQueryParamOrderBy$inboundSchema;
|
|
48
|
-
|
|
49
|
-
/**
|
|
50
|
-
* @internal
|
|
51
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
52
|
-
*/
|
|
53
|
-
export namespace CustomMessagesListQueryParamOrderBy$ {
|
|
54
|
-
/** @deprecated use `CustomMessagesListQueryParamOrderBy$inboundSchema` instead. */
|
|
55
|
-
export const inboundSchema =
|
|
56
|
-
CustomMessagesListQueryParamOrderBy$inboundSchema;
|
|
57
|
-
/** @deprecated use `CustomMessagesListQueryParamOrderBy$outboundSchema` instead. */
|
|
58
|
-
export const outboundSchema =
|
|
59
|
-
CustomMessagesListQueryParamOrderBy$outboundSchema;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
/** @internal */
|
|
63
|
-
export const CustomMessagesListQueryParamOrderByDirection$inboundSchema:
|
|
64
|
-
z.ZodNativeEnum<typeof CustomMessagesListQueryParamOrderByDirection> = z
|
|
65
|
-
.nativeEnum(CustomMessagesListQueryParamOrderByDirection);
|
|
66
|
-
|
|
67
|
-
/** @internal */
|
|
68
|
-
export const CustomMessagesListQueryParamOrderByDirection$outboundSchema:
|
|
69
|
-
z.ZodNativeEnum<typeof CustomMessagesListQueryParamOrderByDirection> =
|
|
70
|
-
CustomMessagesListQueryParamOrderByDirection$inboundSchema;
|
|
71
|
-
|
|
72
|
-
/**
|
|
73
|
-
* @internal
|
|
74
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
75
|
-
*/
|
|
76
|
-
export namespace CustomMessagesListQueryParamOrderByDirection$ {
|
|
77
|
-
/** @deprecated use `CustomMessagesListQueryParamOrderByDirection$inboundSchema` instead. */
|
|
78
|
-
export const inboundSchema =
|
|
79
|
-
CustomMessagesListQueryParamOrderByDirection$inboundSchema;
|
|
80
|
-
/** @deprecated use `CustomMessagesListQueryParamOrderByDirection$outboundSchema` instead. */
|
|
81
|
-
export const outboundSchema =
|
|
82
|
-
CustomMessagesListQueryParamOrderByDirection$outboundSchema;
|
|
83
|
-
}
|
|
84
|
-
|
|
85
21
|
/** @internal */
|
|
86
22
|
export const CustomMessagesListRequest$inboundSchema: z.ZodType<
|
|
87
23
|
CustomMessagesListRequest,
|
|
@@ -93,9 +29,8 @@ export const CustomMessagesListRequest$inboundSchema: z.ZodType<
|
|
|
93
29
|
search_fields: z.array(components.CustomMessageProperties$inboundSchema)
|
|
94
30
|
.optional(),
|
|
95
31
|
search_field_values: z.array(z.string()).optional(),
|
|
96
|
-
order_by:
|
|
97
|
-
order_by_direction:
|
|
98
|
-
.optional(),
|
|
32
|
+
order_by: components.CustomMessageProperties$inboundSchema.optional(),
|
|
33
|
+
order_by_direction: components.OrderByDirection$inboundSchema.optional(),
|
|
99
34
|
fields: z.nullable(z.array(components.CustomMessageProperties$inboundSchema))
|
|
100
35
|
.optional(),
|
|
101
36
|
start_datetime: z.nullable(z.string()).optional(),
|
|
@@ -135,9 +70,8 @@ export const CustomMessagesListRequest$outboundSchema: z.ZodType<
|
|
|
135
70
|
searchFields: z.array(components.CustomMessageProperties$outboundSchema)
|
|
136
71
|
.optional(),
|
|
137
72
|
searchFieldValues: z.array(z.string()).optional(),
|
|
138
|
-
orderBy:
|
|
139
|
-
orderByDirection:
|
|
140
|
-
.optional(),
|
|
73
|
+
orderBy: components.CustomMessageProperties$outboundSchema.optional(),
|
|
74
|
+
orderByDirection: components.OrderByDirection$outboundSchema.optional(),
|
|
141
75
|
fields: z.nullable(z.array(components.CustomMessageProperties$outboundSchema))
|
|
142
76
|
.optional(),
|
|
143
77
|
startDatetime: z.nullable(z.string()).optional(),
|
|
@@ -4,90 +4,20 @@
|
|
|
4
4
|
|
|
5
5
|
import * as z from "zod";
|
|
6
6
|
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
-
import { ClosedEnum } from "../../types/enums.js";
|
|
8
7
|
import * as components from "../components/index.js";
|
|
9
8
|
|
|
10
|
-
export const EventsListQueryParamOrderBy = {
|
|
11
|
-
Timestamp: "timestamp",
|
|
12
|
-
SessionId: "session_id",
|
|
13
|
-
ConversationId: "conversation_id",
|
|
14
|
-
Source: "source",
|
|
15
|
-
SourceId: "source_id",
|
|
16
|
-
Category: "category",
|
|
17
|
-
Type: "type",
|
|
18
|
-
UserId: "user_id",
|
|
19
|
-
Description: "description",
|
|
20
|
-
Attributes: "attributes",
|
|
21
|
-
} as const;
|
|
22
|
-
export type EventsListQueryParamOrderBy = ClosedEnum<
|
|
23
|
-
typeof EventsListQueryParamOrderBy
|
|
24
|
-
>;
|
|
25
|
-
|
|
26
|
-
export const EventsListQueryParamOrderByDirection = {
|
|
27
|
-
Asc: "asc",
|
|
28
|
-
Desc: "desc",
|
|
29
|
-
} as const;
|
|
30
|
-
export type EventsListQueryParamOrderByDirection = ClosedEnum<
|
|
31
|
-
typeof EventsListQueryParamOrderByDirection
|
|
32
|
-
>;
|
|
33
|
-
|
|
34
9
|
export type EventsListRequest = {
|
|
35
10
|
page?: number | null | undefined;
|
|
36
11
|
limit?: number | undefined;
|
|
37
12
|
searchFields?: Array<components.EventProperties> | undefined;
|
|
38
13
|
searchFieldValues?: Array<string> | undefined;
|
|
39
|
-
orderBy?:
|
|
40
|
-
orderByDirection?:
|
|
14
|
+
orderBy?: components.EventProperties | undefined;
|
|
15
|
+
orderByDirection?: components.OrderByDirection | undefined;
|
|
41
16
|
fields?: Array<components.EventProperties> | null | undefined;
|
|
42
17
|
startDatetime?: string | null | undefined;
|
|
43
18
|
endDatetime?: string | null | undefined;
|
|
44
19
|
};
|
|
45
20
|
|
|
46
|
-
/** @internal */
|
|
47
|
-
export const EventsListQueryParamOrderBy$inboundSchema: z.ZodNativeEnum<
|
|
48
|
-
typeof EventsListQueryParamOrderBy
|
|
49
|
-
> = z.nativeEnum(EventsListQueryParamOrderBy);
|
|
50
|
-
|
|
51
|
-
/** @internal */
|
|
52
|
-
export const EventsListQueryParamOrderBy$outboundSchema: z.ZodNativeEnum<
|
|
53
|
-
typeof EventsListQueryParamOrderBy
|
|
54
|
-
> = EventsListQueryParamOrderBy$inboundSchema;
|
|
55
|
-
|
|
56
|
-
/**
|
|
57
|
-
* @internal
|
|
58
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
59
|
-
*/
|
|
60
|
-
export namespace EventsListQueryParamOrderBy$ {
|
|
61
|
-
/** @deprecated use `EventsListQueryParamOrderBy$inboundSchema` instead. */
|
|
62
|
-
export const inboundSchema = EventsListQueryParamOrderBy$inboundSchema;
|
|
63
|
-
/** @deprecated use `EventsListQueryParamOrderBy$outboundSchema` instead. */
|
|
64
|
-
export const outboundSchema = EventsListQueryParamOrderBy$outboundSchema;
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
/** @internal */
|
|
68
|
-
export const EventsListQueryParamOrderByDirection$inboundSchema:
|
|
69
|
-
z.ZodNativeEnum<typeof EventsListQueryParamOrderByDirection> = z.nativeEnum(
|
|
70
|
-
EventsListQueryParamOrderByDirection,
|
|
71
|
-
);
|
|
72
|
-
|
|
73
|
-
/** @internal */
|
|
74
|
-
export const EventsListQueryParamOrderByDirection$outboundSchema:
|
|
75
|
-
z.ZodNativeEnum<typeof EventsListQueryParamOrderByDirection> =
|
|
76
|
-
EventsListQueryParamOrderByDirection$inboundSchema;
|
|
77
|
-
|
|
78
|
-
/**
|
|
79
|
-
* @internal
|
|
80
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
81
|
-
*/
|
|
82
|
-
export namespace EventsListQueryParamOrderByDirection$ {
|
|
83
|
-
/** @deprecated use `EventsListQueryParamOrderByDirection$inboundSchema` instead. */
|
|
84
|
-
export const inboundSchema =
|
|
85
|
-
EventsListQueryParamOrderByDirection$inboundSchema;
|
|
86
|
-
/** @deprecated use `EventsListQueryParamOrderByDirection$outboundSchema` instead. */
|
|
87
|
-
export const outboundSchema =
|
|
88
|
-
EventsListQueryParamOrderByDirection$outboundSchema;
|
|
89
|
-
}
|
|
90
|
-
|
|
91
21
|
/** @internal */
|
|
92
22
|
export const EventsListRequest$inboundSchema: z.ZodType<
|
|
93
23
|
EventsListRequest,
|
|
@@ -98,9 +28,8 @@ export const EventsListRequest$inboundSchema: z.ZodType<
|
|
|
98
28
|
limit: z.number().int().default(25),
|
|
99
29
|
search_fields: z.array(components.EventProperties$inboundSchema).optional(),
|
|
100
30
|
search_field_values: z.array(z.string()).optional(),
|
|
101
|
-
order_by:
|
|
102
|
-
order_by_direction:
|
|
103
|
-
.optional(),
|
|
31
|
+
order_by: components.EventProperties$inboundSchema.optional(),
|
|
32
|
+
order_by_direction: components.OrderByDirection$inboundSchema.optional(),
|
|
104
33
|
fields: z.nullable(z.array(components.EventProperties$inboundSchema))
|
|
105
34
|
.optional(),
|
|
106
35
|
start_datetime: z.nullable(z.string()).optional(),
|
|
@@ -139,9 +68,8 @@ export const EventsListRequest$outboundSchema: z.ZodType<
|
|
|
139
68
|
limit: z.number().int().default(25),
|
|
140
69
|
searchFields: z.array(components.EventProperties$outboundSchema).optional(),
|
|
141
70
|
searchFieldValues: z.array(z.string()).optional(),
|
|
142
|
-
orderBy:
|
|
143
|
-
orderByDirection:
|
|
144
|
-
.optional(),
|
|
71
|
+
orderBy: components.EventProperties$outboundSchema.optional(),
|
|
72
|
+
orderByDirection: components.OrderByDirection$outboundSchema.optional(),
|
|
145
73
|
fields: z.nullable(z.array(components.EventProperties$outboundSchema))
|
|
146
74
|
.optional(),
|
|
147
75
|
startDatetime: z.nullable(z.string()).optional(),
|
|
@@ -6,13 +6,12 @@ export * from "./agentdelete.js";
|
|
|
6
6
|
export * from "./agentgetbyid.js";
|
|
7
7
|
export * from "./agentlist.js";
|
|
8
8
|
export * from "./availabletargets.js";
|
|
9
|
-
export * from "./channelsdelete.js";
|
|
10
9
|
export * from "./channelslist.js";
|
|
11
|
-
export * from "./channelstargetupdate.js";
|
|
12
10
|
export * from "./channeltargetscreate.js";
|
|
11
|
+
export * from "./channeltargetsdelete.js";
|
|
13
12
|
export * from "./channeltargetsgetbyid.js";
|
|
14
13
|
export * from "./channeltargetslist.js";
|
|
15
|
-
export * from "./
|
|
14
|
+
export * from "./channeltargetsupdate.js";
|
|
16
15
|
export * from "./conversationslist.js";
|
|
17
16
|
export * from "./custommessagegetbyid.js";
|
|
18
17
|
export * from "./custommessagesdelete.js";
|
|
@@ -28,7 +27,10 @@ export * from "./getweeklycallvolumebyweekday.js";
|
|
|
28
27
|
export * from "./promptsdelete.js";
|
|
29
28
|
export * from "./promptsgetbyid.js";
|
|
30
29
|
export * from "./promptslist.js";
|
|
30
|
+
export * from "./sessionlabelgetbyid.js";
|
|
31
|
+
export * from "./sessionlabelslist.js";
|
|
31
32
|
export * from "./sessionslist.js";
|
|
33
|
+
export * from "./sessiontranscriptgetbyid.js";
|
|
32
34
|
export * from "./toolgetbyname.js";
|
|
33
35
|
export * from "./toollist.js";
|
|
34
36
|
export * from "./totalcallvolumebyweekday.js";
|
|
@@ -4,85 +4,20 @@
|
|
|
4
4
|
|
|
5
5
|
import * as z from "zod";
|
|
6
6
|
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
-
import { ClosedEnum } from "../../types/enums.js";
|
|
8
7
|
import * as components from "../components/index.js";
|
|
9
8
|
|
|
10
|
-
export const PromptsListQueryParamOrderBy = {
|
|
11
|
-
Id: "id",
|
|
12
|
-
Name: "name",
|
|
13
|
-
Context: "context",
|
|
14
|
-
Tools: "tools",
|
|
15
|
-
LlmConfig: "llm_config",
|
|
16
|
-
} as const;
|
|
17
|
-
export type PromptsListQueryParamOrderBy = ClosedEnum<
|
|
18
|
-
typeof PromptsListQueryParamOrderBy
|
|
19
|
-
>;
|
|
20
|
-
|
|
21
|
-
export const PromptsListQueryParamOrderByDirection = {
|
|
22
|
-
Asc: "asc",
|
|
23
|
-
Desc: "desc",
|
|
24
|
-
} as const;
|
|
25
|
-
export type PromptsListQueryParamOrderByDirection = ClosedEnum<
|
|
26
|
-
typeof PromptsListQueryParamOrderByDirection
|
|
27
|
-
>;
|
|
28
|
-
|
|
29
9
|
export type PromptsListRequest = {
|
|
30
10
|
page?: number | null | undefined;
|
|
31
11
|
limit?: number | undefined;
|
|
32
12
|
searchFields?: Array<components.PromptProperties> | undefined;
|
|
33
13
|
searchFieldValues?: Array<string> | undefined;
|
|
34
|
-
orderBy?:
|
|
35
|
-
orderByDirection?:
|
|
14
|
+
orderBy?: components.PromptProperties | undefined;
|
|
15
|
+
orderByDirection?: components.OrderByDirection | undefined;
|
|
36
16
|
fields?: Array<components.PromptProperties> | null | undefined;
|
|
37
17
|
startDatetime?: string | null | undefined;
|
|
38
18
|
endDatetime?: string | null | undefined;
|
|
39
19
|
};
|
|
40
20
|
|
|
41
|
-
/** @internal */
|
|
42
|
-
export const PromptsListQueryParamOrderBy$inboundSchema: z.ZodNativeEnum<
|
|
43
|
-
typeof PromptsListQueryParamOrderBy
|
|
44
|
-
> = z.nativeEnum(PromptsListQueryParamOrderBy);
|
|
45
|
-
|
|
46
|
-
/** @internal */
|
|
47
|
-
export const PromptsListQueryParamOrderBy$outboundSchema: z.ZodNativeEnum<
|
|
48
|
-
typeof PromptsListQueryParamOrderBy
|
|
49
|
-
> = PromptsListQueryParamOrderBy$inboundSchema;
|
|
50
|
-
|
|
51
|
-
/**
|
|
52
|
-
* @internal
|
|
53
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
54
|
-
*/
|
|
55
|
-
export namespace PromptsListQueryParamOrderBy$ {
|
|
56
|
-
/** @deprecated use `PromptsListQueryParamOrderBy$inboundSchema` instead. */
|
|
57
|
-
export const inboundSchema = PromptsListQueryParamOrderBy$inboundSchema;
|
|
58
|
-
/** @deprecated use `PromptsListQueryParamOrderBy$outboundSchema` instead. */
|
|
59
|
-
export const outboundSchema = PromptsListQueryParamOrderBy$outboundSchema;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
/** @internal */
|
|
63
|
-
export const PromptsListQueryParamOrderByDirection$inboundSchema:
|
|
64
|
-
z.ZodNativeEnum<typeof PromptsListQueryParamOrderByDirection> = z.nativeEnum(
|
|
65
|
-
PromptsListQueryParamOrderByDirection,
|
|
66
|
-
);
|
|
67
|
-
|
|
68
|
-
/** @internal */
|
|
69
|
-
export const PromptsListQueryParamOrderByDirection$outboundSchema:
|
|
70
|
-
z.ZodNativeEnum<typeof PromptsListQueryParamOrderByDirection> =
|
|
71
|
-
PromptsListQueryParamOrderByDirection$inboundSchema;
|
|
72
|
-
|
|
73
|
-
/**
|
|
74
|
-
* @internal
|
|
75
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
76
|
-
*/
|
|
77
|
-
export namespace PromptsListQueryParamOrderByDirection$ {
|
|
78
|
-
/** @deprecated use `PromptsListQueryParamOrderByDirection$inboundSchema` instead. */
|
|
79
|
-
export const inboundSchema =
|
|
80
|
-
PromptsListQueryParamOrderByDirection$inboundSchema;
|
|
81
|
-
/** @deprecated use `PromptsListQueryParamOrderByDirection$outboundSchema` instead. */
|
|
82
|
-
export const outboundSchema =
|
|
83
|
-
PromptsListQueryParamOrderByDirection$outboundSchema;
|
|
84
|
-
}
|
|
85
|
-
|
|
86
21
|
/** @internal */
|
|
87
22
|
export const PromptsListRequest$inboundSchema: z.ZodType<
|
|
88
23
|
PromptsListRequest,
|
|
@@ -93,9 +28,8 @@ export const PromptsListRequest$inboundSchema: z.ZodType<
|
|
|
93
28
|
limit: z.number().int().default(25),
|
|
94
29
|
search_fields: z.array(components.PromptProperties$inboundSchema).optional(),
|
|
95
30
|
search_field_values: z.array(z.string()).optional(),
|
|
96
|
-
order_by:
|
|
97
|
-
order_by_direction:
|
|
98
|
-
.optional(),
|
|
31
|
+
order_by: components.PromptProperties$inboundSchema.optional(),
|
|
32
|
+
order_by_direction: components.OrderByDirection$inboundSchema.optional(),
|
|
99
33
|
fields: z.nullable(z.array(components.PromptProperties$inboundSchema))
|
|
100
34
|
.optional(),
|
|
101
35
|
start_datetime: z.nullable(z.string()).optional(),
|
|
@@ -134,9 +68,8 @@ export const PromptsListRequest$outboundSchema: z.ZodType<
|
|
|
134
68
|
limit: z.number().int().default(25),
|
|
135
69
|
searchFields: z.array(components.PromptProperties$outboundSchema).optional(),
|
|
136
70
|
searchFieldValues: z.array(z.string()).optional(),
|
|
137
|
-
orderBy:
|
|
138
|
-
orderByDirection:
|
|
139
|
-
.optional(),
|
|
71
|
+
orderBy: components.PromptProperties$outboundSchema.optional(),
|
|
72
|
+
orderByDirection: components.OrderByDirection$outboundSchema.optional(),
|
|
140
73
|
fields: z.nullable(z.array(components.PromptProperties$outboundSchema))
|
|
141
74
|
.optional(),
|
|
142
75
|
startDatetime: z.nullable(z.string()).optional(),
|
|
@@ -0,0 +1,54 @@
|
|
|
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
|
+
|
|
8
|
+
export type SessionLabelGetByIdRequest = {
|
|
9
|
+
sessionLabelId: number;
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
/** @internal */
|
|
13
|
+
export const SessionLabelGetByIdRequest$inboundSchema: z.ZodType<
|
|
14
|
+
SessionLabelGetByIdRequest,
|
|
15
|
+
z.ZodTypeDef,
|
|
16
|
+
unknown
|
|
17
|
+
> = z.object({
|
|
18
|
+
session_label_id: z.number().int(),
|
|
19
|
+
}).transform((v) => {
|
|
20
|
+
return remap$(v, {
|
|
21
|
+
"session_label_id": "sessionLabelId",
|
|
22
|
+
});
|
|
23
|
+
});
|
|
24
|
+
|
|
25
|
+
/** @internal */
|
|
26
|
+
export type SessionLabelGetByIdRequest$Outbound = {
|
|
27
|
+
session_label_id: number;
|
|
28
|
+
};
|
|
29
|
+
|
|
30
|
+
/** @internal */
|
|
31
|
+
export const SessionLabelGetByIdRequest$outboundSchema: z.ZodType<
|
|
32
|
+
SessionLabelGetByIdRequest$Outbound,
|
|
33
|
+
z.ZodTypeDef,
|
|
34
|
+
SessionLabelGetByIdRequest
|
|
35
|
+
> = z.object({
|
|
36
|
+
sessionLabelId: z.number().int(),
|
|
37
|
+
}).transform((v) => {
|
|
38
|
+
return remap$(v, {
|
|
39
|
+
sessionLabelId: "session_label_id",
|
|
40
|
+
});
|
|
41
|
+
});
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* @internal
|
|
45
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
46
|
+
*/
|
|
47
|
+
export namespace SessionLabelGetByIdRequest$ {
|
|
48
|
+
/** @deprecated use `SessionLabelGetByIdRequest$inboundSchema` instead. */
|
|
49
|
+
export const inboundSchema = SessionLabelGetByIdRequest$inboundSchema;
|
|
50
|
+
/** @deprecated use `SessionLabelGetByIdRequest$outboundSchema` instead. */
|
|
51
|
+
export const outboundSchema = SessionLabelGetByIdRequest$outboundSchema;
|
|
52
|
+
/** @deprecated use `SessionLabelGetByIdRequest$Outbound` instead. */
|
|
53
|
+
export type Outbound = SessionLabelGetByIdRequest$Outbound;
|
|
54
|
+
}
|
|
@@ -0,0 +1,101 @@
|
|
|
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 * as components from "../components/index.js";
|
|
8
|
+
|
|
9
|
+
export type SessionLabelsListRequest = {
|
|
10
|
+
page?: number | null | undefined;
|
|
11
|
+
limit?: number | undefined;
|
|
12
|
+
searchFields?: Array<components.SessionLabelProperties> | undefined;
|
|
13
|
+
searchFieldValues?: Array<string> | undefined;
|
|
14
|
+
orderBy?: components.SessionLabelProperties | undefined;
|
|
15
|
+
orderByDirection?: components.OrderByDirection | undefined;
|
|
16
|
+
fields?: Array<components.SessionLabelProperties> | null | undefined;
|
|
17
|
+
startDatetime?: string | null | undefined;
|
|
18
|
+
endDatetime?: string | null | undefined;
|
|
19
|
+
};
|
|
20
|
+
|
|
21
|
+
/** @internal */
|
|
22
|
+
export const SessionLabelsListRequest$inboundSchema: z.ZodType<
|
|
23
|
+
SessionLabelsListRequest,
|
|
24
|
+
z.ZodTypeDef,
|
|
25
|
+
unknown
|
|
26
|
+
> = z.object({
|
|
27
|
+
page: z.nullable(z.number().int()).optional(),
|
|
28
|
+
limit: z.number().int().default(25),
|
|
29
|
+
search_fields: z.array(components.SessionLabelProperties$inboundSchema)
|
|
30
|
+
.optional(),
|
|
31
|
+
search_field_values: z.array(z.string()).optional(),
|
|
32
|
+
order_by: components.SessionLabelProperties$inboundSchema.optional(),
|
|
33
|
+
order_by_direction: components.OrderByDirection$inboundSchema.optional(),
|
|
34
|
+
fields: z.nullable(z.array(components.SessionLabelProperties$inboundSchema))
|
|
35
|
+
.optional(),
|
|
36
|
+
start_datetime: z.nullable(z.string()).optional(),
|
|
37
|
+
end_datetime: z.nullable(z.string()).optional(),
|
|
38
|
+
}).transform((v) => {
|
|
39
|
+
return remap$(v, {
|
|
40
|
+
"search_fields": "searchFields",
|
|
41
|
+
"search_field_values": "searchFieldValues",
|
|
42
|
+
"order_by": "orderBy",
|
|
43
|
+
"order_by_direction": "orderByDirection",
|
|
44
|
+
"start_datetime": "startDatetime",
|
|
45
|
+
"end_datetime": "endDatetime",
|
|
46
|
+
});
|
|
47
|
+
});
|
|
48
|
+
|
|
49
|
+
/** @internal */
|
|
50
|
+
export type SessionLabelsListRequest$Outbound = {
|
|
51
|
+
page?: number | null | undefined;
|
|
52
|
+
limit: number;
|
|
53
|
+
search_fields?: Array<string> | undefined;
|
|
54
|
+
search_field_values?: Array<string> | undefined;
|
|
55
|
+
order_by?: string | undefined;
|
|
56
|
+
order_by_direction?: string | undefined;
|
|
57
|
+
fields?: Array<string> | null | undefined;
|
|
58
|
+
start_datetime?: string | null | undefined;
|
|
59
|
+
end_datetime?: string | null | undefined;
|
|
60
|
+
};
|
|
61
|
+
|
|
62
|
+
/** @internal */
|
|
63
|
+
export const SessionLabelsListRequest$outboundSchema: z.ZodType<
|
|
64
|
+
SessionLabelsListRequest$Outbound,
|
|
65
|
+
z.ZodTypeDef,
|
|
66
|
+
SessionLabelsListRequest
|
|
67
|
+
> = z.object({
|
|
68
|
+
page: z.nullable(z.number().int()).optional(),
|
|
69
|
+
limit: z.number().int().default(25),
|
|
70
|
+
searchFields: z.array(components.SessionLabelProperties$outboundSchema)
|
|
71
|
+
.optional(),
|
|
72
|
+
searchFieldValues: z.array(z.string()).optional(),
|
|
73
|
+
orderBy: components.SessionLabelProperties$outboundSchema.optional(),
|
|
74
|
+
orderByDirection: components.OrderByDirection$outboundSchema.optional(),
|
|
75
|
+
fields: z.nullable(z.array(components.SessionLabelProperties$outboundSchema))
|
|
76
|
+
.optional(),
|
|
77
|
+
startDatetime: z.nullable(z.string()).optional(),
|
|
78
|
+
endDatetime: z.nullable(z.string()).optional(),
|
|
79
|
+
}).transform((v) => {
|
|
80
|
+
return remap$(v, {
|
|
81
|
+
searchFields: "search_fields",
|
|
82
|
+
searchFieldValues: "search_field_values",
|
|
83
|
+
orderBy: "order_by",
|
|
84
|
+
orderByDirection: "order_by_direction",
|
|
85
|
+
startDatetime: "start_datetime",
|
|
86
|
+
endDatetime: "end_datetime",
|
|
87
|
+
});
|
|
88
|
+
});
|
|
89
|
+
|
|
90
|
+
/**
|
|
91
|
+
* @internal
|
|
92
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
93
|
+
*/
|
|
94
|
+
export namespace SessionLabelsListRequest$ {
|
|
95
|
+
/** @deprecated use `SessionLabelsListRequest$inboundSchema` instead. */
|
|
96
|
+
export const inboundSchema = SessionLabelsListRequest$inboundSchema;
|
|
97
|
+
/** @deprecated use `SessionLabelsListRequest$outboundSchema` instead. */
|
|
98
|
+
export const outboundSchema = SessionLabelsListRequest$outboundSchema;
|
|
99
|
+
/** @deprecated use `SessionLabelsListRequest$Outbound` instead. */
|
|
100
|
+
export type Outbound = SessionLabelsListRequest$Outbound;
|
|
101
|
+
}
|