kinetix-contracts 1.0.20 → 1.0.22
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/payment/v1/payment_pb.rb +2 -1
- data/payment/v1/payment_services_pb.rb +1 -0
- data/pricing/v1/pricing_pb.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: '04135339fdff2bc6c4dd7f4cff44d2eefbba4ba76cdfb476df0e1c89fb56bddb'
|
|
4
|
+
data.tar.gz: cd7012a212763182b455ef3df426846ea164eb2e7117b8bddafd211a985d84af
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 49a40f548091b863e7831f3895b7eac9644b8795827a5b25ee220f9e3982007871c35206bfe668a2642627e667fb0a905a56468c0dad742c8b62f897c453ac3c
|
|
7
|
+
data.tar.gz: fd144e7b70741c4aa50e09e1520db5609c78d7b50df45521429044e01ecfe0c033a521aef197c68335f6b1468dbf7803e1a01e9661e6ad63a2b9753b085a5a78
|
data/payment/v1/payment_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\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\"\
|
|
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\"\xbd\x01\n\x12RefundGoodsRequest\x12!\n\x0corder_number\x18\x01 \x01(\tR\x0borderNumber\x12(\n\x06\x61mount\x18\x02 \x01(\x0b\x32\x10.common.v1.MoneyR\x06\x61mount\x12\x16\n\x06reason\x18\x03 \x01(\tR\x06reason\x12\x42\n\x0fidempotency_key\x18\x04 \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\"\x9d\x07\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\x12\x44\n\x15goods_refunded_amount\x18\x11 \x01(\x0b\x32\x10.common.v1.MoneyR\x13goodsRefundedAmount*\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\x8e\x04\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.EscrowHoldResponse\x12M\n\x0bRefundGoods\x12\x1e.payment.v1.RefundGoodsRequest\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)
|
|
@@ -18,6 +18,7 @@ module Payment
|
|
|
18
18
|
CreateEscrowHoldRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("payment.v1.CreateEscrowHoldRequest").msgclass
|
|
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
|
+
RefundGoodsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("payment.v1.RefundGoodsRequest").msgclass
|
|
21
22
|
GetEscrowStatusRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("payment.v1.GetEscrowStatusRequest").msgclass
|
|
22
23
|
SettleShippingFeeRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("payment.v1.SettleShippingFeeRequest").msgclass
|
|
23
24
|
EscrowHoldResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("payment.v1.EscrowHoldResponse").msgclass
|
|
@@ -20,6 +20,7 @@ module Payment
|
|
|
20
20
|
rpc :RefundEscrow, ::Payment::V1::RefundEscrowRequest, ::Payment::V1::EscrowHoldResponse
|
|
21
21
|
rpc :GetEscrowStatus, ::Payment::V1::GetEscrowStatusRequest, ::Payment::V1::EscrowHoldResponse
|
|
22
22
|
rpc :SettleShippingFee, ::Payment::V1::SettleShippingFeeRequest, ::Payment::V1::EscrowHoldResponse
|
|
23
|
+
rpc :RefundGoods, ::Payment::V1::RefundGoodsRequest, ::Payment::V1::EscrowHoldResponse
|
|
23
24
|
end
|
|
24
25
|
|
|
25
26
|
Stub = Service.rpc_stub_class
|
data/pricing/v1/pricing_pb.rb
CHANGED
|
@@ -7,7 +7,7 @@ require 'google/protobuf'
|
|
|
7
7
|
require 'common/v1/common_pb'
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
descriptor_data = "\n\x18pricing/v1/pricing.proto\x12\npricing.v1\x1a\x16\x63ommon/v1/common.proto\"\xb4\x01\n\x10PriceItemRequest\x12\x1d\n\nproduct_id\x18\x01 \x01(\tR\tproductId\x12$\n\x0b\x63\x61tegory_id\x18\x02 \x01(\tH\x00R\ncategoryId\x88\x01\x01\x12/\n\nbase_price\x18\x03 \x01(\x0b\x32\x10.common.v1.MoneyR\tbasePrice\x12\x1a\n\x08quantity\x18\x04 \x01(\x05R\x08quantityB\x0e\n\x0c_category_id\"\x88\x01\n\x14ShippingQuoteRequest\x12!\n\x0cservice_tier\x18\x01 \x01(\tR\x0bserviceTier\x12\x1f\n\x0b\x64istance_km\x18\x02 \x01(\x01R\ndistanceKm\x12,\n\x12total_weight_grams\x18\x03 \x01(\x03R\x10totalWeightGrams\"T\n\x14QuoteShippingRequest\x12<\n\x08journeys\x18\x01 \x03(\x0b\x32 .pricing.v1.ShippingQuoteRequestR\x08journeys\"\x89\x01\n\x0eQuotedShipping\x12!\n\x0cservice_tier\x18\x01 \x01(\tR\x0bserviceTier\x12<\n\x11\x62\x61se_shipping_fee\x18\x02 \x01(\x0b\x32\x10.common.v1.MoneyR\x0f\x62\x61seShippingFee\x12\x16\n\x06priced\x18\x03 \x01(\x08R\x06priced\"K\n\x15QuoteShippingResponse\x12\x32\n\x06quotes\x18\x01 \x03(\x0b\x32\x1a.pricing.v1.QuotedShippingR\x06quotes\"\
|
|
10
|
+
descriptor_data = "\n\x18pricing/v1/pricing.proto\x12\npricing.v1\x1a\x16\x63ommon/v1/common.proto\"\xb4\x01\n\x10PriceItemRequest\x12\x1d\n\nproduct_id\x18\x01 \x01(\tR\tproductId\x12$\n\x0b\x63\x61tegory_id\x18\x02 \x01(\tH\x00R\ncategoryId\x88\x01\x01\x12/\n\nbase_price\x18\x03 \x01(\x0b\x32\x10.common.v1.MoneyR\tbasePrice\x12\x1a\n\x08quantity\x18\x04 \x01(\x05R\x08quantityB\x0e\n\x0c_category_id\"\x88\x01\n\x14ShippingQuoteRequest\x12!\n\x0cservice_tier\x18\x01 \x01(\tR\x0bserviceTier\x12\x1f\n\x0b\x64istance_km\x18\x02 \x01(\x01R\ndistanceKm\x12,\n\x12total_weight_grams\x18\x03 \x01(\x03R\x10totalWeightGrams\"T\n\x14QuoteShippingRequest\x12<\n\x08journeys\x18\x01 \x03(\x0b\x32 .pricing.v1.ShippingQuoteRequestR\x08journeys\"\x89\x01\n\x0eQuotedShipping\x12!\n\x0cservice_tier\x18\x01 \x01(\tR\x0bserviceTier\x12<\n\x11\x62\x61se_shipping_fee\x18\x02 \x01(\x0b\x32\x10.common.v1.MoneyR\x0f\x62\x61seShippingFee\x12\x16\n\x06priced\x18\x03 \x01(\x08R\x06priced\"K\n\x15QuoteShippingResponse\x12\x32\n\x06quotes\x18\x01 \x03(\x0b\x32\x1a.pricing.v1.QuotedShippingR\x06quotes\"\xc3\x03\n\x15\x43\x61lculatePriceRequest\x12\x32\n\x05items\x18\x01 \x03(\x0b\x32\x1c.pricing.v1.PriceItemRequestR\x05items\x12&\n\x0cvoucher_code\x18\x02 \x01(\tH\x00R\x0bvoucherCode\x88\x01\x01\x12\x45\n\x11\x62\x61se_shipping_fee\x18\x03 \x01(\x0b\x32\x10.common.v1.MoneyB\x02\x18\x01H\x01R\x0f\x62\x61seShippingFee\x88\x01\x01\x12*\n\x0epayment_method\x18\x04 \x01(\tH\x02R\rpaymentMethod\x88\x01\x01\x12\x41\n\x08shipping\x18\x05 \x01(\x0b\x32 .pricing.v1.ShippingQuoteRequestH\x03R\x08shipping\x88\x01\x01\x12\x37\n\x15merchant_principal_id\x18\x06 \x01(\tH\x04R\x13merchantPrincipalId\x88\x01\x01\x42\x0f\n\r_voucher_codeB\x14\n\x12_base_shipping_feeB\x11\n\x0f_payment_methodB\x0b\n\t_shippingB\x18\n\x16_merchant_principal_id\"\xfb\x02\n\x11PriceItemResponse\x12\x1d\n\nproduct_id\x18\x01 \x01(\tR\tproductId\x12/\n\nbase_price\x18\x02 \x01(\x0b\x32\x10.common.v1.MoneyR\tbasePrice\x12:\n\x10\x66inal_unit_price\x18\x03 \x01(\x0b\x32\x10.common.v1.MoneyR\x0e\x66inalUnitPrice\x12\x1a\n\x08quantity\x18\x04 \x01(\x05R\x08quantity\x12/\n\nline_total\x18\x05 \x01(\x0b\x32\x10.common.v1.MoneyR\tlineTotal\x12\x31\n\x12\x61pplied_flash_sale\x18\x06 \x01(\tH\x00R\x10\x61ppliedFlashSale\x88\x01\x01\x12.\n\x10\x61pplied_discount\x18\x07 \x01(\tH\x01R\x0f\x61ppliedDiscount\x88\x01\x01\x42\x15\n\x13_applied_flash_saleB\x13\n\x11_applied_discount\"\xe0\x04\n\x16\x43\x61lculatePriceResponse\x12,\n\x08subtotal\x18\x01 \x01(\x0b\x32\x10.common.v1.MoneyR\x08subtotal\x12\x37\n\x0etotal_discount\x18\x02 \x01(\x0b\x32\x10.common.v1.MoneyR\rtotalDiscount\x12;\n\x10voucher_discount\x18\x03 \x01(\x0b\x32\x10.common.v1.MoneyR\x0fvoucherDiscount\x12\x31\n\x0b\x66inal_total\x18\x04 \x01(\x0b\x32\x10.common.v1.MoneyR\nfinalTotal\x12,\n\x0f\x61pplied_voucher\x18\x05 \x01(\tH\x00R\x0e\x61ppliedVoucher\x88\x01\x01\x12\x33\n\x05items\x18\x06 \x03(\x0b\x32\x1d.pricing.v1.PriceItemResponseR\x05items\x12<\n\x11\x62\x61se_shipping_fee\x18\x07 \x01(\x0b\x32\x10.common.v1.MoneyR\x0f\x62\x61seShippingFee\x12=\n\x11shipping_discount\x18\x08 \x01(\x0b\x32\x10.common.v1.MoneyR\x10shippingDiscount\x12>\n\x12\x66inal_shipping_fee\x18\t \x01(\x0b\x32\x10.common.v1.MoneyR\x10\x66inalShippingFee\x12;\n\x10payment_discount\x18\n \x01(\x0b\x32\x10.common.v1.MoneyR\x0fpaymentDiscountB\x12\n\x10_applied_voucher\"\xa7\x02\n\x14RedeemVoucherRequest\x12!\n\x0cvoucher_code\x18\x01 \x01(\tR\x0bvoucherCode\x12!\n\x0corder_number\x18\x02 \x01(\tR\x0borderNumber\x12\x32\n\x15\x63ustomer_principal_id\x18\x03 \x01(\tR\x13\x63ustomerPrincipalId\x12\x42\n\x0fidempotency_key\x18\x04 \x01(\x0b\x32\x19.common.v1.IdempotencyKeyR\x0eidempotencyKey\x12\x37\n\x15merchant_principal_id\x18\x05 \x01(\tH\x00R\x13merchantPrincipalId\x88\x01\x01\x42\x18\n\x16_merchant_principal_id\"\xb3\x01\n\x15RedeemVoucherResponse\x12\x18\n\x07success\x18\x01 \x01(\x08R\x07success\x12)\n\x10\x61lready_redeemed\x18\x02 \x01(\x08R\x0f\x61lreadyRedeemed\x12\'\n\x0fremaining_quota\x18\x03 \x01(\x05R\x0eremainingQuota\x12,\n\x05\x65rror\x18\x04 \x01(\x0b\x32\x16.common.v1.ErrorDetailR\x05\x65rror\"\xab\x01\n\x1fReleaseVoucherRedemptionRequest\x12!\n\x0cvoucher_code\x18\x01 \x01(\tR\x0bvoucherCode\x12!\n\x0corder_number\x18\x02 \x01(\tR\x0borderNumber\x12\x42\n\x0fidempotency_key\x18\x03 \x01(\x0b\x32\x19.common.v1.IdempotencyKeyR\x0eidempotencyKey\"\xbe\x01\n ReleaseVoucherRedemptionResponse\x12\x18\n\x07success\x18\x01 \x01(\x08R\x07success\x12)\n\x10\x61lready_released\x18\x02 \x01(\x08R\x0f\x61lreadyReleased\x12\'\n\x0fremaining_quota\x18\x03 \x01(\x05R\x0eremainingQuota\x12,\n\x05\x65rror\x18\x04 \x01(\x0b\x32\x16.common.v1.ErrorDetailR\x05\x65rror\"\xe5\x01\n\x1d\x41llocateFlashSaleStockRequest\x12\"\n\rflash_sale_id\x18\x01 \x01(\tR\x0b\x66lashSaleId\x12\x1d\n\nproduct_id\x18\x02 \x01(\tR\tproductId\x12\x1a\n\x08quantity\x18\x03 \x01(\x05R\x08quantity\x12!\n\x0corder_number\x18\x04 \x01(\tR\x0borderNumber\x12\x42\n\x0fidempotency_key\x18\x05 \x01(\x0b\x32\x19.common.v1.IdempotencyKeyR\x0eidempotencyKey\"\xbe\x01\n\x1e\x41llocateFlashSaleStockResponse\x12\x18\n\x07success\x18\x01 \x01(\x08R\x07success\x12+\n\x11\x61lready_allocated\x18\x02 \x01(\x08R\x10\x61lreadyAllocated\x12\'\n\x0fremaining_stock\x18\x03 \x01(\x05R\x0eremainingStock\x12,\n\x05\x65rror\x18\x04 \x01(\x0b\x32\x16.common.v1.ErrorDetailR\x05\x65rror\"\xe9\x01\n!ReleaseFlashSaleAllocationRequest\x12\"\n\rflash_sale_id\x18\x01 \x01(\tR\x0b\x66lashSaleId\x12\x1d\n\nproduct_id\x18\x02 \x01(\tR\tproductId\x12\x1a\n\x08quantity\x18\x03 \x01(\x05R\x08quantity\x12!\n\x0corder_number\x18\x04 \x01(\tR\x0borderNumber\x12\x42\n\x0fidempotency_key\x18\x05 \x01(\x0b\x32\x19.common.v1.IdempotencyKeyR\x0eidempotencyKey\"\xc0\x01\n\"ReleaseFlashSaleAllocationResponse\x12\x18\n\x07success\x18\x01 \x01(\x08R\x07success\x12)\n\x10\x61lready_released\x18\x02 \x01(\x08R\x0f\x61lreadyReleased\x12\'\n\x0fremaining_stock\x18\x03 \x01(\x05R\x0eremainingStock\x12,\n\x05\x65rror\x18\x04 \x01(\x0b\x32\x16.common.v1.ErrorDetailR\x05\x65rror*d\n\x0c\x44iscountType\x12\x1d\n\x19\x44ISCOUNT_TYPE_UNSPECIFIED\x10\x00\x12\x1c\n\x18\x44ISCOUNT_TYPE_PERCENTAGE\x10\x01\x12\x17\n\x13\x44ISCOUNT_TYPE_FIXED\x10\x02*i\n\rDiscountScope\x12\x1e\n\x1a\x44ISCOUNT_SCOPE_UNSPECIFIED\x10\x00\x12\x1b\n\x17\x44ISCOUNT_SCOPE_PER_UNIT\x10\x01\x12\x1b\n\x17\x44ISCOUNT_SCOPE_PER_CART\x10\x02\x32\xfa\x04\n\x0ePricingService\x12W\n\x0e\x43\x61lculatePrice\x12!.pricing.v1.CalculatePriceRequest\x1a\".pricing.v1.CalculatePriceResponse\x12T\n\rQuoteShipping\x12 .pricing.v1.QuoteShippingRequest\x1a!.pricing.v1.QuoteShippingResponse\x12T\n\rRedeemVoucher\x12 .pricing.v1.RedeemVoucherRequest\x1a!.pricing.v1.RedeemVoucherResponse\x12u\n\x18ReleaseVoucherRedemption\x12+.pricing.v1.ReleaseVoucherRedemptionRequest\x1a,.pricing.v1.ReleaseVoucherRedemptionResponse\x12o\n\x16\x41llocateFlashSaleStock\x12).pricing.v1.AllocateFlashSaleStockRequest\x1a*.pricing.v1.AllocateFlashSaleStockResponse\x12{\n\x1aReleaseFlashSaleAllocation\x12-.pricing.v1.ReleaseFlashSaleAllocationRequest\x1a..pricing.v1.ReleaseFlashSaleAllocationResponseB\xd4\x01\n com.kinetix.contracts.pricing.v1B\x0cPricingProtoP\x01ZGgithub.com/WildanFrananda/kinetix-contracts/gen/go/pricing/v1;pricingv1\xa2\x02\x03KNX\xaa\x02\x1cKinetix.Contracts.Pricing.V1\xca\x02\nPricing\\V1\xe2\x02\x16Pricing\\V1\\GPBMetadata\xea\x02\x0bPricing::V1b\x06proto3"
|
|
11
11
|
|
|
12
12
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
|
13
13
|
pool.add_serialized_file(descriptor_data)
|
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.
|
|
4
|
+
version: 1.0.22
|
|
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
|
|
11
|
+
date: 2026-10-09 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: google-protobuf
|