schematichq 1.5.5 → 1.5.6

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 (85) hide show
  1. checksums.yaml +4 -4
  2. data/.fern/metadata.json +4 -4
  3. data/.fern/replay.lock +7 -1
  4. data/lib/schematic/accounts/client.rb +0 -271
  5. data/lib/schematic/billing/client.rb +40 -16
  6. data/lib/schematic/billing/types/{count_native_invoices_params.rb → count_billing_invoices_params.rb} +9 -1
  7. data/lib/schematic/billing/types/{count_native_invoices_request.rb → count_billing_invoices_request.rb} +9 -1
  8. data/lib/schematic/billing/types/{count_native_invoices_response.rb → count_billing_invoices_response.rb} +2 -2
  9. data/lib/schematic/billing/types/create_payment_method_request_body.rb +2 -0
  10. data/lib/schematic/billing/types/{get_native_invoice_response.rb → get_billing_invoice_response.rb} +1 -1
  11. data/lib/schematic/billing/types/{list_native_invoices_params.rb → list_billing_invoices_params.rb} +9 -1
  12. data/lib/schematic/billing/types/{list_native_invoices_request.rb → list_billing_invoices_request.rb} +9 -1
  13. data/lib/schematic/billing/types/{list_native_invoices_response.rb → list_billing_invoices_response.rb} +2 -2
  14. data/lib/schematic/billing/types/{mark_native_invoice_paid_response.rb → mark_billing_invoice_paid_response.rb} +1 -1
  15. data/lib/schematic/catalogs/client.rb +82 -0
  16. data/lib/schematic/{accounts/types/create_api_key_response.rb → catalogs/types/get_public_catalog_by_id_response.rb} +3 -3
  17. data/lib/schematic/{accounts/types/delete_api_key_response.rb → catalogs/types/get_public_catalog_response.rb} +3 -3
  18. data/lib/schematic/client.rb +195 -1
  19. data/lib/schematic/credits/client.rb +48 -0
  20. data/lib/schematic/credits/types/count_credit_event_ledger_params.rb +2 -0
  21. data/lib/schematic/credits/types/count_credit_event_ledger_request.rb +2 -0
  22. data/lib/schematic/{accounts/types/create_environment_response.rb → credits/types/get_credit_event_ledger_entry_response.rb} +3 -3
  23. data/lib/schematic/credits/types/list_credit_event_ledger_params.rb +2 -0
  24. data/lib/schematic/credits/types/list_credit_event_ledger_request.rb +2 -0
  25. data/lib/schematic/planbundle/types/create_custom_plan_bundle_request_body.rb +2 -0
  26. data/lib/schematic/planbundle/types/create_plan_bundle_request_body.rb +2 -0
  27. data/lib/schematic/planbundle/types/update_plan_bundle_request_body.rb +2 -0
  28. data/lib/schematic/plans/types/retry_custom_plan_billing_request_body.rb +2 -0
  29. data/lib/schematic/types/billing_invoice_address_response_data.rb +19 -0
  30. data/lib/schematic/types/billing_invoice_billing_details_response_data.rb +15 -0
  31. data/lib/schematic/types/billing_invoice_detail_response_data.rb +20 -4
  32. data/lib/schematic/types/billing_invoice_line_response_data.rb +5 -1
  33. data/lib/schematic/types/billing_invoice_response_data.rb +12 -4
  34. data/lib/schematic/types/billing_invoice_settlement_response_data.rb +1 -1
  35. data/lib/schematic/types/billing_invoice_tax_id_response_data.rb +11 -0
  36. data/lib/schematic/types/billing_invoice_terms_response_data.rb +2 -0
  37. data/lib/schematic/types/billing_plan_credit_grant_response_data.rb +2 -0
  38. data/lib/schematic/types/billing_plan_credit_grant_warning_tier_response_data.rb +13 -0
  39. data/lib/schematic/types/catalog_bundle_currency_price_response_data.rb +13 -0
  40. data/lib/schematic/types/catalog_capabilities_response_data.rb +11 -0
  41. data/lib/schematic/types/catalog_credit_bundle_response_data.rb +39 -0
  42. data/lib/schematic/types/catalog_credit_grant_response_data.rb +29 -0
  43. data/lib/schematic/types/catalog_currency_prices_response_data.rb +17 -0
  44. data/lib/schematic/types/catalog_custom_plan_cta_response_data.rb +13 -0
  45. data/lib/schematic/types/catalog_detail_response_data.rb +23 -0
  46. data/lib/schematic/types/catalog_entitlement_response_data.rb +61 -0
  47. data/lib/schematic/types/catalog_plan_entitlement_response_data.rb +63 -0
  48. data/lib/schematic/types/catalog_plan_response_data.rb +41 -0
  49. data/lib/schematic/types/catalog_price_response_data.rb +29 -0
  50. data/lib/schematic/types/catalog_price_tier_response_data.rb +17 -0
  51. data/lib/schematic/types/checkout_charge_timing.rb +13 -0
  52. data/lib/schematic/types/checkout_problem_code.rb +4 -0
  53. data/lib/schematic/types/create_billing_plan_credit_grant_request_body.rb +2 -0
  54. data/lib/schematic/types/credit_spend_window_unit.rb +2 -0
  55. data/lib/schematic/types/custom_plan_billing_response_data.rb +2 -0
  56. data/lib/schematic/types/entitlement_type.rb +1 -0
  57. data/lib/schematic/types/event_body.rb +3 -3
  58. data/lib/schematic/types/payment_method_billing_details_request_body.rb +13 -0
  59. data/lib/schematic/types/plan_credit_grant_warning_tier_request_body.rb +11 -0
  60. data/lib/schematic/types/plan_version_migration_preview_company_response_data.rb +2 -0
  61. data/lib/schematic/types/plan_version_migration_preview_note_response_data.rb +13 -0
  62. data/lib/schematic/types/plan_version_response_data.rb +2 -0
  63. data/lib/schematic/types/preview_subscription_finance_response_data.rb +6 -0
  64. data/lib/schematic/types/preview_subscription_proration_line_response_data.rb +21 -0
  65. data/lib/schematic/types/preview_subscription_proration_response_data.rb +21 -0
  66. data/lib/schematic/types/proration_line_kind.rb +12 -0
  67. data/lib/schematic/types/public_catalog_response_data.rb +29 -0
  68. data/lib/schematic/types/publish_plan_version_request_body.rb +2 -0
  69. data/lib/schematic/types/publish_preview_response_data.rb +2 -0
  70. data/lib/schematic/types/renewal_policy.rb +13 -0
  71. data/lib/schematic/types/update_billing_plan_credit_grant_request_body.rb +2 -0
  72. data/lib/schematic/types/webhook_request_type.rb +1 -0
  73. data/lib/schematic/version.rb +1 -1
  74. data/lib/schematic.rb +38 -22
  75. data/reference.md +434 -275
  76. metadata +38 -22
  77. data/lib/schematic/accounts/types/create_api_key_request_body.rb +0 -19
  78. data/lib/schematic/accounts/types/create_environment_request_body.rb +0 -13
  79. data/lib/schematic/accounts/types/delete_environment_response.rb +0 -13
  80. data/lib/schematic/accounts/types/update_api_key_request_body.rb +0 -17
  81. data/lib/schematic/accounts/types/update_api_key_response.rb +0 -13
  82. data/lib/schematic/accounts/types/update_environment_request_body.rb +0 -17
  83. data/lib/schematic/accounts/types/update_environment_response.rb +0 -13
  84. data/lib/schematic/types/api_key_create_response_data.rb +0 -33
  85. data/lib/schematic/types/environment_detail_response_data.rb +0 -21
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.5.5
4
+ version: 1.5.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Schematic
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2026-10-19 00:00:00.000000000 Z
11
+ date: 2026-10-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: wasmtime
@@ -72,12 +72,6 @@ files:
72
72
  - lib/schematic/accounts/types/count_audit_logs_params.rb
73
73
  - lib/schematic/accounts/types/count_audit_logs_request.rb
74
74
  - lib/schematic/accounts/types/count_audit_logs_response.rb
75
- - lib/schematic/accounts/types/create_api_key_request_body.rb
76
- - lib/schematic/accounts/types/create_api_key_response.rb
77
- - lib/schematic/accounts/types/create_environment_request_body.rb
78
- - lib/schematic/accounts/types/create_environment_response.rb
79
- - lib/schematic/accounts/types/delete_api_key_response.rb
80
- - lib/schematic/accounts/types/delete_environment_response.rb
81
75
  - lib/schematic/accounts/types/get_account_member_response.rb
82
76
  - lib/schematic/accounts/types/get_api_key_response.rb
83
77
  - lib/schematic/accounts/types/get_audit_log_response.rb
@@ -97,22 +91,18 @@ files:
97
91
  - lib/schematic/accounts/types/list_environments_request.rb
98
92
  - lib/schematic/accounts/types/list_environments_response.rb
99
93
  - lib/schematic/accounts/types/quickstart_response.rb
100
- - lib/schematic/accounts/types/update_api_key_request_body.rb
101
- - lib/schematic/accounts/types/update_api_key_response.rb
102
- - lib/schematic/accounts/types/update_environment_request_body.rb
103
- - lib/schematic/accounts/types/update_environment_response.rb
104
94
  - lib/schematic/accounts/types/update_onboarding_state_request_body.rb
105
95
  - lib/schematic/accounts/types/update_onboarding_state_response.rb
106
96
  - lib/schematic/billing/client.rb
97
+ - lib/schematic/billing/types/count_billing_invoices_params.rb
98
+ - lib/schematic/billing/types/count_billing_invoices_request.rb
99
+ - lib/schematic/billing/types/count_billing_invoices_response.rb
107
100
  - lib/schematic/billing/types/count_billing_products_params.rb
108
101
  - lib/schematic/billing/types/count_billing_products_request.rb
109
102
  - lib/schematic/billing/types/count_billing_products_response.rb
110
103
  - lib/schematic/billing/types/count_customers_params.rb
111
104
  - lib/schematic/billing/types/count_customers_request.rb
112
105
  - lib/schematic/billing/types/count_customers_response.rb
113
- - lib/schematic/billing/types/count_native_invoices_params.rb
114
- - lib/schematic/billing/types/count_native_invoices_request.rb
115
- - lib/schematic/billing/types/count_native_invoices_response.rb
116
106
  - lib/schematic/billing/types/create_billing_customer_request_body.rb
117
107
  - lib/schematic/billing/types/create_billing_price_request_body.rb
118
108
  - lib/schematic/billing/types/create_billing_product_request_body.rb
@@ -128,9 +118,12 @@ files:
128
118
  - lib/schematic/billing/types/delete_payment_method_by_external_id_response.rb
129
119
  - lib/schematic/billing/types/delete_product_price_response.rb
130
120
  - lib/schematic/billing/types/finalize_native_invoice_response.rb
121
+ - lib/schematic/billing/types/get_billing_invoice_response.rb
131
122
  - lib/schematic/billing/types/get_billing_settings_response.rb
132
123
  - lib/schematic/billing/types/get_company_native_subscription_response.rb
133
- - lib/schematic/billing/types/get_native_invoice_response.rb
124
+ - lib/schematic/billing/types/list_billing_invoices_params.rb
125
+ - lib/schematic/billing/types/list_billing_invoices_request.rb
126
+ - lib/schematic/billing/types/list_billing_invoices_response.rb
134
127
  - lib/schematic/billing/types/list_billing_prices_params.rb
135
128
  - lib/schematic/billing/types/list_billing_prices_request.rb
136
129
  - lib/schematic/billing/types/list_billing_prices_response.rb
@@ -155,14 +148,11 @@ files:
155
148
  - lib/schematic/billing/types/list_meters_params.rb
156
149
  - lib/schematic/billing/types/list_meters_request.rb
157
150
  - lib/schematic/billing/types/list_meters_response.rb
158
- - lib/schematic/billing/types/list_native_invoices_params.rb
159
- - lib/schematic/billing/types/list_native_invoices_request.rb
160
- - lib/schematic/billing/types/list_native_invoices_response.rb
161
151
  - lib/schematic/billing/types/list_payment_methods_params.rb
162
152
  - lib/schematic/billing/types/list_payment_methods_request.rb
163
153
  - lib/schematic/billing/types/list_payment_methods_response.rb
154
+ - lib/schematic/billing/types/mark_billing_invoice_paid_response.rb
164
155
  - lib/schematic/billing/types/mark_invoice_paid_request_body.rb
165
- - lib/schematic/billing/types/mark_native_invoice_paid_response.rb
166
156
  - lib/schematic/billing/types/update_billing_settings_request_body.rb
167
157
  - lib/schematic/billing/types/update_billing_settings_response.rb
168
158
  - lib/schematic/billing/types/update_company_billing_profile_request_body.rb
@@ -186,6 +176,8 @@ files:
186
176
  - lib/schematic/catalogs/types/get_credit_bundles_in_catalog_response.rb
187
177
  - lib/schematic/catalogs/types/get_derived_features_response.rb
188
178
  - lib/schematic/catalogs/types/get_plans_in_catalog_response.rb
179
+ - lib/schematic/catalogs/types/get_public_catalog_by_id_response.rb
180
+ - lib/schematic/catalogs/types/get_public_catalog_response.rb
189
181
  - lib/schematic/catalogs/types/list_catalogs_params.rb
190
182
  - lib/schematic/catalogs/types/list_catalogs_request.rb
191
183
  - lib/schematic/catalogs/types/list_catalogs_response.rb
@@ -371,6 +363,7 @@ files:
371
363
  - lib/schematic/credits/types/get_credit_balance_time_series_request.rb
372
364
  - lib/schematic/credits/types/get_credit_balance_time_series_response.rb
373
365
  - lib/schematic/credits/types/get_credit_bundle_response.rb
366
+ - lib/schematic/credits/types/get_credit_event_ledger_entry_response.rb
374
367
  - lib/schematic/credits/types/get_credit_spend_policy_response.rb
375
368
  - lib/schematic/credits/types/get_credit_spend_policy_usage_params.rb
376
369
  - lib/schematic/credits/types/get_credit_spend_policy_usage_request.rb
@@ -729,7 +722,6 @@ files:
729
722
  - lib/schematic/types/actor_type.rb
730
723
  - lib/schematic/types/amendment_proration_lands_on.rb
731
724
  - lib/schematic/types/api_error.rb
732
- - lib/schematic/types/api_key_create_response_data.rb
733
725
  - lib/schematic/types/api_key_integration_response_data.rb
734
726
  - lib/schematic/types/api_key_response_data.rb
735
727
  - lib/schematic/types/api_key_scope.rb
@@ -759,10 +751,13 @@ files:
759
751
  - lib/schematic/types/billing_customer_response_data.rb
760
752
  - lib/schematic/types/billing_customer_subscription.rb
761
753
  - lib/schematic/types/billing_customer_with_subscriptions_response_data.rb
754
+ - lib/schematic/types/billing_invoice_address_response_data.rb
755
+ - lib/schematic/types/billing_invoice_billing_details_response_data.rb
762
756
  - lib/schematic/types/billing_invoice_detail_response_data.rb
763
757
  - lib/schematic/types/billing_invoice_line_response_data.rb
764
758
  - lib/schematic/types/billing_invoice_response_data.rb
765
759
  - lib/schematic/types/billing_invoice_settlement_response_data.rb
760
+ - lib/schematic/types/billing_invoice_tax_id_response_data.rb
766
761
  - lib/schematic/types/billing_invoice_terms_response_data.rb
767
762
  - lib/schematic/types/billing_linked_resource_response_data.rb
768
763
  - lib/schematic/types/billing_meter_response_data.rb
@@ -775,6 +770,7 @@ files:
775
770
  - lib/schematic/types/billing_plan_credit_grant_reset_start.rb
776
771
  - lib/schematic/types/billing_plan_credit_grant_reset_type.rb
777
772
  - lib/schematic/types/billing_plan_credit_grant_response_data.rb
773
+ - lib/schematic/types/billing_plan_credit_grant_warning_tier_response_data.rb
778
774
  - lib/schematic/types/billing_price_response_data.rb
779
775
  - lib/schematic/types/billing_price_scheme.rb
780
776
  - lib/schematic/types/billing_price_usage_type.rb
@@ -801,6 +797,8 @@ files:
801
797
  - lib/schematic/types/billing_tiers_mode.rb
802
798
  - lib/schematic/types/capture_raw_event.rb
803
799
  - lib/schematic/types/capture_raw_event_batch.rb
800
+ - lib/schematic/types/catalog_bundle_currency_price_response_data.rb
801
+ - lib/schematic/types/catalog_capabilities_response_data.rb
804
802
  - lib/schematic/types/catalog_config_ordered_bundle.rb
805
803
  - lib/schematic/types/catalog_config_ordered_bundle_response_data.rb
806
804
  - lib/schematic/types/catalog_config_ordered_entitlement.rb
@@ -811,9 +809,19 @@ files:
811
809
  - lib/schematic/types/catalog_config_plan_credit_response_data.rb
812
810
  - lib/schematic/types/catalog_configuration_response_data.rb
813
811
  - lib/schematic/types/catalog_credit_bundle_i_ds_response_data.rb
812
+ - lib/schematic/types/catalog_credit_bundle_response_data.rb
813
+ - lib/schematic/types/catalog_credit_grant_response_data.rb
814
+ - lib/schematic/types/catalog_currency_prices_response_data.rb
815
+ - lib/schematic/types/catalog_custom_plan_cta_response_data.rb
814
816
  - lib/schematic/types/catalog_derived_feature_response_data.rb
815
817
  - lib/schematic/types/catalog_derived_features_response_data.rb
818
+ - lib/schematic/types/catalog_detail_response_data.rb
819
+ - lib/schematic/types/catalog_entitlement_response_data.rb
820
+ - lib/schematic/types/catalog_plan_entitlement_response_data.rb
816
821
  - lib/schematic/types/catalog_plan_i_ds_response_data.rb
822
+ - lib/schematic/types/catalog_plan_response_data.rb
823
+ - lib/schematic/types/catalog_price_response_data.rb
824
+ - lib/schematic/types/catalog_price_tier_response_data.rb
817
825
  - lib/schematic/types/catalog_response_data.rb
818
826
  - lib/schematic/types/change_subscription_internal_request_body.rb
819
827
  - lib/schematic/types/change_subscription_request_body.rb
@@ -825,6 +833,7 @@ files:
825
833
  - lib/schematic/types/check_flags_bulk_response_data.rb
826
834
  - lib/schematic/types/check_flags_response_data.rb
827
835
  - lib/schematic/types/checkout_bundle_purchase_behavior.rb
836
+ - lib/schematic/types/checkout_charge_timing.rb
828
837
  - lib/schematic/types/checkout_data_response_data.rb
829
838
  - lib/schematic/types/checkout_field_input.rb
830
839
  - lib/schematic/types/checkout_field_response_data.rb
@@ -979,7 +988,6 @@ files:
979
988
  - lib/schematic/types/entity_trait_response_data.rb
980
989
  - lib/schematic/types/entity_trait_value.rb
981
990
  - lib/schematic/types/entity_type.rb
982
- - lib/schematic/types/environment_detail_response_data.rb
983
991
  - lib/schematic/types/environment_feature_usage_time_series_response_data.rb
984
992
  - lib/schematic/types/environment_response_data.rb
985
993
  - lib/schematic/types/environment_trait_usage_time_series_response_data.rb
@@ -1071,6 +1079,7 @@ files:
1071
1079
  - lib/schematic/types/ordered_plans_in_group.rb
1072
1080
  - lib/schematic/types/otlp_environment_settings_response_data.rb
1073
1081
  - lib/schematic/types/payment_gating.rb
1082
+ - lib/schematic/types/payment_method_billing_details_request_body.rb
1074
1083
  - lib/schematic/types/payment_method_request_body.rb
1075
1084
  - lib/schematic/types/payment_method_response_data.rb
1076
1085
  - lib/schematic/types/pending_migration_response_data.rb
@@ -1087,6 +1096,7 @@ files:
1087
1096
  - lib/schematic/types/plan_change_subscription_action.rb
1088
1097
  - lib/schematic/types/plan_credit_grant_scaling.rb
1089
1098
  - lib/schematic/types/plan_credit_grant_view.rb
1099
+ - lib/schematic/types/plan_credit_grant_warning_tier_request_body.rb
1090
1100
  - lib/schematic/types/plan_credit_order.rb
1091
1101
  - lib/schematic/types/plan_credit_visibility.rb
1092
1102
  - lib/schematic/types/plan_currency_price_request_body.rb
@@ -1119,6 +1129,7 @@ files:
1119
1129
  - lib/schematic/types/plan_version_entitlement_change_response_data.rb
1120
1130
  - lib/schematic/types/plan_version_field_change_response_data.rb
1121
1131
  - lib/schematic/types/plan_version_migration_preview_company_response_data.rb
1132
+ - lib/schematic/types/plan_version_migration_preview_note_response_data.rb
1122
1133
  - lib/schematic/types/plan_version_migration_preview_response_data.rb
1123
1134
  - lib/schematic/types/plan_version_migration_response_data.rb
1124
1135
  - lib/schematic/types/plan_version_migration_status.rb
@@ -1136,8 +1147,12 @@ files:
1136
1147
  - lib/schematic/types/preview_subscription_change_response_data.rb
1137
1148
  - lib/schematic/types/preview_subscription_discount_response_data.rb
1138
1149
  - lib/schematic/types/preview_subscription_finance_response_data.rb
1150
+ - lib/schematic/types/preview_subscription_proration_line_response_data.rb
1151
+ - lib/schematic/types/preview_subscription_proration_response_data.rb
1139
1152
  - lib/schematic/types/preview_subscription_upcoming_invoice_line_items.rb
1140
1153
  - lib/schematic/types/proration_behavior.rb
1154
+ - lib/schematic/types/proration_line_kind.rb
1155
+ - lib/schematic/types/public_catalog_response_data.rb
1141
1156
  - lib/schematic/types/public_plans_response_data.rb
1142
1157
  - lib/schematic/types/publish_plan_version_request_body.rb
1143
1158
  - lib/schematic/types/publish_preview_pay_in_advance_response_data.rb
@@ -1147,6 +1162,7 @@ files:
1147
1162
  - lib/schematic/types/quickstart_resp.rb
1148
1163
  - lib/schematic/types/raw_event_batch_response_data.rb
1149
1164
  - lib/schematic/types/raw_event_response_data.rb
1165
+ - lib/schematic/types/renewal_policy.rb
1150
1166
  - lib/schematic/types/rule.rb
1151
1167
  - lib/schematic/types/rule_condition_detail_response_data.rb
1152
1168
  - lib/schematic/types/rule_condition_group_detail_response_data.rb
@@ -1,19 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Schematic
4
- module Accounts
5
- module Types
6
- class CreateApiKeyRequestBody < Internal::Types::Model
7
- field :description, -> { String }, optional: true, nullable: false
8
-
9
- field :environment_id, -> { String }, optional: true, nullable: false
10
-
11
- field :name, -> { String }, optional: false, nullable: false
12
-
13
- field :rate_limit_percent, -> { Integer }, optional: true, nullable: false
14
-
15
- field :readonly, -> { Internal::Types::Boolean }, optional: true, nullable: false
16
- end
17
- end
18
- end
19
- end
@@ -1,13 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Schematic
4
- module Accounts
5
- module Types
6
- class CreateEnvironmentRequestBody < Internal::Types::Model
7
- field :environment_type, -> { Schematic::Types::EnvironmentType }, optional: false, nullable: false
8
-
9
- field :name, -> { String }, optional: false, nullable: false
10
- end
11
- end
12
- end
13
- end
@@ -1,13 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Schematic
4
- module Accounts
5
- module Types
6
- class DeleteEnvironmentResponse < Internal::Types::Model
7
- field :data, -> { Schematic::Types::DeleteResponse }, optional: false, nullable: false
8
-
9
- field :params, -> { Internal::Types::Hash[String, Object] }, optional: false, nullable: false
10
- end
11
- end
12
- end
13
- end
@@ -1,17 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Schematic
4
- module Accounts
5
- module Types
6
- class UpdateApiKeyRequestBody < Internal::Types::Model
7
- field :api_key_id, -> { String }, optional: false, nullable: false
8
-
9
- field :description, -> { String }, optional: true, nullable: false
10
-
11
- field :name, -> { String }, optional: true, nullable: false
12
-
13
- field :rate_limit_percent, -> { Integer }, optional: true, nullable: false
14
- end
15
- end
16
- end
17
- end
@@ -1,13 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Schematic
4
- module Accounts
5
- module Types
6
- class UpdateApiKeyResponse < Internal::Types::Model
7
- field :data, -> { Schematic::Types::ApiKeyResponseData }, optional: false, nullable: false
8
-
9
- field :params, -> { Internal::Types::Hash[String, Object] }, optional: false, nullable: false
10
- end
11
- end
12
- end
13
- end
@@ -1,17 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Schematic
4
- module Accounts
5
- module Types
6
- class UpdateEnvironmentRequestBody < Internal::Types::Model
7
- field :environment_id, -> { String }, optional: false, nullable: false
8
-
9
- field :environment_type, -> { Schematic::Types::EnvironmentType }, optional: true, nullable: false
10
-
11
- field :name, -> { String }, optional: true, nullable: false
12
-
13
- field :require_context_signature, -> { Internal::Types::Boolean }, optional: true, nullable: false
14
- end
15
- end
16
- end
17
- end
@@ -1,13 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Schematic
4
- module Accounts
5
- module Types
6
- class UpdateEnvironmentResponse < Internal::Types::Model
7
- field :data, -> { Schematic::Types::EnvironmentResponseData }, optional: false, nullable: false
8
-
9
- field :params, -> { Internal::Types::Hash[String, Object] }, optional: false, nullable: false
10
- end
11
- end
12
- end
13
- end
@@ -1,33 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Schematic
4
- module Types
5
- class ApiKeyCreateResponseData < Internal::Types::Model
6
- field :created_at, -> { String }, optional: false, nullable: false
7
-
8
- field :description, -> { String }, optional: true, nullable: false
9
-
10
- field :environment, -> { Schematic::Types::EnvironmentResponseData }, optional: true, nullable: false
11
-
12
- field :environment_id, -> { String }, optional: true, nullable: false
13
-
14
- field :id, -> { String }, optional: false, nullable: false
15
-
16
- field :integration, -> { Schematic::Types::ApiKeyIntegrationResponseData }, optional: true, nullable: false
17
-
18
- field :last_used_at, -> { String }, optional: true, nullable: false
19
-
20
- field :name, -> { String }, optional: false, nullable: false
21
-
22
- field :rate_limit_percent, -> { Integer }, optional: true, nullable: false
23
-
24
- field :readonly, -> { Internal::Types::Boolean }, optional: false, nullable: false
25
-
26
- field :scopes, -> { Internal::Types::Array[Schematic::Types::ApiKeyScope] }, optional: false, nullable: false
27
-
28
- field :secret, -> { String }, optional: false, nullable: false
29
-
30
- field :updated_at, -> { String }, optional: false, nullable: false
31
- end
32
- end
33
- end
@@ -1,21 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Schematic
4
- module Types
5
- class EnvironmentDetailResponseData < Internal::Types::Model
6
- field :api_keys, -> { Internal::Types::Array[Schematic::Types::ApiKeyResponseData] }, optional: false, nullable: false
7
-
8
- field :created_at, -> { String }, optional: false, nullable: false
9
-
10
- field :environment_type, -> { Schematic::Types::EnvironmentType }, optional: false, nullable: false
11
-
12
- field :id, -> { String }, optional: false, nullable: false
13
-
14
- field :name, -> { String }, optional: false, nullable: false
15
-
16
- field :require_context_signature, -> { Internal::Types::Boolean }, optional: false, nullable: false
17
-
18
- field :updated_at, -> { String }, optional: false, nullable: false
19
- end
20
- end
21
- end