ultracart_api 4.1.183 → 4.1.185
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 +4 -4
- data/README.md +40 -2
- data/docs/AutoOrderApi.md +28 -1
- data/docs/OrderApi.md +107 -3
- data/docs/SfvbApi.md +941 -50
- data/docs/SfvbLibraryAiReview.md +28 -0
- data/docs/SfvbLibraryContentManifest.md +26 -0
- data/docs/SfvbLibraryDeleteResult.md +20 -0
- data/docs/SfvbLibraryEntry.md +28 -0
- data/docs/SfvbLibraryEntryRequest.md +30 -0
- data/docs/SfvbLibraryFacet.md +2 -2
- data/docs/SfvbLibraryHistoryEntry.md +24 -0
- data/docs/SfvbLibraryHistoryResponse.md +18 -0
- data/docs/SfvbLibraryInstallConflict.md +22 -0
- data/docs/SfvbLibraryInstallReceipt.md +32 -0
- data/docs/SfvbLibraryInstallRecord.md +32 -0
- data/docs/SfvbLibraryInstallRequest.md +22 -0
- data/docs/SfvbLibraryInstallsResponse.md +18 -0
- data/docs/SfvbLibraryParameter.md +26 -0
- data/docs/SfvbLibraryPublishRequest.md +20 -0
- data/docs/SfvbLibraryScreenshotRequest.md +22 -0
- data/docs/SfvbLibraryShareRequest.md +18 -0
- data/docs/SfvbLibraryShareTarget.md +20 -0
- data/docs/SfvbLibraryShareTargetsResponse.md +18 -0
- data/docs/SfvbLibraryTaxonomy.md +24 -0
- data/docs/SfvbLibraryTaxonomyCatalog.md +18 -0
- data/docs/SfvbLibraryUnshareResult.md +22 -0
- data/docs/SfvbWhoamiResponse.md +2 -0
- data/lib/ultracart_api/api/sfvb_api.rb +1334 -118
- data/lib/ultracart_api/models/sfvb_library_ai_review.rb +304 -0
- data/lib/ultracart_api/models/sfvb_library_content_manifest.rb +259 -0
- data/lib/ultracart_api/models/sfvb_library_delete_result.rb +264 -0
- data/lib/ultracart_api/models/sfvb_library_entry.rb +177 -1
- data/lib/ultracart_api/models/sfvb_library_entry_request.rb +280 -0
- data/lib/ultracart_api/models/sfvb_library_facet.rb +2 -2
- data/lib/ultracart_api/models/sfvb_library_history_entry.rb +250 -0
- data/lib/ultracart_api/models/sfvb_library_history_response.rb +222 -0
- data/lib/ultracart_api/models/sfvb_library_install_conflict.rb +240 -0
- data/lib/ultracart_api/models/sfvb_library_install_receipt.rb +297 -0
- data/lib/ultracart_api/models/sfvb_library_install_record.rb +290 -0
- data/lib/ultracart_api/models/sfvb_library_install_request.rb +274 -0
- data/lib/ultracart_api/models/sfvb_library_installs_response.rb +222 -0
- data/lib/ultracart_api/models/sfvb_library_parameter.rb +260 -0
- data/lib/ultracart_api/models/sfvb_library_publish_request.rb +264 -0
- data/lib/ultracart_api/models/sfvb_library_screenshot_request.rb +274 -0
- data/lib/ultracart_api/models/sfvb_library_share_request.rb +220 -0
- data/lib/ultracart_api/models/sfvb_library_share_target.rb +230 -0
- data/lib/ultracart_api/models/sfvb_library_share_targets_response.rb +222 -0
- data/lib/ultracart_api/models/sfvb_library_taxonomy.rb +258 -0
- data/lib/ultracart_api/models/sfvb_library_taxonomy_catalog.rb +220 -0
- data/lib/ultracart_api/models/sfvb_library_unshare_result.rb +242 -0
- data/lib/ultracart_api/models/sfvb_whoami_response.rb +11 -1
- data/lib/ultracart_api/version.rb +1 -1
- data/lib/ultracart_api.rb +20 -0
- metadata +41 -1
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# UltracartClient::SfvbLibraryAiReview
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **findings** | **Object** | What the reviewers found. detail is the category followed by the quoted evidence. | [optional] |
|
|
8
|
+
| **prompt_version** | **String** | Version of the review policy that produced this verdict. | [optional] |
|
|
9
|
+
| **reviewed_dts** | **String** | When the review ran, ISO 8601. | [optional] |
|
|
10
|
+
| **screenshot_sha256** | **String** | The screenshot the review looked at, or absent when there was none. | [optional] |
|
|
11
|
+
| **summary** | **String** | One or two sentences explaining the verdict. | [optional] |
|
|
12
|
+
| **verdict** | **String** | approve, block, human or error. block refuses any publish. human or error refuses a public publish and is recorded on a shared one. | [optional] |
|
|
13
|
+
|
|
14
|
+
## Example
|
|
15
|
+
|
|
16
|
+
```ruby
|
|
17
|
+
require 'ultracart_api'
|
|
18
|
+
|
|
19
|
+
instance = UltracartClient::SfvbLibraryAiReview.new(
|
|
20
|
+
findings: null,
|
|
21
|
+
prompt_version: null,
|
|
22
|
+
reviewed_dts: null,
|
|
23
|
+
screenshot_sha256: null,
|
|
24
|
+
summary: null,
|
|
25
|
+
verdict: null
|
|
26
|
+
)
|
|
27
|
+
```
|
|
28
|
+
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# UltracartClient::SfvbLibraryContentManifest
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **absolute_asset_urls** | **Object** | Images, fonts, stylesheets, scripts or media loaded from an absolute URL. A shared or public entry must use relative paths so it never pulls files from another storefront or site. | [optional] |
|
|
8
|
+
| **ai_review** | [**SfvbLibraryAiReview**](SfvbLibraryAiReview.md) | | [optional] |
|
|
9
|
+
| **executable** | **Object** | Content that runs in a shopper's browser or on the server. Script, html, embed, css and velocity elements, script in markup, Velocity, script bearing CSS and unsafe URL schemes. An entry with any of these cannot be made public, and installing it needs an explicit acknowledgement. | [optional] |
|
|
10
|
+
| **rejected** | **Object** | Card skimming and obfuscation signals. An entry with any is refused outright, whoever owns it. | [optional] |
|
|
11
|
+
| **secrets** | **Object** | Strings shaped like credentials, by kind only. An entry with any cannot be shared or made public. | [optional] |
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```ruby
|
|
16
|
+
require 'ultracart_api'
|
|
17
|
+
|
|
18
|
+
instance = UltracartClient::SfvbLibraryContentManifest.new(
|
|
19
|
+
absolute_asset_urls: null,
|
|
20
|
+
ai_review: null,
|
|
21
|
+
executable: null,
|
|
22
|
+
rejected: null,
|
|
23
|
+
secrets: null
|
|
24
|
+
)
|
|
25
|
+
```
|
|
26
|
+
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# UltracartClient::SfvbLibraryDeleteResult
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **library_oid** | **Integer** | The entry. | [optional] |
|
|
8
|
+
| **result** | **String** | deleted when the entry was private and never published or installed, so it is gone. retired when it had been published or installed, so it was kept for the storefronts that use it and taken out of search. | [optional] |
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```ruby
|
|
13
|
+
require 'ultracart_api'
|
|
14
|
+
|
|
15
|
+
instance = UltracartClient::SfvbLibraryDeleteResult.new(
|
|
16
|
+
library_oid: null,
|
|
17
|
+
result: null
|
|
18
|
+
)
|
|
19
|
+
```
|
|
20
|
+
|
data/docs/SfvbLibraryEntry.md
CHANGED
|
@@ -6,14 +6,28 @@
|
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
7
|
| **bookmarked** | **Boolean** | True when the calling user has bookmarked this entry. | [optional] |
|
|
8
8
|
| **cjson** | **String** | The fragment's CJSON. Omitted from search results to keep them terse; fetch a single entry to get it. | [optional] |
|
|
9
|
+
| **content_manifest** | [**SfvbLibraryContentManifest**](SfvbLibraryContentManifest.md) | | [optional] |
|
|
9
10
|
| **description** | **String** | What this fragment is for. | [optional] |
|
|
11
|
+
| **hash_sha256** | **String** | Hash of the draft's writable fields. Send it back as If-Match to update, delete or publish. Present only for the owner. | [optional] |
|
|
12
|
+
| **last_modified_dts** | **String** | When the draft was last saved, ISO 8601. | [optional] |
|
|
10
13
|
| **library_oid** | **Integer** | Library entry oid. | [optional] |
|
|
11
14
|
| **name** | **String** | Entry name. | [optional] |
|
|
12
15
|
| **owned** | **Boolean** | True when the calling user owns this entry. | [optional] |
|
|
16
|
+
| **parameters** | [**Array<SfvbLibraryParameter>**](SfvbLibraryParameter.md) | Named values the fragment expects the installer to supply. | [optional] |
|
|
17
|
+
| **published_revision_number** | **Integer** | The latest published revision, or null when the entry has never been published. | [optional] |
|
|
13
18
|
| **referenced_files** | **Array<String>** | Storefront file paths this fragment references. Installing the fragment copies them into the storefront; reading it does not. | [optional] |
|
|
19
|
+
| **retired** | **Boolean** | True when the owner deleted an entry that had been published or installed. It is kept so existing installs still resolve, and it leaves search. | [optional] |
|
|
20
|
+
| **revision_number** | **Integer** | The revision returned. For the owner this is the draft, which every save increments. For anyone else it is the published revision. | [optional] |
|
|
21
|
+
| **screenshot_height** | **Integer** | Screenshot height in pixels. | [optional] |
|
|
14
22
|
| **screenshot_key** | **String** | S3 listing key for the large screenshot, when one has been generated. | [optional] |
|
|
23
|
+
| **screenshot_sha256** | **String** | Hash of the uploaded screenshot. | [optional] |
|
|
24
|
+
| **screenshot_stale** | **Boolean** | True on an update that changed the fragment of an entry with a screenshot. Retake it and set it again with the library screenshot endpoint. | [optional] |
|
|
25
|
+
| **screenshot_width** | **Integer** | Screenshot width in pixels. | [optional] |
|
|
15
26
|
| **share_with_account** | **Boolean** | True when the entry is shared across the merchant account. | [optional] |
|
|
27
|
+
| **shared_with** | [**Array<SfvbLibraryShareTarget>**](SfvbLibraryShareTarget.md) | Linked accounts the entry is shared with. Present only for the owner. | [optional] |
|
|
28
|
+
| **taxonomy** | [**SfvbLibraryTaxonomy**](SfvbLibraryTaxonomy.md) | | [optional] |
|
|
16
29
|
| **thumbnail_key** | **String** | S3 listing key for the medium thumbnail, when one has been generated. Thumbnails are produced asynchronously and can lag a save by a minute or two. | [optional] |
|
|
30
|
+
| **visibility** | **String** | private, shared or public. | [optional] |
|
|
17
31
|
| **widget_type** | **String** | Element type at the root of the fragment. | [optional] |
|
|
18
32
|
|
|
19
33
|
## Example
|
|
@@ -24,14 +38,28 @@ require 'ultracart_api'
|
|
|
24
38
|
instance = UltracartClient::SfvbLibraryEntry.new(
|
|
25
39
|
bookmarked: null,
|
|
26
40
|
cjson: null,
|
|
41
|
+
content_manifest: null,
|
|
27
42
|
description: null,
|
|
43
|
+
hash_sha256: null,
|
|
44
|
+
last_modified_dts: null,
|
|
28
45
|
library_oid: null,
|
|
29
46
|
name: null,
|
|
30
47
|
owned: null,
|
|
48
|
+
parameters: null,
|
|
49
|
+
published_revision_number: null,
|
|
31
50
|
referenced_files: null,
|
|
51
|
+
retired: null,
|
|
52
|
+
revision_number: null,
|
|
53
|
+
screenshot_height: null,
|
|
32
54
|
screenshot_key: null,
|
|
55
|
+
screenshot_sha256: null,
|
|
56
|
+
screenshot_stale: null,
|
|
57
|
+
screenshot_width: null,
|
|
33
58
|
share_with_account: null,
|
|
59
|
+
shared_with: null,
|
|
60
|
+
taxonomy: null,
|
|
34
61
|
thumbnail_key: null,
|
|
62
|
+
visibility: null,
|
|
35
63
|
widget_type: null
|
|
36
64
|
)
|
|
37
65
|
```
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
# UltracartClient::SfvbLibraryEntryRequest
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **cjson** | **String** | The fragment, one widget and its children. Not a whole container. | [optional] |
|
|
8
|
+
| **description** | **String** | What the fragment is for, at most 1024 characters. | [optional] |
|
|
9
|
+
| **name** | **String** | Entry name, at most 100 characters. | [optional] |
|
|
10
|
+
| **parameters** | [**Array<SfvbLibraryParameter>**](SfvbLibraryParameter.md) | Named values the fragment expects its installer to supply. | [optional] |
|
|
11
|
+
| **screenshot** | [**SfvbLibraryScreenshotRequest**](SfvbLibraryScreenshotRequest.md) | | [optional] |
|
|
12
|
+
| **share_with_account** | **Boolean** | True to let the other users on this merchant account see the published revision. | [optional] |
|
|
13
|
+
| **taxonomy** | [**SfvbLibraryTaxonomy**](SfvbLibraryTaxonomy.md) | | [optional] |
|
|
14
|
+
|
|
15
|
+
## Example
|
|
16
|
+
|
|
17
|
+
```ruby
|
|
18
|
+
require 'ultracart_api'
|
|
19
|
+
|
|
20
|
+
instance = UltracartClient::SfvbLibraryEntryRequest.new(
|
|
21
|
+
cjson: null,
|
|
22
|
+
description: null,
|
|
23
|
+
name: null,
|
|
24
|
+
parameters: null,
|
|
25
|
+
screenshot: null,
|
|
26
|
+
share_with_account: null,
|
|
27
|
+
taxonomy: null
|
|
28
|
+
)
|
|
29
|
+
```
|
|
30
|
+
|
data/docs/SfvbLibraryFacet.md
CHANGED
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
7
|
| **display_name** | **String** | Human readable facet name. | [optional] |
|
|
8
|
-
| **name** | **String** | Facet key.
|
|
9
|
-
| **options** | **Array<String>** |
|
|
8
|
+
| **name** | **String** | Facet key, such as facet_purpose. To select an option, add a query parameter named after the key whose value is the key, a colon and the option. | [optional] |
|
|
9
|
+
| **options** | **Array<String>** | Values present in the results. A facet with only one value is left out unless it is selected. | [optional] |
|
|
10
10
|
|
|
11
11
|
## Example
|
|
12
12
|
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# UltracartClient::SfvbLibraryHistoryEntry
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **hash_sha256** | **String** | Hash of the published revision. | [optional] |
|
|
8
|
+
| **published_dts** | **String** | When it was published, ISO 8601. | [optional] |
|
|
9
|
+
| **release_notes** | **String** | What changed, as the publisher described it. | [optional] |
|
|
10
|
+
| **revision_number** | **Integer** | The revision that was published. | [optional] |
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```ruby
|
|
15
|
+
require 'ultracart_api'
|
|
16
|
+
|
|
17
|
+
instance = UltracartClient::SfvbLibraryHistoryEntry.new(
|
|
18
|
+
hash_sha256: null,
|
|
19
|
+
published_dts: null,
|
|
20
|
+
release_notes: null,
|
|
21
|
+
revision_number: null
|
|
22
|
+
)
|
|
23
|
+
```
|
|
24
|
+
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# UltracartClient::SfvbLibraryHistoryResponse
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **revisions** | [**Array<SfvbLibraryHistoryEntry>**](SfvbLibraryHistoryEntry.md) | The published revisions, newest first. | [optional] |
|
|
8
|
+
|
|
9
|
+
## Example
|
|
10
|
+
|
|
11
|
+
```ruby
|
|
12
|
+
require 'ultracart_api'
|
|
13
|
+
|
|
14
|
+
instance = UltracartClient::SfvbLibraryHistoryResponse.new(
|
|
15
|
+
revisions: null
|
|
16
|
+
)
|
|
17
|
+
```
|
|
18
|
+
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# UltracartClient::SfvbLibraryInstallConflict
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **existing_sha256** | **String** | Hash of the file already at that path. | [optional] |
|
|
8
|
+
| **path** | **String** | The storefront path. | [optional] |
|
|
9
|
+
| **snapshot_sha256** | **String** | Hash of the file the entry would install. | [optional] |
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```ruby
|
|
14
|
+
require 'ultracart_api'
|
|
15
|
+
|
|
16
|
+
instance = UltracartClient::SfvbLibraryInstallConflict.new(
|
|
17
|
+
existing_sha256: null,
|
|
18
|
+
path: null,
|
|
19
|
+
snapshot_sha256: null
|
|
20
|
+
)
|
|
21
|
+
```
|
|
22
|
+
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# UltracartClient::SfvbLibraryInstallReceipt
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **cjson** | **String** | The fragment, with its file paths rewritten to where they were installed. Ready to place. | [optional] |
|
|
8
|
+
| **conflicts** | [**Array<SfvbLibraryInstallConflict>**](SfvbLibraryInstallConflict.md) | Paths that already held a different file. With on_conflict fail these refuse the install. | [optional] |
|
|
9
|
+
| **content_manifest** | [**SfvbLibraryContentManifest**](SfvbLibraryContentManifest.md) | | [optional] |
|
|
10
|
+
| **files_skipped** | **Array<String>** | Paths not written, because an identical or chosen existing file was kept, or the file could not be fetched. | [optional] |
|
|
11
|
+
| **files_written** | **Array<String>** | Storefront paths this install wrote. | [optional] |
|
|
12
|
+
| **library_oid** | **Integer** | The entry. | [optional] |
|
|
13
|
+
| **revision_number** | **Integer** | The revision installed. | [optional] |
|
|
14
|
+
| **unresolved_parameters** | **Array<String>** | Required parameters with no default. Replace them in the cjson before placing it. | [optional] |
|
|
15
|
+
|
|
16
|
+
## Example
|
|
17
|
+
|
|
18
|
+
```ruby
|
|
19
|
+
require 'ultracart_api'
|
|
20
|
+
|
|
21
|
+
instance = UltracartClient::SfvbLibraryInstallReceipt.new(
|
|
22
|
+
cjson: null,
|
|
23
|
+
conflicts: null,
|
|
24
|
+
content_manifest: null,
|
|
25
|
+
files_skipped: null,
|
|
26
|
+
files_written: null,
|
|
27
|
+
library_oid: null,
|
|
28
|
+
revision_number: null,
|
|
29
|
+
unresolved_parameters: null
|
|
30
|
+
)
|
|
31
|
+
```
|
|
32
|
+
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# UltracartClient::SfvbLibraryInstallRecord
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **installed_dts** | **String** | When it was installed, ISO 8601. | [optional] |
|
|
8
|
+
| **installed_revision_number** | **Integer** | The revision installed most recently on this storefront. | [optional] |
|
|
9
|
+
| **latest_revision_number** | **Integer** | The latest published revision, or null when it can no longer be read. | [optional] |
|
|
10
|
+
| **library_oid** | **Integer** | The entry. | [optional] |
|
|
11
|
+
| **name** | **String** | The entry name, when the entry is still visible to this account. | [optional] |
|
|
12
|
+
| **retired** | **Boolean** | True when the owner retired the entry. The installed copy keeps working. | [optional] |
|
|
13
|
+
| **storefront_oid** | **Integer** | The storefront it was installed on. | [optional] |
|
|
14
|
+
| **update_available** | **Boolean** | True when a newer revision has been published. Nothing updates automatically. | [optional] |
|
|
15
|
+
|
|
16
|
+
## Example
|
|
17
|
+
|
|
18
|
+
```ruby
|
|
19
|
+
require 'ultracart_api'
|
|
20
|
+
|
|
21
|
+
instance = UltracartClient::SfvbLibraryInstallRecord.new(
|
|
22
|
+
installed_dts: null,
|
|
23
|
+
installed_revision_number: null,
|
|
24
|
+
latest_revision_number: null,
|
|
25
|
+
library_oid: null,
|
|
26
|
+
name: null,
|
|
27
|
+
retired: null,
|
|
28
|
+
storefront_oid: null,
|
|
29
|
+
update_available: null
|
|
30
|
+
)
|
|
31
|
+
```
|
|
32
|
+
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# UltracartClient::SfvbLibraryInstallRequest
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **acknowledge_executable** | **Boolean** | Must be true to install an entry whose content_manifest lists executable content. Read the manifest first. | [optional] |
|
|
8
|
+
| **on_conflict** | **String** | What to do when a file the entry installs already exists with different content. fail refuses and writes nothing, skip keeps the existing file, overwrite replaces it. | [optional] |
|
|
9
|
+
| **revision_number** | **Integer** | A published revision to install. Defaults to the latest one, or the draft for the owner. | [optional] |
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```ruby
|
|
14
|
+
require 'ultracart_api'
|
|
15
|
+
|
|
16
|
+
instance = UltracartClient::SfvbLibraryInstallRequest.new(
|
|
17
|
+
acknowledge_executable: null,
|
|
18
|
+
on_conflict: null,
|
|
19
|
+
revision_number: null
|
|
20
|
+
)
|
|
21
|
+
```
|
|
22
|
+
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# UltracartClient::SfvbLibraryInstallsResponse
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **installs** | [**Array<SfvbLibraryInstallRecord>**](SfvbLibraryInstallRecord.md) | The newest install of each entry on the storefront. | [optional] |
|
|
8
|
+
|
|
9
|
+
## Example
|
|
10
|
+
|
|
11
|
+
```ruby
|
|
12
|
+
require 'ultracart_api'
|
|
13
|
+
|
|
14
|
+
instance = UltracartClient::SfvbLibraryInstallsResponse.new(
|
|
15
|
+
installs: null
|
|
16
|
+
)
|
|
17
|
+
```
|
|
18
|
+
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# UltracartClient::SfvbLibraryParameter
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **default** | **String** | The value used when none is supplied. | [optional] |
|
|
8
|
+
| **description** | **String** | What the value is used for. | [optional] |
|
|
9
|
+
| **name** | **String** | Parameter name, letters, digits, hyphens and underscores. | [optional] |
|
|
10
|
+
| **required** | **Boolean** | True when the fragment cannot be used without it. | [optional] |
|
|
11
|
+
| **type** | **String** | What kind of value it takes, such as string, url, color or item. | [optional] |
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```ruby
|
|
16
|
+
require 'ultracart_api'
|
|
17
|
+
|
|
18
|
+
instance = UltracartClient::SfvbLibraryParameter.new(
|
|
19
|
+
default: null,
|
|
20
|
+
description: null,
|
|
21
|
+
name: null,
|
|
22
|
+
required: null,
|
|
23
|
+
type: null
|
|
24
|
+
)
|
|
25
|
+
```
|
|
26
|
+
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# UltracartClient::SfvbLibraryPublishRequest
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **release_notes** | **String** | What changed in this revision, at most 4000 characters. Publish only. | [optional] |
|
|
8
|
+
| **visibility** | **String** | On publish, shared or public. On unpublish, shared or private. Public needs the library publisher property on the account. | [optional] |
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```ruby
|
|
13
|
+
require 'ultracart_api'
|
|
14
|
+
|
|
15
|
+
instance = UltracartClient::SfvbLibraryPublishRequest.new(
|
|
16
|
+
release_notes: null,
|
|
17
|
+
visibility: null
|
|
18
|
+
)
|
|
19
|
+
```
|
|
20
|
+
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# UltracartClient::SfvbLibraryScreenshotRequest
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **key** | **String** | The staging key files/upload_url/png returned, after the PNG was PUT to its URL. Redeemed once. | [optional] |
|
|
8
|
+
| **sha256** | **String** | SHA-256 of the PNG bytes uploaded, lower case hex. The upload is refused if it does not match. | [optional] |
|
|
9
|
+
| **source** | **String** | Where the image came from. own for a screenshot you took, licensed or stock otherwise. Needed before the entry can be made public. | [optional] |
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```ruby
|
|
14
|
+
require 'ultracart_api'
|
|
15
|
+
|
|
16
|
+
instance = UltracartClient::SfvbLibraryScreenshotRequest.new(
|
|
17
|
+
key: null,
|
|
18
|
+
sha256: null,
|
|
19
|
+
source: null
|
|
20
|
+
)
|
|
21
|
+
```
|
|
22
|
+
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# UltracartClient::SfvbLibraryShareRequest
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **merchant_id** | **String** | One of the merchant ids share_targets lists. | [optional] |
|
|
8
|
+
|
|
9
|
+
## Example
|
|
10
|
+
|
|
11
|
+
```ruby
|
|
12
|
+
require 'ultracart_api'
|
|
13
|
+
|
|
14
|
+
instance = UltracartClient::SfvbLibraryShareRequest.new(
|
|
15
|
+
merchant_id: null
|
|
16
|
+
)
|
|
17
|
+
```
|
|
18
|
+
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# UltracartClient::SfvbLibraryShareTarget
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **company** | **String** | The linked account's company name. | [optional] |
|
|
8
|
+
| **merchant_id** | **String** | The linked account's merchant id. | [optional] |
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```ruby
|
|
13
|
+
require 'ultracart_api'
|
|
14
|
+
|
|
15
|
+
instance = UltracartClient::SfvbLibraryShareTarget.new(
|
|
16
|
+
company: null,
|
|
17
|
+
merchant_id: null
|
|
18
|
+
)
|
|
19
|
+
```
|
|
20
|
+
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# UltracartClient::SfvbLibraryShareTargetsResponse
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **share_targets** | [**Array<SfvbLibraryShareTarget>**](SfvbLibraryShareTarget.md) | The calling account's linked accounts, each with its merchant id and company. | [optional] |
|
|
8
|
+
|
|
9
|
+
## Example
|
|
10
|
+
|
|
11
|
+
```ruby
|
|
12
|
+
require 'ultracart_api'
|
|
13
|
+
|
|
14
|
+
instance = UltracartClient::SfvbLibraryShareTargetsResponse.new(
|
|
15
|
+
share_targets: null
|
|
16
|
+
)
|
|
17
|
+
```
|
|
18
|
+
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# UltracartClient::SfvbLibraryTaxonomy
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **industry** | **Array<String>** | Industries the fragment suits. | [optional] |
|
|
8
|
+
| **purpose** | **Array<String>** | What the fragment is for, such as hero, social-proof or faq. At least one is required. | [optional] |
|
|
9
|
+
| **section** | **Array<String>** | Where the fragment goes, such as header, footer or product-detail. | [optional] |
|
|
10
|
+
| **style** | **Array<String>** | Visual styles the fragment has. | [optional] |
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```ruby
|
|
15
|
+
require 'ultracart_api'
|
|
16
|
+
|
|
17
|
+
instance = UltracartClient::SfvbLibraryTaxonomy.new(
|
|
18
|
+
industry: null,
|
|
19
|
+
purpose: null,
|
|
20
|
+
section: null,
|
|
21
|
+
style: null
|
|
22
|
+
)
|
|
23
|
+
```
|
|
24
|
+
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# UltracartClient::SfvbLibraryTaxonomyCatalog
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **dimensions** | **Object** | purpose, section, industry and style, each with its allowed tags. | [optional] |
|
|
8
|
+
|
|
9
|
+
## Example
|
|
10
|
+
|
|
11
|
+
```ruby
|
|
12
|
+
require 'ultracart_api'
|
|
13
|
+
|
|
14
|
+
instance = UltracartClient::SfvbLibraryTaxonomyCatalog.new(
|
|
15
|
+
dimensions: null
|
|
16
|
+
)
|
|
17
|
+
```
|
|
18
|
+
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# UltracartClient::SfvbLibraryUnshareResult
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **existing_installs** | [**Array<SfvbLibraryInstallRecord>**](SfvbLibraryInstallRecord.md) | That account's installs, which keep their copies. Unsharing never reaches into a storefront. | [optional] |
|
|
8
|
+
| **library_oid** | **Integer** | The entry. | [optional] |
|
|
9
|
+
| **merchant_id** | **String** | The account the entry is no longer shared with. | [optional] |
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```ruby
|
|
14
|
+
require 'ultracart_api'
|
|
15
|
+
|
|
16
|
+
instance = UltracartClient::SfvbLibraryUnshareResult.new(
|
|
17
|
+
existing_installs: null,
|
|
18
|
+
library_oid: null,
|
|
19
|
+
merchant_id: null
|
|
20
|
+
)
|
|
21
|
+
```
|
|
22
|
+
|
data/docs/SfvbWhoamiResponse.md
CHANGED
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
| **application_name** | **String** | Description of the application this credential belongs to. | [optional] |
|
|
9
9
|
| **authentication_type** | **String** | How this token authenticated - Oauth2, Simple Key, Public/Private Key or Browser Key. | [optional] |
|
|
10
10
|
| **can_publish** | **Boolean** | True when this token may write a target that is currently live - an active upsell offer, an email on a delivering flow, the active theme, the storefront root. Never infer this; it is the difference between a draft edit and a shopper visible change. | [optional] |
|
|
11
|
+
| **can_publish_public** | **Boolean** | True when this account may publish library entries to the public library. Set by UltraCart staff only. | [optional] |
|
|
11
12
|
| **can_read** | **Boolean** | True when this token may read. Do not infer this from the requested scope name. | [optional] |
|
|
12
13
|
| **can_write** | **Boolean** | True when this token may write. Writing a target that is not currently live needs only this. | [optional] |
|
|
13
14
|
| **device_scope** | **String** | Device scope name, when this is a device flow token. | [optional] |
|
|
@@ -28,6 +29,7 @@ instance = UltracartClient::SfvbWhoamiResponse.new(
|
|
|
28
29
|
application_name: null,
|
|
29
30
|
authentication_type: null,
|
|
30
31
|
can_publish: null,
|
|
32
|
+
can_publish_public: null,
|
|
31
33
|
can_read: null,
|
|
32
34
|
can_write: null,
|
|
33
35
|
device_scope: null,
|