kinetix-contracts 1.0.17 → 1.0.18

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 119c3ad1ebf9db312c5164882cc78d59d86ee684375fa763920b2432c2175d5a
4
- data.tar.gz: '07898b2d2245d3c4d56915718ea4a227f9de0e80c6962a2bc2a22f011040743c'
3
+ metadata.gz: 383467d6621faace724f220d357067c3ecd04c59c4107b847dc0d38be2534ff1
4
+ data.tar.gz: f25e62e5497aab508e7a08b120ab90439278cd0f3ff5e4c1e07259689aeb1a04
5
5
  SHA512:
6
- metadata.gz: ccc0664a8bc1592c6588a386ee70def983cc0afb4201c33e34d198f4f41d3420cb7ca62f2edf25ae9c9ea55fc59f98d51b8322d7aec0859d0046c5dad59f4d4b
7
- data.tar.gz: adcc11d1b221241d03d1bd8448b527390939e9025004c842ba81fb373e52c61e63f724bbdde0a9c44e0dd827063d37bacbabb6cef5bc331b0de075c313d13b9c
6
+ metadata.gz: e401c786aa57c39fae32905547939178fa536229bd2f9dd59cf3aa97ed702116c184e94a8222723ea1d179c72b8c51938a58508c4a5bd14e380a07e58693303a
7
+ data.tar.gz: c4a9621dee53ca0b31f25be186a6fe2781ad33c252879787fe9eb693553f56ddd7c4170d141796077fddc77a488cd4244df62adb46abdb9aae72a8154c35014d
@@ -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.17
4
+ version: 1.0.18
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-21 00:00:00.000000000 Z
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: