kinetix-contracts 1.6.0 → 1.7.0
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/notification/v1/notification_pb.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b444a9c039b2ca00110a1d360b84ec4381dd330342d84a9c7f03e233d2390f58
|
|
4
|
+
data.tar.gz: 7349cca4699154a74751f408f86339e352b5bd4106af9ecb3287f2bf1ecc0829
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 329f0a9ecfb4b23a433731a3a588d141b119012fc6b7a141d7101bbfa068f36dcbc55ae3c1634baec8643467d97f8dab3fa155efa3d29896e57da7826b88c64d
|
|
7
|
+
data.tar.gz: b1b5b328c7e51ce59903dbe48ab6a07bd9e726938aab7484ac6186f526e1e47780bc4ed3d615e90403f8dcbeca679f3312b5c42c8c1ce75d20be693ea5398555
|
|
@@ -7,7 +7,7 @@ require 'google/protobuf'
|
|
|
7
7
|
require 'common/v1/common_pb'
|
|
8
8
|
|
|
9
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*\
|
|
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*\xef\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\x12 \n\x1cTEMPLATE_LIABILITY_STATEMENT\x10\x07\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
11
|
|
|
12
12
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
|
13
13
|
pool.add_serialized_file(descriptor_data)
|