kinetix-contracts 1.0.10 → 1.0.12

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: cee375a22ee28e8ff795f20f7fa5251590e5b497dc963f1c04d319af4c2ffe35
4
- data.tar.gz: bbfafbed15e0eb809b6d37f9d219525185237255d4d634321f222f606e743947
3
+ metadata.gz: be1d5da352141f002668c71336688763f2d036005a4a93a76f0d2394c3993b6b
4
+ data.tar.gz: 45e3d544953a8a36747b3601cef8693938107f78bb7af955cf8552d11abcf408
5
5
  SHA512:
6
- metadata.gz: 9b97b2860c2f6778bdd4879f21437eaddf5d0078f7827a7ff74ee39bfb2dd87d8ecaf2906333aca306f1a0145455e9cacac55816f817186518cd770f330da5f3
7
- data.tar.gz: 12e1b296403b8833ad9459b2eaf378c6b73da0dfa360ea9354b7f581da8511fb12a9c31b6f2030f1c7acc8c26ec24f0466b012e97c92c8ea633f1ecffe4f13bf
6
+ metadata.gz: 65e155dbf2376da6f9c23c5eade38555c928bb8a9d935630465affa3acee30801cce8e12448ef233badd66f8d07c3eaef24a32825ef1627118523477682d8999
7
+ data.tar.gz: ac1fcb4b146c380ff8e66eb708e97e9a4eab9ba647a95bf0719eaa1f1dadaa8343dddfa049287a5e30f09842597f8f0e603db097c6931a54137130c289957760
@@ -0,0 +1,23 @@
1
+ # frozen_string_literal: true
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: fulfillment/v1/task.proto
4
+
5
+ require 'google/protobuf'
6
+
7
+ require 'common/v1/common_pb'
8
+
9
+
10
+ descriptor_data = "\n\x19\x66ulfillment/v1/task.proto\x12\x0e\x66ulfillment.v1\x1a\x16\x63ommon/v1/common.proto\"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"
11
+
12
+ pool = Google::Protobuf::DescriptorPool.generated_pool
13
+ pool.add_serialized_file(descriptor_data)
14
+
15
+ module Fulfillment
16
+ module V1
17
+ FulfillmentTaskLine = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("fulfillment.v1.FulfillmentTaskLine").msgclass
18
+ CreateFulfillmentTaskRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("fulfillment.v1.CreateFulfillmentTaskRequest").msgclass
19
+ CreateFulfillmentTaskResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("fulfillment.v1.CreateFulfillmentTaskResponse").msgclass
20
+ CancelFulfillmentTaskRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("fulfillment.v1.CancelFulfillmentTaskRequest").msgclass
21
+ CancelFulfillmentTaskResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("fulfillment.v1.CancelFulfillmentTaskResponse").msgclass
22
+ end
23
+ end
@@ -0,0 +1,25 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # Source: fulfillment/v1/task.proto for package 'Fulfillment.V1'
3
+
4
+ require 'grpc'
5
+ require 'fulfillment/v1/task_pb'
6
+
7
+ module Fulfillment
8
+ module V1
9
+ module FulfillmentTaskService
10
+ class Service
11
+
12
+ include ::GRPC::GenericService
13
+
14
+ self.marshal_class_method = :encode
15
+ self.unmarshal_class_method = :decode
16
+ self.service_name = 'fulfillment.v1.FulfillmentTaskService'
17
+
18
+ rpc :CreateFulfillmentTask, ::Fulfillment::V1::CreateFulfillmentTaskRequest, ::Fulfillment::V1::CreateFulfillmentTaskResponse
19
+ rpc :CancelFulfillmentTask, ::Fulfillment::V1::CancelFulfillmentTaskRequest, ::Fulfillment::V1::CancelFulfillmentTaskResponse
20
+ end
21
+
22
+ Stub = Service.rpc_stub_class
23
+ end
24
+ end
25
+ end
data/order/v1/order_pb.rb CHANGED
@@ -7,13 +7,17 @@ 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\"3\n\x16GetOrderDetailsRequest\x12\x19\n\x08order_id\x18\x01 \x01(\tR\x07orderId\"\xd3\x01\n\tOrderLine\x12\x1d\n\nproduct_id\x18\x01 \x01(\tR\tproductId\x12#\n\rproduct_title\x18\x02 \x01(\tR\x0cproductTitle\x12/\n\nunit_price\x18\x03 \x01(\x0b\x32\x10.common.v1.MoneyR\tunitPrice\x12\x1a\n\x08quantity\x18\x04 \x01(\x05R\x08quantity\x12\x35\n\rline_subtotal\x18\x05 \x01(\x0b\x32\x10.common.v1.MoneyR\x0clineSubtotal\"\x8c\x04\n\x17GetOrderDetailsResponse\x12\x14\n\x05\x66ound\x18\x01 \x01(\x08R\x05\x66ound\x12\x19\n\x08order_id\x18\x02 \x01(\tR\x07orderId\x12!\n\x0corder_number\x18\x03 \x01(\tR\x0borderNumber\x12\x32\n\x15\x63ustomer_principal_id\x18\x04 \x01(\tR\x13\x63ustomerPrincipalId\x12.\n\x06status\x18\x05 \x01(\x0e\x32\x16.common.v1.OrderStatusR\x06status\x12,\n\x08subtotal\x18\x06 \x01(\x0b\x32\x10.common.v1.MoneyR\x08subtotal\x12\x39\n\x0f\x64iscount_amount\x18\x07 \x01(\x0b\x32\x10.common.v1.MoneyR\x0e\x64iscountAmount\x12\x33\n\x0cshipping_fee\x18\x08 \x01(\x0b\x32\x10.common.v1.MoneyR\x0bshippingFee\x12\x31\n\x0b\x66inal_total\x18\t \x01(\x0b\x32\x10.common.v1.MoneyR\nfinalTotal\x12)\n\x05lines\x18\n \x03(\x0b\x32\x13.order.v1.OrderLineR\x05lines\x12=\n\x10shipping_address\x18\x0b \x01(\x0b\x32\x12.common.v1.AddressR\x0fshippingAddress\"\xa3\x01\n\x1dListOrdersForPrincipalRequest\x12!\n\x0cprincipal_id\x18\x01 \x01(\tR\x0bprincipalId\x12.\n\x06status\x18\x02 \x01(\x0e\x32\x16.common.v1.OrderStatusR\x06status\x12\x12\n\x04page\x18\x03 \x01(\x05R\x04page\x12\x1b\n\tpage_size\x18\x04 \x01(\x05R\x08pageSize\"|\n\x1eListOrdersForPrincipalResponse\x12\x39\n\x06orders\x18\x01 \x03(\x0b\x32!.order.v1.GetOrderDetailsResponseR\x06orders\x12\x1f\n\x0btotal_count\x18\x02 \x01(\x05R\ntotalCount2\xd3\x01\n\x0cOrderService\x12V\n\x0fGetOrderDetails\x12 .order.v1.GetOrderDetailsRequest\x1a!.order.v1.GetOrderDetailsResponse\x12k\n\x16ListOrdersForPrincipal\x12\'.order.v1.ListOrdersForPrincipalRequest\x1a(.order.v1.ListOrdersForPrincipalResponseB\xc4\x01\n\x1e\x63om.kinetix.contracts.order.v1B\nOrderProtoP\x01ZCgithub.com/WildanFrananda/kinetix-contracts/gen/go/order/v1;orderv1\xa2\x02\x03KNX\xaa\x02\x1aKinetix.Contracts.Order.V1\xca\x02\x08Order\\V1\xe2\x02\x14Order\\V1\\GPBMetadata\xea\x02\tOrder::V1b\x06proto3"
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"
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
+ OrderDeliveredRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("order.v1.OrderDeliveredRequest").msgclass
18
+ OrderDeliveredResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("order.v1.OrderDeliveredResponse").msgclass
19
+ FulfillmentPackedRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("order.v1.FulfillmentPackedRequest").msgclass
20
+ FulfillmentPackedResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("order.v1.FulfillmentPackedResponse").msgclass
17
21
  GetOrderDetailsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("order.v1.GetOrderDetailsRequest").msgclass
18
22
  OrderLine = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("order.v1.OrderLine").msgclass
19
23
  GetOrderDetailsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("order.v1.GetOrderDetailsResponse").msgclass
@@ -17,6 +17,8 @@ module Order
17
17
 
18
18
  rpc :GetOrderDetails, ::Order::V1::GetOrderDetailsRequest, ::Order::V1::GetOrderDetailsResponse
19
19
  rpc :ListOrdersForPrincipal, ::Order::V1::ListOrdersForPrincipalRequest, ::Order::V1::ListOrdersForPrincipalResponse
20
+ rpc :FulfillmentPacked, ::Order::V1::FulfillmentPackedRequest, ::Order::V1::FulfillmentPackedResponse
21
+ rpc :OrderDelivered, ::Order::V1::OrderDeliveredRequest, ::Order::V1::OrderDeliveredResponse
20
22
  end
21
23
 
22
24
  Stub = Service.rpc_stub_class
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.10
4
+ version: 1.0.12
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-19 00:00:00.000000000 Z
11
+ date: 2026-09-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-protobuf
@@ -51,6 +51,8 @@ files:
51
51
  - fleet/v1/registry_services_pb.rb
52
52
  - fulfillment/v1/fulfillment_pb.rb
53
53
  - fulfillment/v1/fulfillment_services_pb.rb
54
+ - fulfillment/v1/task_pb.rb
55
+ - fulfillment/v1/task_services_pb.rb
54
56
  - geo/v1/geo_pb.rb
55
57
  - geo/v1/geo_services_pb.rb
56
58
  - identity/v1/identity_pb.rb