CIWebCommsWs

package
v0.0.0-...-c4ef217 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2017 License: GPL-3.0 Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AbandonQueuingWCContact

type AbandonQueuingWCContact struct {
	XMLName xml.Name `xml:"http://webservices.ci.ccmm.applications.nortel.com AbandonQueuingWCContact"`

	ContactID int64 `xml:"contactID,omitempty"`

	ClosureComment string `xml:"closureComment,omitempty"`

	ClosedReasonCodeValue int64 `xml:"closedReasonCodeValue,omitempty"`

	ClosedReasonCodeSpecified bool `xml:"closedReasonCodeSpecified"`

	SessionKey string `xml:"sessionKey,omitempty"`
}

AbandonQueuingWCContact -

type AbandonQueuingWCContactResponse

type AbandonQueuingWCContactResponse struct {
	XMLName xml.Name `xml:"http://webservices.ci.ccmm.applications.nortel.com AbandonQueuingWCContactResponse"`

	AbandonQueuingWCContactResult int64 `xml:"AbandonQueuingWCContactResult,omitempty"`
}

AbandonQueuingWCContactResponse -

type AbandonQueuingWebCommsContact

type AbandonQueuingWebCommsContact struct {
	XMLName xml.Name `xml:"http://webservices.ci.ccmm.applications.nortel.com AbandonQueuingWebCommsContact"`

	ContactID int64 `xml:"contactID,omitempty"`

	ClosureComment string `xml:"closureComment,omitempty"`

	SessionKey string `xml:"sessionKey,omitempty"`
}

AbandonQueuingWebCommsContact -

type AbandonQueuingWebCommsContactResponse

type AbandonQueuingWebCommsContactResponse struct {
	XMLName xml.Name `xml:"http://webservices.ci.ccmm.applications.nortel.com AbandonQueuingWebCommsContactResponse"`

	AbandonQueuingWebCommsContactResult int64 `xml:"AbandonQueuingWebCommsContactResult,omitempty"`
}

AbandonQueuingWebCommsContactResponse -

type ArrayOfCICOnHoldMessages

type ArrayOfCICOnHoldMessages struct {
	XMLName xml.Name `xml:"http://datatypes.ci.ccmm.applications.nortel.com ArrayOfCICOnHoldMessages"`

	CICOnHoldMessages []*CICOnHoldMessages `xml:"CICOnHoldMessages,omitempty"`
}

ArrayOfCICOnHoldMessages -

type ArrayOfCIChatMessageReadType

type ArrayOfCIChatMessageReadType struct {
	CIChatMessageReadType []*CIChatMessageReadType `xml:"CIChatMessageReadType"`
}

ArrayOfCIChatMessageReadType -

type ArrayOfCIOnHoldURLReadType

type ArrayOfCIOnHoldURLReadType struct {
	XMLName xml.Name `xml:"http://datatypes.ci.ccmm.applications.nortel.com ArrayOfCIOnHoldURLReadType"`

	CIOnHoldURLReadType []*CIOnHoldURLReadType `xml:"CIOnHoldURLReadType,omitempty"`
}

ArrayOfCIOnHoldURLReadType -

type CICOnHoldMessages

type CICOnHoldMessages struct {
	XMLName xml.Name `xml:"http://datatypes.ci.ccmm.applications.nortel.com CICOnHoldMessages"`

	Message string `xml:"Message,omitempty"`
}

CICOnHoldMessages -

type CIChatMessageReadType

type CIChatMessageReadType struct {
	XMLName xml.Name `xml:"http://datatypes.ci.ccmm.applications.nortel.com CIChatMessageReadType"`

	ChatMessage string `xml:"chatMessage,omitempty"`

	HiddenMessage string `xml:"hiddenMessage,omitempty"`

	WriteTime *soap.CIDateTime `xml:"writeTime,omitempty"`

	ChatMessageType *CIChatMessageType `xml:"chatMessageType,omitempty"`
}

CIChatMessageReadType -

type CIChatMessageType

type CIChatMessageType string

CIChatMessageType -

const (
	// CIChatMessageTypeChatMessagefromCustomer -
	CIChatMessageTypeChatMessagefromCustomer CIChatMessageType = "Chat_Message_from_Customer"

	//CIChatMessageTypeChatMessagefromAgent -
	CIChatMessageTypeChatMessagefromAgent CIChatMessageType = "Chat_Message_from_Agent"

	//CIChatMessageTypePagePushedbyCustomer -
	CIChatMessageTypePagePushedbyCustomer CIChatMessageType = "Page_Pushed_by_Customer"

	//CIChatMessageTypePagePushedbyAgent -
	CIChatMessageTypePagePushedbyAgent CIChatMessageType = "Page_Pushed_by_Agent"

	//CIChatMessageTypeFormSharedbyCustomer -
	CIChatMessageTypeFormSharedbyCustomer CIChatMessageType = "Form_Shared_by_Customer"

	//CIChatMessageTypeFormSharedbyAgent -
	CIChatMessageTypeFormSharedbyAgent CIChatMessageType = "Form_Shared_by_Agent"

	//CIChatMessageTypeCallMeRequestfromCustomer -
	CIChatMessageTypeCallMeRequestfromCustomer CIChatMessageType = "Call_Me_Request_from_Customer"

	//CIChatMessageTypePagePreviewedbyCustomer -
	CIChatMessageTypePagePreviewedbyCustomer CIChatMessageType = "Page_Previewed_by_Customer"

	//CIChatMessageTypePagePreviewedbyAgent -
	CIChatMessageTypePagePreviewedbyAgent CIChatMessageType = "Page_Previewed_by_Agent"

	// CIChatMessageTypeSessionDisconnectedbyCustomer -
	CIChatMessageTypeSessionDisconnectedbyCustomer CIChatMessageType = "Session_Disconnected_by_Customer"

	//CIChatMessageTypeSessionDisconnectedbyAgent -
	CIChatMessageTypeSessionDisconnectedbyAgent CIChatMessageType = "Session_Disconnected_by_Agent"

	//CIChatMessageTypePrivateChatMessagebetweenAgents -
	CIChatMessageTypePrivateChatMessagebetweenAgents CIChatMessageType = "Private_Chat_Message_between_Agents"

	//CIChatMessageTypeComfortMessage -
	CIChatMessageTypeComfortMessage CIChatMessageType = "Comfort_Message"
)

type CICustomerChatNameReadType

type CICustomerChatNameReadType struct {
	XMLName xml.Name `xml:"http://datatypes.ci.ccmm.applications.nortel.com CICustomerChatNameReadType"`

	FirstName string `xml:"firstName,omitempty"`

	LastName string `xml:"lastName,omitempty"`
}

CICustomerChatNameReadType -

type CIDateTime

type CIDateTime struct {
	Milliseconds int64 `xml:"http://datatypes.ci.ccmm.applications.nortel.com milliseconds,omitempty"`
}

CIDateTime -

type CIMultipleChatMessageReadType

type CIMultipleChatMessageReadType struct {
	//XMLName xml.Name `xml:"http://datatypes.ci.ccmm.applications.nortel.com ReadChatMessageResult"` // CIMultipleChatMessageReadType"`
	XMLName xml.Name `xml:"ReadChatMessageResult"` // CIMultipleChatMessageReadType"`

	ListOfChatMessages *ArrayOfCIChatMessageReadType `xml:"listOfChatMessages"`

	IsWriting bool `xml:"isWriting"`

	LastReadTime *soap.CIDateTime `xml:"lastReadTime"`
}

CIMultipleChatMessageReadType -

type CIMultipleOnHoldMessages

type CIMultipleOnHoldMessages struct {
	XMLName xml.Name `xml:"http://datatypes.ci.ccmm.applications.nortel.com CIMultipleOnHoldMessages"`

	ListOfOnHoldMessages *ArrayOfCICOnHoldMessages `xml:"listOfOnHoldMessages,omitempty"`
}

CIMultipleOnHoldMessages -

type CIMultipleOnHoldURLReadType

type CIMultipleOnHoldURLReadType struct {
	XMLName xml.Name `xml:"http://datatypes.ci.ccmm.applications.nortel.com CIMultipleOnHoldURLReadType"`

	URLList *ArrayOfCIOnHoldURLReadType `xml:"URLList,omitempty"`
}

CIMultipleOnHoldURLReadType -

type CIOnHoldURLReadType

type CIOnHoldURLReadType struct {
	XMLName xml.Name `xml:"http://datatypes.ci.ccmm.applications.nortel.com CIOnHoldURLReadType"`

	URL string `xml:"URL,omitempty"`

	Description string `xml:"description,omitempty"`

	Tag string `xml:"tag,omitempty"`

	HoldTime int64 `xml:"holdTime,omitempty"`

	Sequence int64 `xml:"sequence,omitempty"`
}

CIOnHoldURLReadType -

type CreateWebCommsSession

type CreateWebCommsSession struct {
	XMLName xml.Name `xml:"http://webservices.ci.ccmm.applications.nortel.com CreateWebCommsSession"`

	ContactID int64 `xml:"contactID,omitempty"`

	SessionKey string `xml:"sessionKey,omitempty"`
}

CreateWebCommsSession -

type CreateWebCommsSessionResponse

type CreateWebCommsSessionResponse struct {
	XMLName xml.Name `xml:"http://webservices.ci.ccmm.applications.nortel.com CreateWebCommsSessionResponse"`

	CreateWebCommsSessionResult int64 `xml:"CreateWebCommsSessionResult,omitempty"`
}

CreateWebCommsSessionResponse -

type GetContactOnHoldMessages

type GetContactOnHoldMessages struct {
	XMLName xml.Name `xml:"http://webservices.ci.ccmm.applications.nortel.com GetContactOnHoldMessages"`

	Contactid int64 `xml:"contact_id,omitempty"`

	SessionKey string `xml:"sessionKey,omitempty"`
}

GetContactOnHoldMessages -

type GetContactOnHoldMessagesResponse

type GetContactOnHoldMessagesResponse struct {
	XMLName xml.Name `xml:"http://webservices.ci.ccmm.applications.nortel.com GetContactOnHoldMessagesResponse"`

	GetContactOnHoldMessagesResult *CIMultipleOnHoldMessages `xml:"GetContactOnHoldMessagesResult,omitempty"`
}

GetContactOnHoldMessagesResponse -

type GetCustomerTextChatLabel

type GetCustomerTextChatLabel struct {
	XMLName xml.Name `xml:"http://webservices.ci.ccmm.applications.nortel.com GetCustomerTextChatLabel"`

	SessionKey string `xml:"sessionKey,omitempty"`
}

GetCustomerTextChatLabel -

type GetCustomerTextChatLabelResponse

type GetCustomerTextChatLabelResponse struct {
	XMLName xml.Name `xml:"http://webservices.ci.ccmm.applications.nortel.com GetCustomerTextChatLabelResponse"`

	GetCustomerTextChatLabelResult string `xml:"GetCustomerTextChatLabelResult,omitempty"`
}

GetCustomerTextChatLabelResponse -

type GetCustomerTextChatName

type GetCustomerTextChatName struct {
	XMLName xml.Name `xml:"http://webservices.ci.ccmm.applications.nortel.com GetCustomerTextChatName"`

	ContactID int64 `xml:"contactID,omitempty"`

	SessionKey string `xml:"sessionKey,omitempty"`
}

GetCustomerTextChatName -

type GetCustomerTextChatNameResponse

type GetCustomerTextChatNameResponse struct {
	XMLName xml.Name `xml:"http://webservices.ci.ccmm.applications.nortel.com GetCustomerTextChatNameResponse"`

	GetCustomerTextChatNameResult *CICustomerChatNameReadType `xml:"GetCustomerTextChatNameResult,omitempty"`
}

GetCustomerTextChatNameResponse -

type GetTrunkAccessCode

type GetTrunkAccessCode struct {
	XMLName xml.Name `xml:"http://webservices.ci.ccmm.applications.nortel.com GetTrunkAccessCode"`

	SessionKey string `xml:"sessionKey,omitempty"`
}

GetTrunkAccessCode -

type GetTrunkAccessCodeResponse

type GetTrunkAccessCodeResponse struct {
	XMLName xml.Name `xml:"http://webservices.ci.ccmm.applications.nortel.com GetTrunkAccessCodeResponse"`

	GetTrunkAccessCodeResult string `xml:"GetTrunkAccessCodeResult,omitempty"`
}

GetTrunkAccessCodeResponse -

type GetWebOnHoldURLs

type GetWebOnHoldURLs struct {
	XMLName xml.Name `xml:"http://webservices.ci.ccmm.applications.nortel.com GetWebOnHoldURLs"`

	TagName string `xml:"tagName,omitempty"`

	SessionKey string `xml:"sessionKey,omitempty"`
}

GetWebOnHoldURLs -

type GetWebOnHoldURLsResponse

type GetWebOnHoldURLsResponse struct {
	XMLName xml.Name `xml:"http://webservices.ci.ccmm.applications.nortel.com GetWebOnHoldURLsResponse"`

	GetWebOnHoldURLsResult *CIMultipleOnHoldURLReadType `xml:"GetWebOnHoldURLsResult,omitempty"`
}

GetWebOnHoldURLsResponse -

type ReadChatMessage

type ReadChatMessage struct {
	XMLName xml.Name `xml:"http://webservices.ci.ccmm.applications.nortel.com ReadChatMessage"`

	ContactID int64 `xml:"contactID,omitempty"`

	LastReadTime *CIDateTime `xml:"lastReadTime,omitempty"`

	IsWriting bool `xml:"isWriting"`

	SessionKey string `xml:"sessionKey,omitempty"`
}

ReadChatMessage -

type ReadChatMessageResponse

type ReadChatMessageResponse struct {
	XMLName xml.Name `xml:"http://webservices.ci.ccmm.applications.nortel.com ReadChatMessageResponse"`

	ReadChatMessageResult *CIMultipleChatMessageReadType //`xml:"ReadChatMessageResult,omitempty"`
}

ReadChatMessageResponse -

type RequestChatHistory

type RequestChatHistory struct {
	XMLName xml.Name `xml:"http://webservices.ci.ccmm.applications.nortel.com RequestChatHistory"`

	ContactID int64 `xml:"contactID,omitempty"`

	Email string `xml:"email,omitempty"`

	SessionKey string `xml:"sessionKey,omitempty"`
}

RequestChatHistory -

type RequestChatHistoryResponse

type RequestChatHistoryResponse struct {
	XMLName xml.Name `xml:"http://webservices.ci.ccmm.applications.nortel.com RequestChatHistoryResponse"`

	RequestChatHistoryResult int64 `xml:"RequestChatHistoryResult,omitempty"`
}

RequestChatHistoryResponse -

type Soap

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

Soap -

func NewSoap

func NewSoap(baseURL string, tls bool, auth *soap.BasicAuth, verbose bool) *Soap

NewSoap -

func (*Soap) AbandonQueuingWCContact

func (service *Soap) AbandonQueuingWCContact(ctx context.Context, request *AbandonQueuingWCContact) (*AbandonQueuingWCContactResponse, error)

AbandonQueuingWCContact -

func (*Soap) AbandonQueuingWebCommsContact

func (service *Soap) AbandonQueuingWebCommsContact(ctx context.Context, request *AbandonQueuingWebCommsContact) (*AbandonQueuingWebCommsContactResponse, error)

AbandonQueuingWebCommsContact -

func (*Soap) CreateWebCommsSession

func (service *Soap) CreateWebCommsSession(ctx context.Context, request *CreateWebCommsSession) (*CreateWebCommsSessionResponse, error)

CreateWebCommsSession -

func (*Soap) GetContactOnHoldMessages

func (service *Soap) GetContactOnHoldMessages(ctx context.Context, request *GetContactOnHoldMessages) (*GetContactOnHoldMessagesResponse, error)

GetContactOnHoldMessages -

func (*Soap) GetCustomerTextChatLabel

func (service *Soap) GetCustomerTextChatLabel(ctx context.Context, request *GetCustomerTextChatLabel) (*GetCustomerTextChatLabelResponse, error)

GetCustomerTextChatLabel -

func (*Soap) GetCustomerTextChatName

func (service *Soap) GetCustomerTextChatName(ctx context.Context, request *GetCustomerTextChatName) (*GetCustomerTextChatNameResponse, error)

GetCustomerTextChatName -

func (*Soap) GetTrunkAccessCode

func (service *Soap) GetTrunkAccessCode(ctx context.Context, request *GetTrunkAccessCode) (*GetTrunkAccessCodeResponse, error)

GetTrunkAccessCode -

func (*Soap) GetWebOnHoldURLs

func (service *Soap) GetWebOnHoldURLs(ctx context.Context, request *GetWebOnHoldURLs) (*GetWebOnHoldURLsResponse, error)

GetWebOnHoldURLs -

func (*Soap) ReadChatMessage

func (service *Soap) ReadChatMessage(ctx context.Context, request *ReadChatMessage) (*ReadChatMessageResponse, error)

ReadChatMessage -

func (*Soap) RequestChatHistory

func (service *Soap) RequestChatHistory(ctx context.Context, request *RequestChatHistory) (*RequestChatHistoryResponse, error)

RequestChatHistory -

func (*Soap) SetHeader

func (service *Soap) SetHeader(header interface{})

SetHeader -

func (*Soap) UpdateAliveTime

func (service *Soap) UpdateAliveTime(ctx context.Context, request *UpdateAliveTime) (*UpdateAliveTimeResponse, error)

UpdateAliveTime -

func (*Soap) UpdateAliveTimeAndUpdateIsTyping

func (service *Soap) UpdateAliveTimeAndUpdateIsTyping(ctx context.Context, request *UpdateAliveTimeAndUpdateIsTyping) (*UpdateAliveTimeAndUpdateIsTypingResponse, error)

UpdateAliveTimeAndUpdateIsTyping -

func (*Soap) WriteChatMessage

func (service *Soap) WriteChatMessage(ctx context.Context, request *WriteChatMessage) (*WriteChatMessageResponse, error)

WriteChatMessage -

type UpdateAliveTime

type UpdateAliveTime struct {
	XMLName xml.Name `xml:"http://webservices.ci.ccmm.applications.nortel.com UpdateAliveTime"`

	ContactID int64 `xml:"contactID,omitempty"`

	SessionKey string `xml:"sessionKey,omitempty"`
}

UpdateAliveTime -

type UpdateAliveTimeAndUpdateIsTyping

type UpdateAliveTimeAndUpdateIsTyping struct {
	XMLName xml.Name `xml:"http://webservices.ci.ccmm.applications.nortel.com UpdateAliveTimeAndUpdateIsTyping"`

	ContactID int64 `xml:"contactID,omitempty"`

	SessionKey string `xml:"sessionKey,omitempty"`

	IsTyping bool `xml:"isTyping"`
}

UpdateAliveTimeAndUpdateIsTyping -

type UpdateAliveTimeAndUpdateIsTypingResponse

type UpdateAliveTimeAndUpdateIsTypingResponse struct {
	XMLName xml.Name `xml:"http://webservices.ci.ccmm.applications.nortel.com UpdateAliveTimeAndUpdateIsTypingResponse"`

	UpdateAliveTimeAndUpdateIsTypingResult *soap.CIDateTime `xml:"UpdateAliveTimeAndUpdateIsTypingResult,omitempty"`
}

UpdateAliveTimeAndUpdateIsTypingResponse -

type UpdateAliveTimeResponse

type UpdateAliveTimeResponse struct {
	XMLName xml.Name `xml:"http://webservices.ci.ccmm.applications.nortel.com UpdateAliveTimeResponse"`

	UpdateAliveTimeResult *soap.CIDateTime `xml:"UpdateAliveTimeResult,omitempty"`
}

UpdateAliveTimeResponse -

type WriteChatMessage

type WriteChatMessage struct {
	XMLName xml.Name `xml:"http://webservices.ci.ccmm.applications.nortel.com WriteChatMessage"`

	ContactID int64 `xml:"contactID,omitempty"`

	Message string `xml:"message,omitempty"`

	HiddenMessage string `xml:"hiddenMessage,omitempty"`

	ChatMessageType *CIChatMessageType `xml:"chatMessageType,omitempty"`

	SessionKey string `xml:"sessionKey,omitempty"`
}

WriteChatMessage -

type WriteChatMessageResponse

type WriteChatMessageResponse struct {
	XMLName xml.Name `xml:"http://webservices.ci.ccmm.applications.nortel.com WriteChatMessageResponse"`

	WriteChatMessageResult int64 `xml:"WriteChatMessageResult,omitempty"`
}

WriteChatMessageResponse -

Jump to

Keyboard shortcuts

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