kinetix-contracts 1.0.14 → 1.0.16

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: c90a2303a6b67f24b09eb9517b6480d2df0ab01dd5b9dfdba1945eee62b9e2c5
4
- data.tar.gz: 312ad9a66af41e9f76a0cce767c0112864bfb9e137cd65c67aabdc7ed4ebe4fe
3
+ metadata.gz: 20eeee7eb6723ffd85337562bf04a7e58fe7ceaca3775861c91eaa7104134507
4
+ data.tar.gz: c0f42179e36636969ec2a4a70a6e2a9018611940fe3b39385bdd27c1d9085ca8
5
5
  SHA512:
6
- metadata.gz: 8c0632e4d6117b90fdbc40f7e4ae0c859f1a10c627cee9918d7c0807fe2b580ca89eedd5b6f2ba93dd65c391090056cdd1dbc405d77d86a5ade8d7d4958a487d
7
- data.tar.gz: 98b404bab929c80d7c3e430ea341d055da3429d730facece7793183cbec2dd3e6d65fbd8610d2ef33e6e4a1b80395c5256247deba38647897f67793ac9703c61
6
+ metadata.gz: a01949271e0b849ddf34d89d2e9bd5ddc3212de6fef6f47707e2f13271628632fc68838f19bfb2bf99590f2d6ef59ac2c43dd06c0deb06ab066246222fdcd743
7
+ data.tar.gz: caae17dbe59c146bbb7078f9deb35f6cca637959047d2a85ded06795b5ee7dc7b14425f284206f55d272657dcec1c4a09f8ad4cb02670d71b85684c6e02743d5
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
@@ -0,0 +1,31 @@
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
@@ -0,0 +1,27 @@
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
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,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kinetix-contracts
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.14
4
+ version: 1.0.16
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kinetix
@@ -57,6 +57,8 @@ files:
57
57
  - geo/v1/geo_services_pb.rb
58
58
  - identity/v1/identity_pb.rb
59
59
  - identity/v1/identity_services_pb.rb
60
+ - notification/v1/notification_pb.rb
61
+ - notification/v1/notification_services_pb.rb
60
62
  - order/v1/order_pb.rb
61
63
  - order/v1/order_services_pb.rb
62
64
  - payment/v1/payment_pb.rb