ding_sdk 0.25.1 → 0.26.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/ding_sdk/lookup.rb +2 -0
- data/lib/ding_sdk/otp.rb +10 -0
- data/lib/ding_sdk/sdkconfiguration.rb +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bf719f564f02ca352897f1f0679855476065866f581634fb7dfdb5607e563f62
|
4
|
+
data.tar.gz: 10c05d62ccc2c59a6daf3e95be4809f53bd716b814a53b509aab20d3b91c3ab7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a567e74d560caa9fd1f6c9f57b7fe092a971a61b6b0af55bd0b789f0f2134f83d6fd53200ba9bdfc342ba512a3b85de7bc0683dae0a2d1d3691bfcdb309096b1
|
7
|
+
data.tar.gz: 511acc5e4c18b8cd6f5b909fec07a3676a8b7cdefc06bf44cdd3f3e69ab53358d498c1fd7e61b7535c7439bc8c8efd57c7a56e0eef0b6a10e952b8c90ecaa22d
|
data/lib/ding_sdk/lookup.rb
CHANGED
@@ -26,6 +26,8 @@ module DingSDK
|
|
26
26
|
def lookup(customer_uuid:, phone_number:, type: nil, timeout_ms: nil)
|
27
27
|
# lookup - Look up for phone number
|
28
28
|
# Perform a phone number lookup.
|
29
|
+
#
|
30
|
+
# @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible.
|
29
31
|
request = Models::Operations::LookupRequest.new(
|
30
32
|
|
31
33
|
customer_uuid: customer_uuid,
|
data/lib/ding_sdk/otp.rb
CHANGED
@@ -26,6 +26,8 @@ module DingSDK
|
|
26
26
|
def check(request: nil, timeout_ms: nil)
|
27
27
|
# check - Check a code
|
28
28
|
# Check that a code entered by a user is valid.
|
29
|
+
#
|
30
|
+
# @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible.
|
29
31
|
url, params = @sdk_configuration.get_server_details
|
30
32
|
base_url = Utils.template_url(url, params)
|
31
33
|
url = "#{base_url}/check"
|
@@ -150,6 +152,8 @@ module DingSDK
|
|
150
152
|
def create_authentication(request: nil, timeout_ms: nil)
|
151
153
|
# create_authentication - Send a code
|
152
154
|
# Send an OTP code to a user's phone number.
|
155
|
+
#
|
156
|
+
# @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible.
|
153
157
|
url, params = @sdk_configuration.get_server_details
|
154
158
|
base_url = Utils.template_url(url, params)
|
155
159
|
url = "#{base_url}/authentication"
|
@@ -274,6 +278,8 @@ module DingSDK
|
|
274
278
|
def feedback(request: nil, timeout_ms: nil)
|
275
279
|
# feedback - Send feedback
|
276
280
|
# Send feedback about the authentication process.
|
281
|
+
#
|
282
|
+
# @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible.
|
277
283
|
url, params = @sdk_configuration.get_server_details
|
278
284
|
base_url = Utils.template_url(url, params)
|
279
285
|
url = "#{base_url}/authentication/feedback"
|
@@ -398,6 +404,8 @@ module DingSDK
|
|
398
404
|
def get_authentication_status(auth_uuid:, timeout_ms: nil)
|
399
405
|
# get_authentication_status - Get authentication status
|
400
406
|
# Get the status of an authentication.
|
407
|
+
#
|
408
|
+
# @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible.
|
401
409
|
request = Models::Operations::GetAuthenticationStatusRequest.new(
|
402
410
|
|
403
411
|
auth_uuid: auth_uuid
|
@@ -520,6 +528,8 @@ module DingSDK
|
|
520
528
|
def retry(request: nil, timeout_ms: nil)
|
521
529
|
# retry - Perform a retry
|
522
530
|
# Perform a retry if a user has not received the code.
|
531
|
+
#
|
532
|
+
# @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible.
|
523
533
|
url, params = @sdk_configuration.get_server_details
|
524
534
|
base_url = Utils.template_url(url, params)
|
525
535
|
url = "#{base_url}/retry"
|
@@ -63,9 +63,9 @@ module DingSDK
|
|
63
63
|
end
|
64
64
|
@language = 'ruby'
|
65
65
|
@openapi_doc_version = '1.0.0'
|
66
|
-
@sdk_version = '0.
|
66
|
+
@sdk_version = '0.26.0'
|
67
67
|
@gen_version = '2.578.0'
|
68
|
-
@user_agent = 'speakeasy-sdk/ruby 0.
|
68
|
+
@user_agent = 'speakeasy-sdk/ruby 0.26.0 2.578.0 1.0.0 ding_sdk'
|
69
69
|
end
|
70
70
|
|
71
71
|
sig { returns([String, T::Hash[Symbol, String]]) }
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ding_sdk
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.26.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ding
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-04-
|
11
|
+
date: 2025-04-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|