schematichq 1.5.4 → 1.5.5
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/.fern/metadata.json +4 -4
- data/.fern/replay.lock +7 -1
- data/WASM_VERSION +1 -1
- data/lib/schematic/billing/client.rb +423 -0
- data/lib/schematic/billing/types/count_native_invoices_params.rb +20 -0
- data/lib/schematic/billing/types/count_native_invoices_request.rb +19 -0
- data/lib/schematic/billing/types/count_native_invoices_response.rb +13 -0
- data/lib/schematic/billing/types/finalize_native_invoice_response.rb +13 -0
- data/lib/schematic/billing/types/get_company_native_subscription_response.rb +13 -0
- data/lib/schematic/billing/types/get_native_invoice_response.rb +13 -0
- data/lib/schematic/billing/types/list_native_invoices_params.rb +20 -0
- data/lib/schematic/billing/types/list_native_invoices_request.rb +19 -0
- data/lib/schematic/billing/types/list_native_invoices_response.rb +13 -0
- data/lib/schematic/billing/types/mark_invoice_paid_request_body.rb +19 -0
- data/lib/schematic/billing/types/mark_native_invoice_paid_response.rb +13 -0
- data/lib/schematic/billing/types/void_native_invoice_response.rb +13 -0
- data/lib/schematic/client.rb +1 -1
- data/lib/schematic/features/client.rb +0 -2
- data/lib/schematic/internal/iterators/cursor_item_iterator.rb +2 -2
- data/lib/schematic/internal/iterators/cursor_page_iterator.rb +11 -2
- data/lib/schematic/internal/iterators/item_iterator.rb +11 -2
- data/lib/schematic/internal/iterators/offset_item_iterator.rb +2 -2
- data/lib/schematic/internal/iterators/offset_page_iterator.rb +15 -6
- data/lib/schematic/internal/types/model.rb +17 -1
- data/lib/schematic/plans/client.rb +61 -5
- data/lib/schematic/plans/types/list_custom_plan_billings_params.rb +4 -0
- data/lib/schematic/plans/types/list_custom_plan_billings_request.rb +4 -0
- data/lib/schematic/plans/types/preview_publish_plan_version_response.rb +13 -0
- data/lib/schematic/types/amendment_proration_lands_on.rb +13 -0
- data/lib/schematic/types/billing_invoice_detail_response_data.rb +49 -0
- data/lib/schematic/types/billing_invoice_line_response_data.rb +27 -0
- data/lib/schematic/types/billing_invoice_response_data.rb +43 -0
- data/lib/schematic/types/billing_invoice_settlement_response_data.rb +17 -0
- data/lib/schematic/types/billing_invoice_terms_response_data.rb +19 -0
- data/lib/schematic/types/billing_native_subscription_change_response_data.rb +15 -0
- data/lib/schematic/types/billing_native_subscription_line_response_data.rb +47 -0
- data/lib/schematic/types/billing_native_subscription_response_data.rb +31 -0
- data/lib/schematic/types/billing_statement_line_response_data.rb +21 -0
- data/lib/schematic/types/billing_statement_response_data.rb +19 -0
- data/lib/schematic/types/charge_timing.rb +12 -0
- data/lib/schematic/types/collector.rb +13 -0
- data/lib/schematic/types/company_billing_profile_response_data.rb +12 -0
- data/lib/schematic/types/company_credit_balance.rb +4 -0
- data/lib/schematic/types/create_flag_request_body.rb +1 -1
- data/lib/schematic/types/create_or_update_flag_request_body.rb +1 -1
- data/lib/schematic/types/credit_spend_policy.rb +2 -0
- data/lib/schematic/types/event_body_inference.rb +4 -0
- data/lib/schematic/types/flag_detail_response_data.rb +1 -1
- data/lib/schematic/types/flag_in_plan_response_data.rb +1 -1
- data/lib/schematic/types/flag_response_data.rb +1 -1
- data/lib/schematic/types/invoice_collection_state.rb +17 -0
- data/lib/schematic/types/invoice_document_state.rb +14 -0
- data/lib/schematic/types/invoice_line_kind.rb +15 -0
- data/lib/schematic/types/line_kind.rb +13 -0
- data/lib/schematic/types/payment_gating.rb +12 -0
- data/lib/schematic/types/preflight_event_quantities_request_body.rb +13 -0
- data/lib/schematic/types/preflight_request_body.rb +2 -0
- data/lib/schematic/types/publish_plan_version_request_body.rb +43 -0
- data/lib/schematic/types/publish_preview_pay_in_advance_response_data.rb +15 -0
- data/lib/schematic/types/publish_preview_payment_method_response_data.rb +15 -0
- data/lib/schematic/types/publish_preview_proration_line_response_data.rb +19 -0
- data/lib/schematic/types/publish_preview_response_data.rb +53 -0
- data/lib/schematic/types/rulesengine_credit_spend_policy.rb +2 -0
- data/lib/schematic/types/subscription_change_action.rb +14 -0
- data/lib/schematic/version.rb +1 -1
- data/lib/schematic/wasm/rulesengine.wasm +0 -0
- data/lib/schematic.rb +42 -5
- data/reference.md +586 -103
- metadata +40 -3
- data/lib/schematic/plans/types/publish_plan_version_request_body.rb +0 -47
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.5.
|
|
4
|
+
version: 1.5.5
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Schematic
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-10-
|
|
11
|
+
date: 2026-10-19 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: wasmtime
|
|
@@ -110,6 +110,9 @@ files:
|
|
|
110
110
|
- lib/schematic/billing/types/count_customers_params.rb
|
|
111
111
|
- lib/schematic/billing/types/count_customers_request.rb
|
|
112
112
|
- lib/schematic/billing/types/count_customers_response.rb
|
|
113
|
+
- lib/schematic/billing/types/count_native_invoices_params.rb
|
|
114
|
+
- lib/schematic/billing/types/count_native_invoices_request.rb
|
|
115
|
+
- lib/schematic/billing/types/count_native_invoices_response.rb
|
|
113
116
|
- lib/schematic/billing/types/create_billing_customer_request_body.rb
|
|
114
117
|
- lib/schematic/billing/types/create_billing_price_request_body.rb
|
|
115
118
|
- lib/schematic/billing/types/create_billing_product_request_body.rb
|
|
@@ -124,7 +127,10 @@ files:
|
|
|
124
127
|
- lib/schematic/billing/types/delete_billing_product_response.rb
|
|
125
128
|
- lib/schematic/billing/types/delete_payment_method_by_external_id_response.rb
|
|
126
129
|
- lib/schematic/billing/types/delete_product_price_response.rb
|
|
130
|
+
- lib/schematic/billing/types/finalize_native_invoice_response.rb
|
|
127
131
|
- lib/schematic/billing/types/get_billing_settings_response.rb
|
|
132
|
+
- lib/schematic/billing/types/get_company_native_subscription_response.rb
|
|
133
|
+
- lib/schematic/billing/types/get_native_invoice_response.rb
|
|
128
134
|
- lib/schematic/billing/types/list_billing_prices_params.rb
|
|
129
135
|
- lib/schematic/billing/types/list_billing_prices_request.rb
|
|
130
136
|
- lib/schematic/billing/types/list_billing_prices_response.rb
|
|
@@ -149,9 +155,14 @@ files:
|
|
|
149
155
|
- lib/schematic/billing/types/list_meters_params.rb
|
|
150
156
|
- lib/schematic/billing/types/list_meters_request.rb
|
|
151
157
|
- lib/schematic/billing/types/list_meters_response.rb
|
|
158
|
+
- lib/schematic/billing/types/list_native_invoices_params.rb
|
|
159
|
+
- lib/schematic/billing/types/list_native_invoices_request.rb
|
|
160
|
+
- lib/schematic/billing/types/list_native_invoices_response.rb
|
|
152
161
|
- lib/schematic/billing/types/list_payment_methods_params.rb
|
|
153
162
|
- lib/schematic/billing/types/list_payment_methods_request.rb
|
|
154
163
|
- lib/schematic/billing/types/list_payment_methods_response.rb
|
|
164
|
+
- lib/schematic/billing/types/mark_invoice_paid_request_body.rb
|
|
165
|
+
- lib/schematic/billing/types/mark_native_invoice_paid_response.rb
|
|
155
166
|
- lib/schematic/billing/types/update_billing_settings_request_body.rb
|
|
156
167
|
- lib/schematic/billing/types/update_billing_settings_response.rb
|
|
157
168
|
- lib/schematic/billing/types/update_company_billing_profile_request_body.rb
|
|
@@ -164,6 +175,7 @@ files:
|
|
|
164
175
|
- lib/schematic/billing/types/upsert_billing_subscription_response.rb
|
|
165
176
|
- lib/schematic/billing/types/upsert_invoice_response.rb
|
|
166
177
|
- lib/schematic/billing/types/upsert_payment_method_response.rb
|
|
178
|
+
- lib/schematic/billing/types/void_native_invoice_response.rb
|
|
167
179
|
- lib/schematic/cache.rb
|
|
168
180
|
- lib/schematic/catalogs/client.rb
|
|
169
181
|
- lib/schematic/catalogs/types/create_catalog_request_body.rb
|
|
@@ -688,7 +700,7 @@ files:
|
|
|
688
700
|
- lib/schematic/plans/types/list_plans_request.rb
|
|
689
701
|
- lib/schematic/plans/types/list_plans_response.rb
|
|
690
702
|
- lib/schematic/plans/types/mark_custom_plan_billing_paid_response.rb
|
|
691
|
-
- lib/schematic/plans/types/
|
|
703
|
+
- lib/schematic/plans/types/preview_publish_plan_version_response.rb
|
|
692
704
|
- lib/schematic/plans/types/publish_plan_version_response.rb
|
|
693
705
|
- lib/schematic/plans/types/retry_custom_plan_billing_request_body.rb
|
|
694
706
|
- lib/schematic/plans/types/retry_custom_plan_billing_response.rb
|
|
@@ -715,6 +727,7 @@ files:
|
|
|
715
727
|
- lib/schematic/types/activity_entry_response_data.rb
|
|
716
728
|
- lib/schematic/types/activity_response_response_data.rb
|
|
717
729
|
- lib/schematic/types/actor_type.rb
|
|
730
|
+
- lib/schematic/types/amendment_proration_lands_on.rb
|
|
718
731
|
- lib/schematic/types/api_error.rb
|
|
719
732
|
- lib/schematic/types/api_key_create_response_data.rb
|
|
720
733
|
- lib/schematic/types/api_key_integration_response_data.rb
|
|
@@ -746,8 +759,16 @@ files:
|
|
|
746
759
|
- lib/schematic/types/billing_customer_response_data.rb
|
|
747
760
|
- lib/schematic/types/billing_customer_subscription.rb
|
|
748
761
|
- lib/schematic/types/billing_customer_with_subscriptions_response_data.rb
|
|
762
|
+
- lib/schematic/types/billing_invoice_detail_response_data.rb
|
|
763
|
+
- lib/schematic/types/billing_invoice_line_response_data.rb
|
|
764
|
+
- lib/schematic/types/billing_invoice_response_data.rb
|
|
765
|
+
- lib/schematic/types/billing_invoice_settlement_response_data.rb
|
|
766
|
+
- lib/schematic/types/billing_invoice_terms_response_data.rb
|
|
749
767
|
- lib/schematic/types/billing_linked_resource_response_data.rb
|
|
750
768
|
- lib/schematic/types/billing_meter_response_data.rb
|
|
769
|
+
- lib/schematic/types/billing_native_subscription_change_response_data.rb
|
|
770
|
+
- lib/schematic/types/billing_native_subscription_line_response_data.rb
|
|
771
|
+
- lib/schematic/types/billing_native_subscription_response_data.rb
|
|
751
772
|
- lib/schematic/types/billing_plan_credit_grant_billing_mode.rb
|
|
752
773
|
- lib/schematic/types/billing_plan_credit_grant_price_tier_response_data.rb
|
|
753
774
|
- lib/schematic/types/billing_plan_credit_grant_reset_cadence.rb
|
|
@@ -769,6 +790,8 @@ files:
|
|
|
769
790
|
- lib/schematic/types/billing_product_response_data.rb
|
|
770
791
|
- lib/schematic/types/billing_provider_type.rb
|
|
771
792
|
- lib/schematic/types/billing_settings_response_data.rb
|
|
793
|
+
- lib/schematic/types/billing_statement_line_response_data.rb
|
|
794
|
+
- lib/schematic/types/billing_statement_response_data.rb
|
|
772
795
|
- lib/schematic/types/billing_strategy.rb
|
|
773
796
|
- lib/schematic/types/billing_subscription_discount.rb
|
|
774
797
|
- lib/schematic/types/billing_subscription_discount_view.rb
|
|
@@ -794,6 +817,7 @@ files:
|
|
|
794
817
|
- lib/schematic/types/catalog_response_data.rb
|
|
795
818
|
- lib/schematic/types/change_subscription_internal_request_body.rb
|
|
796
819
|
- lib/schematic/types/change_subscription_request_body.rb
|
|
820
|
+
- lib/schematic/types/charge_timing.rb
|
|
797
821
|
- lib/schematic/types/charge_type.rb
|
|
798
822
|
- lib/schematic/types/check_and_reserve_flag_response_data.rb
|
|
799
823
|
- lib/schematic/types/check_flag_request_body.rb
|
|
@@ -813,6 +837,7 @@ files:
|
|
|
813
837
|
- lib/schematic/types/checkout_subscription.rb
|
|
814
838
|
- lib/schematic/types/claimed_stripe_sandbox_keys_response_data.rb
|
|
815
839
|
- lib/schematic/types/clerk_integration_config.rb
|
|
840
|
+
- lib/schematic/types/collector.rb
|
|
816
841
|
- lib/schematic/types/company_billing_address_view.rb
|
|
817
842
|
- lib/schematic/types/company_billing_checkout_settings.rb
|
|
818
843
|
- lib/schematic/types/company_billing_details_response_data.rb
|
|
@@ -1011,6 +1036,9 @@ files:
|
|
|
1011
1036
|
- lib/schematic/types/integrations_data_set_response_data.rb
|
|
1012
1037
|
- lib/schematic/types/integrations_list_response_data.rb
|
|
1013
1038
|
- lib/schematic/types/integrations_response_data.rb
|
|
1039
|
+
- lib/schematic/types/invoice_collection_state.rb
|
|
1040
|
+
- lib/schematic/types/invoice_document_state.rb
|
|
1041
|
+
- lib/schematic/types/invoice_line_kind.rb
|
|
1014
1042
|
- lib/schematic/types/invoice_request_body.rb
|
|
1015
1043
|
- lib/schematic/types/invoice_response_data.rb
|
|
1016
1044
|
- lib/schematic/types/invoice_status.rb
|
|
@@ -1018,6 +1046,7 @@ files:
|
|
|
1018
1046
|
- lib/schematic/types/keys_request_body.rb
|
|
1019
1047
|
- lib/schematic/types/license_response_data.rb
|
|
1020
1048
|
- lib/schematic/types/limit_time_series_point_response_data.rb
|
|
1049
|
+
- lib/schematic/types/line_kind.rb
|
|
1021
1050
|
- lib/schematic/types/manage_plan_preview_response_response_data.rb
|
|
1022
1051
|
- lib/schematic/types/manage_plan_request.rb
|
|
1023
1052
|
- lib/schematic/types/manage_plan_response_response_data.rb
|
|
@@ -1041,6 +1070,7 @@ files:
|
|
|
1041
1070
|
- lib/schematic/types/orb_integration_config.rb
|
|
1042
1071
|
- lib/schematic/types/ordered_plans_in_group.rb
|
|
1043
1072
|
- lib/schematic/types/otlp_environment_settings_response_data.rb
|
|
1073
|
+
- lib/schematic/types/payment_gating.rb
|
|
1044
1074
|
- lib/schematic/types/payment_method_request_body.rb
|
|
1045
1075
|
- lib/schematic/types/payment_method_response_data.rb
|
|
1046
1076
|
- lib/schematic/types/pending_migration_response_data.rb
|
|
@@ -1098,6 +1128,7 @@ files:
|
|
|
1098
1128
|
- lib/schematic/types/plan_version_snapshot_view.rb
|
|
1099
1129
|
- lib/schematic/types/plan_version_status.rb
|
|
1100
1130
|
- lib/schematic/types/plan_view_public_response_data.rb
|
|
1131
|
+
- lib/schematic/types/preflight_event_quantities_request_body.rb
|
|
1101
1132
|
- lib/schematic/types/preflight_event_usage_request_body.rb
|
|
1102
1133
|
- lib/schematic/types/preflight_request_body.rb
|
|
1103
1134
|
- lib/schematic/types/preview_object.rb
|
|
@@ -1108,6 +1139,11 @@ files:
|
|
|
1108
1139
|
- lib/schematic/types/preview_subscription_upcoming_invoice_line_items.rb
|
|
1109
1140
|
- lib/schematic/types/proration_behavior.rb
|
|
1110
1141
|
- lib/schematic/types/public_plans_response_data.rb
|
|
1142
|
+
- lib/schematic/types/publish_plan_version_request_body.rb
|
|
1143
|
+
- lib/schematic/types/publish_preview_pay_in_advance_response_data.rb
|
|
1144
|
+
- lib/schematic/types/publish_preview_payment_method_response_data.rb
|
|
1145
|
+
- lib/schematic/types/publish_preview_proration_line_response_data.rb
|
|
1146
|
+
- lib/schematic/types/publish_preview_response_data.rb
|
|
1111
1147
|
- lib/schematic/types/quickstart_resp.rb
|
|
1112
1148
|
- lib/schematic/types/raw_event_batch_response_data.rb
|
|
1113
1149
|
- lib/schematic/types/raw_event_response_data.rb
|
|
@@ -1164,6 +1200,7 @@ files:
|
|
|
1164
1200
|
- lib/schematic/types/stripe_sandbox_countries_response_data.rb
|
|
1165
1201
|
- lib/schematic/types/stripe_sandbox_install_response_data.rb
|
|
1166
1202
|
- lib/schematic/types/stripe_sandbox_keys_response_data.rb
|
|
1203
|
+
- lib/schematic/types/subscription_change_action.rb
|
|
1167
1204
|
- lib/schematic/types/subscription_status.rb
|
|
1168
1205
|
- lib/schematic/types/subscription_trait_update.rb
|
|
1169
1206
|
- lib/schematic/types/subscription_type.rb
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
# frozen_string_literal: true
|
|
2
|
-
|
|
3
|
-
module Schematic
|
|
4
|
-
module Plans
|
|
5
|
-
module Types
|
|
6
|
-
class PublishPlanVersionRequestBody < Internal::Types::Model
|
|
7
|
-
field :plan_version_id, -> { String }, optional: false, nullable: false
|
|
8
|
-
|
|
9
|
-
field :activation_strategy, -> { Schematic::Types::CustomPlanActivationStrategy }, optional: true, nullable: false
|
|
10
|
-
|
|
11
|
-
field :address, -> { Schematic::Types::CustomerBillingAddress }, optional: true, nullable: false
|
|
12
|
-
|
|
13
|
-
field :billing_cycle_anchor, -> { String }, optional: true, nullable: false
|
|
14
|
-
|
|
15
|
-
field :billing_start_date, -> { String }, optional: true, nullable: false
|
|
16
|
-
|
|
17
|
-
field :collection_method, -> { Schematic::Types::BillingCollectionMethod }, optional: true, nullable: false
|
|
18
|
-
|
|
19
|
-
field :coupon_external_id, -> { String }, optional: true, nullable: false
|
|
20
|
-
|
|
21
|
-
field :custom_field_values, -> { Internal::Types::Array[Schematic::Types::CheckoutFieldValue] }, optional: true, nullable: false
|
|
22
|
-
|
|
23
|
-
field :customer_email, -> { String }, optional: true, nullable: false
|
|
24
|
-
|
|
25
|
-
field :days_until_due, -> { Integer }, optional: true, nullable: false
|
|
26
|
-
|
|
27
|
-
field :excluded_company_ids, -> { Internal::Types::Array[String] }, optional: false, nullable: false
|
|
28
|
-
|
|
29
|
-
field :migration_strategy, -> { Schematic::Types::PlanVersionMigrationStrategy }, optional: false, nullable: false
|
|
30
|
-
|
|
31
|
-
field :phone, -> { String }, optional: true, nullable: false
|
|
32
|
-
|
|
33
|
-
field :prorate_first_period, -> { Internal::Types::Boolean }, optional: true, nullable: false
|
|
34
|
-
|
|
35
|
-
field :proration_behavior, -> { Schematic::Types::MigrationProrationBehavior }, optional: true, nullable: false
|
|
36
|
-
|
|
37
|
-
field :require_no_migration, -> { Internal::Types::Boolean }, optional: true, nullable: false
|
|
38
|
-
|
|
39
|
-
field :scheduled_at, -> { String }, optional: true, nullable: false
|
|
40
|
-
|
|
41
|
-
field :send_invoice, -> { Internal::Types::Boolean }, optional: true, nullable: false
|
|
42
|
-
|
|
43
|
-
field :tax_id, -> { Schematic::Types::TaxIdInput }, optional: true, nullable: false
|
|
44
|
-
end
|
|
45
|
-
end
|
|
46
|
-
end
|
|
47
|
-
end
|