klaviyo-api-sdk 10.0.0 → 11.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
 - data/CHANGELOG.md +11 -0
 - data/README.md +382 -136
 - data/klaviyo-api-sdk.gemspec +1 -1
 - data/lib/klaviyo-api-sdk/api/accounts_api.rb +2 -2
 - data/lib/klaviyo-api-sdk/api/campaigns_api.rb +41 -23
 - data/lib/klaviyo-api-sdk/api/catalogs_api.rb +82 -76
 - data/lib/klaviyo-api-sdk/api/coupons_api.rb +111 -93
 - data/lib/klaviyo-api-sdk/api/data_privacy_api.rb +1 -1
 - data/lib/klaviyo-api-sdk/api/events_api.rb +128 -116
 - data/lib/klaviyo-api-sdk/api/flows_api.rb +199 -169
 - data/lib/klaviyo-api-sdk/api/forms_api.rb +19 -7
 - data/lib/klaviyo-api-sdk/api/images_api.rb +5 -5
 - data/lib/klaviyo-api-sdk/api/lists_api.rb +391 -337
 - data/lib/klaviyo-api-sdk/api/metrics_api.rb +151 -115
 - data/lib/klaviyo-api-sdk/api/profiles_api.rb +170 -119
 - data/lib/klaviyo-api-sdk/api/reporting_api.rb +49 -7
 - data/lib/klaviyo-api-sdk/api/reviews_api.rb +2 -2
 - data/lib/klaviyo-api-sdk/api/segments_api.rb +170 -146
 - data/lib/klaviyo-api-sdk/api/tags_api.rb +108 -42
 - data/lib/klaviyo-api-sdk/api/templates_api.rb +12 -12
 - data/lib/klaviyo-api-sdk/api/tracking_settings_api.rb +3 -3
 - data/lib/klaviyo-api-sdk/api/webhooks_api.rb +7 -7
 - data/lib/klaviyo-api-sdk/api_client.rb +1 -1
 - data/lib/klaviyo-api-sdk/configuration.rb +18 -9
 - data/lib/klaviyo-api-sdk/models/campaign_send_job_partial_update_query_resource_object_attributes.rb +34 -0
 - data/lib/klaviyo-api-sdk/models/device_metadata.rb +2 -2
 - data/lib/klaviyo-api-sdk/models/email_unsubscription_parameters.rb +224 -0
 - data/lib/klaviyo-api-sdk/models/html_block_data.rb +4 -14
 - data/lib/klaviyo-api-sdk/models/profile_subscription_delete_query_resource_object_attributes.rb +14 -5
 - data/lib/klaviyo-api-sdk/models/sms_subscription_parameters.rb +13 -4
 - data/lib/klaviyo-api-sdk/models/sms_unsubscription_parameters.rb +228 -0
 - data/lib/klaviyo-api-sdk/models/template_create_query_resource_object_attributes.rb +1 -1
 - data/lib/klaviyo-api-sdk/models/unsubscription_channels.rb +228 -0
 - data/lib/klaviyo-api-sdk/models/unsubscription_parameters.rb +259 -0
 - data/lib/klaviyo-api-sdk.rb +36 -19
 - metadata +6 -2
 
| 
         @@ -19,40 +19,43 @@ module KlaviyoAPI 
     | 
|
| 
       19 
19 
     | 
    
         
             
                def initialize(api_client = ApiClient.default)
         
     | 
| 
       20 
20 
     | 
    
         
             
                  @api_client = api_client
         
     | 
| 
       21 
21 
     | 
    
         
             
                end
         
     | 
| 
       22 
     | 
    
         
            -
                # Add  
     | 
| 
      
 22 
     | 
    
         
            +
                # Add Categories to Catalog Item
         
     | 
| 
       23 
23 
     | 
    
         
             
                # Create a new catalog category relationship for the given item ID.<br><br>*Rate limits*:<br>Burst: `75/s`<br>Steady: `700/m`  **Scopes:** `catalogs:write`
         
     | 
| 
       24 
24 
     | 
    
         
             
                # @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`.
         
     | 
| 
       25 
25 
     | 
    
         
             
                # @param catalog_item_category_op [CatalogItemCategoryOp] 
         
     | 
| 
       26 
26 
     | 
    
         
             
                # @param [Hash] opts the optional parameters
         
     | 
| 
       27 
27 
     | 
    
         
             
                # @return [nil]
         
     | 
| 
       28 
     | 
    
         
            -
                def  
     | 
| 
       29 
     | 
    
         
            -
                   
     | 
| 
      
 28 
     | 
    
         
            +
                def add_categories_to_catalog_item(id, catalog_item_category_op, opts = {})
         
     | 
| 
      
 29 
     | 
    
         
            +
                  add_categories_to_catalog_item_with_http_info(id, catalog_item_category_op, opts)
         
     | 
| 
       30 
30 
     | 
    
         
             
                  nil
         
     | 
| 
       31 
31 
     | 
    
         
             
                end
         
     | 
| 
       32 
32 
     | 
    
         | 
| 
       33 
     | 
    
         
            -
                # alias of ` 
     | 
| 
       34 
     | 
    
         
            -
                alias  
     | 
| 
      
 33 
     | 
    
         
            +
                # alias of `add_categories_to_catalog_item`
         
     | 
| 
      
 34 
     | 
    
         
            +
                alias add_category_to_catalog_item add_categories_to_catalog_item
         
     | 
| 
       35 
35 
     | 
    
         | 
| 
       36 
     | 
    
         
            -
                # alias of ` 
     | 
| 
       37 
     | 
    
         
            -
                alias create_catalog_item_relationships_category  
     | 
| 
      
 36 
     | 
    
         
            +
                # alias of `add_categories_to_catalog_item`
         
     | 
| 
      
 37 
     | 
    
         
            +
                alias create_catalog_item_relationships_category add_categories_to_catalog_item
         
     | 
| 
       38 
38 
     | 
    
         | 
| 
       39 
     | 
    
         
            -
                #  
     | 
| 
      
 39 
     | 
    
         
            +
                # alias of `add_categories_to_catalog_item`
         
     | 
| 
      
 40 
     | 
    
         
            +
                alias create_catalog_item_relationships_categories add_categories_to_catalog_item
         
     | 
| 
      
 41 
     | 
    
         
            +
             
     | 
| 
      
 42 
     | 
    
         
            +
                # Add Categories to Catalog Item
         
     | 
| 
       40 
43 
     | 
    
         
             
                # Create a new catalog category relationship for the given item ID.<br><br>*Rate limits*:<br>Burst: `75/s`<br>Steady: `700/m`  **Scopes:** `catalogs:write`
         
     | 
| 
       41 
44 
     | 
    
         
             
                # @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`.
         
     | 
| 
       42 
45 
     | 
    
         
             
                # @param catalog_item_category_op [CatalogItemCategoryOp] 
         
     | 
| 
       43 
46 
     | 
    
         
             
                # @param [Hash] opts the optional parameters
         
     | 
| 
       44 
47 
     | 
    
         
             
                # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
         
     | 
| 
       45 
     | 
    
         
            -
                def  
     | 
| 
      
 48 
     | 
    
         
            +
                def add_categories_to_catalog_item_with_http_info(id, catalog_item_category_op, opts = {})
         
     | 
| 
       46 
49 
     | 
    
         
             
                  if @api_client.config.debugging
         
     | 
| 
       47 
     | 
    
         
            -
                    @api_client.config.logger.debug 'Calling API: CatalogsApi. 
     | 
| 
      
 50 
     | 
    
         
            +
                    @api_client.config.logger.debug 'Calling API: CatalogsApi.add_categories_to_catalog_item ...'
         
     | 
| 
       48 
51 
     | 
    
         
             
                  end
         
     | 
| 
       49 
52 
     | 
    
         
             
                  # verify the required parameter 'id' is set
         
     | 
| 
       50 
53 
     | 
    
         
             
                  if @api_client.config.client_side_validation && id.nil?
         
     | 
| 
       51 
     | 
    
         
            -
                    fail ArgumentError, "Missing the required parameter 'id' when calling CatalogsApi. 
     | 
| 
      
 54 
     | 
    
         
            +
                    fail ArgumentError, "Missing the required parameter 'id' when calling CatalogsApi.add_categories_to_catalog_item"
         
     | 
| 
       52 
55 
     | 
    
         
             
                  end
         
     | 
| 
       53 
56 
     | 
    
         
             
                  # verify the required parameter 'catalog_item_category_op' is set
         
     | 
| 
       54 
57 
     | 
    
         
             
                  if @api_client.config.client_side_validation && catalog_item_category_op.nil?
         
     | 
| 
       55 
     | 
    
         
            -
                    fail ArgumentError, "Missing the required parameter 'catalog_item_category_op' when calling CatalogsApi. 
     | 
| 
      
 58 
     | 
    
         
            +
                    fail ArgumentError, "Missing the required parameter 'catalog_item_category_op' when calling CatalogsApi.add_categories_to_catalog_item"
         
     | 
| 
       56 
59 
     | 
    
         
             
                  end
         
     | 
| 
       57 
60 
     | 
    
         
             
                  # resource path
         
     | 
| 
       58 
61 
     | 
    
         
             
                  local_var_path = '/api/catalog-items/{id}/relationships/categories'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
         
     | 
| 
         @@ -82,10 +85,10 @@ module KlaviyoAPI 
     | 
|
| 
       82 
85 
     | 
    
         
             
                  return_type = opts[:debug_return_type]
         
     | 
| 
       83 
86 
     | 
    
         | 
| 
       84 
87 
     | 
    
         
             
                  # auth_names
         
     | 
| 
       85 
     | 
    
         
            -
                  auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key']
         
     | 
| 
      
 88 
     | 
    
         
            +
                  auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key', 'OAuth']
         
     | 
| 
       86 
89 
     | 
    
         | 
| 
       87 
90 
     | 
    
         
             
                  new_options = opts.merge(
         
     | 
| 
       88 
     | 
    
         
            -
                    :operation => :"CatalogsApi. 
     | 
| 
      
 91 
     | 
    
         
            +
                    :operation => :"CatalogsApi.add_categories_to_catalog_item",
         
     | 
| 
       89 
92 
     | 
    
         
             
                    :header_params => header_params,
         
     | 
| 
       90 
93 
     | 
    
         
             
                    :query_params => query_params,
         
     | 
| 
       91 
94 
     | 
    
         
             
                    :form_params => form_params,
         
     | 
| 
         @@ -96,16 +99,19 @@ module KlaviyoAPI 
     | 
|
| 
       96 
99 
     | 
    
         | 
| 
       97 
100 
     | 
    
         
             
                  data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
         
     | 
| 
       98 
101 
     | 
    
         
             
                  if @api_client.config.debugging
         
     | 
| 
       99 
     | 
    
         
            -
                    @api_client.config.logger.debug "API called: CatalogsApi# 
     | 
| 
      
 102 
     | 
    
         
            +
                    @api_client.config.logger.debug "API called: CatalogsApi#add_categories_to_catalog_item\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
         
     | 
| 
       100 
103 
     | 
    
         
             
                  end
         
     | 
| 
       101 
104 
     | 
    
         
             
                  return data, status_code, headers
         
     | 
| 
       102 
105 
     | 
    
         
             
                end
         
     | 
| 
       103 
106 
     | 
    
         | 
| 
       104 
     | 
    
         
            -
                # alias of ` 
     | 
| 
       105 
     | 
    
         
            -
                alias  
     | 
| 
      
 107 
     | 
    
         
            +
                # alias of `add_categories_to_catalog_item_with_http_info`
         
     | 
| 
      
 108 
     | 
    
         
            +
                alias add_category_to_catalog_item_with_http_info add_categories_to_catalog_item_with_http_info
         
     | 
| 
      
 109 
     | 
    
         
            +
             
     | 
| 
      
 110 
     | 
    
         
            +
                # alias of `add_categories_to_catalog_item_with_http_info`
         
     | 
| 
      
 111 
     | 
    
         
            +
                alias create_catalog_item_relationships_category_with_http_info add_categories_to_catalog_item_with_http_info
         
     | 
| 
       106 
112 
     | 
    
         | 
| 
       107 
     | 
    
         
            -
                # alias of ` 
     | 
| 
       108 
     | 
    
         
            -
                alias  
     | 
| 
      
 113 
     | 
    
         
            +
                # alias of `add_categories_to_catalog_item_with_http_info`
         
     | 
| 
      
 114 
     | 
    
         
            +
                alias create_catalog_item_relationships_categories_with_http_info add_categories_to_catalog_item_with_http_info
         
     | 
| 
       109 
115 
     | 
    
         | 
| 
       110 
116 
     | 
    
         
             
                # Add Items to Catalog Category
         
     | 
| 
       111 
117 
     | 
    
         
             
                # Create a new item relationship for the given category ID.<br><br>*Rate limits*:<br>Burst: `75/s`<br>Steady: `700/m`  **Scopes:** `catalogs:write`
         
     | 
| 
         @@ -119,10 +125,10 @@ module KlaviyoAPI 
     | 
|
| 
       119 
125 
     | 
    
         
             
                end
         
     | 
| 
       120 
126 
     | 
    
         | 
| 
       121 
127 
     | 
    
         
             
                # alias of `add_items_to_catalog_category`
         
     | 
| 
       122 
     | 
    
         
            -
                alias  
     | 
| 
      
 128 
     | 
    
         
            +
                alias create_catalog_category_relationships_item add_items_to_catalog_category
         
     | 
| 
       123 
129 
     | 
    
         | 
| 
       124 
130 
     | 
    
         
             
                # alias of `add_items_to_catalog_category`
         
     | 
| 
       125 
     | 
    
         
            -
                alias  
     | 
| 
      
 131 
     | 
    
         
            +
                alias create_catalog_category_relationships_items add_items_to_catalog_category
         
     | 
| 
       126 
132 
     | 
    
         | 
| 
       127 
133 
     | 
    
         
             
                # Add Items to Catalog Category
         
     | 
| 
       128 
134 
     | 
    
         
             
                # Create a new item relationship for the given category ID.<br><br>*Rate limits*:<br>Burst: `75/s`<br>Steady: `700/m`  **Scopes:** `catalogs:write`
         
     | 
| 
         @@ -170,7 +176,7 @@ module KlaviyoAPI 
     | 
|
| 
       170 
176 
     | 
    
         
             
                  return_type = opts[:debug_return_type]
         
     | 
| 
       171 
177 
     | 
    
         | 
| 
       172 
178 
     | 
    
         
             
                  # auth_names
         
     | 
| 
       173 
     | 
    
         
            -
                  auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key']
         
     | 
| 
      
 179 
     | 
    
         
            +
                  auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key', 'OAuth']
         
     | 
| 
       174 
180 
     | 
    
         | 
| 
       175 
181 
     | 
    
         
             
                  new_options = opts.merge(
         
     | 
| 
       176 
182 
     | 
    
         
             
                    :operation => :"CatalogsApi.add_items_to_catalog_category",
         
     | 
| 
         @@ -190,10 +196,10 @@ module KlaviyoAPI 
     | 
|
| 
       190 
196 
     | 
    
         
             
                end
         
     | 
| 
       191 
197 
     | 
    
         | 
| 
       192 
198 
     | 
    
         
             
                # alias of `add_items_to_catalog_category_with_http_info`
         
     | 
| 
       193 
     | 
    
         
            -
                alias  
     | 
| 
      
 199 
     | 
    
         
            +
                alias create_catalog_category_relationships_item_with_http_info add_items_to_catalog_category_with_http_info
         
     | 
| 
       194 
200 
     | 
    
         | 
| 
       195 
201 
     | 
    
         
             
                # alias of `add_items_to_catalog_category_with_http_info`
         
     | 
| 
       196 
     | 
    
         
            -
                alias  
     | 
| 
      
 202 
     | 
    
         
            +
                alias create_catalog_category_relationships_items_with_http_info add_items_to_catalog_category_with_http_info
         
     | 
| 
       197 
203 
     | 
    
         | 
| 
       198 
204 
     | 
    
         
             
                # Bulk Create Catalog Categories
         
     | 
| 
       199 
205 
     | 
    
         
             
                # Create a catalog category bulk create job to create a batch of catalog categories.  Accepts up to 100 catalog categories per request. The maximum allowed payload size is 5MB. The maximum number of jobs in progress at one time is 500.<br><br>*Rate limits*:<br>Burst: `75/s`<br>Steady: `700/m`  **Scopes:** `catalogs:write`
         
     | 
| 
         @@ -252,7 +258,7 @@ module KlaviyoAPI 
     | 
|
| 
       252 
258 
     | 
    
         
             
                  return_type = opts[:debug_return_type] || 'Hash<String, Object>'
         
     | 
| 
       253 
259 
     | 
    
         | 
| 
       254 
260 
     | 
    
         
             
                  # auth_names
         
     | 
| 
       255 
     | 
    
         
            -
                  auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key']
         
     | 
| 
      
 261 
     | 
    
         
            +
                  auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key', 'OAuth']
         
     | 
| 
       256 
262 
     | 
    
         | 
| 
       257 
263 
     | 
    
         
             
                  new_options = opts.merge(
         
     | 
| 
       258 
264 
     | 
    
         
             
                    :operation => :"CatalogsApi.bulk_create_catalog_categories",
         
     | 
| 
         @@ -334,7 +340,7 @@ module KlaviyoAPI 
     | 
|
| 
       334 
340 
     | 
    
         
             
                  return_type = opts[:debug_return_type] || 'Hash<String, Object>'
         
     | 
| 
       335 
341 
     | 
    
         | 
| 
       336 
342 
     | 
    
         
             
                  # auth_names
         
     | 
| 
       337 
     | 
    
         
            -
                  auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key']
         
     | 
| 
      
 343 
     | 
    
         
            +
                  auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key', 'OAuth']
         
     | 
| 
       338 
344 
     | 
    
         | 
| 
       339 
345 
     | 
    
         
             
                  new_options = opts.merge(
         
     | 
| 
       340 
346 
     | 
    
         
             
                    :operation => :"CatalogsApi.bulk_create_catalog_items",
         
     | 
| 
         @@ -416,7 +422,7 @@ module KlaviyoAPI 
     | 
|
| 
       416 
422 
     | 
    
         
             
                  return_type = opts[:debug_return_type] || 'Hash<String, Object>'
         
     | 
| 
       417 
423 
     | 
    
         | 
| 
       418 
424 
     | 
    
         
             
                  # auth_names
         
     | 
| 
       419 
     | 
    
         
            -
                  auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key']
         
     | 
| 
      
 425 
     | 
    
         
            +
                  auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key', 'OAuth']
         
     | 
| 
       420 
426 
     | 
    
         | 
| 
       421 
427 
     | 
    
         
             
                  new_options = opts.merge(
         
     | 
| 
       422 
428 
     | 
    
         
             
                    :operation => :"CatalogsApi.bulk_create_catalog_variants",
         
     | 
| 
         @@ -498,7 +504,7 @@ module KlaviyoAPI 
     | 
|
| 
       498 
504 
     | 
    
         
             
                  return_type = opts[:debug_return_type] || 'Hash<String, Object>'
         
     | 
| 
       499 
505 
     | 
    
         | 
| 
       500 
506 
     | 
    
         
             
                  # auth_names
         
     | 
| 
       501 
     | 
    
         
            -
                  auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key']
         
     | 
| 
      
 507 
     | 
    
         
            +
                  auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key', 'OAuth']
         
     | 
| 
       502 
508 
     | 
    
         | 
| 
       503 
509 
     | 
    
         
             
                  new_options = opts.merge(
         
     | 
| 
       504 
510 
     | 
    
         
             
                    :operation => :"CatalogsApi.bulk_delete_catalog_categories",
         
     | 
| 
         @@ -580,7 +586,7 @@ module KlaviyoAPI 
     | 
|
| 
       580 
586 
     | 
    
         
             
                  return_type = opts[:debug_return_type] || 'Hash<String, Object>'
         
     | 
| 
       581 
587 
     | 
    
         | 
| 
       582 
588 
     | 
    
         
             
                  # auth_names
         
     | 
| 
       583 
     | 
    
         
            -
                  auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key']
         
     | 
| 
      
 589 
     | 
    
         
            +
                  auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key', 'OAuth']
         
     | 
| 
       584 
590 
     | 
    
         | 
| 
       585 
591 
     | 
    
         
             
                  new_options = opts.merge(
         
     | 
| 
       586 
592 
     | 
    
         
             
                    :operation => :"CatalogsApi.bulk_delete_catalog_items",
         
     | 
| 
         @@ -662,7 +668,7 @@ module KlaviyoAPI 
     | 
|
| 
       662 
668 
     | 
    
         
             
                  return_type = opts[:debug_return_type] || 'Hash<String, Object>'
         
     | 
| 
       663 
669 
     | 
    
         | 
| 
       664 
670 
     | 
    
         
             
                  # auth_names
         
     | 
| 
       665 
     | 
    
         
            -
                  auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key']
         
     | 
| 
      
 671 
     | 
    
         
            +
                  auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key', 'OAuth']
         
     | 
| 
       666 
672 
     | 
    
         | 
| 
       667 
673 
     | 
    
         
             
                  new_options = opts.merge(
         
     | 
| 
       668 
674 
     | 
    
         
             
                    :operation => :"CatalogsApi.bulk_delete_catalog_variants",
         
     | 
| 
         @@ -744,7 +750,7 @@ module KlaviyoAPI 
     | 
|
| 
       744 
750 
     | 
    
         
             
                  return_type = opts[:debug_return_type] || 'Hash<String, Object>'
         
     | 
| 
       745 
751 
     | 
    
         | 
| 
       746 
752 
     | 
    
         
             
                  # auth_names
         
     | 
| 
       747 
     | 
    
         
            -
                  auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key']
         
     | 
| 
      
 753 
     | 
    
         
            +
                  auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key', 'OAuth']
         
     | 
| 
       748 
754 
     | 
    
         | 
| 
       749 
755 
     | 
    
         
             
                  new_options = opts.merge(
         
     | 
| 
       750 
756 
     | 
    
         
             
                    :operation => :"CatalogsApi.bulk_update_catalog_categories",
         
     | 
| 
         @@ -826,7 +832,7 @@ module KlaviyoAPI 
     | 
|
| 
       826 
832 
     | 
    
         
             
                  return_type = opts[:debug_return_type] || 'Hash<String, Object>'
         
     | 
| 
       827 
833 
     | 
    
         | 
| 
       828 
834 
     | 
    
         
             
                  # auth_names
         
     | 
| 
       829 
     | 
    
         
            -
                  auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key']
         
     | 
| 
      
 835 
     | 
    
         
            +
                  auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key', 'OAuth']
         
     | 
| 
       830 
836 
     | 
    
         | 
| 
       831 
837 
     | 
    
         
             
                  new_options = opts.merge(
         
     | 
| 
       832 
838 
     | 
    
         
             
                    :operation => :"CatalogsApi.bulk_update_catalog_items",
         
     | 
| 
         @@ -908,7 +914,7 @@ module KlaviyoAPI 
     | 
|
| 
       908 
914 
     | 
    
         
             
                  return_type = opts[:debug_return_type] || 'Hash<String, Object>'
         
     | 
| 
       909 
915 
     | 
    
         | 
| 
       910 
916 
     | 
    
         
             
                  # auth_names
         
     | 
| 
       911 
     | 
    
         
            -
                  auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key']
         
     | 
| 
      
 917 
     | 
    
         
            +
                  auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key', 'OAuth']
         
     | 
| 
       912 
918 
     | 
    
         | 
| 
       913 
919 
     | 
    
         
             
                  new_options = opts.merge(
         
     | 
| 
       914 
920 
     | 
    
         
             
                    :operation => :"CatalogsApi.bulk_update_catalog_variants",
         
     | 
| 
         @@ -984,7 +990,7 @@ module KlaviyoAPI 
     | 
|
| 
       984 
990 
     | 
    
         
             
                  return_type = opts[:debug_return_type]
         
     | 
| 
       985 
991 
     | 
    
         | 
| 
       986 
992 
     | 
    
         
             
                  # auth_names
         
     | 
| 
       987 
     | 
    
         
            -
                  auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key']
         
     | 
| 
      
 993 
     | 
    
         
            +
                  auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key', 'OAuth']
         
     | 
| 
       988 
994 
     | 
    
         | 
| 
       989 
995 
     | 
    
         
             
                  new_options = opts.merge(
         
     | 
| 
       990 
996 
     | 
    
         
             
                    :operation => :"CatalogsApi.create_back_in_stock_subscription",
         
     | 
| 
         @@ -1054,7 +1060,7 @@ module KlaviyoAPI 
     | 
|
| 
       1054 
1060 
     | 
    
         
             
                  return_type = opts[:debug_return_type] || 'Hash<String, Object>'
         
     | 
| 
       1055 
1061 
     | 
    
         | 
| 
       1056 
1062 
     | 
    
         
             
                  # auth_names
         
     | 
| 
       1057 
     | 
    
         
            -
                  auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key']
         
     | 
| 
      
 1063 
     | 
    
         
            +
                  auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key', 'OAuth']
         
     | 
| 
       1058 
1064 
     | 
    
         | 
| 
       1059 
1065 
     | 
    
         
             
                  new_options = opts.merge(
         
     | 
| 
       1060 
1066 
     | 
    
         
             
                    :operation => :"CatalogsApi.create_catalog_category",
         
     | 
| 
         @@ -1124,7 +1130,7 @@ module KlaviyoAPI 
     | 
|
| 
       1124 
1130 
     | 
    
         
             
                  return_type = opts[:debug_return_type] || 'Hash<String, Object>'
         
     | 
| 
       1125 
1131 
     | 
    
         | 
| 
       1126 
1132 
     | 
    
         
             
                  # auth_names
         
     | 
| 
       1127 
     | 
    
         
            -
                  auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key']
         
     | 
| 
      
 1133 
     | 
    
         
            +
                  auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key', 'OAuth']
         
     | 
| 
       1128 
1134 
     | 
    
         | 
| 
       1129 
1135 
     | 
    
         
             
                  new_options = opts.merge(
         
     | 
| 
       1130 
1136 
     | 
    
         
             
                    :operation => :"CatalogsApi.create_catalog_item",
         
     | 
| 
         @@ -1194,7 +1200,7 @@ module KlaviyoAPI 
     | 
|
| 
       1194 
1200 
     | 
    
         
             
                  return_type = opts[:debug_return_type] || 'Hash<String, Object>'
         
     | 
| 
       1195 
1201 
     | 
    
         | 
| 
       1196 
1202 
     | 
    
         
             
                  # auth_names
         
     | 
| 
       1197 
     | 
    
         
            -
                  auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key']
         
     | 
| 
      
 1203 
     | 
    
         
            +
                  auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key', 'OAuth']
         
     | 
| 
       1198 
1204 
     | 
    
         | 
| 
       1199 
1205 
     | 
    
         
             
                  new_options = opts.merge(
         
     | 
| 
       1200 
1206 
     | 
    
         
             
                    :operation => :"CatalogsApi.create_catalog_variant",
         
     | 
| 
         @@ -1259,7 +1265,7 @@ module KlaviyoAPI 
     | 
|
| 
       1259 
1265 
     | 
    
         
             
                  return_type = opts[:debug_return_type]
         
     | 
| 
       1260 
1266 
     | 
    
         | 
| 
       1261 
1267 
     | 
    
         
             
                  # auth_names
         
     | 
| 
       1262 
     | 
    
         
            -
                  auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key']
         
     | 
| 
      
 1268 
     | 
    
         
            +
                  auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key', 'OAuth']
         
     | 
| 
       1263 
1269 
     | 
    
         | 
| 
       1264 
1270 
     | 
    
         
             
                  new_options = opts.merge(
         
     | 
| 
       1265 
1271 
     | 
    
         
             
                    :operation => :"CatalogsApi.delete_catalog_category",
         
     | 
| 
         @@ -1324,7 +1330,7 @@ module KlaviyoAPI 
     | 
|
| 
       1324 
1330 
     | 
    
         
             
                  return_type = opts[:debug_return_type]
         
     | 
| 
       1325 
1331 
     | 
    
         | 
| 
       1326 
1332 
     | 
    
         
             
                  # auth_names
         
     | 
| 
       1327 
     | 
    
         
            -
                  auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key']
         
     | 
| 
      
 1333 
     | 
    
         
            +
                  auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key', 'OAuth']
         
     | 
| 
       1328 
1334 
     | 
    
         | 
| 
       1329 
1335 
     | 
    
         
             
                  new_options = opts.merge(
         
     | 
| 
       1330 
1336 
     | 
    
         
             
                    :operation => :"CatalogsApi.delete_catalog_item",
         
     | 
| 
         @@ -1389,7 +1395,7 @@ module KlaviyoAPI 
     | 
|
| 
       1389 
1395 
     | 
    
         
             
                  return_type = opts[:debug_return_type]
         
     | 
| 
       1390 
1396 
     | 
    
         | 
| 
       1391 
1397 
     | 
    
         
             
                  # auth_names
         
     | 
| 
       1392 
     | 
    
         
            -
                  auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key']
         
     | 
| 
      
 1398 
     | 
    
         
            +
                  auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key', 'OAuth']
         
     | 
| 
       1393 
1399 
     | 
    
         | 
| 
       1394 
1400 
     | 
    
         
             
                  new_options = opts.merge(
         
     | 
| 
       1395 
1401 
     | 
    
         
             
                    :operation => :"CatalogsApi.delete_catalog_variant",
         
     | 
| 
         @@ -1481,7 +1487,7 @@ module KlaviyoAPI 
     | 
|
| 
       1481 
1487 
     | 
    
         
             
                  return_type = opts[:debug_return_type] || 'Hash<String, Object>'
         
     | 
| 
       1482 
1488 
     | 
    
         | 
| 
       1483 
1489 
     | 
    
         
             
                  # auth_names
         
     | 
| 
       1484 
     | 
    
         
            -
                  auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key']
         
     | 
| 
      
 1490 
     | 
    
         
            +
                  auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key', 'OAuth']
         
     | 
| 
       1485 
1491 
     | 
    
         | 
| 
       1486 
1492 
     | 
    
         
             
                  new_options = opts.merge(
         
     | 
| 
       1487 
1493 
     | 
    
         
             
                    :operation => :"CatalogsApi.get_bulk_create_catalog_items_job",
         
     | 
| 
         @@ -1565,7 +1571,7 @@ module KlaviyoAPI 
     | 
|
| 
       1565 
1571 
     | 
    
         
             
                  return_type = opts[:debug_return_type] || 'Hash<String, Object>'
         
     | 
| 
       1566 
1572 
     | 
    
         | 
| 
       1567 
1573 
     | 
    
         
             
                  # auth_names
         
     | 
| 
       1568 
     | 
    
         
            -
                  auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key']
         
     | 
| 
      
 1574 
     | 
    
         
            +
                  auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key', 'OAuth']
         
     | 
| 
       1569 
1575 
     | 
    
         | 
| 
       1570 
1576 
     | 
    
         
             
                  new_options = opts.merge(
         
     | 
| 
       1571 
1577 
     | 
    
         
             
                    :operation => :"CatalogsApi.get_bulk_create_catalog_items_jobs",
         
     | 
| 
         @@ -1649,7 +1655,7 @@ module KlaviyoAPI 
     | 
|
| 
       1649 
1655 
     | 
    
         
             
                  return_type = opts[:debug_return_type] || 'Hash<String, Object>'
         
     | 
| 
       1650 
1656 
     | 
    
         | 
| 
       1651 
1657 
     | 
    
         
             
                  # auth_names
         
     | 
| 
       1652 
     | 
    
         
            -
                  auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key']
         
     | 
| 
      
 1658 
     | 
    
         
            +
                  auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key', 'OAuth']
         
     | 
| 
       1653 
1659 
     | 
    
         | 
| 
       1654 
1660 
     | 
    
         
             
                  new_options = opts.merge(
         
     | 
| 
       1655 
1661 
     | 
    
         
             
                    :operation => :"CatalogsApi.get_bulk_delete_catalog_items_job",
         
     | 
| 
         @@ -1733,7 +1739,7 @@ module KlaviyoAPI 
     | 
|
| 
       1733 
1739 
     | 
    
         
             
                  return_type = opts[:debug_return_type] || 'Hash<String, Object>'
         
     | 
| 
       1734 
1740 
     | 
    
         | 
| 
       1735 
1741 
     | 
    
         
             
                  # auth_names
         
     | 
| 
       1736 
     | 
    
         
            -
                  auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key']
         
     | 
| 
      
 1742 
     | 
    
         
            +
                  auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key', 'OAuth']
         
     | 
| 
       1737 
1743 
     | 
    
         | 
| 
       1738 
1744 
     | 
    
         
             
                  new_options = opts.merge(
         
     | 
| 
       1739 
1745 
     | 
    
         
             
                    :operation => :"CatalogsApi.get_bulk_delete_catalog_items_jobs",
         
     | 
| 
         @@ -1831,7 +1837,7 @@ module KlaviyoAPI 
     | 
|
| 
       1831 
1837 
     | 
    
         
             
                  return_type = opts[:debug_return_type] || 'Hash<String, Object>'
         
     | 
| 
       1832 
1838 
     | 
    
         | 
| 
       1833 
1839 
     | 
    
         
             
                  # auth_names
         
     | 
| 
       1834 
     | 
    
         
            -
                  auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key']
         
     | 
| 
      
 1840 
     | 
    
         
            +
                  auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key', 'OAuth']
         
     | 
| 
       1835 
1841 
     | 
    
         | 
| 
       1836 
1842 
     | 
    
         
             
                  new_options = opts.merge(
         
     | 
| 
       1837 
1843 
     | 
    
         
             
                    :operation => :"CatalogsApi.get_bulk_update_catalog_items_job",
         
     | 
| 
         @@ -1915,7 +1921,7 @@ module KlaviyoAPI 
     | 
|
| 
       1915 
1921 
     | 
    
         
             
                  return_type = opts[:debug_return_type] || 'Hash<String, Object>'
         
     | 
| 
       1916 
1922 
     | 
    
         | 
| 
       1917 
1923 
     | 
    
         
             
                  # auth_names
         
     | 
| 
       1918 
     | 
    
         
            -
                  auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key']
         
     | 
| 
      
 1924 
     | 
    
         
            +
                  auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key', 'OAuth']
         
     | 
| 
       1919 
1925 
     | 
    
         | 
| 
       1920 
1926 
     | 
    
         
             
                  new_options = opts.merge(
         
     | 
| 
       1921 
1927 
     | 
    
         
             
                    :operation => :"CatalogsApi.get_bulk_update_catalog_items_jobs",
         
     | 
| 
         @@ -2000,7 +2006,7 @@ module KlaviyoAPI 
     | 
|
| 
       2000 
2006 
     | 
    
         
             
                  return_type = opts[:debug_return_type] || 'Hash<String, Object>'
         
     | 
| 
       2001 
2007 
     | 
    
         | 
| 
       2002 
2008 
     | 
    
         
             
                  # auth_names
         
     | 
| 
       2003 
     | 
    
         
            -
                  auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key']
         
     | 
| 
      
 2009 
     | 
    
         
            +
                  auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key', 'OAuth']
         
     | 
| 
       2004 
2010 
     | 
    
         | 
| 
       2005 
2011 
     | 
    
         
             
                  new_options = opts.merge(
         
     | 
| 
       2006 
2012 
     | 
    
         
             
                    :operation => :"CatalogsApi.get_catalog_categories",
         
     | 
| 
         @@ -2072,7 +2078,7 @@ module KlaviyoAPI 
     | 
|
| 
       2072 
2078 
     | 
    
         
             
                  return_type = opts[:debug_return_type] || 'Hash<String, Object>'
         
     | 
| 
       2073 
2079 
     | 
    
         | 
| 
       2074 
2080 
     | 
    
         
             
                  # auth_names
         
     | 
| 
       2075 
     | 
    
         
            -
                  auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key']
         
     | 
| 
      
 2081 
     | 
    
         
            +
                  auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key', 'OAuth']
         
     | 
| 
       2076 
2082 
     | 
    
         | 
| 
       2077 
2083 
     | 
    
         
             
                  new_options = opts.merge(
         
     | 
| 
       2078 
2084 
     | 
    
         
             
                    :operation => :"CatalogsApi.get_catalog_category",
         
     | 
| 
         @@ -2158,7 +2164,7 @@ module KlaviyoAPI 
     | 
|
| 
       2158 
2164 
     | 
    
         
             
                  return_type = opts[:debug_return_type] || 'Hash<String, Object>'
         
     | 
| 
       2159 
2165 
     | 
    
         | 
| 
       2160 
2166 
     | 
    
         
             
                  # auth_names
         
     | 
| 
       2161 
     | 
    
         
            -
                  auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key']
         
     | 
| 
      
 2167 
     | 
    
         
            +
                  auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key', 'OAuth']
         
     | 
| 
       2162 
2168 
     | 
    
         | 
| 
       2163 
2169 
     | 
    
         
             
                  new_options = opts.merge(
         
     | 
| 
       2164 
2170 
     | 
    
         
             
                    :operation => :"CatalogsApi.get_catalog_item",
         
     | 
| 
         @@ -2251,7 +2257,7 @@ module KlaviyoAPI 
     | 
|
| 
       2251 
2257 
     | 
    
         
             
                  return_type = opts[:debug_return_type] || 'Hash<String, Object>'
         
     | 
| 
       2252 
2258 
     | 
    
         | 
| 
       2253 
2259 
     | 
    
         
             
                  # auth_names
         
     | 
| 
       2254 
     | 
    
         
            -
                  auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key']
         
     | 
| 
      
 2260 
     | 
    
         
            +
                  auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key', 'OAuth']
         
     | 
| 
       2255 
2261 
     | 
    
         | 
| 
       2256 
2262 
     | 
    
         
             
                  new_options = opts.merge(
         
     | 
| 
       2257 
2263 
     | 
    
         
             
                    :operation => :"CatalogsApi.get_catalog_items",
         
     | 
| 
         @@ -2323,7 +2329,7 @@ module KlaviyoAPI 
     | 
|
| 
       2323 
2329 
     | 
    
         
             
                  return_type = opts[:debug_return_type] || 'Hash<String, Object>'
         
     | 
| 
       2324 
2330 
     | 
    
         | 
| 
       2325 
2331 
     | 
    
         
             
                  # auth_names
         
     | 
| 
       2326 
     | 
    
         
            -
                  auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key']
         
     | 
| 
      
 2332 
     | 
    
         
            +
                  auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key', 'OAuth']
         
     | 
| 
       2327 
2333 
     | 
    
         | 
| 
       2328 
2334 
     | 
    
         
             
                  new_options = opts.merge(
         
     | 
| 
       2329 
2335 
     | 
    
         
             
                    :operation => :"CatalogsApi.get_catalog_variant",
         
     | 
| 
         @@ -2402,7 +2408,7 @@ module KlaviyoAPI 
     | 
|
| 
       2402 
2408 
     | 
    
         
             
                  return_type = opts[:debug_return_type] || 'Hash<String, Object>'
         
     | 
| 
       2403 
2409 
     | 
    
         | 
| 
       2404 
2410 
     | 
    
         
             
                  # auth_names
         
     | 
| 
       2405 
     | 
    
         
            -
                  auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key']
         
     | 
| 
      
 2411 
     | 
    
         
            +
                  auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key', 'OAuth']
         
     | 
| 
       2406 
2412 
     | 
    
         | 
| 
       2407 
2413 
     | 
    
         
             
                  new_options = opts.merge(
         
     | 
| 
       2408 
2414 
     | 
    
         
             
                    :operation => :"CatalogsApi.get_catalog_variants",
         
     | 
| 
         @@ -2486,7 +2492,7 @@ module KlaviyoAPI 
     | 
|
| 
       2486 
2492 
     | 
    
         
             
                  return_type = opts[:debug_return_type] || 'Hash<String, Object>'
         
     | 
| 
       2487 
2493 
     | 
    
         | 
| 
       2488 
2494 
     | 
    
         
             
                  # auth_names
         
     | 
| 
       2489 
     | 
    
         
            -
                  auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key']
         
     | 
| 
      
 2495 
     | 
    
         
            +
                  auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key', 'OAuth']
         
     | 
| 
       2490 
2496 
     | 
    
         | 
| 
       2491 
2497 
     | 
    
         
             
                  new_options = opts.merge(
         
     | 
| 
       2492 
2498 
     | 
    
         
             
                    :operation => :"CatalogsApi.get_categories_for_catalog_item",
         
     | 
| 
         @@ -2560,7 +2566,7 @@ module KlaviyoAPI 
     | 
|
| 
       2560 
2566 
     | 
    
         
             
                  return_type = opts[:debug_return_type] || 'Hash<String, Object>'
         
     | 
| 
       2561 
2567 
     | 
    
         | 
| 
       2562 
2568 
     | 
    
         
             
                  # auth_names
         
     | 
| 
       2563 
     | 
    
         
            -
                  auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key']
         
     | 
| 
      
 2569 
     | 
    
         
            +
                  auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key', 'OAuth']
         
     | 
| 
       2564 
2570 
     | 
    
         | 
| 
       2565 
2571 
     | 
    
         
             
                  new_options = opts.merge(
         
     | 
| 
       2566 
2572 
     | 
    
         
             
                    :operation => :"CatalogsApi.get_category_ids_for_catalog_item",
         
     | 
| 
         @@ -2652,7 +2658,7 @@ module KlaviyoAPI 
     | 
|
| 
       2652 
2658 
     | 
    
         
             
                  return_type = opts[:debug_return_type] || 'Hash<String, Object>'
         
     | 
| 
       2653 
2659 
     | 
    
         | 
| 
       2654 
2660 
     | 
    
         
             
                  # auth_names
         
     | 
| 
       2655 
     | 
    
         
            -
                  auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key']
         
     | 
| 
      
 2661 
     | 
    
         
            +
                  auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key', 'OAuth']
         
     | 
| 
       2656 
2662 
     | 
    
         | 
| 
       2657 
2663 
     | 
    
         
             
                  new_options = opts.merge(
         
     | 
| 
       2658 
2664 
     | 
    
         
             
                    :operation => :"CatalogsApi.get_create_categories_job",
         
     | 
| 
         @@ -2730,7 +2736,7 @@ module KlaviyoAPI 
     | 
|
| 
       2730 
2736 
     | 
    
         
             
                  return_type = opts[:debug_return_type] || 'Hash<String, Object>'
         
     | 
| 
       2731 
2737 
     | 
    
         | 
| 
       2732 
2738 
     | 
    
         
             
                  # auth_names
         
     | 
| 
       2733 
     | 
    
         
            -
                  auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key']
         
     | 
| 
      
 2739 
     | 
    
         
            +
                  auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key', 'OAuth']
         
     | 
| 
       2734 
2740 
     | 
    
         | 
| 
       2735 
2741 
     | 
    
         
             
                  new_options = opts.merge(
         
     | 
| 
       2736 
2742 
     | 
    
         
             
                    :operation => :"CatalogsApi.get_create_categories_jobs",
         
     | 
| 
         @@ -2822,7 +2828,7 @@ module KlaviyoAPI 
     | 
|
| 
       2822 
2828 
     | 
    
         
             
                  return_type = opts[:debug_return_type] || 'Hash<String, Object>'
         
     | 
| 
       2823 
2829 
     | 
    
         | 
| 
       2824 
2830 
     | 
    
         
             
                  # auth_names
         
     | 
| 
       2825 
     | 
    
         
            -
                  auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key']
         
     | 
| 
      
 2831 
     | 
    
         
            +
                  auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key', 'OAuth']
         
     | 
| 
       2826 
2832 
     | 
    
         | 
| 
       2827 
2833 
     | 
    
         
             
                  new_options = opts.merge(
         
     | 
| 
       2828 
2834 
     | 
    
         
             
                    :operation => :"CatalogsApi.get_create_variants_job",
         
     | 
| 
         @@ -2900,7 +2906,7 @@ module KlaviyoAPI 
     | 
|
| 
       2900 
2906 
     | 
    
         
             
                  return_type = opts[:debug_return_type] || 'Hash<String, Object>'
         
     | 
| 
       2901 
2907 
     | 
    
         | 
| 
       2902 
2908 
     | 
    
         
             
                  # auth_names
         
     | 
| 
       2903 
     | 
    
         
            -
                  auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key']
         
     | 
| 
      
 2909 
     | 
    
         
            +
                  auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key', 'OAuth']
         
     | 
| 
       2904 
2910 
     | 
    
         | 
| 
       2905 
2911 
     | 
    
         
             
                  new_options = opts.merge(
         
     | 
| 
       2906 
2912 
     | 
    
         
             
                    :operation => :"CatalogsApi.get_create_variants_jobs",
         
     | 
| 
         @@ -2978,7 +2984,7 @@ module KlaviyoAPI 
     | 
|
| 
       2978 
2984 
     | 
    
         
             
                  return_type = opts[:debug_return_type] || 'Hash<String, Object>'
         
     | 
| 
       2979 
2985 
     | 
    
         | 
| 
       2980 
2986 
     | 
    
         
             
                  # auth_names
         
     | 
| 
       2981 
     | 
    
         
            -
                  auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key']
         
     | 
| 
      
 2987 
     | 
    
         
            +
                  auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key', 'OAuth']
         
     | 
| 
       2982 
2988 
     | 
    
         | 
| 
       2983 
2989 
     | 
    
         
             
                  new_options = opts.merge(
         
     | 
| 
       2984 
2990 
     | 
    
         
             
                    :operation => :"CatalogsApi.get_delete_categories_job",
         
     | 
| 
         @@ -3056,7 +3062,7 @@ module KlaviyoAPI 
     | 
|
| 
       3056 
3062 
     | 
    
         
             
                  return_type = opts[:debug_return_type] || 'Hash<String, Object>'
         
     | 
| 
       3057 
3063 
     | 
    
         | 
| 
       3058 
3064 
     | 
    
         
             
                  # auth_names
         
     | 
| 
       3059 
     | 
    
         
            -
                  auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key']
         
     | 
| 
      
 3065 
     | 
    
         
            +
                  auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key', 'OAuth']
         
     | 
| 
       3060 
3066 
     | 
    
         | 
| 
       3061 
3067 
     | 
    
         
             
                  new_options = opts.merge(
         
     | 
| 
       3062 
3068 
     | 
    
         
             
                    :operation => :"CatalogsApi.get_delete_categories_jobs",
         
     | 
| 
         @@ -3134,7 +3140,7 @@ module KlaviyoAPI 
     | 
|
| 
       3134 
3140 
     | 
    
         
             
                  return_type = opts[:debug_return_type] || 'Hash<String, Object>'
         
     | 
| 
       3135 
3141 
     | 
    
         | 
| 
       3136 
3142 
     | 
    
         
             
                  # auth_names
         
     | 
| 
       3137 
     | 
    
         
            -
                  auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key']
         
     | 
| 
      
 3143 
     | 
    
         
            +
                  auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key', 'OAuth']
         
     | 
| 
       3138 
3144 
     | 
    
         | 
| 
       3139 
3145 
     | 
    
         
             
                  new_options = opts.merge(
         
     | 
| 
       3140 
3146 
     | 
    
         
             
                    :operation => :"CatalogsApi.get_delete_variants_job",
         
     | 
| 
         @@ -3212,7 +3218,7 @@ module KlaviyoAPI 
     | 
|
| 
       3212 
3218 
     | 
    
         
             
                  return_type = opts[:debug_return_type] || 'Hash<String, Object>'
         
     | 
| 
       3213 
3219 
     | 
    
         | 
| 
       3214 
3220 
     | 
    
         
             
                  # auth_names
         
     | 
| 
       3215 
     | 
    
         
            -
                  auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key']
         
     | 
| 
      
 3221 
     | 
    
         
            +
                  auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key', 'OAuth']
         
     | 
| 
       3216 
3222 
     | 
    
         | 
| 
       3217 
3223 
     | 
    
         
             
                  new_options = opts.merge(
         
     | 
| 
       3218 
3224 
     | 
    
         
             
                    :operation => :"CatalogsApi.get_delete_variants_jobs",
         
     | 
| 
         @@ -3286,7 +3292,7 @@ module KlaviyoAPI 
     | 
|
| 
       3286 
3292 
     | 
    
         
             
                  return_type = opts[:debug_return_type] || 'Hash<String, Object>'
         
     | 
| 
       3287 
3293 
     | 
    
         | 
| 
       3288 
3294 
     | 
    
         
             
                  # auth_names
         
     | 
| 
       3289 
     | 
    
         
            -
                  auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key']
         
     | 
| 
      
 3295 
     | 
    
         
            +
                  auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key', 'OAuth']
         
     | 
| 
       3290 
3296 
     | 
    
         | 
| 
       3291 
3297 
     | 
    
         
             
                  new_options = opts.merge(
         
     | 
| 
       3292 
3298 
     | 
    
         
             
                    :operation => :"CatalogsApi.get_item_ids_for_catalog_category",
         
     | 
| 
         @@ -3387,7 +3393,7 @@ module KlaviyoAPI 
     | 
|
| 
       3387 
3393 
     | 
    
         
             
                  return_type = opts[:debug_return_type] || 'Hash<String, Object>'
         
     | 
| 
       3388 
3394 
     | 
    
         | 
| 
       3389 
3395 
     | 
    
         
             
                  # auth_names
         
     | 
| 
       3390 
     | 
    
         
            -
                  auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key']
         
     | 
| 
      
 3396 
     | 
    
         
            +
                  auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key', 'OAuth']
         
     | 
| 
       3391 
3397 
     | 
    
         | 
| 
       3392 
3398 
     | 
    
         
             
                  new_options = opts.merge(
         
     | 
| 
       3393 
3399 
     | 
    
         
             
                    :operation => :"CatalogsApi.get_items_for_catalog_category",
         
     | 
| 
         @@ -3479,7 +3485,7 @@ module KlaviyoAPI 
     | 
|
| 
       3479 
3485 
     | 
    
         
             
                  return_type = opts[:debug_return_type] || 'Hash<String, Object>'
         
     | 
| 
       3480 
3486 
     | 
    
         | 
| 
       3481 
3487 
     | 
    
         
             
                  # auth_names
         
     | 
| 
       3482 
     | 
    
         
            -
                  auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key']
         
     | 
| 
      
 3488 
     | 
    
         
            +
                  auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key', 'OAuth']
         
     | 
| 
       3483 
3489 
     | 
    
         | 
| 
       3484 
3490 
     | 
    
         
             
                  new_options = opts.merge(
         
     | 
| 
       3485 
3491 
     | 
    
         
             
                    :operation => :"CatalogsApi.get_update_categories_job",
         
     | 
| 
         @@ -3557,7 +3563,7 @@ module KlaviyoAPI 
     | 
|
| 
       3557 
3563 
     | 
    
         
             
                  return_type = opts[:debug_return_type] || 'Hash<String, Object>'
         
     | 
| 
       3558 
3564 
     | 
    
         | 
| 
       3559 
3565 
     | 
    
         
             
                  # auth_names
         
     | 
| 
       3560 
     | 
    
         
            -
                  auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key']
         
     | 
| 
      
 3566 
     | 
    
         
            +
                  auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key', 'OAuth']
         
     | 
| 
       3561 
3567 
     | 
    
         | 
| 
       3562 
3568 
     | 
    
         
             
                  new_options = opts.merge(
         
     | 
| 
       3563 
3569 
     | 
    
         
             
                    :operation => :"CatalogsApi.get_update_categories_jobs",
         
     | 
| 
         @@ -3649,7 +3655,7 @@ module KlaviyoAPI 
     | 
|
| 
       3649 
3655 
     | 
    
         
             
                  return_type = opts[:debug_return_type] || 'Hash<String, Object>'
         
     | 
| 
       3650 
3656 
     | 
    
         | 
| 
       3651 
3657 
     | 
    
         
             
                  # auth_names
         
     | 
| 
       3652 
     | 
    
         
            -
                  auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key']
         
     | 
| 
      
 3658 
     | 
    
         
            +
                  auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key', 'OAuth']
         
     | 
| 
       3653 
3659 
     | 
    
         | 
| 
       3654 
3660 
     | 
    
         
             
                  new_options = opts.merge(
         
     | 
| 
       3655 
3661 
     | 
    
         
             
                    :operation => :"CatalogsApi.get_update_variants_job",
         
     | 
| 
         @@ -3727,7 +3733,7 @@ module KlaviyoAPI 
     | 
|
| 
       3727 
3733 
     | 
    
         
             
                  return_type = opts[:debug_return_type] || 'Hash<String, Object>'
         
     | 
| 
       3728 
3734 
     | 
    
         | 
| 
       3729 
3735 
     | 
    
         
             
                  # auth_names
         
     | 
| 
       3730 
     | 
    
         
            -
                  auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key']
         
     | 
| 
      
 3736 
     | 
    
         
            +
                  auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key', 'OAuth']
         
     | 
| 
       3731 
3737 
     | 
    
         | 
| 
       3732 
3738 
     | 
    
         
             
                  new_options = opts.merge(
         
     | 
| 
       3733 
3739 
     | 
    
         
             
                    :operation => :"CatalogsApi.get_update_variants_jobs",
         
     | 
| 
         @@ -3814,7 +3820,7 @@ module KlaviyoAPI 
     | 
|
| 
       3814 
3820 
     | 
    
         
             
                  return_type = opts[:debug_return_type] || 'Hash<String, Object>'
         
     | 
| 
       3815 
3821 
     | 
    
         | 
| 
       3816 
3822 
     | 
    
         
             
                  # auth_names
         
     | 
| 
       3817 
     | 
    
         
            -
                  auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key']
         
     | 
| 
      
 3823 
     | 
    
         
            +
                  auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key', 'OAuth']
         
     | 
| 
       3818 
3824 
     | 
    
         | 
| 
       3819 
3825 
     | 
    
         
             
                  new_options = opts.merge(
         
     | 
| 
       3820 
3826 
     | 
    
         
             
                    :operation => :"CatalogsApi.get_variants_for_catalog_item",
         
     | 
| 
         @@ -3896,7 +3902,7 @@ module KlaviyoAPI 
     | 
|
| 
       3896 
3902 
     | 
    
         
             
                  return_type = opts[:debug_return_type]
         
     | 
| 
       3897 
3903 
     | 
    
         | 
| 
       3898 
3904 
     | 
    
         
             
                  # auth_names
         
     | 
| 
       3899 
     | 
    
         
            -
                  auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key']
         
     | 
| 
      
 3905 
     | 
    
         
            +
                  auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key', 'OAuth']
         
     | 
| 
       3900 
3906 
     | 
    
         | 
| 
       3901 
3907 
     | 
    
         
             
                  new_options = opts.merge(
         
     | 
| 
       3902 
3908 
     | 
    
         
             
                    :operation => :"CatalogsApi.remove_categories_from_catalog_item",
         
     | 
| 
         @@ -3978,7 +3984,7 @@ module KlaviyoAPI 
     | 
|
| 
       3978 
3984 
     | 
    
         
             
                  return_type = opts[:debug_return_type]
         
     | 
| 
       3979 
3985 
     | 
    
         | 
| 
       3980 
3986 
     | 
    
         
             
                  # auth_names
         
     | 
| 
       3981 
     | 
    
         
            -
                  auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key']
         
     | 
| 
      
 3987 
     | 
    
         
            +
                  auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key', 'OAuth']
         
     | 
| 
       3982 
3988 
     | 
    
         | 
| 
       3983 
3989 
     | 
    
         
             
                  new_options = opts.merge(
         
     | 
| 
       3984 
3990 
     | 
    
         
             
                    :operation => :"CatalogsApi.remove_items_from_catalog_category",
         
     | 
| 
         @@ -4057,7 +4063,7 @@ module KlaviyoAPI 
     | 
|
| 
       4057 
4063 
     | 
    
         
             
                  return_type = opts[:debug_return_type] || 'Hash<String, Object>'
         
     | 
| 
       4058 
4064 
     | 
    
         | 
| 
       4059 
4065 
     | 
    
         
             
                  # auth_names
         
     | 
| 
       4060 
     | 
    
         
            -
                  auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key']
         
     | 
| 
      
 4066 
     | 
    
         
            +
                  auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key', 'OAuth']
         
     | 
| 
       4061 
4067 
     | 
    
         | 
| 
       4062 
4068 
     | 
    
         
             
                  new_options = opts.merge(
         
     | 
| 
       4063 
4069 
     | 
    
         
             
                    :operation => :"CatalogsApi.update_catalog_category",
         
     | 
| 
         @@ -4133,7 +4139,7 @@ module KlaviyoAPI 
     | 
|
| 
       4133 
4139 
     | 
    
         
             
                  return_type = opts[:debug_return_type] || 'Hash<String, Object>'
         
     | 
| 
       4134 
4140 
     | 
    
         | 
| 
       4135 
4141 
     | 
    
         
             
                  # auth_names
         
     | 
| 
       4136 
     | 
    
         
            -
                  auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key']
         
     | 
| 
      
 4142 
     | 
    
         
            +
                  auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key', 'OAuth']
         
     | 
| 
       4137 
4143 
     | 
    
         | 
| 
       4138 
4144 
     | 
    
         
             
                  new_options = opts.merge(
         
     | 
| 
       4139 
4145 
     | 
    
         
             
                    :operation => :"CatalogsApi.update_catalog_item",
         
     | 
| 
         @@ -4209,7 +4215,7 @@ module KlaviyoAPI 
     | 
|
| 
       4209 
4215 
     | 
    
         
             
                  return_type = opts[:debug_return_type] || 'Hash<String, Object>'
         
     | 
| 
       4210 
4216 
     | 
    
         | 
| 
       4211 
4217 
     | 
    
         
             
                  # auth_names
         
     | 
| 
       4212 
     | 
    
         
            -
                  auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key']
         
     | 
| 
      
 4218 
     | 
    
         
            +
                  auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key', 'OAuth']
         
     | 
| 
       4213 
4219 
     | 
    
         | 
| 
       4214 
4220 
     | 
    
         
             
                  new_options = opts.merge(
         
     | 
| 
       4215 
4221 
     | 
    
         
             
                    :operation => :"CatalogsApi.update_catalog_variant",
         
     | 
| 
         @@ -4288,7 +4294,7 @@ module KlaviyoAPI 
     | 
|
| 
       4288 
4294 
     | 
    
         
             
                  return_type = opts[:debug_return_type]
         
     | 
| 
       4289 
4295 
     | 
    
         | 
| 
       4290 
4296 
     | 
    
         
             
                  # auth_names
         
     | 
| 
       4291 
     | 
    
         
            -
                  auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key']
         
     | 
| 
      
 4297 
     | 
    
         
            +
                  auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key', 'OAuth']
         
     | 
| 
       4292 
4298 
     | 
    
         | 
| 
       4293 
4299 
     | 
    
         
             
                  new_options = opts.merge(
         
     | 
| 
       4294 
4300 
     | 
    
         
             
                    :operation => :"CatalogsApi.update_categories_for_catalog_item",
         
     | 
| 
         @@ -4370,7 +4376,7 @@ module KlaviyoAPI 
     | 
|
| 
       4370 
4376 
     | 
    
         
             
                  return_type = opts[:debug_return_type]
         
     | 
| 
       4371 
4377 
     | 
    
         | 
| 
       4372 
4378 
     | 
    
         
             
                  # auth_names
         
     | 
| 
       4373 
     | 
    
         
            -
                  auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key']
         
     | 
| 
      
 4379 
     | 
    
         
            +
                  auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key', 'OAuth']
         
     | 
| 
       4374 
4380 
     | 
    
         | 
| 
       4375 
4381 
     | 
    
         
             
                  new_options = opts.merge(
         
     | 
| 
       4376 
4382 
     | 
    
         
             
                    :operation => :"CatalogsApi.update_items_for_catalog_category",
         
     |