ultracart_api 4.1.257 → 4.1.259

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 76f8a404e7ab84f499b23cff0890bc36193494369b681fef89b7b866e6ddb8a1
4
- data.tar.gz: 064b1829072beffa80e8d529470c6cb3a8454d2eb56e840b616fc9afde3b0461
3
+ metadata.gz: e3f2fc081ef1f09c59baa31f9ffca16ffcb0de3ca20f69327c7f9f186545567b
4
+ data.tar.gz: d1482ba6d9daac7e6707257d5f36766adaf6f96686d5aa4172b1e68905770f05
5
5
  SHA512:
6
- metadata.gz: f07667aeeab0c57f4fd36594a5270ffc16e478f8338bc6fa9ba4be83237e9df031832c5d668cc4d2d6ef05e36a46ea21052fd26c054ba62f743c4b1921308bd8
7
- data.tar.gz: 0e404db6c37280103af87a0b584db7ee07c9e0252951d56471d8ed069940db8eef60ce781689bd7e93f97af54c03ce3a404914f24a6e0c1769506dc8897ecd87
6
+ metadata.gz: 8b2a50431a31fd4ff81e9b7cd39ed9cba560624fad7fe6646c27c16dbe420307f3a40609f6fdf1fe6c798129de4fbea6a52c6e4f2ddc2cdf8fb0205e70c4f704
7
+ data.tar.gz: a051616e949e608ff21b16777aa091067ee0347c56a56fd7d899977f2c2552148b7e64a863f1adb3f3f2e6d29ddcff176260a91f051c4ebda0de73e2e9f64f09
data/README.md CHANGED
@@ -7,7 +7,7 @@ Note: Every method has a sample for every language. See https://github.com/Ultr
7
7
  This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
8
8
 
9
9
  - API version: 2.0.0
10
- - Package version: 4.1.257
10
+ - Package version: 4.1.259
11
11
  - Build package: org.openapitools.codegen.languages.RubyClientCodegen
12
12
  - For more information, please visit [http://www.ultracart.com/api/](http://www.ultracart.com/api/)
13
13
 
@@ -16,7 +16,7 @@ This SDK is automatically generated by the [OpenAPI Generator](https://openapi-g
16
16
  gemfile:
17
17
 
18
18
  ```shell
19
- gem 'ultracart_api', '4.1.257'
19
+ gem 'ultracart_api', '4.1.259'
20
20
  ```
21
21
 
22
22
  install:
@@ -539,6 +539,7 @@ Class | Method | HTTP request | Description
539
539
  *UltracartClient::SfvbApi* | [**export_sfvb_not_found**](docs/SfvbApi.md#export_sfvb_not_found) | **GET** /sfvb/storefronts/{storefront_oid}/not_found/export | Export the open 404 paths
540
540
  *UltracartClient::SfvbApi* | [**favorite_sfvb_library_entry**](docs/SfvbApi.md#favorite_sfvb_library_entry) | **PUT** /sfvb/storefronts/{storefront_oid}/library/{library_oid}/favorite | Favorite a library entry
541
541
  *UltracartClient::SfvbApi* | [**fix_sfvb_not_found_entry**](docs/SfvbApi.md#fix_sfvb_not_found_entry) | **POST** /sfvb/storefronts/{storefront_oid}/not_found/{not_found_id}/fixed | Mark a 404 path fixed
542
+ *UltracartClient::SfvbApi* | [**flush_sfvb_store_front_cache**](docs/SfvbApi.md#flush_sfvb_store_front_cache) | **POST** /sfvb/cache/flush | Flush the StoreFront page cache
542
543
  *UltracartClient::SfvbApi* | [**get_sfvb_affiliate_network**](docs/SfvbApi.md#get_sfvb_affiliate_network) | **GET** /sfvb/storefronts/{storefront_oid}/tracking/affiliate_networks/{affiliate_network_oid} | Read one affiliate network
543
544
  *UltracartClient::SfvbApi* | [**get_sfvb_affiliate_networks**](docs/SfvbApi.md#get_sfvb_affiliate_networks) | **GET** /sfvb/storefronts/{storefront_oid}/tracking/affiliate_networks | List a storefront's affiliate networks
544
545
  *UltracartClient::SfvbApi* | [**get_sfvb_approval**](docs/SfvbApi.md#get_sfvb_approval) | **GET** /sfvb/approvals/{approval_id} | Read one approval request
@@ -2608,6 +2609,8 @@ Not every change is committed to every SDK.
2608
2609
 
2609
2610
  | Version | Date | Comments |
2610
2611
  | --: | :-: | --- |
2612
+ | 4.1.259 | 11/24/2026 | sfvb internal testing |
2613
+ | 4.1.258 | 11/23/2026 | communications - expose the campaign hourly divisor on the settings |
2611
2614
  | 4.1.257 | 11/19/2026 | sfvb internal testing |
2612
2615
  | 4.1.256 | 11/17/2026 | sfvb internal testing |
2613
2616
  | 4.1.255 | 11/17/2026 | sfvb internal testing |
@@ -4,6 +4,7 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
+ | **campaign_hourly_divisor** | **Integer** | Campaign hourly send divisor, default 8 | [optional] |
7
8
  | **emails_per_day** | **Integer** | Emails per day allowed | [optional] |
8
9
  | **emails_per_hour** | **Integer** | Emails per hour allowed | [optional] |
9
10
  | **emails_per_month** | **Integer** | Emails per month allowed | [optional] |
@@ -31,6 +32,7 @@
31
32
  require 'ultracart_api'
32
33
 
33
34
  instance = UltracartClient::EmailSettings.new(
35
+ campaign_hourly_divisor: null,
34
36
  emails_per_day: null,
35
37
  emails_per_hour: null,
36
38
  emails_per_month: null,
data/docs/SfvbApi.md CHANGED
@@ -67,6 +67,7 @@ All URIs are relative to *https://secure.ultracart.com/rest/v2*
67
67
  | [**export_sfvb_not_found**](SfvbApi.md#export_sfvb_not_found) | **GET** /sfvb/storefronts/{storefront_oid}/not_found/export | Export the open 404 paths |
68
68
  | [**favorite_sfvb_library_entry**](SfvbApi.md#favorite_sfvb_library_entry) | **PUT** /sfvb/storefronts/{storefront_oid}/library/{library_oid}/favorite | Favorite a library entry |
69
69
  | [**fix_sfvb_not_found_entry**](SfvbApi.md#fix_sfvb_not_found_entry) | **POST** /sfvb/storefronts/{storefront_oid}/not_found/{not_found_id}/fixed | Mark a 404 path fixed |
70
+ | [**flush_sfvb_store_front_cache**](SfvbApi.md#flush_sfvb_store_front_cache) | **POST** /sfvb/cache/flush | Flush the StoreFront page cache |
70
71
  | [**get_sfvb_affiliate_network**](SfvbApi.md#get_sfvb_affiliate_network) | **GET** /sfvb/storefronts/{storefront_oid}/tracking/affiliate_networks/{affiliate_network_oid} | Read one affiliate network |
71
72
  | [**get_sfvb_affiliate_networks**](SfvbApi.md#get_sfvb_affiliate_networks) | **GET** /sfvb/storefronts/{storefront_oid}/tracking/affiliate_networks | List a storefront's affiliate networks |
72
73
  | [**get_sfvb_approval**](SfvbApi.md#get_sfvb_approval) | **GET** /sfvb/approvals/{approval_id} | Read one approval request |
@@ -3763,6 +3764,59 @@ end
3763
3764
  - **Accept**: application/json
3764
3765
 
3765
3766
 
3767
+ ## flush_sfvb_store_front_cache
3768
+
3769
+ > flush_sfvb_store_front_cache(opts)
3770
+
3771
+ Flush the StoreFront page cache
3772
+
3773
+ Marks every cached page on every storefront of the account out of date, so each re-renders on its next visit. Templates, settings and files are not changed. Allowed once per account every 15 minutes; an earlier call answers 429. Needs an approved storefront_cache.flush request (POST approvals with no storefront_oid and empty params), and every request needs a fresh code.
3774
+
3775
+
3776
+ ### Examples
3777
+
3778
+
3779
+ (No example for this operation).
3780
+
3781
+
3782
+ #### Using the flush_sfvb_store_front_cache_with_http_info variant
3783
+
3784
+ This returns an Array which contains the response data (`nil` in this case), status code and headers.
3785
+
3786
+ > <Array(nil, Integer, Hash)> flush_sfvb_store_front_cache_with_http_info(opts)
3787
+
3788
+ ```ruby
3789
+ begin
3790
+ # Flush the StoreFront page cache
3791
+ data, status_code, headers = api_instance.flush_sfvb_store_front_cache_with_http_info(opts)
3792
+ p status_code # => 2xx
3793
+ p headers # => { ... }
3794
+ p data # => nil
3795
+ rescue UltracartClient::ApiError => e
3796
+ puts "Error when calling SfvbApi->flush_sfvb_store_front_cache_with_http_info: #{e}"
3797
+ end
3798
+ ```
3799
+
3800
+ ### Parameters
3801
+
3802
+ | Name | Type | Description | Notes |
3803
+ | ---- | ---- | ----------- | ----- |
3804
+ | **approval_id** | **String** | The approval_id of an approved storefront_cache.flush request for this account. See POST /sfvb/approvals. | [optional] |
3805
+
3806
+ ### Return type
3807
+
3808
+ nil (empty response body)
3809
+
3810
+ ### Authorization
3811
+
3812
+ [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
3813
+
3814
+ ### HTTP request headers
3815
+
3816
+ - **Content-Type**: Not defined
3817
+ - **Accept**: application/json
3818
+
3819
+
3766
3820
  ## get_sfvb_affiliate_network
3767
3821
 
3768
3822
  > <SfvbAffiliateNetwork> get_sfvb_affiliate_network(storefront_oid, affiliate_network_oid)
@@ -4754,6 +4754,67 @@ module UltracartClient
4754
4754
  return data, status_code, headers
4755
4755
  end
4756
4756
 
4757
+ # Flush the StoreFront page cache
4758
+ # Marks every cached page on every storefront of the account out of date, so each re-renders on its next visit. Templates, settings and files are not changed. Allowed once per account every 15 minutes; an earlier call answers 429. Needs an approved storefront_cache.flush request (POST approvals with no storefront_oid and empty params), and every request needs a fresh code.
4759
+ # @param [Hash] opts the optional parameters
4760
+ # @option opts [String] :approval_id The approval_id of an approved storefront_cache.flush request for this account. See POST /sfvb/approvals.
4761
+ # @return [nil]
4762
+ def flush_sfvb_store_front_cache(opts = {})
4763
+ flush_sfvb_store_front_cache_with_http_info(opts)
4764
+ nil
4765
+ end
4766
+
4767
+ # Flush the StoreFront page cache
4768
+ # Marks every cached page on every storefront of the account out of date, so each re-renders on its next visit. Templates, settings and files are not changed. Allowed once per account every 15 minutes; an earlier call answers 429. Needs an approved storefront_cache.flush request (POST approvals with no storefront_oid and empty params), and every request needs a fresh code.
4769
+ # @param [Hash] opts the optional parameters
4770
+ # @option opts [String] :approval_id The approval_id of an approved storefront_cache.flush request for this account. See POST /sfvb/approvals.
4771
+ # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
4772
+ def flush_sfvb_store_front_cache_with_http_info(opts = {})
4773
+ if @api_client.config.debugging
4774
+ @api_client.config.logger.debug 'Calling API: SfvbApi.flush_sfvb_store_front_cache ...'
4775
+ end
4776
+ # resource path
4777
+ local_var_path = '/sfvb/cache/flush'
4778
+
4779
+ # query parameters
4780
+ query_params = opts[:query_params] || {}
4781
+
4782
+ # header parameters
4783
+ header_params = opts[:header_params] || {}
4784
+ header_params['X-UltraCart-Api-Version'] = @api_client.select_header_api_version()
4785
+ # HTTP header 'Accept' (if needed)
4786
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
4787
+ header_params[:'Approval-Id'] = opts[:'approval_id'] if !opts[:'approval_id'].nil?
4788
+
4789
+ # form parameters
4790
+ form_params = opts[:form_params] || {}
4791
+
4792
+ # http body (model)
4793
+ post_body = opts[:debug_body]
4794
+
4795
+ # return_type
4796
+ return_type = opts[:debug_return_type]
4797
+
4798
+ # auth_names
4799
+ auth_names = opts[:debug_auth_names] || ['ultraCartOauth', 'ultraCartSimpleApiKey']
4800
+
4801
+ new_options = opts.merge(
4802
+ :operation => :"SfvbApi.flush_sfvb_store_front_cache",
4803
+ :header_params => header_params,
4804
+ :query_params => query_params,
4805
+ :form_params => form_params,
4806
+ :body => post_body,
4807
+ :auth_names => auth_names,
4808
+ :return_type => return_type
4809
+ )
4810
+
4811
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
4812
+ if @api_client.config.debugging
4813
+ @api_client.config.logger.debug "API called: SfvbApi#flush_sfvb_store_front_cache\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
4814
+ end
4815
+ return data, status_code, headers
4816
+ end
4817
+
4757
4818
  # Read one affiliate network
4758
4819
  # The network with its conversion_pixel, and the hash_sha256 an update or delete sends back as If-Match.
4759
4820
  # @param storefront_oid [Integer]
@@ -15,6 +15,9 @@ require 'time'
15
15
 
16
16
  module UltracartClient
17
17
  class EmailSettings
18
+ # Campaign hourly send divisor, default 8
19
+ attr_accessor :campaign_hourly_divisor
20
+
18
21
  # Emails per day allowed
19
22
  attr_accessor :emails_per_day
20
23
 
@@ -64,6 +67,7 @@ module UltracartClient
64
67
  # Attribute mapping from ruby-style variable name to JSON key.
65
68
  def self.attribute_map
66
69
  {
70
+ :'campaign_hourly_divisor' => :'campaign_hourly_divisor',
67
71
  :'emails_per_day' => :'emails_per_day',
68
72
  :'emails_per_hour' => :'emails_per_hour',
69
73
  :'emails_per_month' => :'emails_per_month',
@@ -95,6 +99,7 @@ module UltracartClient
95
99
  # Attribute type mapping.
96
100
  def self.openapi_types
97
101
  {
102
+ :'campaign_hourly_divisor' => :'Integer',
98
103
  :'emails_per_day' => :'Integer',
99
104
  :'emails_per_hour' => :'Integer',
100
105
  :'emails_per_month' => :'Integer',
@@ -139,6 +144,10 @@ module UltracartClient
139
144
  h[k.to_sym] = v
140
145
  }
141
146
 
147
+ if attributes.key?(:'campaign_hourly_divisor')
148
+ self.campaign_hourly_divisor = attributes[:'campaign_hourly_divisor']
149
+ end
150
+
142
151
  if attributes.key?(:'emails_per_day')
143
152
  self.emails_per_day = attributes[:'emails_per_day']
144
153
  end
@@ -238,6 +247,7 @@ module UltracartClient
238
247
  def ==(o)
239
248
  return true if self.equal?(o)
240
249
  self.class == o.class &&
250
+ campaign_hourly_divisor == o.campaign_hourly_divisor &&
241
251
  emails_per_day == o.emails_per_day &&
242
252
  emails_per_hour == o.emails_per_hour &&
243
253
  emails_per_month == o.emails_per_month &&
@@ -269,7 +279,7 @@ module UltracartClient
269
279
  # Calculates hash code according to all attributes.
270
280
  # @return [Integer] Hash code
271
281
  def hash
272
- [emails_per_day, emails_per_hour, emails_per_month, machine_open_ignore, marketing_esp_domain_user, marketing_esp_domain_uuid, marketing_esp_friendly_name, postcard_from_address1, postcard_from_address2, postcard_from_city, postcard_from_name, postcard_from_postal_code, postcard_from_state, require_order_within_last, reviews_io_configured, sms_esp_twilio_uuid, sms_phone_number, transactional_esp_domain_user, transactional_esp_domain_uuid, transactional_esp_friendly_name].hash
282
+ [campaign_hourly_divisor, emails_per_day, emails_per_hour, emails_per_month, machine_open_ignore, marketing_esp_domain_user, marketing_esp_domain_uuid, marketing_esp_friendly_name, postcard_from_address1, postcard_from_address2, postcard_from_city, postcard_from_name, postcard_from_postal_code, postcard_from_state, require_order_within_last, reviews_io_configured, sms_esp_twilio_uuid, sms_phone_number, transactional_esp_domain_user, transactional_esp_domain_uuid, transactional_esp_friendly_name].hash
273
283
  end
274
284
 
275
285
  # Builds the object from hash
@@ -283,7 +283,7 @@ module UltracartClient
283
283
  # Check to see if the all the properties in the model are valid
284
284
  # @return true if the model is valid
285
285
  def valid?
286
- action_validator = EnumAttributeValidator.new('String', ["file.delete", "blog_post.delete", "file.put_script", "file.put_template", "redirect.delete_batch", "experiment.start", "experiment.end", "upsell.enable", "item.attribute_batch", "item.pricing", "item.preorder", "item.variations", "item.default_page", "twilio_account.delete", "sending_domain.delete", "sequence_step.delete", "sequence_step.move", "sequence_step.enable_postcard", "segment.update", "smart_attribution.change", "smart_attribution.delete", "tracking_provider.change", "tracking_provider.clear", "tracking_html.put", "affiliate_network.change", "affiliate_network.delete", "site_seo.change", "transactional_email.update", "comms_settings.update", "comms_list.import", "postcard.test_mail", "flow.backfill", "page.move", "cli.location"])
286
+ action_validator = EnumAttributeValidator.new('String', ["file.delete", "blog_post.delete", "file.put_script", "file.put_template", "redirect.delete_batch", "experiment.start", "experiment.end", "upsell.enable", "item.attribute_batch", "item.pricing", "item.preorder", "item.variations", "item.default_page", "twilio_account.delete", "sending_domain.delete", "sequence_step.delete", "sequence_step.move", "sequence_step.enable_postcard", "segment.update", "smart_attribution.change", "smart_attribution.delete", "tracking_provider.change", "tracking_provider.clear", "tracking_html.put", "affiliate_network.change", "affiliate_network.delete", "site_seo.change", "transactional_email.update", "comms_settings.update", "comms_list.import", "postcard.test_mail", "flow.backfill", "page.move", "storefront_cache.flush", "cli.location"])
287
287
  return false unless action_validator.valid?(@action)
288
288
  true
289
289
  end
@@ -291,7 +291,7 @@ module UltracartClient
291
291
  # Custom attribute writer method checking allowed values (enum).
292
292
  # @param [Object] action Object to be assigned
293
293
  def action=(action)
294
- validator = EnumAttributeValidator.new('String', ["file.delete", "blog_post.delete", "file.put_script", "file.put_template", "redirect.delete_batch", "experiment.start", "experiment.end", "upsell.enable", "item.attribute_batch", "item.pricing", "item.preorder", "item.variations", "item.default_page", "twilio_account.delete", "sending_domain.delete", "sequence_step.delete", "sequence_step.move", "sequence_step.enable_postcard", "segment.update", "smart_attribution.change", "smart_attribution.delete", "tracking_provider.change", "tracking_provider.clear", "tracking_html.put", "affiliate_network.change", "affiliate_network.delete", "site_seo.change", "transactional_email.update", "comms_settings.update", "comms_list.import", "postcard.test_mail", "flow.backfill", "page.move", "cli.location"])
294
+ validator = EnumAttributeValidator.new('String', ["file.delete", "blog_post.delete", "file.put_script", "file.put_template", "redirect.delete_batch", "experiment.start", "experiment.end", "upsell.enable", "item.attribute_batch", "item.pricing", "item.preorder", "item.variations", "item.default_page", "twilio_account.delete", "sending_domain.delete", "sequence_step.delete", "sequence_step.move", "sequence_step.enable_postcard", "segment.update", "smart_attribution.change", "smart_attribution.delete", "tracking_provider.change", "tracking_provider.clear", "tracking_html.put", "affiliate_network.change", "affiliate_network.delete", "site_seo.change", "transactional_email.update", "comms_settings.update", "comms_list.import", "postcard.test_mail", "flow.backfill", "page.move", "storefront_cache.flush", "cli.location"])
295
295
  unless validator.valid?(action)
296
296
  fail ArgumentError, "invalid value for \"action\", must be one of #{validator.allowable_values}."
297
297
  end
@@ -11,5 +11,5 @@ OpenAPI Generator version: 6.0.1-SNAPSHOT
11
11
  =end
12
12
 
13
13
  module UltracartClient
14
- VERSION = '4.1.257'
14
+ VERSION = '4.1.259'
15
15
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ultracart_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.1.257
4
+ version: 4.1.259
5
5
  platform: ruby
6
6
  authors:
7
7
  - UltraCart
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-11-19 00:00:00.000000000 Z
11
+ date: 2026-11-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus