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
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
8 changes: 4 additions & 4 deletions .fern/metadata.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"cliVersion": "5.50.0",
"generatorName": "fernapi/fern-ruby-sdk",
"generatorVersion": "1.39.2",
"generatorVersion": "1.40.4",
"generatorConfig": {
"module": "SchematicHQ",
"rubocopVariableNumberStyle": "disabled",
Expand All @@ -13,10 +13,10 @@
"webrick": ">= 1.0"
}
},
"originGitCommit": "9c3d404a6ed3ff63811ecbef9e2814ea8607f22d",
"originGitCommit": "e6a4fb2c8313262a81b70c5f06e15eaeb196abba",
"originGitCommitIsDirty": false,
"invokedBy": "ci",
"requestedVersion": "1.5.6",
"requestedVersion": "1.5.7",
"ciProvider": "github",
"sdkVersion": "1.5.6"
"sdkVersion": "1.5.7"
}
8 changes: 7 additions & 1 deletion .fern/replay.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2,072 changes: 1,100 additions & 972 deletions lib/schematic.rb

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# frozen_string_literal: true

require_relative "../../../schematic"

module Schematic
module Accesstokens
module Types
Expand Down
6 changes: 6 additions & 0 deletions lib/schematic/accounts/client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -340,6 +340,7 @@ def count_api_keys(request_options: {}, **params)
# @option request_options [Hash{String => Object}] :additional_body_parameters
# @option request_options [Integer] :timeout_in_seconds
# @option params [Schematic::Types::ActorType, nil] :actor_type
# @option params [String, nil] :company_id
# @option params [String, nil] :end_time
# @option params [String, nil] :environment_id
# @option params [String, nil] :q
Expand All @@ -350,6 +351,7 @@ def count_api_keys(request_options: {}, **params)
# @example
# client.accounts.list_audit_logs(
# actor_type: "api_key",
# company_id: "company_id",
# end_time: "2024-01-15T09:30:00Z",
# environment_id: "environment_id",
# q: "q",
Expand All @@ -363,6 +365,7 @@ def list_audit_logs(request_options: {}, **params)
params = Schematic::Internal::Types::Utils.normalize_keys(params)
query_params = {}
query_params["actor_type"] = params[:actor_type] if params.key?(:actor_type)
query_params["company_id"] = params[:company_id] if params.key?(:company_id)
query_params["end_time"] = params[:end_time] if params.key?(:end_time)
query_params["environment_id"] = params[:environment_id] if params.key?(:environment_id)
query_params["q"] = params[:q] if params.key?(:q)
Expand Down Expand Up @@ -449,6 +452,7 @@ def get_audit_log(request_options: {}, **params)
# @option request_options [Hash{String => Object}] :additional_body_parameters
# @option request_options [Integer] :timeout_in_seconds
# @option params [Schematic::Types::ActorType, nil] :actor_type
# @option params [String, nil] :company_id
# @option params [String, nil] :end_time
# @option params [String, nil] :environment_id
# @option params [String, nil] :q
Expand All @@ -459,6 +463,7 @@ def get_audit_log(request_options: {}, **params)
# @example
# client.accounts.count_audit_logs(
# actor_type: "api_key",
# company_id: "company_id",
# end_time: "2024-01-15T09:30:00Z",
# environment_id: "environment_id",
# q: "q",
Expand All @@ -472,6 +477,7 @@ def count_audit_logs(request_options: {}, **params)
params = Schematic::Internal::Types::Utils.normalize_keys(params)
query_params = {}
query_params["actor_type"] = params[:actor_type] if params.key?(:actor_type)
query_params["company_id"] = params[:company_id] if params.key?(:company_id)
query_params["end_time"] = params[:end_time] if params.key?(:end_time)
query_params["environment_id"] = params[:environment_id] if params.key?(:environment_id)
query_params["q"] = params[:q] if params.key?(:q)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# frozen_string_literal: true

require_relative "../../../schematic"

module Schematic
module Accounts
module Types
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# frozen_string_literal: true

require_relative "../../../schematic"

module Schematic
module Accounts
module Types
Expand Down
2 changes: 2 additions & 0 deletions lib/schematic/accounts/types/count_api_keys_params.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# frozen_string_literal: true

require_relative "../../../schematic"

module Schematic
module Accounts
module Types
Expand Down
2 changes: 2 additions & 0 deletions lib/schematic/accounts/types/count_api_keys_response.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# frozen_string_literal: true

require_relative "../../../schematic"

module Schematic
module Accounts
module Types
Expand Down
4 changes: 4 additions & 0 deletions lib/schematic/accounts/types/count_audit_logs_params.rb
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
# frozen_string_literal: true

require_relative "../../../schematic"

module Schematic
module Accounts
module Types
# Input parameters
class CountAuditLogsParams < Internal::Types::Model
field :actor_type, -> { Schematic::Types::ActorType }, optional: true, nullable: false

field :company_id, -> { String }, optional: true, nullable: false

field :end_time, -> { String }, optional: true, nullable: false

field :environment_id, -> { String }, optional: true, nullable: false
Expand Down
2 changes: 2 additions & 0 deletions lib/schematic/accounts/types/count_audit_logs_request.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ module Types
class CountAuditLogsRequest < Internal::Types::Model
field :actor_type, -> { Schematic::Types::ActorType }, optional: true, nullable: false

field :company_id, -> { String }, optional: true, nullable: false

field :end_time, -> { String }, optional: true, nullable: false

field :environment_id, -> { String }, optional: true, nullable: false
Expand Down
2 changes: 2 additions & 0 deletions lib/schematic/accounts/types/count_audit_logs_response.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# frozen_string_literal: true

require_relative "../../../schematic"

module Schematic
module Accounts
module Types
Expand Down
2 changes: 2 additions & 0 deletions lib/schematic/accounts/types/get_account_member_response.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# frozen_string_literal: true

require_relative "../../../schematic"

module Schematic
module Accounts
module Types
Expand Down
2 changes: 2 additions & 0 deletions lib/schematic/accounts/types/get_api_key_response.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# frozen_string_literal: true

require_relative "../../../schematic"

module Schematic
module Accounts
module Types
Expand Down
2 changes: 2 additions & 0 deletions lib/schematic/accounts/types/get_audit_log_response.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# frozen_string_literal: true

require_relative "../../../schematic"

module Schematic
module Accounts
module Types
Expand Down
2 changes: 2 additions & 0 deletions lib/schematic/accounts/types/get_environment_response.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# frozen_string_literal: true

require_relative "../../../schematic"

module Schematic
module Accounts
module Types
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# frozen_string_literal: true

require_relative "../../../schematic"

module Schematic
module Accounts
module Types
Expand Down
2 changes: 2 additions & 0 deletions lib/schematic/accounts/types/get_who_am_i_response.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# frozen_string_literal: true

require_relative "../../../schematic"

module Schematic
module Accounts
module Types
Expand Down
2 changes: 2 additions & 0 deletions lib/schematic/accounts/types/list_account_members_params.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# frozen_string_literal: true

require_relative "../../../schematic"

module Schematic
module Accounts
module Types
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# frozen_string_literal: true

require_relative "../../../schematic"

module Schematic
module Accounts
module Types
Expand Down
2 changes: 2 additions & 0 deletions lib/schematic/accounts/types/list_api_keys_params.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# frozen_string_literal: true

require_relative "../../../schematic"

module Schematic
module Accounts
module Types
Expand Down
2 changes: 2 additions & 0 deletions lib/schematic/accounts/types/list_api_keys_response.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# frozen_string_literal: true

require_relative "../../../schematic"

module Schematic
module Accounts
module Types
Expand Down
4 changes: 4 additions & 0 deletions lib/schematic/accounts/types/list_audit_logs_params.rb
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
# frozen_string_literal: true

require_relative "../../../schematic"

module Schematic
module Accounts
module Types
# Input parameters
class ListAuditLogsParams < Internal::Types::Model
field :actor_type, -> { Schematic::Types::ActorType }, optional: true, nullable: false

field :company_id, -> { String }, optional: true, nullable: false

field :end_time, -> { String }, optional: true, nullable: false

field :environment_id, -> { String }, optional: true, nullable: false
Expand Down
2 changes: 2 additions & 0 deletions lib/schematic/accounts/types/list_audit_logs_request.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ module Types
class ListAuditLogsRequest < Internal::Types::Model
field :actor_type, -> { Schematic::Types::ActorType }, optional: true, nullable: false

field :company_id, -> { String }, optional: true, nullable: false

field :end_time, -> { String }, optional: true, nullable: false

field :environment_id, -> { String }, optional: true, nullable: false
Expand Down
2 changes: 2 additions & 0 deletions lib/schematic/accounts/types/list_audit_logs_response.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# frozen_string_literal: true

require_relative "../../../schematic"

module Schematic
module Accounts
module Types
Expand Down
2 changes: 2 additions & 0 deletions lib/schematic/accounts/types/list_environments_params.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# frozen_string_literal: true

require_relative "../../../schematic"

module Schematic
module Accounts
module Types
Expand Down
2 changes: 2 additions & 0 deletions lib/schematic/accounts/types/list_environments_response.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# frozen_string_literal: true

require_relative "../../../schematic"

module Schematic
module Accounts
module Types
Expand Down
2 changes: 2 additions & 0 deletions lib/schematic/accounts/types/quickstart_response.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# frozen_string_literal: true

require_relative "../../../schematic"

module Schematic
module Accounts
module Types
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# frozen_string_literal: true

require_relative "../../../schematic"

module Schematic
module Accounts
module Types
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# frozen_string_literal: true

require_relative "../../../schematic"

module Schematic
module Billing
module Types
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# frozen_string_literal: true

require_relative "../../../schematic"

module Schematic
module Billing
module Types
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# frozen_string_literal: true

require_relative "../../../schematic"

module Schematic
module Billing
module Types
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# frozen_string_literal: true

require_relative "../../../schematic"

module Schematic
module Billing
module Types
Expand Down
2 changes: 2 additions & 0 deletions lib/schematic/billing/types/count_customers_params.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# frozen_string_literal: true

require_relative "../../../schematic"

module Schematic
module Billing
module Types
Expand Down
2 changes: 2 additions & 0 deletions lib/schematic/billing/types/count_customers_response.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# frozen_string_literal: true

require_relative "../../../schematic"

module Schematic
module Billing
module Types
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# frozen_string_literal: true

require_relative "../../../schematic"

module Schematic
module Billing
module Types
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# frozen_string_literal: true

require_relative "../../../schematic"

module Schematic
module Billing
module Types
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# frozen_string_literal: true

require_relative "../../../schematic"

module Schematic
module Billing
module Types
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# frozen_string_literal: true

require_relative "../../../schematic"

module Schematic
module Billing
module Types
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# frozen_string_literal: true

require_relative "../../../schematic"

module Schematic
module Billing
module Types
Expand Down
Loading
Loading