ultracart_api 4.1.153 → 4.1.154

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: 2e85ec4d8c8f205c28e0eb38c7542fc901b7de62a315a4d7dcca2c58aab386b0
4
- data.tar.gz: f750082b045c19460b77dae4330a936d37c16b30ea51e08b8961dff9c4c9a8bd
3
+ metadata.gz: 37ac39f21f4d4926dc445c05679cf88a52c25751ae967e68d2a04ce2db104c86
4
+ data.tar.gz: 97a320a75abbf442e767bbc17d549e1f980687e2db385229f6d75dbe11d4482c
5
5
  SHA512:
6
- metadata.gz: 66fa2b4121de7d02ebef906981fd45076568e382c06e4a69b543969725b76d73d361051339954dd5ffef182bc028917cacc7847883b4861f799c83ce45f88a67
7
- data.tar.gz: d2c6ca8f0f88fd02379c5dc102b26578ddda34ab62a4dddc294d2174edb1340011a51c5115c8d04e8cc868ef437cfd6d8d91e5deae7c28982422724b5fdaa8c1
6
+ metadata.gz: de44ec246f9b2af49724ae1bb120ce8d2b79a9a68db06e98ffb734fa51c7bc9599f57f2232d63f5a7eae3ad174af5523fd46d6ef0a14c303f00b114a5136dfdf
7
+ data.tar.gz: 0f6a6d5026cd0175acb8da55d748ce4d0a6f6f1ae4ca5ec12052d477e994ef633fbc6d94da1faf3abdd6133df8577d372b79c405f3d75fa023d34a166282b8e6
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.153
10
+ - Package version: 4.1.154
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.153'
19
+ gem 'ultracart_api', '4.1.154'
20
20
  ```
21
21
 
22
22
  install:
@@ -482,7 +482,7 @@ Class | Method | HTTP request | Description
482
482
  *UltracartClient::SfvbApi* | [**get_sfvb_cjson_used_elements**](docs/SfvbApi.md#get_sfvb_cjson_used_elements) | **POST** /sfvb/cjson/elements | Element types used by a container
483
483
  *UltracartClient::SfvbApi* | [**get_sfvb_container**](docs/SfvbApi.md#get_sfvb_container) | **GET** /sfvb/storefronts/{storefront_oid}/containers/{owner_type}/{owner_object_id} | Read a container stored outside the file system
484
484
  *UltracartClient::SfvbApi* | [**get_sfvb_container_version**](docs/SfvbApi.md#get_sfvb_container_version) | **GET** /sfvb/storefronts/{storefront_oid}/container_versions/{container_history_oid} | Read the CJSON stored in one container history entry
485
- *UltracartClient::SfvbApi* | [**get_sfvb_element**](docs/SfvbApi.md#get_sfvb_element) | **GET** /sfvb/elements/{element_type} | Configuration schema for one element type
485
+ *UltracartClient::SfvbApi* | [**get_sfvb_element**](docs/SfvbApi.md#get_sfvb_element) | **GET** /sfvb/elements/{element_type} | Configuration schema and field card for one element type
486
486
  *UltracartClient::SfvbApi* | [**get_sfvb_file_content**](docs/SfvbApi.md#get_sfvb_file_content) | **GET** /sfvb/storefronts/{storefront_oid}/files/content | Read a storefront file
487
487
  *UltracartClient::SfvbApi* | [**get_sfvb_file_upload_url**](docs/SfvbApi.md#get_sfvb_file_upload_url) | **GET** /sfvb/storefronts/{storefront_oid}/files/upload_url/{extension} | Get a URL to upload a binary asset to
488
488
  *UltracartClient::SfvbApi* | [**get_sfvb_library_entry**](docs/SfvbApi.md#get_sfvb_library_entry) | **GET** /sfvb/storefronts/{storefront_oid}/library/{library_oid} | Read one library entry including its CJSON
@@ -1952,6 +1952,7 @@ Not every change is committed to every SDK.
1952
1952
 
1953
1953
  | Version | Date | Comments |
1954
1954
  | --: | :-: | --- |
1955
+ | 4.1.154 | 09/14/2026 | sfvb internal testing |
1955
1956
  | 4.1.153 | 09/14/2026 | sfvb internal testing |
1956
1957
  | 4.1.152 | 09/09/2026 | sfvb - internal testing |
1957
1958
  | 4.1.151 | 09/04/2026 | conversations - added ai agent capabilities |
data/docs/SfvbApi.md CHANGED
@@ -14,7 +14,7 @@ All URIs are relative to *https://secure.ultracart.com/rest/v2*
14
14
  | [**get_sfvb_cjson_used_elements**](SfvbApi.md#get_sfvb_cjson_used_elements) | **POST** /sfvb/cjson/elements | Element types used by a container |
15
15
  | [**get_sfvb_container**](SfvbApi.md#get_sfvb_container) | **GET** /sfvb/storefronts/{storefront_oid}/containers/{owner_type}/{owner_object_id} | Read a container stored outside the file system |
16
16
  | [**get_sfvb_container_version**](SfvbApi.md#get_sfvb_container_version) | **GET** /sfvb/storefronts/{storefront_oid}/container_versions/{container_history_oid} | Read the CJSON stored in one container history entry |
17
- | [**get_sfvb_element**](SfvbApi.md#get_sfvb_element) | **GET** /sfvb/elements/{element_type} | Configuration schema for one element type |
17
+ | [**get_sfvb_element**](SfvbApi.md#get_sfvb_element) | **GET** /sfvb/elements/{element_type} | Configuration schema and field card for one element type |
18
18
  | [**get_sfvb_file_content**](SfvbApi.md#get_sfvb_file_content) | **GET** /sfvb/storefronts/{storefront_oid}/files/content | Read a storefront file |
19
19
  | [**get_sfvb_file_upload_url**](SfvbApi.md#get_sfvb_file_upload_url) | **GET** /sfvb/storefronts/{storefront_oid}/files/upload_url/{extension} | Get a URL to upload a binary asset to |
20
20
  | [**get_sfvb_library_entry**](SfvbApi.md#get_sfvb_library_entry) | **GET** /sfvb/storefronts/{storefront_oid}/library/{library_oid} | Read one library entry including its CJSON |
@@ -598,7 +598,9 @@ end
598
598
 
599
599
  > <SfvbElementSchemaResponse> get_sfvb_element(element_type)
600
600
 
601
- Configuration schema for one element type
601
+ Configuration schema and field card for one element type
602
+
603
+ schema is the draft-07 JSON schema for the element config object and doc is the markdown field card, both as strings. Either is omitted when none has been published for the element, which is still a 200. The catalog is published by the visual builder release process, and a republish can take up to an hour to appear here.
602
604
 
603
605
 
604
606
  ### Examples
@@ -615,7 +617,7 @@ This returns an Array which contains the response data, status code and headers.
615
617
 
616
618
  ```ruby
617
619
  begin
618
- # Configuration schema for one element type
620
+ # Configuration schema and field card for one element type
619
621
  data, status_code, headers = api_instance.get_sfvb_element_with_http_info(element_type)
620
622
  p status_code # => 2xx
621
623
  p headers # => { ... }
data/docs/SfvbElement.md CHANGED
@@ -4,6 +4,7 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
+ | **doc_available** | **Boolean** | True when a markdown field card for this element is available from elements/{element_type}. | [optional] |
7
8
  | **schema_available** | **Boolean** | True when a per element configuration schema is available from elements/{element_type}. | [optional] |
8
9
  | **type** | **String** | The element type as it appears in the type property of a CJSON node. | [optional] |
9
10
 
@@ -13,6 +14,7 @@
13
14
  require 'ultracart_api'
14
15
 
15
16
  instance = UltracartClient::SfvbElement.new(
17
+ doc_available: null,
16
18
  schema_available: null,
17
19
  type: null
18
20
  )
@@ -4,7 +4,8 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **schema** | **String** | JSON schema for this element&#39;s config object, as a JSON string. Null when no schema has been published for this element yet. | [optional] |
7
+ | **doc** | **String** | Markdown field card for this element, as a string. Omitted when no field card has been published for this element. | [optional] |
8
+ | **schema** | **String** | Draft-07 JSON schema for this element&#39;s config object, as a JSON string. Omitted when no schema has been published for this element. | [optional] |
8
9
  | **type** | **String** | The element type. | [optional] |
9
10
 
10
11
  ## Example
@@ -13,6 +14,7 @@
13
14
  require 'ultracart_api'
14
15
 
15
16
  instance = UltracartClient::SfvbElementSchemaResponse.new(
17
+ doc: null,
16
18
  schema: null,
17
19
  type: null
18
20
  )
@@ -6,7 +6,7 @@
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **complete** | **Boolean** | True once the job has stopped, whether it succeeded or failed. | [optional] |
8
8
  | **description** | **String** | Human readable description of the job. | [optional] |
9
- | **error_message** | **String** | Failure detail. Populated only when status is error. | [optional] |
9
+ | **error_message** | **String** | What to do next when the job did not produce a theme. The internal cause is not returned; it is recorded against the job id in the server log. | [optional] |
10
10
  | **finished_dts** | **String** | When the job stopped. Null until it does. | [optional] |
11
11
  | **job_id** | **Integer** | Job handle. Poll getSfvbThemeJob with this. | [optional] |
12
12
  | **progress** | **Integer** | Percent complete, 0-100. | [optional] |
@@ -759,7 +759,8 @@ module UltracartClient
759
759
  return data, status_code, headers
760
760
  end
761
761
 
762
- # Configuration schema for one element type
762
+ # Configuration schema and field card for one element type
763
+ # schema is the draft-07 JSON schema for the element config object and doc is the markdown field card, both as strings. Either is omitted when none has been published for the element, which is still a 200. The catalog is published by the visual builder release process, and a republish can take up to an hour to appear here.
763
764
  # @param element_type [String]
764
765
  # @param [Hash] opts the optional parameters
765
766
  # @return [SfvbElementSchemaResponse]
@@ -768,7 +769,8 @@ module UltracartClient
768
769
  data
769
770
  end
770
771
 
771
- # Configuration schema for one element type
772
+ # Configuration schema and field card for one element type
773
+ # schema is the draft-07 JSON schema for the element config object and doc is the markdown field card, both as strings. Either is omitted when none has been published for the element, which is still a 200. The catalog is published by the visual builder release process, and a republish can take up to an hour to appear here.
772
774
  # @param element_type [String]
773
775
  # @param [Hash] opts the optional parameters
774
776
  # @return [Array<(SfvbElementSchemaResponse, Integer, Hash)>] SfvbElementSchemaResponse data, response status code and response headers
@@ -15,6 +15,9 @@ require 'time'
15
15
 
16
16
  module UltracartClient
17
17
  class SfvbElement
18
+ # True when a markdown field card for this element is available from elements/{element_type}.
19
+ attr_accessor :doc_available
20
+
18
21
  # True when a per element configuration schema is available from elements/{element_type}.
19
22
  attr_accessor :schema_available
20
23
 
@@ -24,6 +27,7 @@ module UltracartClient
24
27
  # Attribute mapping from ruby-style variable name to JSON key.
25
28
  def self.attribute_map
26
29
  {
30
+ :'doc_available' => :'doc_available',
27
31
  :'schema_available' => :'schema_available',
28
32
  :'type' => :'type'
29
33
  }
@@ -37,6 +41,7 @@ module UltracartClient
37
41
  # Attribute type mapping.
38
42
  def self.openapi_types
39
43
  {
44
+ :'doc_available' => :'Boolean',
40
45
  :'schema_available' => :'Boolean',
41
46
  :'type' => :'String'
42
47
  }
@@ -63,6 +68,10 @@ module UltracartClient
63
68
  h[k.to_sym] = v
64
69
  }
65
70
 
71
+ if attributes.key?(:'doc_available')
72
+ self.doc_available = attributes[:'doc_available']
73
+ end
74
+
66
75
  if attributes.key?(:'schema_available')
67
76
  self.schema_available = attributes[:'schema_available']
68
77
  end
@@ -90,6 +99,7 @@ module UltracartClient
90
99
  def ==(o)
91
100
  return true if self.equal?(o)
92
101
  self.class == o.class &&
102
+ doc_available == o.doc_available &&
93
103
  schema_available == o.schema_available &&
94
104
  type == o.type
95
105
  end
@@ -103,7 +113,7 @@ module UltracartClient
103
113
  # Calculates hash code according to all attributes.
104
114
  # @return [Integer] Hash code
105
115
  def hash
106
- [schema_available, type].hash
116
+ [doc_available, schema_available, type].hash
107
117
  end
108
118
 
109
119
  # Builds the object from hash
@@ -15,7 +15,10 @@ require 'time'
15
15
 
16
16
  module UltracartClient
17
17
  class SfvbElementSchemaResponse
18
- # JSON schema for this element's config object, as a JSON string. Null when no schema has been published for this element yet.
18
+ # Markdown field card for this element, as a string. Omitted when no field card has been published for this element.
19
+ attr_accessor :doc
20
+
21
+ # Draft-07 JSON schema for this element's config object, as a JSON string. Omitted when no schema has been published for this element.
19
22
  attr_accessor :schema
20
23
 
21
24
  # The element type.
@@ -24,6 +27,7 @@ module UltracartClient
24
27
  # Attribute mapping from ruby-style variable name to JSON key.
25
28
  def self.attribute_map
26
29
  {
30
+ :'doc' => :'doc',
27
31
  :'schema' => :'schema',
28
32
  :'type' => :'type'
29
33
  }
@@ -37,6 +41,7 @@ module UltracartClient
37
41
  # Attribute type mapping.
38
42
  def self.openapi_types
39
43
  {
44
+ :'doc' => :'String',
40
45
  :'schema' => :'String',
41
46
  :'type' => :'String'
42
47
  }
@@ -63,6 +68,10 @@ module UltracartClient
63
68
  h[k.to_sym] = v
64
69
  }
65
70
 
71
+ if attributes.key?(:'doc')
72
+ self.doc = attributes[:'doc']
73
+ end
74
+
66
75
  if attributes.key?(:'schema')
67
76
  self.schema = attributes[:'schema']
68
77
  end
@@ -90,6 +99,7 @@ module UltracartClient
90
99
  def ==(o)
91
100
  return true if self.equal?(o)
92
101
  self.class == o.class &&
102
+ doc == o.doc &&
93
103
  schema == o.schema &&
94
104
  type == o.type
95
105
  end
@@ -103,7 +113,7 @@ module UltracartClient
103
113
  # Calculates hash code according to all attributes.
104
114
  # @return [Integer] Hash code
105
115
  def hash
106
- [schema, type].hash
116
+ [doc, schema, type].hash
107
117
  end
108
118
 
109
119
  # Builds the object from hash
@@ -21,7 +21,7 @@ module UltracartClient
21
21
  # Human readable description of the job.
22
22
  attr_accessor :description
23
23
 
24
- # Failure detail. Populated only when status is error.
24
+ # What to do next when the job did not produce a theme. The internal cause is not returned; it is recorded against the job id in the server log.
25
25
  attr_accessor :error_message
26
26
 
27
27
  # When the job stopped. Null until it does.
@@ -11,5 +11,5 @@ OpenAPI Generator version: 6.0.1-SNAPSHOT
11
11
  =end
12
12
 
13
13
  module UltracartClient
14
- VERSION = '4.1.153'
14
+ VERSION = '4.1.154'
15
15
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ultracart_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.1.153
4
+ version: 4.1.154
5
5
  platform: ruby
6
6
  authors:
7
7
  - UltraCart