ultracart_api 4.1.136 → 4.1.140

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 (103) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +87 -2
  3. data/docs/ChannelPartnerOrder.md +2 -0
  4. data/docs/ConversationApi.md +52 -0
  5. data/docs/ConversationPbxPayConnector.md +32 -0
  6. data/docs/ConversationPbxPayConnectorsResponse.md +26 -0
  7. data/docs/OrderChannelPartner.md +2 -0
  8. data/docs/SfvbApi.md +1933 -0
  9. data/docs/SfvbCompileRequest.md +26 -0
  10. data/docs/SfvbCompileResponse.md +28 -0
  11. data/docs/SfvbContainerResponse.md +36 -0
  12. data/docs/SfvbContainerRevertRequest.md +20 -0
  13. data/docs/SfvbContainerVersion.md +40 -0
  14. data/docs/SfvbContainerVersionsResponse.md +18 -0
  15. data/docs/SfvbContainerWriteRequest.md +24 -0
  16. data/docs/SfvbElement.md +20 -0
  17. data/docs/SfvbElementSchemaResponse.md +20 -0
  18. data/docs/SfvbElementsResponse.md +22 -0
  19. data/docs/SfvbErrorDetail.md +36 -0
  20. data/docs/SfvbFileContentResponse.md +38 -0
  21. data/docs/SfvbFileEntry.md +46 -0
  22. data/docs/SfvbFileRevertRequest.md +22 -0
  23. data/docs/SfvbFileSearchRequest.md +48 -0
  24. data/docs/SfvbFileSearchResponse.md +32 -0
  25. data/docs/SfvbFileVersion.md +34 -0
  26. data/docs/SfvbFileVersionsResponse.md +22 -0
  27. data/docs/SfvbFileWriteRequest.md +22 -0
  28. data/docs/SfvbFileWriteResponse.md +28 -0
  29. data/docs/SfvbFilesResponse.md +28 -0
  30. data/docs/SfvbLibraryEntry.md +38 -0
  31. data/docs/SfvbLibraryFacet.md +22 -0
  32. data/docs/SfvbLibraryResponse.md +28 -0
  33. data/docs/SfvbPreviewSessionRequest.md +20 -0
  34. data/docs/SfvbPreviewSessionResponse.md +30 -0
  35. data/docs/SfvbPreviewUrlResponse.md +30 -0
  36. data/docs/SfvbRenderRequest.md +40 -0
  37. data/docs/SfvbRenderResponse.md +28 -0
  38. data/docs/SfvbStorefront.md +22 -0
  39. data/docs/SfvbStorefrontsResponse.md +18 -0
  40. data/docs/SfvbTheme.md +36 -0
  41. data/docs/SfvbThemeDuplicateRequest.md +22 -0
  42. data/docs/SfvbThemeJobResponse.md +40 -0
  43. data/docs/SfvbThemesResponse.md +20 -0
  44. data/docs/SfvbUpsellOffer.md +34 -0
  45. data/docs/SfvbUpsellOffersResponse.md +18 -0
  46. data/docs/SfvbValidateRequest.md +26 -0
  47. data/docs/SfvbValidationResponse.md +24 -0
  48. data/docs/SfvbVelocityValidateRequest.md +20 -0
  49. data/docs/SfvbVersionResponse.md +36 -0
  50. data/docs/SfvbWhoamiResponse.md +36 -0
  51. data/docs/SfvbWidgetIdsResponse.md +22 -0
  52. data/lib/ultracart_api/api/conversation_api.rb +58 -0
  53. data/lib/ultracart_api/api/sfvb_api.rb +2565 -0
  54. data/lib/ultracart_api/models/channel_partner_order.rb +13 -1
  55. data/lib/ultracart_api/models/conversation_pbx_pay_connector.rb +426 -0
  56. data/lib/ultracart_api/models/conversation_pbx_pay_connectors_response.rb +258 -0
  57. data/lib/ultracart_api/models/order_channel_partner.rb +13 -1
  58. data/lib/ultracart_api/models/sfvb_compile_request.rb +260 -0
  59. data/lib/ultracart_api/models/sfvb_compile_response.rb +273 -0
  60. data/lib/ultracart_api/models/sfvb_container_response.rb +344 -0
  61. data/lib/ultracart_api/models/sfvb_container_revert_request.rb +230 -0
  62. data/lib/ultracart_api/models/sfvb_container_version.rb +376 -0
  63. data/lib/ultracart_api/models/sfvb_container_versions_response.rb +222 -0
  64. data/lib/ultracart_api/models/sfvb_container_write_request.rb +250 -0
  65. data/lib/ultracart_api/models/sfvb_element.rb +230 -0
  66. data/lib/ultracart_api/models/sfvb_element_schema_response.rb +230 -0
  67. data/lib/ultracart_api/models/sfvb_elements_response.rb +242 -0
  68. data/lib/ultracart_api/models/sfvb_error_detail.rb +346 -0
  69. data/lib/ultracart_api/models/sfvb_file_content_response.rb +320 -0
  70. data/lib/ultracart_api/models/sfvb_file_entry.rb +360 -0
  71. data/lib/ultracart_api/models/sfvb_file_revert_request.rb +240 -0
  72. data/lib/ultracart_api/models/sfvb_file_search_request.rb +370 -0
  73. data/lib/ultracart_api/models/sfvb_file_search_response.rb +292 -0
  74. data/lib/ultracart_api/models/sfvb_file_version.rb +300 -0
  75. data/lib/ultracart_api/models/sfvb_file_versions_response.rb +242 -0
  76. data/lib/ultracart_api/models/sfvb_file_write_request.rb +240 -0
  77. data/lib/ultracart_api/models/sfvb_file_write_response.rb +268 -0
  78. data/lib/ultracart_api/models/sfvb_files_response.rb +272 -0
  79. data/lib/ultracart_api/models/sfvb_library_entry.rb +322 -0
  80. data/lib/ultracart_api/models/sfvb_library_facet.rb +242 -0
  81. data/lib/ultracart_api/models/sfvb_library_response.rb +274 -0
  82. data/lib/ultracart_api/models/sfvb_preview_session_request.rb +230 -0
  83. data/lib/ultracart_api/models/sfvb_preview_session_response.rb +284 -0
  84. data/lib/ultracart_api/models/sfvb_preview_url_response.rb +280 -0
  85. data/lib/ultracart_api/models/sfvb_render_request.rb +330 -0
  86. data/lib/ultracart_api/models/sfvb_render_response.rb +274 -0
  87. data/lib/ultracart_api/models/sfvb_storefront.rb +240 -0
  88. data/lib/ultracart_api/models/sfvb_storefronts_response.rb +222 -0
  89. data/lib/ultracart_api/models/sfvb_theme.rb +310 -0
  90. data/lib/ultracart_api/models/sfvb_theme_duplicate_request.rb +240 -0
  91. data/lib/ultracart_api/models/sfvb_theme_job_response.rb +364 -0
  92. data/lib/ultracart_api/models/sfvb_themes_response.rb +232 -0
  93. data/lib/ultracart_api/models/sfvb_upsell_offer.rb +300 -0
  94. data/lib/ultracart_api/models/sfvb_upsell_offers_response.rb +222 -0
  95. data/lib/ultracart_api/models/sfvb_validate_request.rb +294 -0
  96. data/lib/ultracart_api/models/sfvb_validation_response.rb +256 -0
  97. data/lib/ultracart_api/models/sfvb_velocity_validate_request.rb +230 -0
  98. data/lib/ultracart_api/models/sfvb_version_response.rb +344 -0
  99. data/lib/ultracart_api/models/sfvb_whoami_response.rb +314 -0
  100. data/lib/ultracart_api/models/sfvb_widget_ids_response.rb +242 -0
  101. data/lib/ultracart_api/version.rb +1 -1
  102. data/lib/ultracart_api.rb +46 -0
  103. metadata +94 -2
@@ -0,0 +1,22 @@
1
+ # UltracartClient::SfvbLibraryFacet
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **display_name** | **String** | Human readable facet name. | [optional] |
8
+ | **name** | **String** | Facet key. Pass a chosen option back as facet_{name}={option}. | [optional] |
9
+ | **options** | **Array<String>** | Available values for this facet. | [optional] |
10
+
11
+ ## Example
12
+
13
+ ```ruby
14
+ require 'ultracart_api'
15
+
16
+ instance = UltracartClient::SfvbLibraryFacet.new(
17
+ display_name: null,
18
+ name: null,
19
+ options: null
20
+ )
21
+ ```
22
+
@@ -0,0 +1,28 @@
1
+ # UltracartClient::SfvbLibraryResponse
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **facets** | [**Array<SfvbLibraryFacet>**](SfvbLibraryFacet.md) | Available narrowing dimensions. Send a chosen option back as facet_{name}={option}. | [optional] |
8
+ | **first_result_number** | **Integer** | 1-indexed position of the first result on this page. | [optional] |
9
+ | **last_result_number** | **Integer** | 1-indexed position of the last result on this page. | [optional] |
10
+ | **results** | [**Array<SfvbLibraryEntry>**](SfvbLibraryEntry.md) | Matching library entries, without their CJSON. Fetch a single entry to get the fragment itself. | [optional] |
11
+ | **total_pages** | **Integer** | Total pages available. | [optional] |
12
+ | **total_results** | **Integer** | Total matches across all pages. | [optional] |
13
+
14
+ ## Example
15
+
16
+ ```ruby
17
+ require 'ultracart_api'
18
+
19
+ instance = UltracartClient::SfvbLibraryResponse.new(
20
+ facets: null,
21
+ first_result_number: null,
22
+ last_result_number: null,
23
+ results: null,
24
+ total_pages: null,
25
+ total_results: null
26
+ )
27
+ ```
28
+
@@ -0,0 +1,20 @@
1
+ # UltracartClient::SfvbPreviewSessionRequest
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **containers** | **Object** | Containers to preview, keyed by container id. Each value is a full container document. | [optional] |
8
+ | **theme_oid** | **Integer** | Theme to compile against. Supplies the inherit groups configuration. Defaults to the active theme. | [optional] |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'ultracart_api'
14
+
15
+ instance = UltracartClient::SfvbPreviewSessionRequest.new(
16
+ containers: null,
17
+ theme_oid: null
18
+ )
19
+ ```
20
+
@@ -0,0 +1,30 @@
1
+ # UltracartClient::SfvbPreviewSessionResponse
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **bytes_stored** | **Integer** | Bytes stored in this session by the request that returned this response. | [optional] |
8
+ | **expires_in_seconds** | **Integer** | Seconds until this session expires. | [optional] |
9
+ | **max_bytes** | **Integer** | Maximum bytes one preview session may hold. | [optional] |
10
+ | **owner_login** | **String** | Login this session belongs to. Sessions are keyed by user, not by token. | [optional] |
11
+ | **preview_session_id** | **String** | The preview session id. | [optional] |
12
+ | **skipped** | [**Array<SfvbErrorDetail>**](SfvbErrorDetail.md) | Containers that were sent but could not be stored, with the reason. | [optional] |
13
+ | **stored_keys** | **Array<String>** | Preview map keys that were stored. A container whose owner type could not be resolved is silently dropped by the underlying store, so compare this against what you sent. | [optional] |
14
+
15
+ ## Example
16
+
17
+ ```ruby
18
+ require 'ultracart_api'
19
+
20
+ instance = UltracartClient::SfvbPreviewSessionResponse.new(
21
+ bytes_stored: null,
22
+ expires_in_seconds: null,
23
+ max_bytes: null,
24
+ owner_login: null,
25
+ preview_session_id: null,
26
+ skipped: null,
27
+ stored_keys: null
28
+ )
29
+ ```
30
+
@@ -0,0 +1,30 @@
1
+ # UltracartClient::SfvbPreviewUrlResponse
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **expires_in_seconds** | **Integer** | Seconds until the session expires. | [optional] |
8
+ | **path** | **String** | Storefront path being previewed. | [optional] |
9
+ | **preview_session_id** | **String** | The preview session id used. | [optional] |
10
+ | **preview_url** | **String** | URL that renders the storefront page with the preview session's containers substituted for the stored ones. | [optional] |
11
+ | **requires_browser_session** | **Boolean** | Always true. The preview only applies to a request carrying the UltraCart admin session cookie of the user who authorised this token. Fetched without it, the URL returns the LIVE page with a 200 and no error, so a successful fetch is not evidence the preview was applied. Present this URL for a human to open; do not fetch it. | [optional] |
12
+ | **shareable** | **Boolean** | Always false. The session is keyed by individual login, so anyone else opening this URL sees the live page rather than the preview. | [optional] |
13
+ | **usage_note** | **String** | Plain language restatement of the two flags above, safe to show a user. | [optional] |
14
+
15
+ ## Example
16
+
17
+ ```ruby
18
+ require 'ultracart_api'
19
+
20
+ instance = UltracartClient::SfvbPreviewUrlResponse.new(
21
+ expires_in_seconds: null,
22
+ path: null,
23
+ preview_session_id: null,
24
+ preview_url: null,
25
+ requires_browser_session: null,
26
+ shareable: null,
27
+ usage_note: null
28
+ )
29
+ ```
30
+
@@ -0,0 +1,40 @@
1
+ # UltracartClient::SfvbRenderRequest
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **ancestors_cjson** | **String** | The chain of ancestor nodes above this one, as CJSON. Elements that inherit layout or styling from a parent render differently without it, so supply it when rendering a node from inside a container rather than a standalone fragment. | [optional] |
8
+ | **child_containers_json** | **String** | Child containers this node references, as a JSON object keyed by container id. Compiled into the render context so nested containers resolve. | [optional] |
9
+ | **cjson** | **String** | The CJSON node to render. | [optional] |
10
+ | **context_affiliate_oid** | **Integer** | Affiliate oid for the rendering context. | [optional] |
11
+ | **context_blog_post_oid** | **Integer** | Blog post oid for the rendering context. | [optional] |
12
+ | **context_group_path** | **String** | Catalog group path for the rendering context. | [optional] |
13
+ | **context_item_id** | **String** | Item id for the rendering context. Required for item bound elements. | [optional] |
14
+ | **context_order_id** | **String** | Order id for the rendering context. | [optional] |
15
+ | **context_page_number** | **String** | Page number for paginated elements. Defaults to 1. | [optional] |
16
+ | **context_upsell_offer_oid** | **Integer** | Upsell offer oid for the rendering context. | [optional] |
17
+ | **language_iso_code** | **String** | Language ISO code. Defaults to ENG. | [optional] |
18
+ | **uri** | **String** | Storefront URI the node would appear on. Affects rendering of anything page relative. | [optional] |
19
+
20
+ ## Example
21
+
22
+ ```ruby
23
+ require 'ultracart_api'
24
+
25
+ instance = UltracartClient::SfvbRenderRequest.new(
26
+ ancestors_cjson: null,
27
+ child_containers_json: null,
28
+ cjson: null,
29
+ context_affiliate_oid: null,
30
+ context_blog_post_oid: null,
31
+ context_group_path: null,
32
+ context_item_id: null,
33
+ context_order_id: null,
34
+ context_page_number: null,
35
+ context_upsell_offer_oid: null,
36
+ language_iso_code: null,
37
+ uri: null
38
+ )
39
+ ```
40
+
@@ -0,0 +1,28 @@
1
+ # UltracartClient::SfvbRenderResponse
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **errors** | [**Array<SfvbErrorDetail>**](SfvbErrorDetail.md) | Why the render failed. Always populated when success is false. | [optional] |
8
+ | **html** | **String** | Rendered HTML. | [optional] |
9
+ | **pending_translation_count** | **Integer** | Number of strings still awaiting translation in the requested language. | [optional] |
10
+ | **success** | **Boolean** | True when HTML was produced. | [optional] |
11
+ | **truncated** | **Boolean** | True when the HTML was cut short. | [optional] |
12
+ | **warnings** | [**Array<SfvbErrorDetail>**](SfvbErrorDetail.md) | Quality warnings about the rendered node. | [optional] |
13
+
14
+ ## Example
15
+
16
+ ```ruby
17
+ require 'ultracart_api'
18
+
19
+ instance = UltracartClient::SfvbRenderResponse.new(
20
+ errors: null,
21
+ html: null,
22
+ pending_translation_count: null,
23
+ success: null,
24
+ truncated: null,
25
+ warnings: null
26
+ )
27
+ ```
28
+
@@ -0,0 +1,22 @@
1
+ # UltracartClient::SfvbStorefront
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **active_theme_oid** | **Integer** | Oid of the theme currently serving live traffic. | [optional] |
8
+ | **host_name** | **String** | Host name of the storefront. | [optional] |
9
+ | **storefront_oid** | **Integer** | StoreFront oid. | [optional] |
10
+
11
+ ## Example
12
+
13
+ ```ruby
14
+ require 'ultracart_api'
15
+
16
+ instance = UltracartClient::SfvbStorefront.new(
17
+ active_theme_oid: null,
18
+ host_name: null,
19
+ storefront_oid: null
20
+ )
21
+ ```
22
+
@@ -0,0 +1,18 @@
1
+ # UltracartClient::SfvbStorefrontsResponse
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **storefronts** | [**Array<SfvbStorefront>**](SfvbStorefront.md) | Storefronts reachable with this token. | [optional] |
8
+
9
+ ## Example
10
+
11
+ ```ruby
12
+ require 'ultracart_api'
13
+
14
+ instance = UltracartClient::SfvbStorefrontsResponse.new(
15
+ storefronts: null
16
+ )
17
+ ```
18
+
data/docs/SfvbTheme.md ADDED
@@ -0,0 +1,36 @@
1
+ # UltracartClient::SfvbTheme
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **active** | **Boolean** | True when this theme is the one serving live traffic. Writing to an active theme requires the sfvb_publish scope. | [optional] |
8
+ | **description** | **String** | What the theme is, where the author supplied a description. | [optional] |
9
+ | **fs_directory_oid** | **Integer** | Oid of the theme root directory in the storefront file system. | [optional] |
10
+ | **path** | **String** | Root path of the theme in the storefront file system, for example /themes/mytheme/ | [optional] |
11
+ | **storefront_oid** | **Integer** | StoreFront oid this theme belongs to. | [optional] |
12
+ | **theme_name** | **String** | Theme name. | [optional] |
13
+ | **theme_oid** | **Integer** | StoreFront theme oid. | [optional] |
14
+ | **upgrade_available** | **Boolean** | True when a newer version of this theme exists. Relevant because an upgrade is what produces the merge conflicts that block activation. | [optional] |
15
+ | **valid** | **Boolean** | False when the theme contains templates that failed validation. Worth checking before choosing a theme to work in. | [optional] |
16
+ | **version** | **String** | Theme version. | [optional] |
17
+
18
+ ## Example
19
+
20
+ ```ruby
21
+ require 'ultracart_api'
22
+
23
+ instance = UltracartClient::SfvbTheme.new(
24
+ active: null,
25
+ description: null,
26
+ fs_directory_oid: null,
27
+ path: null,
28
+ storefront_oid: null,
29
+ theme_name: null,
30
+ theme_oid: null,
31
+ upgrade_available: null,
32
+ valid: null,
33
+ version: null
34
+ )
35
+ ```
36
+
@@ -0,0 +1,22 @@
1
+ # UltracartClient::SfvbThemeDuplicateRequest
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **folder** | **String** | Directory name for the new theme under /themes/. Letters and numbers; it is cleansed before use. Must not already exist - a collision is refused rather than resolved, because silently creating a differently named theme leaves you unsure what you made. | [optional] |
8
+ | **target_storefront_oid** | **Integer** | Storefront to create the copy on. Defaults to the storefront in the path. Supply it only when copying a theme between storefronts you own. | [optional] |
9
+ | **theme_name** | **String** | Name for the new theme. | [optional] |
10
+
11
+ ## Example
12
+
13
+ ```ruby
14
+ require 'ultracart_api'
15
+
16
+ instance = UltracartClient::SfvbThemeDuplicateRequest.new(
17
+ folder: null,
18
+ target_storefront_oid: null,
19
+ theme_name: null
20
+ )
21
+ ```
22
+
@@ -0,0 +1,40 @@
1
+ # UltracartClient::SfvbThemeJobResponse
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **complete** | **Boolean** | True once the job has stopped, whether it succeeded or failed. | [optional] |
8
+ | **description** | **String** | Human readable description of the job. | [optional] |
9
+ | **error_message** | **String** | Failure detail. Populated only when status is error. | [optional] |
10
+ | **finished_dts** | **String** | When the job stopped. Null until it does. | [optional] |
11
+ | **job_id** | **Integer** | Job handle. Poll getSfvbThemeJob with this. | [optional] |
12
+ | **progress** | **Integer** | Percent complete, 0-100. | [optional] |
13
+ | **progress_description** | **String** | What the job is doing right now, for example 'Duplicating locale text'. | [optional] |
14
+ | **started_dts** | **String** | When the job started running. Null until it does. | [optional] |
15
+ | **status** | **String** | Raw job status. | [optional] |
16
+ | **submitted_dts** | **String** | When the job was queued. | [optional] |
17
+ | **success** | **Boolean** | True only when the job finished successfully. Check complete first. | [optional] |
18
+ | **target_path** | **String** | Path the new theme was created at. Returned when the job is started; the theme oid itself is NOT returned, because the job's product is a plain text report rather than a structured result. Once the job completes, list themes and match on this path. | [optional] |
19
+
20
+ ## Example
21
+
22
+ ```ruby
23
+ require 'ultracart_api'
24
+
25
+ instance = UltracartClient::SfvbThemeJobResponse.new(
26
+ complete: null,
27
+ description: null,
28
+ error_message: null,
29
+ finished_dts: null,
30
+ job_id: null,
31
+ progress: null,
32
+ progress_description: null,
33
+ started_dts: null,
34
+ status: null,
35
+ submitted_dts: null,
36
+ success: null,
37
+ target_path: null
38
+ )
39
+ ```
40
+
@@ -0,0 +1,20 @@
1
+ # UltracartClient::SfvbThemesResponse
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **active_theme_oid** | **Integer** | Oid of the active theme, repeated here so a caller does not have to scan the list. | [optional] |
8
+ | **themes** | [**Array<SfvbTheme>**](SfvbTheme.md) | Themes belonging to the storefront. Exactly one is flagged active. | [optional] |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'ultracart_api'
14
+
15
+ instance = UltracartClient::SfvbThemesResponse.new(
16
+ active_theme_oid: null,
17
+ themes: null
18
+ )
19
+ ```
20
+
@@ -0,0 +1,34 @@
1
+ # UltracartClient::SfvbUpsellOffer
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **active** | **Boolean** | Whether the offer is switched on. | [optional] |
8
+ | **active_overall** | **Boolean** | Whether the offer is active once its date window and daily pricing are taken into account. This is the one that says whether shoppers are actually seeing it. | [optional] |
9
+ | **cjson_size** | **Integer** | Size of the offer's container JSON in bytes. A large value here alongside a low element count is the signature of a hand pasted HTML dump. | [optional] |
10
+ | **has_container** | **Boolean** | Whether a container has been authored for this offer. | [optional] |
11
+ | **name** | **String** | Offer name. | [optional] |
12
+ | **path_name** | **String** | Name of the upsell path this offer sits on. | [optional] |
13
+ | **storefront_oid** | **Integer** | Storefront oid. | [optional] |
14
+ | **test_only** | **Boolean** | Whether the offer is restricted to test traffic. | [optional] |
15
+ | **upsell_offer_oid** | **Integer** | Upsell offer oid. | [optional] |
16
+
17
+ ## Example
18
+
19
+ ```ruby
20
+ require 'ultracart_api'
21
+
22
+ instance = UltracartClient::SfvbUpsellOffer.new(
23
+ active: null,
24
+ active_overall: null,
25
+ cjson_size: null,
26
+ has_container: null,
27
+ name: null,
28
+ path_name: null,
29
+ storefront_oid: null,
30
+ test_only: null,
31
+ upsell_offer_oid: null
32
+ )
33
+ ```
34
+
@@ -0,0 +1,18 @@
1
+ # UltracartClient::SfvbUpsellOffersResponse
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **upsell_offers** | [**Array<SfvbUpsellOffer>**](SfvbUpsellOffer.md) | Upsell offers on this storefront. | [optional] |
8
+
9
+ ## Example
10
+
11
+ ```ruby
12
+ require 'ultracart_api'
13
+
14
+ instance = UltracartClient::SfvbUpsellOffersResponse.new(
15
+ upsell_offers: null
16
+ )
17
+ ```
18
+
@@ -0,0 +1,26 @@
1
+ # UltracartClient::SfvbValidateRequest
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **cjson** | **String** | The container JSON to validate. | [optional] |
8
+ | **container_name** | **String** | Container name it will be stored under, for example upsell-offer or email-footer. Some rules key off the name. | [optional] |
9
+ | **include_warnings** | **Boolean** | Include quality warnings as well as errors. Defaults to true. | [optional] |
10
+ | **marketing_email** | **Boolean** | For email containers, whether this is a marketing email. Marketing emails carry CAN-SPAM footer requirements that transactional emails do not. | [optional] |
11
+ | **owner_type** | **String** | Where this container is destined to live. Determines which contextual rules apply. | [optional] |
12
+
13
+ ## Example
14
+
15
+ ```ruby
16
+ require 'ultracart_api'
17
+
18
+ instance = UltracartClient::SfvbValidateRequest.new(
19
+ cjson: null,
20
+ container_name: null,
21
+ include_warnings: null,
22
+ marketing_email: null,
23
+ owner_type: null
24
+ )
25
+ ```
26
+
@@ -0,0 +1,24 @@
1
+ # UltracartClient::SfvbValidationResponse
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **errors** | [**Array<SfvbErrorDetail>**](SfvbErrorDetail.md) | Problems that will prevent a write. | [optional] |
8
+ | **used_elements** | **Array<String>** | Element types found in the document, sorted. | [optional] |
9
+ | **valid** | **Boolean** | True when there are no errors. Warnings do not affect this flag. | [optional] |
10
+ | **warnings** | [**Array<SfvbErrorDetail>**](SfvbErrorDetail.md) | Quality problems that will not prevent a write but should be addressed. | [optional] |
11
+
12
+ ## Example
13
+
14
+ ```ruby
15
+ require 'ultracart_api'
16
+
17
+ instance = UltracartClient::SfvbValidationResponse.new(
18
+ errors: null,
19
+ used_elements: null,
20
+ valid: null,
21
+ warnings: null
22
+ )
23
+ ```
24
+
@@ -0,0 +1,20 @@
1
+ # UltracartClient::SfvbVelocityValidateRequest
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **path** | **String** | Optional path the template would be written to. Used only to improve error messages. | [optional] |
8
+ | **template** | **String** | The Velocity template source to validate. | [optional] |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'ultracart_api'
14
+
15
+ instance = UltracartClient::SfvbVelocityValidateRequest.new(
16
+ path: null,
17
+ template: null
18
+ )
19
+ ```
20
+
@@ -0,0 +1,36 @@
1
+ # UltracartClient::SfvbVersionResponse
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **container_manager_version** | **String** | Container manager version used to compile for this merchant. | [optional] |
8
+ | **container_versions_retained** | **Integer** | Versions kept per non-file container before the oldest are pruned. Beyond this, history is gone - not merely paginated. | [optional] |
9
+ | **element_count** | **Integer** | Number of element types this version recognizes. | [optional] |
10
+ | **max_cjson_bytes** | **Integer** | Largest CJSON document that will be parsed, in bytes. | [optional] |
11
+ | **max_preview_session_bytes** | **Integer** | Largest payload one preview session may hold, in bytes. | [optional] |
12
+ | **max_search_results** | **Integer** | Hard ceiling on file search results per page. | [optional] |
13
+ | **max_template_bytes** | **Integer** | Largest template file that can be written, in bytes. | [optional] |
14
+ | **max_widget_ids_per_request** | **Integer** | Most widget ids that can be reserved in one call. | [optional] |
15
+ | **preview_session_ttl_seconds** | **Integer** | Seconds a preview session survives before expiring. | [optional] |
16
+ | **release** | **String** | Release channel selected for this merchant. | [optional] |
17
+
18
+ ## Example
19
+
20
+ ```ruby
21
+ require 'ultracart_api'
22
+
23
+ instance = UltracartClient::SfvbVersionResponse.new(
24
+ container_manager_version: null,
25
+ container_versions_retained: null,
26
+ element_count: null,
27
+ max_cjson_bytes: null,
28
+ max_preview_session_bytes: null,
29
+ max_search_results: null,
30
+ max_template_bytes: null,
31
+ max_widget_ids_per_request: null,
32
+ preview_session_ttl_seconds: null,
33
+ release: null
34
+ )
35
+ ```
36
+
@@ -0,0 +1,36 @@
1
+ # UltracartClient::SfvbWhoamiResponse
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **acting_as_user** | **Boolean** | True when this token resolves to a merchant user. Preview sessions and file writes need one, because they are recorded against the person who approved the token. Only device flow tokens resolve a user, so a plain API key will see this false. | [optional] |
8
+ | **application_name** | **String** | Description of the application this credential belongs to. | [optional] |
9
+ | **authentication_type** | **String** | How this token authenticated - Oauth2, Simple Key, Public/Private Key or Browser Key. | [optional] |
10
+ | **device_scope** | **String** | Device scope name, when this is a device flow token. | [optional] |
11
+ | **login** | **String** | Login of the user who approved this token. Populated for device flow tokens; null for plain API key credentials. | [optional] |
12
+ | **merchant_id** | **String** | Merchant id this token acts against. | [optional] |
13
+ | **scopes** | **Array<String>** | Scopes granted to this token. | [optional] |
14
+ | **storefronts** | [**Array<SfvbStorefront>**](SfvbStorefront.md) | Storefronts reachable with this token. Empty unless the token holds sfvb_read, because storefront inventory is resource data rather than identity. | [optional] |
15
+ | **storefronts_withheld** | **Boolean** | True when storefronts was emptied because the token lacks sfvb_read, rather than because the account has none. Without this the two look identical. | [optional] |
16
+ | **user_name** | **String** | Display name of the approving user, when known. | [optional] |
17
+
18
+ ## Example
19
+
20
+ ```ruby
21
+ require 'ultracart_api'
22
+
23
+ instance = UltracartClient::SfvbWhoamiResponse.new(
24
+ acting_as_user: null,
25
+ application_name: null,
26
+ authentication_type: null,
27
+ device_scope: null,
28
+ login: null,
29
+ merchant_id: null,
30
+ scopes: null,
31
+ storefronts: null,
32
+ storefronts_withheld: null,
33
+ user_name: null
34
+ )
35
+ ```
36
+
@@ -0,0 +1,22 @@
1
+ # UltracartClient::SfvbWidgetIdsResponse
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **count** | **Integer** | How many were reserved. | [optional] |
8
+ | **first_id** | **Integer** | First reserved number. | [optional] |
9
+ | **ids** | **Array<Integer>** | Reserved id numbers. Combine with an element type to form a widget id, for example headline-4271. | [optional] |
10
+
11
+ ## Example
12
+
13
+ ```ruby
14
+ require 'ultracart_api'
15
+
16
+ instance = UltracartClient::SfvbWidgetIdsResponse.new(
17
+ count: null,
18
+ first_id: null,
19
+ ids: null
20
+ )
21
+ ```
22
+
@@ -4432,6 +4432,64 @@ module UltracartClient
4432
4432
  return data, status_code, headers
4433
4433
  end
4434
4434
 
4435
+ # Get pbx pay connectors
4436
+ # Retrieve the Twilio Pay Connectors installed in the Twilio account for this merchant. This list is refreshed each time the PBX configuration is deployed.
4437
+ # @param [Hash] opts the optional parameters
4438
+ # @return [ConversationPbxPayConnectorsResponse]
4439
+ def get_pbx_pay_connectors(opts = {})
4440
+ data, _status_code, _headers = get_pbx_pay_connectors_with_http_info(opts)
4441
+ data
4442
+ end
4443
+
4444
+ # Get pbx pay connectors
4445
+ # Retrieve the Twilio Pay Connectors installed in the Twilio account for this merchant. This list is refreshed each time the PBX configuration is deployed.
4446
+ # @param [Hash] opts the optional parameters
4447
+ # @return [Array<(ConversationPbxPayConnectorsResponse, Integer, Hash)>] ConversationPbxPayConnectorsResponse data, response status code and response headers
4448
+ def get_pbx_pay_connectors_with_http_info(opts = {})
4449
+ if @api_client.config.debugging
4450
+ @api_client.config.logger.debug 'Calling API: ConversationApi.get_pbx_pay_connectors ...'
4451
+ end
4452
+ # resource path
4453
+ local_var_path = '/conversation/pbx/pay_connector'
4454
+
4455
+ # query parameters
4456
+ query_params = opts[:query_params] || {}
4457
+
4458
+ # header parameters
4459
+ header_params = opts[:header_params] || {}
4460
+ header_params['X-UltraCart-Api-Version'] = @api_client.select_header_api_version()
4461
+ # HTTP header 'Accept' (if needed)
4462
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
4463
+
4464
+ # form parameters
4465
+ form_params = opts[:form_params] || {}
4466
+
4467
+ # http body (model)
4468
+ post_body = opts[:debug_body]
4469
+
4470
+ # return_type
4471
+ return_type = opts[:debug_return_type] || 'ConversationPbxPayConnectorsResponse'
4472
+
4473
+ # auth_names
4474
+ auth_names = opts[:debug_auth_names] || ['ultraCartOauth', 'ultraCartSimpleApiKey']
4475
+
4476
+ new_options = opts.merge(
4477
+ :operation => :"ConversationApi.get_pbx_pay_connectors",
4478
+ :header_params => header_params,
4479
+ :query_params => query_params,
4480
+ :form_params => form_params,
4481
+ :body => post_body,
4482
+ :auth_names => auth_names,
4483
+ :return_type => return_type
4484
+ )
4485
+
4486
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
4487
+ if @api_client.config.debugging
4488
+ @api_client.config.logger.debug "API called: ConversationApi#get_pbx_pay_connectors\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
4489
+ end
4490
+ return data, status_code, headers
4491
+ end
4492
+
4435
4493
  # Get pbx phoneNumber
4436
4494
  # Retrieve a pbx phoneNumber
4437
4495
  # @param conversation_pbx_phone_number_uuid [String]