nova-pay-grpc 1.2.0 → 1.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +9 -1
- data/lib/nova/pay/grpc/version.rb +1 -1
- data/lib/nova/pay/v1/checkout_pb.rb +1 -1
- data/proto/nova/pay/v1/checkout.proto +2 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 72cd3b3eed7d0a4cbc7529a959c3de243b1647c4a3ed5ac8cef79346e5a23680
|
|
4
|
+
data.tar.gz: f4aef57e1be1c544ef47008cc335edc428dc858da01aa2b20e72ad6656d6cb97
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 33b4cccf8535257df7aec39e3ff02cc24ffd06a7044206cbf82f298eeec929f40b485226c8b08822d55f0e15cc851cd77f4c1f6594c629fd8192676aa852c66a
|
|
7
|
+
data.tar.gz: cde879f50fe7d5859a2df0856b596d9ac4d41622a28977811abf6725cb6c37aeb15148eaff7b774d9a7bf470593a941cf7f898e83265fa69642b584ff81b3846
|
data/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [1.3.0] - 2026-01-21
|
|
11
|
+
|
|
12
|
+
### Added
|
|
13
|
+
|
|
14
|
+
- `order_id` field to `CheckoutResponseData` message.
|
|
15
|
+
- `id` field to `CustomerInput` message.
|
|
16
|
+
|
|
10
17
|
## [1.2.0] - 2026-01-19
|
|
11
18
|
|
|
12
19
|
### Added
|
|
@@ -28,7 +35,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
28
35
|
- Initial release of the `nova-pay-grpc` gem, providing shared gRPC proto definitions and Ruby stubs for Nova Pay services.
|
|
29
36
|
- `CheckoutService` with `perform` RPC for handling checkout requests.
|
|
30
37
|
|
|
31
|
-
[unreleased]: https://github.com/coyosoftware/nova-pay-grpc/compare/v1.
|
|
38
|
+
[unreleased]: https://github.com/coyosoftware/nova-pay-grpc/compare/v1.3.0...HEAD
|
|
39
|
+
[1.3.0]: https://github.com/coyosoftware/nova-pay-grpc/compare/v1.2.0...v1.3.0
|
|
32
40
|
[1.2.0]: https://github.com/coyosoftware/nova-pay-grpc/compare/v1.1.0...v1.2.0
|
|
33
41
|
[1.1.0]: https://github.com/coyosoftware/nova-pay-grpc/compare/v1.0.0...v1.1.0
|
|
34
42
|
[1.0.0]: https://github.com/coyosoftware/nova-pay-grpc/releases/tag/v1.0.0
|
|
@@ -8,7 +8,7 @@ require 'google/protobuf/struct_pb'
|
|
|
8
8
|
require 'google/protobuf/timestamp_pb'
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
descriptor_data = "\n\x1anova/pay/v1/checkout.proto\x12\x0bnova.pay.v1\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xa6\x03\n\x0f\x43heckoutRequest\x12(\n\x04\x64\x61te\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x18\n\x0bobservation\x18\x02 \x01(\tH\x00\x88\x01\x01\x12\x18\n\x10\x63heckout_page_id\x18\x03 \x01(\t\x12\x17\n\x0fpayment_plan_id\x18\x04 \x01(\x03\x12\x14\n\x0cinstallments\x18\x05 \x01(\x03\x12,\n\x08\x63ustomer\x18\x06 \x01(\x0b\x32\x1a.nova.pay.v1.CustomerInput\x12(\n\x05items\x18\x07 \x03(\x0b\x32\x19.nova.pay.v1.CheckoutItem\x12\x34\n\x0c\x63redit_cards\x18\x08 \x03(\x0b\x32\x1e.nova.pay.v1.CreditCardPayment\x12*\n\x04meta\x18\t \x01(\x0b\x32\x17.google.protobuf.StructH\x01\x88\x01\x01\x12*\n\x04utms\x18\n \x01(\x0b\x32\x17.google.protobuf.StructH\x02\x88\x01\x01\x42\x0e\n\x0c_observationB\x07\n\x05_metaB\x07\n\x05_utms\"\
|
|
11
|
+
descriptor_data = "\n\x1anova/pay/v1/checkout.proto\x12\x0bnova.pay.v1\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xa6\x03\n\x0f\x43heckoutRequest\x12(\n\x04\x64\x61te\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x18\n\x0bobservation\x18\x02 \x01(\tH\x00\x88\x01\x01\x12\x18\n\x10\x63heckout_page_id\x18\x03 \x01(\t\x12\x17\n\x0fpayment_plan_id\x18\x04 \x01(\x03\x12\x14\n\x0cinstallments\x18\x05 \x01(\x03\x12,\n\x08\x63ustomer\x18\x06 \x01(\x0b\x32\x1a.nova.pay.v1.CustomerInput\x12(\n\x05items\x18\x07 \x03(\x0b\x32\x19.nova.pay.v1.CheckoutItem\x12\x34\n\x0c\x63redit_cards\x18\x08 \x03(\x0b\x32\x1e.nova.pay.v1.CreditCardPayment\x12*\n\x04meta\x18\t \x01(\x0b\x32\x17.google.protobuf.StructH\x01\x88\x01\x01\x12*\n\x04utms\x18\n \x01(\x0b\x32\x17.google.protobuf.StructH\x02\x88\x01\x01\x42\x0e\n\x0c_observationB\x07\n\x05_metaB\x07\n\x05_utms\"\xc1\x02\n\rCustomerInput\x12\r\n\x05\x65mail\x18\x01 \x01(\t\x12\x16\n\x0eidentification\x18\x02 \x01(\t\x12\x0c\n\x04name\x18\x03 \x01(\t\x12\x14\n\x0cneighborhood\x18\x04 \x01(\t\x12\x0e\n\x06number\x18\x05 \x01(\t\x12\r\n\x05phone\x18\x06 \x01(\t\x12\x0e\n\x06street\x18\x07 \x01(\t\x12\x0f\n\x07zipcode\x18\x08 \x01(\t\x12\r\n\x05state\x18\t \x01(\t\x12\x0c\n\x04\x63ity\x18\n \x01(\t\x12\x12\n\ncomplement\x18\x0b \x01(\t\x12*\n\x04meta\x18\x0c \x01(\x0b\x32\x17.google.protobuf.StructH\x00\x88\x01\x01\x12*\n\x04utms\x18\r \x01(\x0b\x32\x17.google.protobuf.StructH\x01\x88\x01\x01\x12\n\n\x02id\x18\x0e \x01(\x03\x42\x07\n\x05_metaB\x07\n\x05_utms\"h\n\x0c\x43heckoutItem\x12\x12\n\nproduct_id\x18\x01 \x01(\x03\x12\x10\n\x08quantity\x18\x02 \x01(\x05\x12\x1d\n\x10unit_value_cents\x18\x03 \x01(\x03H\x00\x88\x01\x01\x42\x13\n\x11_unit_value_cents\"x\n\x11\x43reditCardPayment\x12\r\n\x05token\x18\x01 \x01(\t\x12\x0f\n\x07\x63\x61rd_id\x18\x02 \x01(\t\x12\x17\n\x0fpayment_plan_id\x18\x03 \x01(\x03\x12\x14\n\x0cinstallments\x18\x04 \x01(\x05\x12\x14\n\x0c\x61mount_cents\x18\x05 \x01(\x03\"T\n\x10\x43heckoutResponse\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12/\n\x04\x64\x61ta\x18\x03 \x01(\x0b\x32!.nova.pay.v1.CheckoutResponseData\"\xe3\x01\n\x14\x43heckoutResponseData\x12.\n\x0corder_status\x18\x01 \x01(\x0e\x32\x18.nova.pay.v1.OrderStatus\x12\x10\n\x08payments\x18\x02 \x03(\t\x12\x15\n\rbank_slip_url\x18\x03 \x01(\t\x12\x13\n\x0bpix_qr_code\x18\x04 \x01(\t\x12\x17\n\x0fpix_qr_code_url\x18\x05 \x01(\t\x12\x32\n\x0epix_expires_at\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x10\n\x08order_id\x18\x07 \x01(\x03*\xf6\x01\n\x0bOrderStatus\x12\x18\n\x14ORDER_STATUS_PENDING\x10\x00\x12 \n\x1cORDER_STATUS_WAITING_PAYMENT\x10\x01\x12\x1f\n\x1bORDER_STATUS_PARTIALLY_PAID\x10\x02\x12\x15\n\x11ORDER_STATUS_PAID\x10\x03\x12\x1a\n\x16ORDER_STATUS_CANCELLED\x10\x04\x12#\n\x1fORDER_STATUS_PARTIALLY_REFUNDED\x10\x05\x12\x19\n\x15ORDER_STATUS_REFUNDED\x10\x06\x12\x17\n\x13ORDER_STATUS_BILLED\x10\x07\x32Y\n\x0f\x43heckoutService\x12\x46\n\x07perform\x12\x1c.nova.pay.v1.CheckoutRequest\x1a\x1d.nova.pay.v1.CheckoutResponseb\x06proto3"
|
|
12
12
|
|
|
13
13
|
pool = ::Google::Protobuf::DescriptorPool.generated_pool
|
|
14
14
|
pool.add_serialized_file(descriptor_data)
|
|
@@ -47,6 +47,7 @@ message CustomerInput {
|
|
|
47
47
|
string complement = 11;
|
|
48
48
|
optional google.protobuf.Struct meta = 12;
|
|
49
49
|
optional google.protobuf.Struct utms = 13;
|
|
50
|
+
int64 id = 14;
|
|
50
51
|
}
|
|
51
52
|
|
|
52
53
|
message CheckoutItem {
|
|
@@ -77,4 +78,5 @@ message CheckoutResponseData {
|
|
|
77
78
|
string pix_qr_code = 4;
|
|
78
79
|
string pix_qr_code_url = 5;
|
|
79
80
|
google.protobuf.Timestamp pix_expires_at = 6;
|
|
81
|
+
int64 order_id = 7;
|
|
80
82
|
}
|