billing

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: May 9, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	DetailConfigType_name = map[int32]string{
		0:   "DETAIL_CONFIG_TYPE_UNSPECIFIED",
		1:   "DETAIL_CONFIG_TYPE_NOOP",
		2:   "DETAIL_CONFIG_TYPE_AGENT_SEATS",
		100: "DETAIL_CONFIG_TYPE_AGENT_TEXT_MESSAGE_CHAT",
		101: "DETAIL_CONFIG_TYPE_AGENT_TEXT_MESSAGE_EMAIL_MESSAGE",
		102: "DETAIL_CONFIG_TYPE_AGENT_TEXT_MESSAGE_EMAIL_SIZE",
		103: "DETAIL_CONFIG_TYPE_AGENT_TEXT_MESSAGE_SMS",
		104: "DETAIL_CONFIG_TYPE_TASK_MESSAGE_SENT_EMAIL_MESSAGE",
		105: "DETAIL_CONFIG_TYPE_TASK_MESSAGE_SENT_EMAIL_SIZE",
		106: "DETAIL_CONFIG_TYPE_TASK_MESSAGE_SENT_SMS",
		107: "DETAIL_CONFIG_TYPE_CONNECTED_INBOX_POLL",
		108: "DETAIL_CONFIG_TYPE_MANAGER_TEXT_MESSAGE_CHAT",
		109: "DETAIL_CONFIG_TYPE_MANAGER_TEXT_MESSAGE_EMAIL_MESSAGE",
		110: "DETAIL_CONFIG_TYPE_MANAGER_TEXT_MESSAGE_EMAIL_SIZE",
		111: "DETAIL_CONFIG_TYPE_MANAGER_TEXT_MESSAGE_SMS",
		112: "DETAIL_CONFIG_TYPE_CUSTOMER_TEXT_MESSAGE_CHAT",
		113: "DETAIL_CONFIG_TYPE_CUSTOMER_TEXT_MESSAGE_EMAIL_MESSAGE",
		114: "DETAIL_CONFIG_TYPE_CUSTOMER_TEXT_MESSAGE_EMAIL_SIZE",
		115: "DETAIL_CONFIG_TYPE_CUSTOMER_TEXT_MESSAGE_SMS",
		116: "DETAIL_CONFIG_TYPE_AGENT_TEXT_MESSAGE_CHAT_SIZE",
		117: "DETAIL_CONFIG_TYPE_MANAGER_TEXT_MESSAGE_CHAT_SIZE",
		118: "DETAIL_CONFIG_TYPE_CUSTOMER_TEXT_MESSAGE_CHAT_SIZE",
		119: "DETAIL_CONFIG_TYPE_CONNECTED_INBOX_CREATED",
		120: "DETAIL_CONFIG_TYPE_AGENT_TEXT_MESSAGE_SMS_SIZE",
		121: "DETAIL_CONFIG_TYPE_MANAGER_TEXT_MESSAGE_SMS_SIZE",
		122: "DETAIL_CONFIG_TYPE_CUSTOMER_TEXT_MESSAGE_SMS_SIZE",
		123: "DETAIL_CONFIG_TYPE_TASK_MESSAGE_SENT_SMS_SIZE",
		124: "DETAIL_CONFIG_TYPE_AGENT_CHAT_MESSAGE_UNITS",
		125: "DETAIL_CONFIG_TYPE_AGENT_EMAIL_MESSAGE_UNITS",
		126: "DETAIL_CONFIG_TYPE_AGENT_SMS_MESSAGE_UNITS",
		127: "DETAIL_CONFIG_TYPE_MANAGER_CHAT_MESSAGE_UNITS",
		128: "DETAIL_CONFIG_TYPE_MANAGER_EMAIL_MESSAGE_UNITS",
		129: "DETAIL_CONFIG_TYPE_MANAGER_SMS_MESSAGE_UNITS",
		130: "DETAIL_CONFIG_TYPE_CUSTOMER_CHAT_MESSAGE_UNITS",
		131: "DETAIL_CONFIG_TYPE_CUSTOMER_EMAIL_MESSAGE_UNITS",
		132: "DETAIL_CONFIG_TYPE_CUSTOMER_SMS_MESSAGE_UNITS",
		133: "DETAIL_CONFIG_TYPE_SYSTEM_CHAT_MESSAGE_UNITS",
		134: "DETAIL_CONFIG_TYPE_SYSTEM_EMAIL_MESSAGE_UNITS",
		135: "DETAIL_CONFIG_TYPE_SYSTEM_SMS_MESSAGE_UNITS",
		200: "BillingDetailConfigType_COMPLIANCE_RND_QUERY",
		201: "BillingDetailConfigType_COMPLIANCE_RND_QUERY_CACHED",
	}
	DetailConfigType_value = map[string]int32{
		"DETAIL_CONFIG_TYPE_UNSPECIFIED":                         0,
		"DETAIL_CONFIG_TYPE_NOOP":                                1,
		"DETAIL_CONFIG_TYPE_AGENT_SEATS":                         2,
		"DETAIL_CONFIG_TYPE_AGENT_TEXT_MESSAGE_CHAT":             100,
		"DETAIL_CONFIG_TYPE_AGENT_TEXT_MESSAGE_EMAIL_MESSAGE":    101,
		"DETAIL_CONFIG_TYPE_AGENT_TEXT_MESSAGE_EMAIL_SIZE":       102,
		"DETAIL_CONFIG_TYPE_AGENT_TEXT_MESSAGE_SMS":              103,
		"DETAIL_CONFIG_TYPE_TASK_MESSAGE_SENT_EMAIL_MESSAGE":     104,
		"DETAIL_CONFIG_TYPE_TASK_MESSAGE_SENT_EMAIL_SIZE":        105,
		"DETAIL_CONFIG_TYPE_TASK_MESSAGE_SENT_SMS":               106,
		"DETAIL_CONFIG_TYPE_CONNECTED_INBOX_POLL":                107,
		"DETAIL_CONFIG_TYPE_MANAGER_TEXT_MESSAGE_CHAT":           108,
		"DETAIL_CONFIG_TYPE_MANAGER_TEXT_MESSAGE_EMAIL_MESSAGE":  109,
		"DETAIL_CONFIG_TYPE_MANAGER_TEXT_MESSAGE_EMAIL_SIZE":     110,
		"DETAIL_CONFIG_TYPE_MANAGER_TEXT_MESSAGE_SMS":            111,
		"DETAIL_CONFIG_TYPE_CUSTOMER_TEXT_MESSAGE_CHAT":          112,
		"DETAIL_CONFIG_TYPE_CUSTOMER_TEXT_MESSAGE_EMAIL_MESSAGE": 113,
		"DETAIL_CONFIG_TYPE_CUSTOMER_TEXT_MESSAGE_EMAIL_SIZE":    114,
		"DETAIL_CONFIG_TYPE_CUSTOMER_TEXT_MESSAGE_SMS":           115,
		"DETAIL_CONFIG_TYPE_AGENT_TEXT_MESSAGE_CHAT_SIZE":        116,
		"DETAIL_CONFIG_TYPE_MANAGER_TEXT_MESSAGE_CHAT_SIZE":      117,
		"DETAIL_CONFIG_TYPE_CUSTOMER_TEXT_MESSAGE_CHAT_SIZE":     118,
		"DETAIL_CONFIG_TYPE_CONNECTED_INBOX_CREATED":             119,
		"DETAIL_CONFIG_TYPE_AGENT_TEXT_MESSAGE_SMS_SIZE":         120,
		"DETAIL_CONFIG_TYPE_MANAGER_TEXT_MESSAGE_SMS_SIZE":       121,
		"DETAIL_CONFIG_TYPE_CUSTOMER_TEXT_MESSAGE_SMS_SIZE":      122,
		"DETAIL_CONFIG_TYPE_TASK_MESSAGE_SENT_SMS_SIZE":          123,
		"DETAIL_CONFIG_TYPE_AGENT_CHAT_MESSAGE_UNITS":            124,
		"DETAIL_CONFIG_TYPE_AGENT_EMAIL_MESSAGE_UNITS":           125,
		"DETAIL_CONFIG_TYPE_AGENT_SMS_MESSAGE_UNITS":             126,
		"DETAIL_CONFIG_TYPE_MANAGER_CHAT_MESSAGE_UNITS":          127,
		"DETAIL_CONFIG_TYPE_MANAGER_EMAIL_MESSAGE_UNITS":         128,
		"DETAIL_CONFIG_TYPE_MANAGER_SMS_MESSAGE_UNITS":           129,
		"DETAIL_CONFIG_TYPE_CUSTOMER_CHAT_MESSAGE_UNITS":         130,
		"DETAIL_CONFIG_TYPE_CUSTOMER_EMAIL_MESSAGE_UNITS":        131,
		"DETAIL_CONFIG_TYPE_CUSTOMER_SMS_MESSAGE_UNITS":          132,
		"DETAIL_CONFIG_TYPE_SYSTEM_CHAT_MESSAGE_UNITS":           133,
		"DETAIL_CONFIG_TYPE_SYSTEM_EMAIL_MESSAGE_UNITS":          134,
		"DETAIL_CONFIG_TYPE_SYSTEM_SMS_MESSAGE_UNITS":            135,
		"BillingDetailConfigType_COMPLIANCE_RND_QUERY":           200,
		"BillingDetailConfigType_COMPLIANCE_RND_QUERY_CACHED":    201,
	}
)

Enum value maps for DetailConfigType.

View Source
var (
	Product_name = map[int32]string{
		0:   "PRODUCT_UNSPECIFIED",
		1:   "PRODUCT_OTHER",
		100: "PRODUCT_AGENT_SEATS",
		200: "PRODUCT_EMAILS_SENT",
		201: "PRODUCT_EMAILS_RECEIVED",
		202: "PRODUCT_SMS_SENT",
		203: "PRODUCT_SMS_RECEIVED",
		204: "PRODUCT_CHAT_SENT",
		205: "PRODUCT_CHAT_RECEIVED",
		300: "PRODUCT_OMNI",
		400: "PRODUCT_VANA",
		500: "PRODUCT_COMPLIANCE",
	}
	Product_value = map[string]int32{
		"PRODUCT_UNSPECIFIED":     0,
		"PRODUCT_OTHER":           1,
		"PRODUCT_AGENT_SEATS":     100,
		"PRODUCT_EMAILS_SENT":     200,
		"PRODUCT_EMAILS_RECEIVED": 201,
		"PRODUCT_SMS_SENT":        202,
		"PRODUCT_SMS_RECEIVED":    203,
		"PRODUCT_CHAT_SENT":       204,
		"PRODUCT_CHAT_RECEIVED":   205,
		"PRODUCT_OMNI":            300,
		"PRODUCT_VANA":            400,
		"PRODUCT_COMPLIANCE":      500,
	}
)

Enum value maps for Product.

View Source
var File_api_commons_billing_detail_proto protoreflect.FileDescriptor
View Source
var File_api_commons_billing_invoice_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Detail

type Detail struct {

	// billing detail identifier
	BillingDetailSid int64 `protobuf:"varint,1,opt,name=billing_detail_sid,json=billingDetailSid,proto3" json:"billing_detail_sid,omitempty"`
	// event type this billing detail is associated with
	EventType audit.EventType `protobuf:"varint,2,opt,name=event_type,json=eventType,proto3,enum=api.commons.audit.EventType" json:"event_type,omitempty"`
	// the type of configuration for this detail
	ConfigType DetailConfigType `` /* 134-byte string literal not displayed */
	// the configuration details for this detail
	Config *DetailConfig `protobuf:"bytes,4,opt,name=config,proto3" json:"config,omitempty"`
	// the time the detail was created
	DateCreated *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=date_created,json=dateCreated,proto3" json:"date_created,omitempty"`
	// the time the detail was last modified
	DateModified *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=date_modified,json=dateModified,proto3" json:"date_modified,omitempty"`
	// the time the detail was deleted (if applicable)
	DeletedOn *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=deleted_on,json=deletedOn,proto3" json:"deleted_on,omitempty"`
	// contains filtered or unexported fields
}

Detail - all the data required to configure a rating module

func (*Detail) Descriptor deprecated

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

Deprecated: Use Detail.ProtoReflect.Descriptor instead.

func (*Detail) GetBillingDetailSid

func (x *Detail) GetBillingDetailSid() int64

func (*Detail) GetConfig

func (x *Detail) GetConfig() *DetailConfig

func (*Detail) GetConfigType

func (x *Detail) GetConfigType() DetailConfigType

func (*Detail) GetDateCreated

func (x *Detail) GetDateCreated() *timestamppb.Timestamp

func (*Detail) GetDateModified

func (x *Detail) GetDateModified() *timestamppb.Timestamp

func (*Detail) GetDeletedOn

func (x *Detail) GetDeletedOn() *timestamppb.Timestamp

func (*Detail) GetEventType

func (x *Detail) GetEventType() audit.EventType

func (*Detail) ProtoMessage

func (*Detail) ProtoMessage()

func (*Detail) ProtoReflect

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

func (*Detail) Reset

func (x *Detail) Reset()

func (*Detail) String

func (x *Detail) String() string

type DetailConfig

type DetailConfig struct {

	// Types that are assignable to Config:
	//
	//	*DetailConfig_AgentSeatsConfig
	//	*DetailConfig_AgentTextMessageChatConfig
	//	*DetailConfig_AgentTextMessageEmailMessageConfig
	//	*DetailConfig_AgentTextMessageEmailSizeConfig
	//	*DetailConfig_AgentTextMessageSmsConfig
	//	*DetailConfig_TaskMessageSentEmailMessageConfig
	//	*DetailConfig_TaskMessageSentEmailSizeConfig
	//	*DetailConfig_TaskMessageSentSmsConfig
	//	*DetailConfig_ConnectedInboxPollConfig
	//	*DetailConfig_ManagerTextMessageChatConfig
	//	*DetailConfig_ManagerTextMessageEmailMessageConfig
	//	*DetailConfig_ManagerTextMessageEmailSizeConfig
	//	*DetailConfig_ManagerTextMessageSmsConfig
	//	*DetailConfig_CustomerTextMessageChatConfig
	//	*DetailConfig_CustomerTextMessageEmailMessageConfig
	//	*DetailConfig_CustomerTextMessageEmailSizeConfig
	//	*DetailConfig_CustomerTextMessageSmsConfig
	//	*DetailConfig_AgentTextMessageChatSizeConfig
	//	*DetailConfig_ManagerTextMessageChatSizeConfig
	//	*DetailConfig_CustomerTextMessageChatSizeConfig
	//	*DetailConfig_ConnectedInboxCreatedConfig
	//	*DetailConfig_AgentTextMessageSmsSizeConfig
	//	*DetailConfig_ManagerTextMessageSmsSizeConfig
	//	*DetailConfig_CustomerTextMessageSmsSizeConfig
	//	*DetailConfig_TaskMessageSentSmsSizeConfig
	//	*DetailConfig_AgentChatMessageUnitsConfig
	//	*DetailConfig_AgentEmailMessageUnitsConfig
	//	*DetailConfig_AgentSmsMessageUnitsConfig
	//	*DetailConfig_ManagerChatMessageUnitsConfig
	//	*DetailConfig_ManagerEmailMessageUnitsConfig
	//	*DetailConfig_ManagerSmsMessageUnitsConfig
	//	*DetailConfig_CustomerChatMessageUnitsConfig
	//	*DetailConfig_CustomerEmailMessageUnitsConfig
	//	*DetailConfig_CustomerSmsMessageUnitsConfig
	//	*DetailConfig_SystemChatMessageUnitsConfig
	//	*DetailConfig_SystemEmailMessageUnitsConfig
	//	*DetailConfig_SystemSmsMessageUnitsConfig
	//	*DetailConfig_ComplianceRndQueryConfig
	//	*DetailConfig_ComplianceRndQueryCachedConfig
	Config isDetailConfig_Config `protobuf_oneof:"config"`
	// contains filtered or unexported fields
}

DetailConfig - contains the data specific to the rating module, so that it may rate events correctly

func (*DetailConfig) Descriptor deprecated

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

Deprecated: Use DetailConfig.ProtoReflect.Descriptor instead.

func (*DetailConfig) GetAgentChatMessageUnitsConfig

func (x *DetailConfig) GetAgentChatMessageUnitsConfig() *modules.BasicConfig

func (*DetailConfig) GetAgentEmailMessageUnitsConfig

func (x *DetailConfig) GetAgentEmailMessageUnitsConfig() *modules.BasicConfig

func (*DetailConfig) GetAgentSeatsConfig

func (x *DetailConfig) GetAgentSeatsConfig() *modules.BasicConfig

func (*DetailConfig) GetAgentSmsMessageUnitsConfig

func (x *DetailConfig) GetAgentSmsMessageUnitsConfig() *modules.BasicConfig

func (*DetailConfig) GetAgentTextMessageChatConfig

func (x *DetailConfig) GetAgentTextMessageChatConfig() *modules.BasicConfig

func (*DetailConfig) GetAgentTextMessageChatSizeConfig

func (x *DetailConfig) GetAgentTextMessageChatSizeConfig() *modules.BasicAmountConfig

func (*DetailConfig) GetAgentTextMessageEmailMessageConfig

func (x *DetailConfig) GetAgentTextMessageEmailMessageConfig() *modules.BasicConfig

func (*DetailConfig) GetAgentTextMessageEmailSizeConfig

func (x *DetailConfig) GetAgentTextMessageEmailSizeConfig() *modules.BasicAmountConfig

func (*DetailConfig) GetAgentTextMessageSmsConfig

func (x *DetailConfig) GetAgentTextMessageSmsConfig() *modules.BasicConfig

func (*DetailConfig) GetAgentTextMessageSmsSizeConfig

func (x *DetailConfig) GetAgentTextMessageSmsSizeConfig() *modules.BasicAmountConfig

func (*DetailConfig) GetComplianceRndQueryCachedConfig

func (x *DetailConfig) GetComplianceRndQueryCachedConfig() *modules.BasicConfig

func (*DetailConfig) GetComplianceRndQueryConfig

func (x *DetailConfig) GetComplianceRndQueryConfig() *modules.BasicConfig

func (*DetailConfig) GetConfig

func (m *DetailConfig) GetConfig() isDetailConfig_Config

func (*DetailConfig) GetConnectedInboxCreatedConfig

func (x *DetailConfig) GetConnectedInboxCreatedConfig() *modules.BasicConfig

func (*DetailConfig) GetConnectedInboxPollConfig

func (x *DetailConfig) GetConnectedInboxPollConfig() *modules.BasicConfig

func (*DetailConfig) GetCustomerChatMessageUnitsConfig

func (x *DetailConfig) GetCustomerChatMessageUnitsConfig() *modules.BasicConfig

func (*DetailConfig) GetCustomerEmailMessageUnitsConfig

func (x *DetailConfig) GetCustomerEmailMessageUnitsConfig() *modules.BasicConfig

func (*DetailConfig) GetCustomerSmsMessageUnitsConfig

func (x *DetailConfig) GetCustomerSmsMessageUnitsConfig() *modules.BasicConfig

func (*DetailConfig) GetCustomerTextMessageChatConfig

func (x *DetailConfig) GetCustomerTextMessageChatConfig() *modules.BasicConfig

func (*DetailConfig) GetCustomerTextMessageChatSizeConfig

func (x *DetailConfig) GetCustomerTextMessageChatSizeConfig() *modules.BasicAmountConfig

func (*DetailConfig) GetCustomerTextMessageEmailMessageConfig

func (x *DetailConfig) GetCustomerTextMessageEmailMessageConfig() *modules.BasicConfig

func (*DetailConfig) GetCustomerTextMessageEmailSizeConfig

func (x *DetailConfig) GetCustomerTextMessageEmailSizeConfig() *modules.BasicAmountConfig

func (*DetailConfig) GetCustomerTextMessageSmsConfig

func (x *DetailConfig) GetCustomerTextMessageSmsConfig() *modules.BasicConfig

func (*DetailConfig) GetCustomerTextMessageSmsSizeConfig

func (x *DetailConfig) GetCustomerTextMessageSmsSizeConfig() *modules.BasicAmountConfig

func (*DetailConfig) GetManagerChatMessageUnitsConfig

func (x *DetailConfig) GetManagerChatMessageUnitsConfig() *modules.BasicConfig

func (*DetailConfig) GetManagerEmailMessageUnitsConfig

func (x *DetailConfig) GetManagerEmailMessageUnitsConfig() *modules.BasicConfig

func (*DetailConfig) GetManagerSmsMessageUnitsConfig

func (x *DetailConfig) GetManagerSmsMessageUnitsConfig() *modules.BasicConfig

func (*DetailConfig) GetManagerTextMessageChatConfig

func (x *DetailConfig) GetManagerTextMessageChatConfig() *modules.BasicConfig

func (*DetailConfig) GetManagerTextMessageChatSizeConfig

func (x *DetailConfig) GetManagerTextMessageChatSizeConfig() *modules.BasicAmountConfig

func (*DetailConfig) GetManagerTextMessageEmailMessageConfig

func (x *DetailConfig) GetManagerTextMessageEmailMessageConfig() *modules.BasicConfig

func (*DetailConfig) GetManagerTextMessageEmailSizeConfig

func (x *DetailConfig) GetManagerTextMessageEmailSizeConfig() *modules.BasicAmountConfig

func (*DetailConfig) GetManagerTextMessageSmsConfig

func (x *DetailConfig) GetManagerTextMessageSmsConfig() *modules.BasicConfig

func (*DetailConfig) GetManagerTextMessageSmsSizeConfig

func (x *DetailConfig) GetManagerTextMessageSmsSizeConfig() *modules.BasicAmountConfig

func (*DetailConfig) GetSystemChatMessageUnitsConfig

func (x *DetailConfig) GetSystemChatMessageUnitsConfig() *modules.BasicConfig

func (*DetailConfig) GetSystemEmailMessageUnitsConfig

func (x *DetailConfig) GetSystemEmailMessageUnitsConfig() *modules.BasicConfig

func (*DetailConfig) GetSystemSmsMessageUnitsConfig

func (x *DetailConfig) GetSystemSmsMessageUnitsConfig() *modules.BasicConfig

func (*DetailConfig) GetTaskMessageSentEmailMessageConfig

func (x *DetailConfig) GetTaskMessageSentEmailMessageConfig() *modules.BasicConfig

func (*DetailConfig) GetTaskMessageSentEmailSizeConfig

func (x *DetailConfig) GetTaskMessageSentEmailSizeConfig() *modules.BasicAmountConfig

func (*DetailConfig) GetTaskMessageSentSmsConfig

func (x *DetailConfig) GetTaskMessageSentSmsConfig() *modules.BasicConfig

func (*DetailConfig) GetTaskMessageSentSmsSizeConfig

func (x *DetailConfig) GetTaskMessageSentSmsSizeConfig() *modules.BasicAmountConfig

func (*DetailConfig) ProtoMessage

func (*DetailConfig) ProtoMessage()

func (*DetailConfig) ProtoReflect

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

func (*DetailConfig) Reset

func (x *DetailConfig) Reset()

func (*DetailConfig) String

func (x *DetailConfig) String() string

type DetailConfigType

type DetailConfigType int32

DetailConfigType - the types of billing detail configurations available

const (
	DetailConfigType_DETAIL_CONFIG_TYPE_UNSPECIFIED DetailConfigType = 0
	DetailConfigType_DETAIL_CONFIG_TYPE_NOOP        DetailConfigType = 1
	DetailConfigType_DETAIL_CONFIG_TYPE_AGENT_SEATS DetailConfigType = 2
	// omni config types
	DetailConfigType_DETAIL_CONFIG_TYPE_AGENT_TEXT_MESSAGE_CHAT             DetailConfigType = 100
	DetailConfigType_DETAIL_CONFIG_TYPE_AGENT_TEXT_MESSAGE_EMAIL_MESSAGE    DetailConfigType = 101
	DetailConfigType_DETAIL_CONFIG_TYPE_AGENT_TEXT_MESSAGE_EMAIL_SIZE       DetailConfigType = 102
	DetailConfigType_DETAIL_CONFIG_TYPE_AGENT_TEXT_MESSAGE_SMS              DetailConfigType = 103
	DetailConfigType_DETAIL_CONFIG_TYPE_TASK_MESSAGE_SENT_EMAIL_MESSAGE     DetailConfigType = 104
	DetailConfigType_DETAIL_CONFIG_TYPE_TASK_MESSAGE_SENT_EMAIL_SIZE        DetailConfigType = 105
	DetailConfigType_DETAIL_CONFIG_TYPE_TASK_MESSAGE_SENT_SMS               DetailConfigType = 106
	DetailConfigType_DETAIL_CONFIG_TYPE_CONNECTED_INBOX_POLL                DetailConfigType = 107
	DetailConfigType_DETAIL_CONFIG_TYPE_MANAGER_TEXT_MESSAGE_CHAT           DetailConfigType = 108
	DetailConfigType_DETAIL_CONFIG_TYPE_MANAGER_TEXT_MESSAGE_EMAIL_MESSAGE  DetailConfigType = 109
	DetailConfigType_DETAIL_CONFIG_TYPE_MANAGER_TEXT_MESSAGE_EMAIL_SIZE     DetailConfigType = 110
	DetailConfigType_DETAIL_CONFIG_TYPE_MANAGER_TEXT_MESSAGE_SMS            DetailConfigType = 111
	DetailConfigType_DETAIL_CONFIG_TYPE_CUSTOMER_TEXT_MESSAGE_CHAT          DetailConfigType = 112
	DetailConfigType_DETAIL_CONFIG_TYPE_CUSTOMER_TEXT_MESSAGE_EMAIL_MESSAGE DetailConfigType = 113
	DetailConfigType_DETAIL_CONFIG_TYPE_CUSTOMER_TEXT_MESSAGE_EMAIL_SIZE    DetailConfigType = 114
	DetailConfigType_DETAIL_CONFIG_TYPE_CUSTOMER_TEXT_MESSAGE_SMS           DetailConfigType = 115
	DetailConfigType_DETAIL_CONFIG_TYPE_AGENT_TEXT_MESSAGE_CHAT_SIZE        DetailConfigType = 116
	DetailConfigType_DETAIL_CONFIG_TYPE_MANAGER_TEXT_MESSAGE_CHAT_SIZE      DetailConfigType = 117
	DetailConfigType_DETAIL_CONFIG_TYPE_CUSTOMER_TEXT_MESSAGE_CHAT_SIZE     DetailConfigType = 118
	DetailConfigType_DETAIL_CONFIG_TYPE_CONNECTED_INBOX_CREATED             DetailConfigType = 119
	DetailConfigType_DETAIL_CONFIG_TYPE_AGENT_TEXT_MESSAGE_SMS_SIZE         DetailConfigType = 120
	DetailConfigType_DETAIL_CONFIG_TYPE_MANAGER_TEXT_MESSAGE_SMS_SIZE       DetailConfigType = 121
	DetailConfigType_DETAIL_CONFIG_TYPE_CUSTOMER_TEXT_MESSAGE_SMS_SIZE      DetailConfigType = 122
	DetailConfigType_DETAIL_CONFIG_TYPE_TASK_MESSAGE_SENT_SMS_SIZE          DetailConfigType = 123
	DetailConfigType_DETAIL_CONFIG_TYPE_AGENT_CHAT_MESSAGE_UNITS            DetailConfigType = 124
	DetailConfigType_DETAIL_CONFIG_TYPE_AGENT_EMAIL_MESSAGE_UNITS           DetailConfigType = 125
	DetailConfigType_DETAIL_CONFIG_TYPE_AGENT_SMS_MESSAGE_UNITS             DetailConfigType = 126
	DetailConfigType_DETAIL_CONFIG_TYPE_MANAGER_CHAT_MESSAGE_UNITS          DetailConfigType = 127
	DetailConfigType_DETAIL_CONFIG_TYPE_MANAGER_EMAIL_MESSAGE_UNITS         DetailConfigType = 128
	DetailConfigType_DETAIL_CONFIG_TYPE_MANAGER_SMS_MESSAGE_UNITS           DetailConfigType = 129
	DetailConfigType_DETAIL_CONFIG_TYPE_CUSTOMER_CHAT_MESSAGE_UNITS         DetailConfigType = 130
	DetailConfigType_DETAIL_CONFIG_TYPE_CUSTOMER_EMAIL_MESSAGE_UNITS        DetailConfigType = 131
	DetailConfigType_DETAIL_CONFIG_TYPE_CUSTOMER_SMS_MESSAGE_UNITS          DetailConfigType = 132
	DetailConfigType_DETAIL_CONFIG_TYPE_SYSTEM_CHAT_MESSAGE_UNITS           DetailConfigType = 133
	DetailConfigType_DETAIL_CONFIG_TYPE_SYSTEM_EMAIL_MESSAGE_UNITS          DetailConfigType = 134
	DetailConfigType_DETAIL_CONFIG_TYPE_SYSTEM_SMS_MESSAGE_UNITS            DetailConfigType = 135
	// compliance config types
	DetailConfigType_BillingDetailConfigType_COMPLIANCE_RND_QUERY        DetailConfigType = 200
	DetailConfigType_BillingDetailConfigType_COMPLIANCE_RND_QUERY_CACHED DetailConfigType = 201
)

func (DetailConfigType) Descriptor

func (DetailConfigType) Enum

func (DetailConfigType) EnumDescriptor deprecated

func (DetailConfigType) EnumDescriptor() ([]byte, []int)

Deprecated: Use DetailConfigType.Descriptor instead.

func (DetailConfigType) Number

func (DetailConfigType) String

func (x DetailConfigType) String() string

func (DetailConfigType) Type

type DetailConfig_AgentChatMessageUnitsConfig

type DetailConfig_AgentChatMessageUnitsConfig struct {
	AgentChatMessageUnitsConfig *modules.BasicConfig `protobuf:"bytes,124,opt,name=agent_chat_message_units_config,json=agentChatMessageUnitsConfig,proto3,oneof"`
}

type DetailConfig_AgentEmailMessageUnitsConfig

type DetailConfig_AgentEmailMessageUnitsConfig struct {
	AgentEmailMessageUnitsConfig *modules.BasicConfig `protobuf:"bytes,125,opt,name=agent_email_message_units_config,json=agentEmailMessageUnitsConfig,proto3,oneof"`
}

type DetailConfig_AgentSeatsConfig

type DetailConfig_AgentSeatsConfig struct {
	AgentSeatsConfig *modules.BasicConfig `protobuf:"bytes,2,opt,name=agent_seats_config,json=agentSeatsConfig,proto3,oneof"`
}

type DetailConfig_AgentSmsMessageUnitsConfig

type DetailConfig_AgentSmsMessageUnitsConfig struct {
	AgentSmsMessageUnitsConfig *modules.BasicConfig `protobuf:"bytes,126,opt,name=agent_sms_message_units_config,json=agentSmsMessageUnitsConfig,proto3,oneof"`
}

type DetailConfig_AgentTextMessageChatConfig

type DetailConfig_AgentTextMessageChatConfig struct {
	// omni configs
	AgentTextMessageChatConfig *modules.BasicConfig `protobuf:"bytes,100,opt,name=agent_text_message_chat_config,json=agentTextMessageChatConfig,proto3,oneof"`
}

type DetailConfig_AgentTextMessageChatSizeConfig

type DetailConfig_AgentTextMessageChatSizeConfig struct {
	AgentTextMessageChatSizeConfig *modules.BasicAmountConfig `protobuf:"bytes,116,opt,name=agent_text_message_chat_size_config,json=agentTextMessageChatSizeConfig,proto3,oneof"`
}

type DetailConfig_AgentTextMessageEmailMessageConfig

type DetailConfig_AgentTextMessageEmailMessageConfig struct {
	AgentTextMessageEmailMessageConfig *modules.BasicConfig `protobuf:"bytes,101,opt,name=agent_text_message_email_message_config,json=agentTextMessageEmailMessageConfig,proto3,oneof"`
}

type DetailConfig_AgentTextMessageEmailSizeConfig

type DetailConfig_AgentTextMessageEmailSizeConfig struct {
	AgentTextMessageEmailSizeConfig *modules.BasicAmountConfig `protobuf:"bytes,102,opt,name=agent_text_message_email_size_config,json=agentTextMessageEmailSizeConfig,proto3,oneof"`
}

type DetailConfig_AgentTextMessageSmsConfig

type DetailConfig_AgentTextMessageSmsConfig struct {
	AgentTextMessageSmsConfig *modules.BasicConfig `protobuf:"bytes,103,opt,name=agent_text_message_sms_config,json=agentTextMessageSmsConfig,proto3,oneof"`
}

type DetailConfig_AgentTextMessageSmsSizeConfig

type DetailConfig_AgentTextMessageSmsSizeConfig struct {
	AgentTextMessageSmsSizeConfig *modules.BasicAmountConfig `protobuf:"bytes,120,opt,name=agent_text_message_sms_size_config,json=agentTextMessageSmsSizeConfig,proto3,oneof"`
}

type DetailConfig_ComplianceRndQueryCachedConfig

type DetailConfig_ComplianceRndQueryCachedConfig struct {
	ComplianceRndQueryCachedConfig *modules.BasicConfig `protobuf:"bytes,201,opt,name=compliance_rnd_query_cached_config,json=complianceRndQueryCachedConfig,proto3,oneof"`
}

type DetailConfig_ComplianceRndQueryConfig

type DetailConfig_ComplianceRndQueryConfig struct {
	// compliance configs
	ComplianceRndQueryConfig *modules.BasicConfig `protobuf:"bytes,200,opt,name=compliance_rnd_query_config,json=complianceRndQueryConfig,proto3,oneof"`
}

type DetailConfig_ConnectedInboxCreatedConfig

type DetailConfig_ConnectedInboxCreatedConfig struct {
	ConnectedInboxCreatedConfig *modules.BasicConfig `protobuf:"bytes,119,opt,name=connected_inbox_created_config,json=connectedInboxCreatedConfig,proto3,oneof"`
}

type DetailConfig_ConnectedInboxPollConfig

type DetailConfig_ConnectedInboxPollConfig struct {
	ConnectedInboxPollConfig *modules.BasicConfig `protobuf:"bytes,107,opt,name=connected_inbox_poll_config,json=connectedInboxPollConfig,proto3,oneof"`
}

type DetailConfig_CustomerChatMessageUnitsConfig

type DetailConfig_CustomerChatMessageUnitsConfig struct {
	CustomerChatMessageUnitsConfig *modules.BasicConfig `protobuf:"bytes,130,opt,name=customer_chat_message_units_config,json=customerChatMessageUnitsConfig,proto3,oneof"`
}

type DetailConfig_CustomerEmailMessageUnitsConfig

type DetailConfig_CustomerEmailMessageUnitsConfig struct {
	CustomerEmailMessageUnitsConfig *modules.BasicConfig `protobuf:"bytes,131,opt,name=customer_email_message_units_config,json=customerEmailMessageUnitsConfig,proto3,oneof"`
}

type DetailConfig_CustomerSmsMessageUnitsConfig

type DetailConfig_CustomerSmsMessageUnitsConfig struct {
	CustomerSmsMessageUnitsConfig *modules.BasicConfig `protobuf:"bytes,132,opt,name=customer_sms_message_units_config,json=customerSmsMessageUnitsConfig,proto3,oneof"`
}

type DetailConfig_CustomerTextMessageChatConfig

type DetailConfig_CustomerTextMessageChatConfig struct {
	CustomerTextMessageChatConfig *modules.BasicConfig `protobuf:"bytes,112,opt,name=customer_text_message_chat_config,json=customerTextMessageChatConfig,proto3,oneof"`
}

type DetailConfig_CustomerTextMessageChatSizeConfig

type DetailConfig_CustomerTextMessageChatSizeConfig struct {
	CustomerTextMessageChatSizeConfig *modules.BasicAmountConfig `protobuf:"bytes,118,opt,name=customer_text_message_chat_size_config,json=customerTextMessageChatSizeConfig,proto3,oneof"`
}

type DetailConfig_CustomerTextMessageEmailMessageConfig

type DetailConfig_CustomerTextMessageEmailMessageConfig struct {
	CustomerTextMessageEmailMessageConfig *modules.BasicConfig `` /* 128-byte string literal not displayed */
}

type DetailConfig_CustomerTextMessageEmailSizeConfig

type DetailConfig_CustomerTextMessageEmailSizeConfig struct {
	CustomerTextMessageEmailSizeConfig *modules.BasicAmountConfig `protobuf:"bytes,114,opt,name=customer_text_message_email_size_config,json=customerTextMessageEmailSizeConfig,proto3,oneof"`
}

type DetailConfig_CustomerTextMessageSmsConfig

type DetailConfig_CustomerTextMessageSmsConfig struct {
	CustomerTextMessageSmsConfig *modules.BasicConfig `protobuf:"bytes,115,opt,name=customer_text_message_sms_config,json=customerTextMessageSmsConfig,proto3,oneof"`
}

type DetailConfig_CustomerTextMessageSmsSizeConfig

type DetailConfig_CustomerTextMessageSmsSizeConfig struct {
	CustomerTextMessageSmsSizeConfig *modules.BasicAmountConfig `protobuf:"bytes,122,opt,name=customer_text_message_sms_size_config,json=customerTextMessageSmsSizeConfig,proto3,oneof"`
}

type DetailConfig_ManagerChatMessageUnitsConfig

type DetailConfig_ManagerChatMessageUnitsConfig struct {
	ManagerChatMessageUnitsConfig *modules.BasicConfig `protobuf:"bytes,127,opt,name=manager_chat_message_units_config,json=managerChatMessageUnitsConfig,proto3,oneof"`
}

type DetailConfig_ManagerEmailMessageUnitsConfig

type DetailConfig_ManagerEmailMessageUnitsConfig struct {
	ManagerEmailMessageUnitsConfig *modules.BasicConfig `protobuf:"bytes,128,opt,name=manager_email_message_units_config,json=managerEmailMessageUnitsConfig,proto3,oneof"`
}

type DetailConfig_ManagerSmsMessageUnitsConfig

type DetailConfig_ManagerSmsMessageUnitsConfig struct {
	ManagerSmsMessageUnitsConfig *modules.BasicConfig `protobuf:"bytes,129,opt,name=manager_sms_message_units_config,json=managerSmsMessageUnitsConfig,proto3,oneof"`
}

type DetailConfig_ManagerTextMessageChatConfig

type DetailConfig_ManagerTextMessageChatConfig struct {
	ManagerTextMessageChatConfig *modules.BasicConfig `protobuf:"bytes,108,opt,name=manager_text_message_chat_config,json=managerTextMessageChatConfig,proto3,oneof"`
}

type DetailConfig_ManagerTextMessageChatSizeConfig

type DetailConfig_ManagerTextMessageChatSizeConfig struct {
	ManagerTextMessageChatSizeConfig *modules.BasicAmountConfig `protobuf:"bytes,117,opt,name=manager_text_message_chat_size_config,json=managerTextMessageChatSizeConfig,proto3,oneof"`
}

type DetailConfig_ManagerTextMessageEmailMessageConfig

type DetailConfig_ManagerTextMessageEmailMessageConfig struct {
	ManagerTextMessageEmailMessageConfig *modules.BasicConfig `` /* 126-byte string literal not displayed */
}

type DetailConfig_ManagerTextMessageEmailSizeConfig

type DetailConfig_ManagerTextMessageEmailSizeConfig struct {
	ManagerTextMessageEmailSizeConfig *modules.BasicAmountConfig `protobuf:"bytes,110,opt,name=manager_text_message_email_size_config,json=managerTextMessageEmailSizeConfig,proto3,oneof"`
}

type DetailConfig_ManagerTextMessageSmsConfig

type DetailConfig_ManagerTextMessageSmsConfig struct {
	ManagerTextMessageSmsConfig *modules.BasicConfig `protobuf:"bytes,111,opt,name=manager_text_message_sms_config,json=managerTextMessageSmsConfig,proto3,oneof"`
}

type DetailConfig_ManagerTextMessageSmsSizeConfig

type DetailConfig_ManagerTextMessageSmsSizeConfig struct {
	ManagerTextMessageSmsSizeConfig *modules.BasicAmountConfig `protobuf:"bytes,121,opt,name=manager_text_message_sms_size_config,json=managerTextMessageSmsSizeConfig,proto3,oneof"`
}

type DetailConfig_SystemChatMessageUnitsConfig

type DetailConfig_SystemChatMessageUnitsConfig struct {
	SystemChatMessageUnitsConfig *modules.BasicConfig `protobuf:"bytes,133,opt,name=system_chat_message_units_config,json=systemChatMessageUnitsConfig,proto3,oneof"`
}

type DetailConfig_SystemEmailMessageUnitsConfig

type DetailConfig_SystemEmailMessageUnitsConfig struct {
	SystemEmailMessageUnitsConfig *modules.BasicConfig `protobuf:"bytes,134,opt,name=system_email_message_units_config,json=systemEmailMessageUnitsConfig,proto3,oneof"`
}

type DetailConfig_SystemSmsMessageUnitsConfig

type DetailConfig_SystemSmsMessageUnitsConfig struct {
	SystemSmsMessageUnitsConfig *modules.BasicConfig `protobuf:"bytes,135,opt,name=system_sms_message_units_config,json=systemSmsMessageUnitsConfig,proto3,oneof"`
}

type DetailConfig_TaskMessageSentEmailMessageConfig

type DetailConfig_TaskMessageSentEmailMessageConfig struct {
	TaskMessageSentEmailMessageConfig *modules.BasicConfig `protobuf:"bytes,104,opt,name=task_message_sent_email_message_config,json=taskMessageSentEmailMessageConfig,proto3,oneof"`
}

type DetailConfig_TaskMessageSentEmailSizeConfig

type DetailConfig_TaskMessageSentEmailSizeConfig struct {
	TaskMessageSentEmailSizeConfig *modules.BasicAmountConfig `protobuf:"bytes,105,opt,name=task_message_sent_email_size_config,json=taskMessageSentEmailSizeConfig,proto3,oneof"`
}

type DetailConfig_TaskMessageSentSmsConfig

type DetailConfig_TaskMessageSentSmsConfig struct {
	TaskMessageSentSmsConfig *modules.BasicConfig `protobuf:"bytes,106,opt,name=task_message_sent_sms_config,json=taskMessageSentSmsConfig,proto3,oneof"`
}

type DetailConfig_TaskMessageSentSmsSizeConfig

type DetailConfig_TaskMessageSentSmsSizeConfig struct {
	TaskMessageSentSmsSizeConfig *modules.BasicAmountConfig `protobuf:"bytes,123,opt,name=task_message_sent_sms_size_config,json=taskMessageSentSmsSizeConfig,proto3,oneof"`
}

type Invoice

type Invoice struct {

	// The items forming the invoice, where a product type
	// should show up only once in this list.
	Items []*InvoiceItem `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

Invoice - a collection of products with their total rated amount for a selected month or month-to-date.

func (*Invoice) Descriptor deprecated

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

Deprecated: Use Invoice.ProtoReflect.Descriptor instead.

func (*Invoice) GetItems

func (x *Invoice) GetItems() []*InvoiceItem

func (*Invoice) ProtoMessage

func (*Invoice) ProtoMessage()

func (*Invoice) ProtoReflect

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

func (*Invoice) Reset

func (x *Invoice) Reset()

func (*Invoice) String

func (x *Invoice) String() string

type InvoiceItem

type InvoiceItem struct {

	// The unique identifier for this invoice item
	InvoiceItemSid int64 `protobuf:"varint,1,opt,name=invoice_item_sid,json=invoiceItemSid,proto3" json:"invoice_item_sid,omitempty"`
	// The product this item contains the total for
	Product Product `protobuf:"varint,2,opt,name=product,proto3,enum=api.commons.billing.Product" json:"product,omitempty"`
	// The total amount billed for the product
	Amount float64 `protobuf:"fixed64,3,opt,name=amount,proto3" json:"amount,omitempty"`
	// time the invoice item was created
	DateCreated *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=date_created,json=dateCreated,proto3" json:"date_created,omitempty"`
	// time the invoice item was last modified
	DateModified *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=date_modified,json=dateModified,proto3" json:"date_modified,omitempty"`
	// contains filtered or unexported fields
}

InvoiceItem -

func (*InvoiceItem) Descriptor deprecated

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

Deprecated: Use InvoiceItem.ProtoReflect.Descriptor instead.

func (*InvoiceItem) GetAmount

func (x *InvoiceItem) GetAmount() float64

func (*InvoiceItem) GetDateCreated

func (x *InvoiceItem) GetDateCreated() *timestamppb.Timestamp

func (*InvoiceItem) GetDateModified

func (x *InvoiceItem) GetDateModified() *timestamppb.Timestamp

func (*InvoiceItem) GetInvoiceItemSid

func (x *InvoiceItem) GetInvoiceItemSid() int64

func (*InvoiceItem) GetProduct

func (x *InvoiceItem) GetProduct() Product

func (*InvoiceItem) ProtoMessage

func (*InvoiceItem) ProtoMessage()

func (*InvoiceItem) ProtoReflect

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

func (*InvoiceItem) Reset

func (x *InvoiceItem) Reset()

func (*InvoiceItem) String

func (x *InvoiceItem) String() string

type Plan

type Plan struct {

	// all the details that make up this billing plan, where each
	// detail defines how to configure a particular rating module.
	Details []*Detail `protobuf:"bytes,1,rep,name=details,proto3" json:"details,omitempty"`
	// contains filtered or unexported fields
}

Plan - a collection of details belongind to a single organization.

func (*Plan) Descriptor deprecated

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

Deprecated: Use Plan.ProtoReflect.Descriptor instead.

func (*Plan) GetDetails

func (x *Plan) GetDetails() []*Detail

func (*Plan) ProtoMessage

func (*Plan) ProtoMessage()

func (*Plan) ProtoReflect

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

func (*Plan) Reset

func (x *Plan) Reset()

func (*Plan) String

func (x *Plan) String() string

type Product

type Product int32

Product - represents a billed product. A product should show up only once in a monthly invoice.

const (
	Product_PRODUCT_UNSPECIFIED     Product = 0
	Product_PRODUCT_OTHER           Product = 1
	Product_PRODUCT_AGENT_SEATS     Product = 100
	Product_PRODUCT_EMAILS_SENT     Product = 200
	Product_PRODUCT_EMAILS_RECEIVED Product = 201
	Product_PRODUCT_SMS_SENT        Product = 202
	Product_PRODUCT_SMS_RECEIVED    Product = 203
	Product_PRODUCT_CHAT_SENT       Product = 204
	Product_PRODUCT_CHAT_RECEIVED   Product = 205
	Product_PRODUCT_OMNI            Product = 300
	Product_PRODUCT_VANA            Product = 400
	Product_PRODUCT_COMPLIANCE      Product = 500
)

func (Product) Descriptor

func (Product) Descriptor() protoreflect.EnumDescriptor

func (Product) Enum

func (x Product) Enum() *Product

func (Product) EnumDescriptor deprecated

func (Product) EnumDescriptor() ([]byte, []int)

Deprecated: Use Product.Descriptor instead.

func (Product) Number

func (x Product) Number() protoreflect.EnumNumber

func (Product) String

func (x Product) String() string

func (Product) Type

func (Product) Type() protoreflect.EnumType

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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