ultracart_api 4.1.233 → 4.1.235

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.
Files changed (37) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +17 -2
  3. data/docs/SfvbApi.md +178 -5
  4. data/docs/SfvbApprovalParams.md +1 -1
  5. data/docs/SfvbCommsLookupOwner.md +2 -0
  6. data/docs/SfvbCommsLookupResponse.md +2 -0
  7. data/docs/SfvbPreviewTrackingHtmlRequest.md +20 -0
  8. data/docs/SfvbServerLog.md +1 -1
  9. data/docs/SfvbTrackingCheckPlan.md +42 -0
  10. data/docs/SfvbTrackingCheckPlanEvent.md +22 -0
  11. data/docs/SfvbTrackingCheckPlanGate.md +20 -0
  12. data/docs/SfvbTrackingCheckPlanProvider.md +34 -0
  13. data/docs/SfvbTrackingCheckPlanRequest.md +24 -0
  14. data/docs/SfvbTrackingCheckPlanServerSide.md +20 -0
  15. data/docs/SfvbTrackingCheckPlanUnchecked.md +20 -0
  16. data/docs/SfvbTrackingHtmlRenderRequest.md +20 -0
  17. data/docs/SfvbTrackingHtmlRenderResponse.md +32 -0
  18. data/docs/SfvbTrackingProvider.md +2 -0
  19. data/lib/ultracart_api/api/sfvb_api.rb +255 -4
  20. data/lib/ultracart_api/models/sfvb_approval_params.rb +1 -1
  21. data/lib/ultracart_api/models/sfvb_comms_lookup_owner.rb +11 -1
  22. data/lib/ultracart_api/models/sfvb_comms_lookup_response.rb +11 -1
  23. data/lib/ultracart_api/models/sfvb_preview_tracking_html_request.rb +230 -0
  24. data/lib/ultracart_api/models/sfvb_server_log.rb +1 -1
  25. data/lib/ultracart_api/models/sfvb_tracking_check_plan.rb +394 -0
  26. data/lib/ultracart_api/models/sfvb_tracking_check_plan_event.rb +274 -0
  27. data/lib/ultracart_api/models/sfvb_tracking_check_plan_gate.rb +276 -0
  28. data/lib/ultracart_api/models/sfvb_tracking_check_plan_provider.rb +349 -0
  29. data/lib/ultracart_api/models/sfvb_tracking_check_plan_request.rb +284 -0
  30. data/lib/ultracart_api/models/sfvb_tracking_check_plan_server_side.rb +230 -0
  31. data/lib/ultracart_api/models/sfvb_tracking_check_plan_unchecked.rb +230 -0
  32. data/lib/ultracart_api/models/sfvb_tracking_html_render_request.rb +230 -0
  33. data/lib/ultracart_api/models/sfvb_tracking_html_render_response.rb +328 -0
  34. data/lib/ultracart_api/models/sfvb_tracking_provider.rb +11 -1
  35. data/lib/ultracart_api/version.rb +1 -1
  36. data/lib/ultracart_api.rb +10 -0
  37. metadata +22 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: dea0377c91abc70344fa313cb83d06d12cd477b6e33e24e1a2e085e3046025d8
4
- data.tar.gz: 2b0c4b96fbd2ade73660101b6a1ce7ff17c4de207030cba15640218af07bffc6
3
+ metadata.gz: ac32f76433609048c8b0555c699ae2dba08997e7f823c82fe1aa05e8c7c6211e
4
+ data.tar.gz: a6229e20f7b613674841e39972457e794eb0e0d1b691ddc5119fe5d9c5224d3c
5
5
  SHA512:
6
- metadata.gz: eecaed9c534531fa3298b17b68f89a22804f97f17238841b8bd58615173627ce3fe09efa81350658a9fd344665f8850cfda5fb667ebd06b1f6441517c5a1c19b
7
- data.tar.gz: 770c6bf348349aab6a379e8e05ffa488957474477997ff9aefeed7abf1a3a33fe45f171a3029183969c2540abcefd33ab1e39502ebcb02badbdc07c8f4bfc0b4
6
+ metadata.gz: f67c0a2840d6d0e993d1e51e658897b5d6e9e2ec1df38a0d209006813c05ac45f0a200f2d109da7a052528f256df81541a4518c7e51efb93bfac347b67d09774
7
+ data.tar.gz: f29f3f76421ce59f0cb1a437666976ac9432ee64f117f4b2da56e14dcd0d0384ca8912c13be082de5a400ad2fcb72b2add2c6242bad5265f32340425ea814071
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.233
10
+ - Package version: 4.1.235
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.233'
19
+ gem 'ultracart_api', '4.1.235'
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
@@ -699,6 +700,7 @@ Class | Method | HTTP request | Description
699
700
  *UltracartClient::SfvbApi* | [**put_sfvb_page_selectors**](docs/SfvbApi.md#put_sfvb_page_selectors) | **PUT** /sfvb/storefronts/{storefront_oid}/pages/selectors | Replace a page's selectors
700
701
  *UltracartClient::SfvbApi* | [**put_sfvb_page_settings**](docs/SfvbApi.md#put_sfvb_page_settings) | **PUT** /sfvb/storefronts/{storefront_oid}/pages/settings | Change a page's settings
701
702
  *UltracartClient::SfvbApi* | [**put_sfvb_preview_session**](docs/SfvbApi.md#put_sfvb_preview_session) | **PUT** /sfvb/storefronts/{storefront_oid}/preview_sessions/{preview_session_id} | Push containers into a preview session
703
+ *UltracartClient::SfvbApi* | [**put_sfvb_preview_tracking_html**](docs/SfvbApi.md#put_sfvb_preview_tracking_html) | **PUT** /sfvb/storefronts/{storefront_oid}/preview_sessions/{preview_session_id}/tracking_html | Stage custom tracking HTML in a preview session
702
704
  *UltracartClient::SfvbApi* | [**put_sfvb_recording_settings**](docs/SfvbApi.md#put_sfvb_recording_settings) | **PUT** /sfvb/storefronts/{storefront_oid}/recording_settings | Turn the storefront's screen recording on or off
703
705
  *UltracartClient::SfvbApi* | [**put_sfvb_site_attributes**](docs/SfvbApi.md#put_sfvb_site_attributes) | **PUT** /sfvb/storefronts/{storefront_oid}/attributes | Change a storefront's site attributes
704
706
  *UltracartClient::SfvbApi* | [**put_sfvb_theme_attributes**](docs/SfvbApi.md#put_sfvb_theme_attributes) | **PUT** /sfvb/storefronts/{storefront_oid}/themes/{theme_oid}/attributes | Change a theme's colors, fonts and settings
@@ -707,6 +709,7 @@ Class | Method | HTTP request | Description
707
709
  *UltracartClient::SfvbApi* | [**remove_sfvb_page_blog_posts**](docs/SfvbApi.md#remove_sfvb_page_blog_posts) | **POST** /sfvb/storefronts/{storefront_oid}/pages/blog_posts/remove | Take blog posts off a page
708
710
  *UltracartClient::SfvbApi* | [**remove_sfvb_page_items**](docs/SfvbApi.md#remove_sfvb_page_items) | **POST** /sfvb/storefronts/{storefront_oid}/pages/items/remove | Take items off a page
709
711
  *UltracartClient::SfvbApi* | [**render_sfvb_email**](docs/SfvbApi.md#render_sfvb_email) | **POST** /sfvb/storefronts/{storefront_oid}/emails/{email_uuid}/render | Render a flow or campaign email without sending it
712
+ *UltracartClient::SfvbApi* | [**render_sfvb_tracking_html**](docs/SfvbApi.md#render_sfvb_tracking_html) | **POST** /sfvb/storefronts/{storefront_oid}/tracking/html/{slot}/render | Render the Conversion HTML against a test order
710
713
  *UltracartClient::SfvbApi* | [**render_sfvb_transactional_email**](docs/SfvbApi.md#render_sfvb_transactional_email) | **POST** /sfvb/storefronts/{storefront_oid}/transactional_emails/{file_name}/render | Render a transactional email without sending it
711
714
  *UltracartClient::SfvbApi* | [**render_sfvb_widgets**](docs/SfvbApi.md#render_sfvb_widgets) | **POST** /sfvb/storefronts/{storefront_oid}/themes/{theme_oid}/render | Render a CJSON node to HTML
712
715
  *UltracartClient::SfvbApi* | [**reserve_sfvb_widget_ids**](docs/SfvbApi.md#reserve_sfvb_widget_ids) | **POST** /sfvb/storefronts/{storefront_oid}/widget_ids | Reserve a block of widget ids
@@ -2224,6 +2227,7 @@ Class | Method | HTTP request | Description
2224
2227
  - [UltracartClient::SfvbPreviewAccessResponse](docs/SfvbPreviewAccessResponse.md)
2225
2228
  - [UltracartClient::SfvbPreviewSessionRequest](docs/SfvbPreviewSessionRequest.md)
2226
2229
  - [UltracartClient::SfvbPreviewSessionResponse](docs/SfvbPreviewSessionResponse.md)
2230
+ - [UltracartClient::SfvbPreviewTrackingHtmlRequest](docs/SfvbPreviewTrackingHtmlRequest.md)
2227
2231
  - [UltracartClient::SfvbPreviewUrlResponse](docs/SfvbPreviewUrlResponse.md)
2228
2232
  - [UltracartClient::SfvbRecording](docs/SfvbRecording.md)
2229
2233
  - [UltracartClient::SfvbRecordingEvent](docs/SfvbRecordingEvent.md)
@@ -2313,7 +2317,16 @@ Class | Method | HTTP request | Description
2313
2317
  - [UltracartClient::SfvbTrackingAdvanced](docs/SfvbTrackingAdvanced.md)
2314
2318
  - [UltracartClient::SfvbTrackingAdvancedRequest](docs/SfvbTrackingAdvancedRequest.md)
2315
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)
2316
2327
  - [UltracartClient::SfvbTrackingHtml](docs/SfvbTrackingHtml.md)
2328
+ - [UltracartClient::SfvbTrackingHtmlRenderRequest](docs/SfvbTrackingHtmlRenderRequest.md)
2329
+ - [UltracartClient::SfvbTrackingHtmlRenderResponse](docs/SfvbTrackingHtmlRenderResponse.md)
2317
2330
  - [UltracartClient::SfvbTrackingHtmlRequest](docs/SfvbTrackingHtmlRequest.md)
2318
2331
  - [UltracartClient::SfvbTrackingHtmlResponse](docs/SfvbTrackingHtmlResponse.md)
2319
2332
  - [UltracartClient::SfvbTrackingPrivacy](docs/SfvbTrackingPrivacy.md)
@@ -2527,6 +2540,8 @@ Not every change is committed to every SDK.
2527
2540
 
2528
2541
  | Version | Date | Comments |
2529
2542
  | --: | :-: | --- |
2543
+ | 4.1.235 | 11/09/2026 | sfvb internal testing |
2544
+ | 4.1.234 | 11/09/2026 | sfvb internal testing |
2530
2545
  | 4.1.233 | 11/06/2026 | sfvb internal testing |
2531
2546
  | 4.1.232 | 11/05/2026 | sfvb internal testing |
2532
2547
  | 4.1.231 | 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 |
@@ -227,6 +228,7 @@ All URIs are relative to *https://secure.ultracart.com/rest/v2*
227
228
  | [**put_sfvb_page_selectors**](SfvbApi.md#put_sfvb_page_selectors) | **PUT** /sfvb/storefronts/{storefront_oid}/pages/selectors | Replace a page's selectors |
228
229
  | [**put_sfvb_page_settings**](SfvbApi.md#put_sfvb_page_settings) | **PUT** /sfvb/storefronts/{storefront_oid}/pages/settings | Change a page's settings |
229
230
  | [**put_sfvb_preview_session**](SfvbApi.md#put_sfvb_preview_session) | **PUT** /sfvb/storefronts/{storefront_oid}/preview_sessions/{preview_session_id} | Push containers into a preview session |
231
+ | [**put_sfvb_preview_tracking_html**](SfvbApi.md#put_sfvb_preview_tracking_html) | **PUT** /sfvb/storefronts/{storefront_oid}/preview_sessions/{preview_session_id}/tracking_html | Stage custom tracking HTML in a preview session |
230
232
  | [**put_sfvb_recording_settings**](SfvbApi.md#put_sfvb_recording_settings) | **PUT** /sfvb/storefronts/{storefront_oid}/recording_settings | Turn the storefront's screen recording on or off |
231
233
  | [**put_sfvb_site_attributes**](SfvbApi.md#put_sfvb_site_attributes) | **PUT** /sfvb/storefronts/{storefront_oid}/attributes | Change a storefront's site attributes |
232
234
  | [**put_sfvb_theme_attributes**](SfvbApi.md#put_sfvb_theme_attributes) | **PUT** /sfvb/storefronts/{storefront_oid}/themes/{theme_oid}/attributes | Change a theme's colors, fonts and settings |
@@ -235,6 +237,7 @@ All URIs are relative to *https://secure.ultracart.com/rest/v2*
235
237
  | [**remove_sfvb_page_blog_posts**](SfvbApi.md#remove_sfvb_page_blog_posts) | **POST** /sfvb/storefronts/{storefront_oid}/pages/blog_posts/remove | Take blog posts off a page |
236
238
  | [**remove_sfvb_page_items**](SfvbApi.md#remove_sfvb_page_items) | **POST** /sfvb/storefronts/{storefront_oid}/pages/items/remove | Take items off a page |
237
239
  | [**render_sfvb_email**](SfvbApi.md#render_sfvb_email) | **POST** /sfvb/storefronts/{storefront_oid}/emails/{email_uuid}/render | Render a flow or campaign email without sending it |
240
+ | [**render_sfvb_tracking_html**](SfvbApi.md#render_sfvb_tracking_html) | **POST** /sfvb/storefronts/{storefront_oid}/tracking/html/{slot}/render | Render the Conversion HTML against a test order |
238
241
  | [**render_sfvb_transactional_email**](SfvbApi.md#render_sfvb_transactional_email) | **POST** /sfvb/storefronts/{storefront_oid}/transactional_emails/{file_name}/render | Render a transactional email without sending it |
239
242
  | [**render_sfvb_widgets**](SfvbApi.md#render_sfvb_widgets) | **POST** /sfvb/storefronts/{storefront_oid}/themes/{theme_oid}/render | Render a CJSON node to HTML |
240
243
  | [**reserve_sfvb_widget_ids**](SfvbApi.md#reserve_sfvb_widget_ids) | **POST** /sfvb/storefronts/{storefront_oid}/widget_ids | Reserve a block of widget ids |
@@ -2430,11 +2433,11 @@ nil (empty response body)
2430
2433
 
2431
2434
  ## delete_sfvb_tracking_provider
2432
2435
 
2433
- > <SfvbTrackingProvider> delete_sfvb_tracking_provider(storefront_oid, provider, if_match)
2436
+ > <SfvbTrackingProvider> delete_sfvb_tracking_provider(storefront_oid, provider, if_match, opts)
2434
2437
 
2435
2438
  Clear one tracking provider
2436
2439
 
2437
- Clears every field and secret the API can change, the consent gate and the events, and turns off Google Tag Gateway. The provider stops being sent anything. An OAuth connection is left alone, and notes say to disconnect it in the admin. Send the provider's hash_sha256 as If-Match. Needs sfvb_publish. No approval.
2440
+ Clears every field and secret the API can change, the consent gate and the events, and turns off Google Tag Gateway. An OAuth connection is left alone, and notes say to disconnect it in the admin. Send the provider's hash_sha256 as If-Match. Needs sfvb_publish. dry_run=true reports the changes, and approval_needed, without clearing. No approval, except when the clear removes a consent gate while something outside the provider's fields still fires it (Google Ads for an affiliate's own Google conversion id, Commission Junction for an affiliate network of its type): that needs an approved tracking_provider.clear request for the provider (Approval-Id).
2438
2441
 
2439
2442
 
2440
2443
  ### Examples
@@ -2447,12 +2450,12 @@ Clears every field and secret the API can change, the consent gate and the event
2447
2450
 
2448
2451
  This returns an Array which contains the response data, status code and headers.
2449
2452
 
2450
- > <Array(<SfvbTrackingProvider>, Integer, Hash)> delete_sfvb_tracking_provider_with_http_info(storefront_oid, provider, if_match)
2453
+ > <Array(<SfvbTrackingProvider>, Integer, Hash)> delete_sfvb_tracking_provider_with_http_info(storefront_oid, provider, if_match, opts)
2451
2454
 
2452
2455
  ```ruby
2453
2456
  begin
2454
2457
  # Clear one tracking provider
2455
- data, status_code, headers = api_instance.delete_sfvb_tracking_provider_with_http_info(storefront_oid, provider, if_match)
2458
+ data, status_code, headers = api_instance.delete_sfvb_tracking_provider_with_http_info(storefront_oid, provider, if_match, opts)
2456
2459
  p status_code # => 2xx
2457
2460
  p headers # => { ... }
2458
2461
  p data # => <SfvbTrackingProvider>
@@ -2468,6 +2471,8 @@ end
2468
2471
  | **storefront_oid** | **Integer** | | |
2469
2472
  | **provider** | **String** | | |
2470
2473
  | **if_match** | **String** | The provider&#39;s hash_sha256 from the last read. 428 when absent, 412 when stale. | |
2474
+ | **dry_run** | **Boolean** | | [optional] |
2475
+ | **approval_id** | **String** | When the clear removes a consent gate while something else still fires the provider, the approval_id of an approved tracking_provider.clear request for it. See POST /sfvb/approvals. | [optional] |
2471
2476
 
2472
2477
  ### Return type
2473
2478
 
@@ -4601,7 +4606,7 @@ end
4601
4606
 
4602
4607
  Find which storefront a communications uuid lives on
4603
4608
 
4604
- Takes a campaign, flow, sequence, step, email, postcard, list or segment uuid and says which of this account's storefronts it is on, what it is, the campaign or flow it belongs to, and the command that reads it. A uuid nothing on this account has, another account's included, is 404. Read only.
4609
+ Takes a campaign, flow, sequence, step, email, postcard, list or segment uuid and says which of this account's storefronts it is on, what it is, the campaign or flow it belongs to, and the command that reads it. An archived campaign or flow is found too, with archived true, and owner.archived is true when what was found belongs to one. A uuid nothing on this account has, another account's included, and a deleted step, email, postcard, list or segment, is 404. Read only.
4605
4610
 
4606
4611
 
4607
4612
  ### Examples
@@ -8218,6 +8223,64 @@ end
8218
8223
  - **Accept**: application/json
8219
8224
 
8220
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
+
8221
8284
  ## get_sfvb_tracking_html
8222
8285
 
8223
8286
  > <SfvbTrackingHtml> get_sfvb_tracking_html(storefront_oid, slot)
@@ -12450,6 +12513,61 @@ end
12450
12513
  - **Accept**: application/json
12451
12514
 
12452
12515
 
12516
+ ## put_sfvb_preview_tracking_html
12517
+
12518
+ > <SfvbTrackingHtmlResponse> put_sfvb_preview_tracking_html(storefront_oid, preview_session_id, preview_tracking_html)
12519
+
12520
+ Stage custom tracking HTML in a preview session
12521
+
12522
+ Runs Tracking HTML, Conversion HTML or both instead of the storefront's live slots, only in a browser that opened this session's preview access link, so a page can be checked before the write is approved. Staged Conversion HTML runs only on a test order's receipt. Each slot gets the same checks as a write. An empty string unstages a slot; a slot left out is left as it is. Containers pushed to the session later keep what is staged. Needs sfvb_write and a token that resolves to a user; no approval, since nothing durable is written and only that user's own session runs it.
12523
+
12524
+
12525
+ ### Examples
12526
+
12527
+
12528
+ (No example for this operation).
12529
+
12530
+
12531
+ #### Using the put_sfvb_preview_tracking_html_with_http_info variant
12532
+
12533
+ This returns an Array which contains the response data, status code and headers.
12534
+
12535
+ > <Array(<SfvbTrackingHtmlResponse>, Integer, Hash)> put_sfvb_preview_tracking_html_with_http_info(storefront_oid, preview_session_id, preview_tracking_html)
12536
+
12537
+ ```ruby
12538
+ begin
12539
+ # Stage custom tracking HTML in a preview session
12540
+ data, status_code, headers = api_instance.put_sfvb_preview_tracking_html_with_http_info(storefront_oid, preview_session_id, preview_tracking_html)
12541
+ p status_code # => 2xx
12542
+ p headers # => { ... }
12543
+ p data # => <SfvbTrackingHtmlResponse>
12544
+ rescue UltracartClient::ApiError => e
12545
+ puts "Error when calling SfvbApi->put_sfvb_preview_tracking_html_with_http_info: #{e}"
12546
+ end
12547
+ ```
12548
+
12549
+ ### Parameters
12550
+
12551
+ | Name | Type | Description | Notes |
12552
+ | ---- | ---- | ----------- | ----- |
12553
+ | **storefront_oid** | **Integer** | | |
12554
+ | **preview_session_id** | **String** | | |
12555
+ | **preview_tracking_html** | [**SfvbPreviewTrackingHtmlRequest**](SfvbPreviewTrackingHtmlRequest.md) | The HTML to stage | |
12556
+
12557
+ ### Return type
12558
+
12559
+ [**SfvbTrackingHtmlResponse**](SfvbTrackingHtmlResponse.md)
12560
+
12561
+ ### Authorization
12562
+
12563
+ [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
12564
+
12565
+ ### HTTP request headers
12566
+
12567
+ - **Content-Type**: application/json; charset=UTF-8
12568
+ - **Accept**: application/json
12569
+
12570
+
12453
12571
  ## put_sfvb_recording_settings
12454
12572
 
12455
12573
  > <SfvbRecordingSettingsResponse> put_sfvb_recording_settings(storefront_oid, recording_settings_request)
@@ -12885,6 +13003,61 @@ end
12885
13003
  - **Accept**: application/json
12886
13004
 
12887
13005
 
13006
+ ## render_sfvb_tracking_html
13007
+
13008
+ > <SfvbTrackingHtmlRenderResponse> render_sfvb_tracking_html(storefront_oid, slot, tracking_html_render_request)
13009
+
13010
+ Render the Conversion HTML against a test order
13011
+
13012
+ The Conversion HTML as the receipt of that order would inject it: order tokens filled, then Velocity run with $order, $conversion and $formatHelper. Renders the stored slot, or content when it is sent (a draft, checked as a write is). Only a test order on this account may be used; a real or unknown order is refused the same way. Nothing is saved, injected or sent: the receipt's provider pixels, analytics and postbacks do not run, and a token that would write something ([CouponForNewAffiliate=...]) is left as written. Only the conversion slot renders; tracking HTML is checked by staging it in a preview session.
13013
+
13014
+
13015
+ ### Examples
13016
+
13017
+
13018
+ (No example for this operation).
13019
+
13020
+
13021
+ #### Using the render_sfvb_tracking_html_with_http_info variant
13022
+
13023
+ This returns an Array which contains the response data, status code and headers.
13024
+
13025
+ > <Array(<SfvbTrackingHtmlRenderResponse>, Integer, Hash)> render_sfvb_tracking_html_with_http_info(storefront_oid, slot, tracking_html_render_request)
13026
+
13027
+ ```ruby
13028
+ begin
13029
+ # Render the Conversion HTML against a test order
13030
+ data, status_code, headers = api_instance.render_sfvb_tracking_html_with_http_info(storefront_oid, slot, tracking_html_render_request)
13031
+ p status_code # => 2xx
13032
+ p headers # => { ... }
13033
+ p data # => <SfvbTrackingHtmlRenderResponse>
13034
+ rescue UltracartClient::ApiError => e
13035
+ puts "Error when calling SfvbApi->render_sfvb_tracking_html_with_http_info: #{e}"
13036
+ end
13037
+ ```
13038
+
13039
+ ### Parameters
13040
+
13041
+ | Name | Type | Description | Notes |
13042
+ | ---- | ---- | ----------- | ----- |
13043
+ | **storefront_oid** | **Integer** | | |
13044
+ | **slot** | **String** | conversion | |
13045
+ | **tracking_html_render_request** | [**SfvbTrackingHtmlRenderRequest**](SfvbTrackingHtmlRenderRequest.md) | The test order, and optionally a draft | |
13046
+
13047
+ ### Return type
13048
+
13049
+ [**SfvbTrackingHtmlRenderResponse**](SfvbTrackingHtmlRenderResponse.md)
13050
+
13051
+ ### Authorization
13052
+
13053
+ [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
13054
+
13055
+ ### HTTP request headers
13056
+
13057
+ - **Content-Type**: application/json; charset=UTF-8
13058
+ - **Accept**: application/json
13059
+
13060
+
12888
13061
  ## render_sfvb_transactional_email
12889
13062
 
12890
13063
  > <SfvbEmailRenderResponse> render_sfvb_transactional_email(storefront_oid, file_name, email_render_request)
@@ -24,7 +24,7 @@
24
24
  | **side** | **String** | For sequence_step.move with branch_step_uuid, the side&#39;s label from the sequence read. | [optional] |
25
25
  | **slot** | **String** | For experiment.start of a page experiment, the page body name, which defaults to body. For tracking_html.put, tracking or conversion. | [optional] |
26
26
  | **step_uuid** | **String** | The step to remove, for sequence_step.delete, to move, for sequence_step.move, or to turn on, for sequence_step.enable_postcard. | [optional] |
27
- | **tracking_provider** | **String** | The tracking provider key, for tracking_provider.change. | [optional] |
27
+ | **tracking_provider** | **String** | The tracking provider key, for tracking_provider.change and tracking_provider.clear. | [optional] |
28
28
  | **upsell_kind** | **String** | For upsell.enable, what to switch on. | [optional] |
29
29
  | **upsell_oid** | **Integer** | For upsell.enable, the oid of the offer or path to switch on. | [optional] |
30
30
  | **version** | **Integer** | For file.put_script, the history version a revert restores. Leave it out, and send content instead, for a write. | [optional] |
@@ -4,6 +4,7 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
+ | **archived** | **Boolean** | True when the campaign or flow is archived. It sends nothing, and &#39;sf comms flows list&#39; or &#39;campaigns list&#39; shows it only with --include-deleted. | [optional] |
7
8
  | **live** | **Boolean** | True when it is sending now, by the same rule the sequence read uses. | [optional] |
8
9
  | **name** | **String** | Its name. | [optional] |
9
10
  | **status** | **String** | Its status as stored. | [optional] |
@@ -16,6 +17,7 @@
16
17
  require 'ultracart_api'
17
18
 
18
19
  instance = UltracartClient::SfvbCommsLookupOwner.new(
20
+ archived: null,
19
21
  live: null,
20
22
  name: null,
21
23
  status: null,
@@ -4,6 +4,7 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
+ | **archived** | **Boolean** | True when the uuid is an archived campaign or flow. It is still on its storefront and can be read; it sends nothing. | [optional] |
7
8
  | **communication_sequence_uuid** | **String** | The sequence it belongs to, when there is one. | [optional] |
8
9
  | **kind** | **String** | campaign, flow, sequence, step, email, postcard, list or segment. | [optional] |
9
10
  | **name** | **String** | The campaign, flow, list or segment name, or the email subject. | [optional] |
@@ -20,6 +21,7 @@
20
21
  require 'ultracart_api'
21
22
 
22
23
  instance = UltracartClient::SfvbCommsLookupResponse.new(
24
+ archived: null,
23
25
  communication_sequence_uuid: null,
24
26
  kind: null,
25
27
  name: null,
@@ -0,0 +1,20 @@
1
+ # UltracartClient::SfvbPreviewTrackingHtmlRequest
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **conversion_html** | **String** | Conversion HTML to run instead of the live slot on a test order&#39;s receipt opened through this session&#39;s preview access link. Never on a real order&#39;s receipt. An empty string unstages it. The same checks as a write apply. | [optional] |
8
+ | **tracking_html** | **String** | Tracking HTML to run instead of the live slot on pages opened through this session&#39;s preview access link. An empty string unstages it. The same checks as a write apply. | [optional] |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'ultracart_api'
14
+
15
+ instance = UltracartClient::SfvbPreviewTrackingHtmlRequest.new(
16
+ conversion_html: null,
17
+ tracking_html: null
18
+ )
19
+ ```
20
+
@@ -6,7 +6,7 @@
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **app_error** | **Boolean** | True when the render itself failed and the page could not be produced. | [optional] |
8
8
  | **duration_ms** | **Integer** | How long the render took in milliseconds. | [optional] |
9
- | **error_count** | **Integer** | Error lines in the log, including Velocity problems such as a null | [optional] |
9
+ | **error_count** | **Integer** | Error lines in the log, including Velocity problems such as setting a variable to null. | [optional] |
10
10
  | **line_count** | **Integer** | Lines in the full log text. | [optional] |
11
11
  | **log_id** | **String** | Opaque id of this log. Pass it to the get endpoint. Preview pages send the same id in the X-UltraCart-Storefront-Log-Id response header. | [optional] |
12
12
  | **request_template** | **String** | The template the page rendered with, when known. | [optional] |
@@ -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
+
@@ -0,0 +1,20 @@
1
+ # UltracartClient::SfvbTrackingHtmlRenderRequest
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **content** | **String** | HTML to render instead of the stored slot, such as a draft about to be written. The same checks as a write apply. Left out, the stored slot is rendered. | [optional] |
8
+ | **order_id** | **String** | A test order on this account, as sf orders test-orders lists them. A real or unknown order is refused the same way. | [optional] |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'ultracart_api'
14
+
15
+ instance = UltracartClient::SfvbTrackingHtmlRenderRequest.new(
16
+ content: null,
17
+ order_id: null
18
+ )
19
+ ```
20
+