schematichq 1.4.13 → 1.4.15
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 +7 -3
- data/.fern/replay.lock +15 -3
- data/.rubocop.yml +33 -0
- data/CONTRIBUTING.md +120 -0
- data/WASM_VERSION +1 -1
- data/lib/schematic/accesstokens/client.rb +8 -0
- data/lib/schematic/accesstokens/types/issue_temporary_access_token_request_body.rb +1 -0
- data/lib/schematic/accesstokens/types/issue_temporary_access_token_response.rb +1 -0
- data/lib/schematic/accounts/client.rb +176 -22
- data/lib/schematic/accounts/types/count_account_members_params.rb +4 -0
- data/lib/schematic/accounts/types/count_account_members_request.rb +4 -0
- data/lib/schematic/accounts/types/count_account_members_response.rb +1 -0
- data/lib/schematic/accounts/types/count_api_keys_params.rb +3 -0
- data/lib/schematic/accounts/types/count_api_keys_request.rb +3 -0
- data/lib/schematic/accounts/types/count_api_keys_response.rb +1 -0
- data/lib/schematic/accounts/types/count_audit_logs_params.rb +6 -0
- data/lib/schematic/accounts/types/count_audit_logs_request.rb +6 -0
- data/lib/schematic/accounts/types/count_audit_logs_response.rb +1 -0
- data/lib/schematic/accounts/types/create_api_key_request_body.rb +4 -0
- data/lib/schematic/accounts/types/create_api_key_response.rb +1 -0
- data/lib/schematic/accounts/types/create_environment_request_body.rb +1 -0
- data/lib/schematic/accounts/types/create_environment_response.rb +1 -0
- data/lib/schematic/accounts/types/delete_api_key_response.rb +1 -0
- data/lib/schematic/accounts/types/delete_environment_response.rb +1 -0
- data/lib/schematic/accounts/types/get_account_member_response.rb +1 -0
- data/lib/schematic/accounts/types/get_api_key_response.rb +1 -0
- data/lib/schematic/accounts/types/get_audit_log_response.rb +1 -0
- data/lib/schematic/accounts/types/get_environment_response.rb +1 -0
- data/lib/schematic/accounts/types/get_onboarding_state_response.rb +13 -0
- data/lib/schematic/accounts/types/get_who_am_i_response.rb +1 -0
- data/lib/schematic/accounts/types/list_account_members_params.rb +4 -0
- data/lib/schematic/accounts/types/list_account_members_request.rb +4 -0
- data/lib/schematic/accounts/types/list_account_members_response.rb +1 -0
- data/lib/schematic/accounts/types/list_api_keys_params.rb +3 -0
- data/lib/schematic/accounts/types/list_api_keys_request.rb +3 -0
- data/lib/schematic/accounts/types/list_api_keys_response.rb +1 -0
- data/lib/schematic/accounts/types/list_audit_logs_params.rb +6 -0
- data/lib/schematic/accounts/types/list_audit_logs_request.rb +6 -0
- data/lib/schematic/accounts/types/list_audit_logs_response.rb +1 -0
- data/lib/schematic/accounts/types/list_environments_params.rb +2 -0
- data/lib/schematic/accounts/types/list_environments_request.rb +2 -0
- data/lib/schematic/accounts/types/list_environments_response.rb +1 -0
- data/lib/schematic/accounts/types/quickstart_response.rb +1 -0
- data/lib/schematic/accounts/types/update_api_key_request_body.rb +3 -0
- data/lib/schematic/accounts/types/update_api_key_response.rb +1 -0
- data/lib/schematic/accounts/types/update_environment_request_body.rb +2 -0
- data/lib/schematic/accounts/types/update_environment_response.rb +1 -0
- data/lib/schematic/accounts/types/update_onboarding_state_request_body.rb +17 -0
- data/lib/schematic/accounts/types/update_onboarding_state_response.rb +13 -0
- data/lib/schematic/billing/client.rb +243 -20
- data/lib/schematic/billing/types/count_billing_products_params.rb +12 -0
- data/lib/schematic/billing/types/count_billing_products_request.rb +12 -0
- data/lib/schematic/billing/types/count_billing_products_response.rb +1 -0
- data/lib/schematic/billing/types/count_customers_params.rb +5 -0
- data/lib/schematic/billing/types/count_customers_request.rb +5 -0
- data/lib/schematic/billing/types/count_customers_response.rb +1 -0
- data/lib/schematic/billing/types/create_billing_customer_request_body.rb +6 -0
- data/lib/schematic/billing/types/create_billing_price_request_body.rb +16 -0
- data/lib/schematic/billing/types/create_billing_product_request_body.rb +4 -0
- data/lib/schematic/billing/types/create_billing_subscription_request_body.rb +20 -0
- data/lib/schematic/billing/types/create_coupon_request_body.rb +8 -0
- data/lib/schematic/billing/types/create_invoice_request_body.rb +14 -0
- data/lib/schematic/billing/types/create_meter_request_body.rb +4 -0
- data/lib/schematic/billing/types/create_payment_method_request_body.rb +11 -0
- data/lib/schematic/billing/types/delete_billing_coupon_response.rb +1 -0
- data/lib/schematic/billing/types/delete_billing_customer_response.rb +1 -0
- data/lib/schematic/billing/types/delete_billing_invoice_response.rb +1 -0
- data/lib/schematic/billing/types/delete_billing_product_response.rb +1 -0
- data/lib/schematic/billing/types/delete_payment_method_by_external_id_response.rb +1 -0
- data/lib/schematic/billing/types/delete_product_price_response.rb +1 -0
- data/lib/schematic/billing/types/list_billing_prices_params.rb +17 -0
- data/lib/schematic/billing/types/list_billing_prices_request.rb +17 -0
- data/lib/schematic/billing/types/list_billing_prices_response.rb +1 -0
- data/lib/schematic/billing/types/list_billing_product_prices_params.rb +17 -0
- data/lib/schematic/billing/types/list_billing_product_prices_request.rb +17 -0
- data/lib/schematic/billing/types/list_billing_product_prices_response.rb +1 -0
- data/lib/schematic/billing/types/list_billing_products_params.rb +12 -0
- data/lib/schematic/billing/types/list_billing_products_request.rb +12 -0
- data/lib/schematic/billing/types/list_billing_products_response.rb +1 -0
- data/lib/schematic/billing/types/list_coupons_params.rb +3 -0
- data/lib/schematic/billing/types/list_coupons_request.rb +3 -0
- data/lib/schematic/billing/types/list_coupons_response.rb +1 -0
- data/lib/schematic/billing/types/list_customers_with_subscriptions_params.rb +5 -0
- data/lib/schematic/billing/types/list_customers_with_subscriptions_request.rb +5 -0
- data/lib/schematic/billing/types/list_customers_with_subscriptions_response.rb +1 -0
- data/lib/schematic/billing/types/list_invoices_params.rb +4 -0
- data/lib/schematic/billing/types/list_invoices_request.rb +4 -0
- data/lib/schematic/billing/types/list_invoices_response.rb +1 -0
- data/lib/schematic/billing/types/list_meters_params.rb +2 -0
- data/lib/schematic/billing/types/list_meters_request.rb +2 -0
- data/lib/schematic/billing/types/list_meters_response.rb +1 -0
- data/lib/schematic/billing/types/list_payment_methods_params.rb +3 -0
- data/lib/schematic/billing/types/list_payment_methods_request.rb +3 -0
- data/lib/schematic/billing/types/list_payment_methods_response.rb +1 -0
- data/lib/schematic/billing/types/upsert_billing_coupon_response.rb +1 -0
- data/lib/schematic/billing/types/upsert_billing_customer_response.rb +1 -0
- data/lib/schematic/billing/types/upsert_billing_meter_response.rb +1 -0
- data/lib/schematic/billing/types/upsert_billing_price_response.rb +1 -0
- data/lib/schematic/billing/types/upsert_billing_product_response.rb +1 -0
- data/lib/schematic/billing/types/upsert_billing_subscription_response.rb +1 -0
- data/lib/schematic/billing/types/upsert_invoice_response.rb +1 -0
- data/lib/schematic/billing/types/upsert_payment_method_response.rb +1 -0
- data/lib/schematic/catalogs/client.rb +61 -4
- data/lib/schematic/catalogs/types/create_catalog_request_body.rb +1 -0
- data/lib/schematic/catalogs/types/create_catalog_response.rb +1 -0
- data/lib/schematic/catalogs/types/delete_catalog_response.rb +1 -0
- data/lib/schematic/catalogs/types/get_catalog_response.rb +1 -0
- data/lib/schematic/catalogs/types/get_configuration_response.rb +1 -0
- data/lib/schematic/catalogs/types/get_credit_bundles_in_catalog_response.rb +1 -0
- data/lib/schematic/catalogs/types/get_derived_features_response.rb +1 -0
- data/lib/schematic/catalogs/types/get_plans_in_catalog_response.rb +1 -0
- data/lib/schematic/catalogs/types/list_catalogs_params.rb +3 -0
- data/lib/schematic/catalogs/types/list_catalogs_request.rb +3 -0
- data/lib/schematic/catalogs/types/list_catalogs_response.rb +1 -0
- data/lib/schematic/catalogs/types/update_catalog_configuration_request_body.rb +9 -0
- data/lib/schematic/catalogs/types/update_catalog_request_body.rb +3 -0
- data/lib/schematic/catalogs/types/update_catalog_response.rb +1 -0
- data/lib/schematic/catalogs/types/update_configuration_response.rb +1 -0
- data/lib/schematic/checkout/client.rb +117 -2
- data/lib/schematic/checkout/types/cancel_subscription_request.rb +2 -0
- data/lib/schematic/checkout/types/cancel_subscription_response.rb +1 -0
- data/lib/schematic/checkout/types/checkout_data_request_body.rb +2 -0
- data/lib/schematic/checkout/types/checkout_internal_response.rb +1 -0
- data/lib/schematic/checkout/types/get_checkout_data_response.rb +1 -0
- data/lib/schematic/checkout/types/get_company_billing_details_response.rb +1 -0
- data/lib/schematic/checkout/types/manage_plan_response.rb +1 -0
- data/lib/schematic/checkout/types/preview_checkout_internal_response.rb +1 -0
- data/lib/schematic/checkout/types/preview_manage_plan_response.rb +1 -0
- data/lib/schematic/checkout/types/update_company_billing_details_request_body.rb +5 -0
- data/lib/schematic/checkout/types/update_company_billing_details_response.rb +1 -0
- data/lib/schematic/checkout/types/update_customer_subscription_trial_end_response.rb +1 -0
- data/lib/schematic/checkout/types/update_trial_end_request_body.rb +1 -0
- data/lib/schematic/client.rb +37 -4
- data/lib/schematic/companies/client.rb +421 -45
- data/lib/schematic/companies/types/count_companies_params.rb +21 -0
- data/lib/schematic/companies/types/count_companies_request.rb +21 -0
- data/lib/schematic/companies/types/count_companies_response.rb +1 -0
- data/lib/schematic/companies/types/count_entity_key_definitions_params.rb +4 -0
- data/lib/schematic/companies/types/count_entity_key_definitions_request.rb +4 -0
- data/lib/schematic/companies/types/count_entity_key_definitions_response.rb +1 -0
- data/lib/schematic/companies/types/count_entity_keys_params.rb +3 -0
- data/lib/schematic/companies/types/count_entity_keys_request.rb +3 -0
- data/lib/schematic/companies/types/count_entity_keys_response.rb +1 -0
- data/lib/schematic/companies/types/count_entity_trait_definitions_params.rb +6 -0
- data/lib/schematic/companies/types/count_entity_trait_definitions_request.rb +6 -0
- data/lib/schematic/companies/types/count_entity_trait_definitions_response.rb +1 -0
- data/lib/schematic/companies/types/count_entity_traits_params.rb +18 -0
- data/lib/schematic/companies/types/count_entity_traits_request.rb +17 -0
- data/lib/schematic/companies/types/count_entity_traits_response.rb +13 -0
- data/lib/schematic/companies/types/count_plan_traits_params.rb +5 -0
- data/lib/schematic/companies/types/count_plan_traits_request.rb +5 -0
- data/lib/schematic/companies/types/count_plan_traits_response.rb +1 -0
- data/lib/schematic/companies/types/count_users_params.rb +5 -0
- data/lib/schematic/companies/types/count_users_request.rb +5 -0
- data/lib/schematic/companies/types/count_users_response.rb +1 -0
- data/lib/schematic/companies/types/create_company_response.rb +1 -0
- data/lib/schematic/companies/types/create_entity_trait_definition_request_body.rb +3 -0
- data/lib/schematic/companies/types/create_user_response.rb +1 -0
- data/lib/schematic/companies/types/delete_company_by_keys_response.rb +1 -0
- data/lib/schematic/companies/types/delete_company_membership_response.rb +1 -0
- data/lib/schematic/companies/types/delete_company_params.rb +1 -0
- data/lib/schematic/companies/types/delete_company_request.rb +2 -0
- data/lib/schematic/companies/types/delete_company_response.rb +1 -0
- data/lib/schematic/companies/types/delete_entity_key_definition_response.rb +1 -0
- data/lib/schematic/companies/types/delete_entity_trait_definition_response.rb +13 -0
- data/lib/schematic/companies/types/delete_user_by_keys_response.rb +1 -0
- data/lib/schematic/companies/types/delete_user_response.rb +1 -0
- data/lib/schematic/companies/types/get_active_company_subscription_params.rb +3 -0
- data/lib/schematic/companies/types/get_active_company_subscription_request.rb +3 -0
- data/lib/schematic/companies/types/get_active_company_subscription_response.rb +1 -0
- data/lib/schematic/companies/types/get_billing_entity_child_subscriptions_request.rb +1 -1
- data/lib/schematic/companies/types/get_billing_entity_child_subscriptions_response.rb +1 -0
- data/lib/schematic/companies/types/get_company_billing_entity_request.rb +1 -1
- data/lib/schematic/companies/types/get_company_billing_entity_response.rb +1 -0
- data/lib/schematic/companies/types/get_company_response.rb +1 -0
- data/lib/schematic/companies/types/get_entity_trait_definition_response.rb +1 -0
- data/lib/schematic/companies/types/get_entity_trait_definition_usage_response.rb +13 -0
- data/lib/schematic/companies/types/get_entity_trait_values_params.rb +3 -0
- data/lib/schematic/companies/types/get_entity_trait_values_request.rb +3 -0
- data/lib/schematic/companies/types/get_entity_trait_values_response.rb +1 -0
- data/lib/schematic/companies/types/get_or_create_company_membership_request_body.rb +1 -0
- data/lib/schematic/companies/types/get_or_create_company_membership_response.rb +1 -0
- data/lib/schematic/companies/types/get_or_create_entity_trait_definition_response.rb +1 -0
- data/lib/schematic/companies/types/get_plan_change_response.rb +1 -0
- data/lib/schematic/companies/types/get_plan_trait_response.rb +1 -0
- data/lib/schematic/companies/types/get_user_response.rb +1 -0
- data/lib/schematic/companies/types/list_companies_params.rb +21 -0
- data/lib/schematic/companies/types/list_companies_request.rb +21 -0
- data/lib/schematic/companies/types/list_companies_response.rb +1 -0
- data/lib/schematic/companies/types/list_company_memberships_params.rb +3 -0
- data/lib/schematic/companies/types/list_company_memberships_request.rb +3 -0
- data/lib/schematic/companies/types/list_company_memberships_response.rb +1 -0
- data/lib/schematic/companies/types/list_entity_key_definitions_params.rb +4 -0
- data/lib/schematic/companies/types/list_entity_key_definitions_request.rb +4 -0
- data/lib/schematic/companies/types/list_entity_key_definitions_response.rb +1 -0
- data/lib/schematic/companies/types/list_entity_trait_definitions_params.rb +6 -0
- data/lib/schematic/companies/types/list_entity_trait_definitions_request.rb +6 -0
- data/lib/schematic/companies/types/list_entity_trait_definitions_response.rb +1 -0
- data/lib/schematic/companies/types/list_plan_changes_params.rb +5 -1
- data/lib/schematic/companies/types/list_plan_changes_request.rb +5 -1
- data/lib/schematic/companies/types/list_plan_changes_response.rb +1 -0
- data/lib/schematic/companies/types/list_plan_traits_params.rb +5 -0
- data/lib/schematic/companies/types/list_plan_traits_request.rb +5 -0
- data/lib/schematic/companies/types/list_plan_traits_response.rb +1 -0
- data/lib/schematic/companies/types/list_users_params.rb +5 -0
- data/lib/schematic/companies/types/list_users_request.rb +5 -0
- data/lib/schematic/companies/types/list_users_response.rb +1 -0
- data/lib/schematic/companies/types/lookup_company_response.rb +1 -0
- data/lib/schematic/companies/types/lookup_user_response.rb +1 -0
- data/lib/schematic/companies/types/update_entity_trait_definition_request_body.rb +2 -0
- data/lib/schematic/companies/types/update_entity_trait_definition_response.rb +1 -0
- data/lib/schematic/companies/types/update_plan_trait_bulk_request_body.rb +2 -0
- data/lib/schematic/companies/types/update_plan_traits_bulk_response.rb +1 -0
- data/lib/schematic/companies/types/upsert_company_response.rb +1 -0
- data/lib/schematic/companies/types/upsert_company_trait_response.rb +1 -0
- data/lib/schematic/companies/types/upsert_user_response.rb +1 -0
- data/lib/schematic/companies/types/upsert_user_trait_response.rb +1 -0
- data/lib/schematic/components/client.rb +40 -8
- data/lib/schematic/components/types/bind_catalog_request_body.rb +1 -0
- data/lib/schematic/components/types/bind_catalog_response.rb +1 -0
- data/lib/schematic/components/types/count_components_params.rb +2 -0
- data/lib/schematic/components/types/count_components_request.rb +2 -0
- data/lib/schematic/components/types/count_components_response.rb +1 -0
- data/lib/schematic/components/types/create_component_request_body.rb +2 -0
- data/lib/schematic/components/types/create_component_response.rb +1 -0
- data/lib/schematic/components/types/delete_component_response.rb +1 -0
- data/lib/schematic/components/types/get_component_response.rb +1 -0
- data/lib/schematic/components/types/list_components_params.rb +2 -0
- data/lib/schematic/components/types/list_components_request.rb +2 -0
- data/lib/schematic/components/types/list_components_response.rb +1 -0
- data/lib/schematic/components/types/preview_component_data_params.rb +1 -0
- data/lib/schematic/components/types/preview_component_data_request.rb +1 -0
- data/lib/schematic/components/types/preview_component_data_response.rb +1 -0
- data/lib/schematic/components/types/update_component_request_body.rb +4 -0
- data/lib/schematic/components/types/update_component_response.rb +1 -0
- data/lib/schematic/componentspublic/client.rb +5 -3
- data/lib/schematic/componentspublic/types/get_public_plans_response.rb +1 -0
- data/lib/schematic/credits/client.rb +233 -36
- data/lib/schematic/credits/types/acquire_credit_lease_request_body.rb +3 -0
- data/lib/schematic/credits/types/acquire_credit_lease_response.rb +1 -0
- data/lib/schematic/credits/types/count_billing_credits_grants_params.rb +3 -0
- data/lib/schematic/credits/types/count_billing_credits_grants_request.rb +3 -0
- data/lib/schematic/credits/types/count_billing_credits_grants_response.rb +1 -0
- data/lib/schematic/credits/types/count_billing_credits_params.rb +3 -0
- data/lib/schematic/credits/types/count_billing_credits_request.rb +3 -0
- data/lib/schematic/credits/types/count_billing_credits_response.rb +1 -0
- data/lib/schematic/credits/types/count_billing_plan_credit_grants_params.rb +7 -0
- data/lib/schematic/credits/types/count_billing_plan_credit_grants_request.rb +7 -0
- data/lib/schematic/credits/types/count_billing_plan_credit_grants_response.rb +1 -0
- data/lib/schematic/credits/types/count_company_grants_params.rb +4 -0
- data/lib/schematic/credits/types/count_company_grants_request.rb +5 -1
- data/lib/schematic/credits/types/count_company_grants_response.rb +1 -0
- data/lib/schematic/credits/types/count_credit_bundles_params.rb +5 -0
- data/lib/schematic/credits/types/count_credit_bundles_request.rb +5 -0
- data/lib/schematic/credits/types/count_credit_bundles_response.rb +1 -0
- data/lib/schematic/credits/types/count_credit_event_ledger_params.rb +7 -0
- data/lib/schematic/credits/types/count_credit_event_ledger_request.rb +7 -0
- data/lib/schematic/credits/types/count_credit_event_ledger_response.rb +1 -0
- data/lib/schematic/credits/types/create_billing_credit_request_body.rb +12 -0
- data/lib/schematic/credits/types/create_billing_credit_response.rb +1 -0
- data/lib/schematic/credits/types/create_billing_plan_credit_grant_response.rb +1 -0
- data/lib/schematic/credits/types/create_company_credit_grant.rb +11 -0
- data/lib/schematic/credits/types/create_credit_bundle_request_body.rb +13 -0
- data/lib/schematic/credits/types/create_credit_bundle_response.rb +1 -0
- data/lib/schematic/credits/types/delete_billing_plan_credit_grant_request.rb +1 -0
- data/lib/schematic/credits/types/delete_billing_plan_credit_grant_response.rb +1 -0
- data/lib/schematic/credits/types/delete_credit_bundle_response.rb +1 -0
- data/lib/schematic/credits/types/extend_credit_lease_request_body.rb +2 -0
- data/lib/schematic/credits/types/extend_credit_lease_response.rb +1 -0
- data/lib/schematic/credits/types/get_credit_bundle_response.rb +1 -0
- data/lib/schematic/credits/types/get_single_billing_credit_response.rb +1 -0
- data/lib/schematic/credits/types/get_single_billing_plan_credit_grant_response.rb +1 -0
- data/lib/schematic/credits/types/grant_billing_credits_to_company_response.rb +1 -0
- data/lib/schematic/credits/types/list_billing_credits_params.rb +3 -0
- data/lib/schematic/credits/types/list_billing_credits_request.rb +3 -0
- data/lib/schematic/credits/types/list_billing_credits_response.rb +1 -0
- data/lib/schematic/credits/types/list_billing_plan_credit_grants_params.rb +7 -0
- data/lib/schematic/credits/types/list_billing_plan_credit_grants_request.rb +7 -0
- data/lib/schematic/credits/types/list_billing_plan_credit_grants_response.rb +1 -0
- data/lib/schematic/credits/types/list_company_credit_balances_response.rb +1 -0
- data/lib/schematic/credits/types/list_company_grants_params.rb +4 -0
- data/lib/schematic/credits/types/list_company_grants_request.rb +5 -1
- data/lib/schematic/credits/types/list_company_grants_response.rb +1 -0
- data/lib/schematic/credits/types/list_credit_bundles_params.rb +5 -0
- data/lib/schematic/credits/types/list_credit_bundles_request.rb +5 -0
- data/lib/schematic/credits/types/list_credit_bundles_response.rb +1 -0
- data/lib/schematic/credits/types/list_credit_event_ledger_params.rb +7 -0
- data/lib/schematic/credits/types/list_credit_event_ledger_request.rb +7 -0
- data/lib/schematic/credits/types/list_credit_event_ledger_response.rb +1 -0
- data/lib/schematic/credits/types/list_grants_for_credit_params.rb +3 -0
- data/lib/schematic/credits/types/list_grants_for_credit_request.rb +3 -0
- data/lib/schematic/credits/types/list_grants_for_credit_response.rb +1 -0
- data/lib/schematic/credits/types/release_credit_lease_response.rb +1 -0
- data/lib/schematic/credits/types/soft_delete_billing_credit_response.rb +1 -0
- data/lib/schematic/credits/types/update_billing_credit_request_body.rb +12 -0
- data/lib/schematic/credits/types/update_billing_credit_response.rb +1 -0
- data/lib/schematic/credits/types/update_billing_plan_credit_grant_response.rb +1 -0
- data/lib/schematic/credits/types/update_credit_bundle_details_request_body.rb +11 -0
- data/lib/schematic/credits/types/update_credit_bundle_details_response.rb +1 -0
- data/lib/schematic/credits/types/zero_out_grant_request_body.rb +1 -0
- data/lib/schematic/credits/types/zero_out_grant_response.rb +1 -0
- data/lib/schematic/dataexports/client.rb +20 -2
- data/lib/schematic/dataexports/types/create_data_export_request_body.rb +2 -0
- data/lib/schematic/dataexports/types/create_data_export_response.rb +1 -0
- data/lib/schematic/dataexports/types/get_data_export_response.rb +1 -0
- data/lib/schematic/dataexports/types/list_data_exports_params.rb +3 -0
- data/lib/schematic/dataexports/types/list_data_exports_request.rb +3 -0
- data/lib/schematic/dataexports/types/list_data_exports_response.rb +1 -0
- data/lib/schematic/datastream/client.rb +4 -4
- data/lib/schematic/entitlements/client.rb +256 -30
- data/lib/schematic/entitlements/types/count_company_overrides_params.rb +8 -0
- data/lib/schematic/entitlements/types/count_company_overrides_request.rb +8 -0
- data/lib/schematic/entitlements/types/count_company_overrides_response.rb +1 -0
- data/lib/schematic/entitlements/types/count_feature_companies_params.rb +3 -0
- data/lib/schematic/entitlements/types/count_feature_companies_request.rb +3 -0
- data/lib/schematic/entitlements/types/count_feature_companies_response.rb +1 -0
- data/lib/schematic/entitlements/types/count_feature_usage_params.rb +8 -0
- data/lib/schematic/entitlements/types/count_feature_usage_request.rb +8 -0
- data/lib/schematic/entitlements/types/count_feature_usage_response.rb +1 -0
- data/lib/schematic/entitlements/types/count_feature_users_params.rb +3 -0
- data/lib/schematic/entitlements/types/count_feature_users_request.rb +3 -0
- data/lib/schematic/entitlements/types/count_feature_users_response.rb +1 -0
- data/lib/schematic/entitlements/types/count_plan_entitlements_params.rb +10 -0
- data/lib/schematic/entitlements/types/count_plan_entitlements_request.rb +10 -0
- data/lib/schematic/entitlements/types/count_plan_entitlements_response.rb +1 -0
- data/lib/schematic/entitlements/types/create_billing_linked_plan_entitlement_request_body.rb +35 -0
- data/lib/schematic/entitlements/types/create_company_override_request_body.rb +11 -0
- data/lib/schematic/entitlements/types/create_company_override_response.rb +1 -0
- data/lib/schematic/entitlements/types/create_plan_entitlement_request_body.rb +33 -0
- data/lib/schematic/entitlements/types/create_plan_entitlement_response.rb +1 -0
- data/lib/schematic/entitlements/types/delete_company_override_response.rb +1 -0
- data/lib/schematic/entitlements/types/delete_plan_entitlement_response.rb +1 -0
- data/lib/schematic/entitlements/types/duplicate_plan_entitlements_request_body.rb +1 -0
- data/lib/schematic/entitlements/types/duplicate_plan_entitlements_response.rb +1 -0
- data/lib/schematic/entitlements/types/get_company_override_response.rb +1 -0
- data/lib/schematic/entitlements/types/get_feature_usage_by_company_response.rb +1 -0
- data/lib/schematic/entitlements/types/get_feature_usage_time_series_params.rb +4 -0
- data/lib/schematic/entitlements/types/get_feature_usage_time_series_request.rb +4 -0
- data/lib/schematic/entitlements/types/get_feature_usage_time_series_response.rb +1 -0
- data/lib/schematic/entitlements/types/get_plan_entitlement_response.rb +1 -0
- data/lib/schematic/entitlements/types/get_user_usage_by_company_params.rb +3 -0
- data/lib/schematic/entitlements/types/get_user_usage_by_company_request.rb +3 -0
- data/lib/schematic/entitlements/types/get_user_usage_by_company_response.rb +1 -0
- data/lib/schematic/entitlements/types/get_user_usage_detail_params.rb +3 -0
- data/lib/schematic/entitlements/types/get_user_usage_detail_request.rb +3 -0
- data/lib/schematic/entitlements/types/get_user_usage_detail_response.rb +1 -0
- data/lib/schematic/entitlements/types/list_company_overrides_params.rb +8 -0
- data/lib/schematic/entitlements/types/list_company_overrides_request.rb +8 -0
- data/lib/schematic/entitlements/types/list_company_overrides_response.rb +1 -0
- data/lib/schematic/entitlements/types/list_feature_companies_params.rb +3 -0
- data/lib/schematic/entitlements/types/list_feature_companies_request.rb +3 -0
- data/lib/schematic/entitlements/types/list_feature_companies_response.rb +1 -0
- data/lib/schematic/entitlements/types/list_feature_usage_history_params.rb +24 -0
- data/lib/schematic/entitlements/types/list_feature_usage_history_request.rb +23 -0
- data/lib/schematic/entitlements/types/list_feature_usage_history_response.rb +13 -0
- data/lib/schematic/entitlements/types/list_feature_usage_params.rb +8 -0
- data/lib/schematic/entitlements/types/list_feature_usage_request.rb +8 -0
- data/lib/schematic/entitlements/types/list_feature_usage_response.rb +1 -0
- data/lib/schematic/entitlements/types/list_feature_users_params.rb +3 -0
- data/lib/schematic/entitlements/types/list_feature_users_request.rb +3 -0
- data/lib/schematic/entitlements/types/list_feature_users_response.rb +1 -0
- data/lib/schematic/entitlements/types/list_plan_entitlements_params.rb +10 -0
- data/lib/schematic/entitlements/types/list_plan_entitlements_request.rb +10 -0
- data/lib/schematic/entitlements/types/list_plan_entitlements_response.rb +1 -0
- data/lib/schematic/entitlements/types/update_company_override_request_body.rb +10 -0
- data/lib/schematic/entitlements/types/update_company_override_response.rb +1 -0
- data/lib/schematic/entitlements/types/update_plan_entitlement_request_body.rb +31 -0
- data/lib/schematic/entitlements/types/update_plan_entitlement_response.rb +1 -0
- data/lib/schematic/entitlements/types/upsert_plan_entitlement_for_billing_product_response.rb +1 -0
- data/lib/schematic/event_buffer.rb +16 -2
- data/lib/schematic/events/client.rb +36 -7
- data/lib/schematic/events/types/create_event_batch_response.rb +1 -0
- data/lib/schematic/events/types/create_event_response.rb +1 -0
- data/lib/schematic/events/types/get_event_response.rb +1 -0
- data/lib/schematic/events/types/get_event_summaries_params.rb +3 -0
- data/lib/schematic/events/types/get_event_summaries_request.rb +3 -0
- data/lib/schematic/events/types/get_event_summaries_response.rb +1 -0
- data/lib/schematic/events/types/get_segment_integration_status_response.rb +1 -0
- data/lib/schematic/events/types/list_events_params.rb +7 -0
- data/lib/schematic/events/types/list_events_request.rb +7 -0
- data/lib/schematic/events/types/list_events_response.rb +1 -0
- data/lib/schematic/features/client.rb +137 -12
- data/lib/schematic/features/types/check_flag_response.rb +1 -0
- data/lib/schematic/features/types/check_flags_bulk_response.rb +1 -0
- data/lib/schematic/features/types/check_flags_response.rb +1 -0
- data/lib/schematic/features/types/count_features_params.rb +9 -0
- data/lib/schematic/features/types/count_features_request.rb +9 -0
- data/lib/schematic/features/types/count_features_response.rb +1 -0
- data/lib/schematic/features/types/count_flags_params.rb +4 -0
- data/lib/schematic/features/types/count_flags_request.rb +4 -0
- data/lib/schematic/features/types/count_flags_response.rb +1 -0
- data/lib/schematic/features/types/create_billing_linked_feature_request_body.rb +12 -0
- data/lib/schematic/features/types/create_feature_request_body.rb +10 -0
- data/lib/schematic/features/types/create_feature_response.rb +1 -0
- data/lib/schematic/features/types/create_flag_response.rb +1 -0
- data/lib/schematic/features/types/delete_feature_response.rb +1 -0
- data/lib/schematic/features/types/delete_flag_response.rb +1 -0
- data/lib/schematic/features/types/get_feature_response.rb +1 -0
- data/lib/schematic/features/types/get_flag_response.rb +1 -0
- data/lib/schematic/features/types/list_features_params.rb +9 -0
- data/lib/schematic/features/types/list_features_request.rb +9 -0
- data/lib/schematic/features/types/list_features_response.rb +1 -0
- data/lib/schematic/features/types/list_flags_params.rb +4 -0
- data/lib/schematic/features/types/list_flags_request.rb +4 -0
- data/lib/schematic/features/types/list_flags_response.rb +1 -0
- data/lib/schematic/features/types/update_feature_request_body.rb +11 -0
- data/lib/schematic/features/types/update_feature_response.rb +1 -0
- data/lib/schematic/features/types/update_flag_response.rb +1 -0
- data/lib/schematic/features/types/update_flag_rules_request_body.rb +1 -0
- data/lib/schematic/features/types/update_flag_rules_response.rb +1 -0
- data/lib/schematic/features/types/upsert_feature_for_billing_product_response.rb +1 -0
- data/lib/schematic/insights/client.rb +34 -13
- data/lib/schematic/insights/types/get_activity_response.rb +1 -0
- data/lib/schematic/insights/types/get_environment_feature_usage_time_series_params.rb +3 -0
- data/lib/schematic/insights/types/get_environment_feature_usage_time_series_request.rb +3 -0
- data/lib/schematic/insights/types/get_environment_feature_usage_time_series_response.rb +1 -0
- data/lib/schematic/insights/types/get_environment_trait_usage_time_series_params.rb +3 -0
- data/lib/schematic/insights/types/get_environment_trait_usage_time_series_request.rb +3 -0
- data/lib/schematic/insights/types/get_environment_trait_usage_time_series_response.rb +1 -0
- data/lib/schematic/insights/types/get_plan_growth_response.rb +1 -0
- data/lib/schematic/insights/types/get_summary_response.rb +1 -0
- data/lib/schematic/insights/types/get_top_features_by_usage_params.rb +2 -0
- data/lib/schematic/insights/types/get_top_features_by_usage_request.rb +2 -0
- data/lib/schematic/insights/types/get_top_features_by_usage_response.rb +1 -0
- data/lib/schematic/integrationsapi/client.rb +37 -5
- data/lib/schematic/integrationsapi/types/assume_stripe_installed_response.rb +1 -0
- data/lib/schematic/integrationsapi/types/get_integration_webhook_url_response.rb +1 -0
- data/lib/schematic/integrationsapi/types/install_integration_response.rb +1 -0
- data/lib/schematic/integrationsapi/types/install_stripe_response.rb +1 -0
- data/lib/schematic/integrationsapi/types/list_integrations_params.rb +6 -0
- data/lib/schematic/integrationsapi/types/list_integrations_request.rb +6 -0
- data/lib/schematic/integrationsapi/types/list_integrations_response.rb +1 -0
- data/lib/schematic/integrationsapi/types/load_sample_data_set_response.rb +1 -0
- data/lib/schematic/integrationsapi/types/run_integration_response.rb +1 -0
- data/lib/schematic/integrationsapi/types/start_data_import_request_body.rb +2 -0
- data/lib/schematic/integrationsapi/types/start_data_import_response.rb +1 -0
- data/lib/schematic/integrationsapi/types/uninstall_integration_response.rb +1 -0
- data/lib/schematic/internal/http/raw_client.rb +58 -7
- data/lib/schematic/internal/iterators/cursor_page_iterator.rb +14 -2
- data/lib/schematic/internal/iterators/item_iterator.rb +6 -0
- data/lib/schematic/internal/iterators/offset_page_iterator.rb +22 -2
- data/lib/schematic/internal/types/utils.rb +2 -2
- data/lib/schematic/licenses/client.rb +21 -4
- data/lib/schematic/licenses/types/count_licenses_params.rb +4 -0
- data/lib/schematic/licenses/types/count_licenses_request.rb +4 -0
- data/lib/schematic/licenses/types/count_licenses_response.rb +1 -0
- data/lib/schematic/licenses/types/get_single_license_response.rb +1 -0
- data/lib/schematic/licenses/types/list_licenses_params.rb +4 -0
- data/lib/schematic/licenses/types/list_licenses_request.rb +4 -0
- data/lib/schematic/licenses/types/list_licenses_response.rb +1 -0
- data/lib/schematic/planbundle/client.rb +40 -3
- data/lib/schematic/planbundle/types/create_custom_plan_bundle_request_body.rb +5 -2
- data/lib/schematic/planbundle/types/create_custom_plan_bundle_response.rb +1 -0
- data/lib/schematic/planbundle/types/create_plan_bundle_request_body.rb +4 -1
- data/lib/schematic/planbundle/types/create_plan_bundle_response.rb +1 -0
- data/lib/schematic/planbundle/types/update_plan_bundle_request_body.rb +7 -2
- data/lib/schematic/planbundle/types/update_plan_bundle_response.rb +1 -0
- data/lib/schematic/plangroups/client.rb +65 -3
- data/lib/schematic/plangroups/types/create_plan_group_request_body.rb +39 -0
- data/lib/schematic/plangroups/types/create_plan_group_response.rb +1 -0
- data/lib/schematic/plangroups/types/get_plan_group_response.rb +1 -0
- data/lib/schematic/plangroups/types/update_plan_group_request_body.rb +40 -0
- data/lib/schematic/plangroups/types/update_plan_group_response.rb +1 -0
- data/lib/schematic/planmigrations/client.rb +66 -13
- data/lib/schematic/planmigrations/types/count_company_migrations_params.rb +4 -0
- data/lib/schematic/planmigrations/types/count_company_migrations_request.rb +5 -1
- data/lib/schematic/planmigrations/types/count_company_migrations_response.rb +1 -0
- data/lib/schematic/planmigrations/types/count_migrations_params.rb +3 -0
- data/lib/schematic/planmigrations/types/count_migrations_request.rb +4 -1
- data/lib/schematic/planmigrations/types/count_migrations_response.rb +1 -0
- data/lib/schematic/planmigrations/types/create_migration_input.rb +11 -3
- data/lib/schematic/planmigrations/types/create_migration_response.rb +1 -0
- data/lib/schematic/planmigrations/types/get_migration_response.rb +1 -0
- data/lib/schematic/planmigrations/types/list_company_migrations_params.rb +4 -0
- data/lib/schematic/planmigrations/types/list_company_migrations_request.rb +5 -1
- data/lib/schematic/planmigrations/types/list_company_migrations_response.rb +1 -0
- data/lib/schematic/planmigrations/types/list_migrations_params.rb +3 -0
- data/lib/schematic/planmigrations/types/list_migrations_request.rb +4 -1
- data/lib/schematic/planmigrations/types/list_migrations_response.rb +1 -0
- data/lib/schematic/planmigrations/types/preview_migration_request_body.rb +6 -1
- data/lib/schematic/planmigrations/types/preview_migration_response.rb +1 -0
- data/lib/schematic/planmigrations/types/retry_company_migration_response.rb +1 -0
- data/lib/schematic/planmigrations/types/retry_migration_request_body.rb +1 -0
- data/lib/schematic/planmigrations/types/retry_migration_response.rb +1 -0
- data/lib/schematic/plans/client.rb +173 -28
- data/lib/schematic/plans/types/count_billing_product_match_companies_params.rb +3 -0
- data/lib/schematic/plans/types/count_billing_product_match_companies_request.rb +3 -0
- data/lib/schematic/plans/types/count_billing_product_match_companies_response.rb +1 -0
- data/lib/schematic/plans/types/count_plans_params.rb +16 -0
- data/lib/schematic/plans/types/count_plans_request.rb +16 -0
- data/lib/schematic/plans/types/count_plans_response.rb +1 -0
- data/lib/schematic/plans/types/create_billing_linked_plan_request_body.rb +7 -1
- data/lib/schematic/plans/types/create_custom_plan_request_body.rb +7 -1
- data/lib/schematic/plans/types/create_custom_plan_response.rb +1 -0
- data/lib/schematic/plans/types/create_plan_response.rb +1 -0
- data/lib/schematic/plans/types/delete_plan_response.rb +1 -0
- data/lib/schematic/plans/types/delete_plan_version_request.rb +2 -1
- data/lib/schematic/plans/types/delete_plan_version_response.rb +1 -0
- data/lib/schematic/plans/types/get_plan_request.rb +1 -0
- data/lib/schematic/plans/types/get_plan_response.rb +1 -0
- data/lib/schematic/plans/types/list_billing_product_match_companies_params.rb +3 -0
- data/lib/schematic/plans/types/list_billing_product_match_companies_request.rb +3 -0
- data/lib/schematic/plans/types/list_billing_product_match_companies_response.rb +1 -0
- data/lib/schematic/plans/types/list_custom_plan_billings_params.rb +7 -0
- data/lib/schematic/plans/types/list_custom_plan_billings_request.rb +7 -0
- data/lib/schematic/plans/types/list_custom_plan_billings_response.rb +1 -0
- data/lib/schematic/plans/types/list_plan_issues_params.rb +1 -0
- data/lib/schematic/plans/types/list_plan_issues_request.rb +1 -0
- data/lib/schematic/plans/types/list_plan_issues_response.rb +1 -0
- data/lib/schematic/plans/types/list_plans_params.rb +16 -0
- data/lib/schematic/plans/types/list_plans_request.rb +16 -0
- data/lib/schematic/plans/types/list_plans_response.rb +1 -0
- data/lib/schematic/plans/types/mark_custom_plan_billing_paid_response.rb +1 -0
- data/lib/schematic/plans/types/publish_plan_version_request_body.rb +16 -1
- data/lib/schematic/plans/types/publish_plan_version_response.rb +1 -0
- data/lib/schematic/plans/types/retry_custom_plan_billing_request_body.rb +4 -0
- data/lib/schematic/plans/types/retry_custom_plan_billing_response.rb +1 -0
- data/lib/schematic/plans/types/update_company_plans_request_body.rb +3 -1
- data/lib/schematic/plans/types/update_company_plans_response.rb +1 -0
- data/lib/schematic/plans/types/update_plan_response.rb +1 -0
- data/lib/schematic/plans/types/upsert_billing_product_plan_response.rb +1 -0
- data/lib/schematic/plans/types/upsert_plan_for_billing_product_response.rb +1 -0
- data/lib/schematic/scheduledcheckout/client.rb +23 -3
- data/lib/schematic/scheduledcheckout/types/create_scheduled_checkout_request.rb +3 -0
- data/lib/schematic/scheduledcheckout/types/create_scheduled_checkout_response.rb +1 -0
- data/lib/schematic/scheduledcheckout/types/get_scheduled_checkout_response.rb +1 -0
- data/lib/schematic/scheduledcheckout/types/list_scheduled_checkouts_params.rb +3 -0
- data/lib/schematic/scheduledcheckout/types/list_scheduled_checkouts_request.rb +3 -0
- data/lib/schematic/scheduledcheckout/types/list_scheduled_checkouts_response.rb +1 -0
- data/lib/schematic/scheduledcheckout/types/update_scheduled_checkout_request.rb +2 -0
- data/lib/schematic/scheduledcheckout/types/update_scheduled_checkout_response.rb +1 -0
- data/lib/schematic/schematic_client.rb +4 -4
- data/lib/schematic/types/account_member_response_data.rb +9 -0
- data/lib/schematic/types/activity_entry_response_data.rb +5 -0
- data/lib/schematic/types/api_key_create_response_data.rb +12 -0
- data/lib/schematic/types/api_key_integration_response_data.rb +2 -0
- data/lib/schematic/types/api_key_response_data.rb +11 -0
- data/lib/schematic/types/audit_log_export_metadata.rb +4 -0
- data/lib/schematic/types/audit_log_list_response_data.rb +16 -0
- data/lib/schematic/types/audit_log_response_data.rb +21 -0
- data/lib/schematic/types/billing_collection_method.rb +12 -0
- data/lib/schematic/types/billing_coupon_response_data.rb +16 -0
- data/lib/schematic/types/billing_credit_bundle_response_data.rb +22 -0
- data/lib/schematic/types/billing_credit_bundle_view.rb +21 -0
- data/lib/schematic/types/billing_credit_grant_response_data.rb +30 -0
- data/lib/schematic/types/billing_credit_ledger_response_data.rb +5 -0
- data/lib/schematic/types/billing_credit_response_data.rb +15 -0
- data/lib/schematic/types/billing_credit_view.rb +20 -0
- data/lib/schematic/types/billing_customer_response_data.rb +7 -0
- data/lib/schematic/types/billing_customer_subscription.rb +5 -0
- data/lib/schematic/types/billing_customer_with_subscriptions_response_data.rb +8 -0
- data/lib/schematic/types/billing_linked_resource_response_data.rb +2 -0
- data/lib/schematic/types/billing_meter_response_data.rb +5 -0
- data/lib/schematic/types/billing_plan_credit_grant_response_data.rb +34 -0
- data/lib/schematic/types/billing_price_response_data.rb +9 -0
- data/lib/schematic/types/billing_price_view.rb +23 -0
- data/lib/schematic/types/billing_product_detail_response_data.rb +14 -0
- data/lib/schematic/types/billing_product_for_subscription_response_data.rb +22 -0
- data/lib/schematic/types/billing_product_plan_response_data.rb +11 -0
- data/lib/schematic/types/billing_product_price_response_data.rb +17 -0
- data/lib/schematic/types/billing_product_price_tier_response_data.rb +3 -0
- data/lib/schematic/types/billing_product_pricing.rb +11 -0
- data/lib/schematic/types/billing_product_record_response_data.rb +8 -0
- data/lib/schematic/types/billing_product_response_data.rb +12 -0
- data/lib/schematic/types/billing_subscription_discount.rb +6 -0
- data/lib/schematic/types/billing_subscription_discount_view.rb +13 -0
- data/lib/schematic/types/billing_subscription_response_data.rb +19 -0
- data/lib/schematic/types/billing_subscription_view.rb +23 -0
- data/lib/schematic/types/capture_raw_event.rb +4 -0
- data/lib/schematic/types/catalog_config_ordered_entitlement.rb +1 -0
- data/lib/schematic/types/catalog_config_ordered_entitlement_response_data.rb +1 -0
- data/lib/schematic/types/catalog_config_ordered_plan.rb +1 -0
- data/lib/schematic/types/catalog_config_ordered_plan_response_data.rb +1 -0
- data/lib/schematic/types/catalog_configuration_response_data.rb +10 -0
- data/lib/schematic/types/catalog_derived_feature_response_data.rb +2 -0
- data/lib/schematic/types/catalog_response_data.rb +12 -0
- data/lib/schematic/types/change_subscription_internal_request_body.rb +13 -0
- data/lib/schematic/types/change_subscription_request_body.rb +12 -0
- data/lib/schematic/types/check_flag_request_body.rb +3 -0
- data/lib/schematic/types/check_flag_response_data.rb +14 -0
- data/lib/schematic/types/check_flags_response_data.rb +2 -0
- data/lib/schematic/types/checkout_bundle_purchase_behavior.rb +12 -0
- data/lib/schematic/types/checkout_data_response_data.rb +10 -0
- data/lib/schematic/types/checkout_field_input.rb +5 -0
- data/lib/schematic/types/checkout_field_response_data.rb +9 -0
- data/lib/schematic/types/checkout_field_value.rb +1 -0
- data/lib/schematic/types/checkout_field_with_value.rb +6 -0
- data/lib/schematic/types/checkout_settings_response_data.rb +9 -0
- data/lib/schematic/types/checkout_subscription.rb +23 -0
- data/lib/schematic/types/clerk_integration_config.rb +1 -0
- data/lib/schematic/types/company_billing_address_view.rb +5 -0
- data/lib/schematic/types/company_billing_checkout_settings.rb +4 -0
- data/lib/schematic/types/company_billing_details_response_data.rb +5 -0
- data/lib/schematic/types/company_billing_details_view.rb +5 -0
- data/lib/schematic/types/company_billing_entity_response_data.rb +1 -0
- data/lib/schematic/types/company_billing_entity_subscription_response_data.rb +17 -0
- data/lib/schematic/types/company_credit_balance.rb +2 -0
- data/lib/schematic/types/company_credit_balance_response_data.rb +5 -0
- data/lib/schematic/types/company_detail_response_data.rb +23 -0
- data/lib/schematic/types/company_event_period_metrics_response_data.rb +10 -0
- data/lib/schematic/types/company_feature_usage_export_metadata.rb +25 -0
- data/lib/schematic/types/company_ledger_response_data.rb +2 -0
- data/lib/schematic/types/company_membership_detail_response_data.rb +5 -0
- data/lib/schematic/types/company_membership_response_data.rb +4 -0
- data/lib/schematic/types/company_override_note_response_data.rb +5 -0
- data/lib/schematic/types/company_override_response_data.rb +19 -0
- data/lib/schematic/types/company_plan_credit_grant_view.rb +38 -0
- data/lib/schematic/types/company_plan_detail_response_data.rb +44 -0
- data/lib/schematic/types/company_plan_with_billing_sub_view.rb +10 -0
- data/lib/schematic/types/company_response_data.rb +6 -0
- data/lib/schematic/types/company_subscription_response_data.rb +15 -0
- data/lib/schematic/types/company_tax_id_view.rb +4 -0
- data/lib/schematic/types/compatible_plans.rb +1 -0
- data/lib/schematic/types/compatible_plans_response_data.rb +1 -0
- data/lib/schematic/types/component_capabilities.rb +1 -0
- data/lib/schematic/types/component_checkout_settings.rb +8 -0
- data/lib/schematic/types/component_display_settings.rb +5 -0
- data/lib/schematic/types/component_hydrate_response_data.rb +27 -1
- data/lib/schematic/types/component_preview_response_data.rb +28 -1
- data/lib/schematic/types/component_response_data.rb +7 -0
- data/lib/schematic/types/component_settings_response_data.rb +5 -0
- data/lib/schematic/types/condition.rb +14 -0
- data/lib/schematic/types/condition_group_response_data.rb +6 -0
- data/lib/schematic/types/condition_group_view.rb +7 -0
- data/lib/schematic/types/condition_response_data.rb +23 -0
- data/lib/schematic/types/condition_view.rb +30 -0
- data/lib/schematic/types/coupon_request_body.rb +7 -0
- data/lib/schematic/types/create_billing_plan_credit_grant_request_body.rb +26 -0
- data/lib/schematic/types/create_billing_price_tier_request_body.rb +5 -0
- data/lib/schematic/types/create_custom_plan_bundle_plan_request_body.rb +4 -1
- data/lib/schematic/types/create_entitlement_in_bundle_request_body.rb +33 -0
- data/lib/schematic/types/create_entitlement_req_common.rb +8 -0
- data/lib/schematic/types/create_event_request_body.rb +5 -0
- data/lib/schematic/types/create_flag_request_body.rb +6 -0
- data/lib/schematic/types/create_or_update_condition_group_request_body.rb +2 -0
- data/lib/schematic/types/create_or_update_condition_request_body.rb +12 -0
- data/lib/schematic/types/create_or_update_flag_request_body.rb +7 -0
- data/lib/schematic/types/create_or_update_rule_request_body.rb +6 -0
- data/lib/schematic/types/create_plan_request_body.rb +4 -1
- data/lib/schematic/types/create_price_tier_request_body.rb +3 -0
- data/lib/schematic/types/credit_bundle_currency_price.rb +1 -0
- data/lib/schematic/types/credit_bundle_currency_price_request_body.rb +2 -0
- data/lib/schematic/types/credit_bundle_currency_price_response_data.rb +1 -0
- data/lib/schematic/types/credit_bundle_purchase_response_data.rb +2 -0
- data/lib/schematic/types/credit_company_grant_view.rb +38 -0
- data/lib/schematic/types/credit_currency_price.rb +1 -0
- data/lib/schematic/types/credit_currency_price_request_body.rb +2 -0
- data/lib/schematic/types/credit_currency_price_response_data.rb +1 -0
- data/lib/schematic/types/credit_event_ledger_response_data.rb +31 -0
- data/lib/schematic/types/credit_grant_detail.rb +3 -0
- data/lib/schematic/types/credit_grant_expiry_request_body.rb +5 -0
- data/lib/schematic/types/credit_lease_response_data.rb +7 -0
- data/lib/schematic/types/credit_transfer_response_data.rb +5 -0
- data/lib/schematic/types/credit_transfer_view.rb +5 -0
- data/lib/schematic/types/credit_usage.rb +8 -0
- data/lib/schematic/types/credit_usage_aggregation.rb +3 -0
- data/lib/schematic/types/credits_auto_topup_company_summary.rb +1 -0
- data/lib/schematic/types/credits_auto_topup_credit_summary.rb +1 -0
- data/lib/schematic/types/credits_auto_topup_hard_failure.rb +3 -0
- data/lib/schematic/types/credits_auto_topup_retry_failure.rb +4 -0
- data/lib/schematic/types/credits_auto_topup_success.rb +3 -0
- data/lib/schematic/types/credits_credit_purchase_success.rb +5 -0
- data/lib/schematic/types/credits_webhook_company_summary.rb +1 -0
- data/lib/schematic/types/credits_webhook_credit_summary.rb +1 -0
- data/lib/schematic/types/currency_price_request_body.rb +9 -0
- data/lib/schematic/types/custom_plan_billing_response_data.rb +16 -0
- data/lib/schematic/types/custom_plan_config.rb +2 -0
- data/lib/schematic/types/custom_plan_view_config_response_data.rb +2 -0
- data/lib/schematic/types/customer_billing_address.rb +5 -0
- data/lib/schematic/types/data_event_payload.rb +6 -0
- data/lib/schematic/types/data_export_metadata.rb +2 -0
- data/lib/schematic/types/data_export_response_data.rb +8 -0
- data/lib/schematic/types/datastream_company_plan.rb +3 -0
- data/lib/schematic/types/duplicate_plan_entitlements_response_response_data.rb +2 -0
- data/lib/schematic/types/entitlement_currency_prices_response_data.rb +3 -0
- data/lib/schematic/types/entitlements_in_plan.rb +1 -0
- data/lib/schematic/types/entity_key_definition_response_data.rb +4 -0
- data/lib/schematic/types/entity_key_detail_response_data.rb +9 -0
- data/lib/schematic/types/entity_key_response_data.rb +8 -0
- data/lib/schematic/types/entity_trait_definition_response_data.rb +6 -0
- data/lib/schematic/types/entity_trait_definition_usage.rb +19 -0
- data/lib/schematic/types/entity_trait_detail_response_data.rb +6 -0
- data/lib/schematic/types/entity_trait_response_data.rb +5 -0
- data/lib/schematic/types/entity_trait_value.rb +1 -0
- data/lib/schematic/types/environment_detail_response_data.rb +5 -0
- data/lib/schematic/types/environment_feature_usage_time_series_response_data.rb +2 -0
- data/lib/schematic/types/environment_response_data.rb +4 -0
- data/lib/schematic/types/environment_trait_usage_time_series_response_data.rb +2 -0
- data/lib/schematic/types/environment_usage_point_response_data.rb +1 -0
- data/lib/schematic/types/event_body.rb +3 -0
- data/lib/schematic/types/event_body_flag_check.rb +11 -0
- data/lib/schematic/types/event_body_identify.rb +3 -0
- data/lib/schematic/types/event_body_identify_company.rb +2 -0
- data/lib/schematic/types/event_body_inference.rb +13 -0
- data/lib/schematic/types/event_body_track.rb +5 -0
- data/lib/schematic/types/event_detail_response_data.rb +24 -0
- data/lib/schematic/types/event_export_metadata.rb +7 -0
- data/lib/schematic/types/event_response_data.rb +20 -0
- data/lib/schematic/types/event_summary_response_data.rb +5 -0
- data/lib/schematic/types/feature_company_response_data.rb +36 -0
- data/lib/schematic/types/feature_company_user_response_data.rb +12 -0
- data/lib/schematic/types/feature_detail_response_data.rb +21 -0
- data/lib/schematic/types/feature_entitlement.rb +18 -0
- data/lib/schematic/types/feature_in_plan_response_data.rb +19 -0
- data/lib/schematic/types/feature_ledger_response_data.rb +3 -0
- data/lib/schematic/types/feature_response_data.rb +14 -0
- data/lib/schematic/types/feature_usage_history_response_data.rb +19 -0
- data/lib/schematic/types/feature_usage_legacy_response_data.rb +5 -0
- data/lib/schematic/types/feature_usage_response_data.rb +34 -0
- data/lib/schematic/types/feature_usage_time_series_response_data.rb +4 -0
- data/lib/schematic/types/feature_view.rb +20 -0
- data/lib/schematic/types/flag_detail_response_data.rb +13 -0
- data/lib/schematic/types/flag_in_plan_response_data.rb +12 -0
- data/lib/schematic/types/flag_response_data.rb +9 -0
- data/lib/schematic/types/flag_view.rb +12 -0
- data/lib/schematic/types/generic_preview_object.rb +3 -0
- data/lib/schematic/types/get_onboarding_state_resp.rb +19 -0
- data/lib/schematic/types/insights_summary_response_data.rb +5 -0
- data/lib/schematic/types/install_integration_request_body.rb +5 -0
- data/lib/schematic/types/integration_capabilities.rb +2 -0
- data/lib/schematic/types/integration_config.rb +4 -0
- data/lib/schematic/types/integration_install_config.rb +9 -0
- data/lib/schematic/types/integration_install_response_data.rb +2 -0
- data/lib/schematic/types/integration_response_data.rb +4 -0
- data/lib/schematic/types/integration_webhook_url_response_data.rb +1 -0
- data/lib/schematic/types/integrations_list_response_data.rb +7 -0
- data/lib/schematic/types/integrations_response_data.rb +4 -0
- data/lib/schematic/types/invoice_request_body.rb +13 -0
- data/lib/schematic/types/invoice_response_data.rb +20 -0
- data/lib/schematic/types/issue_temporary_access_token_response_data.rb +7 -0
- data/lib/schematic/types/license_response_data.rb +3 -0
- data/lib/schematic/types/limit_time_series_point_response_data.rb +5 -0
- data/lib/schematic/types/manage_plan_request.rb +28 -0
- data/lib/schematic/types/manage_plan_response_response_data.rb +1 -0
- data/lib/schematic/types/meter_request_body.rb +2 -0
- data/lib/schematic/types/migration_proration_behavior.rb +13 -0
- data/lib/schematic/types/mrr_response_data.rb +1 -0
- data/lib/schematic/types/onboarding_milestone.rb +12 -0
- data/lib/schematic/types/onboarding_milestone_view.rb +15 -0
- data/lib/schematic/types/onboarding_path.rb +12 -0
- data/lib/schematic/types/onboarding_requirement.rb +16 -0
- data/lib/schematic/types/onboarding_requirement_status.rb +13 -0
- data/lib/schematic/types/onboarding_requirement_view.rb +17 -0
- data/lib/schematic/types/onboarding_track.rb +12 -0
- data/lib/schematic/types/ordered_plans_in_group.rb +1 -0
- data/lib/schematic/types/payment_method_request_body.rb +10 -0
- data/lib/schematic/types/payment_method_response_data.rb +17 -0
- data/lib/schematic/types/plan_billing_source.rb +12 -0
- data/lib/schematic/types/plan_bundle_credit_grant_request_body.rb +4 -0
- data/lib/schematic/types/plan_bundle_entitlement_request_body.rb +2 -0
- data/lib/schematic/types/plan_bundle_response_data.rb +5 -0
- data/lib/schematic/types/plan_catalog_membership_response_data.rb +1 -0
- data/lib/schematic/types/plan_change_response_data.rb +29 -0
- data/lib/schematic/types/plan_credit_grant_view.rb +35 -0
- data/lib/schematic/types/plan_currency_price_request_body.rb +4 -0
- data/lib/schematic/types/plan_currency_prices_response_data.rb +4 -0
- data/lib/schematic/types/plan_detail_response_data.rb +34 -0
- data/lib/schematic/types/plan_entitlement_response_data.rb +29 -0
- data/lib/schematic/types/plan_entitlements_order.rb +1 -0
- data/lib/schematic/types/plan_group_detail_response_data.rb +37 -0
- data/lib/schematic/types/plan_group_plan_detail_response_data.rb +38 -0
- data/lib/schematic/types/plan_group_plan_entitlements_order.rb +1 -0
- data/lib/schematic/types/plan_group_response_data.rb +27 -0
- data/lib/schematic/types/plan_growth_point_response_data.rb +3 -0
- data/lib/schematic/types/plan_issue_response_data.rb +3 -0
- data/lib/schematic/types/plan_response_data.rb +9 -0
- data/lib/schematic/types/plan_selection.rb +2 -0
- data/lib/schematic/types/plan_snapshot_view.rb +4 -0
- data/lib/schematic/types/plan_trait_response_data.rb +8 -0
- data/lib/schematic/types/plan_version_company_migration_response_data.rb +11 -0
- data/lib/schematic/types/plan_version_migration_preview_company_response_data.rb +7 -0
- data/lib/schematic/types/plan_version_migration_preview_response_data.rb +2 -0
- data/lib/schematic/types/plan_version_migration_response_data.rb +17 -0
- data/lib/schematic/types/plan_version_response_data.rb +10 -0
- data/lib/schematic/types/plan_version_snapshot_view.rb +2 -0
- data/lib/schematic/types/plan_view_public_response_data.rb +39 -0
- data/lib/schematic/types/preflight_event_usage_request_body.rb +11 -0
- data/lib/schematic/types/preflight_request_body.rb +13 -0
- data/lib/schematic/types/preview_object.rb +3 -0
- data/lib/schematic/types/preview_object_response_data.rb +3 -0
- data/lib/schematic/types/preview_subscription_change_response_data.rb +15 -0
- data/lib/schematic/types/preview_subscription_discount_response_data.rb +10 -0
- data/lib/schematic/types/preview_subscription_finance_response_data.rb +18 -0
- data/lib/schematic/types/preview_subscription_upcoming_invoice_line_items.rb +4 -0
- data/lib/schematic/types/public_plans_response_data.rb +8 -0
- data/lib/schematic/types/raw_event_response_data.rb +4 -0
- data/lib/schematic/types/rule.rb +9 -0
- data/lib/schematic/types/rule_condition_detail_response_data.rb +20 -0
- data/lib/schematic/types/rule_condition_group_detail_response_data.rb +6 -0
- data/lib/schematic/types/rule_condition_group_response_data.rb +5 -0
- data/lib/schematic/types/rule_condition_response_data.rb +17 -0
- data/lib/schematic/types/rule_detail_response_data.rb +10 -0
- data/lib/schematic/types/rule_response_data.rb +8 -0
- data/lib/schematic/types/rule_view.rb +11 -0
- data/lib/schematic/types/rules_detail_response_data.rb +1 -0
- data/lib/schematic/types/rules_engine_schema_version.rb +1 -1
- data/lib/schematic/types/rulesengine_check_flag_result.rb +14 -0
- data/lib/schematic/types/rulesengine_company.rb +13 -0
- data/lib/schematic/types/rulesengine_company_metric.rb +8 -0
- data/lib/schematic/types/rulesengine_condition.rb +14 -0
- data/lib/schematic/types/rulesengine_feature_entitlement.rb +18 -0
- data/lib/schematic/types/rulesengine_flag.rb +5 -0
- data/lib/schematic/types/rulesengine_rule.rb +9 -0
- data/lib/schematic/types/rulesengine_subscription.rb +2 -0
- data/lib/schematic/types/rulesengine_trait.rb +1 -0
- data/lib/schematic/types/rulesengine_trait_definition.rb +2 -0
- data/lib/schematic/types/rulesengine_user.rb +5 -0
- data/lib/schematic/types/rulesengine_warning_tier.rb +1 -0
- data/lib/schematic/types/scheduled_checkout_response_data.rb +13 -0
- data/lib/schematic/types/scheduled_downgrade_response_data.rb +10 -0
- data/lib/schematic/types/segment_status_resp.rb +2 -0
- data/lib/schematic/types/skipped_entitlement_response_data.rb +3 -0
- data/lib/schematic/types/stripe_embed_info.rb +3 -0
- data/lib/schematic/types/stripe_integration_config.rb +7 -0
- data/lib/schematic/types/subscription_trait_update.rb +6 -0
- data/lib/schematic/types/tax_id_input.rb +1 -0
- data/lib/schematic/types/temporary_access_token_response_data.rb +6 -0
- data/lib/schematic/types/test_webhook_response_data.rb +2 -0
- data/lib/schematic/types/top_feature_by_usage_response_data.rb +5 -0
- data/lib/schematic/types/trait_definition.rb +2 -0
- data/lib/schematic/types/upcoming_invoice_response_data.rb +47 -0
- data/lib/schematic/types/update_add_on_request_body.rb +1 -0
- data/lib/schematic/types/update_auto_topup_override_request_body.rb +3 -0
- data/lib/schematic/types/update_billing_plan_credit_grant_request_body.rb +23 -0
- data/lib/schematic/types/update_credit_bundle_request_body.rb +1 -0
- data/lib/schematic/types/update_entitlement_req_common.rb +7 -0
- data/lib/schematic/types/update_pay_in_advance_request_body.rb +1 -0
- data/lib/schematic/types/update_plan_request_body.rb +2 -0
- data/lib/schematic/types/update_plan_trait_trait_request_body.rb +1 -0
- data/lib/schematic/types/update_rule_request_body.rb +4 -0
- data/lib/schematic/types/upsert_billing_product_request_body.rb +14 -0
- data/lib/schematic/types/upsert_company_request_body.rb +10 -0
- data/lib/schematic/types/upsert_trait_request_body.rb +4 -0
- data/lib/schematic/types/upsert_user_request_body.rb +11 -0
- data/lib/schematic/types/upsert_user_sub_request_body.rb +9 -0
- data/lib/schematic/types/usage_based_entitlement_request_body.rb +21 -0
- data/lib/schematic/types/usage_based_entitlement_response_data.rb +13 -0
- data/lib/schematic/types/usage_time_series_point_response_data.rb +3 -0
- data/lib/schematic/types/user_credit_usage_response_data.rb +5 -0
- data/lib/schematic/types/user_daily_credit_point_response_data.rb +1 -0
- data/lib/schematic/types/user_daily_usage_point_response_data.rb +2 -0
- data/lib/schematic/types/user_detail_response_data.rb +9 -0
- data/lib/schematic/types/user_feature_usage_response_data.rb +5 -0
- data/lib/schematic/types/user_response_data.rb +5 -0
- data/lib/schematic/types/user_usage_by_company_response_data.rb +3 -0
- data/lib/schematic/types/user_usage_detail_response_data.rb +6 -0
- data/lib/schematic/types/warning_tier.rb +1 -0
- data/lib/schematic/types/warning_tier_request_body.rb +1 -0
- data/lib/schematic/types/warning_tier_response_data.rb +2 -0
- data/lib/schematic/types/web_feature_usage_webhook_output.rb +6 -0
- data/lib/schematic/types/web_scheduled_downgrade_webhook_output.rb +6 -0
- data/lib/schematic/types/webhook_event_detail_response_data.rb +9 -0
- data/lib/schematic/types/webhook_event_response_data.rb +8 -0
- data/lib/schematic/types/webhook_response_data.rb +9 -0
- data/lib/schematic/types/webhook_url.rb +1 -0
- data/lib/schematic/types/who_am_i_response_data.rb +10 -0
- data/lib/schematic/types/work_os_integration_config.rb +1 -0
- data/lib/schematic/version.rb +1 -1
- data/lib/schematic/wasm/rulesengine.wasm +0 -0
- data/lib/schematic/webhooks/client.rb +59 -10
- data/lib/schematic/webhooks/types/count_webhook_events_params.rb +4 -0
- data/lib/schematic/webhooks/types/count_webhook_events_request.rb +4 -0
- data/lib/schematic/webhooks/types/count_webhook_events_response.rb +1 -0
- data/lib/schematic/webhooks/types/count_webhooks_params.rb +2 -0
- data/lib/schematic/webhooks/types/count_webhooks_request.rb +2 -0
- data/lib/schematic/webhooks/types/count_webhooks_response.rb +1 -0
- data/lib/schematic/webhooks/types/create_webhook_request_body.rb +4 -0
- data/lib/schematic/webhooks/types/create_webhook_response.rb +1 -0
- data/lib/schematic/webhooks/types/delete_webhook_response.rb +1 -0
- data/lib/schematic/webhooks/types/get_webhook_event_response.rb +1 -0
- data/lib/schematic/webhooks/types/get_webhook_response.rb +1 -0
- data/lib/schematic/webhooks/types/list_webhook_events_params.rb +4 -0
- data/lib/schematic/webhooks/types/list_webhook_events_request.rb +4 -0
- data/lib/schematic/webhooks/types/list_webhook_events_response.rb +1 -0
- data/lib/schematic/webhooks/types/list_webhooks_params.rb +2 -0
- data/lib/schematic/webhooks/types/list_webhooks_request.rb +2 -0
- data/lib/schematic/webhooks/types/list_webhooks_response.rb +1 -0
- data/lib/schematic/webhooks/types/send_test_webhook_action_response.rb +1 -0
- data/lib/schematic/webhooks/types/test_webhook_request_body.rb +1 -0
- data/lib/schematic/webhooks/types/update_webhook_request_body.rb +6 -0
- data/lib/schematic/webhooks/types/update_webhook_response.rb +1 -0
- data/lib/schematic.rb +29 -1
- data/reference.md +643 -130
- metadata +31 -2
|
@@ -5,40 +5,79 @@ module Schematic
|
|
|
5
5
|
module Types
|
|
6
6
|
class CreatePlanGroupRequestBody < Internal::Types::Model
|
|
7
7
|
field :add_on_compatibilities, -> { Internal::Types::Array[Schematic::Types::CompatiblePlans] }, optional: true, nullable: false
|
|
8
|
+
|
|
8
9
|
field :add_on_ids, -> { Internal::Types::Array[String] }, optional: false, nullable: false
|
|
10
|
+
|
|
11
|
+
field :checkout_bundle_purchase_behavior, -> { Schematic::Types::CheckoutBundlePurchaseBehavior }, optional: true, nullable: false
|
|
12
|
+
|
|
9
13
|
field :checkout_collect_address, -> { Internal::Types::Boolean }, optional: false, nullable: false
|
|
14
|
+
|
|
10
15
|
field :checkout_collect_email, -> { Internal::Types::Boolean }, optional: false, nullable: false
|
|
16
|
+
|
|
11
17
|
field :checkout_collect_phone, -> { Internal::Types::Boolean }, optional: false, nullable: false
|
|
18
|
+
|
|
19
|
+
field :checkout_collect_tax_id, -> { Internal::Types::Boolean }, optional: false, nullable: false
|
|
20
|
+
|
|
12
21
|
field :custom_checkout_fields, -> { Internal::Types::Array[Schematic::Types::CheckoutFieldInput] }, optional: true, nullable: false
|
|
22
|
+
|
|
13
23
|
field :custom_plan_config, -> { Schematic::Types::CustomPlanConfig }, optional: true, nullable: false
|
|
24
|
+
|
|
14
25
|
field :custom_plan_id, -> { String }, optional: true, nullable: false
|
|
26
|
+
|
|
15
27
|
field :enable_tax_collection, -> { Internal::Types::Boolean }, optional: false, nullable: false
|
|
28
|
+
|
|
16
29
|
field :fallback_plan_id, -> { String }, optional: true, nullable: false
|
|
30
|
+
|
|
17
31
|
field :initial_plan_id, -> { String }, optional: true, nullable: false
|
|
32
|
+
|
|
18
33
|
field :initial_plan_price_id, -> { String }, optional: true, nullable: false
|
|
34
|
+
|
|
19
35
|
field :opt_in_enabled, -> { Internal::Types::Boolean }, optional: false, nullable: false
|
|
36
|
+
|
|
20
37
|
field :opt_in_text, -> { String }, optional: true, nullable: false
|
|
38
|
+
|
|
21
39
|
field :opt_in_title, -> { String }, optional: true, nullable: false
|
|
40
|
+
|
|
22
41
|
field :ordered_add_ons, -> { Internal::Types::Array[Schematic::Types::OrderedPlansInGroup] }, optional: false, nullable: false
|
|
42
|
+
|
|
23
43
|
field :ordered_bundle_list, -> { Internal::Types::Array[Schematic::Types::PlanGroupBundleOrder] }, optional: false, nullable: false
|
|
44
|
+
|
|
24
45
|
field :ordered_plans, -> { Internal::Types::Array[Schematic::Types::OrderedPlansInGroup] }, optional: false, nullable: false
|
|
46
|
+
|
|
25
47
|
field :prevent_downgrades_when_over_limit, -> { Internal::Types::Boolean }, optional: false, nullable: false
|
|
48
|
+
|
|
26
49
|
field :prevent_self_service_downgrade, -> { Internal::Types::Boolean }, optional: false, nullable: false
|
|
50
|
+
|
|
27
51
|
field :prevent_self_service_downgrade_button_text, -> { String }, optional: true, nullable: false
|
|
52
|
+
|
|
28
53
|
field :prevent_self_service_downgrade_url, -> { String }, optional: true, nullable: false
|
|
54
|
+
|
|
29
55
|
field :proration_behavior, -> { Schematic::Types::ProrationBehavior }, optional: false, nullable: false
|
|
56
|
+
|
|
30
57
|
field :scheduled_downgrade_behavior, -> { Schematic::Types::ScheduledDowngradeConfigBehavior }, optional: true, nullable: false
|
|
58
|
+
|
|
31
59
|
field :scheduled_downgrade_prevent_when_over_limit, -> { Internal::Types::Boolean }, optional: true, nullable: false
|
|
60
|
+
|
|
32
61
|
field :show_as_monthly_prices, -> { Internal::Types::Boolean }, optional: false, nullable: false
|
|
62
|
+
|
|
33
63
|
field :show_credits, -> { Internal::Types::Boolean }, optional: false, nullable: false
|
|
64
|
+
|
|
34
65
|
field :show_feature_description, -> { Internal::Types::Boolean }, optional: false, nullable: false
|
|
66
|
+
|
|
35
67
|
field :show_hard_limit, -> { Internal::Types::Boolean }, optional: false, nullable: false
|
|
68
|
+
|
|
36
69
|
field :show_period_toggle, -> { Internal::Types::Boolean }, optional: false, nullable: false
|
|
70
|
+
|
|
37
71
|
field :show_zero_price_as_free, -> { Internal::Types::Boolean }, optional: false, nullable: false
|
|
72
|
+
|
|
38
73
|
field :sync_customer_billing_details, -> { Internal::Types::Boolean }, optional: false, nullable: false
|
|
74
|
+
|
|
39
75
|
field :trial_days, -> { Integer }, optional: true, nullable: false
|
|
76
|
+
|
|
40
77
|
field :trial_expiry_plan_id, -> { String }, optional: true, nullable: false
|
|
78
|
+
|
|
41
79
|
field :trial_expiry_plan_price_id, -> { String }, optional: true, nullable: false
|
|
80
|
+
|
|
42
81
|
field :trial_payment_method_required, -> { Internal::Types::Boolean }, optional: true, nullable: false
|
|
43
82
|
end
|
|
44
83
|
end
|
|
@@ -5,6 +5,7 @@ module Schematic
|
|
|
5
5
|
module Types
|
|
6
6
|
class CreatePlanGroupResponse < Internal::Types::Model
|
|
7
7
|
field :data, -> { Schematic::Types::PlanGroupResponseData }, optional: false, nullable: false
|
|
8
|
+
|
|
8
9
|
field :params, -> { Internal::Types::Hash[String, Object] }, optional: false, nullable: false
|
|
9
10
|
end
|
|
10
11
|
end
|
|
@@ -5,6 +5,7 @@ module Schematic
|
|
|
5
5
|
module Types
|
|
6
6
|
class GetPlanGroupResponse < Internal::Types::Model
|
|
7
7
|
field :data, -> { Schematic::Types::PlanGroupDetailResponseData }, optional: false, nullable: false
|
|
8
|
+
|
|
8
9
|
field :params, -> { Schematic::Plangroups::Types::GetPlanGroupParams }, optional: false, nullable: false
|
|
9
10
|
end
|
|
10
11
|
end
|
|
@@ -5,41 +5,81 @@ module Schematic
|
|
|
5
5
|
module Types
|
|
6
6
|
class UpdatePlanGroupRequestBody < Internal::Types::Model
|
|
7
7
|
field :plan_group_id, -> { String }, optional: false, nullable: false
|
|
8
|
+
|
|
8
9
|
field :add_on_compatibilities, -> { Internal::Types::Array[Schematic::Types::CompatiblePlans] }, optional: true, nullable: false
|
|
10
|
+
|
|
9
11
|
field :add_on_ids, -> { Internal::Types::Array[String] }, optional: false, nullable: false
|
|
12
|
+
|
|
13
|
+
field :checkout_bundle_purchase_behavior, -> { Schematic::Types::CheckoutBundlePurchaseBehavior }, optional: true, nullable: false
|
|
14
|
+
|
|
10
15
|
field :checkout_collect_address, -> { Internal::Types::Boolean }, optional: false, nullable: false
|
|
16
|
+
|
|
11
17
|
field :checkout_collect_email, -> { Internal::Types::Boolean }, optional: false, nullable: false
|
|
18
|
+
|
|
12
19
|
field :checkout_collect_phone, -> { Internal::Types::Boolean }, optional: false, nullable: false
|
|
20
|
+
|
|
21
|
+
field :checkout_collect_tax_id, -> { Internal::Types::Boolean }, optional: false, nullable: false
|
|
22
|
+
|
|
13
23
|
field :custom_checkout_fields, -> { Internal::Types::Array[Schematic::Types::CheckoutFieldInput] }, optional: true, nullable: false
|
|
24
|
+
|
|
14
25
|
field :custom_plan_config, -> { Schematic::Types::CustomPlanConfig }, optional: true, nullable: false
|
|
26
|
+
|
|
15
27
|
field :custom_plan_id, -> { String }, optional: true, nullable: false
|
|
28
|
+
|
|
16
29
|
field :enable_tax_collection, -> { Internal::Types::Boolean }, optional: false, nullable: false
|
|
30
|
+
|
|
17
31
|
field :fallback_plan_id, -> { String }, optional: true, nullable: false
|
|
32
|
+
|
|
18
33
|
field :initial_plan_id, -> { String }, optional: true, nullable: false
|
|
34
|
+
|
|
19
35
|
field :initial_plan_price_id, -> { String }, optional: true, nullable: false
|
|
36
|
+
|
|
20
37
|
field :opt_in_enabled, -> { Internal::Types::Boolean }, optional: false, nullable: false
|
|
38
|
+
|
|
21
39
|
field :opt_in_text, -> { String }, optional: true, nullable: false
|
|
40
|
+
|
|
22
41
|
field :opt_in_title, -> { String }, optional: true, nullable: false
|
|
42
|
+
|
|
23
43
|
field :ordered_add_ons, -> { Internal::Types::Array[Schematic::Types::OrderedPlansInGroup] }, optional: false, nullable: false
|
|
44
|
+
|
|
24
45
|
field :ordered_bundle_list, -> { Internal::Types::Array[Schematic::Types::PlanGroupBundleOrder] }, optional: false, nullable: false
|
|
46
|
+
|
|
25
47
|
field :ordered_plans, -> { Internal::Types::Array[Schematic::Types::OrderedPlansInGroup] }, optional: false, nullable: false
|
|
48
|
+
|
|
26
49
|
field :prevent_downgrades_when_over_limit, -> { Internal::Types::Boolean }, optional: false, nullable: false
|
|
50
|
+
|
|
27
51
|
field :prevent_self_service_downgrade, -> { Internal::Types::Boolean }, optional: false, nullable: false
|
|
52
|
+
|
|
28
53
|
field :prevent_self_service_downgrade_button_text, -> { String }, optional: true, nullable: false
|
|
54
|
+
|
|
29
55
|
field :prevent_self_service_downgrade_url, -> { String }, optional: true, nullable: false
|
|
56
|
+
|
|
30
57
|
field :proration_behavior, -> { Schematic::Types::ProrationBehavior }, optional: false, nullable: false
|
|
58
|
+
|
|
31
59
|
field :scheduled_downgrade_behavior, -> { Schematic::Types::ScheduledDowngradeConfigBehavior }, optional: true, nullable: false
|
|
60
|
+
|
|
32
61
|
field :scheduled_downgrade_prevent_when_over_limit, -> { Internal::Types::Boolean }, optional: true, nullable: false
|
|
62
|
+
|
|
33
63
|
field :show_as_monthly_prices, -> { Internal::Types::Boolean }, optional: false, nullable: false
|
|
64
|
+
|
|
34
65
|
field :show_credits, -> { Internal::Types::Boolean }, optional: false, nullable: false
|
|
66
|
+
|
|
35
67
|
field :show_feature_description, -> { Internal::Types::Boolean }, optional: false, nullable: false
|
|
68
|
+
|
|
36
69
|
field :show_hard_limit, -> { Internal::Types::Boolean }, optional: false, nullable: false
|
|
70
|
+
|
|
37
71
|
field :show_period_toggle, -> { Internal::Types::Boolean }, optional: false, nullable: false
|
|
72
|
+
|
|
38
73
|
field :show_zero_price_as_free, -> { Internal::Types::Boolean }, optional: false, nullable: false
|
|
74
|
+
|
|
39
75
|
field :sync_customer_billing_details, -> { Internal::Types::Boolean }, optional: false, nullable: false
|
|
76
|
+
|
|
40
77
|
field :trial_days, -> { Integer }, optional: true, nullable: false
|
|
78
|
+
|
|
41
79
|
field :trial_expiry_plan_id, -> { String }, optional: true, nullable: false
|
|
80
|
+
|
|
42
81
|
field :trial_expiry_plan_price_id, -> { String }, optional: true, nullable: false
|
|
82
|
+
|
|
43
83
|
field :trial_payment_method_required, -> { Internal::Types::Boolean }, optional: true, nullable: false
|
|
44
84
|
end
|
|
45
85
|
end
|
|
@@ -5,6 +5,7 @@ module Schematic
|
|
|
5
5
|
module Types
|
|
6
6
|
class UpdatePlanGroupResponse < Internal::Types::Model
|
|
7
7
|
field :data, -> { Schematic::Types::PlanGroupResponseData }, optional: false, nullable: false
|
|
8
|
+
|
|
8
9
|
field :params, -> { Internal::Types::Hash[String, Object] }, optional: false, nullable: false
|
|
9
10
|
end
|
|
10
11
|
end
|
|
@@ -17,23 +17,30 @@ module Schematic
|
|
|
17
17
|
# @option request_options [Hash{String => Object}] :additional_query_parameters
|
|
18
18
|
# @option request_options [Hash{String => Object}] :additional_body_parameters
|
|
19
19
|
# @option request_options [Integer] :timeout_in_seconds
|
|
20
|
-
# @option params [String
|
|
20
|
+
# @option params [String] :migration_id
|
|
21
21
|
# @option params [String, nil] :q
|
|
22
22
|
# @option params [Schematic::Types::PlanVersionCompanyMigrationStatus, nil] :status
|
|
23
23
|
# @option params [Integer, nil] :limit
|
|
24
24
|
# @option params [Integer, nil] :offset
|
|
25
25
|
#
|
|
26
|
+
# @example
|
|
27
|
+
# client.planmigrations.list_company_migrations(
|
|
28
|
+
# migration_id: "migration_id",
|
|
29
|
+
# q: "q",
|
|
30
|
+
# status: "completed",
|
|
31
|
+
# limit: 1000000,
|
|
32
|
+
# offset: 1000000
|
|
33
|
+
# )
|
|
34
|
+
#
|
|
26
35
|
# @return [Schematic::Planmigrations::Types::ListCompanyMigrationsResponse]
|
|
27
36
|
def list_company_migrations(request_options: {}, **params)
|
|
28
37
|
params = Schematic::Internal::Types::Utils.normalize_keys(params)
|
|
29
|
-
query_param_names = %i[migration_id q status limit offset]
|
|
30
38
|
query_params = {}
|
|
31
39
|
query_params["migration_id"] = params[:migration_id] if params.key?(:migration_id)
|
|
32
40
|
query_params["q"] = params[:q] if params.key?(:q)
|
|
33
41
|
query_params["status"] = params[:status] if params.key?(:status)
|
|
34
42
|
query_params["limit"] = params[:limit] if params.key?(:limit)
|
|
35
43
|
query_params["offset"] = params[:offset] if params.key?(:offset)
|
|
36
|
-
params.except(*query_param_names)
|
|
37
44
|
|
|
38
45
|
request = Schematic::Internal::JSON::Request.new(
|
|
39
46
|
base_url: request_options[:base_url],
|
|
@@ -65,6 +72,9 @@ module Schematic
|
|
|
65
72
|
# @option request_options [Integer] :timeout_in_seconds
|
|
66
73
|
# @option params [String] :plan_version_company_migration_id
|
|
67
74
|
#
|
|
75
|
+
# @example
|
|
76
|
+
# client.planmigrations.retry_company_migration(plan_version_company_migration_id: "plan_version_company_migration_id")
|
|
77
|
+
#
|
|
68
78
|
# @return [Schematic::Planmigrations::Types::RetryCompanyMigrationResponse]
|
|
69
79
|
def retry_company_migration(request_options: {}, **params)
|
|
70
80
|
params = Schematic::Internal::Types::Utils.normalize_keys(params)
|
|
@@ -95,23 +105,30 @@ module Schematic
|
|
|
95
105
|
# @option request_options [Hash{String => Object}] :additional_query_parameters
|
|
96
106
|
# @option request_options [Hash{String => Object}] :additional_body_parameters
|
|
97
107
|
# @option request_options [Integer] :timeout_in_seconds
|
|
98
|
-
# @option params [String
|
|
108
|
+
# @option params [String] :migration_id
|
|
99
109
|
# @option params [String, nil] :q
|
|
100
110
|
# @option params [Schematic::Types::PlanVersionCompanyMigrationStatus, nil] :status
|
|
101
111
|
# @option params [Integer, nil] :limit
|
|
102
112
|
# @option params [Integer, nil] :offset
|
|
103
113
|
#
|
|
114
|
+
# @example
|
|
115
|
+
# client.planmigrations.count_company_migrations(
|
|
116
|
+
# migration_id: "migration_id",
|
|
117
|
+
# q: "q",
|
|
118
|
+
# status: "completed",
|
|
119
|
+
# limit: 1000000,
|
|
120
|
+
# offset: 1000000
|
|
121
|
+
# )
|
|
122
|
+
#
|
|
104
123
|
# @return [Schematic::Planmigrations::Types::CountCompanyMigrationsResponse]
|
|
105
124
|
def count_company_migrations(request_options: {}, **params)
|
|
106
125
|
params = Schematic::Internal::Types::Utils.normalize_keys(params)
|
|
107
|
-
query_param_names = %i[migration_id q status limit offset]
|
|
108
126
|
query_params = {}
|
|
109
127
|
query_params["migration_id"] = params[:migration_id] if params.key?(:migration_id)
|
|
110
128
|
query_params["q"] = params[:q] if params.key?(:q)
|
|
111
129
|
query_params["status"] = params[:status] if params.key?(:status)
|
|
112
130
|
query_params["limit"] = params[:limit] if params.key?(:limit)
|
|
113
131
|
query_params["offset"] = params[:offset] if params.key?(:offset)
|
|
114
|
-
params.except(*query_param_names)
|
|
115
132
|
|
|
116
133
|
request = Schematic::Internal::JSON::Request.new(
|
|
117
134
|
base_url: request_options[:base_url],
|
|
@@ -141,21 +158,27 @@ module Schematic
|
|
|
141
158
|
# @option request_options [Hash{String => Object}] :additional_query_parameters
|
|
142
159
|
# @option request_options [Hash{String => Object}] :additional_body_parameters
|
|
143
160
|
# @option request_options [Integer] :timeout_in_seconds
|
|
144
|
-
# @option params [String
|
|
161
|
+
# @option params [String] :plan_version_id
|
|
145
162
|
# @option params [Schematic::Types::PlanVersionMigrationStatus, nil] :status
|
|
146
163
|
# @option params [Integer, nil] :limit
|
|
147
164
|
# @option params [Integer, nil] :offset
|
|
148
165
|
#
|
|
166
|
+
# @example
|
|
167
|
+
# client.planmigrations.list_migrations(
|
|
168
|
+
# plan_version_id: "plan_version_id",
|
|
169
|
+
# status: "completed",
|
|
170
|
+
# limit: 1000000,
|
|
171
|
+
# offset: 1000000
|
|
172
|
+
# )
|
|
173
|
+
#
|
|
149
174
|
# @return [Schematic::Planmigrations::Types::ListMigrationsResponse]
|
|
150
175
|
def list_migrations(request_options: {}, **params)
|
|
151
176
|
params = Schematic::Internal::Types::Utils.normalize_keys(params)
|
|
152
|
-
query_param_names = %i[plan_version_id status limit offset]
|
|
153
177
|
query_params = {}
|
|
154
178
|
query_params["plan_version_id"] = params[:plan_version_id] if params.key?(:plan_version_id)
|
|
155
179
|
query_params["status"] = params[:status] if params.key?(:status)
|
|
156
180
|
query_params["limit"] = params[:limit] if params.key?(:limit)
|
|
157
181
|
query_params["offset"] = params[:offset] if params.key?(:offset)
|
|
158
|
-
params.except(*query_param_names)
|
|
159
182
|
|
|
160
183
|
request = Schematic::Internal::JSON::Request.new(
|
|
161
184
|
base_url: request_options[:base_url],
|
|
@@ -186,6 +209,14 @@ module Schematic
|
|
|
186
209
|
# @option request_options [Hash{String => Object}] :additional_body_parameters
|
|
187
210
|
# @option request_options [Integer] :timeout_in_seconds
|
|
188
211
|
#
|
|
212
|
+
# @example
|
|
213
|
+
# client.planmigrations.create_migration(
|
|
214
|
+
# plan_id: "plan_id",
|
|
215
|
+
# plan_version_id_to: "plan_version_id_to",
|
|
216
|
+
# strategy: "immediate",
|
|
217
|
+
# target_plan_type: "plan"
|
|
218
|
+
# )
|
|
219
|
+
#
|
|
189
220
|
# @return [Schematic::Planmigrations::Types::CreateMigrationResponse]
|
|
190
221
|
def create_migration(request_options: {}, **params)
|
|
191
222
|
params = Schematic::Internal::Types::Utils.normalize_keys(params)
|
|
@@ -219,6 +250,9 @@ module Schematic
|
|
|
219
250
|
# @option request_options [Integer] :timeout_in_seconds
|
|
220
251
|
# @option params [String] :plan_version_migration_id
|
|
221
252
|
#
|
|
253
|
+
# @example
|
|
254
|
+
# client.planmigrations.get_migration(plan_version_migration_id: "plan_version_migration_id")
|
|
255
|
+
#
|
|
222
256
|
# @return [Schematic::Planmigrations::Types::GetMigrationResponse]
|
|
223
257
|
def get_migration(request_options: {}, **params)
|
|
224
258
|
params = Schematic::Internal::Types::Utils.normalize_keys(params)
|
|
@@ -251,11 +285,17 @@ module Schematic
|
|
|
251
285
|
# @option request_options [Integer] :timeout_in_seconds
|
|
252
286
|
# @option params [String] :plan_version_migration_id
|
|
253
287
|
#
|
|
288
|
+
# @example
|
|
289
|
+
# client.planmigrations.retry_migration(
|
|
290
|
+
# plan_version_migration_id: "plan_version_migration_id",
|
|
291
|
+
# error_codes: ["ambiguous_subscription_item"]
|
|
292
|
+
# )
|
|
293
|
+
#
|
|
254
294
|
# @return [Schematic::Planmigrations::Types::RetryMigrationResponse]
|
|
255
295
|
def retry_migration(request_options: {}, **params)
|
|
256
296
|
params = Schematic::Internal::Types::Utils.normalize_keys(params)
|
|
257
297
|
request_data = Schematic::Planmigrations::Types::RetryMigrationRequestBody.new(params).to_h
|
|
258
|
-
non_body_param_names = [
|
|
298
|
+
non_body_param_names = %w[plan_version_migration_id]
|
|
259
299
|
body = request_data.except(*non_body_param_names)
|
|
260
300
|
|
|
261
301
|
request = Schematic::Internal::JSON::Request.new(
|
|
@@ -286,21 +326,27 @@ module Schematic
|
|
|
286
326
|
# @option request_options [Hash{String => Object}] :additional_query_parameters
|
|
287
327
|
# @option request_options [Hash{String => Object}] :additional_body_parameters
|
|
288
328
|
# @option request_options [Integer] :timeout_in_seconds
|
|
289
|
-
# @option params [String
|
|
329
|
+
# @option params [String] :plan_version_id
|
|
290
330
|
# @option params [Schematic::Types::PlanVersionMigrationStatus, nil] :status
|
|
291
331
|
# @option params [Integer, nil] :limit
|
|
292
332
|
# @option params [Integer, nil] :offset
|
|
293
333
|
#
|
|
334
|
+
# @example
|
|
335
|
+
# client.planmigrations.count_migrations(
|
|
336
|
+
# plan_version_id: "plan_version_id",
|
|
337
|
+
# status: "completed",
|
|
338
|
+
# limit: 1000000,
|
|
339
|
+
# offset: 1000000
|
|
340
|
+
# )
|
|
341
|
+
#
|
|
294
342
|
# @return [Schematic::Planmigrations::Types::CountMigrationsResponse]
|
|
295
343
|
def count_migrations(request_options: {}, **params)
|
|
296
344
|
params = Schematic::Internal::Types::Utils.normalize_keys(params)
|
|
297
|
-
query_param_names = %i[plan_version_id status limit offset]
|
|
298
345
|
query_params = {}
|
|
299
346
|
query_params["plan_version_id"] = params[:plan_version_id] if params.key?(:plan_version_id)
|
|
300
347
|
query_params["status"] = params[:status] if params.key?(:status)
|
|
301
348
|
query_params["limit"] = params[:limit] if params.key?(:limit)
|
|
302
349
|
query_params["offset"] = params[:offset] if params.key?(:offset)
|
|
303
|
-
params.except(*query_param_names)
|
|
304
350
|
|
|
305
351
|
request = Schematic::Internal::JSON::Request.new(
|
|
306
352
|
base_url: request_options[:base_url],
|
|
@@ -331,6 +377,13 @@ module Schematic
|
|
|
331
377
|
# @option request_options [Hash{String => Object}] :additional_body_parameters
|
|
332
378
|
# @option request_options [Integer] :timeout_in_seconds
|
|
333
379
|
#
|
|
380
|
+
# @example
|
|
381
|
+
# client.planmigrations.preview_migration(
|
|
382
|
+
# plan_id: "plan_id",
|
|
383
|
+
# plan_version_id_to: "plan_version_id_to",
|
|
384
|
+
# target_plan_type: "plan"
|
|
385
|
+
# )
|
|
386
|
+
#
|
|
334
387
|
# @return [Schematic::Planmigrations::Types::PreviewMigrationResponse]
|
|
335
388
|
def preview_migration(request_options: {}, **params)
|
|
336
389
|
params = Schematic::Internal::Types::Utils.normalize_keys(params)
|
|
@@ -6,9 +6,13 @@ module Schematic
|
|
|
6
6
|
# Input parameters
|
|
7
7
|
class CountCompanyMigrationsParams < Internal::Types::Model
|
|
8
8
|
field :limit, -> { Integer }, optional: true, nullable: false
|
|
9
|
+
|
|
9
10
|
field :migration_id, -> { String }, optional: true, nullable: false
|
|
11
|
+
|
|
10
12
|
field :offset, -> { Integer }, optional: true, nullable: false
|
|
13
|
+
|
|
11
14
|
field :q, -> { String }, optional: true, nullable: false
|
|
15
|
+
|
|
12
16
|
field :status, -> { Schematic::Types::PlanVersionCompanyMigrationStatus }, optional: true, nullable: false
|
|
13
17
|
end
|
|
14
18
|
end
|
|
@@ -4,10 +4,14 @@ module Schematic
|
|
|
4
4
|
module Planmigrations
|
|
5
5
|
module Types
|
|
6
6
|
class CountCompanyMigrationsRequest < Internal::Types::Model
|
|
7
|
-
field :migration_id, -> { String }, optional:
|
|
7
|
+
field :migration_id, -> { String }, optional: false, nullable: false
|
|
8
|
+
|
|
8
9
|
field :q, -> { String }, optional: true, nullable: false
|
|
10
|
+
|
|
9
11
|
field :status, -> { Schematic::Types::PlanVersionCompanyMigrationStatus }, optional: true, nullable: false
|
|
12
|
+
|
|
10
13
|
field :limit, -> { Integer }, optional: true, nullable: false
|
|
14
|
+
|
|
11
15
|
field :offset, -> { Integer }, optional: true, nullable: false
|
|
12
16
|
end
|
|
13
17
|
end
|
|
@@ -5,6 +5,7 @@ module Schematic
|
|
|
5
5
|
module Types
|
|
6
6
|
class CountCompanyMigrationsResponse < Internal::Types::Model
|
|
7
7
|
field :data, -> { Schematic::Types::CountResponse }, optional: false, nullable: false
|
|
8
|
+
|
|
8
9
|
field :params, -> { Schematic::Planmigrations::Types::CountCompanyMigrationsParams }, optional: false, nullable: false
|
|
9
10
|
end
|
|
10
11
|
end
|
|
@@ -6,8 +6,11 @@ module Schematic
|
|
|
6
6
|
# Input parameters
|
|
7
7
|
class CountMigrationsParams < Internal::Types::Model
|
|
8
8
|
field :limit, -> { Integer }, optional: true, nullable: false
|
|
9
|
+
|
|
9
10
|
field :offset, -> { Integer }, optional: true, nullable: false
|
|
11
|
+
|
|
10
12
|
field :plan_version_id, -> { String }, optional: true, nullable: false
|
|
13
|
+
|
|
11
14
|
field :status, -> { Schematic::Types::PlanVersionMigrationStatus }, optional: true, nullable: false
|
|
12
15
|
end
|
|
13
16
|
end
|
|
@@ -4,9 +4,12 @@ module Schematic
|
|
|
4
4
|
module Planmigrations
|
|
5
5
|
module Types
|
|
6
6
|
class CountMigrationsRequest < Internal::Types::Model
|
|
7
|
-
field :plan_version_id, -> { String }, optional:
|
|
7
|
+
field :plan_version_id, -> { String }, optional: false, nullable: false
|
|
8
|
+
|
|
8
9
|
field :status, -> { Schematic::Types::PlanVersionMigrationStatus }, optional: true, nullable: false
|
|
10
|
+
|
|
9
11
|
field :limit, -> { Integer }, optional: true, nullable: false
|
|
12
|
+
|
|
10
13
|
field :offset, -> { Integer }, optional: true, nullable: false
|
|
11
14
|
end
|
|
12
15
|
end
|
|
@@ -5,6 +5,7 @@ module Schematic
|
|
|
5
5
|
module Types
|
|
6
6
|
class CountMigrationsResponse < Internal::Types::Model
|
|
7
7
|
field :data, -> { Schematic::Types::CountResponse }, optional: false, nullable: false
|
|
8
|
+
|
|
8
9
|
field :params, -> { Schematic::Planmigrations::Types::CountMigrationsParams }, optional: false, nullable: false
|
|
9
10
|
end
|
|
10
11
|
end
|
|
@@ -4,12 +4,20 @@ module Schematic
|
|
|
4
4
|
module Planmigrations
|
|
5
5
|
module Types
|
|
6
6
|
class CreateMigrationInput < Internal::Types::Model
|
|
7
|
-
field :company_ids, -> { Internal::Types::Array[String] }, optional:
|
|
8
|
-
|
|
7
|
+
field :company_ids, -> { Internal::Types::Array[String] }, optional: true, nullable: false
|
|
8
|
+
|
|
9
|
+
field :excluded_company_ids, -> { Internal::Types::Array[String] }, optional: true, nullable: false
|
|
10
|
+
|
|
9
11
|
field :plan_id, -> { String }, optional: false, nullable: false
|
|
12
|
+
|
|
10
13
|
field :plan_version_id_to, -> { String }, optional: false, nullable: false
|
|
11
|
-
|
|
14
|
+
|
|
15
|
+
field :plan_version_ids_from, -> { Internal::Types::Array[String] }, optional: true, nullable: false
|
|
16
|
+
|
|
17
|
+
field :proration_behavior, -> { Schematic::Types::MigrationProrationBehavior }, optional: true, nullable: false
|
|
18
|
+
|
|
12
19
|
field :strategy, -> { Schematic::Types::PlanVersionMigrationStrategy }, optional: false, nullable: false
|
|
20
|
+
|
|
13
21
|
field :target_plan_type, -> { Schematic::Types::PlanType }, optional: false, nullable: false
|
|
14
22
|
end
|
|
15
23
|
end
|
|
@@ -5,6 +5,7 @@ module Schematic
|
|
|
5
5
|
module Types
|
|
6
6
|
class CreateMigrationResponse < Internal::Types::Model
|
|
7
7
|
field :data, -> { Schematic::Types::PlanVersionMigrationResponseData }, optional: false, nullable: false
|
|
8
|
+
|
|
8
9
|
field :params, -> { Internal::Types::Hash[String, Object] }, optional: false, nullable: false
|
|
9
10
|
end
|
|
10
11
|
end
|
|
@@ -5,6 +5,7 @@ module Schematic
|
|
|
5
5
|
module Types
|
|
6
6
|
class GetMigrationResponse < Internal::Types::Model
|
|
7
7
|
field :data, -> { Schematic::Types::PlanVersionMigrationResponseData }, optional: false, nullable: false
|
|
8
|
+
|
|
8
9
|
field :params, -> { Internal::Types::Hash[String, Object] }, optional: false, nullable: false
|
|
9
10
|
end
|
|
10
11
|
end
|
|
@@ -6,9 +6,13 @@ module Schematic
|
|
|
6
6
|
# Input parameters
|
|
7
7
|
class ListCompanyMigrationsParams < Internal::Types::Model
|
|
8
8
|
field :limit, -> { Integer }, optional: true, nullable: false
|
|
9
|
+
|
|
9
10
|
field :migration_id, -> { String }, optional: true, nullable: false
|
|
11
|
+
|
|
10
12
|
field :offset, -> { Integer }, optional: true, nullable: false
|
|
13
|
+
|
|
11
14
|
field :q, -> { String }, optional: true, nullable: false
|
|
15
|
+
|
|
12
16
|
field :status, -> { Schematic::Types::PlanVersionCompanyMigrationStatus }, optional: true, nullable: false
|
|
13
17
|
end
|
|
14
18
|
end
|
|
@@ -4,10 +4,14 @@ module Schematic
|
|
|
4
4
|
module Planmigrations
|
|
5
5
|
module Types
|
|
6
6
|
class ListCompanyMigrationsRequest < Internal::Types::Model
|
|
7
|
-
field :migration_id, -> { String }, optional:
|
|
7
|
+
field :migration_id, -> { String }, optional: false, nullable: false
|
|
8
|
+
|
|
8
9
|
field :q, -> { String }, optional: true, nullable: false
|
|
10
|
+
|
|
9
11
|
field :status, -> { Schematic::Types::PlanVersionCompanyMigrationStatus }, optional: true, nullable: false
|
|
12
|
+
|
|
10
13
|
field :limit, -> { Integer }, optional: true, nullable: false
|
|
14
|
+
|
|
11
15
|
field :offset, -> { Integer }, optional: true, nullable: false
|
|
12
16
|
end
|
|
13
17
|
end
|
|
@@ -5,6 +5,7 @@ module Schematic
|
|
|
5
5
|
module Types
|
|
6
6
|
class ListCompanyMigrationsResponse < Internal::Types::Model
|
|
7
7
|
field :data, -> { Internal::Types::Array[Schematic::Types::PlanVersionCompanyMigrationResponseData] }, optional: false, nullable: false
|
|
8
|
+
|
|
8
9
|
field :params, -> { Schematic::Planmigrations::Types::ListCompanyMigrationsParams }, optional: false, nullable: false
|
|
9
10
|
end
|
|
10
11
|
end
|
|
@@ -6,8 +6,11 @@ module Schematic
|
|
|
6
6
|
# Input parameters
|
|
7
7
|
class ListMigrationsParams < Internal::Types::Model
|
|
8
8
|
field :limit, -> { Integer }, optional: true, nullable: false
|
|
9
|
+
|
|
9
10
|
field :offset, -> { Integer }, optional: true, nullable: false
|
|
11
|
+
|
|
10
12
|
field :plan_version_id, -> { String }, optional: true, nullable: false
|
|
13
|
+
|
|
11
14
|
field :status, -> { Schematic::Types::PlanVersionMigrationStatus }, optional: true, nullable: false
|
|
12
15
|
end
|
|
13
16
|
end
|
|
@@ -4,9 +4,12 @@ module Schematic
|
|
|
4
4
|
module Planmigrations
|
|
5
5
|
module Types
|
|
6
6
|
class ListMigrationsRequest < Internal::Types::Model
|
|
7
|
-
field :plan_version_id, -> { String }, optional:
|
|
7
|
+
field :plan_version_id, -> { String }, optional: false, nullable: false
|
|
8
|
+
|
|
8
9
|
field :status, -> { Schematic::Types::PlanVersionMigrationStatus }, optional: true, nullable: false
|
|
10
|
+
|
|
9
11
|
field :limit, -> { Integer }, optional: true, nullable: false
|
|
12
|
+
|
|
10
13
|
field :offset, -> { Integer }, optional: true, nullable: false
|
|
11
14
|
end
|
|
12
15
|
end
|
|
@@ -5,6 +5,7 @@ module Schematic
|
|
|
5
5
|
module Types
|
|
6
6
|
class ListMigrationsResponse < Internal::Types::Model
|
|
7
7
|
field :data, -> { Internal::Types::Array[Schematic::Types::PlanVersionMigrationResponseData] }, optional: false, nullable: false
|
|
8
|
+
|
|
8
9
|
field :params, -> { Schematic::Planmigrations::Types::ListMigrationsParams }, optional: false, nullable: false
|
|
9
10
|
end
|
|
10
11
|
end
|
|
@@ -4,9 +4,14 @@ module Schematic
|
|
|
4
4
|
module Planmigrations
|
|
5
5
|
module Types
|
|
6
6
|
class PreviewMigrationRequestBody < Internal::Types::Model
|
|
7
|
-
field :company_ids, -> { Internal::Types::Array[String] }, optional:
|
|
7
|
+
field :company_ids, -> { Internal::Types::Array[String] }, optional: true, nullable: false
|
|
8
|
+
|
|
8
9
|
field :plan_id, -> { String }, optional: false, nullable: false
|
|
10
|
+
|
|
9
11
|
field :plan_version_id_to, -> { String }, optional: false, nullable: false
|
|
12
|
+
|
|
13
|
+
field :plan_version_ids_from, -> { Internal::Types::Array[String] }, optional: true, nullable: false
|
|
14
|
+
|
|
10
15
|
field :target_plan_type, -> { Schematic::Types::PlanType }, optional: false, nullable: false
|
|
11
16
|
end
|
|
12
17
|
end
|
|
@@ -5,6 +5,7 @@ module Schematic
|
|
|
5
5
|
module Types
|
|
6
6
|
class PreviewMigrationResponse < Internal::Types::Model
|
|
7
7
|
field :data, -> { Schematic::Types::PlanVersionMigrationPreviewResponseData }, optional: false, nullable: false
|
|
8
|
+
|
|
8
9
|
field :params, -> { Internal::Types::Hash[String, Object] }, optional: false, nullable: false
|
|
9
10
|
end
|
|
10
11
|
end
|
|
@@ -5,6 +5,7 @@ module Schematic
|
|
|
5
5
|
module Types
|
|
6
6
|
class RetryCompanyMigrationResponse < Internal::Types::Model
|
|
7
7
|
field :data, -> { Schematic::Types::PlanVersionCompanyMigrationResponseData }, optional: false, nullable: false
|
|
8
|
+
|
|
8
9
|
field :params, -> { Internal::Types::Hash[String, Object] }, optional: false, nullable: false
|
|
9
10
|
end
|
|
10
11
|
end
|
|
@@ -5,6 +5,7 @@ module Schematic
|
|
|
5
5
|
module Types
|
|
6
6
|
class RetryMigrationRequestBody < Internal::Types::Model
|
|
7
7
|
field :plan_version_migration_id, -> { String }, optional: false, nullable: false
|
|
8
|
+
|
|
8
9
|
field :error_codes, -> { Internal::Types::Array[Schematic::Types::MigrationErrorCode] }, optional: false, nullable: false
|
|
9
10
|
end
|
|
10
11
|
end
|
|
@@ -5,6 +5,7 @@ module Schematic
|
|
|
5
5
|
module Types
|
|
6
6
|
class RetryMigrationResponse < Internal::Types::Model
|
|
7
7
|
field :data, -> { Schematic::Types::PlanVersionMigrationResponseData }, optional: false, nullable: false
|
|
8
|
+
|
|
8
9
|
field :params, -> { Internal::Types::Hash[String, Object] }, optional: false, nullable: false
|
|
9
10
|
end
|
|
10
11
|
end
|