kinetix-contracts 1.1.0 → 1.2.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/notary/v1/watch_pb.rb +25 -0
- data/notary/v1/watch_services_pb.rb +24 -0
- data/payment/v1/liability_pb.rb +1 -1
- data/payment/v1/liability_record_pb.rb +21 -0
- data/payment/v1/liability_record_services_pb.rb +24 -0
- metadata +6 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 98e3b4611be55b110d731b067d4c84f8abbc372039b985ffc1d056e71a4fc107
|
|
4
|
+
data.tar.gz: 2b0c76b88f9fe7e1e2fbfe36dbc0a8352979d2458746521af7ebeb39c6382c12
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 99015eb5b28ca48945bf9f6e239a4743c5ddd36a1ffffbd7e3ce9754dc99717f8cfb75f05b156662a163bec4fe3f934073b35a3b8c814bc09ee5ac75010a7be8
|
|
7
|
+
data.tar.gz: 6153e6d916c53d38ab35f5c248bce81ff0ff4491bd13c170a67e26f169bb5479a390fef86256e3eb229194e29ff01e489093cf829fde50bd0e4c995e9dabd975
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: notary/v1/watch.proto
|
|
4
|
+
|
|
5
|
+
require 'google/protobuf'
|
|
6
|
+
|
|
7
|
+
require 'common/v1/common_pb'
|
|
8
|
+
require 'google/protobuf/timestamp_pb'
|
|
9
|
+
require 'payment/v1/liability_pb'
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
descriptor_data = "\n\x15notary/v1/watch.proto\x12\tnotary.v1\x1a\x16\x63ommon/v1/common.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1apayment/v1/liability.proto\"\x94\x01\n\x13\x41pproveEpochRequest\x12\x36\n\x08proposal\x18\x01 \x01(\x0b\x32\x18.notary.v1.EpochProposalH\x00R\x08proposal\x12=\n\x08\x61\x63\x63ounts\x18\x02 \x01(\x0b\x32\x1f.notary.v1.ProposedAccountBatchH\x00R\x08\x61\x63\x63ountsB\x06\n\x04part\"\xfd\x01\n\rEpochProposal\x12\x1f\n\x0bsnapshot_id\x18\x01 \x01(\tR\nsnapshotId\x12\x16\n\x06number\x18\x02 \x01(\x04R\x06number\x12\'\n\x0fprevious_digest\x18\x03 \x01(\x0cR\x0epreviousDigest\x12\x12\n\x04root\x18\x04 \x01(\x0cR\x04root\x12&\n\x05total\x18\x05 \x01(\x0b\x32\x10.common.v1.MoneyR\x05total\x12\x1d\n\nleaf_count\x18\x06 \x01(\x04R\tleafCount\x12/\n\x05\x61s_of\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x04\x61sOf\"N\n\x14ProposedAccountBatch\x12\x36\n\x08\x61\x63\x63ounts\x18\x01 \x03(\x0b\x32\x1a.notary.v1.ProposedAccountR\x08\x61\x63\x63ounts\"\xb0\x01\n\x0fProposedAccount\x12-\n\x04kind\x18\x01 \x01(\x0e\x32\x19.payment.v1.LiabilityKindR\x04kind\x12\x16\n\x06holder\x18\x02 \x01(\tR\x06holder\x12*\n\x07\x62\x61lance\x18\x03 \x01(\x0b\x32\x10.common.v1.MoneyR\x07\x62\x61lance\x12\x16\n\x06secret\x18\x04 \x01(\x0cR\x06secret\x12\x12\n\x04salt\x18\x05 \x01(\x0cR\x04salt\"L\n\x14\x41pproveEpochResponse\x12\x16\n\x06member\x18\x01 \x01(\x0cR\x06member\x12\x1c\n\tsignature\x18\x02 \x01(\x0cR\tsignature2f\n\x11\x45pochWatchService\x12Q\n\x0c\x41pproveEpoch\x12\x1e.notary.v1.ApproveEpochRequest\x1a\x1f.notary.v1.ApproveEpochResponse(\x01\x42\xcb\x01\n\x1f\x63om.kinetix.contracts.notary.v1B\nWatchProtoP\x01ZEgithub.com/WildanFrananda/kinetix-contracts/gen/go/notary/v1;notaryv1\xa2\x02\x03KNX\xaa\x02\x1bKinetix.Contracts.Notary.V1\xca\x02\tNotary\\V1\xe2\x02\x15Notary\\V1\\GPBMetadata\xea\x02\nNotary::V1b\x06proto3"
|
|
13
|
+
|
|
14
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
|
15
|
+
pool.add_serialized_file(descriptor_data)
|
|
16
|
+
|
|
17
|
+
module Notary
|
|
18
|
+
module V1
|
|
19
|
+
ApproveEpochRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("notary.v1.ApproveEpochRequest").msgclass
|
|
20
|
+
EpochProposal = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("notary.v1.EpochProposal").msgclass
|
|
21
|
+
ProposedAccountBatch = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("notary.v1.ProposedAccountBatch").msgclass
|
|
22
|
+
ProposedAccount = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("notary.v1.ProposedAccount").msgclass
|
|
23
|
+
ApproveEpochResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("notary.v1.ApproveEpochResponse").msgclass
|
|
24
|
+
end
|
|
25
|
+
end
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
2
|
+
# Source: notary/v1/watch.proto for package 'Notary.V1'
|
|
3
|
+
|
|
4
|
+
require 'grpc'
|
|
5
|
+
require 'notary/v1/watch_pb'
|
|
6
|
+
|
|
7
|
+
module Notary
|
|
8
|
+
module V1
|
|
9
|
+
module EpochWatchService
|
|
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 = 'notary.v1.EpochWatchService'
|
|
17
|
+
|
|
18
|
+
rpc :ApproveEpoch, stream(::Notary::V1::ApproveEpochRequest), ::Notary::V1::ApproveEpochResponse
|
|
19
|
+
end
|
|
20
|
+
|
|
21
|
+
Stub = Service.rpc_stub_class
|
|
22
|
+
end
|
|
23
|
+
end
|
|
24
|
+
end
|
data/payment/v1/liability_pb.rb
CHANGED
|
@@ -8,7 +8,7 @@ require 'common/v1/common_pb'
|
|
|
8
8
|
require 'google/protobuf/timestamp_pb'
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
descriptor_data = "\n\x1apayment/v1/liability.proto\x12\npayment.v1\x1a\x16\x63ommon/v1/common.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"<\n\x1eStreamLiabilitySnapshotRequest\x12\x1a\n\x08\x63urrency\x18\x01 \x01(\tR\x08\x63urrency\"\xeb\x01\n\x1fStreamLiabilitySnapshotResponse\x12=\n\x06header\x18\x01 \x01(\x0b\x32#.payment.v1.LiabilitySnapshotHeaderH\x00R\x06header\x12?\n\x08\x61\x63\x63ounts\x18\x02 \x01(\x0b\x32!.payment.v1.LiabilityAccountBatchH\x00R\x08\x61\x63\x63ounts\x12@\n\x07trailer\x18\x03 \x01(\x0b\x32$.payment.v1.LiabilitySnapshotTrailerH\x00R\x07trailerB\x06\n\x04part\"
|
|
11
|
+
descriptor_data = "\n\x1apayment/v1/liability.proto\x12\npayment.v1\x1a\x16\x63ommon/v1/common.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"<\n\x1eStreamLiabilitySnapshotRequest\x12\x1a\n\x08\x63urrency\x18\x01 \x01(\tR\x08\x63urrency\"\xeb\x01\n\x1fStreamLiabilitySnapshotResponse\x12=\n\x06header\x18\x01 \x01(\x0b\x32#.payment.v1.LiabilitySnapshotHeaderH\x00R\x06header\x12?\n\x08\x61\x63\x63ounts\x18\x02 \x01(\x0b\x32!.payment.v1.LiabilityAccountBatchH\x00R\x08\x61\x63\x63ounts\x12@\n\x07trailer\x18\x03 \x01(\x0b\x32$.payment.v1.LiabilitySnapshotTrailerH\x00R\x07trailerB\x06\n\x04part\"\x87\x01\n\x17LiabilitySnapshotHeader\x12/\n\x05\x61s_of\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x04\x61sOf\x12\x1a\n\x08\x63urrency\x18\x02 \x01(\tR\x08\x63urrency\x12\x1f\n\x0bsnapshot_id\x18\x03 \x01(\tR\nsnapshotId\"Q\n\x15LiabilityAccountBatch\x12\x38\n\x08\x61\x63\x63ounts\x18\x01 \x03(\x0b\x32\x1c.payment.v1.LiabilityAccountR\x08\x61\x63\x63ounts\"\xc9\x01\n\x10LiabilityAccount\x12-\n\x04kind\x18\x01 \x01(\x0e\x32\x19.payment.v1.LiabilityKindR\x04kind\x12#\n\x0cprincipal_id\x18\x02 \x01(\tH\x00R\x0bprincipalId\x12+\n\x10suspense_purpose\x18\x03 \x01(\tH\x00R\x0fsuspensePurpose\x12*\n\x07\x62\x61lance\x18\x04 \x01(\x0b\x32\x10.common.v1.MoneyR\x07\x62\x61lanceB\x08\n\x06holder\"\x7f\n\x18LiabilitySnapshotTrailer\x12#\n\raccount_count\x18\x01 \x01(\x03R\x0c\x61\x63\x63ountCount\x12&\n\x05total\x18\x02 \x01(\x0b\x32\x10.common.v1.MoneyR\x05total\x12\x16\n\x06\x64igest\x18\x03 \x01(\x0cR\x06\x64igest*\xc9\x02\n\rLiabilityKind\x12\x1e\n\x1aLIABILITY_KIND_UNSPECIFIED\x10\x00\x12#\n\x1fLIABILITY_KIND_CUSTOMER_BALANCE\x10\x01\x12%\n!LIABILITY_KIND_MERCHANT_AVAILABLE\x10\x02\x12*\n&LIABILITY_KIND_MERCHANT_PENDING_ESCROW\x10\x03\x12#\n\x1fLIABILITY_KIND_DRIVER_AVAILABLE\x10\x04\x12(\n$LIABILITY_KIND_DRIVER_PENDING_ESCROW\x10\x05\x12%\n!LIABILITY_KIND_SUSPENSE_AVAILABLE\x10\x06\x12*\n&LIABILITY_KIND_SUSPENSE_PENDING_ESCROW\x10\x07\x32\x88\x01\n\x10LiabilityService\x12t\n\x17StreamLiabilitySnapshot\x12*.payment.v1.StreamLiabilitySnapshotRequest\x1a+.payment.v1.StreamLiabilitySnapshotResponse0\x01\x42\xd6\x01\n com.kinetix.contracts.payment.v1B\x0eLiabilityProtoP\x01ZGgithub.com/WildanFrananda/kinetix-contracts/gen/go/payment/v1;paymentv1\xa2\x02\x03KNX\xaa\x02\x1cKinetix.Contracts.Payment.V1\xca\x02\nPayment\\V1\xe2\x02\x16Payment\\V1\\GPBMetadata\xea\x02\x0bPayment::V1b\x06proto3"
|
|
12
12
|
|
|
13
13
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
|
14
14
|
pool.add_serialized_file(descriptor_data)
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: payment/v1/liability_record.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!payment/v1/liability_record.proto\x12\npayment.v1\x1a\x16\x63ommon/v1/common.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"D\n!GetLiabilitySnapshotRecordRequest\x12\x1f\n\x0bsnapshot_id\x18\x01 \x01(\tR\nsnapshotId\"\xf7\x01\n\"GetLiabilitySnapshotRecordResponse\x12\x1f\n\x0bsnapshot_id\x18\x01 \x01(\tR\nsnapshotId\x12/\n\x05\x61s_of\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x04\x61sOf\x12\x1a\n\x08\x63urrency\x18\x03 \x01(\tR\x08\x63urrency\x12#\n\raccount_count\x18\x04 \x01(\x03R\x0c\x61\x63\x63ountCount\x12&\n\x05total\x18\x05 \x01(\x0b\x32\x10.common.v1.MoneyR\x05total\x12\x16\n\x06\x64igest\x18\x06 \x01(\x0cR\x06\x64igest2\x95\x01\n\x16LiabilityRecordService\x12{\n\x1aGetLiabilitySnapshotRecord\x12-.payment.v1.GetLiabilitySnapshotRecordRequest\x1a..payment.v1.GetLiabilitySnapshotRecordResponseB\xdc\x01\n com.kinetix.contracts.payment.v1B\x14LiabilityRecordProtoP\x01ZGgithub.com/WildanFrananda/kinetix-contracts/gen/go/payment/v1;paymentv1\xa2\x02\x03KNX\xaa\x02\x1cKinetix.Contracts.Payment.V1\xca\x02\nPayment\\V1\xe2\x02\x16Payment\\V1\\GPBMetadata\xea\x02\x0bPayment::V1b\x06proto3"
|
|
12
|
+
|
|
13
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
|
14
|
+
pool.add_serialized_file(descriptor_data)
|
|
15
|
+
|
|
16
|
+
module Payment
|
|
17
|
+
module V1
|
|
18
|
+
GetLiabilitySnapshotRecordRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("payment.v1.GetLiabilitySnapshotRecordRequest").msgclass
|
|
19
|
+
GetLiabilitySnapshotRecordResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("payment.v1.GetLiabilitySnapshotRecordResponse").msgclass
|
|
20
|
+
end
|
|
21
|
+
end
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
2
|
+
# Source: payment/v1/liability_record.proto for package 'Payment.V1'
|
|
3
|
+
|
|
4
|
+
require 'grpc'
|
|
5
|
+
require 'payment/v1/liability_record_pb'
|
|
6
|
+
|
|
7
|
+
module Payment
|
|
8
|
+
module V1
|
|
9
|
+
module LiabilityRecordService
|
|
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 = 'payment.v1.LiabilityRecordService'
|
|
17
|
+
|
|
18
|
+
rpc :GetLiabilitySnapshotRecord, ::Payment::V1::GetLiabilitySnapshotRecordRequest, ::Payment::V1::GetLiabilitySnapshotRecordResponse
|
|
19
|
+
end
|
|
20
|
+
|
|
21
|
+
Stub = Service.rpc_stub_class
|
|
22
|
+
end
|
|
23
|
+
end
|
|
24
|
+
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.
|
|
4
|
+
version: 1.2.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Kinetix
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-10-
|
|
11
|
+
date: 2026-10-14 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: google-protobuf
|
|
@@ -59,11 +59,15 @@ files:
|
|
|
59
59
|
- geo/v1/geo_services_pb.rb
|
|
60
60
|
- identity/v1/identity_pb.rb
|
|
61
61
|
- identity/v1/identity_services_pb.rb
|
|
62
|
+
- notary/v1/watch_pb.rb
|
|
63
|
+
- notary/v1/watch_services_pb.rb
|
|
62
64
|
- notification/v1/notification_pb.rb
|
|
63
65
|
- notification/v1/notification_services_pb.rb
|
|
64
66
|
- order/v1/order_pb.rb
|
|
65
67
|
- order/v1/order_services_pb.rb
|
|
66
68
|
- payment/v1/liability_pb.rb
|
|
69
|
+
- payment/v1/liability_record_pb.rb
|
|
70
|
+
- payment/v1/liability_record_services_pb.rb
|
|
67
71
|
- payment/v1/liability_services_pb.rb
|
|
68
72
|
- payment/v1/payment_pb.rb
|
|
69
73
|
- payment/v1/payment_services_pb.rb
|