schematichq 1.4.2 → 1.4.3
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/README.md +33 -3
- data/WASM_VERSION +1 -1
- data/lib/schematic/billing/client.rb +32 -0
- data/lib/schematic/billing/types/delete_payment_method_by_external_id_response.rb +12 -0
- data/lib/schematic/client.rb +1 -1
- data/lib/schematic/companies/client.rb +6 -2
- data/lib/schematic/companies/types/count_companies_params.rb +1 -0
- data/lib/schematic/companies/types/count_companies_request.rb +1 -0
- data/lib/schematic/companies/types/list_companies_params.rb +1 -0
- data/lib/schematic/companies/types/list_companies_request.rb +1 -0
- data/lib/schematic/credits/client.rb +102 -0
- data/lib/schematic/credits/types/acquire_credit_lease_request_body.rb +14 -0
- data/lib/schematic/credits/types/acquire_credit_lease_response.rb +12 -0
- data/lib/schematic/credits/types/extend_credit_lease_request_body.rb +13 -0
- data/lib/schematic/credits/types/extend_credit_lease_response.rb +12 -0
- data/lib/schematic/credits/types/release_credit_lease_response.rb +12 -0
- data/lib/schematic/datastream/merge.rb +71 -0
- data/lib/schematic/entitlements/types/create_billing_linked_plan_entitlement_request_body.rb +1 -0
- data/lib/schematic/entitlements/types/create_plan_entitlement_request_body.rb +1 -0
- data/lib/schematic/entitlements/types/update_plan_entitlement_request_body.rb +1 -0
- data/lib/schematic/event_buffer.rb +7 -1
- data/lib/schematic/logger.rb +1 -1
- data/lib/schematic/planmigrations/client.rb +101 -0
- data/lib/schematic/planmigrations/types/create_migration_input.rb +17 -0
- data/lib/schematic/planmigrations/types/create_migration_response.rb +12 -0
- data/lib/schematic/planmigrations/types/retry_company_migration_response.rb +12 -0
- data/lib/schematic/planmigrations/types/retry_migration_request_body.rb +12 -0
- data/lib/schematic/planmigrations/types/retry_migration_response.rb +12 -0
- data/lib/schematic/plans/client.rb +39 -2
- data/lib/schematic/plans/types/count_plans_params.rb +1 -0
- data/lib/schematic/plans/types/count_plans_request.rb +1 -0
- data/lib/schematic/plans/types/list_plans_params.rb +1 -0
- data/lib/schematic/plans/types/list_plans_request.rb +1 -0
- data/lib/schematic/plans/types/mark_custom_plan_billing_paid_response.rb +12 -0
- data/lib/schematic/schematic_client.rb +46 -13
- data/lib/schematic/types/checkout_subscription.rb +1 -0
- data/lib/schematic/types/company_plan_detail_response_data.rb +2 -1
- data/lib/schematic/types/create_entitlement_in_bundle_request_body.rb +1 -0
- data/lib/schematic/types/credit_lease_response_data.rb +16 -0
- data/lib/schematic/types/custom_plan_billing_response_data.rb +1 -0
- data/lib/schematic/types/event_body_track.rb +1 -0
- data/lib/schematic/types/feature_view.rb +1 -0
- data/lib/schematic/types/integration_config.rb +1 -0
- data/lib/schematic/types/integration_type.rb +1 -0
- data/lib/schematic/types/mark_custom_plan_billing_paid_request_body.rb +23 -0
- data/lib/schematic/types/migration_error_code.rb +21 -0
- data/lib/schematic/types/plan_detail_response_data.rb +1 -0
- data/lib/schematic/types/plan_entitlement_response_data.rb +1 -0
- data/lib/schematic/types/plan_group_plan_detail_response_data.rb +2 -1
- data/lib/schematic/types/plan_price_cadence.rb +13 -0
- data/lib/schematic/types/plan_version_company_migration_response_data.rb +1 -0
- data/lib/schematic/types/plan_version_migration_response_data.rb +1 -0
- data/lib/schematic/types/plan_view_public_response_data.rb +2 -1
- data/lib/schematic/types/release_credit_lease_request_body.rb +23 -0
- data/lib/schematic/types/stripe_integration_config.rb +0 -1
- data/lib/schematic/types/usage_based_entitlement_request_body.rb +1 -0
- data/lib/schematic/types/usage_based_entitlement_response_data.rb +1 -0
- data/lib/schematic/types/work_os_integration_config.rb +10 -0
- data/lib/schematic/version.rb +1 -1
- data/lib/schematic/wasm/rulesengine.wasm +0 -0
- data/lib/schematic.rb +18 -0
- data/reference.md +582 -2
- metadata +20 -2
data/reference.md
CHANGED
|
@@ -2230,6 +2230,54 @@ client.billing.upsert_payment_method(
|
|
|
2230
2230
|
</dl>
|
|
2231
2231
|
|
|
2232
2232
|
|
|
2233
|
+
</dd>
|
|
2234
|
+
</dl>
|
|
2235
|
+
</details>
|
|
2236
|
+
|
|
2237
|
+
<details><summary><code>client.billing.<a href="/lib/schematic/billing/client.rb">delete_payment_method_by_external_id</a>(billing_id) -> Schematic::Billing::Types::DeletePaymentMethodByExternalIdResponse</code></summary>
|
|
2238
|
+
<dl>
|
|
2239
|
+
<dd>
|
|
2240
|
+
|
|
2241
|
+
#### 🔌 Usage
|
|
2242
|
+
|
|
2243
|
+
<dl>
|
|
2244
|
+
<dd>
|
|
2245
|
+
|
|
2246
|
+
<dl>
|
|
2247
|
+
<dd>
|
|
2248
|
+
|
|
2249
|
+
```ruby
|
|
2250
|
+
client.billing.delete_payment_method_by_external_id(billing_id: "billing_id")
|
|
2251
|
+
```
|
|
2252
|
+
</dd>
|
|
2253
|
+
</dl>
|
|
2254
|
+
</dd>
|
|
2255
|
+
</dl>
|
|
2256
|
+
|
|
2257
|
+
#### ⚙️ Parameters
|
|
2258
|
+
|
|
2259
|
+
<dl>
|
|
2260
|
+
<dd>
|
|
2261
|
+
|
|
2262
|
+
<dl>
|
|
2263
|
+
<dd>
|
|
2264
|
+
|
|
2265
|
+
**billing_id:** `String` — billing_id
|
|
2266
|
+
|
|
2267
|
+
</dd>
|
|
2268
|
+
</dl>
|
|
2269
|
+
|
|
2270
|
+
<dl>
|
|
2271
|
+
<dd>
|
|
2272
|
+
|
|
2273
|
+
**request_options:** `Schematic::Billing::RequestOptions`
|
|
2274
|
+
|
|
2275
|
+
</dd>
|
|
2276
|
+
</dl>
|
|
2277
|
+
</dd>
|
|
2278
|
+
</dl>
|
|
2279
|
+
|
|
2280
|
+
|
|
2233
2281
|
</dd>
|
|
2234
2282
|
</dl>
|
|
2235
2283
|
</details>
|
|
@@ -5175,6 +5223,208 @@ client.credits.list_grants_for_credit(
|
|
|
5175
5223
|
</dl>
|
|
5176
5224
|
|
|
5177
5225
|
|
|
5226
|
+
</dd>
|
|
5227
|
+
</dl>
|
|
5228
|
+
</details>
|
|
5229
|
+
|
|
5230
|
+
<details><summary><code>client.credits.<a href="/lib/schematic/credits/client.rb">acquire_credit_lease</a>(request) -> Schematic::Credits::Types::AcquireCreditLeaseResponse</code></summary>
|
|
5231
|
+
<dl>
|
|
5232
|
+
<dd>
|
|
5233
|
+
|
|
5234
|
+
#### 🔌 Usage
|
|
5235
|
+
|
|
5236
|
+
<dl>
|
|
5237
|
+
<dd>
|
|
5238
|
+
|
|
5239
|
+
<dl>
|
|
5240
|
+
<dd>
|
|
5241
|
+
|
|
5242
|
+
```ruby
|
|
5243
|
+
client.credits.acquire_credit_lease(
|
|
5244
|
+
company_id: "company_id",
|
|
5245
|
+
credit_type_id: "credit_type_id",
|
|
5246
|
+
requested_amount: 1.1
|
|
5247
|
+
)
|
|
5248
|
+
```
|
|
5249
|
+
</dd>
|
|
5250
|
+
</dl>
|
|
5251
|
+
</dd>
|
|
5252
|
+
</dl>
|
|
5253
|
+
|
|
5254
|
+
#### ⚙️ Parameters
|
|
5255
|
+
|
|
5256
|
+
<dl>
|
|
5257
|
+
<dd>
|
|
5258
|
+
|
|
5259
|
+
<dl>
|
|
5260
|
+
<dd>
|
|
5261
|
+
|
|
5262
|
+
**company_id:** `String`
|
|
5263
|
+
|
|
5264
|
+
</dd>
|
|
5265
|
+
</dl>
|
|
5266
|
+
|
|
5267
|
+
<dl>
|
|
5268
|
+
<dd>
|
|
5269
|
+
|
|
5270
|
+
**credit_type_id:** `String`
|
|
5271
|
+
|
|
5272
|
+
</dd>
|
|
5273
|
+
</dl>
|
|
5274
|
+
|
|
5275
|
+
<dl>
|
|
5276
|
+
<dd>
|
|
5277
|
+
|
|
5278
|
+
**expires_at:** `String`
|
|
5279
|
+
|
|
5280
|
+
</dd>
|
|
5281
|
+
</dl>
|
|
5282
|
+
|
|
5283
|
+
<dl>
|
|
5284
|
+
<dd>
|
|
5285
|
+
|
|
5286
|
+
**requested_amount:** `Integer`
|
|
5287
|
+
|
|
5288
|
+
</dd>
|
|
5289
|
+
</dl>
|
|
5290
|
+
|
|
5291
|
+
<dl>
|
|
5292
|
+
<dd>
|
|
5293
|
+
|
|
5294
|
+
**request_options:** `Schematic::Credits::RequestOptions`
|
|
5295
|
+
|
|
5296
|
+
</dd>
|
|
5297
|
+
</dl>
|
|
5298
|
+
</dd>
|
|
5299
|
+
</dl>
|
|
5300
|
+
|
|
5301
|
+
|
|
5302
|
+
</dd>
|
|
5303
|
+
</dl>
|
|
5304
|
+
</details>
|
|
5305
|
+
|
|
5306
|
+
<details><summary><code>client.credits.<a href="/lib/schematic/credits/client.rb">extend_credit_lease</a>(lease_id, request) -> Schematic::Credits::Types::ExtendCreditLeaseResponse</code></summary>
|
|
5307
|
+
<dl>
|
|
5308
|
+
<dd>
|
|
5309
|
+
|
|
5310
|
+
#### 🔌 Usage
|
|
5311
|
+
|
|
5312
|
+
<dl>
|
|
5313
|
+
<dd>
|
|
5314
|
+
|
|
5315
|
+
<dl>
|
|
5316
|
+
<dd>
|
|
5317
|
+
|
|
5318
|
+
```ruby
|
|
5319
|
+
client.credits.extend_credit_lease(
|
|
5320
|
+
lease_id: "lease_id",
|
|
5321
|
+
additional_amount: 1.1
|
|
5322
|
+
)
|
|
5323
|
+
```
|
|
5324
|
+
</dd>
|
|
5325
|
+
</dl>
|
|
5326
|
+
</dd>
|
|
5327
|
+
</dl>
|
|
5328
|
+
|
|
5329
|
+
#### ⚙️ Parameters
|
|
5330
|
+
|
|
5331
|
+
<dl>
|
|
5332
|
+
<dd>
|
|
5333
|
+
|
|
5334
|
+
<dl>
|
|
5335
|
+
<dd>
|
|
5336
|
+
|
|
5337
|
+
**lease_id:** `String` — lease_id
|
|
5338
|
+
|
|
5339
|
+
</dd>
|
|
5340
|
+
</dl>
|
|
5341
|
+
|
|
5342
|
+
<dl>
|
|
5343
|
+
<dd>
|
|
5344
|
+
|
|
5345
|
+
**additional_amount:** `Integer`
|
|
5346
|
+
|
|
5347
|
+
</dd>
|
|
5348
|
+
</dl>
|
|
5349
|
+
|
|
5350
|
+
<dl>
|
|
5351
|
+
<dd>
|
|
5352
|
+
|
|
5353
|
+
**expires_at:** `String`
|
|
5354
|
+
|
|
5355
|
+
</dd>
|
|
5356
|
+
</dl>
|
|
5357
|
+
|
|
5358
|
+
<dl>
|
|
5359
|
+
<dd>
|
|
5360
|
+
|
|
5361
|
+
**request_options:** `Schematic::Credits::RequestOptions`
|
|
5362
|
+
|
|
5363
|
+
</dd>
|
|
5364
|
+
</dl>
|
|
5365
|
+
</dd>
|
|
5366
|
+
</dl>
|
|
5367
|
+
|
|
5368
|
+
|
|
5369
|
+
</dd>
|
|
5370
|
+
</dl>
|
|
5371
|
+
</details>
|
|
5372
|
+
|
|
5373
|
+
<details><summary><code>client.credits.<a href="/lib/schematic/credits/client.rb">release_credit_lease</a>(lease_id, request) -> Schematic::Credits::Types::ReleaseCreditLeaseResponse</code></summary>
|
|
5374
|
+
<dl>
|
|
5375
|
+
<dd>
|
|
5376
|
+
|
|
5377
|
+
#### 🔌 Usage
|
|
5378
|
+
|
|
5379
|
+
<dl>
|
|
5380
|
+
<dd>
|
|
5381
|
+
|
|
5382
|
+
<dl>
|
|
5383
|
+
<dd>
|
|
5384
|
+
|
|
5385
|
+
```ruby
|
|
5386
|
+
client.credits.release_credit_lease(
|
|
5387
|
+
lease_id: "lease_id",
|
|
5388
|
+
request: {}
|
|
5389
|
+
)
|
|
5390
|
+
```
|
|
5391
|
+
</dd>
|
|
5392
|
+
</dl>
|
|
5393
|
+
</dd>
|
|
5394
|
+
</dl>
|
|
5395
|
+
|
|
5396
|
+
#### ⚙️ Parameters
|
|
5397
|
+
|
|
5398
|
+
<dl>
|
|
5399
|
+
<dd>
|
|
5400
|
+
|
|
5401
|
+
<dl>
|
|
5402
|
+
<dd>
|
|
5403
|
+
|
|
5404
|
+
**lease_id:** `String` — lease_id
|
|
5405
|
+
|
|
5406
|
+
</dd>
|
|
5407
|
+
</dl>
|
|
5408
|
+
|
|
5409
|
+
<dl>
|
|
5410
|
+
<dd>
|
|
5411
|
+
|
|
5412
|
+
**request:** `Internal::Types::Hash[String, Object]`
|
|
5413
|
+
|
|
5414
|
+
</dd>
|
|
5415
|
+
</dl>
|
|
5416
|
+
|
|
5417
|
+
<dl>
|
|
5418
|
+
<dd>
|
|
5419
|
+
|
|
5420
|
+
**request_options:** `Schematic::Credits::RequestOptions`
|
|
5421
|
+
|
|
5422
|
+
</dd>
|
|
5423
|
+
</dl>
|
|
5424
|
+
</dd>
|
|
5425
|
+
</dl>
|
|
5426
|
+
|
|
5427
|
+
|
|
5178
5428
|
</dd>
|
|
5179
5429
|
</dl>
|
|
5180
5430
|
</details>
|
|
@@ -6535,6 +6785,7 @@ client.companies.list_companies(
|
|
|
6535
6785
|
plan_id: "plan_id",
|
|
6536
6786
|
plan_ids: ["plan_ids"],
|
|
6537
6787
|
plan_version_id: "plan_version_id",
|
|
6788
|
+
plan_version_ids: ["plan_version_ids"],
|
|
6538
6789
|
q: "q",
|
|
6539
6790
|
sort_order_column: "sort_order_column",
|
|
6540
6791
|
sort_order_direction: "asc",
|
|
@@ -6618,6 +6869,14 @@ client.companies.list_companies(
|
|
|
6618
6869
|
<dl>
|
|
6619
6870
|
<dd>
|
|
6620
6871
|
|
|
6872
|
+
**plan_version_ids:** `String` — Filter companies by one or more plan version IDs (each ID starts with plvr_). Takes precedence over plan_version_id when set.
|
|
6873
|
+
|
|
6874
|
+
</dd>
|
|
6875
|
+
</dl>
|
|
6876
|
+
|
|
6877
|
+
<dl>
|
|
6878
|
+
<dd>
|
|
6879
|
+
|
|
6621
6880
|
**q:** `String` — Search for companies by name, keys or string traits
|
|
6622
6881
|
|
|
6623
6882
|
</dd>
|
|
@@ -6913,6 +7172,7 @@ client.companies.count_companies(
|
|
|
6913
7172
|
plan_id: "plan_id",
|
|
6914
7173
|
plan_ids: ["plan_ids"],
|
|
6915
7174
|
plan_version_id: "plan_version_id",
|
|
7175
|
+
plan_version_ids: ["plan_version_ids"],
|
|
6916
7176
|
q: "q",
|
|
6917
7177
|
sort_order_column: "sort_order_column",
|
|
6918
7178
|
sort_order_direction: "asc",
|
|
@@ -6996,6 +7256,14 @@ client.companies.count_companies(
|
|
|
6996
7256
|
<dl>
|
|
6997
7257
|
<dd>
|
|
6998
7258
|
|
|
7259
|
+
**plan_version_ids:** `String` — Filter companies by one or more plan version IDs (each ID starts with plvr_). Takes precedence over plan_version_id when set.
|
|
7260
|
+
|
|
7261
|
+
</dd>
|
|
7262
|
+
</dl>
|
|
7263
|
+
|
|
7264
|
+
<dl>
|
|
7265
|
+
<dd>
|
|
7266
|
+
|
|
6999
7267
|
**q:** `String` — Search for companies by name, keys or string traits
|
|
7000
7268
|
|
|
7001
7269
|
</dd>
|
|
@@ -10838,6 +11106,14 @@ client.entitlements.create_plan_entitlement(
|
|
|
10838
11106
|
<dl>
|
|
10839
11107
|
<dd>
|
|
10840
11108
|
|
|
11109
|
+
**usage_quantity:** `Integer` — The committed unit quantity for this entitlement. For custom plans this is the quantity the company is contractually committed to; for standard plans it is the quantity pre-filled when subscribing. Only applies to pay-in-advance entitlements. Note: this is not yet enforced/auto-provisioned as a true default — it is currently stored for downstream billing use.
|
|
11110
|
+
|
|
11111
|
+
</dd>
|
|
11112
|
+
</dl>
|
|
11113
|
+
|
|
11114
|
+
<dl>
|
|
11115
|
+
<dd>
|
|
11116
|
+
|
|
10841
11117
|
**value_bool:** `Internal::Types::Boolean`
|
|
10842
11118
|
|
|
10843
11119
|
</dd>
|
|
@@ -11169,7 +11445,7 @@ client.entitlements.update_plan_entitlement(
|
|
|
11169
11445
|
<dl>
|
|
11170
11446
|
<dd>
|
|
11171
11447
|
|
|
11172
|
-
**
|
|
11448
|
+
**usage_quantity:** `Integer` — The committed unit quantity for this entitlement. For custom plans this is the quantity the company is contractually committed to; for standard plans it is the quantity pre-filled when subscribing. Only applies to pay-in-advance entitlements. Note: this is not yet enforced/auto-provisioned as a true default — it is currently stored for downstream billing use.
|
|
11173
11449
|
|
|
11174
11450
|
</dd>
|
|
11175
11451
|
</dl>
|
|
@@ -11177,7 +11453,15 @@ client.entitlements.update_plan_entitlement(
|
|
|
11177
11453
|
<dl>
|
|
11178
11454
|
<dd>
|
|
11179
11455
|
|
|
11180
|
-
**
|
|
11456
|
+
**value_bool:** `Internal::Types::Boolean`
|
|
11457
|
+
|
|
11458
|
+
</dd>
|
|
11459
|
+
</dl>
|
|
11460
|
+
|
|
11461
|
+
<dl>
|
|
11462
|
+
<dd>
|
|
11463
|
+
|
|
11464
|
+
**value_credit_id:** `String`
|
|
11181
11465
|
|
|
11182
11466
|
</dd>
|
|
11183
11467
|
</dl>
|
|
@@ -11535,6 +11819,14 @@ client.entitlements.upsert_plan_entitlement_for_billing_product(
|
|
|
11535
11819
|
<dl>
|
|
11536
11820
|
<dd>
|
|
11537
11821
|
|
|
11822
|
+
**usage_quantity:** `Integer` — The committed unit quantity for this entitlement. For custom plans this is the quantity the company is contractually committed to; for standard plans it is the quantity pre-filled when subscribing. Only applies to pay-in-advance entitlements. Note: this is not yet enforced/auto-provisioned as a true default — it is currently stored for downstream billing use.
|
|
11823
|
+
|
|
11824
|
+
</dd>
|
|
11825
|
+
</dl>
|
|
11826
|
+
|
|
11827
|
+
<dl>
|
|
11828
|
+
<dd>
|
|
11829
|
+
|
|
11538
11830
|
**value_bool:** `Internal::Types::Boolean`
|
|
11539
11831
|
|
|
11540
11832
|
</dd>
|
|
@@ -12027,6 +12319,65 @@ client.plans.list_custom_plan_billings(
|
|
|
12027
12319
|
</dl>
|
|
12028
12320
|
|
|
12029
12321
|
|
|
12322
|
+
</dd>
|
|
12323
|
+
</dl>
|
|
12324
|
+
</details>
|
|
12325
|
+
|
|
12326
|
+
<details><summary><code>client.plans.<a href="/lib/schematic/plans/client.rb">mark_custom_plan_billing_paid</a>(custom_plan_billing_id, request) -> Schematic::Plans::Types::MarkCustomPlanBillingPaidResponse</code></summary>
|
|
12327
|
+
<dl>
|
|
12328
|
+
<dd>
|
|
12329
|
+
|
|
12330
|
+
#### 🔌 Usage
|
|
12331
|
+
|
|
12332
|
+
<dl>
|
|
12333
|
+
<dd>
|
|
12334
|
+
|
|
12335
|
+
<dl>
|
|
12336
|
+
<dd>
|
|
12337
|
+
|
|
12338
|
+
```ruby
|
|
12339
|
+
client.plans.mark_custom_plan_billing_paid(
|
|
12340
|
+
custom_plan_billing_id: "custom_plan_billing_id",
|
|
12341
|
+
request: {}
|
|
12342
|
+
)
|
|
12343
|
+
```
|
|
12344
|
+
</dd>
|
|
12345
|
+
</dl>
|
|
12346
|
+
</dd>
|
|
12347
|
+
</dl>
|
|
12348
|
+
|
|
12349
|
+
#### ⚙️ Parameters
|
|
12350
|
+
|
|
12351
|
+
<dl>
|
|
12352
|
+
<dd>
|
|
12353
|
+
|
|
12354
|
+
<dl>
|
|
12355
|
+
<dd>
|
|
12356
|
+
|
|
12357
|
+
**custom_plan_billing_id:** `String` — custom_plan_billing_id
|
|
12358
|
+
|
|
12359
|
+
</dd>
|
|
12360
|
+
</dl>
|
|
12361
|
+
|
|
12362
|
+
<dl>
|
|
12363
|
+
<dd>
|
|
12364
|
+
|
|
12365
|
+
**request:** `Internal::Types::Hash[String, Object]`
|
|
12366
|
+
|
|
12367
|
+
</dd>
|
|
12368
|
+
</dl>
|
|
12369
|
+
|
|
12370
|
+
<dl>
|
|
12371
|
+
<dd>
|
|
12372
|
+
|
|
12373
|
+
**request_options:** `Schematic::Plans::RequestOptions`
|
|
12374
|
+
|
|
12375
|
+
</dd>
|
|
12376
|
+
</dl>
|
|
12377
|
+
</dd>
|
|
12378
|
+
</dl>
|
|
12379
|
+
|
|
12380
|
+
|
|
12030
12381
|
</dd>
|
|
12031
12382
|
</dl>
|
|
12032
12383
|
</details>
|
|
@@ -12228,6 +12579,7 @@ client.plans.list_plans(
|
|
|
12228
12579
|
plan_type: "plan",
|
|
12229
12580
|
q: "q",
|
|
12230
12581
|
scoped_to_company_id: "scoped_to_company_id",
|
|
12582
|
+
with_entitlements: true,
|
|
12231
12583
|
without_entitlement_for: "without_entitlement_for",
|
|
12232
12584
|
without_paid_product_id: true,
|
|
12233
12585
|
limit: 1000000,
|
|
@@ -12343,6 +12695,14 @@ client.plans.list_plans(
|
|
|
12343
12695
|
<dl>
|
|
12344
12696
|
<dd>
|
|
12345
12697
|
|
|
12698
|
+
**with_entitlements:** `Internal::Types::Boolean` — Include each plan's entitlements in the response
|
|
12699
|
+
|
|
12700
|
+
</dd>
|
|
12701
|
+
</dl>
|
|
12702
|
+
|
|
12703
|
+
<dl>
|
|
12704
|
+
<dd>
|
|
12705
|
+
|
|
12346
12706
|
**without_entitlement_for:** `String` — Filter out plans that already have a plan entitlement for the specified feature ID
|
|
12347
12707
|
|
|
12348
12708
|
</dd>
|
|
@@ -12947,6 +13307,7 @@ client.plans.count_plans(
|
|
|
12947
13307
|
plan_type: "plan",
|
|
12948
13308
|
q: "q",
|
|
12949
13309
|
scoped_to_company_id: "scoped_to_company_id",
|
|
13310
|
+
with_entitlements: true,
|
|
12950
13311
|
without_entitlement_for: "without_entitlement_for",
|
|
12951
13312
|
without_paid_product_id: true,
|
|
12952
13313
|
limit: 1000000,
|
|
@@ -13062,6 +13423,14 @@ client.plans.count_plans(
|
|
|
13062
13423
|
<dl>
|
|
13063
13424
|
<dd>
|
|
13064
13425
|
|
|
13426
|
+
**with_entitlements:** `Internal::Types::Boolean` — Include each plan's entitlements in the response
|
|
13427
|
+
|
|
13428
|
+
</dd>
|
|
13429
|
+
</dl>
|
|
13430
|
+
|
|
13431
|
+
<dl>
|
|
13432
|
+
<dd>
|
|
13433
|
+
|
|
13065
13434
|
**without_entitlement_for:** `String` — Filter out plans that already have a plan entitlement for the specified feature ID
|
|
13066
13435
|
|
|
13067
13436
|
</dd>
|
|
@@ -17395,6 +17764,54 @@ client.planmigrations.list_company_migrations(
|
|
|
17395
17764
|
</dl>
|
|
17396
17765
|
|
|
17397
17766
|
|
|
17767
|
+
</dd>
|
|
17768
|
+
</dl>
|
|
17769
|
+
</details>
|
|
17770
|
+
|
|
17771
|
+
<details><summary><code>client.planmigrations.<a href="/lib/schematic/planmigrations/client.rb">retry_company_migration</a>(plan_version_company_migration_id) -> Schematic::Planmigrations::Types::RetryCompanyMigrationResponse</code></summary>
|
|
17772
|
+
<dl>
|
|
17773
|
+
<dd>
|
|
17774
|
+
|
|
17775
|
+
#### 🔌 Usage
|
|
17776
|
+
|
|
17777
|
+
<dl>
|
|
17778
|
+
<dd>
|
|
17779
|
+
|
|
17780
|
+
<dl>
|
|
17781
|
+
<dd>
|
|
17782
|
+
|
|
17783
|
+
```ruby
|
|
17784
|
+
client.planmigrations.retry_company_migration(plan_version_company_migration_id: "plan_version_company_migration_id")
|
|
17785
|
+
```
|
|
17786
|
+
</dd>
|
|
17787
|
+
</dl>
|
|
17788
|
+
</dd>
|
|
17789
|
+
</dl>
|
|
17790
|
+
|
|
17791
|
+
#### ⚙️ Parameters
|
|
17792
|
+
|
|
17793
|
+
<dl>
|
|
17794
|
+
<dd>
|
|
17795
|
+
|
|
17796
|
+
<dl>
|
|
17797
|
+
<dd>
|
|
17798
|
+
|
|
17799
|
+
**plan_version_company_migration_id:** `String` — plan_version_company_migration_id
|
|
17800
|
+
|
|
17801
|
+
</dd>
|
|
17802
|
+
</dl>
|
|
17803
|
+
|
|
17804
|
+
<dl>
|
|
17805
|
+
<dd>
|
|
17806
|
+
|
|
17807
|
+
**request_options:** `Schematic::Planmigrations::RequestOptions`
|
|
17808
|
+
|
|
17809
|
+
</dd>
|
|
17810
|
+
</dl>
|
|
17811
|
+
</dd>
|
|
17812
|
+
</dl>
|
|
17813
|
+
|
|
17814
|
+
|
|
17398
17815
|
</dd>
|
|
17399
17816
|
</dl>
|
|
17400
17817
|
</details>
|
|
@@ -17558,6 +17975,110 @@ client.planmigrations.list_migrations(
|
|
|
17558
17975
|
</dl>
|
|
17559
17976
|
|
|
17560
17977
|
|
|
17978
|
+
</dd>
|
|
17979
|
+
</dl>
|
|
17980
|
+
</details>
|
|
17981
|
+
|
|
17982
|
+
<details><summary><code>client.planmigrations.<a href="/lib/schematic/planmigrations/client.rb">create_migration</a>(request) -> Schematic::Planmigrations::Types::CreateMigrationResponse</code></summary>
|
|
17983
|
+
<dl>
|
|
17984
|
+
<dd>
|
|
17985
|
+
|
|
17986
|
+
#### 🔌 Usage
|
|
17987
|
+
|
|
17988
|
+
<dl>
|
|
17989
|
+
<dd>
|
|
17990
|
+
|
|
17991
|
+
<dl>
|
|
17992
|
+
<dd>
|
|
17993
|
+
|
|
17994
|
+
```ruby
|
|
17995
|
+
client.planmigrations.create_migration(
|
|
17996
|
+
company_ids: ["company_ids"],
|
|
17997
|
+
excluded_company_ids: ["excluded_company_ids"],
|
|
17998
|
+
plan_id: "plan_id",
|
|
17999
|
+
plan_version_id_to: "plan_version_id_to",
|
|
18000
|
+
plan_version_ids_from: ["plan_version_ids_from"],
|
|
18001
|
+
strategy: "immediate",
|
|
18002
|
+
target_plan_type: "plan"
|
|
18003
|
+
)
|
|
18004
|
+
```
|
|
18005
|
+
</dd>
|
|
18006
|
+
</dl>
|
|
18007
|
+
</dd>
|
|
18008
|
+
</dl>
|
|
18009
|
+
|
|
18010
|
+
#### ⚙️ Parameters
|
|
18011
|
+
|
|
18012
|
+
<dl>
|
|
18013
|
+
<dd>
|
|
18014
|
+
|
|
18015
|
+
<dl>
|
|
18016
|
+
<dd>
|
|
18017
|
+
|
|
18018
|
+
**company_ids:** `Internal::Types::Array[String]`
|
|
18019
|
+
|
|
18020
|
+
</dd>
|
|
18021
|
+
</dl>
|
|
18022
|
+
|
|
18023
|
+
<dl>
|
|
18024
|
+
<dd>
|
|
18025
|
+
|
|
18026
|
+
**excluded_company_ids:** `Internal::Types::Array[String]`
|
|
18027
|
+
|
|
18028
|
+
</dd>
|
|
18029
|
+
</dl>
|
|
18030
|
+
|
|
18031
|
+
<dl>
|
|
18032
|
+
<dd>
|
|
18033
|
+
|
|
18034
|
+
**plan_id:** `String`
|
|
18035
|
+
|
|
18036
|
+
</dd>
|
|
18037
|
+
</dl>
|
|
18038
|
+
|
|
18039
|
+
<dl>
|
|
18040
|
+
<dd>
|
|
18041
|
+
|
|
18042
|
+
**plan_version_id_to:** `String`
|
|
18043
|
+
|
|
18044
|
+
</dd>
|
|
18045
|
+
</dl>
|
|
18046
|
+
|
|
18047
|
+
<dl>
|
|
18048
|
+
<dd>
|
|
18049
|
+
|
|
18050
|
+
**plan_version_ids_from:** `Internal::Types::Array[String]`
|
|
18051
|
+
|
|
18052
|
+
</dd>
|
|
18053
|
+
</dl>
|
|
18054
|
+
|
|
18055
|
+
<dl>
|
|
18056
|
+
<dd>
|
|
18057
|
+
|
|
18058
|
+
**strategy:** `Schematic::Types::PlanVersionMigrationStrategy`
|
|
18059
|
+
|
|
18060
|
+
</dd>
|
|
18061
|
+
</dl>
|
|
18062
|
+
|
|
18063
|
+
<dl>
|
|
18064
|
+
<dd>
|
|
18065
|
+
|
|
18066
|
+
**target_plan_type:** `Schematic::Types::PlanType`
|
|
18067
|
+
|
|
18068
|
+
</dd>
|
|
18069
|
+
</dl>
|
|
18070
|
+
|
|
18071
|
+
<dl>
|
|
18072
|
+
<dd>
|
|
18073
|
+
|
|
18074
|
+
**request_options:** `Schematic::Planmigrations::RequestOptions`
|
|
18075
|
+
|
|
18076
|
+
</dd>
|
|
18077
|
+
</dl>
|
|
18078
|
+
</dd>
|
|
18079
|
+
</dl>
|
|
18080
|
+
|
|
18081
|
+
|
|
17561
18082
|
</dd>
|
|
17562
18083
|
</dl>
|
|
17563
18084
|
</details>
|
|
@@ -17606,6 +18127,65 @@ client.planmigrations.get_migration(plan_version_migration_id: "plan_version_mig
|
|
|
17606
18127
|
</dl>
|
|
17607
18128
|
|
|
17608
18129
|
|
|
18130
|
+
</dd>
|
|
18131
|
+
</dl>
|
|
18132
|
+
</details>
|
|
18133
|
+
|
|
18134
|
+
<details><summary><code>client.planmigrations.<a href="/lib/schematic/planmigrations/client.rb">retry_migration</a>(plan_version_migration_id, request) -> Schematic::Planmigrations::Types::RetryMigrationResponse</code></summary>
|
|
18135
|
+
<dl>
|
|
18136
|
+
<dd>
|
|
18137
|
+
|
|
18138
|
+
#### 🔌 Usage
|
|
18139
|
+
|
|
18140
|
+
<dl>
|
|
18141
|
+
<dd>
|
|
18142
|
+
|
|
18143
|
+
<dl>
|
|
18144
|
+
<dd>
|
|
18145
|
+
|
|
18146
|
+
```ruby
|
|
18147
|
+
client.planmigrations.retry_migration(
|
|
18148
|
+
plan_version_migration_id: "plan_version_migration_id",
|
|
18149
|
+
error_codes: ["ambiguous_subscription_item"]
|
|
18150
|
+
)
|
|
18151
|
+
```
|
|
18152
|
+
</dd>
|
|
18153
|
+
</dl>
|
|
18154
|
+
</dd>
|
|
18155
|
+
</dl>
|
|
18156
|
+
|
|
18157
|
+
#### ⚙️ Parameters
|
|
18158
|
+
|
|
18159
|
+
<dl>
|
|
18160
|
+
<dd>
|
|
18161
|
+
|
|
18162
|
+
<dl>
|
|
18163
|
+
<dd>
|
|
18164
|
+
|
|
18165
|
+
**plan_version_migration_id:** `String` — plan_version_migration_id
|
|
18166
|
+
|
|
18167
|
+
</dd>
|
|
18168
|
+
</dl>
|
|
18169
|
+
|
|
18170
|
+
<dl>
|
|
18171
|
+
<dd>
|
|
18172
|
+
|
|
18173
|
+
**error_codes:** `Internal::Types::Array[Schematic::Types::MigrationErrorCode]`
|
|
18174
|
+
|
|
18175
|
+
</dd>
|
|
18176
|
+
</dl>
|
|
18177
|
+
|
|
18178
|
+
<dl>
|
|
18179
|
+
<dd>
|
|
18180
|
+
|
|
18181
|
+
**request_options:** `Schematic::Planmigrations::RequestOptions`
|
|
18182
|
+
|
|
18183
|
+
</dd>
|
|
18184
|
+
</dl>
|
|
18185
|
+
</dd>
|
|
18186
|
+
</dl>
|
|
18187
|
+
|
|
18188
|
+
|
|
17609
18189
|
</dd>
|
|
17610
18190
|
</dl>
|
|
17611
18191
|
</details>
|