noresponse 7.2.2 → 8.0.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/lib/no_response/models/shared/accountriskreason.rb +2 -17
- data/lib/no_response/models/shared/accountriskreason.rbi +0 -6
- data/lib/no_response/models/shared/riskreason.rb +2 -17
- data/lib/no_response/models/shared/riskreason.rbi +0 -6
- data/lib/no_response/sdkconfiguration.rb +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c0bc0bcfed8c16d4d80cce235a862a2b6a771a2be0602199351dd1e5596e7583
|
|
4
|
+
data.tar.gz: 1b1d3b5a008b8a5728dbd0545aad1a77f8525627cf2687a76e33e0bb589c5d7a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d7b884f8e6d280ce86793cf8dc7825b56397a9c27e623b20f5f815394f74c940fb5a248c3e7f61d4fe72ad38336b2658ff5e79a34f6bdbd84035c68bd3a2da18
|
|
7
|
+
data.tar.gz: 6cfbff78fa2370779f902f41569523d1dc7a90c495117c36c9f8b7f25f6212339096bc8fd7fdb6b25f4b6d8ddd763dd0ef5606a162ab2e3510bbd6d0cba2c1f0
|
|
@@ -56,35 +56,21 @@ module NoResponse
|
|
|
56
56
|
}
|
|
57
57
|
}
|
|
58
58
|
)
|
|
59
|
-
# Deprecated and always 0: the policy's weights are not published. It is sent so that SDK versions that require it keep reading reasons. Read direction and impact.
|
|
60
|
-
#
|
|
61
|
-
# @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
62
|
-
field(
|
|
63
|
-
:weight,
|
|
64
|
-
Crystalline::Nilable.new(::Integer),
|
|
65
|
-
{'format_json': {'letter_case': ::NoResponse::Utils.field_name("weight")}}
|
|
66
|
-
)
|
|
67
59
|
|
|
68
60
|
sig {
|
|
69
61
|
params(
|
|
70
62
|
code: Models::Shared::ReasonCode,
|
|
71
63
|
direction: Models::Shared::Direction,
|
|
72
64
|
impact: Models::Shared::Impact,
|
|
73
|
-
identifier: T.nilable(Models::Shared::ReasonIdentifier)
|
|
74
|
-
weight: T.nilable(::Integer)
|
|
65
|
+
identifier: T.nilable(Models::Shared::ReasonIdentifier)
|
|
75
66
|
)
|
|
76
67
|
.void
|
|
77
68
|
}
|
|
78
|
-
def initialize(code:, direction:, impact:, identifier: nil
|
|
69
|
+
def initialize(code:, direction:, impact:, identifier: nil)
|
|
79
70
|
@code = code
|
|
80
71
|
@direction = direction
|
|
81
72
|
@impact = impact
|
|
82
73
|
@identifier = identifier
|
|
83
|
-
unless weight&.zero?
|
|
84
|
-
raise ArgumentError, "Invalid value for weight"
|
|
85
|
-
end
|
|
86
|
-
|
|
87
|
-
@weight = 0
|
|
88
74
|
end
|
|
89
75
|
|
|
90
76
|
sig { params(other: T.untyped).returns(T::Boolean) }
|
|
@@ -94,7 +80,6 @@ module NoResponse
|
|
|
94
80
|
return false unless @direction == other.direction
|
|
95
81
|
return false unless @impact == other.impact
|
|
96
82
|
return false unless @identifier == other.identifier
|
|
97
|
-
return false unless @weight == other.weight
|
|
98
83
|
true
|
|
99
84
|
end
|
|
100
85
|
end
|
|
@@ -56,35 +56,21 @@ module NoResponse
|
|
|
56
56
|
}
|
|
57
57
|
}
|
|
58
58
|
)
|
|
59
|
-
# Deprecated and always 0: the policy's weights are not published. It is sent so that SDK versions that require it keep reading reasons. Read direction and impact.
|
|
60
|
-
#
|
|
61
|
-
# @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
62
|
-
field(
|
|
63
|
-
:weight,
|
|
64
|
-
Crystalline::Nilable.new(::Integer),
|
|
65
|
-
{'format_json': {'letter_case': ::NoResponse::Utils.field_name("weight")}}
|
|
66
|
-
)
|
|
67
59
|
|
|
68
60
|
sig {
|
|
69
61
|
params(
|
|
70
62
|
code: Models::Shared::ReasonCode,
|
|
71
63
|
direction: Models::Shared::Direction,
|
|
72
64
|
impact: Models::Shared::Impact,
|
|
73
|
-
identifier: T.nilable(Models::Shared::ReasonIdentifier)
|
|
74
|
-
weight: T.nilable(::Integer)
|
|
65
|
+
identifier: T.nilable(Models::Shared::ReasonIdentifier)
|
|
75
66
|
)
|
|
76
67
|
.void
|
|
77
68
|
}
|
|
78
|
-
def initialize(code:, direction:, impact:, identifier: nil
|
|
69
|
+
def initialize(code:, direction:, impact:, identifier: nil)
|
|
79
70
|
@code = code
|
|
80
71
|
@direction = direction
|
|
81
72
|
@impact = impact
|
|
82
73
|
@identifier = identifier
|
|
83
|
-
unless weight&.zero?
|
|
84
|
-
raise ArgumentError, "Invalid value for weight"
|
|
85
|
-
end
|
|
86
|
-
|
|
87
|
-
@weight = 0
|
|
88
74
|
end
|
|
89
75
|
|
|
90
76
|
sig { params(other: T.untyped).returns(T::Boolean) }
|
|
@@ -94,7 +80,6 @@ module NoResponse
|
|
|
94
80
|
return false unless @direction == other.direction
|
|
95
81
|
return false unless @impact == other.impact
|
|
96
82
|
return false unless @identifier == other.identifier
|
|
97
|
-
return false unless @weight == other.weight
|
|
98
83
|
true
|
|
99
84
|
end
|
|
100
85
|
end
|
|
@@ -95,9 +95,9 @@ module NoResponse
|
|
|
95
95
|
|
|
96
96
|
@language = "ruby"
|
|
97
97
|
@openapi_doc_version = "1"
|
|
98
|
-
@sdk_version = "
|
|
98
|
+
@sdk_version = "8.0.0"
|
|
99
99
|
@gen_version = "internal"
|
|
100
|
-
@user_agent = "noresponse-sdk/ruby
|
|
100
|
+
@user_agent = "noresponse-sdk/ruby 8.0.0 internal 1 noresponse"
|
|
101
101
|
end
|
|
102
102
|
|
|
103
103
|
sig { returns([String, T::Hash[Symbol, String]]) }
|