p3apiconnect

package
v1.8.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 13, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// P3ApiGetAgentHuntGroupProcedure is the fully-qualified name of the P3Api's GetAgentHuntGroup RPC.
	P3ApiGetAgentHuntGroupProcedure = "/api.v1alpha1.p3api.P3Api/GetAgentHuntGroup"
	// P3ApiGetAgentSessionProcedure is the fully-qualified name of the P3Api's GetAgentSession RPC.
	P3ApiGetAgentSessionProcedure = "/api.v1alpha1.p3api.P3Api/GetAgentSession"
	// P3ApiGetAgentSkillsProcedure is the fully-qualified name of the P3Api's GetAgentSkills RPC.
	P3ApiGetAgentSkillsProcedure = "/api.v1alpha1.p3api.P3Api/GetAgentSkills"
	// P3ApiCreateAgentSkillProcedure is the fully-qualified name of the P3Api's CreateAgentSkill RPC.
	P3ApiCreateAgentSkillProcedure = "/api.v1alpha1.p3api.P3Api/CreateAgentSkill"
	// P3ApiUpdateAgentSkillProcedure is the fully-qualified name of the P3Api's UpdateAgentSkill RPC.
	P3ApiUpdateAgentSkillProcedure = "/api.v1alpha1.p3api.P3Api/UpdateAgentSkill"
	// P3ApiDeleteAgentSkillProcedure is the fully-qualified name of the P3Api's DeleteAgentSkill RPC.
	P3ApiDeleteAgentSkillProcedure = "/api.v1alpha1.p3api.P3Api/DeleteAgentSkill"
	// P3ApiListSkillsForCurrentAgentProcedure is the fully-qualified name of the P3Api's
	// ListSkillsForCurrentAgent RPC.
	P3ApiListSkillsForCurrentAgentProcedure = "/api.v1alpha1.p3api.P3Api/ListSkillsForCurrentAgent"
	// P3ApiListSkillsProcedure is the fully-qualified name of the P3Api's ListSkills RPC.
	P3ApiListSkillsProcedure = "/api.v1alpha1.p3api.P3Api/ListSkills"
	// P3ApiUpdateAgentSkillsProcedure is the fully-qualified name of the P3Api's UpdateAgentSkills RPC.
	P3ApiUpdateAgentSkillsProcedure = "/api.v1alpha1.p3api.P3Api/UpdateAgentSkills"
	// P3ApiGetCurrentAgentProcedure is the fully-qualified name of the P3Api's GetCurrentAgent RPC.
	P3ApiGetCurrentAgentProcedure = "/api.v1alpha1.p3api.P3Api/GetCurrentAgent"
	// P3ApiGetClientInfoDataProcedure is the fully-qualified name of the P3Api's GetClientInfoData RPC.
	P3ApiGetClientInfoDataProcedure = "/api.v1alpha1.p3api.P3Api/GetClientInfoData"
	// P3ApiGetClientInfoDisplayTemplateProcedure is the fully-qualified name of the P3Api's
	// GetClientInfoDisplayTemplate RPC.
	P3ApiGetClientInfoDisplayTemplateProcedure = "/api.v1alpha1.p3api.P3Api/GetClientInfoDisplayTemplate"
	// P3ApiListAgentStatisticsDataProcedure is the fully-qualified name of the P3Api's
	// ListAgentStatisticsData RPC.
	P3ApiListAgentStatisticsDataProcedure = "/api.v1alpha1.p3api.P3Api/ListAgentStatisticsData"
	// P3ApiListPBXExtensionsProcedure is the fully-qualified name of the P3Api's ListPBXExtensions RPC.
	P3ApiListPBXExtensionsProcedure = "/api.v1alpha1.p3api.P3Api/ListPBXExtensions"
	// P3ApiListAgentExtensionsProcedure is the fully-qualified name of the P3Api's ListAgentExtensions
	// RPC.
	P3ApiListAgentExtensionsProcedure = "/api.v1alpha1.p3api.P3Api/ListAgentExtensions"
	// P3ApiListHuntGroupExtensionsProcedure is the fully-qualified name of the P3Api's
	// ListHuntGroupExtensions RPC.
	P3ApiListHuntGroupExtensionsProcedure = "/api.v1alpha1.p3api.P3Api/ListHuntGroupExtensions"
	// P3ApiCreateExtensionProcedure is the fully-qualified name of the P3Api's CreateExtension RPC.
	P3ApiCreateExtensionProcedure = "/api.v1alpha1.p3api.P3Api/CreateExtension"
	// P3ApiDeleteExtensionProcedure is the fully-qualified name of the P3Api's DeleteExtension RPC.
	P3ApiDeleteExtensionProcedure = "/api.v1alpha1.p3api.P3Api/DeleteExtension"
	// P3ApiUpdateExtensionProcedure is the fully-qualified name of the P3Api's UpdateExtension RPC.
	P3ApiUpdateExtensionProcedure = "/api.v1alpha1.p3api.P3Api/UpdateExtension"
	// P3ApiUpdatePBXExtensionProcedure is the fully-qualified name of the P3Api's UpdatePBXExtension
	// RPC.
	P3ApiUpdatePBXExtensionProcedure = "/api.v1alpha1.p3api.P3Api/UpdatePBXExtension"
	// P3ApiCreateDNCLNumbersProcedure is the fully-qualified name of the P3Api's CreateDNCLNumbers RPC.
	P3ApiCreateDNCLNumbersProcedure = "/api.v1alpha1.p3api.P3Api/CreateDNCLNumbers"
	// P3ApiGetScriptOrResponsesProcedure is the fully-qualified name of the P3Api's
	// GetScriptOrResponses RPC.
	P3ApiGetScriptOrResponsesProcedure = "/api.v1alpha1.p3api.P3Api/GetScriptOrResponses"
	// P3ApiGetHuntGroupAgentSettingsProcedure is the fully-qualified name of the P3Api's
	// GetHuntGroupAgentSettings RPC.
	P3ApiGetHuntGroupAgentSettingsProcedure = "/api.v1alpha1.p3api.P3Api/GetHuntGroupAgentSettings"
	// P3ApiListHuntGroupWebLinksProcedure is the fully-qualified name of the P3Api's
	// ListHuntGroupWebLinks RPC.
	P3ApiListHuntGroupWebLinksProcedure = "/api.v1alpha1.p3api.P3Api/ListHuntGroupWebLinks"
	// P3ApiGetHuntGroupPauseCodesProcedure is the fully-qualified name of the P3Api's
	// GetHuntGroupPauseCodes RPC.
	P3ApiGetHuntGroupPauseCodesProcedure = "/api.v1alpha1.p3api.P3Api/GetHuntGroupPauseCodes"
	// P3ApiListAgentCallHistoryProcedure is the fully-qualified name of the P3Api's
	// ListAgentCallHistory RPC.
	P3ApiListAgentCallHistoryProcedure = "/api.v1alpha1.p3api.P3Api/ListAgentCallHistory"
	// P3ApiListClientPhoneBookEntriesProcedure is the fully-qualified name of the P3Api's
	// ListClientPhoneBookEntries RPC.
	P3ApiListClientPhoneBookEntriesProcedure = "/api.v1alpha1.p3api.P3Api/ListClientPhoneBookEntries"
	// P3ApiListHuntGroupPhoneBookEntriesProcedure is the fully-qualified name of the P3Api's
	// ListHuntGroupPhoneBookEntries RPC.
	P3ApiListHuntGroupPhoneBookEntriesProcedure = "/api.v1alpha1.p3api.P3Api/ListHuntGroupPhoneBookEntries"
	// P3ApiCreatePhoneBookEntryProcedure is the fully-qualified name of the P3Api's
	// CreatePhoneBookEntry RPC.
	P3ApiCreatePhoneBookEntryProcedure = "/api.v1alpha1.p3api.P3Api/CreatePhoneBookEntry"
	// P3ApiUpdatePhoneBookEntryProcedure is the fully-qualified name of the P3Api's
	// UpdatePhoneBookEntry RPC.
	P3ApiUpdatePhoneBookEntryProcedure = "/api.v1alpha1.p3api.P3Api/UpdatePhoneBookEntry"
	// P3ApiDeletePhoneBookEntryProcedure is the fully-qualified name of the P3Api's
	// DeletePhoneBookEntry RPC.
	P3ApiDeletePhoneBookEntryProcedure = "/api.v1alpha1.p3api.P3Api/DeletePhoneBookEntry"
	// P3ApiListPhoneBooksProcedure is the fully-qualified name of the P3Api's ListPhoneBooks RPC.
	P3ApiListPhoneBooksProcedure = "/api.v1alpha1.p3api.P3Api/ListPhoneBooks"
	// P3ApiListAgentTriggersProcedure is the fully-qualified name of the P3Api's ListAgentTriggers RPC.
	P3ApiListAgentTriggersProcedure = "/api.v1alpha1.p3api.P3Api/ListAgentTriggers"
	// P3ApiGetCampaignCompletionStatusProcedure is the fully-qualified name of the P3Api's
	// GetCampaignCompletionStatus RPC.
	P3ApiGetCampaignCompletionStatusProcedure = "/api.v1alpha1.p3api.P3Api/GetCampaignCompletionStatus"
	// P3ApiGetLostPeerInfoProcedure is the fully-qualified name of the P3Api's GetLostPeerInfo RPC.
	P3ApiGetLostPeerInfoProcedure = "/api.v1alpha1.p3api.P3Api/GetLostPeerInfo"
	// P3ApiGetDispositionKeysProcedure is the fully-qualified name of the P3Api's GetDispositionKeys
	// RPC.
	P3ApiGetDispositionKeysProcedure = "/api.v1alpha1.p3api.P3Api/GetDispositionKeys"
	// P3ApiGetReadyAgentsProcedure is the fully-qualified name of the P3Api's GetReadyAgents RPC.
	P3ApiGetReadyAgentsProcedure = "/api.v1alpha1.p3api.P3Api/GetReadyAgents"
	// P3ApiListAgentQueueAndOnHoldCallDataProcedure is the fully-qualified name of the P3Api's
	// ListAgentQueueAndOnHoldCallData RPC.
	P3ApiListAgentQueueAndOnHoldCallDataProcedure = "/api.v1alpha1.p3api.P3Api/ListAgentQueueAndOnHoldCallData"
	// P3ApiSaveAgentCallResponsesProcedure is the fully-qualified name of the P3Api's
	// SaveAgentCallResponses RPC.
	P3ApiSaveAgentCallResponsesProcedure = "/api.v1alpha1.p3api.P3Api/SaveAgentCallResponses"
	// P3ApiListAgentTransferOptionsProcedure is the fully-qualified name of the P3Api's
	// ListAgentTransferOptions RPC.
	P3ApiListAgentTransferOptionsProcedure = "/api.v1alpha1.p3api.P3Api/ListAgentTransferOptions"
	// P3ApiUpdateAgentCallResponseValueProcedure is the fully-qualified name of the P3Api's
	// UpdateAgentCallResponseValue RPC.
	P3ApiUpdateAgentCallResponseValueProcedure = "/api.v1alpha1.p3api.P3Api/UpdateAgentCallResponseValue"
	// P3ApiGetIntercomPeerInfoProcedure is the fully-qualified name of the P3Api's GetIntercomPeerInfo
	// RPC.
	P3ApiGetIntercomPeerInfoProcedure = "/api.v1alpha1.p3api.P3Api/GetIntercomPeerInfo"
	// P3ApiListOrgResponseEvaluatorsProcedure is the fully-qualified name of the P3Api's
	// ListOrgResponseEvaluators RPC.
	P3ApiListOrgResponseEvaluatorsProcedure = "/api.v1alpha1.p3api.P3Api/ListOrgResponseEvaluators"
	// P3ApiGetQueueConfigurationOptionsArrayProcedure is the fully-qualified name of the P3Api's
	// GetQueueConfigurationOptionsArray RPC.
	P3ApiGetQueueConfigurationOptionsArrayProcedure = "/api.v1alpha1.p3api.P3Api/GetQueueConfigurationOptionsArray"
	// P3ApiGetConditionalDNCLRulesProcedure is the fully-qualified name of the P3Api's
	// GetConditionalDNCLRules RPC.
	P3ApiGetConditionalDNCLRulesProcedure = "/api.v1alpha1.p3api.P3Api/GetConditionalDNCLRules"
	// P3ApiManualDialStartProcedure is the fully-qualified name of the P3Api's ManualDialStart RPC.
	P3ApiManualDialStartProcedure = "/api.v1alpha1.p3api.P3Api/ManualDialStart"
	// P3ApiGetExtendedCallHistoriesProcedure is the fully-qualified name of the P3Api's
	// GetExtendedCallHistories RPC.
	P3ApiGetExtendedCallHistoriesProcedure = "/api.v1alpha1.p3api.P3Api/GetExtendedCallHistories"
	// P3ApiListWhiteListPhoneBooksProcedure is the fully-qualified name of the P3Api's
	// ListWhiteListPhoneBooks RPC.
	P3ApiListWhiteListPhoneBooksProcedure = "/api.v1alpha1.p3api.P3Api/ListWhiteListPhoneBooks"
	// P3ApiDownloadCallRecordingProcedure is the fully-qualified name of the P3Api's
	// DownloadCallRecording RPC.
	P3ApiDownloadCallRecordingProcedure = "/api.v1alpha1.p3api.P3Api/DownloadCallRecording"
	// P3ApiDownloadCallRecordingsProcedure is the fully-qualified name of the P3Api's
	// DownloadCallRecordings RPC.
	P3ApiDownloadCallRecordingsProcedure = "/api.v1alpha1.p3api.P3Api/DownloadCallRecordings"
	// P3ApiPlacePreviewDialCallProcedure is the fully-qualified name of the P3Api's
	// PlacePreviewDialCall RPC.
	P3ApiPlacePreviewDialCallProcedure = "/api.v1alpha1.p3api.P3Api/PlacePreviewDialCall"
	// P3ApiCancelPreviewDialCallProcedure is the fully-qualified name of the P3Api's
	// CancelPreviewDialCall RPC.
	P3ApiCancelPreviewDialCallProcedure = "/api.v1alpha1.p3api.P3Api/CancelPreviewDialCall"
	// P3ApiUpdateTaskStatusProcedure is the fully-qualified name of the P3Api's UpdateTaskStatus RPC.
	P3ApiUpdateTaskStatusProcedure = "/api.v1alpha1.p3api.P3Api/UpdateTaskStatus"
	// P3ApiListCallbackRoutingAgentsProcedure is the fully-qualified name of the P3Api's
	// ListCallbackRoutingAgents RPC.
	P3ApiListCallbackRoutingAgentsProcedure = "/api.v1alpha1.p3api.P3Api/ListCallbackRoutingAgents"
	// P3ApiListCallbackRoutingSkillsProcedure is the fully-qualified name of the P3Api's
	// ListCallbackRoutingSkills RPC.
	P3ApiListCallbackRoutingSkillsProcedure = "/api.v1alpha1.p3api.P3Api/ListCallbackRoutingSkills"
	// P3ApiHandleRecordingDelayProcedure is the fully-qualified name of the P3Api's
	// HandleRecordingDelay RPC.
	P3ApiHandleRecordingDelayProcedure = "/api.v1alpha1.p3api.P3Api/HandleRecordingDelay"
	// P3ApiUpdateAgentAssignedHuntGroupProcedure is the fully-qualified name of the P3Api's
	// UpdateAgentAssignedHuntGroup RPC.
	P3ApiUpdateAgentAssignedHuntGroupProcedure = "/api.v1alpha1.p3api.P3Api/UpdateAgentAssignedHuntGroup"
	// P3ApiGetCallDataProcedure is the fully-qualified name of the P3Api's GetCallData RPC.
	P3ApiGetCallDataProcedure = "/api.v1alpha1.p3api.P3Api/GetCallData"
	// P3ApiListHuntGroupsProcedure is the fully-qualified name of the P3Api's ListHuntGroups RPC.
	P3ApiListHuntGroupsProcedure = "/api.v1alpha1.p3api.P3Api/ListHuntGroups"
	// P3ApiListReassignmentHuntGroupsProcedure is the fully-qualified name of the P3Api's
	// ListReassignmentHuntGroups RPC.
	P3ApiListReassignmentHuntGroupsProcedure = "/api.v1alpha1.p3api.P3Api/ListReassignmentHuntGroups"
	// P3ApiGetOrgAgentSettingsProcedure is the fully-qualified name of the P3Api's GetOrgAgentSettings
	// RPC.
	P3ApiGetOrgAgentSettingsProcedure = "/api.v1alpha1.p3api.P3Api/GetOrgAgentSettings"
	// P3ApiListCallerIdsFromBucketProcedure is the fully-qualified name of the P3Api's
	// ListCallerIdsFromBucket RPC.
	P3ApiListCallerIdsFromBucketProcedure = "/api.v1alpha1.p3api.P3Api/ListCallerIdsFromBucket"
	// P3ApiSaveLastCallResponseProcedure is the fully-qualified name of the P3Api's
	// SaveLastCallResponse RPC.
	P3ApiSaveLastCallResponseProcedure = "/api.v1alpha1.p3api.P3Api/SaveLastCallResponse"
	// P3ApiListAgentCallLogsByCallSidAndTypeProcedure is the fully-qualified name of the P3Api's
	// ListAgentCallLogsByCallSidAndType RPC.
	P3ApiListAgentCallLogsByCallSidAndTypeProcedure = "/api.v1alpha1.p3api.P3Api/ListAgentCallLogsByCallSidAndType"
	// P3ApiListAgentCallResponseValuesProcedure is the fully-qualified name of the P3Api's
	// ListAgentCallResponseValues RPC.
	P3ApiListAgentCallResponseValuesProcedure = "/api.v1alpha1.p3api.P3Api/ListAgentCallResponseValues"
	// P3ApiGetContactSchemaByContactGroupProcedure is the fully-qualified name of the P3Api's
	// GetContactSchemaByContactGroup RPC.
	P3ApiGetContactSchemaByContactGroupProcedure = "/api.v1alpha1.p3api.P3Api/GetContactSchemaByContactGroup"
	// P3ApiListContactGroupDetailsByClientSidProcedure is the fully-qualified name of the P3Api's
	// ListContactGroupDetailsByClientSid RPC.
	P3ApiListContactGroupDetailsByClientSidProcedure = "/api.v1alpha1.p3api.P3Api/ListContactGroupDetailsByClientSid"
	// P3ApiGetContactGroupDetailsProcedure is the fully-qualified name of the P3Api's
	// GetContactGroupDetails RPC.
	P3ApiGetContactGroupDetailsProcedure = "/api.v1alpha1.p3api.P3Api/GetContactGroupDetails"
	// P3ApiGetContactGroupSizeProcedure is the fully-qualified name of the P3Api's GetContactGroupSize
	// RPC.
	P3ApiGetContactGroupSizeProcedure = "/api.v1alpha1.p3api.P3Api/GetContactGroupSize"
	// P3ApiCreateContactFieldDescriptionProcedure is the fully-qualified name of the P3Api's
	// CreateContactFieldDescription RPC.
	P3ApiCreateContactFieldDescriptionProcedure = "/api.v1alpha1.p3api.P3Api/CreateContactFieldDescription"
	// P3ApiDeleteContactFieldDescriptionProcedure is the fully-qualified name of the P3Api's
	// DeleteContactFieldDescription RPC.
	P3ApiDeleteContactFieldDescriptionProcedure = "/api.v1alpha1.p3api.P3Api/DeleteContactFieldDescription"
	// P3ApiListContactFieldDescriptionsProcedure is the fully-qualified name of the P3Api's
	// ListContactFieldDescriptions RPC.
	P3ApiListContactFieldDescriptionsProcedure = "/api.v1alpha1.p3api.P3Api/ListContactFieldDescriptions"
	// P3ApiListContactFieldDescriptionsByCGSidProcedure is the fully-qualified name of the P3Api's
	// ListContactFieldDescriptionsByCGSid RPC.
	P3ApiListContactFieldDescriptionsByCGSidProcedure = "/api.v1alpha1.p3api.P3Api/ListContactFieldDescriptionsByCGSid"
	// P3ApiListContactImportTemplatesProcedure is the fully-qualified name of the P3Api's
	// ListContactImportTemplates RPC.
	P3ApiListContactImportTemplatesProcedure = "/api.v1alpha1.p3api.P3Api/ListContactImportTemplates"
	// P3ApiUpdatePreviewRecordToFinishedProcedure is the fully-qualified name of the P3Api's
	// UpdatePreviewRecordToFinished RPC.
	P3ApiUpdatePreviewRecordToFinishedProcedure = "/api.v1alpha1.p3api.P3Api/UpdatePreviewRecordToFinished"
	// P3ApiUpdateAgentHuntGroupProcedure is the fully-qualified name of the P3Api's
	// UpdateAgentHuntGroup RPC.
	P3ApiUpdateAgentHuntGroupProcedure = "/api.v1alpha1.p3api.P3Api/UpdateAgentHuntGroup"
	// P3ApiMultiAgentHuntGroupAssignmentProcedure is the fully-qualified name of the P3Api's
	// MultiAgentHuntGroupAssignment RPC.
	P3ApiMultiAgentHuntGroupAssignmentProcedure = "/api.v1alpha1.p3api.P3Api/MultiAgentHuntGroupAssignment"
	// P3ApiGetAgentProfileProcedure is the fully-qualified name of the P3Api's GetAgentProfile RPC.
	P3ApiGetAgentProfileProcedure = "/api.v1alpha1.p3api.P3Api/GetAgentProfile"
	// P3ApiRecalculateBillingProcedure is the fully-qualified name of the P3Api's RecalculateBilling
	// RPC.
	P3ApiRecalculateBillingProcedure = "/api.v1alpha1.p3api.P3Api/RecalculateBilling"
	// P3ApiListOutboundBroadcastTemplateDataProcedure is the fully-qualified name of the P3Api's
	// ListOutboundBroadcastTemplateData RPC.
	P3ApiListOutboundBroadcastTemplateDataProcedure = "/api.v1alpha1.p3api.P3Api/ListOutboundBroadcastTemplateData"
	// P3ApiMultiAgentSkillAssignmentProcedure is the fully-qualified name of the P3Api's
	// MultiAgentSkillAssignment RPC.
	P3ApiMultiAgentSkillAssignmentProcedure = "/api.v1alpha1.p3api.P3Api/MultiAgentSkillAssignment"
	// P3ApiMultiAgentSkillUnassignmentProcedure is the fully-qualified name of the P3Api's
	// MultiAgentSkillUnassignment RPC.
	P3ApiMultiAgentSkillUnassignmentProcedure = "/api.v1alpha1.p3api.P3Api/MultiAgentSkillUnassignment"
	// P3ApiListMAMAgentHuntGroupsByClientSidProcedure is the fully-qualified name of the P3Api's
	// ListMAMAgentHuntGroupsByClientSid RPC.
	P3ApiListMAMAgentHuntGroupsByClientSidProcedure = "/api.v1alpha1.p3api.P3Api/ListMAMAgentHuntGroupsByClientSid"
	// P3ApiListTtsVoicesProcedure is the fully-qualified name of the P3Api's ListTtsVoices RPC.
	P3ApiListTtsVoicesProcedure = "/api.v1alpha1.p3api.P3Api/ListTtsVoices"
	// P3ApiCreateTtsVoiceProcedure is the fully-qualified name of the P3Api's CreateTtsVoice RPC.
	P3ApiCreateTtsVoiceProcedure = "/api.v1alpha1.p3api.P3Api/CreateTtsVoice"
	// P3ApiDeleteTtsVoiceProcedure is the fully-qualified name of the P3Api's DeleteTtsVoice RPC.
	P3ApiDeleteTtsVoiceProcedure = "/api.v1alpha1.p3api.P3Api/DeleteTtsVoice"
	// P3ApiListCustomDataKeysProcedure is the fully-qualified name of the P3Api's ListCustomDataKeys
	// RPC.
	P3ApiListCustomDataKeysProcedure = "/api.v1alpha1.p3api.P3Api/ListCustomDataKeys"
	// P3ApiCreateCustomDataKeyProcedure is the fully-qualified name of the P3Api's CreateCustomDataKey
	// RPC.
	P3ApiCreateCustomDataKeyProcedure = "/api.v1alpha1.p3api.P3Api/CreateCustomDataKey"
	// P3ApiDeleteCustomDataKeyProcedure is the fully-qualified name of the P3Api's DeleteCustomDataKey
	// RPC.
	P3ApiDeleteCustomDataKeyProcedure = "/api.v1alpha1.p3api.P3Api/DeleteCustomDataKey"
	// P3ApiUpdateCustomDataKeyProcedure is the fully-qualified name of the P3Api's UpdateCustomDataKey
	// RPC.
	P3ApiUpdateCustomDataKeyProcedure = "/api.v1alpha1.p3api.P3Api/UpdateCustomDataKey"
	// P3ApiGetActivityLogHistoriesProcedure is the fully-qualified name of the P3Api's
	// GetActivityLogHistories RPC.
	P3ApiGetActivityLogHistoriesProcedure = "/api.v1alpha1.p3api.P3Api/GetActivityLogHistories"
	// P3ApiListTableTemplatePropertiesProcedure is the fully-qualified name of the P3Api's
	// ListTableTemplateProperties RPC.
	P3ApiListTableTemplatePropertiesProcedure = "/api.v1alpha1.p3api.P3Api/ListTableTemplateProperties"
	// P3ApiListAgentSkillsFiltersProcedure is the fully-qualified name of the P3Api's
	// ListAgentSkillsFilters RPC.
	P3ApiListAgentSkillsFiltersProcedure = "/api.v1alpha1.p3api.P3Api/ListAgentSkillsFilters"
	// P3ApiListScheduleRulesProcedure is the fully-qualified name of the P3Api's ListScheduleRules RPC.
	P3ApiListScheduleRulesProcedure = "/api.v1alpha1.p3api.P3Api/ListScheduleRules"
	// P3ApiListCustomReportFiltersProcedure is the fully-qualified name of the P3Api's
	// ListCustomReportFilters RPC.
	P3ApiListCustomReportFiltersProcedure = "/api.v1alpha1.p3api.P3Api/ListCustomReportFilters"
	// P3ApiListSmsNumbersProcedure is the fully-qualified name of the P3Api's ListSmsNumbers RPC.
	P3ApiListSmsNumbersProcedure = "/api.v1alpha1.p3api.P3Api/ListSmsNumbers"
)

These constants are the fully-qualified names of the RPCs defined in this package. They're exposed at runtime as Spec.Procedure and as the final two segments of the HTTP route.

Note that these are different from the fully-qualified method names used by google.golang.org/protobuf/reflect/protoreflect. To convert from these constants to reflection-formatted method names, remove the leading slash and convert the remaining slash to a period.

View Source
const (
	// P3ApiName is the fully-qualified name of the P3Api service.
	P3ApiName = "api.v1alpha1.p3api.P3Api"
)

Variables

This section is empty.

Functions

func NewP3ApiHandler

func NewP3ApiHandler(svc P3ApiHandler, opts ...connect_go.HandlerOption) (string, http.Handler)

NewP3ApiHandler builds an HTTP handler from the service implementation. It returns the path on which to mount the handler and the handler itself.

By default, handlers support the Connect, gRPC, and gRPC-Web protocols with the binary Protobuf and JSON codecs. They also support gzip compression.

Types

type P3ApiClient

type P3ApiClient interface {
	GetAgentHuntGroup(context.Context, *connect_go.Request[v0alpha.GetAgentHuntGroupReq]) (*connect_go.Response[v0alpha.HuntGroup], error)
	GetAgentSession(context.Context, *connect_go.Request[v0alpha.GetAgentSessionReq]) (*connect_go.Response[v0alpha.AgentSession], error)
	// Gets the skills of the requesting agent. This includes agent skills, hunt group skills, and extension skills(PBX).
	// Skills will be returned as a value pair (name, level).
	// For agent skills, the name of each skill will be the agent_skill_sid.
	// All other skills' names (hunt group and PBX) will be given special formats.
	// The requesting agent and hunt_group_sid skills will be defaulted to the max level (1000 and 100 respectively).
	//
	// Required permissions:
	//
	//	NONE
	//
	// Errors:
	//   - grpc.Invalid: the hunt_group_sid in the request in invalid.
	GetAgentSkills(context.Context, *connect_go.Request[v0alpha.GetAgentSkillsReq]) (*connect_go.Response[v0alpha.GetAgentSkillsRes], error)
	// Creates a new agent skill as defined by the request message.
	// Errors:
	//   - grpc.InvalidArgument: the client_sid or name in the request is invalid.
	CreateAgentSkill(context.Context, *connect_go.Request[v0alpha.CreateAgentSkillReq]) (*connect_go.Response[v0alpha.CreateAgentSkillRes], error)
	// Updates an agent skill as defined by the request message.
	// Errors:
	//   - grpc.InvalidArgument: the agent_skill_sid or name in the request is invalid.
	UpdateAgentSkill(context.Context, *connect_go.Request[v0alpha.UpdateAgentSkillReq]) (*connect_go.Response[v0alpha.UpdateAgentSkillRes], error)
	// Deletes the agent skill with the agent_skill_sid given on the request.
	// Errors:
	//   - grpc.InvalidArgument: the agent_skill_sid in the request is invalid.
	DeleteAgentSkill(context.Context, *connect_go.Request[v0alpha.DeleteAgentSkillReq]) (*connect_go.Response[v0alpha.DeleteAgentSkillRes], error)
	// Returns a list of skills for the current agent.
	ListSkillsForCurrentAgent(context.Context, *connect_go.Request[v0alpha.ListSkillsForCurrentAgentReq]) (*connect_go.Response[v0alpha.ListSkillsForCurrentAgentRes], error)
	// Returns a list of skills filtered by types given on
	// the request message field type_filter. Leaving the type_filter
	// field empty will return all types of skills.
	ListSkills(context.Context, *connect_go.Request[v0alpha.ListSkillsReq]) (*connect_go.Response[v0alpha.ListSkillsRes], error)
	// Updates an agents assigned skills as defined by the skills list on
	// the request message.
	// Errors:
	//   - grpc.InvalidArgument: the user_id on the request is invalid.
	UpdateAgentSkills(context.Context, *connect_go.Request[v0alpha.UpdateAgentSkillsReq]) (*connect_go.Response[v0alpha.UpdateAgentSkillsRes], error)
	GetCurrentAgent(context.Context, *connect_go.Request[v0alpha.GetCurrentAgentReq]) (*connect_go.Response[v0alpha.Agent], error)
	GetClientInfoData(context.Context, *connect_go.Request[v0alpha.GetClientInfoDataReq]) (*connect_go.Response[v0alpha.GetClientInfoDataRes], error)
	GetClientInfoDisplayTemplate(context.Context, *connect_go.Request[v0alpha.GetClientInfoDisplayTemplateReq]) (*connect_go.Response[v0alpha.GetClientInfoDisplayTemplateRes], error)
	ListAgentStatisticsData(context.Context, *connect_go.Request[v0alpha.ListAgentStatisticsDataReq]) (*connect_go.Response[v0alpha.ListAgentStatisticsDataRes], error)
	// Lists all agent and hunt group PBX extensions that the requested agent has.
	ListPBXExtensions(context.Context, *connect_go.Request[v0alpha.ListPBXExtensionsReq]) (*connect_go.Response[v0alpha.ListPBXExtensionsRes], error)
	// Lists every agent extension for the current client
	// Required Permissions:
	//
	//	AGENT_MANAGER
	//
	// Errors:
	//   - grpc.Internal: unexpected error getting pbx_extensions
	ListAgentExtensions(context.Context, *connect_go.Request[v0alpha.ListAgentExtensionsReq]) (*connect_go.Response[v0alpha.ListAgentExtensionsRes], error)
	// Lists every hunt group extension for the current client
	// Required Permissions:
	//
	//	AGENT_MANAGER
	//
	// Errors:
	//   - grpc.Internal: unexpected error getting pbx_extensions
	ListHuntGroupExtensions(context.Context, *connect_go.Request[v0alpha.ListHuntGroupExtensionsReq]) (*connect_go.Response[v0alpha.ListHuntGroupExtensionsRes], error)
	// Creates a new extension as defined by the request message
	// Required Permissions:
	//
	//	AGENT_MANAGER
	//
	// Errors:
	//   - grpc.InvalidArgument: The request has missing or invalid fields.
	//   - grpc.Internal: An unexpected error occurred while saving the extension.
	CreateExtension(context.Context, *connect_go.Request[v0alpha.CreateExtensionReq]) (*connect_go.Response[v0alpha.CreateExtensionRes], error)
	// Deletes a pbx_extension with the given pbx_extension_sid.
	// Required Permissions:
	//
	//	AGENT_MANAGER
	//
	// Errors:
	//   - grpc.InvalidArgument: The request had invalid or missing fields.
	DeleteExtension(context.Context, *connect_go.Request[v0alpha.DeleteExtensionReq]) (*connect_go.Response[v0alpha.DeleteExtensionRes], error)
	// Updates an extension as defined by the request message.
	// Required Permissions:
	//
	//	AGENT_MANAGER
	//
	// Errors:
	//   - grpc.InvalidArgument: The request had invalid or missing fields.
	//   - grpc.Internal: An unexpected error occurred updating the extension.
	UpdateExtension(context.Context, *connect_go.Request[v0alpha.UpdateExtensionReq]) (*connect_go.Response[v0alpha.UpdateExtensionRes], error)
	UpdatePBXExtension(context.Context, *connect_go.Request[v0alpha.UpdatePBXExtensionReq]) (*connect_go.Response[v0alpha.UpdatePBXExtensionRes], error)
	CreateDNCLNumbers(context.Context, *connect_go.Request[v0alpha.CreateDNCLNumbersReq]) (*connect_go.Response[v0alpha.CreateDNCLNumbersRes], error)
	// Gets the campaign or huntgroup script for the given agent's current hunt
	// group. If no script is found, it gets the hunt group responses for the
	// agent's current hunt group. It also does a mail merge with the found script
	// or responses (if able).
	GetScriptOrResponses(context.Context, *connect_go.Request[v0alpha.GetScriptOrResponsesReq]) (*connect_go.Response[v0alpha.GetScriptOrResponsesRes], error)
	GetHuntGroupAgentSettings(context.Context, *connect_go.Request[v0alpha.GetHuntGroupAgentSettingsReq]) (*connect_go.Response[v0alpha.HuntGroupAgentSettings], error)
	// Returns a list of weblinks for the hunt group in the request.
	// It replaces any parameters of a given weblink with the call data of the call sid and type from the request message or with the callback details (if a scheduled_callback_id is given).
	ListHuntGroupWebLinks(context.Context, *connect_go.Request[v0alpha.ListHuntGroupWebLinksReq]) (*connect_go.Response[v0alpha.ListHuntGroupWebLinksRes], error)
	GetHuntGroupPauseCodes(context.Context, *connect_go.Request[v0alpha.GetHuntGroupPauseCodesReq]) (*connect_go.Response[v0alpha.GetHuntGroupPauseCodesRes], error)
	// Lists the call history of the requested agent for the past day or
	// session_sid, depending on the filter parameter.
	ListAgentCallHistory(context.Context, *connect_go.Request[v0alpha.ListAgentCallHistoryReq]) (*connect_go.Response[v0alpha.ListAgentCallHistoryRes], error)
	// Lists all client phone book entries.
	// Required Permissions:
	//
	//	AGENT_MANAGER
	ListClientPhoneBookEntries(context.Context, *connect_go.Request[v0alpha.ListClientPhoneBookEntriesReq]) (*connect_go.Response[v0alpha.ListClientPhoneBookEntriesRes], error)
	// Lists all hunt group phone book entries.
	// Required Permissions:
	//
	//	AGENT_MANAGER
	ListHuntGroupPhoneBookEntries(context.Context, *connect_go.Request[v0alpha.ListHuntGroupPhoneBookEntriesReq]) (*connect_go.Response[v0alpha.ListHuntGroupPhoneBookEntriesRes], error)
	// Creates a new phone_book as defined by the request message.
	// Required Permissions:
	//
	//	AGENT_MANAGER
	//
	// Errors:
	//   - grpc.InvalidArgument: the fields on the request are missing or invalid.
	//   - grpc.Internal: unexpected error occurred when saving the phone book.
	CreatePhoneBookEntry(context.Context, *connect_go.Request[v0alpha.CreatePhoneBookEntryReq]) (*connect_go.Response[v0alpha.CreatePhoneBookEntryRes], error)
	// Updates an existing phone_book as defined by the request message.
	// Required Permissions:
	//
	//	AGENT_MANAGER
	//
	// Errors:
	//   - grpc.InvalidArgument: the fields on the request are missing or invalid.
	//   - grpc.Internal: unexpected error occurred when saving the phone book.
	UpdatePhoneBookEntry(context.Context, *connect_go.Request[v0alpha.UpdatePhoneBookEntryReq]) (*connect_go.Response[v0alpha.UpdatePhoneBookEntryRes], error)
	// Deletes the phone_book with the phone_book_sid given on the reques message.
	// Required Permissions:
	//
	//	AGENT_MANAGER
	DeletePhoneBookEntry(context.Context, *connect_go.Request[v0alpha.DeletePhoneBookEntryReq]) (*connect_go.Response[v0alpha.DeletePhoneBookEntryRes], error)
	// Lists caller_id, outbound and transfer phone books for the requesting client and given hunt group sid.
	// Entries will be ordered by entry_name and phone_number.
	//
	// Required permissions:
	//
	//	NONE
	//
	// Errors:
	//   - grpc.Invalid: the client_sid or hunt_group_sid in the request are invalid.
	//   - grpc.Internal: unexpected error occurred when retrieving the phone books.
	ListPhoneBooks(context.Context, *connect_go.Request[v0alpha.ListPhoneBooksReq]) (*connect_go.Response[v0alpha.ListPhoneBooksRes], error)
	ListAgentTriggers(context.Context, *connect_go.Request[v0alpha.ListAgentTriggersReq]) (*connect_go.Response[v0alpha.ListAgentTriggersRes], error)
	// Gets all running broadcasts (task groups) for the requesting agent and hunt_group_sid in the request.
	// Calculates the percentage of completed tasks for each of those task groups.
	// Calculates the overall task completion percentage of all matching task groups.
	// Required permissions:
	//
	//	NONE
	//
	// Errors:
	//   - grpc.Invalid: the hunt_group_sid in the request is invalid.
	GetCampaignCompletionStatus(context.Context, *connect_go.Request[v0alpha.GetCampaignCompletionStatusReq]) (*connect_go.Response[v0alpha.GetCampaignCompletionStatusRes], error)
	// Uses lost peer call sid and call type from the request to get information about lost call
	// gets the name and hunt group of the agent that was connected to that call and all types of skills the call has.
	//
	// Required permissions:
	//
	//	NONE
	//
	// Errors:
	//   - grpc.Invalid: the call_sid in the request in invalid.
	//   - grpc.NotFound: the call sid provided wasn't previously connected to any agent.
	GetLostPeerInfo(context.Context, *connect_go.Request[v0alpha.GetLostPeerInfoReq]) (*connect_go.Response[v0alpha.GetLostPeerInfoRes], error)
	// Gets all the available Disposition Keys
	//
	// Required permissions:
	//
	//	NONE
	GetDispositionKeys(context.Context, *connect_go.Request[v0alpha.GetDispositionKeysReq]) (*connect_go.Response[v0alpha.GetDispositionKeysRes], error)
	GetReadyAgents(context.Context, *connect_go.Request[v0alpha.GetReadyAgentsReq]) (*connect_go.Response[v0alpha.GetReadyAgentsRes], error)
	// Returns lists with call data of calls that were:
	// Placed on multihold by the requesting agent.
	// Queued, are ready to be handled and require a subset of the agent_skills provided.
	// Placed in the Hold Queue Monitor, haven't been picked up yet and require a subset of the agent_skills provided.
	// Required permissions:
	//
	//	NONE
	//
	// Errors:
	//   - grpc.Invalid: the agent_session_sid provided in the request is invalid.
	ListAgentQueueAndOnHoldCallData(context.Context, *connect_go.Request[v0alpha.ListAgentQueueAndOnHoldCallDataReq]) (*connect_go.Response[v0alpha.ListAgentQueueAndOnHoldCallDataRes], error)
	SaveAgentCallResponses(context.Context, *connect_go.Request[v0alpha.SaveAgentCallResponsesReq]) (*connect_go.Response[v0alpha.SaveAgentCallResponsesRes], error)
	ListAgentTransferOptions(context.Context, *connect_go.Request[v0alpha.ListAgentTransferOptionsReq]) (*connect_go.Response[v0alpha.ListAgentTransferOptionsRes], error)
	UpdateAgentCallResponseValue(context.Context, *connect_go.Request[v0alpha.UpdateAgentCallResponseValueReq]) (*connect_go.Response[v0alpha.UpdateAgentCallResponseValueRes], error)
	GetIntercomPeerInfo(context.Context, *connect_go.Request[v0alpha.GetIntercomPeerInfoReq]) (*connect_go.Response[v0alpha.GetIntercomPeerInfoRes], error)
	// Lists the requesting user's org response evaluators.
	ListOrgResponseEvaluators(context.Context, *connect_go.Request[v0alpha.ListOrgResponseEvaluatorsReq]) (*connect_go.Response[v0alpha.ListOrgResponseEvaluatorsRes], error)
	GetQueueConfigurationOptionsArray(context.Context, *connect_go.Request[v0alpha.GetQueueConfigurationOptionsArrayReq]) (*connect_go.Response[v0alpha.GetQueueConfigurationOptionsArrayRes], error)
	// Get the rules for conditionally adding a number to the DNCL depending on
	// responses or scripts
	GetConditionalDNCLRules(context.Context, *connect_go.Request[v0alpha.GetConditionalDNCLRulesReq]) (*connect_go.Response[v0alpha.GetConditionalDNCLRulesRes], error)
	ManualDialStart(context.Context, *connect_go.Request[v0alpha.ManualDialStartReq]) (*connect_go.Response[v0alpha.ManualDialStartRes], error)
	GetExtendedCallHistories(context.Context, *connect_go.Request[v0alpha.ListExtendedCallHistoryReq]) (*connect_go.ServerStreamForClient[v0alpha.ListExtendedCallHistoryRes], error)
	ListWhiteListPhoneBooks(context.Context, *connect_go.Request[v0alpha.ListWhiteListPhoneBooksReq]) (*connect_go.Response[v0alpha.ListWhiteListPhoneBooksRes], error)
	DownloadCallRecording(context.Context, *connect_go.Request[v0alpha.DownloadCallRecordingReq]) (*connect_go.Response[v0alpha.DownloadRecordingRes], error)
	DownloadCallRecordings(context.Context, *connect_go.Request[v0alpha.DownloadCallRecordingsReq]) (*connect_go.Response[v0alpha.DownloadRecordingRes], error)
	PlacePreviewDialCall(context.Context, *connect_go.Request[v0alpha.PlacePreviewDialCallReq]) (*connect_go.Response[v0alpha.PlacePreviewDialCallRes], error)
	CancelPreviewDialCall(context.Context, *connect_go.Request[v0alpha.CancelPreviewDialCallReq]) (*connect_go.Response[v0alpha.CancelPreviewDialCallRes], error)
	UpdateTaskStatus(context.Context, *connect_go.Request[v0alpha.UpdateTaskStatusReq]) (*connect_go.Response[v0alpha.Nil], error)
	// ListCallbackRoutingAgents returns a list of agents that are allowed to make a callback.
	ListCallbackRoutingAgents(context.Context, *connect_go.Request[v0alpha.ListCallbackRoutingAgentsReq]) (*connect_go.Response[v0alpha.ListCallbackRoutingAgentsRes], error)
	ListCallbackRoutingSkills(context.Context, *connect_go.Request[v0alpha.ListCallbackRoutingSkillsReq]) (*connect_go.Response[v0alpha.ListCallbackRoutingSkillsRes], error)
	HandleRecordingDelay(context.Context, *connect_go.Request[v0alpha.HandleRecordingDelayReq]) (*connect_go.Response[v0alpha.HandleRecordingDelayRes], error)
	UpdateAgentAssignedHuntGroup(context.Context, *connect_go.Request[v0alpha.UpdateAgentAssignedHuntGroupReq]) (*connect_go.Response[v0alpha.UpdateAgentAssignedHuntGroupRes], error)
	GetCallData(context.Context, *connect_go.Request[v0alpha.GetCallDataReq]) (*connect_go.Response[v0alpha.GetCallDataRes], error)
	ListHuntGroups(context.Context, *connect_go.Request[v0alpha.ListHuntGroupsReq]) (*connect_go.Response[v0alpha.ListHuntGroupsRes], error)
	// List the hunt groups an agent within a given hunt group can reassign
	// themselves to. The reassignment hunt groups can optionally be limited by a
	// hunt group setting. If a hunt group does not allow reassignment, the
	// returned list will be empty.
	ListReassignmentHuntGroups(context.Context, *connect_go.Request[v0alpha.ListReassignmentHuntGroupsReq]) (*connect_go.Response[v0alpha.ListReassignmentHuntGroupsRes], error)
	GetOrgAgentSettings(context.Context, *connect_go.Request[v0alpha.GetOrgAgentSettingsReq]) (*connect_go.Response[v0alpha.GetOrgAgentSettingsRes], error)
	// Lists caller id numbers with their associated region codes for the given
	// bucket
	ListCallerIdsFromBucket(context.Context, *connect_go.Request[v0alpha.ListCallerIdsFromBucketReq]) (*connect_go.Response[v0alpha.ListCallerIdsFromBucketRes], error)
	SaveLastCallResponse(context.Context, *connect_go.Request[v0alpha.SaveLastCallResponseReq]) (*connect_go.Response[v0alpha.SaveLastCallResponseRes], error)
	ListAgentCallLogsByCallSidAndType(context.Context, *connect_go.Request[v0alpha.ListAgentCallLogsByCallSidAndTypeReq]) (*connect_go.Response[v0alpha.ListAgentCallLogsByCallSidAndTypeRes], error)
	// Lists the keys and values of the latest responses for the given call_sid,
	// call_type and agent_sid
	ListAgentCallResponseValues(context.Context, *connect_go.Request[v0alpha.ListAgentCallResponseValuesReq]) (*connect_go.Response[v0alpha.ListAgentCallResponseValuesRes], error)
	// Get contact schema details based on contact group sid
	GetContactSchemaByContactGroup(context.Context, *connect_go.Request[v0alpha.GetContactSchemaByContactGroupReq]) (*connect_go.Response[v0alpha.ContactSchema], error)
	// List contact group details based on client sid from contact_group table
	ListContactGroupDetailsByClientSid(context.Context, *connect_go.Request[v0alpha.ListContactGroupDetailsByClientSidReq]) (*connect_go.Response[v0alpha.ListContactGroupDetailsByClientSidRes], error)
	// Get contact group details based on contact group sid from contact_group
	// table
	GetContactGroupDetails(context.Context, *connect_go.Request[v0alpha.GetContactGroupReq]) (*connect_go.Response[v0alpha.ContactGroup], error)
	// Get contact group size based on contacts size
	GetContactGroupSize(context.Context, *connect_go.Request[v0alpha.GetContactGroupReq]) (*connect_go.Response[v0alpha.GetContactGroupSizeRes], error)
	// Create contact field description details
	CreateContactFieldDescription(context.Context, *connect_go.Request[v0alpha.CreateContactFieldDescriptionReq]) (*connect_go.Response[v0alpha.CreateContactFieldDescriptionRes], error)
	// Delete contact field description details
	DeleteContactFieldDescription(context.Context, *connect_go.Request[v0alpha.DeleteContactFieldDescriptionReq]) (*connect_go.Response[v0alpha.DeleteContactFieldDescriptionRes], error)
	// List contact field desc details from contact_field_description table
	ListContactFieldDescriptions(context.Context, *connect_go.Request[v0alpha.ListContactFieldDescriptionsReq]) (*connect_go.Response[v0alpha.ListContactFieldDescriptionsRes], error)
	// List contact field description details based on contact group sid
	ListContactFieldDescriptionsByCGSid(context.Context, *connect_go.Request[v0alpha.ListContactFieldDescriptionsByCGSidReq]) (*connect_go.Response[v0alpha.ListContactFieldDescriptionsByCGSidRes], error)
	// List contactImportTemplates based on client_sid from
	// contact_import_template table
	ListContactImportTemplates(context.Context, *connect_go.Request[v0alpha.ListContactImportTemplatesReq]) (*connect_go.Response[v0alpha.ListContactImportTemplatesRes], error)
	// Updates task data for a preview record to finished and logs an agent
	// session event
	UpdatePreviewRecordToFinished(context.Context, *connect_go.Request[v0alpha.UpdatePreviewRecordToFinishedReq]) (*connect_go.Response[v0alpha.UpdatePreviewRecordToFinishedRes], error)
	// Updates the requesting agent's hunt_group_sid.
	UpdateAgentHuntGroup(context.Context, *connect_go.Request[v0alpha.UpdateAgentHuntGroupReq]) (*connect_go.Response[v0alpha.UpdateAgentHuntGroupRes], error)
	// Updates every given user's hunt_group_sid.
	// Required Permissions:
	//
	//	AGENT_MANAGEMENT
	//
	// Errors:
	//   - grpc.Internal: an error occurred while interacting with the database.
	//   - grpc.InvalidArgument: the hunt_group_sid or the user id list is empty or contains an invalid value.
	MultiAgentHuntGroupAssignment(context.Context, *connect_go.Request[v0alpha.MultiAgentHuntGroupAssignmentReq]) (*connect_go.Response[v0alpha.MultiAgentHuntGroupAssignmentRes], error)
	// GetAgentProfile returns an agent profile.
	GetAgentProfile(context.Context, *connect_go.Request[v0alpha.GetAgentProfileReq]) (*connect_go.Response[v0alpha.AgentProfile], error)
	// RecalculateBilling updates statuses for every billing type given on the
	// request message for either the current or previous month.
	// Only data that has already been summed for billing will have it's
	// status updated.
	// Required Permissions:
	//
	//	EDIT_BILLING
	RecalculateBilling(context.Context, *connect_go.Request[v0alpha.RecalculateBillingReq]) (*connect_go.Response[v0alpha.RecalculateBillingRes], error)
	// Gets information of the requesting client's broadcast templates (template_number, name, type, modify_date)
	// It reports if each found template is either STANDARD or LAYERED.
	// Required permissions:
	//
	//	NONE
	//
	// Errors:
	//
	//	NONE
	ListOutboundBroadcastTemplateData(context.Context, *connect_go.Request[v0alpha.ListOutboundBroadcastTemplateDataReq]) (*connect_go.Response[v0alpha.ListOutboundBroadcastTemplateDataRes], error)
	// Assign every skill to every agent with the given aptitude.
	// Errors:
	//   - grpc.Invalid: the aptitude field is invalid.
	MultiAgentSkillAssignment(context.Context, *connect_go.Request[v0alpha.MultiAgentSkillAssignmentReq]) (*connect_go.Response[v0alpha.MultiAgentSkillAssignmentRes], error)
	// Unassigns every given skill from every given user.
	// Errors:
	//   - grpc.InvalidArgument:
	//   - the user_ids list is empty or contains an empty string.
	//   - one or more of the user_ids does not belong to the client.
	//   - grpc.Internal: an error occurred while deleting the skill assignments.
	MultiAgentSkillUnassignment(context.Context, *connect_go.Request[v0alpha.MultiAgentSkillUnassignmentReq]) (*connect_go.Response[v0alpha.MultiAgentSkillUnassignmentRes], error)
	// List of agent hunt groups based on client sid
	// that have manually approved messages enabled
	ListMAMAgentHuntGroupsByClientSid(context.Context, *connect_go.Request[v0alpha.ListMAMAgentHuntGroupsByClientSidReq]) (*connect_go.Response[v0alpha.ListMAMAgentHuntGroupsByClientSidRes], error)
	// List every tts voice
	// Required Permissions:
	//
	//	TCN_ADMIN_SETTINGS
	//
	// Errors:
	//   - grpc.Internal: an error was returned while trying to retrieve the entity
	ListTtsVoices(context.Context, *connect_go.Request[v0alpha.ListTtsVoicesReq]) (*connect_go.Response[v0alpha.ListTtsVoicesRes], error)
	// Create a new tts voice
	// Required Permissions:
	//
	//	TCN_ADMIN_SETTINGS
	//
	// Errors:
	//   - grpc.InvalidArgument: the actual_name or port field on the request is invalid.
	//   - grpc.Internal: an error was returned while trying to insert the new tts voice.
	CreateTtsVoice(context.Context, *connect_go.Request[v0alpha.CreateTtsVoiceReq]) (*connect_go.Response[v0alpha.CreateTtsVoiceRes], error)
	// Delete a tts voice with the given tts_voice_sid.
	// Required Permissions:
	//
	//	TCN_ADMIN_SETTINGS
	//
	// Errors:
	//   - grpc.InvalidArgument: the tts_voice_sid field on the request is invalid.
	//   - grpc.Internal: an error was returned while trying to remove the tts voice.
	DeleteTtsVoice(context.Context, *connect_go.Request[v0alpha.DeleteTtsVoiceReq]) (*connect_go.Response[v0alpha.DeleteTtsVoiceRes], error)
	// List of account custom data keys based on client sid
	// Required Permissions:
	//
	//	ORG_VIEW
	//
	// Errors:
	//   - grpc.Internal: an error was returned while trying to retrieve the entity
	ListCustomDataKeys(context.Context, *connect_go.Request[v0alpha.ListCustomDataKeysReq]) (*connect_go.Response[v0alpha.ListCustomDataKeysRes], error)
	// Creates a new Data Key as defined by the request message
	// the client_properties_sid should not be set, this is assigned on the backend
	// Required Permission:
	//
	//	ORG_EDIT
	//
	// Errors:
	//   - grpc.InvalidArgument: The custom_data_key field was not set
	//   - grpc.Internal: error creating custom data key
	CreateCustomDataKey(context.Context, *connect_go.Request[v0alpha.CreateCustomDataKeyReq]) (*connect_go.Response[v0alpha.CreateCustomDataKeyRes], error)
	// Deletes a Custom Data Key with the sid given on the request message.
	// Required Permission:
	//
	//	ORG_EDIT
	//
	// Errors:
	//   - grpc.InvalidArgument: The client_properties_sid field is invalid.
	//   - grpc.NotFound: no custom data key was deleted for the client_properties_sid.
	//   - grpc.Internal: an error occurred while trying to remove the custom data key.
	DeleteCustomDataKey(context.Context, *connect_go.Request[v0alpha.DeleteCustomDataKeyReq]) (*connect_go.Response[v0alpha.DeleteCustomDataKeyRes], error)
	// Updates a custom data key with the client_properties_sid and data key
	// given on the request
	// Required Permissions;
	//
	//	ORG_EDIT
	//
	// Errors:
	//   - grpc.InvalidArgument: The client_properties_sid was empty or the data key was not set
	//   - grpc.Internal: error updating custom data key, more than 1 custom data key records affected
	//   - grpc.NotFound: no matching custom data key found
	UpdateCustomDataKey(context.Context, *connect_go.Request[v0alpha.UpdateCustomDataKeyReq]) (*connect_go.Response[v0alpha.UpdateCustomDataKeyRes], error)
	// Get Activity logs for given users and by specified time range
	// Required Permissions;
	//
	//	CUSTOMER_SUPPORT
	GetActivityLogHistories(context.Context, *connect_go.Request[v0alpha.GetActivityLogHistoryReq]) (*connect_go.ServerStreamForClient[v0alpha.GetActivityLogHistoryRes], error)
	// List agent and queue table template properties by client sid
	ListTableTemplateProperties(context.Context, *connect_go.Request[v0alpha.ListTableTemplatePropertiesReq]) (*connect_go.Response[v0alpha.ListTableTemplatePropertiesRes], error)
	// List agent skills filters by client sid
	ListAgentSkillsFilters(context.Context, *connect_go.Request[v0alpha.ListAgentSkillsFiltersReq]) (*connect_go.Response[v0alpha.ListAgentSkillsFiltersRes], error)
	// List Schedule Rules
	ListScheduleRules(context.Context, *connect_go.Request[v0alpha.ListScheduleRulesRequest]) (*connect_go.Response[v0alpha.ListScheduleRulesResult], error)
	// List custom report filters by client sid
	ListCustomReportFilters(context.Context, *connect_go.Request[v0alpha.ListCustomReportFiltersReq]) (*connect_go.Response[v0alpha.ListCustomReportFiltersRes], error)
	// List sms numbers by client sid
	ListSmsNumbers(context.Context, *connect_go.Request[v0alpha.ListSmsNumbersReq]) (*connect_go.Response[v0alpha.ListSmsNumbersRes], error)
}

P3ApiClient is a client for the api.v1alpha1.p3api.P3Api service.

func NewP3ApiClient

func NewP3ApiClient(httpClient connect_go.HTTPClient, baseURL string, opts ...connect_go.ClientOption) P3ApiClient

NewP3ApiClient constructs a client for the api.v1alpha1.p3api.P3Api service. By default, it uses the Connect protocol with the binary Protobuf Codec, asks for gzipped responses, and sends uncompressed requests. To use the gRPC or gRPC-Web protocols, supply the connect.WithGRPC() or connect.WithGRPCWeb() options.

The URL supplied here should be the base URL for the Connect or gRPC server (for example, http://api.acme.com or https://acme.com/grpc).

type P3ApiHandler

type P3ApiHandler interface {
	GetAgentHuntGroup(context.Context, *connect_go.Request[v0alpha.GetAgentHuntGroupReq]) (*connect_go.Response[v0alpha.HuntGroup], error)
	GetAgentSession(context.Context, *connect_go.Request[v0alpha.GetAgentSessionReq]) (*connect_go.Response[v0alpha.AgentSession], error)
	// Gets the skills of the requesting agent. This includes agent skills, hunt group skills, and extension skills(PBX).
	// Skills will be returned as a value pair (name, level).
	// For agent skills, the name of each skill will be the agent_skill_sid.
	// All other skills' names (hunt group and PBX) will be given special formats.
	// The requesting agent and hunt_group_sid skills will be defaulted to the max level (1000 and 100 respectively).
	//
	// Required permissions:
	//
	//	NONE
	//
	// Errors:
	//   - grpc.Invalid: the hunt_group_sid in the request in invalid.
	GetAgentSkills(context.Context, *connect_go.Request[v0alpha.GetAgentSkillsReq]) (*connect_go.Response[v0alpha.GetAgentSkillsRes], error)
	// Creates a new agent skill as defined by the request message.
	// Errors:
	//   - grpc.InvalidArgument: the client_sid or name in the request is invalid.
	CreateAgentSkill(context.Context, *connect_go.Request[v0alpha.CreateAgentSkillReq]) (*connect_go.Response[v0alpha.CreateAgentSkillRes], error)
	// Updates an agent skill as defined by the request message.
	// Errors:
	//   - grpc.InvalidArgument: the agent_skill_sid or name in the request is invalid.
	UpdateAgentSkill(context.Context, *connect_go.Request[v0alpha.UpdateAgentSkillReq]) (*connect_go.Response[v0alpha.UpdateAgentSkillRes], error)
	// Deletes the agent skill with the agent_skill_sid given on the request.
	// Errors:
	//   - grpc.InvalidArgument: the agent_skill_sid in the request is invalid.
	DeleteAgentSkill(context.Context, *connect_go.Request[v0alpha.DeleteAgentSkillReq]) (*connect_go.Response[v0alpha.DeleteAgentSkillRes], error)
	// Returns a list of skills for the current agent.
	ListSkillsForCurrentAgent(context.Context, *connect_go.Request[v0alpha.ListSkillsForCurrentAgentReq]) (*connect_go.Response[v0alpha.ListSkillsForCurrentAgentRes], error)
	// Returns a list of skills filtered by types given on
	// the request message field type_filter. Leaving the type_filter
	// field empty will return all types of skills.
	ListSkills(context.Context, *connect_go.Request[v0alpha.ListSkillsReq]) (*connect_go.Response[v0alpha.ListSkillsRes], error)
	// Updates an agents assigned skills as defined by the skills list on
	// the request message.
	// Errors:
	//   - grpc.InvalidArgument: the user_id on the request is invalid.
	UpdateAgentSkills(context.Context, *connect_go.Request[v0alpha.UpdateAgentSkillsReq]) (*connect_go.Response[v0alpha.UpdateAgentSkillsRes], error)
	GetCurrentAgent(context.Context, *connect_go.Request[v0alpha.GetCurrentAgentReq]) (*connect_go.Response[v0alpha.Agent], error)
	GetClientInfoData(context.Context, *connect_go.Request[v0alpha.GetClientInfoDataReq]) (*connect_go.Response[v0alpha.GetClientInfoDataRes], error)
	GetClientInfoDisplayTemplate(context.Context, *connect_go.Request[v0alpha.GetClientInfoDisplayTemplateReq]) (*connect_go.Response[v0alpha.GetClientInfoDisplayTemplateRes], error)
	ListAgentStatisticsData(context.Context, *connect_go.Request[v0alpha.ListAgentStatisticsDataReq]) (*connect_go.Response[v0alpha.ListAgentStatisticsDataRes], error)
	// Lists all agent and hunt group PBX extensions that the requested agent has.
	ListPBXExtensions(context.Context, *connect_go.Request[v0alpha.ListPBXExtensionsReq]) (*connect_go.Response[v0alpha.ListPBXExtensionsRes], error)
	// Lists every agent extension for the current client
	// Required Permissions:
	//
	//	AGENT_MANAGER
	//
	// Errors:
	//   - grpc.Internal: unexpected error getting pbx_extensions
	ListAgentExtensions(context.Context, *connect_go.Request[v0alpha.ListAgentExtensionsReq]) (*connect_go.Response[v0alpha.ListAgentExtensionsRes], error)
	// Lists every hunt group extension for the current client
	// Required Permissions:
	//
	//	AGENT_MANAGER
	//
	// Errors:
	//   - grpc.Internal: unexpected error getting pbx_extensions
	ListHuntGroupExtensions(context.Context, *connect_go.Request[v0alpha.ListHuntGroupExtensionsReq]) (*connect_go.Response[v0alpha.ListHuntGroupExtensionsRes], error)
	// Creates a new extension as defined by the request message
	// Required Permissions:
	//
	//	AGENT_MANAGER
	//
	// Errors:
	//   - grpc.InvalidArgument: The request has missing or invalid fields.
	//   - grpc.Internal: An unexpected error occurred while saving the extension.
	CreateExtension(context.Context, *connect_go.Request[v0alpha.CreateExtensionReq]) (*connect_go.Response[v0alpha.CreateExtensionRes], error)
	// Deletes a pbx_extension with the given pbx_extension_sid.
	// Required Permissions:
	//
	//	AGENT_MANAGER
	//
	// Errors:
	//   - grpc.InvalidArgument: The request had invalid or missing fields.
	DeleteExtension(context.Context, *connect_go.Request[v0alpha.DeleteExtensionReq]) (*connect_go.Response[v0alpha.DeleteExtensionRes], error)
	// Updates an extension as defined by the request message.
	// Required Permissions:
	//
	//	AGENT_MANAGER
	//
	// Errors:
	//   - grpc.InvalidArgument: The request had invalid or missing fields.
	//   - grpc.Internal: An unexpected error occurred updating the extension.
	UpdateExtension(context.Context, *connect_go.Request[v0alpha.UpdateExtensionReq]) (*connect_go.Response[v0alpha.UpdateExtensionRes], error)
	UpdatePBXExtension(context.Context, *connect_go.Request[v0alpha.UpdatePBXExtensionReq]) (*connect_go.Response[v0alpha.UpdatePBXExtensionRes], error)
	CreateDNCLNumbers(context.Context, *connect_go.Request[v0alpha.CreateDNCLNumbersReq]) (*connect_go.Response[v0alpha.CreateDNCLNumbersRes], error)
	// Gets the campaign or huntgroup script for the given agent's current hunt
	// group. If no script is found, it gets the hunt group responses for the
	// agent's current hunt group. It also does a mail merge with the found script
	// or responses (if able).
	GetScriptOrResponses(context.Context, *connect_go.Request[v0alpha.GetScriptOrResponsesReq]) (*connect_go.Response[v0alpha.GetScriptOrResponsesRes], error)
	GetHuntGroupAgentSettings(context.Context, *connect_go.Request[v0alpha.GetHuntGroupAgentSettingsReq]) (*connect_go.Response[v0alpha.HuntGroupAgentSettings], error)
	// Returns a list of weblinks for the hunt group in the request.
	// It replaces any parameters of a given weblink with the call data of the call sid and type from the request message or with the callback details (if a scheduled_callback_id is given).
	ListHuntGroupWebLinks(context.Context, *connect_go.Request[v0alpha.ListHuntGroupWebLinksReq]) (*connect_go.Response[v0alpha.ListHuntGroupWebLinksRes], error)
	GetHuntGroupPauseCodes(context.Context, *connect_go.Request[v0alpha.GetHuntGroupPauseCodesReq]) (*connect_go.Response[v0alpha.GetHuntGroupPauseCodesRes], error)
	// Lists the call history of the requested agent for the past day or
	// session_sid, depending on the filter parameter.
	ListAgentCallHistory(context.Context, *connect_go.Request[v0alpha.ListAgentCallHistoryReq]) (*connect_go.Response[v0alpha.ListAgentCallHistoryRes], error)
	// Lists all client phone book entries.
	// Required Permissions:
	//
	//	AGENT_MANAGER
	ListClientPhoneBookEntries(context.Context, *connect_go.Request[v0alpha.ListClientPhoneBookEntriesReq]) (*connect_go.Response[v0alpha.ListClientPhoneBookEntriesRes], error)
	// Lists all hunt group phone book entries.
	// Required Permissions:
	//
	//	AGENT_MANAGER
	ListHuntGroupPhoneBookEntries(context.Context, *connect_go.Request[v0alpha.ListHuntGroupPhoneBookEntriesReq]) (*connect_go.Response[v0alpha.ListHuntGroupPhoneBookEntriesRes], error)
	// Creates a new phone_book as defined by the request message.
	// Required Permissions:
	//
	//	AGENT_MANAGER
	//
	// Errors:
	//   - grpc.InvalidArgument: the fields on the request are missing or invalid.
	//   - grpc.Internal: unexpected error occurred when saving the phone book.
	CreatePhoneBookEntry(context.Context, *connect_go.Request[v0alpha.CreatePhoneBookEntryReq]) (*connect_go.Response[v0alpha.CreatePhoneBookEntryRes], error)
	// Updates an existing phone_book as defined by the request message.
	// Required Permissions:
	//
	//	AGENT_MANAGER
	//
	// Errors:
	//   - grpc.InvalidArgument: the fields on the request are missing or invalid.
	//   - grpc.Internal: unexpected error occurred when saving the phone book.
	UpdatePhoneBookEntry(context.Context, *connect_go.Request[v0alpha.UpdatePhoneBookEntryReq]) (*connect_go.Response[v0alpha.UpdatePhoneBookEntryRes], error)
	// Deletes the phone_book with the phone_book_sid given on the reques message.
	// Required Permissions:
	//
	//	AGENT_MANAGER
	DeletePhoneBookEntry(context.Context, *connect_go.Request[v0alpha.DeletePhoneBookEntryReq]) (*connect_go.Response[v0alpha.DeletePhoneBookEntryRes], error)
	// Lists caller_id, outbound and transfer phone books for the requesting client and given hunt group sid.
	// Entries will be ordered by entry_name and phone_number.
	//
	// Required permissions:
	//
	//	NONE
	//
	// Errors:
	//   - grpc.Invalid: the client_sid or hunt_group_sid in the request are invalid.
	//   - grpc.Internal: unexpected error occurred when retrieving the phone books.
	ListPhoneBooks(context.Context, *connect_go.Request[v0alpha.ListPhoneBooksReq]) (*connect_go.Response[v0alpha.ListPhoneBooksRes], error)
	ListAgentTriggers(context.Context, *connect_go.Request[v0alpha.ListAgentTriggersReq]) (*connect_go.Response[v0alpha.ListAgentTriggersRes], error)
	// Gets all running broadcasts (task groups) for the requesting agent and hunt_group_sid in the request.
	// Calculates the percentage of completed tasks for each of those task groups.
	// Calculates the overall task completion percentage of all matching task groups.
	// Required permissions:
	//
	//	NONE
	//
	// Errors:
	//   - grpc.Invalid: the hunt_group_sid in the request is invalid.
	GetCampaignCompletionStatus(context.Context, *connect_go.Request[v0alpha.GetCampaignCompletionStatusReq]) (*connect_go.Response[v0alpha.GetCampaignCompletionStatusRes], error)
	// Uses lost peer call sid and call type from the request to get information about lost call
	// gets the name and hunt group of the agent that was connected to that call and all types of skills the call has.
	//
	// Required permissions:
	//
	//	NONE
	//
	// Errors:
	//   - grpc.Invalid: the call_sid in the request in invalid.
	//   - grpc.NotFound: the call sid provided wasn't previously connected to any agent.
	GetLostPeerInfo(context.Context, *connect_go.Request[v0alpha.GetLostPeerInfoReq]) (*connect_go.Response[v0alpha.GetLostPeerInfoRes], error)
	// Gets all the available Disposition Keys
	//
	// Required permissions:
	//
	//	NONE
	GetDispositionKeys(context.Context, *connect_go.Request[v0alpha.GetDispositionKeysReq]) (*connect_go.Response[v0alpha.GetDispositionKeysRes], error)
	GetReadyAgents(context.Context, *connect_go.Request[v0alpha.GetReadyAgentsReq]) (*connect_go.Response[v0alpha.GetReadyAgentsRes], error)
	// Returns lists with call data of calls that were:
	// Placed on multihold by the requesting agent.
	// Queued, are ready to be handled and require a subset of the agent_skills provided.
	// Placed in the Hold Queue Monitor, haven't been picked up yet and require a subset of the agent_skills provided.
	// Required permissions:
	//
	//	NONE
	//
	// Errors:
	//   - grpc.Invalid: the agent_session_sid provided in the request is invalid.
	ListAgentQueueAndOnHoldCallData(context.Context, *connect_go.Request[v0alpha.ListAgentQueueAndOnHoldCallDataReq]) (*connect_go.Response[v0alpha.ListAgentQueueAndOnHoldCallDataRes], error)
	SaveAgentCallResponses(context.Context, *connect_go.Request[v0alpha.SaveAgentCallResponsesReq]) (*connect_go.Response[v0alpha.SaveAgentCallResponsesRes], error)
	ListAgentTransferOptions(context.Context, *connect_go.Request[v0alpha.ListAgentTransferOptionsReq]) (*connect_go.Response[v0alpha.ListAgentTransferOptionsRes], error)
	UpdateAgentCallResponseValue(context.Context, *connect_go.Request[v0alpha.UpdateAgentCallResponseValueReq]) (*connect_go.Response[v0alpha.UpdateAgentCallResponseValueRes], error)
	GetIntercomPeerInfo(context.Context, *connect_go.Request[v0alpha.GetIntercomPeerInfoReq]) (*connect_go.Response[v0alpha.GetIntercomPeerInfoRes], error)
	// Lists the requesting user's org response evaluators.
	ListOrgResponseEvaluators(context.Context, *connect_go.Request[v0alpha.ListOrgResponseEvaluatorsReq]) (*connect_go.Response[v0alpha.ListOrgResponseEvaluatorsRes], error)
	GetQueueConfigurationOptionsArray(context.Context, *connect_go.Request[v0alpha.GetQueueConfigurationOptionsArrayReq]) (*connect_go.Response[v0alpha.GetQueueConfigurationOptionsArrayRes], error)
	// Get the rules for conditionally adding a number to the DNCL depending on
	// responses or scripts
	GetConditionalDNCLRules(context.Context, *connect_go.Request[v0alpha.GetConditionalDNCLRulesReq]) (*connect_go.Response[v0alpha.GetConditionalDNCLRulesRes], error)
	ManualDialStart(context.Context, *connect_go.Request[v0alpha.ManualDialStartReq]) (*connect_go.Response[v0alpha.ManualDialStartRes], error)
	GetExtendedCallHistories(context.Context, *connect_go.Request[v0alpha.ListExtendedCallHistoryReq], *connect_go.ServerStream[v0alpha.ListExtendedCallHistoryRes]) error
	ListWhiteListPhoneBooks(context.Context, *connect_go.Request[v0alpha.ListWhiteListPhoneBooksReq]) (*connect_go.Response[v0alpha.ListWhiteListPhoneBooksRes], error)
	DownloadCallRecording(context.Context, *connect_go.Request[v0alpha.DownloadCallRecordingReq]) (*connect_go.Response[v0alpha.DownloadRecordingRes], error)
	DownloadCallRecordings(context.Context, *connect_go.Request[v0alpha.DownloadCallRecordingsReq]) (*connect_go.Response[v0alpha.DownloadRecordingRes], error)
	PlacePreviewDialCall(context.Context, *connect_go.Request[v0alpha.PlacePreviewDialCallReq]) (*connect_go.Response[v0alpha.PlacePreviewDialCallRes], error)
	CancelPreviewDialCall(context.Context, *connect_go.Request[v0alpha.CancelPreviewDialCallReq]) (*connect_go.Response[v0alpha.CancelPreviewDialCallRes], error)
	UpdateTaskStatus(context.Context, *connect_go.Request[v0alpha.UpdateTaskStatusReq]) (*connect_go.Response[v0alpha.Nil], error)
	// ListCallbackRoutingAgents returns a list of agents that are allowed to make a callback.
	ListCallbackRoutingAgents(context.Context, *connect_go.Request[v0alpha.ListCallbackRoutingAgentsReq]) (*connect_go.Response[v0alpha.ListCallbackRoutingAgentsRes], error)
	ListCallbackRoutingSkills(context.Context, *connect_go.Request[v0alpha.ListCallbackRoutingSkillsReq]) (*connect_go.Response[v0alpha.ListCallbackRoutingSkillsRes], error)
	HandleRecordingDelay(context.Context, *connect_go.Request[v0alpha.HandleRecordingDelayReq]) (*connect_go.Response[v0alpha.HandleRecordingDelayRes], error)
	UpdateAgentAssignedHuntGroup(context.Context, *connect_go.Request[v0alpha.UpdateAgentAssignedHuntGroupReq]) (*connect_go.Response[v0alpha.UpdateAgentAssignedHuntGroupRes], error)
	GetCallData(context.Context, *connect_go.Request[v0alpha.GetCallDataReq]) (*connect_go.Response[v0alpha.GetCallDataRes], error)
	ListHuntGroups(context.Context, *connect_go.Request[v0alpha.ListHuntGroupsReq]) (*connect_go.Response[v0alpha.ListHuntGroupsRes], error)
	// List the hunt groups an agent within a given hunt group can reassign
	// themselves to. The reassignment hunt groups can optionally be limited by a
	// hunt group setting. If a hunt group does not allow reassignment, the
	// returned list will be empty.
	ListReassignmentHuntGroups(context.Context, *connect_go.Request[v0alpha.ListReassignmentHuntGroupsReq]) (*connect_go.Response[v0alpha.ListReassignmentHuntGroupsRes], error)
	GetOrgAgentSettings(context.Context, *connect_go.Request[v0alpha.GetOrgAgentSettingsReq]) (*connect_go.Response[v0alpha.GetOrgAgentSettingsRes], error)
	// Lists caller id numbers with their associated region codes for the given
	// bucket
	ListCallerIdsFromBucket(context.Context, *connect_go.Request[v0alpha.ListCallerIdsFromBucketReq]) (*connect_go.Response[v0alpha.ListCallerIdsFromBucketRes], error)
	SaveLastCallResponse(context.Context, *connect_go.Request[v0alpha.SaveLastCallResponseReq]) (*connect_go.Response[v0alpha.SaveLastCallResponseRes], error)
	ListAgentCallLogsByCallSidAndType(context.Context, *connect_go.Request[v0alpha.ListAgentCallLogsByCallSidAndTypeReq]) (*connect_go.Response[v0alpha.ListAgentCallLogsByCallSidAndTypeRes], error)
	// Lists the keys and values of the latest responses for the given call_sid,
	// call_type and agent_sid
	ListAgentCallResponseValues(context.Context, *connect_go.Request[v0alpha.ListAgentCallResponseValuesReq]) (*connect_go.Response[v0alpha.ListAgentCallResponseValuesRes], error)
	// Get contact schema details based on contact group sid
	GetContactSchemaByContactGroup(context.Context, *connect_go.Request[v0alpha.GetContactSchemaByContactGroupReq]) (*connect_go.Response[v0alpha.ContactSchema], error)
	// List contact group details based on client sid from contact_group table
	ListContactGroupDetailsByClientSid(context.Context, *connect_go.Request[v0alpha.ListContactGroupDetailsByClientSidReq]) (*connect_go.Response[v0alpha.ListContactGroupDetailsByClientSidRes], error)
	// Get contact group details based on contact group sid from contact_group
	// table
	GetContactGroupDetails(context.Context, *connect_go.Request[v0alpha.GetContactGroupReq]) (*connect_go.Response[v0alpha.ContactGroup], error)
	// Get contact group size based on contacts size
	GetContactGroupSize(context.Context, *connect_go.Request[v0alpha.GetContactGroupReq]) (*connect_go.Response[v0alpha.GetContactGroupSizeRes], error)
	// Create contact field description details
	CreateContactFieldDescription(context.Context, *connect_go.Request[v0alpha.CreateContactFieldDescriptionReq]) (*connect_go.Response[v0alpha.CreateContactFieldDescriptionRes], error)
	// Delete contact field description details
	DeleteContactFieldDescription(context.Context, *connect_go.Request[v0alpha.DeleteContactFieldDescriptionReq]) (*connect_go.Response[v0alpha.DeleteContactFieldDescriptionRes], error)
	// List contact field desc details from contact_field_description table
	ListContactFieldDescriptions(context.Context, *connect_go.Request[v0alpha.ListContactFieldDescriptionsReq]) (*connect_go.Response[v0alpha.ListContactFieldDescriptionsRes], error)
	// List contact field description details based on contact group sid
	ListContactFieldDescriptionsByCGSid(context.Context, *connect_go.Request[v0alpha.ListContactFieldDescriptionsByCGSidReq]) (*connect_go.Response[v0alpha.ListContactFieldDescriptionsByCGSidRes], error)
	// List contactImportTemplates based on client_sid from
	// contact_import_template table
	ListContactImportTemplates(context.Context, *connect_go.Request[v0alpha.ListContactImportTemplatesReq]) (*connect_go.Response[v0alpha.ListContactImportTemplatesRes], error)
	// Updates task data for a preview record to finished and logs an agent
	// session event
	UpdatePreviewRecordToFinished(context.Context, *connect_go.Request[v0alpha.UpdatePreviewRecordToFinishedReq]) (*connect_go.Response[v0alpha.UpdatePreviewRecordToFinishedRes], error)
	// Updates the requesting agent's hunt_group_sid.
	UpdateAgentHuntGroup(context.Context, *connect_go.Request[v0alpha.UpdateAgentHuntGroupReq]) (*connect_go.Response[v0alpha.UpdateAgentHuntGroupRes], error)
	// Updates every given user's hunt_group_sid.
	// Required Permissions:
	//
	//	AGENT_MANAGEMENT
	//
	// Errors:
	//   - grpc.Internal: an error occurred while interacting with the database.
	//   - grpc.InvalidArgument: the hunt_group_sid or the user id list is empty or contains an invalid value.
	MultiAgentHuntGroupAssignment(context.Context, *connect_go.Request[v0alpha.MultiAgentHuntGroupAssignmentReq]) (*connect_go.Response[v0alpha.MultiAgentHuntGroupAssignmentRes], error)
	// GetAgentProfile returns an agent profile.
	GetAgentProfile(context.Context, *connect_go.Request[v0alpha.GetAgentProfileReq]) (*connect_go.Response[v0alpha.AgentProfile], error)
	// RecalculateBilling updates statuses for every billing type given on the
	// request message for either the current or previous month.
	// Only data that has already been summed for billing will have it's
	// status updated.
	// Required Permissions:
	//
	//	EDIT_BILLING
	RecalculateBilling(context.Context, *connect_go.Request[v0alpha.RecalculateBillingReq]) (*connect_go.Response[v0alpha.RecalculateBillingRes], error)
	// Gets information of the requesting client's broadcast templates (template_number, name, type, modify_date)
	// It reports if each found template is either STANDARD or LAYERED.
	// Required permissions:
	//
	//	NONE
	//
	// Errors:
	//
	//	NONE
	ListOutboundBroadcastTemplateData(context.Context, *connect_go.Request[v0alpha.ListOutboundBroadcastTemplateDataReq]) (*connect_go.Response[v0alpha.ListOutboundBroadcastTemplateDataRes], error)
	// Assign every skill to every agent with the given aptitude.
	// Errors:
	//   - grpc.Invalid: the aptitude field is invalid.
	MultiAgentSkillAssignment(context.Context, *connect_go.Request[v0alpha.MultiAgentSkillAssignmentReq]) (*connect_go.Response[v0alpha.MultiAgentSkillAssignmentRes], error)
	// Unassigns every given skill from every given user.
	// Errors:
	//   - grpc.InvalidArgument:
	//   - the user_ids list is empty or contains an empty string.
	//   - one or more of the user_ids does not belong to the client.
	//   - grpc.Internal: an error occurred while deleting the skill assignments.
	MultiAgentSkillUnassignment(context.Context, *connect_go.Request[v0alpha.MultiAgentSkillUnassignmentReq]) (*connect_go.Response[v0alpha.MultiAgentSkillUnassignmentRes], error)
	// List of agent hunt groups based on client sid
	// that have manually approved messages enabled
	ListMAMAgentHuntGroupsByClientSid(context.Context, *connect_go.Request[v0alpha.ListMAMAgentHuntGroupsByClientSidReq]) (*connect_go.Response[v0alpha.ListMAMAgentHuntGroupsByClientSidRes], error)
	// List every tts voice
	// Required Permissions:
	//
	//	TCN_ADMIN_SETTINGS
	//
	// Errors:
	//   - grpc.Internal: an error was returned while trying to retrieve the entity
	ListTtsVoices(context.Context, *connect_go.Request[v0alpha.ListTtsVoicesReq]) (*connect_go.Response[v0alpha.ListTtsVoicesRes], error)
	// Create a new tts voice
	// Required Permissions:
	//
	//	TCN_ADMIN_SETTINGS
	//
	// Errors:
	//   - grpc.InvalidArgument: the actual_name or port field on the request is invalid.
	//   - grpc.Internal: an error was returned while trying to insert the new tts voice.
	CreateTtsVoice(context.Context, *connect_go.Request[v0alpha.CreateTtsVoiceReq]) (*connect_go.Response[v0alpha.CreateTtsVoiceRes], error)
	// Delete a tts voice with the given tts_voice_sid.
	// Required Permissions:
	//
	//	TCN_ADMIN_SETTINGS
	//
	// Errors:
	//   - grpc.InvalidArgument: the tts_voice_sid field on the request is invalid.
	//   - grpc.Internal: an error was returned while trying to remove the tts voice.
	DeleteTtsVoice(context.Context, *connect_go.Request[v0alpha.DeleteTtsVoiceReq]) (*connect_go.Response[v0alpha.DeleteTtsVoiceRes], error)
	// List of account custom data keys based on client sid
	// Required Permissions:
	//
	//	ORG_VIEW
	//
	// Errors:
	//   - grpc.Internal: an error was returned while trying to retrieve the entity
	ListCustomDataKeys(context.Context, *connect_go.Request[v0alpha.ListCustomDataKeysReq]) (*connect_go.Response[v0alpha.ListCustomDataKeysRes], error)
	// Creates a new Data Key as defined by the request message
	// the client_properties_sid should not be set, this is assigned on the backend
	// Required Permission:
	//
	//	ORG_EDIT
	//
	// Errors:
	//   - grpc.InvalidArgument: The custom_data_key field was not set
	//   - grpc.Internal: error creating custom data key
	CreateCustomDataKey(context.Context, *connect_go.Request[v0alpha.CreateCustomDataKeyReq]) (*connect_go.Response[v0alpha.CreateCustomDataKeyRes], error)
	// Deletes a Custom Data Key with the sid given on the request message.
	// Required Permission:
	//
	//	ORG_EDIT
	//
	// Errors:
	//   - grpc.InvalidArgument: The client_properties_sid field is invalid.
	//   - grpc.NotFound: no custom data key was deleted for the client_properties_sid.
	//   - grpc.Internal: an error occurred while trying to remove the custom data key.
	DeleteCustomDataKey(context.Context, *connect_go.Request[v0alpha.DeleteCustomDataKeyReq]) (*connect_go.Response[v0alpha.DeleteCustomDataKeyRes], error)
	// Updates a custom data key with the client_properties_sid and data key
	// given on the request
	// Required Permissions;
	//
	//	ORG_EDIT
	//
	// Errors:
	//   - grpc.InvalidArgument: The client_properties_sid was empty or the data key was not set
	//   - grpc.Internal: error updating custom data key, more than 1 custom data key records affected
	//   - grpc.NotFound: no matching custom data key found
	UpdateCustomDataKey(context.Context, *connect_go.Request[v0alpha.UpdateCustomDataKeyReq]) (*connect_go.Response[v0alpha.UpdateCustomDataKeyRes], error)
	// Get Activity logs for given users and by specified time range
	// Required Permissions;
	//
	//	CUSTOMER_SUPPORT
	GetActivityLogHistories(context.Context, *connect_go.Request[v0alpha.GetActivityLogHistoryReq], *connect_go.ServerStream[v0alpha.GetActivityLogHistoryRes]) error
	// List agent and queue table template properties by client sid
	ListTableTemplateProperties(context.Context, *connect_go.Request[v0alpha.ListTableTemplatePropertiesReq]) (*connect_go.Response[v0alpha.ListTableTemplatePropertiesRes], error)
	// List agent skills filters by client sid
	ListAgentSkillsFilters(context.Context, *connect_go.Request[v0alpha.ListAgentSkillsFiltersReq]) (*connect_go.Response[v0alpha.ListAgentSkillsFiltersRes], error)
	// List Schedule Rules
	ListScheduleRules(context.Context, *connect_go.Request[v0alpha.ListScheduleRulesRequest]) (*connect_go.Response[v0alpha.ListScheduleRulesResult], error)
	// List custom report filters by client sid
	ListCustomReportFilters(context.Context, *connect_go.Request[v0alpha.ListCustomReportFiltersReq]) (*connect_go.Response[v0alpha.ListCustomReportFiltersRes], error)
	// List sms numbers by client sid
	ListSmsNumbers(context.Context, *connect_go.Request[v0alpha.ListSmsNumbersReq]) (*connect_go.Response[v0alpha.ListSmsNumbersRes], error)
}

P3ApiHandler is an implementation of the api.v1alpha1.p3api.P3Api service.

type UnimplementedP3ApiHandler

type UnimplementedP3ApiHandler struct{}

UnimplementedP3ApiHandler returns CodeUnimplemented from all methods.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL