finch-api 0.1.0.pre.alpha.53 → 0.1.0.pre.alpha.54

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: e0d9261f34506bfef4ca99dc81cb63d8f50725777bd384079bcea8fac1739b3c
4
- data.tar.gz: '0109404f9138252e1ffc5454dcee408699f4e6f46efc8b52c510a8d746ddafcf'
3
+ metadata.gz: '09f014da905e0e290ed59175e8a7456c895231d3871ec21a35f45fcb4c2ca18c'
4
+ data.tar.gz: d6ead7abe771311ed1c782516cae253037ac495b72c38d7c62adb99bb49ed3e2
5
5
  SHA512:
6
- metadata.gz: 396a988d943b86e32bc28e6b2a6b7b5cfaf10993e08a2fa0cd8c7447f910f273d201ca2bb8c3b8fcb8618f8c04c68b6a4e7b517e941c9805af98771897e682d8
7
- data.tar.gz: ce82d17d00d395a98fa9ae2ee12c9d2e0f600091b5e3e8c59cd3d9e7590b2db1f97c23583bf90070b630e377b18f54b6b04913d6d6f0479d97d634d57de2a816
6
+ metadata.gz: 88a48608534d0a2a0d466be983cfcb71d874f5c79c3e4e752e9c6e68258db06ef00333eaf9c0d8006b899e1f0b9359d6a8de743aa60e10d39496ee9fcceb6f1c
7
+ data.tar.gz: 47322e69f16dfc22ebd4b4b2e00fe96f2ecd5a53a5e4f79f7f2a31515bd8b584e8dfdf9925d4636b852a806edca24c1a469049f8f76a426a099040c2f736ea74
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.1.0-alpha.54 (2026-08-07)
4
+
5
+ Full Changelog: [v0.1.0-alpha.53...v0.1.0-alpha.54](https://github.com/Finch-API/finch-api-ruby/compare/v0.1.0-alpha.53...v0.1.0-alpha.54)
6
+
7
+ ### Features
8
+
9
+ * **api:** api update ([49620bb](https://github.com/Finch-API/finch-api-ruby/commit/49620bb6a71aaa6bce7078c57020f36c63f2a778))
10
+
3
11
  ## 0.1.0-alpha.53 (2026-08-07)
4
12
 
5
13
  Full Changelog: [v0.1.0-alpha.52...v0.1.0-alpha.53](https://github.com/Finch-API/finch-api-ruby/compare/v0.1.0-alpha.52...v0.1.0-alpha.53)
data/README.md CHANGED
@@ -26,7 +26,7 @@ To use this gem, install via Bundler by adding the following to your application
26
26
  <!-- x-release-please-start-version -->
27
27
 
28
28
  ```ruby
29
- gem "finch-api", "~> 0.1.0.pre.alpha.53"
29
+ gem "finch-api", "~> 0.1.0.pre.alpha.54"
30
30
  ```
31
31
 
32
32
  <!-- x-release-please-end -->
@@ -21,11 +21,6 @@ module FinchAPI
21
21
  required :authentication_type,
22
22
  enum: -> { FinchAPI::Models::Sandbox::ConnectionCreateResponse::AuthenticationType }
23
23
 
24
- # @!attribute company_id
25
- #
26
- # @return [String, nil]
27
- required :company_id, String, nil?: true
28
-
29
24
  # @!attribute connection_id
30
25
  #
31
26
  # @return [String]
@@ -51,16 +46,21 @@ module FinchAPI
51
46
  # @return [String]
52
47
  required :token_type, String
53
48
 
54
- # @!method initialize(access_token:, account_id:, authentication_type:, company_id:, connection_id:, entity_id:, products:, provider_id:, token_type:)
49
+ # @!attribute company_id
50
+ #
51
+ # @return [String, nil]
52
+ optional :company_id, String, nil?: true
53
+
54
+ # @!method initialize(access_token:, account_id:, authentication_type:, connection_id:, entity_id:, products:, provider_id:, token_type:, company_id: nil)
55
55
  # @param access_token [String]
56
56
  # @param account_id [String]
57
57
  # @param authentication_type [Symbol, FinchAPI::Models::Sandbox::ConnectionCreateResponse::AuthenticationType]
58
- # @param company_id [String, nil]
59
58
  # @param connection_id [String]
60
59
  # @param entity_id [String]
61
60
  # @param products [Array<String>]
62
61
  # @param provider_id [String]
63
62
  # @param token_type [String]
63
+ # @param company_id [String, nil]
64
64
 
65
65
  # @see FinchAPI::Models::Sandbox::ConnectionCreateResponse#authentication_type
66
66
  module AuthenticationType
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module FinchAPI
4
- VERSION = "0.1.0.pre.alpha.53"
4
+ VERSION = "0.1.0.pre.alpha.54"
5
5
  end
@@ -25,9 +25,6 @@ module FinchAPI
25
25
  end
26
26
  attr_accessor :authentication_type
27
27
 
28
- sig { returns(T.nilable(String)) }
29
- attr_accessor :company_id
30
-
31
28
  sig { returns(String) }
32
29
  attr_accessor :connection_id
33
30
 
@@ -43,30 +40,33 @@ module FinchAPI
43
40
  sig { returns(String) }
44
41
  attr_accessor :token_type
45
42
 
43
+ sig { returns(T.nilable(String)) }
44
+ attr_accessor :company_id
45
+
46
46
  sig do
47
47
  params(
48
48
  access_token: String,
49
49
  account_id: String,
50
50
  authentication_type:
51
51
  FinchAPI::Models::Sandbox::ConnectionCreateResponse::AuthenticationType::OrSymbol,
52
- company_id: T.nilable(String),
53
52
  connection_id: String,
54
53
  entity_id: String,
55
54
  products: T::Array[String],
56
55
  provider_id: String,
57
- token_type: String
56
+ token_type: String,
57
+ company_id: T.nilable(String)
58
58
  ).returns(T.attached_class)
59
59
  end
60
60
  def self.new(
61
61
  access_token:,
62
62
  account_id:,
63
63
  authentication_type:,
64
- company_id:,
65
64
  connection_id:,
66
65
  entity_id:,
67
66
  products:,
68
67
  provider_id:,
69
- token_type:
68
+ token_type:,
69
+ company_id: nil
70
70
  )
71
71
  end
72
72
 
@@ -77,12 +77,12 @@ module FinchAPI
77
77
  account_id: String,
78
78
  authentication_type:
79
79
  FinchAPI::Models::Sandbox::ConnectionCreateResponse::AuthenticationType::TaggedSymbol,
80
- company_id: T.nilable(String),
81
80
  connection_id: String,
82
81
  entity_id: String,
83
82
  products: T::Array[String],
84
83
  provider_id: String,
85
- token_type: String
84
+ token_type: String,
85
+ company_id: T.nilable(String)
86
86
  }
87
87
  )
88
88
  end
@@ -6,12 +6,12 @@ module FinchAPI
6
6
  access_token: String,
7
7
  account_id: String,
8
8
  authentication_type: FinchAPI::Models::Sandbox::ConnectionCreateResponse::authentication_type,
9
- company_id: String?,
10
9
  connection_id: String,
11
10
  entity_id: String,
12
11
  products: ::Array[String],
13
12
  provider_id: String,
14
- token_type: String
13
+ token_type: String,
14
+ company_id: String?
15
15
  }
16
16
 
17
17
  class ConnectionCreateResponse < FinchAPI::Internal::Type::BaseModel
@@ -21,8 +21,6 @@ module FinchAPI
21
21
 
22
22
  attr_accessor authentication_type: FinchAPI::Models::Sandbox::ConnectionCreateResponse::authentication_type
23
23
 
24
- attr_accessor company_id: String?
25
-
26
24
  attr_accessor connection_id: String
27
25
 
28
26
  attr_accessor entity_id: String
@@ -33,28 +31,30 @@ module FinchAPI
33
31
 
34
32
  attr_accessor token_type: String
35
33
 
34
+ attr_accessor company_id: String?
35
+
36
36
  def initialize: (
37
37
  access_token: String,
38
38
  account_id: String,
39
39
  authentication_type: FinchAPI::Models::Sandbox::ConnectionCreateResponse::authentication_type,
40
- company_id: String?,
41
40
  connection_id: String,
42
41
  entity_id: String,
43
42
  products: ::Array[String],
44
43
  provider_id: String,
45
- token_type: String
44
+ token_type: String,
45
+ ?company_id: String?
46
46
  ) -> void
47
47
 
48
48
  def to_hash: -> {
49
49
  access_token: String,
50
50
  account_id: String,
51
51
  authentication_type: FinchAPI::Models::Sandbox::ConnectionCreateResponse::authentication_type,
52
- company_id: String?,
53
52
  connection_id: String,
54
53
  entity_id: String,
55
54
  products: ::Array[String],
56
55
  provider_id: String,
57
- token_type: String
56
+ token_type: String,
57
+ company_id: String?
58
58
  }
59
59
 
60
60
  type authentication_type = :api_token | :assisted | :credential | :oauth
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.53
4
+ version: 0.1.0.pre.alpha.54
5
5
  platform: ruby
6
6
  authors:
7
7
  - Finch
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-08-07 00:00:00.000000000 Z
11
+ date: 2026-08-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cgi