kinetix-contracts 1.0.20 → 1.0.21
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/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: 5a45d8e7dd0e41908b8d2451130c6b8ee76bff5bfcd84e0fc5d5131539dd4c79
|
|
4
|
+
data.tar.gz: 795aa16511d9b12ecb8fa9a1b284d02b8df554c33845c2d1d188f286c0aa7c95
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c9dcf7e3608fefb1a3669f40ab374934eb6e0d49a2a185ee0247b0417ca23e821a573757ab32fccf33d92e9af3bb4ef8f98a7a1f14927764802fe33d52774a0e
|
|
7
|
+
data.tar.gz: '063856647449917d5a2530a8f4c94bff4448a676204cdbd8ee8bac93f0197e93c5c766bf435ab4628a870d437211da5569a030b10055a2412657806af2560ec5'
|
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.21
|
|
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
|