ding_sdk 0.8.7 → 0.8.9
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
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 95d785aee3f813775a99c30951c45821b198e208e0ac40fda2dd41822ef4fc98
|
4
|
+
data.tar.gz: fa9703b7ca1412bd320babdebe89f7a59b38db5029d1cea7e465dc1b970b8e32
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e0ce99f60368a77ae3f4a5928c735537a3529ba2e8a1f68f5dd5cb022ba8382c038fd1eda50a53dd1cc0db1e106cabe353ff7940b74355669b8b96f92130654d
|
7
|
+
data.tar.gz: e85b6cea13f00082a6314354602562b0ebc33797a9645e31b90f5953cf92c0e1b494cc4c6895b622a27c58deaeb7763cd0f6641664e5cd2782d5a309f894d158
|
@@ -7,26 +7,7 @@
|
|
7
7
|
module DingSDK
|
8
8
|
module Shared
|
9
9
|
|
10
|
-
# Code - A machine-readable code that describes the error.
|
11
|
-
# * `invalid_phone_number` - This is not a valid E.164 number.
|
12
|
-
# * `internal_server_error` - An internal server error occurred.
|
13
|
-
# * `bad_request` - The request was malformed.
|
14
|
-
# * `account_invalid` - The provided customer UUID is invalid.
|
15
|
-
# * `negative_balance` - You have a negative balance.
|
16
|
-
# * `invalid_line` - Ding does not support this type of phone number.
|
17
|
-
# * `unsupported_region` - Ding does not support this region yet.
|
18
|
-
# * `invalid_auth_uuid` - The provided authentication UUID is invalid.
|
19
|
-
# * `blocked_number` - The phone number is in the blocklist.
|
20
|
-
# * `invalid_app_version` - The provided application version is invalid.
|
21
|
-
# * `invalid_os_version` - The provided OS version is invalid.
|
22
|
-
# * `invalid_device_model` - The provided device model is invalid.
|
23
|
-
# * `invalid_device_id` - The provided device ID is invalid.
|
24
|
-
# * `no_associated_auth_found` - The associated authentication was not found.
|
25
|
-
# * `duplicated_feedback_status` - Duplicated feedback status has found.
|
26
|
-
# * `invalid_feedback_status` - The provided feedback status is invalid.
|
27
|
-
# * `invalid_template_id` - The provided template ID is invalid.
|
28
|
-
# * `suspended_account` - Your account has been suspended.
|
29
|
-
#
|
10
|
+
# Code - A machine-readable code that describes the error.
|
30
11
|
class Code < T::Enum
|
31
12
|
enums do
|
32
13
|
INVALID_PHONE_NUMBER = new('invalid_phone_number')
|
@@ -11,26 +11,7 @@ module DingSDK
|
|
11
11
|
class ErrorResponse < ::DingSDK::Utils::FieldAugmented
|
12
12
|
extend T::Sig
|
13
13
|
|
14
|
-
# A machine-readable code that describes the error.
|
15
|
-
# * `invalid_phone_number` - This is not a valid E.164 number.
|
16
|
-
# * `internal_server_error` - An internal server error occurred.
|
17
|
-
# * `bad_request` - The request was malformed.
|
18
|
-
# * `account_invalid` - The provided customer UUID is invalid.
|
19
|
-
# * `negative_balance` - You have a negative balance.
|
20
|
-
# * `invalid_line` - Ding does not support this type of phone number.
|
21
|
-
# * `unsupported_region` - Ding does not support this region yet.
|
22
|
-
# * `invalid_auth_uuid` - The provided authentication UUID is invalid.
|
23
|
-
# * `blocked_number` - The phone number is in the blocklist.
|
24
|
-
# * `invalid_app_version` - The provided application version is invalid.
|
25
|
-
# * `invalid_os_version` - The provided OS version is invalid.
|
26
|
-
# * `invalid_device_model` - The provided device model is invalid.
|
27
|
-
# * `invalid_device_id` - The provided device ID is invalid.
|
28
|
-
# * `no_associated_auth_found` - The associated authentication was not found.
|
29
|
-
# * `duplicated_feedback_status` - Duplicated feedback status has found.
|
30
|
-
# * `invalid_feedback_status` - The provided feedback status is invalid.
|
31
|
-
# * `invalid_template_id` - The provided template ID is invalid.
|
32
|
-
# * `suspended_account` - Your account has been suspended.
|
33
|
-
#
|
14
|
+
# A machine-readable code that describes the error.
|
34
15
|
field :code, T.nilable(::DingSDK::Shared::Code), { 'format_json': { 'letter_case': ::DingSDK::Utils.field_name('code'), 'decoder': Utils.enum_from_string(::DingSDK::Shared::Code, true) } }
|
35
16
|
# A link to the documentation that describes the error.
|
36
17
|
field :doc_url, T.nilable(::String), { 'format_json': { 'letter_case': ::DingSDK::Utils.field_name('doc_url') } }
|
@@ -38,9 +38,9 @@ module DingSDK
|
|
38
38
|
@security = security
|
39
39
|
@language = 'ruby'
|
40
40
|
@openapi_doc_version = '1.0.0'
|
41
|
-
@sdk_version = '0.8.
|
42
|
-
@gen_version = '2.
|
43
|
-
@user_agent = 'speakeasy-sdk/ruby 0.8.
|
41
|
+
@sdk_version = '0.8.9'
|
42
|
+
@gen_version = '2.333.3'
|
43
|
+
@user_agent = 'speakeasy-sdk/ruby 0.8.9 2.333.3 1.0.0 ding_sdk'
|
44
44
|
end
|
45
45
|
|
46
46
|
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.8.
|
4
|
+
version: 0.8.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ding
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-05-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|