universe

package
v0.0.0-...-5dfe74e Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2024 License: MIT Imports: 25 Imported by: 0

Documentation

Index

Constants

View Source
const (
	BillingService_DescribeBillingInformation_FullMethodName = "/eolymp.universe.BillingService/DescribeBillingInformation"
	BillingService_UpdateBillingInformation_FullMethodName   = "/eolymp.universe.BillingService/UpdateBillingInformation"
	BillingService_DescribeSubscription_FullMethodName       = "/eolymp.universe.BillingService/DescribeSubscription"
	BillingService_CreateSubscription_FullMethodName         = "/eolymp.universe.BillingService/CreateSubscription"
	BillingService_UpdateSubscription_FullMethodName         = "/eolymp.universe.BillingService/UpdateSubscription"
	BillingService_CancelSubscription_FullMethodName         = "/eolymp.universe.BillingService/CancelSubscription"
	BillingService_SimulateSubscription_FullMethodName       = "/eolymp.universe.BillingService/SimulateSubscription"
	BillingService_CreatePortalLink_FullMethodName           = "/eolymp.universe.BillingService/CreatePortalLink"
	BillingService_UpcomingInvoice_FullMethodName            = "/eolymp.universe.BillingService/UpcomingInvoice"
	BillingService_DescribeInvoice_FullMethodName            = "/eolymp.universe.BillingService/DescribeInvoice"
	BillingService_PayInvoice_FullMethodName                 = "/eolymp.universe.BillingService/PayInvoice"
	BillingService_ListInvoices_FullMethodName               = "/eolymp.universe.BillingService/ListInvoices"
)
View Source
const (
	PlanService_DescribePlan_FullMethodName = "/eolymp.universe.PlanService/DescribePlan"
	PlanService_ListPlans_FullMethodName    = "/eolymp.universe.PlanService/ListPlans"
)
View Source
const (
	SpaceService_LookupSpace_FullMethodName   = "/eolymp.universe.SpaceService/LookupSpace"
	SpaceService_CreateSpace_FullMethodName   = "/eolymp.universe.SpaceService/CreateSpace"
	SpaceService_UpdateSpace_FullMethodName   = "/eolymp.universe.SpaceService/UpdateSpace"
	SpaceService_DeleteSpace_FullMethodName   = "/eolymp.universe.SpaceService/DeleteSpace"
	SpaceService_DescribeSpace_FullMethodName = "/eolymp.universe.SpaceService/DescribeSpace"
	SpaceService_ListSpaces_FullMethodName    = "/eolymp.universe.SpaceService/ListSpaces"
)
View Source
const (
	Universe_LookupSpace_FullMethodName   = "/eolymp.universe.Universe/LookupSpace"
	Universe_CreateSpace_FullMethodName   = "/eolymp.universe.Universe/CreateSpace"
	Universe_UpdateSpace_FullMethodName   = "/eolymp.universe.Universe/UpdateSpace"
	Universe_DeleteSpace_FullMethodName   = "/eolymp.universe.Universe/DeleteSpace"
	Universe_DescribeSpace_FullMethodName = "/eolymp.universe.Universe/DescribeSpace"
	Universe_DescribeQuota_FullMethodName = "/eolymp.universe.Universe/DescribeQuota"
	Universe_UpdateQuota_FullMethodName   = "/eolymp.universe.Universe/UpdateQuota"
	Universe_ListSpaces_FullMethodName    = "/eolymp.universe.Universe/ListSpaces"
)

Variables

View Source
var (
	Billing_Status_name = map[int32]string{
		0: "UNKNOWN_STATUS",
		1: "TRIAL",
		2: "ACTIVE",
		3: "CANCELLED",
	}
	Billing_Status_value = map[string]int32{
		"UNKNOWN_STATUS": 0,
		"TRIAL":          1,
		"ACTIVE":         2,
		"CANCELLED":      3,
	}
)

Enum value maps for Billing_Status.

View Source
var (
	Billing_Recurrence_name = map[int32]string{
		0: "UNKNOWN_RECURRENCE",
		1: "MONTHLY",
		2: "YEARLY",
	}
	Billing_Recurrence_value = map[string]int32{
		"UNKNOWN_RECURRENCE": 0,
		"MONTHLY":            1,
		"YEARLY":             2,
	}
)

Enum value maps for Billing_Recurrence.

View Source
var (
	SpaceChangeRecord_Operation_name = map[int32]string{
		0: "NO_OPERATION",
		1: "CREATE",
		2: "UPDATE",
		3: "DELETE",
		4: "SOFT_DELETE",
	}
	SpaceChangeRecord_Operation_value = map[string]int32{
		"NO_OPERATION": 0,
		"CREATE":       1,
		"UPDATE":       2,
		"DELETE":       3,
		"SOFT_DELETE":  4,
	}
)

Enum value maps for SpaceChangeRecord_Operation.

View Source
var (
	Plan_Extra_name = map[int32]string{
		0: "NO_EXTRA",
		1: "DESCRIPTION_RENDER",
		2: "DESCRIPTION_VALUE",
	}
	Plan_Extra_value = map[string]int32{
		"NO_EXTRA":           0,
		"DESCRIPTION_RENDER": 1,
		"DESCRIPTION_VALUE":  2,
	}
)

Enum value maps for Plan_Extra.

View Source
var (
	Plan_Recurrence_name = map[int32]string{
		0: "UNKNOWN_RECURRENCE",
		1: "ONETIME",
		2: "MONTHLY",
		3: "YEARLY",
	}
	Plan_Recurrence_value = map[string]int32{
		"UNKNOWN_RECURRENCE": 0,
		"ONETIME":            1,
		"MONTHLY":            2,
		"YEARLY":             3,
	}
)

Enum value maps for Plan_Recurrence.

View Source
var (
	Space_Status_name = map[int32]string{
		0: "UNKNOWN_STATUS",
		1: "TRIAL",
		2: "ACTIVE",
		3: "SUSPENDED",
	}
	Space_Status_value = map[string]int32{
		"UNKNOWN_STATUS": 0,
		"TRIAL":          1,
		"ACTIVE":         2,
		"SUSPENDED":      3,
	}
)

Enum value maps for Space_Status.

View Source
var (
	Space_Visibility_name = map[int32]string{
		0: "UNKNOWN_VISIBILITY",
		1: "PUBLIC",
		2: "PRIVATE",
	}
	Space_Visibility_value = map[string]int32{
		"UNKNOWN_VISIBILITY": 0,
		"PUBLIC":             1,
		"PRIVATE":            2,
	}
)

Enum value maps for Space_Visibility.

View Source
var (
	Space_Extra_name = map[int32]string{
		0: "UNKNOWN_EXTRA",
		1: "SUBSCRIPTION",
	}
	Space_Extra_value = map[string]int32{
		"UNKNOWN_EXTRA": 0,
		"SUBSCRIPTION":  1,
	}
)

Enum value maps for Space_Extra.

View Source
var (
	UpdateSpaceInput_Patch_name = map[int32]string{
		0: "ALL",
		1: "KEY",
		2: "NAME",
		3: "IMAGE",
		4: "TYPE",
		5: "VISIBILITY",
	}
	UpdateSpaceInput_Patch_value = map[string]int32{
		"ALL":        0,
		"KEY":        1,
		"NAME":       2,
		"IMAGE":      3,
		"TYPE":       4,
		"VISIBILITY": 5,
	}
)

Enum value maps for UpdateSpaceInput_Patch.

View Source
var BillingService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "eolymp.universe.BillingService",
	HandlerType: (*BillingServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "DescribeBillingInformation",
			Handler:    _BillingService_DescribeBillingInformation_Handler,
		},
		{
			MethodName: "UpdateBillingInformation",
			Handler:    _BillingService_UpdateBillingInformation_Handler,
		},
		{
			MethodName: "DescribeSubscription",
			Handler:    _BillingService_DescribeSubscription_Handler,
		},
		{
			MethodName: "CreateSubscription",
			Handler:    _BillingService_CreateSubscription_Handler,
		},
		{
			MethodName: "UpdateSubscription",
			Handler:    _BillingService_UpdateSubscription_Handler,
		},
		{
			MethodName: "CancelSubscription",
			Handler:    _BillingService_CancelSubscription_Handler,
		},
		{
			MethodName: "SimulateSubscription",
			Handler:    _BillingService_SimulateSubscription_Handler,
		},
		{
			MethodName: "CreatePortalLink",
			Handler:    _BillingService_CreatePortalLink_Handler,
		},
		{
			MethodName: "UpcomingInvoice",
			Handler:    _BillingService_UpcomingInvoice_Handler,
		},
		{
			MethodName: "DescribeInvoice",
			Handler:    _BillingService_DescribeInvoice_Handler,
		},
		{
			MethodName: "PayInvoice",
			Handler:    _BillingService_PayInvoice_Handler,
		},
		{
			MethodName: "ListInvoices",
			Handler:    _BillingService_ListInvoices_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "eolymp/universe/billing_service.proto",
}

BillingService_ServiceDesc is the grpc.ServiceDesc for BillingService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var File_eolymp_universe_billing_proto protoreflect.FileDescriptor
View Source
var File_eolymp_universe_billing_service_proto protoreflect.FileDescriptor
View Source
var File_eolymp_universe_events_proto protoreflect.FileDescriptor
View Source
var File_eolymp_universe_plan_proto protoreflect.FileDescriptor
View Source
var File_eolymp_universe_plan_service_proto protoreflect.FileDescriptor
View Source
var File_eolymp_universe_quota_proto protoreflect.FileDescriptor
View Source
var File_eolymp_universe_space_proto protoreflect.FileDescriptor
View Source
var File_eolymp_universe_space_service_proto protoreflect.FileDescriptor
View Source
var File_eolymp_universe_universe_proto protoreflect.FileDescriptor
View Source
var PlanService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "eolymp.universe.PlanService",
	HandlerType: (*PlanServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "DescribePlan",
			Handler:    _PlanService_DescribePlan_Handler,
		},
		{
			MethodName: "ListPlans",
			Handler:    _PlanService_ListPlans_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "eolymp/universe/plan_service.proto",
}

PlanService_ServiceDesc is the grpc.ServiceDesc for PlanService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var SpaceService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "eolymp.universe.SpaceService",
	HandlerType: (*SpaceServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "LookupSpace",
			Handler:    _SpaceService_LookupSpace_Handler,
		},
		{
			MethodName: "CreateSpace",
			Handler:    _SpaceService_CreateSpace_Handler,
		},
		{
			MethodName: "UpdateSpace",
			Handler:    _SpaceService_UpdateSpace_Handler,
		},
		{
			MethodName: "DeleteSpace",
			Handler:    _SpaceService_DeleteSpace_Handler,
		},
		{
			MethodName: "DescribeSpace",
			Handler:    _SpaceService_DescribeSpace_Handler,
		},
		{
			MethodName: "ListSpaces",
			Handler:    _SpaceService_ListSpaces_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "eolymp/universe/space_service.proto",
}

SpaceService_ServiceDesc is the grpc.ServiceDesc for SpaceService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var Universe_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "eolymp.universe.Universe",
	HandlerType: (*UniverseServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "LookupSpace",
			Handler:    _Universe_LookupSpace_Handler,
		},
		{
			MethodName: "CreateSpace",
			Handler:    _Universe_CreateSpace_Handler,
		},
		{
			MethodName: "UpdateSpace",
			Handler:    _Universe_UpdateSpace_Handler,
		},
		{
			MethodName: "DeleteSpace",
			Handler:    _Universe_DeleteSpace_Handler,
		},
		{
			MethodName: "DescribeSpace",
			Handler:    _Universe_DescribeSpace_Handler,
		},
		{
			MethodName: "DescribeQuota",
			Handler:    _Universe_DescribeQuota_Handler,
		},
		{
			MethodName: "UpdateQuota",
			Handler:    _Universe_UpdateQuota_Handler,
		},
		{
			MethodName: "ListSpaces",
			Handler:    _Universe_ListSpaces_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "eolymp/universe/universe.proto",
}

Universe_ServiceDesc is the grpc.ServiceDesc for Universe service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterBillingServiceHttpHandlers

func RegisterBillingServiceHttpHandlers(router *mux.Router, prefix string, cli BillingServiceClient)

RegisterBillingServiceHttpHandlers adds handlers for for BillingServiceClient This constructor creates http.Handler, the actual implementation might change at any moment

func RegisterBillingServiceServer

func RegisterBillingServiceServer(s grpc.ServiceRegistrar, srv BillingServiceServer)

func RegisterPlanServiceHttpHandlers

func RegisterPlanServiceHttpHandlers(router *mux.Router, prefix string, cli PlanServiceClient)

RegisterPlanServiceHttpHandlers adds handlers for for PlanServiceClient This constructor creates http.Handler, the actual implementation might change at any moment

func RegisterPlanServiceServer

func RegisterPlanServiceServer(s grpc.ServiceRegistrar, srv PlanServiceServer)

func RegisterSpaceServiceHttpHandlers

func RegisterSpaceServiceHttpHandlers(router *mux.Router, prefix string, cli SpaceServiceClient)

RegisterSpaceServiceHttpHandlers adds handlers for for SpaceServiceClient This constructor creates http.Handler, the actual implementation might change at any moment

func RegisterSpaceServiceServer

func RegisterSpaceServiceServer(s grpc.ServiceRegistrar, srv SpaceServiceServer)

func RegisterUniverseHttpHandlers

func RegisterUniverseHttpHandlers(router *mux.Router, prefix string, cli UniverseClient)

RegisterUniverseHttpHandlers adds handlers for for UniverseClient This constructor creates http.Handler, the actual implementation might change at any moment

func RegisterUniverseServer

func RegisterUniverseServer(s grpc.ServiceRegistrar, srv UniverseServer)

Types

type Billing

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

func (*Billing) Descriptor deprecated

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

Deprecated: Use Billing.ProtoReflect.Descriptor instead.

func (*Billing) ProtoMessage

func (*Billing) ProtoMessage()

func (*Billing) ProtoReflect

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

func (*Billing) Reset

func (x *Billing) Reset()

func (*Billing) String

func (x *Billing) String() string

type BillingServiceClient

type BillingServiceClient interface {
	DescribeBillingInformation(ctx context.Context, in *DescribeBillingInformationInput, opts ...grpc.CallOption) (*DescribeBillingInformationOutput, error)
	UpdateBillingInformation(ctx context.Context, in *UpdateBillingInformationInput, opts ...grpc.CallOption) (*UpdateBillingInformationOutput, error)
	DescribeSubscription(ctx context.Context, in *DescribeSubscriptionInput, opts ...grpc.CallOption) (*DescribeSubscriptionOutput, error)
	CreateSubscription(ctx context.Context, in *CreateSubscriptionInput, opts ...grpc.CallOption) (*CreateSubscriptionOutput, error)
	UpdateSubscription(ctx context.Context, in *UpdateSubscriptionInput, opts ...grpc.CallOption) (*UpdateSubscriptionOutput, error)
	CancelSubscription(ctx context.Context, in *CancelSubscriptionInput, opts ...grpc.CallOption) (*CancelSubscriptionOutput, error)
	SimulateSubscription(ctx context.Context, in *SimulateSubscriptionInput, opts ...grpc.CallOption) (*SimulateSubscriptionOutput, error)
	CreatePortalLink(ctx context.Context, in *CreatePortalLinkInput, opts ...grpc.CallOption) (*CreatePortalLinkOutput, error)
	UpcomingInvoice(ctx context.Context, in *UpcomingInvoiceInput, opts ...grpc.CallOption) (*UpcomingInvoiceOutput, error)
	DescribeInvoice(ctx context.Context, in *DescribeInvoiceInput, opts ...grpc.CallOption) (*DescribeInvoiceOutput, error)
	PayInvoice(ctx context.Context, in *PayInvoiceInput, opts ...grpc.CallOption) (*PayInvoiceOutput, error)
	ListInvoices(ctx context.Context, in *ListInvoicesInput, opts ...grpc.CallOption) (*ListInvoicesOutput, error)
}

BillingServiceClient is the client API for BillingService 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 BillingServiceInterceptor

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

func NewBillingServiceInterceptor

func NewBillingServiceInterceptor(cli BillingServiceClient, middleware ..._BillingServiceMiddleware) *BillingServiceInterceptor

NewBillingServiceInterceptor constructs additional middleware for a server based on annotations in proto files

func (*BillingServiceInterceptor) CancelSubscription

func (*BillingServiceInterceptor) CreateSubscription

func (*BillingServiceInterceptor) DescribeBillingInformation

func (*BillingServiceInterceptor) DescribeInvoice

func (*BillingServiceInterceptor) DescribeSubscription

func (*BillingServiceInterceptor) ListInvoices

func (*BillingServiceInterceptor) PayInvoice

func (*BillingServiceInterceptor) SimulateSubscription

func (*BillingServiceInterceptor) UpcomingInvoice

func (*BillingServiceInterceptor) UpdateBillingInformation

func (*BillingServiceInterceptor) UpdateSubscription

type BillingServiceServer

BillingServiceServer is the server API for BillingService service. All implementations should embed UnimplementedBillingServiceServer for forward compatibility

type BillingServiceService

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

func NewBillingServiceHttpClient

func NewBillingServiceHttpClient(url string, cli _BillingServiceHttpClient) *BillingServiceService

NewBillingServiceHttpClient constructs client for BillingService

func (*BillingServiceService) CancelSubscription

func (*BillingServiceService) CreateSubscription

func (*BillingServiceService) DescribeBillingInformation

func (*BillingServiceService) DescribeInvoice

func (*BillingServiceService) DescribeSubscription

func (*BillingServiceService) ListInvoices

func (*BillingServiceService) PayInvoice

func (*BillingServiceService) SimulateSubscription

func (*BillingServiceService) UpcomingInvoice

func (*BillingServiceService) UpdateBillingInformation

func (*BillingServiceService) UpdateSubscription

type Billing_Information

type Billing_Information struct {
	Name       string            `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Email      string            `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"`
	Phone      string            `protobuf:"bytes,3,opt,name=phone,proto3" json:"phone,omitempty"`
	TaxIdType  string            `protobuf:"bytes,10,opt,name=tax_id_type,json=taxIdType,proto3" json:"tax_id_type,omitempty"`
	TaxIdValue string            `protobuf:"bytes,11,opt,name=tax_id_value,json=taxIdValue,proto3" json:"tax_id_value,omitempty"`
	Address    *commerce.Address `protobuf:"bytes,20,opt,name=address,proto3" json:"address,omitempty"`
	Currency   string            `protobuf:"bytes,90,opt,name=currency,proto3" json:"currency,omitempty"`
	Language   string            `protobuf:"bytes,91,opt,name=language,proto3" json:"language,omitempty"`
	// contains filtered or unexported fields
}

func (*Billing_Information) Descriptor deprecated

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

Deprecated: Use Billing_Information.ProtoReflect.Descriptor instead.

func (*Billing_Information) GetAddress

func (x *Billing_Information) GetAddress() *commerce.Address

func (*Billing_Information) GetCurrency

func (x *Billing_Information) GetCurrency() string

func (*Billing_Information) GetEmail

func (x *Billing_Information) GetEmail() string

func (*Billing_Information) GetLanguage

func (x *Billing_Information) GetLanguage() string

func (*Billing_Information) GetName

func (x *Billing_Information) GetName() string

func (*Billing_Information) GetPhone

func (x *Billing_Information) GetPhone() string

func (*Billing_Information) GetTaxIdType

func (x *Billing_Information) GetTaxIdType() string

func (*Billing_Information) GetTaxIdValue

func (x *Billing_Information) GetTaxIdValue() string

func (*Billing_Information) ProtoMessage

func (*Billing_Information) ProtoMessage()

func (*Billing_Information) ProtoReflect

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

func (*Billing_Information) Reset

func (x *Billing_Information) Reset()

func (*Billing_Information) String

func (x *Billing_Information) String() string

type Billing_Recurrence

type Billing_Recurrence int32
const (
	Billing_UNKNOWN_RECURRENCE Billing_Recurrence = 0
	Billing_MONTHLY            Billing_Recurrence = 1
	Billing_YEARLY             Billing_Recurrence = 2
)

func (Billing_Recurrence) Descriptor

func (Billing_Recurrence) Enum

func (Billing_Recurrence) EnumDescriptor deprecated

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

Deprecated: Use Billing_Recurrence.Descriptor instead.

func (Billing_Recurrence) Number

func (Billing_Recurrence) String

func (x Billing_Recurrence) String() string

func (Billing_Recurrence) Type

type Billing_Status

type Billing_Status int32
const (
	Billing_UNKNOWN_STATUS Billing_Status = 0
	Billing_TRIAL          Billing_Status = 1
	Billing_ACTIVE         Billing_Status = 2
	Billing_CANCELLED      Billing_Status = 3
)

func (Billing_Status) Descriptor

func (Billing_Status) Enum

func (x Billing_Status) Enum() *Billing_Status

func (Billing_Status) EnumDescriptor deprecated

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

Deprecated: Use Billing_Status.Descriptor instead.

func (Billing_Status) Number

func (Billing_Status) String

func (x Billing_Status) String() string

func (Billing_Status) Type

type Billing_Subscription

type Billing_Subscription struct {
	Id     string         `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Status Billing_Status `protobuf:"varint,2,opt,name=status,proto3,enum=eolymp.universe.Billing_Status" json:"status,omitempty"`
	// Irregular structure flag
	//
	// If this flag is set to true, show warning to the customer because subscription might have multiple items,
	// unrecognized changes or other irregularities. It might be due to an error or special manual configuration.
	//
	// Updating irregular subscriptions is not possible without intervention from support.
	Irregular   bool                   `protobuf:"varint,3,opt,name=irregular,proto3" json:"irregular,omitempty"`
	Plan        *Plan                  `protobuf:"bytes,10,opt,name=plan,proto3" json:"plan,omitempty"`
	Variant     *Plan_Variant          `protobuf:"bytes,11,opt,name=variant,proto3" json:"variant,omitempty"`
	Seats       uint32                 `protobuf:"varint,12,opt,name=seats,proto3" json:"seats,omitempty"`
	CreatedAt   *timestamppb.Timestamp `protobuf:"bytes,210,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`       // time when subscription was created
	StartedAt   *timestamppb.Timestamp `protobuf:"bytes,211,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"`       // time when subscription was started (activated first time)
	CancelAt    *timestamppb.Timestamp `protobuf:"bytes,213,opt,name=cancel_at,json=cancelAt,proto3" json:"cancel_at,omitempty"`          // time when subscription was/will be cancelled
	CancelledAt *timestamppb.Timestamp `protobuf:"bytes,214,opt,name=cancelled_at,json=cancelledAt,proto3" json:"cancelled_at,omitempty"` // time when subscription was/will be cancelled
	EndedAt     *timestamppb.Timestamp `protobuf:"bytes,215,opt,name=ended_at,json=endedAt,proto3" json:"ended_at,omitempty"`             // time when subscription was/will be cancelled
	PeriodStart *timestamppb.Timestamp `protobuf:"bytes,240,opt,name=period_start,json=periodStart,proto3" json:"period_start,omitempty"` // current billing period start
	PeriodEnd   *timestamppb.Timestamp `protobuf:"bytes,241,opt,name=period_end,json=periodEnd,proto3" json:"period_end,omitempty"`       // current billing period end
	TrialStart  *timestamppb.Timestamp `protobuf:"bytes,270,opt,name=trial_start,json=trialStart,proto3" json:"trial_start,omitempty"`    // time when trial has started
	TrialEnd    *timestamppb.Timestamp `protobuf:"bytes,271,opt,name=trial_end,json=trialEnd,proto3" json:"trial_end,omitempty"`          // time when trial will be over
	// contains filtered or unexported fields
}

func (*Billing_Subscription) Descriptor deprecated

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

Deprecated: Use Billing_Subscription.ProtoReflect.Descriptor instead.

func (*Billing_Subscription) GetCancelAt

func (x *Billing_Subscription) GetCancelAt() *timestamppb.Timestamp

func (*Billing_Subscription) GetCancelledAt

func (x *Billing_Subscription) GetCancelledAt() *timestamppb.Timestamp

func (*Billing_Subscription) GetCreatedAt

func (x *Billing_Subscription) GetCreatedAt() *timestamppb.Timestamp

func (*Billing_Subscription) GetEndedAt

func (x *Billing_Subscription) GetEndedAt() *timestamppb.Timestamp

func (*Billing_Subscription) GetId

func (x *Billing_Subscription) GetId() string

func (*Billing_Subscription) GetIrregular

func (x *Billing_Subscription) GetIrregular() bool

func (*Billing_Subscription) GetPeriodEnd

func (x *Billing_Subscription) GetPeriodEnd() *timestamppb.Timestamp

func (*Billing_Subscription) GetPeriodStart

func (x *Billing_Subscription) GetPeriodStart() *timestamppb.Timestamp

func (*Billing_Subscription) GetPlan

func (x *Billing_Subscription) GetPlan() *Plan

func (*Billing_Subscription) GetSeats

func (x *Billing_Subscription) GetSeats() uint32

func (*Billing_Subscription) GetStartedAt

func (x *Billing_Subscription) GetStartedAt() *timestamppb.Timestamp

func (*Billing_Subscription) GetStatus

func (x *Billing_Subscription) GetStatus() Billing_Status

func (*Billing_Subscription) GetTrialEnd

func (x *Billing_Subscription) GetTrialEnd() *timestamppb.Timestamp

func (*Billing_Subscription) GetTrialStart

func (x *Billing_Subscription) GetTrialStart() *timestamppb.Timestamp

func (*Billing_Subscription) GetVariant

func (x *Billing_Subscription) GetVariant() *Plan_Variant

func (*Billing_Subscription) ProtoMessage

func (*Billing_Subscription) ProtoMessage()

func (*Billing_Subscription) ProtoReflect

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

func (*Billing_Subscription) Reset

func (x *Billing_Subscription) Reset()

func (*Billing_Subscription) String

func (x *Billing_Subscription) String() string

type CancelSubscriptionInput

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

func (*CancelSubscriptionInput) Descriptor deprecated

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

Deprecated: Use CancelSubscriptionInput.ProtoReflect.Descriptor instead.

func (*CancelSubscriptionInput) ProtoMessage

func (*CancelSubscriptionInput) ProtoMessage()

func (*CancelSubscriptionInput) ProtoReflect

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

func (*CancelSubscriptionInput) Reset

func (x *CancelSubscriptionInput) Reset()

func (*CancelSubscriptionInput) String

func (x *CancelSubscriptionInput) String() string

type CancelSubscriptionOutput

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

func (*CancelSubscriptionOutput) Descriptor deprecated

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

Deprecated: Use CancelSubscriptionOutput.ProtoReflect.Descriptor instead.

func (*CancelSubscriptionOutput) ProtoMessage

func (*CancelSubscriptionOutput) ProtoMessage()

func (*CancelSubscriptionOutput) ProtoReflect

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

func (*CancelSubscriptionOutput) Reset

func (x *CancelSubscriptionOutput) Reset()

func (*CancelSubscriptionOutput) String

func (x *CancelSubscriptionOutput) String() string

type CreatePortalLinkInput

type CreatePortalLinkInput struct {
	Flow        string `protobuf:"bytes,1,opt,name=flow,proto3" json:"flow,omitempty"`
	BackUrl     string `protobuf:"bytes,2,opt,name=back_url,json=backUrl,proto3" json:"back_url,omitempty"`
	ReturnUrl   string `protobuf:"bytes,3,opt,name=return_url,json=returnUrl,proto3" json:"return_url,omitempty"`
	CompleteUrl string `protobuf:"bytes,4,opt,name=complete_url,json=completeUrl,proto3" json:"complete_url,omitempty"`
	// contains filtered or unexported fields
}

func (*CreatePortalLinkInput) Descriptor deprecated

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

Deprecated: Use CreatePortalLinkInput.ProtoReflect.Descriptor instead.

func (*CreatePortalLinkInput) GetBackUrl

func (x *CreatePortalLinkInput) GetBackUrl() string

func (*CreatePortalLinkInput) GetCompleteUrl

func (x *CreatePortalLinkInput) GetCompleteUrl() string

func (*CreatePortalLinkInput) GetFlow

func (x *CreatePortalLinkInput) GetFlow() string

func (*CreatePortalLinkInput) GetReturnUrl

func (x *CreatePortalLinkInput) GetReturnUrl() string

func (*CreatePortalLinkInput) ProtoMessage

func (*CreatePortalLinkInput) ProtoMessage()

func (*CreatePortalLinkInput) ProtoReflect

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

func (*CreatePortalLinkInput) Reset

func (x *CreatePortalLinkInput) Reset()

func (*CreatePortalLinkInput) String

func (x *CreatePortalLinkInput) String() string

type CreatePortalLinkOutput

type CreatePortalLinkOutput struct {
	PortalLink string `protobuf:"bytes,1,opt,name=portal_link,json=portalLink,proto3" json:"portal_link,omitempty"`
	// contains filtered or unexported fields
}

func (*CreatePortalLinkOutput) Descriptor deprecated

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

Deprecated: Use CreatePortalLinkOutput.ProtoReflect.Descriptor instead.

func (x *CreatePortalLinkOutput) GetPortalLink() string

func (*CreatePortalLinkOutput) ProtoMessage

func (*CreatePortalLinkOutput) ProtoMessage()

func (*CreatePortalLinkOutput) ProtoReflect

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

func (*CreatePortalLinkOutput) Reset

func (x *CreatePortalLinkOutput) Reset()

func (*CreatePortalLinkOutput) String

func (x *CreatePortalLinkOutput) String() string

type CreateSpaceInput

type CreateSpaceInput struct {
	Space *Space `protobuf:"bytes,1,opt,name=space,proto3" json:"space,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateSpaceInput) Descriptor deprecated

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

Deprecated: Use CreateSpaceInput.ProtoReflect.Descriptor instead.

func (*CreateSpaceInput) GetSpace

func (x *CreateSpaceInput) GetSpace() *Space

func (*CreateSpaceInput) ProtoMessage

func (*CreateSpaceInput) ProtoMessage()

func (*CreateSpaceInput) ProtoReflect

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

func (*CreateSpaceInput) Reset

func (x *CreateSpaceInput) Reset()

func (*CreateSpaceInput) String

func (x *CreateSpaceInput) String() string

type CreateSpaceOutput

type CreateSpaceOutput struct {
	SpaceId string `protobuf:"bytes,1,opt,name=space_id,json=spaceId,proto3" json:"space_id,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateSpaceOutput) Descriptor deprecated

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

Deprecated: Use CreateSpaceOutput.ProtoReflect.Descriptor instead.

func (*CreateSpaceOutput) GetSpaceId

func (x *CreateSpaceOutput) GetSpaceId() string

func (*CreateSpaceOutput) ProtoMessage

func (*CreateSpaceOutput) ProtoMessage()

func (*CreateSpaceOutput) ProtoReflect

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

func (*CreateSpaceOutput) Reset

func (x *CreateSpaceOutput) Reset()

func (*CreateSpaceOutput) String

func (x *CreateSpaceOutput) String() string

type CreateSubscriptionInput

type CreateSubscriptionInput struct {
	PlanId    string `protobuf:"bytes,1,opt,name=plan_id,json=planId,proto3" json:"plan_id,omitempty"`
	VariantId string `protobuf:"bytes,2,opt,name=variant_id,json=variantId,proto3" json:"variant_id,omitempty"`
	Seats     uint32 `protobuf:"varint,3,opt,name=seats,proto3" json:"seats,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateSubscriptionInput) Descriptor deprecated

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

Deprecated: Use CreateSubscriptionInput.ProtoReflect.Descriptor instead.

func (*CreateSubscriptionInput) GetPlanId

func (x *CreateSubscriptionInput) GetPlanId() string

func (*CreateSubscriptionInput) GetSeats

func (x *CreateSubscriptionInput) GetSeats() uint32

func (*CreateSubscriptionInput) GetVariantId

func (x *CreateSubscriptionInput) GetVariantId() string

func (*CreateSubscriptionInput) ProtoMessage

func (*CreateSubscriptionInput) ProtoMessage()

func (*CreateSubscriptionInput) ProtoReflect

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

func (*CreateSubscriptionInput) Reset

func (x *CreateSubscriptionInput) Reset()

func (*CreateSubscriptionInput) String

func (x *CreateSubscriptionInput) String() string

type CreateSubscriptionOutput

type CreateSubscriptionOutput struct {
	CheckoutUrl string `protobuf:"bytes,1,opt,name=checkout_url,json=checkoutUrl,proto3" json:"checkout_url,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateSubscriptionOutput) Descriptor deprecated

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

Deprecated: Use CreateSubscriptionOutput.ProtoReflect.Descriptor instead.

func (*CreateSubscriptionOutput) GetCheckoutUrl

func (x *CreateSubscriptionOutput) GetCheckoutUrl() string

func (*CreateSubscriptionOutput) ProtoMessage

func (*CreateSubscriptionOutput) ProtoMessage()

func (*CreateSubscriptionOutput) ProtoReflect

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

func (*CreateSubscriptionOutput) Reset

func (x *CreateSubscriptionOutput) Reset()

func (*CreateSubscriptionOutput) String

func (x *CreateSubscriptionOutput) String() string

type DeleteSpaceInput

type DeleteSpaceInput struct {
	SpaceId string `protobuf:"bytes,1,opt,name=space_id,json=spaceId,proto3" json:"space_id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteSpaceInput) Descriptor deprecated

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

Deprecated: Use DeleteSpaceInput.ProtoReflect.Descriptor instead.

func (*DeleteSpaceInput) GetSpaceId

func (x *DeleteSpaceInput) GetSpaceId() string

func (*DeleteSpaceInput) ProtoMessage

func (*DeleteSpaceInput) ProtoMessage()

func (*DeleteSpaceInput) ProtoReflect

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

func (*DeleteSpaceInput) Reset

func (x *DeleteSpaceInput) Reset()

func (*DeleteSpaceInput) String

func (x *DeleteSpaceInput) String() string

type DeleteSpaceOutput

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

func (*DeleteSpaceOutput) Descriptor deprecated

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

Deprecated: Use DeleteSpaceOutput.ProtoReflect.Descriptor instead.

func (*DeleteSpaceOutput) ProtoMessage

func (*DeleteSpaceOutput) ProtoMessage()

func (*DeleteSpaceOutput) ProtoReflect

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

func (*DeleteSpaceOutput) Reset

func (x *DeleteSpaceOutput) Reset()

func (*DeleteSpaceOutput) String

func (x *DeleteSpaceOutput) String() string

type DescribeBillingInformationInput

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

func (*DescribeBillingInformationInput) Descriptor deprecated

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

Deprecated: Use DescribeBillingInformationInput.ProtoReflect.Descriptor instead.

func (*DescribeBillingInformationInput) ProtoMessage

func (*DescribeBillingInformationInput) ProtoMessage()

func (*DescribeBillingInformationInput) ProtoReflect

func (*DescribeBillingInformationInput) Reset

func (*DescribeBillingInformationInput) String

type DescribeBillingInformationOutput

type DescribeBillingInformationOutput struct {
	Info *Billing_Information `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"`
	// contains filtered or unexported fields
}

func (*DescribeBillingInformationOutput) Descriptor deprecated

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

Deprecated: Use DescribeBillingInformationOutput.ProtoReflect.Descriptor instead.

func (*DescribeBillingInformationOutput) GetInfo

func (*DescribeBillingInformationOutput) ProtoMessage

func (*DescribeBillingInformationOutput) ProtoMessage()

func (*DescribeBillingInformationOutput) ProtoReflect

func (*DescribeBillingInformationOutput) Reset

func (*DescribeBillingInformationOutput) String

type DescribeInvoiceInput

type DescribeInvoiceInput struct {
	InvoiceId string `protobuf:"bytes,1,opt,name=invoice_id,json=invoiceId,proto3" json:"invoice_id,omitempty"`
	// contains filtered or unexported fields
}

func (*DescribeInvoiceInput) Descriptor deprecated

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

Deprecated: Use DescribeInvoiceInput.ProtoReflect.Descriptor instead.

func (*DescribeInvoiceInput) GetInvoiceId

func (x *DescribeInvoiceInput) GetInvoiceId() string

func (*DescribeInvoiceInput) ProtoMessage

func (*DescribeInvoiceInput) ProtoMessage()

func (*DescribeInvoiceInput) ProtoReflect

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

func (*DescribeInvoiceInput) Reset

func (x *DescribeInvoiceInput) Reset()

func (*DescribeInvoiceInput) String

func (x *DescribeInvoiceInput) String() string

type DescribeInvoiceOutput

type DescribeInvoiceOutput struct {
	Invoice *commerce.Invoice `protobuf:"bytes,1,opt,name=invoice,proto3" json:"invoice,omitempty"`
	// contains filtered or unexported fields
}

func (*DescribeInvoiceOutput) Descriptor deprecated

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

Deprecated: Use DescribeInvoiceOutput.ProtoReflect.Descriptor instead.

func (*DescribeInvoiceOutput) GetInvoice

func (x *DescribeInvoiceOutput) GetInvoice() *commerce.Invoice

func (*DescribeInvoiceOutput) ProtoMessage

func (*DescribeInvoiceOutput) ProtoMessage()

func (*DescribeInvoiceOutput) ProtoReflect

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

func (*DescribeInvoiceOutput) Reset

func (x *DescribeInvoiceOutput) Reset()

func (*DescribeInvoiceOutput) String

func (x *DescribeInvoiceOutput) String() string

type DescribePlanInput

type DescribePlanInput struct {
	PlanId   string       `protobuf:"bytes,1,opt,name=plan_id,json=planId,proto3" json:"plan_id,omitempty"`
	Locale   string       `protobuf:"bytes,101,opt,name=locale,proto3" json:"locale,omitempty"`     // optionally, request name and description in particular locale
	Currency string       `protobuf:"bytes,102,opt,name=currency,proto3" json:"currency,omitempty"` // optionally, request variants in particular currency
	Extra    []Plan_Extra `protobuf:"varint,1123,rep,packed,name=extra,proto3,enum=eolymp.universe.Plan_Extra" json:"extra,omitempty"`
	// contains filtered or unexported fields
}

func (*DescribePlanInput) Descriptor deprecated

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

Deprecated: Use DescribePlanInput.ProtoReflect.Descriptor instead.

func (*DescribePlanInput) GetCurrency

func (x *DescribePlanInput) GetCurrency() string

func (*DescribePlanInput) GetExtra

func (x *DescribePlanInput) GetExtra() []Plan_Extra

func (*DescribePlanInput) GetLocale

func (x *DescribePlanInput) GetLocale() string

func (*DescribePlanInput) GetPlanId

func (x *DescribePlanInput) GetPlanId() string

func (*DescribePlanInput) ProtoMessage

func (*DescribePlanInput) ProtoMessage()

func (*DescribePlanInput) ProtoReflect

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

func (*DescribePlanInput) Reset

func (x *DescribePlanInput) Reset()

func (*DescribePlanInput) String

func (x *DescribePlanInput) String() string

type DescribePlanOutput

type DescribePlanOutput struct {
	Plan *Plan `protobuf:"bytes,1,opt,name=plan,proto3" json:"plan,omitempty"`
	// contains filtered or unexported fields
}

func (*DescribePlanOutput) Descriptor deprecated

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

Deprecated: Use DescribePlanOutput.ProtoReflect.Descriptor instead.

func (*DescribePlanOutput) GetPlan

func (x *DescribePlanOutput) GetPlan() *Plan

func (*DescribePlanOutput) ProtoMessage

func (*DescribePlanOutput) ProtoMessage()

func (*DescribePlanOutput) ProtoReflect

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

func (*DescribePlanOutput) Reset

func (x *DescribePlanOutput) Reset()

func (*DescribePlanOutput) String

func (x *DescribePlanOutput) String() string

type DescribeQuotaInput

type DescribeQuotaInput struct {
	SpaceId string `protobuf:"bytes,1,opt,name=space_id,json=spaceId,proto3" json:"space_id,omitempty"`
	// contains filtered or unexported fields
}

func (*DescribeQuotaInput) Descriptor deprecated

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

Deprecated: Use DescribeQuotaInput.ProtoReflect.Descriptor instead.

func (*DescribeQuotaInput) GetSpaceId

func (x *DescribeQuotaInput) GetSpaceId() string

func (*DescribeQuotaInput) ProtoMessage

func (*DescribeQuotaInput) ProtoMessage()

func (*DescribeQuotaInput) ProtoReflect

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

func (*DescribeQuotaInput) Reset

func (x *DescribeQuotaInput) Reset()

func (*DescribeQuotaInput) String

func (x *DescribeQuotaInput) String() string

type DescribeQuotaOutput

type DescribeQuotaOutput struct {
	Quota *Quota `protobuf:"bytes,1,opt,name=quota,proto3" json:"quota,omitempty"`
	// contains filtered or unexported fields
}

func (*DescribeQuotaOutput) Descriptor deprecated

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

Deprecated: Use DescribeQuotaOutput.ProtoReflect.Descriptor instead.

func (*DescribeQuotaOutput) GetQuota

func (x *DescribeQuotaOutput) GetQuota() *Quota

func (*DescribeQuotaOutput) ProtoMessage

func (*DescribeQuotaOutput) ProtoMessage()

func (*DescribeQuotaOutput) ProtoReflect

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

func (*DescribeQuotaOutput) Reset

func (x *DescribeQuotaOutput) Reset()

func (*DescribeQuotaOutput) String

func (x *DescribeQuotaOutput) String() string

type DescribeSpaceInput

type DescribeSpaceInput struct {
	SpaceId string `protobuf:"bytes,1,opt,name=space_id,json=spaceId,proto3" json:"space_id,omitempty"`
	// contains filtered or unexported fields
}

func (*DescribeSpaceInput) Descriptor deprecated

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

Deprecated: Use DescribeSpaceInput.ProtoReflect.Descriptor instead.

func (*DescribeSpaceInput) GetSpaceId

func (x *DescribeSpaceInput) GetSpaceId() string

func (*DescribeSpaceInput) ProtoMessage

func (*DescribeSpaceInput) ProtoMessage()

func (*DescribeSpaceInput) ProtoReflect

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

func (*DescribeSpaceInput) Reset

func (x *DescribeSpaceInput) Reset()

func (*DescribeSpaceInput) String

func (x *DescribeSpaceInput) String() string

type DescribeSpaceOutput

type DescribeSpaceOutput struct {
	Space *Space `protobuf:"bytes,1,opt,name=space,proto3" json:"space,omitempty"`
	// contains filtered or unexported fields
}

func (*DescribeSpaceOutput) Descriptor deprecated

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

Deprecated: Use DescribeSpaceOutput.ProtoReflect.Descriptor instead.

func (*DescribeSpaceOutput) GetSpace

func (x *DescribeSpaceOutput) GetSpace() *Space

func (*DescribeSpaceOutput) ProtoMessage

func (*DescribeSpaceOutput) ProtoMessage()

func (*DescribeSpaceOutput) ProtoReflect

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

func (*DescribeSpaceOutput) Reset

func (x *DescribeSpaceOutput) Reset()

func (*DescribeSpaceOutput) String

func (x *DescribeSpaceOutput) String() string

type DescribeSubscriptionInput

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

func (*DescribeSubscriptionInput) Descriptor deprecated

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

Deprecated: Use DescribeSubscriptionInput.ProtoReflect.Descriptor instead.

func (*DescribeSubscriptionInput) ProtoMessage

func (*DescribeSubscriptionInput) ProtoMessage()

func (*DescribeSubscriptionInput) ProtoReflect

func (*DescribeSubscriptionInput) Reset

func (x *DescribeSubscriptionInput) Reset()

func (*DescribeSubscriptionInput) String

func (x *DescribeSubscriptionInput) String() string

type DescribeSubscriptionOutput

type DescribeSubscriptionOutput struct {
	Current  *Billing_Subscription `protobuf:"bytes,1,opt,name=current,proto3" json:"current,omitempty"`   // currently active subscription
	Upcoming *Billing_Subscription `protobuf:"bytes,2,opt,name=upcoming,proto3" json:"upcoming,omitempty"` // updated subscription, if any changes are pending
	// contains filtered or unexported fields
}

func (*DescribeSubscriptionOutput) Descriptor deprecated

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

Deprecated: Use DescribeSubscriptionOutput.ProtoReflect.Descriptor instead.

func (*DescribeSubscriptionOutput) GetCurrent

func (*DescribeSubscriptionOutput) GetUpcoming

func (*DescribeSubscriptionOutput) ProtoMessage

func (*DescribeSubscriptionOutput) ProtoMessage()

func (*DescribeSubscriptionOutput) ProtoReflect

func (*DescribeSubscriptionOutput) Reset

func (x *DescribeSubscriptionOutput) Reset()

func (*DescribeSubscriptionOutput) String

func (x *DescribeSubscriptionOutput) String() string

type ListInvoicesInput

type ListInvoicesInput struct {
	Size   int32  `protobuf:"varint,11,opt,name=size,proto3" json:"size,omitempty"`
	After  string `protobuf:"bytes,12,opt,name=after,proto3" json:"after,omitempty"`
	Before string `protobuf:"bytes,13,opt,name=before,proto3" json:"before,omitempty"`
	// contains filtered or unexported fields
}

func (*ListInvoicesInput) Descriptor deprecated

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

Deprecated: Use ListInvoicesInput.ProtoReflect.Descriptor instead.

func (*ListInvoicesInput) GetAfter

func (x *ListInvoicesInput) GetAfter() string

func (*ListInvoicesInput) GetBefore

func (x *ListInvoicesInput) GetBefore() string

func (*ListInvoicesInput) GetSize

func (x *ListInvoicesInput) GetSize() int32

func (*ListInvoicesInput) ProtoMessage

func (*ListInvoicesInput) ProtoMessage()

func (*ListInvoicesInput) ProtoReflect

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

func (*ListInvoicesInput) Reset

func (x *ListInvoicesInput) Reset()

func (*ListInvoicesInput) String

func (x *ListInvoicesInput) String() string

type ListInvoicesOutput

type ListInvoicesOutput struct {
	Total int32               `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"`
	Items []*commerce.Invoice `protobuf:"bytes,2,rep,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

func (*ListInvoicesOutput) Descriptor deprecated

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

Deprecated: Use ListInvoicesOutput.ProtoReflect.Descriptor instead.

func (*ListInvoicesOutput) GetItems

func (x *ListInvoicesOutput) GetItems() []*commerce.Invoice

func (*ListInvoicesOutput) GetTotal

func (x *ListInvoicesOutput) GetTotal() int32

func (*ListInvoicesOutput) ProtoMessage

func (*ListInvoicesOutput) ProtoMessage()

func (*ListInvoicesOutput) ProtoReflect

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

func (*ListInvoicesOutput) Reset

func (x *ListInvoicesOutput) Reset()

func (*ListInvoicesOutput) String

func (x *ListInvoicesOutput) String() string

type ListPlansInput

type ListPlansInput struct {
	Offset   int32        `protobuf:"varint,10,opt,name=offset,proto3" json:"offset,omitempty"`
	Size     int32        `protobuf:"varint,11,opt,name=size,proto3" json:"size,omitempty"`
	Locale   string       `protobuf:"bytes,101,opt,name=locale,proto3" json:"locale,omitempty"`     // optionally, request name and description in particular language
	Currency string       `protobuf:"bytes,102,opt,name=currency,proto3" json:"currency,omitempty"` // optionally, request prices in particular currency
	Extra    []Plan_Extra `protobuf:"varint,1123,rep,packed,name=extra,proto3,enum=eolymp.universe.Plan_Extra" json:"extra,omitempty"`
	// contains filtered or unexported fields
}

func (*ListPlansInput) Descriptor deprecated

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

Deprecated: Use ListPlansInput.ProtoReflect.Descriptor instead.

func (*ListPlansInput) GetCurrency

func (x *ListPlansInput) GetCurrency() string

func (*ListPlansInput) GetExtra

func (x *ListPlansInput) GetExtra() []Plan_Extra

func (*ListPlansInput) GetLocale

func (x *ListPlansInput) GetLocale() string

func (*ListPlansInput) GetOffset

func (x *ListPlansInput) GetOffset() int32

func (*ListPlansInput) GetSize

func (x *ListPlansInput) GetSize() int32

func (*ListPlansInput) ProtoMessage

func (*ListPlansInput) ProtoMessage()

func (*ListPlansInput) ProtoReflect

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

func (*ListPlansInput) Reset

func (x *ListPlansInput) Reset()

func (*ListPlansInput) String

func (x *ListPlansInput) String() string

type ListPlansOutput

type ListPlansOutput struct {
	Total int32   `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"`
	Items []*Plan `protobuf:"bytes,2,rep,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

func (*ListPlansOutput) Descriptor deprecated

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

Deprecated: Use ListPlansOutput.ProtoReflect.Descriptor instead.

func (*ListPlansOutput) GetItems

func (x *ListPlansOutput) GetItems() []*Plan

func (*ListPlansOutput) GetTotal

func (x *ListPlansOutput) GetTotal() int32

func (*ListPlansOutput) ProtoMessage

func (*ListPlansOutput) ProtoMessage()

func (*ListPlansOutput) ProtoReflect

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

func (*ListPlansOutput) Reset

func (x *ListPlansOutput) Reset()

func (*ListPlansOutput) String

func (x *ListPlansOutput) String() string

type ListSpacesInput

type ListSpacesInput struct {
	Offset  int32                   `protobuf:"varint,10,opt,name=offset,proto3" json:"offset,omitempty"`
	Size    int32                   `protobuf:"varint,11,opt,name=size,proto3" json:"size,omitempty"`
	Filters *ListSpacesInput_Filter `protobuf:"bytes,40,opt,name=filters,proto3" json:"filters,omitempty"`
	// contains filtered or unexported fields
}

func (*ListSpacesInput) Descriptor deprecated

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

Deprecated: Use ListSpacesInput.ProtoReflect.Descriptor instead.

func (*ListSpacesInput) GetFilters

func (x *ListSpacesInput) GetFilters() *ListSpacesInput_Filter

func (*ListSpacesInput) GetOffset

func (x *ListSpacesInput) GetOffset() int32

func (*ListSpacesInput) GetSize

func (x *ListSpacesInput) GetSize() int32

func (*ListSpacesInput) ProtoMessage

func (*ListSpacesInput) ProtoMessage()

func (*ListSpacesInput) ProtoReflect

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

func (*ListSpacesInput) Reset

func (x *ListSpacesInput) Reset()

func (*ListSpacesInput) String

func (x *ListSpacesInput) String() string

type ListSpacesInput_Filter

type ListSpacesInput_Filter struct {
	Query string                        `protobuf:"bytes,100,opt,name=query,proto3" json:"query,omitempty"` // free text search
	Id    []*wellknown.ExpressionID     `protobuf:"bytes,1,rep,name=id,proto3" json:"id,omitempty"`
	Key   []*wellknown.ExpressionID     `protobuf:"bytes,2,rep,name=key,proto3" json:"key,omitempty"`
	Name  []*wellknown.ExpressionString `protobuf:"bytes,3,rep,name=name,proto3" json:"name,omitempty"`
	Own   []*wellknown.ExpressionBool   `protobuf:"bytes,4,rep,name=own,proto3" json:"own,omitempty"`
	// contains filtered or unexported fields
}

func (*ListSpacesInput_Filter) Descriptor deprecated

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

Deprecated: Use ListSpacesInput_Filter.ProtoReflect.Descriptor instead.

func (*ListSpacesInput_Filter) GetId

func (*ListSpacesInput_Filter) GetKey

func (*ListSpacesInput_Filter) GetName

func (*ListSpacesInput_Filter) GetOwn

func (*ListSpacesInput_Filter) GetQuery

func (x *ListSpacesInput_Filter) GetQuery() string

func (*ListSpacesInput_Filter) ProtoMessage

func (*ListSpacesInput_Filter) ProtoMessage()

func (*ListSpacesInput_Filter) ProtoReflect

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

func (*ListSpacesInput_Filter) Reset

func (x *ListSpacesInput_Filter) Reset()

func (*ListSpacesInput_Filter) String

func (x *ListSpacesInput_Filter) String() string

type ListSpacesOutput

type ListSpacesOutput struct {
	Total int32    `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"`
	Items []*Space `protobuf:"bytes,2,rep,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

func (*ListSpacesOutput) Descriptor deprecated

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

Deprecated: Use ListSpacesOutput.ProtoReflect.Descriptor instead.

func (*ListSpacesOutput) GetItems

func (x *ListSpacesOutput) GetItems() []*Space

func (*ListSpacesOutput) GetTotal

func (x *ListSpacesOutput) GetTotal() int32

func (*ListSpacesOutput) ProtoMessage

func (*ListSpacesOutput) ProtoMessage()

func (*ListSpacesOutput) ProtoReflect

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

func (*ListSpacesOutput) Reset

func (x *ListSpacesOutput) Reset()

func (*ListSpacesOutput) String

func (x *ListSpacesOutput) String() string

type LookupSpaceInput

type LookupSpaceInput struct {
	Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	// contains filtered or unexported fields
}

func (*LookupSpaceInput) Descriptor deprecated

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

Deprecated: Use LookupSpaceInput.ProtoReflect.Descriptor instead.

func (*LookupSpaceInput) GetKey

func (x *LookupSpaceInput) GetKey() string

func (*LookupSpaceInput) ProtoMessage

func (*LookupSpaceInput) ProtoMessage()

func (*LookupSpaceInput) ProtoReflect

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

func (*LookupSpaceInput) Reset

func (x *LookupSpaceInput) Reset()

func (*LookupSpaceInput) String

func (x *LookupSpaceInput) String() string

type LookupSpaceOutput

type LookupSpaceOutput struct {
	Space *Space `protobuf:"bytes,1,opt,name=space,proto3" json:"space,omitempty"`
	// contains filtered or unexported fields
}

func (*LookupSpaceOutput) Descriptor deprecated

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

Deprecated: Use LookupSpaceOutput.ProtoReflect.Descriptor instead.

func (*LookupSpaceOutput) GetSpace

func (x *LookupSpaceOutput) GetSpace() *Space

func (*LookupSpaceOutput) ProtoMessage

func (*LookupSpaceOutput) ProtoMessage()

func (*LookupSpaceOutput) ProtoReflect

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

func (*LookupSpaceOutput) Reset

func (x *LookupSpaceOutput) Reset()

func (*LookupSpaceOutput) String

func (x *LookupSpaceOutput) String() string

type PayInvoiceInput

type PayInvoiceInput struct {
	InvoiceId string `protobuf:"bytes,1,opt,name=invoice_id,json=invoiceId,proto3" json:"invoice_id,omitempty"`
	// contains filtered or unexported fields
}

func (*PayInvoiceInput) Descriptor deprecated

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

Deprecated: Use PayInvoiceInput.ProtoReflect.Descriptor instead.

func (*PayInvoiceInput) GetInvoiceId

func (x *PayInvoiceInput) GetInvoiceId() string

func (*PayInvoiceInput) ProtoMessage

func (*PayInvoiceInput) ProtoMessage()

func (*PayInvoiceInput) ProtoReflect

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

func (*PayInvoiceInput) Reset

func (x *PayInvoiceInput) Reset()

func (*PayInvoiceInput) String

func (x *PayInvoiceInput) String() string

type PayInvoiceOutput

type PayInvoiceOutput struct {
	CheckoutUrl string `protobuf:"bytes,1,opt,name=checkout_url,json=checkoutUrl,proto3" json:"checkout_url,omitempty"`
	// contains filtered or unexported fields
}

func (*PayInvoiceOutput) Descriptor deprecated

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

Deprecated: Use PayInvoiceOutput.ProtoReflect.Descriptor instead.

func (*PayInvoiceOutput) GetCheckoutUrl

func (x *PayInvoiceOutput) GetCheckoutUrl() string

func (*PayInvoiceOutput) ProtoMessage

func (*PayInvoiceOutput) ProtoMessage()

func (*PayInvoiceOutput) ProtoReflect

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

func (*PayInvoiceOutput) Reset

func (x *PayInvoiceOutput) Reset()

func (*PayInvoiceOutput) String

func (x *PayInvoiceOutput) String() string

type Plan

type Plan struct {
	Id          string          `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Name        string          `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Description *ecm.Content    `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	Quota       *Quota          `protobuf:"bytes,4,opt,name=quota,proto3" json:"quota,omitempty"`
	Labels      []string        `protobuf:"bytes,5,rep,name=labels,proto3" json:"labels,omitempty"`
	Variants    []*Plan_Variant `protobuf:"bytes,100,rep,name=variants,proto3" json:"variants,omitempty"`
	// contains filtered or unexported fields
}

func (*Plan) Descriptor deprecated

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

Deprecated: Use Plan.ProtoReflect.Descriptor instead.

func (*Plan) GetDescription

func (x *Plan) GetDescription() *ecm.Content

func (*Plan) GetId

func (x *Plan) GetId() string

func (*Plan) GetLabels

func (x *Plan) GetLabels() []string

func (*Plan) GetName

func (x *Plan) GetName() string

func (*Plan) GetQuota

func (x *Plan) GetQuota() *Quota

func (*Plan) GetVariants

func (x *Plan) GetVariants() []*Plan_Variant

func (*Plan) ProtoMessage

func (*Plan) ProtoMessage()

func (*Plan) ProtoReflect

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

func (*Plan) Reset

func (x *Plan) Reset()

func (*Plan) String

func (x *Plan) String() string

type PlanServiceClient

type PlanServiceClient interface {
	DescribePlan(ctx context.Context, in *DescribePlanInput, opts ...grpc.CallOption) (*DescribePlanOutput, error)
	ListPlans(ctx context.Context, in *ListPlansInput, opts ...grpc.CallOption) (*ListPlansOutput, error)
}

PlanServiceClient is the client API for PlanService 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 PlanServiceInterceptor

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

func NewPlanServiceInterceptor

func NewPlanServiceInterceptor(cli PlanServiceClient, middleware ..._PlanServiceMiddleware) *PlanServiceInterceptor

NewPlanServiceInterceptor constructs additional middleware for a server based on annotations in proto files

func (*PlanServiceInterceptor) DescribePlan

func (*PlanServiceInterceptor) ListPlans

type PlanServiceServer

type PlanServiceServer interface {
	DescribePlan(context.Context, *DescribePlanInput) (*DescribePlanOutput, error)
	ListPlans(context.Context, *ListPlansInput) (*ListPlansOutput, error)
}

PlanServiceServer is the server API for PlanService service. All implementations should embed UnimplementedPlanServiceServer for forward compatibility

type PlanServiceService

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

func NewPlanServiceHttpClient

func NewPlanServiceHttpClient(url string, cli _PlanServiceHttpClient) *PlanServiceService

NewPlanServiceHttpClient constructs client for PlanService

func (*PlanServiceService) DescribePlan

func (*PlanServiceService) ListPlans

type Plan_Extra

type Plan_Extra int32
const (
	Plan_NO_EXTRA           Plan_Extra = 0
	Plan_DESCRIPTION_RENDER Plan_Extra = 1
	Plan_DESCRIPTION_VALUE  Plan_Extra = 2
)

func (Plan_Extra) Descriptor

func (Plan_Extra) Descriptor() protoreflect.EnumDescriptor

func (Plan_Extra) Enum

func (x Plan_Extra) Enum() *Plan_Extra

func (Plan_Extra) EnumDescriptor deprecated

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

Deprecated: Use Plan_Extra.Descriptor instead.

func (Plan_Extra) Number

func (x Plan_Extra) Number() protoreflect.EnumNumber

func (Plan_Extra) String

func (x Plan_Extra) String() string

func (Plan_Extra) Type

type Plan_Recurrence

type Plan_Recurrence int32
const (
	Plan_UNKNOWN_RECURRENCE Plan_Recurrence = 0
	Plan_ONETIME            Plan_Recurrence = 1
	Plan_MONTHLY            Plan_Recurrence = 2
	Plan_YEARLY             Plan_Recurrence = 3
)

func (Plan_Recurrence) Descriptor

func (Plan_Recurrence) Enum

func (x Plan_Recurrence) Enum() *Plan_Recurrence

func (Plan_Recurrence) EnumDescriptor deprecated

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

Deprecated: Use Plan_Recurrence.Descriptor instead.

func (Plan_Recurrence) Number

func (Plan_Recurrence) String

func (x Plan_Recurrence) String() string

func (Plan_Recurrence) Type

type Plan_Variant

type Plan_Variant struct {
	Id         string          `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Recurrence Plan_Recurrence `protobuf:"varint,3,opt,name=recurrence,proto3,enum=eolymp.universe.Plan_Recurrence" json:"recurrence,omitempty"`
	Currency   string          `protobuf:"bytes,30,opt,name=currency,proto3" json:"currency,omitempty"`
	UnitAmount int32           `protobuf:"varint,31,opt,name=unit_amount,json=unitAmount,proto3" json:"unit_amount,omitempty"`
	// contains filtered or unexported fields
}

func (*Plan_Variant) Descriptor deprecated

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

Deprecated: Use Plan_Variant.ProtoReflect.Descriptor instead.

func (*Plan_Variant) GetCurrency

func (x *Plan_Variant) GetCurrency() string

func (*Plan_Variant) GetId

func (x *Plan_Variant) GetId() string

func (*Plan_Variant) GetRecurrence

func (x *Plan_Variant) GetRecurrence() Plan_Recurrence

func (*Plan_Variant) GetUnitAmount

func (x *Plan_Variant) GetUnitAmount() int32

func (*Plan_Variant) ProtoMessage

func (*Plan_Variant) ProtoMessage()

func (*Plan_Variant) ProtoReflect

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

func (*Plan_Variant) Reset

func (x *Plan_Variant) Reset()

func (*Plan_Variant) String

func (x *Plan_Variant) String() string

type Quota

type Quota struct {

	// general quota and features
	PermissionsPerSpace   uint32 `protobuf:"varint,6,opt,name=permissions_per_space,json=permissionsPerSpace,proto3" json:"permissions_per_space,omitempty"` // max number of admin users
	SingleSingOn          bool   `protobuf:"varint,22,opt,name=single_sing_on,json=singleSingOn,proto3" json:"single_sing_on,omitempty"`                     // allow to configure sso for the space
	DedicatedUserDatabase bool   ``                                                                                                                          // allow to configure local user database for the space
	/* 128-byte string literal not displayed */
	AttributesPerSpace       uint32 `protobuf:"varint,7,opt,name=attributes_per_space,json=attributesPerSpace,proto3" json:"attributes_per_space,omitempty"` // max number of custom profile fields for members
	CustomerSupportReplyTime uint32 ``                                                                                                                       // customer support reply time in hours
	/* 139-byte string literal not displayed */
	AllowDiscussions bool `protobuf:"varint,31,opt,name=allow_discussions,json=allowDiscussions,proto3" json:"allow_discussions,omitempty"` // enable discussion post and comment features
	// submission evaluation quota and features
	MonthlyEvaluationsBySeat uint32 `` // number of submission evaluations per month/seat, including rejudge (to get total monthly quota multiply by number of seats)
	/* 139-byte string literal not displayed */
	PriorityEvaluationQueue bool `` // space uses priority testing queue
	/* 134-byte string literal not displayed */
	PlagiarismAnalysis bool `protobuf:"varint,18,opt,name=plagiarism_analysis,json=plagiarismAnalysis,proto3" json:"plagiarism_analysis,omitempty"` // analyse submission code to see similarities and generate a report
	// member quota and features
	MembersPerSpace uint32 `protobuf:"varint,2,opt,name=members_per_space,json=membersPerSpace,proto3" json:"members_per_space,omitempty"` // total number of members
	// scoreboard quota and features
	ScoreboardsPerSpace uint32 `protobuf:"varint,5,opt,name=scoreboards_per_space,json=scoreboardsPerSpace,proto3" json:"scoreboards_per_space,omitempty"`
	// courses quota and features
	CoursesPerSpace uint32 `protobuf:"varint,12,opt,name=courses_per_space,json=coursesPerSpace,proto3" json:"courses_per_space,omitempty"`
	// problem quota and features
	ProblemsPerSpace        uint32 `protobuf:"varint,1,opt,name=problems_per_space,json=problemsPerSpace,proto3" json:"problems_per_space,omitempty"` // total number of problems in space
	TestsPerProblem         uint32 `protobuf:"varint,101,opt,name=tests_per_problem,json=testsPerProblem,proto3" json:"tests_per_problem,omitempty"`
	TestsetPerProblem       uint32 `protobuf:"varint,102,opt,name=testset_per_problem,json=testsetPerProblem,proto3" json:"testset_per_problem,omitempty"`
	StatementPerProblem     uint32 `protobuf:"varint,103,opt,name=statement_per_problem,json=statementPerProblem,proto3" json:"statement_per_problem,omitempty"`
	EditorialPerProblem     uint32 `protobuf:"varint,104,opt,name=editorial_per_problem,json=editorialPerProblem,proto3" json:"editorial_per_problem,omitempty"`
	SolutionsPerProblem     uint32 `protobuf:"varint,105,opt,name=solutions_per_problem,json=solutionsPerProblem,proto3" json:"solutions_per_problem,omitempty"`
	CodeTemplatesPerProblem uint32 `` /* 137-byte string literal not displayed */
	// contest quota and features
	ContestsPerSpace       uint32 `protobuf:"varint,3,opt,name=contests_per_space,json=contestsPerSpace,proto3" json:"contests_per_space,omitempty"` // total number of contests
	ActiveContestsPerSpace uint32 ``                                                                                                                 // max number of simultaneously active contests (ongoing and upsolve)
	/* 132-byte string literal not displayed */
	MonthlyContestsPerSpace uint32 `` // max number of contests created (started) during current billing period
	/* 136-byte string literal not displayed */
	ProblemsPerContest     uint32 `protobuf:"varint,10,opt,name=problems_per_contest,json=problemsPerContest,proto3" json:"problems_per_contest,omitempty"`
	ParticipantsPerContest uint32 `` // deprecated: limited by number of members in space
	/* 131-byte string literal not displayed */
	ContestUpsolveMode     bool   `protobuf:"varint,16,opt,name=contest_upsolve_mode,json=contestUpsolveMode,proto3" json:"contest_upsolve_mode,omitempty"` // allow contest upsolve mode
	MaxContestDuration     uint32 `protobuf:"varint,17,opt,name=max_contest_duration,json=maxContestDuration,proto3" json:"max_contest_duration,omitempty"` // max contest duration in seconds
	TeamContests           bool   `protobuf:"varint,19,opt,name=team_contests,json=teamContests,proto3" json:"team_contests,omitempty"`                     // analyse submission code to see similarities and generate a report
	GhostParticipants      bool   `protobuf:"varint,20,opt,name=ghost_participants,json=ghostParticipants,proto3" json:"ghost_participants,omitempty"`      // analyse submission code to see similarities and generate a report
	UnofficialParticipants bool   ``                                                                                                                        // analyse submission code to see similarities and generate a report
	/* 129-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*Quota) Descriptor deprecated

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

Deprecated: Use Quota.ProtoReflect.Descriptor instead.

func (*Quota) GetActiveContestsPerSpace

func (x *Quota) GetActiveContestsPerSpace() uint32

func (*Quota) GetAllowDiscussions

func (x *Quota) GetAllowDiscussions() bool

func (*Quota) GetAttributesPerSpace

func (x *Quota) GetAttributesPerSpace() uint32

func (*Quota) GetCodeTemplatesPerProblem

func (x *Quota) GetCodeTemplatesPerProblem() uint32

func (*Quota) GetContestUpsolveMode

func (x *Quota) GetContestUpsolveMode() bool

func (*Quota) GetContestsPerSpace

func (x *Quota) GetContestsPerSpace() uint32

func (*Quota) GetCoursesPerSpace

func (x *Quota) GetCoursesPerSpace() uint32

func (*Quota) GetCustomerSupportReplyTime

func (x *Quota) GetCustomerSupportReplyTime() uint32

func (*Quota) GetDedicatedUserDatabase

func (x *Quota) GetDedicatedUserDatabase() bool

func (*Quota) GetEditorialPerProblem

func (x *Quota) GetEditorialPerProblem() uint32

func (*Quota) GetGhostParticipants

func (x *Quota) GetGhostParticipants() bool

func (*Quota) GetMaxContestDuration

func (x *Quota) GetMaxContestDuration() uint32

func (*Quota) GetMembersPerSpace

func (x *Quota) GetMembersPerSpace() uint32

func (*Quota) GetMonthlyContestsPerSpace

func (x *Quota) GetMonthlyContestsPerSpace() uint32

func (*Quota) GetMonthlyEvaluationsBySeat

func (x *Quota) GetMonthlyEvaluationsBySeat() uint32

func (*Quota) GetParticipantsPerContest

func (x *Quota) GetParticipantsPerContest() uint32

func (*Quota) GetPermissionsPerSpace

func (x *Quota) GetPermissionsPerSpace() uint32

func (*Quota) GetPlagiarismAnalysis

func (x *Quota) GetPlagiarismAnalysis() bool

func (*Quota) GetPriorityEvaluationQueue

func (x *Quota) GetPriorityEvaluationQueue() bool

func (*Quota) GetProblemsPerContest

func (x *Quota) GetProblemsPerContest() uint32

func (*Quota) GetProblemsPerSpace

func (x *Quota) GetProblemsPerSpace() uint32

func (*Quota) GetScoreboardsPerSpace

func (x *Quota) GetScoreboardsPerSpace() uint32

func (*Quota) GetSingleSingOn

func (x *Quota) GetSingleSingOn() bool

func (*Quota) GetSolutionsPerProblem

func (x *Quota) GetSolutionsPerProblem() uint32

func (*Quota) GetStatementPerProblem

func (x *Quota) GetStatementPerProblem() uint32

func (*Quota) GetTeamContests

func (x *Quota) GetTeamContests() bool

func (*Quota) GetTestsPerProblem

func (x *Quota) GetTestsPerProblem() uint32

func (*Quota) GetTestsetPerProblem

func (x *Quota) GetTestsetPerProblem() uint32

func (*Quota) GetUnofficialParticipants

func (x *Quota) GetUnofficialParticipants() bool

func (*Quota) ProtoMessage

func (*Quota) ProtoMessage()

func (*Quota) ProtoReflect

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

func (*Quota) Reset

func (x *Quota) Reset()

func (*Quota) String

func (x *Quota) String() string

type SimulateSubscriptionInput

type SimulateSubscriptionInput struct {
	PlanId    string `protobuf:"bytes,1,opt,name=plan_id,json=planId,proto3" json:"plan_id,omitempty"`
	VariantId string `protobuf:"bytes,2,opt,name=variant_id,json=variantId,proto3" json:"variant_id,omitempty"`
	Seats     uint32 `protobuf:"varint,3,opt,name=seats,proto3" json:"seats,omitempty"`
	Coupon    string `protobuf:"bytes,10,opt,name=coupon,proto3" json:"coupon,omitempty"`
	// contains filtered or unexported fields
}

func (*SimulateSubscriptionInput) Descriptor deprecated

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

Deprecated: Use SimulateSubscriptionInput.ProtoReflect.Descriptor instead.

func (*SimulateSubscriptionInput) GetCoupon

func (x *SimulateSubscriptionInput) GetCoupon() string

func (*SimulateSubscriptionInput) GetPlanId

func (x *SimulateSubscriptionInput) GetPlanId() string

func (*SimulateSubscriptionInput) GetSeats

func (x *SimulateSubscriptionInput) GetSeats() uint32

func (*SimulateSubscriptionInput) GetVariantId

func (x *SimulateSubscriptionInput) GetVariantId() string

func (*SimulateSubscriptionInput) ProtoMessage

func (*SimulateSubscriptionInput) ProtoMessage()

func (*SimulateSubscriptionInput) ProtoReflect

func (*SimulateSubscriptionInput) Reset

func (x *SimulateSubscriptionInput) Reset()

func (*SimulateSubscriptionInput) String

func (x *SimulateSubscriptionInput) String() string

type SimulateSubscriptionOutput

type SimulateSubscriptionOutput struct {
	Due     *commerce.Invoice `protobuf:"bytes,1,opt,name=due,proto3" json:"due,omitempty"`         // immediate due invoice
	Invoice *commerce.Invoice `protobuf:"bytes,2,opt,name=invoice,proto3" json:"invoice,omitempty"` // next invoice in the end of the billing period
	// contains filtered or unexported fields
}

func (*SimulateSubscriptionOutput) Descriptor deprecated

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

Deprecated: Use SimulateSubscriptionOutput.ProtoReflect.Descriptor instead.

func (*SimulateSubscriptionOutput) GetDue

func (*SimulateSubscriptionOutput) GetInvoice

func (x *SimulateSubscriptionOutput) GetInvoice() *commerce.Invoice

func (*SimulateSubscriptionOutput) ProtoMessage

func (*SimulateSubscriptionOutput) ProtoMessage()

func (*SimulateSubscriptionOutput) ProtoReflect

func (*SimulateSubscriptionOutput) Reset

func (x *SimulateSubscriptionOutput) Reset()

func (*SimulateSubscriptionOutput) String

func (x *SimulateSubscriptionOutput) String() string

type Space

type Space struct {
	Id           string              `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`                                    // space unique identifier
	Key          string              `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`                                  // space key used to build URLs
	Url          string              `protobuf:"bytes,3,opt,name=url,proto3" json:"url,omitempty"`                                  // space url
	HomeUrl      string              `protobuf:"bytes,50,opt,name=home_url,json=homeUrl,proto3" json:"home_url,omitempty"`          // space home page URL
	IssuerUrl    string              `protobuf:"bytes,51,opt,name=issuer_url,json=issuerUrl,proto3" json:"issuer_url,omitempty"`    // space issuer URL (used for issuing tokens)
	GraphqlUrl   string              `protobuf:"bytes,52,opt,name=graphql_url,json=graphqlUrl,proto3" json:"graphql_url,omitempty"` // space graphql endpoint
	Name         string              `protobuf:"bytes,10,opt,name=name,proto3" json:"name,omitempty"`                               // human friendly name
	Image        string              `protobuf:"bytes,11,opt,name=image,proto3" json:"image,omitempty"`                             // space logo image
	Visibility   Space_Visibility    `protobuf:"varint,14,opt,name=visibility,proto3,enum=eolymp.universe.Space_Visibility" json:"visibility,omitempty"`
	Status       Space_Status        `protobuf:"varint,16,opt,name=status,proto3,enum=eolymp.universe.Space_Status" json:"status,omitempty"` // space status
	Subscription *Space_Subscription `protobuf:"bytes,800,opt,name=subscription,proto3" json:"subscription,omitempty"`                       // subscription details (private)
	Affiliation  string              `protobuf:"bytes,15,opt,name=affiliation,proto3" json:"affiliation,omitempty"`                          // space affiliation label
	// contains filtered or unexported fields
}

func (*Space) Descriptor deprecated

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

Deprecated: Use Space.ProtoReflect.Descriptor instead.

func (*Space) GetAffiliation

func (x *Space) GetAffiliation() string

func (*Space) GetGraphqlUrl

func (x *Space) GetGraphqlUrl() string

func (*Space) GetHomeUrl

func (x *Space) GetHomeUrl() string

func (*Space) GetId

func (x *Space) GetId() string

func (*Space) GetImage

func (x *Space) GetImage() string

func (*Space) GetIssuerUrl

func (x *Space) GetIssuerUrl() string

func (*Space) GetKey

func (x *Space) GetKey() string

func (*Space) GetName

func (x *Space) GetName() string

func (*Space) GetStatus

func (x *Space) GetStatus() Space_Status

func (*Space) GetSubscription

func (x *Space) GetSubscription() *Space_Subscription

func (*Space) GetUrl

func (x *Space) GetUrl() string

func (*Space) GetVisibility

func (x *Space) GetVisibility() Space_Visibility

func (*Space) ProtoMessage

func (*Space) ProtoMessage()

func (*Space) ProtoReflect

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

func (*Space) Reset

func (x *Space) Reset()

func (*Space) String

func (x *Space) String() string

type SpaceChangeRecord

type SpaceChangeRecord struct {
	Op    SpaceChangeRecord_Operation `protobuf:"varint,1,opt,name=op,proto3,enum=eolymp.universe.SpaceChangeRecord_Operation" json:"op,omitempty"`
	Space *Space                      `protobuf:"bytes,2,opt,name=space,proto3" json:"space,omitempty"`
	// contains filtered or unexported fields
}

func (*SpaceChangeRecord) Descriptor deprecated

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

Deprecated: Use SpaceChangeRecord.ProtoReflect.Descriptor instead.

func (*SpaceChangeRecord) GetOp

func (*SpaceChangeRecord) GetSpace

func (x *SpaceChangeRecord) GetSpace() *Space

func (*SpaceChangeRecord) ProtoMessage

func (*SpaceChangeRecord) ProtoMessage()

func (*SpaceChangeRecord) ProtoReflect

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

func (*SpaceChangeRecord) Reset

func (x *SpaceChangeRecord) Reset()

func (*SpaceChangeRecord) String

func (x *SpaceChangeRecord) String() string

type SpaceChangeRecord_Operation

type SpaceChangeRecord_Operation int32
const (
	SpaceChangeRecord_NO_OPERATION SpaceChangeRecord_Operation = 0
	SpaceChangeRecord_CREATE       SpaceChangeRecord_Operation = 1
	SpaceChangeRecord_UPDATE       SpaceChangeRecord_Operation = 2
	SpaceChangeRecord_DELETE       SpaceChangeRecord_Operation = 3
	SpaceChangeRecord_SOFT_DELETE  SpaceChangeRecord_Operation = 4
)

func (SpaceChangeRecord_Operation) Descriptor

func (SpaceChangeRecord_Operation) Enum

func (SpaceChangeRecord_Operation) EnumDescriptor deprecated

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

Deprecated: Use SpaceChangeRecord_Operation.Descriptor instead.

func (SpaceChangeRecord_Operation) Number

func (SpaceChangeRecord_Operation) String

func (SpaceChangeRecord_Operation) Type

type SpaceServiceClient

type SpaceServiceClient interface {
	// Lookup space by domain key
	LookupSpace(ctx context.Context, in *LookupSpaceInput, opts ...grpc.CallOption) (*LookupSpaceOutput, error)
	// Create a space
	CreateSpace(ctx context.Context, in *CreateSpaceInput, opts ...grpc.CallOption) (*CreateSpaceOutput, error)
	// Update existing space
	UpdateSpace(ctx context.Context, in *UpdateSpaceInput, opts ...grpc.CallOption) (*UpdateSpaceOutput, error)
	// Delete space
	DeleteSpace(ctx context.Context, in *DeleteSpaceInput, opts ...grpc.CallOption) (*DeleteSpaceOutput, error)
	// Describe space
	DescribeSpace(ctx context.Context, in *DescribeSpaceInput, opts ...grpc.CallOption) (*DescribeSpaceOutput, error)
	// List spaces of a contest
	ListSpaces(ctx context.Context, in *ListSpacesInput, opts ...grpc.CallOption) (*ListSpacesOutput, error)
}

SpaceServiceClient is the client API for SpaceService 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 SpaceServiceInterceptor

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

func NewSpaceServiceInterceptor

func NewSpaceServiceInterceptor(cli SpaceServiceClient, middleware ..._SpaceServiceMiddleware) *SpaceServiceInterceptor

NewSpaceServiceInterceptor constructs additional middleware for a server based on annotations in proto files

func (*SpaceServiceInterceptor) CreateSpace

func (*SpaceServiceInterceptor) DeleteSpace

func (*SpaceServiceInterceptor) DescribeSpace

func (*SpaceServiceInterceptor) ListSpaces

func (*SpaceServiceInterceptor) LookupSpace

func (*SpaceServiceInterceptor) UpdateSpace

type SpaceServiceServer

type SpaceServiceServer interface {
	// Lookup space by domain key
	LookupSpace(context.Context, *LookupSpaceInput) (*LookupSpaceOutput, error)
	// Create a space
	CreateSpace(context.Context, *CreateSpaceInput) (*CreateSpaceOutput, error)
	// Update existing space
	UpdateSpace(context.Context, *UpdateSpaceInput) (*UpdateSpaceOutput, error)
	// Delete space
	DeleteSpace(context.Context, *DeleteSpaceInput) (*DeleteSpaceOutput, error)
	// Describe space
	DescribeSpace(context.Context, *DescribeSpaceInput) (*DescribeSpaceOutput, error)
	// List spaces of a contest
	ListSpaces(context.Context, *ListSpacesInput) (*ListSpacesOutput, error)
}

SpaceServiceServer is the server API for SpaceService service. All implementations should embed UnimplementedSpaceServiceServer for forward compatibility

type SpaceServiceService

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

func NewSpaceServiceHttpClient

func NewSpaceServiceHttpClient(url string, cli _SpaceServiceHttpClient) *SpaceServiceService

NewSpaceServiceHttpClient constructs client for SpaceService

func (*SpaceServiceService) CreateSpace

func (*SpaceServiceService) DeleteSpace

func (*SpaceServiceService) DescribeSpace

func (*SpaceServiceService) ListSpaces

func (*SpaceServiceService) LookupSpace

func (*SpaceServiceService) UpdateSpace

type Space_Extra

type Space_Extra int32
const (
	Space_UNKNOWN_EXTRA Space_Extra = 0
	Space_SUBSCRIPTION  Space_Extra = 1
)

func (Space_Extra) Descriptor

func (Space_Extra) Enum

func (x Space_Extra) Enum() *Space_Extra

func (Space_Extra) EnumDescriptor deprecated

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

Deprecated: Use Space_Extra.Descriptor instead.

func (Space_Extra) Number

func (x Space_Extra) Number() protoreflect.EnumNumber

func (Space_Extra) String

func (x Space_Extra) String() string

func (Space_Extra) Type

type Space_Status

type Space_Status int32
const (
	Space_UNKNOWN_STATUS Space_Status = 0
	Space_TRIAL          Space_Status = 1
	Space_ACTIVE         Space_Status = 2
	Space_SUSPENDED      Space_Status = 3
)

func (Space_Status) Descriptor

func (Space_Status) Enum

func (x Space_Status) Enum() *Space_Status

func (Space_Status) EnumDescriptor deprecated

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

Deprecated: Use Space_Status.Descriptor instead.

func (Space_Status) Number

func (Space_Status) String

func (x Space_Status) String() string

func (Space_Status) Type

type Space_Subscription

type Space_Subscription struct {
	Plan               string                 `protobuf:"bytes,1,opt,name=plan,proto3" json:"plan,omitempty"`
	Seats              uint32                 `protobuf:"varint,2,opt,name=seats,proto3" json:"seats,omitempty"`
	Quota              *Quota                 `protobuf:"bytes,10,opt,name=quota,proto3" json:"quota,omitempty"`
	BillingPeriodStart *timestamppb.Timestamp `protobuf:"bytes,90,opt,name=billing_period_start,json=billingPeriodStart,proto3" json:"billing_period_start,omitempty"`
	BillingPeriodEnd   *timestamppb.Timestamp `protobuf:"bytes,91,opt,name=billing_period_end,json=billingPeriodEnd,proto3" json:"billing_period_end,omitempty"`
	QuotaPeriodStart   *timestamppb.Timestamp `protobuf:"bytes,92,opt,name=quota_period_start,json=quotaPeriodStart,proto3" json:"quota_period_start,omitempty"`
	QuotaPeriodEnd     *timestamppb.Timestamp `protobuf:"bytes,93,opt,name=quota_period_end,json=quotaPeriodEnd,proto3" json:"quota_period_end,omitempty"`
	// contains filtered or unexported fields
}

func (*Space_Subscription) Descriptor deprecated

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

Deprecated: Use Space_Subscription.ProtoReflect.Descriptor instead.

func (*Space_Subscription) GetBillingPeriodEnd

func (x *Space_Subscription) GetBillingPeriodEnd() *timestamppb.Timestamp

func (*Space_Subscription) GetBillingPeriodStart

func (x *Space_Subscription) GetBillingPeriodStart() *timestamppb.Timestamp

func (*Space_Subscription) GetPlan

func (x *Space_Subscription) GetPlan() string

func (*Space_Subscription) GetQuota

func (x *Space_Subscription) GetQuota() *Quota

func (*Space_Subscription) GetQuotaPeriodEnd

func (x *Space_Subscription) GetQuotaPeriodEnd() *timestamppb.Timestamp

func (*Space_Subscription) GetQuotaPeriodStart

func (x *Space_Subscription) GetQuotaPeriodStart() *timestamppb.Timestamp

func (*Space_Subscription) GetSeats

func (x *Space_Subscription) GetSeats() uint32

func (*Space_Subscription) ProtoMessage

func (*Space_Subscription) ProtoMessage()

func (*Space_Subscription) ProtoReflect

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

func (*Space_Subscription) Reset

func (x *Space_Subscription) Reset()

func (*Space_Subscription) String

func (x *Space_Subscription) String() string

type Space_Visibility

type Space_Visibility int32
const (
	Space_UNKNOWN_VISIBILITY Space_Visibility = 0
	Space_PUBLIC             Space_Visibility = 1 // anonymous users can see some space content
	Space_PRIVATE            Space_Visibility = 2 // everyone must sign in to access space
)

func (Space_Visibility) Descriptor

func (Space_Visibility) Enum

func (Space_Visibility) EnumDescriptor deprecated

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

Deprecated: Use Space_Visibility.Descriptor instead.

func (Space_Visibility) Number

func (Space_Visibility) String

func (x Space_Visibility) String() string

func (Space_Visibility) Type

type UnimplementedBillingServiceServer

type UnimplementedBillingServiceServer struct {
}

UnimplementedBillingServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedBillingServiceServer) CancelSubscription

func (UnimplementedBillingServiceServer) CreateSubscription

func (UnimplementedBillingServiceServer) DescribeInvoice

func (UnimplementedBillingServiceServer) DescribeSubscription

func (UnimplementedBillingServiceServer) ListInvoices

func (UnimplementedBillingServiceServer) PayInvoice

func (UnimplementedBillingServiceServer) SimulateSubscription

func (UnimplementedBillingServiceServer) UpcomingInvoice

func (UnimplementedBillingServiceServer) UpdateSubscription

type UnimplementedPlanServiceServer

type UnimplementedPlanServiceServer struct {
}

UnimplementedPlanServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedPlanServiceServer) DescribePlan

func (UnimplementedPlanServiceServer) ListPlans

type UnimplementedSpaceServiceServer

type UnimplementedSpaceServiceServer struct {
}

UnimplementedSpaceServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedSpaceServiceServer) CreateSpace

func (UnimplementedSpaceServiceServer) DeleteSpace

func (UnimplementedSpaceServiceServer) DescribeSpace

func (UnimplementedSpaceServiceServer) ListSpaces

func (UnimplementedSpaceServiceServer) LookupSpace

func (UnimplementedSpaceServiceServer) UpdateSpace

type UnimplementedUniverseServer

type UnimplementedUniverseServer struct {
}

UnimplementedUniverseServer should be embedded to have forward compatible implementations.

func (UnimplementedUniverseServer) CreateSpace

func (UnimplementedUniverseServer) DeleteSpace

func (UnimplementedUniverseServer) DescribeQuota

func (UnimplementedUniverseServer) DescribeSpace

func (UnimplementedUniverseServer) ListSpaces

func (UnimplementedUniverseServer) LookupSpace

func (UnimplementedUniverseServer) UpdateQuota

func (UnimplementedUniverseServer) UpdateSpace

type UniverseClient

type UniverseClient interface {
	// Lookup space by domain key
	LookupSpace(ctx context.Context, in *LookupSpaceInput, opts ...grpc.CallOption) (*LookupSpaceOutput, error)
	// Create a space
	CreateSpace(ctx context.Context, in *CreateSpaceInput, opts ...grpc.CallOption) (*CreateSpaceOutput, error)
	// Update existing space
	UpdateSpace(ctx context.Context, in *UpdateSpaceInput, opts ...grpc.CallOption) (*UpdateSpaceOutput, error)
	// Delete space
	DeleteSpace(ctx context.Context, in *DeleteSpaceInput, opts ...grpc.CallOption) (*DeleteSpaceOutput, error)
	// Describe space
	DescribeSpace(ctx context.Context, in *DescribeSpaceInput, opts ...grpc.CallOption) (*DescribeSpaceOutput, error)
	// Describe quota
	DescribeQuota(ctx context.Context, in *DescribeQuotaInput, opts ...grpc.CallOption) (*DescribeQuotaOutput, error)
	UpdateQuota(ctx context.Context, in *UpdateQuotaInput, opts ...grpc.CallOption) (*UpdateQuotaOutput, error)
	// List spaces of a contest
	ListSpaces(ctx context.Context, in *ListSpacesInput, opts ...grpc.CallOption) (*ListSpacesOutput, error)
}

UniverseClient is the client API for Universe 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.

func NewUniverseClient

func NewUniverseClient(cc grpc.ClientConnInterface) UniverseClient

type UniverseInterceptor

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

func NewUniverseInterceptor

func NewUniverseInterceptor(cli UniverseClient, middleware ..._UniverseMiddleware) *UniverseInterceptor

NewUniverseInterceptor constructs additional middleware for a server based on annotations in proto files

func (*UniverseInterceptor) CreateSpace

func (*UniverseInterceptor) DeleteSpace

func (*UniverseInterceptor) DescribeQuota

func (*UniverseInterceptor) DescribeSpace

func (*UniverseInterceptor) ListSpaces

func (*UniverseInterceptor) LookupSpace

func (*UniverseInterceptor) UpdateQuota

func (*UniverseInterceptor) UpdateSpace

type UniverseServer

type UniverseServer interface {
	// Lookup space by domain key
	LookupSpace(context.Context, *LookupSpaceInput) (*LookupSpaceOutput, error)
	// Create a space
	CreateSpace(context.Context, *CreateSpaceInput) (*CreateSpaceOutput, error)
	// Update existing space
	UpdateSpace(context.Context, *UpdateSpaceInput) (*UpdateSpaceOutput, error)
	// Delete space
	DeleteSpace(context.Context, *DeleteSpaceInput) (*DeleteSpaceOutput, error)
	// Describe space
	DescribeSpace(context.Context, *DescribeSpaceInput) (*DescribeSpaceOutput, error)
	// Describe quota
	DescribeQuota(context.Context, *DescribeQuotaInput) (*DescribeQuotaOutput, error)
	UpdateQuota(context.Context, *UpdateQuotaInput) (*UpdateQuotaOutput, error)
	// List spaces of a contest
	ListSpaces(context.Context, *ListSpacesInput) (*ListSpacesOutput, error)
}

UniverseServer is the server API for Universe service. All implementations should embed UnimplementedUniverseServer for forward compatibility

type UniverseService

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

func NewUniverseHttpClient

func NewUniverseHttpClient(url string, cli _UniverseHttpClient) *UniverseService

NewUniverseHttpClient constructs client for Universe

func (*UniverseService) CreateSpace

func (*UniverseService) DeleteSpace

func (*UniverseService) DescribeQuota

func (*UniverseService) DescribeSpace

func (*UniverseService) ListSpaces

func (*UniverseService) LookupSpace

func (*UniverseService) UpdateQuota

func (*UniverseService) UpdateSpace

type UnsafeBillingServiceServer

type UnsafeBillingServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeBillingServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to BillingServiceServer will result in compilation errors.

type UnsafePlanServiceServer

type UnsafePlanServiceServer interface {
	// contains filtered or unexported methods
}

UnsafePlanServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to PlanServiceServer will result in compilation errors.

type UnsafeSpaceServiceServer

type UnsafeSpaceServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeSpaceServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to SpaceServiceServer will result in compilation errors.

type UnsafeUniverseServer

type UnsafeUniverseServer interface {
	// contains filtered or unexported methods
}

UnsafeUniverseServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to UniverseServer will result in compilation errors.

type UpcomingInvoiceInput

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

func (*UpcomingInvoiceInput) Descriptor deprecated

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

Deprecated: Use UpcomingInvoiceInput.ProtoReflect.Descriptor instead.

func (*UpcomingInvoiceInput) ProtoMessage

func (*UpcomingInvoiceInput) ProtoMessage()

func (*UpcomingInvoiceInput) ProtoReflect

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

func (*UpcomingInvoiceInput) Reset

func (x *UpcomingInvoiceInput) Reset()

func (*UpcomingInvoiceInput) String

func (x *UpcomingInvoiceInput) String() string

type UpcomingInvoiceOutput

type UpcomingInvoiceOutput struct {
	Invoice *commerce.Invoice `protobuf:"bytes,1,opt,name=invoice,proto3" json:"invoice,omitempty"`
	// contains filtered or unexported fields
}

func (*UpcomingInvoiceOutput) Descriptor deprecated

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

Deprecated: Use UpcomingInvoiceOutput.ProtoReflect.Descriptor instead.

func (*UpcomingInvoiceOutput) GetInvoice

func (x *UpcomingInvoiceOutput) GetInvoice() *commerce.Invoice

func (*UpcomingInvoiceOutput) ProtoMessage

func (*UpcomingInvoiceOutput) ProtoMessage()

func (*UpcomingInvoiceOutput) ProtoReflect

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

func (*UpcomingInvoiceOutput) Reset

func (x *UpcomingInvoiceOutput) Reset()

func (*UpcomingInvoiceOutput) String

func (x *UpcomingInvoiceOutput) String() string

type UpdateBillingInformationInput

type UpdateBillingInformationInput struct {
	Info *Billing_Information `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateBillingInformationInput) Descriptor deprecated

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

Deprecated: Use UpdateBillingInformationInput.ProtoReflect.Descriptor instead.

func (*UpdateBillingInformationInput) GetInfo

func (*UpdateBillingInformationInput) ProtoMessage

func (*UpdateBillingInformationInput) ProtoMessage()

func (*UpdateBillingInformationInput) ProtoReflect

func (*UpdateBillingInformationInput) Reset

func (x *UpdateBillingInformationInput) Reset()

func (*UpdateBillingInformationInput) String

type UpdateBillingInformationOutput

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

func (*UpdateBillingInformationOutput) Descriptor deprecated

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

Deprecated: Use UpdateBillingInformationOutput.ProtoReflect.Descriptor instead.

func (*UpdateBillingInformationOutput) ProtoMessage

func (*UpdateBillingInformationOutput) ProtoMessage()

func (*UpdateBillingInformationOutput) ProtoReflect

func (*UpdateBillingInformationOutput) Reset

func (x *UpdateBillingInformationOutput) Reset()

func (*UpdateBillingInformationOutput) String

type UpdateQuotaInput

type UpdateQuotaInput struct {
	SpaceId string `protobuf:"bytes,1,opt,name=space_id,json=spaceId,proto3" json:"space_id,omitempty"`
	Quota   *Quota `protobuf:"bytes,2,opt,name=quota,proto3" json:"quota,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateQuotaInput) Descriptor deprecated

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

Deprecated: Use UpdateQuotaInput.ProtoReflect.Descriptor instead.

func (*UpdateQuotaInput) GetQuota

func (x *UpdateQuotaInput) GetQuota() *Quota

func (*UpdateQuotaInput) GetSpaceId

func (x *UpdateQuotaInput) GetSpaceId() string

func (*UpdateQuotaInput) ProtoMessage

func (*UpdateQuotaInput) ProtoMessage()

func (*UpdateQuotaInput) ProtoReflect

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

func (*UpdateQuotaInput) Reset

func (x *UpdateQuotaInput) Reset()

func (*UpdateQuotaInput) String

func (x *UpdateQuotaInput) String() string

type UpdateQuotaOutput

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

func (*UpdateQuotaOutput) Descriptor deprecated

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

Deprecated: Use UpdateQuotaOutput.ProtoReflect.Descriptor instead.

func (*UpdateQuotaOutput) ProtoMessage

func (*UpdateQuotaOutput) ProtoMessage()

func (*UpdateQuotaOutput) ProtoReflect

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

func (*UpdateQuotaOutput) Reset

func (x *UpdateQuotaOutput) Reset()

func (*UpdateQuotaOutput) String

func (x *UpdateQuotaOutput) String() string

type UpdateSpaceInput

type UpdateSpaceInput struct {
	Patch   []UpdateSpaceInput_Patch `protobuf:"varint,3,rep,packed,name=patch,proto3,enum=eolymp.universe.UpdateSpaceInput_Patch" json:"patch,omitempty"`
	SpaceId string                   `protobuf:"bytes,1,opt,name=space_id,json=spaceId,proto3" json:"space_id,omitempty"`
	Space   *Space                   `protobuf:"bytes,2,opt,name=space,proto3" json:"space,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateSpaceInput) Descriptor deprecated

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

Deprecated: Use UpdateSpaceInput.ProtoReflect.Descriptor instead.

func (*UpdateSpaceInput) GetPatch

func (x *UpdateSpaceInput) GetPatch() []UpdateSpaceInput_Patch

func (*UpdateSpaceInput) GetSpace

func (x *UpdateSpaceInput) GetSpace() *Space

func (*UpdateSpaceInput) GetSpaceId

func (x *UpdateSpaceInput) GetSpaceId() string

func (*UpdateSpaceInput) ProtoMessage

func (*UpdateSpaceInput) ProtoMessage()

func (*UpdateSpaceInput) ProtoReflect

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

func (*UpdateSpaceInput) Reset

func (x *UpdateSpaceInput) Reset()

func (*UpdateSpaceInput) String

func (x *UpdateSpaceInput) String() string

type UpdateSpaceInput_Patch

type UpdateSpaceInput_Patch int32
const (
	UpdateSpaceInput_ALL        UpdateSpaceInput_Patch = 0
	UpdateSpaceInput_KEY        UpdateSpaceInput_Patch = 1
	UpdateSpaceInput_NAME       UpdateSpaceInput_Patch = 2
	UpdateSpaceInput_IMAGE      UpdateSpaceInput_Patch = 3
	UpdateSpaceInput_TYPE       UpdateSpaceInput_Patch = 4
	UpdateSpaceInput_VISIBILITY UpdateSpaceInput_Patch = 5
)

func (UpdateSpaceInput_Patch) Descriptor

func (UpdateSpaceInput_Patch) Enum

func (UpdateSpaceInput_Patch) EnumDescriptor deprecated

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

Deprecated: Use UpdateSpaceInput_Patch.Descriptor instead.

func (UpdateSpaceInput_Patch) Number

func (UpdateSpaceInput_Patch) String

func (x UpdateSpaceInput_Patch) String() string

func (UpdateSpaceInput_Patch) Type

type UpdateSpaceOutput

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

func (*UpdateSpaceOutput) Descriptor deprecated

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

Deprecated: Use UpdateSpaceOutput.ProtoReflect.Descriptor instead.

func (*UpdateSpaceOutput) ProtoMessage

func (*UpdateSpaceOutput) ProtoMessage()

func (*UpdateSpaceOutput) ProtoReflect

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

func (*UpdateSpaceOutput) Reset

func (x *UpdateSpaceOutput) Reset()

func (*UpdateSpaceOutput) String

func (x *UpdateSpaceOutput) String() string

type UpdateSubscriptionInput

type UpdateSubscriptionInput struct {
	PlanId    string `protobuf:"bytes,1,opt,name=plan_id,json=planId,proto3" json:"plan_id,omitempty"`
	VariantId string `protobuf:"bytes,2,opt,name=variant_id,json=variantId,proto3" json:"variant_id,omitempty"`
	Seats     uint32 `protobuf:"varint,3,opt,name=seats,proto3" json:"seats,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateSubscriptionInput) Descriptor deprecated

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

Deprecated: Use UpdateSubscriptionInput.ProtoReflect.Descriptor instead.

func (*UpdateSubscriptionInput) GetPlanId

func (x *UpdateSubscriptionInput) GetPlanId() string

func (*UpdateSubscriptionInput) GetSeats

func (x *UpdateSubscriptionInput) GetSeats() uint32

func (*UpdateSubscriptionInput) GetVariantId

func (x *UpdateSubscriptionInput) GetVariantId() string

func (*UpdateSubscriptionInput) ProtoMessage

func (*UpdateSubscriptionInput) ProtoMessage()

func (*UpdateSubscriptionInput) ProtoReflect

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

func (*UpdateSubscriptionInput) Reset

func (x *UpdateSubscriptionInput) Reset()

func (*UpdateSubscriptionInput) String

func (x *UpdateSubscriptionInput) String() string

type UpdateSubscriptionOutput

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

func (*UpdateSubscriptionOutput) Descriptor deprecated

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

Deprecated: Use UpdateSubscriptionOutput.ProtoReflect.Descriptor instead.

func (*UpdateSubscriptionOutput) ProtoMessage

func (*UpdateSubscriptionOutput) ProtoMessage()

func (*UpdateSubscriptionOutput) ProtoReflect

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

func (*UpdateSubscriptionOutput) Reset

func (x *UpdateSubscriptionOutput) Reset()

func (*UpdateSubscriptionOutput) String

func (x *UpdateSubscriptionOutput) String() string

Jump to

Keyboard shortcuts

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