kinetix-contracts 1.0.17 → 1.0.19
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/identity/v1/identity_pb.rb +6 -1
- data/identity/v1/identity_services_pb.rb +1 -0
- data/order/v1/order_pb.rb +6 -1
- data/order/v1/order_services_pb.rb +1 -0
- data/search/v1/search_pb.rb +29 -0
- data/search/v1/search_services_pb.rb +25 -0
- metadata +4 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 413e4f3b3931b0c632956255079a078774a45c98cbce09587a75ca8ab71760c5
|
|
4
|
+
data.tar.gz: ad595128d9a5b0c1c2603bfd665871e9454f748a8e05d20e5fe0e328ae134383
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: fa456140f7f7e763c4c5af887003fd5194e9f70154bad973cabf19017eeea46d2a2097d8b4dade68cf6fffe1b1c9f4358ae0466994a26faae4399e923c8b98ae
|
|
7
|
+
data.tar.gz: 3d4531c45a3e331fc59f9a22fc9caec96100096a0e60180d0236ad71b8b06345486f2cddfebee4aa2ef4e0112bb824cca0de9c7fcee5ecb5a91c98b03b1ec919
|
data/identity/v1/identity_pb.rb
CHANGED
|
@@ -5,9 +5,10 @@
|
|
|
5
5
|
require 'google/protobuf'
|
|
6
6
|
|
|
7
7
|
require 'common/v1/common_pb'
|
|
8
|
+
require 'google/protobuf/timestamp_pb'
|
|
8
9
|
|
|
9
10
|
|
|
10
|
-
descriptor_data = "\n\x1aidentity/v1/identity.proto\x12\x0bidentity.v1\x1a\x16\x63ommon/v1/common.proto\"E\n\x0eServiceLocalId\x12\x18\n\x07service\x18\x01 \x01(\tR\x07service\x12\x19\n\x08local_id\x18\x02 \x01(\tR\x07localId\"`\n\x17ResolvePrincipalRequest\x12\x45\n\x10service_local_id\x18\x01 \x01(\x0b\x32\x1b.identity.v1.ServiceLocalIdR\x0eserviceLocalId\"\xa6\x01\n\x18ResolvePrincipalResponse\x12\x14\n\x05\x66ound\x18\x01 \x01(\x08R\x05\x66ound\x12!\n\x0cprincipal_id\x18\x02 \x01(\tR\x0bprincipalId\x12.\n\x04kind\x18\x03 \x01(\x0e\x32\x1a.identity.v1.PrincipalKindR\x04kind\x12!\n\x0c\x64isplay_name\x18\x04 \x01(\tR\x0b\x64isplayName\"8\n\x13GetPrincipalRequest\x12!\n\x0cprincipal_id\x18\x01 \x01(\tR\x0bprincipalId\"\xd9\x01\n\x14GetPrincipalResponse\x12\x14\n\x05\x66ound\x18\x01 \x01(\x08R\x05\x66ound\x12!\n\x0cprincipal_id\x18\x02 \x01(\tR\x0bprincipalId\x12.\n\x04kind\x18\x03 \x01(\x0e\x32\x1a.identity.v1.PrincipalKindR\x04kind\x12!\n\x0c\x64isplay_name\x18\x04 \x01(\tR\x0b\x64isplayName\x12\x35\n\x07\x61liases\x18\x05 \x03(\x0b\x32\x1b.identity.v1.ServiceLocalIdR\x07\x61liases\":\n\x15GetUserProfileRequest\x12!\n\x0cprincipal_id\x18\x01 \x01(\tR\x0bprincipalId\"\x87\x03\n\x16GetUserProfileResponse\x12\x14\n\x05\x66ound\x18\x01 \x01(\x08R\x05\x66ound\x12!\n\x0cprincipal_id\x18\x02 \x01(\tR\x0bprincipalId\x12\x14\n\x05\x65mail\x18\x03 \x01(\tR\x05\x65mail\x12\x1b\n\tfull_name\x18\x04 \x01(\tR\x08\x66ullName\x12!\n\x0cphone_number\x18\x05 \x01(\tR\x0bphoneNumber\x12%\n\x0estreet_address\x18\x06 \x01(\tR\rstreetAddress\x12\x12\n\x04\x63ity\x18\x07 \x01(\tR\x04\x63ity\x12\x1f\n\x0bpostal_code\x18\x08 \x01(\tR\npostalCode\x12.\n\x04kind\x18\t \x01(\x0e\x32\x1a.identity.v1.PrincipalKindR\x04kind\x12!\n\x0chas_location\x18\n \x01(\x08R\x0bhasLocation\x12/\n\x08location\x18\x0b \x01(\x0b\x32\x13.common.v1.GeoPointR\x08location\";\n\x16GetMerchantInfoRequest\x12!\n\x0cprincipal_id\x18\x01 \x01(\tR\x0bprincipalId\"\xba\x03\n\x17GetMerchantInfoResponse\x12\x14\n\x05\x66ound\x18\x01 \x01(\x08R\x05\x66ound\x12\x32\n\x15merchant_principal_id\x18\x02 \x01(\tR\x13merchantPrincipalId\x12\x1d\n\nstore_name\x18\x03 \x01(\tR\tstoreName\x12@\n\x1c\x62usiness_registration_number\x18\x04 \x01(\tR\x1a\x62usinessRegistrationNumber\x12\x15\n\x06tax_id\x18\x05 \x01(\tR\x05taxId\x12\x33\n\x06status\x18\x06 \x01(\x0e\x32\x1b.identity.v1.MerchantStatusR\x06status\x12\x39\n\x0epickup_address\x18\x07 \x01(\x0b\x32\x12.common.v1.AddressR\rpickupAddress\x12!\n\x0chas_location\x18\x08 \x01(\x08R\x0bhasLocation\x12/\n\x08location\x18\t \x01(\x0b\x32\x13.common.v1.GeoPointR\x08location\x12\x19\n\x08may_sell\x18\n \x01(\x08R\x07maySell\"9\n\x14ValidateTokenRequest\x12!\n\x0c\x61\x63\x63\x65ss_token\x18\x01 \x01(\tR\x0b\x61\x63\x63\x65ssToken\"\x98\x01\n\x15ValidateTokenResponse\x12\x14\n\x05valid\x18\x01 \x01(\x08R\x05valid\x12!\n\x0cprincipal_id\x18\x02 \x01(\tR\x0bprincipalId\x12.\n\x04kind\x18\x03 \x01(\x0e\x32\x1a.identity.v1.PrincipalKindR\x04kind\x12\x16\n\x06reason\x18\x04 \x01(\tR\x06reason*\xba\x01\n\rPrincipalKind\x12\x1e\n\x1aPRINCIPAL_KIND_UNSPECIFIED\x10\x00\x12\x1b\n\x17PRINCIPAL_KIND_CUSTOMER\x10\x01\x12\x1b\n\x17PRINCIPAL_KIND_MERCHANT\x10\x02\x12\x19\n\x15PRINCIPAL_KIND_DRIVER\x10\x03\x12\x18\n\x14PRINCIPAL_KIND_STAFF\x10\x04\x12\x1a\n\x16PRINCIPAL_KIND_SERVICE\x10\x05*\xa7\x01\n\x0eMerchantStatus\x12\x1f\n\x1bMERCHANT_STATUS_UNSPECIFIED\x10\x00\x12\x1b\n\x17MERCHANT_STATUS_PENDING\x10\x01\x12\x1c\n\x18MERCHANT_STATUS_VERIFIED\x10\x02\x12\x1d\n\x19MERCHANT_STATUS_SUSPENDED\x10\x03\x12\x1a\n\x16MERCHANT_STATUS_CLOSED\x10\x04\x32\
|
|
11
|
+
descriptor_data = "\n\x1aidentity/v1/identity.proto\x12\x0bidentity.v1\x1a\x16\x63ommon/v1/common.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"E\n\x0eServiceLocalId\x12\x18\n\x07service\x18\x01 \x01(\tR\x07service\x12\x19\n\x08local_id\x18\x02 \x01(\tR\x07localId\"`\n\x17ResolvePrincipalRequest\x12\x45\n\x10service_local_id\x18\x01 \x01(\x0b\x32\x1b.identity.v1.ServiceLocalIdR\x0eserviceLocalId\"\xa6\x01\n\x18ResolvePrincipalResponse\x12\x14\n\x05\x66ound\x18\x01 \x01(\x08R\x05\x66ound\x12!\n\x0cprincipal_id\x18\x02 \x01(\tR\x0bprincipalId\x12.\n\x04kind\x18\x03 \x01(\x0e\x32\x1a.identity.v1.PrincipalKindR\x04kind\x12!\n\x0c\x64isplay_name\x18\x04 \x01(\tR\x0b\x64isplayName\"8\n\x13GetPrincipalRequest\x12!\n\x0cprincipal_id\x18\x01 \x01(\tR\x0bprincipalId\"\xd9\x01\n\x14GetPrincipalResponse\x12\x14\n\x05\x66ound\x18\x01 \x01(\x08R\x05\x66ound\x12!\n\x0cprincipal_id\x18\x02 \x01(\tR\x0bprincipalId\x12.\n\x04kind\x18\x03 \x01(\x0e\x32\x1a.identity.v1.PrincipalKindR\x04kind\x12!\n\x0c\x64isplay_name\x18\x04 \x01(\tR\x0b\x64isplayName\x12\x35\n\x07\x61liases\x18\x05 \x03(\x0b\x32\x1b.identity.v1.ServiceLocalIdR\x07\x61liases\":\n\x15GetUserProfileRequest\x12!\n\x0cprincipal_id\x18\x01 \x01(\tR\x0bprincipalId\"\x87\x03\n\x16GetUserProfileResponse\x12\x14\n\x05\x66ound\x18\x01 \x01(\x08R\x05\x66ound\x12!\n\x0cprincipal_id\x18\x02 \x01(\tR\x0bprincipalId\x12\x14\n\x05\x65mail\x18\x03 \x01(\tR\x05\x65mail\x12\x1b\n\tfull_name\x18\x04 \x01(\tR\x08\x66ullName\x12!\n\x0cphone_number\x18\x05 \x01(\tR\x0bphoneNumber\x12%\n\x0estreet_address\x18\x06 \x01(\tR\rstreetAddress\x12\x12\n\x04\x63ity\x18\x07 \x01(\tR\x04\x63ity\x12\x1f\n\x0bpostal_code\x18\x08 \x01(\tR\npostalCode\x12.\n\x04kind\x18\t \x01(\x0e\x32\x1a.identity.v1.PrincipalKindR\x04kind\x12!\n\x0chas_location\x18\n \x01(\x08R\x0bhasLocation\x12/\n\x08location\x18\x0b \x01(\x0b\x32\x13.common.v1.GeoPointR\x08location\";\n\x16GetMerchantInfoRequest\x12!\n\x0cprincipal_id\x18\x01 \x01(\tR\x0bprincipalId\"\xba\x03\n\x17GetMerchantInfoResponse\x12\x14\n\x05\x66ound\x18\x01 \x01(\x08R\x05\x66ound\x12\x32\n\x15merchant_principal_id\x18\x02 \x01(\tR\x13merchantPrincipalId\x12\x1d\n\nstore_name\x18\x03 \x01(\tR\tstoreName\x12@\n\x1c\x62usiness_registration_number\x18\x04 \x01(\tR\x1a\x62usinessRegistrationNumber\x12\x15\n\x06tax_id\x18\x05 \x01(\tR\x05taxId\x12\x33\n\x06status\x18\x06 \x01(\x0e\x32\x1b.identity.v1.MerchantStatusR\x06status\x12\x39\n\x0epickup_address\x18\x07 \x01(\x0b\x32\x12.common.v1.AddressR\rpickupAddress\x12!\n\x0chas_location\x18\x08 \x01(\x08R\x0bhasLocation\x12/\n\x08location\x18\t \x01(\x0b\x32\x13.common.v1.GeoPointR\x08location\x12\x19\n\x08may_sell\x18\n \x01(\x08R\x07maySell\"9\n\x14ValidateTokenRequest\x12!\n\x0c\x61\x63\x63\x65ss_token\x18\x01 \x01(\tR\x0b\x61\x63\x63\x65ssToken\"\x98\x01\n\x15ValidateTokenResponse\x12\x14\n\x05valid\x18\x01 \x01(\x08R\x05valid\x12!\n\x0cprincipal_id\x18\x02 \x01(\tR\x0bprincipalId\x12.\n\x04kind\x18\x03 \x01(\x0e\x32\x1a.identity.v1.PrincipalKindR\x04kind\x12\x16\n\x06reason\x18\x04 \x01(\tR\x06reason\"\x81\x01\n\x0eMerchantCursor\x12\x43\n\x0fupdated_through\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x0eupdatedThrough\x12*\n\x11last_principal_id\x18\x02 \x01(\tR\x0flastPrincipalId\"\xdd\x01\n\x0eMerchantRecord\x12!\n\x0cprincipal_id\x18\x01 \x01(\tR\x0bprincipalId\x12\x1d\n\nstore_name\x18\x02 \x01(\tR\tstoreName\x12\x33\n\x06status\x18\x03 \x01(\x0e\x32\x1b.identity.v1.MerchantStatusR\x06status\x12\x19\n\x08may_sell\x18\x04 \x01(\x08R\x07maySell\x12\x39\n\nupdated_at\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tupdatedAt\"i\n\x1cMerchantsChangedSinceRequest\x12\x33\n\x06\x63ursor\x18\x01 \x01(\x0b\x32\x1b.identity.v1.MerchantCursorR\x06\x63ursor\x12\x14\n\x05limit\x18\x02 \x01(\x05R\x05limit\"\xd8\x01\n\x1dMerchantsChangedSinceResponse\x12\x37\n\x08upserted\x18\x01 \x03(\x0b\x32\x1b.identity.v1.MerchantRecordR\x08upserted\x12\x32\n\x15removed_principal_ids\x18\x02 \x03(\tR\x13removedPrincipalIds\x12/\n\x04next\x18\x03 \x01(\x0b\x32\x1b.identity.v1.MerchantCursorR\x04next\x12\x19\n\x08has_more\x18\x04 \x01(\x08R\x07hasMore*\xba\x01\n\rPrincipalKind\x12\x1e\n\x1aPRINCIPAL_KIND_UNSPECIFIED\x10\x00\x12\x1b\n\x17PRINCIPAL_KIND_CUSTOMER\x10\x01\x12\x1b\n\x17PRINCIPAL_KIND_MERCHANT\x10\x02\x12\x19\n\x15PRINCIPAL_KIND_DRIVER\x10\x03\x12\x18\n\x14PRINCIPAL_KIND_STAFF\x10\x04\x12\x1a\n\x16PRINCIPAL_KIND_SERVICE\x10\x05*\xa7\x01\n\x0eMerchantStatus\x12\x1f\n\x1bMERCHANT_STATUS_UNSPECIFIED\x10\x00\x12\x1b\n\x17MERCHANT_STATUS_PENDING\x10\x01\x12\x1c\n\x18MERCHANT_STATUS_VERIFIED\x10\x02\x12\x1d\n\x19MERCHANT_STATUS_SUSPENDED\x10\x03\x12\x1a\n\x16MERCHANT_STATUS_CLOSED\x10\x04\x32\xc8\x04\n\x0fIdentityService\x12_\n\x10ResolvePrincipal\x12$.identity.v1.ResolvePrincipalRequest\x1a%.identity.v1.ResolvePrincipalResponse\x12S\n\x0cGetPrincipal\x12 .identity.v1.GetPrincipalRequest\x1a!.identity.v1.GetPrincipalResponse\x12Y\n\x0eGetUserProfile\x12\".identity.v1.GetUserProfileRequest\x1a#.identity.v1.GetUserProfileResponse\x12\\\n\x0fGetMerchantInfo\x12#.identity.v1.GetMerchantInfoRequest\x1a$.identity.v1.GetMerchantInfoResponse\x12V\n\rValidateToken\x12!.identity.v1.ValidateTokenRequest\x1a\".identity.v1.ValidateTokenResponse\x12n\n\x15MerchantsChangedSince\x12).identity.v1.MerchantsChangedSinceRequest\x1a*.identity.v1.MerchantsChangedSinceResponseB\xdc\x01\n!com.kinetix.contracts.identity.v1B\rIdentityProtoP\x01ZIgithub.com/WildanFrananda/kinetix-contracts/gen/go/identity/v1;identityv1\xa2\x02\x03KNX\xaa\x02\x1dKinetix.Contracts.Identity.V1\xca\x02\x0bIdentity\\V1\xe2\x02\x17Identity\\V1\\GPBMetadata\xea\x02\x0cIdentity::V1b\x06proto3"
|
|
11
12
|
|
|
12
13
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
|
13
14
|
pool.add_serialized_file(descriptor_data)
|
|
@@ -25,6 +26,10 @@ module Identity
|
|
|
25
26
|
GetMerchantInfoResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("identity.v1.GetMerchantInfoResponse").msgclass
|
|
26
27
|
ValidateTokenRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("identity.v1.ValidateTokenRequest").msgclass
|
|
27
28
|
ValidateTokenResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("identity.v1.ValidateTokenResponse").msgclass
|
|
29
|
+
MerchantCursor = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("identity.v1.MerchantCursor").msgclass
|
|
30
|
+
MerchantRecord = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("identity.v1.MerchantRecord").msgclass
|
|
31
|
+
MerchantsChangedSinceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("identity.v1.MerchantsChangedSinceRequest").msgclass
|
|
32
|
+
MerchantsChangedSinceResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("identity.v1.MerchantsChangedSinceResponse").msgclass
|
|
28
33
|
PrincipalKind = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("identity.v1.PrincipalKind").enummodule
|
|
29
34
|
MerchantStatus = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("identity.v1.MerchantStatus").enummodule
|
|
30
35
|
end
|
|
@@ -20,6 +20,7 @@ module Identity
|
|
|
20
20
|
rpc :GetUserProfile, ::Identity::V1::GetUserProfileRequest, ::Identity::V1::GetUserProfileResponse
|
|
21
21
|
rpc :GetMerchantInfo, ::Identity::V1::GetMerchantInfoRequest, ::Identity::V1::GetMerchantInfoResponse
|
|
22
22
|
rpc :ValidateToken, ::Identity::V1::ValidateTokenRequest, ::Identity::V1::ValidateTokenResponse
|
|
23
|
+
rpc :MerchantsChangedSince, ::Identity::V1::MerchantsChangedSinceRequest, ::Identity::V1::MerchantsChangedSinceResponse
|
|
23
24
|
end
|
|
24
25
|
|
|
25
26
|
Stub = Service.rpc_stub_class
|
data/order/v1/order_pb.rb
CHANGED
|
@@ -5,9 +5,10 @@
|
|
|
5
5
|
require 'google/protobuf'
|
|
6
6
|
|
|
7
7
|
require 'common/v1/common_pb'
|
|
8
|
+
require 'google/protobuf/timestamp_pb'
|
|
8
9
|
|
|
9
10
|
|
|
10
|
-
descriptor_data = "\n\x14order/v1/order.proto\x12\x08order.v1\x1a\x16\x63ommon/v1/common.proto\"\xc6\x01\n\x11OpenReturnRequest\x12!\n\x0corder_number\x18\x01 \x01(\tR\x0borderNumber\x12\x32\n\x15merchant_principal_id\x18\x02 \x01(\tR\x13merchantPrincipalId\x12\x16\n\x06reason\x18\x03 \x01(\tR\x06reason\x12\x42\n\x0fidempotency_key\x18\x04 \x01(\x0b\x32\x19.common.v1.IdempotencyKeyR\x0eidempotencyKey\"\xd4\x01\n\x12OpenReturnResponse\x12\x18\n\x07success\x18\x01 \x01(\x08R\x07success\x12#\n\rreturn_number\x18\x02 \x01(\tR\x0creturnNumber\x12.\n\x06status\x18\x03 \x01(\x0e\x32\x16.order.v1.ReturnStatusR\x06status\x12!\n\x0c\x61lready_open\x18\x04 \x01(\x08R\x0b\x61lreadyOpen\x12,\n\x05\x65rror\x18\x05 \x01(\x0b\x32\x16.common.v1.ErrorDetailR\x05\x65rror\"<\n\x0cReturnedLine\x12\x10\n\x03sku\x18\x01 \x01(\tR\x03sku\x12\x1a\n\x08quantity\x18\x02 \x01(\x05R\x08quantity\"\xa3\x02\n\x1aReturnGoodsReceivedRequest\x12#\n\rreturn_number\x18\x01 \x01(\tR\x0creturnNumber\x12\x32\n\x15merchant_principal_id\x18\x02 \x01(\tR\x13merchantPrincipalId\x12,\n\x05lines\x18\x03 \x03(\x0b\x32\x16.order.v1.ReturnedLineR\x05lines\x12\x19\n\x08\x62in_code\x18\x04 \x01(\tR\x07\x62inCode\x12\x1f\n\x0breceived_at\x18\x05 \x01(\tR\nreceivedAt\x12\x42\n\x0fidempotency_key\x18\x06 \x01(\x0b\x32\x19.common.v1.IdempotencyKeyR\x0eidempotencyKey\"\xc2\x01\n\x1bReturnGoodsReceivedResponse\x12\x1a\n\x08\x61\x63\x63\x65pted\x18\x01 \x01(\x08R\x08\x61\x63\x63\x65pted\x12)\n\x10\x61lready_recorded\x18\x02 \x01(\x08R\x0f\x61lreadyRecorded\x12.\n\x06status\x18\x03 \x01(\x0e\x32\x16.order.v1.ReturnStatusR\x06status\x12,\n\x05\x65rror\x18\x04 \x01(\x0b\x32\x16.common.v1.ErrorDetailR\x05\x65rror\"\x8d\x01\n\x15OrderDeliveredRequest\x12!\n\x0corder_number\x18\x01 \x01(\tR\x0borderNumber\x12.\n\x13\x64river_principal_id\x18\x02 \x01(\tR\x11\x64riverPrincipalId\x12!\n\x0c\x64\x65livered_at\x18\x03 \x01(\tR\x0b\x64\x65liveredAt\"\x8f\x01\n\x16OrderDeliveredResponse\x12\x1a\n\x08\x61\x63\x63\x65pted\x18\x01 \x01(\x08R\x08\x61\x63\x63\x65pted\x12+\n\x11\x61lready_delivered\x18\x02 \x01(\x08R\x10\x61lreadyDelivered\x12,\n\x05\x65rror\x18\x03 \x01(\x0b\x32\x16.common.v1.ErrorDetailR\x05\x65rror\"\xa1\x01\n\x18\x46ulfillmentPackedRequest\x12\x32\n\x15merchant_principal_id\x18\x01 \x01(\tR\x13merchantPrincipalId\x12!\n\x0corder_number\x18\x02 \x01(\tR\x0borderNumber\x12.\n\x13\x66ulfillment_task_id\x18\x03 \x01(\tR\x11\x66ulfillmentTaskId\"\xad\x01\n\x19\x46ulfillmentPackedResponse\x12\x18\n\x07success\x18\x01 \x01(\x08R\x07success\x12%\n\x0e\x61lready_packed\x18\x02 \x01(\x08R\ralreadyPacked\x12!\n\x0c\x64ispatch_ref\x18\x03 \x01(\tR\x0b\x64ispatchRef\x12,\n\x05\x65rror\x18\x04 \x01(\x0b\x32\x16.common.v1.ErrorDetailR\x05\x65rror\"3\n\x16GetOrderDetailsRequest\x12\x19\n\x08order_id\x18\x01 \x01(\tR\x07orderId\"\xd3\x01\n\tOrderLine\x12\x1d\n\nproduct_id\x18\x01 \x01(\tR\tproductId\x12#\n\rproduct_title\x18\x02 \x01(\tR\x0cproductTitle\x12/\n\nunit_price\x18\x03 \x01(\x0b\x32\x10.common.v1.MoneyR\tunitPrice\x12\x1a\n\x08quantity\x18\x04 \x01(\x05R\x08quantity\x12\x35\n\rline_subtotal\x18\x05 \x01(\x0b\x32\x10.common.v1.MoneyR\x0clineSubtotal\"\x8c\x04\n\x17GetOrderDetailsResponse\x12\x14\n\x05\x66ound\x18\x01 \x01(\x08R\x05\x66ound\x12\x19\n\x08order_id\x18\x02 \x01(\tR\x07orderId\x12!\n\x0corder_number\x18\x03 \x01(\tR\x0borderNumber\x12\x32\n\x15\x63ustomer_principal_id\x18\x04 \x01(\tR\x13\x63ustomerPrincipalId\x12.\n\x06status\x18\x05 \x01(\x0e\x32\x16.common.v1.OrderStatusR\x06status\x12,\n\x08subtotal\x18\x06 \x01(\x0b\x32\x10.common.v1.MoneyR\x08subtotal\x12\x39\n\x0f\x64iscount_amount\x18\x07 \x01(\x0b\x32\x10.common.v1.MoneyR\x0e\x64iscountAmount\x12\x33\n\x0cshipping_fee\x18\x08 \x01(\x0b\x32\x10.common.v1.MoneyR\x0bshippingFee\x12\x31\n\x0b\x66inal_total\x18\t \x01(\x0b\x32\x10.common.v1.MoneyR\nfinalTotal\x12)\n\x05lines\x18\n \x03(\x0b\x32\x13.order.v1.OrderLineR\x05lines\x12=\n\x10shipping_address\x18\x0b \x01(\x0b\x32\x12.common.v1.AddressR\x0fshippingAddress\"\xa3\x01\n\x1dListOrdersForPrincipalRequest\x12!\n\x0cprincipal_id\x18\x01 \x01(\tR\x0bprincipalId\x12.\n\x06status\x18\x02 \x01(\x0e\x32\x16.common.v1.OrderStatusR\x06status\x12\x12\n\x04page\x18\x03 \x01(\x05R\x04page\x12\x1b\n\tpage_size\x18\x04 \x01(\x05R\x08pageSize\"|\n\x1eListOrdersForPrincipalResponse\x12\x39\n\x06orders\x18\x01 \x03(\x0b\x32!.order.v1.GetOrderDetailsResponseR\x06orders\x12\x1f\n\x0btotal_count\x18\x02 \x01(\x05R\ntotalCount*\x9f\x01\n\x0cReturnStatus\x12\x1d\n\x19RETURN_STATUS_UNSPECIFIED\x10\x00\x12\x16\n\x12RETURN_STATUS_OPEN\x10\x01\x12 \n\x1cRETURN_STATUS_GOODS_RECEIVED\x10\x02\x12\x1a\n\x16RETURN_STATUS_RESOLVED\x10\x03\x12\x1a\n\x16RETURN_STATUS_REJECTED\x10\x04\x32\
|
|
11
|
+
descriptor_data = "\n\x14order/v1/order.proto\x12\x08order.v1\x1a\x16\x63ommon/v1/common.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xc6\x01\n\x11OpenReturnRequest\x12!\n\x0corder_number\x18\x01 \x01(\tR\x0borderNumber\x12\x32\n\x15merchant_principal_id\x18\x02 \x01(\tR\x13merchantPrincipalId\x12\x16\n\x06reason\x18\x03 \x01(\tR\x06reason\x12\x42\n\x0fidempotency_key\x18\x04 \x01(\x0b\x32\x19.common.v1.IdempotencyKeyR\x0eidempotencyKey\"\xd4\x01\n\x12OpenReturnResponse\x12\x18\n\x07success\x18\x01 \x01(\x08R\x07success\x12#\n\rreturn_number\x18\x02 \x01(\tR\x0creturnNumber\x12.\n\x06status\x18\x03 \x01(\x0e\x32\x16.order.v1.ReturnStatusR\x06status\x12!\n\x0c\x61lready_open\x18\x04 \x01(\x08R\x0b\x61lreadyOpen\x12,\n\x05\x65rror\x18\x05 \x01(\x0b\x32\x16.common.v1.ErrorDetailR\x05\x65rror\"<\n\x0cReturnedLine\x12\x10\n\x03sku\x18\x01 \x01(\tR\x03sku\x12\x1a\n\x08quantity\x18\x02 \x01(\x05R\x08quantity\"\xa3\x02\n\x1aReturnGoodsReceivedRequest\x12#\n\rreturn_number\x18\x01 \x01(\tR\x0creturnNumber\x12\x32\n\x15merchant_principal_id\x18\x02 \x01(\tR\x13merchantPrincipalId\x12,\n\x05lines\x18\x03 \x03(\x0b\x32\x16.order.v1.ReturnedLineR\x05lines\x12\x19\n\x08\x62in_code\x18\x04 \x01(\tR\x07\x62inCode\x12\x1f\n\x0breceived_at\x18\x05 \x01(\tR\nreceivedAt\x12\x42\n\x0fidempotency_key\x18\x06 \x01(\x0b\x32\x19.common.v1.IdempotencyKeyR\x0eidempotencyKey\"\xc2\x01\n\x1bReturnGoodsReceivedResponse\x12\x1a\n\x08\x61\x63\x63\x65pted\x18\x01 \x01(\x08R\x08\x61\x63\x63\x65pted\x12)\n\x10\x61lready_recorded\x18\x02 \x01(\x08R\x0f\x61lreadyRecorded\x12.\n\x06status\x18\x03 \x01(\x0e\x32\x16.order.v1.ReturnStatusR\x06status\x12,\n\x05\x65rror\x18\x04 \x01(\x0b\x32\x16.common.v1.ErrorDetailR\x05\x65rror\"\x8d\x01\n\x15OrderDeliveredRequest\x12!\n\x0corder_number\x18\x01 \x01(\tR\x0borderNumber\x12.\n\x13\x64river_principal_id\x18\x02 \x01(\tR\x11\x64riverPrincipalId\x12!\n\x0c\x64\x65livered_at\x18\x03 \x01(\tR\x0b\x64\x65liveredAt\"\x8f\x01\n\x16OrderDeliveredResponse\x12\x1a\n\x08\x61\x63\x63\x65pted\x18\x01 \x01(\x08R\x08\x61\x63\x63\x65pted\x12+\n\x11\x61lready_delivered\x18\x02 \x01(\x08R\x10\x61lreadyDelivered\x12,\n\x05\x65rror\x18\x03 \x01(\x0b\x32\x16.common.v1.ErrorDetailR\x05\x65rror\"\xa1\x01\n\x18\x46ulfillmentPackedRequest\x12\x32\n\x15merchant_principal_id\x18\x01 \x01(\tR\x13merchantPrincipalId\x12!\n\x0corder_number\x18\x02 \x01(\tR\x0borderNumber\x12.\n\x13\x66ulfillment_task_id\x18\x03 \x01(\tR\x11\x66ulfillmentTaskId\"\xad\x01\n\x19\x46ulfillmentPackedResponse\x12\x18\n\x07success\x18\x01 \x01(\x08R\x07success\x12%\n\x0e\x61lready_packed\x18\x02 \x01(\x08R\ralreadyPacked\x12!\n\x0c\x64ispatch_ref\x18\x03 \x01(\tR\x0b\x64ispatchRef\x12,\n\x05\x65rror\x18\x04 \x01(\x0b\x32\x16.common.v1.ErrorDetailR\x05\x65rror\"3\n\x16GetOrderDetailsRequest\x12\x19\n\x08order_id\x18\x01 \x01(\tR\x07orderId\"\xd3\x01\n\tOrderLine\x12\x1d\n\nproduct_id\x18\x01 \x01(\tR\tproductId\x12#\n\rproduct_title\x18\x02 \x01(\tR\x0cproductTitle\x12/\n\nunit_price\x18\x03 \x01(\x0b\x32\x10.common.v1.MoneyR\tunitPrice\x12\x1a\n\x08quantity\x18\x04 \x01(\x05R\x08quantity\x12\x35\n\rline_subtotal\x18\x05 \x01(\x0b\x32\x10.common.v1.MoneyR\x0clineSubtotal\"\x8c\x04\n\x17GetOrderDetailsResponse\x12\x14\n\x05\x66ound\x18\x01 \x01(\x08R\x05\x66ound\x12\x19\n\x08order_id\x18\x02 \x01(\tR\x07orderId\x12!\n\x0corder_number\x18\x03 \x01(\tR\x0borderNumber\x12\x32\n\x15\x63ustomer_principal_id\x18\x04 \x01(\tR\x13\x63ustomerPrincipalId\x12.\n\x06status\x18\x05 \x01(\x0e\x32\x16.common.v1.OrderStatusR\x06status\x12,\n\x08subtotal\x18\x06 \x01(\x0b\x32\x10.common.v1.MoneyR\x08subtotal\x12\x39\n\x0f\x64iscount_amount\x18\x07 \x01(\x0b\x32\x10.common.v1.MoneyR\x0e\x64iscountAmount\x12\x33\n\x0cshipping_fee\x18\x08 \x01(\x0b\x32\x10.common.v1.MoneyR\x0bshippingFee\x12\x31\n\x0b\x66inal_total\x18\t \x01(\x0b\x32\x10.common.v1.MoneyR\nfinalTotal\x12)\n\x05lines\x18\n \x03(\x0b\x32\x13.order.v1.OrderLineR\x05lines\x12=\n\x10shipping_address\x18\x0b \x01(\x0b\x32\x12.common.v1.AddressR\x0fshippingAddress\"\xa3\x01\n\x1dListOrdersForPrincipalRequest\x12!\n\x0cprincipal_id\x18\x01 \x01(\tR\x0bprincipalId\x12.\n\x06status\x18\x02 \x01(\x0e\x32\x16.common.v1.OrderStatusR\x06status\x12\x12\n\x04page\x18\x03 \x01(\x05R\x04page\x12\x1b\n\tpage_size\x18\x04 \x01(\x05R\x08pageSize\"|\n\x1eListOrdersForPrincipalResponse\x12\x39\n\x06orders\x18\x01 \x03(\x0b\x32!.order.v1.GetOrderDetailsResponseR\x06orders\x12\x1f\n\x0btotal_count\x18\x02 \x01(\x05R\ntotalCount\"~\n\x0bOrderCursor\x12\x43\n\x0fupdated_through\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x0eupdatedThrough\x12*\n\x11last_order_number\x18\x02 \x01(\tR\x0flastOrderNumber\"\xd7\x02\n\x0bOrderRecord\x12!\n\x0corder_number\x18\x01 \x01(\tR\x0borderNumber\x12,\n\x12\x62uyer_principal_id\x18\x02 \x01(\tR\x10\x62uyerPrincipalId\x12\x32\n\x15merchant_principal_id\x18\x03 \x01(\tR\x13merchantPrincipalId\x12.\n\x06status\x18\x04 \x01(\x0e\x32\x16.common.v1.OrderStatusR\x06status\x12\x1f\n\x0bline_titles\x18\x05 \x03(\tR\nlineTitles\x12\x37\n\tplaced_at\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x08placedAt\x12\x39\n\nupdated_at\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tupdatedAt\"`\n\x19OrdersChangedSinceRequest\x12-\n\x06\x63ursor\x18\x01 \x01(\x0b\x32\x15.order.v1.OrderCursorR\x06\x63ursor\x12\x14\n\x05limit\x18\x02 \x01(\x05R\x05limit\"\x95\x01\n\x1aOrdersChangedSinceResponse\x12\x31\n\x08upserted\x18\x01 \x03(\x0b\x32\x15.order.v1.OrderRecordR\x08upserted\x12)\n\x04next\x18\x02 \x01(\x0b\x32\x15.order.v1.OrderCursorR\x04next\x12\x19\n\x08has_more\x18\x03 \x01(\x08R\x07hasMore*\x9f\x01\n\x0cReturnStatus\x12\x1d\n\x19RETURN_STATUS_UNSPECIFIED\x10\x00\x12\x16\n\x12RETURN_STATUS_OPEN\x10\x01\x12 \n\x1cRETURN_STATUS_GOODS_RECEIVED\x10\x02\x12\x1a\n\x16RETURN_STATUS_RESOLVED\x10\x03\x12\x1a\n\x16RETURN_STATUS_REJECTED\x10\x04\x32\x94\x05\n\x0cOrderService\x12V\n\x0fGetOrderDetails\x12 .order.v1.GetOrderDetailsRequest\x1a!.order.v1.GetOrderDetailsResponse\x12k\n\x16ListOrdersForPrincipal\x12\'.order.v1.ListOrdersForPrincipalRequest\x1a(.order.v1.ListOrdersForPrincipalResponse\x12\\\n\x11\x46ulfillmentPacked\x12\".order.v1.FulfillmentPackedRequest\x1a#.order.v1.FulfillmentPackedResponse\x12S\n\x0eOrderDelivered\x12\x1f.order.v1.OrderDeliveredRequest\x1a .order.v1.OrderDeliveredResponse\x12G\n\nOpenReturn\x12\x1b.order.v1.OpenReturnRequest\x1a\x1c.order.v1.OpenReturnResponse\x12\x62\n\x13ReturnGoodsReceived\x12$.order.v1.ReturnGoodsReceivedRequest\x1a%.order.v1.ReturnGoodsReceivedResponse\x12_\n\x12OrdersChangedSince\x12#.order.v1.OrdersChangedSinceRequest\x1a$.order.v1.OrdersChangedSinceResponseB\xc4\x01\n\x1e\x63om.kinetix.contracts.order.v1B\nOrderProtoP\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"
|
|
11
12
|
|
|
12
13
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
|
13
14
|
pool.add_serialized_file(descriptor_data)
|
|
@@ -28,6 +29,10 @@ module Order
|
|
|
28
29
|
GetOrderDetailsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("order.v1.GetOrderDetailsResponse").msgclass
|
|
29
30
|
ListOrdersForPrincipalRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("order.v1.ListOrdersForPrincipalRequest").msgclass
|
|
30
31
|
ListOrdersForPrincipalResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("order.v1.ListOrdersForPrincipalResponse").msgclass
|
|
32
|
+
OrderCursor = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("order.v1.OrderCursor").msgclass
|
|
33
|
+
OrderRecord = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("order.v1.OrderRecord").msgclass
|
|
34
|
+
OrdersChangedSinceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("order.v1.OrdersChangedSinceRequest").msgclass
|
|
35
|
+
OrdersChangedSinceResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("order.v1.OrdersChangedSinceResponse").msgclass
|
|
31
36
|
ReturnStatus = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("order.v1.ReturnStatus").enummodule
|
|
32
37
|
end
|
|
33
38
|
end
|
|
@@ -21,6 +21,7 @@ module Order
|
|
|
21
21
|
rpc :OrderDelivered, ::Order::V1::OrderDeliveredRequest, ::Order::V1::OrderDeliveredResponse
|
|
22
22
|
rpc :OpenReturn, ::Order::V1::OpenReturnRequest, ::Order::V1::OpenReturnResponse
|
|
23
23
|
rpc :ReturnGoodsReceived, ::Order::V1::ReturnGoodsReceivedRequest, ::Order::V1::ReturnGoodsReceivedResponse
|
|
24
|
+
rpc :OrdersChangedSince, ::Order::V1::OrdersChangedSinceRequest, ::Order::V1::OrdersChangedSinceResponse
|
|
24
25
|
end
|
|
25
26
|
|
|
26
27
|
Stub = Service.rpc_stub_class
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: search/v1/search.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\x16search/v1/search.proto\x12\tsearch.v1\x1a\x16\x63ommon/v1/common.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"4\n\x04Page\x12\x16\n\x06offset\x18\x01 \x01(\x05R\x06offset\x12\x14\n\x05limit\x18\x02 \x01(\x05R\x05limit\"\x8c\x01\n\x0eIndexFreshness\x12\x43\n\x0findexed_through\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x0eindexedThrough\x12\x1f\n\x0b\x61ge_seconds\x18\x02 \x01(\x03R\nageSeconds\x12\x14\n\x05stale\x18\x03 \x01(\x08R\x05stale\"\xa3\x02\n\nProductHit\x12\x10\n\x03sku\x18\x01 \x01(\tR\x03sku\x12\x32\n\x15merchant_principal_id\x18\x02 \x01(\tR\x13merchantPrincipalId\x12\x14\n\x05title\x18\x03 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x04 \x01(\tR\x0b\x64\x65scription\x12&\n\x05price\x18\x05 \x01(\x0b\x32\x10.common.v1.MoneyR\x05price\x12\x1e\n\ncategories\x18\x06 \x03(\tR\ncategories\x12\x39\n\nupdated_at\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tupdatedAt\x12\x14\n\x05score\x18\x08 \x01(\x01R\x05score\"8\n\nFacetValue\x12\x14\n\x05value\x18\x01 \x01(\tR\x05value\x12\x14\n\x05\x63ount\x18\x02 \x01(\x03R\x05\x63ount\"L\n\x05\x46\x61\x63\x65t\x12\x14\n\x05\x66ield\x18\x01 \x01(\tR\x05\x66ield\x12-\n\x06values\x18\x02 \x03(\x0b\x32\x15.search.v1.FacetValueR\x06values\"\xd9\x01\n\x15SearchProductsRequest\x12\x12\n\x04text\x18\x01 \x01(\tR\x04text\x12\x1e\n\ncategories\x18\x02 \x03(\tR\ncategories\x12\x32\n\x15merchant_principal_id\x18\x03 \x01(\tR\x13merchantPrincipalId\x12#\n\x04page\x18\x04 \x01(\x0b\x32\x0f.search.v1.PageR\x04page\x12\x33\n\x07ranking\x18\x05 \x01(\x0e\x32\x19.search.v1.RankingProfileR\x07ranking\"\xbc\x01\n\x16SearchProductsResponse\x12)\n\x04hits\x18\x01 \x03(\x0b\x32\x15.search.v1.ProductHitR\x04hits\x12\x14\n\x05total\x18\x02 \x01(\x03R\x05total\x12(\n\x06\x66\x61\x63\x65ts\x18\x03 \x03(\x0b\x32\x10.search.v1.FacetR\x06\x66\x61\x63\x65ts\x12\x37\n\tfreshness\x18\x04 \x01(\x0b\x32\x19.search.v1.IndexFreshnessR\tfreshness\"F\n\x16SuggestProductsRequest\x12\x16\n\x06prefix\x18\x01 \x01(\tR\x06prefix\x12\x14\n\x05limit\x18\x02 \x01(\x05R\x05limit\";\n\x17SuggestProductsResponse\x12 \n\x0bsuggestions\x18\x01 \x03(\tR\x0bsuggestions*\x8b\x01\n\x0eRankingProfile\x12\x1f\n\x1bRANKING_PROFILE_UNSPECIFIED\x10\x00\x12\x1d\n\x19RANKING_PROFILE_RELEVANCE\x10\x01\x12\x1a\n\x16RANKING_PROFILE_NEWEST\x10\x02\x12\x1d\n\x19RANKING_PROFILE_PRICE_ASC\x10\x03\x32\xc0\x01\n\rSearchService\x12U\n\x0eSearchProducts\x12 .search.v1.SearchProductsRequest\x1a!.search.v1.SearchProductsResponse\x12X\n\x0fSuggestProducts\x12!.search.v1.SuggestProductsRequest\x1a\".search.v1.SuggestProductsResponseB\xcc\x01\n\x1f\x63om.kinetix.contracts.search.v1B\x0bSearchProtoP\x01ZEgithub.com/WildanFrananda/kinetix-contracts/gen/go/search/v1;searchv1\xa2\x02\x03KNX\xaa\x02\x1bKinetix.Contracts.Search.V1\xca\x02\tSearch\\V1\xe2\x02\x15Search\\V1\\GPBMetadata\xea\x02\nSearch::V1b\x06proto3"
|
|
12
|
+
|
|
13
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
|
14
|
+
pool.add_serialized_file(descriptor_data)
|
|
15
|
+
|
|
16
|
+
module Search
|
|
17
|
+
module V1
|
|
18
|
+
Page = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("search.v1.Page").msgclass
|
|
19
|
+
IndexFreshness = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("search.v1.IndexFreshness").msgclass
|
|
20
|
+
ProductHit = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("search.v1.ProductHit").msgclass
|
|
21
|
+
FacetValue = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("search.v1.FacetValue").msgclass
|
|
22
|
+
Facet = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("search.v1.Facet").msgclass
|
|
23
|
+
SearchProductsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("search.v1.SearchProductsRequest").msgclass
|
|
24
|
+
SearchProductsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("search.v1.SearchProductsResponse").msgclass
|
|
25
|
+
SuggestProductsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("search.v1.SuggestProductsRequest").msgclass
|
|
26
|
+
SuggestProductsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("search.v1.SuggestProductsResponse").msgclass
|
|
27
|
+
RankingProfile = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("search.v1.RankingProfile").enummodule
|
|
28
|
+
end
|
|
29
|
+
end
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
2
|
+
# Source: search/v1/search.proto for package 'Search.V1'
|
|
3
|
+
|
|
4
|
+
require 'grpc'
|
|
5
|
+
require 'search/v1/search_pb'
|
|
6
|
+
|
|
7
|
+
module Search
|
|
8
|
+
module V1
|
|
9
|
+
module SearchService
|
|
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 = 'search.v1.SearchService'
|
|
17
|
+
|
|
18
|
+
rpc :SearchProducts, ::Search::V1::SearchProductsRequest, ::Search::V1::SearchProductsResponse
|
|
19
|
+
rpc :SuggestProducts, ::Search::V1::SuggestProductsRequest, ::Search::V1::SuggestProductsResponse
|
|
20
|
+
end
|
|
21
|
+
|
|
22
|
+
Stub = Service.rpc_stub_class
|
|
23
|
+
end
|
|
24
|
+
end
|
|
25
|
+
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.0.
|
|
4
|
+
version: 1.0.19
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Kinetix
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-09-
|
|
11
|
+
date: 2026-09-22 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: google-protobuf
|
|
@@ -69,6 +69,8 @@ files:
|
|
|
69
69
|
- pricing/v1/pricing_services_pb.rb
|
|
70
70
|
- returns/v1/returns_pb.rb
|
|
71
71
|
- returns/v1/returns_services_pb.rb
|
|
72
|
+
- search/v1/search_pb.rb
|
|
73
|
+
- search/v1/search_services_pb.rb
|
|
72
74
|
- shipping/v1/shipping_pb.rb
|
|
73
75
|
- shipping/v1/shipping_services_pb.rb
|
|
74
76
|
homepage:
|