schematichq 1.4.3 → 1.4.4
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 +2 -2
- data/WASM_VERSION +1 -1
- data/lib/schematic/accounts/client.rb +44 -0
- data/lib/schematic/accounts/types/count_account_members_params.rb +15 -0
- data/lib/schematic/accounts/types/count_account_members_request.rb +14 -0
- data/lib/schematic/accounts/types/count_account_members_response.rb +12 -0
- data/lib/schematic/client.rb +1 -1
- data/lib/schematic/integrationsapi/client.rb +99 -3
- data/lib/schematic/integrationsapi/types/assume_stripe_installed_response.rb +12 -0
- data/lib/schematic/integrationsapi/types/install_integration_response.rb +12 -0
- data/lib/schematic/integrationsapi/types/install_stripe_response.rb +12 -0
- data/lib/schematic/integrationsapi/types/{load_sample_data_set_v_2_response.rb → load_sample_data_set_response.rb} +1 -1
- data/lib/schematic/plangroups/types/create_plan_group_request_body.rb +1 -0
- data/lib/schematic/plangroups/types/update_plan_group_request_body.rb +1 -0
- data/lib/schematic/types/account_member_response_data.rb +2 -0
- data/lib/schematic/types/billing_credit_grant_reason.rb +1 -0
- data/lib/schematic/types/billing_credit_grant_response_data.rb +3 -0
- data/lib/schematic/types/billing_credit_ledger_authority.rb +13 -0
- data/lib/schematic/types/billing_credit_view.rb +1 -0
- data/lib/schematic/types/billing_plan_credit_grant_response_data.rb +1 -0
- data/lib/schematic/types/billing_provider_type.rb +1 -0
- data/lib/schematic/types/change_subscription_internal_request_body.rb +1 -0
- data/lib/schematic/types/change_subscription_request_body.rb +1 -0
- data/lib/schematic/types/checkout_data_response_data.rb +1 -0
- data/lib/schematic/types/checkout_field_input.rb +14 -0
- data/lib/schematic/types/checkout_field_response_data.rb +18 -0
- data/lib/schematic/types/checkout_field_value.rb +10 -0
- data/lib/schematic/types/checkout_field_with_value.rb +15 -0
- data/lib/schematic/types/company_credit_balance_response_data.rb +2 -0
- data/lib/schematic/types/company_plan_credit_grant_view.rb +1 -0
- data/lib/schematic/types/component_hydrate_response_data.rb +1 -0
- data/lib/schematic/types/component_preview_response_data.rb +1 -0
- data/lib/schematic/types/create_billing_plan_credit_grant_request_body.rb +1 -0
- data/lib/schematic/types/credit_company_grant_view.rb +3 -0
- data/lib/schematic/types/credit_event_ledger_response_data.rb +1 -0
- data/lib/schematic/types/credit_usage_reason.rb +15 -0
- data/lib/schematic/types/event_detail_response_data.rb +1 -0
- data/lib/schematic/types/event_response_data.rb +1 -0
- data/lib/schematic/types/install_integration_request_body.rb +14 -0
- data/lib/schematic/types/integration_config.rb +1 -0
- data/lib/schematic/types/integration_install_config.rb +18 -0
- data/lib/schematic/types/integration_install_response_data.rb +11 -0
- data/lib/schematic/types/integration_type.rb +1 -0
- data/lib/schematic/types/manage_plan_request.rb +1 -0
- data/lib/schematic/types/metronome_integration_config.rb +7 -0
- data/lib/schematic/types/migration_error_code.rb +1 -0
- data/lib/schematic/types/plan_credit_grant_view.rb +1 -0
- data/lib/schematic/types/plan_group_detail_response_data.rb +1 -0
- data/lib/schematic/types/update_billing_plan_credit_grant_request_body.rb +1 -0
- data/lib/schematic/version.rb +1 -1
- data/lib/schematic/wasm/rulesengine.wasm +0 -0
- data/lib/schematic.rb +20 -4
- data/reference.md +268 -15
- metadata +19 -3
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Schematic
|
|
4
|
+
module Types
|
|
5
|
+
class IntegrationInstallConfig < Internal::Types::Model
|
|
6
|
+
field :company_matching_criteria, -> { Schematic::Types::CompanyMatchingCriteria }, optional: true, nullable: false
|
|
7
|
+
field :company_matching_field, -> { String }, optional: true, nullable: false
|
|
8
|
+
field :config, -> { Schematic::Types::IntegrationConfig }, optional: true, nullable: false
|
|
9
|
+
field :created_at, -> { String }, optional: false, nullable: false
|
|
10
|
+
field :id, -> { String }, optional: false, nullable: false
|
|
11
|
+
field :integration_id, -> { String }, optional: false, nullable: false
|
|
12
|
+
field :is_app_install, -> { Internal::Types::Boolean }, optional: false, nullable: false
|
|
13
|
+
field :is_connect_install, -> { Internal::Types::Boolean }, optional: false, nullable: false
|
|
14
|
+
field :live_mode, -> { Internal::Types::Boolean }, optional: false, nullable: false
|
|
15
|
+
field :updated_at, -> { String }, optional: false, nullable: false
|
|
16
|
+
end
|
|
17
|
+
end
|
|
18
|
+
end
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Schematic
|
|
4
|
+
module Types
|
|
5
|
+
class IntegrationInstallResponseData < Internal::Types::Model
|
|
6
|
+
field :capabilities, -> { Schematic::Types::IntegrationCapabilities }, optional: false, nullable: false
|
|
7
|
+
field :config, -> { Schematic::Types::IntegrationInstallConfig }, optional: false, nullable: false
|
|
8
|
+
field :integration, -> { Schematic::Types::IntegrationResponseData }, optional: false, nullable: false
|
|
9
|
+
end
|
|
10
|
+
end
|
|
11
|
+
end
|
|
@@ -11,6 +11,7 @@ module Schematic
|
|
|
11
11
|
field :company_id, -> { String }, optional: false, nullable: false
|
|
12
12
|
field :coupon_external_id, -> { String }, optional: true, nullable: false
|
|
13
13
|
field :credit_bundles, -> { Internal::Types::Array[Schematic::Types::UpdateCreditBundleRequestBody] }, optional: false, nullable: false
|
|
14
|
+
field :custom_field_values, -> { Internal::Types::Array[Schematic::Types::CheckoutFieldValue] }, optional: false, nullable: false
|
|
14
15
|
field :pay_in_advance_entitlements, -> { Internal::Types::Array[Schematic::Types::UpdatePayInAdvanceRequestBody] }, optional: false, nullable: false
|
|
15
16
|
field :payment_method_external_id, -> { String }, optional: true, nullable: false
|
|
16
17
|
field :promo_code, -> { String }, optional: true, nullable: false
|
|
@@ -9,6 +9,7 @@ module Schematic
|
|
|
9
9
|
MULTIPLE_SUBSCRIPTIONS = "multiple_subscriptions"
|
|
10
10
|
NO_PRICE_FOR_INTERVAL = "no_price_for_interval"
|
|
11
11
|
NOT_ON_ORIGIN_VERSION = "not_on_origin_version"
|
|
12
|
+
OPERATION_ITEM_NOT_FOUND = "operation_item_not_found"
|
|
12
13
|
PERMANENT_CONFIG = "permanent_config"
|
|
13
14
|
PERMANENT_DECLINE = "permanent_decline"
|
|
14
15
|
TRANSIENT_DECLINE = "transient_decline"
|
|
@@ -30,6 +30,7 @@ module Schematic
|
|
|
30
30
|
field :reset_cadence, -> { Schematic::Types::BillingPlanCreditGrantResetCadence }, optional: true, nullable: false
|
|
31
31
|
field :reset_start, -> { Schematic::Types::BillingPlanCreditGrantResetStart }, optional: true, nullable: false
|
|
32
32
|
field :reset_type, -> { Schematic::Types::BillingPlanCreditGrantResetType }, optional: false, nullable: false
|
|
33
|
+
field :rollover_percentage, -> { Integer }, optional: false, nullable: false
|
|
33
34
|
field :singular_name, -> { String }, optional: true, nullable: false
|
|
34
35
|
field :updated_at, -> { String }, optional: false, nullable: false
|
|
35
36
|
end
|
|
@@ -6,6 +6,7 @@ module Schematic
|
|
|
6
6
|
field :add_ons, -> { Internal::Types::Array[Schematic::Types::PlanGroupPlanDetailResponseData] }, optional: false, nullable: false
|
|
7
7
|
field :checkout_settings, -> { Schematic::Types::CheckoutSettingsResponseData }, optional: false, nullable: false
|
|
8
8
|
field :component_settings, -> { Schematic::Types::ComponentSettingsResponseData }, optional: false, nullable: false
|
|
9
|
+
field :custom_checkout_fields, -> { Internal::Types::Array[Schematic::Types::CheckoutFieldResponseData] }, optional: false, nullable: false
|
|
9
10
|
field :custom_plan_config, -> { Schematic::Types::CustomPlanViewConfigResponseData }, optional: true, nullable: false
|
|
10
11
|
field :custom_plan_id, -> { String }, optional: true, nullable: false
|
|
11
12
|
field :default_plan, -> { Schematic::Types::PlanGroupPlanDetailResponseData }, optional: true, nullable: false
|
|
@@ -20,6 +20,7 @@ module Schematic
|
|
|
20
20
|
field :reset_cadence, -> { Schematic::Types::BillingPlanCreditGrantResetCadence }, optional: false, nullable: false
|
|
21
21
|
field :reset_start, -> { Schematic::Types::BillingPlanCreditGrantResetStart }, optional: false, nullable: false
|
|
22
22
|
field :reset_type, -> { Schematic::Types::BillingPlanCreditGrantResetType }, optional: true, nullable: false
|
|
23
|
+
field :rollover_percentage, -> { Integer }, optional: true, nullable: false
|
|
23
24
|
end
|
|
24
25
|
end
|
|
25
26
|
end
|
data/lib/schematic/version.rb
CHANGED
|
Binary file
|
data/lib/schematic.rb
CHANGED
|
@@ -41,6 +41,9 @@ require_relative "schematic/types/account_member_role"
|
|
|
41
41
|
require_relative "schematic/types/account_member_response_data"
|
|
42
42
|
require_relative "schematic/accounts/types/list_account_members_response"
|
|
43
43
|
require_relative "schematic/accounts/types/get_account_member_response"
|
|
44
|
+
require_relative "schematic/accounts/types/count_account_members_params"
|
|
45
|
+
require_relative "schematic/types/count_response"
|
|
46
|
+
require_relative "schematic/accounts/types/count_account_members_response"
|
|
44
47
|
require_relative "schematic/accounts/types/list_api_keys_params"
|
|
45
48
|
require_relative "schematic/types/integration_state"
|
|
46
49
|
require_relative "schematic/types/integration_type"
|
|
@@ -57,7 +60,6 @@ require_relative "schematic/accounts/types/update_api_key_response"
|
|
|
57
60
|
require_relative "schematic/types/delete_response"
|
|
58
61
|
require_relative "schematic/accounts/types/delete_api_key_response"
|
|
59
62
|
require_relative "schematic/accounts/types/count_api_keys_params"
|
|
60
|
-
require_relative "schematic/types/count_response"
|
|
61
63
|
require_relative "schematic/accounts/types/count_api_keys_response"
|
|
62
64
|
require_relative "schematic/types/actor_type"
|
|
63
65
|
require_relative "schematic/accounts/types/list_audit_logs_params"
|
|
@@ -203,12 +205,14 @@ require_relative "schematic/credits/types/count_billing_plan_credit_grants_param
|
|
|
203
205
|
require_relative "schematic/credits/types/count_billing_plan_credit_grants_response"
|
|
204
206
|
require_relative "schematic/types/credit_event_type"
|
|
205
207
|
require_relative "schematic/credits/types/list_credit_event_ledger_params"
|
|
208
|
+
require_relative "schematic/types/credit_usage_reason"
|
|
206
209
|
require_relative "schematic/types/credit_event_ledger_response_data"
|
|
207
210
|
require_relative "schematic/credits/types/list_credit_event_ledger_response"
|
|
208
211
|
require_relative "schematic/credits/types/count_credit_event_ledger_params"
|
|
209
212
|
require_relative "schematic/credits/types/count_credit_event_ledger_response"
|
|
210
213
|
require_relative "schematic/types/checkout_subscription"
|
|
211
214
|
require_relative "schematic/checkout/types/checkout_internal_response"
|
|
215
|
+
require_relative "schematic/types/billing_credit_ledger_authority"
|
|
212
216
|
require_relative "schematic/types/credit_currency_price"
|
|
213
217
|
require_relative "schematic/types/billing_credit_view"
|
|
214
218
|
require_relative "schematic/types/billing_linked_resource_response_data"
|
|
@@ -217,6 +221,7 @@ require_relative "schematic/types/billing_strategy"
|
|
|
217
221
|
require_relative "schematic/types/billing_subscription_discount_view"
|
|
218
222
|
require_relative "schematic/types/billing_subscription_view"
|
|
219
223
|
require_relative "schematic/types/charge_type"
|
|
224
|
+
require_relative "schematic/types/checkout_field_with_value"
|
|
220
225
|
require_relative "schematic/types/metric_period"
|
|
221
226
|
require_relative "schematic/types/metric_period_month_reset"
|
|
222
227
|
require_relative "schematic/types/company_event_period_metrics_response_data"
|
|
@@ -536,6 +541,7 @@ require_relative "schematic/integrationsapi/types/run_integration_response"
|
|
|
536
541
|
require_relative "schematic/integrationsapi/types/list_integrations_params"
|
|
537
542
|
require_relative "schematic/types/clerk_integration_config"
|
|
538
543
|
require_relative "schematic/types/integration_capabilities"
|
|
544
|
+
require_relative "schematic/types/metronome_integration_config"
|
|
539
545
|
require_relative "schematic/types/orb_integration_config"
|
|
540
546
|
require_relative "schematic/types/stripe_integration_config"
|
|
541
547
|
require_relative "schematic/types/work_os_integration_config"
|
|
@@ -544,11 +550,19 @@ require_relative "schematic/types/integrations_list_response_data"
|
|
|
544
550
|
require_relative "schematic/integrationsapi/types/list_integrations_response"
|
|
545
551
|
require_relative "schematic/types/integration_webhook_url_response_data"
|
|
546
552
|
require_relative "schematic/integrationsapi/types/get_integration_webhook_url_response"
|
|
553
|
+
require_relative "schematic/types/company_matching_criteria"
|
|
554
|
+
require_relative "schematic/types/integration_install_config"
|
|
555
|
+
require_relative "schematic/types/integration_response_data"
|
|
556
|
+
require_relative "schematic/types/integration_install_response_data"
|
|
557
|
+
require_relative "schematic/integrationsapi/types/install_integration_response"
|
|
547
558
|
require_relative "schematic/integrationsapi/types/start_data_import_response"
|
|
548
559
|
require_relative "schematic/types/integrations_data_set_response_data"
|
|
549
|
-
require_relative "schematic/integrationsapi/types/
|
|
560
|
+
require_relative "schematic/integrationsapi/types/load_sample_data_set_response"
|
|
561
|
+
require_relative "schematic/integrationsapi/types/assume_stripe_installed_response"
|
|
562
|
+
require_relative "schematic/integrationsapi/types/install_stripe_response"
|
|
550
563
|
require_relative "schematic/integrationsapi/types/uninstall_integration_response"
|
|
551
564
|
require_relative "schematic/plangroups/types/get_plan_group_params"
|
|
565
|
+
require_relative "schematic/types/checkout_field_response_data"
|
|
552
566
|
require_relative "schematic/types/checkout_settings_response_data"
|
|
553
567
|
require_relative "schematic/types/component_settings_response_data"
|
|
554
568
|
require_relative "schematic/types/custom_plan_view_config_response_data"
|
|
@@ -620,6 +634,7 @@ require_relative "schematic/types/billing_product_pricing"
|
|
|
620
634
|
require_relative "schematic/types/billing_subscription_discount"
|
|
621
635
|
require_relative "schematic/types/capture_raw_event"
|
|
622
636
|
require_relative "schematic/types/capture_raw_event_batch"
|
|
637
|
+
require_relative "schematic/types/checkout_field_value"
|
|
623
638
|
require_relative "schematic/types/update_add_on_request_body"
|
|
624
639
|
require_relative "schematic/types/update_auto_topup_override_request_body"
|
|
625
640
|
require_relative "schematic/types/update_credit_bundle_request_body"
|
|
@@ -627,7 +642,7 @@ require_relative "schematic/types/update_pay_in_advance_request_body"
|
|
|
627
642
|
require_relative "schematic/types/change_subscription_internal_request_body"
|
|
628
643
|
require_relative "schematic/types/change_subscription_request_body"
|
|
629
644
|
require_relative "schematic/types/check_flag_request_body"
|
|
630
|
-
require_relative "schematic/types/
|
|
645
|
+
require_relative "schematic/types/checkout_field_input"
|
|
631
646
|
require_relative "schematic/types/company_membership_response_data"
|
|
632
647
|
require_relative "schematic/types/component_hydrate_response_data"
|
|
633
648
|
require_relative "schematic/types/condition_group_response_data"
|
|
@@ -671,7 +686,7 @@ require_relative "schematic/types/rule_view"
|
|
|
671
686
|
require_relative "schematic/types/flag_view"
|
|
672
687
|
require_relative "schematic/types/feature_view"
|
|
673
688
|
require_relative "schematic/types/feature_usage_legacy_response_data"
|
|
674
|
-
require_relative "schematic/types/
|
|
689
|
+
require_relative "schematic/types/install_integration_request_body"
|
|
675
690
|
require_relative "schematic/types/invoice_request_body"
|
|
676
691
|
require_relative "schematic/types/keys_request_body"
|
|
677
692
|
require_relative "schematic/types/plan_selection"
|
|
@@ -728,6 +743,7 @@ require_relative "schematic/types/webhook_url"
|
|
|
728
743
|
require_relative "schematic/client"
|
|
729
744
|
require_relative "schematic/accounts/client"
|
|
730
745
|
require_relative "schematic/accounts/types/list_account_members_request"
|
|
746
|
+
require_relative "schematic/accounts/types/count_account_members_request"
|
|
731
747
|
require_relative "schematic/accounts/types/list_api_keys_request"
|
|
732
748
|
require_relative "schematic/accounts/types/create_api_key_request_body"
|
|
733
749
|
require_relative "schematic/accounts/types/update_api_key_request_body"
|
data/reference.md
CHANGED
|
@@ -121,6 +121,83 @@ client.accounts.get_account_member(account_member_id: "account_member_id")
|
|
|
121
121
|
</dl>
|
|
122
122
|
|
|
123
123
|
|
|
124
|
+
</dd>
|
|
125
|
+
</dl>
|
|
126
|
+
</details>
|
|
127
|
+
|
|
128
|
+
<details><summary><code>client.accounts.<a href="/lib/schematic/accounts/client.rb">count_account_members</a>() -> Schematic::Accounts::Types::CountAccountMembersResponse</code></summary>
|
|
129
|
+
<dl>
|
|
130
|
+
<dd>
|
|
131
|
+
|
|
132
|
+
#### 🔌 Usage
|
|
133
|
+
|
|
134
|
+
<dl>
|
|
135
|
+
<dd>
|
|
136
|
+
|
|
137
|
+
<dl>
|
|
138
|
+
<dd>
|
|
139
|
+
|
|
140
|
+
```ruby
|
|
141
|
+
client.accounts.count_account_members(
|
|
142
|
+
ids: ["ids"],
|
|
143
|
+
q: "q",
|
|
144
|
+
limit: 1000000,
|
|
145
|
+
offset: 1000000
|
|
146
|
+
)
|
|
147
|
+
```
|
|
148
|
+
</dd>
|
|
149
|
+
</dl>
|
|
150
|
+
</dd>
|
|
151
|
+
</dl>
|
|
152
|
+
|
|
153
|
+
#### ⚙️ Parameters
|
|
154
|
+
|
|
155
|
+
<dl>
|
|
156
|
+
<dd>
|
|
157
|
+
|
|
158
|
+
<dl>
|
|
159
|
+
<dd>
|
|
160
|
+
|
|
161
|
+
**ids:** `String`
|
|
162
|
+
|
|
163
|
+
</dd>
|
|
164
|
+
</dl>
|
|
165
|
+
|
|
166
|
+
<dl>
|
|
167
|
+
<dd>
|
|
168
|
+
|
|
169
|
+
**q:** `String` — Search filter
|
|
170
|
+
|
|
171
|
+
</dd>
|
|
172
|
+
</dl>
|
|
173
|
+
|
|
174
|
+
<dl>
|
|
175
|
+
<dd>
|
|
176
|
+
|
|
177
|
+
**limit:** `Integer` — Page limit (default 100)
|
|
178
|
+
|
|
179
|
+
</dd>
|
|
180
|
+
</dl>
|
|
181
|
+
|
|
182
|
+
<dl>
|
|
183
|
+
<dd>
|
|
184
|
+
|
|
185
|
+
**offset:** `Integer` — Page offset (default 0)
|
|
186
|
+
|
|
187
|
+
</dd>
|
|
188
|
+
</dl>
|
|
189
|
+
|
|
190
|
+
<dl>
|
|
191
|
+
<dd>
|
|
192
|
+
|
|
193
|
+
**request_options:** `Schematic::Accounts::RequestOptions`
|
|
194
|
+
|
|
195
|
+
</dd>
|
|
196
|
+
</dl>
|
|
197
|
+
</dd>
|
|
198
|
+
</dl>
|
|
199
|
+
|
|
200
|
+
|
|
124
201
|
</dd>
|
|
125
202
|
</dl>
|
|
126
203
|
</details>
|
|
@@ -1452,7 +1529,7 @@ client.billing.upsert_billing_customer(
|
|
|
1452
1529
|
client.billing.list_customers_with_subscriptions(
|
|
1453
1530
|
company_ids: ["company_ids"],
|
|
1454
1531
|
name: "name",
|
|
1455
|
-
provider_type: "
|
|
1532
|
+
provider_type: "metronome",
|
|
1456
1533
|
q: "q",
|
|
1457
1534
|
limit: 1000000,
|
|
1458
1535
|
offset: 1000000
|
|
@@ -1547,7 +1624,7 @@ client.billing.list_customers_with_subscriptions(
|
|
|
1547
1624
|
client.billing.count_customers(
|
|
1548
1625
|
company_ids: ["company_ids"],
|
|
1549
1626
|
name: "name",
|
|
1550
|
-
provider_type: "
|
|
1627
|
+
provider_type: "metronome",
|
|
1551
1628
|
q: "q",
|
|
1552
1629
|
limit: 1000000,
|
|
1553
1630
|
offset: 1000000
|
|
@@ -2305,7 +2382,7 @@ client.billing.list_billing_prices(
|
|
|
2305
2382
|
price: 1000000,
|
|
2306
2383
|
product_id: "product_id",
|
|
2307
2384
|
product_ids: ["product_ids"],
|
|
2308
|
-
provider_type: "
|
|
2385
|
+
provider_type: "metronome",
|
|
2309
2386
|
q: "q",
|
|
2310
2387
|
tiers_mode: "graduated",
|
|
2311
2388
|
usage_type: "licensed",
|
|
@@ -2727,7 +2804,7 @@ client.billing.list_billing_product_prices(
|
|
|
2727
2804
|
price: 1000000,
|
|
2728
2805
|
product_id: "product_id",
|
|
2729
2806
|
product_ids: ["product_ids"],
|
|
2730
|
-
provider_type: "
|
|
2807
|
+
provider_type: "metronome",
|
|
2731
2808
|
q: "q",
|
|
2732
2809
|
tiers_mode: "graduated",
|
|
2733
2810
|
usage_type: "licensed",
|
|
@@ -3038,7 +3115,7 @@ client.billing.list_billing_products(
|
|
|
3038
3115
|
is_active: true,
|
|
3039
3116
|
name: "name",
|
|
3040
3117
|
price_usage_type: "licensed",
|
|
3041
|
-
provider_type: "
|
|
3118
|
+
provider_type: "metronome",
|
|
3042
3119
|
q: "q",
|
|
3043
3120
|
recurring_charges_only: true,
|
|
3044
3121
|
with_one_time_charges: true,
|
|
@@ -3196,7 +3273,7 @@ client.billing.count_billing_products(
|
|
|
3196
3273
|
is_active: true,
|
|
3197
3274
|
name: "name",
|
|
3198
3275
|
price_usage_type: "licensed",
|
|
3199
|
-
provider_type: "
|
|
3276
|
+
provider_type: "metronome",
|
|
3200
3277
|
q: "q",
|
|
3201
3278
|
recurring_charges_only: true,
|
|
3202
3279
|
with_one_time_charges: true,
|
|
@@ -6355,6 +6432,10 @@ client.checkout.internal(
|
|
|
6355
6432
|
bundle_id: "bundle_id",
|
|
6356
6433
|
quantity: 1000000
|
|
6357
6434
|
}],
|
|
6435
|
+
custom_field_values: [{
|
|
6436
|
+
id: "id",
|
|
6437
|
+
value: "value"
|
|
6438
|
+
}],
|
|
6358
6439
|
new_plan_id: "new_plan_id",
|
|
6359
6440
|
new_price_id: "new_price_id",
|
|
6360
6441
|
pay_in_advance: [{
|
|
@@ -6479,6 +6560,10 @@ client.checkout.preview_checkout_internal(
|
|
|
6479
6560
|
bundle_id: "bundle_id",
|
|
6480
6561
|
quantity: 1000000
|
|
6481
6562
|
}],
|
|
6563
|
+
custom_field_values: [{
|
|
6564
|
+
id: "id",
|
|
6565
|
+
value: "value"
|
|
6566
|
+
}],
|
|
6482
6567
|
new_plan_id: "new_plan_id",
|
|
6483
6568
|
new_price_id: "new_price_id",
|
|
6484
6569
|
pay_in_advance: [{
|
|
@@ -6543,6 +6628,10 @@ client.checkout.manage_plan(
|
|
|
6543
6628
|
bundle_id: "bundle_id",
|
|
6544
6629
|
quantity: 1000000
|
|
6545
6630
|
}],
|
|
6631
|
+
custom_field_values: [{
|
|
6632
|
+
id: "id",
|
|
6633
|
+
value: "value"
|
|
6634
|
+
}],
|
|
6546
6635
|
pay_in_advance_entitlements: [{
|
|
6547
6636
|
price_id: "price_id",
|
|
6548
6637
|
quantity: 1000000
|
|
@@ -6604,6 +6693,10 @@ client.checkout.preview_manage_plan(
|
|
|
6604
6693
|
bundle_id: "bundle_id",
|
|
6605
6694
|
quantity: 1000000
|
|
6606
6695
|
}],
|
|
6696
|
+
custom_field_values: [{
|
|
6697
|
+
id: "id",
|
|
6698
|
+
value: "value"
|
|
6699
|
+
}],
|
|
6607
6700
|
pay_in_advance_entitlements: [{
|
|
6608
6701
|
price_id: "price_id",
|
|
6609
6702
|
quantity: 1000000
|
|
@@ -10285,7 +10378,7 @@ client.entitlements.list_feature_usage(
|
|
|
10285
10378
|
company_id: "company_id",
|
|
10286
10379
|
feature_ids: ["feature_ids"],
|
|
10287
10380
|
include_usage_aggregation: true,
|
|
10288
|
-
managed_by: "
|
|
10381
|
+
managed_by: "metronome",
|
|
10289
10382
|
q: "q",
|
|
10290
10383
|
without_negative_entitlements: true,
|
|
10291
10384
|
limit: 1000000,
|
|
@@ -10492,7 +10585,7 @@ client.entitlements.count_feature_usage(
|
|
|
10492
10585
|
company_id: "company_id",
|
|
10493
10586
|
feature_ids: ["feature_ids"],
|
|
10494
10587
|
include_usage_aggregation: true,
|
|
10495
|
-
managed_by: "
|
|
10588
|
+
managed_by: "metronome",
|
|
10496
10589
|
q: "q",
|
|
10497
10590
|
without_negative_entitlements: true,
|
|
10498
10591
|
limit: 1000000,
|
|
@@ -11599,7 +11692,7 @@ client.entitlements.delete_plan_entitlement(plan_entitlement_id: "plan_entitleme
|
|
|
11599
11692
|
|
|
11600
11693
|
```ruby
|
|
11601
11694
|
client.entitlements.upsert_plan_entitlement_for_billing_product(
|
|
11602
|
-
billing_provider: "
|
|
11695
|
+
billing_provider: "metronome",
|
|
11603
11696
|
external_resource_id: "external_resource_id",
|
|
11604
11697
|
feature_id: "feature_id",
|
|
11605
11698
|
plan_id: "plan_id",
|
|
@@ -13039,7 +13132,7 @@ client.plans.upsert_billing_product_plan(
|
|
|
13039
13132
|
|
|
13040
13133
|
```ruby
|
|
13041
13134
|
client.plans.upsert_plan_for_billing_product(
|
|
13042
|
-
billing_provider: "
|
|
13135
|
+
billing_provider: "metronome",
|
|
13043
13136
|
description: "description",
|
|
13044
13137
|
external_resource_id: "external_resource_id",
|
|
13045
13138
|
name: "name",
|
|
@@ -14898,7 +14991,7 @@ client.features.list_features(
|
|
|
14898
14991
|
boolean_require_event: true,
|
|
14899
14992
|
feature_type: ["boolean"],
|
|
14900
14993
|
ids: ["ids"],
|
|
14901
|
-
managed_by: "
|
|
14994
|
+
managed_by: "metronome",
|
|
14902
14995
|
plan_version_id: "plan_version_id",
|
|
14903
14996
|
q: "q",
|
|
14904
14997
|
without_company_override_for: "without_company_override_for",
|
|
@@ -15390,7 +15483,7 @@ client.features.delete_feature(feature_id: "feature_id")
|
|
|
15390
15483
|
|
|
15391
15484
|
```ruby
|
|
15392
15485
|
client.features.upsert_feature_for_billing_product(
|
|
15393
|
-
billing_provider: "
|
|
15486
|
+
billing_provider: "metronome",
|
|
15394
15487
|
description: "description",
|
|
15395
15488
|
external_resource_id: "external_resource_id",
|
|
15396
15489
|
feature_type: "boolean",
|
|
@@ -15543,7 +15636,7 @@ client.features.count_features(
|
|
|
15543
15636
|
boolean_require_event: true,
|
|
15544
15637
|
feature_type: ["boolean"],
|
|
15545
15638
|
ids: ["ids"],
|
|
15546
|
-
managed_by: "
|
|
15639
|
+
managed_by: "metronome",
|
|
15547
15640
|
plan_version_id: "plan_version_id",
|
|
15548
15641
|
q: "q",
|
|
15549
15642
|
without_company_override_for: "without_company_override_for",
|
|
@@ -16825,6 +16918,54 @@ client.integrationsapi.get_integration_webhook_url(type: "type")
|
|
|
16825
16918
|
</dl>
|
|
16826
16919
|
|
|
16827
16920
|
|
|
16921
|
+
</dd>
|
|
16922
|
+
</dl>
|
|
16923
|
+
</details>
|
|
16924
|
+
|
|
16925
|
+
<details><summary><code>client.integrationsapi.<a href="/lib/schematic/integrationsapi/client.rb">install_integration</a>(request) -> Schematic::Integrationsapi::Types::InstallIntegrationResponse</code></summary>
|
|
16926
|
+
<dl>
|
|
16927
|
+
<dd>
|
|
16928
|
+
|
|
16929
|
+
#### 🔌 Usage
|
|
16930
|
+
|
|
16931
|
+
<dl>
|
|
16932
|
+
<dd>
|
|
16933
|
+
|
|
16934
|
+
<dl>
|
|
16935
|
+
<dd>
|
|
16936
|
+
|
|
16937
|
+
```ruby
|
|
16938
|
+
client.integrationsapi.install_integration(type: "clerk")
|
|
16939
|
+
```
|
|
16940
|
+
</dd>
|
|
16941
|
+
</dl>
|
|
16942
|
+
</dd>
|
|
16943
|
+
</dl>
|
|
16944
|
+
|
|
16945
|
+
#### ⚙️ Parameters
|
|
16946
|
+
|
|
16947
|
+
<dl>
|
|
16948
|
+
<dd>
|
|
16949
|
+
|
|
16950
|
+
<dl>
|
|
16951
|
+
<dd>
|
|
16952
|
+
|
|
16953
|
+
**request:** `Schematic::Types::InstallIntegrationRequestBody`
|
|
16954
|
+
|
|
16955
|
+
</dd>
|
|
16956
|
+
</dl>
|
|
16957
|
+
|
|
16958
|
+
<dl>
|
|
16959
|
+
<dd>
|
|
16960
|
+
|
|
16961
|
+
**request_options:** `Schematic::Integrationsapi::RequestOptions`
|
|
16962
|
+
|
|
16963
|
+
</dd>
|
|
16964
|
+
</dl>
|
|
16965
|
+
</dd>
|
|
16966
|
+
</dl>
|
|
16967
|
+
|
|
16968
|
+
|
|
16828
16969
|
</dd>
|
|
16829
16970
|
</dl>
|
|
16830
16971
|
</details>
|
|
@@ -16893,7 +17034,95 @@ client.integrationsapi.start_data_import(integration_id: "integration_id")
|
|
|
16893
17034
|
</dl>
|
|
16894
17035
|
</details>
|
|
16895
17036
|
|
|
16896
|
-
<details><summary><code>client.integrationsapi.<a href="/lib/schematic/integrationsapi/client.rb">
|
|
17037
|
+
<details><summary><code>client.integrationsapi.<a href="/lib/schematic/integrationsapi/client.rb">load_sample_data_set</a>() -> Schematic::Integrationsapi::Types::LoadSampleDataSetResponse</code></summary>
|
|
17038
|
+
<dl>
|
|
17039
|
+
<dd>
|
|
17040
|
+
|
|
17041
|
+
#### 🔌 Usage
|
|
17042
|
+
|
|
17043
|
+
<dl>
|
|
17044
|
+
<dd>
|
|
17045
|
+
|
|
17046
|
+
<dl>
|
|
17047
|
+
<dd>
|
|
17048
|
+
|
|
17049
|
+
```ruby
|
|
17050
|
+
client.integrationsapi.load_sample_data_set
|
|
17051
|
+
```
|
|
17052
|
+
</dd>
|
|
17053
|
+
</dl>
|
|
17054
|
+
</dd>
|
|
17055
|
+
</dl>
|
|
17056
|
+
|
|
17057
|
+
#### ⚙️ Parameters
|
|
17058
|
+
|
|
17059
|
+
<dl>
|
|
17060
|
+
<dd>
|
|
17061
|
+
|
|
17062
|
+
<dl>
|
|
17063
|
+
<dd>
|
|
17064
|
+
|
|
17065
|
+
**request_options:** `Schematic::Integrationsapi::RequestOptions`
|
|
17066
|
+
|
|
17067
|
+
</dd>
|
|
17068
|
+
</dl>
|
|
17069
|
+
</dd>
|
|
17070
|
+
</dl>
|
|
17071
|
+
|
|
17072
|
+
|
|
17073
|
+
</dd>
|
|
17074
|
+
</dl>
|
|
17075
|
+
</details>
|
|
17076
|
+
|
|
17077
|
+
<details><summary><code>client.integrationsapi.<a href="/lib/schematic/integrationsapi/client.rb">assume_stripe_installed</a>(request) -> Schematic::Integrationsapi::Types::AssumeStripeInstalledResponse</code></summary>
|
|
17078
|
+
<dl>
|
|
17079
|
+
<dd>
|
|
17080
|
+
|
|
17081
|
+
#### 🔌 Usage
|
|
17082
|
+
|
|
17083
|
+
<dl>
|
|
17084
|
+
<dd>
|
|
17085
|
+
|
|
17086
|
+
<dl>
|
|
17087
|
+
<dd>
|
|
17088
|
+
|
|
17089
|
+
```ruby
|
|
17090
|
+
client.integrationsapi.assume_stripe_installed(type: "clerk")
|
|
17091
|
+
```
|
|
17092
|
+
</dd>
|
|
17093
|
+
</dl>
|
|
17094
|
+
</dd>
|
|
17095
|
+
</dl>
|
|
17096
|
+
|
|
17097
|
+
#### ⚙️ Parameters
|
|
17098
|
+
|
|
17099
|
+
<dl>
|
|
17100
|
+
<dd>
|
|
17101
|
+
|
|
17102
|
+
<dl>
|
|
17103
|
+
<dd>
|
|
17104
|
+
|
|
17105
|
+
**request:** `Schematic::Types::InstallIntegrationRequestBody`
|
|
17106
|
+
|
|
17107
|
+
</dd>
|
|
17108
|
+
</dl>
|
|
17109
|
+
|
|
17110
|
+
<dl>
|
|
17111
|
+
<dd>
|
|
17112
|
+
|
|
17113
|
+
**request_options:** `Schematic::Integrationsapi::RequestOptions`
|
|
17114
|
+
|
|
17115
|
+
</dd>
|
|
17116
|
+
</dl>
|
|
17117
|
+
</dd>
|
|
17118
|
+
</dl>
|
|
17119
|
+
|
|
17120
|
+
|
|
17121
|
+
</dd>
|
|
17122
|
+
</dl>
|
|
17123
|
+
</details>
|
|
17124
|
+
|
|
17125
|
+
<details><summary><code>client.integrationsapi.<a href="/lib/schematic/integrationsapi/client.rb">install_stripe</a>(request) -> Schematic::Integrationsapi::Types::InstallStripeResponse</code></summary>
|
|
16897
17126
|
<dl>
|
|
16898
17127
|
<dd>
|
|
16899
17128
|
|
|
@@ -16906,7 +17135,7 @@ client.integrationsapi.start_data_import(integration_id: "integration_id")
|
|
|
16906
17135
|
<dd>
|
|
16907
17136
|
|
|
16908
17137
|
```ruby
|
|
16909
|
-
client.integrationsapi.
|
|
17138
|
+
client.integrationsapi.install_stripe(type: "clerk")
|
|
16910
17139
|
```
|
|
16911
17140
|
</dd>
|
|
16912
17141
|
</dl>
|
|
@@ -16921,6 +17150,14 @@ client.integrationsapi.load_sample_data_set_v_2
|
|
|
16921
17150
|
<dl>
|
|
16922
17151
|
<dd>
|
|
16923
17152
|
|
|
17153
|
+
**request:** `Schematic::Types::InstallIntegrationRequestBody`
|
|
17154
|
+
|
|
17155
|
+
</dd>
|
|
17156
|
+
</dl>
|
|
17157
|
+
|
|
17158
|
+
<dl>
|
|
17159
|
+
<dd>
|
|
17160
|
+
|
|
16924
17161
|
**request_options:** `Schematic::Integrationsapi::RequestOptions`
|
|
16925
17162
|
|
|
16926
17163
|
</dd>
|
|
@@ -17123,6 +17360,14 @@ client.plangroups.create_plan_group(
|
|
|
17123
17360
|
<dl>
|
|
17124
17361
|
<dd>
|
|
17125
17362
|
|
|
17363
|
+
**custom_checkout_fields:** `Internal::Types::Array[Schematic::Types::CheckoutFieldInput]`
|
|
17364
|
+
|
|
17365
|
+
</dd>
|
|
17366
|
+
</dl>
|
|
17367
|
+
|
|
17368
|
+
<dl>
|
|
17369
|
+
<dd>
|
|
17370
|
+
|
|
17126
17371
|
**custom_plan_config:** `Schematic::Types::CustomPlanConfig`
|
|
17127
17372
|
|
|
17128
17373
|
</dd>
|
|
@@ -17453,6 +17698,14 @@ client.plangroups.update_plan_group(
|
|
|
17453
17698
|
<dl>
|
|
17454
17699
|
<dd>
|
|
17455
17700
|
|
|
17701
|
+
**custom_checkout_fields:** `Internal::Types::Array[Schematic::Types::CheckoutFieldInput]`
|
|
17702
|
+
|
|
17703
|
+
</dd>
|
|
17704
|
+
</dl>
|
|
17705
|
+
|
|
17706
|
+
<dl>
|
|
17707
|
+
<dd>
|
|
17708
|
+
|
|
17456
17709
|
**custom_plan_config:** `Schematic::Types::CustomPlanConfig`
|
|
17457
17710
|
|
|
17458
17711
|
</dd>
|