kinetix-contracts 1.0.6 → 1.0.8

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: 7b955f0db51ad71c02a81e8c1d529078a598caff041374e68b0e6e66464a2fe1
4
- data.tar.gz: 93f11afed4f5e467e05944b842445fdbb5439b36f19dd0a99bd5ec036416d8ce
3
+ metadata.gz: 26912a012eea59e95ec51e38d41699c25a09c9f25a5f337a8e31e525e5160bb4
4
+ data.tar.gz: d4668587e3392c4c6d3d921ccbc344476fd2ee60007d222bcd2da5dff22d6e15
5
5
  SHA512:
6
- metadata.gz: afcb43c0a070013aa960368dd4a3919a85a54a791fcb32758900b7bfe0a52214b101613d2a87607d47599c7dfb5c2e4eac6bc0fa4eb50db5285aee45fdfe032a
7
- data.tar.gz: 4ff17299391d5d180edba2902a60ffcd0def4872e1449195990efebb0a03c67eca2d4f547d9be83e5e4fe1753e49ab5ed3874abac4920ee4ac8f456c32629e8d
6
+ metadata.gz: bac560d3a32b17ae9b1205b7f0314dbb4cc376b67fd42ca7e746d35273a2d9ac44f67ff804ecf5999ce4861693e6ca438724b33ba63b0903b18c292b5289fa9a
7
+ data.tar.gz: dc181bebcd9f97870be8df6d9ef225744b851d375dcf2200bb116f611d4d872389af096da8e0ba1355d4554b8aca7429ee1f69c5dd33f8f186a993e1d7d8de51
@@ -8,7 +8,7 @@ require 'common/v1/common_pb'
8
8
  require 'google/protobuf/timestamp_pb'
9
9
 
10
10
 
11
- descriptor_data = "\n\x18payment/v1/payment.proto\x12\npayment.v1\x1a\x16\x63ommon/v1/common.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xd5\x03\n\x17\x43reateEscrowHoldRequest\x12!\n\x0corder_number\x18\x01 \x01(\tR\x0borderNumber\x12\x32\n\x15\x63ustomer_principal_id\x18\x02 \x01(\tR\x13\x63ustomerPrincipalId\x12\x32\n\x15merchant_principal_id\x18\x03 \x01(\tR\x13merchantPrincipalId\x12.\n\x13\x64river_principal_id\x18\x04 \x01(\tR\x11\x64riverPrincipalId\x12>\n\x12total_order_amount\x18\x05 \x01(\x0b\x32\x10.common.v1.MoneyR\x10totalOrderAmount\x12\x39\n\x0fmerchant_amount\x18\x06 \x01(\x0b\x32\x10.common.v1.MoneyR\x0emerchantAmount\x12@\n\x13shipping_fee_amount\x18\x07 \x01(\x0b\x32\x10.common.v1.MoneyR\x11shippingFeeAmount\x12\x42\n\x0fidempotency_key\x18\x08 \x01(\x0b\x32\x19.common.v1.IdempotencyKeyR\x0eidempotencyKey\"}\n\x14ReleaseEscrowRequest\x12!\n\x0corder_number\x18\x01 \x01(\tR\x0borderNumber\x12\x42\n\x0fidempotency_key\x18\x02 \x01(\x0b\x32\x19.common.v1.IdempotencyKeyR\x0eidempotencyKey\"\x94\x01\n\x13RefundEscrowRequest\x12!\n\x0corder_number\x18\x01 \x01(\tR\x0borderNumber\x12\x16\n\x06reason\x18\x02 \x01(\tR\x06reason\x12\x42\n\x0fidempotency_key\x18\x03 \x01(\x0b\x32\x19.common.v1.IdempotencyKeyR\x0eidempotencyKey\";\n\x16GetEscrowStatusRequest\x12!\n\x0corder_number\x18\x01 \x01(\tR\x0borderNumber\"\x84\x06\n\x12\x45scrowHoldResponse\x12\x14\n\x05\x66ound\x18\x01 \x01(\x08R\x05\x66ound\x12\x1b\n\tescrow_id\x18\x02 \x01(\tR\x08\x65scrowId\x12!\n\x0corder_number\x18\x03 \x01(\tR\x0borderNumber\x12\x32\n\x15\x63ustomer_principal_id\x18\x04 \x01(\tR\x13\x63ustomerPrincipalId\x12\x32\n\x15merchant_principal_id\x18\x05 \x01(\tR\x13merchantPrincipalId\x12.\n\x13\x64river_principal_id\x18\x06 \x01(\tR\x11\x64riverPrincipalId\x12>\n\x12total_order_amount\x18\x07 \x01(\x0b\x32\x10.common.v1.MoneyR\x10totalOrderAmount\x12\x39\n\x0fmerchant_amount\x18\x08 \x01(\x0b\x32\x10.common.v1.MoneyR\x0emerchantAmount\x12@\n\x13shipping_fee_amount\x18\t \x01(\x0b\x32\x10.common.v1.MoneyR\x11shippingFeeAmount\x12\x30\n\x06status\x18\n \x01(\x0e\x32\x18.payment.v1.EscrowStatusR\x06status\x12\x42\n\x0f\x61uto_release_at\x18\x0b \x01(\x0b\x32\x1a.google.protobuf.TimestampR\rautoReleaseAt\x12\x39\n\ncreated_at\x18\x0c \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tcreatedAt\x12;\n\x0breleased_at\x18\r \x01(\x0b\x32\x1a.google.protobuf.TimestampR\nreleasedAt\x12\'\n\x0f\x61lready_applied\x18\x0e \x01(\x08R\x0e\x61lreadyApplied\x12,\n\x05\x65rror\x18\x0f \x01(\x0b\x32\x16.common.v1.ErrorDetailR\x05\x65rror*\xb2\x01\n\x0c\x45scrowStatus\x12\x1d\n\x19\x45SCROW_STATUS_UNSPECIFIED\x10\x00\x12\x16\n\x12\x45SCROW_STATUS_HELD\x10\x01\x12\x1a\n\x16\x45SCROW_STATUS_RELEASED\x10\x02\x12\x1a\n\x16\x45SCROW_STATUS_REFUNDED\x10\x03\x12\x19\n\x15\x45SCROW_STATUS_EXPIRED\x10\x04\x12\x18\n\x14\x45SCROW_STATUS_FAILED\x10\x05\x32\xe4\x02\n\x0ePaymentService\x12W\n\x10\x43reateEscrowHold\x12#.payment.v1.CreateEscrowHoldRequest\x1a\x1e.payment.v1.EscrowHoldResponse\x12Q\n\rReleaseEscrow\x12 .payment.v1.ReleaseEscrowRequest\x1a\x1e.payment.v1.EscrowHoldResponse\x12O\n\x0cRefundEscrow\x12\x1f.payment.v1.RefundEscrowRequest\x1a\x1e.payment.v1.EscrowHoldResponse\x12U\n\x0fGetEscrowStatus\x12\".payment.v1.GetEscrowStatusRequest\x1a\x1e.payment.v1.EscrowHoldResponseB\xd4\x01\n com.kinetix.contracts.payment.v1B\x0cPaymentProtoP\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\x18payment/v1/payment.proto\x12\npayment.v1\x1a\x16\x63ommon/v1/common.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xd5\x03\n\x17\x43reateEscrowHoldRequest\x12!\n\x0corder_number\x18\x01 \x01(\tR\x0borderNumber\x12\x32\n\x15\x63ustomer_principal_id\x18\x02 \x01(\tR\x13\x63ustomerPrincipalId\x12\x32\n\x15merchant_principal_id\x18\x03 \x01(\tR\x13merchantPrincipalId\x12.\n\x13\x64river_principal_id\x18\x04 \x01(\tR\x11\x64riverPrincipalId\x12>\n\x12total_order_amount\x18\x05 \x01(\x0b\x32\x10.common.v1.MoneyR\x10totalOrderAmount\x12\x39\n\x0fmerchant_amount\x18\x06 \x01(\x0b\x32\x10.common.v1.MoneyR\x0emerchantAmount\x12@\n\x13shipping_fee_amount\x18\x07 \x01(\x0b\x32\x10.common.v1.MoneyR\x11shippingFeeAmount\x12\x42\n\x0fidempotency_key\x18\x08 \x01(\x0b\x32\x19.common.v1.IdempotencyKeyR\x0eidempotencyKey\"}\n\x14ReleaseEscrowRequest\x12!\n\x0corder_number\x18\x01 \x01(\tR\x0borderNumber\x12\x42\n\x0fidempotency_key\x18\x02 \x01(\x0b\x32\x19.common.v1.IdempotencyKeyR\x0eidempotencyKey\"\x94\x01\n\x13RefundEscrowRequest\x12!\n\x0corder_number\x18\x01 \x01(\tR\x0borderNumber\x12\x16\n\x06reason\x18\x02 \x01(\tR\x06reason\x12\x42\n\x0fidempotency_key\x18\x03 \x01(\x0b\x32\x19.common.v1.IdempotencyKeyR\x0eidempotencyKey\";\n\x16GetEscrowStatusRequest\x12!\n\x0corder_number\x18\x01 \x01(\tR\x0borderNumber\"\xb1\x01\n\x18SettleShippingFeeRequest\x12!\n\x0corder_number\x18\x01 \x01(\tR\x0borderNumber\x12.\n\x13\x64river_principal_id\x18\x02 \x01(\tR\x11\x64riverPrincipalId\x12\x42\n\x0fidempotency_key\x18\x03 \x01(\x0b\x32\x19.common.v1.IdempotencyKeyR\x0eidempotencyKey\"\xd7\x06\n\x12\x45scrowHoldResponse\x12\x14\n\x05\x66ound\x18\x01 \x01(\x08R\x05\x66ound\x12\x1b\n\tescrow_id\x18\x02 \x01(\tR\x08\x65scrowId\x12!\n\x0corder_number\x18\x03 \x01(\tR\x0borderNumber\x12\x32\n\x15\x63ustomer_principal_id\x18\x04 \x01(\tR\x13\x63ustomerPrincipalId\x12\x32\n\x15merchant_principal_id\x18\x05 \x01(\tR\x13merchantPrincipalId\x12.\n\x13\x64river_principal_id\x18\x06 \x01(\tR\x11\x64riverPrincipalId\x12>\n\x12total_order_amount\x18\x07 \x01(\x0b\x32\x10.common.v1.MoneyR\x10totalOrderAmount\x12\x39\n\x0fmerchant_amount\x18\x08 \x01(\x0b\x32\x10.common.v1.MoneyR\x0emerchantAmount\x12@\n\x13shipping_fee_amount\x18\t \x01(\x0b\x32\x10.common.v1.MoneyR\x11shippingFeeAmount\x12\x30\n\x06status\x18\n \x01(\x0e\x32\x18.payment.v1.EscrowStatusR\x06status\x12\x42\n\x0f\x61uto_release_at\x18\x0b \x01(\x0b\x32\x1a.google.protobuf.TimestampR\rautoReleaseAt\x12\x39\n\ncreated_at\x18\x0c \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tcreatedAt\x12;\n\x0breleased_at\x18\r \x01(\x0b\x32\x1a.google.protobuf.TimestampR\nreleasedAt\x12\'\n\x0f\x61lready_applied\x18\x0e \x01(\x08R\x0e\x61lreadyApplied\x12,\n\x05\x65rror\x18\x0f \x01(\x0b\x32\x16.common.v1.ErrorDetailR\x05\x65rror\x12Q\n\x17shipping_fee_settled_at\x18\x10 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x14shippingFeeSettledAt*\xb2\x01\n\x0c\x45scrowStatus\x12\x1d\n\x19\x45SCROW_STATUS_UNSPECIFIED\x10\x00\x12\x16\n\x12\x45SCROW_STATUS_HELD\x10\x01\x12\x1a\n\x16\x45SCROW_STATUS_RELEASED\x10\x02\x12\x1a\n\x16\x45SCROW_STATUS_REFUNDED\x10\x03\x12\x19\n\x15\x45SCROW_STATUS_EXPIRED\x10\x04\x12\x18\n\x14\x45SCROW_STATUS_FAILED\x10\x05\x32\xbf\x03\n\x0ePaymentService\x12W\n\x10\x43reateEscrowHold\x12#.payment.v1.CreateEscrowHoldRequest\x1a\x1e.payment.v1.EscrowHoldResponse\x12Q\n\rReleaseEscrow\x12 .payment.v1.ReleaseEscrowRequest\x1a\x1e.payment.v1.EscrowHoldResponse\x12O\n\x0cRefundEscrow\x12\x1f.payment.v1.RefundEscrowRequest\x1a\x1e.payment.v1.EscrowHoldResponse\x12U\n\x0fGetEscrowStatus\x12\".payment.v1.GetEscrowStatusRequest\x1a\x1e.payment.v1.EscrowHoldResponse\x12Y\n\x11SettleShippingFee\x12$.payment.v1.SettleShippingFeeRequest\x1a\x1e.payment.v1.EscrowHoldResponseB\xd4\x01\n com.kinetix.contracts.payment.v1B\x0cPaymentProtoP\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)
@@ -19,6 +19,7 @@ module Payment
19
19
  ReleaseEscrowRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("payment.v1.ReleaseEscrowRequest").msgclass
20
20
  RefundEscrowRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("payment.v1.RefundEscrowRequest").msgclass
21
21
  GetEscrowStatusRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("payment.v1.GetEscrowStatusRequest").msgclass
22
+ SettleShippingFeeRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("payment.v1.SettleShippingFeeRequest").msgclass
22
23
  EscrowHoldResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("payment.v1.EscrowHoldResponse").msgclass
23
24
  EscrowStatus = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("payment.v1.EscrowStatus").enummodule
24
25
  end
@@ -19,6 +19,7 @@ module Payment
19
19
  rpc :ReleaseEscrow, ::Payment::V1::ReleaseEscrowRequest, ::Payment::V1::EscrowHoldResponse
20
20
  rpc :RefundEscrow, ::Payment::V1::RefundEscrowRequest, ::Payment::V1::EscrowHoldResponse
21
21
  rpc :GetEscrowStatus, ::Payment::V1::GetEscrowStatusRequest, ::Payment::V1::EscrowHoldResponse
22
+ rpc :SettleShippingFee, ::Payment::V1::SettleShippingFeeRequest, ::Payment::V1::EscrowHoldResponse
22
23
  end
23
24
 
24
25
  Stub = Service.rpc_stub_class
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.6
4
+ version: 1.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kinetix
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-09-06 00:00:00.000000000 Z
11
+ date: 2026-09-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-protobuf