kinetix-contracts 1.0.15 → 1.0.16

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: 20eeee7eb6723ffd85337562bf04a7e58fe7ceaca3775861c91eaa7104134507
4
+ data.tar.gz: c0f42179e36636969ec2a4a70a6e2a9018611940fe3b39385bdd27c1d9085ca8
5
5
  SHA512:
6
- metadata.gz: cd29731a646de8ba2eb445c680e33bc6a15cee241f0be646c8f746c4de59bd193e4de6b241f3729c62ac59baa3589a8c9999c034cb1af8918fb16729e6230345
7
- data.tar.gz: 63c570eadb1a6137f3ec12c890c0d5fcddcb0bc25c7438eb8ed15a896935b0b2f72166b3217065128e1d2c5cbf12f6c2ea60779f294a194e093db69bb7f2c346
6
+ metadata.gz: a01949271e0b849ddf34d89d2e9bd5ddc3212de6fef6f47707e2f13271628632fc68838f19bfb2bf99590f2d6ef59ac2c43dd06c0deb06ab066246222fdcd743
7
+ data.tar.gz: caae17dbe59c146bbb7078f9deb35f6cca637959047d2a85ded06795b5ee7dc7b14425f284206f55d272657dcec1c4a09f8ad4cb02670d71b85684c6e02743d5
@@ -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.16
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kinetix
@@ -57,6 +57,8 @@ files:
57
57
  - geo/v1/geo_services_pb.rb
58
58
  - identity/v1/identity_pb.rb
59
59
  - identity/v1/identity_services_pb.rb
60
+ - notification/v1/notification_pb.rb
61
+ - notification/v1/notification_services_pb.rb
60
62
  - order/v1/order_pb.rb
61
63
  - order/v1/order_services_pb.rb
62
64
  - payment/v1/payment_pb.rb