schematichq 1.4.10 → 1.4.12

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 (79) hide show
  1. checksums.yaml +4 -4
  2. data/.fern/metadata.json +2 -2
  3. data/.fern/replay.lock +15 -3
  4. data/lib/schematic/accounts/client.rb +6 -2
  5. data/lib/schematic/accounts/types/count_account_members_params.rb +1 -0
  6. data/lib/schematic/accounts/types/count_account_members_request.rb +1 -0
  7. data/lib/schematic/accounts/types/create_api_key_request_body.rb +1 -0
  8. data/lib/schematic/accounts/types/list_account_members_params.rb +1 -0
  9. data/lib/schematic/accounts/types/list_account_members_request.rb +1 -0
  10. data/lib/schematic/accounts/types/update_api_key_request_body.rb +1 -0
  11. data/lib/schematic/billing/client.rb +6 -2
  12. data/lib/schematic/billing/types/list_billing_prices_params.rb +1 -0
  13. data/lib/schematic/billing/types/list_billing_prices_request.rb +1 -0
  14. data/lib/schematic/billing/types/list_billing_product_prices_params.rb +1 -0
  15. data/lib/schematic/billing/types/list_billing_product_prices_request.rb +1 -0
  16. data/lib/schematic/catalogs/types/create_catalog_request_body.rb +0 -1
  17. data/lib/schematic/checkout/types/update_company_billing_details_request_body.rb +1 -0
  18. data/lib/schematic/client.rb +6 -1
  19. data/lib/schematic/entitlements/client.rb +88 -0
  20. data/lib/schematic/entitlements/types/get_user_usage_by_company_params.rb +15 -0
  21. data/lib/schematic/entitlements/types/get_user_usage_by_company_request.rb +14 -0
  22. data/lib/schematic/entitlements/types/get_user_usage_by_company_response.rb +12 -0
  23. data/lib/schematic/entitlements/types/get_user_usage_detail_params.rb +15 -0
  24. data/lib/schematic/entitlements/types/get_user_usage_detail_request.rb +14 -0
  25. data/lib/schematic/entitlements/types/get_user_usage_detail_response.rb +12 -0
  26. data/lib/schematic/licenses/client.rb +138 -0
  27. data/lib/schematic/licenses/types/count_licenses_params.rb +16 -0
  28. data/lib/schematic/licenses/types/count_licenses_request.rb +15 -0
  29. data/lib/schematic/licenses/types/count_licenses_response.rb +12 -0
  30. data/lib/schematic/licenses/types/get_single_license_response.rb +12 -0
  31. data/lib/schematic/licenses/types/list_licenses_params.rb +16 -0
  32. data/lib/schematic/licenses/types/list_licenses_request.rb +15 -0
  33. data/lib/schematic/licenses/types/list_licenses_response.rb +12 -0
  34. data/lib/schematic/planmigrations/client.rb +32 -0
  35. data/lib/schematic/planmigrations/types/preview_migration_request_body.rb +14 -0
  36. data/lib/schematic/planmigrations/types/preview_migration_response.rb +12 -0
  37. data/lib/schematic/plans/types/publish_plan_version_request_body.rb +5 -0
  38. data/lib/schematic/plans/types/retry_custom_plan_billing_request_body.rb +1 -0
  39. data/lib/schematic/types/api_key_create_response_data.rb +1 -0
  40. data/lib/schematic/types/api_key_response_data.rb +1 -0
  41. data/lib/schematic/types/billing_credit_grant_zeroed_out_reason.rb +1 -0
  42. data/lib/schematic/types/billing_plan_credit_grant_response_data.rb +2 -0
  43. data/lib/schematic/types/catalog_config_ordered_entitlement.rb +1 -1
  44. data/lib/schematic/types/catalog_config_ordered_entitlement_response_data.rb +1 -1
  45. data/lib/schematic/types/catalog_response_data.rb +0 -1
  46. data/lib/schematic/types/company_billing_details_response_data.rb +1 -0
  47. data/lib/schematic/types/company_billing_details_view.rb +1 -0
  48. data/lib/schematic/types/company_plan_credit_grant_view.rb +2 -0
  49. data/lib/schematic/types/company_plan_detail_response_data.rb +1 -1
  50. data/lib/schematic/types/company_tax_id_view.rb +13 -0
  51. data/lib/schematic/types/component_checkout_settings.rb +1 -0
  52. data/lib/schematic/types/create_billing_plan_credit_grant_request_body.rb +2 -0
  53. data/lib/schematic/types/custom_plan_billing_response_data.rb +1 -0
  54. data/lib/schematic/types/feature_detail_response_data.rb +3 -0
  55. data/lib/schematic/types/feature_in_plan_response_data.rb +2 -0
  56. data/lib/schematic/types/feature_response_data.rb +2 -0
  57. data/lib/schematic/types/feature_type.rb +1 -0
  58. data/lib/schematic/types/feature_view.rb +2 -0
  59. data/lib/schematic/types/license_response_data.rb +12 -0
  60. data/lib/schematic/types/plan_credit_grant_scaling.rb +12 -0
  61. data/lib/schematic/types/plan_credit_grant_view.rb +2 -0
  62. data/lib/schematic/types/plan_detail_response_data.rb +1 -1
  63. data/lib/schematic/types/plan_group_plan_detail_response_data.rb +1 -1
  64. data/lib/schematic/types/plan_version_migration_preview_company_response_data.rb +14 -0
  65. data/lib/schematic/types/plan_version_migration_preview_response_data.rb +9 -0
  66. data/lib/schematic/types/plan_view_public_response_data.rb +1 -1
  67. data/lib/schematic/types/tax_id_input.rb +10 -0
  68. data/lib/schematic/types/tax_id_type.rb +48 -0
  69. data/lib/schematic/types/update_billing_plan_credit_grant_request_body.rb +2 -0
  70. data/lib/schematic/types/user_credit_usage_response_data.rb +14 -0
  71. data/lib/schematic/types/user_daily_credit_point_response_data.rb +10 -0
  72. data/lib/schematic/types/user_daily_usage_point_response_data.rb +11 -0
  73. data/lib/schematic/types/user_feature_usage_response_data.rb +14 -0
  74. data/lib/schematic/types/user_usage_by_company_response_data.rb +12 -0
  75. data/lib/schematic/types/user_usage_detail_response_data.rb +15 -0
  76. data/lib/schematic/version.rb +1 -1
  77. data/lib/schematic.rb +31 -2
  78. data/reference.md +565 -16
  79. metadata +31 -2
data/reference.md CHANGED
@@ -56,6 +56,7 @@ client.get_credit_ledger
56
56
  client.accounts.list_account_members(
57
57
  ids: ["ids"],
58
58
  q: "q",
59
+ role: "admin",
59
60
  limit: 1000000,
60
61
  offset: 1000000
61
62
  )
@@ -89,6 +90,14 @@ client.accounts.list_account_members(
89
90
  <dl>
90
91
  <dd>
91
92
 
93
+ **role:** `Schematic::Types::AccountMemberRole` — Filter by member role
94
+
95
+ </dd>
96
+ </dl>
97
+
98
+ <dl>
99
+ <dd>
100
+
92
101
  **limit:** `Integer` — Page limit (default 100)
93
102
 
94
103
  </dd>
@@ -181,6 +190,7 @@ client.accounts.get_account_member(account_member_id: "account_member_id")
181
190
  client.accounts.count_account_members(
182
191
  ids: ["ids"],
183
192
  q: "q",
193
+ role: "admin",
184
194
  limit: 1000000,
185
195
  offset: 1000000
186
196
  )
@@ -214,6 +224,14 @@ client.accounts.count_account_members(
214
224
  <dl>
215
225
  <dd>
216
226
 
227
+ **role:** `Schematic::Types::AccountMemberRole` — Filter by member role
228
+
229
+ </dd>
230
+ </dl>
231
+
232
+ <dl>
233
+ <dd>
234
+
217
235
  **limit:** `Integer` — Page limit (default 100)
218
236
 
219
237
  </dd>
@@ -371,6 +389,14 @@ client.accounts.create_api_key(name: "name")
371
389
  <dl>
372
390
  <dd>
373
391
 
392
+ **rate_limit_percent:** `Integer`
393
+
394
+ </dd>
395
+ </dl>
396
+
397
+ <dl>
398
+ <dd>
399
+
374
400
  **readonly:** `Internal::Types::Boolean`
375
401
 
376
402
  </dd>
@@ -491,6 +517,14 @@ client.accounts.update_api_key(api_key_id: "api_key_id")
491
517
  <dl>
492
518
  <dd>
493
519
 
520
+ **rate_limit_percent:** `Integer`
521
+
522
+ </dd>
523
+ </dl>
524
+
525
+ <dl>
526
+ <dd>
527
+
494
528
  **request_options:** `Schematic::Accounts::RequestOptions`
495
529
 
496
530
  </dd>
@@ -2578,6 +2612,7 @@ client.billing.list_billing_prices(
2578
2612
  for_trial_expiry_plan: true,
2579
2613
  ids: ["ids"],
2580
2614
  interval: "interval",
2615
+ interval_count: 1000000,
2581
2616
  is_active: true,
2582
2617
  plan_version_id: "plan_version_id",
2583
2618
  price: 1000000,
@@ -2645,6 +2680,14 @@ client.billing.list_billing_prices(
2645
2680
  <dl>
2646
2681
  <dd>
2647
2682
 
2683
+ **interval_count:** `Integer` — Filter for prices billed every N intervals; combine with interval (e.g. interval=month, interval_count=3 for quarterly)
2684
+
2685
+ </dd>
2686
+ </dl>
2687
+
2688
+ <dl>
2689
+ <dd>
2690
+
2648
2691
  **is_active:** `Internal::Types::Boolean` — Filter for active prices on active products (defaults to true if not specified)
2649
2692
 
2650
2693
  </dd>
@@ -3009,6 +3052,7 @@ client.billing.list_billing_product_prices(
3009
3052
  for_trial_expiry_plan: true,
3010
3053
  ids: ["ids"],
3011
3054
  interval: "interval",
3055
+ interval_count: 1000000,
3012
3056
  is_active: true,
3013
3057
  plan_version_id: "plan_version_id",
3014
3058
  price: 1000000,
@@ -3076,6 +3120,14 @@ client.billing.list_billing_product_prices(
3076
3120
  <dl>
3077
3121
  <dd>
3078
3122
 
3123
+ **interval_count:** `Integer` — Filter for prices billed every N intervals; combine with interval (e.g. interval=month, interval_count=3 for quarterly)
3124
+
3125
+ </dd>
3126
+ </dl>
3127
+
3128
+ <dl>
3129
+ <dd>
3130
+
3079
3131
  **is_active:** `Internal::Types::Boolean` — Filter for active prices on active products (defaults to true if not specified)
3080
3132
 
3081
3133
  </dd>
@@ -6496,10 +6548,7 @@ client.catalogs.list_catalogs(
6496
6548
  <dd>
6497
6549
 
6498
6550
  ```ruby
6499
- client.catalogs.create_catalog(
6500
- is_default: true,
6501
- name: "name"
6502
- )
6551
+ client.catalogs.create_catalog(name: "name")
6503
6552
  ```
6504
6553
  </dd>
6505
6554
  </dl>
@@ -6522,14 +6571,6 @@ client.catalogs.create_catalog(
6522
6571
  <dl>
6523
6572
  <dd>
6524
6573
 
6525
- **is_default:** `Internal::Types::Boolean`
6526
-
6527
- </dd>
6528
- </dl>
6529
-
6530
- <dl>
6531
- <dd>
6532
-
6533
6574
  **name:** `String`
6534
6575
 
6535
6576
  </dd>
@@ -7589,6 +7630,14 @@ client.checkout.update_company_billing_details(
7589
7630
  <dl>
7590
7631
  <dd>
7591
7632
 
7633
+ **tax_id:** `Schematic::Types::TaxIdInput`
7634
+
7635
+ </dd>
7636
+ </dl>
7637
+
7638
+ <dl>
7639
+ <dd>
7640
+
7592
7641
  **values:** `Internal::Types::Array[Schematic::Types::CheckoutFieldValue]`
7593
7642
 
7594
7643
  </dd>
@@ -13372,6 +13421,160 @@ client.entitlements.get_feature_usage_by_company(keys: {
13372
13421
  </dl>
13373
13422
 
13374
13423
 
13424
+ </dd>
13425
+ </dl>
13426
+ </details>
13427
+
13428
+ <details><summary><code>client.entitlements.<a href="/lib/schematic/entitlements/client.rb">get_user_usage_by_company</a>() -> Schematic::Entitlements::Types::GetUserUsageByCompanyResponse</code></summary>
13429
+ <dl>
13430
+ <dd>
13431
+
13432
+ #### 🔌 Usage
13433
+
13434
+ <dl>
13435
+ <dd>
13436
+
13437
+ <dl>
13438
+ <dd>
13439
+
13440
+ ```ruby
13441
+ client.entitlements.get_user_usage_by_company(
13442
+ company_id: "company_id",
13443
+ end_time: "2024-01-15T09:30:00Z",
13444
+ feature_id: "feature_id",
13445
+ start_time: "2024-01-15T09:30:00Z"
13446
+ )
13447
+ ```
13448
+ </dd>
13449
+ </dl>
13450
+ </dd>
13451
+ </dl>
13452
+
13453
+ #### ⚙️ Parameters
13454
+
13455
+ <dl>
13456
+ <dd>
13457
+
13458
+ <dl>
13459
+ <dd>
13460
+
13461
+ **company_id:** `String` — Company to break usage down for
13462
+
13463
+ </dd>
13464
+ </dl>
13465
+
13466
+ <dl>
13467
+ <dd>
13468
+
13469
+ **end_time:** `String` — End of the usage window (exclusive); defaults to now
13470
+
13471
+ </dd>
13472
+ </dl>
13473
+
13474
+ <dl>
13475
+ <dd>
13476
+
13477
+ **feature_id:** `String` — Restrict to a single event-based feature
13478
+
13479
+ </dd>
13480
+ </dl>
13481
+
13482
+ <dl>
13483
+ <dd>
13484
+
13485
+ **start_time:** `String` — Start of the usage window; defaults to 30 days before the end
13486
+
13487
+ </dd>
13488
+ </dl>
13489
+
13490
+ <dl>
13491
+ <dd>
13492
+
13493
+ **request_options:** `Schematic::Entitlements::RequestOptions`
13494
+
13495
+ </dd>
13496
+ </dl>
13497
+ </dd>
13498
+ </dl>
13499
+
13500
+
13501
+ </dd>
13502
+ </dl>
13503
+ </details>
13504
+
13505
+ <details><summary><code>client.entitlements.<a href="/lib/schematic/entitlements/client.rb">get_user_usage_detail</a>() -> Schematic::Entitlements::Types::GetUserUsageDetailResponse</code></summary>
13506
+ <dl>
13507
+ <dd>
13508
+
13509
+ #### 🔌 Usage
13510
+
13511
+ <dl>
13512
+ <dd>
13513
+
13514
+ <dl>
13515
+ <dd>
13516
+
13517
+ ```ruby
13518
+ client.entitlements.get_user_usage_detail(
13519
+ company_id: "company_id",
13520
+ end_time: "2024-01-15T09:30:00Z",
13521
+ start_time: "2024-01-15T09:30:00Z",
13522
+ user_id: "user_id"
13523
+ )
13524
+ ```
13525
+ </dd>
13526
+ </dl>
13527
+ </dd>
13528
+ </dl>
13529
+
13530
+ #### ⚙️ Parameters
13531
+
13532
+ <dl>
13533
+ <dd>
13534
+
13535
+ <dl>
13536
+ <dd>
13537
+
13538
+ **company_id:** `String` — Company the user belongs to
13539
+
13540
+ </dd>
13541
+ </dl>
13542
+
13543
+ <dl>
13544
+ <dd>
13545
+
13546
+ **end_time:** `String` — End of the usage window (exclusive); defaults to now
13547
+
13548
+ </dd>
13549
+ </dl>
13550
+
13551
+ <dl>
13552
+ <dd>
13553
+
13554
+ **start_time:** `String` — Start of the usage window; defaults to 30 days before the end
13555
+
13556
+ </dd>
13557
+ </dl>
13558
+
13559
+ <dl>
13560
+ <dd>
13561
+
13562
+ **user_id:** `String` — User to break usage down for
13563
+
13564
+ </dd>
13565
+ </dl>
13566
+
13567
+ <dl>
13568
+ <dd>
13569
+
13570
+ **request_options:** `Schematic::Entitlements::RequestOptions`
13571
+
13572
+ </dd>
13573
+ </dl>
13574
+ </dd>
13575
+ </dl>
13576
+
13577
+
13375
13578
  </dd>
13376
13579
  </dl>
13377
13580
  </details>
@@ -13661,6 +13864,14 @@ client.plans.retry_custom_plan_billing(
13661
13864
  <dl>
13662
13865
  <dd>
13663
13866
 
13867
+ **send_invoice:** `Internal::Types::Boolean` — Whether Stripe emails the invoice when it is finalized. Defaults to true.
13868
+
13869
+ </dd>
13870
+ </dl>
13871
+
13872
+ <dl>
13873
+ <dd>
13874
+
13664
13875
  **request_options:** `Schematic::Plans::RequestOptions`
13665
13876
 
13666
13877
  </dd>
@@ -14845,6 +15056,14 @@ client.plans.publish_plan_version(
14845
15056
  <dl>
14846
15057
  <dd>
14847
15058
 
15059
+ **address:** `Schematic::Types::CustomerBillingAddress`
15060
+
15061
+ </dd>
15062
+ </dl>
15063
+
15064
+ <dl>
15065
+ <dd>
15066
+
14848
15067
  **coupon_external_id:** `String`
14849
15068
 
14850
15069
  </dd>
@@ -14853,6 +15072,14 @@ client.plans.publish_plan_version(
14853
15072
  <dl>
14854
15073
  <dd>
14855
15074
 
15075
+ **custom_field_values:** `Internal::Types::Array[Schematic::Types::CheckoutFieldValue]`
15076
+
15077
+ </dd>
15078
+ </dl>
15079
+
15080
+ <dl>
15081
+ <dd>
15082
+
14856
15083
  **customer_email:** `String`
14857
15084
 
14858
15085
  </dd>
@@ -14885,6 +15112,30 @@ client.plans.publish_plan_version(
14885
15112
  <dl>
14886
15113
  <dd>
14887
15114
 
15115
+ **phone:** `String`
15116
+
15117
+ </dd>
15118
+ </dl>
15119
+
15120
+ <dl>
15121
+ <dd>
15122
+
15123
+ **send_invoice:** `Internal::Types::Boolean` — Whether Stripe emails the invoice when it is finalized. Defaults to true.
15124
+
15125
+ </dd>
15126
+ </dl>
15127
+
15128
+ <dl>
15129
+ <dd>
15130
+
15131
+ **tax_id:** `Schematic::Types::TaxIdInput`
15132
+
15133
+ </dd>
15134
+ </dl>
15135
+
15136
+ <dl>
15137
+ <dd>
15138
+
14888
15139
  **request_options:** `Schematic::Plans::RequestOptions`
14889
15140
 
14890
15141
  </dd>
@@ -18497,8 +18748,8 @@ client.integrationsapi.uninstall_integration(integration_id: "integration_id")
18497
18748
  </dl>
18498
18749
  </details>
18499
18750
 
18500
- ## plangroups
18501
- <details><summary><code>client.plangroups.<a href="/lib/schematic/plangroups/client.rb">get_plan_group</a>() -> Schematic::Plangroups::Types::GetPlanGroupResponse</code></summary>
18751
+ ## licenses
18752
+ <details><summary><code>client.licenses.<a href="/lib/schematic/licenses/client.rb">list_licenses</a>() -> Schematic::Licenses::Types::ListLicensesResponse</code></summary>
18502
18753
  <dl>
18503
18754
  <dd>
18504
18755
 
@@ -18511,7 +18762,13 @@ client.integrationsapi.uninstall_integration(integration_id: "integration_id")
18511
18762
  <dd>
18512
18763
 
18513
18764
  ```ruby
18514
- client.plangroups.get_plan_group(include_company_counts: true)
18765
+ client.licenses.list_licenses(
18766
+ feature_ids: ["feature_ids"],
18767
+ ids: ["ids"],
18768
+ name: "name",
18769
+ limit: 1000000,
18770
+ offset: 1000000
18771
+ )
18515
18772
  ```
18516
18773
  </dd>
18517
18774
  </dl>
@@ -18526,7 +18783,222 @@ client.plangroups.get_plan_group(include_company_counts: true)
18526
18783
  <dl>
18527
18784
  <dd>
18528
18785
 
18529
- **include_company_counts:** `Internal::Types::Boolean`
18786
+ **feature_ids:** `String`
18787
+
18788
+ </dd>
18789
+ </dl>
18790
+
18791
+ <dl>
18792
+ <dd>
18793
+
18794
+ **ids:** `String`
18795
+
18796
+ </dd>
18797
+ </dl>
18798
+
18799
+ <dl>
18800
+ <dd>
18801
+
18802
+ **name:** `String`
18803
+
18804
+ </dd>
18805
+ </dl>
18806
+
18807
+ <dl>
18808
+ <dd>
18809
+
18810
+ **limit:** `Integer` — Page limit (default 100)
18811
+
18812
+ </dd>
18813
+ </dl>
18814
+
18815
+ <dl>
18816
+ <dd>
18817
+
18818
+ **offset:** `Integer` — Page offset (default 0)
18819
+
18820
+ </dd>
18821
+ </dl>
18822
+
18823
+ <dl>
18824
+ <dd>
18825
+
18826
+ **request_options:** `Schematic::Licenses::RequestOptions`
18827
+
18828
+ </dd>
18829
+ </dl>
18830
+ </dd>
18831
+ </dl>
18832
+
18833
+
18834
+ </dd>
18835
+ </dl>
18836
+ </details>
18837
+
18838
+ <details><summary><code>client.licenses.<a href="/lib/schematic/licenses/client.rb">get_single_license</a>(license_id) -> Schematic::Licenses::Types::GetSingleLicenseResponse</code></summary>
18839
+ <dl>
18840
+ <dd>
18841
+
18842
+ #### 🔌 Usage
18843
+
18844
+ <dl>
18845
+ <dd>
18846
+
18847
+ <dl>
18848
+ <dd>
18849
+
18850
+ ```ruby
18851
+ client.licenses.get_single_license(license_id: "license_id")
18852
+ ```
18853
+ </dd>
18854
+ </dl>
18855
+ </dd>
18856
+ </dl>
18857
+
18858
+ #### ⚙️ Parameters
18859
+
18860
+ <dl>
18861
+ <dd>
18862
+
18863
+ <dl>
18864
+ <dd>
18865
+
18866
+ **license_id:** `String` — license_id
18867
+
18868
+ </dd>
18869
+ </dl>
18870
+
18871
+ <dl>
18872
+ <dd>
18873
+
18874
+ **request_options:** `Schematic::Licenses::RequestOptions`
18875
+
18876
+ </dd>
18877
+ </dl>
18878
+ </dd>
18879
+ </dl>
18880
+
18881
+
18882
+ </dd>
18883
+ </dl>
18884
+ </details>
18885
+
18886
+ <details><summary><code>client.licenses.<a href="/lib/schematic/licenses/client.rb">count_licenses</a>() -> Schematic::Licenses::Types::CountLicensesResponse</code></summary>
18887
+ <dl>
18888
+ <dd>
18889
+
18890
+ #### 🔌 Usage
18891
+
18892
+ <dl>
18893
+ <dd>
18894
+
18895
+ <dl>
18896
+ <dd>
18897
+
18898
+ ```ruby
18899
+ client.licenses.count_licenses(
18900
+ feature_ids: ["feature_ids"],
18901
+ ids: ["ids"],
18902
+ name: "name",
18903
+ limit: 1000000,
18904
+ offset: 1000000
18905
+ )
18906
+ ```
18907
+ </dd>
18908
+ </dl>
18909
+ </dd>
18910
+ </dl>
18911
+
18912
+ #### ⚙️ Parameters
18913
+
18914
+ <dl>
18915
+ <dd>
18916
+
18917
+ <dl>
18918
+ <dd>
18919
+
18920
+ **feature_ids:** `String`
18921
+
18922
+ </dd>
18923
+ </dl>
18924
+
18925
+ <dl>
18926
+ <dd>
18927
+
18928
+ **ids:** `String`
18929
+
18930
+ </dd>
18931
+ </dl>
18932
+
18933
+ <dl>
18934
+ <dd>
18935
+
18936
+ **name:** `String`
18937
+
18938
+ </dd>
18939
+ </dl>
18940
+
18941
+ <dl>
18942
+ <dd>
18943
+
18944
+ **limit:** `Integer` — Page limit (default 100)
18945
+
18946
+ </dd>
18947
+ </dl>
18948
+
18949
+ <dl>
18950
+ <dd>
18951
+
18952
+ **offset:** `Integer` — Page offset (default 0)
18953
+
18954
+ </dd>
18955
+ </dl>
18956
+
18957
+ <dl>
18958
+ <dd>
18959
+
18960
+ **request_options:** `Schematic::Licenses::RequestOptions`
18961
+
18962
+ </dd>
18963
+ </dl>
18964
+ </dd>
18965
+ </dl>
18966
+
18967
+
18968
+ </dd>
18969
+ </dl>
18970
+ </details>
18971
+
18972
+ ## plangroups
18973
+ <details><summary><code>client.plangroups.<a href="/lib/schematic/plangroups/client.rb">get_plan_group</a>() -> Schematic::Plangroups::Types::GetPlanGroupResponse</code></summary>
18974
+ <dl>
18975
+ <dd>
18976
+
18977
+ #### 🔌 Usage
18978
+
18979
+ <dl>
18980
+ <dd>
18981
+
18982
+ <dl>
18983
+ <dd>
18984
+
18985
+ ```ruby
18986
+ client.plangroups.get_plan_group(include_company_counts: true)
18987
+ ```
18988
+ </dd>
18989
+ </dl>
18990
+ </dd>
18991
+ </dl>
18992
+
18993
+ #### ⚙️ Parameters
18994
+
18995
+ <dl>
18996
+ <dd>
18997
+
18998
+ <dl>
18999
+ <dd>
19000
+
19001
+ **include_company_counts:** `Internal::Types::Boolean`
18530
19002
 
18531
19003
  </dd>
18532
19004
  </dl>
@@ -19845,6 +20317,83 @@ client.planmigrations.count_migrations(
19845
20317
  </dl>
19846
20318
 
19847
20319
 
20320
+ </dd>
20321
+ </dl>
20322
+ </details>
20323
+
20324
+ <details><summary><code>client.planmigrations.<a href="/lib/schematic/planmigrations/client.rb">preview_migration</a>(request) -> Schematic::Planmigrations::Types::PreviewMigrationResponse</code></summary>
20325
+ <dl>
20326
+ <dd>
20327
+
20328
+ #### 🔌 Usage
20329
+
20330
+ <dl>
20331
+ <dd>
20332
+
20333
+ <dl>
20334
+ <dd>
20335
+
20336
+ ```ruby
20337
+ client.planmigrations.preview_migration(
20338
+ company_ids: ["company_ids"],
20339
+ plan_id: "plan_id",
20340
+ plan_version_id_to: "plan_version_id_to",
20341
+ target_plan_type: "plan"
20342
+ )
20343
+ ```
20344
+ </dd>
20345
+ </dl>
20346
+ </dd>
20347
+ </dl>
20348
+
20349
+ #### ⚙️ Parameters
20350
+
20351
+ <dl>
20352
+ <dd>
20353
+
20354
+ <dl>
20355
+ <dd>
20356
+
20357
+ **company_ids:** `Internal::Types::Array[String]`
20358
+
20359
+ </dd>
20360
+ </dl>
20361
+
20362
+ <dl>
20363
+ <dd>
20364
+
20365
+ **plan_id:** `String`
20366
+
20367
+ </dd>
20368
+ </dl>
20369
+
20370
+ <dl>
20371
+ <dd>
20372
+
20373
+ **plan_version_id_to:** `String`
20374
+
20375
+ </dd>
20376
+ </dl>
20377
+
20378
+ <dl>
20379
+ <dd>
20380
+
20381
+ **target_plan_type:** `Schematic::Types::PlanType`
20382
+
20383
+ </dd>
20384
+ </dl>
20385
+
20386
+ <dl>
20387
+ <dd>
20388
+
20389
+ **request_options:** `Schematic::Planmigrations::RequestOptions`
20390
+
20391
+ </dd>
20392
+ </dl>
20393
+ </dd>
20394
+ </dl>
20395
+
20396
+
19848
20397
  </dd>
19849
20398
  </dl>
19850
20399
  </details>