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.
Files changed (62) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +18 -4
  3. data/docs/CampaignSetNode.md +30 -0
  4. data/docs/LabelTarget.md +30 -0
  5. data/docs/MCPOAuthStaticClient.md +30 -0
  6. data/docs/MCPOAuthStaticClientWithSecret.md +32 -0
  7. data/docs/NewMCPOAuthClient.md +1 -1
  8. data/docs/NewMCPOAuthStaticClient.md +22 -0
  9. data/docs/OutboundLogStreamCursor.md +18 -0
  10. data/docs/OutboundLogStreamCursorEntry.md +20 -0
  11. data/docs/OutboundLogStreamEntry.md +82 -0
  12. data/docs/OutboundLogStreamEntryType.md +15 -0
  13. data/docs/OutboundLogStreamError.md +20 -0
  14. data/docs/OutboundLogStreamErrorEntry.md +20 -0
  15. data/docs/OutboundLogStreamLogEntry.md +20 -0
  16. data/docs/OutboundLogs.md +1 -1
  17. data/docs/{WebhookAuthenticationAllOfData.md → OutboundLogsDataInner.md} +9 -9
  18. data/docs/OutboundLogsFormat.md +15 -0
  19. data/docs/WebhookAuthentication.md +71 -26
  20. data/docs/WebhookAuthenticationBasic.md +34 -0
  21. data/docs/WebhookAuthenticationCustom.md +34 -0
  22. data/docs/WebhookAuthenticationEntity.md +28 -0
  23. data/lib/talon_one_sdk/models/campaign_set_node.rb +19 -67
  24. data/lib/talon_one_sdk/models/label_target.rb +19 -67
  25. data/lib/talon_one_sdk/models/mcpo_auth_static_client.rb +332 -0
  26. data/lib/talon_one_sdk/models/mcpo_auth_static_client_with_secret.rb +359 -0
  27. data/lib/talon_one_sdk/models/new_mcpo_auth_static_client.rb +233 -0
  28. data/lib/talon_one_sdk/models/outbound_log_stream_cursor.rb +179 -0
  29. data/lib/talon_one_sdk/models/outbound_log_stream_cursor_entry.rb +226 -0
  30. data/lib/talon_one_sdk/models/outbound_log_stream_entry.rb +59 -0
  31. data/lib/talon_one_sdk/models/outbound_log_stream_entry_type.rb +41 -0
  32. data/lib/talon_one_sdk/models/outbound_log_stream_error.rb +189 -0
  33. data/lib/talon_one_sdk/models/outbound_log_stream_error_entry.rb +226 -0
  34. data/lib/talon_one_sdk/models/outbound_log_stream_log_entry.rb +226 -0
  35. data/lib/talon_one_sdk/models/outbound_logs.rb +2 -2
  36. data/lib/talon_one_sdk/models/{webhook_authentication_all_of_data.rb → outbound_logs_data_inner.rb} +3 -3
  37. data/lib/talon_one_sdk/models/outbound_logs_format.rb +40 -0
  38. data/lib/talon_one_sdk/models/webhook_authentication.rb +28 -396
  39. data/lib/talon_one_sdk/models/webhook_authentication_basic.rb +428 -0
  40. data/lib/talon_one_sdk/models/webhook_authentication_custom.rb +428 -0
  41. data/lib/talon_one_sdk/models/webhook_authentication_entity.rb +322 -0
  42. data/lib/talon_one_sdk/version.rb +1 -1
  43. data/lib/talon_one_sdk.rb +15 -1
  44. data/spec/models/campaign_set_node_spec.rb +12 -0
  45. data/spec/models/label_target_spec.rb +12 -0
  46. data/spec/models/mcpo_auth_static_client_spec.rb +72 -0
  47. data/spec/models/mcpo_auth_static_client_with_secret_spec.rb +78 -0
  48. data/spec/models/new_mcpo_auth_static_client_spec.rb +48 -0
  49. data/spec/models/outbound_log_stream_cursor_entry_spec.rb +42 -0
  50. data/spec/models/outbound_log_stream_cursor_spec.rb +36 -0
  51. data/spec/models/outbound_log_stream_entry_spec.rb +44 -0
  52. data/spec/models/outbound_log_stream_entry_type_spec.rb +30 -0
  53. data/spec/models/outbound_log_stream_error_entry_spec.rb +42 -0
  54. data/spec/models/outbound_log_stream_error_spec.rb +42 -0
  55. data/spec/models/outbound_log_stream_log_entry_spec.rb +42 -0
  56. data/spec/models/{webhook_authentication_all_of_data_spec.rb → outbound_logs_data_inner_spec.rb} +2 -2
  57. data/spec/models/outbound_logs_format_spec.rb +30 -0
  58. data/spec/models/webhook_authentication_basic_spec.rb +88 -0
  59. data/spec/models/webhook_authentication_custom_spec.rb +88 -0
  60. data/spec/models/webhook_authentication_entity_spec.rb +66 -0
  61. data/spec/models/webhook_authentication_spec.rb +11 -55
  62. metadata +61 -5
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f3089c9906f87ebe7d971d95e72ead7a32f1e714173379cacb47d96d899a7182
4
- data.tar.gz: daf43a78002f2d6cea9663e3bd64f1d642ea5d3fefdfea1e8db758d468f54090
3
+ metadata.gz: f40cd904d2cb834d3eaef84aa94c3750b9a10376ff2eb1a9e8baa57e7a449b63
4
+ data.tar.gz: ce86cb9238d339f491762eb241ae1d026f9204cd7e546fb93a05a4be7c1d2651
5
5
  SHA512:
6
- metadata.gz: '08bc452c7d08f42143100faaaa113b6eb0d9529e66869d16d8dd8e95540b7a8b65229a226558cbb668cace46be1d10f3d99e01035b90243e3c65be83d70547a5'
7
- data.tar.gz: 38fbe719a57a4517fd3ef40bcffb509cb54f1a80ebc23c6fcaf87105201a3bc0b52408a063bbdb3866c86993b9950e8312c921d33999aeddb500b194197bc7dc
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.22.1'
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.22.1.gem
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.22.1.gem` to install the development dependencies.
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)
@@ -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
+
@@ -14,7 +14,7 @@ require 'talon_one_sdk'
14
14
 
15
15
  instance = TalonOne::NewMCPOAuthClient.new(
16
16
  client_name: My MCP Integration,
17
- redirect_uris: ["http://localhost:3000/callback"]
17
+ redirect_uris: [http://localhost:3000/callback]
18
18
  )
19
19
  ```
20
20
 
@@ -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&lt;OutboundLog&gt;**](OutboundLog.md) | List of outbound logs. | |
8
+ | **data** | [**Array&lt;OutboundLogsDataInner&gt;**](OutboundLogsDataInner.md) | List of outbound logs. When an error ends the response, an &#x60;OutboundLogStreamError&#x60; is the last item and the response is incomplete. | |
9
9
 
10
10
  ## Example
11
11
 
@@ -1,4 +1,4 @@
1
- # TalonOne::WebhookAuthenticationAllOfData
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::WebhookAuthenticationAllOfData.openapi_one_of
14
+ TalonOne::OutboundLogsDataInner.openapi_one_of
15
15
  # =>
16
16
  # [
17
- # :'WebhookAuthenticationDataBasic',
18
- # :'WebhookAuthenticationDataCustom'
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::WebhookAuthenticationAllOfData.build(data)
32
- # => #<WebhookAuthenticationDataBasic:0x00007fdd4aab02a0>
31
+ TalonOne::OutboundLogsDataInner.build(data)
32
+ # => #<OutboundLog:0x00007fdd4aab02a0>
33
33
 
34
- TalonOne::WebhookAuthenticationAllOfData.build(data_that_doesnt_match)
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
- - `WebhookAuthenticationDataBasic`
47
- - `WebhookAuthenticationDataCustom`
46
+ - `OutboundLog`
47
+ - `OutboundLogStreamError`
48
48
  - `nil` (if no type matches)
49
49
 
@@ -0,0 +1,15 @@
1
+ # TalonOne::OutboundLogsFormat
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::OutboundLogsFormat.new()
14
+ ```
15
+
@@ -1,34 +1,79 @@
1
1
  # TalonOne::WebhookAuthentication
2
2
 
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
- | **id** | **Integer** | The internal ID of this entity. | |
8
- | **created** | **Time** | The time this entity was created. | |
9
- | **modified** | **Time** | The time this entity was last modified. | |
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&lt;WebhookAuthenticationWebhookRef&gt;**](WebhookAuthenticationWebhookRef.md) | | |
13
- | **name** | **String** | The name of the webhook authentication. | |
14
- | **type** | **String** | | |
15
- | **data** | [**WebhookAuthenticationAllOfData**](WebhookAuthenticationAllOfData.md) | | |
16
-
17
- ## Example
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
- instance = TalonOne::WebhookAuthentication.new(
23
- id: 6,
24
- created: 2020-06-10T09:05:27.993483Z,
25
- modified: 2021-09-12T10:12:42Z,
26
- created_by: null,
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 &#x60;basic&#x60;. | |
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&lt;WebhookAuthenticationWebhookRef&gt;**](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
+