schematichq 1.4.5 → 1.4.6

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.
Files changed (29) hide show
  1. checksums.yaml +4 -4
  2. data/.fern/metadata.json +2 -2
  3. data/.fern/replay.lock +20 -495
  4. data/WASM_VERSION +1 -1
  5. data/lib/schematic/billing/client.rb +102 -2
  6. data/lib/schematic/billing/types/delete_billing_coupon_response.rb +12 -0
  7. data/lib/schematic/billing/types/delete_billing_customer_response.rb +12 -0
  8. data/lib/schematic/billing/types/delete_billing_invoice_response.rb +12 -0
  9. data/lib/schematic/billing/types/list_billing_prices_params.rb +1 -0
  10. data/lib/schematic/billing/types/list_billing_prices_request.rb +1 -0
  11. data/lib/schematic/billing/types/list_billing_product_prices_params.rb +1 -0
  12. data/lib/schematic/billing/types/list_billing_product_prices_request.rb +1 -0
  13. data/lib/schematic/client.rb +1 -1
  14. data/lib/schematic/datastream/merge.rb +3 -4
  15. data/lib/schematic/types/account_member_permission.rb +0 -1
  16. data/lib/schematic/types/check_flags_response_data.rb +1 -0
  17. data/lib/schematic/types/company_credit_balance.rb +11 -0
  18. data/lib/schematic/types/company_subscription_response_data.rb +1 -0
  19. data/lib/schematic/types/feature_entitlement.rb +2 -0
  20. data/lib/schematic/types/rulesengine_feature_entitlement.rb +2 -0
  21. data/lib/schematic/types/test_webhook_response_data.rb +10 -0
  22. data/lib/schematic/version.rb +1 -1
  23. data/lib/schematic/wasm/rulesengine.wasm +0 -0
  24. data/lib/schematic/webhooks/client.rb +37 -0
  25. data/lib/schematic/webhooks/types/send_test_webhook_action_response.rb +12 -0
  26. data/lib/schematic/webhooks/types/test_webhook_request_body.rb +12 -0
  27. data/lib/schematic.rb +7 -0
  28. data/reference.md +221 -0
  29. metadata +9 -2
data/reference.md CHANGED
@@ -1446,6 +1446,102 @@ client.billing.upsert_billing_coupon(
1446
1446
  </dl>
1447
1447
 
1448
1448
 
1449
+ </dd>
1450
+ </dl>
1451
+ </details>
1452
+
1453
+ <details><summary><code>client.billing.<a href="/lib/schematic/billing/client.rb">delete_billing_coupon</a>(billing_id) -> Schematic::Billing::Types::DeleteBillingCouponResponse</code></summary>
1454
+ <dl>
1455
+ <dd>
1456
+
1457
+ #### 🔌 Usage
1458
+
1459
+ <dl>
1460
+ <dd>
1461
+
1462
+ <dl>
1463
+ <dd>
1464
+
1465
+ ```ruby
1466
+ client.billing.delete_billing_coupon(billing_id: "billing_id")
1467
+ ```
1468
+ </dd>
1469
+ </dl>
1470
+ </dd>
1471
+ </dl>
1472
+
1473
+ #### ⚙️ Parameters
1474
+
1475
+ <dl>
1476
+ <dd>
1477
+
1478
+ <dl>
1479
+ <dd>
1480
+
1481
+ **billing_id:** `String` — billing_id
1482
+
1483
+ </dd>
1484
+ </dl>
1485
+
1486
+ <dl>
1487
+ <dd>
1488
+
1489
+ **request_options:** `Schematic::Billing::RequestOptions`
1490
+
1491
+ </dd>
1492
+ </dl>
1493
+ </dd>
1494
+ </dl>
1495
+
1496
+
1497
+ </dd>
1498
+ </dl>
1499
+ </details>
1500
+
1501
+ <details><summary><code>client.billing.<a href="/lib/schematic/billing/client.rb">delete_billing_customer</a>(billing_id) -> Schematic::Billing::Types::DeleteBillingCustomerResponse</code></summary>
1502
+ <dl>
1503
+ <dd>
1504
+
1505
+ #### 🔌 Usage
1506
+
1507
+ <dl>
1508
+ <dd>
1509
+
1510
+ <dl>
1511
+ <dd>
1512
+
1513
+ ```ruby
1514
+ client.billing.delete_billing_customer(billing_id: "billing_id")
1515
+ ```
1516
+ </dd>
1517
+ </dl>
1518
+ </dd>
1519
+ </dl>
1520
+
1521
+ #### ⚙️ Parameters
1522
+
1523
+ <dl>
1524
+ <dd>
1525
+
1526
+ <dl>
1527
+ <dd>
1528
+
1529
+ **billing_id:** `String` — billing_id
1530
+
1531
+ </dd>
1532
+ </dl>
1533
+
1534
+ <dl>
1535
+ <dd>
1536
+
1537
+ **request_options:** `Schematic::Billing::RequestOptions`
1538
+
1539
+ </dd>
1540
+ </dl>
1541
+ </dd>
1542
+ </dl>
1543
+
1544
+
1449
1545
  </dd>
1450
1546
  </dl>
1451
1547
  </details>
@@ -1977,6 +2073,54 @@ client.billing.upsert_invoice(
1977
2073
  </dl>
1978
2074
 
1979
2075
 
2076
+ </dd>
2077
+ </dl>
2078
+ </details>
2079
+
2080
+ <details><summary><code>client.billing.<a href="/lib/schematic/billing/client.rb">delete_billing_invoice</a>(billing_id) -> Schematic::Billing::Types::DeleteBillingInvoiceResponse</code></summary>
2081
+ <dl>
2082
+ <dd>
2083
+
2084
+ #### 🔌 Usage
2085
+
2086
+ <dl>
2087
+ <dd>
2088
+
2089
+ <dl>
2090
+ <dd>
2091
+
2092
+ ```ruby
2093
+ client.billing.delete_billing_invoice(billing_id: "billing_id")
2094
+ ```
2095
+ </dd>
2096
+ </dl>
2097
+ </dd>
2098
+ </dl>
2099
+
2100
+ #### ⚙️ Parameters
2101
+
2102
+ <dl>
2103
+ <dd>
2104
+
2105
+ <dl>
2106
+ <dd>
2107
+
2108
+ **billing_id:** `String` — billing_id
2109
+
2110
+ </dd>
2111
+ </dl>
2112
+
2113
+ <dl>
2114
+ <dd>
2115
+
2116
+ **request_options:** `Schematic::Billing::RequestOptions`
2117
+
2118
+ </dd>
2119
+ </dl>
2120
+ </dd>
2121
+ </dl>
2122
+
2123
+
1980
2124
  </dd>
1981
2125
  </dl>
1982
2126
  </details>
@@ -2419,6 +2563,7 @@ client.billing.list_billing_prices(
2419
2563
  ids: ["ids"],
2420
2564
  interval: "interval",
2421
2565
  is_active: true,
2566
+ plan_version_id: "plan_version_id",
2422
2567
  price: 1000000,
2423
2568
  product_id: "product_id",
2424
2569
  product_ids: ["product_ids"],
@@ -2492,6 +2637,14 @@ client.billing.list_billing_prices(
2492
2637
  <dl>
2493
2638
  <dd>
2494
2639
 
2640
+ **plan_version_id:** `String` — Filter for prices belonging to a specific plan version (e.g. the latest published version)
2641
+
2642
+ </dd>
2643
+ </dl>
2644
+
2645
+ <dl>
2646
+ <dd>
2647
+
2495
2648
  **price:** `Integer`
2496
2649
 
2497
2650
  </dd>
@@ -2841,6 +2994,7 @@ client.billing.list_billing_product_prices(
2841
2994
  ids: ["ids"],
2842
2995
  interval: "interval",
2843
2996
  is_active: true,
2997
+ plan_version_id: "plan_version_id",
2844
2998
  price: 1000000,
2845
2999
  product_id: "product_id",
2846
3000
  product_ids: ["product_ids"],
@@ -2914,6 +3068,14 @@ client.billing.list_billing_product_prices(
2914
3068
  <dl>
2915
3069
  <dd>
2916
3070
 
3071
+ **plan_version_id:** `String` — Filter for prices belonging to a specific plan version (e.g. the latest published version)
3072
+
3073
+ </dd>
3074
+ </dl>
3075
+
3076
+ <dl>
3077
+ <dd>
3078
+
2917
3079
  **price:** `Integer`
2918
3080
 
2919
3081
  </dd>
@@ -19291,6 +19453,65 @@ client.webhooks.delete_webhook(webhook_id: "webhook_id")
19291
19453
  </dl>
19292
19454
 
19293
19455
 
19456
+ </dd>
19457
+ </dl>
19458
+ </details>
19459
+
19460
+ <details><summary><code>client.webhooks.<a href="/lib/schematic/webhooks/client.rb">send_test_webhook_action</a>(webhook_id, request) -> Schematic::Webhooks::Types::SendTestWebhookActionResponse</code></summary>
19461
+ <dl>
19462
+ <dd>
19463
+
19464
+ #### 🔌 Usage
19465
+
19466
+ <dl>
19467
+ <dd>
19468
+
19469
+ <dl>
19470
+ <dd>
19471
+
19472
+ ```ruby
19473
+ client.webhooks.send_test_webhook_action(
19474
+ webhook_id: "webhook_id",
19475
+ request_type: "subscription.trial.ended"
19476
+ )
19477
+ ```
19478
+ </dd>
19479
+ </dl>
19480
+ </dd>
19481
+ </dl>
19482
+
19483
+ #### ⚙️ Parameters
19484
+
19485
+ <dl>
19486
+ <dd>
19487
+
19488
+ <dl>
19489
+ <dd>
19490
+
19491
+ **webhook_id:** `String` — webhook_id
19492
+
19493
+ </dd>
19494
+ </dl>
19495
+
19496
+ <dl>
19497
+ <dd>
19498
+
19499
+ **request_type:** `Schematic::Types::WebhookRequestType`
19500
+
19501
+ </dd>
19502
+ </dl>
19503
+
19504
+ <dl>
19505
+ <dd>
19506
+
19507
+ **request_options:** `Schematic::Webhooks::RequestOptions`
19508
+
19509
+ </dd>
19510
+ </dl>
19511
+ </dd>
19512
+ </dl>
19513
+
19514
+
19294
19515
  </dd>
19295
19516
  </dl>
19296
19517
  </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.5
4
+ version: 1.4.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Schematic
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2026-06-16 00:00:00.000000000 Z
11
+ date: 2026-06-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: wasmtime
@@ -114,6 +114,9 @@ files:
114
114
  - lib/schematic/billing/types/create_invoice_request_body.rb
115
115
  - lib/schematic/billing/types/create_meter_request_body.rb
116
116
  - lib/schematic/billing/types/create_payment_method_request_body.rb
117
+ - lib/schematic/billing/types/delete_billing_coupon_response.rb
118
+ - lib/schematic/billing/types/delete_billing_customer_response.rb
119
+ - lib/schematic/billing/types/delete_billing_invoice_response.rb
117
120
  - lib/schematic/billing/types/delete_billing_product_response.rb
118
121
  - lib/schematic/billing/types/delete_payment_method_by_external_id_response.rb
119
122
  - lib/schematic/billing/types/delete_product_price_response.rb
@@ -650,6 +653,7 @@ files:
650
653
  - lib/schematic/types/checkout_settings_response_data.rb
651
654
  - lib/schematic/types/checkout_subscription.rb
652
655
  - lib/schematic/types/clerk_integration_config.rb
656
+ - lib/schematic/types/company_credit_balance.rb
653
657
  - lib/schematic/types/company_credit_balance_response_data.rb
654
658
  - lib/schematic/types/company_detail_response_data.rb
655
659
  - lib/schematic/types/company_event_period_metrics_response_data.rb
@@ -916,6 +920,7 @@ files:
916
920
  - lib/schematic/types/subscription_type.rb
917
921
  - lib/schematic/types/temporary_access_token_resource_type.rb
918
922
  - lib/schematic/types/temporary_access_token_response_data.rb
923
+ - lib/schematic/types/test_webhook_response_data.rb
919
924
  - lib/schematic/types/time_series_granularity.rb
920
925
  - lib/schematic/types/top_feature_by_usage_response_data.rb
921
926
  - lib/schematic/types/top_features_by_usage_response_data.rb
@@ -974,6 +979,8 @@ files:
974
979
  - lib/schematic/webhooks/types/list_webhooks_params.rb
975
980
  - lib/schematic/webhooks/types/list_webhooks_request.rb
976
981
  - lib/schematic/webhooks/types/list_webhooks_response.rb
982
+ - lib/schematic/webhooks/types/send_test_webhook_action_response.rb
983
+ - lib/schematic/webhooks/types/test_webhook_request_body.rb
977
984
  - lib/schematic/webhooks/types/update_webhook_request_body.rb
978
985
  - lib/schematic/webhooks/types/update_webhook_response.rb
979
986
  - lib/schematichq.rb