ultracart_api 4.1.202 → 4.1.204
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 +32 -2
- data/docs/SfvbApi.md +897 -39
- data/docs/SfvbApprovalParams.md +4 -0
- data/docs/SfvbCommsDnsRecord.md +24 -0
- data/docs/SfvbCommsSendingDomain.md +38 -0
- data/docs/SfvbCommsSendingDomainsResponse.md +18 -0
- data/docs/SfvbCommsTwilioAccount.md +38 -0
- data/docs/SfvbCommsTwilioAccountResponse.md +20 -0
- 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 +1059 -28
- data/lib/ultracart_api/models/sfvb_approval_params.rb +21 -1
- data/lib/ultracart_api/models/sfvb_comms_dns_record.rb +296 -0
- data/lib/ultracart_api/models/sfvb_comms_sending_domain.rb +356 -0
- data/lib/ultracart_api/models/sfvb_comms_sending_domains_response.rb +222 -0
- data/lib/ultracart_api/models/sfvb_comms_twilio_account.rb +322 -0
- data/lib/ultracart_api/models/sfvb_comms_twilio_account_response.rb +231 -0
- 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 +12 -0
- metadata +26 -2
data/docs/SfvbApprovalParams.md
CHANGED
|
@@ -7,6 +7,8 @@
|
|
|
7
7
|
| **attribute_names** | **Array<String>** | For item.attribute_batch, the attributes the batch would change. Set by the server. | [optional] |
|
|
8
8
|
| **blog_post_oid** | **Integer** | The blog post, for blog_post.delete. | [optional] |
|
|
9
9
|
| **content_sha256** | **String** | For file.put_script, the SHA-256 of the exact bytes approved. Set by the server, never by the caller. The write must send bytes with this hash. | [optional] |
|
|
10
|
+
| **domain** | **String** | For sending_domain.delete, the sending domain. | [optional] |
|
|
11
|
+
| **esp_twilio_uuid** | **String** | For twilio_account.delete, the Twilio account's esp_twilio_uuid, as GET comms/twilio_account returns it. | [optional] |
|
|
10
12
|
| **experiment_oid** | **Integer** | For experiment.end, the experiment to end. | [optional] |
|
|
11
13
|
| **item_count** | **Integer** | For item.attribute_batch, how many items the batch would change when it was requested. Set by the server. | [optional] |
|
|
12
14
|
| **merchant_item_oid** | **Integer** | For item.pricing, the item whose pricing changes. | [optional] |
|
|
@@ -30,6 +32,8 @@ instance = UltracartClient::SfvbApprovalParams.new(
|
|
|
30
32
|
attribute_names: null,
|
|
31
33
|
blog_post_oid: null,
|
|
32
34
|
content_sha256: null,
|
|
35
|
+
domain: null,
|
|
36
|
+
esp_twilio_uuid: null,
|
|
33
37
|
experiment_oid: null,
|
|
34
38
|
item_count: null,
|
|
35
39
|
merchant_item_oid: null,
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# UltracartClient::SfvbCommsDnsRecord
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **name** | **String** | The host name, relative to the domain. @ is the domain itself. | [optional] |
|
|
8
|
+
| **purpose** | **String** | What the record is for. verification proves the domain is yours, spf lists who may send for it, and dkim signs its mail. | [optional] |
|
|
9
|
+
| **type** | **String** | The record type. | [optional] |
|
|
10
|
+
| **value** | **String** | The value to publish. | [optional] |
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```ruby
|
|
15
|
+
require 'ultracart_api'
|
|
16
|
+
|
|
17
|
+
instance = UltracartClient::SfvbCommsDnsRecord.new(
|
|
18
|
+
name: null,
|
|
19
|
+
purpose: null,
|
|
20
|
+
type: null,
|
|
21
|
+
value: null
|
|
22
|
+
)
|
|
23
|
+
```
|
|
24
|
+
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
# UltracartClient::SfvbCommsSendingDomain
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **comment** | **String** | For an amazon domain, what UltraCart did last, such as restarting a verification that failed. | [optional] |
|
|
8
|
+
| **dkim_status** | **String** | For an amazon domain, whether the DKIM records were found. Pending, Success or Failed. | [optional] |
|
|
9
|
+
| **dns_records** | [**Array<SfvbCommsDnsRecord>**](SfvbCommsDnsRecord.md) | For an amazon domain, the DNS records to publish. Empty for a mailgun domain, whose records are in Mailgun. | [optional] |
|
|
10
|
+
| **domain** | **String** | The domain mail is sent from. A leading www. or secure. is dropped. Required to create. | [optional] |
|
|
11
|
+
| **esp_domain_uuid** | **String** | UltraCart's id for the sending domain. Set by the server. | [optional] |
|
|
12
|
+
| **identity_status** | **String** | For an amazon domain, whether the verification record was found. Pending until it is, then Success, or Failed after 72 hours. | [optional] |
|
|
13
|
+
| **mailgun_api_key** | **String** | For a mailgun domain, the Mailgun account's private API key. A secret field. Reads return a mask. To set it, send a secret handle (sec_...) made for this domain by POST secrets with sink mailgun.domain.api_key. Send the mask back, or leave it out, to keep it. Required to create a mailgun domain. | [optional] |
|
|
14
|
+
| **provider** | **String** | Who sends the mail. amazon sends through UltraCart after the DNS records are published. mailgun sends through the merchant's own Mailgun account. Required to create, and fixed after. | [optional] |
|
|
15
|
+
| **start_dkim_dts** | **String** | For an amazon domain, when the current DKIM check started. | [optional] |
|
|
16
|
+
| **start_identity_dts** | **String** | For an amazon domain, when the current verification started. | [optional] |
|
|
17
|
+
| **verified** | **Boolean** | True when an amazon domain's verification and DKIM records have both been found, so it can send. | [optional] |
|
|
18
|
+
|
|
19
|
+
## Example
|
|
20
|
+
|
|
21
|
+
```ruby
|
|
22
|
+
require 'ultracart_api'
|
|
23
|
+
|
|
24
|
+
instance = UltracartClient::SfvbCommsSendingDomain.new(
|
|
25
|
+
comment: null,
|
|
26
|
+
dkim_status: null,
|
|
27
|
+
dns_records: null,
|
|
28
|
+
domain: null,
|
|
29
|
+
esp_domain_uuid: null,
|
|
30
|
+
identity_status: null,
|
|
31
|
+
mailgun_api_key: null,
|
|
32
|
+
provider: null,
|
|
33
|
+
start_dkim_dts: null,
|
|
34
|
+
start_identity_dts: null,
|
|
35
|
+
verified: null
|
|
36
|
+
)
|
|
37
|
+
```
|
|
38
|
+
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# UltracartClient::SfvbCommsSendingDomainsResponse
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **sending_domains** | [**Array<SfvbCommsSendingDomain>**](SfvbCommsSendingDomain.md) | Every sending domain on the account, in domain order. Mailgun API keys are masked. | [optional] |
|
|
8
|
+
|
|
9
|
+
## Example
|
|
10
|
+
|
|
11
|
+
```ruby
|
|
12
|
+
require 'ultracart_api'
|
|
13
|
+
|
|
14
|
+
instance = UltracartClient::SfvbCommsSendingDomainsResponse.new(
|
|
15
|
+
sending_domains: null
|
|
16
|
+
)
|
|
17
|
+
```
|
|
18
|
+
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
# UltracartClient::SfvbCommsTwilioAccount
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **account_sid** | **String** | The Twilio account SID, AC followed by 32 hex digits. It names the account, so it is also the target_id of a secret request for its auth token. Required to create. | [optional] |
|
|
8
|
+
| **ai_twiml_app_sid** | **String** | The SID of the TwiML app UltraCart made for the AI agent. Set by the server. | [optional] |
|
|
9
|
+
| **api_key_id** | **String** | The SID of the Twilio API key UltraCart made for this account. Set by the server. Its secret is never returned. | [optional] |
|
|
10
|
+
| **api_key_name** | **String** | The name of the Twilio API key UltraCart made for this account. Set by the server. | [optional] |
|
|
11
|
+
| **auth_token** | **String** | The Twilio auth token. A secret field. Reads return a mask. To set it, send a secret handle (sec_...) made for this account SID by POST secrets with sink twilio.account.auth_token. Send the mask back, or leave it out, to keep it. Required to create. | [optional] |
|
|
12
|
+
| **esp_twilio_uuid** | **String** | UltraCart's id for the Twilio account. Set by the server. | [optional] |
|
|
13
|
+
| **inbound_twiml_app_sid** | **String** | The SID of the TwiML app UltraCart made for inbound calls and SMS. Set by the server. | [optional] |
|
|
14
|
+
| **outbound_twiml_app_sid** | **String** | The SID of the TwiML app UltraCart made for outbound calls. Set by the server. | [optional] |
|
|
15
|
+
| **phone_numbers** | **Array<String>** | The account's phone numbers UltraCart uses, in E.164 format. Leave it out of an update to keep them; an update that sends it replaces them all. | [optional] |
|
|
16
|
+
| **public_key_sid** | **String** | The SID of the voice encryption public key UltraCart registered with Twilio. Set by the server. The keys themselves are never returned. | [optional] |
|
|
17
|
+
| **twilio_workspace_sid** | **String** | The SID of the TaskRouter workspace the phone system uses, when it has one. Set by the server. | [optional] |
|
|
18
|
+
|
|
19
|
+
## Example
|
|
20
|
+
|
|
21
|
+
```ruby
|
|
22
|
+
require 'ultracart_api'
|
|
23
|
+
|
|
24
|
+
instance = UltracartClient::SfvbCommsTwilioAccount.new(
|
|
25
|
+
account_sid: null,
|
|
26
|
+
ai_twiml_app_sid: null,
|
|
27
|
+
api_key_id: null,
|
|
28
|
+
api_key_name: null,
|
|
29
|
+
auth_token: null,
|
|
30
|
+
esp_twilio_uuid: null,
|
|
31
|
+
inbound_twiml_app_sid: null,
|
|
32
|
+
outbound_twiml_app_sid: null,
|
|
33
|
+
phone_numbers: null,
|
|
34
|
+
public_key_sid: null,
|
|
35
|
+
twilio_workspace_sid: null
|
|
36
|
+
)
|
|
37
|
+
```
|
|
38
|
+
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# UltracartClient::SfvbCommsTwilioAccountResponse
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **twilio_account** | [**SfvbCommsTwilioAccount**](SfvbCommsTwilioAccount.md) | | [optional] |
|
|
8
|
+
| **warnings** | [**Array<SfvbErrorDetail>**](SfvbErrorDetail.md) | Anything worth knowing that did not stop the call, such as a second Twilio account left from before the admin allowed only one. | [optional] |
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```ruby
|
|
13
|
+
require 'ultracart_api'
|
|
14
|
+
|
|
15
|
+
instance = UltracartClient::SfvbCommsTwilioAccountResponse.new(
|
|
16
|
+
twilio_account: null,
|
|
17
|
+
warnings: null
|
|
18
|
+
)
|
|
19
|
+
```
|
|
20
|
+
|
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. A Twilio account by its account SID (AC followed by 32 hex digits), and a sending domain by the domain name, which may be one not added yet. 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
|
+
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# UltracartClient::SfvbSecretRequestsResponse
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **requests** | [**Array<SfvbSecretRequest>**](SfvbSecretRequest.md) | This sign-in's secret requests from the last 24 hours, newest first, at most 50, without their handles. | [optional] |
|
|
8
|
+
|
|
9
|
+
## Example
|
|
10
|
+
|
|
11
|
+
```ruby
|
|
12
|
+
require 'ultracart_api'
|
|
13
|
+
|
|
14
|
+
instance = UltracartClient::SfvbSecretRequestsResponse.new(
|
|
15
|
+
requests: null
|
|
16
|
+
)
|
|
17
|
+
```
|
|
18
|
+
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# UltracartClient::SfvbSecretSink
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **id** | **String** | The sink id. | [optional] |
|
|
8
|
+
| **kind** | **String** | The kind of value it holds. | [optional] |
|
|
9
|
+
| **requires_totp** | **Boolean** | True when the person must enter a code from their authenticator app, and the request must name its target. | [optional] |
|
|
10
|
+
| **target_type** | **String** | What a request names as its target_id or keys. | [optional] |
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```ruby
|
|
15
|
+
require 'ultracart_api'
|
|
16
|
+
|
|
17
|
+
instance = UltracartClient::SfvbSecretSink.new(
|
|
18
|
+
id: null,
|
|
19
|
+
kind: null,
|
|
20
|
+
requires_totp: null,
|
|
21
|
+
target_type: null
|
|
22
|
+
)
|
|
23
|
+
```
|
|
24
|
+
|