kinetix-contracts 1.0.19 → 1.0.20

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: 413e4f3b3931b0c632956255079a078774a45c98cbce09587a75ca8ab71760c5
4
- data.tar.gz: ad595128d9a5b0c1c2603bfd665871e9454f748a8e05d20e5fe0e328ae134383
3
+ metadata.gz: 3758525697d8f03cff0c6b88db808a5e48cb3ce903657cafec6456cf3a7844a6
4
+ data.tar.gz: 0a5a736674b67a81c891ff449e160430d399bb0c4762d0364f44a70264f258f1
5
5
  SHA512:
6
- metadata.gz: fa456140f7f7e763c4c5af887003fd5194e9f70154bad973cabf19017eeea46d2a2097d8b4dade68cf6fffe1b1c9f4358ae0466994a26faae4399e923c8b98ae
7
- data.tar.gz: 3d4531c45a3e331fc59f9a22fc9caec96100096a0e60180d0236ad71b8b06345486f2cddfebee4aa2ef4e0112bb824cca0de9c7fcee5ecb5a91c98b03b1ec919
6
+ metadata.gz: c2a22741d1ce0f34256bb7da1e7bc64abb389697d5f1ad925ad6ce739d18d2580b44dcb6cce64546b0c406ee6f5c64c892f51c82a194efe647eb30f0adb8c817
7
+ data.tar.gz: 1e80ff9e16210f75f5df5e8427011caae7c3cc504bf83cb97fd9b1a0ef876d779175fb53fd7c6f98309c0f0d7ba6aab4eb181584588bc92c795555b9a7c598fa
@@ -8,13 +8,15 @@ require 'common/v1/common_pb'
8
8
  require 'google/protobuf/timestamp_pb'
9
9
 
10
10
 
11
- descriptor_data = "\n fulfillment/v1/fulfillment.proto\x12\x0e\x66ulfillment.v1\x1a\x16\x63ommon/v1/common.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\\\n\x14\x43heckBinStockRequest\x12\x32\n\x15merchant_principal_id\x18\x01 \x01(\tR\x13merchantPrincipalId\x12\x10\n\x03sku\x18\x02 \x01(\tR\x03sku\"\xaa\x02\n\x15\x43heckBinStockResponse\x12\x14\n\x05\x66ound\x18\x01 \x01(\x08R\x05\x66ound\x12\x10\n\x03sku\x18\x02 \x01(\tR\x03sku\x12!\n\x0cproduct_name\x18\x03 \x01(\tR\x0bproductName\x12%\n\x0ephysical_stock\x18\x04 \x01(\x05R\rphysicalStock\x12\'\n\x0f\x61llocated_stock\x18\x05 \x01(\x05R\x0e\x61llocatedStock\x12\'\n\x0f\x61vailable_stock\x18\x06 \x01(\x05R\x0e\x61vailableStock\x12!\n\x0c\x62in_location\x18\x07 \x01(\tR\x0b\x62inLocation\x12*\n\x11low_stock_warning\x18\x08 \x01(\x08R\x0flowStockWarning\"\xde\x01\n\x13ReserveStockRequest\x12\x32\n\x15merchant_principal_id\x18\x01 \x01(\tR\x13merchantPrincipalId\x12\x10\n\x03sku\x18\x02 \x01(\tR\x03sku\x12\x1a\n\x08quantity\x18\x03 \x01(\x05R\x08quantity\x12!\n\x0corder_number\x18\x04 \x01(\tR\x0borderNumber\x12\x42\n\x0fidempotency_key\x18\x05 \x01(\x0b\x32\x19.common.v1.IdempotencyKeyR\x0eidempotencyKey\"\xb2\x01\n\x14ReserveStockResponse\x12\x18\n\x07success\x18\x01 \x01(\x08R\x07success\x12!\n\x0c\x62in_location\x18\x02 \x01(\tR\x0b\x62inLocation\x12/\n\x13remaining_available\x18\x03 \x01(\x05R\x12remainingAvailable\x12,\n\x05\x65rror\x18\x04 \x01(\x0b\x32\x16.common.v1.ErrorDetailR\x05\x65rror\"\xde\x01\n\x13ReleaseStockRequest\x12\x32\n\x15merchant_principal_id\x18\x01 \x01(\tR\x13merchantPrincipalId\x12\x10\n\x03sku\x18\x02 \x01(\tR\x03sku\x12\x1a\n\x08quantity\x18\x03 \x01(\x05R\x08quantity\x12!\n\x0corder_number\x18\x04 \x01(\tR\x0borderNumber\x12\x42\n\x0fidempotency_key\x18\x05 \x01(\x0b\x32\x19.common.v1.IdempotencyKeyR\x0eidempotencyKey\"\xba\x01\n\x14ReleaseStockResponse\x12\x18\n\x07success\x18\x01 \x01(\x08R\x07success\x12)\n\x10\x61lready_released\x18\x02 \x01(\x08R\x0f\x61lreadyReleased\x12/\n\x13remaining_available\x18\x03 \x01(\x05R\x12remainingAvailable\x12,\n\x05\x65rror\x18\x04 \x01(\x0b\x32\x16.common.v1.ErrorDetailR\x05\x65rror\"\x88\x04\n\x12\x43reateOrderRequest\x12\x32\n\x15merchant_principal_id\x18\x01 \x01(\tR\x13merchantPrincipalId\x12!\n\x0corder_number\x18\x02 \x01(\tR\x0borderNumber\x12\x39\n\x0epickup_address\x18\x03 \x01(\x0b\x32\x12.common.v1.AddressR\rpickupAddress\x12=\n\x10shipping_address\x18\x04 \x01(\x0b\x32\x12.common.v1.AddressR\x0fshippingAddress\x12\x33\n\x0ctotal_amount\x18\x05 \x01(\x0b\x32\x10.common.v1.MoneyR\x0btotalAmount\x12*\n\x05items\x18\x06 \x03(\x0b\x32\x14.common.v1.OrderItemR\x05items\x12\x42\n\x0fidempotency_key\x18\x07 \x01(\x0b\x32\x19.common.v1.IdempotencyKeyR\x0eidempotencyKey\x12<\n\x0fpickup_location\x18\x08 \x01(\x0b\x32\x13.common.v1.GeoPointR\x0epickupLocation\x12>\n\x10\x64ropoff_location\x18\t \x01(\x0b\x32\x13.common.v1.GeoPointR\x0f\x64ropoffLocation\"\xba\x02\n\x13\x43reateOrderResponse\x12\x18\n\x07success\x18\x01 \x01(\x08R\x07success\x12\x19\n\x08order_id\x18\x02 \x01(\tR\x07orderId\x12!\n\x0corder_number\x18\x03 \x01(\tR\x0borderNumber\x12.\n\x06status\x18\x04 \x01(\x0e\x32\x16.common.v1.OrderStatusR\x06status\x12\x32\n\x15merchant_principal_id\x18\x05 \x01(\tR\x13merchantPrincipalId\x12\x39\n\ncreated_at\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tcreatedAt\x12,\n\x05\x65rror\x18\x07 \x01(\x0b\x32\x16.common.v1.ErrorDetailR\x05\x65rror\"\x89\x01\n\x15GetOrderStatusRequest\x12\x32\n\x15merchant_principal_id\x18\x01 \x01(\tR\x13merchantPrincipalId\x12\x19\n\x08order_id\x18\x02 \x01(\tR\x07orderId\x12!\n\x0corder_number\x18\x03 \x01(\tR\x0borderNumber\"\xd8\x02\n\x16GetOrderStatusResponse\x12\x14\n\x05\x66ound\x18\x01 \x01(\x08R\x05\x66ound\x12\x19\n\x08order_id\x18\x02 \x01(\tR\x07orderId\x12!\n\x0corder_number\x18\x03 \x01(\tR\x0borderNumber\x12.\n\x06status\x18\x04 \x01(\x0e\x32\x16.common.v1.OrderStatusR\x06status\x12\x1d\n\nawb_number\x18\x05 \x01(\tR\tawbNumber\x12\"\n\rpod_photo_url\x18\x06 \x01(\tR\x0bpodPhotoUrl\x12<\n\x0f\x64river_location\x18\x07 \x01(\x0b\x32\x13.common.v1.GeoPointR\x0e\x64riverLocation\x12\x39\n\nupdated_at\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tupdatedAt\"\xbf\x01\n\x12\x43\x61ncelOrderRequest\x12\x32\n\x15merchant_principal_id\x18\x01 \x01(\tR\x13merchantPrincipalId\x12\x19\n\x08order_id\x18\x02 \x01(\tR\x07orderId\x12\x16\n\x06reason\x18\x03 \x01(\tR\x06reason\x12\x42\n\x0fidempotency_key\x18\x04 \x01(\x0b\x32\x19.common.v1.IdempotencyKeyR\x0eidempotencyKey\"\x88\x01\n\x13\x43\x61ncelOrderResponse\x12\x18\n\x07success\x18\x01 \x01(\x08R\x07success\x12\x18\n\x07message\x18\x02 \x01(\tR\x07message\x12=\n\x0e\x63urrent_status\x18\x03 \x01(\x0e\x32\x16.common.v1.OrderStatusR\rcurrentStatus2\xa5\x02\n\x0f\x42inStockService\x12\\\n\rCheckBinStock\x12$.fulfillment.v1.CheckBinStockRequest\x1a%.fulfillment.v1.CheckBinStockResponse\x12Y\n\x0cReserveStock\x12#.fulfillment.v1.ReserveStockRequest\x1a$.fulfillment.v1.ReserveStockResponse\x12Y\n\x0cReleaseStock\x12#.fulfillment.v1.ReleaseStockRequest\x1a$.fulfillment.v1.ReleaseStockResponse2\xa5\x02\n\x12\x46ulfillmentService\x12V\n\x0b\x43reateOrder\x12\".fulfillment.v1.CreateOrderRequest\x1a#.fulfillment.v1.CreateOrderResponse\x12_\n\x0eGetOrderStatus\x12%.fulfillment.v1.GetOrderStatusRequest\x1a&.fulfillment.v1.GetOrderStatusResponse\x12V\n\x0b\x43\x61ncelOrder\x12\".fulfillment.v1.CancelOrderRequest\x1a#.fulfillment.v1.CancelOrderResponseB\xf4\x01\n$com.kinetix.contracts.fulfillment.v1B\x10\x46ulfillmentProtoP\x01ZOgithub.com/WildanFrananda/kinetix-contracts/gen/go/fulfillment/v1;fulfillmentv1\xa2\x02\x03KNX\xaa\x02 Kinetix.Contracts.Fulfillment.V1\xca\x02\x0e\x46ulfillment\\V1\xe2\x02\x1a\x46ulfillment\\V1\\GPBMetadata\xea\x02\x0f\x46ulfillment::V1b\x06proto3"
11
+ descriptor_data = "\n fulfillment/v1/fulfillment.proto\x12\x0e\x66ulfillment.v1\x1a\x16\x63ommon/v1/common.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"c\n\x19\x43heckBinStockBatchRequest\x12\x32\n\x15merchant_principal_id\x18\x01 \x01(\tR\x13merchantPrincipalId\x12\x12\n\x04skus\x18\x02 \x03(\tR\x04skus\"Y\n\x1a\x43heckBinStockBatchResponse\x12;\n\x05items\x18\x01 \x03(\x0b\x32%.fulfillment.v1.CheckBinStockResponseR\x05items\"\\\n\x14\x43heckBinStockRequest\x12\x32\n\x15merchant_principal_id\x18\x01 \x01(\tR\x13merchantPrincipalId\x12\x10\n\x03sku\x18\x02 \x01(\tR\x03sku\"\xaa\x02\n\x15\x43heckBinStockResponse\x12\x14\n\x05\x66ound\x18\x01 \x01(\x08R\x05\x66ound\x12\x10\n\x03sku\x18\x02 \x01(\tR\x03sku\x12!\n\x0cproduct_name\x18\x03 \x01(\tR\x0bproductName\x12%\n\x0ephysical_stock\x18\x04 \x01(\x05R\rphysicalStock\x12\'\n\x0f\x61llocated_stock\x18\x05 \x01(\x05R\x0e\x61llocatedStock\x12\'\n\x0f\x61vailable_stock\x18\x06 \x01(\x05R\x0e\x61vailableStock\x12!\n\x0c\x62in_location\x18\x07 \x01(\tR\x0b\x62inLocation\x12*\n\x11low_stock_warning\x18\x08 \x01(\x08R\x0flowStockWarning\"\xde\x01\n\x13ReserveStockRequest\x12\x32\n\x15merchant_principal_id\x18\x01 \x01(\tR\x13merchantPrincipalId\x12\x10\n\x03sku\x18\x02 \x01(\tR\x03sku\x12\x1a\n\x08quantity\x18\x03 \x01(\x05R\x08quantity\x12!\n\x0corder_number\x18\x04 \x01(\tR\x0borderNumber\x12\x42\n\x0fidempotency_key\x18\x05 \x01(\x0b\x32\x19.common.v1.IdempotencyKeyR\x0eidempotencyKey\"\xb2\x01\n\x14ReserveStockResponse\x12\x18\n\x07success\x18\x01 \x01(\x08R\x07success\x12!\n\x0c\x62in_location\x18\x02 \x01(\tR\x0b\x62inLocation\x12/\n\x13remaining_available\x18\x03 \x01(\x05R\x12remainingAvailable\x12,\n\x05\x65rror\x18\x04 \x01(\x0b\x32\x16.common.v1.ErrorDetailR\x05\x65rror\"\xde\x01\n\x13ReleaseStockRequest\x12\x32\n\x15merchant_principal_id\x18\x01 \x01(\tR\x13merchantPrincipalId\x12\x10\n\x03sku\x18\x02 \x01(\tR\x03sku\x12\x1a\n\x08quantity\x18\x03 \x01(\x05R\x08quantity\x12!\n\x0corder_number\x18\x04 \x01(\tR\x0borderNumber\x12\x42\n\x0fidempotency_key\x18\x05 \x01(\x0b\x32\x19.common.v1.IdempotencyKeyR\x0eidempotencyKey\"\xba\x01\n\x14ReleaseStockResponse\x12\x18\n\x07success\x18\x01 \x01(\x08R\x07success\x12)\n\x10\x61lready_released\x18\x02 \x01(\x08R\x0f\x61lreadyReleased\x12/\n\x13remaining_available\x18\x03 \x01(\x05R\x12remainingAvailable\x12,\n\x05\x65rror\x18\x04 \x01(\x0b\x32\x16.common.v1.ErrorDetailR\x05\x65rror\"\x88\x04\n\x12\x43reateOrderRequest\x12\x32\n\x15merchant_principal_id\x18\x01 \x01(\tR\x13merchantPrincipalId\x12!\n\x0corder_number\x18\x02 \x01(\tR\x0borderNumber\x12\x39\n\x0epickup_address\x18\x03 \x01(\x0b\x32\x12.common.v1.AddressR\rpickupAddress\x12=\n\x10shipping_address\x18\x04 \x01(\x0b\x32\x12.common.v1.AddressR\x0fshippingAddress\x12\x33\n\x0ctotal_amount\x18\x05 \x01(\x0b\x32\x10.common.v1.MoneyR\x0btotalAmount\x12*\n\x05items\x18\x06 \x03(\x0b\x32\x14.common.v1.OrderItemR\x05items\x12\x42\n\x0fidempotency_key\x18\x07 \x01(\x0b\x32\x19.common.v1.IdempotencyKeyR\x0eidempotencyKey\x12<\n\x0fpickup_location\x18\x08 \x01(\x0b\x32\x13.common.v1.GeoPointR\x0epickupLocation\x12>\n\x10\x64ropoff_location\x18\t \x01(\x0b\x32\x13.common.v1.GeoPointR\x0f\x64ropoffLocation\"\xba\x02\n\x13\x43reateOrderResponse\x12\x18\n\x07success\x18\x01 \x01(\x08R\x07success\x12\x19\n\x08order_id\x18\x02 \x01(\tR\x07orderId\x12!\n\x0corder_number\x18\x03 \x01(\tR\x0borderNumber\x12.\n\x06status\x18\x04 \x01(\x0e\x32\x16.common.v1.OrderStatusR\x06status\x12\x32\n\x15merchant_principal_id\x18\x05 \x01(\tR\x13merchantPrincipalId\x12\x39\n\ncreated_at\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tcreatedAt\x12,\n\x05\x65rror\x18\x07 \x01(\x0b\x32\x16.common.v1.ErrorDetailR\x05\x65rror\"\x89\x01\n\x15GetOrderStatusRequest\x12\x32\n\x15merchant_principal_id\x18\x01 \x01(\tR\x13merchantPrincipalId\x12\x19\n\x08order_id\x18\x02 \x01(\tR\x07orderId\x12!\n\x0corder_number\x18\x03 \x01(\tR\x0borderNumber\"\xd8\x02\n\x16GetOrderStatusResponse\x12\x14\n\x05\x66ound\x18\x01 \x01(\x08R\x05\x66ound\x12\x19\n\x08order_id\x18\x02 \x01(\tR\x07orderId\x12!\n\x0corder_number\x18\x03 \x01(\tR\x0borderNumber\x12.\n\x06status\x18\x04 \x01(\x0e\x32\x16.common.v1.OrderStatusR\x06status\x12\x1d\n\nawb_number\x18\x05 \x01(\tR\tawbNumber\x12\"\n\rpod_photo_url\x18\x06 \x01(\tR\x0bpodPhotoUrl\x12<\n\x0f\x64river_location\x18\x07 \x01(\x0b\x32\x13.common.v1.GeoPointR\x0e\x64riverLocation\x12\x39\n\nupdated_at\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tupdatedAt\"\xbf\x01\n\x12\x43\x61ncelOrderRequest\x12\x32\n\x15merchant_principal_id\x18\x01 \x01(\tR\x13merchantPrincipalId\x12\x19\n\x08order_id\x18\x02 \x01(\tR\x07orderId\x12\x16\n\x06reason\x18\x03 \x01(\tR\x06reason\x12\x42\n\x0fidempotency_key\x18\x04 \x01(\x0b\x32\x19.common.v1.IdempotencyKeyR\x0eidempotencyKey\"\x88\x01\n\x13\x43\x61ncelOrderResponse\x12\x18\n\x07success\x18\x01 \x01(\x08R\x07success\x12\x18\n\x07message\x18\x02 \x01(\tR\x07message\x12=\n\x0e\x63urrent_status\x18\x03 \x01(\x0e\x32\x16.common.v1.OrderStatusR\rcurrentStatus2\x92\x03\n\x0f\x42inStockService\x12\\\n\rCheckBinStock\x12$.fulfillment.v1.CheckBinStockRequest\x1a%.fulfillment.v1.CheckBinStockResponse\x12k\n\x12\x43heckBinStockBatch\x12).fulfillment.v1.CheckBinStockBatchRequest\x1a*.fulfillment.v1.CheckBinStockBatchResponse\x12Y\n\x0cReserveStock\x12#.fulfillment.v1.ReserveStockRequest\x1a$.fulfillment.v1.ReserveStockResponse\x12Y\n\x0cReleaseStock\x12#.fulfillment.v1.ReleaseStockRequest\x1a$.fulfillment.v1.ReleaseStockResponse2\xa5\x02\n\x12\x46ulfillmentService\x12V\n\x0b\x43reateOrder\x12\".fulfillment.v1.CreateOrderRequest\x1a#.fulfillment.v1.CreateOrderResponse\x12_\n\x0eGetOrderStatus\x12%.fulfillment.v1.GetOrderStatusRequest\x1a&.fulfillment.v1.GetOrderStatusResponse\x12V\n\x0b\x43\x61ncelOrder\x12\".fulfillment.v1.CancelOrderRequest\x1a#.fulfillment.v1.CancelOrderResponseB\xf4\x01\n$com.kinetix.contracts.fulfillment.v1B\x10\x46ulfillmentProtoP\x01ZOgithub.com/WildanFrananda/kinetix-contracts/gen/go/fulfillment/v1;fulfillmentv1\xa2\x02\x03KNX\xaa\x02 Kinetix.Contracts.Fulfillment.V1\xca\x02\x0e\x46ulfillment\\V1\xe2\x02\x1a\x46ulfillment\\V1\\GPBMetadata\xea\x02\x0f\x46ulfillment::V1b\x06proto3"
12
12
 
13
13
  pool = Google::Protobuf::DescriptorPool.generated_pool
14
14
  pool.add_serialized_file(descriptor_data)
15
15
 
16
16
  module Fulfillment
17
17
  module V1
18
+ CheckBinStockBatchRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("fulfillment.v1.CheckBinStockBatchRequest").msgclass
19
+ CheckBinStockBatchResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("fulfillment.v1.CheckBinStockBatchResponse").msgclass
18
20
  CheckBinStockRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("fulfillment.v1.CheckBinStockRequest").msgclass
19
21
  CheckBinStockResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("fulfillment.v1.CheckBinStockResponse").msgclass
20
22
  ReserveStockRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("fulfillment.v1.ReserveStockRequest").msgclass
@@ -16,6 +16,7 @@ module Fulfillment
16
16
  self.service_name = 'fulfillment.v1.BinStockService'
17
17
 
18
18
  rpc :CheckBinStock, ::Fulfillment::V1::CheckBinStockRequest, ::Fulfillment::V1::CheckBinStockResponse
19
+ rpc :CheckBinStockBatch, ::Fulfillment::V1::CheckBinStockBatchRequest, ::Fulfillment::V1::CheckBinStockBatchResponse
19
20
  rpc :ReserveStock, ::Fulfillment::V1::ReserveStockRequest, ::Fulfillment::V1::ReserveStockResponse
20
21
  rpc :ReleaseStock, ::Fulfillment::V1::ReleaseStockRequest, ::Fulfillment::V1::ReleaseStockResponse
21
22
  end
@@ -8,7 +8,7 @@ require 'common/v1/common_pb'
8
8
  require 'google/protobuf/timestamp_pb'
9
9
 
10
10
 
11
- descriptor_data = "\n\x1aidentity/v1/identity.proto\x12\x0bidentity.v1\x1a\x16\x63ommon/v1/common.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"E\n\x0eServiceLocalId\x12\x18\n\x07service\x18\x01 \x01(\tR\x07service\x12\x19\n\x08local_id\x18\x02 \x01(\tR\x07localId\"`\n\x17ResolvePrincipalRequest\x12\x45\n\x10service_local_id\x18\x01 \x01(\x0b\x32\x1b.identity.v1.ServiceLocalIdR\x0eserviceLocalId\"\xa6\x01\n\x18ResolvePrincipalResponse\x12\x14\n\x05\x66ound\x18\x01 \x01(\x08R\x05\x66ound\x12!\n\x0cprincipal_id\x18\x02 \x01(\tR\x0bprincipalId\x12.\n\x04kind\x18\x03 \x01(\x0e\x32\x1a.identity.v1.PrincipalKindR\x04kind\x12!\n\x0c\x64isplay_name\x18\x04 \x01(\tR\x0b\x64isplayName\"8\n\x13GetPrincipalRequest\x12!\n\x0cprincipal_id\x18\x01 \x01(\tR\x0bprincipalId\"\xd9\x01\n\x14GetPrincipalResponse\x12\x14\n\x05\x66ound\x18\x01 \x01(\x08R\x05\x66ound\x12!\n\x0cprincipal_id\x18\x02 \x01(\tR\x0bprincipalId\x12.\n\x04kind\x18\x03 \x01(\x0e\x32\x1a.identity.v1.PrincipalKindR\x04kind\x12!\n\x0c\x64isplay_name\x18\x04 \x01(\tR\x0b\x64isplayName\x12\x35\n\x07\x61liases\x18\x05 \x03(\x0b\x32\x1b.identity.v1.ServiceLocalIdR\x07\x61liases\":\n\x15GetUserProfileRequest\x12!\n\x0cprincipal_id\x18\x01 \x01(\tR\x0bprincipalId\"\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\"\x81\x01\n\x0eMerchantCursor\x12\x43\n\x0fupdated_through\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x0eupdatedThrough\x12*\n\x11last_principal_id\x18\x02 \x01(\tR\x0flastPrincipalId\"\xdd\x01\n\x0eMerchantRecord\x12!\n\x0cprincipal_id\x18\x01 \x01(\tR\x0bprincipalId\x12\x1d\n\nstore_name\x18\x02 \x01(\tR\tstoreName\x12\x33\n\x06status\x18\x03 \x01(\x0e\x32\x1b.identity.v1.MerchantStatusR\x06status\x12\x19\n\x08may_sell\x18\x04 \x01(\x08R\x07maySell\x12\x39\n\nupdated_at\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tupdatedAt\"i\n\x1cMerchantsChangedSinceRequest\x12\x33\n\x06\x63ursor\x18\x01 \x01(\x0b\x32\x1b.identity.v1.MerchantCursorR\x06\x63ursor\x12\x14\n\x05limit\x18\x02 \x01(\x05R\x05limit\"\xd8\x01\n\x1dMerchantsChangedSinceResponse\x12\x37\n\x08upserted\x18\x01 \x03(\x0b\x32\x1b.identity.v1.MerchantRecordR\x08upserted\x12\x32\n\x15removed_principal_ids\x18\x02 \x03(\tR\x13removedPrincipalIds\x12/\n\x04next\x18\x03 \x01(\x0b\x32\x1b.identity.v1.MerchantCursorR\x04next\x12\x19\n\x08has_more\x18\x04 \x01(\x08R\x07hasMore*\xba\x01\n\rPrincipalKind\x12\x1e\n\x1aPRINCIPAL_KIND_UNSPECIFIED\x10\x00\x12\x1b\n\x17PRINCIPAL_KIND_CUSTOMER\x10\x01\x12\x1b\n\x17PRINCIPAL_KIND_MERCHANT\x10\x02\x12\x19\n\x15PRINCIPAL_KIND_DRIVER\x10\x03\x12\x18\n\x14PRINCIPAL_KIND_STAFF\x10\x04\x12\x1a\n\x16PRINCIPAL_KIND_SERVICE\x10\x05*\xa7\x01\n\x0eMerchantStatus\x12\x1f\n\x1bMERCHANT_STATUS_UNSPECIFIED\x10\x00\x12\x1b\n\x17MERCHANT_STATUS_PENDING\x10\x01\x12\x1c\n\x18MERCHANT_STATUS_VERIFIED\x10\x02\x12\x1d\n\x19MERCHANT_STATUS_SUSPENDED\x10\x03\x12\x1a\n\x16MERCHANT_STATUS_CLOSED\x10\x04\x32\xc8\x04\n\x0fIdentityService\x12_\n\x10ResolvePrincipal\x12$.identity.v1.ResolvePrincipalRequest\x1a%.identity.v1.ResolvePrincipalResponse\x12S\n\x0cGetPrincipal\x12 .identity.v1.GetPrincipalRequest\x1a!.identity.v1.GetPrincipalResponse\x12Y\n\x0eGetUserProfile\x12\".identity.v1.GetUserProfileRequest\x1a#.identity.v1.GetUserProfileResponse\x12\\\n\x0fGetMerchantInfo\x12#.identity.v1.GetMerchantInfoRequest\x1a$.identity.v1.GetMerchantInfoResponse\x12V\n\rValidateToken\x12!.identity.v1.ValidateTokenRequest\x1a\".identity.v1.ValidateTokenResponse\x12n\n\x15MerchantsChangedSince\x12).identity.v1.MerchantsChangedSinceRequest\x1a*.identity.v1.MerchantsChangedSinceResponseB\xdc\x01\n!com.kinetix.contracts.identity.v1B\rIdentityProtoP\x01ZIgithub.com/WildanFrananda/kinetix-contracts/gen/go/identity/v1;identityv1\xa2\x02\x03KNX\xaa\x02\x1dKinetix.Contracts.Identity.V1\xca\x02\x0bIdentity\\V1\xe2\x02\x17Identity\\V1\\GPBMetadata\xea\x02\x0cIdentity::V1b\x06proto3"
11
+ descriptor_data = "\n\x1aidentity/v1/identity.proto\x12\x0bidentity.v1\x1a\x16\x63ommon/v1/common.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"E\n\x0eServiceLocalId\x12\x18\n\x07service\x18\x01 \x01(\tR\x07service\x12\x19\n\x08local_id\x18\x02 \x01(\tR\x07localId\"`\n\x17ResolvePrincipalRequest\x12\x45\n\x10service_local_id\x18\x01 \x01(\x0b\x32\x1b.identity.v1.ServiceLocalIdR\x0eserviceLocalId\"\xa6\x01\n\x18ResolvePrincipalResponse\x12\x14\n\x05\x66ound\x18\x01 \x01(\x08R\x05\x66ound\x12!\n\x0cprincipal_id\x18\x02 \x01(\tR\x0bprincipalId\x12.\n\x04kind\x18\x03 \x01(\x0e\x32\x1a.identity.v1.PrincipalKindR\x04kind\x12!\n\x0c\x64isplay_name\x18\x04 \x01(\tR\x0b\x64isplayName\"8\n\x13GetPrincipalRequest\x12!\n\x0cprincipal_id\x18\x01 \x01(\tR\x0bprincipalId\"\xd9\x01\n\x14GetPrincipalResponse\x12\x14\n\x05\x66ound\x18\x01 \x01(\x08R\x05\x66ound\x12!\n\x0cprincipal_id\x18\x02 \x01(\tR\x0bprincipalId\x12.\n\x04kind\x18\x03 \x01(\x0e\x32\x1a.identity.v1.PrincipalKindR\x04kind\x12!\n\x0c\x64isplay_name\x18\x04 \x01(\tR\x0b\x64isplayName\x12\x35\n\x07\x61liases\x18\x05 \x03(\x0b\x32\x1b.identity.v1.ServiceLocalIdR\x07\x61liases\":\n\x15GetUserProfileRequest\x12!\n\x0cprincipal_id\x18\x01 \x01(\tR\x0bprincipalId\"\xea\x02\n\x16GetUserProfileResponse\x12\x14\n\x05\x66ound\x18\x01 \x01(\x08R\x05\x66ound\x12!\n\x0cprincipal_id\x18\x02 \x01(\tR\x0bprincipalId\x12\x14\n\x05\x65mail\x18\x03 \x01(\tR\x05\x65mail\x12\x1b\n\tfull_name\x18\x04 \x01(\tR\x08\x66ullName\x12!\n\x0cphone_number\x18\x05 \x01(\tR\x0bphoneNumber\x12%\n\x0estreet_address\x18\x06 \x01(\tR\rstreetAddress\x12\x12\n\x04\x63ity\x18\x07 \x01(\tR\x04\x63ity\x12\x1f\n\x0bpostal_code\x18\x08 \x01(\tR\npostalCode\x12.\n\x04kind\x18\t \x01(\x0e\x32\x1a.identity.v1.PrincipalKindR\x04kind\x12/\n\x08location\x18\x0b \x01(\x0b\x32\x13.common.v1.GeoPointR\x08locationJ\x04\x08\n\x10\x0b\";\n\x16GetMerchantInfoRequest\x12!\n\x0cprincipal_id\x18\x01 \x01(\tR\x0bprincipalId\"\x9d\x03\n\x17GetMerchantInfoResponse\x12\x14\n\x05\x66ound\x18\x01 \x01(\x08R\x05\x66ound\x12\x32\n\x15merchant_principal_id\x18\x02 \x01(\tR\x13merchantPrincipalId\x12\x1d\n\nstore_name\x18\x03 \x01(\tR\tstoreName\x12@\n\x1c\x62usiness_registration_number\x18\x04 \x01(\tR\x1a\x62usinessRegistrationNumber\x12\x15\n\x06tax_id\x18\x05 \x01(\tR\x05taxId\x12\x33\n\x06status\x18\x06 \x01(\x0e\x32\x1b.identity.v1.MerchantStatusR\x06status\x12\x39\n\x0epickup_address\x18\x07 \x01(\x0b\x32\x12.common.v1.AddressR\rpickupAddress\x12/\n\x08location\x18\t \x01(\x0b\x32\x13.common.v1.GeoPointR\x08location\x12\x19\n\x08may_sell\x18\n \x01(\x08R\x07maySellJ\x04\x08\x08\x10\t\"9\n\x14ValidateTokenRequest\x12!\n\x0c\x61\x63\x63\x65ss_token\x18\x01 \x01(\tR\x0b\x61\x63\x63\x65ssToken\"\x98\x01\n\x15ValidateTokenResponse\x12\x14\n\x05valid\x18\x01 \x01(\x08R\x05valid\x12!\n\x0cprincipal_id\x18\x02 \x01(\tR\x0bprincipalId\x12.\n\x04kind\x18\x03 \x01(\x0e\x32\x1a.identity.v1.PrincipalKindR\x04kind\x12\x16\n\x06reason\x18\x04 \x01(\tR\x06reason\"\x81\x01\n\x0eMerchantCursor\x12\x43\n\x0fupdated_through\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x0eupdatedThrough\x12*\n\x11last_principal_id\x18\x02 \x01(\tR\x0flastPrincipalId\"\xdd\x01\n\x0eMerchantRecord\x12!\n\x0cprincipal_id\x18\x01 \x01(\tR\x0bprincipalId\x12\x1d\n\nstore_name\x18\x02 \x01(\tR\tstoreName\x12\x33\n\x06status\x18\x03 \x01(\x0e\x32\x1b.identity.v1.MerchantStatusR\x06status\x12\x19\n\x08may_sell\x18\x04 \x01(\x08R\x07maySell\x12\x39\n\nupdated_at\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tupdatedAt\"i\n\x1cMerchantsChangedSinceRequest\x12\x33\n\x06\x63ursor\x18\x01 \x01(\x0b\x32\x1b.identity.v1.MerchantCursorR\x06\x63ursor\x12\x14\n\x05limit\x18\x02 \x01(\x05R\x05limit\"\xd8\x01\n\x1dMerchantsChangedSinceResponse\x12\x37\n\x08upserted\x18\x01 \x03(\x0b\x32\x1b.identity.v1.MerchantRecordR\x08upserted\x12\x32\n\x15removed_principal_ids\x18\x02 \x03(\tR\x13removedPrincipalIds\x12/\n\x04next\x18\x03 \x01(\x0b\x32\x1b.identity.v1.MerchantCursorR\x04next\x12\x19\n\x08has_more\x18\x04 \x01(\x08R\x07hasMore*\xba\x01\n\rPrincipalKind\x12\x1e\n\x1aPRINCIPAL_KIND_UNSPECIFIED\x10\x00\x12\x1b\n\x17PRINCIPAL_KIND_CUSTOMER\x10\x01\x12\x1b\n\x17PRINCIPAL_KIND_MERCHANT\x10\x02\x12\x19\n\x15PRINCIPAL_KIND_DRIVER\x10\x03\x12\x18\n\x14PRINCIPAL_KIND_STAFF\x10\x04\x12\x1a\n\x16PRINCIPAL_KIND_SERVICE\x10\x05*\xa7\x01\n\x0eMerchantStatus\x12\x1f\n\x1bMERCHANT_STATUS_UNSPECIFIED\x10\x00\x12\x1b\n\x17MERCHANT_STATUS_PENDING\x10\x01\x12\x1c\n\x18MERCHANT_STATUS_VERIFIED\x10\x02\x12\x1d\n\x19MERCHANT_STATUS_SUSPENDED\x10\x03\x12\x1a\n\x16MERCHANT_STATUS_CLOSED\x10\x04\x32\xc8\x04\n\x0fIdentityService\x12_\n\x10ResolvePrincipal\x12$.identity.v1.ResolvePrincipalRequest\x1a%.identity.v1.ResolvePrincipalResponse\x12S\n\x0cGetPrincipal\x12 .identity.v1.GetPrincipalRequest\x1a!.identity.v1.GetPrincipalResponse\x12Y\n\x0eGetUserProfile\x12\".identity.v1.GetUserProfileRequest\x1a#.identity.v1.GetUserProfileResponse\x12\\\n\x0fGetMerchantInfo\x12#.identity.v1.GetMerchantInfoRequest\x1a$.identity.v1.GetMerchantInfoResponse\x12V\n\rValidateToken\x12!.identity.v1.ValidateTokenRequest\x1a\".identity.v1.ValidateTokenResponse\x12n\n\x15MerchantsChangedSince\x12).identity.v1.MerchantsChangedSinceRequest\x1a*.identity.v1.MerchantsChangedSinceResponseB\xdc\x01\n!com.kinetix.contracts.identity.v1B\rIdentityProtoP\x01ZIgithub.com/WildanFrananda/kinetix-contracts/gen/go/identity/v1;identityv1\xa2\x02\x03KNX\xaa\x02\x1dKinetix.Contracts.Identity.V1\xca\x02\x0bIdentity\\V1\xe2\x02\x17Identity\\V1\\GPBMetadata\xea\x02\x0cIdentity::V1b\x06proto3"
12
12
 
13
13
  pool = Google::Protobuf::DescriptorPool.generated_pool
14
14
  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.19
4
+ version: 1.0.20
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-22 00:00:00.000000000 Z
11
+ date: 2026-09-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-protobuf