reacon-sdk 0.3.0.beta.1 → 0.4.0.beta.1
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 +5 -4
- data/lib/reacon-sdk/models/batch_verification_request_only_if_free.rb +1 -0
- data/lib/reacon-sdk/models/integration_capability_response.rb +5 -7
- data/lib/reacon-sdk/models/integration_capability_response_output.rb +9 -11
- data/lib/reacon-sdk/models/integration_capability_response_output_non_null.rb +105 -0
- data/lib/reacon-sdk/models/mail_cadence_node.rb +1 -0
- data/lib/reacon-sdk/models/mail_conversation_entry_last_error.rb +1 -0
- data/lib/reacon-sdk/models/mail_experiment_report_decision.rb +1 -0
- data/lib/reacon-sdk/models/mail_experiment_variant.rb +1 -0
- data/lib/reacon-sdk/models/mail_get_portfolio_response200.rb +1 -0
- data/lib/reacon-sdk/models/mail_get_portfolio_response200_portfolio.rb +1 -0
- data/lib/reacon-sdk/models/mail_get_tracking_domain_response200_domain.rb +1 -0
- data/lib/reacon-sdk/models/mail_mailbox_provider_kind.rb +1 -0
- data/lib/reacon-sdk/models/mail_post_cadence_campaigns_by_campaign_id_state_response200.rb +1 -0
- data/lib/reacon-sdk/models/mail_post_cadences_request_nodes_inner.rb +1 -0
- data/lib/reacon-sdk/models/mail_post_campaigns_by_campaign_id_launch_response200.rb +1 -0
- data/lib/reacon-sdk/models/mail_post_campaigns_by_campaign_id_launch_response200_campaign.rb +1 -0
- data/lib/reacon-sdk/models/mail_post_inbox_by_message_id_response200_message.rb +1 -0
- data/lib/reacon-sdk/models/mail_post_portfolio_suppressions_request.rb +1 -0
- data/lib/reacon-sdk/models/mail_post_suppressions_request.rb +1 -0
- data/lib/reacon-sdk/models/mail_provider_failure.rb +1 -0
- data/lib/reacon-sdk/models/product_tool_request_input.rb +1 -0
- data/lib/reacon-sdk/version.rb +1 -1
- data/lib/reacon-sdk.rb +1 -0
- metadata +3 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 13f1bd64f6305766b62c2a0af00e9aae0c630c4f53cc4328064558bf766887cf
|
|
4
|
+
data.tar.gz: 9487c0848eea948629f7f8ce43e4300bfccd3def83b35b899cf29b19b492fd1a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 422685de7d0a9f6f40676ecc59673852c4a9197ebce67e3eaa466c9fa2bd6dc6680635aae670f295d1899b93d4bfebfee30de053382b2f1afdd693d11df6415f
|
|
7
|
+
data.tar.gz: 99d582518accfcf9ffe5b0ed0d201b4f8af5ed4ccb4a646a1a94c659538e131445fddf1dca5b9e65f48d95633f9cf0da8da03b02c32d6061c1cb1a1cc3b32c3d
|
data/README.md
CHANGED
|
@@ -7,7 +7,7 @@ No description provided (generated by Openapi Generator https://github.com/opena
|
|
|
7
7
|
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
|
8
8
|
|
|
9
9
|
- API version: 0.1.0
|
|
10
|
-
- Package version: 0.
|
|
10
|
+
- Package version: 0.4.0.beta.1
|
|
11
11
|
- Generator version: 7.25.0
|
|
12
12
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
|
13
13
|
|
|
@@ -24,16 +24,16 @@ gem build reacon-sdk.gemspec
|
|
|
24
24
|
Then either install the gem locally:
|
|
25
25
|
|
|
26
26
|
```shell
|
|
27
|
-
gem install ./reacon-sdk-0.
|
|
27
|
+
gem install ./reacon-sdk-0.4.0.beta.1.gem
|
|
28
28
|
```
|
|
29
29
|
|
|
30
|
-
(for development, run `gem install --dev ./reacon-sdk-0.
|
|
30
|
+
(for development, run `gem install --dev ./reacon-sdk-0.4.0.beta.1.gem` to install the development dependencies)
|
|
31
31
|
|
|
32
32
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
|
33
33
|
|
|
34
34
|
Finally add this to the Gemfile:
|
|
35
35
|
|
|
36
|
-
gem 'reacon-sdk', '~> 0.
|
|
36
|
+
gem 'reacon-sdk', '~> 0.4.0.beta.1'
|
|
37
37
|
|
|
38
38
|
### Install from Git
|
|
39
39
|
|
|
@@ -397,6 +397,7 @@ Class | Method | HTTP request | Description
|
|
|
397
397
|
- [Reacon::InspectGoogleSheetRequest](docs/InspectGoogleSheetRequest.md)
|
|
398
398
|
- [Reacon::IntegrationCapabilityResponse](docs/IntegrationCapabilityResponse.md)
|
|
399
399
|
- [Reacon::IntegrationCapabilityResponseOutput](docs/IntegrationCapabilityResponseOutput.md)
|
|
400
|
+
- [Reacon::IntegrationCapabilityResponseOutputNonNull](docs/IntegrationCapabilityResponseOutputNonNull.md)
|
|
400
401
|
- [Reacon::IntegrationConnection](docs/IntegrationConnection.md)
|
|
401
402
|
- [Reacon::IntegrationConnectionHealth](docs/IntegrationConnectionHealth.md)
|
|
402
403
|
- [Reacon::IntegrationConnectionList](docs/IntegrationConnectionList.md)
|
|
@@ -28,6 +28,7 @@ module Reacon
|
|
|
28
28
|
# @param [Mixed] Data to be matched against the list of anyOf items
|
|
29
29
|
# @return [Object] Returns the model or the data itself
|
|
30
30
|
def build(data)
|
|
31
|
+
data = data.transform_keys(&:to_sym) if data.is_a?(Hash)
|
|
31
32
|
# Go through the list of anyOf items and attempt to identify the appropriate one.
|
|
32
33
|
# Note:
|
|
33
34
|
# - No advanced validation of types in some cases (e.g. "x: { type: string }" will happily match { x: 123 })
|
|
@@ -70,7 +70,7 @@ module Reacon
|
|
|
70
70
|
:'estimated_credits' => :'Integer',
|
|
71
71
|
:'execution_id' => :'String',
|
|
72
72
|
:'mode' => :'String',
|
|
73
|
-
:'output' => :'
|
|
73
|
+
:'output' => :'IntegrationCapabilityResponseOutputNonNull',
|
|
74
74
|
:'replay' => :'Boolean'
|
|
75
75
|
}
|
|
76
76
|
end
|
|
@@ -78,6 +78,7 @@ module Reacon
|
|
|
78
78
|
# List of attributes with nullable: true
|
|
79
79
|
def self.openapi_nullable
|
|
80
80
|
Set.new([
|
|
81
|
+
:'output',
|
|
81
82
|
])
|
|
82
83
|
end
|
|
83
84
|
|
|
@@ -142,7 +143,7 @@ module Reacon
|
|
|
142
143
|
if attributes.key?(:'output')
|
|
143
144
|
self.output = attributes[:'output']
|
|
144
145
|
else
|
|
145
|
-
|
|
146
|
+
fail ArgumentError, 'output is required'
|
|
146
147
|
end
|
|
147
148
|
|
|
148
149
|
if attributes.key?(:'replay')
|
|
@@ -185,7 +186,7 @@ module Reacon
|
|
|
185
186
|
invalid_properties.push('invalid value for "mode", mode cannot be nil.')
|
|
186
187
|
end
|
|
187
188
|
|
|
188
|
-
|
|
189
|
+
unless instance_variable_defined?(:@output)
|
|
189
190
|
invalid_properties.push('invalid value for "output", output cannot be nil.')
|
|
190
191
|
end
|
|
191
192
|
|
|
@@ -207,7 +208,7 @@ module Reacon
|
|
|
207
208
|
return false if @estimated_credits.nil?
|
|
208
209
|
return false if @execution_id.nil?
|
|
209
210
|
return false if @mode.nil?
|
|
210
|
-
return false
|
|
211
|
+
return false unless instance_variable_defined?(:@output)
|
|
211
212
|
return false if @replay.nil?
|
|
212
213
|
true
|
|
213
214
|
end
|
|
@@ -285,9 +286,6 @@ module Reacon
|
|
|
285
286
|
# Custom attribute writer method with validation
|
|
286
287
|
# @param [Object] output Value to be assigned
|
|
287
288
|
def output=(output)
|
|
288
|
-
if output.nil?
|
|
289
|
-
fail ArgumentError, 'output cannot be nil'
|
|
290
|
-
end
|
|
291
289
|
|
|
292
290
|
@output = output
|
|
293
291
|
end
|
|
@@ -17,28 +17,26 @@ module Reacon
|
|
|
17
17
|
# Null in preview mode; otherwise the result for the selected capability.
|
|
18
18
|
module IntegrationCapabilityResponseOutput
|
|
19
19
|
class << self
|
|
20
|
-
# List of class defined in
|
|
21
|
-
def
|
|
20
|
+
# List of class defined in anyOf (OpenAPI v3)
|
|
21
|
+
def openapi_any_of
|
|
22
22
|
[
|
|
23
|
-
:'
|
|
24
|
-
:'CapabilityEmailFound',
|
|
25
|
-
:'CapabilityEmailVerified',
|
|
23
|
+
:'IntegrationCapabilityResponseOutputNonNull',
|
|
26
24
|
:'Object'
|
|
27
25
|
]
|
|
28
26
|
end
|
|
29
27
|
|
|
30
28
|
# Builds the object
|
|
31
|
-
# @param [Mixed] Data to be matched against the list of
|
|
29
|
+
# @param [Mixed] Data to be matched against the list of anyOf items
|
|
32
30
|
# @return [Object] Returns the model or the data itself
|
|
33
31
|
def build(data)
|
|
34
|
-
|
|
32
|
+
data = data.transform_keys(&:to_sym) if data.is_a?(Hash)
|
|
33
|
+
# Go through the list of anyOf items and attempt to identify the appropriate one.
|
|
35
34
|
# Note:
|
|
36
|
-
# - We do not attempt to check whether exactly one item matches.
|
|
37
35
|
# - No advanced validation of types in some cases (e.g. "x: { type: string }" will happily match { x: 123 })
|
|
38
36
|
# due to the way the deserialization is made in the base_object template (it just casts without verifying).
|
|
39
37
|
# - TODO: scalar values are de facto behaving as if they were nullable.
|
|
40
38
|
# - TODO: logging when debugging is set.
|
|
41
|
-
|
|
39
|
+
openapi_any_of.each do |klass|
|
|
42
40
|
begin
|
|
43
41
|
next if klass == :AnyType # "nullable: true"
|
|
44
42
|
return find_and_cast_into_type(klass, data)
|
|
@@ -46,7 +44,7 @@ module Reacon
|
|
|
46
44
|
end
|
|
47
45
|
end
|
|
48
46
|
|
|
49
|
-
|
|
47
|
+
openapi_any_of.include?(:AnyType) ? data : nil
|
|
50
48
|
end
|
|
51
49
|
|
|
52
50
|
private
|
|
@@ -85,7 +83,7 @@ module Reacon
|
|
|
85
83
|
else # model
|
|
86
84
|
const = Reacon.const_get(klass)
|
|
87
85
|
if const
|
|
88
|
-
if const.respond_to?(:
|
|
86
|
+
if const.respond_to?(:openapi_any_of) # nested anyOf model
|
|
89
87
|
model = const.build(data)
|
|
90
88
|
return model if model
|
|
91
89
|
else
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Reacon API
|
|
3
|
+
|
|
4
|
+
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 0.1.0
|
|
7
|
+
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.25.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'date'
|
|
14
|
+
require 'time'
|
|
15
|
+
|
|
16
|
+
module Reacon
|
|
17
|
+
module IntegrationCapabilityResponseOutputNonNull
|
|
18
|
+
class << self
|
|
19
|
+
# List of class defined in oneOf (OpenAPI v3)
|
|
20
|
+
def openapi_one_of
|
|
21
|
+
[
|
|
22
|
+
:'CapabilityDomainSearch',
|
|
23
|
+
:'CapabilityEmailFound',
|
|
24
|
+
:'CapabilityEmailVerified'
|
|
25
|
+
]
|
|
26
|
+
end
|
|
27
|
+
|
|
28
|
+
# Builds the object
|
|
29
|
+
# @param [Mixed] Data to be matched against the list of oneOf items
|
|
30
|
+
# @return [Object] Returns the model or the data itself
|
|
31
|
+
def build(data)
|
|
32
|
+
# Go through the list of oneOf items and attempt to identify the appropriate one.
|
|
33
|
+
# Note:
|
|
34
|
+
# - We do not attempt to check whether exactly one item matches.
|
|
35
|
+
# - No advanced validation of types in some cases (e.g. "x: { type: string }" will happily match { x: 123 })
|
|
36
|
+
# due to the way the deserialization is made in the base_object template (it just casts without verifying).
|
|
37
|
+
# - TODO: scalar values are de facto behaving as if they were nullable.
|
|
38
|
+
# - TODO: logging when debugging is set.
|
|
39
|
+
openapi_one_of.each do |klass|
|
|
40
|
+
begin
|
|
41
|
+
next if klass == :AnyType # "nullable: true"
|
|
42
|
+
return find_and_cast_into_type(klass, data)
|
|
43
|
+
rescue # rescue all errors so we keep iterating even if the current item lookup raises
|
|
44
|
+
end
|
|
45
|
+
end
|
|
46
|
+
|
|
47
|
+
openapi_one_of.include?(:AnyType) ? data : nil
|
|
48
|
+
end
|
|
49
|
+
|
|
50
|
+
private
|
|
51
|
+
|
|
52
|
+
SchemaMismatchError = Class.new(StandardError)
|
|
53
|
+
|
|
54
|
+
# Note: 'File' is missing here because in the regular case we get the data _after_ a call to JSON.parse.
|
|
55
|
+
def find_and_cast_into_type(klass, data)
|
|
56
|
+
return if data.nil?
|
|
57
|
+
|
|
58
|
+
case klass.to_s
|
|
59
|
+
when 'Boolean'
|
|
60
|
+
return data if data.instance_of?(TrueClass) || data.instance_of?(FalseClass)
|
|
61
|
+
when 'Float'
|
|
62
|
+
return data if data.instance_of?(Float)
|
|
63
|
+
when 'Integer'
|
|
64
|
+
return data if data.instance_of?(Integer)
|
|
65
|
+
when 'Time'
|
|
66
|
+
return Time.parse(data)
|
|
67
|
+
when 'Date'
|
|
68
|
+
return Date.iso8601(data)
|
|
69
|
+
when 'String'
|
|
70
|
+
return data if data.instance_of?(String)
|
|
71
|
+
when 'Object' # "type: object"
|
|
72
|
+
return data if data.instance_of?(Hash)
|
|
73
|
+
when /\AArray<(?<sub_type>.+)>\z/ # "type: array"
|
|
74
|
+
if data.instance_of?(Array)
|
|
75
|
+
sub_type = Regexp.last_match[:sub_type]
|
|
76
|
+
return data.map { |item| find_and_cast_into_type(sub_type, item) }
|
|
77
|
+
end
|
|
78
|
+
when /\AHash<String, (?<sub_type>.+)>\z/ # "type: object" with "additionalProperties: { ... }"
|
|
79
|
+
if data.instance_of?(Hash) && data.keys.all? { |k| k.instance_of?(Symbol) || k.instance_of?(String) }
|
|
80
|
+
sub_type = Regexp.last_match[:sub_type]
|
|
81
|
+
return data.each_with_object({}) { |(k, v), hsh| hsh[k] = find_and_cast_into_type(sub_type, v) }
|
|
82
|
+
end
|
|
83
|
+
else # model
|
|
84
|
+
const = Reacon.const_get(klass)
|
|
85
|
+
if const
|
|
86
|
+
if const.respond_to?(:openapi_one_of) # nested oneOf model
|
|
87
|
+
model = const.build(data)
|
|
88
|
+
return model if model
|
|
89
|
+
else
|
|
90
|
+
# raise if data contains keys that are not known to the model
|
|
91
|
+
raise if const.respond_to?(:acceptable_attributes) && !(data.keys - const.acceptable_attributes).empty?
|
|
92
|
+
model = const.build_from_hash(data)
|
|
93
|
+
return model if model
|
|
94
|
+
end
|
|
95
|
+
end
|
|
96
|
+
end
|
|
97
|
+
|
|
98
|
+
raise # if no match by now, raise
|
|
99
|
+
rescue
|
|
100
|
+
raise SchemaMismatchError, "#{data} doesn't match the #{klass} type"
|
|
101
|
+
end
|
|
102
|
+
end
|
|
103
|
+
end
|
|
104
|
+
|
|
105
|
+
end
|
|
@@ -33,6 +33,7 @@ module Reacon
|
|
|
33
33
|
# @param [Mixed] Data to be matched against the list of anyOf items
|
|
34
34
|
# @return [Object] Returns the model or the data itself
|
|
35
35
|
def build(data)
|
|
36
|
+
data = data.transform_keys(&:to_sym) if data.is_a?(Hash)
|
|
36
37
|
# Go through the list of anyOf items and attempt to identify the appropriate one.
|
|
37
38
|
# Note:
|
|
38
39
|
# - No advanced validation of types in some cases (e.g. "x: { type: string }" will happily match { x: 123 })
|
|
@@ -29,6 +29,7 @@ module Reacon
|
|
|
29
29
|
# @param [Mixed] Data to be matched against the list of anyOf items
|
|
30
30
|
# @return [Object] Returns the model or the data itself
|
|
31
31
|
def build(data)
|
|
32
|
+
data = data.transform_keys(&:to_sym) if data.is_a?(Hash)
|
|
32
33
|
# Go through the list of anyOf items and attempt to identify the appropriate one.
|
|
33
34
|
# Note:
|
|
34
35
|
# - No advanced validation of types in some cases (e.g. "x: { type: string }" will happily match { x: 123 })
|
|
@@ -28,6 +28,7 @@ module Reacon
|
|
|
28
28
|
# @param [Mixed] Data to be matched against the list of anyOf items
|
|
29
29
|
# @return [Object] Returns the model or the data itself
|
|
30
30
|
def build(data)
|
|
31
|
+
data = data.transform_keys(&:to_sym) if data.is_a?(Hash)
|
|
31
32
|
# Go through the list of anyOf items and attempt to identify the appropriate one.
|
|
32
33
|
# Note:
|
|
33
34
|
# - No advanced validation of types in some cases (e.g. "x: { type: string }" will happily match { x: 123 })
|
|
@@ -28,6 +28,7 @@ module Reacon
|
|
|
28
28
|
# @param [Mixed] Data to be matched against the list of anyOf items
|
|
29
29
|
# @return [Object] Returns the model or the data itself
|
|
30
30
|
def build(data)
|
|
31
|
+
data = data.transform_keys(&:to_sym) if data.is_a?(Hash)
|
|
31
32
|
# Go through the list of anyOf items and attempt to identify the appropriate one.
|
|
32
33
|
# Note:
|
|
33
34
|
# - No advanced validation of types in some cases (e.g. "x: { type: string }" will happily match { x: 123 })
|
|
@@ -28,6 +28,7 @@ module Reacon
|
|
|
28
28
|
# @param [Mixed] Data to be matched against the list of anyOf items
|
|
29
29
|
# @return [Object] Returns the model or the data itself
|
|
30
30
|
def build(data)
|
|
31
|
+
data = data.transform_keys(&:to_sym) if data.is_a?(Hash)
|
|
31
32
|
# Go through the list of anyOf items and attempt to identify the appropriate one.
|
|
32
33
|
# Note:
|
|
33
34
|
# - No advanced validation of types in some cases (e.g. "x: { type: string }" will happily match { x: 123 })
|
|
@@ -28,6 +28,7 @@ module Reacon
|
|
|
28
28
|
# @param [Mixed] Data to be matched against the list of anyOf items
|
|
29
29
|
# @return [Object] Returns the model or the data itself
|
|
30
30
|
def build(data)
|
|
31
|
+
data = data.transform_keys(&:to_sym) if data.is_a?(Hash)
|
|
31
32
|
# Go through the list of anyOf items and attempt to identify the appropriate one.
|
|
32
33
|
# Note:
|
|
33
34
|
# - No advanced validation of types in some cases (e.g. "x: { type: string }" will happily match { x: 123 })
|
|
@@ -28,6 +28,7 @@ module Reacon
|
|
|
28
28
|
# @param [Mixed] Data to be matched against the list of anyOf items
|
|
29
29
|
# @return [Object] Returns the model or the data itself
|
|
30
30
|
def build(data)
|
|
31
|
+
data = data.transform_keys(&:to_sym) if data.is_a?(Hash)
|
|
31
32
|
# Go through the list of anyOf items and attempt to identify the appropriate one.
|
|
32
33
|
# Note:
|
|
33
34
|
# - No advanced validation of types in some cases (e.g. "x: { type: string }" will happily match { x: 123 })
|
|
@@ -29,6 +29,7 @@ module Reacon
|
|
|
29
29
|
# @param [Mixed] Data to be matched against the list of anyOf items
|
|
30
30
|
# @return [Object] Returns the model or the data itself
|
|
31
31
|
def build(data)
|
|
32
|
+
data = data.transform_keys(&:to_sym) if data.is_a?(Hash)
|
|
32
33
|
# Go through the list of anyOf items and attempt to identify the appropriate one.
|
|
33
34
|
# Note:
|
|
34
35
|
# - No advanced validation of types in some cases (e.g. "x: { type: string }" will happily match { x: 123 })
|
|
@@ -28,6 +28,7 @@ module Reacon
|
|
|
28
28
|
# @param [Mixed] Data to be matched against the list of anyOf items
|
|
29
29
|
# @return [Object] Returns the model or the data itself
|
|
30
30
|
def build(data)
|
|
31
|
+
data = data.transform_keys(&:to_sym) if data.is_a?(Hash)
|
|
31
32
|
# Go through the list of anyOf items and attempt to identify the appropriate one.
|
|
32
33
|
# Note:
|
|
33
34
|
# - No advanced validation of types in some cases (e.g. "x: { type: string }" will happily match { x: 123 })
|
|
@@ -34,6 +34,7 @@ module Reacon
|
|
|
34
34
|
# @param [Mixed] Data to be matched against the list of anyOf items
|
|
35
35
|
# @return [Object] Returns the model or the data itself
|
|
36
36
|
def build(data)
|
|
37
|
+
data = data.transform_keys(&:to_sym) if data.is_a?(Hash)
|
|
37
38
|
# Go through the list of anyOf items and attempt to identify the appropriate one.
|
|
38
39
|
# Note:
|
|
39
40
|
# - No advanced validation of types in some cases (e.g. "x: { type: string }" will happily match { x: 123 })
|
|
@@ -28,6 +28,7 @@ module Reacon
|
|
|
28
28
|
# @param [Mixed] Data to be matched against the list of anyOf items
|
|
29
29
|
# @return [Object] Returns the model or the data itself
|
|
30
30
|
def build(data)
|
|
31
|
+
data = data.transform_keys(&:to_sym) if data.is_a?(Hash)
|
|
31
32
|
# Go through the list of anyOf items and attempt to identify the appropriate one.
|
|
32
33
|
# Note:
|
|
33
34
|
# - No advanced validation of types in some cases (e.g. "x: { type: string }" will happily match { x: 123 })
|
data/lib/reacon-sdk/models/mail_post_campaigns_by_campaign_id_launch_response200_campaign.rb
CHANGED
|
@@ -28,6 +28,7 @@ module Reacon
|
|
|
28
28
|
# @param [Mixed] Data to be matched against the list of anyOf items
|
|
29
29
|
# @return [Object] Returns the model or the data itself
|
|
30
30
|
def build(data)
|
|
31
|
+
data = data.transform_keys(&:to_sym) if data.is_a?(Hash)
|
|
31
32
|
# Go through the list of anyOf items and attempt to identify the appropriate one.
|
|
32
33
|
# Note:
|
|
33
34
|
# - No advanced validation of types in some cases (e.g. "x: { type: string }" will happily match { x: 123 })
|
|
@@ -28,6 +28,7 @@ module Reacon
|
|
|
28
28
|
# @param [Mixed] Data to be matched against the list of anyOf items
|
|
29
29
|
# @return [Object] Returns the model or the data itself
|
|
30
30
|
def build(data)
|
|
31
|
+
data = data.transform_keys(&:to_sym) if data.is_a?(Hash)
|
|
31
32
|
# Go through the list of anyOf items and attempt to identify the appropriate one.
|
|
32
33
|
# Note:
|
|
33
34
|
# - No advanced validation of types in some cases (e.g. "x: { type: string }" will happily match { x: 123 })
|
|
@@ -28,6 +28,7 @@ module Reacon
|
|
|
28
28
|
# @param [Mixed] Data to be matched against the list of anyOf items
|
|
29
29
|
# @return [Object] Returns the model or the data itself
|
|
30
30
|
def build(data)
|
|
31
|
+
data = data.transform_keys(&:to_sym) if data.is_a?(Hash)
|
|
31
32
|
# Go through the list of anyOf items and attempt to identify the appropriate one.
|
|
32
33
|
# Note:
|
|
33
34
|
# - No advanced validation of types in some cases (e.g. "x: { type: string }" will happily match { x: 123 })
|
|
@@ -28,6 +28,7 @@ module Reacon
|
|
|
28
28
|
# @param [Mixed] Data to be matched against the list of anyOf items
|
|
29
29
|
# @return [Object] Returns the model or the data itself
|
|
30
30
|
def build(data)
|
|
31
|
+
data = data.transform_keys(&:to_sym) if data.is_a?(Hash)
|
|
31
32
|
# Go through the list of anyOf items and attempt to identify the appropriate one.
|
|
32
33
|
# Note:
|
|
33
34
|
# - No advanced validation of types in some cases (e.g. "x: { type: string }" will happily match { x: 123 })
|
|
@@ -29,6 +29,7 @@ module Reacon
|
|
|
29
29
|
# @param [Mixed] Data to be matched against the list of anyOf items
|
|
30
30
|
# @return [Object] Returns the model or the data itself
|
|
31
31
|
def build(data)
|
|
32
|
+
data = data.transform_keys(&:to_sym) if data.is_a?(Hash)
|
|
32
33
|
# Go through the list of anyOf items and attempt to identify the appropriate one.
|
|
33
34
|
# Note:
|
|
34
35
|
# - No advanced validation of types in some cases (e.g. "x: { type: string }" will happily match { x: 123 })
|
|
@@ -56,6 +56,7 @@ module Reacon
|
|
|
56
56
|
# @param [Mixed] Data to be matched against the list of anyOf items
|
|
57
57
|
# @return [Object] Returns the model or the data itself
|
|
58
58
|
def build(data)
|
|
59
|
+
data = data.transform_keys(&:to_sym) if data.is_a?(Hash)
|
|
59
60
|
# Go through the list of anyOf items and attempt to identify the appropriate one.
|
|
60
61
|
# Note:
|
|
61
62
|
# - No advanced validation of types in some cases (e.g. "x: { type: string }" will happily match { x: 123 })
|
data/lib/reacon-sdk/version.rb
CHANGED
data/lib/reacon-sdk.rb
CHANGED
|
@@ -140,6 +140,7 @@ require 'reacon-sdk/models/inspect_excel_workbook_request'
|
|
|
140
140
|
require 'reacon-sdk/models/inspect_google_sheet_request'
|
|
141
141
|
require 'reacon-sdk/models/integration_capability_response'
|
|
142
142
|
require 'reacon-sdk/models/integration_capability_response_output'
|
|
143
|
+
require 'reacon-sdk/models/integration_capability_response_output_non_null'
|
|
143
144
|
require 'reacon-sdk/models/integration_connection'
|
|
144
145
|
require 'reacon-sdk/models/integration_connection_health'
|
|
145
146
|
require 'reacon-sdk/models/integration_connection_list'
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: reacon-sdk
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.4.0.beta.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Reacon
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-09-
|
|
11
|
+
date: 2026-09-29 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: event_stream_parser
|
|
@@ -284,6 +284,7 @@ files:
|
|
|
284
284
|
- lib/reacon-sdk/models/inspect_google_sheet_request.rb
|
|
285
285
|
- lib/reacon-sdk/models/integration_capability_response.rb
|
|
286
286
|
- lib/reacon-sdk/models/integration_capability_response_output.rb
|
|
287
|
+
- lib/reacon-sdk/models/integration_capability_response_output_non_null.rb
|
|
287
288
|
- lib/reacon-sdk/models/integration_connection.rb
|
|
288
289
|
- lib/reacon-sdk/models/integration_connection_health.rb
|
|
289
290
|
- lib/reacon-sdk/models/integration_connection_list.rb
|