talon_one_sdk 26.22.1 → 26.23.0
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 +18 -4
- data/docs/CampaignSetNode.md +30 -0
- data/docs/LabelTarget.md +30 -0
- data/docs/MCPOAuthStaticClient.md +30 -0
- data/docs/MCPOAuthStaticClientWithSecret.md +32 -0
- data/docs/NewMCPOAuthClient.md +1 -1
- data/docs/NewMCPOAuthStaticClient.md +22 -0
- data/docs/OutboundLogStreamCursor.md +18 -0
- data/docs/OutboundLogStreamCursorEntry.md +20 -0
- data/docs/OutboundLogStreamEntry.md +82 -0
- data/docs/OutboundLogStreamEntryType.md +15 -0
- data/docs/OutboundLogStreamError.md +20 -0
- data/docs/OutboundLogStreamErrorEntry.md +20 -0
- data/docs/OutboundLogStreamLogEntry.md +20 -0
- data/docs/OutboundLogs.md +1 -1
- data/docs/{WebhookAuthenticationAllOfData.md → OutboundLogsDataInner.md} +9 -9
- data/docs/OutboundLogsFormat.md +15 -0
- data/docs/WebhookAuthentication.md +71 -26
- data/docs/WebhookAuthenticationBasic.md +34 -0
- data/docs/WebhookAuthenticationCustom.md +34 -0
- data/docs/WebhookAuthenticationEntity.md +28 -0
- data/lib/talon_one_sdk/models/campaign_set_node.rb +19 -67
- data/lib/talon_one_sdk/models/label_target.rb +19 -67
- data/lib/talon_one_sdk/models/mcpo_auth_static_client.rb +332 -0
- data/lib/talon_one_sdk/models/mcpo_auth_static_client_with_secret.rb +359 -0
- data/lib/talon_one_sdk/models/new_mcpo_auth_static_client.rb +233 -0
- data/lib/talon_one_sdk/models/outbound_log_stream_cursor.rb +179 -0
- data/lib/talon_one_sdk/models/outbound_log_stream_cursor_entry.rb +226 -0
- data/lib/talon_one_sdk/models/outbound_log_stream_entry.rb +59 -0
- data/lib/talon_one_sdk/models/outbound_log_stream_entry_type.rb +41 -0
- data/lib/talon_one_sdk/models/outbound_log_stream_error.rb +189 -0
- data/lib/talon_one_sdk/models/outbound_log_stream_error_entry.rb +226 -0
- data/lib/talon_one_sdk/models/outbound_log_stream_log_entry.rb +226 -0
- data/lib/talon_one_sdk/models/outbound_logs.rb +2 -2
- data/lib/talon_one_sdk/models/{webhook_authentication_all_of_data.rb → outbound_logs_data_inner.rb} +3 -3
- data/lib/talon_one_sdk/models/outbound_logs_format.rb +40 -0
- data/lib/talon_one_sdk/models/webhook_authentication.rb +28 -396
- data/lib/talon_one_sdk/models/webhook_authentication_basic.rb +428 -0
- data/lib/talon_one_sdk/models/webhook_authentication_custom.rb +428 -0
- data/lib/talon_one_sdk/models/webhook_authentication_entity.rb +322 -0
- data/lib/talon_one_sdk/version.rb +1 -1
- data/lib/talon_one_sdk.rb +15 -1
- data/spec/models/campaign_set_node_spec.rb +12 -0
- data/spec/models/label_target_spec.rb +12 -0
- data/spec/models/mcpo_auth_static_client_spec.rb +72 -0
- data/spec/models/mcpo_auth_static_client_with_secret_spec.rb +78 -0
- data/spec/models/new_mcpo_auth_static_client_spec.rb +48 -0
- data/spec/models/outbound_log_stream_cursor_entry_spec.rb +42 -0
- data/spec/models/outbound_log_stream_cursor_spec.rb +36 -0
- data/spec/models/outbound_log_stream_entry_spec.rb +44 -0
- data/spec/models/outbound_log_stream_entry_type_spec.rb +30 -0
- data/spec/models/outbound_log_stream_error_entry_spec.rb +42 -0
- data/spec/models/outbound_log_stream_error_spec.rb +42 -0
- data/spec/models/outbound_log_stream_log_entry_spec.rb +42 -0
- data/spec/models/{webhook_authentication_all_of_data_spec.rb → outbound_logs_data_inner_spec.rb} +2 -2
- data/spec/models/outbound_logs_format_spec.rb +30 -0
- data/spec/models/webhook_authentication_basic_spec.rb +88 -0
- data/spec/models/webhook_authentication_custom_spec.rb +88 -0
- data/spec/models/webhook_authentication_entity_spec.rb +66 -0
- data/spec/models/webhook_authentication_spec.rb +11 -55
- metadata +61 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f40cd904d2cb834d3eaef84aa94c3750b9a10376ff2eb1a9e8baa57e7a449b63
|
|
4
|
+
data.tar.gz: ce86cb9238d339f491762eb241ae1d026f9204cd7e546fb93a05a4be7c1d2651
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ac8006a09a6b5685c96dbc7fc3956d288aff25a7ebcfc27ed84429d37c7ebfacb49c337226e3beaf3e0b0aee8db8487505f406cced0d3342e0ae7ee56afd76ad
|
|
7
|
+
data.tar.gz: 2a88bcbb55d87db44cdd3403532aeb02d446e9c8e4a823dda9a73f0b45b5876ed2246758d2dfc4efbe55891041b554781b848ddd1515cb32c53321dfe3c3222c
|
data/README.md
CHANGED
|
@@ -16,7 +16,7 @@ See our [migration guide](MIGRATION.md).
|
|
|
16
16
|
Add this to the Gemfile:
|
|
17
17
|
|
|
18
18
|
```shell
|
|
19
|
-
gem 'talon_one_sdk', '~> 26.
|
|
19
|
+
gem 'talon_one_sdk', '~> 26.23.0'
|
|
20
20
|
```
|
|
21
21
|
|
|
22
22
|
### Build a gem
|
|
@@ -32,10 +32,10 @@ gem build talon_one_sdk.gemspec
|
|
|
32
32
|
To install the gem locally:
|
|
33
33
|
|
|
34
34
|
```shell
|
|
35
|
-
gem install ./talon_one_sdk-26.
|
|
35
|
+
gem install ./talon_one_sdk-26.23.0.gem
|
|
36
36
|
```
|
|
37
37
|
|
|
38
|
-
For development, run `gem install --dev ./talon_one_sdk-26.
|
|
38
|
+
For development, run `gem install --dev ./talon_one_sdk-26.23.0.gem` to install the development dependencies.
|
|
39
39
|
|
|
40
40
|
### RubyGems
|
|
41
41
|
|
|
@@ -1017,6 +1017,8 @@ Class | Method | HTTP request | Description
|
|
|
1017
1017
|
- [TalonOne::MCPOAuthProtectedResource](docs/MCPOAuthProtectedResource.md)
|
|
1018
1018
|
- [TalonOne::MCPOAuthServerMetadata](docs/MCPOAuthServerMetadata.md)
|
|
1019
1019
|
- [TalonOne::MCPOAuthSessionInfo](docs/MCPOAuthSessionInfo.md)
|
|
1020
|
+
- [TalonOne::MCPOAuthStaticClient](docs/MCPOAuthStaticClient.md)
|
|
1021
|
+
- [TalonOne::MCPOAuthStaticClientWithSecret](docs/MCPOAuthStaticClientWithSecret.md)
|
|
1020
1022
|
- [TalonOne::MCPOAuthToken](docs/MCPOAuthToken.md)
|
|
1021
1023
|
- [TalonOne::MCPOAuthTokenError](docs/MCPOAuthTokenError.md)
|
|
1022
1024
|
- [TalonOne::MCPOAuthTokenRequest](docs/MCPOAuthTokenRequest.md)
|
|
@@ -1088,6 +1090,7 @@ Class | Method | HTTP request | Description
|
|
|
1088
1090
|
- [TalonOne::NewLoyaltyTier](docs/NewLoyaltyTier.md)
|
|
1089
1091
|
- [TalonOne::NewMCPKey](docs/NewMCPKey.md)
|
|
1090
1092
|
- [TalonOne::NewMCPOAuthClient](docs/NewMCPOAuthClient.md)
|
|
1093
|
+
- [TalonOne::NewMCPOAuthStaticClient](docs/NewMCPOAuthStaticClient.md)
|
|
1091
1094
|
- [TalonOne::NewManagementKey](docs/NewManagementKey.md)
|
|
1092
1095
|
- [TalonOne::NewMessageTest](docs/NewMessageTest.md)
|
|
1093
1096
|
- [TalonOne::NewMultipleAudiencesItem](docs/NewMultipleAudiencesItem.md)
|
|
@@ -1125,7 +1128,16 @@ Class | Method | HTTP request | Description
|
|
|
1125
1128
|
- [TalonOne::OutboundLogBase](docs/OutboundLogBase.md)
|
|
1126
1129
|
- [TalonOne::OutboundLogRequest](docs/OutboundLogRequest.md)
|
|
1127
1130
|
- [TalonOne::OutboundLogResponse](docs/OutboundLogResponse.md)
|
|
1131
|
+
- [TalonOne::OutboundLogStreamCursor](docs/OutboundLogStreamCursor.md)
|
|
1132
|
+
- [TalonOne::OutboundLogStreamCursorEntry](docs/OutboundLogStreamCursorEntry.md)
|
|
1133
|
+
- [TalonOne::OutboundLogStreamEntry](docs/OutboundLogStreamEntry.md)
|
|
1134
|
+
- [TalonOne::OutboundLogStreamEntryType](docs/OutboundLogStreamEntryType.md)
|
|
1135
|
+
- [TalonOne::OutboundLogStreamError](docs/OutboundLogStreamError.md)
|
|
1136
|
+
- [TalonOne::OutboundLogStreamErrorEntry](docs/OutboundLogStreamErrorEntry.md)
|
|
1137
|
+
- [TalonOne::OutboundLogStreamLogEntry](docs/OutboundLogStreamLogEntry.md)
|
|
1128
1138
|
- [TalonOne::OutboundLogs](docs/OutboundLogs.md)
|
|
1139
|
+
- [TalonOne::OutboundLogsDataInner](docs/OutboundLogsDataInner.md)
|
|
1140
|
+
- [TalonOne::OutboundLogsFormat](docs/OutboundLogsFormat.md)
|
|
1129
1141
|
- [TalonOne::OutboundMessage](docs/OutboundMessage.md)
|
|
1130
1142
|
- [TalonOne::OutboundMessageResponse](docs/OutboundMessageResponse.md)
|
|
1131
1143
|
- [TalonOne::OutboundMessages](docs/OutboundMessages.md)
|
|
@@ -1374,12 +1386,14 @@ Class | Method | HTTP request | Description
|
|
|
1374
1386
|
- [TalonOne::ValueMap](docs/ValueMap.md)
|
|
1375
1387
|
- [TalonOne::Webhook](docs/Webhook.md)
|
|
1376
1388
|
- [TalonOne::WebhookAuthentication](docs/WebhookAuthentication.md)
|
|
1377
|
-
- [TalonOne::WebhookAuthenticationAllOfData](docs/WebhookAuthenticationAllOfData.md)
|
|
1378
1389
|
- [TalonOne::WebhookAuthenticationBase](docs/WebhookAuthenticationBase.md)
|
|
1379
1390
|
- [TalonOne::WebhookAuthenticationBaseBasic](docs/WebhookAuthenticationBaseBasic.md)
|
|
1380
1391
|
- [TalonOne::WebhookAuthenticationBaseCustom](docs/WebhookAuthenticationBaseCustom.md)
|
|
1392
|
+
- [TalonOne::WebhookAuthenticationBasic](docs/WebhookAuthenticationBasic.md)
|
|
1393
|
+
- [TalonOne::WebhookAuthenticationCustom](docs/WebhookAuthenticationCustom.md)
|
|
1381
1394
|
- [TalonOne::WebhookAuthenticationDataBasic](docs/WebhookAuthenticationDataBasic.md)
|
|
1382
1395
|
- [TalonOne::WebhookAuthenticationDataCustom](docs/WebhookAuthenticationDataCustom.md)
|
|
1396
|
+
- [TalonOne::WebhookAuthenticationEntity](docs/WebhookAuthenticationEntity.md)
|
|
1383
1397
|
- [TalonOne::WebhookAuthenticationWebhookRef](docs/WebhookAuthenticationWebhookRef.md)
|
|
1384
1398
|
- [TalonOne::WebhookBlockReference](docs/WebhookBlockReference.md)
|
|
1385
1399
|
- [TalonOne::WebhookWithOutgoingIntegrationDetails](docs/WebhookWithOutgoingIntegrationDetails.md)
|
data/docs/CampaignSetNode.md
CHANGED
|
@@ -19,6 +19,36 @@ TalonOne::CampaignSetNode.openapi_one_of
|
|
|
19
19
|
# ]
|
|
20
20
|
```
|
|
21
21
|
|
|
22
|
+
### `openapi_discriminator_name`
|
|
23
|
+
|
|
24
|
+
Returns the discriminator's property name.
|
|
25
|
+
|
|
26
|
+
#### Example
|
|
27
|
+
|
|
28
|
+
```ruby
|
|
29
|
+
require 'talon_one_sdk'
|
|
30
|
+
|
|
31
|
+
TalonOne::CampaignSetNode.openapi_discriminator_name
|
|
32
|
+
# => :'type'
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
### `openapi_discriminator_name`
|
|
36
|
+
|
|
37
|
+
Returns the discriminator's mapping.
|
|
38
|
+
|
|
39
|
+
#### Example
|
|
40
|
+
|
|
41
|
+
```ruby
|
|
42
|
+
require 'talon_one_sdk'
|
|
43
|
+
|
|
44
|
+
TalonOne::CampaignSetNode.openapi_discriminator_mapping
|
|
45
|
+
# =>
|
|
46
|
+
# {
|
|
47
|
+
# :'CAMPAIGN' => :'CampaignSetLeafNode',
|
|
48
|
+
# :'SET' => :'CampaignSetBranchNode'
|
|
49
|
+
# }
|
|
50
|
+
```
|
|
51
|
+
|
|
22
52
|
### build
|
|
23
53
|
|
|
24
54
|
Find the appropriate object from the `openapi_one_of` list and casts the data into it.
|
data/docs/LabelTarget.md
CHANGED
|
@@ -19,6 +19,36 @@ TalonOne::LabelTarget.openapi_one_of
|
|
|
19
19
|
# ]
|
|
20
20
|
```
|
|
21
21
|
|
|
22
|
+
### `openapi_discriminator_name`
|
|
23
|
+
|
|
24
|
+
Returns the discriminator's property name.
|
|
25
|
+
|
|
26
|
+
#### Example
|
|
27
|
+
|
|
28
|
+
```ruby
|
|
29
|
+
require 'talon_one_sdk'
|
|
30
|
+
|
|
31
|
+
TalonOne::LabelTarget.openapi_discriminator_name
|
|
32
|
+
# => :'type'
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
### `openapi_discriminator_name`
|
|
36
|
+
|
|
37
|
+
Returns the discriminator's mapping.
|
|
38
|
+
|
|
39
|
+
#### Example
|
|
40
|
+
|
|
41
|
+
```ruby
|
|
42
|
+
require 'talon_one_sdk'
|
|
43
|
+
|
|
44
|
+
TalonOne::LabelTarget.openapi_discriminator_mapping
|
|
45
|
+
# =>
|
|
46
|
+
# {
|
|
47
|
+
# :'AUDIENCE' => :'LabelTargetAudience',
|
|
48
|
+
# :'NONE' => :'LabelTargetNone'
|
|
49
|
+
# }
|
|
50
|
+
```
|
|
51
|
+
|
|
22
52
|
### build
|
|
23
53
|
|
|
24
54
|
Find the appropriate object from the `openapi_one_of` list and casts the data into it.
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
# TalonOne::MCPOAuthStaticClient
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **client_id** | **String** | Unique identifier for the OAuth2 client. | |
|
|
8
|
+
| **client_name** | **String** | Human-readable name for the OAuth2 client. | |
|
|
9
|
+
| **redirect_uris** | **Array<String>** | List of allowed redirect URIs for the authorization code flow. | |
|
|
10
|
+
| **created_at** | **Time** | Timestamp of when the client was registered. | |
|
|
11
|
+
| **id** | **Integer** | Numeric ID of the OAuth client, used to delete it. | |
|
|
12
|
+
| **created_by** | **Integer** | ID of the user who created the client. | |
|
|
13
|
+
| **expiry_date** | **Time** | The date the client credentials expire. | [optional] |
|
|
14
|
+
|
|
15
|
+
## Example
|
|
16
|
+
|
|
17
|
+
```ruby
|
|
18
|
+
require 'talon_one_sdk'
|
|
19
|
+
|
|
20
|
+
instance = TalonOne::MCPOAuthStaticClient.new(
|
|
21
|
+
client_id: a3f8c1e2b4d56789,
|
|
22
|
+
client_name: My MCP Integration,
|
|
23
|
+
redirect_uris: [https://example.com/callback, http://localhost:3000/callback],
|
|
24
|
+
created_at: 2026-06-12T10:00:00Z,
|
|
25
|
+
id: 34,
|
|
26
|
+
created_by: 280,
|
|
27
|
+
expiry_date: 2027-01-01T00:00:00Z
|
|
28
|
+
)
|
|
29
|
+
```
|
|
30
|
+
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# TalonOne::MCPOAuthStaticClientWithSecret
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **client_id** | **String** | Unique identifier for the OAuth2 client. | |
|
|
8
|
+
| **client_name** | **String** | Human-readable name for the OAuth2 client. | |
|
|
9
|
+
| **redirect_uris** | **Array<String>** | List of allowed redirect URIs for the authorization code flow. | |
|
|
10
|
+
| **created_at** | **Time** | Timestamp of when the client was registered. | |
|
|
11
|
+
| **id** | **Integer** | Numeric ID of the OAuth client, used to delete it. | |
|
|
12
|
+
| **created_by** | **Integer** | ID of the user who created the client. | |
|
|
13
|
+
| **expiry_date** | **Time** | The date the client credentials expire. | [optional] |
|
|
14
|
+
| **client_secret** | **String** | The generated client secret. Only returned once on creation. | |
|
|
15
|
+
|
|
16
|
+
## Example
|
|
17
|
+
|
|
18
|
+
```ruby
|
|
19
|
+
require 'talon_one_sdk'
|
|
20
|
+
|
|
21
|
+
instance = TalonOne::MCPOAuthStaticClientWithSecret.new(
|
|
22
|
+
client_id: a3f8c1e2b4d56789,
|
|
23
|
+
client_name: My MCP Integration,
|
|
24
|
+
redirect_uris: [https://example.com/callback, http://localhost:3000/callback],
|
|
25
|
+
created_at: 2026-06-12T10:00:00Z,
|
|
26
|
+
id: 34,
|
|
27
|
+
created_by: 280,
|
|
28
|
+
expiry_date: 2027-01-01T00:00:00Z,
|
|
29
|
+
client_secret: 7b1f0c9d8e2a4f6b1c3d5e7f9a0b2c4d6e8f0a1b3c5d7e9f1a2b4c6d8e0f2a4b
|
|
30
|
+
)
|
|
31
|
+
```
|
|
32
|
+
|
data/docs/NewMCPOAuthClient.md
CHANGED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# TalonOne::NewMCPOAuthStaticClient
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **client_name** | **String** | Human-readable name for the OAuth2 client. | |
|
|
8
|
+
| **redirect_uris** | **Array<String>** | List of allowed redirect URIs for the authorization code flow. At least one URI is required. | |
|
|
9
|
+
| **expiry_date** | **Time** | The date the client credentials expire. | [optional] |
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```ruby
|
|
14
|
+
require 'talon_one_sdk'
|
|
15
|
+
|
|
16
|
+
instance = TalonOne::NewMCPOAuthStaticClient.new(
|
|
17
|
+
client_name: My MCP Integration,
|
|
18
|
+
redirect_uris: [http://localhost:3000/callback],
|
|
19
|
+
expiry_date: 2027-01-01T00:00:00Z
|
|
20
|
+
)
|
|
21
|
+
```
|
|
22
|
+
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# TalonOne::OutboundLogStreamCursor
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **next_cursor** | **String** | Cursor for the next page of results. Pass it as the `cursor` parameter to fetch the next page. | |
|
|
8
|
+
|
|
9
|
+
## Example
|
|
10
|
+
|
|
11
|
+
```ruby
|
|
12
|
+
require 'talon_one_sdk'
|
|
13
|
+
|
|
14
|
+
instance = TalonOne::OutboundLogStreamCursor.new(
|
|
15
|
+
next_cursor: SmJlNERRMHdyNWFsTmRDZDVYU0c=
|
|
16
|
+
)
|
|
17
|
+
```
|
|
18
|
+
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# TalonOne::OutboundLogStreamCursorEntry
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **type** | [**OutboundLogStreamEntryType**](OutboundLogStreamEntryType.md) | | |
|
|
8
|
+
| **data** | [**OutboundLogStreamCursor**](OutboundLogStreamCursor.md) | | |
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```ruby
|
|
13
|
+
require 'talon_one_sdk'
|
|
14
|
+
|
|
15
|
+
instance = TalonOne::OutboundLogStreamCursorEntry.new(
|
|
16
|
+
type: null,
|
|
17
|
+
data: null
|
|
18
|
+
)
|
|
19
|
+
```
|
|
20
|
+
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
# TalonOne::OutboundLogStreamEntry
|
|
2
|
+
|
|
3
|
+
## Class instance methods
|
|
4
|
+
|
|
5
|
+
### `openapi_one_of`
|
|
6
|
+
|
|
7
|
+
Returns the list of classes defined in oneOf.
|
|
8
|
+
|
|
9
|
+
#### Example
|
|
10
|
+
|
|
11
|
+
```ruby
|
|
12
|
+
require 'talon_one_sdk'
|
|
13
|
+
|
|
14
|
+
TalonOne::OutboundLogStreamEntry.openapi_one_of
|
|
15
|
+
# =>
|
|
16
|
+
# [
|
|
17
|
+
# :'OutboundLogStreamCursorEntry',
|
|
18
|
+
# :'OutboundLogStreamErrorEntry',
|
|
19
|
+
# :'OutboundLogStreamLogEntry'
|
|
20
|
+
# ]
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
### `openapi_discriminator_name`
|
|
24
|
+
|
|
25
|
+
Returns the discriminator's property name.
|
|
26
|
+
|
|
27
|
+
#### Example
|
|
28
|
+
|
|
29
|
+
```ruby
|
|
30
|
+
require 'talon_one_sdk'
|
|
31
|
+
|
|
32
|
+
TalonOne::OutboundLogStreamEntry.openapi_discriminator_name
|
|
33
|
+
# => :'type'
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
### `openapi_discriminator_name`
|
|
37
|
+
|
|
38
|
+
Returns the discriminator's mapping.
|
|
39
|
+
|
|
40
|
+
#### Example
|
|
41
|
+
|
|
42
|
+
```ruby
|
|
43
|
+
require 'talon_one_sdk'
|
|
44
|
+
|
|
45
|
+
TalonOne::OutboundLogStreamEntry.openapi_discriminator_mapping
|
|
46
|
+
# =>
|
|
47
|
+
# {
|
|
48
|
+
# :'cursor' => :'OutboundLogStreamCursorEntry',
|
|
49
|
+
# :'error' => :'OutboundLogStreamErrorEntry',
|
|
50
|
+
# :'log' => :'OutboundLogStreamLogEntry'
|
|
51
|
+
# }
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
### build
|
|
55
|
+
|
|
56
|
+
Find the appropriate object from the `openapi_one_of` list and casts the data into it.
|
|
57
|
+
|
|
58
|
+
#### Example
|
|
59
|
+
|
|
60
|
+
```ruby
|
|
61
|
+
require 'talon_one_sdk'
|
|
62
|
+
|
|
63
|
+
TalonOne::OutboundLogStreamEntry.build(data)
|
|
64
|
+
# => #<OutboundLogStreamCursorEntry:0x00007fdd4aab02a0>
|
|
65
|
+
|
|
66
|
+
TalonOne::OutboundLogStreamEntry.build(data_that_doesnt_match)
|
|
67
|
+
# => nil
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
#### Parameters
|
|
71
|
+
|
|
72
|
+
| Name | Type | Description |
|
|
73
|
+
| ---- | ---- | ----------- |
|
|
74
|
+
| **data** | **Mixed** | data to be matched against the list of oneOf items |
|
|
75
|
+
|
|
76
|
+
#### Return type
|
|
77
|
+
|
|
78
|
+
- `OutboundLogStreamCursorEntry`
|
|
79
|
+
- `OutboundLogStreamErrorEntry`
|
|
80
|
+
- `OutboundLogStreamLogEntry`
|
|
81
|
+
- `nil` (if no type matches)
|
|
82
|
+
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# TalonOne::OutboundLogStreamEntryType
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
|
|
8
|
+
## Example
|
|
9
|
+
|
|
10
|
+
```ruby
|
|
11
|
+
require 'talon_one_sdk'
|
|
12
|
+
|
|
13
|
+
instance = TalonOne::OutboundLogStreamEntryType.new()
|
|
14
|
+
```
|
|
15
|
+
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# TalonOne::OutboundLogStreamError
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **error** | **String** | Reason the stream ended. | |
|
|
8
|
+
| **id** | **String** | ID of the error. Include it when reporting the error. | [optional] |
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```ruby
|
|
13
|
+
require 'talon_one_sdk'
|
|
14
|
+
|
|
15
|
+
instance = TalonOne::OutboundLogStreamError.new(
|
|
16
|
+
error: internal server error,
|
|
17
|
+
id: 67e55044-10b1-426f-9247-bb680e5fe0c8
|
|
18
|
+
)
|
|
19
|
+
```
|
|
20
|
+
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# TalonOne::OutboundLogStreamErrorEntry
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **type** | [**OutboundLogStreamEntryType**](OutboundLogStreamEntryType.md) | | |
|
|
8
|
+
| **data** | [**OutboundLogStreamError**](OutboundLogStreamError.md) | | |
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```ruby
|
|
13
|
+
require 'talon_one_sdk'
|
|
14
|
+
|
|
15
|
+
instance = TalonOne::OutboundLogStreamErrorEntry.new(
|
|
16
|
+
type: null,
|
|
17
|
+
data: null
|
|
18
|
+
)
|
|
19
|
+
```
|
|
20
|
+
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# TalonOne::OutboundLogStreamLogEntry
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **type** | [**OutboundLogStreamEntryType**](OutboundLogStreamEntryType.md) | | |
|
|
8
|
+
| **data** | [**OutboundLog**](OutboundLog.md) | | |
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```ruby
|
|
13
|
+
require 'talon_one_sdk'
|
|
14
|
+
|
|
15
|
+
instance = TalonOne::OutboundLogStreamLogEntry.new(
|
|
16
|
+
type: null,
|
|
17
|
+
data: null
|
|
18
|
+
)
|
|
19
|
+
```
|
|
20
|
+
|
data/docs/OutboundLogs.md
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
7
|
| **next_cursor** | **String** | Cursor for the next page of results. Omitted when there are no more results. | [optional] |
|
|
8
|
-
| **data** | [**Array<
|
|
8
|
+
| **data** | [**Array<OutboundLogsDataInner>**](OutboundLogsDataInner.md) | List of outbound logs. When an error ends the response, an `OutboundLogStreamError` is the last item and the response is incomplete. | |
|
|
9
9
|
|
|
10
10
|
## Example
|
|
11
11
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# TalonOne::
|
|
1
|
+
# TalonOne::OutboundLogsDataInner
|
|
2
2
|
|
|
3
3
|
## Class instance methods
|
|
4
4
|
|
|
@@ -11,11 +11,11 @@ Returns the list of classes defined in oneOf.
|
|
|
11
11
|
```ruby
|
|
12
12
|
require 'talon_one_sdk'
|
|
13
13
|
|
|
14
|
-
TalonOne::
|
|
14
|
+
TalonOne::OutboundLogsDataInner.openapi_one_of
|
|
15
15
|
# =>
|
|
16
16
|
# [
|
|
17
|
-
# :'
|
|
18
|
-
# :'
|
|
17
|
+
# :'OutboundLog',
|
|
18
|
+
# :'OutboundLogStreamError'
|
|
19
19
|
# ]
|
|
20
20
|
```
|
|
21
21
|
|
|
@@ -28,10 +28,10 @@ Find the appropriate object from the `openapi_one_of` list and casts the data in
|
|
|
28
28
|
```ruby
|
|
29
29
|
require 'talon_one_sdk'
|
|
30
30
|
|
|
31
|
-
TalonOne::
|
|
32
|
-
# => #<
|
|
31
|
+
TalonOne::OutboundLogsDataInner.build(data)
|
|
32
|
+
# => #<OutboundLog:0x00007fdd4aab02a0>
|
|
33
33
|
|
|
34
|
-
TalonOne::
|
|
34
|
+
TalonOne::OutboundLogsDataInner.build(data_that_doesnt_match)
|
|
35
35
|
# => nil
|
|
36
36
|
```
|
|
37
37
|
|
|
@@ -43,7 +43,7 @@ TalonOne::WebhookAuthenticationAllOfData.build(data_that_doesnt_match)
|
|
|
43
43
|
|
|
44
44
|
#### Return type
|
|
45
45
|
|
|
46
|
-
- `
|
|
47
|
-
- `
|
|
46
|
+
- `OutboundLog`
|
|
47
|
+
- `OutboundLogStreamError`
|
|
48
48
|
- `nil` (if no type matches)
|
|
49
49
|
|
|
@@ -1,34 +1,79 @@
|
|
|
1
1
|
# TalonOne::WebhookAuthentication
|
|
2
2
|
|
|
3
|
-
##
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
3
|
+
## Class instance methods
|
|
4
|
+
|
|
5
|
+
### `openapi_one_of`
|
|
6
|
+
|
|
7
|
+
Returns the list of classes defined in oneOf.
|
|
8
|
+
|
|
9
|
+
#### Example
|
|
10
|
+
|
|
11
|
+
```ruby
|
|
12
|
+
require 'talon_one_sdk'
|
|
13
|
+
|
|
14
|
+
TalonOne::WebhookAuthentication.openapi_one_of
|
|
15
|
+
# =>
|
|
16
|
+
# [
|
|
17
|
+
# :'WebhookAuthenticationBasic',
|
|
18
|
+
# :'WebhookAuthenticationCustom'
|
|
19
|
+
# ]
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
### `openapi_discriminator_name`
|
|
23
|
+
|
|
24
|
+
Returns the discriminator's property name.
|
|
25
|
+
|
|
26
|
+
#### Example
|
|
27
|
+
|
|
28
|
+
```ruby
|
|
29
|
+
require 'talon_one_sdk'
|
|
30
|
+
|
|
31
|
+
TalonOne::WebhookAuthentication.openapi_discriminator_name
|
|
32
|
+
# => :'type'
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
### `openapi_discriminator_name`
|
|
36
|
+
|
|
37
|
+
Returns the discriminator's mapping.
|
|
38
|
+
|
|
39
|
+
#### Example
|
|
40
|
+
|
|
41
|
+
```ruby
|
|
42
|
+
require 'talon_one_sdk'
|
|
43
|
+
|
|
44
|
+
TalonOne::WebhookAuthentication.openapi_discriminator_mapping
|
|
45
|
+
# =>
|
|
46
|
+
# {
|
|
47
|
+
# :'basic' => :'WebhookAuthenticationBasic',
|
|
48
|
+
# :'custom' => :'WebhookAuthenticationCustom'
|
|
49
|
+
# }
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
### build
|
|
53
|
+
|
|
54
|
+
Find the appropriate object from the `openapi_one_of` list and casts the data into it.
|
|
55
|
+
|
|
56
|
+
#### Example
|
|
18
57
|
|
|
19
58
|
```ruby
|
|
20
59
|
require 'talon_one_sdk'
|
|
21
60
|
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
modified_by: null,
|
|
28
|
-
webhooks: null,
|
|
29
|
-
name: My basic auth,
|
|
30
|
-
type: null,
|
|
31
|
-
data: null
|
|
32
|
-
)
|
|
61
|
+
TalonOne::WebhookAuthentication.build(data)
|
|
62
|
+
# => #<WebhookAuthenticationBasic:0x00007fdd4aab02a0>
|
|
63
|
+
|
|
64
|
+
TalonOne::WebhookAuthentication.build(data_that_doesnt_match)
|
|
65
|
+
# => nil
|
|
33
66
|
```
|
|
34
67
|
|
|
68
|
+
#### Parameters
|
|
69
|
+
|
|
70
|
+
| Name | Type | Description |
|
|
71
|
+
| ---- | ---- | ----------- |
|
|
72
|
+
| **data** | **Mixed** | data to be matched against the list of oneOf items |
|
|
73
|
+
|
|
74
|
+
#### Return type
|
|
75
|
+
|
|
76
|
+
- `WebhookAuthenticationBasic`
|
|
77
|
+
- `WebhookAuthenticationCustom`
|
|
78
|
+
- `nil` (if no type matches)
|
|
79
|
+
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
# TalonOne::WebhookAuthenticationBasic
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **name** | **String** | The name of the webhook authentication. | |
|
|
8
|
+
| **type** | **String** | A webhook authentication discriminator of type `basic`. | |
|
|
9
|
+
| **data** | [**WebhookAuthenticationDataBasic**](WebhookAuthenticationDataBasic.md) | The credentials of the webhook authentication. | |
|
|
10
|
+
| **created_by** | **String** | The name of the user who created the webhook authentication. | |
|
|
11
|
+
| **modified_by** | **String** | The name of the user who last modified the webhook authentication. | |
|
|
12
|
+
| **webhooks** | [**Array<WebhookAuthenticationWebhookRef>**](WebhookAuthenticationWebhookRef.md) | | |
|
|
13
|
+
| **id** | **Integer** | The internal ID of this entity. | |
|
|
14
|
+
| **created** | **Time** | The time this entity was created. | |
|
|
15
|
+
| **modified** | **Time** | The time this entity was last modified. | |
|
|
16
|
+
|
|
17
|
+
## Example
|
|
18
|
+
|
|
19
|
+
```ruby
|
|
20
|
+
require 'talon_one_sdk'
|
|
21
|
+
|
|
22
|
+
instance = TalonOne::WebhookAuthenticationBasic.new(
|
|
23
|
+
name: My basic auth,
|
|
24
|
+
type: null,
|
|
25
|
+
data: null,
|
|
26
|
+
created_by: null,
|
|
27
|
+
modified_by: null,
|
|
28
|
+
webhooks: null,
|
|
29
|
+
id: 6,
|
|
30
|
+
created: 2020-06-10T09:05:27.993483Z,
|
|
31
|
+
modified: 2021-09-12T10:12:42Z
|
|
32
|
+
)
|
|
33
|
+
```
|
|
34
|
+
|