feat: add notification events handling and MQTT integration
- Implemented notification event publishing with a new NotificationEventPublisher interface. - Created a noopNotificationEventPublisher for testing purposes. - Added functionality to publish notification created events via MQTT. - Introduced a new stream event publisher for handling job logs and updates. - Added database migration for popup_ads table. - Created tests for notification events and popup ads functionality. - Established MQTT connection and publishing helpers for event messages.
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -45,6 +45,11 @@ const (
|
||||
Admin_CreateAdminAdTemplate_FullMethodName = "/stream.app.v1.Admin/CreateAdminAdTemplate"
|
||||
Admin_UpdateAdminAdTemplate_FullMethodName = "/stream.app.v1.Admin/UpdateAdminAdTemplate"
|
||||
Admin_DeleteAdminAdTemplate_FullMethodName = "/stream.app.v1.Admin/DeleteAdminAdTemplate"
|
||||
Admin_ListAdminPopupAds_FullMethodName = "/stream.app.v1.Admin/ListAdminPopupAds"
|
||||
Admin_GetAdminPopupAd_FullMethodName = "/stream.app.v1.Admin/GetAdminPopupAd"
|
||||
Admin_CreateAdminPopupAd_FullMethodName = "/stream.app.v1.Admin/CreateAdminPopupAd"
|
||||
Admin_UpdateAdminPopupAd_FullMethodName = "/stream.app.v1.Admin/UpdateAdminPopupAd"
|
||||
Admin_DeleteAdminPopupAd_FullMethodName = "/stream.app.v1.Admin/DeleteAdminPopupAd"
|
||||
Admin_ListAdminPlayerConfigs_FullMethodName = "/stream.app.v1.Admin/ListAdminPlayerConfigs"
|
||||
Admin_GetAdminPlayerConfig_FullMethodName = "/stream.app.v1.Admin/GetAdminPlayerConfig"
|
||||
Admin_CreateAdminPlayerConfig_FullMethodName = "/stream.app.v1.Admin/CreateAdminPlayerConfig"
|
||||
@@ -91,6 +96,11 @@ type AdminClient interface {
|
||||
CreateAdminAdTemplate(ctx context.Context, in *CreateAdminAdTemplateRequest, opts ...grpc.CallOption) (*CreateAdminAdTemplateResponse, error)
|
||||
UpdateAdminAdTemplate(ctx context.Context, in *UpdateAdminAdTemplateRequest, opts ...grpc.CallOption) (*UpdateAdminAdTemplateResponse, error)
|
||||
DeleteAdminAdTemplate(ctx context.Context, in *DeleteAdminAdTemplateRequest, opts ...grpc.CallOption) (*MessageResponse, error)
|
||||
ListAdminPopupAds(ctx context.Context, in *ListAdminPopupAdsRequest, opts ...grpc.CallOption) (*ListAdminPopupAdsResponse, error)
|
||||
GetAdminPopupAd(ctx context.Context, in *GetAdminPopupAdRequest, opts ...grpc.CallOption) (*GetAdminPopupAdResponse, error)
|
||||
CreateAdminPopupAd(ctx context.Context, in *CreateAdminPopupAdRequest, opts ...grpc.CallOption) (*CreateAdminPopupAdResponse, error)
|
||||
UpdateAdminPopupAd(ctx context.Context, in *UpdateAdminPopupAdRequest, opts ...grpc.CallOption) (*UpdateAdminPopupAdResponse, error)
|
||||
DeleteAdminPopupAd(ctx context.Context, in *DeleteAdminPopupAdRequest, opts ...grpc.CallOption) (*MessageResponse, error)
|
||||
ListAdminPlayerConfigs(ctx context.Context, in *ListAdminPlayerConfigsRequest, opts ...grpc.CallOption) (*ListAdminPlayerConfigsResponse, error)
|
||||
GetAdminPlayerConfig(ctx context.Context, in *GetAdminPlayerConfigRequest, opts ...grpc.CallOption) (*GetAdminPlayerConfigResponse, error)
|
||||
CreateAdminPlayerConfig(ctx context.Context, in *CreateAdminPlayerConfigRequest, opts ...grpc.CallOption) (*CreateAdminPlayerConfigResponse, error)
|
||||
@@ -375,6 +385,56 @@ func (c *adminClient) DeleteAdminAdTemplate(ctx context.Context, in *DeleteAdmin
|
||||
return out, nil
|
||||
}
|
||||
|
||||
func (c *adminClient) ListAdminPopupAds(ctx context.Context, in *ListAdminPopupAdsRequest, opts ...grpc.CallOption) (*ListAdminPopupAdsResponse, error) {
|
||||
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
||||
out := new(ListAdminPopupAdsResponse)
|
||||
err := c.cc.Invoke(ctx, Admin_ListAdminPopupAds_FullMethodName, in, out, cOpts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
func (c *adminClient) GetAdminPopupAd(ctx context.Context, in *GetAdminPopupAdRequest, opts ...grpc.CallOption) (*GetAdminPopupAdResponse, error) {
|
||||
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
||||
out := new(GetAdminPopupAdResponse)
|
||||
err := c.cc.Invoke(ctx, Admin_GetAdminPopupAd_FullMethodName, in, out, cOpts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
func (c *adminClient) CreateAdminPopupAd(ctx context.Context, in *CreateAdminPopupAdRequest, opts ...grpc.CallOption) (*CreateAdminPopupAdResponse, error) {
|
||||
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
||||
out := new(CreateAdminPopupAdResponse)
|
||||
err := c.cc.Invoke(ctx, Admin_CreateAdminPopupAd_FullMethodName, in, out, cOpts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
func (c *adminClient) UpdateAdminPopupAd(ctx context.Context, in *UpdateAdminPopupAdRequest, opts ...grpc.CallOption) (*UpdateAdminPopupAdResponse, error) {
|
||||
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
||||
out := new(UpdateAdminPopupAdResponse)
|
||||
err := c.cc.Invoke(ctx, Admin_UpdateAdminPopupAd_FullMethodName, in, out, cOpts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
func (c *adminClient) DeleteAdminPopupAd(ctx context.Context, in *DeleteAdminPopupAdRequest, opts ...grpc.CallOption) (*MessageResponse, error) {
|
||||
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
||||
out := new(MessageResponse)
|
||||
err := c.cc.Invoke(ctx, Admin_DeleteAdminPopupAd_FullMethodName, in, out, cOpts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
func (c *adminClient) ListAdminPlayerConfigs(ctx context.Context, in *ListAdminPlayerConfigsRequest, opts ...grpc.CallOption) (*ListAdminPlayerConfigsResponse, error) {
|
||||
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
||||
out := new(ListAdminPlayerConfigsResponse)
|
||||
@@ -545,6 +605,11 @@ type AdminServer interface {
|
||||
CreateAdminAdTemplate(context.Context, *CreateAdminAdTemplateRequest) (*CreateAdminAdTemplateResponse, error)
|
||||
UpdateAdminAdTemplate(context.Context, *UpdateAdminAdTemplateRequest) (*UpdateAdminAdTemplateResponse, error)
|
||||
DeleteAdminAdTemplate(context.Context, *DeleteAdminAdTemplateRequest) (*MessageResponse, error)
|
||||
ListAdminPopupAds(context.Context, *ListAdminPopupAdsRequest) (*ListAdminPopupAdsResponse, error)
|
||||
GetAdminPopupAd(context.Context, *GetAdminPopupAdRequest) (*GetAdminPopupAdResponse, error)
|
||||
CreateAdminPopupAd(context.Context, *CreateAdminPopupAdRequest) (*CreateAdminPopupAdResponse, error)
|
||||
UpdateAdminPopupAd(context.Context, *UpdateAdminPopupAdRequest) (*UpdateAdminPopupAdResponse, error)
|
||||
DeleteAdminPopupAd(context.Context, *DeleteAdminPopupAdRequest) (*MessageResponse, error)
|
||||
ListAdminPlayerConfigs(context.Context, *ListAdminPlayerConfigsRequest) (*ListAdminPlayerConfigsResponse, error)
|
||||
GetAdminPlayerConfig(context.Context, *GetAdminPlayerConfigRequest) (*GetAdminPlayerConfigResponse, error)
|
||||
CreateAdminPlayerConfig(context.Context, *CreateAdminPlayerConfigRequest) (*CreateAdminPlayerConfigResponse, error)
|
||||
@@ -647,6 +712,21 @@ func (UnimplementedAdminServer) UpdateAdminAdTemplate(context.Context, *UpdateAd
|
||||
func (UnimplementedAdminServer) DeleteAdminAdTemplate(context.Context, *DeleteAdminAdTemplateRequest) (*MessageResponse, error) {
|
||||
return nil, status.Error(codes.Unimplemented, "method DeleteAdminAdTemplate not implemented")
|
||||
}
|
||||
func (UnimplementedAdminServer) ListAdminPopupAds(context.Context, *ListAdminPopupAdsRequest) (*ListAdminPopupAdsResponse, error) {
|
||||
return nil, status.Error(codes.Unimplemented, "method ListAdminPopupAds not implemented")
|
||||
}
|
||||
func (UnimplementedAdminServer) GetAdminPopupAd(context.Context, *GetAdminPopupAdRequest) (*GetAdminPopupAdResponse, error) {
|
||||
return nil, status.Error(codes.Unimplemented, "method GetAdminPopupAd not implemented")
|
||||
}
|
||||
func (UnimplementedAdminServer) CreateAdminPopupAd(context.Context, *CreateAdminPopupAdRequest) (*CreateAdminPopupAdResponse, error) {
|
||||
return nil, status.Error(codes.Unimplemented, "method CreateAdminPopupAd not implemented")
|
||||
}
|
||||
func (UnimplementedAdminServer) UpdateAdminPopupAd(context.Context, *UpdateAdminPopupAdRequest) (*UpdateAdminPopupAdResponse, error) {
|
||||
return nil, status.Error(codes.Unimplemented, "method UpdateAdminPopupAd not implemented")
|
||||
}
|
||||
func (UnimplementedAdminServer) DeleteAdminPopupAd(context.Context, *DeleteAdminPopupAdRequest) (*MessageResponse, error) {
|
||||
return nil, status.Error(codes.Unimplemented, "method DeleteAdminPopupAd not implemented")
|
||||
}
|
||||
func (UnimplementedAdminServer) ListAdminPlayerConfigs(context.Context, *ListAdminPlayerConfigsRequest) (*ListAdminPlayerConfigsResponse, error) {
|
||||
return nil, status.Error(codes.Unimplemented, "method ListAdminPlayerConfigs not implemented")
|
||||
}
|
||||
@@ -1178,6 +1258,96 @@ func _Admin_DeleteAdminAdTemplate_Handler(srv interface{}, ctx context.Context,
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
func _Admin_ListAdminPopupAds_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(ListAdminPopupAdsRequest)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if interceptor == nil {
|
||||
return srv.(AdminServer).ListAdminPopupAds(ctx, in)
|
||||
}
|
||||
info := &grpc.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: Admin_ListAdminPopupAds_FullMethodName,
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(AdminServer).ListAdminPopupAds(ctx, req.(*ListAdminPopupAdsRequest))
|
||||
}
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
func _Admin_GetAdminPopupAd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(GetAdminPopupAdRequest)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if interceptor == nil {
|
||||
return srv.(AdminServer).GetAdminPopupAd(ctx, in)
|
||||
}
|
||||
info := &grpc.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: Admin_GetAdminPopupAd_FullMethodName,
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(AdminServer).GetAdminPopupAd(ctx, req.(*GetAdminPopupAdRequest))
|
||||
}
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
func _Admin_CreateAdminPopupAd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(CreateAdminPopupAdRequest)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if interceptor == nil {
|
||||
return srv.(AdminServer).CreateAdminPopupAd(ctx, in)
|
||||
}
|
||||
info := &grpc.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: Admin_CreateAdminPopupAd_FullMethodName,
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(AdminServer).CreateAdminPopupAd(ctx, req.(*CreateAdminPopupAdRequest))
|
||||
}
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
func _Admin_UpdateAdminPopupAd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(UpdateAdminPopupAdRequest)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if interceptor == nil {
|
||||
return srv.(AdminServer).UpdateAdminPopupAd(ctx, in)
|
||||
}
|
||||
info := &grpc.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: Admin_UpdateAdminPopupAd_FullMethodName,
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(AdminServer).UpdateAdminPopupAd(ctx, req.(*UpdateAdminPopupAdRequest))
|
||||
}
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
func _Admin_DeleteAdminPopupAd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(DeleteAdminPopupAdRequest)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if interceptor == nil {
|
||||
return srv.(AdminServer).DeleteAdminPopupAd(ctx, in)
|
||||
}
|
||||
info := &grpc.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: Admin_DeleteAdminPopupAd_FullMethodName,
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(AdminServer).DeleteAdminPopupAd(ctx, req.(*DeleteAdminPopupAdRequest))
|
||||
}
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
func _Admin_ListAdminPlayerConfigs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(ListAdminPlayerConfigsRequest)
|
||||
if err := dec(in); err != nil {
|
||||
@@ -1541,6 +1711,26 @@ var Admin_ServiceDesc = grpc.ServiceDesc{
|
||||
MethodName: "DeleteAdminAdTemplate",
|
||||
Handler: _Admin_DeleteAdminAdTemplate_Handler,
|
||||
},
|
||||
{
|
||||
MethodName: "ListAdminPopupAds",
|
||||
Handler: _Admin_ListAdminPopupAds_Handler,
|
||||
},
|
||||
{
|
||||
MethodName: "GetAdminPopupAd",
|
||||
Handler: _Admin_GetAdminPopupAd_Handler,
|
||||
},
|
||||
{
|
||||
MethodName: "CreateAdminPopupAd",
|
||||
Handler: _Admin_CreateAdminPopupAd_Handler,
|
||||
},
|
||||
{
|
||||
MethodName: "UpdateAdminPopupAd",
|
||||
Handler: _Admin_UpdateAdminPopupAd_Handler,
|
||||
},
|
||||
{
|
||||
MethodName: "DeleteAdminPopupAd",
|
||||
Handler: _Admin_DeleteAdminPopupAd_Handler,
|
||||
},
|
||||
{
|
||||
MethodName: "ListAdminPlayerConfigs",
|
||||
Handler: _Admin_ListAdminPlayerConfigs_Handler,
|
||||
|
||||
@@ -637,6 +637,498 @@ func (x *DeleteAdTemplateRequest) GetId() string {
|
||||
return ""
|
||||
}
|
||||
|
||||
type ListPopupAdsRequest struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
Page int32 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"`
|
||||
Limit int32 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *ListPopupAdsRequest) Reset() {
|
||||
*x = ListPopupAdsRequest{}
|
||||
mi := &file_app_v1_catalog_proto_msgTypes[12]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *ListPopupAdsRequest) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*ListPopupAdsRequest) ProtoMessage() {}
|
||||
|
||||
func (x *ListPopupAdsRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_app_v1_catalog_proto_msgTypes[12]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
return ms
|
||||
}
|
||||
return mi.MessageOf(x)
|
||||
}
|
||||
|
||||
// Deprecated: Use ListPopupAdsRequest.ProtoReflect.Descriptor instead.
|
||||
func (*ListPopupAdsRequest) Descriptor() ([]byte, []int) {
|
||||
return file_app_v1_catalog_proto_rawDescGZIP(), []int{12}
|
||||
}
|
||||
|
||||
func (x *ListPopupAdsRequest) GetPage() int32 {
|
||||
if x != nil {
|
||||
return x.Page
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *ListPopupAdsRequest) GetLimit() int32 {
|
||||
if x != nil {
|
||||
return x.Limit
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
type ListPopupAdsResponse struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
Items []*PopupAd `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
|
||||
Total int64 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"`
|
||||
Page int32 `protobuf:"varint,3,opt,name=page,proto3" json:"page,omitempty"`
|
||||
Limit int32 `protobuf:"varint,4,opt,name=limit,proto3" json:"limit,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *ListPopupAdsResponse) Reset() {
|
||||
*x = ListPopupAdsResponse{}
|
||||
mi := &file_app_v1_catalog_proto_msgTypes[13]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *ListPopupAdsResponse) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*ListPopupAdsResponse) ProtoMessage() {}
|
||||
|
||||
func (x *ListPopupAdsResponse) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_app_v1_catalog_proto_msgTypes[13]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
return ms
|
||||
}
|
||||
return mi.MessageOf(x)
|
||||
}
|
||||
|
||||
// Deprecated: Use ListPopupAdsResponse.ProtoReflect.Descriptor instead.
|
||||
func (*ListPopupAdsResponse) Descriptor() ([]byte, []int) {
|
||||
return file_app_v1_catalog_proto_rawDescGZIP(), []int{13}
|
||||
}
|
||||
|
||||
func (x *ListPopupAdsResponse) GetItems() []*PopupAd {
|
||||
if x != nil {
|
||||
return x.Items
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *ListPopupAdsResponse) GetTotal() int64 {
|
||||
if x != nil {
|
||||
return x.Total
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *ListPopupAdsResponse) GetPage() int32 {
|
||||
if x != nil {
|
||||
return x.Page
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *ListPopupAdsResponse) GetLimit() int32 {
|
||||
if x != nil {
|
||||
return x.Limit
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
type CreatePopupAdRequest struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
|
||||
Label string `protobuf:"bytes,2,opt,name=label,proto3" json:"label,omitempty"`
|
||||
Value string `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"`
|
||||
IsActive *bool `protobuf:"varint,4,opt,name=is_active,json=isActive,proto3,oneof" json:"is_active,omitempty"`
|
||||
MaxTriggersPerSession *int32 `protobuf:"varint,5,opt,name=max_triggers_per_session,json=maxTriggersPerSession,proto3,oneof" json:"max_triggers_per_session,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *CreatePopupAdRequest) Reset() {
|
||||
*x = CreatePopupAdRequest{}
|
||||
mi := &file_app_v1_catalog_proto_msgTypes[14]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *CreatePopupAdRequest) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*CreatePopupAdRequest) ProtoMessage() {}
|
||||
|
||||
func (x *CreatePopupAdRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_app_v1_catalog_proto_msgTypes[14]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
return ms
|
||||
}
|
||||
return mi.MessageOf(x)
|
||||
}
|
||||
|
||||
// Deprecated: Use CreatePopupAdRequest.ProtoReflect.Descriptor instead.
|
||||
func (*CreatePopupAdRequest) Descriptor() ([]byte, []int) {
|
||||
return file_app_v1_catalog_proto_rawDescGZIP(), []int{14}
|
||||
}
|
||||
|
||||
func (x *CreatePopupAdRequest) GetType() string {
|
||||
if x != nil {
|
||||
return x.Type
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *CreatePopupAdRequest) GetLabel() string {
|
||||
if x != nil {
|
||||
return x.Label
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *CreatePopupAdRequest) GetValue() string {
|
||||
if x != nil {
|
||||
return x.Value
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *CreatePopupAdRequest) GetIsActive() bool {
|
||||
if x != nil && x.IsActive != nil {
|
||||
return *x.IsActive
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
func (x *CreatePopupAdRequest) GetMaxTriggersPerSession() int32 {
|
||||
if x != nil && x.MaxTriggersPerSession != nil {
|
||||
return *x.MaxTriggersPerSession
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
type CreatePopupAdResponse struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
Item *PopupAd `protobuf:"bytes,1,opt,name=item,proto3" json:"item,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *CreatePopupAdResponse) Reset() {
|
||||
*x = CreatePopupAdResponse{}
|
||||
mi := &file_app_v1_catalog_proto_msgTypes[15]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *CreatePopupAdResponse) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*CreatePopupAdResponse) ProtoMessage() {}
|
||||
|
||||
func (x *CreatePopupAdResponse) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_app_v1_catalog_proto_msgTypes[15]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
return ms
|
||||
}
|
||||
return mi.MessageOf(x)
|
||||
}
|
||||
|
||||
// Deprecated: Use CreatePopupAdResponse.ProtoReflect.Descriptor instead.
|
||||
func (*CreatePopupAdResponse) Descriptor() ([]byte, []int) {
|
||||
return file_app_v1_catalog_proto_rawDescGZIP(), []int{15}
|
||||
}
|
||||
|
||||
func (x *CreatePopupAdResponse) GetItem() *PopupAd {
|
||||
if x != nil {
|
||||
return x.Item
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
type UpdatePopupAdRequest struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
||||
Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
|
||||
Label string `protobuf:"bytes,3,opt,name=label,proto3" json:"label,omitempty"`
|
||||
Value string `protobuf:"bytes,4,opt,name=value,proto3" json:"value,omitempty"`
|
||||
IsActive *bool `protobuf:"varint,5,opt,name=is_active,json=isActive,proto3,oneof" json:"is_active,omitempty"`
|
||||
MaxTriggersPerSession *int32 `protobuf:"varint,6,opt,name=max_triggers_per_session,json=maxTriggersPerSession,proto3,oneof" json:"max_triggers_per_session,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *UpdatePopupAdRequest) Reset() {
|
||||
*x = UpdatePopupAdRequest{}
|
||||
mi := &file_app_v1_catalog_proto_msgTypes[16]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *UpdatePopupAdRequest) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*UpdatePopupAdRequest) ProtoMessage() {}
|
||||
|
||||
func (x *UpdatePopupAdRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_app_v1_catalog_proto_msgTypes[16]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
return ms
|
||||
}
|
||||
return mi.MessageOf(x)
|
||||
}
|
||||
|
||||
// Deprecated: Use UpdatePopupAdRequest.ProtoReflect.Descriptor instead.
|
||||
func (*UpdatePopupAdRequest) Descriptor() ([]byte, []int) {
|
||||
return file_app_v1_catalog_proto_rawDescGZIP(), []int{16}
|
||||
}
|
||||
|
||||
func (x *UpdatePopupAdRequest) GetId() string {
|
||||
if x != nil {
|
||||
return x.Id
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *UpdatePopupAdRequest) GetType() string {
|
||||
if x != nil {
|
||||
return x.Type
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *UpdatePopupAdRequest) GetLabel() string {
|
||||
if x != nil {
|
||||
return x.Label
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *UpdatePopupAdRequest) GetValue() string {
|
||||
if x != nil {
|
||||
return x.Value
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *UpdatePopupAdRequest) GetIsActive() bool {
|
||||
if x != nil && x.IsActive != nil {
|
||||
return *x.IsActive
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
func (x *UpdatePopupAdRequest) GetMaxTriggersPerSession() int32 {
|
||||
if x != nil && x.MaxTriggersPerSession != nil {
|
||||
return *x.MaxTriggersPerSession
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
type UpdatePopupAdResponse struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
Item *PopupAd `protobuf:"bytes,1,opt,name=item,proto3" json:"item,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *UpdatePopupAdResponse) Reset() {
|
||||
*x = UpdatePopupAdResponse{}
|
||||
mi := &file_app_v1_catalog_proto_msgTypes[17]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *UpdatePopupAdResponse) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*UpdatePopupAdResponse) ProtoMessage() {}
|
||||
|
||||
func (x *UpdatePopupAdResponse) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_app_v1_catalog_proto_msgTypes[17]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
return ms
|
||||
}
|
||||
return mi.MessageOf(x)
|
||||
}
|
||||
|
||||
// Deprecated: Use UpdatePopupAdResponse.ProtoReflect.Descriptor instead.
|
||||
func (*UpdatePopupAdResponse) Descriptor() ([]byte, []int) {
|
||||
return file_app_v1_catalog_proto_rawDescGZIP(), []int{17}
|
||||
}
|
||||
|
||||
func (x *UpdatePopupAdResponse) GetItem() *PopupAd {
|
||||
if x != nil {
|
||||
return x.Item
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
type DeletePopupAdRequest struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *DeletePopupAdRequest) Reset() {
|
||||
*x = DeletePopupAdRequest{}
|
||||
mi := &file_app_v1_catalog_proto_msgTypes[18]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *DeletePopupAdRequest) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*DeletePopupAdRequest) ProtoMessage() {}
|
||||
|
||||
func (x *DeletePopupAdRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_app_v1_catalog_proto_msgTypes[18]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
return ms
|
||||
}
|
||||
return mi.MessageOf(x)
|
||||
}
|
||||
|
||||
// Deprecated: Use DeletePopupAdRequest.ProtoReflect.Descriptor instead.
|
||||
func (*DeletePopupAdRequest) Descriptor() ([]byte, []int) {
|
||||
return file_app_v1_catalog_proto_rawDescGZIP(), []int{18}
|
||||
}
|
||||
|
||||
func (x *DeletePopupAdRequest) GetId() string {
|
||||
if x != nil {
|
||||
return x.Id
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
type GetActivePopupAdRequest struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *GetActivePopupAdRequest) Reset() {
|
||||
*x = GetActivePopupAdRequest{}
|
||||
mi := &file_app_v1_catalog_proto_msgTypes[19]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *GetActivePopupAdRequest) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*GetActivePopupAdRequest) ProtoMessage() {}
|
||||
|
||||
func (x *GetActivePopupAdRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_app_v1_catalog_proto_msgTypes[19]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
return ms
|
||||
}
|
||||
return mi.MessageOf(x)
|
||||
}
|
||||
|
||||
// Deprecated: Use GetActivePopupAdRequest.ProtoReflect.Descriptor instead.
|
||||
func (*GetActivePopupAdRequest) Descriptor() ([]byte, []int) {
|
||||
return file_app_v1_catalog_proto_rawDescGZIP(), []int{19}
|
||||
}
|
||||
|
||||
type GetActivePopupAdResponse struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
Item *PopupAd `protobuf:"bytes,1,opt,name=item,proto3,oneof" json:"item,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *GetActivePopupAdResponse) Reset() {
|
||||
*x = GetActivePopupAdResponse{}
|
||||
mi := &file_app_v1_catalog_proto_msgTypes[20]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *GetActivePopupAdResponse) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*GetActivePopupAdResponse) ProtoMessage() {}
|
||||
|
||||
func (x *GetActivePopupAdResponse) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_app_v1_catalog_proto_msgTypes[20]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
return ms
|
||||
}
|
||||
return mi.MessageOf(x)
|
||||
}
|
||||
|
||||
// Deprecated: Use GetActivePopupAdResponse.ProtoReflect.Descriptor instead.
|
||||
func (*GetActivePopupAdResponse) Descriptor() ([]byte, []int) {
|
||||
return file_app_v1_catalog_proto_rawDescGZIP(), []int{20}
|
||||
}
|
||||
|
||||
func (x *GetActivePopupAdResponse) GetItem() *PopupAd {
|
||||
if x != nil {
|
||||
return x.Item
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
type ListPlayerConfigsRequest struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
@@ -645,7 +1137,7 @@ type ListPlayerConfigsRequest struct {
|
||||
|
||||
func (x *ListPlayerConfigsRequest) Reset() {
|
||||
*x = ListPlayerConfigsRequest{}
|
||||
mi := &file_app_v1_catalog_proto_msgTypes[12]
|
||||
mi := &file_app_v1_catalog_proto_msgTypes[21]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -657,7 +1149,7 @@ func (x *ListPlayerConfigsRequest) String() string {
|
||||
func (*ListPlayerConfigsRequest) ProtoMessage() {}
|
||||
|
||||
func (x *ListPlayerConfigsRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_app_v1_catalog_proto_msgTypes[12]
|
||||
mi := &file_app_v1_catalog_proto_msgTypes[21]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -670,7 +1162,7 @@ func (x *ListPlayerConfigsRequest) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use ListPlayerConfigsRequest.ProtoReflect.Descriptor instead.
|
||||
func (*ListPlayerConfigsRequest) Descriptor() ([]byte, []int) {
|
||||
return file_app_v1_catalog_proto_rawDescGZIP(), []int{12}
|
||||
return file_app_v1_catalog_proto_rawDescGZIP(), []int{21}
|
||||
}
|
||||
|
||||
type ListPlayerConfigsResponse struct {
|
||||
@@ -682,7 +1174,7 @@ type ListPlayerConfigsResponse struct {
|
||||
|
||||
func (x *ListPlayerConfigsResponse) Reset() {
|
||||
*x = ListPlayerConfigsResponse{}
|
||||
mi := &file_app_v1_catalog_proto_msgTypes[13]
|
||||
mi := &file_app_v1_catalog_proto_msgTypes[22]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -694,7 +1186,7 @@ func (x *ListPlayerConfigsResponse) String() string {
|
||||
func (*ListPlayerConfigsResponse) ProtoMessage() {}
|
||||
|
||||
func (x *ListPlayerConfigsResponse) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_app_v1_catalog_proto_msgTypes[13]
|
||||
mi := &file_app_v1_catalog_proto_msgTypes[22]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -707,7 +1199,7 @@ func (x *ListPlayerConfigsResponse) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use ListPlayerConfigsResponse.ProtoReflect.Descriptor instead.
|
||||
func (*ListPlayerConfigsResponse) Descriptor() ([]byte, []int) {
|
||||
return file_app_v1_catalog_proto_rawDescGZIP(), []int{13}
|
||||
return file_app_v1_catalog_proto_rawDescGZIP(), []int{22}
|
||||
}
|
||||
|
||||
func (x *ListPlayerConfigsResponse) GetConfigs() []*PlayerConfig {
|
||||
@@ -738,7 +1230,7 @@ type CreatePlayerConfigRequest struct {
|
||||
|
||||
func (x *CreatePlayerConfigRequest) Reset() {
|
||||
*x = CreatePlayerConfigRequest{}
|
||||
mi := &file_app_v1_catalog_proto_msgTypes[14]
|
||||
mi := &file_app_v1_catalog_proto_msgTypes[23]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -750,7 +1242,7 @@ func (x *CreatePlayerConfigRequest) String() string {
|
||||
func (*CreatePlayerConfigRequest) ProtoMessage() {}
|
||||
|
||||
func (x *CreatePlayerConfigRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_app_v1_catalog_proto_msgTypes[14]
|
||||
mi := &file_app_v1_catalog_proto_msgTypes[23]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -763,7 +1255,7 @@ func (x *CreatePlayerConfigRequest) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use CreatePlayerConfigRequest.ProtoReflect.Descriptor instead.
|
||||
func (*CreatePlayerConfigRequest) Descriptor() ([]byte, []int) {
|
||||
return file_app_v1_catalog_proto_rawDescGZIP(), []int{14}
|
||||
return file_app_v1_catalog_proto_rawDescGZIP(), []int{23}
|
||||
}
|
||||
|
||||
func (x *CreatePlayerConfigRequest) GetName() string {
|
||||
@@ -866,7 +1358,7 @@ type CreatePlayerConfigResponse struct {
|
||||
|
||||
func (x *CreatePlayerConfigResponse) Reset() {
|
||||
*x = CreatePlayerConfigResponse{}
|
||||
mi := &file_app_v1_catalog_proto_msgTypes[15]
|
||||
mi := &file_app_v1_catalog_proto_msgTypes[24]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -878,7 +1370,7 @@ func (x *CreatePlayerConfigResponse) String() string {
|
||||
func (*CreatePlayerConfigResponse) ProtoMessage() {}
|
||||
|
||||
func (x *CreatePlayerConfigResponse) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_app_v1_catalog_proto_msgTypes[15]
|
||||
mi := &file_app_v1_catalog_proto_msgTypes[24]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -891,7 +1383,7 @@ func (x *CreatePlayerConfigResponse) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use CreatePlayerConfigResponse.ProtoReflect.Descriptor instead.
|
||||
func (*CreatePlayerConfigResponse) Descriptor() ([]byte, []int) {
|
||||
return file_app_v1_catalog_proto_rawDescGZIP(), []int{15}
|
||||
return file_app_v1_catalog_proto_rawDescGZIP(), []int{24}
|
||||
}
|
||||
|
||||
func (x *CreatePlayerConfigResponse) GetConfig() *PlayerConfig {
|
||||
@@ -923,7 +1415,7 @@ type UpdatePlayerConfigRequest struct {
|
||||
|
||||
func (x *UpdatePlayerConfigRequest) Reset() {
|
||||
*x = UpdatePlayerConfigRequest{}
|
||||
mi := &file_app_v1_catalog_proto_msgTypes[16]
|
||||
mi := &file_app_v1_catalog_proto_msgTypes[25]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -935,7 +1427,7 @@ func (x *UpdatePlayerConfigRequest) String() string {
|
||||
func (*UpdatePlayerConfigRequest) ProtoMessage() {}
|
||||
|
||||
func (x *UpdatePlayerConfigRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_app_v1_catalog_proto_msgTypes[16]
|
||||
mi := &file_app_v1_catalog_proto_msgTypes[25]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -948,7 +1440,7 @@ func (x *UpdatePlayerConfigRequest) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use UpdatePlayerConfigRequest.ProtoReflect.Descriptor instead.
|
||||
func (*UpdatePlayerConfigRequest) Descriptor() ([]byte, []int) {
|
||||
return file_app_v1_catalog_proto_rawDescGZIP(), []int{16}
|
||||
return file_app_v1_catalog_proto_rawDescGZIP(), []int{25}
|
||||
}
|
||||
|
||||
func (x *UpdatePlayerConfigRequest) GetId() string {
|
||||
@@ -1058,7 +1550,7 @@ type UpdatePlayerConfigResponse struct {
|
||||
|
||||
func (x *UpdatePlayerConfigResponse) Reset() {
|
||||
*x = UpdatePlayerConfigResponse{}
|
||||
mi := &file_app_v1_catalog_proto_msgTypes[17]
|
||||
mi := &file_app_v1_catalog_proto_msgTypes[26]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -1070,7 +1562,7 @@ func (x *UpdatePlayerConfigResponse) String() string {
|
||||
func (*UpdatePlayerConfigResponse) ProtoMessage() {}
|
||||
|
||||
func (x *UpdatePlayerConfigResponse) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_app_v1_catalog_proto_msgTypes[17]
|
||||
mi := &file_app_v1_catalog_proto_msgTypes[26]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -1083,7 +1575,7 @@ func (x *UpdatePlayerConfigResponse) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use UpdatePlayerConfigResponse.ProtoReflect.Descriptor instead.
|
||||
func (*UpdatePlayerConfigResponse) Descriptor() ([]byte, []int) {
|
||||
return file_app_v1_catalog_proto_rawDescGZIP(), []int{17}
|
||||
return file_app_v1_catalog_proto_rawDescGZIP(), []int{26}
|
||||
}
|
||||
|
||||
func (x *UpdatePlayerConfigResponse) GetConfig() *PlayerConfig {
|
||||
@@ -1102,7 +1594,7 @@ type DeletePlayerConfigRequest struct {
|
||||
|
||||
func (x *DeletePlayerConfigRequest) Reset() {
|
||||
*x = DeletePlayerConfigRequest{}
|
||||
mi := &file_app_v1_catalog_proto_msgTypes[18]
|
||||
mi := &file_app_v1_catalog_proto_msgTypes[27]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -1114,7 +1606,7 @@ func (x *DeletePlayerConfigRequest) String() string {
|
||||
func (*DeletePlayerConfigRequest) ProtoMessage() {}
|
||||
|
||||
func (x *DeletePlayerConfigRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_app_v1_catalog_proto_msgTypes[18]
|
||||
mi := &file_app_v1_catalog_proto_msgTypes[27]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -1127,7 +1619,7 @@ func (x *DeletePlayerConfigRequest) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use DeletePlayerConfigRequest.ProtoReflect.Descriptor instead.
|
||||
func (*DeletePlayerConfigRequest) Descriptor() ([]byte, []int) {
|
||||
return file_app_v1_catalog_proto_rawDescGZIP(), []int{18}
|
||||
return file_app_v1_catalog_proto_rawDescGZIP(), []int{27}
|
||||
}
|
||||
|
||||
func (x *DeletePlayerConfigRequest) GetId() string {
|
||||
@@ -1145,7 +1637,7 @@ type ListPlansRequest struct {
|
||||
|
||||
func (x *ListPlansRequest) Reset() {
|
||||
*x = ListPlansRequest{}
|
||||
mi := &file_app_v1_catalog_proto_msgTypes[19]
|
||||
mi := &file_app_v1_catalog_proto_msgTypes[28]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -1157,7 +1649,7 @@ func (x *ListPlansRequest) String() string {
|
||||
func (*ListPlansRequest) ProtoMessage() {}
|
||||
|
||||
func (x *ListPlansRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_app_v1_catalog_proto_msgTypes[19]
|
||||
mi := &file_app_v1_catalog_proto_msgTypes[28]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -1170,7 +1662,7 @@ func (x *ListPlansRequest) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use ListPlansRequest.ProtoReflect.Descriptor instead.
|
||||
func (*ListPlansRequest) Descriptor() ([]byte, []int) {
|
||||
return file_app_v1_catalog_proto_rawDescGZIP(), []int{19}
|
||||
return file_app_v1_catalog_proto_rawDescGZIP(), []int{28}
|
||||
}
|
||||
|
||||
type ListPlansResponse struct {
|
||||
@@ -1182,7 +1674,7 @@ type ListPlansResponse struct {
|
||||
|
||||
func (x *ListPlansResponse) Reset() {
|
||||
*x = ListPlansResponse{}
|
||||
mi := &file_app_v1_catalog_proto_msgTypes[20]
|
||||
mi := &file_app_v1_catalog_proto_msgTypes[29]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -1194,7 +1686,7 @@ func (x *ListPlansResponse) String() string {
|
||||
func (*ListPlansResponse) ProtoMessage() {}
|
||||
|
||||
func (x *ListPlansResponse) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_app_v1_catalog_proto_msgTypes[20]
|
||||
mi := &file_app_v1_catalog_proto_msgTypes[29]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -1207,7 +1699,7 @@ func (x *ListPlansResponse) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use ListPlansResponse.ProtoReflect.Descriptor instead.
|
||||
func (*ListPlansResponse) Descriptor() ([]byte, []int) {
|
||||
return file_app_v1_catalog_proto_rawDescGZIP(), []int{20}
|
||||
return file_app_v1_catalog_proto_rawDescGZIP(), []int{29}
|
||||
}
|
||||
|
||||
func (x *ListPlansResponse) GetPlans() []*Plan {
|
||||
@@ -1274,7 +1766,44 @@ const file_app_v1_catalog_proto_rawDesc = "" +
|
||||
"\x18UpdateAdTemplateResponse\x125\n" +
|
||||
"\btemplate\x18\x01 \x01(\v2\x19.stream.app.v1.AdTemplateR\btemplate\")\n" +
|
||||
"\x17DeleteAdTemplateRequest\x12\x0e\n" +
|
||||
"\x02id\x18\x01 \x01(\tR\x02id\"\x1a\n" +
|
||||
"\x02id\x18\x01 \x01(\tR\x02id\"?\n" +
|
||||
"\x13ListPopupAdsRequest\x12\x12\n" +
|
||||
"\x04page\x18\x01 \x01(\x05R\x04page\x12\x14\n" +
|
||||
"\x05limit\x18\x02 \x01(\x05R\x05limit\"\x84\x01\n" +
|
||||
"\x14ListPopupAdsResponse\x12,\n" +
|
||||
"\x05items\x18\x01 \x03(\v2\x16.stream.app.v1.PopupAdR\x05items\x12\x14\n" +
|
||||
"\x05total\x18\x02 \x01(\x03R\x05total\x12\x12\n" +
|
||||
"\x04page\x18\x03 \x01(\x05R\x04page\x12\x14\n" +
|
||||
"\x05limit\x18\x04 \x01(\x05R\x05limit\"\xe1\x01\n" +
|
||||
"\x14CreatePopupAdRequest\x12\x12\n" +
|
||||
"\x04type\x18\x01 \x01(\tR\x04type\x12\x14\n" +
|
||||
"\x05label\x18\x02 \x01(\tR\x05label\x12\x14\n" +
|
||||
"\x05value\x18\x03 \x01(\tR\x05value\x12 \n" +
|
||||
"\tis_active\x18\x04 \x01(\bH\x00R\bisActive\x88\x01\x01\x12<\n" +
|
||||
"\x18max_triggers_per_session\x18\x05 \x01(\x05H\x01R\x15maxTriggersPerSession\x88\x01\x01B\f\n" +
|
||||
"\n" +
|
||||
"_is_activeB\x1b\n" +
|
||||
"\x19_max_triggers_per_session\"C\n" +
|
||||
"\x15CreatePopupAdResponse\x12*\n" +
|
||||
"\x04item\x18\x01 \x01(\v2\x16.stream.app.v1.PopupAdR\x04item\"\xf1\x01\n" +
|
||||
"\x14UpdatePopupAdRequest\x12\x0e\n" +
|
||||
"\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n" +
|
||||
"\x04type\x18\x02 \x01(\tR\x04type\x12\x14\n" +
|
||||
"\x05label\x18\x03 \x01(\tR\x05label\x12\x14\n" +
|
||||
"\x05value\x18\x04 \x01(\tR\x05value\x12 \n" +
|
||||
"\tis_active\x18\x05 \x01(\bH\x00R\bisActive\x88\x01\x01\x12<\n" +
|
||||
"\x18max_triggers_per_session\x18\x06 \x01(\x05H\x01R\x15maxTriggersPerSession\x88\x01\x01B\f\n" +
|
||||
"\n" +
|
||||
"_is_activeB\x1b\n" +
|
||||
"\x19_max_triggers_per_session\"C\n" +
|
||||
"\x15UpdatePopupAdResponse\x12*\n" +
|
||||
"\x04item\x18\x01 \x01(\v2\x16.stream.app.v1.PopupAdR\x04item\"&\n" +
|
||||
"\x14DeletePopupAdRequest\x12\x0e\n" +
|
||||
"\x02id\x18\x01 \x01(\tR\x02id\"\x19\n" +
|
||||
"\x17GetActivePopupAdRequest\"T\n" +
|
||||
"\x18GetActivePopupAdResponse\x12/\n" +
|
||||
"\x04item\x18\x01 \x01(\v2\x16.stream.app.v1.PopupAdH\x00R\x04item\x88\x01\x01B\a\n" +
|
||||
"\x05_item\"\x1a\n" +
|
||||
"\x18ListPlayerConfigsRequest\"R\n" +
|
||||
"\x19ListPlayerConfigsResponse\x125\n" +
|
||||
"\aconfigs\x18\x01 \x03(\v2\x1b.stream.app.v1.PlayerConfigR\aconfigs\"\xec\x03\n" +
|
||||
@@ -1344,7 +1873,13 @@ const file_app_v1_catalog_proto_rawDesc = "" +
|
||||
"\x0fListAdTemplates\x12%.stream.app.v1.ListAdTemplatesRequest\x1a&.stream.app.v1.ListAdTemplatesResponse\x12c\n" +
|
||||
"\x10CreateAdTemplate\x12&.stream.app.v1.CreateAdTemplateRequest\x1a'.stream.app.v1.CreateAdTemplateResponse\x12c\n" +
|
||||
"\x10UpdateAdTemplate\x12&.stream.app.v1.UpdateAdTemplateRequest\x1a'.stream.app.v1.UpdateAdTemplateResponse\x12Z\n" +
|
||||
"\x10DeleteAdTemplate\x12&.stream.app.v1.DeleteAdTemplateRequest\x1a\x1e.stream.app.v1.MessageResponse2\xad\x03\n" +
|
||||
"\x10DeleteAdTemplate\x12&.stream.app.v1.DeleteAdTemplateRequest\x1a\x1e.stream.app.v1.MessageResponse2\xd6\x03\n" +
|
||||
"\bPopupAds\x12W\n" +
|
||||
"\fListPopupAds\x12\".stream.app.v1.ListPopupAdsRequest\x1a#.stream.app.v1.ListPopupAdsResponse\x12Z\n" +
|
||||
"\rCreatePopupAd\x12#.stream.app.v1.CreatePopupAdRequest\x1a$.stream.app.v1.CreatePopupAdResponse\x12Z\n" +
|
||||
"\rUpdatePopupAd\x12#.stream.app.v1.UpdatePopupAdRequest\x1a$.stream.app.v1.UpdatePopupAdResponse\x12T\n" +
|
||||
"\rDeletePopupAd\x12#.stream.app.v1.DeletePopupAdRequest\x1a\x1e.stream.app.v1.MessageResponse\x12c\n" +
|
||||
"\x10GetActivePopupAd\x12&.stream.app.v1.GetActivePopupAdRequest\x1a'.stream.app.v1.GetActivePopupAdResponse2\xad\x03\n" +
|
||||
"\rPlayerConfigs\x12f\n" +
|
||||
"\x11ListPlayerConfigs\x12'.stream.app.v1.ListPlayerConfigsRequest\x1a(.stream.app.v1.ListPlayerConfigsResponse\x12i\n" +
|
||||
"\x12CreatePlayerConfig\x12(.stream.app.v1.CreatePlayerConfigRequest\x1a).stream.app.v1.CreatePlayerConfigResponse\x12i\n" +
|
||||
@@ -1365,7 +1900,7 @@ func file_app_v1_catalog_proto_rawDescGZIP() []byte {
|
||||
return file_app_v1_catalog_proto_rawDescData
|
||||
}
|
||||
|
||||
var file_app_v1_catalog_proto_msgTypes = make([]protoimpl.MessageInfo, 21)
|
||||
var file_app_v1_catalog_proto_msgTypes = make([]protoimpl.MessageInfo, 30)
|
||||
var file_app_v1_catalog_proto_goTypes = []any{
|
||||
(*ListDomainsRequest)(nil), // 0: stream.app.v1.ListDomainsRequest
|
||||
(*ListDomainsResponse)(nil), // 1: stream.app.v1.ListDomainsResponse
|
||||
@@ -1379,60 +1914,84 @@ var file_app_v1_catalog_proto_goTypes = []any{
|
||||
(*UpdateAdTemplateRequest)(nil), // 9: stream.app.v1.UpdateAdTemplateRequest
|
||||
(*UpdateAdTemplateResponse)(nil), // 10: stream.app.v1.UpdateAdTemplateResponse
|
||||
(*DeleteAdTemplateRequest)(nil), // 11: stream.app.v1.DeleteAdTemplateRequest
|
||||
(*ListPlayerConfigsRequest)(nil), // 12: stream.app.v1.ListPlayerConfigsRequest
|
||||
(*ListPlayerConfigsResponse)(nil), // 13: stream.app.v1.ListPlayerConfigsResponse
|
||||
(*CreatePlayerConfigRequest)(nil), // 14: stream.app.v1.CreatePlayerConfigRequest
|
||||
(*CreatePlayerConfigResponse)(nil), // 15: stream.app.v1.CreatePlayerConfigResponse
|
||||
(*UpdatePlayerConfigRequest)(nil), // 16: stream.app.v1.UpdatePlayerConfigRequest
|
||||
(*UpdatePlayerConfigResponse)(nil), // 17: stream.app.v1.UpdatePlayerConfigResponse
|
||||
(*DeletePlayerConfigRequest)(nil), // 18: stream.app.v1.DeletePlayerConfigRequest
|
||||
(*ListPlansRequest)(nil), // 19: stream.app.v1.ListPlansRequest
|
||||
(*ListPlansResponse)(nil), // 20: stream.app.v1.ListPlansResponse
|
||||
(*Domain)(nil), // 21: stream.app.v1.Domain
|
||||
(*AdTemplate)(nil), // 22: stream.app.v1.AdTemplate
|
||||
(*PlayerConfig)(nil), // 23: stream.app.v1.PlayerConfig
|
||||
(*Plan)(nil), // 24: stream.app.v1.Plan
|
||||
(*MessageResponse)(nil), // 25: stream.app.v1.MessageResponse
|
||||
(*ListPopupAdsRequest)(nil), // 12: stream.app.v1.ListPopupAdsRequest
|
||||
(*ListPopupAdsResponse)(nil), // 13: stream.app.v1.ListPopupAdsResponse
|
||||
(*CreatePopupAdRequest)(nil), // 14: stream.app.v1.CreatePopupAdRequest
|
||||
(*CreatePopupAdResponse)(nil), // 15: stream.app.v1.CreatePopupAdResponse
|
||||
(*UpdatePopupAdRequest)(nil), // 16: stream.app.v1.UpdatePopupAdRequest
|
||||
(*UpdatePopupAdResponse)(nil), // 17: stream.app.v1.UpdatePopupAdResponse
|
||||
(*DeletePopupAdRequest)(nil), // 18: stream.app.v1.DeletePopupAdRequest
|
||||
(*GetActivePopupAdRequest)(nil), // 19: stream.app.v1.GetActivePopupAdRequest
|
||||
(*GetActivePopupAdResponse)(nil), // 20: stream.app.v1.GetActivePopupAdResponse
|
||||
(*ListPlayerConfigsRequest)(nil), // 21: stream.app.v1.ListPlayerConfigsRequest
|
||||
(*ListPlayerConfigsResponse)(nil), // 22: stream.app.v1.ListPlayerConfigsResponse
|
||||
(*CreatePlayerConfigRequest)(nil), // 23: stream.app.v1.CreatePlayerConfigRequest
|
||||
(*CreatePlayerConfigResponse)(nil), // 24: stream.app.v1.CreatePlayerConfigResponse
|
||||
(*UpdatePlayerConfigRequest)(nil), // 25: stream.app.v1.UpdatePlayerConfigRequest
|
||||
(*UpdatePlayerConfigResponse)(nil), // 26: stream.app.v1.UpdatePlayerConfigResponse
|
||||
(*DeletePlayerConfigRequest)(nil), // 27: stream.app.v1.DeletePlayerConfigRequest
|
||||
(*ListPlansRequest)(nil), // 28: stream.app.v1.ListPlansRequest
|
||||
(*ListPlansResponse)(nil), // 29: stream.app.v1.ListPlansResponse
|
||||
(*Domain)(nil), // 30: stream.app.v1.Domain
|
||||
(*AdTemplate)(nil), // 31: stream.app.v1.AdTemplate
|
||||
(*PopupAd)(nil), // 32: stream.app.v1.PopupAd
|
||||
(*PlayerConfig)(nil), // 33: stream.app.v1.PlayerConfig
|
||||
(*Plan)(nil), // 34: stream.app.v1.Plan
|
||||
(*MessageResponse)(nil), // 35: stream.app.v1.MessageResponse
|
||||
}
|
||||
var file_app_v1_catalog_proto_depIdxs = []int32{
|
||||
21, // 0: stream.app.v1.ListDomainsResponse.domains:type_name -> stream.app.v1.Domain
|
||||
21, // 1: stream.app.v1.CreateDomainResponse.domain:type_name -> stream.app.v1.Domain
|
||||
22, // 2: stream.app.v1.ListAdTemplatesResponse.templates:type_name -> stream.app.v1.AdTemplate
|
||||
22, // 3: stream.app.v1.CreateAdTemplateResponse.template:type_name -> stream.app.v1.AdTemplate
|
||||
22, // 4: stream.app.v1.UpdateAdTemplateResponse.template:type_name -> stream.app.v1.AdTemplate
|
||||
23, // 5: stream.app.v1.ListPlayerConfigsResponse.configs:type_name -> stream.app.v1.PlayerConfig
|
||||
23, // 6: stream.app.v1.CreatePlayerConfigResponse.config:type_name -> stream.app.v1.PlayerConfig
|
||||
23, // 7: stream.app.v1.UpdatePlayerConfigResponse.config:type_name -> stream.app.v1.PlayerConfig
|
||||
24, // 8: stream.app.v1.ListPlansResponse.plans:type_name -> stream.app.v1.Plan
|
||||
0, // 9: stream.app.v1.Domains.ListDomains:input_type -> stream.app.v1.ListDomainsRequest
|
||||
2, // 10: stream.app.v1.Domains.CreateDomain:input_type -> stream.app.v1.CreateDomainRequest
|
||||
4, // 11: stream.app.v1.Domains.DeleteDomain:input_type -> stream.app.v1.DeleteDomainRequest
|
||||
5, // 12: stream.app.v1.AdTemplates.ListAdTemplates:input_type -> stream.app.v1.ListAdTemplatesRequest
|
||||
7, // 13: stream.app.v1.AdTemplates.CreateAdTemplate:input_type -> stream.app.v1.CreateAdTemplateRequest
|
||||
9, // 14: stream.app.v1.AdTemplates.UpdateAdTemplate:input_type -> stream.app.v1.UpdateAdTemplateRequest
|
||||
11, // 15: stream.app.v1.AdTemplates.DeleteAdTemplate:input_type -> stream.app.v1.DeleteAdTemplateRequest
|
||||
12, // 16: stream.app.v1.PlayerConfigs.ListPlayerConfigs:input_type -> stream.app.v1.ListPlayerConfigsRequest
|
||||
14, // 17: stream.app.v1.PlayerConfigs.CreatePlayerConfig:input_type -> stream.app.v1.CreatePlayerConfigRequest
|
||||
16, // 18: stream.app.v1.PlayerConfigs.UpdatePlayerConfig:input_type -> stream.app.v1.UpdatePlayerConfigRequest
|
||||
18, // 19: stream.app.v1.PlayerConfigs.DeletePlayerConfig:input_type -> stream.app.v1.DeletePlayerConfigRequest
|
||||
19, // 20: stream.app.v1.Plans.ListPlans:input_type -> stream.app.v1.ListPlansRequest
|
||||
1, // 21: stream.app.v1.Domains.ListDomains:output_type -> stream.app.v1.ListDomainsResponse
|
||||
3, // 22: stream.app.v1.Domains.CreateDomain:output_type -> stream.app.v1.CreateDomainResponse
|
||||
25, // 23: stream.app.v1.Domains.DeleteDomain:output_type -> stream.app.v1.MessageResponse
|
||||
6, // 24: stream.app.v1.AdTemplates.ListAdTemplates:output_type -> stream.app.v1.ListAdTemplatesResponse
|
||||
8, // 25: stream.app.v1.AdTemplates.CreateAdTemplate:output_type -> stream.app.v1.CreateAdTemplateResponse
|
||||
10, // 26: stream.app.v1.AdTemplates.UpdateAdTemplate:output_type -> stream.app.v1.UpdateAdTemplateResponse
|
||||
25, // 27: stream.app.v1.AdTemplates.DeleteAdTemplate:output_type -> stream.app.v1.MessageResponse
|
||||
13, // 28: stream.app.v1.PlayerConfigs.ListPlayerConfigs:output_type -> stream.app.v1.ListPlayerConfigsResponse
|
||||
15, // 29: stream.app.v1.PlayerConfigs.CreatePlayerConfig:output_type -> stream.app.v1.CreatePlayerConfigResponse
|
||||
17, // 30: stream.app.v1.PlayerConfigs.UpdatePlayerConfig:output_type -> stream.app.v1.UpdatePlayerConfigResponse
|
||||
25, // 31: stream.app.v1.PlayerConfigs.DeletePlayerConfig:output_type -> stream.app.v1.MessageResponse
|
||||
20, // 32: stream.app.v1.Plans.ListPlans:output_type -> stream.app.v1.ListPlansResponse
|
||||
21, // [21:33] is the sub-list for method output_type
|
||||
9, // [9:21] is the sub-list for method input_type
|
||||
9, // [9:9] is the sub-list for extension type_name
|
||||
9, // [9:9] is the sub-list for extension extendee
|
||||
0, // [0:9] is the sub-list for field type_name
|
||||
30, // 0: stream.app.v1.ListDomainsResponse.domains:type_name -> stream.app.v1.Domain
|
||||
30, // 1: stream.app.v1.CreateDomainResponse.domain:type_name -> stream.app.v1.Domain
|
||||
31, // 2: stream.app.v1.ListAdTemplatesResponse.templates:type_name -> stream.app.v1.AdTemplate
|
||||
31, // 3: stream.app.v1.CreateAdTemplateResponse.template:type_name -> stream.app.v1.AdTemplate
|
||||
31, // 4: stream.app.v1.UpdateAdTemplateResponse.template:type_name -> stream.app.v1.AdTemplate
|
||||
32, // 5: stream.app.v1.ListPopupAdsResponse.items:type_name -> stream.app.v1.PopupAd
|
||||
32, // 6: stream.app.v1.CreatePopupAdResponse.item:type_name -> stream.app.v1.PopupAd
|
||||
32, // 7: stream.app.v1.UpdatePopupAdResponse.item:type_name -> stream.app.v1.PopupAd
|
||||
32, // 8: stream.app.v1.GetActivePopupAdResponse.item:type_name -> stream.app.v1.PopupAd
|
||||
33, // 9: stream.app.v1.ListPlayerConfigsResponse.configs:type_name -> stream.app.v1.PlayerConfig
|
||||
33, // 10: stream.app.v1.CreatePlayerConfigResponse.config:type_name -> stream.app.v1.PlayerConfig
|
||||
33, // 11: stream.app.v1.UpdatePlayerConfigResponse.config:type_name -> stream.app.v1.PlayerConfig
|
||||
34, // 12: stream.app.v1.ListPlansResponse.plans:type_name -> stream.app.v1.Plan
|
||||
0, // 13: stream.app.v1.Domains.ListDomains:input_type -> stream.app.v1.ListDomainsRequest
|
||||
2, // 14: stream.app.v1.Domains.CreateDomain:input_type -> stream.app.v1.CreateDomainRequest
|
||||
4, // 15: stream.app.v1.Domains.DeleteDomain:input_type -> stream.app.v1.DeleteDomainRequest
|
||||
5, // 16: stream.app.v1.AdTemplates.ListAdTemplates:input_type -> stream.app.v1.ListAdTemplatesRequest
|
||||
7, // 17: stream.app.v1.AdTemplates.CreateAdTemplate:input_type -> stream.app.v1.CreateAdTemplateRequest
|
||||
9, // 18: stream.app.v1.AdTemplates.UpdateAdTemplate:input_type -> stream.app.v1.UpdateAdTemplateRequest
|
||||
11, // 19: stream.app.v1.AdTemplates.DeleteAdTemplate:input_type -> stream.app.v1.DeleteAdTemplateRequest
|
||||
12, // 20: stream.app.v1.PopupAds.ListPopupAds:input_type -> stream.app.v1.ListPopupAdsRequest
|
||||
14, // 21: stream.app.v1.PopupAds.CreatePopupAd:input_type -> stream.app.v1.CreatePopupAdRequest
|
||||
16, // 22: stream.app.v1.PopupAds.UpdatePopupAd:input_type -> stream.app.v1.UpdatePopupAdRequest
|
||||
18, // 23: stream.app.v1.PopupAds.DeletePopupAd:input_type -> stream.app.v1.DeletePopupAdRequest
|
||||
19, // 24: stream.app.v1.PopupAds.GetActivePopupAd:input_type -> stream.app.v1.GetActivePopupAdRequest
|
||||
21, // 25: stream.app.v1.PlayerConfigs.ListPlayerConfigs:input_type -> stream.app.v1.ListPlayerConfigsRequest
|
||||
23, // 26: stream.app.v1.PlayerConfigs.CreatePlayerConfig:input_type -> stream.app.v1.CreatePlayerConfigRequest
|
||||
25, // 27: stream.app.v1.PlayerConfigs.UpdatePlayerConfig:input_type -> stream.app.v1.UpdatePlayerConfigRequest
|
||||
27, // 28: stream.app.v1.PlayerConfigs.DeletePlayerConfig:input_type -> stream.app.v1.DeletePlayerConfigRequest
|
||||
28, // 29: stream.app.v1.Plans.ListPlans:input_type -> stream.app.v1.ListPlansRequest
|
||||
1, // 30: stream.app.v1.Domains.ListDomains:output_type -> stream.app.v1.ListDomainsResponse
|
||||
3, // 31: stream.app.v1.Domains.CreateDomain:output_type -> stream.app.v1.CreateDomainResponse
|
||||
35, // 32: stream.app.v1.Domains.DeleteDomain:output_type -> stream.app.v1.MessageResponse
|
||||
6, // 33: stream.app.v1.AdTemplates.ListAdTemplates:output_type -> stream.app.v1.ListAdTemplatesResponse
|
||||
8, // 34: stream.app.v1.AdTemplates.CreateAdTemplate:output_type -> stream.app.v1.CreateAdTemplateResponse
|
||||
10, // 35: stream.app.v1.AdTemplates.UpdateAdTemplate:output_type -> stream.app.v1.UpdateAdTemplateResponse
|
||||
35, // 36: stream.app.v1.AdTemplates.DeleteAdTemplate:output_type -> stream.app.v1.MessageResponse
|
||||
13, // 37: stream.app.v1.PopupAds.ListPopupAds:output_type -> stream.app.v1.ListPopupAdsResponse
|
||||
15, // 38: stream.app.v1.PopupAds.CreatePopupAd:output_type -> stream.app.v1.CreatePopupAdResponse
|
||||
17, // 39: stream.app.v1.PopupAds.UpdatePopupAd:output_type -> stream.app.v1.UpdatePopupAdResponse
|
||||
35, // 40: stream.app.v1.PopupAds.DeletePopupAd:output_type -> stream.app.v1.MessageResponse
|
||||
20, // 41: stream.app.v1.PopupAds.GetActivePopupAd:output_type -> stream.app.v1.GetActivePopupAdResponse
|
||||
22, // 42: stream.app.v1.PlayerConfigs.ListPlayerConfigs:output_type -> stream.app.v1.ListPlayerConfigsResponse
|
||||
24, // 43: stream.app.v1.PlayerConfigs.CreatePlayerConfig:output_type -> stream.app.v1.CreatePlayerConfigResponse
|
||||
26, // 44: stream.app.v1.PlayerConfigs.UpdatePlayerConfig:output_type -> stream.app.v1.UpdatePlayerConfigResponse
|
||||
35, // 45: stream.app.v1.PlayerConfigs.DeletePlayerConfig:output_type -> stream.app.v1.MessageResponse
|
||||
29, // 46: stream.app.v1.Plans.ListPlans:output_type -> stream.app.v1.ListPlansResponse
|
||||
30, // [30:47] is the sub-list for method output_type
|
||||
13, // [13:30] is the sub-list for method input_type
|
||||
13, // [13:13] is the sub-list for extension type_name
|
||||
13, // [13:13] is the sub-list for extension extendee
|
||||
0, // [0:13] is the sub-list for field type_name
|
||||
}
|
||||
|
||||
func init() { file_app_v1_catalog_proto_init() }
|
||||
@@ -1445,15 +2004,18 @@ func file_app_v1_catalog_proto_init() {
|
||||
file_app_v1_catalog_proto_msgTypes[9].OneofWrappers = []any{}
|
||||
file_app_v1_catalog_proto_msgTypes[14].OneofWrappers = []any{}
|
||||
file_app_v1_catalog_proto_msgTypes[16].OneofWrappers = []any{}
|
||||
file_app_v1_catalog_proto_msgTypes[20].OneofWrappers = []any{}
|
||||
file_app_v1_catalog_proto_msgTypes[23].OneofWrappers = []any{}
|
||||
file_app_v1_catalog_proto_msgTypes[25].OneofWrappers = []any{}
|
||||
type x struct{}
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: unsafe.Slice(unsafe.StringData(file_app_v1_catalog_proto_rawDesc), len(file_app_v1_catalog_proto_rawDesc)),
|
||||
NumEnums: 0,
|
||||
NumMessages: 21,
|
||||
NumMessages: 30,
|
||||
NumExtensions: 0,
|
||||
NumServices: 4,
|
||||
NumServices: 5,
|
||||
},
|
||||
GoTypes: file_app_v1_catalog_proto_goTypes,
|
||||
DependencyIndexes: file_app_v1_catalog_proto_depIdxs,
|
||||
|
||||
@@ -412,6 +412,260 @@ var AdTemplates_ServiceDesc = grpc.ServiceDesc{
|
||||
Metadata: "app/v1/catalog.proto",
|
||||
}
|
||||
|
||||
const (
|
||||
PopupAds_ListPopupAds_FullMethodName = "/stream.app.v1.PopupAds/ListPopupAds"
|
||||
PopupAds_CreatePopupAd_FullMethodName = "/stream.app.v1.PopupAds/CreatePopupAd"
|
||||
PopupAds_UpdatePopupAd_FullMethodName = "/stream.app.v1.PopupAds/UpdatePopupAd"
|
||||
PopupAds_DeletePopupAd_FullMethodName = "/stream.app.v1.PopupAds/DeletePopupAd"
|
||||
PopupAds_GetActivePopupAd_FullMethodName = "/stream.app.v1.PopupAds/GetActivePopupAd"
|
||||
)
|
||||
|
||||
// PopupAdsClient is the client API for PopupAds service.
|
||||
//
|
||||
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
|
||||
type PopupAdsClient interface {
|
||||
ListPopupAds(ctx context.Context, in *ListPopupAdsRequest, opts ...grpc.CallOption) (*ListPopupAdsResponse, error)
|
||||
CreatePopupAd(ctx context.Context, in *CreatePopupAdRequest, opts ...grpc.CallOption) (*CreatePopupAdResponse, error)
|
||||
UpdatePopupAd(ctx context.Context, in *UpdatePopupAdRequest, opts ...grpc.CallOption) (*UpdatePopupAdResponse, error)
|
||||
DeletePopupAd(ctx context.Context, in *DeletePopupAdRequest, opts ...grpc.CallOption) (*MessageResponse, error)
|
||||
GetActivePopupAd(ctx context.Context, in *GetActivePopupAdRequest, opts ...grpc.CallOption) (*GetActivePopupAdResponse, error)
|
||||
}
|
||||
|
||||
type popupAdsClient struct {
|
||||
cc grpc.ClientConnInterface
|
||||
}
|
||||
|
||||
func NewPopupAdsClient(cc grpc.ClientConnInterface) PopupAdsClient {
|
||||
return &popupAdsClient{cc}
|
||||
}
|
||||
|
||||
func (c *popupAdsClient) ListPopupAds(ctx context.Context, in *ListPopupAdsRequest, opts ...grpc.CallOption) (*ListPopupAdsResponse, error) {
|
||||
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
||||
out := new(ListPopupAdsResponse)
|
||||
err := c.cc.Invoke(ctx, PopupAds_ListPopupAds_FullMethodName, in, out, cOpts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
func (c *popupAdsClient) CreatePopupAd(ctx context.Context, in *CreatePopupAdRequest, opts ...grpc.CallOption) (*CreatePopupAdResponse, error) {
|
||||
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
||||
out := new(CreatePopupAdResponse)
|
||||
err := c.cc.Invoke(ctx, PopupAds_CreatePopupAd_FullMethodName, in, out, cOpts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
func (c *popupAdsClient) UpdatePopupAd(ctx context.Context, in *UpdatePopupAdRequest, opts ...grpc.CallOption) (*UpdatePopupAdResponse, error) {
|
||||
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
||||
out := new(UpdatePopupAdResponse)
|
||||
err := c.cc.Invoke(ctx, PopupAds_UpdatePopupAd_FullMethodName, in, out, cOpts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
func (c *popupAdsClient) DeletePopupAd(ctx context.Context, in *DeletePopupAdRequest, opts ...grpc.CallOption) (*MessageResponse, error) {
|
||||
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
||||
out := new(MessageResponse)
|
||||
err := c.cc.Invoke(ctx, PopupAds_DeletePopupAd_FullMethodName, in, out, cOpts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
func (c *popupAdsClient) GetActivePopupAd(ctx context.Context, in *GetActivePopupAdRequest, opts ...grpc.CallOption) (*GetActivePopupAdResponse, error) {
|
||||
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
||||
out := new(GetActivePopupAdResponse)
|
||||
err := c.cc.Invoke(ctx, PopupAds_GetActivePopupAd_FullMethodName, in, out, cOpts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
// PopupAdsServer is the server API for PopupAds service.
|
||||
// All implementations must embed UnimplementedPopupAdsServer
|
||||
// for forward compatibility.
|
||||
type PopupAdsServer interface {
|
||||
ListPopupAds(context.Context, *ListPopupAdsRequest) (*ListPopupAdsResponse, error)
|
||||
CreatePopupAd(context.Context, *CreatePopupAdRequest) (*CreatePopupAdResponse, error)
|
||||
UpdatePopupAd(context.Context, *UpdatePopupAdRequest) (*UpdatePopupAdResponse, error)
|
||||
DeletePopupAd(context.Context, *DeletePopupAdRequest) (*MessageResponse, error)
|
||||
GetActivePopupAd(context.Context, *GetActivePopupAdRequest) (*GetActivePopupAdResponse, error)
|
||||
mustEmbedUnimplementedPopupAdsServer()
|
||||
}
|
||||
|
||||
// UnimplementedPopupAdsServer must be embedded to have
|
||||
// forward compatible implementations.
|
||||
//
|
||||
// NOTE: this should be embedded by value instead of pointer to avoid a nil
|
||||
// pointer dereference when methods are called.
|
||||
type UnimplementedPopupAdsServer struct{}
|
||||
|
||||
func (UnimplementedPopupAdsServer) ListPopupAds(context.Context, *ListPopupAdsRequest) (*ListPopupAdsResponse, error) {
|
||||
return nil, status.Error(codes.Unimplemented, "method ListPopupAds not implemented")
|
||||
}
|
||||
func (UnimplementedPopupAdsServer) CreatePopupAd(context.Context, *CreatePopupAdRequest) (*CreatePopupAdResponse, error) {
|
||||
return nil, status.Error(codes.Unimplemented, "method CreatePopupAd not implemented")
|
||||
}
|
||||
func (UnimplementedPopupAdsServer) UpdatePopupAd(context.Context, *UpdatePopupAdRequest) (*UpdatePopupAdResponse, error) {
|
||||
return nil, status.Error(codes.Unimplemented, "method UpdatePopupAd not implemented")
|
||||
}
|
||||
func (UnimplementedPopupAdsServer) DeletePopupAd(context.Context, *DeletePopupAdRequest) (*MessageResponse, error) {
|
||||
return nil, status.Error(codes.Unimplemented, "method DeletePopupAd not implemented")
|
||||
}
|
||||
func (UnimplementedPopupAdsServer) GetActivePopupAd(context.Context, *GetActivePopupAdRequest) (*GetActivePopupAdResponse, error) {
|
||||
return nil, status.Error(codes.Unimplemented, "method GetActivePopupAd not implemented")
|
||||
}
|
||||
func (UnimplementedPopupAdsServer) mustEmbedUnimplementedPopupAdsServer() {}
|
||||
func (UnimplementedPopupAdsServer) testEmbeddedByValue() {}
|
||||
|
||||
// UnsafePopupAdsServer may be embedded to opt out of forward compatibility for this service.
|
||||
// Use of this interface is not recommended, as added methods to PopupAdsServer will
|
||||
// result in compilation errors.
|
||||
type UnsafePopupAdsServer interface {
|
||||
mustEmbedUnimplementedPopupAdsServer()
|
||||
}
|
||||
|
||||
func RegisterPopupAdsServer(s grpc.ServiceRegistrar, srv PopupAdsServer) {
|
||||
// If the following call panics, it indicates UnimplementedPopupAdsServer was
|
||||
// embedded by pointer and is nil. This will cause panics if an
|
||||
// unimplemented method is ever invoked, so we test this at initialization
|
||||
// time to prevent it from happening at runtime later due to I/O.
|
||||
if t, ok := srv.(interface{ testEmbeddedByValue() }); ok {
|
||||
t.testEmbeddedByValue()
|
||||
}
|
||||
s.RegisterService(&PopupAds_ServiceDesc, srv)
|
||||
}
|
||||
|
||||
func _PopupAds_ListPopupAds_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(ListPopupAdsRequest)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if interceptor == nil {
|
||||
return srv.(PopupAdsServer).ListPopupAds(ctx, in)
|
||||
}
|
||||
info := &grpc.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: PopupAds_ListPopupAds_FullMethodName,
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(PopupAdsServer).ListPopupAds(ctx, req.(*ListPopupAdsRequest))
|
||||
}
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
func _PopupAds_CreatePopupAd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(CreatePopupAdRequest)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if interceptor == nil {
|
||||
return srv.(PopupAdsServer).CreatePopupAd(ctx, in)
|
||||
}
|
||||
info := &grpc.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: PopupAds_CreatePopupAd_FullMethodName,
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(PopupAdsServer).CreatePopupAd(ctx, req.(*CreatePopupAdRequest))
|
||||
}
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
func _PopupAds_UpdatePopupAd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(UpdatePopupAdRequest)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if interceptor == nil {
|
||||
return srv.(PopupAdsServer).UpdatePopupAd(ctx, in)
|
||||
}
|
||||
info := &grpc.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: PopupAds_UpdatePopupAd_FullMethodName,
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(PopupAdsServer).UpdatePopupAd(ctx, req.(*UpdatePopupAdRequest))
|
||||
}
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
func _PopupAds_DeletePopupAd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(DeletePopupAdRequest)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if interceptor == nil {
|
||||
return srv.(PopupAdsServer).DeletePopupAd(ctx, in)
|
||||
}
|
||||
info := &grpc.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: PopupAds_DeletePopupAd_FullMethodName,
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(PopupAdsServer).DeletePopupAd(ctx, req.(*DeletePopupAdRequest))
|
||||
}
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
func _PopupAds_GetActivePopupAd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(GetActivePopupAdRequest)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if interceptor == nil {
|
||||
return srv.(PopupAdsServer).GetActivePopupAd(ctx, in)
|
||||
}
|
||||
info := &grpc.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: PopupAds_GetActivePopupAd_FullMethodName,
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(PopupAdsServer).GetActivePopupAd(ctx, req.(*GetActivePopupAdRequest))
|
||||
}
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
// PopupAds_ServiceDesc is the grpc.ServiceDesc for PopupAds service.
|
||||
// It's only intended for direct use with grpc.RegisterService,
|
||||
// and not to be introspected or modified (even as a copy)
|
||||
var PopupAds_ServiceDesc = grpc.ServiceDesc{
|
||||
ServiceName: "stream.app.v1.PopupAds",
|
||||
HandlerType: (*PopupAdsServer)(nil),
|
||||
Methods: []grpc.MethodDesc{
|
||||
{
|
||||
MethodName: "ListPopupAds",
|
||||
Handler: _PopupAds_ListPopupAds_Handler,
|
||||
},
|
||||
{
|
||||
MethodName: "CreatePopupAd",
|
||||
Handler: _PopupAds_CreatePopupAd_Handler,
|
||||
},
|
||||
{
|
||||
MethodName: "UpdatePopupAd",
|
||||
Handler: _PopupAds_UpdatePopupAd_Handler,
|
||||
},
|
||||
{
|
||||
MethodName: "DeletePopupAd",
|
||||
Handler: _PopupAds_DeletePopupAd_Handler,
|
||||
},
|
||||
{
|
||||
MethodName: "GetActivePopupAd",
|
||||
Handler: _PopupAds_GetActivePopupAd_Handler,
|
||||
},
|
||||
},
|
||||
Streams: []grpc.StreamDesc{},
|
||||
Metadata: "app/v1/catalog.proto",
|
||||
}
|
||||
|
||||
const (
|
||||
PlayerConfigs_ListPlayerConfigs_FullMethodName = "/stream.app.v1.PlayerConfigs/ListPlayerConfigs"
|
||||
PlayerConfigs_CreatePlayerConfig_FullMethodName = "/stream.app.v1.PlayerConfigs/CreatePlayerConfig"
|
||||
|
||||
@@ -678,6 +678,106 @@ func (x *AdTemplate) GetUpdatedAt() *timestamppb.Timestamp {
|
||||
return nil
|
||||
}
|
||||
|
||||
type PopupAd struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
||||
Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
|
||||
Label string `protobuf:"bytes,3,opt,name=label,proto3" json:"label,omitempty"`
|
||||
Value string `protobuf:"bytes,4,opt,name=value,proto3" json:"value,omitempty"`
|
||||
IsActive bool `protobuf:"varint,5,opt,name=is_active,json=isActive,proto3" json:"is_active,omitempty"`
|
||||
MaxTriggersPerSession int32 `protobuf:"varint,6,opt,name=max_triggers_per_session,json=maxTriggersPerSession,proto3" json:"max_triggers_per_session,omitempty"`
|
||||
CreatedAt *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
|
||||
UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *PopupAd) Reset() {
|
||||
*x = PopupAd{}
|
||||
mi := &file_app_v1_common_proto_msgTypes[6]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *PopupAd) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*PopupAd) ProtoMessage() {}
|
||||
|
||||
func (x *PopupAd) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_app_v1_common_proto_msgTypes[6]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
return ms
|
||||
}
|
||||
return mi.MessageOf(x)
|
||||
}
|
||||
|
||||
// Deprecated: Use PopupAd.ProtoReflect.Descriptor instead.
|
||||
func (*PopupAd) Descriptor() ([]byte, []int) {
|
||||
return file_app_v1_common_proto_rawDescGZIP(), []int{6}
|
||||
}
|
||||
|
||||
func (x *PopupAd) GetId() string {
|
||||
if x != nil {
|
||||
return x.Id
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *PopupAd) GetType() string {
|
||||
if x != nil {
|
||||
return x.Type
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *PopupAd) GetLabel() string {
|
||||
if x != nil {
|
||||
return x.Label
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *PopupAd) GetValue() string {
|
||||
if x != nil {
|
||||
return x.Value
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *PopupAd) GetIsActive() bool {
|
||||
if x != nil {
|
||||
return x.IsActive
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
func (x *PopupAd) GetMaxTriggersPerSession() int32 {
|
||||
if x != nil {
|
||||
return x.MaxTriggersPerSession
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *PopupAd) GetCreatedAt() *timestamppb.Timestamp {
|
||||
if x != nil {
|
||||
return x.CreatedAt
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *PopupAd) GetUpdatedAt() *timestamppb.Timestamp {
|
||||
if x != nil {
|
||||
return x.UpdatedAt
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
type PlayerConfig struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
||||
@@ -702,7 +802,7 @@ type PlayerConfig struct {
|
||||
|
||||
func (x *PlayerConfig) Reset() {
|
||||
*x = PlayerConfig{}
|
||||
mi := &file_app_v1_common_proto_msgTypes[6]
|
||||
mi := &file_app_v1_common_proto_msgTypes[7]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -714,7 +814,7 @@ func (x *PlayerConfig) String() string {
|
||||
func (*PlayerConfig) ProtoMessage() {}
|
||||
|
||||
func (x *PlayerConfig) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_app_v1_common_proto_msgTypes[6]
|
||||
mi := &file_app_v1_common_proto_msgTypes[7]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -727,7 +827,7 @@ func (x *PlayerConfig) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use PlayerConfig.ProtoReflect.Descriptor instead.
|
||||
func (*PlayerConfig) Descriptor() ([]byte, []int) {
|
||||
return file_app_v1_common_proto_rawDescGZIP(), []int{6}
|
||||
return file_app_v1_common_proto_rawDescGZIP(), []int{7}
|
||||
}
|
||||
|
||||
func (x *PlayerConfig) GetId() string {
|
||||
@@ -868,7 +968,7 @@ type AdminPlayerConfig struct {
|
||||
|
||||
func (x *AdminPlayerConfig) Reset() {
|
||||
*x = AdminPlayerConfig{}
|
||||
mi := &file_app_v1_common_proto_msgTypes[7]
|
||||
mi := &file_app_v1_common_proto_msgTypes[8]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -880,7 +980,7 @@ func (x *AdminPlayerConfig) String() string {
|
||||
func (*AdminPlayerConfig) ProtoMessage() {}
|
||||
|
||||
func (x *AdminPlayerConfig) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_app_v1_common_proto_msgTypes[7]
|
||||
mi := &file_app_v1_common_proto_msgTypes[8]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -893,7 +993,7 @@ func (x *AdminPlayerConfig) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use AdminPlayerConfig.ProtoReflect.Descriptor instead.
|
||||
func (*AdminPlayerConfig) Descriptor() ([]byte, []int) {
|
||||
return file_app_v1_common_proto_rawDescGZIP(), []int{7}
|
||||
return file_app_v1_common_proto_rawDescGZIP(), []int{8}
|
||||
}
|
||||
|
||||
func (x *AdminPlayerConfig) GetId() string {
|
||||
@@ -1041,7 +1141,7 @@ type Plan struct {
|
||||
|
||||
func (x *Plan) Reset() {
|
||||
*x = Plan{}
|
||||
mi := &file_app_v1_common_proto_msgTypes[8]
|
||||
mi := &file_app_v1_common_proto_msgTypes[9]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -1053,7 +1153,7 @@ func (x *Plan) String() string {
|
||||
func (*Plan) ProtoMessage() {}
|
||||
|
||||
func (x *Plan) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_app_v1_common_proto_msgTypes[8]
|
||||
mi := &file_app_v1_common_proto_msgTypes[9]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -1066,7 +1166,7 @@ func (x *Plan) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use Plan.ProtoReflect.Descriptor instead.
|
||||
func (*Plan) Descriptor() ([]byte, []int) {
|
||||
return file_app_v1_common_proto_rawDescGZIP(), []int{8}
|
||||
return file_app_v1_common_proto_rawDescGZIP(), []int{9}
|
||||
}
|
||||
|
||||
func (x *Plan) GetId() string {
|
||||
@@ -1164,7 +1264,7 @@ type Payment struct {
|
||||
|
||||
func (x *Payment) Reset() {
|
||||
*x = Payment{}
|
||||
mi := &file_app_v1_common_proto_msgTypes[9]
|
||||
mi := &file_app_v1_common_proto_msgTypes[10]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -1176,7 +1276,7 @@ func (x *Payment) String() string {
|
||||
func (*Payment) ProtoMessage() {}
|
||||
|
||||
func (x *Payment) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_app_v1_common_proto_msgTypes[9]
|
||||
mi := &file_app_v1_common_proto_msgTypes[10]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -1189,7 +1289,7 @@ func (x *Payment) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use Payment.ProtoReflect.Descriptor instead.
|
||||
func (*Payment) Descriptor() ([]byte, []int) {
|
||||
return file_app_v1_common_proto_rawDescGZIP(), []int{9}
|
||||
return file_app_v1_common_proto_rawDescGZIP(), []int{10}
|
||||
}
|
||||
|
||||
func (x *Payment) GetId() string {
|
||||
@@ -1282,7 +1382,7 @@ type PlanSubscription struct {
|
||||
|
||||
func (x *PlanSubscription) Reset() {
|
||||
*x = PlanSubscription{}
|
||||
mi := &file_app_v1_common_proto_msgTypes[10]
|
||||
mi := &file_app_v1_common_proto_msgTypes[11]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -1294,7 +1394,7 @@ func (x *PlanSubscription) String() string {
|
||||
func (*PlanSubscription) ProtoMessage() {}
|
||||
|
||||
func (x *PlanSubscription) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_app_v1_common_proto_msgTypes[10]
|
||||
mi := &file_app_v1_common_proto_msgTypes[11]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -1307,7 +1407,7 @@ func (x *PlanSubscription) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use PlanSubscription.ProtoReflect.Descriptor instead.
|
||||
func (*PlanSubscription) Descriptor() ([]byte, []int) {
|
||||
return file_app_v1_common_proto_rawDescGZIP(), []int{10}
|
||||
return file_app_v1_common_proto_rawDescGZIP(), []int{11}
|
||||
}
|
||||
|
||||
func (x *PlanSubscription) GetId() string {
|
||||
@@ -1413,7 +1513,7 @@ type WalletTransaction struct {
|
||||
|
||||
func (x *WalletTransaction) Reset() {
|
||||
*x = WalletTransaction{}
|
||||
mi := &file_app_v1_common_proto_msgTypes[11]
|
||||
mi := &file_app_v1_common_proto_msgTypes[12]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -1425,7 +1525,7 @@ func (x *WalletTransaction) String() string {
|
||||
func (*WalletTransaction) ProtoMessage() {}
|
||||
|
||||
func (x *WalletTransaction) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_app_v1_common_proto_msgTypes[11]
|
||||
mi := &file_app_v1_common_proto_msgTypes[12]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -1438,7 +1538,7 @@ func (x *WalletTransaction) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use WalletTransaction.ProtoReflect.Descriptor instead.
|
||||
func (*WalletTransaction) Descriptor() ([]byte, []int) {
|
||||
return file_app_v1_common_proto_rawDescGZIP(), []int{11}
|
||||
return file_app_v1_common_proto_rawDescGZIP(), []int{12}
|
||||
}
|
||||
|
||||
func (x *WalletTransaction) GetId() string {
|
||||
@@ -1538,7 +1638,7 @@ type PaymentHistoryItem struct {
|
||||
|
||||
func (x *PaymentHistoryItem) Reset() {
|
||||
*x = PaymentHistoryItem{}
|
||||
mi := &file_app_v1_common_proto_msgTypes[12]
|
||||
mi := &file_app_v1_common_proto_msgTypes[13]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -1550,7 +1650,7 @@ func (x *PaymentHistoryItem) String() string {
|
||||
func (*PaymentHistoryItem) ProtoMessage() {}
|
||||
|
||||
func (x *PaymentHistoryItem) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_app_v1_common_proto_msgTypes[12]
|
||||
mi := &file_app_v1_common_proto_msgTypes[13]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -1563,7 +1663,7 @@ func (x *PaymentHistoryItem) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use PaymentHistoryItem.ProtoReflect.Descriptor instead.
|
||||
func (*PaymentHistoryItem) Descriptor() ([]byte, []int) {
|
||||
return file_app_v1_common_proto_rawDescGZIP(), []int{12}
|
||||
return file_app_v1_common_proto_rawDescGZIP(), []int{13}
|
||||
}
|
||||
|
||||
func (x *PaymentHistoryItem) GetId() string {
|
||||
@@ -1673,7 +1773,7 @@ type Video struct {
|
||||
|
||||
func (x *Video) Reset() {
|
||||
*x = Video{}
|
||||
mi := &file_app_v1_common_proto_msgTypes[13]
|
||||
mi := &file_app_v1_common_proto_msgTypes[14]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -1685,7 +1785,7 @@ func (x *Video) String() string {
|
||||
func (*Video) ProtoMessage() {}
|
||||
|
||||
func (x *Video) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_app_v1_common_proto_msgTypes[13]
|
||||
mi := &file_app_v1_common_proto_msgTypes[14]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -1698,7 +1798,7 @@ func (x *Video) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use Video.ProtoReflect.Descriptor instead.
|
||||
func (*Video) Descriptor() ([]byte, []int) {
|
||||
return file_app_v1_common_proto_rawDescGZIP(), []int{13}
|
||||
return file_app_v1_common_proto_rawDescGZIP(), []int{14}
|
||||
}
|
||||
|
||||
func (x *Video) GetId() string {
|
||||
@@ -1823,7 +1923,7 @@ type AdminDashboard struct {
|
||||
|
||||
func (x *AdminDashboard) Reset() {
|
||||
*x = AdminDashboard{}
|
||||
mi := &file_app_v1_common_proto_msgTypes[14]
|
||||
mi := &file_app_v1_common_proto_msgTypes[15]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -1835,7 +1935,7 @@ func (x *AdminDashboard) String() string {
|
||||
func (*AdminDashboard) ProtoMessage() {}
|
||||
|
||||
func (x *AdminDashboard) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_app_v1_common_proto_msgTypes[14]
|
||||
mi := &file_app_v1_common_proto_msgTypes[15]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -1848,7 +1948,7 @@ func (x *AdminDashboard) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use AdminDashboard.ProtoReflect.Descriptor instead.
|
||||
func (*AdminDashboard) Descriptor() ([]byte, []int) {
|
||||
return file_app_v1_common_proto_rawDescGZIP(), []int{14}
|
||||
return file_app_v1_common_proto_rawDescGZIP(), []int{15}
|
||||
}
|
||||
|
||||
func (x *AdminDashboard) GetTotalUsers() int64 {
|
||||
@@ -1934,7 +2034,7 @@ type AdminUser struct {
|
||||
|
||||
func (x *AdminUser) Reset() {
|
||||
*x = AdminUser{}
|
||||
mi := &file_app_v1_common_proto_msgTypes[15]
|
||||
mi := &file_app_v1_common_proto_msgTypes[16]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -1946,7 +2046,7 @@ func (x *AdminUser) String() string {
|
||||
func (*AdminUser) ProtoMessage() {}
|
||||
|
||||
func (x *AdminUser) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_app_v1_common_proto_msgTypes[15]
|
||||
mi := &file_app_v1_common_proto_msgTypes[16]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -1959,7 +2059,7 @@ func (x *AdminUser) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use AdminUser.ProtoReflect.Descriptor instead.
|
||||
func (*AdminUser) Descriptor() ([]byte, []int) {
|
||||
return file_app_v1_common_proto_rawDescGZIP(), []int{15}
|
||||
return file_app_v1_common_proto_rawDescGZIP(), []int{16}
|
||||
}
|
||||
|
||||
func (x *AdminUser) GetId() string {
|
||||
@@ -2057,7 +2157,7 @@ type ReferralUserSummary struct {
|
||||
|
||||
func (x *ReferralUserSummary) Reset() {
|
||||
*x = ReferralUserSummary{}
|
||||
mi := &file_app_v1_common_proto_msgTypes[16]
|
||||
mi := &file_app_v1_common_proto_msgTypes[17]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -2069,7 +2169,7 @@ func (x *ReferralUserSummary) String() string {
|
||||
func (*ReferralUserSummary) ProtoMessage() {}
|
||||
|
||||
func (x *ReferralUserSummary) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_app_v1_common_proto_msgTypes[16]
|
||||
mi := &file_app_v1_common_proto_msgTypes[17]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -2082,7 +2182,7 @@ func (x *ReferralUserSummary) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use ReferralUserSummary.ProtoReflect.Descriptor instead.
|
||||
func (*ReferralUserSummary) Descriptor() ([]byte, []int) {
|
||||
return file_app_v1_common_proto_rawDescGZIP(), []int{16}
|
||||
return file_app_v1_common_proto_rawDescGZIP(), []int{17}
|
||||
}
|
||||
|
||||
func (x *ReferralUserSummary) GetId() string {
|
||||
@@ -2123,7 +2223,7 @@ type AdminUserReferralInfo struct {
|
||||
|
||||
func (x *AdminUserReferralInfo) Reset() {
|
||||
*x = AdminUserReferralInfo{}
|
||||
mi := &file_app_v1_common_proto_msgTypes[17]
|
||||
mi := &file_app_v1_common_proto_msgTypes[18]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -2135,7 +2235,7 @@ func (x *AdminUserReferralInfo) String() string {
|
||||
func (*AdminUserReferralInfo) ProtoMessage() {}
|
||||
|
||||
func (x *AdminUserReferralInfo) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_app_v1_common_proto_msgTypes[17]
|
||||
mi := &file_app_v1_common_proto_msgTypes[18]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -2148,7 +2248,7 @@ func (x *AdminUserReferralInfo) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use AdminUserReferralInfo.ProtoReflect.Descriptor instead.
|
||||
func (*AdminUserReferralInfo) Descriptor() ([]byte, []int) {
|
||||
return file_app_v1_common_proto_rawDescGZIP(), []int{17}
|
||||
return file_app_v1_common_proto_rawDescGZIP(), []int{18}
|
||||
}
|
||||
|
||||
func (x *AdminUserReferralInfo) GetReferrer() *ReferralUserSummary {
|
||||
@@ -2225,7 +2325,7 @@ type AdminUserDetail struct {
|
||||
|
||||
func (x *AdminUserDetail) Reset() {
|
||||
*x = AdminUserDetail{}
|
||||
mi := &file_app_v1_common_proto_msgTypes[18]
|
||||
mi := &file_app_v1_common_proto_msgTypes[19]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -2237,7 +2337,7 @@ func (x *AdminUserDetail) String() string {
|
||||
func (*AdminUserDetail) ProtoMessage() {}
|
||||
|
||||
func (x *AdminUserDetail) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_app_v1_common_proto_msgTypes[18]
|
||||
mi := &file_app_v1_common_proto_msgTypes[19]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -2250,7 +2350,7 @@ func (x *AdminUserDetail) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use AdminUserDetail.ProtoReflect.Descriptor instead.
|
||||
func (*AdminUserDetail) Descriptor() ([]byte, []int) {
|
||||
return file_app_v1_common_proto_rawDescGZIP(), []int{18}
|
||||
return file_app_v1_common_proto_rawDescGZIP(), []int{19}
|
||||
}
|
||||
|
||||
func (x *AdminUserDetail) GetUser() *AdminUser {
|
||||
@@ -2298,7 +2398,7 @@ type AdminVideo struct {
|
||||
|
||||
func (x *AdminVideo) Reset() {
|
||||
*x = AdminVideo{}
|
||||
mi := &file_app_v1_common_proto_msgTypes[19]
|
||||
mi := &file_app_v1_common_proto_msgTypes[20]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -2310,7 +2410,7 @@ func (x *AdminVideo) String() string {
|
||||
func (*AdminVideo) ProtoMessage() {}
|
||||
|
||||
func (x *AdminVideo) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_app_v1_common_proto_msgTypes[19]
|
||||
mi := &file_app_v1_common_proto_msgTypes[20]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -2323,7 +2423,7 @@ func (x *AdminVideo) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use AdminVideo.ProtoReflect.Descriptor instead.
|
||||
func (*AdminVideo) Descriptor() ([]byte, []int) {
|
||||
return file_app_v1_common_proto_rawDescGZIP(), []int{19}
|
||||
return file_app_v1_common_proto_rawDescGZIP(), []int{20}
|
||||
}
|
||||
|
||||
func (x *AdminVideo) GetId() string {
|
||||
@@ -2464,7 +2564,7 @@ type AdminPayment struct {
|
||||
|
||||
func (x *AdminPayment) Reset() {
|
||||
*x = AdminPayment{}
|
||||
mi := &file_app_v1_common_proto_msgTypes[20]
|
||||
mi := &file_app_v1_common_proto_msgTypes[21]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -2476,7 +2576,7 @@ func (x *AdminPayment) String() string {
|
||||
func (*AdminPayment) ProtoMessage() {}
|
||||
|
||||
func (x *AdminPayment) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_app_v1_common_proto_msgTypes[20]
|
||||
mi := &file_app_v1_common_proto_msgTypes[21]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -2489,7 +2589,7 @@ func (x *AdminPayment) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use AdminPayment.ProtoReflect.Descriptor instead.
|
||||
func (*AdminPayment) Descriptor() ([]byte, []int) {
|
||||
return file_app_v1_common_proto_rawDescGZIP(), []int{20}
|
||||
return file_app_v1_common_proto_rawDescGZIP(), []int{21}
|
||||
}
|
||||
|
||||
func (x *AdminPayment) GetId() string {
|
||||
@@ -2640,7 +2740,7 @@ type AdminPlan struct {
|
||||
|
||||
func (x *AdminPlan) Reset() {
|
||||
*x = AdminPlan{}
|
||||
mi := &file_app_v1_common_proto_msgTypes[21]
|
||||
mi := &file_app_v1_common_proto_msgTypes[22]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -2652,7 +2752,7 @@ func (x *AdminPlan) String() string {
|
||||
func (*AdminPlan) ProtoMessage() {}
|
||||
|
||||
func (x *AdminPlan) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_app_v1_common_proto_msgTypes[21]
|
||||
mi := &file_app_v1_common_proto_msgTypes[22]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -2665,7 +2765,7 @@ func (x *AdminPlan) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use AdminPlan.ProtoReflect.Descriptor instead.
|
||||
func (*AdminPlan) Descriptor() ([]byte, []int) {
|
||||
return file_app_v1_common_proto_rawDescGZIP(), []int{21}
|
||||
return file_app_v1_common_proto_rawDescGZIP(), []int{22}
|
||||
}
|
||||
|
||||
func (x *AdminPlan) GetId() string {
|
||||
@@ -2786,7 +2886,7 @@ type AdminAdTemplate struct {
|
||||
|
||||
func (x *AdminAdTemplate) Reset() {
|
||||
*x = AdminAdTemplate{}
|
||||
mi := &file_app_v1_common_proto_msgTypes[22]
|
||||
mi := &file_app_v1_common_proto_msgTypes[23]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -2798,7 +2898,7 @@ func (x *AdminAdTemplate) String() string {
|
||||
func (*AdminAdTemplate) ProtoMessage() {}
|
||||
|
||||
func (x *AdminAdTemplate) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_app_v1_common_proto_msgTypes[22]
|
||||
mi := &file_app_v1_common_proto_msgTypes[23]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -2811,7 +2911,7 @@ func (x *AdminAdTemplate) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use AdminAdTemplate.ProtoReflect.Descriptor instead.
|
||||
func (*AdminAdTemplate) Descriptor() ([]byte, []int) {
|
||||
return file_app_v1_common_proto_rawDescGZIP(), []int{22}
|
||||
return file_app_v1_common_proto_rawDescGZIP(), []int{23}
|
||||
}
|
||||
|
||||
func (x *AdminAdTemplate) GetId() string {
|
||||
@@ -2898,6 +2998,122 @@ func (x *AdminAdTemplate) GetUpdatedAt() *timestamppb.Timestamp {
|
||||
return nil
|
||||
}
|
||||
|
||||
type AdminPopupAd struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
||||
UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
|
||||
Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"`
|
||||
Label string `protobuf:"bytes,4,opt,name=label,proto3" json:"label,omitempty"`
|
||||
Value string `protobuf:"bytes,5,opt,name=value,proto3" json:"value,omitempty"`
|
||||
IsActive bool `protobuf:"varint,6,opt,name=is_active,json=isActive,proto3" json:"is_active,omitempty"`
|
||||
MaxTriggersPerSession int32 `protobuf:"varint,7,opt,name=max_triggers_per_session,json=maxTriggersPerSession,proto3" json:"max_triggers_per_session,omitempty"`
|
||||
OwnerEmail *string `protobuf:"bytes,8,opt,name=owner_email,json=ownerEmail,proto3,oneof" json:"owner_email,omitempty"`
|
||||
CreatedAt *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
|
||||
UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *AdminPopupAd) Reset() {
|
||||
*x = AdminPopupAd{}
|
||||
mi := &file_app_v1_common_proto_msgTypes[24]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *AdminPopupAd) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*AdminPopupAd) ProtoMessage() {}
|
||||
|
||||
func (x *AdminPopupAd) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_app_v1_common_proto_msgTypes[24]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
return ms
|
||||
}
|
||||
return mi.MessageOf(x)
|
||||
}
|
||||
|
||||
// Deprecated: Use AdminPopupAd.ProtoReflect.Descriptor instead.
|
||||
func (*AdminPopupAd) Descriptor() ([]byte, []int) {
|
||||
return file_app_v1_common_proto_rawDescGZIP(), []int{24}
|
||||
}
|
||||
|
||||
func (x *AdminPopupAd) GetId() string {
|
||||
if x != nil {
|
||||
return x.Id
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *AdminPopupAd) GetUserId() string {
|
||||
if x != nil {
|
||||
return x.UserId
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *AdminPopupAd) GetType() string {
|
||||
if x != nil {
|
||||
return x.Type
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *AdminPopupAd) GetLabel() string {
|
||||
if x != nil {
|
||||
return x.Label
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *AdminPopupAd) GetValue() string {
|
||||
if x != nil {
|
||||
return x.Value
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *AdminPopupAd) GetIsActive() bool {
|
||||
if x != nil {
|
||||
return x.IsActive
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
func (x *AdminPopupAd) GetMaxTriggersPerSession() int32 {
|
||||
if x != nil {
|
||||
return x.MaxTriggersPerSession
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *AdminPopupAd) GetOwnerEmail() string {
|
||||
if x != nil && x.OwnerEmail != nil {
|
||||
return *x.OwnerEmail
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *AdminPopupAd) GetCreatedAt() *timestamppb.Timestamp {
|
||||
if x != nil {
|
||||
return x.CreatedAt
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *AdminPopupAd) GetUpdatedAt() *timestamppb.Timestamp {
|
||||
if x != nil {
|
||||
return x.UpdatedAt
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
type AdminJob struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
||||
@@ -2926,7 +3142,7 @@ type AdminJob struct {
|
||||
|
||||
func (x *AdminJob) Reset() {
|
||||
*x = AdminJob{}
|
||||
mi := &file_app_v1_common_proto_msgTypes[23]
|
||||
mi := &file_app_v1_common_proto_msgTypes[25]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -2938,7 +3154,7 @@ func (x *AdminJob) String() string {
|
||||
func (*AdminJob) ProtoMessage() {}
|
||||
|
||||
func (x *AdminJob) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_app_v1_common_proto_msgTypes[23]
|
||||
mi := &file_app_v1_common_proto_msgTypes[25]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -2951,7 +3167,7 @@ func (x *AdminJob) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use AdminJob.ProtoReflect.Descriptor instead.
|
||||
func (*AdminJob) Descriptor() ([]byte, []int) {
|
||||
return file_app_v1_common_proto_rawDescGZIP(), []int{23}
|
||||
return file_app_v1_common_proto_rawDescGZIP(), []int{25}
|
||||
}
|
||||
|
||||
func (x *AdminJob) GetId() string {
|
||||
@@ -3114,7 +3330,7 @@ type AdminAgent struct {
|
||||
|
||||
func (x *AdminAgent) Reset() {
|
||||
*x = AdminAgent{}
|
||||
mi := &file_app_v1_common_proto_msgTypes[24]
|
||||
mi := &file_app_v1_common_proto_msgTypes[26]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -3126,7 +3342,7 @@ func (x *AdminAgent) String() string {
|
||||
func (*AdminAgent) ProtoMessage() {}
|
||||
|
||||
func (x *AdminAgent) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_app_v1_common_proto_msgTypes[24]
|
||||
mi := &file_app_v1_common_proto_msgTypes[26]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -3139,7 +3355,7 @@ func (x *AdminAgent) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use AdminAgent.ProtoReflect.Descriptor instead.
|
||||
func (*AdminAgent) Descriptor() ([]byte, []int) {
|
||||
return file_app_v1_common_proto_rawDescGZIP(), []int{24}
|
||||
return file_app_v1_common_proto_rawDescGZIP(), []int{26}
|
||||
}
|
||||
|
||||
func (x *AdminAgent) GetId() string {
|
||||
@@ -3321,7 +3537,18 @@ const file_app_v1_common_proto_rawDesc = "" +
|
||||
"updated_at\x18\n" +
|
||||
" \x01(\v2\x1a.google.protobuf.TimestampR\tupdatedAtB\x0e\n" +
|
||||
"\f_descriptionB\v\n" +
|
||||
"\t_duration\"\xa6\x04\n" +
|
||||
"\t_duration\"\xa5\x02\n" +
|
||||
"\aPopupAd\x12\x0e\n" +
|
||||
"\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n" +
|
||||
"\x04type\x18\x02 \x01(\tR\x04type\x12\x14\n" +
|
||||
"\x05label\x18\x03 \x01(\tR\x05label\x12\x14\n" +
|
||||
"\x05value\x18\x04 \x01(\tR\x05value\x12\x1b\n" +
|
||||
"\tis_active\x18\x05 \x01(\bR\bisActive\x127\n" +
|
||||
"\x18max_triggers_per_session\x18\x06 \x01(\x05R\x15maxTriggersPerSession\x129\n" +
|
||||
"\n" +
|
||||
"created_at\x18\a \x01(\v2\x1a.google.protobuf.TimestampR\tcreatedAt\x129\n" +
|
||||
"\n" +
|
||||
"updated_at\x18\b \x01(\v2\x1a.google.protobuf.TimestampR\tupdatedAt\"\xa6\x04\n" +
|
||||
"\fPlayerConfig\x12\x0e\n" +
|
||||
"\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n" +
|
||||
"\x04name\x18\x02 \x01(\tR\x04name\x12%\n" +
|
||||
@@ -3664,6 +3891,22 @@ const file_app_v1_common_proto_rawDesc = "" +
|
||||
"updated_at\x18\f \x01(\v2\x1a.google.protobuf.TimestampR\tupdatedAtB\x0e\n" +
|
||||
"\f_descriptionB\v\n" +
|
||||
"\t_durationB\x0e\n" +
|
||||
"\f_owner_email\"\xf9\x02\n" +
|
||||
"\fAdminPopupAd\x12\x0e\n" +
|
||||
"\x02id\x18\x01 \x01(\tR\x02id\x12\x17\n" +
|
||||
"\auser_id\x18\x02 \x01(\tR\x06userId\x12\x12\n" +
|
||||
"\x04type\x18\x03 \x01(\tR\x04type\x12\x14\n" +
|
||||
"\x05label\x18\x04 \x01(\tR\x05label\x12\x14\n" +
|
||||
"\x05value\x18\x05 \x01(\tR\x05value\x12\x1b\n" +
|
||||
"\tis_active\x18\x06 \x01(\bR\bisActive\x127\n" +
|
||||
"\x18max_triggers_per_session\x18\a \x01(\x05R\x15maxTriggersPerSession\x12$\n" +
|
||||
"\vowner_email\x18\b \x01(\tH\x00R\n" +
|
||||
"ownerEmail\x88\x01\x01\x129\n" +
|
||||
"\n" +
|
||||
"created_at\x18\t \x01(\v2\x1a.google.protobuf.TimestampR\tcreatedAt\x129\n" +
|
||||
"\n" +
|
||||
"updated_at\x18\n" +
|
||||
" \x01(\v2\x1a.google.protobuf.TimestampR\tupdatedAtB\x0e\n" +
|
||||
"\f_owner_email\"\x98\x05\n" +
|
||||
"\bAdminJob\x12\x0e\n" +
|
||||
"\x02id\x18\x01 \x01(\tR\x02id\x12\x16\n" +
|
||||
@@ -3725,7 +3968,7 @@ func file_app_v1_common_proto_rawDescGZIP() []byte {
|
||||
return file_app_v1_common_proto_rawDescData
|
||||
}
|
||||
|
||||
var file_app_v1_common_proto_msgTypes = make([]protoimpl.MessageInfo, 25)
|
||||
var file_app_v1_common_proto_msgTypes = make([]protoimpl.MessageInfo, 27)
|
||||
var file_app_v1_common_proto_goTypes = []any{
|
||||
(*MessageResponse)(nil), // 0: stream.app.v1.MessageResponse
|
||||
(*User)(nil), // 1: stream.app.v1.User
|
||||
@@ -3733,76 +3976,82 @@ var file_app_v1_common_proto_goTypes = []any{
|
||||
(*Notification)(nil), // 3: stream.app.v1.Notification
|
||||
(*Domain)(nil), // 4: stream.app.v1.Domain
|
||||
(*AdTemplate)(nil), // 5: stream.app.v1.AdTemplate
|
||||
(*PlayerConfig)(nil), // 6: stream.app.v1.PlayerConfig
|
||||
(*AdminPlayerConfig)(nil), // 7: stream.app.v1.AdminPlayerConfig
|
||||
(*Plan)(nil), // 8: stream.app.v1.Plan
|
||||
(*Payment)(nil), // 9: stream.app.v1.Payment
|
||||
(*PlanSubscription)(nil), // 10: stream.app.v1.PlanSubscription
|
||||
(*WalletTransaction)(nil), // 11: stream.app.v1.WalletTransaction
|
||||
(*PaymentHistoryItem)(nil), // 12: stream.app.v1.PaymentHistoryItem
|
||||
(*Video)(nil), // 13: stream.app.v1.Video
|
||||
(*AdminDashboard)(nil), // 14: stream.app.v1.AdminDashboard
|
||||
(*AdminUser)(nil), // 15: stream.app.v1.AdminUser
|
||||
(*ReferralUserSummary)(nil), // 16: stream.app.v1.ReferralUserSummary
|
||||
(*AdminUserReferralInfo)(nil), // 17: stream.app.v1.AdminUserReferralInfo
|
||||
(*AdminUserDetail)(nil), // 18: stream.app.v1.AdminUserDetail
|
||||
(*AdminVideo)(nil), // 19: stream.app.v1.AdminVideo
|
||||
(*AdminPayment)(nil), // 20: stream.app.v1.AdminPayment
|
||||
(*AdminPlan)(nil), // 21: stream.app.v1.AdminPlan
|
||||
(*AdminAdTemplate)(nil), // 22: stream.app.v1.AdminAdTemplate
|
||||
(*AdminJob)(nil), // 23: stream.app.v1.AdminJob
|
||||
(*AdminAgent)(nil), // 24: stream.app.v1.AdminAgent
|
||||
(*timestamppb.Timestamp)(nil), // 25: google.protobuf.Timestamp
|
||||
(*PopupAd)(nil), // 6: stream.app.v1.PopupAd
|
||||
(*PlayerConfig)(nil), // 7: stream.app.v1.PlayerConfig
|
||||
(*AdminPlayerConfig)(nil), // 8: stream.app.v1.AdminPlayerConfig
|
||||
(*Plan)(nil), // 9: stream.app.v1.Plan
|
||||
(*Payment)(nil), // 10: stream.app.v1.Payment
|
||||
(*PlanSubscription)(nil), // 11: stream.app.v1.PlanSubscription
|
||||
(*WalletTransaction)(nil), // 12: stream.app.v1.WalletTransaction
|
||||
(*PaymentHistoryItem)(nil), // 13: stream.app.v1.PaymentHistoryItem
|
||||
(*Video)(nil), // 14: stream.app.v1.Video
|
||||
(*AdminDashboard)(nil), // 15: stream.app.v1.AdminDashboard
|
||||
(*AdminUser)(nil), // 16: stream.app.v1.AdminUser
|
||||
(*ReferralUserSummary)(nil), // 17: stream.app.v1.ReferralUserSummary
|
||||
(*AdminUserReferralInfo)(nil), // 18: stream.app.v1.AdminUserReferralInfo
|
||||
(*AdminUserDetail)(nil), // 19: stream.app.v1.AdminUserDetail
|
||||
(*AdminVideo)(nil), // 20: stream.app.v1.AdminVideo
|
||||
(*AdminPayment)(nil), // 21: stream.app.v1.AdminPayment
|
||||
(*AdminPlan)(nil), // 22: stream.app.v1.AdminPlan
|
||||
(*AdminAdTemplate)(nil), // 23: stream.app.v1.AdminAdTemplate
|
||||
(*AdminPopupAd)(nil), // 24: stream.app.v1.AdminPopupAd
|
||||
(*AdminJob)(nil), // 25: stream.app.v1.AdminJob
|
||||
(*AdminAgent)(nil), // 26: stream.app.v1.AdminAgent
|
||||
(*timestamppb.Timestamp)(nil), // 27: google.protobuf.Timestamp
|
||||
}
|
||||
var file_app_v1_common_proto_depIdxs = []int32{
|
||||
25, // 0: stream.app.v1.User.plan_started_at:type_name -> google.protobuf.Timestamp
|
||||
25, // 1: stream.app.v1.User.plan_expires_at:type_name -> google.protobuf.Timestamp
|
||||
25, // 2: stream.app.v1.User.created_at:type_name -> google.protobuf.Timestamp
|
||||
25, // 3: stream.app.v1.User.updated_at:type_name -> google.protobuf.Timestamp
|
||||
25, // 4: stream.app.v1.Notification.created_at:type_name -> google.protobuf.Timestamp
|
||||
25, // 5: stream.app.v1.Domain.created_at:type_name -> google.protobuf.Timestamp
|
||||
25, // 6: stream.app.v1.Domain.updated_at:type_name -> google.protobuf.Timestamp
|
||||
25, // 7: stream.app.v1.AdTemplate.created_at:type_name -> google.protobuf.Timestamp
|
||||
25, // 8: stream.app.v1.AdTemplate.updated_at:type_name -> google.protobuf.Timestamp
|
||||
25, // 9: stream.app.v1.PlayerConfig.created_at:type_name -> google.protobuf.Timestamp
|
||||
25, // 10: stream.app.v1.PlayerConfig.updated_at:type_name -> google.protobuf.Timestamp
|
||||
25, // 11: stream.app.v1.AdminPlayerConfig.created_at:type_name -> google.protobuf.Timestamp
|
||||
25, // 12: stream.app.v1.AdminPlayerConfig.updated_at:type_name -> google.protobuf.Timestamp
|
||||
25, // 13: stream.app.v1.Payment.created_at:type_name -> google.protobuf.Timestamp
|
||||
25, // 14: stream.app.v1.Payment.updated_at:type_name -> google.protobuf.Timestamp
|
||||
25, // 15: stream.app.v1.PlanSubscription.started_at:type_name -> google.protobuf.Timestamp
|
||||
25, // 16: stream.app.v1.PlanSubscription.expires_at:type_name -> google.protobuf.Timestamp
|
||||
25, // 17: stream.app.v1.PlanSubscription.created_at:type_name -> google.protobuf.Timestamp
|
||||
25, // 18: stream.app.v1.PlanSubscription.updated_at:type_name -> google.protobuf.Timestamp
|
||||
25, // 19: stream.app.v1.WalletTransaction.created_at:type_name -> google.protobuf.Timestamp
|
||||
25, // 20: stream.app.v1.WalletTransaction.updated_at:type_name -> google.protobuf.Timestamp
|
||||
25, // 21: stream.app.v1.PaymentHistoryItem.expires_at:type_name -> google.protobuf.Timestamp
|
||||
25, // 22: stream.app.v1.PaymentHistoryItem.created_at:type_name -> google.protobuf.Timestamp
|
||||
25, // 23: stream.app.v1.Video.created_at:type_name -> google.protobuf.Timestamp
|
||||
25, // 24: stream.app.v1.Video.updated_at:type_name -> google.protobuf.Timestamp
|
||||
25, // 25: stream.app.v1.AdminUser.created_at:type_name -> google.protobuf.Timestamp
|
||||
25, // 26: stream.app.v1.AdminUser.updated_at:type_name -> google.protobuf.Timestamp
|
||||
16, // 27: stream.app.v1.AdminUserReferralInfo.referrer:type_name -> stream.app.v1.ReferralUserSummary
|
||||
25, // 28: stream.app.v1.AdminUserReferralInfo.reward_granted_at:type_name -> google.protobuf.Timestamp
|
||||
15, // 29: stream.app.v1.AdminUserDetail.user:type_name -> stream.app.v1.AdminUser
|
||||
10, // 30: stream.app.v1.AdminUserDetail.subscription:type_name -> stream.app.v1.PlanSubscription
|
||||
17, // 31: stream.app.v1.AdminUserDetail.referral:type_name -> stream.app.v1.AdminUserReferralInfo
|
||||
25, // 32: stream.app.v1.AdminVideo.created_at:type_name -> google.protobuf.Timestamp
|
||||
25, // 33: stream.app.v1.AdminVideo.updated_at:type_name -> google.protobuf.Timestamp
|
||||
25, // 34: stream.app.v1.AdminPayment.created_at:type_name -> google.protobuf.Timestamp
|
||||
25, // 35: stream.app.v1.AdminPayment.updated_at:type_name -> google.protobuf.Timestamp
|
||||
25, // 36: stream.app.v1.AdminAdTemplate.created_at:type_name -> google.protobuf.Timestamp
|
||||
25, // 37: stream.app.v1.AdminAdTemplate.updated_at:type_name -> google.protobuf.Timestamp
|
||||
25, // 38: stream.app.v1.AdminJob.created_at:type_name -> google.protobuf.Timestamp
|
||||
25, // 39: stream.app.v1.AdminJob.updated_at:type_name -> google.protobuf.Timestamp
|
||||
25, // 40: stream.app.v1.AdminAgent.last_heartbeat:type_name -> google.protobuf.Timestamp
|
||||
25, // 41: stream.app.v1.AdminAgent.created_at:type_name -> google.protobuf.Timestamp
|
||||
25, // 42: stream.app.v1.AdminAgent.updated_at:type_name -> google.protobuf.Timestamp
|
||||
43, // [43:43] is the sub-list for method output_type
|
||||
43, // [43:43] is the sub-list for method input_type
|
||||
43, // [43:43] is the sub-list for extension type_name
|
||||
43, // [43:43] is the sub-list for extension extendee
|
||||
0, // [0:43] is the sub-list for field type_name
|
||||
27, // 0: stream.app.v1.User.plan_started_at:type_name -> google.protobuf.Timestamp
|
||||
27, // 1: stream.app.v1.User.plan_expires_at:type_name -> google.protobuf.Timestamp
|
||||
27, // 2: stream.app.v1.User.created_at:type_name -> google.protobuf.Timestamp
|
||||
27, // 3: stream.app.v1.User.updated_at:type_name -> google.protobuf.Timestamp
|
||||
27, // 4: stream.app.v1.Notification.created_at:type_name -> google.protobuf.Timestamp
|
||||
27, // 5: stream.app.v1.Domain.created_at:type_name -> google.protobuf.Timestamp
|
||||
27, // 6: stream.app.v1.Domain.updated_at:type_name -> google.protobuf.Timestamp
|
||||
27, // 7: stream.app.v1.AdTemplate.created_at:type_name -> google.protobuf.Timestamp
|
||||
27, // 8: stream.app.v1.AdTemplate.updated_at:type_name -> google.protobuf.Timestamp
|
||||
27, // 9: stream.app.v1.PopupAd.created_at:type_name -> google.protobuf.Timestamp
|
||||
27, // 10: stream.app.v1.PopupAd.updated_at:type_name -> google.protobuf.Timestamp
|
||||
27, // 11: stream.app.v1.PlayerConfig.created_at:type_name -> google.protobuf.Timestamp
|
||||
27, // 12: stream.app.v1.PlayerConfig.updated_at:type_name -> google.protobuf.Timestamp
|
||||
27, // 13: stream.app.v1.AdminPlayerConfig.created_at:type_name -> google.protobuf.Timestamp
|
||||
27, // 14: stream.app.v1.AdminPlayerConfig.updated_at:type_name -> google.protobuf.Timestamp
|
||||
27, // 15: stream.app.v1.Payment.created_at:type_name -> google.protobuf.Timestamp
|
||||
27, // 16: stream.app.v1.Payment.updated_at:type_name -> google.protobuf.Timestamp
|
||||
27, // 17: stream.app.v1.PlanSubscription.started_at:type_name -> google.protobuf.Timestamp
|
||||
27, // 18: stream.app.v1.PlanSubscription.expires_at:type_name -> google.protobuf.Timestamp
|
||||
27, // 19: stream.app.v1.PlanSubscription.created_at:type_name -> google.protobuf.Timestamp
|
||||
27, // 20: stream.app.v1.PlanSubscription.updated_at:type_name -> google.protobuf.Timestamp
|
||||
27, // 21: stream.app.v1.WalletTransaction.created_at:type_name -> google.protobuf.Timestamp
|
||||
27, // 22: stream.app.v1.WalletTransaction.updated_at:type_name -> google.protobuf.Timestamp
|
||||
27, // 23: stream.app.v1.PaymentHistoryItem.expires_at:type_name -> google.protobuf.Timestamp
|
||||
27, // 24: stream.app.v1.PaymentHistoryItem.created_at:type_name -> google.protobuf.Timestamp
|
||||
27, // 25: stream.app.v1.Video.created_at:type_name -> google.protobuf.Timestamp
|
||||
27, // 26: stream.app.v1.Video.updated_at:type_name -> google.protobuf.Timestamp
|
||||
27, // 27: stream.app.v1.AdminUser.created_at:type_name -> google.protobuf.Timestamp
|
||||
27, // 28: stream.app.v1.AdminUser.updated_at:type_name -> google.protobuf.Timestamp
|
||||
17, // 29: stream.app.v1.AdminUserReferralInfo.referrer:type_name -> stream.app.v1.ReferralUserSummary
|
||||
27, // 30: stream.app.v1.AdminUserReferralInfo.reward_granted_at:type_name -> google.protobuf.Timestamp
|
||||
16, // 31: stream.app.v1.AdminUserDetail.user:type_name -> stream.app.v1.AdminUser
|
||||
11, // 32: stream.app.v1.AdminUserDetail.subscription:type_name -> stream.app.v1.PlanSubscription
|
||||
18, // 33: stream.app.v1.AdminUserDetail.referral:type_name -> stream.app.v1.AdminUserReferralInfo
|
||||
27, // 34: stream.app.v1.AdminVideo.created_at:type_name -> google.protobuf.Timestamp
|
||||
27, // 35: stream.app.v1.AdminVideo.updated_at:type_name -> google.protobuf.Timestamp
|
||||
27, // 36: stream.app.v1.AdminPayment.created_at:type_name -> google.protobuf.Timestamp
|
||||
27, // 37: stream.app.v1.AdminPayment.updated_at:type_name -> google.protobuf.Timestamp
|
||||
27, // 38: stream.app.v1.AdminAdTemplate.created_at:type_name -> google.protobuf.Timestamp
|
||||
27, // 39: stream.app.v1.AdminAdTemplate.updated_at:type_name -> google.protobuf.Timestamp
|
||||
27, // 40: stream.app.v1.AdminPopupAd.created_at:type_name -> google.protobuf.Timestamp
|
||||
27, // 41: stream.app.v1.AdminPopupAd.updated_at:type_name -> google.protobuf.Timestamp
|
||||
27, // 42: stream.app.v1.AdminJob.created_at:type_name -> google.protobuf.Timestamp
|
||||
27, // 43: stream.app.v1.AdminJob.updated_at:type_name -> google.protobuf.Timestamp
|
||||
27, // 44: stream.app.v1.AdminAgent.last_heartbeat:type_name -> google.protobuf.Timestamp
|
||||
27, // 45: stream.app.v1.AdminAgent.created_at:type_name -> google.protobuf.Timestamp
|
||||
27, // 46: stream.app.v1.AdminAgent.updated_at:type_name -> google.protobuf.Timestamp
|
||||
47, // [47:47] is the sub-list for method output_type
|
||||
47, // [47:47] is the sub-list for method input_type
|
||||
47, // [47:47] is the sub-list for extension type_name
|
||||
47, // [47:47] is the sub-list for extension extendee
|
||||
0, // [0:47] is the sub-list for field type_name
|
||||
}
|
||||
|
||||
func init() { file_app_v1_common_proto_init() }
|
||||
@@ -3813,14 +4062,13 @@ func file_app_v1_common_proto_init() {
|
||||
file_app_v1_common_proto_msgTypes[1].OneofWrappers = []any{}
|
||||
file_app_v1_common_proto_msgTypes[3].OneofWrappers = []any{}
|
||||
file_app_v1_common_proto_msgTypes[5].OneofWrappers = []any{}
|
||||
file_app_v1_common_proto_msgTypes[6].OneofWrappers = []any{}
|
||||
file_app_v1_common_proto_msgTypes[7].OneofWrappers = []any{}
|
||||
file_app_v1_common_proto_msgTypes[8].OneofWrappers = []any{}
|
||||
file_app_v1_common_proto_msgTypes[9].OneofWrappers = []any{}
|
||||
file_app_v1_common_proto_msgTypes[11].OneofWrappers = []any{}
|
||||
file_app_v1_common_proto_msgTypes[10].OneofWrappers = []any{}
|
||||
file_app_v1_common_proto_msgTypes[12].OneofWrappers = []any{}
|
||||
file_app_v1_common_proto_msgTypes[13].OneofWrappers = []any{}
|
||||
file_app_v1_common_proto_msgTypes[15].OneofWrappers = []any{}
|
||||
file_app_v1_common_proto_msgTypes[14].OneofWrappers = []any{}
|
||||
file_app_v1_common_proto_msgTypes[16].OneofWrappers = []any{}
|
||||
file_app_v1_common_proto_msgTypes[17].OneofWrappers = []any{}
|
||||
file_app_v1_common_proto_msgTypes[18].OneofWrappers = []any{}
|
||||
@@ -3829,13 +4077,15 @@ func file_app_v1_common_proto_init() {
|
||||
file_app_v1_common_proto_msgTypes[21].OneofWrappers = []any{}
|
||||
file_app_v1_common_proto_msgTypes[22].OneofWrappers = []any{}
|
||||
file_app_v1_common_proto_msgTypes[23].OneofWrappers = []any{}
|
||||
file_app_v1_common_proto_msgTypes[24].OneofWrappers = []any{}
|
||||
file_app_v1_common_proto_msgTypes[25].OneofWrappers = []any{}
|
||||
type x struct{}
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: unsafe.Slice(unsafe.StringData(file_app_v1_common_proto_rawDesc), len(file_app_v1_common_proto_rawDesc)),
|
||||
NumEnums: 0,
|
||||
NumMessages: 25,
|
||||
NumMessages: 27,
|
||||
NumExtensions: 0,
|
||||
NumServices: 0,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user