inttegro 4.3.0 → 5.0.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 -0
- data/README.md +2 -0
- data/Rakefile +13 -0
- data/lib/inttegro/generated/enums.rb +9 -2
- data/lib/inttegro/generated/models.rb +404 -400
- data/lib/inttegro/generated/operations.rb +1 -4
- data/lib/inttegro/http_client.rb +5 -4
- data/lib/inttegro/models.rb +35 -7
- data/lib/inttegro/resources/balances.rb +1 -1
- data/lib/inttegro/resources/orders.rb +0 -30
- data/lib/inttegro/resources/payouts.rb +2 -2
- data/lib/inttegro/version.rb +1 -1
- data/rbi/inttegro/generated.rbi +0 -6
- metadata +3 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: fb2643bc7b507f267af0dce1e34fe8e8558948df7a3adddf9fefb8b0fb825d29
|
|
4
|
+
data.tar.gz: 9c5aa47477668849ee0278e507b0eb106dca038e54cbebd5a3565640e6e41844
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 650ed3d69971aa64872ca00252fd1bfcdc3bb388509d435a2bab15d5544d75dca752ec96a3a624f913c31b3d36f573b8c382545002a0d774bfec87f75efdff41
|
|
7
|
+
data.tar.gz: da187e0cc6fec198577b9ea5cb538afbb46f3fbbad8fe48934bb4ce7c32dabbb03f7f898f657c1272d6018af1bfb9de98f1f0084895137068fbdaa8c3c98c8d2
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
## [Unreleased]
|
|
2
2
|
|
|
3
|
+
## [5.0.0] - 2026-09-10
|
|
4
|
+
|
|
5
|
+
- Breaking: replaced generic hashes with named models for balances, purchase intents, products, payment methods, payments, and orders.
|
|
6
|
+
- Breaking: exposed API timestamps as `Time` values and accepted `Time` values in timestamp request fields.
|
|
7
|
+
|
|
8
|
+
## [4.3.1] - 2026-09-08
|
|
9
|
+
|
|
10
|
+
- Tightened financial-account and payment-method response models to exclude internal platform fields.
|
|
11
|
+
|
|
3
12
|
## [4.3.0] - 2026-09-06
|
|
4
13
|
|
|
5
14
|
- Added opt-in, typed error reporting to application-owned collectors with privacy-safe payloads, stable fingerprints, isolated reporter failures, and no reporting work when unconfigured.
|
data/README.md
CHANGED
|
@@ -4,6 +4,8 @@
|
|
|
4
4
|
|
|
5
5
|
The official Ruby client for building server-side Inttegro integrations.
|
|
6
6
|
|
|
7
|
+
[API documentation](https://ruby.inttegro.dev/) · [Integration guides](https://studio.inttegro.com/sdks/ruby)
|
|
8
|
+
|
|
7
9
|
> **Fastest, most modern path:** connect an agent to [Inttegro MCP](https://studio.inttegro.com/inttegro-mcp) at `https://mcp.inttegro.com`, then ask it to run `design_integration`. It will produce an implementation and test plan for your application. Use this SDK when you are ready to connect that plan to your Ruby service.
|
|
8
10
|
|
|
9
11
|
All official Inttegro SDKs expose the same API capabilities. This gem adds strict Sorbet types and Ruby-native resource methods.
|
data/Rakefile
CHANGED
|
@@ -6,9 +6,22 @@ require "minitest/test_task"
|
|
|
6
6
|
Minitest::TestTask.create
|
|
7
7
|
|
|
8
8
|
require "rubocop/rake_task"
|
|
9
|
+
require "yard"
|
|
10
|
+
require "yard/rake/yardoc_task"
|
|
9
11
|
|
|
10
12
|
RuboCop::RakeTask.new
|
|
11
13
|
|
|
14
|
+
YARD::Rake::YardocTask.new(:docs) do |task|
|
|
15
|
+
task.files = ["lib/**/*.rb"]
|
|
16
|
+
task.options = [
|
|
17
|
+
"--no-private",
|
|
18
|
+
"--protected",
|
|
19
|
+
"--readme", "README.md",
|
|
20
|
+
"--title", "Inttegro Ruby SDK",
|
|
21
|
+
"--output-dir", "build/api-docs"
|
|
22
|
+
]
|
|
23
|
+
end
|
|
24
|
+
|
|
12
25
|
namespace :rbi do
|
|
13
26
|
desc "Regenerate Sorbet declarations for models, enums, and resources"
|
|
14
27
|
task :generate do
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
# Generated from openapi/commerce.yml by bin/generate-openapi-types. Do not edit.
|
|
4
4
|
|
|
5
5
|
require "sorbet-runtime"
|
|
6
|
+
require "time"
|
|
6
7
|
|
|
7
8
|
module Inttegro
|
|
8
9
|
class AppCredentialOwner < T::Enum
|
|
@@ -364,6 +365,12 @@ module Inttegro
|
|
|
364
365
|
end
|
|
365
366
|
end
|
|
366
367
|
|
|
368
|
+
class OrderDiscountLineItemType < T::Enum
|
|
369
|
+
enums do
|
|
370
|
+
DISCOUNT = new("discount")
|
|
371
|
+
end
|
|
372
|
+
end
|
|
373
|
+
|
|
367
374
|
class OrderDocumentKind < T::Enum
|
|
368
375
|
enums do
|
|
369
376
|
INVOICE = new("invoice")
|
|
@@ -447,8 +454,8 @@ module Inttegro
|
|
|
447
454
|
CONFIRM_PAYMENT = new("confirm_payment")
|
|
448
455
|
EXECUTE = new("execute")
|
|
449
456
|
REDIRECT = new("redirect")
|
|
450
|
-
|
|
451
|
-
|
|
457
|
+
AUTHORIZE_PAYMENT = new("authorize_payment")
|
|
458
|
+
REQUEST_CONFIRMATION = new("request_confirmation")
|
|
452
459
|
end
|
|
453
460
|
end
|
|
454
461
|
|