schematichq 1.4.16 → 1.4.17

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 (62) hide show
  1. checksums.yaml +4 -4
  2. data/.fern/metadata.json +4 -4
  3. data/.fern/replay.lock +9 -3
  4. data/WASM_VERSION +1 -1
  5. data/lib/schematic/accounts/types/update_onboarding_state_request_body.rb +2 -0
  6. data/lib/schematic/billing/client.rb +96 -0
  7. data/lib/schematic/billing/types/list_company_billing_profiles_params.rb +20 -0
  8. data/lib/schematic/billing/types/list_company_billing_profiles_request.rb +19 -0
  9. data/lib/schematic/billing/types/list_company_billing_profiles_response.rb +13 -0
  10. data/lib/schematic/billing/types/update_company_billing_profile_request_body.rb +23 -0
  11. data/lib/schematic/billing/types/update_company_billing_profile_response.rb +13 -0
  12. data/lib/schematic/client.rb +1 -1
  13. data/lib/schematic/credits/client.rb +266 -0
  14. data/lib/schematic/credits/types/count_credit_spend_policies_params.rb +24 -0
  15. data/lib/schematic/credits/types/count_credit_spend_policies_request.rb +23 -0
  16. data/lib/schematic/credits/types/count_credit_spend_policies_response.rb +13 -0
  17. data/lib/schematic/credits/types/create_credit_spend_policy_request_body.rb +19 -0
  18. data/lib/schematic/credits/types/create_credit_spend_policy_response.rb +13 -0
  19. data/lib/schematic/credits/types/delete_credit_spend_policy_response.rb +13 -0
  20. data/lib/schematic/credits/types/get_credit_spend_policy_response.rb +13 -0
  21. data/lib/schematic/credits/types/list_credit_spend_policies_params.rb +24 -0
  22. data/lib/schematic/credits/types/list_credit_spend_policies_request.rb +23 -0
  23. data/lib/schematic/credits/types/list_credit_spend_policies_response.rb +13 -0
  24. data/lib/schematic/credits/types/update_credit_spend_policy_request_body.rb +15 -0
  25. data/lib/schematic/credits/types/update_credit_spend_policy_response.rb +13 -0
  26. data/lib/schematic/datastream/resource_cache.rb +2 -4
  27. data/lib/schematic/events/client.rb +101 -0
  28. data/lib/schematic/events/types/delete_otlp_environment_settings_response.rb +13 -0
  29. data/lib/schematic/events/types/get_otlp_environment_settings_response.rb +13 -0
  30. data/lib/schematic/events/types/upsert_otlp_environment_settings_request_body.rb +19 -0
  31. data/lib/schematic/events/types/upsert_otlp_environment_settings_response.rb +13 -0
  32. data/lib/schematic/integrationsapi/client.rb +169 -0
  33. data/lib/schematic/integrationsapi/types/claim_stripe_sandbox_keys_request_body.rb +11 -0
  34. data/lib/schematic/integrationsapi/types/claim_stripe_sandbox_keys_response.rb +13 -0
  35. data/lib/schematic/integrationsapi/types/get_stripe_sandbox_claim_link_response.rb +13 -0
  36. data/lib/schematic/integrationsapi/types/get_stripe_sandbox_keys_response.rb +13 -0
  37. data/lib/schematic/integrationsapi/types/install_stripe_claimable_sandbox_response.rb +13 -0
  38. data/lib/schematic/integrationsapi/types/install_stripe_sandbox_request_body.rb +17 -0
  39. data/lib/schematic/integrationsapi/types/list_stripe_sandbox_countries_response.rb +13 -0
  40. data/lib/schematic/schematic_client.rb +11 -2
  41. data/lib/schematic/types/claimed_stripe_sandbox_keys_response_data.rb +13 -0
  42. data/lib/schematic/types/company_billing_profile_response_data.rb +35 -0
  43. data/lib/schematic/types/company_detail_response_data.rb +4 -0
  44. data/lib/schematic/types/company_override_response_data.rb +4 -0
  45. data/lib/schematic/types/credit_spend_policy_response_data.rb +25 -0
  46. data/lib/schematic/types/credit_spend_policy_scope.rb +13 -0
  47. data/lib/schematic/types/event_body_inference.rb +2 -0
  48. data/lib/schematic/types/get_onboarding_state_resp.rb +2 -0
  49. data/lib/schematic/types/otlp_environment_settings_response_data.rb +23 -0
  50. data/lib/schematic/types/rule_condition_detail_response_data.rb +2 -0
  51. data/lib/schematic/types/rule_condition_plan_version_response_data.rb +15 -0
  52. data/lib/schematic/types/stripe_integration_config.rb +6 -0
  53. data/lib/schematic/types/stripe_sandbox_claim_link.rb +15 -0
  54. data/lib/schematic/types/stripe_sandbox_countries_response_data.rb +9 -0
  55. data/lib/schematic/types/stripe_sandbox_install_response_data.rb +21 -0
  56. data/lib/schematic/types/stripe_sandbox_keys_response_data.rb +13 -0
  57. data/lib/schematic/version.rb +1 -1
  58. data/lib/schematic/wasm/rulesengine.wasm +0 -0
  59. data/lib/schematic.rb +41 -3
  60. data/reference.md +1108 -64
  61. data/testapp/app.rb +5 -1
  62. metadata +40 -2
data/reference.md CHANGED
@@ -1273,6 +1273,14 @@ client.accounts.update_onboarding_state
1273
1273
  <dl>
1274
1274
  <dd>
1275
1275
 
1276
+ **country:** `String`
1277
+
1278
+ </dd>
1279
+ </dl>
1280
+
1281
+ <dl>
1282
+ <dd>
1283
+
1276
1284
  **dismissed:** `Internal::Types::Boolean`
1277
1285
 
1278
1286
  </dd>
@@ -3799,6 +3807,191 @@ client.billing.count_billing_products(
3799
3807
  </dl>
3800
3808
 
3801
3809
 
3810
+ </dd>
3811
+ </dl>
3812
+ </details>
3813
+
3814
+ <details><summary><code>client.billing.<a href="/lib/schematic/billing/client.rb">list_company_billing_profiles</a>() -> Schematic::Billing::Types::ListCompanyBillingProfilesResponse</code></summary>
3815
+ <dl>
3816
+ <dd>
3817
+
3818
+ #### 🔌 Usage
3819
+
3820
+ <dl>
3821
+ <dd>
3822
+
3823
+ <dl>
3824
+ <dd>
3825
+
3826
+ ```ruby
3827
+ client.billing.list_company_billing_profiles(
3828
+ company_id: "company_id",
3829
+ is_default: true,
3830
+ provider_type: "metronome",
3831
+ limit: 1000000,
3832
+ offset: 1000000
3833
+ )
3834
+ ```
3835
+ </dd>
3836
+ </dl>
3837
+ </dd>
3838
+ </dl>
3839
+
3840
+ #### ⚙️ Parameters
3841
+
3842
+ <dl>
3843
+ <dd>
3844
+
3845
+ <dl>
3846
+ <dd>
3847
+
3848
+ **company_id:** `String`
3849
+
3850
+ </dd>
3851
+ </dl>
3852
+
3853
+ <dl>
3854
+ <dd>
3855
+
3856
+ **is_default:** `Internal::Types::Boolean`
3857
+
3858
+ </dd>
3859
+ </dl>
3860
+
3861
+ <dl>
3862
+ <dd>
3863
+
3864
+ **provider_type:** `Schematic::Types::BillingProviderType`
3865
+
3866
+ </dd>
3867
+ </dl>
3868
+
3869
+ <dl>
3870
+ <dd>
3871
+
3872
+ **limit:** `Integer` — Page limit (default 100)
3873
+
3874
+ </dd>
3875
+ </dl>
3876
+
3877
+ <dl>
3878
+ <dd>
3879
+
3880
+ **offset:** `Integer` — Page offset (default 0)
3881
+
3882
+ </dd>
3883
+ </dl>
3884
+
3885
+ <dl>
3886
+ <dd>
3887
+
3888
+ **request_options:** `Schematic::Billing::RequestOptions`
3889
+
3890
+ </dd>
3891
+ </dl>
3892
+ </dd>
3893
+ </dl>
3894
+
3895
+
3896
+ </dd>
3897
+ </dl>
3898
+ </details>
3899
+
3900
+ <details><summary><code>client.billing.<a href="/lib/schematic/billing/client.rb">update_company_billing_profile</a>(billing_profile_id:, request) -> Schematic::Billing::Types::UpdateCompanyBillingProfileResponse</code></summary>
3901
+ <dl>
3902
+ <dd>
3903
+
3904
+ #### 🔌 Usage
3905
+
3906
+ <dl>
3907
+ <dd>
3908
+
3909
+ <dl>
3910
+ <dd>
3911
+
3912
+ ```ruby
3913
+ client.billing.update_company_billing_profile(
3914
+ billing_profile_id: "billing_profile_id",
3915
+ collection_method: "charge_automatically"
3916
+ )
3917
+ ```
3918
+ </dd>
3919
+ </dl>
3920
+ </dd>
3921
+ </dl>
3922
+
3923
+ #### ⚙️ Parameters
3924
+
3925
+ <dl>
3926
+ <dd>
3927
+
3928
+ <dl>
3929
+ <dd>
3930
+
3931
+ **billing_profile_id:** `String` — billing_profile_id
3932
+
3933
+ </dd>
3934
+ </dl>
3935
+
3936
+ <dl>
3937
+ <dd>
3938
+
3939
+ **collection_method:** `Schematic::Types::BillingCollectionMethod`
3940
+
3941
+ </dd>
3942
+ </dl>
3943
+
3944
+ <dl>
3945
+ <dd>
3946
+
3947
+ **days_until_due:** `Integer`
3948
+
3949
+ </dd>
3950
+ </dl>
3951
+
3952
+ <dl>
3953
+ <dd>
3954
+
3955
+ **is_default:** `Internal::Types::Boolean`
3956
+
3957
+ </dd>
3958
+ </dl>
3959
+
3960
+ <dl>
3961
+ <dd>
3962
+
3963
+ **name:** `String`
3964
+
3965
+ </dd>
3966
+ </dl>
3967
+
3968
+ <dl>
3969
+ <dd>
3970
+
3971
+ **payment_method_id:** `String`
3972
+
3973
+ </dd>
3974
+ </dl>
3975
+
3976
+ <dl>
3977
+ <dd>
3978
+
3979
+ **proration_behavior:** `Schematic::Types::ProrationBehavior`
3980
+
3981
+ </dd>
3982
+ </dl>
3983
+
3984
+ <dl>
3985
+ <dd>
3986
+
3987
+ **request_options:** `Schematic::Billing::RequestOptions`
3988
+
3989
+ </dd>
3990
+ </dl>
3991
+ </dd>
3992
+ </dl>
3993
+
3994
+
3802
3995
  </dd>
3803
3996
  </dl>
3804
3997
  </details>
@@ -6369,7 +6562,7 @@ client.credits.count_billing_plan_credit_grants(
6369
6562
  </dl>
6370
6563
  </details>
6371
6564
 
6372
- <details><summary><code>client.credits.<a href="/lib/schematic/credits/client.rb">list_credit_event_ledger</a>() -> Schematic::Credits::Types::ListCreditEventLedgerResponse</code></summary>
6565
+ <details><summary><code>client.credits.<a href="/lib/schematic/credits/client.rb">list_credit_spend_policies</a>() -> Schematic::Credits::Types::ListCreditSpendPoliciesResponse</code></summary>
6373
6566
  <dl>
6374
6567
  <dd>
6375
6568
 
@@ -6382,13 +6575,12 @@ client.credits.count_billing_plan_credit_grants(
6382
6575
  <dd>
6383
6576
 
6384
6577
  ```ruby
6385
- client.credits.list_credit_event_ledger(
6578
+ client.credits.list_credit_spend_policies(
6386
6579
  billing_credit_id: "billing_credit_id",
6387
6580
  company_id: "company_id",
6388
- end_time: "end_time",
6389
- event_type: "grant",
6390
- feature_id: "feature_id",
6391
- start_time: "start_time",
6581
+ scope_type: "company",
6582
+ user_id: "user_id",
6583
+ user_ids: ["user_ids"],
6392
6584
  limit: 1000000,
6393
6585
  offset: 1000000
6394
6586
  )
@@ -6422,15 +6614,7 @@ client.credits.list_credit_event_ledger(
6422
6614
  <dl>
6423
6615
  <dd>
6424
6616
 
6425
- **end_time:** `String`
6426
-
6427
- </dd>
6428
- </dl>
6429
-
6430
- <dl>
6431
- <dd>
6432
-
6433
- **event_type:** `Schematic::Types::CreditEventType`
6617
+ **scope_type:** `Schematic::Types::CreditSpendPolicyScope`
6434
6618
 
6435
6619
  </dd>
6436
6620
  </dl>
@@ -6438,7 +6622,7 @@ client.credits.list_credit_event_ledger(
6438
6622
  <dl>
6439
6623
  <dd>
6440
6624
 
6441
- **feature_id:** `String`
6625
+ **user_id:** `String`
6442
6626
 
6443
6627
  </dd>
6444
6628
  </dl>
@@ -6446,7 +6630,7 @@ client.credits.list_credit_event_ledger(
6446
6630
  <dl>
6447
6631
  <dd>
6448
6632
 
6449
- **start_time:** `String`
6633
+ **user_ids:** `String`
6450
6634
 
6451
6635
  </dd>
6452
6636
  </dl>
@@ -6482,7 +6666,7 @@ client.credits.list_credit_event_ledger(
6482
6666
  </dl>
6483
6667
  </details>
6484
6668
 
6485
- <details><summary><code>client.credits.<a href="/lib/schematic/credits/client.rb">count_credit_event_ledger</a>() -> Schematic::Credits::Types::CountCreditEventLedgerResponse</code></summary>
6669
+ <details><summary><code>client.credits.<a href="/lib/schematic/credits/client.rb">create_credit_spend_policy</a>(request) -> Schematic::Credits::Types::CreateCreditSpendPolicyResponse</code></summary>
6486
6670
  <dl>
6487
6671
  <dd>
6488
6672
 
@@ -6495,15 +6679,9 @@ client.credits.list_credit_event_ledger(
6495
6679
  <dd>
6496
6680
 
6497
6681
  ```ruby
6498
- client.credits.count_credit_event_ledger(
6682
+ client.credits.create_credit_spend_policy(
6499
6683
  billing_credit_id: "billing_credit_id",
6500
- company_id: "company_id",
6501
- end_time: "end_time",
6502
- event_type: "grant",
6503
- feature_id: "feature_id",
6504
- start_time: "start_time",
6505
- limit: 1000000,
6506
- offset: 1000000
6684
+ max_per_draw: 1.1
6507
6685
  )
6508
6686
  ```
6509
6687
  </dd>
@@ -6527,7 +6705,7 @@ client.credits.count_credit_event_ledger(
6527
6705
  <dl>
6528
6706
  <dd>
6529
6707
 
6530
- **company_id:** `String`
6708
+ **company_id:** `String` — The company the cap applies to. Set exactly one of company_id and user_id.
6531
6709
 
6532
6710
  </dd>
6533
6711
  </dl>
@@ -6535,7 +6713,7 @@ client.credits.count_credit_event_ledger(
6535
6713
  <dl>
6536
6714
  <dd>
6537
6715
 
6538
- **end_time:** `String`
6716
+ **label:** `String`
6539
6717
 
6540
6718
  </dd>
6541
6719
  </dl>
@@ -6543,7 +6721,7 @@ client.credits.count_credit_event_ledger(
6543
6721
  <dl>
6544
6722
  <dd>
6545
6723
 
6546
- **event_type:** `Schematic::Types::CreditEventType`
6724
+ **max_per_draw:** `Integer` — The largest number of credits a single draw may spend.
6547
6725
 
6548
6726
  </dd>
6549
6727
  </dl>
@@ -6551,7 +6729,7 @@ client.credits.count_credit_event_ledger(
6551
6729
  <dl>
6552
6730
  <dd>
6553
6731
 
6554
- **feature_id:** `String`
6732
+ **user_id:** `String` — The user the cap applies to. Set exactly one of company_id and user_id.
6555
6733
 
6556
6734
  </dd>
6557
6735
  </dl>
@@ -6559,23 +6737,47 @@ client.credits.count_credit_event_ledger(
6559
6737
  <dl>
6560
6738
  <dd>
6561
6739
 
6562
- **start_time:** `String`
6740
+ **request_options:** `Schematic::Credits::RequestOptions`
6563
6741
 
6564
6742
  </dd>
6565
6743
  </dl>
6744
+ </dd>
6745
+ </dl>
6746
+
6747
+
6748
+ </dd>
6749
+ </dl>
6750
+ </details>
6566
6751
 
6752
+ <details><summary><code>client.credits.<a href="/lib/schematic/credits/client.rb">get_credit_spend_policy</a>(spend_policy_id:) -> Schematic::Credits::Types::GetCreditSpendPolicyResponse</code></summary>
6567
6753
  <dl>
6568
6754
  <dd>
6569
6755
 
6570
- **limit:** `Integer` — Page limit (default 100)
6571
-
6756
+ #### 🔌 Usage
6757
+
6758
+ <dl>
6759
+ <dd>
6760
+
6761
+ <dl>
6762
+ <dd>
6763
+
6764
+ ```ruby
6765
+ client.credits.get_credit_spend_policy(spend_policy_id: "spend_policy_id")
6766
+ ```
6572
6767
  </dd>
6573
6768
  </dl>
6769
+ </dd>
6770
+ </dl>
6771
+
6772
+ #### ⚙️ Parameters
6574
6773
 
6575
6774
  <dl>
6576
6775
  <dd>
6577
6776
 
6578
- **offset:** `Integer` — Page offset (default 0)
6777
+ <dl>
6778
+ <dd>
6779
+
6780
+ **spend_policy_id:** `String` — spend_policy_id
6579
6781
 
6580
6782
  </dd>
6581
6783
  </dl>
@@ -6595,8 +6797,7 @@ client.credits.count_credit_event_ledger(
6595
6797
  </dl>
6596
6798
  </details>
6597
6799
 
6598
- ## catalogs
6599
- <details><summary><code>client.catalogs.<a href="/lib/schematic/catalogs/client.rb">list_catalogs</a>() -> Schematic::Catalogs::Types::ListCatalogsResponse</code></summary>
6800
+ <details><summary><code>client.credits.<a href="/lib/schematic/credits/client.rb">update_credit_spend_policy</a>(spend_policy_id:, request) -> Schematic::Credits::Types::UpdateCreditSpendPolicyResponse</code></summary>
6600
6801
  <dl>
6601
6802
  <dd>
6602
6803
 
@@ -6609,12 +6810,7 @@ client.credits.count_credit_event_ledger(
6609
6810
  <dd>
6610
6811
 
6611
6812
  ```ruby
6612
- client.catalogs.list_catalogs(
6613
- is_default: true,
6614
- q: "q",
6615
- limit: 1000000,
6616
- offset: 1000000
6617
- )
6813
+ client.credits.update_credit_spend_policy(spend_policy_id: "spend_policy_id")
6618
6814
  ```
6619
6815
  </dd>
6620
6816
  </dl>
@@ -6629,7 +6825,7 @@ client.catalogs.list_catalogs(
6629
6825
  <dl>
6630
6826
  <dd>
6631
6827
 
6632
- **is_default:** `Internal::Types::Boolean`
6828
+ **spend_policy_id:** `String` — spend_policy_id
6633
6829
 
6634
6830
  </dd>
6635
6831
  </dl>
@@ -6637,7 +6833,7 @@ client.catalogs.list_catalogs(
6637
6833
  <dl>
6638
6834
  <dd>
6639
6835
 
6640
- **q:** `String` — Search by catalog name
6836
+ **label:** `String`
6641
6837
 
6642
6838
  </dd>
6643
6839
  </dl>
@@ -6645,7 +6841,7 @@ client.catalogs.list_catalogs(
6645
6841
  <dl>
6646
6842
  <dd>
6647
6843
 
6648
- **limit:** `Integer` — Page limit (default 100)
6844
+ **max_per_draw:** `Integer`
6649
6845
 
6650
6846
  </dd>
6651
6847
  </dl>
@@ -6653,7 +6849,455 @@ client.catalogs.list_catalogs(
6653
6849
  <dl>
6654
6850
  <dd>
6655
6851
 
6656
- **offset:** `Integer` — Page offset (default 0)
6852
+ **request_options:** `Schematic::Credits::RequestOptions`
6853
+
6854
+ </dd>
6855
+ </dl>
6856
+ </dd>
6857
+ </dl>
6858
+
6859
+
6860
+ </dd>
6861
+ </dl>
6862
+ </details>
6863
+
6864
+ <details><summary><code>client.credits.<a href="/lib/schematic/credits/client.rb">delete_credit_spend_policy</a>(spend_policy_id:) -> Schematic::Credits::Types::DeleteCreditSpendPolicyResponse</code></summary>
6865
+ <dl>
6866
+ <dd>
6867
+
6868
+ #### 🔌 Usage
6869
+
6870
+ <dl>
6871
+ <dd>
6872
+
6873
+ <dl>
6874
+ <dd>
6875
+
6876
+ ```ruby
6877
+ client.credits.delete_credit_spend_policy(spend_policy_id: "spend_policy_id")
6878
+ ```
6879
+ </dd>
6880
+ </dl>
6881
+ </dd>
6882
+ </dl>
6883
+
6884
+ #### ⚙️ Parameters
6885
+
6886
+ <dl>
6887
+ <dd>
6888
+
6889
+ <dl>
6890
+ <dd>
6891
+
6892
+ **spend_policy_id:** `String` — spend_policy_id
6893
+
6894
+ </dd>
6895
+ </dl>
6896
+
6897
+ <dl>
6898
+ <dd>
6899
+
6900
+ **request_options:** `Schematic::Credits::RequestOptions`
6901
+
6902
+ </dd>
6903
+ </dl>
6904
+ </dd>
6905
+ </dl>
6906
+
6907
+
6908
+ </dd>
6909
+ </dl>
6910
+ </details>
6911
+
6912
+ <details><summary><code>client.credits.<a href="/lib/schematic/credits/client.rb">count_credit_spend_policies</a>() -> Schematic::Credits::Types::CountCreditSpendPoliciesResponse</code></summary>
6913
+ <dl>
6914
+ <dd>
6915
+
6916
+ #### 🔌 Usage
6917
+
6918
+ <dl>
6919
+ <dd>
6920
+
6921
+ <dl>
6922
+ <dd>
6923
+
6924
+ ```ruby
6925
+ client.credits.count_credit_spend_policies(
6926
+ billing_credit_id: "billing_credit_id",
6927
+ company_id: "company_id",
6928
+ scope_type: "company",
6929
+ user_id: "user_id",
6930
+ user_ids: ["user_ids"],
6931
+ limit: 1000000,
6932
+ offset: 1000000
6933
+ )
6934
+ ```
6935
+ </dd>
6936
+ </dl>
6937
+ </dd>
6938
+ </dl>
6939
+
6940
+ #### ⚙️ Parameters
6941
+
6942
+ <dl>
6943
+ <dd>
6944
+
6945
+ <dl>
6946
+ <dd>
6947
+
6948
+ **billing_credit_id:** `String`
6949
+
6950
+ </dd>
6951
+ </dl>
6952
+
6953
+ <dl>
6954
+ <dd>
6955
+
6956
+ **company_id:** `String`
6957
+
6958
+ </dd>
6959
+ </dl>
6960
+
6961
+ <dl>
6962
+ <dd>
6963
+
6964
+ **scope_type:** `Schematic::Types::CreditSpendPolicyScope`
6965
+
6966
+ </dd>
6967
+ </dl>
6968
+
6969
+ <dl>
6970
+ <dd>
6971
+
6972
+ **user_id:** `String`
6973
+
6974
+ </dd>
6975
+ </dl>
6976
+
6977
+ <dl>
6978
+ <dd>
6979
+
6980
+ **user_ids:** `String`
6981
+
6982
+ </dd>
6983
+ </dl>
6984
+
6985
+ <dl>
6986
+ <dd>
6987
+
6988
+ **limit:** `Integer` — Page limit (default 100)
6989
+
6990
+ </dd>
6991
+ </dl>
6992
+
6993
+ <dl>
6994
+ <dd>
6995
+
6996
+ **offset:** `Integer` — Page offset (default 0)
6997
+
6998
+ </dd>
6999
+ </dl>
7000
+
7001
+ <dl>
7002
+ <dd>
7003
+
7004
+ **request_options:** `Schematic::Credits::RequestOptions`
7005
+
7006
+ </dd>
7007
+ </dl>
7008
+ </dd>
7009
+ </dl>
7010
+
7011
+
7012
+ </dd>
7013
+ </dl>
7014
+ </details>
7015
+
7016
+ <details><summary><code>client.credits.<a href="/lib/schematic/credits/client.rb">list_credit_event_ledger</a>() -> Schematic::Credits::Types::ListCreditEventLedgerResponse</code></summary>
7017
+ <dl>
7018
+ <dd>
7019
+
7020
+ #### 🔌 Usage
7021
+
7022
+ <dl>
7023
+ <dd>
7024
+
7025
+ <dl>
7026
+ <dd>
7027
+
7028
+ ```ruby
7029
+ client.credits.list_credit_event_ledger(
7030
+ billing_credit_id: "billing_credit_id",
7031
+ company_id: "company_id",
7032
+ end_time: "end_time",
7033
+ event_type: "grant",
7034
+ feature_id: "feature_id",
7035
+ start_time: "start_time",
7036
+ limit: 1000000,
7037
+ offset: 1000000
7038
+ )
7039
+ ```
7040
+ </dd>
7041
+ </dl>
7042
+ </dd>
7043
+ </dl>
7044
+
7045
+ #### ⚙️ Parameters
7046
+
7047
+ <dl>
7048
+ <dd>
7049
+
7050
+ <dl>
7051
+ <dd>
7052
+
7053
+ **billing_credit_id:** `String`
7054
+
7055
+ </dd>
7056
+ </dl>
7057
+
7058
+ <dl>
7059
+ <dd>
7060
+
7061
+ **company_id:** `String`
7062
+
7063
+ </dd>
7064
+ </dl>
7065
+
7066
+ <dl>
7067
+ <dd>
7068
+
7069
+ **end_time:** `String`
7070
+
7071
+ </dd>
7072
+ </dl>
7073
+
7074
+ <dl>
7075
+ <dd>
7076
+
7077
+ **event_type:** `Schematic::Types::CreditEventType`
7078
+
7079
+ </dd>
7080
+ </dl>
7081
+
7082
+ <dl>
7083
+ <dd>
7084
+
7085
+ **feature_id:** `String`
7086
+
7087
+ </dd>
7088
+ </dl>
7089
+
7090
+ <dl>
7091
+ <dd>
7092
+
7093
+ **start_time:** `String`
7094
+
7095
+ </dd>
7096
+ </dl>
7097
+
7098
+ <dl>
7099
+ <dd>
7100
+
7101
+ **limit:** `Integer` — Page limit (default 100)
7102
+
7103
+ </dd>
7104
+ </dl>
7105
+
7106
+ <dl>
7107
+ <dd>
7108
+
7109
+ **offset:** `Integer` — Page offset (default 0)
7110
+
7111
+ </dd>
7112
+ </dl>
7113
+
7114
+ <dl>
7115
+ <dd>
7116
+
7117
+ **request_options:** `Schematic::Credits::RequestOptions`
7118
+
7119
+ </dd>
7120
+ </dl>
7121
+ </dd>
7122
+ </dl>
7123
+
7124
+
7125
+ </dd>
7126
+ </dl>
7127
+ </details>
7128
+
7129
+ <details><summary><code>client.credits.<a href="/lib/schematic/credits/client.rb">count_credit_event_ledger</a>() -> Schematic::Credits::Types::CountCreditEventLedgerResponse</code></summary>
7130
+ <dl>
7131
+ <dd>
7132
+
7133
+ #### 🔌 Usage
7134
+
7135
+ <dl>
7136
+ <dd>
7137
+
7138
+ <dl>
7139
+ <dd>
7140
+
7141
+ ```ruby
7142
+ client.credits.count_credit_event_ledger(
7143
+ billing_credit_id: "billing_credit_id",
7144
+ company_id: "company_id",
7145
+ end_time: "end_time",
7146
+ event_type: "grant",
7147
+ feature_id: "feature_id",
7148
+ start_time: "start_time",
7149
+ limit: 1000000,
7150
+ offset: 1000000
7151
+ )
7152
+ ```
7153
+ </dd>
7154
+ </dl>
7155
+ </dd>
7156
+ </dl>
7157
+
7158
+ #### ⚙️ Parameters
7159
+
7160
+ <dl>
7161
+ <dd>
7162
+
7163
+ <dl>
7164
+ <dd>
7165
+
7166
+ **billing_credit_id:** `String`
7167
+
7168
+ </dd>
7169
+ </dl>
7170
+
7171
+ <dl>
7172
+ <dd>
7173
+
7174
+ **company_id:** `String`
7175
+
7176
+ </dd>
7177
+ </dl>
7178
+
7179
+ <dl>
7180
+ <dd>
7181
+
7182
+ **end_time:** `String`
7183
+
7184
+ </dd>
7185
+ </dl>
7186
+
7187
+ <dl>
7188
+ <dd>
7189
+
7190
+ **event_type:** `Schematic::Types::CreditEventType`
7191
+
7192
+ </dd>
7193
+ </dl>
7194
+
7195
+ <dl>
7196
+ <dd>
7197
+
7198
+ **feature_id:** `String`
7199
+
7200
+ </dd>
7201
+ </dl>
7202
+
7203
+ <dl>
7204
+ <dd>
7205
+
7206
+ **start_time:** `String`
7207
+
7208
+ </dd>
7209
+ </dl>
7210
+
7211
+ <dl>
7212
+ <dd>
7213
+
7214
+ **limit:** `Integer` — Page limit (default 100)
7215
+
7216
+ </dd>
7217
+ </dl>
7218
+
7219
+ <dl>
7220
+ <dd>
7221
+
7222
+ **offset:** `Integer` — Page offset (default 0)
7223
+
7224
+ </dd>
7225
+ </dl>
7226
+
7227
+ <dl>
7228
+ <dd>
7229
+
7230
+ **request_options:** `Schematic::Credits::RequestOptions`
7231
+
7232
+ </dd>
7233
+ </dl>
7234
+ </dd>
7235
+ </dl>
7236
+
7237
+
7238
+ </dd>
7239
+ </dl>
7240
+ </details>
7241
+
7242
+ ## catalogs
7243
+ <details><summary><code>client.catalogs.<a href="/lib/schematic/catalogs/client.rb">list_catalogs</a>() -> Schematic::Catalogs::Types::ListCatalogsResponse</code></summary>
7244
+ <dl>
7245
+ <dd>
7246
+
7247
+ #### 🔌 Usage
7248
+
7249
+ <dl>
7250
+ <dd>
7251
+
7252
+ <dl>
7253
+ <dd>
7254
+
7255
+ ```ruby
7256
+ client.catalogs.list_catalogs(
7257
+ is_default: true,
7258
+ q: "q",
7259
+ limit: 1000000,
7260
+ offset: 1000000
7261
+ )
7262
+ ```
7263
+ </dd>
7264
+ </dl>
7265
+ </dd>
7266
+ </dl>
7267
+
7268
+ #### ⚙️ Parameters
7269
+
7270
+ <dl>
7271
+ <dd>
7272
+
7273
+ <dl>
7274
+ <dd>
7275
+
7276
+ **is_default:** `Internal::Types::Boolean`
7277
+
7278
+ </dd>
7279
+ </dl>
7280
+
7281
+ <dl>
7282
+ <dd>
7283
+
7284
+ **q:** `String` — Search by catalog name
7285
+
7286
+ </dd>
7287
+ </dl>
7288
+
7289
+ <dl>
7290
+ <dd>
7291
+
7292
+ **limit:** `Integer` — Page limit (default 100)
7293
+
7294
+ </dd>
7295
+ </dl>
7296
+
7297
+ <dl>
7298
+ <dd>
7299
+
7300
+ **offset:** `Integer` — Page offset (default 0)
6657
7301
 
6658
7302
  </dd>
6659
7303
  </dl>
@@ -17011,23 +17655,191 @@ client.events.list_events(
17011
17655
  <dl>
17012
17656
  <dd>
17013
17657
 
17014
- ```ruby
17015
- client.events.create_event(event_type: "flag_check")
17016
- ```
17017
- </dd>
17018
- </dl>
17658
+ ```ruby
17659
+ client.events.create_event(event_type: "flag_check")
17660
+ ```
17661
+ </dd>
17662
+ </dl>
17663
+ </dd>
17664
+ </dl>
17665
+
17666
+ #### ⚙️ Parameters
17667
+
17668
+ <dl>
17669
+ <dd>
17670
+
17671
+ <dl>
17672
+ <dd>
17673
+
17674
+ **request:** `Schematic::Types::CreateEventRequestBody`
17675
+
17676
+ </dd>
17677
+ </dl>
17678
+
17679
+ <dl>
17680
+ <dd>
17681
+
17682
+ **request_options:** `Schematic::Events::RequestOptions`
17683
+
17684
+ </dd>
17685
+ </dl>
17686
+ </dd>
17687
+ </dl>
17688
+
17689
+
17690
+ </dd>
17691
+ </dl>
17692
+ </details>
17693
+
17694
+ <details><summary><code>client.events.<a href="/lib/schematic/events/client.rb">get_event</a>(event_id:) -> Schematic::Events::Types::GetEventResponse</code></summary>
17695
+ <dl>
17696
+ <dd>
17697
+
17698
+ #### 🔌 Usage
17699
+
17700
+ <dl>
17701
+ <dd>
17702
+
17703
+ <dl>
17704
+ <dd>
17705
+
17706
+ ```ruby
17707
+ client.events.get_event(event_id: "event_id")
17708
+ ```
17709
+ </dd>
17710
+ </dl>
17711
+ </dd>
17712
+ </dl>
17713
+
17714
+ #### ⚙️ Parameters
17715
+
17716
+ <dl>
17717
+ <dd>
17718
+
17719
+ <dl>
17720
+ <dd>
17721
+
17722
+ **event_id:** `String` — event_id
17723
+
17724
+ </dd>
17725
+ </dl>
17726
+
17727
+ <dl>
17728
+ <dd>
17729
+
17730
+ **request_options:** `Schematic::Events::RequestOptions`
17731
+
17732
+ </dd>
17733
+ </dl>
17734
+ </dd>
17735
+ </dl>
17736
+
17737
+
17738
+ </dd>
17739
+ </dl>
17740
+ </details>
17741
+
17742
+ <details><summary><code>client.events.<a href="/lib/schematic/events/client.rb">get_otlp_environment_settings</a>() -> Schematic::Events::Types::GetOtlpEnvironmentSettingsResponse</code></summary>
17743
+ <dl>
17744
+ <dd>
17745
+
17746
+ #### 🔌 Usage
17747
+
17748
+ <dl>
17749
+ <dd>
17750
+
17751
+ <dl>
17752
+ <dd>
17753
+
17754
+ ```ruby
17755
+ client.events.get_otlp_environment_settings
17756
+ ```
17757
+ </dd>
17758
+ </dl>
17759
+ </dd>
17760
+ </dl>
17761
+
17762
+ #### ⚙️ Parameters
17763
+
17764
+ <dl>
17765
+ <dd>
17766
+
17767
+ <dl>
17768
+ <dd>
17769
+
17770
+ **request_options:** `Schematic::Events::RequestOptions`
17771
+
17772
+ </dd>
17773
+ </dl>
17774
+ </dd>
17775
+ </dl>
17776
+
17777
+
17778
+ </dd>
17779
+ </dl>
17780
+ </details>
17781
+
17782
+ <details><summary><code>client.events.<a href="/lib/schematic/events/client.rb">upsert_otlp_environment_settings</a>(request) -> Schematic::Events::Types::UpsertOtlpEnvironmentSettingsResponse</code></summary>
17783
+ <dl>
17784
+ <dd>
17785
+
17786
+ #### 🔌 Usage
17787
+
17788
+ <dl>
17789
+ <dd>
17790
+
17791
+ <dl>
17792
+ <dd>
17793
+
17794
+ ```ruby
17795
+ client.events.upsert_otlp_environment_settings(tool_events_enabled: true)
17796
+ ```
17797
+ </dd>
17798
+ </dl>
17799
+ </dd>
17800
+ </dl>
17801
+
17802
+ #### ⚙️ Parameters
17803
+
17804
+ <dl>
17805
+ <dd>
17806
+
17807
+ <dl>
17808
+ <dd>
17809
+
17810
+ **company_attribute:** `String`
17811
+
17812
+ </dd>
17813
+ </dl>
17814
+
17815
+ <dl>
17816
+ <dd>
17817
+
17818
+ **company_key:** `String`
17819
+
17820
+ </dd>
17821
+ </dl>
17822
+
17823
+ <dl>
17824
+ <dd>
17825
+
17826
+ **tool_events_enabled:** `Internal::Types::Boolean`
17827
+
17019
17828
  </dd>
17020
17829
  </dl>
17021
17830
 
17022
- #### ⚙️ Parameters
17023
-
17024
17831
  <dl>
17025
17832
  <dd>
17026
17833
 
17834
+ **user_attribute:** `String`
17835
+
17836
+ </dd>
17837
+ </dl>
17838
+
17027
17839
  <dl>
17028
17840
  <dd>
17029
17841
 
17030
- **request:** `Schematic::Types::CreateEventRequestBody`
17842
+ **user_key:** `String`
17031
17843
 
17032
17844
  </dd>
17033
17845
  </dl>
@@ -17047,7 +17859,7 @@ client.events.create_event(event_type: "flag_check")
17047
17859
  </dl>
17048
17860
  </details>
17049
17861
 
17050
- <details><summary><code>client.events.<a href="/lib/schematic/events/client.rb">get_event</a>(event_id:) -> Schematic::Events::Types::GetEventResponse</code></summary>
17862
+ <details><summary><code>client.events.<a href="/lib/schematic/events/client.rb">delete_otlp_environment_settings</a>() -> Schematic::Events::Types::DeleteOtlpEnvironmentSettingsResponse</code></summary>
17051
17863
  <dl>
17052
17864
  <dd>
17053
17865
 
@@ -17060,7 +17872,7 @@ client.events.create_event(event_type: "flag_check")
17060
17872
  <dd>
17061
17873
 
17062
17874
  ```ruby
17063
- client.events.get_event(event_id: "event_id")
17875
+ client.events.delete_otlp_environment_settings
17064
17876
  ```
17065
17877
  </dd>
17066
17878
  </dl>
@@ -17075,14 +17887,6 @@ client.events.get_event(event_id: "event_id")
17075
17887
  <dl>
17076
17888
  <dd>
17077
17889
 
17078
- **event_id:** `String` — event_id
17079
-
17080
- </dd>
17081
- </dl>
17082
-
17083
- <dl>
17084
- <dd>
17085
-
17086
17890
  **request_options:** `Schematic::Events::RequestOptions`
17087
17891
 
17088
17892
  </dd>
@@ -19232,6 +20036,134 @@ client.integrationsapi.load_sample_data_set
19232
20036
  </dl>
19233
20037
 
19234
20038
 
20039
+ </dd>
20040
+ </dl>
20041
+ </details>
20042
+
20043
+ <details><summary><code>client.integrationsapi.<a href="/lib/schematic/integrationsapi/client.rb">get_stripe_sandbox_claim_link</a>() -> Schematic::Integrationsapi::Types::GetStripeSandboxClaimLinkResponse</code></summary>
20044
+ <dl>
20045
+ <dd>
20046
+
20047
+ #### 🔌 Usage
20048
+
20049
+ <dl>
20050
+ <dd>
20051
+
20052
+ <dl>
20053
+ <dd>
20054
+
20055
+ ```ruby
20056
+ client.integrationsapi.get_stripe_sandbox_claim_link
20057
+ ```
20058
+ </dd>
20059
+ </dl>
20060
+ </dd>
20061
+ </dl>
20062
+
20063
+ #### ⚙️ Parameters
20064
+
20065
+ <dl>
20066
+ <dd>
20067
+
20068
+ <dl>
20069
+ <dd>
20070
+
20071
+ **request_options:** `Schematic::Integrationsapi::RequestOptions`
20072
+
20073
+ </dd>
20074
+ </dl>
20075
+ </dd>
20076
+ </dl>
20077
+
20078
+
20079
+ </dd>
20080
+ </dl>
20081
+ </details>
20082
+
20083
+ <details><summary><code>client.integrationsapi.<a href="/lib/schematic/integrationsapi/client.rb">get_stripe_sandbox_keys</a>() -> Schematic::Integrationsapi::Types::GetStripeSandboxKeysResponse</code></summary>
20084
+ <dl>
20085
+ <dd>
20086
+
20087
+ #### 🔌 Usage
20088
+
20089
+ <dl>
20090
+ <dd>
20091
+
20092
+ <dl>
20093
+ <dd>
20094
+
20095
+ ```ruby
20096
+ client.integrationsapi.get_stripe_sandbox_keys
20097
+ ```
20098
+ </dd>
20099
+ </dl>
20100
+ </dd>
20101
+ </dl>
20102
+
20103
+ #### ⚙️ Parameters
20104
+
20105
+ <dl>
20106
+ <dd>
20107
+
20108
+ <dl>
20109
+ <dd>
20110
+
20111
+ **request_options:** `Schematic::Integrationsapi::RequestOptions`
20112
+
20113
+ </dd>
20114
+ </dl>
20115
+ </dd>
20116
+ </dl>
20117
+
20118
+
20119
+ </dd>
20120
+ </dl>
20121
+ </details>
20122
+
20123
+ <details><summary><code>client.integrationsapi.<a href="/lib/schematic/integrationsapi/client.rb">claim_stripe_sandbox_keys</a>(request) -> Schematic::Integrationsapi::Types::ClaimStripeSandboxKeysResponse</code></summary>
20124
+ <dl>
20125
+ <dd>
20126
+
20127
+ #### 🔌 Usage
20128
+
20129
+ <dl>
20130
+ <dd>
20131
+
20132
+ <dl>
20133
+ <dd>
20134
+
20135
+ ```ruby
20136
+ client.integrationsapi.claim_stripe_sandbox_keys(token: "token")
20137
+ ```
20138
+ </dd>
20139
+ </dl>
20140
+ </dd>
20141
+ </dl>
20142
+
20143
+ #### ⚙️ Parameters
20144
+
20145
+ <dl>
20146
+ <dd>
20147
+
20148
+ <dl>
20149
+ <dd>
20150
+
20151
+ **token:** `String`
20152
+
20153
+ </dd>
20154
+ </dl>
20155
+
20156
+ <dl>
20157
+ <dd>
20158
+
20159
+ **request_options:** `Schematic::Integrationsapi::RequestOptions`
20160
+
20161
+ </dd>
20162
+ </dl>
20163
+ </dd>
20164
+ </dl>
20165
+
20166
+
19235
20167
  </dd>
19236
20168
  </dl>
19237
20169
  </details>
@@ -19328,6 +20260,118 @@ client.integrationsapi.install_stripe(type: "clerk")
19328
20260
  </dl>
19329
20261
 
19330
20262
 
20263
+ </dd>
20264
+ </dl>
20265
+ </details>
20266
+
20267
+ <details><summary><code>client.integrationsapi.<a href="/lib/schematic/integrationsapi/client.rb">install_stripe_claimable_sandbox</a>(request) -> Schematic::Integrationsapi::Types::InstallStripeClaimableSandboxResponse</code></summary>
20268
+ <dl>
20269
+ <dd>
20270
+
20271
+ #### 🔌 Usage
20272
+
20273
+ <dl>
20274
+ <dd>
20275
+
20276
+ <dl>
20277
+ <dd>
20278
+
20279
+ ```ruby
20280
+ client.integrationsapi.install_stripe_claimable_sandbox(email: "email")
20281
+ ```
20282
+ </dd>
20283
+ </dl>
20284
+ </dd>
20285
+ </dl>
20286
+
20287
+ #### ⚙️ Parameters
20288
+
20289
+ <dl>
20290
+ <dd>
20291
+
20292
+ <dl>
20293
+ <dd>
20294
+
20295
+ **country:** `String`
20296
+
20297
+ </dd>
20298
+ </dl>
20299
+
20300
+ <dl>
20301
+ <dd>
20302
+
20303
+ **email:** `String`
20304
+
20305
+ </dd>
20306
+ </dl>
20307
+
20308
+ <dl>
20309
+ <dd>
20310
+
20311
+ **name:** `String`
20312
+
20313
+ </dd>
20314
+ </dl>
20315
+
20316
+ <dl>
20317
+ <dd>
20318
+
20319
+ **seed_sample_data:** `Internal::Types::Boolean`
20320
+
20321
+ </dd>
20322
+ </dl>
20323
+
20324
+ <dl>
20325
+ <dd>
20326
+
20327
+ **request_options:** `Schematic::Integrationsapi::RequestOptions`
20328
+
20329
+ </dd>
20330
+ </dl>
20331
+ </dd>
20332
+ </dl>
20333
+
20334
+
20335
+ </dd>
20336
+ </dl>
20337
+ </details>
20338
+
20339
+ <details><summary><code>client.integrationsapi.<a href="/lib/schematic/integrationsapi/client.rb">list_stripe_sandbox_countries</a>() -> Schematic::Integrationsapi::Types::ListStripeSandboxCountriesResponse</code></summary>
20340
+ <dl>
20341
+ <dd>
20342
+
20343
+ #### 🔌 Usage
20344
+
20345
+ <dl>
20346
+ <dd>
20347
+
20348
+ <dl>
20349
+ <dd>
20350
+
20351
+ ```ruby
20352
+ client.integrationsapi.list_stripe_sandbox_countries
20353
+ ```
20354
+ </dd>
20355
+ </dl>
20356
+ </dd>
20357
+ </dl>
20358
+
20359
+ #### ⚙️ Parameters
20360
+
20361
+ <dl>
20362
+ <dd>
20363
+
20364
+ <dl>
20365
+ <dd>
20366
+
20367
+ **request_options:** `Schematic::Integrationsapi::RequestOptions`
20368
+
20369
+ </dd>
20370
+ </dl>
20371
+ </dd>
20372
+ </dl>
20373
+
20374
+
19331
20375
  </dd>
19332
20376
  </dl>
19333
20377
  </details>