ultracart_api 4.1.234 → 4.1.236

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: 75ffce8f1fa39e73d38e80da92b9873a7deaaf8fbfe5f4fc4f1598423cb0b990
4
- data.tar.gz: 0a4895f146c296ead35e15f72ec0f51352757a35992ff03cac97864c24f40ab9
3
+ metadata.gz: 2a8a77fdbcb06626612fb2c45143363c0fc2ce2a416fc40a2dff9d4b05fe4fb7
4
+ data.tar.gz: 57463d55c645b4cf69f4afdffa0d1cd3628c768362e5eda7e766f65c3c74426a
5
5
  SHA512:
6
- metadata.gz: 6e8447c9f9cfc8fc2829b3cf6a4d92b11ab6cd06967a1e4a4cd5c9eae1e35c5a877cc1fbff9d08d7080c7a752fcf99cc60047f40b7eeb225c04ee9c9ee3adfec
7
- data.tar.gz: 8e269bf1158c46beba9a0d44408ec031c76f39fe9e7f7c7d5bd5ca89b56eb517ffff52405925248fe96a1f7c002e20392030be8ef770a474d6bef71e33030907
6
+ metadata.gz: a91b11371c73f15d8cbf949696d5305183f0ae49c9c26ace14d4be6344965ec58c053deecabd2c87a764296db4c1d54e69540633377963bf272529de58507ebf
7
+ data.tar.gz: 71c5d24116ad8f3391d0d5d80a5bc49eba0b4a829a42a8dc5f6e921242c11a6fde17d03755e271db3c67a18f13fea3f009b85f1f4b7dda6a6af04700215dbe13
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.234
10
+ - Package version: 4.1.236
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.234'
19
+ gem 'ultracart_api', '4.1.236'
20
20
  ```
21
21
 
22
22
  install:
@@ -622,6 +622,7 @@ Class | Method | HTTP request | Description
622
622
  *UltracartClient::SfvbApi* | [**get_sfvb_theme**](docs/SfvbApi.md#get_sfvb_theme) | **GET** /sfvb/storefronts/{storefront_oid}/themes/{theme_oid} | Get a theme
623
623
  *UltracartClient::SfvbApi* | [**get_sfvb_theme_attributes**](docs/SfvbApi.md#get_sfvb_theme_attributes) | **GET** /sfvb/storefronts/{storefront_oid}/themes/{theme_oid}/attributes | Read a theme's colors, fonts and settings
624
624
  *UltracartClient::SfvbApi* | [**get_sfvb_theme_job**](docs/SfvbApi.md#get_sfvb_theme_job) | **GET** /sfvb/storefronts/{storefront_oid}/theme_jobs/{job_id} | Status of an asynchronous theme job
625
+ *UltracartClient::SfvbApi* | [**get_sfvb_tracking_check_plan**](docs/SfvbApi.md#get_sfvb_tracking_check_plan) | **GET** /sfvb/storefronts/{storefront_oid}/tracking/check_plan | Plan a browser check of a storefront's tracking
625
626
  *UltracartClient::SfvbApi* | [**get_sfvb_tracking_html**](docs/SfvbApi.md#get_sfvb_tracking_html) | **GET** /sfvb/storefronts/{storefront_oid}/tracking/html/{slot} | Read one custom tracking HTML slot
626
627
  *UltracartClient::SfvbApi* | [**get_sfvb_tracking_html_slots**](docs/SfvbApi.md#get_sfvb_tracking_html_slots) | **GET** /sfvb/storefronts/{storefront_oid}/tracking/html | List a storefront's custom tracking HTML slots
627
628
  *UltracartClient::SfvbApi* | [**get_sfvb_tracking_provider**](docs/SfvbApi.md#get_sfvb_tracking_provider) | **GET** /sfvb/storefronts/{storefront_oid}/tracking/providers/{provider} | Read one tracking provider
@@ -2316,6 +2317,13 @@ Class | Method | HTTP request | Description
2316
2317
  - [UltracartClient::SfvbTrackingAdvanced](docs/SfvbTrackingAdvanced.md)
2317
2318
  - [UltracartClient::SfvbTrackingAdvancedRequest](docs/SfvbTrackingAdvancedRequest.md)
2318
2319
  - [UltracartClient::SfvbTrackingChange](docs/SfvbTrackingChange.md)
2320
+ - [UltracartClient::SfvbTrackingCheckPlan](docs/SfvbTrackingCheckPlan.md)
2321
+ - [UltracartClient::SfvbTrackingCheckPlanEvent](docs/SfvbTrackingCheckPlanEvent.md)
2322
+ - [UltracartClient::SfvbTrackingCheckPlanGate](docs/SfvbTrackingCheckPlanGate.md)
2323
+ - [UltracartClient::SfvbTrackingCheckPlanProvider](docs/SfvbTrackingCheckPlanProvider.md)
2324
+ - [UltracartClient::SfvbTrackingCheckPlanRequest](docs/SfvbTrackingCheckPlanRequest.md)
2325
+ - [UltracartClient::SfvbTrackingCheckPlanServerSide](docs/SfvbTrackingCheckPlanServerSide.md)
2326
+ - [UltracartClient::SfvbTrackingCheckPlanUnchecked](docs/SfvbTrackingCheckPlanUnchecked.md)
2319
2327
  - [UltracartClient::SfvbTrackingHtml](docs/SfvbTrackingHtml.md)
2320
2328
  - [UltracartClient::SfvbTrackingHtmlRenderRequest](docs/SfvbTrackingHtmlRenderRequest.md)
2321
2329
  - [UltracartClient::SfvbTrackingHtmlRenderResponse](docs/SfvbTrackingHtmlRenderResponse.md)
@@ -2532,6 +2540,8 @@ Not every change is committed to every SDK.
2532
2540
 
2533
2541
  | Version | Date | Comments |
2534
2542
  | --: | :-: | --- |
2543
+ | 4.1.236 | 11/09/2026 | sfvb internal testing |
2544
+ | 4.1.235 | 11/09/2026 | sfvb internal testing |
2535
2545
  | 4.1.234 | 11/09/2026 | sfvb internal testing |
2536
2546
  | 4.1.233 | 11/06/2026 | sfvb internal testing |
2537
2547
  | 4.1.232 | 11/05/2026 | sfvb internal testing |
data/docs/SfvbApi.md CHANGED
@@ -150,6 +150,7 @@ All URIs are relative to *https://secure.ultracart.com/rest/v2*
150
150
  | [**get_sfvb_theme**](SfvbApi.md#get_sfvb_theme) | **GET** /sfvb/storefronts/{storefront_oid}/themes/{theme_oid} | Get a theme |
151
151
  | [**get_sfvb_theme_attributes**](SfvbApi.md#get_sfvb_theme_attributes) | **GET** /sfvb/storefronts/{storefront_oid}/themes/{theme_oid}/attributes | Read a theme's colors, fonts and settings |
152
152
  | [**get_sfvb_theme_job**](SfvbApi.md#get_sfvb_theme_job) | **GET** /sfvb/storefronts/{storefront_oid}/theme_jobs/{job_id} | Status of an asynchronous theme job |
153
+ | [**get_sfvb_tracking_check_plan**](SfvbApi.md#get_sfvb_tracking_check_plan) | **GET** /sfvb/storefronts/{storefront_oid}/tracking/check_plan | Plan a browser check of a storefront's tracking |
153
154
  | [**get_sfvb_tracking_html**](SfvbApi.md#get_sfvb_tracking_html) | **GET** /sfvb/storefronts/{storefront_oid}/tracking/html/{slot} | Read one custom tracking HTML slot |
154
155
  | [**get_sfvb_tracking_html_slots**](SfvbApi.md#get_sfvb_tracking_html_slots) | **GET** /sfvb/storefronts/{storefront_oid}/tracking/html | List a storefront's custom tracking HTML slots |
155
156
  | [**get_sfvb_tracking_provider**](SfvbApi.md#get_sfvb_tracking_provider) | **GET** /sfvb/storefronts/{storefront_oid}/tracking/providers/{provider} | Read one tracking provider |
@@ -8222,6 +8223,64 @@ end
8222
8223
  - **Accept**: application/json
8223
8224
 
8224
8225
 
8226
+ ## get_sfvb_tracking_check_plan
8227
+
8228
+ > <SfvbTrackingCheckPlan> get_sfvb_tracking_check_plan(storefront_oid, path, opts)
8229
+
8230
+ Plan a browser check of a storefront's tracking
8231
+
8232
+ What each tracking provider should load on one page, for page_view or a test order's purchase, under a consent state and region, with the requests and calls to look for and the ones that must not appear. Built from the same rules the storefront's tracking templates follow, never by running them, so nothing is sent to any provider. Includes the hosts the storefront's custom and affiliate network HTML loads, the sends made from UltraCart servers, and a snippet that collects what the browser saw. Grade the results locally; they are never sent here. With neither consent nor region, every provider is listed with the gate that holds it back. A purchase needs a test order on this account.
8233
+
8234
+
8235
+ ### Examples
8236
+
8237
+
8238
+ (No example for this operation).
8239
+
8240
+
8241
+ #### Using the get_sfvb_tracking_check_plan_with_http_info variant
8242
+
8243
+ This returns an Array which contains the response data, status code and headers.
8244
+
8245
+ > <Array(<SfvbTrackingCheckPlan>, Integer, Hash)> get_sfvb_tracking_check_plan_with_http_info(storefront_oid, path, opts)
8246
+
8247
+ ```ruby
8248
+ begin
8249
+ # Plan a browser check of a storefront's tracking
8250
+ data, status_code, headers = api_instance.get_sfvb_tracking_check_plan_with_http_info(storefront_oid, path, opts)
8251
+ p status_code # => 2xx
8252
+ p headers # => { ... }
8253
+ p data # => <SfvbTrackingCheckPlan>
8254
+ rescue UltracartClient::ApiError => e
8255
+ puts "Error when calling SfvbApi->get_sfvb_tracking_check_plan_with_http_info: #{e}"
8256
+ end
8257
+ ```
8258
+
8259
+ ### Parameters
8260
+
8261
+ | Name | Type | Description | Notes |
8262
+ | ---- | ---- | ----------- | ----- |
8263
+ | **storefront_oid** | **Integer** | | |
8264
+ | **path** | **String** | A storefront page path, such as / or /checkout/receipt.html, with an optional query | |
8265
+ | **event** | **String** | page_view (the default) or purchase | [optional] |
8266
+ | **order_id** | **String** | For purchase, a test order on this account | [optional] |
8267
+ | **consent** | **String** | none, all, or a comma list of statistics, preferences and marketing | [optional] |
8268
+ | **region** | **String** | Where the browser is. eea, non-us or other | [optional] |
8269
+
8270
+ ### Return type
8271
+
8272
+ [**SfvbTrackingCheckPlan**](SfvbTrackingCheckPlan.md)
8273
+
8274
+ ### Authorization
8275
+
8276
+ [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
8277
+
8278
+ ### HTTP request headers
8279
+
8280
+ - **Content-Type**: Not defined
8281
+ - **Accept**: application/json
8282
+
8283
+
8225
8284
  ## get_sfvb_tracking_html
8226
8285
 
8227
8286
  > <SfvbTrackingHtml> get_sfvb_tracking_html(storefront_oid, slot)
@@ -0,0 +1,42 @@
1
+ # UltracartClient::SfvbTrackingCheckPlan
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **catalog_version** | **Integer** | The tracking provider catalog version the plan was built from. | [optional] |
8
+ | **consent** | **String** | The consent state the plan assumes. none, all, or the granted categories in the order statistics, preferences, marketing. Left out when the plan lists every gate instead. | [optional] |
9
+ | **event** | **String** | page_view, or purchase for a test order receipt. | [optional] |
10
+ | **notes** | **Array&lt;String&gt;** | What the plan assumes about the browser and the page. | [optional] |
11
+ | **order_id** | **String** | The test order a purchase plan is for. Left out for a page view. | [optional] |
12
+ | **path** | **String** | The page path the plan is for, as given. | [optional] |
13
+ | **plan_id** | **String** | The lowercase SHA-256 hex of the UTF-8 bytes of this response written as JSON without plan_id and snippet, with object keys sorted, no white space, and keys whose value is null left out, as JavaScript JSON.stringify writes values. A results file carries it, so the CLI can tell which plan the results belong to. | [optional] |
14
+ | **providers** | [**Array&lt;SfvbTrackingCheckPlanProvider&gt;**](SfvbTrackingCheckPlanProvider.md) | One entry per provider the storefront turns on for this event, then one per host found in custom or affiliate network HTML. | [optional] |
15
+ | **region** | **String** | Where the browser is, which decides which gates apply. eea, non-us or other. Left out when the plan lists every gate instead. | [optional] |
16
+ | **server_side** | [**Array&lt;SfvbTrackingCheckPlanServerSide&gt;**](SfvbTrackingCheckPlanServerSide.md) | What providers send from UltraCart servers for this event. The browser never sees these, so they are reported as not checked. | [optional] |
17
+ | **snippet** | **String** | The collector, the source of one JavaScript async arrow function. Run it with addInitScript before the action so it starts before the page scripts, then run it again with evaluate after the action. The second run waits for 3 seconds of quiet, or 15 seconds at most, and returns plan_id, page, collected_at, requests (url, initiator) and events (via, name, params). URLs keep only the query params the plan names for that host, and events only the params the plan names. It never reads cookies, storage or form fields and sends nothing anywhere. | [optional] |
18
+ | **storefront_oid** | **Integer** | The storefront. | [optional] |
19
+ | **unchecked** | [**Array&lt;SfvbTrackingCheckPlanUnchecked&gt;**](SfvbTrackingCheckPlanUnchecked.md) | What the plan could not predict, and why. | [optional] |
20
+
21
+ ## Example
22
+
23
+ ```ruby
24
+ require 'ultracart_api'
25
+
26
+ instance = UltracartClient::SfvbTrackingCheckPlan.new(
27
+ catalog_version: null,
28
+ consent: null,
29
+ event: null,
30
+ notes: null,
31
+ order_id: null,
32
+ path: null,
33
+ plan_id: null,
34
+ providers: null,
35
+ region: null,
36
+ server_side: null,
37
+ snippet: null,
38
+ storefront_oid: null,
39
+ unchecked: null
40
+ )
41
+ ```
42
+
@@ -0,0 +1,22 @@
1
+ # UltracartClient::SfvbTrackingCheckPlanEvent
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **name** | **String** | The event name or command. | [optional] |
8
+ | **params** | **Object** | Params the call must carry, as text. A star means present with any value. | [optional] |
9
+ | **via** | **String** | dataLayer, gtag or fbq. | [optional] |
10
+
11
+ ## Example
12
+
13
+ ```ruby
14
+ require 'ultracart_api'
15
+
16
+ instance = UltracartClient::SfvbTrackingCheckPlanEvent.new(
17
+ name: null,
18
+ params: null,
19
+ via: null
20
+ )
21
+ ```
22
+
@@ -0,0 +1,20 @@
1
+ # UltracartClient::SfvbTrackingCheckPlanGate
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **region** | **String** | Where the gate applies. all, eea or non_us. | [optional] |
8
+ | **type** | **String** | The consent category that must be granted. Statistics, Preferences or Marketing. | [optional] |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'ultracart_api'
14
+
15
+ instance = UltracartClient::SfvbTrackingCheckPlanGate.new(
16
+ region: null,
17
+ type: null
18
+ )
19
+ ```
20
+
@@ -0,0 +1,34 @@
1
+ # UltracartClient::SfvbTrackingCheckPlanProvider
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **events** | [**Array&lt;SfvbTrackingCheckPlanEvent&gt;**](SfvbTrackingCheckPlanEvent.md) | The dataLayer, gtag and fbq calls it makes, where the template makes them. | [optional] |
8
+ | **expect** | **String** | must_load, must_not_load (held back by a gate this consent state and region have not granted, or never sent for this event), or may_load (depends on something the plan cannot know). A missing may_load request is a warning, never a fail. | [optional] |
9
+ | **gate** | [**SfvbTrackingCheckPlanGate**](SfvbTrackingCheckPlanGate.md) | | [optional] |
10
+ | **name** | **String** | A name to show. | [optional] |
11
+ | **note** | **String** | Why the expectation is what it is, when that is not obvious. | [optional] |
12
+ | **provider** | **String** | The provider key, as tracking/providers names it. For custom or affiliate network HTML, the host. | [optional] |
13
+ | **requests** | [**Array&lt;SfvbTrackingCheckPlanRequest&gt;**](SfvbTrackingCheckPlanRequest.md) | The requests it makes. | [optional] |
14
+ | **source** | **String** | provider for a provider in the catalog, custom_html for the storefront Tracking or Conversion HTML, affiliate_network for an affiliate network pixel. | [optional] |
15
+ | **template** | **String** | The storefront template that writes it, tracking.vm or conversion.vm. Left out for custom and affiliate network HTML. | [optional] |
16
+
17
+ ## Example
18
+
19
+ ```ruby
20
+ require 'ultracart_api'
21
+
22
+ instance = UltracartClient::SfvbTrackingCheckPlanProvider.new(
23
+ events: null,
24
+ expect: null,
25
+ gate: null,
26
+ name: null,
27
+ note: null,
28
+ provider: null,
29
+ requests: null,
30
+ source: null,
31
+ template: null
32
+ )
33
+ ```
34
+
@@ -0,0 +1,24 @@
1
+ # UltracartClient::SfvbTrackingCheckPlanRequest
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **host** | **String** | The host, exactly, or with a leading star and dot for any subdomain. | [optional] |
8
+ | **kind** | **String** | script, beacon or pixel. | [optional] |
9
+ | **params** | **Object** | Query params that must be on the request. A star means present with any value. | [optional] |
10
+ | **path_prefix** | **String** | The start of the path. | [optional] |
11
+
12
+ ## Example
13
+
14
+ ```ruby
15
+ require 'ultracart_api'
16
+
17
+ instance = UltracartClient::SfvbTrackingCheckPlanRequest.new(
18
+ host: null,
19
+ kind: null,
20
+ params: null,
21
+ path_prefix: null
22
+ )
23
+ ```
24
+
@@ -0,0 +1,20 @@
1
+ # UltracartClient::SfvbTrackingCheckPlanServerSide
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **provider** | **String** | The provider key, or affiliate_network for affiliate network postbacks. | [optional] |
8
+ | **trigger** | **String** | What sends it. | [optional] |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'ultracart_api'
14
+
15
+ instance = UltracartClient::SfvbTrackingCheckPlanServerSide.new(
16
+ provider: null,
17
+ trigger: null
18
+ )
19
+ ```
20
+
@@ -0,0 +1,20 @@
1
+ # UltracartClient::SfvbTrackingCheckPlanUnchecked
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **source** | **String** | provider, custom_html or affiliate_network. | [optional] |
8
+ | **why** | **String** | What the plan left out, and why. | [optional] |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'ultracart_api'
14
+
15
+ instance = UltracartClient::SfvbTrackingCheckPlanUnchecked.new(
16
+ source: null,
17
+ why: null
18
+ )
19
+ ```
20
+
@@ -18,7 +18,7 @@
18
18
  | **hash_sha256** | **String** | The hash of the stored settings. A secret counts by its mask and length only. Send it as If-Match when changing or clearing the provider. | [optional] |
19
19
  | **key** | **String** | The provider key, such as facebook or google_analytics. | [optional] |
20
20
  | **name** | **String** | The name the admin shows. | [optional] |
21
- | **notes** | **Array&lt;String&gt;** | Anything the write left for a person to do, such as disconnecting an OAuth connection in the admin. | [optional] |
21
+ | **notes** | **Array&lt;String&gt;** | Anything for a person to know or do, such as a field the provider needs before it sends anything, or an OAuth connection to disconnect in the admin after a write. | [optional] |
22
22
  | **oauth** | [**SfvbTrackingProviderOauth**](SfvbTrackingProviderOauth.md) | | [optional] |
23
23
  | **server_side** | **String** | What the provider also sends from UltraCart&#39;s servers. A consent gate holds back only the browser pixel, not these. Absent when it sends nothing server side. | [optional] |
24
24
  | **wholesale_tiers** | [**Array&lt;SfvbTrackingWholesaleTier&gt;**](SfvbTrackingWholesaleTier.md) | For google_analytics, the account number per wholesale pricing tier. | [optional] |
@@ -10452,6 +10452,89 @@ module UltracartClient
10452
10452
  return data, status_code, headers
10453
10453
  end
10454
10454
 
10455
+ # Plan a browser check of a storefront's tracking
10456
+ # What each tracking provider should load on one page, for page_view or a test order's purchase, under a consent state and region, with the requests and calls to look for and the ones that must not appear. Built from the same rules the storefront's tracking templates follow, never by running them, so nothing is sent to any provider. Includes the hosts the storefront's custom and affiliate network HTML loads, the sends made from UltraCart servers, and a snippet that collects what the browser saw. Grade the results locally; they are never sent here. With neither consent nor region, every provider is listed with the gate that holds it back. A purchase needs a test order on this account.
10457
+ # @param storefront_oid [Integer]
10458
+ # @param path [String] A storefront page path, such as / or /checkout/receipt.html, with an optional query
10459
+ # @param [Hash] opts the optional parameters
10460
+ # @option opts [String] :event page_view (the default) or purchase
10461
+ # @option opts [String] :order_id For purchase, a test order on this account
10462
+ # @option opts [String] :consent none, all, or a comma list of statistics, preferences and marketing
10463
+ # @option opts [String] :region Where the browser is. eea, non-us or other
10464
+ # @return [SfvbTrackingCheckPlan]
10465
+ def get_sfvb_tracking_check_plan(storefront_oid, path, opts = {})
10466
+ data, _status_code, _headers = get_sfvb_tracking_check_plan_with_http_info(storefront_oid, path, opts)
10467
+ data
10468
+ end
10469
+
10470
+ # Plan a browser check of a storefront&#39;s tracking
10471
+ # What each tracking provider should load on one page, for page_view or a test order&#39;s purchase, under a consent state and region, with the requests and calls to look for and the ones that must not appear. Built from the same rules the storefront&#39;s tracking templates follow, never by running them, so nothing is sent to any provider. Includes the hosts the storefront&#39;s custom and affiliate network HTML loads, the sends made from UltraCart servers, and a snippet that collects what the browser saw. Grade the results locally; they are never sent here. With neither consent nor region, every provider is listed with the gate that holds it back. A purchase needs a test order on this account.
10472
+ # @param storefront_oid [Integer]
10473
+ # @param path [String] A storefront page path, such as / or /checkout/receipt.html, with an optional query
10474
+ # @param [Hash] opts the optional parameters
10475
+ # @option opts [String] :event page_view (the default) or purchase
10476
+ # @option opts [String] :order_id For purchase, a test order on this account
10477
+ # @option opts [String] :consent none, all, or a comma list of statistics, preferences and marketing
10478
+ # @option opts [String] :region Where the browser is. eea, non-us or other
10479
+ # @return [Array<(SfvbTrackingCheckPlan, Integer, Hash)>] SfvbTrackingCheckPlan data, response status code and response headers
10480
+ def get_sfvb_tracking_check_plan_with_http_info(storefront_oid, path, opts = {})
10481
+ if @api_client.config.debugging
10482
+ @api_client.config.logger.debug 'Calling API: SfvbApi.get_sfvb_tracking_check_plan ...'
10483
+ end
10484
+ # verify the required parameter 'storefront_oid' is set
10485
+ if @api_client.config.client_side_validation && storefront_oid.nil?
10486
+ fail ArgumentError, "Missing the required parameter 'storefront_oid' when calling SfvbApi.get_sfvb_tracking_check_plan"
10487
+ end
10488
+ # verify the required parameter 'path' is set
10489
+ if @api_client.config.client_side_validation && path.nil?
10490
+ fail ArgumentError, "Missing the required parameter 'path' when calling SfvbApi.get_sfvb_tracking_check_plan"
10491
+ end
10492
+ # resource path
10493
+ local_var_path = '/sfvb/storefronts/{storefront_oid}/tracking/check_plan'.sub('{' + 'storefront_oid' + '}', CGI.escape(storefront_oid.to_s))
10494
+
10495
+ # query parameters
10496
+ query_params = opts[:query_params] || {}
10497
+ query_params[:'path'] = path
10498
+ query_params[:'event'] = opts[:'event'] if !opts[:'event'].nil?
10499
+ query_params[:'order_id'] = opts[:'order_id'] if !opts[:'order_id'].nil?
10500
+ query_params[:'consent'] = opts[:'consent'] if !opts[:'consent'].nil?
10501
+ query_params[:'region'] = opts[:'region'] if !opts[:'region'].nil?
10502
+
10503
+ # header parameters
10504
+ header_params = opts[:header_params] || {}
10505
+ header_params['X-UltraCart-Api-Version'] = @api_client.select_header_api_version()
10506
+ # HTTP header 'Accept' (if needed)
10507
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
10508
+
10509
+ # form parameters
10510
+ form_params = opts[:form_params] || {}
10511
+
10512
+ # http body (model)
10513
+ post_body = opts[:debug_body]
10514
+
10515
+ # return_type
10516
+ return_type = opts[:debug_return_type] || 'SfvbTrackingCheckPlan'
10517
+
10518
+ # auth_names
10519
+ auth_names = opts[:debug_auth_names] || ['ultraCartOauth', 'ultraCartSimpleApiKey']
10520
+
10521
+ new_options = opts.merge(
10522
+ :operation => :"SfvbApi.get_sfvb_tracking_check_plan",
10523
+ :header_params => header_params,
10524
+ :query_params => query_params,
10525
+ :form_params => form_params,
10526
+ :body => post_body,
10527
+ :auth_names => auth_names,
10528
+ :return_type => return_type
10529
+ )
10530
+
10531
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
10532
+ if @api_client.config.debugging
10533
+ @api_client.config.logger.debug "API called: SfvbApi#get_sfvb_tracking_check_plan\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
10534
+ end
10535
+ return data, status_code, headers
10536
+ end
10537
+
10455
10538
  # Read one custom tracking HTML slot
10456
10539
  # The HTML with its Velocity tokens as stored, and the hash_sha256 a write sends back as If-Match.
10457
10540
  # @param storefront_oid [Integer]
@@ -239,7 +239,7 @@ module UltracartClient
239
239
  # Check to see if the all the properties in the model are valid
240
240
  # @return true if the model is valid
241
241
  def valid?
242
- action_validator = EnumAttributeValidator.new('String', ["file.delete", "blog_post.delete", "file.put_script", "redirect.delete_batch", "experiment.start", "experiment.end", "upsell.enable", "item.attribute_batch", "item.pricing", "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_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"])
242
+ action_validator = EnumAttributeValidator.new('String', ["file.delete", "blog_post.delete", "file.put_script", "redirect.delete_batch", "experiment.start", "experiment.end", "upsell.enable", "item.attribute_batch", "item.pricing", "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"])
243
243
  return false unless action_validator.valid?(@action)
244
244
  true
245
245
  end
@@ -247,7 +247,7 @@ module UltracartClient
247
247
  # Custom attribute writer method checking allowed values (enum).
248
248
  # @param [Object] action Object to be assigned
249
249
  def action=(action)
250
- validator = EnumAttributeValidator.new('String', ["file.delete", "blog_post.delete", "file.put_script", "redirect.delete_batch", "experiment.start", "experiment.end", "upsell.enable", "item.attribute_batch", "item.pricing", "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_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"])
250
+ validator = EnumAttributeValidator.new('String', ["file.delete", "blog_post.delete", "file.put_script", "redirect.delete_batch", "experiment.start", "experiment.end", "upsell.enable", "item.attribute_batch", "item.pricing", "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"])
251
251
  unless validator.valid?(action)
252
252
  fail ArgumentError, "invalid value for \"action\", must be one of #{validator.allowable_values}."
253
253
  end