kinetix-contracts 1.0.13 → 1.0.15

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: 35bb52ecbf864754450d0d6f54ac5291e13fd353a076c280fa12931d187918be
4
- data.tar.gz: 5268ee3c3cde341e473d0be2e97e22d698f4e7aa9e3f81f55d5750d4d8980b9d
3
+ metadata.gz: ce08e8fb56d2b5983e73aed00c3adbe11b381f5a497d239fe0cf869510427ced
4
+ data.tar.gz: 26330a88e708a442392ec0ffb882ec480cbcb65d8fae299a2dd8978259674c88
5
5
  SHA512:
6
- metadata.gz: cbec5deab1b91f3aec0ff1891dd263bbc71de5064c27fd1dd2b7be5e55f6f377150b4cca66ba1bfb4fab4bf73bb9a5a1e246f34b36992e84fb2019375092a479
7
- data.tar.gz: b481085c7fb278a5b64cb8ab4639019987be2a8900d905c8d90ab9a30822852fd453a6a8e66a628367c340956dd29e4cff174510dc36258628546f264b483225
6
+ metadata.gz: cd29731a646de8ba2eb445c680e33bc6a15cee241f0be646c8f746c4de59bd193e4de6b241f3729c62ac59baa3589a8c9999c034cb1af8918fb16729e6230345
7
+ data.tar.gz: 63c570eadb1a6137f3ec12c890c0d5fcddcb0bc25c7438eb8ed15a896935b0b2f72166b3217065128e1d2c5cbf12f6c2ea60779f294a194e093db69bb7f2c346
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\"\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"
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"
12
12
 
13
13
  pool = Google::Protobuf::DescriptorPool.generated_pool
14
14
  pool.add_serialized_file(descriptor_data)
@@ -7,13 +7,15 @@ require 'google/protobuf'
7
7
  require 'common/v1/common_pb'
8
8
 
9
9
 
10
- descriptor_data = "\n\x19\x66ulfillment/v1/task.proto\x12\x0e\x66ulfillment.v1\x1a\x16\x63ommon/v1/common.proto\"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\x84\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.CancelFulfillmentTaskResponseB\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"
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
11
 
12
12
  pool = Google::Protobuf::DescriptorPool.generated_pool
13
13
  pool.add_serialized_file(descriptor_data)
14
14
 
15
15
  module Fulfillment
16
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
17
19
  FulfillmentTaskLine = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("fulfillment.v1.FulfillmentTaskLine").msgclass
18
20
  CreateFulfillmentTaskRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("fulfillment.v1.CreateFulfillmentTaskRequest").msgclass
19
21
  CreateFulfillmentTaskResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("fulfillment.v1.CreateFulfillmentTaskResponse").msgclass
@@ -17,6 +17,7 @@ module Fulfillment
17
17
 
18
18
  rpc :CreateFulfillmentTask, ::Fulfillment::V1::CreateFulfillmentTaskRequest, ::Fulfillment::V1::CreateFulfillmentTaskResponse
19
19
  rpc :CancelFulfillmentTask, ::Fulfillment::V1::CancelFulfillmentTaskRequest, ::Fulfillment::V1::CancelFulfillmentTaskResponse
20
+ rpc :RecordCourierAwb, ::Fulfillment::V1::RecordCourierAwbRequest, ::Fulfillment::V1::RecordCourierAwbResponse
20
21
  end
21
22
 
22
23
  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\x1aidentity/v1/identity.proto\x12\x0bidentity.v1\x1a\x16\x63ommon/v1/common.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\"\x87\x03\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\x0chas_location\x18\n \x01(\x08R\x0bhasLocation\x12/\n\x08location\x18\x0b \x01(\x0b\x32\x13.common.v1.GeoPointR\x08location\";\n\x16GetMerchantInfoRequest\x12!\n\x0cprincipal_id\x18\x01 \x01(\tR\x0bprincipalId\"\x9f\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\x0chas_location\x18\x08 \x01(\x08R\x0bhasLocation\x12/\n\x08location\x18\t \x01(\x0b\x32\x13.common.v1.GeoPointR\x08location\"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"
10
+ descriptor_data = "\n\x1aidentity/v1/identity.proto\x12\x0bidentity.v1\x1a\x16\x63ommon/v1/common.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\"\x87\x03\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\x0chas_location\x18\n \x01(\x08R\x0bhasLocation\x12/\n\x08location\x18\x0b \x01(\x0b\x32\x13.common.v1.GeoPointR\x08location\";\n\x16GetMerchantInfoRequest\x12!\n\x0cprincipal_id\x18\x01 \x01(\tR\x0bprincipalId\"\xba\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\x0chas_location\x18\x08 \x01(\x08R\x0bhasLocation\x12/\n\x08location\x18\t \x01(\x0b\x32\x13.common.v1.GeoPointR\x08location\x12\x19\n\x08may_sell\x18\n \x01(\x08R\x07maySell\"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"
11
11
 
12
12
  pool = Google::Protobuf::DescriptorPool.generated_pool
13
13
  pool.add_serialized_file(descriptor_data)
data/order/v1/order_pb.rb CHANGED
@@ -7,13 +7,18 @@ require 'google/protobuf'
7
7
  require 'common/v1/common_pb'
8
8
 
9
9
 
10
- descriptor_data = "\n\x14order/v1/order.proto\x12\x08order.v1\x1a\x16\x63ommon/v1/common.proto\"\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\ntotalCount2\x86\x03\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.OrderDeliveredResponseB\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\"\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*\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\xb3\x04\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.ReturnGoodsReceivedResponseB\xc4\x01\n\x1e\x63om.kinetix.contracts.order.v1B\nOrderProtoP\x01ZCgithub.com/WildanFrananda/kinetix-contracts/gen/go/order/v1;orderv1\xa2\x02\x03KNX\xaa\x02\x1aKinetix.Contracts.Order.V1\xca\x02\x08Order\\V1\xe2\x02\x14Order\\V1\\GPBMetadata\xea\x02\tOrder::V1b\x06proto3"
11
11
 
12
12
  pool = Google::Protobuf::DescriptorPool.generated_pool
13
13
  pool.add_serialized_file(descriptor_data)
14
14
 
15
15
  module Order
16
16
  module V1
17
+ OpenReturnRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("order.v1.OpenReturnRequest").msgclass
18
+ OpenReturnResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("order.v1.OpenReturnResponse").msgclass
19
+ ReturnedLine = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("order.v1.ReturnedLine").msgclass
20
+ ReturnGoodsReceivedRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("order.v1.ReturnGoodsReceivedRequest").msgclass
21
+ ReturnGoodsReceivedResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("order.v1.ReturnGoodsReceivedResponse").msgclass
17
22
  OrderDeliveredRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("order.v1.OrderDeliveredRequest").msgclass
18
23
  OrderDeliveredResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("order.v1.OrderDeliveredResponse").msgclass
19
24
  FulfillmentPackedRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("order.v1.FulfillmentPackedRequest").msgclass
@@ -23,5 +28,6 @@ module Order
23
28
  GetOrderDetailsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("order.v1.GetOrderDetailsResponse").msgclass
24
29
  ListOrdersForPrincipalRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("order.v1.ListOrdersForPrincipalRequest").msgclass
25
30
  ListOrdersForPrincipalResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("order.v1.ListOrdersForPrincipalResponse").msgclass
31
+ ReturnStatus = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("order.v1.ReturnStatus").enummodule
26
32
  end
27
33
  end
@@ -19,6 +19,8 @@ module Order
19
19
  rpc :ListOrdersForPrincipal, ::Order::V1::ListOrdersForPrincipalRequest, ::Order::V1::ListOrdersForPrincipalResponse
20
20
  rpc :FulfillmentPacked, ::Order::V1::FulfillmentPackedRequest, ::Order::V1::FulfillmentPackedResponse
21
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
22
24
  end
23
25
 
24
26
  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\"\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"
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\"\xf0\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\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\x42\x0f\n\r_voucher_codeB\x14\n\x12_base_shipping_feeB\x11\n\x0f_payment_methodB\x0b\n\t_shipping\"\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\xfa\x04\n\x0ePricingService\x12W\n\x0e\x43\x61lculatePrice\x12!.pricing.v1.CalculatePriceRequest\x1a\".pricing.v1.CalculatePriceResponse\x12T\n\rQuoteShipping\x12 .pricing.v1.QuoteShippingRequest\x1a!.pricing.v1.QuoteShippingResponse\x12T\n\rRedeemVoucher\x12 .pricing.v1.RedeemVoucherRequest\x1a!.pricing.v1.RedeemVoucherResponse\x12u\n\x18ReleaseVoucherRedemption\x12+.pricing.v1.ReleaseVoucherRedemptionRequest\x1a,.pricing.v1.ReleaseVoucherRedemptionResponse\x12o\n\x16\x41llocateFlashSaleStock\x12).pricing.v1.AllocateFlashSaleStockRequest\x1a*.pricing.v1.AllocateFlashSaleStockResponse\x12{\n\x1aReleaseFlashSaleAllocation\x12-.pricing.v1.ReleaseFlashSaleAllocationRequest\x1a..pricing.v1.ReleaseFlashSaleAllocationResponseB\xd4\x01\n com.kinetix.contracts.pricing.v1B\x0cPricingProtoP\x01ZGgithub.com/WildanFrananda/kinetix-contracts/gen/go/pricing/v1;pricingv1\xa2\x02\x03KNX\xaa\x02\x1cKinetix.Contracts.Pricing.V1\xca\x02\nPricing\\V1\xe2\x02\x16Pricing\\V1\\GPBMetadata\xea\x02\x0bPricing::V1b\x06proto3"
11
11
 
12
12
  pool = Google::Protobuf::DescriptorPool.generated_pool
13
13
  pool.add_serialized_file(descriptor_data)
@@ -15,6 +15,10 @@ 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
18
22
  CalculatePriceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pricing.v1.CalculatePriceRequest").msgclass
19
23
  PriceItemResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pricing.v1.PriceItemResponse").msgclass
20
24
  CalculatePriceResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pricing.v1.CalculatePriceResponse").msgclass
@@ -16,6 +16,7 @@ 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
19
20
  rpc :RedeemVoucher, ::Pricing::V1::RedeemVoucherRequest, ::Pricing::V1::RedeemVoucherResponse
20
21
  rpc :ReleaseVoucherRedemption, ::Pricing::V1::ReleaseVoucherRedemptionRequest, ::Pricing::V1::ReleaseVoucherRedemptionResponse
21
22
  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\"\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"
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"
11
11
 
12
12
  pool = Google::Protobuf::DescriptorPool.generated_pool
13
13
  pool.add_serialized_file(descriptor_data)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kinetix-contracts
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.13
4
+ version: 1.0.15
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kinetix
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-09-20 00:00:00.000000000 Z
11
+ date: 2026-09-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-protobuf