asmv1alpha1

package
v1.7.75 Latest Latest
Warning

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

Go to latest
Published: May 1, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AsmService_CreateSession_FullMethodName      = "/services.omnichannel.asm.v1alpha1.AsmService/CreateSession"
	AsmService_EndSession_FullMethodName         = "/services.omnichannel.asm.v1alpha1.AsmService/EndSession"
	AsmService_GetCurrentSession_FullMethodName  = "/services.omnichannel.asm.v1alpha1.AsmService/GetCurrentSession"
	AsmService_EnableVoice_FullMethodName        = "/services.omnichannel.asm.v1alpha1.AsmService/EnableVoice"
	AsmService_DisableVoice_FullMethodName       = "/services.omnichannel.asm.v1alpha1.AsmService/DisableVoice"
	AsmService_ListAsmUserDetails_FullMethodName = "/services.omnichannel.asm.v1alpha1.AsmService/ListAsmUserDetails"
	AsmService_PushEvents_FullMethodName         = "/services.omnichannel.asm.v1alpha1.AsmService/PushEvents"
)

Variables

View Source
var AsmService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "services.omnichannel.asm.v1alpha1.AsmService",
	HandlerType: (*AsmServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreateSession",
			Handler:    _AsmService_CreateSession_Handler,
		},
		{
			MethodName: "EndSession",
			Handler:    _AsmService_EndSession_Handler,
		},
		{
			MethodName: "GetCurrentSession",
			Handler:    _AsmService_GetCurrentSession_Handler,
		},
		{
			MethodName: "EnableVoice",
			Handler:    _AsmService_EnableVoice_Handler,
		},
		{
			MethodName: "DisableVoice",
			Handler:    _AsmService_DisableVoice_Handler,
		},
		{
			MethodName: "ListAsmUserDetails",
			Handler:    _AsmService_ListAsmUserDetails_Handler,
		},
		{
			MethodName: "PushEvents",
			Handler:    _AsmService_PushEvents_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "services/omnichannel/asm/v1alpha1/service.proto",
}

AsmService_ServiceDesc is the grpc.ServiceDesc for AsmService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var File_services_omnichannel_asm_v1alpha1_entities_proto protoreflect.FileDescriptor
View Source
var File_services_omnichannel_asm_v1alpha1_service_proto protoreflect.FileDescriptor

Functions

func RegisterAsmServiceServer

func RegisterAsmServiceServer(s grpc.ServiceRegistrar, srv AsmServiceServer)

Types

type AsmServiceClient

type AsmServiceClient interface {
	// Creates an agent session and enables the voice channel
	CreateSession(ctx context.Context, in *CreateSessionRequest, opts ...grpc.CallOption) (*CreateSessionResponse, error)
	// Closes an asm session and all sub sessions
	EndSession(ctx context.Context, in *EndSessionRequest, opts ...grpc.CallOption) (*EndSessionResponse, error)
	// Gets an agent's current asm session
	GetCurrentSession(ctx context.Context, in *GetCurrentSessionRequest, opts ...grpc.CallOption) (*GetCurrentSessionResponse, error)
	// Updates the currently active subsession
	EnableVoice(ctx context.Context, in *EnableVoiceRequest, opts ...grpc.CallOption) (*EnableVoiceResponse, error)
	DisableVoice(ctx context.Context, in *DisableVoiceRequest, opts ...grpc.CallOption) (*DisableVoiceResponse, error)
	// List all Sessions for the given user. Contains statistical enrichments for each agent and their conversations.
	ListAsmUserDetails(ctx context.Context, in *ListAsmUserDetailsRequest, opts ...grpc.CallOption) (*ListAsmUserDetailsResponse, error)
	// puah events push a list of events
	PushEvents(ctx context.Context, in *PushEventsRequest, opts ...grpc.CallOption) (*PushEventResponse, error)
}

AsmServiceClient is the client API for AsmService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewAsmServiceClient

func NewAsmServiceClient(cc grpc.ClientConnInterface) AsmServiceClient

type AsmServiceServer

type AsmServiceServer interface {
	// Creates an agent session and enables the voice channel
	CreateSession(context.Context, *CreateSessionRequest) (*CreateSessionResponse, error)
	// Closes an asm session and all sub sessions
	EndSession(context.Context, *EndSessionRequest) (*EndSessionResponse, error)
	// Gets an agent's current asm session
	GetCurrentSession(context.Context, *GetCurrentSessionRequest) (*GetCurrentSessionResponse, error)
	// Updates the currently active subsession
	EnableVoice(context.Context, *EnableVoiceRequest) (*EnableVoiceResponse, error)
	DisableVoice(context.Context, *DisableVoiceRequest) (*DisableVoiceResponse, error)
	// List all Sessions for the given user. Contains statistical enrichments for each agent and their conversations.
	ListAsmUserDetails(context.Context, *ListAsmUserDetailsRequest) (*ListAsmUserDetailsResponse, error)
	// puah events push a list of events
	PushEvents(context.Context, *PushEventsRequest) (*PushEventResponse, error)
	// contains filtered or unexported methods
}

AsmServiceServer is the server API for AsmService service. All implementations must embed UnimplementedAsmServiceServer for forward compatibility

type CreateSessionRequest

type CreateSessionRequest struct {
	// contains filtered or unexported fields
}

func (*CreateSessionRequest) Descriptor deprecated

func (*CreateSessionRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateSessionRequest.ProtoReflect.Descriptor instead.

func (*CreateSessionRequest) ProtoMessage

func (*CreateSessionRequest) ProtoMessage()

func (*CreateSessionRequest) ProtoReflect

func (x *CreateSessionRequest) ProtoReflect() protoreflect.Message

func (*CreateSessionRequest) Reset

func (x *CreateSessionRequest) Reset()

func (*CreateSessionRequest) String

func (x *CreateSessionRequest) String() string

type CreateSessionResponse

type CreateSessionResponse struct {

	// asm session
	AsmSession *v1alpha1.AsmSession `protobuf:"bytes,1,opt,name=asm_session,json=asmSession,proto3" json:"asm_session,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateSessionResponse) Descriptor deprecated

func (*CreateSessionResponse) Descriptor() ([]byte, []int)

Deprecated: Use CreateSessionResponse.ProtoReflect.Descriptor instead.

func (*CreateSessionResponse) GetAsmSession

func (x *CreateSessionResponse) GetAsmSession() *v1alpha1.AsmSession

func (*CreateSessionResponse) ProtoMessage

func (*CreateSessionResponse) ProtoMessage()

func (*CreateSessionResponse) ProtoReflect

func (x *CreateSessionResponse) ProtoReflect() protoreflect.Message

func (*CreateSessionResponse) Reset

func (x *CreateSessionResponse) Reset()

func (*CreateSessionResponse) String

func (x *CreateSessionResponse) String() string

type DisableVoiceRequest

type DisableVoiceRequest struct {

	// asm session to have voice disabled.
	AsmSessionSid int64 `protobuf:"varint,1,opt,name=asm_session_sid,json=asmSessionSid,proto3" json:"asm_session_sid,omitempty"`
	// contains filtered or unexported fields
}

func (*DisableVoiceRequest) Descriptor deprecated

func (*DisableVoiceRequest) Descriptor() ([]byte, []int)

Deprecated: Use DisableVoiceRequest.ProtoReflect.Descriptor instead.

func (*DisableVoiceRequest) GetAsmSessionSid

func (x *DisableVoiceRequest) GetAsmSessionSid() int64

func (*DisableVoiceRequest) ProtoMessage

func (*DisableVoiceRequest) ProtoMessage()

func (*DisableVoiceRequest) ProtoReflect

func (x *DisableVoiceRequest) ProtoReflect() protoreflect.Message

func (*DisableVoiceRequest) Reset

func (x *DisableVoiceRequest) Reset()

func (*DisableVoiceRequest) String

func (x *DisableVoiceRequest) String() string

type DisableVoiceResponse

type DisableVoiceResponse struct {
	// contains filtered or unexported fields
}

func (*DisableVoiceResponse) Descriptor deprecated

func (*DisableVoiceResponse) Descriptor() ([]byte, []int)

Deprecated: Use DisableVoiceResponse.ProtoReflect.Descriptor instead.

func (*DisableVoiceResponse) ProtoMessage

func (*DisableVoiceResponse) ProtoMessage()

func (*DisableVoiceResponse) ProtoReflect

func (x *DisableVoiceResponse) ProtoReflect() protoreflect.Message

func (*DisableVoiceResponse) Reset

func (x *DisableVoiceResponse) Reset()

func (*DisableVoiceResponse) String

func (x *DisableVoiceResponse) String() string

type EnableVoiceRequest

type EnableVoiceRequest struct {

	// asm session sid to start voice
	AsmSessionSid int64 `protobuf:"varint,1,opt,name=asm_session_sid,json=asmSessionSid,proto3" json:"asm_session_sid,omitempty"`
	// hunt group voice session will be assigned to
	HuntGroupSid int64 `protobuf:"varint,2,opt,name=hunt_group_sid,json=huntGroupSid,proto3" json:"hunt_group_sid,omitempty"`
	// Skills voice session is going to requere.
	Skills map[string]int64 `` /* 154-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*EnableVoiceRequest) Descriptor deprecated

func (*EnableVoiceRequest) Descriptor() ([]byte, []int)

Deprecated: Use EnableVoiceRequest.ProtoReflect.Descriptor instead.

func (*EnableVoiceRequest) GetAsmSessionSid

func (x *EnableVoiceRequest) GetAsmSessionSid() int64

func (*EnableVoiceRequest) GetHuntGroupSid

func (x *EnableVoiceRequest) GetHuntGroupSid() int64

func (*EnableVoiceRequest) GetSkills

func (x *EnableVoiceRequest) GetSkills() map[string]int64

func (*EnableVoiceRequest) ProtoMessage

func (*EnableVoiceRequest) ProtoMessage()

func (*EnableVoiceRequest) ProtoReflect

func (x *EnableVoiceRequest) ProtoReflect() protoreflect.Message

func (*EnableVoiceRequest) Reset

func (x *EnableVoiceRequest) Reset()

func (*EnableVoiceRequest) String

func (x *EnableVoiceRequest) String() string

type EnableVoiceResponse

type EnableVoiceResponse struct {

	// voice session that was enabled
	VoiceSession *v1alpha1.VoiceSession `protobuf:"bytes,1,opt,name=voice_session,json=voiceSession,proto3" json:"voice_session,omitempty"`
	// the registration with new voice session
	VoiceRegistration *v1alpha1.VoiceRegistration `protobuf:"bytes,2,opt,name=voice_registration,json=voiceRegistration,proto3" json:"voice_registration,omitempty"`
	// contains filtered or unexported fields
}

func (*EnableVoiceResponse) Descriptor deprecated

func (*EnableVoiceResponse) Descriptor() ([]byte, []int)

Deprecated: Use EnableVoiceResponse.ProtoReflect.Descriptor instead.

func (*EnableVoiceResponse) GetVoiceRegistration

func (x *EnableVoiceResponse) GetVoiceRegistration() *v1alpha1.VoiceRegistration

func (*EnableVoiceResponse) GetVoiceSession

func (x *EnableVoiceResponse) GetVoiceSession() *v1alpha1.VoiceSession

func (*EnableVoiceResponse) ProtoMessage

func (*EnableVoiceResponse) ProtoMessage()

func (*EnableVoiceResponse) ProtoReflect

func (x *EnableVoiceResponse) ProtoReflect() protoreflect.Message

func (*EnableVoiceResponse) Reset

func (x *EnableVoiceResponse) Reset()

func (*EnableVoiceResponse) String

func (x *EnableVoiceResponse) String() string

type EndSessionRequest

type EndSessionRequest struct {

	// the asm session sid to be ended
	AsmSessionSid int64 `protobuf:"varint,1,opt,name=asm_session_sid,json=asmSessionSid,proto3" json:"asm_session_sid,omitempty"`
	// reason why session is ended
	Reason string `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"`
	// contains filtered or unexported fields
}

func (*EndSessionRequest) Descriptor deprecated

func (*EndSessionRequest) Descriptor() ([]byte, []int)

Deprecated: Use EndSessionRequest.ProtoReflect.Descriptor instead.

func (*EndSessionRequest) GetAsmSessionSid

func (x *EndSessionRequest) GetAsmSessionSid() int64

func (*EndSessionRequest) GetReason

func (x *EndSessionRequest) GetReason() string

func (*EndSessionRequest) ProtoMessage

func (*EndSessionRequest) ProtoMessage()

func (*EndSessionRequest) ProtoReflect

func (x *EndSessionRequest) ProtoReflect() protoreflect.Message

func (*EndSessionRequest) Reset

func (x *EndSessionRequest) Reset()

func (*EndSessionRequest) String

func (x *EndSessionRequest) String() string

type EndSessionResponse

type EndSessionResponse struct {
	// contains filtered or unexported fields
}

func (*EndSessionResponse) Descriptor deprecated

func (*EndSessionResponse) Descriptor() ([]byte, []int)

Deprecated: Use EndSessionResponse.ProtoReflect.Descriptor instead.

func (*EndSessionResponse) ProtoMessage

func (*EndSessionResponse) ProtoMessage()

func (*EndSessionResponse) ProtoReflect

func (x *EndSessionResponse) ProtoReflect() protoreflect.Message

func (*EndSessionResponse) Reset

func (x *EndSessionResponse) Reset()

func (*EndSessionResponse) String

func (x *EndSessionResponse) String() string

type GetCurrentSessionRequest

type GetCurrentSessionRequest struct {
	// contains filtered or unexported fields
}

func (*GetCurrentSessionRequest) Descriptor deprecated

func (*GetCurrentSessionRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetCurrentSessionRequest.ProtoReflect.Descriptor instead.

func (*GetCurrentSessionRequest) ProtoMessage

func (*GetCurrentSessionRequest) ProtoMessage()

func (*GetCurrentSessionRequest) ProtoReflect

func (x *GetCurrentSessionRequest) ProtoReflect() protoreflect.Message

func (*GetCurrentSessionRequest) Reset

func (x *GetCurrentSessionRequest) Reset()

func (*GetCurrentSessionRequest) String

func (x *GetCurrentSessionRequest) String() string

type GetCurrentSessionResponse

type GetCurrentSessionResponse struct {

	// current asm session
	AsmSession *v1alpha1.AsmSession `protobuf:"bytes,1,opt,name=asm_session,json=asmSession,proto3" json:"asm_session,omitempty"`
	// contains filtered or unexported fields
}

func (*GetCurrentSessionResponse) Descriptor deprecated

func (*GetCurrentSessionResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetCurrentSessionResponse.ProtoReflect.Descriptor instead.

func (*GetCurrentSessionResponse) GetAsmSession

func (x *GetCurrentSessionResponse) GetAsmSession() *v1alpha1.AsmSession

func (*GetCurrentSessionResponse) ProtoMessage

func (*GetCurrentSessionResponse) ProtoMessage()

func (*GetCurrentSessionResponse) ProtoReflect

func (*GetCurrentSessionResponse) Reset

func (x *GetCurrentSessionResponse) Reset()

func (*GetCurrentSessionResponse) String

func (x *GetCurrentSessionResponse) String() string

type ListAsmUserDetailsRequest

type ListAsmUserDetailsRequest struct {
	// contains filtered or unexported fields
}

func (*ListAsmUserDetailsRequest) Descriptor deprecated

func (*ListAsmUserDetailsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListAsmUserDetailsRequest.ProtoReflect.Descriptor instead.

func (*ListAsmUserDetailsRequest) ProtoMessage

func (*ListAsmUserDetailsRequest) ProtoMessage()

func (*ListAsmUserDetailsRequest) ProtoReflect

func (*ListAsmUserDetailsRequest) Reset

func (x *ListAsmUserDetailsRequest) Reset()

func (*ListAsmUserDetailsRequest) String

func (x *ListAsmUserDetailsRequest) String() string

type ListAsmUserDetailsResponse

type ListAsmUserDetailsResponse struct {

	// list of Sessions in the system with enrichments
	//
	// Deprecated: Marked as deprecated in services/omnichannel/asm/v1alpha1/entities.proto.
	Sessions       []*v1alpha1.AsmUserDetails `protobuf:"bytes,1,rep,name=sessions,proto3" json:"sessions,omitempty"`
	AsmUserDetails []*v1alpha1.AsmUserDetails `protobuf:"bytes,2,rep,name=asm_user_details,json=asmUserDetails,proto3" json:"asm_user_details,omitempty"`
	// contains filtered or unexported fields
}

func (*ListAsmUserDetailsResponse) Descriptor deprecated

func (*ListAsmUserDetailsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListAsmUserDetailsResponse.ProtoReflect.Descriptor instead.

func (*ListAsmUserDetailsResponse) GetAsmUserDetails added in v1.7.72

func (x *ListAsmUserDetailsResponse) GetAsmUserDetails() []*v1alpha1.AsmUserDetails

func (*ListAsmUserDetailsResponse) GetSessions deprecated

Deprecated: Marked as deprecated in services/omnichannel/asm/v1alpha1/entities.proto.

func (*ListAsmUserDetailsResponse) ProtoMessage

func (*ListAsmUserDetailsResponse) ProtoMessage()

func (*ListAsmUserDetailsResponse) ProtoReflect

func (*ListAsmUserDetailsResponse) Reset

func (x *ListAsmUserDetailsResponse) Reset()

func (*ListAsmUserDetailsResponse) String

func (x *ListAsmUserDetailsResponse) String() string

type PushEventResponse added in v1.7.74

type PushEventResponse struct {
	// contains filtered or unexported fields
}

func (*PushEventResponse) Descriptor deprecated added in v1.7.74

func (*PushEventResponse) Descriptor() ([]byte, []int)

Deprecated: Use PushEventResponse.ProtoReflect.Descriptor instead.

func (*PushEventResponse) ProtoMessage added in v1.7.74

func (*PushEventResponse) ProtoMessage()

func (*PushEventResponse) ProtoReflect added in v1.7.74

func (x *PushEventResponse) ProtoReflect() protoreflect.Message

func (*PushEventResponse) Reset added in v1.7.74

func (x *PushEventResponse) Reset()

func (*PushEventResponse) String added in v1.7.74

func (x *PushEventResponse) String() string

type PushEventsRequest added in v1.7.74

type PushEventsRequest struct {
	AmsSessionSid int64               `protobuf:"varint,1,opt,name=ams_session_sid,json=amsSessionSid,proto3" json:"ams_session_sid,omitempty"`
	AsmEvents     []*commons.AsmEvent `protobuf:"bytes,2,rep,name=asm_events,json=asmEvents,proto3" json:"asm_events,omitempty"`
	// contains filtered or unexported fields
}

func (*PushEventsRequest) Descriptor deprecated added in v1.7.74

func (*PushEventsRequest) Descriptor() ([]byte, []int)

Deprecated: Use PushEventsRequest.ProtoReflect.Descriptor instead.

func (*PushEventsRequest) GetAmsSessionSid added in v1.7.74

func (x *PushEventsRequest) GetAmsSessionSid() int64

func (*PushEventsRequest) GetAsmEvents added in v1.7.74

func (x *PushEventsRequest) GetAsmEvents() []*commons.AsmEvent

func (*PushEventsRequest) ProtoMessage added in v1.7.74

func (*PushEventsRequest) ProtoMessage()

func (*PushEventsRequest) ProtoReflect added in v1.7.74

func (x *PushEventsRequest) ProtoReflect() protoreflect.Message

func (*PushEventsRequest) Reset added in v1.7.74

func (x *PushEventsRequest) Reset()

func (*PushEventsRequest) String added in v1.7.74

func (x *PushEventsRequest) String() string

type UnimplementedAsmServiceServer

type UnimplementedAsmServiceServer struct {
}

UnimplementedAsmServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedAsmServiceServer) CreateSession

func (UnimplementedAsmServiceServer) DisableVoice

func (UnimplementedAsmServiceServer) EnableVoice

func (UnimplementedAsmServiceServer) EndSession

func (UnimplementedAsmServiceServer) GetCurrentSession

func (UnimplementedAsmServiceServer) PushEvents added in v1.7.74

type UnsafeAsmServiceServer

type UnsafeAsmServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeAsmServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AsmServiceServer will result in compilation errors.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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