kinetix-contracts 1.2.0 → 1.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/common/v1/common_pb.rb +2 -1
- data/fulfillment/v1/delivery_evidence_pb.rb +22 -0
- data/fulfillment/v1/delivery_evidence_services_pb.rb +24 -0
- data/order/v1/lifecycle_pb.rb +25 -0
- data/order/v1/lifecycle_services_pb.rb +24 -0
- data/review/v1/review_pb.rb +23 -0
- data/review/v1/review_services_pb.rb +24 -0
- metadata +8 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ef84488fb6869889b39569037dda15db1c27098118be0ddbb722753ebbc20cd4
|
|
4
|
+
data.tar.gz: 392d5cd8653bbbb00a0915ba544ece95c2a4053df41e55a37d14c67b38dd9cac
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 196b88a6c7e94d316d5b5a03c6a6de0b359012344366cbecc6d18a3356f6b24b6bf94cec0951934dc196c7ef5d0c513d25d77b6ad181224067bd6cd0a0c6192c
|
|
7
|
+
data.tar.gz: 4377b76b3dc31e87086e6da0918e47054a30eeefb92b7086827e82ada993a433823510d0df3f66f793f37e1203af5b58c44565c826319286f0ec372a1dcd50c7
|
data/common/v1/common_pb.rb
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
require 'google/protobuf'
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
descriptor_data = "\n\x16\x63ommon/v1/common.proto\x12\tcommon.v1\"F\n\x05Money\x12!\n\x0c\x61mount_minor\x18\x01 \x01(\x03R\x0b\x61mountMinor\x12\x1a\n\x08\x63urrency\x18\x02 \x01(\tR\x08\x63urrency\"D\n\x08GeoPoint\x12\x1a\n\x08latitude\x18\x01 \x01(\x01R\x08latitude\x12\x1c\n\tlongitude\x18\x02 \x01(\x01R\tlongitude\"\xe0\x01\n\x07\x41\x64\x64ress\x12%\n\x0erecipient_name\x18\x01 \x01(\tR\rrecipientName\x12!\n\x0cphone_number\x18\x02 \x01(\tR\x0bphoneNumber\x12%\n\x0estreet_address\x18\x03 \x01(\tR\rstreetAddress\x12\x12\n\x04\x63ity\x18\x04 \x01(\tR\x04\x63ity\x12\x1f\n\x0bpostal_code\x18\x05 \x01(\tR\npostalCode\x12/\n\x08location\x18\x06 \x01(\x0b\x32\x13.common.v1.GeoPointR\x08location\"\xb0\x01\n\tOrderItem\x12\x10\n\x03sku\x18\x01 \x01(\tR\x03sku\x12!\n\x0cproduct_name\x18\x02 \x01(\tR\x0bproductName\x12\x1a\n\x08quantity\x18\x03 \x01(\x05R\x08quantity\x12/\n\nunit_price\x18\x04 \x01(\x0b\x32\x10.common.v1.MoneyR\tunitPrice\x12!\n\x0c\x62in_location\x18\x05 \x01(\tR\x0b\x62inLocation\"q\n\x0b\x45rrorDetail\x12\x1d\n\nerror_code\x18\x01 \x01(\tR\terrorCode\x12\x18\n\x07message\x18\x02 \x01(\tR\x07message\x12)\n\x10\x66ield_violations\x18\x03 \x03(\tR\x0f\x66ieldViolations\"\"\n\x0eIdempotencyKey\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key*\xf6\x02\n\x0bOrderStatus\x12\x1c\n\x18ORDER_STATUS_UNSPECIFIED\x10\x00\x12 \n\x1cORDER_STATUS_PENDING_PAYMENT\x10\x01\x12\x15\n\x11ORDER_STATUS_PAID\x10\x02\x12\x19\n\x15ORDER_STATUS_RECEIVED\x10\x03\x12\x18\n\x14ORDER_STATUS_PACKING\x10\x04\x12\x17\n\x13ORDER_STATUS_PACKED\x10\x05\x12\x19\n\x15ORDER_STATUS_ASSIGNED\x10\x06\x12\x1b\n\x17ORDER_STATUS_DISPATCHED\x10\x07\x12\x1b\n\x17ORDER_STATUS_IN_TRANSIT\x10\x08\x12\x1a\n\x16ORDER_STATUS_DELIVERED\x10\t\x12\x1a\n\x16ORDER_STATUS_COMPLETED\x10\n\x12\x1a\n\x16ORDER_STATUS_CANCELLED\x10\x0b\x12\x19\n\x15ORDER_STATUS_REFUNDED\x10\x0c*\xeb\x01\n\rCourierStatus\x12\x1e\n\x1a\x43OURIER_STATUS_UNSPECIFIED\x10\x00\x12\x17\n\x13\x43OURIER_STATUS_IDLE\x10\x01\x12\x1b\n\x17\x43OURIER_STATUS_ASSIGNED\x10\x02\x12\"\n\x1e\x43OURIER_STATUS_EN_ROUTE_PICKUP\x10\x03\x12\x1c\n\x18\x43OURIER_STATUS_PICKED_UP\x10\x04\x12$\n COURIER_STATUS_EN_ROUTE_DELIVERY\x10\x05\x12\x1c\n\x18\x43OURIER_STATUS_COMPLETED\x10\x06*\xf0\x01\n\x0cReturnStatus\x12\x1d\n\x19RETURN_STATUS_UNSPECIFIED\x10\x00\x12\x1b\n\x17RETURN_STATUS_REQUESTED\x10\x01\x12&\n\"RETURN_STATUS_PICKED_UP_FROM_BUYER\x10\x02\x12\'\n#RETURN_STATUS_RECEIVED_AT_WAREHOUSE\x10\x03\x12\x1b\n\x17RETURN_STATUS_INSPECTED\x10\x04\x12\x1a\n\x16RETURN_STATUS_RESOLVED\x10\x05\x12\x1a\n\x16RETURN_STATUS_REJECTED\x10\x06\x42\xcc\x01\n\x1f\x63om.kinetix.contracts.common.v1B\x0b\x43ommonProtoP\x01ZEgithub.com/WildanFrananda/kinetix-contracts/gen/go/common/v1;commonv1\xa2\x02\x03KNX\xaa\x02\x1bKinetix.Contracts.Common.V1\xca\x02\tCommon\\V1\xe2\x02\x15\x43ommon\\V1\\GPBMetadata\xea\x02\nCommon::V1b\x06proto3"
|
|
8
|
+
descriptor_data = "\n\x16\x63ommon/v1/common.proto\x12\tcommon.v1\"F\n\x05Money\x12!\n\x0c\x61mount_minor\x18\x01 \x01(\x03R\x0b\x61mountMinor\x12\x1a\n\x08\x63urrency\x18\x02 \x01(\tR\x08\x63urrency\"D\n\x08GeoPoint\x12\x1a\n\x08latitude\x18\x01 \x01(\x01R\x08latitude\x12\x1c\n\tlongitude\x18\x02 \x01(\x01R\tlongitude\"\xe0\x01\n\x07\x41\x64\x64ress\x12%\n\x0erecipient_name\x18\x01 \x01(\tR\rrecipientName\x12!\n\x0cphone_number\x18\x02 \x01(\tR\x0bphoneNumber\x12%\n\x0estreet_address\x18\x03 \x01(\tR\rstreetAddress\x12\x12\n\x04\x63ity\x18\x04 \x01(\tR\x04\x63ity\x12\x1f\n\x0bpostal_code\x18\x05 \x01(\tR\npostalCode\x12/\n\x08location\x18\x06 \x01(\x0b\x32\x13.common.v1.GeoPointR\x08location\"\xb0\x01\n\tOrderItem\x12\x10\n\x03sku\x18\x01 \x01(\tR\x03sku\x12!\n\x0cproduct_name\x18\x02 \x01(\tR\x0bproductName\x12\x1a\n\x08quantity\x18\x03 \x01(\x05R\x08quantity\x12/\n\nunit_price\x18\x04 \x01(\x0b\x32\x10.common.v1.MoneyR\tunitPrice\x12!\n\x0c\x62in_location\x18\x05 \x01(\tR\x0b\x62inLocation\"q\n\x0b\x45rrorDetail\x12\x1d\n\nerror_code\x18\x01 \x01(\tR\terrorCode\x12\x18\n\x07message\x18\x02 \x01(\tR\x07message\x12)\n\x10\x66ield_violations\x18\x03 \x03(\tR\x0f\x66ieldViolations\"\"\n\x0eIdempotencyKey\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\"N\n\tLogCursor\x12%\n\x0etransaction_id\x18\x01 \x01(\x04R\rtransactionId\x12\x1a\n\x08sequence\x18\x02 \x01(\x04R\x08sequence*\xf6\x02\n\x0bOrderStatus\x12\x1c\n\x18ORDER_STATUS_UNSPECIFIED\x10\x00\x12 \n\x1cORDER_STATUS_PENDING_PAYMENT\x10\x01\x12\x15\n\x11ORDER_STATUS_PAID\x10\x02\x12\x19\n\x15ORDER_STATUS_RECEIVED\x10\x03\x12\x18\n\x14ORDER_STATUS_PACKING\x10\x04\x12\x17\n\x13ORDER_STATUS_PACKED\x10\x05\x12\x19\n\x15ORDER_STATUS_ASSIGNED\x10\x06\x12\x1b\n\x17ORDER_STATUS_DISPATCHED\x10\x07\x12\x1b\n\x17ORDER_STATUS_IN_TRANSIT\x10\x08\x12\x1a\n\x16ORDER_STATUS_DELIVERED\x10\t\x12\x1a\n\x16ORDER_STATUS_COMPLETED\x10\n\x12\x1a\n\x16ORDER_STATUS_CANCELLED\x10\x0b\x12\x19\n\x15ORDER_STATUS_REFUNDED\x10\x0c*\xeb\x01\n\rCourierStatus\x12\x1e\n\x1a\x43OURIER_STATUS_UNSPECIFIED\x10\x00\x12\x17\n\x13\x43OURIER_STATUS_IDLE\x10\x01\x12\x1b\n\x17\x43OURIER_STATUS_ASSIGNED\x10\x02\x12\"\n\x1e\x43OURIER_STATUS_EN_ROUTE_PICKUP\x10\x03\x12\x1c\n\x18\x43OURIER_STATUS_PICKED_UP\x10\x04\x12$\n COURIER_STATUS_EN_ROUTE_DELIVERY\x10\x05\x12\x1c\n\x18\x43OURIER_STATUS_COMPLETED\x10\x06*\xf0\x01\n\x0cReturnStatus\x12\x1d\n\x19RETURN_STATUS_UNSPECIFIED\x10\x00\x12\x1b\n\x17RETURN_STATUS_REQUESTED\x10\x01\x12&\n\"RETURN_STATUS_PICKED_UP_FROM_BUYER\x10\x02\x12\'\n#RETURN_STATUS_RECEIVED_AT_WAREHOUSE\x10\x03\x12\x1b\n\x17RETURN_STATUS_INSPECTED\x10\x04\x12\x1a\n\x16RETURN_STATUS_RESOLVED\x10\x05\x12\x1a\n\x16RETURN_STATUS_REJECTED\x10\x06\x42\xcc\x01\n\x1f\x63om.kinetix.contracts.common.v1B\x0b\x43ommonProtoP\x01ZEgithub.com/WildanFrananda/kinetix-contracts/gen/go/common/v1;commonv1\xa2\x02\x03KNX\xaa\x02\x1bKinetix.Contracts.Common.V1\xca\x02\tCommon\\V1\xe2\x02\x15\x43ommon\\V1\\GPBMetadata\xea\x02\nCommon::V1b\x06proto3"
|
|
9
9
|
|
|
10
10
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
|
11
11
|
pool.add_serialized_file(descriptor_data)
|
|
@@ -18,6 +18,7 @@ module Common
|
|
|
18
18
|
OrderItem = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("common.v1.OrderItem").msgclass
|
|
19
19
|
ErrorDetail = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("common.v1.ErrorDetail").msgclass
|
|
20
20
|
IdempotencyKey = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("common.v1.IdempotencyKey").msgclass
|
|
21
|
+
LogCursor = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("common.v1.LogCursor").msgclass
|
|
21
22
|
OrderStatus = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("common.v1.OrderStatus").enummodule
|
|
22
23
|
CourierStatus = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("common.v1.CourierStatus").enummodule
|
|
23
24
|
ReturnStatus = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("common.v1.ReturnStatus").enummodule
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: fulfillment/v1/delivery_evidence.proto
|
|
4
|
+
|
|
5
|
+
require 'google/protobuf'
|
|
6
|
+
|
|
7
|
+
require 'common/v1/common_pb'
|
|
8
|
+
require 'google/protobuf/timestamp_pb'
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
descriptor_data = "\n&fulfillment/v1/delivery_evidence.proto\x12\x0e\x66ulfillment.v1\x1a\x16\x63ommon/v1/common.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xa4\x02\n\x10\x44\x65liveryEvidence\x12\x30\n\x08position\x18\x01 \x01(\x0b\x32\x14.common.v1.LogCursorR\x08position\x12!\n\x0corder_number\x18\x02 \x01(\tR\x0borderNumber\x12.\n\x13\x64river_principal_id\x18\x03 \x01(\tR\x11\x64riverPrincipalId\x12!\n\x0cphoto_sha256\x18\x04 \x01(\x0cR\x0bphotoSha256\x12)\n\x10signature_sha256\x18\x05 \x01(\x0cR\x0fsignatureSha256\x12=\n\x0c\x64\x65livered_at\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x0b\x64\x65liveredAt\"Z\n\x16\x44\x65liveriesSinceRequest\x12*\n\x05\x61\x66ter\x18\x01 \x01(\x0b\x32\x14.common.v1.LogCursorR\x05\x61\x66ter\x12\x14\n\x05limit\x18\x02 \x01(\x05R\x05limit\"\xa0\x01\n\x17\x44\x65liveriesSinceResponse\x12@\n\ndeliveries\x18\x01 \x03(\x0b\x32 .fulfillment.v1.DeliveryEvidenceR\ndeliveries\x12(\n\x04next\x18\x02 \x01(\x0b\x32\x14.common.v1.LogCursorR\x04next\x12\x19\n\x08has_more\x18\x03 \x01(\x08R\x07hasMore2}\n\x17\x44\x65liveryEvidenceService\x12\x62\n\x0f\x44\x65liveriesSince\x12&.fulfillment.v1.DeliveriesSinceRequest\x1a\'.fulfillment.v1.DeliveriesSinceResponseB\xf9\x01\n$com.kinetix.contracts.fulfillment.v1B\x15\x44\x65liveryEvidenceProtoP\x01ZOgithub.com/WildanFrananda/kinetix-contracts/gen/go/fulfillment/v1;fulfillmentv1\xa2\x02\x03KNX\xaa\x02 Kinetix.Contracts.Fulfillment.V1\xca\x02\x0e\x46ulfillment\\V1\xe2\x02\x1a\x46ulfillment\\V1\\GPBMetadata\xea\x02\x0f\x46ulfillment::V1b\x06proto3"
|
|
12
|
+
|
|
13
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
|
14
|
+
pool.add_serialized_file(descriptor_data)
|
|
15
|
+
|
|
16
|
+
module Fulfillment
|
|
17
|
+
module V1
|
|
18
|
+
DeliveryEvidence = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("fulfillment.v1.DeliveryEvidence").msgclass
|
|
19
|
+
DeliveriesSinceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("fulfillment.v1.DeliveriesSinceRequest").msgclass
|
|
20
|
+
DeliveriesSinceResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("fulfillment.v1.DeliveriesSinceResponse").msgclass
|
|
21
|
+
end
|
|
22
|
+
end
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
2
|
+
# Source: fulfillment/v1/delivery_evidence.proto for package 'Fulfillment.V1'
|
|
3
|
+
|
|
4
|
+
require 'grpc'
|
|
5
|
+
require 'fulfillment/v1/delivery_evidence_pb'
|
|
6
|
+
|
|
7
|
+
module Fulfillment
|
|
8
|
+
module V1
|
|
9
|
+
module DeliveryEvidenceService
|
|
10
|
+
class Service
|
|
11
|
+
|
|
12
|
+
include ::GRPC::GenericService
|
|
13
|
+
|
|
14
|
+
self.marshal_class_method = :encode
|
|
15
|
+
self.unmarshal_class_method = :decode
|
|
16
|
+
self.service_name = 'fulfillment.v1.DeliveryEvidenceService'
|
|
17
|
+
|
|
18
|
+
rpc :DeliveriesSince, ::Fulfillment::V1::DeliveriesSinceRequest, ::Fulfillment::V1::DeliveriesSinceResponse
|
|
19
|
+
end
|
|
20
|
+
|
|
21
|
+
Stub = Service.rpc_stub_class
|
|
22
|
+
end
|
|
23
|
+
end
|
|
24
|
+
end
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: order/v1/lifecycle.proto
|
|
4
|
+
|
|
5
|
+
require 'google/protobuf'
|
|
6
|
+
|
|
7
|
+
require 'common/v1/common_pb'
|
|
8
|
+
require 'google/protobuf/timestamp_pb'
|
|
9
|
+
require 'order/v1/order_pb'
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
descriptor_data = "\n\x18order/v1/lifecycle.proto\x12\x08order.v1\x1a\x16\x63ommon/v1/common.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x14order/v1/order.proto\"\xf1\x04\n\x0eLifecycleEvent\x12\x30\n\x08position\x18\x01 \x01(\x0b\x32\x14.common.v1.LogCursorR\x08position\x12!\n\x0corder_number\x18\x02 \x01(\tR\x0borderNumber\x12\x30\n\x04kind\x18\x03 \x01(\x0e\x32\x1c.order.v1.LifecycleEventKindR\x04kind\x12\x37\n\x0b\x66rom_status\x18\x04 \x01(\x0e\x32\x16.common.v1.OrderStatusR\nfromStatus\x12\x33\n\tto_status\x18\x05 \x01(\x0e\x32\x16.common.v1.OrderStatusR\x08toStatus\x12#\n\rreturn_number\x18\x06 \x01(\tR\x0creturnNumber\x12;\n\rreturn_status\x18\x07 \x01(\x0e\x32\x16.order.v1.ReturnStatusR\x0creturnStatus\x12;\n\nactor_kind\x18\x08 \x01(\x0e\x32\x1c.order.v1.LifecycleActorKindR\tactorKind\x12,\n\x12\x61\x63tor_principal_id\x18\t \x01(\tR\x10\x61\x63torPrincipalId\x12,\n\x12\x62uyer_principal_id\x18\n \x01(\tR\x10\x62uyerPrincipalId\x12\x32\n\x15merchant_principal_id\x18\x0b \x01(\tR\x13merchantPrincipalId\x12;\n\x0boccurred_at\x18\x0c \x01(\x0b\x32\x1a.google.protobuf.TimestampR\noccurredAt\"_\n\x1bLifecycleEventsSinceRequest\x12*\n\x05\x61\x66ter\x18\x01 \x01(\x0b\x32\x14.common.v1.LogCursorR\x05\x61\x66ter\x12\x14\n\x05limit\x18\x02 \x01(\x05R\x05limit\"\x95\x01\n\x1cLifecycleEventsSinceResponse\x12\x30\n\x06\x65vents\x18\x01 \x03(\x0b\x32\x18.order.v1.LifecycleEventR\x06\x65vents\x12(\n\x04next\x18\x02 \x01(\x0b\x32\x14.common.v1.LogCursorR\x04next\x12\x19\n\x08has_more\x18\x03 \x01(\x08R\x07hasMore*\xb2\x02\n\x12LifecycleEventKind\x12$\n LIFECYCLE_EVENT_KIND_UNSPECIFIED\x10\x00\x12\'\n#LIFECYCLE_EVENT_KIND_STATUS_CHANGED\x10\x01\x12&\n\"LIFECYCLE_EVENT_KIND_RETURN_OPENED\x10\x02\x12.\n*LIFECYCLE_EVENT_KIND_RETURN_GOODS_RECEIVED\x10\x03\x12(\n$LIFECYCLE_EVENT_KIND_RETURN_RESOLVED\x10\x04\x12(\n$LIFECYCLE_EVENT_KIND_RETURN_REJECTED\x10\x05\x12!\n\x1dLIFECYCLE_EVENT_KIND_BASELINE\x10\x06*\xdf\x01\n\x12LifecycleActorKind\x12$\n LIFECYCLE_ACTOR_KIND_UNSPECIFIED\x10\x00\x12\x1e\n\x1aLIFECYCLE_ACTOR_KIND_BUYER\x10\x01\x12!\n\x1dLIFECYCLE_ACTOR_KIND_MERCHANT\x10\x02\x12\x1f\n\x1bLIFECYCLE_ACTOR_KIND_DRIVER\x10\x03\x12\x1e\n\x1aLIFECYCLE_ACTOR_KIND_ADMIN\x10\x04\x12\x1f\n\x1bLIFECYCLE_ACTOR_KIND_SYSTEM\x10\x05\x32~\n\x15OrderLifecycleService\x12\x65\n\x14LifecycleEventsSince\x12%.order.v1.LifecycleEventsSinceRequest\x1a&.order.v1.LifecycleEventsSinceResponseB\xc8\x01\n\x1e\x63om.kinetix.contracts.order.v1B\x0eLifecycleProtoP\x01ZCgithub.com/WildanFrananda/kinetix-contracts/gen/go/order/v1;orderv1\xa2\x02\x03KNX\xaa\x02\x1aKinetix.Contracts.Order.V1\xca\x02\x08Order\\V1\xe2\x02\x14Order\\V1\\GPBMetadata\xea\x02\tOrder::V1b\x06proto3"
|
|
13
|
+
|
|
14
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
|
15
|
+
pool.add_serialized_file(descriptor_data)
|
|
16
|
+
|
|
17
|
+
module Order
|
|
18
|
+
module V1
|
|
19
|
+
LifecycleEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("order.v1.LifecycleEvent").msgclass
|
|
20
|
+
LifecycleEventsSinceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("order.v1.LifecycleEventsSinceRequest").msgclass
|
|
21
|
+
LifecycleEventsSinceResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("order.v1.LifecycleEventsSinceResponse").msgclass
|
|
22
|
+
LifecycleEventKind = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("order.v1.LifecycleEventKind").enummodule
|
|
23
|
+
LifecycleActorKind = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("order.v1.LifecycleActorKind").enummodule
|
|
24
|
+
end
|
|
25
|
+
end
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
2
|
+
# Source: order/v1/lifecycle.proto for package 'Order.V1'
|
|
3
|
+
|
|
4
|
+
require 'grpc'
|
|
5
|
+
require 'order/v1/lifecycle_pb'
|
|
6
|
+
|
|
7
|
+
module Order
|
|
8
|
+
module V1
|
|
9
|
+
module OrderLifecycleService
|
|
10
|
+
class Service
|
|
11
|
+
|
|
12
|
+
include ::GRPC::GenericService
|
|
13
|
+
|
|
14
|
+
self.marshal_class_method = :encode
|
|
15
|
+
self.unmarshal_class_method = :decode
|
|
16
|
+
self.service_name = 'order.v1.OrderLifecycleService'
|
|
17
|
+
|
|
18
|
+
rpc :LifecycleEventsSince, ::Order::V1::LifecycleEventsSinceRequest, ::Order::V1::LifecycleEventsSinceResponse
|
|
19
|
+
end
|
|
20
|
+
|
|
21
|
+
Stub = Service.rpc_stub_class
|
|
22
|
+
end
|
|
23
|
+
end
|
|
24
|
+
end
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: review/v1/review.proto
|
|
4
|
+
|
|
5
|
+
require 'google/protobuf'
|
|
6
|
+
|
|
7
|
+
require 'common/v1/common_pb'
|
|
8
|
+
require 'google/protobuf/timestamp_pb'
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
descriptor_data = "\n\x16review/v1/review.proto\x12\treview.v1\x1a\x16\x63ommon/v1/common.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xa2\x03\n\x0eReviewEvidence\x12\x30\n\x08position\x18\x01 \x01(\x0b\x32\x14.common.v1.LogCursorR\x08position\x12\x1b\n\treview_id\x18\x02 \x01(\tR\x08reviewId\x12)\n\x04kind\x18\x03 \x01(\x0e\x32\x15.review.v1.ReviewKindR\x04kind\x12\x19\n\x08order_id\x18\x04 \x01(\tR\x07orderId\x12\x1d\n\nsubject_id\x18\x05 \x01(\tR\tsubjectId\x12.\n\x13\x61uthor_principal_id\x18\x06 \x01(\tR\x11\x61uthorPrincipalId\x12\x32\n\x15merchant_principal_id\x18\x07 \x01(\tR\x13merchantPrincipalId\x12\x16\n\x06rating\x18\x08 \x01(\x05R\x06rating\x12%\n\x0e\x63omment_sha256\x18\t \x01(\x0cR\rcommentSha256\x12\x39\n\ncreated_at\x18\n \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tcreatedAt\"W\n\x13ReviewsSinceRequest\x12*\n\x05\x61\x66ter\x18\x01 \x01(\x0b\x32\x14.common.v1.LogCursorR\x05\x61\x66ter\x12\x14\n\x05limit\x18\x02 \x01(\x05R\x05limit\"\x90\x01\n\x14ReviewsSinceResponse\x12\x33\n\x07reviews\x18\x01 \x03(\x0b\x32\x19.review.v1.ReviewEvidenceR\x07reviews\x12(\n\x04next\x18\x02 \x01(\x0b\x32\x14.common.v1.LogCursorR\x04next\x12\x19\n\x08has_more\x18\x03 \x01(\x08R\x07hasMore*Z\n\nReviewKind\x12\x1b\n\x17REVIEW_KIND_UNSPECIFIED\x10\x00\x12\x17\n\x13REVIEW_KIND_PRODUCT\x10\x01\x12\x16\n\x12REVIEW_KIND_DRIVER\x10\x02\x32h\n\x15ReviewEvidenceService\x12O\n\x0cReviewsSince\x12\x1e.review.v1.ReviewsSinceRequest\x1a\x1f.review.v1.ReviewsSinceResponseB\xcc\x01\n\x1f\x63om.kinetix.contracts.review.v1B\x0bReviewProtoP\x01ZEgithub.com/WildanFrananda/kinetix-contracts/gen/go/review/v1;reviewv1\xa2\x02\x03KNX\xaa\x02\x1bKinetix.Contracts.Review.V1\xca\x02\tReview\\V1\xe2\x02\x15Review\\V1\\GPBMetadata\xea\x02\nReview::V1b\x06proto3"
|
|
12
|
+
|
|
13
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
|
14
|
+
pool.add_serialized_file(descriptor_data)
|
|
15
|
+
|
|
16
|
+
module Review
|
|
17
|
+
module V1
|
|
18
|
+
ReviewEvidence = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("review.v1.ReviewEvidence").msgclass
|
|
19
|
+
ReviewsSinceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("review.v1.ReviewsSinceRequest").msgclass
|
|
20
|
+
ReviewsSinceResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("review.v1.ReviewsSinceResponse").msgclass
|
|
21
|
+
ReviewKind = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("review.v1.ReviewKind").enummodule
|
|
22
|
+
end
|
|
23
|
+
end
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
2
|
+
# Source: review/v1/review.proto for package 'Review.V1'
|
|
3
|
+
|
|
4
|
+
require 'grpc'
|
|
5
|
+
require 'review/v1/review_pb'
|
|
6
|
+
|
|
7
|
+
module Review
|
|
8
|
+
module V1
|
|
9
|
+
module ReviewEvidenceService
|
|
10
|
+
class Service
|
|
11
|
+
|
|
12
|
+
include ::GRPC::GenericService
|
|
13
|
+
|
|
14
|
+
self.marshal_class_method = :encode
|
|
15
|
+
self.unmarshal_class_method = :decode
|
|
16
|
+
self.service_name = 'review.v1.ReviewEvidenceService'
|
|
17
|
+
|
|
18
|
+
rpc :ReviewsSince, ::Review::V1::ReviewsSinceRequest, ::Review::V1::ReviewsSinceResponse
|
|
19
|
+
end
|
|
20
|
+
|
|
21
|
+
Stub = Service.rpc_stub_class
|
|
22
|
+
end
|
|
23
|
+
end
|
|
24
|
+
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: kinetix-contracts
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.3.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Kinetix
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-10-
|
|
11
|
+
date: 2026-10-17 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: google-protobuf
|
|
@@ -51,6 +51,8 @@ files:
|
|
|
51
51
|
- fleet/v1/fleet_services_pb.rb
|
|
52
52
|
- fleet/v1/registry_pb.rb
|
|
53
53
|
- fleet/v1/registry_services_pb.rb
|
|
54
|
+
- fulfillment/v1/delivery_evidence_pb.rb
|
|
55
|
+
- fulfillment/v1/delivery_evidence_services_pb.rb
|
|
54
56
|
- fulfillment/v1/fulfillment_pb.rb
|
|
55
57
|
- fulfillment/v1/fulfillment_services_pb.rb
|
|
56
58
|
- fulfillment/v1/task_pb.rb
|
|
@@ -63,6 +65,8 @@ files:
|
|
|
63
65
|
- notary/v1/watch_services_pb.rb
|
|
64
66
|
- notification/v1/notification_pb.rb
|
|
65
67
|
- notification/v1/notification_services_pb.rb
|
|
68
|
+
- order/v1/lifecycle_pb.rb
|
|
69
|
+
- order/v1/lifecycle_services_pb.rb
|
|
66
70
|
- order/v1/order_pb.rb
|
|
67
71
|
- order/v1/order_services_pb.rb
|
|
68
72
|
- payment/v1/liability_pb.rb
|
|
@@ -75,6 +79,8 @@ files:
|
|
|
75
79
|
- pricing/v1/pricing_services_pb.rb
|
|
76
80
|
- returns/v1/returns_pb.rb
|
|
77
81
|
- returns/v1/returns_services_pb.rb
|
|
82
|
+
- review/v1/review_pb.rb
|
|
83
|
+
- review/v1/review_services_pb.rb
|
|
78
84
|
- search/v1/search_pb.rb
|
|
79
85
|
- search/v1/search_services_pb.rb
|
|
80
86
|
- shipping/v1/shipping_pb.rb
|