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
@@ -1,12 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Schematic
4
- module Credits
5
- module Types
6
- class GetEnrichedCreditLedgerResponse < Internal::Types::Model
7
- field :data, -> { Internal::Types::Array[Schematic::Types::CreditLedgerEnrichedEntryResponseData] }, optional: false, nullable: false
8
- field :params, -> { Schematic::Credits::Types::GetEnrichedCreditLedgerParams }, optional: false, nullable: false
9
- end
10
- end
11
- end
12
- end
@@ -1,30 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Schematic
4
- module Types
5
- class CreditLedgerEnrichedEntryResponseData < Internal::Types::Model
6
- field :billing_credit_auto_topup_grant_count, -> { Integer }, optional: false, nullable: false
7
- field :billing_credit_id, -> { String }, optional: false, nullable: false
8
- field :company, -> { Schematic::Types::CompanyLedgerResponseData }, optional: true, nullable: false
9
- field :company_id, -> { String }, optional: false, nullable: false
10
- field :credit, -> { Schematic::Types::BillingCreditLedgerResponseData }, optional: true, nullable: false
11
- field :expired_grant_count, -> { Integer }, optional: false, nullable: false
12
- field :feature, -> { Schematic::Types::FeatureLedgerResponseData }, optional: true, nullable: false
13
- field :feature_id, -> { String }, optional: true, nullable: false
14
- field :first_transaction_at, -> { String }, optional: false, nullable: false
15
- field :free_grant_count, -> { Integer }, optional: false, nullable: false
16
- field :grant_count, -> { Integer }, optional: false, nullable: false
17
- field :last_transaction_at, -> { String }, optional: false, nullable: false
18
- field :manually_zeroed_count, -> { Integer }, optional: false, nullable: false
19
- field :net_change, -> { Integer }, optional: false, nullable: false
20
- field :plan_grant_count, -> { Integer }, optional: false, nullable: false
21
- field :purchased_grant_count, -> { Integer }, optional: false, nullable: false
22
- field :time_bucket, -> { String }, optional: false, nullable: false
23
- field :total_consumed, -> { Integer }, optional: false, nullable: false
24
- field :total_granted, -> { Integer }, optional: false, nullable: false
25
- field :transaction_count, -> { Integer }, optional: false, nullable: false
26
- field :usage_count, -> { Integer }, optional: false, nullable: false
27
- field :zeroed_out_count, -> { Integer }, optional: false, nullable: false
28
- end
29
- end
30
- end
@@ -1,14 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Schematic
4
- module Types
5
- module CreditLedgerPeriod
6
- extend Schematic::Internal::Types::Enum
7
-
8
- DAILY = "daily"
9
- MONTHLY = "monthly"
10
- RAW = "raw"
11
- WEEKLY = "weekly"
12
- end
13
- end
14
- end