Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "0.1.0-alpha.2"
".": "0.1.0-alpha.3"
}
4 changes: 3 additions & 1 deletion .stats.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
configured_endpoints: 41
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/finch%2Ffinch-69819ddc6d03624ee8d880317fca03afab50a0a843218f1d9f14616e8a003dad.yml
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/finch%2Ffinch-63d6857158c2634529b468b53df0b9c02f42d6f9783399939a38986e3137a86f.yml
openapi_spec_hash: 2c3aea6ae3e0a3dd7ac65c25b8fdc24d
config_hash: 8303e755d3e16cf28542d5f0aec83851
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
# Changelog

## 0.1.0-alpha.3 (2025-03-27)

Full Changelog: [v0.1.0-alpha.2...v0.1.0-alpha.3](https://github.com/Finch-API/finch-api-ruby/compare/v0.1.0-alpha.2...v0.1.0-alpha.3)

### Features

* **api:** api update ([#73](https://github.com/Finch-API/finch-api-ruby/issues/73)) ([425d0dc](https://github.com/Finch-API/finch-api-ruby/commit/425d0dc12f2a7d5460eb2141eb7e616a96db6ef5))


### Chores

* **internal:** version bump ([#70](https://github.com/Finch-API/finch-api-ruby/issues/70)) ([36c3b7e](https://github.com/Finch-API/finch-api-ruby/commit/36c3b7eb4f2d332351e23b41707c871b44fa064d))
* more aggressive tapioca detection logic for skipping compiler introspection ([#72](https://github.com/Finch-API/finch-api-ruby/issues/72)) ([20b843f](https://github.com/Finch-API/finch-api-ruby/commit/20b843f39d94b09c124db19abf6e931017cdef58))

## 0.1.0-alpha.2 (2025-03-25)

Full Changelog: [v0.1.0-alpha.1...v0.1.0-alpha.2](https://github.com/Finch-API/finch-api-ruby/compare/v0.1.0-alpha.1...v0.1.0-alpha.2)
Expand Down
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ GIT
PATH
remote: .
specs:
finch-api (0.1.0.pre.alpha.2)
finch-api (0.1.0.pre.alpha.3)
connection_pool

GEM
Expand Down
2 changes: 1 addition & 1 deletion lib/finch-api.rb
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# frozen_string_literal: true

Check warning on line 1 in lib/finch-api.rb

View workflow job for this annotation

GitHub Actions / lint

Naming/FileName: The name of this source file (`finch-api.rb`) should use snake_case.

# We already ship the preferred sorbet manifests in the package itself.
# `tapioca` currently does not offer us a way to opt out of unnecessary compilation.
if Object.const_defined?(:Tapioca) && caller_locations.any? { _1.path.end_with?("tapioca/cli.rb") }
if Object.const_defined?(:Tapioca) && caller.chain([$0]).chain(ARGV).grep(/tapioca/)

Check warning on line 5 in lib/finch-api.rb

View workflow job for this annotation

GitHub Actions / lint

Style/SpecialGlobalVars: Prefer `$PROGRAM_NAME` over `$0`.
Warning.warn(
<<~WARN
\n
Expand Down
10 changes: 3 additions & 7 deletions lib/finch-api/models/sandbox/directory_create_params.rb
Original file line number Diff line number Diff line change
Expand Up @@ -495,14 +495,10 @@ class Manager < FinchAPI::BaseModel
end

class PhoneNumber < FinchAPI::BaseModel
# @!attribute [r] data
# @!attribute data
#
# @return [String, nil]
optional :data, String

# @!parse
# # @return [String]
# attr_writer :data
optional :data, String, nil?: true

# @!attribute type
#
Expand All @@ -512,7 +508,7 @@ class PhoneNumber < FinchAPI::BaseModel
nil?: true

# @!parse
# # @param data [String]
# # @param data [String, nil]
# # @param type [Symbol, FinchAPI::Models::Sandbox::DirectoryCreateParams::Body::PhoneNumber::Type, nil]
# #
# def initialize(data: nil, type: nil, **) = super
Expand Down
10 changes: 3 additions & 7 deletions lib/finch-api/models/sandbox/individual_update_params.rb
Original file line number Diff line number Diff line change
Expand Up @@ -195,14 +195,10 @@ module Gender
end

class PhoneNumber < FinchAPI::BaseModel
# @!attribute [r] data
# @!attribute data
#
# @return [String, nil]
optional :data, String

# @!parse
# # @return [String]
# attr_writer :data
optional :data, String, nil?: true

# @!attribute type
#
Expand All @@ -212,7 +208,7 @@ class PhoneNumber < FinchAPI::BaseModel
nil?: true

# @!parse
# # @param data [String]
# # @param data [String, nil]
# # @param type [Symbol, FinchAPI::Models::Sandbox::IndividualUpdateParams::PhoneNumber::Type, nil]
# #
# def initialize(data: nil, type: nil, **) = super
Expand Down
10 changes: 3 additions & 7 deletions lib/finch-api/models/sandbox/individual_update_response.rb
Original file line number Diff line number Diff line change
Expand Up @@ -203,14 +203,10 @@ module Gender
end

class PhoneNumber < FinchAPI::BaseModel
# @!attribute [r] data
# @!attribute data
#
# @return [String, nil]
optional :data, String

# @!parse
# # @return [String]
# attr_writer :data
optional :data, String, nil?: true

# @!attribute type
#
Expand All @@ -220,7 +216,7 @@ class PhoneNumber < FinchAPI::BaseModel
nil?: true

# @!parse
# # @param data [String]
# # @param data [String, nil]
# # @param type [Symbol, FinchAPI::Models::Sandbox::IndividualUpdateResponse::PhoneNumber::Type, nil]
# #
# def initialize(data: nil, type: nil, **) = super
Expand Down
2 changes: 1 addition & 1 deletion lib/finch-api/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# frozen_string_literal: true

module FinchAPI
VERSION = "0.1.0-alpha.2"
VERSION = "0.1.0-alpha.3"
end
Original file line number Diff line number Diff line change
Expand Up @@ -619,17 +619,14 @@ module FinchAPI

class PhoneNumber < FinchAPI::BaseModel
sig { returns(T.nilable(String)) }
attr_reader :data

sig { params(data: String).void }
attr_writer :data
attr_accessor :data

sig { returns(T.nilable(FinchAPI::Models::Sandbox::DirectoryCreateParams::Body::PhoneNumber::Type::OrSymbol)) }
attr_accessor :type

sig do
params(
data: String,
data: T.nilable(String),
type: T.nilable(FinchAPI::Models::Sandbox::DirectoryCreateParams::Body::PhoneNumber::Type::OrSymbol)
)
.returns(T.attached_class)
Expand All @@ -641,7 +638,7 @@ module FinchAPI
override
.returns(
{
data: String,
data: T.nilable(String),
type: T.nilable(FinchAPI::Models::Sandbox::DirectoryCreateParams::Body::PhoneNumber::Type::OrSymbol)
}
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -226,17 +226,14 @@ module FinchAPI

class PhoneNumber < FinchAPI::BaseModel
sig { returns(T.nilable(String)) }
attr_reader :data

sig { params(data: String).void }
attr_writer :data
attr_accessor :data

sig { returns(T.nilable(FinchAPI::Models::Sandbox::IndividualUpdateParams::PhoneNumber::Type::OrSymbol)) }
attr_accessor :type

sig do
params(
data: String,
data: T.nilable(String),
type: T.nilable(FinchAPI::Models::Sandbox::IndividualUpdateParams::PhoneNumber::Type::OrSymbol)
)
.returns(T.attached_class)
Expand All @@ -248,7 +245,7 @@ module FinchAPI
override
.returns(
{
data: String,
data: T.nilable(String),
type: T.nilable(FinchAPI::Models::Sandbox::IndividualUpdateParams::PhoneNumber::Type::OrSymbol)
}
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -239,17 +239,14 @@ module FinchAPI

class PhoneNumber < FinchAPI::BaseModel
sig { returns(T.nilable(String)) }
attr_reader :data

sig { params(data: String).void }
attr_writer :data
attr_accessor :data

sig { returns(T.nilable(FinchAPI::Models::Sandbox::IndividualUpdateResponse::PhoneNumber::Type::TaggedSymbol)) }
attr_accessor :type

sig do
params(
data: String,
data: T.nilable(String),
type: T.nilable(FinchAPI::Models::Sandbox::IndividualUpdateResponse::PhoneNumber::Type::OrSymbol)
)
.returns(T.attached_class)
Expand All @@ -261,7 +258,7 @@ module FinchAPI
override
.returns(
{
data: String,
data: T.nilable(String),
type: T.nilable(FinchAPI::Models::Sandbox::IndividualUpdateResponse::PhoneNumber::Type::TaggedSymbol)
}
)
Expand Down
2 changes: 1 addition & 1 deletion rbi/lib/finch-api/version.rbi
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# typed: strong

module FinchAPI
VERSION = "0.1.0-alpha.2"
VERSION = "0.1.0-alpha.3"
end
8 changes: 3 additions & 5 deletions sig/finch-api/models/sandbox/directory_create_params.rbs
Original file line number Diff line number Diff line change
Expand Up @@ -330,19 +330,17 @@ module FinchAPI

type phone_number =
{
data: String,
data: String?,
type: FinchAPI::Models::Sandbox::DirectoryCreateParams::Body::PhoneNumber::type_?
}

class PhoneNumber < FinchAPI::BaseModel
attr_reader data: String?

def data=: (String) -> String
attr_accessor data: String?

attr_accessor type: FinchAPI::Models::Sandbox::DirectoryCreateParams::Body::PhoneNumber::type_?

def initialize: (
?data: String,
?data: String?,
?type: FinchAPI::Models::Sandbox::DirectoryCreateParams::Body::PhoneNumber::type_?
) -> void

Expand Down
8 changes: 3 additions & 5 deletions sig/finch-api/models/sandbox/individual_update_params.rbs
Original file line number Diff line number Diff line change
Expand Up @@ -136,19 +136,17 @@ module FinchAPI

type phone_number =
{
data: String,
data: String?,
type: FinchAPI::Models::Sandbox::IndividualUpdateParams::PhoneNumber::type_?
}

class PhoneNumber < FinchAPI::BaseModel
attr_reader data: String?

def data=: (String) -> String
attr_accessor data: String?

attr_accessor type: FinchAPI::Models::Sandbox::IndividualUpdateParams::PhoneNumber::type_?

def initialize: (
?data: String,
?data: String?,
?type: FinchAPI::Models::Sandbox::IndividualUpdateParams::PhoneNumber::type_?
) -> void

Expand Down
8 changes: 3 additions & 5 deletions sig/finch-api/models/sandbox/individual_update_response.rbs
Original file line number Diff line number Diff line change
Expand Up @@ -137,19 +137,17 @@ module FinchAPI

type phone_number =
{
data: String,
data: String?,
type: FinchAPI::Models::Sandbox::IndividualUpdateResponse::PhoneNumber::type_?
}

class PhoneNumber < FinchAPI::BaseModel
attr_reader data: String?

def data=: (String) -> String
attr_accessor data: String?

attr_accessor type: FinchAPI::Models::Sandbox::IndividualUpdateResponse::PhoneNumber::type_?

def initialize: (
?data: String,
?data: String?,
?type: FinchAPI::Models::Sandbox::IndividualUpdateResponse::PhoneNumber::type_?
) -> void

Expand Down
2 changes: 1 addition & 1 deletion sig/finch-api/version.rbs
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module FinchAPI
VERSION: "0.1.0-alpha.1"
VERSION: "0.1.0-alpha.2"
end
Loading