kinetix-contracts 0.1.21 → 1.0.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: 546b6ea33ed53ab0ed79c587cfa3e380dfb7092730c967a9bcad39cc371023d8
4
- data.tar.gz: 669e879731dcd09e286dc06d0a56aee8679b14bc98e5e1c591b630482ebfca7b
3
+ metadata.gz: caf630d0107e1ff03db769ced89e72da8656e162f61c65fb17b6dbf1cfa2ba10
4
+ data.tar.gz: fb90654801058ed323720a2766619ddd8a15542c39a01b1210670bc03209bdba
5
5
  SHA512:
6
- metadata.gz: 6973b03e56e602605977f8878c20c300cfc3c143c7ac5da400f02d0bf1cabc181a477dcbbac03f351f0c79353228973485de078bad61672df605cf65a1e9f9ff
7
- data.tar.gz: 1c1f712dfd373ad5096939d1397f59e17f753aa3a003f2d56798faac30722e62b1ecc0919b824f5402e61ca4fd61d3d4728c074a5f93e7597de60c762812512f
6
+ metadata.gz: b3303f07586ae2269d427dcdca4f17b4f3bd9549f3819cd340afc363850a88c66e9e2ced42502d93e60014ac29de9592cc327c4eb6503edc904c6748090902cf
7
+ data.tar.gz: 8aaa638820ba9feb62942cdc75f470e8da2cd5d572c44d95929e1d8a4914a15f11257486742d5a5876e51885db8710145a85b4af59f6b800da3c28a0e42a38fd
data/fleet/v1/fleet_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\x14\x66leet/v1/fleet.proto\x12\x08\x66leet.v1\x1a\x16\x63ommon/v1/common.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xc4\x03\n\x16\x44ispatchCourierRequest\x12\x32\n\x15merchant_principal_id\x18\x01 \x01(\tR\x13merchantPrincipalId\x12\x19\n\x08order_id\x18\x02 \x01(\tR\x07orderId\x12!\n\x0corder_number\x18\x03 \x01(\tR\x0borderNumber\x12=\n\x0epickup_address\x18\x04 \x01(\x0b\x32\x12.common.v1.AddressB\x02\x18\x01R\rpickupAddress\x12\x41\n\x10\x64\x65livery_address\x18\x05 \x01(\x0b\x32\x12.common.v1.AddressB\x02\x18\x01R\x0f\x64\x65liveryAddress\x12\x42\n\x0fidempotency_key\x18\x06 \x01(\x0b\x32\x19.common.v1.IdempotencyKeyR\x0eidempotencyKey\x12\x36\n\x0cpickup_point\x18\x07 \x01(\x0b\x32\x13.common.v1.GeoPointR\x0bpickupPoint\x12:\n\x0e\x64\x65livery_point\x18\x08 \x01(\x0b\x32\x13.common.v1.GeoPointR\rdeliveryPoint\"\x8d\x03\n\x17\x44ispatchCourierResponse\x12\x18\n\x07success\x18\x01 \x01(\x08R\x07success\x12!\n\x0c\x64ispatch_ref\x18\x02 \x01(\tR\x0b\x64ispatchRef\x12?\n\x1c\x61ssigned_driver_principal_id\x18\x03 \x01(\tR\x19\x61ssignedDriverPrincipalId\x12\x34\n\x14\x61ssigned_driver_name\x18\x04 \x01(\tB\x02\x18\x01R\x12\x61ssignedDriverName\x12\x36\n\x15\x61ssigned_driver_phone\x18\x05 \x01(\tB\x02\x18\x01R\x13\x61ssignedDriverPhone\x12\x18\n\x07vehicle\x18\x06 \x01(\tR\x07vehicle\x12\x1f\n\x0b\x65ta_minutes\x18\x07 \x01(\x05R\netaMinutes\x12,\n\x05\x65rror\x18\x08 \x01(\x0b\x32\x16.common.v1.ErrorDetailR\x05\x65rror\x12\x1d\n\nawb_number\x18\t \x01(\tR\tawbNumber\"\xa4\x02\n\x12\x44riverLocationPing\x12.\n\x13\x64river_principal_id\x18\x01 \x01(\tR\x11\x64riverPrincipalId\x12!\n\x0corder_number\x18\x02 \x01(\tR\x0borderNumber\x12/\n\x08location\x18\x03 \x01(\x0b\x32\x13.common.v1.GeoPointR\x08location\x12\x1b\n\tspeed_kmh\x18\x04 \x01(\x01R\x08speedKmh\x12\x30\n\x06status\x18\x05 \x01(\x0e\x32\x18.common.v1.CourierStatusR\x06status\x12;\n\x0bobserved_at\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\nobservedAt\"\x9c\x01\n\x11\x44riverLocationAck\x12.\n\x13\x64river_principal_id\x18\x01 \x01(\tR\x11\x64riverPrincipalId\x12\x1a\n\x08received\x18\x02 \x01(\x08R\x08received\x12;\n\x0bserver_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\nserverTime2\xc8\x01\n\x17\x43ourierTelemetryService\x12V\n\x0f\x44ispatchCourier\x12 .fleet.v1.DispatchCourierRequest\x1a!.fleet.v1.DispatchCourierResponse\x12U\n\x14StreamDriverLocation\x12\x1c.fleet.v1.DriverLocationPing\x1a\x1b.fleet.v1.DriverLocationAck(\x01\x30\x01\x42\xc4\x01\n\x1e\x63om.kinetix.contracts.fleet.v1B\nFleetProtoP\x01ZCgithub.com/WildanFrananda/kinetix-contracts/gen/go/fleet/v1;fleetv1\xa2\x02\x03KNX\xaa\x02\x1aKinetix.Contracts.Fleet.V1\xca\x02\x08\x46leet\\V1\xe2\x02\x14\x46leet\\V1\\GPBMetadata\xea\x02\tFleet::V1b\x06proto3"
11
+ descriptor_data = "\n\x14\x66leet/v1/fleet.proto\x12\x08\x66leet.v1\x1a\x16\x63ommon/v1/common.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xc8\x02\n\x16\x44ispatchCourierRequest\x12\x32\n\x15merchant_principal_id\x18\x01 \x01(\tR\x13merchantPrincipalId\x12\x19\n\x08order_id\x18\x02 \x01(\tR\x07orderId\x12!\n\x0corder_number\x18\x03 \x01(\tR\x0borderNumber\x12\x39\n\x0epickup_address\x18\x04 \x01(\x0b\x32\x12.common.v1.AddressR\rpickupAddress\x12=\n\x10\x64\x65livery_address\x18\x05 \x01(\x0b\x32\x12.common.v1.AddressR\x0f\x64\x65liveryAddress\x12\x42\n\x0fidempotency_key\x18\x06 \x01(\x0b\x32\x19.common.v1.IdempotencyKeyR\x0eidempotencyKey\"\xe6\x02\n\x17\x44ispatchCourierResponse\x12\x18\n\x07success\x18\x01 \x01(\x08R\x07success\x12!\n\x0c\x64ispatch_ref\x18\x02 \x01(\tR\x0b\x64ispatchRef\x12?\n\x1c\x61ssigned_driver_principal_id\x18\x03 \x01(\tR\x19\x61ssignedDriverPrincipalId\x12\x30\n\x14\x61ssigned_driver_name\x18\x04 \x01(\tR\x12\x61ssignedDriverName\x12\x32\n\x15\x61ssigned_driver_phone\x18\x05 \x01(\tR\x13\x61ssignedDriverPhone\x12\x18\n\x07vehicle\x18\x06 \x01(\tR\x07vehicle\x12\x1f\n\x0b\x65ta_minutes\x18\x07 \x01(\x05R\netaMinutes\x12,\n\x05\x65rror\x18\x08 \x01(\x0b\x32\x16.common.v1.ErrorDetailR\x05\x65rror\"\xa4\x02\n\x12\x44riverLocationPing\x12.\n\x13\x64river_principal_id\x18\x01 \x01(\tR\x11\x64riverPrincipalId\x12!\n\x0corder_number\x18\x02 \x01(\tR\x0borderNumber\x12/\n\x08location\x18\x03 \x01(\x0b\x32\x13.common.v1.GeoPointR\x08location\x12\x1b\n\tspeed_kmh\x18\x04 \x01(\x01R\x08speedKmh\x12\x30\n\x06status\x18\x05 \x01(\x0e\x32\x18.common.v1.CourierStatusR\x06status\x12;\n\x0bobserved_at\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\nobservedAt\"\x9c\x01\n\x11\x44riverLocationAck\x12.\n\x13\x64river_principal_id\x18\x01 \x01(\tR\x11\x64riverPrincipalId\x12\x1a\n\x08received\x18\x02 \x01(\x08R\x08received\x12;\n\x0bserver_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\nserverTime2\xc8\x01\n\x17\x43ourierTelemetryService\x12V\n\x0f\x44ispatchCourier\x12 .fleet.v1.DispatchCourierRequest\x1a!.fleet.v1.DispatchCourierResponse\x12U\n\x14StreamDriverLocation\x12\x1c.fleet.v1.DriverLocationPing\x1a\x1b.fleet.v1.DriverLocationAck(\x01\x30\x01\x42\xc4\x01\n\x1e\x63om.kinetix.contracts.fleet.v1B\nFleetProtoP\x01ZCgithub.com/WildanFrananda/kinetix-contracts/gen/go/fleet/v1;fleetv1\xa2\x02\x03KNX\xaa\x02\x1aKinetix.Contracts.Fleet.V1\xca\x02\x08\x46leet\\V1\xe2\x02\x14\x46leet\\V1\\GPBMetadata\xea\x02\tFleet::V1b\x06proto3"
12
12
 
13
13
  pool = Google::Protobuf::DescriptorPool.generated_pool
14
14
  pool.add_serialized_file(descriptor_data)
@@ -8,15 +8,13 @@ require 'common/v1/common_pb'
8
8
  require 'google/protobuf/timestamp_pb'
9
9
 
10
10
 
11
- descriptor_data = "\n fulfillment/v1/fulfillment.proto\x12\x0e\x66ulfillment.v1\x1a\x16\x63ommon/v1/common.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"c\n\x19\x43heckBinStockBatchRequest\x12\x32\n\x15merchant_principal_id\x18\x01 \x01(\tR\x13merchantPrincipalId\x12\x12\n\x04skus\x18\x02 \x03(\tR\x04skus\"Y\n\x1a\x43heckBinStockBatchResponse\x12;\n\x05items\x18\x01 \x03(\x0b\x32%.fulfillment.v1.CheckBinStockResponseR\x05items\"\\\n\x14\x43heckBinStockRequest\x12\x32\n\x15merchant_principal_id\x18\x01 \x01(\tR\x13merchantPrincipalId\x12\x10\n\x03sku\x18\x02 \x01(\tR\x03sku\"\xaa\x02\n\x15\x43heckBinStockResponse\x12\x14\n\x05\x66ound\x18\x01 \x01(\x08R\x05\x66ound\x12\x10\n\x03sku\x18\x02 \x01(\tR\x03sku\x12!\n\x0cproduct_name\x18\x03 \x01(\tR\x0bproductName\x12%\n\x0ephysical_stock\x18\x04 \x01(\x05R\rphysicalStock\x12\'\n\x0f\x61llocated_stock\x18\x05 \x01(\x05R\x0e\x61llocatedStock\x12\'\n\x0f\x61vailable_stock\x18\x06 \x01(\x05R\x0e\x61vailableStock\x12!\n\x0c\x62in_location\x18\x07 \x01(\tR\x0b\x62inLocation\x12*\n\x11low_stock_warning\x18\x08 \x01(\x08R\x0flowStockWarning\"\xde\x01\n\x13ReserveStockRequest\x12\x32\n\x15merchant_principal_id\x18\x01 \x01(\tR\x13merchantPrincipalId\x12\x10\n\x03sku\x18\x02 \x01(\tR\x03sku\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\"\xb2\x01\n\x14ReserveStockResponse\x12\x18\n\x07success\x18\x01 \x01(\x08R\x07success\x12!\n\x0c\x62in_location\x18\x02 \x01(\tR\x0b\x62inLocation\x12/\n\x13remaining_available\x18\x03 \x01(\x05R\x12remainingAvailable\x12,\n\x05\x65rror\x18\x04 \x01(\x0b\x32\x16.common.v1.ErrorDetailR\x05\x65rror\"\xde\x01\n\x13ReleaseStockRequest\x12\x32\n\x15merchant_principal_id\x18\x01 \x01(\tR\x13merchantPrincipalId\x12\x10\n\x03sku\x18\x02 \x01(\tR\x03sku\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\"\xba\x01\n\x14ReleaseStockResponse\x12\x18\n\x07success\x18\x01 \x01(\x08R\x07success\x12)\n\x10\x61lready_released\x18\x02 \x01(\x08R\x0f\x61lreadyReleased\x12/\n\x13remaining_available\x18\x03 \x01(\x05R\x12remainingAvailable\x12,\n\x05\x65rror\x18\x04 \x01(\x0b\x32\x16.common.v1.ErrorDetailR\x05\x65rror\"\x88\x04\n\x12\x43reateOrderRequest\x12\x32\n\x15merchant_principal_id\x18\x01 \x01(\tR\x13merchantPrincipalId\x12!\n\x0corder_number\x18\x02 \x01(\tR\x0borderNumber\x12\x39\n\x0epickup_address\x18\x03 \x01(\x0b\x32\x12.common.v1.AddressR\rpickupAddress\x12=\n\x10shipping_address\x18\x04 \x01(\x0b\x32\x12.common.v1.AddressR\x0fshippingAddress\x12\x33\n\x0ctotal_amount\x18\x05 \x01(\x0b\x32\x10.common.v1.MoneyR\x0btotalAmount\x12*\n\x05items\x18\x06 \x03(\x0b\x32\x14.common.v1.OrderItemR\x05items\x12\x42\n\x0fidempotency_key\x18\x07 \x01(\x0b\x32\x19.common.v1.IdempotencyKeyR\x0eidempotencyKey\x12<\n\x0fpickup_location\x18\x08 \x01(\x0b\x32\x13.common.v1.GeoPointR\x0epickupLocation\x12>\n\x10\x64ropoff_location\x18\t \x01(\x0b\x32\x13.common.v1.GeoPointR\x0f\x64ropoffLocation\"\xba\x02\n\x13\x43reateOrderResponse\x12\x18\n\x07success\x18\x01 \x01(\x08R\x07success\x12\x19\n\x08order_id\x18\x02 \x01(\tR\x07orderId\x12!\n\x0corder_number\x18\x03 \x01(\tR\x0borderNumber\x12.\n\x06status\x18\x04 \x01(\x0e\x32\x16.common.v1.OrderStatusR\x06status\x12\x32\n\x15merchant_principal_id\x18\x05 \x01(\tR\x13merchantPrincipalId\x12\x39\n\ncreated_at\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tcreatedAt\x12,\n\x05\x65rror\x18\x07 \x01(\x0b\x32\x16.common.v1.ErrorDetailR\x05\x65rror\"\x89\x01\n\x15GetOrderStatusRequest\x12\x32\n\x15merchant_principal_id\x18\x01 \x01(\tR\x13merchantPrincipalId\x12\x19\n\x08order_id\x18\x02 \x01(\tR\x07orderId\x12!\n\x0corder_number\x18\x03 \x01(\tR\x0borderNumber\"\xd8\x02\n\x16GetOrderStatusResponse\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.\n\x06status\x18\x04 \x01(\x0e\x32\x16.common.v1.OrderStatusR\x06status\x12\x1d\n\nawb_number\x18\x05 \x01(\tR\tawbNumber\x12\"\n\rpod_photo_url\x18\x06 \x01(\tR\x0bpodPhotoUrl\x12<\n\x0f\x64river_location\x18\x07 \x01(\x0b\x32\x13.common.v1.GeoPointR\x0e\x64riverLocation\x12\x39\n\nupdated_at\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tupdatedAt\"\xbf\x01\n\x12\x43\x61ncelOrderRequest\x12\x32\n\x15merchant_principal_id\x18\x01 \x01(\tR\x13merchantPrincipalId\x12\x19\n\x08order_id\x18\x02 \x01(\tR\x07orderId\x12\x16\n\x06reason\x18\x03 \x01(\tR\x06reason\x12\x42\n\x0fidempotency_key\x18\x04 \x01(\x0b\x32\x19.common.v1.IdempotencyKeyR\x0eidempotencyKey\"\x88\x01\n\x13\x43\x61ncelOrderResponse\x12\x18\n\x07success\x18\x01 \x01(\x08R\x07success\x12\x18\n\x07message\x18\x02 \x01(\tR\x07message\x12=\n\x0e\x63urrent_status\x18\x03 \x01(\x0e\x32\x16.common.v1.OrderStatusR\rcurrentStatus2\x92\x03\n\x0f\x42inStockService\x12\\\n\rCheckBinStock\x12$.fulfillment.v1.CheckBinStockRequest\x1a%.fulfillment.v1.CheckBinStockResponse\x12k\n\x12\x43heckBinStockBatch\x12).fulfillment.v1.CheckBinStockBatchRequest\x1a*.fulfillment.v1.CheckBinStockBatchResponse\x12Y\n\x0cReserveStock\x12#.fulfillment.v1.ReserveStockRequest\x1a$.fulfillment.v1.ReserveStockResponse\x12Y\n\x0cReleaseStock\x12#.fulfillment.v1.ReleaseStockRequest\x1a$.fulfillment.v1.ReleaseStockResponse2\xa5\x02\n\x12\x46ulfillmentService\x12V\n\x0b\x43reateOrder\x12\".fulfillment.v1.CreateOrderRequest\x1a#.fulfillment.v1.CreateOrderResponse\x12_\n\x0eGetOrderStatus\x12%.fulfillment.v1.GetOrderStatusRequest\x1a&.fulfillment.v1.GetOrderStatusResponse\x12V\n\x0b\x43\x61ncelOrder\x12\".fulfillment.v1.CancelOrderRequest\x1a#.fulfillment.v1.CancelOrderResponseB\xf4\x01\n$com.kinetix.contracts.fulfillment.v1B\x10\x46ulfillmentProtoP\x01ZOgithub.com/WildanFrananda/kinetix-contracts/gen/go/fulfillment/v1;fulfillmentv1\xa2\x02\x03KNX\xaa\x02 Kinetix.Contracts.Fulfillment.V1\xca\x02\x0e\x46ulfillment\\V1\xe2\x02\x1a\x46ulfillment\\V1\\GPBMetadata\xea\x02\x0f\x46ulfillment::V1b\x06proto3"
11
+ descriptor_data = "\n fulfillment/v1/fulfillment.proto\x12\x0e\x66ulfillment.v1\x1a\x16\x63ommon/v1/common.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\\\n\x14\x43heckBinStockRequest\x12\x32\n\x15merchant_principal_id\x18\x01 \x01(\tR\x13merchantPrincipalId\x12\x10\n\x03sku\x18\x02 \x01(\tR\x03sku\"\xaa\x02\n\x15\x43heckBinStockResponse\x12\x14\n\x05\x66ound\x18\x01 \x01(\x08R\x05\x66ound\x12\x10\n\x03sku\x18\x02 \x01(\tR\x03sku\x12!\n\x0cproduct_name\x18\x03 \x01(\tR\x0bproductName\x12%\n\x0ephysical_stock\x18\x04 \x01(\x05R\rphysicalStock\x12\'\n\x0f\x61llocated_stock\x18\x05 \x01(\x05R\x0e\x61llocatedStock\x12\'\n\x0f\x61vailable_stock\x18\x06 \x01(\x05R\x0e\x61vailableStock\x12!\n\x0c\x62in_location\x18\x07 \x01(\tR\x0b\x62inLocation\x12*\n\x11low_stock_warning\x18\x08 \x01(\x08R\x0flowStockWarning\"\xde\x01\n\x13ReserveStockRequest\x12\x32\n\x15merchant_principal_id\x18\x01 \x01(\tR\x13merchantPrincipalId\x12\x10\n\x03sku\x18\x02 \x01(\tR\x03sku\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\"\xb2\x01\n\x14ReserveStockResponse\x12\x18\n\x07success\x18\x01 \x01(\x08R\x07success\x12!\n\x0c\x62in_location\x18\x02 \x01(\tR\x0b\x62inLocation\x12/\n\x13remaining_available\x18\x03 \x01(\x05R\x12remainingAvailable\x12,\n\x05\x65rror\x18\x04 \x01(\x0b\x32\x16.common.v1.ErrorDetailR\x05\x65rror\"\xde\x01\n\x13ReleaseStockRequest\x12\x32\n\x15merchant_principal_id\x18\x01 \x01(\tR\x13merchantPrincipalId\x12\x10\n\x03sku\x18\x02 \x01(\tR\x03sku\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\"\xba\x01\n\x14ReleaseStockResponse\x12\x18\n\x07success\x18\x01 \x01(\x08R\x07success\x12)\n\x10\x61lready_released\x18\x02 \x01(\x08R\x0f\x61lreadyReleased\x12/\n\x13remaining_available\x18\x03 \x01(\x05R\x12remainingAvailable\x12,\n\x05\x65rror\x18\x04 \x01(\x0b\x32\x16.common.v1.ErrorDetailR\x05\x65rror\"\x88\x04\n\x12\x43reateOrderRequest\x12\x32\n\x15merchant_principal_id\x18\x01 \x01(\tR\x13merchantPrincipalId\x12!\n\x0corder_number\x18\x02 \x01(\tR\x0borderNumber\x12\x39\n\x0epickup_address\x18\x03 \x01(\x0b\x32\x12.common.v1.AddressR\rpickupAddress\x12=\n\x10shipping_address\x18\x04 \x01(\x0b\x32\x12.common.v1.AddressR\x0fshippingAddress\x12\x33\n\x0ctotal_amount\x18\x05 \x01(\x0b\x32\x10.common.v1.MoneyR\x0btotalAmount\x12*\n\x05items\x18\x06 \x03(\x0b\x32\x14.common.v1.OrderItemR\x05items\x12\x42\n\x0fidempotency_key\x18\x07 \x01(\x0b\x32\x19.common.v1.IdempotencyKeyR\x0eidempotencyKey\x12<\n\x0fpickup_location\x18\x08 \x01(\x0b\x32\x13.common.v1.GeoPointR\x0epickupLocation\x12>\n\x10\x64ropoff_location\x18\t \x01(\x0b\x32\x13.common.v1.GeoPointR\x0f\x64ropoffLocation\"\xba\x02\n\x13\x43reateOrderResponse\x12\x18\n\x07success\x18\x01 \x01(\x08R\x07success\x12\x19\n\x08order_id\x18\x02 \x01(\tR\x07orderId\x12!\n\x0corder_number\x18\x03 \x01(\tR\x0borderNumber\x12.\n\x06status\x18\x04 \x01(\x0e\x32\x16.common.v1.OrderStatusR\x06status\x12\x32\n\x15merchant_principal_id\x18\x05 \x01(\tR\x13merchantPrincipalId\x12\x39\n\ncreated_at\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tcreatedAt\x12,\n\x05\x65rror\x18\x07 \x01(\x0b\x32\x16.common.v1.ErrorDetailR\x05\x65rror\"\x89\x01\n\x15GetOrderStatusRequest\x12\x32\n\x15merchant_principal_id\x18\x01 \x01(\tR\x13merchantPrincipalId\x12\x19\n\x08order_id\x18\x02 \x01(\tR\x07orderId\x12!\n\x0corder_number\x18\x03 \x01(\tR\x0borderNumber\"\xd8\x02\n\x16GetOrderStatusResponse\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.\n\x06status\x18\x04 \x01(\x0e\x32\x16.common.v1.OrderStatusR\x06status\x12\x1d\n\nawb_number\x18\x05 \x01(\tR\tawbNumber\x12\"\n\rpod_photo_url\x18\x06 \x01(\tR\x0bpodPhotoUrl\x12<\n\x0f\x64river_location\x18\x07 \x01(\x0b\x32\x13.common.v1.GeoPointR\x0e\x64riverLocation\x12\x39\n\nupdated_at\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tupdatedAt\"\xbf\x01\n\x12\x43\x61ncelOrderRequest\x12\x32\n\x15merchant_principal_id\x18\x01 \x01(\tR\x13merchantPrincipalId\x12\x19\n\x08order_id\x18\x02 \x01(\tR\x07orderId\x12\x16\n\x06reason\x18\x03 \x01(\tR\x06reason\x12\x42\n\x0fidempotency_key\x18\x04 \x01(\x0b\x32\x19.common.v1.IdempotencyKeyR\x0eidempotencyKey\"\x88\x01\n\x13\x43\x61ncelOrderResponse\x12\x18\n\x07success\x18\x01 \x01(\x08R\x07success\x12\x18\n\x07message\x18\x02 \x01(\tR\x07message\x12=\n\x0e\x63urrent_status\x18\x03 \x01(\x0e\x32\x16.common.v1.OrderStatusR\rcurrentStatus2\xa5\x02\n\x0f\x42inStockService\x12\\\n\rCheckBinStock\x12$.fulfillment.v1.CheckBinStockRequest\x1a%.fulfillment.v1.CheckBinStockResponse\x12Y\n\x0cReserveStock\x12#.fulfillment.v1.ReserveStockRequest\x1a$.fulfillment.v1.ReserveStockResponse\x12Y\n\x0cReleaseStock\x12#.fulfillment.v1.ReleaseStockRequest\x1a$.fulfillment.v1.ReleaseStockResponse2\xa5\x02\n\x12\x46ulfillmentService\x12V\n\x0b\x43reateOrder\x12\".fulfillment.v1.CreateOrderRequest\x1a#.fulfillment.v1.CreateOrderResponse\x12_\n\x0eGetOrderStatus\x12%.fulfillment.v1.GetOrderStatusRequest\x1a&.fulfillment.v1.GetOrderStatusResponse\x12V\n\x0b\x43\x61ncelOrder\x12\".fulfillment.v1.CancelOrderRequest\x1a#.fulfillment.v1.CancelOrderResponseB\xf4\x01\n$com.kinetix.contracts.fulfillment.v1B\x10\x46ulfillmentProtoP\x01ZOgithub.com/WildanFrananda/kinetix-contracts/gen/go/fulfillment/v1;fulfillmentv1\xa2\x02\x03KNX\xaa\x02 Kinetix.Contracts.Fulfillment.V1\xca\x02\x0e\x46ulfillment\\V1\xe2\x02\x1a\x46ulfillment\\V1\\GPBMetadata\xea\x02\x0f\x46ulfillment::V1b\x06proto3"
12
12
 
13
13
  pool = Google::Protobuf::DescriptorPool.generated_pool
14
14
  pool.add_serialized_file(descriptor_data)
15
15
 
16
16
  module Fulfillment
17
17
  module V1
18
- CheckBinStockBatchRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("fulfillment.v1.CheckBinStockBatchRequest").msgclass
19
- CheckBinStockBatchResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("fulfillment.v1.CheckBinStockBatchResponse").msgclass
20
18
  CheckBinStockRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("fulfillment.v1.CheckBinStockRequest").msgclass
21
19
  CheckBinStockResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("fulfillment.v1.CheckBinStockResponse").msgclass
22
20
  ReserveStockRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("fulfillment.v1.ReserveStockRequest").msgclass
@@ -16,7 +16,6 @@ module Fulfillment
16
16
  self.service_name = 'fulfillment.v1.BinStockService'
17
17
 
18
18
  rpc :CheckBinStock, ::Fulfillment::V1::CheckBinStockRequest, ::Fulfillment::V1::CheckBinStockResponse
19
- rpc :CheckBinStockBatch, ::Fulfillment::V1::CheckBinStockBatchRequest, ::Fulfillment::V1::CheckBinStockBatchResponse
20
19
  rpc :ReserveStock, ::Fulfillment::V1::ReserveStockRequest, ::Fulfillment::V1::ReserveStockResponse
21
20
  rpc :ReleaseStock, ::Fulfillment::V1::ReleaseStockRequest, ::Fulfillment::V1::ReleaseStockResponse
22
21
  end
@@ -4,11 +4,8 @@
4
4
 
5
5
  require 'google/protobuf'
6
6
 
7
- require 'common/v1/common_pb'
8
- require 'google/protobuf/timestamp_pb'
9
7
 
10
-
11
- descriptor_data = "\n\x1aidentity/v1/identity.proto\x12\x0bidentity.v1\x1a\x16\x63ommon/v1/common.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"E\n\x0eServiceLocalId\x12\x18\n\x07service\x18\x01 \x01(\tR\x07service\x12\x19\n\x08local_id\x18\x02 \x01(\tR\x07localId\"`\n\x17ResolvePrincipalRequest\x12\x45\n\x10service_local_id\x18\x01 \x01(\x0b\x32\x1b.identity.v1.ServiceLocalIdR\x0eserviceLocalId\"\xa6\x01\n\x18ResolvePrincipalResponse\x12\x14\n\x05\x66ound\x18\x01 \x01(\x08R\x05\x66ound\x12!\n\x0cprincipal_id\x18\x02 \x01(\tR\x0bprincipalId\x12.\n\x04kind\x18\x03 \x01(\x0e\x32\x1a.identity.v1.PrincipalKindR\x04kind\x12!\n\x0c\x64isplay_name\x18\x04 \x01(\tR\x0b\x64isplayName\"8\n\x13GetPrincipalRequest\x12!\n\x0cprincipal_id\x18\x01 \x01(\tR\x0bprincipalId\"\xd9\x01\n\x14GetPrincipalResponse\x12\x14\n\x05\x66ound\x18\x01 \x01(\x08R\x05\x66ound\x12!\n\x0cprincipal_id\x18\x02 \x01(\tR\x0bprincipalId\x12.\n\x04kind\x18\x03 \x01(\x0e\x32\x1a.identity.v1.PrincipalKindR\x04kind\x12!\n\x0c\x64isplay_name\x18\x04 \x01(\tR\x0b\x64isplayName\x12\x35\n\x07\x61liases\x18\x05 \x03(\x0b\x32\x1b.identity.v1.ServiceLocalIdR\x07\x61liases\":\n\x15GetUserProfileRequest\x12!\n\x0cprincipal_id\x18\x01 \x01(\tR\x0bprincipalId\"\xea\x02\n\x16GetUserProfileResponse\x12\x14\n\x05\x66ound\x18\x01 \x01(\x08R\x05\x66ound\x12!\n\x0cprincipal_id\x18\x02 \x01(\tR\x0bprincipalId\x12\x14\n\x05\x65mail\x18\x03 \x01(\tR\x05\x65mail\x12\x1b\n\tfull_name\x18\x04 \x01(\tR\x08\x66ullName\x12!\n\x0cphone_number\x18\x05 \x01(\tR\x0bphoneNumber\x12%\n\x0estreet_address\x18\x06 \x01(\tR\rstreetAddress\x12\x12\n\x04\x63ity\x18\x07 \x01(\tR\x04\x63ity\x12\x1f\n\x0bpostal_code\x18\x08 \x01(\tR\npostalCode\x12.\n\x04kind\x18\t \x01(\x0e\x32\x1a.identity.v1.PrincipalKindR\x04kind\x12/\n\x08location\x18\x0b \x01(\x0b\x32\x13.common.v1.GeoPointR\x08locationJ\x04\x08\n\x10\x0b\";\n\x16GetMerchantInfoRequest\x12!\n\x0cprincipal_id\x18\x01 \x01(\tR\x0bprincipalId\"\x9d\x03\n\x17GetMerchantInfoResponse\x12\x14\n\x05\x66ound\x18\x01 \x01(\x08R\x05\x66ound\x12\x32\n\x15merchant_principal_id\x18\x02 \x01(\tR\x13merchantPrincipalId\x12\x1d\n\nstore_name\x18\x03 \x01(\tR\tstoreName\x12@\n\x1c\x62usiness_registration_number\x18\x04 \x01(\tR\x1a\x62usinessRegistrationNumber\x12\x15\n\x06tax_id\x18\x05 \x01(\tR\x05taxId\x12\x33\n\x06status\x18\x06 \x01(\x0e\x32\x1b.identity.v1.MerchantStatusR\x06status\x12\x39\n\x0epickup_address\x18\x07 \x01(\x0b\x32\x12.common.v1.AddressR\rpickupAddress\x12/\n\x08location\x18\t \x01(\x0b\x32\x13.common.v1.GeoPointR\x08location\x12\x19\n\x08may_sell\x18\n \x01(\x08R\x07maySellJ\x04\x08\x08\x10\t\"9\n\x14ValidateTokenRequest\x12!\n\x0c\x61\x63\x63\x65ss_token\x18\x01 \x01(\tR\x0b\x61\x63\x63\x65ssToken\"\x98\x01\n\x15ValidateTokenResponse\x12\x14\n\x05valid\x18\x01 \x01(\x08R\x05valid\x12!\n\x0cprincipal_id\x18\x02 \x01(\tR\x0bprincipalId\x12.\n\x04kind\x18\x03 \x01(\x0e\x32\x1a.identity.v1.PrincipalKindR\x04kind\x12\x16\n\x06reason\x18\x04 \x01(\tR\x06reason\"\x81\x01\n\x0eMerchantCursor\x12\x43\n\x0fupdated_through\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x0eupdatedThrough\x12*\n\x11last_principal_id\x18\x02 \x01(\tR\x0flastPrincipalId\"\xdd\x01\n\x0eMerchantRecord\x12!\n\x0cprincipal_id\x18\x01 \x01(\tR\x0bprincipalId\x12\x1d\n\nstore_name\x18\x02 \x01(\tR\tstoreName\x12\x33\n\x06status\x18\x03 \x01(\x0e\x32\x1b.identity.v1.MerchantStatusR\x06status\x12\x19\n\x08may_sell\x18\x04 \x01(\x08R\x07maySell\x12\x39\n\nupdated_at\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tupdatedAt\"i\n\x1cMerchantsChangedSinceRequest\x12\x33\n\x06\x63ursor\x18\x01 \x01(\x0b\x32\x1b.identity.v1.MerchantCursorR\x06\x63ursor\x12\x14\n\x05limit\x18\x02 \x01(\x05R\x05limit\"\xd8\x01\n\x1dMerchantsChangedSinceResponse\x12\x37\n\x08upserted\x18\x01 \x03(\x0b\x32\x1b.identity.v1.MerchantRecordR\x08upserted\x12\x32\n\x15removed_principal_ids\x18\x02 \x03(\tR\x13removedPrincipalIds\x12/\n\x04next\x18\x03 \x01(\x0b\x32\x1b.identity.v1.MerchantCursorR\x04next\x12\x19\n\x08has_more\x18\x04 \x01(\x08R\x07hasMore*\xba\x01\n\rPrincipalKind\x12\x1e\n\x1aPRINCIPAL_KIND_UNSPECIFIED\x10\x00\x12\x1b\n\x17PRINCIPAL_KIND_CUSTOMER\x10\x01\x12\x1b\n\x17PRINCIPAL_KIND_MERCHANT\x10\x02\x12\x19\n\x15PRINCIPAL_KIND_DRIVER\x10\x03\x12\x18\n\x14PRINCIPAL_KIND_STAFF\x10\x04\x12\x1a\n\x16PRINCIPAL_KIND_SERVICE\x10\x05*\xa7\x01\n\x0eMerchantStatus\x12\x1f\n\x1bMERCHANT_STATUS_UNSPECIFIED\x10\x00\x12\x1b\n\x17MERCHANT_STATUS_PENDING\x10\x01\x12\x1c\n\x18MERCHANT_STATUS_VERIFIED\x10\x02\x12\x1d\n\x19MERCHANT_STATUS_SUSPENDED\x10\x03\x12\x1a\n\x16MERCHANT_STATUS_CLOSED\x10\x04\x32\xc8\x04\n\x0fIdentityService\x12_\n\x10ResolvePrincipal\x12$.identity.v1.ResolvePrincipalRequest\x1a%.identity.v1.ResolvePrincipalResponse\x12S\n\x0cGetPrincipal\x12 .identity.v1.GetPrincipalRequest\x1a!.identity.v1.GetPrincipalResponse\x12Y\n\x0eGetUserProfile\x12\".identity.v1.GetUserProfileRequest\x1a#.identity.v1.GetUserProfileResponse\x12\\\n\x0fGetMerchantInfo\x12#.identity.v1.GetMerchantInfoRequest\x1a$.identity.v1.GetMerchantInfoResponse\x12V\n\rValidateToken\x12!.identity.v1.ValidateTokenRequest\x1a\".identity.v1.ValidateTokenResponse\x12n\n\x15MerchantsChangedSince\x12).identity.v1.MerchantsChangedSinceRequest\x1a*.identity.v1.MerchantsChangedSinceResponseB\xdc\x01\n!com.kinetix.contracts.identity.v1B\rIdentityProtoP\x01ZIgithub.com/WildanFrananda/kinetix-contracts/gen/go/identity/v1;identityv1\xa2\x02\x03KNX\xaa\x02\x1dKinetix.Contracts.Identity.V1\xca\x02\x0bIdentity\\V1\xe2\x02\x17Identity\\V1\\GPBMetadata\xea\x02\x0cIdentity::V1b\x06proto3"
8
+ descriptor_data = "\n\x1aidentity/v1/identity.proto\x12\x0bidentity.v1\"E\n\x0eServiceLocalId\x12\x18\n\x07service\x18\x01 \x01(\tR\x07service\x12\x19\n\x08local_id\x18\x02 \x01(\tR\x07localId\"`\n\x17ResolvePrincipalRequest\x12\x45\n\x10service_local_id\x18\x01 \x01(\x0b\x32\x1b.identity.v1.ServiceLocalIdR\x0eserviceLocalId\"\xa6\x01\n\x18ResolvePrincipalResponse\x12\x14\n\x05\x66ound\x18\x01 \x01(\x08R\x05\x66ound\x12!\n\x0cprincipal_id\x18\x02 \x01(\tR\x0bprincipalId\x12.\n\x04kind\x18\x03 \x01(\x0e\x32\x1a.identity.v1.PrincipalKindR\x04kind\x12!\n\x0c\x64isplay_name\x18\x04 \x01(\tR\x0b\x64isplayName\"8\n\x13GetPrincipalRequest\x12!\n\x0cprincipal_id\x18\x01 \x01(\tR\x0bprincipalId\"\xd9\x01\n\x14GetPrincipalResponse\x12\x14\n\x05\x66ound\x18\x01 \x01(\x08R\x05\x66ound\x12!\n\x0cprincipal_id\x18\x02 \x01(\tR\x0bprincipalId\x12.\n\x04kind\x18\x03 \x01(\x0e\x32\x1a.identity.v1.PrincipalKindR\x04kind\x12!\n\x0c\x64isplay_name\x18\x04 \x01(\tR\x0b\x64isplayName\x12\x35\n\x07\x61liases\x18\x05 \x03(\x0b\x32\x1b.identity.v1.ServiceLocalIdR\x07\x61liases\":\n\x15GetUserProfileRequest\x12!\n\x0cprincipal_id\x18\x01 \x01(\tR\x0bprincipalId\"\xb3\x02\n\x16GetUserProfileResponse\x12\x14\n\x05\x66ound\x18\x01 \x01(\x08R\x05\x66ound\x12!\n\x0cprincipal_id\x18\x02 \x01(\tR\x0bprincipalId\x12\x14\n\x05\x65mail\x18\x03 \x01(\tR\x05\x65mail\x12\x1b\n\tfull_name\x18\x04 \x01(\tR\x08\x66ullName\x12!\n\x0cphone_number\x18\x05 \x01(\tR\x0bphoneNumber\x12%\n\x0estreet_address\x18\x06 \x01(\tR\rstreetAddress\x12\x12\n\x04\x63ity\x18\x07 \x01(\tR\x04\x63ity\x12\x1f\n\x0bpostal_code\x18\x08 \x01(\tR\npostalCode\x12.\n\x04kind\x18\t \x01(\x0e\x32\x1a.identity.v1.PrincipalKindR\x04kind\";\n\x16GetMerchantInfoRequest\x12!\n\x0cprincipal_id\x18\x01 \x01(\tR\x0bprincipalId\"\x90\x02\n\x17GetMerchantInfoResponse\x12\x14\n\x05\x66ound\x18\x01 \x01(\x08R\x05\x66ound\x12\x32\n\x15merchant_principal_id\x18\x02 \x01(\tR\x13merchantPrincipalId\x12\x1d\n\nstore_name\x18\x03 \x01(\tR\tstoreName\x12@\n\x1c\x62usiness_registration_number\x18\x04 \x01(\tR\x1a\x62usinessRegistrationNumber\x12\x15\n\x06tax_id\x18\x05 \x01(\tR\x05taxId\x12\x33\n\x06status\x18\x06 \x01(\x0e\x32\x1b.identity.v1.MerchantStatusR\x06status\"9\n\x14ValidateTokenRequest\x12!\n\x0c\x61\x63\x63\x65ss_token\x18\x01 \x01(\tR\x0b\x61\x63\x63\x65ssToken\"\x98\x01\n\x15ValidateTokenResponse\x12\x14\n\x05valid\x18\x01 \x01(\x08R\x05valid\x12!\n\x0cprincipal_id\x18\x02 \x01(\tR\x0bprincipalId\x12.\n\x04kind\x18\x03 \x01(\x0e\x32\x1a.identity.v1.PrincipalKindR\x04kind\x12\x16\n\x06reason\x18\x04 \x01(\tR\x06reason*\xba\x01\n\rPrincipalKind\x12\x1e\n\x1aPRINCIPAL_KIND_UNSPECIFIED\x10\x00\x12\x1b\n\x17PRINCIPAL_KIND_CUSTOMER\x10\x01\x12\x1b\n\x17PRINCIPAL_KIND_MERCHANT\x10\x02\x12\x19\n\x15PRINCIPAL_KIND_DRIVER\x10\x03\x12\x18\n\x14PRINCIPAL_KIND_STAFF\x10\x04\x12\x1a\n\x16PRINCIPAL_KIND_SERVICE\x10\x05*\xa7\x01\n\x0eMerchantStatus\x12\x1f\n\x1bMERCHANT_STATUS_UNSPECIFIED\x10\x00\x12\x1b\n\x17MERCHANT_STATUS_PENDING\x10\x01\x12\x1c\n\x18MERCHANT_STATUS_VERIFIED\x10\x02\x12\x1d\n\x19MERCHANT_STATUS_SUSPENDED\x10\x03\x12\x1a\n\x16MERCHANT_STATUS_CLOSED\x10\x04\x32\xd8\x03\n\x0fIdentityService\x12_\n\x10ResolvePrincipal\x12$.identity.v1.ResolvePrincipalRequest\x1a%.identity.v1.ResolvePrincipalResponse\x12S\n\x0cGetPrincipal\x12 .identity.v1.GetPrincipalRequest\x1a!.identity.v1.GetPrincipalResponse\x12Y\n\x0eGetUserProfile\x12\".identity.v1.GetUserProfileRequest\x1a#.identity.v1.GetUserProfileResponse\x12\\\n\x0fGetMerchantInfo\x12#.identity.v1.GetMerchantInfoRequest\x1a$.identity.v1.GetMerchantInfoResponse\x12V\n\rValidateToken\x12!.identity.v1.ValidateTokenRequest\x1a\".identity.v1.ValidateTokenResponseB\xdc\x01\n!com.kinetix.contracts.identity.v1B\rIdentityProtoP\x01ZIgithub.com/WildanFrananda/kinetix-contracts/gen/go/identity/v1;identityv1\xa2\x02\x03KNX\xaa\x02\x1dKinetix.Contracts.Identity.V1\xca\x02\x0bIdentity\\V1\xe2\x02\x17Identity\\V1\\GPBMetadata\xea\x02\x0cIdentity::V1b\x06proto3"
12
9
 
13
10
  pool = Google::Protobuf::DescriptorPool.generated_pool
14
11
  pool.add_serialized_file(descriptor_data)
@@ -26,10 +23,6 @@ module Identity
26
23
  GetMerchantInfoResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("identity.v1.GetMerchantInfoResponse").msgclass
27
24
  ValidateTokenRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("identity.v1.ValidateTokenRequest").msgclass
28
25
  ValidateTokenResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("identity.v1.ValidateTokenResponse").msgclass
29
- MerchantCursor = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("identity.v1.MerchantCursor").msgclass
30
- MerchantRecord = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("identity.v1.MerchantRecord").msgclass
31
- MerchantsChangedSinceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("identity.v1.MerchantsChangedSinceRequest").msgclass
32
- MerchantsChangedSinceResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("identity.v1.MerchantsChangedSinceResponse").msgclass
33
26
  PrincipalKind = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("identity.v1.PrincipalKind").enummodule
34
27
  MerchantStatus = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("identity.v1.MerchantStatus").enummodule
35
28
  end
@@ -20,7 +20,6 @@ module Identity
20
20
  rpc :GetUserProfile, ::Identity::V1::GetUserProfileRequest, ::Identity::V1::GetUserProfileResponse
21
21
  rpc :GetMerchantInfo, ::Identity::V1::GetMerchantInfoRequest, ::Identity::V1::GetMerchantInfoResponse
22
22
  rpc :ValidateToken, ::Identity::V1::ValidateTokenRequest, ::Identity::V1::ValidateTokenResponse
23
- rpc :MerchantsChangedSince, ::Identity::V1::MerchantsChangedSinceRequest, ::Identity::V1::MerchantsChangedSinceResponse
24
23
  end
25
24
 
26
25
  Stub = Service.rpc_stub_class
data/order/v1/order_pb.rb CHANGED
@@ -5,34 +5,19 @@
5
5
  require 'google/protobuf'
6
6
 
7
7
  require 'common/v1/common_pb'
8
- require 'google/protobuf/timestamp_pb'
9
8
 
10
9
 
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"
10
+ descriptor_data = "\n\x14order/v1/order.proto\x12\x08order.v1\x1a\x16\x63ommon/v1/common.proto\"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\ntotalCount2\xd3\x01\n\x0cOrderService\x12V\n\x0fGetOrderDetails\x12 .order.v1.GetOrderDetailsRequest\x1a!.order.v1.GetOrderDetailsResponse\x12k\n\x16ListOrdersForPrincipal\x12\'.order.v1.ListOrdersForPrincipalRequest\x1a(.order.v1.ListOrdersForPrincipalResponseB\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
11
 
13
12
  pool = Google::Protobuf::DescriptorPool.generated_pool
14
13
  pool.add_serialized_file(descriptor_data)
15
14
 
16
15
  module Order
17
16
  module V1
18
- OpenReturnRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("order.v1.OpenReturnRequest").msgclass
19
- OpenReturnResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("order.v1.OpenReturnResponse").msgclass
20
- ReturnedLine = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("order.v1.ReturnedLine").msgclass
21
- ReturnGoodsReceivedRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("order.v1.ReturnGoodsReceivedRequest").msgclass
22
- ReturnGoodsReceivedResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("order.v1.ReturnGoodsReceivedResponse").msgclass
23
- OrderDeliveredRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("order.v1.OrderDeliveredRequest").msgclass
24
- OrderDeliveredResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("order.v1.OrderDeliveredResponse").msgclass
25
- FulfillmentPackedRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("order.v1.FulfillmentPackedRequest").msgclass
26
- FulfillmentPackedResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("order.v1.FulfillmentPackedResponse").msgclass
27
17
  GetOrderDetailsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("order.v1.GetOrderDetailsRequest").msgclass
28
18
  OrderLine = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("order.v1.OrderLine").msgclass
29
19
  GetOrderDetailsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("order.v1.GetOrderDetailsResponse").msgclass
30
20
  ListOrdersForPrincipalRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("order.v1.ListOrdersForPrincipalRequest").msgclass
31
21
  ListOrdersForPrincipalResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("order.v1.ListOrdersForPrincipalResponse").msgclass
32
- OrderCursor = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("order.v1.OrderCursor").msgclass
33
- OrderRecord = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("order.v1.OrderRecord").msgclass
34
- OrdersChangedSinceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("order.v1.OrdersChangedSinceRequest").msgclass
35
- OrdersChangedSinceResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("order.v1.OrdersChangedSinceResponse").msgclass
36
- ReturnStatus = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("order.v1.ReturnStatus").enummodule
37
22
  end
38
23
  end
@@ -17,11 +17,6 @@ module Order
17
17
 
18
18
  rpc :GetOrderDetails, ::Order::V1::GetOrderDetailsRequest, ::Order::V1::GetOrderDetailsResponse
19
19
  rpc :ListOrdersForPrincipal, ::Order::V1::ListOrdersForPrincipalRequest, ::Order::V1::ListOrdersForPrincipalResponse
20
- rpc :FulfillmentPacked, ::Order::V1::FulfillmentPackedRequest, ::Order::V1::FulfillmentPackedResponse
21
- rpc :OrderDelivered, ::Order::V1::OrderDeliveredRequest, ::Order::V1::OrderDeliveredResponse
22
- rpc :OpenReturn, ::Order::V1::OpenReturnRequest, ::Order::V1::OpenReturnResponse
23
- rpc :ReturnGoodsReceived, ::Order::V1::ReturnGoodsReceivedRequest, ::Order::V1::ReturnGoodsReceivedResponse
24
- rpc :OrdersChangedSince, ::Order::V1::OrdersChangedSinceRequest, ::Order::V1::OrdersChangedSinceResponse
25
20
  end
26
21
 
27
22
  Stub = Service.rpc_stub_class
@@ -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\"\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"
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"
12
12
 
13
13
  pool = Google::Protobuf::DescriptorPool.generated_pool
14
14
  pool.add_serialized_file(descriptor_data)
@@ -19,7 +19,6 @@ 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
23
22
  EscrowHoldResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("payment.v1.EscrowHoldResponse").msgclass
24
23
  EscrowStatus = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("payment.v1.EscrowStatus").enummodule
25
24
  end
@@ -19,7 +19,6 @@ 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
23
22
  end
24
23
 
25
24
  Stub = Service.rpc_stub_class
@@ -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\"\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"
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\"\x9c\x02\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\x41\n\x11\x62\x61se_shipping_fee\x18\x03 \x01(\x0b\x32\x10.common.v1.MoneyH\x01R\x0f\x62\x61seShippingFee\x88\x01\x01\x12*\n\x0epayment_method\x18\x04 \x01(\tH\x02R\rpaymentMethod\x88\x01\x01\x42\x0f\n\r_voucher_codeB\x14\n\x12_base_shipping_feeB\x11\n\x0f_payment_method\"\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\"\xd4\x01\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\"\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\xa4\x04\n\x0ePricingService\x12W\n\x0e\x43\x61lculatePrice\x12!.pricing.v1.CalculatePriceRequest\x1a\".pricing.v1.CalculatePriceResponse\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)
@@ -15,10 +15,6 @@ pool.add_serialized_file(descriptor_data)
15
15
  module Pricing
16
16
  module V1
17
17
  PriceItemRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pricing.v1.PriceItemRequest").msgclass
18
- ShippingQuoteRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pricing.v1.ShippingQuoteRequest").msgclass
19
- QuoteShippingRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pricing.v1.QuoteShippingRequest").msgclass
20
- QuotedShipping = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pricing.v1.QuotedShipping").msgclass
21
- QuoteShippingResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pricing.v1.QuoteShippingResponse").msgclass
22
18
  CalculatePriceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pricing.v1.CalculatePriceRequest").msgclass
23
19
  PriceItemResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pricing.v1.PriceItemResponse").msgclass
24
20
  CalculatePriceResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pricing.v1.CalculatePriceResponse").msgclass
@@ -16,7 +16,6 @@ module Pricing
16
16
  self.service_name = 'pricing.v1.PricingService'
17
17
 
18
18
  rpc :CalculatePrice, ::Pricing::V1::CalculatePriceRequest, ::Pricing::V1::CalculatePriceResponse
19
- rpc :QuoteShipping, ::Pricing::V1::QuoteShippingRequest, ::Pricing::V1::QuoteShippingResponse
20
19
  rpc :RedeemVoucher, ::Pricing::V1::RedeemVoucherRequest, ::Pricing::V1::RedeemVoucherResponse
21
20
  rpc :ReleaseVoucherRedemption, ::Pricing::V1::ReleaseVoucherRedemptionRequest, ::Pricing::V1::ReleaseVoucherRedemptionResponse
22
21
  rpc :AllocateFlashSaleStock, ::Pricing::V1::AllocateFlashSaleStockRequest, ::Pricing::V1::AllocateFlashSaleStockResponse
@@ -7,7 +7,7 @@ require 'google/protobuf'
7
7
  require 'common/v1/common_pb'
8
8
 
9
9
 
10
- descriptor_data = "\n\x1ashipping/v1/shipping.proto\x12\x0bshipping.v1\x1a\x16\x63ommon/v1/common.proto\"\xe6\x01\n\x1e\x45stimateShippingOptionsRequest\x12+\n\x06origin\x18\x01 \x01(\x0b\x32\x13.common.v1.GeoPointR\x06origin\x12\x35\n\x0b\x64\x65stination\x18\x02 \x01(\x0b\x32\x13.common.v1.GeoPointR\x0b\x64\x65stination\x12,\n\x12total_weight_grams\x18\x03 \x01(\x03R\x10totalWeightGrams\x12\x32\n\x15merchant_principal_id\x18\x04 \x01(\tR\x13merchantPrincipalId\"\xc2\x02\n\rCourierOption\x12!\n\x0cservice_tier\x18\x01 \x01(\tR\x0bserviceTier\x12!\n\x0cservice_name\x18\x02 \x01(\tR\x0bserviceName\x12\x1f\n\x0b\x64istance_km\x18\x03 \x01(\x01R\ndistanceKm\x12@\n\x11\x62\x61se_shipping_fee\x18\x04 \x01(\x0b\x32\x10.common.v1.MoneyB\x02\x18\x01R\x0f\x62\x61seShippingFee\x12\x36\n\x17\x65stimated_delivery_time\x18\x05 \x01(\tR\x15\x65stimatedDeliveryTime\x12!\n\x0cis_available\x18\x06 \x01(\x08R\x0bisAvailable\x12-\n\x12unavailable_reason\x18\x07 \x01(\tR\x11unavailableReason\"x\n\x1f\x45stimateShippingOptionsResponse\x12\x1f\n\x0b\x64istance_km\x18\x01 \x01(\x01R\ndistanceKm\x12\x34\n\x07options\x18\x02 \x03(\x0b\x32\x1a.shipping.v1.CourierOptionR\x07options2\x87\x01\n\x0fShippingService\x12t\n\x17\x45stimateShippingOptions\x12+.shipping.v1.EstimateShippingOptionsRequest\x1a,.shipping.v1.EstimateShippingOptionsResponseB\xdc\x01\n!com.kinetix.contracts.shipping.v1B\rShippingProtoP\x01ZIgithub.com/WildanFrananda/kinetix-contracts/gen/go/shipping/v1;shippingv1\xa2\x02\x03KNX\xaa\x02\x1dKinetix.Contracts.Shipping.V1\xca\x02\x0bShipping\\V1\xe2\x02\x17Shipping\\V1\\GPBMetadata\xea\x02\x0cShipping::V1b\x06proto3"
10
+ descriptor_data = "\n\x1ashipping/v1/shipping.proto\x12\x0bshipping.v1\x1a\x16\x63ommon/v1/common.proto\"\xe6\x01\n\x1e\x45stimateShippingOptionsRequest\x12+\n\x06origin\x18\x01 \x01(\x0b\x32\x13.common.v1.GeoPointR\x06origin\x12\x35\n\x0b\x64\x65stination\x18\x02 \x01(\x0b\x32\x13.common.v1.GeoPointR\x0b\x64\x65stination\x12,\n\x12total_weight_grams\x18\x03 \x01(\x03R\x10totalWeightGrams\x12\x32\n\x15merchant_principal_id\x18\x04 \x01(\tR\x13merchantPrincipalId\"\xbe\x02\n\rCourierOption\x12!\n\x0cservice_tier\x18\x01 \x01(\tR\x0bserviceTier\x12!\n\x0cservice_name\x18\x02 \x01(\tR\x0bserviceName\x12\x1f\n\x0b\x64istance_km\x18\x03 \x01(\x01R\ndistanceKm\x12<\n\x11\x62\x61se_shipping_fee\x18\x04 \x01(\x0b\x32\x10.common.v1.MoneyR\x0f\x62\x61seShippingFee\x12\x36\n\x17\x65stimated_delivery_time\x18\x05 \x01(\tR\x15\x65stimatedDeliveryTime\x12!\n\x0cis_available\x18\x06 \x01(\x08R\x0bisAvailable\x12-\n\x12unavailable_reason\x18\x07 \x01(\tR\x11unavailableReason\"x\n\x1f\x45stimateShippingOptionsResponse\x12\x1f\n\x0b\x64istance_km\x18\x01 \x01(\x01R\ndistanceKm\x12\x34\n\x07options\x18\x02 \x03(\x0b\x32\x1a.shipping.v1.CourierOptionR\x07options2\x87\x01\n\x0fShippingService\x12t\n\x17\x45stimateShippingOptions\x12+.shipping.v1.EstimateShippingOptionsRequest\x1a,.shipping.v1.EstimateShippingOptionsResponseB\xdc\x01\n!com.kinetix.contracts.shipping.v1B\rShippingProtoP\x01ZIgithub.com/WildanFrananda/kinetix-contracts/gen/go/shipping/v1;shippingv1\xa2\x02\x03KNX\xaa\x02\x1dKinetix.Contracts.Shipping.V1\xca\x02\x0bShipping\\V1\xe2\x02\x17Shipping\\V1\\GPBMetadata\xea\x02\x0cShipping::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: 0.1.21
4
+ version: 1.0.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-09 00:00:00.000000000 Z
11
+ date: 2026-09-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-protobuf
@@ -44,23 +44,15 @@ executables: []
44
44
  extensions: []
45
45
  extra_rdoc_files: []
46
46
  files:
47
- - catalog/v1/catalog_pb.rb
48
- - catalog/v1/catalog_services_pb.rb
49
47
  - common/v1/common_pb.rb
50
48
  - fleet/v1/fleet_pb.rb
51
49
  - fleet/v1/fleet_services_pb.rb
52
- - fleet/v1/registry_pb.rb
53
- - fleet/v1/registry_services_pb.rb
54
50
  - fulfillment/v1/fulfillment_pb.rb
55
51
  - fulfillment/v1/fulfillment_services_pb.rb
56
- - fulfillment/v1/task_pb.rb
57
- - fulfillment/v1/task_services_pb.rb
58
52
  - geo/v1/geo_pb.rb
59
53
  - geo/v1/geo_services_pb.rb
60
54
  - identity/v1/identity_pb.rb
61
55
  - identity/v1/identity_services_pb.rb
62
- - notification/v1/notification_pb.rb
63
- - notification/v1/notification_services_pb.rb
64
56
  - order/v1/order_pb.rb
65
57
  - order/v1/order_services_pb.rb
66
58
  - payment/v1/payment_pb.rb
@@ -69,8 +61,6 @@ files:
69
61
  - pricing/v1/pricing_services_pb.rb
70
62
  - returns/v1/returns_pb.rb
71
63
  - returns/v1/returns_services_pb.rb
72
- - search/v1/search_pb.rb
73
- - search/v1/search_services_pb.rb
74
64
  - shipping/v1/shipping_pb.rb
75
65
  - shipping/v1/shipping_services_pb.rb
76
66
  homepage:
@@ -79,7 +69,7 @@ metadata: {}
79
69
  post_install_message:
80
70
  rdoc_options: []
81
71
  require_paths:
82
- - "."
72
+ - lib
83
73
  required_ruby_version: !ruby/object:Gem::Requirement
84
74
  requirements:
85
75
  - - ">="
@@ -1,27 +0,0 @@
1
- # frozen_string_literal: true
2
- # Generated by the protocol buffer compiler. DO NOT EDIT!
3
- # source: catalog/v1/catalog.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\x18\x63\x61talog/v1/catalog.proto\x12\ncatalog.v1\x1a\x16\x63ommon/v1/common.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"h\n\x06\x43ursor\x12\x43\n\x0fupdated_through\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x0eupdatedThrough\x12\x19\n\x08last_sku\x18\x02 \x01(\tR\x07lastSku\"\xd1\x02\n\x07Product\x12\x10\n\x03sku\x18\x01 \x01(\tR\x03sku\x12\x32\n\x15merchant_principal_id\x18\x02 \x01(\tR\x13merchantPrincipalId\x12\x14\n\x05title\x18\x03 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x04 \x01(\tR\x0b\x64\x65scription\x12&\n\x05price\x18\x05 \x01(\x0b\x32\x10.common.v1.MoneyR\x05price\x12\x1b\n\timage_url\x18\x06 \x01(\tR\x08imageUrl\x12#\n\rcategory_slug\x18\x07 \x01(\tR\x0c\x63\x61tegorySlug\x12#\n\rcategory_name\x18\x08 \x01(\tR\x0c\x63\x61tegoryName\x12\x39\n\nupdated_at\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tupdatedAt\"W\n\x13\x43hangedSinceRequest\x12*\n\x06\x63ursor\x18\x01 \x01(\x0b\x32\x12.catalog.v1.CursorR\x06\x63ursor\x12\x14\n\x05limit\x18\x02 \x01(\x05R\x05limit\"\xad\x01\n\x14\x43hangedSinceResponse\x12/\n\x08upserted\x18\x01 \x03(\x0b\x32\x13.catalog.v1.ProductR\x08upserted\x12!\n\x0cremoved_skus\x18\x02 \x03(\tR\x0bremovedSkus\x12&\n\x04next\x18\x03 \x01(\x0b\x32\x12.catalog.v1.CursorR\x04next\x12\x19\n\x08has_more\x18\x04 \x01(\x08R\x07hasMore\"%\n\x11GetProductRequest\x12\x10\n\x03sku\x18\x01 \x01(\tR\x03sku\"Y\n\x12GetProductResponse\x12\x14\n\x05\x66ound\x18\x01 \x01(\x08R\x05\x66ound\x12-\n\x07product\x18\x02 \x01(\x0b\x32\x13.catalog.v1.ProductR\x07product\"\x16\n\x14\x43ountProductsRequest\"-\n\x15\x43ountProductsResponse\x12\x14\n\x05total\x18\x01 \x01(\x03R\x05total2\x86\x02\n\x0e\x43\x61talogService\x12Q\n\x0c\x43hangedSince\x12\x1f.catalog.v1.ChangedSinceRequest\x1a .catalog.v1.ChangedSinceResponse\x12K\n\nGetProduct\x12\x1d.catalog.v1.GetProductRequest\x1a\x1e.catalog.v1.GetProductResponse\x12T\n\rCountProducts\x12 .catalog.v1.CountProductsRequest\x1a!.catalog.v1.CountProductsResponseB\xd4\x01\n com.kinetix.contracts.catalog.v1B\x0c\x43\x61talogProtoP\x01ZGgithub.com/WildanFrananda/kinetix-contracts/gen/go/catalog/v1;catalogv1\xa2\x02\x03KNX\xaa\x02\x1cKinetix.Contracts.Catalog.V1\xca\x02\nCatalog\\V1\xe2\x02\x16\x43\x61talog\\V1\\GPBMetadata\xea\x02\x0b\x43\x61talog::V1b\x06proto3"
12
-
13
- pool = Google::Protobuf::DescriptorPool.generated_pool
14
- pool.add_serialized_file(descriptor_data)
15
-
16
- module Catalog
17
- module V1
18
- Cursor = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("catalog.v1.Cursor").msgclass
19
- Product = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("catalog.v1.Product").msgclass
20
- ChangedSinceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("catalog.v1.ChangedSinceRequest").msgclass
21
- ChangedSinceResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("catalog.v1.ChangedSinceResponse").msgclass
22
- GetProductRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("catalog.v1.GetProductRequest").msgclass
23
- GetProductResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("catalog.v1.GetProductResponse").msgclass
24
- CountProductsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("catalog.v1.CountProductsRequest").msgclass
25
- CountProductsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("catalog.v1.CountProductsResponse").msgclass
26
- end
27
- end
@@ -1,26 +0,0 @@
1
- # Generated by the protocol buffer compiler. DO NOT EDIT!
2
- # Source: catalog/v1/catalog.proto for package 'Catalog.V1'
3
-
4
- require 'grpc'
5
- require 'catalog/v1/catalog_pb'
6
-
7
- module Catalog
8
- module V1
9
- module CatalogService
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 = 'catalog.v1.CatalogService'
17
-
18
- rpc :ChangedSince, ::Catalog::V1::ChangedSinceRequest, ::Catalog::V1::ChangedSinceResponse
19
- rpc :GetProduct, ::Catalog::V1::GetProductRequest, ::Catalog::V1::GetProductResponse
20
- rpc :CountProducts, ::Catalog::V1::CountProductsRequest, ::Catalog::V1::CountProductsResponse
21
- end
22
-
23
- Stub = Service.rpc_stub_class
24
- end
25
- end
26
- end
@@ -1,22 +0,0 @@
1
- # frozen_string_literal: true
2
- # Generated by the protocol buffer compiler. DO NOT EDIT!
3
- # source: fleet/v1/registry.proto
4
-
5
- require 'google/protobuf'
6
-
7
- require 'common/v1/common_pb'
8
-
9
-
10
- descriptor_data = "\n\x17\x66leet/v1/registry.proto\x12\x08\x66leet.v1\x1a\x16\x63ommon/v1/common.proto\"\x80\x01\n\x15RegisterDriverRequest\x12!\n\x0cprincipal_id\x18\x01 \x01(\tR\x0bprincipalId\x12#\n\rvehicle_plate\x18\x02 \x01(\tR\x0cvehiclePlate\x12\x1f\n\x0b\x63\x61pacity_kg\x18\x03 \x01(\x05R\ncapacityKg\"\xac\x01\n\x16RegisterDriverResponse\x12\x18\n\x07success\x18\x01 \x01(\x08R\x07success\x12\x1b\n\tdriver_id\x18\x02 \x01(\x03R\x08\x64riverId\x12-\n\x12\x61lready_registered\x18\x03 \x01(\x08R\x11\x61lreadyRegistered\x12,\n\x05\x65rror\x18\x04 \x01(\x0b\x32\x16.common.v1.ErrorDetailR\x05\x65rror\":\n\x15\x41\x63tivateDriverRequest\x12!\n\x0cprincipal_id\x18\x01 \x01(\tR\x0bprincipalId\"\xa4\x01\n\x16\x41\x63tivateDriverResponse\x12\x18\n\x07success\x18\x01 \x01(\x08R\x07success\x12\x1b\n\tdriver_id\x18\x02 \x01(\x03R\x08\x64riverId\x12%\n\x0e\x61lready_active\x18\x03 \x01(\x08R\ralreadyActive\x12,\n\x05\x65rror\x18\x04 \x01(\x0b\x32\x16.common.v1.ErrorDetailR\x05\x65rror2\xc0\x01\n\x14\x46leetRegistryService\x12S\n\x0eRegisterDriver\x12\x1f.fleet.v1.RegisterDriverRequest\x1a .fleet.v1.RegisterDriverResponse\x12S\n\x0e\x41\x63tivateDriver\x12\x1f.fleet.v1.ActivateDriverRequest\x1a .fleet.v1.ActivateDriverResponseB\xc7\x01\n\x1e\x63om.kinetix.contracts.fleet.v1B\rRegistryProtoP\x01ZCgithub.com/WildanFrananda/kinetix-contracts/gen/go/fleet/v1;fleetv1\xa2\x02\x03KNX\xaa\x02\x1aKinetix.Contracts.Fleet.V1\xca\x02\x08\x46leet\\V1\xe2\x02\x14\x46leet\\V1\\GPBMetadata\xea\x02\tFleet::V1b\x06proto3"
11
-
12
- pool = Google::Protobuf::DescriptorPool.generated_pool
13
- pool.add_serialized_file(descriptor_data)
14
-
15
- module Fleet
16
- module V1
17
- RegisterDriverRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("fleet.v1.RegisterDriverRequest").msgclass
18
- RegisterDriverResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("fleet.v1.RegisterDriverResponse").msgclass
19
- ActivateDriverRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("fleet.v1.ActivateDriverRequest").msgclass
20
- ActivateDriverResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("fleet.v1.ActivateDriverResponse").msgclass
21
- end
22
- end
@@ -1,25 +0,0 @@
1
- # Generated by the protocol buffer compiler. DO NOT EDIT!
2
- # Source: fleet/v1/registry.proto for package 'Fleet.V1'
3
-
4
- require 'grpc'
5
- require 'fleet/v1/registry_pb'
6
-
7
- module Fleet
8
- module V1
9
- module FleetRegistryService
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 = 'fleet.v1.FleetRegistryService'
17
-
18
- rpc :RegisterDriver, ::Fleet::V1::RegisterDriverRequest, ::Fleet::V1::RegisterDriverResponse
19
- rpc :ActivateDriver, ::Fleet::V1::ActivateDriverRequest, ::Fleet::V1::ActivateDriverResponse
20
- end
21
-
22
- Stub = Service.rpc_stub_class
23
- end
24
- end
25
- end
@@ -1,25 +0,0 @@
1
- # frozen_string_literal: true
2
- # Generated by the protocol buffer compiler. DO NOT EDIT!
3
- # source: fulfillment/v1/task.proto
4
-
5
- require 'google/protobuf'
6
-
7
- require 'common/v1/common_pb'
8
-
9
-
10
- descriptor_data = "\n\x19\x66ulfillment/v1/task.proto\x12\x0e\x66ulfillment.v1\x1a\x16\x63ommon/v1/common.proto\"\x83\x02\n\x17RecordCourierAwbRequest\x12\x32\n\x15merchant_principal_id\x18\x01 \x01(\tR\x13merchantPrincipalId\x12.\n\x13\x66ulfillment_task_id\x18\x02 \x01(\tR\x11\x66ulfillmentTaskId\x12!\n\x0corder_number\x18\x03 \x01(\tR\x0borderNumber\x12\x1d\n\nawb_number\x18\x04 \x01(\tR\tawbNumber\x12\x42\n\x0fidempotency_key\x18\x05 \x01(\x0b\x32\x19.common.v1.IdempotencyKeyR\x0eidempotencyKey\"\x8f\x01\n\x18RecordCourierAwbResponse\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\x05\x65rror\x18\x03 \x01(\x0b\x32\x16.common.v1.ErrorDetailR\x05\x65rror\"C\n\x13\x46ulfillmentTaskLine\x12\x10\n\x03sku\x18\x01 \x01(\tR\x03sku\x12\x1a\n\x08quantity\x18\x02 \x01(\x05R\x08quantity\"\xf4\x01\n\x1c\x43reateFulfillmentTaskRequest\x12\x32\n\x15merchant_principal_id\x18\x01 \x01(\tR\x13merchantPrincipalId\x12!\n\x0corder_number\x18\x02 \x01(\tR\x0borderNumber\x12\x39\n\x05lines\x18\x03 \x03(\x0b\x32#.fulfillment.v1.FulfillmentTaskLineR\x05lines\x12\x42\n\x0fidempotency_key\x18\x04 \x01(\x0b\x32\x19.common.v1.IdempotencyKeyR\x0eidempotencyKey\"\xa9\x01\n\x1d\x43reateFulfillmentTaskResponse\x12\x18\n\x07success\x18\x01 \x01(\x08R\x07success\x12\x17\n\x07task_id\x18\x02 \x01(\tR\x06taskId\x12\'\n\x0f\x61lready_created\x18\x03 \x01(\x08R\x0e\x61lreadyCreated\x12,\n\x05\x65rror\x18\x04 \x01(\x0b\x32\x16.common.v1.ErrorDetailR\x05\x65rror\"\x83\x01\n\x1c\x43\x61ncelFulfillmentTaskRequest\x12\x32\n\x15merchant_principal_id\x18\x01 \x01(\tR\x13merchantPrincipalId\x12\x17\n\x07task_id\x18\x02 \x01(\tR\x06taskId\x12\x16\n\x06reason\x18\x03 \x01(\tR\x06reason\"\x94\x01\n\x1d\x43\x61ncelFulfillmentTaskResponse\x12\x18\n\x07success\x18\x01 \x01(\x08R\x07success\x12+\n\x11\x61lready_cancelled\x18\x02 \x01(\x08R\x10\x61lreadyCancelled\x12,\n\x05\x65rror\x18\x03 \x01(\x0b\x32\x16.common.v1.ErrorDetailR\x05\x65rror2\xeb\x02\n\x16\x46ulfillmentTaskService\x12t\n\x15\x43reateFulfillmentTask\x12,.fulfillment.v1.CreateFulfillmentTaskRequest\x1a-.fulfillment.v1.CreateFulfillmentTaskResponse\x12t\n\x15\x43\x61ncelFulfillmentTask\x12,.fulfillment.v1.CancelFulfillmentTaskRequest\x1a-.fulfillment.v1.CancelFulfillmentTaskResponse\x12\x65\n\x10RecordCourierAwb\x12\'.fulfillment.v1.RecordCourierAwbRequest\x1a(.fulfillment.v1.RecordCourierAwbResponseB\xed\x01\n$com.kinetix.contracts.fulfillment.v1B\tTaskProtoP\x01ZOgithub.com/WildanFrananda/kinetix-contracts/gen/go/fulfillment/v1;fulfillmentv1\xa2\x02\x03KNX\xaa\x02 Kinetix.Contracts.Fulfillment.V1\xca\x02\x0e\x46ulfillment\\V1\xe2\x02\x1a\x46ulfillment\\V1\\GPBMetadata\xea\x02\x0f\x46ulfillment::V1b\x06proto3"
11
-
12
- pool = Google::Protobuf::DescriptorPool.generated_pool
13
- pool.add_serialized_file(descriptor_data)
14
-
15
- module Fulfillment
16
- module V1
17
- RecordCourierAwbRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("fulfillment.v1.RecordCourierAwbRequest").msgclass
18
- RecordCourierAwbResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("fulfillment.v1.RecordCourierAwbResponse").msgclass
19
- FulfillmentTaskLine = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("fulfillment.v1.FulfillmentTaskLine").msgclass
20
- CreateFulfillmentTaskRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("fulfillment.v1.CreateFulfillmentTaskRequest").msgclass
21
- CreateFulfillmentTaskResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("fulfillment.v1.CreateFulfillmentTaskResponse").msgclass
22
- CancelFulfillmentTaskRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("fulfillment.v1.CancelFulfillmentTaskRequest").msgclass
23
- CancelFulfillmentTaskResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("fulfillment.v1.CancelFulfillmentTaskResponse").msgclass
24
- end
25
- end
@@ -1,26 +0,0 @@
1
- # Generated by the protocol buffer compiler. DO NOT EDIT!
2
- # Source: fulfillment/v1/task.proto for package 'Fulfillment.V1'
3
-
4
- require 'grpc'
5
- require 'fulfillment/v1/task_pb'
6
-
7
- module Fulfillment
8
- module V1
9
- module FulfillmentTaskService
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 = 'fulfillment.v1.FulfillmentTaskService'
17
-
18
- rpc :CreateFulfillmentTask, ::Fulfillment::V1::CreateFulfillmentTaskRequest, ::Fulfillment::V1::CreateFulfillmentTaskResponse
19
- rpc :CancelFulfillmentTask, ::Fulfillment::V1::CancelFulfillmentTaskRequest, ::Fulfillment::V1::CancelFulfillmentTaskResponse
20
- rpc :RecordCourierAwb, ::Fulfillment::V1::RecordCourierAwbRequest, ::Fulfillment::V1::RecordCourierAwbResponse
21
- end
22
-
23
- Stub = Service.rpc_stub_class
24
- end
25
- end
26
- end
@@ -1,31 +0,0 @@
1
- # frozen_string_literal: true
2
- # Generated by the protocol buffer compiler. DO NOT EDIT!
3
- # source: notification/v1/notification.proto
4
-
5
- require 'google/protobuf'
6
-
7
- require 'common/v1/common_pb'
8
-
9
-
10
- descriptor_data = "\n\"notification/v1/notification.proto\x12\x0fnotification.v1\x1a\x16\x63ommon/v1/common.proto\"\x9a\x01\n\x15RegisterDeviceRequest\x12!\n\x0cprincipal_id\x18\x01 \x01(\tR\x0bprincipalId\x12!\n\x0c\x64\x65vice_token\x18\x02 \x01(\tR\x0b\x64\x65viceToken\x12;\n\x08platform\x18\x03 \x01(\x0e\x32\x1f.notification.v1.DevicePlatformR\x08platform\"\x95\x01\n\x16RegisterDeviceResponse\x12\x1e\n\nregistered\x18\x01 \x01(\x08R\nregistered\x12-\n\x12\x61lready_registered\x18\x02 \x01(\x08R\x11\x61lreadyRegistered\x12,\n\x05\x65rror\x18\x03 \x01(\x0b\x32\x16.common.v1.ErrorDetailR\x05\x65rror\"8\n\x13\x46orgetDeviceRequest\x12!\n\x0c\x64\x65vice_token\x18\x01 \x01(\tR\x0b\x64\x65viceToken\"b\n\x14\x46orgetDeviceResponse\x12\x1c\n\tforgotten\x18\x01 \x01(\x08R\tforgotten\x12,\n\x05\x65rror\x18\x02 \x01(\x0b\x32\x16.common.v1.ErrorDetailR\x05\x65rror\"\xf5\x02\n\rNotifyRequest\x12\x34\n\x16recipient_principal_id\x18\x01 \x01(\tR\x14recipientPrincipalId\x12\x35\n\x08template\x18\x02 \x01(\x0e\x32\x19.notification.v1.TemplateR\x08template\x12\x42\n\x06params\x18\x03 \x03(\x0b\x32*.notification.v1.NotifyRequest.ParamsEntryR\x06params\x12\x34\n\x08\x63hannels\x18\x04 \x03(\x0e\x32\x18.notification.v1.ChannelR\x08\x63hannels\x12\x42\n\x0fidempotency_key\x18\x05 \x01(\x0b\x32\x19.common.v1.IdempotencyKeyR\x0eidempotencyKey\x1a\x39\n\x0bParamsEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value:\x02\x38\x01\"\xae\x01\n\x0eNotifyResponse\x12\x1a\n\x08\x61\x63\x63\x65pted\x18\x01 \x01(\x08R\x08\x61\x63\x63\x65pted\x12\'\n\x0fnotification_id\x18\x02 \x01(\tR\x0enotificationId\x12)\n\x10\x61lready_accepted\x18\x03 \x01(\x08R\x0f\x61lreadyAccepted\x12,\n\x05\x65rror\x18\x04 \x01(\x0b\x32\x16.common.v1.ErrorDetailR\x05\x65rror\"=\n\x12GetDeliveryRequest\x12\'\n\x0fnotification_id\x18\x01 \x01(\tR\x0enotificationId\"\xe1\x01\n\x0f\x44\x65liveryAttempt\x12\x32\n\x07\x63hannel\x18\x01 \x01(\x0e\x32\x18.notification.v1.ChannelR\x07\x63hannel\x12\x37\n\x06status\x18\x02 \x01(\x0e\x32\x1f.notification.v1.DeliveryStatusR\x06status\x12\x1a\n\x08\x61ttempts\x18\x03 \x01(\x05R\x08\x61ttempts\x12\x1d\n\nlast_error\x18\x04 \x01(\tR\tlastError\x12&\n\x0flast_attempt_at\x18\x05 \x01(\tR\rlastAttemptAt\"\xff\x01\n\x13GetDeliveryResponse\x12\x14\n\x05\x66ound\x18\x01 \x01(\x08R\x05\x66ound\x12\'\n\x0fnotification_id\x18\x02 \x01(\tR\x0enotificationId\x12\x34\n\x16recipient_principal_id\x18\x03 \x01(\tR\x14recipientPrincipalId\x12\x35\n\x08template\x18\x04 \x01(\x0e\x32\x19.notification.v1.TemplateR\x08template\x12<\n\x08\x61ttempts\x18\x05 \x03(\x0b\x32 .notification.v1.DeliveryAttemptR\x08\x61ttempts*g\n\x0e\x44\x65vicePlatform\x12\x1f\n\x1b\x44\x45VICE_PLATFORM_UNSPECIFIED\x10\x00\x12\x1b\n\x17\x44\x45VICE_PLATFORM_ANDROID\x10\x01\x12\x17\n\x13\x44\x45VICE_PLATFORM_IOS\x10\x02*G\n\x07\x43hannel\x12\x17\n\x13\x43HANNEL_UNSPECIFIED\x10\x00\x12\x10\n\x0c\x43HANNEL_PUSH\x10\x01\x12\x11\n\rCHANNEL_EMAIL\x10\x02*\xa5\x01\n\x0e\x44\x65liveryStatus\x12\x1f\n\x1b\x44\x45LIVERY_STATUS_UNSPECIFIED\x10\x00\x12\x1b\n\x17\x44\x45LIVERY_STATUS_PENDING\x10\x01\x12\x18\n\x14\x44\x45LIVERY_STATUS_SENT\x10\x02\x12\x1a\n\x16\x44\x45LIVERY_STATUS_FAILED\x10\x03\x12\x1f\n\x1b\x44\x45LIVERY_STATUS_UNREACHABLE\x10\x04*\xcd\x01\n\x08Template\x12\x18\n\x14TEMPLATE_UNSPECIFIED\x10\x00\x12\x17\n\x13TEMPLATE_ORDER_PAID\x10\x01\x12\x19\n\x15TEMPLATE_ORDER_PACKED\x10\x02\x12\x1d\n\x19TEMPLATE_COURIER_ASSIGNED\x10\x03\x12\x1c\n\x18TEMPLATE_ORDER_DELIVERED\x10\x04\x12\x1a\n\x16TEMPLATE_COURIER_OFFER\x10\x05\x12\x1a\n\x16TEMPLATE_RETURN_OPENED\x10\x06\x32\xfa\x02\n\x13NotificationService\x12I\n\x06Notify\x12\x1e.notification.v1.NotifyRequest\x1a\x1f.notification.v1.NotifyResponse\x12X\n\x0bGetDelivery\x12#.notification.v1.GetDeliveryRequest\x1a$.notification.v1.GetDeliveryResponse\x12\x61\n\x0eRegisterDevice\x12&.notification.v1.RegisterDeviceRequest\x1a\'.notification.v1.RegisterDeviceResponse\x12[\n\x0c\x46orgetDevice\x12$.notification.v1.ForgetDeviceRequest\x1a%.notification.v1.ForgetDeviceResponseB\xfc\x01\n%com.kinetix.contracts.notification.v1B\x11NotificationProtoP\x01ZQgithub.com/WildanFrananda/kinetix-contracts/gen/go/notification/v1;notificationv1\xa2\x02\x03KNX\xaa\x02!Kinetix.Contracts.Notification.V1\xca\x02\x0fNotification\\V1\xe2\x02\x1bNotification\\V1\\GPBMetadata\xea\x02\x10Notification::V1b\x06proto3"
11
-
12
- pool = Google::Protobuf::DescriptorPool.generated_pool
13
- pool.add_serialized_file(descriptor_data)
14
-
15
- module Notification
16
- module V1
17
- RegisterDeviceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("notification.v1.RegisterDeviceRequest").msgclass
18
- RegisterDeviceResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("notification.v1.RegisterDeviceResponse").msgclass
19
- ForgetDeviceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("notification.v1.ForgetDeviceRequest").msgclass
20
- ForgetDeviceResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("notification.v1.ForgetDeviceResponse").msgclass
21
- NotifyRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("notification.v1.NotifyRequest").msgclass
22
- NotifyResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("notification.v1.NotifyResponse").msgclass
23
- GetDeliveryRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("notification.v1.GetDeliveryRequest").msgclass
24
- DeliveryAttempt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("notification.v1.DeliveryAttempt").msgclass
25
- GetDeliveryResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("notification.v1.GetDeliveryResponse").msgclass
26
- DevicePlatform = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("notification.v1.DevicePlatform").enummodule
27
- Channel = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("notification.v1.Channel").enummodule
28
- DeliveryStatus = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("notification.v1.DeliveryStatus").enummodule
29
- Template = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("notification.v1.Template").enummodule
30
- end
31
- end
@@ -1,27 +0,0 @@
1
- # Generated by the protocol buffer compiler. DO NOT EDIT!
2
- # Source: notification/v1/notification.proto for package 'Notification.V1'
3
-
4
- require 'grpc'
5
- require 'notification/v1/notification_pb'
6
-
7
- module Notification
8
- module V1
9
- module NotificationService
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 = 'notification.v1.NotificationService'
17
-
18
- rpc :Notify, ::Notification::V1::NotifyRequest, ::Notification::V1::NotifyResponse
19
- rpc :GetDelivery, ::Notification::V1::GetDeliveryRequest, ::Notification::V1::GetDeliveryResponse
20
- rpc :RegisterDevice, ::Notification::V1::RegisterDeviceRequest, ::Notification::V1::RegisterDeviceResponse
21
- rpc :ForgetDevice, ::Notification::V1::ForgetDeviceRequest, ::Notification::V1::ForgetDeviceResponse
22
- end
23
-
24
- Stub = Service.rpc_stub_class
25
- end
26
- end
27
- end
@@ -1,29 +0,0 @@
1
- # frozen_string_literal: true
2
- # Generated by the protocol buffer compiler. DO NOT EDIT!
3
- # source: search/v1/search.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\x16search/v1/search.proto\x12\tsearch.v1\x1a\x16\x63ommon/v1/common.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"4\n\x04Page\x12\x16\n\x06offset\x18\x01 \x01(\x05R\x06offset\x12\x14\n\x05limit\x18\x02 \x01(\x05R\x05limit\"\x8c\x01\n\x0eIndexFreshness\x12\x43\n\x0findexed_through\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x0eindexedThrough\x12\x1f\n\x0b\x61ge_seconds\x18\x02 \x01(\x03R\nageSeconds\x12\x14\n\x05stale\x18\x03 \x01(\x08R\x05stale\"\xa3\x02\n\nProductHit\x12\x10\n\x03sku\x18\x01 \x01(\tR\x03sku\x12\x32\n\x15merchant_principal_id\x18\x02 \x01(\tR\x13merchantPrincipalId\x12\x14\n\x05title\x18\x03 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x04 \x01(\tR\x0b\x64\x65scription\x12&\n\x05price\x18\x05 \x01(\x0b\x32\x10.common.v1.MoneyR\x05price\x12\x1e\n\ncategories\x18\x06 \x03(\tR\ncategories\x12\x39\n\nupdated_at\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tupdatedAt\x12\x14\n\x05score\x18\x08 \x01(\x01R\x05score\"8\n\nFacetValue\x12\x14\n\x05value\x18\x01 \x01(\tR\x05value\x12\x14\n\x05\x63ount\x18\x02 \x01(\x03R\x05\x63ount\"L\n\x05\x46\x61\x63\x65t\x12\x14\n\x05\x66ield\x18\x01 \x01(\tR\x05\x66ield\x12-\n\x06values\x18\x02 \x03(\x0b\x32\x15.search.v1.FacetValueR\x06values\"\xd9\x01\n\x15SearchProductsRequest\x12\x12\n\x04text\x18\x01 \x01(\tR\x04text\x12\x1e\n\ncategories\x18\x02 \x03(\tR\ncategories\x12\x32\n\x15merchant_principal_id\x18\x03 \x01(\tR\x13merchantPrincipalId\x12#\n\x04page\x18\x04 \x01(\x0b\x32\x0f.search.v1.PageR\x04page\x12\x33\n\x07ranking\x18\x05 \x01(\x0e\x32\x19.search.v1.RankingProfileR\x07ranking\"\xbc\x01\n\x16SearchProductsResponse\x12)\n\x04hits\x18\x01 \x03(\x0b\x32\x15.search.v1.ProductHitR\x04hits\x12\x14\n\x05total\x18\x02 \x01(\x03R\x05total\x12(\n\x06\x66\x61\x63\x65ts\x18\x03 \x03(\x0b\x32\x10.search.v1.FacetR\x06\x66\x61\x63\x65ts\x12\x37\n\tfreshness\x18\x04 \x01(\x0b\x32\x19.search.v1.IndexFreshnessR\tfreshness\"F\n\x16SuggestProductsRequest\x12\x16\n\x06prefix\x18\x01 \x01(\tR\x06prefix\x12\x14\n\x05limit\x18\x02 \x01(\x05R\x05limit\";\n\x17SuggestProductsResponse\x12 \n\x0bsuggestions\x18\x01 \x03(\tR\x0bsuggestions*\x8b\x01\n\x0eRankingProfile\x12\x1f\n\x1bRANKING_PROFILE_UNSPECIFIED\x10\x00\x12\x1d\n\x19RANKING_PROFILE_RELEVANCE\x10\x01\x12\x1a\n\x16RANKING_PROFILE_NEWEST\x10\x02\x12\x1d\n\x19RANKING_PROFILE_PRICE_ASC\x10\x03\x32\xc0\x01\n\rSearchService\x12U\n\x0eSearchProducts\x12 .search.v1.SearchProductsRequest\x1a!.search.v1.SearchProductsResponse\x12X\n\x0fSuggestProducts\x12!.search.v1.SuggestProductsRequest\x1a\".search.v1.SuggestProductsResponseB\xcc\x01\n\x1f\x63om.kinetix.contracts.search.v1B\x0bSearchProtoP\x01ZEgithub.com/WildanFrananda/kinetix-contracts/gen/go/search/v1;searchv1\xa2\x02\x03KNX\xaa\x02\x1bKinetix.Contracts.Search.V1\xca\x02\tSearch\\V1\xe2\x02\x15Search\\V1\\GPBMetadata\xea\x02\nSearch::V1b\x06proto3"
12
-
13
- pool = Google::Protobuf::DescriptorPool.generated_pool
14
- pool.add_serialized_file(descriptor_data)
15
-
16
- module Search
17
- module V1
18
- Page = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("search.v1.Page").msgclass
19
- IndexFreshness = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("search.v1.IndexFreshness").msgclass
20
- ProductHit = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("search.v1.ProductHit").msgclass
21
- FacetValue = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("search.v1.FacetValue").msgclass
22
- Facet = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("search.v1.Facet").msgclass
23
- SearchProductsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("search.v1.SearchProductsRequest").msgclass
24
- SearchProductsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("search.v1.SearchProductsResponse").msgclass
25
- SuggestProductsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("search.v1.SuggestProductsRequest").msgclass
26
- SuggestProductsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("search.v1.SuggestProductsResponse").msgclass
27
- RankingProfile = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("search.v1.RankingProfile").enummodule
28
- end
29
- end
@@ -1,25 +0,0 @@
1
- # Generated by the protocol buffer compiler. DO NOT EDIT!
2
- # Source: search/v1/search.proto for package 'Search.V1'
3
-
4
- require 'grpc'
5
- require 'search/v1/search_pb'
6
-
7
- module Search
8
- module V1
9
- module SearchService
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 = 'search.v1.SearchService'
17
-
18
- rpc :SearchProducts, ::Search::V1::SearchProductsRequest, ::Search::V1::SearchProductsResponse
19
- rpc :SuggestProducts, ::Search::V1::SuggestProductsRequest, ::Search::V1::SuggestProductsResponse
20
- end
21
-
22
- Stub = Service.rpc_stub_class
23
- end
24
- end
25
- end