klaviyo-api-sdk 12.0.0 → 13.0.0
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/CHANGELOG.md +37 -0
- data/README.md +615 -335
- data/klaviyo-api-sdk.gemspec +2 -2
- data/lib/klaviyo-api-sdk/api/accounts_api.rb +7 -7
- data/lib/klaviyo-api-sdk/api/campaigns_api.rb +95 -95
- data/lib/klaviyo-api-sdk/api/catalogs_api.rb +920 -848
- data/lib/klaviyo-api-sdk/api/coupons_api.rb +72 -68
- data/lib/klaviyo-api-sdk/api/data_privacy_api.rb +2 -2
- data/lib/klaviyo-api-sdk/api/events_api.rb +39 -39
- data/lib/klaviyo-api-sdk/api/flows_api.rb +96 -96
- data/lib/klaviyo-api-sdk/api/forms_api.rb +105 -40
- data/lib/klaviyo-api-sdk/api/images_api.rb +16 -16
- data/lib/klaviyo-api-sdk/api/lists_api.rb +60 -60
- data/lib/klaviyo-api-sdk/api/metrics_api.rb +567 -41
- data/lib/klaviyo-api-sdk/api/profiles_api.rb +676 -109
- data/lib/klaviyo-api-sdk/api/reporting_api.rb +14 -14
- data/lib/klaviyo-api-sdk/api/reviews_api.rb +22 -22
- data/lib/klaviyo-api-sdk/api/segments_api.rb +54 -54
- data/lib/klaviyo-api-sdk/api/tags_api.rb +59 -59
- data/lib/klaviyo-api-sdk/api/templates_api.rb +39 -39
- data/lib/klaviyo-api-sdk/api/tracking_settings_api.rb +10 -10
- data/lib/klaviyo-api-sdk/api/web_feeds_api.rb +395 -0
- data/lib/klaviyo-api-sdk/api/webhooks_api.rb +16 -16
- data/lib/klaviyo-api-sdk/api_client.rb +2 -2
- data/lib/klaviyo-api-sdk/api_error.rb +1 -1
- data/lib/klaviyo-api-sdk/configuration.rb +1 -1
- data/lib/klaviyo-api-sdk/models/ab_test_action.rb +7 -3
- data/lib/klaviyo-api-sdk/models/ab_test_action_data.rb +304 -0
- data/lib/klaviyo-api-sdk/models/ab_test_action_data_current_experiment.rb +333 -0
- data/lib/klaviyo-api-sdk/models/{union_positive_numeric_filter_operator.rb → ab_test_action_data_main_action.rb} +4 -4
- data/lib/klaviyo-api-sdk/models/ab_test_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/alltime_date_filter.rb +1 -1
- data/lib/klaviyo-api-sdk/models/anniversary_date_filter.rb +1 -1
- data/lib/klaviyo-api-sdk/models/any_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/api_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/api_method_filter.rb +1 -1
- data/lib/klaviyo-api-sdk/models/audiences.rb +1 -1
- data/lib/klaviyo-api-sdk/models/audiences_update.rb +1 -1
- data/lib/klaviyo-api-sdk/models/automatic_winner_selection_settings.rb +248 -0
- data/lib/klaviyo-api-sdk/models/back_in_stock_delay_action.rb +1 -1
- data/lib/klaviyo-api-sdk/models/back_in_stock_delay_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/back_in_stock_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/back_in_stock_method_filter.rb +1 -1
- data/lib/klaviyo-api-sdk/models/back_in_stock_subscription_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/base_event_create_query_bulk_entry_resource_object.rb +238 -0
- data/lib/klaviyo-api-sdk/models/{base_event_create_query_resource_object_attributes.rb → base_event_create_query_bulk_entry_resource_object_attributes.rb} +20 -20
- data/lib/klaviyo-api-sdk/models/block_display_options.rb +1 -1
- data/lib/klaviyo-api-sdk/models/block_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/boolean_branch_links.rb +1 -1
- data/lib/klaviyo-api-sdk/models/boolean_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/boolean_filter.rb +1 -1
- data/lib/klaviyo-api-sdk/models/bounce_date_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/bounce_date_filter.rb +1 -1
- data/lib/klaviyo-api-sdk/models/bounce_date_filter_filter.rb +1 -1
- data/lib/klaviyo-api-sdk/models/branch_action.rb +1 -1
- data/lib/klaviyo-api-sdk/models/branch_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/bulk_remove_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/bulk_remove_method_filter.rb +1 -1
- data/lib/klaviyo-api-sdk/models/calendar_date_filter.rb +1 -1
- data/lib/klaviyo-api-sdk/models/campaign_clone_query.rb +1 -1
- data/lib/klaviyo-api-sdk/models/campaign_clone_query_resource_object.rb +1 -1
- data/lib/klaviyo-api-sdk/models/campaign_clone_query_resource_object_attributes.rb +1 -1
- data/lib/klaviyo-api-sdk/models/campaign_create_query.rb +1 -1
- data/lib/klaviyo-api-sdk/models/campaign_create_query_resource_object.rb +1 -1
- data/lib/klaviyo-api-sdk/models/campaign_create_query_resource_object_attributes.rb +1 -1
- data/lib/klaviyo-api-sdk/models/campaign_create_query_resource_object_attributes_campaign_messages.rb +1 -1
- data/lib/klaviyo-api-sdk/models/campaign_create_query_resource_object_attributes_send_options.rb +1 -1
- data/lib/klaviyo-api-sdk/models/campaign_create_query_resource_object_attributes_send_strategy.rb +1 -1
- data/lib/klaviyo-api-sdk/models/campaign_create_query_resource_object_attributes_tracking_options.rb +3 -3
- data/lib/klaviyo-api-sdk/models/campaign_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/campaign_message_assign_template_query.rb +1 -1
- data/lib/klaviyo-api-sdk/models/campaign_message_assign_template_query_resource_object.rb +1 -1
- data/lib/klaviyo-api-sdk/models/campaign_message_assign_template_query_resource_object_relationships.rb +1 -1
- data/lib/klaviyo-api-sdk/models/campaign_message_assign_template_query_resource_object_relationships_template.rb +1 -1
- data/lib/klaviyo-api-sdk/models/campaign_message_assign_template_query_resource_object_relationships_template_data.rb +1 -1
- data/lib/klaviyo-api-sdk/models/campaign_message_create_query_resource_object.rb +1 -1
- data/lib/klaviyo-api-sdk/models/campaign_message_create_query_resource_object_attributes.rb +1 -1
- data/lib/klaviyo-api-sdk/models/campaign_message_create_query_resource_object_attributes_definition.rb +2 -1
- data/lib/klaviyo-api-sdk/models/campaign_message_create_query_resource_object_relationships.rb +1 -1
- data/lib/klaviyo-api-sdk/models/campaign_message_create_query_resource_object_relationships_image.rb +1 -1
- data/lib/klaviyo-api-sdk/models/campaign_message_create_query_resource_object_relationships_image_data.rb +1 -1
- data/lib/klaviyo-api-sdk/models/campaign_message_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/campaign_message_image_update_query.rb +1 -1
- data/lib/klaviyo-api-sdk/models/campaign_message_image_update_query_data.rb +1 -1
- data/lib/klaviyo-api-sdk/models/campaign_message_partial_update_query.rb +1 -1
- data/lib/klaviyo-api-sdk/models/campaign_message_partial_update_query_resource_object.rb +1 -1
- data/lib/klaviyo-api-sdk/models/campaign_message_partial_update_query_resource_object_attributes.rb +1 -1
- data/lib/klaviyo-api-sdk/models/campaign_message_partial_update_query_resource_object_attributes_definition.rb +2 -1
- data/lib/klaviyo-api-sdk/models/campaign_partial_update_query.rb +1 -1
- data/lib/klaviyo-api-sdk/models/campaign_partial_update_query_resource_object.rb +1 -1
- data/lib/klaviyo-api-sdk/models/campaign_partial_update_query_resource_object_attributes.rb +1 -1
- data/lib/klaviyo-api-sdk/models/campaign_partial_update_query_resource_object_attributes_send_strategy.rb +1 -1
- data/lib/klaviyo-api-sdk/models/campaign_recipient_estimation_job_create_query.rb +1 -1
- data/lib/klaviyo-api-sdk/models/campaign_recipient_estimation_job_create_query_resource_object.rb +1 -1
- data/lib/klaviyo-api-sdk/models/campaign_recipient_estimation_job_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/campaign_send_job_create_query.rb +1 -1
- data/lib/klaviyo-api-sdk/models/campaign_send_job_create_query_resource_object.rb +1 -1
- data/lib/klaviyo-api-sdk/models/campaign_send_job_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/campaign_send_job_partial_update_query.rb +1 -1
- data/lib/klaviyo-api-sdk/models/campaign_send_job_partial_update_query_resource_object.rb +1 -1
- data/lib/klaviyo-api-sdk/models/campaign_send_job_partial_update_query_resource_object_attributes.rb +1 -1
- data/lib/klaviyo-api-sdk/models/campaign_tracking_setting_dynamic_param.rb +1 -1
- data/lib/klaviyo-api-sdk/models/campaign_tracking_setting_static_param.rb +1 -1
- data/lib/klaviyo-api-sdk/models/campaign_values_report_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/campaign_values_request_dto.rb +1 -1
- data/lib/klaviyo-api-sdk/models/campaign_values_request_dto_resource_object.rb +1 -1
- data/lib/klaviyo-api-sdk/models/campaign_values_request_dto_resource_object_attributes.rb +2 -2
- data/lib/klaviyo-api-sdk/models/campaign_values_request_dto_resource_object_attributes_timeframe.rb +1 -1
- data/lib/klaviyo-api-sdk/models/{email_tracking_options.rb → campaigns_email_tracking_options.rb} +38 -50
- data/lib/klaviyo-api-sdk/models/campaigns_email_tracking_options_custom_tracking_params_inner.rb +105 -0
- data/lib/klaviyo-api-sdk/models/campaigns_sms_tracking_options.rb +234 -0
- data/lib/klaviyo-api-sdk/models/carrier_deactivation_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/carrier_deactivation_method_filter.rb +1 -1
- data/lib/klaviyo-api-sdk/models/catalog_category_bulk_create_job_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/catalog_category_bulk_delete_job_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/catalog_category_bulk_update_job_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/catalog_category_create_job_create_query.rb +1 -1
- data/lib/klaviyo-api-sdk/models/catalog_category_create_job_create_query_resource_object.rb +1 -1
- data/lib/klaviyo-api-sdk/models/catalog_category_create_job_create_query_resource_object_attributes.rb +1 -1
- data/lib/klaviyo-api-sdk/models/catalog_category_create_job_create_query_resource_object_attributes_categories.rb +1 -1
- data/lib/klaviyo-api-sdk/models/catalog_category_create_query.rb +1 -1
- data/lib/klaviyo-api-sdk/models/catalog_category_create_query_resource_object.rb +1 -1
- data/lib/klaviyo-api-sdk/models/catalog_category_create_query_resource_object_attributes.rb +1 -1
- data/lib/klaviyo-api-sdk/models/catalog_category_create_query_resource_object_relationships.rb +1 -1
- data/lib/klaviyo-api-sdk/models/catalog_category_create_query_resource_object_relationships_items.rb +1 -1
- data/lib/klaviyo-api-sdk/models/catalog_category_delete_job_create_query.rb +1 -1
- data/lib/klaviyo-api-sdk/models/catalog_category_delete_job_create_query_resource_object.rb +1 -1
- data/lib/klaviyo-api-sdk/models/catalog_category_delete_job_create_query_resource_object_attributes.rb +1 -1
- data/lib/klaviyo-api-sdk/models/catalog_category_delete_job_create_query_resource_object_attributes_categories.rb +1 -1
- data/lib/klaviyo-api-sdk/models/catalog_category_delete_query_resource_object.rb +1 -1
- data/lib/klaviyo-api-sdk/models/catalog_category_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/catalog_category_item_op.rb +1 -1
- data/lib/klaviyo-api-sdk/models/catalog_category_item_op_data_inner.rb +1 -1
- data/lib/klaviyo-api-sdk/models/catalog_category_update_job_create_query.rb +1 -1
- data/lib/klaviyo-api-sdk/models/catalog_category_update_job_create_query_resource_object.rb +1 -1
- data/lib/klaviyo-api-sdk/models/catalog_category_update_job_create_query_resource_object_attributes.rb +1 -1
- data/lib/klaviyo-api-sdk/models/catalog_category_update_job_create_query_resource_object_attributes_categories.rb +1 -1
- data/lib/klaviyo-api-sdk/models/catalog_category_update_query.rb +1 -1
- data/lib/klaviyo-api-sdk/models/catalog_category_update_query_resource_object.rb +1 -1
- data/lib/klaviyo-api-sdk/models/catalog_category_update_query_resource_object_attributes.rb +1 -1
- data/lib/klaviyo-api-sdk/models/catalog_item_bulk_create_job_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/catalog_item_bulk_delete_job_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/catalog_item_bulk_update_job_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/catalog_item_category_op.rb +1 -1
- data/lib/klaviyo-api-sdk/models/catalog_item_create_job_create_query.rb +1 -1
- data/lib/klaviyo-api-sdk/models/catalog_item_create_job_create_query_resource_object.rb +1 -1
- data/lib/klaviyo-api-sdk/models/catalog_item_create_job_create_query_resource_object_attributes.rb +1 -1
- data/lib/klaviyo-api-sdk/models/catalog_item_create_job_create_query_resource_object_attributes_items.rb +1 -1
- data/lib/klaviyo-api-sdk/models/catalog_item_create_query.rb +1 -1
- data/lib/klaviyo-api-sdk/models/catalog_item_create_query_resource_object.rb +1 -1
- data/lib/klaviyo-api-sdk/models/catalog_item_create_query_resource_object_attributes.rb +1 -1
- data/lib/klaviyo-api-sdk/models/catalog_item_create_query_resource_object_relationships.rb +1 -1
- data/lib/klaviyo-api-sdk/models/catalog_item_create_query_resource_object_relationships_categories.rb +1 -1
- data/lib/klaviyo-api-sdk/models/catalog_item_create_query_resource_object_relationships_categories_data_inner.rb +1 -1
- data/lib/klaviyo-api-sdk/models/catalog_item_delete_job_create_query.rb +1 -1
- data/lib/klaviyo-api-sdk/models/catalog_item_delete_job_create_query_resource_object.rb +1 -1
- data/lib/klaviyo-api-sdk/models/catalog_item_delete_job_create_query_resource_object_attributes.rb +1 -1
- data/lib/klaviyo-api-sdk/models/catalog_item_delete_job_create_query_resource_object_attributes_items.rb +1 -1
- data/lib/klaviyo-api-sdk/models/catalog_item_delete_query_resource_object.rb +1 -1
- data/lib/klaviyo-api-sdk/models/catalog_item_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/catalog_item_update_job_create_query.rb +1 -1
- data/lib/klaviyo-api-sdk/models/catalog_item_update_job_create_query_resource_object.rb +1 -1
- data/lib/klaviyo-api-sdk/models/catalog_item_update_job_create_query_resource_object_attributes.rb +1 -1
- data/lib/klaviyo-api-sdk/models/catalog_item_update_job_create_query_resource_object_attributes_items.rb +1 -1
- data/lib/klaviyo-api-sdk/models/catalog_item_update_query.rb +1 -1
- data/lib/klaviyo-api-sdk/models/catalog_item_update_query_resource_object.rb +1 -1
- data/lib/klaviyo-api-sdk/models/catalog_item_update_query_resource_object_attributes.rb +1 -1
- data/lib/klaviyo-api-sdk/models/catalog_variant_bulk_create_job_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/catalog_variant_bulk_delete_job_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/catalog_variant_bulk_update_job_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/catalog_variant_create_job_create_query.rb +1 -1
- data/lib/klaviyo-api-sdk/models/catalog_variant_create_job_create_query_resource_object.rb +1 -1
- data/lib/klaviyo-api-sdk/models/catalog_variant_create_job_create_query_resource_object_attributes.rb +1 -1
- data/lib/klaviyo-api-sdk/models/catalog_variant_create_job_create_query_resource_object_attributes_variants.rb +1 -1
- data/lib/klaviyo-api-sdk/models/catalog_variant_create_query.rb +1 -1
- data/lib/klaviyo-api-sdk/models/catalog_variant_create_query_resource_object.rb +1 -1
- data/lib/klaviyo-api-sdk/models/catalog_variant_create_query_resource_object_attributes.rb +1 -1
- data/lib/klaviyo-api-sdk/models/catalog_variant_create_query_resource_object_relationships.rb +1 -1
- data/lib/klaviyo-api-sdk/models/catalog_variant_create_query_resource_object_relationships_item.rb +1 -1
- data/lib/klaviyo-api-sdk/models/catalog_variant_create_query_resource_object_relationships_item_data.rb +1 -1
- data/lib/klaviyo-api-sdk/models/catalog_variant_delete_job_create_query.rb +1 -1
- data/lib/klaviyo-api-sdk/models/catalog_variant_delete_job_create_query_resource_object.rb +1 -1
- data/lib/klaviyo-api-sdk/models/catalog_variant_delete_job_create_query_resource_object_attributes.rb +1 -1
- data/lib/klaviyo-api-sdk/models/catalog_variant_delete_job_create_query_resource_object_attributes_variants.rb +1 -1
- data/lib/klaviyo-api-sdk/models/catalog_variant_delete_query_resource_object.rb +1 -1
- data/lib/klaviyo-api-sdk/models/catalog_variant_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/catalog_variant_update_job_create_query.rb +1 -1
- data/lib/klaviyo-api-sdk/models/catalog_variant_update_job_create_query_resource_object.rb +1 -1
- data/lib/klaviyo-api-sdk/models/catalog_variant_update_job_create_query_resource_object_attributes.rb +1 -1
- data/lib/klaviyo-api-sdk/models/catalog_variant_update_job_create_query_resource_object_attributes_variants.rb +1 -1
- data/lib/klaviyo-api-sdk/models/catalog_variant_update_query.rb +1 -1
- data/lib/klaviyo-api-sdk/models/catalog_variant_update_query_resource_object.rb +1 -1
- data/lib/klaviyo-api-sdk/models/catalog_variant_update_query_resource_object_attributes.rb +1 -1
- data/lib/klaviyo-api-sdk/models/checkout_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/checkout_method_filter.rb +1 -1
- data/lib/klaviyo-api-sdk/models/code_action.rb +1 -1
- data/lib/klaviyo-api-sdk/models/code_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/condition_group.rb +1 -1
- data/lib/klaviyo-api-sdk/models/condition_group_conditions_inner.rb +3 -3
- data/lib/klaviyo-api-sdk/models/conditional_branch_action.rb +1 -1
- data/lib/klaviyo-api-sdk/models/conditional_branch_action_data.rb +3 -7
- data/lib/klaviyo-api-sdk/models/conditional_branch_action_data_profile_filter.rb +226 -0
- data/lib/klaviyo-api-sdk/models/conditional_branch_action_data_profile_filter_condition_groups_inner.rb +226 -0
- data/lib/klaviyo-api-sdk/models/conditional_branch_action_data_profile_filter_condition_groups_inner_conditions_inner.rb +113 -0
- data/lib/klaviyo-api-sdk/models/conditional_split_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/constant_contact_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/constant_contact_integration_filter.rb +1 -1
- data/lib/klaviyo-api-sdk/models/constant_contact_integration_method_filter.rb +1 -1
- data/lib/klaviyo-api-sdk/models/content_repeat.rb +1 -1
- data/lib/klaviyo-api-sdk/models/countdown_delay_action.rb +1 -1
- data/lib/klaviyo-api-sdk/models/countdown_delay_action_data.rb +3 -3
- data/lib/klaviyo-api-sdk/models/countdown_delay_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/coupon_code_bulk_create_job_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/coupon_code_create_job_create_query.rb +1 -1
- data/lib/klaviyo-api-sdk/models/coupon_code_create_job_create_query_resource_object.rb +1 -1
- data/lib/klaviyo-api-sdk/models/coupon_code_create_job_create_query_resource_object_attributes.rb +1 -1
- data/lib/klaviyo-api-sdk/models/coupon_code_create_job_create_query_resource_object_attributes_coupon_codes.rb +1 -1
- data/lib/klaviyo-api-sdk/models/coupon_code_create_query.rb +1 -1
- data/lib/klaviyo-api-sdk/models/coupon_code_create_query_resource_object.rb +1 -1
- data/lib/klaviyo-api-sdk/models/coupon_code_create_query_resource_object_attributes.rb +1 -1
- data/lib/klaviyo-api-sdk/models/coupon_code_create_query_resource_object_relationships.rb +1 -1
- data/lib/klaviyo-api-sdk/models/coupon_code_create_query_resource_object_relationships_coupon.rb +1 -1
- data/lib/klaviyo-api-sdk/models/coupon_code_create_query_resource_object_relationships_coupon_data.rb +1 -1
- data/lib/klaviyo-api-sdk/models/coupon_code_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/coupon_code_update_query.rb +1 -1
- data/lib/klaviyo-api-sdk/models/coupon_code_update_query_resource_object.rb +1 -1
- data/lib/klaviyo-api-sdk/models/coupon_code_update_query_resource_object_attributes.rb +1 -1
- data/lib/klaviyo-api-sdk/models/coupon_create_query.rb +1 -1
- data/lib/klaviyo-api-sdk/models/coupon_create_query_resource_object.rb +1 -1
- data/lib/klaviyo-api-sdk/models/coupon_create_query_resource_object_attributes.rb +1 -1
- data/lib/klaviyo-api-sdk/models/coupon_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/coupon_update_query.rb +1 -1
- data/lib/klaviyo-api-sdk/models/coupon_update_query_resource_object.rb +1 -1
- data/lib/klaviyo-api-sdk/models/coupon_update_query_resource_object_attributes.rb +1 -1
- data/lib/klaviyo-api-sdk/models/custom_metric_condition.rb +238 -0
- data/lib/klaviyo-api-sdk/models/custom_metric_condition_filter.rb +111 -0
- data/lib/klaviyo-api-sdk/models/custom_metric_create_query.rb +224 -0
- data/lib/klaviyo-api-sdk/models/custom_metric_create_query_resource_object.rb +238 -0
- data/lib/klaviyo-api-sdk/models/{sms_tracking_options.rb → custom_metric_create_query_resource_object_attributes.rb} +24 -25
- data/lib/klaviyo-api-sdk/models/custom_metric_definition.rb +275 -0
- data/lib/klaviyo-api-sdk/models/{custom_object_enum.rb → custom_metric_enum.rb} +5 -5
- data/lib/klaviyo-api-sdk/models/custom_metric_group.rb +249 -0
- data/lib/klaviyo-api-sdk/models/custom_metric_partial_update_query.rb +224 -0
- data/lib/klaviyo-api-sdk/models/{send_whats_app_action.rb → custom_metric_partial_update_query_resource_object.rb} +28 -39
- data/lib/klaviyo-api-sdk/models/{utm_param_info.rb → custom_metric_partial_update_query_resource_object_attributes.rb} +13 -21
- data/lib/klaviyo-api-sdk/models/custom_object_property_condition.rb +266 -0
- data/lib/klaviyo-api-sdk/models/custom_object_property_enum.rb +36 -0
- data/lib/klaviyo-api-sdk/models/custom_source_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/custom_source_filter.rb +1 -1
- data/lib/klaviyo-api-sdk/models/custom_timeframe.rb +1 -1
- data/lib/klaviyo-api-sdk/models/custom_tracking_param_dto.rb +1 -1
- data/lib/klaviyo-api-sdk/models/data_privacy_create_deletion_job_query.rb +1 -1
- data/lib/klaviyo-api-sdk/models/data_privacy_create_deletion_job_query_resource_object.rb +1 -1
- data/lib/klaviyo-api-sdk/models/data_privacy_create_deletion_job_query_resource_object_attributes.rb +1 -1
- data/lib/klaviyo-api-sdk/models/data_privacy_create_deletion_job_query_resource_object_attributes_profile.rb +1 -1
- data/lib/klaviyo-api-sdk/models/data_privacy_deletion_job_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/data_privacy_profile_query_resource_object.rb +1 -1
- data/lib/klaviyo-api-sdk/models/data_privacy_profile_query_resource_object_attributes.rb +1 -1
- data/lib/klaviyo-api-sdk/models/date_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/deep_link_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/device_metadata.rb +1 -1
- data/lib/klaviyo-api-sdk/models/double_optin_filter.rb +1 -1
- data/lib/klaviyo-api-sdk/models/dynamic_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/dynamic_tracking_param.rb +288 -0
- data/lib/klaviyo-api-sdk/models/email_content.rb +1 -1
- data/lib/klaviyo-api-sdk/models/email_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/email_message_definition.rb +1 -1
- data/lib/klaviyo-api-sdk/models/email_send_options.rb +1 -1
- data/lib/klaviyo-api-sdk/models/email_subscription_parameters.rb +1 -1
- data/lib/klaviyo-api-sdk/models/email_unsubscription_parameters.rb +1 -1
- data/lib/klaviyo-api-sdk/models/equals_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/equals_string_filter.rb +1 -1
- data/lib/klaviyo-api-sdk/models/event_bulk_create_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/event_bulk_create_job_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/event_create_query_v2.rb +1 -1
- data/lib/klaviyo-api-sdk/models/event_create_query_v2_resource_object.rb +1 -1
- data/lib/klaviyo-api-sdk/models/event_create_query_v2_resource_object_attributes.rb +2 -2
- data/lib/klaviyo-api-sdk/models/event_create_query_v2_resource_object_attributes_metric.rb +1 -1
- data/lib/klaviyo-api-sdk/models/event_create_query_v2_resource_object_attributes_profile.rb +1 -1
- data/lib/klaviyo-api-sdk/models/event_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/event_profile_create_query_resource_object.rb +1 -1
- data/lib/klaviyo-api-sdk/models/event_profile_create_query_resource_object_attributes.rb +1 -1
- data/lib/klaviyo-api-sdk/models/events_bulk_create_job.rb +1 -1
- data/lib/klaviyo-api-sdk/models/events_bulk_create_job_resource_object.rb +1 -1
- data/lib/klaviyo-api-sdk/models/events_bulk_create_job_resource_object_attributes.rb +1 -1
- data/lib/klaviyo-api-sdk/models/events_bulk_create_job_resource_object_attributes_events_bulk_create.rb +1 -1
- data/lib/klaviyo-api-sdk/models/events_bulk_create_query_resource_object.rb +1 -1
- data/lib/klaviyo-api-sdk/models/events_bulk_create_query_resource_object_attributes.rb +1 -1
- data/lib/klaviyo-api-sdk/models/events_bulk_create_query_resource_object_attributes_events.rb +2 -2
- data/lib/klaviyo-api-sdk/models/events_bulk_create_query_resource_object_attributes_profile.rb +1 -1
- data/lib/klaviyo-api-sdk/models/existence_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/existence_operator_filter.rb +1 -1
- data/lib/klaviyo-api-sdk/models/failed_age_gate_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/failed_age_gate_method_filter.rb +1 -1
- data/lib/klaviyo-api-sdk/models/fake_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/false_or_misleading_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/featured_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/flow_create_query.rb +1 -1
- data/lib/klaviyo-api-sdk/models/flow_create_query_resource_object.rb +1 -1
- data/lib/klaviyo-api-sdk/models/flow_create_query_resource_object_attributes.rb +1 -1
- data/lib/klaviyo-api-sdk/models/flow_definition.rb +3 -7
- data/lib/klaviyo-api-sdk/models/flow_definition_actions_inner.rb +1 -2
- data/lib/klaviyo-api-sdk/models/flow_definition_profile_filter.rb +227 -0
- data/lib/klaviyo-api-sdk/models/flow_definition_profile_filter_condition_groups_inner.rb +226 -0
- data/lib/klaviyo-api-sdk/models/{union_condition_group_conditions_inner.rb → flow_definition_profile_filter_condition_groups_inner_conditions_inner.rb} +3 -3
- data/lib/klaviyo-api-sdk/models/flow_definition_triggers_inner.rb +1 -3
- data/lib/klaviyo-api-sdk/models/flow_email.rb +3 -2
- data/lib/klaviyo-api-sdk/models/flow_email_additional_filters.rb +226 -0
- data/lib/klaviyo-api-sdk/models/flow_email_additional_filters_condition_groups_inner.rb +226 -0
- data/lib/klaviyo-api-sdk/models/flow_email_additional_filters_condition_groups_inner_conditions_inner.rb +114 -0
- data/lib/klaviyo-api-sdk/models/flow_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/flow_internal_alert.rb +1 -1
- data/lib/klaviyo-api-sdk/models/flow_push_notification.rb +3 -2
- data/lib/klaviyo-api-sdk/models/flow_push_notification_additional_filters.rb +226 -0
- data/lib/klaviyo-api-sdk/models/flow_push_notification_additional_filters_condition_groups_inner.rb +226 -0
- data/lib/klaviyo-api-sdk/models/flow_push_notification_additional_filters_condition_groups_inner_conditions_inner.rb +114 -0
- data/lib/klaviyo-api-sdk/models/flow_series_report_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/flow_series_request_dto.rb +1 -1
- data/lib/klaviyo-api-sdk/models/flow_series_request_dto_resource_object.rb +1 -1
- data/lib/klaviyo-api-sdk/models/flow_series_request_dto_resource_object_attributes.rb +2 -2
- data/lib/klaviyo-api-sdk/models/flow_sms.rb +3 -2
- data/lib/klaviyo-api-sdk/models/{union_filter.rb → flow_sms_additional_filters.rb} +5 -5
- data/lib/klaviyo-api-sdk/models/{union_condition_group.rb → flow_sms_additional_filters_condition_groups_inner.rb} +5 -5
- data/lib/klaviyo-api-sdk/models/flow_sms_additional_filters_condition_groups_inner_conditions_inner.rb +114 -0
- data/lib/klaviyo-api-sdk/models/flow_tracking_setting_dynamic_param.rb +1 -1
- data/lib/klaviyo-api-sdk/models/flow_tracking_setting_static_param.rb +1 -1
- data/lib/klaviyo-api-sdk/models/flow_update_query.rb +1 -1
- data/lib/klaviyo-api-sdk/models/flow_update_query_resource_object.rb +1 -1
- data/lib/klaviyo-api-sdk/models/flow_update_query_resource_object_attributes.rb +1 -1
- data/lib/klaviyo-api-sdk/models/flow_values_report_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/flow_values_request_dto.rb +1 -1
- data/lib/klaviyo-api-sdk/models/flow_values_request_dto_resource_object.rb +1 -1
- data/lib/klaviyo-api-sdk/models/flow_values_request_dto_resource_object_attributes.rb +2 -2
- data/lib/klaviyo-api-sdk/models/flow_webhook.rb +1 -1
- data/lib/klaviyo-api-sdk/models/{profile_metric_condition.rb → flows_profile_metric_condition.rb} +5 -5
- data/lib/klaviyo-api-sdk/models/flows_profile_metric_condition_timeframe_filter.rb +110 -0
- data/lib/klaviyo-api-sdk/models/form_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/form_method_filter.rb +1 -1
- data/lib/klaviyo-api-sdk/models/form_series_report_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/form_series_request_dto.rb +1 -1
- data/lib/klaviyo-api-sdk/models/form_series_request_dto_resource_object.rb +1 -1
- data/lib/klaviyo-api-sdk/models/form_series_request_dto_resource_object_attributes.rb +1 -1
- data/lib/klaviyo-api-sdk/models/form_values_report_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/form_values_request_dto.rb +1 -1
- data/lib/klaviyo-api-sdk/models/form_values_request_dto_resource_object.rb +1 -1
- data/lib/klaviyo-api-sdk/models/form_values_request_dto_resource_object_attributes.rb +1 -1
- data/lib/klaviyo-api-sdk/models/get_accounts4_xx_response.rb +1 -1
- data/lib/klaviyo-api-sdk/models/get_accounts4_xx_response_errors_inner.rb +1 -1
- data/lib/klaviyo-api-sdk/models/get_accounts4_xx_response_errors_inner_source.rb +1 -1
- data/lib/klaviyo-api-sdk/models/greater_than_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/{union_positive_numeric_filter.rb → greater_than_positive_numeric_filter.rb} +5 -5
- data/lib/klaviyo-api-sdk/models/has_email_marketing.rb +15 -5
- data/lib/klaviyo-api-sdk/models/has_email_marketing_consent.rb +1 -1
- data/lib/klaviyo-api-sdk/models/has_email_marketing_consent_consent_status.rb +1 -1
- data/lib/klaviyo-api-sdk/models/has_email_marketing_never_subscribed.rb +15 -5
- data/lib/klaviyo-api-sdk/models/has_email_marketing_subscribed.rb +1 -1
- data/lib/klaviyo-api-sdk/models/has_email_marketing_subscribed_filters_inner.rb +1 -1
- data/lib/klaviyo-api-sdk/models/has_push_marketing.rb +1 -1
- data/lib/klaviyo-api-sdk/models/has_push_marketing_consent.rb +1 -1
- data/lib/klaviyo-api-sdk/models/has_sms_marketing_consent.rb +1 -1
- data/lib/klaviyo-api-sdk/models/has_sms_marketing_subscribed.rb +1 -1
- data/lib/klaviyo-api-sdk/models/has_sms_marketing_subscribed_filters_inner.rb +1 -1
- data/lib/klaviyo-api-sdk/models/html_block.rb +1 -1
- data/lib/klaviyo-api-sdk/models/html_block_data.rb +1 -1
- data/lib/klaviyo-api-sdk/models/html_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/image_create_query.rb +1 -1
- data/lib/klaviyo-api-sdk/models/image_create_query_resource_object.rb +1 -1
- data/lib/klaviyo-api-sdk/models/image_create_query_resource_object_attributes.rb +1 -1
- data/lib/klaviyo-api-sdk/models/image_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/image_partial_update_query.rb +1 -1
- data/lib/klaviyo-api-sdk/models/image_partial_update_query_resource_object.rb +1 -1
- data/lib/klaviyo-api-sdk/models/image_partial_update_query_resource_object_attributes.rb +1 -1
- data/lib/klaviyo-api-sdk/models/immediate_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/immediate_send_strategy.rb +1 -1
- data/lib/klaviyo-api-sdk/models/in_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/in_string_array_filter.rb +1 -1
- data/lib/klaviyo-api-sdk/models/in_the_last_base_relative_date_filter.rb +1 -1
- data/lib/klaviyo-api-sdk/models/in_the_last_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/inbound_message_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/inbound_message_method_filter.rb +1 -1
- data/lib/klaviyo-api-sdk/models/{send_whats_app_action_data.rb → increment.rb} +22 -35
- data/lib/klaviyo-api-sdk/models/integration_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/internal_service_action.rb +1 -1
- data/lib/klaviyo-api-sdk/models/internal_service_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/invalid_email_date_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/invalid_email_date_filter.rb +1 -1
- data/lib/klaviyo-api-sdk/models/is_double_opt_in_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/is_set_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/is_set_existence_filter.rb +1 -1
- data/lib/klaviyo-api-sdk/models/less_than_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/less_than_positive_numeric_filter.rb +252 -0
- data/lib/klaviyo-api-sdk/models/link.rb +1 -1
- data/lib/klaviyo-api-sdk/models/list_contains_operator_filter.rb +1 -1
- data/lib/klaviyo-api-sdk/models/list_contains_operator_filter_value.rb +1 -1
- data/lib/klaviyo-api-sdk/models/list_create_query.rb +1 -1
- data/lib/klaviyo-api-sdk/models/list_create_query_resource_object.rb +1 -1
- data/lib/klaviyo-api-sdk/models/list_create_query_resource_object_attributes.rb +1 -1
- data/lib/klaviyo-api-sdk/models/list_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/list_length_filter.rb +1 -1
- data/lib/klaviyo-api-sdk/models/list_members_add_query.rb +1 -1
- data/lib/klaviyo-api-sdk/models/list_members_add_query_data_inner.rb +1 -1
- data/lib/klaviyo-api-sdk/models/list_members_delete_query.rb +1 -1
- data/lib/klaviyo-api-sdk/models/list_partial_update_query.rb +1 -1
- data/lib/klaviyo-api-sdk/models/list_partial_update_query_resource_object.rb +1 -1
- data/lib/klaviyo-api-sdk/models/list_regex_operator_contains_filter.rb +283 -0
- data/lib/klaviyo-api-sdk/models/list_set_filter.rb +1 -1
- data/lib/klaviyo-api-sdk/models/list_substring_filter.rb +1 -1
- data/lib/klaviyo-api-sdk/models/list_trigger.rb +1 -1
- data/lib/klaviyo-api-sdk/models/list_update_action.rb +1 -1
- data/lib/klaviyo-api-sdk/models/list_update_action_data.rb +30 -6
- data/lib/klaviyo-api-sdk/models/list_update_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/local_static_send.rb +1 -1
- data/lib/klaviyo-api-sdk/models/low_inventory_condition.rb +1 -1
- data/lib/klaviyo-api-sdk/models/low_inventory_condition_filter.rb +1 -1
- data/lib/klaviyo-api-sdk/models/low_inventory_condition_group.rb +1 -1
- data/lib/klaviyo-api-sdk/models/low_inventory_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/low_inventory_property_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/low_inventory_trigger.rb +1 -1
- data/lib/klaviyo-api-sdk/models/mailbox_provider_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/mailbox_provider_method_filter.rb +1 -1
- data/lib/klaviyo-api-sdk/models/manual_add_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/manual_add_method_filter.rb +1 -1
- data/lib/klaviyo-api-sdk/models/manual_import_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/manual_import_method_filter.rb +1 -1
- data/lib/klaviyo-api-sdk/models/manual_remove_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/manual_remove_method_filter.rb +1 -1
- data/lib/klaviyo-api-sdk/models/manual_suppression_date_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/manual_suppression_date_filter.rb +1 -1
- data/lib/klaviyo-api-sdk/models/message_blocked_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/message_blocked_method_filter.rb +1 -1
- data/lib/klaviyo-api-sdk/models/method_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/metric_aggregate_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/metric_aggregate_query.rb +1 -1
- data/lib/klaviyo-api-sdk/models/metric_aggregate_query_resource_object.rb +1 -1
- data/lib/klaviyo-api-sdk/models/metric_aggregate_query_resource_object_attributes.rb +3 -3
- data/lib/klaviyo-api-sdk/models/metric_create_query_resource_object.rb +1 -1
- data/lib/klaviyo-api-sdk/models/metric_create_query_resource_object_attributes.rb +1 -1
- data/lib/klaviyo-api-sdk/models/metric_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/metric_property_condition.rb +1 -1
- data/lib/klaviyo-api-sdk/models/metric_property_condition_filter.rb +1 -1
- data/lib/klaviyo-api-sdk/models/metric_property_condition_group.rb +1 -1
- data/lib/klaviyo-api-sdk/models/metric_property_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/metric_trigger.rb +1 -1
- data/lib/klaviyo-api-sdk/models/mobile_push_badge.rb +15 -5
- data/lib/klaviyo-api-sdk/models/mobile_push_badge_badge_options.rb +107 -0
- data/lib/klaviyo-api-sdk/models/mobile_push_content_create.rb +1 -1
- data/lib/klaviyo-api-sdk/models/mobile_push_content_update.rb +1 -1
- data/lib/klaviyo-api-sdk/models/mobile_push_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/mobile_push_message_silent_definition_create.rb +244 -0
- data/lib/klaviyo-api-sdk/models/mobile_push_message_silent_definition_update.rb +243 -0
- data/lib/klaviyo-api-sdk/models/mobile_push_message_standard_definition_create.rb +25 -19
- data/lib/klaviyo-api-sdk/models/mobile_push_message_standard_definition_update.rb +22 -11
- data/lib/klaviyo-api-sdk/models/mobile_push_no_badge.rb +1 -1
- data/lib/klaviyo-api-sdk/models/mobile_push_options.rb +1 -1
- data/lib/klaviyo-api-sdk/models/mobile_push_options_badge.rb +1 -1
- data/lib/klaviyo-api-sdk/models/mobile_push_options_on_open.rb +1 -1
- data/lib/klaviyo-api-sdk/models/never_subscribed_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/no_email_marketing.rb +1 -1
- data/lib/klaviyo-api-sdk/models/no_email_marketing_consent.rb +1 -1
- data/lib/klaviyo-api-sdk/models/no_email_marketing_consent_consent_status.rb +1 -1
- data/lib/klaviyo-api-sdk/models/no_email_marketing_filters_inner.rb +1 -1
- data/lib/klaviyo-api-sdk/models/no_email_marketing_never_subscribed.rb +1 -1
- data/lib/klaviyo-api-sdk/models/no_email_marketing_subscribed.rb +1 -1
- data/lib/klaviyo-api-sdk/models/no_email_marketing_unsubscribed.rb +1 -1
- data/lib/klaviyo-api-sdk/models/no_email_marketing_unsubscribed_filters.rb +1 -1
- data/lib/klaviyo-api-sdk/models/no_email_marketing_unsubscribed_filters_one_of_inner.rb +1 -1
- data/lib/klaviyo-api-sdk/models/no_push_marketing.rb +1 -1
- data/lib/klaviyo-api-sdk/models/no_push_marketing_consent.rb +1 -1
- data/lib/klaviyo-api-sdk/models/no_sms_marketing.rb +1 -1
- data/lib/klaviyo-api-sdk/models/no_sms_marketing_consent.rb +1 -1
- data/lib/klaviyo-api-sdk/models/no_sms_marketing_consent_consent_status.rb +1 -1
- data/lib/klaviyo-api-sdk/models/no_sms_marketing_never_subscribed.rb +1 -1
- data/lib/klaviyo-api-sdk/models/no_sms_marketing_unsubscribed.rb +1 -1
- data/lib/klaviyo-api-sdk/models/no_sms_marketing_unsubscribed_filters_inner.rb +1 -1
- data/lib/klaviyo-api-sdk/models/non_local_static_send.rb +1 -1
- data/lib/klaviyo-api-sdk/models/not_equals_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/numeric_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/numeric_operator_filter.rb +1 -1
- data/lib/klaviyo-api-sdk/models/numeric_operator_filter_value.rb +1 -1
- data/lib/klaviyo-api-sdk/models/numeric_range_filter.rb +1 -1
- data/lib/klaviyo-api-sdk/models/onsite_profile_create_query_resource_object.rb +1 -1
- data/lib/klaviyo-api-sdk/models/onsite_profile_create_query_resource_object_attributes.rb +1 -1
- data/lib/klaviyo-api-sdk/models/onsite_profile_meta.rb +1 -1
- data/lib/klaviyo-api-sdk/models/open_app_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/other_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/pending_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/preference_page_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/preference_page_filter.rb +1 -1
- data/lib/klaviyo-api-sdk/models/preference_page_method_filter.rb +1 -1
- data/lib/klaviyo-api-sdk/models/price_drop_condition.rb +1 -1
- data/lib/klaviyo-api-sdk/models/price_drop_condition_filter.rb +1 -1
- data/lib/klaviyo-api-sdk/models/price_drop_condition_group.rb +1 -1
- data/lib/klaviyo-api-sdk/models/price_drop_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/price_drop_property_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/price_drop_trigger.rb +1 -1
- data/lib/klaviyo-api-sdk/models/private_information_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/profanity_or_inappropriate_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/profile_bulk_import_job_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/profile_create_query.rb +1 -1
- data/lib/klaviyo-api-sdk/models/profile_create_query_resource_object.rb +1 -1
- data/lib/klaviyo-api-sdk/models/profile_create_query_resource_object_attributes.rb +1 -1
- data/lib/klaviyo-api-sdk/models/profile_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/profile_group_membership_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/profile_has_group_membership_condition.rb +1 -1
- data/lib/klaviyo-api-sdk/models/profile_has_group_membership_condition_timeframe_filter.rb +1 -1
- data/lib/klaviyo-api-sdk/models/profile_has_not_received_email_message_condition.rb +238 -0
- data/lib/klaviyo-api-sdk/models/profile_has_not_received_push_message_condition.rb +238 -0
- data/lib/klaviyo-api-sdk/models/profile_has_not_received_sms_message_condition.rb +238 -0
- data/lib/klaviyo-api-sdk/models/profile_identifier_dto_resource_object.rb +1 -1
- data/lib/klaviyo-api-sdk/models/profile_identifier_dto_resource_object_attributes.rb +1 -1
- data/lib/klaviyo-api-sdk/models/profile_import_job_create_query.rb +1 -1
- data/lib/klaviyo-api-sdk/models/profile_import_job_create_query_resource_object.rb +1 -1
- data/lib/klaviyo-api-sdk/models/profile_import_job_create_query_resource_object_attributes.rb +1 -1
- data/lib/klaviyo-api-sdk/models/profile_import_job_create_query_resource_object_attributes_profiles.rb +1 -1
- data/lib/klaviyo-api-sdk/models/profile_import_job_create_query_resource_object_relationships.rb +1 -1
- data/lib/klaviyo-api-sdk/models/profile_import_job_create_query_resource_object_relationships_lists.rb +1 -1
- data/lib/klaviyo-api-sdk/models/profile_import_job_create_query_resource_object_relationships_lists_data_inner.rb +1 -1
- data/lib/klaviyo-api-sdk/models/profile_location.rb +1 -1
- data/lib/klaviyo-api-sdk/models/profile_location_latitude.rb +1 -1
- data/lib/klaviyo-api-sdk/models/profile_location_longitude.rb +1 -1
- data/lib/klaviyo-api-sdk/models/profile_marketing_consent_condition.rb +1 -1
- data/lib/klaviyo-api-sdk/models/profile_marketing_consent_condition_consent.rb +1 -1
- data/lib/klaviyo-api-sdk/models/profile_marketing_consent_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/profile_merge_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/profile_merge_query.rb +1 -1
- data/lib/klaviyo-api-sdk/models/profile_merge_query_resource_object.rb +1 -1
- data/lib/klaviyo-api-sdk/models/profile_merge_query_resource_object_relationships.rb +1 -1
- data/lib/klaviyo-api-sdk/models/profile_merge_query_resource_object_relationships_profiles.rb +1 -1
- data/lib/klaviyo-api-sdk/models/profile_merge_query_resource_object_relationships_profiles_data_inner.rb +1 -1
- data/lib/klaviyo-api-sdk/models/profile_meta.rb +1 -1
- data/lib/klaviyo-api-sdk/models/profile_meta_patch_properties.rb +1 -1
- data/lib/klaviyo-api-sdk/models/profile_meta_patch_properties_unset.rb +1 -1
- data/lib/klaviyo-api-sdk/models/profile_metric_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/profile_metric_property_filter.rb +1 -1
- data/lib/klaviyo-api-sdk/models/profile_metric_property_filter_filter.rb +1 -1
- data/lib/klaviyo-api-sdk/models/profile_no_group_membership_condition.rb +1 -1
- data/lib/klaviyo-api-sdk/models/profile_not_in_flow_condition.rb +1 -1
- data/lib/klaviyo-api-sdk/models/profile_not_in_flow_condition_timeframe_filter.rb +1 -1
- data/lib/klaviyo-api-sdk/models/profile_not_in_flow_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/profile_not_sent_email_enum.rb +36 -0
- data/lib/klaviyo-api-sdk/models/profile_not_sent_push_enum.rb +36 -0
- data/lib/klaviyo-api-sdk/models/profile_not_sent_sms_enum.rb +36 -0
- data/lib/klaviyo-api-sdk/models/profile_operation_delete.rb +1 -1
- data/lib/klaviyo-api-sdk/models/profile_operation_update_or_create_boolean.rb +1 -1
- data/lib/klaviyo-api-sdk/models/profile_operation_update_or_create_date.rb +1 -1
- data/lib/klaviyo-api-sdk/models/profile_operation_update_or_create_date_property_value.rb +1 -1
- data/lib/klaviyo-api-sdk/models/profile_operation_update_or_create_list.rb +2 -6
- data/lib/klaviyo-api-sdk/models/profile_operation_update_or_create_numeric.rb +1 -1
- data/lib/klaviyo-api-sdk/models/profile_operation_update_or_create_string.rb +1 -1
- data/lib/klaviyo-api-sdk/models/profile_partial_update_query.rb +1 -1
- data/lib/klaviyo-api-sdk/models/profile_partial_update_query_resource_object.rb +1 -1
- data/lib/klaviyo-api-sdk/models/profile_partial_update_query_resource_object_attributes.rb +1 -1
- data/lib/klaviyo-api-sdk/models/profile_postal_code_distance_condition.rb +2 -2
- data/lib/klaviyo-api-sdk/models/profile_postal_code_distance_condition_filter.rb +105 -0
- data/lib/klaviyo-api-sdk/models/profile_postal_code_distance_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/profile_predictive_analytics_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/profile_predictive_analytics_numeric_condition.rb +1 -1
- data/lib/klaviyo-api-sdk/models/profile_predictive_analytics_string_condition.rb +1 -1
- data/lib/klaviyo-api-sdk/models/profile_predictive_analytics_string_filter.rb +1 -1
- data/lib/klaviyo-api-sdk/models/profile_predictive_analytics_string_filter_operator.rb +1 -1
- data/lib/klaviyo-api-sdk/models/profile_property_condition.rb +1 -1
- data/lib/klaviyo-api-sdk/models/profile_property_condition_filter.rb +1 -1
- data/lib/klaviyo-api-sdk/models/profile_property_date_trigger.rb +8 -18
- data/lib/klaviyo-api-sdk/models/profile_property_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/profile_random_sample_condition.rb +1 -1
- data/lib/klaviyo-api-sdk/models/profile_region_condition.rb +1 -1
- data/lib/klaviyo-api-sdk/models/profile_region_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/profile_sample_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/profile_subscription_bulk_create_job_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/profile_subscription_bulk_delete_job_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/profile_subscription_create_query_resource_object.rb +1 -1
- data/lib/klaviyo-api-sdk/models/profile_subscription_create_query_resource_object_attributes.rb +1 -1
- data/lib/klaviyo-api-sdk/models/profile_subscription_delete_query_resource_object.rb +1 -1
- data/lib/klaviyo-api-sdk/models/profile_subscription_delete_query_resource_object_attributes.rb +1 -1
- data/lib/klaviyo-api-sdk/models/profile_suppression_bulk_create_job_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/profile_suppression_bulk_delete_job_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/profile_suppression_create_query_resource_object.rb +1 -1
- data/lib/klaviyo-api-sdk/models/profile_suppression_create_query_resource_object_attributes.rb +1 -1
- data/lib/klaviyo-api-sdk/models/profile_suppression_delete_query_resource_object.rb +1 -1
- data/lib/klaviyo-api-sdk/models/profile_suppression_delete_query_resource_object_attributes.rb +1 -1
- data/lib/klaviyo-api-sdk/models/profile_upsert_query.rb +1 -1
- data/lib/klaviyo-api-sdk/models/profile_upsert_query_resource_object.rb +1 -1
- data/lib/klaviyo-api-sdk/models/profile_upsert_query_resource_object_attributes.rb +1 -1
- data/lib/klaviyo-api-sdk/models/property.rb +272 -0
- data/lib/klaviyo-api-sdk/models/provided_landline_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/provided_landline_method_filter.rb +1 -1
- data/lib/klaviyo-api-sdk/models/provided_no_age_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/provided_no_age_method_filter.rb +1 -1
- data/lib/klaviyo-api-sdk/models/published_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/push_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/push_on_open_app.rb +1 -1
- data/lib/klaviyo-api-sdk/models/push_on_open_deep_link.rb +1 -1
- data/lib/klaviyo-api-sdk/models/push_profile_upsert_query_resource_object.rb +1 -1
- data/lib/klaviyo-api-sdk/models/push_profile_upsert_query_resource_object_attributes.rb +1 -1
- data/lib/klaviyo-api-sdk/models/push_send_options.rb +1 -1
- data/lib/klaviyo-api-sdk/models/push_token_create_query.rb +1 -1
- data/lib/klaviyo-api-sdk/models/push_token_create_query_resource_object.rb +1 -1
- data/lib/klaviyo-api-sdk/models/push_token_create_query_resource_object_attributes.rb +1 -1
- data/lib/klaviyo-api-sdk/models/push_token_create_query_resource_object_attributes_profile.rb +1 -1
- data/lib/klaviyo-api-sdk/models/push_token_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/reject_reason_fake.rb +1 -1
- data/lib/klaviyo-api-sdk/models/reject_reason_misleading.rb +1 -1
- data/lib/klaviyo-api-sdk/models/reject_reason_other.rb +1 -1
- data/lib/klaviyo-api-sdk/models/reject_reason_private_information.rb +1 -1
- data/lib/klaviyo-api-sdk/models/reject_reason_profanity.rb +1 -1
- data/lib/klaviyo-api-sdk/models/reject_reason_unrelated.rb +1 -1
- data/lib/klaviyo-api-sdk/models/rejected_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/relative_anniversary_date_filter.rb +1 -1
- data/lib/klaviyo-api-sdk/models/relative_date_operator_base_filter.rb +1 -1
- data/lib/klaviyo-api-sdk/models/relative_date_range_filter.rb +1 -1
- data/lib/klaviyo-api-sdk/models/render_options.rb +1 -1
- data/lib/klaviyo-api-sdk/models/review_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/review_patch_query.rb +1 -1
- data/lib/klaviyo-api-sdk/models/review_patch_query_resource_object.rb +1 -1
- data/lib/klaviyo-api-sdk/models/review_patch_query_resource_object_attributes.rb +1 -1
- data/lib/klaviyo-api-sdk/models/review_patch_query_resource_object_attributes_status.rb +1 -1
- data/lib/klaviyo-api-sdk/models/review_status_featured.rb +1 -1
- data/lib/klaviyo-api-sdk/models/review_status_pending.rb +1 -1
- data/lib/klaviyo-api-sdk/models/review_status_published.rb +1 -1
- data/lib/klaviyo-api-sdk/models/review_status_rejected.rb +1 -1
- data/lib/klaviyo-api-sdk/models/review_status_rejected_rejection_reason.rb +1 -1
- data/lib/klaviyo-api-sdk/models/review_status_unpublished.rb +1 -1
- data/lib/klaviyo-api-sdk/models/segment_create_query.rb +1 -1
- data/lib/klaviyo-api-sdk/models/segment_create_query_resource_object.rb +1 -1
- data/lib/klaviyo-api-sdk/models/segment_create_query_resource_object_attributes.rb +1 -1
- data/lib/klaviyo-api-sdk/models/segment_definition.rb +1 -1
- data/lib/klaviyo-api-sdk/models/segment_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/segment_partial_update_query.rb +1 -1
- data/lib/klaviyo-api-sdk/models/segment_partial_update_query_resource_object.rb +1 -1
- data/lib/klaviyo-api-sdk/models/segment_partial_update_query_resource_object_attributes.rb +1 -1
- data/lib/klaviyo-api-sdk/models/segment_series_report_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/segment_series_request_dto.rb +1 -1
- data/lib/klaviyo-api-sdk/models/segment_series_request_dto_resource_object.rb +1 -1
- data/lib/klaviyo-api-sdk/models/segment_series_request_dto_resource_object_attributes.rb +1 -1
- data/lib/klaviyo-api-sdk/models/segment_trigger.rb +1 -1
- data/lib/klaviyo-api-sdk/models/segment_values_report_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/segment_values_request_dto.rb +1 -1
- data/lib/klaviyo-api-sdk/models/segment_values_request_dto_resource_object.rb +1 -1
- data/lib/klaviyo-api-sdk/models/segment_values_request_dto_resource_object_attributes.rb +1 -1
- data/lib/klaviyo-api-sdk/models/segment_values_request_dto_resource_object_attributes_timeframe.rb +1 -1
- data/lib/klaviyo-api-sdk/models/segments_profile_metric_condition.rb +327 -0
- data/lib/klaviyo-api-sdk/models/{profile_metric_condition_timeframe_filter.rb → segments_profile_metric_condition_timeframe_filter.rb} +2 -2
- data/lib/klaviyo-api-sdk/models/send_email_action.rb +1 -1
- data/lib/klaviyo-api-sdk/models/send_email_action_data.rb +3 -4
- data/lib/klaviyo-api-sdk/models/send_email_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/send_internal_alert_action.rb +1 -1
- data/lib/klaviyo-api-sdk/models/send_internal_alert_action_data.rb +3 -4
- data/lib/klaviyo-api-sdk/models/send_internal_alert_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/send_mobile_push_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/send_push_notification_action.rb +1 -1
- data/lib/klaviyo-api-sdk/models/send_push_notification_action_data.rb +3 -4
- data/lib/klaviyo-api-sdk/models/send_sms_action.rb +1 -1
- data/lib/klaviyo-api-sdk/models/send_sms_action_data.rb +3 -4
- data/lib/klaviyo-api-sdk/models/send_sms_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/send_webhook_action.rb +1 -1
- data/lib/klaviyo-api-sdk/models/send_webhook_action_data.rb +3 -4
- data/lib/klaviyo-api-sdk/models/send_webhook_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/server_bis_subscription_create_query.rb +1 -1
- data/lib/klaviyo-api-sdk/models/server_bis_subscription_create_query_resource_object.rb +1 -1
- data/lib/klaviyo-api-sdk/models/server_bis_subscription_create_query_resource_object_attributes.rb +1 -1
- data/lib/klaviyo-api-sdk/models/server_bis_subscription_create_query_resource_object_attributes_profile.rb +1 -1
- data/lib/klaviyo-api-sdk/models/server_bis_subscription_create_query_resource_object_relationships.rb +1 -1
- data/lib/klaviyo-api-sdk/models/server_bis_subscription_create_query_resource_object_relationships_variant.rb +1 -1
- data/lib/klaviyo-api-sdk/models/server_bis_subscription_create_query_resource_object_relationships_variant_data.rb +1 -1
- data/lib/klaviyo-api-sdk/models/sftp_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/sftp_method_filter.rb +1 -1
- data/lib/klaviyo-api-sdk/models/shopify_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/shopify_integration_filter.rb +1 -1
- data/lib/klaviyo-api-sdk/models/shopify_integration_method_filter.rb +1 -1
- data/lib/klaviyo-api-sdk/models/{scheduled_enum.rb → silent_enum.rb} +5 -5
- data/lib/klaviyo-api-sdk/models/since_flow_start_date_filter.rb +273 -0
- data/lib/klaviyo-api-sdk/models/smart_send_time_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/smart_send_time_strategy.rb +1 -1
- data/lib/klaviyo-api-sdk/models/sms_content_create.rb +1 -1
- data/lib/klaviyo-api-sdk/models/sms_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/sms_message_definition_create.rb +1 -1
- data/lib/klaviyo-api-sdk/models/sms_send_options.rb +1 -1
- data/lib/klaviyo-api-sdk/models/sms_subscription_parameters.rb +1 -1
- data/lib/klaviyo-api-sdk/models/sms_unsubscription_parameters.rb +1 -1
- data/lib/klaviyo-api-sdk/models/spam_complaint_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/spam_complaint_method_filter.rb +1 -1
- data/lib/klaviyo-api-sdk/models/split_action.rb +1 -1
- data/lib/klaviyo-api-sdk/models/split_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/split_links.rb +1 -1
- data/lib/klaviyo-api-sdk/models/standard_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/static_count.rb +272 -0
- data/lib/klaviyo-api-sdk/models/static_date_filter.rb +1 -1
- data/lib/klaviyo-api-sdk/models/static_date_range_filter.rb +1 -1
- data/lib/klaviyo-api-sdk/models/static_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/static_send_strategy.rb +1 -1
- data/lib/klaviyo-api-sdk/models/static_send_strategy_options.rb +1 -1
- data/lib/klaviyo-api-sdk/models/static_tracking_param.rb +254 -0
- data/lib/klaviyo-api-sdk/models/status_date_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/status_date_filter.rb +1 -1
- data/lib/klaviyo-api-sdk/models/status_date_filter_filter.rb +1 -1
- data/lib/klaviyo-api-sdk/models/string_array_operator_filter.rb +1 -1
- data/lib/klaviyo-api-sdk/models/string_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/string_in_array_filter.rb +254 -0
- data/lib/klaviyo-api-sdk/models/string_operator_filter.rb +1 -1
- data/lib/klaviyo-api-sdk/models/string_phone_operator_array_filter.rb +1 -1
- data/lib/klaviyo-api-sdk/models/subscribed_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/subscription_channels.rb +1 -1
- data/lib/klaviyo-api-sdk/models/subscription_create_job_create_query.rb +1 -1
- data/lib/klaviyo-api-sdk/models/subscription_create_job_create_query_resource_object.rb +1 -1
- data/lib/klaviyo-api-sdk/models/subscription_create_job_create_query_resource_object_attributes.rb +1 -1
- data/lib/klaviyo-api-sdk/models/subscription_create_job_create_query_resource_object_attributes_profiles.rb +1 -1
- data/lib/klaviyo-api-sdk/models/subscription_create_job_create_query_resource_object_relationships.rb +1 -1
- data/lib/klaviyo-api-sdk/models/subscription_create_job_create_query_resource_object_relationships_list.rb +1 -1
- data/lib/klaviyo-api-sdk/models/subscription_create_job_create_query_resource_object_relationships_list_data.rb +1 -1
- data/lib/klaviyo-api-sdk/models/subscription_delete_job_create_query.rb +1 -1
- data/lib/klaviyo-api-sdk/models/subscription_delete_job_create_query_resource_object.rb +1 -1
- data/lib/klaviyo-api-sdk/models/subscription_delete_job_create_query_resource_object_attributes.rb +1 -1
- data/lib/klaviyo-api-sdk/models/subscription_delete_job_create_query_resource_object_attributes_profiles.rb +1 -1
- data/lib/klaviyo-api-sdk/models/subscription_delete_job_create_query_resource_object_relationships.rb +1 -1
- data/lib/klaviyo-api-sdk/models/subscription_delete_job_create_query_resource_object_relationships_list.rb +1 -1
- data/lib/klaviyo-api-sdk/models/subscription_delete_job_create_query_resource_object_relationships_list_data.rb +1 -1
- data/lib/klaviyo-api-sdk/models/subscription_parameters.rb +1 -1
- data/lib/klaviyo-api-sdk/models/suppression_create_job_create_query.rb +1 -1
- data/lib/klaviyo-api-sdk/models/suppression_create_job_create_query_resource_object.rb +1 -1
- data/lib/klaviyo-api-sdk/models/suppression_create_job_create_query_resource_object_attributes.rb +1 -1
- data/lib/klaviyo-api-sdk/models/suppression_create_job_create_query_resource_object_attributes_profiles.rb +1 -1
- data/lib/klaviyo-api-sdk/models/suppression_create_job_create_query_resource_object_relationships.rb +1 -1
- data/lib/klaviyo-api-sdk/models/suppression_create_job_create_query_resource_object_relationships_list.rb +1 -1
- data/lib/klaviyo-api-sdk/models/suppression_create_job_create_query_resource_object_relationships_list_data.rb +1 -1
- data/lib/klaviyo-api-sdk/models/suppression_create_job_create_query_resource_object_relationships_segment.rb +1 -1
- data/lib/klaviyo-api-sdk/models/suppression_create_job_create_query_resource_object_relationships_segment_data.rb +1 -1
- data/lib/klaviyo-api-sdk/models/suppression_delete_job_create_query.rb +1 -1
- data/lib/klaviyo-api-sdk/models/suppression_delete_job_create_query_resource_object.rb +1 -1
- data/lib/klaviyo-api-sdk/models/suppression_delete_job_create_query_resource_object_attributes.rb +1 -1
- data/lib/klaviyo-api-sdk/models/suppression_delete_job_create_query_resource_object_attributes_profiles.rb +1 -1
- data/lib/klaviyo-api-sdk/models/suppression_delete_job_create_query_resource_object_relationships.rb +1 -1
- data/lib/klaviyo-api-sdk/models/suppression_delete_job_create_query_resource_object_relationships_list.rb +1 -1
- data/lib/klaviyo-api-sdk/models/suppression_delete_job_create_query_resource_object_relationships_list_data.rb +1 -1
- data/lib/klaviyo-api-sdk/models/suppression_delete_job_create_query_resource_object_relationships_segment.rb +1 -1
- data/lib/klaviyo-api-sdk/models/suppression_delete_job_create_query_resource_object_relationships_segment_data.rb +1 -1
- data/lib/klaviyo-api-sdk/models/tag_campaign_op.rb +1 -1
- data/lib/klaviyo-api-sdk/models/tag_campaign_op_data_inner.rb +1 -1
- data/lib/klaviyo-api-sdk/models/tag_create_query.rb +1 -1
- data/lib/klaviyo-api-sdk/models/tag_create_query_resource_object.rb +1 -1
- data/lib/klaviyo-api-sdk/models/tag_create_query_resource_object_attributes.rb +1 -1
- data/lib/klaviyo-api-sdk/models/tag_create_query_resource_object_relationships.rb +1 -1
- data/lib/klaviyo-api-sdk/models/tag_create_query_resource_object_relationships_tag_group.rb +1 -1
- data/lib/klaviyo-api-sdk/models/tag_create_query_resource_object_relationships_tag_group_data.rb +1 -1
- data/lib/klaviyo-api-sdk/models/tag_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/tag_flow_op.rb +1 -1
- data/lib/klaviyo-api-sdk/models/tag_flow_op_data_inner.rb +1 -1
- data/lib/klaviyo-api-sdk/models/tag_group_create_query.rb +1 -1
- data/lib/klaviyo-api-sdk/models/tag_group_create_query_resource_object.rb +1 -1
- data/lib/klaviyo-api-sdk/models/tag_group_create_query_resource_object_attributes.rb +1 -1
- data/lib/klaviyo-api-sdk/models/tag_group_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/tag_group_update_query.rb +1 -1
- data/lib/klaviyo-api-sdk/models/tag_group_update_query_resource_object.rb +1 -1
- data/lib/klaviyo-api-sdk/models/tag_group_update_query_resource_object_attributes.rb +1 -1
- data/lib/klaviyo-api-sdk/models/tag_list_op.rb +1 -1
- data/lib/klaviyo-api-sdk/models/tag_list_op_data_inner.rb +1 -1
- data/lib/klaviyo-api-sdk/models/tag_segment_op.rb +1 -1
- data/lib/klaviyo-api-sdk/models/tag_segment_op_data_inner.rb +1 -1
- data/lib/klaviyo-api-sdk/models/tag_update_query.rb +1 -1
- data/lib/klaviyo-api-sdk/models/tag_update_query_resource_object.rb +1 -1
- data/lib/klaviyo-api-sdk/models/target_date_action.rb +1 -1
- data/lib/klaviyo-api-sdk/models/target_date_action_data.rb +3 -3
- data/lib/klaviyo-api-sdk/models/target_date_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/template_clone_query.rb +1 -1
- data/lib/klaviyo-api-sdk/models/template_clone_query_resource_object.rb +1 -1
- data/lib/klaviyo-api-sdk/models/template_clone_query_resource_object_attributes.rb +1 -1
- data/lib/klaviyo-api-sdk/models/template_create_query.rb +1 -1
- data/lib/klaviyo-api-sdk/models/template_create_query_resource_object.rb +1 -1
- data/lib/klaviyo-api-sdk/models/template_create_query_resource_object_attributes.rb +17 -6
- data/lib/klaviyo-api-sdk/models/template_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/template_render_query.rb +1 -1
- data/lib/klaviyo-api-sdk/models/template_render_query_resource_object.rb +1 -1
- data/lib/klaviyo-api-sdk/models/template_render_query_resource_object_attributes.rb +1 -1
- data/lib/klaviyo-api-sdk/models/template_universal_content_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/template_update_query.rb +1 -1
- data/lib/klaviyo-api-sdk/models/template_update_query_resource_object.rb +1 -1
- data/lib/klaviyo-api-sdk/models/template_update_query_resource_object_attributes.rb +17 -6
- data/lib/klaviyo-api-sdk/models/text_block.rb +1 -1
- data/lib/klaviyo-api-sdk/models/text_block_data.rb +1 -1
- data/lib/klaviyo-api-sdk/models/text_block_styles.rb +22 -22
- data/lib/klaviyo-api-sdk/models/text_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/throttled_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/throttled_send_strategy.rb +1 -1
- data/lib/klaviyo-api-sdk/models/time_delay_action.rb +1 -1
- data/lib/klaviyo-api-sdk/models/time_delay_action_data.rb +3 -3
- data/lib/klaviyo-api-sdk/models/time_delay_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/timeframe.rb +1 -1
- data/lib/klaviyo-api-sdk/models/tracking_param_dto.rb +1 -1
- data/lib/klaviyo-api-sdk/models/tracking_param_dto_campaign.rb +1 -1
- data/lib/klaviyo-api-sdk/models/tracking_param_dto_flow.rb +1 -1
- data/lib/klaviyo-api-sdk/models/tracking_setting_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/tracking_setting_partial_update_query.rb +1 -1
- data/lib/klaviyo-api-sdk/models/tracking_setting_partial_update_query_resource_object.rb +1 -1
- data/lib/klaviyo-api-sdk/models/tracking_setting_partial_update_query_resource_object_attributes.rb +1 -1
- data/lib/klaviyo-api-sdk/models/trigger_branch_action.rb +1 -1
- data/lib/klaviyo-api-sdk/models/trigger_branch_action_data.rb +5 -9
- data/lib/klaviyo-api-sdk/models/trigger_branch_action_data_trigger_filter.rb +226 -0
- data/lib/klaviyo-api-sdk/models/trigger_branch_action_data_trigger_filter_condition_groups_inner.rb +226 -0
- data/lib/klaviyo-api-sdk/models/trigger_branch_action_data_trigger_filter_condition_groups_inner_conditions_inner.rb +107 -0
- data/lib/klaviyo-api-sdk/models/trigger_split_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/universal_content_create_query.rb +1 -1
- data/lib/klaviyo-api-sdk/models/universal_content_create_query_resource_object.rb +1 -1
- data/lib/klaviyo-api-sdk/models/universal_content_create_query_resource_object_attributes.rb +1 -1
- data/lib/klaviyo-api-sdk/models/universal_content_create_query_resource_object_attributes_definition.rb +1 -1
- data/lib/klaviyo-api-sdk/models/universal_content_partial_update_query.rb +1 -1
- data/lib/klaviyo-api-sdk/models/universal_content_partial_update_query_resource_object.rb +1 -1
- data/lib/klaviyo-api-sdk/models/universal_content_partial_update_query_resource_object_attributes.rb +1 -1
- data/lib/klaviyo-api-sdk/models/universal_content_partial_update_query_resource_object_attributes_definition.rb +1 -1
- data/lib/klaviyo-api-sdk/models/unpublished_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/unrelated_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/unsubscribed_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/unsubscription_channels.rb +1 -1
- data/lib/klaviyo-api-sdk/models/unsubscription_parameters.rb +1 -1
- data/lib/klaviyo-api-sdk/models/update_profile_action.rb +1 -1
- data/lib/klaviyo-api-sdk/models/update_profile_action_data.rb +3 -4
- data/lib/klaviyo-api-sdk/models/update_profile_action_data_profile_operations_inner.rb +1 -1
- data/lib/klaviyo-api-sdk/models/update_profile_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/utm_param.rb +1 -1
- data/lib/klaviyo-api-sdk/models/{scheduled_trigger.rb → web_feed_create_query.rb} +14 -14
- data/lib/klaviyo-api-sdk/models/{base_event_create_query_resource_object.rb → web_feed_create_query_resource_object.rb} +6 -6
- data/lib/klaviyo-api-sdk/models/web_feed_create_query_resource_object_attributes.rb +316 -0
- data/lib/klaviyo-api-sdk/models/{send_whatsapp_enum.rb → web_feed_enum.rb} +5 -5
- data/lib/klaviyo-api-sdk/models/web_feed_partial_update_query.rb +224 -0
- data/lib/klaviyo-api-sdk/models/web_feed_partial_update_query_resource_object.rb +253 -0
- data/lib/klaviyo-api-sdk/models/{flow_whats_app.rb → web_feed_partial_update_query_resource_object_attributes.rb} +73 -67
- data/lib/klaviyo-api-sdk/models/webhook_create_query.rb +1 -1
- data/lib/klaviyo-api-sdk/models/webhook_create_query_resource_object.rb +1 -1
- data/lib/klaviyo-api-sdk/models/webhook_create_query_resource_object_attributes.rb +1 -1
- data/lib/klaviyo-api-sdk/models/webhook_create_query_resource_object_relationships.rb +1 -1
- data/lib/klaviyo-api-sdk/models/webhook_create_query_resource_object_relationships_webhook_topics.rb +1 -1
- data/lib/klaviyo-api-sdk/models/webhook_create_query_resource_object_relationships_webhook_topics_data_inner.rb +1 -1
- data/lib/klaviyo-api-sdk/models/webhook_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/webhook_partial_update_query.rb +1 -1
- data/lib/klaviyo-api-sdk/models/webhook_partial_update_query_resource_object.rb +1 -1
- data/lib/klaviyo-api-sdk/models/webhook_partial_update_query_resource_object_attributes.rb +1 -1
- data/lib/klaviyo-api-sdk/models/webhook_partial_update_query_resource_object_relationships.rb +1 -1
- data/lib/klaviyo-api-sdk/models/webhook_topic_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/version.rb +1 -1
- data/lib/klaviyo-api-sdk.rb +74 -21
- metadata +79 -1128
- data/Gemfile +0 -9
- data/Rakefile +0 -10
- data/docs/APIMethodFilter.md +0 -22
- data/docs/AccountsApi.md +0 -157
- data/docs/AlltimeDateFilter.md +0 -20
- data/docs/AnniversaryDateFilter.md +0 -20
- data/docs/AnyEnum.md +0 -15
- data/docs/ApiEnum.md +0 -15
- data/docs/AudiencesSubObject.md +0 -20
- data/docs/BackInStockEnum.md +0 -15
- data/docs/BackInStockMethodFilter.md +0 -20
- data/docs/BackInStockSubscriptionEnum.md +0 -15
- data/docs/BaseEventCreateQueryResourceObject.md +0 -20
- data/docs/BaseEventCreateQueryResourceObjectAttributes.md +0 -28
- data/docs/BooleanEnum.md +0 -15
- data/docs/BooleanFilter.md +0 -22
- data/docs/BounceDateEnum.md +0 -15
- data/docs/BounceDateFilter.md +0 -20
- data/docs/BounceDateFilterFilter.md +0 -61
- data/docs/BulkRemoveEnum.md +0 -15
- data/docs/BulkRemoveMethodFilter.md +0 -20
- data/docs/CalendarDateFilter.md +0 -22
- data/docs/CampaignCloneQuery.md +0 -18
- data/docs/CampaignCloneQueryResourceObject.md +0 -22
- data/docs/CampaignCloneQueryResourceObjectAttributes.md +0 -18
- data/docs/CampaignCreateQuery.md +0 -18
- data/docs/CampaignCreateQueryResourceObject.md +0 -20
- data/docs/CampaignCreateQueryResourceObjectAttributes.md +0 -28
- data/docs/CampaignCreateQueryResourceObjectAttributesCampaignMessages.md +0 -18
- data/docs/CampaignCreateQueryResourceObjectAttributesSendOptions.md +0 -49
- data/docs/CampaignCreateQueryResourceObjectAttributesTrackingOptions.md +0 -49
- data/docs/CampaignEnum.md +0 -15
- data/docs/CampaignMessageAssignTemplateQuery.md +0 -18
- data/docs/CampaignMessageAssignTemplateQueryResourceObject.md +0 -22
- data/docs/CampaignMessageAssignTemplateQueryResourceObjectRelationships.md +0 -18
- data/docs/CampaignMessageAssignTemplateQueryResourceObjectRelationshipsTemplate.md +0 -18
- data/docs/CampaignMessageAssignTemplateQueryResourceObjectRelationshipsTemplateData.md +0 -20
- data/docs/CampaignMessageCreateQueryResourceObject.md +0 -20
- data/docs/CampaignMessageCreateQueryResourceObjectAttributes.md +0 -24
- data/docs/CampaignMessageCreateQueryResourceObjectAttributesContent.md +0 -49
- data/docs/CampaignMessageEnum.md +0 -15
- data/docs/CampaignMessagePartialUpdateQuery.md +0 -18
- data/docs/CampaignMessagePartialUpdateQueryResourceObject.md +0 -22
- data/docs/CampaignMessagePartialUpdateQueryResourceObjectAttributes.md +0 -22
- data/docs/CampaignPartialUpdateQuery.md +0 -18
- data/docs/CampaignPartialUpdateQueryResourceObject.md +0 -22
- data/docs/CampaignPartialUpdateQueryResourceObjectAttributes.md +0 -26
- data/docs/CampaignRecipientEstimationJobCreateQuery.md +0 -18
- data/docs/CampaignRecipientEstimationJobCreateQueryResourceObject.md +0 -20
- data/docs/CampaignRecipientEstimationJobEnum.md +0 -15
- data/docs/CampaignSendJobCreateQuery.md +0 -18
- data/docs/CampaignSendJobCreateQueryResourceObject.md +0 -20
- data/docs/CampaignSendJobEnum.md +0 -15
- data/docs/CampaignSendJobPartialUpdateQuery.md +0 -18
- data/docs/CampaignSendJobPartialUpdateQueryResourceObject.md +0 -22
- data/docs/CampaignSendJobPartialUpdateQueryResourceObjectAttributes.md +0 -18
- data/docs/CampaignValuesReportEnum.md +0 -15
- data/docs/CampaignValuesRequestDTO.md +0 -18
- data/docs/CampaignValuesRequestDTOResourceObject.md +0 -20
- data/docs/CampaignValuesRequestDTOResourceObjectAttributes.md +0 -24
- data/docs/CampaignValuesRequestDTOResourceObjectAttributesTimeframe.md +0 -49
- data/docs/CampaignsApi.md +0 -1735
- data/docs/CarrierDeactivationEnum.md +0 -15
- data/docs/CarrierDeactivationMethodFilter.md +0 -20
- data/docs/CatalogCategoryBulkCreateJobEnum.md +0 -15
- data/docs/CatalogCategoryBulkDeleteJobEnum.md +0 -15
- data/docs/CatalogCategoryBulkUpdateJobEnum.md +0 -15
- data/docs/CatalogCategoryCreateJobCreateQuery.md +0 -18
- data/docs/CatalogCategoryCreateJobCreateQueryResourceObject.md +0 -20
- data/docs/CatalogCategoryCreateJobCreateQueryResourceObjectAttributes.md +0 -18
- data/docs/CatalogCategoryCreateJobCreateQueryResourceObjectAttributesCategories.md +0 -18
- data/docs/CatalogCategoryCreateQuery.md +0 -18
- data/docs/CatalogCategoryCreateQueryResourceObject.md +0 -22
- data/docs/CatalogCategoryCreateQueryResourceObjectAttributes.md +0 -24
- data/docs/CatalogCategoryCreateQueryResourceObjectRelationships.md +0 -18
- data/docs/CatalogCategoryCreateQueryResourceObjectRelationshipsItems.md +0 -18
- data/docs/CatalogCategoryCreateQueryResourceObjectRelationshipsItemsDataInner.md +0 -20
- data/docs/CatalogCategoryDeleteJobCreateQuery.md +0 -18
- data/docs/CatalogCategoryDeleteJobCreateQueryResourceObject.md +0 -20
- data/docs/CatalogCategoryDeleteJobCreateQueryResourceObjectAttributes.md +0 -18
- data/docs/CatalogCategoryDeleteJobCreateQueryResourceObjectAttributesCategories.md +0 -18
- data/docs/CatalogCategoryDeleteQueryResourceObject.md +0 -20
- data/docs/CatalogCategoryEnum.md +0 -15
- data/docs/CatalogCategoryItemOp.md +0 -18
- data/docs/CatalogCategoryUpdateJobCreateQuery.md +0 -18
- data/docs/CatalogCategoryUpdateJobCreateQueryResourceObject.md +0 -20
- data/docs/CatalogCategoryUpdateJobCreateQueryResourceObjectAttributes.md +0 -18
- data/docs/CatalogCategoryUpdateJobCreateQueryResourceObjectAttributesCategories.md +0 -18
- data/docs/CatalogCategoryUpdateQuery.md +0 -18
- data/docs/CatalogCategoryUpdateQueryResourceObject.md +0 -24
- data/docs/CatalogCategoryUpdateQueryResourceObjectAttributes.md +0 -18
- data/docs/CatalogItemBulkCreateJobEnum.md +0 -15
- data/docs/CatalogItemBulkDeleteJobEnum.md +0 -15
- data/docs/CatalogItemBulkUpdateJobEnum.md +0 -15
- data/docs/CatalogItemCategoryOp.md +0 -18
- data/docs/CatalogItemCreateJobCreateQuery.md +0 -18
- data/docs/CatalogItemCreateJobCreateQueryResourceObject.md +0 -20
- data/docs/CatalogItemCreateJobCreateQueryResourceObjectAttributes.md +0 -18
- data/docs/CatalogItemCreateJobCreateQueryResourceObjectAttributesItems.md +0 -18
- data/docs/CatalogItemCreateQuery.md +0 -18
- data/docs/CatalogItemCreateQueryResourceObject.md +0 -22
- data/docs/CatalogItemCreateQueryResourceObjectAttributes.md +0 -40
- data/docs/CatalogItemCreateQueryResourceObjectRelationships.md +0 -18
- data/docs/CatalogItemCreateQueryResourceObjectRelationshipsCategories.md +0 -18
- data/docs/CatalogItemCreateQueryResourceObjectRelationshipsCategoriesDataInner.md +0 -20
- data/docs/CatalogItemDeleteJobCreateQuery.md +0 -18
- data/docs/CatalogItemDeleteJobCreateQueryResourceObject.md +0 -20
- data/docs/CatalogItemDeleteJobCreateQueryResourceObjectAttributes.md +0 -18
- data/docs/CatalogItemDeleteJobCreateQueryResourceObjectAttributesItems.md +0 -18
- data/docs/CatalogItemDeleteQueryResourceObject.md +0 -20
- data/docs/CatalogItemEnum.md +0 -15
- data/docs/CatalogItemUpdateJobCreateQuery.md +0 -18
- data/docs/CatalogItemUpdateJobCreateQueryResourceObject.md +0 -20
- data/docs/CatalogItemUpdateJobCreateQueryResourceObjectAttributes.md +0 -18
- data/docs/CatalogItemUpdateJobCreateQueryResourceObjectAttributesItems.md +0 -18
- data/docs/CatalogItemUpdateQuery.md +0 -18
- data/docs/CatalogItemUpdateQueryResourceObject.md +0 -24
- data/docs/CatalogItemUpdateQueryResourceObjectAttributes.md +0 -34
- data/docs/CatalogVariantBulkCreateJobEnum.md +0 -15
- data/docs/CatalogVariantBulkDeleteJobEnum.md +0 -15
- data/docs/CatalogVariantBulkUpdateJobEnum.md +0 -15
- data/docs/CatalogVariantCreateJobCreateQuery.md +0 -18
- data/docs/CatalogVariantCreateJobCreateQueryResourceObject.md +0 -20
- data/docs/CatalogVariantCreateJobCreateQueryResourceObjectAttributes.md +0 -18
- data/docs/CatalogVariantCreateJobCreateQueryResourceObjectAttributesVariants.md +0 -18
- data/docs/CatalogVariantCreateQuery.md +0 -18
- data/docs/CatalogVariantCreateQueryResourceObject.md +0 -22
- data/docs/CatalogVariantCreateQueryResourceObjectAttributes.md +0 -46
- data/docs/CatalogVariantCreateQueryResourceObjectRelationships.md +0 -18
- data/docs/CatalogVariantCreateQueryResourceObjectRelationshipsItem.md +0 -18
- data/docs/CatalogVariantCreateQueryResourceObjectRelationshipsItemData.md +0 -20
- data/docs/CatalogVariantDeleteJobCreateQuery.md +0 -18
- data/docs/CatalogVariantDeleteJobCreateQueryResourceObject.md +0 -20
- data/docs/CatalogVariantDeleteJobCreateQueryResourceObjectAttributes.md +0 -18
- data/docs/CatalogVariantDeleteJobCreateQueryResourceObjectAttributesVariants.md +0 -18
- data/docs/CatalogVariantDeleteQueryResourceObject.md +0 -20
- data/docs/CatalogVariantEnum.md +0 -15
- data/docs/CatalogVariantUpdateJobCreateQuery.md +0 -18
- data/docs/CatalogVariantUpdateJobCreateQueryResourceObject.md +0 -20
- data/docs/CatalogVariantUpdateJobCreateQueryResourceObjectAttributes.md +0 -18
- data/docs/CatalogVariantUpdateJobCreateQueryResourceObjectAttributesVariants.md +0 -18
- data/docs/CatalogVariantUpdateQuery.md +0 -18
- data/docs/CatalogVariantUpdateQueryResourceObject.md +0 -22
- data/docs/CatalogVariantUpdateQueryResourceObjectAttributes.md +0 -40
- data/docs/CatalogsApi.md +0 -4103
- data/docs/CheckoutEnum.md +0 -15
- data/docs/CheckoutMethodFilter.md +0 -20
- data/docs/ConditionGroup.md +0 -18
- data/docs/ConditionGroupConditionsInner.md +0 -63
- data/docs/ConstantContactEnum.md +0 -15
- data/docs/ConstantContactIntegrationFilter.md +0 -22
- data/docs/ConstantContactIntegrationMethodFilter.md +0 -22
- data/docs/CouponCodeBulkCreateJobEnum.md +0 -15
- data/docs/CouponCodeCreateJobCreateQuery.md +0 -18
- data/docs/CouponCodeCreateJobCreateQueryResourceObject.md +0 -20
- data/docs/CouponCodeCreateJobCreateQueryResourceObjectAttributes.md +0 -18
- data/docs/CouponCodeCreateJobCreateQueryResourceObjectAttributesCouponCodes.md +0 -18
- data/docs/CouponCodeCreateQuery.md +0 -18
- data/docs/CouponCodeCreateQueryResourceObject.md +0 -22
- data/docs/CouponCodeCreateQueryResourceObjectAttributes.md +0 -20
- data/docs/CouponCodeCreateQueryResourceObjectRelationships.md +0 -18
- data/docs/CouponCodeCreateQueryResourceObjectRelationshipsCoupon.md +0 -18
- data/docs/CouponCodeCreateQueryResourceObjectRelationshipsCouponData.md +0 -20
- data/docs/CouponCodeEnum.md +0 -15
- data/docs/CouponCodeUpdateQuery.md +0 -18
- data/docs/CouponCodeUpdateQueryResourceObject.md +0 -22
- data/docs/CouponCodeUpdateQueryResourceObjectAttributes.md +0 -20
- data/docs/CouponCreateQuery.md +0 -18
- data/docs/CouponCreateQueryResourceObject.md +0 -20
- data/docs/CouponCreateQueryResourceObjectAttributes.md +0 -20
- data/docs/CouponEnum.md +0 -15
- data/docs/CouponUpdateQuery.md +0 -18
- data/docs/CouponUpdateQueryResourceObject.md +0 -22
- data/docs/CouponUpdateQueryResourceObjectAttributes.md +0 -18
- data/docs/CouponsApi.md +0 -1289
- data/docs/CustomSourceEnum.md +0 -15
- data/docs/CustomSourceFilter.md +0 -20
- data/docs/CustomTimeframe.md +0 -20
- data/docs/DataPrivacyApi.md +0 -78
- data/docs/DataPrivacyCreateDeletionJobQuery.md +0 -18
- data/docs/DataPrivacyCreateDeletionJobQueryResourceObject.md +0 -20
- data/docs/DataPrivacyCreateDeletionJobQueryResourceObjectAttributes.md +0 -18
- data/docs/DataPrivacyCreateDeletionJobQueryResourceObjectAttributesProfile.md +0 -18
- data/docs/DataPrivacyDeletionJobEnum.md +0 -15
- data/docs/DataPrivacyProfileQueryResourceObject.md +0 -22
- data/docs/DataPrivacyProfileQueryResourceObjectAttributes.md +0 -20
- data/docs/DateEnum.md +0 -15
- data/docs/DeviceMetadata.md +0 -40
- data/docs/DoubleOptinFilter.md +0 -20
- data/docs/EmailContentSubObject.md +0 -30
- data/docs/EmailEnum.md +0 -15
- data/docs/EmailSendOptionsSubObject.md +0 -18
- data/docs/EmailSubscriptionParameters.md +0 -18
- data/docs/EmailTrackingOptionsSubObject.md +0 -24
- data/docs/EqualsEnum.md +0 -15
- data/docs/EqualsStringFilter.md +0 -22
- data/docs/EventBulkCreateEnum.md +0 -15
- data/docs/EventBulkCreateJobEnum.md +0 -15
- data/docs/EventCreateQueryV2.md +0 -18
- data/docs/EventCreateQueryV2ResourceObject.md +0 -20
- data/docs/EventCreateQueryV2ResourceObjectAttributes.md +0 -30
- data/docs/EventCreateQueryV2ResourceObjectAttributesMetric.md +0 -18
- data/docs/EventCreateQueryV2ResourceObjectAttributesProfile.md +0 -18
- data/docs/EventEnum.md +0 -15
- data/docs/EventProfileCreateQueryResourceObject.md +0 -22
- data/docs/EventProfileCreateQueryResourceObjectAttributes.md +0 -42
- data/docs/EventsApi.md +0 -615
- data/docs/EventsBulkCreateJob.md +0 -18
- data/docs/EventsBulkCreateJobResourceObject.md +0 -20
- data/docs/EventsBulkCreateJobResourceObjectAttributes.md +0 -18
- data/docs/EventsBulkCreateJobResourceObjectAttributesEventsBulkCreate.md +0 -18
- data/docs/EventsBulkCreateQueryResourceObject.md +0 -20
- data/docs/EventsBulkCreateQueryResourceObjectAttributes.md +0 -20
- data/docs/EventsBulkCreateQueryResourceObjectAttributesEvents.md +0 -18
- data/docs/EventsBulkCreateQueryResourceObjectAttributesProfile.md +0 -18
- data/docs/ExistenceEnum.md +0 -15
- data/docs/ExistenceOperatorFilter.md +0 -20
- data/docs/FailedAgeGateEnum.md +0 -15
- data/docs/FailedAgeGateMethodFilter.md +0 -20
- data/docs/FlowEnum.md +0 -15
- data/docs/FlowSeriesReportEnum.md +0 -15
- data/docs/FlowSeriesRequestDTO.md +0 -18
- data/docs/FlowSeriesRequestDTOResourceObject.md +0 -20
- data/docs/FlowSeriesRequestDTOResourceObjectAttributes.md +0 -26
- data/docs/FlowUpdateQuery.md +0 -18
- data/docs/FlowUpdateQueryResourceObject.md +0 -22
- data/docs/FlowUpdateQueryResourceObjectAttributes.md +0 -18
- data/docs/FlowValuesReportEnum.md +0 -15
- data/docs/FlowValuesRequestDTO.md +0 -18
- data/docs/FlowValuesRequestDTOResourceObject.md +0 -20
- data/docs/FlowValuesRequestDTOResourceObjectAttributes.md +0 -24
- data/docs/FlowsApi.md +0 -1406
- data/docs/FormEnum.md +0 -15
- data/docs/FormMethodFilter.md +0 -22
- data/docs/FormsApi.md +0 -549
- data/docs/GetAccounts4XXResponse.md +0 -18
- data/docs/GetAccounts4XXResponseErrorsInner.md +0 -26
- data/docs/GetAccounts4XXResponseErrorsInnerSource.md +0 -20
- data/docs/GreaterThanEnum.md +0 -15
- data/docs/HasEmailMarketing.md +0 -18
- data/docs/HasEmailMarketingConsent.md +0 -22
- data/docs/HasEmailMarketingConsentConsentStatus.md +0 -51
- data/docs/HasEmailMarketingNeverSubscribed.md +0 -18
- data/docs/HasEmailMarketingSubscribed.md +0 -20
- data/docs/HasEmailMarketingSubscribedFiltersInner.md +0 -69
- data/docs/HasPushMarketing.md +0 -20
- data/docs/HasPushMarketingConsent.md +0 -22
- data/docs/HasSMSMarketingConsent.md +0 -22
- data/docs/HasSMSMarketingSubscribed.md +0 -20
- data/docs/HasSMSMarketingSubscribedFiltersInner.md +0 -63
- data/docs/ImageCreateQuery.md +0 -18
- data/docs/ImageCreateQueryResourceObject.md +0 -20
- data/docs/ImageCreateQueryResourceObjectAttributes.md +0 -22
- data/docs/ImageEnum.md +0 -15
- data/docs/ImagePartialUpdateQuery.md +0 -18
- data/docs/ImagePartialUpdateQueryResourceObject.md +0 -22
- data/docs/ImagePartialUpdateQueryResourceObjectAttributes.md +0 -20
- data/docs/ImagesApi.md +0 -389
- data/docs/InEnum.md +0 -15
- data/docs/InStringArrayFilter.md +0 -22
- data/docs/InboundMessageEnum.md +0 -15
- data/docs/InboundMessageMethodFilter.md +0 -20
- data/docs/IntegrationEnum.md +0 -15
- data/docs/InvalidEmailDateEnum.md +0 -15
- data/docs/InvalidEmailDateFilter.md +0 -20
- data/docs/IsDoubleOptInEnum.md +0 -15
- data/docs/IsSetEnum.md +0 -15
- data/docs/IsSetExistenceFilter.md +0 -20
- data/docs/LessThanEnum.md +0 -15
- data/docs/ListContainsOperatorFilter.md +0 -22
- data/docs/ListContainsOperatorFilterValue.md +0 -49
- data/docs/ListCreateQuery.md +0 -18
- data/docs/ListCreateQueryResourceObject.md +0 -20
- data/docs/ListCreateQueryResourceObjectAttributes.md +0 -18
- data/docs/ListEnum.md +0 -15
- data/docs/ListLengthFilter.md +0 -22
- data/docs/ListMembersAddQuery.md +0 -18
- data/docs/ListMembersAddQueryDataInner.md +0 -20
- data/docs/ListMembersDeleteQuery.md +0 -18
- data/docs/ListPartialUpdateQuery.md +0 -18
- data/docs/ListPartialUpdateQueryResourceObject.md +0 -22
- data/docs/ListSetFilter.md +0 -22
- data/docs/ListsApi.md +0 -852
- data/docs/MailboxProviderEnum.md +0 -15
- data/docs/MailboxProviderMethodFilter.md +0 -20
- data/docs/ManualAddEnum.md +0 -15
- data/docs/ManualAddMethodFilter.md +0 -22
- data/docs/ManualImportEnum.md +0 -15
- data/docs/ManualImportMethodFilter.md +0 -22
- data/docs/ManualRemoveEnum.md +0 -15
- data/docs/ManualRemoveMethodFilter.md +0 -20
- data/docs/ManualSuppressionDateEnum.md +0 -15
- data/docs/ManualSuppressionDateFilter.md +0 -20
- data/docs/MarketingSubscriptionParameters.md +0 -20
- data/docs/MessageBlockedEnum.md +0 -15
- data/docs/MessageBlockedMethodFilter.md +0 -20
- data/docs/MethodEnum.md +0 -15
- data/docs/MetricAggregateEnum.md +0 -15
- data/docs/MetricAggregateQuery.md +0 -18
- data/docs/MetricAggregateQueryResourceObject.md +0 -20
- data/docs/MetricAggregateQueryResourceObjectAttributes.md +0 -36
- data/docs/MetricCreateQueryResourceObject.md +0 -20
- data/docs/MetricCreateQueryResourceObjectAttributes.md +0 -20
- data/docs/MetricEnum.md +0 -15
- data/docs/MetricsApi.md +0 -233
- data/docs/NeverSubscribedEnum.md +0 -15
- data/docs/NoEmailMarketing.md +0 -20
- data/docs/NoEmailMarketingConsent.md +0 -22
- data/docs/NoEmailMarketingConsentConsentStatus.md +0 -53
- data/docs/NoEmailMarketingFiltersInner.md +0 -51
- data/docs/NoEmailMarketingNeverSubscribed.md +0 -20
- data/docs/NoEmailMarketingSubscribed.md +0 -20
- data/docs/NoEmailMarketingUnsubscribed.md +0 -20
- data/docs/NoEmailMarketingUnsubscribedFilters.md +0 -49
- data/docs/NoEmailMarketingUnsubscribedFiltersOneOfInner.md +0 -61
- data/docs/NoPushMarketing.md +0 -18
- data/docs/NoPushMarketingConsent.md +0 -22
- data/docs/NoSMSMarketing.md +0 -18
- data/docs/NoSMSMarketingConsent.md +0 -22
- data/docs/NoSMSMarketingConsentConsentStatus.md +0 -51
- data/docs/NoSMSMarketingNeverSubscribed.md +0 -18
- data/docs/NoSMSMarketingUnsubscribed.md +0 -20
- data/docs/NoSMSMarketingUnsubscribedFiltersInner.md +0 -77
- data/docs/NotEqualsEnum.md +0 -15
- data/docs/NumericEnum.md +0 -15
- data/docs/NumericOperatorFilter.md +0 -22
- data/docs/NumericOperatorFilterValue.md +0 -49
- data/docs/OnsiteProfileCreateQueryResourceObject.md +0 -24
- data/docs/OnsiteProfileCreateQueryResourceObjectAttributes.md +0 -40
- data/docs/OnsiteProfileMeta.md +0 -18
- data/docs/PreferencePageEnum.md +0 -15
- data/docs/PreferencePageFilter.md +0 -22
- data/docs/PreferencePageMethodFilter.md +0 -20
- data/docs/ProfileBulkImportJobEnum.md +0 -15
- data/docs/ProfileCreateQuery.md +0 -18
- data/docs/ProfileCreateQueryResourceObject.md +0 -20
- data/docs/ProfileCreateQueryResourceObjectAttributes.md +0 -36
- data/docs/ProfileEnum.md +0 -15
- data/docs/ProfileGroupMembershipEnum.md +0 -15
- data/docs/ProfileHasGroupMembershipCondition.md +0 -24
- data/docs/ProfileHasGroupMembershipConditionTimeframeFilter.md +0 -53
- data/docs/ProfileIdentifierDTOResourceObject.md +0 -22
- data/docs/ProfileIdentifierDTOResourceObjectAttributes.md +0 -24
- data/docs/ProfileImportJobCreateQuery.md +0 -18
- data/docs/ProfileImportJobCreateQueryResourceObject.md +0 -22
- data/docs/ProfileImportJobCreateQueryResourceObjectAttributes.md +0 -18
- data/docs/ProfileImportJobCreateQueryResourceObjectAttributesProfiles.md +0 -18
- data/docs/ProfileImportJobCreateQueryResourceObjectRelationships.md +0 -18
- data/docs/ProfileImportJobCreateQueryResourceObjectRelationshipsLists.md +0 -18
- data/docs/ProfileImportJobCreateQueryResourceObjectRelationshipsListsDataInner.md +0 -20
- data/docs/ProfileLocation.md +0 -36
- data/docs/ProfileLocationLatitude.md +0 -49
- data/docs/ProfileLocationLongitude.md +0 -49
- data/docs/ProfileMarketingConsentCondition.md +0 -20
- data/docs/ProfileMarketingConsentConditionConsent.md +0 -57
- data/docs/ProfileMarketingConsentEnum.md +0 -15
- data/docs/ProfileMergeEnum.md +0 -15
- data/docs/ProfileMergeQuery.md +0 -18
- data/docs/ProfileMergeQueryResourceObject.md +0 -22
- data/docs/ProfileMergeQueryResourceObjectRelationships.md +0 -18
- data/docs/ProfileMergeQueryResourceObjectRelationshipsProfiles.md +0 -18
- data/docs/ProfileMergeQueryResourceObjectRelationshipsProfilesDataInner.md +0 -20
- data/docs/ProfileMeta.md +0 -18
- data/docs/ProfileMetaPatchProperties.md +0 -22
- data/docs/ProfileMetaPatchPropertiesUnset.md +0 -49
- data/docs/ProfileMetricCondition.md +0 -28
- data/docs/ProfileMetricConditionTimeframeFilter.md +0 -57
- data/docs/ProfileMetricEnum.md +0 -15
- data/docs/ProfileMetricPropertyFilter.md +0 -20
- data/docs/ProfileMetricPropertyFilterFilter.md +0 -49
- data/docs/ProfileNoGroupMembershipCondition.md +0 -22
- data/docs/ProfilePartialUpdateQuery.md +0 -18
- data/docs/ProfilePartialUpdateQueryResourceObject.md +0 -24
- data/docs/ProfilePartialUpdateQueryResourceObjectAttributes.md +0 -38
- data/docs/ProfilePostalCodeDistanceCondition.md +0 -26
- data/docs/ProfilePostalCodeDistanceEnum.md +0 -15
- data/docs/ProfilePredictiveAnalyticsEnum.md +0 -15
- data/docs/ProfilePredictiveAnalyticsNumericCondition.md +0 -22
- data/docs/ProfilePredictiveAnalyticsStringCondition.md +0 -22
- data/docs/ProfilePredictiveAnalyticsStringFilter.md +0 -22
- data/docs/ProfilePredictiveAnalyticsStringFilterOperator.md +0 -49
- data/docs/ProfilePropertyCondition.md +0 -22
- data/docs/ProfilePropertyConditionFilter.md +0 -75
- data/docs/ProfilePropertyEnum.md +0 -15
- data/docs/ProfileRegionCondition.md +0 -22
- data/docs/ProfileRegionEnum.md +0 -15
- data/docs/ProfileSubscriptionBulkCreateJobEnum.md +0 -15
- data/docs/ProfileSubscriptionBulkDeleteJobEnum.md +0 -15
- data/docs/ProfileSubscriptionCreateQueryResourceObject.md +0 -22
- data/docs/ProfileSubscriptionCreateQueryResourceObjectAttributes.md +0 -24
- data/docs/ProfileSubscriptionDeleteQueryResourceObject.md +0 -20
- data/docs/ProfileSubscriptionDeleteQueryResourceObjectAttributes.md +0 -20
- data/docs/ProfileSuppressionBulkCreateJobEnum.md +0 -15
- data/docs/ProfileSuppressionBulkDeleteJobEnum.md +0 -15
- data/docs/ProfileSuppressionCreateQueryResourceObject.md +0 -20
- data/docs/ProfileSuppressionCreateQueryResourceObjectAttributes.md +0 -18
- data/docs/ProfileSuppressionDeleteQueryResourceObject.md +0 -20
- data/docs/ProfileSuppressionDeleteQueryResourceObjectAttributes.md +0 -18
- data/docs/ProfileUpsertQuery.md +0 -18
- data/docs/ProfileUpsertQueryResourceObject.md +0 -24
- data/docs/ProfileUpsertQueryResourceObjectAttributes.md +0 -40
- data/docs/ProfilesApi.md +0 -1738
- data/docs/ProvidedLandlineEnum.md +0 -15
- data/docs/ProvidedLandlineMethodFilter.md +0 -20
- data/docs/ProvidedNoAgeEnum.md +0 -15
- data/docs/ProvidedNoAgeMethodFilter.md +0 -20
- data/docs/PushEnum.md +0 -15
- data/docs/PushProfileUpsertQueryResourceObject.md +0 -22
- data/docs/PushProfileUpsertQueryResourceObjectAttributes.md +0 -42
- data/docs/PushTokenCreateQuery.md +0 -18
- data/docs/PushTokenCreateQueryResourceObject.md +0 -20
- data/docs/PushTokenCreateQueryResourceObjectAttributes.md +0 -30
- data/docs/PushTokenCreateQueryResourceObjectAttributesProfile.md +0 -18
- data/docs/PushTokenEnum.md +0 -15
- data/docs/RelativeAnniversaryDateFilter.md +0 -24
- data/docs/RelativeDateOperatorBaseFilter.md +0 -24
- data/docs/RelativeDateRangeFilter.md +0 -26
- data/docs/RenderOptionsSubObject.md +0 -24
- data/docs/ReportingApi.md +0 -235
- data/docs/SMSContentSubObjectCreate.md +0 -18
- data/docs/SMSSendOptionsSubObject.md +0 -18
- data/docs/SMSSubscriptionParameters.md +0 -18
- data/docs/SMSTrackingOptionsSubObject.md +0 -20
- data/docs/STOScheduleOptions.md +0 -18
- data/docs/SegmentCreateQuery.md +0 -18
- data/docs/SegmentCreateQueryResourceObject.md +0 -20
- data/docs/SegmentCreateQueryResourceObjectAttributes.md +0 -22
- data/docs/SegmentDefinition.md +0 -18
- data/docs/SegmentEnum.md +0 -15
- data/docs/SegmentPartialUpdateQuery.md +0 -18
- data/docs/SegmentPartialUpdateQueryResourceObject.md +0 -22
- data/docs/SegmentPartialUpdateQueryResourceObjectAttributes.md +0 -22
- data/docs/SegmentsApi.md +0 -706
- data/docs/SendStrategySubObject.md +0 -24
- data/docs/ServerBISSubscriptionCreateQuery.md +0 -18
- data/docs/ServerBISSubscriptionCreateQueryResourceObject.md +0 -22
- data/docs/ServerBISSubscriptionCreateQueryResourceObjectAttributes.md +0 -20
- data/docs/ServerBISSubscriptionCreateQueryResourceObjectAttributesProfile.md +0 -18
- data/docs/ServerBISSubscriptionCreateQueryResourceObjectRelationships.md +0 -18
- data/docs/ServerBISSubscriptionCreateQueryResourceObjectRelationshipsVariant.md +0 -18
- data/docs/ServerBISSubscriptionCreateQueryResourceObjectRelationshipsVariantData.md +0 -20
- data/docs/SftpEnum.md +0 -15
- data/docs/SftpMethodFilter.md +0 -20
- data/docs/ShopifyEnum.md +0 -15
- data/docs/ShopifyIntegrationFilter.md +0 -22
- data/docs/ShopifyIntegrationMethodFilter.md +0 -22
- data/docs/SmsEnum.md +0 -15
- data/docs/SpamComplaintEnum.md +0 -15
- data/docs/SpamComplaintMethodFilter.md +0 -20
- data/docs/StaticDateFilter.md +0 -22
- data/docs/StaticDateRangeFilter.md +0 -24
- data/docs/StaticScheduleOptions.md +0 -22
- data/docs/StatusDateEnum.md +0 -15
- data/docs/StatusDateFilter.md +0 -20
- data/docs/StatusDateFilterFilter.md +0 -59
- data/docs/StringArrayOperatorFilter.md +0 -22
- data/docs/StringEnum.md +0 -15
- data/docs/StringOperatorFilter.md +0 -22
- data/docs/StringPhoneOperatorArrayFilter.md +0 -22
- data/docs/SubscribedEnum.md +0 -15
- data/docs/SubscriptionChannels.md +0 -20
- data/docs/SubscriptionCreateJobCreateQuery.md +0 -18
- data/docs/SubscriptionCreateJobCreateQueryResourceObject.md +0 -22
- data/docs/SubscriptionCreateJobCreateQueryResourceObjectAttributes.md +0 -22
- data/docs/SubscriptionCreateJobCreateQueryResourceObjectAttributesProfiles.md +0 -18
- data/docs/SubscriptionCreateJobCreateQueryResourceObjectRelationships.md +0 -18
- data/docs/SubscriptionCreateJobCreateQueryResourceObjectRelationshipsList.md +0 -18
- data/docs/SubscriptionCreateJobCreateQueryResourceObjectRelationshipsListData.md +0 -20
- data/docs/SubscriptionDeleteJobCreateQuery.md +0 -18
- data/docs/SubscriptionDeleteJobCreateQueryResourceObject.md +0 -22
- data/docs/SubscriptionDeleteJobCreateQueryResourceObjectAttributes.md +0 -18
- data/docs/SubscriptionDeleteJobCreateQueryResourceObjectAttributesProfiles.md +0 -18
- data/docs/SubscriptionDeleteJobCreateQueryResourceObjectRelationships.md +0 -18
- data/docs/SubscriptionDeleteJobCreateQueryResourceObjectRelationshipsList.md +0 -18
- data/docs/SubscriptionDeleteJobCreateQueryResourceObjectRelationshipsListData.md +0 -20
- data/docs/SuppressionCreateJobCreateQuery.md +0 -18
- data/docs/SuppressionCreateJobCreateQueryResourceObject.md +0 -22
- data/docs/SuppressionCreateJobCreateQueryResourceObjectAttributes.md +0 -18
- data/docs/SuppressionCreateJobCreateQueryResourceObjectAttributesProfiles.md +0 -18
- data/docs/SuppressionCreateJobCreateQueryResourceObjectRelationships.md +0 -20
- data/docs/SuppressionCreateJobCreateQueryResourceObjectRelationshipsList.md +0 -18
- data/docs/SuppressionCreateJobCreateQueryResourceObjectRelationshipsListData.md +0 -20
- data/docs/SuppressionCreateJobCreateQueryResourceObjectRelationshipsSegment.md +0 -18
- data/docs/SuppressionCreateJobCreateQueryResourceObjectRelationshipsSegmentData.md +0 -20
- data/docs/SuppressionDeleteJobCreateQuery.md +0 -18
- data/docs/SuppressionDeleteJobCreateQueryResourceObject.md +0 -22
- data/docs/SuppressionDeleteJobCreateQueryResourceObjectAttributes.md +0 -18
- data/docs/SuppressionDeleteJobCreateQueryResourceObjectAttributesProfiles.md +0 -18
- data/docs/SuppressionDeleteJobCreateQueryResourceObjectRelationships.md +0 -20
- data/docs/SuppressionDeleteJobCreateQueryResourceObjectRelationshipsList.md +0 -18
- data/docs/SuppressionDeleteJobCreateQueryResourceObjectRelationshipsListData.md +0 -20
- data/docs/SuppressionDeleteJobCreateQueryResourceObjectRelationshipsSegment.md +0 -18
- data/docs/SuppressionDeleteJobCreateQueryResourceObjectRelationshipsSegmentData.md +0 -20
- data/docs/TagCampaignOp.md +0 -18
- data/docs/TagCampaignOpDataInner.md +0 -20
- data/docs/TagCreateQuery.md +0 -18
- data/docs/TagCreateQueryResourceObject.md +0 -22
- data/docs/TagCreateQueryResourceObjectAttributes.md +0 -18
- data/docs/TagCreateQueryResourceObjectRelationships.md +0 -18
- data/docs/TagCreateQueryResourceObjectRelationshipsTagGroup.md +0 -18
- data/docs/TagCreateQueryResourceObjectRelationshipsTagGroupData.md +0 -20
- data/docs/TagEnum.md +0 -15
- data/docs/TagFlowOp.md +0 -18
- data/docs/TagFlowOpDataInner.md +0 -20
- data/docs/TagGroupCreateQuery.md +0 -18
- data/docs/TagGroupCreateQueryResourceObject.md +0 -20
- data/docs/TagGroupCreateQueryResourceObjectAttributes.md +0 -20
- data/docs/TagGroupEnum.md +0 -15
- data/docs/TagGroupUpdateQuery.md +0 -18
- data/docs/TagGroupUpdateQueryResourceObject.md +0 -22
- data/docs/TagGroupUpdateQueryResourceObjectAttributes.md +0 -20
- data/docs/TagListOp.md +0 -18
- data/docs/TagListOpDataInner.md +0 -20
- data/docs/TagSegmentOp.md +0 -18
- data/docs/TagSegmentOpDataInner.md +0 -20
- data/docs/TagUpdateQuery.md +0 -18
- data/docs/TagUpdateQueryResourceObject.md +0 -22
- data/docs/TagsApi.md +0 -1929
- data/docs/TemplateCloneQuery.md +0 -18
- data/docs/TemplateCloneQueryResourceObject.md +0 -22
- data/docs/TemplateCloneQueryResourceObjectAttributes.md +0 -18
- data/docs/TemplateCreateQuery.md +0 -18
- data/docs/TemplateCreateQueryResourceObject.md +0 -20
- data/docs/TemplateCreateQueryResourceObjectAttributes.md +0 -30
- data/docs/TemplateEnum.md +0 -15
- data/docs/TemplateRenderQuery.md +0 -18
- data/docs/TemplateRenderQueryResourceObject.md +0 -22
- data/docs/TemplateRenderQueryResourceObjectAttributes.md +0 -18
- data/docs/TemplateUpdateQuery.md +0 -18
- data/docs/TemplateUpdateQueryResourceObject.md +0 -22
- data/docs/TemplateUpdateQueryResourceObjectAttributes.md +0 -28
- data/docs/TemplatesApi.md +0 -524
- data/docs/ThrottledScheduleOptions.md +0 -20
- data/docs/Timeframe.md +0 -18
- data/docs/UTMParamsSubObject.md +0 -20
- data/docs/UnionPositiveNumericFilter.md +0 -22
- data/docs/UnionPositiveNumericFilterOperator.md +0 -49
- data/docs/UnsubscribedEnum.md +0 -15
- data/docs/WebhookCreateQuery.md +0 -18
- data/docs/WebhookCreateQueryResourceObject.md +0 -22
- data/docs/WebhookCreateQueryResourceObjectAttributes.md +0 -24
- data/docs/WebhookCreateQueryResourceObjectRelationships.md +0 -18
- data/docs/WebhookCreateQueryResourceObjectRelationshipsWebhookTopics.md +0 -18
- data/docs/WebhookCreateQueryResourceObjectRelationshipsWebhookTopicsDataInner.md +0 -20
- data/docs/WebhookEnum.md +0 -15
- data/docs/WebhookPartialUpdateQuery.md +0 -18
- data/docs/WebhookPartialUpdateQueryResourceObject.md +0 -24
- data/docs/WebhookPartialUpdateQueryResourceObjectAttributes.md +0 -26
- data/docs/WebhookTopicEnum.md +0 -15
- data/docs/WebhooksApi.md +0 -519
- data/git_push.sh +0 -57
- data/lib/klaviyo-api-sdk/models/custom_object_date_trigger.rb +0 -395
- data/spec/api/accounts_api_spec.rb +0 -60
- data/spec/api/campaigns_api_spec.rb +0 -338
- data/spec/api/catalogs_api_spec.rb +0 -763
- data/spec/api/coupons_api_spec.rb +0 -260
- data/spec/api/data_privacy_api_spec.rb +0 -47
- data/spec/api/events_api_spec.rb +0 -144
- data/spec/api/flows_api_spec.rb +0 -291
- data/spec/api/forms_api_spec.rb +0 -133
- data/spec/api/images_api_spec.rb +0 -103
- data/spec/api/lists_api_spec.rb +0 -190
- data/spec/api/metrics_api_spec.rb +0 -74
- data/spec/api/profiles_api_spec.rb +0 -341
- data/spec/api/reporting_api_spec.rb +0 -74
- data/spec/api/segments_api_spec.rb +0 -164
- data/spec/api/tags_api_spec.rb +0 -371
- data/spec/api/templates_api_spec.rb +0 -124
- data/spec/api/webhooks_api_spec.rb +0 -122
- data/spec/api_client_spec.rb +0 -226
- data/spec/configuration_spec.rb +0 -42
- data/spec/models/alltime_date_filter_spec.rb +0 -44
- data/spec/models/anniversary_date_filter_spec.rb +0 -44
- data/spec/models/any_enum_spec.rb +0 -28
- data/spec/models/api_enum_spec.rb +0 -28
- data/spec/models/api_method_filter_spec.rb +0 -46
- data/spec/models/audiences_sub_object_spec.rb +0 -40
- data/spec/models/back_in_stock_enum_spec.rb +0 -28
- data/spec/models/back_in_stock_method_filter_spec.rb +0 -40
- data/spec/models/back_in_stock_subscription_enum_spec.rb +0 -28
- data/spec/models/base_event_create_query_resource_object_attributes_spec.rb +0 -64
- data/spec/models/base_event_create_query_resource_object_spec.rb +0 -40
- data/spec/models/boolean_enum_spec.rb +0 -28
- data/spec/models/boolean_filter_spec.rb +0 -50
- data/spec/models/bounce_date_enum_spec.rb +0 -28
- data/spec/models/bounce_date_filter_filter_spec.rb +0 -31
- data/spec/models/bounce_date_filter_spec.rb +0 -40
- data/spec/models/bulk_remove_enum_spec.rb +0 -28
- data/spec/models/bulk_remove_method_filter_spec.rb +0 -40
- data/spec/models/calendar_date_filter_spec.rb +0 -50
- data/spec/models/campaign_clone_query_resource_object_attributes_spec.rb +0 -34
- data/spec/models/campaign_clone_query_resource_object_spec.rb +0 -46
- data/spec/models/campaign_clone_query_spec.rb +0 -34
- data/spec/models/campaign_create_query_resource_object_attributes_campaign_messages_spec.rb +0 -34
- data/spec/models/campaign_create_query_resource_object_attributes_send_options_spec.rb +0 -31
- data/spec/models/campaign_create_query_resource_object_attributes_spec.rb +0 -64
- data/spec/models/campaign_create_query_resource_object_attributes_tracking_options_spec.rb +0 -31
- data/spec/models/campaign_create_query_resource_object_spec.rb +0 -40
- data/spec/models/campaign_create_query_spec.rb +0 -34
- data/spec/models/campaign_enum_spec.rb +0 -28
- data/spec/models/campaign_message_assign_template_query_resource_object_relationships_spec.rb +0 -34
- data/spec/models/campaign_message_assign_template_query_resource_object_relationships_template_data_spec.rb +0 -40
- data/spec/models/campaign_message_assign_template_query_resource_object_relationships_template_spec.rb +0 -34
- data/spec/models/campaign_message_assign_template_query_resource_object_spec.rb +0 -46
- data/spec/models/campaign_message_assign_template_query_spec.rb +0 -34
- data/spec/models/campaign_message_create_query_resource_object_attributes_content_spec.rb +0 -31
- data/spec/models/campaign_message_create_query_resource_object_attributes_spec.rb +0 -52
- data/spec/models/campaign_message_create_query_resource_object_spec.rb +0 -40
- data/spec/models/campaign_message_enum_spec.rb +0 -28
- data/spec/models/campaign_message_partial_update_query_resource_object_attributes_spec.rb +0 -46
- data/spec/models/campaign_message_partial_update_query_resource_object_spec.rb +0 -46
- data/spec/models/campaign_message_partial_update_query_spec.rb +0 -34
- data/spec/models/campaign_partial_update_query_resource_object_attributes_spec.rb +0 -58
- data/spec/models/campaign_partial_update_query_resource_object_spec.rb +0 -46
- data/spec/models/campaign_partial_update_query_spec.rb +0 -34
- data/spec/models/campaign_recipient_estimation_job_create_query_resource_object_spec.rb +0 -40
- data/spec/models/campaign_recipient_estimation_job_create_query_spec.rb +0 -34
- data/spec/models/campaign_recipient_estimation_job_enum_spec.rb +0 -28
- data/spec/models/campaign_send_job_create_query_resource_object_spec.rb +0 -40
- data/spec/models/campaign_send_job_create_query_spec.rb +0 -34
- data/spec/models/campaign_send_job_enum_spec.rb +0 -28
- data/spec/models/campaign_send_job_partial_update_query_resource_object_attributes_spec.rb +0 -34
- data/spec/models/campaign_send_job_partial_update_query_resource_object_spec.rb +0 -46
- data/spec/models/campaign_send_job_partial_update_query_spec.rb +0 -34
- data/spec/models/campaign_values_report_enum_spec.rb +0 -28
- data/spec/models/campaign_values_request_dto_resource_object_attributes_spec.rb +0 -56
- data/spec/models/campaign_values_request_dto_resource_object_attributes_timeframe_spec.rb +0 -31
- data/spec/models/campaign_values_request_dto_resource_object_spec.rb +0 -40
- data/spec/models/campaign_values_request_dto_spec.rb +0 -34
- data/spec/models/carrier_deactivation_enum_spec.rb +0 -28
- data/spec/models/carrier_deactivation_method_filter_spec.rb +0 -40
- data/spec/models/catalog_category_bulk_create_job_enum_spec.rb +0 -28
- data/spec/models/catalog_category_bulk_delete_job_enum_spec.rb +0 -28
- data/spec/models/catalog_category_bulk_update_job_enum_spec.rb +0 -28
- data/spec/models/catalog_category_create_job_create_query_resource_object_attributes_categories_spec.rb +0 -34
- data/spec/models/catalog_category_create_job_create_query_resource_object_attributes_spec.rb +0 -34
- data/spec/models/catalog_category_create_job_create_query_resource_object_spec.rb +0 -40
- data/spec/models/catalog_category_create_job_create_query_spec.rb +0 -34
- data/spec/models/catalog_category_create_query_resource_object_attributes_spec.rb +0 -56
- data/spec/models/catalog_category_create_query_resource_object_relationships_items_data_inner_spec.rb +0 -40
- data/spec/models/catalog_category_create_query_resource_object_relationships_items_spec.rb +0 -34
- data/spec/models/catalog_category_create_query_resource_object_relationships_spec.rb +0 -34
- data/spec/models/catalog_category_create_query_resource_object_spec.rb +0 -46
- data/spec/models/catalog_category_create_query_spec.rb +0 -34
- data/spec/models/catalog_category_delete_job_create_query_resource_object_attributes_categories_spec.rb +0 -34
- data/spec/models/catalog_category_delete_job_create_query_resource_object_attributes_spec.rb +0 -34
- data/spec/models/catalog_category_delete_job_create_query_resource_object_spec.rb +0 -40
- data/spec/models/catalog_category_delete_job_create_query_spec.rb +0 -34
- data/spec/models/catalog_category_delete_query_resource_object_spec.rb +0 -40
- data/spec/models/catalog_category_enum_spec.rb +0 -28
- data/spec/models/catalog_category_item_op_spec.rb +0 -34
- data/spec/models/catalog_category_update_job_create_query_resource_object_attributes_categories_spec.rb +0 -34
- data/spec/models/catalog_category_update_job_create_query_resource_object_attributes_spec.rb +0 -34
- data/spec/models/catalog_category_update_job_create_query_resource_object_spec.rb +0 -40
- data/spec/models/catalog_category_update_job_create_query_spec.rb +0 -34
- data/spec/models/catalog_category_update_query_resource_object_attributes_spec.rb +0 -34
- data/spec/models/catalog_category_update_query_resource_object_spec.rb +0 -52
- data/spec/models/catalog_category_update_query_spec.rb +0 -34
- data/spec/models/catalog_item_bulk_create_job_enum_spec.rb +0 -28
- data/spec/models/catalog_item_bulk_delete_job_enum_spec.rb +0 -28
- data/spec/models/catalog_item_bulk_update_job_enum_spec.rb +0 -28
- data/spec/models/catalog_item_category_op_spec.rb +0 -34
- data/spec/models/catalog_item_create_job_create_query_resource_object_attributes_items_spec.rb +0 -34
- data/spec/models/catalog_item_create_job_create_query_resource_object_attributes_spec.rb +0 -34
- data/spec/models/catalog_item_create_job_create_query_resource_object_spec.rb +0 -40
- data/spec/models/catalog_item_create_job_create_query_spec.rb +0 -34
- data/spec/models/catalog_item_create_query_resource_object_attributes_spec.rb +0 -104
- data/spec/models/catalog_item_create_query_resource_object_relationships_categories_data_inner_spec.rb +0 -40
- data/spec/models/catalog_item_create_query_resource_object_relationships_categories_spec.rb +0 -34
- data/spec/models/catalog_item_create_query_resource_object_relationships_spec.rb +0 -34
- data/spec/models/catalog_item_create_query_resource_object_spec.rb +0 -46
- data/spec/models/catalog_item_create_query_spec.rb +0 -34
- data/spec/models/catalog_item_delete_job_create_query_resource_object_attributes_items_spec.rb +0 -34
- data/spec/models/catalog_item_delete_job_create_query_resource_object_attributes_spec.rb +0 -34
- data/spec/models/catalog_item_delete_job_create_query_resource_object_spec.rb +0 -40
- data/spec/models/catalog_item_delete_job_create_query_spec.rb +0 -34
- data/spec/models/catalog_item_delete_query_resource_object_spec.rb +0 -40
- data/spec/models/catalog_item_enum_spec.rb +0 -28
- data/spec/models/catalog_item_update_job_create_query_resource_object_attributes_items_spec.rb +0 -34
- data/spec/models/catalog_item_update_job_create_query_resource_object_attributes_spec.rb +0 -34
- data/spec/models/catalog_item_update_job_create_query_resource_object_spec.rb +0 -40
- data/spec/models/catalog_item_update_job_create_query_spec.rb +0 -34
- data/spec/models/catalog_item_update_query_resource_object_attributes_spec.rb +0 -82
- data/spec/models/catalog_item_update_query_resource_object_spec.rb +0 -52
- data/spec/models/catalog_item_update_query_spec.rb +0 -34
- data/spec/models/catalog_variant_bulk_create_job_enum_spec.rb +0 -28
- data/spec/models/catalog_variant_bulk_delete_job_enum_spec.rb +0 -28
- data/spec/models/catalog_variant_bulk_update_job_enum_spec.rb +0 -28
- data/spec/models/catalog_variant_create_job_create_query_resource_object_attributes_spec.rb +0 -34
- data/spec/models/catalog_variant_create_job_create_query_resource_object_attributes_variants_spec.rb +0 -34
- data/spec/models/catalog_variant_create_job_create_query_resource_object_spec.rb +0 -40
- data/spec/models/catalog_variant_create_job_create_query_spec.rb +0 -34
- data/spec/models/catalog_variant_create_query_resource_object_attributes_spec.rb +0 -126
- data/spec/models/catalog_variant_create_query_resource_object_relationships_item_data_spec.rb +0 -40
- data/spec/models/catalog_variant_create_query_resource_object_relationships_item_spec.rb +0 -34
- data/spec/models/catalog_variant_create_query_resource_object_relationships_spec.rb +0 -34
- data/spec/models/catalog_variant_create_query_resource_object_spec.rb +0 -46
- data/spec/models/catalog_variant_create_query_spec.rb +0 -34
- data/spec/models/catalog_variant_delete_job_create_query_resource_object_attributes_spec.rb +0 -34
- data/spec/models/catalog_variant_delete_job_create_query_resource_object_attributes_variants_spec.rb +0 -34
- data/spec/models/catalog_variant_delete_job_create_query_resource_object_spec.rb +0 -40
- data/spec/models/catalog_variant_delete_job_create_query_spec.rb +0 -34
- data/spec/models/catalog_variant_delete_query_resource_object_spec.rb +0 -40
- data/spec/models/catalog_variant_enum_spec.rb +0 -28
- data/spec/models/catalog_variant_update_job_create_query_resource_object_attributes_spec.rb +0 -34
- data/spec/models/catalog_variant_update_job_create_query_resource_object_attributes_variants_spec.rb +0 -34
- data/spec/models/catalog_variant_update_job_create_query_resource_object_spec.rb +0 -40
- data/spec/models/catalog_variant_update_job_create_query_spec.rb +0 -34
- data/spec/models/catalog_variant_update_query_resource_object_attributes_spec.rb +0 -104
- data/spec/models/catalog_variant_update_query_resource_object_spec.rb +0 -46
- data/spec/models/catalog_variant_update_query_spec.rb +0 -34
- data/spec/models/checkout_enum_spec.rb +0 -28
- data/spec/models/checkout_method_filter_spec.rb +0 -40
- data/spec/models/condition_group_conditions_inner_spec.rb +0 -31
- data/spec/models/condition_group_spec.rb +0 -34
- data/spec/models/constant_contact_enum_spec.rb +0 -28
- data/spec/models/constant_contact_integration_filter_spec.rb +0 -46
- data/spec/models/constant_contact_integration_method_filter_spec.rb +0 -46
- data/spec/models/coupon_code_bulk_create_job_enum_spec.rb +0 -28
- data/spec/models/coupon_code_create_job_create_query_resource_object_attributes_coupon_codes_spec.rb +0 -34
- data/spec/models/coupon_code_create_job_create_query_resource_object_attributes_spec.rb +0 -34
- data/spec/models/coupon_code_create_job_create_query_resource_object_spec.rb +0 -40
- data/spec/models/coupon_code_create_job_create_query_spec.rb +0 -34
- data/spec/models/coupon_code_create_query_resource_object_attributes_spec.rb +0 -40
- data/spec/models/coupon_code_create_query_resource_object_relationships_coupon_data_spec.rb +0 -40
- data/spec/models/coupon_code_create_query_resource_object_relationships_coupon_spec.rb +0 -34
- data/spec/models/coupon_code_create_query_resource_object_relationships_spec.rb +0 -34
- data/spec/models/coupon_code_create_query_resource_object_spec.rb +0 -46
- data/spec/models/coupon_code_create_query_spec.rb +0 -34
- data/spec/models/coupon_code_enum_spec.rb +0 -28
- data/spec/models/coupon_code_update_query_resource_object_attributes_spec.rb +0 -44
- data/spec/models/coupon_code_update_query_resource_object_spec.rb +0 -46
- data/spec/models/coupon_code_update_query_spec.rb +0 -34
- data/spec/models/coupon_create_query_resource_object_attributes_spec.rb +0 -40
- data/spec/models/coupon_create_query_resource_object_spec.rb +0 -40
- data/spec/models/coupon_create_query_spec.rb +0 -34
- data/spec/models/coupon_enum_spec.rb +0 -28
- data/spec/models/coupon_update_query_resource_object_attributes_spec.rb +0 -34
- data/spec/models/coupon_update_query_resource_object_spec.rb +0 -46
- data/spec/models/coupon_update_query_spec.rb +0 -34
- data/spec/models/custom_source_enum_spec.rb +0 -28
- data/spec/models/custom_source_filter_spec.rb +0 -40
- data/spec/models/custom_timeframe_spec.rb +0 -40
- data/spec/models/data_privacy_create_deletion_job_query_resource_object_attributes_profile_spec.rb +0 -34
- data/spec/models/data_privacy_create_deletion_job_query_resource_object_attributes_spec.rb +0 -34
- data/spec/models/data_privacy_create_deletion_job_query_resource_object_spec.rb +0 -40
- data/spec/models/data_privacy_create_deletion_job_query_spec.rb +0 -34
- data/spec/models/data_privacy_deletion_job_enum_spec.rb +0 -28
- data/spec/models/data_privacy_profile_query_resource_object_attributes_spec.rb +0 -40
- data/spec/models/data_privacy_profile_query_resource_object_spec.rb +0 -46
- data/spec/models/date_enum_spec.rb +0 -28
- data/spec/models/device_metadata_spec.rb +0 -112
- data/spec/models/double_optin_filter_spec.rb +0 -40
- data/spec/models/email_content_sub_object_spec.rb +0 -70
- data/spec/models/email_enum_spec.rb +0 -28
- data/spec/models/email_send_options_sub_object_spec.rb +0 -34
- data/spec/models/email_subscription_parameters_spec.rb +0 -34
- data/spec/models/email_tracking_options_sub_object_spec.rb +0 -52
- data/spec/models/equals_enum_spec.rb +0 -28
- data/spec/models/equals_string_filter_spec.rb +0 -46
- data/spec/models/event_bulk_create_enum_spec.rb +0 -28
- data/spec/models/event_bulk_create_job_enum_spec.rb +0 -28
- data/spec/models/event_create_query_v2_resource_object_attributes_metric_spec.rb +0 -34
- data/spec/models/event_create_query_v2_resource_object_attributes_profile_spec.rb +0 -34
- data/spec/models/event_create_query_v2_resource_object_attributes_spec.rb +0 -70
- data/spec/models/event_create_query_v2_resource_object_spec.rb +0 -40
- data/spec/models/event_create_query_v2_spec.rb +0 -34
- data/spec/models/event_enum_spec.rb +0 -28
- data/spec/models/event_profile_create_query_resource_object_attributes_spec.rb +0 -106
- data/spec/models/event_profile_create_query_resource_object_spec.rb +0 -46
- data/spec/models/events_bulk_create_job_resource_object_attributes_events_bulk_create_spec.rb +0 -34
- data/spec/models/events_bulk_create_job_resource_object_attributes_spec.rb +0 -34
- data/spec/models/events_bulk_create_job_resource_object_spec.rb +0 -40
- data/spec/models/events_bulk_create_job_spec.rb +0 -34
- data/spec/models/events_bulk_create_query_resource_object_attributes_events_spec.rb +0 -34
- data/spec/models/events_bulk_create_query_resource_object_attributes_profile_spec.rb +0 -34
- data/spec/models/events_bulk_create_query_resource_object_attributes_spec.rb +0 -40
- data/spec/models/events_bulk_create_query_resource_object_spec.rb +0 -40
- data/spec/models/existence_enum_spec.rb +0 -28
- data/spec/models/existence_operator_filter_spec.rb +0 -44
- data/spec/models/failed_age_gate_enum_spec.rb +0 -28
- data/spec/models/failed_age_gate_method_filter_spec.rb +0 -40
- data/spec/models/flow_enum_spec.rb +0 -28
- data/spec/models/flow_series_report_enum_spec.rb +0 -28
- data/spec/models/flow_series_request_dto_resource_object_attributes_spec.rb +0 -66
- data/spec/models/flow_series_request_dto_resource_object_spec.rb +0 -40
- data/spec/models/flow_series_request_dto_spec.rb +0 -34
- data/spec/models/flow_update_query_resource_object_attributes_spec.rb +0 -34
- data/spec/models/flow_update_query_resource_object_spec.rb +0 -46
- data/spec/models/flow_update_query_spec.rb +0 -34
- data/spec/models/flow_values_report_enum_spec.rb +0 -28
- data/spec/models/flow_values_request_dto_resource_object_attributes_spec.rb +0 -56
- data/spec/models/flow_values_request_dto_resource_object_spec.rb +0 -40
- data/spec/models/flow_values_request_dto_spec.rb +0 -34
- data/spec/models/form_enum_spec.rb +0 -28
- data/spec/models/form_method_filter_spec.rb +0 -46
- data/spec/models/get_accounts4_xx_response_errors_inner_source_spec.rb +0 -40
- data/spec/models/get_accounts4_xx_response_errors_inner_spec.rb +0 -58
- data/spec/models/get_accounts4_xx_response_spec.rb +0 -34
- data/spec/models/greater_than_enum_spec.rb +0 -28
- data/spec/models/has_email_marketing_consent_consent_status_spec.rb +0 -31
- data/spec/models/has_email_marketing_consent_spec.rb +0 -50
- data/spec/models/has_email_marketing_never_subscribed_spec.rb +0 -34
- data/spec/models/has_email_marketing_spec.rb +0 -34
- data/spec/models/has_email_marketing_subscribed_filters_inner_spec.rb +0 -31
- data/spec/models/has_email_marketing_subscribed_spec.rb +0 -40
- data/spec/models/has_push_marketing_consent_spec.rb +0 -50
- data/spec/models/has_push_marketing_spec.rb +0 -40
- data/spec/models/has_sms_marketing_consent_spec.rb +0 -50
- data/spec/models/has_sms_marketing_subscribed_filters_inner_spec.rb +0 -31
- data/spec/models/has_sms_marketing_subscribed_spec.rb +0 -40
- data/spec/models/image_create_query_resource_object_attributes_spec.rb +0 -46
- data/spec/models/image_create_query_resource_object_spec.rb +0 -40
- data/spec/models/image_create_query_spec.rb +0 -34
- data/spec/models/image_enum_spec.rb +0 -28
- data/spec/models/image_partial_update_query_resource_object_attributes_spec.rb +0 -40
- data/spec/models/image_partial_update_query_resource_object_spec.rb +0 -46
- data/spec/models/image_partial_update_query_spec.rb +0 -34
- data/spec/models/in_enum_spec.rb +0 -28
- data/spec/models/in_string_array_filter_spec.rb +0 -46
- data/spec/models/inbound_message_enum_spec.rb +0 -28
- data/spec/models/inbound_message_method_filter_spec.rb +0 -40
- data/spec/models/integration_enum_spec.rb +0 -28
- data/spec/models/invalid_email_date_enum_spec.rb +0 -28
- data/spec/models/invalid_email_date_filter_spec.rb +0 -40
- data/spec/models/is_double_opt_in_enum_spec.rb +0 -28
- data/spec/models/is_set_enum_spec.rb +0 -28
- data/spec/models/is_set_existence_filter_spec.rb +0 -40
- data/spec/models/less_than_enum_spec.rb +0 -28
- data/spec/models/list_contains_operator_filter_spec.rb +0 -50
- data/spec/models/list_contains_operator_filter_value_spec.rb +0 -31
- data/spec/models/list_create_query_resource_object_attributes_spec.rb +0 -34
- data/spec/models/list_create_query_resource_object_spec.rb +0 -40
- data/spec/models/list_create_query_spec.rb +0 -34
- data/spec/models/list_enum_spec.rb +0 -28
- data/spec/models/list_length_filter_spec.rb +0 -50
- data/spec/models/list_members_add_query_data_inner_spec.rb +0 -40
- data/spec/models/list_members_add_query_spec.rb +0 -34
- data/spec/models/list_members_delete_query_spec.rb +0 -34
- data/spec/models/list_partial_update_query_resource_object_spec.rb +0 -46
- data/spec/models/list_partial_update_query_spec.rb +0 -34
- data/spec/models/list_set_filter_spec.rb +0 -50
- data/spec/models/mailbox_provider_enum_spec.rb +0 -28
- data/spec/models/mailbox_provider_method_filter_spec.rb +0 -40
- data/spec/models/manual_add_enum_spec.rb +0 -28
- data/spec/models/manual_add_method_filter_spec.rb +0 -46
- data/spec/models/manual_import_enum_spec.rb +0 -28
- data/spec/models/manual_import_method_filter_spec.rb +0 -46
- data/spec/models/manual_remove_enum_spec.rb +0 -28
- data/spec/models/manual_remove_method_filter_spec.rb +0 -40
- data/spec/models/manual_suppression_date_enum_spec.rb +0 -28
- data/spec/models/manual_suppression_date_filter_spec.rb +0 -40
- data/spec/models/marketing_subscription_parameters_spec.rb +0 -44
- data/spec/models/message_blocked_enum_spec.rb +0 -28
- data/spec/models/message_blocked_method_filter_spec.rb +0 -40
- data/spec/models/method_enum_spec.rb +0 -28
- data/spec/models/metric_aggregate_enum_spec.rb +0 -28
- data/spec/models/metric_aggregate_query_resource_object_attributes_spec.rb +0 -104
- data/spec/models/metric_aggregate_query_resource_object_spec.rb +0 -40
- data/spec/models/metric_aggregate_query_spec.rb +0 -34
- data/spec/models/metric_create_query_resource_object_attributes_spec.rb +0 -40
- data/spec/models/metric_create_query_resource_object_spec.rb +0 -40
- data/spec/models/metric_enum_spec.rb +0 -28
- data/spec/models/never_subscribed_enum_spec.rb +0 -28
- data/spec/models/no_email_marketing_consent_consent_status_spec.rb +0 -31
- data/spec/models/no_email_marketing_consent_spec.rb +0 -50
- data/spec/models/no_email_marketing_filters_inner_spec.rb +0 -31
- data/spec/models/no_email_marketing_never_subscribed_spec.rb +0 -40
- data/spec/models/no_email_marketing_spec.rb +0 -40
- data/spec/models/no_email_marketing_subscribed_spec.rb +0 -40
- data/spec/models/no_email_marketing_unsubscribed_filters_one_of_inner_spec.rb +0 -31
- data/spec/models/no_email_marketing_unsubscribed_filters_spec.rb +0 -31
- data/spec/models/no_email_marketing_unsubscribed_spec.rb +0 -40
- data/spec/models/no_push_marketing_consent_spec.rb +0 -50
- data/spec/models/no_push_marketing_spec.rb +0 -34
- data/spec/models/no_sms_marketing_consent_consent_status_spec.rb +0 -31
- data/spec/models/no_sms_marketing_consent_spec.rb +0 -50
- data/spec/models/no_sms_marketing_never_subscribed_spec.rb +0 -34
- data/spec/models/no_sms_marketing_spec.rb +0 -34
- data/spec/models/no_sms_marketing_unsubscribed_filters_inner_spec.rb +0 -31
- data/spec/models/no_sms_marketing_unsubscribed_spec.rb +0 -40
- data/spec/models/not_equals_enum_spec.rb +0 -28
- data/spec/models/numeric_enum_spec.rb +0 -28
- data/spec/models/numeric_operator_filter_spec.rb +0 -50
- data/spec/models/numeric_operator_filter_value_spec.rb +0 -31
- data/spec/models/onsite_profile_create_query_resource_object_attributes_spec.rb +0 -100
- data/spec/models/onsite_profile_create_query_resource_object_spec.rb +0 -52
- data/spec/models/onsite_profile_meta_spec.rb +0 -34
- data/spec/models/preference_page_enum_spec.rb +0 -28
- data/spec/models/preference_page_filter_spec.rb +0 -46
- data/spec/models/preference_page_method_filter_spec.rb +0 -40
- data/spec/models/profile_bulk_import_job_enum_spec.rb +0 -28
- data/spec/models/profile_create_query_resource_object_attributes_spec.rb +0 -88
- data/spec/models/profile_create_query_resource_object_spec.rb +0 -40
- data/spec/models/profile_create_query_spec.rb +0 -34
- data/spec/models/profile_enum_spec.rb +0 -28
- data/spec/models/profile_group_membership_enum_spec.rb +0 -28
- data/spec/models/profile_has_group_membership_condition_spec.rb +0 -56
- data/spec/models/profile_has_group_membership_condition_timeframe_filter_spec.rb +0 -31
- data/spec/models/profile_identifier_dto_resource_object_attributes_spec.rb +0 -52
- data/spec/models/profile_identifier_dto_resource_object_spec.rb +0 -46
- data/spec/models/profile_import_job_create_query_resource_object_attributes_profiles_spec.rb +0 -34
- data/spec/models/profile_import_job_create_query_resource_object_attributes_spec.rb +0 -34
- data/spec/models/profile_import_job_create_query_resource_object_relationships_lists_data_inner_spec.rb +0 -40
- data/spec/models/profile_import_job_create_query_resource_object_relationships_lists_spec.rb +0 -34
- data/spec/models/profile_import_job_create_query_resource_object_relationships_spec.rb +0 -34
- data/spec/models/profile_import_job_create_query_resource_object_spec.rb +0 -46
- data/spec/models/profile_import_job_create_query_spec.rb +0 -34
- data/spec/models/profile_location_latitude_spec.rb +0 -31
- data/spec/models/profile_location_longitude_spec.rb +0 -31
- data/spec/models/profile_location_spec.rb +0 -88
- data/spec/models/profile_marketing_consent_condition_consent_spec.rb +0 -31
- data/spec/models/profile_marketing_consent_condition_spec.rb +0 -40
- data/spec/models/profile_marketing_consent_enum_spec.rb +0 -28
- data/spec/models/profile_merge_enum_spec.rb +0 -28
- data/spec/models/profile_merge_query_resource_object_relationships_profiles_data_inner_spec.rb +0 -40
- data/spec/models/profile_merge_query_resource_object_relationships_profiles_spec.rb +0 -34
- data/spec/models/profile_merge_query_resource_object_relationships_spec.rb +0 -34
- data/spec/models/profile_merge_query_resource_object_spec.rb +0 -46
- data/spec/models/profile_merge_query_spec.rb +0 -34
- data/spec/models/profile_meta_patch_properties_spec.rb +0 -46
- data/spec/models/profile_meta_patch_properties_unset_spec.rb +0 -31
- data/spec/models/profile_meta_spec.rb +0 -34
- data/spec/models/profile_metric_condition_spec.rb +0 -68
- data/spec/models/profile_metric_condition_timeframe_filter_spec.rb +0 -31
- data/spec/models/profile_metric_enum_spec.rb +0 -28
- data/spec/models/profile_metric_property_filter_filter_spec.rb +0 -31
- data/spec/models/profile_metric_property_filter_spec.rb +0 -40
- data/spec/models/profile_no_group_membership_condition_spec.rb +0 -50
- data/spec/models/profile_partial_update_query_resource_object_attributes_spec.rb +0 -94
- data/spec/models/profile_partial_update_query_resource_object_spec.rb +0 -52
- data/spec/models/profile_partial_update_query_spec.rb +0 -34
- data/spec/models/profile_postal_code_distance_condition_spec.rb +0 -62
- data/spec/models/profile_postal_code_distance_enum_spec.rb +0 -28
- data/spec/models/profile_predictive_analytics_enum_spec.rb +0 -28
- data/spec/models/profile_predictive_analytics_numeric_condition_spec.rb +0 -50
- data/spec/models/profile_predictive_analytics_string_condition_spec.rb +0 -50
- data/spec/models/profile_predictive_analytics_string_filter_operator_spec.rb +0 -31
- data/spec/models/profile_predictive_analytics_string_filter_spec.rb +0 -50
- data/spec/models/profile_property_condition_filter_spec.rb +0 -31
- data/spec/models/profile_property_condition_spec.rb +0 -46
- data/spec/models/profile_property_enum_spec.rb +0 -28
- data/spec/models/profile_region_condition_spec.rb +0 -50
- data/spec/models/profile_region_enum_spec.rb +0 -28
- data/spec/models/profile_subscription_bulk_create_job_enum_spec.rb +0 -28
- data/spec/models/profile_subscription_bulk_delete_job_enum_spec.rb +0 -28
- data/spec/models/profile_subscription_create_query_resource_object_attributes_spec.rb +0 -52
- data/spec/models/profile_subscription_create_query_resource_object_spec.rb +0 -46
- data/spec/models/profile_subscription_delete_query_resource_object_attributes_spec.rb +0 -40
- data/spec/models/profile_subscription_delete_query_resource_object_spec.rb +0 -40
- data/spec/models/profile_suppression_bulk_create_job_enum_spec.rb +0 -28
- data/spec/models/profile_suppression_bulk_delete_job_enum_spec.rb +0 -28
- data/spec/models/profile_suppression_create_query_resource_object_attributes_spec.rb +0 -34
- data/spec/models/profile_suppression_create_query_resource_object_spec.rb +0 -40
- data/spec/models/profile_suppression_delete_query_resource_object_attributes_spec.rb +0 -34
- data/spec/models/profile_suppression_delete_query_resource_object_spec.rb +0 -40
- data/spec/models/profile_upsert_query_resource_object_attributes_spec.rb +0 -100
- data/spec/models/profile_upsert_query_resource_object_spec.rb +0 -52
- data/spec/models/profile_upsert_query_spec.rb +0 -34
- data/spec/models/provided_landline_enum_spec.rb +0 -28
- data/spec/models/provided_landline_method_filter_spec.rb +0 -40
- data/spec/models/provided_no_age_enum_spec.rb +0 -28
- data/spec/models/provided_no_age_method_filter_spec.rb +0 -40
- data/spec/models/push_enum_spec.rb +0 -28
- data/spec/models/push_profile_upsert_query_resource_object_attributes_spec.rb +0 -106
- data/spec/models/push_profile_upsert_query_resource_object_spec.rb +0 -46
- data/spec/models/push_token_create_query_resource_object_attributes_profile_spec.rb +0 -34
- data/spec/models/push_token_create_query_resource_object_attributes_spec.rb +0 -86
- data/spec/models/push_token_create_query_resource_object_spec.rb +0 -40
- data/spec/models/push_token_create_query_spec.rb +0 -34
- data/spec/models/push_token_enum_spec.rb +0 -28
- data/spec/models/relative_anniversary_date_filter_spec.rb +0 -60
- data/spec/models/relative_date_operator_base_filter_spec.rb +0 -60
- data/spec/models/relative_date_range_filter_spec.rb +0 -66
- data/spec/models/render_options_sub_object_spec.rb +0 -52
- data/spec/models/segment_create_query_resource_object_attributes_spec.rb +0 -46
- data/spec/models/segment_create_query_resource_object_spec.rb +0 -40
- data/spec/models/segment_create_query_spec.rb +0 -34
- data/spec/models/segment_definition_spec.rb +0 -34
- data/spec/models/segment_enum_spec.rb +0 -28
- data/spec/models/segment_partial_update_query_resource_object_attributes_spec.rb +0 -46
- data/spec/models/segment_partial_update_query_resource_object_spec.rb +0 -46
- data/spec/models/segment_partial_update_query_spec.rb +0 -34
- data/spec/models/send_strategy_sub_object_spec.rb +0 -52
- data/spec/models/server_bis_subscription_create_query_resource_object_attributes_profile_spec.rb +0 -34
- data/spec/models/server_bis_subscription_create_query_resource_object_attributes_spec.rb +0 -44
- data/spec/models/server_bis_subscription_create_query_resource_object_relationships_spec.rb +0 -34
- data/spec/models/server_bis_subscription_create_query_resource_object_relationships_variant_data_spec.rb +0 -40
- data/spec/models/server_bis_subscription_create_query_resource_object_relationships_variant_spec.rb +0 -34
- data/spec/models/server_bis_subscription_create_query_resource_object_spec.rb +0 -46
- data/spec/models/server_bis_subscription_create_query_spec.rb +0 -34
- data/spec/models/sftp_enum_spec.rb +0 -28
- data/spec/models/sftp_method_filter_spec.rb +0 -40
- data/spec/models/shopify_enum_spec.rb +0 -28
- data/spec/models/shopify_integration_filter_spec.rb +0 -46
- data/spec/models/shopify_integration_method_filter_spec.rb +0 -46
- data/spec/models/sms_content_sub_object_create_spec.rb +0 -34
- data/spec/models/sms_enum_spec.rb +0 -28
- data/spec/models/sms_send_options_sub_object_spec.rb +0 -34
- data/spec/models/sms_subscription_parameters_spec.rb +0 -34
- data/spec/models/sms_tracking_options_sub_object_spec.rb +0 -40
- data/spec/models/spam_complaint_enum_spec.rb +0 -28
- data/spec/models/spam_complaint_method_filter_spec.rb +0 -40
- data/spec/models/static_date_filter_spec.rb +0 -50
- data/spec/models/static_date_range_filter_spec.rb +0 -56
- data/spec/models/static_schedule_options_spec.rb +0 -46
- data/spec/models/status_date_enum_spec.rb +0 -28
- data/spec/models/status_date_filter_filter_spec.rb +0 -31
- data/spec/models/status_date_filter_spec.rb +0 -40
- data/spec/models/sto_schedule_options_spec.rb +0 -34
- data/spec/models/string_array_operator_filter_spec.rb +0 -50
- data/spec/models/string_enum_spec.rb +0 -28
- data/spec/models/string_operator_filter_spec.rb +0 -50
- data/spec/models/string_phone_operator_array_filter_spec.rb +0 -50
- data/spec/models/subscribed_enum_spec.rb +0 -28
- data/spec/models/subscription_channels_spec.rb +0 -40
- data/spec/models/subscription_create_job_create_query_resource_object_attributes_profiles_spec.rb +0 -34
- data/spec/models/subscription_create_job_create_query_resource_object_attributes_spec.rb +0 -46
- data/spec/models/subscription_create_job_create_query_resource_object_relationships_list_data_spec.rb +0 -40
- data/spec/models/subscription_create_job_create_query_resource_object_relationships_list_spec.rb +0 -34
- data/spec/models/subscription_create_job_create_query_resource_object_relationships_spec.rb +0 -34
- data/spec/models/subscription_create_job_create_query_resource_object_spec.rb +0 -46
- data/spec/models/subscription_create_job_create_query_spec.rb +0 -34
- data/spec/models/subscription_delete_job_create_query_resource_object_attributes_profiles_spec.rb +0 -34
- data/spec/models/subscription_delete_job_create_query_resource_object_attributes_spec.rb +0 -34
- data/spec/models/subscription_delete_job_create_query_resource_object_relationships_list_data_spec.rb +0 -40
- data/spec/models/subscription_delete_job_create_query_resource_object_relationships_list_spec.rb +0 -34
- data/spec/models/subscription_delete_job_create_query_resource_object_relationships_spec.rb +0 -34
- data/spec/models/subscription_delete_job_create_query_resource_object_spec.rb +0 -46
- data/spec/models/subscription_delete_job_create_query_spec.rb +0 -34
- data/spec/models/suppression_create_job_create_query_resource_object_attributes_profiles_spec.rb +0 -34
- data/spec/models/suppression_create_job_create_query_resource_object_attributes_spec.rb +0 -34
- data/spec/models/suppression_create_job_create_query_resource_object_relationships_list_data_spec.rb +0 -40
- data/spec/models/suppression_create_job_create_query_resource_object_relationships_list_spec.rb +0 -34
- data/spec/models/suppression_create_job_create_query_resource_object_relationships_segment_data_spec.rb +0 -40
- data/spec/models/suppression_create_job_create_query_resource_object_relationships_segment_spec.rb +0 -34
- data/spec/models/suppression_create_job_create_query_resource_object_relationships_spec.rb +0 -40
- data/spec/models/suppression_create_job_create_query_resource_object_spec.rb +0 -46
- data/spec/models/suppression_create_job_create_query_spec.rb +0 -34
- data/spec/models/suppression_delete_job_create_query_resource_object_attributes_profiles_spec.rb +0 -34
- data/spec/models/suppression_delete_job_create_query_resource_object_attributes_spec.rb +0 -34
- data/spec/models/suppression_delete_job_create_query_resource_object_relationships_list_data_spec.rb +0 -40
- data/spec/models/suppression_delete_job_create_query_resource_object_relationships_list_spec.rb +0 -34
- data/spec/models/suppression_delete_job_create_query_resource_object_relationships_segment_data_spec.rb +0 -40
- data/spec/models/suppression_delete_job_create_query_resource_object_relationships_segment_spec.rb +0 -34
- data/spec/models/suppression_delete_job_create_query_resource_object_relationships_spec.rb +0 -40
- data/spec/models/suppression_delete_job_create_query_resource_object_spec.rb +0 -46
- data/spec/models/suppression_delete_job_create_query_spec.rb +0 -34
- data/spec/models/tag_campaign_op_data_inner_spec.rb +0 -40
- data/spec/models/tag_campaign_op_spec.rb +0 -34
- data/spec/models/tag_create_query_resource_object_attributes_spec.rb +0 -34
- data/spec/models/tag_create_query_resource_object_relationships_spec.rb +0 -34
- data/spec/models/tag_create_query_resource_object_relationships_tag_group_data_spec.rb +0 -40
- data/spec/models/tag_create_query_resource_object_relationships_tag_group_spec.rb +0 -34
- data/spec/models/tag_create_query_resource_object_spec.rb +0 -46
- data/spec/models/tag_create_query_spec.rb +0 -34
- data/spec/models/tag_enum_spec.rb +0 -28
- data/spec/models/tag_flow_op_data_inner_spec.rb +0 -40
- data/spec/models/tag_flow_op_spec.rb +0 -34
- data/spec/models/tag_group_create_query_resource_object_attributes_spec.rb +0 -40
- data/spec/models/tag_group_create_query_resource_object_spec.rb +0 -40
- data/spec/models/tag_group_create_query_spec.rb +0 -34
- data/spec/models/tag_group_enum_spec.rb +0 -28
- data/spec/models/tag_group_update_query_resource_object_attributes_spec.rb +0 -40
- data/spec/models/tag_group_update_query_resource_object_spec.rb +0 -46
- data/spec/models/tag_group_update_query_spec.rb +0 -34
- data/spec/models/tag_list_op_data_inner_spec.rb +0 -40
- data/spec/models/tag_list_op_spec.rb +0 -34
- data/spec/models/tag_segment_op_data_inner_spec.rb +0 -40
- data/spec/models/tag_segment_op_spec.rb +0 -34
- data/spec/models/tag_update_query_resource_object_spec.rb +0 -46
- data/spec/models/tag_update_query_spec.rb +0 -34
- data/spec/models/template_clone_query_resource_object_attributes_spec.rb +0 -34
- data/spec/models/template_clone_query_resource_object_spec.rb +0 -46
- data/spec/models/template_clone_query_spec.rb +0 -34
- data/spec/models/template_create_query_resource_object_attributes_spec.rb +0 -52
- data/spec/models/template_create_query_resource_object_spec.rb +0 -40
- data/spec/models/template_create_query_spec.rb +0 -34
- data/spec/models/template_enum_spec.rb +0 -28
- data/spec/models/template_render_query_resource_object_attributes_spec.rb +0 -34
- data/spec/models/template_render_query_resource_object_spec.rb +0 -46
- data/spec/models/template_render_query_spec.rb +0 -34
- data/spec/models/template_update_query_resource_object_attributes_spec.rb +0 -46
- data/spec/models/template_update_query_resource_object_spec.rb +0 -46
- data/spec/models/template_update_query_spec.rb +0 -34
- data/spec/models/throttled_schedule_options_spec.rb +0 -40
- data/spec/models/timeframe_spec.rb +0 -38
- data/spec/models/union_positive_numeric_filter_operator_spec.rb +0 -31
- data/spec/models/union_positive_numeric_filter_spec.rb +0 -46
- data/spec/models/unsubscribed_enum_spec.rb +0 -28
- data/spec/models/utm_params_sub_object_spec.rb +0 -40
- data/spec/models/webhook_create_query_resource_object_attributes_spec.rb +0 -52
- data/spec/models/webhook_create_query_resource_object_relationships_spec.rb +0 -34
- data/spec/models/webhook_create_query_resource_object_relationships_webhook_topics_data_inner_spec.rb +0 -40
- data/spec/models/webhook_create_query_resource_object_relationships_webhook_topics_spec.rb +0 -34
- data/spec/models/webhook_create_query_resource_object_spec.rb +0 -46
- data/spec/models/webhook_create_query_spec.rb +0 -34
- data/spec/models/webhook_enum_spec.rb +0 -28
- data/spec/models/webhook_partial_update_query_resource_object_attributes_spec.rb +0 -58
- data/spec/models/webhook_partial_update_query_resource_object_spec.rb +0 -52
- data/spec/models/webhook_partial_update_query_spec.rb +0 -34
- data/spec/models/webhook_topic_enum_spec.rb +0 -28
- data/spec/spec_helper.rb +0 -111
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 2025-
|
6
|
+
The version of the OpenAPI document: 2025-04-15
|
7
7
|
Contact: developers@klaviyo.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 6.2.1
|
@@ -66,7 +66,7 @@ module KlaviyoAPI
|
|
66
66
|
# header parameters
|
67
67
|
header_params = opts[:header_params] || {}
|
68
68
|
# klaviyo api revision
|
69
|
-
header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2025-
|
69
|
+
header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2025-04-15"
|
70
70
|
# HTTP header 'Accept' (if needed)
|
71
71
|
header_params['Accept'] = @api_client.select_header_accept(['application/vnd.api+json'])
|
72
72
|
# HTTP header 'Content-Type'
|
@@ -157,7 +157,7 @@ module KlaviyoAPI
|
|
157
157
|
# header parameters
|
158
158
|
header_params = opts[:header_params] || {}
|
159
159
|
# klaviyo api revision
|
160
|
-
header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2025-
|
160
|
+
header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2025-04-15"
|
161
161
|
# HTTP header 'Accept' (if needed)
|
162
162
|
header_params['Accept'] = @api_client.select_header_accept(['application/vnd.api+json'])
|
163
163
|
# HTTP header 'Content-Type'
|
@@ -239,7 +239,7 @@ module KlaviyoAPI
|
|
239
239
|
# header parameters
|
240
240
|
header_params = opts[:header_params] || {}
|
241
241
|
# klaviyo api revision
|
242
|
-
header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2025-
|
242
|
+
header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2025-04-15"
|
243
243
|
# HTTP header 'Accept' (if needed)
|
244
244
|
header_params['Accept'] = @api_client.select_header_accept(['application/vnd.api+json'])
|
245
245
|
# HTTP header 'Content-Type'
|
@@ -321,7 +321,7 @@ module KlaviyoAPI
|
|
321
321
|
# header parameters
|
322
322
|
header_params = opts[:header_params] || {}
|
323
323
|
# klaviyo api revision
|
324
|
-
header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2025-
|
324
|
+
header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2025-04-15"
|
325
325
|
# HTTP header 'Accept' (if needed)
|
326
326
|
header_params['Accept'] = @api_client.select_header_accept(['application/vnd.api+json'])
|
327
327
|
# HTTP header 'Content-Type'
|
@@ -403,7 +403,7 @@ module KlaviyoAPI
|
|
403
403
|
# header parameters
|
404
404
|
header_params = opts[:header_params] || {}
|
405
405
|
# klaviyo api revision
|
406
|
-
header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2025-
|
406
|
+
header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2025-04-15"
|
407
407
|
# HTTP header 'Accept' (if needed)
|
408
408
|
header_params['Accept'] = @api_client.select_header_accept(['application/vnd.api+json'])
|
409
409
|
# HTTP header 'Content-Type'
|
@@ -485,7 +485,7 @@ module KlaviyoAPI
|
|
485
485
|
# header parameters
|
486
486
|
header_params = opts[:header_params] || {}
|
487
487
|
# klaviyo api revision
|
488
|
-
header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2025-
|
488
|
+
header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2025-04-15"
|
489
489
|
# HTTP header 'Accept' (if needed)
|
490
490
|
header_params['Accept'] = @api_client.select_header_accept(['application/vnd.api+json'])
|
491
491
|
# HTTP header 'Content-Type'
|
@@ -567,7 +567,7 @@ module KlaviyoAPI
|
|
567
567
|
# header parameters
|
568
568
|
header_params = opts[:header_params] || {}
|
569
569
|
# klaviyo api revision
|
570
|
-
header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2025-
|
570
|
+
header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2025-04-15"
|
571
571
|
# HTTP header 'Accept' (if needed)
|
572
572
|
header_params['Accept'] = @api_client.select_header_accept(['application/vnd.api+json'])
|
573
573
|
# HTTP header 'Content-Type'
|
@@ -649,7 +649,7 @@ module KlaviyoAPI
|
|
649
649
|
# header parameters
|
650
650
|
header_params = opts[:header_params] || {}
|
651
651
|
# klaviyo api revision
|
652
|
-
header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2025-
|
652
|
+
header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2025-04-15"
|
653
653
|
# HTTP header 'Accept' (if needed)
|
654
654
|
header_params['Accept'] = @api_client.select_header_accept(['application/vnd.api+json'])
|
655
655
|
# HTTP header 'Content-Type'
|
@@ -731,7 +731,7 @@ module KlaviyoAPI
|
|
731
731
|
# header parameters
|
732
732
|
header_params = opts[:header_params] || {}
|
733
733
|
# klaviyo api revision
|
734
|
-
header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2025-
|
734
|
+
header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2025-04-15"
|
735
735
|
# HTTP header 'Accept' (if needed)
|
736
736
|
header_params['Accept'] = @api_client.select_header_accept(['application/vnd.api+json'])
|
737
737
|
# HTTP header 'Content-Type'
|
@@ -813,7 +813,7 @@ module KlaviyoAPI
|
|
813
813
|
# header parameters
|
814
814
|
header_params = opts[:header_params] || {}
|
815
815
|
# klaviyo api revision
|
816
|
-
header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2025-
|
816
|
+
header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2025-04-15"
|
817
817
|
# HTTP header 'Accept' (if needed)
|
818
818
|
header_params['Accept'] = @api_client.select_header_accept(['application/vnd.api+json'])
|
819
819
|
# HTTP header 'Content-Type'
|
@@ -895,7 +895,7 @@ module KlaviyoAPI
|
|
895
895
|
# header parameters
|
896
896
|
header_params = opts[:header_params] || {}
|
897
897
|
# klaviyo api revision
|
898
|
-
header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2025-
|
898
|
+
header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2025-04-15"
|
899
899
|
# HTTP header 'Accept' (if needed)
|
900
900
|
header_params['Accept'] = @api_client.select_header_accept(['application/vnd.api+json'])
|
901
901
|
# HTTP header 'Content-Type'
|
@@ -971,7 +971,7 @@ module KlaviyoAPI
|
|
971
971
|
# header parameters
|
972
972
|
header_params = opts[:header_params] || {}
|
973
973
|
# klaviyo api revision
|
974
|
-
header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2025-
|
974
|
+
header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2025-04-15"
|
975
975
|
# HTTP header 'Accept' (if needed)
|
976
976
|
header_params['Accept'] = @api_client.select_header_accept(['application/vnd.api+json'])
|
977
977
|
# HTTP header 'Content-Type'
|
@@ -1041,7 +1041,7 @@ module KlaviyoAPI
|
|
1041
1041
|
# header parameters
|
1042
1042
|
header_params = opts[:header_params] || {}
|
1043
1043
|
# klaviyo api revision
|
1044
|
-
header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2025-
|
1044
|
+
header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2025-04-15"
|
1045
1045
|
# HTTP header 'Accept' (if needed)
|
1046
1046
|
header_params['Accept'] = @api_client.select_header_accept(['application/vnd.api+json'])
|
1047
1047
|
# HTTP header 'Content-Type'
|
@@ -1111,7 +1111,7 @@ module KlaviyoAPI
|
|
1111
1111
|
# header parameters
|
1112
1112
|
header_params = opts[:header_params] || {}
|
1113
1113
|
# klaviyo api revision
|
1114
|
-
header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2025-
|
1114
|
+
header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2025-04-15"
|
1115
1115
|
# HTTP header 'Accept' (if needed)
|
1116
1116
|
header_params['Accept'] = @api_client.select_header_accept(['application/vnd.api+json'])
|
1117
1117
|
# HTTP header 'Content-Type'
|
@@ -1181,7 +1181,7 @@ module KlaviyoAPI
|
|
1181
1181
|
# header parameters
|
1182
1182
|
header_params = opts[:header_params] || {}
|
1183
1183
|
# klaviyo api revision
|
1184
|
-
header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2025-
|
1184
|
+
header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2025-04-15"
|
1185
1185
|
# HTTP header 'Accept' (if needed)
|
1186
1186
|
header_params['Accept'] = @api_client.select_header_accept(['application/vnd.api+json'])
|
1187
1187
|
# HTTP header 'Content-Type'
|
@@ -1251,7 +1251,7 @@ module KlaviyoAPI
|
|
1251
1251
|
# header parameters
|
1252
1252
|
header_params = opts[:header_params] || {}
|
1253
1253
|
# klaviyo api revision
|
1254
|
-
header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2025-
|
1254
|
+
header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2025-04-15"
|
1255
1255
|
# HTTP header 'Accept' (if needed)
|
1256
1256
|
header_params['Accept'] = @api_client.select_header_accept(['application/vnd.api+json'])
|
1257
1257
|
|
@@ -1316,7 +1316,7 @@ module KlaviyoAPI
|
|
1316
1316
|
# header parameters
|
1317
1317
|
header_params = opts[:header_params] || {}
|
1318
1318
|
# klaviyo api revision
|
1319
|
-
header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2025-
|
1319
|
+
header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2025-04-15"
|
1320
1320
|
# HTTP header 'Accept' (if needed)
|
1321
1321
|
header_params['Accept'] = @api_client.select_header_accept(['application/vnd.api+json'])
|
1322
1322
|
|
@@ -1381,7 +1381,7 @@ module KlaviyoAPI
|
|
1381
1381
|
# header parameters
|
1382
1382
|
header_params = opts[:header_params] || {}
|
1383
1383
|
# klaviyo api revision
|
1384
|
-
header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2025-
|
1384
|
+
header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2025-04-15"
|
1385
1385
|
# HTTP header 'Accept' (if needed)
|
1386
1386
|
header_params['Accept'] = @api_client.select_header_accept(['application/vnd.api+json'])
|
1387
1387
|
|
@@ -1418,9 +1418,9 @@ module KlaviyoAPI
|
|
1418
1418
|
# Get a catalog item bulk create job with the given job ID. An `include` parameter can be provided to get the following related resource data: `items`.<br><br>*Rate limits*:<br>Burst: `350/s`<br>Steady: `3500/m` **Scopes:** `catalogs:read`
|
1419
1419
|
# @param job_id [String] ID of the job to retrieve.
|
1420
1420
|
# @param [Hash] opts the optional parameters
|
1421
|
-
# @option opts [Array<String>] :fields_catalog_item_bulk_create_job For more information please visit https://developers.klaviyo.com/en/v2025-
|
1422
|
-
# @option opts [Array<String>] :fields_catalog_item For more information please visit https://developers.klaviyo.com/en/v2025-
|
1423
|
-
# @option opts [Array<String>] :include For more information please visit https://developers.klaviyo.com/en/v2025-
|
1421
|
+
# @option opts [Array<String>] :fields_catalog_item_bulk_create_job For more information please visit https://developers.klaviyo.com/en/v2025-04-15/reference/api-overview#sparse-fieldsets
|
1422
|
+
# @option opts [Array<String>] :fields_catalog_item For more information please visit https://developers.klaviyo.com/en/v2025-04-15/reference/api-overview#sparse-fieldsets
|
1423
|
+
# @option opts [Array<String>] :include For more information please visit https://developers.klaviyo.com/en/v2025-04-15/reference/api-overview#relationships
|
1424
1424
|
# @return [Hash<String, Object>]
|
1425
1425
|
def get_bulk_create_catalog_items_job(job_id, opts = {})
|
1426
1426
|
data, _status_code, _headers = get_bulk_create_catalog_items_job_with_http_info(job_id, opts)
|
@@ -1437,9 +1437,9 @@ module KlaviyoAPI
|
|
1437
1437
|
# Get a catalog item bulk create job with the given job ID. An `include` parameter can be provided to get the following related resource data: `items`.<br><br>*Rate limits*:<br>Burst: `350/s`<br>Steady: `3500/m` **Scopes:** `catalogs:read`
|
1438
1438
|
# @param job_id [String] ID of the job to retrieve.
|
1439
1439
|
# @param [Hash] opts the optional parameters
|
1440
|
-
# @option opts [Array<String>] :fields_catalog_item_bulk_create_job For more information please visit https://developers.klaviyo.com/en/v2025-
|
1441
|
-
# @option opts [Array<String>] :fields_catalog_item For more information please visit https://developers.klaviyo.com/en/v2025-
|
1442
|
-
# @option opts [Array<String>] :include For more information please visit https://developers.klaviyo.com/en/v2025-
|
1440
|
+
# @option opts [Array<String>] :fields_catalog_item_bulk_create_job For more information please visit https://developers.klaviyo.com/en/v2025-04-15/reference/api-overview#sparse-fieldsets
|
1441
|
+
# @option opts [Array<String>] :fields_catalog_item For more information please visit https://developers.klaviyo.com/en/v2025-04-15/reference/api-overview#sparse-fieldsets
|
1442
|
+
# @option opts [Array<String>] :include For more information please visit https://developers.klaviyo.com/en/v2025-04-15/reference/api-overview#relationships
|
1443
1443
|
# @return [Array<(Hash<String, Object>, Integer, Hash)>] Hash<String, Object> data, response status code and response headers
|
1444
1444
|
def get_bulk_create_catalog_items_job_with_http_info(job_id, opts = {})
|
1445
1445
|
if @api_client.config.debugging
|
@@ -1473,7 +1473,7 @@ module KlaviyoAPI
|
|
1473
1473
|
# header parameters
|
1474
1474
|
header_params = opts[:header_params] || {}
|
1475
1475
|
# klaviyo api revision
|
1476
|
-
header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2025-
|
1476
|
+
header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2025-04-15"
|
1477
1477
|
# HTTP header 'Accept' (if needed)
|
1478
1478
|
header_params['Accept'] = @api_client.select_header_accept(['application/vnd.api+json'])
|
1479
1479
|
|
@@ -1515,9 +1515,9 @@ module KlaviyoAPI
|
|
1515
1515
|
# Get Bulk Create Catalog Items Jobs
|
1516
1516
|
# Get all catalog item bulk create jobs. Returns a maximum of 100 jobs per request.<br><br>*Rate limits*:<br>Burst: `350/s`<br>Steady: `3500/m` **Scopes:** `catalogs:read`
|
1517
1517
|
# @param [Hash] opts the optional parameters
|
1518
|
-
# @option opts [Array<String>] :fields_catalog_item_bulk_create_job For more information please visit https://developers.klaviyo.com/en/v2025-
|
1519
|
-
# @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2025-
|
1520
|
-
# @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2025-
|
1518
|
+
# @option opts [Array<String>] :fields_catalog_item_bulk_create_job For more information please visit https://developers.klaviyo.com/en/v2025-04-15/reference/api-overview#sparse-fieldsets
|
1519
|
+
# @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2025-04-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`status`: `equals`
|
1520
|
+
# @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2025-04-15/reference/api-overview#pagination
|
1521
1521
|
# @return [Hash<String, Object>]
|
1522
1522
|
def get_bulk_create_catalog_items_jobs(opts = {})
|
1523
1523
|
data, _status_code, _headers = get_bulk_create_catalog_items_jobs_with_http_info(opts)
|
@@ -1533,9 +1533,9 @@ module KlaviyoAPI
|
|
1533
1533
|
# Get Bulk Create Catalog Items Jobs
|
1534
1534
|
# Get all catalog item bulk create jobs. Returns a maximum of 100 jobs per request.<br><br>*Rate limits*:<br>Burst: `350/s`<br>Steady: `3500/m` **Scopes:** `catalogs:read`
|
1535
1535
|
# @param [Hash] opts the optional parameters
|
1536
|
-
# @option opts [Array<String>] :fields_catalog_item_bulk_create_job For more information please visit https://developers.klaviyo.com/en/v2025-
|
1537
|
-
# @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2025-
|
1538
|
-
# @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2025-
|
1536
|
+
# @option opts [Array<String>] :fields_catalog_item_bulk_create_job For more information please visit https://developers.klaviyo.com/en/v2025-04-15/reference/api-overview#sparse-fieldsets
|
1537
|
+
# @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2025-04-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`status`: `equals`
|
1538
|
+
# @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2025-04-15/reference/api-overview#pagination
|
1539
1539
|
# @return [Array<(Hash<String, Object>, Integer, Hash)>] Hash<String, Object> data, response status code and response headers
|
1540
1540
|
def get_bulk_create_catalog_items_jobs_with_http_info(opts = {})
|
1541
1541
|
if @api_client.config.debugging
|
@@ -1557,7 +1557,7 @@ module KlaviyoAPI
|
|
1557
1557
|
# header parameters
|
1558
1558
|
header_params = opts[:header_params] || {}
|
1559
1559
|
# klaviyo api revision
|
1560
|
-
header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2025-
|
1560
|
+
header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2025-04-15"
|
1561
1561
|
# HTTP header 'Accept' (if needed)
|
1562
1562
|
header_params['Accept'] = @api_client.select_header_accept(['application/vnd.api+json'])
|
1563
1563
|
|
@@ -1596,52 +1596,66 @@ module KlaviyoAPI
|
|
1596
1596
|
# alias of `get_bulk_create_catalog_items_jobs_with_http_info`
|
1597
1597
|
alias get_catalog_item_bulk_create_jobs_with_http_info get_bulk_create_catalog_items_jobs_with_http_info
|
1598
1598
|
|
1599
|
-
# Get Bulk
|
1600
|
-
# Get a catalog
|
1599
|
+
# Get Bulk Create Categories Job
|
1600
|
+
# Get a catalog category bulk create job with the given job ID. An `include` parameter can be provided to get the following related resource data: `categories`.<br><br>*Rate limits*:<br>Burst: `350/s`<br>Steady: `3500/m` **Scopes:** `catalogs:read`
|
1601
1601
|
# @param job_id [String] ID of the job to retrieve.
|
1602
1602
|
# @param [Hash] opts the optional parameters
|
1603
|
-
# @option opts [Array<String>] :
|
1603
|
+
# @option opts [Array<String>] :fields_catalog_category_bulk_create_job For more information please visit https://developers.klaviyo.com/en/v2025-04-15/reference/api-overview#sparse-fieldsets
|
1604
|
+
# @option opts [Array<String>] :fields_catalog_category For more information please visit https://developers.klaviyo.com/en/v2025-04-15/reference/api-overview#sparse-fieldsets
|
1605
|
+
# @option opts [Array<String>] :include For more information please visit https://developers.klaviyo.com/en/v2025-04-15/reference/api-overview#relationships
|
1604
1606
|
# @return [Hash<String, Object>]
|
1605
|
-
def
|
1606
|
-
data, _status_code, _headers =
|
1607
|
+
def get_bulk_create_categories_job(job_id, opts = {})
|
1608
|
+
data, _status_code, _headers = get_bulk_create_categories_job_with_http_info(job_id, opts)
|
1607
1609
|
data
|
1608
1610
|
end
|
1609
1611
|
|
1610
|
-
# alias of `
|
1611
|
-
alias
|
1612
|
+
# alias of `get_bulk_create_categories_job`
|
1613
|
+
alias get_create_categories_job get_bulk_create_categories_job
|
1612
1614
|
|
1613
|
-
# alias of `
|
1614
|
-
alias
|
1615
|
+
# alias of `get_bulk_create_categories_job`
|
1616
|
+
alias get_catalog_category_bulk_create_job get_bulk_create_categories_job
|
1615
1617
|
|
1616
|
-
# Get Bulk
|
1617
|
-
# Get a catalog
|
1618
|
+
# Get Bulk Create Categories Job
|
1619
|
+
# Get a catalog category bulk create job with the given job ID. An `include` parameter can be provided to get the following related resource data: `categories`.<br><br>*Rate limits*:<br>Burst: `350/s`<br>Steady: `3500/m` **Scopes:** `catalogs:read`
|
1618
1620
|
# @param job_id [String] ID of the job to retrieve.
|
1619
1621
|
# @param [Hash] opts the optional parameters
|
1620
|
-
# @option opts [Array<String>] :
|
1622
|
+
# @option opts [Array<String>] :fields_catalog_category_bulk_create_job For more information please visit https://developers.klaviyo.com/en/v2025-04-15/reference/api-overview#sparse-fieldsets
|
1623
|
+
# @option opts [Array<String>] :fields_catalog_category For more information please visit https://developers.klaviyo.com/en/v2025-04-15/reference/api-overview#sparse-fieldsets
|
1624
|
+
# @option opts [Array<String>] :include For more information please visit https://developers.klaviyo.com/en/v2025-04-15/reference/api-overview#relationships
|
1621
1625
|
# @return [Array<(Hash<String, Object>, Integer, Hash)>] Hash<String, Object> data, response status code and response headers
|
1622
|
-
def
|
1626
|
+
def get_bulk_create_categories_job_with_http_info(job_id, opts = {})
|
1623
1627
|
if @api_client.config.debugging
|
1624
|
-
@api_client.config.logger.debug 'Calling API: CatalogsApi.
|
1628
|
+
@api_client.config.logger.debug 'Calling API: CatalogsApi.get_bulk_create_categories_job ...'
|
1625
1629
|
end
|
1626
1630
|
# verify the required parameter 'job_id' is set
|
1627
1631
|
if @api_client.config.client_side_validation && job_id.nil?
|
1628
|
-
fail ArgumentError, "Missing the required parameter 'job_id' when calling CatalogsApi.
|
1632
|
+
fail ArgumentError, "Missing the required parameter 'job_id' when calling CatalogsApi.get_bulk_create_categories_job"
|
1629
1633
|
end
|
1630
1634
|
allowable_values = ["status", "created_at", "total_count", "completed_count", "failed_count", "completed_at", "errors", "expires_at"]
|
1631
|
-
if @api_client.config.client_side_validation && opts[:'
|
1632
|
-
fail ArgumentError, "invalid value for \"
|
1635
|
+
if @api_client.config.client_side_validation && opts[:'fields_catalog_category_bulk_create_job'] && !opts[:'fields_catalog_category_bulk_create_job'].all? { |item| allowable_values.include?(item) }
|
1636
|
+
fail ArgumentError, "invalid value for \"fields_catalog_category_bulk_create_job\", must include one of #{allowable_values}"
|
1637
|
+
end
|
1638
|
+
allowable_values = ["external_id", "name", "updated"]
|
1639
|
+
if @api_client.config.client_side_validation && opts[:'fields_catalog_category'] && !opts[:'fields_catalog_category'].all? { |item| allowable_values.include?(item) }
|
1640
|
+
fail ArgumentError, "invalid value for \"fields_catalog_category\", must include one of #{allowable_values}"
|
1641
|
+
end
|
1642
|
+
allowable_values = ["categories"]
|
1643
|
+
if @api_client.config.client_side_validation && opts[:'include'] && !opts[:'include'].all? { |item| allowable_values.include?(item) }
|
1644
|
+
fail ArgumentError, "invalid value for \"include\", must include one of #{allowable_values}"
|
1633
1645
|
end
|
1634
1646
|
# resource path
|
1635
|
-
local_var_path = '/api/catalog-
|
1647
|
+
local_var_path = '/api/catalog-category-bulk-create-jobs/{job_id}'.sub('{' + 'job_id' + '}', CGI.escape(job_id.to_s))
|
1636
1648
|
|
1637
1649
|
# query parameters
|
1638
1650
|
query_params = opts[:query_params] || {}
|
1639
|
-
query_params[:'fields[catalog-
|
1651
|
+
query_params[:'fields[catalog-category-bulk-create-job]'] = @api_client.build_collection_param(opts[:'fields_catalog_category_bulk_create_job'], :csv) if !opts[:'fields_catalog_category_bulk_create_job'].nil?
|
1652
|
+
query_params[:'fields[catalog-category]'] = @api_client.build_collection_param(opts[:'fields_catalog_category'], :csv) if !opts[:'fields_catalog_category'].nil?
|
1653
|
+
query_params[:'include'] = @api_client.build_collection_param(opts[:'include'], :csv) if !opts[:'include'].nil?
|
1640
1654
|
|
1641
1655
|
# header parameters
|
1642
1656
|
header_params = opts[:header_params] || {}
|
1643
1657
|
# klaviyo api revision
|
1644
|
-
header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2025-
|
1658
|
+
header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2025-04-15"
|
1645
1659
|
# HTTP header 'Accept' (if needed)
|
1646
1660
|
header_params['Accept'] = @api_client.select_header_accept(['application/vnd.api+json'])
|
1647
1661
|
|
@@ -1658,7 +1672,7 @@ module KlaviyoAPI
|
|
1658
1672
|
auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key', 'OAuth']
|
1659
1673
|
|
1660
1674
|
new_options = opts.merge(
|
1661
|
-
:operation => :"CatalogsApi.
|
1675
|
+
:operation => :"CatalogsApi.get_bulk_create_categories_job",
|
1662
1676
|
:header_params => header_params,
|
1663
1677
|
:query_params => query_params,
|
1664
1678
|
:form_params => form_params,
|
@@ -1669,63 +1683,63 @@ module KlaviyoAPI
|
|
1669
1683
|
|
1670
1684
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
1671
1685
|
if @api_client.config.debugging
|
1672
|
-
@api_client.config.logger.debug "API called: CatalogsApi#
|
1686
|
+
@api_client.config.logger.debug "API called: CatalogsApi#get_bulk_create_categories_job\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1673
1687
|
end
|
1674
1688
|
return data, status_code, headers
|
1675
1689
|
end
|
1676
1690
|
|
1677
|
-
# alias of `
|
1678
|
-
alias
|
1691
|
+
# alias of `get_bulk_create_categories_job_with_http_info`
|
1692
|
+
alias get_create_categories_job_with_http_info get_bulk_create_categories_job_with_http_info
|
1679
1693
|
|
1680
|
-
# alias of `
|
1681
|
-
alias
|
1694
|
+
# alias of `get_bulk_create_categories_job_with_http_info`
|
1695
|
+
alias get_catalog_category_bulk_create_job_with_http_info get_bulk_create_categories_job_with_http_info
|
1682
1696
|
|
1683
|
-
# Get Bulk
|
1684
|
-
# Get all catalog
|
1697
|
+
# Get Bulk Create Categories Jobs
|
1698
|
+
# Get all catalog category bulk create jobs. Returns a maximum of 100 jobs per request.<br><br>*Rate limits*:<br>Burst: `350/s`<br>Steady: `3500/m` **Scopes:** `catalogs:read`
|
1685
1699
|
# @param [Hash] opts the optional parameters
|
1686
|
-
# @option opts [Array<String>] :
|
1687
|
-
# @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2025-
|
1688
|
-
# @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2025-
|
1700
|
+
# @option opts [Array<String>] :fields_catalog_category_bulk_create_job For more information please visit https://developers.klaviyo.com/en/v2025-04-15/reference/api-overview#sparse-fieldsets
|
1701
|
+
# @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2025-04-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`status`: `equals`
|
1702
|
+
# @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2025-04-15/reference/api-overview#pagination
|
1689
1703
|
# @return [Hash<String, Object>]
|
1690
|
-
def
|
1691
|
-
data, _status_code, _headers =
|
1704
|
+
def get_bulk_create_categories_jobs(opts = {})
|
1705
|
+
data, _status_code, _headers = get_bulk_create_categories_jobs_with_http_info(opts)
|
1692
1706
|
data
|
1693
1707
|
end
|
1694
1708
|
|
1695
|
-
# alias of `
|
1696
|
-
alias
|
1709
|
+
# alias of `get_bulk_create_categories_jobs`
|
1710
|
+
alias get_create_categories_jobs get_bulk_create_categories_jobs
|
1697
1711
|
|
1698
|
-
# alias of `
|
1699
|
-
alias
|
1712
|
+
# alias of `get_bulk_create_categories_jobs`
|
1713
|
+
alias get_catalog_category_bulk_create_jobs get_bulk_create_categories_jobs
|
1700
1714
|
|
1701
|
-
# Get Bulk
|
1702
|
-
# Get all catalog
|
1715
|
+
# Get Bulk Create Categories Jobs
|
1716
|
+
# Get all catalog category bulk create jobs. Returns a maximum of 100 jobs per request.<br><br>*Rate limits*:<br>Burst: `350/s`<br>Steady: `3500/m` **Scopes:** `catalogs:read`
|
1703
1717
|
# @param [Hash] opts the optional parameters
|
1704
|
-
# @option opts [Array<String>] :
|
1705
|
-
# @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2025-
|
1706
|
-
# @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2025-
|
1718
|
+
# @option opts [Array<String>] :fields_catalog_category_bulk_create_job For more information please visit https://developers.klaviyo.com/en/v2025-04-15/reference/api-overview#sparse-fieldsets
|
1719
|
+
# @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2025-04-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`status`: `equals`
|
1720
|
+
# @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2025-04-15/reference/api-overview#pagination
|
1707
1721
|
# @return [Array<(Hash<String, Object>, Integer, Hash)>] Hash<String, Object> data, response status code and response headers
|
1708
|
-
def
|
1722
|
+
def get_bulk_create_categories_jobs_with_http_info(opts = {})
|
1709
1723
|
if @api_client.config.debugging
|
1710
|
-
@api_client.config.logger.debug 'Calling API: CatalogsApi.
|
1724
|
+
@api_client.config.logger.debug 'Calling API: CatalogsApi.get_bulk_create_categories_jobs ...'
|
1711
1725
|
end
|
1712
1726
|
allowable_values = ["status", "created_at", "total_count", "completed_count", "failed_count", "completed_at", "errors", "expires_at"]
|
1713
|
-
if @api_client.config.client_side_validation && opts[:'
|
1714
|
-
fail ArgumentError, "invalid value for \"
|
1727
|
+
if @api_client.config.client_side_validation && opts[:'fields_catalog_category_bulk_create_job'] && !opts[:'fields_catalog_category_bulk_create_job'].all? { |item| allowable_values.include?(item) }
|
1728
|
+
fail ArgumentError, "invalid value for \"fields_catalog_category_bulk_create_job\", must include one of #{allowable_values}"
|
1715
1729
|
end
|
1716
1730
|
# resource path
|
1717
|
-
local_var_path = '/api/catalog-
|
1731
|
+
local_var_path = '/api/catalog-category-bulk-create-jobs'
|
1718
1732
|
|
1719
1733
|
# query parameters
|
1720
1734
|
query_params = opts[:query_params] || {}
|
1721
|
-
query_params[:'fields[catalog-
|
1735
|
+
query_params[:'fields[catalog-category-bulk-create-job]'] = @api_client.build_collection_param(opts[:'fields_catalog_category_bulk_create_job'], :csv) if !opts[:'fields_catalog_category_bulk_create_job'].nil?
|
1722
1736
|
query_params[:'filter'] = opts[:'filter'] if !opts[:'filter'].nil?
|
1723
1737
|
query_params[:'page[cursor]'] = opts[:'page_cursor'] if !opts[:'page_cursor'].nil?
|
1724
1738
|
|
1725
1739
|
# header parameters
|
1726
1740
|
header_params = opts[:header_params] || {}
|
1727
1741
|
# klaviyo api revision
|
1728
|
-
header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2025-
|
1742
|
+
header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2025-04-15"
|
1729
1743
|
# HTTP header 'Accept' (if needed)
|
1730
1744
|
header_params['Accept'] = @api_client.select_header_accept(['application/vnd.api+json'])
|
1731
1745
|
|
@@ -1742,7 +1756,7 @@ module KlaviyoAPI
|
|
1742
1756
|
auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key', 'OAuth']
|
1743
1757
|
|
1744
1758
|
new_options = opts.merge(
|
1745
|
-
:operation => :"CatalogsApi.
|
1759
|
+
:operation => :"CatalogsApi.get_bulk_create_categories_jobs",
|
1746
1760
|
:header_params => header_params,
|
1747
1761
|
:query_params => query_params,
|
1748
1762
|
:form_params => form_params,
|
@@ -1753,77 +1767,77 @@ module KlaviyoAPI
|
|
1753
1767
|
|
1754
1768
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
1755
1769
|
if @api_client.config.debugging
|
1756
|
-
@api_client.config.logger.debug "API called: CatalogsApi#
|
1770
|
+
@api_client.config.logger.debug "API called: CatalogsApi#get_bulk_create_categories_jobs\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1757
1771
|
end
|
1758
1772
|
return data, status_code, headers
|
1759
1773
|
end
|
1760
1774
|
|
1761
|
-
# alias of `
|
1762
|
-
alias
|
1775
|
+
# alias of `get_bulk_create_categories_jobs_with_http_info`
|
1776
|
+
alias get_create_categories_jobs_with_http_info get_bulk_create_categories_jobs_with_http_info
|
1763
1777
|
|
1764
|
-
# alias of `
|
1765
|
-
alias
|
1778
|
+
# alias of `get_bulk_create_categories_jobs_with_http_info`
|
1779
|
+
alias get_catalog_category_bulk_create_jobs_with_http_info get_bulk_create_categories_jobs_with_http_info
|
1766
1780
|
|
1767
|
-
# Get Bulk
|
1768
|
-
# Get a catalog
|
1781
|
+
# Get Bulk Create Variants Job
|
1782
|
+
# Get a catalog variant bulk create job with the given job ID. An `include` parameter can be provided to get the following related resource data: `variants`.<br><br>*Rate limits*:<br>Burst: `350/s`<br>Steady: `3500/m` **Scopes:** `catalogs:read`
|
1769
1783
|
# @param job_id [String] ID of the job to retrieve.
|
1770
1784
|
# @param [Hash] opts the optional parameters
|
1771
|
-
# @option opts [Array<String>] :
|
1772
|
-
# @option opts [Array<String>] :
|
1773
|
-
# @option opts [Array<String>] :include For more information please visit https://developers.klaviyo.com/en/v2025-
|
1785
|
+
# @option opts [Array<String>] :fields_catalog_variant_bulk_create_job For more information please visit https://developers.klaviyo.com/en/v2025-04-15/reference/api-overview#sparse-fieldsets
|
1786
|
+
# @option opts [Array<String>] :fields_catalog_variant For more information please visit https://developers.klaviyo.com/en/v2025-04-15/reference/api-overview#sparse-fieldsets
|
1787
|
+
# @option opts [Array<String>] :include For more information please visit https://developers.klaviyo.com/en/v2025-04-15/reference/api-overview#relationships
|
1774
1788
|
# @return [Hash<String, Object>]
|
1775
|
-
def
|
1776
|
-
data, _status_code, _headers =
|
1789
|
+
def get_bulk_create_variants_job(job_id, opts = {})
|
1790
|
+
data, _status_code, _headers = get_bulk_create_variants_job_with_http_info(job_id, opts)
|
1777
1791
|
data
|
1778
1792
|
end
|
1779
1793
|
|
1780
|
-
# alias of `
|
1781
|
-
alias
|
1794
|
+
# alias of `get_bulk_create_variants_job`
|
1795
|
+
alias get_create_variants_job get_bulk_create_variants_job
|
1782
1796
|
|
1783
|
-
# alias of `
|
1784
|
-
alias
|
1797
|
+
# alias of `get_bulk_create_variants_job`
|
1798
|
+
alias get_catalog_variant_bulk_create_job get_bulk_create_variants_job
|
1785
1799
|
|
1786
|
-
# Get Bulk
|
1787
|
-
# Get a catalog
|
1800
|
+
# Get Bulk Create Variants Job
|
1801
|
+
# Get a catalog variant bulk create job with the given job ID. An `include` parameter can be provided to get the following related resource data: `variants`.<br><br>*Rate limits*:<br>Burst: `350/s`<br>Steady: `3500/m` **Scopes:** `catalogs:read`
|
1788
1802
|
# @param job_id [String] ID of the job to retrieve.
|
1789
1803
|
# @param [Hash] opts the optional parameters
|
1790
|
-
# @option opts [Array<String>] :
|
1791
|
-
# @option opts [Array<String>] :
|
1792
|
-
# @option opts [Array<String>] :include For more information please visit https://developers.klaviyo.com/en/v2025-
|
1804
|
+
# @option opts [Array<String>] :fields_catalog_variant_bulk_create_job For more information please visit https://developers.klaviyo.com/en/v2025-04-15/reference/api-overview#sparse-fieldsets
|
1805
|
+
# @option opts [Array<String>] :fields_catalog_variant For more information please visit https://developers.klaviyo.com/en/v2025-04-15/reference/api-overview#sparse-fieldsets
|
1806
|
+
# @option opts [Array<String>] :include For more information please visit https://developers.klaviyo.com/en/v2025-04-15/reference/api-overview#relationships
|
1793
1807
|
# @return [Array<(Hash<String, Object>, Integer, Hash)>] Hash<String, Object> data, response status code and response headers
|
1794
|
-
def
|
1808
|
+
def get_bulk_create_variants_job_with_http_info(job_id, opts = {})
|
1795
1809
|
if @api_client.config.debugging
|
1796
|
-
@api_client.config.logger.debug 'Calling API: CatalogsApi.
|
1810
|
+
@api_client.config.logger.debug 'Calling API: CatalogsApi.get_bulk_create_variants_job ...'
|
1797
1811
|
end
|
1798
1812
|
# verify the required parameter 'job_id' is set
|
1799
1813
|
if @api_client.config.client_side_validation && job_id.nil?
|
1800
|
-
fail ArgumentError, "Missing the required parameter 'job_id' when calling CatalogsApi.
|
1814
|
+
fail ArgumentError, "Missing the required parameter 'job_id' when calling CatalogsApi.get_bulk_create_variants_job"
|
1801
1815
|
end
|
1802
1816
|
allowable_values = ["status", "created_at", "total_count", "completed_count", "failed_count", "completed_at", "errors", "expires_at"]
|
1803
|
-
if @api_client.config.client_side_validation && opts[:'
|
1804
|
-
fail ArgumentError, "invalid value for \"
|
1817
|
+
if @api_client.config.client_side_validation && opts[:'fields_catalog_variant_bulk_create_job'] && !opts[:'fields_catalog_variant_bulk_create_job'].all? { |item| allowable_values.include?(item) }
|
1818
|
+
fail ArgumentError, "invalid value for \"fields_catalog_variant_bulk_create_job\", must include one of #{allowable_values}"
|
1805
1819
|
end
|
1806
|
-
allowable_values = ["external_id", "title", "description", "price", "url", "image_full_url", "image_thumbnail_url", "images", "custom_metadata", "published", "created", "updated"]
|
1807
|
-
if @api_client.config.client_side_validation && opts[:'
|
1808
|
-
fail ArgumentError, "invalid value for \"
|
1820
|
+
allowable_values = ["external_id", "title", "description", "sku", "inventory_policy", "inventory_quantity", "price", "url", "image_full_url", "image_thumbnail_url", "images", "custom_metadata", "published", "created", "updated"]
|
1821
|
+
if @api_client.config.client_side_validation && opts[:'fields_catalog_variant'] && !opts[:'fields_catalog_variant'].all? { |item| allowable_values.include?(item) }
|
1822
|
+
fail ArgumentError, "invalid value for \"fields_catalog_variant\", must include one of #{allowable_values}"
|
1809
1823
|
end
|
1810
|
-
allowable_values = ["
|
1824
|
+
allowable_values = ["variants"]
|
1811
1825
|
if @api_client.config.client_side_validation && opts[:'include'] && !opts[:'include'].all? { |item| allowable_values.include?(item) }
|
1812
1826
|
fail ArgumentError, "invalid value for \"include\", must include one of #{allowable_values}"
|
1813
1827
|
end
|
1814
1828
|
# resource path
|
1815
|
-
local_var_path = '/api/catalog-
|
1829
|
+
local_var_path = '/api/catalog-variant-bulk-create-jobs/{job_id}'.sub('{' + 'job_id' + '}', CGI.escape(job_id.to_s))
|
1816
1830
|
|
1817
1831
|
# query parameters
|
1818
1832
|
query_params = opts[:query_params] || {}
|
1819
|
-
query_params[:'fields[catalog-
|
1820
|
-
query_params[:'fields[catalog-
|
1833
|
+
query_params[:'fields[catalog-variant-bulk-create-job]'] = @api_client.build_collection_param(opts[:'fields_catalog_variant_bulk_create_job'], :csv) if !opts[:'fields_catalog_variant_bulk_create_job'].nil?
|
1834
|
+
query_params[:'fields[catalog-variant]'] = @api_client.build_collection_param(opts[:'fields_catalog_variant'], :csv) if !opts[:'fields_catalog_variant'].nil?
|
1821
1835
|
query_params[:'include'] = @api_client.build_collection_param(opts[:'include'], :csv) if !opts[:'include'].nil?
|
1822
1836
|
|
1823
1837
|
# header parameters
|
1824
1838
|
header_params = opts[:header_params] || {}
|
1825
1839
|
# klaviyo api revision
|
1826
|
-
header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2025-
|
1840
|
+
header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2025-04-15"
|
1827
1841
|
# HTTP header 'Accept' (if needed)
|
1828
1842
|
header_params['Accept'] = @api_client.select_header_accept(['application/vnd.api+json'])
|
1829
1843
|
|
@@ -1840,7 +1854,7 @@ module KlaviyoAPI
|
|
1840
1854
|
auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key', 'OAuth']
|
1841
1855
|
|
1842
1856
|
new_options = opts.merge(
|
1843
|
-
:operation => :"CatalogsApi.
|
1857
|
+
:operation => :"CatalogsApi.get_bulk_create_variants_job",
|
1844
1858
|
:header_params => header_params,
|
1845
1859
|
:query_params => query_params,
|
1846
1860
|
:form_params => form_params,
|
@@ -1851,63 +1865,63 @@ module KlaviyoAPI
|
|
1851
1865
|
|
1852
1866
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
1853
1867
|
if @api_client.config.debugging
|
1854
|
-
@api_client.config.logger.debug "API called: CatalogsApi#
|
1868
|
+
@api_client.config.logger.debug "API called: CatalogsApi#get_bulk_create_variants_job\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1855
1869
|
end
|
1856
1870
|
return data, status_code, headers
|
1857
1871
|
end
|
1858
1872
|
|
1859
|
-
# alias of `
|
1860
|
-
alias
|
1873
|
+
# alias of `get_bulk_create_variants_job_with_http_info`
|
1874
|
+
alias get_create_variants_job_with_http_info get_bulk_create_variants_job_with_http_info
|
1861
1875
|
|
1862
|
-
# alias of `
|
1863
|
-
alias
|
1876
|
+
# alias of `get_bulk_create_variants_job_with_http_info`
|
1877
|
+
alias get_catalog_variant_bulk_create_job_with_http_info get_bulk_create_variants_job_with_http_info
|
1864
1878
|
|
1865
|
-
# Get Bulk
|
1866
|
-
# Get all catalog
|
1879
|
+
# Get Bulk Create Variants Jobs
|
1880
|
+
# Get all catalog variant bulk create jobs. Returns a maximum of 100 jobs per request.<br><br>*Rate limits*:<br>Burst: `350/s`<br>Steady: `3500/m` **Scopes:** `catalogs:read`
|
1867
1881
|
# @param [Hash] opts the optional parameters
|
1868
|
-
# @option opts [Array<String>] :
|
1869
|
-
# @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2025-
|
1870
|
-
# @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2025-
|
1882
|
+
# @option opts [Array<String>] :fields_catalog_variant_bulk_create_job For more information please visit https://developers.klaviyo.com/en/v2025-04-15/reference/api-overview#sparse-fieldsets
|
1883
|
+
# @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2025-04-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`status`: `equals`
|
1884
|
+
# @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2025-04-15/reference/api-overview#pagination
|
1871
1885
|
# @return [Hash<String, Object>]
|
1872
|
-
def
|
1873
|
-
data, _status_code, _headers =
|
1886
|
+
def get_bulk_create_variants_jobs(opts = {})
|
1887
|
+
data, _status_code, _headers = get_bulk_create_variants_jobs_with_http_info(opts)
|
1874
1888
|
data
|
1875
1889
|
end
|
1876
1890
|
|
1877
|
-
# alias of `
|
1878
|
-
alias
|
1891
|
+
# alias of `get_bulk_create_variants_jobs`
|
1892
|
+
alias get_create_variants_jobs get_bulk_create_variants_jobs
|
1879
1893
|
|
1880
|
-
# alias of `
|
1881
|
-
alias
|
1894
|
+
# alias of `get_bulk_create_variants_jobs`
|
1895
|
+
alias get_catalog_variant_bulk_create_jobs get_bulk_create_variants_jobs
|
1882
1896
|
|
1883
|
-
# Get Bulk
|
1884
|
-
# Get all catalog
|
1897
|
+
# Get Bulk Create Variants Jobs
|
1898
|
+
# Get all catalog variant bulk create jobs. Returns a maximum of 100 jobs per request.<br><br>*Rate limits*:<br>Burst: `350/s`<br>Steady: `3500/m` **Scopes:** `catalogs:read`
|
1885
1899
|
# @param [Hash] opts the optional parameters
|
1886
|
-
# @option opts [Array<String>] :
|
1887
|
-
# @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2025-
|
1888
|
-
# @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2025-
|
1900
|
+
# @option opts [Array<String>] :fields_catalog_variant_bulk_create_job For more information please visit https://developers.klaviyo.com/en/v2025-04-15/reference/api-overview#sparse-fieldsets
|
1901
|
+
# @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2025-04-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`status`: `equals`
|
1902
|
+
# @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2025-04-15/reference/api-overview#pagination
|
1889
1903
|
# @return [Array<(Hash<String, Object>, Integer, Hash)>] Hash<String, Object> data, response status code and response headers
|
1890
|
-
def
|
1904
|
+
def get_bulk_create_variants_jobs_with_http_info(opts = {})
|
1891
1905
|
if @api_client.config.debugging
|
1892
|
-
@api_client.config.logger.debug 'Calling API: CatalogsApi.
|
1906
|
+
@api_client.config.logger.debug 'Calling API: CatalogsApi.get_bulk_create_variants_jobs ...'
|
1893
1907
|
end
|
1894
1908
|
allowable_values = ["status", "created_at", "total_count", "completed_count", "failed_count", "completed_at", "errors", "expires_at"]
|
1895
|
-
if @api_client.config.client_side_validation && opts[:'
|
1896
|
-
fail ArgumentError, "invalid value for \"
|
1909
|
+
if @api_client.config.client_side_validation && opts[:'fields_catalog_variant_bulk_create_job'] && !opts[:'fields_catalog_variant_bulk_create_job'].all? { |item| allowable_values.include?(item) }
|
1910
|
+
fail ArgumentError, "invalid value for \"fields_catalog_variant_bulk_create_job\", must include one of #{allowable_values}"
|
1897
1911
|
end
|
1898
1912
|
# resource path
|
1899
|
-
local_var_path = '/api/catalog-
|
1913
|
+
local_var_path = '/api/catalog-variant-bulk-create-jobs'
|
1900
1914
|
|
1901
1915
|
# query parameters
|
1902
1916
|
query_params = opts[:query_params] || {}
|
1903
|
-
query_params[:'fields[catalog-
|
1917
|
+
query_params[:'fields[catalog-variant-bulk-create-job]'] = @api_client.build_collection_param(opts[:'fields_catalog_variant_bulk_create_job'], :csv) if !opts[:'fields_catalog_variant_bulk_create_job'].nil?
|
1904
1918
|
query_params[:'filter'] = opts[:'filter'] if !opts[:'filter'].nil?
|
1905
1919
|
query_params[:'page[cursor]'] = opts[:'page_cursor'] if !opts[:'page_cursor'].nil?
|
1906
1920
|
|
1907
1921
|
# header parameters
|
1908
1922
|
header_params = opts[:header_params] || {}
|
1909
1923
|
# klaviyo api revision
|
1910
|
-
header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2025-
|
1924
|
+
header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2025-04-15"
|
1911
1925
|
# HTTP header 'Accept' (if needed)
|
1912
1926
|
header_params['Accept'] = @api_client.select_header_accept(['application/vnd.api+json'])
|
1913
1927
|
|
@@ -1924,7 +1938,7 @@ module KlaviyoAPI
|
|
1924
1938
|
auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key', 'OAuth']
|
1925
1939
|
|
1926
1940
|
new_options = opts.merge(
|
1927
|
-
:operation => :"CatalogsApi.
|
1941
|
+
:operation => :"CatalogsApi.get_bulk_create_variants_jobs",
|
1928
1942
|
:header_params => header_params,
|
1929
1943
|
:query_params => query_params,
|
1930
1944
|
:form_params => form_params,
|
@@ -1935,64 +1949,63 @@ module KlaviyoAPI
|
|
1935
1949
|
|
1936
1950
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
1937
1951
|
if @api_client.config.debugging
|
1938
|
-
@api_client.config.logger.debug "API called: CatalogsApi#
|
1952
|
+
@api_client.config.logger.debug "API called: CatalogsApi#get_bulk_create_variants_jobs\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1939
1953
|
end
|
1940
1954
|
return data, status_code, headers
|
1941
1955
|
end
|
1942
1956
|
|
1943
|
-
# alias of `
|
1944
|
-
alias
|
1957
|
+
# alias of `get_bulk_create_variants_jobs_with_http_info`
|
1958
|
+
alias get_create_variants_jobs_with_http_info get_bulk_create_variants_jobs_with_http_info
|
1945
1959
|
|
1946
|
-
# alias of `
|
1947
|
-
alias
|
1960
|
+
# alias of `get_bulk_create_variants_jobs_with_http_info`
|
1961
|
+
alias get_catalog_variant_bulk_create_jobs_with_http_info get_bulk_create_variants_jobs_with_http_info
|
1948
1962
|
|
1949
|
-
# Get Catalog
|
1950
|
-
# Get
|
1963
|
+
# Get Bulk Delete Catalog Items Job
|
1964
|
+
# Get a catalog item bulk delete job with the given job ID.<br><br>*Rate limits*:<br>Burst: `350/s`<br>Steady: `3500/m` **Scopes:** `catalogs:read`
|
1965
|
+
# @param job_id [String] ID of the job to retrieve.
|
1951
1966
|
# @param [Hash] opts the optional parameters
|
1952
|
-
# @option opts [Array<String>] :
|
1953
|
-
# @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2025-01-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`ids`: `any`<br>`item.id`: `equals`<br>`name`: `contains`
|
1954
|
-
# @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2025-01-15/reference/api-overview#pagination
|
1955
|
-
# @option opts [String] :sort For more information please visit https://developers.klaviyo.com/en/v2025-01-15/reference/api-overview#sorting
|
1967
|
+
# @option opts [Array<String>] :fields_catalog_item_bulk_delete_job For more information please visit https://developers.klaviyo.com/en/v2025-04-15/reference/api-overview#sparse-fieldsets
|
1956
1968
|
# @return [Hash<String, Object>]
|
1957
|
-
def
|
1958
|
-
data, _status_code, _headers =
|
1969
|
+
def get_bulk_delete_catalog_items_job(job_id, opts = {})
|
1970
|
+
data, _status_code, _headers = get_bulk_delete_catalog_items_job_with_http_info(job_id, opts)
|
1959
1971
|
data
|
1960
1972
|
end
|
1961
1973
|
|
1962
|
-
#
|
1963
|
-
|
1974
|
+
# alias of `get_bulk_delete_catalog_items_job`
|
1975
|
+
alias get_delete_items_job get_bulk_delete_catalog_items_job
|
1976
|
+
|
1977
|
+
# alias of `get_bulk_delete_catalog_items_job`
|
1978
|
+
alias get_catalog_item_bulk_delete_job get_bulk_delete_catalog_items_job
|
1979
|
+
|
1980
|
+
# Get Bulk Delete Catalog Items Job
|
1981
|
+
# Get a catalog item bulk delete job with the given job ID.<br><br>*Rate limits*:<br>Burst: `350/s`<br>Steady: `3500/m` **Scopes:** `catalogs:read`
|
1982
|
+
# @param job_id [String] ID of the job to retrieve.
|
1964
1983
|
# @param [Hash] opts the optional parameters
|
1965
|
-
# @option opts [Array<String>] :
|
1966
|
-
# @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2025-01-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`ids`: `any`<br>`item.id`: `equals`<br>`name`: `contains`
|
1967
|
-
# @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2025-01-15/reference/api-overview#pagination
|
1968
|
-
# @option opts [String] :sort For more information please visit https://developers.klaviyo.com/en/v2025-01-15/reference/api-overview#sorting
|
1984
|
+
# @option opts [Array<String>] :fields_catalog_item_bulk_delete_job For more information please visit https://developers.klaviyo.com/en/v2025-04-15/reference/api-overview#sparse-fieldsets
|
1969
1985
|
# @return [Array<(Hash<String, Object>, Integer, Hash)>] Hash<String, Object> data, response status code and response headers
|
1970
|
-
def
|
1986
|
+
def get_bulk_delete_catalog_items_job_with_http_info(job_id, opts = {})
|
1971
1987
|
if @api_client.config.debugging
|
1972
|
-
@api_client.config.logger.debug 'Calling API: CatalogsApi.
|
1988
|
+
@api_client.config.logger.debug 'Calling API: CatalogsApi.get_bulk_delete_catalog_items_job ...'
|
1973
1989
|
end
|
1974
|
-
|
1975
|
-
if @api_client.config.client_side_validation &&
|
1976
|
-
fail ArgumentError, "
|
1990
|
+
# verify the required parameter 'job_id' is set
|
1991
|
+
if @api_client.config.client_side_validation && job_id.nil?
|
1992
|
+
fail ArgumentError, "Missing the required parameter 'job_id' when calling CatalogsApi.get_bulk_delete_catalog_items_job"
|
1977
1993
|
end
|
1978
|
-
allowable_values = ["
|
1979
|
-
if @api_client.config.client_side_validation && opts[:'
|
1980
|
-
fail ArgumentError, "invalid value for \"
|
1994
|
+
allowable_values = ["status", "created_at", "total_count", "completed_count", "failed_count", "completed_at", "errors", "expires_at"]
|
1995
|
+
if @api_client.config.client_side_validation && opts[:'fields_catalog_item_bulk_delete_job'] && !opts[:'fields_catalog_item_bulk_delete_job'].all? { |item| allowable_values.include?(item) }
|
1996
|
+
fail ArgumentError, "invalid value for \"fields_catalog_item_bulk_delete_job\", must include one of #{allowable_values}"
|
1981
1997
|
end
|
1982
1998
|
# resource path
|
1983
|
-
local_var_path = '/api/catalog-
|
1999
|
+
local_var_path = '/api/catalog-item-bulk-delete-jobs/{job_id}'.sub('{' + 'job_id' + '}', CGI.escape(job_id.to_s))
|
1984
2000
|
|
1985
2001
|
# query parameters
|
1986
2002
|
query_params = opts[:query_params] || {}
|
1987
|
-
query_params[:'fields[catalog-
|
1988
|
-
query_params[:'filter'] = opts[:'filter'] if !opts[:'filter'].nil?
|
1989
|
-
query_params[:'page[cursor]'] = opts[:'page_cursor'] if !opts[:'page_cursor'].nil?
|
1990
|
-
query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
|
2003
|
+
query_params[:'fields[catalog-item-bulk-delete-job]'] = @api_client.build_collection_param(opts[:'fields_catalog_item_bulk_delete_job'], :csv) if !opts[:'fields_catalog_item_bulk_delete_job'].nil?
|
1991
2004
|
|
1992
2005
|
# header parameters
|
1993
2006
|
header_params = opts[:header_params] || {}
|
1994
2007
|
# klaviyo api revision
|
1995
|
-
header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2025-
|
2008
|
+
header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2025-04-15"
|
1996
2009
|
# HTTP header 'Accept' (if needed)
|
1997
2010
|
header_params['Accept'] = @api_client.select_header_accept(['application/vnd.api+json'])
|
1998
2011
|
|
@@ -2009,7 +2022,7 @@ module KlaviyoAPI
|
|
2009
2022
|
auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key', 'OAuth']
|
2010
2023
|
|
2011
2024
|
new_options = opts.merge(
|
2012
|
-
:operation => :"CatalogsApi.
|
2025
|
+
:operation => :"CatalogsApi.get_bulk_delete_catalog_items_job",
|
2013
2026
|
:header_params => header_params,
|
2014
2027
|
:query_params => query_params,
|
2015
2028
|
:form_params => form_params,
|
@@ -2020,51 +2033,63 @@ module KlaviyoAPI
|
|
2020
2033
|
|
2021
2034
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
2022
2035
|
if @api_client.config.debugging
|
2023
|
-
@api_client.config.logger.debug "API called: CatalogsApi#
|
2036
|
+
@api_client.config.logger.debug "API called: CatalogsApi#get_bulk_delete_catalog_items_job\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
2024
2037
|
end
|
2025
2038
|
return data, status_code, headers
|
2026
2039
|
end
|
2027
2040
|
|
2028
|
-
#
|
2029
|
-
|
2030
|
-
|
2041
|
+
# alias of `get_bulk_delete_catalog_items_job_with_http_info`
|
2042
|
+
alias get_delete_items_job_with_http_info get_bulk_delete_catalog_items_job_with_http_info
|
2043
|
+
|
2044
|
+
# alias of `get_bulk_delete_catalog_items_job_with_http_info`
|
2045
|
+
alias get_catalog_item_bulk_delete_job_with_http_info get_bulk_delete_catalog_items_job_with_http_info
|
2046
|
+
|
2047
|
+
# Get Bulk Delete Catalog Items Jobs
|
2048
|
+
# Get all catalog item bulk delete jobs. Returns a maximum of 100 jobs per request.<br><br>*Rate limits*:<br>Burst: `350/s`<br>Steady: `3500/m` **Scopes:** `catalogs:read`
|
2031
2049
|
# @param [Hash] opts the optional parameters
|
2032
|
-
# @option opts [Array<String>] :
|
2050
|
+
# @option opts [Array<String>] :fields_catalog_item_bulk_delete_job For more information please visit https://developers.klaviyo.com/en/v2025-04-15/reference/api-overview#sparse-fieldsets
|
2051
|
+
# @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2025-04-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`status`: `equals`
|
2052
|
+
# @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2025-04-15/reference/api-overview#pagination
|
2033
2053
|
# @return [Hash<String, Object>]
|
2034
|
-
def
|
2035
|
-
data, _status_code, _headers =
|
2054
|
+
def get_bulk_delete_catalog_items_jobs(opts = {})
|
2055
|
+
data, _status_code, _headers = get_bulk_delete_catalog_items_jobs_with_http_info(opts)
|
2036
2056
|
data
|
2037
2057
|
end
|
2038
2058
|
|
2039
|
-
#
|
2040
|
-
|
2041
|
-
|
2059
|
+
# alias of `get_bulk_delete_catalog_items_jobs`
|
2060
|
+
alias get_delete_items_jobs get_bulk_delete_catalog_items_jobs
|
2061
|
+
|
2062
|
+
# alias of `get_bulk_delete_catalog_items_jobs`
|
2063
|
+
alias get_catalog_item_bulk_delete_jobs get_bulk_delete_catalog_items_jobs
|
2064
|
+
|
2065
|
+
# Get Bulk Delete Catalog Items Jobs
|
2066
|
+
# Get all catalog item bulk delete jobs. Returns a maximum of 100 jobs per request.<br><br>*Rate limits*:<br>Burst: `350/s`<br>Steady: `3500/m` **Scopes:** `catalogs:read`
|
2042
2067
|
# @param [Hash] opts the optional parameters
|
2043
|
-
# @option opts [Array<String>] :
|
2068
|
+
# @option opts [Array<String>] :fields_catalog_item_bulk_delete_job For more information please visit https://developers.klaviyo.com/en/v2025-04-15/reference/api-overview#sparse-fieldsets
|
2069
|
+
# @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2025-04-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`status`: `equals`
|
2070
|
+
# @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2025-04-15/reference/api-overview#pagination
|
2044
2071
|
# @return [Array<(Hash<String, Object>, Integer, Hash)>] Hash<String, Object> data, response status code and response headers
|
2045
|
-
def
|
2072
|
+
def get_bulk_delete_catalog_items_jobs_with_http_info(opts = {})
|
2046
2073
|
if @api_client.config.debugging
|
2047
|
-
@api_client.config.logger.debug 'Calling API: CatalogsApi.
|
2048
|
-
end
|
2049
|
-
# verify the required parameter 'id' is set
|
2050
|
-
if @api_client.config.client_side_validation && id.nil?
|
2051
|
-
fail ArgumentError, "Missing the required parameter 'id' when calling CatalogsApi.get_catalog_category"
|
2074
|
+
@api_client.config.logger.debug 'Calling API: CatalogsApi.get_bulk_delete_catalog_items_jobs ...'
|
2052
2075
|
end
|
2053
|
-
allowable_values = ["
|
2054
|
-
if @api_client.config.client_side_validation && opts[:'
|
2055
|
-
fail ArgumentError, "invalid value for \"
|
2076
|
+
allowable_values = ["status", "created_at", "total_count", "completed_count", "failed_count", "completed_at", "errors", "expires_at"]
|
2077
|
+
if @api_client.config.client_side_validation && opts[:'fields_catalog_item_bulk_delete_job'] && !opts[:'fields_catalog_item_bulk_delete_job'].all? { |item| allowable_values.include?(item) }
|
2078
|
+
fail ArgumentError, "invalid value for \"fields_catalog_item_bulk_delete_job\", must include one of #{allowable_values}"
|
2056
2079
|
end
|
2057
2080
|
# resource path
|
2058
|
-
local_var_path = '/api/catalog-
|
2081
|
+
local_var_path = '/api/catalog-item-bulk-delete-jobs'
|
2059
2082
|
|
2060
2083
|
# query parameters
|
2061
2084
|
query_params = opts[:query_params] || {}
|
2062
|
-
query_params[:'fields[catalog-
|
2085
|
+
query_params[:'fields[catalog-item-bulk-delete-job]'] = @api_client.build_collection_param(opts[:'fields_catalog_item_bulk_delete_job'], :csv) if !opts[:'fields_catalog_item_bulk_delete_job'].nil?
|
2086
|
+
query_params[:'filter'] = opts[:'filter'] if !opts[:'filter'].nil?
|
2087
|
+
query_params[:'page[cursor]'] = opts[:'page_cursor'] if !opts[:'page_cursor'].nil?
|
2063
2088
|
|
2064
2089
|
# header parameters
|
2065
2090
|
header_params = opts[:header_params] || {}
|
2066
2091
|
# klaviyo api revision
|
2067
|
-
header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2025-
|
2092
|
+
header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2025-04-15"
|
2068
2093
|
# HTTP header 'Accept' (if needed)
|
2069
2094
|
header_params['Accept'] = @api_client.select_header_accept(['application/vnd.api+json'])
|
2070
2095
|
|
@@ -2081,7 +2106,7 @@ module KlaviyoAPI
|
|
2081
2106
|
auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key', 'OAuth']
|
2082
2107
|
|
2083
2108
|
new_options = opts.merge(
|
2084
|
-
:operation => :"CatalogsApi.
|
2109
|
+
:operation => :"CatalogsApi.get_bulk_delete_catalog_items_jobs",
|
2085
2110
|
:header_params => header_params,
|
2086
2111
|
:query_params => query_params,
|
2087
2112
|
:form_params => form_params,
|
@@ -2092,65 +2117,63 @@ module KlaviyoAPI
|
|
2092
2117
|
|
2093
2118
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
2094
2119
|
if @api_client.config.debugging
|
2095
|
-
@api_client.config.logger.debug "API called: CatalogsApi#
|
2120
|
+
@api_client.config.logger.debug "API called: CatalogsApi#get_bulk_delete_catalog_items_jobs\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
2096
2121
|
end
|
2097
2122
|
return data, status_code, headers
|
2098
2123
|
end
|
2099
2124
|
|
2100
|
-
#
|
2101
|
-
|
2102
|
-
|
2125
|
+
# alias of `get_bulk_delete_catalog_items_jobs_with_http_info`
|
2126
|
+
alias get_delete_items_jobs_with_http_info get_bulk_delete_catalog_items_jobs_with_http_info
|
2127
|
+
|
2128
|
+
# alias of `get_bulk_delete_catalog_items_jobs_with_http_info`
|
2129
|
+
alias get_catalog_item_bulk_delete_jobs_with_http_info get_bulk_delete_catalog_items_jobs_with_http_info
|
2130
|
+
|
2131
|
+
# Get Bulk Delete Categories Job
|
2132
|
+
# Get a catalog category bulk delete job with the given job ID.<br><br>*Rate limits*:<br>Burst: `350/s`<br>Steady: `3500/m` **Scopes:** `catalogs:read`
|
2133
|
+
# @param job_id [String] ID of the job to retrieve.
|
2103
2134
|
# @param [Hash] opts the optional parameters
|
2104
|
-
# @option opts [Array<String>] :
|
2105
|
-
# @option opts [Array<String>] :fields_catalog_variant For more information please visit https://developers.klaviyo.com/en/v2025-01-15/reference/api-overview#sparse-fieldsets
|
2106
|
-
# @option opts [Array<String>] :include For more information please visit https://developers.klaviyo.com/en/v2025-01-15/reference/api-overview#relationships
|
2135
|
+
# @option opts [Array<String>] :fields_catalog_category_bulk_delete_job For more information please visit https://developers.klaviyo.com/en/v2025-04-15/reference/api-overview#sparse-fieldsets
|
2107
2136
|
# @return [Hash<String, Object>]
|
2108
|
-
def
|
2109
|
-
data, _status_code, _headers =
|
2137
|
+
def get_bulk_delete_categories_job(job_id, opts = {})
|
2138
|
+
data, _status_code, _headers = get_bulk_delete_categories_job_with_http_info(job_id, opts)
|
2110
2139
|
data
|
2111
2140
|
end
|
2112
2141
|
|
2113
|
-
#
|
2114
|
-
|
2115
|
-
|
2142
|
+
# alias of `get_bulk_delete_categories_job`
|
2143
|
+
alias get_delete_categories_job get_bulk_delete_categories_job
|
2144
|
+
|
2145
|
+
# alias of `get_bulk_delete_categories_job`
|
2146
|
+
alias get_catalog_category_bulk_delete_job get_bulk_delete_categories_job
|
2147
|
+
|
2148
|
+
# Get Bulk Delete Categories Job
|
2149
|
+
# Get a catalog category bulk delete job with the given job ID.<br><br>*Rate limits*:<br>Burst: `350/s`<br>Steady: `3500/m` **Scopes:** `catalogs:read`
|
2150
|
+
# @param job_id [String] ID of the job to retrieve.
|
2116
2151
|
# @param [Hash] opts the optional parameters
|
2117
|
-
# @option opts [Array<String>] :
|
2118
|
-
# @option opts [Array<String>] :fields_catalog_variant For more information please visit https://developers.klaviyo.com/en/v2025-01-15/reference/api-overview#sparse-fieldsets
|
2119
|
-
# @option opts [Array<String>] :include For more information please visit https://developers.klaviyo.com/en/v2025-01-15/reference/api-overview#relationships
|
2152
|
+
# @option opts [Array<String>] :fields_catalog_category_bulk_delete_job For more information please visit https://developers.klaviyo.com/en/v2025-04-15/reference/api-overview#sparse-fieldsets
|
2120
2153
|
# @return [Array<(Hash<String, Object>, Integer, Hash)>] Hash<String, Object> data, response status code and response headers
|
2121
|
-
def
|
2154
|
+
def get_bulk_delete_categories_job_with_http_info(job_id, opts = {})
|
2122
2155
|
if @api_client.config.debugging
|
2123
|
-
@api_client.config.logger.debug 'Calling API: CatalogsApi.
|
2156
|
+
@api_client.config.logger.debug 'Calling API: CatalogsApi.get_bulk_delete_categories_job ...'
|
2124
2157
|
end
|
2125
|
-
# verify the required parameter '
|
2126
|
-
if @api_client.config.client_side_validation &&
|
2127
|
-
fail ArgumentError, "Missing the required parameter '
|
2128
|
-
end
|
2129
|
-
allowable_values = ["external_id", "title", "description", "price", "url", "image_full_url", "image_thumbnail_url", "images", "custom_metadata", "published", "created", "updated"]
|
2130
|
-
if @api_client.config.client_side_validation && opts[:'fields_catalog_item'] && !opts[:'fields_catalog_item'].all? { |item| allowable_values.include?(item) }
|
2131
|
-
fail ArgumentError, "invalid value for \"fields_catalog_item\", must include one of #{allowable_values}"
|
2132
|
-
end
|
2133
|
-
allowable_values = ["external_id", "title", "description", "sku", "inventory_policy", "inventory_quantity", "price", "url", "image_full_url", "image_thumbnail_url", "images", "custom_metadata", "published", "created", "updated"]
|
2134
|
-
if @api_client.config.client_side_validation && opts[:'fields_catalog_variant'] && !opts[:'fields_catalog_variant'].all? { |item| allowable_values.include?(item) }
|
2135
|
-
fail ArgumentError, "invalid value for \"fields_catalog_variant\", must include one of #{allowable_values}"
|
2158
|
+
# verify the required parameter 'job_id' is set
|
2159
|
+
if @api_client.config.client_side_validation && job_id.nil?
|
2160
|
+
fail ArgumentError, "Missing the required parameter 'job_id' when calling CatalogsApi.get_bulk_delete_categories_job"
|
2136
2161
|
end
|
2137
|
-
allowable_values = ["
|
2138
|
-
if @api_client.config.client_side_validation && opts[:'
|
2139
|
-
fail ArgumentError, "invalid value for \"
|
2162
|
+
allowable_values = ["status", "created_at", "total_count", "completed_count", "failed_count", "completed_at", "errors", "expires_at"]
|
2163
|
+
if @api_client.config.client_side_validation && opts[:'fields_catalog_category_bulk_delete_job'] && !opts[:'fields_catalog_category_bulk_delete_job'].all? { |item| allowable_values.include?(item) }
|
2164
|
+
fail ArgumentError, "invalid value for \"fields_catalog_category_bulk_delete_job\", must include one of #{allowable_values}"
|
2140
2165
|
end
|
2141
2166
|
# resource path
|
2142
|
-
local_var_path = '/api/catalog-
|
2167
|
+
local_var_path = '/api/catalog-category-bulk-delete-jobs/{job_id}'.sub('{' + 'job_id' + '}', CGI.escape(job_id.to_s))
|
2143
2168
|
|
2144
2169
|
# query parameters
|
2145
2170
|
query_params = opts[:query_params] || {}
|
2146
|
-
query_params[:'fields[catalog-
|
2147
|
-
query_params[:'fields[catalog-variant]'] = @api_client.build_collection_param(opts[:'fields_catalog_variant'], :csv) if !opts[:'fields_catalog_variant'].nil?
|
2148
|
-
query_params[:'include'] = @api_client.build_collection_param(opts[:'include'], :csv) if !opts[:'include'].nil?
|
2171
|
+
query_params[:'fields[catalog-category-bulk-delete-job]'] = @api_client.build_collection_param(opts[:'fields_catalog_category_bulk_delete_job'], :csv) if !opts[:'fields_catalog_category_bulk_delete_job'].nil?
|
2149
2172
|
|
2150
2173
|
# header parameters
|
2151
2174
|
header_params = opts[:header_params] || {}
|
2152
2175
|
# klaviyo api revision
|
2153
|
-
header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2025-
|
2176
|
+
header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2025-04-15"
|
2154
2177
|
# HTTP header 'Accept' (if needed)
|
2155
2178
|
header_params['Accept'] = @api_client.select_header_accept(['application/vnd.api+json'])
|
2156
2179
|
|
@@ -2167,7 +2190,7 @@ module KlaviyoAPI
|
|
2167
2190
|
auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key', 'OAuth']
|
2168
2191
|
|
2169
2192
|
new_options = opts.merge(
|
2170
|
-
:operation => :"CatalogsApi.
|
2193
|
+
:operation => :"CatalogsApi.get_bulk_delete_categories_job",
|
2171
2194
|
:header_params => header_params,
|
2172
2195
|
:query_params => query_params,
|
2173
2196
|
:form_params => form_params,
|
@@ -2178,72 +2201,63 @@ module KlaviyoAPI
|
|
2178
2201
|
|
2179
2202
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
2180
2203
|
if @api_client.config.debugging
|
2181
|
-
@api_client.config.logger.debug "API called: CatalogsApi#
|
2204
|
+
@api_client.config.logger.debug "API called: CatalogsApi#get_bulk_delete_categories_job\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
2182
2205
|
end
|
2183
2206
|
return data, status_code, headers
|
2184
2207
|
end
|
2185
2208
|
|
2186
|
-
#
|
2187
|
-
|
2209
|
+
# alias of `get_bulk_delete_categories_job_with_http_info`
|
2210
|
+
alias get_delete_categories_job_with_http_info get_bulk_delete_categories_job_with_http_info
|
2211
|
+
|
2212
|
+
# alias of `get_bulk_delete_categories_job_with_http_info`
|
2213
|
+
alias get_catalog_category_bulk_delete_job_with_http_info get_bulk_delete_categories_job_with_http_info
|
2214
|
+
|
2215
|
+
# Get Bulk Delete Categories Jobs
|
2216
|
+
# Get all catalog category bulk delete jobs. Returns a maximum of 100 jobs per request.<br><br>*Rate limits*:<br>Burst: `350/s`<br>Steady: `3500/m` **Scopes:** `catalogs:read`
|
2188
2217
|
# @param [Hash] opts the optional parameters
|
2189
|
-
# @option opts [Array<String>] :
|
2190
|
-
# @option opts [
|
2191
|
-
# @option opts [String] :
|
2192
|
-
# @option opts [Array<String>] :include For more information please visit https://developers.klaviyo.com/en/v2025-01-15/reference/api-overview#relationships
|
2193
|
-
# @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2025-01-15/reference/api-overview#pagination
|
2194
|
-
# @option opts [String] :sort For more information please visit https://developers.klaviyo.com/en/v2025-01-15/reference/api-overview#sorting
|
2218
|
+
# @option opts [Array<String>] :fields_catalog_category_bulk_delete_job For more information please visit https://developers.klaviyo.com/en/v2025-04-15/reference/api-overview#sparse-fieldsets
|
2219
|
+
# @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2025-04-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`status`: `equals`
|
2220
|
+
# @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2025-04-15/reference/api-overview#pagination
|
2195
2221
|
# @return [Hash<String, Object>]
|
2196
|
-
def
|
2197
|
-
data, _status_code, _headers =
|
2222
|
+
def get_bulk_delete_categories_jobs(opts = {})
|
2223
|
+
data, _status_code, _headers = get_bulk_delete_categories_jobs_with_http_info(opts)
|
2198
2224
|
data
|
2199
2225
|
end
|
2200
2226
|
|
2201
|
-
#
|
2202
|
-
|
2227
|
+
# alias of `get_bulk_delete_categories_jobs`
|
2228
|
+
alias get_delete_categories_jobs get_bulk_delete_categories_jobs
|
2229
|
+
|
2230
|
+
# alias of `get_bulk_delete_categories_jobs`
|
2231
|
+
alias get_catalog_category_bulk_delete_jobs get_bulk_delete_categories_jobs
|
2232
|
+
|
2233
|
+
# Get Bulk Delete Categories Jobs
|
2234
|
+
# Get all catalog category bulk delete jobs. Returns a maximum of 100 jobs per request.<br><br>*Rate limits*:<br>Burst: `350/s`<br>Steady: `3500/m` **Scopes:** `catalogs:read`
|
2203
2235
|
# @param [Hash] opts the optional parameters
|
2204
|
-
# @option opts [Array<String>] :
|
2205
|
-
# @option opts [
|
2206
|
-
# @option opts [String] :
|
2207
|
-
# @option opts [Array<String>] :include For more information please visit https://developers.klaviyo.com/en/v2025-01-15/reference/api-overview#relationships
|
2208
|
-
# @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2025-01-15/reference/api-overview#pagination
|
2209
|
-
# @option opts [String] :sort For more information please visit https://developers.klaviyo.com/en/v2025-01-15/reference/api-overview#sorting
|
2236
|
+
# @option opts [Array<String>] :fields_catalog_category_bulk_delete_job For more information please visit https://developers.klaviyo.com/en/v2025-04-15/reference/api-overview#sparse-fieldsets
|
2237
|
+
# @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2025-04-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`status`: `equals`
|
2238
|
+
# @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2025-04-15/reference/api-overview#pagination
|
2210
2239
|
# @return [Array<(Hash<String, Object>, Integer, Hash)>] Hash<String, Object> data, response status code and response headers
|
2211
|
-
def
|
2240
|
+
def get_bulk_delete_categories_jobs_with_http_info(opts = {})
|
2212
2241
|
if @api_client.config.debugging
|
2213
|
-
@api_client.config.logger.debug 'Calling API: CatalogsApi.
|
2214
|
-
end
|
2215
|
-
allowable_values = ["external_id", "title", "description", "price", "url", "image_full_url", "image_thumbnail_url", "images", "custom_metadata", "published", "created", "updated"]
|
2216
|
-
if @api_client.config.client_side_validation && opts[:'fields_catalog_item'] && !opts[:'fields_catalog_item'].all? { |item| allowable_values.include?(item) }
|
2217
|
-
fail ArgumentError, "invalid value for \"fields_catalog_item\", must include one of #{allowable_values}"
|
2218
|
-
end
|
2219
|
-
allowable_values = ["external_id", "title", "description", "sku", "inventory_policy", "inventory_quantity", "price", "url", "image_full_url", "image_thumbnail_url", "images", "custom_metadata", "published", "created", "updated"]
|
2220
|
-
if @api_client.config.client_side_validation && opts[:'fields_catalog_variant'] && !opts[:'fields_catalog_variant'].all? { |item| allowable_values.include?(item) }
|
2221
|
-
fail ArgumentError, "invalid value for \"fields_catalog_variant\", must include one of #{allowable_values}"
|
2242
|
+
@api_client.config.logger.debug 'Calling API: CatalogsApi.get_bulk_delete_categories_jobs ...'
|
2222
2243
|
end
|
2223
|
-
allowable_values = ["
|
2224
|
-
if @api_client.config.client_side_validation && opts[:'
|
2225
|
-
fail ArgumentError, "invalid value for \"
|
2226
|
-
end
|
2227
|
-
allowable_values = ["created", "-created"]
|
2228
|
-
if @api_client.config.client_side_validation && opts[:'sort'] && !allowable_values.include?(opts[:'sort'])
|
2229
|
-
fail ArgumentError, "invalid value for \"sort\", must be one of #{allowable_values}"
|
2244
|
+
allowable_values = ["status", "created_at", "total_count", "completed_count", "failed_count", "completed_at", "errors", "expires_at"]
|
2245
|
+
if @api_client.config.client_side_validation && opts[:'fields_catalog_category_bulk_delete_job'] && !opts[:'fields_catalog_category_bulk_delete_job'].all? { |item| allowable_values.include?(item) }
|
2246
|
+
fail ArgumentError, "invalid value for \"fields_catalog_category_bulk_delete_job\", must include one of #{allowable_values}"
|
2230
2247
|
end
|
2231
2248
|
# resource path
|
2232
|
-
local_var_path = '/api/catalog-
|
2249
|
+
local_var_path = '/api/catalog-category-bulk-delete-jobs'
|
2233
2250
|
|
2234
2251
|
# query parameters
|
2235
2252
|
query_params = opts[:query_params] || {}
|
2236
|
-
query_params[:'fields[catalog-
|
2237
|
-
query_params[:'fields[catalog-variant]'] = @api_client.build_collection_param(opts[:'fields_catalog_variant'], :csv) if !opts[:'fields_catalog_variant'].nil?
|
2253
|
+
query_params[:'fields[catalog-category-bulk-delete-job]'] = @api_client.build_collection_param(opts[:'fields_catalog_category_bulk_delete_job'], :csv) if !opts[:'fields_catalog_category_bulk_delete_job'].nil?
|
2238
2254
|
query_params[:'filter'] = opts[:'filter'] if !opts[:'filter'].nil?
|
2239
|
-
query_params[:'include'] = @api_client.build_collection_param(opts[:'include'], :csv) if !opts[:'include'].nil?
|
2240
2255
|
query_params[:'page[cursor]'] = opts[:'page_cursor'] if !opts[:'page_cursor'].nil?
|
2241
|
-
query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
|
2242
2256
|
|
2243
2257
|
# header parameters
|
2244
2258
|
header_params = opts[:header_params] || {}
|
2245
2259
|
# klaviyo api revision
|
2246
|
-
header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2025-
|
2260
|
+
header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2025-04-15"
|
2247
2261
|
# HTTP header 'Accept' (if needed)
|
2248
2262
|
header_params['Accept'] = @api_client.select_header_accept(['application/vnd.api+json'])
|
2249
2263
|
|
@@ -2260,7 +2274,7 @@ module KlaviyoAPI
|
|
2260
2274
|
auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key', 'OAuth']
|
2261
2275
|
|
2262
2276
|
new_options = opts.merge(
|
2263
|
-
:operation => :"CatalogsApi.
|
2277
|
+
:operation => :"CatalogsApi.get_bulk_delete_categories_jobs",
|
2264
2278
|
:header_params => header_params,
|
2265
2279
|
:query_params => query_params,
|
2266
2280
|
:form_params => form_params,
|
@@ -2271,51 +2285,63 @@ module KlaviyoAPI
|
|
2271
2285
|
|
2272
2286
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
2273
2287
|
if @api_client.config.debugging
|
2274
|
-
@api_client.config.logger.debug "API called: CatalogsApi#
|
2288
|
+
@api_client.config.logger.debug "API called: CatalogsApi#get_bulk_delete_categories_jobs\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
2275
2289
|
end
|
2276
2290
|
return data, status_code, headers
|
2277
2291
|
end
|
2278
2292
|
|
2279
|
-
#
|
2280
|
-
|
2281
|
-
|
2293
|
+
# alias of `get_bulk_delete_categories_jobs_with_http_info`
|
2294
|
+
alias get_delete_categories_jobs_with_http_info get_bulk_delete_categories_jobs_with_http_info
|
2295
|
+
|
2296
|
+
# alias of `get_bulk_delete_categories_jobs_with_http_info`
|
2297
|
+
alias get_catalog_category_bulk_delete_jobs_with_http_info get_bulk_delete_categories_jobs_with_http_info
|
2298
|
+
|
2299
|
+
# Get Bulk Delete Variants Job
|
2300
|
+
# Get a catalog variant bulk delete job with the given job ID.<br><br>*Rate limits*:<br>Burst: `350/s`<br>Steady: `3500/m` **Scopes:** `catalogs:read`
|
2301
|
+
# @param job_id [String] ID of the job to retrieve.
|
2282
2302
|
# @param [Hash] opts the optional parameters
|
2283
|
-
# @option opts [Array<String>] :
|
2303
|
+
# @option opts [Array<String>] :fields_catalog_variant_bulk_delete_job For more information please visit https://developers.klaviyo.com/en/v2025-04-15/reference/api-overview#sparse-fieldsets
|
2284
2304
|
# @return [Hash<String, Object>]
|
2285
|
-
def
|
2286
|
-
data, _status_code, _headers =
|
2305
|
+
def get_bulk_delete_variants_job(job_id, opts = {})
|
2306
|
+
data, _status_code, _headers = get_bulk_delete_variants_job_with_http_info(job_id, opts)
|
2287
2307
|
data
|
2288
2308
|
end
|
2289
2309
|
|
2290
|
-
#
|
2291
|
-
|
2292
|
-
|
2310
|
+
# alias of `get_bulk_delete_variants_job`
|
2311
|
+
alias get_delete_variants_job get_bulk_delete_variants_job
|
2312
|
+
|
2313
|
+
# alias of `get_bulk_delete_variants_job`
|
2314
|
+
alias get_catalog_variant_bulk_delete_job get_bulk_delete_variants_job
|
2315
|
+
|
2316
|
+
# Get Bulk Delete Variants Job
|
2317
|
+
# Get a catalog variant bulk delete job with the given job ID.<br><br>*Rate limits*:<br>Burst: `350/s`<br>Steady: `3500/m` **Scopes:** `catalogs:read`
|
2318
|
+
# @param job_id [String] ID of the job to retrieve.
|
2293
2319
|
# @param [Hash] opts the optional parameters
|
2294
|
-
# @option opts [Array<String>] :
|
2320
|
+
# @option opts [Array<String>] :fields_catalog_variant_bulk_delete_job For more information please visit https://developers.klaviyo.com/en/v2025-04-15/reference/api-overview#sparse-fieldsets
|
2295
2321
|
# @return [Array<(Hash<String, Object>, Integer, Hash)>] Hash<String, Object> data, response status code and response headers
|
2296
|
-
def
|
2322
|
+
def get_bulk_delete_variants_job_with_http_info(job_id, opts = {})
|
2297
2323
|
if @api_client.config.debugging
|
2298
|
-
@api_client.config.logger.debug 'Calling API: CatalogsApi.
|
2324
|
+
@api_client.config.logger.debug 'Calling API: CatalogsApi.get_bulk_delete_variants_job ...'
|
2299
2325
|
end
|
2300
|
-
# verify the required parameter '
|
2301
|
-
if @api_client.config.client_side_validation &&
|
2302
|
-
fail ArgumentError, "Missing the required parameter '
|
2326
|
+
# verify the required parameter 'job_id' is set
|
2327
|
+
if @api_client.config.client_side_validation && job_id.nil?
|
2328
|
+
fail ArgumentError, "Missing the required parameter 'job_id' when calling CatalogsApi.get_bulk_delete_variants_job"
|
2303
2329
|
end
|
2304
|
-
allowable_values = ["
|
2305
|
-
if @api_client.config.client_side_validation && opts[:'
|
2306
|
-
fail ArgumentError, "invalid value for \"
|
2330
|
+
allowable_values = ["status", "created_at", "total_count", "completed_count", "failed_count", "completed_at", "errors", "expires_at"]
|
2331
|
+
if @api_client.config.client_side_validation && opts[:'fields_catalog_variant_bulk_delete_job'] && !opts[:'fields_catalog_variant_bulk_delete_job'].all? { |item| allowable_values.include?(item) }
|
2332
|
+
fail ArgumentError, "invalid value for \"fields_catalog_variant_bulk_delete_job\", must include one of #{allowable_values}"
|
2307
2333
|
end
|
2308
2334
|
# resource path
|
2309
|
-
local_var_path = '/api/catalog-
|
2335
|
+
local_var_path = '/api/catalog-variant-bulk-delete-jobs/{job_id}'.sub('{' + 'job_id' + '}', CGI.escape(job_id.to_s))
|
2310
2336
|
|
2311
2337
|
# query parameters
|
2312
2338
|
query_params = opts[:query_params] || {}
|
2313
|
-
query_params[:'fields[catalog-variant]'] = @api_client.build_collection_param(opts[:'
|
2339
|
+
query_params[:'fields[catalog-variant-bulk-delete-job]'] = @api_client.build_collection_param(opts[:'fields_catalog_variant_bulk_delete_job'], :csv) if !opts[:'fields_catalog_variant_bulk_delete_job'].nil?
|
2314
2340
|
|
2315
2341
|
# header parameters
|
2316
2342
|
header_params = opts[:header_params] || {}
|
2317
2343
|
# klaviyo api revision
|
2318
|
-
header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2025-
|
2344
|
+
header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2025-04-15"
|
2319
2345
|
# HTTP header 'Accept' (if needed)
|
2320
2346
|
header_params['Accept'] = @api_client.select_header_accept(['application/vnd.api+json'])
|
2321
2347
|
|
@@ -2332,7 +2358,7 @@ module KlaviyoAPI
|
|
2332
2358
|
auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key', 'OAuth']
|
2333
2359
|
|
2334
2360
|
new_options = opts.merge(
|
2335
|
-
:operation => :"CatalogsApi.
|
2361
|
+
:operation => :"CatalogsApi.get_bulk_delete_variants_job",
|
2336
2362
|
:header_params => header_params,
|
2337
2363
|
:query_params => query_params,
|
2338
2364
|
:form_params => form_params,
|
@@ -2343,58 +2369,63 @@ module KlaviyoAPI
|
|
2343
2369
|
|
2344
2370
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
2345
2371
|
if @api_client.config.debugging
|
2346
|
-
@api_client.config.logger.debug "API called: CatalogsApi#
|
2372
|
+
@api_client.config.logger.debug "API called: CatalogsApi#get_bulk_delete_variants_job\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
2347
2373
|
end
|
2348
2374
|
return data, status_code, headers
|
2349
2375
|
end
|
2350
2376
|
|
2351
|
-
#
|
2352
|
-
|
2377
|
+
# alias of `get_bulk_delete_variants_job_with_http_info`
|
2378
|
+
alias get_delete_variants_job_with_http_info get_bulk_delete_variants_job_with_http_info
|
2379
|
+
|
2380
|
+
# alias of `get_bulk_delete_variants_job_with_http_info`
|
2381
|
+
alias get_catalog_variant_bulk_delete_job_with_http_info get_bulk_delete_variants_job_with_http_info
|
2382
|
+
|
2383
|
+
# Get Bulk Delete Variants Jobs
|
2384
|
+
# Get all catalog variant bulk delete jobs. Returns a maximum of 100 jobs per request.<br><br>*Rate limits*:<br>Burst: `350/s`<br>Steady: `3500/m` **Scopes:** `catalogs:read`
|
2353
2385
|
# @param [Hash] opts the optional parameters
|
2354
|
-
# @option opts [Array<String>] :
|
2355
|
-
# @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2025-
|
2356
|
-
# @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2025-
|
2357
|
-
# @option opts [String] :sort For more information please visit https://developers.klaviyo.com/en/v2025-01-15/reference/api-overview#sorting
|
2386
|
+
# @option opts [Array<String>] :fields_catalog_variant_bulk_delete_job For more information please visit https://developers.klaviyo.com/en/v2025-04-15/reference/api-overview#sparse-fieldsets
|
2387
|
+
# @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2025-04-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`status`: `equals`
|
2388
|
+
# @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2025-04-15/reference/api-overview#pagination
|
2358
2389
|
# @return [Hash<String, Object>]
|
2359
|
-
def
|
2360
|
-
data, _status_code, _headers =
|
2390
|
+
def get_bulk_delete_variants_jobs(opts = {})
|
2391
|
+
data, _status_code, _headers = get_bulk_delete_variants_jobs_with_http_info(opts)
|
2361
2392
|
data
|
2362
2393
|
end
|
2363
2394
|
|
2364
|
-
#
|
2365
|
-
|
2395
|
+
# alias of `get_bulk_delete_variants_jobs`
|
2396
|
+
alias get_delete_variants_jobs get_bulk_delete_variants_jobs
|
2397
|
+
|
2398
|
+
# alias of `get_bulk_delete_variants_jobs`
|
2399
|
+
alias get_catalog_variant_bulk_delete_jobs get_bulk_delete_variants_jobs
|
2400
|
+
|
2401
|
+
# Get Bulk Delete Variants Jobs
|
2402
|
+
# Get all catalog variant bulk delete jobs. Returns a maximum of 100 jobs per request.<br><br>*Rate limits*:<br>Burst: `350/s`<br>Steady: `3500/m` **Scopes:** `catalogs:read`
|
2366
2403
|
# @param [Hash] opts the optional parameters
|
2367
|
-
# @option opts [Array<String>] :
|
2368
|
-
# @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2025-
|
2369
|
-
# @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2025-
|
2370
|
-
# @option opts [String] :sort For more information please visit https://developers.klaviyo.com/en/v2025-01-15/reference/api-overview#sorting
|
2404
|
+
# @option opts [Array<String>] :fields_catalog_variant_bulk_delete_job For more information please visit https://developers.klaviyo.com/en/v2025-04-15/reference/api-overview#sparse-fieldsets
|
2405
|
+
# @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2025-04-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`status`: `equals`
|
2406
|
+
# @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2025-04-15/reference/api-overview#pagination
|
2371
2407
|
# @return [Array<(Hash<String, Object>, Integer, Hash)>] Hash<String, Object> data, response status code and response headers
|
2372
|
-
def
|
2408
|
+
def get_bulk_delete_variants_jobs_with_http_info(opts = {})
|
2373
2409
|
if @api_client.config.debugging
|
2374
|
-
@api_client.config.logger.debug 'Calling API: CatalogsApi.
|
2410
|
+
@api_client.config.logger.debug 'Calling API: CatalogsApi.get_bulk_delete_variants_jobs ...'
|
2375
2411
|
end
|
2376
|
-
allowable_values = ["
|
2377
|
-
if @api_client.config.client_side_validation && opts[:'
|
2378
|
-
fail ArgumentError, "invalid value for \"
|
2379
|
-
end
|
2380
|
-
allowable_values = ["created", "-created"]
|
2381
|
-
if @api_client.config.client_side_validation && opts[:'sort'] && !allowable_values.include?(opts[:'sort'])
|
2382
|
-
fail ArgumentError, "invalid value for \"sort\", must be one of #{allowable_values}"
|
2412
|
+
allowable_values = ["status", "created_at", "total_count", "completed_count", "failed_count", "completed_at", "errors", "expires_at"]
|
2413
|
+
if @api_client.config.client_side_validation && opts[:'fields_catalog_variant_bulk_delete_job'] && !opts[:'fields_catalog_variant_bulk_delete_job'].all? { |item| allowable_values.include?(item) }
|
2414
|
+
fail ArgumentError, "invalid value for \"fields_catalog_variant_bulk_delete_job\", must include one of #{allowable_values}"
|
2383
2415
|
end
|
2384
2416
|
# resource path
|
2385
|
-
local_var_path = '/api/catalog-
|
2417
|
+
local_var_path = '/api/catalog-variant-bulk-delete-jobs'
|
2386
2418
|
|
2387
2419
|
# query parameters
|
2388
2420
|
query_params = opts[:query_params] || {}
|
2389
|
-
query_params[:'fields[catalog-variant]'] = @api_client.build_collection_param(opts[:'
|
2421
|
+
query_params[:'fields[catalog-variant-bulk-delete-job]'] = @api_client.build_collection_param(opts[:'fields_catalog_variant_bulk_delete_job'], :csv) if !opts[:'fields_catalog_variant_bulk_delete_job'].nil?
|
2390
2422
|
query_params[:'filter'] = opts[:'filter'] if !opts[:'filter'].nil?
|
2391
2423
|
query_params[:'page[cursor]'] = opts[:'page_cursor'] if !opts[:'page_cursor'].nil?
|
2392
|
-
query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
|
2393
2424
|
|
2394
2425
|
# header parameters
|
2395
2426
|
header_params = opts[:header_params] || {}
|
2396
2427
|
# klaviyo api revision
|
2397
|
-
header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2025-
|
2428
|
+
header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2025-04-15"
|
2398
2429
|
# HTTP header 'Accept' (if needed)
|
2399
2430
|
header_params['Accept'] = @api_client.select_header_accept(['application/vnd.api+json'])
|
2400
2431
|
|
@@ -2411,7 +2442,7 @@ module KlaviyoAPI
|
|
2411
2442
|
auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key', 'OAuth']
|
2412
2443
|
|
2413
2444
|
new_options = opts.merge(
|
2414
|
-
:operation => :"CatalogsApi.
|
2445
|
+
:operation => :"CatalogsApi.get_bulk_delete_variants_jobs",
|
2415
2446
|
:header_params => header_params,
|
2416
2447
|
:query_params => query_params,
|
2417
2448
|
:form_params => form_params,
|
@@ -2422,63 +2453,77 @@ module KlaviyoAPI
|
|
2422
2453
|
|
2423
2454
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
2424
2455
|
if @api_client.config.debugging
|
2425
|
-
@api_client.config.logger.debug "API called: CatalogsApi#
|
2456
|
+
@api_client.config.logger.debug "API called: CatalogsApi#get_bulk_delete_variants_jobs\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
2426
2457
|
end
|
2427
2458
|
return data, status_code, headers
|
2428
2459
|
end
|
2429
2460
|
|
2430
|
-
#
|
2431
|
-
|
2432
|
-
|
2461
|
+
# alias of `get_bulk_delete_variants_jobs_with_http_info`
|
2462
|
+
alias get_delete_variants_jobs_with_http_info get_bulk_delete_variants_jobs_with_http_info
|
2463
|
+
|
2464
|
+
# alias of `get_bulk_delete_variants_jobs_with_http_info`
|
2465
|
+
alias get_catalog_variant_bulk_delete_jobs_with_http_info get_bulk_delete_variants_jobs_with_http_info
|
2466
|
+
|
2467
|
+
# Get Bulk Update Catalog Items Job
|
2468
|
+
# Get a catalog item bulk update job with the given job ID. An `include` parameter can be provided to get the following related resource data: `items`.<br><br>*Rate limits*:<br>Burst: `350/s`<br>Steady: `3500/m` **Scopes:** `catalogs:read`
|
2469
|
+
# @param job_id [String] ID of the job to retrieve.
|
2433
2470
|
# @param [Hash] opts the optional parameters
|
2434
|
-
# @option opts [Array<String>] :
|
2435
|
-
# @option opts [String] :
|
2436
|
-
# @option opts [String] :
|
2437
|
-
# @option opts [String] :sort For more information please visit https://developers.klaviyo.com/en/v2025-01-15/reference/api-overview#sorting
|
2471
|
+
# @option opts [Array<String>] :fields_catalog_item_bulk_update_job For more information please visit https://developers.klaviyo.com/en/v2025-04-15/reference/api-overview#sparse-fieldsets
|
2472
|
+
# @option opts [Array<String>] :fields_catalog_item For more information please visit https://developers.klaviyo.com/en/v2025-04-15/reference/api-overview#sparse-fieldsets
|
2473
|
+
# @option opts [Array<String>] :include For more information please visit https://developers.klaviyo.com/en/v2025-04-15/reference/api-overview#relationships
|
2438
2474
|
# @return [Hash<String, Object>]
|
2439
|
-
def
|
2440
|
-
data, _status_code, _headers =
|
2475
|
+
def get_bulk_update_catalog_items_job(job_id, opts = {})
|
2476
|
+
data, _status_code, _headers = get_bulk_update_catalog_items_job_with_http_info(job_id, opts)
|
2441
2477
|
data
|
2442
2478
|
end
|
2443
2479
|
|
2444
|
-
# alias of `
|
2445
|
-
alias
|
2480
|
+
# alias of `get_bulk_update_catalog_items_job`
|
2481
|
+
alias get_update_items_job get_bulk_update_catalog_items_job
|
2446
2482
|
|
2447
|
-
#
|
2448
|
-
|
2449
|
-
|
2483
|
+
# alias of `get_bulk_update_catalog_items_job`
|
2484
|
+
alias get_catalog_item_bulk_update_job get_bulk_update_catalog_items_job
|
2485
|
+
|
2486
|
+
# Get Bulk Update Catalog Items Job
|
2487
|
+
# Get a catalog item bulk update job with the given job ID. An `include` parameter can be provided to get the following related resource data: `items`.<br><br>*Rate limits*:<br>Burst: `350/s`<br>Steady: `3500/m` **Scopes:** `catalogs:read`
|
2488
|
+
# @param job_id [String] ID of the job to retrieve.
|
2450
2489
|
# @param [Hash] opts the optional parameters
|
2451
|
-
# @option opts [Array<String>] :
|
2452
|
-
# @option opts [String] :
|
2453
|
-
# @option opts [String] :
|
2454
|
-
# @option opts [String] :sort For more information please visit https://developers.klaviyo.com/en/v2025-01-15/reference/api-overview#sorting
|
2490
|
+
# @option opts [Array<String>] :fields_catalog_item_bulk_update_job For more information please visit https://developers.klaviyo.com/en/v2025-04-15/reference/api-overview#sparse-fieldsets
|
2491
|
+
# @option opts [Array<String>] :fields_catalog_item For more information please visit https://developers.klaviyo.com/en/v2025-04-15/reference/api-overview#sparse-fieldsets
|
2492
|
+
# @option opts [Array<String>] :include For more information please visit https://developers.klaviyo.com/en/v2025-04-15/reference/api-overview#relationships
|
2455
2493
|
# @return [Array<(Hash<String, Object>, Integer, Hash)>] Hash<String, Object> data, response status code and response headers
|
2456
|
-
def
|
2494
|
+
def get_bulk_update_catalog_items_job_with_http_info(job_id, opts = {})
|
2457
2495
|
if @api_client.config.debugging
|
2458
|
-
@api_client.config.logger.debug 'Calling API: CatalogsApi.
|
2496
|
+
@api_client.config.logger.debug 'Calling API: CatalogsApi.get_bulk_update_catalog_items_job ...'
|
2459
2497
|
end
|
2460
|
-
|
2461
|
-
if @api_client.config.client_side_validation &&
|
2462
|
-
fail ArgumentError, "
|
2498
|
+
# verify the required parameter 'job_id' is set
|
2499
|
+
if @api_client.config.client_side_validation && job_id.nil?
|
2500
|
+
fail ArgumentError, "Missing the required parameter 'job_id' when calling CatalogsApi.get_bulk_update_catalog_items_job"
|
2463
2501
|
end
|
2464
|
-
allowable_values = ["
|
2465
|
-
if @api_client.config.client_side_validation && opts[:'
|
2466
|
-
fail ArgumentError, "invalid value for \"
|
2502
|
+
allowable_values = ["status", "created_at", "total_count", "completed_count", "failed_count", "completed_at", "errors", "expires_at"]
|
2503
|
+
if @api_client.config.client_side_validation && opts[:'fields_catalog_item_bulk_update_job'] && !opts[:'fields_catalog_item_bulk_update_job'].all? { |item| allowable_values.include?(item) }
|
2504
|
+
fail ArgumentError, "invalid value for \"fields_catalog_item_bulk_update_job\", must include one of #{allowable_values}"
|
2505
|
+
end
|
2506
|
+
allowable_values = ["external_id", "title", "description", "price", "url", "image_full_url", "image_thumbnail_url", "images", "custom_metadata", "published", "created", "updated"]
|
2507
|
+
if @api_client.config.client_side_validation && opts[:'fields_catalog_item'] && !opts[:'fields_catalog_item'].all? { |item| allowable_values.include?(item) }
|
2508
|
+
fail ArgumentError, "invalid value for \"fields_catalog_item\", must include one of #{allowable_values}"
|
2509
|
+
end
|
2510
|
+
allowable_values = ["items"]
|
2511
|
+
if @api_client.config.client_side_validation && opts[:'include'] && !opts[:'include'].all? { |item| allowable_values.include?(item) }
|
2512
|
+
fail ArgumentError, "invalid value for \"include\", must include one of #{allowable_values}"
|
2467
2513
|
end
|
2468
2514
|
# resource path
|
2469
|
-
local_var_path = '/api/catalog-
|
2515
|
+
local_var_path = '/api/catalog-item-bulk-update-jobs/{job_id}'.sub('{' + 'job_id' + '}', CGI.escape(job_id.to_s))
|
2470
2516
|
|
2471
2517
|
# query parameters
|
2472
2518
|
query_params = opts[:query_params] || {}
|
2473
|
-
query_params[:'fields[catalog-
|
2474
|
-
query_params[:'
|
2475
|
-
query_params[:'
|
2476
|
-
query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
|
2519
|
+
query_params[:'fields[catalog-item-bulk-update-job]'] = @api_client.build_collection_param(opts[:'fields_catalog_item_bulk_update_job'], :csv) if !opts[:'fields_catalog_item_bulk_update_job'].nil?
|
2520
|
+
query_params[:'fields[catalog-item]'] = @api_client.build_collection_param(opts[:'fields_catalog_item'], :csv) if !opts[:'fields_catalog_item'].nil?
|
2521
|
+
query_params[:'include'] = @api_client.build_collection_param(opts[:'include'], :csv) if !opts[:'include'].nil?
|
2477
2522
|
|
2478
2523
|
# header parameters
|
2479
2524
|
header_params = opts[:header_params] || {}
|
2480
2525
|
# klaviyo api revision
|
2481
|
-
header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2025-
|
2526
|
+
header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2025-04-15"
|
2482
2527
|
# HTTP header 'Accept' (if needed)
|
2483
2528
|
header_params['Accept'] = @api_client.select_header_accept(['application/vnd.api+json'])
|
2484
2529
|
|
@@ -2495,7 +2540,7 @@ module KlaviyoAPI
|
|
2495
2540
|
auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key', 'OAuth']
|
2496
2541
|
|
2497
2542
|
new_options = opts.merge(
|
2498
|
-
:operation => :"CatalogsApi.
|
2543
|
+
:operation => :"CatalogsApi.get_bulk_update_catalog_items_job",
|
2499
2544
|
:header_params => header_params,
|
2500
2545
|
:query_params => query_params,
|
2501
2546
|
:form_params => form_params,
|
@@ -2506,59 +2551,63 @@ module KlaviyoAPI
|
|
2506
2551
|
|
2507
2552
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
2508
2553
|
if @api_client.config.debugging
|
2509
|
-
@api_client.config.logger.debug "API called: CatalogsApi#
|
2554
|
+
@api_client.config.logger.debug "API called: CatalogsApi#get_bulk_update_catalog_items_job\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
2510
2555
|
end
|
2511
2556
|
return data, status_code, headers
|
2512
2557
|
end
|
2513
2558
|
|
2514
|
-
# alias of `
|
2515
|
-
alias
|
2559
|
+
# alias of `get_bulk_update_catalog_items_job_with_http_info`
|
2560
|
+
alias get_update_items_job_with_http_info get_bulk_update_catalog_items_job_with_http_info
|
2516
2561
|
|
2517
|
-
#
|
2518
|
-
|
2519
|
-
|
2562
|
+
# alias of `get_bulk_update_catalog_items_job_with_http_info`
|
2563
|
+
alias get_catalog_item_bulk_update_job_with_http_info get_bulk_update_catalog_items_job_with_http_info
|
2564
|
+
|
2565
|
+
# Get Bulk Update Catalog Items Jobs
|
2566
|
+
# Get all catalog item bulk update jobs. Returns a maximum of 100 jobs per request.<br><br>*Rate limits*:<br>Burst: `350/s`<br>Steady: `3500/m` **Scopes:** `catalogs:read`
|
2520
2567
|
# @param [Hash] opts the optional parameters
|
2521
|
-
# @option opts [String] :
|
2522
|
-
# @option opts [String] :
|
2523
|
-
# @option opts [String] :
|
2568
|
+
# @option opts [Array<String>] :fields_catalog_item_bulk_update_job For more information please visit https://developers.klaviyo.com/en/v2025-04-15/reference/api-overview#sparse-fieldsets
|
2569
|
+
# @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2025-04-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`status`: `equals`
|
2570
|
+
# @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2025-04-15/reference/api-overview#pagination
|
2524
2571
|
# @return [Hash<String, Object>]
|
2525
|
-
def
|
2526
|
-
data, _status_code, _headers =
|
2572
|
+
def get_bulk_update_catalog_items_jobs(opts = {})
|
2573
|
+
data, _status_code, _headers = get_bulk_update_catalog_items_jobs_with_http_info(opts)
|
2527
2574
|
data
|
2528
2575
|
end
|
2529
2576
|
|
2530
|
-
# alias of `
|
2531
|
-
alias
|
2577
|
+
# alias of `get_bulk_update_catalog_items_jobs`
|
2578
|
+
alias get_update_items_jobs get_bulk_update_catalog_items_jobs
|
2532
2579
|
|
2533
|
-
#
|
2534
|
-
|
2535
|
-
|
2580
|
+
# alias of `get_bulk_update_catalog_items_jobs`
|
2581
|
+
alias get_catalog_item_bulk_update_jobs get_bulk_update_catalog_items_jobs
|
2582
|
+
|
2583
|
+
# Get Bulk Update Catalog Items Jobs
|
2584
|
+
# Get all catalog item bulk update jobs. Returns a maximum of 100 jobs per request.<br><br>*Rate limits*:<br>Burst: `350/s`<br>Steady: `3500/m` **Scopes:** `catalogs:read`
|
2536
2585
|
# @param [Hash] opts the optional parameters
|
2537
|
-
# @option opts [String] :
|
2538
|
-
# @option opts [String] :
|
2539
|
-
# @option opts [String] :
|
2586
|
+
# @option opts [Array<String>] :fields_catalog_item_bulk_update_job For more information please visit https://developers.klaviyo.com/en/v2025-04-15/reference/api-overview#sparse-fieldsets
|
2587
|
+
# @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2025-04-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`status`: `equals`
|
2588
|
+
# @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2025-04-15/reference/api-overview#pagination
|
2540
2589
|
# @return [Array<(Hash<String, Object>, Integer, Hash)>] Hash<String, Object> data, response status code and response headers
|
2541
|
-
def
|
2590
|
+
def get_bulk_update_catalog_items_jobs_with_http_info(opts = {})
|
2542
2591
|
if @api_client.config.debugging
|
2543
|
-
@api_client.config.logger.debug 'Calling API: CatalogsApi.
|
2592
|
+
@api_client.config.logger.debug 'Calling API: CatalogsApi.get_bulk_update_catalog_items_jobs ...'
|
2544
2593
|
end
|
2545
|
-
allowable_values = ["
|
2546
|
-
if @api_client.config.client_side_validation && opts[:'
|
2547
|
-
fail ArgumentError, "invalid value for \"
|
2594
|
+
allowable_values = ["status", "created_at", "total_count", "completed_count", "failed_count", "completed_at", "errors", "expires_at"]
|
2595
|
+
if @api_client.config.client_side_validation && opts[:'fields_catalog_item_bulk_update_job'] && !opts[:'fields_catalog_item_bulk_update_job'].all? { |item| allowable_values.include?(item) }
|
2596
|
+
fail ArgumentError, "invalid value for \"fields_catalog_item_bulk_update_job\", must include one of #{allowable_values}"
|
2548
2597
|
end
|
2549
2598
|
# resource path
|
2550
|
-
local_var_path = '/api/catalog-
|
2599
|
+
local_var_path = '/api/catalog-item-bulk-update-jobs'
|
2551
2600
|
|
2552
2601
|
# query parameters
|
2553
2602
|
query_params = opts[:query_params] || {}
|
2603
|
+
query_params[:'fields[catalog-item-bulk-update-job]'] = @api_client.build_collection_param(opts[:'fields_catalog_item_bulk_update_job'], :csv) if !opts[:'fields_catalog_item_bulk_update_job'].nil?
|
2554
2604
|
query_params[:'filter'] = opts[:'filter'] if !opts[:'filter'].nil?
|
2555
2605
|
query_params[:'page[cursor]'] = opts[:'page_cursor'] if !opts[:'page_cursor'].nil?
|
2556
|
-
query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
|
2557
2606
|
|
2558
2607
|
# header parameters
|
2559
2608
|
header_params = opts[:header_params] || {}
|
2560
2609
|
# klaviyo api revision
|
2561
|
-
header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2025-
|
2610
|
+
header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2025-04-15"
|
2562
2611
|
# HTTP header 'Accept' (if needed)
|
2563
2612
|
header_params['Accept'] = @api_client.select_header_accept(['application/vnd.api+json'])
|
2564
2613
|
|
@@ -2575,7 +2624,7 @@ module KlaviyoAPI
|
|
2575
2624
|
auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key', 'OAuth']
|
2576
2625
|
|
2577
2626
|
new_options = opts.merge(
|
2578
|
-
:operation => :"CatalogsApi.
|
2627
|
+
:operation => :"CatalogsApi.get_bulk_update_catalog_items_jobs",
|
2579
2628
|
:header_params => header_params,
|
2580
2629
|
:query_params => query_params,
|
2581
2630
|
:form_params => form_params,
|
@@ -2586,49 +2635,55 @@ module KlaviyoAPI
|
|
2586
2635
|
|
2587
2636
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
2588
2637
|
if @api_client.config.debugging
|
2589
|
-
@api_client.config.logger.debug "API called: CatalogsApi#
|
2638
|
+
@api_client.config.logger.debug "API called: CatalogsApi#get_bulk_update_catalog_items_jobs\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
2590
2639
|
end
|
2591
2640
|
return data, status_code, headers
|
2592
2641
|
end
|
2593
2642
|
|
2594
|
-
# alias of `
|
2595
|
-
alias
|
2643
|
+
# alias of `get_bulk_update_catalog_items_jobs_with_http_info`
|
2644
|
+
alias get_update_items_jobs_with_http_info get_bulk_update_catalog_items_jobs_with_http_info
|
2596
2645
|
|
2597
|
-
#
|
2598
|
-
|
2646
|
+
# alias of `get_bulk_update_catalog_items_jobs_with_http_info`
|
2647
|
+
alias get_catalog_item_bulk_update_jobs_with_http_info get_bulk_update_catalog_items_jobs_with_http_info
|
2648
|
+
|
2649
|
+
# Get Bulk Update Categories Job
|
2650
|
+
# Get a catalog category bulk update job with the given job ID. An `include` parameter can be provided to get the following related resource data: `categories`.<br><br>*Rate limits*:<br>Burst: `350/s`<br>Steady: `3500/m` **Scopes:** `catalogs:read`
|
2599
2651
|
# @param job_id [String] ID of the job to retrieve.
|
2600
2652
|
# @param [Hash] opts the optional parameters
|
2601
|
-
# @option opts [Array<String>] :
|
2602
|
-
# @option opts [Array<String>] :fields_catalog_category For more information please visit https://developers.klaviyo.com/en/v2025-
|
2603
|
-
# @option opts [Array<String>] :include For more information please visit https://developers.klaviyo.com/en/v2025-
|
2653
|
+
# @option opts [Array<String>] :fields_catalog_category_bulk_update_job For more information please visit https://developers.klaviyo.com/en/v2025-04-15/reference/api-overview#sparse-fieldsets
|
2654
|
+
# @option opts [Array<String>] :fields_catalog_category For more information please visit https://developers.klaviyo.com/en/v2025-04-15/reference/api-overview#sparse-fieldsets
|
2655
|
+
# @option opts [Array<String>] :include For more information please visit https://developers.klaviyo.com/en/v2025-04-15/reference/api-overview#relationships
|
2604
2656
|
# @return [Hash<String, Object>]
|
2605
|
-
def
|
2606
|
-
data, _status_code, _headers =
|
2657
|
+
def get_bulk_update_categories_job(job_id, opts = {})
|
2658
|
+
data, _status_code, _headers = get_bulk_update_categories_job_with_http_info(job_id, opts)
|
2607
2659
|
data
|
2608
2660
|
end
|
2609
2661
|
|
2610
|
-
# alias of `
|
2611
|
-
alias
|
2662
|
+
# alias of `get_bulk_update_categories_job`
|
2663
|
+
alias get_update_categories_job get_bulk_update_categories_job
|
2612
2664
|
|
2613
|
-
#
|
2614
|
-
|
2665
|
+
# alias of `get_bulk_update_categories_job`
|
2666
|
+
alias get_catalog_category_bulk_update_job get_bulk_update_categories_job
|
2667
|
+
|
2668
|
+
# Get Bulk Update Categories Job
|
2669
|
+
# Get a catalog category bulk update job with the given job ID. An `include` parameter can be provided to get the following related resource data: `categories`.<br><br>*Rate limits*:<br>Burst: `350/s`<br>Steady: `3500/m` **Scopes:** `catalogs:read`
|
2615
2670
|
# @param job_id [String] ID of the job to retrieve.
|
2616
2671
|
# @param [Hash] opts the optional parameters
|
2617
|
-
# @option opts [Array<String>] :
|
2618
|
-
# @option opts [Array<String>] :fields_catalog_category For more information please visit https://developers.klaviyo.com/en/v2025-
|
2619
|
-
# @option opts [Array<String>] :include For more information please visit https://developers.klaviyo.com/en/v2025-
|
2672
|
+
# @option opts [Array<String>] :fields_catalog_category_bulk_update_job For more information please visit https://developers.klaviyo.com/en/v2025-04-15/reference/api-overview#sparse-fieldsets
|
2673
|
+
# @option opts [Array<String>] :fields_catalog_category For more information please visit https://developers.klaviyo.com/en/v2025-04-15/reference/api-overview#sparse-fieldsets
|
2674
|
+
# @option opts [Array<String>] :include For more information please visit https://developers.klaviyo.com/en/v2025-04-15/reference/api-overview#relationships
|
2620
2675
|
# @return [Array<(Hash<String, Object>, Integer, Hash)>] Hash<String, Object> data, response status code and response headers
|
2621
|
-
def
|
2676
|
+
def get_bulk_update_categories_job_with_http_info(job_id, opts = {})
|
2622
2677
|
if @api_client.config.debugging
|
2623
|
-
@api_client.config.logger.debug 'Calling API: CatalogsApi.
|
2678
|
+
@api_client.config.logger.debug 'Calling API: CatalogsApi.get_bulk_update_categories_job ...'
|
2624
2679
|
end
|
2625
2680
|
# verify the required parameter 'job_id' is set
|
2626
2681
|
if @api_client.config.client_side_validation && job_id.nil?
|
2627
|
-
fail ArgumentError, "Missing the required parameter 'job_id' when calling CatalogsApi.
|
2682
|
+
fail ArgumentError, "Missing the required parameter 'job_id' when calling CatalogsApi.get_bulk_update_categories_job"
|
2628
2683
|
end
|
2629
2684
|
allowable_values = ["status", "created_at", "total_count", "completed_count", "failed_count", "completed_at", "errors", "expires_at"]
|
2630
|
-
if @api_client.config.client_side_validation && opts[:'
|
2631
|
-
fail ArgumentError, "invalid value for \"
|
2685
|
+
if @api_client.config.client_side_validation && opts[:'fields_catalog_category_bulk_update_job'] && !opts[:'fields_catalog_category_bulk_update_job'].all? { |item| allowable_values.include?(item) }
|
2686
|
+
fail ArgumentError, "invalid value for \"fields_catalog_category_bulk_update_job\", must include one of #{allowable_values}"
|
2632
2687
|
end
|
2633
2688
|
allowable_values = ["external_id", "name", "updated"]
|
2634
2689
|
if @api_client.config.client_side_validation && opts[:'fields_catalog_category'] && !opts[:'fields_catalog_category'].all? { |item| allowable_values.include?(item) }
|
@@ -2639,18 +2694,18 @@ module KlaviyoAPI
|
|
2639
2694
|
fail ArgumentError, "invalid value for \"include\", must include one of #{allowable_values}"
|
2640
2695
|
end
|
2641
2696
|
# resource path
|
2642
|
-
local_var_path = '/api/catalog-category-bulk-
|
2697
|
+
local_var_path = '/api/catalog-category-bulk-update-jobs/{job_id}'.sub('{' + 'job_id' + '}', CGI.escape(job_id.to_s))
|
2643
2698
|
|
2644
2699
|
# query parameters
|
2645
2700
|
query_params = opts[:query_params] || {}
|
2646
|
-
query_params[:'fields[catalog-category-bulk-
|
2701
|
+
query_params[:'fields[catalog-category-bulk-update-job]'] = @api_client.build_collection_param(opts[:'fields_catalog_category_bulk_update_job'], :csv) if !opts[:'fields_catalog_category_bulk_update_job'].nil?
|
2647
2702
|
query_params[:'fields[catalog-category]'] = @api_client.build_collection_param(opts[:'fields_catalog_category'], :csv) if !opts[:'fields_catalog_category'].nil?
|
2648
2703
|
query_params[:'include'] = @api_client.build_collection_param(opts[:'include'], :csv) if !opts[:'include'].nil?
|
2649
2704
|
|
2650
2705
|
# header parameters
|
2651
2706
|
header_params = opts[:header_params] || {}
|
2652
2707
|
# klaviyo api revision
|
2653
|
-
header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2025-
|
2708
|
+
header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2025-04-15"
|
2654
2709
|
# HTTP header 'Accept' (if needed)
|
2655
2710
|
header_params['Accept'] = @api_client.select_header_accept(['application/vnd.api+json'])
|
2656
2711
|
|
@@ -2667,7 +2722,7 @@ module KlaviyoAPI
|
|
2667
2722
|
auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key', 'OAuth']
|
2668
2723
|
|
2669
2724
|
new_options = opts.merge(
|
2670
|
-
:operation => :"CatalogsApi.
|
2725
|
+
:operation => :"CatalogsApi.get_bulk_update_categories_job",
|
2671
2726
|
:header_params => header_params,
|
2672
2727
|
:query_params => query_params,
|
2673
2728
|
:form_params => form_params,
|
@@ -2678,57 +2733,63 @@ module KlaviyoAPI
|
|
2678
2733
|
|
2679
2734
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
2680
2735
|
if @api_client.config.debugging
|
2681
|
-
@api_client.config.logger.debug "API called: CatalogsApi#
|
2736
|
+
@api_client.config.logger.debug "API called: CatalogsApi#get_bulk_update_categories_job\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
2682
2737
|
end
|
2683
2738
|
return data, status_code, headers
|
2684
2739
|
end
|
2685
2740
|
|
2686
|
-
# alias of `
|
2687
|
-
alias
|
2741
|
+
# alias of `get_bulk_update_categories_job_with_http_info`
|
2742
|
+
alias get_update_categories_job_with_http_info get_bulk_update_categories_job_with_http_info
|
2688
2743
|
|
2689
|
-
#
|
2690
|
-
|
2744
|
+
# alias of `get_bulk_update_categories_job_with_http_info`
|
2745
|
+
alias get_catalog_category_bulk_update_job_with_http_info get_bulk_update_categories_job_with_http_info
|
2746
|
+
|
2747
|
+
# Get Bulk Update Categories Jobs
|
2748
|
+
# Get all catalog category bulk update jobs. Returns a maximum of 100 jobs per request.<br><br>*Rate limits*:<br>Burst: `350/s`<br>Steady: `3500/m` **Scopes:** `catalogs:read`
|
2691
2749
|
# @param [Hash] opts the optional parameters
|
2692
|
-
# @option opts [Array<String>] :
|
2693
|
-
# @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2025-
|
2694
|
-
# @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2025-
|
2750
|
+
# @option opts [Array<String>] :fields_catalog_category_bulk_update_job For more information please visit https://developers.klaviyo.com/en/v2025-04-15/reference/api-overview#sparse-fieldsets
|
2751
|
+
# @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2025-04-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`status`: `equals`
|
2752
|
+
# @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2025-04-15/reference/api-overview#pagination
|
2695
2753
|
# @return [Hash<String, Object>]
|
2696
|
-
def
|
2697
|
-
data, _status_code, _headers =
|
2754
|
+
def get_bulk_update_categories_jobs(opts = {})
|
2755
|
+
data, _status_code, _headers = get_bulk_update_categories_jobs_with_http_info(opts)
|
2698
2756
|
data
|
2699
2757
|
end
|
2700
2758
|
|
2701
|
-
# alias of `
|
2702
|
-
alias
|
2759
|
+
# alias of `get_bulk_update_categories_jobs`
|
2760
|
+
alias get_update_categories_jobs get_bulk_update_categories_jobs
|
2703
2761
|
|
2704
|
-
#
|
2705
|
-
|
2762
|
+
# alias of `get_bulk_update_categories_jobs`
|
2763
|
+
alias get_catalog_category_bulk_update_jobs get_bulk_update_categories_jobs
|
2764
|
+
|
2765
|
+
# Get Bulk Update Categories Jobs
|
2766
|
+
# Get all catalog category bulk update jobs. Returns a maximum of 100 jobs per request.<br><br>*Rate limits*:<br>Burst: `350/s`<br>Steady: `3500/m` **Scopes:** `catalogs:read`
|
2706
2767
|
# @param [Hash] opts the optional parameters
|
2707
|
-
# @option opts [Array<String>] :
|
2708
|
-
# @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2025-
|
2709
|
-
# @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2025-
|
2768
|
+
# @option opts [Array<String>] :fields_catalog_category_bulk_update_job For more information please visit https://developers.klaviyo.com/en/v2025-04-15/reference/api-overview#sparse-fieldsets
|
2769
|
+
# @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2025-04-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`status`: `equals`
|
2770
|
+
# @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2025-04-15/reference/api-overview#pagination
|
2710
2771
|
# @return [Array<(Hash<String, Object>, Integer, Hash)>] Hash<String, Object> data, response status code and response headers
|
2711
|
-
def
|
2772
|
+
def get_bulk_update_categories_jobs_with_http_info(opts = {})
|
2712
2773
|
if @api_client.config.debugging
|
2713
|
-
@api_client.config.logger.debug 'Calling API: CatalogsApi.
|
2774
|
+
@api_client.config.logger.debug 'Calling API: CatalogsApi.get_bulk_update_categories_jobs ...'
|
2714
2775
|
end
|
2715
2776
|
allowable_values = ["status", "created_at", "total_count", "completed_count", "failed_count", "completed_at", "errors", "expires_at"]
|
2716
|
-
if @api_client.config.client_side_validation && opts[:'
|
2717
|
-
fail ArgumentError, "invalid value for \"
|
2777
|
+
if @api_client.config.client_side_validation && opts[:'fields_catalog_category_bulk_update_job'] && !opts[:'fields_catalog_category_bulk_update_job'].all? { |item| allowable_values.include?(item) }
|
2778
|
+
fail ArgumentError, "invalid value for \"fields_catalog_category_bulk_update_job\", must include one of #{allowable_values}"
|
2718
2779
|
end
|
2719
2780
|
# resource path
|
2720
|
-
local_var_path = '/api/catalog-category-bulk-
|
2781
|
+
local_var_path = '/api/catalog-category-bulk-update-jobs'
|
2721
2782
|
|
2722
2783
|
# query parameters
|
2723
2784
|
query_params = opts[:query_params] || {}
|
2724
|
-
query_params[:'fields[catalog-category-bulk-
|
2785
|
+
query_params[:'fields[catalog-category-bulk-update-job]'] = @api_client.build_collection_param(opts[:'fields_catalog_category_bulk_update_job'], :csv) if !opts[:'fields_catalog_category_bulk_update_job'].nil?
|
2725
2786
|
query_params[:'filter'] = opts[:'filter'] if !opts[:'filter'].nil?
|
2726
2787
|
query_params[:'page[cursor]'] = opts[:'page_cursor'] if !opts[:'page_cursor'].nil?
|
2727
2788
|
|
2728
2789
|
# header parameters
|
2729
2790
|
header_params = opts[:header_params] || {}
|
2730
2791
|
# klaviyo api revision
|
2731
|
-
header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2025-
|
2792
|
+
header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2025-04-15"
|
2732
2793
|
# HTTP header 'Accept' (if needed)
|
2733
2794
|
header_params['Accept'] = @api_client.select_header_accept(['application/vnd.api+json'])
|
2734
2795
|
|
@@ -2745,7 +2806,7 @@ module KlaviyoAPI
|
|
2745
2806
|
auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key', 'OAuth']
|
2746
2807
|
|
2747
2808
|
new_options = opts.merge(
|
2748
|
-
:operation => :"CatalogsApi.
|
2809
|
+
:operation => :"CatalogsApi.get_bulk_update_categories_jobs",
|
2749
2810
|
:header_params => header_params,
|
2750
2811
|
:query_params => query_params,
|
2751
2812
|
:form_params => form_params,
|
@@ -2756,49 +2817,55 @@ module KlaviyoAPI
|
|
2756
2817
|
|
2757
2818
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
2758
2819
|
if @api_client.config.debugging
|
2759
|
-
@api_client.config.logger.debug "API called: CatalogsApi#
|
2820
|
+
@api_client.config.logger.debug "API called: CatalogsApi#get_bulk_update_categories_jobs\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
2760
2821
|
end
|
2761
2822
|
return data, status_code, headers
|
2762
2823
|
end
|
2763
2824
|
|
2764
|
-
# alias of `
|
2765
|
-
alias
|
2825
|
+
# alias of `get_bulk_update_categories_jobs_with_http_info`
|
2826
|
+
alias get_update_categories_jobs_with_http_info get_bulk_update_categories_jobs_with_http_info
|
2766
2827
|
|
2767
|
-
#
|
2768
|
-
|
2828
|
+
# alias of `get_bulk_update_categories_jobs_with_http_info`
|
2829
|
+
alias get_catalog_category_bulk_update_jobs_with_http_info get_bulk_update_categories_jobs_with_http_info
|
2830
|
+
|
2831
|
+
# Get Bulk Update Variants Job
|
2832
|
+
# Get a catalog variate bulk update job with the given job ID. An `include` parameter can be provided to get the following related resource data: `variants`.<br><br>*Rate limits*:<br>Burst: `350/s`<br>Steady: `3500/m` **Scopes:** `catalogs:read`
|
2769
2833
|
# @param job_id [String] ID of the job to retrieve.
|
2770
2834
|
# @param [Hash] opts the optional parameters
|
2771
|
-
# @option opts [Array<String>] :
|
2772
|
-
# @option opts [Array<String>] :fields_catalog_variant For more information please visit https://developers.klaviyo.com/en/v2025-
|
2773
|
-
# @option opts [Array<String>] :include For more information please visit https://developers.klaviyo.com/en/v2025-
|
2835
|
+
# @option opts [Array<String>] :fields_catalog_variant_bulk_update_job For more information please visit https://developers.klaviyo.com/en/v2025-04-15/reference/api-overview#sparse-fieldsets
|
2836
|
+
# @option opts [Array<String>] :fields_catalog_variant For more information please visit https://developers.klaviyo.com/en/v2025-04-15/reference/api-overview#sparse-fieldsets
|
2837
|
+
# @option opts [Array<String>] :include For more information please visit https://developers.klaviyo.com/en/v2025-04-15/reference/api-overview#relationships
|
2774
2838
|
# @return [Hash<String, Object>]
|
2775
|
-
def
|
2776
|
-
data, _status_code, _headers =
|
2839
|
+
def get_bulk_update_variants_job(job_id, opts = {})
|
2840
|
+
data, _status_code, _headers = get_bulk_update_variants_job_with_http_info(job_id, opts)
|
2777
2841
|
data
|
2778
2842
|
end
|
2779
2843
|
|
2780
|
-
# alias of `
|
2781
|
-
alias
|
2844
|
+
# alias of `get_bulk_update_variants_job`
|
2845
|
+
alias get_update_variants_job get_bulk_update_variants_job
|
2782
2846
|
|
2783
|
-
#
|
2784
|
-
|
2847
|
+
# alias of `get_bulk_update_variants_job`
|
2848
|
+
alias get_catalog_variant_bulk_update_job get_bulk_update_variants_job
|
2849
|
+
|
2850
|
+
# Get Bulk Update Variants Job
|
2851
|
+
# Get a catalog variate bulk update job with the given job ID. An `include` parameter can be provided to get the following related resource data: `variants`.<br><br>*Rate limits*:<br>Burst: `350/s`<br>Steady: `3500/m` **Scopes:** `catalogs:read`
|
2785
2852
|
# @param job_id [String] ID of the job to retrieve.
|
2786
2853
|
# @param [Hash] opts the optional parameters
|
2787
|
-
# @option opts [Array<String>] :
|
2788
|
-
# @option opts [Array<String>] :fields_catalog_variant For more information please visit https://developers.klaviyo.com/en/v2025-
|
2789
|
-
# @option opts [Array<String>] :include For more information please visit https://developers.klaviyo.com/en/v2025-
|
2854
|
+
# @option opts [Array<String>] :fields_catalog_variant_bulk_update_job For more information please visit https://developers.klaviyo.com/en/v2025-04-15/reference/api-overview#sparse-fieldsets
|
2855
|
+
# @option opts [Array<String>] :fields_catalog_variant For more information please visit https://developers.klaviyo.com/en/v2025-04-15/reference/api-overview#sparse-fieldsets
|
2856
|
+
# @option opts [Array<String>] :include For more information please visit https://developers.klaviyo.com/en/v2025-04-15/reference/api-overview#relationships
|
2790
2857
|
# @return [Array<(Hash<String, Object>, Integer, Hash)>] Hash<String, Object> data, response status code and response headers
|
2791
|
-
def
|
2858
|
+
def get_bulk_update_variants_job_with_http_info(job_id, opts = {})
|
2792
2859
|
if @api_client.config.debugging
|
2793
|
-
@api_client.config.logger.debug 'Calling API: CatalogsApi.
|
2860
|
+
@api_client.config.logger.debug 'Calling API: CatalogsApi.get_bulk_update_variants_job ...'
|
2794
2861
|
end
|
2795
2862
|
# verify the required parameter 'job_id' is set
|
2796
2863
|
if @api_client.config.client_side_validation && job_id.nil?
|
2797
|
-
fail ArgumentError, "Missing the required parameter 'job_id' when calling CatalogsApi.
|
2864
|
+
fail ArgumentError, "Missing the required parameter 'job_id' when calling CatalogsApi.get_bulk_update_variants_job"
|
2798
2865
|
end
|
2799
2866
|
allowable_values = ["status", "created_at", "total_count", "completed_count", "failed_count", "completed_at", "errors", "expires_at"]
|
2800
|
-
if @api_client.config.client_side_validation && opts[:'
|
2801
|
-
fail ArgumentError, "invalid value for \"
|
2867
|
+
if @api_client.config.client_side_validation && opts[:'fields_catalog_variant_bulk_update_job'] && !opts[:'fields_catalog_variant_bulk_update_job'].all? { |item| allowable_values.include?(item) }
|
2868
|
+
fail ArgumentError, "invalid value for \"fields_catalog_variant_bulk_update_job\", must include one of #{allowable_values}"
|
2802
2869
|
end
|
2803
2870
|
allowable_values = ["external_id", "title", "description", "sku", "inventory_policy", "inventory_quantity", "price", "url", "image_full_url", "image_thumbnail_url", "images", "custom_metadata", "published", "created", "updated"]
|
2804
2871
|
if @api_client.config.client_side_validation && opts[:'fields_catalog_variant'] && !opts[:'fields_catalog_variant'].all? { |item| allowable_values.include?(item) }
|
@@ -2809,18 +2876,18 @@ module KlaviyoAPI
|
|
2809
2876
|
fail ArgumentError, "invalid value for \"include\", must include one of #{allowable_values}"
|
2810
2877
|
end
|
2811
2878
|
# resource path
|
2812
|
-
local_var_path = '/api/catalog-variant-bulk-
|
2879
|
+
local_var_path = '/api/catalog-variant-bulk-update-jobs/{job_id}'.sub('{' + 'job_id' + '}', CGI.escape(job_id.to_s))
|
2813
2880
|
|
2814
2881
|
# query parameters
|
2815
2882
|
query_params = opts[:query_params] || {}
|
2816
|
-
query_params[:'fields[catalog-variant-bulk-
|
2883
|
+
query_params[:'fields[catalog-variant-bulk-update-job]'] = @api_client.build_collection_param(opts[:'fields_catalog_variant_bulk_update_job'], :csv) if !opts[:'fields_catalog_variant_bulk_update_job'].nil?
|
2817
2884
|
query_params[:'fields[catalog-variant]'] = @api_client.build_collection_param(opts[:'fields_catalog_variant'], :csv) if !opts[:'fields_catalog_variant'].nil?
|
2818
2885
|
query_params[:'include'] = @api_client.build_collection_param(opts[:'include'], :csv) if !opts[:'include'].nil?
|
2819
2886
|
|
2820
2887
|
# header parameters
|
2821
2888
|
header_params = opts[:header_params] || {}
|
2822
2889
|
# klaviyo api revision
|
2823
|
-
header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2025-
|
2890
|
+
header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2025-04-15"
|
2824
2891
|
# HTTP header 'Accept' (if needed)
|
2825
2892
|
header_params['Accept'] = @api_client.select_header_accept(['application/vnd.api+json'])
|
2826
2893
|
|
@@ -2837,7 +2904,7 @@ module KlaviyoAPI
|
|
2837
2904
|
auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key', 'OAuth']
|
2838
2905
|
|
2839
2906
|
new_options = opts.merge(
|
2840
|
-
:operation => :"CatalogsApi.
|
2907
|
+
:operation => :"CatalogsApi.get_bulk_update_variants_job",
|
2841
2908
|
:header_params => header_params,
|
2842
2909
|
:query_params => query_params,
|
2843
2910
|
:form_params => form_params,
|
@@ -2848,57 +2915,63 @@ module KlaviyoAPI
|
|
2848
2915
|
|
2849
2916
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
2850
2917
|
if @api_client.config.debugging
|
2851
|
-
@api_client.config.logger.debug "API called: CatalogsApi#
|
2918
|
+
@api_client.config.logger.debug "API called: CatalogsApi#get_bulk_update_variants_job\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
2852
2919
|
end
|
2853
2920
|
return data, status_code, headers
|
2854
2921
|
end
|
2855
2922
|
|
2856
|
-
# alias of `
|
2857
|
-
alias
|
2923
|
+
# alias of `get_bulk_update_variants_job_with_http_info`
|
2924
|
+
alias get_update_variants_job_with_http_info get_bulk_update_variants_job_with_http_info
|
2858
2925
|
|
2859
|
-
#
|
2860
|
-
|
2926
|
+
# alias of `get_bulk_update_variants_job_with_http_info`
|
2927
|
+
alias get_catalog_variant_bulk_update_job_with_http_info get_bulk_update_variants_job_with_http_info
|
2928
|
+
|
2929
|
+
# Get Bulk Update Variants Jobs
|
2930
|
+
# Get all catalog variant bulk update jobs. Returns a maximum of 100 jobs per request.<br><br>*Rate limits*:<br>Burst: `350/s`<br>Steady: `3500/m` **Scopes:** `catalogs:read`
|
2861
2931
|
# @param [Hash] opts the optional parameters
|
2862
|
-
# @option opts [Array<String>] :
|
2863
|
-
# @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2025-
|
2864
|
-
# @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2025-
|
2932
|
+
# @option opts [Array<String>] :fields_catalog_variant_bulk_update_job For more information please visit https://developers.klaviyo.com/en/v2025-04-15/reference/api-overview#sparse-fieldsets
|
2933
|
+
# @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2025-04-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`status`: `equals`
|
2934
|
+
# @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2025-04-15/reference/api-overview#pagination
|
2865
2935
|
# @return [Hash<String, Object>]
|
2866
|
-
def
|
2867
|
-
data, _status_code, _headers =
|
2936
|
+
def get_bulk_update_variants_jobs(opts = {})
|
2937
|
+
data, _status_code, _headers = get_bulk_update_variants_jobs_with_http_info(opts)
|
2868
2938
|
data
|
2869
2939
|
end
|
2870
2940
|
|
2871
|
-
# alias of `
|
2872
|
-
alias
|
2941
|
+
# alias of `get_bulk_update_variants_jobs`
|
2942
|
+
alias get_update_variants_jobs get_bulk_update_variants_jobs
|
2873
2943
|
|
2874
|
-
#
|
2875
|
-
|
2944
|
+
# alias of `get_bulk_update_variants_jobs`
|
2945
|
+
alias get_catalog_variant_bulk_update_jobs get_bulk_update_variants_jobs
|
2946
|
+
|
2947
|
+
# Get Bulk Update Variants Jobs
|
2948
|
+
# Get all catalog variant bulk update jobs. Returns a maximum of 100 jobs per request.<br><br>*Rate limits*:<br>Burst: `350/s`<br>Steady: `3500/m` **Scopes:** `catalogs:read`
|
2876
2949
|
# @param [Hash] opts the optional parameters
|
2877
|
-
# @option opts [Array<String>] :
|
2878
|
-
# @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2025-
|
2879
|
-
# @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2025-
|
2950
|
+
# @option opts [Array<String>] :fields_catalog_variant_bulk_update_job For more information please visit https://developers.klaviyo.com/en/v2025-04-15/reference/api-overview#sparse-fieldsets
|
2951
|
+
# @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2025-04-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`status`: `equals`
|
2952
|
+
# @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2025-04-15/reference/api-overview#pagination
|
2880
2953
|
# @return [Array<(Hash<String, Object>, Integer, Hash)>] Hash<String, Object> data, response status code and response headers
|
2881
|
-
def
|
2954
|
+
def get_bulk_update_variants_jobs_with_http_info(opts = {})
|
2882
2955
|
if @api_client.config.debugging
|
2883
|
-
@api_client.config.logger.debug 'Calling API: CatalogsApi.
|
2956
|
+
@api_client.config.logger.debug 'Calling API: CatalogsApi.get_bulk_update_variants_jobs ...'
|
2884
2957
|
end
|
2885
2958
|
allowable_values = ["status", "created_at", "total_count", "completed_count", "failed_count", "completed_at", "errors", "expires_at"]
|
2886
|
-
if @api_client.config.client_side_validation && opts[:'
|
2887
|
-
fail ArgumentError, "invalid value for \"
|
2959
|
+
if @api_client.config.client_side_validation && opts[:'fields_catalog_variant_bulk_update_job'] && !opts[:'fields_catalog_variant_bulk_update_job'].all? { |item| allowable_values.include?(item) }
|
2960
|
+
fail ArgumentError, "invalid value for \"fields_catalog_variant_bulk_update_job\", must include one of #{allowable_values}"
|
2888
2961
|
end
|
2889
2962
|
# resource path
|
2890
|
-
local_var_path = '/api/catalog-variant-bulk-
|
2963
|
+
local_var_path = '/api/catalog-variant-bulk-update-jobs'
|
2891
2964
|
|
2892
2965
|
# query parameters
|
2893
2966
|
query_params = opts[:query_params] || {}
|
2894
|
-
query_params[:'fields[catalog-variant-bulk-
|
2967
|
+
query_params[:'fields[catalog-variant-bulk-update-job]'] = @api_client.build_collection_param(opts[:'fields_catalog_variant_bulk_update_job'], :csv) if !opts[:'fields_catalog_variant_bulk_update_job'].nil?
|
2895
2968
|
query_params[:'filter'] = opts[:'filter'] if !opts[:'filter'].nil?
|
2896
2969
|
query_params[:'page[cursor]'] = opts[:'page_cursor'] if !opts[:'page_cursor'].nil?
|
2897
2970
|
|
2898
2971
|
# header parameters
|
2899
2972
|
header_params = opts[:header_params] || {}
|
2900
2973
|
# klaviyo api revision
|
2901
|
-
header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2025-
|
2974
|
+
header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2025-04-15"
|
2902
2975
|
# HTTP header 'Accept' (if needed)
|
2903
2976
|
header_params['Accept'] = @api_client.select_header_accept(['application/vnd.api+json'])
|
2904
2977
|
|
@@ -2915,7 +2988,7 @@ module KlaviyoAPI
|
|
2915
2988
|
auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key', 'OAuth']
|
2916
2989
|
|
2917
2990
|
new_options = opts.merge(
|
2918
|
-
:operation => :"CatalogsApi.
|
2991
|
+
:operation => :"CatalogsApi.get_bulk_update_variants_jobs",
|
2919
2992
|
:header_params => header_params,
|
2920
2993
|
:query_params => query_params,
|
2921
2994
|
:form_params => form_params,
|
@@ -2926,57 +2999,64 @@ module KlaviyoAPI
|
|
2926
2999
|
|
2927
3000
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
2928
3001
|
if @api_client.config.debugging
|
2929
|
-
@api_client.config.logger.debug "API called: CatalogsApi#
|
3002
|
+
@api_client.config.logger.debug "API called: CatalogsApi#get_bulk_update_variants_jobs\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
2930
3003
|
end
|
2931
3004
|
return data, status_code, headers
|
2932
3005
|
end
|
2933
3006
|
|
2934
|
-
# alias of `
|
2935
|
-
alias
|
3007
|
+
# alias of `get_bulk_update_variants_jobs_with_http_info`
|
3008
|
+
alias get_update_variants_jobs_with_http_info get_bulk_update_variants_jobs_with_http_info
|
2936
3009
|
|
2937
|
-
#
|
2938
|
-
|
2939
|
-
|
3010
|
+
# alias of `get_bulk_update_variants_jobs_with_http_info`
|
3011
|
+
alias get_catalog_variant_bulk_update_jobs_with_http_info get_bulk_update_variants_jobs_with_http_info
|
3012
|
+
|
3013
|
+
# Get Catalog Categories
|
3014
|
+
# Get all catalog categories in an account. Catalog categories can be sorted by the following fields, in ascending and descending order: `created` Currently, the only supported integration type is `$custom`, and the only supported catalog type is `$default`. Returns a maximum of 100 categories per request.<br><br>*Rate limits*:<br>Burst: `350/s`<br>Steady: `3500/m` **Scopes:** `catalogs:read`
|
2940
3015
|
# @param [Hash] opts the optional parameters
|
2941
|
-
# @option opts [Array<String>] :
|
3016
|
+
# @option opts [Array<String>] :fields_catalog_category For more information please visit https://developers.klaviyo.com/en/v2025-04-15/reference/api-overview#sparse-fieldsets
|
3017
|
+
# @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2025-04-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`ids`: `any`<br>`item.id`: `equals`<br>`name`: `contains`
|
3018
|
+
# @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2025-04-15/reference/api-overview#pagination
|
3019
|
+
# @option opts [String] :sort For more information please visit https://developers.klaviyo.com/en/v2025-04-15/reference/api-overview#sorting
|
2942
3020
|
# @return [Hash<String, Object>]
|
2943
|
-
def
|
2944
|
-
data, _status_code, _headers =
|
3021
|
+
def get_catalog_categories(opts = {})
|
3022
|
+
data, _status_code, _headers = get_catalog_categories_with_http_info(opts)
|
2945
3023
|
data
|
2946
3024
|
end
|
2947
3025
|
|
2948
|
-
#
|
2949
|
-
|
2950
|
-
|
2951
|
-
# Get Delete Categories Job
|
2952
|
-
# Get a catalog category bulk delete job with the given job ID.<br><br>*Rate limits*:<br>Burst: `350/s`<br>Steady: `3500/m` **Scopes:** `catalogs:read`
|
2953
|
-
# @param job_id [String] ID of the job to retrieve.
|
3026
|
+
# Get Catalog Categories
|
3027
|
+
# Get all catalog categories in an account. Catalog categories can be sorted by the following fields, in ascending and descending order: `created` Currently, the only supported integration type is `$custom`, and the only supported catalog type is `$default`. Returns a maximum of 100 categories per request.<br><br>*Rate limits*:<br>Burst: `350/s`<br>Steady: `3500/m` **Scopes:** `catalogs:read`
|
2954
3028
|
# @param [Hash] opts the optional parameters
|
2955
|
-
# @option opts [Array<String>] :
|
3029
|
+
# @option opts [Array<String>] :fields_catalog_category For more information please visit https://developers.klaviyo.com/en/v2025-04-15/reference/api-overview#sparse-fieldsets
|
3030
|
+
# @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2025-04-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`ids`: `any`<br>`item.id`: `equals`<br>`name`: `contains`
|
3031
|
+
# @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2025-04-15/reference/api-overview#pagination
|
3032
|
+
# @option opts [String] :sort For more information please visit https://developers.klaviyo.com/en/v2025-04-15/reference/api-overview#sorting
|
2956
3033
|
# @return [Array<(Hash<String, Object>, Integer, Hash)>] Hash<String, Object> data, response status code and response headers
|
2957
|
-
def
|
3034
|
+
def get_catalog_categories_with_http_info(opts = {})
|
2958
3035
|
if @api_client.config.debugging
|
2959
|
-
@api_client.config.logger.debug 'Calling API: CatalogsApi.
|
3036
|
+
@api_client.config.logger.debug 'Calling API: CatalogsApi.get_catalog_categories ...'
|
2960
3037
|
end
|
2961
|
-
|
2962
|
-
if @api_client.config.client_side_validation &&
|
2963
|
-
fail ArgumentError, "
|
3038
|
+
allowable_values = ["external_id", "name", "updated"]
|
3039
|
+
if @api_client.config.client_side_validation && opts[:'fields_catalog_category'] && !opts[:'fields_catalog_category'].all? { |item| allowable_values.include?(item) }
|
3040
|
+
fail ArgumentError, "invalid value for \"fields_catalog_category\", must include one of #{allowable_values}"
|
2964
3041
|
end
|
2965
|
-
allowable_values = ["
|
2966
|
-
if @api_client.config.client_side_validation && opts[:'
|
2967
|
-
fail ArgumentError, "invalid value for \"
|
3042
|
+
allowable_values = ["created", "-created"]
|
3043
|
+
if @api_client.config.client_side_validation && opts[:'sort'] && !allowable_values.include?(opts[:'sort'])
|
3044
|
+
fail ArgumentError, "invalid value for \"sort\", must be one of #{allowable_values}"
|
2968
3045
|
end
|
2969
3046
|
# resource path
|
2970
|
-
local_var_path = '/api/catalog-
|
3047
|
+
local_var_path = '/api/catalog-categories'
|
2971
3048
|
|
2972
3049
|
# query parameters
|
2973
3050
|
query_params = opts[:query_params] || {}
|
2974
|
-
query_params[:'fields[catalog-category
|
3051
|
+
query_params[:'fields[catalog-category]'] = @api_client.build_collection_param(opts[:'fields_catalog_category'], :csv) if !opts[:'fields_catalog_category'].nil?
|
3052
|
+
query_params[:'filter'] = opts[:'filter'] if !opts[:'filter'].nil?
|
3053
|
+
query_params[:'page[cursor]'] = opts[:'page_cursor'] if !opts[:'page_cursor'].nil?
|
3054
|
+
query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
|
2975
3055
|
|
2976
3056
|
# header parameters
|
2977
3057
|
header_params = opts[:header_params] || {}
|
2978
3058
|
# klaviyo api revision
|
2979
|
-
header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2025-
|
3059
|
+
header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2025-04-15"
|
2980
3060
|
# HTTP header 'Accept' (if needed)
|
2981
3061
|
header_params['Accept'] = @api_client.select_header_accept(['application/vnd.api+json'])
|
2982
3062
|
|
@@ -2993,7 +3073,7 @@ module KlaviyoAPI
|
|
2993
3073
|
auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key', 'OAuth']
|
2994
3074
|
|
2995
3075
|
new_options = opts.merge(
|
2996
|
-
:operation => :"CatalogsApi.
|
3076
|
+
:operation => :"CatalogsApi.get_catalog_categories",
|
2997
3077
|
:header_params => header_params,
|
2998
3078
|
:query_params => query_params,
|
2999
3079
|
:form_params => form_params,
|
@@ -3004,57 +3084,51 @@ module KlaviyoAPI
|
|
3004
3084
|
|
3005
3085
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
3006
3086
|
if @api_client.config.debugging
|
3007
|
-
@api_client.config.logger.debug "API called: CatalogsApi#
|
3087
|
+
@api_client.config.logger.debug "API called: CatalogsApi#get_catalog_categories\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
3008
3088
|
end
|
3009
3089
|
return data, status_code, headers
|
3010
3090
|
end
|
3011
3091
|
|
3012
|
-
#
|
3013
|
-
|
3014
|
-
|
3015
|
-
# Get Delete Categories Jobs
|
3016
|
-
# Get all catalog category bulk delete jobs. Returns a maximum of 100 jobs per request.<br><br>*Rate limits*:<br>Burst: `350/s`<br>Steady: `3500/m` **Scopes:** `catalogs:read`
|
3092
|
+
# Get Catalog Category
|
3093
|
+
# Get a catalog category with the given category ID.<br><br>*Rate limits*:<br>Burst: `350/s`<br>Steady: `3500/m` **Scopes:** `catalogs:read`
|
3094
|
+
# @param id [String] The catalog category ID is a compound ID (string), with format: `{integration}:::{catalog}:::{external_id}`. Currently, the only supported integration type is `$custom`, and the only supported catalog is `$default`.
|
3017
3095
|
# @param [Hash] opts the optional parameters
|
3018
|
-
# @option opts [Array<String>] :
|
3019
|
-
# @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2025-01-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`status`: `equals`
|
3020
|
-
# @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2025-01-15/reference/api-overview#pagination
|
3096
|
+
# @option opts [Array<String>] :fields_catalog_category For more information please visit https://developers.klaviyo.com/en/v2025-04-15/reference/api-overview#sparse-fieldsets
|
3021
3097
|
# @return [Hash<String, Object>]
|
3022
|
-
def
|
3023
|
-
data, _status_code, _headers =
|
3098
|
+
def get_catalog_category(id, opts = {})
|
3099
|
+
data, _status_code, _headers = get_catalog_category_with_http_info(id, opts)
|
3024
3100
|
data
|
3025
3101
|
end
|
3026
3102
|
|
3027
|
-
#
|
3028
|
-
|
3029
|
-
|
3030
|
-
# Get Delete Categories Jobs
|
3031
|
-
# Get all catalog category bulk delete jobs. Returns a maximum of 100 jobs per request.<br><br>*Rate limits*:<br>Burst: `350/s`<br>Steady: `3500/m` **Scopes:** `catalogs:read`
|
3103
|
+
# Get Catalog Category
|
3104
|
+
# Get a catalog category with the given category ID.<br><br>*Rate limits*:<br>Burst: `350/s`<br>Steady: `3500/m` **Scopes:** `catalogs:read`
|
3105
|
+
# @param id [String] The catalog category ID is a compound ID (string), with format: `{integration}:::{catalog}:::{external_id}`. Currently, the only supported integration type is `$custom`, and the only supported catalog is `$default`.
|
3032
3106
|
# @param [Hash] opts the optional parameters
|
3033
|
-
# @option opts [Array<String>] :
|
3034
|
-
# @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2025-01-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`status`: `equals`
|
3035
|
-
# @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2025-01-15/reference/api-overview#pagination
|
3107
|
+
# @option opts [Array<String>] :fields_catalog_category For more information please visit https://developers.klaviyo.com/en/v2025-04-15/reference/api-overview#sparse-fieldsets
|
3036
3108
|
# @return [Array<(Hash<String, Object>, Integer, Hash)>] Hash<String, Object> data, response status code and response headers
|
3037
|
-
def
|
3109
|
+
def get_catalog_category_with_http_info(id, opts = {})
|
3038
3110
|
if @api_client.config.debugging
|
3039
|
-
@api_client.config.logger.debug 'Calling API: CatalogsApi.
|
3111
|
+
@api_client.config.logger.debug 'Calling API: CatalogsApi.get_catalog_category ...'
|
3040
3112
|
end
|
3041
|
-
|
3042
|
-
if @api_client.config.client_side_validation &&
|
3043
|
-
fail ArgumentError, "
|
3113
|
+
# verify the required parameter 'id' is set
|
3114
|
+
if @api_client.config.client_side_validation && id.nil?
|
3115
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling CatalogsApi.get_catalog_category"
|
3116
|
+
end
|
3117
|
+
allowable_values = ["external_id", "name", "updated"]
|
3118
|
+
if @api_client.config.client_side_validation && opts[:'fields_catalog_category'] && !opts[:'fields_catalog_category'].all? { |item| allowable_values.include?(item) }
|
3119
|
+
fail ArgumentError, "invalid value for \"fields_catalog_category\", must include one of #{allowable_values}"
|
3044
3120
|
end
|
3045
3121
|
# resource path
|
3046
|
-
local_var_path = '/api/catalog-
|
3122
|
+
local_var_path = '/api/catalog-categories/{id}'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
3047
3123
|
|
3048
3124
|
# query parameters
|
3049
3125
|
query_params = opts[:query_params] || {}
|
3050
|
-
query_params[:'fields[catalog-category
|
3051
|
-
query_params[:'filter'] = opts[:'filter'] if !opts[:'filter'].nil?
|
3052
|
-
query_params[:'page[cursor]'] = opts[:'page_cursor'] if !opts[:'page_cursor'].nil?
|
3126
|
+
query_params[:'fields[catalog-category]'] = @api_client.build_collection_param(opts[:'fields_catalog_category'], :csv) if !opts[:'fields_catalog_category'].nil?
|
3053
3127
|
|
3054
3128
|
# header parameters
|
3055
3129
|
header_params = opts[:header_params] || {}
|
3056
3130
|
# klaviyo api revision
|
3057
|
-
header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2025-
|
3131
|
+
header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2025-04-15"
|
3058
3132
|
# HTTP header 'Accept' (if needed)
|
3059
3133
|
header_params['Accept'] = @api_client.select_header_accept(['application/vnd.api+json'])
|
3060
3134
|
|
@@ -3071,7 +3145,7 @@ module KlaviyoAPI
|
|
3071
3145
|
auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key', 'OAuth']
|
3072
3146
|
|
3073
3147
|
new_options = opts.merge(
|
3074
|
-
:operation => :"CatalogsApi.
|
3148
|
+
:operation => :"CatalogsApi.get_catalog_category",
|
3075
3149
|
:header_params => header_params,
|
3076
3150
|
:query_params => query_params,
|
3077
3151
|
:form_params => form_params,
|
@@ -3082,57 +3156,65 @@ module KlaviyoAPI
|
|
3082
3156
|
|
3083
3157
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
3084
3158
|
if @api_client.config.debugging
|
3085
|
-
@api_client.config.logger.debug "API called: CatalogsApi#
|
3159
|
+
@api_client.config.logger.debug "API called: CatalogsApi#get_catalog_category\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
3086
3160
|
end
|
3087
3161
|
return data, status_code, headers
|
3088
3162
|
end
|
3089
3163
|
|
3090
|
-
#
|
3091
|
-
|
3092
|
-
|
3093
|
-
# Get Delete Variants Job
|
3094
|
-
# Get a catalog variant bulk delete job with the given job ID.<br><br>*Rate limits*:<br>Burst: `350/s`<br>Steady: `3500/m` **Scopes:** `catalogs:read`
|
3095
|
-
# @param job_id [String] ID of the job to retrieve.
|
3164
|
+
# Get Catalog Item
|
3165
|
+
# Get a specific catalog item with the given item ID.<br><br>*Rate limits*:<br>Burst: `350/s`<br>Steady: `3500/m` **Scopes:** `catalogs:read`
|
3166
|
+
# @param id [String] The catalog item ID is a compound ID (string), with format: `{integration}:::{catalog}:::{external_id}`. Currently, the only supported integration type is `$custom`, and the only supported catalog is `$default`.
|
3096
3167
|
# @param [Hash] opts the optional parameters
|
3097
|
-
# @option opts [Array<String>] :
|
3168
|
+
# @option opts [Array<String>] :fields_catalog_item For more information please visit https://developers.klaviyo.com/en/v2025-04-15/reference/api-overview#sparse-fieldsets
|
3169
|
+
# @option opts [Array<String>] :fields_catalog_variant For more information please visit https://developers.klaviyo.com/en/v2025-04-15/reference/api-overview#sparse-fieldsets
|
3170
|
+
# @option opts [Array<String>] :include For more information please visit https://developers.klaviyo.com/en/v2025-04-15/reference/api-overview#relationships
|
3098
3171
|
# @return [Hash<String, Object>]
|
3099
|
-
def
|
3100
|
-
data, _status_code, _headers =
|
3172
|
+
def get_catalog_item(id, opts = {})
|
3173
|
+
data, _status_code, _headers = get_catalog_item_with_http_info(id, opts)
|
3101
3174
|
data
|
3102
3175
|
end
|
3103
3176
|
|
3104
|
-
#
|
3105
|
-
|
3106
|
-
|
3107
|
-
# Get Delete Variants Job
|
3108
|
-
# Get a catalog variant bulk delete job with the given job ID.<br><br>*Rate limits*:<br>Burst: `350/s`<br>Steady: `3500/m` **Scopes:** `catalogs:read`
|
3109
|
-
# @param job_id [String] ID of the job to retrieve.
|
3177
|
+
# Get Catalog Item
|
3178
|
+
# Get a specific catalog item with the given item ID.<br><br>*Rate limits*:<br>Burst: `350/s`<br>Steady: `3500/m` **Scopes:** `catalogs:read`
|
3179
|
+
# @param id [String] The catalog item ID is a compound ID (string), with format: `{integration}:::{catalog}:::{external_id}`. Currently, the only supported integration type is `$custom`, and the only supported catalog is `$default`.
|
3110
3180
|
# @param [Hash] opts the optional parameters
|
3111
|
-
# @option opts [Array<String>] :
|
3181
|
+
# @option opts [Array<String>] :fields_catalog_item For more information please visit https://developers.klaviyo.com/en/v2025-04-15/reference/api-overview#sparse-fieldsets
|
3182
|
+
# @option opts [Array<String>] :fields_catalog_variant For more information please visit https://developers.klaviyo.com/en/v2025-04-15/reference/api-overview#sparse-fieldsets
|
3183
|
+
# @option opts [Array<String>] :include For more information please visit https://developers.klaviyo.com/en/v2025-04-15/reference/api-overview#relationships
|
3112
3184
|
# @return [Array<(Hash<String, Object>, Integer, Hash)>] Hash<String, Object> data, response status code and response headers
|
3113
|
-
def
|
3185
|
+
def get_catalog_item_with_http_info(id, opts = {})
|
3114
3186
|
if @api_client.config.debugging
|
3115
|
-
@api_client.config.logger.debug 'Calling API: CatalogsApi.
|
3187
|
+
@api_client.config.logger.debug 'Calling API: CatalogsApi.get_catalog_item ...'
|
3116
3188
|
end
|
3117
|
-
# verify the required parameter '
|
3118
|
-
if @api_client.config.client_side_validation &&
|
3119
|
-
fail ArgumentError, "Missing the required parameter '
|
3189
|
+
# verify the required parameter 'id' is set
|
3190
|
+
if @api_client.config.client_side_validation && id.nil?
|
3191
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling CatalogsApi.get_catalog_item"
|
3120
3192
|
end
|
3121
|
-
allowable_values = ["
|
3122
|
-
if @api_client.config.client_side_validation && opts[:'
|
3123
|
-
fail ArgumentError, "invalid value for \"
|
3193
|
+
allowable_values = ["external_id", "title", "description", "price", "url", "image_full_url", "image_thumbnail_url", "images", "custom_metadata", "published", "created", "updated"]
|
3194
|
+
if @api_client.config.client_side_validation && opts[:'fields_catalog_item'] && !opts[:'fields_catalog_item'].all? { |item| allowable_values.include?(item) }
|
3195
|
+
fail ArgumentError, "invalid value for \"fields_catalog_item\", must include one of #{allowable_values}"
|
3196
|
+
end
|
3197
|
+
allowable_values = ["external_id", "title", "description", "sku", "inventory_policy", "inventory_quantity", "price", "url", "image_full_url", "image_thumbnail_url", "images", "custom_metadata", "published", "created", "updated"]
|
3198
|
+
if @api_client.config.client_side_validation && opts[:'fields_catalog_variant'] && !opts[:'fields_catalog_variant'].all? { |item| allowable_values.include?(item) }
|
3199
|
+
fail ArgumentError, "invalid value for \"fields_catalog_variant\", must include one of #{allowable_values}"
|
3200
|
+
end
|
3201
|
+
allowable_values = ["variants"]
|
3202
|
+
if @api_client.config.client_side_validation && opts[:'include'] && !opts[:'include'].all? { |item| allowable_values.include?(item) }
|
3203
|
+
fail ArgumentError, "invalid value for \"include\", must include one of #{allowable_values}"
|
3124
3204
|
end
|
3125
3205
|
# resource path
|
3126
|
-
local_var_path = '/api/catalog-
|
3206
|
+
local_var_path = '/api/catalog-items/{id}'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
3127
3207
|
|
3128
3208
|
# query parameters
|
3129
3209
|
query_params = opts[:query_params] || {}
|
3130
|
-
query_params[:'fields[catalog-
|
3210
|
+
query_params[:'fields[catalog-item]'] = @api_client.build_collection_param(opts[:'fields_catalog_item'], :csv) if !opts[:'fields_catalog_item'].nil?
|
3211
|
+
query_params[:'fields[catalog-variant]'] = @api_client.build_collection_param(opts[:'fields_catalog_variant'], :csv) if !opts[:'fields_catalog_variant'].nil?
|
3212
|
+
query_params[:'include'] = @api_client.build_collection_param(opts[:'include'], :csv) if !opts[:'include'].nil?
|
3131
3213
|
|
3132
3214
|
# header parameters
|
3133
3215
|
header_params = opts[:header_params] || {}
|
3134
3216
|
# klaviyo api revision
|
3135
|
-
header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2025-
|
3217
|
+
header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2025-04-15"
|
3136
3218
|
# HTTP header 'Accept' (if needed)
|
3137
3219
|
header_params['Accept'] = @api_client.select_header_accept(['application/vnd.api+json'])
|
3138
3220
|
|
@@ -3149,7 +3231,7 @@ module KlaviyoAPI
|
|
3149
3231
|
auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key', 'OAuth']
|
3150
3232
|
|
3151
3233
|
new_options = opts.merge(
|
3152
|
-
:operation => :"CatalogsApi.
|
3234
|
+
:operation => :"CatalogsApi.get_catalog_item",
|
3153
3235
|
:header_params => header_params,
|
3154
3236
|
:query_params => query_params,
|
3155
3237
|
:form_params => form_params,
|
@@ -3160,57 +3242,72 @@ module KlaviyoAPI
|
|
3160
3242
|
|
3161
3243
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
3162
3244
|
if @api_client.config.debugging
|
3163
|
-
@api_client.config.logger.debug "API called: CatalogsApi#
|
3245
|
+
@api_client.config.logger.debug "API called: CatalogsApi#get_catalog_item\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
3164
3246
|
end
|
3165
3247
|
return data, status_code, headers
|
3166
3248
|
end
|
3167
3249
|
|
3168
|
-
#
|
3169
|
-
|
3170
|
-
|
3171
|
-
# Get Delete Variants Jobs
|
3172
|
-
# Get all catalog variant bulk delete jobs. Returns a maximum of 100 jobs per request.<br><br>*Rate limits*:<br>Burst: `350/s`<br>Steady: `3500/m` **Scopes:** `catalogs:read`
|
3250
|
+
# Get Catalog Items
|
3251
|
+
# Get all catalog items in an account. Catalog items can be sorted by the following fields, in ascending and descending order: `created` Currently, the only supported integration type is `$custom`, and the only supported catalog type is `$default`. Returns a maximum of 100 items per request.<br><br>*Rate limits*:<br>Burst: `350/s`<br>Steady: `3500/m` **Scopes:** `catalogs:read`
|
3173
3252
|
# @param [Hash] opts the optional parameters
|
3174
|
-
# @option opts [Array<String>] :
|
3175
|
-
# @option opts [String] :
|
3176
|
-
# @option opts [String] :
|
3253
|
+
# @option opts [Array<String>] :fields_catalog_item For more information please visit https://developers.klaviyo.com/en/v2025-04-15/reference/api-overview#sparse-fieldsets
|
3254
|
+
# @option opts [Array<String>] :fields_catalog_variant For more information please visit https://developers.klaviyo.com/en/v2025-04-15/reference/api-overview#sparse-fieldsets
|
3255
|
+
# @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2025-04-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`ids`: `any`<br>`category.id`: `equals`<br>`title`: `contains`<br>`published`: `equals`
|
3256
|
+
# @option opts [Array<String>] :include For more information please visit https://developers.klaviyo.com/en/v2025-04-15/reference/api-overview#relationships
|
3257
|
+
# @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2025-04-15/reference/api-overview#pagination
|
3258
|
+
# @option opts [String] :sort For more information please visit https://developers.klaviyo.com/en/v2025-04-15/reference/api-overview#sorting
|
3177
3259
|
# @return [Hash<String, Object>]
|
3178
|
-
def
|
3179
|
-
data, _status_code, _headers =
|
3260
|
+
def get_catalog_items(opts = {})
|
3261
|
+
data, _status_code, _headers = get_catalog_items_with_http_info(opts)
|
3180
3262
|
data
|
3181
3263
|
end
|
3182
3264
|
|
3183
|
-
#
|
3184
|
-
|
3185
|
-
|
3186
|
-
# Get Delete Variants Jobs
|
3187
|
-
# Get all catalog variant bulk delete jobs. Returns a maximum of 100 jobs per request.<br><br>*Rate limits*:<br>Burst: `350/s`<br>Steady: `3500/m` **Scopes:** `catalogs:read`
|
3265
|
+
# Get Catalog Items
|
3266
|
+
# Get all catalog items in an account. Catalog items can be sorted by the following fields, in ascending and descending order: `created` Currently, the only supported integration type is `$custom`, and the only supported catalog type is `$default`. Returns a maximum of 100 items per request.<br><br>*Rate limits*:<br>Burst: `350/s`<br>Steady: `3500/m` **Scopes:** `catalogs:read`
|
3188
3267
|
# @param [Hash] opts the optional parameters
|
3189
|
-
# @option opts [Array<String>] :
|
3190
|
-
# @option opts [String] :
|
3191
|
-
# @option opts [String] :
|
3268
|
+
# @option opts [Array<String>] :fields_catalog_item For more information please visit https://developers.klaviyo.com/en/v2025-04-15/reference/api-overview#sparse-fieldsets
|
3269
|
+
# @option opts [Array<String>] :fields_catalog_variant For more information please visit https://developers.klaviyo.com/en/v2025-04-15/reference/api-overview#sparse-fieldsets
|
3270
|
+
# @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2025-04-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`ids`: `any`<br>`category.id`: `equals`<br>`title`: `contains`<br>`published`: `equals`
|
3271
|
+
# @option opts [Array<String>] :include For more information please visit https://developers.klaviyo.com/en/v2025-04-15/reference/api-overview#relationships
|
3272
|
+
# @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2025-04-15/reference/api-overview#pagination
|
3273
|
+
# @option opts [String] :sort For more information please visit https://developers.klaviyo.com/en/v2025-04-15/reference/api-overview#sorting
|
3192
3274
|
# @return [Array<(Hash<String, Object>, Integer, Hash)>] Hash<String, Object> data, response status code and response headers
|
3193
|
-
def
|
3275
|
+
def get_catalog_items_with_http_info(opts = {})
|
3194
3276
|
if @api_client.config.debugging
|
3195
|
-
@api_client.config.logger.debug 'Calling API: CatalogsApi.
|
3277
|
+
@api_client.config.logger.debug 'Calling API: CatalogsApi.get_catalog_items ...'
|
3196
3278
|
end
|
3197
|
-
allowable_values = ["
|
3198
|
-
if @api_client.config.client_side_validation && opts[:'
|
3199
|
-
fail ArgumentError, "invalid value for \"
|
3279
|
+
allowable_values = ["external_id", "title", "description", "price", "url", "image_full_url", "image_thumbnail_url", "images", "custom_metadata", "published", "created", "updated"]
|
3280
|
+
if @api_client.config.client_side_validation && opts[:'fields_catalog_item'] && !opts[:'fields_catalog_item'].all? { |item| allowable_values.include?(item) }
|
3281
|
+
fail ArgumentError, "invalid value for \"fields_catalog_item\", must include one of #{allowable_values}"
|
3282
|
+
end
|
3283
|
+
allowable_values = ["external_id", "title", "description", "sku", "inventory_policy", "inventory_quantity", "price", "url", "image_full_url", "image_thumbnail_url", "images", "custom_metadata", "published", "created", "updated"]
|
3284
|
+
if @api_client.config.client_side_validation && opts[:'fields_catalog_variant'] && !opts[:'fields_catalog_variant'].all? { |item| allowable_values.include?(item) }
|
3285
|
+
fail ArgumentError, "invalid value for \"fields_catalog_variant\", must include one of #{allowable_values}"
|
3286
|
+
end
|
3287
|
+
allowable_values = ["variants"]
|
3288
|
+
if @api_client.config.client_side_validation && opts[:'include'] && !opts[:'include'].all? { |item| allowable_values.include?(item) }
|
3289
|
+
fail ArgumentError, "invalid value for \"include\", must include one of #{allowable_values}"
|
3290
|
+
end
|
3291
|
+
allowable_values = ["created", "-created"]
|
3292
|
+
if @api_client.config.client_side_validation && opts[:'sort'] && !allowable_values.include?(opts[:'sort'])
|
3293
|
+
fail ArgumentError, "invalid value for \"sort\", must be one of #{allowable_values}"
|
3200
3294
|
end
|
3201
3295
|
# resource path
|
3202
|
-
local_var_path = '/api/catalog-
|
3296
|
+
local_var_path = '/api/catalog-items'
|
3203
3297
|
|
3204
3298
|
# query parameters
|
3205
3299
|
query_params = opts[:query_params] || {}
|
3206
|
-
query_params[:'fields[catalog-
|
3300
|
+
query_params[:'fields[catalog-item]'] = @api_client.build_collection_param(opts[:'fields_catalog_item'], :csv) if !opts[:'fields_catalog_item'].nil?
|
3301
|
+
query_params[:'fields[catalog-variant]'] = @api_client.build_collection_param(opts[:'fields_catalog_variant'], :csv) if !opts[:'fields_catalog_variant'].nil?
|
3207
3302
|
query_params[:'filter'] = opts[:'filter'] if !opts[:'filter'].nil?
|
3303
|
+
query_params[:'include'] = @api_client.build_collection_param(opts[:'include'], :csv) if !opts[:'include'].nil?
|
3208
3304
|
query_params[:'page[cursor]'] = opts[:'page_cursor'] if !opts[:'page_cursor'].nil?
|
3305
|
+
query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
|
3209
3306
|
|
3210
3307
|
# header parameters
|
3211
3308
|
header_params = opts[:header_params] || {}
|
3212
3309
|
# klaviyo api revision
|
3213
|
-
header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2025-
|
3310
|
+
header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2025-04-15"
|
3214
3311
|
# HTTP header 'Accept' (if needed)
|
3215
3312
|
header_params['Accept'] = @api_client.select_header_accept(['application/vnd.api+json'])
|
3216
3313
|
|
@@ -3227,7 +3324,7 @@ module KlaviyoAPI
|
|
3227
3324
|
auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key', 'OAuth']
|
3228
3325
|
|
3229
3326
|
new_options = opts.merge(
|
3230
|
-
:operation => :"CatalogsApi.
|
3327
|
+
:operation => :"CatalogsApi.get_catalog_items",
|
3231
3328
|
:header_params => header_params,
|
3232
3329
|
:query_params => query_params,
|
3233
3330
|
:form_params => form_params,
|
@@ -3238,59 +3335,51 @@ module KlaviyoAPI
|
|
3238
3335
|
|
3239
3336
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
3240
3337
|
if @api_client.config.debugging
|
3241
|
-
@api_client.config.logger.debug "API called: CatalogsApi#
|
3338
|
+
@api_client.config.logger.debug "API called: CatalogsApi#get_catalog_items\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
3242
3339
|
end
|
3243
3340
|
return data, status_code, headers
|
3244
3341
|
end
|
3245
3342
|
|
3246
|
-
#
|
3247
|
-
|
3248
|
-
|
3249
|
-
# Get Item IDs for Catalog Category
|
3250
|
-
# Get all items in the given category ID. Returns a maximum of 100 items per request.<br><br>*Rate limits*:<br>Burst: `350/s`<br>Steady: `3500/m` **Scopes:** `catalogs:read`
|
3251
|
-
# @param id [String] The catalog category ID is a compound ID (string), with format: `{integration}:::{catalog}:::{external_id}`. Currently, the only supported integration type is `$custom`, and the only supported catalog is `$default`.
|
3343
|
+
# Get Catalog Variant
|
3344
|
+
# Get a catalog item variant with the given variant ID.<br><br>*Rate limits*:<br>Burst: `350/s`<br>Steady: `3500/m` **Scopes:** `catalogs:read`
|
3345
|
+
# @param id [String] The catalog variant ID is a compound ID (string), with format: `{integration}:::{catalog}:::{external_id}`. Currently, the only supported integration type is `$custom`, and the only supported catalog is `$default`.
|
3252
3346
|
# @param [Hash] opts the optional parameters
|
3253
|
-
# @option opts [String] :
|
3254
|
-
# @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2025-01-15/reference/api-overview#pagination
|
3255
|
-
# @option opts [String] :sort For more information please visit https://developers.klaviyo.com/en/v2025-01-15/reference/api-overview#sorting
|
3347
|
+
# @option opts [Array<String>] :fields_catalog_variant For more information please visit https://developers.klaviyo.com/en/v2025-04-15/reference/api-overview#sparse-fieldsets
|
3256
3348
|
# @return [Hash<String, Object>]
|
3257
|
-
def
|
3258
|
-
data, _status_code, _headers =
|
3349
|
+
def get_catalog_variant(id, opts = {})
|
3350
|
+
data, _status_code, _headers = get_catalog_variant_with_http_info(id, opts)
|
3259
3351
|
data
|
3260
3352
|
end
|
3261
3353
|
|
3262
|
-
#
|
3263
|
-
|
3264
|
-
|
3265
|
-
# Get Item IDs for Catalog Category
|
3266
|
-
# Get all items in the given category ID. Returns a maximum of 100 items per request.<br><br>*Rate limits*:<br>Burst: `350/s`<br>Steady: `3500/m` **Scopes:** `catalogs:read`
|
3267
|
-
# @param id [String] The catalog category ID is a compound ID (string), with format: `{integration}:::{catalog}:::{external_id}`. Currently, the only supported integration type is `$custom`, and the only supported catalog is `$default`.
|
3354
|
+
# Get Catalog Variant
|
3355
|
+
# Get a catalog item variant with the given variant ID.<br><br>*Rate limits*:<br>Burst: `350/s`<br>Steady: `3500/m` **Scopes:** `catalogs:read`
|
3356
|
+
# @param id [String] The catalog variant ID is a compound ID (string), with format: `{integration}:::{catalog}:::{external_id}`. Currently, the only supported integration type is `$custom`, and the only supported catalog is `$default`.
|
3268
3357
|
# @param [Hash] opts the optional parameters
|
3269
|
-
# @option opts [String] :
|
3270
|
-
# @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2025-01-15/reference/api-overview#pagination
|
3271
|
-
# @option opts [String] :sort For more information please visit https://developers.klaviyo.com/en/v2025-01-15/reference/api-overview#sorting
|
3358
|
+
# @option opts [Array<String>] :fields_catalog_variant For more information please visit https://developers.klaviyo.com/en/v2025-04-15/reference/api-overview#sparse-fieldsets
|
3272
3359
|
# @return [Array<(Hash<String, Object>, Integer, Hash)>] Hash<String, Object> data, response status code and response headers
|
3273
|
-
def
|
3360
|
+
def get_catalog_variant_with_http_info(id, opts = {})
|
3274
3361
|
if @api_client.config.debugging
|
3275
|
-
@api_client.config.logger.debug 'Calling API: CatalogsApi.
|
3362
|
+
@api_client.config.logger.debug 'Calling API: CatalogsApi.get_catalog_variant ...'
|
3276
3363
|
end
|
3277
|
-
|
3278
|
-
if @api_client.config.client_side_validation &&
|
3279
|
-
fail ArgumentError, "
|
3364
|
+
# verify the required parameter 'id' is set
|
3365
|
+
if @api_client.config.client_side_validation && id.nil?
|
3366
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling CatalogsApi.get_catalog_variant"
|
3367
|
+
end
|
3368
|
+
allowable_values = ["external_id", "title", "description", "sku", "inventory_policy", "inventory_quantity", "price", "url", "image_full_url", "image_thumbnail_url", "images", "custom_metadata", "published", "created", "updated"]
|
3369
|
+
if @api_client.config.client_side_validation && opts[:'fields_catalog_variant'] && !opts[:'fields_catalog_variant'].all? { |item| allowable_values.include?(item) }
|
3370
|
+
fail ArgumentError, "invalid value for \"fields_catalog_variant\", must include one of #{allowable_values}"
|
3280
3371
|
end
|
3281
3372
|
# resource path
|
3282
|
-
local_var_path = '/api/catalog-
|
3373
|
+
local_var_path = '/api/catalog-variants/{id}'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
3283
3374
|
|
3284
3375
|
# query parameters
|
3285
3376
|
query_params = opts[:query_params] || {}
|
3286
|
-
query_params[:'
|
3287
|
-
query_params[:'page[cursor]'] = opts[:'page_cursor'] if !opts[:'page_cursor'].nil?
|
3288
|
-
query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
|
3377
|
+
query_params[:'fields[catalog-variant]'] = @api_client.build_collection_param(opts[:'fields_catalog_variant'], :csv) if !opts[:'fields_catalog_variant'].nil?
|
3289
3378
|
|
3290
3379
|
# header parameters
|
3291
3380
|
header_params = opts[:header_params] || {}
|
3292
3381
|
# klaviyo api revision
|
3293
|
-
header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2025-
|
3382
|
+
header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2025-04-15"
|
3294
3383
|
# HTTP header 'Accept' (if needed)
|
3295
3384
|
header_params['Accept'] = @api_client.select_header_accept(['application/vnd.api+json'])
|
3296
3385
|
|
@@ -3307,7 +3396,7 @@ module KlaviyoAPI
|
|
3307
3396
|
auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key', 'OAuth']
|
3308
3397
|
|
3309
3398
|
new_options = opts.merge(
|
3310
|
-
:operation => :"CatalogsApi.
|
3399
|
+
:operation => :"CatalogsApi.get_catalog_variant",
|
3311
3400
|
:header_params => header_params,
|
3312
3401
|
:query_params => query_params,
|
3313
3402
|
:form_params => form_params,
|
@@ -3318,80 +3407,58 @@ module KlaviyoAPI
|
|
3318
3407
|
|
3319
3408
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
3320
3409
|
if @api_client.config.debugging
|
3321
|
-
@api_client.config.logger.debug "API called: CatalogsApi#
|
3410
|
+
@api_client.config.logger.debug "API called: CatalogsApi#get_catalog_variant\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
3322
3411
|
end
|
3323
3412
|
return data, status_code, headers
|
3324
3413
|
end
|
3325
3414
|
|
3326
|
-
#
|
3327
|
-
|
3328
|
-
|
3329
|
-
# Get Items for Catalog Category
|
3330
|
-
# Get all items in a category with the given category ID. Items can be sorted by the following fields, in ascending and descending order: `created` Returns a maximum of 100 items per request.<br><br>*Rate limits*:<br>Burst: `350/s`<br>Steady: `3500/m` **Scopes:** `catalogs:read`
|
3331
|
-
# @param id [String] The catalog category ID is a compound ID (string), with format: `{integration}:::{catalog}:::{external_id}`. Currently, the only supported integration type is `$custom`, and the only supported catalog is `$default`.
|
3415
|
+
# Get Catalog Variants
|
3416
|
+
# Get all variants in an account. Variants can be sorted by the following fields, in ascending and descending order: `created` Currently, the only supported integration type is `$custom`, and the only supported catalog type is `$default`. Returns a maximum of 100 variants per request.<br><br>*Rate limits*:<br>Burst: `350/s`<br>Steady: `3500/m` **Scopes:** `catalogs:read`
|
3332
3417
|
# @param [Hash] opts the optional parameters
|
3333
|
-
# @option opts [Array<String>] :
|
3334
|
-
# @option opts [
|
3335
|
-
# @option opts [String] :
|
3336
|
-
# @option opts [
|
3337
|
-
# @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2025-01-15/reference/api-overview#pagination
|
3338
|
-
# @option opts [String] :sort For more information please visit https://developers.klaviyo.com/en/v2025-01-15/reference/api-overview#sorting
|
3418
|
+
# @option opts [Array<String>] :fields_catalog_variant For more information please visit https://developers.klaviyo.com/en/v2025-04-15/reference/api-overview#sparse-fieldsets
|
3419
|
+
# @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2025-04-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`ids`: `any`<br>`item.id`: `equals`<br>`sku`: `equals`<br>`title`: `contains`<br>`published`: `equals`
|
3420
|
+
# @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2025-04-15/reference/api-overview#pagination
|
3421
|
+
# @option opts [String] :sort For more information please visit https://developers.klaviyo.com/en/v2025-04-15/reference/api-overview#sorting
|
3339
3422
|
# @return [Hash<String, Object>]
|
3340
|
-
def
|
3341
|
-
data, _status_code, _headers =
|
3423
|
+
def get_catalog_variants(opts = {})
|
3424
|
+
data, _status_code, _headers = get_catalog_variants_with_http_info(opts)
|
3342
3425
|
data
|
3343
3426
|
end
|
3344
3427
|
|
3345
|
-
#
|
3346
|
-
|
3347
|
-
|
3348
|
-
# Get Items for Catalog Category
|
3349
|
-
# Get all items in a category with the given category ID. Items can be sorted by the following fields, in ascending and descending order: `created` Returns a maximum of 100 items per request.<br><br>*Rate limits*:<br>Burst: `350/s`<br>Steady: `3500/m` **Scopes:** `catalogs:read`
|
3350
|
-
# @param id [String] The catalog category ID is a compound ID (string), with format: `{integration}:::{catalog}:::{external_id}`. Currently, the only supported integration type is `$custom`, and the only supported catalog is `$default`.
|
3428
|
+
# Get Catalog Variants
|
3429
|
+
# Get all variants in an account. Variants can be sorted by the following fields, in ascending and descending order: `created` Currently, the only supported integration type is `$custom`, and the only supported catalog type is `$default`. Returns a maximum of 100 variants per request.<br><br>*Rate limits*:<br>Burst: `350/s`<br>Steady: `3500/m` **Scopes:** `catalogs:read`
|
3351
3430
|
# @param [Hash] opts the optional parameters
|
3352
|
-
# @option opts [Array<String>] :
|
3353
|
-
# @option opts [
|
3354
|
-
# @option opts [String] :
|
3355
|
-
# @option opts [
|
3356
|
-
# @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2025-01-15/reference/api-overview#pagination
|
3357
|
-
# @option opts [String] :sort For more information please visit https://developers.klaviyo.com/en/v2025-01-15/reference/api-overview#sorting
|
3431
|
+
# @option opts [Array<String>] :fields_catalog_variant For more information please visit https://developers.klaviyo.com/en/v2025-04-15/reference/api-overview#sparse-fieldsets
|
3432
|
+
# @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2025-04-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`ids`: `any`<br>`item.id`: `equals`<br>`sku`: `equals`<br>`title`: `contains`<br>`published`: `equals`
|
3433
|
+
# @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2025-04-15/reference/api-overview#pagination
|
3434
|
+
# @option opts [String] :sort For more information please visit https://developers.klaviyo.com/en/v2025-04-15/reference/api-overview#sorting
|
3358
3435
|
# @return [Array<(Hash<String, Object>, Integer, Hash)>] Hash<String, Object> data, response status code and response headers
|
3359
|
-
def
|
3436
|
+
def get_catalog_variants_with_http_info(opts = {})
|
3360
3437
|
if @api_client.config.debugging
|
3361
|
-
@api_client.config.logger.debug 'Calling API: CatalogsApi.
|
3362
|
-
end
|
3363
|
-
allowable_values = ["external_id", "title", "description", "price", "url", "image_full_url", "image_thumbnail_url", "images", "custom_metadata", "published", "created", "updated"]
|
3364
|
-
if @api_client.config.client_side_validation && opts[:'fields_catalog_item'] && !opts[:'fields_catalog_item'].all? { |item| allowable_values.include?(item) }
|
3365
|
-
fail ArgumentError, "invalid value for \"fields_catalog_item\", must include one of #{allowable_values}"
|
3438
|
+
@api_client.config.logger.debug 'Calling API: CatalogsApi.get_catalog_variants ...'
|
3366
3439
|
end
|
3367
3440
|
allowable_values = ["external_id", "title", "description", "sku", "inventory_policy", "inventory_quantity", "price", "url", "image_full_url", "image_thumbnail_url", "images", "custom_metadata", "published", "created", "updated"]
|
3368
3441
|
if @api_client.config.client_side_validation && opts[:'fields_catalog_variant'] && !opts[:'fields_catalog_variant'].all? { |item| allowable_values.include?(item) }
|
3369
3442
|
fail ArgumentError, "invalid value for \"fields_catalog_variant\", must include one of #{allowable_values}"
|
3370
3443
|
end
|
3371
|
-
allowable_values = ["variants"]
|
3372
|
-
if @api_client.config.client_side_validation && opts[:'include'] && !opts[:'include'].all? { |item| allowable_values.include?(item) }
|
3373
|
-
fail ArgumentError, "invalid value for \"include\", must include one of #{allowable_values}"
|
3374
|
-
end
|
3375
3444
|
allowable_values = ["created", "-created"]
|
3376
3445
|
if @api_client.config.client_side_validation && opts[:'sort'] && !allowable_values.include?(opts[:'sort'])
|
3377
3446
|
fail ArgumentError, "invalid value for \"sort\", must be one of #{allowable_values}"
|
3378
3447
|
end
|
3379
3448
|
# resource path
|
3380
|
-
local_var_path = '/api/catalog-
|
3449
|
+
local_var_path = '/api/catalog-variants'
|
3381
3450
|
|
3382
3451
|
# query parameters
|
3383
3452
|
query_params = opts[:query_params] || {}
|
3384
|
-
query_params[:'fields[catalog-item]'] = @api_client.build_collection_param(opts[:'fields_catalog_item'], :csv) if !opts[:'fields_catalog_item'].nil?
|
3385
3453
|
query_params[:'fields[catalog-variant]'] = @api_client.build_collection_param(opts[:'fields_catalog_variant'], :csv) if !opts[:'fields_catalog_variant'].nil?
|
3386
3454
|
query_params[:'filter'] = opts[:'filter'] if !opts[:'filter'].nil?
|
3387
|
-
query_params[:'include'] = @api_client.build_collection_param(opts[:'include'], :csv) if !opts[:'include'].nil?
|
3388
3455
|
query_params[:'page[cursor]'] = opts[:'page_cursor'] if !opts[:'page_cursor'].nil?
|
3389
3456
|
query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
|
3390
3457
|
|
3391
3458
|
# header parameters
|
3392
3459
|
header_params = opts[:header_params] || {}
|
3393
3460
|
# klaviyo api revision
|
3394
|
-
header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2025-
|
3461
|
+
header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2025-04-15"
|
3395
3462
|
# HTTP header 'Accept' (if needed)
|
3396
3463
|
header_params['Accept'] = @api_client.select_header_accept(['application/vnd.api+json'])
|
3397
3464
|
|
@@ -3408,7 +3475,7 @@ module KlaviyoAPI
|
|
3408
3475
|
auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key', 'OAuth']
|
3409
3476
|
|
3410
3477
|
new_options = opts.merge(
|
3411
|
-
:operation => :"CatalogsApi.
|
3478
|
+
:operation => :"CatalogsApi.get_catalog_variants",
|
3412
3479
|
:header_params => header_params,
|
3413
3480
|
:query_params => query_params,
|
3414
3481
|
:form_params => form_params,
|
@@ -3419,71 +3486,63 @@ module KlaviyoAPI
|
|
3419
3486
|
|
3420
3487
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
3421
3488
|
if @api_client.config.debugging
|
3422
|
-
@api_client.config.logger.debug "API called: CatalogsApi#
|
3489
|
+
@api_client.config.logger.debug "API called: CatalogsApi#get_catalog_variants\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
3423
3490
|
end
|
3424
3491
|
return data, status_code, headers
|
3425
3492
|
end
|
3426
3493
|
|
3427
|
-
#
|
3428
|
-
|
3429
|
-
|
3430
|
-
# Get Update Categories Job
|
3431
|
-
# Get a catalog category bulk update job with the given job ID. An `include` parameter can be provided to get the following related resource data: `categories`.<br><br>*Rate limits*:<br>Burst: `350/s`<br>Steady: `3500/m` **Scopes:** `catalogs:read`
|
3432
|
-
# @param job_id [String] ID of the job to retrieve.
|
3494
|
+
# Get Categories for Catalog Item
|
3495
|
+
# Get all catalog categories that an item with the given item ID is in. Catalog categories can be sorted by the following fields, in ascending and descending order: `created` Returns a maximum of 100 categories per request.<br><br>*Rate limits*:<br>Burst: `350/s`<br>Steady: `3500/m` **Scopes:** `catalogs:read`
|
3496
|
+
# @param id [String] The catalog item ID is a compound ID (string), with format: `{integration}:::{catalog}:::{external_id}`. Currently, the only supported integration type is `$custom`, and the only supported catalog is `$default`.
|
3433
3497
|
# @param [Hash] opts the optional parameters
|
3434
|
-
# @option opts [Array<String>] :
|
3435
|
-
# @option opts [
|
3436
|
-
# @option opts [
|
3498
|
+
# @option opts [Array<String>] :fields_catalog_category For more information please visit https://developers.klaviyo.com/en/v2025-04-15/reference/api-overview#sparse-fieldsets
|
3499
|
+
# @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2025-04-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`ids`: `any`<br>`item.id`: `equals`<br>`name`: `contains`
|
3500
|
+
# @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2025-04-15/reference/api-overview#pagination
|
3501
|
+
# @option opts [String] :sort For more information please visit https://developers.klaviyo.com/en/v2025-04-15/reference/api-overview#sorting
|
3437
3502
|
# @return [Hash<String, Object>]
|
3438
|
-
def
|
3439
|
-
data, _status_code, _headers =
|
3503
|
+
def get_categories_for_catalog_item(id, opts = {})
|
3504
|
+
data, _status_code, _headers = get_categories_for_catalog_item_with_http_info(id, opts)
|
3440
3505
|
data
|
3441
3506
|
end
|
3442
3507
|
|
3443
|
-
# alias of `
|
3444
|
-
alias
|
3508
|
+
# alias of `get_categories_for_catalog_item`
|
3509
|
+
alias get_catalog_item_categories get_categories_for_catalog_item
|
3445
3510
|
|
3446
|
-
# Get
|
3447
|
-
# Get
|
3448
|
-
# @param
|
3511
|
+
# Get Categories for Catalog Item
|
3512
|
+
# Get all catalog categories that an item with the given item ID is in. Catalog categories can be sorted by the following fields, in ascending and descending order: `created` Returns a maximum of 100 categories per request.<br><br>*Rate limits*:<br>Burst: `350/s`<br>Steady: `3500/m` **Scopes:** `catalogs:read`
|
3513
|
+
# @param id [String] The catalog item ID is a compound ID (string), with format: `{integration}:::{catalog}:::{external_id}`. Currently, the only supported integration type is `$custom`, and the only supported catalog is `$default`.
|
3449
3514
|
# @param [Hash] opts the optional parameters
|
3450
|
-
# @option opts [Array<String>] :
|
3451
|
-
# @option opts [
|
3452
|
-
# @option opts [
|
3515
|
+
# @option opts [Array<String>] :fields_catalog_category For more information please visit https://developers.klaviyo.com/en/v2025-04-15/reference/api-overview#sparse-fieldsets
|
3516
|
+
# @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2025-04-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`ids`: `any`<br>`item.id`: `equals`<br>`name`: `contains`
|
3517
|
+
# @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2025-04-15/reference/api-overview#pagination
|
3518
|
+
# @option opts [String] :sort For more information please visit https://developers.klaviyo.com/en/v2025-04-15/reference/api-overview#sorting
|
3453
3519
|
# @return [Array<(Hash<String, Object>, Integer, Hash)>] Hash<String, Object> data, response status code and response headers
|
3454
|
-
def
|
3520
|
+
def get_categories_for_catalog_item_with_http_info(id, opts = {})
|
3455
3521
|
if @api_client.config.debugging
|
3456
|
-
@api_client.config.logger.debug 'Calling API: CatalogsApi.
|
3457
|
-
end
|
3458
|
-
# verify the required parameter 'job_id' is set
|
3459
|
-
if @api_client.config.client_side_validation && job_id.nil?
|
3460
|
-
fail ArgumentError, "Missing the required parameter 'job_id' when calling CatalogsApi.get_update_categories_job"
|
3461
|
-
end
|
3462
|
-
allowable_values = ["status", "created_at", "total_count", "completed_count", "failed_count", "completed_at", "errors", "expires_at"]
|
3463
|
-
if @api_client.config.client_side_validation && opts[:'fields_catalog_category_bulk_update_job'] && !opts[:'fields_catalog_category_bulk_update_job'].all? { |item| allowable_values.include?(item) }
|
3464
|
-
fail ArgumentError, "invalid value for \"fields_catalog_category_bulk_update_job\", must include one of #{allowable_values}"
|
3522
|
+
@api_client.config.logger.debug 'Calling API: CatalogsApi.get_categories_for_catalog_item ...'
|
3465
3523
|
end
|
3466
3524
|
allowable_values = ["external_id", "name", "updated"]
|
3467
3525
|
if @api_client.config.client_side_validation && opts[:'fields_catalog_category'] && !opts[:'fields_catalog_category'].all? { |item| allowable_values.include?(item) }
|
3468
3526
|
fail ArgumentError, "invalid value for \"fields_catalog_category\", must include one of #{allowable_values}"
|
3469
3527
|
end
|
3470
|
-
allowable_values = ["
|
3471
|
-
if @api_client.config.client_side_validation && opts[:'
|
3472
|
-
fail ArgumentError, "invalid value for \"
|
3528
|
+
allowable_values = ["created", "-created"]
|
3529
|
+
if @api_client.config.client_side_validation && opts[:'sort'] && !allowable_values.include?(opts[:'sort'])
|
3530
|
+
fail ArgumentError, "invalid value for \"sort\", must be one of #{allowable_values}"
|
3473
3531
|
end
|
3474
3532
|
# resource path
|
3475
|
-
local_var_path = '/api/catalog-
|
3533
|
+
local_var_path = '/api/catalog-items/{id}/categories'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
3476
3534
|
|
3477
3535
|
# query parameters
|
3478
3536
|
query_params = opts[:query_params] || {}
|
3479
|
-
query_params[:'fields[catalog-category-bulk-update-job]'] = @api_client.build_collection_param(opts[:'fields_catalog_category_bulk_update_job'], :csv) if !opts[:'fields_catalog_category_bulk_update_job'].nil?
|
3480
3537
|
query_params[:'fields[catalog-category]'] = @api_client.build_collection_param(opts[:'fields_catalog_category'], :csv) if !opts[:'fields_catalog_category'].nil?
|
3481
|
-
query_params[:'
|
3538
|
+
query_params[:'filter'] = opts[:'filter'] if !opts[:'filter'].nil?
|
3539
|
+
query_params[:'page[cursor]'] = opts[:'page_cursor'] if !opts[:'page_cursor'].nil?
|
3540
|
+
query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
|
3482
3541
|
|
3483
3542
|
# header parameters
|
3484
3543
|
header_params = opts[:header_params] || {}
|
3485
3544
|
# klaviyo api revision
|
3486
|
-
header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2025-
|
3545
|
+
header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2025-04-15"
|
3487
3546
|
# HTTP header 'Accept' (if needed)
|
3488
3547
|
header_params['Accept'] = @api_client.select_header_accept(['application/vnd.api+json'])
|
3489
3548
|
|
@@ -3500,7 +3559,7 @@ module KlaviyoAPI
|
|
3500
3559
|
auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key', 'OAuth']
|
3501
3560
|
|
3502
3561
|
new_options = opts.merge(
|
3503
|
-
:operation => :"CatalogsApi.
|
3562
|
+
:operation => :"CatalogsApi.get_categories_for_catalog_item",
|
3504
3563
|
:header_params => header_params,
|
3505
3564
|
:query_params => query_params,
|
3506
3565
|
:form_params => form_params,
|
@@ -3511,57 +3570,59 @@ module KlaviyoAPI
|
|
3511
3570
|
|
3512
3571
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
3513
3572
|
if @api_client.config.debugging
|
3514
|
-
@api_client.config.logger.debug "API called: CatalogsApi#
|
3573
|
+
@api_client.config.logger.debug "API called: CatalogsApi#get_categories_for_catalog_item\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
3515
3574
|
end
|
3516
3575
|
return data, status_code, headers
|
3517
3576
|
end
|
3518
3577
|
|
3519
|
-
# alias of `
|
3520
|
-
alias
|
3578
|
+
# alias of `get_categories_for_catalog_item_with_http_info`
|
3579
|
+
alias get_catalog_item_categories_with_http_info get_categories_for_catalog_item_with_http_info
|
3521
3580
|
|
3522
|
-
# Get
|
3523
|
-
# Get all catalog
|
3581
|
+
# Get Category IDs for Catalog Item
|
3582
|
+
# Get all catalog categories that a particular item is in. Returns a maximum of 100 categories per request.<br><br>*Rate limits*:<br>Burst: `350/s`<br>Steady: `3500/m` **Scopes:** `catalogs:read`
|
3583
|
+
# @param id [String] The catalog item ID is a compound ID (string), with format: `{integration}:::{catalog}:::{external_id}`. Currently, the only supported integration type is `$custom`, and the only supported catalog is `$default`.
|
3524
3584
|
# @param [Hash] opts the optional parameters
|
3525
|
-
# @option opts [
|
3526
|
-
# @option opts [String] :
|
3527
|
-
# @option opts [String] :
|
3585
|
+
# @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2025-04-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`ids`: `any`<br>`item.id`: `equals`<br>`name`: `contains`
|
3586
|
+
# @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2025-04-15/reference/api-overview#pagination
|
3587
|
+
# @option opts [String] :sort For more information please visit https://developers.klaviyo.com/en/v2025-04-15/reference/api-overview#sorting
|
3528
3588
|
# @return [Hash<String, Object>]
|
3529
|
-
def
|
3530
|
-
data, _status_code, _headers =
|
3589
|
+
def get_category_ids_for_catalog_item(id, opts = {})
|
3590
|
+
data, _status_code, _headers = get_category_ids_for_catalog_item_with_http_info(id, opts)
|
3531
3591
|
data
|
3532
3592
|
end
|
3533
3593
|
|
3534
|
-
# alias of `
|
3535
|
-
alias
|
3594
|
+
# alias of `get_category_ids_for_catalog_item`
|
3595
|
+
alias get_catalog_item_relationships_categories get_category_ids_for_catalog_item
|
3536
3596
|
|
3537
|
-
# Get
|
3538
|
-
# Get all catalog
|
3597
|
+
# Get Category IDs for Catalog Item
|
3598
|
+
# Get all catalog categories that a particular item is in. Returns a maximum of 100 categories per request.<br><br>*Rate limits*:<br>Burst: `350/s`<br>Steady: `3500/m` **Scopes:** `catalogs:read`
|
3599
|
+
# @param id [String] The catalog item ID is a compound ID (string), with format: `{integration}:::{catalog}:::{external_id}`. Currently, the only supported integration type is `$custom`, and the only supported catalog is `$default`.
|
3539
3600
|
# @param [Hash] opts the optional parameters
|
3540
|
-
# @option opts [
|
3541
|
-
# @option opts [String] :
|
3542
|
-
# @option opts [String] :
|
3601
|
+
# @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2025-04-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`ids`: `any`<br>`item.id`: `equals`<br>`name`: `contains`
|
3602
|
+
# @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2025-04-15/reference/api-overview#pagination
|
3603
|
+
# @option opts [String] :sort For more information please visit https://developers.klaviyo.com/en/v2025-04-15/reference/api-overview#sorting
|
3543
3604
|
# @return [Array<(Hash<String, Object>, Integer, Hash)>] Hash<String, Object> data, response status code and response headers
|
3544
|
-
def
|
3605
|
+
def get_category_ids_for_catalog_item_with_http_info(id, opts = {})
|
3545
3606
|
if @api_client.config.debugging
|
3546
|
-
@api_client.config.logger.debug 'Calling API: CatalogsApi.
|
3607
|
+
@api_client.config.logger.debug 'Calling API: CatalogsApi.get_category_ids_for_catalog_item ...'
|
3547
3608
|
end
|
3548
|
-
allowable_values = ["
|
3549
|
-
if @api_client.config.client_side_validation && opts[:'
|
3550
|
-
fail ArgumentError, "invalid value for \"
|
3609
|
+
allowable_values = ["created", "-created"]
|
3610
|
+
if @api_client.config.client_side_validation && opts[:'sort'] && !allowable_values.include?(opts[:'sort'])
|
3611
|
+
fail ArgumentError, "invalid value for \"sort\", must be one of #{allowable_values}"
|
3551
3612
|
end
|
3552
3613
|
# resource path
|
3553
|
-
local_var_path = '/api/catalog-
|
3614
|
+
local_var_path = '/api/catalog-items/{id}/relationships/categories'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
3554
3615
|
|
3555
3616
|
# query parameters
|
3556
3617
|
query_params = opts[:query_params] || {}
|
3557
|
-
query_params[:'fields[catalog-category-bulk-update-job]'] = @api_client.build_collection_param(opts[:'fields_catalog_category_bulk_update_job'], :csv) if !opts[:'fields_catalog_category_bulk_update_job'].nil?
|
3558
3618
|
query_params[:'filter'] = opts[:'filter'] if !opts[:'filter'].nil?
|
3559
3619
|
query_params[:'page[cursor]'] = opts[:'page_cursor'] if !opts[:'page_cursor'].nil?
|
3620
|
+
query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
|
3560
3621
|
|
3561
3622
|
# header parameters
|
3562
3623
|
header_params = opts[:header_params] || {}
|
3563
3624
|
# klaviyo api revision
|
3564
|
-
header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2025-
|
3625
|
+
header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2025-04-15"
|
3565
3626
|
# HTTP header 'Accept' (if needed)
|
3566
3627
|
header_params['Accept'] = @api_client.select_header_accept(['application/vnd.api+json'])
|
3567
3628
|
|
@@ -3578,7 +3639,7 @@ module KlaviyoAPI
|
|
3578
3639
|
auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key', 'OAuth']
|
3579
3640
|
|
3580
3641
|
new_options = opts.merge(
|
3581
|
-
:operation => :"CatalogsApi.
|
3642
|
+
:operation => :"CatalogsApi.get_category_ids_for_catalog_item",
|
3582
3643
|
:header_params => header_params,
|
3583
3644
|
:query_params => query_params,
|
3584
3645
|
:form_params => form_params,
|
@@ -3589,71 +3650,59 @@ module KlaviyoAPI
|
|
3589
3650
|
|
3590
3651
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
3591
3652
|
if @api_client.config.debugging
|
3592
|
-
@api_client.config.logger.debug "API called: CatalogsApi#
|
3653
|
+
@api_client.config.logger.debug "API called: CatalogsApi#get_category_ids_for_catalog_item\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
3593
3654
|
end
|
3594
3655
|
return data, status_code, headers
|
3595
3656
|
end
|
3596
3657
|
|
3597
|
-
# alias of `
|
3598
|
-
alias
|
3658
|
+
# alias of `get_category_ids_for_catalog_item_with_http_info`
|
3659
|
+
alias get_catalog_item_relationships_categories_with_http_info get_category_ids_for_catalog_item_with_http_info
|
3599
3660
|
|
3600
|
-
# Get
|
3601
|
-
# Get
|
3602
|
-
# @param
|
3661
|
+
# Get Item IDs for Catalog Category
|
3662
|
+
# Get all items in the given category ID. Returns a maximum of 100 items per request.<br><br>*Rate limits*:<br>Burst: `350/s`<br>Steady: `3500/m` **Scopes:** `catalogs:read`
|
3663
|
+
# @param id [String] The catalog category ID is a compound ID (string), with format: `{integration}:::{catalog}:::{external_id}`. Currently, the only supported integration type is `$custom`, and the only supported catalog is `$default`.
|
3603
3664
|
# @param [Hash] opts the optional parameters
|
3604
|
-
# @option opts [
|
3605
|
-
# @option opts [
|
3606
|
-
# @option opts [
|
3665
|
+
# @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2025-04-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`ids`: `any`<br>`category.id`: `equals`<br>`title`: `contains`<br>`published`: `equals`
|
3666
|
+
# @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2025-04-15/reference/api-overview#pagination
|
3667
|
+
# @option opts [String] :sort For more information please visit https://developers.klaviyo.com/en/v2025-04-15/reference/api-overview#sorting
|
3607
3668
|
# @return [Hash<String, Object>]
|
3608
|
-
def
|
3609
|
-
data, _status_code, _headers =
|
3669
|
+
def get_item_ids_for_catalog_category(id, opts = {})
|
3670
|
+
data, _status_code, _headers = get_item_ids_for_catalog_category_with_http_info(id, opts)
|
3610
3671
|
data
|
3611
3672
|
end
|
3612
3673
|
|
3613
|
-
# alias of `
|
3614
|
-
alias
|
3674
|
+
# alias of `get_item_ids_for_catalog_category`
|
3675
|
+
alias get_catalog_category_relationships_items get_item_ids_for_catalog_category
|
3615
3676
|
|
3616
|
-
# Get
|
3617
|
-
# Get
|
3618
|
-
# @param
|
3677
|
+
# Get Item IDs for Catalog Category
|
3678
|
+
# Get all items in the given category ID. Returns a maximum of 100 items per request.<br><br>*Rate limits*:<br>Burst: `350/s`<br>Steady: `3500/m` **Scopes:** `catalogs:read`
|
3679
|
+
# @param id [String] The catalog category ID is a compound ID (string), with format: `{integration}:::{catalog}:::{external_id}`. Currently, the only supported integration type is `$custom`, and the only supported catalog is `$default`.
|
3619
3680
|
# @param [Hash] opts the optional parameters
|
3620
|
-
# @option opts [
|
3621
|
-
# @option opts [
|
3622
|
-
# @option opts [
|
3681
|
+
# @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2025-04-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`ids`: `any`<br>`category.id`: `equals`<br>`title`: `contains`<br>`published`: `equals`
|
3682
|
+
# @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2025-04-15/reference/api-overview#pagination
|
3683
|
+
# @option opts [String] :sort For more information please visit https://developers.klaviyo.com/en/v2025-04-15/reference/api-overview#sorting
|
3623
3684
|
# @return [Array<(Hash<String, Object>, Integer, Hash)>] Hash<String, Object> data, response status code and response headers
|
3624
|
-
def
|
3685
|
+
def get_item_ids_for_catalog_category_with_http_info(id, opts = {})
|
3625
3686
|
if @api_client.config.debugging
|
3626
|
-
@api_client.config.logger.debug 'Calling API: CatalogsApi.
|
3627
|
-
end
|
3628
|
-
# verify the required parameter 'job_id' is set
|
3629
|
-
if @api_client.config.client_side_validation && job_id.nil?
|
3630
|
-
fail ArgumentError, "Missing the required parameter 'job_id' when calling CatalogsApi.get_update_variants_job"
|
3631
|
-
end
|
3632
|
-
allowable_values = ["status", "created_at", "total_count", "completed_count", "failed_count", "completed_at", "errors", "expires_at"]
|
3633
|
-
if @api_client.config.client_side_validation && opts[:'fields_catalog_variant_bulk_update_job'] && !opts[:'fields_catalog_variant_bulk_update_job'].all? { |item| allowable_values.include?(item) }
|
3634
|
-
fail ArgumentError, "invalid value for \"fields_catalog_variant_bulk_update_job\", must include one of #{allowable_values}"
|
3635
|
-
end
|
3636
|
-
allowable_values = ["external_id", "title", "description", "sku", "inventory_policy", "inventory_quantity", "price", "url", "image_full_url", "image_thumbnail_url", "images", "custom_metadata", "published", "created", "updated"]
|
3637
|
-
if @api_client.config.client_side_validation && opts[:'fields_catalog_variant'] && !opts[:'fields_catalog_variant'].all? { |item| allowable_values.include?(item) }
|
3638
|
-
fail ArgumentError, "invalid value for \"fields_catalog_variant\", must include one of #{allowable_values}"
|
3687
|
+
@api_client.config.logger.debug 'Calling API: CatalogsApi.get_item_ids_for_catalog_category ...'
|
3639
3688
|
end
|
3640
|
-
allowable_values = ["
|
3641
|
-
if @api_client.config.client_side_validation && opts[:'
|
3642
|
-
fail ArgumentError, "invalid value for \"
|
3689
|
+
allowable_values = ["created", "-created"]
|
3690
|
+
if @api_client.config.client_side_validation && opts[:'sort'] && !allowable_values.include?(opts[:'sort'])
|
3691
|
+
fail ArgumentError, "invalid value for \"sort\", must be one of #{allowable_values}"
|
3643
3692
|
end
|
3644
3693
|
# resource path
|
3645
|
-
local_var_path = '/api/catalog-
|
3694
|
+
local_var_path = '/api/catalog-categories/{id}/relationships/items'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
3646
3695
|
|
3647
3696
|
# query parameters
|
3648
3697
|
query_params = opts[:query_params] || {}
|
3649
|
-
query_params[:'
|
3650
|
-
query_params[:'
|
3651
|
-
query_params[:'
|
3698
|
+
query_params[:'filter'] = opts[:'filter'] if !opts[:'filter'].nil?
|
3699
|
+
query_params[:'page[cursor]'] = opts[:'page_cursor'] if !opts[:'page_cursor'].nil?
|
3700
|
+
query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
|
3652
3701
|
|
3653
3702
|
# header parameters
|
3654
3703
|
header_params = opts[:header_params] || {}
|
3655
3704
|
# klaviyo api revision
|
3656
|
-
header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2025-
|
3705
|
+
header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2025-04-15"
|
3657
3706
|
# HTTP header 'Accept' (if needed)
|
3658
3707
|
header_params['Accept'] = @api_client.select_header_accept(['application/vnd.api+json'])
|
3659
3708
|
|
@@ -3670,7 +3719,7 @@ module KlaviyoAPI
|
|
3670
3719
|
auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key', 'OAuth']
|
3671
3720
|
|
3672
3721
|
new_options = opts.merge(
|
3673
|
-
:operation => :"CatalogsApi.
|
3722
|
+
:operation => :"CatalogsApi.get_item_ids_for_catalog_category",
|
3674
3723
|
:header_params => header_params,
|
3675
3724
|
:query_params => query_params,
|
3676
3725
|
:form_params => form_params,
|
@@ -3681,57 +3730,80 @@ module KlaviyoAPI
|
|
3681
3730
|
|
3682
3731
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
3683
3732
|
if @api_client.config.debugging
|
3684
|
-
@api_client.config.logger.debug "API called: CatalogsApi#
|
3733
|
+
@api_client.config.logger.debug "API called: CatalogsApi#get_item_ids_for_catalog_category\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
3685
3734
|
end
|
3686
3735
|
return data, status_code, headers
|
3687
3736
|
end
|
3688
3737
|
|
3689
|
-
# alias of `
|
3690
|
-
alias
|
3738
|
+
# alias of `get_item_ids_for_catalog_category_with_http_info`
|
3739
|
+
alias get_catalog_category_relationships_items_with_http_info get_item_ids_for_catalog_category_with_http_info
|
3691
3740
|
|
3692
|
-
# Get
|
3693
|
-
# Get all
|
3741
|
+
# Get Items for Catalog Category
|
3742
|
+
# Get all items in a category with the given category ID. Items can be sorted by the following fields, in ascending and descending order: `created` Returns a maximum of 100 items per request.<br><br>*Rate limits*:<br>Burst: `350/s`<br>Steady: `3500/m` **Scopes:** `catalogs:read`
|
3743
|
+
# @param id [String] The catalog category ID is a compound ID (string), with format: `{integration}:::{catalog}:::{external_id}`. Currently, the only supported integration type is `$custom`, and the only supported catalog is `$default`.
|
3694
3744
|
# @param [Hash] opts the optional parameters
|
3695
|
-
# @option opts [Array<String>] :
|
3696
|
-
# @option opts [String] :
|
3697
|
-
# @option opts [String] :
|
3745
|
+
# @option opts [Array<String>] :fields_catalog_item For more information please visit https://developers.klaviyo.com/en/v2025-04-15/reference/api-overview#sparse-fieldsets
|
3746
|
+
# @option opts [Array<String>] :fields_catalog_variant For more information please visit https://developers.klaviyo.com/en/v2025-04-15/reference/api-overview#sparse-fieldsets
|
3747
|
+
# @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2025-04-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`ids`: `any`<br>`category.id`: `equals`<br>`title`: `contains`<br>`published`: `equals`
|
3748
|
+
# @option opts [Array<String>] :include For more information please visit https://developers.klaviyo.com/en/v2025-04-15/reference/api-overview#relationships
|
3749
|
+
# @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2025-04-15/reference/api-overview#pagination
|
3750
|
+
# @option opts [String] :sort For more information please visit https://developers.klaviyo.com/en/v2025-04-15/reference/api-overview#sorting
|
3698
3751
|
# @return [Hash<String, Object>]
|
3699
|
-
def
|
3700
|
-
data, _status_code, _headers =
|
3752
|
+
def get_items_for_catalog_category(id, opts = {})
|
3753
|
+
data, _status_code, _headers = get_items_for_catalog_category_with_http_info(id, opts)
|
3701
3754
|
data
|
3702
3755
|
end
|
3703
3756
|
|
3704
|
-
# alias of `
|
3705
|
-
alias
|
3757
|
+
# alias of `get_items_for_catalog_category`
|
3758
|
+
alias get_catalog_category_items get_items_for_catalog_category
|
3706
3759
|
|
3707
|
-
# Get
|
3708
|
-
# Get all
|
3760
|
+
# Get Items for Catalog Category
|
3761
|
+
# Get all items in a category with the given category ID. Items can be sorted by the following fields, in ascending and descending order: `created` Returns a maximum of 100 items per request.<br><br>*Rate limits*:<br>Burst: `350/s`<br>Steady: `3500/m` **Scopes:** `catalogs:read`
|
3762
|
+
# @param id [String] The catalog category ID is a compound ID (string), with format: `{integration}:::{catalog}:::{external_id}`. Currently, the only supported integration type is `$custom`, and the only supported catalog is `$default`.
|
3709
3763
|
# @param [Hash] opts the optional parameters
|
3710
|
-
# @option opts [Array<String>] :
|
3711
|
-
# @option opts [String] :
|
3712
|
-
# @option opts [String] :
|
3764
|
+
# @option opts [Array<String>] :fields_catalog_item For more information please visit https://developers.klaviyo.com/en/v2025-04-15/reference/api-overview#sparse-fieldsets
|
3765
|
+
# @option opts [Array<String>] :fields_catalog_variant For more information please visit https://developers.klaviyo.com/en/v2025-04-15/reference/api-overview#sparse-fieldsets
|
3766
|
+
# @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2025-04-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`ids`: `any`<br>`category.id`: `equals`<br>`title`: `contains`<br>`published`: `equals`
|
3767
|
+
# @option opts [Array<String>] :include For more information please visit https://developers.klaviyo.com/en/v2025-04-15/reference/api-overview#relationships
|
3768
|
+
# @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2025-04-15/reference/api-overview#pagination
|
3769
|
+
# @option opts [String] :sort For more information please visit https://developers.klaviyo.com/en/v2025-04-15/reference/api-overview#sorting
|
3713
3770
|
# @return [Array<(Hash<String, Object>, Integer, Hash)>] Hash<String, Object> data, response status code and response headers
|
3714
|
-
def
|
3771
|
+
def get_items_for_catalog_category_with_http_info(id, opts = {})
|
3715
3772
|
if @api_client.config.debugging
|
3716
|
-
@api_client.config.logger.debug 'Calling API: CatalogsApi.
|
3773
|
+
@api_client.config.logger.debug 'Calling API: CatalogsApi.get_items_for_catalog_category ...'
|
3717
3774
|
end
|
3718
|
-
allowable_values = ["
|
3719
|
-
if @api_client.config.client_side_validation && opts[:'
|
3720
|
-
fail ArgumentError, "invalid value for \"
|
3775
|
+
allowable_values = ["external_id", "title", "description", "price", "url", "image_full_url", "image_thumbnail_url", "images", "custom_metadata", "published", "created", "updated"]
|
3776
|
+
if @api_client.config.client_side_validation && opts[:'fields_catalog_item'] && !opts[:'fields_catalog_item'].all? { |item| allowable_values.include?(item) }
|
3777
|
+
fail ArgumentError, "invalid value for \"fields_catalog_item\", must include one of #{allowable_values}"
|
3778
|
+
end
|
3779
|
+
allowable_values = ["external_id", "title", "description", "sku", "inventory_policy", "inventory_quantity", "price", "url", "image_full_url", "image_thumbnail_url", "images", "custom_metadata", "published", "created", "updated"]
|
3780
|
+
if @api_client.config.client_side_validation && opts[:'fields_catalog_variant'] && !opts[:'fields_catalog_variant'].all? { |item| allowable_values.include?(item) }
|
3781
|
+
fail ArgumentError, "invalid value for \"fields_catalog_variant\", must include one of #{allowable_values}"
|
3782
|
+
end
|
3783
|
+
allowable_values = ["variants"]
|
3784
|
+
if @api_client.config.client_side_validation && opts[:'include'] && !opts[:'include'].all? { |item| allowable_values.include?(item) }
|
3785
|
+
fail ArgumentError, "invalid value for \"include\", must include one of #{allowable_values}"
|
3786
|
+
end
|
3787
|
+
allowable_values = ["created", "-created"]
|
3788
|
+
if @api_client.config.client_side_validation && opts[:'sort'] && !allowable_values.include?(opts[:'sort'])
|
3789
|
+
fail ArgumentError, "invalid value for \"sort\", must be one of #{allowable_values}"
|
3721
3790
|
end
|
3722
3791
|
# resource path
|
3723
|
-
local_var_path = '/api/catalog-
|
3792
|
+
local_var_path = '/api/catalog-categories/{id}/items'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
3724
3793
|
|
3725
3794
|
# query parameters
|
3726
3795
|
query_params = opts[:query_params] || {}
|
3727
|
-
query_params[:'fields[catalog-
|
3796
|
+
query_params[:'fields[catalog-item]'] = @api_client.build_collection_param(opts[:'fields_catalog_item'], :csv) if !opts[:'fields_catalog_item'].nil?
|
3797
|
+
query_params[:'fields[catalog-variant]'] = @api_client.build_collection_param(opts[:'fields_catalog_variant'], :csv) if !opts[:'fields_catalog_variant'].nil?
|
3728
3798
|
query_params[:'filter'] = opts[:'filter'] if !opts[:'filter'].nil?
|
3799
|
+
query_params[:'include'] = @api_client.build_collection_param(opts[:'include'], :csv) if !opts[:'include'].nil?
|
3729
3800
|
query_params[:'page[cursor]'] = opts[:'page_cursor'] if !opts[:'page_cursor'].nil?
|
3801
|
+
query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
|
3730
3802
|
|
3731
3803
|
# header parameters
|
3732
3804
|
header_params = opts[:header_params] || {}
|
3733
3805
|
# klaviyo api revision
|
3734
|
-
header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2025-
|
3806
|
+
header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2025-04-15"
|
3735
3807
|
# HTTP header 'Accept' (if needed)
|
3736
3808
|
header_params['Accept'] = @api_client.select_header_accept(['application/vnd.api+json'])
|
3737
3809
|
|
@@ -3748,7 +3820,7 @@ module KlaviyoAPI
|
|
3748
3820
|
auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key', 'OAuth']
|
3749
3821
|
|
3750
3822
|
new_options = opts.merge(
|
3751
|
-
:operation => :"CatalogsApi.
|
3823
|
+
:operation => :"CatalogsApi.get_items_for_catalog_category",
|
3752
3824
|
:header_params => header_params,
|
3753
3825
|
:query_params => query_params,
|
3754
3826
|
:form_params => form_params,
|
@@ -3759,21 +3831,21 @@ module KlaviyoAPI
|
|
3759
3831
|
|
3760
3832
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
3761
3833
|
if @api_client.config.debugging
|
3762
|
-
@api_client.config.logger.debug "API called: CatalogsApi#
|
3834
|
+
@api_client.config.logger.debug "API called: CatalogsApi#get_items_for_catalog_category\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
3763
3835
|
end
|
3764
3836
|
return data, status_code, headers
|
3765
3837
|
end
|
3766
3838
|
|
3767
|
-
# alias of `
|
3768
|
-
alias
|
3839
|
+
# alias of `get_items_for_catalog_category_with_http_info`
|
3840
|
+
alias get_catalog_category_items_with_http_info get_items_for_catalog_category_with_http_info
|
3769
3841
|
|
3770
3842
|
# Get Variant IDs for Catalog Item
|
3771
3843
|
# Get all variants related to the given item ID. Variants can be sorted by the following fields, in ascending and descending order: `created` Returns a maximum of 100 variants per request.<br><br>*Rate limits*:<br>Burst: `350/s`<br>Steady: `3500/m` **Scopes:** `catalogs:read`
|
3772
3844
|
# @param id [String] The catalog item ID is a compound ID (string), with format: `{integration}:::{catalog}:::{external_id}`. Currently, the only supported integration type is `$custom`, and the only supported catalog is `$default`.
|
3773
3845
|
# @param [Hash] opts the optional parameters
|
3774
|
-
# @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2025-
|
3775
|
-
# @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2025-
|
3776
|
-
# @option opts [String] :sort For more information please visit https://developers.klaviyo.com/en/v2025-
|
3846
|
+
# @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2025-04-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`ids`: `any`<br>`item.id`: `equals`<br>`sku`: `equals`<br>`title`: `contains`<br>`published`: `equals`
|
3847
|
+
# @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2025-04-15/reference/api-overview#pagination
|
3848
|
+
# @option opts [String] :sort For more information please visit https://developers.klaviyo.com/en/v2025-04-15/reference/api-overview#sorting
|
3777
3849
|
# @return [Hash<String, Object>]
|
3778
3850
|
def get_variant_ids_for_catalog_item(id, opts = {})
|
3779
3851
|
data, _status_code, _headers = get_variant_ids_for_catalog_item_with_http_info(id, opts)
|
@@ -3787,9 +3859,9 @@ module KlaviyoAPI
|
|
3787
3859
|
# Get all variants related to the given item ID. Variants can be sorted by the following fields, in ascending and descending order: `created` Returns a maximum of 100 variants per request.<br><br>*Rate limits*:<br>Burst: `350/s`<br>Steady: `3500/m` **Scopes:** `catalogs:read`
|
3788
3860
|
# @param id [String] The catalog item ID is a compound ID (string), with format: `{integration}:::{catalog}:::{external_id}`. Currently, the only supported integration type is `$custom`, and the only supported catalog is `$default`.
|
3789
3861
|
# @param [Hash] opts the optional parameters
|
3790
|
-
# @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2025-
|
3791
|
-
# @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2025-
|
3792
|
-
# @option opts [String] :sort For more information please visit https://developers.klaviyo.com/en/v2025-
|
3862
|
+
# @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2025-04-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`ids`: `any`<br>`item.id`: `equals`<br>`sku`: `equals`<br>`title`: `contains`<br>`published`: `equals`
|
3863
|
+
# @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2025-04-15/reference/api-overview#pagination
|
3864
|
+
# @option opts [String] :sort For more information please visit https://developers.klaviyo.com/en/v2025-04-15/reference/api-overview#sorting
|
3793
3865
|
# @return [Array<(Hash<String, Object>, Integer, Hash)>] Hash<String, Object> data, response status code and response headers
|
3794
3866
|
def get_variant_ids_for_catalog_item_with_http_info(id, opts = {})
|
3795
3867
|
if @api_client.config.debugging
|
@@ -3811,7 +3883,7 @@ module KlaviyoAPI
|
|
3811
3883
|
# header parameters
|
3812
3884
|
header_params = opts[:header_params] || {}
|
3813
3885
|
# klaviyo api revision
|
3814
|
-
header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2025-
|
3886
|
+
header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2025-04-15"
|
3815
3887
|
# HTTP header 'Accept' (if needed)
|
3816
3888
|
header_params['Accept'] = @api_client.select_header_accept(['application/vnd.api+json'])
|
3817
3889
|
|
@@ -3851,10 +3923,10 @@ module KlaviyoAPI
|
|
3851
3923
|
# Get all variants related to the given item ID. Variants can be sorted by the following fields, in ascending and descending order: `created` Returns a maximum of 100 variants per request.<br><br>*Rate limits*:<br>Burst: `350/s`<br>Steady: `3500/m` **Scopes:** `catalogs:read`
|
3852
3924
|
# @param id [String] The catalog item ID is a compound ID (string), with format: `{integration}:::{catalog}:::{external_id}`. Currently, the only supported integration type is `$custom`, and the only supported catalog is `$default`.
|
3853
3925
|
# @param [Hash] opts the optional parameters
|
3854
|
-
# @option opts [Array<String>] :fields_catalog_variant For more information please visit https://developers.klaviyo.com/en/v2025-
|
3855
|
-
# @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2025-
|
3856
|
-
# @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2025-
|
3857
|
-
# @option opts [String] :sort For more information please visit https://developers.klaviyo.com/en/v2025-
|
3926
|
+
# @option opts [Array<String>] :fields_catalog_variant For more information please visit https://developers.klaviyo.com/en/v2025-04-15/reference/api-overview#sparse-fieldsets
|
3927
|
+
# @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2025-04-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`ids`: `any`<br>`item.id`: `equals`<br>`sku`: `equals`<br>`title`: `contains`<br>`published`: `equals`
|
3928
|
+
# @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2025-04-15/reference/api-overview#pagination
|
3929
|
+
# @option opts [String] :sort For more information please visit https://developers.klaviyo.com/en/v2025-04-15/reference/api-overview#sorting
|
3858
3930
|
# @return [Hash<String, Object>]
|
3859
3931
|
def get_variants_for_catalog_item(id, opts = {})
|
3860
3932
|
data, _status_code, _headers = get_variants_for_catalog_item_with_http_info(id, opts)
|
@@ -3868,10 +3940,10 @@ module KlaviyoAPI
|
|
3868
3940
|
# Get all variants related to the given item ID. Variants can be sorted by the following fields, in ascending and descending order: `created` Returns a maximum of 100 variants per request.<br><br>*Rate limits*:<br>Burst: `350/s`<br>Steady: `3500/m` **Scopes:** `catalogs:read`
|
3869
3941
|
# @param id [String] The catalog item ID is a compound ID (string), with format: `{integration}:::{catalog}:::{external_id}`. Currently, the only supported integration type is `$custom`, and the only supported catalog is `$default`.
|
3870
3942
|
# @param [Hash] opts the optional parameters
|
3871
|
-
# @option opts [Array<String>] :fields_catalog_variant For more information please visit https://developers.klaviyo.com/en/v2025-
|
3872
|
-
# @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2025-
|
3873
|
-
# @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2025-
|
3874
|
-
# @option opts [String] :sort For more information please visit https://developers.klaviyo.com/en/v2025-
|
3943
|
+
# @option opts [Array<String>] :fields_catalog_variant For more information please visit https://developers.klaviyo.com/en/v2025-04-15/reference/api-overview#sparse-fieldsets
|
3944
|
+
# @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2025-04-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`ids`: `any`<br>`item.id`: `equals`<br>`sku`: `equals`<br>`title`: `contains`<br>`published`: `equals`
|
3945
|
+
# @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2025-04-15/reference/api-overview#pagination
|
3946
|
+
# @option opts [String] :sort For more information please visit https://developers.klaviyo.com/en/v2025-04-15/reference/api-overview#sorting
|
3875
3947
|
# @return [Array<(Hash<String, Object>, Integer, Hash)>] Hash<String, Object> data, response status code and response headers
|
3876
3948
|
def get_variants_for_catalog_item_with_http_info(id, opts = {})
|
3877
3949
|
if @api_client.config.debugging
|
@@ -3898,7 +3970,7 @@ module KlaviyoAPI
|
|
3898
3970
|
# header parameters
|
3899
3971
|
header_params = opts[:header_params] || {}
|
3900
3972
|
# klaviyo api revision
|
3901
|
-
header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2025-
|
3973
|
+
header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2025-04-15"
|
3902
3974
|
# HTTP header 'Accept' (if needed)
|
3903
3975
|
header_params['Accept'] = @api_client.select_header_accept(['application/vnd.api+json'])
|
3904
3976
|
|
@@ -3975,7 +4047,7 @@ module KlaviyoAPI
|
|
3975
4047
|
# header parameters
|
3976
4048
|
header_params = opts[:header_params] || {}
|
3977
4049
|
# klaviyo api revision
|
3978
|
-
header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2025-
|
4050
|
+
header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2025-04-15"
|
3979
4051
|
# HTTP header 'Accept' (if needed)
|
3980
4052
|
header_params['Accept'] = @api_client.select_header_accept(['application/vnd.api+json'])
|
3981
4053
|
# HTTP header 'Content-Type'
|
@@ -4057,7 +4129,7 @@ module KlaviyoAPI
|
|
4057
4129
|
# header parameters
|
4058
4130
|
header_params = opts[:header_params] || {}
|
4059
4131
|
# klaviyo api revision
|
4060
|
-
header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2025-
|
4132
|
+
header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2025-04-15"
|
4061
4133
|
# HTTP header 'Accept' (if needed)
|
4062
4134
|
header_params['Accept'] = @api_client.select_header_accept(['application/vnd.api+json'])
|
4063
4135
|
# HTTP header 'Content-Type'
|
@@ -4136,7 +4208,7 @@ module KlaviyoAPI
|
|
4136
4208
|
# header parameters
|
4137
4209
|
header_params = opts[:header_params] || {}
|
4138
4210
|
# klaviyo api revision
|
4139
|
-
header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2025-
|
4211
|
+
header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2025-04-15"
|
4140
4212
|
# HTTP header 'Accept' (if needed)
|
4141
4213
|
header_params['Accept'] = @api_client.select_header_accept(['application/vnd.api+json'])
|
4142
4214
|
# HTTP header 'Content-Type'
|
@@ -4212,7 +4284,7 @@ module KlaviyoAPI
|
|
4212
4284
|
# header parameters
|
4213
4285
|
header_params = opts[:header_params] || {}
|
4214
4286
|
# klaviyo api revision
|
4215
|
-
header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2025-
|
4287
|
+
header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2025-04-15"
|
4216
4288
|
# HTTP header 'Accept' (if needed)
|
4217
4289
|
header_params['Accept'] = @api_client.select_header_accept(['application/vnd.api+json'])
|
4218
4290
|
# HTTP header 'Content-Type'
|
@@ -4288,7 +4360,7 @@ module KlaviyoAPI
|
|
4288
4360
|
# header parameters
|
4289
4361
|
header_params = opts[:header_params] || {}
|
4290
4362
|
# klaviyo api revision
|
4291
|
-
header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2025-
|
4363
|
+
header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2025-04-15"
|
4292
4364
|
# HTTP header 'Accept' (if needed)
|
4293
4365
|
header_params['Accept'] = @api_client.select_header_accept(['application/vnd.api+json'])
|
4294
4366
|
# HTTP header 'Content-Type'
|
@@ -4367,7 +4439,7 @@ module KlaviyoAPI
|
|
4367
4439
|
# header parameters
|
4368
4440
|
header_params = opts[:header_params] || {}
|
4369
4441
|
# klaviyo api revision
|
4370
|
-
header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2025-
|
4442
|
+
header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2025-04-15"
|
4371
4443
|
# HTTP header 'Accept' (if needed)
|
4372
4444
|
header_params['Accept'] = @api_client.select_header_accept(['application/vnd.api+json'])
|
4373
4445
|
# HTTP header 'Content-Type'
|
@@ -4449,7 +4521,7 @@ module KlaviyoAPI
|
|
4449
4521
|
# header parameters
|
4450
4522
|
header_params = opts[:header_params] || {}
|
4451
4523
|
# klaviyo api revision
|
4452
|
-
header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2025-
|
4524
|
+
header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2025-04-15"
|
4453
4525
|
# HTTP header 'Accept' (if needed)
|
4454
4526
|
header_params['Accept'] = @api_client.select_header_accept(['application/vnd.api+json'])
|
4455
4527
|
# HTTP header 'Content-Type'
|