finch-api 0.1.0.pre.alpha.29 → 0.1.0.pre.alpha.30
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 +1 -1
- data/lib/finch_api/models/access_token_create_params.rb +13 -13
- data/lib/finch_api/models/hris/pay_statement.rb +42 -88
- data/lib/finch_api/resources/access_tokens.rb +3 -3
- data/lib/finch_api/version.rb +1 -1
- data/rbi/finch_api/models/access_token_create_params.rbi +19 -13
- data/rbi/finch_api/models/hris/pay_statement.rbi +60 -238
- data/rbi/finch_api/resources/access_tokens.rbi +5 -5
- data/sig/finch_api/models/access_token_create_params.rbs +11 -7
- data/sig/finch_api/models/hris/pay_statement.rbs +16 -84
- data/sig/finch_api/resources/access_tokens.rbs +2 -2
- 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: 3496470a02b2525dd330a546b1704038a2127435260524e54d0b454744fc0511
|
|
4
|
+
data.tar.gz: 513a145229c45d27e4a85f913a724f8e30822fbeb93fb0425abab26884abe7ee
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e67aa03accd57373be7e4805ff36c2272699cd54f157ffb395e46a312c3db4dacc4e2d12cd7de8ffb70a80976ad55a31fb616b27ea3e3794ab2f97752109d2a7
|
|
7
|
+
data.tar.gz: 7924c3afdc7c4474d830209e24b068bd0a9a49cdca40aefc4aebda37a91732cdf65ecd010260fe9a3dbfa801d2dd2f9db756ce44131a1de87f8a0acff75a17a6
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.1.0-alpha.30 (2025-09-08)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v0.1.0-alpha.29...v0.1.0-alpha.30](https://github.com/Finch-API/finch-api-ruby/compare/v0.1.0-alpha.29...v0.1.0-alpha.30)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* **api:** api update ([a67b714](https://github.com/Finch-API/finch-api-ruby/commit/a67b7140a175c5091a52ef82b90860b39a74075f))
|
|
10
|
+
* **api:** make client id, client secret optional again ([d1b769f](https://github.com/Finch-API/finch-api-ruby/commit/d1b769f81ce16d27fe940f647c19d6f6e4b1b2b4))
|
|
11
|
+
|
|
3
12
|
## 0.1.0-alpha.29 (2025-08-24)
|
|
4
13
|
|
|
5
14
|
Full Changelog: [v0.1.0-alpha.28...v0.1.0-alpha.29](https://github.com/Finch-API/finch-api-ruby/compare/v0.1.0-alpha.28...v0.1.0-alpha.29)
|
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.30"
|
|
21
21
|
```
|
|
22
22
|
|
|
23
23
|
<!-- x-release-please-end -->
|
|
@@ -7,23 +7,23 @@ module FinchAPI
|
|
|
7
7
|
extend FinchAPI::Internal::Type::RequestParameters::Converter
|
|
8
8
|
include FinchAPI::Internal::Type::RequestParameters
|
|
9
9
|
|
|
10
|
+
# @!attribute code
|
|
11
|
+
# The authorization code received from the authorization server
|
|
12
|
+
#
|
|
13
|
+
# @return [String]
|
|
14
|
+
required :code, String
|
|
15
|
+
|
|
10
16
|
# @!attribute client_id
|
|
11
17
|
# The client ID for your application
|
|
12
18
|
#
|
|
13
|
-
# @return [String]
|
|
14
|
-
|
|
19
|
+
# @return [String, nil]
|
|
20
|
+
optional :client_id, String
|
|
15
21
|
|
|
16
22
|
# @!attribute client_secret
|
|
17
23
|
# The client secret for your application
|
|
18
24
|
#
|
|
19
|
-
# @return [String]
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
# @!attribute code
|
|
23
|
-
# The authorization code received from the authorization server
|
|
24
|
-
#
|
|
25
|
-
# @return [String]
|
|
26
|
-
required :code, String
|
|
25
|
+
# @return [String, nil]
|
|
26
|
+
optional :client_secret, String
|
|
27
27
|
|
|
28
28
|
# @!attribute redirect_uri
|
|
29
29
|
# The redirect URI used in the authorization request (optional)
|
|
@@ -31,13 +31,13 @@ module FinchAPI
|
|
|
31
31
|
# @return [String, nil]
|
|
32
32
|
optional :redirect_uri, String
|
|
33
33
|
|
|
34
|
-
# @!method initialize(
|
|
34
|
+
# @!method initialize(code:, client_id: nil, client_secret: nil, redirect_uri: nil, request_options: {})
|
|
35
|
+
# @param code [String] The authorization code received from the authorization server
|
|
36
|
+
#
|
|
35
37
|
# @param client_id [String] The client ID for your application
|
|
36
38
|
#
|
|
37
39
|
# @param client_secret [String] The client secret for your application
|
|
38
40
|
#
|
|
39
|
-
# @param code [String] The authorization code received from the authorization server
|
|
40
|
-
#
|
|
41
41
|
# @param redirect_uri [String] The redirect URI used in the authorization request (optional)
|
|
42
42
|
#
|
|
43
43
|
# @param request_options [FinchAPI::RequestOptions, Hash{Symbol=>Object}]
|
|
@@ -176,31 +176,19 @@ module FinchAPI
|
|
|
176
176
|
# @see FinchAPI::Models::HRIS::PayStatement::Earning#attributes
|
|
177
177
|
class Attributes < FinchAPI::Internal::Type::BaseModel
|
|
178
178
|
# @!attribute metadata
|
|
179
|
+
# The metadata to be attached to the entity by existing rules. It is a key-value
|
|
180
|
+
# pairs where the values can be of any type (string, number, boolean, object,
|
|
181
|
+
# array, etc.).
|
|
179
182
|
#
|
|
180
|
-
# @return [
|
|
181
|
-
required :metadata,
|
|
183
|
+
# @return [Hash{Symbol=>Object, nil}]
|
|
184
|
+
required :metadata,
|
|
185
|
+
FinchAPI::Internal::Type::HashOf[FinchAPI::Internal::Type::Unknown, nil?: true]
|
|
182
186
|
|
|
183
187
|
# @!method initialize(metadata:)
|
|
184
|
-
#
|
|
185
|
-
|
|
186
|
-
#
|
|
187
|
-
|
|
188
|
-
# @!attribute metadata
|
|
189
|
-
# The metadata to be attached to the entity by existing rules. It is a key-value
|
|
190
|
-
# pairs where the values can be of any type (string, number, boolean, object,
|
|
191
|
-
# array, etc.).
|
|
192
|
-
#
|
|
193
|
-
# @return [Hash{Symbol=>Object, nil}]
|
|
194
|
-
required :metadata,
|
|
195
|
-
FinchAPI::Internal::Type::HashOf[FinchAPI::Internal::Type::Unknown, nil?: true]
|
|
196
|
-
|
|
197
|
-
# @!method initialize(metadata:)
|
|
198
|
-
# Some parameter documentations has been truncated, see
|
|
199
|
-
# {FinchAPI::Models::HRIS::PayStatement::Earning::Attributes::Metadata} for more
|
|
200
|
-
# details.
|
|
201
|
-
#
|
|
202
|
-
# @param metadata [Hash{Symbol=>Object, nil}] The metadata to be attached to the entity by existing rules. It is a key-value p
|
|
203
|
-
end
|
|
188
|
+
# Some parameter documentations has been truncated, see
|
|
189
|
+
# {FinchAPI::Models::HRIS::PayStatement::Earning::Attributes} for more details.
|
|
190
|
+
#
|
|
191
|
+
# @param metadata [Hash{Symbol=>Object, nil}] The metadata to be attached to the entity by existing rules. It is a key-value p
|
|
204
192
|
end
|
|
205
193
|
end
|
|
206
194
|
|
|
@@ -256,31 +244,20 @@ module FinchAPI
|
|
|
256
244
|
# @see FinchAPI::Models::HRIS::PayStatement::EmployeeDeduction#attributes
|
|
257
245
|
class Attributes < FinchAPI::Internal::Type::BaseModel
|
|
258
246
|
# @!attribute metadata
|
|
247
|
+
# The metadata to be attached to the entity by existing rules. It is a key-value
|
|
248
|
+
# pairs where the values can be of any type (string, number, boolean, object,
|
|
249
|
+
# array, etc.).
|
|
259
250
|
#
|
|
260
|
-
# @return [
|
|
261
|
-
required :metadata,
|
|
251
|
+
# @return [Hash{Symbol=>Object, nil}]
|
|
252
|
+
required :metadata,
|
|
253
|
+
FinchAPI::Internal::Type::HashOf[FinchAPI::Internal::Type::Unknown, nil?: true]
|
|
262
254
|
|
|
263
255
|
# @!method initialize(metadata:)
|
|
264
|
-
#
|
|
265
|
-
|
|
266
|
-
#
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
# The metadata to be attached to the entity by existing rules. It is a key-value
|
|
270
|
-
# pairs where the values can be of any type (string, number, boolean, object,
|
|
271
|
-
# array, etc.).
|
|
272
|
-
#
|
|
273
|
-
# @return [Hash{Symbol=>Object, nil}]
|
|
274
|
-
required :metadata,
|
|
275
|
-
FinchAPI::Internal::Type::HashOf[FinchAPI::Internal::Type::Unknown, nil?: true]
|
|
276
|
-
|
|
277
|
-
# @!method initialize(metadata:)
|
|
278
|
-
# Some parameter documentations has been truncated, see
|
|
279
|
-
# {FinchAPI::Models::HRIS::PayStatement::EmployeeDeduction::Attributes::Metadata}
|
|
280
|
-
# for more details.
|
|
281
|
-
#
|
|
282
|
-
# @param metadata [Hash{Symbol=>Object, nil}] The metadata to be attached to the entity by existing rules. It is a key-value p
|
|
283
|
-
end
|
|
256
|
+
# Some parameter documentations has been truncated, see
|
|
257
|
+
# {FinchAPI::Models::HRIS::PayStatement::EmployeeDeduction::Attributes} for more
|
|
258
|
+
# details.
|
|
259
|
+
#
|
|
260
|
+
# @param metadata [Hash{Symbol=>Object, nil}] The metadata to be attached to the entity by existing rules. It is a key-value p
|
|
284
261
|
end
|
|
285
262
|
end
|
|
286
263
|
|
|
@@ -332,31 +309,20 @@ module FinchAPI
|
|
|
332
309
|
# @see FinchAPI::Models::HRIS::PayStatement::EmployerContribution#attributes
|
|
333
310
|
class Attributes < FinchAPI::Internal::Type::BaseModel
|
|
334
311
|
# @!attribute metadata
|
|
312
|
+
# The metadata to be attached to the entity by existing rules. It is a key-value
|
|
313
|
+
# pairs where the values can be of any type (string, number, boolean, object,
|
|
314
|
+
# array, etc.).
|
|
335
315
|
#
|
|
336
|
-
# @return [
|
|
337
|
-
required :metadata,
|
|
316
|
+
# @return [Hash{Symbol=>Object, nil}]
|
|
317
|
+
required :metadata,
|
|
318
|
+
FinchAPI::Internal::Type::HashOf[FinchAPI::Internal::Type::Unknown, nil?: true]
|
|
338
319
|
|
|
339
320
|
# @!method initialize(metadata:)
|
|
340
|
-
#
|
|
341
|
-
|
|
342
|
-
#
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
# The metadata to be attached to the entity by existing rules. It is a key-value
|
|
346
|
-
# pairs where the values can be of any type (string, number, boolean, object,
|
|
347
|
-
# array, etc.).
|
|
348
|
-
#
|
|
349
|
-
# @return [Hash{Symbol=>Object, nil}]
|
|
350
|
-
required :metadata,
|
|
351
|
-
FinchAPI::Internal::Type::HashOf[FinchAPI::Internal::Type::Unknown, nil?: true]
|
|
352
|
-
|
|
353
|
-
# @!method initialize(metadata:)
|
|
354
|
-
# Some parameter documentations has been truncated, see
|
|
355
|
-
# {FinchAPI::Models::HRIS::PayStatement::EmployerContribution::Attributes::Metadata}
|
|
356
|
-
# for more details.
|
|
357
|
-
#
|
|
358
|
-
# @param metadata [Hash{Symbol=>Object, nil}] The metadata to be attached to the entity by existing rules. It is a key-value p
|
|
359
|
-
end
|
|
321
|
+
# Some parameter documentations has been truncated, see
|
|
322
|
+
# {FinchAPI::Models::HRIS::PayStatement::EmployerContribution::Attributes} for
|
|
323
|
+
# more details.
|
|
324
|
+
#
|
|
325
|
+
# @param metadata [Hash{Symbol=>Object, nil}] The metadata to be attached to the entity by existing rules. It is a key-value p
|
|
360
326
|
end
|
|
361
327
|
end
|
|
362
328
|
|
|
@@ -441,31 +407,19 @@ module FinchAPI
|
|
|
441
407
|
# @see FinchAPI::Models::HRIS::PayStatement::Tax#attributes
|
|
442
408
|
class Attributes < FinchAPI::Internal::Type::BaseModel
|
|
443
409
|
# @!attribute metadata
|
|
410
|
+
# The metadata to be attached to the entity by existing rules. It is a key-value
|
|
411
|
+
# pairs where the values can be of any type (string, number, boolean, object,
|
|
412
|
+
# array, etc.).
|
|
444
413
|
#
|
|
445
|
-
# @return [
|
|
446
|
-
required :metadata,
|
|
414
|
+
# @return [Hash{Symbol=>Object, nil}]
|
|
415
|
+
required :metadata,
|
|
416
|
+
FinchAPI::Internal::Type::HashOf[FinchAPI::Internal::Type::Unknown, nil?: true]
|
|
447
417
|
|
|
448
418
|
# @!method initialize(metadata:)
|
|
449
|
-
#
|
|
450
|
-
|
|
451
|
-
#
|
|
452
|
-
|
|
453
|
-
# @!attribute metadata
|
|
454
|
-
# The metadata to be attached to the entity by existing rules. It is a key-value
|
|
455
|
-
# pairs where the values can be of any type (string, number, boolean, object,
|
|
456
|
-
# array, etc.).
|
|
457
|
-
#
|
|
458
|
-
# @return [Hash{Symbol=>Object, nil}]
|
|
459
|
-
required :metadata,
|
|
460
|
-
FinchAPI::Internal::Type::HashOf[FinchAPI::Internal::Type::Unknown, nil?: true]
|
|
461
|
-
|
|
462
|
-
# @!method initialize(metadata:)
|
|
463
|
-
# Some parameter documentations has been truncated, see
|
|
464
|
-
# {FinchAPI::Models::HRIS::PayStatement::Tax::Attributes::Metadata} for more
|
|
465
|
-
# details.
|
|
466
|
-
#
|
|
467
|
-
# @param metadata [Hash{Symbol=>Object, nil}] The metadata to be attached to the entity by existing rules. It is a key-value p
|
|
468
|
-
end
|
|
419
|
+
# Some parameter documentations has been truncated, see
|
|
420
|
+
# {FinchAPI::Models::HRIS::PayStatement::Tax::Attributes} for more details.
|
|
421
|
+
#
|
|
422
|
+
# @param metadata [Hash{Symbol=>Object, nil}] The metadata to be attached to the entity by existing rules. It is a key-value p
|
|
469
423
|
end
|
|
470
424
|
end
|
|
471
425
|
|
|
@@ -5,14 +5,14 @@ module FinchAPI
|
|
|
5
5
|
class AccessTokens
|
|
6
6
|
# Exchange the authorization code for an access token
|
|
7
7
|
#
|
|
8
|
-
# @overload create(
|
|
8
|
+
# @overload create(code:, client_id: nil, client_secret: nil, redirect_uri: nil, request_options: {})
|
|
9
|
+
#
|
|
10
|
+
# @param code [String] The authorization code received from the authorization server
|
|
9
11
|
#
|
|
10
12
|
# @param client_id [String] The client ID for your application
|
|
11
13
|
#
|
|
12
14
|
# @param client_secret [String] The client secret for your application
|
|
13
15
|
#
|
|
14
|
-
# @param code [String] The authorization code received from the authorization server
|
|
15
|
-
#
|
|
16
16
|
# @param redirect_uri [String] The redirect URI used in the authorization request (optional)
|
|
17
17
|
#
|
|
18
18
|
# @param request_options [FinchAPI::RequestOptions, Hash{Symbol=>Object}, nil]
|
data/lib/finch_api/version.rb
CHANGED
|
@@ -11,17 +11,23 @@ module FinchAPI
|
|
|
11
11
|
T.any(FinchAPI::AccessTokenCreateParams, FinchAPI::Internal::AnyHash)
|
|
12
12
|
end
|
|
13
13
|
|
|
14
|
-
# The
|
|
14
|
+
# The authorization code received from the authorization server
|
|
15
15
|
sig { returns(String) }
|
|
16
|
-
attr_accessor :
|
|
16
|
+
attr_accessor :code
|
|
17
|
+
|
|
18
|
+
# The client ID for your application
|
|
19
|
+
sig { returns(T.nilable(String)) }
|
|
20
|
+
attr_reader :client_id
|
|
21
|
+
|
|
22
|
+
sig { params(client_id: String).void }
|
|
23
|
+
attr_writer :client_id
|
|
17
24
|
|
|
18
25
|
# The client secret for your application
|
|
19
|
-
sig { returns(String) }
|
|
20
|
-
|
|
26
|
+
sig { returns(T.nilable(String)) }
|
|
27
|
+
attr_reader :client_secret
|
|
21
28
|
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
attr_accessor :code
|
|
29
|
+
sig { params(client_secret: String).void }
|
|
30
|
+
attr_writer :client_secret
|
|
25
31
|
|
|
26
32
|
# The redirect URI used in the authorization request (optional)
|
|
27
33
|
sig { returns(T.nilable(String)) }
|
|
@@ -32,20 +38,20 @@ module FinchAPI
|
|
|
32
38
|
|
|
33
39
|
sig do
|
|
34
40
|
params(
|
|
41
|
+
code: String,
|
|
35
42
|
client_id: String,
|
|
36
43
|
client_secret: String,
|
|
37
|
-
code: String,
|
|
38
44
|
redirect_uri: String,
|
|
39
45
|
request_options: FinchAPI::RequestOptions::OrHash
|
|
40
46
|
).returns(T.attached_class)
|
|
41
47
|
end
|
|
42
48
|
def self.new(
|
|
43
|
-
# The client ID for your application
|
|
44
|
-
client_id:,
|
|
45
|
-
# The client secret for your application
|
|
46
|
-
client_secret:,
|
|
47
49
|
# The authorization code received from the authorization server
|
|
48
50
|
code:,
|
|
51
|
+
# The client ID for your application
|
|
52
|
+
client_id: nil,
|
|
53
|
+
# The client secret for your application
|
|
54
|
+
client_secret: nil,
|
|
49
55
|
# The redirect URI used in the authorization request (optional)
|
|
50
56
|
redirect_uri: nil,
|
|
51
57
|
request_options: {}
|
|
@@ -55,9 +61,9 @@ module FinchAPI
|
|
|
55
61
|
sig do
|
|
56
62
|
override.returns(
|
|
57
63
|
{
|
|
64
|
+
code: String,
|
|
58
65
|
client_id: String,
|
|
59
66
|
client_secret: String,
|
|
60
|
-
code: String,
|
|
61
67
|
redirect_uri: String,
|
|
62
68
|
request_options: FinchAPI::RequestOptions
|
|
63
69
|
}
|
|
@@ -382,77 +382,32 @@ module FinchAPI
|
|
|
382
382
|
)
|
|
383
383
|
end
|
|
384
384
|
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
attr_reader :metadata
|
|
385
|
+
# The metadata to be attached to the entity by existing rules. It is a key-value
|
|
386
|
+
# pairs where the values can be of any type (string, number, boolean, object,
|
|
387
|
+
# array, etc.).
|
|
388
|
+
sig { returns(T::Hash[Symbol, T.nilable(T.anything)]) }
|
|
389
|
+
attr_accessor :metadata
|
|
391
390
|
|
|
392
391
|
sig do
|
|
393
|
-
params(
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
).void
|
|
397
|
-
end
|
|
398
|
-
attr_writer :metadata
|
|
399
|
-
|
|
400
|
-
sig do
|
|
401
|
-
params(
|
|
402
|
-
metadata:
|
|
403
|
-
FinchAPI::HRIS::PayStatement::Earning::Attributes::Metadata::OrHash
|
|
404
|
-
).returns(T.attached_class)
|
|
392
|
+
params(metadata: T::Hash[Symbol, T.nilable(T.anything)]).returns(
|
|
393
|
+
T.attached_class
|
|
394
|
+
)
|
|
405
395
|
end
|
|
406
|
-
def self.new(
|
|
396
|
+
def self.new(
|
|
397
|
+
# The metadata to be attached to the entity by existing rules. It is a key-value
|
|
398
|
+
# pairs where the values can be of any type (string, number, boolean, object,
|
|
399
|
+
# array, etc.).
|
|
400
|
+
metadata:
|
|
401
|
+
)
|
|
407
402
|
end
|
|
408
403
|
|
|
409
404
|
sig do
|
|
410
405
|
override.returns(
|
|
411
|
-
{
|
|
412
|
-
metadata:
|
|
413
|
-
FinchAPI::HRIS::PayStatement::Earning::Attributes::Metadata
|
|
414
|
-
}
|
|
406
|
+
{ metadata: T::Hash[Symbol, T.nilable(T.anything)] }
|
|
415
407
|
)
|
|
416
408
|
end
|
|
417
409
|
def to_hash
|
|
418
410
|
end
|
|
419
|
-
|
|
420
|
-
class Metadata < FinchAPI::Internal::Type::BaseModel
|
|
421
|
-
OrHash =
|
|
422
|
-
T.type_alias do
|
|
423
|
-
T.any(
|
|
424
|
-
FinchAPI::HRIS::PayStatement::Earning::Attributes::Metadata,
|
|
425
|
-
FinchAPI::Internal::AnyHash
|
|
426
|
-
)
|
|
427
|
-
end
|
|
428
|
-
|
|
429
|
-
# The metadata to be attached to the entity by existing rules. It is a key-value
|
|
430
|
-
# pairs where the values can be of any type (string, number, boolean, object,
|
|
431
|
-
# array, etc.).
|
|
432
|
-
sig { returns(T::Hash[Symbol, T.nilable(T.anything)]) }
|
|
433
|
-
attr_accessor :metadata
|
|
434
|
-
|
|
435
|
-
sig do
|
|
436
|
-
params(
|
|
437
|
-
metadata: T::Hash[Symbol, T.nilable(T.anything)]
|
|
438
|
-
).returns(T.attached_class)
|
|
439
|
-
end
|
|
440
|
-
def self.new(
|
|
441
|
-
# The metadata to be attached to the entity by existing rules. It is a key-value
|
|
442
|
-
# pairs where the values can be of any type (string, number, boolean, object,
|
|
443
|
-
# array, etc.).
|
|
444
|
-
metadata:
|
|
445
|
-
)
|
|
446
|
-
end
|
|
447
|
-
|
|
448
|
-
sig do
|
|
449
|
-
override.returns(
|
|
450
|
-
{ metadata: T::Hash[Symbol, T.nilable(T.anything)] }
|
|
451
|
-
)
|
|
452
|
-
end
|
|
453
|
-
def to_hash
|
|
454
|
-
end
|
|
455
|
-
end
|
|
456
411
|
end
|
|
457
412
|
end
|
|
458
413
|
|
|
@@ -559,77 +514,32 @@ module FinchAPI
|
|
|
559
514
|
)
|
|
560
515
|
end
|
|
561
516
|
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
attr_reader :metadata
|
|
517
|
+
# The metadata to be attached to the entity by existing rules. It is a key-value
|
|
518
|
+
# pairs where the values can be of any type (string, number, boolean, object,
|
|
519
|
+
# array, etc.).
|
|
520
|
+
sig { returns(T::Hash[Symbol, T.nilable(T.anything)]) }
|
|
521
|
+
attr_accessor :metadata
|
|
568
522
|
|
|
569
523
|
sig do
|
|
570
|
-
params(
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
).void
|
|
574
|
-
end
|
|
575
|
-
attr_writer :metadata
|
|
576
|
-
|
|
577
|
-
sig do
|
|
578
|
-
params(
|
|
579
|
-
metadata:
|
|
580
|
-
FinchAPI::HRIS::PayStatement::EmployeeDeduction::Attributes::Metadata::OrHash
|
|
581
|
-
).returns(T.attached_class)
|
|
524
|
+
params(metadata: T::Hash[Symbol, T.nilable(T.anything)]).returns(
|
|
525
|
+
T.attached_class
|
|
526
|
+
)
|
|
582
527
|
end
|
|
583
|
-
def self.new(
|
|
528
|
+
def self.new(
|
|
529
|
+
# The metadata to be attached to the entity by existing rules. It is a key-value
|
|
530
|
+
# pairs where the values can be of any type (string, number, boolean, object,
|
|
531
|
+
# array, etc.).
|
|
532
|
+
metadata:
|
|
533
|
+
)
|
|
584
534
|
end
|
|
585
535
|
|
|
586
536
|
sig do
|
|
587
537
|
override.returns(
|
|
588
|
-
{
|
|
589
|
-
metadata:
|
|
590
|
-
FinchAPI::HRIS::PayStatement::EmployeeDeduction::Attributes::Metadata
|
|
591
|
-
}
|
|
538
|
+
{ metadata: T::Hash[Symbol, T.nilable(T.anything)] }
|
|
592
539
|
)
|
|
593
540
|
end
|
|
594
541
|
def to_hash
|
|
595
542
|
end
|
|
596
|
-
|
|
597
|
-
class Metadata < FinchAPI::Internal::Type::BaseModel
|
|
598
|
-
OrHash =
|
|
599
|
-
T.type_alias do
|
|
600
|
-
T.any(
|
|
601
|
-
FinchAPI::HRIS::PayStatement::EmployeeDeduction::Attributes::Metadata,
|
|
602
|
-
FinchAPI::Internal::AnyHash
|
|
603
|
-
)
|
|
604
|
-
end
|
|
605
|
-
|
|
606
|
-
# The metadata to be attached to the entity by existing rules. It is a key-value
|
|
607
|
-
# pairs where the values can be of any type (string, number, boolean, object,
|
|
608
|
-
# array, etc.).
|
|
609
|
-
sig { returns(T::Hash[Symbol, T.nilable(T.anything)]) }
|
|
610
|
-
attr_accessor :metadata
|
|
611
|
-
|
|
612
|
-
sig do
|
|
613
|
-
params(
|
|
614
|
-
metadata: T::Hash[Symbol, T.nilable(T.anything)]
|
|
615
|
-
).returns(T.attached_class)
|
|
616
|
-
end
|
|
617
|
-
def self.new(
|
|
618
|
-
# The metadata to be attached to the entity by existing rules. It is a key-value
|
|
619
|
-
# pairs where the values can be of any type (string, number, boolean, object,
|
|
620
|
-
# array, etc.).
|
|
621
|
-
metadata:
|
|
622
|
-
)
|
|
623
|
-
end
|
|
624
|
-
|
|
625
|
-
sig do
|
|
626
|
-
override.returns(
|
|
627
|
-
{ metadata: T::Hash[Symbol, T.nilable(T.anything)] }
|
|
628
|
-
)
|
|
629
|
-
end
|
|
630
|
-
def to_hash
|
|
631
|
-
end
|
|
632
|
-
end
|
|
633
543
|
end
|
|
634
544
|
end
|
|
635
545
|
|
|
@@ -728,77 +638,32 @@ module FinchAPI
|
|
|
728
638
|
)
|
|
729
639
|
end
|
|
730
640
|
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
attr_reader :metadata
|
|
641
|
+
# The metadata to be attached to the entity by existing rules. It is a key-value
|
|
642
|
+
# pairs where the values can be of any type (string, number, boolean, object,
|
|
643
|
+
# array, etc.).
|
|
644
|
+
sig { returns(T::Hash[Symbol, T.nilable(T.anything)]) }
|
|
645
|
+
attr_accessor :metadata
|
|
737
646
|
|
|
738
647
|
sig do
|
|
739
|
-
params(
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
).void
|
|
743
|
-
end
|
|
744
|
-
attr_writer :metadata
|
|
745
|
-
|
|
746
|
-
sig do
|
|
747
|
-
params(
|
|
748
|
-
metadata:
|
|
749
|
-
FinchAPI::HRIS::PayStatement::EmployerContribution::Attributes::Metadata::OrHash
|
|
750
|
-
).returns(T.attached_class)
|
|
648
|
+
params(metadata: T::Hash[Symbol, T.nilable(T.anything)]).returns(
|
|
649
|
+
T.attached_class
|
|
650
|
+
)
|
|
751
651
|
end
|
|
752
|
-
def self.new(
|
|
652
|
+
def self.new(
|
|
653
|
+
# The metadata to be attached to the entity by existing rules. It is a key-value
|
|
654
|
+
# pairs where the values can be of any type (string, number, boolean, object,
|
|
655
|
+
# array, etc.).
|
|
656
|
+
metadata:
|
|
657
|
+
)
|
|
753
658
|
end
|
|
754
659
|
|
|
755
660
|
sig do
|
|
756
661
|
override.returns(
|
|
757
|
-
{
|
|
758
|
-
metadata:
|
|
759
|
-
FinchAPI::HRIS::PayStatement::EmployerContribution::Attributes::Metadata
|
|
760
|
-
}
|
|
662
|
+
{ metadata: T::Hash[Symbol, T.nilable(T.anything)] }
|
|
761
663
|
)
|
|
762
664
|
end
|
|
763
665
|
def to_hash
|
|
764
666
|
end
|
|
765
|
-
|
|
766
|
-
class Metadata < FinchAPI::Internal::Type::BaseModel
|
|
767
|
-
OrHash =
|
|
768
|
-
T.type_alias do
|
|
769
|
-
T.any(
|
|
770
|
-
FinchAPI::HRIS::PayStatement::EmployerContribution::Attributes::Metadata,
|
|
771
|
-
FinchAPI::Internal::AnyHash
|
|
772
|
-
)
|
|
773
|
-
end
|
|
774
|
-
|
|
775
|
-
# The metadata to be attached to the entity by existing rules. It is a key-value
|
|
776
|
-
# pairs where the values can be of any type (string, number, boolean, object,
|
|
777
|
-
# array, etc.).
|
|
778
|
-
sig { returns(T::Hash[Symbol, T.nilable(T.anything)]) }
|
|
779
|
-
attr_accessor :metadata
|
|
780
|
-
|
|
781
|
-
sig do
|
|
782
|
-
params(
|
|
783
|
-
metadata: T::Hash[Symbol, T.nilable(T.anything)]
|
|
784
|
-
).returns(T.attached_class)
|
|
785
|
-
end
|
|
786
|
-
def self.new(
|
|
787
|
-
# The metadata to be attached to the entity by existing rules. It is a key-value
|
|
788
|
-
# pairs where the values can be of any type (string, number, boolean, object,
|
|
789
|
-
# array, etc.).
|
|
790
|
-
metadata:
|
|
791
|
-
)
|
|
792
|
-
end
|
|
793
|
-
|
|
794
|
-
sig do
|
|
795
|
-
override.returns(
|
|
796
|
-
{ metadata: T::Hash[Symbol, T.nilable(T.anything)] }
|
|
797
|
-
)
|
|
798
|
-
end
|
|
799
|
-
def to_hash
|
|
800
|
-
end
|
|
801
|
-
end
|
|
802
667
|
end
|
|
803
668
|
end
|
|
804
669
|
|
|
@@ -980,75 +845,32 @@ module FinchAPI
|
|
|
980
845
|
)
|
|
981
846
|
end
|
|
982
847
|
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
848
|
+
# The metadata to be attached to the entity by existing rules. It is a key-value
|
|
849
|
+
# pairs where the values can be of any type (string, number, boolean, object,
|
|
850
|
+
# array, etc.).
|
|
851
|
+
sig { returns(T::Hash[Symbol, T.nilable(T.anything)]) }
|
|
852
|
+
attr_accessor :metadata
|
|
987
853
|
|
|
988
854
|
sig do
|
|
989
|
-
params(
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
).void
|
|
993
|
-
end
|
|
994
|
-
attr_writer :metadata
|
|
995
|
-
|
|
996
|
-
sig do
|
|
997
|
-
params(
|
|
998
|
-
metadata:
|
|
999
|
-
FinchAPI::HRIS::PayStatement::Tax::Attributes::Metadata::OrHash
|
|
1000
|
-
).returns(T.attached_class)
|
|
855
|
+
params(metadata: T::Hash[Symbol, T.nilable(T.anything)]).returns(
|
|
856
|
+
T.attached_class
|
|
857
|
+
)
|
|
1001
858
|
end
|
|
1002
|
-
def self.new(
|
|
859
|
+
def self.new(
|
|
860
|
+
# The metadata to be attached to the entity by existing rules. It is a key-value
|
|
861
|
+
# pairs where the values can be of any type (string, number, boolean, object,
|
|
862
|
+
# array, etc.).
|
|
863
|
+
metadata:
|
|
864
|
+
)
|
|
1003
865
|
end
|
|
1004
866
|
|
|
1005
867
|
sig do
|
|
1006
868
|
override.returns(
|
|
1007
|
-
{
|
|
1008
|
-
metadata:
|
|
1009
|
-
FinchAPI::HRIS::PayStatement::Tax::Attributes::Metadata
|
|
1010
|
-
}
|
|
869
|
+
{ metadata: T::Hash[Symbol, T.nilable(T.anything)] }
|
|
1011
870
|
)
|
|
1012
871
|
end
|
|
1013
872
|
def to_hash
|
|
1014
873
|
end
|
|
1015
|
-
|
|
1016
|
-
class Metadata < FinchAPI::Internal::Type::BaseModel
|
|
1017
|
-
OrHash =
|
|
1018
|
-
T.type_alias do
|
|
1019
|
-
T.any(
|
|
1020
|
-
FinchAPI::HRIS::PayStatement::Tax::Attributes::Metadata,
|
|
1021
|
-
FinchAPI::Internal::AnyHash
|
|
1022
|
-
)
|
|
1023
|
-
end
|
|
1024
|
-
|
|
1025
|
-
# The metadata to be attached to the entity by existing rules. It is a key-value
|
|
1026
|
-
# pairs where the values can be of any type (string, number, boolean, object,
|
|
1027
|
-
# array, etc.).
|
|
1028
|
-
sig { returns(T::Hash[Symbol, T.nilable(T.anything)]) }
|
|
1029
|
-
attr_accessor :metadata
|
|
1030
|
-
|
|
1031
|
-
sig do
|
|
1032
|
-
params(
|
|
1033
|
-
metadata: T::Hash[Symbol, T.nilable(T.anything)]
|
|
1034
|
-
).returns(T.attached_class)
|
|
1035
|
-
end
|
|
1036
|
-
def self.new(
|
|
1037
|
-
# The metadata to be attached to the entity by existing rules. It is a key-value
|
|
1038
|
-
# pairs where the values can be of any type (string, number, boolean, object,
|
|
1039
|
-
# array, etc.).
|
|
1040
|
-
metadata:
|
|
1041
|
-
)
|
|
1042
|
-
end
|
|
1043
|
-
|
|
1044
|
-
sig do
|
|
1045
|
-
override.returns(
|
|
1046
|
-
{ metadata: T::Hash[Symbol, T.nilable(T.anything)] }
|
|
1047
|
-
)
|
|
1048
|
-
end
|
|
1049
|
-
def to_hash
|
|
1050
|
-
end
|
|
1051
|
-
end
|
|
1052
874
|
end
|
|
1053
875
|
end
|
|
1054
876
|
|
|
@@ -6,20 +6,20 @@ module FinchAPI
|
|
|
6
6
|
# Exchange the authorization code for an access token
|
|
7
7
|
sig do
|
|
8
8
|
params(
|
|
9
|
+
code: String,
|
|
9
10
|
client_id: String,
|
|
10
11
|
client_secret: String,
|
|
11
|
-
code: String,
|
|
12
12
|
redirect_uri: String,
|
|
13
13
|
request_options: FinchAPI::RequestOptions::OrHash
|
|
14
14
|
).returns(FinchAPI::CreateAccessTokenResponse)
|
|
15
15
|
end
|
|
16
16
|
def create(
|
|
17
|
-
# The client ID for your application
|
|
18
|
-
client_id:,
|
|
19
|
-
# The client secret for your application
|
|
20
|
-
client_secret:,
|
|
21
17
|
# The authorization code received from the authorization server
|
|
22
18
|
code:,
|
|
19
|
+
# The client ID for your application
|
|
20
|
+
client_id: nil,
|
|
21
|
+
# The client secret for your application
|
|
22
|
+
client_secret: nil,
|
|
23
23
|
# The redirect URI used in the authorization request (optional)
|
|
24
24
|
redirect_uri: nil,
|
|
25
25
|
request_options: {}
|
|
@@ -2,9 +2,9 @@ module FinchAPI
|
|
|
2
2
|
module Models
|
|
3
3
|
type access_token_create_params =
|
|
4
4
|
{
|
|
5
|
+
code: String,
|
|
5
6
|
client_id: String,
|
|
6
7
|
client_secret: String,
|
|
7
|
-
code: String,
|
|
8
8
|
redirect_uri: String
|
|
9
9
|
}
|
|
10
10
|
& FinchAPI::Internal::Type::request_parameters
|
|
@@ -13,28 +13,32 @@ module FinchAPI
|
|
|
13
13
|
extend FinchAPI::Internal::Type::RequestParameters::Converter
|
|
14
14
|
include FinchAPI::Internal::Type::RequestParameters
|
|
15
15
|
|
|
16
|
-
attr_accessor
|
|
16
|
+
attr_accessor code: String
|
|
17
17
|
|
|
18
|
-
|
|
18
|
+
attr_reader client_id: String?
|
|
19
19
|
|
|
20
|
-
|
|
20
|
+
def client_id=: (String) -> String
|
|
21
|
+
|
|
22
|
+
attr_reader client_secret: String?
|
|
23
|
+
|
|
24
|
+
def client_secret=: (String) -> String
|
|
21
25
|
|
|
22
26
|
attr_reader redirect_uri: String?
|
|
23
27
|
|
|
24
28
|
def redirect_uri=: (String) -> String
|
|
25
29
|
|
|
26
30
|
def initialize: (
|
|
27
|
-
client_id: String,
|
|
28
|
-
client_secret: String,
|
|
29
31
|
code: String,
|
|
32
|
+
?client_id: String,
|
|
33
|
+
?client_secret: String,
|
|
30
34
|
?redirect_uri: String,
|
|
31
35
|
?request_options: FinchAPI::request_opts
|
|
32
36
|
) -> void
|
|
33
37
|
|
|
34
38
|
def to_hash: -> {
|
|
39
|
+
code: String,
|
|
35
40
|
client_id: String,
|
|
36
41
|
client_secret: String,
|
|
37
|
-
code: String,
|
|
38
42
|
redirect_uri: String,
|
|
39
43
|
request_options: FinchAPI::RequestOptions
|
|
40
44
|
}
|
|
@@ -138,31 +138,14 @@ module FinchAPI
|
|
|
138
138
|
def self?.values: -> ::Array[FinchAPI::Models::HRIS::PayStatement::Earning::type_]
|
|
139
139
|
end
|
|
140
140
|
|
|
141
|
-
type attributes =
|
|
142
|
-
{
|
|
143
|
-
metadata: FinchAPI::HRIS::PayStatement::Earning::Attributes::Metadata
|
|
144
|
-
}
|
|
141
|
+
type attributes = { metadata: ::Hash[Symbol, top?] }
|
|
145
142
|
|
|
146
143
|
class Attributes < FinchAPI::Internal::Type::BaseModel
|
|
147
|
-
attr_accessor metadata:
|
|
144
|
+
attr_accessor metadata: ::Hash[Symbol, top?]
|
|
148
145
|
|
|
149
|
-
def initialize: (
|
|
150
|
-
metadata: FinchAPI::HRIS::PayStatement::Earning::Attributes::Metadata
|
|
151
|
-
) -> void
|
|
146
|
+
def initialize: (metadata: ::Hash[Symbol, top?]) -> void
|
|
152
147
|
|
|
153
|
-
def to_hash: -> {
|
|
154
|
-
metadata: FinchAPI::HRIS::PayStatement::Earning::Attributes::Metadata
|
|
155
|
-
}
|
|
156
|
-
|
|
157
|
-
type metadata = { metadata: ::Hash[Symbol, top?] }
|
|
158
|
-
|
|
159
|
-
class Metadata < FinchAPI::Internal::Type::BaseModel
|
|
160
|
-
attr_accessor metadata: ::Hash[Symbol, top?]
|
|
161
|
-
|
|
162
|
-
def initialize: (metadata: ::Hash[Symbol, top?]) -> void
|
|
163
|
-
|
|
164
|
-
def to_hash: -> { metadata: ::Hash[Symbol, top?] }
|
|
165
|
-
end
|
|
148
|
+
def to_hash: -> { metadata: ::Hash[Symbol, top?] }
|
|
166
149
|
end
|
|
167
150
|
end
|
|
168
151
|
|
|
@@ -207,31 +190,14 @@ module FinchAPI
|
|
|
207
190
|
attributes: FinchAPI::HRIS::PayStatement::EmployeeDeduction::Attributes?
|
|
208
191
|
}
|
|
209
192
|
|
|
210
|
-
type attributes =
|
|
211
|
-
{
|
|
212
|
-
metadata: FinchAPI::HRIS::PayStatement::EmployeeDeduction::Attributes::Metadata
|
|
213
|
-
}
|
|
193
|
+
type attributes = { metadata: ::Hash[Symbol, top?] }
|
|
214
194
|
|
|
215
195
|
class Attributes < FinchAPI::Internal::Type::BaseModel
|
|
216
|
-
attr_accessor metadata:
|
|
217
|
-
|
|
218
|
-
def initialize: (
|
|
219
|
-
metadata: FinchAPI::HRIS::PayStatement::EmployeeDeduction::Attributes::Metadata
|
|
220
|
-
) -> void
|
|
221
|
-
|
|
222
|
-
def to_hash: -> {
|
|
223
|
-
metadata: FinchAPI::HRIS::PayStatement::EmployeeDeduction::Attributes::Metadata
|
|
224
|
-
}
|
|
225
|
-
|
|
226
|
-
type metadata = { metadata: ::Hash[Symbol, top?] }
|
|
227
|
-
|
|
228
|
-
class Metadata < FinchAPI::Internal::Type::BaseModel
|
|
229
|
-
attr_accessor metadata: ::Hash[Symbol, top?]
|
|
196
|
+
attr_accessor metadata: ::Hash[Symbol, top?]
|
|
230
197
|
|
|
231
|
-
|
|
198
|
+
def initialize: (metadata: ::Hash[Symbol, top?]) -> void
|
|
232
199
|
|
|
233
|
-
|
|
234
|
-
end
|
|
200
|
+
def to_hash: -> { metadata: ::Hash[Symbol, top?] }
|
|
235
201
|
end
|
|
236
202
|
end
|
|
237
203
|
|
|
@@ -271,31 +237,14 @@ module FinchAPI
|
|
|
271
237
|
attributes: FinchAPI::HRIS::PayStatement::EmployerContribution::Attributes?
|
|
272
238
|
}
|
|
273
239
|
|
|
274
|
-
type attributes =
|
|
275
|
-
{
|
|
276
|
-
metadata: FinchAPI::HRIS::PayStatement::EmployerContribution::Attributes::Metadata
|
|
277
|
-
}
|
|
240
|
+
type attributes = { metadata: ::Hash[Symbol, top?] }
|
|
278
241
|
|
|
279
242
|
class Attributes < FinchAPI::Internal::Type::BaseModel
|
|
280
|
-
attr_accessor metadata:
|
|
243
|
+
attr_accessor metadata: ::Hash[Symbol, top?]
|
|
281
244
|
|
|
282
|
-
def initialize: (
|
|
283
|
-
metadata: FinchAPI::HRIS::PayStatement::EmployerContribution::Attributes::Metadata
|
|
284
|
-
) -> void
|
|
245
|
+
def initialize: (metadata: ::Hash[Symbol, top?]) -> void
|
|
285
246
|
|
|
286
|
-
def to_hash: -> {
|
|
287
|
-
metadata: FinchAPI::HRIS::PayStatement::EmployerContribution::Attributes::Metadata
|
|
288
|
-
}
|
|
289
|
-
|
|
290
|
-
type metadata = { metadata: ::Hash[Symbol, top?] }
|
|
291
|
-
|
|
292
|
-
class Metadata < FinchAPI::Internal::Type::BaseModel
|
|
293
|
-
attr_accessor metadata: ::Hash[Symbol, top?]
|
|
294
|
-
|
|
295
|
-
def initialize: (metadata: ::Hash[Symbol, top?]) -> void
|
|
296
|
-
|
|
297
|
-
def to_hash: -> { metadata: ::Hash[Symbol, top?] }
|
|
298
|
-
end
|
|
247
|
+
def to_hash: -> { metadata: ::Hash[Symbol, top?] }
|
|
299
248
|
end
|
|
300
249
|
end
|
|
301
250
|
|
|
@@ -365,31 +314,14 @@ module FinchAPI
|
|
|
365
314
|
def self?.values: -> ::Array[FinchAPI::Models::HRIS::PayStatement::Tax::type_]
|
|
366
315
|
end
|
|
367
316
|
|
|
368
|
-
type attributes =
|
|
369
|
-
{
|
|
370
|
-
metadata: FinchAPI::HRIS::PayStatement::Tax::Attributes::Metadata
|
|
371
|
-
}
|
|
317
|
+
type attributes = { metadata: ::Hash[Symbol, top?] }
|
|
372
318
|
|
|
373
319
|
class Attributes < FinchAPI::Internal::Type::BaseModel
|
|
374
|
-
attr_accessor metadata:
|
|
375
|
-
|
|
376
|
-
def initialize: (
|
|
377
|
-
metadata: FinchAPI::HRIS::PayStatement::Tax::Attributes::Metadata
|
|
378
|
-
) -> void
|
|
379
|
-
|
|
380
|
-
def to_hash: -> {
|
|
381
|
-
metadata: FinchAPI::HRIS::PayStatement::Tax::Attributes::Metadata
|
|
382
|
-
}
|
|
383
|
-
|
|
384
|
-
type metadata = { metadata: ::Hash[Symbol, top?] }
|
|
385
|
-
|
|
386
|
-
class Metadata < FinchAPI::Internal::Type::BaseModel
|
|
387
|
-
attr_accessor metadata: ::Hash[Symbol, top?]
|
|
320
|
+
attr_accessor metadata: ::Hash[Symbol, top?]
|
|
388
321
|
|
|
389
|
-
|
|
322
|
+
def initialize: (metadata: ::Hash[Symbol, top?]) -> void
|
|
390
323
|
|
|
391
|
-
|
|
392
|
-
end
|
|
324
|
+
def to_hash: -> { metadata: ::Hash[Symbol, top?] }
|
|
393
325
|
end
|
|
394
326
|
end
|
|
395
327
|
|
|
@@ -2,9 +2,9 @@ module FinchAPI
|
|
|
2
2
|
module Resources
|
|
3
3
|
class AccessTokens
|
|
4
4
|
def create: (
|
|
5
|
-
client_id: String,
|
|
6
|
-
client_secret: String,
|
|
7
5
|
code: String,
|
|
6
|
+
?client_id: String,
|
|
7
|
+
?client_secret: String,
|
|
8
8
|
?redirect_uri: String,
|
|
9
9
|
?request_options: FinchAPI::request_opts
|
|
10
10
|
) -> FinchAPI::CreateAccessTokenResponse
|
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.30
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Finch
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2025-09-
|
|
11
|
+
date: 2025-09-16 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: connection_pool
|