klaviyo-api-sdk 14.0.1 → 15.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 +11 -0
- data/README.md +318 -298
- data/klaviyo-api-sdk.gemspec +1 -1
- data/lib/klaviyo-api-sdk/api/accounts_api.rb +6 -6
- data/lib/klaviyo-api-sdk/api/campaigns_api.rb +82 -82
- data/lib/klaviyo-api-sdk/api/catalogs_api.rb +235 -235
- data/lib/klaviyo-api-sdk/api/coupons_api.rb +63 -63
- data/lib/klaviyo-api-sdk/api/custom_objects_api.rb +11 -11
- data/lib/klaviyo-api-sdk/api/data_privacy_api.rb +1 -1
- data/lib/klaviyo-api-sdk/api/events_api.rb +35 -35
- data/lib/klaviyo-api-sdk/api/flows_api.rb +180 -104
- data/lib/klaviyo-api-sdk/api/forms_api.rb +107 -51
- data/lib/klaviyo-api-sdk/api/images_api.rb +15 -15
- data/lib/klaviyo-api-sdk/api/lists_api.rb +60 -60
- data/lib/klaviyo-api-sdk/api/metrics_api.rb +86 -86
- data/lib/klaviyo-api-sdk/api/profiles_api.rb +132 -132
- data/lib/klaviyo-api-sdk/api/reporting_api.rb +13 -13
- data/lib/klaviyo-api-sdk/api/reviews_api.rb +21 -21
- data/lib/klaviyo-api-sdk/api/segments_api.rb +54 -54
- data/lib/klaviyo-api-sdk/api/tags_api.rb +58 -58
- data/lib/klaviyo-api-sdk/api/templates_api.rb +32 -32
- data/lib/klaviyo-api-sdk/api/tracking_settings_api.rb +9 -9
- data/lib/klaviyo-api-sdk/api/web_feeds_api.rb +15 -15
- data/lib/klaviyo-api-sdk/api/webhooks_api.rb +15 -15
- data/lib/klaviyo-api-sdk/api_client.rb +1 -1
- data/lib/klaviyo-api-sdk/models/account_default_enum.rb +35 -0
- data/lib/klaviyo-api-sdk/models/action_output_condition.rb +265 -0
- data/lib/klaviyo-api-sdk/models/action_output_condition_filter.rb +225 -0
- data/lib/klaviyo-api-sdk/models/action_output_condition_filter2.rb +108 -0
- data/lib/klaviyo-api-sdk/models/action_output_condition_group.rb +225 -0
- data/lib/klaviyo-api-sdk/models/action_output_enum.rb +35 -0
- data/lib/klaviyo-api-sdk/models/action_output_split_action.rb +263 -0
- data/lib/klaviyo-api-sdk/models/action_output_split_action_data.rb +223 -0
- data/lib/klaviyo-api-sdk/models/action_output_split_enum.rb +35 -0
- data/lib/klaviyo-api-sdk/models/additional_field.rb +237 -0
- data/lib/klaviyo-api-sdk/models/after_close_or_submit_timeout_enum.rb +35 -0
- data/lib/klaviyo-api-sdk/models/after_close_timeout.rb +242 -0
- data/lib/klaviyo-api-sdk/models/after_close_timeout_properties.rb +220 -0
- data/lib/klaviyo-api-sdk/models/age_gate.rb +289 -0
- data/lib/klaviyo-api-sdk/models/age_gate_enum.rb +35 -0
- data/lib/klaviyo-api-sdk/models/age_gate_properties.rb +349 -0
- data/lib/klaviyo-api-sdk/models/age_gate_styles.rb +228 -0
- data/lib/klaviyo-api-sdk/models/age_gated_date_of_birth_enum.rb +35 -0
- data/lib/klaviyo-api-sdk/models/back_in_stock_dynamic_button_border_styles.rb +288 -0
- data/lib/klaviyo-api-sdk/models/back_in_stock_dynamic_button_data.rb +284 -0
- data/lib/klaviyo-api-sdk/models/back_in_stock_dynamic_button_drop_shadow_styles.rb +231 -0
- data/lib/klaviyo-api-sdk/models/back_in_stock_dynamic_button_styles.rb +330 -0
- data/lib/klaviyo-api-sdk/models/back_in_stock_dynamic_button_text_styles.rb +317 -0
- data/lib/klaviyo-api-sdk/models/back_in_stock_email_consent_checkbox.rb +256 -0
- data/lib/klaviyo-api-sdk/models/back_in_stock_email_consent_checkbox_properties.rb +339 -0
- data/lib/klaviyo-api-sdk/models/back_in_stock_email_consent_checkbox_styles.rb +274 -0
- data/lib/klaviyo-api-sdk/models/background_image.rb +232 -0
- data/lib/klaviyo-api-sdk/models/background_image_styles.rb +323 -0
- data/lib/klaviyo-api-sdk/models/banner_styles.rb +290 -0
- data/lib/klaviyo-api-sdk/models/bis_promotional_email_checkbox_enum.rb +35 -0
- data/lib/klaviyo-api-sdk/models/border_style.rb +285 -0
- data/lib/klaviyo-api-sdk/models/button.rb +265 -0
- data/lib/klaviyo-api-sdk/models/button_action.rb +112 -0
- data/lib/klaviyo-api-sdk/models/button_properties.rb +268 -0
- data/lib/klaviyo-api-sdk/models/button_styles.rb +333 -0
- data/lib/klaviyo-api-sdk/models/cart_item_count.rb +242 -0
- data/lib/klaviyo-api-sdk/models/cart_item_count_enum.rb +35 -0
- data/lib/klaviyo-api-sdk/models/cart_item_count_properties.rb +264 -0
- data/lib/klaviyo-api-sdk/models/cart_product.rb +242 -0
- data/lib/klaviyo-api-sdk/models/cart_product_enum.rb +35 -0
- data/lib/klaviyo-api-sdk/models/cart_product_properties.rb +264 -0
- data/lib/klaviyo-api-sdk/models/cart_value.rb +242 -0
- data/lib/klaviyo-api-sdk/models/cart_value_enum.rb +35 -0
- data/lib/klaviyo-api-sdk/models/cart_value_properties.rb +264 -0
- data/lib/klaviyo-api-sdk/models/channel.rb +247 -0
- data/lib/klaviyo-api-sdk/models/channel_enum.rb +35 -0
- data/lib/klaviyo-api-sdk/models/channel_properties.rb +258 -0
- data/lib/klaviyo-api-sdk/models/checkboxes.rb +256 -0
- data/lib/klaviyo-api-sdk/models/checkboxes_enum.rb +35 -0
- data/lib/klaviyo-api-sdk/models/checkboxes_properties.rb +324 -0
- data/lib/klaviyo-api-sdk/models/checkboxes_styles.rb +298 -0
- data/lib/klaviyo-api-sdk/models/close.rb +256 -0
- data/lib/klaviyo-api-sdk/models/close_button_style.rb +273 -0
- data/lib/klaviyo-api-sdk/models/close_enum.rb +35 -0
- data/lib/klaviyo-api-sdk/models/close_properties.rb +219 -0
- data/lib/klaviyo-api-sdk/models/column.rb +239 -0
- data/lib/klaviyo-api-sdk/models/column_styles.rb +228 -0
- data/lib/klaviyo-api-sdk/models/condition_group_conditions_inner.rb +1 -0
- data/lib/klaviyo-api-sdk/models/conditional_branch_action_data_profile_filter_condition_groups_inner_conditions_inner.rb +1 -0
- data/lib/klaviyo-api-sdk/models/content_experiment_action.rb +264 -0
- data/lib/klaviyo-api-sdk/models/content_experiment_enum.rb +35 -0
- data/lib/klaviyo-api-sdk/models/countdown_timer.rb +256 -0
- data/lib/klaviyo-api-sdk/models/countdown_timer_enum.rb +35 -0
- data/lib/klaviyo-api-sdk/models/countdown_timer_properties.rb +305 -0
- data/lib/klaviyo-api-sdk/models/countdown_timer_properties_configuration.rb +104 -0
- data/lib/klaviyo-api-sdk/models/countdown_timer_styles.rb +305 -0
- data/lib/klaviyo-api-sdk/models/coupon.rb +256 -0
- data/lib/klaviyo-api-sdk/models/coupon_properties.rb +266 -0
- data/lib/klaviyo-api-sdk/models/coupon_properties_coupon.rb +104 -0
- data/lib/klaviyo-api-sdk/models/coupon_styles.rb +258 -0
- data/lib/klaviyo-api-sdk/models/custom_enum.rb +35 -0
- data/lib/klaviyo-api-sdk/models/custom_javascript.rb +248 -0
- data/lib/klaviyo-api-sdk/models/custom_javascript_enum.rb +35 -0
- data/lib/klaviyo-api-sdk/models/date.rb +256 -0
- data/lib/klaviyo-api-sdk/models/date_properties.rb +319 -0
- data/lib/klaviyo-api-sdk/models/date_styles.rb +228 -0
- data/lib/klaviyo-api-sdk/models/delay.rb +242 -0
- data/lib/klaviyo-api-sdk/models/delay_enum.rb +35 -0
- data/lib/klaviyo-api-sdk/models/delay_properties.rb +220 -0
- data/lib/klaviyo-api-sdk/models/device.rb +242 -0
- data/lib/klaviyo-api-sdk/models/device_enum.rb +35 -0
- data/lib/klaviyo-api-sdk/models/device_properties.rb +255 -0
- data/lib/klaviyo-api-sdk/models/drop_shadow.rb +243 -0
- data/lib/klaviyo-api-sdk/models/dropdown.rb +256 -0
- data/lib/klaviyo-api-sdk/models/dropdown_enum.rb +35 -0
- data/lib/klaviyo-api-sdk/models/dropdown_properties.rb +324 -0
- data/lib/klaviyo-api-sdk/models/dropdown_styles.rb +228 -0
- data/lib/klaviyo-api-sdk/models/dynamic_button.rb +282 -0
- data/lib/klaviyo-api-sdk/models/effective_date_enum.rb +35 -0
- data/lib/klaviyo-api-sdk/models/effective_date_filter.rb +237 -0
- data/lib/klaviyo-api-sdk/models/email.rb +256 -0
- data/lib/klaviyo-api-sdk/models/email_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/email_properties.rb +303 -0
- data/lib/klaviyo-api-sdk/models/email_styles.rb +228 -0
- data/lib/klaviyo-api-sdk/models/error_messages.rb +231 -0
- data/lib/klaviyo-api-sdk/models/exit_intent.rb +248 -0
- data/lib/klaviyo-api-sdk/models/exit_intent_enum.rb +35 -0
- data/lib/klaviyo-api-sdk/models/explicitly_reachable.rb +239 -0
- data/lib/klaviyo-api-sdk/models/explicitly_reachable_enum.rb +35 -0
- data/lib/klaviyo-api-sdk/models/explicitly_reachable_filters_inner.rb +106 -0
- data/lib/klaviyo-api-sdk/models/explicitly_unreachable.rb +239 -0
- data/lib/klaviyo-api-sdk/models/explicitly_unreachable_enum.rb +35 -0
- data/lib/klaviyo-api-sdk/models/fixed_enum.rb +35 -0
- data/lib/klaviyo-api-sdk/models/fixed_timer_configuration.rb +281 -0
- data/lib/klaviyo-api-sdk/models/flow_action_enum.rb +35 -0
- data/lib/klaviyo-api-sdk/models/flow_action_update_query.rb +223 -0
- data/lib/klaviyo-api-sdk/models/flow_action_update_query_resource_object.rb +251 -0
- data/lib/klaviyo-api-sdk/models/flow_action_update_query_resource_object_attributes.rb +223 -0
- data/lib/klaviyo-api-sdk/models/flow_action_update_query_resource_object_attributes_definition.rb +124 -0
- data/lib/klaviyo-api-sdk/models/flow_definition_actions_inner.rb +3 -0
- data/lib/klaviyo-api-sdk/models/flow_definition_profile_filter_condition_groups_inner_conditions_inner.rb +1 -0
- data/lib/klaviyo-api-sdk/models/flow_email_additional_filters_condition_groups_inner_conditions_inner.rb +1 -0
- data/lib/klaviyo-api-sdk/models/flow_push_notification_additional_filters_condition_groups_inner_conditions_inner.rb +1 -0
- data/lib/klaviyo-api-sdk/models/flow_sms_additional_filters_condition_groups_inner_conditions_inner.rb +1 -0
- data/lib/klaviyo-api-sdk/models/flow_whats_app.rb +271 -0
- data/lib/klaviyo-api-sdk/models/form_create_query.rb +223 -0
- data/lib/klaviyo-api-sdk/models/form_create_query_resource_object.rb +237 -0
- data/lib/klaviyo-api-sdk/models/form_create_query_resource_object_attributes.rb +302 -0
- data/lib/klaviyo-api-sdk/models/form_definition.rb +225 -0
- data/lib/klaviyo-api-sdk/models/form_subscribe_filter.rb +246 -0
- data/lib/klaviyo-api-sdk/models/go_to_inbox.rb +299 -0
- data/lib/klaviyo-api-sdk/models/go_to_inbox_enum.rb +35 -0
- data/lib/klaviyo-api-sdk/models/html_text.rb +251 -0
- data/lib/klaviyo-api-sdk/models/html_text_enum.rb +35 -0
- data/lib/klaviyo-api-sdk/models/html_text_properties.rb +253 -0
- data/lib/klaviyo-api-sdk/models/html_text_styles.rb +228 -0
- data/lib/klaviyo-api-sdk/models/identified_profiles.rb +248 -0
- data/lib/klaviyo-api-sdk/models/identified_profiles_enum.rb +35 -0
- data/lib/klaviyo-api-sdk/models/image.rb +266 -0
- data/lib/klaviyo-api-sdk/models/image_action.rb +112 -0
- data/lib/klaviyo-api-sdk/models/image_asset_properties.rb +262 -0
- data/lib/klaviyo-api-sdk/models/image_properties.rb +268 -0
- data/lib/klaviyo-api-sdk/models/image_styles.rb +284 -0
- data/lib/klaviyo-api-sdk/models/implicitly_or_explicitly_reachable.rb +223 -0
- data/lib/klaviyo-api-sdk/models/implicitly_or_explicitly_reachable_enum.rb +35 -0
- data/lib/klaviyo-api-sdk/models/implicitly_or_explicitly_unreachable.rb +223 -0
- data/lib/klaviyo-api-sdk/models/implicitly_or_explicitly_unreachable_enum.rb +35 -0
- data/lib/klaviyo-api-sdk/models/implicitly_reachable.rb +223 -0
- data/lib/klaviyo-api-sdk/models/implicitly_reachable_enum.rb +35 -0
- data/lib/klaviyo-api-sdk/models/implicitly_unreachable.rb +223 -0
- data/lib/klaviyo-api-sdk/models/implicitly_unreachable_enum.rb +35 -0
- data/lib/klaviyo-api-sdk/models/input_styles.rb +317 -0
- data/lib/klaviyo-api-sdk/models/link_styles.rb +229 -0
- data/lib/klaviyo-api-sdk/models/lists_and_segments.rb +247 -0
- data/lib/klaviyo-api-sdk/models/lists_and_segments_enum.rb +35 -0
- data/lib/klaviyo-api-sdk/models/lists_and_segments_properties.rb +233 -0
- data/lib/klaviyo-api-sdk/models/location.rb +247 -0
- data/lib/klaviyo-api-sdk/models/location_enum.rb +35 -0
- data/lib/klaviyo-api-sdk/models/location_properties.rb +233 -0
- data/lib/klaviyo-api-sdk/models/location_properties_allow_list_inner.rb +103 -0
- data/lib/klaviyo-api-sdk/models/margin.rb +253 -0
- data/lib/klaviyo-api-sdk/models/method_filter.rb +272 -0
- data/lib/klaviyo-api-sdk/models/metric_aggregate_query_resource_object_attributes.rb +2 -2
- data/lib/klaviyo-api-sdk/models/mobile_overlay.rb +266 -0
- data/lib/klaviyo-api-sdk/models/next_step.rb +256 -0
- data/lib/klaviyo-api-sdk/models/next_step_enum.rb +35 -0
- data/lib/klaviyo-api-sdk/models/next_step_properties.rb +219 -0
- data/lib/klaviyo-api-sdk/models/open_form.rb +292 -0
- data/lib/klaviyo-api-sdk/models/open_form_enum.rb +35 -0
- data/lib/klaviyo-api-sdk/models/open_form_properties.rb +234 -0
- data/lib/klaviyo-api-sdk/models/opt_in_code.rb +256 -0
- data/lib/klaviyo-api-sdk/models/opt_in_code_enum.rb +35 -0
- data/lib/klaviyo-api-sdk/models/opt_in_code_properties.rb +314 -0
- data/lib/klaviyo-api-sdk/models/opt_in_code_styles.rb +228 -0
- data/lib/klaviyo-api-sdk/models/opt_in_promotional_email_enum.rb +35 -0
- data/lib/klaviyo-api-sdk/models/opt_in_promotional_sms_enum.rb +35 -0
- data/lib/klaviyo-api-sdk/models/padding.rb +253 -0
- data/lib/klaviyo-api-sdk/models/page_visits.rb +242 -0
- data/lib/klaviyo-api-sdk/models/page_visits_enum.rb +35 -0
- data/lib/klaviyo-api-sdk/models/page_visits_properties.rb +220 -0
- data/lib/klaviyo-api-sdk/models/phone_number.rb +256 -0
- data/lib/klaviyo-api-sdk/models/phone_number_enum.rb +35 -0
- data/lib/klaviyo-api-sdk/models/phone_number_properties.rb +316 -0
- data/lib/klaviyo-api-sdk/models/phone_number_styles.rb +228 -0
- data/lib/klaviyo-api-sdk/models/previously_submitted.rb +248 -0
- data/lib/klaviyo-api-sdk/models/previously_submitted_enum.rb +35 -0
- data/lib/klaviyo-api-sdk/models/profile_event_tracked.rb +247 -0
- data/lib/klaviyo-api-sdk/models/profile_event_tracked_enum.rb +35 -0
- data/lib/klaviyo-api-sdk/models/profile_event_tracked_properties.rb +223 -0
- data/lib/klaviyo-api-sdk/models/profile_has_not_received_email_message_condition.rb +1 -1
- data/lib/klaviyo-api-sdk/models/profile_has_not_received_email_message_condition_timeframe_filter.rb +104 -0
- data/lib/klaviyo-api-sdk/models/profile_has_not_received_push_message_condition.rb +1 -1
- data/lib/klaviyo-api-sdk/models/profile_has_not_received_sms_message_condition.rb +1 -1
- data/lib/klaviyo-api-sdk/models/profile_not_in_flow_condition.rb +1 -1
- data/lib/klaviyo-api-sdk/models/profile_permissions_condition.rb +286 -0
- data/lib/klaviyo-api-sdk/models/profile_permissions_condition_permission.rb +108 -0
- data/lib/klaviyo-api-sdk/models/profile_permissions_enum.rb +35 -0
- data/lib/klaviyo-api-sdk/models/promotional_sms_checkbox_enum.rb +35 -0
- data/lib/klaviyo-api-sdk/models/promotional_sms_subscription.rb +299 -0
- data/lib/klaviyo-api-sdk/models/promotional_sms_subscription_enum.rb +35 -0
- data/lib/klaviyo-api-sdk/models/property_option.rb +237 -0
- data/lib/klaviyo-api-sdk/models/radio_buttons.rb +256 -0
- data/lib/klaviyo-api-sdk/models/radio_buttons_enum.rb +35 -0
- data/lib/klaviyo-api-sdk/models/radio_buttons_properties.rb +324 -0
- data/lib/klaviyo-api-sdk/models/radio_buttons_styles.rb +298 -0
- data/lib/klaviyo-api-sdk/models/recorded_date_enum.rb +35 -0
- data/lib/klaviyo-api-sdk/models/recorded_date_filter.rb +237 -0
- data/lib/klaviyo-api-sdk/models/redirect.rb +261 -0
- data/lib/klaviyo-api-sdk/models/redirect_enum.rb +35 -0
- data/lib/klaviyo-api-sdk/models/redirect_properties.rb +244 -0
- data/lib/klaviyo-api-sdk/models/resend_opt_in_code.rb +299 -0
- data/lib/klaviyo-api-sdk/models/resend_opt_in_code_enum.rb +35 -0
- data/lib/klaviyo-api-sdk/models/rich_text_margin.rb +311 -0
- data/lib/klaviyo-api-sdk/models/rich_text_style.rb +343 -0
- data/lib/klaviyo-api-sdk/models/rich_text_styles.rb +281 -0
- data/lib/klaviyo-api-sdk/models/row.rb +235 -0
- data/lib/klaviyo-api-sdk/models/row_blocks_inner.rb +121 -0
- data/lib/klaviyo-api-sdk/models/scroll.rb +242 -0
- data/lib/klaviyo-api-sdk/models/scroll_percentage_enum.rb +35 -0
- data/lib/klaviyo-api-sdk/models/scroll_properties.rb +220 -0
- data/lib/klaviyo-api-sdk/models/send_email_action_data.rb +0 -5
- data/lib/klaviyo-api-sdk/models/send_push_notification_action_data.rb +0 -5
- data/lib/klaviyo-api-sdk/models/send_sms_action_data.rb +0 -5
- data/lib/klaviyo-api-sdk/models/send_whats_app_action.rb +263 -0
- data/lib/klaviyo-api-sdk/models/send_whats_app_action_data.rb +264 -0
- data/lib/klaviyo-api-sdk/models/send_whatsapp_enum.rb +35 -0
- data/lib/klaviyo-api-sdk/models/side_image_settings.rb +290 -0
- data/lib/klaviyo-api-sdk/models/signup_counter.rb +256 -0
- data/lib/klaviyo-api-sdk/models/signup_counter_enum.rb +35 -0
- data/lib/klaviyo-api-sdk/models/signup_counter_properties.rb +297 -0
- data/lib/klaviyo-api-sdk/models/signup_counter_styles.rb +228 -0
- data/lib/klaviyo-api-sdk/models/sms_consent_checkbox.rb +256 -0
- data/lib/klaviyo-api-sdk/models/sms_consent_checkbox_properties.rb +339 -0
- data/lib/klaviyo-api-sdk/models/sms_consent_checkbox_styles.rb +274 -0
- data/lib/klaviyo-api-sdk/models/sms_disclosure.rb +251 -0
- data/lib/klaviyo-api-sdk/models/sms_disclosure_account_default.rb +233 -0
- data/lib/klaviyo-api-sdk/models/sms_disclosure_custom.rb +267 -0
- data/lib/klaviyo-api-sdk/models/sms_disclosure_enum.rb +35 -0
- data/lib/klaviyo-api-sdk/models/sms_disclosure_properties.rb +251 -0
- data/lib/klaviyo-api-sdk/models/sms_disclosure_properties_content.rb +104 -0
- data/lib/klaviyo-api-sdk/models/sms_disclosure_styles.rb +246 -0
- data/lib/klaviyo-api-sdk/models/sms_disclosure_text_style.rb +299 -0
- data/lib/klaviyo-api-sdk/models/spin_to_win.rb +256 -0
- data/lib/klaviyo-api-sdk/models/spin_to_win_enum.rb +35 -0
- data/lib/klaviyo-api-sdk/models/spin_to_win_properties.rb +269 -0
- data/lib/klaviyo-api-sdk/models/spin_to_win_slice_config.rb +251 -0
- data/lib/klaviyo-api-sdk/models/spin_to_win_slice_style.rb +231 -0
- data/lib/klaviyo-api-sdk/models/spin_to_win_styles.rb +303 -0
- data/lib/klaviyo-api-sdk/models/static_coupon_config.rb +233 -0
- data/lib/klaviyo-api-sdk/models/step.rb +257 -0
- data/lib/klaviyo-api-sdk/models/submit_back_in_stock.rb +287 -0
- data/lib/klaviyo-api-sdk/models/submit_back_in_stock_enum.rb +35 -0
- data/lib/klaviyo-api-sdk/models/submit_back_in_stock_properties.rb +219 -0
- data/lib/klaviyo-api-sdk/models/submit_opt_in_code.rb +299 -0
- data/lib/klaviyo-api-sdk/models/submit_opt_in_code_enum.rb +35 -0
- data/lib/klaviyo-api-sdk/models/subscribe_method_enum.rb +35 -0
- data/lib/klaviyo-api-sdk/models/subscribe_via_sms.rb +292 -0
- data/lib/klaviyo-api-sdk/models/subscribe_via_sms_enum.rb +35 -0
- data/lib/klaviyo-api-sdk/models/subscribe_via_sms_properties.rb +243 -0
- data/lib/klaviyo-api-sdk/models/subscription_channels.rb +13 -4
- data/lib/klaviyo-api-sdk/models/teaser.rb +405 -0
- data/lib/klaviyo-api-sdk/models/teaser_styles.rb +267 -0
- data/lib/klaviyo-api-sdk/models/text.rb +256 -0
- data/lib/klaviyo-api-sdk/models/text_properties.rb +308 -0
- data/lib/klaviyo-api-sdk/models/text_style.rb +299 -0
- data/lib/klaviyo-api-sdk/models/text_style_font_family.rb +103 -0
- data/lib/klaviyo-api-sdk/models/text_styles.rb +228 -0
- data/lib/klaviyo-api-sdk/models/underline_enum.rb +35 -0
- data/lib/klaviyo-api-sdk/models/unidentified_profiles.rb +248 -0
- data/lib/klaviyo-api-sdk/models/unidentified_profiles_enum.rb +35 -0
- data/lib/klaviyo-api-sdk/models/unique_coupon_config.rb +299 -0
- data/lib/klaviyo-api-sdk/models/unique_enum.rb +35 -0
- data/lib/klaviyo-api-sdk/models/unsubscription_channels.rb +13 -4
- data/lib/klaviyo-api-sdk/models/url_patterns.rb +242 -0
- data/lib/klaviyo-api-sdk/models/url_patterns_enum.rb +35 -0
- data/lib/klaviyo-api-sdk/models/url_patterns_properties.rb +233 -0
- data/lib/klaviyo-api-sdk/models/variable_enum.rb +35 -0
- data/lib/klaviyo-api-sdk/models/variable_timer_configuration.rb +265 -0
- data/lib/klaviyo-api-sdk/models/version.rb +409 -0
- data/lib/klaviyo-api-sdk/models/version_properties.rb +299 -0
- data/lib/klaviyo-api-sdk/models/version_styles.rb +412 -0
- data/lib/klaviyo-api-sdk/models/version_triggers_inner.rb +120 -0
- data/lib/klaviyo-api-sdk/models/whats_app_subscription_parameters.rb +227 -0
- data/lib/klaviyo-api-sdk/models/whats_app_unsubscription_parameters.rb +236 -0
- data/lib/klaviyo-api-sdk.rb +256 -1
- data/lib/klaviyo-api-sdk.rb.bak +256 -1
- metadata +262 -1109
- 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/profile_not_in_flow_condition_timeframe_filter.rb +0 -104
- 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
data/docs/ProfilesApi.md
DELETED
@@ -1,1738 +0,0 @@
|
|
1
|
-
# KlaviyoAPI::ProfilesApi
|
2
|
-
|
3
|
-
All URIs are relative to *https://a.klaviyo.com*
|
4
|
-
|
5
|
-
| Method | HTTP request | Description |
|
6
|
-
| ------ | ------------ | ----------- |
|
7
|
-
| [**create_or_update_profile**](ProfilesApi.md#create_or_update_profile) | **POST** /api/profile-import/ | Create or Update Profile |
|
8
|
-
| [**create_profile**](ProfilesApi.md#create_profile) | **POST** /api/profiles/ | Create Profile |
|
9
|
-
| [**create_push_token**](ProfilesApi.md#create_push_token) | **POST** /api/push-tokens/ | Create or Update Push Token |
|
10
|
-
| [**get_bulk_profile_import_job**](ProfilesApi.md#get_bulk_profile_import_job) | **GET** /api/profile-bulk-import-jobs/{job_id}/ | Get Bulk Profile Import Job |
|
11
|
-
| [**get_bulk_profile_import_job_import_errors**](ProfilesApi.md#get_bulk_profile_import_job_import_errors) | **GET** /api/profile-bulk-import-jobs/{id}/import-errors/ | Get Bulk Profile Import Job Errors |
|
12
|
-
| [**get_bulk_profile_import_job_lists**](ProfilesApi.md#get_bulk_profile_import_job_lists) | **GET** /api/profile-bulk-import-jobs/{id}/lists/ | Get Bulk Profile Import Job Lists |
|
13
|
-
| [**get_bulk_profile_import_job_profiles**](ProfilesApi.md#get_bulk_profile_import_job_profiles) | **GET** /api/profile-bulk-import-jobs/{id}/profiles/ | Get Bulk Profile Import Job Profiles |
|
14
|
-
| [**get_bulk_profile_import_job_relationships_lists**](ProfilesApi.md#get_bulk_profile_import_job_relationships_lists) | **GET** /api/profile-bulk-import-jobs/{id}/relationships/lists/ | Get Bulk Profile Import Job Relationships Lists |
|
15
|
-
| [**get_bulk_profile_import_job_relationships_profiles**](ProfilesApi.md#get_bulk_profile_import_job_relationships_profiles) | **GET** /api/profile-bulk-import-jobs/{id}/relationships/profiles/ | Get Bulk Profile Import Job Relationships Profiles |
|
16
|
-
| [**get_bulk_profile_import_jobs**](ProfilesApi.md#get_bulk_profile_import_jobs) | **GET** /api/profile-bulk-import-jobs/ | Get Bulk Profile Import Jobs |
|
17
|
-
| [**get_profile**](ProfilesApi.md#get_profile) | **GET** /api/profiles/{id}/ | Get Profile |
|
18
|
-
| [**get_profile_lists**](ProfilesApi.md#get_profile_lists) | **GET** /api/profiles/{id}/lists/ | Get Profile Lists |
|
19
|
-
| [**get_profile_relationships_lists**](ProfilesApi.md#get_profile_relationships_lists) | **GET** /api/profiles/{id}/relationships/lists/ | Get Profile Relationships Lists |
|
20
|
-
| [**get_profile_relationships_segments**](ProfilesApi.md#get_profile_relationships_segments) | **GET** /api/profiles/{id}/relationships/segments/ | Get Profile Relationships Segments |
|
21
|
-
| [**get_profile_segments**](ProfilesApi.md#get_profile_segments) | **GET** /api/profiles/{id}/segments/ | Get Profile Segments |
|
22
|
-
| [**get_profiles**](ProfilesApi.md#get_profiles) | **GET** /api/profiles/ | Get Profiles |
|
23
|
-
| [**merge_profiles**](ProfilesApi.md#merge_profiles) | **POST** /api/profile-merge/ | Merge Profiles |
|
24
|
-
| [**spawn_bulk_profile_import_job**](ProfilesApi.md#spawn_bulk_profile_import_job) | **POST** /api/profile-bulk-import-jobs/ | Spawn Bulk Profile Import Job |
|
25
|
-
| [**subscribe_profiles**](ProfilesApi.md#subscribe_profiles) | **POST** /api/profile-subscription-bulk-create-jobs/ | Subscribe Profiles |
|
26
|
-
| [**suppress_profiles**](ProfilesApi.md#suppress_profiles) | **POST** /api/profile-suppression-bulk-create-jobs/ | Suppress Profiles |
|
27
|
-
| [**unsubscribe_profiles**](ProfilesApi.md#unsubscribe_profiles) | **POST** /api/profile-subscription-bulk-delete-jobs/ | Unsubscribe Profiles |
|
28
|
-
| [**unsuppress_profiles**](ProfilesApi.md#unsuppress_profiles) | **POST** /api/profile-suppression-bulk-delete-jobs/ | Unsuppress Profiles |
|
29
|
-
| [**update_profile**](ProfilesApi.md#update_profile) | **PATCH** /api/profiles/{id}/ | Update Profile |
|
30
|
-
|
31
|
-
|
32
|
-
## create_or_update_profile
|
33
|
-
|
34
|
-
> Hash<String, Object> create_or_update_profile(profile_upsert_query)
|
35
|
-
|
36
|
-
Create or Update Profile
|
37
|
-
|
38
|
-
Given a set of profile attributes and optionally an ID, create or update a profile. Returns 201 if a new profile was created, 200 if an existing profile was updated. Note that setting a field to `null` will clear out the field, whereas not including a field in your request will leave it unchanged.<br><br>*Rate limits*:<br>Burst: `75/s`<br>Steady: `700/m` **Scopes:** `profiles:write`
|
39
|
-
|
40
|
-
### Examples
|
41
|
-
|
42
|
-
```ruby
|
43
|
-
require 'time'
|
44
|
-
require 'klaviyo-api-sdk'
|
45
|
-
# setup authorization
|
46
|
-
KlaviyoAPI.configure do |config|
|
47
|
-
# Configure API key authorization: Klaviyo-API-Key
|
48
|
-
config.api_key['Klaviyo-API-Key'] = 'YOUR API KEY'
|
49
|
-
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
50
|
-
# config.api_key_prefix['Klaviyo-API-Key'] = 'Bearer'
|
51
|
-
end
|
52
|
-
|
53
|
-
api_instance = KlaviyoAPI::ProfilesApi.new
|
54
|
-
profile_upsert_query = KlaviyoAPI::ProfileUpsertQuery.new({data: KlaviyoAPI::ProfileUpsertQueryResourceObject.new({type: KlaviyoAPI::ProfileEnum::PROFILE, attributes: KlaviyoAPI::ProfileUpsertQueryResourceObjectAttributes.new})}) # ProfileUpsertQuery |
|
55
|
-
|
56
|
-
begin
|
57
|
-
# Create or Update Profile
|
58
|
-
result = api_instance.create_or_update_profile(profile_upsert_query)
|
59
|
-
p result
|
60
|
-
rescue KlaviyoAPI::ApiError => e
|
61
|
-
puts "Error when calling ProfilesApi->create_or_update_profile: #{e}"
|
62
|
-
end
|
63
|
-
```
|
64
|
-
|
65
|
-
#### Using the create_or_update_profile_with_http_info variant
|
66
|
-
|
67
|
-
This returns an Array which contains the response data, status code and headers.
|
68
|
-
|
69
|
-
> <Array(Hash<String, Object>, Integer, Hash)> create_or_update_profile_with_http_info(profile_upsert_query)
|
70
|
-
|
71
|
-
```ruby
|
72
|
-
begin
|
73
|
-
# Create or Update Profile
|
74
|
-
data, status_code, headers = api_instance.create_or_update_profile_with_http_info(profile_upsert_query)
|
75
|
-
p status_code # => 2xx
|
76
|
-
p headers # => { ... }
|
77
|
-
p data # => Hash<String, Object>
|
78
|
-
rescue KlaviyoAPI::ApiError => e
|
79
|
-
puts "Error when calling ProfilesApi->create_or_update_profile_with_http_info: #{e}"
|
80
|
-
end
|
81
|
-
```
|
82
|
-
|
83
|
-
### Parameters
|
84
|
-
|
85
|
-
| Name | Type | Description | Notes |
|
86
|
-
| ---- | ---- | ----------- | ----- |
|
87
|
-
| **profile_upsert_query** | [**ProfileUpsertQuery**](ProfileUpsertQuery.md) | | |
|
88
|
-
|
89
|
-
### Return type
|
90
|
-
|
91
|
-
**Hash<String, Object>**
|
92
|
-
|
93
|
-
### Authorization
|
94
|
-
|
95
|
-
[Klaviyo-API-Key](../README.md#Klaviyo-API-Key)
|
96
|
-
|
97
|
-
### HTTP request headers
|
98
|
-
|
99
|
-
- **Content-Type**: application/json
|
100
|
-
- **Accept**: application/json
|
101
|
-
|
102
|
-
|
103
|
-
## create_profile
|
104
|
-
|
105
|
-
> Hash<String, Object> create_profile(profile_create_query)
|
106
|
-
|
107
|
-
Create Profile
|
108
|
-
|
109
|
-
Create a new profile.<br><br>*Rate limits*:<br>Burst: `75/s`<br>Steady: `700/m` **Scopes:** `profiles:write`
|
110
|
-
|
111
|
-
### Examples
|
112
|
-
|
113
|
-
```ruby
|
114
|
-
require 'time'
|
115
|
-
require 'klaviyo-api-sdk'
|
116
|
-
# setup authorization
|
117
|
-
KlaviyoAPI.configure do |config|
|
118
|
-
# Configure API key authorization: Klaviyo-API-Key
|
119
|
-
config.api_key['Klaviyo-API-Key'] = 'YOUR API KEY'
|
120
|
-
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
121
|
-
# config.api_key_prefix['Klaviyo-API-Key'] = 'Bearer'
|
122
|
-
end
|
123
|
-
|
124
|
-
api_instance = KlaviyoAPI::ProfilesApi.new
|
125
|
-
profile_create_query = KlaviyoAPI::ProfileCreateQuery.new({data: KlaviyoAPI::ProfileCreateQueryResourceObject.new({type: KlaviyoAPI::ProfileEnum::PROFILE, attributes: KlaviyoAPI::ProfileCreateQueryResourceObjectAttributes.new})}) # ProfileCreateQuery |
|
126
|
-
|
127
|
-
begin
|
128
|
-
# Create Profile
|
129
|
-
result = api_instance.create_profile(profile_create_query)
|
130
|
-
p result
|
131
|
-
rescue KlaviyoAPI::ApiError => e
|
132
|
-
puts "Error when calling ProfilesApi->create_profile: #{e}"
|
133
|
-
end
|
134
|
-
```
|
135
|
-
|
136
|
-
#### Using the create_profile_with_http_info variant
|
137
|
-
|
138
|
-
This returns an Array which contains the response data, status code and headers.
|
139
|
-
|
140
|
-
> <Array(Hash<String, Object>, Integer, Hash)> create_profile_with_http_info(profile_create_query)
|
141
|
-
|
142
|
-
```ruby
|
143
|
-
begin
|
144
|
-
# Create Profile
|
145
|
-
data, status_code, headers = api_instance.create_profile_with_http_info(profile_create_query)
|
146
|
-
p status_code # => 2xx
|
147
|
-
p headers # => { ... }
|
148
|
-
p data # => Hash<String, Object>
|
149
|
-
rescue KlaviyoAPI::ApiError => e
|
150
|
-
puts "Error when calling ProfilesApi->create_profile_with_http_info: #{e}"
|
151
|
-
end
|
152
|
-
```
|
153
|
-
|
154
|
-
### Parameters
|
155
|
-
|
156
|
-
| Name | Type | Description | Notes |
|
157
|
-
| ---- | ---- | ----------- | ----- |
|
158
|
-
| **profile_create_query** | [**ProfileCreateQuery**](ProfileCreateQuery.md) | | |
|
159
|
-
|
160
|
-
### Return type
|
161
|
-
|
162
|
-
**Hash<String, Object>**
|
163
|
-
|
164
|
-
### Authorization
|
165
|
-
|
166
|
-
[Klaviyo-API-Key](../README.md#Klaviyo-API-Key)
|
167
|
-
|
168
|
-
### HTTP request headers
|
169
|
-
|
170
|
-
- **Content-Type**: application/json
|
171
|
-
- **Accept**: application/json
|
172
|
-
|
173
|
-
|
174
|
-
## create_push_token
|
175
|
-
|
176
|
-
> create_push_token(push_token_create_query)
|
177
|
-
|
178
|
-
Create or Update Push Token
|
179
|
-
|
180
|
-
Create or update a push token. This endpoint can be used to migrate push tokens from another platform to Klaviyo. Please use our mobile SDKs ([iOS](https://github.com/klaviyo/klaviyo-swift-sdk) and [Android](https://github.com/klaviyo/klaviyo-android-sdk)) to create push tokens from users' devices.<br><br>*Rate limits*:<br>Burst: `75/s`<br>Steady: `700/m` **Scopes:** `profiles:write` `push-tokens:write`
|
181
|
-
|
182
|
-
### Examples
|
183
|
-
|
184
|
-
```ruby
|
185
|
-
require 'time'
|
186
|
-
require 'klaviyo-api-sdk'
|
187
|
-
# setup authorization
|
188
|
-
KlaviyoAPI.configure do |config|
|
189
|
-
# Configure API key authorization: Klaviyo-API-Key
|
190
|
-
config.api_key['Klaviyo-API-Key'] = 'YOUR API KEY'
|
191
|
-
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
192
|
-
# config.api_key_prefix['Klaviyo-API-Key'] = 'Bearer'
|
193
|
-
end
|
194
|
-
|
195
|
-
api_instance = KlaviyoAPI::ProfilesApi.new
|
196
|
-
push_token_create_query = KlaviyoAPI::PushTokenCreateQuery.new({data: KlaviyoAPI::PushTokenCreateQueryResourceObject.new({type: KlaviyoAPI::PushTokenEnum::PUSH_TOKEN, attributes: KlaviyoAPI::PushTokenCreateQueryResourceObjectAttributes.new({token: '1234567890', platform: 'android', vendor: 'apns', profile: KlaviyoAPI::PushTokenCreateQueryResourceObjectAttributesProfile.new({data: KlaviyoAPI::PushProfileUpsertQueryResourceObject.new({type: KlaviyoAPI::ProfileEnum::PROFILE, attributes: KlaviyoAPI::PushProfileUpsertQueryResourceObjectAttributes.new})})})})}) # PushTokenCreateQuery |
|
197
|
-
|
198
|
-
begin
|
199
|
-
# Create or Update Push Token
|
200
|
-
api_instance.create_push_token(push_token_create_query)
|
201
|
-
rescue KlaviyoAPI::ApiError => e
|
202
|
-
puts "Error when calling ProfilesApi->create_push_token: #{e}"
|
203
|
-
end
|
204
|
-
```
|
205
|
-
|
206
|
-
#### Using the create_push_token_with_http_info variant
|
207
|
-
|
208
|
-
This returns an Array which contains the response data (`nil` in this case), status code and headers.
|
209
|
-
|
210
|
-
> <Array(nil, Integer, Hash)> create_push_token_with_http_info(push_token_create_query)
|
211
|
-
|
212
|
-
```ruby
|
213
|
-
begin
|
214
|
-
# Create or Update Push Token
|
215
|
-
data, status_code, headers = api_instance.create_push_token_with_http_info(push_token_create_query)
|
216
|
-
p status_code # => 2xx
|
217
|
-
p headers # => { ... }
|
218
|
-
p data # => nil
|
219
|
-
rescue KlaviyoAPI::ApiError => e
|
220
|
-
puts "Error when calling ProfilesApi->create_push_token_with_http_info: #{e}"
|
221
|
-
end
|
222
|
-
```
|
223
|
-
|
224
|
-
### Parameters
|
225
|
-
|
226
|
-
| Name | Type | Description | Notes |
|
227
|
-
| ---- | ---- | ----------- | ----- |
|
228
|
-
| **push_token_create_query** | [**PushTokenCreateQuery**](PushTokenCreateQuery.md) | | |
|
229
|
-
|
230
|
-
### Return type
|
231
|
-
|
232
|
-
nil (empty response body)
|
233
|
-
|
234
|
-
### Authorization
|
235
|
-
|
236
|
-
[Klaviyo-API-Key](../README.md#Klaviyo-API-Key)
|
237
|
-
|
238
|
-
### HTTP request headers
|
239
|
-
|
240
|
-
- **Content-Type**: application/json
|
241
|
-
- **Accept**: application/json
|
242
|
-
|
243
|
-
|
244
|
-
## get_bulk_profile_import_job
|
245
|
-
|
246
|
-
> Hash<String, Object> get_bulk_profile_import_job(job_id, opts)
|
247
|
-
|
248
|
-
Get Bulk Profile Import Job
|
249
|
-
|
250
|
-
Get a bulk profile import job with the given job ID.<br><br>*Rate limits*:<br>Burst: `10/s`<br>Steady: `150/m` **Scopes:** `lists:read` `profiles:read`
|
251
|
-
|
252
|
-
### Examples
|
253
|
-
|
254
|
-
```ruby
|
255
|
-
require 'time'
|
256
|
-
require 'klaviyo-api-sdk'
|
257
|
-
# setup authorization
|
258
|
-
KlaviyoAPI.configure do |config|
|
259
|
-
# Configure API key authorization: Klaviyo-API-Key
|
260
|
-
config.api_key['Klaviyo-API-Key'] = 'YOUR API KEY'
|
261
|
-
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
262
|
-
# config.api_key_prefix['Klaviyo-API-Key'] = 'Bearer'
|
263
|
-
end
|
264
|
-
|
265
|
-
api_instance = KlaviyoAPI::ProfilesApi.new
|
266
|
-
job_id = '01GSQPBF74KQ5YTDEPP41T1BZH' # String | ID of the job to retrieve.
|
267
|
-
opts = {
|
268
|
-
fields_list: ['name'], # Array<String> | For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets
|
269
|
-
fields_profile_bulk_import_job: ['status'], # Array<String> | For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets
|
270
|
-
include: ['lists'] # Array<String> | For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#relationships
|
271
|
-
}
|
272
|
-
|
273
|
-
begin
|
274
|
-
# Get Bulk Profile Import Job
|
275
|
-
result = api_instance.get_bulk_profile_import_job(job_id, opts)
|
276
|
-
p result
|
277
|
-
rescue KlaviyoAPI::ApiError => e
|
278
|
-
puts "Error when calling ProfilesApi->get_bulk_profile_import_job: #{e}"
|
279
|
-
end
|
280
|
-
```
|
281
|
-
|
282
|
-
#### Using the get_bulk_profile_import_job_with_http_info variant
|
283
|
-
|
284
|
-
This returns an Array which contains the response data, status code and headers.
|
285
|
-
|
286
|
-
> <Array(Hash<String, Object>, Integer, Hash)> get_bulk_profile_import_job_with_http_info(job_id, opts)
|
287
|
-
|
288
|
-
```ruby
|
289
|
-
begin
|
290
|
-
# Get Bulk Profile Import Job
|
291
|
-
data, status_code, headers = api_instance.get_bulk_profile_import_job_with_http_info(job_id, opts)
|
292
|
-
p status_code # => 2xx
|
293
|
-
p headers # => { ... }
|
294
|
-
p data # => Hash<String, Object>
|
295
|
-
rescue KlaviyoAPI::ApiError => e
|
296
|
-
puts "Error when calling ProfilesApi->get_bulk_profile_import_job_with_http_info: #{e}"
|
297
|
-
end
|
298
|
-
```
|
299
|
-
|
300
|
-
### Parameters
|
301
|
-
|
302
|
-
| Name | Type | Description | Notes |
|
303
|
-
| ---- | ---- | ----------- | ----- |
|
304
|
-
| **job_id** | **String** | ID of the job to retrieve. | |
|
305
|
-
| **fields_list** | [**Array<String>**](String.md) | For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets | [optional] |
|
306
|
-
| **fields_profile_bulk_import_job** | [**Array<String>**](String.md) | For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets | [optional] |
|
307
|
-
| **include** | [**Array<String>**](String.md) | For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#relationships | [optional] |
|
308
|
-
|
309
|
-
### Return type
|
310
|
-
|
311
|
-
**Hash<String, Object>**
|
312
|
-
|
313
|
-
### Authorization
|
314
|
-
|
315
|
-
[Klaviyo-API-Key](../README.md#Klaviyo-API-Key)
|
316
|
-
|
317
|
-
### HTTP request headers
|
318
|
-
|
319
|
-
- **Content-Type**: Not defined
|
320
|
-
- **Accept**: application/json
|
321
|
-
|
322
|
-
|
323
|
-
## get_bulk_profile_import_job_import_errors
|
324
|
-
|
325
|
-
> Hash<String, Object> get_bulk_profile_import_job_import_errors(id, opts)
|
326
|
-
|
327
|
-
Get Bulk Profile Import Job Errors
|
328
|
-
|
329
|
-
Get import errors for the bulk profile import job with the given ID.<br><br>*Rate limits*:<br>Burst: `10/s`<br>Steady: `150/m` **Scopes:** `profiles:read`
|
330
|
-
|
331
|
-
### Examples
|
332
|
-
|
333
|
-
```ruby
|
334
|
-
require 'time'
|
335
|
-
require 'klaviyo-api-sdk'
|
336
|
-
# setup authorization
|
337
|
-
KlaviyoAPI.configure do |config|
|
338
|
-
# Configure API key authorization: Klaviyo-API-Key
|
339
|
-
config.api_key['Klaviyo-API-Key'] = 'YOUR API KEY'
|
340
|
-
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
341
|
-
# config.api_key_prefix['Klaviyo-API-Key'] = 'Bearer'
|
342
|
-
end
|
343
|
-
|
344
|
-
api_instance = KlaviyoAPI::ProfilesApi.new
|
345
|
-
id = 'id_example' # String |
|
346
|
-
opts = {
|
347
|
-
fields_import_error: ['code'], # Array<String> | For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets
|
348
|
-
page_cursor: 'page_cursor_example', # String | For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#pagination
|
349
|
-
page_size: 56 # Integer | Default: 20. Min: 1. Max: 100.
|
350
|
-
}
|
351
|
-
|
352
|
-
begin
|
353
|
-
# Get Bulk Profile Import Job Errors
|
354
|
-
result = api_instance.get_bulk_profile_import_job_import_errors(id, opts)
|
355
|
-
p result
|
356
|
-
rescue KlaviyoAPI::ApiError => e
|
357
|
-
puts "Error when calling ProfilesApi->get_bulk_profile_import_job_import_errors: #{e}"
|
358
|
-
end
|
359
|
-
```
|
360
|
-
|
361
|
-
#### Using the get_bulk_profile_import_job_import_errors_with_http_info variant
|
362
|
-
|
363
|
-
This returns an Array which contains the response data, status code and headers.
|
364
|
-
|
365
|
-
> <Array(Hash<String, Object>, Integer, Hash)> get_bulk_profile_import_job_import_errors_with_http_info(id, opts)
|
366
|
-
|
367
|
-
```ruby
|
368
|
-
begin
|
369
|
-
# Get Bulk Profile Import Job Errors
|
370
|
-
data, status_code, headers = api_instance.get_bulk_profile_import_job_import_errors_with_http_info(id, opts)
|
371
|
-
p status_code # => 2xx
|
372
|
-
p headers # => { ... }
|
373
|
-
p data # => Hash<String, Object>
|
374
|
-
rescue KlaviyoAPI::ApiError => e
|
375
|
-
puts "Error when calling ProfilesApi->get_bulk_profile_import_job_import_errors_with_http_info: #{e}"
|
376
|
-
end
|
377
|
-
```
|
378
|
-
|
379
|
-
### Parameters
|
380
|
-
|
381
|
-
| Name | Type | Description | Notes |
|
382
|
-
| ---- | ---- | ----------- | ----- |
|
383
|
-
| **id** | **String** | | |
|
384
|
-
| **fields_import_error** | [**Array<String>**](String.md) | For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets | [optional] |
|
385
|
-
| **page_cursor** | **String** | For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#pagination | [optional] |
|
386
|
-
| **page_size** | **Integer** | Default: 20. Min: 1. Max: 100. | [optional][default to 20] |
|
387
|
-
|
388
|
-
### Return type
|
389
|
-
|
390
|
-
**Hash<String, Object>**
|
391
|
-
|
392
|
-
### Authorization
|
393
|
-
|
394
|
-
[Klaviyo-API-Key](../README.md#Klaviyo-API-Key)
|
395
|
-
|
396
|
-
### HTTP request headers
|
397
|
-
|
398
|
-
- **Content-Type**: Not defined
|
399
|
-
- **Accept**: application/json
|
400
|
-
|
401
|
-
|
402
|
-
## get_bulk_profile_import_job_lists
|
403
|
-
|
404
|
-
> Hash<String, Object> get_bulk_profile_import_job_lists(id, opts)
|
405
|
-
|
406
|
-
Get Bulk Profile Import Job Lists
|
407
|
-
|
408
|
-
Get list for the bulk profile import job with the given ID.<br><br>*Rate limits*:<br>Burst: `10/s`<br>Steady: `150/m` **Scopes:** `lists:read`
|
409
|
-
|
410
|
-
### Examples
|
411
|
-
|
412
|
-
```ruby
|
413
|
-
require 'time'
|
414
|
-
require 'klaviyo-api-sdk'
|
415
|
-
# setup authorization
|
416
|
-
KlaviyoAPI.configure do |config|
|
417
|
-
# Configure API key authorization: Klaviyo-API-Key
|
418
|
-
config.api_key['Klaviyo-API-Key'] = 'YOUR API KEY'
|
419
|
-
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
420
|
-
# config.api_key_prefix['Klaviyo-API-Key'] = 'Bearer'
|
421
|
-
end
|
422
|
-
|
423
|
-
api_instance = KlaviyoAPI::ProfilesApi.new
|
424
|
-
id = 'id_example' # String |
|
425
|
-
opts = {
|
426
|
-
fields_list: ['name'] # Array<String> | For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets
|
427
|
-
}
|
428
|
-
|
429
|
-
begin
|
430
|
-
# Get Bulk Profile Import Job Lists
|
431
|
-
result = api_instance.get_bulk_profile_import_job_lists(id, opts)
|
432
|
-
p result
|
433
|
-
rescue KlaviyoAPI::ApiError => e
|
434
|
-
puts "Error when calling ProfilesApi->get_bulk_profile_import_job_lists: #{e}"
|
435
|
-
end
|
436
|
-
```
|
437
|
-
|
438
|
-
#### Using the get_bulk_profile_import_job_lists_with_http_info variant
|
439
|
-
|
440
|
-
This returns an Array which contains the response data, status code and headers.
|
441
|
-
|
442
|
-
> <Array(Hash<String, Object>, Integer, Hash)> get_bulk_profile_import_job_lists_with_http_info(id, opts)
|
443
|
-
|
444
|
-
```ruby
|
445
|
-
begin
|
446
|
-
# Get Bulk Profile Import Job Lists
|
447
|
-
data, status_code, headers = api_instance.get_bulk_profile_import_job_lists_with_http_info(id, opts)
|
448
|
-
p status_code # => 2xx
|
449
|
-
p headers # => { ... }
|
450
|
-
p data # => Hash<String, Object>
|
451
|
-
rescue KlaviyoAPI::ApiError => e
|
452
|
-
puts "Error when calling ProfilesApi->get_bulk_profile_import_job_lists_with_http_info: #{e}"
|
453
|
-
end
|
454
|
-
```
|
455
|
-
|
456
|
-
### Parameters
|
457
|
-
|
458
|
-
| Name | Type | Description | Notes |
|
459
|
-
| ---- | ---- | ----------- | ----- |
|
460
|
-
| **id** | **String** | | |
|
461
|
-
| **fields_list** | [**Array<String>**](String.md) | For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets | [optional] |
|
462
|
-
|
463
|
-
### Return type
|
464
|
-
|
465
|
-
**Hash<String, Object>**
|
466
|
-
|
467
|
-
### Authorization
|
468
|
-
|
469
|
-
[Klaviyo-API-Key](../README.md#Klaviyo-API-Key)
|
470
|
-
|
471
|
-
### HTTP request headers
|
472
|
-
|
473
|
-
- **Content-Type**: Not defined
|
474
|
-
- **Accept**: application/json
|
475
|
-
|
476
|
-
|
477
|
-
## get_bulk_profile_import_job_profiles
|
478
|
-
|
479
|
-
> Hash<String, Object> get_bulk_profile_import_job_profiles(id, opts)
|
480
|
-
|
481
|
-
Get Bulk Profile Import Job Profiles
|
482
|
-
|
483
|
-
Get profiles for the bulk profile import job with the given ID.<br><br>*Rate limits*:<br>Burst: `10/s`<br>Steady: `150/m` **Scopes:** `profiles:read`
|
484
|
-
|
485
|
-
### Examples
|
486
|
-
|
487
|
-
```ruby
|
488
|
-
require 'time'
|
489
|
-
require 'klaviyo-api-sdk'
|
490
|
-
# setup authorization
|
491
|
-
KlaviyoAPI.configure do |config|
|
492
|
-
# Configure API key authorization: Klaviyo-API-Key
|
493
|
-
config.api_key['Klaviyo-API-Key'] = 'YOUR API KEY'
|
494
|
-
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
495
|
-
# config.api_key_prefix['Klaviyo-API-Key'] = 'Bearer'
|
496
|
-
end
|
497
|
-
|
498
|
-
api_instance = KlaviyoAPI::ProfilesApi.new
|
499
|
-
id = 'id_example' # String |
|
500
|
-
opts = {
|
501
|
-
additional_fields_profile: ['subscriptions'], # Array<String> | Request additional fields not included by default in the response. Supported values: 'subscriptions', 'predictive_analytics'
|
502
|
-
fields_profile: ['email'], # Array<String> | For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets
|
503
|
-
page_cursor: 'page_cursor_example', # String | For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#pagination
|
504
|
-
page_size: 56 # Integer | Default: 20. Min: 1. Max: 100.
|
505
|
-
}
|
506
|
-
|
507
|
-
begin
|
508
|
-
# Get Bulk Profile Import Job Profiles
|
509
|
-
result = api_instance.get_bulk_profile_import_job_profiles(id, opts)
|
510
|
-
p result
|
511
|
-
rescue KlaviyoAPI::ApiError => e
|
512
|
-
puts "Error when calling ProfilesApi->get_bulk_profile_import_job_profiles: #{e}"
|
513
|
-
end
|
514
|
-
```
|
515
|
-
|
516
|
-
#### Using the get_bulk_profile_import_job_profiles_with_http_info variant
|
517
|
-
|
518
|
-
This returns an Array which contains the response data, status code and headers.
|
519
|
-
|
520
|
-
> <Array(Hash<String, Object>, Integer, Hash)> get_bulk_profile_import_job_profiles_with_http_info(id, opts)
|
521
|
-
|
522
|
-
```ruby
|
523
|
-
begin
|
524
|
-
# Get Bulk Profile Import Job Profiles
|
525
|
-
data, status_code, headers = api_instance.get_bulk_profile_import_job_profiles_with_http_info(id, opts)
|
526
|
-
p status_code # => 2xx
|
527
|
-
p headers # => { ... }
|
528
|
-
p data # => Hash<String, Object>
|
529
|
-
rescue KlaviyoAPI::ApiError => e
|
530
|
-
puts "Error when calling ProfilesApi->get_bulk_profile_import_job_profiles_with_http_info: #{e}"
|
531
|
-
end
|
532
|
-
```
|
533
|
-
|
534
|
-
### Parameters
|
535
|
-
|
536
|
-
| Name | Type | Description | Notes |
|
537
|
-
| ---- | ---- | ----------- | ----- |
|
538
|
-
| **id** | **String** | | |
|
539
|
-
| **additional_fields_profile** | [**Array<String>**](String.md) | Request additional fields not included by default in the response. Supported values: 'subscriptions', 'predictive_analytics' | [optional] |
|
540
|
-
| **fields_profile** | [**Array<String>**](String.md) | For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets | [optional] |
|
541
|
-
| **page_cursor** | **String** | For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#pagination | [optional] |
|
542
|
-
| **page_size** | **Integer** | Default: 20. Min: 1. Max: 100. | [optional][default to 20] |
|
543
|
-
|
544
|
-
### Return type
|
545
|
-
|
546
|
-
**Hash<String, Object>**
|
547
|
-
|
548
|
-
### Authorization
|
549
|
-
|
550
|
-
[Klaviyo-API-Key](../README.md#Klaviyo-API-Key)
|
551
|
-
|
552
|
-
### HTTP request headers
|
553
|
-
|
554
|
-
- **Content-Type**: Not defined
|
555
|
-
- **Accept**: application/json
|
556
|
-
|
557
|
-
|
558
|
-
## get_bulk_profile_import_job_relationships_lists
|
559
|
-
|
560
|
-
> Hash<String, Object> get_bulk_profile_import_job_relationships_lists(id)
|
561
|
-
|
562
|
-
Get Bulk Profile Import Job Relationships Lists
|
563
|
-
|
564
|
-
Get list relationship for the bulk profile import job with the given ID.<br><br>*Rate limits*:<br>Burst: `10/s`<br>Steady: `150/m` **Scopes:** `lists:read`
|
565
|
-
|
566
|
-
### Examples
|
567
|
-
|
568
|
-
```ruby
|
569
|
-
require 'time'
|
570
|
-
require 'klaviyo-api-sdk'
|
571
|
-
# setup authorization
|
572
|
-
KlaviyoAPI.configure do |config|
|
573
|
-
# Configure API key authorization: Klaviyo-API-Key
|
574
|
-
config.api_key['Klaviyo-API-Key'] = 'YOUR API KEY'
|
575
|
-
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
576
|
-
# config.api_key_prefix['Klaviyo-API-Key'] = 'Bearer'
|
577
|
-
end
|
578
|
-
|
579
|
-
api_instance = KlaviyoAPI::ProfilesApi.new
|
580
|
-
id = 'id_example' # String |
|
581
|
-
|
582
|
-
begin
|
583
|
-
# Get Bulk Profile Import Job Relationships Lists
|
584
|
-
result = api_instance.get_bulk_profile_import_job_relationships_lists(id)
|
585
|
-
p result
|
586
|
-
rescue KlaviyoAPI::ApiError => e
|
587
|
-
puts "Error when calling ProfilesApi->get_bulk_profile_import_job_relationships_lists: #{e}"
|
588
|
-
end
|
589
|
-
```
|
590
|
-
|
591
|
-
#### Using the get_bulk_profile_import_job_relationships_lists_with_http_info variant
|
592
|
-
|
593
|
-
This returns an Array which contains the response data, status code and headers.
|
594
|
-
|
595
|
-
> <Array(Hash<String, Object>, Integer, Hash)> get_bulk_profile_import_job_relationships_lists_with_http_info(id)
|
596
|
-
|
597
|
-
```ruby
|
598
|
-
begin
|
599
|
-
# Get Bulk Profile Import Job Relationships Lists
|
600
|
-
data, status_code, headers = api_instance.get_bulk_profile_import_job_relationships_lists_with_http_info(id)
|
601
|
-
p status_code # => 2xx
|
602
|
-
p headers # => { ... }
|
603
|
-
p data # => Hash<String, Object>
|
604
|
-
rescue KlaviyoAPI::ApiError => e
|
605
|
-
puts "Error when calling ProfilesApi->get_bulk_profile_import_job_relationships_lists_with_http_info: #{e}"
|
606
|
-
end
|
607
|
-
```
|
608
|
-
|
609
|
-
### Parameters
|
610
|
-
|
611
|
-
| Name | Type | Description | Notes |
|
612
|
-
| ---- | ---- | ----------- | ----- |
|
613
|
-
| **id** | **String** | | |
|
614
|
-
|
615
|
-
### Return type
|
616
|
-
|
617
|
-
**Hash<String, Object>**
|
618
|
-
|
619
|
-
### Authorization
|
620
|
-
|
621
|
-
[Klaviyo-API-Key](../README.md#Klaviyo-API-Key)
|
622
|
-
|
623
|
-
### HTTP request headers
|
624
|
-
|
625
|
-
- **Content-Type**: Not defined
|
626
|
-
- **Accept**: application/json
|
627
|
-
|
628
|
-
|
629
|
-
## get_bulk_profile_import_job_relationships_profiles
|
630
|
-
|
631
|
-
> Hash<String, Object> get_bulk_profile_import_job_relationships_profiles(id, opts)
|
632
|
-
|
633
|
-
Get Bulk Profile Import Job Relationships Profiles
|
634
|
-
|
635
|
-
Get profile relationships for the bulk profile import job with the given ID.<br><br>*Rate limits*:<br>Burst: `10/s`<br>Steady: `150/m` **Scopes:** `profiles:read`
|
636
|
-
|
637
|
-
### Examples
|
638
|
-
|
639
|
-
```ruby
|
640
|
-
require 'time'
|
641
|
-
require 'klaviyo-api-sdk'
|
642
|
-
# setup authorization
|
643
|
-
KlaviyoAPI.configure do |config|
|
644
|
-
# Configure API key authorization: Klaviyo-API-Key
|
645
|
-
config.api_key['Klaviyo-API-Key'] = 'YOUR API KEY'
|
646
|
-
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
647
|
-
# config.api_key_prefix['Klaviyo-API-Key'] = 'Bearer'
|
648
|
-
end
|
649
|
-
|
650
|
-
api_instance = KlaviyoAPI::ProfilesApi.new
|
651
|
-
id = 'id_example' # String |
|
652
|
-
opts = {
|
653
|
-
page_cursor: 'page_cursor_example', # String | For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#pagination
|
654
|
-
page_size: 56 # Integer | Default: 20. Min: 1. Max: 100.
|
655
|
-
}
|
656
|
-
|
657
|
-
begin
|
658
|
-
# Get Bulk Profile Import Job Relationships Profiles
|
659
|
-
result = api_instance.get_bulk_profile_import_job_relationships_profiles(id, opts)
|
660
|
-
p result
|
661
|
-
rescue KlaviyoAPI::ApiError => e
|
662
|
-
puts "Error when calling ProfilesApi->get_bulk_profile_import_job_relationships_profiles: #{e}"
|
663
|
-
end
|
664
|
-
```
|
665
|
-
|
666
|
-
#### Using the get_bulk_profile_import_job_relationships_profiles_with_http_info variant
|
667
|
-
|
668
|
-
This returns an Array which contains the response data, status code and headers.
|
669
|
-
|
670
|
-
> <Array(Hash<String, Object>, Integer, Hash)> get_bulk_profile_import_job_relationships_profiles_with_http_info(id, opts)
|
671
|
-
|
672
|
-
```ruby
|
673
|
-
begin
|
674
|
-
# Get Bulk Profile Import Job Relationships Profiles
|
675
|
-
data, status_code, headers = api_instance.get_bulk_profile_import_job_relationships_profiles_with_http_info(id, opts)
|
676
|
-
p status_code # => 2xx
|
677
|
-
p headers # => { ... }
|
678
|
-
p data # => Hash<String, Object>
|
679
|
-
rescue KlaviyoAPI::ApiError => e
|
680
|
-
puts "Error when calling ProfilesApi->get_bulk_profile_import_job_relationships_profiles_with_http_info: #{e}"
|
681
|
-
end
|
682
|
-
```
|
683
|
-
|
684
|
-
### Parameters
|
685
|
-
|
686
|
-
| Name | Type | Description | Notes |
|
687
|
-
| ---- | ---- | ----------- | ----- |
|
688
|
-
| **id** | **String** | | |
|
689
|
-
| **page_cursor** | **String** | For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#pagination | [optional] |
|
690
|
-
| **page_size** | **Integer** | Default: 20. Min: 1. Max: 100. | [optional][default to 20] |
|
691
|
-
|
692
|
-
### Return type
|
693
|
-
|
694
|
-
**Hash<String, Object>**
|
695
|
-
|
696
|
-
### Authorization
|
697
|
-
|
698
|
-
[Klaviyo-API-Key](../README.md#Klaviyo-API-Key)
|
699
|
-
|
700
|
-
### HTTP request headers
|
701
|
-
|
702
|
-
- **Content-Type**: Not defined
|
703
|
-
- **Accept**: application/json
|
704
|
-
|
705
|
-
|
706
|
-
## get_bulk_profile_import_jobs
|
707
|
-
|
708
|
-
> Hash<String, Object> get_bulk_profile_import_jobs(opts)
|
709
|
-
|
710
|
-
Get Bulk Profile Import Jobs
|
711
|
-
|
712
|
-
Get all bulk profile import jobs. Returns a maximum of 100 jobs per request.<br><br>*Rate limits*:<br>Burst: `10/s`<br>Steady: `150/m` **Scopes:** `lists:read` `profiles:read`
|
713
|
-
|
714
|
-
### Examples
|
715
|
-
|
716
|
-
```ruby
|
717
|
-
require 'time'
|
718
|
-
require 'klaviyo-api-sdk'
|
719
|
-
# setup authorization
|
720
|
-
KlaviyoAPI.configure do |config|
|
721
|
-
# Configure API key authorization: Klaviyo-API-Key
|
722
|
-
config.api_key['Klaviyo-API-Key'] = 'YOUR API KEY'
|
723
|
-
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
724
|
-
# config.api_key_prefix['Klaviyo-API-Key'] = 'Bearer'
|
725
|
-
end
|
726
|
-
|
727
|
-
api_instance = KlaviyoAPI::ProfilesApi.new
|
728
|
-
opts = {
|
729
|
-
fields_profile_bulk_import_job: ['status'], # Array<String> | For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets
|
730
|
-
filter: 'filter_example', # String | For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`status`: `any`, `equals`
|
731
|
-
page_cursor: 'page_cursor_example', # String | For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#pagination
|
732
|
-
page_size: 56, # Integer | Default: 20. Min: 1. Max: 100.
|
733
|
-
sort: 'created_at' # String | For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sorting
|
734
|
-
}
|
735
|
-
|
736
|
-
begin
|
737
|
-
# Get Bulk Profile Import Jobs
|
738
|
-
result = api_instance.get_bulk_profile_import_jobs(opts)
|
739
|
-
p result
|
740
|
-
rescue KlaviyoAPI::ApiError => e
|
741
|
-
puts "Error when calling ProfilesApi->get_bulk_profile_import_jobs: #{e}"
|
742
|
-
end
|
743
|
-
```
|
744
|
-
|
745
|
-
#### Using the get_bulk_profile_import_jobs_with_http_info variant
|
746
|
-
|
747
|
-
This returns an Array which contains the response data, status code and headers.
|
748
|
-
|
749
|
-
> <Array(Hash<String, Object>, Integer, Hash)> get_bulk_profile_import_jobs_with_http_info(opts)
|
750
|
-
|
751
|
-
```ruby
|
752
|
-
begin
|
753
|
-
# Get Bulk Profile Import Jobs
|
754
|
-
data, status_code, headers = api_instance.get_bulk_profile_import_jobs_with_http_info(opts)
|
755
|
-
p status_code # => 2xx
|
756
|
-
p headers # => { ... }
|
757
|
-
p data # => Hash<String, Object>
|
758
|
-
rescue KlaviyoAPI::ApiError => e
|
759
|
-
puts "Error when calling ProfilesApi->get_bulk_profile_import_jobs_with_http_info: #{e}"
|
760
|
-
end
|
761
|
-
```
|
762
|
-
|
763
|
-
### Parameters
|
764
|
-
|
765
|
-
| Name | Type | Description | Notes |
|
766
|
-
| ---- | ---- | ----------- | ----- |
|
767
|
-
| **fields_profile_bulk_import_job** | [**Array<String>**](String.md) | For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets | [optional] |
|
768
|
-
| **filter** | **String** | For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`status`: `any`, `equals` | [optional] |
|
769
|
-
| **page_cursor** | **String** | For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#pagination | [optional] |
|
770
|
-
| **page_size** | **Integer** | Default: 20. Min: 1. Max: 100. | [optional][default to 20] |
|
771
|
-
| **sort** | **String** | For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sorting | [optional] |
|
772
|
-
|
773
|
-
### Return type
|
774
|
-
|
775
|
-
**Hash<String, Object>**
|
776
|
-
|
777
|
-
### Authorization
|
778
|
-
|
779
|
-
[Klaviyo-API-Key](../README.md#Klaviyo-API-Key)
|
780
|
-
|
781
|
-
### HTTP request headers
|
782
|
-
|
783
|
-
- **Content-Type**: Not defined
|
784
|
-
- **Accept**: application/json
|
785
|
-
|
786
|
-
|
787
|
-
## get_profile
|
788
|
-
|
789
|
-
> Hash<String, Object> get_profile(id, opts)
|
790
|
-
|
791
|
-
Get Profile
|
792
|
-
|
793
|
-
Get the profile with the given profile ID.<br><br>*Rate limits*:<br>Burst: `75/s`<br>Steady: `700/m` **Scopes:** `profiles:read`
|
794
|
-
|
795
|
-
### Examples
|
796
|
-
|
797
|
-
```ruby
|
798
|
-
require 'time'
|
799
|
-
require 'klaviyo-api-sdk'
|
800
|
-
# setup authorization
|
801
|
-
KlaviyoAPI.configure do |config|
|
802
|
-
# Configure API key authorization: Klaviyo-API-Key
|
803
|
-
config.api_key['Klaviyo-API-Key'] = 'YOUR API KEY'
|
804
|
-
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
805
|
-
# config.api_key_prefix['Klaviyo-API-Key'] = 'Bearer'
|
806
|
-
end
|
807
|
-
|
808
|
-
api_instance = KlaviyoAPI::ProfilesApi.new
|
809
|
-
id = 'id_example' # String |
|
810
|
-
opts = {
|
811
|
-
additional_fields_profile: ['subscriptions'], # Array<String> | Request additional fields not included by default in the response. Supported values: 'subscriptions', 'predictive_analytics'
|
812
|
-
fields_list: ['name'], # Array<String> | For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets
|
813
|
-
fields_profile: ['email'], # Array<String> | For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets
|
814
|
-
fields_segment: ['name'], # Array<String> | For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets
|
815
|
-
include: ['lists'] # Array<String> | For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#relationships
|
816
|
-
}
|
817
|
-
|
818
|
-
begin
|
819
|
-
# Get Profile
|
820
|
-
result = api_instance.get_profile(id, opts)
|
821
|
-
p result
|
822
|
-
rescue KlaviyoAPI::ApiError => e
|
823
|
-
puts "Error when calling ProfilesApi->get_profile: #{e}"
|
824
|
-
end
|
825
|
-
```
|
826
|
-
|
827
|
-
#### Using the get_profile_with_http_info variant
|
828
|
-
|
829
|
-
This returns an Array which contains the response data, status code and headers.
|
830
|
-
|
831
|
-
> <Array(Hash<String, Object>, Integer, Hash)> get_profile_with_http_info(id, opts)
|
832
|
-
|
833
|
-
```ruby
|
834
|
-
begin
|
835
|
-
# Get Profile
|
836
|
-
data, status_code, headers = api_instance.get_profile_with_http_info(id, opts)
|
837
|
-
p status_code # => 2xx
|
838
|
-
p headers # => { ... }
|
839
|
-
p data # => Hash<String, Object>
|
840
|
-
rescue KlaviyoAPI::ApiError => e
|
841
|
-
puts "Error when calling ProfilesApi->get_profile_with_http_info: #{e}"
|
842
|
-
end
|
843
|
-
```
|
844
|
-
|
845
|
-
### Parameters
|
846
|
-
|
847
|
-
| Name | Type | Description | Notes |
|
848
|
-
| ---- | ---- | ----------- | ----- |
|
849
|
-
| **id** | **String** | | |
|
850
|
-
| **additional_fields_profile** | [**Array<String>**](String.md) | Request additional fields not included by default in the response. Supported values: 'subscriptions', 'predictive_analytics' | [optional] |
|
851
|
-
| **fields_list** | [**Array<String>**](String.md) | For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets | [optional] |
|
852
|
-
| **fields_profile** | [**Array<String>**](String.md) | For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets | [optional] |
|
853
|
-
| **fields_segment** | [**Array<String>**](String.md) | For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets | [optional] |
|
854
|
-
| **include** | [**Array<String>**](String.md) | For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#relationships | [optional] |
|
855
|
-
|
856
|
-
### Return type
|
857
|
-
|
858
|
-
**Hash<String, Object>**
|
859
|
-
|
860
|
-
### Authorization
|
861
|
-
|
862
|
-
[Klaviyo-API-Key](../README.md#Klaviyo-API-Key)
|
863
|
-
|
864
|
-
### HTTP request headers
|
865
|
-
|
866
|
-
- **Content-Type**: Not defined
|
867
|
-
- **Accept**: application/json
|
868
|
-
|
869
|
-
|
870
|
-
## get_profile_lists
|
871
|
-
|
872
|
-
> Hash<String, Object> get_profile_lists(id, opts)
|
873
|
-
|
874
|
-
Get Profile Lists
|
875
|
-
|
876
|
-
Get list memberships for a profile with the given profile ID.<br><br>*Rate limits*:<br>Burst: `3/s`<br>Steady: `60/m` **Scopes:** `lists:read` `profiles:read`
|
877
|
-
|
878
|
-
### Examples
|
879
|
-
|
880
|
-
```ruby
|
881
|
-
require 'time'
|
882
|
-
require 'klaviyo-api-sdk'
|
883
|
-
# setup authorization
|
884
|
-
KlaviyoAPI.configure do |config|
|
885
|
-
# Configure API key authorization: Klaviyo-API-Key
|
886
|
-
config.api_key['Klaviyo-API-Key'] = 'YOUR API KEY'
|
887
|
-
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
888
|
-
# config.api_key_prefix['Klaviyo-API-Key'] = 'Bearer'
|
889
|
-
end
|
890
|
-
|
891
|
-
api_instance = KlaviyoAPI::ProfilesApi.new
|
892
|
-
id = 'id_example' # String |
|
893
|
-
opts = {
|
894
|
-
fields_list: ['name'] # Array<String> | For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets
|
895
|
-
}
|
896
|
-
|
897
|
-
begin
|
898
|
-
# Get Profile Lists
|
899
|
-
result = api_instance.get_profile_lists(id, opts)
|
900
|
-
p result
|
901
|
-
rescue KlaviyoAPI::ApiError => e
|
902
|
-
puts "Error when calling ProfilesApi->get_profile_lists: #{e}"
|
903
|
-
end
|
904
|
-
```
|
905
|
-
|
906
|
-
#### Using the get_profile_lists_with_http_info variant
|
907
|
-
|
908
|
-
This returns an Array which contains the response data, status code and headers.
|
909
|
-
|
910
|
-
> <Array(Hash<String, Object>, Integer, Hash)> get_profile_lists_with_http_info(id, opts)
|
911
|
-
|
912
|
-
```ruby
|
913
|
-
begin
|
914
|
-
# Get Profile Lists
|
915
|
-
data, status_code, headers = api_instance.get_profile_lists_with_http_info(id, opts)
|
916
|
-
p status_code # => 2xx
|
917
|
-
p headers # => { ... }
|
918
|
-
p data # => Hash<String, Object>
|
919
|
-
rescue KlaviyoAPI::ApiError => e
|
920
|
-
puts "Error when calling ProfilesApi->get_profile_lists_with_http_info: #{e}"
|
921
|
-
end
|
922
|
-
```
|
923
|
-
|
924
|
-
### Parameters
|
925
|
-
|
926
|
-
| Name | Type | Description | Notes |
|
927
|
-
| ---- | ---- | ----------- | ----- |
|
928
|
-
| **id** | **String** | | |
|
929
|
-
| **fields_list** | [**Array<String>**](String.md) | For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets | [optional] |
|
930
|
-
|
931
|
-
### Return type
|
932
|
-
|
933
|
-
**Hash<String, Object>**
|
934
|
-
|
935
|
-
### Authorization
|
936
|
-
|
937
|
-
[Klaviyo-API-Key](../README.md#Klaviyo-API-Key)
|
938
|
-
|
939
|
-
### HTTP request headers
|
940
|
-
|
941
|
-
- **Content-Type**: Not defined
|
942
|
-
- **Accept**: application/json
|
943
|
-
|
944
|
-
|
945
|
-
## get_profile_relationships_lists
|
946
|
-
|
947
|
-
> Hash<String, Object> get_profile_relationships_lists(id)
|
948
|
-
|
949
|
-
Get Profile Relationships Lists
|
950
|
-
|
951
|
-
Get list memberships for a profile with the given profile ID.<br><br>*Rate limits*:<br>Burst: `3/s`<br>Steady: `60/m` **Scopes:** `lists:read` `profiles:read`
|
952
|
-
|
953
|
-
### Examples
|
954
|
-
|
955
|
-
```ruby
|
956
|
-
require 'time'
|
957
|
-
require 'klaviyo-api-sdk'
|
958
|
-
# setup authorization
|
959
|
-
KlaviyoAPI.configure do |config|
|
960
|
-
# Configure API key authorization: Klaviyo-API-Key
|
961
|
-
config.api_key['Klaviyo-API-Key'] = 'YOUR API KEY'
|
962
|
-
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
963
|
-
# config.api_key_prefix['Klaviyo-API-Key'] = 'Bearer'
|
964
|
-
end
|
965
|
-
|
966
|
-
api_instance = KlaviyoAPI::ProfilesApi.new
|
967
|
-
id = 'id_example' # String |
|
968
|
-
|
969
|
-
begin
|
970
|
-
# Get Profile Relationships Lists
|
971
|
-
result = api_instance.get_profile_relationships_lists(id)
|
972
|
-
p result
|
973
|
-
rescue KlaviyoAPI::ApiError => e
|
974
|
-
puts "Error when calling ProfilesApi->get_profile_relationships_lists: #{e}"
|
975
|
-
end
|
976
|
-
```
|
977
|
-
|
978
|
-
#### Using the get_profile_relationships_lists_with_http_info variant
|
979
|
-
|
980
|
-
This returns an Array which contains the response data, status code and headers.
|
981
|
-
|
982
|
-
> <Array(Hash<String, Object>, Integer, Hash)> get_profile_relationships_lists_with_http_info(id)
|
983
|
-
|
984
|
-
```ruby
|
985
|
-
begin
|
986
|
-
# Get Profile Relationships Lists
|
987
|
-
data, status_code, headers = api_instance.get_profile_relationships_lists_with_http_info(id)
|
988
|
-
p status_code # => 2xx
|
989
|
-
p headers # => { ... }
|
990
|
-
p data # => Hash<String, Object>
|
991
|
-
rescue KlaviyoAPI::ApiError => e
|
992
|
-
puts "Error when calling ProfilesApi->get_profile_relationships_lists_with_http_info: #{e}"
|
993
|
-
end
|
994
|
-
```
|
995
|
-
|
996
|
-
### Parameters
|
997
|
-
|
998
|
-
| Name | Type | Description | Notes |
|
999
|
-
| ---- | ---- | ----------- | ----- |
|
1000
|
-
| **id** | **String** | | |
|
1001
|
-
|
1002
|
-
### Return type
|
1003
|
-
|
1004
|
-
**Hash<String, Object>**
|
1005
|
-
|
1006
|
-
### Authorization
|
1007
|
-
|
1008
|
-
[Klaviyo-API-Key](../README.md#Klaviyo-API-Key)
|
1009
|
-
|
1010
|
-
### HTTP request headers
|
1011
|
-
|
1012
|
-
- **Content-Type**: Not defined
|
1013
|
-
- **Accept**: application/json
|
1014
|
-
|
1015
|
-
|
1016
|
-
## get_profile_relationships_segments
|
1017
|
-
|
1018
|
-
> Hash<String, Object> get_profile_relationships_segments(id)
|
1019
|
-
|
1020
|
-
Get Profile Relationships Segments
|
1021
|
-
|
1022
|
-
Get segment membership relationships for a profile with the given profile ID.<br><br>*Rate limits*:<br>Burst: `3/s`<br>Steady: `60/m` **Scopes:** `profiles:read` `segments:read`
|
1023
|
-
|
1024
|
-
### Examples
|
1025
|
-
|
1026
|
-
```ruby
|
1027
|
-
require 'time'
|
1028
|
-
require 'klaviyo-api-sdk'
|
1029
|
-
# setup authorization
|
1030
|
-
KlaviyoAPI.configure do |config|
|
1031
|
-
# Configure API key authorization: Klaviyo-API-Key
|
1032
|
-
config.api_key['Klaviyo-API-Key'] = 'YOUR API KEY'
|
1033
|
-
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
1034
|
-
# config.api_key_prefix['Klaviyo-API-Key'] = 'Bearer'
|
1035
|
-
end
|
1036
|
-
|
1037
|
-
api_instance = KlaviyoAPI::ProfilesApi.new
|
1038
|
-
id = 'id_example' # String |
|
1039
|
-
|
1040
|
-
begin
|
1041
|
-
# Get Profile Relationships Segments
|
1042
|
-
result = api_instance.get_profile_relationships_segments(id)
|
1043
|
-
p result
|
1044
|
-
rescue KlaviyoAPI::ApiError => e
|
1045
|
-
puts "Error when calling ProfilesApi->get_profile_relationships_segments: #{e}"
|
1046
|
-
end
|
1047
|
-
```
|
1048
|
-
|
1049
|
-
#### Using the get_profile_relationships_segments_with_http_info variant
|
1050
|
-
|
1051
|
-
This returns an Array which contains the response data, status code and headers.
|
1052
|
-
|
1053
|
-
> <Array(Hash<String, Object>, Integer, Hash)> get_profile_relationships_segments_with_http_info(id)
|
1054
|
-
|
1055
|
-
```ruby
|
1056
|
-
begin
|
1057
|
-
# Get Profile Relationships Segments
|
1058
|
-
data, status_code, headers = api_instance.get_profile_relationships_segments_with_http_info(id)
|
1059
|
-
p status_code # => 2xx
|
1060
|
-
p headers # => { ... }
|
1061
|
-
p data # => Hash<String, Object>
|
1062
|
-
rescue KlaviyoAPI::ApiError => e
|
1063
|
-
puts "Error when calling ProfilesApi->get_profile_relationships_segments_with_http_info: #{e}"
|
1064
|
-
end
|
1065
|
-
```
|
1066
|
-
|
1067
|
-
### Parameters
|
1068
|
-
|
1069
|
-
| Name | Type | Description | Notes |
|
1070
|
-
| ---- | ---- | ----------- | ----- |
|
1071
|
-
| **id** | **String** | | |
|
1072
|
-
|
1073
|
-
### Return type
|
1074
|
-
|
1075
|
-
**Hash<String, Object>**
|
1076
|
-
|
1077
|
-
### Authorization
|
1078
|
-
|
1079
|
-
[Klaviyo-API-Key](../README.md#Klaviyo-API-Key)
|
1080
|
-
|
1081
|
-
### HTTP request headers
|
1082
|
-
|
1083
|
-
- **Content-Type**: Not defined
|
1084
|
-
- **Accept**: application/json
|
1085
|
-
|
1086
|
-
|
1087
|
-
## get_profile_segments
|
1088
|
-
|
1089
|
-
> Hash<String, Object> get_profile_segments(id, opts)
|
1090
|
-
|
1091
|
-
Get Profile Segments
|
1092
|
-
|
1093
|
-
Get segment memberships for a profile with the given profile ID.<br><br>*Rate limits*:<br>Burst: `3/s`<br>Steady: `60/m` **Scopes:** `profiles:read` `segments:read`
|
1094
|
-
|
1095
|
-
### Examples
|
1096
|
-
|
1097
|
-
```ruby
|
1098
|
-
require 'time'
|
1099
|
-
require 'klaviyo-api-sdk'
|
1100
|
-
# setup authorization
|
1101
|
-
KlaviyoAPI.configure do |config|
|
1102
|
-
# Configure API key authorization: Klaviyo-API-Key
|
1103
|
-
config.api_key['Klaviyo-API-Key'] = 'YOUR API KEY'
|
1104
|
-
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
1105
|
-
# config.api_key_prefix['Klaviyo-API-Key'] = 'Bearer'
|
1106
|
-
end
|
1107
|
-
|
1108
|
-
api_instance = KlaviyoAPI::ProfilesApi.new
|
1109
|
-
id = 'id_example' # String |
|
1110
|
-
opts = {
|
1111
|
-
fields_segment: ['name'] # Array<String> | For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets
|
1112
|
-
}
|
1113
|
-
|
1114
|
-
begin
|
1115
|
-
# Get Profile Segments
|
1116
|
-
result = api_instance.get_profile_segments(id, opts)
|
1117
|
-
p result
|
1118
|
-
rescue KlaviyoAPI::ApiError => e
|
1119
|
-
puts "Error when calling ProfilesApi->get_profile_segments: #{e}"
|
1120
|
-
end
|
1121
|
-
```
|
1122
|
-
|
1123
|
-
#### Using the get_profile_segments_with_http_info variant
|
1124
|
-
|
1125
|
-
This returns an Array which contains the response data, status code and headers.
|
1126
|
-
|
1127
|
-
> <Array(Hash<String, Object>, Integer, Hash)> get_profile_segments_with_http_info(id, opts)
|
1128
|
-
|
1129
|
-
```ruby
|
1130
|
-
begin
|
1131
|
-
# Get Profile Segments
|
1132
|
-
data, status_code, headers = api_instance.get_profile_segments_with_http_info(id, opts)
|
1133
|
-
p status_code # => 2xx
|
1134
|
-
p headers # => { ... }
|
1135
|
-
p data # => Hash<String, Object>
|
1136
|
-
rescue KlaviyoAPI::ApiError => e
|
1137
|
-
puts "Error when calling ProfilesApi->get_profile_segments_with_http_info: #{e}"
|
1138
|
-
end
|
1139
|
-
```
|
1140
|
-
|
1141
|
-
### Parameters
|
1142
|
-
|
1143
|
-
| Name | Type | Description | Notes |
|
1144
|
-
| ---- | ---- | ----------- | ----- |
|
1145
|
-
| **id** | **String** | | |
|
1146
|
-
| **fields_segment** | [**Array<String>**](String.md) | For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets | [optional] |
|
1147
|
-
|
1148
|
-
### Return type
|
1149
|
-
|
1150
|
-
**Hash<String, Object>**
|
1151
|
-
|
1152
|
-
### Authorization
|
1153
|
-
|
1154
|
-
[Klaviyo-API-Key](../README.md#Klaviyo-API-Key)
|
1155
|
-
|
1156
|
-
### HTTP request headers
|
1157
|
-
|
1158
|
-
- **Content-Type**: Not defined
|
1159
|
-
- **Accept**: application/json
|
1160
|
-
|
1161
|
-
|
1162
|
-
## get_profiles
|
1163
|
-
|
1164
|
-
> Hash<String, Object> get_profiles(opts)
|
1165
|
-
|
1166
|
-
Get Profiles
|
1167
|
-
|
1168
|
-
Get all profiles in an account. Profiles can be sorted by the following fields in ascending and descending order: `id`, `created`, `updated`, `email`, `subscriptions.email.marketing.suppression.timestamp`, `subscriptions.email.marketing.list_suppressions.timestamp`<br><br>*Rate limits*:<br>Burst: `75/s`<br>Steady: `700/m`<br><br>Rate limits when using the `additional-fields[profile]=predictive_analytics` parameter in your API request:<br>Burst: `10/s`<br>Steady: `150/m`<br><br>To learn more about how the `additional-fields` parameter impacts rate limits, check out our [Rate limits, status codes, and errors](https://developers.klaviyo.com/en/v2024-07-15/docs/rate_limits_and_error_handling) guide. **Scopes:** `profiles:read`
|
1169
|
-
|
1170
|
-
### Examples
|
1171
|
-
|
1172
|
-
```ruby
|
1173
|
-
require 'time'
|
1174
|
-
require 'klaviyo-api-sdk'
|
1175
|
-
# setup authorization
|
1176
|
-
KlaviyoAPI.configure do |config|
|
1177
|
-
# Configure API key authorization: Klaviyo-API-Key
|
1178
|
-
config.api_key['Klaviyo-API-Key'] = 'YOUR API KEY'
|
1179
|
-
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
1180
|
-
# config.api_key_prefix['Klaviyo-API-Key'] = 'Bearer'
|
1181
|
-
end
|
1182
|
-
|
1183
|
-
api_instance = KlaviyoAPI::ProfilesApi.new
|
1184
|
-
opts = {
|
1185
|
-
additional_fields_profile: ['subscriptions'], # Array<String> | Request additional fields not included by default in the response. Supported values: 'subscriptions', 'predictive_analytics'
|
1186
|
-
fields_profile: ['email'], # Array<String> | For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets
|
1187
|
-
filter: 'filter_example', # String | For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`id`: `any`, `equals`<br>`email`: `any`, `equals`<br>`phone_number`: `any`, `equals`<br>`external_id`: `any`, `equals`<br>`_kx`: `equals`<br>`created`: `greater-than`, `less-than`<br>`updated`: `greater-than`, `less-than`<br>`subscriptions.email.marketing.suppression.timestamp` : `greater-than`, `greater-or-equal`, `less-than`, `less-or-equal`<br>`subscriptions.email.marketing.suppression.reason` : `equals`<br>`subscriptions.email.marketing.list_suppressions.list_id` : `equals`<br>`subscriptions.email.marketing.list_suppressions.reason` : `equals`<br>`subscriptions.email.marketing.list_suppressions.timestamp` : `greater-than`, `greater-or-equal`, `less-than`, `less-or-equal`
|
1188
|
-
page_cursor: 'page_cursor_example', # String | For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#pagination
|
1189
|
-
page_size: 56, # Integer | Default: 20. Min: 1. Max: 100.
|
1190
|
-
sort: 'created' # String | For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sorting
|
1191
|
-
}
|
1192
|
-
|
1193
|
-
begin
|
1194
|
-
# Get Profiles
|
1195
|
-
result = api_instance.get_profiles(opts)
|
1196
|
-
p result
|
1197
|
-
rescue KlaviyoAPI::ApiError => e
|
1198
|
-
puts "Error when calling ProfilesApi->get_profiles: #{e}"
|
1199
|
-
end
|
1200
|
-
```
|
1201
|
-
|
1202
|
-
#### Using the get_profiles_with_http_info variant
|
1203
|
-
|
1204
|
-
This returns an Array which contains the response data, status code and headers.
|
1205
|
-
|
1206
|
-
> <Array(Hash<String, Object>, Integer, Hash)> get_profiles_with_http_info(opts)
|
1207
|
-
|
1208
|
-
```ruby
|
1209
|
-
begin
|
1210
|
-
# Get Profiles
|
1211
|
-
data, status_code, headers = api_instance.get_profiles_with_http_info(opts)
|
1212
|
-
p status_code # => 2xx
|
1213
|
-
p headers # => { ... }
|
1214
|
-
p data # => Hash<String, Object>
|
1215
|
-
rescue KlaviyoAPI::ApiError => e
|
1216
|
-
puts "Error when calling ProfilesApi->get_profiles_with_http_info: #{e}"
|
1217
|
-
end
|
1218
|
-
```
|
1219
|
-
|
1220
|
-
### Parameters
|
1221
|
-
|
1222
|
-
| Name | Type | Description | Notes |
|
1223
|
-
| ---- | ---- | ----------- | ----- |
|
1224
|
-
| **additional_fields_profile** | [**Array<String>**](String.md) | Request additional fields not included by default in the response. Supported values: 'subscriptions', 'predictive_analytics' | [optional] |
|
1225
|
-
| **fields_profile** | [**Array<String>**](String.md) | For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets | [optional] |
|
1226
|
-
| **filter** | **String** | For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`id`: `any`, `equals`<br>`email`: `any`, `equals`<br>`phone_number`: `any`, `equals`<br>`external_id`: `any`, `equals`<br>`_kx`: `equals`<br>`created`: `greater-than`, `less-than`<br>`updated`: `greater-than`, `less-than`<br>`subscriptions.email.marketing.suppression.timestamp` : `greater-than`, `greater-or-equal`, `less-than`, `less-or-equal`<br>`subscriptions.email.marketing.suppression.reason` : `equals`<br>`subscriptions.email.marketing.list_suppressions.list_id` : `equals`<br>`subscriptions.email.marketing.list_suppressions.reason` : `equals`<br>`subscriptions.email.marketing.list_suppressions.timestamp` : `greater-than`, `greater-or-equal`, `less-than`, `less-or-equal` | [optional] |
|
1227
|
-
| **page_cursor** | **String** | For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#pagination | [optional] |
|
1228
|
-
| **page_size** | **Integer** | Default: 20. Min: 1. Max: 100. | [optional][default to 20] |
|
1229
|
-
| **sort** | **String** | For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sorting | [optional] |
|
1230
|
-
|
1231
|
-
### Return type
|
1232
|
-
|
1233
|
-
**Hash<String, Object>**
|
1234
|
-
|
1235
|
-
### Authorization
|
1236
|
-
|
1237
|
-
[Klaviyo-API-Key](../README.md#Klaviyo-API-Key)
|
1238
|
-
|
1239
|
-
### HTTP request headers
|
1240
|
-
|
1241
|
-
- **Content-Type**: Not defined
|
1242
|
-
- **Accept**: application/json
|
1243
|
-
|
1244
|
-
|
1245
|
-
## merge_profiles
|
1246
|
-
|
1247
|
-
> Hash<String, Object> merge_profiles(profile_merge_query)
|
1248
|
-
|
1249
|
-
Merge Profiles
|
1250
|
-
|
1251
|
-
Merge a given related profile into a profile with the given profile ID. The profile provided under `relationships` (the \"source\" profile) will be merged into the profile provided by the ID in the base data object (the \"destination\" profile). This endpoint queues an asynchronous task which will merge data from the source profile into the destination profile, deleting the source profile in the process. This endpoint accepts only one source profile. To learn more about how profile data is preserved or overwritten during a merge, please [visit our Help Center](https://help.klaviyo.com/hc/en-us/articles/115005073847#merge-2-profiles3).<br><br>*Rate limits*:<br>Burst: `10/s`<br>Steady: `150/m` **Scopes:** `profiles:write`
|
1252
|
-
|
1253
|
-
### Examples
|
1254
|
-
|
1255
|
-
```ruby
|
1256
|
-
require 'time'
|
1257
|
-
require 'klaviyo-api-sdk'
|
1258
|
-
# setup authorization
|
1259
|
-
KlaviyoAPI.configure do |config|
|
1260
|
-
# Configure API key authorization: Klaviyo-API-Key
|
1261
|
-
config.api_key['Klaviyo-API-Key'] = 'YOUR API KEY'
|
1262
|
-
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
1263
|
-
# config.api_key_prefix['Klaviyo-API-Key'] = 'Bearer'
|
1264
|
-
end
|
1265
|
-
|
1266
|
-
api_instance = KlaviyoAPI::ProfilesApi.new
|
1267
|
-
profile_merge_query = KlaviyoAPI::ProfileMergeQuery.new({data: KlaviyoAPI::ProfileMergeQueryResourceObject.new({type: KlaviyoAPI::ProfileMergeEnum::PROFILE_MERGE, id: '01GDDKASAP8TKDDA2GRZDSVP4H'})}) # ProfileMergeQuery |
|
1268
|
-
|
1269
|
-
begin
|
1270
|
-
# Merge Profiles
|
1271
|
-
result = api_instance.merge_profiles(profile_merge_query)
|
1272
|
-
p result
|
1273
|
-
rescue KlaviyoAPI::ApiError => e
|
1274
|
-
puts "Error when calling ProfilesApi->merge_profiles: #{e}"
|
1275
|
-
end
|
1276
|
-
```
|
1277
|
-
|
1278
|
-
#### Using the merge_profiles_with_http_info variant
|
1279
|
-
|
1280
|
-
This returns an Array which contains the response data, status code and headers.
|
1281
|
-
|
1282
|
-
> <Array(Hash<String, Object>, Integer, Hash)> merge_profiles_with_http_info(profile_merge_query)
|
1283
|
-
|
1284
|
-
```ruby
|
1285
|
-
begin
|
1286
|
-
# Merge Profiles
|
1287
|
-
data, status_code, headers = api_instance.merge_profiles_with_http_info(profile_merge_query)
|
1288
|
-
p status_code # => 2xx
|
1289
|
-
p headers # => { ... }
|
1290
|
-
p data # => Hash<String, Object>
|
1291
|
-
rescue KlaviyoAPI::ApiError => e
|
1292
|
-
puts "Error when calling ProfilesApi->merge_profiles_with_http_info: #{e}"
|
1293
|
-
end
|
1294
|
-
```
|
1295
|
-
|
1296
|
-
### Parameters
|
1297
|
-
|
1298
|
-
| Name | Type | Description | Notes |
|
1299
|
-
| ---- | ---- | ----------- | ----- |
|
1300
|
-
| **profile_merge_query** | [**ProfileMergeQuery**](ProfileMergeQuery.md) | | |
|
1301
|
-
|
1302
|
-
### Return type
|
1303
|
-
|
1304
|
-
**Hash<String, Object>**
|
1305
|
-
|
1306
|
-
### Authorization
|
1307
|
-
|
1308
|
-
[Klaviyo-API-Key](../README.md#Klaviyo-API-Key)
|
1309
|
-
|
1310
|
-
### HTTP request headers
|
1311
|
-
|
1312
|
-
- **Content-Type**: application/json
|
1313
|
-
- **Accept**: application/json
|
1314
|
-
|
1315
|
-
|
1316
|
-
## spawn_bulk_profile_import_job
|
1317
|
-
|
1318
|
-
> Hash<String, Object> spawn_bulk_profile_import_job(profile_import_job_create_query)
|
1319
|
-
|
1320
|
-
Spawn Bulk Profile Import Job
|
1321
|
-
|
1322
|
-
Create a bulk profile import job to create or update a batch of profiles. Accepts up to 10,000 profiles per request. The maximum allowed payload size is 5MB. To learn more, see our [Bulk Profile Import API guide](https://developers.klaviyo.com/en/docs/use_klaviyos_bulk_profile_import_api).<br><br>*Rate limits*:<br>Burst: `10/s`<br>Steady: `150/m` **Scopes:** `lists:write` `profiles:write`
|
1323
|
-
|
1324
|
-
### Examples
|
1325
|
-
|
1326
|
-
```ruby
|
1327
|
-
require 'time'
|
1328
|
-
require 'klaviyo-api-sdk'
|
1329
|
-
# setup authorization
|
1330
|
-
KlaviyoAPI.configure do |config|
|
1331
|
-
# Configure API key authorization: Klaviyo-API-Key
|
1332
|
-
config.api_key['Klaviyo-API-Key'] = 'YOUR API KEY'
|
1333
|
-
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
1334
|
-
# config.api_key_prefix['Klaviyo-API-Key'] = 'Bearer'
|
1335
|
-
end
|
1336
|
-
|
1337
|
-
api_instance = KlaviyoAPI::ProfilesApi.new
|
1338
|
-
profile_import_job_create_query = KlaviyoAPI::ProfileImportJobCreateQuery.new({data: KlaviyoAPI::ProfileImportJobCreateQueryResourceObject.new({type: KlaviyoAPI::ProfileBulkImportJobEnum::PROFILE_BULK_IMPORT_JOB, attributes: KlaviyoAPI::ProfileImportJobCreateQueryResourceObjectAttributes.new({profiles: KlaviyoAPI::ProfileImportJobCreateQueryResourceObjectAttributesProfiles.new({data: [KlaviyoAPI::ProfileUpsertQueryResourceObject.new({type: KlaviyoAPI::ProfileEnum::PROFILE, attributes: KlaviyoAPI::ProfileUpsertQueryResourceObjectAttributes.new})]})})})}) # ProfileImportJobCreateQuery |
|
1339
|
-
|
1340
|
-
begin
|
1341
|
-
# Spawn Bulk Profile Import Job
|
1342
|
-
result = api_instance.spawn_bulk_profile_import_job(profile_import_job_create_query)
|
1343
|
-
p result
|
1344
|
-
rescue KlaviyoAPI::ApiError => e
|
1345
|
-
puts "Error when calling ProfilesApi->spawn_bulk_profile_import_job: #{e}"
|
1346
|
-
end
|
1347
|
-
```
|
1348
|
-
|
1349
|
-
#### Using the spawn_bulk_profile_import_job_with_http_info variant
|
1350
|
-
|
1351
|
-
This returns an Array which contains the response data, status code and headers.
|
1352
|
-
|
1353
|
-
> <Array(Hash<String, Object>, Integer, Hash)> spawn_bulk_profile_import_job_with_http_info(profile_import_job_create_query)
|
1354
|
-
|
1355
|
-
```ruby
|
1356
|
-
begin
|
1357
|
-
# Spawn Bulk Profile Import Job
|
1358
|
-
data, status_code, headers = api_instance.spawn_bulk_profile_import_job_with_http_info(profile_import_job_create_query)
|
1359
|
-
p status_code # => 2xx
|
1360
|
-
p headers # => { ... }
|
1361
|
-
p data # => Hash<String, Object>
|
1362
|
-
rescue KlaviyoAPI::ApiError => e
|
1363
|
-
puts "Error when calling ProfilesApi->spawn_bulk_profile_import_job_with_http_info: #{e}"
|
1364
|
-
end
|
1365
|
-
```
|
1366
|
-
|
1367
|
-
### Parameters
|
1368
|
-
|
1369
|
-
| Name | Type | Description | Notes |
|
1370
|
-
| ---- | ---- | ----------- | ----- |
|
1371
|
-
| **profile_import_job_create_query** | [**ProfileImportJobCreateQuery**](ProfileImportJobCreateQuery.md) | | |
|
1372
|
-
|
1373
|
-
### Return type
|
1374
|
-
|
1375
|
-
**Hash<String, Object>**
|
1376
|
-
|
1377
|
-
### Authorization
|
1378
|
-
|
1379
|
-
[Klaviyo-API-Key](../README.md#Klaviyo-API-Key)
|
1380
|
-
|
1381
|
-
### HTTP request headers
|
1382
|
-
|
1383
|
-
- **Content-Type**: application/json
|
1384
|
-
- **Accept**: application/json
|
1385
|
-
|
1386
|
-
|
1387
|
-
## subscribe_profiles
|
1388
|
-
|
1389
|
-
> subscribe_profiles(subscription_create_job_create_query)
|
1390
|
-
|
1391
|
-
Subscribe Profiles
|
1392
|
-
|
1393
|
-
Subscribe one or more profiles to email marketing, SMS marketing, or both. If the provided list has double opt-in enabled, profiles will receive a message requiring their confirmation before subscribing. Otherwise, profiles will be immediately subscribed without receiving a confirmation message. Learn more about [consent in this guide](https://developers.klaviyo.com/en/docs/collect_email_and_sms_consent_via_api). If a list is not provided, the opt-in process used will be determined by the [account-level default opt-in setting](https://www.klaviyo.com/settings/account/api-keys). To add someone to a list without changing their subscription status, use [Add Profile to List](https://developers.klaviyo.com/en/reference/create_list_relationships). This API will remove any `UNSUBSCRIBE`, `SPAM_REPORT` or `USER_SUPPRESSED` suppressions from the provided profiles. Learn more about [suppressed profiles](https://help.klaviyo.com/hc/en-us/articles/115005246108-Understanding-suppressed-email-profiles#what-is-a-suppressed-profile-1). Maximum number of profiles can be submitted for subscription: 1000 This endpoint now supports a `historical_import` flag. If this flag is set `true`, profiles being subscribed will bypass double opt-in emails and be subscribed immediately. They will also bypass any associated \"Added to list\" flows. This is useful for importing historical data where you have already collected consent. If `historical_import` is set to true, the `consented_at` field is required and must be in the past.<br><br>*Rate limits*:<br>Burst: `75/s`<br>Steady: `700/m` **Scopes:** `lists:write` `profiles:write` `subscriptions:write`
|
1394
|
-
|
1395
|
-
### Examples
|
1396
|
-
|
1397
|
-
```ruby
|
1398
|
-
require 'time'
|
1399
|
-
require 'klaviyo-api-sdk'
|
1400
|
-
# setup authorization
|
1401
|
-
KlaviyoAPI.configure do |config|
|
1402
|
-
# Configure API key authorization: Klaviyo-API-Key
|
1403
|
-
config.api_key['Klaviyo-API-Key'] = 'YOUR API KEY'
|
1404
|
-
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
1405
|
-
# config.api_key_prefix['Klaviyo-API-Key'] = 'Bearer'
|
1406
|
-
end
|
1407
|
-
|
1408
|
-
api_instance = KlaviyoAPI::ProfilesApi.new
|
1409
|
-
subscription_create_job_create_query = KlaviyoAPI::SubscriptionCreateJobCreateQuery.new({data: KlaviyoAPI::SubscriptionCreateJobCreateQueryResourceObject.new({type: KlaviyoAPI::ProfileSubscriptionBulkCreateJobEnum::PROFILE_SUBSCRIPTION_BULK_CREATE_JOB, attributes: KlaviyoAPI::SubscriptionCreateJobCreateQueryResourceObjectAttributes.new({profiles: KlaviyoAPI::SubscriptionCreateJobCreateQueryResourceObjectAttributesProfiles.new({data: [KlaviyoAPI::ProfileSubscriptionCreateQueryResourceObject.new({type: KlaviyoAPI::ProfileEnum::PROFILE, attributes: KlaviyoAPI::ProfileSubscriptionCreateQueryResourceObjectAttributes.new})]})})})}) # SubscriptionCreateJobCreateQuery | Subscribes one or more profiles to marketing. Currently, supports email and SMS only. All profiles will be added to the provided list. Either email or phone number is required. Both may be specified to subscribe to both channels. If a profile cannot be found matching the given identifier(s), a new profile will be created and then subscribed.
|
1410
|
-
|
1411
|
-
begin
|
1412
|
-
# Subscribe Profiles
|
1413
|
-
api_instance.subscribe_profiles(subscription_create_job_create_query)
|
1414
|
-
rescue KlaviyoAPI::ApiError => e
|
1415
|
-
puts "Error when calling ProfilesApi->subscribe_profiles: #{e}"
|
1416
|
-
end
|
1417
|
-
```
|
1418
|
-
|
1419
|
-
#### Using the subscribe_profiles_with_http_info variant
|
1420
|
-
|
1421
|
-
This returns an Array which contains the response data (`nil` in this case), status code and headers.
|
1422
|
-
|
1423
|
-
> <Array(nil, Integer, Hash)> subscribe_profiles_with_http_info(subscription_create_job_create_query)
|
1424
|
-
|
1425
|
-
```ruby
|
1426
|
-
begin
|
1427
|
-
# Subscribe Profiles
|
1428
|
-
data, status_code, headers = api_instance.subscribe_profiles_with_http_info(subscription_create_job_create_query)
|
1429
|
-
p status_code # => 2xx
|
1430
|
-
p headers # => { ... }
|
1431
|
-
p data # => nil
|
1432
|
-
rescue KlaviyoAPI::ApiError => e
|
1433
|
-
puts "Error when calling ProfilesApi->subscribe_profiles_with_http_info: #{e}"
|
1434
|
-
end
|
1435
|
-
```
|
1436
|
-
|
1437
|
-
### Parameters
|
1438
|
-
|
1439
|
-
| Name | Type | Description | Notes |
|
1440
|
-
| ---- | ---- | ----------- | ----- |
|
1441
|
-
| **subscription_create_job_create_query** | [**SubscriptionCreateJobCreateQuery**](SubscriptionCreateJobCreateQuery.md) | Subscribes one or more profiles to marketing. Currently, supports email and SMS only. All profiles will be added to the provided list. Either email or phone number is required. Both may be specified to subscribe to both channels. If a profile cannot be found matching the given identifier(s), a new profile will be created and then subscribed. | |
|
1442
|
-
|
1443
|
-
### Return type
|
1444
|
-
|
1445
|
-
nil (empty response body)
|
1446
|
-
|
1447
|
-
### Authorization
|
1448
|
-
|
1449
|
-
[Klaviyo-API-Key](../README.md#Klaviyo-API-Key)
|
1450
|
-
|
1451
|
-
### HTTP request headers
|
1452
|
-
|
1453
|
-
- **Content-Type**: application/json
|
1454
|
-
- **Accept**: application/json
|
1455
|
-
|
1456
|
-
|
1457
|
-
## suppress_profiles
|
1458
|
-
|
1459
|
-
> suppress_profiles(suppression_create_job_create_query)
|
1460
|
-
|
1461
|
-
Suppress Profiles
|
1462
|
-
|
1463
|
-
Manually suppress profiles using their email address, or by specifying a segment or list ID to suppress all current members. Suppressed profiles cannot receive email marketing, independent of their consent status. To learn more, see our [email suppressions guide](https://help.klaviyo.com/hc/en-us/articles/115005246108-Understanding-suppressed-email-profiles#what-is-a-suppressed-profile-1) and our [collecting consent guide](https://developers.klaviyo.com/en/docs/collect_email_and_sms_consent_via_api). Email addresses per request limit: 100<br><br>*Rate limits*:<br>Burst: `75/s`<br>Steady: `700/m` **Scopes:** `profiles:write` `subscriptions:write`
|
1464
|
-
|
1465
|
-
### Examples
|
1466
|
-
|
1467
|
-
```ruby
|
1468
|
-
require 'time'
|
1469
|
-
require 'klaviyo-api-sdk'
|
1470
|
-
# setup authorization
|
1471
|
-
KlaviyoAPI.configure do |config|
|
1472
|
-
# Configure API key authorization: Klaviyo-API-Key
|
1473
|
-
config.api_key['Klaviyo-API-Key'] = 'YOUR API KEY'
|
1474
|
-
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
1475
|
-
# config.api_key_prefix['Klaviyo-API-Key'] = 'Bearer'
|
1476
|
-
end
|
1477
|
-
|
1478
|
-
api_instance = KlaviyoAPI::ProfilesApi.new
|
1479
|
-
suppression_create_job_create_query = KlaviyoAPI::SuppressionCreateJobCreateQuery.new({data: KlaviyoAPI::SuppressionCreateJobCreateQueryResourceObject.new({type: KlaviyoAPI::ProfileSuppressionBulkCreateJobEnum::PROFILE_SUPPRESSION_BULK_CREATE_JOB, attributes: KlaviyoAPI::SuppressionCreateJobCreateQueryResourceObjectAttributes.new})}) # SuppressionCreateJobCreateQuery | Suppresses one or more profiles from receiving marketing. Currently, supports email only. If a profile is not found with the given email, one will be created and immediately suppressed.
|
1480
|
-
|
1481
|
-
begin
|
1482
|
-
# Suppress Profiles
|
1483
|
-
api_instance.suppress_profiles(suppression_create_job_create_query)
|
1484
|
-
rescue KlaviyoAPI::ApiError => e
|
1485
|
-
puts "Error when calling ProfilesApi->suppress_profiles: #{e}"
|
1486
|
-
end
|
1487
|
-
```
|
1488
|
-
|
1489
|
-
#### Using the suppress_profiles_with_http_info variant
|
1490
|
-
|
1491
|
-
This returns an Array which contains the response data (`nil` in this case), status code and headers.
|
1492
|
-
|
1493
|
-
> <Array(nil, Integer, Hash)> suppress_profiles_with_http_info(suppression_create_job_create_query)
|
1494
|
-
|
1495
|
-
```ruby
|
1496
|
-
begin
|
1497
|
-
# Suppress Profiles
|
1498
|
-
data, status_code, headers = api_instance.suppress_profiles_with_http_info(suppression_create_job_create_query)
|
1499
|
-
p status_code # => 2xx
|
1500
|
-
p headers # => { ... }
|
1501
|
-
p data # => nil
|
1502
|
-
rescue KlaviyoAPI::ApiError => e
|
1503
|
-
puts "Error when calling ProfilesApi->suppress_profiles_with_http_info: #{e}"
|
1504
|
-
end
|
1505
|
-
```
|
1506
|
-
|
1507
|
-
### Parameters
|
1508
|
-
|
1509
|
-
| Name | Type | Description | Notes |
|
1510
|
-
| ---- | ---- | ----------- | ----- |
|
1511
|
-
| **suppression_create_job_create_query** | [**SuppressionCreateJobCreateQuery**](SuppressionCreateJobCreateQuery.md) | Suppresses one or more profiles from receiving marketing. Currently, supports email only. If a profile is not found with the given email, one will be created and immediately suppressed. | |
|
1512
|
-
|
1513
|
-
### Return type
|
1514
|
-
|
1515
|
-
nil (empty response body)
|
1516
|
-
|
1517
|
-
### Authorization
|
1518
|
-
|
1519
|
-
[Klaviyo-API-Key](../README.md#Klaviyo-API-Key)
|
1520
|
-
|
1521
|
-
### HTTP request headers
|
1522
|
-
|
1523
|
-
- **Content-Type**: application/json
|
1524
|
-
- **Accept**: application/json
|
1525
|
-
|
1526
|
-
|
1527
|
-
## unsubscribe_profiles
|
1528
|
-
|
1529
|
-
> unsubscribe_profiles(subscription_delete_job_create_query)
|
1530
|
-
|
1531
|
-
Unsubscribe Profiles
|
1532
|
-
|
1533
|
-
Unsubscribe one or more profiles to email marketing, SMS marketing, or both. Learn more about [consent in this guide](https://developers.klaviyo.com/en/docs/collect_email_and_sms_consent_via_api). To remove someone from a list without changing their subscription status, use [Remove Profile from List](https://developers.klaviyo.com/en/reference/delete_list_relationships). Maximum number of profile can be submitted for unsubscription: 100<br><br>*Rate limits*:<br>Burst: `75/s`<br>Steady: `700/m` **Scopes:** `lists:write` `profiles:write` `subscriptions:write`
|
1534
|
-
|
1535
|
-
### Examples
|
1536
|
-
|
1537
|
-
```ruby
|
1538
|
-
require 'time'
|
1539
|
-
require 'klaviyo-api-sdk'
|
1540
|
-
# setup authorization
|
1541
|
-
KlaviyoAPI.configure do |config|
|
1542
|
-
# Configure API key authorization: Klaviyo-API-Key
|
1543
|
-
config.api_key['Klaviyo-API-Key'] = 'YOUR API KEY'
|
1544
|
-
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
1545
|
-
# config.api_key_prefix['Klaviyo-API-Key'] = 'Bearer'
|
1546
|
-
end
|
1547
|
-
|
1548
|
-
api_instance = KlaviyoAPI::ProfilesApi.new
|
1549
|
-
subscription_delete_job_create_query = KlaviyoAPI::SubscriptionDeleteJobCreateQuery.new({data: KlaviyoAPI::SubscriptionDeleteJobCreateQueryResourceObject.new({type: KlaviyoAPI::ProfileSubscriptionBulkDeleteJobEnum::PROFILE_SUBSCRIPTION_BULK_DELETE_JOB, attributes: KlaviyoAPI::SubscriptionDeleteJobCreateQueryResourceObjectAttributes.new({profiles: KlaviyoAPI::SubscriptionDeleteJobCreateQueryResourceObjectAttributesProfiles.new({data: [KlaviyoAPI::ProfileSubscriptionDeleteQueryResourceObject.new({type: KlaviyoAPI::ProfileEnum::PROFILE, attributes: KlaviyoAPI::ProfileSubscriptionDeleteQueryResourceObjectAttributes.new})]})})})}) # SubscriptionDeleteJobCreateQuery | Unsubscribes one or more profiles from marketing. Currently, supports email and SMS only. All profiles will be removed from the provided list. Either email or phone number is required. If a profile cannot be found matching the given identifier(s), a new profile will be created and then unsubscribed.
|
1550
|
-
|
1551
|
-
begin
|
1552
|
-
# Unsubscribe Profiles
|
1553
|
-
api_instance.unsubscribe_profiles(subscription_delete_job_create_query)
|
1554
|
-
rescue KlaviyoAPI::ApiError => e
|
1555
|
-
puts "Error when calling ProfilesApi->unsubscribe_profiles: #{e}"
|
1556
|
-
end
|
1557
|
-
```
|
1558
|
-
|
1559
|
-
#### Using the unsubscribe_profiles_with_http_info variant
|
1560
|
-
|
1561
|
-
This returns an Array which contains the response data (`nil` in this case), status code and headers.
|
1562
|
-
|
1563
|
-
> <Array(nil, Integer, Hash)> unsubscribe_profiles_with_http_info(subscription_delete_job_create_query)
|
1564
|
-
|
1565
|
-
```ruby
|
1566
|
-
begin
|
1567
|
-
# Unsubscribe Profiles
|
1568
|
-
data, status_code, headers = api_instance.unsubscribe_profiles_with_http_info(subscription_delete_job_create_query)
|
1569
|
-
p status_code # => 2xx
|
1570
|
-
p headers # => { ... }
|
1571
|
-
p data # => nil
|
1572
|
-
rescue KlaviyoAPI::ApiError => e
|
1573
|
-
puts "Error when calling ProfilesApi->unsubscribe_profiles_with_http_info: #{e}"
|
1574
|
-
end
|
1575
|
-
```
|
1576
|
-
|
1577
|
-
### Parameters
|
1578
|
-
|
1579
|
-
| Name | Type | Description | Notes |
|
1580
|
-
| ---- | ---- | ----------- | ----- |
|
1581
|
-
| **subscription_delete_job_create_query** | [**SubscriptionDeleteJobCreateQuery**](SubscriptionDeleteJobCreateQuery.md) | Unsubscribes one or more profiles from marketing. Currently, supports email and SMS only. All profiles will be removed from the provided list. Either email or phone number is required. If a profile cannot be found matching the given identifier(s), a new profile will be created and then unsubscribed. | |
|
1582
|
-
|
1583
|
-
### Return type
|
1584
|
-
|
1585
|
-
nil (empty response body)
|
1586
|
-
|
1587
|
-
### Authorization
|
1588
|
-
|
1589
|
-
[Klaviyo-API-Key](../README.md#Klaviyo-API-Key)
|
1590
|
-
|
1591
|
-
### HTTP request headers
|
1592
|
-
|
1593
|
-
- **Content-Type**: application/json
|
1594
|
-
- **Accept**: application/json
|
1595
|
-
|
1596
|
-
|
1597
|
-
## unsuppress_profiles
|
1598
|
-
|
1599
|
-
> unsuppress_profiles(suppression_delete_job_create_query)
|
1600
|
-
|
1601
|
-
Unsuppress Profiles
|
1602
|
-
|
1603
|
-
Manually unsuppress profiles using their email address, or by specifying a segment or list ID to unsuppress all current members. This only removes suppressions with reason `USER_SUPPRESSED`, leaving unsubscribed profiles and profiles suppressed with reason `INVALID_EMAIL` or `HARD_BOUNCE` unchanged. To learn more, see our [email suppressions guide](https://help.klaviyo.com/hc/en-us/articles/115005246108-Understanding-suppressed-email-profiles#what-is-a-suppressed-profile-1) and our [collecting consent guide](https://developers.klaviyo.com/en/docs/collect_email_and_sms_consent_via_api). Email addresses per request limit: 100<br><br>*Rate limits*:<br>Burst: `75/s`<br>Steady: `700/m` **Scopes:** `subscriptions:write`
|
1604
|
-
|
1605
|
-
### Examples
|
1606
|
-
|
1607
|
-
```ruby
|
1608
|
-
require 'time'
|
1609
|
-
require 'klaviyo-api-sdk'
|
1610
|
-
# setup authorization
|
1611
|
-
KlaviyoAPI.configure do |config|
|
1612
|
-
# Configure API key authorization: Klaviyo-API-Key
|
1613
|
-
config.api_key['Klaviyo-API-Key'] = 'YOUR API KEY'
|
1614
|
-
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
1615
|
-
# config.api_key_prefix['Klaviyo-API-Key'] = 'Bearer'
|
1616
|
-
end
|
1617
|
-
|
1618
|
-
api_instance = KlaviyoAPI::ProfilesApi.new
|
1619
|
-
suppression_delete_job_create_query = KlaviyoAPI::SuppressionDeleteJobCreateQuery.new({data: KlaviyoAPI::SuppressionDeleteJobCreateQueryResourceObject.new({type: KlaviyoAPI::ProfileSuppressionBulkDeleteJobEnum::PROFILE_SUPPRESSION_BULK_DELETE_JOB, attributes: KlaviyoAPI::SuppressionDeleteJobCreateQueryResourceObjectAttributes.new})}) # SuppressionDeleteJobCreateQuery | Unsuppresses one or more profiles from receiving marketing. Currently, supports email only. If a profile is not found with the given email, no action will be taken.
|
1620
|
-
|
1621
|
-
begin
|
1622
|
-
# Unsuppress Profiles
|
1623
|
-
api_instance.unsuppress_profiles(suppression_delete_job_create_query)
|
1624
|
-
rescue KlaviyoAPI::ApiError => e
|
1625
|
-
puts "Error when calling ProfilesApi->unsuppress_profiles: #{e}"
|
1626
|
-
end
|
1627
|
-
```
|
1628
|
-
|
1629
|
-
#### Using the unsuppress_profiles_with_http_info variant
|
1630
|
-
|
1631
|
-
This returns an Array which contains the response data (`nil` in this case), status code and headers.
|
1632
|
-
|
1633
|
-
> <Array(nil, Integer, Hash)> unsuppress_profiles_with_http_info(suppression_delete_job_create_query)
|
1634
|
-
|
1635
|
-
```ruby
|
1636
|
-
begin
|
1637
|
-
# Unsuppress Profiles
|
1638
|
-
data, status_code, headers = api_instance.unsuppress_profiles_with_http_info(suppression_delete_job_create_query)
|
1639
|
-
p status_code # => 2xx
|
1640
|
-
p headers # => { ... }
|
1641
|
-
p data # => nil
|
1642
|
-
rescue KlaviyoAPI::ApiError => e
|
1643
|
-
puts "Error when calling ProfilesApi->unsuppress_profiles_with_http_info: #{e}"
|
1644
|
-
end
|
1645
|
-
```
|
1646
|
-
|
1647
|
-
### Parameters
|
1648
|
-
|
1649
|
-
| Name | Type | Description | Notes |
|
1650
|
-
| ---- | ---- | ----------- | ----- |
|
1651
|
-
| **suppression_delete_job_create_query** | [**SuppressionDeleteJobCreateQuery**](SuppressionDeleteJobCreateQuery.md) | Unsuppresses one or more profiles from receiving marketing. Currently, supports email only. If a profile is not found with the given email, no action will be taken. | |
|
1652
|
-
|
1653
|
-
### Return type
|
1654
|
-
|
1655
|
-
nil (empty response body)
|
1656
|
-
|
1657
|
-
### Authorization
|
1658
|
-
|
1659
|
-
[Klaviyo-API-Key](../README.md#Klaviyo-API-Key)
|
1660
|
-
|
1661
|
-
### HTTP request headers
|
1662
|
-
|
1663
|
-
- **Content-Type**: application/json
|
1664
|
-
- **Accept**: application/json
|
1665
|
-
|
1666
|
-
|
1667
|
-
## update_profile
|
1668
|
-
|
1669
|
-
> Hash<String, Object> update_profile(id, profile_partial_update_query)
|
1670
|
-
|
1671
|
-
Update Profile
|
1672
|
-
|
1673
|
-
Update the profile with the given profile ID. Note that setting a field to `null` will clear out the field, whereas not including a field in your request will leave it unchanged.<br><br>*Rate limits*:<br>Burst: `75/s`<br>Steady: `700/m` **Scopes:** `profiles:write`
|
1674
|
-
|
1675
|
-
### Examples
|
1676
|
-
|
1677
|
-
```ruby
|
1678
|
-
require 'time'
|
1679
|
-
require 'klaviyo-api-sdk'
|
1680
|
-
# setup authorization
|
1681
|
-
KlaviyoAPI.configure do |config|
|
1682
|
-
# Configure API key authorization: Klaviyo-API-Key
|
1683
|
-
config.api_key['Klaviyo-API-Key'] = 'YOUR API KEY'
|
1684
|
-
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
1685
|
-
# config.api_key_prefix['Klaviyo-API-Key'] = 'Bearer'
|
1686
|
-
end
|
1687
|
-
|
1688
|
-
api_instance = KlaviyoAPI::ProfilesApi.new
|
1689
|
-
id = '01GDDKASAP8TKDDA2GRZDSVP4H' # String | Primary key that uniquely identifies this profile. Generated by Klaviyo.
|
1690
|
-
profile_partial_update_query = KlaviyoAPI::ProfilePartialUpdateQuery.new({data: KlaviyoAPI::ProfilePartialUpdateQueryResourceObject.new({type: KlaviyoAPI::ProfileEnum::PROFILE, id: '01GDDKASAP8TKDDA2GRZDSVP4H', attributes: KlaviyoAPI::ProfilePartialUpdateQueryResourceObjectAttributes.new})}) # ProfilePartialUpdateQuery |
|
1691
|
-
|
1692
|
-
begin
|
1693
|
-
# Update Profile
|
1694
|
-
result = api_instance.update_profile(id, profile_partial_update_query)
|
1695
|
-
p result
|
1696
|
-
rescue KlaviyoAPI::ApiError => e
|
1697
|
-
puts "Error when calling ProfilesApi->update_profile: #{e}"
|
1698
|
-
end
|
1699
|
-
```
|
1700
|
-
|
1701
|
-
#### Using the update_profile_with_http_info variant
|
1702
|
-
|
1703
|
-
This returns an Array which contains the response data, status code and headers.
|
1704
|
-
|
1705
|
-
> <Array(Hash<String, Object>, Integer, Hash)> update_profile_with_http_info(id, profile_partial_update_query)
|
1706
|
-
|
1707
|
-
```ruby
|
1708
|
-
begin
|
1709
|
-
# Update Profile
|
1710
|
-
data, status_code, headers = api_instance.update_profile_with_http_info(id, profile_partial_update_query)
|
1711
|
-
p status_code # => 2xx
|
1712
|
-
p headers # => { ... }
|
1713
|
-
p data # => Hash<String, Object>
|
1714
|
-
rescue KlaviyoAPI::ApiError => e
|
1715
|
-
puts "Error when calling ProfilesApi->update_profile_with_http_info: #{e}"
|
1716
|
-
end
|
1717
|
-
```
|
1718
|
-
|
1719
|
-
### Parameters
|
1720
|
-
|
1721
|
-
| Name | Type | Description | Notes |
|
1722
|
-
| ---- | ---- | ----------- | ----- |
|
1723
|
-
| **id** | **String** | Primary key that uniquely identifies this profile. Generated by Klaviyo. | |
|
1724
|
-
| **profile_partial_update_query** | [**ProfilePartialUpdateQuery**](ProfilePartialUpdateQuery.md) | | |
|
1725
|
-
|
1726
|
-
### Return type
|
1727
|
-
|
1728
|
-
**Hash<String, Object>**
|
1729
|
-
|
1730
|
-
### Authorization
|
1731
|
-
|
1732
|
-
[Klaviyo-API-Key](../README.md#Klaviyo-API-Key)
|
1733
|
-
|
1734
|
-
### HTTP request headers
|
1735
|
-
|
1736
|
-
- **Content-Type**: application/json
|
1737
|
-
- **Accept**: application/json
|
1738
|
-
|