finch-api 0.1.0.pre.alpha.36 → 0.1.0.pre.alpha.37
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 +8 -0
- data/README.md +1 -1
- data/lib/finch_api/models/request_forwarding_forward_params.rb +12 -12
- data/lib/finch_api/models/sandbox/payment_create_params.rb +9 -2
- data/lib/finch_api/resources/request_forwarding.rb +3 -3
- data/lib/finch_api/version.rb +1 -1
- data/rbi/finch_api/models/request_forwarding_forward_params.rbi +12 -12
- data/rbi/finch_api/models/sandbox/payment_create_params.rbi +15 -2
- data/rbi/finch_api/resources/request_forwarding.rbi +5 -5
- data/sig/finch_api/models/request_forwarding_forward_params.rbs +6 -6
- data/sig/finch_api/resources/request_forwarding.rbs +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c373b41d8ec9162cf4f4a50d8ffb8cbdb2739e81bf4e6d18f3cd50465002d363
|
|
4
|
+
data.tar.gz: b06a4865378ccf104f73235380afac0ac5c2e16bc2126c2bd1d256d7519f4e4d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 643c7e5f63688fefcf77457038d98fcae7ed1131059107b097cba2c47ceed4ed29be2362888c6f38c020effe071b19645816a4d7303a64b13d919e1cbf9f7817
|
|
7
|
+
data.tar.gz: e0ef99cd6d99d60507ae5b270e61b7c1bc0229b8950789f9aaa0d6b4d90f2b81c9b02cff0867bfe28adf3490bedc4bbac6e777bd27a40a4f134acc2a48fd0f0b
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.1.0-alpha.37 (2025-12-01)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v0.1.0-alpha.36...v0.1.0-alpha.37](https://github.com/Finch-API/finch-api-ruby/compare/v0.1.0-alpha.36...v0.1.0-alpha.37)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* **api:** api update ([4ada9ae](https://github.com/Finch-API/finch-api-ruby/commit/4ada9aea1a5477c50ad4c2d1158edc4056b9bcce))
|
|
10
|
+
|
|
3
11
|
## 0.1.0-alpha.36 (2025-11-20)
|
|
4
12
|
|
|
5
13
|
Full Changelog: [v0.1.0-alpha.35...v0.1.0-alpha.36](https://github.com/Finch-API/finch-api-ruby/compare/v0.1.0-alpha.35...v0.1.0-alpha.36)
|
data/README.md
CHANGED
|
@@ -17,7 +17,7 @@ To use this gem, install via Bundler by adding the following to your application
|
|
|
17
17
|
<!-- x-release-please-start-version -->
|
|
18
18
|
|
|
19
19
|
```ruby
|
|
20
|
-
gem "finch-api", "~> 0.1.0.pre.alpha.
|
|
20
|
+
gem "finch-api", "~> 0.1.0.pre.alpha.37"
|
|
21
21
|
```
|
|
22
22
|
|
|
23
23
|
<!-- x-release-please-end -->
|
|
@@ -29,26 +29,26 @@ module FinchAPI
|
|
|
29
29
|
# @return [String, nil]
|
|
30
30
|
optional :data, String, nil?: true
|
|
31
31
|
|
|
32
|
-
# @!attribute
|
|
33
|
-
# The
|
|
34
|
-
#
|
|
35
|
-
# `{"Content-Type": "application/xml", "X-API-Version": "v1" }`
|
|
32
|
+
# @!attribute params
|
|
33
|
+
# The query parameters for the forwarded request. This value must be specified as
|
|
34
|
+
# a valid JSON object rather than a query string.
|
|
36
35
|
#
|
|
37
36
|
# @return [Hash{Symbol=>Object, nil}, nil]
|
|
38
|
-
optional :
|
|
37
|
+
optional :params,
|
|
39
38
|
FinchAPI::Internal::Type::HashOf[FinchAPI::Internal::Type::Unknown, nil?: true],
|
|
40
39
|
nil?: true
|
|
41
40
|
|
|
42
|
-
# @!attribute
|
|
43
|
-
# The
|
|
44
|
-
#
|
|
41
|
+
# @!attribute request_headers
|
|
42
|
+
# The HTTP headers to include on the forwarded request. This value must be
|
|
43
|
+
# specified as an object of key-value pairs. Example:
|
|
44
|
+
# `{"Content-Type": "application/xml", "X-API-Version": "v1" }`
|
|
45
45
|
#
|
|
46
46
|
# @return [Hash{Symbol=>Object, nil}, nil]
|
|
47
|
-
optional :
|
|
47
|
+
optional :request_headers,
|
|
48
48
|
FinchAPI::Internal::Type::HashOf[FinchAPI::Internal::Type::Unknown, nil?: true],
|
|
49
49
|
nil?: true
|
|
50
50
|
|
|
51
|
-
# @!method initialize(method_:, route:, data: nil,
|
|
51
|
+
# @!method initialize(method_:, route:, data: nil, params: nil, request_headers: nil, request_options: {})
|
|
52
52
|
# Some parameter documentations has been truncated, see
|
|
53
53
|
# {FinchAPI::Models::RequestForwardingForwardParams} for more details.
|
|
54
54
|
#
|
|
@@ -58,10 +58,10 @@ module FinchAPI
|
|
|
58
58
|
#
|
|
59
59
|
# @param data [String, nil] The body for the forwarded request. This value must be specified as either a str
|
|
60
60
|
#
|
|
61
|
-
# @param headers [Hash{Symbol=>Object, nil}, nil] The HTTP headers to include on the forwarded request. This value must be specifi
|
|
62
|
-
#
|
|
63
61
|
# @param params [Hash{Symbol=>Object, nil}, nil] The query parameters for the forwarded request. This value must be specified as
|
|
64
62
|
#
|
|
63
|
+
# @param request_headers [Hash{Symbol=>Object, nil}, nil] The HTTP headers to include on the forwarded request. This value must be specifi
|
|
64
|
+
#
|
|
65
65
|
# @param request_options [FinchAPI::RequestOptions, Hash{Symbol=>Object}]
|
|
66
66
|
end
|
|
67
67
|
end
|
|
@@ -160,6 +160,7 @@ module FinchAPI
|
|
|
160
160
|
optional :amount, Integer
|
|
161
161
|
|
|
162
162
|
# @!attribute name
|
|
163
|
+
# The deduction name. Required when type is specified.
|
|
163
164
|
#
|
|
164
165
|
# @return [String, nil]
|
|
165
166
|
optional :name, String
|
|
@@ -176,8 +177,11 @@ module FinchAPI
|
|
|
176
177
|
|
|
177
178
|
# @!method initialize(amount: nil, name: nil, pre_tax: nil, type: nil)
|
|
178
179
|
# @param amount [Integer]
|
|
179
|
-
#
|
|
180
|
+
#
|
|
181
|
+
# @param name [String] The deduction name. Required when type is specified.
|
|
182
|
+
#
|
|
180
183
|
# @param pre_tax [Boolean]
|
|
184
|
+
#
|
|
181
185
|
# @param type [Symbol, FinchAPI::Models::Sandbox::PaymentCreateParams::PayStatement::EmployeeDeduction::Type]
|
|
182
186
|
|
|
183
187
|
# @see FinchAPI::Models::Sandbox::PaymentCreateParams::PayStatement::EmployeeDeduction#type
|
|
@@ -216,6 +220,7 @@ module FinchAPI
|
|
|
216
220
|
optional :amount, Integer
|
|
217
221
|
|
|
218
222
|
# @!attribute name
|
|
223
|
+
# The contribution name. Required when type is specified.
|
|
219
224
|
#
|
|
220
225
|
# @return [String, nil]
|
|
221
226
|
optional :name, String
|
|
@@ -228,7 +233,9 @@ module FinchAPI
|
|
|
228
233
|
|
|
229
234
|
# @!method initialize(amount: nil, name: nil, type: nil)
|
|
230
235
|
# @param amount [Integer]
|
|
231
|
-
#
|
|
236
|
+
#
|
|
237
|
+
# @param name [String] The contribution name. Required when type is specified.
|
|
238
|
+
#
|
|
232
239
|
# @param type [Symbol, FinchAPI::Models::Sandbox::PaymentCreateParams::PayStatement::EmployerContribution::Type]
|
|
233
240
|
|
|
234
241
|
# @see FinchAPI::Models::Sandbox::PaymentCreateParams::PayStatement::EmployerContribution#type
|
|
@@ -11,7 +11,7 @@ module FinchAPI
|
|
|
11
11
|
# Forward allows you to push or pull data models directly against an integration's
|
|
12
12
|
# API.
|
|
13
13
|
#
|
|
14
|
-
# @overload forward(method_:, route:, data: nil,
|
|
14
|
+
# @overload forward(method_:, route:, data: nil, params: nil, request_headers: nil, request_options: {})
|
|
15
15
|
#
|
|
16
16
|
# @param method_ [String] The HTTP method for the forwarded request. Valid values include: `GET` , `POST`
|
|
17
17
|
#
|
|
@@ -19,10 +19,10 @@ module FinchAPI
|
|
|
19
19
|
#
|
|
20
20
|
# @param data [String, nil] The body for the forwarded request. This value must be specified as either a str
|
|
21
21
|
#
|
|
22
|
-
# @param headers [Hash{Symbol=>Object, nil}, nil] The HTTP headers to include on the forwarded request. This value must be specifi
|
|
23
|
-
#
|
|
24
22
|
# @param params [Hash{Symbol=>Object, nil}, nil] The query parameters for the forwarded request. This value must be specified as
|
|
25
23
|
#
|
|
24
|
+
# @param request_headers [Hash{Symbol=>Object, nil}, nil] The HTTP headers to include on the forwarded request. This value must be specifi
|
|
25
|
+
#
|
|
26
26
|
# @param request_options [FinchAPI::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
27
27
|
#
|
|
28
28
|
# @return [FinchAPI::Models::RequestForwardingForwardResponse]
|
data/lib/finch_api/version.rb
CHANGED
|
@@ -30,24 +30,24 @@ module FinchAPI
|
|
|
30
30
|
sig { returns(T.nilable(String)) }
|
|
31
31
|
attr_accessor :data
|
|
32
32
|
|
|
33
|
-
# The HTTP headers to include on the forwarded request. This value must be
|
|
34
|
-
# specified as an object of key-value pairs. Example:
|
|
35
|
-
# `{"Content-Type": "application/xml", "X-API-Version": "v1" }`
|
|
36
|
-
sig { returns(T.nilable(T::Hash[Symbol, T.nilable(T.anything)])) }
|
|
37
|
-
attr_accessor :headers
|
|
38
|
-
|
|
39
33
|
# The query parameters for the forwarded request. This value must be specified as
|
|
40
34
|
# a valid JSON object rather than a query string.
|
|
41
35
|
sig { returns(T.nilable(T::Hash[Symbol, T.nilable(T.anything)])) }
|
|
42
36
|
attr_accessor :params
|
|
43
37
|
|
|
38
|
+
# The HTTP headers to include on the forwarded request. This value must be
|
|
39
|
+
# specified as an object of key-value pairs. Example:
|
|
40
|
+
# `{"Content-Type": "application/xml", "X-API-Version": "v1" }`
|
|
41
|
+
sig { returns(T.nilable(T::Hash[Symbol, T.nilable(T.anything)])) }
|
|
42
|
+
attr_accessor :request_headers
|
|
43
|
+
|
|
44
44
|
sig do
|
|
45
45
|
params(
|
|
46
46
|
method_: String,
|
|
47
47
|
route: String,
|
|
48
48
|
data: T.nilable(String),
|
|
49
|
-
headers: T.nilable(T::Hash[Symbol, T.nilable(T.anything)]),
|
|
50
49
|
params: T.nilable(T::Hash[Symbol, T.nilable(T.anything)]),
|
|
50
|
+
request_headers: T.nilable(T::Hash[Symbol, T.nilable(T.anything)]),
|
|
51
51
|
request_options: FinchAPI::RequestOptions::OrHash
|
|
52
52
|
).returns(T.attached_class)
|
|
53
53
|
end
|
|
@@ -62,13 +62,13 @@ module FinchAPI
|
|
|
62
62
|
# The body for the forwarded request. This value must be specified as either a
|
|
63
63
|
# string or a valid JSON object.
|
|
64
64
|
data: nil,
|
|
65
|
-
# The HTTP headers to include on the forwarded request. This value must be
|
|
66
|
-
# specified as an object of key-value pairs. Example:
|
|
67
|
-
# `{"Content-Type": "application/xml", "X-API-Version": "v1" }`
|
|
68
|
-
headers: nil,
|
|
69
65
|
# The query parameters for the forwarded request. This value must be specified as
|
|
70
66
|
# a valid JSON object rather than a query string.
|
|
71
67
|
params: nil,
|
|
68
|
+
# The HTTP headers to include on the forwarded request. This value must be
|
|
69
|
+
# specified as an object of key-value pairs. Example:
|
|
70
|
+
# `{"Content-Type": "application/xml", "X-API-Version": "v1" }`
|
|
71
|
+
request_headers: nil,
|
|
72
72
|
request_options: {}
|
|
73
73
|
)
|
|
74
74
|
end
|
|
@@ -79,8 +79,8 @@ module FinchAPI
|
|
|
79
79
|
method_: String,
|
|
80
80
|
route: String,
|
|
81
81
|
data: T.nilable(String),
|
|
82
|
-
headers: T.nilable(T::Hash[Symbol, T.nilable(T.anything)]),
|
|
83
82
|
params: T.nilable(T::Hash[Symbol, T.nilable(T.anything)]),
|
|
83
|
+
request_headers: T.nilable(T::Hash[Symbol, T.nilable(T.anything)]),
|
|
84
84
|
request_options: FinchAPI::RequestOptions
|
|
85
85
|
}
|
|
86
86
|
)
|
|
@@ -471,6 +471,7 @@ module FinchAPI
|
|
|
471
471
|
sig { params(amount: Integer).void }
|
|
472
472
|
attr_writer :amount
|
|
473
473
|
|
|
474
|
+
# The deduction name. Required when type is specified.
|
|
474
475
|
sig { returns(T.nilable(String)) }
|
|
475
476
|
attr_reader :name
|
|
476
477
|
|
|
@@ -509,7 +510,13 @@ module FinchAPI
|
|
|
509
510
|
FinchAPI::Sandbox::PaymentCreateParams::PayStatement::EmployeeDeduction::Type::OrSymbol
|
|
510
511
|
).returns(T.attached_class)
|
|
511
512
|
end
|
|
512
|
-
def self.new(
|
|
513
|
+
def self.new(
|
|
514
|
+
amount: nil,
|
|
515
|
+
# The deduction name. Required when type is specified.
|
|
516
|
+
name: nil,
|
|
517
|
+
pre_tax: nil,
|
|
518
|
+
type: nil
|
|
519
|
+
)
|
|
513
520
|
end
|
|
514
521
|
|
|
515
522
|
sig do
|
|
@@ -661,6 +668,7 @@ module FinchAPI
|
|
|
661
668
|
sig { params(amount: Integer).void }
|
|
662
669
|
attr_writer :amount
|
|
663
670
|
|
|
671
|
+
# The contribution name. Required when type is specified.
|
|
664
672
|
sig { returns(T.nilable(String)) }
|
|
665
673
|
attr_reader :name
|
|
666
674
|
|
|
@@ -692,7 +700,12 @@ module FinchAPI
|
|
|
692
700
|
FinchAPI::Sandbox::PaymentCreateParams::PayStatement::EmployerContribution::Type::OrSymbol
|
|
693
701
|
).returns(T.attached_class)
|
|
694
702
|
end
|
|
695
|
-
def self.new(
|
|
703
|
+
def self.new(
|
|
704
|
+
amount: nil,
|
|
705
|
+
# The contribution name. Required when type is specified.
|
|
706
|
+
name: nil,
|
|
707
|
+
type: nil
|
|
708
|
+
)
|
|
696
709
|
end
|
|
697
710
|
|
|
698
711
|
sig do
|
|
@@ -12,8 +12,8 @@ module FinchAPI
|
|
|
12
12
|
method_: String,
|
|
13
13
|
route: String,
|
|
14
14
|
data: T.nilable(String),
|
|
15
|
-
headers: T.nilable(T::Hash[Symbol, T.nilable(T.anything)]),
|
|
16
15
|
params: T.nilable(T::Hash[Symbol, T.nilable(T.anything)]),
|
|
16
|
+
request_headers: T.nilable(T::Hash[Symbol, T.nilable(T.anything)]),
|
|
17
17
|
request_options: FinchAPI::RequestOptions::OrHash
|
|
18
18
|
).returns(FinchAPI::Models::RequestForwardingForwardResponse)
|
|
19
19
|
end
|
|
@@ -28,13 +28,13 @@ module FinchAPI
|
|
|
28
28
|
# The body for the forwarded request. This value must be specified as either a
|
|
29
29
|
# string or a valid JSON object.
|
|
30
30
|
data: nil,
|
|
31
|
-
# The HTTP headers to include on the forwarded request. This value must be
|
|
32
|
-
# specified as an object of key-value pairs. Example:
|
|
33
|
-
# `{"Content-Type": "application/xml", "X-API-Version": "v1" }`
|
|
34
|
-
headers: nil,
|
|
35
31
|
# The query parameters for the forwarded request. This value must be specified as
|
|
36
32
|
# a valid JSON object rather than a query string.
|
|
37
33
|
params: nil,
|
|
34
|
+
# The HTTP headers to include on the forwarded request. This value must be
|
|
35
|
+
# specified as an object of key-value pairs. Example:
|
|
36
|
+
# `{"Content-Type": "application/xml", "X-API-Version": "v1" }`
|
|
37
|
+
request_headers: nil,
|
|
38
38
|
request_options: {}
|
|
39
39
|
)
|
|
40
40
|
end
|
|
@@ -5,8 +5,8 @@ module FinchAPI
|
|
|
5
5
|
method_: String,
|
|
6
6
|
route: String,
|
|
7
7
|
data: String?,
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
params: ::Hash[Symbol, top?]?,
|
|
9
|
+
request_headers: ::Hash[Symbol, top?]?
|
|
10
10
|
}
|
|
11
11
|
& FinchAPI::Internal::Type::request_parameters
|
|
12
12
|
|
|
@@ -20,16 +20,16 @@ module FinchAPI
|
|
|
20
20
|
|
|
21
21
|
attr_accessor data: String?
|
|
22
22
|
|
|
23
|
-
attr_accessor headers: ::Hash[Symbol, top?]?
|
|
24
|
-
|
|
25
23
|
attr_accessor params: ::Hash[Symbol, top?]?
|
|
26
24
|
|
|
25
|
+
attr_accessor request_headers: ::Hash[Symbol, top?]?
|
|
26
|
+
|
|
27
27
|
def initialize: (
|
|
28
28
|
method_: String,
|
|
29
29
|
route: String,
|
|
30
30
|
?data: String?,
|
|
31
|
-
?headers: ::Hash[Symbol, top?]?,
|
|
32
31
|
?params: ::Hash[Symbol, top?]?,
|
|
32
|
+
?request_headers: ::Hash[Symbol, top?]?,
|
|
33
33
|
?request_options: FinchAPI::request_opts
|
|
34
34
|
) -> void
|
|
35
35
|
|
|
@@ -37,8 +37,8 @@ module FinchAPI
|
|
|
37
37
|
method_: String,
|
|
38
38
|
route: String,
|
|
39
39
|
data: String?,
|
|
40
|
-
headers: ::Hash[Symbol, top?]?,
|
|
41
40
|
params: ::Hash[Symbol, top?]?,
|
|
41
|
+
request_headers: ::Hash[Symbol, top?]?,
|
|
42
42
|
request_options: FinchAPI::RequestOptions
|
|
43
43
|
}
|
|
44
44
|
end
|
|
@@ -5,8 +5,8 @@ module FinchAPI
|
|
|
5
5
|
method_: String,
|
|
6
6
|
route: String,
|
|
7
7
|
?data: String?,
|
|
8
|
-
?headers: ::Hash[Symbol, top?]?,
|
|
9
8
|
?params: ::Hash[Symbol, top?]?,
|
|
9
|
+
?request_headers: ::Hash[Symbol, top?]?,
|
|
10
10
|
?request_options: FinchAPI::request_opts
|
|
11
11
|
) -> FinchAPI::Models::RequestForwardingForwardResponse
|
|
12
12
|
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: finch-api
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.0.pre.alpha.
|
|
4
|
+
version: 0.1.0.pre.alpha.37
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Finch
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2025-
|
|
11
|
+
date: 2025-12-02 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: connection_pool
|