diff --git a/CHANGELOG.md b/CHANGELOG.md index 2ffb66e..24b3052 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,21 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [8.0.0] - revision 2024-07-15 + +### Added + + - Forms API + - New `KlaviyoAPI::Forms` class with methods to get forms, form versions and relationships. + - Webhooks API + - new `KlaviyoAPI::Webooks` class containing CRUD operations for webhooks. + +### Changed + - `ProfilesApi.subscribe()` + - Added `historical_import` flag for importing historically consented profiles can now be optionally supplied in the payload for the Subscribe Profiles endpoint. + - When using this flag, a consented_at date must be provided and must be in the past. + + ## [7.1.0] - revision 2024-06-15 ### Added diff --git a/README.md b/README.md index e3a1336..9d3fcb1 100644 --- a/README.md +++ b/README.md @@ -1,12 +1,12 @@ # Klaviyo Ruby SDK -- SDK version: 7.1.0 -- API revision: 2024-06-15 +- SDK version: 8.0.0 +- API revision: 2024-07-15 ## Helpful Resources -- [API Reference](https://developers.klaviyo.com/en/v2024-06-15/reference) -- [API Guides](https://developers.klaviyo.com/en/v2024-06-15/docs) +- [API Reference](https://developers.klaviyo.com/en/v2024-07-15/reference) +- [API Guides](https://developers.klaviyo.com/en/v2024-07-15/docs) - [Postman Workspace](https://www.postman.com/klaviyo/workspace/klaviyo-developers) ## Design & Approach @@ -47,6 +47,10 @@ This SDK is organized into the following resources: +- Forms + + + - Images @@ -79,6 +83,10 @@ This SDK is organized into the following resources: +- Webhooks + + + ## Installation @@ -94,13 +102,13 @@ gem build klaviyo-api-sdk.gemspec Then install the gem locally: ```shell -gem install ./klaviyo-api-sdk-7.1.0.gem +gem install ./klaviyo-api-sdk-8.0.0.gem ``` Finally add this to the Gemfile: - gem 'klaviyo-api-sdk', '~> 7.1.0' + gem 'klaviyo-api-sdk', '~> 8.0.0' To install directly from rubygems: @@ -470,7 +478,7 @@ response = KlaviyoAPI::Events.get_events(opts) ## Comprehensive list of Operations & Parameters _**NOTE:**_ -- Organization: Resource groups and operation_ids are listed in alphabetical order, first by Resource name, then by **OpenAPI Summary**. Operation summaries are those listed in the right side bar of the [API Reference](https://developers.klaviyo.com/en/v2024-06-15/reference/get_events). +- Organization: Resource groups and operation_ids are listed in alphabetical order, first by Resource name, then by **OpenAPI Summary**. Operation summaries are those listed in the right side bar of the [API Reference](https://developers.klaviyo.com/en/v2024-07-15/reference/get_events). - For example values / data types, as well as whether parameters are required/optional, please reference the corresponding API Reference link. - Some args are required for the API call to succeed, the API docs above are the source of truth regarding which params are required. @@ -482,7 +490,7 @@ _**NOTE:**_ ## Accounts -#### [Get Account](https://developers.klaviyo.com/en/v2024-06-15/reference/get_account) +#### [Get Account](https://developers.klaviyo.com/en/v2024-07-15/reference/get_account) ```ruby KlaviyoAPI::Accounts.get_account(id, opts) @@ -492,7 +500,7 @@ KlaviyoAPI::Accounts.get_account(id, opts) -#### [Get Accounts](https://developers.klaviyo.com/en/v2024-06-15/reference/get_accounts) +#### [Get Accounts](https://developers.klaviyo.com/en/v2024-07-15/reference/get_accounts) ```ruby KlaviyoAPI::Accounts.get_accounts(opts) @@ -506,7 +514,7 @@ KlaviyoAPI::Accounts.get_accounts(opts) ## Campaigns -#### [Create Campaign](https://developers.klaviyo.com/en/v2024-06-15/reference/create_campaign) +#### [Create Campaign](https://developers.klaviyo.com/en/v2024-07-15/reference/create_campaign) ```ruby KlaviyoAPI::Campaigns.create_campaign(body) @@ -516,7 +524,7 @@ KlaviyoAPI::Campaigns.create_campaign(body) -#### [Create Campaign Clone](https://developers.klaviyo.com/en/v2024-06-15/reference/create_campaign_clone) +#### [Create Campaign Clone](https://developers.klaviyo.com/en/v2024-07-15/reference/create_campaign_clone) ```ruby KlaviyoAPI::Campaigns.create_campaign_clone(body) @@ -526,7 +534,7 @@ KlaviyoAPI::Campaigns.create_campaign_clone(body) -#### [Assign Campaign Message Template](https://developers.klaviyo.com/en/v2024-06-15/reference/create_campaign_message_assign_template) +#### [Assign Campaign Message Template](https://developers.klaviyo.com/en/v2024-07-15/reference/create_campaign_message_assign_template) ```ruby KlaviyoAPI::Campaigns.create_campaign_message_assign_template(body) @@ -536,7 +544,7 @@ KlaviyoAPI::Campaigns.create_campaign_message_assign_template(body) -#### [Create Campaign Recipient Estimation Job](https://developers.klaviyo.com/en/v2024-06-15/reference/create_campaign_recipient_estimation_job) +#### [Create Campaign Recipient Estimation Job](https://developers.klaviyo.com/en/v2024-07-15/reference/create_campaign_recipient_estimation_job) ```ruby KlaviyoAPI::Campaigns.create_campaign_recipient_estimation_job(body) @@ -546,7 +554,7 @@ KlaviyoAPI::Campaigns.create_campaign_recipient_estimation_job(body) -#### [Create Campaign Send Job](https://developers.klaviyo.com/en/v2024-06-15/reference/create_campaign_send_job) +#### [Create Campaign Send Job](https://developers.klaviyo.com/en/v2024-07-15/reference/create_campaign_send_job) ```ruby KlaviyoAPI::Campaigns.create_campaign_send_job(body) @@ -556,7 +564,7 @@ KlaviyoAPI::Campaigns.create_campaign_send_job(body) -#### [Delete Campaign](https://developers.klaviyo.com/en/v2024-06-15/reference/delete_campaign) +#### [Delete Campaign](https://developers.klaviyo.com/en/v2024-07-15/reference/delete_campaign) ```ruby KlaviyoAPI::Campaigns.delete_campaign(id) @@ -566,7 +574,7 @@ KlaviyoAPI::Campaigns.delete_campaign(id) -#### [Get Campaign](https://developers.klaviyo.com/en/v2024-06-15/reference/get_campaign) +#### [Get Campaign](https://developers.klaviyo.com/en/v2024-07-15/reference/get_campaign) ```ruby KlaviyoAPI::Campaigns.get_campaign(id, opts) @@ -576,7 +584,7 @@ KlaviyoAPI::Campaigns.get_campaign(id, opts) -#### [Get Campaign Campaign Messages](https://developers.klaviyo.com/en/v2024-06-15/reference/get_campaign_campaign_messages) +#### [Get Campaign Campaign Messages](https://developers.klaviyo.com/en/v2024-07-15/reference/get_campaign_campaign_messages) ```ruby KlaviyoAPI::Campaigns.get_campaign_campaign_messages(id, opts) @@ -586,7 +594,7 @@ KlaviyoAPI::Campaigns.get_campaign_campaign_messages(id, opts) -#### [Get Campaign Message](https://developers.klaviyo.com/en/v2024-06-15/reference/get_campaign_message) +#### [Get Campaign Message](https://developers.klaviyo.com/en/v2024-07-15/reference/get_campaign_message) ```ruby KlaviyoAPI::Campaigns.get_campaign_message(id, opts) @@ -596,7 +604,7 @@ KlaviyoAPI::Campaigns.get_campaign_message(id, opts) -#### [Get Campaign Message Campaign](https://developers.klaviyo.com/en/v2024-06-15/reference/get_campaign_message_campaign) +#### [Get Campaign Message Campaign](https://developers.klaviyo.com/en/v2024-07-15/reference/get_campaign_message_campaign) ```ruby KlaviyoAPI::Campaigns.get_campaign_message_campaign(id, opts) @@ -606,7 +614,7 @@ KlaviyoAPI::Campaigns.get_campaign_message_campaign(id, opts) -#### [Get Campaign Message Relationships Campaign](https://developers.klaviyo.com/en/v2024-06-15/reference/get_campaign_message_relationships_campaign) +#### [Get Campaign Message Relationships Campaign](https://developers.klaviyo.com/en/v2024-07-15/reference/get_campaign_message_relationships_campaign) ```ruby KlaviyoAPI::Campaigns.get_campaign_message_relationships_campaign(id) @@ -616,7 +624,7 @@ KlaviyoAPI::Campaigns.get_campaign_message_relationships_campaign(id) -#### [Get Campaign Message Relationships Template](https://developers.klaviyo.com/en/v2024-06-15/reference/get_campaign_message_relationships_template) +#### [Get Campaign Message Relationships Template](https://developers.klaviyo.com/en/v2024-07-15/reference/get_campaign_message_relationships_template) ```ruby KlaviyoAPI::Campaigns.get_campaign_message_relationships_template(id) @@ -626,7 +634,7 @@ KlaviyoAPI::Campaigns.get_campaign_message_relationships_template(id) -#### [Get Campaign Message Template](https://developers.klaviyo.com/en/v2024-06-15/reference/get_campaign_message_template) +#### [Get Campaign Message Template](https://developers.klaviyo.com/en/v2024-07-15/reference/get_campaign_message_template) ```ruby KlaviyoAPI::Campaigns.get_campaign_message_template(id, opts) @@ -636,7 +644,7 @@ KlaviyoAPI::Campaigns.get_campaign_message_template(id, opts) -#### [Get Campaign Recipient Estimation](https://developers.klaviyo.com/en/v2024-06-15/reference/get_campaign_recipient_estimation) +#### [Get Campaign Recipient Estimation](https://developers.klaviyo.com/en/v2024-07-15/reference/get_campaign_recipient_estimation) ```ruby KlaviyoAPI::Campaigns.get_campaign_recipient_estimation(id, opts) @@ -646,7 +654,7 @@ KlaviyoAPI::Campaigns.get_campaign_recipient_estimation(id, opts) -#### [Get Campaign Recipient Estimation Job](https://developers.klaviyo.com/en/v2024-06-15/reference/get_campaign_recipient_estimation_job) +#### [Get Campaign Recipient Estimation Job](https://developers.klaviyo.com/en/v2024-07-15/reference/get_campaign_recipient_estimation_job) ```ruby KlaviyoAPI::Campaigns.get_campaign_recipient_estimation_job(id, opts) @@ -656,7 +664,7 @@ KlaviyoAPI::Campaigns.get_campaign_recipient_estimation_job(id, opts) -#### [Get Campaign Relationships Campaign Messages](https://developers.klaviyo.com/en/v2024-06-15/reference/get_campaign_relationships_campaign_messages) +#### [Get Campaign Relationships Campaign Messages](https://developers.klaviyo.com/en/v2024-07-15/reference/get_campaign_relationships_campaign_messages) ```ruby KlaviyoAPI::Campaigns.get_campaign_relationships_campaign_messages(id) @@ -666,7 +674,7 @@ KlaviyoAPI::Campaigns.get_campaign_relationships_campaign_messages(id) -#### [Get Campaign Relationships Tags](https://developers.klaviyo.com/en/v2024-06-15/reference/get_campaign_relationships_tags) +#### [Get Campaign Relationships Tags](https://developers.klaviyo.com/en/v2024-07-15/reference/get_campaign_relationships_tags) ```ruby KlaviyoAPI::Campaigns.get_campaign_relationships_tags(id) @@ -676,7 +684,7 @@ KlaviyoAPI::Campaigns.get_campaign_relationships_tags(id) -#### [Get Campaign Send Job](https://developers.klaviyo.com/en/v2024-06-15/reference/get_campaign_send_job) +#### [Get Campaign Send Job](https://developers.klaviyo.com/en/v2024-07-15/reference/get_campaign_send_job) ```ruby KlaviyoAPI::Campaigns.get_campaign_send_job(id, opts) @@ -686,7 +694,7 @@ KlaviyoAPI::Campaigns.get_campaign_send_job(id, opts) -#### [Get Campaign Tags](https://developers.klaviyo.com/en/v2024-06-15/reference/get_campaign_tags) +#### [Get Campaign Tags](https://developers.klaviyo.com/en/v2024-07-15/reference/get_campaign_tags) ```ruby KlaviyoAPI::Campaigns.get_campaign_tags(id, opts) @@ -696,7 +704,7 @@ KlaviyoAPI::Campaigns.get_campaign_tags(id, opts) -#### [Get Campaigns](https://developers.klaviyo.com/en/v2024-06-15/reference/get_campaigns) +#### [Get Campaigns](https://developers.klaviyo.com/en/v2024-07-15/reference/get_campaigns) ```ruby KlaviyoAPI::Campaigns.get_campaigns(filter, opts) @@ -706,7 +714,7 @@ KlaviyoAPI::Campaigns.get_campaigns(filter, opts) -#### [Update Campaign](https://developers.klaviyo.com/en/v2024-06-15/reference/update_campaign) +#### [Update Campaign](https://developers.klaviyo.com/en/v2024-07-15/reference/update_campaign) ```ruby KlaviyoAPI::Campaigns.update_campaign(id, body) @@ -716,7 +724,7 @@ KlaviyoAPI::Campaigns.update_campaign(id, body) -#### [Update Campaign Message](https://developers.klaviyo.com/en/v2024-06-15/reference/update_campaign_message) +#### [Update Campaign Message](https://developers.klaviyo.com/en/v2024-07-15/reference/update_campaign_message) ```ruby KlaviyoAPI::Campaigns.update_campaign_message(id, body) @@ -726,7 +734,7 @@ KlaviyoAPI::Campaigns.update_campaign_message(id, body) -#### [Update Campaign Send Job](https://developers.klaviyo.com/en/v2024-06-15/reference/update_campaign_send_job) +#### [Update Campaign Send Job](https://developers.klaviyo.com/en/v2024-07-15/reference/update_campaign_send_job) ```ruby KlaviyoAPI::Campaigns.update_campaign_send_job(id, body) @@ -740,7 +748,7 @@ KlaviyoAPI::Campaigns.update_campaign_send_job(id, body) ## Catalogs -#### [Create Back In Stock Subscription](https://developers.klaviyo.com/en/v2024-06-15/reference/create_back_in_stock_subscription) +#### [Create Back In Stock Subscription](https://developers.klaviyo.com/en/v2024-07-15/reference/create_back_in_stock_subscription) ```ruby KlaviyoAPI::Catalogs.create_back_in_stock_subscription(body) @@ -750,7 +758,7 @@ KlaviyoAPI::Catalogs.create_back_in_stock_subscription(body) -#### [Create Catalog Category](https://developers.klaviyo.com/en/v2024-06-15/reference/create_catalog_category) +#### [Create Catalog Category](https://developers.klaviyo.com/en/v2024-07-15/reference/create_catalog_category) ```ruby KlaviyoAPI::Catalogs.create_catalog_category(body) @@ -760,7 +768,7 @@ KlaviyoAPI::Catalogs.create_catalog_category(body) -#### [Create Catalog Category Relationships Items](https://developers.klaviyo.com/en/v2024-06-15/reference/create_catalog_category_relationships_items) +#### [Create Catalog Category Relationships Items](https://developers.klaviyo.com/en/v2024-07-15/reference/create_catalog_category_relationships_items) ```ruby KlaviyoAPI::Catalogs.create_catalog_category_relationships_items(id, body) @@ -770,7 +778,7 @@ KlaviyoAPI::Catalogs.create_catalog_category_relationships_items(id, body) -#### [Create Catalog Item](https://developers.klaviyo.com/en/v2024-06-15/reference/create_catalog_item) +#### [Create Catalog Item](https://developers.klaviyo.com/en/v2024-07-15/reference/create_catalog_item) ```ruby KlaviyoAPI::Catalogs.create_catalog_item(body) @@ -780,7 +788,7 @@ KlaviyoAPI::Catalogs.create_catalog_item(body) -#### [Create Catalog Item Relationships Categories](https://developers.klaviyo.com/en/v2024-06-15/reference/create_catalog_item_relationships_categories) +#### [Create Catalog Item Relationships Categories](https://developers.klaviyo.com/en/v2024-07-15/reference/create_catalog_item_relationships_categories) ```ruby KlaviyoAPI::Catalogs.create_catalog_item_relationships_categories(id, body) @@ -790,7 +798,7 @@ KlaviyoAPI::Catalogs.create_catalog_item_relationships_categories(id, body) -#### [Create Catalog Variant](https://developers.klaviyo.com/en/v2024-06-15/reference/create_catalog_variant) +#### [Create Catalog Variant](https://developers.klaviyo.com/en/v2024-07-15/reference/create_catalog_variant) ```ruby KlaviyoAPI::Catalogs.create_catalog_variant(body) @@ -800,7 +808,7 @@ KlaviyoAPI::Catalogs.create_catalog_variant(body) -#### [Delete Catalog Category](https://developers.klaviyo.com/en/v2024-06-15/reference/delete_catalog_category) +#### [Delete Catalog Category](https://developers.klaviyo.com/en/v2024-07-15/reference/delete_catalog_category) ```ruby KlaviyoAPI::Catalogs.delete_catalog_category(id) @@ -810,7 +818,7 @@ KlaviyoAPI::Catalogs.delete_catalog_category(id) -#### [Delete Catalog Category Relationships Items](https://developers.klaviyo.com/en/v2024-06-15/reference/delete_catalog_category_relationships_items) +#### [Delete Catalog Category Relationships Items](https://developers.klaviyo.com/en/v2024-07-15/reference/delete_catalog_category_relationships_items) ```ruby KlaviyoAPI::Catalogs.delete_catalog_category_relationships_items(id, body) @@ -820,7 +828,7 @@ KlaviyoAPI::Catalogs.delete_catalog_category_relationships_items(id, body) -#### [Delete Catalog Item](https://developers.klaviyo.com/en/v2024-06-15/reference/delete_catalog_item) +#### [Delete Catalog Item](https://developers.klaviyo.com/en/v2024-07-15/reference/delete_catalog_item) ```ruby KlaviyoAPI::Catalogs.delete_catalog_item(id) @@ -830,7 +838,7 @@ KlaviyoAPI::Catalogs.delete_catalog_item(id) -#### [Delete Catalog Item Relationships Categories](https://developers.klaviyo.com/en/v2024-06-15/reference/delete_catalog_item_relationships_categories) +#### [Delete Catalog Item Relationships Categories](https://developers.klaviyo.com/en/v2024-07-15/reference/delete_catalog_item_relationships_categories) ```ruby KlaviyoAPI::Catalogs.delete_catalog_item_relationships_categories(id, body) @@ -840,7 +848,7 @@ KlaviyoAPI::Catalogs.delete_catalog_item_relationships_categories(id, body) -#### [Delete Catalog Variant](https://developers.klaviyo.com/en/v2024-06-15/reference/delete_catalog_variant) +#### [Delete Catalog Variant](https://developers.klaviyo.com/en/v2024-07-15/reference/delete_catalog_variant) ```ruby KlaviyoAPI::Catalogs.delete_catalog_variant(id) @@ -850,7 +858,7 @@ KlaviyoAPI::Catalogs.delete_catalog_variant(id) -#### [Get Catalog Categories](https://developers.klaviyo.com/en/v2024-06-15/reference/get_catalog_categories) +#### [Get Catalog Categories](https://developers.klaviyo.com/en/v2024-07-15/reference/get_catalog_categories) ```ruby KlaviyoAPI::Catalogs.get_catalog_categories(opts) @@ -860,7 +868,7 @@ KlaviyoAPI::Catalogs.get_catalog_categories(opts) -#### [Get Catalog Category](https://developers.klaviyo.com/en/v2024-06-15/reference/get_catalog_category) +#### [Get Catalog Category](https://developers.klaviyo.com/en/v2024-07-15/reference/get_catalog_category) ```ruby KlaviyoAPI::Catalogs.get_catalog_category(id, opts) @@ -870,7 +878,7 @@ KlaviyoAPI::Catalogs.get_catalog_category(id, opts) -#### [Get Catalog Category Items](https://developers.klaviyo.com/en/v2024-06-15/reference/get_catalog_category_items) +#### [Get Catalog Category Items](https://developers.klaviyo.com/en/v2024-07-15/reference/get_catalog_category_items) ```ruby KlaviyoAPI::Catalogs.get_catalog_category_items(id, opts) @@ -880,7 +888,7 @@ KlaviyoAPI::Catalogs.get_catalog_category_items(id, opts) -#### [Get Catalog Category Relationships Items](https://developers.klaviyo.com/en/v2024-06-15/reference/get_catalog_category_relationships_items) +#### [Get Catalog Category Relationships Items](https://developers.klaviyo.com/en/v2024-07-15/reference/get_catalog_category_relationships_items) ```ruby KlaviyoAPI::Catalogs.get_catalog_category_relationships_items(id, opts) @@ -890,7 +898,7 @@ KlaviyoAPI::Catalogs.get_catalog_category_relationships_items(id, opts) -#### [Get Catalog Item](https://developers.klaviyo.com/en/v2024-06-15/reference/get_catalog_item) +#### [Get Catalog Item](https://developers.klaviyo.com/en/v2024-07-15/reference/get_catalog_item) ```ruby KlaviyoAPI::Catalogs.get_catalog_item(id, opts) @@ -900,7 +908,7 @@ KlaviyoAPI::Catalogs.get_catalog_item(id, opts) -#### [Get Catalog Item Categories](https://developers.klaviyo.com/en/v2024-06-15/reference/get_catalog_item_categories) +#### [Get Catalog Item Categories](https://developers.klaviyo.com/en/v2024-07-15/reference/get_catalog_item_categories) ```ruby KlaviyoAPI::Catalogs.get_catalog_item_categories(id, opts) @@ -910,7 +918,7 @@ KlaviyoAPI::Catalogs.get_catalog_item_categories(id, opts) -#### [Get Catalog Item Relationships Categories](https://developers.klaviyo.com/en/v2024-06-15/reference/get_catalog_item_relationships_categories) +#### [Get Catalog Item Relationships Categories](https://developers.klaviyo.com/en/v2024-07-15/reference/get_catalog_item_relationships_categories) ```ruby KlaviyoAPI::Catalogs.get_catalog_item_relationships_categories(id, opts) @@ -920,7 +928,7 @@ KlaviyoAPI::Catalogs.get_catalog_item_relationships_categories(id, opts) -#### [Get Catalog Item Variants](https://developers.klaviyo.com/en/v2024-06-15/reference/get_catalog_item_variants) +#### [Get Catalog Item Variants](https://developers.klaviyo.com/en/v2024-07-15/reference/get_catalog_item_variants) ```ruby KlaviyoAPI::Catalogs.get_catalog_item_variants(id, opts) @@ -930,7 +938,7 @@ KlaviyoAPI::Catalogs.get_catalog_item_variants(id, opts) -#### [Get Catalog Items](https://developers.klaviyo.com/en/v2024-06-15/reference/get_catalog_items) +#### [Get Catalog Items](https://developers.klaviyo.com/en/v2024-07-15/reference/get_catalog_items) ```ruby KlaviyoAPI::Catalogs.get_catalog_items(opts) @@ -940,7 +948,7 @@ KlaviyoAPI::Catalogs.get_catalog_items(opts) -#### [Get Catalog Variant](https://developers.klaviyo.com/en/v2024-06-15/reference/get_catalog_variant) +#### [Get Catalog Variant](https://developers.klaviyo.com/en/v2024-07-15/reference/get_catalog_variant) ```ruby KlaviyoAPI::Catalogs.get_catalog_variant(id, opts) @@ -950,7 +958,7 @@ KlaviyoAPI::Catalogs.get_catalog_variant(id, opts) -#### [Get Catalog Variants](https://developers.klaviyo.com/en/v2024-06-15/reference/get_catalog_variants) +#### [Get Catalog Variants](https://developers.klaviyo.com/en/v2024-07-15/reference/get_catalog_variants) ```ruby KlaviyoAPI::Catalogs.get_catalog_variants(opts) @@ -960,7 +968,7 @@ KlaviyoAPI::Catalogs.get_catalog_variants(opts) -#### [Get Create Categories Job](https://developers.klaviyo.com/en/v2024-06-15/reference/get_create_categories_job) +#### [Get Create Categories Job](https://developers.klaviyo.com/en/v2024-07-15/reference/get_create_categories_job) ```ruby KlaviyoAPI::Catalogs.get_create_categories_job(job_id, opts) @@ -970,7 +978,7 @@ KlaviyoAPI::Catalogs.get_create_categories_job(job_id, opts) -#### [Get Create Categories Jobs](https://developers.klaviyo.com/en/v2024-06-15/reference/get_create_categories_jobs) +#### [Get Create Categories Jobs](https://developers.klaviyo.com/en/v2024-07-15/reference/get_create_categories_jobs) ```ruby KlaviyoAPI::Catalogs.get_create_categories_jobs(opts) @@ -980,7 +988,7 @@ KlaviyoAPI::Catalogs.get_create_categories_jobs(opts) -#### [Get Create Items Job](https://developers.klaviyo.com/en/v2024-06-15/reference/get_create_items_job) +#### [Get Create Items Job](https://developers.klaviyo.com/en/v2024-07-15/reference/get_create_items_job) ```ruby KlaviyoAPI::Catalogs.get_create_items_job(job_id, opts) @@ -990,7 +998,7 @@ KlaviyoAPI::Catalogs.get_create_items_job(job_id, opts) -#### [Get Create Items Jobs](https://developers.klaviyo.com/en/v2024-06-15/reference/get_create_items_jobs) +#### [Get Create Items Jobs](https://developers.klaviyo.com/en/v2024-07-15/reference/get_create_items_jobs) ```ruby KlaviyoAPI::Catalogs.get_create_items_jobs(opts) @@ -1000,7 +1008,7 @@ KlaviyoAPI::Catalogs.get_create_items_jobs(opts) -#### [Get Create Variants Job](https://developers.klaviyo.com/en/v2024-06-15/reference/get_create_variants_job) +#### [Get Create Variants Job](https://developers.klaviyo.com/en/v2024-07-15/reference/get_create_variants_job) ```ruby KlaviyoAPI::Catalogs.get_create_variants_job(job_id, opts) @@ -1010,7 +1018,7 @@ KlaviyoAPI::Catalogs.get_create_variants_job(job_id, opts) -#### [Get Create Variants Jobs](https://developers.klaviyo.com/en/v2024-06-15/reference/get_create_variants_jobs) +#### [Get Create Variants Jobs](https://developers.klaviyo.com/en/v2024-07-15/reference/get_create_variants_jobs) ```ruby KlaviyoAPI::Catalogs.get_create_variants_jobs(opts) @@ -1020,7 +1028,7 @@ KlaviyoAPI::Catalogs.get_create_variants_jobs(opts) -#### [Get Delete Categories Job](https://developers.klaviyo.com/en/v2024-06-15/reference/get_delete_categories_job) +#### [Get Delete Categories Job](https://developers.klaviyo.com/en/v2024-07-15/reference/get_delete_categories_job) ```ruby KlaviyoAPI::Catalogs.get_delete_categories_job(job_id, opts) @@ -1030,7 +1038,7 @@ KlaviyoAPI::Catalogs.get_delete_categories_job(job_id, opts) -#### [Get Delete Categories Jobs](https://developers.klaviyo.com/en/v2024-06-15/reference/get_delete_categories_jobs) +#### [Get Delete Categories Jobs](https://developers.klaviyo.com/en/v2024-07-15/reference/get_delete_categories_jobs) ```ruby KlaviyoAPI::Catalogs.get_delete_categories_jobs(opts) @@ -1040,7 +1048,7 @@ KlaviyoAPI::Catalogs.get_delete_categories_jobs(opts) -#### [Get Delete Items Job](https://developers.klaviyo.com/en/v2024-06-15/reference/get_delete_items_job) +#### [Get Delete Items Job](https://developers.klaviyo.com/en/v2024-07-15/reference/get_delete_items_job) ```ruby KlaviyoAPI::Catalogs.get_delete_items_job(job_id, opts) @@ -1050,7 +1058,7 @@ KlaviyoAPI::Catalogs.get_delete_items_job(job_id, opts) -#### [Get Delete Items Jobs](https://developers.klaviyo.com/en/v2024-06-15/reference/get_delete_items_jobs) +#### [Get Delete Items Jobs](https://developers.klaviyo.com/en/v2024-07-15/reference/get_delete_items_jobs) ```ruby KlaviyoAPI::Catalogs.get_delete_items_jobs(opts) @@ -1060,7 +1068,7 @@ KlaviyoAPI::Catalogs.get_delete_items_jobs(opts) -#### [Get Delete Variants Job](https://developers.klaviyo.com/en/v2024-06-15/reference/get_delete_variants_job) +#### [Get Delete Variants Job](https://developers.klaviyo.com/en/v2024-07-15/reference/get_delete_variants_job) ```ruby KlaviyoAPI::Catalogs.get_delete_variants_job(job_id, opts) @@ -1070,7 +1078,7 @@ KlaviyoAPI::Catalogs.get_delete_variants_job(job_id, opts) -#### [Get Delete Variants Jobs](https://developers.klaviyo.com/en/v2024-06-15/reference/get_delete_variants_jobs) +#### [Get Delete Variants Jobs](https://developers.klaviyo.com/en/v2024-07-15/reference/get_delete_variants_jobs) ```ruby KlaviyoAPI::Catalogs.get_delete_variants_jobs(opts) @@ -1080,7 +1088,7 @@ KlaviyoAPI::Catalogs.get_delete_variants_jobs(opts) -#### [Get Update Categories Job](https://developers.klaviyo.com/en/v2024-06-15/reference/get_update_categories_job) +#### [Get Update Categories Job](https://developers.klaviyo.com/en/v2024-07-15/reference/get_update_categories_job) ```ruby KlaviyoAPI::Catalogs.get_update_categories_job(job_id, opts) @@ -1090,7 +1098,7 @@ KlaviyoAPI::Catalogs.get_update_categories_job(job_id, opts) -#### [Get Update Categories Jobs](https://developers.klaviyo.com/en/v2024-06-15/reference/get_update_categories_jobs) +#### [Get Update Categories Jobs](https://developers.klaviyo.com/en/v2024-07-15/reference/get_update_categories_jobs) ```ruby KlaviyoAPI::Catalogs.get_update_categories_jobs(opts) @@ -1100,7 +1108,7 @@ KlaviyoAPI::Catalogs.get_update_categories_jobs(opts) -#### [Get Update Items Job](https://developers.klaviyo.com/en/v2024-06-15/reference/get_update_items_job) +#### [Get Update Items Job](https://developers.klaviyo.com/en/v2024-07-15/reference/get_update_items_job) ```ruby KlaviyoAPI::Catalogs.get_update_items_job(job_id, opts) @@ -1110,7 +1118,7 @@ KlaviyoAPI::Catalogs.get_update_items_job(job_id, opts) -#### [Get Update Items Jobs](https://developers.klaviyo.com/en/v2024-06-15/reference/get_update_items_jobs) +#### [Get Update Items Jobs](https://developers.klaviyo.com/en/v2024-07-15/reference/get_update_items_jobs) ```ruby KlaviyoAPI::Catalogs.get_update_items_jobs(opts) @@ -1120,7 +1128,7 @@ KlaviyoAPI::Catalogs.get_update_items_jobs(opts) -#### [Get Update Variants Job](https://developers.klaviyo.com/en/v2024-06-15/reference/get_update_variants_job) +#### [Get Update Variants Job](https://developers.klaviyo.com/en/v2024-07-15/reference/get_update_variants_job) ```ruby KlaviyoAPI::Catalogs.get_update_variants_job(job_id, opts) @@ -1130,7 +1138,7 @@ KlaviyoAPI::Catalogs.get_update_variants_job(job_id, opts) -#### [Get Update Variants Jobs](https://developers.klaviyo.com/en/v2024-06-15/reference/get_update_variants_jobs) +#### [Get Update Variants Jobs](https://developers.klaviyo.com/en/v2024-07-15/reference/get_update_variants_jobs) ```ruby KlaviyoAPI::Catalogs.get_update_variants_jobs(opts) @@ -1140,7 +1148,7 @@ KlaviyoAPI::Catalogs.get_update_variants_jobs(opts) -#### [Spawn Create Categories Job](https://developers.klaviyo.com/en/v2024-06-15/reference/spawn_create_categories_job) +#### [Spawn Create Categories Job](https://developers.klaviyo.com/en/v2024-07-15/reference/spawn_create_categories_job) ```ruby KlaviyoAPI::Catalogs.spawn_create_categories_job(body) @@ -1150,7 +1158,7 @@ KlaviyoAPI::Catalogs.spawn_create_categories_job(body) -#### [Spawn Create Items Job](https://developers.klaviyo.com/en/v2024-06-15/reference/spawn_create_items_job) +#### [Spawn Create Items Job](https://developers.klaviyo.com/en/v2024-07-15/reference/spawn_create_items_job) ```ruby KlaviyoAPI::Catalogs.spawn_create_items_job(body) @@ -1160,7 +1168,7 @@ KlaviyoAPI::Catalogs.spawn_create_items_job(body) -#### [Spawn Create Variants Job](https://developers.klaviyo.com/en/v2024-06-15/reference/spawn_create_variants_job) +#### [Spawn Create Variants Job](https://developers.klaviyo.com/en/v2024-07-15/reference/spawn_create_variants_job) ```ruby KlaviyoAPI::Catalogs.spawn_create_variants_job(body) @@ -1170,7 +1178,7 @@ KlaviyoAPI::Catalogs.spawn_create_variants_job(body) -#### [Spawn Delete Categories Job](https://developers.klaviyo.com/en/v2024-06-15/reference/spawn_delete_categories_job) +#### [Spawn Delete Categories Job](https://developers.klaviyo.com/en/v2024-07-15/reference/spawn_delete_categories_job) ```ruby KlaviyoAPI::Catalogs.spawn_delete_categories_job(body) @@ -1180,7 +1188,7 @@ KlaviyoAPI::Catalogs.spawn_delete_categories_job(body) -#### [Spawn Delete Items Job](https://developers.klaviyo.com/en/v2024-06-15/reference/spawn_delete_items_job) +#### [Spawn Delete Items Job](https://developers.klaviyo.com/en/v2024-07-15/reference/spawn_delete_items_job) ```ruby KlaviyoAPI::Catalogs.spawn_delete_items_job(body) @@ -1190,7 +1198,7 @@ KlaviyoAPI::Catalogs.spawn_delete_items_job(body) -#### [Spawn Delete Variants Job](https://developers.klaviyo.com/en/v2024-06-15/reference/spawn_delete_variants_job) +#### [Spawn Delete Variants Job](https://developers.klaviyo.com/en/v2024-07-15/reference/spawn_delete_variants_job) ```ruby KlaviyoAPI::Catalogs.spawn_delete_variants_job(body) @@ -1200,7 +1208,7 @@ KlaviyoAPI::Catalogs.spawn_delete_variants_job(body) -#### [Spawn Update Categories Job](https://developers.klaviyo.com/en/v2024-06-15/reference/spawn_update_categories_job) +#### [Spawn Update Categories Job](https://developers.klaviyo.com/en/v2024-07-15/reference/spawn_update_categories_job) ```ruby KlaviyoAPI::Catalogs.spawn_update_categories_job(body) @@ -1210,7 +1218,7 @@ KlaviyoAPI::Catalogs.spawn_update_categories_job(body) -#### [Spawn Update Items Job](https://developers.klaviyo.com/en/v2024-06-15/reference/spawn_update_items_job) +#### [Spawn Update Items Job](https://developers.klaviyo.com/en/v2024-07-15/reference/spawn_update_items_job) ```ruby KlaviyoAPI::Catalogs.spawn_update_items_job(body) @@ -1220,7 +1228,7 @@ KlaviyoAPI::Catalogs.spawn_update_items_job(body) -#### [Spawn Update Variants Job](https://developers.klaviyo.com/en/v2024-06-15/reference/spawn_update_variants_job) +#### [Spawn Update Variants Job](https://developers.klaviyo.com/en/v2024-07-15/reference/spawn_update_variants_job) ```ruby KlaviyoAPI::Catalogs.spawn_update_variants_job(body) @@ -1230,7 +1238,7 @@ KlaviyoAPI::Catalogs.spawn_update_variants_job(body) -#### [Update Catalog Category](https://developers.klaviyo.com/en/v2024-06-15/reference/update_catalog_category) +#### [Update Catalog Category](https://developers.klaviyo.com/en/v2024-07-15/reference/update_catalog_category) ```ruby KlaviyoAPI::Catalogs.update_catalog_category(id, body) @@ -1240,7 +1248,7 @@ KlaviyoAPI::Catalogs.update_catalog_category(id, body) -#### [Update Catalog Category Relationships Items](https://developers.klaviyo.com/en/v2024-06-15/reference/update_catalog_category_relationships_items) +#### [Update Catalog Category Relationships Items](https://developers.klaviyo.com/en/v2024-07-15/reference/update_catalog_category_relationships_items) ```ruby KlaviyoAPI::Catalogs.update_catalog_category_relationships_items(id, body) @@ -1250,7 +1258,7 @@ KlaviyoAPI::Catalogs.update_catalog_category_relationships_items(id, body) -#### [Update Catalog Item](https://developers.klaviyo.com/en/v2024-06-15/reference/update_catalog_item) +#### [Update Catalog Item](https://developers.klaviyo.com/en/v2024-07-15/reference/update_catalog_item) ```ruby KlaviyoAPI::Catalogs.update_catalog_item(id, body) @@ -1260,7 +1268,7 @@ KlaviyoAPI::Catalogs.update_catalog_item(id, body) -#### [Update Catalog Item Relationships Categories](https://developers.klaviyo.com/en/v2024-06-15/reference/update_catalog_item_relationships_categories) +#### [Update Catalog Item Relationships Categories](https://developers.klaviyo.com/en/v2024-07-15/reference/update_catalog_item_relationships_categories) ```ruby KlaviyoAPI::Catalogs.update_catalog_item_relationships_categories(id, body) @@ -1270,7 +1278,7 @@ KlaviyoAPI::Catalogs.update_catalog_item_relationships_categories(id, body) -#### [Update Catalog Variant](https://developers.klaviyo.com/en/v2024-06-15/reference/update_catalog_variant) +#### [Update Catalog Variant](https://developers.klaviyo.com/en/v2024-07-15/reference/update_catalog_variant) ```ruby KlaviyoAPI::Catalogs.update_catalog_variant(id, body) @@ -1284,7 +1292,7 @@ KlaviyoAPI::Catalogs.update_catalog_variant(id, body) ## Coupons -#### [Create Coupon](https://developers.klaviyo.com/en/v2024-06-15/reference/create_coupon) +#### [Create Coupon](https://developers.klaviyo.com/en/v2024-07-15/reference/create_coupon) ```ruby KlaviyoAPI::Coupons.create_coupon(body) @@ -1294,7 +1302,7 @@ KlaviyoAPI::Coupons.create_coupon(body) -#### [Create Coupon Code](https://developers.klaviyo.com/en/v2024-06-15/reference/create_coupon_code) +#### [Create Coupon Code](https://developers.klaviyo.com/en/v2024-07-15/reference/create_coupon_code) ```ruby KlaviyoAPI::Coupons.create_coupon_code(body) @@ -1304,7 +1312,7 @@ KlaviyoAPI::Coupons.create_coupon_code(body) -#### [Delete Coupon](https://developers.klaviyo.com/en/v2024-06-15/reference/delete_coupon) +#### [Delete Coupon](https://developers.klaviyo.com/en/v2024-07-15/reference/delete_coupon) ```ruby KlaviyoAPI::Coupons.delete_coupon(id) @@ -1314,7 +1322,7 @@ KlaviyoAPI::Coupons.delete_coupon(id) -#### [Delete Coupon Code](https://developers.klaviyo.com/en/v2024-06-15/reference/delete_coupon_code) +#### [Delete Coupon Code](https://developers.klaviyo.com/en/v2024-07-15/reference/delete_coupon_code) ```ruby KlaviyoAPI::Coupons.delete_coupon_code(id) @@ -1324,7 +1332,7 @@ KlaviyoAPI::Coupons.delete_coupon_code(id) -#### [Get Coupon](https://developers.klaviyo.com/en/v2024-06-15/reference/get_coupon) +#### [Get Coupon](https://developers.klaviyo.com/en/v2024-07-15/reference/get_coupon) ```ruby KlaviyoAPI::Coupons.get_coupon(id, opts) @@ -1334,7 +1342,7 @@ KlaviyoAPI::Coupons.get_coupon(id, opts) -#### [Get Coupon Code](https://developers.klaviyo.com/en/v2024-06-15/reference/get_coupon_code) +#### [Get Coupon Code](https://developers.klaviyo.com/en/v2024-07-15/reference/get_coupon_code) ```ruby KlaviyoAPI::Coupons.get_coupon_code(id, opts) @@ -1344,7 +1352,7 @@ KlaviyoAPI::Coupons.get_coupon_code(id, opts) -#### [Get Coupon Code Bulk Create Job](https://developers.klaviyo.com/en/v2024-06-15/reference/get_coupon_code_bulk_create_job) +#### [Get Coupon Code Bulk Create Job](https://developers.klaviyo.com/en/v2024-07-15/reference/get_coupon_code_bulk_create_job) ```ruby KlaviyoAPI::Coupons.get_coupon_code_bulk_create_job(job_id, opts) @@ -1354,7 +1362,7 @@ KlaviyoAPI::Coupons.get_coupon_code_bulk_create_job(job_id, opts) -#### [Get Coupon Code Bulk Create Jobs](https://developers.klaviyo.com/en/v2024-06-15/reference/get_coupon_code_bulk_create_jobs) +#### [Get Coupon Code Bulk Create Jobs](https://developers.klaviyo.com/en/v2024-07-15/reference/get_coupon_code_bulk_create_jobs) ```ruby KlaviyoAPI::Coupons.get_coupon_code_bulk_create_jobs(opts) @@ -1364,7 +1372,7 @@ KlaviyoAPI::Coupons.get_coupon_code_bulk_create_jobs(opts) -#### [Get Coupon Code Relationships Coupon](https://developers.klaviyo.com/en/v2024-06-15/reference/get_coupon_code_relationships_coupon) +#### [Get Coupon Code Relationships Coupon](https://developers.klaviyo.com/en/v2024-07-15/reference/get_coupon_code_relationships_coupon) ```ruby KlaviyoAPI::Coupons.get_coupon_code_relationships_coupon(id, opts) @@ -1374,7 +1382,7 @@ KlaviyoAPI::Coupons.get_coupon_code_relationships_coupon(id, opts) -#### [Get Coupon Codes](https://developers.klaviyo.com/en/v2024-06-15/reference/get_coupon_codes) +#### [Get Coupon Codes](https://developers.klaviyo.com/en/v2024-07-15/reference/get_coupon_codes) ```ruby KlaviyoAPI::Coupons.get_coupon_codes(opts) @@ -1384,7 +1392,7 @@ KlaviyoAPI::Coupons.get_coupon_codes(opts) -#### [Get Coupon Codes For Coupon](https://developers.klaviyo.com/en/v2024-06-15/reference/get_coupon_codes_for_coupon) +#### [Get Coupon Codes For Coupon](https://developers.klaviyo.com/en/v2024-07-15/reference/get_coupon_codes_for_coupon) ```ruby KlaviyoAPI::Coupons.get_coupon_codes_for_coupon(id, opts) @@ -1394,7 +1402,7 @@ KlaviyoAPI::Coupons.get_coupon_codes_for_coupon(id, opts) -#### [Get Coupon For Coupon Code](https://developers.klaviyo.com/en/v2024-06-15/reference/get_coupon_for_coupon_code) +#### [Get Coupon For Coupon Code](https://developers.klaviyo.com/en/v2024-07-15/reference/get_coupon_for_coupon_code) ```ruby KlaviyoAPI::Coupons.get_coupon_for_coupon_code(id, opts) @@ -1404,7 +1412,7 @@ KlaviyoAPI::Coupons.get_coupon_for_coupon_code(id, opts) -#### [Get Coupon Relationships Coupon Codes](https://developers.klaviyo.com/en/v2024-06-15/reference/get_coupon_relationships_coupon_codes) +#### [Get Coupon Relationships Coupon Codes](https://developers.klaviyo.com/en/v2024-07-15/reference/get_coupon_relationships_coupon_codes) ```ruby KlaviyoAPI::Coupons.get_coupon_relationships_coupon_codes(id) @@ -1414,7 +1422,7 @@ KlaviyoAPI::Coupons.get_coupon_relationships_coupon_codes(id) -#### [Get Coupons](https://developers.klaviyo.com/en/v2024-06-15/reference/get_coupons) +#### [Get Coupons](https://developers.klaviyo.com/en/v2024-07-15/reference/get_coupons) ```ruby KlaviyoAPI::Coupons.get_coupons(opts) @@ -1424,7 +1432,7 @@ KlaviyoAPI::Coupons.get_coupons(opts) -#### [Spawn Coupon Code Bulk Create Job](https://developers.klaviyo.com/en/v2024-06-15/reference/spawn_coupon_code_bulk_create_job) +#### [Spawn Coupon Code Bulk Create Job](https://developers.klaviyo.com/en/v2024-07-15/reference/spawn_coupon_code_bulk_create_job) ```ruby KlaviyoAPI::Coupons.spawn_coupon_code_bulk_create_job(body) @@ -1434,7 +1442,7 @@ KlaviyoAPI::Coupons.spawn_coupon_code_bulk_create_job(body) -#### [Update Coupon](https://developers.klaviyo.com/en/v2024-06-15/reference/update_coupon) +#### [Update Coupon](https://developers.klaviyo.com/en/v2024-07-15/reference/update_coupon) ```ruby KlaviyoAPI::Coupons.update_coupon(id, body) @@ -1444,7 +1452,7 @@ KlaviyoAPI::Coupons.update_coupon(id, body) -#### [Update Coupon Code](https://developers.klaviyo.com/en/v2024-06-15/reference/update_coupon_code) +#### [Update Coupon Code](https://developers.klaviyo.com/en/v2024-07-15/reference/update_coupon_code) ```ruby KlaviyoAPI::Coupons.update_coupon_code(id, body) @@ -1458,7 +1466,7 @@ KlaviyoAPI::Coupons.update_coupon_code(id, body) ## Data Privacy -#### [Request Profile Deletion](https://developers.klaviyo.com/en/v2024-06-15/reference/request_profile_deletion) +#### [Request Profile Deletion](https://developers.klaviyo.com/en/v2024-07-15/reference/request_profile_deletion) ```ruby KlaviyoAPI::DataPrivacy.request_profile_deletion(body) @@ -1472,7 +1480,7 @@ KlaviyoAPI::DataPrivacy.request_profile_deletion(body) ## Events -#### [Bulk Create Events](https://developers.klaviyo.com/en/v2024-06-15/reference/bulk_create_events) +#### [Bulk Create Events](https://developers.klaviyo.com/en/v2024-07-15/reference/bulk_create_events) ```ruby KlaviyoAPI::Events.bulk_create_events(body) @@ -1482,7 +1490,7 @@ KlaviyoAPI::Events.bulk_create_events(body) -#### [Create Event](https://developers.klaviyo.com/en/v2024-06-15/reference/create_event) +#### [Create Event](https://developers.klaviyo.com/en/v2024-07-15/reference/create_event) ```ruby KlaviyoAPI::Events.create_event(body) @@ -1492,7 +1500,7 @@ KlaviyoAPI::Events.create_event(body) -#### [Get Event](https://developers.klaviyo.com/en/v2024-06-15/reference/get_event) +#### [Get Event](https://developers.klaviyo.com/en/v2024-07-15/reference/get_event) ```ruby KlaviyoAPI::Events.get_event(id, opts) @@ -1502,7 +1510,7 @@ KlaviyoAPI::Events.get_event(id, opts) -#### [Get Event Metric](https://developers.klaviyo.com/en/v2024-06-15/reference/get_event_metric) +#### [Get Event Metric](https://developers.klaviyo.com/en/v2024-07-15/reference/get_event_metric) ```ruby KlaviyoAPI::Events.get_event_metric(id, opts) @@ -1512,7 +1520,7 @@ KlaviyoAPI::Events.get_event_metric(id, opts) -#### [Get Event Profile](https://developers.klaviyo.com/en/v2024-06-15/reference/get_event_profile) +#### [Get Event Profile](https://developers.klaviyo.com/en/v2024-07-15/reference/get_event_profile) ```ruby KlaviyoAPI::Events.get_event_profile(id, opts) @@ -1522,7 +1530,7 @@ KlaviyoAPI::Events.get_event_profile(id, opts) -#### [Get Event Relationships Metric](https://developers.klaviyo.com/en/v2024-06-15/reference/get_event_relationships_metric) +#### [Get Event Relationships Metric](https://developers.klaviyo.com/en/v2024-07-15/reference/get_event_relationships_metric) ```ruby KlaviyoAPI::Events.get_event_relationships_metric(id) @@ -1532,7 +1540,7 @@ KlaviyoAPI::Events.get_event_relationships_metric(id) -#### [Get Event Relationships Profile](https://developers.klaviyo.com/en/v2024-06-15/reference/get_event_relationships_profile) +#### [Get Event Relationships Profile](https://developers.klaviyo.com/en/v2024-07-15/reference/get_event_relationships_profile) ```ruby KlaviyoAPI::Events.get_event_relationships_profile(id) @@ -1542,7 +1550,7 @@ KlaviyoAPI::Events.get_event_relationships_profile(id) -#### [Get Events](https://developers.klaviyo.com/en/v2024-06-15/reference/get_events) +#### [Get Events](https://developers.klaviyo.com/en/v2024-07-15/reference/get_events) ```ruby KlaviyoAPI::Events.get_events(opts) @@ -1556,7 +1564,7 @@ KlaviyoAPI::Events.get_events(opts) ## Flows -#### [Delete Flow](https://developers.klaviyo.com/en/v2024-06-15/reference/delete_flow) +#### [Delete Flow](https://developers.klaviyo.com/en/v2024-07-15/reference/delete_flow) ```ruby KlaviyoAPI::Flows.delete_flow(id) @@ -1566,7 +1574,7 @@ KlaviyoAPI::Flows.delete_flow(id) -#### [Get Flow](https://developers.klaviyo.com/en/v2024-06-15/reference/get_flow) +#### [Get Flow](https://developers.klaviyo.com/en/v2024-07-15/reference/get_flow) ```ruby KlaviyoAPI::Flows.get_flow(id, opts) @@ -1576,7 +1584,7 @@ KlaviyoAPI::Flows.get_flow(id, opts) -#### [Get Flow Action](https://developers.klaviyo.com/en/v2024-06-15/reference/get_flow_action) +#### [Get Flow Action](https://developers.klaviyo.com/en/v2024-07-15/reference/get_flow_action) ```ruby KlaviyoAPI::Flows.get_flow_action(id, opts) @@ -1586,7 +1594,7 @@ KlaviyoAPI::Flows.get_flow_action(id, opts) -#### [Get Flow For Flow Action](https://developers.klaviyo.com/en/v2024-06-15/reference/get_flow_action_flow) +#### [Get Flow For Flow Action](https://developers.klaviyo.com/en/v2024-07-15/reference/get_flow_action_flow) ```ruby KlaviyoAPI::Flows.get_flow_action_flow(id, opts) @@ -1596,7 +1604,7 @@ KlaviyoAPI::Flows.get_flow_action_flow(id, opts) -#### [Get Flow Action Messages](https://developers.klaviyo.com/en/v2024-06-15/reference/get_flow_action_messages) +#### [Get Flow Action Messages](https://developers.klaviyo.com/en/v2024-07-15/reference/get_flow_action_messages) ```ruby KlaviyoAPI::Flows.get_flow_action_messages(id, opts) @@ -1606,7 +1614,7 @@ KlaviyoAPI::Flows.get_flow_action_messages(id, opts) -#### [Get Flow Action Relationships Flow](https://developers.klaviyo.com/en/v2024-06-15/reference/get_flow_action_relationships_flow) +#### [Get Flow Action Relationships Flow](https://developers.klaviyo.com/en/v2024-07-15/reference/get_flow_action_relationships_flow) ```ruby KlaviyoAPI::Flows.get_flow_action_relationships_flow(id) @@ -1616,7 +1624,7 @@ KlaviyoAPI::Flows.get_flow_action_relationships_flow(id) -#### [Get Flow Action Relationships Messages](https://developers.klaviyo.com/en/v2024-06-15/reference/get_flow_action_relationships_messages) +#### [Get Flow Action Relationships Messages](https://developers.klaviyo.com/en/v2024-07-15/reference/get_flow_action_relationships_messages) ```ruby KlaviyoAPI::Flows.get_flow_action_relationships_messages(id, opts) @@ -1626,7 +1634,7 @@ KlaviyoAPI::Flows.get_flow_action_relationships_messages(id, opts) -#### [Get Flow Flow Actions](https://developers.klaviyo.com/en/v2024-06-15/reference/get_flow_flow_actions) +#### [Get Flow Flow Actions](https://developers.klaviyo.com/en/v2024-07-15/reference/get_flow_flow_actions) ```ruby KlaviyoAPI::Flows.get_flow_flow_actions(id, opts) @@ -1636,7 +1644,7 @@ KlaviyoAPI::Flows.get_flow_flow_actions(id, opts) -#### [Get Flow Message](https://developers.klaviyo.com/en/v2024-06-15/reference/get_flow_message) +#### [Get Flow Message](https://developers.klaviyo.com/en/v2024-07-15/reference/get_flow_message) ```ruby KlaviyoAPI::Flows.get_flow_message(id, opts) @@ -1646,7 +1654,7 @@ KlaviyoAPI::Flows.get_flow_message(id, opts) -#### [Get Flow Action For Message](https://developers.klaviyo.com/en/v2024-06-15/reference/get_flow_message_action) +#### [Get Flow Action For Message](https://developers.klaviyo.com/en/v2024-07-15/reference/get_flow_message_action) ```ruby KlaviyoAPI::Flows.get_flow_message_action(id, opts) @@ -1656,7 +1664,7 @@ KlaviyoAPI::Flows.get_flow_message_action(id, opts) -#### [Get Flow Message Relationships Action](https://developers.klaviyo.com/en/v2024-06-15/reference/get_flow_message_relationships_action) +#### [Get Flow Message Relationships Action](https://developers.klaviyo.com/en/v2024-07-15/reference/get_flow_message_relationships_action) ```ruby KlaviyoAPI::Flows.get_flow_message_relationships_action(id) @@ -1666,7 +1674,7 @@ KlaviyoAPI::Flows.get_flow_message_relationships_action(id) -#### [Get Flow Message Relationships Template](https://developers.klaviyo.com/en/v2024-06-15/reference/get_flow_message_relationships_template) +#### [Get Flow Message Relationships Template](https://developers.klaviyo.com/en/v2024-07-15/reference/get_flow_message_relationships_template) ```ruby KlaviyoAPI::Flows.get_flow_message_relationships_template(id) @@ -1676,7 +1684,7 @@ KlaviyoAPI::Flows.get_flow_message_relationships_template(id) -#### [Get Flow Message Template](https://developers.klaviyo.com/en/v2024-06-15/reference/get_flow_message_template) +#### [Get Flow Message Template](https://developers.klaviyo.com/en/v2024-07-15/reference/get_flow_message_template) ```ruby KlaviyoAPI::Flows.get_flow_message_template(id, opts) @@ -1686,7 +1694,7 @@ KlaviyoAPI::Flows.get_flow_message_template(id, opts) -#### [Get Flow Relationships Flow Actions](https://developers.klaviyo.com/en/v2024-06-15/reference/get_flow_relationships_flow_actions) +#### [Get Flow Relationships Flow Actions](https://developers.klaviyo.com/en/v2024-07-15/reference/get_flow_relationships_flow_actions) ```ruby KlaviyoAPI::Flows.get_flow_relationships_flow_actions(id, opts) @@ -1696,7 +1704,7 @@ KlaviyoAPI::Flows.get_flow_relationships_flow_actions(id, opts) -#### [Get Flow Relationships Tags](https://developers.klaviyo.com/en/v2024-06-15/reference/get_flow_relationships_tags) +#### [Get Flow Relationships Tags](https://developers.klaviyo.com/en/v2024-07-15/reference/get_flow_relationships_tags) ```ruby KlaviyoAPI::Flows.get_flow_relationships_tags(id) @@ -1706,7 +1714,7 @@ KlaviyoAPI::Flows.get_flow_relationships_tags(id) -#### [Get Flow Tags](https://developers.klaviyo.com/en/v2024-06-15/reference/get_flow_tags) +#### [Get Flow Tags](https://developers.klaviyo.com/en/v2024-07-15/reference/get_flow_tags) ```ruby KlaviyoAPI::Flows.get_flow_tags(id, opts) @@ -1716,7 +1724,7 @@ KlaviyoAPI::Flows.get_flow_tags(id, opts) -#### [Get Flows](https://developers.klaviyo.com/en/v2024-06-15/reference/get_flows) +#### [Get Flows](https://developers.klaviyo.com/en/v2024-07-15/reference/get_flows) ```ruby KlaviyoAPI::Flows.get_flows(opts) @@ -1726,7 +1734,7 @@ KlaviyoAPI::Flows.get_flows(opts) -#### [Update Flow Status](https://developers.klaviyo.com/en/v2024-06-15/reference/update_flow) +#### [Update Flow Status](https://developers.klaviyo.com/en/v2024-07-15/reference/update_flow) ```ruby KlaviyoAPI::Flows.update_flow(id, body) @@ -1737,10 +1745,84 @@ KlaviyoAPI::Flows.update_flow(id, body) +## Forms + + +#### [Get Form](https://developers.klaviyo.com/en/v2024-07-15/reference/get_form) + +```ruby +KlaviyoAPI::Forms.get_form(id, opts) +``` + + + + + +#### [Get Form for Form Version](https://developers.klaviyo.com/en/v2024-07-15/reference/get_form_for_form_version) + +```ruby +KlaviyoAPI::Forms.get_form_for_form_version(id, opts) +``` + + + + + +#### [Get Form ID for Form Version](https://developers.klaviyo.com/en/v2024-07-15/reference/get_form_id_for_form_version) + +```ruby +KlaviyoAPI::Forms.get_form_id_for_form_version(id) +``` + + + + + +#### [Get Form Version](https://developers.klaviyo.com/en/v2024-07-15/reference/get_form_version) + +```ruby +KlaviyoAPI::Forms.get_form_version(id, opts) +``` + + + + + +#### [Get Forms](https://developers.klaviyo.com/en/v2024-07-15/reference/get_forms) + +```ruby +KlaviyoAPI::Forms.get_forms(opts) +``` + + + + + +#### [Get Version IDs for Form](https://developers.klaviyo.com/en/v2024-07-15/reference/get_version_ids_for_form) + +```ruby +KlaviyoAPI::Forms.get_version_ids_for_form(id) +``` + + + + + +#### [Get Versions for Form](https://developers.klaviyo.com/en/v2024-07-15/reference/get_versions_for_form) + +```ruby +KlaviyoAPI::Forms.get_versions_for_form(id, opts) +``` + + + + + + ## Images -#### [Get Image](https://developers.klaviyo.com/en/v2024-06-15/reference/get_image) +#### [Get Image](https://developers.klaviyo.com/en/v2024-07-15/reference/get_image) ```ruby KlaviyoAPI::Images.get_image(id, opts) @@ -1750,7 +1832,7 @@ KlaviyoAPI::Images.get_image(id, opts) -#### [Get Images](https://developers.klaviyo.com/en/v2024-06-15/reference/get_images) +#### [Get Images](https://developers.klaviyo.com/en/v2024-07-15/reference/get_images) ```ruby KlaviyoAPI::Images.get_images(opts) @@ -1760,7 +1842,7 @@ KlaviyoAPI::Images.get_images(opts) -#### [Update Image](https://developers.klaviyo.com/en/v2024-06-15/reference/update_image) +#### [Update Image](https://developers.klaviyo.com/en/v2024-07-15/reference/update_image) ```ruby KlaviyoAPI::Images.update_image(id, body) @@ -1770,7 +1852,7 @@ KlaviyoAPI::Images.update_image(id, body) -#### [Upload Image From File](https://developers.klaviyo.com/en/v2024-06-15/reference/upload_image_from_file) +#### [Upload Image From File](https://developers.klaviyo.com/en/v2024-07-15/reference/upload_image_from_file) ```ruby KlaviyoAPI::Images.upload_image_from_file(file, opts) @@ -1780,7 +1862,7 @@ KlaviyoAPI::Images.upload_image_from_file(file, opts) -#### [Upload Image From URL](https://developers.klaviyo.com/en/v2024-06-15/reference/upload_image_from_url) +#### [Upload Image From URL](https://developers.klaviyo.com/en/v2024-07-15/reference/upload_image_from_url) ```ruby KlaviyoAPI::Images.upload_image_from_url(body) @@ -1794,7 +1876,7 @@ KlaviyoAPI::Images.upload_image_from_url(body) ## Lists -#### [Create List](https://developers.klaviyo.com/en/v2024-06-15/reference/create_list) +#### [Create List](https://developers.klaviyo.com/en/v2024-07-15/reference/create_list) ```ruby KlaviyoAPI::Lists.create_list(body) @@ -1804,7 +1886,7 @@ KlaviyoAPI::Lists.create_list(body) -#### [Add Profile To List](https://developers.klaviyo.com/en/v2024-06-15/reference/create_list_relationships) +#### [Add Profile To List](https://developers.klaviyo.com/en/v2024-07-15/reference/create_list_relationships) ```ruby KlaviyoAPI::Lists.create_list_relationships(id, body) @@ -1814,7 +1896,7 @@ KlaviyoAPI::Lists.create_list_relationships(id, body) -#### [Delete List](https://developers.klaviyo.com/en/v2024-06-15/reference/delete_list) +#### [Delete List](https://developers.klaviyo.com/en/v2024-07-15/reference/delete_list) ```ruby KlaviyoAPI::Lists.delete_list(id) @@ -1824,7 +1906,7 @@ KlaviyoAPI::Lists.delete_list(id) -#### [Remove Profile From List](https://developers.klaviyo.com/en/v2024-06-15/reference/delete_list_relationships) +#### [Remove Profile From List](https://developers.klaviyo.com/en/v2024-07-15/reference/delete_list_relationships) ```ruby KlaviyoAPI::Lists.delete_list_relationships(id, body) @@ -1834,7 +1916,7 @@ KlaviyoAPI::Lists.delete_list_relationships(id, body) -#### [Get List](https://developers.klaviyo.com/en/v2024-06-15/reference/get_list) +#### [Get List](https://developers.klaviyo.com/en/v2024-07-15/reference/get_list) ```ruby KlaviyoAPI::Lists.get_list(id, opts) @@ -1844,7 +1926,7 @@ KlaviyoAPI::Lists.get_list(id, opts) -#### [Get List Profiles](https://developers.klaviyo.com/en/v2024-06-15/reference/get_list_profiles) +#### [Get List Profiles](https://developers.klaviyo.com/en/v2024-07-15/reference/get_list_profiles) ```ruby KlaviyoAPI::Lists.get_list_profiles(id, opts) @@ -1854,7 +1936,7 @@ KlaviyoAPI::Lists.get_list_profiles(id, opts) -#### [Get List Relationships Profiles](https://developers.klaviyo.com/en/v2024-06-15/reference/get_list_relationships_profiles) +#### [Get List Relationships Profiles](https://developers.klaviyo.com/en/v2024-07-15/reference/get_list_relationships_profiles) ```ruby KlaviyoAPI::Lists.get_list_relationships_profiles(id, opts) @@ -1864,7 +1946,7 @@ KlaviyoAPI::Lists.get_list_relationships_profiles(id, opts) -#### [Get List Relationships Tags](https://developers.klaviyo.com/en/v2024-06-15/reference/get_list_relationships_tags) +#### [Get List Relationships Tags](https://developers.klaviyo.com/en/v2024-07-15/reference/get_list_relationships_tags) ```ruby KlaviyoAPI::Lists.get_list_relationships_tags(id) @@ -1874,7 +1956,7 @@ KlaviyoAPI::Lists.get_list_relationships_tags(id) -#### [Get List Tags](https://developers.klaviyo.com/en/v2024-06-15/reference/get_list_tags) +#### [Get List Tags](https://developers.klaviyo.com/en/v2024-07-15/reference/get_list_tags) ```ruby KlaviyoAPI::Lists.get_list_tags(id, opts) @@ -1884,7 +1966,7 @@ KlaviyoAPI::Lists.get_list_tags(id, opts) -#### [Get Lists](https://developers.klaviyo.com/en/v2024-06-15/reference/get_lists) +#### [Get Lists](https://developers.klaviyo.com/en/v2024-07-15/reference/get_lists) ```ruby KlaviyoAPI::Lists.get_lists(opts) @@ -1894,7 +1976,7 @@ KlaviyoAPI::Lists.get_lists(opts) -#### [Update List](https://developers.klaviyo.com/en/v2024-06-15/reference/update_list) +#### [Update List](https://developers.klaviyo.com/en/v2024-07-15/reference/update_list) ```ruby KlaviyoAPI::Lists.update_list(id, body) @@ -1908,7 +1990,7 @@ KlaviyoAPI::Lists.update_list(id, body) ## Metrics -#### [Get Metric](https://developers.klaviyo.com/en/v2024-06-15/reference/get_metric) +#### [Get Metric](https://developers.klaviyo.com/en/v2024-07-15/reference/get_metric) ```ruby KlaviyoAPI::Metrics.get_metric(id, opts) @@ -1918,7 +2000,7 @@ KlaviyoAPI::Metrics.get_metric(id, opts) -#### [Get Metrics](https://developers.klaviyo.com/en/v2024-06-15/reference/get_metrics) +#### [Get Metrics](https://developers.klaviyo.com/en/v2024-07-15/reference/get_metrics) ```ruby KlaviyoAPI::Metrics.get_metrics(opts) @@ -1928,7 +2010,7 @@ KlaviyoAPI::Metrics.get_metrics(opts) -#### [Query Metric Aggregates](https://developers.klaviyo.com/en/v2024-06-15/reference/query_metric_aggregates) +#### [Query Metric Aggregates](https://developers.klaviyo.com/en/v2024-07-15/reference/query_metric_aggregates) ```ruby KlaviyoAPI::Metrics.query_metric_aggregates(body) @@ -1942,7 +2024,7 @@ KlaviyoAPI::Metrics.query_metric_aggregates(body) ## Profiles -#### [Create or Update Profile](https://developers.klaviyo.com/en/v2024-06-15/reference/create_or_update_profile) +#### [Create or Update Profile](https://developers.klaviyo.com/en/v2024-07-15/reference/create_or_update_profile) ```ruby KlaviyoAPI::Profiles.create_or_update_profile(body) @@ -1952,7 +2034,7 @@ KlaviyoAPI::Profiles.create_or_update_profile(body) -#### [Create Profile](https://developers.klaviyo.com/en/v2024-06-15/reference/create_profile) +#### [Create Profile](https://developers.klaviyo.com/en/v2024-07-15/reference/create_profile) ```ruby KlaviyoAPI::Profiles.create_profile(body) @@ -1962,7 +2044,7 @@ KlaviyoAPI::Profiles.create_profile(body) -#### [Create or Update Push Token](https://developers.klaviyo.com/en/v2024-06-15/reference/create_push_token) +#### [Create or Update Push Token](https://developers.klaviyo.com/en/v2024-07-15/reference/create_push_token) ```ruby KlaviyoAPI::Profiles.create_push_token(body) @@ -1972,7 +2054,7 @@ KlaviyoAPI::Profiles.create_push_token(body) -#### [Get Bulk Profile Import Job](https://developers.klaviyo.com/en/v2024-06-15/reference/get_bulk_profile_import_job) +#### [Get Bulk Profile Import Job](https://developers.klaviyo.com/en/v2024-07-15/reference/get_bulk_profile_import_job) ```ruby KlaviyoAPI::Profiles.get_bulk_profile_import_job(job_id, opts) @@ -1982,7 +2064,7 @@ KlaviyoAPI::Profiles.get_bulk_profile_import_job(job_id, opts) -#### [Get Bulk Profile Import Job Errors](https://developers.klaviyo.com/en/v2024-06-15/reference/get_bulk_profile_import_job_import_errors) +#### [Get Bulk Profile Import Job Errors](https://developers.klaviyo.com/en/v2024-07-15/reference/get_bulk_profile_import_job_import_errors) ```ruby KlaviyoAPI::Profiles.get_bulk_profile_import_job_import_errors(id, opts) @@ -1992,7 +2074,7 @@ KlaviyoAPI::Profiles.get_bulk_profile_import_job_import_errors(id, opts) -#### [Get Bulk Profile Import Job Lists](https://developers.klaviyo.com/en/v2024-06-15/reference/get_bulk_profile_import_job_lists) +#### [Get Bulk Profile Import Job Lists](https://developers.klaviyo.com/en/v2024-07-15/reference/get_bulk_profile_import_job_lists) ```ruby KlaviyoAPI::Profiles.get_bulk_profile_import_job_lists(id, opts) @@ -2002,7 +2084,7 @@ KlaviyoAPI::Profiles.get_bulk_profile_import_job_lists(id, opts) -#### [Get Bulk Profile Import Job Profiles](https://developers.klaviyo.com/en/v2024-06-15/reference/get_bulk_profile_import_job_profiles) +#### [Get Bulk Profile Import Job Profiles](https://developers.klaviyo.com/en/v2024-07-15/reference/get_bulk_profile_import_job_profiles) ```ruby KlaviyoAPI::Profiles.get_bulk_profile_import_job_profiles(id, opts) @@ -2012,7 +2094,7 @@ KlaviyoAPI::Profiles.get_bulk_profile_import_job_profiles(id, opts) -#### [Get Bulk Profile Import Job Relationships Lists](https://developers.klaviyo.com/en/v2024-06-15/reference/get_bulk_profile_import_job_relationships_lists) +#### [Get Bulk Profile Import Job Relationships Lists](https://developers.klaviyo.com/en/v2024-07-15/reference/get_bulk_profile_import_job_relationships_lists) ```ruby KlaviyoAPI::Profiles.get_bulk_profile_import_job_relationships_lists(id) @@ -2022,7 +2104,7 @@ KlaviyoAPI::Profiles.get_bulk_profile_import_job_relationships_lists(id) -#### [Get Bulk Profile Import Job Relationships Profiles](https://developers.klaviyo.com/en/v2024-06-15/reference/get_bulk_profile_import_job_relationships_profiles) +#### [Get Bulk Profile Import Job Relationships Profiles](https://developers.klaviyo.com/en/v2024-07-15/reference/get_bulk_profile_import_job_relationships_profiles) ```ruby KlaviyoAPI::Profiles.get_bulk_profile_import_job_relationships_profiles(id, opts) @@ -2032,7 +2114,7 @@ KlaviyoAPI::Profiles.get_bulk_profile_import_job_relationships_profiles(id, opts -#### [Get Bulk Profile Import Jobs](https://developers.klaviyo.com/en/v2024-06-15/reference/get_bulk_profile_import_jobs) +#### [Get Bulk Profile Import Jobs](https://developers.klaviyo.com/en/v2024-07-15/reference/get_bulk_profile_import_jobs) ```ruby KlaviyoAPI::Profiles.get_bulk_profile_import_jobs(opts) @@ -2042,7 +2124,7 @@ KlaviyoAPI::Profiles.get_bulk_profile_import_jobs(opts) -#### [Get Profile](https://developers.klaviyo.com/en/v2024-06-15/reference/get_profile) +#### [Get Profile](https://developers.klaviyo.com/en/v2024-07-15/reference/get_profile) ```ruby KlaviyoAPI::Profiles.get_profile(id, opts) @@ -2052,7 +2134,7 @@ KlaviyoAPI::Profiles.get_profile(id, opts) -#### [Get Profile Lists](https://developers.klaviyo.com/en/v2024-06-15/reference/get_profile_lists) +#### [Get Profile Lists](https://developers.klaviyo.com/en/v2024-07-15/reference/get_profile_lists) ```ruby KlaviyoAPI::Profiles.get_profile_lists(id, opts) @@ -2062,7 +2144,7 @@ KlaviyoAPI::Profiles.get_profile_lists(id, opts) -#### [Get Profile Relationships Lists](https://developers.klaviyo.com/en/v2024-06-15/reference/get_profile_relationships_lists) +#### [Get Profile Relationships Lists](https://developers.klaviyo.com/en/v2024-07-15/reference/get_profile_relationships_lists) ```ruby KlaviyoAPI::Profiles.get_profile_relationships_lists(id) @@ -2072,7 +2154,7 @@ KlaviyoAPI::Profiles.get_profile_relationships_lists(id) -#### [Get Profile Relationships Segments](https://developers.klaviyo.com/en/v2024-06-15/reference/get_profile_relationships_segments) +#### [Get Profile Relationships Segments](https://developers.klaviyo.com/en/v2024-07-15/reference/get_profile_relationships_segments) ```ruby KlaviyoAPI::Profiles.get_profile_relationships_segments(id) @@ -2082,7 +2164,7 @@ KlaviyoAPI::Profiles.get_profile_relationships_segments(id) -#### [Get Profile Segments](https://developers.klaviyo.com/en/v2024-06-15/reference/get_profile_segments) +#### [Get Profile Segments](https://developers.klaviyo.com/en/v2024-07-15/reference/get_profile_segments) ```ruby KlaviyoAPI::Profiles.get_profile_segments(id, opts) @@ -2092,7 +2174,7 @@ KlaviyoAPI::Profiles.get_profile_segments(id, opts) -#### [Get Profiles](https://developers.klaviyo.com/en/v2024-06-15/reference/get_profiles) +#### [Get Profiles](https://developers.klaviyo.com/en/v2024-07-15/reference/get_profiles) ```ruby KlaviyoAPI::Profiles.get_profiles(opts) @@ -2102,7 +2184,7 @@ KlaviyoAPI::Profiles.get_profiles(opts) -#### [Merge Profiles](https://developers.klaviyo.com/en/v2024-06-15/reference/merge_profiles) +#### [Merge Profiles](https://developers.klaviyo.com/en/v2024-07-15/reference/merge_profiles) ```ruby KlaviyoAPI::Profiles.merge_profiles(body) @@ -2112,7 +2194,7 @@ KlaviyoAPI::Profiles.merge_profiles(body) -#### [Spawn Bulk Profile Import Job](https://developers.klaviyo.com/en/v2024-06-15/reference/spawn_bulk_profile_import_job) +#### [Spawn Bulk Profile Import Job](https://developers.klaviyo.com/en/v2024-07-15/reference/spawn_bulk_profile_import_job) ```ruby KlaviyoAPI::Profiles.spawn_bulk_profile_import_job(body) @@ -2122,7 +2204,7 @@ KlaviyoAPI::Profiles.spawn_bulk_profile_import_job(body) -#### [Subscribe Profiles](https://developers.klaviyo.com/en/v2024-06-15/reference/subscribe_profiles) +#### [Subscribe Profiles](https://developers.klaviyo.com/en/v2024-07-15/reference/subscribe_profiles) ```ruby KlaviyoAPI::Profiles.subscribe_profiles(body) @@ -2132,7 +2214,7 @@ KlaviyoAPI::Profiles.subscribe_profiles(body) -#### [Suppress Profiles](https://developers.klaviyo.com/en/v2024-06-15/reference/suppress_profiles) +#### [Suppress Profiles](https://developers.klaviyo.com/en/v2024-07-15/reference/suppress_profiles) ```ruby KlaviyoAPI::Profiles.suppress_profiles(body) @@ -2142,7 +2224,7 @@ KlaviyoAPI::Profiles.suppress_profiles(body) -#### [Unsubscribe Profiles](https://developers.klaviyo.com/en/v2024-06-15/reference/unsubscribe_profiles) +#### [Unsubscribe Profiles](https://developers.klaviyo.com/en/v2024-07-15/reference/unsubscribe_profiles) ```ruby KlaviyoAPI::Profiles.unsubscribe_profiles(body) @@ -2152,7 +2234,7 @@ KlaviyoAPI::Profiles.unsubscribe_profiles(body) -#### [Unsuppress Profiles](https://developers.klaviyo.com/en/v2024-06-15/reference/unsuppress_profiles) +#### [Unsuppress Profiles](https://developers.klaviyo.com/en/v2024-07-15/reference/unsuppress_profiles) ```ruby KlaviyoAPI::Profiles.unsuppress_profiles(body) @@ -2162,7 +2244,7 @@ KlaviyoAPI::Profiles.unsuppress_profiles(body) -#### [Update Profile](https://developers.klaviyo.com/en/v2024-06-15/reference/update_profile) +#### [Update Profile](https://developers.klaviyo.com/en/v2024-07-15/reference/update_profile) ```ruby KlaviyoAPI::Profiles.update_profile(id, body) @@ -2176,7 +2258,7 @@ KlaviyoAPI::Profiles.update_profile(id, body) ## Reporting -#### [Query Campaign Values](https://developers.klaviyo.com/en/v2024-06-15/reference/query_campaign_values) +#### [Query Campaign Values](https://developers.klaviyo.com/en/v2024-07-15/reference/query_campaign_values) ```ruby KlaviyoAPI::Reporting.query_campaign_values(body, opts) @@ -2186,7 +2268,7 @@ KlaviyoAPI::Reporting.query_campaign_values(body, opts) -#### [Query Flow Series](https://developers.klaviyo.com/en/v2024-06-15/reference/query_flow_series) +#### [Query Flow Series](https://developers.klaviyo.com/en/v2024-07-15/reference/query_flow_series) ```ruby KlaviyoAPI::Reporting.query_flow_series(body, opts) @@ -2196,7 +2278,7 @@ KlaviyoAPI::Reporting.query_flow_series(body, opts) -#### [Query Flow Values](https://developers.klaviyo.com/en/v2024-06-15/reference/query_flow_values) +#### [Query Flow Values](https://developers.klaviyo.com/en/v2024-07-15/reference/query_flow_values) ```ruby KlaviyoAPI::Reporting.query_flow_values(body, opts) @@ -2210,7 +2292,7 @@ KlaviyoAPI::Reporting.query_flow_values(body, opts) ## Segments -#### [Create Segment](https://developers.klaviyo.com/en/v2024-06-15/reference/create_segment) +#### [Create Segment](https://developers.klaviyo.com/en/v2024-07-15/reference/create_segment) ```ruby KlaviyoAPI::Segments.create_segment(body) @@ -2220,7 +2302,7 @@ KlaviyoAPI::Segments.create_segment(body) -#### [Delete Segment](https://developers.klaviyo.com/en/v2024-06-15/reference/delete_segment) +#### [Delete Segment](https://developers.klaviyo.com/en/v2024-07-15/reference/delete_segment) ```ruby KlaviyoAPI::Segments.delete_segment(id) @@ -2230,7 +2312,7 @@ KlaviyoAPI::Segments.delete_segment(id) -#### [Get Segment](https://developers.klaviyo.com/en/v2024-06-15/reference/get_segment) +#### [Get Segment](https://developers.klaviyo.com/en/v2024-07-15/reference/get_segment) ```ruby KlaviyoAPI::Segments.get_segment(id, opts) @@ -2240,7 +2322,7 @@ KlaviyoAPI::Segments.get_segment(id, opts) -#### [Get Segment Profiles](https://developers.klaviyo.com/en/v2024-06-15/reference/get_segment_profiles) +#### [Get Segment Profiles](https://developers.klaviyo.com/en/v2024-07-15/reference/get_segment_profiles) ```ruby KlaviyoAPI::Segments.get_segment_profiles(id, opts) @@ -2250,7 +2332,7 @@ KlaviyoAPI::Segments.get_segment_profiles(id, opts) -#### [Get Segment Relationships Profiles](https://developers.klaviyo.com/en/v2024-06-15/reference/get_segment_relationships_profiles) +#### [Get Segment Relationships Profiles](https://developers.klaviyo.com/en/v2024-07-15/reference/get_segment_relationships_profiles) ```ruby KlaviyoAPI::Segments.get_segment_relationships_profiles(id, opts) @@ -2260,7 +2342,7 @@ KlaviyoAPI::Segments.get_segment_relationships_profiles(id, opts) -#### [Get Segment Relationships Tags](https://developers.klaviyo.com/en/v2024-06-15/reference/get_segment_relationships_tags) +#### [Get Segment Relationships Tags](https://developers.klaviyo.com/en/v2024-07-15/reference/get_segment_relationships_tags) ```ruby KlaviyoAPI::Segments.get_segment_relationships_tags(id) @@ -2270,7 +2352,7 @@ KlaviyoAPI::Segments.get_segment_relationships_tags(id) -#### [Get Segment Tags](https://developers.klaviyo.com/en/v2024-06-15/reference/get_segment_tags) +#### [Get Segment Tags](https://developers.klaviyo.com/en/v2024-07-15/reference/get_segment_tags) ```ruby KlaviyoAPI::Segments.get_segment_tags(id, opts) @@ -2280,7 +2362,7 @@ KlaviyoAPI::Segments.get_segment_tags(id, opts) -#### [Get Segments](https://developers.klaviyo.com/en/v2024-06-15/reference/get_segments) +#### [Get Segments](https://developers.klaviyo.com/en/v2024-07-15/reference/get_segments) ```ruby KlaviyoAPI::Segments.get_segments(opts) @@ -2290,7 +2372,7 @@ KlaviyoAPI::Segments.get_segments(opts) -#### [Update Segment](https://developers.klaviyo.com/en/v2024-06-15/reference/update_segment) +#### [Update Segment](https://developers.klaviyo.com/en/v2024-07-15/reference/update_segment) ```ruby KlaviyoAPI::Segments.update_segment(id, body) @@ -2304,7 +2386,7 @@ KlaviyoAPI::Segments.update_segment(id, body) ## Tags -#### [Create Tag](https://developers.klaviyo.com/en/v2024-06-15/reference/create_tag) +#### [Create Tag](https://developers.klaviyo.com/en/v2024-07-15/reference/create_tag) ```ruby KlaviyoAPI::Tags.create_tag(body) @@ -2314,7 +2396,7 @@ KlaviyoAPI::Tags.create_tag(body) -#### [Create Tag Group](https://developers.klaviyo.com/en/v2024-06-15/reference/create_tag_group) +#### [Create Tag Group](https://developers.klaviyo.com/en/v2024-07-15/reference/create_tag_group) ```ruby KlaviyoAPI::Tags.create_tag_group(body) @@ -2324,7 +2406,7 @@ KlaviyoAPI::Tags.create_tag_group(body) -#### [Create Tag Relationships Campaigns](https://developers.klaviyo.com/en/v2024-06-15/reference/create_tag_relationships_campaigns) +#### [Create Tag Relationships Campaigns](https://developers.klaviyo.com/en/v2024-07-15/reference/create_tag_relationships_campaigns) ```ruby KlaviyoAPI::Tags.create_tag_relationships_campaigns(id, body) @@ -2334,7 +2416,7 @@ KlaviyoAPI::Tags.create_tag_relationships_campaigns(id, body) -#### [Create Tag Relationships Flows](https://developers.klaviyo.com/en/v2024-06-15/reference/create_tag_relationships_flows) +#### [Create Tag Relationships Flows](https://developers.klaviyo.com/en/v2024-07-15/reference/create_tag_relationships_flows) ```ruby KlaviyoAPI::Tags.create_tag_relationships_flows(id, body) @@ -2344,7 +2426,7 @@ KlaviyoAPI::Tags.create_tag_relationships_flows(id, body) -#### [Create Tag Relationships Lists](https://developers.klaviyo.com/en/v2024-06-15/reference/create_tag_relationships_lists) +#### [Create Tag Relationships Lists](https://developers.klaviyo.com/en/v2024-07-15/reference/create_tag_relationships_lists) ```ruby KlaviyoAPI::Tags.create_tag_relationships_lists(id, body) @@ -2354,7 +2436,7 @@ KlaviyoAPI::Tags.create_tag_relationships_lists(id, body) -#### [Create Tag Relationships Segments](https://developers.klaviyo.com/en/v2024-06-15/reference/create_tag_relationships_segments) +#### [Create Tag Relationships Segments](https://developers.klaviyo.com/en/v2024-07-15/reference/create_tag_relationships_segments) ```ruby KlaviyoAPI::Tags.create_tag_relationships_segments(id, body) @@ -2364,7 +2446,7 @@ KlaviyoAPI::Tags.create_tag_relationships_segments(id, body) -#### [Delete Tag](https://developers.klaviyo.com/en/v2024-06-15/reference/delete_tag) +#### [Delete Tag](https://developers.klaviyo.com/en/v2024-07-15/reference/delete_tag) ```ruby KlaviyoAPI::Tags.delete_tag(id) @@ -2374,7 +2456,7 @@ KlaviyoAPI::Tags.delete_tag(id) -#### [Delete Tag Group](https://developers.klaviyo.com/en/v2024-06-15/reference/delete_tag_group) +#### [Delete Tag Group](https://developers.klaviyo.com/en/v2024-07-15/reference/delete_tag_group) ```ruby KlaviyoAPI::Tags.delete_tag_group(id) @@ -2384,7 +2466,7 @@ KlaviyoAPI::Tags.delete_tag_group(id) -#### [Delete Tag Relationships Campaigns](https://developers.klaviyo.com/en/v2024-06-15/reference/delete_tag_relationships_campaigns) +#### [Delete Tag Relationships Campaigns](https://developers.klaviyo.com/en/v2024-07-15/reference/delete_tag_relationships_campaigns) ```ruby KlaviyoAPI::Tags.delete_tag_relationships_campaigns(id, body) @@ -2394,7 +2476,7 @@ KlaviyoAPI::Tags.delete_tag_relationships_campaigns(id, body) -#### [Delete Tag Relationships Flows](https://developers.klaviyo.com/en/v2024-06-15/reference/delete_tag_relationships_flows) +#### [Delete Tag Relationships Flows](https://developers.klaviyo.com/en/v2024-07-15/reference/delete_tag_relationships_flows) ```ruby KlaviyoAPI::Tags.delete_tag_relationships_flows(id, body) @@ -2404,7 +2486,7 @@ KlaviyoAPI::Tags.delete_tag_relationships_flows(id, body) -#### [Delete Tag Relationships Lists](https://developers.klaviyo.com/en/v2024-06-15/reference/delete_tag_relationships_lists) +#### [Delete Tag Relationships Lists](https://developers.klaviyo.com/en/v2024-07-15/reference/delete_tag_relationships_lists) ```ruby KlaviyoAPI::Tags.delete_tag_relationships_lists(id, body) @@ -2414,7 +2496,7 @@ KlaviyoAPI::Tags.delete_tag_relationships_lists(id, body) -#### [Delete Tag Relationships Segments](https://developers.klaviyo.com/en/v2024-06-15/reference/delete_tag_relationships_segments) +#### [Delete Tag Relationships Segments](https://developers.klaviyo.com/en/v2024-07-15/reference/delete_tag_relationships_segments) ```ruby KlaviyoAPI::Tags.delete_tag_relationships_segments(id, body) @@ -2424,7 +2506,7 @@ KlaviyoAPI::Tags.delete_tag_relationships_segments(id, body) -#### [Get Tag](https://developers.klaviyo.com/en/v2024-06-15/reference/get_tag) +#### [Get Tag](https://developers.klaviyo.com/en/v2024-07-15/reference/get_tag) ```ruby KlaviyoAPI::Tags.get_tag(id, opts) @@ -2434,7 +2516,7 @@ KlaviyoAPI::Tags.get_tag(id, opts) -#### [Get Tag Group](https://developers.klaviyo.com/en/v2024-06-15/reference/get_tag_group) +#### [Get Tag Group](https://developers.klaviyo.com/en/v2024-07-15/reference/get_tag_group) ```ruby KlaviyoAPI::Tags.get_tag_group(id, opts) @@ -2444,7 +2526,7 @@ KlaviyoAPI::Tags.get_tag_group(id, opts) -#### [Get Tag Group Relationships Tags](https://developers.klaviyo.com/en/v2024-06-15/reference/get_tag_group_relationships_tags) +#### [Get Tag Group Relationships Tags](https://developers.klaviyo.com/en/v2024-07-15/reference/get_tag_group_relationships_tags) ```ruby KlaviyoAPI::Tags.get_tag_group_relationships_tags(id) @@ -2454,7 +2536,7 @@ KlaviyoAPI::Tags.get_tag_group_relationships_tags(id) -#### [Get Tag Group Tags](https://developers.klaviyo.com/en/v2024-06-15/reference/get_tag_group_tags) +#### [Get Tag Group Tags](https://developers.klaviyo.com/en/v2024-07-15/reference/get_tag_group_tags) ```ruby KlaviyoAPI::Tags.get_tag_group_tags(id, opts) @@ -2464,7 +2546,7 @@ KlaviyoAPI::Tags.get_tag_group_tags(id, opts) -#### [Get Tag Groups](https://developers.klaviyo.com/en/v2024-06-15/reference/get_tag_groups) +#### [Get Tag Groups](https://developers.klaviyo.com/en/v2024-07-15/reference/get_tag_groups) ```ruby KlaviyoAPI::Tags.get_tag_groups(opts) @@ -2474,7 +2556,7 @@ KlaviyoAPI::Tags.get_tag_groups(opts) -#### [Get Tag Relationships Campaigns](https://developers.klaviyo.com/en/v2024-06-15/reference/get_tag_relationships_campaigns) +#### [Get Tag Relationships Campaigns](https://developers.klaviyo.com/en/v2024-07-15/reference/get_tag_relationships_campaigns) ```ruby KlaviyoAPI::Tags.get_tag_relationships_campaigns(id) @@ -2484,7 +2566,7 @@ KlaviyoAPI::Tags.get_tag_relationships_campaigns(id) -#### [Get Tag Relationships Flows](https://developers.klaviyo.com/en/v2024-06-15/reference/get_tag_relationships_flows) +#### [Get Tag Relationships Flows](https://developers.klaviyo.com/en/v2024-07-15/reference/get_tag_relationships_flows) ```ruby KlaviyoAPI::Tags.get_tag_relationships_flows(id) @@ -2494,7 +2576,7 @@ KlaviyoAPI::Tags.get_tag_relationships_flows(id) -#### [Get Tag Relationships Lists](https://developers.klaviyo.com/en/v2024-06-15/reference/get_tag_relationships_lists) +#### [Get Tag Relationships Lists](https://developers.klaviyo.com/en/v2024-07-15/reference/get_tag_relationships_lists) ```ruby KlaviyoAPI::Tags.get_tag_relationships_lists(id) @@ -2504,7 +2586,7 @@ KlaviyoAPI::Tags.get_tag_relationships_lists(id) -#### [Get Tag Relationships Segments](https://developers.klaviyo.com/en/v2024-06-15/reference/get_tag_relationships_segments) +#### [Get Tag Relationships Segments](https://developers.klaviyo.com/en/v2024-07-15/reference/get_tag_relationships_segments) ```ruby KlaviyoAPI::Tags.get_tag_relationships_segments(id) @@ -2514,7 +2596,7 @@ KlaviyoAPI::Tags.get_tag_relationships_segments(id) -#### [Get Tag Relationships Tag Group](https://developers.klaviyo.com/en/v2024-06-15/reference/get_tag_relationships_tag_group) +#### [Get Tag Relationships Tag Group](https://developers.klaviyo.com/en/v2024-07-15/reference/get_tag_relationships_tag_group) ```ruby KlaviyoAPI::Tags.get_tag_relationships_tag_group(id) @@ -2524,7 +2606,7 @@ KlaviyoAPI::Tags.get_tag_relationships_tag_group(id) -#### [Get Tag Tag Group](https://developers.klaviyo.com/en/v2024-06-15/reference/get_tag_tag_group) +#### [Get Tag Tag Group](https://developers.klaviyo.com/en/v2024-07-15/reference/get_tag_tag_group) ```ruby KlaviyoAPI::Tags.get_tag_tag_group(id, opts) @@ -2534,7 +2616,7 @@ KlaviyoAPI::Tags.get_tag_tag_group(id, opts) -#### [Get Tags](https://developers.klaviyo.com/en/v2024-06-15/reference/get_tags) +#### [Get Tags](https://developers.klaviyo.com/en/v2024-07-15/reference/get_tags) ```ruby KlaviyoAPI::Tags.get_tags(opts) @@ -2544,7 +2626,7 @@ KlaviyoAPI::Tags.get_tags(opts) -#### [Update Tag](https://developers.klaviyo.com/en/v2024-06-15/reference/update_tag) +#### [Update Tag](https://developers.klaviyo.com/en/v2024-07-15/reference/update_tag) ```ruby KlaviyoAPI::Tags.update_tag(id, body) @@ -2554,7 +2636,7 @@ KlaviyoAPI::Tags.update_tag(id, body) -#### [Update Tag Group](https://developers.klaviyo.com/en/v2024-06-15/reference/update_tag_group) +#### [Update Tag Group](https://developers.klaviyo.com/en/v2024-07-15/reference/update_tag_group) ```ruby KlaviyoAPI::Tags.update_tag_group(id, body) @@ -2568,7 +2650,7 @@ KlaviyoAPI::Tags.update_tag_group(id, body) ## Templates -#### [Create Template](https://developers.klaviyo.com/en/v2024-06-15/reference/create_template) +#### [Create Template](https://developers.klaviyo.com/en/v2024-07-15/reference/create_template) ```ruby KlaviyoAPI::Templates.create_template(body) @@ -2578,7 +2660,7 @@ KlaviyoAPI::Templates.create_template(body) -#### [Create Template Clone](https://developers.klaviyo.com/en/v2024-06-15/reference/create_template_clone) +#### [Create Template Clone](https://developers.klaviyo.com/en/v2024-07-15/reference/create_template_clone) ```ruby KlaviyoAPI::Templates.create_template_clone(body) @@ -2588,7 +2670,7 @@ KlaviyoAPI::Templates.create_template_clone(body) -#### [Create Template Render](https://developers.klaviyo.com/en/v2024-06-15/reference/create_template_render) +#### [Create Template Render](https://developers.klaviyo.com/en/v2024-07-15/reference/create_template_render) ```ruby KlaviyoAPI::Templates.create_template_render(body) @@ -2598,7 +2680,7 @@ KlaviyoAPI::Templates.create_template_render(body) -#### [Delete Template](https://developers.klaviyo.com/en/v2024-06-15/reference/delete_template) +#### [Delete Template](https://developers.klaviyo.com/en/v2024-07-15/reference/delete_template) ```ruby KlaviyoAPI::Templates.delete_template(id) @@ -2608,7 +2690,7 @@ KlaviyoAPI::Templates.delete_template(id) -#### [Get Template](https://developers.klaviyo.com/en/v2024-06-15/reference/get_template) +#### [Get Template](https://developers.klaviyo.com/en/v2024-07-15/reference/get_template) ```ruby KlaviyoAPI::Templates.get_template(id, opts) @@ -2618,7 +2700,7 @@ KlaviyoAPI::Templates.get_template(id, opts) -#### [Get Templates](https://developers.klaviyo.com/en/v2024-06-15/reference/get_templates) +#### [Get Templates](https://developers.klaviyo.com/en/v2024-07-15/reference/get_templates) ```ruby KlaviyoAPI::Templates.get_templates(opts) @@ -2628,7 +2710,7 @@ KlaviyoAPI::Templates.get_templates(opts) -#### [Update Template](https://developers.klaviyo.com/en/v2024-06-15/reference/update_template) +#### [Update Template](https://developers.klaviyo.com/en/v2024-07-15/reference/update_template) ```ruby KlaviyoAPI::Templates.update_template(id, body) @@ -2638,6 +2720,80 @@ KlaviyoAPI::Templates.update_template(id, body) + +## Webhooks + + +#### [Create Webhook](https://developers.klaviyo.com/en/v2024-07-15/reference/create_webhook) + +```ruby +KlaviyoAPI::Webhooks.create_webhook(body) +``` + + + + + +#### [Delete Webhook](https://developers.klaviyo.com/en/v2024-07-15/reference/delete_webhook) + +```ruby +KlaviyoAPI::Webhooks.delete_webhook(id) +``` + + + + + +#### [Get Webhook](https://developers.klaviyo.com/en/v2024-07-15/reference/get_webhook) + +```ruby +KlaviyoAPI::Webhooks.get_webhook(id, opts) +``` + + + + + +#### [Get Webhook Topic](https://developers.klaviyo.com/en/v2024-07-15/reference/get_webhook_topic) + +```ruby +KlaviyoAPI::Webhooks.get_webhook_topic(id) +``` + + + + + +#### [Get Webhook Topics](https://developers.klaviyo.com/en/v2024-07-15/reference/get_webhook_topics) + +```ruby +KlaviyoAPI::Webhooks.get_webhook_topics +``` + + + + + +#### [Get Webhooks](https://developers.klaviyo.com/en/v2024-07-15/reference/get_webhooks) + +```ruby +KlaviyoAPI::Webhooks.get_webhooks(opts) +``` + + + + + +#### [Update Webhook](https://developers.klaviyo.com/en/v2024-07-15/reference/update_webhook) + +```ruby +KlaviyoAPI::Webhooks.update_webhook(id, body) +``` + + + + + # Appendix ## Per Request API key diff --git a/klaviyo-api-sdk.gemspec b/klaviyo-api-sdk.gemspec index ba50d0d..967ac3f 100644 --- a/klaviyo-api-sdk.gemspec +++ b/klaviyo-api-sdk.gemspec @@ -5,7 +5,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 @@ -17,7 +17,7 @@ require "klaviyo-api-sdk/version" Gem::Specification.new do |s| s.name = "klaviyo-api-sdk" - s.version = "7.1.0" + s.version = "8.0.0" s.authors = ['Klaviyo Team'] s.email = ['libraries@klaviyo.com'] s.summary = 'You heard us, a Ruby wrapper for the Klaviyo API' diff --git a/lib/klaviyo-api-sdk.rb b/lib/klaviyo-api-sdk.rb index 726406c..5f286de 100644 --- a/lib/klaviyo-api-sdk.rb +++ b/lib/klaviyo-api-sdk.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 @@ -418,7 +418,7 @@ require 'klaviyo-api-sdk/models/push_token_create_query_resource_object_attributes_profile' require 'klaviyo-api-sdk/models/push_token_enum' require 'klaviyo-api-sdk/models/relative_anniversary_date_filter' -require 'klaviyo-api-sdk/models/relative_date_filter' +require 'klaviyo-api-sdk/models/relative_date_operator_base_filter' require 'klaviyo-api-sdk/models/relative_date_range_filter' require 'klaviyo-api-sdk/models/render_options_sub_object' require 'klaviyo-api-sdk/models/sms_content_sub_object_create' @@ -537,6 +537,17 @@ require 'klaviyo-api-sdk/models/union_positive_numeric_filter' require 'klaviyo-api-sdk/models/union_positive_numeric_filter_operator' require 'klaviyo-api-sdk/models/unsubscribed_enum' +require 'klaviyo-api-sdk/models/webhook_create_query' +require 'klaviyo-api-sdk/models/webhook_create_query_resource_object' +require 'klaviyo-api-sdk/models/webhook_create_query_resource_object_attributes' +require 'klaviyo-api-sdk/models/webhook_create_query_resource_object_relationships' +require 'klaviyo-api-sdk/models/webhook_create_query_resource_object_relationships_webhook_topics' +require 'klaviyo-api-sdk/models/webhook_create_query_resource_object_relationships_webhook_topics_data_inner' +require 'klaviyo-api-sdk/models/webhook_enum' +require 'klaviyo-api-sdk/models/webhook_partial_update_query' +require 'klaviyo-api-sdk/models/webhook_partial_update_query_resource_object' +require 'klaviyo-api-sdk/models/webhook_partial_update_query_resource_object_attributes' +require 'klaviyo-api-sdk/models/webhook_topic_enum' # APIs require 'klaviyo-api-sdk/api/accounts_api' @@ -546,6 +557,7 @@ require 'klaviyo-api-sdk/api/data_privacy_api' require 'klaviyo-api-sdk/api/events_api' require 'klaviyo-api-sdk/api/flows_api' +require 'klaviyo-api-sdk/api/forms_api' require 'klaviyo-api-sdk/api/images_api' require 'klaviyo-api-sdk/api/lists_api' require 'klaviyo-api-sdk/api/metrics_api' @@ -554,6 +566,7 @@ require 'klaviyo-api-sdk/api/segments_api' require 'klaviyo-api-sdk/api/tags_api' require 'klaviyo-api-sdk/api/templates_api' +require 'klaviyo-api-sdk/api/webhooks_api' # retry logic require 'retriable' diff --git a/lib/klaviyo-api-sdk/api/accounts_api.rb b/lib/klaviyo-api-sdk/api/accounts_api.rb index 4335fdf..9b6af3c 100644 --- a/lib/klaviyo-api-sdk/api/accounts_api.rb +++ b/lib/klaviyo-api-sdk/api/accounts_api.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 @@ -23,7 +23,7 @@ def initialize(api_client = ApiClient.default) # Retrieve a single account object by its account ID. You can only request the account by which the private API key was generated.

*Rate limits*:
Burst: `1/s`
Steady: `15/m` **Scopes:** `accounts:read` # @param id [String] The ID of the account # @param [Hash] opts the optional parameters - # @option opts [Array] :fields_account For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :fields_account For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets # @return [Hash] def get_account(id, opts = {}) data, _status_code, _headers = get_account_with_http_info(id, opts) @@ -34,7 +34,7 @@ def get_account(id, opts = {}) # Retrieve a single account object by its account ID. You can only request the account by which the private API key was generated.<br><br>*Rate limits*:<br>Burst: `1/s`<br>Steady: `15/m` **Scopes:** `accounts:read` # @param id [String] The ID of the account # @param [Hash] opts the optional parameters - # @option opts [Array] :fields_account For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :fields_account For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets # @return [Array<(Hash, Integer, Hash)>] Hash data, response status code and response headers def get_account_with_http_info(id, opts = {}) if @api_client.config.debugging @@ -58,7 +58,7 @@ def get_account_with_http_info(id, opts = {}) # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) @@ -94,7 +94,7 @@ def get_account_with_http_info(id, opts = {}) # Get Accounts # Retrieve the account(s) associated with a given private API key. This will return 1 account object within the array. You can use this to retrieve account-specific data (contact information, timezone, currency, Public API key, etc.) or test if a Private API Key belongs to the correct account prior to performing subsequent actions with the API.

*Rate limits*:
Burst: `1/s`
Steady: `15/m` **Scopes:** `accounts:read` # @param [Hash] opts the optional parameters - # @option opts [Array] :fields_account For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :fields_account For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets # @return [Hash] def get_accounts(opts = {}) data, _status_code, _headers = get_accounts_with_http_info(opts) @@ -104,7 +104,7 @@ def get_accounts(opts = {}) # Get Accounts # Retrieve the account(s) associated with a given private API key. This will return 1 account object within the array. You can use this to retrieve account-specific data (contact information, timezone, currency, Public API key, etc.) or test if a Private API Key belongs to the correct account prior to performing subsequent actions with the API.<br><br>*Rate limits*:<br>Burst: `1/s`<br>Steady: `15/m` **Scopes:** `accounts:read` # @param [Hash] opts the optional parameters - # @option opts [Array] :fields_account For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :fields_account For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets # @return [Array<(Hash, Integer, Hash)>] Hash data, response status code and response headers def get_accounts_with_http_info(opts = {}) if @api_client.config.debugging @@ -124,7 +124,7 @@ def get_accounts_with_http_info(opts = {}) # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) diff --git a/lib/klaviyo-api-sdk/api/campaigns_api.rb b/lib/klaviyo-api-sdk/api/campaigns_api.rb index 3ef9b50..0237072 100644 --- a/lib/klaviyo-api-sdk/api/campaigns_api.rb +++ b/lib/klaviyo-api-sdk/api/campaigns_api.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 @@ -51,7 +51,7 @@ def create_campaign_with_http_info(campaign_create_query, opts = {}) # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' @@ -121,7 +121,7 @@ def create_campaign_clone_with_http_info(campaign_clone_query, opts = {}) # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' @@ -191,7 +191,7 @@ def create_campaign_message_assign_template_with_http_info(campaign_message_assi # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' @@ -261,7 +261,7 @@ def create_campaign_recipient_estimation_job_with_http_info(campaign_recipient_e # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' @@ -331,7 +331,7 @@ def create_campaign_send_job_with_http_info(campaign_send_job_create_query, opts # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' @@ -401,7 +401,7 @@ def delete_campaign_with_http_info(id, opts = {}) # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) @@ -438,10 +438,10 @@ def delete_campaign_with_http_info(id, opts = {}) # Returns a specific campaign based on a required id.

*Rate limits*:
Burst: `10/s`
Steady: `150/m` **Scopes:** `campaigns:read` # @param id [String] The campaign ID to be retrieved # @param [Hash] opts the optional parameters - # @option opts [Array] :fields_campaign_message For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [Array] :fields_campaign For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [Array] :fields_tag For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [Array] :include For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#relationships + # @option opts [Array] :fields_campaign_message For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :fields_campaign For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :fields_tag For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :include For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#relationships # @return [Hash] def get_campaign(id, opts = {}) data, _status_code, _headers = get_campaign_with_http_info(id, opts) @@ -452,10 +452,10 @@ def get_campaign(id, opts = {}) # Returns a specific campaign based on a required id.<br><br>*Rate limits*:<br>Burst: `10/s`<br>Steady: `150/m` **Scopes:** `campaigns:read` # @param id [String] The campaign ID to be retrieved # @param [Hash] opts the optional parameters - # @option opts [Array] :fields_campaign_message For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [Array] :fields_campaign For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [Array] :fields_tag For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [Array] :include For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#relationships + # @option opts [Array] :fields_campaign_message For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :fields_campaign For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :fields_tag For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :include For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#relationships # @return [Array<(Hash, Integer, Hash)>] Hash data, response status code and response headers def get_campaign_with_http_info(id, opts = {}) if @api_client.config.debugging @@ -494,7 +494,7 @@ def get_campaign_with_http_info(id, opts = {}) # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) @@ -531,10 +531,10 @@ def get_campaign_with_http_info(id, opts = {}) # Return all messages that belong to the given campaign.

*Rate limits*:
Burst: `10/s`
Steady: `150/m` **Scopes:** `campaigns:read` # @param id [String] # @param [Hash] opts the optional parameters - # @option opts [Array] :fields_campaign_message For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [Array] :fields_campaign For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [Array] :fields_template For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [Array] :include For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#relationships + # @option opts [Array] :fields_campaign_message For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :fields_campaign For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :fields_template For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :include For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#relationships # @return [Hash] def get_campaign_campaign_messages(id, opts = {}) data, _status_code, _headers = get_campaign_campaign_messages_with_http_info(id, opts) @@ -545,10 +545,10 @@ def get_campaign_campaign_messages(id, opts = {}) # Return all messages that belong to the given campaign.<br><br>*Rate limits*:<br>Burst: `10/s`<br>Steady: `150/m` **Scopes:** `campaigns:read` # @param id [String] # @param [Hash] opts the optional parameters - # @option opts [Array] :fields_campaign_message For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [Array] :fields_campaign For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [Array] :fields_template For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [Array] :include For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#relationships + # @option opts [Array] :fields_campaign_message For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :fields_campaign For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :fields_template For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :include For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#relationships # @return [Array<(Hash, Integer, Hash)>] Hash data, response status code and response headers def get_campaign_campaign_messages_with_http_info(id, opts = {}) if @api_client.config.debugging @@ -587,7 +587,7 @@ def get_campaign_campaign_messages_with_http_info(id, opts = {}) # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) @@ -624,10 +624,10 @@ def get_campaign_campaign_messages_with_http_info(id, opts = {}) # Returns a specific message based on a required id.

*Rate limits*:
Burst: `10/s`
Steady: `150/m` **Scopes:** `campaigns:read` # @param id [String] The message ID to be retrieved # @param [Hash] opts the optional parameters - # @option opts [Array] :fields_campaign_message For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [Array] :fields_campaign For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [Array] :fields_template For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [Array] :include For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#relationships + # @option opts [Array] :fields_campaign_message For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :fields_campaign For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :fields_template For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :include For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#relationships # @return [Hash] def get_campaign_message(id, opts = {}) data, _status_code, _headers = get_campaign_message_with_http_info(id, opts) @@ -638,10 +638,10 @@ def get_campaign_message(id, opts = {}) # Returns a specific message based on a required id.<br><br>*Rate limits*:<br>Burst: `10/s`<br>Steady: `150/m` **Scopes:** `campaigns:read` # @param id [String] The message ID to be retrieved # @param [Hash] opts the optional parameters - # @option opts [Array] :fields_campaign_message For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [Array] :fields_campaign For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [Array] :fields_template For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [Array] :include For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#relationships + # @option opts [Array] :fields_campaign_message For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :fields_campaign For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :fields_template For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :include For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#relationships # @return [Array<(Hash, Integer, Hash)>] Hash data, response status code and response headers def get_campaign_message_with_http_info(id, opts = {}) if @api_client.config.debugging @@ -680,7 +680,7 @@ def get_campaign_message_with_http_info(id, opts = {}) # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) @@ -717,7 +717,7 @@ def get_campaign_message_with_http_info(id, opts = {}) # Return the related campaign

*Rate limits*:
Burst: `10/s`
Steady: `150/m` **Scopes:** `campaigns:read` # @param id [String] # @param [Hash] opts the optional parameters - # @option opts [Array] :fields_campaign For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :fields_campaign For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets # @return [Hash] def get_campaign_message_campaign(id, opts = {}) data, _status_code, _headers = get_campaign_message_campaign_with_http_info(id, opts) @@ -728,7 +728,7 @@ def get_campaign_message_campaign(id, opts = {}) # Return the related campaign<br><br>*Rate limits*:<br>Burst: `10/s`<br>Steady: `150/m` **Scopes:** `campaigns:read` # @param id [String] # @param [Hash] opts the optional parameters - # @option opts [Array] :fields_campaign For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :fields_campaign For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets # @return [Array<(Hash, Integer, Hash)>] Hash data, response status code and response headers def get_campaign_message_campaign_with_http_info(id, opts = {}) if @api_client.config.debugging @@ -752,7 +752,7 @@ def get_campaign_message_campaign_with_http_info(id, opts = {}) # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) @@ -817,7 +817,7 @@ def get_campaign_message_relationships_campaign_with_http_info(id, opts = {}) # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) @@ -882,7 +882,7 @@ def get_campaign_message_relationships_template_with_http_info(id, opts = {}) # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) @@ -919,7 +919,7 @@ def get_campaign_message_relationships_template_with_http_info(id, opts = {}) # Return the related template

*Rate limits*:
Burst: `10/s`
Steady: `150/m` **Scopes:** `campaigns:read` `templates:read` # @param id [String] # @param [Hash] opts the optional parameters - # @option opts [Array] :fields_template For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :fields_template For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets # @return [Hash] def get_campaign_message_template(id, opts = {}) data, _status_code, _headers = get_campaign_message_template_with_http_info(id, opts) @@ -930,7 +930,7 @@ def get_campaign_message_template(id, opts = {}) # Return the related template<br><br>*Rate limits*:<br>Burst: `10/s`<br>Steady: `150/m` **Scopes:** `campaigns:read` `templates:read` # @param id [String] # @param [Hash] opts the optional parameters - # @option opts [Array] :fields_template For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :fields_template For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets # @return [Array<(Hash, Integer, Hash)>] Hash data, response status code and response headers def get_campaign_message_template_with_http_info(id, opts = {}) if @api_client.config.debugging @@ -954,7 +954,7 @@ def get_campaign_message_template_with_http_info(id, opts = {}) # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) @@ -991,7 +991,7 @@ def get_campaign_message_template_with_http_info(id, opts = {}) # Get the estimated recipient count for a campaign with the provided campaign ID. You can refresh this count by using the `Create Campaign Recipient Estimation Job` endpoint.

*Rate limits*:
Burst: `10/s`
Steady: `150/m` **Scopes:** `campaigns:read` # @param id [String] The ID of the campaign for which to get the estimated number of recipients # @param [Hash] opts the optional parameters - # @option opts [Array] :fields_campaign_recipient_estimation For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :fields_campaign_recipient_estimation For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets # @return [Hash] def get_campaign_recipient_estimation(id, opts = {}) data, _status_code, _headers = get_campaign_recipient_estimation_with_http_info(id, opts) @@ -1002,7 +1002,7 @@ def get_campaign_recipient_estimation(id, opts = {}) # Get the estimated recipient count for a campaign with the provided campaign ID. You can refresh this count by using the `Create Campaign Recipient Estimation Job` endpoint.<br><br>*Rate limits*:<br>Burst: `10/s`<br>Steady: `150/m` **Scopes:** `campaigns:read` # @param id [String] The ID of the campaign for which to get the estimated number of recipients # @param [Hash] opts the optional parameters - # @option opts [Array] :fields_campaign_recipient_estimation For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :fields_campaign_recipient_estimation For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets # @return [Array<(Hash, Integer, Hash)>] Hash data, response status code and response headers def get_campaign_recipient_estimation_with_http_info(id, opts = {}) if @api_client.config.debugging @@ -1026,7 +1026,7 @@ def get_campaign_recipient_estimation_with_http_info(id, opts = {}) # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) @@ -1063,7 +1063,7 @@ def get_campaign_recipient_estimation_with_http_info(id, opts = {}) # Retrieve the status of a recipient estimation job triggered with the `Create Campaign Recipient Estimation Job` endpoint.

*Rate limits*:
Burst: `10/s`
Steady: `150/m` **Scopes:** `campaigns:read` # @param id [String] The ID of the campaign to get recipient estimation status # @param [Hash] opts the optional parameters - # @option opts [Array] :fields_campaign_recipient_estimation_job For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :fields_campaign_recipient_estimation_job For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets # @return [Hash] def get_campaign_recipient_estimation_job(id, opts = {}) data, _status_code, _headers = get_campaign_recipient_estimation_job_with_http_info(id, opts) @@ -1074,7 +1074,7 @@ def get_campaign_recipient_estimation_job(id, opts = {}) # Retrieve the status of a recipient estimation job triggered with the `Create Campaign Recipient Estimation Job` endpoint.<br><br>*Rate limits*:<br>Burst: `10/s`<br>Steady: `150/m` **Scopes:** `campaigns:read` # @param id [String] The ID of the campaign to get recipient estimation status # @param [Hash] opts the optional parameters - # @option opts [Array] :fields_campaign_recipient_estimation_job For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :fields_campaign_recipient_estimation_job For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets # @return [Array<(Hash, Integer, Hash)>] Hash data, response status code and response headers def get_campaign_recipient_estimation_job_with_http_info(id, opts = {}) if @api_client.config.debugging @@ -1098,7 +1098,7 @@ def get_campaign_recipient_estimation_job_with_http_info(id, opts = {}) # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) @@ -1163,7 +1163,7 @@ def get_campaign_relationships_campaign_messages_with_http_info(id, opts = {}) # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) @@ -1228,7 +1228,7 @@ def get_campaign_relationships_tags_with_http_info(id, opts = {}) # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) @@ -1265,7 +1265,7 @@ def get_campaign_relationships_tags_with_http_info(id, opts = {}) # Get a campaign send job

*Rate limits*:
Burst: `10/s`
Steady: `150/m` **Scopes:** `campaigns:read` # @param id [String] The ID of the campaign to send # @param [Hash] opts the optional parameters - # @option opts [Array] :fields_campaign_send_job For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :fields_campaign_send_job For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets # @return [Hash] def get_campaign_send_job(id, opts = {}) data, _status_code, _headers = get_campaign_send_job_with_http_info(id, opts) @@ -1276,7 +1276,7 @@ def get_campaign_send_job(id, opts = {}) # Get a campaign send job<br><br>*Rate limits*:<br>Burst: `10/s`<br>Steady: `150/m` **Scopes:** `campaigns:read` # @param id [String] The ID of the campaign to send # @param [Hash] opts the optional parameters - # @option opts [Array] :fields_campaign_send_job For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :fields_campaign_send_job For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets # @return [Array<(Hash, Integer, Hash)>] Hash data, response status code and response headers def get_campaign_send_job_with_http_info(id, opts = {}) if @api_client.config.debugging @@ -1300,7 +1300,7 @@ def get_campaign_send_job_with_http_info(id, opts = {}) # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) @@ -1337,7 +1337,7 @@ def get_campaign_send_job_with_http_info(id, opts = {}) # Return all tags that belong to the given campaign.

*Rate limits*:
Burst: `3/s`
Steady: `60/m` **Scopes:** `campaigns:read` `tags:read` # @param id [String] # @param [Hash] opts the optional parameters - # @option opts [Array] :fields_tag For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :fields_tag For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets # @return [Hash] def get_campaign_tags(id, opts = {}) data, _status_code, _headers = get_campaign_tags_with_http_info(id, opts) @@ -1348,7 +1348,7 @@ def get_campaign_tags(id, opts = {}) # Return all tags that belong to the given campaign.<br><br>*Rate limits*:<br>Burst: `3/s`<br>Steady: `60/m` **Scopes:** `campaigns:read` `tags:read` # @param id [String] # @param [Hash] opts the optional parameters - # @option opts [Array] :fields_tag For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :fields_tag For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets # @return [Array<(Hash, Integer, Hash)>] Hash data, response status code and response headers def get_campaign_tags_with_http_info(id, opts = {}) if @api_client.config.debugging @@ -1372,7 +1372,7 @@ def get_campaign_tags_with_http_info(id, opts = {}) # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) @@ -1407,14 +1407,14 @@ def get_campaign_tags_with_http_info(id, opts = {}) # Get Campaigns # Returns some or all campaigns based on filters. A channel filter is required to list campaigns. Please provide either: `?filter=equals(messages.channel,'email')` to list email campaigns, or `?filter=equals(messages.channel,'sms')` to list SMS campaigns.

*Rate limits*:
Burst: `10/s`
Steady: `150/m` **Scopes:** `campaigns:read` - # @param filter [String] For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`messages.channel`: `equals`<br>`name`: `contains`<br>`status`: `any`, `equals`<br>`archived`: `equals`<br>`created_at`: `greater-or-equal`, `greater-than`, `less-or-equal`, `less-than`<br>`scheduled_at`: `greater-or-equal`, `greater-than`, `less-or-equal`, `less-than`<br>`updated_at`: `greater-or-equal`, `greater-than`, `less-or-equal`, `less-than` + # @param 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>`messages.channel`: `equals`<br>`name`: `contains`<br>`status`: `any`, `equals`<br>`archived`: `equals`<br>`created_at`: `greater-or-equal`, `greater-than`, `less-or-equal`, `less-than`<br>`scheduled_at`: `greater-or-equal`, `greater-than`, `less-or-equal`, `less-than`<br>`updated_at`: `greater-or-equal`, `greater-than`, `less-or-equal`, `less-than` # @param [Hash] opts the optional parameters - # @option opts [Array] :fields_campaign_message For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [Array] :fields_campaign For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [Array] :fields_tag For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [Array] :include For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#relationships - # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#pagination - # @option opts [String] :sort For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sorting + # @option opts [Array] :fields_campaign_message For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :fields_campaign For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :fields_tag For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :include For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#relationships + # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#pagination + # @option opts [String] :sort For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sorting # @return [Hash] def get_campaigns(filter, opts = {}) data, _status_code, _headers = get_campaigns_with_http_info(filter, opts) @@ -1423,14 +1423,14 @@ def get_campaigns(filter, opts = {}) # Get Campaigns # Returns some or all campaigns based on filters. A channel filter is required to list campaigns. Please provide either: `?filter=equals(messages.channel,'email')` to list email campaigns, or `?filter=equals(messages.channel,'sms')` to list SMS campaigns.<br><br>*Rate limits*:<br>Burst: `10/s`<br>Steady: `150/m` **Scopes:** `campaigns:read` - # @param filter [String] For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`messages.channel`: `equals`<br>`name`: `contains`<br>`status`: `any`, `equals`<br>`archived`: `equals`<br>`created_at`: `greater-or-equal`, `greater-than`, `less-or-equal`, `less-than`<br>`scheduled_at`: `greater-or-equal`, `greater-than`, `less-or-equal`, `less-than`<br>`updated_at`: `greater-or-equal`, `greater-than`, `less-or-equal`, `less-than` + # @param 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>`messages.channel`: `equals`<br>`name`: `contains`<br>`status`: `any`, `equals`<br>`archived`: `equals`<br>`created_at`: `greater-or-equal`, `greater-than`, `less-or-equal`, `less-than`<br>`scheduled_at`: `greater-or-equal`, `greater-than`, `less-or-equal`, `less-than`<br>`updated_at`: `greater-or-equal`, `greater-than`, `less-or-equal`, `less-than` # @param [Hash] opts the optional parameters - # @option opts [Array] :fields_campaign_message For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [Array] :fields_campaign For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [Array] :fields_tag For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [Array] :include For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#relationships - # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#pagination - # @option opts [String] :sort For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sorting + # @option opts [Array] :fields_campaign_message For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :fields_campaign For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :fields_tag For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :include For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#relationships + # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#pagination + # @option opts [String] :sort For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sorting # @return [Array<(Hash, Integer, Hash)>] Hash data, response status code and response headers def get_campaigns_with_http_info(filter, opts = {}) if @api_client.config.debugging @@ -1476,7 +1476,7 @@ def get_campaigns_with_http_info(filter, opts = {}) # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) @@ -1547,7 +1547,7 @@ def update_campaign_with_http_info(id, campaign_partial_update_query, opts = {}) # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' @@ -1623,7 +1623,7 @@ def update_campaign_message_with_http_info(id, campaign_message_partial_update_q # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' @@ -1699,7 +1699,7 @@ def update_campaign_send_job_with_http_info(id, campaign_send_job_partial_update # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' diff --git a/lib/klaviyo-api-sdk/api/catalogs_api.rb b/lib/klaviyo-api-sdk/api/catalogs_api.rb index 6fa993a..6a56bb0 100644 --- a/lib/klaviyo-api-sdk/api/catalogs_api.rb +++ b/lib/klaviyo-api-sdk/api/catalogs_api.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 @@ -51,7 +51,7 @@ def create_back_in_stock_subscription_with_http_info(server_bis_subscription_cre # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' @@ -121,7 +121,7 @@ def create_catalog_category_with_http_info(catalog_category_create_query, opts = # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' @@ -197,7 +197,7 @@ def create_catalog_category_relationships_items_with_http_info(id, catalog_categ # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' @@ -267,7 +267,7 @@ def create_catalog_item_with_http_info(catalog_item_create_query, opts = {}) # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' @@ -343,7 +343,7 @@ def create_catalog_item_relationships_categories_with_http_info(id, catalog_item # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' @@ -413,7 +413,7 @@ def create_catalog_variant_with_http_info(catalog_variant_create_query, opts = { # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' @@ -483,7 +483,7 @@ def delete_catalog_category_with_http_info(id, opts = {}) # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) @@ -554,7 +554,7 @@ def delete_catalog_category_relationships_items_with_http_info(id, catalog_categ # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' @@ -624,7 +624,7 @@ def delete_catalog_item_with_http_info(id, opts = {}) # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) @@ -695,7 +695,7 @@ def delete_catalog_item_relationships_categories_with_http_info(id, catalog_item # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' @@ -765,7 +765,7 @@ def delete_catalog_variant_with_http_info(id, opts = {}) # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) @@ -801,10 +801,10 @@ def delete_catalog_variant_with_http_info(id, opts = {}) # Get Catalog Categories # Get all catalog categories in an account. Catalog categories can be sorted by the following fields, in ascending and descending order: `created` Currently, the only supported integration type is `$custom`, and the only supported catalog type is `$default`. Returns a maximum of 100 categories per request.

*Rate limits*:
Burst: `350/s`
Steady: `3500/m` **Scopes:** `catalogs:read` # @param [Hash] opts the optional parameters - # @option opts [Array] :fields_catalog_category For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`ids`: `any`<br>`item.id`: `equals`<br>`name`: `contains` - # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#pagination - # @option opts [String] :sort For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sorting + # @option opts [Array] :fields_catalog_category For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`ids`: `any`<br>`item.id`: `equals`<br>`name`: `contains` + # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#pagination + # @option opts [String] :sort For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sorting # @return [Hash] def get_catalog_categories(opts = {}) data, _status_code, _headers = get_catalog_categories_with_http_info(opts) @@ -814,10 +814,10 @@ def get_catalog_categories(opts = {}) # Get Catalog Categories # Get all catalog categories in an account. Catalog categories can be sorted by the following fields, in ascending and descending order: `created` Currently, the only supported integration type is `$custom`, and the only supported catalog type is `$default`. Returns a maximum of 100 categories per request.<br><br>*Rate limits*:<br>Burst: `350/s`<br>Steady: `3500/m` **Scopes:** `catalogs:read` # @param [Hash] opts the optional parameters - # @option opts [Array] :fields_catalog_category For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`ids`: `any`<br>`item.id`: `equals`<br>`name`: `contains` - # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#pagination - # @option opts [String] :sort For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sorting + # @option opts [Array] :fields_catalog_category For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`ids`: `any`<br>`item.id`: `equals`<br>`name`: `contains` + # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#pagination + # @option opts [String] :sort For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sorting # @return [Array<(Hash, Integer, Hash)>] Hash data, response status code and response headers def get_catalog_categories_with_http_info(opts = {}) if @api_client.config.debugging @@ -844,7 +844,7 @@ def get_catalog_categories_with_http_info(opts = {}) # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) @@ -881,7 +881,7 @@ def get_catalog_categories_with_http_info(opts = {}) # Get a catalog category with the given category ID.

*Rate limits*:
Burst: `350/s`
Steady: `3500/m` **Scopes:** `catalogs:read` # @param id [String] The catalog category ID is a compound ID (string), with format: `{integration}:::{catalog}:::{external_id}`. Currently, the only supported integration type is `$custom`, and the only supported catalog is `$default`. # @param [Hash] opts the optional parameters - # @option opts [Array] :fields_catalog_category For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :fields_catalog_category For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets # @return [Hash] def get_catalog_category(id, opts = {}) data, _status_code, _headers = get_catalog_category_with_http_info(id, opts) @@ -892,7 +892,7 @@ def get_catalog_category(id, opts = {}) # Get a catalog category with the given category ID.<br><br>*Rate limits*:<br>Burst: `350/s`<br>Steady: `3500/m` **Scopes:** `catalogs:read` # @param id [String] The catalog category ID is a compound ID (string), with format: `{integration}:::{catalog}:::{external_id}`. Currently, the only supported integration type is `$custom`, and the only supported catalog is `$default`. # @param [Hash] opts the optional parameters - # @option opts [Array] :fields_catalog_category For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :fields_catalog_category For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets # @return [Array<(Hash, Integer, Hash)>] Hash data, response status code and response headers def get_catalog_category_with_http_info(id, opts = {}) if @api_client.config.debugging @@ -916,7 +916,7 @@ def get_catalog_category_with_http_info(id, opts = {}) # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) @@ -953,12 +953,12 @@ def get_catalog_category_with_http_info(id, opts = {}) # Get all items in a category with the given category ID. Items can be sorted by the following fields, in ascending and descending order: `created` Returns a maximum of 100 items per request.

*Rate limits*:
Burst: `350/s`
Steady: `3500/m` **Scopes:** `catalogs:read` # @param id [String] # @param [Hash] opts the optional parameters - # @option opts [Array] :fields_catalog_item For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [Array] :fields_catalog_variant For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`ids`: `any`<br>`category.id`: `equals`<br>`title`: `contains`<br>`published`: `equals` - # @option opts [Array] :include For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#relationships - # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#pagination - # @option opts [String] :sort For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sorting + # @option opts [Array] :fields_catalog_item For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :fields_catalog_variant For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`ids`: `any`<br>`category.id`: `equals`<br>`title`: `contains`<br>`published`: `equals` + # @option opts [Array] :include For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#relationships + # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#pagination + # @option opts [String] :sort For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sorting # @return [Hash] def get_catalog_category_items(id, opts = {}) data, _status_code, _headers = get_catalog_category_items_with_http_info(id, opts) @@ -969,12 +969,12 @@ def get_catalog_category_items(id, opts = {}) # Get all items in a category with the given category ID. Items can be sorted by the following fields, in ascending and descending order: `created` Returns a maximum of 100 items per request.<br><br>*Rate limits*:<br>Burst: `350/s`<br>Steady: `3500/m` **Scopes:** `catalogs:read` # @param id [String] # @param [Hash] opts the optional parameters - # @option opts [Array] :fields_catalog_item For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [Array] :fields_catalog_variant For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`ids`: `any`<br>`category.id`: `equals`<br>`title`: `contains`<br>`published`: `equals` - # @option opts [Array] :include For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#relationships - # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#pagination - # @option opts [String] :sort For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sorting + # @option opts [Array] :fields_catalog_item For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :fields_catalog_variant For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`ids`: `any`<br>`category.id`: `equals`<br>`title`: `contains`<br>`published`: `equals` + # @option opts [Array] :include For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#relationships + # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#pagination + # @option opts [String] :sort For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sorting # @return [Array<(Hash, Integer, Hash)>] Hash data, response status code and response headers def get_catalog_category_items_with_http_info(id, opts = {}) if @api_client.config.debugging @@ -1015,7 +1015,7 @@ def get_catalog_category_items_with_http_info(id, opts = {}) # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) @@ -1052,7 +1052,7 @@ def get_catalog_category_items_with_http_info(id, opts = {}) # Get all items in the given category ID. Returns a maximum of 100 items per request.

*Rate limits*:
Burst: `350/s`
Steady: `3500/m` **Scopes:** `catalogs:read` # @param id [String] # @param [Hash] opts the optional parameters - # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#pagination + # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#pagination # @return [Hash] def get_catalog_category_relationships_items(id, opts = {}) data, _status_code, _headers = get_catalog_category_relationships_items_with_http_info(id, opts) @@ -1063,7 +1063,7 @@ def get_catalog_category_relationships_items(id, opts = {}) # Get all items in the given category ID. Returns a maximum of 100 items per request.<br><br>*Rate limits*:<br>Burst: `350/s`<br>Steady: `3500/m` **Scopes:** `catalogs:read` # @param id [String] # @param [Hash] opts the optional parameters - # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#pagination + # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#pagination # @return [Array<(Hash, Integer, Hash)>] Hash data, response status code and response headers def get_catalog_category_relationships_items_with_http_info(id, opts = {}) if @api_client.config.debugging @@ -1083,7 +1083,7 @@ def get_catalog_category_relationships_items_with_http_info(id, opts = {}) # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) @@ -1120,9 +1120,9 @@ def get_catalog_category_relationships_items_with_http_info(id, opts = {}) # Get a specific catalog item with the given item ID.

*Rate limits*:
Burst: `350/s`
Steady: `3500/m` **Scopes:** `catalogs:read` # @param id [String] The catalog item ID is a compound ID (string), with format: `{integration}:::{catalog}:::{external_id}`. Currently, the only supported integration type is `$custom`, and the only supported catalog is `$default`. # @param [Hash] opts the optional parameters - # @option opts [Array] :fields_catalog_item For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [Array] :fields_catalog_variant For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [Array] :include For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#relationships + # @option opts [Array] :fields_catalog_item For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :fields_catalog_variant For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :include For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#relationships # @return [Hash] def get_catalog_item(id, opts = {}) data, _status_code, _headers = get_catalog_item_with_http_info(id, opts) @@ -1133,9 +1133,9 @@ def get_catalog_item(id, opts = {}) # Get a specific catalog item with the given item ID.<br><br>*Rate limits*:<br>Burst: `350/s`<br>Steady: `3500/m` **Scopes:** `catalogs:read` # @param id [String] The catalog item ID is a compound ID (string), with format: `{integration}:::{catalog}:::{external_id}`. Currently, the only supported integration type is `$custom`, and the only supported catalog is `$default`. # @param [Hash] opts the optional parameters - # @option opts [Array] :fields_catalog_item For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [Array] :fields_catalog_variant For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [Array] :include For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#relationships + # @option opts [Array] :fields_catalog_item For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :fields_catalog_variant For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :include For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#relationships # @return [Array<(Hash, Integer, Hash)>] Hash data, response status code and response headers def get_catalog_item_with_http_info(id, opts = {}) if @api_client.config.debugging @@ -1169,7 +1169,7 @@ def get_catalog_item_with_http_info(id, opts = {}) # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) @@ -1206,10 +1206,10 @@ def get_catalog_item_with_http_info(id, opts = {}) # Get all catalog categories that an item with the given item ID is in. Catalog categories can be sorted by the following fields, in ascending and descending order: `created` Returns a maximum of 100 categories per request.

*Rate limits*:
Burst: `350/s`
Steady: `3500/m` **Scopes:** `catalogs:read` # @param id [String] # @param [Hash] opts the optional parameters - # @option opts [Array] :fields_catalog_category For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`ids`: `any`<br>`item.id`: `equals`<br>`name`: `contains` - # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#pagination - # @option opts [String] :sort For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sorting + # @option opts [Array] :fields_catalog_category For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`ids`: `any`<br>`item.id`: `equals`<br>`name`: `contains` + # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#pagination + # @option opts [String] :sort For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sorting # @return [Hash] def get_catalog_item_categories(id, opts = {}) data, _status_code, _headers = get_catalog_item_categories_with_http_info(id, opts) @@ -1220,10 +1220,10 @@ def get_catalog_item_categories(id, opts = {}) # Get all catalog categories that an item with the given item ID is in. Catalog categories can be sorted by the following fields, in ascending and descending order: `created` Returns a maximum of 100 categories per request.<br><br>*Rate limits*:<br>Burst: `350/s`<br>Steady: `3500/m` **Scopes:** `catalogs:read` # @param id [String] # @param [Hash] opts the optional parameters - # @option opts [Array] :fields_catalog_category For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`ids`: `any`<br>`item.id`: `equals`<br>`name`: `contains` - # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#pagination - # @option opts [String] :sort For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sorting + # @option opts [Array] :fields_catalog_category For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`ids`: `any`<br>`item.id`: `equals`<br>`name`: `contains` + # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#pagination + # @option opts [String] :sort For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sorting # @return [Array<(Hash, Integer, Hash)>] Hash data, response status code and response headers def get_catalog_item_categories_with_http_info(id, opts = {}) if @api_client.config.debugging @@ -1254,7 +1254,7 @@ def get_catalog_item_categories_with_http_info(id, opts = {}) # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) @@ -1291,7 +1291,7 @@ def get_catalog_item_categories_with_http_info(id, opts = {}) # Get all catalog categories that a particular item is in. Returns a maximum of 100 categories per request.

*Rate limits*:
Burst: `350/s`
Steady: `3500/m` **Scopes:** `catalogs:read` # @param id [String] # @param [Hash] opts the optional parameters - # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#pagination + # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#pagination # @return [Hash] def get_catalog_item_relationships_categories(id, opts = {}) data, _status_code, _headers = get_catalog_item_relationships_categories_with_http_info(id, opts) @@ -1302,7 +1302,7 @@ def get_catalog_item_relationships_categories(id, opts = {}) # Get all catalog categories that a particular item is in. Returns a maximum of 100 categories per request.<br><br>*Rate limits*:<br>Burst: `350/s`<br>Steady: `3500/m` **Scopes:** `catalogs:read` # @param id [String] # @param [Hash] opts the optional parameters - # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#pagination + # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#pagination # @return [Array<(Hash, Integer, Hash)>] Hash data, response status code and response headers def get_catalog_item_relationships_categories_with_http_info(id, opts = {}) if @api_client.config.debugging @@ -1322,7 +1322,7 @@ def get_catalog_item_relationships_categories_with_http_info(id, opts = {}) # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) @@ -1359,10 +1359,10 @@ def get_catalog_item_relationships_categories_with_http_info(id, opts = {}) # Get all variants related to the given item ID. Variants can be sorted by the following fields, in ascending and descending order: `created` Returns a maximum of 100 variants per request.

*Rate limits*:
Burst: `350/s`
Steady: `3500/m` **Scopes:** `catalogs:read` # @param id [String] # @param [Hash] opts the optional parameters - # @option opts [Array] :fields_catalog_variant For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`ids`: `any`<br>`item.id`: `equals`<br>`sku`: `equals`<br>`title`: `contains`<br>`published`: `equals` - # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#pagination - # @option opts [String] :sort For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sorting + # @option opts [Array] :fields_catalog_variant For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`ids`: `any`<br>`item.id`: `equals`<br>`sku`: `equals`<br>`title`: `contains`<br>`published`: `equals` + # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#pagination + # @option opts [String] :sort For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sorting # @return [Hash] def get_catalog_item_variants(id, opts = {}) data, _status_code, _headers = get_catalog_item_variants_with_http_info(id, opts) @@ -1373,10 +1373,10 @@ def get_catalog_item_variants(id, opts = {}) # Get all variants related to the given item ID. Variants can be sorted by the following fields, in ascending and descending order: `created` Returns a maximum of 100 variants per request.<br><br>*Rate limits*:<br>Burst: `350/s`<br>Steady: `3500/m` **Scopes:** `catalogs:read` # @param id [String] # @param [Hash] opts the optional parameters - # @option opts [Array] :fields_catalog_variant For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`ids`: `any`<br>`item.id`: `equals`<br>`sku`: `equals`<br>`title`: `contains`<br>`published`: `equals` - # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#pagination - # @option opts [String] :sort For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sorting + # @option opts [Array] :fields_catalog_variant For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`ids`: `any`<br>`item.id`: `equals`<br>`sku`: `equals`<br>`title`: `contains`<br>`published`: `equals` + # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#pagination + # @option opts [String] :sort For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sorting # @return [Array<(Hash, Integer, Hash)>] Hash data, response status code and response headers def get_catalog_item_variants_with_http_info(id, opts = {}) if @api_client.config.debugging @@ -1407,7 +1407,7 @@ def get_catalog_item_variants_with_http_info(id, opts = {}) # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) @@ -1443,12 +1443,12 @@ def get_catalog_item_variants_with_http_info(id, opts = {}) # Get Catalog Items # Get all catalog items in an account. Catalog items can be sorted by the following fields, in ascending and descending order: `created` Currently, the only supported integration type is `$custom`, and the only supported catalog type is `$default`. Returns a maximum of 100 items per request.

*Rate limits*:
Burst: `350/s`
Steady: `3500/m` **Scopes:** `catalogs:read` # @param [Hash] opts the optional parameters - # @option opts [Array] :fields_catalog_item For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [Array] :fields_catalog_variant For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`ids`: `any`<br>`category.id`: `equals`<br>`title`: `contains`<br>`published`: `equals` - # @option opts [Array] :include For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#relationships - # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#pagination - # @option opts [String] :sort For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sorting + # @option opts [Array] :fields_catalog_item For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :fields_catalog_variant For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`ids`: `any`<br>`category.id`: `equals`<br>`title`: `contains`<br>`published`: `equals` + # @option opts [Array] :include For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#relationships + # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#pagination + # @option opts [String] :sort For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sorting # @return [Hash] def get_catalog_items(opts = {}) data, _status_code, _headers = get_catalog_items_with_http_info(opts) @@ -1458,12 +1458,12 @@ def get_catalog_items(opts = {}) # Get Catalog Items # Get all catalog items in an account. Catalog items can be sorted by the following fields, in ascending and descending order: `created` Currently, the only supported integration type is `$custom`, and the only supported catalog type is `$default`. Returns a maximum of 100 items per request.<br><br>*Rate limits*:<br>Burst: `350/s`<br>Steady: `3500/m` **Scopes:** `catalogs:read` # @param [Hash] opts the optional parameters - # @option opts [Array] :fields_catalog_item For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [Array] :fields_catalog_variant For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`ids`: `any`<br>`category.id`: `equals`<br>`title`: `contains`<br>`published`: `equals` - # @option opts [Array] :include For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#relationships - # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#pagination - # @option opts [String] :sort For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sorting + # @option opts [Array] :fields_catalog_item For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :fields_catalog_variant For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`ids`: `any`<br>`category.id`: `equals`<br>`title`: `contains`<br>`published`: `equals` + # @option opts [Array] :include For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#relationships + # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#pagination + # @option opts [String] :sort For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sorting # @return [Array<(Hash, Integer, Hash)>] Hash data, response status code and response headers def get_catalog_items_with_http_info(opts = {}) if @api_client.config.debugging @@ -1500,7 +1500,7 @@ def get_catalog_items_with_http_info(opts = {}) # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) @@ -1537,7 +1537,7 @@ def get_catalog_items_with_http_info(opts = {}) # Get a catalog item variant with the given variant ID.

*Rate limits*:
Burst: `350/s`
Steady: `3500/m` **Scopes:** `catalogs:read` # @param id [String] The catalog variant ID is a compound ID (string), with format: `{integration}:::{catalog}:::{external_id}`. Currently, the only supported integration type is `$custom`, and the only supported catalog is `$default`. # @param [Hash] opts the optional parameters - # @option opts [Array] :fields_catalog_variant For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :fields_catalog_variant For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets # @return [Hash] def get_catalog_variant(id, opts = {}) data, _status_code, _headers = get_catalog_variant_with_http_info(id, opts) @@ -1548,7 +1548,7 @@ def get_catalog_variant(id, opts = {}) # Get a catalog item variant with the given variant ID.<br><br>*Rate limits*:<br>Burst: `350/s`<br>Steady: `3500/m` **Scopes:** `catalogs:read` # @param id [String] The catalog variant ID is a compound ID (string), with format: `{integration}:::{catalog}:::{external_id}`. Currently, the only supported integration type is `$custom`, and the only supported catalog is `$default`. # @param [Hash] opts the optional parameters - # @option opts [Array] :fields_catalog_variant For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :fields_catalog_variant For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets # @return [Array<(Hash, Integer, Hash)>] Hash data, response status code and response headers def get_catalog_variant_with_http_info(id, opts = {}) if @api_client.config.debugging @@ -1572,7 +1572,7 @@ def get_catalog_variant_with_http_info(id, opts = {}) # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) @@ -1608,10 +1608,10 @@ def get_catalog_variant_with_http_info(id, opts = {}) # Get Catalog Variants # Get all variants in an account. Variants can be sorted by the following fields, in ascending and descending order: `created` Currently, the only supported integration type is `$custom`, and the only supported catalog type is `$default`. Returns a maximum of 100 variants per request.

*Rate limits*:
Burst: `350/s`
Steady: `3500/m` **Scopes:** `catalogs:read` # @param [Hash] opts the optional parameters - # @option opts [Array] :fields_catalog_variant For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`ids`: `any`<br>`item.id`: `equals`<br>`sku`: `equals`<br>`title`: `contains`<br>`published`: `equals` - # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#pagination - # @option opts [String] :sort For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sorting + # @option opts [Array] :fields_catalog_variant For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`ids`: `any`<br>`item.id`: `equals`<br>`sku`: `equals`<br>`title`: `contains`<br>`published`: `equals` + # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#pagination + # @option opts [String] :sort For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sorting # @return [Hash] def get_catalog_variants(opts = {}) data, _status_code, _headers = get_catalog_variants_with_http_info(opts) @@ -1621,10 +1621,10 @@ def get_catalog_variants(opts = {}) # Get Catalog Variants # Get all variants in an account. Variants can be sorted by the following fields, in ascending and descending order: `created` Currently, the only supported integration type is `$custom`, and the only supported catalog type is `$default`. Returns a maximum of 100 variants per request.<br><br>*Rate limits*:<br>Burst: `350/s`<br>Steady: `3500/m` **Scopes:** `catalogs:read` # @param [Hash] opts the optional parameters - # @option opts [Array] :fields_catalog_variant For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`ids`: `any`<br>`item.id`: `equals`<br>`sku`: `equals`<br>`title`: `contains`<br>`published`: `equals` - # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#pagination - # @option opts [String] :sort For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sorting + # @option opts [Array] :fields_catalog_variant For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`ids`: `any`<br>`item.id`: `equals`<br>`sku`: `equals`<br>`title`: `contains`<br>`published`: `equals` + # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#pagination + # @option opts [String] :sort For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sorting # @return [Array<(Hash, Integer, Hash)>] Hash data, response status code and response headers def get_catalog_variants_with_http_info(opts = {}) if @api_client.config.debugging @@ -1651,7 +1651,7 @@ def get_catalog_variants_with_http_info(opts = {}) # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) @@ -1688,9 +1688,9 @@ def get_catalog_variants_with_http_info(opts = {}) # Get a catalog category bulk create job with the given job ID. An `include` parameter can be provided to get the following related resource data: `categories`.

*Rate limits*:
Burst: `350/s`
Steady: `3500/m` **Scopes:** `catalogs:read` # @param job_id [String] ID of the job to retrieve. # @param [Hash] opts the optional parameters - # @option opts [Array] :fields_catalog_category_bulk_create_job For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [Array] :fields_catalog_category For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [Array] :include For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#relationships + # @option opts [Array] :fields_catalog_category_bulk_create_job For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :fields_catalog_category For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :include For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#relationships # @return [Hash] def get_create_categories_job(job_id, opts = {}) data, _status_code, _headers = get_create_categories_job_with_http_info(job_id, opts) @@ -1701,9 +1701,9 @@ def get_create_categories_job(job_id, opts = {}) # Get a catalog category bulk create job with the given job ID. An `include` parameter can be provided to get the following related resource data: `categories`.<br><br>*Rate limits*:<br>Burst: `350/s`<br>Steady: `3500/m` **Scopes:** `catalogs:read` # @param job_id [String] ID of the job to retrieve. # @param [Hash] opts the optional parameters - # @option opts [Array] :fields_catalog_category_bulk_create_job For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [Array] :fields_catalog_category For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [Array] :include For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#relationships + # @option opts [Array] :fields_catalog_category_bulk_create_job For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :fields_catalog_category For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :include For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#relationships # @return [Array<(Hash, Integer, Hash)>] Hash data, response status code and response headers def get_create_categories_job_with_http_info(job_id, opts = {}) if @api_client.config.debugging @@ -1737,7 +1737,7 @@ def get_create_categories_job_with_http_info(job_id, opts = {}) # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) @@ -1773,9 +1773,9 @@ def get_create_categories_job_with_http_info(job_id, opts = {}) # Get Create Categories Jobs # Get all catalog category bulk create jobs. Returns a maximum of 100 jobs per request.

*Rate limits*:
Burst: `350/s`
Steady: `3500/m` **Scopes:** `catalogs:read` # @param [Hash] opts the optional parameters - # @option opts [Array] :fields_catalog_category_bulk_create_job For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`status`: `equals` - # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#pagination + # @option opts [Array] :fields_catalog_category_bulk_create_job For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [String] :filter 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`: `equals` + # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#pagination # @return [Hash] def get_create_categories_jobs(opts = {}) data, _status_code, _headers = get_create_categories_jobs_with_http_info(opts) @@ -1785,9 +1785,9 @@ def get_create_categories_jobs(opts = {}) # Get Create Categories Jobs # Get all catalog category bulk create jobs. Returns a maximum of 100 jobs per request.<br><br>*Rate limits*:<br>Burst: `350/s`<br>Steady: `3500/m` **Scopes:** `catalogs:read` # @param [Hash] opts the optional parameters - # @option opts [Array] :fields_catalog_category_bulk_create_job For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`status`: `equals` - # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#pagination + # @option opts [Array] :fields_catalog_category_bulk_create_job For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [String] :filter 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`: `equals` + # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#pagination # @return [Array<(Hash, Integer, Hash)>] Hash data, response status code and response headers def get_create_categories_jobs_with_http_info(opts = {}) if @api_client.config.debugging @@ -1809,7 +1809,7 @@ def get_create_categories_jobs_with_http_info(opts = {}) # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) @@ -1846,9 +1846,9 @@ def get_create_categories_jobs_with_http_info(opts = {}) # Get a catalog item bulk create job with the given job ID. An `include` parameter can be provided to get the following related resource data: `items`.

*Rate limits*:
Burst: `350/s`
Steady: `3500/m` **Scopes:** `catalogs:read` # @param job_id [String] ID of the job to retrieve. # @param [Hash] opts the optional parameters - # @option opts [Array] :fields_catalog_item_bulk_create_job For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [Array] :fields_catalog_item For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [Array] :include For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#relationships + # @option opts [Array] :fields_catalog_item_bulk_create_job For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :fields_catalog_item For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :include For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#relationships # @return [Hash] def get_create_items_job(job_id, opts = {}) data, _status_code, _headers = get_create_items_job_with_http_info(job_id, opts) @@ -1859,9 +1859,9 @@ def get_create_items_job(job_id, opts = {}) # Get a catalog item bulk create job with the given job ID. An `include` parameter can be provided to get the following related resource data: `items`.<br><br>*Rate limits*:<br>Burst: `350/s`<br>Steady: `3500/m` **Scopes:** `catalogs:read` # @param job_id [String] ID of the job to retrieve. # @param [Hash] opts the optional parameters - # @option opts [Array] :fields_catalog_item_bulk_create_job For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [Array] :fields_catalog_item For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [Array] :include For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#relationships + # @option opts [Array] :fields_catalog_item_bulk_create_job For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :fields_catalog_item For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :include For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#relationships # @return [Array<(Hash, Integer, Hash)>] Hash data, response status code and response headers def get_create_items_job_with_http_info(job_id, opts = {}) if @api_client.config.debugging @@ -1895,7 +1895,7 @@ def get_create_items_job_with_http_info(job_id, opts = {}) # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) @@ -1931,9 +1931,9 @@ def get_create_items_job_with_http_info(job_id, opts = {}) # Get Create Items Jobs # Get all catalog item bulk create jobs. Returns a maximum of 100 jobs per request.

*Rate limits*:
Burst: `350/s`
Steady: `3500/m` **Scopes:** `catalogs:read` # @param [Hash] opts the optional parameters - # @option opts [Array] :fields_catalog_item_bulk_create_job For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`status`: `equals` - # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#pagination + # @option opts [Array] :fields_catalog_item_bulk_create_job For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [String] :filter 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`: `equals` + # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#pagination # @return [Hash] def get_create_items_jobs(opts = {}) data, _status_code, _headers = get_create_items_jobs_with_http_info(opts) @@ -1943,9 +1943,9 @@ def get_create_items_jobs(opts = {}) # Get Create Items Jobs # Get all catalog item bulk create jobs. Returns a maximum of 100 jobs per request.<br><br>*Rate limits*:<br>Burst: `350/s`<br>Steady: `3500/m` **Scopes:** `catalogs:read` # @param [Hash] opts the optional parameters - # @option opts [Array] :fields_catalog_item_bulk_create_job For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`status`: `equals` - # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#pagination + # @option opts [Array] :fields_catalog_item_bulk_create_job For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [String] :filter 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`: `equals` + # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#pagination # @return [Array<(Hash, Integer, Hash)>] Hash data, response status code and response headers def get_create_items_jobs_with_http_info(opts = {}) if @api_client.config.debugging @@ -1967,7 +1967,7 @@ def get_create_items_jobs_with_http_info(opts = {}) # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) @@ -2004,9 +2004,9 @@ def get_create_items_jobs_with_http_info(opts = {}) # Get a catalog variant bulk create job with the given job ID. An `include` parameter can be provided to get the following related resource data: `variants`.

*Rate limits*:
Burst: `350/s`
Steady: `3500/m` **Scopes:** `catalogs:read` # @param job_id [String] ID of the job to retrieve. # @param [Hash] opts the optional parameters - # @option opts [Array] :fields_catalog_variant_bulk_create_job For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [Array] :fields_catalog_variant For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [Array] :include For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#relationships + # @option opts [Array] :fields_catalog_variant_bulk_create_job For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :fields_catalog_variant For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :include For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#relationships # @return [Hash] def get_create_variants_job(job_id, opts = {}) data, _status_code, _headers = get_create_variants_job_with_http_info(job_id, opts) @@ -2017,9 +2017,9 @@ def get_create_variants_job(job_id, opts = {}) # Get a catalog variant bulk create job with the given job ID. An `include` parameter can be provided to get the following related resource data: `variants`.<br><br>*Rate limits*:<br>Burst: `350/s`<br>Steady: `3500/m` **Scopes:** `catalogs:read` # @param job_id [String] ID of the job to retrieve. # @param [Hash] opts the optional parameters - # @option opts [Array] :fields_catalog_variant_bulk_create_job For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [Array] :fields_catalog_variant For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [Array] :include For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#relationships + # @option opts [Array] :fields_catalog_variant_bulk_create_job For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :fields_catalog_variant For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :include For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#relationships # @return [Array<(Hash, Integer, Hash)>] Hash data, response status code and response headers def get_create_variants_job_with_http_info(job_id, opts = {}) if @api_client.config.debugging @@ -2053,7 +2053,7 @@ def get_create_variants_job_with_http_info(job_id, opts = {}) # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) @@ -2089,9 +2089,9 @@ def get_create_variants_job_with_http_info(job_id, opts = {}) # Get Create Variants Jobs # Get all catalog variant bulk create jobs. Returns a maximum of 100 jobs per request.

*Rate limits*:
Burst: `350/s`
Steady: `3500/m` **Scopes:** `catalogs:read` # @param [Hash] opts the optional parameters - # @option opts [Array] :fields_catalog_variant_bulk_create_job For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`status`: `equals` - # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#pagination + # @option opts [Array] :fields_catalog_variant_bulk_create_job For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [String] :filter 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`: `equals` + # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#pagination # @return [Hash] def get_create_variants_jobs(opts = {}) data, _status_code, _headers = get_create_variants_jobs_with_http_info(opts) @@ -2101,9 +2101,9 @@ def get_create_variants_jobs(opts = {}) # Get Create Variants Jobs # Get all catalog variant bulk create jobs. Returns a maximum of 100 jobs per request.<br><br>*Rate limits*:<br>Burst: `350/s`<br>Steady: `3500/m` **Scopes:** `catalogs:read` # @param [Hash] opts the optional parameters - # @option opts [Array] :fields_catalog_variant_bulk_create_job For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`status`: `equals` - # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#pagination + # @option opts [Array] :fields_catalog_variant_bulk_create_job For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [String] :filter 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`: `equals` + # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#pagination # @return [Array<(Hash, Integer, Hash)>] Hash data, response status code and response headers def get_create_variants_jobs_with_http_info(opts = {}) if @api_client.config.debugging @@ -2125,7 +2125,7 @@ def get_create_variants_jobs_with_http_info(opts = {}) # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) @@ -2162,7 +2162,7 @@ def get_create_variants_jobs_with_http_info(opts = {}) # Get a catalog category bulk delete job with the given job ID.

*Rate limits*:
Burst: `350/s`
Steady: `3500/m` **Scopes:** `catalogs:read` # @param job_id [String] ID of the job to retrieve. # @param [Hash] opts the optional parameters - # @option opts [Array] :fields_catalog_category_bulk_delete_job For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :fields_catalog_category_bulk_delete_job For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets # @return [Hash] def get_delete_categories_job(job_id, opts = {}) data, _status_code, _headers = get_delete_categories_job_with_http_info(job_id, opts) @@ -2173,7 +2173,7 @@ def get_delete_categories_job(job_id, opts = {}) # Get a catalog category bulk delete job with the given job ID.<br><br>*Rate limits*:<br>Burst: `350/s`<br>Steady: `3500/m` **Scopes:** `catalogs:read` # @param job_id [String] ID of the job to retrieve. # @param [Hash] opts the optional parameters - # @option opts [Array] :fields_catalog_category_bulk_delete_job For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :fields_catalog_category_bulk_delete_job For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets # @return [Array<(Hash, Integer, Hash)>] Hash data, response status code and response headers def get_delete_categories_job_with_http_info(job_id, opts = {}) if @api_client.config.debugging @@ -2197,7 +2197,7 @@ def get_delete_categories_job_with_http_info(job_id, opts = {}) # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) @@ -2233,9 +2233,9 @@ def get_delete_categories_job_with_http_info(job_id, opts = {}) # Get Delete Categories Jobs # Get all catalog category bulk delete jobs. Returns a maximum of 100 jobs per request.

*Rate limits*:
Burst: `350/s`
Steady: `3500/m` **Scopes:** `catalogs:read` # @param [Hash] opts the optional parameters - # @option opts [Array] :fields_catalog_category_bulk_delete_job For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`status`: `equals` - # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#pagination + # @option opts [Array] :fields_catalog_category_bulk_delete_job For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [String] :filter 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`: `equals` + # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#pagination # @return [Hash] def get_delete_categories_jobs(opts = {}) data, _status_code, _headers = get_delete_categories_jobs_with_http_info(opts) @@ -2245,9 +2245,9 @@ def get_delete_categories_jobs(opts = {}) # Get Delete Categories Jobs # Get all catalog category bulk delete jobs. Returns a maximum of 100 jobs per request.<br><br>*Rate limits*:<br>Burst: `350/s`<br>Steady: `3500/m` **Scopes:** `catalogs:read` # @param [Hash] opts the optional parameters - # @option opts [Array] :fields_catalog_category_bulk_delete_job For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`status`: `equals` - # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#pagination + # @option opts [Array] :fields_catalog_category_bulk_delete_job For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [String] :filter 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`: `equals` + # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#pagination # @return [Array<(Hash, Integer, Hash)>] Hash data, response status code and response headers def get_delete_categories_jobs_with_http_info(opts = {}) if @api_client.config.debugging @@ -2269,7 +2269,7 @@ def get_delete_categories_jobs_with_http_info(opts = {}) # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) @@ -2306,7 +2306,7 @@ def get_delete_categories_jobs_with_http_info(opts = {}) # Get a catalog item bulk delete job with the given job ID.

*Rate limits*:
Burst: `350/s`
Steady: `3500/m` **Scopes:** `catalogs:read` # @param job_id [String] ID of the job to retrieve. # @param [Hash] opts the optional parameters - # @option opts [Array] :fields_catalog_item_bulk_delete_job For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :fields_catalog_item_bulk_delete_job For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets # @return [Hash] def get_delete_items_job(job_id, opts = {}) data, _status_code, _headers = get_delete_items_job_with_http_info(job_id, opts) @@ -2317,7 +2317,7 @@ def get_delete_items_job(job_id, opts = {}) # Get a catalog item bulk delete job with the given job ID.<br><br>*Rate limits*:<br>Burst: `350/s`<br>Steady: `3500/m` **Scopes:** `catalogs:read` # @param job_id [String] ID of the job to retrieve. # @param [Hash] opts the optional parameters - # @option opts [Array] :fields_catalog_item_bulk_delete_job For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :fields_catalog_item_bulk_delete_job For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets # @return [Array<(Hash, Integer, Hash)>] Hash data, response status code and response headers def get_delete_items_job_with_http_info(job_id, opts = {}) if @api_client.config.debugging @@ -2341,7 +2341,7 @@ def get_delete_items_job_with_http_info(job_id, opts = {}) # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) @@ -2377,9 +2377,9 @@ def get_delete_items_job_with_http_info(job_id, opts = {}) # Get Delete Items Jobs # Get all catalog item bulk delete jobs. Returns a maximum of 100 jobs per request.

*Rate limits*:
Burst: `350/s`
Steady: `3500/m` **Scopes:** `catalogs:read` # @param [Hash] opts the optional parameters - # @option opts [Array] :fields_catalog_item_bulk_delete_job For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`status`: `equals` - # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#pagination + # @option opts [Array] :fields_catalog_item_bulk_delete_job For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [String] :filter 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`: `equals` + # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#pagination # @return [Hash] def get_delete_items_jobs(opts = {}) data, _status_code, _headers = get_delete_items_jobs_with_http_info(opts) @@ -2389,9 +2389,9 @@ def get_delete_items_jobs(opts = {}) # Get Delete Items Jobs # Get all catalog item bulk delete jobs. Returns a maximum of 100 jobs per request.<br><br>*Rate limits*:<br>Burst: `350/s`<br>Steady: `3500/m` **Scopes:** `catalogs:read` # @param [Hash] opts the optional parameters - # @option opts [Array] :fields_catalog_item_bulk_delete_job For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`status`: `equals` - # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#pagination + # @option opts [Array] :fields_catalog_item_bulk_delete_job For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [String] :filter 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`: `equals` + # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#pagination # @return [Array<(Hash, Integer, Hash)>] Hash data, response status code and response headers def get_delete_items_jobs_with_http_info(opts = {}) if @api_client.config.debugging @@ -2413,7 +2413,7 @@ def get_delete_items_jobs_with_http_info(opts = {}) # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) @@ -2450,7 +2450,7 @@ def get_delete_items_jobs_with_http_info(opts = {}) # Get a catalog variant bulk delete job with the given job ID.

*Rate limits*:
Burst: `350/s`
Steady: `3500/m` **Scopes:** `catalogs:read` # @param job_id [String] ID of the job to retrieve. # @param [Hash] opts the optional parameters - # @option opts [Array] :fields_catalog_variant_bulk_delete_job For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :fields_catalog_variant_bulk_delete_job For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets # @return [Hash] def get_delete_variants_job(job_id, opts = {}) data, _status_code, _headers = get_delete_variants_job_with_http_info(job_id, opts) @@ -2461,7 +2461,7 @@ def get_delete_variants_job(job_id, opts = {}) # Get a catalog variant bulk delete job with the given job ID.<br><br>*Rate limits*:<br>Burst: `350/s`<br>Steady: `3500/m` **Scopes:** `catalogs:read` # @param job_id [String] ID of the job to retrieve. # @param [Hash] opts the optional parameters - # @option opts [Array] :fields_catalog_variant_bulk_delete_job For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :fields_catalog_variant_bulk_delete_job For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets # @return [Array<(Hash, Integer, Hash)>] Hash data, response status code and response headers def get_delete_variants_job_with_http_info(job_id, opts = {}) if @api_client.config.debugging @@ -2485,7 +2485,7 @@ def get_delete_variants_job_with_http_info(job_id, opts = {}) # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) @@ -2521,9 +2521,9 @@ def get_delete_variants_job_with_http_info(job_id, opts = {}) # Get Delete Variants Jobs # Get all catalog variant bulk delete jobs. Returns a maximum of 100 jobs per request.

*Rate limits*:
Burst: `350/s`
Steady: `3500/m` **Scopes:** `catalogs:read` # @param [Hash] opts the optional parameters - # @option opts [Array] :fields_catalog_variant_bulk_delete_job For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`status`: `equals` - # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#pagination + # @option opts [Array] :fields_catalog_variant_bulk_delete_job For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [String] :filter 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`: `equals` + # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#pagination # @return [Hash] def get_delete_variants_jobs(opts = {}) data, _status_code, _headers = get_delete_variants_jobs_with_http_info(opts) @@ -2533,9 +2533,9 @@ def get_delete_variants_jobs(opts = {}) # Get Delete Variants Jobs # Get all catalog variant bulk delete jobs. Returns a maximum of 100 jobs per request.<br><br>*Rate limits*:<br>Burst: `350/s`<br>Steady: `3500/m` **Scopes:** `catalogs:read` # @param [Hash] opts the optional parameters - # @option opts [Array] :fields_catalog_variant_bulk_delete_job For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`status`: `equals` - # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#pagination + # @option opts [Array] :fields_catalog_variant_bulk_delete_job For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [String] :filter 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`: `equals` + # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#pagination # @return [Array<(Hash, Integer, Hash)>] Hash data, response status code and response headers def get_delete_variants_jobs_with_http_info(opts = {}) if @api_client.config.debugging @@ -2557,7 +2557,7 @@ def get_delete_variants_jobs_with_http_info(opts = {}) # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) @@ -2594,9 +2594,9 @@ def get_delete_variants_jobs_with_http_info(opts = {}) # Get a catalog category bulk update job with the given job ID. An `include` parameter can be provided to get the following related resource data: `categories`.

*Rate limits*:
Burst: `350/s`
Steady: `3500/m` **Scopes:** `catalogs:read` # @param job_id [String] ID of the job to retrieve. # @param [Hash] opts the optional parameters - # @option opts [Array] :fields_catalog_category_bulk_update_job For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [Array] :fields_catalog_category For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [Array] :include For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#relationships + # @option opts [Array] :fields_catalog_category_bulk_update_job For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :fields_catalog_category For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :include For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#relationships # @return [Hash] def get_update_categories_job(job_id, opts = {}) data, _status_code, _headers = get_update_categories_job_with_http_info(job_id, opts) @@ -2607,9 +2607,9 @@ def get_update_categories_job(job_id, opts = {}) # Get a catalog category bulk update job with the given job ID. An `include` parameter can be provided to get the following related resource data: `categories`.<br><br>*Rate limits*:<br>Burst: `350/s`<br>Steady: `3500/m` **Scopes:** `catalogs:read` # @param job_id [String] ID of the job to retrieve. # @param [Hash] opts the optional parameters - # @option opts [Array] :fields_catalog_category_bulk_update_job For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [Array] :fields_catalog_category For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [Array] :include For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#relationships + # @option opts [Array] :fields_catalog_category_bulk_update_job For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :fields_catalog_category For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :include For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#relationships # @return [Array<(Hash, Integer, Hash)>] Hash data, response status code and response headers def get_update_categories_job_with_http_info(job_id, opts = {}) if @api_client.config.debugging @@ -2643,7 +2643,7 @@ def get_update_categories_job_with_http_info(job_id, opts = {}) # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) @@ -2679,9 +2679,9 @@ def get_update_categories_job_with_http_info(job_id, opts = {}) # Get Update Categories Jobs # Get all catalog category bulk update jobs. Returns a maximum of 100 jobs per request.

*Rate limits*:
Burst: `350/s`
Steady: `3500/m` **Scopes:** `catalogs:read` # @param [Hash] opts the optional parameters - # @option opts [Array] :fields_catalog_category_bulk_update_job For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`status`: `equals` - # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#pagination + # @option opts [Array] :fields_catalog_category_bulk_update_job For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [String] :filter 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`: `equals` + # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#pagination # @return [Hash] def get_update_categories_jobs(opts = {}) data, _status_code, _headers = get_update_categories_jobs_with_http_info(opts) @@ -2691,9 +2691,9 @@ def get_update_categories_jobs(opts = {}) # Get Update Categories Jobs # Get all catalog category bulk update jobs. Returns a maximum of 100 jobs per request.<br><br>*Rate limits*:<br>Burst: `350/s`<br>Steady: `3500/m` **Scopes:** `catalogs:read` # @param [Hash] opts the optional parameters - # @option opts [Array] :fields_catalog_category_bulk_update_job For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`status`: `equals` - # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#pagination + # @option opts [Array] :fields_catalog_category_bulk_update_job For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [String] :filter 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`: `equals` + # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#pagination # @return [Array<(Hash, Integer, Hash)>] Hash data, response status code and response headers def get_update_categories_jobs_with_http_info(opts = {}) if @api_client.config.debugging @@ -2715,7 +2715,7 @@ def get_update_categories_jobs_with_http_info(opts = {}) # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) @@ -2752,9 +2752,9 @@ def get_update_categories_jobs_with_http_info(opts = {}) # Get a catalog item bulk update job with the given job ID. An `include` parameter can be provided to get the following related resource data: `items`.

*Rate limits*:
Burst: `350/s`
Steady: `3500/m` **Scopes:** `catalogs:read` # @param job_id [String] ID of the job to retrieve. # @param [Hash] opts the optional parameters - # @option opts [Array] :fields_catalog_item_bulk_update_job For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [Array] :fields_catalog_item For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [Array] :include For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#relationships + # @option opts [Array] :fields_catalog_item_bulk_update_job For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :fields_catalog_item For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :include For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#relationships # @return [Hash] def get_update_items_job(job_id, opts = {}) data, _status_code, _headers = get_update_items_job_with_http_info(job_id, opts) @@ -2765,9 +2765,9 @@ def get_update_items_job(job_id, opts = {}) # Get a catalog item bulk update job with the given job ID. An `include` parameter can be provided to get the following related resource data: `items`.<br><br>*Rate limits*:<br>Burst: `350/s`<br>Steady: `3500/m` **Scopes:** `catalogs:read` # @param job_id [String] ID of the job to retrieve. # @param [Hash] opts the optional parameters - # @option opts [Array] :fields_catalog_item_bulk_update_job For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [Array] :fields_catalog_item For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [Array] :include For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#relationships + # @option opts [Array] :fields_catalog_item_bulk_update_job For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :fields_catalog_item For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :include For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#relationships # @return [Array<(Hash, Integer, Hash)>] Hash data, response status code and response headers def get_update_items_job_with_http_info(job_id, opts = {}) if @api_client.config.debugging @@ -2801,7 +2801,7 @@ def get_update_items_job_with_http_info(job_id, opts = {}) # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) @@ -2837,9 +2837,9 @@ def get_update_items_job_with_http_info(job_id, opts = {}) # Get Update Items Jobs # Get all catalog item bulk update jobs. Returns a maximum of 100 jobs per request.

*Rate limits*:
Burst: `350/s`
Steady: `3500/m` **Scopes:** `catalogs:read` # @param [Hash] opts the optional parameters - # @option opts [Array] :fields_catalog_item_bulk_update_job For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`status`: `equals` - # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#pagination + # @option opts [Array] :fields_catalog_item_bulk_update_job For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [String] :filter 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`: `equals` + # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#pagination # @return [Hash] def get_update_items_jobs(opts = {}) data, _status_code, _headers = get_update_items_jobs_with_http_info(opts) @@ -2849,9 +2849,9 @@ def get_update_items_jobs(opts = {}) # Get Update Items Jobs # Get all catalog item bulk update jobs. Returns a maximum of 100 jobs per request.<br><br>*Rate limits*:<br>Burst: `350/s`<br>Steady: `3500/m` **Scopes:** `catalogs:read` # @param [Hash] opts the optional parameters - # @option opts [Array] :fields_catalog_item_bulk_update_job For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`status`: `equals` - # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#pagination + # @option opts [Array] :fields_catalog_item_bulk_update_job For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [String] :filter 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`: `equals` + # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#pagination # @return [Array<(Hash, Integer, Hash)>] Hash data, response status code and response headers def get_update_items_jobs_with_http_info(opts = {}) if @api_client.config.debugging @@ -2873,7 +2873,7 @@ def get_update_items_jobs_with_http_info(opts = {}) # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) @@ -2910,9 +2910,9 @@ def get_update_items_jobs_with_http_info(opts = {}) # Get a catalog variate bulk update job with the given job ID. An `include` parameter can be provided to get the following related resource data: `variants`.

*Rate limits*:
Burst: `350/s`
Steady: `3500/m` **Scopes:** `catalogs:read` # @param job_id [String] ID of the job to retrieve. # @param [Hash] opts the optional parameters - # @option opts [Array] :fields_catalog_variant_bulk_update_job For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [Array] :fields_catalog_variant For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [Array] :include For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#relationships + # @option opts [Array] :fields_catalog_variant_bulk_update_job For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :fields_catalog_variant For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :include For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#relationships # @return [Hash] def get_update_variants_job(job_id, opts = {}) data, _status_code, _headers = get_update_variants_job_with_http_info(job_id, opts) @@ -2923,9 +2923,9 @@ def get_update_variants_job(job_id, opts = {}) # Get a catalog variate bulk update job with the given job ID. An `include` parameter can be provided to get the following related resource data: `variants`.<br><br>*Rate limits*:<br>Burst: `350/s`<br>Steady: `3500/m` **Scopes:** `catalogs:read` # @param job_id [String] ID of the job to retrieve. # @param [Hash] opts the optional parameters - # @option opts [Array] :fields_catalog_variant_bulk_update_job For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [Array] :fields_catalog_variant For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [Array] :include For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#relationships + # @option opts [Array] :fields_catalog_variant_bulk_update_job For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :fields_catalog_variant For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :include For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#relationships # @return [Array<(Hash, Integer, Hash)>] Hash data, response status code and response headers def get_update_variants_job_with_http_info(job_id, opts = {}) if @api_client.config.debugging @@ -2959,7 +2959,7 @@ def get_update_variants_job_with_http_info(job_id, opts = {}) # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) @@ -2995,9 +2995,9 @@ def get_update_variants_job_with_http_info(job_id, opts = {}) # Get Update Variants Jobs # Get all catalog variant bulk update jobs. Returns a maximum of 100 jobs per request.

*Rate limits*:
Burst: `350/s`
Steady: `3500/m` **Scopes:** `catalogs:read` # @param [Hash] opts the optional parameters - # @option opts [Array] :fields_catalog_variant_bulk_update_job For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`status`: `equals` - # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#pagination + # @option opts [Array] :fields_catalog_variant_bulk_update_job For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [String] :filter 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`: `equals` + # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#pagination # @return [Hash] def get_update_variants_jobs(opts = {}) data, _status_code, _headers = get_update_variants_jobs_with_http_info(opts) @@ -3007,9 +3007,9 @@ def get_update_variants_jobs(opts = {}) # Get Update Variants Jobs # Get all catalog variant bulk update jobs. Returns a maximum of 100 jobs per request.<br><br>*Rate limits*:<br>Burst: `350/s`<br>Steady: `3500/m` **Scopes:** `catalogs:read` # @param [Hash] opts the optional parameters - # @option opts [Array] :fields_catalog_variant_bulk_update_job For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`status`: `equals` - # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#pagination + # @option opts [Array] :fields_catalog_variant_bulk_update_job For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [String] :filter 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`: `equals` + # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#pagination # @return [Array<(Hash, Integer, Hash)>] Hash data, response status code and response headers def get_update_variants_jobs_with_http_info(opts = {}) if @api_client.config.debugging @@ -3031,7 +3031,7 @@ def get_update_variants_jobs_with_http_info(opts = {}) # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) @@ -3096,7 +3096,7 @@ def spawn_create_categories_job_with_http_info(catalog_category_create_job_creat # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' @@ -3166,7 +3166,7 @@ def spawn_create_items_job_with_http_info(catalog_item_create_job_create_query, # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' @@ -3236,7 +3236,7 @@ def spawn_create_variants_job_with_http_info(catalog_variant_create_job_create_q # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' @@ -3306,7 +3306,7 @@ def spawn_delete_categories_job_with_http_info(catalog_category_delete_job_creat # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' @@ -3376,7 +3376,7 @@ def spawn_delete_items_job_with_http_info(catalog_item_delete_job_create_query, # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' @@ -3446,7 +3446,7 @@ def spawn_delete_variants_job_with_http_info(catalog_variant_delete_job_create_q # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' @@ -3516,7 +3516,7 @@ def spawn_update_categories_job_with_http_info(catalog_category_update_job_creat # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' @@ -3586,7 +3586,7 @@ def spawn_update_items_job_with_http_info(catalog_item_update_job_create_query, # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' @@ -3656,7 +3656,7 @@ def spawn_update_variants_job_with_http_info(catalog_variant_update_job_create_q # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' @@ -3732,7 +3732,7 @@ def update_catalog_category_with_http_info(id, catalog_category_update_query, op # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' @@ -3808,7 +3808,7 @@ def update_catalog_category_relationships_items_with_http_info(id, catalog_categ # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' @@ -3884,7 +3884,7 @@ def update_catalog_item_with_http_info(id, catalog_item_update_query, opts = {}) # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' @@ -3960,7 +3960,7 @@ def update_catalog_item_relationships_categories_with_http_info(id, catalog_item # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' @@ -4036,7 +4036,7 @@ def update_catalog_variant_with_http_info(id, catalog_variant_update_query, opts # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' diff --git a/lib/klaviyo-api-sdk/api/coupons_api.rb b/lib/klaviyo-api-sdk/api/coupons_api.rb index 7ceb8c8..20a3b9d 100644 --- a/lib/klaviyo-api-sdk/api/coupons_api.rb +++ b/lib/klaviyo-api-sdk/api/coupons_api.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 @@ -51,7 +51,7 @@ def create_coupon_with_http_info(coupon_create_query, opts = {}) # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' @@ -121,7 +121,7 @@ def create_coupon_code_with_http_info(coupon_code_create_query, opts = {}) # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' @@ -191,7 +191,7 @@ def delete_coupon_with_http_info(id, opts = {}) # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) @@ -256,7 +256,7 @@ def delete_coupon_code_with_http_info(id, opts = {}) # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) @@ -293,7 +293,7 @@ def delete_coupon_code_with_http_info(id, opts = {}) # Get a specific coupon with the given coupon ID.

*Rate limits*:
Burst: `75/s`
Steady: `700/m` **Scopes:** `coupons:read` # @param id [String] The internal id of a Coupon is equivalent to its external id stored within an integration. # @param [Hash] opts the optional parameters - # @option opts [Array] :fields_coupon For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :fields_coupon For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets # @return [Hash] def get_coupon(id, opts = {}) data, _status_code, _headers = get_coupon_with_http_info(id, opts) @@ -304,7 +304,7 @@ def get_coupon(id, opts = {}) # Get a specific coupon with the given coupon ID.<br><br>*Rate limits*:<br>Burst: `75/s`<br>Steady: `700/m` **Scopes:** `coupons:read` # @param id [String] The internal id of a Coupon is equivalent to its external id stored within an integration. # @param [Hash] opts the optional parameters - # @option opts [Array] :fields_coupon For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :fields_coupon For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets # @return [Array<(Hash, Integer, Hash)>] Hash data, response status code and response headers def get_coupon_with_http_info(id, opts = {}) if @api_client.config.debugging @@ -328,7 +328,7 @@ def get_coupon_with_http_info(id, opts = {}) # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) @@ -365,9 +365,9 @@ def get_coupon_with_http_info(id, opts = {}) # Returns a Coupon Code specified by the given identifier.

*Rate limits*:
Burst: `350/s`
Steady: `3500/m` **Scopes:** `coupon-codes:read` # @param id [String] The id of a coupon code is a combination of its unique code and the id of the coupon it is associated with. # @param [Hash] opts the optional parameters - # @option opts [Array] :fields_coupon_code For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [Array] :fields_coupon For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [Array] :include For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#relationships + # @option opts [Array] :fields_coupon_code For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :fields_coupon For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :include For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#relationships # @return [Hash] def get_coupon_code(id, opts = {}) data, _status_code, _headers = get_coupon_code_with_http_info(id, opts) @@ -378,9 +378,9 @@ def get_coupon_code(id, opts = {}) # Returns a Coupon Code specified by the given identifier.<br><br>*Rate limits*:<br>Burst: `350/s`<br>Steady: `3500/m` **Scopes:** `coupon-codes:read` # @param id [String] The id of a coupon code is a combination of its unique code and the id of the coupon it is associated with. # @param [Hash] opts the optional parameters - # @option opts [Array] :fields_coupon_code For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [Array] :fields_coupon For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [Array] :include For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#relationships + # @option opts [Array] :fields_coupon_code For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :fields_coupon For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :include For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#relationships # @return [Array<(Hash, Integer, Hash)>] Hash data, response status code and response headers def get_coupon_code_with_http_info(id, opts = {}) if @api_client.config.debugging @@ -414,7 +414,7 @@ def get_coupon_code_with_http_info(id, opts = {}) # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) @@ -451,9 +451,9 @@ def get_coupon_code_with_http_info(id, opts = {}) # Get a coupon code bulk create job with the given job ID.

*Rate limits*:
Burst: `75/s`
Steady: `700/m` **Scopes:** `coupon-codes:read` # @param job_id [String] ID of the job to retrieve. # @param [Hash] opts the optional parameters - # @option opts [Array] :fields_coupon_code_bulk_create_job For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [Array] :fields_coupon_code For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [Array] :include For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#relationships + # @option opts [Array] :fields_coupon_code_bulk_create_job For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :fields_coupon_code For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :include For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#relationships # @return [Hash] def get_coupon_code_bulk_create_job(job_id, opts = {}) data, _status_code, _headers = get_coupon_code_bulk_create_job_with_http_info(job_id, opts) @@ -464,9 +464,9 @@ def get_coupon_code_bulk_create_job(job_id, opts = {}) # Get a coupon code bulk create job with the given job ID.<br><br>*Rate limits*:<br>Burst: `75/s`<br>Steady: `700/m` **Scopes:** `coupon-codes:read` # @param job_id [String] ID of the job to retrieve. # @param [Hash] opts the optional parameters - # @option opts [Array] :fields_coupon_code_bulk_create_job For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [Array] :fields_coupon_code For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [Array] :include For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#relationships + # @option opts [Array] :fields_coupon_code_bulk_create_job For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :fields_coupon_code For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :include For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#relationships # @return [Array<(Hash, Integer, Hash)>] Hash data, response status code and response headers def get_coupon_code_bulk_create_job_with_http_info(job_id, opts = {}) if @api_client.config.debugging @@ -500,7 +500,7 @@ def get_coupon_code_bulk_create_job_with_http_info(job_id, opts = {}) # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) @@ -536,9 +536,9 @@ def get_coupon_code_bulk_create_job_with_http_info(job_id, opts = {}) # Get Coupon Code Bulk Create Jobs # Get all coupon code bulk create jobs. Returns a maximum of 100 jobs per request.

*Rate limits*:
Burst: `75/s`
Steady: `700/m` **Scopes:** `coupon-codes:read` # @param [Hash] opts the optional parameters - # @option opts [Array] :fields_coupon_code_bulk_create_job For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`status`: `equals` - # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#pagination + # @option opts [Array] :fields_coupon_code_bulk_create_job For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [String] :filter 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`: `equals` + # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#pagination # @return [Hash] def get_coupon_code_bulk_create_jobs(opts = {}) data, _status_code, _headers = get_coupon_code_bulk_create_jobs_with_http_info(opts) @@ -548,9 +548,9 @@ def get_coupon_code_bulk_create_jobs(opts = {}) # Get Coupon Code Bulk Create Jobs # Get all coupon code bulk create jobs. Returns a maximum of 100 jobs per request.<br><br>*Rate limits*:<br>Burst: `75/s`<br>Steady: `700/m` **Scopes:** `coupon-codes:read` # @param [Hash] opts the optional parameters - # @option opts [Array] :fields_coupon_code_bulk_create_job For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`status`: `equals` - # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#pagination + # @option opts [Array] :fields_coupon_code_bulk_create_job For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [String] :filter 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`: `equals` + # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#pagination # @return [Array<(Hash, Integer, Hash)>] Hash data, response status code and response headers def get_coupon_code_bulk_create_jobs_with_http_info(opts = {}) if @api_client.config.debugging @@ -572,7 +572,7 @@ def get_coupon_code_bulk_create_jobs_with_http_info(opts = {}) # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) @@ -609,7 +609,7 @@ def get_coupon_code_bulk_create_jobs_with_http_info(opts = {}) # Gets a list of coupon code relationships associated with the given coupon id

*Rate limits*:
Burst: `75/s`
Steady: `700/m` **Scopes:** `coupon-codes:read` # @param id [String] # @param [Hash] opts the optional parameters - # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#pagination + # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#pagination # @return [Hash] def get_coupon_code_relationships_coupon(id, opts = {}) data, _status_code, _headers = get_coupon_code_relationships_coupon_with_http_info(id, opts) @@ -620,7 +620,7 @@ def get_coupon_code_relationships_coupon(id, opts = {}) # Gets a list of coupon code relationships associated with the given coupon id<br><br>*Rate limits*:<br>Burst: `75/s`<br>Steady: `700/m` **Scopes:** `coupon-codes:read` # @param id [String] # @param [Hash] opts the optional parameters - # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#pagination + # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#pagination # @return [Array<(Hash, Integer, Hash)>] Hash data, response status code and response headers def get_coupon_code_relationships_coupon_with_http_info(id, opts = {}) if @api_client.config.debugging @@ -640,7 +640,7 @@ def get_coupon_code_relationships_coupon_with_http_info(id, opts = {}) # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) @@ -676,11 +676,11 @@ def get_coupon_code_relationships_coupon_with_http_info(id, opts = {}) # Get Coupon Codes # Gets a list of coupon codes associated with a coupon/coupons or a profile/profiles. A coupon/coupons or a profile/profiles must be provided as required filter params.

*Rate limits*:
Burst: `350/s`
Steady: `3500/m` **Scopes:** `coupon-codes:read` # @param [Hash] opts the optional parameters - # @option opts [Array] :fields_coupon_code For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [Array] :fields_coupon For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`expires_at`: `greater-or-equal`, `greater-than`, `less-or-equal`, `less-than`<br>`status`: `equals`<br>`coupon.id`: `any`, `equals`<br>`profile.id`: `any`, `equals` - # @option opts [Array] :include For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#relationships - # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#pagination + # @option opts [Array] :fields_coupon_code For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :fields_coupon For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`expires_at`: `greater-or-equal`, `greater-than`, `less-or-equal`, `less-than`<br>`status`: `equals`<br>`coupon.id`: `any`, `equals`<br>`profile.id`: `any`, `equals` + # @option opts [Array] :include For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#relationships + # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#pagination # @return [Hash] def get_coupon_codes(opts = {}) data, _status_code, _headers = get_coupon_codes_with_http_info(opts) @@ -690,11 +690,11 @@ def get_coupon_codes(opts = {}) # Get Coupon Codes # Gets a list of coupon codes associated with a coupon/coupons or a profile/profiles. A coupon/coupons or a profile/profiles must be provided as required filter params.<br><br>*Rate limits*:<br>Burst: `350/s`<br>Steady: `3500/m` **Scopes:** `coupon-codes:read` # @param [Hash] opts the optional parameters - # @option opts [Array] :fields_coupon_code For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [Array] :fields_coupon For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`expires_at`: `greater-or-equal`, `greater-than`, `less-or-equal`, `less-than`<br>`status`: `equals`<br>`coupon.id`: `any`, `equals`<br>`profile.id`: `any`, `equals` - # @option opts [Array] :include For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#relationships - # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#pagination + # @option opts [Array] :fields_coupon_code For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :fields_coupon For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`expires_at`: `greater-or-equal`, `greater-than`, `less-or-equal`, `less-than`<br>`status`: `equals`<br>`coupon.id`: `any`, `equals`<br>`profile.id`: `any`, `equals` + # @option opts [Array] :include For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#relationships + # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#pagination # @return [Array<(Hash, Integer, Hash)>] Hash data, response status code and response headers def get_coupon_codes_with_http_info(opts = {}) if @api_client.config.debugging @@ -726,7 +726,7 @@ def get_coupon_codes_with_http_info(opts = {}) # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) @@ -763,9 +763,9 @@ def get_coupon_codes_with_http_info(opts = {}) # Gets a list of coupon codes associated with the given coupon id

*Rate limits*:
Burst: `75/s`
Steady: `700/m` **Scopes:** `coupon-codes:read` # @param id [String] # @param [Hash] opts the optional parameters - # @option opts [Array] :fields_coupon_code For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`expires_at`: `greater-or-equal`, `greater-than`, `less-or-equal`, `less-than`<br>`status`: `equals`<br>`coupon.id`: `any`, `equals`<br>`profile.id`: `any`, `equals` - # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#pagination + # @option opts [Array] :fields_coupon_code For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`expires_at`: `greater-or-equal`, `greater-than`, `less-or-equal`, `less-than`<br>`status`: `equals`<br>`coupon.id`: `any`, `equals`<br>`profile.id`: `any`, `equals` + # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#pagination # @return [Hash] def get_coupon_codes_for_coupon(id, opts = {}) data, _status_code, _headers = get_coupon_codes_for_coupon_with_http_info(id, opts) @@ -776,9 +776,9 @@ def get_coupon_codes_for_coupon(id, opts = {}) # Gets a list of coupon codes associated with the given coupon id<br><br>*Rate limits*:<br>Burst: `75/s`<br>Steady: `700/m` **Scopes:** `coupon-codes:read` # @param id [String] # @param [Hash] opts the optional parameters - # @option opts [Array] :fields_coupon_code For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`expires_at`: `greater-or-equal`, `greater-than`, `less-or-equal`, `less-than`<br>`status`: `equals`<br>`coupon.id`: `any`, `equals`<br>`profile.id`: `any`, `equals` - # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#pagination + # @option opts [Array] :fields_coupon_code For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`expires_at`: `greater-or-equal`, `greater-than`, `less-or-equal`, `less-than`<br>`status`: `equals`<br>`coupon.id`: `any`, `equals`<br>`profile.id`: `any`, `equals` + # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#pagination # @return [Array<(Hash, Integer, Hash)>] Hash data, response status code and response headers def get_coupon_codes_for_coupon_with_http_info(id, opts = {}) if @api_client.config.debugging @@ -804,7 +804,7 @@ def get_coupon_codes_for_coupon_with_http_info(id, opts = {}) # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) @@ -841,7 +841,7 @@ def get_coupon_codes_for_coupon_with_http_info(id, opts = {}) # Get the coupon associated with a given coupon code ID.

*Rate limits*:
Burst: `75/s`
Steady: `700/m` **Scopes:** `coupons:read` # @param id [String] # @param [Hash] opts the optional parameters - # @option opts [Array] :fields_coupon For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :fields_coupon For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets # @return [Hash] def get_coupon_for_coupon_code(id, opts = {}) data, _status_code, _headers = get_coupon_for_coupon_code_with_http_info(id, opts) @@ -852,7 +852,7 @@ def get_coupon_for_coupon_code(id, opts = {}) # Get the coupon associated with a given coupon code ID.<br><br>*Rate limits*:<br>Burst: `75/s`<br>Steady: `700/m` **Scopes:** `coupons:read` # @param id [String] # @param [Hash] opts the optional parameters - # @option opts [Array] :fields_coupon For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :fields_coupon For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets # @return [Array<(Hash, Integer, Hash)>] Hash data, response status code and response headers def get_coupon_for_coupon_code_with_http_info(id, opts = {}) if @api_client.config.debugging @@ -876,7 +876,7 @@ def get_coupon_for_coupon_code_with_http_info(id, opts = {}) # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) @@ -941,7 +941,7 @@ def get_coupon_relationships_coupon_codes_with_http_info(id, opts = {}) # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) @@ -977,8 +977,8 @@ def get_coupon_relationships_coupon_codes_with_http_info(id, opts = {}) # Get Coupons # Get all coupons in an account. To learn more, see our [Coupons API guide](https://developers.klaviyo.com/en/docs/use_klaviyos_coupons_api).

*Rate limits*:
Burst: `75/s`
Steady: `700/m` **Scopes:** `coupons:read` # @param [Hash] opts the optional parameters - # @option opts [Array] :fields_coupon For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#pagination + # @option opts [Array] :fields_coupon For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#pagination # @return [Hash] def get_coupons(opts = {}) data, _status_code, _headers = get_coupons_with_http_info(opts) @@ -988,8 +988,8 @@ def get_coupons(opts = {}) # Get Coupons # Get all coupons in an account. To learn more, see our [Coupons API guide](https://developers.klaviyo.com/en/docs/use_klaviyos_coupons_api).<br><br>*Rate limits*:<br>Burst: `75/s`<br>Steady: `700/m` **Scopes:** `coupons:read` # @param [Hash] opts the optional parameters - # @option opts [Array] :fields_coupon For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#pagination + # @option opts [Array] :fields_coupon For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#pagination # @return [Array<(Hash, Integer, Hash)>] Hash data, response status code and response headers def get_coupons_with_http_info(opts = {}) if @api_client.config.debugging @@ -1010,7 +1010,7 @@ def get_coupons_with_http_info(opts = {}) # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) @@ -1075,7 +1075,7 @@ def spawn_coupon_code_bulk_create_job_with_http_info(coupon_code_create_job_crea # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' @@ -1151,7 +1151,7 @@ def update_coupon_with_http_info(id, coupon_update_query, opts = {}) # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' @@ -1227,7 +1227,7 @@ def update_coupon_code_with_http_info(id, coupon_code_update_query, opts = {}) # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' diff --git a/lib/klaviyo-api-sdk/api/data_privacy_api.rb b/lib/klaviyo-api-sdk/api/data_privacy_api.rb index 57f1800..aed1c32 100644 --- a/lib/klaviyo-api-sdk/api/data_privacy_api.rb +++ b/lib/klaviyo-api-sdk/api/data_privacy_api.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 @@ -51,7 +51,7 @@ def request_profile_deletion_with_http_info(data_privacy_create_deletion_job_que # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' diff --git a/lib/klaviyo-api-sdk/api/events_api.rb b/lib/klaviyo-api-sdk/api/events_api.rb index 919353d..f9c574e 100644 --- a/lib/klaviyo-api-sdk/api/events_api.rb +++ b/lib/klaviyo-api-sdk/api/events_api.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 @@ -51,7 +51,7 @@ def bulk_create_events_with_http_info(events_bulk_create_job, opts = {}) # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' @@ -121,7 +121,7 @@ def create_event_with_http_info(event_create_query_v2, opts = {}) # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' @@ -163,10 +163,10 @@ def create_event_with_http_info(event_create_query_v2, opts = {}) # Get an event with the given event ID.

*Rate limits*:
Burst: `10/s`
Steady: `150/m` **Scopes:** `events:read` # @param id [String] ID of the event # @param [Hash] opts the optional parameters - # @option opts [Array] :fields_event For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [Array] :fields_metric For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [Array] :fields_profile For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [Array] :include For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#relationships + # @option opts [Array] :fields_event For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :fields_metric For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :fields_profile For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :include For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#relationships # @return [Hash] def get_event(id, opts = {}) data, _status_code, _headers = get_event_with_http_info(id, opts) @@ -177,10 +177,10 @@ def get_event(id, opts = {}) # Get an event with the given event ID.<br><br>*Rate limits*:<br>Burst: `10/s`<br>Steady: `150/m` **Scopes:** `events:read` # @param id [String] ID of the event # @param [Hash] opts the optional parameters - # @option opts [Array] :fields_event For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [Array] :fields_metric For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [Array] :fields_profile For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [Array] :include For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#relationships + # @option opts [Array] :fields_event For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :fields_metric For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :fields_profile For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :include For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#relationships # @return [Array<(Hash, Integer, Hash)>] Hash data, response status code and response headers def get_event_with_http_info(id, opts = {}) if @api_client.config.debugging @@ -219,7 +219,7 @@ def get_event_with_http_info(id, opts = {}) # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) @@ -256,7 +256,7 @@ def get_event_with_http_info(id, opts = {}) # Get the metric for an event with the given event ID.

*Rate limits*:
Burst: `350/s`
Steady: `3500/m` **Scopes:** `events:read` `metrics:read` # @param id [String] # @param [Hash] opts the optional parameters - # @option opts [Array] :fields_metric For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :fields_metric For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets # @return [Hash] def get_event_metric(id, opts = {}) data, _status_code, _headers = get_event_metric_with_http_info(id, opts) @@ -267,7 +267,7 @@ def get_event_metric(id, opts = {}) # Get the metric for an event with the given event ID.<br><br>*Rate limits*:<br>Burst: `350/s`<br>Steady: `3500/m` **Scopes:** `events:read` `metrics:read` # @param id [String] # @param [Hash] opts the optional parameters - # @option opts [Array] :fields_metric For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :fields_metric For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets # @return [Array<(Hash, Integer, Hash)>] Hash data, response status code and response headers def get_event_metric_with_http_info(id, opts = {}) if @api_client.config.debugging @@ -291,7 +291,7 @@ def get_event_metric_with_http_info(id, opts = {}) # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) @@ -329,7 +329,7 @@ def get_event_metric_with_http_info(id, opts = {}) # @param id [String] # @param [Hash] opts the optional parameters # @option opts [Array] :additional_fields_profile Request additional fields not included by default in the response. Supported values: 'subscriptions', 'predictive_analytics' - # @option opts [Array] :fields_profile For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :fields_profile For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets # @return [Hash] def get_event_profile(id, opts = {}) data, _status_code, _headers = get_event_profile_with_http_info(id, opts) @@ -341,7 +341,7 @@ def get_event_profile(id, opts = {}) # @param id [String] # @param [Hash] opts the optional parameters # @option opts [Array] :additional_fields_profile Request additional fields not included by default in the response. Supported values: 'subscriptions', 'predictive_analytics' - # @option opts [Array] :fields_profile For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :fields_profile For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets # @return [Array<(Hash, Integer, Hash)>] Hash data, response status code and response headers def get_event_profile_with_http_info(id, opts = {}) if @api_client.config.debugging @@ -370,7 +370,7 @@ def get_event_profile_with_http_info(id, opts = {}) # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) @@ -435,7 +435,7 @@ def get_event_relationships_metric_with_http_info(id, opts = {}) # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) @@ -500,7 +500,7 @@ def get_event_relationships_profile_with_http_info(id, opts = {}) # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) @@ -536,13 +536,13 @@ def get_event_relationships_profile_with_http_info(id, opts = {}) # Get Events # Get all events in an account Requests can be sorted by the following fields: `datetime`, `timestamp` Returns a maximum of 200 events per page.

*Rate limits*:
Burst: `350/s`
Steady: `3500/m` **Scopes:** `events:read` # @param [Hash] opts the optional parameters - # @option opts [Array] :fields_event For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [Array] :fields_metric For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [Array] :fields_profile For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`metric_id`: `equals`<br>`profile_id`: `equals`<br>`profile`: `has`<br>`datetime`: `greater-or-equal`, `greater-than`, `less-or-equal`, `less-than`<br>`timestamp`: `greater-or-equal`, `greater-than`, `less-or-equal`, `less-than` - # @option opts [Array] :include For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#relationships - # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#pagination - # @option opts [String] :sort For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sorting + # @option opts [Array] :fields_event For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :fields_metric For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :fields_profile For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`metric_id`: `equals`<br>`profile_id`: `equals`<br>`profile`: `has`<br>`datetime`: `greater-or-equal`, `greater-than`, `less-or-equal`, `less-than`<br>`timestamp`: `greater-or-equal`, `greater-than`, `less-or-equal`, `less-than` + # @option opts [Array] :include For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#relationships + # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#pagination + # @option opts [String] :sort For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sorting # @return [Hash] def get_events(opts = {}) data, _status_code, _headers = get_events_with_http_info(opts) @@ -552,13 +552,13 @@ def get_events(opts = {}) # Get Events # Get all events in an account Requests can be sorted by the following fields: `datetime`, `timestamp` Returns a maximum of 200 events per page.<br><br>*Rate limits*:<br>Burst: `350/s`<br>Steady: `3500/m` **Scopes:** `events:read` # @param [Hash] opts the optional parameters - # @option opts [Array] :fields_event For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [Array] :fields_metric For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [Array] :fields_profile For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`metric_id`: `equals`<br>`profile_id`: `equals`<br>`profile`: `has`<br>`datetime`: `greater-or-equal`, `greater-than`, `less-or-equal`, `less-than`<br>`timestamp`: `greater-or-equal`, `greater-than`, `less-or-equal`, `less-than` - # @option opts [Array] :include For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#relationships - # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#pagination - # @option opts [String] :sort For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sorting + # @option opts [Array] :fields_event For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :fields_metric For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :fields_profile For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`metric_id`: `equals`<br>`profile_id`: `equals`<br>`profile`: `has`<br>`datetime`: `greater-or-equal`, `greater-than`, `less-or-equal`, `less-than`<br>`timestamp`: `greater-or-equal`, `greater-than`, `less-or-equal`, `less-than` + # @option opts [Array] :include For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#relationships + # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#pagination + # @option opts [String] :sort For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sorting # @return [Array<(Hash, Integer, Hash)>] Hash data, response status code and response headers def get_events_with_http_info(opts = {}) if @api_client.config.debugging @@ -600,7 +600,7 @@ def get_events_with_http_info(opts = {}) # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) diff --git a/lib/klaviyo-api-sdk/api/flows_api.rb b/lib/klaviyo-api-sdk/api/flows_api.rb index 39a4150..55ce133 100644 --- a/lib/klaviyo-api-sdk/api/flows_api.rb +++ b/lib/klaviyo-api-sdk/api/flows_api.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 @@ -51,7 +51,7 @@ def delete_flow_with_http_info(id, opts = {}) # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) @@ -88,10 +88,10 @@ def delete_flow_with_http_info(id, opts = {}) # Get a flow with the given flow ID.

*Rate limits*:
Burst: `3/s`
Steady: `60/m` **Scopes:** `flows:read` # @param id [String] # @param [Hash] opts the optional parameters - # @option opts [Array] :fields_flow_action For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [Array] :fields_flow For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [Array] :fields_tag For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [Array] :include For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#relationships + # @option opts [Array] :fields_flow_action For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :fields_flow For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :fields_tag For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :include For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#relationships # @return [Hash] def get_flow(id, opts = {}) data, _status_code, _headers = get_flow_with_http_info(id, opts) @@ -102,10 +102,10 @@ def get_flow(id, opts = {}) # Get a flow with the given flow ID.<br><br>*Rate limits*:<br>Burst: `3/s`<br>Steady: `60/m` **Scopes:** `flows:read` # @param id [String] # @param [Hash] opts the optional parameters - # @option opts [Array] :fields_flow_action For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [Array] :fields_flow For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [Array] :fields_tag For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [Array] :include For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#relationships + # @option opts [Array] :fields_flow_action For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :fields_flow For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :fields_tag For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :include For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#relationships # @return [Array<(Hash, Integer, Hash)>] Hash data, response status code and response headers def get_flow_with_http_info(id, opts = {}) if @api_client.config.debugging @@ -144,7 +144,7 @@ def get_flow_with_http_info(id, opts = {}) # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) @@ -181,10 +181,10 @@ def get_flow_with_http_info(id, opts = {}) # Get a flow action from a flow with the given flow action ID.

*Rate limits*:
Burst: `3/s`
Steady: `60/m` **Scopes:** `flows:read` # @param id [String] # @param [Hash] opts the optional parameters - # @option opts [Array] :fields_flow_action For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [Array] :fields_flow_message For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [Array] :fields_flow For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [Array] :include For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#relationships + # @option opts [Array] :fields_flow_action For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :fields_flow_message For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :fields_flow For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :include For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#relationships # @return [Hash] def get_flow_action(id, opts = {}) data, _status_code, _headers = get_flow_action_with_http_info(id, opts) @@ -195,10 +195,10 @@ def get_flow_action(id, opts = {}) # Get a flow action from a flow with the given flow action ID.<br><br>*Rate limits*:<br>Burst: `3/s`<br>Steady: `60/m` **Scopes:** `flows:read` # @param id [String] # @param [Hash] opts the optional parameters - # @option opts [Array] :fields_flow_action For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [Array] :fields_flow_message For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [Array] :fields_flow For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [Array] :include For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#relationships + # @option opts [Array] :fields_flow_action For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :fields_flow_message For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :fields_flow For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :include For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#relationships # @return [Array<(Hash, Integer, Hash)>] Hash data, response status code and response headers def get_flow_action_with_http_info(id, opts = {}) if @api_client.config.debugging @@ -237,7 +237,7 @@ def get_flow_action_with_http_info(id, opts = {}) # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) @@ -274,7 +274,7 @@ def get_flow_action_with_http_info(id, opts = {}) # Get the flow associated with the given action ID.

*Rate limits*:
Burst: `3/s`
Steady: `60/m` **Scopes:** `flows:read` # @param id [String] # @param [Hash] opts the optional parameters - # @option opts [Array] :fields_flow For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :fields_flow For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets # @return [Hash] def get_flow_action_flow(id, opts = {}) data, _status_code, _headers = get_flow_action_flow_with_http_info(id, opts) @@ -285,7 +285,7 @@ def get_flow_action_flow(id, opts = {}) # Get the flow associated with the given action ID.<br><br>*Rate limits*:<br>Burst: `3/s`<br>Steady: `60/m` **Scopes:** `flows:read` # @param id [String] # @param [Hash] opts the optional parameters - # @option opts [Array] :fields_flow For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :fields_flow For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets # @return [Array<(Hash, Integer, Hash)>] Hash data, response status code and response headers def get_flow_action_flow_with_http_info(id, opts = {}) if @api_client.config.debugging @@ -309,7 +309,7 @@ def get_flow_action_flow_with_http_info(id, opts = {}) # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) @@ -346,10 +346,10 @@ def get_flow_action_flow_with_http_info(id, opts = {}) # Get all flow messages associated with the given action ID. Flow messages can be sorted by the following fields, in ascending and descending order: ascending: `id`, `name`, `created`, `updated` descending: `-id`, `-name`, `-created`, `-updated` Returns a maximum of 50 flows per request, which can be paginated with offset pagination. Offset pagination uses the following parameters: `page[size]` and `page[number]`

*Rate limits*:
Burst: `3/s`
Steady: `60/m` **Scopes:** `flows:read` # @param id [String] # @param [Hash] opts the optional parameters - # @option opts [Array] :fields_flow_message For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`id`: `any`<br>`name`: `contains`, `ends-with`, `equals`, `starts-with`<br>`created`: `equals`, `greater-or-equal`, `greater-than`, `less-or-equal`, `less-than`<br>`updated`: `equals`, `greater-or-equal`, `greater-than`, `less-or-equal`, `less-than` + # @option opts [Array] :fields_flow_message For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [String] :filter 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`<br>`name`: `contains`, `ends-with`, `equals`, `starts-with`<br>`created`: `equals`, `greater-or-equal`, `greater-than`, `less-or-equal`, `less-than`<br>`updated`: `equals`, `greater-or-equal`, `greater-than`, `less-or-equal`, `less-than` # @option opts [Integer] :page_size Default: 50. Min: 1. Max: 100. (default to 50) - # @option opts [String] :sort For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sorting + # @option opts [String] :sort For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sorting # @return [Hash] def get_flow_action_messages(id, opts = {}) data, _status_code, _headers = get_flow_action_messages_with_http_info(id, opts) @@ -360,10 +360,10 @@ def get_flow_action_messages(id, opts = {}) # Get all flow messages associated with the given action ID. Flow messages can be sorted by the following fields, in ascending and descending order: ascending: `id`, `name`, `created`, `updated` descending: `-id`, `-name`, `-created`, `-updated` Returns a maximum of 50 flows per request, which can be paginated with offset pagination. Offset pagination uses the following parameters: `page[size]` and `page[number]`<br><br>*Rate limits*:<br>Burst: `3/s`<br>Steady: `60/m` **Scopes:** `flows:read` # @param id [String] # @param [Hash] opts the optional parameters - # @option opts [Array] :fields_flow_message For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`id`: `any`<br>`name`: `contains`, `ends-with`, `equals`, `starts-with`<br>`created`: `equals`, `greater-or-equal`, `greater-than`, `less-or-equal`, `less-than`<br>`updated`: `equals`, `greater-or-equal`, `greater-than`, `less-or-equal`, `less-than` + # @option opts [Array] :fields_flow_message For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [String] :filter 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`<br>`name`: `contains`, `ends-with`, `equals`, `starts-with`<br>`created`: `equals`, `greater-or-equal`, `greater-than`, `less-or-equal`, `less-than`<br>`updated`: `equals`, `greater-or-equal`, `greater-than`, `less-or-equal`, `less-than` # @option opts [Integer] :page_size Default: 50. Min: 1. Max: 100. (default to 50) - # @option opts [String] :sort For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sorting + # @option opts [String] :sort For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sorting # @return [Array<(Hash, Integer, Hash)>] Hash data, response status code and response headers def get_flow_action_messages_with_http_info(id, opts = {}) if @api_client.config.debugging @@ -402,7 +402,7 @@ def get_flow_action_messages_with_http_info(id, opts = {}) # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) @@ -467,7 +467,7 @@ def get_flow_action_relationships_flow_with_http_info(id, opts = {}) # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) @@ -504,10 +504,10 @@ def get_flow_action_relationships_flow_with_http_info(id, opts = {}) # Get all relationships for flow messages associated with the given flow action ID. Returns a maximum of 50 flow message relationships per request, which can be paginated with cursor-based pagination.

*Rate limits*:
Burst: `3/s`
Steady: `60/m` **Scopes:** `flows:read` # @param id [String] # @param [Hash] opts the optional parameters - # @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`name`: `contains`, `ends-with`, `equals`, `starts-with`<br>`created`: `equals`, `greater-or-equal`, `greater-than`, `less-or-equal`, `less-than`<br>`updated`: `equals`, `greater-or-equal`, `greater-than`, `less-or-equal`, `less-than` - # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#pagination + # @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`name`: `contains`, `ends-with`, `equals`, `starts-with`<br>`created`: `equals`, `greater-or-equal`, `greater-than`, `less-or-equal`, `less-than`<br>`updated`: `equals`, `greater-or-equal`, `greater-than`, `less-or-equal`, `less-than` + # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#pagination # @option opts [Integer] :page_size Default: 50. Min: 1. Max: 50. (default to 50) - # @option opts [String] :sort For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sorting + # @option opts [String] :sort For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sorting # @return [Hash] def get_flow_action_relationships_messages(id, opts = {}) data, _status_code, _headers = get_flow_action_relationships_messages_with_http_info(id, opts) @@ -518,10 +518,10 @@ def get_flow_action_relationships_messages(id, opts = {}) # Get all relationships for flow messages associated with the given flow action ID. Returns a maximum of 50 flow message relationships per request, which can be paginated with cursor-based pagination.<br><br>*Rate limits*:<br>Burst: `3/s`<br>Steady: `60/m` **Scopes:** `flows:read` # @param id [String] # @param [Hash] opts the optional parameters - # @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`name`: `contains`, `ends-with`, `equals`, `starts-with`<br>`created`: `equals`, `greater-or-equal`, `greater-than`, `less-or-equal`, `less-than`<br>`updated`: `equals`, `greater-or-equal`, `greater-than`, `less-or-equal`, `less-than` - # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#pagination + # @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`name`: `contains`, `ends-with`, `equals`, `starts-with`<br>`created`: `equals`, `greater-or-equal`, `greater-than`, `less-or-equal`, `less-than`<br>`updated`: `equals`, `greater-or-equal`, `greater-than`, `less-or-equal`, `less-than` + # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#pagination # @option opts [Integer] :page_size Default: 50. Min: 1. Max: 50. (default to 50) - # @option opts [String] :sort For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sorting + # @option opts [String] :sort For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sorting # @return [Array<(Hash, Integer, Hash)>] Hash data, response status code and response headers def get_flow_action_relationships_messages_with_http_info(id, opts = {}) if @api_client.config.debugging @@ -556,7 +556,7 @@ def get_flow_action_relationships_messages_with_http_info(id, opts = {}) # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) @@ -593,11 +593,11 @@ def get_flow_action_relationships_messages_with_http_info(id, opts = {}) # Get all flow actions associated with the given flow ID. Returns a maximum of 50 flows per request, which can be paginated with cursor-based pagination.

*Rate limits*:
Burst: `3/s`
Steady: `60/m` **Scopes:** `flows:read` # @param id [String] # @param [Hash] opts the optional parameters - # @option opts [Array] :fields_flow_action For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`id`: `any`<br>`action_type`: `any`, `equals`<br>`status`: `equals`<br>`created`: `equals`, `greater-or-equal`, `greater-than`, `less-or-equal`, `less-than`<br>`updated`: `equals`, `greater-or-equal`, `greater-than`, `less-or-equal`, `less-than` - # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#pagination + # @option opts [Array] :fields_flow_action For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [String] :filter 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`<br>`action_type`: `any`, `equals`<br>`status`: `equals`<br>`created`: `equals`, `greater-or-equal`, `greater-than`, `less-or-equal`, `less-than`<br>`updated`: `equals`, `greater-or-equal`, `greater-than`, `less-or-equal`, `less-than` + # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#pagination # @option opts [Integer] :page_size Default: 50. Min: 1. Max: 50. (default to 50) - # @option opts [String] :sort For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sorting + # @option opts [String] :sort For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sorting # @return [Hash] def get_flow_flow_actions(id, opts = {}) data, _status_code, _headers = get_flow_flow_actions_with_http_info(id, opts) @@ -608,11 +608,11 @@ def get_flow_flow_actions(id, opts = {}) # Get all flow actions associated with the given flow ID. Returns a maximum of 50 flows per request, which can be paginated with cursor-based pagination.<br><br>*Rate limits*:<br>Burst: `3/s`<br>Steady: `60/m` **Scopes:** `flows:read` # @param id [String] # @param [Hash] opts the optional parameters - # @option opts [Array] :fields_flow_action For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`id`: `any`<br>`action_type`: `any`, `equals`<br>`status`: `equals`<br>`created`: `equals`, `greater-or-equal`, `greater-than`, `less-or-equal`, `less-than`<br>`updated`: `equals`, `greater-or-equal`, `greater-than`, `less-or-equal`, `less-than` - # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#pagination + # @option opts [Array] :fields_flow_action For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [String] :filter 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`<br>`action_type`: `any`, `equals`<br>`status`: `equals`<br>`created`: `equals`, `greater-or-equal`, `greater-than`, `less-or-equal`, `less-than`<br>`updated`: `equals`, `greater-or-equal`, `greater-than`, `less-or-equal`, `less-than` + # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#pagination # @option opts [Integer] :page_size Default: 50. Min: 1. Max: 50. (default to 50) - # @option opts [String] :sort For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sorting + # @option opts [String] :sort For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sorting # @return [Array<(Hash, Integer, Hash)>] Hash data, response status code and response headers def get_flow_flow_actions_with_http_info(id, opts = {}) if @api_client.config.debugging @@ -652,7 +652,7 @@ def get_flow_flow_actions_with_http_info(id, opts = {}) # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) @@ -689,10 +689,10 @@ def get_flow_flow_actions_with_http_info(id, opts = {}) # Get the flow message of a flow with the given message ID.

*Rate limits*:
Burst: `3/s`
Steady: `60/m` **Scopes:** `flows:read` # @param id [String] # @param [Hash] opts the optional parameters - # @option opts [Array] :fields_flow_action For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [Array] :fields_flow_message For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [Array] :fields_template For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [Array] :include For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#relationships + # @option opts [Array] :fields_flow_action For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :fields_flow_message For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :fields_template For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :include For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#relationships # @return [Hash] def get_flow_message(id, opts = {}) data, _status_code, _headers = get_flow_message_with_http_info(id, opts) @@ -703,10 +703,10 @@ def get_flow_message(id, opts = {}) # Get the flow message of a flow with the given message ID.<br><br>*Rate limits*:<br>Burst: `3/s`<br>Steady: `60/m` **Scopes:** `flows:read` # @param id [String] # @param [Hash] opts the optional parameters - # @option opts [Array] :fields_flow_action For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [Array] :fields_flow_message For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [Array] :fields_template For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [Array] :include For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#relationships + # @option opts [Array] :fields_flow_action For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :fields_flow_message For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :fields_template For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :include For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#relationships # @return [Array<(Hash, Integer, Hash)>] Hash data, response status code and response headers def get_flow_message_with_http_info(id, opts = {}) if @api_client.config.debugging @@ -745,7 +745,7 @@ def get_flow_message_with_http_info(id, opts = {}) # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) @@ -782,7 +782,7 @@ def get_flow_message_with_http_info(id, opts = {}) # Get the flow action for a flow message with the given message ID.

*Rate limits*:
Burst: `3/s`
Steady: `60/m` **Scopes:** `flows:read` # @param id [String] # @param [Hash] opts the optional parameters - # @option opts [Array] :fields_flow_action For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :fields_flow_action For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets # @return [Hash] def get_flow_message_action(id, opts = {}) data, _status_code, _headers = get_flow_message_action_with_http_info(id, opts) @@ -793,7 +793,7 @@ def get_flow_message_action(id, opts = {}) # Get the flow action for a flow message with the given message ID.<br><br>*Rate limits*:<br>Burst: `3/s`<br>Steady: `60/m` **Scopes:** `flows:read` # @param id [String] # @param [Hash] opts the optional parameters - # @option opts [Array] :fields_flow_action For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :fields_flow_action For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets # @return [Array<(Hash, Integer, Hash)>] Hash data, response status code and response headers def get_flow_message_action_with_http_info(id, opts = {}) if @api_client.config.debugging @@ -817,7 +817,7 @@ def get_flow_message_action_with_http_info(id, opts = {}) # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) @@ -882,7 +882,7 @@ def get_flow_message_relationships_action_with_http_info(id, opts = {}) # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) @@ -947,7 +947,7 @@ def get_flow_message_relationships_template_with_http_info(id, opts = {}) # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) @@ -984,7 +984,7 @@ def get_flow_message_relationships_template_with_http_info(id, opts = {}) # Return the related template

*Rate limits*:
Burst: `3/s`
Steady: `60/m` **Scopes:** `templates:read` # @param id [String] # @param [Hash] opts the optional parameters - # @option opts [Array] :fields_template For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :fields_template For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets # @return [Hash] def get_flow_message_template(id, opts = {}) data, _status_code, _headers = get_flow_message_template_with_http_info(id, opts) @@ -995,7 +995,7 @@ def get_flow_message_template(id, opts = {}) # Return the related template<br><br>*Rate limits*:<br>Burst: `3/s`<br>Steady: `60/m` **Scopes:** `templates:read` # @param id [String] # @param [Hash] opts the optional parameters - # @option opts [Array] :fields_template For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :fields_template For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets # @return [Array<(Hash, Integer, Hash)>] Hash data, response status code and response headers def get_flow_message_template_with_http_info(id, opts = {}) if @api_client.config.debugging @@ -1019,7 +1019,7 @@ def get_flow_message_template_with_http_info(id, opts = {}) # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) @@ -1056,9 +1056,9 @@ def get_flow_message_template_with_http_info(id, opts = {}) # Get all [relationships](https://developers.klaviyo.com/en/reference/api_overview#relationships) for flow actions associated with the given flow ID. Flow action relationships can be sorted by the following fields, in ascending and descending order: `id`, `status`, `created`, `updated` Use filters to narrow your results. Returns a maximum of 50 flow action relationships per request, which can be paginated with offset pagination. Offset pagination uses the following parameters: `page[size]` and `page[number]`.

*Rate limits*:
Burst: `3/s`
Steady: `60/m` **Scopes:** `flows:read` # @param id [String] # @param [Hash] opts the optional parameters - # @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`action_type`: `equals`<br>`status`: `equals`<br>`created`: `equals`, `greater-or-equal`, `greater-than`, `less-or-equal`, `less-than`<br>`updated`: `equals`, `greater-or-equal`, `greater-than`, `less-or-equal`, `less-than` + # @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`action_type`: `equals`<br>`status`: `equals`<br>`created`: `equals`, `greater-or-equal`, `greater-than`, `less-or-equal`, `less-than`<br>`updated`: `equals`, `greater-or-equal`, `greater-than`, `less-or-equal`, `less-than` # @option opts [Integer] :page_size Default: 50. Min: 1. Max: 100. (default to 50) - # @option opts [String] :sort For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sorting + # @option opts [String] :sort For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sorting # @return [Hash] def get_flow_relationships_flow_actions(id, opts = {}) data, _status_code, _headers = get_flow_relationships_flow_actions_with_http_info(id, opts) @@ -1069,9 +1069,9 @@ def get_flow_relationships_flow_actions(id, opts = {}) # Get all [relationships](https://developers.klaviyo.com/en/reference/api_overview#relationships) for flow actions associated with the given flow ID. Flow action relationships can be sorted by the following fields, in ascending and descending order: `id`, `status`, `created`, `updated` Use filters to narrow your results. Returns a maximum of 50 flow action relationships per request, which can be paginated with offset pagination. Offset pagination uses the following parameters: `page[size]` and `page[number]`.<br><br>*Rate limits*:<br>Burst: `3/s`<br>Steady: `60/m` **Scopes:** `flows:read` # @param id [String] # @param [Hash] opts the optional parameters - # @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`action_type`: `equals`<br>`status`: `equals`<br>`created`: `equals`, `greater-or-equal`, `greater-than`, `less-or-equal`, `less-than`<br>`updated`: `equals`, `greater-or-equal`, `greater-than`, `less-or-equal`, `less-than` + # @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`action_type`: `equals`<br>`status`: `equals`<br>`created`: `equals`, `greater-or-equal`, `greater-than`, `less-or-equal`, `less-than`<br>`updated`: `equals`, `greater-or-equal`, `greater-than`, `less-or-equal`, `less-than` # @option opts [Integer] :page_size Default: 50. Min: 1. Max: 100. (default to 50) - # @option opts [String] :sort For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sorting + # @option opts [String] :sort For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sorting # @return [Array<(Hash, Integer, Hash)>] Hash data, response status code and response headers def get_flow_relationships_flow_actions_with_http_info(id, opts = {}) if @api_client.config.debugging @@ -1105,7 +1105,7 @@ def get_flow_relationships_flow_actions_with_http_info(id, opts = {}) # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) @@ -1170,7 +1170,7 @@ def get_flow_relationships_tags_with_http_info(id, opts = {}) # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) @@ -1207,7 +1207,7 @@ def get_flow_relationships_tags_with_http_info(id, opts = {}) # Return all tags associated with the given flow ID.

*Rate limits*:
Burst: `3/s`
Steady: `60/m` **Scopes:** `flows:read` `tags:read` # @param id [String] # @param [Hash] opts the optional parameters - # @option opts [Array] :fields_tag For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :fields_tag For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets # @return [Hash] def get_flow_tags(id, opts = {}) data, _status_code, _headers = get_flow_tags_with_http_info(id, opts) @@ -1218,7 +1218,7 @@ def get_flow_tags(id, opts = {}) # Return all tags associated with the given flow ID.<br><br>*Rate limits*:<br>Burst: `3/s`<br>Steady: `60/m` **Scopes:** `flows:read` `tags:read` # @param id [String] # @param [Hash] opts the optional parameters - # @option opts [Array] :fields_tag For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :fields_tag For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets # @return [Array<(Hash, Integer, Hash)>] Hash data, response status code and response headers def get_flow_tags_with_http_info(id, opts = {}) if @api_client.config.debugging @@ -1242,7 +1242,7 @@ def get_flow_tags_with_http_info(id, opts = {}) # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) @@ -1278,14 +1278,14 @@ def get_flow_tags_with_http_info(id, opts = {}) # Get Flows # Get all flows in an account. Returns a maximum of 50 flows per request, which can be paginated with cursor-based pagination.

*Rate limits*:
Burst: `3/s`
Steady: `60/m` **Scopes:** `flows:read` # @param [Hash] opts the optional parameters - # @option opts [Array] :fields_flow_action For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [Array] :fields_flow For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [Array] :fields_tag For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`id`: `any`<br>`name`: `contains`, `ends-with`, `equals`, `starts-with`<br>`status`: `equals`<br>`archived`: `equals`<br>`created`: `equals`, `greater-or-equal`, `greater-than`, `less-or-equal`, `less-than`<br>`updated`: `equals`, `greater-or-equal`, `greater-than`, `less-or-equal`, `less-than`<br>`trigger_type`: `equals` - # @option opts [Array] :include For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#relationships - # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#pagination + # @option opts [Array] :fields_flow_action For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :fields_flow For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :fields_tag For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [String] :filter 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`<br>`name`: `contains`, `ends-with`, `equals`, `starts-with`<br>`status`: `equals`<br>`archived`: `equals`<br>`created`: `equals`, `greater-or-equal`, `greater-than`, `less-or-equal`, `less-than`<br>`updated`: `equals`, `greater-or-equal`, `greater-than`, `less-or-equal`, `less-than`<br>`trigger_type`: `equals` + # @option opts [Array] :include For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#relationships + # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#pagination # @option opts [Integer] :page_size Default: 50. Min: 1. Max: 50. (default to 50) - # @option opts [String] :sort For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sorting + # @option opts [String] :sort For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sorting # @return [Hash] def get_flows(opts = {}) data, _status_code, _headers = get_flows_with_http_info(opts) @@ -1295,14 +1295,14 @@ def get_flows(opts = {}) # Get Flows # Get all flows in an account. Returns a maximum of 50 flows per request, which can be paginated with cursor-based pagination.<br><br>*Rate limits*:<br>Burst: `3/s`<br>Steady: `60/m` **Scopes:** `flows:read` # @param [Hash] opts the optional parameters - # @option opts [Array] :fields_flow_action For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [Array] :fields_flow For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [Array] :fields_tag For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`id`: `any`<br>`name`: `contains`, `ends-with`, `equals`, `starts-with`<br>`status`: `equals`<br>`archived`: `equals`<br>`created`: `equals`, `greater-or-equal`, `greater-than`, `less-or-equal`, `less-than`<br>`updated`: `equals`, `greater-or-equal`, `greater-than`, `less-or-equal`, `less-than`<br>`trigger_type`: `equals` - # @option opts [Array] :include For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#relationships - # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#pagination + # @option opts [Array] :fields_flow_action For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :fields_flow For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :fields_tag For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [String] :filter 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`<br>`name`: `contains`, `ends-with`, `equals`, `starts-with`<br>`status`: `equals`<br>`archived`: `equals`<br>`created`: `equals`, `greater-or-equal`, `greater-than`, `less-or-equal`, `less-than`<br>`updated`: `equals`, `greater-or-equal`, `greater-than`, `less-or-equal`, `less-than`<br>`trigger_type`: `equals` + # @option opts [Array] :include For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#relationships + # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#pagination # @option opts [Integer] :page_size Default: 50. Min: 1. Max: 50. (default to 50) - # @option opts [String] :sort For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sorting + # @option opts [String] :sort For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sorting # @return [Array<(Hash, Integer, Hash)>] Hash data, response status code and response headers def get_flows_with_http_info(opts = {}) if @api_client.config.debugging @@ -1353,7 +1353,7 @@ def get_flows_with_http_info(opts = {}) # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) @@ -1424,7 +1424,7 @@ def update_flow_with_http_info(id, flow_update_query, opts = {}) # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' diff --git a/lib/klaviyo-api-sdk/api/forms_api.rb b/lib/klaviyo-api-sdk/api/forms_api.rb new file mode 100644 index 0000000..02de5dc --- /dev/null +++ b/lib/klaviyo-api-sdk/api/forms_api.rb @@ -0,0 +1,568 @@ +=begin +#Klaviyo API + +#The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. + +The version of the OpenAPI document: 2024-07-15 +Contact: developers@klaviyo.com +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.2.1 + +=end + +require 'cgi' + +module KlaviyoAPI + class FormsApi + attr_accessor :api_client + + def initialize(api_client = ApiClient.default) + @api_client = api_client + end + # Get Form + # Get the form with the given ID.

*Rate limits*:
Burst: `3/s`
Steady: `60/m` **Scopes:** `forms:read` + # @param id [String] The ID of the form + # @param [Hash] opts the optional parameters + # @option opts [Array] :fields_form_version For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :fields_form For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :include For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#relationships + # @return [Hash] + def get_form(id, opts = {}) + data, _status_code, _headers = get_form_with_http_info(id, opts) + data + end + + # Get Form + # Get the form with the given ID.<br><br>*Rate limits*:<br>Burst: `3/s`<br>Steady: `60/m` **Scopes:** `forms:read` + # @param id [String] The ID of the form + # @param [Hash] opts the optional parameters + # @option opts [Array] :fields_form_version For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :fields_form For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :include For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#relationships + # @return [Array<(Hash, Integer, Hash)>] Hash data, response status code and response headers + def get_form_with_http_info(id, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug 'Calling API: FormsApi.get_form ...' + end + # verify the required parameter 'id' is set + if @api_client.config.client_side_validation && id.nil? + fail ArgumentError, "Missing the required parameter 'id' when calling FormsApi.get_form" + end + allowable_values = ["form_type", "ab_test", "ab_test.variation_name", "status", "created_at", "updated_at"] + if @api_client.config.client_side_validation && opts[:'fields_form_version'] && !opts[:'fields_form_version'].all? { |item| allowable_values.include?(item) } + fail ArgumentError, "invalid value for \"fields_form_version\", must include one of #{allowable_values}" + end + allowable_values = ["name", "status", "ab_test", "created_at", "updated_at"] + if @api_client.config.client_side_validation && opts[:'fields_form'] && !opts[:'fields_form'].all? { |item| allowable_values.include?(item) } + fail ArgumentError, "invalid value for \"fields_form\", must include one of #{allowable_values}" + end + allowable_values = ["form-versions"] + if @api_client.config.client_side_validation && opts[:'include'] && !opts[:'include'].all? { |item| allowable_values.include?(item) } + fail ArgumentError, "invalid value for \"include\", must include one of #{allowable_values}" + end + # resource path + local_var_path = '/api/forms/{id}/'.sub('{' + 'id' + '}', CGI.escape(id.to_s)) + + # query parameters + query_params = opts[:query_params] || {} + query_params[:'fields[form-version]'] = @api_client.build_collection_param(opts[:'fields_form_version'], :csv) if !opts[:'fields_form_version'].nil? + query_params[:'fields[form]'] = @api_client.build_collection_param(opts[:'fields_form'], :csv) if !opts[:'fields_form'].nil? + query_params[:'include'] = @api_client.build_collection_param(opts[:'include'], :csv) if !opts[:'include'].nil? + + # header parameters + header_params = opts[:header_params] || {} + # klaviyo api revision + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json']) + + # form parameters + form_params = opts[:form_params] || {} + + # http body (model) + post_body = opts[:debug_body] + + # return_type + return_type = opts[:debug_return_type] || 'Hash' + + # auth_names + auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key'] + + new_options = opts.merge( + :operation => :"FormsApi.get_form", + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => return_type + ) + + data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options) + if @api_client.config.debugging + @api_client.config.logger.debug "API called: FormsApi#get_form\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # Get Form for Form Version + # Get the form associated with the given form version.

*Rate limits*:
Burst: `3/s`
Steady: `60/m` **Scopes:** `forms:read` + # @param id [String] + # @param [Hash] opts the optional parameters + # @option opts [Array] :fields_form For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @return [Hash] + def get_form_for_form_version(id, opts = {}) + data, _status_code, _headers = get_form_for_form_version_with_http_info(id, opts) + data + end + + # Get Form for Form Version + # Get the form associated with the given form version.<br><br>*Rate limits*:<br>Burst: `3/s`<br>Steady: `60/m` **Scopes:** `forms:read` + # @param id [String] + # @param [Hash] opts the optional parameters + # @option opts [Array] :fields_form For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @return [Array<(Hash, Integer, Hash)>] Hash data, response status code and response headers + def get_form_for_form_version_with_http_info(id, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug 'Calling API: FormsApi.get_form_for_form_version ...' + end + # verify the required parameter 'id' is set + if @api_client.config.client_side_validation && id.nil? + fail ArgumentError, "Missing the required parameter 'id' when calling FormsApi.get_form_for_form_version" + end + allowable_values = ["name", "status", "ab_test", "created_at", "updated_at"] + if @api_client.config.client_side_validation && opts[:'fields_form'] && !opts[:'fields_form'].all? { |item| allowable_values.include?(item) } + fail ArgumentError, "invalid value for \"fields_form\", must include one of #{allowable_values}" + end + # resource path + local_var_path = '/api/form-versions/{id}/form/'.sub('{' + 'id' + '}', CGI.escape(id.to_s)) + + # query parameters + query_params = opts[:query_params] || {} + query_params[:'fields[form]'] = @api_client.build_collection_param(opts[:'fields_form'], :csv) if !opts[:'fields_form'].nil? + + # header parameters + header_params = opts[:header_params] || {} + # klaviyo api revision + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json']) + + # form parameters + form_params = opts[:form_params] || {} + + # http body (model) + post_body = opts[:debug_body] + + # return_type + return_type = opts[:debug_return_type] || 'Hash' + + # auth_names + auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key'] + + new_options = opts.merge( + :operation => :"FormsApi.get_form_for_form_version", + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => return_type + ) + + data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options) + if @api_client.config.debugging + @api_client.config.logger.debug "API called: FormsApi#get_form_for_form_version\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # Get Form ID for Form Version + # Get the ID of the form associated with the given form version.

*Rate limits*:
Burst: `3/s`
Steady: `60/m` **Scopes:** `forms:read` + # @param id [String] + # @param [Hash] opts the optional parameters + # @return [Hash] + def get_form_id_for_form_version(id, opts = {}) + data, _status_code, _headers = get_form_id_for_form_version_with_http_info(id, opts) + data + end + + # Get Form ID for Form Version + # Get the ID of the form associated with the given form version.<br><br>*Rate limits*:<br>Burst: `3/s`<br>Steady: `60/m` **Scopes:** `forms:read` + # @param id [String] + # @param [Hash] opts the optional parameters + # @return [Array<(Hash, Integer, Hash)>] Hash data, response status code and response headers + def get_form_id_for_form_version_with_http_info(id, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug 'Calling API: FormsApi.get_form_id_for_form_version ...' + end + # verify the required parameter 'id' is set + if @api_client.config.client_side_validation && id.nil? + fail ArgumentError, "Missing the required parameter 'id' when calling FormsApi.get_form_id_for_form_version" + end + # resource path + local_var_path = '/api/form-versions/{id}/relationships/form/'.sub('{' + 'id' + '}', CGI.escape(id.to_s)) + + # query parameters + query_params = opts[:query_params] || {} + + # header parameters + header_params = opts[:header_params] || {} + # klaviyo api revision + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json']) + + # form parameters + form_params = opts[:form_params] || {} + + # http body (model) + post_body = opts[:debug_body] + + # return_type + return_type = opts[:debug_return_type] || 'Hash' + + # auth_names + auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key'] + + new_options = opts.merge( + :operation => :"FormsApi.get_form_id_for_form_version", + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => return_type + ) + + data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options) + if @api_client.config.debugging + @api_client.config.logger.debug "API called: FormsApi#get_form_id_for_form_version\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # Get Form Version + # Get the form version with the given ID.

*Rate limits*:
Burst: `3/s`
Steady: `60/m` **Scopes:** `forms:read` + # @param id [String] The ID of the form version + # @param [Hash] opts the optional parameters + # @option opts [Array] :fields_form_version For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @return [Hash] + def get_form_version(id, opts = {}) + data, _status_code, _headers = get_form_version_with_http_info(id, opts) + data + end + + # Get Form Version + # Get the form version with the given ID.<br><br>*Rate limits*:<br>Burst: `3/s`<br>Steady: `60/m` **Scopes:** `forms:read` + # @param id [String] The ID of the form version + # @param [Hash] opts the optional parameters + # @option opts [Array] :fields_form_version For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @return [Array<(Hash, Integer, Hash)>] Hash data, response status code and response headers + def get_form_version_with_http_info(id, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug 'Calling API: FormsApi.get_form_version ...' + end + # verify the required parameter 'id' is set + if @api_client.config.client_side_validation && id.nil? + fail ArgumentError, "Missing the required parameter 'id' when calling FormsApi.get_form_version" + end + allowable_values = ["form_type", "ab_test", "ab_test.variation_name", "status", "created_at", "updated_at"] + if @api_client.config.client_side_validation && opts[:'fields_form_version'] && !opts[:'fields_form_version'].all? { |item| allowable_values.include?(item) } + fail ArgumentError, "invalid value for \"fields_form_version\", must include one of #{allowable_values}" + end + # resource path + local_var_path = '/api/form-versions/{id}/'.sub('{' + 'id' + '}', CGI.escape(id.to_s)) + + # query parameters + query_params = opts[:query_params] || {} + query_params[:'fields[form-version]'] = @api_client.build_collection_param(opts[:'fields_form_version'], :csv) if !opts[:'fields_form_version'].nil? + + # header parameters + header_params = opts[:header_params] || {} + # klaviyo api revision + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json']) + + # form parameters + form_params = opts[:form_params] || {} + + # http body (model) + post_body = opts[:debug_body] + + # return_type + return_type = opts[:debug_return_type] || 'Hash' + + # auth_names + auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key'] + + new_options = opts.merge( + :operation => :"FormsApi.get_form_version", + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => return_type + ) + + data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options) + if @api_client.config.debugging + @api_client.config.logger.debug "API called: FormsApi#get_form_version\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # Get Forms + # Get all forms in an account.

*Rate limits*:
Burst: `3/s`
Steady: `60/m` **Scopes:** `forms:read` + # @param [Hash] opts the optional parameters + # @option opts [Array] :fields_form For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [String] :filter 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>`name`: `any`, `contains`, `equals`<br>`ab_test`: `equals`<br>`updated_at`: `greater-or-equal`, `greater-than`, `less-or-equal`, `less-than`<br>`created_at`: `greater-or-equal`, `greater-than`, `less-or-equal`, `less-than`<br>`status`: `equals` + # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#pagination + # @option opts [Integer] :page_size Default: 20. Min: 1. Max: 100. (default to 20) + # @option opts [String] :sort For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sorting + # @return [Hash] + def get_forms(opts = {}) + data, _status_code, _headers = get_forms_with_http_info(opts) + data + end + + # Get Forms + # Get all forms in an account.<br><br>*Rate limits*:<br>Burst: `3/s`<br>Steady: `60/m` **Scopes:** `forms:read` + # @param [Hash] opts the optional parameters + # @option opts [Array] :fields_form For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [String] :filter 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>`name`: `any`, `contains`, `equals`<br>`ab_test`: `equals`<br>`updated_at`: `greater-or-equal`, `greater-than`, `less-or-equal`, `less-than`<br>`created_at`: `greater-or-equal`, `greater-than`, `less-or-equal`, `less-than`<br>`status`: `equals` + # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#pagination + # @option opts [Integer] :page_size Default: 20. Min: 1. Max: 100. (default to 20) + # @option opts [String] :sort For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sorting + # @return [Array<(Hash, Integer, Hash)>] Hash data, response status code and response headers + def get_forms_with_http_info(opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug 'Calling API: FormsApi.get_forms ...' + end + allowable_values = ["name", "status", "ab_test", "created_at", "updated_at"] + if @api_client.config.client_side_validation && opts[:'fields_form'] && !opts[:'fields_form'].all? { |item| allowable_values.include?(item) } + fail ArgumentError, "invalid value for \"fields_form\", must include one of #{allowable_values}" + end + if @api_client.config.client_side_validation && !opts[:'page_size'].nil? && opts[:'page_size'] > 100 + fail ArgumentError, 'invalid value for "opts[:"page_size"]" when calling FormsApi.get_forms, must be smaller than or equal to 100.' + end + + if @api_client.config.client_side_validation && !opts[:'page_size'].nil? && opts[:'page_size'] < 1 + fail ArgumentError, 'invalid value for "opts[:"page_size"]" when calling FormsApi.get_forms, must be greater than or equal to 1.' + end + + allowable_values = ["created_at", "-created_at", "updated_at", "-updated_at"] + if @api_client.config.client_side_validation && opts[:'sort'] && !allowable_values.include?(opts[:'sort']) + fail ArgumentError, "invalid value for \"sort\", must be one of #{allowable_values}" + end + # resource path + local_var_path = '/api/forms/' + + # query parameters + query_params = opts[:query_params] || {} + query_params[:'fields[form]'] = @api_client.build_collection_param(opts[:'fields_form'], :csv) if !opts[:'fields_form'].nil? + query_params[:'filter'] = opts[:'filter'] if !opts[:'filter'].nil? + query_params[:'page[cursor]'] = opts[:'page_cursor'] if !opts[:'page_cursor'].nil? + query_params[:'page[size]'] = opts[:'page_size'] if !opts[:'page_size'].nil? + query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil? + + # header parameters + header_params = opts[:header_params] || {} + # klaviyo api revision + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json']) + + # form parameters + form_params = opts[:form_params] || {} + + # http body (model) + post_body = opts[:debug_body] + + # return_type + return_type = opts[:debug_return_type] || 'Hash' + + # auth_names + auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key'] + + new_options = opts.merge( + :operation => :"FormsApi.get_forms", + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => return_type + ) + + data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options) + if @api_client.config.debugging + @api_client.config.logger.debug "API called: FormsApi#get_forms\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # Get Version IDs for Form + # Get the IDs of the form versions for the given form.

*Rate limits*:
Burst: `3/s`
Steady: `60/m` **Scopes:** `forms:read` + # @param id [String] + # @param [Hash] opts the optional parameters + # @return [Hash] + def get_version_ids_for_form(id, opts = {}) + data, _status_code, _headers = get_version_ids_for_form_with_http_info(id, opts) + data + end + + # Get Version IDs for Form + # Get the IDs of the form versions for the given form.<br><br>*Rate limits*:<br>Burst: `3/s`<br>Steady: `60/m` **Scopes:** `forms:read` + # @param id [String] + # @param [Hash] opts the optional parameters + # @return [Array<(Hash, Integer, Hash)>] Hash data, response status code and response headers + def get_version_ids_for_form_with_http_info(id, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug 'Calling API: FormsApi.get_version_ids_for_form ...' + end + # verify the required parameter 'id' is set + if @api_client.config.client_side_validation && id.nil? + fail ArgumentError, "Missing the required parameter 'id' when calling FormsApi.get_version_ids_for_form" + end + # resource path + local_var_path = '/api/forms/{id}/relationships/form-versions/'.sub('{' + 'id' + '}', CGI.escape(id.to_s)) + + # query parameters + query_params = opts[:query_params] || {} + + # header parameters + header_params = opts[:header_params] || {} + # klaviyo api revision + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json']) + + # form parameters + form_params = opts[:form_params] || {} + + # http body (model) + post_body = opts[:debug_body] + + # return_type + return_type = opts[:debug_return_type] || 'Hash' + + # auth_names + auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key'] + + new_options = opts.merge( + :operation => :"FormsApi.get_version_ids_for_form", + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => return_type + ) + + data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options) + if @api_client.config.debugging + @api_client.config.logger.debug "API called: FormsApi#get_version_ids_for_form\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # Get Versions for Form + # Get the form versions for the given form.

*Rate limits*:
Burst: `3/s`
Steady: `60/m` **Scopes:** `forms:read` + # @param id [String] + # @param [Hash] opts the optional parameters + # @option opts [Array] :fields_form_version For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`form_type`: `any`, `equals`<br>`status`: `equals`<br>`updated_at`: `greater-or-equal`, `greater-than`, `less-or-equal`, `less-than`<br>`created_at`: `greater-or-equal`, `greater-than`, `less-or-equal`, `less-than` + # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#pagination + # @option opts [Integer] :page_size Default: 20. Min: 1. Max: 100. (default to 20) + # @option opts [String] :sort For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sorting + # @return [Hash] + def get_versions_for_form(id, opts = {}) + data, _status_code, _headers = get_versions_for_form_with_http_info(id, opts) + data + end + + # Get Versions for Form + # Get the form versions for the given form.<br><br>*Rate limits*:<br>Burst: `3/s`<br>Steady: `60/m` **Scopes:** `forms:read` + # @param id [String] + # @param [Hash] opts the optional parameters + # @option opts [Array] :fields_form_version For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`form_type`: `any`, `equals`<br>`status`: `equals`<br>`updated_at`: `greater-or-equal`, `greater-than`, `less-or-equal`, `less-than`<br>`created_at`: `greater-or-equal`, `greater-than`, `less-or-equal`, `less-than` + # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#pagination + # @option opts [Integer] :page_size Default: 20. Min: 1. Max: 100. (default to 20) + # @option opts [String] :sort For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sorting + # @return [Array<(Hash, Integer, Hash)>] Hash data, response status code and response headers + def get_versions_for_form_with_http_info(id, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug 'Calling API: FormsApi.get_versions_for_form ...' + end + # verify the required parameter 'id' is set + if @api_client.config.client_side_validation && id.nil? + fail ArgumentError, "Missing the required parameter 'id' when calling FormsApi.get_versions_for_form" + end + allowable_values = ["form_type", "ab_test", "ab_test.variation_name", "status", "created_at", "updated_at"] + if @api_client.config.client_side_validation && opts[:'fields_form_version'] && !opts[:'fields_form_version'].all? { |item| allowable_values.include?(item) } + fail ArgumentError, "invalid value for \"fields_form_version\", must include one of #{allowable_values}" + end + if @api_client.config.client_side_validation && !opts[:'page_size'].nil? && opts[:'page_size'] > 100 + fail ArgumentError, 'invalid value for "opts[:"page_size"]" when calling FormsApi.get_versions_for_form, must be smaller than or equal to 100.' + end + + if @api_client.config.client_side_validation && !opts[:'page_size'].nil? && opts[:'page_size'] < 1 + fail ArgumentError, 'invalid value for "opts[:"page_size"]" when calling FormsApi.get_versions_for_form, must be greater than or equal to 1.' + end + + allowable_values = ["created_at", "-created_at", "updated_at", "-updated_at"] + if @api_client.config.client_side_validation && opts[:'sort'] && !allowable_values.include?(opts[:'sort']) + fail ArgumentError, "invalid value for \"sort\", must be one of #{allowable_values}" + end + # resource path + local_var_path = '/api/forms/{id}/form-versions/'.sub('{' + 'id' + '}', CGI.escape(id.to_s)) + + # query parameters + query_params = opts[:query_params] || {} + query_params[:'fields[form-version]'] = @api_client.build_collection_param(opts[:'fields_form_version'], :csv) if !opts[:'fields_form_version'].nil? + query_params[:'filter'] = opts[:'filter'] if !opts[:'filter'].nil? + query_params[:'page[cursor]'] = opts[:'page_cursor'] if !opts[:'page_cursor'].nil? + query_params[:'page[size]'] = opts[:'page_size'] if !opts[:'page_size'].nil? + query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil? + + # header parameters + header_params = opts[:header_params] || {} + # klaviyo api revision + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json']) + + # form parameters + form_params = opts[:form_params] || {} + + # http body (model) + post_body = opts[:debug_body] + + # return_type + return_type = opts[:debug_return_type] || 'Hash' + + # auth_names + auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key'] + + new_options = opts.merge( + :operation => :"FormsApi.get_versions_for_form", + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => return_type + ) + + data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options) + if @api_client.config.debugging + @api_client.config.logger.debug "API called: FormsApi#get_versions_for_form\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + end +end diff --git a/lib/klaviyo-api-sdk/api/images_api.rb b/lib/klaviyo-api-sdk/api/images_api.rb index 5ed4ece..02ea73b 100644 --- a/lib/klaviyo-api-sdk/api/images_api.rb +++ b/lib/klaviyo-api-sdk/api/images_api.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 @@ -23,7 +23,7 @@ def initialize(api_client = ApiClient.default) # Get the image with the given image ID.

*Rate limits*:
Burst: `10/s`
Steady: `150/m` **Scopes:** `images:read` # @param id [String] The ID of the image # @param [Hash] opts the optional parameters - # @option opts [Array] :fields_image For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :fields_image For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets # @return [Hash] def get_image(id, opts = {}) data, _status_code, _headers = get_image_with_http_info(id, opts) @@ -34,7 +34,7 @@ def get_image(id, opts = {}) # Get the image with the given image ID.<br><br>*Rate limits*:<br>Burst: `10/s`<br>Steady: `150/m` **Scopes:** `images:read` # @param id [String] The ID of the image # @param [Hash] opts the optional parameters - # @option opts [Array] :fields_image For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :fields_image For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets # @return [Array<(Hash, Integer, Hash)>] Hash data, response status code and response headers def get_image_with_http_info(id, opts = {}) if @api_client.config.debugging @@ -58,7 +58,7 @@ def get_image_with_http_info(id, opts = {}) # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) @@ -94,11 +94,11 @@ def get_image_with_http_info(id, opts = {}) # Get Images # Get all images in an account.

*Rate limits*:
Burst: `10/s`
Steady: `150/m` **Scopes:** `images:read` # @param [Hash] opts the optional parameters - # @option opts [Array] :fields_image For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`id`: `any`, `equals`<br>`updated_at`: `greater-or-equal`, `greater-than`, `less-or-equal`, `less-than`<br>`format`: `any`, `equals`<br>`name`: `any`, `contains`, `ends-with`, `equals`, `starts-with`<br>`size`: `greater-or-equal`, `greater-than`, `less-or-equal`, `less-than`<br>`hidden`: `any`, `equals` - # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#pagination + # @option opts [Array] :fields_image For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [String] :filter 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>`updated_at`: `greater-or-equal`, `greater-than`, `less-or-equal`, `less-than`<br>`format`: `any`, `equals`<br>`name`: `any`, `contains`, `ends-with`, `equals`, `starts-with`<br>`size`: `greater-or-equal`, `greater-than`, `less-or-equal`, `less-than`<br>`hidden`: `any`, `equals` + # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#pagination # @option opts [Integer] :page_size Default: 20. Min: 1. Max: 100. (default to 20) - # @option opts [String] :sort For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sorting + # @option opts [String] :sort For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sorting # @return [Hash] def get_images(opts = {}) data, _status_code, _headers = get_images_with_http_info(opts) @@ -108,11 +108,11 @@ def get_images(opts = {}) # Get Images # Get all images in an account.<br><br>*Rate limits*:<br>Burst: `10/s`<br>Steady: `150/m` **Scopes:** `images:read` # @param [Hash] opts the optional parameters - # @option opts [Array] :fields_image For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`id`: `any`, `equals`<br>`updated_at`: `greater-or-equal`, `greater-than`, `less-or-equal`, `less-than`<br>`format`: `any`, `equals`<br>`name`: `any`, `contains`, `ends-with`, `equals`, `starts-with`<br>`size`: `greater-or-equal`, `greater-than`, `less-or-equal`, `less-than`<br>`hidden`: `any`, `equals` - # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#pagination + # @option opts [Array] :fields_image For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [String] :filter 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>`updated_at`: `greater-or-equal`, `greater-than`, `less-or-equal`, `less-than`<br>`format`: `any`, `equals`<br>`name`: `any`, `contains`, `ends-with`, `equals`, `starts-with`<br>`size`: `greater-or-equal`, `greater-than`, `less-or-equal`, `less-than`<br>`hidden`: `any`, `equals` + # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#pagination # @option opts [Integer] :page_size Default: 20. Min: 1. Max: 100. (default to 20) - # @option opts [String] :sort For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sorting + # @option opts [String] :sort For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sorting # @return [Array<(Hash, Integer, Hash)>] Hash data, response status code and response headers def get_images_with_http_info(opts = {}) if @api_client.config.debugging @@ -148,7 +148,7 @@ def get_images_with_http_info(opts = {}) # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) @@ -219,7 +219,7 @@ def update_image_with_http_info(id, image_partial_update_query, opts = {}) # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' @@ -293,7 +293,7 @@ def upload_image_from_file_with_http_info(file, opts = {}) # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' @@ -366,7 +366,7 @@ def upload_image_from_url_with_http_info(image_create_query, opts = {}) # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' diff --git a/lib/klaviyo-api-sdk/api/lists_api.rb b/lib/klaviyo-api-sdk/api/lists_api.rb index 0cd880e..a044a69 100644 --- a/lib/klaviyo-api-sdk/api/lists_api.rb +++ b/lib/klaviyo-api-sdk/api/lists_api.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 @@ -20,7 +20,7 @@ def initialize(api_client = ApiClient.default) @api_client = api_client end # Create List - # Create a new list.

*Rate limits*:
Burst: `10/s`
Steady: `150/m` **Scopes:** `lists:write` + # Create a new list.

*Rate limits*:
Burst: `10/s`
Steady: `150/m`
Daily: `100/d` **Scopes:** `lists:write` # @param list_create_query [ListCreateQuery] # @param [Hash] opts the optional parameters # @return [Hash] @@ -30,7 +30,7 @@ def create_list(list_create_query, opts = {}) end # Create List - # Create a new list.<br><br>*Rate limits*:<br>Burst: `10/s`<br>Steady: `150/m` **Scopes:** `lists:write` + # Create a new list.<br><br>*Rate limits*:<br>Burst: `10/s`<br>Steady: `150/m`<br>Daily: `100/d` **Scopes:** `lists:write` # @param list_create_query [ListCreateQuery] # @param [Hash] opts the optional parameters # @return [Array<(Hash, Integer, Hash)>] Hash data, response status code and response headers @@ -51,7 +51,7 @@ def create_list_with_http_info(list_create_query, opts = {}) # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' @@ -127,7 +127,7 @@ def create_list_relationships_with_http_info(id, list_members_add_query, opts = # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' @@ -197,7 +197,7 @@ def delete_list_with_http_info(id, opts = {}) # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) @@ -268,7 +268,7 @@ def delete_list_relationships_with_http_info(id, list_members_delete_query, opts # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' @@ -307,13 +307,13 @@ def delete_list_relationships_with_http_info(id, list_members_delete_query, opts end # Get List - # Get a list with the given list ID.

*Rate limits*:
Burst: `75/s`
Steady: `700/m`

Rate limits when using the `additional-fields[list]=profile_count` parameter in your API request:
Burst: `1/s`
Steady: `15/m`

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-06-15/docs/rate_limits_and_error_handling) guide. **Scopes:** `lists:read` + # Get a list with the given list ID.

*Rate limits*:
Burst: `75/s`
Steady: `700/m`

Rate limits when using the `additional-fields[list]=profile_count` parameter in your API request:
Burst: `1/s`
Steady: `15/m`

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:** `lists:read` # @param id [String] Primary key that uniquely identifies this list. Generated by Klaviyo. # @param [Hash] opts the optional parameters # @option opts [Array] :additional_fields_list Request additional fields not included by default in the response. Supported values: 'profile_count' - # @option opts [Array] :fields_list For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [Array] :fields_tag For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [Array] :include For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#relationships + # @option opts [Array] :fields_list For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :fields_tag For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :include For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#relationships # @return [Hash] def get_list(id, opts = {}) data, _status_code, _headers = get_list_with_http_info(id, opts) @@ -321,13 +321,13 @@ def get_list(id, opts = {}) end # Get List - # Get a list with the given list ID.<br><br>*Rate limits*:<br>Burst: `75/s`<br>Steady: `700/m`<br><br>Rate limits when using the `additional-fields[list]=profile_count` parameter in your API request:<br>Burst: `1/s`<br>Steady: `15/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-06-15/docs/rate_limits_and_error_handling) guide. **Scopes:** `lists:read` + # Get a list with the given list ID.<br><br>*Rate limits*:<br>Burst: `75/s`<br>Steady: `700/m`<br><br>Rate limits when using the `additional-fields[list]=profile_count` parameter in your API request:<br>Burst: `1/s`<br>Steady: `15/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:** `lists:read` # @param id [String] Primary key that uniquely identifies this list. Generated by Klaviyo. # @param [Hash] opts the optional parameters # @option opts [Array] :additional_fields_list Request additional fields not included by default in the response. Supported values: 'profile_count' - # @option opts [Array] :fields_list For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [Array] :fields_tag For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [Array] :include For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#relationships + # @option opts [Array] :fields_list For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :fields_tag For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :include For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#relationships # @return [Array<(Hash, Integer, Hash)>] Hash data, response status code and response headers def get_list_with_http_info(id, opts = {}) if @api_client.config.debugging @@ -366,7 +366,7 @@ def get_list_with_http_info(id, opts = {}) # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) @@ -400,15 +400,15 @@ def get_list_with_http_info(id, opts = {}) end # Get List Profiles - # Get all profiles within a list with the given list ID. Filter to request a subset of all profiles. Profiles can be filtered by `email`, `phone_number`, `push_token`, and `joined_group_at` fields. Profiles can be sorted by the following fields, in ascending and descending order: `joined_group_at`

*Rate limits*:
Burst: `75/s`
Steady: `700/m`

Rate limits when using the `additional-fields[profile]=predictive_analytics` parameter in your API request:
Burst: `10/s`
Steady: `150/m`

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-06-15/docs/rate_limits_and_error_handling) guide. **Scopes:** `lists:read` `profiles:read` + # Get all profiles within a list with the given list ID. Filter to request a subset of all profiles. Profiles can be filtered by `email`, `phone_number`, `push_token`, and `joined_group_at` fields. Profiles can be sorted by the following fields, in ascending and descending order: `joined_group_at`

*Rate limits*:
Burst: `75/s`
Steady: `700/m`

Rate limits when using the `additional-fields[profile]=predictive_analytics` parameter in your API request:
Burst: `10/s`
Steady: `150/m`

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:** `lists:read` `profiles:read` # @param id [String] # @param [Hash] opts the optional parameters # @option opts [Array] :additional_fields_profile Request additional fields not included by default in the response. Supported values: 'subscriptions', 'predictive_analytics' - # @option opts [Array] :fields_profile For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`email`: `any`, `equals`<br>`phone_number`: `any`, `equals`<br>`push_token`: `any`, `equals`<br>`_kx`: `equals`<br>`joined_group_at`: `greater-or-equal`, `greater-than`, `less-or-equal`, `less-than` - # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#pagination + # @option opts [Array] :fields_profile For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`email`: `any`, `equals`<br>`phone_number`: `any`, `equals`<br>`push_token`: `any`, `equals`<br>`_kx`: `equals`<br>`joined_group_at`: `greater-or-equal`, `greater-than`, `less-or-equal`, `less-than` + # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#pagination # @option opts [Integer] :page_size Default: 20. Min: 1. Max: 100. (default to 20) - # @option opts [String] :sort For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sorting + # @option opts [String] :sort For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sorting # @return [Hash] def get_list_profiles(id, opts = {}) data, _status_code, _headers = get_list_profiles_with_http_info(id, opts) @@ -416,15 +416,15 @@ def get_list_profiles(id, opts = {}) end # Get List Profiles - # Get all profiles within a list with the given list ID. Filter to request a subset of all profiles. Profiles can be filtered by `email`, `phone_number`, `push_token`, and `joined_group_at` fields. Profiles can be sorted by the following fields, in ascending and descending order: `joined_group_at`<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-06-15/docs/rate_limits_and_error_handling) guide. **Scopes:** `lists:read` `profiles:read` + # Get all profiles within a list with the given list ID. Filter to request a subset of all profiles. Profiles can be filtered by `email`, `phone_number`, `push_token`, and `joined_group_at` fields. Profiles can be sorted by the following fields, in ascending and descending order: `joined_group_at`<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:** `lists:read` `profiles:read` # @param id [String] # @param [Hash] opts the optional parameters # @option opts [Array] :additional_fields_profile Request additional fields not included by default in the response. Supported values: 'subscriptions', 'predictive_analytics' - # @option opts [Array] :fields_profile For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`email`: `any`, `equals`<br>`phone_number`: `any`, `equals`<br>`push_token`: `any`, `equals`<br>`_kx`: `equals`<br>`joined_group_at`: `greater-or-equal`, `greater-than`, `less-or-equal`, `less-than` - # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#pagination + # @option opts [Array] :fields_profile For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`email`: `any`, `equals`<br>`phone_number`: `any`, `equals`<br>`push_token`: `any`, `equals`<br>`_kx`: `equals`<br>`joined_group_at`: `greater-or-equal`, `greater-than`, `less-or-equal`, `less-than` + # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#pagination # @option opts [Integer] :page_size Default: 20. Min: 1. Max: 100. (default to 20) - # @option opts [String] :sort For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sorting + # @option opts [String] :sort For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sorting # @return [Array<(Hash, Integer, Hash)>] Hash data, response status code and response headers def get_list_profiles_with_http_info(id, opts = {}) if @api_client.config.debugging @@ -469,7 +469,7 @@ def get_list_profiles_with_http_info(id, opts = {}) # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) @@ -506,10 +506,10 @@ def get_list_profiles_with_http_info(id, opts = {}) # Get profile membership [relationships](https://developers.klaviyo.com/en/reference/api_overview#relationships) for a list with the given list ID.

*Rate limits*:
Burst: `75/s`
Steady: `700/m` **Scopes:** `lists:read` `profiles:read` # @param id [String] # @param [Hash] opts the optional parameters - # @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`email`: `any`, `equals`<br>`phone_number`: `any`, `equals`<br>`push_token`: `any`, `equals`<br>`_kx`: `equals`<br>`joined_group_at`: `greater-or-equal`, `greater-than`, `less-or-equal`, `less-than` - # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#pagination + # @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`email`: `any`, `equals`<br>`phone_number`: `any`, `equals`<br>`push_token`: `any`, `equals`<br>`_kx`: `equals`<br>`joined_group_at`: `greater-or-equal`, `greater-than`, `less-or-equal`, `less-than` + # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#pagination # @option opts [Integer] :page_size Default: 20. Min: 1. Max: 1000. (default to 20) - # @option opts [String] :sort For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sorting + # @option opts [String] :sort For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sorting # @return [Hash] def get_list_relationships_profiles(id, opts = {}) data, _status_code, _headers = get_list_relationships_profiles_with_http_info(id, opts) @@ -520,10 +520,10 @@ def get_list_relationships_profiles(id, opts = {}) # Get profile membership [relationships](https://developers.klaviyo.com/en/reference/api_overview#relationships) for a list with the given list ID.<br><br>*Rate limits*:<br>Burst: `75/s`<br>Steady: `700/m` **Scopes:** `lists:read` `profiles:read` # @param id [String] # @param [Hash] opts the optional parameters - # @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`email`: `any`, `equals`<br>`phone_number`: `any`, `equals`<br>`push_token`: `any`, `equals`<br>`_kx`: `equals`<br>`joined_group_at`: `greater-or-equal`, `greater-than`, `less-or-equal`, `less-than` - # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#pagination + # @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`email`: `any`, `equals`<br>`phone_number`: `any`, `equals`<br>`push_token`: `any`, `equals`<br>`_kx`: `equals`<br>`joined_group_at`: `greater-or-equal`, `greater-than`, `less-or-equal`, `less-than` + # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#pagination # @option opts [Integer] :page_size Default: 20. Min: 1. Max: 1000. (default to 20) - # @option opts [String] :sort For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sorting + # @option opts [String] :sort For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sorting # @return [Array<(Hash, Integer, Hash)>] Hash data, response status code and response headers def get_list_relationships_profiles_with_http_info(id, opts = {}) if @api_client.config.debugging @@ -558,7 +558,7 @@ def get_list_relationships_profiles_with_http_info(id, opts = {}) # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) @@ -623,7 +623,7 @@ def get_list_relationships_tags_with_http_info(id, opts = {}) # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) @@ -660,7 +660,7 @@ def get_list_relationships_tags_with_http_info(id, opts = {}) # Return all tags associated with the given list ID.

*Rate limits*:
Burst: `3/s`
Steady: `60/m` **Scopes:** `lists:read` `tags:read` # @param id [String] # @param [Hash] opts the optional parameters - # @option opts [Array] :fields_tag For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :fields_tag For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets # @return [Hash] def get_list_tags(id, opts = {}) data, _status_code, _headers = get_list_tags_with_http_info(id, opts) @@ -671,7 +671,7 @@ def get_list_tags(id, opts = {}) # Return all tags associated with the given list ID.<br><br>*Rate limits*:<br>Burst: `3/s`<br>Steady: `60/m` **Scopes:** `lists:read` `tags:read` # @param id [String] # @param [Hash] opts the optional parameters - # @option opts [Array] :fields_tag For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :fields_tag For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets # @return [Array<(Hash, Integer, Hash)>] Hash data, response status code and response headers def get_list_tags_with_http_info(id, opts = {}) if @api_client.config.debugging @@ -695,7 +695,7 @@ def get_list_tags_with_http_info(id, opts = {}) # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) @@ -731,12 +731,12 @@ def get_list_tags_with_http_info(id, opts = {}) # Get Lists # Get all lists in an account. Filter to request a subset of all lists. Lists can be filtered by `id`, `name`, `created`, and `updated` fields. Returns a maximum of 10 results per page.

*Rate limits*:
Burst: `75/s`
Steady: `700/m` **Scopes:** `lists:read` # @param [Hash] opts the optional parameters - # @option opts [Array] :fields_list For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [Array] :fields_tag For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`name`: `any`, `equals`<br>`id`: `any`, `equals`<br>`created`: `greater-than`<br>`updated`: `greater-than` - # @option opts [Array] :include For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#relationships - # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#pagination - # @option opts [String] :sort For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sorting + # @option opts [Array] :fields_list For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :fields_tag For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`name`: `any`, `equals`<br>`id`: `any`, `equals`<br>`created`: `greater-than`<br>`updated`: `greater-than` + # @option opts [Array] :include For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#relationships + # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#pagination + # @option opts [String] :sort For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sorting # @return [Hash] def get_lists(opts = {}) data, _status_code, _headers = get_lists_with_http_info(opts) @@ -746,12 +746,12 @@ def get_lists(opts = {}) # Get Lists # Get all lists in an account. Filter to request a subset of all lists. Lists can be filtered by `id`, `name`, `created`, and `updated` fields. Returns a maximum of 10 results per page.<br><br>*Rate limits*:<br>Burst: `75/s`<br>Steady: `700/m` **Scopes:** `lists:read` # @param [Hash] opts the optional parameters - # @option opts [Array] :fields_list For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [Array] :fields_tag For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`name`: `any`, `equals`<br>`id`: `any`, `equals`<br>`created`: `greater-than`<br>`updated`: `greater-than` - # @option opts [Array] :include For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#relationships - # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#pagination - # @option opts [String] :sort For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sorting + # @option opts [Array] :fields_list For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :fields_tag For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`name`: `any`, `equals`<br>`id`: `any`, `equals`<br>`created`: `greater-than`<br>`updated`: `greater-than` + # @option opts [Array] :include For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#relationships + # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#pagination + # @option opts [String] :sort For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sorting # @return [Array<(Hash, Integer, Hash)>] Hash data, response status code and response headers def get_lists_with_http_info(opts = {}) if @api_client.config.debugging @@ -788,7 +788,7 @@ def get_lists_with_http_info(opts = {}) # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) @@ -859,7 +859,7 @@ def update_list_with_http_info(id, list_partial_update_query, opts = {}) # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' diff --git a/lib/klaviyo-api-sdk/api/metrics_api.rb b/lib/klaviyo-api-sdk/api/metrics_api.rb index 48dc43c..d3f0f4d 100644 --- a/lib/klaviyo-api-sdk/api/metrics_api.rb +++ b/lib/klaviyo-api-sdk/api/metrics_api.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 @@ -23,7 +23,7 @@ def initialize(api_client = ApiClient.default) # Get a metric with the given metric ID.

*Rate limits*:
Burst: `10/s`
Steady: `150/m` **Scopes:** `metrics:read` # @param id [String] Metric ID # @param [Hash] opts the optional parameters - # @option opts [Array] :fields_metric For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :fields_metric For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets # @return [Hash] def get_metric(id, opts = {}) data, _status_code, _headers = get_metric_with_http_info(id, opts) @@ -34,7 +34,7 @@ def get_metric(id, opts = {}) # Get a metric with the given metric ID.<br><br>*Rate limits*:<br>Burst: `10/s`<br>Steady: `150/m` **Scopes:** `metrics:read` # @param id [String] Metric ID # @param [Hash] opts the optional parameters - # @option opts [Array] :fields_metric For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :fields_metric For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets # @return [Array<(Hash, Integer, Hash)>] Hash data, response status code and response headers def get_metric_with_http_info(id, opts = {}) if @api_client.config.debugging @@ -58,7 +58,7 @@ def get_metric_with_http_info(id, opts = {}) # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) @@ -94,9 +94,9 @@ def get_metric_with_http_info(id, opts = {}) # Get Metrics # Get all metrics in an account. Requests can be filtered by the following fields: integration `name`, integration `category` Returns a maximum of 200 results per page.

*Rate limits*:
Burst: `10/s`
Steady: `150/m` **Scopes:** `metrics:read` # @param [Hash] opts the optional parameters - # @option opts [Array] :fields_metric For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`integration.name`: `equals`<br>`integration.category`: `equals` - # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#pagination + # @option opts [Array] :fields_metric For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`integration.name`: `equals`<br>`integration.category`: `equals` + # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#pagination # @return [Hash] def get_metrics(opts = {}) data, _status_code, _headers = get_metrics_with_http_info(opts) @@ -106,9 +106,9 @@ def get_metrics(opts = {}) # Get Metrics # Get all metrics in an account. Requests can be filtered by the following fields: integration `name`, integration `category` Returns a maximum of 200 results per page.<br><br>*Rate limits*:<br>Burst: `10/s`<br>Steady: `150/m` **Scopes:** `metrics:read` # @param [Hash] opts the optional parameters - # @option opts [Array] :fields_metric For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`integration.name`: `equals`<br>`integration.category`: `equals` - # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#pagination + # @option opts [Array] :fields_metric For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`integration.name`: `equals`<br>`integration.category`: `equals` + # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#pagination # @return [Array<(Hash, Integer, Hash)>] Hash data, response status code and response headers def get_metrics_with_http_info(opts = {}) if @api_client.config.debugging @@ -130,7 +130,7 @@ def get_metrics_with_http_info(opts = {}) # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) @@ -195,7 +195,7 @@ def query_metric_aggregates_with_http_info(metric_aggregate_query, opts = {}) # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' diff --git a/lib/klaviyo-api-sdk/api/profiles_api.rb b/lib/klaviyo-api-sdk/api/profiles_api.rb index f854c6a..250a86b 100644 --- a/lib/klaviyo-api-sdk/api/profiles_api.rb +++ b/lib/klaviyo-api-sdk/api/profiles_api.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 @@ -51,7 +51,7 @@ def create_or_update_profile_with_http_info(profile_upsert_query, opts = {}) # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' @@ -121,7 +121,7 @@ def create_profile_with_http_info(profile_create_query, opts = {}) # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' @@ -191,7 +191,7 @@ def create_push_token_with_http_info(push_token_create_query, opts = {}) # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' @@ -233,9 +233,9 @@ def create_push_token_with_http_info(push_token_create_query, opts = {}) # Get a bulk profile import job with the given job ID.

*Rate limits*:
Burst: `10/s`
Steady: `150/m` **Scopes:** `lists:read` `profiles:read` # @param job_id [String] ID of the job to retrieve. # @param [Hash] opts the optional parameters - # @option opts [Array] :fields_list For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [Array] :fields_profile_bulk_import_job For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [Array] :include For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#relationships + # @option opts [Array] :fields_list For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :fields_profile_bulk_import_job For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :include For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#relationships # @return [Hash] def get_bulk_profile_import_job(job_id, opts = {}) data, _status_code, _headers = get_bulk_profile_import_job_with_http_info(job_id, opts) @@ -246,9 +246,9 @@ def get_bulk_profile_import_job(job_id, opts = {}) # 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` # @param job_id [String] ID of the job to retrieve. # @param [Hash] opts the optional parameters - # @option opts [Array] :fields_list For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [Array] :fields_profile_bulk_import_job For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [Array] :include For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#relationships + # @option opts [Array] :fields_list For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :fields_profile_bulk_import_job For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :include For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#relationships # @return [Array<(Hash, Integer, Hash)>] Hash data, response status code and response headers def get_bulk_profile_import_job_with_http_info(job_id, opts = {}) if @api_client.config.debugging @@ -282,7 +282,7 @@ def get_bulk_profile_import_job_with_http_info(job_id, opts = {}) # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) @@ -319,8 +319,8 @@ def get_bulk_profile_import_job_with_http_info(job_id, opts = {}) # Get import errors for the bulk profile import job with the given ID.

*Rate limits*:
Burst: `10/s`
Steady: `150/m` **Scopes:** `profiles:read` # @param id [String] # @param [Hash] opts the optional parameters - # @option opts [Array] :fields_import_error For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#pagination + # @option opts [Array] :fields_import_error For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#pagination # @option opts [Integer] :page_size Default: 20. Min: 1. Max: 100. (default to 20) # @return [Hash] def get_bulk_profile_import_job_import_errors(id, opts = {}) @@ -332,8 +332,8 @@ def get_bulk_profile_import_job_import_errors(id, opts = {}) # 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` # @param id [String] # @param [Hash] opts the optional parameters - # @option opts [Array] :fields_import_error For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#pagination + # @option opts [Array] :fields_import_error For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#pagination # @option opts [Integer] :page_size Default: 20. Min: 1. Max: 100. (default to 20) # @return [Array<(Hash, Integer, Hash)>] Hash data, response status code and response headers def get_bulk_profile_import_job_import_errors_with_http_info(id, opts = {}) @@ -368,7 +368,7 @@ def get_bulk_profile_import_job_import_errors_with_http_info(id, opts = {}) # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) @@ -405,7 +405,7 @@ def get_bulk_profile_import_job_import_errors_with_http_info(id, opts = {}) # Get list for the bulk profile import job with the given ID.

*Rate limits*:
Burst: `10/s`
Steady: `150/m` **Scopes:** `lists:read` # @param id [String] # @param [Hash] opts the optional parameters - # @option opts [Array] :fields_list For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :fields_list For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets # @return [Hash] def get_bulk_profile_import_job_lists(id, opts = {}) data, _status_code, _headers = get_bulk_profile_import_job_lists_with_http_info(id, opts) @@ -416,7 +416,7 @@ def get_bulk_profile_import_job_lists(id, opts = {}) # 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` # @param id [String] # @param [Hash] opts the optional parameters - # @option opts [Array] :fields_list For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :fields_list For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets # @return [Array<(Hash, Integer, Hash)>] Hash data, response status code and response headers def get_bulk_profile_import_job_lists_with_http_info(id, opts = {}) if @api_client.config.debugging @@ -440,7 +440,7 @@ def get_bulk_profile_import_job_lists_with_http_info(id, opts = {}) # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) @@ -478,8 +478,8 @@ def get_bulk_profile_import_job_lists_with_http_info(id, opts = {}) # @param id [String] # @param [Hash] opts the optional parameters # @option opts [Array] :additional_fields_profile Request additional fields not included by default in the response. Supported values: 'subscriptions', 'predictive_analytics' - # @option opts [Array] :fields_profile For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#pagination + # @option opts [Array] :fields_profile For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#pagination # @option opts [Integer] :page_size Default: 20. Min: 1. Max: 100. (default to 20) # @return [Hash] def get_bulk_profile_import_job_profiles(id, opts = {}) @@ -492,8 +492,8 @@ def get_bulk_profile_import_job_profiles(id, opts = {}) # @param id [String] # @param [Hash] opts the optional parameters # @option opts [Array] :additional_fields_profile Request additional fields not included by default in the response. Supported values: 'subscriptions', 'predictive_analytics' - # @option opts [Array] :fields_profile For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#pagination + # @option opts [Array] :fields_profile For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#pagination # @option opts [Integer] :page_size Default: 20. Min: 1. Max: 100. (default to 20) # @return [Array<(Hash, Integer, Hash)>] Hash data, response status code and response headers def get_bulk_profile_import_job_profiles_with_http_info(id, opts = {}) @@ -533,7 +533,7 @@ def get_bulk_profile_import_job_profiles_with_http_info(id, opts = {}) # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) @@ -598,7 +598,7 @@ def get_bulk_profile_import_job_relationships_lists_with_http_info(id, opts = {} # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) @@ -635,7 +635,7 @@ def get_bulk_profile_import_job_relationships_lists_with_http_info(id, opts = {} # Get profile relationships for the bulk profile import job with the given ID.

*Rate limits*:
Burst: `10/s`
Steady: `150/m` **Scopes:** `profiles:read` # @param id [String] # @param [Hash] opts the optional parameters - # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#pagination + # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#pagination # @option opts [Integer] :page_size Default: 20. Min: 1. Max: 100. (default to 20) # @return [Hash] def get_bulk_profile_import_job_relationships_profiles(id, opts = {}) @@ -647,7 +647,7 @@ def get_bulk_profile_import_job_relationships_profiles(id, opts = {}) # 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` # @param id [String] # @param [Hash] opts the optional parameters - # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#pagination + # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#pagination # @option opts [Integer] :page_size Default: 20. Min: 1. Max: 100. (default to 20) # @return [Array<(Hash, Integer, Hash)>] Hash data, response status code and response headers def get_bulk_profile_import_job_relationships_profiles_with_http_info(id, opts = {}) @@ -677,7 +677,7 @@ def get_bulk_profile_import_job_relationships_profiles_with_http_info(id, opts = # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) @@ -713,11 +713,11 @@ def get_bulk_profile_import_job_relationships_profiles_with_http_info(id, opts = # Get Bulk Profile Import Jobs # Get all bulk profile import jobs. Returns a maximum of 100 jobs per request.

*Rate limits*:
Burst: `10/s`
Steady: `150/m` **Scopes:** `lists:read` `profiles:read` # @param [Hash] opts the optional parameters - # @option opts [Array] :fields_profile_bulk_import_job For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`status`: `any`, `equals` - # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#pagination + # @option opts [Array] :fields_profile_bulk_import_job For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [String] :filter 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` + # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#pagination # @option opts [Integer] :page_size Default: 20. Min: 1. Max: 100. (default to 20) - # @option opts [String] :sort For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sorting + # @option opts [String] :sort For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sorting # @return [Hash] def get_bulk_profile_import_jobs(opts = {}) data, _status_code, _headers = get_bulk_profile_import_jobs_with_http_info(opts) @@ -727,11 +727,11 @@ def get_bulk_profile_import_jobs(opts = {}) # Get Bulk Profile Import Jobs # 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` # @param [Hash] opts the optional parameters - # @option opts [Array] :fields_profile_bulk_import_job For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`status`: `any`, `equals` - # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#pagination + # @option opts [Array] :fields_profile_bulk_import_job For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [String] :filter 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` + # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#pagination # @option opts [Integer] :page_size Default: 20. Min: 1. Max: 100. (default to 20) - # @option opts [String] :sort For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sorting + # @option opts [String] :sort For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sorting # @return [Array<(Hash, Integer, Hash)>] Hash data, response status code and response headers def get_bulk_profile_import_jobs_with_http_info(opts = {}) if @api_client.config.debugging @@ -767,7 +767,7 @@ def get_bulk_profile_import_jobs_with_http_info(opts = {}) # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) @@ -805,10 +805,10 @@ def get_bulk_profile_import_jobs_with_http_info(opts = {}) # @param id [String] # @param [Hash] opts the optional parameters # @option opts [Array] :additional_fields_profile Request additional fields not included by default in the response. Supported values: 'subscriptions', 'predictive_analytics' - # @option opts [Array] :fields_list For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [Array] :fields_profile For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [Array] :fields_segment For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [Array] :include For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#relationships + # @option opts [Array] :fields_list For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :fields_profile For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :fields_segment For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :include For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#relationships # @return [Hash] def get_profile(id, opts = {}) data, _status_code, _headers = get_profile_with_http_info(id, opts) @@ -820,10 +820,10 @@ def get_profile(id, opts = {}) # @param id [String] # @param [Hash] opts the optional parameters # @option opts [Array] :additional_fields_profile Request additional fields not included by default in the response. Supported values: 'subscriptions', 'predictive_analytics' - # @option opts [Array] :fields_list For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [Array] :fields_profile For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [Array] :fields_segment For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [Array] :include For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#relationships + # @option opts [Array] :fields_list For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :fields_profile For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :fields_segment For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :include For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#relationships # @return [Array<(Hash, Integer, Hash)>] Hash data, response status code and response headers def get_profile_with_http_info(id, opts = {}) if @api_client.config.debugging @@ -867,7 +867,7 @@ def get_profile_with_http_info(id, opts = {}) # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) @@ -904,7 +904,7 @@ def get_profile_with_http_info(id, opts = {}) # Get list memberships for a profile with the given profile ID.

*Rate limits*:
Burst: `3/s`
Steady: `60/m` **Scopes:** `lists:read` `profiles:read` # @param id [String] # @param [Hash] opts the optional parameters - # @option opts [Array] :fields_list For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :fields_list For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets # @return [Hash] def get_profile_lists(id, opts = {}) data, _status_code, _headers = get_profile_lists_with_http_info(id, opts) @@ -915,7 +915,7 @@ def get_profile_lists(id, opts = {}) # 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` # @param id [String] # @param [Hash] opts the optional parameters - # @option opts [Array] :fields_list For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :fields_list For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets # @return [Array<(Hash, Integer, Hash)>] Hash data, response status code and response headers def get_profile_lists_with_http_info(id, opts = {}) if @api_client.config.debugging @@ -939,7 +939,7 @@ def get_profile_lists_with_http_info(id, opts = {}) # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) @@ -1004,7 +1004,7 @@ def get_profile_relationships_lists_with_http_info(id, opts = {}) # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) @@ -1069,7 +1069,7 @@ def get_profile_relationships_segments_with_http_info(id, opts = {}) # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) @@ -1106,7 +1106,7 @@ def get_profile_relationships_segments_with_http_info(id, opts = {}) # Get segment memberships for a profile with the given profile ID.

*Rate limits*:
Burst: `3/s`
Steady: `60/m` **Scopes:** `profiles:read` `segments:read` # @param id [String] # @param [Hash] opts the optional parameters - # @option opts [Array] :fields_segment For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :fields_segment For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets # @return [Hash] def get_profile_segments(id, opts = {}) data, _status_code, _headers = get_profile_segments_with_http_info(id, opts) @@ -1117,7 +1117,7 @@ def get_profile_segments(id, opts = {}) # 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` # @param id [String] # @param [Hash] opts the optional parameters - # @option opts [Array] :fields_segment For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :fields_segment For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets # @return [Array<(Hash, Integer, Hash)>] Hash data, response status code and response headers def get_profile_segments_with_http_info(id, opts = {}) if @api_client.config.debugging @@ -1141,7 +1141,7 @@ def get_profile_segments_with_http_info(id, opts = {}) # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) @@ -1175,14 +1175,14 @@ def get_profile_segments_with_http_info(id, opts = {}) end # Get Profiles - # 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`

*Rate limits*:
Burst: `75/s`
Steady: `700/m`

Rate limits when using the `additional-fields[profile]=predictive_analytics` parameter in your API request:
Burst: `10/s`
Steady: `150/m`

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-06-15/docs/rate_limits_and_error_handling) guide. **Scopes:** `profiles:read` + # 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`

*Rate limits*:
Burst: `75/s`
Steady: `700/m`

Rate limits when using the `additional-fields[profile]=predictive_analytics` parameter in your API request:
Burst: `10/s`
Steady: `150/m`

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` # @param [Hash] opts the optional parameters # @option opts [Array] :additional_fields_profile Request additional fields not included by default in the response. Supported values: 'subscriptions', 'predictive_analytics' - # @option opts [Array] :fields_profile For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2024-06-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` - # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#pagination + # @option opts [Array] :fields_profile For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [String] :filter 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` + # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#pagination # @option opts [Integer] :page_size Default: 20. Min: 1. Max: 100. (default to 20) - # @option opts [String] :sort For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sorting + # @option opts [String] :sort For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sorting # @return [Hash] def get_profiles(opts = {}) data, _status_code, _headers = get_profiles_with_http_info(opts) @@ -1190,14 +1190,14 @@ def get_profiles(opts = {}) end # Get Profiles - # 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-06-15/docs/rate_limits_and_error_handling) guide. **Scopes:** `profiles:read` + # 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` # @param [Hash] opts the optional parameters # @option opts [Array] :additional_fields_profile Request additional fields not included by default in the response. Supported values: 'subscriptions', 'predictive_analytics' - # @option opts [Array] :fields_profile For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2024-06-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` - # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#pagination + # @option opts [Array] :fields_profile For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [String] :filter 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` + # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#pagination # @option opts [Integer] :page_size Default: 20. Min: 1. Max: 100. (default to 20) - # @option opts [String] :sort For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sorting + # @option opts [String] :sort For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sorting # @return [Array<(Hash, Integer, Hash)>] Hash data, response status code and response headers def get_profiles_with_http_info(opts = {}) if @api_client.config.debugging @@ -1238,7 +1238,7 @@ def get_profiles_with_http_info(opts = {}) # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) @@ -1303,7 +1303,7 @@ def merge_profiles_with_http_info(profile_merge_query, opts = {}) # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' @@ -1373,7 +1373,7 @@ def spawn_bulk_profile_import_job_with_http_info(profile_import_job_create_query # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' @@ -1412,7 +1412,7 @@ def spawn_bulk_profile_import_job_with_http_info(profile_import_job_create_query end # Subscribe Profiles - # 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: 100

*Rate limits*:
Burst: `75/s`
Steady: `700/m` **Scopes:** `lists:write` `profiles:write` `subscriptions:write` + # 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.

*Rate limits*:
Burst: `75/s`
Steady: `700/m` **Scopes:** `lists:write` `profiles:write` `subscriptions:write` # @param subscription_create_job_create_query [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. # @param [Hash] opts the optional parameters # @return [nil] @@ -1422,7 +1422,7 @@ def subscribe_profiles(subscription_create_job_create_query, opts = {}) end # Subscribe Profiles - # 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: 100<br><br>*Rate limits*:<br>Burst: `75/s`<br>Steady: `700/m` **Scopes:** `lists:write` `profiles:write` `subscriptions:write` + # 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` # @param subscription_create_job_create_query [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. # @param [Hash] opts the optional parameters # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers @@ -1443,7 +1443,7 @@ def subscribe_profiles_with_http_info(subscription_create_job_create_query, opts # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' @@ -1513,7 +1513,7 @@ def suppress_profiles_with_http_info(suppression_create_job_create_query, opts = # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' @@ -1583,7 +1583,7 @@ def unsubscribe_profiles_with_http_info(subscription_delete_job_create_query, op # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' @@ -1653,7 +1653,7 @@ def unsuppress_profiles_with_http_info(suppression_delete_job_create_query, opts # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' @@ -1729,7 +1729,7 @@ def update_profile_with_http_info(id, profile_partial_update_query, opts = {}) # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' diff --git a/lib/klaviyo-api-sdk/api/reporting_api.rb b/lib/klaviyo-api-sdk/api/reporting_api.rb index c2f72fd..2881b11 100644 --- a/lib/klaviyo-api-sdk/api/reporting_api.rb +++ b/lib/klaviyo-api-sdk/api/reporting_api.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 @@ -23,7 +23,7 @@ def initialize(api_client = ApiClient.default) # Returns the requested campaign analytics values data

*Rate limits*:
Burst: `1/s`
Steady: `2/m`
Daily: `225/d` **Scopes:** `campaigns:read` # @param campaign_values_request_dto [CampaignValuesRequestDTO] # @param [Hash] opts the optional parameters - # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#pagination + # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#pagination # @return [Hash] def query_campaign_values(campaign_values_request_dto, opts = {}) data, _status_code, _headers = query_campaign_values_with_http_info(campaign_values_request_dto, opts) @@ -34,7 +34,7 @@ def query_campaign_values(campaign_values_request_dto, opts = {}) # Returns the requested campaign analytics values data<br><br>*Rate limits*:<br>Burst: `1/s`<br>Steady: `2/m`<br>Daily: `225/d` **Scopes:** `campaigns:read` # @param campaign_values_request_dto [CampaignValuesRequestDTO] # @param [Hash] opts the optional parameters - # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#pagination + # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#pagination # @return [Array<(Hash, Integer, Hash)>] Hash data, response status code and response headers def query_campaign_values_with_http_info(campaign_values_request_dto, opts = {}) if @api_client.config.debugging @@ -54,7 +54,7 @@ def query_campaign_values_with_http_info(campaign_values_request_dto, opts = {}) # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' @@ -96,7 +96,7 @@ def query_campaign_values_with_http_info(campaign_values_request_dto, opts = {}) # Returns the requested flow analytics series data

*Rate limits*:
Burst: `1/s`
Steady: `2/m`
Daily: `225/d` **Scopes:** `flows:read` # @param flow_series_request_dto [FlowSeriesRequestDTO] # @param [Hash] opts the optional parameters - # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#pagination + # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#pagination # @return [Hash] def query_flow_series(flow_series_request_dto, opts = {}) data, _status_code, _headers = query_flow_series_with_http_info(flow_series_request_dto, opts) @@ -107,7 +107,7 @@ def query_flow_series(flow_series_request_dto, opts = {}) # Returns the requested flow analytics series data<br><br>*Rate limits*:<br>Burst: `1/s`<br>Steady: `2/m`<br>Daily: `225/d` **Scopes:** `flows:read` # @param flow_series_request_dto [FlowSeriesRequestDTO] # @param [Hash] opts the optional parameters - # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#pagination + # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#pagination # @return [Array<(Hash, Integer, Hash)>] Hash data, response status code and response headers def query_flow_series_with_http_info(flow_series_request_dto, opts = {}) if @api_client.config.debugging @@ -127,7 +127,7 @@ def query_flow_series_with_http_info(flow_series_request_dto, opts = {}) # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' @@ -169,7 +169,7 @@ def query_flow_series_with_http_info(flow_series_request_dto, opts = {}) # Returns the requested flow analytics values data

*Rate limits*:
Burst: `1/s`
Steady: `2/m`
Daily: `225/d` **Scopes:** `flows:read` # @param flow_values_request_dto [FlowValuesRequestDTO] # @param [Hash] opts the optional parameters - # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#pagination + # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#pagination # @return [Hash] def query_flow_values(flow_values_request_dto, opts = {}) data, _status_code, _headers = query_flow_values_with_http_info(flow_values_request_dto, opts) @@ -180,7 +180,7 @@ def query_flow_values(flow_values_request_dto, opts = {}) # Returns the requested flow analytics values data<br><br>*Rate limits*:<br>Burst: `1/s`<br>Steady: `2/m`<br>Daily: `225/d` **Scopes:** `flows:read` # @param flow_values_request_dto [FlowValuesRequestDTO] # @param [Hash] opts the optional parameters - # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#pagination + # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#pagination # @return [Array<(Hash, Integer, Hash)>] Hash data, response status code and response headers def query_flow_values_with_http_info(flow_values_request_dto, opts = {}) if @api_client.config.debugging @@ -200,7 +200,7 @@ def query_flow_values_with_http_info(flow_values_request_dto, opts = {}) # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' diff --git a/lib/klaviyo-api-sdk/api/segments_api.rb b/lib/klaviyo-api-sdk/api/segments_api.rb index c4b9d51..a598440 100644 --- a/lib/klaviyo-api-sdk/api/segments_api.rb +++ b/lib/klaviyo-api-sdk/api/segments_api.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 @@ -51,7 +51,7 @@ def create_segment_with_http_info(segment_create_query, opts = {}) # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' @@ -121,7 +121,7 @@ def delete_segment_with_http_info(id, opts = {}) # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) @@ -155,13 +155,13 @@ def delete_segment_with_http_info(id, opts = {}) end # Get Segment - # Get a segment with the given segment ID.

*Rate limits*:
Burst: `75/s`
Steady: `700/m`

Rate limits when using the `additional-fields[segment]=profile_count` parameter in your API request:
Burst: `1/s`
Steady: `15/m`

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-06-15/docs/rate_limits_and_error_handling) guide. **Scopes:** `segments:read` + # Get a segment with the given segment ID.

*Rate limits*:
Burst: `75/s`
Steady: `700/m`

Rate limits when using the `additional-fields[segment]=profile_count` parameter in your API request:
Burst: `1/s`
Steady: `15/m`

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:** `segments:read` # @param id [String] # @param [Hash] opts the optional parameters # @option opts [Array] :additional_fields_segment Request additional fields not included by default in the response. Supported values: 'profile_count' - # @option opts [Array] :fields_segment For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [Array] :fields_tag For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [Array] :include For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#relationships + # @option opts [Array] :fields_segment For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :fields_tag For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :include For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#relationships # @return [Hash] def get_segment(id, opts = {}) data, _status_code, _headers = get_segment_with_http_info(id, opts) @@ -169,13 +169,13 @@ def get_segment(id, opts = {}) end # Get Segment - # Get a segment with the given segment ID.<br><br>*Rate limits*:<br>Burst: `75/s`<br>Steady: `700/m`<br><br>Rate limits when using the `additional-fields[segment]=profile_count` parameter in your API request:<br>Burst: `1/s`<br>Steady: `15/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-06-15/docs/rate_limits_and_error_handling) guide. **Scopes:** `segments:read` + # Get a segment with the given segment ID.<br><br>*Rate limits*:<br>Burst: `75/s`<br>Steady: `700/m`<br><br>Rate limits when using the `additional-fields[segment]=profile_count` parameter in your API request:<br>Burst: `1/s`<br>Steady: `15/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:** `segments:read` # @param id [String] # @param [Hash] opts the optional parameters # @option opts [Array] :additional_fields_segment Request additional fields not included by default in the response. Supported values: 'profile_count' - # @option opts [Array] :fields_segment For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [Array] :fields_tag For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [Array] :include For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#relationships + # @option opts [Array] :fields_segment For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :fields_tag For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :include For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#relationships # @return [Array<(Hash, Integer, Hash)>] Hash data, response status code and response headers def get_segment_with_http_info(id, opts = {}) if @api_client.config.debugging @@ -214,7 +214,7 @@ def get_segment_with_http_info(id, opts = {}) # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) @@ -252,11 +252,11 @@ def get_segment_with_http_info(id, opts = {}) # @param id [String] # @param [Hash] opts the optional parameters # @option opts [Array] :additional_fields_profile Request additional fields not included by default in the response. Supported values: 'subscriptions', 'predictive_analytics' - # @option opts [Array] :fields_profile For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`email`: `any`, `equals`<br>`phone_number`: `any`, `equals`<br>`push_token`: `any`, `equals`<br>`_kx`: `equals`<br>`joined_group_at`: `greater-or-equal`, `greater-than`, `less-or-equal`, `less-than` - # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#pagination + # @option opts [Array] :fields_profile For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`email`: `any`, `equals`<br>`phone_number`: `any`, `equals`<br>`push_token`: `any`, `equals`<br>`_kx`: `equals`<br>`joined_group_at`: `greater-or-equal`, `greater-than`, `less-or-equal`, `less-than` + # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#pagination # @option opts [Integer] :page_size Default: 20. Min: 1. Max: 100. (default to 20) - # @option opts [String] :sort For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sorting + # @option opts [String] :sort For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sorting # @return [Hash] def get_segment_profiles(id, opts = {}) data, _status_code, _headers = get_segment_profiles_with_http_info(id, opts) @@ -268,11 +268,11 @@ def get_segment_profiles(id, opts = {}) # @param id [String] # @param [Hash] opts the optional parameters # @option opts [Array] :additional_fields_profile Request additional fields not included by default in the response. Supported values: 'subscriptions', 'predictive_analytics' - # @option opts [Array] :fields_profile For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`email`: `any`, `equals`<br>`phone_number`: `any`, `equals`<br>`push_token`: `any`, `equals`<br>`_kx`: `equals`<br>`joined_group_at`: `greater-or-equal`, `greater-than`, `less-or-equal`, `less-than` - # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#pagination + # @option opts [Array] :fields_profile For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`email`: `any`, `equals`<br>`phone_number`: `any`, `equals`<br>`push_token`: `any`, `equals`<br>`_kx`: `equals`<br>`joined_group_at`: `greater-or-equal`, `greater-than`, `less-or-equal`, `less-than` + # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#pagination # @option opts [Integer] :page_size Default: 20. Min: 1. Max: 100. (default to 20) - # @option opts [String] :sort For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sorting + # @option opts [String] :sort For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sorting # @return [Array<(Hash, Integer, Hash)>] Hash data, response status code and response headers def get_segment_profiles_with_http_info(id, opts = {}) if @api_client.config.debugging @@ -317,7 +317,7 @@ def get_segment_profiles_with_http_info(id, opts = {}) # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) @@ -354,10 +354,10 @@ def get_segment_profiles_with_http_info(id, opts = {}) # Get all profile membership [relationships](https://developers.klaviyo.com/en/reference/api_overview#relationships) for the given segment ID.

*Rate limits*:
Burst: `75/s`
Steady: `700/m` **Scopes:** `profiles:read` `segments:read` # @param id [String] # @param [Hash] opts the optional parameters - # @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`email`: `any`, `equals`<br>`phone_number`: `any`, `equals`<br>`push_token`: `any`, `equals`<br>`_kx`: `equals`<br>`joined_group_at`: `greater-or-equal`, `greater-than`, `less-or-equal`, `less-than` - # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#pagination + # @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`email`: `any`, `equals`<br>`phone_number`: `any`, `equals`<br>`push_token`: `any`, `equals`<br>`_kx`: `equals`<br>`joined_group_at`: `greater-or-equal`, `greater-than`, `less-or-equal`, `less-than` + # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#pagination # @option opts [Integer] :page_size Default: 20. Min: 1. Max: 1000. (default to 20) - # @option opts [String] :sort For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sorting + # @option opts [String] :sort For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sorting # @return [Hash] def get_segment_relationships_profiles(id, opts = {}) data, _status_code, _headers = get_segment_relationships_profiles_with_http_info(id, opts) @@ -368,10 +368,10 @@ def get_segment_relationships_profiles(id, opts = {}) # Get all profile membership [relationships](https://developers.klaviyo.com/en/reference/api_overview#relationships) for the given segment ID.<br><br>*Rate limits*:<br>Burst: `75/s`<br>Steady: `700/m` **Scopes:** `profiles:read` `segments:read` # @param id [String] # @param [Hash] opts the optional parameters - # @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`email`: `any`, `equals`<br>`phone_number`: `any`, `equals`<br>`push_token`: `any`, `equals`<br>`_kx`: `equals`<br>`joined_group_at`: `greater-or-equal`, `greater-than`, `less-or-equal`, `less-than` - # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#pagination + # @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`email`: `any`, `equals`<br>`phone_number`: `any`, `equals`<br>`push_token`: `any`, `equals`<br>`_kx`: `equals`<br>`joined_group_at`: `greater-or-equal`, `greater-than`, `less-or-equal`, `less-than` + # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#pagination # @option opts [Integer] :page_size Default: 20. Min: 1. Max: 1000. (default to 20) - # @option opts [String] :sort For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sorting + # @option opts [String] :sort For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sorting # @return [Array<(Hash, Integer, Hash)>] Hash data, response status code and response headers def get_segment_relationships_profiles_with_http_info(id, opts = {}) if @api_client.config.debugging @@ -406,7 +406,7 @@ def get_segment_relationships_profiles_with_http_info(id, opts = {}) # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) @@ -471,7 +471,7 @@ def get_segment_relationships_tags_with_http_info(id, opts = {}) # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) @@ -508,7 +508,7 @@ def get_segment_relationships_tags_with_http_info(id, opts = {}) # Return all tags associated with the given segment ID.

*Rate limits*:
Burst: `3/s`
Steady: `60/m` **Scopes:** `segments:read` `tags:read` # @param id [String] # @param [Hash] opts the optional parameters - # @option opts [Array] :fields_tag For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :fields_tag For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets # @return [Hash] def get_segment_tags(id, opts = {}) data, _status_code, _headers = get_segment_tags_with_http_info(id, opts) @@ -519,7 +519,7 @@ def get_segment_tags(id, opts = {}) # Return all tags associated with the given segment ID.<br><br>*Rate limits*:<br>Burst: `3/s`<br>Steady: `60/m` **Scopes:** `segments:read` `tags:read` # @param id [String] # @param [Hash] opts the optional parameters - # @option opts [Array] :fields_tag For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :fields_tag For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets # @return [Array<(Hash, Integer, Hash)>] Hash data, response status code and response headers def get_segment_tags_with_http_info(id, opts = {}) if @api_client.config.debugging @@ -543,7 +543,7 @@ def get_segment_tags_with_http_info(id, opts = {}) # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) @@ -579,12 +579,12 @@ def get_segment_tags_with_http_info(id, opts = {}) # Get Segments # Get all segments in an account. Filter to request a subset of all segments. Segments can be filtered by `name`, `created`, and `updated` fields. Returns a maximum of 10 results per page.

*Rate limits*:
Burst: `75/s`
Steady: `700/m` **Scopes:** `segments:read` # @param [Hash] opts the optional parameters - # @option opts [Array] :fields_segment For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [Array] :fields_tag For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`name`: `any`, `equals`<br>`id`: `any`, `equals`<br>`created`: `greater-than`<br>`updated`: `greater-than`<br>`is_active`: `any`, `equals`<br>`is_starred`: `equals` - # @option opts [Array] :include For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#relationships - # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#pagination - # @option opts [String] :sort For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sorting + # @option opts [Array] :fields_segment For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :fields_tag For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`name`: `any`, `equals`<br>`id`: `any`, `equals`<br>`created`: `greater-than`<br>`updated`: `greater-than`<br>`is_active`: `any`, `equals`<br>`is_starred`: `equals` + # @option opts [Array] :include For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#relationships + # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#pagination + # @option opts [String] :sort For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sorting # @return [Hash] def get_segments(opts = {}) data, _status_code, _headers = get_segments_with_http_info(opts) @@ -594,12 +594,12 @@ def get_segments(opts = {}) # Get Segments # Get all segments in an account. Filter to request a subset of all segments. Segments can be filtered by `name`, `created`, and `updated` fields. Returns a maximum of 10 results per page.<br><br>*Rate limits*:<br>Burst: `75/s`<br>Steady: `700/m` **Scopes:** `segments:read` # @param [Hash] opts the optional parameters - # @option opts [Array] :fields_segment For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [Array] :fields_tag For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`name`: `any`, `equals`<br>`id`: `any`, `equals`<br>`created`: `greater-than`<br>`updated`: `greater-than`<br>`is_active`: `any`, `equals`<br>`is_starred`: `equals` - # @option opts [Array] :include For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#relationships - # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#pagination - # @option opts [String] :sort For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sorting + # @option opts [Array] :fields_segment For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :fields_tag For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`name`: `any`, `equals`<br>`id`: `any`, `equals`<br>`created`: `greater-than`<br>`updated`: `greater-than`<br>`is_active`: `any`, `equals`<br>`is_starred`: `equals` + # @option opts [Array] :include For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#relationships + # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#pagination + # @option opts [String] :sort For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sorting # @return [Array<(Hash, Integer, Hash)>] Hash data, response status code and response headers def get_segments_with_http_info(opts = {}) if @api_client.config.debugging @@ -636,7 +636,7 @@ def get_segments_with_http_info(opts = {}) # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) @@ -707,7 +707,7 @@ def update_segment_with_http_info(id, segment_partial_update_query, opts = {}) # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' diff --git a/lib/klaviyo-api-sdk/api/tags_api.rb b/lib/klaviyo-api-sdk/api/tags_api.rb index f98727a..4e5d168 100644 --- a/lib/klaviyo-api-sdk/api/tags_api.rb +++ b/lib/klaviyo-api-sdk/api/tags_api.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 @@ -51,7 +51,7 @@ def create_tag_with_http_info(tag_create_query, opts = {}) # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' @@ -121,7 +121,7 @@ def create_tag_group_with_http_info(tag_group_create_query, opts = {}) # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' @@ -197,7 +197,7 @@ def create_tag_relationships_campaigns_with_http_info(id, tag_campaign_op, opts # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' @@ -273,7 +273,7 @@ def create_tag_relationships_flows_with_http_info(id, tag_flow_op, opts = {}) # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' @@ -349,7 +349,7 @@ def create_tag_relationships_lists_with_http_info(id, tag_list_op, opts = {}) # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' @@ -425,7 +425,7 @@ def create_tag_relationships_segments_with_http_info(id, tag_segment_op, opts = # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' @@ -495,7 +495,7 @@ def delete_tag_with_http_info(id, opts = {}) # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) @@ -560,7 +560,7 @@ def delete_tag_group_with_http_info(id, opts = {}) # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) @@ -631,7 +631,7 @@ def delete_tag_relationships_campaigns_with_http_info(id, tag_campaign_op, opts # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' @@ -707,7 +707,7 @@ def delete_tag_relationships_flows_with_http_info(id, tag_flow_op, opts = {}) # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' @@ -783,7 +783,7 @@ def delete_tag_relationships_lists_with_http_info(id, tag_list_op, opts = {}) # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' @@ -859,7 +859,7 @@ def delete_tag_relationships_segments_with_http_info(id, tag_segment_op, opts = # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' @@ -901,9 +901,9 @@ def delete_tag_relationships_segments_with_http_info(id, tag_segment_op, opts = # Retrieve the tag with the given tag ID.

*Rate limits*:
Burst: `3/s`
Steady: `60/m` **Scopes:** `tags:read` # @param id [String] The Tag ID # @param [Hash] opts the optional parameters - # @option opts [Array] :fields_tag_group For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [Array] :fields_tag For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [Array] :include For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#relationships + # @option opts [Array] :fields_tag_group For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :fields_tag For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :include For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#relationships # @return [Hash] def get_tag(id, opts = {}) data, _status_code, _headers = get_tag_with_http_info(id, opts) @@ -914,9 +914,9 @@ def get_tag(id, opts = {}) # Retrieve the tag with the given tag ID.<br><br>*Rate limits*:<br>Burst: `3/s`<br>Steady: `60/m` **Scopes:** `tags:read` # @param id [String] The Tag ID # @param [Hash] opts the optional parameters - # @option opts [Array] :fields_tag_group For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [Array] :fields_tag For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [Array] :include For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#relationships + # @option opts [Array] :fields_tag_group For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :fields_tag For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :include For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#relationships # @return [Array<(Hash, Integer, Hash)>] Hash data, response status code and response headers def get_tag_with_http_info(id, opts = {}) if @api_client.config.debugging @@ -950,7 +950,7 @@ def get_tag_with_http_info(id, opts = {}) # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) @@ -987,7 +987,7 @@ def get_tag_with_http_info(id, opts = {}) # Retrieve the tag group with the given tag group ID.

*Rate limits*:
Burst: `3/s`
Steady: `60/m` **Scopes:** `tags:read` # @param id [String] The Tag Group ID # @param [Hash] opts the optional parameters - # @option opts [Array] :fields_tag_group For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :fields_tag_group For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets # @return [Hash] def get_tag_group(id, opts = {}) data, _status_code, _headers = get_tag_group_with_http_info(id, opts) @@ -998,7 +998,7 @@ def get_tag_group(id, opts = {}) # Retrieve the tag group with the given tag group ID.<br><br>*Rate limits*:<br>Burst: `3/s`<br>Steady: `60/m` **Scopes:** `tags:read` # @param id [String] The Tag Group ID # @param [Hash] opts the optional parameters - # @option opts [Array] :fields_tag_group For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :fields_tag_group For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets # @return [Array<(Hash, Integer, Hash)>] Hash data, response status code and response headers def get_tag_group_with_http_info(id, opts = {}) if @api_client.config.debugging @@ -1022,7 +1022,7 @@ def get_tag_group_with_http_info(id, opts = {}) # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) @@ -1087,7 +1087,7 @@ def get_tag_group_relationships_tags_with_http_info(id, opts = {}) # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) @@ -1124,7 +1124,7 @@ def get_tag_group_relationships_tags_with_http_info(id, opts = {}) # Return the tags for a given tag group ID.

*Rate limits*:
Burst: `3/s`
Steady: `60/m` **Scopes:** `tags:read` # @param id [String] # @param [Hash] opts the optional parameters - # @option opts [Array] :fields_tag For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :fields_tag For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets # @return [Hash] def get_tag_group_tags(id, opts = {}) data, _status_code, _headers = get_tag_group_tags_with_http_info(id, opts) @@ -1135,7 +1135,7 @@ def get_tag_group_tags(id, opts = {}) # Return the tags for a given tag group ID.<br><br>*Rate limits*:<br>Burst: `3/s`<br>Steady: `60/m` **Scopes:** `tags:read` # @param id [String] # @param [Hash] opts the optional parameters - # @option opts [Array] :fields_tag For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :fields_tag For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets # @return [Array<(Hash, Integer, Hash)>] Hash data, response status code and response headers def get_tag_group_tags_with_http_info(id, opts = {}) if @api_client.config.debugging @@ -1159,7 +1159,7 @@ def get_tag_group_tags_with_http_info(id, opts = {}) # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) @@ -1195,10 +1195,10 @@ def get_tag_group_tags_with_http_info(id, opts = {}) # Get Tag Groups # List all tag groups in an account. Every account has one default tag group. Tag groups can be filtered by `name`, `exclusive`, and `default`, and sorted by `name` or `id` in ascending or descending order. Returns a maximum of 25 tag groups per request, which can be paginated with [cursor-based pagination](https://developers.klaviyo.com/en/v2022-10-17/reference/api_overview#pagination).

*Rate limits*:
Burst: `3/s`
Steady: `60/m` **Scopes:** `tags:read` # @param [Hash] opts the optional parameters - # @option opts [Array] :fields_tag_group For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`name`: `contains`, `ends-with`, `equals`, `starts-with`<br>`exclusive`: `equals`<br>`default`: `equals` - # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#pagination - # @option opts [String] :sort For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sorting + # @option opts [Array] :fields_tag_group For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`name`: `contains`, `ends-with`, `equals`, `starts-with`<br>`exclusive`: `equals`<br>`default`: `equals` + # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#pagination + # @option opts [String] :sort For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sorting # @return [Hash] def get_tag_groups(opts = {}) data, _status_code, _headers = get_tag_groups_with_http_info(opts) @@ -1208,10 +1208,10 @@ def get_tag_groups(opts = {}) # Get Tag Groups # List all tag groups in an account. Every account has one default tag group. Tag groups can be filtered by `name`, `exclusive`, and `default`, and sorted by `name` or `id` in ascending or descending order. Returns a maximum of 25 tag groups per request, which can be paginated with [cursor-based pagination](https://developers.klaviyo.com/en/v2022-10-17/reference/api_overview#pagination).<br><br>*Rate limits*:<br>Burst: `3/s`<br>Steady: `60/m` **Scopes:** `tags:read` # @param [Hash] opts the optional parameters - # @option opts [Array] :fields_tag_group For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`name`: `contains`, `ends-with`, `equals`, `starts-with`<br>`exclusive`: `equals`<br>`default`: `equals` - # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#pagination - # @option opts [String] :sort For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sorting + # @option opts [Array] :fields_tag_group For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`name`: `contains`, `ends-with`, `equals`, `starts-with`<br>`exclusive`: `equals`<br>`default`: `equals` + # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#pagination + # @option opts [String] :sort For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sorting # @return [Array<(Hash, Integer, Hash)>] Hash data, response status code and response headers def get_tag_groups_with_http_info(opts = {}) if @api_client.config.debugging @@ -1238,7 +1238,7 @@ def get_tag_groups_with_http_info(opts = {}) # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) @@ -1303,7 +1303,7 @@ def get_tag_relationships_campaigns_with_http_info(id, opts = {}) # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) @@ -1368,7 +1368,7 @@ def get_tag_relationships_flows_with_http_info(id, opts = {}) # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) @@ -1433,7 +1433,7 @@ def get_tag_relationships_lists_with_http_info(id, opts = {}) # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) @@ -1498,7 +1498,7 @@ def get_tag_relationships_segments_with_http_info(id, opts = {}) # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) @@ -1563,7 +1563,7 @@ def get_tag_relationships_tag_group_with_http_info(id, opts = {}) # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) @@ -1600,7 +1600,7 @@ def get_tag_relationships_tag_group_with_http_info(id, opts = {}) # Returns the tag group resource for a given tag ID.

*Rate limits*:
Burst: `3/s`
Steady: `60/m` **Scopes:** `tags:read` # @param id [String] # @param [Hash] opts the optional parameters - # @option opts [Array] :fields_tag_group For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :fields_tag_group For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets # @return [Hash] def get_tag_tag_group(id, opts = {}) data, _status_code, _headers = get_tag_tag_group_with_http_info(id, opts) @@ -1611,7 +1611,7 @@ def get_tag_tag_group(id, opts = {}) # Returns the tag group resource for a given tag ID.<br><br>*Rate limits*:<br>Burst: `3/s`<br>Steady: `60/m` **Scopes:** `tags:read` # @param id [String] # @param [Hash] opts the optional parameters - # @option opts [Array] :fields_tag_group For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :fields_tag_group For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets # @return [Array<(Hash, Integer, Hash)>] Hash data, response status code and response headers def get_tag_tag_group_with_http_info(id, opts = {}) if @api_client.config.debugging @@ -1635,7 +1635,7 @@ def get_tag_tag_group_with_http_info(id, opts = {}) # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) @@ -1671,12 +1671,12 @@ def get_tag_tag_group_with_http_info(id, opts = {}) # Get Tags # List all tags in an account. Tags can be filtered by `name`, and sorted by `name` or `id` in ascending or descending order. Returns a maximum of 50 tags per request, which can be paginated with [cursor-based pagination](https://developers.klaviyo.com/en/v2022-10-17/reference/api_overview#pagination).

*Rate limits*:
Burst: `3/s`
Steady: `60/m` **Scopes:** `tags:read` # @param [Hash] opts the optional parameters - # @option opts [Array] :fields_tag_group For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [Array] :fields_tag For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`name`: `contains`, `ends-with`, `equals`, `starts-with` - # @option opts [Array] :include For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#relationships - # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#pagination - # @option opts [String] :sort For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sorting + # @option opts [Array] :fields_tag_group For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :fields_tag For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`name`: `contains`, `ends-with`, `equals`, `starts-with` + # @option opts [Array] :include For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#relationships + # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#pagination + # @option opts [String] :sort For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sorting # @return [Hash] def get_tags(opts = {}) data, _status_code, _headers = get_tags_with_http_info(opts) @@ -1686,12 +1686,12 @@ def get_tags(opts = {}) # Get Tags # List all tags in an account. Tags can be filtered by `name`, and sorted by `name` or `id` in ascending or descending order. Returns a maximum of 50 tags per request, which can be paginated with [cursor-based pagination](https://developers.klaviyo.com/en/v2022-10-17/reference/api_overview#pagination).<br><br>*Rate limits*:<br>Burst: `3/s`<br>Steady: `60/m` **Scopes:** `tags:read` # @param [Hash] opts the optional parameters - # @option opts [Array] :fields_tag_group For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [Array] :fields_tag For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`name`: `contains`, `ends-with`, `equals`, `starts-with` - # @option opts [Array] :include For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#relationships - # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#pagination - # @option opts [String] :sort For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sorting + # @option opts [Array] :fields_tag_group For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :fields_tag For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`name`: `contains`, `ends-with`, `equals`, `starts-with` + # @option opts [Array] :include For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#relationships + # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#pagination + # @option opts [String] :sort For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sorting # @return [Array<(Hash, Integer, Hash)>] Hash data, response status code and response headers def get_tags_with_http_info(opts = {}) if @api_client.config.debugging @@ -1728,7 +1728,7 @@ def get_tags_with_http_info(opts = {}) # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) @@ -1799,7 +1799,7 @@ def update_tag_with_http_info(id, tag_update_query, opts = {}) # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' @@ -1875,7 +1875,7 @@ def update_tag_group_with_http_info(id, tag_group_update_query, opts = {}) # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' diff --git a/lib/klaviyo-api-sdk/api/templates_api.rb b/lib/klaviyo-api-sdk/api/templates_api.rb index 719e59a..fd1f2a2 100644 --- a/lib/klaviyo-api-sdk/api/templates_api.rb +++ b/lib/klaviyo-api-sdk/api/templates_api.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 @@ -51,7 +51,7 @@ def create_template_with_http_info(template_create_query, opts = {}) # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' @@ -121,7 +121,7 @@ def create_template_clone_with_http_info(template_clone_query, opts = {}) # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' @@ -191,7 +191,7 @@ def create_template_render_with_http_info(template_render_query, opts = {}) # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' @@ -261,7 +261,7 @@ def delete_template_with_http_info(id, opts = {}) # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) @@ -298,7 +298,7 @@ def delete_template_with_http_info(id, opts = {}) # Get a template with the given template ID.

*Rate limits*:
Burst: `10/s`
Steady: `150/m` **Scopes:** `templates:read` # @param id [String] The ID of template # @param [Hash] opts the optional parameters - # @option opts [Array] :fields_template For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :fields_template For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets # @return [Hash] def get_template(id, opts = {}) data, _status_code, _headers = get_template_with_http_info(id, opts) @@ -309,7 +309,7 @@ def get_template(id, opts = {}) # Get a template with the given template ID.<br><br>*Rate limits*:<br>Burst: `10/s`<br>Steady: `150/m` **Scopes:** `templates:read` # @param id [String] The ID of template # @param [Hash] opts the optional parameters - # @option opts [Array] :fields_template For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :fields_template For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets # @return [Array<(Hash, Integer, Hash)>] Hash data, response status code and response headers def get_template_with_http_info(id, opts = {}) if @api_client.config.debugging @@ -333,7 +333,7 @@ def get_template_with_http_info(id, opts = {}) # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) @@ -369,10 +369,10 @@ def get_template_with_http_info(id, opts = {}) # Get Templates # Get all templates in an account. Filter to request a subset of all templates. Templates can be sorted by the following fields, in ascending and descending order: `id`, `name`, `created`, `updated` Returns a maximum of 10 results per page.

*Rate limits*:
Burst: `10/s`
Steady: `150/m` **Scopes:** `templates:read` # @param [Hash] opts the optional parameters - # @option opts [Array] :fields_template For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`id`: `any`, `equals`<br>`name`: `any`, `equals`<br>`created`: `equals`, `greater-or-equal`, `greater-than`, `less-or-equal`, `less-than`<br>`updated`: `equals`, `greater-or-equal`, `greater-than`, `less-or-equal`, `less-than` - # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#pagination - # @option opts [String] :sort For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sorting + # @option opts [Array] :fields_template For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [String] :filter 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>`name`: `any`, `equals`<br>`created`: `equals`, `greater-or-equal`, `greater-than`, `less-or-equal`, `less-than`<br>`updated`: `equals`, `greater-or-equal`, `greater-than`, `less-or-equal`, `less-than` + # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#pagination + # @option opts [String] :sort For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sorting # @return [Hash] def get_templates(opts = {}) data, _status_code, _headers = get_templates_with_http_info(opts) @@ -382,10 +382,10 @@ def get_templates(opts = {}) # Get Templates # Get all templates in an account. Filter to request a subset of all templates. Templates can be sorted by the following fields, in ascending and descending order: `id`, `name`, `created`, `updated` Returns a maximum of 10 results per page.<br><br>*Rate limits*:<br>Burst: `10/s`<br>Steady: `150/m` **Scopes:** `templates:read` # @param [Hash] opts the optional parameters - # @option opts [Array] :fields_template For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets - # @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`id`: `any`, `equals`<br>`name`: `any`, `equals`<br>`created`: `equals`, `greater-or-equal`, `greater-than`, `less-or-equal`, `less-than`<br>`updated`: `equals`, `greater-or-equal`, `greater-than`, `less-or-equal`, `less-than` - # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#pagination - # @option opts [String] :sort For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sorting + # @option opts [Array] :fields_template For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [String] :filter 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>`name`: `any`, `equals`<br>`created`: `equals`, `greater-or-equal`, `greater-than`, `less-or-equal`, `less-than`<br>`updated`: `equals`, `greater-or-equal`, `greater-than`, `less-or-equal`, `less-than` + # @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#pagination + # @option opts [String] :sort For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sorting # @return [Array<(Hash, Integer, Hash)>] Hash data, response status code and response headers def get_templates_with_http_info(opts = {}) if @api_client.config.debugging @@ -412,7 +412,7 @@ def get_templates_with_http_info(opts = {}) # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) @@ -483,7 +483,7 @@ def update_template_with_http_info(id, template_update_query, opts = {}) # header parameters header_params = opts[:header_params] || {} # klaviyo api revision - header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' diff --git a/lib/klaviyo-api-sdk/api/webhooks_api.rb b/lib/klaviyo-api-sdk/api/webhooks_api.rb new file mode 100644 index 0000000..b5adb10 --- /dev/null +++ b/lib/klaviyo-api-sdk/api/webhooks_api.rb @@ -0,0 +1,509 @@ +=begin +#Klaviyo API + +#The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. + +The version of the OpenAPI document: 2024-07-15 +Contact: developers@klaviyo.com +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.2.1 + +=end + +require 'cgi' + +module KlaviyoAPI + class WebhooksApi + attr_accessor :api_client + + def initialize(api_client = ApiClient.default) + @api_client = api_client + end + # Create Webhook + # Create a new Webhook

*Rate limits*:
Burst: `1/s`
Steady: `15/m` **Scopes:** `webhooks:write` + # @param webhook_create_query [WebhookCreateQuery] + # @param [Hash] opts the optional parameters + # @return [Hash] + def create_webhook(webhook_create_query, opts = {}) + data, _status_code, _headers = create_webhook_with_http_info(webhook_create_query, opts) + data + end + + # Create Webhook + # Create a new Webhook<br><br>*Rate limits*:<br>Burst: `1/s`<br>Steady: `15/m` **Scopes:** `webhooks:write` + # @param webhook_create_query [WebhookCreateQuery] + # @param [Hash] opts the optional parameters + # @return [Array<(Hash, Integer, Hash)>] Hash data, response status code and response headers + def create_webhook_with_http_info(webhook_create_query, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug 'Calling API: WebhooksApi.create_webhook ...' + end + # verify the required parameter 'webhook_create_query' is set + if @api_client.config.client_side_validation && webhook_create_query.nil? + fail ArgumentError, "Missing the required parameter 'webhook_create_query' when calling WebhooksApi.create_webhook" + end + # resource path + local_var_path = '/api/webhooks/' + + # query parameters + query_params = opts[:query_params] || {} + + # header parameters + header_params = opts[:header_params] || {} + # klaviyo api revision + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json']) + # HTTP header 'Content-Type' + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end + + # form parameters + form_params = opts[:form_params] || {} + + # http body (model) + post_body = opts[:debug_body] || @api_client.object_to_http_body(webhook_create_query) + + # return_type + return_type = opts[:debug_return_type] || 'Hash' + + # auth_names + auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key'] + + new_options = opts.merge( + :operation => :"WebhooksApi.create_webhook", + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => return_type + ) + + data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options) + if @api_client.config.debugging + @api_client.config.logger.debug "API called: WebhooksApi#create_webhook\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # Delete Webhook + # Delete a webhook with the given ID.

*Rate limits*:
Burst: `1/s`
Steady: `15/m` **Scopes:** `webhooks:write` + # @param id [String] The ID of the webhook. + # @param [Hash] opts the optional parameters + # @return [nil] + def delete_webhook(id, opts = {}) + delete_webhook_with_http_info(id, opts) + nil + end + + # Delete Webhook + # Delete a webhook with the given ID.<br><br>*Rate limits*:<br>Burst: `1/s`<br>Steady: `15/m` **Scopes:** `webhooks:write` + # @param id [String] The ID of the webhook. + # @param [Hash] opts the optional parameters + # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers + def delete_webhook_with_http_info(id, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug 'Calling API: WebhooksApi.delete_webhook ...' + end + # verify the required parameter 'id' is set + if @api_client.config.client_side_validation && id.nil? + fail ArgumentError, "Missing the required parameter 'id' when calling WebhooksApi.delete_webhook" + end + # resource path + local_var_path = '/api/webhooks/{id}/'.sub('{' + 'id' + '}', CGI.escape(id.to_s)) + + # query parameters + query_params = opts[:query_params] || {} + + # header parameters + header_params = opts[:header_params] || {} + # klaviyo api revision + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json']) + + # form parameters + form_params = opts[:form_params] || {} + + # http body (model) + post_body = opts[:debug_body] + + # return_type + return_type = opts[:debug_return_type] + + # auth_names + auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key'] + + new_options = opts.merge( + :operation => :"WebhooksApi.delete_webhook", + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => return_type + ) + + data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options) + if @api_client.config.debugging + @api_client.config.logger.debug "API called: WebhooksApi#delete_webhook\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # Get Webhook + # Get the webhook with the given ID.

*Rate limits*:
Burst: `1/s`
Steady: `15/m` **Scopes:** `webhooks:read` + # @param id [String] The ID of the webhook. + # @param [Hash] opts the optional parameters + # @option opts [Array] :fields_webhook For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :include For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#relationships + # @return [Hash] + def get_webhook(id, opts = {}) + data, _status_code, _headers = get_webhook_with_http_info(id, opts) + data + end + + # Get Webhook + # Get the webhook with the given ID.<br><br>*Rate limits*:<br>Burst: `1/s`<br>Steady: `15/m` **Scopes:** `webhooks:read` + # @param id [String] The ID of the webhook. + # @param [Hash] opts the optional parameters + # @option opts [Array] :fields_webhook For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :include For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#relationships + # @return [Array<(Hash, Integer, Hash)>] Hash data, response status code and response headers + def get_webhook_with_http_info(id, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug 'Calling API: WebhooksApi.get_webhook ...' + end + # verify the required parameter 'id' is set + if @api_client.config.client_side_validation && id.nil? + fail ArgumentError, "Missing the required parameter 'id' when calling WebhooksApi.get_webhook" + end + allowable_values = ["name", "description", "endpoint_url", "enabled", "created_at", "updated_at"] + if @api_client.config.client_side_validation && opts[:'fields_webhook'] && !opts[:'fields_webhook'].all? { |item| allowable_values.include?(item) } + fail ArgumentError, "invalid value for \"fields_webhook\", must include one of #{allowable_values}" + end + allowable_values = ["webhook-topics"] + if @api_client.config.client_side_validation && opts[:'include'] && !opts[:'include'].all? { |item| allowable_values.include?(item) } + fail ArgumentError, "invalid value for \"include\", must include one of #{allowable_values}" + end + # resource path + local_var_path = '/api/webhooks/{id}/'.sub('{' + 'id' + '}', CGI.escape(id.to_s)) + + # query parameters + query_params = opts[:query_params] || {} + query_params[:'fields[webhook]'] = @api_client.build_collection_param(opts[:'fields_webhook'], :csv) if !opts[:'fields_webhook'].nil? + query_params[:'include'] = @api_client.build_collection_param(opts[:'include'], :csv) if !opts[:'include'].nil? + + # header parameters + header_params = opts[:header_params] || {} + # klaviyo api revision + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json']) + + # form parameters + form_params = opts[:form_params] || {} + + # http body (model) + post_body = opts[:debug_body] + + # return_type + return_type = opts[:debug_return_type] || 'Hash' + + # auth_names + auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key'] + + new_options = opts.merge( + :operation => :"WebhooksApi.get_webhook", + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => return_type + ) + + data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options) + if @api_client.config.debugging + @api_client.config.logger.debug "API called: WebhooksApi#get_webhook\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # Get Webhook Topic + # Get the webhook topic with the given ID.

*Rate limits*:
Burst: `1/s`
Steady: `15/m` **Scopes:** `webhooks:read` + # @param id [String] The ID of the webhook topic. + # @param [Hash] opts the optional parameters + # @return [Hash] + def get_webhook_topic(id, opts = {}) + data, _status_code, _headers = get_webhook_topic_with_http_info(id, opts) + data + end + + # Get Webhook Topic + # Get the webhook topic with the given ID.<br><br>*Rate limits*:<br>Burst: `1/s`<br>Steady: `15/m` **Scopes:** `webhooks:read` + # @param id [String] The ID of the webhook topic. + # @param [Hash] opts the optional parameters + # @return [Array<(Hash, Integer, Hash)>] Hash data, response status code and response headers + def get_webhook_topic_with_http_info(id, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug 'Calling API: WebhooksApi.get_webhook_topic ...' + end + # verify the required parameter 'id' is set + if @api_client.config.client_side_validation && id.nil? + fail ArgumentError, "Missing the required parameter 'id' when calling WebhooksApi.get_webhook_topic" + end + # resource path + local_var_path = '/api/webhook-topics/{id}/'.sub('{' + 'id' + '}', CGI.escape(id.to_s)) + + # query parameters + query_params = opts[:query_params] || {} + + # header parameters + header_params = opts[:header_params] || {} + # klaviyo api revision + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json']) + + # form parameters + form_params = opts[:form_params] || {} + + # http body (model) + post_body = opts[:debug_body] + + # return_type + return_type = opts[:debug_return_type] || 'Hash' + + # auth_names + auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key'] + + new_options = opts.merge( + :operation => :"WebhooksApi.get_webhook_topic", + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => return_type + ) + + data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options) + if @api_client.config.debugging + @api_client.config.logger.debug "API called: WebhooksApi#get_webhook_topic\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # Get Webhook Topics + # Get all webhook topics in a Klaviyo account.

*Rate limits*:
Burst: `1/s`
Steady: `15/m` **Scopes:** `webhooks:read` + # @param [Hash] opts the optional parameters + # @return [Hash] + def get_webhook_topics(opts = {}) + data, _status_code, _headers = get_webhook_topics_with_http_info(opts) + data + end + + # Get Webhook Topics + # Get all webhook topics in a Klaviyo account.<br><br>*Rate limits*:<br>Burst: `1/s`<br>Steady: `15/m` **Scopes:** `webhooks:read` + # @param [Hash] opts the optional parameters + # @return [Array<(Hash, Integer, Hash)>] Hash data, response status code and response headers + def get_webhook_topics_with_http_info(opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug 'Calling API: WebhooksApi.get_webhook_topics ...' + end + # resource path + local_var_path = '/api/webhook-topics/' + + # query parameters + query_params = opts[:query_params] || {} + + # header parameters + header_params = opts[:header_params] || {} + # klaviyo api revision + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json']) + + # form parameters + form_params = opts[:form_params] || {} + + # http body (model) + post_body = opts[:debug_body] + + # return_type + return_type = opts[:debug_return_type] || 'Hash' + + # auth_names + auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key'] + + new_options = opts.merge( + :operation => :"WebhooksApi.get_webhook_topics", + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => return_type + ) + + data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options) + if @api_client.config.debugging + @api_client.config.logger.debug "API called: WebhooksApi#get_webhook_topics\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # Get Webhooks + # Get all webhooks in an account.

*Rate limits*:
Burst: `1/s`
Steady: `15/m` **Scopes:** `webhooks:read` + # @param [Hash] opts the optional parameters + # @option opts [Array] :fields_webhook For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :include For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#relationships + # @return [Hash] + def get_webhooks(opts = {}) + data, _status_code, _headers = get_webhooks_with_http_info(opts) + data + end + + # Get Webhooks + # Get all webhooks in an account.<br><br>*Rate limits*:<br>Burst: `1/s`<br>Steady: `15/m` **Scopes:** `webhooks:read` + # @param [Hash] opts the optional parameters + # @option opts [Array] :fields_webhook For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets + # @option opts [Array] :include For more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#relationships + # @return [Array<(Hash, Integer, Hash)>] Hash data, response status code and response headers + def get_webhooks_with_http_info(opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug 'Calling API: WebhooksApi.get_webhooks ...' + end + allowable_values = ["name", "description", "endpoint_url", "enabled", "created_at", "updated_at"] + if @api_client.config.client_side_validation && opts[:'fields_webhook'] && !opts[:'fields_webhook'].all? { |item| allowable_values.include?(item) } + fail ArgumentError, "invalid value for \"fields_webhook\", must include one of #{allowable_values}" + end + allowable_values = ["webhook-topics"] + if @api_client.config.client_side_validation && opts[:'include'] && !opts[:'include'].all? { |item| allowable_values.include?(item) } + fail ArgumentError, "invalid value for \"include\", must include one of #{allowable_values}" + end + # resource path + local_var_path = '/api/webhooks/' + + # query parameters + query_params = opts[:query_params] || {} + query_params[:'fields[webhook]'] = @api_client.build_collection_param(opts[:'fields_webhook'], :csv) if !opts[:'fields_webhook'].nil? + query_params[:'include'] = @api_client.build_collection_param(opts[:'include'], :csv) if !opts[:'include'].nil? + + # header parameters + header_params = opts[:header_params] || {} + # klaviyo api revision + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json']) + + # form parameters + form_params = opts[:form_params] || {} + + # http body (model) + post_body = opts[:debug_body] + + # return_type + return_type = opts[:debug_return_type] || 'Hash' + + # auth_names + auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key'] + + new_options = opts.merge( + :operation => :"WebhooksApi.get_webhooks", + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => return_type + ) + + data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options) + if @api_client.config.debugging + @api_client.config.logger.debug "API called: WebhooksApi#get_webhooks\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # Update Webhook + # Update the webhook with the given ID.

*Rate limits*:
Burst: `1/s`
Steady: `15/m` **Scopes:** `webhooks:write` + # @param id [String] The ID of the webhook. + # @param webhook_partial_update_query [WebhookPartialUpdateQuery] + # @param [Hash] opts the optional parameters + # @return [Hash] + def update_webhook(id, webhook_partial_update_query, opts = {}) + data, _status_code, _headers = update_webhook_with_http_info(id, webhook_partial_update_query, opts) + data + end + + # Update Webhook + # Update the webhook with the given ID.<br><br>*Rate limits*:<br>Burst: `1/s`<br>Steady: `15/m` **Scopes:** `webhooks:write` + # @param id [String] The ID of the webhook. + # @param webhook_partial_update_query [WebhookPartialUpdateQuery] + # @param [Hash] opts the optional parameters + # @return [Array<(Hash, Integer, Hash)>] Hash data, response status code and response headers + def update_webhook_with_http_info(id, webhook_partial_update_query, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug 'Calling API: WebhooksApi.update_webhook ...' + end + # verify the required parameter 'id' is set + if @api_client.config.client_side_validation && id.nil? + fail ArgumentError, "Missing the required parameter 'id' when calling WebhooksApi.update_webhook" + end + # verify the required parameter 'webhook_partial_update_query' is set + if @api_client.config.client_side_validation && webhook_partial_update_query.nil? + fail ArgumentError, "Missing the required parameter 'webhook_partial_update_query' when calling WebhooksApi.update_webhook" + end + # resource path + local_var_path = '/api/webhooks/{id}/'.sub('{' + 'id' + '}', CGI.escape(id.to_s)) + + # query parameters + query_params = opts[:query_params] || {} + + # header parameters + header_params = opts[:header_params] || {} + # klaviyo api revision + header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-07-15" + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json']) + # HTTP header 'Content-Type' + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end + + # form parameters + form_params = opts[:form_params] || {} + + # http body (model) + post_body = opts[:debug_body] || @api_client.object_to_http_body(webhook_partial_update_query) + + # return_type + return_type = opts[:debug_return_type] || 'Hash' + + # auth_names + auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key'] + + new_options = opts.merge( + :operation => :"WebhooksApi.update_webhook", + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => return_type + ) + + data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, new_options) + if @api_client.config.debugging + @api_client.config.logger.debug "API called: WebhooksApi#update_webhook\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + end +end diff --git a/lib/klaviyo-api-sdk/api_client.rb b/lib/klaviyo-api-sdk/api_client.rb index aa00b61..630f10e 100644 --- a/lib/klaviyo-api-sdk/api_client.rb +++ b/lib/klaviyo-api-sdk/api_client.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 @@ -32,7 +32,7 @@ class ApiClient # @option config [Configuration] Configuration for initializing the object, default to Configuration.default def initialize(config = Configuration.default) @config = config - @user_agent = "klaviyo-api-ruby/7.1.0" + @user_agent = "klaviyo-api-ruby/8.0.0" @default_headers = { 'Content-Type' => 'application/json', 'User-Agent' => @user_agent diff --git a/lib/klaviyo-api-sdk/api_error.rb b/lib/klaviyo-api-sdk/api_error.rb index a55efdc..19e630b 100644 --- a/lib/klaviyo-api-sdk/api_error.rb +++ b/lib/klaviyo-api-sdk/api_error.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/configuration.rb b/lib/klaviyo-api-sdk/configuration.rb index e955c0d..16f38b1 100644 --- a/lib/klaviyo-api-sdk/configuration.rb +++ b/lib/klaviyo-api-sdk/configuration.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/alltime_date_filter.rb b/lib/klaviyo-api-sdk/models/alltime_date_filter.rb index 4434d74..8c0b500 100644 --- a/lib/klaviyo-api-sdk/models/alltime_date_filter.rb +++ b/lib/klaviyo-api-sdk/models/alltime_date_filter.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/anniversary_date_filter.rb b/lib/klaviyo-api-sdk/models/anniversary_date_filter.rb index 9ad5bd1..4f4e8d0 100644 --- a/lib/klaviyo-api-sdk/models/anniversary_date_filter.rb +++ b/lib/klaviyo-api-sdk/models/anniversary_date_filter.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/any_enum.rb b/lib/klaviyo-api-sdk/models/any_enum.rb index d0dbe3f..9d0e628 100644 --- a/lib/klaviyo-api-sdk/models/any_enum.rb +++ b/lib/klaviyo-api-sdk/models/any_enum.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/api_enum.rb b/lib/klaviyo-api-sdk/models/api_enum.rb index d8e9732..e795d93 100644 --- a/lib/klaviyo-api-sdk/models/api_enum.rb +++ b/lib/klaviyo-api-sdk/models/api_enum.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/api_method_filter.rb b/lib/klaviyo-api-sdk/models/api_method_filter.rb index b1c63b0..98fed44 100644 --- a/lib/klaviyo-api-sdk/models/api_method_filter.rb +++ b/lib/klaviyo-api-sdk/models/api_method_filter.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/audiences_sub_object.rb b/lib/klaviyo-api-sdk/models/audiences_sub_object.rb index 8cd0c7b..6dd6601 100644 --- a/lib/klaviyo-api-sdk/models/audiences_sub_object.rb +++ b/lib/klaviyo-api-sdk/models/audiences_sub_object.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/back_in_stock_enum.rb b/lib/klaviyo-api-sdk/models/back_in_stock_enum.rb index c6f90c9..deb1186 100644 --- a/lib/klaviyo-api-sdk/models/back_in_stock_enum.rb +++ b/lib/klaviyo-api-sdk/models/back_in_stock_enum.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/back_in_stock_method_filter.rb b/lib/klaviyo-api-sdk/models/back_in_stock_method_filter.rb index 9ff3d15..d6abf0a 100644 --- a/lib/klaviyo-api-sdk/models/back_in_stock_method_filter.rb +++ b/lib/klaviyo-api-sdk/models/back_in_stock_method_filter.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/back_in_stock_subscription_enum.rb b/lib/klaviyo-api-sdk/models/back_in_stock_subscription_enum.rb index dac273b..65026e9 100644 --- a/lib/klaviyo-api-sdk/models/back_in_stock_subscription_enum.rb +++ b/lib/klaviyo-api-sdk/models/back_in_stock_subscription_enum.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/base_event_create_query_resource_object.rb b/lib/klaviyo-api-sdk/models/base_event_create_query_resource_object.rb index e576ab4..1103556 100644 --- a/lib/klaviyo-api-sdk/models/base_event_create_query_resource_object.rb +++ b/lib/klaviyo-api-sdk/models/base_event_create_query_resource_object.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/base_event_create_query_resource_object_attributes.rb b/lib/klaviyo-api-sdk/models/base_event_create_query_resource_object_attributes.rb index ea63089..3a0adc0 100644 --- a/lib/klaviyo-api-sdk/models/base_event_create_query_resource_object_attributes.rb +++ b/lib/klaviyo-api-sdk/models/base_event_create_query_resource_object_attributes.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/boolean_enum.rb b/lib/klaviyo-api-sdk/models/boolean_enum.rb index 3553ec8..a944698 100644 --- a/lib/klaviyo-api-sdk/models/boolean_enum.rb +++ b/lib/klaviyo-api-sdk/models/boolean_enum.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/boolean_filter.rb b/lib/klaviyo-api-sdk/models/boolean_filter.rb index e3072f3..95edbc6 100644 --- a/lib/klaviyo-api-sdk/models/boolean_filter.rb +++ b/lib/klaviyo-api-sdk/models/boolean_filter.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/bounce_date_enum.rb b/lib/klaviyo-api-sdk/models/bounce_date_enum.rb index af7d99e..4ee212e 100644 --- a/lib/klaviyo-api-sdk/models/bounce_date_enum.rb +++ b/lib/klaviyo-api-sdk/models/bounce_date_enum.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/bounce_date_filter.rb b/lib/klaviyo-api-sdk/models/bounce_date_filter.rb index b3f437b..1ee628f 100644 --- a/lib/klaviyo-api-sdk/models/bounce_date_filter.rb +++ b/lib/klaviyo-api-sdk/models/bounce_date_filter.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/bounce_date_filter_filter.rb b/lib/klaviyo-api-sdk/models/bounce_date_filter_filter.rb index cedf558..6c832db 100644 --- a/lib/klaviyo-api-sdk/models/bounce_date_filter_filter.rb +++ b/lib/klaviyo-api-sdk/models/bounce_date_filter_filter.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 @@ -23,7 +23,7 @@ def openapi_one_of :'CalendarDateFilter', :'IsSetExistenceFilter', :'RelativeAnniversaryDateFilter', - :'RelativeDateFilter', + :'RelativeDateOperatorBaseFilter', :'RelativeDateRangeFilter', :'StaticDateFilter', :'StaticDateRangeFilter' diff --git a/lib/klaviyo-api-sdk/models/bulk_remove_enum.rb b/lib/klaviyo-api-sdk/models/bulk_remove_enum.rb index 2fdf106..709a486 100644 --- a/lib/klaviyo-api-sdk/models/bulk_remove_enum.rb +++ b/lib/klaviyo-api-sdk/models/bulk_remove_enum.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/bulk_remove_method_filter.rb b/lib/klaviyo-api-sdk/models/bulk_remove_method_filter.rb index feb65a9..dcfe4a7 100644 --- a/lib/klaviyo-api-sdk/models/bulk_remove_method_filter.rb +++ b/lib/klaviyo-api-sdk/models/bulk_remove_method_filter.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/calendar_date_filter.rb b/lib/klaviyo-api-sdk/models/calendar_date_filter.rb index 20879aa..788b981 100644 --- a/lib/klaviyo-api-sdk/models/calendar_date_filter.rb +++ b/lib/klaviyo-api-sdk/models/calendar_date_filter.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/campaign_clone_query.rb b/lib/klaviyo-api-sdk/models/campaign_clone_query.rb index a761bd0..75dd4ef 100644 --- a/lib/klaviyo-api-sdk/models/campaign_clone_query.rb +++ b/lib/klaviyo-api-sdk/models/campaign_clone_query.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/campaign_clone_query_resource_object.rb b/lib/klaviyo-api-sdk/models/campaign_clone_query_resource_object.rb index 0c9cb5c..481e5fe 100644 --- a/lib/klaviyo-api-sdk/models/campaign_clone_query_resource_object.rb +++ b/lib/klaviyo-api-sdk/models/campaign_clone_query_resource_object.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/campaign_clone_query_resource_object_attributes.rb b/lib/klaviyo-api-sdk/models/campaign_clone_query_resource_object_attributes.rb index 96db51a..bf00dbe 100644 --- a/lib/klaviyo-api-sdk/models/campaign_clone_query_resource_object_attributes.rb +++ b/lib/klaviyo-api-sdk/models/campaign_clone_query_resource_object_attributes.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/campaign_create_query.rb b/lib/klaviyo-api-sdk/models/campaign_create_query.rb index 55871de..cf0275a 100644 --- a/lib/klaviyo-api-sdk/models/campaign_create_query.rb +++ b/lib/klaviyo-api-sdk/models/campaign_create_query.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/campaign_create_query_resource_object.rb b/lib/klaviyo-api-sdk/models/campaign_create_query_resource_object.rb index 040af63..e587db3 100644 --- a/lib/klaviyo-api-sdk/models/campaign_create_query_resource_object.rb +++ b/lib/klaviyo-api-sdk/models/campaign_create_query_resource_object.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/campaign_create_query_resource_object_attributes.rb b/lib/klaviyo-api-sdk/models/campaign_create_query_resource_object_attributes.rb index 150708d..1c24f88 100644 --- a/lib/klaviyo-api-sdk/models/campaign_create_query_resource_object_attributes.rb +++ b/lib/klaviyo-api-sdk/models/campaign_create_query_resource_object_attributes.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/campaign_create_query_resource_object_attributes_campaign_messages.rb b/lib/klaviyo-api-sdk/models/campaign_create_query_resource_object_attributes_campaign_messages.rb index 8d38ead..e211b66 100644 --- a/lib/klaviyo-api-sdk/models/campaign_create_query_resource_object_attributes_campaign_messages.rb +++ b/lib/klaviyo-api-sdk/models/campaign_create_query_resource_object_attributes_campaign_messages.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/campaign_create_query_resource_object_attributes_send_options.rb b/lib/klaviyo-api-sdk/models/campaign_create_query_resource_object_attributes_send_options.rb index 291f316..ddf9bb6 100644 --- a/lib/klaviyo-api-sdk/models/campaign_create_query_resource_object_attributes_send_options.rb +++ b/lib/klaviyo-api-sdk/models/campaign_create_query_resource_object_attributes_send_options.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/campaign_create_query_resource_object_attributes_tracking_options.rb b/lib/klaviyo-api-sdk/models/campaign_create_query_resource_object_attributes_tracking_options.rb index 6d472cf..e430e2b 100644 --- a/lib/klaviyo-api-sdk/models/campaign_create_query_resource_object_attributes_tracking_options.rb +++ b/lib/klaviyo-api-sdk/models/campaign_create_query_resource_object_attributes_tracking_options.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/campaign_enum.rb b/lib/klaviyo-api-sdk/models/campaign_enum.rb index 53a7b86..11e4c3c 100644 --- a/lib/klaviyo-api-sdk/models/campaign_enum.rb +++ b/lib/klaviyo-api-sdk/models/campaign_enum.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/campaign_message_assign_template_query.rb b/lib/klaviyo-api-sdk/models/campaign_message_assign_template_query.rb index 493bd58..1841f1e 100644 --- a/lib/klaviyo-api-sdk/models/campaign_message_assign_template_query.rb +++ b/lib/klaviyo-api-sdk/models/campaign_message_assign_template_query.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/campaign_message_assign_template_query_resource_object.rb b/lib/klaviyo-api-sdk/models/campaign_message_assign_template_query_resource_object.rb index 26ad322..97a8e0b 100644 --- a/lib/klaviyo-api-sdk/models/campaign_message_assign_template_query_resource_object.rb +++ b/lib/klaviyo-api-sdk/models/campaign_message_assign_template_query_resource_object.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/campaign_message_assign_template_query_resource_object_relationships.rb b/lib/klaviyo-api-sdk/models/campaign_message_assign_template_query_resource_object_relationships.rb index faaff86..e806255 100644 --- a/lib/klaviyo-api-sdk/models/campaign_message_assign_template_query_resource_object_relationships.rb +++ b/lib/klaviyo-api-sdk/models/campaign_message_assign_template_query_resource_object_relationships.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/campaign_message_assign_template_query_resource_object_relationships_template.rb b/lib/klaviyo-api-sdk/models/campaign_message_assign_template_query_resource_object_relationships_template.rb index 4cfe80c..32b5ea4 100644 --- a/lib/klaviyo-api-sdk/models/campaign_message_assign_template_query_resource_object_relationships_template.rb +++ b/lib/klaviyo-api-sdk/models/campaign_message_assign_template_query_resource_object_relationships_template.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/campaign_message_assign_template_query_resource_object_relationships_template_data.rb b/lib/klaviyo-api-sdk/models/campaign_message_assign_template_query_resource_object_relationships_template_data.rb index 0251984..8d27ec8 100644 --- a/lib/klaviyo-api-sdk/models/campaign_message_assign_template_query_resource_object_relationships_template_data.rb +++ b/lib/klaviyo-api-sdk/models/campaign_message_assign_template_query_resource_object_relationships_template_data.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/campaign_message_create_query_resource_object.rb b/lib/klaviyo-api-sdk/models/campaign_message_create_query_resource_object.rb index ca0ce05..ca84404 100644 --- a/lib/klaviyo-api-sdk/models/campaign_message_create_query_resource_object.rb +++ b/lib/klaviyo-api-sdk/models/campaign_message_create_query_resource_object.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/campaign_message_create_query_resource_object_attributes.rb b/lib/klaviyo-api-sdk/models/campaign_message_create_query_resource_object_attributes.rb index e9ea6cc..d810b45 100644 --- a/lib/klaviyo-api-sdk/models/campaign_message_create_query_resource_object_attributes.rb +++ b/lib/klaviyo-api-sdk/models/campaign_message_create_query_resource_object_attributes.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/campaign_message_create_query_resource_object_attributes_content.rb b/lib/klaviyo-api-sdk/models/campaign_message_create_query_resource_object_attributes_content.rb index a55ceda..48e92ab 100644 --- a/lib/klaviyo-api-sdk/models/campaign_message_create_query_resource_object_attributes_content.rb +++ b/lib/klaviyo-api-sdk/models/campaign_message_create_query_resource_object_attributes_content.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/campaign_message_enum.rb b/lib/klaviyo-api-sdk/models/campaign_message_enum.rb index 5a6a7e0..6a9b08e 100644 --- a/lib/klaviyo-api-sdk/models/campaign_message_enum.rb +++ b/lib/klaviyo-api-sdk/models/campaign_message_enum.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/campaign_message_partial_update_query.rb b/lib/klaviyo-api-sdk/models/campaign_message_partial_update_query.rb index 214ea32..f3a25a1 100644 --- a/lib/klaviyo-api-sdk/models/campaign_message_partial_update_query.rb +++ b/lib/klaviyo-api-sdk/models/campaign_message_partial_update_query.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/campaign_message_partial_update_query_resource_object.rb b/lib/klaviyo-api-sdk/models/campaign_message_partial_update_query_resource_object.rb index 0fe28bf..7d41cd4 100644 --- a/lib/klaviyo-api-sdk/models/campaign_message_partial_update_query_resource_object.rb +++ b/lib/klaviyo-api-sdk/models/campaign_message_partial_update_query_resource_object.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/campaign_message_partial_update_query_resource_object_attributes.rb b/lib/klaviyo-api-sdk/models/campaign_message_partial_update_query_resource_object_attributes.rb index 0cb4c88..7e1abe1 100644 --- a/lib/klaviyo-api-sdk/models/campaign_message_partial_update_query_resource_object_attributes.rb +++ b/lib/klaviyo-api-sdk/models/campaign_message_partial_update_query_resource_object_attributes.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/campaign_partial_update_query.rb b/lib/klaviyo-api-sdk/models/campaign_partial_update_query.rb index c195d6a..6707c72 100644 --- a/lib/klaviyo-api-sdk/models/campaign_partial_update_query.rb +++ b/lib/klaviyo-api-sdk/models/campaign_partial_update_query.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/campaign_partial_update_query_resource_object.rb b/lib/klaviyo-api-sdk/models/campaign_partial_update_query_resource_object.rb index 2b1e1d3..375626f 100644 --- a/lib/klaviyo-api-sdk/models/campaign_partial_update_query_resource_object.rb +++ b/lib/klaviyo-api-sdk/models/campaign_partial_update_query_resource_object.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/campaign_partial_update_query_resource_object_attributes.rb b/lib/klaviyo-api-sdk/models/campaign_partial_update_query_resource_object_attributes.rb index 2805010..c3675c5 100644 --- a/lib/klaviyo-api-sdk/models/campaign_partial_update_query_resource_object_attributes.rb +++ b/lib/klaviyo-api-sdk/models/campaign_partial_update_query_resource_object_attributes.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/campaign_recipient_estimation_job_create_query.rb b/lib/klaviyo-api-sdk/models/campaign_recipient_estimation_job_create_query.rb index b5864d7..b048450 100644 --- a/lib/klaviyo-api-sdk/models/campaign_recipient_estimation_job_create_query.rb +++ b/lib/klaviyo-api-sdk/models/campaign_recipient_estimation_job_create_query.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/campaign_recipient_estimation_job_create_query_resource_object.rb b/lib/klaviyo-api-sdk/models/campaign_recipient_estimation_job_create_query_resource_object.rb index d0a7309..5edff7c 100644 --- a/lib/klaviyo-api-sdk/models/campaign_recipient_estimation_job_create_query_resource_object.rb +++ b/lib/klaviyo-api-sdk/models/campaign_recipient_estimation_job_create_query_resource_object.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/campaign_recipient_estimation_job_enum.rb b/lib/klaviyo-api-sdk/models/campaign_recipient_estimation_job_enum.rb index c22e767..a3b535e 100644 --- a/lib/klaviyo-api-sdk/models/campaign_recipient_estimation_job_enum.rb +++ b/lib/klaviyo-api-sdk/models/campaign_recipient_estimation_job_enum.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/campaign_send_job_create_query.rb b/lib/klaviyo-api-sdk/models/campaign_send_job_create_query.rb index d56d375..f3bd189 100644 --- a/lib/klaviyo-api-sdk/models/campaign_send_job_create_query.rb +++ b/lib/klaviyo-api-sdk/models/campaign_send_job_create_query.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/campaign_send_job_create_query_resource_object.rb b/lib/klaviyo-api-sdk/models/campaign_send_job_create_query_resource_object.rb index 8f3911c..50532ba 100644 --- a/lib/klaviyo-api-sdk/models/campaign_send_job_create_query_resource_object.rb +++ b/lib/klaviyo-api-sdk/models/campaign_send_job_create_query_resource_object.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/campaign_send_job_enum.rb b/lib/klaviyo-api-sdk/models/campaign_send_job_enum.rb index ec47a4a..5039f74 100644 --- a/lib/klaviyo-api-sdk/models/campaign_send_job_enum.rb +++ b/lib/klaviyo-api-sdk/models/campaign_send_job_enum.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/campaign_send_job_partial_update_query.rb b/lib/klaviyo-api-sdk/models/campaign_send_job_partial_update_query.rb index b737870..f8172b3 100644 --- a/lib/klaviyo-api-sdk/models/campaign_send_job_partial_update_query.rb +++ b/lib/klaviyo-api-sdk/models/campaign_send_job_partial_update_query.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/campaign_send_job_partial_update_query_resource_object.rb b/lib/klaviyo-api-sdk/models/campaign_send_job_partial_update_query_resource_object.rb index feafbeb..355eb43 100644 --- a/lib/klaviyo-api-sdk/models/campaign_send_job_partial_update_query_resource_object.rb +++ b/lib/klaviyo-api-sdk/models/campaign_send_job_partial_update_query_resource_object.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/campaign_send_job_partial_update_query_resource_object_attributes.rb b/lib/klaviyo-api-sdk/models/campaign_send_job_partial_update_query_resource_object_attributes.rb index 30e870c..9d65925 100644 --- a/lib/klaviyo-api-sdk/models/campaign_send_job_partial_update_query_resource_object_attributes.rb +++ b/lib/klaviyo-api-sdk/models/campaign_send_job_partial_update_query_resource_object_attributes.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/campaign_values_report_enum.rb b/lib/klaviyo-api-sdk/models/campaign_values_report_enum.rb index 11b11f3..d463842 100644 --- a/lib/klaviyo-api-sdk/models/campaign_values_report_enum.rb +++ b/lib/klaviyo-api-sdk/models/campaign_values_report_enum.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/campaign_values_request_dto.rb b/lib/klaviyo-api-sdk/models/campaign_values_request_dto.rb index a57cf05..c0fe65b 100644 --- a/lib/klaviyo-api-sdk/models/campaign_values_request_dto.rb +++ b/lib/klaviyo-api-sdk/models/campaign_values_request_dto.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/campaign_values_request_dto_resource_object.rb b/lib/klaviyo-api-sdk/models/campaign_values_request_dto_resource_object.rb index 5917177..6920bae 100644 --- a/lib/klaviyo-api-sdk/models/campaign_values_request_dto_resource_object.rb +++ b/lib/klaviyo-api-sdk/models/campaign_values_request_dto_resource_object.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/campaign_values_request_dto_resource_object_attributes.rb b/lib/klaviyo-api-sdk/models/campaign_values_request_dto_resource_object_attributes.rb index 680d0cf..cc55740 100644 --- a/lib/klaviyo-api-sdk/models/campaign_values_request_dto_resource_object_attributes.rb +++ b/lib/klaviyo-api-sdk/models/campaign_values_request_dto_resource_object_attributes.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/campaign_values_request_dto_resource_object_attributes_timeframe.rb b/lib/klaviyo-api-sdk/models/campaign_values_request_dto_resource_object_attributes_timeframe.rb index cb8fb04..ab13942 100644 --- a/lib/klaviyo-api-sdk/models/campaign_values_request_dto_resource_object_attributes_timeframe.rb +++ b/lib/klaviyo-api-sdk/models/campaign_values_request_dto_resource_object_attributes_timeframe.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/carrier_deactivation_enum.rb b/lib/klaviyo-api-sdk/models/carrier_deactivation_enum.rb index 217583d..d3ffca7 100644 --- a/lib/klaviyo-api-sdk/models/carrier_deactivation_enum.rb +++ b/lib/klaviyo-api-sdk/models/carrier_deactivation_enum.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/carrier_deactivation_method_filter.rb b/lib/klaviyo-api-sdk/models/carrier_deactivation_method_filter.rb index ad02d39..fc99c92 100644 --- a/lib/klaviyo-api-sdk/models/carrier_deactivation_method_filter.rb +++ b/lib/klaviyo-api-sdk/models/carrier_deactivation_method_filter.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/catalog_category_bulk_create_job_enum.rb b/lib/klaviyo-api-sdk/models/catalog_category_bulk_create_job_enum.rb index 0536725..9122a69 100644 --- a/lib/klaviyo-api-sdk/models/catalog_category_bulk_create_job_enum.rb +++ b/lib/klaviyo-api-sdk/models/catalog_category_bulk_create_job_enum.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/catalog_category_bulk_delete_job_enum.rb b/lib/klaviyo-api-sdk/models/catalog_category_bulk_delete_job_enum.rb index 1f71f0c..048edc5 100644 --- a/lib/klaviyo-api-sdk/models/catalog_category_bulk_delete_job_enum.rb +++ b/lib/klaviyo-api-sdk/models/catalog_category_bulk_delete_job_enum.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/catalog_category_bulk_update_job_enum.rb b/lib/klaviyo-api-sdk/models/catalog_category_bulk_update_job_enum.rb index dcef8e1..a1b6af5 100644 --- a/lib/klaviyo-api-sdk/models/catalog_category_bulk_update_job_enum.rb +++ b/lib/klaviyo-api-sdk/models/catalog_category_bulk_update_job_enum.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/catalog_category_create_job_create_query.rb b/lib/klaviyo-api-sdk/models/catalog_category_create_job_create_query.rb index 9970772..fe29ed1 100644 --- a/lib/klaviyo-api-sdk/models/catalog_category_create_job_create_query.rb +++ b/lib/klaviyo-api-sdk/models/catalog_category_create_job_create_query.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/catalog_category_create_job_create_query_resource_object.rb b/lib/klaviyo-api-sdk/models/catalog_category_create_job_create_query_resource_object.rb index 304b69e..c8a158e 100644 --- a/lib/klaviyo-api-sdk/models/catalog_category_create_job_create_query_resource_object.rb +++ b/lib/klaviyo-api-sdk/models/catalog_category_create_job_create_query_resource_object.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/catalog_category_create_job_create_query_resource_object_attributes.rb b/lib/klaviyo-api-sdk/models/catalog_category_create_job_create_query_resource_object_attributes.rb index 8ae2b90..08321cf 100644 --- a/lib/klaviyo-api-sdk/models/catalog_category_create_job_create_query_resource_object_attributes.rb +++ b/lib/klaviyo-api-sdk/models/catalog_category_create_job_create_query_resource_object_attributes.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/catalog_category_create_job_create_query_resource_object_attributes_categories.rb b/lib/klaviyo-api-sdk/models/catalog_category_create_job_create_query_resource_object_attributes_categories.rb index d0e4c70..bf2d093 100644 --- a/lib/klaviyo-api-sdk/models/catalog_category_create_job_create_query_resource_object_attributes_categories.rb +++ b/lib/klaviyo-api-sdk/models/catalog_category_create_job_create_query_resource_object_attributes_categories.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/catalog_category_create_query.rb b/lib/klaviyo-api-sdk/models/catalog_category_create_query.rb index 6d65623..925b94f 100644 --- a/lib/klaviyo-api-sdk/models/catalog_category_create_query.rb +++ b/lib/klaviyo-api-sdk/models/catalog_category_create_query.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/catalog_category_create_query_resource_object.rb b/lib/klaviyo-api-sdk/models/catalog_category_create_query_resource_object.rb index de1eff4..48365d5 100644 --- a/lib/klaviyo-api-sdk/models/catalog_category_create_query_resource_object.rb +++ b/lib/klaviyo-api-sdk/models/catalog_category_create_query_resource_object.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/catalog_category_create_query_resource_object_attributes.rb b/lib/klaviyo-api-sdk/models/catalog_category_create_query_resource_object_attributes.rb index a70a5bb..d637d5c 100644 --- a/lib/klaviyo-api-sdk/models/catalog_category_create_query_resource_object_attributes.rb +++ b/lib/klaviyo-api-sdk/models/catalog_category_create_query_resource_object_attributes.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/catalog_category_create_query_resource_object_relationships.rb b/lib/klaviyo-api-sdk/models/catalog_category_create_query_resource_object_relationships.rb index 29c7cb5..cfab803 100644 --- a/lib/klaviyo-api-sdk/models/catalog_category_create_query_resource_object_relationships.rb +++ b/lib/klaviyo-api-sdk/models/catalog_category_create_query_resource_object_relationships.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/catalog_category_create_query_resource_object_relationships_items.rb b/lib/klaviyo-api-sdk/models/catalog_category_create_query_resource_object_relationships_items.rb index 92c0415..d2dd931 100644 --- a/lib/klaviyo-api-sdk/models/catalog_category_create_query_resource_object_relationships_items.rb +++ b/lib/klaviyo-api-sdk/models/catalog_category_create_query_resource_object_relationships_items.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/catalog_category_create_query_resource_object_relationships_items_data_inner.rb b/lib/klaviyo-api-sdk/models/catalog_category_create_query_resource_object_relationships_items_data_inner.rb index dae5ac5..8df230c 100644 --- a/lib/klaviyo-api-sdk/models/catalog_category_create_query_resource_object_relationships_items_data_inner.rb +++ b/lib/klaviyo-api-sdk/models/catalog_category_create_query_resource_object_relationships_items_data_inner.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/catalog_category_delete_job_create_query.rb b/lib/klaviyo-api-sdk/models/catalog_category_delete_job_create_query.rb index 1b6bbcf..02aa534 100644 --- a/lib/klaviyo-api-sdk/models/catalog_category_delete_job_create_query.rb +++ b/lib/klaviyo-api-sdk/models/catalog_category_delete_job_create_query.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/catalog_category_delete_job_create_query_resource_object.rb b/lib/klaviyo-api-sdk/models/catalog_category_delete_job_create_query_resource_object.rb index 69a39a0..513e797 100644 --- a/lib/klaviyo-api-sdk/models/catalog_category_delete_job_create_query_resource_object.rb +++ b/lib/klaviyo-api-sdk/models/catalog_category_delete_job_create_query_resource_object.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/catalog_category_delete_job_create_query_resource_object_attributes.rb b/lib/klaviyo-api-sdk/models/catalog_category_delete_job_create_query_resource_object_attributes.rb index e5dd77a..39dacf9 100644 --- a/lib/klaviyo-api-sdk/models/catalog_category_delete_job_create_query_resource_object_attributes.rb +++ b/lib/klaviyo-api-sdk/models/catalog_category_delete_job_create_query_resource_object_attributes.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/catalog_category_delete_job_create_query_resource_object_attributes_categories.rb b/lib/klaviyo-api-sdk/models/catalog_category_delete_job_create_query_resource_object_attributes_categories.rb index b584174..bfc701d 100644 --- a/lib/klaviyo-api-sdk/models/catalog_category_delete_job_create_query_resource_object_attributes_categories.rb +++ b/lib/klaviyo-api-sdk/models/catalog_category_delete_job_create_query_resource_object_attributes_categories.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/catalog_category_delete_query_resource_object.rb b/lib/klaviyo-api-sdk/models/catalog_category_delete_query_resource_object.rb index fe91400..36e1f5c 100644 --- a/lib/klaviyo-api-sdk/models/catalog_category_delete_query_resource_object.rb +++ b/lib/klaviyo-api-sdk/models/catalog_category_delete_query_resource_object.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/catalog_category_enum.rb b/lib/klaviyo-api-sdk/models/catalog_category_enum.rb index 8b7a4eb..b6c5bd6 100644 --- a/lib/klaviyo-api-sdk/models/catalog_category_enum.rb +++ b/lib/klaviyo-api-sdk/models/catalog_category_enum.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/catalog_category_item_op.rb b/lib/klaviyo-api-sdk/models/catalog_category_item_op.rb index bf76a09..bdb739c 100644 --- a/lib/klaviyo-api-sdk/models/catalog_category_item_op.rb +++ b/lib/klaviyo-api-sdk/models/catalog_category_item_op.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/catalog_category_update_job_create_query.rb b/lib/klaviyo-api-sdk/models/catalog_category_update_job_create_query.rb index e33c6d2..ce172d1 100644 --- a/lib/klaviyo-api-sdk/models/catalog_category_update_job_create_query.rb +++ b/lib/klaviyo-api-sdk/models/catalog_category_update_job_create_query.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/catalog_category_update_job_create_query_resource_object.rb b/lib/klaviyo-api-sdk/models/catalog_category_update_job_create_query_resource_object.rb index 3fab287..203eedb 100644 --- a/lib/klaviyo-api-sdk/models/catalog_category_update_job_create_query_resource_object.rb +++ b/lib/klaviyo-api-sdk/models/catalog_category_update_job_create_query_resource_object.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/catalog_category_update_job_create_query_resource_object_attributes.rb b/lib/klaviyo-api-sdk/models/catalog_category_update_job_create_query_resource_object_attributes.rb index 9f50597..ea58c2d 100644 --- a/lib/klaviyo-api-sdk/models/catalog_category_update_job_create_query_resource_object_attributes.rb +++ b/lib/klaviyo-api-sdk/models/catalog_category_update_job_create_query_resource_object_attributes.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/catalog_category_update_job_create_query_resource_object_attributes_categories.rb b/lib/klaviyo-api-sdk/models/catalog_category_update_job_create_query_resource_object_attributes_categories.rb index e7923ab..c4aefc5 100644 --- a/lib/klaviyo-api-sdk/models/catalog_category_update_job_create_query_resource_object_attributes_categories.rb +++ b/lib/klaviyo-api-sdk/models/catalog_category_update_job_create_query_resource_object_attributes_categories.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/catalog_category_update_query.rb b/lib/klaviyo-api-sdk/models/catalog_category_update_query.rb index 272103f..f18dec3 100644 --- a/lib/klaviyo-api-sdk/models/catalog_category_update_query.rb +++ b/lib/klaviyo-api-sdk/models/catalog_category_update_query.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/catalog_category_update_query_resource_object.rb b/lib/klaviyo-api-sdk/models/catalog_category_update_query_resource_object.rb index 6de96d4..7fbeddb 100644 --- a/lib/klaviyo-api-sdk/models/catalog_category_update_query_resource_object.rb +++ b/lib/klaviyo-api-sdk/models/catalog_category_update_query_resource_object.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/catalog_category_update_query_resource_object_attributes.rb b/lib/klaviyo-api-sdk/models/catalog_category_update_query_resource_object_attributes.rb index f02aca7..0080741 100644 --- a/lib/klaviyo-api-sdk/models/catalog_category_update_query_resource_object_attributes.rb +++ b/lib/klaviyo-api-sdk/models/catalog_category_update_query_resource_object_attributes.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/catalog_item_bulk_create_job_enum.rb b/lib/klaviyo-api-sdk/models/catalog_item_bulk_create_job_enum.rb index 72c168b..b292e5b 100644 --- a/lib/klaviyo-api-sdk/models/catalog_item_bulk_create_job_enum.rb +++ b/lib/klaviyo-api-sdk/models/catalog_item_bulk_create_job_enum.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/catalog_item_bulk_delete_job_enum.rb b/lib/klaviyo-api-sdk/models/catalog_item_bulk_delete_job_enum.rb index 3179c13..4cef296 100644 --- a/lib/klaviyo-api-sdk/models/catalog_item_bulk_delete_job_enum.rb +++ b/lib/klaviyo-api-sdk/models/catalog_item_bulk_delete_job_enum.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/catalog_item_bulk_update_job_enum.rb b/lib/klaviyo-api-sdk/models/catalog_item_bulk_update_job_enum.rb index 60bc8d7..53e6357 100644 --- a/lib/klaviyo-api-sdk/models/catalog_item_bulk_update_job_enum.rb +++ b/lib/klaviyo-api-sdk/models/catalog_item_bulk_update_job_enum.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/catalog_item_category_op.rb b/lib/klaviyo-api-sdk/models/catalog_item_category_op.rb index 05bd292..1fad6c8 100644 --- a/lib/klaviyo-api-sdk/models/catalog_item_category_op.rb +++ b/lib/klaviyo-api-sdk/models/catalog_item_category_op.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/catalog_item_create_job_create_query.rb b/lib/klaviyo-api-sdk/models/catalog_item_create_job_create_query.rb index d9e86f6..1e936fd 100644 --- a/lib/klaviyo-api-sdk/models/catalog_item_create_job_create_query.rb +++ b/lib/klaviyo-api-sdk/models/catalog_item_create_job_create_query.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/catalog_item_create_job_create_query_resource_object.rb b/lib/klaviyo-api-sdk/models/catalog_item_create_job_create_query_resource_object.rb index 1e590b3..aa5bc00 100644 --- a/lib/klaviyo-api-sdk/models/catalog_item_create_job_create_query_resource_object.rb +++ b/lib/klaviyo-api-sdk/models/catalog_item_create_job_create_query_resource_object.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/catalog_item_create_job_create_query_resource_object_attributes.rb b/lib/klaviyo-api-sdk/models/catalog_item_create_job_create_query_resource_object_attributes.rb index 233cb83..fd53ab7 100644 --- a/lib/klaviyo-api-sdk/models/catalog_item_create_job_create_query_resource_object_attributes.rb +++ b/lib/klaviyo-api-sdk/models/catalog_item_create_job_create_query_resource_object_attributes.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/catalog_item_create_job_create_query_resource_object_attributes_items.rb b/lib/klaviyo-api-sdk/models/catalog_item_create_job_create_query_resource_object_attributes_items.rb index 1eddf5e..8187138 100644 --- a/lib/klaviyo-api-sdk/models/catalog_item_create_job_create_query_resource_object_attributes_items.rb +++ b/lib/klaviyo-api-sdk/models/catalog_item_create_job_create_query_resource_object_attributes_items.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/catalog_item_create_query.rb b/lib/klaviyo-api-sdk/models/catalog_item_create_query.rb index 3a8e284..1b818fa 100644 --- a/lib/klaviyo-api-sdk/models/catalog_item_create_query.rb +++ b/lib/klaviyo-api-sdk/models/catalog_item_create_query.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/catalog_item_create_query_resource_object.rb b/lib/klaviyo-api-sdk/models/catalog_item_create_query_resource_object.rb index 7a48db3..7d0fad0 100644 --- a/lib/klaviyo-api-sdk/models/catalog_item_create_query_resource_object.rb +++ b/lib/klaviyo-api-sdk/models/catalog_item_create_query_resource_object.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/catalog_item_create_query_resource_object_attributes.rb b/lib/klaviyo-api-sdk/models/catalog_item_create_query_resource_object_attributes.rb index 9e3e50f..e29d6e5 100644 --- a/lib/klaviyo-api-sdk/models/catalog_item_create_query_resource_object_attributes.rb +++ b/lib/klaviyo-api-sdk/models/catalog_item_create_query_resource_object_attributes.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/catalog_item_create_query_resource_object_relationships.rb b/lib/klaviyo-api-sdk/models/catalog_item_create_query_resource_object_relationships.rb index 8e65a51..be77eb8 100644 --- a/lib/klaviyo-api-sdk/models/catalog_item_create_query_resource_object_relationships.rb +++ b/lib/klaviyo-api-sdk/models/catalog_item_create_query_resource_object_relationships.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/catalog_item_create_query_resource_object_relationships_categories.rb b/lib/klaviyo-api-sdk/models/catalog_item_create_query_resource_object_relationships_categories.rb index 83eb913..83535d7 100644 --- a/lib/klaviyo-api-sdk/models/catalog_item_create_query_resource_object_relationships_categories.rb +++ b/lib/klaviyo-api-sdk/models/catalog_item_create_query_resource_object_relationships_categories.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/catalog_item_create_query_resource_object_relationships_categories_data_inner.rb b/lib/klaviyo-api-sdk/models/catalog_item_create_query_resource_object_relationships_categories_data_inner.rb index cd978c0..7721832 100644 --- a/lib/klaviyo-api-sdk/models/catalog_item_create_query_resource_object_relationships_categories_data_inner.rb +++ b/lib/klaviyo-api-sdk/models/catalog_item_create_query_resource_object_relationships_categories_data_inner.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/catalog_item_delete_job_create_query.rb b/lib/klaviyo-api-sdk/models/catalog_item_delete_job_create_query.rb index e1a0574..4f7866d 100644 --- a/lib/klaviyo-api-sdk/models/catalog_item_delete_job_create_query.rb +++ b/lib/klaviyo-api-sdk/models/catalog_item_delete_job_create_query.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/catalog_item_delete_job_create_query_resource_object.rb b/lib/klaviyo-api-sdk/models/catalog_item_delete_job_create_query_resource_object.rb index f2dee30..057c6fb 100644 --- a/lib/klaviyo-api-sdk/models/catalog_item_delete_job_create_query_resource_object.rb +++ b/lib/klaviyo-api-sdk/models/catalog_item_delete_job_create_query_resource_object.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/catalog_item_delete_job_create_query_resource_object_attributes.rb b/lib/klaviyo-api-sdk/models/catalog_item_delete_job_create_query_resource_object_attributes.rb index 802911d..e73c897 100644 --- a/lib/klaviyo-api-sdk/models/catalog_item_delete_job_create_query_resource_object_attributes.rb +++ b/lib/klaviyo-api-sdk/models/catalog_item_delete_job_create_query_resource_object_attributes.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/catalog_item_delete_job_create_query_resource_object_attributes_items.rb b/lib/klaviyo-api-sdk/models/catalog_item_delete_job_create_query_resource_object_attributes_items.rb index ff3d5c6..b8a51f1 100644 --- a/lib/klaviyo-api-sdk/models/catalog_item_delete_job_create_query_resource_object_attributes_items.rb +++ b/lib/klaviyo-api-sdk/models/catalog_item_delete_job_create_query_resource_object_attributes_items.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/catalog_item_delete_query_resource_object.rb b/lib/klaviyo-api-sdk/models/catalog_item_delete_query_resource_object.rb index fc90654..18fbaa1 100644 --- a/lib/klaviyo-api-sdk/models/catalog_item_delete_query_resource_object.rb +++ b/lib/klaviyo-api-sdk/models/catalog_item_delete_query_resource_object.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/catalog_item_enum.rb b/lib/klaviyo-api-sdk/models/catalog_item_enum.rb index 967beab..8251781 100644 --- a/lib/klaviyo-api-sdk/models/catalog_item_enum.rb +++ b/lib/klaviyo-api-sdk/models/catalog_item_enum.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/catalog_item_update_job_create_query.rb b/lib/klaviyo-api-sdk/models/catalog_item_update_job_create_query.rb index a81cab1..11ea3ab 100644 --- a/lib/klaviyo-api-sdk/models/catalog_item_update_job_create_query.rb +++ b/lib/klaviyo-api-sdk/models/catalog_item_update_job_create_query.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/catalog_item_update_job_create_query_resource_object.rb b/lib/klaviyo-api-sdk/models/catalog_item_update_job_create_query_resource_object.rb index c81f347..37268eb 100644 --- a/lib/klaviyo-api-sdk/models/catalog_item_update_job_create_query_resource_object.rb +++ b/lib/klaviyo-api-sdk/models/catalog_item_update_job_create_query_resource_object.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/catalog_item_update_job_create_query_resource_object_attributes.rb b/lib/klaviyo-api-sdk/models/catalog_item_update_job_create_query_resource_object_attributes.rb index 905c13e..59ac764 100644 --- a/lib/klaviyo-api-sdk/models/catalog_item_update_job_create_query_resource_object_attributes.rb +++ b/lib/klaviyo-api-sdk/models/catalog_item_update_job_create_query_resource_object_attributes.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/catalog_item_update_job_create_query_resource_object_attributes_items.rb b/lib/klaviyo-api-sdk/models/catalog_item_update_job_create_query_resource_object_attributes_items.rb index a3b74d6..7ca6577 100644 --- a/lib/klaviyo-api-sdk/models/catalog_item_update_job_create_query_resource_object_attributes_items.rb +++ b/lib/klaviyo-api-sdk/models/catalog_item_update_job_create_query_resource_object_attributes_items.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/catalog_item_update_query.rb b/lib/klaviyo-api-sdk/models/catalog_item_update_query.rb index dc6f8b0..725b2d9 100644 --- a/lib/klaviyo-api-sdk/models/catalog_item_update_query.rb +++ b/lib/klaviyo-api-sdk/models/catalog_item_update_query.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/catalog_item_update_query_resource_object.rb b/lib/klaviyo-api-sdk/models/catalog_item_update_query_resource_object.rb index 4426c4c..390c5a0 100644 --- a/lib/klaviyo-api-sdk/models/catalog_item_update_query_resource_object.rb +++ b/lib/klaviyo-api-sdk/models/catalog_item_update_query_resource_object.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/catalog_item_update_query_resource_object_attributes.rb b/lib/klaviyo-api-sdk/models/catalog_item_update_query_resource_object_attributes.rb index 34b3bd9..2778aa6 100644 --- a/lib/klaviyo-api-sdk/models/catalog_item_update_query_resource_object_attributes.rb +++ b/lib/klaviyo-api-sdk/models/catalog_item_update_query_resource_object_attributes.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/catalog_variant_bulk_create_job_enum.rb b/lib/klaviyo-api-sdk/models/catalog_variant_bulk_create_job_enum.rb index 8cf3866..588dc12 100644 --- a/lib/klaviyo-api-sdk/models/catalog_variant_bulk_create_job_enum.rb +++ b/lib/klaviyo-api-sdk/models/catalog_variant_bulk_create_job_enum.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/catalog_variant_bulk_delete_job_enum.rb b/lib/klaviyo-api-sdk/models/catalog_variant_bulk_delete_job_enum.rb index 2b64b63..f600509 100644 --- a/lib/klaviyo-api-sdk/models/catalog_variant_bulk_delete_job_enum.rb +++ b/lib/klaviyo-api-sdk/models/catalog_variant_bulk_delete_job_enum.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/catalog_variant_bulk_update_job_enum.rb b/lib/klaviyo-api-sdk/models/catalog_variant_bulk_update_job_enum.rb index dc6797f..1e22d22 100644 --- a/lib/klaviyo-api-sdk/models/catalog_variant_bulk_update_job_enum.rb +++ b/lib/klaviyo-api-sdk/models/catalog_variant_bulk_update_job_enum.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/catalog_variant_create_job_create_query.rb b/lib/klaviyo-api-sdk/models/catalog_variant_create_job_create_query.rb index e4ac39f..31be8ba 100644 --- a/lib/klaviyo-api-sdk/models/catalog_variant_create_job_create_query.rb +++ b/lib/klaviyo-api-sdk/models/catalog_variant_create_job_create_query.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/catalog_variant_create_job_create_query_resource_object.rb b/lib/klaviyo-api-sdk/models/catalog_variant_create_job_create_query_resource_object.rb index 72b5127..75bafa9 100644 --- a/lib/klaviyo-api-sdk/models/catalog_variant_create_job_create_query_resource_object.rb +++ b/lib/klaviyo-api-sdk/models/catalog_variant_create_job_create_query_resource_object.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/catalog_variant_create_job_create_query_resource_object_attributes.rb b/lib/klaviyo-api-sdk/models/catalog_variant_create_job_create_query_resource_object_attributes.rb index 2db0825..169630e 100644 --- a/lib/klaviyo-api-sdk/models/catalog_variant_create_job_create_query_resource_object_attributes.rb +++ b/lib/klaviyo-api-sdk/models/catalog_variant_create_job_create_query_resource_object_attributes.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/catalog_variant_create_job_create_query_resource_object_attributes_variants.rb b/lib/klaviyo-api-sdk/models/catalog_variant_create_job_create_query_resource_object_attributes_variants.rb index cca0959..e31f6c5 100644 --- a/lib/klaviyo-api-sdk/models/catalog_variant_create_job_create_query_resource_object_attributes_variants.rb +++ b/lib/klaviyo-api-sdk/models/catalog_variant_create_job_create_query_resource_object_attributes_variants.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/catalog_variant_create_query.rb b/lib/klaviyo-api-sdk/models/catalog_variant_create_query.rb index 4f2976b..b91d0dd 100644 --- a/lib/klaviyo-api-sdk/models/catalog_variant_create_query.rb +++ b/lib/klaviyo-api-sdk/models/catalog_variant_create_query.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/catalog_variant_create_query_resource_object.rb b/lib/klaviyo-api-sdk/models/catalog_variant_create_query_resource_object.rb index 920fcc6..07208c7 100644 --- a/lib/klaviyo-api-sdk/models/catalog_variant_create_query_resource_object.rb +++ b/lib/klaviyo-api-sdk/models/catalog_variant_create_query_resource_object.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/catalog_variant_create_query_resource_object_attributes.rb b/lib/klaviyo-api-sdk/models/catalog_variant_create_query_resource_object_attributes.rb index 6291760..d123fe8 100644 --- a/lib/klaviyo-api-sdk/models/catalog_variant_create_query_resource_object_attributes.rb +++ b/lib/klaviyo-api-sdk/models/catalog_variant_create_query_resource_object_attributes.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/catalog_variant_create_query_resource_object_relationships.rb b/lib/klaviyo-api-sdk/models/catalog_variant_create_query_resource_object_relationships.rb index 8bee281..26764ac 100644 --- a/lib/klaviyo-api-sdk/models/catalog_variant_create_query_resource_object_relationships.rb +++ b/lib/klaviyo-api-sdk/models/catalog_variant_create_query_resource_object_relationships.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/catalog_variant_create_query_resource_object_relationships_item.rb b/lib/klaviyo-api-sdk/models/catalog_variant_create_query_resource_object_relationships_item.rb index 3da4a42..ea1174e 100644 --- a/lib/klaviyo-api-sdk/models/catalog_variant_create_query_resource_object_relationships_item.rb +++ b/lib/klaviyo-api-sdk/models/catalog_variant_create_query_resource_object_relationships_item.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/catalog_variant_create_query_resource_object_relationships_item_data.rb b/lib/klaviyo-api-sdk/models/catalog_variant_create_query_resource_object_relationships_item_data.rb index c176811..9e021ad 100644 --- a/lib/klaviyo-api-sdk/models/catalog_variant_create_query_resource_object_relationships_item_data.rb +++ b/lib/klaviyo-api-sdk/models/catalog_variant_create_query_resource_object_relationships_item_data.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/catalog_variant_delete_job_create_query.rb b/lib/klaviyo-api-sdk/models/catalog_variant_delete_job_create_query.rb index b56c92b..a439050 100644 --- a/lib/klaviyo-api-sdk/models/catalog_variant_delete_job_create_query.rb +++ b/lib/klaviyo-api-sdk/models/catalog_variant_delete_job_create_query.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/catalog_variant_delete_job_create_query_resource_object.rb b/lib/klaviyo-api-sdk/models/catalog_variant_delete_job_create_query_resource_object.rb index 8bcbaaf..886da06 100644 --- a/lib/klaviyo-api-sdk/models/catalog_variant_delete_job_create_query_resource_object.rb +++ b/lib/klaviyo-api-sdk/models/catalog_variant_delete_job_create_query_resource_object.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/catalog_variant_delete_job_create_query_resource_object_attributes.rb b/lib/klaviyo-api-sdk/models/catalog_variant_delete_job_create_query_resource_object_attributes.rb index a005e52..f43afe7 100644 --- a/lib/klaviyo-api-sdk/models/catalog_variant_delete_job_create_query_resource_object_attributes.rb +++ b/lib/klaviyo-api-sdk/models/catalog_variant_delete_job_create_query_resource_object_attributes.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/catalog_variant_delete_job_create_query_resource_object_attributes_variants.rb b/lib/klaviyo-api-sdk/models/catalog_variant_delete_job_create_query_resource_object_attributes_variants.rb index f180ac5..dd00374 100644 --- a/lib/klaviyo-api-sdk/models/catalog_variant_delete_job_create_query_resource_object_attributes_variants.rb +++ b/lib/klaviyo-api-sdk/models/catalog_variant_delete_job_create_query_resource_object_attributes_variants.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/catalog_variant_delete_query_resource_object.rb b/lib/klaviyo-api-sdk/models/catalog_variant_delete_query_resource_object.rb index ceb0045..fd5bec0 100644 --- a/lib/klaviyo-api-sdk/models/catalog_variant_delete_query_resource_object.rb +++ b/lib/klaviyo-api-sdk/models/catalog_variant_delete_query_resource_object.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/catalog_variant_enum.rb b/lib/klaviyo-api-sdk/models/catalog_variant_enum.rb index 1281525..35a5dce 100644 --- a/lib/klaviyo-api-sdk/models/catalog_variant_enum.rb +++ b/lib/klaviyo-api-sdk/models/catalog_variant_enum.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/catalog_variant_update_job_create_query.rb b/lib/klaviyo-api-sdk/models/catalog_variant_update_job_create_query.rb index a06c518..ea799d4 100644 --- a/lib/klaviyo-api-sdk/models/catalog_variant_update_job_create_query.rb +++ b/lib/klaviyo-api-sdk/models/catalog_variant_update_job_create_query.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/catalog_variant_update_job_create_query_resource_object.rb b/lib/klaviyo-api-sdk/models/catalog_variant_update_job_create_query_resource_object.rb index cf7e5ce..ab01eb0 100644 --- a/lib/klaviyo-api-sdk/models/catalog_variant_update_job_create_query_resource_object.rb +++ b/lib/klaviyo-api-sdk/models/catalog_variant_update_job_create_query_resource_object.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/catalog_variant_update_job_create_query_resource_object_attributes.rb b/lib/klaviyo-api-sdk/models/catalog_variant_update_job_create_query_resource_object_attributes.rb index a3f1ae7..9ca3032 100644 --- a/lib/klaviyo-api-sdk/models/catalog_variant_update_job_create_query_resource_object_attributes.rb +++ b/lib/klaviyo-api-sdk/models/catalog_variant_update_job_create_query_resource_object_attributes.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/catalog_variant_update_job_create_query_resource_object_attributes_variants.rb b/lib/klaviyo-api-sdk/models/catalog_variant_update_job_create_query_resource_object_attributes_variants.rb index ea2ee45..cbd0776 100644 --- a/lib/klaviyo-api-sdk/models/catalog_variant_update_job_create_query_resource_object_attributes_variants.rb +++ b/lib/klaviyo-api-sdk/models/catalog_variant_update_job_create_query_resource_object_attributes_variants.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/catalog_variant_update_query.rb b/lib/klaviyo-api-sdk/models/catalog_variant_update_query.rb index 187566e..a91685f 100644 --- a/lib/klaviyo-api-sdk/models/catalog_variant_update_query.rb +++ b/lib/klaviyo-api-sdk/models/catalog_variant_update_query.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/catalog_variant_update_query_resource_object.rb b/lib/klaviyo-api-sdk/models/catalog_variant_update_query_resource_object.rb index 2a67ef2..f9376c1 100644 --- a/lib/klaviyo-api-sdk/models/catalog_variant_update_query_resource_object.rb +++ b/lib/klaviyo-api-sdk/models/catalog_variant_update_query_resource_object.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/catalog_variant_update_query_resource_object_attributes.rb b/lib/klaviyo-api-sdk/models/catalog_variant_update_query_resource_object_attributes.rb index 4403112..35f39e9 100644 --- a/lib/klaviyo-api-sdk/models/catalog_variant_update_query_resource_object_attributes.rb +++ b/lib/klaviyo-api-sdk/models/catalog_variant_update_query_resource_object_attributes.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/checkout_enum.rb b/lib/klaviyo-api-sdk/models/checkout_enum.rb index 5cf7b70..609548c 100644 --- a/lib/klaviyo-api-sdk/models/checkout_enum.rb +++ b/lib/klaviyo-api-sdk/models/checkout_enum.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/checkout_method_filter.rb b/lib/klaviyo-api-sdk/models/checkout_method_filter.rb index af21d83..8e40b62 100644 --- a/lib/klaviyo-api-sdk/models/checkout_method_filter.rb +++ b/lib/klaviyo-api-sdk/models/checkout_method_filter.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/condition_group.rb b/lib/klaviyo-api-sdk/models/condition_group.rb index 21621e7..2f17c0f 100644 --- a/lib/klaviyo-api-sdk/models/condition_group.rb +++ b/lib/klaviyo-api-sdk/models/condition_group.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/condition_group_conditions_inner.rb b/lib/klaviyo-api-sdk/models/condition_group_conditions_inner.rb index 301e3d5..b315804 100644 --- a/lib/klaviyo-api-sdk/models/condition_group_conditions_inner.rb +++ b/lib/klaviyo-api-sdk/models/condition_group_conditions_inner.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/constant_contact_enum.rb b/lib/klaviyo-api-sdk/models/constant_contact_enum.rb index a1dd645..2a55cd8 100644 --- a/lib/klaviyo-api-sdk/models/constant_contact_enum.rb +++ b/lib/klaviyo-api-sdk/models/constant_contact_enum.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/constant_contact_integration_filter.rb b/lib/klaviyo-api-sdk/models/constant_contact_integration_filter.rb index 7f5c143..9e31e7f 100644 --- a/lib/klaviyo-api-sdk/models/constant_contact_integration_filter.rb +++ b/lib/klaviyo-api-sdk/models/constant_contact_integration_filter.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/constant_contact_integration_method_filter.rb b/lib/klaviyo-api-sdk/models/constant_contact_integration_method_filter.rb index d2feb02..0095b79 100644 --- a/lib/klaviyo-api-sdk/models/constant_contact_integration_method_filter.rb +++ b/lib/klaviyo-api-sdk/models/constant_contact_integration_method_filter.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/coupon_code_bulk_create_job_enum.rb b/lib/klaviyo-api-sdk/models/coupon_code_bulk_create_job_enum.rb index bc31b9e..6a036ef 100644 --- a/lib/klaviyo-api-sdk/models/coupon_code_bulk_create_job_enum.rb +++ b/lib/klaviyo-api-sdk/models/coupon_code_bulk_create_job_enum.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/coupon_code_create_job_create_query.rb b/lib/klaviyo-api-sdk/models/coupon_code_create_job_create_query.rb index 2f60ada..7ceeda0 100644 --- a/lib/klaviyo-api-sdk/models/coupon_code_create_job_create_query.rb +++ b/lib/klaviyo-api-sdk/models/coupon_code_create_job_create_query.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/coupon_code_create_job_create_query_resource_object.rb b/lib/klaviyo-api-sdk/models/coupon_code_create_job_create_query_resource_object.rb index 5f24542..bc37440 100644 --- a/lib/klaviyo-api-sdk/models/coupon_code_create_job_create_query_resource_object.rb +++ b/lib/klaviyo-api-sdk/models/coupon_code_create_job_create_query_resource_object.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/coupon_code_create_job_create_query_resource_object_attributes.rb b/lib/klaviyo-api-sdk/models/coupon_code_create_job_create_query_resource_object_attributes.rb index 57635b7..5d5b101 100644 --- a/lib/klaviyo-api-sdk/models/coupon_code_create_job_create_query_resource_object_attributes.rb +++ b/lib/klaviyo-api-sdk/models/coupon_code_create_job_create_query_resource_object_attributes.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/coupon_code_create_job_create_query_resource_object_attributes_coupon_codes.rb b/lib/klaviyo-api-sdk/models/coupon_code_create_job_create_query_resource_object_attributes_coupon_codes.rb index b79bde9..266064f 100644 --- a/lib/klaviyo-api-sdk/models/coupon_code_create_job_create_query_resource_object_attributes_coupon_codes.rb +++ b/lib/klaviyo-api-sdk/models/coupon_code_create_job_create_query_resource_object_attributes_coupon_codes.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/coupon_code_create_query.rb b/lib/klaviyo-api-sdk/models/coupon_code_create_query.rb index 9108120..8217b49 100644 --- a/lib/klaviyo-api-sdk/models/coupon_code_create_query.rb +++ b/lib/klaviyo-api-sdk/models/coupon_code_create_query.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/coupon_code_create_query_resource_object.rb b/lib/klaviyo-api-sdk/models/coupon_code_create_query_resource_object.rb index a14acc8..5404f9a 100644 --- a/lib/klaviyo-api-sdk/models/coupon_code_create_query_resource_object.rb +++ b/lib/klaviyo-api-sdk/models/coupon_code_create_query_resource_object.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/coupon_code_create_query_resource_object_attributes.rb b/lib/klaviyo-api-sdk/models/coupon_code_create_query_resource_object_attributes.rb index b856d22..4dc2459 100644 --- a/lib/klaviyo-api-sdk/models/coupon_code_create_query_resource_object_attributes.rb +++ b/lib/klaviyo-api-sdk/models/coupon_code_create_query_resource_object_attributes.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/coupon_code_create_query_resource_object_relationships.rb b/lib/klaviyo-api-sdk/models/coupon_code_create_query_resource_object_relationships.rb index a0d566f..7a2c4da 100644 --- a/lib/klaviyo-api-sdk/models/coupon_code_create_query_resource_object_relationships.rb +++ b/lib/klaviyo-api-sdk/models/coupon_code_create_query_resource_object_relationships.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/coupon_code_create_query_resource_object_relationships_coupon.rb b/lib/klaviyo-api-sdk/models/coupon_code_create_query_resource_object_relationships_coupon.rb index 02189bc..26aaae6 100644 --- a/lib/klaviyo-api-sdk/models/coupon_code_create_query_resource_object_relationships_coupon.rb +++ b/lib/klaviyo-api-sdk/models/coupon_code_create_query_resource_object_relationships_coupon.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/coupon_code_create_query_resource_object_relationships_coupon_data.rb b/lib/klaviyo-api-sdk/models/coupon_code_create_query_resource_object_relationships_coupon_data.rb index 43f0149..4563416 100644 --- a/lib/klaviyo-api-sdk/models/coupon_code_create_query_resource_object_relationships_coupon_data.rb +++ b/lib/klaviyo-api-sdk/models/coupon_code_create_query_resource_object_relationships_coupon_data.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/coupon_code_enum.rb b/lib/klaviyo-api-sdk/models/coupon_code_enum.rb index 8c1a590..dc66b2e 100644 --- a/lib/klaviyo-api-sdk/models/coupon_code_enum.rb +++ b/lib/klaviyo-api-sdk/models/coupon_code_enum.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/coupon_code_update_query.rb b/lib/klaviyo-api-sdk/models/coupon_code_update_query.rb index 5a16c9c..8461dfd 100644 --- a/lib/klaviyo-api-sdk/models/coupon_code_update_query.rb +++ b/lib/klaviyo-api-sdk/models/coupon_code_update_query.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/coupon_code_update_query_resource_object.rb b/lib/klaviyo-api-sdk/models/coupon_code_update_query_resource_object.rb index 9af919f..15c2816 100644 --- a/lib/klaviyo-api-sdk/models/coupon_code_update_query_resource_object.rb +++ b/lib/klaviyo-api-sdk/models/coupon_code_update_query_resource_object.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/coupon_code_update_query_resource_object_attributes.rb b/lib/klaviyo-api-sdk/models/coupon_code_update_query_resource_object_attributes.rb index 33f2fa7..7c2baee 100644 --- a/lib/klaviyo-api-sdk/models/coupon_code_update_query_resource_object_attributes.rb +++ b/lib/klaviyo-api-sdk/models/coupon_code_update_query_resource_object_attributes.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 @@ -106,7 +106,7 @@ def list_invalid_properties # Check to see if the all the properties in the model are valid # @return true if the model is valid def valid? - status_validator = EnumAttributeValidator.new('String', ["ASSIGNED_TO_PROFILE", "DELETING", "PROCESSING", "UNASSIGNED", "VERSION_NOT_ACTIVE"]) + status_validator = EnumAttributeValidator.new('String', ["ASSIGNED_TO_PROFILE", "DELETING", "PROCESSING", "UNASSIGNED", "USED", "VERSION_NOT_ACTIVE"]) return false unless status_validator.valid?(@status) true end @@ -114,7 +114,7 @@ def valid? # Custom attribute writer method checking allowed values (enum). # @param [Object] status Object to be assigned def status=(status) - validator = EnumAttributeValidator.new('String', ["ASSIGNED_TO_PROFILE", "DELETING", "PROCESSING", "UNASSIGNED", "VERSION_NOT_ACTIVE"]) + validator = EnumAttributeValidator.new('String', ["ASSIGNED_TO_PROFILE", "DELETING", "PROCESSING", "UNASSIGNED", "USED", "VERSION_NOT_ACTIVE"]) unless validator.valid?(status) fail ArgumentError, "invalid value for \"status\", must be one of #{validator.allowable_values}." end diff --git a/lib/klaviyo-api-sdk/models/coupon_create_query.rb b/lib/klaviyo-api-sdk/models/coupon_create_query.rb index badf407..57552e7 100644 --- a/lib/klaviyo-api-sdk/models/coupon_create_query.rb +++ b/lib/klaviyo-api-sdk/models/coupon_create_query.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/coupon_create_query_resource_object.rb b/lib/klaviyo-api-sdk/models/coupon_create_query_resource_object.rb index a8ca7fc..63bd4c1 100644 --- a/lib/klaviyo-api-sdk/models/coupon_create_query_resource_object.rb +++ b/lib/klaviyo-api-sdk/models/coupon_create_query_resource_object.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/coupon_create_query_resource_object_attributes.rb b/lib/klaviyo-api-sdk/models/coupon_create_query_resource_object_attributes.rb index 9f3f82d..62c4870 100644 --- a/lib/klaviyo-api-sdk/models/coupon_create_query_resource_object_attributes.rb +++ b/lib/klaviyo-api-sdk/models/coupon_create_query_resource_object_attributes.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/coupon_enum.rb b/lib/klaviyo-api-sdk/models/coupon_enum.rb index 6dc1161..5ed344d 100644 --- a/lib/klaviyo-api-sdk/models/coupon_enum.rb +++ b/lib/klaviyo-api-sdk/models/coupon_enum.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/coupon_update_query.rb b/lib/klaviyo-api-sdk/models/coupon_update_query.rb index b4b887f..dcbbac9 100644 --- a/lib/klaviyo-api-sdk/models/coupon_update_query.rb +++ b/lib/klaviyo-api-sdk/models/coupon_update_query.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/coupon_update_query_resource_object.rb b/lib/klaviyo-api-sdk/models/coupon_update_query_resource_object.rb index 7130407..c48e070 100644 --- a/lib/klaviyo-api-sdk/models/coupon_update_query_resource_object.rb +++ b/lib/klaviyo-api-sdk/models/coupon_update_query_resource_object.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/coupon_update_query_resource_object_attributes.rb b/lib/klaviyo-api-sdk/models/coupon_update_query_resource_object_attributes.rb index 22dce7e..446a6e7 100644 --- a/lib/klaviyo-api-sdk/models/coupon_update_query_resource_object_attributes.rb +++ b/lib/klaviyo-api-sdk/models/coupon_update_query_resource_object_attributes.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/custom_source_enum.rb b/lib/klaviyo-api-sdk/models/custom_source_enum.rb index 7c7d56c..e090c4b 100644 --- a/lib/klaviyo-api-sdk/models/custom_source_enum.rb +++ b/lib/klaviyo-api-sdk/models/custom_source_enum.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/custom_source_filter.rb b/lib/klaviyo-api-sdk/models/custom_source_filter.rb index 5d14890..85ac714 100644 --- a/lib/klaviyo-api-sdk/models/custom_source_filter.rb +++ b/lib/klaviyo-api-sdk/models/custom_source_filter.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/custom_timeframe.rb b/lib/klaviyo-api-sdk/models/custom_timeframe.rb index 1547d98..cd728af 100644 --- a/lib/klaviyo-api-sdk/models/custom_timeframe.rb +++ b/lib/klaviyo-api-sdk/models/custom_timeframe.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/data_privacy_create_deletion_job_query.rb b/lib/klaviyo-api-sdk/models/data_privacy_create_deletion_job_query.rb index f297080..3b3a6a1 100644 --- a/lib/klaviyo-api-sdk/models/data_privacy_create_deletion_job_query.rb +++ b/lib/klaviyo-api-sdk/models/data_privacy_create_deletion_job_query.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/data_privacy_create_deletion_job_query_resource_object.rb b/lib/klaviyo-api-sdk/models/data_privacy_create_deletion_job_query_resource_object.rb index 38815bc..65d29eb 100644 --- a/lib/klaviyo-api-sdk/models/data_privacy_create_deletion_job_query_resource_object.rb +++ b/lib/klaviyo-api-sdk/models/data_privacy_create_deletion_job_query_resource_object.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/data_privacy_create_deletion_job_query_resource_object_attributes.rb b/lib/klaviyo-api-sdk/models/data_privacy_create_deletion_job_query_resource_object_attributes.rb index 811230a..1319535 100644 --- a/lib/klaviyo-api-sdk/models/data_privacy_create_deletion_job_query_resource_object_attributes.rb +++ b/lib/klaviyo-api-sdk/models/data_privacy_create_deletion_job_query_resource_object_attributes.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/data_privacy_create_deletion_job_query_resource_object_attributes_profile.rb b/lib/klaviyo-api-sdk/models/data_privacy_create_deletion_job_query_resource_object_attributes_profile.rb index 8b317ed..e9685e5 100644 --- a/lib/klaviyo-api-sdk/models/data_privacy_create_deletion_job_query_resource_object_attributes_profile.rb +++ b/lib/klaviyo-api-sdk/models/data_privacy_create_deletion_job_query_resource_object_attributes_profile.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/data_privacy_deletion_job_enum.rb b/lib/klaviyo-api-sdk/models/data_privacy_deletion_job_enum.rb index 4197840..d774765 100644 --- a/lib/klaviyo-api-sdk/models/data_privacy_deletion_job_enum.rb +++ b/lib/klaviyo-api-sdk/models/data_privacy_deletion_job_enum.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/data_privacy_profile_query_resource_object.rb b/lib/klaviyo-api-sdk/models/data_privacy_profile_query_resource_object.rb index 37e4c3c..0d3e375 100644 --- a/lib/klaviyo-api-sdk/models/data_privacy_profile_query_resource_object.rb +++ b/lib/klaviyo-api-sdk/models/data_privacy_profile_query_resource_object.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/data_privacy_profile_query_resource_object_attributes.rb b/lib/klaviyo-api-sdk/models/data_privacy_profile_query_resource_object_attributes.rb index fc5681f..6121962 100644 --- a/lib/klaviyo-api-sdk/models/data_privacy_profile_query_resource_object_attributes.rb +++ b/lib/klaviyo-api-sdk/models/data_privacy_profile_query_resource_object_attributes.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/date_enum.rb b/lib/klaviyo-api-sdk/models/date_enum.rb index 8bb2f10..33c5d7d 100644 --- a/lib/klaviyo-api-sdk/models/date_enum.rb +++ b/lib/klaviyo-api-sdk/models/date_enum.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/device_metadata.rb b/lib/klaviyo-api-sdk/models/device_metadata.rb index 2bb2405..cf60c50 100644 --- a/lib/klaviyo-api-sdk/models/device_metadata.rb +++ b/lib/klaviyo-api-sdk/models/device_metadata.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/double_optin_filter.rb b/lib/klaviyo-api-sdk/models/double_optin_filter.rb index 9612ad3..653772b 100644 --- a/lib/klaviyo-api-sdk/models/double_optin_filter.rb +++ b/lib/klaviyo-api-sdk/models/double_optin_filter.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/email_content_sub_object.rb b/lib/klaviyo-api-sdk/models/email_content_sub_object.rb index 9effb1f..31a07a0 100644 --- a/lib/klaviyo-api-sdk/models/email_content_sub_object.rb +++ b/lib/klaviyo-api-sdk/models/email_content_sub_object.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/email_enum.rb b/lib/klaviyo-api-sdk/models/email_enum.rb index c06b763..2d20fe3 100644 --- a/lib/klaviyo-api-sdk/models/email_enum.rb +++ b/lib/klaviyo-api-sdk/models/email_enum.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/email_send_options_sub_object.rb b/lib/klaviyo-api-sdk/models/email_send_options_sub_object.rb index 622f58f..e540b3f 100644 --- a/lib/klaviyo-api-sdk/models/email_send_options_sub_object.rb +++ b/lib/klaviyo-api-sdk/models/email_send_options_sub_object.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/email_subscription_parameters.rb b/lib/klaviyo-api-sdk/models/email_subscription_parameters.rb index 212c05f..060c56b 100644 --- a/lib/klaviyo-api-sdk/models/email_subscription_parameters.rb +++ b/lib/klaviyo-api-sdk/models/email_subscription_parameters.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/email_tracking_options_sub_object.rb b/lib/klaviyo-api-sdk/models/email_tracking_options_sub_object.rb index 131ad81..6426fcb 100644 --- a/lib/klaviyo-api-sdk/models/email_tracking_options_sub_object.rb +++ b/lib/klaviyo-api-sdk/models/email_tracking_options_sub_object.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/equals_enum.rb b/lib/klaviyo-api-sdk/models/equals_enum.rb index ad9280a..fe0ba9a 100644 --- a/lib/klaviyo-api-sdk/models/equals_enum.rb +++ b/lib/klaviyo-api-sdk/models/equals_enum.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/equals_string_filter.rb b/lib/klaviyo-api-sdk/models/equals_string_filter.rb index 5631e33..85cfb1f 100644 --- a/lib/klaviyo-api-sdk/models/equals_string_filter.rb +++ b/lib/klaviyo-api-sdk/models/equals_string_filter.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/event_bulk_create_enum.rb b/lib/klaviyo-api-sdk/models/event_bulk_create_enum.rb index 4fab37e..eaf7f94 100644 --- a/lib/klaviyo-api-sdk/models/event_bulk_create_enum.rb +++ b/lib/klaviyo-api-sdk/models/event_bulk_create_enum.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/event_bulk_create_job_enum.rb b/lib/klaviyo-api-sdk/models/event_bulk_create_job_enum.rb index 9945922..b0480f8 100644 --- a/lib/klaviyo-api-sdk/models/event_bulk_create_job_enum.rb +++ b/lib/klaviyo-api-sdk/models/event_bulk_create_job_enum.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/event_create_query_v2.rb b/lib/klaviyo-api-sdk/models/event_create_query_v2.rb index 72429b2..8ea7605 100644 --- a/lib/klaviyo-api-sdk/models/event_create_query_v2.rb +++ b/lib/klaviyo-api-sdk/models/event_create_query_v2.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/event_create_query_v2_resource_object.rb b/lib/klaviyo-api-sdk/models/event_create_query_v2_resource_object.rb index b48eb37..d809ec9 100644 --- a/lib/klaviyo-api-sdk/models/event_create_query_v2_resource_object.rb +++ b/lib/klaviyo-api-sdk/models/event_create_query_v2_resource_object.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/event_create_query_v2_resource_object_attributes.rb b/lib/klaviyo-api-sdk/models/event_create_query_v2_resource_object_attributes.rb index a3d00a4..90d0956 100644 --- a/lib/klaviyo-api-sdk/models/event_create_query_v2_resource_object_attributes.rb +++ b/lib/klaviyo-api-sdk/models/event_create_query_v2_resource_object_attributes.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/event_create_query_v2_resource_object_attributes_metric.rb b/lib/klaviyo-api-sdk/models/event_create_query_v2_resource_object_attributes_metric.rb index 0a62243..4e0e386 100644 --- a/lib/klaviyo-api-sdk/models/event_create_query_v2_resource_object_attributes_metric.rb +++ b/lib/klaviyo-api-sdk/models/event_create_query_v2_resource_object_attributes_metric.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/event_create_query_v2_resource_object_attributes_profile.rb b/lib/klaviyo-api-sdk/models/event_create_query_v2_resource_object_attributes_profile.rb index ca50a3e..bf53189 100644 --- a/lib/klaviyo-api-sdk/models/event_create_query_v2_resource_object_attributes_profile.rb +++ b/lib/klaviyo-api-sdk/models/event_create_query_v2_resource_object_attributes_profile.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/event_enum.rb b/lib/klaviyo-api-sdk/models/event_enum.rb index a9d03a4..04b7a25 100644 --- a/lib/klaviyo-api-sdk/models/event_enum.rb +++ b/lib/klaviyo-api-sdk/models/event_enum.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/event_profile_create_query_resource_object.rb b/lib/klaviyo-api-sdk/models/event_profile_create_query_resource_object.rb index 5a987bf..0c21c13 100644 --- a/lib/klaviyo-api-sdk/models/event_profile_create_query_resource_object.rb +++ b/lib/klaviyo-api-sdk/models/event_profile_create_query_resource_object.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/event_profile_create_query_resource_object_attributes.rb b/lib/klaviyo-api-sdk/models/event_profile_create_query_resource_object_attributes.rb index 537df33..d581a73 100644 --- a/lib/klaviyo-api-sdk/models/event_profile_create_query_resource_object_attributes.rb +++ b/lib/klaviyo-api-sdk/models/event_profile_create_query_resource_object_attributes.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 @@ -15,6 +15,9 @@ module KlaviyoAPI class EventProfileCreateQueryResourceObjectAttributes + # Individual's email address + attr_accessor :email + # Individual's phone number in E.164 format attr_accessor :phone_number @@ -48,12 +51,10 @@ class EventProfileCreateQueryResourceObjectAttributes attr_accessor :meta - # Individual's email address - attr_accessor :email - # Attribute mapping from ruby-style variable name to JSON key. def self.attribute_map { + :'email' => :'email', :'phone_number' => :'phone_number', :'external_id' => :'external_id', :'anonymous_id' => :'anonymous_id', @@ -65,8 +66,7 @@ def self.attribute_map :'image' => :'image', :'location' => :'location', :'properties' => :'properties', - :'meta' => :'meta', - :'email' => :'email' + :'meta' => :'meta' } end @@ -78,6 +78,7 @@ def self.acceptable_attributes # Attribute type mapping. def self.openapi_types { + :'email' => :'String', :'phone_number' => :'String', :'external_id' => :'String', :'anonymous_id' => :'String', @@ -89,14 +90,14 @@ def self.openapi_types :'image' => :'String', :'location' => :'ProfileLocation', :'properties' => :'Object', - :'meta' => :'OnsiteProfileMeta', - :'email' => :'String' + :'meta' => :'OnsiteProfileMeta' } end # List of attributes with nullable: true def self.openapi_nullable Set.new([ + :'email', :'phone_number', :'external_id', :'anonymous_id', @@ -107,7 +108,6 @@ def self.openapi_nullable :'title', :'image', :'properties', - :'email' ]) end @@ -126,6 +126,10 @@ def initialize(attributes = {}) h[k.to_sym] = v } + if attributes.key?(:'email') + self.email = attributes[:'email'] + end + if attributes.key?(:'phone_number') self.phone_number = attributes[:'phone_number'] end @@ -173,10 +177,6 @@ def initialize(attributes = {}) if attributes.key?(:'meta') self.meta = attributes[:'meta'] end - - if attributes.key?(:'email') - self.email = attributes[:'email'] - end end # Show invalid properties with the reasons. Usually used together with valid? @@ -197,6 +197,7 @@ def valid? def ==(o) return true if self.equal?(o) self.class == o.class && + email == o.email && phone_number == o.phone_number && external_id == o.external_id && anonymous_id == o.anonymous_id && @@ -208,8 +209,7 @@ def ==(o) image == o.image && location == o.location && properties == o.properties && - meta == o.meta && - email == o.email + meta == o.meta end # @see the `==` method @@ -221,7 +221,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [phone_number, external_id, anonymous_id, _kx, first_name, last_name, organization, title, image, location, properties, meta, email].hash + [email, phone_number, external_id, anonymous_id, _kx, first_name, last_name, organization, title, image, location, properties, meta].hash end # Builds the object from hash diff --git a/lib/klaviyo-api-sdk/models/events_bulk_create_job.rb b/lib/klaviyo-api-sdk/models/events_bulk_create_job.rb index 4bef710..78f3774 100644 --- a/lib/klaviyo-api-sdk/models/events_bulk_create_job.rb +++ b/lib/klaviyo-api-sdk/models/events_bulk_create_job.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/events_bulk_create_job_resource_object.rb b/lib/klaviyo-api-sdk/models/events_bulk_create_job_resource_object.rb index 50040e3..502c66d 100644 --- a/lib/klaviyo-api-sdk/models/events_bulk_create_job_resource_object.rb +++ b/lib/klaviyo-api-sdk/models/events_bulk_create_job_resource_object.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/events_bulk_create_job_resource_object_attributes.rb b/lib/klaviyo-api-sdk/models/events_bulk_create_job_resource_object_attributes.rb index 33fd452..4982319 100644 --- a/lib/klaviyo-api-sdk/models/events_bulk_create_job_resource_object_attributes.rb +++ b/lib/klaviyo-api-sdk/models/events_bulk_create_job_resource_object_attributes.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/events_bulk_create_job_resource_object_attributes_events_bulk_create.rb b/lib/klaviyo-api-sdk/models/events_bulk_create_job_resource_object_attributes_events_bulk_create.rb index fb9f5b9..adf57e5 100644 --- a/lib/klaviyo-api-sdk/models/events_bulk_create_job_resource_object_attributes_events_bulk_create.rb +++ b/lib/klaviyo-api-sdk/models/events_bulk_create_job_resource_object_attributes_events_bulk_create.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/events_bulk_create_query_resource_object.rb b/lib/klaviyo-api-sdk/models/events_bulk_create_query_resource_object.rb index ac1cf5a..f91fa5d 100644 --- a/lib/klaviyo-api-sdk/models/events_bulk_create_query_resource_object.rb +++ b/lib/klaviyo-api-sdk/models/events_bulk_create_query_resource_object.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/events_bulk_create_query_resource_object_attributes.rb b/lib/klaviyo-api-sdk/models/events_bulk_create_query_resource_object_attributes.rb index a493cb6..e288497 100644 --- a/lib/klaviyo-api-sdk/models/events_bulk_create_query_resource_object_attributes.rb +++ b/lib/klaviyo-api-sdk/models/events_bulk_create_query_resource_object_attributes.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/events_bulk_create_query_resource_object_attributes_events.rb b/lib/klaviyo-api-sdk/models/events_bulk_create_query_resource_object_attributes_events.rb index 6e5e0fe..5fc38f7 100644 --- a/lib/klaviyo-api-sdk/models/events_bulk_create_query_resource_object_attributes_events.rb +++ b/lib/klaviyo-api-sdk/models/events_bulk_create_query_resource_object_attributes_events.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/events_bulk_create_query_resource_object_attributes_profile.rb b/lib/klaviyo-api-sdk/models/events_bulk_create_query_resource_object_attributes_profile.rb index ef0aaa4..a4c621a 100644 --- a/lib/klaviyo-api-sdk/models/events_bulk_create_query_resource_object_attributes_profile.rb +++ b/lib/klaviyo-api-sdk/models/events_bulk_create_query_resource_object_attributes_profile.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/existence_enum.rb b/lib/klaviyo-api-sdk/models/existence_enum.rb index 8b84211..3fac8bc 100644 --- a/lib/klaviyo-api-sdk/models/existence_enum.rb +++ b/lib/klaviyo-api-sdk/models/existence_enum.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/existence_operator_filter.rb b/lib/klaviyo-api-sdk/models/existence_operator_filter.rb index 3520417..7797029 100644 --- a/lib/klaviyo-api-sdk/models/existence_operator_filter.rb +++ b/lib/klaviyo-api-sdk/models/existence_operator_filter.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/failed_age_gate_enum.rb b/lib/klaviyo-api-sdk/models/failed_age_gate_enum.rb index ed76c96..945ca51 100644 --- a/lib/klaviyo-api-sdk/models/failed_age_gate_enum.rb +++ b/lib/klaviyo-api-sdk/models/failed_age_gate_enum.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/failed_age_gate_method_filter.rb b/lib/klaviyo-api-sdk/models/failed_age_gate_method_filter.rb index 5fbc155..f6be5b4 100644 --- a/lib/klaviyo-api-sdk/models/failed_age_gate_method_filter.rb +++ b/lib/klaviyo-api-sdk/models/failed_age_gate_method_filter.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/flow_enum.rb b/lib/klaviyo-api-sdk/models/flow_enum.rb index 6496587..c178917 100644 --- a/lib/klaviyo-api-sdk/models/flow_enum.rb +++ b/lib/klaviyo-api-sdk/models/flow_enum.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/flow_series_report_enum.rb b/lib/klaviyo-api-sdk/models/flow_series_report_enum.rb index b370ead..69e79af 100644 --- a/lib/klaviyo-api-sdk/models/flow_series_report_enum.rb +++ b/lib/klaviyo-api-sdk/models/flow_series_report_enum.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/flow_series_request_dto.rb b/lib/klaviyo-api-sdk/models/flow_series_request_dto.rb index 65b5277..054a39a 100644 --- a/lib/klaviyo-api-sdk/models/flow_series_request_dto.rb +++ b/lib/klaviyo-api-sdk/models/flow_series_request_dto.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/flow_series_request_dto_resource_object.rb b/lib/klaviyo-api-sdk/models/flow_series_request_dto_resource_object.rb index f22d9ef..4989836 100644 --- a/lib/klaviyo-api-sdk/models/flow_series_request_dto_resource_object.rb +++ b/lib/klaviyo-api-sdk/models/flow_series_request_dto_resource_object.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/flow_series_request_dto_resource_object_attributes.rb b/lib/klaviyo-api-sdk/models/flow_series_request_dto_resource_object_attributes.rb index f851449..89d00e7 100644 --- a/lib/klaviyo-api-sdk/models/flow_series_request_dto_resource_object_attributes.rb +++ b/lib/klaviyo-api-sdk/models/flow_series_request_dto_resource_object_attributes.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/flow_update_query.rb b/lib/klaviyo-api-sdk/models/flow_update_query.rb index 1d7cf74..68e5699 100644 --- a/lib/klaviyo-api-sdk/models/flow_update_query.rb +++ b/lib/klaviyo-api-sdk/models/flow_update_query.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/flow_update_query_resource_object.rb b/lib/klaviyo-api-sdk/models/flow_update_query_resource_object.rb index 0f7e171..8031fef 100644 --- a/lib/klaviyo-api-sdk/models/flow_update_query_resource_object.rb +++ b/lib/klaviyo-api-sdk/models/flow_update_query_resource_object.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/flow_update_query_resource_object_attributes.rb b/lib/klaviyo-api-sdk/models/flow_update_query_resource_object_attributes.rb index a7fa52c..7d00f3d 100644 --- a/lib/klaviyo-api-sdk/models/flow_update_query_resource_object_attributes.rb +++ b/lib/klaviyo-api-sdk/models/flow_update_query_resource_object_attributes.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/flow_values_report_enum.rb b/lib/klaviyo-api-sdk/models/flow_values_report_enum.rb index 4e145a6..9939e77 100644 --- a/lib/klaviyo-api-sdk/models/flow_values_report_enum.rb +++ b/lib/klaviyo-api-sdk/models/flow_values_report_enum.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/flow_values_request_dto.rb b/lib/klaviyo-api-sdk/models/flow_values_request_dto.rb index c3e633a..a51823c 100644 --- a/lib/klaviyo-api-sdk/models/flow_values_request_dto.rb +++ b/lib/klaviyo-api-sdk/models/flow_values_request_dto.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/flow_values_request_dto_resource_object.rb b/lib/klaviyo-api-sdk/models/flow_values_request_dto_resource_object.rb index 88b7497..607f189 100644 --- a/lib/klaviyo-api-sdk/models/flow_values_request_dto_resource_object.rb +++ b/lib/klaviyo-api-sdk/models/flow_values_request_dto_resource_object.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/flow_values_request_dto_resource_object_attributes.rb b/lib/klaviyo-api-sdk/models/flow_values_request_dto_resource_object_attributes.rb index 823e1a2..0d3320d 100644 --- a/lib/klaviyo-api-sdk/models/flow_values_request_dto_resource_object_attributes.rb +++ b/lib/klaviyo-api-sdk/models/flow_values_request_dto_resource_object_attributes.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/form_enum.rb b/lib/klaviyo-api-sdk/models/form_enum.rb index 08967e4..62f9198 100644 --- a/lib/klaviyo-api-sdk/models/form_enum.rb +++ b/lib/klaviyo-api-sdk/models/form_enum.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/form_method_filter.rb b/lib/klaviyo-api-sdk/models/form_method_filter.rb index 118bc8a..b1b04cf 100644 --- a/lib/klaviyo-api-sdk/models/form_method_filter.rb +++ b/lib/klaviyo-api-sdk/models/form_method_filter.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/get_accounts4_xx_response.rb b/lib/klaviyo-api-sdk/models/get_accounts4_xx_response.rb index 634bc6b..a36af34 100644 --- a/lib/klaviyo-api-sdk/models/get_accounts4_xx_response.rb +++ b/lib/klaviyo-api-sdk/models/get_accounts4_xx_response.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/get_accounts4_xx_response_errors_inner.rb b/lib/klaviyo-api-sdk/models/get_accounts4_xx_response_errors_inner.rb index eac5ec8..b9566ff 100644 --- a/lib/klaviyo-api-sdk/models/get_accounts4_xx_response_errors_inner.rb +++ b/lib/klaviyo-api-sdk/models/get_accounts4_xx_response_errors_inner.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/get_accounts4_xx_response_errors_inner_source.rb b/lib/klaviyo-api-sdk/models/get_accounts4_xx_response_errors_inner_source.rb index 7f0dedd..709ec45 100644 --- a/lib/klaviyo-api-sdk/models/get_accounts4_xx_response_errors_inner_source.rb +++ b/lib/klaviyo-api-sdk/models/get_accounts4_xx_response_errors_inner_source.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/greater_than_enum.rb b/lib/klaviyo-api-sdk/models/greater_than_enum.rb index 73e63fc..0875a86 100644 --- a/lib/klaviyo-api-sdk/models/greater_than_enum.rb +++ b/lib/klaviyo-api-sdk/models/greater_than_enum.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/has_email_marketing.rb b/lib/klaviyo-api-sdk/models/has_email_marketing.rb index 915c6da..b0282f0 100644 --- a/lib/klaviyo-api-sdk/models/has_email_marketing.rb +++ b/lib/klaviyo-api-sdk/models/has_email_marketing.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/has_email_marketing_consent.rb b/lib/klaviyo-api-sdk/models/has_email_marketing_consent.rb index fc948aa..c20ea15 100644 --- a/lib/klaviyo-api-sdk/models/has_email_marketing_consent.rb +++ b/lib/klaviyo-api-sdk/models/has_email_marketing_consent.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/has_email_marketing_consent_consent_status.rb b/lib/klaviyo-api-sdk/models/has_email_marketing_consent_consent_status.rb index 873e66a..4b69042 100644 --- a/lib/klaviyo-api-sdk/models/has_email_marketing_consent_consent_status.rb +++ b/lib/klaviyo-api-sdk/models/has_email_marketing_consent_consent_status.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/has_email_marketing_never_subscribed.rb b/lib/klaviyo-api-sdk/models/has_email_marketing_never_subscribed.rb index 677aa56..ddc8c70 100644 --- a/lib/klaviyo-api-sdk/models/has_email_marketing_never_subscribed.rb +++ b/lib/klaviyo-api-sdk/models/has_email_marketing_never_subscribed.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/has_email_marketing_subscribed.rb b/lib/klaviyo-api-sdk/models/has_email_marketing_subscribed.rb index 2fd17a8..27abe46 100644 --- a/lib/klaviyo-api-sdk/models/has_email_marketing_subscribed.rb +++ b/lib/klaviyo-api-sdk/models/has_email_marketing_subscribed.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/has_email_marketing_subscribed_filters_inner.rb b/lib/klaviyo-api-sdk/models/has_email_marketing_subscribed_filters_inner.rb index 86c0e92..bbdb84a 100644 --- a/lib/klaviyo-api-sdk/models/has_email_marketing_subscribed_filters_inner.rb +++ b/lib/klaviyo-api-sdk/models/has_email_marketing_subscribed_filters_inner.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/has_push_marketing.rb b/lib/klaviyo-api-sdk/models/has_push_marketing.rb index 50d2461..025d453 100644 --- a/lib/klaviyo-api-sdk/models/has_push_marketing.rb +++ b/lib/klaviyo-api-sdk/models/has_push_marketing.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/has_push_marketing_consent.rb b/lib/klaviyo-api-sdk/models/has_push_marketing_consent.rb index 0f1073d..38a2062 100644 --- a/lib/klaviyo-api-sdk/models/has_push_marketing_consent.rb +++ b/lib/klaviyo-api-sdk/models/has_push_marketing_consent.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/has_sms_marketing_consent.rb b/lib/klaviyo-api-sdk/models/has_sms_marketing_consent.rb index 0097bc8..e5ee6a3 100644 --- a/lib/klaviyo-api-sdk/models/has_sms_marketing_consent.rb +++ b/lib/klaviyo-api-sdk/models/has_sms_marketing_consent.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/has_sms_marketing_subscribed.rb b/lib/klaviyo-api-sdk/models/has_sms_marketing_subscribed.rb index 3c0e1fa..eee1733 100644 --- a/lib/klaviyo-api-sdk/models/has_sms_marketing_subscribed.rb +++ b/lib/klaviyo-api-sdk/models/has_sms_marketing_subscribed.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/has_sms_marketing_subscribed_filters_inner.rb b/lib/klaviyo-api-sdk/models/has_sms_marketing_subscribed_filters_inner.rb index 9e63b32..9b3adff 100644 --- a/lib/klaviyo-api-sdk/models/has_sms_marketing_subscribed_filters_inner.rb +++ b/lib/klaviyo-api-sdk/models/has_sms_marketing_subscribed_filters_inner.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/image_create_query.rb b/lib/klaviyo-api-sdk/models/image_create_query.rb index 2760796..1d02ef2 100644 --- a/lib/klaviyo-api-sdk/models/image_create_query.rb +++ b/lib/klaviyo-api-sdk/models/image_create_query.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/image_create_query_resource_object.rb b/lib/klaviyo-api-sdk/models/image_create_query_resource_object.rb index 7f62358..e8f366a 100644 --- a/lib/klaviyo-api-sdk/models/image_create_query_resource_object.rb +++ b/lib/klaviyo-api-sdk/models/image_create_query_resource_object.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/image_create_query_resource_object_attributes.rb b/lib/klaviyo-api-sdk/models/image_create_query_resource_object_attributes.rb index 31dcacf..b45b826 100644 --- a/lib/klaviyo-api-sdk/models/image_create_query_resource_object_attributes.rb +++ b/lib/klaviyo-api-sdk/models/image_create_query_resource_object_attributes.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/image_enum.rb b/lib/klaviyo-api-sdk/models/image_enum.rb index ae7d700..ec3d988 100644 --- a/lib/klaviyo-api-sdk/models/image_enum.rb +++ b/lib/klaviyo-api-sdk/models/image_enum.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/image_partial_update_query.rb b/lib/klaviyo-api-sdk/models/image_partial_update_query.rb index d5ff4c7..088fda0 100644 --- a/lib/klaviyo-api-sdk/models/image_partial_update_query.rb +++ b/lib/klaviyo-api-sdk/models/image_partial_update_query.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/image_partial_update_query_resource_object.rb b/lib/klaviyo-api-sdk/models/image_partial_update_query_resource_object.rb index 46652c5..864cc9a 100644 --- a/lib/klaviyo-api-sdk/models/image_partial_update_query_resource_object.rb +++ b/lib/klaviyo-api-sdk/models/image_partial_update_query_resource_object.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/image_partial_update_query_resource_object_attributes.rb b/lib/klaviyo-api-sdk/models/image_partial_update_query_resource_object_attributes.rb index 4022111..92213d9 100644 --- a/lib/klaviyo-api-sdk/models/image_partial_update_query_resource_object_attributes.rb +++ b/lib/klaviyo-api-sdk/models/image_partial_update_query_resource_object_attributes.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/in_enum.rb b/lib/klaviyo-api-sdk/models/in_enum.rb index 62bf2c6..19ff832 100644 --- a/lib/klaviyo-api-sdk/models/in_enum.rb +++ b/lib/klaviyo-api-sdk/models/in_enum.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/in_string_array_filter.rb b/lib/klaviyo-api-sdk/models/in_string_array_filter.rb index 623668b..5f0592c 100644 --- a/lib/klaviyo-api-sdk/models/in_string_array_filter.rb +++ b/lib/klaviyo-api-sdk/models/in_string_array_filter.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/inbound_message_enum.rb b/lib/klaviyo-api-sdk/models/inbound_message_enum.rb index 6c488b1..4154af1 100644 --- a/lib/klaviyo-api-sdk/models/inbound_message_enum.rb +++ b/lib/klaviyo-api-sdk/models/inbound_message_enum.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/inbound_message_method_filter.rb b/lib/klaviyo-api-sdk/models/inbound_message_method_filter.rb index 596a8f5..6f24227 100644 --- a/lib/klaviyo-api-sdk/models/inbound_message_method_filter.rb +++ b/lib/klaviyo-api-sdk/models/inbound_message_method_filter.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/integration_enum.rb b/lib/klaviyo-api-sdk/models/integration_enum.rb index 6feb09d..3492ee6 100644 --- a/lib/klaviyo-api-sdk/models/integration_enum.rb +++ b/lib/klaviyo-api-sdk/models/integration_enum.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/invalid_email_date_enum.rb b/lib/klaviyo-api-sdk/models/invalid_email_date_enum.rb index a6d9520..27e5a39 100644 --- a/lib/klaviyo-api-sdk/models/invalid_email_date_enum.rb +++ b/lib/klaviyo-api-sdk/models/invalid_email_date_enum.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/invalid_email_date_filter.rb b/lib/klaviyo-api-sdk/models/invalid_email_date_filter.rb index 131cf17..6b5b944 100644 --- a/lib/klaviyo-api-sdk/models/invalid_email_date_filter.rb +++ b/lib/klaviyo-api-sdk/models/invalid_email_date_filter.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/is_double_opt_in_enum.rb b/lib/klaviyo-api-sdk/models/is_double_opt_in_enum.rb index c51a2dc..938bfcb 100644 --- a/lib/klaviyo-api-sdk/models/is_double_opt_in_enum.rb +++ b/lib/klaviyo-api-sdk/models/is_double_opt_in_enum.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/is_set_enum.rb b/lib/klaviyo-api-sdk/models/is_set_enum.rb index 88340f2..e9a2a13 100644 --- a/lib/klaviyo-api-sdk/models/is_set_enum.rb +++ b/lib/klaviyo-api-sdk/models/is_set_enum.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/is_set_existence_filter.rb b/lib/klaviyo-api-sdk/models/is_set_existence_filter.rb index 92a1fce..38bb829 100644 --- a/lib/klaviyo-api-sdk/models/is_set_existence_filter.rb +++ b/lib/klaviyo-api-sdk/models/is_set_existence_filter.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/less_than_enum.rb b/lib/klaviyo-api-sdk/models/less_than_enum.rb index 653c95d..b050a6b 100644 --- a/lib/klaviyo-api-sdk/models/less_than_enum.rb +++ b/lib/klaviyo-api-sdk/models/less_than_enum.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/list_contains_operator_filter.rb b/lib/klaviyo-api-sdk/models/list_contains_operator_filter.rb index c6efec1..b6f502e 100644 --- a/lib/klaviyo-api-sdk/models/list_contains_operator_filter.rb +++ b/lib/klaviyo-api-sdk/models/list_contains_operator_filter.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/list_contains_operator_filter_value.rb b/lib/klaviyo-api-sdk/models/list_contains_operator_filter_value.rb index f796a7f..041781f 100644 --- a/lib/klaviyo-api-sdk/models/list_contains_operator_filter_value.rb +++ b/lib/klaviyo-api-sdk/models/list_contains_operator_filter_value.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/list_create_query.rb b/lib/klaviyo-api-sdk/models/list_create_query.rb index 45bc7b3..c988ac7 100644 --- a/lib/klaviyo-api-sdk/models/list_create_query.rb +++ b/lib/klaviyo-api-sdk/models/list_create_query.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/list_create_query_resource_object.rb b/lib/klaviyo-api-sdk/models/list_create_query_resource_object.rb index 3fe5617..826a8c9 100644 --- a/lib/klaviyo-api-sdk/models/list_create_query_resource_object.rb +++ b/lib/klaviyo-api-sdk/models/list_create_query_resource_object.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/list_create_query_resource_object_attributes.rb b/lib/klaviyo-api-sdk/models/list_create_query_resource_object_attributes.rb index e1344c1..0bdb6a7 100644 --- a/lib/klaviyo-api-sdk/models/list_create_query_resource_object_attributes.rb +++ b/lib/klaviyo-api-sdk/models/list_create_query_resource_object_attributes.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/list_enum.rb b/lib/klaviyo-api-sdk/models/list_enum.rb index 0431834..f1eda87 100644 --- a/lib/klaviyo-api-sdk/models/list_enum.rb +++ b/lib/klaviyo-api-sdk/models/list_enum.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/list_length_filter.rb b/lib/klaviyo-api-sdk/models/list_length_filter.rb index e77dfda..a56c28e 100644 --- a/lib/klaviyo-api-sdk/models/list_length_filter.rb +++ b/lib/klaviyo-api-sdk/models/list_length_filter.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/list_members_add_query.rb b/lib/klaviyo-api-sdk/models/list_members_add_query.rb index 8affe00..b0fcb2d 100644 --- a/lib/klaviyo-api-sdk/models/list_members_add_query.rb +++ b/lib/klaviyo-api-sdk/models/list_members_add_query.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/list_members_add_query_data_inner.rb b/lib/klaviyo-api-sdk/models/list_members_add_query_data_inner.rb index dd37d07..8154971 100644 --- a/lib/klaviyo-api-sdk/models/list_members_add_query_data_inner.rb +++ b/lib/klaviyo-api-sdk/models/list_members_add_query_data_inner.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/list_members_delete_query.rb b/lib/klaviyo-api-sdk/models/list_members_delete_query.rb index 032f80d..8902f60 100644 --- a/lib/klaviyo-api-sdk/models/list_members_delete_query.rb +++ b/lib/klaviyo-api-sdk/models/list_members_delete_query.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/list_partial_update_query.rb b/lib/klaviyo-api-sdk/models/list_partial_update_query.rb index 45fae79..84087c4 100644 --- a/lib/klaviyo-api-sdk/models/list_partial_update_query.rb +++ b/lib/klaviyo-api-sdk/models/list_partial_update_query.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/list_partial_update_query_resource_object.rb b/lib/klaviyo-api-sdk/models/list_partial_update_query_resource_object.rb index f5a6cb9..51de8a0 100644 --- a/lib/klaviyo-api-sdk/models/list_partial_update_query_resource_object.rb +++ b/lib/klaviyo-api-sdk/models/list_partial_update_query_resource_object.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/list_set_filter.rb b/lib/klaviyo-api-sdk/models/list_set_filter.rb index d692144..dded5ef 100644 --- a/lib/klaviyo-api-sdk/models/list_set_filter.rb +++ b/lib/klaviyo-api-sdk/models/list_set_filter.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/mailbox_provider_enum.rb b/lib/klaviyo-api-sdk/models/mailbox_provider_enum.rb index 2220a0d..15c9656 100644 --- a/lib/klaviyo-api-sdk/models/mailbox_provider_enum.rb +++ b/lib/klaviyo-api-sdk/models/mailbox_provider_enum.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/mailbox_provider_method_filter.rb b/lib/klaviyo-api-sdk/models/mailbox_provider_method_filter.rb index 46cf003..71931c4 100644 --- a/lib/klaviyo-api-sdk/models/mailbox_provider_method_filter.rb +++ b/lib/klaviyo-api-sdk/models/mailbox_provider_method_filter.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/manual_add_enum.rb b/lib/klaviyo-api-sdk/models/manual_add_enum.rb index f2a09a2..834c066 100644 --- a/lib/klaviyo-api-sdk/models/manual_add_enum.rb +++ b/lib/klaviyo-api-sdk/models/manual_add_enum.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/manual_add_method_filter.rb b/lib/klaviyo-api-sdk/models/manual_add_method_filter.rb index cdf007c..0b676fb 100644 --- a/lib/klaviyo-api-sdk/models/manual_add_method_filter.rb +++ b/lib/klaviyo-api-sdk/models/manual_add_method_filter.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/manual_import_enum.rb b/lib/klaviyo-api-sdk/models/manual_import_enum.rb index 1b909c4..631d977 100644 --- a/lib/klaviyo-api-sdk/models/manual_import_enum.rb +++ b/lib/klaviyo-api-sdk/models/manual_import_enum.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/manual_import_method_filter.rb b/lib/klaviyo-api-sdk/models/manual_import_method_filter.rb index 20a4852..6937941 100644 --- a/lib/klaviyo-api-sdk/models/manual_import_method_filter.rb +++ b/lib/klaviyo-api-sdk/models/manual_import_method_filter.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/manual_remove_enum.rb b/lib/klaviyo-api-sdk/models/manual_remove_enum.rb index c6122f8..c5fe65b 100644 --- a/lib/klaviyo-api-sdk/models/manual_remove_enum.rb +++ b/lib/klaviyo-api-sdk/models/manual_remove_enum.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/manual_remove_method_filter.rb b/lib/klaviyo-api-sdk/models/manual_remove_method_filter.rb index 4459bc9..90c0c42 100644 --- a/lib/klaviyo-api-sdk/models/manual_remove_method_filter.rb +++ b/lib/klaviyo-api-sdk/models/manual_remove_method_filter.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/manual_suppression_date_enum.rb b/lib/klaviyo-api-sdk/models/manual_suppression_date_enum.rb index 9f608ea..17c8482 100644 --- a/lib/klaviyo-api-sdk/models/manual_suppression_date_enum.rb +++ b/lib/klaviyo-api-sdk/models/manual_suppression_date_enum.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/manual_suppression_date_filter.rb b/lib/klaviyo-api-sdk/models/manual_suppression_date_filter.rb index 739619c..2d808fc 100644 --- a/lib/klaviyo-api-sdk/models/manual_suppression_date_filter.rb +++ b/lib/klaviyo-api-sdk/models/manual_suppression_date_filter.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/marketing_subscription_parameters.rb b/lib/klaviyo-api-sdk/models/marketing_subscription_parameters.rb index e33d6a5..c658c5e 100644 --- a/lib/klaviyo-api-sdk/models/marketing_subscription_parameters.rb +++ b/lib/klaviyo-api-sdk/models/marketing_subscription_parameters.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 @@ -18,7 +18,7 @@ class MarketingSubscriptionParameters # The Consent status to subscribe to for the \"Marketing\" type. Currently supports \"SUBSCRIBED\". attr_accessor :consent - # The timestamp of when the profile's consent was gathered. This should only be used when syncing over historical consent info to Klaviyo; if not included, the current time will be used. This field is only supported for single opt-in and will be ignored for double opt-in. + # The timestamp of when the profile's consent was gathered. This should only be used when syncing over historical consent info to Klaviyo; if the `historical_import` flag is not included, providing any value for this field will raise an error. attr_accessor :consented_at class EnumAttributeValidator diff --git a/lib/klaviyo-api-sdk/models/message_blocked_enum.rb b/lib/klaviyo-api-sdk/models/message_blocked_enum.rb index 14062aa..f8632cf 100644 --- a/lib/klaviyo-api-sdk/models/message_blocked_enum.rb +++ b/lib/klaviyo-api-sdk/models/message_blocked_enum.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/message_blocked_method_filter.rb b/lib/klaviyo-api-sdk/models/message_blocked_method_filter.rb index 3dcd282..6784754 100644 --- a/lib/klaviyo-api-sdk/models/message_blocked_method_filter.rb +++ b/lib/klaviyo-api-sdk/models/message_blocked_method_filter.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/method_enum.rb b/lib/klaviyo-api-sdk/models/method_enum.rb index b1893b5..7c0b0ee 100644 --- a/lib/klaviyo-api-sdk/models/method_enum.rb +++ b/lib/klaviyo-api-sdk/models/method_enum.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/metric_aggregate_enum.rb b/lib/klaviyo-api-sdk/models/metric_aggregate_enum.rb index a5018a1..f39ab2b 100644 --- a/lib/klaviyo-api-sdk/models/metric_aggregate_enum.rb +++ b/lib/klaviyo-api-sdk/models/metric_aggregate_enum.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/metric_aggregate_query.rb b/lib/klaviyo-api-sdk/models/metric_aggregate_query.rb index bbf10ce..97ae6a5 100644 --- a/lib/klaviyo-api-sdk/models/metric_aggregate_query.rb +++ b/lib/klaviyo-api-sdk/models/metric_aggregate_query.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/metric_aggregate_query_resource_object.rb b/lib/klaviyo-api-sdk/models/metric_aggregate_query_resource_object.rb index 43714fa..7a3e2f6 100644 --- a/lib/klaviyo-api-sdk/models/metric_aggregate_query_resource_object.rb +++ b/lib/klaviyo-api-sdk/models/metric_aggregate_query_resource_object.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/metric_aggregate_query_resource_object_attributes.rb b/lib/klaviyo-api-sdk/models/metric_aggregate_query_resource_object_attributes.rb index 8d23744..b841a24 100644 --- a/lib/klaviyo-api-sdk/models/metric_aggregate_query_resource_object_attributes.rb +++ b/lib/klaviyo-api-sdk/models/metric_aggregate_query_resource_object_attributes.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 @@ -212,7 +212,7 @@ def valid? interval_validator = EnumAttributeValidator.new('String', ["day", "hour", "month", "week"]) return false unless interval_validator.valid?(@interval) return false if @filter.nil? - sort_validator = EnumAttributeValidator.new('String', ["$attributed_channel", "-$attributed_channel", "$attributed_flow", "-$attributed_flow", "$attributed_message", "-$attributed_message", "$attributed_variation", "-$attributed_variation", "$campaign_channel", "-$campaign_channel", "$flow", "-$flow", "$flow_channel", "-$flow_channel", "$message", "-$message", "$message_send_cohort", "-$message_send_cohort", "$variation", "-$variation", "$variation_send_cohort", "-$variation_send_cohort", "Bounce Type", "-Bounce Type", "Campaign Name", "-Campaign Name", "Client Canonical", "-Client Canonical", "Client Name", "-Client Name", "Client Type", "-Client Type", "Email Domain", "-Email Domain", "Failure Source", "-Failure Source", "Failure Type", "-Failure Type", "From Number", "-From Number", "From Phone Region", "-From Phone Region", "Inbox Provider", "-Inbox Provider", "List", "-List", "Message Name", "-Message Name", "Message Type", "-Message Type", "Method", "-Method", "Subject", "-Subject", "To Number", "-To Number", "To Phone Region", "-To Phone Region", "URL", "-URL", "count", "-count", "form_id", "-form_id", "sum_value", "-sum_value", "unique", "-unique"]) + sort_validator = EnumAttributeValidator.new('String', ["$attributed_channel", "-$attributed_channel", "$attributed_flow", "-$attributed_flow", "$attributed_message", "-$attributed_message", "$attributed_variation", "-$attributed_variation", "$campaign_channel", "-$campaign_channel", "$flow", "-$flow", "$flow_channel", "-$flow_channel", "$message", "-$message", "$message_send_cohort", "-$message_send_cohort", "$variation", "-$variation", "$variation_send_cohort", "-$variation_send_cohort", "Bot Click", "-Bot Click", "Bounce Type", "-Bounce Type", "Campaign Name", "-Campaign Name", "Client Canonical", "-Client Canonical", "Client Name", "-Client Name", "Client Type", "-Client Type", "Email Domain", "-Email Domain", "Failure Source", "-Failure Source", "Failure Type", "-Failure Type", "From Number", "-From Number", "From Phone Region", "-From Phone Region", "Inbox Provider", "-Inbox Provider", "List", "-List", "Message Name", "-Message Name", "Message Type", "-Message Type", "Method", "-Method", "Subject", "-Subject", "To Number", "-To Number", "To Phone Region", "-To Phone Region", "URL", "-URL", "count", "-count", "form_id", "-form_id", "sum_value", "-sum_value", "unique", "-unique"]) return false unless sort_validator.valid?(@sort) true end @@ -230,7 +230,7 @@ def interval=(interval) # Custom attribute writer method checking allowed values (enum). # @param [Object] sort Object to be assigned def sort=(sort) - validator = EnumAttributeValidator.new('String', ["$attributed_channel", "-$attributed_channel", "$attributed_flow", "-$attributed_flow", "$attributed_message", "-$attributed_message", "$attributed_variation", "-$attributed_variation", "$campaign_channel", "-$campaign_channel", "$flow", "-$flow", "$flow_channel", "-$flow_channel", "$message", "-$message", "$message_send_cohort", "-$message_send_cohort", "$variation", "-$variation", "$variation_send_cohort", "-$variation_send_cohort", "Bounce Type", "-Bounce Type", "Campaign Name", "-Campaign Name", "Client Canonical", "-Client Canonical", "Client Name", "-Client Name", "Client Type", "-Client Type", "Email Domain", "-Email Domain", "Failure Source", "-Failure Source", "Failure Type", "-Failure Type", "From Number", "-From Number", "From Phone Region", "-From Phone Region", "Inbox Provider", "-Inbox Provider", "List", "-List", "Message Name", "-Message Name", "Message Type", "-Message Type", "Method", "-Method", "Subject", "-Subject", "To Number", "-To Number", "To Phone Region", "-To Phone Region", "URL", "-URL", "count", "-count", "form_id", "-form_id", "sum_value", "-sum_value", "unique", "-unique"]) + validator = EnumAttributeValidator.new('String', ["$attributed_channel", "-$attributed_channel", "$attributed_flow", "-$attributed_flow", "$attributed_message", "-$attributed_message", "$attributed_variation", "-$attributed_variation", "$campaign_channel", "-$campaign_channel", "$flow", "-$flow", "$flow_channel", "-$flow_channel", "$message", "-$message", "$message_send_cohort", "-$message_send_cohort", "$variation", "-$variation", "$variation_send_cohort", "-$variation_send_cohort", "Bot Click", "-Bot Click", "Bounce Type", "-Bounce Type", "Campaign Name", "-Campaign Name", "Client Canonical", "-Client Canonical", "Client Name", "-Client Name", "Client Type", "-Client Type", "Email Domain", "-Email Domain", "Failure Source", "-Failure Source", "Failure Type", "-Failure Type", "From Number", "-From Number", "From Phone Region", "-From Phone Region", "Inbox Provider", "-Inbox Provider", "List", "-List", "Message Name", "-Message Name", "Message Type", "-Message Type", "Method", "-Method", "Subject", "-Subject", "To Number", "-To Number", "To Phone Region", "-To Phone Region", "URL", "-URL", "count", "-count", "form_id", "-form_id", "sum_value", "-sum_value", "unique", "-unique"]) unless validator.valid?(sort) fail ArgumentError, "invalid value for \"sort\", must be one of #{validator.allowable_values}." end diff --git a/lib/klaviyo-api-sdk/models/metric_create_query_resource_object.rb b/lib/klaviyo-api-sdk/models/metric_create_query_resource_object.rb index 5dfa86c..86f25ff 100644 --- a/lib/klaviyo-api-sdk/models/metric_create_query_resource_object.rb +++ b/lib/klaviyo-api-sdk/models/metric_create_query_resource_object.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/metric_create_query_resource_object_attributes.rb b/lib/klaviyo-api-sdk/models/metric_create_query_resource_object_attributes.rb index cf356ee..bf92cce 100644 --- a/lib/klaviyo-api-sdk/models/metric_create_query_resource_object_attributes.rb +++ b/lib/klaviyo-api-sdk/models/metric_create_query_resource_object_attributes.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/metric_enum.rb b/lib/klaviyo-api-sdk/models/metric_enum.rb index 10bff0b..c1ecc8b 100644 --- a/lib/klaviyo-api-sdk/models/metric_enum.rb +++ b/lib/klaviyo-api-sdk/models/metric_enum.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/never_subscribed_enum.rb b/lib/klaviyo-api-sdk/models/never_subscribed_enum.rb index 22dbb04..293c076 100644 --- a/lib/klaviyo-api-sdk/models/never_subscribed_enum.rb +++ b/lib/klaviyo-api-sdk/models/never_subscribed_enum.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/no_email_marketing.rb b/lib/klaviyo-api-sdk/models/no_email_marketing.rb index 1e89a56..ea73b12 100644 --- a/lib/klaviyo-api-sdk/models/no_email_marketing.rb +++ b/lib/klaviyo-api-sdk/models/no_email_marketing.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/no_email_marketing_consent.rb b/lib/klaviyo-api-sdk/models/no_email_marketing_consent.rb index 9a052ee..6916bc4 100644 --- a/lib/klaviyo-api-sdk/models/no_email_marketing_consent.rb +++ b/lib/klaviyo-api-sdk/models/no_email_marketing_consent.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/no_email_marketing_consent_consent_status.rb b/lib/klaviyo-api-sdk/models/no_email_marketing_consent_consent_status.rb index d93adf0..1bb26d0 100644 --- a/lib/klaviyo-api-sdk/models/no_email_marketing_consent_consent_status.rb +++ b/lib/klaviyo-api-sdk/models/no_email_marketing_consent_consent_status.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/no_email_marketing_filters_inner.rb b/lib/klaviyo-api-sdk/models/no_email_marketing_filters_inner.rb index 6ff239e..d15ea4a 100644 --- a/lib/klaviyo-api-sdk/models/no_email_marketing_filters_inner.rb +++ b/lib/klaviyo-api-sdk/models/no_email_marketing_filters_inner.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/no_email_marketing_never_subscribed.rb b/lib/klaviyo-api-sdk/models/no_email_marketing_never_subscribed.rb index 26fe644..7f184d9 100644 --- a/lib/klaviyo-api-sdk/models/no_email_marketing_never_subscribed.rb +++ b/lib/klaviyo-api-sdk/models/no_email_marketing_never_subscribed.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/no_email_marketing_subscribed.rb b/lib/klaviyo-api-sdk/models/no_email_marketing_subscribed.rb index b782c29..0875d95 100644 --- a/lib/klaviyo-api-sdk/models/no_email_marketing_subscribed.rb +++ b/lib/klaviyo-api-sdk/models/no_email_marketing_subscribed.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/no_email_marketing_unsubscribed.rb b/lib/klaviyo-api-sdk/models/no_email_marketing_unsubscribed.rb index 880eaf2..8bd672e 100644 --- a/lib/klaviyo-api-sdk/models/no_email_marketing_unsubscribed.rb +++ b/lib/klaviyo-api-sdk/models/no_email_marketing_unsubscribed.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/no_email_marketing_unsubscribed_filters.rb b/lib/klaviyo-api-sdk/models/no_email_marketing_unsubscribed_filters.rb index a60b4f8..7c8b9cb 100644 --- a/lib/klaviyo-api-sdk/models/no_email_marketing_unsubscribed_filters.rb +++ b/lib/klaviyo-api-sdk/models/no_email_marketing_unsubscribed_filters.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/no_email_marketing_unsubscribed_filters_one_of_inner.rb b/lib/klaviyo-api-sdk/models/no_email_marketing_unsubscribed_filters_one_of_inner.rb index 9870e13..a8e872c 100644 --- a/lib/klaviyo-api-sdk/models/no_email_marketing_unsubscribed_filters_one_of_inner.rb +++ b/lib/klaviyo-api-sdk/models/no_email_marketing_unsubscribed_filters_one_of_inner.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/no_push_marketing.rb b/lib/klaviyo-api-sdk/models/no_push_marketing.rb index c53788e..ba16c49 100644 --- a/lib/klaviyo-api-sdk/models/no_push_marketing.rb +++ b/lib/klaviyo-api-sdk/models/no_push_marketing.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/no_push_marketing_consent.rb b/lib/klaviyo-api-sdk/models/no_push_marketing_consent.rb index 6afb1c7..3499d9e 100644 --- a/lib/klaviyo-api-sdk/models/no_push_marketing_consent.rb +++ b/lib/klaviyo-api-sdk/models/no_push_marketing_consent.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/no_sms_marketing.rb b/lib/klaviyo-api-sdk/models/no_sms_marketing.rb index 3ae5799..d21446b 100644 --- a/lib/klaviyo-api-sdk/models/no_sms_marketing.rb +++ b/lib/klaviyo-api-sdk/models/no_sms_marketing.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/no_sms_marketing_consent.rb b/lib/klaviyo-api-sdk/models/no_sms_marketing_consent.rb index b6a5551..6ce9b19 100644 --- a/lib/klaviyo-api-sdk/models/no_sms_marketing_consent.rb +++ b/lib/klaviyo-api-sdk/models/no_sms_marketing_consent.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/no_sms_marketing_consent_consent_status.rb b/lib/klaviyo-api-sdk/models/no_sms_marketing_consent_consent_status.rb index 986bdce..78d3ab7 100644 --- a/lib/klaviyo-api-sdk/models/no_sms_marketing_consent_consent_status.rb +++ b/lib/klaviyo-api-sdk/models/no_sms_marketing_consent_consent_status.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/no_sms_marketing_never_subscribed.rb b/lib/klaviyo-api-sdk/models/no_sms_marketing_never_subscribed.rb index 3e43f61..5cebc29 100644 --- a/lib/klaviyo-api-sdk/models/no_sms_marketing_never_subscribed.rb +++ b/lib/klaviyo-api-sdk/models/no_sms_marketing_never_subscribed.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/no_sms_marketing_unsubscribed.rb b/lib/klaviyo-api-sdk/models/no_sms_marketing_unsubscribed.rb index c7ea412..897747d 100644 --- a/lib/klaviyo-api-sdk/models/no_sms_marketing_unsubscribed.rb +++ b/lib/klaviyo-api-sdk/models/no_sms_marketing_unsubscribed.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/no_sms_marketing_unsubscribed_filters_inner.rb b/lib/klaviyo-api-sdk/models/no_sms_marketing_unsubscribed_filters_inner.rb index 008700b..d42a353 100644 --- a/lib/klaviyo-api-sdk/models/no_sms_marketing_unsubscribed_filters_inner.rb +++ b/lib/klaviyo-api-sdk/models/no_sms_marketing_unsubscribed_filters_inner.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/not_equals_enum.rb b/lib/klaviyo-api-sdk/models/not_equals_enum.rb index 5c79646..462c0da 100644 --- a/lib/klaviyo-api-sdk/models/not_equals_enum.rb +++ b/lib/klaviyo-api-sdk/models/not_equals_enum.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/numeric_enum.rb b/lib/klaviyo-api-sdk/models/numeric_enum.rb index 0f129f2..1217995 100644 --- a/lib/klaviyo-api-sdk/models/numeric_enum.rb +++ b/lib/klaviyo-api-sdk/models/numeric_enum.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/numeric_operator_filter.rb b/lib/klaviyo-api-sdk/models/numeric_operator_filter.rb index b2c9cf2..f26b920 100644 --- a/lib/klaviyo-api-sdk/models/numeric_operator_filter.rb +++ b/lib/klaviyo-api-sdk/models/numeric_operator_filter.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/numeric_operator_filter_value.rb b/lib/klaviyo-api-sdk/models/numeric_operator_filter_value.rb index 0274cef..2642d90 100644 --- a/lib/klaviyo-api-sdk/models/numeric_operator_filter_value.rb +++ b/lib/klaviyo-api-sdk/models/numeric_operator_filter_value.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/onsite_profile_create_query_resource_object.rb b/lib/klaviyo-api-sdk/models/onsite_profile_create_query_resource_object.rb index fcc4d99..f2859b3 100644 --- a/lib/klaviyo-api-sdk/models/onsite_profile_create_query_resource_object.rb +++ b/lib/klaviyo-api-sdk/models/onsite_profile_create_query_resource_object.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/onsite_profile_create_query_resource_object_attributes.rb b/lib/klaviyo-api-sdk/models/onsite_profile_create_query_resource_object_attributes.rb index c5f1d5f..980ec25 100644 --- a/lib/klaviyo-api-sdk/models/onsite_profile_create_query_resource_object_attributes.rb +++ b/lib/klaviyo-api-sdk/models/onsite_profile_create_query_resource_object_attributes.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/onsite_profile_meta.rb b/lib/klaviyo-api-sdk/models/onsite_profile_meta.rb index 89c053b..e348cf4 100644 --- a/lib/klaviyo-api-sdk/models/onsite_profile_meta.rb +++ b/lib/klaviyo-api-sdk/models/onsite_profile_meta.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/preference_page_enum.rb b/lib/klaviyo-api-sdk/models/preference_page_enum.rb index 2476b91..6ef0710 100644 --- a/lib/klaviyo-api-sdk/models/preference_page_enum.rb +++ b/lib/klaviyo-api-sdk/models/preference_page_enum.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/preference_page_filter.rb b/lib/klaviyo-api-sdk/models/preference_page_filter.rb index 184aef7..c7b249b 100644 --- a/lib/klaviyo-api-sdk/models/preference_page_filter.rb +++ b/lib/klaviyo-api-sdk/models/preference_page_filter.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/preference_page_method_filter.rb b/lib/klaviyo-api-sdk/models/preference_page_method_filter.rb index a9dacc4..b6360c3 100644 --- a/lib/klaviyo-api-sdk/models/preference_page_method_filter.rb +++ b/lib/klaviyo-api-sdk/models/preference_page_method_filter.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/profile_bulk_import_job_enum.rb b/lib/klaviyo-api-sdk/models/profile_bulk_import_job_enum.rb index bf99714..ff9f605 100644 --- a/lib/klaviyo-api-sdk/models/profile_bulk_import_job_enum.rb +++ b/lib/klaviyo-api-sdk/models/profile_bulk_import_job_enum.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/profile_create_query.rb b/lib/klaviyo-api-sdk/models/profile_create_query.rb index 037971c..278b252 100644 --- a/lib/klaviyo-api-sdk/models/profile_create_query.rb +++ b/lib/klaviyo-api-sdk/models/profile_create_query.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/profile_create_query_resource_object.rb b/lib/klaviyo-api-sdk/models/profile_create_query_resource_object.rb index 2be6857..8d530b4 100644 --- a/lib/klaviyo-api-sdk/models/profile_create_query_resource_object.rb +++ b/lib/klaviyo-api-sdk/models/profile_create_query_resource_object.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/profile_create_query_resource_object_attributes.rb b/lib/klaviyo-api-sdk/models/profile_create_query_resource_object_attributes.rb index adac359..d631af3 100644 --- a/lib/klaviyo-api-sdk/models/profile_create_query_resource_object_attributes.rb +++ b/lib/klaviyo-api-sdk/models/profile_create_query_resource_object_attributes.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/profile_enum.rb b/lib/klaviyo-api-sdk/models/profile_enum.rb index 44150c9..fbef289 100644 --- a/lib/klaviyo-api-sdk/models/profile_enum.rb +++ b/lib/klaviyo-api-sdk/models/profile_enum.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/profile_group_membership_enum.rb b/lib/klaviyo-api-sdk/models/profile_group_membership_enum.rb index 830fd50..cf3ad5d 100644 --- a/lib/klaviyo-api-sdk/models/profile_group_membership_enum.rb +++ b/lib/klaviyo-api-sdk/models/profile_group_membership_enum.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/profile_has_group_membership_condition.rb b/lib/klaviyo-api-sdk/models/profile_has_group_membership_condition.rb index fefd0a1..2b0e5dc 100644 --- a/lib/klaviyo-api-sdk/models/profile_has_group_membership_condition.rb +++ b/lib/klaviyo-api-sdk/models/profile_has_group_membership_condition.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/profile_has_group_membership_condition_timeframe_filter.rb b/lib/klaviyo-api-sdk/models/profile_has_group_membership_condition_timeframe_filter.rb index 071eafc..5193019 100644 --- a/lib/klaviyo-api-sdk/models/profile_has_group_membership_condition_timeframe_filter.rb +++ b/lib/klaviyo-api-sdk/models/profile_has_group_membership_condition_timeframe_filter.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 @@ -19,7 +19,7 @@ class << self # List of class defined in oneOf (OpenAPI v3) def openapi_one_of [ - :'RelativeDateFilter', + :'RelativeDateOperatorBaseFilter', :'RelativeDateRangeFilter', :'StaticDateFilter', :'StaticDateRangeFilter' diff --git a/lib/klaviyo-api-sdk/models/profile_identifier_dto_resource_object.rb b/lib/klaviyo-api-sdk/models/profile_identifier_dto_resource_object.rb index 878fedc..990ddc7 100644 --- a/lib/klaviyo-api-sdk/models/profile_identifier_dto_resource_object.rb +++ b/lib/klaviyo-api-sdk/models/profile_identifier_dto_resource_object.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/profile_identifier_dto_resource_object_attributes.rb b/lib/klaviyo-api-sdk/models/profile_identifier_dto_resource_object_attributes.rb index 3486e67..80d6331 100644 --- a/lib/klaviyo-api-sdk/models/profile_identifier_dto_resource_object_attributes.rb +++ b/lib/klaviyo-api-sdk/models/profile_identifier_dto_resource_object_attributes.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/profile_import_job_create_query.rb b/lib/klaviyo-api-sdk/models/profile_import_job_create_query.rb index 8fbe19a..212542d 100644 --- a/lib/klaviyo-api-sdk/models/profile_import_job_create_query.rb +++ b/lib/klaviyo-api-sdk/models/profile_import_job_create_query.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/profile_import_job_create_query_resource_object.rb b/lib/klaviyo-api-sdk/models/profile_import_job_create_query_resource_object.rb index cdc6199..1095342 100644 --- a/lib/klaviyo-api-sdk/models/profile_import_job_create_query_resource_object.rb +++ b/lib/klaviyo-api-sdk/models/profile_import_job_create_query_resource_object.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/profile_import_job_create_query_resource_object_attributes.rb b/lib/klaviyo-api-sdk/models/profile_import_job_create_query_resource_object_attributes.rb index 74c236f..f89a2c6 100644 --- a/lib/klaviyo-api-sdk/models/profile_import_job_create_query_resource_object_attributes.rb +++ b/lib/klaviyo-api-sdk/models/profile_import_job_create_query_resource_object_attributes.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/profile_import_job_create_query_resource_object_attributes_profiles.rb b/lib/klaviyo-api-sdk/models/profile_import_job_create_query_resource_object_attributes_profiles.rb index b2ec7e5..3ca2b47 100644 --- a/lib/klaviyo-api-sdk/models/profile_import_job_create_query_resource_object_attributes_profiles.rb +++ b/lib/klaviyo-api-sdk/models/profile_import_job_create_query_resource_object_attributes_profiles.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/profile_import_job_create_query_resource_object_relationships.rb b/lib/klaviyo-api-sdk/models/profile_import_job_create_query_resource_object_relationships.rb index ead8922..e7f450c 100644 --- a/lib/klaviyo-api-sdk/models/profile_import_job_create_query_resource_object_relationships.rb +++ b/lib/klaviyo-api-sdk/models/profile_import_job_create_query_resource_object_relationships.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/profile_import_job_create_query_resource_object_relationships_lists.rb b/lib/klaviyo-api-sdk/models/profile_import_job_create_query_resource_object_relationships_lists.rb index 939f156..9bf7cba 100644 --- a/lib/klaviyo-api-sdk/models/profile_import_job_create_query_resource_object_relationships_lists.rb +++ b/lib/klaviyo-api-sdk/models/profile_import_job_create_query_resource_object_relationships_lists.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/profile_import_job_create_query_resource_object_relationships_lists_data_inner.rb b/lib/klaviyo-api-sdk/models/profile_import_job_create_query_resource_object_relationships_lists_data_inner.rb index ab84981..339f035 100644 --- a/lib/klaviyo-api-sdk/models/profile_import_job_create_query_resource_object_relationships_lists_data_inner.rb +++ b/lib/klaviyo-api-sdk/models/profile_import_job_create_query_resource_object_relationships_lists_data_inner.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/profile_location.rb b/lib/klaviyo-api-sdk/models/profile_location.rb index b75f34c..88f0130 100644 --- a/lib/klaviyo-api-sdk/models/profile_location.rb +++ b/lib/klaviyo-api-sdk/models/profile_location.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/profile_location_latitude.rb b/lib/klaviyo-api-sdk/models/profile_location_latitude.rb index b6eeb0d..8de5380 100644 --- a/lib/klaviyo-api-sdk/models/profile_location_latitude.rb +++ b/lib/klaviyo-api-sdk/models/profile_location_latitude.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/profile_location_longitude.rb b/lib/klaviyo-api-sdk/models/profile_location_longitude.rb index 8891507..0fe4ca4 100644 --- a/lib/klaviyo-api-sdk/models/profile_location_longitude.rb +++ b/lib/klaviyo-api-sdk/models/profile_location_longitude.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/profile_marketing_consent_condition.rb b/lib/klaviyo-api-sdk/models/profile_marketing_consent_condition.rb index 6a159d4..456d97e 100644 --- a/lib/klaviyo-api-sdk/models/profile_marketing_consent_condition.rb +++ b/lib/klaviyo-api-sdk/models/profile_marketing_consent_condition.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/profile_marketing_consent_condition_consent.rb b/lib/klaviyo-api-sdk/models/profile_marketing_consent_condition_consent.rb index b6f7754..c850cd8 100644 --- a/lib/klaviyo-api-sdk/models/profile_marketing_consent_condition_consent.rb +++ b/lib/klaviyo-api-sdk/models/profile_marketing_consent_condition_consent.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/profile_marketing_consent_enum.rb b/lib/klaviyo-api-sdk/models/profile_marketing_consent_enum.rb index 43167da..e520e7b 100644 --- a/lib/klaviyo-api-sdk/models/profile_marketing_consent_enum.rb +++ b/lib/klaviyo-api-sdk/models/profile_marketing_consent_enum.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/profile_merge_enum.rb b/lib/klaviyo-api-sdk/models/profile_merge_enum.rb index 1c947b3..7a5e07b 100644 --- a/lib/klaviyo-api-sdk/models/profile_merge_enum.rb +++ b/lib/klaviyo-api-sdk/models/profile_merge_enum.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/profile_merge_query.rb b/lib/klaviyo-api-sdk/models/profile_merge_query.rb index e4b2b13..7e6bf31 100644 --- a/lib/klaviyo-api-sdk/models/profile_merge_query.rb +++ b/lib/klaviyo-api-sdk/models/profile_merge_query.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/profile_merge_query_resource_object.rb b/lib/klaviyo-api-sdk/models/profile_merge_query_resource_object.rb index 9cb79fd..e6dfa45 100644 --- a/lib/klaviyo-api-sdk/models/profile_merge_query_resource_object.rb +++ b/lib/klaviyo-api-sdk/models/profile_merge_query_resource_object.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/profile_merge_query_resource_object_relationships.rb b/lib/klaviyo-api-sdk/models/profile_merge_query_resource_object_relationships.rb index 9a1d112..d9a44a9 100644 --- a/lib/klaviyo-api-sdk/models/profile_merge_query_resource_object_relationships.rb +++ b/lib/klaviyo-api-sdk/models/profile_merge_query_resource_object_relationships.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/profile_merge_query_resource_object_relationships_profiles.rb b/lib/klaviyo-api-sdk/models/profile_merge_query_resource_object_relationships_profiles.rb index 8268081..fc10774 100644 --- a/lib/klaviyo-api-sdk/models/profile_merge_query_resource_object_relationships_profiles.rb +++ b/lib/klaviyo-api-sdk/models/profile_merge_query_resource_object_relationships_profiles.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/profile_merge_query_resource_object_relationships_profiles_data_inner.rb b/lib/klaviyo-api-sdk/models/profile_merge_query_resource_object_relationships_profiles_data_inner.rb index 9415c33..07a30e6 100644 --- a/lib/klaviyo-api-sdk/models/profile_merge_query_resource_object_relationships_profiles_data_inner.rb +++ b/lib/klaviyo-api-sdk/models/profile_merge_query_resource_object_relationships_profiles_data_inner.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/profile_meta.rb b/lib/klaviyo-api-sdk/models/profile_meta.rb index b85ba26..7d6a121 100644 --- a/lib/klaviyo-api-sdk/models/profile_meta.rb +++ b/lib/klaviyo-api-sdk/models/profile_meta.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/profile_meta_patch_properties.rb b/lib/klaviyo-api-sdk/models/profile_meta_patch_properties.rb index 24c6075..1e36aba 100644 --- a/lib/klaviyo-api-sdk/models/profile_meta_patch_properties.rb +++ b/lib/klaviyo-api-sdk/models/profile_meta_patch_properties.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/profile_meta_patch_properties_unset.rb b/lib/klaviyo-api-sdk/models/profile_meta_patch_properties_unset.rb index 16b0850..b79720d 100644 --- a/lib/klaviyo-api-sdk/models/profile_meta_patch_properties_unset.rb +++ b/lib/klaviyo-api-sdk/models/profile_meta_patch_properties_unset.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/profile_metric_condition.rb b/lib/klaviyo-api-sdk/models/profile_metric_condition.rb index b9cc0ed..ce0f533 100644 --- a/lib/klaviyo-api-sdk/models/profile_metric_condition.rb +++ b/lib/klaviyo-api-sdk/models/profile_metric_condition.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/profile_metric_condition_timeframe_filter.rb b/lib/klaviyo-api-sdk/models/profile_metric_condition_timeframe_filter.rb index cd4b382..3f15490 100644 --- a/lib/klaviyo-api-sdk/models/profile_metric_condition_timeframe_filter.rb +++ b/lib/klaviyo-api-sdk/models/profile_metric_condition_timeframe_filter.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 @@ -21,7 +21,7 @@ def openapi_one_of [ :'AlltimeDateFilter', :'RelativeAnniversaryDateFilter', - :'RelativeDateFilter', + :'RelativeDateOperatorBaseFilter', :'RelativeDateRangeFilter', :'StaticDateFilter', :'StaticDateRangeFilter' diff --git a/lib/klaviyo-api-sdk/models/profile_metric_enum.rb b/lib/klaviyo-api-sdk/models/profile_metric_enum.rb index 222f4ba..51fc7bb 100644 --- a/lib/klaviyo-api-sdk/models/profile_metric_enum.rb +++ b/lib/klaviyo-api-sdk/models/profile_metric_enum.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/profile_metric_property_filter.rb b/lib/klaviyo-api-sdk/models/profile_metric_property_filter.rb index 0e4c5d2..a5d0574 100644 --- a/lib/klaviyo-api-sdk/models/profile_metric_property_filter.rb +++ b/lib/klaviyo-api-sdk/models/profile_metric_property_filter.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/profile_metric_property_filter_filter.rb b/lib/klaviyo-api-sdk/models/profile_metric_property_filter_filter.rb index a81767a..09c3ea9 100644 --- a/lib/klaviyo-api-sdk/models/profile_metric_property_filter_filter.rb +++ b/lib/klaviyo-api-sdk/models/profile_metric_property_filter_filter.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/profile_no_group_membership_condition.rb b/lib/klaviyo-api-sdk/models/profile_no_group_membership_condition.rb index f8a1768..1360475 100644 --- a/lib/klaviyo-api-sdk/models/profile_no_group_membership_condition.rb +++ b/lib/klaviyo-api-sdk/models/profile_no_group_membership_condition.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/profile_partial_update_query.rb b/lib/klaviyo-api-sdk/models/profile_partial_update_query.rb index 1f4467b..4718cd3 100644 --- a/lib/klaviyo-api-sdk/models/profile_partial_update_query.rb +++ b/lib/klaviyo-api-sdk/models/profile_partial_update_query.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/profile_partial_update_query_resource_object.rb b/lib/klaviyo-api-sdk/models/profile_partial_update_query_resource_object.rb index a5b801f..f71ed69 100644 --- a/lib/klaviyo-api-sdk/models/profile_partial_update_query_resource_object.rb +++ b/lib/klaviyo-api-sdk/models/profile_partial_update_query_resource_object.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/profile_partial_update_query_resource_object_attributes.rb b/lib/klaviyo-api-sdk/models/profile_partial_update_query_resource_object_attributes.rb index 0012563..868b342 100644 --- a/lib/klaviyo-api-sdk/models/profile_partial_update_query_resource_object_attributes.rb +++ b/lib/klaviyo-api-sdk/models/profile_partial_update_query_resource_object_attributes.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/profile_postal_code_distance_condition.rb b/lib/klaviyo-api-sdk/models/profile_postal_code_distance_condition.rb index 54eb390..6c98604 100644 --- a/lib/klaviyo-api-sdk/models/profile_postal_code_distance_condition.rb +++ b/lib/klaviyo-api-sdk/models/profile_postal_code_distance_condition.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/profile_postal_code_distance_enum.rb b/lib/klaviyo-api-sdk/models/profile_postal_code_distance_enum.rb index 76bcdd8..56b1ec8 100644 --- a/lib/klaviyo-api-sdk/models/profile_postal_code_distance_enum.rb +++ b/lib/klaviyo-api-sdk/models/profile_postal_code_distance_enum.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/profile_predictive_analytics_enum.rb b/lib/klaviyo-api-sdk/models/profile_predictive_analytics_enum.rb index 2d98bf6..6f4636d 100644 --- a/lib/klaviyo-api-sdk/models/profile_predictive_analytics_enum.rb +++ b/lib/klaviyo-api-sdk/models/profile_predictive_analytics_enum.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/profile_predictive_analytics_numeric_condition.rb b/lib/klaviyo-api-sdk/models/profile_predictive_analytics_numeric_condition.rb index c0734b5..ad32768 100644 --- a/lib/klaviyo-api-sdk/models/profile_predictive_analytics_numeric_condition.rb +++ b/lib/klaviyo-api-sdk/models/profile_predictive_analytics_numeric_condition.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/profile_predictive_analytics_string_condition.rb b/lib/klaviyo-api-sdk/models/profile_predictive_analytics_string_condition.rb index 2ba107e..226a0a0 100644 --- a/lib/klaviyo-api-sdk/models/profile_predictive_analytics_string_condition.rb +++ b/lib/klaviyo-api-sdk/models/profile_predictive_analytics_string_condition.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/profile_predictive_analytics_string_filter.rb b/lib/klaviyo-api-sdk/models/profile_predictive_analytics_string_filter.rb index bf97373..4e4ba35 100644 --- a/lib/klaviyo-api-sdk/models/profile_predictive_analytics_string_filter.rb +++ b/lib/klaviyo-api-sdk/models/profile_predictive_analytics_string_filter.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/profile_predictive_analytics_string_filter_operator.rb b/lib/klaviyo-api-sdk/models/profile_predictive_analytics_string_filter_operator.rb index 4d84872..097176d 100644 --- a/lib/klaviyo-api-sdk/models/profile_predictive_analytics_string_filter_operator.rb +++ b/lib/klaviyo-api-sdk/models/profile_predictive_analytics_string_filter_operator.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/profile_property_condition.rb b/lib/klaviyo-api-sdk/models/profile_property_condition.rb index bcbdbfb..832c138 100644 --- a/lib/klaviyo-api-sdk/models/profile_property_condition.rb +++ b/lib/klaviyo-api-sdk/models/profile_property_condition.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/profile_property_condition_filter.rb b/lib/klaviyo-api-sdk/models/profile_property_condition_filter.rb index 08a0250..4082308 100644 --- a/lib/klaviyo-api-sdk/models/profile_property_condition_filter.rb +++ b/lib/klaviyo-api-sdk/models/profile_property_condition_filter.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 @@ -27,7 +27,7 @@ def openapi_one_of :'ListLengthFilter', :'NumericOperatorFilter', :'RelativeAnniversaryDateFilter', - :'RelativeDateFilter', + :'RelativeDateOperatorBaseFilter', :'RelativeDateRangeFilter', :'StaticDateFilter', :'StaticDateRangeFilter', diff --git a/lib/klaviyo-api-sdk/models/profile_property_enum.rb b/lib/klaviyo-api-sdk/models/profile_property_enum.rb index 38fc1aa..cf10fbf 100644 --- a/lib/klaviyo-api-sdk/models/profile_property_enum.rb +++ b/lib/klaviyo-api-sdk/models/profile_property_enum.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/profile_region_condition.rb b/lib/klaviyo-api-sdk/models/profile_region_condition.rb index b821cbd..2acc924 100644 --- a/lib/klaviyo-api-sdk/models/profile_region_condition.rb +++ b/lib/klaviyo-api-sdk/models/profile_region_condition.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/profile_region_enum.rb b/lib/klaviyo-api-sdk/models/profile_region_enum.rb index e4cf14e..5fadbc9 100644 --- a/lib/klaviyo-api-sdk/models/profile_region_enum.rb +++ b/lib/klaviyo-api-sdk/models/profile_region_enum.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/profile_subscription_bulk_create_job_enum.rb b/lib/klaviyo-api-sdk/models/profile_subscription_bulk_create_job_enum.rb index 517b4c0..f319dc9 100644 --- a/lib/klaviyo-api-sdk/models/profile_subscription_bulk_create_job_enum.rb +++ b/lib/klaviyo-api-sdk/models/profile_subscription_bulk_create_job_enum.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/profile_subscription_bulk_delete_job_enum.rb b/lib/klaviyo-api-sdk/models/profile_subscription_bulk_delete_job_enum.rb index f6f2177..b71efa0 100644 --- a/lib/klaviyo-api-sdk/models/profile_subscription_bulk_delete_job_enum.rb +++ b/lib/klaviyo-api-sdk/models/profile_subscription_bulk_delete_job_enum.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/profile_subscription_create_query_resource_object.rb b/lib/klaviyo-api-sdk/models/profile_subscription_create_query_resource_object.rb index 5af66de..7e497cb 100644 --- a/lib/klaviyo-api-sdk/models/profile_subscription_create_query_resource_object.rb +++ b/lib/klaviyo-api-sdk/models/profile_subscription_create_query_resource_object.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/profile_subscription_create_query_resource_object_attributes.rb b/lib/klaviyo-api-sdk/models/profile_subscription_create_query_resource_object_attributes.rb index fa072b4..ab01437 100644 --- a/lib/klaviyo-api-sdk/models/profile_subscription_create_query_resource_object_attributes.rb +++ b/lib/klaviyo-api-sdk/models/profile_subscription_create_query_resource_object_attributes.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/profile_subscription_delete_query_resource_object.rb b/lib/klaviyo-api-sdk/models/profile_subscription_delete_query_resource_object.rb index c1095bd..8d1b92d 100644 --- a/lib/klaviyo-api-sdk/models/profile_subscription_delete_query_resource_object.rb +++ b/lib/klaviyo-api-sdk/models/profile_subscription_delete_query_resource_object.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/profile_subscription_delete_query_resource_object_attributes.rb b/lib/klaviyo-api-sdk/models/profile_subscription_delete_query_resource_object_attributes.rb index 2152aa9..1e9f1a7 100644 --- a/lib/klaviyo-api-sdk/models/profile_subscription_delete_query_resource_object_attributes.rb +++ b/lib/klaviyo-api-sdk/models/profile_subscription_delete_query_resource_object_attributes.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/profile_suppression_bulk_create_job_enum.rb b/lib/klaviyo-api-sdk/models/profile_suppression_bulk_create_job_enum.rb index e0783b3..067387e 100644 --- a/lib/klaviyo-api-sdk/models/profile_suppression_bulk_create_job_enum.rb +++ b/lib/klaviyo-api-sdk/models/profile_suppression_bulk_create_job_enum.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/profile_suppression_bulk_delete_job_enum.rb b/lib/klaviyo-api-sdk/models/profile_suppression_bulk_delete_job_enum.rb index 548e9a4..10969a2 100644 --- a/lib/klaviyo-api-sdk/models/profile_suppression_bulk_delete_job_enum.rb +++ b/lib/klaviyo-api-sdk/models/profile_suppression_bulk_delete_job_enum.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/profile_suppression_create_query_resource_object.rb b/lib/klaviyo-api-sdk/models/profile_suppression_create_query_resource_object.rb index 873126c..c74974f 100644 --- a/lib/klaviyo-api-sdk/models/profile_suppression_create_query_resource_object.rb +++ b/lib/klaviyo-api-sdk/models/profile_suppression_create_query_resource_object.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/profile_suppression_create_query_resource_object_attributes.rb b/lib/klaviyo-api-sdk/models/profile_suppression_create_query_resource_object_attributes.rb index 1ac8dd5..a120458 100644 --- a/lib/klaviyo-api-sdk/models/profile_suppression_create_query_resource_object_attributes.rb +++ b/lib/klaviyo-api-sdk/models/profile_suppression_create_query_resource_object_attributes.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/profile_suppression_delete_query_resource_object.rb b/lib/klaviyo-api-sdk/models/profile_suppression_delete_query_resource_object.rb index 8047f98..fca1a15 100644 --- a/lib/klaviyo-api-sdk/models/profile_suppression_delete_query_resource_object.rb +++ b/lib/klaviyo-api-sdk/models/profile_suppression_delete_query_resource_object.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/profile_suppression_delete_query_resource_object_attributes.rb b/lib/klaviyo-api-sdk/models/profile_suppression_delete_query_resource_object_attributes.rb index 68ae72d..cf03ad0 100644 --- a/lib/klaviyo-api-sdk/models/profile_suppression_delete_query_resource_object_attributes.rb +++ b/lib/klaviyo-api-sdk/models/profile_suppression_delete_query_resource_object_attributes.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/profile_upsert_query.rb b/lib/klaviyo-api-sdk/models/profile_upsert_query.rb index a3cae07..d7b19e4 100644 --- a/lib/klaviyo-api-sdk/models/profile_upsert_query.rb +++ b/lib/klaviyo-api-sdk/models/profile_upsert_query.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/profile_upsert_query_resource_object.rb b/lib/klaviyo-api-sdk/models/profile_upsert_query_resource_object.rb index cd5e820..852e41e 100644 --- a/lib/klaviyo-api-sdk/models/profile_upsert_query_resource_object.rb +++ b/lib/klaviyo-api-sdk/models/profile_upsert_query_resource_object.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/profile_upsert_query_resource_object_attributes.rb b/lib/klaviyo-api-sdk/models/profile_upsert_query_resource_object_attributes.rb index 64560d6..b9b6b6a 100644 --- a/lib/klaviyo-api-sdk/models/profile_upsert_query_resource_object_attributes.rb +++ b/lib/klaviyo-api-sdk/models/profile_upsert_query_resource_object_attributes.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/provided_landline_enum.rb b/lib/klaviyo-api-sdk/models/provided_landline_enum.rb index a800b02..75a369a 100644 --- a/lib/klaviyo-api-sdk/models/provided_landline_enum.rb +++ b/lib/klaviyo-api-sdk/models/provided_landline_enum.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/provided_landline_method_filter.rb b/lib/klaviyo-api-sdk/models/provided_landline_method_filter.rb index 13e76bf..4e27a93 100644 --- a/lib/klaviyo-api-sdk/models/provided_landline_method_filter.rb +++ b/lib/klaviyo-api-sdk/models/provided_landline_method_filter.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/provided_no_age_enum.rb b/lib/klaviyo-api-sdk/models/provided_no_age_enum.rb index 5cca419..fb1c730 100644 --- a/lib/klaviyo-api-sdk/models/provided_no_age_enum.rb +++ b/lib/klaviyo-api-sdk/models/provided_no_age_enum.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/provided_no_age_method_filter.rb b/lib/klaviyo-api-sdk/models/provided_no_age_method_filter.rb index d9f80e1..aedde1b 100644 --- a/lib/klaviyo-api-sdk/models/provided_no_age_method_filter.rb +++ b/lib/klaviyo-api-sdk/models/provided_no_age_method_filter.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/push_enum.rb b/lib/klaviyo-api-sdk/models/push_enum.rb index 2636b01..d872719 100644 --- a/lib/klaviyo-api-sdk/models/push_enum.rb +++ b/lib/klaviyo-api-sdk/models/push_enum.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/push_profile_upsert_query_resource_object.rb b/lib/klaviyo-api-sdk/models/push_profile_upsert_query_resource_object.rb index c270884..ccfc09b 100644 --- a/lib/klaviyo-api-sdk/models/push_profile_upsert_query_resource_object.rb +++ b/lib/klaviyo-api-sdk/models/push_profile_upsert_query_resource_object.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/push_profile_upsert_query_resource_object_attributes.rb b/lib/klaviyo-api-sdk/models/push_profile_upsert_query_resource_object_attributes.rb index 0e2eb03..920f3f0 100644 --- a/lib/klaviyo-api-sdk/models/push_profile_upsert_query_resource_object_attributes.rb +++ b/lib/klaviyo-api-sdk/models/push_profile_upsert_query_resource_object_attributes.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/push_token_create_query.rb b/lib/klaviyo-api-sdk/models/push_token_create_query.rb index 6c8db96..47cb187 100644 --- a/lib/klaviyo-api-sdk/models/push_token_create_query.rb +++ b/lib/klaviyo-api-sdk/models/push_token_create_query.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/push_token_create_query_resource_object.rb b/lib/klaviyo-api-sdk/models/push_token_create_query_resource_object.rb index d970adf..e445995 100644 --- a/lib/klaviyo-api-sdk/models/push_token_create_query_resource_object.rb +++ b/lib/klaviyo-api-sdk/models/push_token_create_query_resource_object.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/push_token_create_query_resource_object_attributes.rb b/lib/klaviyo-api-sdk/models/push_token_create_query_resource_object_attributes.rb index 0c02bed..6c4ebab 100644 --- a/lib/klaviyo-api-sdk/models/push_token_create_query_resource_object_attributes.rb +++ b/lib/klaviyo-api-sdk/models/push_token_create_query_resource_object_attributes.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/push_token_create_query_resource_object_attributes_profile.rb b/lib/klaviyo-api-sdk/models/push_token_create_query_resource_object_attributes_profile.rb index 53663fc..cd7593e 100644 --- a/lib/klaviyo-api-sdk/models/push_token_create_query_resource_object_attributes_profile.rb +++ b/lib/klaviyo-api-sdk/models/push_token_create_query_resource_object_attributes_profile.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/push_token_enum.rb b/lib/klaviyo-api-sdk/models/push_token_enum.rb index 99e79b1..4b7f0d9 100644 --- a/lib/klaviyo-api-sdk/models/push_token_enum.rb +++ b/lib/klaviyo-api-sdk/models/push_token_enum.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/relative_anniversary_date_filter.rb b/lib/klaviyo-api-sdk/models/relative_anniversary_date_filter.rb index f0812ac..7ab12ab 100644 --- a/lib/klaviyo-api-sdk/models/relative_anniversary_date_filter.rb +++ b/lib/klaviyo-api-sdk/models/relative_anniversary_date_filter.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/relative_date_filter.rb b/lib/klaviyo-api-sdk/models/relative_date_operator_base_filter.rb similarity index 96% rename from lib/klaviyo-api-sdk/models/relative_date_filter.rb rename to lib/klaviyo-api-sdk/models/relative_date_operator_base_filter.rb index 0888c13..dec6f09 100644 --- a/lib/klaviyo-api-sdk/models/relative_date_filter.rb +++ b/lib/klaviyo-api-sdk/models/relative_date_operator_base_filter.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 @@ -14,7 +14,7 @@ require 'time' module KlaviyoAPI - class RelativeDateFilter + class RelativeDateOperatorBaseFilter attr_accessor :type # Operators for relative date filters. e.g. \"in the last 10 days\" @@ -82,13 +82,13 @@ def self.openapi_nullable # @param [Hash] attributes Model attributes in the form of hash def initialize(attributes = {}) if (!attributes.is_a?(Hash)) - fail ArgumentError, "The input argument (attributes) must be a hash in `KlaviyoAPI::RelativeDateFilter` initialize method" + fail ArgumentError, "The input argument (attributes) must be a hash in `KlaviyoAPI::RelativeDateOperatorBaseFilter` initialize method" end # check to see if the attribute exists and convert string to symbol for hash key attributes = attributes.each_with_object({}) { |(k, v), h| if (!self.class.attribute_map.key?(k.to_sym)) - fail ArgumentError, "`#{k}` is not a valid attribute in `KlaviyoAPI::RelativeDateFilter`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect + fail ArgumentError, "`#{k}` is not a valid attribute in `KlaviyoAPI::RelativeDateOperatorBaseFilter`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect end h[k.to_sym] = v } diff --git a/lib/klaviyo-api-sdk/models/relative_date_range_filter.rb b/lib/klaviyo-api-sdk/models/relative_date_range_filter.rb index cc2c05d..454eb95 100644 --- a/lib/klaviyo-api-sdk/models/relative_date_range_filter.rb +++ b/lib/klaviyo-api-sdk/models/relative_date_range_filter.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/render_options_sub_object.rb b/lib/klaviyo-api-sdk/models/render_options_sub_object.rb index 4a9541f..4865001 100644 --- a/lib/klaviyo-api-sdk/models/render_options_sub_object.rb +++ b/lib/klaviyo-api-sdk/models/render_options_sub_object.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/segment_create_query.rb b/lib/klaviyo-api-sdk/models/segment_create_query.rb index bc04e82..147fd46 100644 --- a/lib/klaviyo-api-sdk/models/segment_create_query.rb +++ b/lib/klaviyo-api-sdk/models/segment_create_query.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/segment_create_query_resource_object.rb b/lib/klaviyo-api-sdk/models/segment_create_query_resource_object.rb index 9b19761..c03cc2c 100644 --- a/lib/klaviyo-api-sdk/models/segment_create_query_resource_object.rb +++ b/lib/klaviyo-api-sdk/models/segment_create_query_resource_object.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/segment_create_query_resource_object_attributes.rb b/lib/klaviyo-api-sdk/models/segment_create_query_resource_object_attributes.rb index a782485..47b4237 100644 --- a/lib/klaviyo-api-sdk/models/segment_create_query_resource_object_attributes.rb +++ b/lib/klaviyo-api-sdk/models/segment_create_query_resource_object_attributes.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/segment_definition.rb b/lib/klaviyo-api-sdk/models/segment_definition.rb index 17cc87d..71a5402 100644 --- a/lib/klaviyo-api-sdk/models/segment_definition.rb +++ b/lib/klaviyo-api-sdk/models/segment_definition.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/segment_enum.rb b/lib/klaviyo-api-sdk/models/segment_enum.rb index 4ed0838..b52701f 100644 --- a/lib/klaviyo-api-sdk/models/segment_enum.rb +++ b/lib/klaviyo-api-sdk/models/segment_enum.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/segment_partial_update_query.rb b/lib/klaviyo-api-sdk/models/segment_partial_update_query.rb index 38d39d4..7f2acf5 100644 --- a/lib/klaviyo-api-sdk/models/segment_partial_update_query.rb +++ b/lib/klaviyo-api-sdk/models/segment_partial_update_query.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/segment_partial_update_query_resource_object.rb b/lib/klaviyo-api-sdk/models/segment_partial_update_query_resource_object.rb index 8e4b1f1..22d062e 100644 --- a/lib/klaviyo-api-sdk/models/segment_partial_update_query_resource_object.rb +++ b/lib/klaviyo-api-sdk/models/segment_partial_update_query_resource_object.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/segment_partial_update_query_resource_object_attributes.rb b/lib/klaviyo-api-sdk/models/segment_partial_update_query_resource_object_attributes.rb index 88ebc09..c26943c 100644 --- a/lib/klaviyo-api-sdk/models/segment_partial_update_query_resource_object_attributes.rb +++ b/lib/klaviyo-api-sdk/models/segment_partial_update_query_resource_object_attributes.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/send_strategy_sub_object.rb b/lib/klaviyo-api-sdk/models/send_strategy_sub_object.rb index 35db294..ca56611 100644 --- a/lib/klaviyo-api-sdk/models/send_strategy_sub_object.rb +++ b/lib/klaviyo-api-sdk/models/send_strategy_sub_object.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/server_bis_subscription_create_query.rb b/lib/klaviyo-api-sdk/models/server_bis_subscription_create_query.rb index e2e8b35..f287689 100644 --- a/lib/klaviyo-api-sdk/models/server_bis_subscription_create_query.rb +++ b/lib/klaviyo-api-sdk/models/server_bis_subscription_create_query.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/server_bis_subscription_create_query_resource_object.rb b/lib/klaviyo-api-sdk/models/server_bis_subscription_create_query_resource_object.rb index 508dde1..b9ce5c0 100644 --- a/lib/klaviyo-api-sdk/models/server_bis_subscription_create_query_resource_object.rb +++ b/lib/klaviyo-api-sdk/models/server_bis_subscription_create_query_resource_object.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/server_bis_subscription_create_query_resource_object_attributes.rb b/lib/klaviyo-api-sdk/models/server_bis_subscription_create_query_resource_object_attributes.rb index 8e5fa00..8856cf7 100644 --- a/lib/klaviyo-api-sdk/models/server_bis_subscription_create_query_resource_object_attributes.rb +++ b/lib/klaviyo-api-sdk/models/server_bis_subscription_create_query_resource_object_attributes.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/server_bis_subscription_create_query_resource_object_attributes_profile.rb b/lib/klaviyo-api-sdk/models/server_bis_subscription_create_query_resource_object_attributes_profile.rb index 8055700..eb7f8f4 100644 --- a/lib/klaviyo-api-sdk/models/server_bis_subscription_create_query_resource_object_attributes_profile.rb +++ b/lib/klaviyo-api-sdk/models/server_bis_subscription_create_query_resource_object_attributes_profile.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/server_bis_subscription_create_query_resource_object_relationships.rb b/lib/klaviyo-api-sdk/models/server_bis_subscription_create_query_resource_object_relationships.rb index 78b2962..27bd14a 100644 --- a/lib/klaviyo-api-sdk/models/server_bis_subscription_create_query_resource_object_relationships.rb +++ b/lib/klaviyo-api-sdk/models/server_bis_subscription_create_query_resource_object_relationships.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/server_bis_subscription_create_query_resource_object_relationships_variant.rb b/lib/klaviyo-api-sdk/models/server_bis_subscription_create_query_resource_object_relationships_variant.rb index c673a04..c42c86d 100644 --- a/lib/klaviyo-api-sdk/models/server_bis_subscription_create_query_resource_object_relationships_variant.rb +++ b/lib/klaviyo-api-sdk/models/server_bis_subscription_create_query_resource_object_relationships_variant.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/server_bis_subscription_create_query_resource_object_relationships_variant_data.rb b/lib/klaviyo-api-sdk/models/server_bis_subscription_create_query_resource_object_relationships_variant_data.rb index 3f686ff..8c72adf 100644 --- a/lib/klaviyo-api-sdk/models/server_bis_subscription_create_query_resource_object_relationships_variant_data.rb +++ b/lib/klaviyo-api-sdk/models/server_bis_subscription_create_query_resource_object_relationships_variant_data.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/sftp_enum.rb b/lib/klaviyo-api-sdk/models/sftp_enum.rb index 88e32e8..e14e240 100644 --- a/lib/klaviyo-api-sdk/models/sftp_enum.rb +++ b/lib/klaviyo-api-sdk/models/sftp_enum.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/sftp_method_filter.rb b/lib/klaviyo-api-sdk/models/sftp_method_filter.rb index e4f98ff..7a9992d 100644 --- a/lib/klaviyo-api-sdk/models/sftp_method_filter.rb +++ b/lib/klaviyo-api-sdk/models/sftp_method_filter.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/shopify_enum.rb b/lib/klaviyo-api-sdk/models/shopify_enum.rb index af824cc..50af5ab 100644 --- a/lib/klaviyo-api-sdk/models/shopify_enum.rb +++ b/lib/klaviyo-api-sdk/models/shopify_enum.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/shopify_integration_filter.rb b/lib/klaviyo-api-sdk/models/shopify_integration_filter.rb index 94e85bf..d584084 100644 --- a/lib/klaviyo-api-sdk/models/shopify_integration_filter.rb +++ b/lib/klaviyo-api-sdk/models/shopify_integration_filter.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/shopify_integration_method_filter.rb b/lib/klaviyo-api-sdk/models/shopify_integration_method_filter.rb index bcdca73..bf675d9 100644 --- a/lib/klaviyo-api-sdk/models/shopify_integration_method_filter.rb +++ b/lib/klaviyo-api-sdk/models/shopify_integration_method_filter.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/sms_content_sub_object_create.rb b/lib/klaviyo-api-sdk/models/sms_content_sub_object_create.rb index 5d56b73..21cd806 100644 --- a/lib/klaviyo-api-sdk/models/sms_content_sub_object_create.rb +++ b/lib/klaviyo-api-sdk/models/sms_content_sub_object_create.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/sms_enum.rb b/lib/klaviyo-api-sdk/models/sms_enum.rb index 856f80e..b2296cd 100644 --- a/lib/klaviyo-api-sdk/models/sms_enum.rb +++ b/lib/klaviyo-api-sdk/models/sms_enum.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/sms_send_options_sub_object.rb b/lib/klaviyo-api-sdk/models/sms_send_options_sub_object.rb index 3d15193..7ce5549 100644 --- a/lib/klaviyo-api-sdk/models/sms_send_options_sub_object.rb +++ b/lib/klaviyo-api-sdk/models/sms_send_options_sub_object.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/sms_subscription_parameters.rb b/lib/klaviyo-api-sdk/models/sms_subscription_parameters.rb index 5062a45..8075d35 100644 --- a/lib/klaviyo-api-sdk/models/sms_subscription_parameters.rb +++ b/lib/klaviyo-api-sdk/models/sms_subscription_parameters.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/sms_tracking_options_sub_object.rb b/lib/klaviyo-api-sdk/models/sms_tracking_options_sub_object.rb index e284564..6975513 100644 --- a/lib/klaviyo-api-sdk/models/sms_tracking_options_sub_object.rb +++ b/lib/klaviyo-api-sdk/models/sms_tracking_options_sub_object.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/spam_complaint_enum.rb b/lib/klaviyo-api-sdk/models/spam_complaint_enum.rb index 290361b..8ecc996 100644 --- a/lib/klaviyo-api-sdk/models/spam_complaint_enum.rb +++ b/lib/klaviyo-api-sdk/models/spam_complaint_enum.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/spam_complaint_method_filter.rb b/lib/klaviyo-api-sdk/models/spam_complaint_method_filter.rb index b32a8c3..e9fa4aa 100644 --- a/lib/klaviyo-api-sdk/models/spam_complaint_method_filter.rb +++ b/lib/klaviyo-api-sdk/models/spam_complaint_method_filter.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/static_date_filter.rb b/lib/klaviyo-api-sdk/models/static_date_filter.rb index 081d403..c01a839 100644 --- a/lib/klaviyo-api-sdk/models/static_date_filter.rb +++ b/lib/klaviyo-api-sdk/models/static_date_filter.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/static_date_range_filter.rb b/lib/klaviyo-api-sdk/models/static_date_range_filter.rb index f36f560..b3c7f70 100644 --- a/lib/klaviyo-api-sdk/models/static_date_range_filter.rb +++ b/lib/klaviyo-api-sdk/models/static_date_range_filter.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/static_schedule_options.rb b/lib/klaviyo-api-sdk/models/static_schedule_options.rb index c2cd853..73156c4 100644 --- a/lib/klaviyo-api-sdk/models/static_schedule_options.rb +++ b/lib/klaviyo-api-sdk/models/static_schedule_options.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/status_date_enum.rb b/lib/klaviyo-api-sdk/models/status_date_enum.rb index 08cb3d8..9ab5446 100644 --- a/lib/klaviyo-api-sdk/models/status_date_enum.rb +++ b/lib/klaviyo-api-sdk/models/status_date_enum.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/status_date_filter.rb b/lib/klaviyo-api-sdk/models/status_date_filter.rb index 2ca029e..237ee07 100644 --- a/lib/klaviyo-api-sdk/models/status_date_filter.rb +++ b/lib/klaviyo-api-sdk/models/status_date_filter.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/status_date_filter_filter.rb b/lib/klaviyo-api-sdk/models/status_date_filter_filter.rb index 7397015..93cd89f 100644 --- a/lib/klaviyo-api-sdk/models/status_date_filter_filter.rb +++ b/lib/klaviyo-api-sdk/models/status_date_filter_filter.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 @@ -22,7 +22,7 @@ def openapi_one_of :'AnniversaryDateFilter', :'CalendarDateFilter', :'RelativeAnniversaryDateFilter', - :'RelativeDateFilter', + :'RelativeDateOperatorBaseFilter', :'RelativeDateRangeFilter', :'StaticDateFilter', :'StaticDateRangeFilter' diff --git a/lib/klaviyo-api-sdk/models/sto_schedule_options.rb b/lib/klaviyo-api-sdk/models/sto_schedule_options.rb index f863234..e363536 100644 --- a/lib/klaviyo-api-sdk/models/sto_schedule_options.rb +++ b/lib/klaviyo-api-sdk/models/sto_schedule_options.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/string_array_operator_filter.rb b/lib/klaviyo-api-sdk/models/string_array_operator_filter.rb index 73c9dbc..249e019 100644 --- a/lib/klaviyo-api-sdk/models/string_array_operator_filter.rb +++ b/lib/klaviyo-api-sdk/models/string_array_operator_filter.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/string_enum.rb b/lib/klaviyo-api-sdk/models/string_enum.rb index f70fdec..f029213 100644 --- a/lib/klaviyo-api-sdk/models/string_enum.rb +++ b/lib/klaviyo-api-sdk/models/string_enum.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/string_operator_filter.rb b/lib/klaviyo-api-sdk/models/string_operator_filter.rb index a841a77..a506b0c 100644 --- a/lib/klaviyo-api-sdk/models/string_operator_filter.rb +++ b/lib/klaviyo-api-sdk/models/string_operator_filter.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/string_phone_operator_array_filter.rb b/lib/klaviyo-api-sdk/models/string_phone_operator_array_filter.rb index 64d8694..ad88ebf 100644 --- a/lib/klaviyo-api-sdk/models/string_phone_operator_array_filter.rb +++ b/lib/klaviyo-api-sdk/models/string_phone_operator_array_filter.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/subscribed_enum.rb b/lib/klaviyo-api-sdk/models/subscribed_enum.rb index 622f64f..06cb2ab 100644 --- a/lib/klaviyo-api-sdk/models/subscribed_enum.rb +++ b/lib/klaviyo-api-sdk/models/subscribed_enum.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/subscription_channels.rb b/lib/klaviyo-api-sdk/models/subscription_channels.rb index e0926bb..226a17a 100644 --- a/lib/klaviyo-api-sdk/models/subscription_channels.rb +++ b/lib/klaviyo-api-sdk/models/subscription_channels.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/subscription_create_job_create_query.rb b/lib/klaviyo-api-sdk/models/subscription_create_job_create_query.rb index 97774af..c66b1f1 100644 --- a/lib/klaviyo-api-sdk/models/subscription_create_job_create_query.rb +++ b/lib/klaviyo-api-sdk/models/subscription_create_job_create_query.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/subscription_create_job_create_query_resource_object.rb b/lib/klaviyo-api-sdk/models/subscription_create_job_create_query_resource_object.rb index 84ba635..90ad3f2 100644 --- a/lib/klaviyo-api-sdk/models/subscription_create_job_create_query_resource_object.rb +++ b/lib/klaviyo-api-sdk/models/subscription_create_job_create_query_resource_object.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/subscription_create_job_create_query_resource_object_attributes.rb b/lib/klaviyo-api-sdk/models/subscription_create_job_create_query_resource_object_attributes.rb index 3c6629d..f614d52 100644 --- a/lib/klaviyo-api-sdk/models/subscription_create_job_create_query_resource_object_attributes.rb +++ b/lib/klaviyo-api-sdk/models/subscription_create_job_create_query_resource_object_attributes.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 @@ -20,11 +20,15 @@ class SubscriptionCreateJobCreateQueryResourceObjectAttributes attr_accessor :profiles + # Whether this subscription is part of a historical import. If true, the consented_at field must be provided for each profile. + attr_accessor :historical_import + # Attribute mapping from ruby-style variable name to JSON key. def self.attribute_map { :'custom_source' => :'custom_source', - :'profiles' => :'profiles' + :'profiles' => :'profiles', + :'historical_import' => :'historical_import' } end @@ -37,7 +41,8 @@ def self.acceptable_attributes def self.openapi_types { :'custom_source' => :'String', - :'profiles' => :'SubscriptionCreateJobCreateQueryResourceObjectAttributesProfiles' + :'profiles' => :'SubscriptionCreateJobCreateQueryResourceObjectAttributesProfiles', + :'historical_import' => :'Boolean' } end @@ -45,6 +50,7 @@ def self.openapi_types def self.openapi_nullable Set.new([ :'custom_source', + :'historical_import' ]) end @@ -70,6 +76,12 @@ def initialize(attributes = {}) if attributes.key?(:'profiles') self.profiles = attributes[:'profiles'] end + + if attributes.key?(:'historical_import') + self.historical_import = attributes[:'historical_import'] + else + self.historical_import = false + end end # Show invalid properties with the reasons. Usually used together with valid? @@ -96,7 +108,8 @@ def ==(o) return true if self.equal?(o) self.class == o.class && custom_source == o.custom_source && - profiles == o.profiles + profiles == o.profiles && + historical_import == o.historical_import end # @see the `==` method @@ -108,7 +121,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [custom_source, profiles].hash + [custom_source, profiles, historical_import].hash end # Builds the object from hash diff --git a/lib/klaviyo-api-sdk/models/subscription_create_job_create_query_resource_object_attributes_profiles.rb b/lib/klaviyo-api-sdk/models/subscription_create_job_create_query_resource_object_attributes_profiles.rb index 4db91a6..ab5ca08 100644 --- a/lib/klaviyo-api-sdk/models/subscription_create_job_create_query_resource_object_attributes_profiles.rb +++ b/lib/klaviyo-api-sdk/models/subscription_create_job_create_query_resource_object_attributes_profiles.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/subscription_create_job_create_query_resource_object_relationships.rb b/lib/klaviyo-api-sdk/models/subscription_create_job_create_query_resource_object_relationships.rb index 72210c7..cdb967d 100644 --- a/lib/klaviyo-api-sdk/models/subscription_create_job_create_query_resource_object_relationships.rb +++ b/lib/klaviyo-api-sdk/models/subscription_create_job_create_query_resource_object_relationships.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/subscription_create_job_create_query_resource_object_relationships_list.rb b/lib/klaviyo-api-sdk/models/subscription_create_job_create_query_resource_object_relationships_list.rb index a37b334..5d57c26 100644 --- a/lib/klaviyo-api-sdk/models/subscription_create_job_create_query_resource_object_relationships_list.rb +++ b/lib/klaviyo-api-sdk/models/subscription_create_job_create_query_resource_object_relationships_list.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/subscription_create_job_create_query_resource_object_relationships_list_data.rb b/lib/klaviyo-api-sdk/models/subscription_create_job_create_query_resource_object_relationships_list_data.rb index 037b5ef..feb58d0 100644 --- a/lib/klaviyo-api-sdk/models/subscription_create_job_create_query_resource_object_relationships_list_data.rb +++ b/lib/klaviyo-api-sdk/models/subscription_create_job_create_query_resource_object_relationships_list_data.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/subscription_delete_job_create_query.rb b/lib/klaviyo-api-sdk/models/subscription_delete_job_create_query.rb index 70123f3..b9b8d7a 100644 --- a/lib/klaviyo-api-sdk/models/subscription_delete_job_create_query.rb +++ b/lib/klaviyo-api-sdk/models/subscription_delete_job_create_query.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/subscription_delete_job_create_query_resource_object.rb b/lib/klaviyo-api-sdk/models/subscription_delete_job_create_query_resource_object.rb index abf6f5c..c2a29cf 100644 --- a/lib/klaviyo-api-sdk/models/subscription_delete_job_create_query_resource_object.rb +++ b/lib/klaviyo-api-sdk/models/subscription_delete_job_create_query_resource_object.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/subscription_delete_job_create_query_resource_object_attributes.rb b/lib/klaviyo-api-sdk/models/subscription_delete_job_create_query_resource_object_attributes.rb index e442107..96450ce 100644 --- a/lib/klaviyo-api-sdk/models/subscription_delete_job_create_query_resource_object_attributes.rb +++ b/lib/klaviyo-api-sdk/models/subscription_delete_job_create_query_resource_object_attributes.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/subscription_delete_job_create_query_resource_object_attributes_profiles.rb b/lib/klaviyo-api-sdk/models/subscription_delete_job_create_query_resource_object_attributes_profiles.rb index 2e44a27..8bb78c9 100644 --- a/lib/klaviyo-api-sdk/models/subscription_delete_job_create_query_resource_object_attributes_profiles.rb +++ b/lib/klaviyo-api-sdk/models/subscription_delete_job_create_query_resource_object_attributes_profiles.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/subscription_delete_job_create_query_resource_object_relationships.rb b/lib/klaviyo-api-sdk/models/subscription_delete_job_create_query_resource_object_relationships.rb index 45de05e..9e7eb4c 100644 --- a/lib/klaviyo-api-sdk/models/subscription_delete_job_create_query_resource_object_relationships.rb +++ b/lib/klaviyo-api-sdk/models/subscription_delete_job_create_query_resource_object_relationships.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/subscription_delete_job_create_query_resource_object_relationships_list.rb b/lib/klaviyo-api-sdk/models/subscription_delete_job_create_query_resource_object_relationships_list.rb index 3f7413a..3618bf6 100644 --- a/lib/klaviyo-api-sdk/models/subscription_delete_job_create_query_resource_object_relationships_list.rb +++ b/lib/klaviyo-api-sdk/models/subscription_delete_job_create_query_resource_object_relationships_list.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/subscription_delete_job_create_query_resource_object_relationships_list_data.rb b/lib/klaviyo-api-sdk/models/subscription_delete_job_create_query_resource_object_relationships_list_data.rb index ca0500f..002004b 100644 --- a/lib/klaviyo-api-sdk/models/subscription_delete_job_create_query_resource_object_relationships_list_data.rb +++ b/lib/klaviyo-api-sdk/models/subscription_delete_job_create_query_resource_object_relationships_list_data.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/suppression_create_job_create_query.rb b/lib/klaviyo-api-sdk/models/suppression_create_job_create_query.rb index 18c036f..d4086c7 100644 --- a/lib/klaviyo-api-sdk/models/suppression_create_job_create_query.rb +++ b/lib/klaviyo-api-sdk/models/suppression_create_job_create_query.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/suppression_create_job_create_query_resource_object.rb b/lib/klaviyo-api-sdk/models/suppression_create_job_create_query_resource_object.rb index 6594a06..7d4de3c 100644 --- a/lib/klaviyo-api-sdk/models/suppression_create_job_create_query_resource_object.rb +++ b/lib/klaviyo-api-sdk/models/suppression_create_job_create_query_resource_object.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/suppression_create_job_create_query_resource_object_attributes.rb b/lib/klaviyo-api-sdk/models/suppression_create_job_create_query_resource_object_attributes.rb index 8d12506..67859d8 100644 --- a/lib/klaviyo-api-sdk/models/suppression_create_job_create_query_resource_object_attributes.rb +++ b/lib/klaviyo-api-sdk/models/suppression_create_job_create_query_resource_object_attributes.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/suppression_create_job_create_query_resource_object_attributes_profiles.rb b/lib/klaviyo-api-sdk/models/suppression_create_job_create_query_resource_object_attributes_profiles.rb index f65e54b..13d48a6 100644 --- a/lib/klaviyo-api-sdk/models/suppression_create_job_create_query_resource_object_attributes_profiles.rb +++ b/lib/klaviyo-api-sdk/models/suppression_create_job_create_query_resource_object_attributes_profiles.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/suppression_create_job_create_query_resource_object_relationships.rb b/lib/klaviyo-api-sdk/models/suppression_create_job_create_query_resource_object_relationships.rb index d35dc26..363a8fd 100644 --- a/lib/klaviyo-api-sdk/models/suppression_create_job_create_query_resource_object_relationships.rb +++ b/lib/klaviyo-api-sdk/models/suppression_create_job_create_query_resource_object_relationships.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/suppression_create_job_create_query_resource_object_relationships_list.rb b/lib/klaviyo-api-sdk/models/suppression_create_job_create_query_resource_object_relationships_list.rb index d8f81c0..de3050f 100644 --- a/lib/klaviyo-api-sdk/models/suppression_create_job_create_query_resource_object_relationships_list.rb +++ b/lib/klaviyo-api-sdk/models/suppression_create_job_create_query_resource_object_relationships_list.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/suppression_create_job_create_query_resource_object_relationships_list_data.rb b/lib/klaviyo-api-sdk/models/suppression_create_job_create_query_resource_object_relationships_list_data.rb index ce0f767..33590c8 100644 --- a/lib/klaviyo-api-sdk/models/suppression_create_job_create_query_resource_object_relationships_list_data.rb +++ b/lib/klaviyo-api-sdk/models/suppression_create_job_create_query_resource_object_relationships_list_data.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/suppression_create_job_create_query_resource_object_relationships_segment.rb b/lib/klaviyo-api-sdk/models/suppression_create_job_create_query_resource_object_relationships_segment.rb index 92f7c88..ad2fe53 100644 --- a/lib/klaviyo-api-sdk/models/suppression_create_job_create_query_resource_object_relationships_segment.rb +++ b/lib/klaviyo-api-sdk/models/suppression_create_job_create_query_resource_object_relationships_segment.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/suppression_create_job_create_query_resource_object_relationships_segment_data.rb b/lib/klaviyo-api-sdk/models/suppression_create_job_create_query_resource_object_relationships_segment_data.rb index 8feea8b..4116a0b 100644 --- a/lib/klaviyo-api-sdk/models/suppression_create_job_create_query_resource_object_relationships_segment_data.rb +++ b/lib/klaviyo-api-sdk/models/suppression_create_job_create_query_resource_object_relationships_segment_data.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/suppression_delete_job_create_query.rb b/lib/klaviyo-api-sdk/models/suppression_delete_job_create_query.rb index b81a0ba..5571fcc 100644 --- a/lib/klaviyo-api-sdk/models/suppression_delete_job_create_query.rb +++ b/lib/klaviyo-api-sdk/models/suppression_delete_job_create_query.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/suppression_delete_job_create_query_resource_object.rb b/lib/klaviyo-api-sdk/models/suppression_delete_job_create_query_resource_object.rb index 1446f68..5f17377 100644 --- a/lib/klaviyo-api-sdk/models/suppression_delete_job_create_query_resource_object.rb +++ b/lib/klaviyo-api-sdk/models/suppression_delete_job_create_query_resource_object.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/suppression_delete_job_create_query_resource_object_attributes.rb b/lib/klaviyo-api-sdk/models/suppression_delete_job_create_query_resource_object_attributes.rb index 79465c7..c2f0cf7 100644 --- a/lib/klaviyo-api-sdk/models/suppression_delete_job_create_query_resource_object_attributes.rb +++ b/lib/klaviyo-api-sdk/models/suppression_delete_job_create_query_resource_object_attributes.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/suppression_delete_job_create_query_resource_object_attributes_profiles.rb b/lib/klaviyo-api-sdk/models/suppression_delete_job_create_query_resource_object_attributes_profiles.rb index 468a9cf..93b3aca 100644 --- a/lib/klaviyo-api-sdk/models/suppression_delete_job_create_query_resource_object_attributes_profiles.rb +++ b/lib/klaviyo-api-sdk/models/suppression_delete_job_create_query_resource_object_attributes_profiles.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/suppression_delete_job_create_query_resource_object_relationships.rb b/lib/klaviyo-api-sdk/models/suppression_delete_job_create_query_resource_object_relationships.rb index e4c932a..76dec78 100644 --- a/lib/klaviyo-api-sdk/models/suppression_delete_job_create_query_resource_object_relationships.rb +++ b/lib/klaviyo-api-sdk/models/suppression_delete_job_create_query_resource_object_relationships.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/suppression_delete_job_create_query_resource_object_relationships_list.rb b/lib/klaviyo-api-sdk/models/suppression_delete_job_create_query_resource_object_relationships_list.rb index 06b05a9..48360c7 100644 --- a/lib/klaviyo-api-sdk/models/suppression_delete_job_create_query_resource_object_relationships_list.rb +++ b/lib/klaviyo-api-sdk/models/suppression_delete_job_create_query_resource_object_relationships_list.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/suppression_delete_job_create_query_resource_object_relationships_list_data.rb b/lib/klaviyo-api-sdk/models/suppression_delete_job_create_query_resource_object_relationships_list_data.rb index b85f360..2963838 100644 --- a/lib/klaviyo-api-sdk/models/suppression_delete_job_create_query_resource_object_relationships_list_data.rb +++ b/lib/klaviyo-api-sdk/models/suppression_delete_job_create_query_resource_object_relationships_list_data.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/suppression_delete_job_create_query_resource_object_relationships_segment.rb b/lib/klaviyo-api-sdk/models/suppression_delete_job_create_query_resource_object_relationships_segment.rb index 4106d56..e7799f1 100644 --- a/lib/klaviyo-api-sdk/models/suppression_delete_job_create_query_resource_object_relationships_segment.rb +++ b/lib/klaviyo-api-sdk/models/suppression_delete_job_create_query_resource_object_relationships_segment.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/suppression_delete_job_create_query_resource_object_relationships_segment_data.rb b/lib/klaviyo-api-sdk/models/suppression_delete_job_create_query_resource_object_relationships_segment_data.rb index 0b4d711..7dd40ea 100644 --- a/lib/klaviyo-api-sdk/models/suppression_delete_job_create_query_resource_object_relationships_segment_data.rb +++ b/lib/klaviyo-api-sdk/models/suppression_delete_job_create_query_resource_object_relationships_segment_data.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/tag_campaign_op.rb b/lib/klaviyo-api-sdk/models/tag_campaign_op.rb index 7b848a9..2ee0599 100644 --- a/lib/klaviyo-api-sdk/models/tag_campaign_op.rb +++ b/lib/klaviyo-api-sdk/models/tag_campaign_op.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/tag_campaign_op_data_inner.rb b/lib/klaviyo-api-sdk/models/tag_campaign_op_data_inner.rb index a5dbf49..5f0fddf 100644 --- a/lib/klaviyo-api-sdk/models/tag_campaign_op_data_inner.rb +++ b/lib/klaviyo-api-sdk/models/tag_campaign_op_data_inner.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/tag_create_query.rb b/lib/klaviyo-api-sdk/models/tag_create_query.rb index 8921168..1caaa08 100644 --- a/lib/klaviyo-api-sdk/models/tag_create_query.rb +++ b/lib/klaviyo-api-sdk/models/tag_create_query.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/tag_create_query_resource_object.rb b/lib/klaviyo-api-sdk/models/tag_create_query_resource_object.rb index ce936da..377ddfe 100644 --- a/lib/klaviyo-api-sdk/models/tag_create_query_resource_object.rb +++ b/lib/klaviyo-api-sdk/models/tag_create_query_resource_object.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/tag_create_query_resource_object_attributes.rb b/lib/klaviyo-api-sdk/models/tag_create_query_resource_object_attributes.rb index 6d9ec53..bfbca5b 100644 --- a/lib/klaviyo-api-sdk/models/tag_create_query_resource_object_attributes.rb +++ b/lib/klaviyo-api-sdk/models/tag_create_query_resource_object_attributes.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/tag_create_query_resource_object_relationships.rb b/lib/klaviyo-api-sdk/models/tag_create_query_resource_object_relationships.rb index 1edf3f1..c08f103 100644 --- a/lib/klaviyo-api-sdk/models/tag_create_query_resource_object_relationships.rb +++ b/lib/klaviyo-api-sdk/models/tag_create_query_resource_object_relationships.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/tag_create_query_resource_object_relationships_tag_group.rb b/lib/klaviyo-api-sdk/models/tag_create_query_resource_object_relationships_tag_group.rb index a15cb81..ae063bb 100644 --- a/lib/klaviyo-api-sdk/models/tag_create_query_resource_object_relationships_tag_group.rb +++ b/lib/klaviyo-api-sdk/models/tag_create_query_resource_object_relationships_tag_group.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/tag_create_query_resource_object_relationships_tag_group_data.rb b/lib/klaviyo-api-sdk/models/tag_create_query_resource_object_relationships_tag_group_data.rb index ab29b43..3c28cae 100644 --- a/lib/klaviyo-api-sdk/models/tag_create_query_resource_object_relationships_tag_group_data.rb +++ b/lib/klaviyo-api-sdk/models/tag_create_query_resource_object_relationships_tag_group_data.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/tag_enum.rb b/lib/klaviyo-api-sdk/models/tag_enum.rb index 8fb63a3..aaae1b4 100644 --- a/lib/klaviyo-api-sdk/models/tag_enum.rb +++ b/lib/klaviyo-api-sdk/models/tag_enum.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/tag_flow_op.rb b/lib/klaviyo-api-sdk/models/tag_flow_op.rb index 9a04327..e1fc96e 100644 --- a/lib/klaviyo-api-sdk/models/tag_flow_op.rb +++ b/lib/klaviyo-api-sdk/models/tag_flow_op.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/tag_flow_op_data_inner.rb b/lib/klaviyo-api-sdk/models/tag_flow_op_data_inner.rb index 626d82e..189ba77 100644 --- a/lib/klaviyo-api-sdk/models/tag_flow_op_data_inner.rb +++ b/lib/klaviyo-api-sdk/models/tag_flow_op_data_inner.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/tag_group_create_query.rb b/lib/klaviyo-api-sdk/models/tag_group_create_query.rb index 461d637..2b6c0a8 100644 --- a/lib/klaviyo-api-sdk/models/tag_group_create_query.rb +++ b/lib/klaviyo-api-sdk/models/tag_group_create_query.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/tag_group_create_query_resource_object.rb b/lib/klaviyo-api-sdk/models/tag_group_create_query_resource_object.rb index c676ac4..92baffd 100644 --- a/lib/klaviyo-api-sdk/models/tag_group_create_query_resource_object.rb +++ b/lib/klaviyo-api-sdk/models/tag_group_create_query_resource_object.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/tag_group_create_query_resource_object_attributes.rb b/lib/klaviyo-api-sdk/models/tag_group_create_query_resource_object_attributes.rb index ca4acc5..457203f 100644 --- a/lib/klaviyo-api-sdk/models/tag_group_create_query_resource_object_attributes.rb +++ b/lib/klaviyo-api-sdk/models/tag_group_create_query_resource_object_attributes.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/tag_group_enum.rb b/lib/klaviyo-api-sdk/models/tag_group_enum.rb index 21f3769..ea47e44 100644 --- a/lib/klaviyo-api-sdk/models/tag_group_enum.rb +++ b/lib/klaviyo-api-sdk/models/tag_group_enum.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/tag_group_update_query.rb b/lib/klaviyo-api-sdk/models/tag_group_update_query.rb index f3f7975..642bb4c 100644 --- a/lib/klaviyo-api-sdk/models/tag_group_update_query.rb +++ b/lib/klaviyo-api-sdk/models/tag_group_update_query.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/tag_group_update_query_resource_object.rb b/lib/klaviyo-api-sdk/models/tag_group_update_query_resource_object.rb index da6d707..f3880b2 100644 --- a/lib/klaviyo-api-sdk/models/tag_group_update_query_resource_object.rb +++ b/lib/klaviyo-api-sdk/models/tag_group_update_query_resource_object.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/tag_group_update_query_resource_object_attributes.rb b/lib/klaviyo-api-sdk/models/tag_group_update_query_resource_object_attributes.rb index 57a187a..290d18b 100644 --- a/lib/klaviyo-api-sdk/models/tag_group_update_query_resource_object_attributes.rb +++ b/lib/klaviyo-api-sdk/models/tag_group_update_query_resource_object_attributes.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/tag_list_op.rb b/lib/klaviyo-api-sdk/models/tag_list_op.rb index d10a313..943c7b4 100644 --- a/lib/klaviyo-api-sdk/models/tag_list_op.rb +++ b/lib/klaviyo-api-sdk/models/tag_list_op.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/tag_list_op_data_inner.rb b/lib/klaviyo-api-sdk/models/tag_list_op_data_inner.rb index f139b01..ffb7ab0 100644 --- a/lib/klaviyo-api-sdk/models/tag_list_op_data_inner.rb +++ b/lib/klaviyo-api-sdk/models/tag_list_op_data_inner.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/tag_segment_op.rb b/lib/klaviyo-api-sdk/models/tag_segment_op.rb index b69a328..c771ed0 100644 --- a/lib/klaviyo-api-sdk/models/tag_segment_op.rb +++ b/lib/klaviyo-api-sdk/models/tag_segment_op.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/tag_segment_op_data_inner.rb b/lib/klaviyo-api-sdk/models/tag_segment_op_data_inner.rb index ba9e7e8..a36f1cf 100644 --- a/lib/klaviyo-api-sdk/models/tag_segment_op_data_inner.rb +++ b/lib/klaviyo-api-sdk/models/tag_segment_op_data_inner.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/tag_update_query.rb b/lib/klaviyo-api-sdk/models/tag_update_query.rb index 7cb5f8d..d623d23 100644 --- a/lib/klaviyo-api-sdk/models/tag_update_query.rb +++ b/lib/klaviyo-api-sdk/models/tag_update_query.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/tag_update_query_resource_object.rb b/lib/klaviyo-api-sdk/models/tag_update_query_resource_object.rb index 1464e71..7307c96 100644 --- a/lib/klaviyo-api-sdk/models/tag_update_query_resource_object.rb +++ b/lib/klaviyo-api-sdk/models/tag_update_query_resource_object.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/template_clone_query.rb b/lib/klaviyo-api-sdk/models/template_clone_query.rb index dbd0dae..77ec4cd 100644 --- a/lib/klaviyo-api-sdk/models/template_clone_query.rb +++ b/lib/klaviyo-api-sdk/models/template_clone_query.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/template_clone_query_resource_object.rb b/lib/klaviyo-api-sdk/models/template_clone_query_resource_object.rb index 8d6932b..0e65e03 100644 --- a/lib/klaviyo-api-sdk/models/template_clone_query_resource_object.rb +++ b/lib/klaviyo-api-sdk/models/template_clone_query_resource_object.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/template_clone_query_resource_object_attributes.rb b/lib/klaviyo-api-sdk/models/template_clone_query_resource_object_attributes.rb index 8268b7d..f1b26f9 100644 --- a/lib/klaviyo-api-sdk/models/template_clone_query_resource_object_attributes.rb +++ b/lib/klaviyo-api-sdk/models/template_clone_query_resource_object_attributes.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/template_create_query.rb b/lib/klaviyo-api-sdk/models/template_create_query.rb index 67d404a..cc4ae31 100644 --- a/lib/klaviyo-api-sdk/models/template_create_query.rb +++ b/lib/klaviyo-api-sdk/models/template_create_query.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/template_create_query_resource_object.rb b/lib/klaviyo-api-sdk/models/template_create_query_resource_object.rb index 66c821c..7cc7bc9 100644 --- a/lib/klaviyo-api-sdk/models/template_create_query_resource_object.rb +++ b/lib/klaviyo-api-sdk/models/template_create_query_resource_object.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/template_create_query_resource_object_attributes.rb b/lib/klaviyo-api-sdk/models/template_create_query_resource_object_attributes.rb index 655529f..2bba7b6 100644 --- a/lib/klaviyo-api-sdk/models/template_create_query_resource_object_attributes.rb +++ b/lib/klaviyo-api-sdk/models/template_create_query_resource_object_attributes.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/template_enum.rb b/lib/klaviyo-api-sdk/models/template_enum.rb index c319be2..4655a6c 100644 --- a/lib/klaviyo-api-sdk/models/template_enum.rb +++ b/lib/klaviyo-api-sdk/models/template_enum.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/template_render_query.rb b/lib/klaviyo-api-sdk/models/template_render_query.rb index 3288b6a..aacb9ac 100644 --- a/lib/klaviyo-api-sdk/models/template_render_query.rb +++ b/lib/klaviyo-api-sdk/models/template_render_query.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/template_render_query_resource_object.rb b/lib/klaviyo-api-sdk/models/template_render_query_resource_object.rb index 77f8c42..ea3f1cb 100644 --- a/lib/klaviyo-api-sdk/models/template_render_query_resource_object.rb +++ b/lib/klaviyo-api-sdk/models/template_render_query_resource_object.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/template_render_query_resource_object_attributes.rb b/lib/klaviyo-api-sdk/models/template_render_query_resource_object_attributes.rb index 7bf65d6..8efee95 100644 --- a/lib/klaviyo-api-sdk/models/template_render_query_resource_object_attributes.rb +++ b/lib/klaviyo-api-sdk/models/template_render_query_resource_object_attributes.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/template_update_query.rb b/lib/klaviyo-api-sdk/models/template_update_query.rb index c9366c9..96e171d 100644 --- a/lib/klaviyo-api-sdk/models/template_update_query.rb +++ b/lib/klaviyo-api-sdk/models/template_update_query.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/template_update_query_resource_object.rb b/lib/klaviyo-api-sdk/models/template_update_query_resource_object.rb index 844e7f8..2ecf01c 100644 --- a/lib/klaviyo-api-sdk/models/template_update_query_resource_object.rb +++ b/lib/klaviyo-api-sdk/models/template_update_query_resource_object.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/template_update_query_resource_object_attributes.rb b/lib/klaviyo-api-sdk/models/template_update_query_resource_object_attributes.rb index a73602c..e412ee4 100644 --- a/lib/klaviyo-api-sdk/models/template_update_query_resource_object_attributes.rb +++ b/lib/klaviyo-api-sdk/models/template_update_query_resource_object_attributes.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/throttled_schedule_options.rb b/lib/klaviyo-api-sdk/models/throttled_schedule_options.rb index 1a08516..3f38d41 100644 --- a/lib/klaviyo-api-sdk/models/throttled_schedule_options.rb +++ b/lib/klaviyo-api-sdk/models/throttled_schedule_options.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/timeframe.rb b/lib/klaviyo-api-sdk/models/timeframe.rb index 2caf1d9..c2c7073 100644 --- a/lib/klaviyo-api-sdk/models/timeframe.rb +++ b/lib/klaviyo-api-sdk/models/timeframe.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/union_positive_numeric_filter.rb b/lib/klaviyo-api-sdk/models/union_positive_numeric_filter.rb index 8bde1dc..e5c8191 100644 --- a/lib/klaviyo-api-sdk/models/union_positive_numeric_filter.rb +++ b/lib/klaviyo-api-sdk/models/union_positive_numeric_filter.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/union_positive_numeric_filter_operator.rb b/lib/klaviyo-api-sdk/models/union_positive_numeric_filter_operator.rb index cdce511..cee7549 100644 --- a/lib/klaviyo-api-sdk/models/union_positive_numeric_filter_operator.rb +++ b/lib/klaviyo-api-sdk/models/union_positive_numeric_filter_operator.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/unsubscribed_enum.rb b/lib/klaviyo-api-sdk/models/unsubscribed_enum.rb index e82a4ec..02ec6b4 100644 --- a/lib/klaviyo-api-sdk/models/unsubscribed_enum.rb +++ b/lib/klaviyo-api-sdk/models/unsubscribed_enum.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/utm_params_sub_object.rb b/lib/klaviyo-api-sdk/models/utm_params_sub_object.rb index 0bf3aa3..bc35779 100644 --- a/lib/klaviyo-api-sdk/models/utm_params_sub_object.rb +++ b/lib/klaviyo-api-sdk/models/utm_params_sub_object.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 diff --git a/lib/klaviyo-api-sdk/models/webhook_create_query.rb b/lib/klaviyo-api-sdk/models/webhook_create_query.rb new file mode 100644 index 0000000..ca05ebb --- /dev/null +++ b/lib/klaviyo-api-sdk/models/webhook_create_query.rb @@ -0,0 +1,224 @@ +=begin +#Klaviyo API + +#The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. + +The version of the OpenAPI document: 2024-07-15 +Contact: developers@klaviyo.com +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.2.1 + +=end + +require 'date' +require 'time' + +module KlaviyoAPI + class WebhookCreateQuery + attr_accessor :data + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'data' => :'data' + } + end + + # Returns all the JSON keys this model knows about + def self.acceptable_attributes + attribute_map.values + end + + # Attribute type mapping. + def self.openapi_types + { + :'data' => :'WebhookCreateQueryResourceObject' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + ]) + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `KlaviyoAPI::WebhookCreateQuery` initialize method" + end + + # check to see if the attribute exists and convert string to symbol for hash key + attributes = attributes.each_with_object({}) { |(k, v), h| + if (!self.class.attribute_map.key?(k.to_sym)) + fail ArgumentError, "`#{k}` is not a valid attribute in `KlaviyoAPI::WebhookCreateQuery`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect + end + h[k.to_sym] = v + } + + if attributes.key?(:'data') + self.data = attributes[:'data'] + end + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properties with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @data.nil? + invalid_properties.push('invalid value for "data", data cannot be nil.') + end + + invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @data.nil? + true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + data == o.data + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Integer] Hash code + def hash + [data].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def self.build_from_hash(attributes) + new.build_from_hash(attributes) + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) + self.class.openapi_types.each_pair do |key, type| + if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) + self.send("#{key}=", nil) + elsif type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :Time + Time.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :Boolean + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + # models (e.g. Pet) or oneOf + klass = KlaviyoAPI.const_get(type) + klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map { |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/lib/klaviyo-api-sdk/models/webhook_create_query_resource_object.rb b/lib/klaviyo-api-sdk/models/webhook_create_query_resource_object.rb new file mode 100644 index 0000000..a4384a9 --- /dev/null +++ b/lib/klaviyo-api-sdk/models/webhook_create_query_resource_object.rb @@ -0,0 +1,247 @@ +=begin +#Klaviyo API + +#The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. + +The version of the OpenAPI document: 2024-07-15 +Contact: developers@klaviyo.com +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.2.1 + +=end + +require 'date' +require 'time' + +module KlaviyoAPI + class WebhookCreateQueryResourceObject + attr_accessor :type + + attr_accessor :attributes + + attr_accessor :relationships + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'type' => :'type', + :'attributes' => :'attributes', + :'relationships' => :'relationships' + } + end + + # Returns all the JSON keys this model knows about + def self.acceptable_attributes + attribute_map.values + end + + # Attribute type mapping. + def self.openapi_types + { + :'type' => :'WebhookEnum', + :'attributes' => :'WebhookCreateQueryResourceObjectAttributes', + :'relationships' => :'WebhookCreateQueryResourceObjectRelationships' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + ]) + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `KlaviyoAPI::WebhookCreateQueryResourceObject` initialize method" + end + + # check to see if the attribute exists and convert string to symbol for hash key + attributes = attributes.each_with_object({}) { |(k, v), h| + if (!self.class.attribute_map.key?(k.to_sym)) + fail ArgumentError, "`#{k}` is not a valid attribute in `KlaviyoAPI::WebhookCreateQueryResourceObject`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect + end + h[k.to_sym] = v + } + + if attributes.key?(:'type') + self.type = attributes[:'type'] + end + + if attributes.key?(:'attributes') + self.attributes = attributes[:'attributes'] + end + + if attributes.key?(:'relationships') + self.relationships = attributes[:'relationships'] + end + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properties with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @type.nil? + invalid_properties.push('invalid value for "type", type cannot be nil.') + end + + if @attributes.nil? + invalid_properties.push('invalid value for "attributes", attributes cannot be nil.') + end + + invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @type.nil? + return false if @attributes.nil? + true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + type == o.type && + attributes == o.attributes && + relationships == o.relationships + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Integer] Hash code + def hash + [type, attributes, relationships].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def self.build_from_hash(attributes) + new.build_from_hash(attributes) + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) + self.class.openapi_types.each_pair do |key, type| + if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) + self.send("#{key}=", nil) + elsif type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :Time + Time.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :Boolean + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + # models (e.g. Pet) or oneOf + klass = KlaviyoAPI.const_get(type) + klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map { |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/lib/klaviyo-api-sdk/models/webhook_create_query_resource_object_attributes.rb b/lib/klaviyo-api-sdk/models/webhook_create_query_resource_object_attributes.rb new file mode 100644 index 0000000..fd1cae9 --- /dev/null +++ b/lib/klaviyo-api-sdk/models/webhook_create_query_resource_object_attributes.rb @@ -0,0 +1,266 @@ +=begin +#Klaviyo API + +#The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. + +The version of the OpenAPI document: 2024-07-15 +Contact: developers@klaviyo.com +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.2.1 + +=end + +require 'date' +require 'time' + +module KlaviyoAPI + class WebhookCreateQueryResourceObjectAttributes + # A name for the webhook. + attr_accessor :name + + # A description for the webhook. + attr_accessor :description + + # A url to send webhook calls to. Must be https. + attr_accessor :endpoint_url + + # A secret key, that will be used for webhook request signing. + attr_accessor :secret_key + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'name' => :'name', + :'description' => :'description', + :'endpoint_url' => :'endpoint_url', + :'secret_key' => :'secret_key' + } + end + + # Returns all the JSON keys this model knows about + def self.acceptable_attributes + attribute_map.values + end + + # Attribute type mapping. + def self.openapi_types + { + :'name' => :'String', + :'description' => :'String', + :'endpoint_url' => :'String', + :'secret_key' => :'String' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + :'description', + ]) + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `KlaviyoAPI::WebhookCreateQueryResourceObjectAttributes` initialize method" + end + + # check to see if the attribute exists and convert string to symbol for hash key + attributes = attributes.each_with_object({}) { |(k, v), h| + if (!self.class.attribute_map.key?(k.to_sym)) + fail ArgumentError, "`#{k}` is not a valid attribute in `KlaviyoAPI::WebhookCreateQueryResourceObjectAttributes`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect + end + h[k.to_sym] = v + } + + if attributes.key?(:'name') + self.name = attributes[:'name'] + end + + if attributes.key?(:'description') + self.description = attributes[:'description'] + end + + if attributes.key?(:'endpoint_url') + self.endpoint_url = attributes[:'endpoint_url'] + end + + if attributes.key?(:'secret_key') + self.secret_key = attributes[:'secret_key'] + end + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properties with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @name.nil? + invalid_properties.push('invalid value for "name", name cannot be nil.') + end + + if @endpoint_url.nil? + invalid_properties.push('invalid value for "endpoint_url", endpoint_url cannot be nil.') + end + + if @secret_key.nil? + invalid_properties.push('invalid value for "secret_key", secret_key cannot be nil.') + end + + invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @name.nil? + return false if @endpoint_url.nil? + return false if @secret_key.nil? + true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + name == o.name && + description == o.description && + endpoint_url == o.endpoint_url && + secret_key == o.secret_key + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Integer] Hash code + def hash + [name, description, endpoint_url, secret_key].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def self.build_from_hash(attributes) + new.build_from_hash(attributes) + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) + self.class.openapi_types.each_pair do |key, type| + if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) + self.send("#{key}=", nil) + elsif type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :Time + Time.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :Boolean + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + # models (e.g. Pet) or oneOf + klass = KlaviyoAPI.const_get(type) + klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map { |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/lib/klaviyo-api-sdk/models/webhook_create_query_resource_object_relationships.rb b/lib/klaviyo-api-sdk/models/webhook_create_query_resource_object_relationships.rb new file mode 100644 index 0000000..1978e03 --- /dev/null +++ b/lib/klaviyo-api-sdk/models/webhook_create_query_resource_object_relationships.rb @@ -0,0 +1,219 @@ +=begin +#Klaviyo API + +#The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. + +The version of the OpenAPI document: 2024-07-15 +Contact: developers@klaviyo.com +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.2.1 + +=end + +require 'date' +require 'time' + +module KlaviyoAPI + class WebhookCreateQueryResourceObjectRelationships + attr_accessor :webhook_topics + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'webhook_topics' => :'webhook-topics' + } + end + + # Returns all the JSON keys this model knows about + def self.acceptable_attributes + attribute_map.values + end + + # Attribute type mapping. + def self.openapi_types + { + :'webhook_topics' => :'WebhookCreateQueryResourceObjectRelationshipsWebhookTopics' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + ]) + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `KlaviyoAPI::WebhookCreateQueryResourceObjectRelationships` initialize method" + end + + # check to see if the attribute exists and convert string to symbol for hash key + attributes = attributes.each_with_object({}) { |(k, v), h| + if (!self.class.attribute_map.key?(k.to_sym)) + fail ArgumentError, "`#{k}` is not a valid attribute in `KlaviyoAPI::WebhookCreateQueryResourceObjectRelationships`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect + end + h[k.to_sym] = v + } + + if attributes.key?(:'webhook_topics') + self.webhook_topics = attributes[:'webhook_topics'] + end + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properties with the reasons + def list_invalid_properties + invalid_properties = Array.new + invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + webhook_topics == o.webhook_topics + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Integer] Hash code + def hash + [webhook_topics].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def self.build_from_hash(attributes) + new.build_from_hash(attributes) + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) + self.class.openapi_types.each_pair do |key, type| + if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) + self.send("#{key}=", nil) + elsif type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :Time + Time.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :Boolean + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + # models (e.g. Pet) or oneOf + klass = KlaviyoAPI.const_get(type) + klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map { |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/lib/klaviyo-api-sdk/models/webhook_create_query_resource_object_relationships_webhook_topics.rb b/lib/klaviyo-api-sdk/models/webhook_create_query_resource_object_relationships_webhook_topics.rb new file mode 100644 index 0000000..ced5563 --- /dev/null +++ b/lib/klaviyo-api-sdk/models/webhook_create_query_resource_object_relationships_webhook_topics.rb @@ -0,0 +1,221 @@ +=begin +#Klaviyo API + +#The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. + +The version of the OpenAPI document: 2024-07-15 +Contact: developers@klaviyo.com +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.2.1 + +=end + +require 'date' +require 'time' + +module KlaviyoAPI + class WebhookCreateQueryResourceObjectRelationshipsWebhookTopics + attr_accessor :data + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'data' => :'data' + } + end + + # Returns all the JSON keys this model knows about + def self.acceptable_attributes + attribute_map.values + end + + # Attribute type mapping. + def self.openapi_types + { + :'data' => :'Array' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + ]) + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `KlaviyoAPI::WebhookCreateQueryResourceObjectRelationshipsWebhookTopics` initialize method" + end + + # check to see if the attribute exists and convert string to symbol for hash key + attributes = attributes.each_with_object({}) { |(k, v), h| + if (!self.class.attribute_map.key?(k.to_sym)) + fail ArgumentError, "`#{k}` is not a valid attribute in `KlaviyoAPI::WebhookCreateQueryResourceObjectRelationshipsWebhookTopics`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect + end + h[k.to_sym] = v + } + + if attributes.key?(:'data') + if (value = attributes[:'data']).is_a?(Array) + self.data = value + end + end + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properties with the reasons + def list_invalid_properties + invalid_properties = Array.new + invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + data == o.data + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Integer] Hash code + def hash + [data].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def self.build_from_hash(attributes) + new.build_from_hash(attributes) + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) + self.class.openapi_types.each_pair do |key, type| + if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) + self.send("#{key}=", nil) + elsif type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :Time + Time.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :Boolean + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + # models (e.g. Pet) or oneOf + klass = KlaviyoAPI.const_get(type) + klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map { |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/lib/klaviyo-api-sdk/models/webhook_create_query_resource_object_relationships_webhook_topics_data_inner.rb b/lib/klaviyo-api-sdk/models/webhook_create_query_resource_object_relationships_webhook_topics_data_inner.rb new file mode 100644 index 0000000..915e86e --- /dev/null +++ b/lib/klaviyo-api-sdk/models/webhook_create_query_resource_object_relationships_webhook_topics_data_inner.rb @@ -0,0 +1,239 @@ +=begin +#Klaviyo API + +#The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. + +The version of the OpenAPI document: 2024-07-15 +Contact: developers@klaviyo.com +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.2.1 + +=end + +require 'date' +require 'time' + +module KlaviyoAPI + class WebhookCreateQueryResourceObjectRelationshipsWebhookTopicsDataInner + attr_accessor :type + + # A list of topics to subscribe to. + attr_accessor :id + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'type' => :'type', + :'id' => :'id' + } + end + + # Returns all the JSON keys this model knows about + def self.acceptable_attributes + attribute_map.values + end + + # Attribute type mapping. + def self.openapi_types + { + :'type' => :'WebhookTopicEnum', + :'id' => :'String' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + ]) + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `KlaviyoAPI::WebhookCreateQueryResourceObjectRelationshipsWebhookTopicsDataInner` initialize method" + end + + # check to see if the attribute exists and convert string to symbol for hash key + attributes = attributes.each_with_object({}) { |(k, v), h| + if (!self.class.attribute_map.key?(k.to_sym)) + fail ArgumentError, "`#{k}` is not a valid attribute in `KlaviyoAPI::WebhookCreateQueryResourceObjectRelationshipsWebhookTopicsDataInner`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect + end + h[k.to_sym] = v + } + + if attributes.key?(:'type') + self.type = attributes[:'type'] + end + + if attributes.key?(:'id') + self.id = attributes[:'id'] + end + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properties with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @type.nil? + invalid_properties.push('invalid value for "type", type cannot be nil.') + end + + if @id.nil? + invalid_properties.push('invalid value for "id", id cannot be nil.') + end + + invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @type.nil? + return false if @id.nil? + true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + type == o.type && + id == o.id + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Integer] Hash code + def hash + [type, id].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def self.build_from_hash(attributes) + new.build_from_hash(attributes) + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) + self.class.openapi_types.each_pair do |key, type| + if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) + self.send("#{key}=", nil) + elsif type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :Time + Time.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :Boolean + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + # models (e.g. Pet) or oneOf + klass = KlaviyoAPI.const_get(type) + klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map { |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/lib/klaviyo-api-sdk/models/webhook_enum.rb b/lib/klaviyo-api-sdk/models/webhook_enum.rb new file mode 100644 index 0000000..c14fef4 --- /dev/null +++ b/lib/klaviyo-api-sdk/models/webhook_enum.rb @@ -0,0 +1,36 @@ +=begin +#Klaviyo API + +#The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. + +The version of the OpenAPI document: 2024-07-15 +Contact: developers@klaviyo.com +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.2.1 + +=end + +require 'date' +require 'time' + +module KlaviyoAPI + class WebhookEnum + WEBHOOK = "webhook".freeze + + # Builds the enum from string + # @param [String] The enum value in the form of the string + # @return [String] The enum value + def self.build_from_hash(value) + new.build_from_hash(value) + end + + # Builds the enum from string + # @param [String] The enum value in the form of the string + # @return [String] The enum value + def build_from_hash(value) + constantValues = WebhookEnum.constants.select { |c| WebhookEnum::const_get(c) == value } + raise "Invalid ENUM value #{value} for class #WebhookEnum" if constantValues.empty? + value + end + end +end diff --git a/lib/klaviyo-api-sdk/models/webhook_partial_update_query.rb b/lib/klaviyo-api-sdk/models/webhook_partial_update_query.rb new file mode 100644 index 0000000..c4d7045 --- /dev/null +++ b/lib/klaviyo-api-sdk/models/webhook_partial_update_query.rb @@ -0,0 +1,224 @@ +=begin +#Klaviyo API + +#The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. + +The version of the OpenAPI document: 2024-07-15 +Contact: developers@klaviyo.com +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.2.1 + +=end + +require 'date' +require 'time' + +module KlaviyoAPI + class WebhookPartialUpdateQuery + attr_accessor :data + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'data' => :'data' + } + end + + # Returns all the JSON keys this model knows about + def self.acceptable_attributes + attribute_map.values + end + + # Attribute type mapping. + def self.openapi_types + { + :'data' => :'WebhookPartialUpdateQueryResourceObject' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + ]) + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `KlaviyoAPI::WebhookPartialUpdateQuery` initialize method" + end + + # check to see if the attribute exists and convert string to symbol for hash key + attributes = attributes.each_with_object({}) { |(k, v), h| + if (!self.class.attribute_map.key?(k.to_sym)) + fail ArgumentError, "`#{k}` is not a valid attribute in `KlaviyoAPI::WebhookPartialUpdateQuery`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect + end + h[k.to_sym] = v + } + + if attributes.key?(:'data') + self.data = attributes[:'data'] + end + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properties with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @data.nil? + invalid_properties.push('invalid value for "data", data cannot be nil.') + end + + invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @data.nil? + true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + data == o.data + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Integer] Hash code + def hash + [data].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def self.build_from_hash(attributes) + new.build_from_hash(attributes) + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) + self.class.openapi_types.each_pair do |key, type| + if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) + self.send("#{key}=", nil) + elsif type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :Time + Time.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :Boolean + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + # models (e.g. Pet) or oneOf + klass = KlaviyoAPI.const_get(type) + klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map { |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/lib/klaviyo-api-sdk/models/webhook_partial_update_query_resource_object.rb b/lib/klaviyo-api-sdk/models/webhook_partial_update_query_resource_object.rb new file mode 100644 index 0000000..cb57727 --- /dev/null +++ b/lib/klaviyo-api-sdk/models/webhook_partial_update_query_resource_object.rb @@ -0,0 +1,262 @@ +=begin +#Klaviyo API + +#The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. + +The version of the OpenAPI document: 2024-07-15 +Contact: developers@klaviyo.com +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.2.1 + +=end + +require 'date' +require 'time' + +module KlaviyoAPI + class WebhookPartialUpdateQueryResourceObject + attr_accessor :type + + # The ID of the webhook. + attr_accessor :id + + attr_accessor :attributes + + attr_accessor :relationships + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'type' => :'type', + :'id' => :'id', + :'attributes' => :'attributes', + :'relationships' => :'relationships' + } + end + + # Returns all the JSON keys this model knows about + def self.acceptable_attributes + attribute_map.values + end + + # Attribute type mapping. + def self.openapi_types + { + :'type' => :'WebhookEnum', + :'id' => :'String', + :'attributes' => :'WebhookPartialUpdateQueryResourceObjectAttributes', + :'relationships' => :'WebhookCreateQueryResourceObjectRelationships' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + ]) + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `KlaviyoAPI::WebhookPartialUpdateQueryResourceObject` initialize method" + end + + # check to see if the attribute exists and convert string to symbol for hash key + attributes = attributes.each_with_object({}) { |(k, v), h| + if (!self.class.attribute_map.key?(k.to_sym)) + fail ArgumentError, "`#{k}` is not a valid attribute in `KlaviyoAPI::WebhookPartialUpdateQueryResourceObject`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect + end + h[k.to_sym] = v + } + + if attributes.key?(:'type') + self.type = attributes[:'type'] + end + + if attributes.key?(:'id') + self.id = attributes[:'id'] + end + + if attributes.key?(:'attributes') + self.attributes = attributes[:'attributes'] + end + + if attributes.key?(:'relationships') + self.relationships = attributes[:'relationships'] + end + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properties with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @type.nil? + invalid_properties.push('invalid value for "type", type cannot be nil.') + end + + if @id.nil? + invalid_properties.push('invalid value for "id", id cannot be nil.') + end + + if @attributes.nil? + invalid_properties.push('invalid value for "attributes", attributes cannot be nil.') + end + + invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @type.nil? + return false if @id.nil? + return false if @attributes.nil? + true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + type == o.type && + id == o.id && + attributes == o.attributes && + relationships == o.relationships + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Integer] Hash code + def hash + [type, id, attributes, relationships].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def self.build_from_hash(attributes) + new.build_from_hash(attributes) + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) + self.class.openapi_types.each_pair do |key, type| + if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) + self.send("#{key}=", nil) + elsif type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :Time + Time.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :Boolean + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + # models (e.g. Pet) or oneOf + klass = KlaviyoAPI.const_get(type) + klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map { |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/lib/klaviyo-api-sdk/models/webhook_partial_update_query_resource_object_attributes.rb b/lib/klaviyo-api-sdk/models/webhook_partial_update_query_resource_object_attributes.rb new file mode 100644 index 0000000..aba0b76 --- /dev/null +++ b/lib/klaviyo-api-sdk/models/webhook_partial_update_query_resource_object_attributes.rb @@ -0,0 +1,265 @@ +=begin +#Klaviyo API + +#The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. + +The version of the OpenAPI document: 2024-07-15 +Contact: developers@klaviyo.com +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.2.1 + +=end + +require 'date' +require 'time' + +module KlaviyoAPI + class WebhookPartialUpdateQueryResourceObjectAttributes + # A name for the webhook. + attr_accessor :name + + # A description for the webhook. + attr_accessor :description + + # A url to send webhook calls to. Must be https. + attr_accessor :endpoint_url + + # A secret key, that will be used for webhook request signing. + attr_accessor :secret_key + + # Is the webhook enabled. + attr_accessor :enabled + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'name' => :'name', + :'description' => :'description', + :'endpoint_url' => :'endpoint_url', + :'secret_key' => :'secret_key', + :'enabled' => :'enabled' + } + end + + # Returns all the JSON keys this model knows about + def self.acceptable_attributes + attribute_map.values + end + + # Attribute type mapping. + def self.openapi_types + { + :'name' => :'String', + :'description' => :'String', + :'endpoint_url' => :'String', + :'secret_key' => :'String', + :'enabled' => :'Boolean' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + :'name', + :'description', + :'endpoint_url', + :'secret_key', + :'enabled' + ]) + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `KlaviyoAPI::WebhookPartialUpdateQueryResourceObjectAttributes` initialize method" + end + + # check to see if the attribute exists and convert string to symbol for hash key + attributes = attributes.each_with_object({}) { |(k, v), h| + if (!self.class.attribute_map.key?(k.to_sym)) + fail ArgumentError, "`#{k}` is not a valid attribute in `KlaviyoAPI::WebhookPartialUpdateQueryResourceObjectAttributes`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect + end + h[k.to_sym] = v + } + + if attributes.key?(:'name') + self.name = attributes[:'name'] + end + + if attributes.key?(:'description') + self.description = attributes[:'description'] + end + + if attributes.key?(:'endpoint_url') + self.endpoint_url = attributes[:'endpoint_url'] + end + + if attributes.key?(:'secret_key') + self.secret_key = attributes[:'secret_key'] + end + + if attributes.key?(:'enabled') + self.enabled = attributes[:'enabled'] + end + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properties with the reasons + def list_invalid_properties + invalid_properties = Array.new + invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + name == o.name && + description == o.description && + endpoint_url == o.endpoint_url && + secret_key == o.secret_key && + enabled == o.enabled + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Integer] Hash code + def hash + [name, description, endpoint_url, secret_key, enabled].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def self.build_from_hash(attributes) + new.build_from_hash(attributes) + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) + self.class.openapi_types.each_pair do |key, type| + if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) + self.send("#{key}=", nil) + elsif type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :Time + Time.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :Boolean + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + # models (e.g. Pet) or oneOf + klass = KlaviyoAPI.const_get(type) + klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map { |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/lib/klaviyo-api-sdk/models/webhook_topic_enum.rb b/lib/klaviyo-api-sdk/models/webhook_topic_enum.rb new file mode 100644 index 0000000..1bd80da --- /dev/null +++ b/lib/klaviyo-api-sdk/models/webhook_topic_enum.rb @@ -0,0 +1,36 @@ +=begin +#Klaviyo API + +#The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. + +The version of the OpenAPI document: 2024-07-15 +Contact: developers@klaviyo.com +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.2.1 + +=end + +require 'date' +require 'time' + +module KlaviyoAPI + class WebhookTopicEnum + WEBHOOK_TOPIC = "webhook-topic".freeze + + # Builds the enum from string + # @param [String] The enum value in the form of the string + # @return [String] The enum value + def self.build_from_hash(value) + new.build_from_hash(value) + end + + # Builds the enum from string + # @param [String] The enum value in the form of the string + # @return [String] The enum value + def build_from_hash(value) + constantValues = WebhookTopicEnum.constants.select { |c| WebhookTopicEnum::const_get(c) == value } + raise "Invalid ENUM value #{value} for class #WebhookTopicEnum" if constantValues.empty? + value + end + end +end diff --git a/lib/klaviyo-api-sdk/version.rb b/lib/klaviyo-api-sdk/version.rb index 5f652a9..3d04f1c 100644 --- a/lib/klaviyo-api-sdk/version.rb +++ b/lib/klaviyo-api-sdk/version.rb @@ -3,7 +3,7 @@ #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. -The version of the OpenAPI document: 2024-06-15 +The version of the OpenAPI document: 2024-07-15 Contact: developers@klaviyo.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1