kinetix-contracts 1.0.15 → 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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ce08e8fb56d2b5983e73aed00c3adbe11b381f5a497d239fe0cf869510427ced
4
- data.tar.gz: 26330a88e708a442392ec0ffb882ec480cbcb65d8fae299a2dd8978259674c88
3
+ metadata.gz: 119c3ad1ebf9db312c5164882cc78d59d86ee684375fa763920b2432c2175d5a
4
+ data.tar.gz: '07898b2d2245d3c4d56915718ea4a227f9de0e80c6962a2bc2a22f011040743c'
5
5
  SHA512:
6
- metadata.gz: cd29731a646de8ba2eb445c680e33bc6a15cee241f0be646c8f746c4de59bd193e4de6b241f3729c62ac59baa3589a8c9999c034cb1af8918fb16729e6230345
7
- data.tar.gz: 63c570eadb1a6137f3ec12c890c0d5fcddcb0bc25c7438eb8ed15a896935b0b2f72166b3217065128e1d2c5cbf12f6c2ea60779f294a194e093db69bb7f2c346
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
@@ -0,0 +1,31 @@
1
+ # frozen_string_literal: true
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: notification/v1/notification.proto
4
+
5
+ require 'google/protobuf'
6
+
7
+ require 'common/v1/common_pb'
8
+
9
+
10
+ descriptor_data = "\n\"notification/v1/notification.proto\x12\x0fnotification.v1\x1a\x16\x63ommon/v1/common.proto\"\x9a\x01\n\x15RegisterDeviceRequest\x12!\n\x0cprincipal_id\x18\x01 \x01(\tR\x0bprincipalId\x12!\n\x0c\x64\x65vice_token\x18\x02 \x01(\tR\x0b\x64\x65viceToken\x12;\n\x08platform\x18\x03 \x01(\x0e\x32\x1f.notification.v1.DevicePlatformR\x08platform\"\x95\x01\n\x16RegisterDeviceResponse\x12\x1e\n\nregistered\x18\x01 \x01(\x08R\nregistered\x12-\n\x12\x61lready_registered\x18\x02 \x01(\x08R\x11\x61lreadyRegistered\x12,\n\x05\x65rror\x18\x03 \x01(\x0b\x32\x16.common.v1.ErrorDetailR\x05\x65rror\"8\n\x13\x46orgetDeviceRequest\x12!\n\x0c\x64\x65vice_token\x18\x01 \x01(\tR\x0b\x64\x65viceToken\"b\n\x14\x46orgetDeviceResponse\x12\x1c\n\tforgotten\x18\x01 \x01(\x08R\tforgotten\x12,\n\x05\x65rror\x18\x02 \x01(\x0b\x32\x16.common.v1.ErrorDetailR\x05\x65rror\"\xf5\x02\n\rNotifyRequest\x12\x34\n\x16recipient_principal_id\x18\x01 \x01(\tR\x14recipientPrincipalId\x12\x35\n\x08template\x18\x02 \x01(\x0e\x32\x19.notification.v1.TemplateR\x08template\x12\x42\n\x06params\x18\x03 \x03(\x0b\x32*.notification.v1.NotifyRequest.ParamsEntryR\x06params\x12\x34\n\x08\x63hannels\x18\x04 \x03(\x0e\x32\x18.notification.v1.ChannelR\x08\x63hannels\x12\x42\n\x0fidempotency_key\x18\x05 \x01(\x0b\x32\x19.common.v1.IdempotencyKeyR\x0eidempotencyKey\x1a\x39\n\x0bParamsEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value:\x02\x38\x01\"\xae\x01\n\x0eNotifyResponse\x12\x1a\n\x08\x61\x63\x63\x65pted\x18\x01 \x01(\x08R\x08\x61\x63\x63\x65pted\x12\'\n\x0fnotification_id\x18\x02 \x01(\tR\x0enotificationId\x12)\n\x10\x61lready_accepted\x18\x03 \x01(\x08R\x0f\x61lreadyAccepted\x12,\n\x05\x65rror\x18\x04 \x01(\x0b\x32\x16.common.v1.ErrorDetailR\x05\x65rror\"=\n\x12GetDeliveryRequest\x12\'\n\x0fnotification_id\x18\x01 \x01(\tR\x0enotificationId\"\xe1\x01\n\x0f\x44\x65liveryAttempt\x12\x32\n\x07\x63hannel\x18\x01 \x01(\x0e\x32\x18.notification.v1.ChannelR\x07\x63hannel\x12\x37\n\x06status\x18\x02 \x01(\x0e\x32\x1f.notification.v1.DeliveryStatusR\x06status\x12\x1a\n\x08\x61ttempts\x18\x03 \x01(\x05R\x08\x61ttempts\x12\x1d\n\nlast_error\x18\x04 \x01(\tR\tlastError\x12&\n\x0flast_attempt_at\x18\x05 \x01(\tR\rlastAttemptAt\"\xff\x01\n\x13GetDeliveryResponse\x12\x14\n\x05\x66ound\x18\x01 \x01(\x08R\x05\x66ound\x12\'\n\x0fnotification_id\x18\x02 \x01(\tR\x0enotificationId\x12\x34\n\x16recipient_principal_id\x18\x03 \x01(\tR\x14recipientPrincipalId\x12\x35\n\x08template\x18\x04 \x01(\x0e\x32\x19.notification.v1.TemplateR\x08template\x12<\n\x08\x61ttempts\x18\x05 \x03(\x0b\x32 .notification.v1.DeliveryAttemptR\x08\x61ttempts*g\n\x0e\x44\x65vicePlatform\x12\x1f\n\x1b\x44\x45VICE_PLATFORM_UNSPECIFIED\x10\x00\x12\x1b\n\x17\x44\x45VICE_PLATFORM_ANDROID\x10\x01\x12\x17\n\x13\x44\x45VICE_PLATFORM_IOS\x10\x02*G\n\x07\x43hannel\x12\x17\n\x13\x43HANNEL_UNSPECIFIED\x10\x00\x12\x10\n\x0c\x43HANNEL_PUSH\x10\x01\x12\x11\n\rCHANNEL_EMAIL\x10\x02*\xa5\x01\n\x0e\x44\x65liveryStatus\x12\x1f\n\x1b\x44\x45LIVERY_STATUS_UNSPECIFIED\x10\x00\x12\x1b\n\x17\x44\x45LIVERY_STATUS_PENDING\x10\x01\x12\x18\n\x14\x44\x45LIVERY_STATUS_SENT\x10\x02\x12\x1a\n\x16\x44\x45LIVERY_STATUS_FAILED\x10\x03\x12\x1f\n\x1b\x44\x45LIVERY_STATUS_UNREACHABLE\x10\x04*\xcd\x01\n\x08Template\x12\x18\n\x14TEMPLATE_UNSPECIFIED\x10\x00\x12\x17\n\x13TEMPLATE_ORDER_PAID\x10\x01\x12\x19\n\x15TEMPLATE_ORDER_PACKED\x10\x02\x12\x1d\n\x19TEMPLATE_COURIER_ASSIGNED\x10\x03\x12\x1c\n\x18TEMPLATE_ORDER_DELIVERED\x10\x04\x12\x1a\n\x16TEMPLATE_COURIER_OFFER\x10\x05\x12\x1a\n\x16TEMPLATE_RETURN_OPENED\x10\x06\x32\xfa\x02\n\x13NotificationService\x12I\n\x06Notify\x12\x1e.notification.v1.NotifyRequest\x1a\x1f.notification.v1.NotifyResponse\x12X\n\x0bGetDelivery\x12#.notification.v1.GetDeliveryRequest\x1a$.notification.v1.GetDeliveryResponse\x12\x61\n\x0eRegisterDevice\x12&.notification.v1.RegisterDeviceRequest\x1a\'.notification.v1.RegisterDeviceResponse\x12[\n\x0c\x46orgetDevice\x12$.notification.v1.ForgetDeviceRequest\x1a%.notification.v1.ForgetDeviceResponseB\xfc\x01\n%com.kinetix.contracts.notification.v1B\x11NotificationProtoP\x01ZQgithub.com/WildanFrananda/kinetix-contracts/gen/go/notification/v1;notificationv1\xa2\x02\x03KNX\xaa\x02!Kinetix.Contracts.Notification.V1\xca\x02\x0fNotification\\V1\xe2\x02\x1bNotification\\V1\\GPBMetadata\xea\x02\x10Notification::V1b\x06proto3"
11
+
12
+ pool = Google::Protobuf::DescriptorPool.generated_pool
13
+ pool.add_serialized_file(descriptor_data)
14
+
15
+ module Notification
16
+ module V1
17
+ RegisterDeviceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("notification.v1.RegisterDeviceRequest").msgclass
18
+ RegisterDeviceResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("notification.v1.RegisterDeviceResponse").msgclass
19
+ ForgetDeviceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("notification.v1.ForgetDeviceRequest").msgclass
20
+ ForgetDeviceResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("notification.v1.ForgetDeviceResponse").msgclass
21
+ NotifyRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("notification.v1.NotifyRequest").msgclass
22
+ NotifyResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("notification.v1.NotifyResponse").msgclass
23
+ GetDeliveryRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("notification.v1.GetDeliveryRequest").msgclass
24
+ DeliveryAttempt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("notification.v1.DeliveryAttempt").msgclass
25
+ GetDeliveryResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("notification.v1.GetDeliveryResponse").msgclass
26
+ DevicePlatform = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("notification.v1.DevicePlatform").enummodule
27
+ Channel = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("notification.v1.Channel").enummodule
28
+ DeliveryStatus = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("notification.v1.DeliveryStatus").enummodule
29
+ Template = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("notification.v1.Template").enummodule
30
+ end
31
+ end
@@ -0,0 +1,27 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # Source: notification/v1/notification.proto for package 'Notification.V1'
3
+
4
+ require 'grpc'
5
+ require 'notification/v1/notification_pb'
6
+
7
+ module Notification
8
+ module V1
9
+ module NotificationService
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 = 'notification.v1.NotificationService'
17
+
18
+ rpc :Notify, ::Notification::V1::NotifyRequest, ::Notification::V1::NotifyResponse
19
+ rpc :GetDelivery, ::Notification::V1::GetDeliveryRequest, ::Notification::V1::GetDeliveryResponse
20
+ rpc :RegisterDevice, ::Notification::V1::RegisterDeviceRequest, ::Notification::V1::RegisterDeviceResponse
21
+ rpc :ForgetDevice, ::Notification::V1::ForgetDeviceRequest, ::Notification::V1::ForgetDeviceResponse
22
+ end
23
+
24
+ Stub = Service.rpc_stub_class
25
+ end
26
+ end
27
+ 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.15
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
@@ -57,6 +59,8 @@ files:
57
59
  - geo/v1/geo_services_pb.rb
58
60
  - identity/v1/identity_pb.rb
59
61
  - identity/v1/identity_services_pb.rb
62
+ - notification/v1/notification_pb.rb
63
+ - notification/v1/notification_services_pb.rb
60
64
  - order/v1/order_pb.rb
61
65
  - order/v1/order_services_pb.rb
62
66
  - payment/v1/payment_pb.rb