klaviyo-api-sdk 11.1.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 +63 -0
- data/README.md +699 -343
- 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 +390 -145
- data/lib/klaviyo-api-sdk/api/catalogs_api.rb +991 -827
- data/lib/klaviyo-api-sdk/api/coupons_api.rb +75 -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 +283 -193
- data/lib/klaviyo-api-sdk/api/forms_api.rb +122 -37
- data/lib/klaviyo-api-sdk/api/images_api.rb +16 -16
- data/lib/klaviyo-api-sdk/api/lists_api.rb +68 -68
- 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 +99 -23
- data/lib/klaviyo-api-sdk/api/segments_api.rb +60 -60
- 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 +269 -0
- 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/ab_test_action_data_main_action.rb +105 -0
- data/lib/klaviyo-api-sdk/models/ab_test_enum.rb +36 -0
- 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 +240 -0
- data/lib/klaviyo-api-sdk/models/audiences_update.rb +236 -0
- 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 +255 -0
- data/lib/klaviyo-api-sdk/models/back_in_stock_delay_enum.rb +36 -0
- 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_bulk_entry_resource_object_attributes.rb +283 -0
- 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 +230 -0
- 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 +265 -0
- data/lib/klaviyo-api-sdk/models/branch_enum.rb +36 -0
- 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 +4 -3
- 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 +4 -3
- data/lib/klaviyo-api-sdk/models/campaign_create_query_resource_object_attributes_send_strategy.rb +108 -0
- 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 +6 -1
- data/lib/klaviyo-api-sdk/models/campaign_message_assign_template_query_resource_object_relationships.rb +6 -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 +14 -5
- data/lib/klaviyo-api-sdk/models/campaign_message_create_query_resource_object_attributes.rb +11 -42
- data/lib/klaviyo-api-sdk/models/campaign_message_create_query_resource_object_attributes_definition.rb +107 -0
- data/lib/klaviyo-api-sdk/models/campaign_message_create_query_resource_object_relationships.rb +219 -0
- data/lib/klaviyo-api-sdk/models/campaign_message_create_query_resource_object_relationships_image.rb +219 -0
- data/lib/klaviyo-api-sdk/models/campaign_message_create_query_resource_object_relationships_image_data.rb +239 -0
- data/lib/klaviyo-api-sdk/models/campaign_message_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/campaign_message_image_update_query.rb +224 -0
- data/lib/klaviyo-api-sdk/models/campaign_message_image_update_query_data.rb +239 -0
- 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 +14 -5
- data/lib/klaviyo-api-sdk/models/campaign_message_partial_update_query_resource_object_attributes.rb +9 -29
- data/lib/klaviyo-api-sdk/models/campaign_message_partial_update_query_resource_object_attributes_definition.rb +108 -0
- 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 +4 -3
- data/lib/klaviyo-api-sdk/models/campaign_partial_update_query_resource_object_attributes_send_strategy.rb +108 -0
- 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/campaigns_email_tracking_options.rb +256 -0
- 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 +2 -2
- 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 +2 -2
- data/lib/klaviyo-api-sdk/models/catalog_category_item_op_data_inner.rb +239 -0
- 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 +6 -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 +6 -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 +265 -0
- data/lib/klaviyo-api-sdk/models/code_enum.rb +36 -0
- 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 +264 -0
- data/lib/klaviyo-api-sdk/models/conditional_branch_action_data.rb +220 -0
- 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 +36 -0
- 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 +269 -0
- data/lib/klaviyo-api-sdk/models/countdown_delay_action_data.rb +312 -0
- data/lib/klaviyo-api-sdk/models/countdown_delay_enum.rb +36 -0
- 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 +6 -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 +6 -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/custom_metric_create_query_resource_object_attributes.rb +239 -0
- data/lib/klaviyo-api-sdk/models/custom_metric_definition.rb +275 -0
- data/lib/klaviyo-api-sdk/models/custom_metric_enum.rb +36 -0
- 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/custom_metric_partial_update_query_resource_object.rb +253 -0
- data/lib/klaviyo-api-sdk/models/custom_metric_partial_update_query_resource_object_attributes.rb +230 -0
- 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 +36 -0
- 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 +1 -1
- data/lib/klaviyo-api-sdk/models/email_content.rb +287 -0
- data/lib/klaviyo-api-sdk/models/email_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/email_message_definition.rb +244 -0
- data/lib/klaviyo-api-sdk/models/email_send_options.rb +223 -0
- 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 +36 -0
- data/lib/klaviyo-api-sdk/models/false_or_misleading_enum.rb +36 -0
- data/lib/klaviyo-api-sdk/models/featured_enum.rb +36 -0
- data/lib/klaviyo-api-sdk/models/flow_create_query.rb +224 -0
- data/lib/klaviyo-api-sdk/models/flow_create_query_resource_object.rb +238 -0
- data/lib/klaviyo-api-sdk/models/flow_create_query_resource_object_attributes.rb +239 -0
- data/lib/klaviyo-api-sdk/models/flow_definition.rb +265 -0
- data/lib/klaviyo-api-sdk/models/flow_definition_actions_inner.rb +121 -0
- 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/flow_definition_profile_filter_condition_groups_inner_conditions_inner.rb +114 -0
- data/lib/klaviyo-api-sdk/models/flow_definition_triggers_inner.rb +109 -0
- data/lib/klaviyo-api-sdk/models/flow_email.rb +365 -0
- 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 +286 -0
- data/lib/klaviyo-api-sdk/models/flow_push_notification.rb +395 -0
- 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 +387 -0
- data/lib/klaviyo-api-sdk/models/flow_sms_additional_filters.rb +226 -0
- data/lib/klaviyo-api-sdk/models/flow_sms_additional_filters_condition_groups_inner.rb +226 -0
- 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 +259 -0
- data/lib/klaviyo-api-sdk/models/flows_profile_metric_condition.rb +327 -0
- 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/greater_than_positive_numeric_filter.rb +252 -0
- 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 +36 -0
- data/lib/klaviyo-api-sdk/models/immediate_send_strategy.rb +224 -0
- 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 +301 -0
- data/lib/klaviyo-api-sdk/models/in_the_last_enum.rb +36 -0
- 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/increment.rb +258 -0
- data/lib/klaviyo-api-sdk/models/integration_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/internal_service_action.rb +265 -0
- data/lib/klaviyo-api-sdk/models/internal_service_enum.rb +36 -0
- 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 +220 -0
- 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 +234 -0
- data/lib/klaviyo-api-sdk/models/list_update_action.rb +269 -0
- data/lib/klaviyo-api-sdk/models/list_update_action_data.rb +303 -0
- data/lib/klaviyo-api-sdk/models/list_update_enum.rb +36 -0
- data/lib/klaviyo-api-sdk/models/local_static_send.rb +271 -0
- data/lib/klaviyo-api-sdk/models/low_inventory_condition.rb +262 -0
- data/lib/klaviyo-api-sdk/models/low_inventory_condition_filter.rb +226 -0
- data/lib/klaviyo-api-sdk/models/low_inventory_condition_group.rb +226 -0
- data/lib/klaviyo-api-sdk/models/low_inventory_enum.rb +36 -0
- data/lib/klaviyo-api-sdk/models/low_inventory_property_enum.rb +36 -0
- data/lib/klaviyo-api-sdk/models/low_inventory_trigger.rb +328 -0
- 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 +266 -0
- data/lib/klaviyo-api-sdk/models/metric_property_condition_filter.rb +118 -0
- data/lib/klaviyo-api-sdk/models/metric_property_condition_group.rb +226 -0
- data/lib/klaviyo-api-sdk/models/metric_property_enum.rb +36 -0
- data/lib/klaviyo-api-sdk/models/metric_trigger.rb +243 -0
- data/lib/klaviyo-api-sdk/models/mobile_push_badge.rb +269 -0
- 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 +247 -0
- data/lib/klaviyo-api-sdk/models/mobile_push_content_update.rb +243 -0
- data/lib/klaviyo-api-sdk/models/mobile_push_enum.rb +36 -0
- 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 +267 -0
- data/lib/klaviyo-api-sdk/models/mobile_push_message_standard_definition_update.rb +262 -0
- data/lib/klaviyo-api-sdk/models/mobile_push_no_badge.rb +259 -0
- data/lib/klaviyo-api-sdk/models/mobile_push_options.rb +243 -0
- data/lib/klaviyo-api-sdk/models/mobile_push_options_badge.rb +106 -0
- data/lib/klaviyo-api-sdk/models/mobile_push_options_on_open.rb +105 -0
- 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 +259 -0
- 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 +301 -0
- 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 +36 -0
- data/lib/klaviyo-api-sdk/models/other_enum.rb +36 -0
- data/lib/klaviyo-api-sdk/models/pending_enum.rb +36 -0
- 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 +262 -0
- data/lib/klaviyo-api-sdk/models/price_drop_condition_filter.rb +226 -0
- data/lib/klaviyo-api-sdk/models/price_drop_condition_group.rb +226 -0
- data/lib/klaviyo-api-sdk/models/price_drop_enum.rb +36 -0
- data/lib/klaviyo-api-sdk/models/price_drop_property_enum.rb +36 -0
- data/lib/klaviyo-api-sdk/models/price_drop_trigger.rb +349 -0
- data/lib/klaviyo-api-sdk/models/private_information_enum.rb +36 -0
- data/lib/klaviyo-api-sdk/models/profanity_or_inappropriate_enum.rb +36 -0
- 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 +6 -1
- data/lib/klaviyo-api-sdk/models/profile_merge_query_resource_object_relationships.rb +6 -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 +238 -0
- data/lib/klaviyo-api-sdk/models/profile_not_in_flow_condition_timeframe_filter.rb +105 -0
- data/lib/klaviyo-api-sdk/models/profile_not_in_flow_enum.rb +36 -0
- 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 +273 -0
- data/lib/klaviyo-api-sdk/models/profile_operation_update_or_create_boolean.rb +301 -0
- data/lib/klaviyo-api-sdk/models/profile_operation_update_or_create_date.rb +301 -0
- data/lib/klaviyo-api-sdk/models/profile_operation_update_or_create_date_property_value.rb +105 -0
- data/lib/klaviyo-api-sdk/models/profile_operation_update_or_create_list.rb +324 -0
- data/lib/klaviyo-api-sdk/models/profile_operation_update_or_create_numeric.rb +301 -0
- data/lib/klaviyo-api-sdk/models/profile_operation_update_or_create_string.rb +301 -0
- 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 +385 -0
- data/lib/klaviyo-api-sdk/models/profile_property_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/profile_random_sample_condition.rb +238 -0
- 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 +36 -0
- 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 +8 -3
- 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 +6 -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 +36 -0
- data/lib/klaviyo-api-sdk/models/push_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/push_on_open_app.rb +224 -0
- data/lib/klaviyo-api-sdk/models/push_on_open_deep_link.rb +246 -0
- 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 +223 -0
- 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 +224 -0
- data/lib/klaviyo-api-sdk/models/reject_reason_misleading.rb +224 -0
- data/lib/klaviyo-api-sdk/models/reject_reason_other.rb +235 -0
- data/lib/klaviyo-api-sdk/models/reject_reason_private_information.rb +224 -0
- data/lib/klaviyo-api-sdk/models/reject_reason_profanity.rb +224 -0
- data/lib/klaviyo-api-sdk/models/reject_reason_unrelated.rb +224 -0
- data/lib/klaviyo-api-sdk/models/rejected_enum.rb +36 -0
- 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 +258 -0
- data/lib/klaviyo-api-sdk/models/review_enum.rb +36 -0
- data/lib/klaviyo-api-sdk/models/review_patch_query.rb +224 -0
- data/lib/klaviyo-api-sdk/models/review_patch_query_resource_object.rb +253 -0
- data/lib/klaviyo-api-sdk/models/review_patch_query_resource_object_attributes.rb +220 -0
- data/lib/klaviyo-api-sdk/models/review_patch_query_resource_object_attributes_status.rb +109 -0
- data/lib/klaviyo-api-sdk/models/review_status_featured.rb +224 -0
- data/lib/klaviyo-api-sdk/models/review_status_pending.rb +224 -0
- data/lib/klaviyo-api-sdk/models/review_status_published.rb +224 -0
- data/lib/klaviyo-api-sdk/models/review_status_rejected.rb +238 -0
- data/lib/klaviyo-api-sdk/models/review_status_rejected_rejection_reason.rb +110 -0
- data/lib/klaviyo-api-sdk/models/review_status_unpublished.rb +224 -0
- 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 +234 -0
- 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/segments_profile_metric_condition_timeframe_filter.rb +109 -0
- data/lib/klaviyo-api-sdk/models/send_email_action.rb +264 -0
- data/lib/klaviyo-api-sdk/models/send_email_action_data.rb +270 -0
- data/lib/klaviyo-api-sdk/models/send_email_enum.rb +36 -0
- data/lib/klaviyo-api-sdk/models/send_internal_alert_action.rb +264 -0
- data/lib/klaviyo-api-sdk/models/send_internal_alert_action_data.rb +270 -0
- data/lib/klaviyo-api-sdk/models/send_internal_alert_enum.rb +36 -0
- data/lib/klaviyo-api-sdk/models/send_mobile_push_enum.rb +36 -0
- data/lib/klaviyo-api-sdk/models/send_push_notification_action.rb +264 -0
- data/lib/klaviyo-api-sdk/models/send_push_notification_action_data.rb +270 -0
- data/lib/klaviyo-api-sdk/models/send_sms_action.rb +264 -0
- data/lib/klaviyo-api-sdk/models/send_sms_action_data.rb +270 -0
- data/lib/klaviyo-api-sdk/models/send_sms_enum.rb +36 -0
- data/lib/klaviyo-api-sdk/models/send_webhook_action.rb +264 -0
- data/lib/klaviyo-api-sdk/models/send_webhook_action_data.rb +270 -0
- data/lib/klaviyo-api-sdk/models/send_webhook_enum.rb +36 -0
- 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 +6 -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 +6 -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/silent_enum.rb +36 -0
- 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 +36 -0
- data/lib/klaviyo-api-sdk/models/smart_send_time_strategy.rb +239 -0
- data/lib/klaviyo-api-sdk/models/sms_content_create.rb +221 -0
- data/lib/klaviyo-api-sdk/models/sms_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/sms_message_definition_create.rb +242 -0
- data/lib/klaviyo-api-sdk/models/sms_send_options.rb +223 -0
- 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 +255 -0
- data/lib/klaviyo-api-sdk/models/split_enum.rb +36 -0
- data/lib/klaviyo-api-sdk/models/split_links.rb +226 -0
- data/lib/klaviyo-api-sdk/models/standard_enum.rb +36 -0
- 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 +249 -0
- data/lib/klaviyo-api-sdk/models/static_send_strategy_options.rb +106 -0
- data/lib/klaviyo-api-sdk/models/static_tracking_param.rb +1 -1
- 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 +269 -0
- data/lib/klaviyo-api-sdk/models/target_date_action_data.rb +276 -0
- data/lib/klaviyo-api-sdk/models/target_date_enum.rb +36 -0
- 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 +36 -0
- data/lib/klaviyo-api-sdk/models/throttled_send_strategy.rb +288 -0
- data/lib/klaviyo-api-sdk/models/time_delay_action.rb +269 -0
- data/lib/klaviyo-api-sdk/models/time_delay_action_data.rb +325 -0
- data/lib/klaviyo-api-sdk/models/time_delay_enum.rb +36 -0
- 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 +264 -0
- data/lib/klaviyo-api-sdk/models/trigger_branch_action_data.rb +306 -0
- 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 +36 -0
- 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 +36 -0
- data/lib/klaviyo-api-sdk/models/unrelated_enum.rb +36 -0
- 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 +264 -0
- data/lib/klaviyo-api-sdk/models/update_profile_action_data.rb +272 -0
- data/lib/klaviyo-api-sdk/models/update_profile_action_data_profile_operations_inner.rb +109 -0
- data/lib/klaviyo-api-sdk/models/update_profile_enum.rb +36 -0
- data/lib/klaviyo-api-sdk/models/utm_param.rb +238 -0
- data/lib/klaviyo-api-sdk/models/web_feed_create_query.rb +224 -0
- data/lib/klaviyo-api-sdk/models/web_feed_create_query_resource_object.rb +238 -0
- data/lib/klaviyo-api-sdk/models/web_feed_create_query_resource_object_attributes.rb +316 -0
- data/lib/klaviyo-api-sdk/models/web_feed_enum.rb +36 -0
- 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/web_feed_partial_update_query_resource_object_attributes.rb +300 -0
- data/lib/klaviyo-api-sdk/models/webhook_create_query.rb +1 -1
- data/lib/klaviyo-api-sdk/models/webhook_create_query_resource_object.rb +6 -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 +6 -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 +2 -2
- 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 +219 -0
- 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 +245 -22
- metadata +250 -1129
- 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/audiences_sub_object.rb +0 -236
- data/lib/klaviyo-api-sdk/models/base_event_create_query_resource_object.rb +0 -238
- data/lib/klaviyo-api-sdk/models/base_event_create_query_resource_object_attributes.rb +0 -283
- data/lib/klaviyo-api-sdk/models/campaign_message_create_query_resource_object_attributes_content.rb +0 -106
- data/lib/klaviyo-api-sdk/models/catalog_category_create_query_resource_object_relationships_items_data_inner.rb +0 -239
- data/lib/klaviyo-api-sdk/models/email_content_sub_object.rb +0 -287
- data/lib/klaviyo-api-sdk/models/email_send_options_sub_object.rb +0 -221
- data/lib/klaviyo-api-sdk/models/email_tracking_options_sub_object.rb +0 -256
- data/lib/klaviyo-api-sdk/models/email_tracking_options_sub_object_custom_tracking_params_inner.rb +0 -105
- data/lib/klaviyo-api-sdk/models/profile_metric_condition.rb +0 -327
- data/lib/klaviyo-api-sdk/models/profile_metric_condition_timeframe_filter.rb +0 -109
- data/lib/klaviyo-api-sdk/models/render_options_sub_object.rb +0 -258
- data/lib/klaviyo-api-sdk/models/send_strategy_sub_object.rb +0 -252
- data/lib/klaviyo-api-sdk/models/sms_content_sub_object_create.rb +0 -221
- data/lib/klaviyo-api-sdk/models/sms_send_options_sub_object.rb +0 -221
- data/lib/klaviyo-api-sdk/models/sms_tracking_options_sub_object.rb +0 -234
- data/lib/klaviyo-api-sdk/models/static_schedule_options.rb +0 -247
- data/lib/klaviyo-api-sdk/models/sto_schedule_options.rb +0 -225
- data/lib/klaviyo-api-sdk/models/throttled_schedule_options.rb +0 -240
- data/lib/klaviyo-api-sdk/models/union_positive_numeric_filter.rb +0 -252
- data/lib/klaviyo-api-sdk/models/union_positive_numeric_filter_operator.rb +0 -105
- 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:
|
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'] || "
|
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'] || "
|
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'] || "
|
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'] || "
|
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'] || "
|
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'] || "
|
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'] || "
|
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'] || "
|
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'] || "
|
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'] || "
|
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'] || "
|
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'] || "
|
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'] || "
|
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'] || "
|
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'] || "
|
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'] || "
|
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'] || "
|
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'] || "
|
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/
|
1422
|
-
# @option opts [Array<String>] :fields_catalog_item For more information please visit https://developers.klaviyo.com/en/
|
1423
|
-
# @option opts [Array<String>] :include For more information please visit https://developers.klaviyo.com/en/
|
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/
|
1441
|
-
# @option opts [Array<String>] :fields_catalog_item For more information please visit https://developers.klaviyo.com/en/
|
1442
|
-
# @option opts [Array<String>] :include For more information please visit https://developers.klaviyo.com/en/
|
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'] || "
|
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/
|
1519
|
-
# @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/
|
1520
|
-
# @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/
|
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/
|
1537
|
-
# @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/
|
1538
|
-
# @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/
|
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'] || "
|
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'] || "
|
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/
|
1688
|
-
# @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/
|
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/
|
1706
|
-
# @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/
|
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'] || "
|
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/
|
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/
|
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'] || "
|
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/
|
1870
|
-
# @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/
|
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/
|
1888
|
-
# @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/
|
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'] || "
|
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/v2024-10-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/v2024-10-15/reference/api-overview#pagination
|
1955
|
-
# @option opts [String] :sort For more information please visit https://developers.klaviyo.com/en/v2024-10-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/v2024-10-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/v2024-10-15/reference/api-overview#pagination
|
1968
|
-
# @option opts [String] :sort For more information please visit https://developers.klaviyo.com/en/v2024-10-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'] || "
|
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'] || "
|
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/v2024-10-15/reference/api-overview#sparse-fieldsets
|
2106
|
-
# @option opts [Array<String>] :include For more information please visit https://developers.klaviyo.com/en/v2024-10-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/v2024-10-15/reference/api-overview#sparse-fieldsets
|
2119
|
-
# @option opts [Array<String>] :include For more information please visit https://developers.klaviyo.com/en/v2024-10-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.
|
2124
|
-
end
|
2125
|
-
# verify the required parameter 'id' is set
|
2126
|
-
if @api_client.config.client_side_validation && id.nil?
|
2127
|
-
fail ArgumentError, "Missing the required parameter 'id' when calling CatalogsApi.get_catalog_item"
|
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}"
|
2156
|
+
@api_client.config.logger.debug 'Calling API: CatalogsApi.get_bulk_delete_categories_job ...'
|
2132
2157
|
end
|
2133
|
-
|
2134
|
-
if @api_client.config.client_side_validation &&
|
2135
|
-
fail ArgumentError, "
|
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'] || "
|
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/v2024-10-15/reference/api-overview#relationships
|
2193
|
-
# @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-10-15/reference/api-overview#pagination
|
2194
|
-
# @option opts [String] :sort For more information please visit https://developers.klaviyo.com/en/v2024-10-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/v2024-10-15/reference/api-overview#relationships
|
2208
|
-
# @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-10-15/reference/api-overview#pagination
|
2209
|
-
# @option opts [String] :sort For more information please visit https://developers.klaviyo.com/en/v2024-10-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}"
|
2222
|
-
end
|
2223
|
-
allowable_values = ["variants"]
|
2224
|
-
if @api_client.config.client_side_validation && opts[:'include'] && !opts[:'include'].all? { |item| allowable_values.include?(item) }
|
2225
|
-
fail ArgumentError, "invalid value for \"include\", must include one of #{allowable_values}"
|
2242
|
+
@api_client.config.logger.debug 'Calling API: CatalogsApi.get_bulk_delete_categories_jobs ...'
|
2226
2243
|
end
|
2227
|
-
allowable_values = ["
|
2228
|
-
if @api_client.config.client_side_validation && opts[:'
|
2229
|
-
fail ArgumentError, "invalid value for \"
|
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'] || "
|
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'] || "
|
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/
|
2356
|
-
# @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/
|
2357
|
-
# @option opts [String] :sort For more information please visit https://developers.klaviyo.com/en/v2024-10-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/
|
2369
|
-
# @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/
|
2370
|
-
# @option opts [String] :sort For more information please visit https://developers.klaviyo.com/en/v2024-10-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.
|
2375
|
-
end
|
2376
|
-
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"]
|
2377
|
-
if @api_client.config.client_side_validation && opts[:'fields_catalog_variant'] && !opts[:'fields_catalog_variant'].all? { |item| allowable_values.include?(item) }
|
2378
|
-
fail ArgumentError, "invalid value for \"fields_catalog_variant\", must include one of #{allowable_values}"
|
2410
|
+
@api_client.config.logger.debug 'Calling API: CatalogsApi.get_bulk_delete_variants_jobs ...'
|
2379
2411
|
end
|
2380
|
-
allowable_values = ["
|
2381
|
-
if @api_client.config.client_side_validation && opts[:'
|
2382
|
-
fail ArgumentError, "invalid value for \"
|
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'] || "
|
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/v2024-10-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/v2024-10-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'] || "
|
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,53 +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] :
|
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
|
2522
2571
|
# @return [Hash<String, Object>]
|
2523
|
-
def
|
2524
|
-
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)
|
2525
2574
|
data
|
2526
2575
|
end
|
2527
2576
|
|
2528
|
-
# alias of `
|
2529
|
-
alias
|
2577
|
+
# alias of `get_bulk_update_catalog_items_jobs`
|
2578
|
+
alias get_update_items_jobs get_bulk_update_catalog_items_jobs
|
2530
2579
|
|
2531
|
-
#
|
2532
|
-
|
2533
|
-
|
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`
|
2534
2585
|
# @param [Hash] opts the optional parameters
|
2535
|
-
# @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
|
2536
2589
|
# @return [Array<(Hash<String, Object>, Integer, Hash)>] Hash<String, Object> data, response status code and response headers
|
2537
|
-
def
|
2590
|
+
def get_bulk_update_catalog_items_jobs_with_http_info(opts = {})
|
2538
2591
|
if @api_client.config.debugging
|
2539
|
-
@api_client.config.logger.debug 'Calling API: CatalogsApi.
|
2592
|
+
@api_client.config.logger.debug 'Calling API: CatalogsApi.get_bulk_update_catalog_items_jobs ...'
|
2540
2593
|
end
|
2541
|
-
|
2542
|
-
if @api_client.config.client_side_validation &&
|
2543
|
-
fail ArgumentError, "
|
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}"
|
2544
2597
|
end
|
2545
2598
|
# resource path
|
2546
|
-
local_var_path = '/api/catalog-
|
2599
|
+
local_var_path = '/api/catalog-item-bulk-update-jobs'
|
2547
2600
|
|
2548
2601
|
# query parameters
|
2549
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?
|
2604
|
+
query_params[:'filter'] = opts[:'filter'] if !opts[:'filter'].nil?
|
2550
2605
|
query_params[:'page[cursor]'] = opts[:'page_cursor'] if !opts[:'page_cursor'].nil?
|
2551
2606
|
|
2552
2607
|
# header parameters
|
2553
2608
|
header_params = opts[:header_params] || {}
|
2554
2609
|
# klaviyo api revision
|
2555
|
-
header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "
|
2610
|
+
header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2025-04-15"
|
2556
2611
|
# HTTP header 'Accept' (if needed)
|
2557
2612
|
header_params['Accept'] = @api_client.select_header_accept(['application/vnd.api+json'])
|
2558
2613
|
|
@@ -2569,7 +2624,7 @@ module KlaviyoAPI
|
|
2569
2624
|
auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key', 'OAuth']
|
2570
2625
|
|
2571
2626
|
new_options = opts.merge(
|
2572
|
-
:operation => :"CatalogsApi.
|
2627
|
+
:operation => :"CatalogsApi.get_bulk_update_catalog_items_jobs",
|
2573
2628
|
:header_params => header_params,
|
2574
2629
|
:query_params => query_params,
|
2575
2630
|
:form_params => form_params,
|
@@ -2580,49 +2635,55 @@ module KlaviyoAPI
|
|
2580
2635
|
|
2581
2636
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
2582
2637
|
if @api_client.config.debugging
|
2583
|
-
@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}"
|
2584
2639
|
end
|
2585
2640
|
return data, status_code, headers
|
2586
2641
|
end
|
2587
2642
|
|
2588
|
-
# alias of `
|
2589
|
-
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
|
2590
2645
|
|
2591
|
-
#
|
2592
|
-
|
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`
|
2593
2651
|
# @param job_id [String] ID of the job to retrieve.
|
2594
2652
|
# @param [Hash] opts the optional parameters
|
2595
|
-
# @option opts [Array<String>] :
|
2596
|
-
# @option opts [Array<String>] :fields_catalog_category For more information please visit https://developers.klaviyo.com/en/
|
2597
|
-
# @option opts [Array<String>] :include For more information please visit https://developers.klaviyo.com/en/
|
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
|
2598
2656
|
# @return [Hash<String, Object>]
|
2599
|
-
def
|
2600
|
-
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)
|
2601
2659
|
data
|
2602
2660
|
end
|
2603
2661
|
|
2604
|
-
# alias of `
|
2605
|
-
alias
|
2662
|
+
# alias of `get_bulk_update_categories_job`
|
2663
|
+
alias get_update_categories_job get_bulk_update_categories_job
|
2606
2664
|
|
2607
|
-
#
|
2608
|
-
|
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`
|
2609
2670
|
# @param job_id [String] ID of the job to retrieve.
|
2610
2671
|
# @param [Hash] opts the optional parameters
|
2611
|
-
# @option opts [Array<String>] :
|
2612
|
-
# @option opts [Array<String>] :fields_catalog_category For more information please visit https://developers.klaviyo.com/en/
|
2613
|
-
# @option opts [Array<String>] :include For more information please visit https://developers.klaviyo.com/en/
|
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
|
2614
2675
|
# @return [Array<(Hash<String, Object>, Integer, Hash)>] Hash<String, Object> data, response status code and response headers
|
2615
|
-
def
|
2676
|
+
def get_bulk_update_categories_job_with_http_info(job_id, opts = {})
|
2616
2677
|
if @api_client.config.debugging
|
2617
|
-
@api_client.config.logger.debug 'Calling API: CatalogsApi.
|
2678
|
+
@api_client.config.logger.debug 'Calling API: CatalogsApi.get_bulk_update_categories_job ...'
|
2618
2679
|
end
|
2619
2680
|
# verify the required parameter 'job_id' is set
|
2620
2681
|
if @api_client.config.client_side_validation && job_id.nil?
|
2621
|
-
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"
|
2622
2683
|
end
|
2623
2684
|
allowable_values = ["status", "created_at", "total_count", "completed_count", "failed_count", "completed_at", "errors", "expires_at"]
|
2624
|
-
if @api_client.config.client_side_validation && opts[:'
|
2625
|
-
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}"
|
2626
2687
|
end
|
2627
2688
|
allowable_values = ["external_id", "name", "updated"]
|
2628
2689
|
if @api_client.config.client_side_validation && opts[:'fields_catalog_category'] && !opts[:'fields_catalog_category'].all? { |item| allowable_values.include?(item) }
|
@@ -2633,18 +2694,18 @@ module KlaviyoAPI
|
|
2633
2694
|
fail ArgumentError, "invalid value for \"include\", must include one of #{allowable_values}"
|
2634
2695
|
end
|
2635
2696
|
# resource path
|
2636
|
-
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))
|
2637
2698
|
|
2638
2699
|
# query parameters
|
2639
2700
|
query_params = opts[:query_params] || {}
|
2640
|
-
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?
|
2641
2702
|
query_params[:'fields[catalog-category]'] = @api_client.build_collection_param(opts[:'fields_catalog_category'], :csv) if !opts[:'fields_catalog_category'].nil?
|
2642
2703
|
query_params[:'include'] = @api_client.build_collection_param(opts[:'include'], :csv) if !opts[:'include'].nil?
|
2643
2704
|
|
2644
2705
|
# header parameters
|
2645
2706
|
header_params = opts[:header_params] || {}
|
2646
2707
|
# klaviyo api revision
|
2647
|
-
header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "
|
2708
|
+
header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2025-04-15"
|
2648
2709
|
# HTTP header 'Accept' (if needed)
|
2649
2710
|
header_params['Accept'] = @api_client.select_header_accept(['application/vnd.api+json'])
|
2650
2711
|
|
@@ -2661,7 +2722,7 @@ module KlaviyoAPI
|
|
2661
2722
|
auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key', 'OAuth']
|
2662
2723
|
|
2663
2724
|
new_options = opts.merge(
|
2664
|
-
:operation => :"CatalogsApi.
|
2725
|
+
:operation => :"CatalogsApi.get_bulk_update_categories_job",
|
2665
2726
|
:header_params => header_params,
|
2666
2727
|
:query_params => query_params,
|
2667
2728
|
:form_params => form_params,
|
@@ -2672,57 +2733,63 @@ module KlaviyoAPI
|
|
2672
2733
|
|
2673
2734
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
2674
2735
|
if @api_client.config.debugging
|
2675
|
-
@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}"
|
2676
2737
|
end
|
2677
2738
|
return data, status_code, headers
|
2678
2739
|
end
|
2679
2740
|
|
2680
|
-
# alias of `
|
2681
|
-
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
|
2682
2743
|
|
2683
|
-
#
|
2684
|
-
|
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`
|
2685
2749
|
# @param [Hash] opts the optional parameters
|
2686
|
-
# @option opts [Array<String>] :
|
2687
|
-
# @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/
|
2688
|
-
# @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/
|
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
|
2689
2753
|
# @return [Hash<String, Object>]
|
2690
|
-
def
|
2691
|
-
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)
|
2692
2756
|
data
|
2693
2757
|
end
|
2694
2758
|
|
2695
|
-
# alias of `
|
2696
|
-
alias
|
2759
|
+
# alias of `get_bulk_update_categories_jobs`
|
2760
|
+
alias get_update_categories_jobs get_bulk_update_categories_jobs
|
2697
2761
|
|
2698
|
-
#
|
2699
|
-
|
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`
|
2700
2767
|
# @param [Hash] opts the optional parameters
|
2701
|
-
# @option opts [Array<String>] :
|
2702
|
-
# @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/
|
2703
|
-
# @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/
|
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
|
2704
2771
|
# @return [Array<(Hash<String, Object>, Integer, Hash)>] Hash<String, Object> data, response status code and response headers
|
2705
|
-
def
|
2772
|
+
def get_bulk_update_categories_jobs_with_http_info(opts = {})
|
2706
2773
|
if @api_client.config.debugging
|
2707
|
-
@api_client.config.logger.debug 'Calling API: CatalogsApi.
|
2774
|
+
@api_client.config.logger.debug 'Calling API: CatalogsApi.get_bulk_update_categories_jobs ...'
|
2708
2775
|
end
|
2709
2776
|
allowable_values = ["status", "created_at", "total_count", "completed_count", "failed_count", "completed_at", "errors", "expires_at"]
|
2710
|
-
if @api_client.config.client_side_validation && opts[:'
|
2711
|
-
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}"
|
2712
2779
|
end
|
2713
2780
|
# resource path
|
2714
|
-
local_var_path = '/api/catalog-category-bulk-
|
2781
|
+
local_var_path = '/api/catalog-category-bulk-update-jobs'
|
2715
2782
|
|
2716
2783
|
# query parameters
|
2717
2784
|
query_params = opts[:query_params] || {}
|
2718
|
-
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?
|
2719
2786
|
query_params[:'filter'] = opts[:'filter'] if !opts[:'filter'].nil?
|
2720
2787
|
query_params[:'page[cursor]'] = opts[:'page_cursor'] if !opts[:'page_cursor'].nil?
|
2721
2788
|
|
2722
2789
|
# header parameters
|
2723
2790
|
header_params = opts[:header_params] || {}
|
2724
2791
|
# klaviyo api revision
|
2725
|
-
header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "
|
2792
|
+
header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2025-04-15"
|
2726
2793
|
# HTTP header 'Accept' (if needed)
|
2727
2794
|
header_params['Accept'] = @api_client.select_header_accept(['application/vnd.api+json'])
|
2728
2795
|
|
@@ -2739,7 +2806,7 @@ module KlaviyoAPI
|
|
2739
2806
|
auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key', 'OAuth']
|
2740
2807
|
|
2741
2808
|
new_options = opts.merge(
|
2742
|
-
:operation => :"CatalogsApi.
|
2809
|
+
:operation => :"CatalogsApi.get_bulk_update_categories_jobs",
|
2743
2810
|
:header_params => header_params,
|
2744
2811
|
:query_params => query_params,
|
2745
2812
|
:form_params => form_params,
|
@@ -2750,49 +2817,55 @@ module KlaviyoAPI
|
|
2750
2817
|
|
2751
2818
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
2752
2819
|
if @api_client.config.debugging
|
2753
|
-
@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}"
|
2754
2821
|
end
|
2755
2822
|
return data, status_code, headers
|
2756
2823
|
end
|
2757
2824
|
|
2758
|
-
# alias of `
|
2759
|
-
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
|
2760
2827
|
|
2761
|
-
#
|
2762
|
-
|
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`
|
2763
2833
|
# @param job_id [String] ID of the job to retrieve.
|
2764
2834
|
# @param [Hash] opts the optional parameters
|
2765
|
-
# @option opts [Array<String>] :
|
2766
|
-
# @option opts [Array<String>] :fields_catalog_variant For more information please visit https://developers.klaviyo.com/en/
|
2767
|
-
# @option opts [Array<String>] :include For more information please visit https://developers.klaviyo.com/en/
|
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
|
2768
2838
|
# @return [Hash<String, Object>]
|
2769
|
-
def
|
2770
|
-
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)
|
2771
2841
|
data
|
2772
2842
|
end
|
2773
2843
|
|
2774
|
-
# alias of `
|
2775
|
-
alias
|
2844
|
+
# alias of `get_bulk_update_variants_job`
|
2845
|
+
alias get_update_variants_job get_bulk_update_variants_job
|
2776
2846
|
|
2777
|
-
#
|
2778
|
-
|
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`
|
2779
2852
|
# @param job_id [String] ID of the job to retrieve.
|
2780
2853
|
# @param [Hash] opts the optional parameters
|
2781
|
-
# @option opts [Array<String>] :
|
2782
|
-
# @option opts [Array<String>] :fields_catalog_variant For more information please visit https://developers.klaviyo.com/en/
|
2783
|
-
# @option opts [Array<String>] :include For more information please visit https://developers.klaviyo.com/en/
|
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
|
2784
2857
|
# @return [Array<(Hash<String, Object>, Integer, Hash)>] Hash<String, Object> data, response status code and response headers
|
2785
|
-
def
|
2858
|
+
def get_bulk_update_variants_job_with_http_info(job_id, opts = {})
|
2786
2859
|
if @api_client.config.debugging
|
2787
|
-
@api_client.config.logger.debug 'Calling API: CatalogsApi.
|
2860
|
+
@api_client.config.logger.debug 'Calling API: CatalogsApi.get_bulk_update_variants_job ...'
|
2788
2861
|
end
|
2789
2862
|
# verify the required parameter 'job_id' is set
|
2790
2863
|
if @api_client.config.client_side_validation && job_id.nil?
|
2791
|
-
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"
|
2792
2865
|
end
|
2793
2866
|
allowable_values = ["status", "created_at", "total_count", "completed_count", "failed_count", "completed_at", "errors", "expires_at"]
|
2794
|
-
if @api_client.config.client_side_validation && opts[:'
|
2795
|
-
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}"
|
2796
2869
|
end
|
2797
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"]
|
2798
2871
|
if @api_client.config.client_side_validation && opts[:'fields_catalog_variant'] && !opts[:'fields_catalog_variant'].all? { |item| allowable_values.include?(item) }
|
@@ -2803,18 +2876,18 @@ module KlaviyoAPI
|
|
2803
2876
|
fail ArgumentError, "invalid value for \"include\", must include one of #{allowable_values}"
|
2804
2877
|
end
|
2805
2878
|
# resource path
|
2806
|
-
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))
|
2807
2880
|
|
2808
2881
|
# query parameters
|
2809
2882
|
query_params = opts[:query_params] || {}
|
2810
|
-
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?
|
2811
2884
|
query_params[:'fields[catalog-variant]'] = @api_client.build_collection_param(opts[:'fields_catalog_variant'], :csv) if !opts[:'fields_catalog_variant'].nil?
|
2812
2885
|
query_params[:'include'] = @api_client.build_collection_param(opts[:'include'], :csv) if !opts[:'include'].nil?
|
2813
2886
|
|
2814
2887
|
# header parameters
|
2815
2888
|
header_params = opts[:header_params] || {}
|
2816
2889
|
# klaviyo api revision
|
2817
|
-
header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "
|
2890
|
+
header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2025-04-15"
|
2818
2891
|
# HTTP header 'Accept' (if needed)
|
2819
2892
|
header_params['Accept'] = @api_client.select_header_accept(['application/vnd.api+json'])
|
2820
2893
|
|
@@ -2831,7 +2904,7 @@ module KlaviyoAPI
|
|
2831
2904
|
auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key', 'OAuth']
|
2832
2905
|
|
2833
2906
|
new_options = opts.merge(
|
2834
|
-
:operation => :"CatalogsApi.
|
2907
|
+
:operation => :"CatalogsApi.get_bulk_update_variants_job",
|
2835
2908
|
:header_params => header_params,
|
2836
2909
|
:query_params => query_params,
|
2837
2910
|
:form_params => form_params,
|
@@ -2842,57 +2915,63 @@ module KlaviyoAPI
|
|
2842
2915
|
|
2843
2916
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
2844
2917
|
if @api_client.config.debugging
|
2845
|
-
@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}"
|
2846
2919
|
end
|
2847
2920
|
return data, status_code, headers
|
2848
2921
|
end
|
2849
2922
|
|
2850
|
-
# alias of `
|
2851
|
-
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
|
2852
2925
|
|
2853
|
-
#
|
2854
|
-
|
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`
|
2855
2931
|
# @param [Hash] opts the optional parameters
|
2856
|
-
# @option opts [Array<String>] :
|
2857
|
-
# @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/
|
2858
|
-
# @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/
|
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
|
2859
2935
|
# @return [Hash<String, Object>]
|
2860
|
-
def
|
2861
|
-
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)
|
2862
2938
|
data
|
2863
2939
|
end
|
2864
2940
|
|
2865
|
-
# alias of `
|
2866
|
-
alias
|
2941
|
+
# alias of `get_bulk_update_variants_jobs`
|
2942
|
+
alias get_update_variants_jobs get_bulk_update_variants_jobs
|
2867
2943
|
|
2868
|
-
#
|
2869
|
-
|
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`
|
2870
2949
|
# @param [Hash] opts the optional parameters
|
2871
|
-
# @option opts [Array<String>] :
|
2872
|
-
# @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/
|
2873
|
-
# @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/
|
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
|
2874
2953
|
# @return [Array<(Hash<String, Object>, Integer, Hash)>] Hash<String, Object> data, response status code and response headers
|
2875
|
-
def
|
2954
|
+
def get_bulk_update_variants_jobs_with_http_info(opts = {})
|
2876
2955
|
if @api_client.config.debugging
|
2877
|
-
@api_client.config.logger.debug 'Calling API: CatalogsApi.
|
2956
|
+
@api_client.config.logger.debug 'Calling API: CatalogsApi.get_bulk_update_variants_jobs ...'
|
2878
2957
|
end
|
2879
2958
|
allowable_values = ["status", "created_at", "total_count", "completed_count", "failed_count", "completed_at", "errors", "expires_at"]
|
2880
|
-
if @api_client.config.client_side_validation && opts[:'
|
2881
|
-
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}"
|
2882
2961
|
end
|
2883
2962
|
# resource path
|
2884
|
-
local_var_path = '/api/catalog-variant-bulk-
|
2963
|
+
local_var_path = '/api/catalog-variant-bulk-update-jobs'
|
2885
2964
|
|
2886
2965
|
# query parameters
|
2887
2966
|
query_params = opts[:query_params] || {}
|
2888
|
-
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?
|
2889
2968
|
query_params[:'filter'] = opts[:'filter'] if !opts[:'filter'].nil?
|
2890
2969
|
query_params[:'page[cursor]'] = opts[:'page_cursor'] if !opts[:'page_cursor'].nil?
|
2891
2970
|
|
2892
2971
|
# header parameters
|
2893
2972
|
header_params = opts[:header_params] || {}
|
2894
2973
|
# klaviyo api revision
|
2895
|
-
header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "
|
2974
|
+
header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2025-04-15"
|
2896
2975
|
# HTTP header 'Accept' (if needed)
|
2897
2976
|
header_params['Accept'] = @api_client.select_header_accept(['application/vnd.api+json'])
|
2898
2977
|
|
@@ -2909,7 +2988,7 @@ module KlaviyoAPI
|
|
2909
2988
|
auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key', 'OAuth']
|
2910
2989
|
|
2911
2990
|
new_options = opts.merge(
|
2912
|
-
:operation => :"CatalogsApi.
|
2991
|
+
:operation => :"CatalogsApi.get_bulk_update_variants_jobs",
|
2913
2992
|
:header_params => header_params,
|
2914
2993
|
:query_params => query_params,
|
2915
2994
|
:form_params => form_params,
|
@@ -2920,57 +2999,64 @@ module KlaviyoAPI
|
|
2920
2999
|
|
2921
3000
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
2922
3001
|
if @api_client.config.debugging
|
2923
|
-
@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}"
|
2924
3003
|
end
|
2925
3004
|
return data, status_code, headers
|
2926
3005
|
end
|
2927
3006
|
|
2928
|
-
# alias of `
|
2929
|
-
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
|
2930
3009
|
|
2931
|
-
#
|
2932
|
-
|
2933
|
-
|
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`
|
2934
3015
|
# @param [Hash] opts the optional parameters
|
2935
|
-
# @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
|
2936
3020
|
# @return [Hash<String, Object>]
|
2937
|
-
def
|
2938
|
-
data, _status_code, _headers =
|
3021
|
+
def get_catalog_categories(opts = {})
|
3022
|
+
data, _status_code, _headers = get_catalog_categories_with_http_info(opts)
|
2939
3023
|
data
|
2940
3024
|
end
|
2941
3025
|
|
2942
|
-
#
|
2943
|
-
|
2944
|
-
|
2945
|
-
# Get Delete Categories Job
|
2946
|
-
# 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`
|
2947
|
-
# @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`
|
2948
3028
|
# @param [Hash] opts the optional parameters
|
2949
|
-
# @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
|
2950
3033
|
# @return [Array<(Hash<String, Object>, Integer, Hash)>] Hash<String, Object> data, response status code and response headers
|
2951
|
-
def
|
3034
|
+
def get_catalog_categories_with_http_info(opts = {})
|
2952
3035
|
if @api_client.config.debugging
|
2953
|
-
@api_client.config.logger.debug 'Calling API: CatalogsApi.
|
3036
|
+
@api_client.config.logger.debug 'Calling API: CatalogsApi.get_catalog_categories ...'
|
2954
3037
|
end
|
2955
|
-
|
2956
|
-
if @api_client.config.client_side_validation &&
|
2957
|
-
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}"
|
2958
3041
|
end
|
2959
|
-
allowable_values = ["
|
2960
|
-
if @api_client.config.client_side_validation && opts[:'
|
2961
|
-
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}"
|
2962
3045
|
end
|
2963
3046
|
# resource path
|
2964
|
-
local_var_path = '/api/catalog-
|
3047
|
+
local_var_path = '/api/catalog-categories'
|
2965
3048
|
|
2966
3049
|
# query parameters
|
2967
3050
|
query_params = opts[:query_params] || {}
|
2968
|
-
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?
|
2969
3055
|
|
2970
3056
|
# header parameters
|
2971
3057
|
header_params = opts[:header_params] || {}
|
2972
3058
|
# klaviyo api revision
|
2973
|
-
header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "
|
3059
|
+
header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2025-04-15"
|
2974
3060
|
# HTTP header 'Accept' (if needed)
|
2975
3061
|
header_params['Accept'] = @api_client.select_header_accept(['application/vnd.api+json'])
|
2976
3062
|
|
@@ -2987,7 +3073,7 @@ module KlaviyoAPI
|
|
2987
3073
|
auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key', 'OAuth']
|
2988
3074
|
|
2989
3075
|
new_options = opts.merge(
|
2990
|
-
:operation => :"CatalogsApi.
|
3076
|
+
:operation => :"CatalogsApi.get_catalog_categories",
|
2991
3077
|
:header_params => header_params,
|
2992
3078
|
:query_params => query_params,
|
2993
3079
|
:form_params => form_params,
|
@@ -2998,57 +3084,51 @@ module KlaviyoAPI
|
|
2998
3084
|
|
2999
3085
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
3000
3086
|
if @api_client.config.debugging
|
3001
|
-
@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}"
|
3002
3088
|
end
|
3003
3089
|
return data, status_code, headers
|
3004
3090
|
end
|
3005
3091
|
|
3006
|
-
#
|
3007
|
-
|
3008
|
-
|
3009
|
-
# Get Delete Categories Jobs
|
3010
|
-
# 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`.
|
3011
3095
|
# @param [Hash] opts the optional parameters
|
3012
|
-
# @option opts [Array<String>] :
|
3013
|
-
# @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2024-10-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`status`: `equals`
|
3014
|
-
# @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-10-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
|
3015
3097
|
# @return [Hash<String, Object>]
|
3016
|
-
def
|
3017
|
-
data, _status_code, _headers =
|
3098
|
+
def get_catalog_category(id, opts = {})
|
3099
|
+
data, _status_code, _headers = get_catalog_category_with_http_info(id, opts)
|
3018
3100
|
data
|
3019
3101
|
end
|
3020
3102
|
|
3021
|
-
#
|
3022
|
-
|
3023
|
-
|
3024
|
-
# Get Delete Categories Jobs
|
3025
|
-
# 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`.
|
3026
3106
|
# @param [Hash] opts the optional parameters
|
3027
|
-
# @option opts [Array<String>] :
|
3028
|
-
# @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2024-10-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`status`: `equals`
|
3029
|
-
# @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-10-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
|
3030
3108
|
# @return [Array<(Hash<String, Object>, Integer, Hash)>] Hash<String, Object> data, response status code and response headers
|
3031
|
-
def
|
3109
|
+
def get_catalog_category_with_http_info(id, opts = {})
|
3032
3110
|
if @api_client.config.debugging
|
3033
|
-
@api_client.config.logger.debug 'Calling API: CatalogsApi.
|
3111
|
+
@api_client.config.logger.debug 'Calling API: CatalogsApi.get_catalog_category ...'
|
3034
3112
|
end
|
3035
|
-
|
3036
|
-
if @api_client.config.client_side_validation &&
|
3037
|
-
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}"
|
3038
3120
|
end
|
3039
3121
|
# resource path
|
3040
|
-
local_var_path = '/api/catalog-
|
3122
|
+
local_var_path = '/api/catalog-categories/{id}'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
3041
3123
|
|
3042
3124
|
# query parameters
|
3043
3125
|
query_params = opts[:query_params] || {}
|
3044
|
-
query_params[:'fields[catalog-category
|
3045
|
-
query_params[:'filter'] = opts[:'filter'] if !opts[:'filter'].nil?
|
3046
|
-
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?
|
3047
3127
|
|
3048
3128
|
# header parameters
|
3049
3129
|
header_params = opts[:header_params] || {}
|
3050
3130
|
# klaviyo api revision
|
3051
|
-
header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "
|
3131
|
+
header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2025-04-15"
|
3052
3132
|
# HTTP header 'Accept' (if needed)
|
3053
3133
|
header_params['Accept'] = @api_client.select_header_accept(['application/vnd.api+json'])
|
3054
3134
|
|
@@ -3065,7 +3145,7 @@ module KlaviyoAPI
|
|
3065
3145
|
auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key', 'OAuth']
|
3066
3146
|
|
3067
3147
|
new_options = opts.merge(
|
3068
|
-
:operation => :"CatalogsApi.
|
3148
|
+
:operation => :"CatalogsApi.get_catalog_category",
|
3069
3149
|
:header_params => header_params,
|
3070
3150
|
:query_params => query_params,
|
3071
3151
|
:form_params => form_params,
|
@@ -3076,57 +3156,158 @@ module KlaviyoAPI
|
|
3076
3156
|
|
3077
3157
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
3078
3158
|
if @api_client.config.debugging
|
3079
|
-
@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}"
|
3080
3160
|
end
|
3081
3161
|
return data, status_code, headers
|
3082
3162
|
end
|
3083
3163
|
|
3084
|
-
#
|
3085
|
-
|
3086
|
-
|
3087
|
-
# Get Delete Variants Job
|
3088
|
-
# 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`
|
3089
|
-
# @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`.
|
3090
3167
|
# @param [Hash] opts the optional parameters
|
3091
|
-
# @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
|
3092
3171
|
# @return [Hash<String, Object>]
|
3093
|
-
def
|
3094
|
-
data, _status_code, _headers =
|
3172
|
+
def get_catalog_item(id, opts = {})
|
3173
|
+
data, _status_code, _headers = get_catalog_item_with_http_info(id, opts)
|
3095
3174
|
data
|
3096
3175
|
end
|
3097
3176
|
|
3098
|
-
#
|
3099
|
-
|
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`.
|
3180
|
+
# @param [Hash] opts the optional parameters
|
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
|
3184
|
+
# @return [Array<(Hash<String, Object>, Integer, Hash)>] Hash<String, Object> data, response status code and response headers
|
3185
|
+
def get_catalog_item_with_http_info(id, opts = {})
|
3186
|
+
if @api_client.config.debugging
|
3187
|
+
@api_client.config.logger.debug 'Calling API: CatalogsApi.get_catalog_item ...'
|
3188
|
+
end
|
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"
|
3192
|
+
end
|
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}"
|
3204
|
+
end
|
3205
|
+
# resource path
|
3206
|
+
local_var_path = '/api/catalog-items/{id}'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
3207
|
+
|
3208
|
+
# query parameters
|
3209
|
+
query_params = opts[:query_params] || {}
|
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?
|
3100
3213
|
|
3101
|
-
|
3102
|
-
|
3103
|
-
|
3214
|
+
# header parameters
|
3215
|
+
header_params = opts[:header_params] || {}
|
3216
|
+
# klaviyo api revision
|
3217
|
+
header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2025-04-15"
|
3218
|
+
# HTTP header 'Accept' (if needed)
|
3219
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/vnd.api+json'])
|
3220
|
+
|
3221
|
+
# form parameters
|
3222
|
+
form_params = opts[:form_params] || {}
|
3223
|
+
|
3224
|
+
# http body (model)
|
3225
|
+
post_body = opts[:debug_body]
|
3226
|
+
|
3227
|
+
# return_type
|
3228
|
+
return_type = opts[:debug_return_type] || 'Hash<String, Object>'
|
3229
|
+
|
3230
|
+
# auth_names
|
3231
|
+
auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key', 'OAuth']
|
3232
|
+
|
3233
|
+
new_options = opts.merge(
|
3234
|
+
:operation => :"CatalogsApi.get_catalog_item",
|
3235
|
+
:header_params => header_params,
|
3236
|
+
:query_params => query_params,
|
3237
|
+
:form_params => form_params,
|
3238
|
+
:body => post_body,
|
3239
|
+
:auth_names => auth_names,
|
3240
|
+
:return_type => return_type
|
3241
|
+
)
|
3242
|
+
|
3243
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
3244
|
+
if @api_client.config.debugging
|
3245
|
+
@api_client.config.logger.debug "API called: CatalogsApi#get_catalog_item\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
3246
|
+
end
|
3247
|
+
return data, status_code, headers
|
3248
|
+
end
|
3249
|
+
|
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`
|
3252
|
+
# @param [Hash] opts the optional parameters
|
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
|
3259
|
+
# @return [Hash<String, Object>]
|
3260
|
+
def get_catalog_items(opts = {})
|
3261
|
+
data, _status_code, _headers = get_catalog_items_with_http_info(opts)
|
3262
|
+
data
|
3263
|
+
end
|
3264
|
+
|
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`
|
3104
3267
|
# @param [Hash] opts the optional parameters
|
3105
|
-
# @option opts [Array<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
|
3106
3274
|
# @return [Array<(Hash<String, Object>, Integer, Hash)>] Hash<String, Object> data, response status code and response headers
|
3107
|
-
def
|
3275
|
+
def get_catalog_items_with_http_info(opts = {})
|
3108
3276
|
if @api_client.config.debugging
|
3109
|
-
@api_client.config.logger.debug 'Calling API: CatalogsApi.
|
3277
|
+
@api_client.config.logger.debug 'Calling API: CatalogsApi.get_catalog_items ...'
|
3110
3278
|
end
|
3111
|
-
|
3112
|
-
if @api_client.config.client_side_validation &&
|
3113
|
-
fail ArgumentError, "
|
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}"
|
3114
3282
|
end
|
3115
|
-
allowable_values = ["
|
3116
|
-
if @api_client.config.client_side_validation && opts[:'
|
3117
|
-
fail ArgumentError, "invalid value for \"
|
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}"
|
3118
3294
|
end
|
3119
3295
|
# resource path
|
3120
|
-
local_var_path = '/api/catalog-
|
3296
|
+
local_var_path = '/api/catalog-items'
|
3121
3297
|
|
3122
3298
|
# query parameters
|
3123
3299
|
query_params = opts[:query_params] || {}
|
3124
|
-
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?
|
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?
|
3304
|
+
query_params[:'page[cursor]'] = opts[:'page_cursor'] if !opts[:'page_cursor'].nil?
|
3305
|
+
query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
|
3125
3306
|
|
3126
3307
|
# header parameters
|
3127
3308
|
header_params = opts[:header_params] || {}
|
3128
3309
|
# klaviyo api revision
|
3129
|
-
header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "
|
3310
|
+
header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2025-04-15"
|
3130
3311
|
# HTTP header 'Accept' (if needed)
|
3131
3312
|
header_params['Accept'] = @api_client.select_header_accept(['application/vnd.api+json'])
|
3132
3313
|
|
@@ -3143,7 +3324,7 @@ module KlaviyoAPI
|
|
3143
3324
|
auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key', 'OAuth']
|
3144
3325
|
|
3145
3326
|
new_options = opts.merge(
|
3146
|
-
:operation => :"CatalogsApi.
|
3327
|
+
:operation => :"CatalogsApi.get_catalog_items",
|
3147
3328
|
:header_params => header_params,
|
3148
3329
|
:query_params => query_params,
|
3149
3330
|
:form_params => form_params,
|
@@ -3154,57 +3335,51 @@ module KlaviyoAPI
|
|
3154
3335
|
|
3155
3336
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
3156
3337
|
if @api_client.config.debugging
|
3157
|
-
@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}"
|
3158
3339
|
end
|
3159
3340
|
return data, status_code, headers
|
3160
3341
|
end
|
3161
3342
|
|
3162
|
-
#
|
3163
|
-
|
3164
|
-
|
3165
|
-
# Get Delete Variants Jobs
|
3166
|
-
# 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`
|
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`.
|
3167
3346
|
# @param [Hash] opts the optional parameters
|
3168
|
-
# @option opts [Array<String>] :
|
3169
|
-
# @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2024-10-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`status`: `equals`
|
3170
|
-
# @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-10-15/reference/api-overview#pagination
|
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
|
3171
3348
|
# @return [Hash<String, Object>]
|
3172
|
-
def
|
3173
|
-
data, _status_code, _headers =
|
3349
|
+
def get_catalog_variant(id, opts = {})
|
3350
|
+
data, _status_code, _headers = get_catalog_variant_with_http_info(id, opts)
|
3174
3351
|
data
|
3175
3352
|
end
|
3176
3353
|
|
3177
|
-
#
|
3178
|
-
|
3179
|
-
|
3180
|
-
# Get Delete Variants Jobs
|
3181
|
-
# 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`
|
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`.
|
3182
3357
|
# @param [Hash] opts the optional parameters
|
3183
|
-
# @option opts [Array<String>] :
|
3184
|
-
# @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2024-10-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`status`: `equals`
|
3185
|
-
# @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-10-15/reference/api-overview#pagination
|
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
|
3186
3359
|
# @return [Array<(Hash<String, Object>, Integer, Hash)>] Hash<String, Object> data, response status code and response headers
|
3187
|
-
def
|
3360
|
+
def get_catalog_variant_with_http_info(id, opts = {})
|
3188
3361
|
if @api_client.config.debugging
|
3189
|
-
@api_client.config.logger.debug 'Calling API: CatalogsApi.
|
3362
|
+
@api_client.config.logger.debug 'Calling API: CatalogsApi.get_catalog_variant ...'
|
3190
3363
|
end
|
3191
|
-
|
3192
|
-
if @api_client.config.client_side_validation &&
|
3193
|
-
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}"
|
3194
3371
|
end
|
3195
3372
|
# resource path
|
3196
|
-
local_var_path = '/api/catalog-
|
3373
|
+
local_var_path = '/api/catalog-variants/{id}'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
3197
3374
|
|
3198
3375
|
# query parameters
|
3199
3376
|
query_params = opts[:query_params] || {}
|
3200
|
-
query_params[:'fields[catalog-variant
|
3201
|
-
query_params[:'filter'] = opts[:'filter'] if !opts[:'filter'].nil?
|
3202
|
-
query_params[:'page[cursor]'] = opts[:'page_cursor'] if !opts[:'page_cursor'].nil?
|
3377
|
+
query_params[:'fields[catalog-variant]'] = @api_client.build_collection_param(opts[:'fields_catalog_variant'], :csv) if !opts[:'fields_catalog_variant'].nil?
|
3203
3378
|
|
3204
3379
|
# header parameters
|
3205
3380
|
header_params = opts[:header_params] || {}
|
3206
3381
|
# klaviyo api revision
|
3207
|
-
header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "
|
3382
|
+
header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2025-04-15"
|
3208
3383
|
# HTTP header 'Accept' (if needed)
|
3209
3384
|
header_params['Accept'] = @api_client.select_header_accept(['application/vnd.api+json'])
|
3210
3385
|
|
@@ -3221,7 +3396,7 @@ module KlaviyoAPI
|
|
3221
3396
|
auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key', 'OAuth']
|
3222
3397
|
|
3223
3398
|
new_options = opts.merge(
|
3224
|
-
:operation => :"CatalogsApi.
|
3399
|
+
:operation => :"CatalogsApi.get_catalog_variant",
|
3225
3400
|
:header_params => header_params,
|
3226
3401
|
:query_params => query_params,
|
3227
3402
|
:form_params => form_params,
|
@@ -3232,53 +3407,58 @@ module KlaviyoAPI
|
|
3232
3407
|
|
3233
3408
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
3234
3409
|
if @api_client.config.debugging
|
3235
|
-
@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}"
|
3236
3411
|
end
|
3237
3412
|
return data, status_code, headers
|
3238
3413
|
end
|
3239
3414
|
|
3240
|
-
#
|
3241
|
-
|
3242
|
-
|
3243
|
-
# Get Item IDs for Catalog Category
|
3244
|
-
# 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`
|
3245
|
-
# @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`
|
3246
3417
|
# @param [Hash] opts the optional parameters
|
3247
|
-
# @option opts [String] :
|
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
|
3248
3422
|
# @return [Hash<String, Object>]
|
3249
|
-
def
|
3250
|
-
data, _status_code, _headers =
|
3423
|
+
def get_catalog_variants(opts = {})
|
3424
|
+
data, _status_code, _headers = get_catalog_variants_with_http_info(opts)
|
3251
3425
|
data
|
3252
3426
|
end
|
3253
3427
|
|
3254
|
-
#
|
3255
|
-
|
3256
|
-
|
3257
|
-
# Get Item IDs for Catalog Category
|
3258
|
-
# 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`
|
3259
|
-
# @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`
|
3260
3430
|
# @param [Hash] opts the optional parameters
|
3261
|
-
# @option opts [String] :
|
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
|
3262
3435
|
# @return [Array<(Hash<String, Object>, Integer, Hash)>] Hash<String, Object> data, response status code and response headers
|
3263
|
-
def
|
3436
|
+
def get_catalog_variants_with_http_info(opts = {})
|
3264
3437
|
if @api_client.config.debugging
|
3265
|
-
@api_client.config.logger.debug 'Calling API: CatalogsApi.
|
3438
|
+
@api_client.config.logger.debug 'Calling API: CatalogsApi.get_catalog_variants ...'
|
3266
3439
|
end
|
3267
|
-
|
3268
|
-
if @api_client.config.client_side_validation &&
|
3269
|
-
fail ArgumentError, "
|
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"]
|
3441
|
+
if @api_client.config.client_side_validation && opts[:'fields_catalog_variant'] && !opts[:'fields_catalog_variant'].all? { |item| allowable_values.include?(item) }
|
3442
|
+
fail ArgumentError, "invalid value for \"fields_catalog_variant\", must include one of #{allowable_values}"
|
3443
|
+
end
|
3444
|
+
allowable_values = ["created", "-created"]
|
3445
|
+
if @api_client.config.client_side_validation && opts[:'sort'] && !allowable_values.include?(opts[:'sort'])
|
3446
|
+
fail ArgumentError, "invalid value for \"sort\", must be one of #{allowable_values}"
|
3270
3447
|
end
|
3271
3448
|
# resource path
|
3272
|
-
local_var_path = '/api/catalog-
|
3449
|
+
local_var_path = '/api/catalog-variants'
|
3273
3450
|
|
3274
3451
|
# query parameters
|
3275
3452
|
query_params = opts[:query_params] || {}
|
3453
|
+
query_params[:'fields[catalog-variant]'] = @api_client.build_collection_param(opts[:'fields_catalog_variant'], :csv) if !opts[:'fields_catalog_variant'].nil?
|
3454
|
+
query_params[:'filter'] = opts[:'filter'] if !opts[:'filter'].nil?
|
3276
3455
|
query_params[:'page[cursor]'] = opts[:'page_cursor'] if !opts[:'page_cursor'].nil?
|
3456
|
+
query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
|
3277
3457
|
|
3278
3458
|
# header parameters
|
3279
3459
|
header_params = opts[:header_params] || {}
|
3280
3460
|
# klaviyo api revision
|
3281
|
-
header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "
|
3461
|
+
header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2025-04-15"
|
3282
3462
|
# HTTP header 'Accept' (if needed)
|
3283
3463
|
header_params['Accept'] = @api_client.select_header_accept(['application/vnd.api+json'])
|
3284
3464
|
|
@@ -3295,7 +3475,7 @@ module KlaviyoAPI
|
|
3295
3475
|
auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key', 'OAuth']
|
3296
3476
|
|
3297
3477
|
new_options = opts.merge(
|
3298
|
-
:operation => :"CatalogsApi.
|
3478
|
+
:operation => :"CatalogsApi.get_catalog_variants",
|
3299
3479
|
:header_params => header_params,
|
3300
3480
|
:query_params => query_params,
|
3301
3481
|
:form_params => form_params,
|
@@ -3306,80 +3486,63 @@ module KlaviyoAPI
|
|
3306
3486
|
|
3307
3487
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
3308
3488
|
if @api_client.config.debugging
|
3309
|
-
@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}"
|
3310
3490
|
end
|
3311
3491
|
return data, status_code, headers
|
3312
3492
|
end
|
3313
3493
|
|
3314
|
-
#
|
3315
|
-
|
3316
|
-
|
3317
|
-
# Get Items for Catalog Category
|
3318
|
-
# 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`
|
3319
|
-
# @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`.
|
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`.
|
3320
3497
|
# @param [Hash] opts the optional parameters
|
3321
|
-
# @option opts [Array<String>] :
|
3322
|
-
# @option opts [
|
3323
|
-
# @option opts [String] :
|
3324
|
-
# @option opts [
|
3325
|
-
# @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-10-15/reference/api-overview#pagination
|
3326
|
-
# @option opts [String] :sort For more information please visit https://developers.klaviyo.com/en/v2024-10-15/reference/api-overview#sorting
|
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
|
3327
3502
|
# @return [Hash<String, Object>]
|
3328
|
-
def
|
3329
|
-
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)
|
3330
3505
|
data
|
3331
3506
|
end
|
3332
3507
|
|
3333
|
-
# alias of `
|
3334
|
-
alias
|
3508
|
+
# alias of `get_categories_for_catalog_item`
|
3509
|
+
alias get_catalog_item_categories get_categories_for_catalog_item
|
3335
3510
|
|
3336
|
-
# Get
|
3337
|
-
# Get all
|
3338
|
-
# @param id [String] The catalog
|
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`.
|
3339
3514
|
# @param [Hash] opts the optional parameters
|
3340
|
-
# @option opts [Array<String>] :
|
3341
|
-
# @option opts [
|
3342
|
-
# @option opts [String] :
|
3343
|
-
# @option opts [
|
3344
|
-
# @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-10-15/reference/api-overview#pagination
|
3345
|
-
# @option opts [String] :sort For more information please visit https://developers.klaviyo.com/en/v2024-10-15/reference/api-overview#sorting
|
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
|
3346
3519
|
# @return [Array<(Hash<String, Object>, Integer, Hash)>] Hash<String, Object> data, response status code and response headers
|
3347
|
-
def
|
3520
|
+
def get_categories_for_catalog_item_with_http_info(id, opts = {})
|
3348
3521
|
if @api_client.config.debugging
|
3349
|
-
@api_client.config.logger.debug 'Calling API: CatalogsApi.
|
3350
|
-
end
|
3351
|
-
allowable_values = ["external_id", "title", "description", "price", "url", "image_full_url", "image_thumbnail_url", "images", "custom_metadata", "published", "created", "updated"]
|
3352
|
-
if @api_client.config.client_side_validation && opts[:'fields_catalog_item'] && !opts[:'fields_catalog_item'].all? { |item| allowable_values.include?(item) }
|
3353
|
-
fail ArgumentError, "invalid value for \"fields_catalog_item\", must include one of #{allowable_values}"
|
3354
|
-
end
|
3355
|
-
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"]
|
3356
|
-
if @api_client.config.client_side_validation && opts[:'fields_catalog_variant'] && !opts[:'fields_catalog_variant'].all? { |item| allowable_values.include?(item) }
|
3357
|
-
fail ArgumentError, "invalid value for \"fields_catalog_variant\", must include one of #{allowable_values}"
|
3522
|
+
@api_client.config.logger.debug 'Calling API: CatalogsApi.get_categories_for_catalog_item ...'
|
3358
3523
|
end
|
3359
|
-
allowable_values = ["
|
3360
|
-
if @api_client.config.client_side_validation && opts[:'
|
3361
|
-
fail ArgumentError, "invalid value for \"
|
3524
|
+
allowable_values = ["external_id", "name", "updated"]
|
3525
|
+
if @api_client.config.client_side_validation && opts[:'fields_catalog_category'] && !opts[:'fields_catalog_category'].all? { |item| allowable_values.include?(item) }
|
3526
|
+
fail ArgumentError, "invalid value for \"fields_catalog_category\", must include one of #{allowable_values}"
|
3362
3527
|
end
|
3363
3528
|
allowable_values = ["created", "-created"]
|
3364
3529
|
if @api_client.config.client_side_validation && opts[:'sort'] && !allowable_values.include?(opts[:'sort'])
|
3365
3530
|
fail ArgumentError, "invalid value for \"sort\", must be one of #{allowable_values}"
|
3366
3531
|
end
|
3367
3532
|
# resource path
|
3368
|
-
local_var_path = '/api/catalog-
|
3533
|
+
local_var_path = '/api/catalog-items/{id}/categories'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
3369
3534
|
|
3370
3535
|
# query parameters
|
3371
3536
|
query_params = opts[:query_params] || {}
|
3372
|
-
query_params[:'fields[catalog-
|
3373
|
-
query_params[:'fields[catalog-variant]'] = @api_client.build_collection_param(opts[:'fields_catalog_variant'], :csv) if !opts[:'fields_catalog_variant'].nil?
|
3537
|
+
query_params[:'fields[catalog-category]'] = @api_client.build_collection_param(opts[:'fields_catalog_category'], :csv) if !opts[:'fields_catalog_category'].nil?
|
3374
3538
|
query_params[:'filter'] = opts[:'filter'] if !opts[:'filter'].nil?
|
3375
|
-
query_params[:'include'] = @api_client.build_collection_param(opts[:'include'], :csv) if !opts[:'include'].nil?
|
3376
3539
|
query_params[:'page[cursor]'] = opts[:'page_cursor'] if !opts[:'page_cursor'].nil?
|
3377
3540
|
query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
|
3378
3541
|
|
3379
3542
|
# header parameters
|
3380
3543
|
header_params = opts[:header_params] || {}
|
3381
3544
|
# klaviyo api revision
|
3382
|
-
header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "
|
3545
|
+
header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2025-04-15"
|
3383
3546
|
# HTTP header 'Accept' (if needed)
|
3384
3547
|
header_params['Accept'] = @api_client.select_header_accept(['application/vnd.api+json'])
|
3385
3548
|
|
@@ -3396,7 +3559,7 @@ module KlaviyoAPI
|
|
3396
3559
|
auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key', 'OAuth']
|
3397
3560
|
|
3398
3561
|
new_options = opts.merge(
|
3399
|
-
:operation => :"CatalogsApi.
|
3562
|
+
:operation => :"CatalogsApi.get_categories_for_catalog_item",
|
3400
3563
|
:header_params => header_params,
|
3401
3564
|
:query_params => query_params,
|
3402
3565
|
:form_params => form_params,
|
@@ -3407,71 +3570,59 @@ module KlaviyoAPI
|
|
3407
3570
|
|
3408
3571
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
3409
3572
|
if @api_client.config.debugging
|
3410
|
-
@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}"
|
3411
3574
|
end
|
3412
3575
|
return data, status_code, headers
|
3413
3576
|
end
|
3414
3577
|
|
3415
|
-
# alias of `
|
3416
|
-
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
|
3417
3580
|
|
3418
|
-
# Get
|
3419
|
-
# Get
|
3420
|
-
# @param
|
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`.
|
3421
3584
|
# @param [Hash] opts the optional parameters
|
3422
|
-
# @option opts [
|
3423
|
-
# @option opts [
|
3424
|
-
# @option opts [
|
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
|
3425
3588
|
# @return [Hash<String, Object>]
|
3426
|
-
def
|
3427
|
-
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)
|
3428
3591
|
data
|
3429
3592
|
end
|
3430
3593
|
|
3431
|
-
# alias of `
|
3432
|
-
alias
|
3594
|
+
# alias of `get_category_ids_for_catalog_item`
|
3595
|
+
alias get_catalog_item_relationships_categories get_category_ids_for_catalog_item
|
3433
3596
|
|
3434
|
-
# Get
|
3435
|
-
# Get
|
3436
|
-
# @param
|
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`.
|
3437
3600
|
# @param [Hash] opts the optional parameters
|
3438
|
-
# @option opts [
|
3439
|
-
# @option opts [
|
3440
|
-
# @option opts [
|
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
|
3441
3604
|
# @return [Array<(Hash<String, Object>, Integer, Hash)>] Hash<String, Object> data, response status code and response headers
|
3442
|
-
def
|
3605
|
+
def get_category_ids_for_catalog_item_with_http_info(id, opts = {})
|
3443
3606
|
if @api_client.config.debugging
|
3444
|
-
@api_client.config.logger.debug 'Calling API: CatalogsApi.
|
3445
|
-
end
|
3446
|
-
# verify the required parameter 'job_id' is set
|
3447
|
-
if @api_client.config.client_side_validation && job_id.nil?
|
3448
|
-
fail ArgumentError, "Missing the required parameter 'job_id' when calling CatalogsApi.get_update_categories_job"
|
3449
|
-
end
|
3450
|
-
allowable_values = ["status", "created_at", "total_count", "completed_count", "failed_count", "completed_at", "errors", "expires_at"]
|
3451
|
-
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) }
|
3452
|
-
fail ArgumentError, "invalid value for \"fields_catalog_category_bulk_update_job\", must include one of #{allowable_values}"
|
3453
|
-
end
|
3454
|
-
allowable_values = ["external_id", "name", "updated"]
|
3455
|
-
if @api_client.config.client_side_validation && opts[:'fields_catalog_category'] && !opts[:'fields_catalog_category'].all? { |item| allowable_values.include?(item) }
|
3456
|
-
fail ArgumentError, "invalid value for \"fields_catalog_category\", must include one of #{allowable_values}"
|
3607
|
+
@api_client.config.logger.debug 'Calling API: CatalogsApi.get_category_ids_for_catalog_item ...'
|
3457
3608
|
end
|
3458
|
-
allowable_values = ["
|
3459
|
-
if @api_client.config.client_side_validation && opts[:'
|
3460
|
-
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}"
|
3461
3612
|
end
|
3462
3613
|
# resource path
|
3463
|
-
local_var_path = '/api/catalog-
|
3614
|
+
local_var_path = '/api/catalog-items/{id}/relationships/categories'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
3464
3615
|
|
3465
3616
|
# query parameters
|
3466
3617
|
query_params = opts[:query_params] || {}
|
3467
|
-
query_params[:'
|
3468
|
-
query_params[:'
|
3469
|
-
query_params[:'
|
3618
|
+
query_params[:'filter'] = opts[:'filter'] if !opts[:'filter'].nil?
|
3619
|
+
query_params[:'page[cursor]'] = opts[:'page_cursor'] if !opts[:'page_cursor'].nil?
|
3620
|
+
query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
|
3470
3621
|
|
3471
3622
|
# header parameters
|
3472
3623
|
header_params = opts[:header_params] || {}
|
3473
3624
|
# klaviyo api revision
|
3474
|
-
header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "
|
3625
|
+
header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2025-04-15"
|
3475
3626
|
# HTTP header 'Accept' (if needed)
|
3476
3627
|
header_params['Accept'] = @api_client.select_header_accept(['application/vnd.api+json'])
|
3477
3628
|
|
@@ -3488,7 +3639,7 @@ module KlaviyoAPI
|
|
3488
3639
|
auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key', 'OAuth']
|
3489
3640
|
|
3490
3641
|
new_options = opts.merge(
|
3491
|
-
:operation => :"CatalogsApi.
|
3642
|
+
:operation => :"CatalogsApi.get_category_ids_for_catalog_item",
|
3492
3643
|
:header_params => header_params,
|
3493
3644
|
:query_params => query_params,
|
3494
3645
|
:form_params => form_params,
|
@@ -3499,57 +3650,59 @@ module KlaviyoAPI
|
|
3499
3650
|
|
3500
3651
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
3501
3652
|
if @api_client.config.debugging
|
3502
|
-
@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}"
|
3503
3654
|
end
|
3504
3655
|
return data, status_code, headers
|
3505
3656
|
end
|
3506
3657
|
|
3507
|
-
# alias of `
|
3508
|
-
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
|
3509
3660
|
|
3510
|
-
# Get
|
3511
|
-
# Get all
|
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`.
|
3512
3664
|
# @param [Hash] opts the optional parameters
|
3513
|
-
# @option opts [
|
3514
|
-
# @option opts [String] :
|
3515
|
-
# @option opts [String] :
|
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
|
3516
3668
|
# @return [Hash<String, Object>]
|
3517
|
-
def
|
3518
|
-
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)
|
3519
3671
|
data
|
3520
3672
|
end
|
3521
3673
|
|
3522
|
-
# alias of `
|
3523
|
-
alias
|
3674
|
+
# alias of `get_item_ids_for_catalog_category`
|
3675
|
+
alias get_catalog_category_relationships_items get_item_ids_for_catalog_category
|
3524
3676
|
|
3525
|
-
# Get
|
3526
|
-
# Get all
|
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`.
|
3527
3680
|
# @param [Hash] opts the optional parameters
|
3528
|
-
# @option opts [
|
3529
|
-
# @option opts [String] :
|
3530
|
-
# @option opts [String] :
|
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
|
3531
3684
|
# @return [Array<(Hash<String, Object>, Integer, Hash)>] Hash<String, Object> data, response status code and response headers
|
3532
|
-
def
|
3685
|
+
def get_item_ids_for_catalog_category_with_http_info(id, opts = {})
|
3533
3686
|
if @api_client.config.debugging
|
3534
|
-
@api_client.config.logger.debug 'Calling API: CatalogsApi.
|
3687
|
+
@api_client.config.logger.debug 'Calling API: CatalogsApi.get_item_ids_for_catalog_category ...'
|
3535
3688
|
end
|
3536
|
-
allowable_values = ["
|
3537
|
-
if @api_client.config.client_side_validation && opts[:'
|
3538
|
-
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}"
|
3539
3692
|
end
|
3540
3693
|
# resource path
|
3541
|
-
local_var_path = '/api/catalog-
|
3694
|
+
local_var_path = '/api/catalog-categories/{id}/relationships/items'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
3542
3695
|
|
3543
3696
|
# query parameters
|
3544
3697
|
query_params = opts[:query_params] || {}
|
3545
|
-
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?
|
3546
3698
|
query_params[:'filter'] = opts[:'filter'] if !opts[:'filter'].nil?
|
3547
3699
|
query_params[:'page[cursor]'] = opts[:'page_cursor'] if !opts[:'page_cursor'].nil?
|
3700
|
+
query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
|
3548
3701
|
|
3549
3702
|
# header parameters
|
3550
3703
|
header_params = opts[:header_params] || {}
|
3551
3704
|
# klaviyo api revision
|
3552
|
-
header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "
|
3705
|
+
header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2025-04-15"
|
3553
3706
|
# HTTP header 'Accept' (if needed)
|
3554
3707
|
header_params['Accept'] = @api_client.select_header_accept(['application/vnd.api+json'])
|
3555
3708
|
|
@@ -3566,7 +3719,7 @@ module KlaviyoAPI
|
|
3566
3719
|
auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key', 'OAuth']
|
3567
3720
|
|
3568
3721
|
new_options = opts.merge(
|
3569
|
-
:operation => :"CatalogsApi.
|
3722
|
+
:operation => :"CatalogsApi.get_item_ids_for_catalog_category",
|
3570
3723
|
:header_params => header_params,
|
3571
3724
|
:query_params => query_params,
|
3572
3725
|
:form_params => form_params,
|
@@ -3577,49 +3730,51 @@ module KlaviyoAPI
|
|
3577
3730
|
|
3578
3731
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
3579
3732
|
if @api_client.config.debugging
|
3580
|
-
@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}"
|
3581
3734
|
end
|
3582
3735
|
return data, status_code, headers
|
3583
3736
|
end
|
3584
3737
|
|
3585
|
-
# alias of `
|
3586
|
-
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
|
3587
3740
|
|
3588
|
-
# Get
|
3589
|
-
# Get
|
3590
|
-
# @param
|
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`.
|
3591
3744
|
# @param [Hash] opts the optional parameters
|
3592
|
-
# @option opts [Array<String>] :
|
3593
|
-
# @option opts [Array<String>] :fields_catalog_variant For more information please visit https://developers.klaviyo.com/en/
|
3594
|
-
# @option opts [
|
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
|
3595
3751
|
# @return [Hash<String, Object>]
|
3596
|
-
def
|
3597
|
-
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)
|
3598
3754
|
data
|
3599
3755
|
end
|
3600
3756
|
|
3601
|
-
# alias of `
|
3602
|
-
alias
|
3757
|
+
# alias of `get_items_for_catalog_category`
|
3758
|
+
alias get_catalog_category_items get_items_for_catalog_category
|
3603
3759
|
|
3604
|
-
# Get
|
3605
|
-
# Get
|
3606
|
-
# @param
|
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`.
|
3607
3763
|
# @param [Hash] opts the optional parameters
|
3608
|
-
# @option opts [Array<String>] :
|
3609
|
-
# @option opts [Array<String>] :fields_catalog_variant For more information please visit https://developers.klaviyo.com/en/
|
3610
|
-
# @option opts [
|
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
|
3611
3770
|
# @return [Array<(Hash<String, Object>, Integer, Hash)>] Hash<String, Object> data, response status code and response headers
|
3612
|
-
def
|
3771
|
+
def get_items_for_catalog_category_with_http_info(id, opts = {})
|
3613
3772
|
if @api_client.config.debugging
|
3614
|
-
@api_client.config.logger.debug 'Calling API: CatalogsApi.
|
3615
|
-
end
|
3616
|
-
# verify the required parameter 'job_id' is set
|
3617
|
-
if @api_client.config.client_side_validation && job_id.nil?
|
3618
|
-
fail ArgumentError, "Missing the required parameter 'job_id' when calling CatalogsApi.get_update_variants_job"
|
3773
|
+
@api_client.config.logger.debug 'Calling API: CatalogsApi.get_items_for_catalog_category ...'
|
3619
3774
|
end
|
3620
|
-
allowable_values = ["
|
3621
|
-
if @api_client.config.client_side_validation && opts[:'
|
3622
|
-
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}"
|
3623
3778
|
end
|
3624
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"]
|
3625
3780
|
if @api_client.config.client_side_validation && opts[:'fields_catalog_variant'] && !opts[:'fields_catalog_variant'].all? { |item| allowable_values.include?(item) }
|
@@ -3629,19 +3784,26 @@ module KlaviyoAPI
|
|
3629
3784
|
if @api_client.config.client_side_validation && opts[:'include'] && !opts[:'include'].all? { |item| allowable_values.include?(item) }
|
3630
3785
|
fail ArgumentError, "invalid value for \"include\", must include one of #{allowable_values}"
|
3631
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}"
|
3790
|
+
end
|
3632
3791
|
# resource path
|
3633
|
-
local_var_path = '/api/catalog-
|
3792
|
+
local_var_path = '/api/catalog-categories/{id}/items'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
3634
3793
|
|
3635
3794
|
# query parameters
|
3636
3795
|
query_params = opts[:query_params] || {}
|
3637
|
-
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?
|
3638
3797
|
query_params[:'fields[catalog-variant]'] = @api_client.build_collection_param(opts[:'fields_catalog_variant'], :csv) if !opts[:'fields_catalog_variant'].nil?
|
3798
|
+
query_params[:'filter'] = opts[:'filter'] if !opts[:'filter'].nil?
|
3639
3799
|
query_params[:'include'] = @api_client.build_collection_param(opts[:'include'], :csv) if !opts[:'include'].nil?
|
3800
|
+
query_params[:'page[cursor]'] = opts[:'page_cursor'] if !opts[:'page_cursor'].nil?
|
3801
|
+
query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
|
3640
3802
|
|
3641
3803
|
# header parameters
|
3642
3804
|
header_params = opts[:header_params] || {}
|
3643
3805
|
# klaviyo api revision
|
3644
|
-
header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "
|
3806
|
+
header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2025-04-15"
|
3645
3807
|
# HTTP header 'Accept' (if needed)
|
3646
3808
|
header_params['Accept'] = @api_client.select_header_accept(['application/vnd.api+json'])
|
3647
3809
|
|
@@ -3658,7 +3820,7 @@ module KlaviyoAPI
|
|
3658
3820
|
auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key', 'OAuth']
|
3659
3821
|
|
3660
3822
|
new_options = opts.merge(
|
3661
|
-
:operation => :"CatalogsApi.
|
3823
|
+
:operation => :"CatalogsApi.get_items_for_catalog_category",
|
3662
3824
|
:header_params => header_params,
|
3663
3825
|
:query_params => query_params,
|
3664
3826
|
:form_params => form_params,
|
@@ -3669,57 +3831,59 @@ module KlaviyoAPI
|
|
3669
3831
|
|
3670
3832
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
3671
3833
|
if @api_client.config.debugging
|
3672
|
-
@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}"
|
3673
3835
|
end
|
3674
3836
|
return data, status_code, headers
|
3675
3837
|
end
|
3676
3838
|
|
3677
|
-
# alias of `
|
3678
|
-
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
|
3679
3841
|
|
3680
|
-
# Get
|
3681
|
-
# Get all
|
3842
|
+
# Get Variant IDs for Catalog Item
|
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`
|
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`.
|
3682
3845
|
# @param [Hash] opts the optional parameters
|
3683
|
-
# @option opts [
|
3684
|
-
# @option opts [String] :
|
3685
|
-
# @option opts [String] :
|
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
|
3686
3849
|
# @return [Hash<String, Object>]
|
3687
|
-
def
|
3688
|
-
data, _status_code, _headers =
|
3850
|
+
def get_variant_ids_for_catalog_item(id, opts = {})
|
3851
|
+
data, _status_code, _headers = get_variant_ids_for_catalog_item_with_http_info(id, opts)
|
3689
3852
|
data
|
3690
3853
|
end
|
3691
3854
|
|
3692
|
-
# alias of `
|
3693
|
-
alias
|
3855
|
+
# alias of `get_variant_ids_for_catalog_item`
|
3856
|
+
alias get_catalog_item_relationships_variants get_variant_ids_for_catalog_item
|
3694
3857
|
|
3695
|
-
# Get
|
3696
|
-
# Get all
|
3858
|
+
# Get Variant IDs for Catalog Item
|
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`
|
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`.
|
3697
3861
|
# @param [Hash] opts the optional parameters
|
3698
|
-
# @option opts [
|
3699
|
-
# @option opts [String] :
|
3700
|
-
# @option opts [String] :
|
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
|
3701
3865
|
# @return [Array<(Hash<String, Object>, Integer, Hash)>] Hash<String, Object> data, response status code and response headers
|
3702
|
-
def
|
3866
|
+
def get_variant_ids_for_catalog_item_with_http_info(id, opts = {})
|
3703
3867
|
if @api_client.config.debugging
|
3704
|
-
@api_client.config.logger.debug 'Calling API: CatalogsApi.
|
3868
|
+
@api_client.config.logger.debug 'Calling API: CatalogsApi.get_variant_ids_for_catalog_item ...'
|
3705
3869
|
end
|
3706
|
-
allowable_values = ["
|
3707
|
-
if @api_client.config.client_side_validation && opts[:'
|
3708
|
-
fail ArgumentError, "invalid value for \"
|
3870
|
+
allowable_values = ["created", "-created"]
|
3871
|
+
if @api_client.config.client_side_validation && opts[:'sort'] && !allowable_values.include?(opts[:'sort'])
|
3872
|
+
fail ArgumentError, "invalid value for \"sort\", must be one of #{allowable_values}"
|
3709
3873
|
end
|
3710
3874
|
# resource path
|
3711
|
-
local_var_path = '/api/catalog-
|
3875
|
+
local_var_path = '/api/catalog-items/{id}/relationships/variants'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
3712
3876
|
|
3713
3877
|
# query parameters
|
3714
3878
|
query_params = opts[:query_params] || {}
|
3715
|
-
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?
|
3716
3879
|
query_params[:'filter'] = opts[:'filter'] if !opts[:'filter'].nil?
|
3717
3880
|
query_params[:'page[cursor]'] = opts[:'page_cursor'] if !opts[:'page_cursor'].nil?
|
3881
|
+
query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
|
3718
3882
|
|
3719
3883
|
# header parameters
|
3720
3884
|
header_params = opts[:header_params] || {}
|
3721
3885
|
# klaviyo api revision
|
3722
|
-
header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "
|
3886
|
+
header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2025-04-15"
|
3723
3887
|
# HTTP header 'Accept' (if needed)
|
3724
3888
|
header_params['Accept'] = @api_client.select_header_accept(['application/vnd.api+json'])
|
3725
3889
|
|
@@ -3736,7 +3900,7 @@ module KlaviyoAPI
|
|
3736
3900
|
auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key', 'OAuth']
|
3737
3901
|
|
3738
3902
|
new_options = opts.merge(
|
3739
|
-
:operation => :"CatalogsApi.
|
3903
|
+
:operation => :"CatalogsApi.get_variant_ids_for_catalog_item",
|
3740
3904
|
:header_params => header_params,
|
3741
3905
|
:query_params => query_params,
|
3742
3906
|
:form_params => form_params,
|
@@ -3747,22 +3911,22 @@ module KlaviyoAPI
|
|
3747
3911
|
|
3748
3912
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
3749
3913
|
if @api_client.config.debugging
|
3750
|
-
@api_client.config.logger.debug "API called: CatalogsApi#
|
3914
|
+
@api_client.config.logger.debug "API called: CatalogsApi#get_variant_ids_for_catalog_item\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
3751
3915
|
end
|
3752
3916
|
return data, status_code, headers
|
3753
3917
|
end
|
3754
3918
|
|
3755
|
-
# alias of `
|
3756
|
-
alias
|
3919
|
+
# alias of `get_variant_ids_for_catalog_item_with_http_info`
|
3920
|
+
alias get_catalog_item_relationships_variants_with_http_info get_variant_ids_for_catalog_item_with_http_info
|
3757
3921
|
|
3758
3922
|
# Get Variants for Catalog Item
|
3759
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`
|
3760
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`.
|
3761
3925
|
# @param [Hash] opts the optional parameters
|
3762
|
-
# @option opts [Array<String>] :fields_catalog_variant For more information please visit https://developers.klaviyo.com/en/
|
3763
|
-
# @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/
|
3764
|
-
# @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/
|
3765
|
-
# @option opts [String] :sort For more information please visit https://developers.klaviyo.com/en/
|
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
|
3766
3930
|
# @return [Hash<String, Object>]
|
3767
3931
|
def get_variants_for_catalog_item(id, opts = {})
|
3768
3932
|
data, _status_code, _headers = get_variants_for_catalog_item_with_http_info(id, opts)
|
@@ -3776,10 +3940,10 @@ module KlaviyoAPI
|
|
3776
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`
|
3777
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`.
|
3778
3942
|
# @param [Hash] opts the optional parameters
|
3779
|
-
# @option opts [Array<String>] :fields_catalog_variant For more information please visit https://developers.klaviyo.com/en/
|
3780
|
-
# @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/
|
3781
|
-
# @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/
|
3782
|
-
# @option opts [String] :sort For more information please visit https://developers.klaviyo.com/en/
|
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
|
3783
3947
|
# @return [Array<(Hash<String, Object>, Integer, Hash)>] Hash<String, Object> data, response status code and response headers
|
3784
3948
|
def get_variants_for_catalog_item_with_http_info(id, opts = {})
|
3785
3949
|
if @api_client.config.debugging
|
@@ -3806,7 +3970,7 @@ module KlaviyoAPI
|
|
3806
3970
|
# header parameters
|
3807
3971
|
header_params = opts[:header_params] || {}
|
3808
3972
|
# klaviyo api revision
|
3809
|
-
header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "
|
3973
|
+
header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2025-04-15"
|
3810
3974
|
# HTTP header 'Accept' (if needed)
|
3811
3975
|
header_params['Accept'] = @api_client.select_header_accept(['application/vnd.api+json'])
|
3812
3976
|
|
@@ -3883,7 +4047,7 @@ module KlaviyoAPI
|
|
3883
4047
|
# header parameters
|
3884
4048
|
header_params = opts[:header_params] || {}
|
3885
4049
|
# klaviyo api revision
|
3886
|
-
header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "
|
4050
|
+
header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2025-04-15"
|
3887
4051
|
# HTTP header 'Accept' (if needed)
|
3888
4052
|
header_params['Accept'] = @api_client.select_header_accept(['application/vnd.api+json'])
|
3889
4053
|
# HTTP header 'Content-Type'
|
@@ -3965,7 +4129,7 @@ module KlaviyoAPI
|
|
3965
4129
|
# header parameters
|
3966
4130
|
header_params = opts[:header_params] || {}
|
3967
4131
|
# klaviyo api revision
|
3968
|
-
header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "
|
4132
|
+
header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2025-04-15"
|
3969
4133
|
# HTTP header 'Accept' (if needed)
|
3970
4134
|
header_params['Accept'] = @api_client.select_header_accept(['application/vnd.api+json'])
|
3971
4135
|
# HTTP header 'Content-Type'
|
@@ -4044,7 +4208,7 @@ module KlaviyoAPI
|
|
4044
4208
|
# header parameters
|
4045
4209
|
header_params = opts[:header_params] || {}
|
4046
4210
|
# klaviyo api revision
|
4047
|
-
header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "
|
4211
|
+
header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2025-04-15"
|
4048
4212
|
# HTTP header 'Accept' (if needed)
|
4049
4213
|
header_params['Accept'] = @api_client.select_header_accept(['application/vnd.api+json'])
|
4050
4214
|
# HTTP header 'Content-Type'
|
@@ -4120,7 +4284,7 @@ module KlaviyoAPI
|
|
4120
4284
|
# header parameters
|
4121
4285
|
header_params = opts[:header_params] || {}
|
4122
4286
|
# klaviyo api revision
|
4123
|
-
header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "
|
4287
|
+
header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2025-04-15"
|
4124
4288
|
# HTTP header 'Accept' (if needed)
|
4125
4289
|
header_params['Accept'] = @api_client.select_header_accept(['application/vnd.api+json'])
|
4126
4290
|
# HTTP header 'Content-Type'
|
@@ -4196,7 +4360,7 @@ module KlaviyoAPI
|
|
4196
4360
|
# header parameters
|
4197
4361
|
header_params = opts[:header_params] || {}
|
4198
4362
|
# klaviyo api revision
|
4199
|
-
header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "
|
4363
|
+
header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2025-04-15"
|
4200
4364
|
# HTTP header 'Accept' (if needed)
|
4201
4365
|
header_params['Accept'] = @api_client.select_header_accept(['application/vnd.api+json'])
|
4202
4366
|
# HTTP header 'Content-Type'
|
@@ -4275,7 +4439,7 @@ module KlaviyoAPI
|
|
4275
4439
|
# header parameters
|
4276
4440
|
header_params = opts[:header_params] || {}
|
4277
4441
|
# klaviyo api revision
|
4278
|
-
header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "
|
4442
|
+
header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2025-04-15"
|
4279
4443
|
# HTTP header 'Accept' (if needed)
|
4280
4444
|
header_params['Accept'] = @api_client.select_header_accept(['application/vnd.api+json'])
|
4281
4445
|
# HTTP header 'Content-Type'
|
@@ -4357,7 +4521,7 @@ module KlaviyoAPI
|
|
4357
4521
|
# header parameters
|
4358
4522
|
header_params = opts[:header_params] || {}
|
4359
4523
|
# klaviyo api revision
|
4360
|
-
header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "
|
4524
|
+
header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2025-04-15"
|
4361
4525
|
# HTTP header 'Accept' (if needed)
|
4362
4526
|
header_params['Accept'] = @api_client.select_header_accept(['application/vnd.api+json'])
|
4363
4527
|
# HTTP header 'Content-Type'
|