schematichq 1.4.4 → 1.4.5

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 +501 -2
  4. data/lib/schematic/client.rb +1 -1
  5. data/lib/schematic/credits/client.rb +0 -104
  6. data/lib/schematic/plangroups/types/create_plan_group_request_body.rb +3 -0
  7. data/lib/schematic/plangroups/types/update_plan_group_request_body.rb +3 -0
  8. data/lib/schematic/plans/types/publish_plan_version_request_body.rb +0 -1
  9. data/lib/schematic/plans/types/retry_custom_plan_billing_request_body.rb +0 -1
  10. data/lib/schematic/types/billing_credit_grant_zeroed_out_reason.rb +1 -0
  11. data/lib/schematic/types/change_subscription_internal_request_body.rb +1 -0
  12. data/lib/schematic/types/change_subscription_request_body.rb +1 -0
  13. data/lib/schematic/types/checkout_settings_response_data.rb +3 -0
  14. data/lib/schematic/types/feature_entitlement.rb +2 -0
  15. data/lib/schematic/types/plan_change_response_data.rb +1 -0
  16. data/lib/schematic/types/preview_subscription_change_response_data.rb +3 -0
  17. data/lib/schematic/types/rulesengine_feature_entitlement.rb +2 -0
  18. data/lib/schematic/version.rb +1 -1
  19. data/lib/schematic.rb +3 -11
  20. data/reference.md +92 -252
  21. metadata +2 -10
  22. data/lib/schematic/credits/types/count_credit_ledger_params.rb +0 -19
  23. data/lib/schematic/credits/types/count_credit_ledger_request.rb +0 -18
  24. data/lib/schematic/credits/types/count_credit_ledger_response.rb +0 -12
  25. data/lib/schematic/credits/types/get_enriched_credit_ledger_params.rb +0 -19
  26. data/lib/schematic/credits/types/get_enriched_credit_ledger_request.rb +0 -18
  27. data/lib/schematic/credits/types/get_enriched_credit_ledger_response.rb +0 -12
  28. data/lib/schematic/types/credit_ledger_enriched_entry_response_data.rb +0 -30
  29. data/lib/schematic/types/credit_ledger_period.rb +0 -14
@@ -8,7 +8,6 @@ module Schematic
8
8
  field :activation_strategy, -> { Schematic::Types::CustomPlanActivationStrategy }, optional: true, nullable: false
9
9
  field :customer_email, -> { String }, optional: false, nullable: false
10
10
  field :days_until_due, -> { Integer }, optional: true, nullable: false
11
- field :pay_in_advance, -> { Internal::Types::Array[Schematic::Types::UpdatePayInAdvanceRequestBody] }, optional: false, nullable: false
12
11
  end
13
12
  end
14
13
  end
@@ -9,6 +9,7 @@ module Schematic
9
9
  MANUAL = "manual"
10
10
  PLAN_CHANGE = "plan_change"
11
11
  PLAN_PERIOD_RESET = "plan_period_reset"
12
+ RECONCILED = "reconciled"
12
13
  end
13
14
  end
14
15
  end
@@ -11,6 +11,7 @@ module Schematic
11
11
  field :custom_field_values, -> { Internal::Types::Array[Schematic::Types::CheckoutFieldValue] }, optional: false, nullable: false
12
12
  field :new_plan_id, -> { String }, optional: false, nullable: false
13
13
  field :new_price_id, -> { String }, optional: false, nullable: false
14
+ field :opt_in_accepted, -> { Internal::Types::Boolean }, optional: true, nullable: false
14
15
  field :pay_in_advance, -> { Internal::Types::Array[Schematic::Types::UpdatePayInAdvanceRequestBody] }, optional: false, nullable: false
15
16
  field :payment_method_id, -> { String }, optional: true, nullable: false
16
17
  field :promo_code, -> { String }, optional: true, nullable: false
@@ -10,6 +10,7 @@ module Schematic
10
10
  field :custom_field_values, -> { Internal::Types::Array[Schematic::Types::CheckoutFieldValue] }, optional: false, nullable: false
11
11
  field :new_plan_id, -> { String }, optional: false, nullable: false
12
12
  field :new_price_id, -> { String }, optional: false, nullable: false
13
+ field :opt_in_accepted, -> { Internal::Types::Boolean }, optional: true, nullable: false
13
14
  field :pay_in_advance, -> { Internal::Types::Array[Schematic::Types::UpdatePayInAdvanceRequestBody] }, optional: false, nullable: false
14
15
  field :payment_method_id, -> { String }, optional: true, nullable: false
15
16
  field :promo_code, -> { String }, optional: true, nullable: false
@@ -6,6 +6,9 @@ module Schematic
6
6
  field :collect_address, -> { Internal::Types::Boolean }, optional: false, nullable: false
7
7
  field :collect_email, -> { Internal::Types::Boolean }, optional: false, nullable: false
8
8
  field :collect_phone, -> { Internal::Types::Boolean }, optional: false, nullable: false
9
+ field :opt_in_enabled, -> { Internal::Types::Boolean }, optional: false, nullable: false
10
+ field :opt_in_text, -> { String }, optional: true, nullable: false
11
+ field :opt_in_title, -> { String }, optional: true, nullable: false
9
12
  end
10
13
  end
11
14
  end
@@ -6,6 +6,8 @@ module Schematic
6
6
  field :allocation, -> { Integer }, optional: true, nullable: false
7
7
  field :credit_id, -> { String }, optional: true, nullable: false
8
8
  field :credit_remaining, -> { Integer }, optional: true, nullable: false
9
+ field :credit_reserved, -> { Integer }, optional: true, nullable: false
10
+ field :credit_settled, -> { Integer }, optional: true, nullable: false
9
11
  field :credit_total, -> { Integer }, optional: true, nullable: false
10
12
  field :credit_used, -> { Integer }, optional: true, nullable: false
11
13
  field :event_name, -> { String }, optional: true, nullable: false
@@ -17,6 +17,7 @@ module Schematic
17
17
  field :created_at, -> { String }, optional: false, nullable: false
18
18
  field :environment_id, -> { String }, optional: false, nullable: false
19
19
  field :id, -> { String }, optional: false, nullable: false
20
+ field :is_version_upgrade, -> { Internal::Types::Boolean }, optional: false, nullable: false
20
21
  field :previous_base_plan, -> { Schematic::Types::PlanSnapshotView }, optional: true, nullable: false
21
22
  field :previous_base_plan_version, -> { Schematic::Types::PlanVersionSnapshotView }, optional: true, nullable: false
22
23
  field :request_id, -> { String }, optional: true, nullable: false
@@ -8,6 +8,9 @@ module Schematic
8
8
  field :finance, -> { Schematic::Types::PreviewSubscriptionFinanceResponseData }, optional: true, nullable: false
9
9
  field :is_scheduled_downgrade, -> { Internal::Types::Boolean }, optional: false, nullable: false
10
10
  field :new_charges, -> { Integer }, optional: false, nullable: false
11
+ field :opt_in_required, -> { Internal::Types::Boolean }, optional: false, nullable: false
12
+ field :opt_in_text, -> { String }, optional: true, nullable: false
13
+ field :opt_in_title, -> { String }, optional: true, nullable: false
11
14
  field :payment_method_required, -> { Internal::Types::Boolean }, optional: false, nullable: false
12
15
  field :percent_off, -> { Integer }, optional: false, nullable: false
13
16
  field :period_start, -> { String }, optional: false, nullable: false
@@ -6,6 +6,8 @@ module Schematic
6
6
  field :allocation, -> { Integer }, optional: true, nullable: false
7
7
  field :credit_id, -> { String }, optional: true, nullable: false
8
8
  field :credit_remaining, -> { Integer }, optional: true, nullable: false
9
+ field :credit_reserved, -> { Integer }, optional: true, nullable: false
10
+ field :credit_settled, -> { Integer }, optional: true, nullable: false
9
11
  field :credit_total, -> { Integer }, optional: true, nullable: false
10
12
  field :credit_used, -> { Integer }, optional: true, nullable: false
11
13
  field :event_name, -> { String }, optional: true, nullable: false
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Schematic
4
- VERSION = "1.4.4"
4
+ VERSION = "1.4.5"
5
5
  end
data/lib/schematic.rb CHANGED
@@ -181,15 +181,6 @@ require_relative "schematic/types/credit_lease_response_data"
181
181
  require_relative "schematic/credits/types/acquire_credit_lease_response"
182
182
  require_relative "schematic/credits/types/extend_credit_lease_response"
183
183
  require_relative "schematic/credits/types/release_credit_lease_response"
184
- require_relative "schematic/types/credit_ledger_period"
185
- require_relative "schematic/credits/types/get_enriched_credit_ledger_params"
186
- require_relative "schematic/types/billing_credit_ledger_response_data"
187
- require_relative "schematic/types/company_ledger_response_data"
188
- require_relative "schematic/types/feature_ledger_response_data"
189
- require_relative "schematic/types/credit_ledger_enriched_entry_response_data"
190
- require_relative "schematic/credits/types/get_enriched_credit_ledger_response"
191
- require_relative "schematic/credits/types/count_credit_ledger_params"
192
- require_relative "schematic/credits/types/count_credit_ledger_response"
193
184
  require_relative "schematic/credits/types/list_billing_plan_credit_grants_params"
194
185
  require_relative "schematic/types/billing_plan_credit_grant_reset_start"
195
186
  require_relative "schematic/types/billing_plan_credit_grant_reset_type"
@@ -205,7 +196,10 @@ require_relative "schematic/credits/types/count_billing_plan_credit_grants_param
205
196
  require_relative "schematic/credits/types/count_billing_plan_credit_grants_response"
206
197
  require_relative "schematic/types/credit_event_type"
207
198
  require_relative "schematic/credits/types/list_credit_event_ledger_params"
199
+ require_relative "schematic/types/billing_credit_ledger_response_data"
200
+ require_relative "schematic/types/company_ledger_response_data"
208
201
  require_relative "schematic/types/credit_usage_reason"
202
+ require_relative "schematic/types/feature_ledger_response_data"
209
203
  require_relative "schematic/types/credit_event_ledger_response_data"
210
204
  require_relative "schematic/credits/types/list_credit_event_ledger_response"
211
205
  require_relative "schematic/credits/types/count_credit_event_ledger_params"
@@ -790,8 +784,6 @@ require_relative "schematic/credits/types/count_billing_credits_grants_request"
790
784
  require_relative "schematic/credits/types/list_grants_for_credit_request"
791
785
  require_relative "schematic/credits/types/acquire_credit_lease_request_body"
792
786
  require_relative "schematic/credits/types/extend_credit_lease_request_body"
793
- require_relative "schematic/credits/types/get_enriched_credit_ledger_request"
794
- require_relative "schematic/credits/types/count_credit_ledger_request"
795
787
  require_relative "schematic/credits/types/list_billing_plan_credit_grants_request"
796
788
  require_relative "schematic/credits/types/delete_billing_plan_credit_grant_request"
797
789
  require_relative "schematic/credits/types/count_billing_plan_credit_grants_request"
data/reference.md CHANGED
@@ -1,4 +1,44 @@
1
1
  # Reference
2
+ <details><summary><code>client.<a href="/lib/schematic/client.rb">get_credit_ledger</a>() -> </code></summary>
3
+ <dl>
4
+ <dd>
5
+
6
+ #### 🔌 Usage
7
+
8
+ <dl>
9
+ <dd>
10
+
11
+ <dl>
12
+ <dd>
13
+
14
+ ```ruby
15
+ client.get_credit_ledger
16
+ ```
17
+ </dd>
18
+ </dl>
19
+ </dd>
20
+ </dl>
21
+
22
+ #### ⚙️ Parameters
23
+
24
+ <dl>
25
+ <dd>
26
+
27
+ <dl>
28
+ <dd>
29
+
30
+ **request_options:** `Schematic::RequestOptions`
31
+
32
+ </dd>
33
+ </dl>
34
+ </dd>
35
+ </dl>
36
+
37
+
38
+ </dd>
39
+ </dl>
40
+ </details>
41
+
2
42
  ## accounts
3
43
  <details><summary><code>client.accounts.<a href="/lib/schematic/accounts/client.rb">list_account_members</a>() -> Schematic::Accounts::Types::ListAccountMembersResponse</code></summary>
4
44
  <dl>
@@ -5502,232 +5542,6 @@ client.credits.release_credit_lease(
5502
5542
  </dl>
5503
5543
 
5504
5544
 
5505
- </dd>
5506
- </dl>
5507
- </details>
5508
-
5509
- <details><summary><code>client.credits.<a href="/lib/schematic/credits/client.rb">get_enriched_credit_ledger</a>() -> Schematic::Credits::Types::GetEnrichedCreditLedgerResponse</code></summary>
5510
- <dl>
5511
- <dd>
5512
-
5513
- #### 🔌 Usage
5514
-
5515
- <dl>
5516
- <dd>
5517
-
5518
- <dl>
5519
- <dd>
5520
-
5521
- ```ruby
5522
- client.credits.get_enriched_credit_ledger(
5523
- company_id: "company_id",
5524
- billing_credit_id: "billing_credit_id",
5525
- feature_id: "feature_id",
5526
- period: "daily",
5527
- start_time: "start_time",
5528
- end_time: "end_time",
5529
- limit: 1000000,
5530
- offset: 1000000
5531
- )
5532
- ```
5533
- </dd>
5534
- </dl>
5535
- </dd>
5536
- </dl>
5537
-
5538
- #### ⚙️ Parameters
5539
-
5540
- <dl>
5541
- <dd>
5542
-
5543
- <dl>
5544
- <dd>
5545
-
5546
- **company_id:** `String`
5547
-
5548
- </dd>
5549
- </dl>
5550
-
5551
- <dl>
5552
- <dd>
5553
-
5554
- **billing_credit_id:** `String`
5555
-
5556
- </dd>
5557
- </dl>
5558
-
5559
- <dl>
5560
- <dd>
5561
-
5562
- **feature_id:** `String`
5563
-
5564
- </dd>
5565
- </dl>
5566
-
5567
- <dl>
5568
- <dd>
5569
-
5570
- **period:** `Schematic::Types::CreditLedgerPeriod`
5571
-
5572
- </dd>
5573
- </dl>
5574
-
5575
- <dl>
5576
- <dd>
5577
-
5578
- **start_time:** `String`
5579
-
5580
- </dd>
5581
- </dl>
5582
-
5583
- <dl>
5584
- <dd>
5585
-
5586
- **end_time:** `String`
5587
-
5588
- </dd>
5589
- </dl>
5590
-
5591
- <dl>
5592
- <dd>
5593
-
5594
- **limit:** `Integer` — Page limit (default 100)
5595
-
5596
- </dd>
5597
- </dl>
5598
-
5599
- <dl>
5600
- <dd>
5601
-
5602
- **offset:** `Integer` — Page offset (default 0)
5603
-
5604
- </dd>
5605
- </dl>
5606
-
5607
- <dl>
5608
- <dd>
5609
-
5610
- **request_options:** `Schematic::Credits::RequestOptions`
5611
-
5612
- </dd>
5613
- </dl>
5614
- </dd>
5615
- </dl>
5616
-
5617
-
5618
- </dd>
5619
- </dl>
5620
- </details>
5621
-
5622
- <details><summary><code>client.credits.<a href="/lib/schematic/credits/client.rb">count_credit_ledger</a>() -> Schematic::Credits::Types::CountCreditLedgerResponse</code></summary>
5623
- <dl>
5624
- <dd>
5625
-
5626
- #### 🔌 Usage
5627
-
5628
- <dl>
5629
- <dd>
5630
-
5631
- <dl>
5632
- <dd>
5633
-
5634
- ```ruby
5635
- client.credits.count_credit_ledger(
5636
- company_id: "company_id",
5637
- billing_credit_id: "billing_credit_id",
5638
- feature_id: "feature_id",
5639
- period: "daily",
5640
- start_time: "start_time",
5641
- end_time: "end_time",
5642
- limit: 1000000,
5643
- offset: 1000000
5644
- )
5645
- ```
5646
- </dd>
5647
- </dl>
5648
- </dd>
5649
- </dl>
5650
-
5651
- #### ⚙️ Parameters
5652
-
5653
- <dl>
5654
- <dd>
5655
-
5656
- <dl>
5657
- <dd>
5658
-
5659
- **company_id:** `String`
5660
-
5661
- </dd>
5662
- </dl>
5663
-
5664
- <dl>
5665
- <dd>
5666
-
5667
- **billing_credit_id:** `String`
5668
-
5669
- </dd>
5670
- </dl>
5671
-
5672
- <dl>
5673
- <dd>
5674
-
5675
- **feature_id:** `String`
5676
-
5677
- </dd>
5678
- </dl>
5679
-
5680
- <dl>
5681
- <dd>
5682
-
5683
- **period:** `Schematic::Types::CreditLedgerPeriod`
5684
-
5685
- </dd>
5686
- </dl>
5687
-
5688
- <dl>
5689
- <dd>
5690
-
5691
- **start_time:** `String`
5692
-
5693
- </dd>
5694
- </dl>
5695
-
5696
- <dl>
5697
- <dd>
5698
-
5699
- **end_time:** `String`
5700
-
5701
- </dd>
5702
- </dl>
5703
-
5704
- <dl>
5705
- <dd>
5706
-
5707
- **limit:** `Integer` — Page limit (default 100)
5708
-
5709
- </dd>
5710
- </dl>
5711
-
5712
- <dl>
5713
- <dd>
5714
-
5715
- **offset:** `Integer` — Page offset (default 0)
5716
-
5717
- </dd>
5718
- </dl>
5719
-
5720
- <dl>
5721
- <dd>
5722
-
5723
- **request_options:** `Schematic::Credits::RequestOptions`
5724
-
5725
- </dd>
5726
- </dl>
5727
- </dd>
5728
- </dl>
5729
-
5730
-
5731
5545
  </dd>
5732
5546
  </dl>
5733
5547
  </details>
@@ -12490,11 +12304,7 @@ client.plans.mark_custom_plan_billing_paid(
12490
12304
  ```ruby
12491
12305
  client.plans.retry_custom_plan_billing(
12492
12306
  custom_plan_billing_id: "custom_plan_billing_id",
12493
- customer_email: "customer_email",
12494
- pay_in_advance: [{
12495
- price_id: "price_id",
12496
- quantity: 1000000
12497
- }]
12307
+ customer_email: "customer_email"
12498
12308
  )
12499
12309
  ```
12500
12310
  </dd>
@@ -12542,14 +12352,6 @@ client.plans.retry_custom_plan_billing(
12542
12352
  <dl>
12543
12353
  <dd>
12544
12354
 
12545
- **pay_in_advance:** `Internal::Types::Array[Schematic::Types::UpdatePayInAdvanceRequestBody]`
12546
-
12547
- </dd>
12548
- </dl>
12549
-
12550
- <dl>
12551
- <dd>
12552
-
12553
12355
  **request_options:** `Schematic::Plans::RequestOptions`
12554
12356
 
12555
12357
  </dd>
@@ -13702,11 +13504,7 @@ client.plans.delete_plan_version(
13702
13504
  client.plans.publish_plan_version(
13703
13505
  plan_id: "plan_id",
13704
13506
  excluded_company_ids: ["excluded_company_ids"],
13705
- migration_strategy: "immediate",
13706
- pay_in_advance: [{
13707
- price_id: "price_id",
13708
- quantity: 1000000
13709
- }]
13507
+ migration_strategy: "immediate"
13710
13508
  )
13711
13509
  ```
13712
13510
  </dd>
@@ -13770,14 +13568,6 @@ client.plans.publish_plan_version(
13770
13568
  <dl>
13771
13569
  <dd>
13772
13570
 
13773
- **pay_in_advance:** `Internal::Types::Array[Schematic::Types::UpdatePayInAdvanceRequestBody]`
13774
-
13775
- </dd>
13776
- </dl>
13777
-
13778
- <dl>
13779
- <dd>
13780
-
13781
13571
  **request_options:** `Schematic::Plans::RequestOptions`
13782
13572
 
13783
13573
  </dd>
@@ -17286,6 +17076,7 @@ client.plangroups.create_plan_group(
17286
17076
  checkout_collect_email: true,
17287
17077
  checkout_collect_phone: true,
17288
17078
  enable_tax_collection: true,
17079
+ opt_in_enabled: true,
17289
17080
  ordered_add_ons: [{
17290
17081
  plan_id: "plan_id"
17291
17082
  }],
@@ -17416,6 +17207,30 @@ client.plangroups.create_plan_group(
17416
17207
  <dl>
17417
17208
  <dd>
17418
17209
 
17210
+ **opt_in_enabled:** `Internal::Types::Boolean`
17211
+
17212
+ </dd>
17213
+ </dl>
17214
+
17215
+ <dl>
17216
+ <dd>
17217
+
17218
+ **opt_in_text:** `String`
17219
+
17220
+ </dd>
17221
+ </dl>
17222
+
17223
+ <dl>
17224
+ <dd>
17225
+
17226
+ **opt_in_title:** `String`
17227
+
17228
+ </dd>
17229
+ </dl>
17230
+
17231
+ <dl>
17232
+ <dd>
17233
+
17419
17234
  **ordered_add_ons:** `Internal::Types::Array[Schematic::Types::OrderedPlansInGroup]`
17420
17235
 
17421
17236
  </dd>
@@ -17616,6 +17431,7 @@ client.plangroups.update_plan_group(
17616
17431
  checkout_collect_email: true,
17617
17432
  checkout_collect_phone: true,
17618
17433
  enable_tax_collection: true,
17434
+ opt_in_enabled: true,
17619
17435
  ordered_add_ons: [{
17620
17436
  plan_id: "plan_id"
17621
17437
  }],
@@ -17754,6 +17570,30 @@ client.plangroups.update_plan_group(
17754
17570
  <dl>
17755
17571
  <dd>
17756
17572
 
17573
+ **opt_in_enabled:** `Internal::Types::Boolean`
17574
+
17575
+ </dd>
17576
+ </dl>
17577
+
17578
+ <dl>
17579
+ <dd>
17580
+
17581
+ **opt_in_text:** `String`
17582
+
17583
+ </dd>
17584
+ </dl>
17585
+
17586
+ <dl>
17587
+ <dd>
17588
+
17589
+ **opt_in_title:** `String`
17590
+
17591
+ </dd>
17592
+ </dl>
17593
+
17594
+ <dl>
17595
+ <dd>
17596
+
17757
17597
  **ordered_add_ons:** `Internal::Types::Array[Schematic::Types::OrderedPlansInGroup]`
17758
17598
 
17759
17599
  </dd>
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.4
4
+ version: 1.4.5
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-08 00:00:00.000000000 Z
11
+ date: 2026-06-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: wasmtime
@@ -276,9 +276,6 @@ files:
276
276
  - lib/schematic/credits/types/count_credit_event_ledger_params.rb
277
277
  - lib/schematic/credits/types/count_credit_event_ledger_request.rb
278
278
  - lib/schematic/credits/types/count_credit_event_ledger_response.rb
279
- - lib/schematic/credits/types/count_credit_ledger_params.rb
280
- - lib/schematic/credits/types/count_credit_ledger_request.rb
281
- - lib/schematic/credits/types/count_credit_ledger_response.rb
282
279
  - lib/schematic/credits/types/create_billing_credit_request_body.rb
283
280
  - lib/schematic/credits/types/create_billing_credit_response.rb
284
281
  - lib/schematic/credits/types/create_billing_plan_credit_grant_response.rb
@@ -292,9 +289,6 @@ files:
292
289
  - lib/schematic/credits/types/extend_credit_lease_request_body.rb
293
290
  - lib/schematic/credits/types/extend_credit_lease_response.rb
294
291
  - lib/schematic/credits/types/get_credit_bundle_response.rb
295
- - lib/schematic/credits/types/get_enriched_credit_ledger_params.rb
296
- - lib/schematic/credits/types/get_enriched_credit_ledger_request.rb
297
- - lib/schematic/credits/types/get_enriched_credit_ledger_response.rb
298
292
  - lib/schematic/credits/types/get_single_billing_credit_response.rb
299
293
  - lib/schematic/credits/types/get_single_billing_plan_credit_grant_response.rb
300
294
  - lib/schematic/credits/types/grant_billing_credits_to_company_response.rb
@@ -720,8 +714,6 @@ files:
720
714
  - lib/schematic/types/credit_grant_expiry_request_body.rb
721
715
  - lib/schematic/types/credit_grant_sort_order.rb
722
716
  - lib/schematic/types/credit_lease_response_data.rb
723
- - lib/schematic/types/credit_ledger_enriched_entry_response_data.rb
724
- - lib/schematic/types/credit_ledger_period.rb
725
717
  - lib/schematic/types/credit_transfer_response_data.rb
726
718
  - lib/schematic/types/credit_transfer_view.rb
727
719
  - lib/schematic/types/credit_trigger_config.rb
@@ -1,19 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Schematic
4
- module Credits
5
- module Types
6
- # Input parameters
7
- class CountCreditLedgerParams < Internal::Types::Model
8
- field :billing_credit_id, -> { String }, optional: true, nullable: false
9
- field :company_id, -> { String }, optional: true, nullable: false
10
- field :end_time, -> { String }, optional: true, nullable: false
11
- field :feature_id, -> { String }, optional: true, nullable: false
12
- field :limit, -> { Integer }, optional: true, nullable: false
13
- field :offset, -> { Integer }, optional: true, nullable: false
14
- field :period, -> { Schematic::Types::CreditLedgerPeriod }, optional: true, nullable: false
15
- field :start_time, -> { String }, optional: true, nullable: false
16
- end
17
- end
18
- end
19
- end
@@ -1,18 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Schematic
4
- module Credits
5
- module Types
6
- class CountCreditLedgerRequest < Internal::Types::Model
7
- field :company_id, -> { String }, optional: false, nullable: false
8
- field :billing_credit_id, -> { String }, optional: true, nullable: false
9
- field :feature_id, -> { String }, optional: true, nullable: false
10
- field :period, -> { Schematic::Types::CreditLedgerPeriod }, optional: false, nullable: false
11
- field :start_time, -> { String }, optional: true, nullable: false
12
- field :end_time, -> { String }, optional: true, nullable: false
13
- field :limit, -> { Integer }, optional: true, nullable: false
14
- field :offset, -> { Integer }, optional: true, nullable: false
15
- end
16
- end
17
- end
18
- end
@@ -1,12 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Schematic
4
- module Credits
5
- module Types
6
- class CountCreditLedgerResponse < Internal::Types::Model
7
- field :data, -> { Schematic::Types::CountResponse }, optional: false, nullable: false
8
- field :params, -> { Schematic::Credits::Types::CountCreditLedgerParams }, optional: false, nullable: false
9
- end
10
- end
11
- end
12
- end
@@ -1,19 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Schematic
4
- module Credits
5
- module Types
6
- # Input parameters
7
- class GetEnrichedCreditLedgerParams < Internal::Types::Model
8
- field :billing_credit_id, -> { String }, optional: true, nullable: false
9
- field :company_id, -> { String }, optional: true, nullable: false
10
- field :end_time, -> { String }, optional: true, nullable: false
11
- field :feature_id, -> { String }, optional: true, nullable: false
12
- field :limit, -> { Integer }, optional: true, nullable: false
13
- field :offset, -> { Integer }, optional: true, nullable: false
14
- field :period, -> { Schematic::Types::CreditLedgerPeriod }, optional: true, nullable: false
15
- field :start_time, -> { String }, optional: true, nullable: false
16
- end
17
- end
18
- end
19
- end
@@ -1,18 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Schematic
4
- module Credits
5
- module Types
6
- class GetEnrichedCreditLedgerRequest < Internal::Types::Model
7
- field :company_id, -> { String }, optional: false, nullable: false
8
- field :billing_credit_id, -> { String }, optional: true, nullable: false
9
- field :feature_id, -> { String }, optional: true, nullable: false
10
- field :period, -> { Schematic::Types::CreditLedgerPeriod }, optional: false, nullable: false
11
- field :start_time, -> { String }, optional: true, nullable: false
12
- field :end_time, -> { String }, optional: true, nullable: false
13
- field :limit, -> { Integer }, optional: true, nullable: false
14
- field :offset, -> { Integer }, optional: true, nullable: false
15
- end
16
- end
17
- end
18
- end