diff --git a/Makefile b/Makefile index 95cff39..70579e4 100644 --- a/Makefile +++ b/Makefile @@ -14,10 +14,10 @@ # Conventions: # - All .proto files live in $(PROTO_DIR) # - Generated Go code is emitted under $(PROTO_DIR) via go_package mapping -# - go_package is set to: git.k6n.net/go-cart-actor/proto;messages +# - go_package is set to: git.k6n.net/mats/go-cart-actor/proto;messages # ------------------------------------------------------------------------------ -MODULE_PATH := git.k6n.net/go-cart-actor +MODULE_PATH := git.k6n.net/mats/go-cart-actor PROTO_DIR := proto PROTOS := $(PROTO_DIR)/cart.proto $(PROTO_DIR)/control_plane.proto $(PROTO_DIR)/checkout.proto CART_PROTO_DIR := $(PROTO_DIR)/cart diff --git a/cmd/backoffice/main.go b/cmd/backoffice/main.go index c56a5ad..268b281 100644 --- a/cmd/backoffice/main.go +++ b/cmd/backoffice/main.go @@ -8,7 +8,7 @@ import ( "os" "time" - "git.k6n.net/go-cart-actor/pkg/backofficeadmin" + "git.k6n.net/mats/go-cart-actor/pkg/backofficeadmin" amqp "github.com/rabbitmq/amqp091-go" ) diff --git a/cmd/cart/k8s-host-discovery.go b/cmd/cart/k8s-host-discovery.go index 1e8f165..cfba8d0 100644 --- a/cmd/cart/k8s-host-discovery.go +++ b/cmd/cart/k8s-host-discovery.go @@ -3,7 +3,7 @@ package main import ( "log" - "git.k6n.net/go-cart-actor/pkg/discovery" + "git.k6n.net/mats/go-cart-actor/pkg/discovery" v1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/kubernetes" "k8s.io/client-go/rest" diff --git a/cmd/cart/main.go b/cmd/cart/main.go index 5227cf9..04080d9 100644 --- a/cmd/cart/main.go +++ b/cmd/cart/main.go @@ -12,12 +12,12 @@ import ( "strings" "time" - "git.k6n.net/go-cart-actor/pkg/actor" - "git.k6n.net/go-cart-actor/pkg/cart" - "git.k6n.net/go-cart-actor/pkg/promotions" - "git.k6n.net/go-cart-actor/pkg/proxy" - "git.k6n.net/go-cart-actor/pkg/voucher" - "github.com/matst80/go-redis-inventory/pkg/inventory" + "git.k6n.net/mats/go-cart-actor/pkg/actor" + "git.k6n.net/mats/go-cart-actor/pkg/cart" + "git.k6n.net/mats/go-cart-actor/pkg/promotions" + "git.k6n.net/mats/go-cart-actor/pkg/proxy" + "git.k6n.net/mats/go-cart-actor/pkg/voucher" + "git.k6n.net/mats/go-redis-inventory/pkg/inventory" "github.com/prometheus/client_golang/prometheus" "github.com/prometheus/client_golang/prometheus/promauto" "github.com/prometheus/client_golang/prometheus/promhttp" diff --git a/cmd/cart/pool-server.go b/cmd/cart/pool-server.go index 7b74051..75a59b6 100644 --- a/cmd/cart/pool-server.go +++ b/cmd/cart/pool-server.go @@ -10,11 +10,11 @@ import ( "sync" "time" - "git.k6n.net/go-cart-actor/pkg/actor" - "git.k6n.net/go-cart-actor/pkg/cart" - messages "git.k6n.net/go-cart-actor/proto/cart" + "git.k6n.net/mats/go-cart-actor/pkg/actor" + "git.k6n.net/mats/go-cart-actor/pkg/cart" + messages "git.k6n.net/mats/go-cart-actor/proto/cart" - "git.k6n.net/go-cart-actor/pkg/voucher" + "git.k6n.net/mats/go-cart-actor/pkg/voucher" "github.com/prometheus/client_golang/prometheus" "github.com/prometheus/client_golang/prometheus/promauto" "go.opentelemetry.io/contrib/bridges/otelslog" diff --git a/cmd/cart/product-fetcher.go b/cmd/cart/product-fetcher.go index f916328..dae9fda 100644 --- a/cmd/cart/product-fetcher.go +++ b/cmd/cart/product-fetcher.go @@ -9,7 +9,7 @@ import ( "net/http" "strconv" - messages "git.k6n.net/go-cart-actor/proto/cart" + messages "git.k6n.net/mats/go-cart-actor/proto/cart" ) // consumedKeys are product-document keys that are mapped to typed AddItem diff --git a/cmd/cart/product-fetcher_integration_test.go b/cmd/cart/product-fetcher_integration_test.go index 33c582b..28cf01c 100644 --- a/cmd/cart/product-fetcher_integration_test.go +++ b/cmd/cart/product-fetcher_integration_test.go @@ -20,9 +20,9 @@ import ( "testing" "time" - "git.k6n.net/go-cart-actor/pkg/actor" - "git.k6n.net/go-cart-actor/pkg/cart" - "git.k6n.net/go-cart-actor/pkg/proxy" + "git.k6n.net/mats/go-cart-actor/pkg/actor" + "git.k6n.net/mats/go-cart-actor/pkg/cart" + "git.k6n.net/mats/go-cart-actor/pkg/proxy" ) // newTestPoolServer builds a real, disk-backed PoolServer for exercising the diff --git a/cmd/cart/utils.go b/cmd/cart/utils.go index f8cf223..fd63a97 100644 --- a/cmd/cart/utils.go +++ b/cmd/cart/utils.go @@ -5,8 +5,8 @@ import ( "net/http" "time" - "git.k6n.net/go-cart-actor/pkg/cart" - "github.com/matst80/go-redis-inventory/pkg/inventory" + "git.k6n.net/mats/go-cart-actor/pkg/cart" + "git.k6n.net/mats/go-redis-inventory/pkg/inventory" ) func getCurrency(country string) string { diff --git a/cmd/checkout/adyen-handlers.go b/cmd/checkout/adyen-handlers.go index d8df68f..14767ea 100644 --- a/cmd/checkout/adyen-handlers.go +++ b/cmd/checkout/adyen-handlers.go @@ -9,8 +9,8 @@ import ( "net/url" "time" - "git.k6n.net/go-cart-actor/pkg/cart" - messages "git.k6n.net/go-cart-actor/proto/checkout" + "git.k6n.net/mats/go-cart-actor/pkg/cart" + messages "git.k6n.net/mats/go-cart-actor/proto/checkout" adyenCheckout "github.com/adyen/adyen-go-api-library/v21/src/checkout" "github.com/adyen/adyen-go-api-library/v21/src/common" "github.com/adyen/adyen-go-api-library/v21/src/hmacvalidator" diff --git a/cmd/checkout/cart-client.go b/cmd/checkout/cart-client.go index d263b64..49439a7 100644 --- a/cmd/checkout/cart-client.go +++ b/cmd/checkout/cart-client.go @@ -8,7 +8,7 @@ import ( "net/http" "time" - "git.k6n.net/go-cart-actor/pkg/cart" + "git.k6n.net/mats/go-cart-actor/pkg/cart" ) type CartClient struct { diff --git a/cmd/checkout/cart-client_test.go b/cmd/checkout/cart-client_test.go index aa7d95e..e0fc14a 100644 --- a/cmd/checkout/cart-client_test.go +++ b/cmd/checkout/cart-client_test.go @@ -4,7 +4,7 @@ import ( "context" "testing" - "git.k6n.net/go-cart-actor/pkg/cart" + "git.k6n.net/mats/go-cart-actor/pkg/cart" ) // TestGetCartGrain_RealService tests against the actual service at https://cart.k6n.net/ diff --git a/cmd/checkout/checkout_builder.go b/cmd/checkout/checkout_builder.go index 5f67f33..2f0fc8e 100644 --- a/cmd/checkout/checkout_builder.go +++ b/cmd/checkout/checkout_builder.go @@ -5,8 +5,8 @@ import ( "fmt" "net/http" - "git.k6n.net/go-cart-actor/pkg/cart" - "git.k6n.net/go-cart-actor/pkg/checkout" + "git.k6n.net/mats/go-cart-actor/pkg/cart" + "git.k6n.net/mats/go-cart-actor/pkg/checkout" adyenCheckout "github.com/adyen/adyen-go-api-library/v21/src/checkout" "github.com/adyen/adyen-go-api-library/v21/src/common" ) diff --git a/cmd/checkout/k8s-host-discovery.go b/cmd/checkout/k8s-host-discovery.go index c26a763..fa31da0 100644 --- a/cmd/checkout/k8s-host-discovery.go +++ b/cmd/checkout/k8s-host-discovery.go @@ -3,7 +3,7 @@ package main import ( "log" - "git.k6n.net/go-cart-actor/pkg/discovery" + "git.k6n.net/mats/go-cart-actor/pkg/discovery" v1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/kubernetes" "k8s.io/client-go/rest" diff --git a/cmd/checkout/klarna-handlers.go b/cmd/checkout/klarna-handlers.go index 87e7f06..3e774d3 100644 --- a/cmd/checkout/klarna-handlers.go +++ b/cmd/checkout/klarna-handlers.go @@ -8,10 +8,10 @@ import ( "net/http" "time" - "git.k6n.net/go-cart-actor/pkg/cart" - "git.k6n.net/go-cart-actor/pkg/checkout" - messages "git.k6n.net/go-cart-actor/proto/checkout" - "github.com/matst80/go-redis-inventory/pkg/inventory" + "git.k6n.net/mats/go-cart-actor/pkg/cart" + "git.k6n.net/mats/go-cart-actor/pkg/checkout" + messages "git.k6n.net/mats/go-cart-actor/proto/checkout" + "git.k6n.net/mats/go-redis-inventory/pkg/inventory" "google.golang.org/protobuf/types/known/timestamppb" ) diff --git a/cmd/checkout/main.go b/cmd/checkout/main.go index 3f22a8c..29270ec 100644 --- a/cmd/checkout/main.go +++ b/cmd/checkout/main.go @@ -10,12 +10,12 @@ import ( "os/signal" "time" - "git.k6n.net/go-cart-actor/pkg/actor" - "git.k6n.net/go-cart-actor/pkg/checkout" - "git.k6n.net/go-cart-actor/pkg/proxy" + "git.k6n.net/mats/go-cart-actor/pkg/actor" + "git.k6n.net/mats/go-cart-actor/pkg/checkout" + "git.k6n.net/mats/go-cart-actor/pkg/proxy" "github.com/adyen/adyen-go-api-library/v21/src/adyen" "github.com/adyen/adyen-go-api-library/v21/src/common" - "github.com/matst80/go-redis-inventory/pkg/inventory" + "git.k6n.net/mats/go-redis-inventory/pkg/inventory" "github.com/prometheus/client_golang/prometheus" "github.com/prometheus/client_golang/prometheus/promauto" "github.com/redis/go-redis/v9" diff --git a/cmd/checkout/pool-server.go b/cmd/checkout/pool-server.go index 7fb2b9a..60999b1 100644 --- a/cmd/checkout/pool-server.go +++ b/cmd/checkout/pool-server.go @@ -11,13 +11,13 @@ import ( "strconv" "time" - "git.k6n.net/go-cart-actor/pkg/actor" - "git.k6n.net/go-cart-actor/pkg/cart" - "git.k6n.net/go-cart-actor/pkg/checkout" - messages "git.k6n.net/go-cart-actor/proto/checkout" + "git.k6n.net/mats/go-cart-actor/pkg/actor" + "git.k6n.net/mats/go-cart-actor/pkg/cart" + "git.k6n.net/mats/go-cart-actor/pkg/checkout" + messages "git.k6n.net/mats/go-cart-actor/proto/checkout" adyen "github.com/adyen/adyen-go-api-library/v21/src/adyen" - "github.com/matst80/go-redis-inventory/pkg/inventory" + "git.k6n.net/mats/go-redis-inventory/pkg/inventory" amqp "github.com/rabbitmq/amqp091-go" "github.com/prometheus/client_golang/prometheus" diff --git a/cmd/checkout/utils.go b/cmd/checkout/utils.go index b897ca3..e76da2f 100644 --- a/cmd/checkout/utils.go +++ b/cmd/checkout/utils.go @@ -7,8 +7,8 @@ import ( "strings" "time" - "git.k6n.net/go-cart-actor/pkg/cart" - "git.k6n.net/go-cart-actor/pkg/checkout" + "git.k6n.net/mats/go-cart-actor/pkg/cart" + "git.k6n.net/mats/go-cart-actor/pkg/checkout" "go.opentelemetry.io/otel/attribute" "go.opentelemetry.io/otel/metric" ) diff --git a/cmd/inventory/main.go b/cmd/inventory/main.go index 3e28be2..c0b8d7d 100644 --- a/cmd/inventory/main.go +++ b/cmd/inventory/main.go @@ -8,9 +8,9 @@ import ( "os" "sync" - "github.com/matst80/go-redis-inventory/pkg/inventory" - "github.com/matst80/slask-finder/pkg/index" - "github.com/matst80/slask-finder/pkg/messaging" + "git.k6n.net/mats/go-redis-inventory/pkg/inventory" + "git.k6n.net/mats/slask-finder/pkg/index" + "git.k6n.net/mats/slask-finder/pkg/messaging" "github.com/redis/go-redis/v9" "github.com/redis/go-redis/v9/maintnotifications" diff --git a/cmd/inventory/stockhandler.go b/cmd/inventory/stockhandler.go index 569fcb2..650d422 100644 --- a/cmd/inventory/stockhandler.go +++ b/cmd/inventory/stockhandler.go @@ -7,8 +7,8 @@ import ( "strings" "sync" - "github.com/matst80/go-redis-inventory/pkg/inventory" - "github.com/matst80/slask-finder/pkg/types" + "git.k6n.net/mats/go-redis-inventory/pkg/inventory" + "git.k6n.net/mats/slask-finder/pkg/types" "github.com/redis/go-redis/v9" ) diff --git a/go.mod b/go.mod index 01aa031..658c2a7 100644 --- a/go.mod +++ b/go.mod @@ -1,12 +1,10 @@ -module git.k6n.net/go-cart-actor +module git.k6n.net/mats/go-cart-actor go 1.26.2 require ( github.com/adyen/adyen-go-api-library/v21 v21.1.0 github.com/google/uuid v1.6.0 - github.com/matst80/go-redis-inventory v0.0.0-20251126173508-51b30de2d86e - github.com/matst80/slask-finder v0.0.0-20251125182907-9e57f193127a github.com/prometheus/client_golang v1.23.2 github.com/rabbitmq/amqp091-go v1.11.0 github.com/redis/go-redis/v9 v9.20.0 diff --git a/go.sum b/go.sum index 9ade22f..f062c10 100644 --- a/go.sum +++ b/go.sum @@ -119,10 +119,10 @@ github.com/kylelemons/godebug v1.1.0 h1:RPNrshWIDI6G2gRW9EHilWtl7Z6Sb1BR0xunSBf0 github.com/kylelemons/godebug v1.1.0/go.mod h1:9/0rRGxNHcop5bhtWyNeEfOS8JIWk580+fNqagV/RAw= github.com/mailru/easyjson v0.9.1 h1:LbtsOm5WAswyWbvTEOqhypdPeZzHavpZx96/n553mR8= github.com/mailru/easyjson v0.9.1/go.mod h1:1+xMtQp2MRNVL/V1bOzuP3aP8VNwRW55fQUto+XFtTU= -github.com/matst80/go-redis-inventory v0.0.0-20251126173508-51b30de2d86e h1:Z7A73W6jsxFuFKWvB1efQmTjs0s7+x2B7IBM2ukkI6Y= -github.com/matst80/go-redis-inventory v0.0.0-20251126173508-51b30de2d86e/go.mod h1:9P52UwIlLWLZvObfO29aKTWUCA9Gm62IuPJ/qv4Xvs0= -github.com/matst80/slask-finder v0.0.0-20251125182907-9e57f193127a h1:EfUO5BNDK3a563zQlwJYTNNv46aJFT9gbSItAwZOZ/Y= -github.com/matst80/slask-finder v0.0.0-20251125182907-9e57f193127a/go.mod h1:VIPNkIvU0dZKwbSuv75zZcB93MXISm2UyiIPly/ucXQ= +git.k6n.net/mats/go-redis-inventory v0.0.0-20251126173508-51b30de2d86e h1:Z7A73W6jsxFuFKWvB1efQmTjs0s7+x2B7IBM2ukkI6Y= +git.k6n.net/mats/go-redis-inventory v0.0.0-20251126173508-51b30de2d86e/go.mod h1:9P52UwIlLWLZvObfO29aKTWUCA9Gm62IuPJ/qv4Xvs0= +git.k6n.net/mats/slask-finder v0.0.0-20251125182907-9e57f193127a h1:EfUO5BNDK3a563zQlwJYTNNv46aJFT9gbSItAwZOZ/Y= +git.k6n.net/mats/slask-finder v0.0.0-20251125182907-9e57f193127a/go.mod h1:VIPNkIvU0dZKwbSuv75zZcB93MXISm2UyiIPly/ucXQ= github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q= github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd h1:TRLaZ9cD/w8PVh93nsPXa1VrQ6jlwL5oN8l14QlcNfg= github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q= diff --git a/go.work b/go.work new file mode 100644 index 0000000..1701de3 --- /dev/null +++ b/go.work @@ -0,0 +1,7 @@ +go 1.26.2 + +use ( + . + ../slask-finder + ../go-redis-inventory +) diff --git a/go.work.sum b/go.work.sum new file mode 100644 index 0000000..43b45f2 --- /dev/null +++ b/go.work.sum @@ -0,0 +1 @@ +golang.org/x/sys v0.30.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= diff --git a/pkg/actor/grpc_server.go b/pkg/actor/grpc_server.go index 6dd225f..e43a5b3 100644 --- a/pkg/actor/grpc_server.go +++ b/pkg/actor/grpc_server.go @@ -8,7 +8,7 @@ import ( "net" "time" - messages "git.k6n.net/go-cart-actor/proto/control" + messages "git.k6n.net/mats/go-cart-actor/proto/control" "go.opentelemetry.io/contrib/bridges/otelslog" "go.opentelemetry.io/otel" "go.opentelemetry.io/otel/attribute" diff --git a/pkg/actor/grpc_server_test.go b/pkg/actor/grpc_server_test.go index 1b33aaf..76e8b1d 100644 --- a/pkg/actor/grpc_server_test.go +++ b/pkg/actor/grpc_server_test.go @@ -4,8 +4,8 @@ import ( "context" "testing" - cart_messages "git.k6n.net/go-cart-actor/proto/cart" - control_plane_messages "git.k6n.net/go-cart-actor/proto/control" + cart_messages "git.k6n.net/mats/go-cart-actor/proto/cart" + control_plane_messages "git.k6n.net/mats/go-cart-actor/proto/control" "google.golang.org/grpc" "google.golang.org/grpc/credentials/insecure" "google.golang.org/protobuf/proto" diff --git a/pkg/actor/log_listerner.go b/pkg/actor/log_listerner.go index 3990c77..45b1151 100644 --- a/pkg/actor/log_listerner.go +++ b/pkg/actor/log_listerner.go @@ -3,7 +3,7 @@ package actor import ( "log" - "github.com/matst80/slask-finder/pkg/messaging" + "git.k6n.net/mats/slask-finder/pkg/messaging" amqp "github.com/rabbitmq/amqp091-go" ) diff --git a/pkg/actor/mutation_registry_test.go b/pkg/actor/mutation_registry_test.go index 9d9f7b7..79bbd5e 100644 --- a/pkg/actor/mutation_registry_test.go +++ b/pkg/actor/mutation_registry_test.go @@ -6,7 +6,7 @@ import ( "slices" "testing" - cart_messages "git.k6n.net/go-cart-actor/proto/cart" + cart_messages "git.k6n.net/mats/go-cart-actor/proto/cart" ) type cartState struct { diff --git a/pkg/backofficeadmin/app.go b/pkg/backofficeadmin/app.go index add617f..85f82d5 100644 --- a/pkg/backofficeadmin/app.go +++ b/pkg/backofficeadmin/app.go @@ -18,11 +18,11 @@ import ( "os" "time" - actor "git.k6n.net/go-cart-actor/pkg/actor" - "git.k6n.net/go-cart-actor/pkg/cart" - "git.k6n.net/go-cart-actor/pkg/checkout" - "github.com/matst80/go-redis-inventory/pkg/inventory" - "github.com/matst80/slask-finder/pkg/messaging" + actor "git.k6n.net/mats/go-cart-actor/pkg/actor" + "git.k6n.net/mats/go-cart-actor/pkg/cart" + "git.k6n.net/mats/go-cart-actor/pkg/checkout" + "git.k6n.net/mats/go-redis-inventory/pkg/inventory" + "git.k6n.net/mats/slask-finder/pkg/messaging" amqp "github.com/rabbitmq/amqp091-go" "github.com/redis/go-redis/v9" ) diff --git a/pkg/backofficeadmin/fileserver.go b/pkg/backofficeadmin/fileserver.go index e584492..7daceb9 100644 --- a/pkg/backofficeadmin/fileserver.go +++ b/pkg/backofficeadmin/fileserver.go @@ -16,9 +16,9 @@ import ( "strings" "time" - "git.k6n.net/go-cart-actor/pkg/actor" - "git.k6n.net/go-cart-actor/pkg/cart" - "git.k6n.net/go-cart-actor/pkg/checkout" + "git.k6n.net/mats/go-cart-actor/pkg/actor" + "git.k6n.net/mats/go-cart-actor/pkg/cart" + "git.k6n.net/mats/go-cart-actor/pkg/checkout" "google.golang.org/protobuf/proto" ) diff --git a/pkg/backofficeadmin/fileserver_test.go b/pkg/backofficeadmin/fileserver_test.go index 53918bc..2a52f45 100644 --- a/pkg/backofficeadmin/fileserver_test.go +++ b/pkg/backofficeadmin/fileserver_test.go @@ -7,7 +7,7 @@ import ( "testing" "time" - "git.k6n.net/go-cart-actor/pkg/cart" + "git.k6n.net/mats/go-cart-actor/pkg/cart" ) // TestAppendFileInfoRandomProjectFile picks a random existing .go source file in the diff --git a/pkg/cart/cart-grain.go b/pkg/cart/cart-grain.go index b52f4ee..838360f 100644 --- a/pkg/cart/cart-grain.go +++ b/pkg/cart/cart-grain.go @@ -5,8 +5,8 @@ import ( "sync" "time" - "git.k6n.net/go-cart-actor/pkg/voucher" - "github.com/matst80/go-redis-inventory/pkg/inventory" + "git.k6n.net/mats/go-cart-actor/pkg/voucher" + "git.k6n.net/mats/go-redis-inventory/pkg/inventory" ) // Legacy padded [16]byte CartId and its helper methods removed. diff --git a/pkg/cart/cart-mutation-helper.go b/pkg/cart/cart-mutation-helper.go index ff0392e..5f6841e 100644 --- a/pkg/cart/cart-mutation-helper.go +++ b/pkg/cart/cart-mutation-helper.go @@ -4,8 +4,8 @@ import ( "context" "time" - "git.k6n.net/go-cart-actor/pkg/actor" - "github.com/matst80/go-redis-inventory/pkg/inventory" + "git.k6n.net/mats/go-cart-actor/pkg/actor" + "git.k6n.net/mats/go-redis-inventory/pkg/inventory" ) type CartMutationContext struct { diff --git a/pkg/cart/cart_id.go b/pkg/cart/cart_id.go index bb6d8d5..19d28d9 100644 --- a/pkg/cart/cart_id.go +++ b/pkg/cart/cart_id.go @@ -5,7 +5,7 @@ import ( "encoding/json" "fmt" - "git.k6n.net/go-cart-actor/pkg/actor" + "git.k6n.net/mats/go-cart-actor/pkg/actor" ) // cart_id.go diff --git a/pkg/cart/mutation_add_item.go b/pkg/cart/mutation_add_item.go index 4dc76c6..475ef9e 100644 --- a/pkg/cart/mutation_add_item.go +++ b/pkg/cart/mutation_add_item.go @@ -8,7 +8,7 @@ import ( "log" "time" - cart_messages "git.k6n.net/go-cart-actor/proto/cart" + cart_messages "git.k6n.net/mats/go-cart-actor/proto/cart" "google.golang.org/protobuf/types/known/timestamppb" ) diff --git a/pkg/cart/mutation_add_item_test.go b/pkg/cart/mutation_add_item_test.go index 3945747..472c2a1 100644 --- a/pkg/cart/mutation_add_item_test.go +++ b/pkg/cart/mutation_add_item_test.go @@ -5,7 +5,7 @@ import ( "testing" "time" - cart_messages "git.k6n.net/go-cart-actor/proto/cart" + cart_messages "git.k6n.net/mats/go-cart-actor/proto/cart" ) // Item identity is the catalog item id, not the (reference-only) SKU: two adds diff --git a/pkg/cart/mutation_add_voucher.go b/pkg/cart/mutation_add_voucher.go index 2f86772..f9a5e25 100644 --- a/pkg/cart/mutation_add_voucher.go +++ b/pkg/cart/mutation_add_voucher.go @@ -3,8 +3,8 @@ package cart import ( "slices" - "git.k6n.net/go-cart-actor/pkg/actor" - messages "git.k6n.net/go-cart-actor/proto/cart" + "git.k6n.net/mats/go-cart-actor/pkg/actor" + messages "git.k6n.net/mats/go-cart-actor/proto/cart" ) func RemoveVoucher(g *CartGrain, m *messages.RemoveVoucher) error { diff --git a/pkg/cart/mutation_change_quantity.go b/pkg/cart/mutation_change_quantity.go index 892216f..20ca5bd 100644 --- a/pkg/cart/mutation_change_quantity.go +++ b/pkg/cart/mutation_change_quantity.go @@ -6,7 +6,7 @@ import ( "log" "time" - messages "git.k6n.net/go-cart-actor/proto/cart" + messages "git.k6n.net/mats/go-cart-actor/proto/cart" ) // mutation_change_quantity.go diff --git a/pkg/cart/mutation_clear_cart.go b/pkg/cart/mutation_clear_cart.go index 40d4f27..5875cc7 100644 --- a/pkg/cart/mutation_clear_cart.go +++ b/pkg/cart/mutation_clear_cart.go @@ -3,7 +3,7 @@ package cart import ( "fmt" - messages "git.k6n.net/go-cart-actor/proto/cart" + messages "git.k6n.net/mats/go-cart-actor/proto/cart" ) func ClearCart(g *CartGrain, m *messages.ClearCartRequest) error { diff --git a/pkg/cart/mutation_custom_fields_test.go b/pkg/cart/mutation_custom_fields_test.go index 9e1435c..aae56bb 100644 --- a/pkg/cart/mutation_custom_fields_test.go +++ b/pkg/cart/mutation_custom_fields_test.go @@ -5,7 +5,7 @@ import ( "testing" "time" - cart_messages "git.k6n.net/go-cart-actor/proto/cart" + cart_messages "git.k6n.net/mats/go-cart-actor/proto/cart" ) func TestAddItem_StoresCustomFields(t *testing.T) { diff --git a/pkg/cart/mutation_line_item_marking.go b/pkg/cart/mutation_line_item_marking.go index 18b91f0..03831cc 100644 --- a/pkg/cart/mutation_line_item_marking.go +++ b/pkg/cart/mutation_line_item_marking.go @@ -3,7 +3,7 @@ package cart import ( "fmt" - messages "git.k6n.net/go-cart-actor/proto/cart" + messages "git.k6n.net/mats/go-cart-actor/proto/cart" ) func LineItemMarking(grain *CartGrain, req *messages.LineItemMarking) error { diff --git a/pkg/cart/mutation_remove_item.go b/pkg/cart/mutation_remove_item.go index d653cc3..2ee7ba0 100644 --- a/pkg/cart/mutation_remove_item.go +++ b/pkg/cart/mutation_remove_item.go @@ -6,7 +6,7 @@ import ( "log" "time" - messages "git.k6n.net/go-cart-actor/proto/cart" + messages "git.k6n.net/mats/go-cart-actor/proto/cart" ) // mutation_remove_item.go diff --git a/pkg/cart/mutation_remove_item_test.go b/pkg/cart/mutation_remove_item_test.go index 26e2200..a888579 100644 --- a/pkg/cart/mutation_remove_item_test.go +++ b/pkg/cart/mutation_remove_item_test.go @@ -5,8 +5,8 @@ import ( "testing" "time" - "git.k6n.net/go-cart-actor/pkg/actor" - cart_messages "git.k6n.net/go-cart-actor/proto/cart" + "git.k6n.net/mats/go-cart-actor/pkg/actor" + cart_messages "git.k6n.net/mats/go-cart-actor/proto/cart" "google.golang.org/protobuf/proto" ) diff --git a/pkg/cart/mutation_remove_line_item_marking.go b/pkg/cart/mutation_remove_line_item_marking.go index 6cc1db2..68250bc 100644 --- a/pkg/cart/mutation_remove_line_item_marking.go +++ b/pkg/cart/mutation_remove_line_item_marking.go @@ -3,7 +3,7 @@ package cart import ( "fmt" - messages "git.k6n.net/go-cart-actor/proto/cart" + messages "git.k6n.net/mats/go-cart-actor/proto/cart" ) func RemoveLineItemMarking(grain *CartGrain, req *messages.RemoveLineItemMarking) error { diff --git a/pkg/cart/mutation_set_custom_fields.go b/pkg/cart/mutation_set_custom_fields.go index 50006eb..6dcd130 100644 --- a/pkg/cart/mutation_set_custom_fields.go +++ b/pkg/cart/mutation_set_custom_fields.go @@ -3,7 +3,7 @@ package cart import ( "fmt" - messages "git.k6n.net/go-cart-actor/proto/cart" + messages "git.k6n.net/mats/go-cart-actor/proto/cart" ) // SetLineItemCustomFields sets/merges user-supplied custom input fields on an diff --git a/pkg/cart/mutation_set_user_id.go b/pkg/cart/mutation_set_user_id.go index 14014d0..e5a2dfa 100644 --- a/pkg/cart/mutation_set_user_id.go +++ b/pkg/cart/mutation_set_user_id.go @@ -3,7 +3,7 @@ package cart import ( "errors" - messages "git.k6n.net/go-cart-actor/proto/cart" + messages "git.k6n.net/mats/go-cart-actor/proto/cart" ) func SetUserId(grain *CartGrain, req *messages.SetUserId) error { diff --git a/pkg/cart/mutation_subscription_added.go b/pkg/cart/mutation_subscription_added.go index 7a488d2..07f8da7 100644 --- a/pkg/cart/mutation_subscription_added.go +++ b/pkg/cart/mutation_subscription_added.go @@ -3,7 +3,7 @@ package cart import ( "fmt" - messages "git.k6n.net/go-cart-actor/proto/cart" + messages "git.k6n.net/mats/go-cart-actor/proto/cart" ) func SubscriptionAdded(grain *CartGrain, req *messages.SubscriptionAdded) error { diff --git a/pkg/cart/mutation_upsert_subscriptiondetails.go b/pkg/cart/mutation_upsert_subscriptiondetails.go index e59a0ae..c8d3eb8 100644 --- a/pkg/cart/mutation_upsert_subscriptiondetails.go +++ b/pkg/cart/mutation_upsert_subscriptiondetails.go @@ -4,7 +4,7 @@ import ( "encoding/json" "fmt" - messages "git.k6n.net/go-cart-actor/proto/cart" + messages "git.k6n.net/mats/go-cart-actor/proto/cart" ) func UpsertSubscriptionDetails(g *CartGrain, m *messages.UpsertSubscriptionDetails) error { diff --git a/pkg/checkout/checkout-grain.go b/pkg/checkout/checkout-grain.go index f925bda..5d506b8 100644 --- a/pkg/checkout/checkout-grain.go +++ b/pkg/checkout/checkout-grain.go @@ -5,7 +5,7 @@ import ( "sync" "time" - "git.k6n.net/go-cart-actor/pkg/cart" + "git.k6n.net/mats/go-cart-actor/pkg/cart" ) // CheckoutId is the same as CartId for simplicity diff --git a/pkg/checkout/mutation-context.go b/pkg/checkout/mutation-context.go index 2581509..d7e787d 100644 --- a/pkg/checkout/mutation-context.go +++ b/pkg/checkout/mutation-context.go @@ -1,7 +1,7 @@ package checkout import ( - "git.k6n.net/go-cart-actor/pkg/actor" + "git.k6n.net/mats/go-cart-actor/pkg/actor" ) type CheckoutMutationContext struct { diff --git a/pkg/checkout/mutation_cancel_payment.go b/pkg/checkout/mutation_cancel_payment.go index 7be9d62..2c54ff8 100644 --- a/pkg/checkout/mutation_cancel_payment.go +++ b/pkg/checkout/mutation_cancel_payment.go @@ -4,7 +4,7 @@ import ( "errors" "slices" - messages "git.k6n.net/go-cart-actor/proto/checkout" + messages "git.k6n.net/mats/go-cart-actor/proto/checkout" ) func HandlePaymentCancelled(g *CheckoutGrain, m *messages.CancelPayment) error { diff --git a/pkg/checkout/mutation_confirmation_viewed.go b/pkg/checkout/mutation_confirmation_viewed.go index f5b9dbf..d92d6fd 100644 --- a/pkg/checkout/mutation_confirmation_viewed.go +++ b/pkg/checkout/mutation_confirmation_viewed.go @@ -4,7 +4,7 @@ import ( "fmt" "time" - messages "git.k6n.net/go-cart-actor/proto/checkout" + messages "git.k6n.net/mats/go-cart-actor/proto/checkout" ) func HandleConfirmationViewed(g *CheckoutGrain, m *messages.ConfirmationViewed) error { diff --git a/pkg/checkout/mutation_contact_details_updated.go b/pkg/checkout/mutation_contact_details_updated.go index ba3f285..902d300 100644 --- a/pkg/checkout/mutation_contact_details_updated.go +++ b/pkg/checkout/mutation_contact_details_updated.go @@ -3,7 +3,7 @@ package checkout import ( "fmt" - checkout_messages "git.k6n.net/go-cart-actor/proto/checkout" + checkout_messages "git.k6n.net/mats/go-cart-actor/proto/checkout" ) // HandleContactDetailsUpdated mutation diff --git a/pkg/checkout/mutation_contact_details_updated_test.go b/pkg/checkout/mutation_contact_details_updated_test.go index f581bb4..1e75216 100644 --- a/pkg/checkout/mutation_contact_details_updated_test.go +++ b/pkg/checkout/mutation_contact_details_updated_test.go @@ -3,7 +3,7 @@ package checkout import ( "testing" - checkout_messages "git.k6n.net/go-cart-actor/proto/checkout" + checkout_messages "git.k6n.net/mats/go-cart-actor/proto/checkout" ) func TestHandleContactDetailsUpdated(t *testing.T) { diff --git a/pkg/checkout/mutation_delivery.go b/pkg/checkout/mutation_delivery.go index 0eb4e84..1e1af82 100644 --- a/pkg/checkout/mutation_delivery.go +++ b/pkg/checkout/mutation_delivery.go @@ -3,8 +3,8 @@ package checkout import ( "fmt" - "git.k6n.net/go-cart-actor/pkg/cart" - messages "git.k6n.net/go-cart-actor/proto/checkout" + "git.k6n.net/mats/go-cart-actor/pkg/cart" + messages "git.k6n.net/mats/go-cart-actor/proto/checkout" ) func asPickupPoint(p *messages.PickupPoint, deliveryId uint32) *PickupPoint { diff --git a/pkg/checkout/mutation_initialize_checkout.go b/pkg/checkout/mutation_initialize_checkout.go index 4aecc14..b747d48 100644 --- a/pkg/checkout/mutation_initialize_checkout.go +++ b/pkg/checkout/mutation_initialize_checkout.go @@ -4,8 +4,8 @@ import ( "encoding/json" "fmt" - "git.k6n.net/go-cart-actor/pkg/cart" - messages "git.k6n.net/go-cart-actor/proto/checkout" + "git.k6n.net/mats/go-cart-actor/pkg/cart" + messages "git.k6n.net/mats/go-cart-actor/proto/checkout" ) // mutation_initialize_checkout.go diff --git a/pkg/checkout/mutation_inventory_reserved.go b/pkg/checkout/mutation_inventory_reserved.go index 7702681..bb65441 100644 --- a/pkg/checkout/mutation_inventory_reserved.go +++ b/pkg/checkout/mutation_inventory_reserved.go @@ -3,7 +3,7 @@ package checkout import ( "fmt" - messages "git.k6n.net/go-cart-actor/proto/checkout" + messages "git.k6n.net/mats/go-cart-actor/proto/checkout" ) func HandleInventoryReserved(g *CheckoutGrain, m *messages.InventoryReserved) error { diff --git a/pkg/checkout/mutation_order_created.go b/pkg/checkout/mutation_order_created.go index 409483e..092b4b6 100644 --- a/pkg/checkout/mutation_order_created.go +++ b/pkg/checkout/mutation_order_created.go @@ -3,7 +3,7 @@ package checkout import ( "fmt" - messages "git.k6n.net/go-cart-actor/proto/checkout" + messages "git.k6n.net/mats/go-cart-actor/proto/checkout" ) // mutation_order_created.go diff --git a/pkg/checkout/mutation_payment_completed.go b/pkg/checkout/mutation_payment_completed.go index 83207ef..18ab139 100644 --- a/pkg/checkout/mutation_payment_completed.go +++ b/pkg/checkout/mutation_payment_completed.go @@ -4,7 +4,7 @@ import ( "fmt" "time" - messages "git.k6n.net/go-cart-actor/proto/checkout" + messages "git.k6n.net/mats/go-cart-actor/proto/checkout" ) // PaymentCompleted registers the completion of a payment for a checkout. diff --git a/pkg/checkout/mutation_payment_declined.go b/pkg/checkout/mutation_payment_declined.go index 1a23ecf..bb4548e 100644 --- a/pkg/checkout/mutation_payment_declined.go +++ b/pkg/checkout/mutation_payment_declined.go @@ -4,7 +4,7 @@ import ( "errors" "time" - messages "git.k6n.net/go-cart-actor/proto/checkout" + messages "git.k6n.net/mats/go-cart-actor/proto/checkout" ) func asPointer[T any](value T) *T { diff --git a/pkg/checkout/mutation_payment_event.go b/pkg/checkout/mutation_payment_event.go index d68c22e..c211522 100644 --- a/pkg/checkout/mutation_payment_event.go +++ b/pkg/checkout/mutation_payment_event.go @@ -1,7 +1,7 @@ package checkout import ( - messages "git.k6n.net/go-cart-actor/proto/checkout" + messages "git.k6n.net/mats/go-cart-actor/proto/checkout" ) func HandlePaymentEvent(g *CheckoutGrain, m *messages.PaymentEvent) error { diff --git a/pkg/checkout/mutation_payment_event_test.go b/pkg/checkout/mutation_payment_event_test.go index b9bbb4f..2c29af5 100644 --- a/pkg/checkout/mutation_payment_event_test.go +++ b/pkg/checkout/mutation_payment_event_test.go @@ -4,7 +4,7 @@ import ( "encoding/json" "testing" - checkout_messages "git.k6n.net/go-cart-actor/proto/checkout" + checkout_messages "git.k6n.net/mats/go-cart-actor/proto/checkout" "google.golang.org/protobuf/types/known/anypb" ) diff --git a/pkg/checkout/mutation_payment_started.go b/pkg/checkout/mutation_payment_started.go index 0144792..5ac03dd 100644 --- a/pkg/checkout/mutation_payment_started.go +++ b/pkg/checkout/mutation_payment_started.go @@ -6,7 +6,7 @@ import ( "strings" "time" - messages "git.k6n.net/go-cart-actor/proto/checkout" + messages "git.k6n.net/mats/go-cart-actor/proto/checkout" ) // PaymentStarted registers the beginning of a payment attempt for a checkout. diff --git a/pkg/checkout/mutation_remove_delivery.go b/pkg/checkout/mutation_remove_delivery.go index fd1193b..a0b40da 100644 --- a/pkg/checkout/mutation_remove_delivery.go +++ b/pkg/checkout/mutation_remove_delivery.go @@ -3,7 +3,7 @@ package checkout import ( "fmt" - messages "git.k6n.net/go-cart-actor/proto/checkout" + messages "git.k6n.net/mats/go-cart-actor/proto/checkout" ) // mutation_remove_delivery.go diff --git a/pkg/checkout/mutation_set_pickup_point.go b/pkg/checkout/mutation_set_pickup_point.go index 8e1cc08..7d1fc2d 100644 --- a/pkg/checkout/mutation_set_pickup_point.go +++ b/pkg/checkout/mutation_set_pickup_point.go @@ -3,7 +3,7 @@ package checkout import ( "fmt" - messages "git.k6n.net/go-cart-actor/proto/checkout" + messages "git.k6n.net/mats/go-cart-actor/proto/checkout" ) // mutation_set_pickup_point.go diff --git a/pkg/promotions/eval.go b/pkg/promotions/eval.go index 6923b56..2c47d76 100644 --- a/pkg/promotions/eval.go +++ b/pkg/promotions/eval.go @@ -7,7 +7,7 @@ import ( "strings" "time" - "git.k6n.net/go-cart-actor/pkg/cart" + "git.k6n.net/mats/go-cart-actor/pkg/cart" ) var errInvalidTimeFormat = errors.New("invalid time format") diff --git a/pkg/promotions/eval_test.go b/pkg/promotions/eval_test.go index be353f2..cbeafe7 100644 --- a/pkg/promotions/eval_test.go +++ b/pkg/promotions/eval_test.go @@ -6,7 +6,7 @@ import ( "testing" "time" - "git.k6n.net/go-cart-actor/pkg/cart" + "git.k6n.net/mats/go-cart-actor/pkg/cart" ) // --- Helpers --------------------------------------------------------------- diff --git a/pkg/proxy/remotehost.go b/pkg/proxy/remotehost.go index 2b6c925..5a40675 100644 --- a/pkg/proxy/remotehost.go +++ b/pkg/proxy/remotehost.go @@ -11,8 +11,8 @@ import ( "net/http" "time" - "git.k6n.net/go-cart-actor/pkg/actor" - messages "git.k6n.net/go-cart-actor/proto/control" + "git.k6n.net/mats/go-cart-actor/pkg/actor" + messages "git.k6n.net/mats/go-cart-actor/proto/control" "go.opentelemetry.io/contrib/bridges/otelslog" "go.opentelemetry.io/otel" "go.opentelemetry.io/otel/attribute" diff --git a/pkg/voucher/service.go b/pkg/voucher/service.go index 03b599f..58ea8e9 100644 --- a/pkg/voucher/service.go +++ b/pkg/voucher/service.go @@ -6,7 +6,7 @@ import ( "fmt" "os" - messages "git.k6n.net/go-cart-actor/proto/cart" + messages "git.k6n.net/mats/go-cart-actor/proto/cart" ) type Rule struct { diff --git a/proto/cart.proto b/proto/cart.proto index 36ab6de..7613dce 100644 --- a/proto/cart.proto +++ b/proto/cart.proto @@ -1,6 +1,6 @@ syntax = "proto3"; package cart_messages; -option go_package = "git.k6n.net/go-cart-actor/proto/cart;cart_messages"; +option go_package = "git.k6n.net/mats/go-cart-actor/proto/cart;cart_messages"; import "google/protobuf/any.proto"; import "google/protobuf/timestamp.proto"; diff --git a/proto/cart/cart.pb.go b/proto/cart/cart.pb.go index bda2145..b68ae98 100644 --- a/proto/cart/cart.pb.go +++ b/proto/cart/cart.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.11 +// protoc-gen-go v1.36.5 // protoc v7.35.0 // source: cart.proto @@ -1106,111 +1106,196 @@ func (*Mutation_UpsertSubscriptionDetails) isMutation_Type() {} var File_cart_proto protoreflect.FileDescriptor -const file_cart_proto_rawDesc = "" + - "\n" + - "\n" + - "cart.proto\x12\rcart_messages\x1a\x19google/protobuf/any.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x12\n" + - "\x10ClearCartRequest\"\xe0\a\n" + - "\aAddItem\x12\x17\n" + - "\aitem_id\x18\x01 \x01(\rR\x06itemId\x12\x1a\n" + - "\bquantity\x18\x02 \x01(\x05R\bquantity\x12\x14\n" + - "\x05price\x18\x03 \x01(\x03R\x05price\x12\x1a\n" + - "\borgPrice\x18\t \x01(\x03R\borgPrice\x12\x10\n" + - "\x03sku\x18\x04 \x01(\tR\x03sku\x12\x12\n" + - "\x04name\x18\x05 \x01(\tR\x04name\x12\x14\n" + - "\x05image\x18\x06 \x01(\tR\x05image\x12\x14\n" + - "\x05stock\x18\a \x01(\x05R\x05stock\x12\x10\n" + - "\x03tax\x18\b \x01(\x05R\x03tax\x12\x14\n" + - "\x05brand\x18\r \x01(\tR\x05brand\x12\x1a\n" + - "\bcategory\x18\x0e \x01(\tR\bcategory\x12\x1c\n" + - "\tcategory2\x18\x0f \x01(\tR\tcategory2\x12\x1c\n" + - "\tcategory3\x18\x10 \x01(\tR\tcategory3\x12\x1c\n" + - "\tcategory4\x18\x11 \x01(\tR\tcategory4\x12\x1c\n" + - "\tcategory5\x18\x12 \x01(\tR\tcategory5\x12\x1e\n" + - "\n" + - "disclaimer\x18\n" + - " \x01(\tR\n" + - "disclaimer\x12 \n" + - "\varticleType\x18\v \x01(\tR\varticleType\x12\x1a\n" + - "\bsellerId\x18\x13 \x01(\tR\bsellerId\x12\x1e\n" + - "\n" + - "sellerName\x18\x14 \x01(\tR\n" + - "sellerName\x12\x18\n" + - "\acountry\x18\x15 \x01(\tR\acountry\x12\x1e\n" + - "\n" + - "saleStatus\x18\x18 \x01(\tR\n" + - "saleStatus\x12\x1b\n" + - "\x06outlet\x18\f \x01(\tH\x00R\x06outlet\x88\x01\x01\x12\x1d\n" + - "\astoreId\x18\x16 \x01(\tH\x01R\astoreId\x88\x01\x01\x12\x1f\n" + - "\bparentId\x18\x17 \x01(\rH\x02R\bparentId\x88\x01\x01\x12\x10\n" + - "\x03cgm\x18\x19 \x01(\tR\x03cgm\x12O\n" + - "\x12reservationEndTime\x18\x1a \x01(\v2\x1a.google.protobuf.TimestampH\x03R\x12reservationEndTime\x88\x01\x01\x12\x1d\n" + - "\n" + - "extra_json\x18\x1b \x01(\fR\textraJson\x12M\n" + - "\rcustom_fields\x18\x1c \x03(\v2(.cart_messages.AddItem.CustomFieldsEntryR\fcustomFields\x1a?\n" + - "\x11CustomFieldsEntry\x12\x10\n" + - "\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" + - "\x05value\x18\x02 \x01(\tR\x05value:\x028\x01B\t\n" + - "\a_outletB\n" + - "\n" + - "\b_storeIdB\v\n" + - "\t_parentIdB\x15\n" + - "\x13_reservationEndTime\"\x1c\n" + - "\n" + - "RemoveItem\x12\x0e\n" + - "\x02Id\x18\x01 \x01(\rR\x02Id\"<\n" + - "\x0eChangeQuantity\x12\x0e\n" + - "\x02Id\x18\x01 \x01(\rR\x02Id\x12\x1a\n" + - "\bquantity\x18\x02 \x01(\x05R\bquantity\"#\n" + - "\tSetUserId\x12\x16\n" + - "\x06userId\x18\x01 \x01(\tR\x06userId\"O\n" + - "\x0fLineItemMarking\x12\x0e\n" + - "\x02id\x18\x01 \x01(\rR\x02id\x12\x12\n" + - "\x04type\x18\x02 \x01(\rR\x04type\x12\x18\n" + - "\amarking\x18\x03 \x01(\tR\amarking\"'\n" + - "\x15RemoveLineItemMarking\x12\x0e\n" + - "\x02id\x18\x01 \x01(\rR\x02id\"\xc9\x01\n" + - "\x17SetLineItemCustomFields\x12\x0e\n" + - "\x02id\x18\x01 \x01(\rR\x02id\x12]\n" + - "\rcustom_fields\x18\x02 \x03(\v28.cart_messages.SetLineItemCustomFields.CustomFieldsEntryR\fcustomFields\x1a?\n" + - "\x11CustomFieldsEntry\x12\x10\n" + - "\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" + - "\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\"q\n" + - "\x11SubscriptionAdded\x12\x16\n" + - "\x06itemId\x18\x01 \x01(\rR\x06itemId\x12\x1c\n" + - "\tdetailsId\x18\x03 \x01(\tR\tdetailsId\x12&\n" + - "\x0eorderReference\x18\x04 \x01(\tR\x0eorderReference\"|\n" + - "\n" + - "AddVoucher\x12\x12\n" + - "\x04code\x18\x01 \x01(\tR\x04code\x12\x14\n" + - "\x05value\x18\x02 \x01(\x03R\x05value\x12\"\n" + - "\fvoucherRules\x18\x03 \x03(\tR\fvoucherRules\x12 \n" + - "\vdescription\x18\x04 \x01(\tR\vdescription\"\x1f\n" + - "\rRemoveVoucher\x12\x0e\n" + - "\x02id\x18\x01 \x01(\rR\x02id\"\xa7\x01\n" + - "\x19UpsertSubscriptionDetails\x12\x13\n" + - "\x02id\x18\x01 \x01(\tH\x00R\x02id\x88\x01\x01\x12\"\n" + - "\fofferingCode\x18\x02 \x01(\tR\fofferingCode\x12 \n" + - "\vsigningType\x18\x03 \x01(\tR\vsigningType\x12(\n" + - "\x04data\x18\x04 \x01(\v2\x14.google.protobuf.AnyR\x04dataB\x05\n" + - "\x03_id\"\xa8\a\n" + - "\bMutation\x12@\n" + - "\n" + - "clear_cart\x18\x01 \x01(\v2\x1f.cart_messages.ClearCartRequestH\x00R\tclearCart\x123\n" + - "\badd_item\x18\x02 \x01(\v2\x16.cart_messages.AddItemH\x00R\aaddItem\x12<\n" + - "\vremove_item\x18\x03 \x01(\v2\x19.cart_messages.RemoveItemH\x00R\n" + - "removeItem\x12H\n" + - "\x0fchange_quantity\x18\x04 \x01(\v2\x1d.cart_messages.ChangeQuantityH\x00R\x0echangeQuantity\x12:\n" + - "\vset_user_id\x18\x05 \x01(\v2\x18.cart_messages.SetUserIdH\x00R\tsetUserId\x12L\n" + - "\x11line_item_marking\x18\x06 \x01(\v2\x1e.cart_messages.LineItemMarkingH\x00R\x0flineItemMarking\x12_\n" + - "\x18remove_line_item_marking\x18\a \x01(\v2$.cart_messages.RemoveLineItemMarkingH\x00R\x15removeLineItemMarking\x12Q\n" + - "\x12subscription_added\x18\b \x01(\v2 .cart_messages.SubscriptionAddedH\x00R\x11subscriptionAdded\x12f\n" + - "\x1bset_line_item_custom_fields\x18\t \x01(\v2&.cart_messages.SetLineItemCustomFieldsH\x00R\x17setLineItemCustomFields\x12<\n" + - "\vadd_voucher\x18\x14 \x01(\v2\x19.cart_messages.AddVoucherH\x00R\n" + - "addVoucher\x12E\n" + - "\x0eremove_voucher\x18\x15 \x01(\v2\x1c.cart_messages.RemoveVoucherH\x00R\rremoveVoucher\x12j\n" + - "\x1bupsert_subscription_details\x18\x16 \x01(\v2(.cart_messages.UpsertSubscriptionDetailsH\x00R\x19upsertSubscriptionDetailsB\x06\n" + - "\x04typeB4Z2git.k6n.net/go-cart-actor/proto/cart;cart_messagesb\x06proto3" +var file_cart_proto_rawDesc = string([]byte{ + 0x0a, 0x0a, 0x63, 0x61, 0x72, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0d, 0x63, 0x61, + 0x72, 0x74, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x1a, 0x19, 0x67, 0x6f, 0x6f, + 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x6e, 0x79, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, + 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x12, 0x0a, 0x10, 0x43, 0x6c, 0x65, 0x61, 0x72, + 0x43, 0x61, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0xe0, 0x07, 0x0a, 0x07, + 0x41, 0x64, 0x64, 0x49, 0x74, 0x65, 0x6d, 0x12, 0x17, 0x0a, 0x07, 0x69, 0x74, 0x65, 0x6d, 0x5f, + 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x69, 0x74, 0x65, 0x6d, 0x49, 0x64, + 0x12, 0x1a, 0x0a, 0x08, 0x71, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x05, 0x52, 0x08, 0x71, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x14, 0x0a, 0x05, + 0x70, 0x72, 0x69, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x70, 0x72, 0x69, + 0x63, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x6f, 0x72, 0x67, 0x50, 0x72, 0x69, 0x63, 0x65, 0x18, 0x09, + 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x6f, 0x72, 0x67, 0x50, 0x72, 0x69, 0x63, 0x65, 0x12, 0x10, + 0x0a, 0x03, 0x73, 0x6b, 0x75, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x73, 0x6b, 0x75, + 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, + 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x18, 0x06, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x05, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, + 0x6f, 0x63, 0x6b, 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x73, 0x74, 0x6f, 0x63, 0x6b, + 0x12, 0x10, 0x0a, 0x03, 0x74, 0x61, 0x78, 0x18, 0x08, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x74, + 0x61, 0x78, 0x12, 0x14, 0x0a, 0x05, 0x62, 0x72, 0x61, 0x6e, 0x64, 0x18, 0x0d, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x05, 0x62, 0x72, 0x61, 0x6e, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x63, 0x61, 0x74, 0x65, + 0x67, 0x6f, 0x72, 0x79, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x63, 0x61, 0x74, 0x65, + 0x67, 0x6f, 0x72, 0x79, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, + 0x32, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, + 0x79, 0x32, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x33, 0x18, + 0x10, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x33, + 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x34, 0x18, 0x11, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x34, 0x12, 0x1c, + 0x0a, 0x09, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x35, 0x18, 0x12, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x09, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x35, 0x12, 0x1e, 0x0a, 0x0a, + 0x64, 0x69, 0x73, 0x63, 0x6c, 0x61, 0x69, 0x6d, 0x65, 0x72, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x0a, 0x64, 0x69, 0x73, 0x63, 0x6c, 0x61, 0x69, 0x6d, 0x65, 0x72, 0x12, 0x20, 0x0a, 0x0b, + 0x61, 0x72, 0x74, 0x69, 0x63, 0x6c, 0x65, 0x54, 0x79, 0x70, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x0b, 0x61, 0x72, 0x74, 0x69, 0x63, 0x6c, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1a, + 0x0a, 0x08, 0x73, 0x65, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x64, 0x18, 0x13, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x08, 0x73, 0x65, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x73, 0x65, + 0x6c, 0x6c, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x14, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, + 0x73, 0x65, 0x6c, 0x6c, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, + 0x75, 0x6e, 0x74, 0x72, 0x79, 0x18, 0x15, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x75, + 0x6e, 0x74, 0x72, 0x79, 0x12, 0x1e, 0x0a, 0x0a, 0x73, 0x61, 0x6c, 0x65, 0x53, 0x74, 0x61, 0x74, + 0x75, 0x73, 0x18, 0x18, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x61, 0x6c, 0x65, 0x53, 0x74, + 0x61, 0x74, 0x75, 0x73, 0x12, 0x1b, 0x0a, 0x06, 0x6f, 0x75, 0x74, 0x6c, 0x65, 0x74, 0x18, 0x0c, + 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x06, 0x6f, 0x75, 0x74, 0x6c, 0x65, 0x74, 0x88, 0x01, + 0x01, 0x12, 0x1d, 0x0a, 0x07, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x49, 0x64, 0x18, 0x16, 0x20, 0x01, + 0x28, 0x09, 0x48, 0x01, 0x52, 0x07, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x49, 0x64, 0x88, 0x01, 0x01, + 0x12, 0x1f, 0x0a, 0x08, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x18, 0x17, 0x20, 0x01, + 0x28, 0x0d, 0x48, 0x02, 0x52, 0x08, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x88, 0x01, + 0x01, 0x12, 0x10, 0x0a, 0x03, 0x63, 0x67, 0x6d, 0x18, 0x19, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, + 0x63, 0x67, 0x6d, 0x12, 0x4f, 0x0a, 0x12, 0x72, 0x65, 0x73, 0x65, 0x72, 0x76, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x45, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x1a, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, + 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x48, 0x03, 0x52, 0x12, 0x72, + 0x65, 0x73, 0x65, 0x72, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x6e, 0x64, 0x54, 0x69, 0x6d, + 0x65, 0x88, 0x01, 0x01, 0x12, 0x1d, 0x0a, 0x0a, 0x65, 0x78, 0x74, 0x72, 0x61, 0x5f, 0x6a, 0x73, + 0x6f, 0x6e, 0x18, 0x1b, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x65, 0x78, 0x74, 0x72, 0x61, 0x4a, + 0x73, 0x6f, 0x6e, 0x12, 0x4d, 0x0a, 0x0d, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x5f, 0x66, 0x69, + 0x65, 0x6c, 0x64, 0x73, 0x18, 0x1c, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x63, 0x61, 0x72, + 0x74, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x2e, 0x41, 0x64, 0x64, 0x49, 0x74, + 0x65, 0x6d, 0x2e, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x45, + 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0c, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x46, 0x69, 0x65, 0x6c, + 0x64, 0x73, 0x1a, 0x3f, 0x0a, 0x11, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x46, 0x69, 0x65, 0x6c, + 0x64, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, + 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, + 0x02, 0x38, 0x01, 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x6f, 0x75, 0x74, 0x6c, 0x65, 0x74, 0x42, 0x0a, + 0x0a, 0x08, 0x5f, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x49, 0x64, 0x42, 0x0b, 0x0a, 0x09, 0x5f, 0x70, + 0x61, 0x72, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x42, 0x15, 0x0a, 0x13, 0x5f, 0x72, 0x65, 0x73, 0x65, + 0x72, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x22, 0x1c, + 0x0a, 0x0a, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x49, 0x74, 0x65, 0x6d, 0x12, 0x0e, 0x0a, 0x02, + 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x02, 0x49, 0x64, 0x22, 0x3c, 0x0a, 0x0e, + 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x51, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x0e, + 0x0a, 0x02, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x02, 0x49, 0x64, 0x12, 0x1a, + 0x0a, 0x08, 0x71, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, + 0x52, 0x08, 0x71, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x22, 0x23, 0x0a, 0x09, 0x53, 0x65, + 0x74, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, + 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x22, + 0x4f, 0x0a, 0x0f, 0x4c, 0x69, 0x6e, 0x65, 0x49, 0x74, 0x65, 0x6d, 0x4d, 0x61, 0x72, 0x6b, 0x69, + 0x6e, 0x67, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x02, + 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x61, 0x72, 0x6b, 0x69, 0x6e, + 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x61, 0x72, 0x6b, 0x69, 0x6e, 0x67, + 0x22, 0x27, 0x0a, 0x15, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x4c, 0x69, 0x6e, 0x65, 0x49, 0x74, + 0x65, 0x6d, 0x4d, 0x61, 0x72, 0x6b, 0x69, 0x6e, 0x67, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x02, 0x69, 0x64, 0x22, 0xc9, 0x01, 0x0a, 0x17, 0x53, 0x65, + 0x74, 0x4c, 0x69, 0x6e, 0x65, 0x49, 0x74, 0x65, 0x6d, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x46, + 0x69, 0x65, 0x6c, 0x64, 0x73, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x02, 0x69, 0x64, 0x12, 0x5d, 0x0a, 0x0d, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x5f, + 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x38, 0x2e, 0x63, + 0x61, 0x72, 0x74, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x2e, 0x53, 0x65, 0x74, + 0x4c, 0x69, 0x6e, 0x65, 0x49, 0x74, 0x65, 0x6d, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x46, 0x69, + 0x65, 0x6c, 0x64, 0x73, 0x2e, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x46, 0x69, 0x65, 0x6c, 0x64, + 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0c, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x46, 0x69, + 0x65, 0x6c, 0x64, 0x73, 0x1a, 0x3f, 0x0a, 0x11, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x46, 0x69, + 0x65, 0x6c, 0x64, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, + 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, + 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x71, 0x0a, 0x11, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, + 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x64, 0x64, 0x65, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x69, 0x74, + 0x65, 0x6d, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x69, 0x74, 0x65, 0x6d, + 0x49, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x49, 0x64, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x49, 0x64, + 0x12, 0x26, 0x0a, 0x0e, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, + 0x63, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x52, + 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x22, 0x7c, 0x0a, 0x0a, 0x41, 0x64, 0x64, 0x56, + 0x6f, 0x75, 0x63, 0x68, 0x65, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, + 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, + 0x12, 0x22, 0x0a, 0x0c, 0x76, 0x6f, 0x75, 0x63, 0x68, 0x65, 0x72, 0x52, 0x75, 0x6c, 0x65, 0x73, + 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0c, 0x76, 0x6f, 0x75, 0x63, 0x68, 0x65, 0x72, 0x52, + 0x75, 0x6c, 0x65, 0x73, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, + 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, + 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x1f, 0x0a, 0x0d, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, + 0x56, 0x6f, 0x75, 0x63, 0x68, 0x65, 0x72, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x02, 0x69, 0x64, 0x22, 0xa7, 0x01, 0x0a, 0x19, 0x55, 0x70, 0x73, 0x65, + 0x72, 0x74, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x65, + 0x74, 0x61, 0x69, 0x6c, 0x73, 0x12, 0x13, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x48, 0x00, 0x52, 0x02, 0x69, 0x64, 0x88, 0x01, 0x01, 0x12, 0x22, 0x0a, 0x0c, 0x6f, 0x66, + 0x66, 0x65, 0x72, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x0c, 0x6f, 0x66, 0x66, 0x65, 0x72, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x20, + 0x0a, 0x0b, 0x73, 0x69, 0x67, 0x6e, 0x69, 0x6e, 0x67, 0x54, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x0b, 0x73, 0x69, 0x67, 0x6e, 0x69, 0x6e, 0x67, 0x54, 0x79, 0x70, 0x65, + 0x12, 0x28, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, + 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, + 0x2e, 0x41, 0x6e, 0x79, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x42, 0x05, 0x0a, 0x03, 0x5f, 0x69, + 0x64, 0x22, 0xa8, 0x07, 0x0a, 0x08, 0x4d, 0x75, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x40, + 0x0a, 0x0a, 0x63, 0x6c, 0x65, 0x61, 0x72, 0x5f, 0x63, 0x61, 0x72, 0x74, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x63, 0x61, 0x72, 0x74, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, + 0x65, 0x73, 0x2e, 0x43, 0x6c, 0x65, 0x61, 0x72, 0x43, 0x61, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x48, 0x00, 0x52, 0x09, 0x63, 0x6c, 0x65, 0x61, 0x72, 0x43, 0x61, 0x72, 0x74, + 0x12, 0x33, 0x0a, 0x08, 0x61, 0x64, 0x64, 0x5f, 0x69, 0x74, 0x65, 0x6d, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x63, 0x61, 0x72, 0x74, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, + 0x65, 0x73, 0x2e, 0x41, 0x64, 0x64, 0x49, 0x74, 0x65, 0x6d, 0x48, 0x00, 0x52, 0x07, 0x61, 0x64, + 0x64, 0x49, 0x74, 0x65, 0x6d, 0x12, 0x3c, 0x0a, 0x0b, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x5f, + 0x69, 0x74, 0x65, 0x6d, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x61, 0x72, + 0x74, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x76, + 0x65, 0x49, 0x74, 0x65, 0x6d, 0x48, 0x00, 0x52, 0x0a, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x49, + 0x74, 0x65, 0x6d, 0x12, 0x48, 0x0a, 0x0f, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x71, 0x75, + 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x63, + 0x61, 0x72, 0x74, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x2e, 0x43, 0x68, 0x61, + 0x6e, 0x67, 0x65, 0x51, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x48, 0x00, 0x52, 0x0e, 0x63, + 0x68, 0x61, 0x6e, 0x67, 0x65, 0x51, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x3a, 0x0a, + 0x0b, 0x73, 0x65, 0x74, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x63, 0x61, 0x72, 0x74, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, + 0x65, 0x73, 0x2e, 0x53, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x48, 0x00, 0x52, 0x09, + 0x73, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x4c, 0x0a, 0x11, 0x6c, 0x69, 0x6e, + 0x65, 0x5f, 0x69, 0x74, 0x65, 0x6d, 0x5f, 0x6d, 0x61, 0x72, 0x6b, 0x69, 0x6e, 0x67, 0x18, 0x06, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x63, 0x61, 0x72, 0x74, 0x5f, 0x6d, 0x65, 0x73, 0x73, + 0x61, 0x67, 0x65, 0x73, 0x2e, 0x4c, 0x69, 0x6e, 0x65, 0x49, 0x74, 0x65, 0x6d, 0x4d, 0x61, 0x72, + 0x6b, 0x69, 0x6e, 0x67, 0x48, 0x00, 0x52, 0x0f, 0x6c, 0x69, 0x6e, 0x65, 0x49, 0x74, 0x65, 0x6d, + 0x4d, 0x61, 0x72, 0x6b, 0x69, 0x6e, 0x67, 0x12, 0x5f, 0x0a, 0x18, 0x72, 0x65, 0x6d, 0x6f, 0x76, + 0x65, 0x5f, 0x6c, 0x69, 0x6e, 0x65, 0x5f, 0x69, 0x74, 0x65, 0x6d, 0x5f, 0x6d, 0x61, 0x72, 0x6b, + 0x69, 0x6e, 0x67, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x63, 0x61, 0x72, 0x74, + 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, + 0x4c, 0x69, 0x6e, 0x65, 0x49, 0x74, 0x65, 0x6d, 0x4d, 0x61, 0x72, 0x6b, 0x69, 0x6e, 0x67, 0x48, + 0x00, 0x52, 0x15, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x4c, 0x69, 0x6e, 0x65, 0x49, 0x74, 0x65, + 0x6d, 0x4d, 0x61, 0x72, 0x6b, 0x69, 0x6e, 0x67, 0x12, 0x51, 0x0a, 0x12, 0x73, 0x75, 0x62, 0x73, + 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x61, 0x64, 0x64, 0x65, 0x64, 0x18, 0x08, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x63, 0x61, 0x72, 0x74, 0x5f, 0x6d, 0x65, 0x73, 0x73, + 0x61, 0x67, 0x65, 0x73, 0x2e, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, + 0x6e, 0x41, 0x64, 0x64, 0x65, 0x64, 0x48, 0x00, 0x52, 0x11, 0x73, 0x75, 0x62, 0x73, 0x63, 0x72, + 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x64, 0x64, 0x65, 0x64, 0x12, 0x66, 0x0a, 0x1b, 0x73, + 0x65, 0x74, 0x5f, 0x6c, 0x69, 0x6e, 0x65, 0x5f, 0x69, 0x74, 0x65, 0x6d, 0x5f, 0x63, 0x75, 0x73, + 0x74, 0x6f, 0x6d, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x26, 0x2e, 0x63, 0x61, 0x72, 0x74, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, + 0x2e, 0x53, 0x65, 0x74, 0x4c, 0x69, 0x6e, 0x65, 0x49, 0x74, 0x65, 0x6d, 0x43, 0x75, 0x73, 0x74, + 0x6f, 0x6d, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x48, 0x00, 0x52, 0x17, 0x73, 0x65, 0x74, 0x4c, + 0x69, 0x6e, 0x65, 0x49, 0x74, 0x65, 0x6d, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x46, 0x69, 0x65, + 0x6c, 0x64, 0x73, 0x12, 0x3c, 0x0a, 0x0b, 0x61, 0x64, 0x64, 0x5f, 0x76, 0x6f, 0x75, 0x63, 0x68, + 0x65, 0x72, 0x18, 0x14, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x61, 0x72, 0x74, 0x5f, + 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x2e, 0x41, 0x64, 0x64, 0x56, 0x6f, 0x75, 0x63, + 0x68, 0x65, 0x72, 0x48, 0x00, 0x52, 0x0a, 0x61, 0x64, 0x64, 0x56, 0x6f, 0x75, 0x63, 0x68, 0x65, + 0x72, 0x12, 0x45, 0x0a, 0x0e, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x5f, 0x76, 0x6f, 0x75, 0x63, + 0x68, 0x65, 0x72, 0x18, 0x15, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x63, 0x61, 0x72, 0x74, + 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, + 0x56, 0x6f, 0x75, 0x63, 0x68, 0x65, 0x72, 0x48, 0x00, 0x52, 0x0d, 0x72, 0x65, 0x6d, 0x6f, 0x76, + 0x65, 0x56, 0x6f, 0x75, 0x63, 0x68, 0x65, 0x72, 0x12, 0x6a, 0x0a, 0x1b, 0x75, 0x70, 0x73, 0x65, + 0x72, 0x74, 0x5f, 0x73, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x5f, + 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x18, 0x16, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, + 0x63, 0x61, 0x72, 0x74, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x2e, 0x55, 0x70, + 0x73, 0x65, 0x72, 0x74, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, + 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x48, 0x00, 0x52, 0x19, 0x75, 0x70, 0x73, 0x65, 0x72, + 0x74, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x65, 0x74, + 0x61, 0x69, 0x6c, 0x73, 0x42, 0x06, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x42, 0x39, 0x5a, 0x37, + 0x67, 0x69, 0x74, 0x2e, 0x6b, 0x36, 0x6e, 0x2e, 0x6e, 0x65, 0x74, 0x2f, 0x6d, 0x61, 0x74, 0x73, + 0x2f, 0x67, 0x6f, 0x2d, 0x63, 0x61, 0x72, 0x74, 0x2d, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x2f, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x63, 0x61, 0x72, 0x74, 0x3b, 0x63, 0x61, 0x72, 0x74, 0x5f, 0x6d, + 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +}) var ( file_cart_proto_rawDescOnce sync.Once diff --git a/proto/checkout.proto b/proto/checkout.proto index 38bcb34..a2c0c91 100644 --- a/proto/checkout.proto +++ b/proto/checkout.proto @@ -1,6 +1,6 @@ syntax = "proto3"; package checkout_messages; -option go_package = "git.k6n.net/go-cart-actor/proto/checkout;checkout_messages"; +option go_package = "git.k6n.net/mats/go-cart-actor/proto/checkout;checkout_messages"; import "google/protobuf/any.proto"; import "google/protobuf/timestamp.proto"; diff --git a/proto/checkout/checkout.pb.go b/proto/checkout/checkout.pb.go index 0d94592..ac3dd3a 100644 --- a/proto/checkout/checkout.pb.go +++ b/proto/checkout/checkout.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.11 +// protoc-gen-go v1.36.5 // protoc v7.35.0 // source: checkout.proto @@ -1279,125 +1279,239 @@ func (*Mutation_PaymentEvent) isMutation_Type() {} var File_checkout_proto protoreflect.FileDescriptor -const file_checkout_proto_rawDesc = "" + - "\n" + - "\x0echeckout.proto\x12\x11checkout_messages\x1a\x19google/protobuf/any.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x8f\x02\n" + - "\vSetDelivery\x12\x1a\n" + - "\bprovider\x18\x01 \x01(\tR\bprovider\x12\x14\n" + - "\x05items\x18\x02 \x03(\rR\x05items\x12E\n" + - "\vpickupPoint\x18\x03 \x01(\v2\x1e.checkout_messages.PickupPointH\x00R\vpickupPoint\x88\x01\x01\x12\x18\n" + - "\acountry\x18\x04 \x01(\tR\acountry\x12\x10\n" + - "\x03zip\x18\x05 \x01(\tR\x03zip\x12\x1d\n" + - "\aaddress\x18\x06 \x01(\tH\x01R\aaddress\x88\x01\x01\x12\x17\n" + - "\x04city\x18\a \x01(\tH\x02R\x04city\x88\x01\x01B\x0e\n" + - "\f_pickupPointB\n" + - "\n" + - "\b_addressB\a\n" + - "\x05_city\"\xbd\x01\n" + - "\aAddress\x12\"\n" + - "\faddressLine1\x18\x01 \x01(\tR\faddressLine1\x12'\n" + - "\faddressLine2\x18\x02 \x01(\tH\x00R\faddressLine2\x88\x01\x01\x12\x12\n" + - "\x04city\x18\x03 \x01(\tR\x04city\x12\x14\n" + - "\x05state\x18\x04 \x01(\tR\x05state\x12\x10\n" + - "\x03zip\x18\x05 \x01(\tR\x03zip\x12\x18\n" + - "\acountry\x18\x06 \x01(\tR\acountryB\x0f\n" + - "\r_addressLine2\"r\n" + - "\x0eSetPickupPoint\x12\x1e\n" + - "\n" + - "deliveryId\x18\x01 \x01(\rR\n" + - "deliveryId\x12@\n" + - "\vpickupPoint\x18\x02 \x01(\v2\x1e.checkout_messages.PickupPointR\vpickupPoint\"\x86\x01\n" + - "\vPickupPoint\x12\x0e\n" + - "\x02id\x18\x02 \x01(\tR\x02id\x12\x17\n" + - "\x04name\x18\x03 \x01(\tH\x00R\x04name\x88\x01\x01\x129\n" + - "\aaddress\x18\x04 \x01(\v2\x1a.checkout_messages.AddressH\x01R\aaddress\x88\x01\x01B\a\n" + - "\x05_nameB\n" + - "\n" + - "\b_address\" \n" + - "\x0eRemoveDelivery\x12\x0e\n" + - "\x02id\x18\x01 \x01(\rR\x02id\"\xb2\x03\n" + - "\x0ePaymentStarted\x12\x1c\n" + - "\tpaymentId\x18\x01 \x01(\tR\tpaymentId\x12\x16\n" + - "\x06amount\x18\x03 \x01(\x03R\x06amount\x12\x1a\n" + - "\bcurrency\x18\x04 \x01(\tR\bcurrency\x12\x1a\n" + - "\bprovider\x18\x05 \x01(\tR\bprovider\x12G\n" + - "\x0ebillingAddress\x18\t \x01(\v2\x1a.checkout_messages.AddressH\x00R\x0ebillingAddress\x88\x01\x01\x12\x1b\n" + - "\x06method\x18\x06 \x01(\tH\x01R\x06method\x88\x01\x01\x12=\n" + - "\tstartedAt\x18\a \x01(\v2\x1a.google.protobuf.TimestampH\x02R\tstartedAt\x88\x01\x01\x12;\n" + - "\vsessionData\x18\b \x01(\v2\x14.google.protobuf.AnyH\x03R\vsessionData\x88\x01\x01\x12\x14\n" + - "\x05items\x18\x02 \x03(\rR\x05itemsB\x11\n" + - "\x0f_billingAddressB\t\n" + - "\a_methodB\f\n" + - "\n" + - "_startedAtB\x0e\n" + - "\f_sessionData\"\x9b\x02\n" + - "\x10PaymentCompleted\x12\x1c\n" + - "\tpaymentId\x18\x01 \x01(\tR\tpaymentId\x12\x16\n" + - "\x06status\x18\x02 \x01(\tR\x06status\x12\x16\n" + - "\x06amount\x18\x03 \x01(\x03R\x06amount\x12\x1a\n" + - "\bcurrency\x18\x04 \x01(\tR\bcurrency\x123\n" + - "\x12processorReference\x18\x05 \x01(\tH\x00R\x12processorReference\x88\x01\x01\x12A\n" + - "\vcompletedAt\x18\x06 \x01(\v2\x1a.google.protobuf.TimestampH\x01R\vcompletedAt\x88\x01\x01B\x15\n" + - "\x13_processorReferenceB\x0e\n" + - "\f_completedAt\"k\n" + - "\x0fPaymentDeclined\x12\x1c\n" + - "\tpaymentId\x18\x01 \x01(\tR\tpaymentId\x12\x18\n" + - "\amessage\x18\x02 \x01(\tR\amessage\x12\x17\n" + - "\x04code\x18\x03 \x01(\tH\x00R\x04code\x88\x01\x01B\a\n" + - "\x05_code\"\x84\x01\n" + - "\fPaymentEvent\x12\x1c\n" + - "\tpaymentId\x18\x01 \x01(\tR\tpaymentId\x12\x12\n" + - "\x04name\x18\x02 \x01(\tR\x04name\x12\x18\n" + - "\asuccess\x18\x03 \x01(\bR\asuccess\x12(\n" + - "\x04data\x18\x04 \x01(\v2\x14.google.protobuf.AnyR\x04data\"L\n" + - "\x12ConfirmationViewed\x126\n" + - "\bviewedAt\x18\x01 \x01(\v2\x1a.google.protobuf.TimestampR\bviewedAt\"z\n" + - "\fOrderCreated\x12\x18\n" + - "\aorderId\x18\x01 \x01(\tR\aorderId\x12\x16\n" + - "\x06status\x18\x02 \x01(\tR\x06status\x128\n" + - "\tcreatedAt\x18\x03 \x01(\v2\x1a.google.protobuf.TimestampR\tcreatedAt\"\x94\x01\n" + - "\x12InitializeCheckout\x12\x18\n" + - "\aorderId\x18\x01 \x01(\tR\aorderId\x12\x16\n" + - "\x06cartId\x18\x02 \x01(\x04R\x06cartId\x12\x18\n" + - "\aversion\x18\x03 \x01(\rR\aversion\x122\n" + - "\tcartState\x18\x04 \x01(\v2\x14.google.protobuf.AnyR\tcartState\"\xb7\x01\n" + - "\x15ContactDetailsUpdated\x12\x19\n" + - "\x05email\x18\x01 \x01(\tH\x00R\x05email\x88\x01\x01\x12#\n" + - "\n" + - "postalCode\x18\x04 \x01(\tH\x01R\n" + - "postalCode\x88\x01\x01\x12\x19\n" + - "\x05phone\x18\x02 \x01(\tH\x02R\x05phone\x88\x01\x01\x12\x17\n" + - "\x04name\x18\x03 \x01(\tH\x03R\x04name\x88\x01\x01B\b\n" + - "\x06_emailB\r\n" + - "\v_postalCodeB\b\n" + - "\x06_phoneB\a\n" + - "\x05_name\"\x93\x01\n" + - "\rCancelPayment\x12\x1c\n" + - "\tpaymentId\x18\x01 \x01(\tR\tpaymentId\x12\x1b\n" + - "\x06reason\x18\x02 \x01(\tH\x00R\x06reason\x88\x01\x01\x12<\n" + - "\vcancelledAt\x18\x03 \x01(\v2\x1a.google.protobuf.TimestampR\vcancelledAtB\t\n" + - "\a_reason\"f\n" + - "\x11InventoryReserved\x12\x0e\n" + - "\x02id\x18\x01 \x01(\tR\x02id\x12\x16\n" + - "\x06status\x18\x02 \x01(\tR\x06status\x12\x1d\n" + - "\amessage\x18\x03 \x01(\tH\x00R\amessage\x88\x01\x01B\n" + - "\n" + - "\b_message\"\xe6\a\n" + - "\bMutation\x12C\n" + - "\fset_delivery\x18\x01 \x01(\v2\x1e.checkout_messages.SetDeliveryH\x00R\vsetDelivery\x12M\n" + - "\x10set_pickup_point\x18\x02 \x01(\v2!.checkout_messages.SetPickupPointH\x00R\x0esetPickupPoint\x12L\n" + - "\x0fremove_delivery\x18\x03 \x01(\v2!.checkout_messages.RemoveDeliveryH\x00R\x0eremoveDelivery\x12O\n" + - "\x10payment_declined\x18\x04 \x01(\v2\".checkout_messages.PaymentDeclinedH\x00R\x0fpaymentDeclined\x12X\n" + - "\x13confirmation_viewed\x18\x05 \x01(\v2%.checkout_messages.ConfirmationViewedH\x00R\x12confirmationViewed\x12b\n" + - "\x17contact_details_updated\x18\x06 \x01(\v2(.checkout_messages.ContactDetailsUpdatedH\x00R\x15contactDetailsUpdated\x12F\n" + - "\rorder_created\x18\a \x01(\v2\x1f.checkout_messages.OrderCreatedH\x00R\forderCreated\x12X\n" + - "\x13initialize_checkout\x18\t \x01(\v2%.checkout_messages.InitializeCheckoutH\x00R\x12initializeCheckout\x12U\n" + - "\x12inventory_reserved\x18\n" + - " \x01(\v2$.checkout_messages.InventoryReservedH\x00R\x11inventoryReserved\x12L\n" + - "\x0fpayment_started\x18\v \x01(\v2!.checkout_messages.PaymentStartedH\x00R\x0epaymentStarted\x12R\n" + - "\x11payment_completed\x18\f \x01(\v2#.checkout_messages.PaymentCompletedH\x00R\x10paymentCompleted\x12F\n" + - "\rpayment_event\x18\r \x01(\v2\x1f.checkout_messages.PaymentEventH\x00R\fpaymentEventB\x06\n" + - "\x04typeBgit.k6n.net/go-cart-actor/proto/control;control_plane_messagesb\x06proto3" +var file_control_plane_proto_rawDesc = string([]byte{ + 0x0a, 0x13, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x5f, 0x70, 0x6c, 0x61, 0x6e, 0x65, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x16, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x5f, 0x70, + 0x6c, 0x61, 0x6e, 0x65, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x1a, 0x19, 0x67, + 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x61, + 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x07, 0x0a, 0x05, 0x45, 0x6d, 0x70, 0x74, + 0x79, 0x22, 0x3c, 0x0a, 0x09, 0x50, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x12, + 0x0a, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x68, 0x6f, + 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x75, 0x6e, 0x69, 0x78, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x75, 0x6e, 0x69, 0x78, 0x54, 0x69, 0x6d, 0x65, 0x22, + 0x33, 0x0a, 0x10, 0x4e, 0x65, 0x67, 0x6f, 0x74, 0x69, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x6b, 0x6e, 0x6f, 0x77, 0x6e, 0x5f, 0x68, 0x6f, 0x73, + 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0a, 0x6b, 0x6e, 0x6f, 0x77, 0x6e, 0x48, + 0x6f, 0x73, 0x74, 0x73, 0x22, 0x26, 0x0a, 0x0e, 0x4e, 0x65, 0x67, 0x6f, 0x74, 0x69, 0x61, 0x74, + 0x65, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x68, 0x6f, 0x73, 0x74, 0x73, 0x18, + 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, 0x68, 0x6f, 0x73, 0x74, 0x73, 0x22, 0x21, 0x0a, 0x0d, + 0x41, 0x63, 0x74, 0x6f, 0x72, 0x49, 0x64, 0x73, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x10, 0x0a, + 0x03, 0x69, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x04, 0x52, 0x03, 0x69, 0x64, 0x73, 0x22, + 0x46, 0x0a, 0x0e, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x41, 0x63, + 0x6b, 0x12, 0x1a, 0x0a, 0x08, 0x61, 0x63, 0x63, 0x65, 0x70, 0x74, 0x65, 0x64, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x08, 0x52, 0x08, 0x61, 0x63, 0x63, 0x65, 0x70, 0x74, 0x65, 0x64, 0x12, 0x18, 0x0a, + 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, + 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x23, 0x0a, 0x0d, 0x43, 0x6c, 0x6f, 0x73, 0x69, + 0x6e, 0x67, 0x4e, 0x6f, 0x74, 0x69, 0x63, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x68, 0x6f, 0x73, 0x74, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x22, 0x39, 0x0a, 0x11, + 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x73, 0x68, 0x69, 0x70, 0x41, 0x6e, 0x6e, 0x6f, 0x75, 0x6e, 0x63, + 0x65, 0x12, 0x12, 0x0a, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x04, 0x68, 0x6f, 0x73, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x69, 0x64, 0x73, 0x18, 0x02, 0x20, 0x03, + 0x28, 0x04, 0x52, 0x03, 0x69, 0x64, 0x73, 0x22, 0x36, 0x0a, 0x0e, 0x45, 0x78, 0x70, 0x69, 0x72, + 0x79, 0x41, 0x6e, 0x6e, 0x6f, 0x75, 0x6e, 0x63, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x68, 0x6f, 0x73, + 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x12, 0x10, 0x0a, + 0x03, 0x69, 0x64, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x04, 0x52, 0x03, 0x69, 0x64, 0x73, 0x22, + 0x50, 0x0a, 0x0c, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, + 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x02, 0x69, 0x64, 0x12, + 0x30, 0x0a, 0x08, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x75, 0x66, 0x2e, 0x41, 0x6e, 0x79, 0x52, 0x08, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, + 0x73, 0x22, 0x1c, 0x0a, 0x0a, 0x47, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, + 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x02, 0x69, 0x64, 0x22, + 0x36, 0x0a, 0x08, 0x47, 0x65, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x2a, 0x0a, 0x05, 0x67, + 0x72, 0x61, 0x69, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x6f, 0x6f, + 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x41, 0x6e, 0x79, + 0x52, 0x05, 0x67, 0x72, 0x61, 0x69, 0x6e, 0x22, 0x79, 0x0a, 0x0e, 0x4d, 0x75, 0x74, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, + 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x2e, 0x0a, + 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, + 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, + 0x2e, 0x41, 0x6e, 0x79, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x19, 0x0a, + 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x05, + 0x65, 0x72, 0x72, 0x6f, 0x72, 0x88, 0x01, 0x01, 0x42, 0x08, 0x0a, 0x06, 0x5f, 0x65, 0x72, 0x72, + 0x6f, 0x72, 0x22, 0x7f, 0x0a, 0x0b, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x52, 0x65, 0x73, 0x75, 0x6c, + 0x74, 0x12, 0x2a, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x14, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x75, 0x66, 0x2e, 0x41, 0x6e, 0x79, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x44, 0x0a, + 0x09, 0x6d, 0x75, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x26, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x5f, 0x70, 0x6c, 0x61, 0x6e, 0x65, + 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x2e, 0x4d, 0x75, 0x74, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x09, 0x6d, 0x75, 0x74, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x73, 0x32, 0xd6, 0x05, 0x0a, 0x0c, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x50, + 0x6c, 0x61, 0x6e, 0x65, 0x12, 0x48, 0x0a, 0x04, 0x50, 0x69, 0x6e, 0x67, 0x12, 0x1d, 0x2e, 0x63, + 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x5f, 0x70, 0x6c, 0x61, 0x6e, 0x65, 0x5f, 0x6d, 0x65, 0x73, + 0x73, 0x61, 0x67, 0x65, 0x73, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x21, 0x2e, 0x63, 0x6f, + 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x5f, 0x70, 0x6c, 0x61, 0x6e, 0x65, 0x5f, 0x6d, 0x65, 0x73, 0x73, + 0x61, 0x67, 0x65, 0x73, 0x2e, 0x50, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x5d, + 0x0a, 0x09, 0x4e, 0x65, 0x67, 0x6f, 0x74, 0x69, 0x61, 0x74, 0x65, 0x12, 0x28, 0x2e, 0x63, 0x6f, + 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x5f, 0x70, 0x6c, 0x61, 0x6e, 0x65, 0x5f, 0x6d, 0x65, 0x73, 0x73, + 0x61, 0x67, 0x65, 0x73, 0x2e, 0x4e, 0x65, 0x67, 0x6f, 0x74, 0x69, 0x61, 0x74, 0x65, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x26, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x5f, + 0x70, 0x6c, 0x61, 0x6e, 0x65, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x2e, 0x4e, + 0x65, 0x67, 0x6f, 0x74, 0x69, 0x61, 0x74, 0x65, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x58, 0x0a, + 0x10, 0x47, 0x65, 0x74, 0x4c, 0x6f, 0x63, 0x61, 0x6c, 0x41, 0x63, 0x74, 0x6f, 0x72, 0x49, 0x64, + 0x73, 0x12, 0x1d, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x5f, 0x70, 0x6c, 0x61, 0x6e, + 0x65, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, + 0x1a, 0x25, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x5f, 0x70, 0x6c, 0x61, 0x6e, 0x65, + 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x2e, 0x41, 0x63, 0x74, 0x6f, 0x72, 0x49, + 0x64, 0x73, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x66, 0x0a, 0x11, 0x41, 0x6e, 0x6e, 0x6f, 0x75, + 0x6e, 0x63, 0x65, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x73, 0x68, 0x69, 0x70, 0x12, 0x29, 0x2e, 0x63, + 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x5f, 0x70, 0x6c, 0x61, 0x6e, 0x65, 0x5f, 0x6d, 0x65, 0x73, + 0x73, 0x61, 0x67, 0x65, 0x73, 0x2e, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x73, 0x68, 0x69, 0x70, 0x41, + 0x6e, 0x6e, 0x6f, 0x75, 0x6e, 0x63, 0x65, 0x1a, 0x26, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, + 0x6c, 0x5f, 0x70, 0x6c, 0x61, 0x6e, 0x65, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, + 0x2e, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x41, 0x63, 0x6b, 0x12, + 0x52, 0x0a, 0x05, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x12, 0x24, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, + 0x6f, 0x6c, 0x5f, 0x70, 0x6c, 0x61, 0x6e, 0x65, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, + 0x73, 0x2e, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, + 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x5f, 0x70, 0x6c, 0x61, 0x6e, 0x65, 0x5f, 0x6d, + 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x2e, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x52, 0x65, 0x73, + 0x75, 0x6c, 0x74, 0x12, 0x60, 0x0a, 0x0e, 0x41, 0x6e, 0x6e, 0x6f, 0x75, 0x6e, 0x63, 0x65, 0x45, + 0x78, 0x70, 0x69, 0x72, 0x79, 0x12, 0x26, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x5f, + 0x70, 0x6c, 0x61, 0x6e, 0x65, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x2e, 0x45, + 0x78, 0x70, 0x69, 0x72, 0x79, 0x41, 0x6e, 0x6e, 0x6f, 0x75, 0x6e, 0x63, 0x65, 0x1a, 0x26, 0x2e, + 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x5f, 0x70, 0x6c, 0x61, 0x6e, 0x65, 0x5f, 0x6d, 0x65, + 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x2e, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x43, 0x68, 0x61, 0x6e, + 0x67, 0x65, 0x41, 0x63, 0x6b, 0x12, 0x58, 0x0a, 0x07, 0x43, 0x6c, 0x6f, 0x73, 0x69, 0x6e, 0x67, + 0x12, 0x25, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x5f, 0x70, 0x6c, 0x61, 0x6e, 0x65, + 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x2e, 0x43, 0x6c, 0x6f, 0x73, 0x69, 0x6e, + 0x67, 0x4e, 0x6f, 0x74, 0x69, 0x63, 0x65, 0x1a, 0x26, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, + 0x6c, 0x5f, 0x70, 0x6c, 0x61, 0x6e, 0x65, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, + 0x2e, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x41, 0x63, 0x6b, 0x12, + 0x4b, 0x0a, 0x03, 0x47, 0x65, 0x74, 0x12, 0x22, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, + 0x5f, 0x70, 0x6c, 0x61, 0x6e, 0x65, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x2e, + 0x47, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x63, 0x6f, 0x6e, + 0x74, 0x72, 0x6f, 0x6c, 0x5f, 0x70, 0x6c, 0x61, 0x6e, 0x65, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, + 0x67, 0x65, 0x73, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x42, 0x45, 0x5a, 0x43, + 0x67, 0x69, 0x74, 0x2e, 0x6b, 0x36, 0x6e, 0x2e, 0x6e, 0x65, 0x74, 0x2f, 0x6d, 0x61, 0x74, 0x73, + 0x2f, 0x67, 0x6f, 0x2d, 0x63, 0x61, 0x72, 0x74, 0x2d, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x2f, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x3b, 0x63, 0x6f, 0x6e, + 0x74, 0x72, 0x6f, 0x6c, 0x5f, 0x70, 0x6c, 0x61, 0x6e, 0x65, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, + 0x67, 0x65, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +}) var ( file_control_plane_proto_rawDescOnce sync.Once diff --git a/proto/control/control_plane_grpc.pb.go b/proto/control/control_plane_grpc.pb.go index d961876..c6eb1dc 100644 --- a/proto/control/control_plane_grpc.pb.go +++ b/proto/control/control_plane_grpc.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go-grpc. DO NOT EDIT. // versions: -// - protoc-gen-go-grpc v1.6.2 +// - protoc-gen-go-grpc v1.5.1 // - protoc v7.35.0 // source: control_plane.proto @@ -170,28 +170,28 @@ type ControlPlaneServer interface { type UnimplementedControlPlaneServer struct{} func (UnimplementedControlPlaneServer) Ping(context.Context, *Empty) (*PingReply, error) { - return nil, status.Error(codes.Unimplemented, "method Ping not implemented") + return nil, status.Errorf(codes.Unimplemented, "method Ping not implemented") } func (UnimplementedControlPlaneServer) Negotiate(context.Context, *NegotiateRequest) (*NegotiateReply, error) { - return nil, status.Error(codes.Unimplemented, "method Negotiate not implemented") + return nil, status.Errorf(codes.Unimplemented, "method Negotiate not implemented") } func (UnimplementedControlPlaneServer) GetLocalActorIds(context.Context, *Empty) (*ActorIdsReply, error) { - return nil, status.Error(codes.Unimplemented, "method GetLocalActorIds not implemented") + return nil, status.Errorf(codes.Unimplemented, "method GetLocalActorIds not implemented") } func (UnimplementedControlPlaneServer) AnnounceOwnership(context.Context, *OwnershipAnnounce) (*OwnerChangeAck, error) { - return nil, status.Error(codes.Unimplemented, "method AnnounceOwnership not implemented") + return nil, status.Errorf(codes.Unimplemented, "method AnnounceOwnership not implemented") } func (UnimplementedControlPlaneServer) Apply(context.Context, *ApplyRequest) (*ApplyResult, error) { - return nil, status.Error(codes.Unimplemented, "method Apply not implemented") + return nil, status.Errorf(codes.Unimplemented, "method Apply not implemented") } func (UnimplementedControlPlaneServer) AnnounceExpiry(context.Context, *ExpiryAnnounce) (*OwnerChangeAck, error) { - return nil, status.Error(codes.Unimplemented, "method AnnounceExpiry not implemented") + return nil, status.Errorf(codes.Unimplemented, "method AnnounceExpiry not implemented") } func (UnimplementedControlPlaneServer) Closing(context.Context, *ClosingNotice) (*OwnerChangeAck, error) { - return nil, status.Error(codes.Unimplemented, "method Closing not implemented") + return nil, status.Errorf(codes.Unimplemented, "method Closing not implemented") } func (UnimplementedControlPlaneServer) Get(context.Context, *GetRequest) (*GetReply, error) { - return nil, status.Error(codes.Unimplemented, "method Get not implemented") + return nil, status.Errorf(codes.Unimplemented, "method Get not implemented") } func (UnimplementedControlPlaneServer) mustEmbedUnimplementedControlPlaneServer() {} func (UnimplementedControlPlaneServer) testEmbeddedByValue() {} @@ -204,7 +204,7 @@ type UnsafeControlPlaneServer interface { } func RegisterControlPlaneServer(s grpc.ServiceRegistrar, srv ControlPlaneServer) { - // If the following call panics, it indicates UnimplementedControlPlaneServer was + // If the following call pancis, it indicates UnimplementedControlPlaneServer was // embedded by pointer and is nil. This will cause panics if an // unimplemented method is ever invoked, so we test this at initialization // time to prevent it from happening at runtime later due to I/O. diff --git a/proto/control_plane.proto b/proto/control_plane.proto index 9f4b444..31af1e1 100644 --- a/proto/control_plane.proto +++ b/proto/control_plane.proto @@ -2,7 +2,7 @@ syntax = "proto3"; package control_plane_messages; -option go_package = "git.k6n.net/go-cart-actor/proto/control;control_plane_messages"; +option go_package = "git.k6n.net/mats/go-cart-actor/proto/control;control_plane_messages"; import "google/protobuf/any.proto";