ultracart_api 4.1.202 → 4.1.203
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 +16 -2
- data/docs/SfvbApi.md +321 -1
- data/docs/SfvbEvent.md +2 -2
- data/docs/SfvbSecretHandle.md +32 -0
- data/docs/SfvbSecretKind.md +30 -0
- data/docs/SfvbSecretKindsResponse.md +20 -0
- data/docs/SfvbSecretRequest.md +54 -0
- data/docs/SfvbSecretRequestCreate.md +30 -0
- data/docs/SfvbSecretRequestsResponse.md +18 -0
- data/docs/SfvbSecretSink.md +24 -0
- data/lib/ultracart_api/api/sfvb_api.rb +379 -2
- data/lib/ultracart_api/models/sfvb_event.rb +2 -2
- data/lib/ultracart_api/models/sfvb_secret_handle.rb +324 -0
- data/lib/ultracart_api/models/sfvb_secret_kind.rb +280 -0
- data/lib/ultracart_api/models/sfvb_secret_kinds_response.rb +234 -0
- data/lib/ultracart_api/models/sfvb_secret_request.rb +440 -0
- data/lib/ultracart_api/models/sfvb_secret_request_create.rb +284 -0
- data/lib/ultracart_api/models/sfvb_secret_requests_response.rb +222 -0
- data/lib/ultracart_api/models/sfvb_secret_sink.rb +250 -0
- data/lib/ultracart_api/version.rb +1 -1
- data/lib/ultracart_api.rb +7 -0
- metadata +16 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 00666a9bf01ef4230812762f575d67f10482bba350bd40952ba485c405ebde29
|
|
4
|
+
data.tar.gz: b2a50501d6cad4f28cb8f98beaeb379f19df30d8185bfad75d7775ffd5478205
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: eab1417ea0f102c391989bbf39a7356175d9070c18b710474f09c911ce9fcb12086e38de37b1f343f897afeab6a2fc2fb3861e0224fa18248d14b5f7eb08c862
|
|
7
|
+
data.tar.gz: 25d9f4c87f0d91cec8b10f02f15db07e10c408700c1a62f5563374ab436cfc74e1d1e207996132bf7122c2a4af04da0fcf626c8307183ecccea7853268e1f5cb
|
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.
|
|
10
|
+
- Package version: 4.1.203
|
|
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.
|
|
19
|
+
gem 'ultracart_api', '4.1.203'
|
|
20
20
|
```
|
|
21
21
|
|
|
22
22
|
install:
|
|
@@ -496,6 +496,7 @@ Class | Method | HTTP request | Description
|
|
|
496
496
|
*UltracartClient::SfvbApi* | [**delete_sfvb_preview_session**](docs/SfvbApi.md#delete_sfvb_preview_session) | **DELETE** /sfvb/storefronts/{storefront_oid}/preview_sessions/{preview_session_id} | Delete a preview session
|
|
497
497
|
*UltracartClient::SfvbApi* | [**delete_sfvb_redirect**](docs/SfvbApi.md#delete_sfvb_redirect) | **DELETE** /sfvb/storefronts/{storefront_oid}/redirects/{redirect_id} | Delete a redirect rule
|
|
498
498
|
*UltracartClient::SfvbApi* | [**delete_sfvb_redirects**](docs/SfvbApi.md#delete_sfvb_redirects) | **POST** /sfvb/storefronts/{storefront_oid}/redirects/delete | Delete up to 5,000 redirect rules in one call
|
|
499
|
+
*UltracartClient::SfvbApi* | [**delete_sfvb_secret_request**](docs/SfvbApi.md#delete_sfvb_secret_request) | **DELETE** /sfvb/secrets/{request_id} | Cancel a pending secret request
|
|
499
500
|
*UltracartClient::SfvbApi* | [**detach_sfvb_blog_post_image**](docs/SfvbApi.md#detach_sfvb_blog_post_image) | **POST** /sfvb/storefronts/{storefront_oid}/blog_posts/{blog_post_oid}/images/detach | Detach an image from a blog post
|
|
500
501
|
*UltracartClient::SfvbApi* | [**disable_sfvb_i18n_language**](docs/SfvbApi.md#disable_sfvb_i18n_language) | **POST** /sfvb/storefronts/{storefront_oid}/i18n/languages/{code}/disable | Disable a language
|
|
501
502
|
*UltracartClient::SfvbApi* | [**disable_sfvb_upsell_offer**](docs/SfvbApi.md#disable_sfvb_upsell_offer) | **POST** /sfvb/storefronts/{storefront_oid}/upsell_offers/{upsell_offer_oid}/disable | Disable an upsell offer
|
|
@@ -554,6 +555,9 @@ Class | Method | HTTP request | Description
|
|
|
554
555
|
*UltracartClient::SfvbApi* | [**get_sfvb_recording_settings**](docs/SfvbApi.md#get_sfvb_recording_settings) | **GET** /sfvb/storefronts/{storefront_oid}/recording_settings | Get the storefront's screen recording settings
|
|
555
556
|
*UltracartClient::SfvbApi* | [**get_sfvb_redirect**](docs/SfvbApi.md#get_sfvb_redirect) | **GET** /sfvb/storefronts/{storefront_oid}/redirects/{redirect_id} | Read one redirect rule
|
|
556
557
|
*UltracartClient::SfvbApi* | [**get_sfvb_redirects**](docs/SfvbApi.md#get_sfvb_redirects) | **GET** /sfvb/storefronts/{storefront_oid}/redirects | List the storefront's redirect rules
|
|
558
|
+
*UltracartClient::SfvbApi* | [**get_sfvb_secret_kinds**](docs/SfvbApi.md#get_sfvb_secret_kinds) | **GET** /sfvb/secrets/kinds | List the secrets this server collects
|
|
559
|
+
*UltracartClient::SfvbApi* | [**get_sfvb_secret_request**](docs/SfvbApi.md#get_sfvb_secret_request) | **GET** /sfvb/secrets/{request_id} | Read one secret request
|
|
560
|
+
*UltracartClient::SfvbApi* | [**get_sfvb_secret_requests**](docs/SfvbApi.md#get_sfvb_secret_requests) | **GET** /sfvb/secrets | List this sign-in's secret requests
|
|
557
561
|
*UltracartClient::SfvbApi* | [**get_sfvb_server_log**](docs/SfvbApi.md#get_sfvb_server_log) | **GET** /sfvb/storefronts/{storefront_oid}/logs/{log_id} | Get one storefront render log
|
|
558
562
|
*UltracartClient::SfvbApi* | [**get_sfvb_site_attributes**](docs/SfvbApi.md#get_sfvb_site_attributes) | **GET** /sfvb/storefronts/{storefront_oid}/attributes | Read a storefront's site attributes
|
|
559
563
|
*UltracartClient::SfvbApi* | [**get_sfvb_test_orders**](docs/SfvbApi.md#get_sfvb_test_orders) | **GET** /sfvb/storefronts/{storefront_oid}/test_orders | List recent test orders
|
|
@@ -570,6 +574,7 @@ Class | Method | HTTP request | Description
|
|
|
570
574
|
*UltracartClient::SfvbApi* | [**insert_sfvb_blog_post**](docs/SfvbApi.md#insert_sfvb_blog_post) | **POST** /sfvb/storefronts/{storefront_oid}/blog_posts | Create a blog post
|
|
571
575
|
*UltracartClient::SfvbApi* | [**insert_sfvb_page**](docs/SfvbApi.md#insert_sfvb_page) | **POST** /sfvb/storefronts/{storefront_oid}/pages | Create a page
|
|
572
576
|
*UltracartClient::SfvbApi* | [**insert_sfvb_redirect**](docs/SfvbApi.md#insert_sfvb_redirect) | **POST** /sfvb/storefronts/{storefront_oid}/redirects | Create a 301 redirect rule
|
|
577
|
+
*UltracartClient::SfvbApi* | [**insert_sfvb_secret_request**](docs/SfvbApi.md#insert_sfvb_secret_request) | **POST** /sfvb/secrets | Ask a person to enter secret values
|
|
573
578
|
*UltracartClient::SfvbApi* | [**insert_sfvb_upsell_offer**](docs/SfvbApi.md#insert_sfvb_upsell_offer) | **POST** /sfvb/storefronts/{storefront_oid}/upsell_offers | Create an upsell offer
|
|
574
579
|
*UltracartClient::SfvbApi* | [**insert_sfvb_upsell_path**](docs/SfvbApi.md#insert_sfvb_upsell_path) | **POST** /sfvb/storefronts/{storefront_oid}/upsell_paths | Create an upsell path
|
|
575
580
|
*UltracartClient::SfvbApi* | [**install_sfvb_library_entry**](docs/SfvbApi.md#install_sfvb_library_entry) | **POST** /sfvb/storefronts/{storefront_oid}/library/{library_oid}/install | Install a library entry into a storefront
|
|
@@ -622,6 +627,7 @@ Class | Method | HTTP request | Description
|
|
|
622
627
|
*UltracartClient::SfvbApi* | [**resolve_sfvb_template**](docs/SfvbApi.md#resolve_sfvb_template) | **GET** /sfvb/storefronts/{storefront_oid}/templates/resolve | Resolve a template name to the file a page renders
|
|
623
628
|
*UltracartClient::SfvbApi* | [**revert_sfvb_container**](docs/SfvbApi.md#revert_sfvb_container) | **POST** /sfvb/storefronts/{storefront_oid}/containers/{owner_type}/{owner_object_id}/revert | Revert a container stored outside the file system
|
|
624
629
|
*UltracartClient::SfvbApi* | [**revert_sfvb_file**](docs/SfvbApi.md#revert_sfvb_file) | **POST** /sfvb/storefronts/{storefront_oid}/files/revert | Revert a storefront file to an earlier version
|
|
630
|
+
*UltracartClient::SfvbApi* | [**revoke_sfvb_secret_request**](docs/SfvbApi.md#revoke_sfvb_secret_request) | **POST** /sfvb/secrets/{request_id}/revoke | Revoke a fulfilled request's unused handles
|
|
625
631
|
*UltracartClient::SfvbApi* | [**search_sfvb_files**](docs/SfvbApi.md#search_sfvb_files) | **POST** /sfvb/storefronts/{storefront_oid}/files/search | Search storefront files
|
|
626
632
|
*UltracartClient::SfvbApi* | [**search_sfvb_library**](docs/SfvbApi.md#search_sfvb_library) | **GET** /sfvb/storefronts/{storefront_oid}/library | Search the element library
|
|
627
633
|
*UltracartClient::SfvbApi* | [**set_sfvb_library_screenshot**](docs/SfvbApi.md#set_sfvb_library_screenshot) | **PUT** /sfvb/storefronts/{storefront_oid}/library/{library_oid}/screenshot | Set a library entry's screenshot
|
|
@@ -2037,6 +2043,13 @@ Class | Method | HTTP request | Description
|
|
|
2037
2043
|
- [UltracartClient::SfvbRedirectsResponse](docs/SfvbRedirectsResponse.md)
|
|
2038
2044
|
- [UltracartClient::SfvbRenderRequest](docs/SfvbRenderRequest.md)
|
|
2039
2045
|
- [UltracartClient::SfvbRenderResponse](docs/SfvbRenderResponse.md)
|
|
2046
|
+
- [UltracartClient::SfvbSecretHandle](docs/SfvbSecretHandle.md)
|
|
2047
|
+
- [UltracartClient::SfvbSecretKind](docs/SfvbSecretKind.md)
|
|
2048
|
+
- [UltracartClient::SfvbSecretKindsResponse](docs/SfvbSecretKindsResponse.md)
|
|
2049
|
+
- [UltracartClient::SfvbSecretRequest](docs/SfvbSecretRequest.md)
|
|
2050
|
+
- [UltracartClient::SfvbSecretRequestCreate](docs/SfvbSecretRequestCreate.md)
|
|
2051
|
+
- [UltracartClient::SfvbSecretRequestsResponse](docs/SfvbSecretRequestsResponse.md)
|
|
2052
|
+
- [UltracartClient::SfvbSecretSink](docs/SfvbSecretSink.md)
|
|
2040
2053
|
- [UltracartClient::SfvbServerLog](docs/SfvbServerLog.md)
|
|
2041
2054
|
- [UltracartClient::SfvbServerLogDetail](docs/SfvbServerLogDetail.md)
|
|
2042
2055
|
- [UltracartClient::SfvbServerLogEntry](docs/SfvbServerLogEntry.md)
|
|
@@ -2252,6 +2265,7 @@ Not every change is committed to every SDK.
|
|
|
2252
2265
|
|
|
2253
2266
|
| Version | Date | Comments |
|
|
2254
2267
|
| --: | :-: | --- |
|
|
2268
|
+
| 4.1.203 | 10/15/2026 | sfvb internal testing |
|
|
2255
2269
|
| 4.1.202 | 10/13/2026 | sfvb internal testing |
|
|
2256
2270
|
| 4.1.201 | 10/12/2026 | sfvb internal testing |
|
|
2257
2271
|
| 4.1.200 | 10/09/2026 | sfvb internal testing |
|
data/docs/SfvbApi.md
CHANGED
|
@@ -24,6 +24,7 @@ All URIs are relative to *https://secure.ultracart.com/rest/v2*
|
|
|
24
24
|
| [**delete_sfvb_preview_session**](SfvbApi.md#delete_sfvb_preview_session) | **DELETE** /sfvb/storefronts/{storefront_oid}/preview_sessions/{preview_session_id} | Delete a preview session |
|
|
25
25
|
| [**delete_sfvb_redirect**](SfvbApi.md#delete_sfvb_redirect) | **DELETE** /sfvb/storefronts/{storefront_oid}/redirects/{redirect_id} | Delete a redirect rule |
|
|
26
26
|
| [**delete_sfvb_redirects**](SfvbApi.md#delete_sfvb_redirects) | **POST** /sfvb/storefronts/{storefront_oid}/redirects/delete | Delete up to 5,000 redirect rules in one call |
|
|
27
|
+
| [**delete_sfvb_secret_request**](SfvbApi.md#delete_sfvb_secret_request) | **DELETE** /sfvb/secrets/{request_id} | Cancel a pending secret request |
|
|
27
28
|
| [**detach_sfvb_blog_post_image**](SfvbApi.md#detach_sfvb_blog_post_image) | **POST** /sfvb/storefronts/{storefront_oid}/blog_posts/{blog_post_oid}/images/detach | Detach an image from a blog post |
|
|
28
29
|
| [**disable_sfvb_i18n_language**](SfvbApi.md#disable_sfvb_i18n_language) | **POST** /sfvb/storefronts/{storefront_oid}/i18n/languages/{code}/disable | Disable a language |
|
|
29
30
|
| [**disable_sfvb_upsell_offer**](SfvbApi.md#disable_sfvb_upsell_offer) | **POST** /sfvb/storefronts/{storefront_oid}/upsell_offers/{upsell_offer_oid}/disable | Disable an upsell offer |
|
|
@@ -82,6 +83,9 @@ All URIs are relative to *https://secure.ultracart.com/rest/v2*
|
|
|
82
83
|
| [**get_sfvb_recording_settings**](SfvbApi.md#get_sfvb_recording_settings) | **GET** /sfvb/storefronts/{storefront_oid}/recording_settings | Get the storefront's screen recording settings |
|
|
83
84
|
| [**get_sfvb_redirect**](SfvbApi.md#get_sfvb_redirect) | **GET** /sfvb/storefronts/{storefront_oid}/redirects/{redirect_id} | Read one redirect rule |
|
|
84
85
|
| [**get_sfvb_redirects**](SfvbApi.md#get_sfvb_redirects) | **GET** /sfvb/storefronts/{storefront_oid}/redirects | List the storefront's redirect rules |
|
|
86
|
+
| [**get_sfvb_secret_kinds**](SfvbApi.md#get_sfvb_secret_kinds) | **GET** /sfvb/secrets/kinds | List the secrets this server collects |
|
|
87
|
+
| [**get_sfvb_secret_request**](SfvbApi.md#get_sfvb_secret_request) | **GET** /sfvb/secrets/{request_id} | Read one secret request |
|
|
88
|
+
| [**get_sfvb_secret_requests**](SfvbApi.md#get_sfvb_secret_requests) | **GET** /sfvb/secrets | List this sign-in's secret requests |
|
|
85
89
|
| [**get_sfvb_server_log**](SfvbApi.md#get_sfvb_server_log) | **GET** /sfvb/storefronts/{storefront_oid}/logs/{log_id} | Get one storefront render log |
|
|
86
90
|
| [**get_sfvb_site_attributes**](SfvbApi.md#get_sfvb_site_attributes) | **GET** /sfvb/storefronts/{storefront_oid}/attributes | Read a storefront's site attributes |
|
|
87
91
|
| [**get_sfvb_test_orders**](SfvbApi.md#get_sfvb_test_orders) | **GET** /sfvb/storefronts/{storefront_oid}/test_orders | List recent test orders |
|
|
@@ -98,6 +102,7 @@ All URIs are relative to *https://secure.ultracart.com/rest/v2*
|
|
|
98
102
|
| [**insert_sfvb_blog_post**](SfvbApi.md#insert_sfvb_blog_post) | **POST** /sfvb/storefronts/{storefront_oid}/blog_posts | Create a blog post |
|
|
99
103
|
| [**insert_sfvb_page**](SfvbApi.md#insert_sfvb_page) | **POST** /sfvb/storefronts/{storefront_oid}/pages | Create a page |
|
|
100
104
|
| [**insert_sfvb_redirect**](SfvbApi.md#insert_sfvb_redirect) | **POST** /sfvb/storefronts/{storefront_oid}/redirects | Create a 301 redirect rule |
|
|
105
|
+
| [**insert_sfvb_secret_request**](SfvbApi.md#insert_sfvb_secret_request) | **POST** /sfvb/secrets | Ask a person to enter secret values |
|
|
101
106
|
| [**insert_sfvb_upsell_offer**](SfvbApi.md#insert_sfvb_upsell_offer) | **POST** /sfvb/storefronts/{storefront_oid}/upsell_offers | Create an upsell offer |
|
|
102
107
|
| [**insert_sfvb_upsell_path**](SfvbApi.md#insert_sfvb_upsell_path) | **POST** /sfvb/storefronts/{storefront_oid}/upsell_paths | Create an upsell path |
|
|
103
108
|
| [**install_sfvb_library_entry**](SfvbApi.md#install_sfvb_library_entry) | **POST** /sfvb/storefronts/{storefront_oid}/library/{library_oid}/install | Install a library entry into a storefront |
|
|
@@ -150,6 +155,7 @@ All URIs are relative to *https://secure.ultracart.com/rest/v2*
|
|
|
150
155
|
| [**resolve_sfvb_template**](SfvbApi.md#resolve_sfvb_template) | **GET** /sfvb/storefronts/{storefront_oid}/templates/resolve | Resolve a template name to the file a page renders |
|
|
151
156
|
| [**revert_sfvb_container**](SfvbApi.md#revert_sfvb_container) | **POST** /sfvb/storefronts/{storefront_oid}/containers/{owner_type}/{owner_object_id}/revert | Revert a container stored outside the file system |
|
|
152
157
|
| [**revert_sfvb_file**](SfvbApi.md#revert_sfvb_file) | **POST** /sfvb/storefronts/{storefront_oid}/files/revert | Revert a storefront file to an earlier version |
|
|
158
|
+
| [**revoke_sfvb_secret_request**](SfvbApi.md#revoke_sfvb_secret_request) | **POST** /sfvb/secrets/{request_id}/revoke | Revoke a fulfilled request's unused handles |
|
|
153
159
|
| [**search_sfvb_files**](SfvbApi.md#search_sfvb_files) | **POST** /sfvb/storefronts/{storefront_oid}/files/search | Search storefront files |
|
|
154
160
|
| [**search_sfvb_library**](SfvbApi.md#search_sfvb_library) | **GET** /sfvb/storefronts/{storefront_oid}/library | Search the element library |
|
|
155
161
|
| [**set_sfvb_library_screenshot**](SfvbApi.md#set_sfvb_library_screenshot) | **PUT** /sfvb/storefronts/{storefront_oid}/library/{library_oid}/screenshot | Set a library entry's screenshot |
|
|
@@ -612,7 +618,7 @@ end
|
|
|
612
618
|
|
|
613
619
|
One time link that opens a preview in a browser with no UltraCart login
|
|
614
620
|
|
|
615
|
-
The preview URL only works in a browser already signed in to UltraCart on the storefront's own host, and an agent's built in browser never is. This returns a single use access_url on the storefront host instead. Opening it gets past the storefront lock, shows the requested theme and applies the requested preview session for the rest of that browser session, then redirects to path. It expires two minutes after issue or on first use.
|
|
621
|
+
The preview URL only works in a browser already signed in to UltraCart on the storefront's own host, and an agent's built in browser never is. This returns a single use access_url on the storefront host instead. Opening it gets past the storefront lock, shows the requested theme and applies the requested preview session for the rest of that browser session, then redirects to path. It expires two minutes after issue or on first use. With a preview session, pages opened afterwards carry an X-UltraCart-Preview header of applied or not-applied. Without one, the pages are the live content and carry no X-UltraCart-Preview header. Requires a token that resolves to a user, so use the device authorization flow.
|
|
616
622
|
|
|
617
623
|
|
|
618
624
|
### Examples
|
|
@@ -1265,6 +1271,59 @@ end
|
|
|
1265
1271
|
- **Accept**: application/json
|
|
1266
1272
|
|
|
1267
1273
|
|
|
1274
|
+
## delete_sfvb_secret_request
|
|
1275
|
+
|
|
1276
|
+
> <SfvbSecretRequest> delete_sfvb_secret_request(request_id)
|
|
1277
|
+
|
|
1278
|
+
Cancel a pending secret request
|
|
1279
|
+
|
|
1280
|
+
Withdraws a request nobody has filled in yet, with its handles, which frees one of the five pending slots a sign-in has. A fulfilled request cannot be cancelled; revoke its handles instead.
|
|
1281
|
+
|
|
1282
|
+
|
|
1283
|
+
### Examples
|
|
1284
|
+
|
|
1285
|
+
|
|
1286
|
+
(No example for this operation).
|
|
1287
|
+
|
|
1288
|
+
|
|
1289
|
+
#### Using the delete_sfvb_secret_request_with_http_info variant
|
|
1290
|
+
|
|
1291
|
+
This returns an Array which contains the response data, status code and headers.
|
|
1292
|
+
|
|
1293
|
+
> <Array(<SfvbSecretRequest>, Integer, Hash)> delete_sfvb_secret_request_with_http_info(request_id)
|
|
1294
|
+
|
|
1295
|
+
```ruby
|
|
1296
|
+
begin
|
|
1297
|
+
# Cancel a pending secret request
|
|
1298
|
+
data, status_code, headers = api_instance.delete_sfvb_secret_request_with_http_info(request_id)
|
|
1299
|
+
p status_code # => 2xx
|
|
1300
|
+
p headers # => { ... }
|
|
1301
|
+
p data # => <SfvbSecretRequest>
|
|
1302
|
+
rescue UltracartClient::ApiError => e
|
|
1303
|
+
puts "Error when calling SfvbApi->delete_sfvb_secret_request_with_http_info: #{e}"
|
|
1304
|
+
end
|
|
1305
|
+
```
|
|
1306
|
+
|
|
1307
|
+
### Parameters
|
|
1308
|
+
|
|
1309
|
+
| Name | Type | Description | Notes |
|
|
1310
|
+
| ---- | ---- | ----------- | ----- |
|
|
1311
|
+
| **request_id** | **String** | | |
|
|
1312
|
+
|
|
1313
|
+
### Return type
|
|
1314
|
+
|
|
1315
|
+
[**SfvbSecretRequest**](SfvbSecretRequest.md)
|
|
1316
|
+
|
|
1317
|
+
### Authorization
|
|
1318
|
+
|
|
1319
|
+
[ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
|
|
1320
|
+
|
|
1321
|
+
### HTTP request headers
|
|
1322
|
+
|
|
1323
|
+
- **Content-Type**: Not defined
|
|
1324
|
+
- **Accept**: application/json
|
|
1325
|
+
|
|
1326
|
+
|
|
1268
1327
|
## detach_sfvb_blog_post_image
|
|
1269
1328
|
|
|
1270
1329
|
> <SfvbBlogPostDetail> detach_sfvb_blog_post_image(storefront_oid, blog_post_oid, blog_post_image_request)
|
|
@@ -4418,6 +4477,161 @@ end
|
|
|
4418
4477
|
- **Accept**: application/json
|
|
4419
4478
|
|
|
4420
4479
|
|
|
4480
|
+
## get_sfvb_secret_kinds
|
|
4481
|
+
|
|
4482
|
+
> <SfvbSecretKindsResponse> get_sfvb_secret_kinds
|
|
4483
|
+
|
|
4484
|
+
List the secrets this server collects
|
|
4485
|
+
|
|
4486
|
+
The kinds of secret value, with what each looks like, and the secret fields (sinks) a handle can be written to. Request a handle for a sink with POST secrets.
|
|
4487
|
+
|
|
4488
|
+
|
|
4489
|
+
### Examples
|
|
4490
|
+
|
|
4491
|
+
|
|
4492
|
+
(No example for this operation).
|
|
4493
|
+
|
|
4494
|
+
|
|
4495
|
+
#### Using the get_sfvb_secret_kinds_with_http_info variant
|
|
4496
|
+
|
|
4497
|
+
This returns an Array which contains the response data, status code and headers.
|
|
4498
|
+
|
|
4499
|
+
> <Array(<SfvbSecretKindsResponse>, Integer, Hash)> get_sfvb_secret_kinds_with_http_info
|
|
4500
|
+
|
|
4501
|
+
```ruby
|
|
4502
|
+
begin
|
|
4503
|
+
# List the secrets this server collects
|
|
4504
|
+
data, status_code, headers = api_instance.get_sfvb_secret_kinds_with_http_info
|
|
4505
|
+
p status_code # => 2xx
|
|
4506
|
+
p headers # => { ... }
|
|
4507
|
+
p data # => <SfvbSecretKindsResponse>
|
|
4508
|
+
rescue UltracartClient::ApiError => e
|
|
4509
|
+
puts "Error when calling SfvbApi->get_sfvb_secret_kinds_with_http_info: #{e}"
|
|
4510
|
+
end
|
|
4511
|
+
```
|
|
4512
|
+
|
|
4513
|
+
### Parameters
|
|
4514
|
+
|
|
4515
|
+
This endpoint does not need any parameter.
|
|
4516
|
+
|
|
4517
|
+
### Return type
|
|
4518
|
+
|
|
4519
|
+
[**SfvbSecretKindsResponse**](SfvbSecretKindsResponse.md)
|
|
4520
|
+
|
|
4521
|
+
### Authorization
|
|
4522
|
+
|
|
4523
|
+
[ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
|
|
4524
|
+
|
|
4525
|
+
### HTTP request headers
|
|
4526
|
+
|
|
4527
|
+
- **Content-Type**: Not defined
|
|
4528
|
+
- **Accept**: application/json
|
|
4529
|
+
|
|
4530
|
+
|
|
4531
|
+
## get_sfvb_secret_request
|
|
4532
|
+
|
|
4533
|
+
> <SfvbSecretRequest> get_sfvb_secret_request(request_id)
|
|
4534
|
+
|
|
4535
|
+
Read one secret request
|
|
4536
|
+
|
|
4537
|
+
Poll this every interval_seconds after making a request. status is pending until a person enters the values, then fulfilled, and expired if nobody does within 24 hours. handles lists each handle with its own status, and a fingerprint (the last few characters as a mask shows them) once its value is entered. Never a value.
|
|
4538
|
+
|
|
4539
|
+
|
|
4540
|
+
### Examples
|
|
4541
|
+
|
|
4542
|
+
|
|
4543
|
+
(No example for this operation).
|
|
4544
|
+
|
|
4545
|
+
|
|
4546
|
+
#### Using the get_sfvb_secret_request_with_http_info variant
|
|
4547
|
+
|
|
4548
|
+
This returns an Array which contains the response data, status code and headers.
|
|
4549
|
+
|
|
4550
|
+
> <Array(<SfvbSecretRequest>, Integer, Hash)> get_sfvb_secret_request_with_http_info(request_id)
|
|
4551
|
+
|
|
4552
|
+
```ruby
|
|
4553
|
+
begin
|
|
4554
|
+
# Read one secret request
|
|
4555
|
+
data, status_code, headers = api_instance.get_sfvb_secret_request_with_http_info(request_id)
|
|
4556
|
+
p status_code # => 2xx
|
|
4557
|
+
p headers # => { ... }
|
|
4558
|
+
p data # => <SfvbSecretRequest>
|
|
4559
|
+
rescue UltracartClient::ApiError => e
|
|
4560
|
+
puts "Error when calling SfvbApi->get_sfvb_secret_request_with_http_info: #{e}"
|
|
4561
|
+
end
|
|
4562
|
+
```
|
|
4563
|
+
|
|
4564
|
+
### Parameters
|
|
4565
|
+
|
|
4566
|
+
| Name | Type | Description | Notes |
|
|
4567
|
+
| ---- | ---- | ----------- | ----- |
|
|
4568
|
+
| **request_id** | **String** | | |
|
|
4569
|
+
|
|
4570
|
+
### Return type
|
|
4571
|
+
|
|
4572
|
+
[**SfvbSecretRequest**](SfvbSecretRequest.md)
|
|
4573
|
+
|
|
4574
|
+
### Authorization
|
|
4575
|
+
|
|
4576
|
+
[ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
|
|
4577
|
+
|
|
4578
|
+
### HTTP request headers
|
|
4579
|
+
|
|
4580
|
+
- **Content-Type**: Not defined
|
|
4581
|
+
- **Accept**: application/json
|
|
4582
|
+
|
|
4583
|
+
|
|
4584
|
+
## get_sfvb_secret_requests
|
|
4585
|
+
|
|
4586
|
+
> <SfvbSecretRequestsResponse> get_sfvb_secret_requests
|
|
4587
|
+
|
|
4588
|
+
List this sign-in's secret requests
|
|
4589
|
+
|
|
4590
|
+
Requests made with this sign-in in the last 24 hours, newest first, at most 50, without their handles. Read one request for its handles.
|
|
4591
|
+
|
|
4592
|
+
|
|
4593
|
+
### Examples
|
|
4594
|
+
|
|
4595
|
+
|
|
4596
|
+
(No example for this operation).
|
|
4597
|
+
|
|
4598
|
+
|
|
4599
|
+
#### Using the get_sfvb_secret_requests_with_http_info variant
|
|
4600
|
+
|
|
4601
|
+
This returns an Array which contains the response data, status code and headers.
|
|
4602
|
+
|
|
4603
|
+
> <Array(<SfvbSecretRequestsResponse>, Integer, Hash)> get_sfvb_secret_requests_with_http_info
|
|
4604
|
+
|
|
4605
|
+
```ruby
|
|
4606
|
+
begin
|
|
4607
|
+
# List this sign-in's secret requests
|
|
4608
|
+
data, status_code, headers = api_instance.get_sfvb_secret_requests_with_http_info
|
|
4609
|
+
p status_code # => 2xx
|
|
4610
|
+
p headers # => { ... }
|
|
4611
|
+
p data # => <SfvbSecretRequestsResponse>
|
|
4612
|
+
rescue UltracartClient::ApiError => e
|
|
4613
|
+
puts "Error when calling SfvbApi->get_sfvb_secret_requests_with_http_info: #{e}"
|
|
4614
|
+
end
|
|
4615
|
+
```
|
|
4616
|
+
|
|
4617
|
+
### Parameters
|
|
4618
|
+
|
|
4619
|
+
This endpoint does not need any parameter.
|
|
4620
|
+
|
|
4621
|
+
### Return type
|
|
4622
|
+
|
|
4623
|
+
[**SfvbSecretRequestsResponse**](SfvbSecretRequestsResponse.md)
|
|
4624
|
+
|
|
4625
|
+
### Authorization
|
|
4626
|
+
|
|
4627
|
+
[ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
|
|
4628
|
+
|
|
4629
|
+
### HTTP request headers
|
|
4630
|
+
|
|
4631
|
+
- **Content-Type**: Not defined
|
|
4632
|
+
- **Accept**: application/json
|
|
4633
|
+
|
|
4634
|
+
|
|
4421
4635
|
## get_sfvb_server_log
|
|
4422
4636
|
|
|
4423
4637
|
> <SfvbServerLogDetail> get_sfvb_server_log(storefront_oid, log_id, opts)
|
|
@@ -5284,6 +5498,59 @@ end
|
|
|
5284
5498
|
- **Accept**: application/json
|
|
5285
5499
|
|
|
5286
5500
|
|
|
5501
|
+
## insert_sfvb_secret_request
|
|
5502
|
+
|
|
5503
|
+
> <SfvbSecretRequest> insert_sfvb_secret_request(secret_request)
|
|
5504
|
+
|
|
5505
|
+
Ask a person to enter secret values
|
|
5506
|
+
|
|
5507
|
+
Never ask for a credential in the conversation. This makes a handle for each sink (and each key, for a bulk request) at once, pending until a person enters the values on request_url. Show the person request_url and user_code and never open or fill in the page yourself. Poll GET secrets/{request_id} every interval_seconds until status is fulfilled, then send each handle in its secret field. The server writes the value in its place. A handle works only for this sign-in, its sink and its target, for ttl_seconds and uses writes. A request lapses after 24 hours, and shares the five pending requests a sign-in has with approvals. Asking again for the same thing returns the pending request (200) rather than a new one (201). Requires a token that resolves to a user, so use the device authorization flow. A secret request is never an approval.
|
|
5508
|
+
|
|
5509
|
+
|
|
5510
|
+
### Examples
|
|
5511
|
+
|
|
5512
|
+
|
|
5513
|
+
(No example for this operation).
|
|
5514
|
+
|
|
5515
|
+
|
|
5516
|
+
#### Using the insert_sfvb_secret_request_with_http_info variant
|
|
5517
|
+
|
|
5518
|
+
This returns an Array which contains the response data, status code and headers.
|
|
5519
|
+
|
|
5520
|
+
> <Array(<SfvbSecretRequest>, Integer, Hash)> insert_sfvb_secret_request_with_http_info(secret_request)
|
|
5521
|
+
|
|
5522
|
+
```ruby
|
|
5523
|
+
begin
|
|
5524
|
+
# Ask a person to enter secret values
|
|
5525
|
+
data, status_code, headers = api_instance.insert_sfvb_secret_request_with_http_info(secret_request)
|
|
5526
|
+
p status_code # => 2xx
|
|
5527
|
+
p headers # => { ... }
|
|
5528
|
+
p data # => <SfvbSecretRequest>
|
|
5529
|
+
rescue UltracartClient::ApiError => e
|
|
5530
|
+
puts "Error when calling SfvbApi->insert_sfvb_secret_request_with_http_info: #{e}"
|
|
5531
|
+
end
|
|
5532
|
+
```
|
|
5533
|
+
|
|
5534
|
+
### Parameters
|
|
5535
|
+
|
|
5536
|
+
| Name | Type | Description | Notes |
|
|
5537
|
+
| ---- | ---- | ----------- | ----- |
|
|
5538
|
+
| **secret_request** | [**SfvbSecretRequestCreate**](SfvbSecretRequestCreate.md) | The request | |
|
|
5539
|
+
|
|
5540
|
+
### Return type
|
|
5541
|
+
|
|
5542
|
+
[**SfvbSecretRequest**](SfvbSecretRequest.md)
|
|
5543
|
+
|
|
5544
|
+
### Authorization
|
|
5545
|
+
|
|
5546
|
+
[ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
|
|
5547
|
+
|
|
5548
|
+
### HTTP request headers
|
|
5549
|
+
|
|
5550
|
+
- **Content-Type**: application/json; charset=UTF-8
|
|
5551
|
+
- **Accept**: application/json
|
|
5552
|
+
|
|
5553
|
+
|
|
5287
5554
|
## insert_sfvb_upsell_offer
|
|
5288
5555
|
|
|
5289
5556
|
> <SfvbUpsellOffer> insert_sfvb_upsell_offer(storefront_oid, upsell_offer)
|
|
@@ -8169,6 +8436,59 @@ end
|
|
|
8169
8436
|
- **Accept**: application/json
|
|
8170
8437
|
|
|
8171
8438
|
|
|
8439
|
+
## revoke_sfvb_secret_request
|
|
8440
|
+
|
|
8441
|
+
> <SfvbSecretRequest> revoke_sfvb_secret_request(request_id)
|
|
8442
|
+
|
|
8443
|
+
Revoke a fulfilled request's unused handles
|
|
8444
|
+
|
|
8445
|
+
Every handle of the request that no write has used up stops working at once, and its value is deleted. A handle a write is using right now is left to that write. Use it when the plan changed, or a handle may have leaked.
|
|
8446
|
+
|
|
8447
|
+
|
|
8448
|
+
### Examples
|
|
8449
|
+
|
|
8450
|
+
|
|
8451
|
+
(No example for this operation).
|
|
8452
|
+
|
|
8453
|
+
|
|
8454
|
+
#### Using the revoke_sfvb_secret_request_with_http_info variant
|
|
8455
|
+
|
|
8456
|
+
This returns an Array which contains the response data, status code and headers.
|
|
8457
|
+
|
|
8458
|
+
> <Array(<SfvbSecretRequest>, Integer, Hash)> revoke_sfvb_secret_request_with_http_info(request_id)
|
|
8459
|
+
|
|
8460
|
+
```ruby
|
|
8461
|
+
begin
|
|
8462
|
+
# Revoke a fulfilled request's unused handles
|
|
8463
|
+
data, status_code, headers = api_instance.revoke_sfvb_secret_request_with_http_info(request_id)
|
|
8464
|
+
p status_code # => 2xx
|
|
8465
|
+
p headers # => { ... }
|
|
8466
|
+
p data # => <SfvbSecretRequest>
|
|
8467
|
+
rescue UltracartClient::ApiError => e
|
|
8468
|
+
puts "Error when calling SfvbApi->revoke_sfvb_secret_request_with_http_info: #{e}"
|
|
8469
|
+
end
|
|
8470
|
+
```
|
|
8471
|
+
|
|
8472
|
+
### Parameters
|
|
8473
|
+
|
|
8474
|
+
| Name | Type | Description | Notes |
|
|
8475
|
+
| ---- | ---- | ----------- | ----- |
|
|
8476
|
+
| **request_id** | **String** | | |
|
|
8477
|
+
|
|
8478
|
+
### Return type
|
|
8479
|
+
|
|
8480
|
+
[**SfvbSecretRequest**](SfvbSecretRequest.md)
|
|
8481
|
+
|
|
8482
|
+
### Authorization
|
|
8483
|
+
|
|
8484
|
+
[ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
|
|
8485
|
+
|
|
8486
|
+
### HTTP request headers
|
|
8487
|
+
|
|
8488
|
+
- **Content-Type**: Not defined
|
|
8489
|
+
- **Accept**: application/json
|
|
8490
|
+
|
|
8491
|
+
|
|
8172
8492
|
## search_sfvb_files
|
|
8173
8493
|
|
|
8174
8494
|
> <SfvbFileSearchResponse> search_sfvb_files(storefront_oid, search_request)
|
data/docs/SfvbEvent.md
CHANGED
|
@@ -7,9 +7,9 @@
|
|
|
7
7
|
| **event_dts** | **String** | When it happened, ISO 8601. | [optional] |
|
|
8
8
|
| **event_id** | **String** | Time-ordered id. Pass the last one seen as after to replay what came since. | [optional] |
|
|
9
9
|
| **object_id** | **String** | The id of what changed, such as the approval_id. | [optional] |
|
|
10
|
-
| **object_type** | **String** | What changed, such as approval. | [optional] |
|
|
10
|
+
| **object_type** | **String** | What changed, such as approval or secret_sink. | [optional] |
|
|
11
11
|
| **storefront_oid** | **Integer** | The storefront it concerns. Empty for merchant-level objects. | [optional] |
|
|
12
|
-
| **type** | **String** | approval.decided (approved, denied, cancelled or refused by the script review)
|
|
12
|
+
| **type** | **String** | approval.decided (approved, denied, cancelled or refused by the script review), approval.ready (the review finished and the person can decide) or secret_sink.completed (a person entered the values of a secret request; object_id is the request id). | [optional] |
|
|
13
13
|
|
|
14
14
|
## Example
|
|
15
15
|
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# UltracartClient::SfvbSecretHandle
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **expires_at** | **String** | When it stops being usable, ISO 8601 UTC. | [optional] |
|
|
8
|
+
| **fingerprint** | **String** | The last few characters of the value, as a mask shows them, so the person can tell values apart. Empty until entered. | [optional] |
|
|
9
|
+
| **handle** | **String** | The handle. Safe to log and keep in plans. It works only for the sign-in that requested it. | [optional] |
|
|
10
|
+
| **key** | **String** | The bulk key it is for, or empty. | [optional] |
|
|
11
|
+
| **sink** | **String** | The secret field it can be written to. | [optional] |
|
|
12
|
+
| **status** | **String** | pending (no value yet), ready, in_use (a write holds it), consumed, revoked or expired. | [optional] |
|
|
13
|
+
| **target_id** | **String** | The object it can be written to, or empty when the request named none. | [optional] |
|
|
14
|
+
| **uses_left** | **Integer** | Writes left. Empty once the handle is gone. | [optional] |
|
|
15
|
+
|
|
16
|
+
## Example
|
|
17
|
+
|
|
18
|
+
```ruby
|
|
19
|
+
require 'ultracart_api'
|
|
20
|
+
|
|
21
|
+
instance = UltracartClient::SfvbSecretHandle.new(
|
|
22
|
+
expires_at: null,
|
|
23
|
+
fingerprint: null,
|
|
24
|
+
handle: null,
|
|
25
|
+
key: null,
|
|
26
|
+
sink: null,
|
|
27
|
+
status: null,
|
|
28
|
+
target_id: null,
|
|
29
|
+
uses_left: null
|
|
30
|
+
)
|
|
31
|
+
```
|
|
32
|
+
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
# UltracartClient::SfvbSecretKind
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **description** | **String** | Where the value comes from. | [optional] |
|
|
8
|
+
| **format_hint** | **String** | What the value looks like. The request page checks it as it is typed, and the server again. | [optional] |
|
|
9
|
+
| **id** | **String** | The kind id. | [optional] |
|
|
10
|
+
| **label** | **String** | What the person is told they are entering. | [optional] |
|
|
11
|
+
| **mask_suffix** | **Integer** | How many trailing characters a mask shows at most. | [optional] |
|
|
12
|
+
| **max_length** | **Integer** | Longest value accepted. | [optional] |
|
|
13
|
+
| **min_length** | **Integer** | Shortest value accepted, after surrounding whitespace is removed. | [optional] |
|
|
14
|
+
|
|
15
|
+
## Example
|
|
16
|
+
|
|
17
|
+
```ruby
|
|
18
|
+
require 'ultracart_api'
|
|
19
|
+
|
|
20
|
+
instance = UltracartClient::SfvbSecretKind.new(
|
|
21
|
+
description: null,
|
|
22
|
+
format_hint: null,
|
|
23
|
+
id: null,
|
|
24
|
+
label: null,
|
|
25
|
+
mask_suffix: null,
|
|
26
|
+
max_length: null,
|
|
27
|
+
min_length: null
|
|
28
|
+
)
|
|
29
|
+
```
|
|
30
|
+
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# UltracartClient::SfvbSecretKindsResponse
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **kinds** | [**Array<SfvbSecretKind>**](SfvbSecretKind.md) | Every kind of secret this server collects. | [optional] |
|
|
8
|
+
| **sinks** | [**Array<SfvbSecretSink>**](SfvbSecretSink.md) | Every secret field a handle can be written to. | [optional] |
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```ruby
|
|
13
|
+
require 'ultracart_api'
|
|
14
|
+
|
|
15
|
+
instance = UltracartClient::SfvbSecretKindsResponse.new(
|
|
16
|
+
kinds: null,
|
|
17
|
+
sinks: null
|
|
18
|
+
)
|
|
19
|
+
```
|
|
20
|
+
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
# UltracartClient::SfvbSecretRequest
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **created_at** | **String** | When the request was made, ISO 8601 UTC. | [optional] |
|
|
8
|
+
| **delegated** | **Boolean** | True when the requester handed it to a colleague to fill in. | [optional] |
|
|
9
|
+
| **description** | **String** | The sentence the person reads. Written by the server, not the agent. | [optional] |
|
|
10
|
+
| **expires_at** | **String** | When a pending request lapses, ISO 8601 UTC. | [optional] |
|
|
11
|
+
| **expires_in_seconds** | **Integer** | Seconds until expires_at. Zero once passed. | [optional] |
|
|
12
|
+
| **fulfilled_at** | **String** | When the values were entered, ISO 8601 UTC. | [optional] |
|
|
13
|
+
| **handle_count** | **Integer** | How many handles the request made. | [optional] |
|
|
14
|
+
| **handles** | [**Array<SfvbSecretHandle>**](SfvbSecretHandle.md) | Every handle with its status. Left out of the list endpoint; read one request for them. | [optional] |
|
|
15
|
+
| **interval_seconds** | **Integer** | Poll no more often than this. | [optional] |
|
|
16
|
+
| **keys** | **Array<String>** | The bulk keys, or empty. | [optional] |
|
|
17
|
+
| **label** | **String** | The label the agent sent, as stored and shown. | [optional] |
|
|
18
|
+
| **reason** | **String** | The reason the agent sent, as stored and shown. | [optional] |
|
|
19
|
+
| **request_id** | **String** | The request id. | [optional] |
|
|
20
|
+
| **request_url** | **String** | The page where the person enters the values. Show it to them. Never open or fill it in yourself. | [optional] |
|
|
21
|
+
| **requires_totp** | **Boolean** | True when the person must enter a code from their authenticator app. | [optional] |
|
|
22
|
+
| **sinks** | **Array<String>** | The secret fields being collected. | [optional] |
|
|
23
|
+
| **status** | **String** | pending, fulfilled, cancelled or expired. | [optional] |
|
|
24
|
+
| **target_id** | **String** | The object the values are for, or empty for a bulk request or an open one. | [optional] |
|
|
25
|
+
| **user_code** | **String** | Short matching code. Print it next to request_url so the person can check the page shows the same code. | [optional] |
|
|
26
|
+
|
|
27
|
+
## Example
|
|
28
|
+
|
|
29
|
+
```ruby
|
|
30
|
+
require 'ultracart_api'
|
|
31
|
+
|
|
32
|
+
instance = UltracartClient::SfvbSecretRequest.new(
|
|
33
|
+
created_at: null,
|
|
34
|
+
delegated: null,
|
|
35
|
+
description: null,
|
|
36
|
+
expires_at: null,
|
|
37
|
+
expires_in_seconds: null,
|
|
38
|
+
fulfilled_at: null,
|
|
39
|
+
handle_count: null,
|
|
40
|
+
handles: null,
|
|
41
|
+
interval_seconds: null,
|
|
42
|
+
keys: null,
|
|
43
|
+
label: null,
|
|
44
|
+
reason: null,
|
|
45
|
+
request_id: null,
|
|
46
|
+
request_url: null,
|
|
47
|
+
requires_totp: null,
|
|
48
|
+
sinks: null,
|
|
49
|
+
status: null,
|
|
50
|
+
target_id: null,
|
|
51
|
+
user_code: null
|
|
52
|
+
)
|
|
53
|
+
```
|
|
54
|
+
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
# UltracartClient::SfvbSecretRequestCreate
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **keys** | **Array<String>** | Bulk. One handle per key and sink, and each key is that handle's target, such as one sending domain per key. At most 500 handles in all. | [optional] |
|
|
8
|
+
| **label** | **String** | A short name the person sees, marked as unverified. At most 120 characters. | [optional] |
|
|
9
|
+
| **reason** | **String** | Why the agent needs it. Shown to the person, marked as unverified. At most 500 characters. | [optional] |
|
|
10
|
+
| **sinks** | **Array<String>** | The secret fields to collect, by sink id. GET secrets/kinds lists them. All must take the same kind of target. | [optional] |
|
|
11
|
+
| **target_id** | **String** | The object the values are for, such as a Twilio account uuid. Required for sinks that need an authenticator code, unless keys names the targets. Leave it out when keys is sent. | [optional] |
|
|
12
|
+
| **ttl_seconds** | **Integer** | How long each handle stays usable once the values are entered. 60 to 86400, default 3600. | [optional] |
|
|
13
|
+
| **uses** | **Integer** | How many writes each handle may make. 1 to 100, default 1. | [optional] |
|
|
14
|
+
|
|
15
|
+
## Example
|
|
16
|
+
|
|
17
|
+
```ruby
|
|
18
|
+
require 'ultracart_api'
|
|
19
|
+
|
|
20
|
+
instance = UltracartClient::SfvbSecretRequestCreate.new(
|
|
21
|
+
keys: null,
|
|
22
|
+
label: null,
|
|
23
|
+
reason: null,
|
|
24
|
+
sinks: null,
|
|
25
|
+
target_id: null,
|
|
26
|
+
ttl_seconds: null,
|
|
27
|
+
uses: null
|
|
28
|
+
)
|
|
29
|
+
```
|
|
30
|
+
|