schematichq 1.5.8 → 1.5.9
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 +5 -5
- data/.fern/replay.lock +7 -1
- data/README.md +7 -1
- data/lib/schematic/billing/client.rb +228 -0
- data/lib/schematic/billing/types/convert_company_trial_response.rb +15 -0
- data/lib/schematic/billing/types/create_billing_subscription_request_body.rb +2 -0
- data/lib/schematic/billing/types/end_company_trial_response.rb +15 -0
- data/lib/schematic/billing/types/get_company_trial_response.rb +15 -0
- data/lib/schematic/billing/types/start_company_trial_request_body.rb +21 -0
- data/lib/schematic/billing/types/start_company_trial_response.rb +15 -0
- data/lib/schematic/billing/types/update_company_trial_request_body.rb +15 -0
- data/lib/schematic/billing/types/update_company_trial_response.rb +15 -0
- data/lib/schematic/cache.rb +19 -2
- data/lib/schematic/checkout/types/checkout_data_request_body.rb +2 -0
- data/lib/schematic/client.rb +1 -1
- data/lib/schematic/datastream/client.rb +52 -22
- data/lib/schematic/datastream/resource_cache.rb +13 -3
- data/lib/schematic/internal/http/raw_client.rb +1 -1
- data/lib/schematic/internal/iterators/offset_page_iterator.rb +2 -0
- data/lib/schematic/redis_cache.rb +10 -1
- data/lib/schematic/schematic_client.rb +21 -3
- data/lib/schematic/types/billing_customer_subscription.rb +2 -0
- data/lib/schematic/types/billing_native_subscription_response_data.rb +4 -0
- data/lib/schematic/types/billing_product_for_subscription_response_data.rb +2 -0
- data/lib/schematic/types/billing_product_plan_response_data.rb +2 -0
- data/lib/schematic/types/company_trial_response_data.rb +35 -0
- data/lib/schematic/types/company_trial_status.rb +16 -0
- data/lib/schematic/types/credit_ledger_export_metadata.rb +25 -0
- data/lib/schematic/types/credit_ledger_export_metadata_event_type.rb +19 -0
- data/lib/schematic/types/data_export_metadata.rb +2 -0
- data/lib/schematic/types/data_export_type.rb +1 -0
- data/lib/schematic/types/manage_plan_request.rb +2 -0
- data/lib/schematic/types/manage_plan_response_response_data.rb +2 -0
- data/lib/schematic/types/migration_error_code.rb +1 -0
- data/lib/schematic/types/plan_change_action.rb +1 -0
- data/lib/schematic/types/plan_change_response_data.rb +4 -0
- data/lib/schematic/types/publish_plan_version_request_body.rb +4 -0
- data/lib/schematic/types/publish_preview_interval_change_response_data.rb +13 -0
- data/lib/schematic/types/publish_preview_response_data.rb +2 -0
- data/lib/schematic/types/scheduled_downgrade_response_data.rb +4 -0
- data/lib/schematic/types/trial_source.rb +15 -0
- data/lib/schematic/types/web_scheduled_downgrade_webhook_output.rb +2 -0
- data/lib/schematic/version.rb +1 -1
- data/lib/schematic.rb +13 -0
- data/reference.md +316 -0
- metadata +15 -2
|
@@ -14,7 +14,8 @@ module Schematic
|
|
|
14
14
|
raise NotImplementedError
|
|
15
15
|
end
|
|
16
16
|
|
|
17
|
-
|
|
17
|
+
# Must accept `keepttl: true` (redis gem 4.2+), used by RedisCacheProvider#set_keep_ttl.
|
|
18
|
+
def set(key, value, **options)
|
|
18
19
|
raise NotImplementedError
|
|
19
20
|
end
|
|
20
21
|
|
|
@@ -62,6 +63,14 @@ module Schematic
|
|
|
62
63
|
end
|
|
63
64
|
end
|
|
64
65
|
|
|
66
|
+
# Overwrites the value but leaves the key's current expiry alone (Redis
|
|
67
|
+
# SET ... KEEPTTL, 6.0+). A key with no expiry, or a new key, gets none.
|
|
68
|
+
def set_keep_ttl(key, value)
|
|
69
|
+
full_key = prefixed_key(key)
|
|
70
|
+
serialized = JSON.generate(value.respond_to?(:to_h) ? value.to_h : value)
|
|
71
|
+
@client.set(full_key, serialized, keepttl: true)
|
|
72
|
+
end
|
|
73
|
+
|
|
65
74
|
def delete(key)
|
|
66
75
|
full_key = prefixed_key(key)
|
|
67
76
|
@client.del(full_key)
|
|
@@ -191,7 +191,7 @@ module Schematic
|
|
|
191
191
|
end
|
|
192
192
|
|
|
193
193
|
# DataStream path
|
|
194
|
-
if
|
|
194
|
+
if use_datastream_cache?
|
|
195
195
|
begin
|
|
196
196
|
eval_ctx = build_eval_context(company, user)
|
|
197
197
|
# Only widen the call when there is something to pass: a DataStream
|
|
@@ -245,7 +245,7 @@ module Schematic
|
|
|
245
245
|
|
|
246
246
|
begin
|
|
247
247
|
# DataStream path — try evaluating all requested keys locally
|
|
248
|
-
if
|
|
248
|
+
if use_datastream_cache? && keys&.any?
|
|
249
249
|
ds_results = check_flags_via_datastream(keys, company, user)
|
|
250
250
|
return ds_results if ds_results
|
|
251
251
|
end
|
|
@@ -781,6 +781,18 @@ module Schematic
|
|
|
781
781
|
parts.join(";")
|
|
782
782
|
end
|
|
783
783
|
|
|
784
|
+
# The single gate for evaluating flag checks from the DataStream cache,
|
|
785
|
+
# shared by check_flag_with_entitlement and check_flags so the two can't
|
|
786
|
+
# drift. In replicator mode it stays false until the replicator reports its
|
|
787
|
+
# cache ready, and checks take the API path instead of reading a partial
|
|
788
|
+
# cache. connected? keeps websocket mode's existing gate on the connection;
|
|
789
|
+
# in replicator mode it reports the same readiness as cache_ready?.
|
|
790
|
+
def use_datastream_cache?
|
|
791
|
+
return false unless @datastream_client
|
|
792
|
+
|
|
793
|
+
@datastream_client.connected? && @datastream_client.cache_ready?
|
|
794
|
+
end
|
|
795
|
+
|
|
784
796
|
def build_eval_context(company, user)
|
|
785
797
|
ctx = {}
|
|
786
798
|
ctx[:company] = company if company&.any?
|
|
@@ -1199,7 +1211,13 @@ module Schematic
|
|
|
1199
1211
|
|
|
1200
1212
|
@event_buffer.push(build_event("track", body, options, TRACK_OPTION_KEYS))
|
|
1201
1213
|
|
|
1202
|
-
|
|
1214
|
+
# Not gated on connected?: a cached company outlives a WebSocket
|
|
1215
|
+
# disconnect or a not-ready replicator, and usage tracked in the meantime
|
|
1216
|
+
# has to count against it, or its metered limits stay frozen at the last
|
|
1217
|
+
# pushed value. Whatever the stream or replicator writes next replaces the
|
|
1218
|
+
# metric outright, so the bump is never counted twice. A company that
|
|
1219
|
+
# isn't cached is left alone.
|
|
1220
|
+
if update_metrics && @datastream_client && body[:company]
|
|
1203
1221
|
event_name = body[:event] || body["event"]
|
|
1204
1222
|
quantity = body[:quantity] || body["quantity"] || 1
|
|
1205
1223
|
@datastream_client.update_company_metrics(body[:company], event_name, quantity)
|
|
@@ -11,6 +11,8 @@ module Schematic
|
|
|
11
11
|
|
|
12
12
|
field :interval, -> { String }, optional: false, nullable: false
|
|
13
13
|
|
|
14
|
+
field :interval_count, -> { Integer }, optional: false, nullable: false
|
|
15
|
+
|
|
14
16
|
field :metered_usage, -> { Internal::Types::Boolean }, optional: false, nullable: false
|
|
15
17
|
|
|
16
18
|
field :per_unit_price, -> { Integer }, optional: false, nullable: false
|
|
@@ -30,6 +30,10 @@ module Schematic
|
|
|
30
30
|
field :status, -> { Schematic::Types::SubscriptionStatus }, optional: false, nullable: false
|
|
31
31
|
|
|
32
32
|
field :terms, -> { Schematic::Types::BillingInvoiceTermsResponseData }, optional: true, nullable: false
|
|
33
|
+
|
|
34
|
+
field :trial_end, -> { String }, optional: true, nullable: false
|
|
35
|
+
|
|
36
|
+
field :trial_end_setting, -> { Schematic::Types::BillingSubscriptionTrialEndSetting }, optional: true, nullable: false
|
|
33
37
|
end
|
|
34
38
|
end
|
|
35
39
|
end
|
|
@@ -47,6 +47,8 @@ module Schematic
|
|
|
47
47
|
|
|
48
48
|
field :subscription_item_external_id, -> { String }, optional: true, nullable: false
|
|
49
49
|
|
|
50
|
+
field :tiers_mode, -> { Schematic::Types::BillingTiersMode }, optional: true, nullable: false
|
|
51
|
+
|
|
50
52
|
field :updated_at, -> { String }, optional: false, nullable: false
|
|
51
53
|
|
|
52
54
|
field :usage_type, -> { Schematic::Types::BillingPriceUsageType }, optional: false, nullable: false
|
|
@@ -25,6 +25,8 @@ module Schematic
|
|
|
25
25
|
|
|
26
26
|
field :plan_id, -> { String }, optional: false, nullable: false
|
|
27
27
|
|
|
28
|
+
field :quarterly_price_id, -> { String }, optional: true, nullable: false
|
|
29
|
+
|
|
28
30
|
field :trial_days, -> { Integer }, optional: true, nullable: false
|
|
29
31
|
|
|
30
32
|
field :yearly_price_id, -> { String }, optional: true, nullable: false
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
require_relative "../../schematic"
|
|
4
|
+
|
|
5
|
+
module Schematic
|
|
6
|
+
module Types
|
|
7
|
+
class CompanyTrialResponseData < Internal::Types::Model
|
|
8
|
+
field :company_id, -> { String }, optional: false, nullable: false
|
|
9
|
+
|
|
10
|
+
field :created_at, -> { String }, optional: false, nullable: false
|
|
11
|
+
|
|
12
|
+
field :end_behavior, -> { Schematic::Types::BillingSubscriptionTrialEndSetting }, optional: false, nullable: false
|
|
13
|
+
|
|
14
|
+
field :ended_at, -> { String }, optional: true, nullable: false
|
|
15
|
+
|
|
16
|
+
field :ends_at, -> { String }, optional: false, nullable: false
|
|
17
|
+
|
|
18
|
+
field :id, -> { String }, optional: false, nullable: false
|
|
19
|
+
|
|
20
|
+
field :plan_id, -> { String }, optional: false, nullable: false
|
|
21
|
+
|
|
22
|
+
field :plan_version_id, -> { String }, optional: true, nullable: false
|
|
23
|
+
|
|
24
|
+
field :source, -> { Schematic::Types::TrialSource }, optional: false, nullable: false
|
|
25
|
+
|
|
26
|
+
field :started_at, -> { String }, optional: false, nullable: false
|
|
27
|
+
|
|
28
|
+
field :status, -> { Schematic::Types::CompanyTrialStatus }, optional: false, nullable: false
|
|
29
|
+
|
|
30
|
+
field :subscription_id, -> { String }, optional: true, nullable: false
|
|
31
|
+
|
|
32
|
+
field :updated_at, -> { String }, optional: false, nullable: false
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
end
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
require_relative "../../schematic"
|
|
4
|
+
|
|
5
|
+
module Schematic
|
|
6
|
+
module Types
|
|
7
|
+
module CompanyTrialStatus
|
|
8
|
+
extend Schematic::Internal::Types::Enum
|
|
9
|
+
|
|
10
|
+
ACTIVE = "active"
|
|
11
|
+
CANCELED = "canceled"
|
|
12
|
+
CONVERTED = "converted"
|
|
13
|
+
EXPIRED = "expired"
|
|
14
|
+
end
|
|
15
|
+
end
|
|
16
|
+
end
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
require_relative "../../schematic"
|
|
4
|
+
|
|
5
|
+
module Schematic
|
|
6
|
+
module Types
|
|
7
|
+
class CreditLedgerExportMetadata < Internal::Types::Model
|
|
8
|
+
field :billing_credit_id, -> { String }, optional: true, nullable: false
|
|
9
|
+
|
|
10
|
+
field :company_id, -> { String }, optional: true, nullable: false
|
|
11
|
+
|
|
12
|
+
field :end_time, -> { String }, optional: true, nullable: false
|
|
13
|
+
|
|
14
|
+
field :event_type, -> { Schematic::Types::CreditLedgerExportMetadataEventType }, optional: true, nullable: false
|
|
15
|
+
|
|
16
|
+
field :feature_id, -> { String }, optional: true, nullable: false
|
|
17
|
+
|
|
18
|
+
field :notification_email_recipient_email_addresses, -> { Internal::Types::Array[String] }, optional: true, nullable: false
|
|
19
|
+
|
|
20
|
+
field :source_event_id, -> { String }, optional: true, nullable: false
|
|
21
|
+
|
|
22
|
+
field :start_time, -> { String }, optional: true, nullable: false
|
|
23
|
+
end
|
|
24
|
+
end
|
|
25
|
+
end
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
require_relative "../../schematic"
|
|
4
|
+
|
|
5
|
+
module Schematic
|
|
6
|
+
module Types
|
|
7
|
+
module CreditLedgerExportMetadataEventType
|
|
8
|
+
extend Schematic::Internal::Types::Enum
|
|
9
|
+
|
|
10
|
+
ADJUSTMENT = "adjustment"
|
|
11
|
+
CHARGE = "charge"
|
|
12
|
+
GRANT = "grant"
|
|
13
|
+
SETTLEMENT = "settlement"
|
|
14
|
+
TRANSFER = "transfer"
|
|
15
|
+
USAGE = "usage"
|
|
16
|
+
ZERO_OUT = "zero_out"
|
|
17
|
+
end
|
|
18
|
+
end
|
|
19
|
+
end
|
|
@@ -13,6 +13,8 @@ module Schematic
|
|
|
13
13
|
|
|
14
14
|
member -> { Schematic::Types::CompanyFeatureUsageExportMetadata }, key: "COMPANY_FEATURE_USAGE"
|
|
15
15
|
|
|
16
|
+
member -> { Schematic::Types::CreditLedgerExportMetadata }, key: "CREDIT_LEDGER"
|
|
17
|
+
|
|
16
18
|
member -> { Schematic::Types::EventExportMetadata }, key: "EVENT"
|
|
17
19
|
end
|
|
18
20
|
end
|
|
@@ -23,6 +23,8 @@ module Schematic
|
|
|
23
23
|
|
|
24
24
|
field :billing_entity_id, -> { String }, optional: true, nullable: false
|
|
25
25
|
|
|
26
|
+
field :billing_period, -> { Schematic::Types::PlanPriceCadence }, optional: true, nullable: false
|
|
27
|
+
|
|
26
28
|
field :cancel_immediately, -> { Internal::Types::Boolean }, optional: true, nullable: false
|
|
27
29
|
|
|
28
30
|
field :collection_method, -> { Schematic::Types::BillingCollectionMethod }, optional: true, nullable: false
|
|
@@ -11,6 +11,8 @@ module Schematic
|
|
|
11
11
|
|
|
12
12
|
field :problems, -> { Internal::Types::Array[Schematic::Types::CheckoutProblemResponseData] }, optional: false, nullable: false
|
|
13
13
|
|
|
14
|
+
field :scheduled_change_at, -> { String }, optional: true, nullable: false
|
|
15
|
+
|
|
14
16
|
field :success, -> { Internal::Types::Boolean }, optional: false, nullable: false
|
|
15
17
|
end
|
|
16
18
|
end
|
|
@@ -8,6 +8,7 @@ module Schematic
|
|
|
8
8
|
extend Schematic::Internal::Types::Enum
|
|
9
9
|
|
|
10
10
|
AMBIGUOUS_SUBSCRIPTION_ITEM = "ambiguous_subscription_item"
|
|
11
|
+
MIXED_BILLING_INTERVALS = "mixed_billing_intervals"
|
|
11
12
|
MULTIPLE_SUBSCRIPTIONS = "multiple_subscriptions"
|
|
12
13
|
NO_PRICE_FOR_INTERVAL = "no_price_for_interval"
|
|
13
14
|
NOT_ON_ORIGIN_VERSION = "not_on_origin_version"
|
|
@@ -25,6 +25,8 @@ module Schematic
|
|
|
25
25
|
|
|
26
26
|
field :base_plan_version, -> { Schematic::Types::PlanVersionSnapshotView }, optional: true, nullable: false
|
|
27
27
|
|
|
28
|
+
field :billing_interval, -> { String }, optional: true, nullable: false
|
|
29
|
+
|
|
28
30
|
field :company, -> { Schematic::Types::CompanyResponseData }, optional: true, nullable: false
|
|
29
31
|
|
|
30
32
|
field :company_id, -> { String }, optional: false, nullable: false
|
|
@@ -45,6 +47,8 @@ module Schematic
|
|
|
45
47
|
|
|
46
48
|
field :previous_base_plan_version, -> { Schematic::Types::PlanVersionSnapshotView }, optional: true, nullable: false
|
|
47
49
|
|
|
50
|
+
field :previous_billing_interval, -> { String }, optional: true, nullable: false
|
|
51
|
+
|
|
48
52
|
field :request_id, -> { String }, optional: true, nullable: false
|
|
49
53
|
|
|
50
54
|
field :subscription_change_action, -> { Schematic::Types::PlanChangeSubscriptionAction }, optional: true, nullable: false
|
|
@@ -50,6 +50,10 @@ module Schematic
|
|
|
50
50
|
field :send_invoice, -> { Internal::Types::Boolean }, optional: true, nullable: false
|
|
51
51
|
|
|
52
52
|
field :tax_id, -> { Schematic::Types::TaxIdInput }, optional: true, nullable: false
|
|
53
|
+
|
|
54
|
+
field :trial_end, -> { String }, optional: true, nullable: false
|
|
55
|
+
|
|
56
|
+
field :trial_end_behavior, -> { Schematic::Types::BillingSubscriptionTrialEndSetting }, optional: true, nullable: false
|
|
53
57
|
end
|
|
54
58
|
end
|
|
55
59
|
end
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
require_relative "../../schematic"
|
|
4
|
+
|
|
5
|
+
module Schematic
|
|
6
|
+
module Types
|
|
7
|
+
class PublishPreviewIntervalChangeResponseData < Internal::Types::Model
|
|
8
|
+
field :from, -> { String }, optional: false, nullable: false
|
|
9
|
+
|
|
10
|
+
field :to, -> { String }, optional: false, nullable: false
|
|
11
|
+
end
|
|
12
|
+
end
|
|
13
|
+
end
|
|
@@ -31,6 +31,8 @@ module Schematic
|
|
|
31
31
|
|
|
32
32
|
field :immediate_invoice_amount, -> { Integer }, optional: true, nullable: false
|
|
33
33
|
|
|
34
|
+
field :interval_change, -> { Schematic::Types::PublishPreviewIntervalChangeResponseData }, optional: true, nullable: false
|
|
35
|
+
|
|
34
36
|
field :lands_on, -> { Schematic::Types::AmendmentProrationLandsOn }, optional: false, nullable: false
|
|
35
37
|
|
|
36
38
|
field :new_recurring_amount, -> { Integer }, optional: true, nullable: false
|
|
@@ -19,8 +19,12 @@ module Schematic
|
|
|
19
19
|
|
|
20
20
|
field :interval, -> { String }, optional: false, nullable: false
|
|
21
21
|
|
|
22
|
+
field :interval_count, -> { Integer }, optional: false, nullable: false
|
|
23
|
+
|
|
22
24
|
field :scheduled_interval, -> { String }, optional: true, nullable: false
|
|
23
25
|
|
|
26
|
+
field :scheduled_interval_count, -> { Integer }, optional: true, nullable: false
|
|
27
|
+
|
|
24
28
|
field :scheduled_price, -> { Integer }, optional: true, nullable: false
|
|
25
29
|
|
|
26
30
|
field :to_plan_id, -> { String }, optional: false, nullable: false
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
require_relative "../../schematic"
|
|
4
|
+
|
|
5
|
+
module Schematic
|
|
6
|
+
module Types
|
|
7
|
+
module TrialSource
|
|
8
|
+
extend Schematic::Internal::Types::Enum
|
|
9
|
+
|
|
10
|
+
API = "api"
|
|
11
|
+
CUSTOM_PLAN = "custom_plan"
|
|
12
|
+
SUBSCRIPTION = "subscription"
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
end
|
|
@@ -15,6 +15,8 @@ module Schematic
|
|
|
15
15
|
|
|
16
16
|
field :scheduled_interval, -> { String }, optional: true, nullable: false
|
|
17
17
|
|
|
18
|
+
field :scheduled_interval_count, -> { Integer }, optional: true, nullable: false
|
|
19
|
+
|
|
18
20
|
field :scheduled_price, -> { Integer }, optional: true, nullable: false
|
|
19
21
|
|
|
20
22
|
field :to_plan, -> { Schematic::Types::PlanSnapshotView }, optional: true, nullable: false
|
data/lib/schematic/version.rb
CHANGED
data/lib/schematic.rb
CHANGED
|
@@ -71,6 +71,8 @@ require_relative "schematic/billing/types/update_company_billing_profile_request
|
|
|
71
71
|
require_relative "schematic/billing/types/upload_contract_document_request"
|
|
72
72
|
require_relative "schematic/billing/types/update_billing_settings_request_body"
|
|
73
73
|
require_relative "schematic/billing/types/create_billing_subscription_request_body"
|
|
74
|
+
require_relative "schematic/billing/types/start_company_trial_request_body"
|
|
75
|
+
require_relative "schematic/billing/types/update_company_trial_request_body"
|
|
74
76
|
require_relative "schematic/billing/types/list_billing_invoices_request"
|
|
75
77
|
require_relative "schematic/billing/types/mark_invoice_paid_request_body"
|
|
76
78
|
require_relative "schematic/billing/types/count_billing_invoices_request"
|
|
@@ -346,6 +348,9 @@ module Schematic
|
|
|
346
348
|
autoload :SubscriptionStatus, ::File.join(__dir__, "schematic/types/subscription_status")
|
|
347
349
|
autoload :BillingNativeSubscriptionResponseData, ::File.join(__dir__, "schematic/types/billing_native_subscription_response_data")
|
|
348
350
|
autoload :BillingMovedToDefaultPlanResponseData, ::File.join(__dir__, "schematic/types/billing_moved_to_default_plan_response_data")
|
|
351
|
+
autoload :CompanyTrialStatus, ::File.join(__dir__, "schematic/types/company_trial_status")
|
|
352
|
+
autoload :TrialSource, ::File.join(__dir__, "schematic/types/trial_source")
|
|
353
|
+
autoload :CompanyTrialResponseData, ::File.join(__dir__, "schematic/types/company_trial_response_data")
|
|
349
354
|
autoload :BillingUpcomingInvoiceResponseData, ::File.join(__dir__, "schematic/types/billing_upcoming_invoice_response_data")
|
|
350
355
|
autoload :BillingUpcomingInvoicesResponseData, ::File.join(__dir__, "schematic/types/billing_upcoming_invoices_response_data")
|
|
351
356
|
autoload :InvoiceDocumentState, ::File.join(__dir__, "schematic/types/invoice_document_state")
|
|
@@ -582,6 +587,7 @@ module Schematic
|
|
|
582
587
|
autoload :PlanVersionPriceChangeResponseData, ::File.join(__dir__, "schematic/types/plan_version_price_change_response_data")
|
|
583
588
|
autoload :PlanVersionDiffResponseData, ::File.join(__dir__, "schematic/types/plan_version_diff_response_data")
|
|
584
589
|
autoload :AmendmentProrationLandsOn, ::File.join(__dir__, "schematic/types/amendment_proration_lands_on")
|
|
590
|
+
autoload :PublishPreviewIntervalChangeResponseData, ::File.join(__dir__, "schematic/types/publish_preview_interval_change_response_data")
|
|
585
591
|
autoload :PublishPreviewPayInAdvanceResponseData, ::File.join(__dir__, "schematic/types/publish_preview_pay_in_advance_response_data")
|
|
586
592
|
autoload :PublishPreviewPaymentMethodResponseData, ::File.join(__dir__, "schematic/types/publish_preview_payment_method_response_data")
|
|
587
593
|
autoload :PublishPreviewProrationLineResponseData, ::File.join(__dir__, "schematic/types/publish_preview_proration_line_response_data")
|
|
@@ -621,6 +627,8 @@ module Schematic
|
|
|
621
627
|
autoload :CompanyFeatureUsageExportMetadataSortOrderDirection, ::File.join(__dir__, "schematic/types/company_feature_usage_export_metadata_sort_order_direction")
|
|
622
628
|
autoload :CompanyFeatureUsageExportMetadataVisibleColumnsItem, ::File.join(__dir__, "schematic/types/company_feature_usage_export_metadata_visible_columns_item")
|
|
623
629
|
autoload :CompanyFeatureUsageExportMetadata, ::File.join(__dir__, "schematic/types/company_feature_usage_export_metadata")
|
|
630
|
+
autoload :CreditLedgerExportMetadataEventType, ::File.join(__dir__, "schematic/types/credit_ledger_export_metadata_event_type")
|
|
631
|
+
autoload :CreditLedgerExportMetadata, ::File.join(__dir__, "schematic/types/credit_ledger_export_metadata")
|
|
624
632
|
autoload :EventExportMetadataEventTypesItem, ::File.join(__dir__, "schematic/types/event_export_metadata_event_types_item")
|
|
625
633
|
autoload :EventExportMetadata, ::File.join(__dir__, "schematic/types/event_export_metadata")
|
|
626
634
|
autoload :DataExportMetadata, ::File.join(__dir__, "schematic/types/data_export_metadata")
|
|
@@ -930,6 +938,11 @@ module Schematic
|
|
|
930
938
|
autoload :UpsertBillingSubscriptionResponse, ::File.join(__dir__, "schematic/billing/types/upsert_billing_subscription_response")
|
|
931
939
|
autoload :GetCompanyNativeSubscriptionResponse, ::File.join(__dir__, "schematic/billing/types/get_company_native_subscription_response")
|
|
932
940
|
autoload :MoveToDefaultPlanResponse, ::File.join(__dir__, "schematic/billing/types/move_to_default_plan_response")
|
|
941
|
+
autoload :GetCompanyTrialResponse, ::File.join(__dir__, "schematic/billing/types/get_company_trial_response")
|
|
942
|
+
autoload :StartCompanyTrialResponse, ::File.join(__dir__, "schematic/billing/types/start_company_trial_response")
|
|
943
|
+
autoload :UpdateCompanyTrialResponse, ::File.join(__dir__, "schematic/billing/types/update_company_trial_response")
|
|
944
|
+
autoload :ConvertCompanyTrialResponse, ::File.join(__dir__, "schematic/billing/types/convert_company_trial_response")
|
|
945
|
+
autoload :EndCompanyTrialResponse, ::File.join(__dir__, "schematic/billing/types/end_company_trial_response")
|
|
933
946
|
autoload :GetCompanyUpcomingInvoicesResponse, ::File.join(__dir__, "schematic/billing/types/get_company_upcoming_invoices_response")
|
|
934
947
|
autoload :ListBillingInvoicesParams, ::File.join(__dir__, "schematic/billing/types/list_billing_invoices_params")
|
|
935
948
|
autoload :ListBillingInvoicesResponse, ::File.join(__dir__, "schematic/billing/types/list_billing_invoices_response")
|