entitiesv1alpha2

package
v1.9.9 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Product_name = map[int32]string{
		0:   "PRODUCT_UNSPECIFIED",
		200: "PRODUCT_OMNI",
		201: "PRODUCT_OMNI_SEATS",
		202: "PRODUCT_OMNI_CHAT_SENT",
		203: "PRODUCT_OMNI_CHAT_RECEIVED",
		204: "PRODUCT_OMNI_EMAILS_SENT",
		205: "PRODUCT_OMNI_EMAILS_RECEIVED",
		206: "PRODUCT_OMNI_SMS_SENT",
		207: "PRODUCT_OMNI_SMS_RECEIVED",
		300: "PRODUCT_COMPLIANCE",
	}
	Product_value = map[string]int32{
		"PRODUCT_UNSPECIFIED":          0,
		"PRODUCT_OMNI":                 200,
		"PRODUCT_OMNI_SEATS":           201,
		"PRODUCT_OMNI_CHAT_SENT":       202,
		"PRODUCT_OMNI_CHAT_RECEIVED":   203,
		"PRODUCT_OMNI_EMAILS_SENT":     204,
		"PRODUCT_OMNI_EMAILS_RECEIVED": 205,
		"PRODUCT_OMNI_SMS_SENT":        206,
		"PRODUCT_OMNI_SMS_RECEIVED":    207,
		"PRODUCT_COMPLIANCE":           300,
	}
)

Enum value maps for Product.

View Source
var (
	MatchingRule_name = map[int32]string{
		0: "MATCHING_RULE_UNSPECIFIED",
		1: "MATCHING_RULE_COUNTRY_PREFIX",
	}
	MatchingRule_value = map[string]int32{
		"MATCHING_RULE_UNSPECIFIED":    0,
		"MATCHING_RULE_COUNTRY_PREFIX": 1,
	}
)

Enum value maps for MatchingRule.

View Source
var (
	RateDefinitionConfigType_name = map[int32]string{
		0:    "RATE_DEFINITION_CONFIG_TYPE_UNSPECIFIED",
		1:    "RATE_DEFINITION_CONFIG_TYPE_NOOP",
		1000: "RATE_DEFINITION_CONFIG_TYPE_OMNI_AGENT_SEATS",
		1500: "RATE_DEFINITION_CONFIG_TYPE_OMNI_CONNECTED_INBOX_POLL",
		1501: "RATE_DEFINITION_CONFIG_TYPE_OMNI_CONNECTED_INBOX_CREATED",
		1600: "RATE_DEFINITION_CONFIG_TYPE_OMNI_AGENT_MESSAGE_CHAT",
		1601: "RATE_DEFINITION_CONFIG_TYPE_OMNI_AGENT_MESSAGE_CHAT_SIZE",
		1602: "RATE_DEFINITION_CONFIG_TYPE_OMNI_AGENT_MESSAGE_CHAT_UNITS",
		1603: "RATE_DEFINITION_CONFIG_TYPE_OMNI_AGENT_MESSAGE_CHAT_SIZE_TOTAL",
		1610: "RATE_DEFINITION_CONFIG_TYPE_OMNI_AGENT_MESSAGE_EMAIL",
		1611: "RATE_DEFINITION_CONFIG_TYPE_OMNI_AGENT_MESSAGE_EMAIL_SIZE",
		1612: "RATE_DEFINITION_CONFIG_TYPE_OMNI_AGENT_MESSAGE_EMAIL_UNITS",
		1613: "RATE_DEFINITION_CONFIG_TYPE_OMNI_AGENT_MESSAGE_EMAIL_SIZE_TOTAL",
		1620: "RATE_DEFINITION_CONFIG_TYPE_OMNI_AGENT_MESSAGE_SMS",
		1621: "RATE_DEFINITION_CONFIG_TYPE_OMNI_AGENT_MESSAGE_SMS_SIZE",
		1622: "RATE_DEFINITION_CONFIG_TYPE_OMNI_AGENT_MESSAGE_SMS_UNITS",
		1623: "RATE_DEFINITION_CONFIG_TYPE_OMNI_AGENT_MESSAGE_SMS_SIZE_TOTAL",
		1700: "RATE_DEFINITION_CONFIG_TYPE_OMNI_MANAGER_MESSAGE_CHAT",
		1701: "RATE_DEFINITION_CONFIG_TYPE_OMNI_MANAGER_MESSAGE_CHAT_SIZE",
		1702: "RATE_DEFINITION_CONFIG_TYPE_OMNI_MANAGER_MESSAGE_CHAT_UNITS",
		1703: "RATE_DEFINITION_CONFIG_TYPE_OMNI_MANAGER_MESSAGE_CHAT_SIZE_TOTAL",
		1710: "RATE_DEFINITION_CONFIG_TYPE_OMNI_MANAGER_MESSAGE_EMAIL",
		1711: "RATE_DEFINITION_CONFIG_TYPE_OMNI_MANAGER_MESSAGE_EMAIL_SIZE",
		1712: "RATE_DEFINITION_CONFIG_TYPE_OMNI_MANAGER_MESSAGE_EMAIL_UNITS",
		1713: "RATE_DEFINITION_CONFIG_TYPE_OMNI_MANAGER_MESSAGE_EMAIL_SIZE_TOTAL",
		1720: "RATE_DEFINITION_CONFIG_TYPE_OMNI_MANAGER_MESSAGE_SMS",
		1721: "RATE_DEFINITION_CONFIG_TYPE_OMNI_MANAGER_MESSAGE_SMS_SIZE",
		1722: "RATE_DEFINITION_CONFIG_TYPE_OMNI_MANAGER_MESSAGE_SMS_UNITS",
		1723: "RATE_DEFINITION_CONFIG_TYPE_OMNI_MANAGER_MESSAGE_SMS_SIZE_TOTAL",
		1800: "RATE_DEFINITION_CONFIG_TYPE_OMNI_SYSTEM_MESSAGE_CHAT",
		1801: "RATE_DEFINITION_CONFIG_TYPE_OMNI_SYSTEM_MESSAGE_CHAT_SIZE",
		1802: "RATE_DEFINITION_CONFIG_TYPE_OMNI_SYSTEM_MESSAGE_CHAT_UNITS",
		1803: "RATE_DEFINITION_CONFIG_TYPE_OMNI_SYSTEM_MESSAGE_CHAT_SIZE_TOTAL",
		1810: "RATE_DEFINITION_CONFIG_TYPE_OMNI_SYSTEM_MESSAGE_EMAIL",
		1811: "RATE_DEFINITION_CONFIG_TYPE_OMNI_SYSTEM_MESSAGE_EMAIL_SIZE",
		1812: "RATE_DEFINITION_CONFIG_TYPE_OMNI_SYSTEM_MESSAGE_EMAIL_UNITS",
		1813: "RATE_DEFINITION_CONFIG_TYPE_OMNI_SYSTEM_MESSAGE_EMAIL_SIZE_TOTAL",
		1820: "RATE_DEFINITION_CONFIG_TYPE_OMNI_SYSTEM_MESSAGE_SMS",
		1821: "RATE_DEFINITION_CONFIG_TYPE_OMNI_SYSTEM_MESSAGE_SMS_SIZE",
		1822: "RATE_DEFINITION_CONFIG_TYPE_OMNI_SYSTEM_MESSAGE_SMS_UNITS",
		1823: "RATE_DEFINITION_CONFIG_TYPE_OMNI_SYSTEM_MESSAGE_SMS_SIZE_TOTAL",
		1900: "RATE_DEFINITION_CONFIG_TYPE_OMNI_CUSTOMER_MESSAGE_CHAT",
		1901: "RATE_DEFINITION_CONFIG_TYPE_OMNI_CUSTOMER_MESSAGE_CHAT_SIZE",
		1902: "RATE_DEFINITION_CONFIG_TYPE_OMNI_CUSTOMER_MESSAGE_CHAT_UNITS",
		1903: "RATE_DEFINITION_CONFIG_TYPE_OMNI_CUSTOMER_MESSAGE_CHAT_SIZE_TOTAL",
		1910: "RATE_DEFINITION_CONFIG_TYPE_OMNI_CUSTOMER_MESSAGE_EMAIL",
		1911: "RATE_DEFINITION_CONFIG_TYPE_OMNI_CUSTOMER_MESSAGE_EMAIL_SIZE",
		1912: "RATE_DEFINITION_CONFIG_TYPE_OMNI_CUSTOMER_MESSAGE_EMAIL_UNITS",
		1913: "RATE_DEFINITION_CONFIG_TYPE_OMNI_CUSTOMER_MESSAGE_EMAIL_SIZE_TOTAL",
		1920: "RATE_DEFINITION_CONFIG_TYPE_OMNI_CUSTOMER_MESSAGE_SMS",
		1921: "RATE_DEFINITION_CONFIG_TYPE_OMNI_CUSTOMER_MESSAGE_SMS_SIZE",
		1922: "RATE_DEFINITION_CONFIG_TYPE_OMNI_CUSTOMER_MESSAGE_SMS_UNITS",
		1923: "RATE_DEFINITION_CONFIG_TYPE_OMNI_CUSTOMER_MESSAGE_SMS_SIZE_TOTAL",
		2000: "RATE_DEFINITION_CONFIG_TYPE_COMPLIANCE_RND_QUERY",
		2001: "RATE_DEFINITION_CONFIG_TYPE_COMPLIANCE_RND_QUERY_CACHED",
	}
	RateDefinitionConfigType_value = map[string]int32{
		"RATE_DEFINITION_CONFIG_TYPE_UNSPECIFIED":                            0,
		"RATE_DEFINITION_CONFIG_TYPE_NOOP":                                   1,
		"RATE_DEFINITION_CONFIG_TYPE_OMNI_AGENT_SEATS":                       1000,
		"RATE_DEFINITION_CONFIG_TYPE_OMNI_CONNECTED_INBOX_POLL":              1500,
		"RATE_DEFINITION_CONFIG_TYPE_OMNI_CONNECTED_INBOX_CREATED":           1501,
		"RATE_DEFINITION_CONFIG_TYPE_OMNI_AGENT_MESSAGE_CHAT":                1600,
		"RATE_DEFINITION_CONFIG_TYPE_OMNI_AGENT_MESSAGE_CHAT_SIZE":           1601,
		"RATE_DEFINITION_CONFIG_TYPE_OMNI_AGENT_MESSAGE_CHAT_UNITS":          1602,
		"RATE_DEFINITION_CONFIG_TYPE_OMNI_AGENT_MESSAGE_CHAT_SIZE_TOTAL":     1603,
		"RATE_DEFINITION_CONFIG_TYPE_OMNI_AGENT_MESSAGE_EMAIL":               1610,
		"RATE_DEFINITION_CONFIG_TYPE_OMNI_AGENT_MESSAGE_EMAIL_SIZE":          1611,
		"RATE_DEFINITION_CONFIG_TYPE_OMNI_AGENT_MESSAGE_EMAIL_UNITS":         1612,
		"RATE_DEFINITION_CONFIG_TYPE_OMNI_AGENT_MESSAGE_EMAIL_SIZE_TOTAL":    1613,
		"RATE_DEFINITION_CONFIG_TYPE_OMNI_AGENT_MESSAGE_SMS":                 1620,
		"RATE_DEFINITION_CONFIG_TYPE_OMNI_AGENT_MESSAGE_SMS_SIZE":            1621,
		"RATE_DEFINITION_CONFIG_TYPE_OMNI_AGENT_MESSAGE_SMS_UNITS":           1622,
		"RATE_DEFINITION_CONFIG_TYPE_OMNI_AGENT_MESSAGE_SMS_SIZE_TOTAL":      1623,
		"RATE_DEFINITION_CONFIG_TYPE_OMNI_MANAGER_MESSAGE_CHAT":              1700,
		"RATE_DEFINITION_CONFIG_TYPE_OMNI_MANAGER_MESSAGE_CHAT_SIZE":         1701,
		"RATE_DEFINITION_CONFIG_TYPE_OMNI_MANAGER_MESSAGE_CHAT_UNITS":        1702,
		"RATE_DEFINITION_CONFIG_TYPE_OMNI_MANAGER_MESSAGE_CHAT_SIZE_TOTAL":   1703,
		"RATE_DEFINITION_CONFIG_TYPE_OMNI_MANAGER_MESSAGE_EMAIL":             1710,
		"RATE_DEFINITION_CONFIG_TYPE_OMNI_MANAGER_MESSAGE_EMAIL_SIZE":        1711,
		"RATE_DEFINITION_CONFIG_TYPE_OMNI_MANAGER_MESSAGE_EMAIL_UNITS":       1712,
		"RATE_DEFINITION_CONFIG_TYPE_OMNI_MANAGER_MESSAGE_EMAIL_SIZE_TOTAL":  1713,
		"RATE_DEFINITION_CONFIG_TYPE_OMNI_MANAGER_MESSAGE_SMS":               1720,
		"RATE_DEFINITION_CONFIG_TYPE_OMNI_MANAGER_MESSAGE_SMS_SIZE":          1721,
		"RATE_DEFINITION_CONFIG_TYPE_OMNI_MANAGER_MESSAGE_SMS_UNITS":         1722,
		"RATE_DEFINITION_CONFIG_TYPE_OMNI_MANAGER_MESSAGE_SMS_SIZE_TOTAL":    1723,
		"RATE_DEFINITION_CONFIG_TYPE_OMNI_SYSTEM_MESSAGE_CHAT":               1800,
		"RATE_DEFINITION_CONFIG_TYPE_OMNI_SYSTEM_MESSAGE_CHAT_SIZE":          1801,
		"RATE_DEFINITION_CONFIG_TYPE_OMNI_SYSTEM_MESSAGE_CHAT_UNITS":         1802,
		"RATE_DEFINITION_CONFIG_TYPE_OMNI_SYSTEM_MESSAGE_CHAT_SIZE_TOTAL":    1803,
		"RATE_DEFINITION_CONFIG_TYPE_OMNI_SYSTEM_MESSAGE_EMAIL":              1810,
		"RATE_DEFINITION_CONFIG_TYPE_OMNI_SYSTEM_MESSAGE_EMAIL_SIZE":         1811,
		"RATE_DEFINITION_CONFIG_TYPE_OMNI_SYSTEM_MESSAGE_EMAIL_UNITS":        1812,
		"RATE_DEFINITION_CONFIG_TYPE_OMNI_SYSTEM_MESSAGE_EMAIL_SIZE_TOTAL":   1813,
		"RATE_DEFINITION_CONFIG_TYPE_OMNI_SYSTEM_MESSAGE_SMS":                1820,
		"RATE_DEFINITION_CONFIG_TYPE_OMNI_SYSTEM_MESSAGE_SMS_SIZE":           1821,
		"RATE_DEFINITION_CONFIG_TYPE_OMNI_SYSTEM_MESSAGE_SMS_UNITS":          1822,
		"RATE_DEFINITION_CONFIG_TYPE_OMNI_SYSTEM_MESSAGE_SMS_SIZE_TOTAL":     1823,
		"RATE_DEFINITION_CONFIG_TYPE_OMNI_CUSTOMER_MESSAGE_CHAT":             1900,
		"RATE_DEFINITION_CONFIG_TYPE_OMNI_CUSTOMER_MESSAGE_CHAT_SIZE":        1901,
		"RATE_DEFINITION_CONFIG_TYPE_OMNI_CUSTOMER_MESSAGE_CHAT_UNITS":       1902,
		"RATE_DEFINITION_CONFIG_TYPE_OMNI_CUSTOMER_MESSAGE_CHAT_SIZE_TOTAL":  1903,
		"RATE_DEFINITION_CONFIG_TYPE_OMNI_CUSTOMER_MESSAGE_EMAIL":            1910,
		"RATE_DEFINITION_CONFIG_TYPE_OMNI_CUSTOMER_MESSAGE_EMAIL_SIZE":       1911,
		"RATE_DEFINITION_CONFIG_TYPE_OMNI_CUSTOMER_MESSAGE_EMAIL_UNITS":      1912,
		"RATE_DEFINITION_CONFIG_TYPE_OMNI_CUSTOMER_MESSAGE_EMAIL_SIZE_TOTAL": 1913,
		"RATE_DEFINITION_CONFIG_TYPE_OMNI_CUSTOMER_MESSAGE_SMS":              1920,
		"RATE_DEFINITION_CONFIG_TYPE_OMNI_CUSTOMER_MESSAGE_SMS_SIZE":         1921,
		"RATE_DEFINITION_CONFIG_TYPE_OMNI_CUSTOMER_MESSAGE_SMS_UNITS":        1922,
		"RATE_DEFINITION_CONFIG_TYPE_OMNI_CUSTOMER_MESSAGE_SMS_SIZE_TOTAL":   1923,
		"RATE_DEFINITION_CONFIG_TYPE_COMPLIANCE_RND_QUERY":                   2000,
		"RATE_DEFINITION_CONFIG_TYPE_COMPLIANCE_RND_QUERY_CACHED":            2001,
	}
)

Enum value maps for RateDefinitionConfigType.

View Source
var File_services_billing_entities_v1alpha2_invoice_proto protoreflect.FileDescriptor
View Source
var File_services_billing_entities_v1alpha2_matching_proto protoreflect.FileDescriptor
View Source
var File_services_billing_entities_v1alpha2_modules_proto protoreflect.FileDescriptor
View Source
var File_services_billing_entities_v1alpha2_rates_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type BasicConfig

type BasicConfig struct {

	// Deprecated: Marked as deprecated in services/billing/entities/v1alpha2/modules.proto.
	Rate float64 `protobuf:"fixed64,1,opt,name=rate,proto3" json:"rate,omitempty"`
	// Required. the amount to rate a single event
	RateDecimal *decimal.Decimal `protobuf:"bytes,2,opt,name=rate_decimal,json=rateDecimal,proto3" json:"rate_decimal,omitempty"`
	// contains filtered or unexported fields
}

BasicConfig represents the basic config for a rating module when there is no other data needed

func (*BasicConfig) Descriptor deprecated

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

Deprecated: Use BasicConfig.ProtoReflect.Descriptor instead.

func (*BasicConfig) GetRate deprecated

func (x *BasicConfig) GetRate() float64

Deprecated: Marked as deprecated in services/billing/entities/v1alpha2/modules.proto.

func (*BasicConfig) GetRateDecimal added in v1.7.78

func (x *BasicConfig) GetRateDecimal() *decimal.Decimal

func (*BasicConfig) ProtoMessage

func (*BasicConfig) ProtoMessage()

func (*BasicConfig) ProtoReflect

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

func (*BasicConfig) Reset

func (x *BasicConfig) Reset()

func (*BasicConfig) String

func (x *BasicConfig) String() string

type BasicUnitConfig

type BasicUnitConfig struct {

	// Required. the size of an individual unit. For example, a unit
	// size of 300 (with bytes as a unit of measurement) and an event
	// of size 400 bytes will get billed as if it were 2 units.
	UnitSize int64 `protobuf:"varint,1,opt,name=unit_size,json=unitSize,proto3" json:"unit_size,omitempty"`
	// Deprecated: Marked as deprecated in services/billing/entities/v1alpha2/modules.proto.
	Rate float64 `protobuf:"fixed64,2,opt,name=rate,proto3" json:"rate,omitempty"`
	// Optional. the minimum number of units to rate; for example, a
	// unit size of 5 seconds and a min_units of 2 would mean that
	// any event less than 10 seconds would be billed as if it were
	// two units (10 seconds). This is per event.
	MinUnits *wrapperspb.Int64Value `protobuf:"bytes,3,opt,name=min_units,json=minUnits,proto3" json:"min_units,omitempty"`
	// Optional. the maximum number of units to rate; for example, a
	// unit size of 5 seconds and a max_units of 2 would mean that
	// any event more than 10 seconds would be billed as if it were
	// two units (10 seconds). This is per event.
	MaxUnits *wrapperspb.Int64Value `protobuf:"bytes,4,opt,name=max_units,json=maxUnits,proto3" json:"max_units,omitempty"`
	// Optional. the minimum number of units to rate per cycle
	MinUnitsPerCycle *wrapperspb.Int64Value `protobuf:"bytes,5,opt,name=min_units_per_cycle,json=minUnitsPerCycle,proto3" json:"min_units_per_cycle,omitempty"`
	// Optional. the maximum number of units to rate per cycle
	MaxUnitsPerCycle *wrapperspb.Int64Value `protobuf:"bytes,6,opt,name=max_units_per_cycle,json=maxUnitsPerCycle,proto3" json:"max_units_per_cycle,omitempty"`
	// Required. the amount to rate each unit
	RateDecimal *decimal.Decimal `protobuf:"bytes,7,opt,name=rate_decimal,json=rateDecimal,proto3" json:"rate_decimal,omitempty"`
	// contains filtered or unexported fields
}

BasicUnitConfig represents basic config for a rating module that rates based on event units

func (*BasicUnitConfig) Descriptor deprecated

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

Deprecated: Use BasicUnitConfig.ProtoReflect.Descriptor instead.

func (*BasicUnitConfig) GetMaxUnits

func (x *BasicUnitConfig) GetMaxUnits() *wrapperspb.Int64Value

func (*BasicUnitConfig) GetMaxUnitsPerCycle added in v1.7.74

func (x *BasicUnitConfig) GetMaxUnitsPerCycle() *wrapperspb.Int64Value

func (*BasicUnitConfig) GetMinUnits

func (x *BasicUnitConfig) GetMinUnits() *wrapperspb.Int64Value

func (*BasicUnitConfig) GetMinUnitsPerCycle added in v1.7.74

func (x *BasicUnitConfig) GetMinUnitsPerCycle() *wrapperspb.Int64Value

func (*BasicUnitConfig) GetRate deprecated

func (x *BasicUnitConfig) GetRate() float64

Deprecated: Marked as deprecated in services/billing/entities/v1alpha2/modules.proto.

func (*BasicUnitConfig) GetRateDecimal added in v1.7.78

func (x *BasicUnitConfig) GetRateDecimal() *decimal.Decimal

func (*BasicUnitConfig) GetUnitSize

func (x *BasicUnitConfig) GetUnitSize() int64

func (*BasicUnitConfig) ProtoMessage

func (*BasicUnitConfig) ProtoMessage()

func (*BasicUnitConfig) ProtoReflect

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

func (*BasicUnitConfig) Reset

func (x *BasicUnitConfig) Reset()

func (*BasicUnitConfig) String

func (x *BasicUnitConfig) String() string

type Invoice

type Invoice struct {
	BillingCycle string                  `protobuf:"bytes,1,opt,name=billing_cycle,json=billingCycle,proto3" json:"billing_cycle,omitempty"`
	CreateTime   *timestamppb.Timestamp  `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	Items        []*InvoiceItem          `protobuf:"bytes,3,rep,name=items,proto3" json:"items,omitempty"`
	DownloadUrl  *wrapperspb.StringValue `protobuf:"bytes,4,opt,name=download_url,json=downloadUrl,proto3" json:"download_url,omitempty"`
	// contains filtered or unexported fields
}

func (*Invoice) Descriptor deprecated

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

Deprecated: Use Invoice.ProtoReflect.Descriptor instead.

func (*Invoice) GetBillingCycle

func (x *Invoice) GetBillingCycle() string

func (*Invoice) GetCreateTime

func (x *Invoice) GetCreateTime() *timestamppb.Timestamp

func (*Invoice) GetDownloadUrl

func (x *Invoice) GetDownloadUrl() *wrapperspb.StringValue

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 {
	ClientId string `protobuf:"bytes,1,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`
	// Deprecated: Marked as deprecated in services/billing/entities/v1alpha2/invoice.proto.
	Product     Product                `protobuf:"varint,2,opt,name=product,proto3,enum=services.billing.entities.v1alpha2.Product" json:"product,omitempty"`
	Description string                 `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	Date        *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=date,proto3" json:"date,omitempty"`
	// Deprecated: Marked as deprecated in services/billing/entities/v1alpha2/invoice.proto.
	Price       float64              `protobuf:"fixed64,5,opt,name=price,proto3" json:"price,omitempty"`
	Columns     []*InvoiceItemColumn `protobuf:"bytes,6,rep,name=columns,proto3" json:"columns,omitempty"`
	RatedAmount *decimal.Decimal     `protobuf:"bytes,7,opt,name=rated_amount,json=ratedAmount,proto3" json:"rated_amount,omitempty"`
	ProductId   string               `protobuf:"bytes,8,opt,name=product_id,json=productId,proto3" json:"product_id,omitempty"`
	// contains filtered or unexported fields
}

InvoiceItem represents a single line item on an invoice.

func (*InvoiceItem) Descriptor deprecated

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

Deprecated: Use InvoiceItem.ProtoReflect.Descriptor instead.

func (*InvoiceItem) GetClientId

func (x *InvoiceItem) GetClientId() string

func (*InvoiceItem) GetColumns

func (x *InvoiceItem) GetColumns() []*InvoiceItemColumn

func (*InvoiceItem) GetDate

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

func (*InvoiceItem) GetDescription

func (x *InvoiceItem) GetDescription() string

func (*InvoiceItem) GetPrice deprecated

func (x *InvoiceItem) GetPrice() float64

Deprecated: Marked as deprecated in services/billing/entities/v1alpha2/invoice.proto.

func (*InvoiceItem) GetProduct deprecated

func (x *InvoiceItem) GetProduct() Product

Deprecated: Marked as deprecated in services/billing/entities/v1alpha2/invoice.proto.

func (*InvoiceItem) GetProductId added in v1.7.80

func (x *InvoiceItem) GetProductId() string

func (*InvoiceItem) GetRatedAmount added in v1.7.78

func (x *InvoiceItem) GetRatedAmount() *decimal.Decimal

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 InvoiceItemColumn

type InvoiceItemColumn struct {
	Name  string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

InvoiceItemColumn represents a single column on an invoice item.

func (*InvoiceItemColumn) Descriptor deprecated

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

Deprecated: Use InvoiceItemColumn.ProtoReflect.Descriptor instead.

func (*InvoiceItemColumn) GetName

func (x *InvoiceItemColumn) GetName() string

func (*InvoiceItemColumn) GetValue

func (x *InvoiceItemColumn) GetValue() string

func (*InvoiceItemColumn) ProtoMessage

func (*InvoiceItemColumn) ProtoMessage()

func (*InvoiceItemColumn) ProtoReflect

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

func (*InvoiceItemColumn) Reset

func (x *InvoiceItemColumn) Reset()

func (*InvoiceItemColumn) String

func (x *InvoiceItemColumn) String() string

type MatchingConfig

type MatchingConfig struct {

	// the name of the matching configuration.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// the configuration data.
	//
	// Types that are valid to be assigned to Config:
	//
	//	*MatchingConfig_CountryPrefix
	Config isMatchingConfig_Config `protobuf_oneof:"config"`
	// contains filtered or unexported fields
}

MatchingConfig represents the configuration for matching an event to a rate definition.

func (*MatchingConfig) Descriptor deprecated

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

Deprecated: Use MatchingConfig.ProtoReflect.Descriptor instead.

func (*MatchingConfig) GetConfig

func (x *MatchingConfig) GetConfig() isMatchingConfig_Config

func (*MatchingConfig) GetCountryPrefix

func (x *MatchingConfig) GetCountryPrefix() *MatchingConfigCountryPrefix

func (*MatchingConfig) GetName

func (x *MatchingConfig) GetName() string

func (*MatchingConfig) ProtoMessage

func (*MatchingConfig) ProtoMessage()

func (*MatchingConfig) ProtoReflect

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

func (*MatchingConfig) Reset

func (x *MatchingConfig) Reset()

func (*MatchingConfig) String

func (x *MatchingConfig) String() string

type MatchingConfigCountryPrefix

type MatchingConfigCountryPrefix struct {

	// The country code to match.
	CountryCode int32 `protobuf:"varint,1,opt,name=country_code,json=countryCode,proto3" json:"country_code,omitempty"`
	// The list of prefixes (if any) to match after successfully matching
	// the country code.
	Prefixes []string `protobuf:"bytes,2,rep,name=prefixes,proto3" json:"prefixes,omitempty"`
	// contains filtered or unexported fields
}

MatchingConfigCountryPrefix represents the configuration for matching an event to a rate definition using the country code and a set of prefixes. The longest prefix match is used.

func (*MatchingConfigCountryPrefix) Descriptor deprecated

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

Deprecated: Use MatchingConfigCountryPrefix.ProtoReflect.Descriptor instead.

func (*MatchingConfigCountryPrefix) GetCountryCode

func (x *MatchingConfigCountryPrefix) GetCountryCode() int32

func (*MatchingConfigCountryPrefix) GetPrefixes

func (x *MatchingConfigCountryPrefix) GetPrefixes() []string

func (*MatchingConfigCountryPrefix) ProtoMessage

func (*MatchingConfigCountryPrefix) ProtoMessage()

func (*MatchingConfigCountryPrefix) ProtoReflect

func (*MatchingConfigCountryPrefix) Reset

func (x *MatchingConfigCountryPrefix) Reset()

func (*MatchingConfigCountryPrefix) String

func (x *MatchingConfigCountryPrefix) String() string

type MatchingConfig_CountryPrefix

type MatchingConfig_CountryPrefix struct {
	CountryPrefix *MatchingConfigCountryPrefix `protobuf:"bytes,100,opt,name=country_prefix,json=countryPrefix,proto3,oneof"`
}

type MatchingRule

type MatchingRule int32

MatchingRule represents a rule for matching an event to a rate definition.

const (
	MatchingRule_MATCHING_RULE_UNSPECIFIED    MatchingRule = 0
	MatchingRule_MATCHING_RULE_COUNTRY_PREFIX MatchingRule = 1
)

func (MatchingRule) Descriptor

func (MatchingRule) Enum

func (x MatchingRule) Enum() *MatchingRule

func (MatchingRule) EnumDescriptor deprecated

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

Deprecated: Use MatchingRule.Descriptor instead.

func (MatchingRule) Number

func (MatchingRule) String

func (x MatchingRule) String() string

func (MatchingRule) Type

type Product deprecated

type Product int32

Deprecated: Marked as deprecated in services/billing/entities/v1alpha2/invoice.proto.

const (
	Product_PRODUCT_UNSPECIFIED          Product = 0
	Product_PRODUCT_OMNI                 Product = 200
	Product_PRODUCT_OMNI_SEATS           Product = 201
	Product_PRODUCT_OMNI_CHAT_SENT       Product = 202
	Product_PRODUCT_OMNI_CHAT_RECEIVED   Product = 203
	Product_PRODUCT_OMNI_EMAILS_SENT     Product = 204
	Product_PRODUCT_OMNI_EMAILS_RECEIVED Product = 205
	Product_PRODUCT_OMNI_SMS_SENT        Product = 206
	Product_PRODUCT_OMNI_SMS_RECEIVED    Product = 207
	Product_PRODUCT_COMPLIANCE           Product = 300
)

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

type RateDefinition

type RateDefinition struct {
	RateDefinitionId string                   `protobuf:"bytes,1,opt,name=rate_definition_id,json=rateDefinitionId,proto3" json:"rate_definition_id,omitempty"`
	EventType        audit.EventType          `protobuf:"varint,2,opt,name=event_type,json=eventType,proto3,enum=api.commons.audit.EventType" json:"event_type,omitempty"`
	ConfigType       RateDefinitionConfigType `` /* 157-byte string literal not displayed */
	MatchingRule     MatchingRule             `` /* 151-byte string literal not displayed */
	MatchingConfig   *MatchingConfig          `protobuf:"bytes,5,opt,name=matching_config,json=matchingConfig,proto3" json:"matching_config,omitempty"`
	// a hash of the matching rule and config
	MatchingSha string                 `protobuf:"bytes,6,opt,name=matching_sha,json=matchingSha,proto3" json:"matching_sha,omitempty"`
	CreateTime  *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	UpdateTime  *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	DeleteTime  *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=delete_time,json=deleteTime,proto3" json:"delete_time,omitempty"`
	// the time this rate definition becomes effective (or now if not set)
	EffectiveTime *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=effective_time,json=effectiveTime,proto3" json:"effective_time,omitempty"`
	// the configuration for this definition
	Config *RateDefinitionConfig `protobuf:"bytes,11,opt,name=config,proto3" json:"config,omitempty"`
	// a group identifier for this rate definition; optional
	GroupId string `protobuf:"bytes,12,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
	// a hash of the config
	ConfigSha string `protobuf:"bytes,13,opt,name=config_sha,json=configSha,proto3" json:"config_sha,omitempty"`
	// the thread id for this rate definition; generated by the system
	// on creation of a default rate definition, otherwise needs to be
	// set on create requests.
	ThreadId string `protobuf:"bytes,14,opt,name=thread_id,json=threadId,proto3" json:"thread_id,omitempty"`
	// contains filtered or unexported fields
}

func (*RateDefinition) Descriptor deprecated

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

Deprecated: Use RateDefinition.ProtoReflect.Descriptor instead.

func (*RateDefinition) GetConfig

func (x *RateDefinition) GetConfig() *RateDefinitionConfig

func (*RateDefinition) GetConfigSha

func (x *RateDefinition) GetConfigSha() string

func (*RateDefinition) GetConfigType

func (x *RateDefinition) GetConfigType() RateDefinitionConfigType

func (*RateDefinition) GetCreateTime

func (x *RateDefinition) GetCreateTime() *timestamppb.Timestamp

func (*RateDefinition) GetDeleteTime

func (x *RateDefinition) GetDeleteTime() *timestamppb.Timestamp

func (*RateDefinition) GetEffectiveTime

func (x *RateDefinition) GetEffectiveTime() *timestamppb.Timestamp

func (*RateDefinition) GetEventType

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

func (*RateDefinition) GetGroupId

func (x *RateDefinition) GetGroupId() string

func (*RateDefinition) GetMatchingConfig

func (x *RateDefinition) GetMatchingConfig() *MatchingConfig

func (*RateDefinition) GetMatchingRule

func (x *RateDefinition) GetMatchingRule() MatchingRule

func (*RateDefinition) GetMatchingSha

func (x *RateDefinition) GetMatchingSha() string

func (*RateDefinition) GetRateDefinitionId

func (x *RateDefinition) GetRateDefinitionId() string

func (*RateDefinition) GetThreadId

func (x *RateDefinition) GetThreadId() string

func (*RateDefinition) GetUpdateTime

func (x *RateDefinition) GetUpdateTime() *timestamppb.Timestamp

func (*RateDefinition) ProtoMessage

func (*RateDefinition) ProtoMessage()

func (*RateDefinition) ProtoReflect

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

func (*RateDefinition) Reset

func (x *RateDefinition) Reset()

func (*RateDefinition) String

func (x *RateDefinition) String() string

type RateDefinitionConfig

type RateDefinitionConfig struct {

	// Types that are valid to be assigned to Config:
	//
	//	*RateDefinitionConfig_AgentSeats
	//	*RateDefinitionConfig_ConnectedInboxPoll
	//	*RateDefinitionConfig_ConnectedInboxCreated
	//	*RateDefinitionConfig_AgentMessageChat
	//	*RateDefinitionConfig_AgentMessageChatSize
	//	*RateDefinitionConfig_AgentMessageChatUnits
	//	*RateDefinitionConfig_AgentMessageChatSizeTotal
	//	*RateDefinitionConfig_AgentMessageEmail
	//	*RateDefinitionConfig_AgentMessageEmailSize
	//	*RateDefinitionConfig_AgentMessageEmailUnits
	//	*RateDefinitionConfig_AgentMessageEmailSizeTotal
	//	*RateDefinitionConfig_AgentMessageSms
	//	*RateDefinitionConfig_AgentMessageSmsSize
	//	*RateDefinitionConfig_AgentMessageSmsUnits
	//	*RateDefinitionConfig_AgentMessageSmsSizeTotal
	//	*RateDefinitionConfig_ManagerMessageChat
	//	*RateDefinitionConfig_ManagerMessageChatSize
	//	*RateDefinitionConfig_ManagerMessageChatUnits
	//	*RateDefinitionConfig_ManagerMessageChatSizeTotal
	//	*RateDefinitionConfig_ManagerMessageEmail
	//	*RateDefinitionConfig_ManagerMessageEmailSize
	//	*RateDefinitionConfig_ManagerMessageEmailUnits
	//	*RateDefinitionConfig_ManagerMessageEmailSizeTotal
	//	*RateDefinitionConfig_ManagerMessageSms
	//	*RateDefinitionConfig_ManagerMessageSmsSize
	//	*RateDefinitionConfig_ManagerMessageSmsUnits
	//	*RateDefinitionConfig_ManagerMessageSmsSizeTotal
	//	*RateDefinitionConfig_SystemMessageChat
	//	*RateDefinitionConfig_SystemMessageChatSize
	//	*RateDefinitionConfig_SystemMessageChatUnits
	//	*RateDefinitionConfig_SystemMessageChatSizeTotal
	//	*RateDefinitionConfig_SystemMessageEmail
	//	*RateDefinitionConfig_SystemMessageEmailSize
	//	*RateDefinitionConfig_SystemMessageEmailUnits
	//	*RateDefinitionConfig_SystemMessageEmailSizeTotal
	//	*RateDefinitionConfig_SystemMessageSms
	//	*RateDefinitionConfig_SystemMessageSmsSize
	//	*RateDefinitionConfig_SystemMessageSmsUnits
	//	*RateDefinitionConfig_SystemMessageSmsSizeTotal
	//	*RateDefinitionConfig_CustomerMessageChat
	//	*RateDefinitionConfig_CustomerMessageChatSize
	//	*RateDefinitionConfig_CustomerMessageChatUnits
	//	*RateDefinitionConfig_CustomerMessageChatSizeTotal
	//	*RateDefinitionConfig_CustomerMessageEmail
	//	*RateDefinitionConfig_CustomerMessageEmailSize
	//	*RateDefinitionConfig_CustomerMessageEmailUnits
	//	*RateDefinitionConfig_CustomerMessageEmailSizeTotal
	//	*RateDefinitionConfig_CustomerMessageSms
	//	*RateDefinitionConfig_CustomerMessageSmsSize
	//	*RateDefinitionConfig_CustomerMessageSmsUnits
	//	*RateDefinitionConfig_CustomerMessageSmsSizeTotal
	//	*RateDefinitionConfig_ComplianceRndQuery
	//	*RateDefinitionConfig_ComplianceRndQueryCached
	Config isRateDefinitionConfig_Config `protobuf_oneof:"config"`
	// contains filtered or unexported fields
}

func (*RateDefinitionConfig) Descriptor deprecated

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

Deprecated: Use RateDefinitionConfig.ProtoReflect.Descriptor instead.

func (*RateDefinitionConfig) GetAgentMessageChat

func (x *RateDefinitionConfig) GetAgentMessageChat() *BasicConfig

func (*RateDefinitionConfig) GetAgentMessageChatSize

func (x *RateDefinitionConfig) GetAgentMessageChatSize() *BasicUnitConfig

func (*RateDefinitionConfig) GetAgentMessageChatSizeTotal added in v1.7.80

func (x *RateDefinitionConfig) GetAgentMessageChatSizeTotal() *BasicUnitConfig

func (*RateDefinitionConfig) GetAgentMessageChatUnits

func (x *RateDefinitionConfig) GetAgentMessageChatUnits() *BasicConfig

func (*RateDefinitionConfig) GetAgentMessageEmail

func (x *RateDefinitionConfig) GetAgentMessageEmail() *BasicConfig

func (*RateDefinitionConfig) GetAgentMessageEmailSize

func (x *RateDefinitionConfig) GetAgentMessageEmailSize() *BasicUnitConfig

func (*RateDefinitionConfig) GetAgentMessageEmailSizeTotal added in v1.7.80

func (x *RateDefinitionConfig) GetAgentMessageEmailSizeTotal() *BasicUnitConfig

func (*RateDefinitionConfig) GetAgentMessageEmailUnits

func (x *RateDefinitionConfig) GetAgentMessageEmailUnits() *BasicConfig

func (*RateDefinitionConfig) GetAgentMessageSms

func (x *RateDefinitionConfig) GetAgentMessageSms() *BasicConfig

func (*RateDefinitionConfig) GetAgentMessageSmsSize

func (x *RateDefinitionConfig) GetAgentMessageSmsSize() *BasicUnitConfig

func (*RateDefinitionConfig) GetAgentMessageSmsSizeTotal added in v1.7.80

func (x *RateDefinitionConfig) GetAgentMessageSmsSizeTotal() *BasicUnitConfig

func (*RateDefinitionConfig) GetAgentMessageSmsUnits

func (x *RateDefinitionConfig) GetAgentMessageSmsUnits() *BasicConfig

func (*RateDefinitionConfig) GetAgentSeats

func (x *RateDefinitionConfig) GetAgentSeats() *BasicConfig

func (*RateDefinitionConfig) GetComplianceRndQuery

func (x *RateDefinitionConfig) GetComplianceRndQuery() *BasicConfig

func (*RateDefinitionConfig) GetComplianceRndQueryCached

func (x *RateDefinitionConfig) GetComplianceRndQueryCached() *BasicConfig

func (*RateDefinitionConfig) GetConfig

func (x *RateDefinitionConfig) GetConfig() isRateDefinitionConfig_Config

func (*RateDefinitionConfig) GetConnectedInboxCreated

func (x *RateDefinitionConfig) GetConnectedInboxCreated() *BasicConfig

func (*RateDefinitionConfig) GetConnectedInboxPoll

func (x *RateDefinitionConfig) GetConnectedInboxPoll() *BasicConfig

func (*RateDefinitionConfig) GetCustomerMessageChat

func (x *RateDefinitionConfig) GetCustomerMessageChat() *BasicConfig

func (*RateDefinitionConfig) GetCustomerMessageChatSize

func (x *RateDefinitionConfig) GetCustomerMessageChatSize() *BasicUnitConfig

func (*RateDefinitionConfig) GetCustomerMessageChatSizeTotal added in v1.7.80

func (x *RateDefinitionConfig) GetCustomerMessageChatSizeTotal() *BasicUnitConfig

func (*RateDefinitionConfig) GetCustomerMessageChatUnits

func (x *RateDefinitionConfig) GetCustomerMessageChatUnits() *BasicConfig

func (*RateDefinitionConfig) GetCustomerMessageEmail

func (x *RateDefinitionConfig) GetCustomerMessageEmail() *BasicConfig

func (*RateDefinitionConfig) GetCustomerMessageEmailSize

func (x *RateDefinitionConfig) GetCustomerMessageEmailSize() *BasicUnitConfig

func (*RateDefinitionConfig) GetCustomerMessageEmailSizeTotal added in v1.7.80

func (x *RateDefinitionConfig) GetCustomerMessageEmailSizeTotal() *BasicUnitConfig

func (*RateDefinitionConfig) GetCustomerMessageEmailUnits

func (x *RateDefinitionConfig) GetCustomerMessageEmailUnits() *BasicConfig

func (*RateDefinitionConfig) GetCustomerMessageSms

func (x *RateDefinitionConfig) GetCustomerMessageSms() *BasicConfig

func (*RateDefinitionConfig) GetCustomerMessageSmsSize

func (x *RateDefinitionConfig) GetCustomerMessageSmsSize() *BasicUnitConfig

func (*RateDefinitionConfig) GetCustomerMessageSmsSizeTotal added in v1.7.80

func (x *RateDefinitionConfig) GetCustomerMessageSmsSizeTotal() *BasicUnitConfig

func (*RateDefinitionConfig) GetCustomerMessageSmsUnits

func (x *RateDefinitionConfig) GetCustomerMessageSmsUnits() *BasicConfig

func (*RateDefinitionConfig) GetManagerMessageChat

func (x *RateDefinitionConfig) GetManagerMessageChat() *BasicConfig

func (*RateDefinitionConfig) GetManagerMessageChatSize

func (x *RateDefinitionConfig) GetManagerMessageChatSize() *BasicUnitConfig

func (*RateDefinitionConfig) GetManagerMessageChatSizeTotal added in v1.7.80

func (x *RateDefinitionConfig) GetManagerMessageChatSizeTotal() *BasicUnitConfig

func (*RateDefinitionConfig) GetManagerMessageChatUnits

func (x *RateDefinitionConfig) GetManagerMessageChatUnits() *BasicConfig

func (*RateDefinitionConfig) GetManagerMessageEmail

func (x *RateDefinitionConfig) GetManagerMessageEmail() *BasicConfig

func (*RateDefinitionConfig) GetManagerMessageEmailSize

func (x *RateDefinitionConfig) GetManagerMessageEmailSize() *BasicUnitConfig

func (*RateDefinitionConfig) GetManagerMessageEmailSizeTotal added in v1.7.80

func (x *RateDefinitionConfig) GetManagerMessageEmailSizeTotal() *BasicUnitConfig

func (*RateDefinitionConfig) GetManagerMessageEmailUnits

func (x *RateDefinitionConfig) GetManagerMessageEmailUnits() *BasicConfig

func (*RateDefinitionConfig) GetManagerMessageSms

func (x *RateDefinitionConfig) GetManagerMessageSms() *BasicConfig

func (*RateDefinitionConfig) GetManagerMessageSmsSize

func (x *RateDefinitionConfig) GetManagerMessageSmsSize() *BasicUnitConfig

func (*RateDefinitionConfig) GetManagerMessageSmsSizeTotal added in v1.7.80

func (x *RateDefinitionConfig) GetManagerMessageSmsSizeTotal() *BasicUnitConfig

func (*RateDefinitionConfig) GetManagerMessageSmsUnits

func (x *RateDefinitionConfig) GetManagerMessageSmsUnits() *BasicConfig

func (*RateDefinitionConfig) GetSystemMessageChat

func (x *RateDefinitionConfig) GetSystemMessageChat() *BasicConfig

func (*RateDefinitionConfig) GetSystemMessageChatSize

func (x *RateDefinitionConfig) GetSystemMessageChatSize() *BasicUnitConfig

func (*RateDefinitionConfig) GetSystemMessageChatSizeTotal added in v1.7.80

func (x *RateDefinitionConfig) GetSystemMessageChatSizeTotal() *BasicUnitConfig

func (*RateDefinitionConfig) GetSystemMessageChatUnits

func (x *RateDefinitionConfig) GetSystemMessageChatUnits() *BasicConfig

func (*RateDefinitionConfig) GetSystemMessageEmail

func (x *RateDefinitionConfig) GetSystemMessageEmail() *BasicConfig

func (*RateDefinitionConfig) GetSystemMessageEmailSize

func (x *RateDefinitionConfig) GetSystemMessageEmailSize() *BasicUnitConfig

func (*RateDefinitionConfig) GetSystemMessageEmailSizeTotal added in v1.7.80

func (x *RateDefinitionConfig) GetSystemMessageEmailSizeTotal() *BasicUnitConfig

func (*RateDefinitionConfig) GetSystemMessageEmailUnits

func (x *RateDefinitionConfig) GetSystemMessageEmailUnits() *BasicConfig

func (*RateDefinitionConfig) GetSystemMessageSms

func (x *RateDefinitionConfig) GetSystemMessageSms() *BasicConfig

func (*RateDefinitionConfig) GetSystemMessageSmsSize

func (x *RateDefinitionConfig) GetSystemMessageSmsSize() *BasicUnitConfig

func (*RateDefinitionConfig) GetSystemMessageSmsSizeTotal added in v1.7.80

func (x *RateDefinitionConfig) GetSystemMessageSmsSizeTotal() *BasicUnitConfig

func (*RateDefinitionConfig) GetSystemMessageSmsUnits

func (x *RateDefinitionConfig) GetSystemMessageSmsUnits() *BasicConfig

func (*RateDefinitionConfig) ProtoMessage

func (*RateDefinitionConfig) ProtoMessage()

func (*RateDefinitionConfig) ProtoReflect

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

func (*RateDefinitionConfig) Reset

func (x *RateDefinitionConfig) Reset()

func (*RateDefinitionConfig) String

func (x *RateDefinitionConfig) String() string

type RateDefinitionConfigType

type RateDefinitionConfigType int32

RateDefinitionConfigType defines the type of configuration for a rate definition.

const (
	RateDefinitionConfigType_RATE_DEFINITION_CONFIG_TYPE_UNSPECIFIED RateDefinitionConfigType = 0
	RateDefinitionConfigType_RATE_DEFINITION_CONFIG_TYPE_NOOP        RateDefinitionConfigType = 1
	// omni config types (1000-1999)
	RateDefinitionConfigType_RATE_DEFINITION_CONFIG_TYPE_OMNI_AGENT_SEATS                       RateDefinitionConfigType = 1000
	RateDefinitionConfigType_RATE_DEFINITION_CONFIG_TYPE_OMNI_CONNECTED_INBOX_POLL              RateDefinitionConfigType = 1500
	RateDefinitionConfigType_RATE_DEFINITION_CONFIG_TYPE_OMNI_CONNECTED_INBOX_CREATED           RateDefinitionConfigType = 1501
	RateDefinitionConfigType_RATE_DEFINITION_CONFIG_TYPE_OMNI_AGENT_MESSAGE_CHAT                RateDefinitionConfigType = 1600
	RateDefinitionConfigType_RATE_DEFINITION_CONFIG_TYPE_OMNI_AGENT_MESSAGE_CHAT_SIZE           RateDefinitionConfigType = 1601
	RateDefinitionConfigType_RATE_DEFINITION_CONFIG_TYPE_OMNI_AGENT_MESSAGE_CHAT_UNITS          RateDefinitionConfigType = 1602
	RateDefinitionConfigType_RATE_DEFINITION_CONFIG_TYPE_OMNI_AGENT_MESSAGE_CHAT_SIZE_TOTAL     RateDefinitionConfigType = 1603
	RateDefinitionConfigType_RATE_DEFINITION_CONFIG_TYPE_OMNI_AGENT_MESSAGE_EMAIL               RateDefinitionConfigType = 1610
	RateDefinitionConfigType_RATE_DEFINITION_CONFIG_TYPE_OMNI_AGENT_MESSAGE_EMAIL_SIZE          RateDefinitionConfigType = 1611
	RateDefinitionConfigType_RATE_DEFINITION_CONFIG_TYPE_OMNI_AGENT_MESSAGE_EMAIL_UNITS         RateDefinitionConfigType = 1612
	RateDefinitionConfigType_RATE_DEFINITION_CONFIG_TYPE_OMNI_AGENT_MESSAGE_EMAIL_SIZE_TOTAL    RateDefinitionConfigType = 1613
	RateDefinitionConfigType_RATE_DEFINITION_CONFIG_TYPE_OMNI_AGENT_MESSAGE_SMS                 RateDefinitionConfigType = 1620
	RateDefinitionConfigType_RATE_DEFINITION_CONFIG_TYPE_OMNI_AGENT_MESSAGE_SMS_SIZE            RateDefinitionConfigType = 1621
	RateDefinitionConfigType_RATE_DEFINITION_CONFIG_TYPE_OMNI_AGENT_MESSAGE_SMS_UNITS           RateDefinitionConfigType = 1622
	RateDefinitionConfigType_RATE_DEFINITION_CONFIG_TYPE_OMNI_AGENT_MESSAGE_SMS_SIZE_TOTAL      RateDefinitionConfigType = 1623
	RateDefinitionConfigType_RATE_DEFINITION_CONFIG_TYPE_OMNI_MANAGER_MESSAGE_CHAT              RateDefinitionConfigType = 1700
	RateDefinitionConfigType_RATE_DEFINITION_CONFIG_TYPE_OMNI_MANAGER_MESSAGE_CHAT_SIZE         RateDefinitionConfigType = 1701
	RateDefinitionConfigType_RATE_DEFINITION_CONFIG_TYPE_OMNI_MANAGER_MESSAGE_CHAT_UNITS        RateDefinitionConfigType = 1702
	RateDefinitionConfigType_RATE_DEFINITION_CONFIG_TYPE_OMNI_MANAGER_MESSAGE_CHAT_SIZE_TOTAL   RateDefinitionConfigType = 1703
	RateDefinitionConfigType_RATE_DEFINITION_CONFIG_TYPE_OMNI_MANAGER_MESSAGE_EMAIL             RateDefinitionConfigType = 1710
	RateDefinitionConfigType_RATE_DEFINITION_CONFIG_TYPE_OMNI_MANAGER_MESSAGE_EMAIL_SIZE        RateDefinitionConfigType = 1711
	RateDefinitionConfigType_RATE_DEFINITION_CONFIG_TYPE_OMNI_MANAGER_MESSAGE_EMAIL_UNITS       RateDefinitionConfigType = 1712
	RateDefinitionConfigType_RATE_DEFINITION_CONFIG_TYPE_OMNI_MANAGER_MESSAGE_EMAIL_SIZE_TOTAL  RateDefinitionConfigType = 1713
	RateDefinitionConfigType_RATE_DEFINITION_CONFIG_TYPE_OMNI_MANAGER_MESSAGE_SMS               RateDefinitionConfigType = 1720
	RateDefinitionConfigType_RATE_DEFINITION_CONFIG_TYPE_OMNI_MANAGER_MESSAGE_SMS_SIZE          RateDefinitionConfigType = 1721
	RateDefinitionConfigType_RATE_DEFINITION_CONFIG_TYPE_OMNI_MANAGER_MESSAGE_SMS_UNITS         RateDefinitionConfigType = 1722
	RateDefinitionConfigType_RATE_DEFINITION_CONFIG_TYPE_OMNI_MANAGER_MESSAGE_SMS_SIZE_TOTAL    RateDefinitionConfigType = 1723
	RateDefinitionConfigType_RATE_DEFINITION_CONFIG_TYPE_OMNI_SYSTEM_MESSAGE_CHAT               RateDefinitionConfigType = 1800
	RateDefinitionConfigType_RATE_DEFINITION_CONFIG_TYPE_OMNI_SYSTEM_MESSAGE_CHAT_SIZE          RateDefinitionConfigType = 1801
	RateDefinitionConfigType_RATE_DEFINITION_CONFIG_TYPE_OMNI_SYSTEM_MESSAGE_CHAT_UNITS         RateDefinitionConfigType = 1802
	RateDefinitionConfigType_RATE_DEFINITION_CONFIG_TYPE_OMNI_SYSTEM_MESSAGE_CHAT_SIZE_TOTAL    RateDefinitionConfigType = 1803
	RateDefinitionConfigType_RATE_DEFINITION_CONFIG_TYPE_OMNI_SYSTEM_MESSAGE_EMAIL              RateDefinitionConfigType = 1810
	RateDefinitionConfigType_RATE_DEFINITION_CONFIG_TYPE_OMNI_SYSTEM_MESSAGE_EMAIL_SIZE         RateDefinitionConfigType = 1811
	RateDefinitionConfigType_RATE_DEFINITION_CONFIG_TYPE_OMNI_SYSTEM_MESSAGE_EMAIL_UNITS        RateDefinitionConfigType = 1812
	RateDefinitionConfigType_RATE_DEFINITION_CONFIG_TYPE_OMNI_SYSTEM_MESSAGE_EMAIL_SIZE_TOTAL   RateDefinitionConfigType = 1813
	RateDefinitionConfigType_RATE_DEFINITION_CONFIG_TYPE_OMNI_SYSTEM_MESSAGE_SMS                RateDefinitionConfigType = 1820
	RateDefinitionConfigType_RATE_DEFINITION_CONFIG_TYPE_OMNI_SYSTEM_MESSAGE_SMS_SIZE           RateDefinitionConfigType = 1821
	RateDefinitionConfigType_RATE_DEFINITION_CONFIG_TYPE_OMNI_SYSTEM_MESSAGE_SMS_UNITS          RateDefinitionConfigType = 1822
	RateDefinitionConfigType_RATE_DEFINITION_CONFIG_TYPE_OMNI_SYSTEM_MESSAGE_SMS_SIZE_TOTAL     RateDefinitionConfigType = 1823
	RateDefinitionConfigType_RATE_DEFINITION_CONFIG_TYPE_OMNI_CUSTOMER_MESSAGE_CHAT             RateDefinitionConfigType = 1900
	RateDefinitionConfigType_RATE_DEFINITION_CONFIG_TYPE_OMNI_CUSTOMER_MESSAGE_CHAT_SIZE        RateDefinitionConfigType = 1901
	RateDefinitionConfigType_RATE_DEFINITION_CONFIG_TYPE_OMNI_CUSTOMER_MESSAGE_CHAT_UNITS       RateDefinitionConfigType = 1902
	RateDefinitionConfigType_RATE_DEFINITION_CONFIG_TYPE_OMNI_CUSTOMER_MESSAGE_CHAT_SIZE_TOTAL  RateDefinitionConfigType = 1903
	RateDefinitionConfigType_RATE_DEFINITION_CONFIG_TYPE_OMNI_CUSTOMER_MESSAGE_EMAIL            RateDefinitionConfigType = 1910
	RateDefinitionConfigType_RATE_DEFINITION_CONFIG_TYPE_OMNI_CUSTOMER_MESSAGE_EMAIL_SIZE       RateDefinitionConfigType = 1911
	RateDefinitionConfigType_RATE_DEFINITION_CONFIG_TYPE_OMNI_CUSTOMER_MESSAGE_EMAIL_UNITS      RateDefinitionConfigType = 1912
	RateDefinitionConfigType_RATE_DEFINITION_CONFIG_TYPE_OMNI_CUSTOMER_MESSAGE_EMAIL_SIZE_TOTAL RateDefinitionConfigType = 1913
	RateDefinitionConfigType_RATE_DEFINITION_CONFIG_TYPE_OMNI_CUSTOMER_MESSAGE_SMS              RateDefinitionConfigType = 1920
	RateDefinitionConfigType_RATE_DEFINITION_CONFIG_TYPE_OMNI_CUSTOMER_MESSAGE_SMS_SIZE         RateDefinitionConfigType = 1921
	RateDefinitionConfigType_RATE_DEFINITION_CONFIG_TYPE_OMNI_CUSTOMER_MESSAGE_SMS_UNITS        RateDefinitionConfigType = 1922
	RateDefinitionConfigType_RATE_DEFINITION_CONFIG_TYPE_OMNI_CUSTOMER_MESSAGE_SMS_SIZE_TOTAL   RateDefinitionConfigType = 1923
	// compliance config types (2000-2999)
	RateDefinitionConfigType_RATE_DEFINITION_CONFIG_TYPE_COMPLIANCE_RND_QUERY        RateDefinitionConfigType = 2000
	RateDefinitionConfigType_RATE_DEFINITION_CONFIG_TYPE_COMPLIANCE_RND_QUERY_CACHED RateDefinitionConfigType = 2001
)

func (RateDefinitionConfigType) Descriptor

func (RateDefinitionConfigType) Enum

func (RateDefinitionConfigType) EnumDescriptor deprecated

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

Deprecated: Use RateDefinitionConfigType.Descriptor instead.

func (RateDefinitionConfigType) Number

func (RateDefinitionConfigType) String

func (x RateDefinitionConfigType) String() string

func (RateDefinitionConfigType) Type

type RateDefinitionConfig_AgentMessageChat

type RateDefinitionConfig_AgentMessageChat struct {
	AgentMessageChat *BasicConfig `protobuf:"bytes,1600,opt,name=agent_message_chat,json=agentMessageChat,proto3,oneof"`
}

type RateDefinitionConfig_AgentMessageChatSize

type RateDefinitionConfig_AgentMessageChatSize struct {
	AgentMessageChatSize *BasicUnitConfig `protobuf:"bytes,1601,opt,name=agent_message_chat_size,json=agentMessageChatSize,proto3,oneof"`
}

type RateDefinitionConfig_AgentMessageChatSizeTotal added in v1.7.80

type RateDefinitionConfig_AgentMessageChatSizeTotal struct {
	AgentMessageChatSizeTotal *BasicUnitConfig `protobuf:"bytes,1603,opt,name=agent_message_chat_size_total,json=agentMessageChatSizeTotal,proto3,oneof"`
}

type RateDefinitionConfig_AgentMessageChatUnits

type RateDefinitionConfig_AgentMessageChatUnits struct {
	AgentMessageChatUnits *BasicConfig `protobuf:"bytes,1602,opt,name=agent_message_chat_units,json=agentMessageChatUnits,proto3,oneof"`
}

type RateDefinitionConfig_AgentMessageEmail

type RateDefinitionConfig_AgentMessageEmail struct {
	AgentMessageEmail *BasicConfig `protobuf:"bytes,1610,opt,name=agent_message_email,json=agentMessageEmail,proto3,oneof"`
}

type RateDefinitionConfig_AgentMessageEmailSize

type RateDefinitionConfig_AgentMessageEmailSize struct {
	AgentMessageEmailSize *BasicUnitConfig `protobuf:"bytes,1611,opt,name=agent_message_email_size,json=agentMessageEmailSize,proto3,oneof"`
}

type RateDefinitionConfig_AgentMessageEmailSizeTotal added in v1.7.80

type RateDefinitionConfig_AgentMessageEmailSizeTotal struct {
	AgentMessageEmailSizeTotal *BasicUnitConfig `protobuf:"bytes,1613,opt,name=agent_message_email_size_total,json=agentMessageEmailSizeTotal,proto3,oneof"`
}

type RateDefinitionConfig_AgentMessageEmailUnits

type RateDefinitionConfig_AgentMessageEmailUnits struct {
	AgentMessageEmailUnits *BasicConfig `protobuf:"bytes,1612,opt,name=agent_message_email_units,json=agentMessageEmailUnits,proto3,oneof"`
}

type RateDefinitionConfig_AgentMessageSms

type RateDefinitionConfig_AgentMessageSms struct {
	AgentMessageSms *BasicConfig `protobuf:"bytes,1620,opt,name=agent_message_sms,json=agentMessageSms,proto3,oneof"`
}

type RateDefinitionConfig_AgentMessageSmsSize

type RateDefinitionConfig_AgentMessageSmsSize struct {
	AgentMessageSmsSize *BasicUnitConfig `protobuf:"bytes,1621,opt,name=agent_message_sms_size,json=agentMessageSmsSize,proto3,oneof"`
}

type RateDefinitionConfig_AgentMessageSmsSizeTotal added in v1.7.80

type RateDefinitionConfig_AgentMessageSmsSizeTotal struct {
	AgentMessageSmsSizeTotal *BasicUnitConfig `protobuf:"bytes,1623,opt,name=agent_message_sms_size_total,json=agentMessageSmsSizeTotal,proto3,oneof"`
}

type RateDefinitionConfig_AgentMessageSmsUnits

type RateDefinitionConfig_AgentMessageSmsUnits struct {
	AgentMessageSmsUnits *BasicConfig `protobuf:"bytes,1622,opt,name=agent_message_sms_units,json=agentMessageSmsUnits,proto3,oneof"`
}

type RateDefinitionConfig_AgentSeats

type RateDefinitionConfig_AgentSeats struct {
	// omni (1000 - 1999)
	AgentSeats *BasicConfig `protobuf:"bytes,1000,opt,name=agent_seats,json=agentSeats,proto3,oneof"`
}

type RateDefinitionConfig_ComplianceRndQuery

type RateDefinitionConfig_ComplianceRndQuery struct {
	// compliance configs (2000 - 2999)
	ComplianceRndQuery *BasicConfig `protobuf:"bytes,2000,opt,name=compliance_rnd_query,json=complianceRndQuery,proto3,oneof"`
}

type RateDefinitionConfig_ComplianceRndQueryCached

type RateDefinitionConfig_ComplianceRndQueryCached struct {
	ComplianceRndQueryCached *BasicConfig `protobuf:"bytes,2001,opt,name=compliance_rnd_query_cached,json=complianceRndQueryCached,proto3,oneof"`
}

type RateDefinitionConfig_ConnectedInboxCreated

type RateDefinitionConfig_ConnectedInboxCreated struct {
	ConnectedInboxCreated *BasicConfig `protobuf:"bytes,1501,opt,name=connected_inbox_created,json=connectedInboxCreated,proto3,oneof"`
}

type RateDefinitionConfig_ConnectedInboxPoll

type RateDefinitionConfig_ConnectedInboxPoll struct {
	ConnectedInboxPoll *BasicConfig `protobuf:"bytes,1500,opt,name=connected_inbox_poll,json=connectedInboxPoll,proto3,oneof"`
}

type RateDefinitionConfig_CustomerMessageChat

type RateDefinitionConfig_CustomerMessageChat struct {
	CustomerMessageChat *BasicConfig `protobuf:"bytes,1900,opt,name=customer_message_chat,json=customerMessageChat,proto3,oneof"`
}

type RateDefinitionConfig_CustomerMessageChatSize

type RateDefinitionConfig_CustomerMessageChatSize struct {
	CustomerMessageChatSize *BasicUnitConfig `protobuf:"bytes,1901,opt,name=customer_message_chat_size,json=customerMessageChatSize,proto3,oneof"`
}

type RateDefinitionConfig_CustomerMessageChatSizeTotal added in v1.7.80

type RateDefinitionConfig_CustomerMessageChatSizeTotal struct {
	CustomerMessageChatSizeTotal *BasicUnitConfig `protobuf:"bytes,1903,opt,name=customer_message_chat_size_total,json=customerMessageChatSizeTotal,proto3,oneof"`
}

type RateDefinitionConfig_CustomerMessageChatUnits

type RateDefinitionConfig_CustomerMessageChatUnits struct {
	CustomerMessageChatUnits *BasicConfig `protobuf:"bytes,1902,opt,name=customer_message_chat_units,json=customerMessageChatUnits,proto3,oneof"`
}

type RateDefinitionConfig_CustomerMessageEmail

type RateDefinitionConfig_CustomerMessageEmail struct {
	CustomerMessageEmail *BasicConfig `protobuf:"bytes,1910,opt,name=customer_message_email,json=customerMessageEmail,proto3,oneof"`
}

type RateDefinitionConfig_CustomerMessageEmailSize

type RateDefinitionConfig_CustomerMessageEmailSize struct {
	CustomerMessageEmailSize *BasicUnitConfig `protobuf:"bytes,1911,opt,name=customer_message_email_size,json=customerMessageEmailSize,proto3,oneof"`
}

type RateDefinitionConfig_CustomerMessageEmailSizeTotal added in v1.7.80

type RateDefinitionConfig_CustomerMessageEmailSizeTotal struct {
	CustomerMessageEmailSizeTotal *BasicUnitConfig `protobuf:"bytes,1913,opt,name=customer_message_email_size_total,json=customerMessageEmailSizeTotal,proto3,oneof"`
}

type RateDefinitionConfig_CustomerMessageEmailUnits

type RateDefinitionConfig_CustomerMessageEmailUnits struct {
	CustomerMessageEmailUnits *BasicConfig `protobuf:"bytes,1912,opt,name=customer_message_email_units,json=customerMessageEmailUnits,proto3,oneof"`
}

type RateDefinitionConfig_CustomerMessageSms

type RateDefinitionConfig_CustomerMessageSms struct {
	CustomerMessageSms *BasicConfig `protobuf:"bytes,1920,opt,name=customer_message_sms,json=customerMessageSms,proto3,oneof"`
}

type RateDefinitionConfig_CustomerMessageSmsSize

type RateDefinitionConfig_CustomerMessageSmsSize struct {
	CustomerMessageSmsSize *BasicUnitConfig `protobuf:"bytes,1921,opt,name=customer_message_sms_size,json=customerMessageSmsSize,proto3,oneof"`
}

type RateDefinitionConfig_CustomerMessageSmsSizeTotal added in v1.7.80

type RateDefinitionConfig_CustomerMessageSmsSizeTotal struct {
	CustomerMessageSmsSizeTotal *BasicUnitConfig `protobuf:"bytes,1923,opt,name=customer_message_sms_size_total,json=customerMessageSmsSizeTotal,proto3,oneof"`
}

type RateDefinitionConfig_CustomerMessageSmsUnits

type RateDefinitionConfig_CustomerMessageSmsUnits struct {
	CustomerMessageSmsUnits *BasicConfig `protobuf:"bytes,1922,opt,name=customer_message_sms_units,json=customerMessageSmsUnits,proto3,oneof"`
}

type RateDefinitionConfig_ManagerMessageChat

type RateDefinitionConfig_ManagerMessageChat struct {
	ManagerMessageChat *BasicConfig `protobuf:"bytes,1700,opt,name=manager_message_chat,json=managerMessageChat,proto3,oneof"`
}

type RateDefinitionConfig_ManagerMessageChatSize

type RateDefinitionConfig_ManagerMessageChatSize struct {
	ManagerMessageChatSize *BasicUnitConfig `protobuf:"bytes,1701,opt,name=manager_message_chat_size,json=managerMessageChatSize,proto3,oneof"`
}

type RateDefinitionConfig_ManagerMessageChatSizeTotal added in v1.7.80

type RateDefinitionConfig_ManagerMessageChatSizeTotal struct {
	ManagerMessageChatSizeTotal *BasicUnitConfig `protobuf:"bytes,1703,opt,name=manager_message_chat_size_total,json=managerMessageChatSizeTotal,proto3,oneof"`
}

type RateDefinitionConfig_ManagerMessageChatUnits

type RateDefinitionConfig_ManagerMessageChatUnits struct {
	ManagerMessageChatUnits *BasicConfig `protobuf:"bytes,1702,opt,name=manager_message_chat_units,json=managerMessageChatUnits,proto3,oneof"`
}

type RateDefinitionConfig_ManagerMessageEmail

type RateDefinitionConfig_ManagerMessageEmail struct {
	ManagerMessageEmail *BasicConfig `protobuf:"bytes,1710,opt,name=manager_message_email,json=managerMessageEmail,proto3,oneof"`
}

type RateDefinitionConfig_ManagerMessageEmailSize

type RateDefinitionConfig_ManagerMessageEmailSize struct {
	ManagerMessageEmailSize *BasicUnitConfig `protobuf:"bytes,1711,opt,name=manager_message_email_size,json=managerMessageEmailSize,proto3,oneof"`
}

type RateDefinitionConfig_ManagerMessageEmailSizeTotal added in v1.7.80

type RateDefinitionConfig_ManagerMessageEmailSizeTotal struct {
	ManagerMessageEmailSizeTotal *BasicUnitConfig `protobuf:"bytes,1713,opt,name=manager_message_email_size_total,json=managerMessageEmailSizeTotal,proto3,oneof"`
}

type RateDefinitionConfig_ManagerMessageEmailUnits

type RateDefinitionConfig_ManagerMessageEmailUnits struct {
	ManagerMessageEmailUnits *BasicConfig `protobuf:"bytes,1712,opt,name=manager_message_email_units,json=managerMessageEmailUnits,proto3,oneof"`
}

type RateDefinitionConfig_ManagerMessageSms

type RateDefinitionConfig_ManagerMessageSms struct {
	ManagerMessageSms *BasicConfig `protobuf:"bytes,1720,opt,name=manager_message_sms,json=managerMessageSms,proto3,oneof"`
}

type RateDefinitionConfig_ManagerMessageSmsSize

type RateDefinitionConfig_ManagerMessageSmsSize struct {
	ManagerMessageSmsSize *BasicUnitConfig `protobuf:"bytes,1721,opt,name=manager_message_sms_size,json=managerMessageSmsSize,proto3,oneof"`
}

type RateDefinitionConfig_ManagerMessageSmsSizeTotal added in v1.7.80

type RateDefinitionConfig_ManagerMessageSmsSizeTotal struct {
	ManagerMessageSmsSizeTotal *BasicUnitConfig `protobuf:"bytes,1723,opt,name=manager_message_sms_size_total,json=managerMessageSmsSizeTotal,proto3,oneof"`
}

type RateDefinitionConfig_ManagerMessageSmsUnits

type RateDefinitionConfig_ManagerMessageSmsUnits struct {
	ManagerMessageSmsUnits *BasicConfig `protobuf:"bytes,1722,opt,name=manager_message_sms_units,json=managerMessageSmsUnits,proto3,oneof"`
}

type RateDefinitionConfig_SystemMessageChat

type RateDefinitionConfig_SystemMessageChat struct {
	SystemMessageChat *BasicConfig `protobuf:"bytes,1800,opt,name=system_message_chat,json=systemMessageChat,proto3,oneof"`
}

type RateDefinitionConfig_SystemMessageChatSize

type RateDefinitionConfig_SystemMessageChatSize struct {
	SystemMessageChatSize *BasicUnitConfig `protobuf:"bytes,1801,opt,name=system_message_chat_size,json=systemMessageChatSize,proto3,oneof"`
}

type RateDefinitionConfig_SystemMessageChatSizeTotal added in v1.7.80

type RateDefinitionConfig_SystemMessageChatSizeTotal struct {
	SystemMessageChatSizeTotal *BasicUnitConfig `protobuf:"bytes,1803,opt,name=system_message_chat_size_total,json=systemMessageChatSizeTotal,proto3,oneof"`
}

type RateDefinitionConfig_SystemMessageChatUnits

type RateDefinitionConfig_SystemMessageChatUnits struct {
	SystemMessageChatUnits *BasicConfig `protobuf:"bytes,1802,opt,name=system_message_chat_units,json=systemMessageChatUnits,proto3,oneof"`
}

type RateDefinitionConfig_SystemMessageEmail

type RateDefinitionConfig_SystemMessageEmail struct {
	SystemMessageEmail *BasicConfig `protobuf:"bytes,1810,opt,name=system_message_email,json=systemMessageEmail,proto3,oneof"`
}

type RateDefinitionConfig_SystemMessageEmailSize

type RateDefinitionConfig_SystemMessageEmailSize struct {
	SystemMessageEmailSize *BasicUnitConfig `protobuf:"bytes,1811,opt,name=system_message_email_size,json=systemMessageEmailSize,proto3,oneof"`
}

type RateDefinitionConfig_SystemMessageEmailSizeTotal added in v1.7.80

type RateDefinitionConfig_SystemMessageEmailSizeTotal struct {
	SystemMessageEmailSizeTotal *BasicUnitConfig `protobuf:"bytes,1813,opt,name=system_message_email_size_total,json=systemMessageEmailSizeTotal,proto3,oneof"`
}

type RateDefinitionConfig_SystemMessageEmailUnits

type RateDefinitionConfig_SystemMessageEmailUnits struct {
	SystemMessageEmailUnits *BasicConfig `protobuf:"bytes,1812,opt,name=system_message_email_units,json=systemMessageEmailUnits,proto3,oneof"`
}

type RateDefinitionConfig_SystemMessageSms

type RateDefinitionConfig_SystemMessageSms struct {
	SystemMessageSms *BasicConfig `protobuf:"bytes,1820,opt,name=system_message_sms,json=systemMessageSms,proto3,oneof"`
}

type RateDefinitionConfig_SystemMessageSmsSize

type RateDefinitionConfig_SystemMessageSmsSize struct {
	SystemMessageSmsSize *BasicUnitConfig `protobuf:"bytes,1821,opt,name=system_message_sms_size,json=systemMessageSmsSize,proto3,oneof"`
}

type RateDefinitionConfig_SystemMessageSmsSizeTotal added in v1.7.80

type RateDefinitionConfig_SystemMessageSmsSizeTotal struct {
	SystemMessageSmsSizeTotal *BasicUnitConfig `protobuf:"bytes,1823,opt,name=system_message_sms_size_total,json=systemMessageSmsSizeTotal,proto3,oneof"`
}

type RateDefinitionConfig_SystemMessageSmsUnits

type RateDefinitionConfig_SystemMessageSmsUnits struct {
	SystemMessageSmsUnits *BasicConfig `protobuf:"bytes,1822,opt,name=system_message_sms_units,json=systemMessageSmsUnits,proto3,oneof"`
}

type RateSnapshot

type RateSnapshot struct {
	StartDate *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=start_date,json=startDate,proto3" json:"start_date,omitempty"`
	EndDate   *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end_date,json=endDate,proto3" json:"end_date,omitempty"`
	Rates     []*RateDefinition      `protobuf:"bytes,3,rep,name=rates,proto3" json:"rates,omitempty"`
	UserId    string                 `protobuf:"bytes,4,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	// contains filtered or unexported fields
}

RateSnapshot represents a snapshot of rates for a given time period.

func (*RateSnapshot) Descriptor deprecated

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

Deprecated: Use RateSnapshot.ProtoReflect.Descriptor instead.

func (*RateSnapshot) GetEndDate

func (x *RateSnapshot) GetEndDate() *timestamppb.Timestamp

func (*RateSnapshot) GetRates

func (x *RateSnapshot) GetRates() []*RateDefinition

func (*RateSnapshot) GetStartDate

func (x *RateSnapshot) GetStartDate() *timestamppb.Timestamp

func (*RateSnapshot) GetUserId added in v1.7.82

func (x *RateSnapshot) GetUserId() string

func (*RateSnapshot) ProtoMessage

func (*RateSnapshot) ProtoMessage()

func (*RateSnapshot) ProtoReflect

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

func (*RateSnapshot) Reset

func (x *RateSnapshot) Reset()

func (*RateSnapshot) String

func (x *RateSnapshot) String() string

Jump to

Keyboard shortcuts

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