kinetix-contracts 1.0.16 → 1.0.17
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/catalog/v1/catalog_pb.rb +27 -0
- data/catalog/v1/catalog_services_pb.rb +26 -0
- metadata +3 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 119c3ad1ebf9db312c5164882cc78d59d86ee684375fa763920b2432c2175d5a
|
|
4
|
+
data.tar.gz: '07898b2d2245d3c4d56915718ea4a227f9de0e80c6962a2bc2a22f011040743c'
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ccc0664a8bc1592c6588a386ee70def983cc0afb4201c33e34d198f4f41d3420cb7ca62f2edf25ae9c9ea55fc59f98d51b8322d7aec0859d0046c5dad59f4d4b
|
|
7
|
+
data.tar.gz: adcc11d1b221241d03d1bd8448b527390939e9025004c842ba81fb373e52c61e63f724bbdde0a9c44e0dd827063d37bacbabb6cef5bc331b0de075c313d13b9c
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: catalog/v1/catalog.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\x18\x63\x61talog/v1/catalog.proto\x12\ncatalog.v1\x1a\x16\x63ommon/v1/common.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"h\n\x06\x43ursor\x12\x43\n\x0fupdated_through\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x0eupdatedThrough\x12\x19\n\x08last_sku\x18\x02 \x01(\tR\x07lastSku\"\xd1\x02\n\x07Product\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\x1b\n\timage_url\x18\x06 \x01(\tR\x08imageUrl\x12#\n\rcategory_slug\x18\x07 \x01(\tR\x0c\x63\x61tegorySlug\x12#\n\rcategory_name\x18\x08 \x01(\tR\x0c\x63\x61tegoryName\x12\x39\n\nupdated_at\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tupdatedAt\"W\n\x13\x43hangedSinceRequest\x12*\n\x06\x63ursor\x18\x01 \x01(\x0b\x32\x12.catalog.v1.CursorR\x06\x63ursor\x12\x14\n\x05limit\x18\x02 \x01(\x05R\x05limit\"\xad\x01\n\x14\x43hangedSinceResponse\x12/\n\x08upserted\x18\x01 \x03(\x0b\x32\x13.catalog.v1.ProductR\x08upserted\x12!\n\x0cremoved_skus\x18\x02 \x03(\tR\x0bremovedSkus\x12&\n\x04next\x18\x03 \x01(\x0b\x32\x12.catalog.v1.CursorR\x04next\x12\x19\n\x08has_more\x18\x04 \x01(\x08R\x07hasMore\"%\n\x11GetProductRequest\x12\x10\n\x03sku\x18\x01 \x01(\tR\x03sku\"Y\n\x12GetProductResponse\x12\x14\n\x05\x66ound\x18\x01 \x01(\x08R\x05\x66ound\x12-\n\x07product\x18\x02 \x01(\x0b\x32\x13.catalog.v1.ProductR\x07product\"\x16\n\x14\x43ountProductsRequest\"-\n\x15\x43ountProductsResponse\x12\x14\n\x05total\x18\x01 \x01(\x03R\x05total2\x86\x02\n\x0e\x43\x61talogService\x12Q\n\x0c\x43hangedSince\x12\x1f.catalog.v1.ChangedSinceRequest\x1a .catalog.v1.ChangedSinceResponse\x12K\n\nGetProduct\x12\x1d.catalog.v1.GetProductRequest\x1a\x1e.catalog.v1.GetProductResponse\x12T\n\rCountProducts\x12 .catalog.v1.CountProductsRequest\x1a!.catalog.v1.CountProductsResponseB\xd4\x01\n com.kinetix.contracts.catalog.v1B\x0c\x43\x61talogProtoP\x01ZGgithub.com/WildanFrananda/kinetix-contracts/gen/go/catalog/v1;catalogv1\xa2\x02\x03KNX\xaa\x02\x1cKinetix.Contracts.Catalog.V1\xca\x02\nCatalog\\V1\xe2\x02\x16\x43\x61talog\\V1\\GPBMetadata\xea\x02\x0b\x43\x61talog::V1b\x06proto3"
|
|
12
|
+
|
|
13
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
|
14
|
+
pool.add_serialized_file(descriptor_data)
|
|
15
|
+
|
|
16
|
+
module Catalog
|
|
17
|
+
module V1
|
|
18
|
+
Cursor = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("catalog.v1.Cursor").msgclass
|
|
19
|
+
Product = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("catalog.v1.Product").msgclass
|
|
20
|
+
ChangedSinceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("catalog.v1.ChangedSinceRequest").msgclass
|
|
21
|
+
ChangedSinceResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("catalog.v1.ChangedSinceResponse").msgclass
|
|
22
|
+
GetProductRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("catalog.v1.GetProductRequest").msgclass
|
|
23
|
+
GetProductResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("catalog.v1.GetProductResponse").msgclass
|
|
24
|
+
CountProductsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("catalog.v1.CountProductsRequest").msgclass
|
|
25
|
+
CountProductsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("catalog.v1.CountProductsResponse").msgclass
|
|
26
|
+
end
|
|
27
|
+
end
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
2
|
+
# Source: catalog/v1/catalog.proto for package 'Catalog.V1'
|
|
3
|
+
|
|
4
|
+
require 'grpc'
|
|
5
|
+
require 'catalog/v1/catalog_pb'
|
|
6
|
+
|
|
7
|
+
module Catalog
|
|
8
|
+
module V1
|
|
9
|
+
module CatalogService
|
|
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 = 'catalog.v1.CatalogService'
|
|
17
|
+
|
|
18
|
+
rpc :ChangedSince, ::Catalog::V1::ChangedSinceRequest, ::Catalog::V1::ChangedSinceResponse
|
|
19
|
+
rpc :GetProduct, ::Catalog::V1::GetProductRequest, ::Catalog::V1::GetProductResponse
|
|
20
|
+
rpc :CountProducts, ::Catalog::V1::CountProductsRequest, ::Catalog::V1::CountProductsResponse
|
|
21
|
+
end
|
|
22
|
+
|
|
23
|
+
Stub = Service.rpc_stub_class
|
|
24
|
+
end
|
|
25
|
+
end
|
|
26
|
+
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
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.17
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Kinetix
|
|
@@ -44,6 +44,8 @@ executables: []
|
|
|
44
44
|
extensions: []
|
|
45
45
|
extra_rdoc_files: []
|
|
46
46
|
files:
|
|
47
|
+
- catalog/v1/catalog_pb.rb
|
|
48
|
+
- catalog/v1/catalog_services_pb.rb
|
|
47
49
|
- common/v1/common_pb.rb
|
|
48
50
|
- fleet/v1/fleet_pb.rb
|
|
49
51
|
- fleet/v1/fleet_services_pb.rb
|