schematichq 1.4.12 → 1.4.13

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: 2bee308305df6ae2bdceab646e7829b09ece5d767cb302c6c978997f97c1e9bf
4
- data.tar.gz: 030c6a99cd7125ccabbfd07c6255ee4a95767e931e11a063c82574eb8f50362d
3
+ metadata.gz: 0becf4f97a567470a17bca32a31305233a5bfd4cb85b3bcf328efe48df033bbc
4
+ data.tar.gz: 728b9b45b42ffa8a4ab8cd59cedf51ac1edd36c99f8594a6892f261f04ce435b
5
5
  SHA512:
6
- metadata.gz: 1edd9a610f4dd418f16e5fbccab154a711e2b2d8d4d72c9c9c0d90b24ae8e23eddfb373bc9b4299a6bb8885585a0250edfa71e5c0e7c4441de5095275bf59c97
7
- data.tar.gz: 8fb4d4546c3a0eddeee495d9bc6dd1de45259b32e60e7eb297eeba5d69a4fc4e12c496d143ad63f84258556baf601bfb4658f629c28e254e69c669852bdf1000
6
+ metadata.gz: 26dc88335c2f7e3df6bc2c37439f41446be2949f46b7af3d83af57faf93479e0a367423e2d17a40c0f0b96c366ba4fd2cde16bd10a32364430e44b86faa3257d
7
+ data.tar.gz: a9398c4e481d5d395753e060891b6c5406a745da1f270845688cc7871ec373fe0822c95f7ce96210fc5a05a56810e2cf773be552102ee1051bb666fe927ef0fa
data/.fern/metadata.json CHANGED
@@ -13,6 +13,6 @@
13
13
  "webrick": ">= 1.0"
14
14
  }
15
15
  },
16
- "originGitCommit": "a9fc73b97dcfa602bff97a7d41d980a55c9c9030",
17
- "sdkVersion": "1.4.12"
16
+ "originGitCommit": "8cfe954dda14329fc30a4f80b915db0acf608382",
17
+ "sdkVersion": "1.4.13"
18
18
  }
data/.fern/replay.lock CHANGED
@@ -54,14 +54,20 @@ generations:
54
54
  cli_version: unknown
55
55
  generator_versions:
56
56
  fernapi/fern-ruby-sdk: 1.1.13
57
- current_generation: 4c98e0c88a5af9323ad047925ea28dec7a8bf762
57
+ - commit_sha: 08bb53f51fc9cf2cc4e0b0b303167d8d1e6fbf0e
58
+ tree_hash: 4d178b386600e95e5e5d3a0e8eca8f586421d8ec
59
+ timestamp: 2026-08-10T10:28:58.021Z
60
+ cli_version: unknown
61
+ generator_versions:
62
+ fernapi/fern-ruby-sdk: 1.1.13
63
+ current_generation: 08bb53f51fc9cf2cc4e0b0b303167d8d1e6fbf0e
58
64
  patches:
59
65
  - id: patch-5da692c2
60
66
  content_hash: sha256:e652287219a0a709e16112ced444e6472c6fa8bdfe888edf868caaf9769a9472
61
67
  original_commit: 5da692c20aef08577d900f9a860b5f78a549418e
62
68
  original_message: inject host time into datastream wasm rules engine (SCHY-471)
63
69
  original_author: Christopher Brady <chris@schematichq.com>
64
- base_generation: 4c98e0c88a5af9323ad047925ea28dec7a8bf762
70
+ base_generation: 08bb53f51fc9cf2cc4e0b0b303167d8d1e6fbf0e
65
71
  files:
66
72
  - test/rules_engine_clock_test.rb
67
73
  patch_content: |
@@ -229,7 +235,7 @@ patches:
229
235
  original_commit: ee61788c5a83fce5dd5768b2536391459550d176
230
236
  original_message: fix rubocop offenses in clock regression test (SCHY-471)
231
237
  original_author: Christopher Brady <chris@schematichq.com>
232
- base_generation: 4c98e0c88a5af9323ad047925ea28dec7a8bf762
238
+ base_generation: 08bb53f51fc9cf2cc4e0b0b303167d8d1e6fbf0e
233
239
  files:
234
240
  - test/rules_engine_clock_test.rb
235
241
  patch_content: |
data/README.md CHANGED
@@ -20,7 +20,7 @@ Then run:
20
20
  bundle install
21
21
  ```
22
22
 
23
- 2. [Issue an API key](https://docs.schematichq.com/quickstart#create-an-api-key) for the appropriate environment using the [Schematic app](https://app.schematichq.com/settings/api-keys). Be sure to capture the secret key when you issue the API key; you'll only see this key once, and this is what you'll use with schematic-ruby.
23
+ 2. [Issue an API key](https://docs.schematichq.com/quickstart/account-setup#2-create-your-api-keys) for the appropriate environment using the [Schematic app](https://app.schematichq.com/settings/api-keys). Be sure to capture the secret key when you issue the API key; you'll only see this key once, and this is what you'll use with schematic-ruby.
24
24
 
25
25
  3. Using this secret key, initialize a client in your application:
26
26
 
@@ -10,7 +10,7 @@ module Schematic
10
10
  @raw_client = Schematic::Internal::Http::RawClient.new(
11
11
  base_url: base_url || Schematic::Environment::DEFAULT,
12
12
  headers: {
13
- "User-Agent" => "schematichq/1.4.12",
13
+ "User-Agent" => "schematichq/1.4.13",
14
14
  "X-Fern-Language" => "Ruby",
15
15
  "X-Schematic-Api-Key" => api_key.to_s
16
16
  }
@@ -681,6 +681,38 @@ module Schematic
681
681
  end
682
682
  end
683
683
 
684
+ # @param request_options [Hash]
685
+ # @param params [Hash]
686
+ # @option request_options [String] :base_url
687
+ # @option request_options [Hash{String => Object}] :additional_headers
688
+ # @option request_options [Hash{String => Object}] :additional_query_parameters
689
+ # @option request_options [Hash{String => Object}] :additional_body_parameters
690
+ # @option request_options [Integer] :timeout_in_seconds
691
+ # @option params [String] :entity_key_definition_id
692
+ #
693
+ # @return [Schematic::Companies::Types::DeleteEntityKeyDefinitionResponse]
694
+ def delete_entity_key_definition(request_options: {}, **params)
695
+ params = Schematic::Internal::Types::Utils.normalize_keys(params)
696
+ request = Schematic::Internal::JSON::Request.new(
697
+ base_url: request_options[:base_url],
698
+ method: "DELETE",
699
+ path: "entity-key-definitions/#{URI.encode_uri_component(params[:entity_key_definition_id].to_s)}",
700
+ request_options: request_options
701
+ )
702
+ begin
703
+ response = @client.send(request)
704
+ rescue Net::HTTPRequestTimeout
705
+ raise Schematic::Errors::TimeoutError
706
+ end
707
+ code = response.code.to_i
708
+ if code.between?(200, 299)
709
+ Schematic::Companies::Types::DeleteEntityKeyDefinitionResponse.load(response.body)
710
+ else
711
+ error_class = Schematic::Errors::ResponseError.subclass_for_code(code)
712
+ raise error_class.new(response.body, code: code)
713
+ end
714
+ end
715
+
684
716
  # @param request_options [Hash]
685
717
  # @param params [Hash]
686
718
  # @option request_options [String] :base_url
@@ -727,6 +759,50 @@ module Schematic
727
759
  end
728
760
  end
729
761
 
762
+ # @param request_options [Hash]
763
+ # @param params [Hash]
764
+ # @option request_options [String] :base_url
765
+ # @option request_options [Hash{String => Object}] :additional_headers
766
+ # @option request_options [Hash{String => Object}] :additional_query_parameters
767
+ # @option request_options [Hash{String => Object}] :additional_body_parameters
768
+ # @option request_options [Integer] :timeout_in_seconds
769
+ # @option params [String, nil] :definition_id
770
+ # @option params [Schematic::Types::EntityType, nil] :entity_type
771
+ # @option params [Integer, nil] :limit
772
+ # @option params [Integer, nil] :offset
773
+ #
774
+ # @return [Schematic::Companies::Types::CountEntityKeysResponse]
775
+ def count_entity_keys(request_options: {}, **params)
776
+ params = Schematic::Internal::Types::Utils.normalize_keys(params)
777
+ query_param_names = %i[definition_id entity_type limit offset]
778
+ query_params = {}
779
+ query_params["definition_id"] = params[:definition_id] if params.key?(:definition_id)
780
+ query_params["entity_type"] = params[:entity_type] if params.key?(:entity_type)
781
+ query_params["limit"] = params[:limit] if params.key?(:limit)
782
+ query_params["offset"] = params[:offset] if params.key?(:offset)
783
+ params.except(*query_param_names)
784
+
785
+ request = Schematic::Internal::JSON::Request.new(
786
+ base_url: request_options[:base_url],
787
+ method: "GET",
788
+ path: "entity-keys/count",
789
+ query: query_params,
790
+ request_options: request_options
791
+ )
792
+ begin
793
+ response = @client.send(request)
794
+ rescue Net::HTTPRequestTimeout
795
+ raise Schematic::Errors::TimeoutError
796
+ end
797
+ code = response.code.to_i
798
+ if code.between?(200, 299)
799
+ Schematic::Companies::Types::CountEntityKeysResponse.load(response.body)
800
+ else
801
+ error_class = Schematic::Errors::ResponseError.subclass_for_code(code)
802
+ raise error_class.new(response.body, code: code)
803
+ end
804
+ end
805
+
730
806
  # @param request_options [Hash]
731
807
  # @param params [Hash]
732
808
  # @option request_options [String] :base_url
@@ -0,0 +1,15 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Schematic
4
+ module Companies
5
+ module Types
6
+ # Input parameters
7
+ class CountEntityKeysParams < Internal::Types::Model
8
+ field :definition_id, -> { String }, optional: true, nullable: false
9
+ field :entity_type, -> { Schematic::Types::EntityType }, optional: true, nullable: false
10
+ field :limit, -> { Integer }, optional: true, nullable: false
11
+ field :offset, -> { Integer }, optional: true, nullable: false
12
+ end
13
+ end
14
+ end
15
+ end
@@ -0,0 +1,14 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Schematic
4
+ module Companies
5
+ module Types
6
+ class CountEntityKeysRequest < Internal::Types::Model
7
+ field :definition_id, -> { String }, optional: true, nullable: false
8
+ field :entity_type, -> { Schematic::Types::EntityType }, optional: true, nullable: false
9
+ field :limit, -> { Integer }, optional: true, nullable: false
10
+ field :offset, -> { Integer }, optional: true, nullable: false
11
+ end
12
+ end
13
+ end
14
+ end
@@ -0,0 +1,12 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Schematic
4
+ module Companies
5
+ module Types
6
+ class CountEntityKeysResponse < Internal::Types::Model
7
+ field :data, -> { Schematic::Types::CountResponse }, optional: false, nullable: false
8
+ field :params, -> { Schematic::Companies::Types::CountEntityKeysParams }, optional: false, nullable: false
9
+ end
10
+ end
11
+ end
12
+ end
@@ -0,0 +1,12 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Schematic
4
+ module Companies
5
+ module Types
6
+ class DeleteEntityKeyDefinitionResponse < Internal::Types::Model
7
+ field :data, -> { Schematic::Types::DeleteResponse }, optional: false, nullable: false
8
+ field :params, -> { Internal::Types::Hash[String, Object] }, optional: false, nullable: false
9
+ end
10
+ end
11
+ end
12
+ end
@@ -21,7 +21,7 @@ module Schematic
21
21
  field :price, -> { Schematic::Types::BillingPriceView }, optional: true, nullable: false
22
22
  field :price_per_unit, -> { Integer }, optional: true, nullable: false
23
23
  field :price_per_unit_decimal, -> { String }, optional: true, nullable: false
24
- field :product, -> { Schematic::Types::BillingProductResponseData }, optional: true, nullable: false
24
+ field :product, -> { Schematic::Types::BillingProductRecordResponseData }, optional: true, nullable: false
25
25
  field :singular_name, -> { String }, optional: true, nullable: false
26
26
  field :updated_at, -> { String }, optional: false, nullable: false
27
27
  end
@@ -0,0 +1,17 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Schematic
4
+ module Types
5
+ class BillingProductRecordResponseData < Internal::Types::Model
6
+ field :account_id, -> { String }, optional: false, nullable: false
7
+ field :created_at, -> { String }, optional: false, nullable: false
8
+ field :environment_id, -> { String }, optional: false, nullable: false
9
+ field :external_id, -> { String }, optional: false, nullable: false
10
+ field :id, -> { String }, optional: false, nullable: false
11
+ field :is_active, -> { Internal::Types::Boolean }, optional: false, nullable: false
12
+ field :name, -> { String }, optional: false, nullable: false
13
+ field :provider_type, -> { Schematic::Types::BillingProviderType }, optional: false, nullable: false
14
+ field :updated_at, -> { String }, optional: false, nullable: false
15
+ end
16
+ end
17
+ end
@@ -5,7 +5,7 @@ module Schematic
5
5
  class CompanyFeatureUsageExportMetadata < Internal::Types::Model
6
6
  field :company_ids, -> { Internal::Types::Array[String] }, optional: true, nullable: false
7
7
  field :credit_type_ids, -> { Internal::Types::Array[String] }, optional: true, nullable: false
8
- field :feature_ids, -> { Internal::Types::Array[String] }, optional: false, nullable: false
8
+ field :feature_ids, -> { Internal::Types::Array[String] }, optional: true, nullable: false
9
9
  field :has_scheduled_downgrade, -> { Internal::Types::Boolean }, optional: true, nullable: false
10
10
  field :monetized_subscriptions, -> { Internal::Types::Boolean }, optional: true, nullable: false
11
11
  field :notification_email_recipient_email_addresses, -> { Internal::Types::Array[String] }, optional: true, nullable: false
@@ -13,8 +13,11 @@ module Schematic
13
13
  field :plan_ids, -> { Internal::Types::Array[String] }, optional: true, nullable: false
14
14
  field :plan_version_id, -> { String }, optional: true, nullable: false
15
15
  field :q, -> { String }, optional: true, nullable: false
16
+ field :sort_order_column, -> { String }, optional: true, nullable: false
17
+ field :sort_order_direction, -> { Schematic::Types::CompanyFeatureUsageExportMetadataSortOrderDirection }, optional: true, nullable: false
16
18
  field :subscription_statuses, -> { Internal::Types::Array[String] }, optional: true, nullable: false
17
19
  field :subscription_types, -> { Internal::Types::Array[String] }, optional: true, nullable: false
20
+ field :visible_columns, -> { Internal::Types::Array[Schematic::Types::CompanyFeatureUsageExportMetadataVisibleColumnsItem] }, optional: true, nullable: false
18
21
  field :with_entitlement_for, -> { String }, optional: true, nullable: false
19
22
  field :with_subscription, -> { Internal::Types::Boolean }, optional: true, nullable: false
20
23
  field :without_feature_override_for, -> { String }, optional: true, nullable: false
@@ -0,0 +1,12 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Schematic
4
+ module Types
5
+ module CompanyFeatureUsageExportMetadataSortOrderDirection
6
+ extend Schematic::Internal::Types::Enum
7
+
8
+ ASC = "asc"
9
+ DESC = "desc"
10
+ end
11
+ end
12
+ end
@@ -0,0 +1,14 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Schematic
4
+ module Types
5
+ module CompanyFeatureUsageExportMetadataVisibleColumnsItem
6
+ extend Schematic::Internal::Types::Enum
7
+
8
+ PLAN = "plan"
9
+ SUBSCRIPTION = "subscription"
10
+ USERS = "users"
11
+ LAST_SEEN_AT = "last_seen_at"
12
+ end
13
+ end
14
+ end
@@ -9,6 +9,7 @@ module Schematic
9
9
 
10
10
  member -> { Schematic::Types::AuditLogExportMetadata }, key: "AUDIT_LOG"
11
11
  member -> { Schematic::Types::CompanyFeatureUsageExportMetadata }, key: "COMPANY_FEATURE_USAGE"
12
+ member -> { Schematic::Types::EventExportMetadata }, key: "EVENT"
12
13
  end
13
14
  end
14
15
  end
@@ -7,6 +7,7 @@ module Schematic
7
7
 
8
8
  AUDIT_LOG = "audit-log"
9
9
  COMPANY_FEATURE_USAGE = "company-feature-usage"
10
+ EVENT = "event"
10
11
  end
11
12
  end
12
13
  end
@@ -0,0 +1,16 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Schematic
4
+ module Types
5
+ class EventExportMetadata < Internal::Types::Model
6
+ field :company_id, -> { String }, optional: true, nullable: false
7
+ field :end_time, -> { String }, optional: true, nullable: false
8
+ field :event_subtype, -> { String }, optional: true, nullable: false
9
+ field :event_types, -> { Internal::Types::Array[Schematic::Types::EventExportMetadataEventTypesItem] }, optional: true, nullable: false
10
+ field :flag_id, -> { String }, optional: true, nullable: false
11
+ field :notification_email_recipient_email_addresses, -> { Internal::Types::Array[String] }, optional: true, nullable: false
12
+ field :start_time, -> { String }, optional: true, nullable: false
13
+ field :user_id, -> { String }, optional: true, nullable: false
14
+ end
15
+ end
16
+ end
@@ -0,0 +1,14 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Schematic
4
+ module Types
5
+ module EventExportMetadataEventTypesItem
6
+ extend Schematic::Internal::Types::Enum
7
+
8
+ FLAG_CHECK = "flag_check"
9
+ IDENTIFY = "identify"
10
+ INFERENCE = "inference"
11
+ TRACK = "track"
12
+ end
13
+ end
14
+ end
@@ -5,7 +5,7 @@ module Schematic
5
5
  class FeatureView < Internal::Types::Model
6
6
  field :account_id, -> { String }, optional: false, nullable: false
7
7
  field :billing_linked_resource, -> { Schematic::Types::BillingLinkedResourceResponseData }, optional: true, nullable: false
8
- field :billing_product, -> { Schematic::Types::BillingProductResponseData }, optional: true, nullable: false
8
+ field :billing_product, -> { Schematic::Types::BillingProductRecordResponseData }, optional: true, nullable: false
9
9
  field :created_at, -> { String }, optional: false, nullable: false
10
10
  field :description, -> { String }, optional: false, nullable: false
11
11
  field :event_subtype, -> { String }, optional: true, nullable: false
@@ -3,6 +3,7 @@
3
3
  module Schematic
4
4
  module Types
5
5
  class TestWebhookResponseData < Internal::Types::Model
6
+ field :failure_reason, -> { String }, optional: true, nullable: false
6
7
  field :response_code, -> { Integer }, optional: false, nullable: false
7
8
  field :success, -> { Internal::Types::Boolean }, optional: false, nullable: false
8
9
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Schematic
4
- VERSION = "1.4.12"
4
+ VERSION = "1.4.13"
5
5
  end
data/lib/schematic.rb CHANGED
@@ -269,6 +269,7 @@ require_relative "schematic/catalogs/types/get_plans_in_catalog_response"
269
269
  require_relative "schematic/types/checkout_subscription"
270
270
  require_relative "schematic/checkout/types/checkout_internal_response"
271
271
  require_relative "schematic/types/billing_credit_ledger_authority"
272
+ require_relative "schematic/types/billing_product_record_response_data"
272
273
  require_relative "schematic/types/credit_currency_price"
273
274
  require_relative "schematic/types/billing_credit_view"
274
275
  require_relative "schematic/types/billing_product_for_subscription_response_data"
@@ -355,8 +356,11 @@ require_relative "schematic/companies/types/get_active_company_subscription_resp
355
356
  require_relative "schematic/companies/types/upsert_company_trait_response"
356
357
  require_relative "schematic/companies/types/list_entity_key_definitions_params"
357
358
  require_relative "schematic/companies/types/list_entity_key_definitions_response"
359
+ require_relative "schematic/companies/types/delete_entity_key_definition_response"
358
360
  require_relative "schematic/companies/types/count_entity_key_definitions_params"
359
361
  require_relative "schematic/companies/types/count_entity_key_definitions_response"
362
+ require_relative "schematic/companies/types/count_entity_keys_params"
363
+ require_relative "schematic/companies/types/count_entity_keys_response"
360
364
  require_relative "schematic/companies/types/list_entity_trait_definitions_params"
361
365
  require_relative "schematic/companies/types/list_entity_trait_definitions_response"
362
366
  require_relative "schematic/companies/types/get_or_create_entity_trait_definition_response"
@@ -521,7 +525,11 @@ require_relative "schematic/types/data_export_status"
521
525
  require_relative "schematic/types/data_export_type"
522
526
  require_relative "schematic/dataexports/types/list_data_exports_params"
523
527
  require_relative "schematic/types/audit_log_export_metadata"
528
+ require_relative "schematic/types/company_feature_usage_export_metadata_sort_order_direction"
529
+ require_relative "schematic/types/company_feature_usage_export_metadata_visible_columns_item"
524
530
  require_relative "schematic/types/company_feature_usage_export_metadata"
531
+ require_relative "schematic/types/event_export_metadata_event_types_item"
532
+ require_relative "schematic/types/event_export_metadata"
525
533
  require_relative "schematic/types/data_export_metadata"
526
534
  require_relative "schematic/types/data_export_output_file_type"
527
535
  require_relative "schematic/types/data_export_response_data"
@@ -895,6 +903,7 @@ require_relative "schematic/companies/types/get_or_create_company_membership_req
895
903
  require_relative "schematic/companies/types/get_active_company_subscription_request"
896
904
  require_relative "schematic/companies/types/list_entity_key_definitions_request"
897
905
  require_relative "schematic/companies/types/count_entity_key_definitions_request"
906
+ require_relative "schematic/companies/types/count_entity_keys_request"
898
907
  require_relative "schematic/companies/types/list_entity_trait_definitions_request"
899
908
  require_relative "schematic/companies/types/create_entity_trait_definition_request_body"
900
909
  require_relative "schematic/companies/types/update_entity_trait_definition_request_body"
data/reference.md CHANGED
@@ -9177,6 +9177,54 @@ client.companies.list_entity_key_definitions(
9177
9177
  </dl>
9178
9178
 
9179
9179
 
9180
+ </dd>
9181
+ </dl>
9182
+ </details>
9183
+
9184
+ <details><summary><code>client.companies.<a href="/lib/schematic/companies/client.rb">delete_entity_key_definition</a>(entity_key_definition_id) -> Schematic::Companies::Types::DeleteEntityKeyDefinitionResponse</code></summary>
9185
+ <dl>
9186
+ <dd>
9187
+
9188
+ #### 🔌 Usage
9189
+
9190
+ <dl>
9191
+ <dd>
9192
+
9193
+ <dl>
9194
+ <dd>
9195
+
9196
+ ```ruby
9197
+ client.companies.delete_entity_key_definition(entity_key_definition_id: "entity_key_definition_id")
9198
+ ```
9199
+ </dd>
9200
+ </dl>
9201
+ </dd>
9202
+ </dl>
9203
+
9204
+ #### ⚙️ Parameters
9205
+
9206
+ <dl>
9207
+ <dd>
9208
+
9209
+ <dl>
9210
+ <dd>
9211
+
9212
+ **entity_key_definition_id:** `String` — entity_key_definition_id
9213
+
9214
+ </dd>
9215
+ </dl>
9216
+
9217
+ <dl>
9218
+ <dd>
9219
+
9220
+ **request_options:** `Schematic::Companies::RequestOptions`
9221
+
9222
+ </dd>
9223
+ </dl>
9224
+ </dd>
9225
+ </dl>
9226
+
9227
+
9180
9228
  </dd>
9181
9229
  </dl>
9182
9230
  </details>
@@ -9263,6 +9311,83 @@ client.companies.count_entity_key_definitions(
9263
9311
  </dl>
9264
9312
 
9265
9313
 
9314
+ </dd>
9315
+ </dl>
9316
+ </details>
9317
+
9318
+ <details><summary><code>client.companies.<a href="/lib/schematic/companies/client.rb">count_entity_keys</a>() -> Schematic::Companies::Types::CountEntityKeysResponse</code></summary>
9319
+ <dl>
9320
+ <dd>
9321
+
9322
+ #### 🔌 Usage
9323
+
9324
+ <dl>
9325
+ <dd>
9326
+
9327
+ <dl>
9328
+ <dd>
9329
+
9330
+ ```ruby
9331
+ client.companies.count_entity_keys(
9332
+ definition_id: "definition_id",
9333
+ entity_type: "company",
9334
+ limit: 1000000,
9335
+ offset: 1000000
9336
+ )
9337
+ ```
9338
+ </dd>
9339
+ </dl>
9340
+ </dd>
9341
+ </dl>
9342
+
9343
+ #### ⚙️ Parameters
9344
+
9345
+ <dl>
9346
+ <dd>
9347
+
9348
+ <dl>
9349
+ <dd>
9350
+
9351
+ **definition_id:** `String`
9352
+
9353
+ </dd>
9354
+ </dl>
9355
+
9356
+ <dl>
9357
+ <dd>
9358
+
9359
+ **entity_type:** `Schematic::Types::EntityType`
9360
+
9361
+ </dd>
9362
+ </dl>
9363
+
9364
+ <dl>
9365
+ <dd>
9366
+
9367
+ **limit:** `Integer` — Page limit (default 100)
9368
+
9369
+ </dd>
9370
+ </dl>
9371
+
9372
+ <dl>
9373
+ <dd>
9374
+
9375
+ **offset:** `Integer` — Page offset (default 0)
9376
+
9377
+ </dd>
9378
+ </dl>
9379
+
9380
+ <dl>
9381
+ <dd>
9382
+
9383
+ **request_options:** `Schematic::Companies::RequestOptions`
9384
+
9385
+ </dd>
9386
+ </dl>
9387
+ </dd>
9388
+ </dl>
9389
+
9390
+
9266
9391
  </dd>
9267
9392
  </dl>
9268
9393
  </details>
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: schematichq
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.12
4
+ version: 1.4.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - Schematic
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2026-08-03 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: wasmtime
@@ -191,6 +191,9 @@ files:
191
191
  - lib/schematic/companies/types/count_entity_key_definitions_params.rb
192
192
  - lib/schematic/companies/types/count_entity_key_definitions_request.rb
193
193
  - lib/schematic/companies/types/count_entity_key_definitions_response.rb
194
+ - lib/schematic/companies/types/count_entity_keys_params.rb
195
+ - lib/schematic/companies/types/count_entity_keys_request.rb
196
+ - lib/schematic/companies/types/count_entity_keys_response.rb
194
197
  - lib/schematic/companies/types/count_entity_trait_definitions_params.rb
195
198
  - lib/schematic/companies/types/count_entity_trait_definitions_request.rb
196
199
  - lib/schematic/companies/types/count_entity_trait_definitions_response.rb
@@ -208,6 +211,7 @@ files:
208
211
  - lib/schematic/companies/types/delete_company_params.rb
209
212
  - lib/schematic/companies/types/delete_company_request.rb
210
213
  - lib/schematic/companies/types/delete_company_response.rb
214
+ - lib/schematic/companies/types/delete_entity_key_definition_response.rb
211
215
  - lib/schematic/companies/types/delete_user_by_keys_response.rb
212
216
  - lib/schematic/companies/types/delete_user_response.rb
213
217
  - lib/schematic/companies/types/get_active_company_subscription_params.rb
@@ -676,6 +680,7 @@ files:
676
680
  - lib/schematic/types/billing_product_price_response_data.rb
677
681
  - lib/schematic/types/billing_product_price_tier_response_data.rb
678
682
  - lib/schematic/types/billing_product_pricing.rb
683
+ - lib/schematic/types/billing_product_record_response_data.rb
679
684
  - lib/schematic/types/billing_product_response_data.rb
680
685
  - lib/schematic/types/billing_provider_type.rb
681
686
  - lib/schematic/types/billing_strategy.rb
@@ -725,6 +730,8 @@ files:
725
730
  - lib/schematic/types/company_detail_response_data.rb
726
731
  - lib/schematic/types/company_event_period_metrics_response_data.rb
727
732
  - lib/schematic/types/company_feature_usage_export_metadata.rb
733
+ - lib/schematic/types/company_feature_usage_export_metadata_sort_order_direction.rb
734
+ - lib/schematic/types/company_feature_usage_export_metadata_visible_columns_item.rb
728
735
  - lib/schematic/types/company_ledger_response_data.rb
729
736
  - lib/schematic/types/company_matching_criteria.rb
730
737
  - lib/schematic/types/company_membership_detail_response_data.rb
@@ -845,6 +852,8 @@ files:
845
852
  - lib/schematic/types/event_body_inference.rb
846
853
  - lib/schematic/types/event_body_track.rb
847
854
  - lib/schematic/types/event_detail_response_data.rb
855
+ - lib/schematic/types/event_export_metadata.rb
856
+ - lib/schematic/types/event_export_metadata_event_types_item.rb
848
857
  - lib/schematic/types/event_response_data.rb
849
858
  - lib/schematic/types/event_status.rb
850
859
  - lib/schematic/types/event_summary_response_data.rb