shop

package
v0.5.15 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2024 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	UpdateAdminRevision                = grpc.NewMethod("UpdateAdminRevision")
	GetAdminRevisions                  = grpc.NewMethod("GetAdminRevisions")
	CloseAdminRevision                 = grpc.NewMethod("CloseAdminRevision")
	AddBusiness                        = grpc.NewMethod("AddBusiness")
	GetBusiness                        = grpc.NewMethod("GetBusiness")
	UpdateBusiness                     = grpc.NewMethod("UpdateBusiness")
	SetBusinessProfilePicture          = grpc.NewMethod("SetBusinessProfilePicture")
	OpenAdminRevisionToBusiness        = grpc.NewMethod("OpenAdminRevisionToBusiness")
	DeleteBusiness                     = grpc.NewMethod("DeleteBusiness")
	AddBusinessOwner                   = grpc.NewMethod("AddBusinessOwner")
	RemoveBusinessOwner                = grpc.NewMethod("RemoveBusinessOwner")
	GetBusinessOwners                  = grpc.NewMethod("GetBusinessOwners")
	AddBusinessClient                  = grpc.NewMethod("AddBusinessClient")
	IsBusinessClient                   = grpc.NewMethod("IsBusinessClient")
	AddMarketCategory                  = grpc.NewMethod("AddMarketCategory")
	GetMarketCategory                  = grpc.NewMethod("GetMarketCategory")
	UpdateMarketCategory               = grpc.NewMethod("UpdateMarketCategory")
	AddBusinessMarketCategory          = grpc.NewMethod("AddBusinessMarketCategory")
	GetBusinessMarketCategories        = grpc.NewMethod("GetBusinessMarketCategories")
	AddStore                           = grpc.NewMethod("AddStore")
	GetStore                           = grpc.NewMethod("GetStore")
	DeleteStore                        = grpc.NewMethod("DeleteStore")
	GetUnoccupiedStores                = grpc.NewMethod("GetUnoccupiedStores")
	AddBranch                          = grpc.NewMethod("AddBranch")
	GetBranch                          = grpc.NewMethod("GetBranch")
	GetBusinessBranches                = grpc.NewMethod("GetBusinessBranches")
	UpdateBranch                       = grpc.NewMethod("UpdateBranch")
	CloseTemporarilyBranch             = grpc.NewMethod("CloseTemporarilyBranch")
	OpenBranch                         = grpc.NewMethod("OpenBranch")
	OpenAdminRevisionToBranch          = grpc.NewMethod("OpenAdminRevisionToBranch")
	DeleteBranch                       = grpc.NewMethod("DeleteBranch")
	AddBranchRent                      = grpc.NewMethod("AddBranchRent")
	GetBranchRents                     = grpc.NewMethod("GetBranchRents")
	UpdateBranchRent                   = grpc.NewMethod("UpdateBranchRent")
	GetUnpaidBranchRents               = grpc.NewMethod("GetUnpaidBranchRents")
	GetBusinessUnpaidBranchRents       = grpc.NewMethod("GetBusinessUnpaidBranchRents")
	AddProductCategory                 = grpc.NewMethod("AddProductCategory")
	GetProductCategory                 = grpc.NewMethod("GetProductCategory")
	UpdateProductCategory              = grpc.NewMethod("UpdateProductCategory")
	AddProduct                         = grpc.NewMethod("AddProduct")
	GetProduct                         = grpc.NewMethod("GetProduct")
	UpdateProduct                      = grpc.NewMethod("UpdateProduct")
	SearchProducts                     = grpc.NewMethod("SearchProducts")
	OpenAdminRevisionToProduct         = grpc.NewMethod("OpenAdminRevisionToProduct")
	AddBusinessProduct                 = grpc.NewMethod("AddBusinessProduct")
	GetBusinessProduct                 = grpc.NewMethod("GetBusinessProduct")
	UpdateBusinessProduct              = grpc.NewMethod("UpdateBusinessProduct")
	SearchBusinessProducts             = grpc.NewMethod("SearchBusinessProducts")
	OpenAdminRevisionToBusinessProduct = grpc.NewMethod("OpenAdminRevisionToBusinessProduct")
	AddBranchProduct                   = grpc.NewMethod("AddBranchProduct")
	GetBranchProduct                   = grpc.NewMethod("GetBranchProduct")
	SearchBranchProducts               = grpc.NewMethod("SearchBranchProducts")
	UpdateBranchProduct                = grpc.NewMethod("UpdateBranchProduct")
	IncreaseBranchProductStock         = grpc.NewMethod("IncreaseBranchProductStock")
	DecreaseBranchProductStock         = grpc.NewMethod("DecreaseBranchProductStock")
)

Business service gRPC methods

View Source
var Interceptions = map[grpc.Method]grpc.Interception{
	UpdateAdminRevision:                grpc.AccessToken,
	GetAdminRevisions:                  grpc.AccessToken,
	CloseAdminRevision:                 grpc.AccessToken,
	AddBusiness:                        grpc.AccessToken,
	GetBusiness:                        grpc.None,
	UpdateBusiness:                     grpc.AccessToken,
	SetBusinessProfilePicture:          grpc.AccessToken,
	OpenAdminRevisionToBusiness:        grpc.AccessToken,
	DeleteBusiness:                     grpc.AccessToken,
	AddBusinessOwner:                   grpc.AccessToken,
	RemoveBusinessOwner:                grpc.AccessToken,
	GetBusinessOwners:                  grpc.AccessToken,
	AddBusinessClient:                  grpc.AccessToken,
	IsBusinessClient:                   grpc.AccessToken,
	AddMarketCategory:                  grpc.AccessToken,
	GetMarketCategory:                  grpc.None,
	UpdateMarketCategory:               grpc.AccessToken,
	AddBusinessMarketCategory:          grpc.AccessToken,
	GetBusinessMarketCategories:        grpc.None,
	AddStore:                           grpc.AccessToken,
	GetStore:                           grpc.None,
	DeleteStore:                        grpc.AccessToken,
	GetUnoccupiedStores:                grpc.None,
	AddBranch:                          grpc.AccessToken,
	GetBranch:                          grpc.None,
	GetBusinessBranches:                grpc.None,
	UpdateBranch:                       grpc.AccessToken,
	CloseTemporarilyBranch:             grpc.AccessToken,
	OpenBranch:                         grpc.AccessToken,
	OpenAdminRevisionToBranch:          grpc.AccessToken,
	DeleteBranch:                       grpc.AccessToken,
	AddBranchRent:                      grpc.AccessToken,
	GetBranchRents:                     grpc.AccessToken,
	UpdateBranchRent:                   grpc.AccessToken,
	GetUnpaidBranchRents:               grpc.AccessToken,
	GetBusinessUnpaidBranchRents:       grpc.AccessToken,
	AddProductCategory:                 grpc.AccessToken,
	GetProductCategory:                 grpc.None,
	UpdateProductCategory:              grpc.AccessToken,
	AddProduct:                         grpc.AccessToken,
	GetProduct:                         grpc.None,
	UpdateProduct:                      grpc.AccessToken,
	SearchProducts:                     grpc.None,
	OpenAdminRevisionToProduct:         grpc.AccessToken,
	AddBusinessProduct:                 grpc.AccessToken,
	GetBusinessProduct:                 grpc.None,
	UpdateBusinessProduct:              grpc.AccessToken,
	SearchBusinessProducts:             grpc.None,
	OpenAdminRevisionToBusinessProduct: grpc.AccessToken,
	AddBranchProduct:                   grpc.AccessToken,
	GetBranchProduct:                   grpc.None,
	SearchBranchProducts:               grpc.None,
	UpdateBranchProduct:                grpc.AccessToken,
	IncreaseBranchProductStock:         grpc.AccessToken,
	DecreaseBranchProductStock:         grpc.AccessToken,
}

Interceptions is the list of gRPC methods to intercept

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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