CIUtilityWs

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 AdministratorLogin

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

	Username string `xml:"username,omitempty"`

	Password string `xml:"password,omitempty"`
}

type AdministratorLoginResponse

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

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

type AdministratorLogoff

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

	Username string `xml:"username,omitempty"`
}

type AdministratorLogoffResponse

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

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

type AnonymousLoginResult

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

	SessionKey string `xml:"SessionKey,omitempty"`

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

type AnonymousSessionKeyResult

type AnonymousSessionKeyResult struct {
	SessionKey  string `xml:"SessionKey,omitempty"`
	AnonymousID string `xml:"AnonymousID,omitempty"`
}

AnonymousSessionKeyResult -

type ArrayOfCIAddressReadType

type ArrayOfCIAddressReadType struct {
	CIAddressReadType []*CIAddressReadType `xml:"CIAddressReadType"`
}

type ArrayOfCICustomFieldReadType

type ArrayOfCICustomFieldReadType struct {
	CICustomFieldReadType []*CICustomFieldReadType `xml:"CICustomFieldReadType,omitempty"`
}

type ArrayOfCIEmailAddressReadType

type ArrayOfCIEmailAddressReadType struct {
	CIEmailAddressReadType []*CIEmailAddressReadType `xml:"CIEmailAddressReadType,omitempty"`
}

type ArrayOfCIPhoneNumberReadType

type ArrayOfCIPhoneNumberReadType struct {
	CIPhoneNumberReadType []*CIPhoneNumberReadType `xml:"CIPhoneNumberReadType,omitempty"`
}

type CIAddressReadType

type CIAddressReadType struct {
	ID int64 `xml:"id,omitempty"`

	Line1 string `xml:"line1,omitempty"`

	Line2 string `xml:"line2,omitempty"`

	Line3 string `xml:"line3,omitempty"`

	Line4 string `xml:"line4,omitempty"`

	Line5 string `xml:"line5,omitempty"`

	Zipcode string `xml:"zipcode,omitempty"`

	Country string `xml:"country,omitempty"`

	DefaultAddress bool `xml:"defaultAddress,omitempty"`
}

type CICustomFieldReadType

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

	ID int64 `xml:"id,omitempty"`

	Name string `xml:"name,omitempty"`

	Text string `xml:"text,omitempty"`

	IsTextVisible bool `xml:"isTextVisible,omitempty"`
}

type CICustomerReadType

type CICustomerReadType struct {
	ID int64 `xml:"id,omitempty"`

	Title string `xml:"title,omitempty"`

	FirstName string `xml:"firstName,omitempty"`

	LastName string `xml:"lastName,omitempty"`

	Username string `xml:"username,omitempty"`

	RegisterDate *soap.CIDateTime `xml:"registerDate"`

	AddressList *ArrayOfCIAddressReadType `xml:"addressList"`

	PhoneNumberList *ArrayOfCIPhoneNumberReadType `xml:"phoneNumberList"`

	EmailAddressList *ArrayOfCIEmailAddressReadType `xml:"emailAddressList"`

	CustomFieldList *ArrayOfCICustomFieldReadType `xml:"customFieldList"`

	DefaultAddress *CIAddressReadType `xml:"defaultAddress"`

	DefaultPhoneNumber *CIPhoneNumberReadType `xml:"defaultPhoneNumber"`

	DefaultEmailAddress *CIEmailAddressReadType `xml:"defaultEmailAddress"`
}

type CIEmailAddressReadType

type CIEmailAddressReadType struct {
	ID int64 `xml:"id,omitempty"`

	EmailAddress string `xml:"emailAddress,omitempty"`

	DefaultEmailAddress bool `xml:"defaultEmailAddress,omitempty"`
}

type CIPhoneNumberReadType

type CIPhoneNumberReadType struct {
	ID int64 `xml:"id,omitempty"`

	InternationalCode string `xml:"internationalCode,omitempty"`

	AreaCode string `xml:"areaCode,omitempty"`

	Number string `xml:"number,omitempty"`

	DoNotCall bool `xml:"doNotCall,omitempty"`

	DefaultPhoneNumber bool `xml:"defaultPhoneNumber,omitempty"`

	PhoneNumberType *CIPhoneNumberType `xml:"phoneNumberType,omitempty"`
}

type CIPhoneNumberType

type CIPhoneNumberType string
const (
	CIPhoneNumberTypeUnknown CIPhoneNumberType = "Unknown"

	CIPhoneNumberTypeHome CIPhoneNumberType = "Home"

	CIPhoneNumberTypeBusiness CIPhoneNumberType = "Business"

	CIPhoneNumberTypeFax CIPhoneNumberType = "Fax"

	CIPhoneNumberTypeMobile CIPhoneNumberType = "Mobile"

	CIPhoneNumberTypeOther CIPhoneNumberType = "Other"

	CIPhoneNumberTypeUnspecified CIPhoneNumberType = "Unspecified"
)

type CITimeStamp

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

	Day int32 `xml:"day,omitempty"`

	Month int32 `xml:"month,omitempty"`

	Year int32 `xml:"year,omitempty"`

	Hour int32 `xml:"hour,omitempty"`

	Minute int32 `xml:"minute,omitempty"`

	Second int32 `xml:"second,omitempty"`

	UTCOffsetMins int32 `xml:"UTCOffsetMins,omitempty"`
}

type CustomerEndSession

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

	Username string `xml:"username,omitempty"`

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

type CustomerEndSessionResponse

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

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

type CustomerLogin

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

	Username string `xml:"username,omitempty"`

	Password string `xml:"password,omitempty"`
}

CustomerLogin -

type CustomerLoginResponse

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

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

type CustomerLogoff

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

	Username string `xml:"username,omitempty"`
}

type CustomerLogoffByContactID

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

	Username string `xml:"username,omitempty"`

	ContactID int64 `xml:"ContactId,omitempty"`

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

type CustomerLogoffByContactIDResponse

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

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

type CustomerLogoffResponse

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

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

type ExtendedCustomerLogin

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

	Username string `xml:"username,omitempty"`

	ExLoginPassword string `xml:"exLoginPassword,omitempty"`
}

type ExtendedCustomerLoginResponse

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

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

type GetAndUpdateAnonymousCustomerID

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

	LoginResult *AnonymousLoginResult //`xml:"LoginResult,omitempty"`

	EmailAddress string `xml:"EmailAddress,omitempty"`

	PhoneNumber string `xml:"PhoneNumber,omitempty"`

	ThisCustomer *CICustomerReadType `xml:"ThisCustomer"`
}

type GetAndUpdateAnonymousCustomerIDResponse

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

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

type GetAnonymousCustomerID

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

	LoginResult *AnonymousLoginResult `xml:"LoginResult,omitempty"`

	EmailAddress string `xml:"EmailAddress,omitempty"`

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

type GetAnonymousCustomerIDResponse

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

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

type GetAnonymousSessionKey

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

type GetAnonymousSessionKeyResponse

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

	GetAnonymousSessionKeyResult *AnonymousSessionKeyResult `xml:"GetAnonymousSessionKeyResult,omitempty"`
}

GetAnonymousSessionKeyResponse -

type GetServerRAWTime

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

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

type GetServerRAWTimeResponse

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

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

type GetServerTime

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

type GetServerTimeResponse

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

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

type GetServerUTCTime

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

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

type GetServerUTCTimeResponse

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

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

type GetTotalQueued

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

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

type GetTotalQueuedResponse

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

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

type GetTotalQueuedToSkillset

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

	SessionKey string `xml:"sessionKey,omitempty"`

	SkillsetID int64 `xml:"skillsetID,omitempty"`
}

type GetTotalQueuedToSkillsetResponse

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

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

type IsContactCentreClosed

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

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

type IsContactCentreClosedResponse

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

	IsContactCentreClosedResult bool `xml:"IsContactCentreClosedResult,omitempty"`
}

type MillisecondsToTimeStamp

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

	Milliseconds int64 `xml:"milliseconds,omitempty"`

	UTCOffsetMins int32 `xml:"UTCOffsetMins,omitempty"`
}

type MillisecondsToTimeStampResponse

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

	MillisecondsToTimeStampResult *CITimeStamp `xml:"MillisecondsToTimeStampResult,omitempty"`
}

type Soap

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

func NewSoap

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

NewSoap -

func (*Soap) AdministratorLogin

func (service *Soap) AdministratorLogin(ctx context.Context, request *AdministratorLogin) (*AdministratorLoginResponse, error)

func (*Soap) AdministratorLogoff

func (service *Soap) AdministratorLogoff(ctx context.Context, request *AdministratorLogoff) (*AdministratorLogoffResponse, error)

func (*Soap) CustomerEndSession

func (service *Soap) CustomerEndSession(ctx context.Context, request *CustomerEndSession) (*CustomerEndSessionResponse, error)

func (*Soap) CustomerLogin

func (service *Soap) CustomerLogin(ctx context.Context, request *CustomerLogin) (*CustomerLoginResponse, error)

func (*Soap) CustomerLogoff

func (service *Soap) CustomerLogoff(ctx context.Context, request *CustomerLogoff) (*CustomerLogoffResponse, error)

func (*Soap) CustomerLogoffByContactID

func (service *Soap) CustomerLogoffByContactID(ctx context.Context, request *CustomerLogoffByContactID) (*CustomerLogoffByContactIDResponse, error)

func (*Soap) ExtendedCustomerLogin

func (service *Soap) ExtendedCustomerLogin(ctx context.Context, request *ExtendedCustomerLogin) (*ExtendedCustomerLoginResponse, error)

func (*Soap) GetAndUpdateAnonymousCustomerID

func (service *Soap) GetAndUpdateAnonymousCustomerID(ctx context.Context, request *GetAndUpdateAnonymousCustomerID) (*GetAndUpdateAnonymousCustomerIDResponse, error)

func (*Soap) GetAnonymousCustomerID

func (service *Soap) GetAnonymousCustomerID(ctx context.Context, request *GetAnonymousCustomerID) (*GetAnonymousCustomerIDResponse, error)

func (*Soap) GetAnonymousSessionKey

func (service *Soap) GetAnonymousSessionKey(ctx context.Context, request *GetAnonymousSessionKey) (*GetAnonymousSessionKeyResponse, error)

func (*Soap) GetServerRAWTime

func (service *Soap) GetServerRAWTime(ctx context.Context, request *GetServerRAWTime) (*GetServerRAWTimeResponse, error)

func (*Soap) GetServerTime

func (service *Soap) GetServerTime(ctx context.Context, request *GetServerTime) (*GetServerTimeResponse, error)

func (*Soap) GetServerUTCTime

func (service *Soap) GetServerUTCTime(ctx context.Context, request *GetServerUTCTime) (*GetServerUTCTimeResponse, error)

func (*Soap) GetTotalQueued

func (service *Soap) GetTotalQueued(ctx context.Context, request *GetTotalQueued) (*GetTotalQueuedResponse, error)

func (*Soap) GetTotalQueuedToSkillset

func (service *Soap) GetTotalQueuedToSkillset(ctx context.Context, request *GetTotalQueuedToSkillset) (*GetTotalQueuedToSkillsetResponse, error)

func (*Soap) IsContactCentreClosed

func (service *Soap) IsContactCentreClosed(ctx context.Context, request *IsContactCentreClosed) (*IsContactCentreClosedResponse, error)

func (*Soap) MillisecondsToTimeStamp

func (service *Soap) MillisecondsToTimeStamp(ctx context.Context, request *MillisecondsToTimeStamp) (*MillisecondsToTimeStampResponse, error)

func (*Soap) SetHeader

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

func (*Soap) TimeStampToMilliseconds

func (service *Soap) TimeStampToMilliseconds(ctx context.Context, request *TimeStampToMilliseconds) (*TimeStampToMillisecondsResponse, error)

type TimeStampToMilliseconds

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

	Timestamp *CITimeStamp `xml:"timestamp,omitempty"`
}

type TimeStampToMillisecondsResponse

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

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

Jump to

Keyboard shortcuts

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