kinetix-contracts 1.0.23 → 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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4c9977c9ddb55f0f7fe89afaf89d893df966b2e1968bb7f9ef63c6e0e16a9007
4
- data.tar.gz: bf82535508bff8d19687b7d23ab74baa38297c164dc6f83471824fe361cc5b70
3
+ metadata.gz: 98e3b4611be55b110d731b067d4c84f8abbc372039b985ffc1d056e71a4fc107
4
+ data.tar.gz: 2b0c76b88f9fe7e1e2fbfe36dbc0a8352979d2458746521af7ebeb39c6382c12
5
5
  SHA512:
6
- metadata.gz: 90ce1f7b7bf2f817f8fa38d9b09a8f10f3f000c8fd007579aab94694c9d738dfa98739d7cb21c59a655084c9ff2218e1b2345e74614c33bfdb6881b7ff7d2399
7
- data.tar.gz: f5882e8296410da7faa98ff11c3e4db088842a0e649240a4fcff51e97fcfb0eb6754576ef1d4e97c4e506fc8e645012983d5f2d1b0cfafcc43443955560077db
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/order/v1/order_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\x14order/v1/order.proto\x12\x08order.v1\x1a\x16\x63ommon/v1/common.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xc6\x01\n\x11OpenReturnRequest\x12!\n\x0corder_number\x18\x01 \x01(\tR\x0borderNumber\x12\x32\n\x15merchant_principal_id\x18\x02 \x01(\tR\x13merchantPrincipalId\x12\x16\n\x06reason\x18\x03 \x01(\tR\x06reason\x12\x42\n\x0fidempotency_key\x18\x04 \x01(\x0b\x32\x19.common.v1.IdempotencyKeyR\x0eidempotencyKey\"\xd4\x01\n\x12OpenReturnResponse\x12\x18\n\x07success\x18\x01 \x01(\x08R\x07success\x12#\n\rreturn_number\x18\x02 \x01(\tR\x0creturnNumber\x12.\n\x06status\x18\x03 \x01(\x0e\x32\x16.order.v1.ReturnStatusR\x06status\x12!\n\x0c\x61lready_open\x18\x04 \x01(\x08R\x0b\x61lreadyOpen\x12,\n\x05\x65rror\x18\x05 \x01(\x0b\x32\x16.common.v1.ErrorDetailR\x05\x65rror\"<\n\x0cReturnedLine\x12\x10\n\x03sku\x18\x01 \x01(\tR\x03sku\x12\x1a\n\x08quantity\x18\x02 \x01(\x05R\x08quantity\"\xa3\x02\n\x1aReturnGoodsReceivedRequest\x12#\n\rreturn_number\x18\x01 \x01(\tR\x0creturnNumber\x12\x32\n\x15merchant_principal_id\x18\x02 \x01(\tR\x13merchantPrincipalId\x12,\n\x05lines\x18\x03 \x03(\x0b\x32\x16.order.v1.ReturnedLineR\x05lines\x12\x19\n\x08\x62in_code\x18\x04 \x01(\tR\x07\x62inCode\x12\x1f\n\x0breceived_at\x18\x05 \x01(\tR\nreceivedAt\x12\x42\n\x0fidempotency_key\x18\x06 \x01(\x0b\x32\x19.common.v1.IdempotencyKeyR\x0eidempotencyKey\"\xc2\x01\n\x1bReturnGoodsReceivedResponse\x12\x1a\n\x08\x61\x63\x63\x65pted\x18\x01 \x01(\x08R\x08\x61\x63\x63\x65pted\x12)\n\x10\x61lready_recorded\x18\x02 \x01(\x08R\x0f\x61lreadyRecorded\x12.\n\x06status\x18\x03 \x01(\x0e\x32\x16.order.v1.ReturnStatusR\x06status\x12,\n\x05\x65rror\x18\x04 \x01(\x0b\x32\x16.common.v1.ErrorDetailR\x05\x65rror\"\x8d\x01\n\x15OrderDeliveredRequest\x12!\n\x0corder_number\x18\x01 \x01(\tR\x0borderNumber\x12.\n\x13\x64river_principal_id\x18\x02 \x01(\tR\x11\x64riverPrincipalId\x12!\n\x0c\x64\x65livered_at\x18\x03 \x01(\tR\x0b\x64\x65liveredAt\"\x8f\x01\n\x16OrderDeliveredResponse\x12\x1a\n\x08\x61\x63\x63\x65pted\x18\x01 \x01(\x08R\x08\x61\x63\x63\x65pted\x12+\n\x11\x61lready_delivered\x18\x02 \x01(\x08R\x10\x61lreadyDelivered\x12,\n\x05\x65rror\x18\x03 \x01(\x0b\x32\x16.common.v1.ErrorDetailR\x05\x65rror\"\xa1\x01\n\x18\x46ulfillmentPackedRequest\x12\x32\n\x15merchant_principal_id\x18\x01 \x01(\tR\x13merchantPrincipalId\x12!\n\x0corder_number\x18\x02 \x01(\tR\x0borderNumber\x12.\n\x13\x66ulfillment_task_id\x18\x03 \x01(\tR\x11\x66ulfillmentTaskId\"\xad\x01\n\x19\x46ulfillmentPackedResponse\x12\x18\n\x07success\x18\x01 \x01(\x08R\x07success\x12%\n\x0e\x61lready_packed\x18\x02 \x01(\x08R\ralreadyPacked\x12!\n\x0c\x64ispatch_ref\x18\x03 \x01(\tR\x0b\x64ispatchRef\x12,\n\x05\x65rror\x18\x04 \x01(\x0b\x32\x16.common.v1.ErrorDetailR\x05\x65rror\"3\n\x16GetOrderDetailsRequest\x12\x19\n\x08order_id\x18\x01 \x01(\tR\x07orderId\"\xd3\x01\n\tOrderLine\x12\x1d\n\nproduct_id\x18\x01 \x01(\tR\tproductId\x12#\n\rproduct_title\x18\x02 \x01(\tR\x0cproductTitle\x12/\n\nunit_price\x18\x03 \x01(\x0b\x32\x10.common.v1.MoneyR\tunitPrice\x12\x1a\n\x08quantity\x18\x04 \x01(\x05R\x08quantity\x12\x35\n\rline_subtotal\x18\x05 \x01(\x0b\x32\x10.common.v1.MoneyR\x0clineSubtotal\"\x8c\x04\n\x17GetOrderDetailsResponse\x12\x14\n\x05\x66ound\x18\x01 \x01(\x08R\x05\x66ound\x12\x19\n\x08order_id\x18\x02 \x01(\tR\x07orderId\x12!\n\x0corder_number\x18\x03 \x01(\tR\x0borderNumber\x12\x32\n\x15\x63ustomer_principal_id\x18\x04 \x01(\tR\x13\x63ustomerPrincipalId\x12.\n\x06status\x18\x05 \x01(\x0e\x32\x16.common.v1.OrderStatusR\x06status\x12,\n\x08subtotal\x18\x06 \x01(\x0b\x32\x10.common.v1.MoneyR\x08subtotal\x12\x39\n\x0f\x64iscount_amount\x18\x07 \x01(\x0b\x32\x10.common.v1.MoneyR\x0e\x64iscountAmount\x12\x33\n\x0cshipping_fee\x18\x08 \x01(\x0b\x32\x10.common.v1.MoneyR\x0bshippingFee\x12\x31\n\x0b\x66inal_total\x18\t \x01(\x0b\x32\x10.common.v1.MoneyR\nfinalTotal\x12)\n\x05lines\x18\n \x03(\x0b\x32\x13.order.v1.OrderLineR\x05lines\x12=\n\x10shipping_address\x18\x0b \x01(\x0b\x32\x12.common.v1.AddressR\x0fshippingAddress\"\xa3\x01\n\x1dListOrdersForPrincipalRequest\x12!\n\x0cprincipal_id\x18\x01 \x01(\tR\x0bprincipalId\x12.\n\x06status\x18\x02 \x01(\x0e\x32\x16.common.v1.OrderStatusR\x06status\x12\x12\n\x04page\x18\x03 \x01(\x05R\x04page\x12\x1b\n\tpage_size\x18\x04 \x01(\x05R\x08pageSize\"|\n\x1eListOrdersForPrincipalResponse\x12\x39\n\x06orders\x18\x01 \x03(\x0b\x32!.order.v1.GetOrderDetailsResponseR\x06orders\x12\x1f\n\x0btotal_count\x18\x02 \x01(\x05R\ntotalCount\"~\n\x0bOrderCursor\x12\x43\n\x0fupdated_through\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x0eupdatedThrough\x12*\n\x11last_order_number\x18\x02 \x01(\tR\x0flastOrderNumber\"\xd7\x02\n\x0bOrderRecord\x12!\n\x0corder_number\x18\x01 \x01(\tR\x0borderNumber\x12,\n\x12\x62uyer_principal_id\x18\x02 \x01(\tR\x10\x62uyerPrincipalId\x12\x32\n\x15merchant_principal_id\x18\x03 \x01(\tR\x13merchantPrincipalId\x12.\n\x06status\x18\x04 \x01(\x0e\x32\x16.common.v1.OrderStatusR\x06status\x12\x1f\n\x0bline_titles\x18\x05 \x03(\tR\nlineTitles\x12\x37\n\tplaced_at\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x08placedAt\x12\x39\n\nupdated_at\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tupdatedAt\"`\n\x19OrdersChangedSinceRequest\x12-\n\x06\x63ursor\x18\x01 \x01(\x0b\x32\x15.order.v1.OrderCursorR\x06\x63ursor\x12\x14\n\x05limit\x18\x02 \x01(\x05R\x05limit\"\x95\x01\n\x1aOrdersChangedSinceResponse\x12\x31\n\x08upserted\x18\x01 \x03(\x0b\x32\x15.order.v1.OrderRecordR\x08upserted\x12)\n\x04next\x18\x02 \x01(\x0b\x32\x15.order.v1.OrderCursorR\x04next\x12\x19\n\x08has_more\x18\x03 \x01(\x08R\x07hasMore*\x9f\x01\n\x0cReturnStatus\x12\x1d\n\x19RETURN_STATUS_UNSPECIFIED\x10\x00\x12\x16\n\x12RETURN_STATUS_OPEN\x10\x01\x12 \n\x1cRETURN_STATUS_GOODS_RECEIVED\x10\x02\x12\x1a\n\x16RETURN_STATUS_RESOLVED\x10\x03\x12\x1a\n\x16RETURN_STATUS_REJECTED\x10\x04\x32\x94\x05\n\x0cOrderService\x12V\n\x0fGetOrderDetails\x12 .order.v1.GetOrderDetailsRequest\x1a!.order.v1.GetOrderDetailsResponse\x12k\n\x16ListOrdersForPrincipal\x12\'.order.v1.ListOrdersForPrincipalRequest\x1a(.order.v1.ListOrdersForPrincipalResponse\x12\\\n\x11\x46ulfillmentPacked\x12\".order.v1.FulfillmentPackedRequest\x1a#.order.v1.FulfillmentPackedResponse\x12S\n\x0eOrderDelivered\x12\x1f.order.v1.OrderDeliveredRequest\x1a .order.v1.OrderDeliveredResponse\x12G\n\nOpenReturn\x12\x1b.order.v1.OpenReturnRequest\x1a\x1c.order.v1.OpenReturnResponse\x12\x62\n\x13ReturnGoodsReceived\x12$.order.v1.ReturnGoodsReceivedRequest\x1a%.order.v1.ReturnGoodsReceivedResponse\x12_\n\x12OrdersChangedSince\x12#.order.v1.OrdersChangedSinceRequest\x1a$.order.v1.OrdersChangedSinceResponseB\xc4\x01\n\x1e\x63om.kinetix.contracts.order.v1B\nOrderProtoP\x01ZCgithub.com/WildanFrananda/kinetix-contracts/gen/go/order/v1;orderv1\xa2\x02\x03KNX\xaa\x02\x1aKinetix.Contracts.Order.V1\xca\x02\x08Order\\V1\xe2\x02\x14Order\\V1\\GPBMetadata\xea\x02\tOrder::V1b\x06proto3"
11
+ descriptor_data = "\n\x14order/v1/order.proto\x12\x08order.v1\x1a\x16\x63ommon/v1/common.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xc6\x01\n\x11OpenReturnRequest\x12!\n\x0corder_number\x18\x01 \x01(\tR\x0borderNumber\x12\x32\n\x15merchant_principal_id\x18\x02 \x01(\tR\x13merchantPrincipalId\x12\x16\n\x06reason\x18\x03 \x01(\tR\x06reason\x12\x42\n\x0fidempotency_key\x18\x04 \x01(\x0b\x32\x19.common.v1.IdempotencyKeyR\x0eidempotencyKey\"\xd4\x01\n\x12OpenReturnResponse\x12\x18\n\x07success\x18\x01 \x01(\x08R\x07success\x12#\n\rreturn_number\x18\x02 \x01(\tR\x0creturnNumber\x12.\n\x06status\x18\x03 \x01(\x0e\x32\x16.order.v1.ReturnStatusR\x06status\x12!\n\x0c\x61lready_open\x18\x04 \x01(\x08R\x0b\x61lreadyOpen\x12,\n\x05\x65rror\x18\x05 \x01(\x0b\x32\x16.common.v1.ErrorDetailR\x05\x65rror\"<\n\x0cReturnedLine\x12\x10\n\x03sku\x18\x01 \x01(\tR\x03sku\x12\x1a\n\x08quantity\x18\x02 \x01(\x05R\x08quantity\"\xa3\x02\n\x1aReturnGoodsReceivedRequest\x12#\n\rreturn_number\x18\x01 \x01(\tR\x0creturnNumber\x12\x32\n\x15merchant_principal_id\x18\x02 \x01(\tR\x13merchantPrincipalId\x12,\n\x05lines\x18\x03 \x03(\x0b\x32\x16.order.v1.ReturnedLineR\x05lines\x12\x19\n\x08\x62in_code\x18\x04 \x01(\tR\x07\x62inCode\x12\x1f\n\x0breceived_at\x18\x05 \x01(\tR\nreceivedAt\x12\x42\n\x0fidempotency_key\x18\x06 \x01(\x0b\x32\x19.common.v1.IdempotencyKeyR\x0eidempotencyKey\"\xc2\x01\n\x1bReturnGoodsReceivedResponse\x12\x1a\n\x08\x61\x63\x63\x65pted\x18\x01 \x01(\x08R\x08\x61\x63\x63\x65pted\x12)\n\x10\x61lready_recorded\x18\x02 \x01(\x08R\x0f\x61lreadyRecorded\x12.\n\x06status\x18\x03 \x01(\x0e\x32\x16.order.v1.ReturnStatusR\x06status\x12,\n\x05\x65rror\x18\x04 \x01(\x0b\x32\x16.common.v1.ErrorDetailR\x05\x65rror\"\x8d\x01\n\x15OrderDeliveredRequest\x12!\n\x0corder_number\x18\x01 \x01(\tR\x0borderNumber\x12.\n\x13\x64river_principal_id\x18\x02 \x01(\tR\x11\x64riverPrincipalId\x12!\n\x0c\x64\x65livered_at\x18\x03 \x01(\tR\x0b\x64\x65liveredAt\"\x8f\x01\n\x16OrderDeliveredResponse\x12\x1a\n\x08\x61\x63\x63\x65pted\x18\x01 \x01(\x08R\x08\x61\x63\x63\x65pted\x12+\n\x11\x61lready_delivered\x18\x02 \x01(\x08R\x10\x61lreadyDelivered\x12,\n\x05\x65rror\x18\x03 \x01(\x0b\x32\x16.common.v1.ErrorDetailR\x05\x65rror\"\xa1\x01\n\x18\x46ulfillmentPackedRequest\x12\x32\n\x15merchant_principal_id\x18\x01 \x01(\tR\x13merchantPrincipalId\x12!\n\x0corder_number\x18\x02 \x01(\tR\x0borderNumber\x12.\n\x13\x66ulfillment_task_id\x18\x03 \x01(\tR\x11\x66ulfillmentTaskId\"\xad\x01\n\x19\x46ulfillmentPackedResponse\x12\x18\n\x07success\x18\x01 \x01(\x08R\x07success\x12%\n\x0e\x61lready_packed\x18\x02 \x01(\x08R\ralreadyPacked\x12!\n\x0c\x64ispatch_ref\x18\x03 \x01(\tR\x0b\x64ispatchRef\x12,\n\x05\x65rror\x18\x04 \x01(\x0b\x32\x16.common.v1.ErrorDetailR\x05\x65rror\"3\n\x16GetOrderDetailsRequest\x12\x19\n\x08order_id\x18\x01 \x01(\tR\x07orderId\"\xd3\x01\n\tOrderLine\x12\x1d\n\nproduct_id\x18\x01 \x01(\tR\tproductId\x12#\n\rproduct_title\x18\x02 \x01(\tR\x0cproductTitle\x12/\n\nunit_price\x18\x03 \x01(\x0b\x32\x10.common.v1.MoneyR\tunitPrice\x12\x1a\n\x08quantity\x18\x04 \x01(\x05R\x08quantity\x12\x35\n\rline_subtotal\x18\x05 \x01(\x0b\x32\x10.common.v1.MoneyR\x0clineSubtotal\"\xf0\x04\n\x17GetOrderDetailsResponse\x12\x14\n\x05\x66ound\x18\x01 \x01(\x08R\x05\x66ound\x12\x19\n\x08order_id\x18\x02 \x01(\tR\x07orderId\x12!\n\x0corder_number\x18\x03 \x01(\tR\x0borderNumber\x12\x32\n\x15\x63ustomer_principal_id\x18\x04 \x01(\tR\x13\x63ustomerPrincipalId\x12.\n\x06status\x18\x05 \x01(\x0e\x32\x16.common.v1.OrderStatusR\x06status\x12,\n\x08subtotal\x18\x06 \x01(\x0b\x32\x10.common.v1.MoneyR\x08subtotal\x12\x39\n\x0f\x64iscount_amount\x18\x07 \x01(\x0b\x32\x10.common.v1.MoneyR\x0e\x64iscountAmount\x12\x33\n\x0cshipping_fee\x18\x08 \x01(\x0b\x32\x10.common.v1.MoneyR\x0bshippingFee\x12\x31\n\x0b\x66inal_total\x18\t \x01(\x0b\x32\x10.common.v1.MoneyR\nfinalTotal\x12)\n\x05lines\x18\n \x03(\x0b\x32\x13.order.v1.OrderLineR\x05lines\x12=\n\x10shipping_address\x18\x0b \x01(\x0b\x32\x12.common.v1.AddressR\x0fshippingAddress\x12\x32\n\x15merchant_principal_id\x18\x0c \x01(\tR\x13merchantPrincipalId\x12.\n\x13\x64river_principal_id\x18\r \x01(\tR\x11\x64riverPrincipalId\"\xa3\x01\n\x1dListOrdersForPrincipalRequest\x12!\n\x0cprincipal_id\x18\x01 \x01(\tR\x0bprincipalId\x12.\n\x06status\x18\x02 \x01(\x0e\x32\x16.common.v1.OrderStatusR\x06status\x12\x12\n\x04page\x18\x03 \x01(\x05R\x04page\x12\x1b\n\tpage_size\x18\x04 \x01(\x05R\x08pageSize\"|\n\x1eListOrdersForPrincipalResponse\x12\x39\n\x06orders\x18\x01 \x03(\x0b\x32!.order.v1.GetOrderDetailsResponseR\x06orders\x12\x1f\n\x0btotal_count\x18\x02 \x01(\x05R\ntotalCount\"~\n\x0bOrderCursor\x12\x43\n\x0fupdated_through\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x0eupdatedThrough\x12*\n\x11last_order_number\x18\x02 \x01(\tR\x0flastOrderNumber\"\xd7\x02\n\x0bOrderRecord\x12!\n\x0corder_number\x18\x01 \x01(\tR\x0borderNumber\x12,\n\x12\x62uyer_principal_id\x18\x02 \x01(\tR\x10\x62uyerPrincipalId\x12\x32\n\x15merchant_principal_id\x18\x03 \x01(\tR\x13merchantPrincipalId\x12.\n\x06status\x18\x04 \x01(\x0e\x32\x16.common.v1.OrderStatusR\x06status\x12\x1f\n\x0bline_titles\x18\x05 \x03(\tR\nlineTitles\x12\x37\n\tplaced_at\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x08placedAt\x12\x39\n\nupdated_at\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tupdatedAt\"`\n\x19OrdersChangedSinceRequest\x12-\n\x06\x63ursor\x18\x01 \x01(\x0b\x32\x15.order.v1.OrderCursorR\x06\x63ursor\x12\x14\n\x05limit\x18\x02 \x01(\x05R\x05limit\"\x95\x01\n\x1aOrdersChangedSinceResponse\x12\x31\n\x08upserted\x18\x01 \x03(\x0b\x32\x15.order.v1.OrderRecordR\x08upserted\x12)\n\x04next\x18\x02 \x01(\x0b\x32\x15.order.v1.OrderCursorR\x04next\x12\x19\n\x08has_more\x18\x03 \x01(\x08R\x07hasMore*\x9f\x01\n\x0cReturnStatus\x12\x1d\n\x19RETURN_STATUS_UNSPECIFIED\x10\x00\x12\x16\n\x12RETURN_STATUS_OPEN\x10\x01\x12 \n\x1cRETURN_STATUS_GOODS_RECEIVED\x10\x02\x12\x1a\n\x16RETURN_STATUS_RESOLVED\x10\x03\x12\x1a\n\x16RETURN_STATUS_REJECTED\x10\x04\x32\x94\x05\n\x0cOrderService\x12V\n\x0fGetOrderDetails\x12 .order.v1.GetOrderDetailsRequest\x1a!.order.v1.GetOrderDetailsResponse\x12k\n\x16ListOrdersForPrincipal\x12\'.order.v1.ListOrdersForPrincipalRequest\x1a(.order.v1.ListOrdersForPrincipalResponse\x12\\\n\x11\x46ulfillmentPacked\x12\".order.v1.FulfillmentPackedRequest\x1a#.order.v1.FulfillmentPackedResponse\x12S\n\x0eOrderDelivered\x12\x1f.order.v1.OrderDeliveredRequest\x1a .order.v1.OrderDeliveredResponse\x12G\n\nOpenReturn\x12\x1b.order.v1.OpenReturnRequest\x1a\x1c.order.v1.OpenReturnResponse\x12\x62\n\x13ReturnGoodsReceived\x12$.order.v1.ReturnGoodsReceivedRequest\x1a%.order.v1.ReturnGoodsReceivedResponse\x12_\n\x12OrdersChangedSince\x12#.order.v1.OrdersChangedSinceRequest\x1a$.order.v1.OrdersChangedSinceResponseB\xc4\x01\n\x1e\x63om.kinetix.contracts.order.v1B\nOrderProtoP\x01ZCgithub.com/WildanFrananda/kinetix-contracts/gen/go/order/v1;orderv1\xa2\x02\x03KNX\xaa\x02\x1aKinetix.Contracts.Order.V1\xca\x02\x08Order\\V1\xe2\x02\x14Order\\V1\\GPBMetadata\xea\x02\tOrder::V1b\x06proto3"
12
12
 
13
13
  pool = Google::Protobuf::DescriptorPool.generated_pool
14
14
  pool.add_serialized_file(descriptor_data)
@@ -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\"f\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\"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\"g\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*\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"
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.0.23
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-12 00:00:00.000000000 Z
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