wavix-ruby-sdk 2.0.0 → 3.1.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/.fern/metadata.json +3 -3
- data/.fern/replay.lock +13 -1
- data/lib/wavix/api_keys/client.rb +3 -2
- data/lib/wavix/client.rb +1 -1
- data/lib/wavix/number_validator/client.rb +1 -1
- data/lib/wavix/sub_accounts/client.rb +4 -3
- data/lib/wavix/ten_dlc/brand_vetting_appeals/types/ten_dlc_brand_vetting_appeal_create_request.rb +2 -2
- data/lib/wavix/types/api_key.rb +6 -3
- data/lib/wavix/types/api_key_base.rb +50 -0
- data/lib/wavix/types/api_key_with_secret.rb +48 -16
- data/lib/wavix/types/number_document.rb +0 -2
- data/lib/wavix/types/number_validator_create_bulk_response.rb +1 -1
- data/lib/wavix/types/number_validator_create_bulk_response_request_uuid.rb +10 -0
- data/lib/wavix/types/sub_organization_response.rb +2 -0
- data/lib/wavix/types/sub_organization_with_secret.rb +24 -0
- data/lib/wavix/types/sub_organization_with_secret_default_destinations.rb +12 -0
- data/lib/wavix/types/sub_organization_with_secret_status.rb +12 -0
- data/lib/wavix/version.rb +1 -1
- data/lib/wavix.rb +5 -1
- data/reference.md +12 -10
- metadata +7 -3
- data/lib/wavix/types/number_validator_create_bulk_response_request_id.rb +0 -10
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a56d3617d4610ea8d70fbc56182480cca67861a9537b8e7ba99bfcb40a0da735
|
|
4
|
+
data.tar.gz: cc0ae8980595c2ba8a4f8b80eb0d211497d2e22a9bb25fb60600541ec6b0a57e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 259dde99661e570c8be935795a9c575822969781285b2aa3e3a34f890493254edacadd7e338ebf97c7f5fe430c14becd36f5934825846138adfe0ee87d2097d1
|
|
7
|
+
data.tar.gz: 2783e003cd9f49a8aaa75df064c25c6b24af3acce900f0f9f252df380b5b0aaabe6678e347dc7640bb5a5e0898d1c8c9441d3f35fe7441cc9e5dd3590aa909b1
|
data/.fern/metadata.json
CHANGED
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
"cliVersion": "5.45.3",
|
|
3
3
|
"generatorName": "fernapi/fern-ruby-sdk",
|
|
4
4
|
"generatorVersion": "1.13.1",
|
|
5
|
-
"originGitCommit": "
|
|
5
|
+
"originGitCommit": "c720960374ef32e992d0c6afa7164872d624739b",
|
|
6
6
|
"originGitCommitIsDirty": false,
|
|
7
7
|
"invokedBy": "ci",
|
|
8
|
-
"requestedVersion": "
|
|
8
|
+
"requestedVersion": "3.1.0",
|
|
9
9
|
"ciProvider": "github",
|
|
10
|
-
"sdkVersion": "
|
|
10
|
+
"sdkVersion": "3.1.0"
|
|
11
11
|
}
|
data/.fern/replay.lock
CHANGED
|
@@ -36,5 +36,17 @@ generations:
|
|
|
36
36
|
cli_version: unknown
|
|
37
37
|
generator_versions:
|
|
38
38
|
fernapi/fern-ruby-sdk: 1.13.1
|
|
39
|
-
|
|
39
|
+
- commit_sha: a182911a591b2f435a3a60cfee819f9ac7bedd6b
|
|
40
|
+
tree_hash: 2789c855d61e4879d98e44a8a411ebaae9807651
|
|
41
|
+
timestamp: 2026-11-23T09:05:26.606Z
|
|
42
|
+
cli_version: unknown
|
|
43
|
+
generator_versions:
|
|
44
|
+
fernapi/fern-ruby-sdk: 1.13.1
|
|
45
|
+
- commit_sha: eccf0210b3874a55b2a09a08d033a6b64f60769b
|
|
46
|
+
tree_hash: de25cc3c8615f4135e607eec47c251c5769bceb1
|
|
47
|
+
timestamp: 2026-11-23T13:02:09.842Z
|
|
48
|
+
cli_version: unknown
|
|
49
|
+
generator_versions:
|
|
50
|
+
fernapi/fern-ruby-sdk: 1.13.1
|
|
51
|
+
current_generation: eccf0210b3874a55b2a09a08d033a6b64f60769b
|
|
40
52
|
patches: []
|
|
@@ -47,7 +47,8 @@ module Wavix
|
|
|
47
47
|
end
|
|
48
48
|
|
|
49
49
|
# Creates an API key for the authenticated account. Restrict access by listing permitted IP addresses in
|
|
50
|
-
# `permitted_ips`.
|
|
50
|
+
# `permitted_ips`. Store the returned `value` securely. Later reads return `redacted_value`, and `value` on reads
|
|
51
|
+
# is deprecated.
|
|
51
52
|
#
|
|
52
53
|
# @param request_options [Hash]
|
|
53
54
|
# @param params [Wavix::APIKeys::Types::APIKeyCreateRequest]
|
|
@@ -57,7 +58,7 @@ module Wavix
|
|
|
57
58
|
# @option request_options [Hash{String => Object}] :additional_body_parameters
|
|
58
59
|
# @option request_options [Integer] :timeout_in_seconds
|
|
59
60
|
#
|
|
60
|
-
# @return [Wavix::Types::
|
|
61
|
+
# @return [Wavix::Types::APIKeyWithSecret]
|
|
61
62
|
def create(request_options: {}, **params)
|
|
62
63
|
params = Wavix::Internal::Types::Utils.normalize_keys(params)
|
|
63
64
|
request = Wavix::Internal::JSON::Request.new(
|
data/lib/wavix/client.rb
CHANGED
|
@@ -11,7 +11,7 @@ module Wavix
|
|
|
11
11
|
@raw_client = Wavix::Internal::Http::RawClient.new(
|
|
12
12
|
base_url: base_url || Wavix::Environment::DEFAULT,
|
|
13
13
|
headers: {
|
|
14
|
-
"User-Agent" => "wavix-ruby-sdk/
|
|
14
|
+
"User-Agent" => "wavix-ruby-sdk/3.1.0",
|
|
15
15
|
"X-Fern-Language" => "Ruby",
|
|
16
16
|
Authorization: "Bearer #{token}"
|
|
17
17
|
},
|
|
@@ -53,7 +53,7 @@ module Wavix
|
|
|
53
53
|
end
|
|
54
54
|
end
|
|
55
55
|
|
|
56
|
-
# Validates a batch of phone numbers. When `async` is `true`, returns a `
|
|
56
|
+
# Validates a batch of phone numbers. When `async` is `true`, returns a `request_uuid` to poll for results instead
|
|
57
57
|
# of the validation details.
|
|
58
58
|
#
|
|
59
59
|
# @param request_options [Hash]
|
|
@@ -53,7 +53,8 @@ module Wavix
|
|
|
53
53
|
end
|
|
54
54
|
|
|
55
55
|
# Creates a sub-account under the authenticated master account. Returns the sub-account with its generated
|
|
56
|
-
# `api_key`.
|
|
56
|
+
# `api_key`. Store the returned `api_key` securely. Later reads return `redacted_api_key`, and `api_key` on reads
|
|
57
|
+
# is deprecated.
|
|
57
58
|
#
|
|
58
59
|
# @param request_options [Hash]
|
|
59
60
|
# @param params [Wavix::SubAccounts::Types::SubAccountsCreateRequest]
|
|
@@ -63,7 +64,7 @@ module Wavix
|
|
|
63
64
|
# @option request_options [Hash{String => Object}] :additional_body_parameters
|
|
64
65
|
# @option request_options [Integer] :timeout_in_seconds
|
|
65
66
|
#
|
|
66
|
-
# @return [Wavix::Types::
|
|
67
|
+
# @return [Wavix::Types::SubOrganizationWithSecret]
|
|
67
68
|
def create(request_options: {}, **params)
|
|
68
69
|
params = Wavix::Internal::Types::Utils.normalize_keys(params)
|
|
69
70
|
request = Wavix::Internal::JSON::Request.new(
|
|
@@ -80,7 +81,7 @@ module Wavix
|
|
|
80
81
|
end
|
|
81
82
|
code = response.code.to_i
|
|
82
83
|
if code.between?(200, 299)
|
|
83
|
-
Wavix::Types::
|
|
84
|
+
Wavix::Types::SubOrganizationWithSecret.load(response.body)
|
|
84
85
|
else
|
|
85
86
|
error_class = Wavix::Errors::ResponseError.subclass_for_code(code)
|
|
86
87
|
raise error_class.new(response.body, code: code)
|
data/lib/wavix/ten_dlc/brand_vetting_appeals/types/ten_dlc_brand_vetting_appeal_create_request.rb
CHANGED
|
@@ -13,9 +13,9 @@ module Wavix
|
|
|
13
13
|
|
|
14
14
|
field :explanation, -> { String }, optional: true, nullable: false
|
|
15
15
|
|
|
16
|
-
field :evp_id, -> { String }, optional:
|
|
16
|
+
field :evp_id, -> { String }, optional: false, nullable: false
|
|
17
17
|
|
|
18
|
-
field :vetting_id, -> { String }, optional:
|
|
18
|
+
field :vetting_id, -> { String }, optional: false, nullable: false
|
|
19
19
|
end
|
|
20
20
|
end
|
|
21
21
|
end
|
data/lib/wavix/types/api_key.rb
CHANGED
|
@@ -2,14 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
module Wavix
|
|
4
4
|
module Types
|
|
5
|
-
# API key details including IP restrictions and scope permissions.
|
|
5
|
+
# API key details including IP restrictions and scope permissions. The `value` field is deprecated; use
|
|
6
|
+
# `redacted_value`.
|
|
6
7
|
class APIKey < Internal::Types::Model
|
|
7
8
|
field :id, -> { Integer }, optional: false, nullable: false
|
|
8
9
|
|
|
9
10
|
field :label, -> { String }, optional: false, nullable: false
|
|
10
11
|
|
|
11
|
-
field :value, -> { String }, optional: false, nullable: false
|
|
12
|
-
|
|
13
12
|
field :active, -> { Internal::Types::Boolean }, optional: false, nullable: false
|
|
14
13
|
|
|
15
14
|
field :restricted, -> { Internal::Types::Boolean }, optional: false, nullable: false
|
|
@@ -47,6 +46,10 @@ module Wavix
|
|
|
47
46
|
field :subaccounts, -> { Wavix::Types::APIKeyScopePermission }, optional: false, nullable: true
|
|
48
47
|
|
|
49
48
|
field :created_at, -> { String }, optional: false, nullable: false
|
|
49
|
+
|
|
50
|
+
field :value, -> { String }, optional: false, nullable: false
|
|
51
|
+
|
|
52
|
+
field :redacted_value, -> { String }, optional: false, nullable: true
|
|
50
53
|
end
|
|
51
54
|
end
|
|
52
55
|
end
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Wavix
|
|
4
|
+
module Types
|
|
5
|
+
# Shared API key fields without the secret value.
|
|
6
|
+
class APIKeyBase < Internal::Types::Model
|
|
7
|
+
field :id, -> { Integer }, optional: false, nullable: false
|
|
8
|
+
|
|
9
|
+
field :label, -> { String }, optional: false, nullable: false
|
|
10
|
+
|
|
11
|
+
field :active, -> { Internal::Types::Boolean }, optional: false, nullable: false
|
|
12
|
+
|
|
13
|
+
field :restricted, -> { Internal::Types::Boolean }, optional: false, nullable: false
|
|
14
|
+
|
|
15
|
+
field :permitted_ips, -> { Internal::Types::Array[String] }, optional: false, nullable: false
|
|
16
|
+
|
|
17
|
+
field :scopes_enabled, -> { Internal::Types::Boolean }, optional: false, nullable: false
|
|
18
|
+
|
|
19
|
+
field :last_used_at, -> { String }, optional: false, nullable: true
|
|
20
|
+
|
|
21
|
+
field :numbers, -> { Wavix::Types::APIKeyScopePermission }, optional: false, nullable: true
|
|
22
|
+
|
|
23
|
+
field :trunks, -> { Wavix::Types::APIKeyScopePermission }, optional: false, nullable: true
|
|
24
|
+
|
|
25
|
+
field :calls, -> { Wavix::Types::APIKeyCallsScopePermission }, optional: false, nullable: true
|
|
26
|
+
|
|
27
|
+
field :messages, -> { Wavix::Types::APIKeyScopePermission }, optional: false, nullable: true
|
|
28
|
+
|
|
29
|
+
field :recordings, -> { Wavix::Types::APIKeyScopePermission }, optional: false, nullable: true
|
|
30
|
+
|
|
31
|
+
field :campaigns, -> { Wavix::Types::APIKeyScopePermission }, optional: false, nullable: true
|
|
32
|
+
|
|
33
|
+
field :two_fa, -> { Wavix::Types::APIKeyScopePermission }, optional: false, nullable: true
|
|
34
|
+
|
|
35
|
+
field :validator, -> { Wavix::Types::APIKeyScopePermission }, optional: false, nullable: true
|
|
36
|
+
|
|
37
|
+
field :webhooks, -> { Wavix::Types::APIKeyScopePermission }, optional: false, nullable: true
|
|
38
|
+
|
|
39
|
+
field :embeddable, -> { Wavix::Types::APIKeyScopePermission }, optional: false, nullable: true
|
|
40
|
+
|
|
41
|
+
field :billing, -> { Wavix::Types::APIKeyScopePermission }, optional: false, nullable: true
|
|
42
|
+
|
|
43
|
+
field :account, -> { Wavix::Types::APIKeyScopePermission }, optional: false, nullable: true
|
|
44
|
+
|
|
45
|
+
field :subaccounts, -> { Wavix::Types::APIKeyScopePermission }, optional: false, nullable: true
|
|
46
|
+
|
|
47
|
+
field :created_at, -> { String }, optional: false, nullable: false
|
|
48
|
+
end
|
|
49
|
+
end
|
|
50
|
+
end
|
|
@@ -2,22 +2,54 @@
|
|
|
2
2
|
|
|
3
3
|
module Wavix
|
|
4
4
|
module Types
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
5
|
+
# API key details, including the secret `value`. Store the `value` securely. Later reads return `redacted_value`,
|
|
6
|
+
# and `value` on reads is deprecated.
|
|
7
|
+
class APIKeyWithSecret < Internal::Types::Model
|
|
8
|
+
field :id, -> { Integer }, optional: false, nullable: false
|
|
9
|
+
|
|
10
|
+
field :label, -> { String }, optional: false, nullable: false
|
|
11
|
+
|
|
12
|
+
field :active, -> { Internal::Types::Boolean }, optional: false, nullable: false
|
|
13
|
+
|
|
14
|
+
field :restricted, -> { Internal::Types::Boolean }, optional: false, nullable: false
|
|
15
|
+
|
|
16
|
+
field :permitted_ips, -> { Internal::Types::Array[String] }, optional: false, nullable: false
|
|
17
|
+
|
|
18
|
+
field :scopes_enabled, -> { Internal::Types::Boolean }, optional: false, nullable: false
|
|
19
|
+
|
|
20
|
+
field :last_used_at, -> { String }, optional: false, nullable: true
|
|
21
|
+
|
|
22
|
+
field :numbers, -> { Wavix::Types::APIKeyScopePermission }, optional: false, nullable: true
|
|
23
|
+
|
|
24
|
+
field :trunks, -> { Wavix::Types::APIKeyScopePermission }, optional: false, nullable: true
|
|
25
|
+
|
|
26
|
+
field :calls, -> { Wavix::Types::APIKeyCallsScopePermission }, optional: false, nullable: true
|
|
27
|
+
|
|
28
|
+
field :messages, -> { Wavix::Types::APIKeyScopePermission }, optional: false, nullable: true
|
|
29
|
+
|
|
30
|
+
field :recordings, -> { Wavix::Types::APIKeyScopePermission }, optional: false, nullable: true
|
|
31
|
+
|
|
32
|
+
field :campaigns, -> { Wavix::Types::APIKeyScopePermission }, optional: false, nullable: true
|
|
33
|
+
|
|
34
|
+
field :two_fa, -> { Wavix::Types::APIKeyScopePermission }, optional: false, nullable: true
|
|
35
|
+
|
|
36
|
+
field :validator, -> { Wavix::Types::APIKeyScopePermission }, optional: false, nullable: true
|
|
37
|
+
|
|
38
|
+
field :webhooks, -> { Wavix::Types::APIKeyScopePermission }, optional: false, nullable: true
|
|
39
|
+
|
|
40
|
+
field :embeddable, -> { Wavix::Types::APIKeyScopePermission }, optional: false, nullable: true
|
|
41
|
+
|
|
42
|
+
field :billing, -> { Wavix::Types::APIKeyScopePermission }, optional: false, nullable: true
|
|
43
|
+
|
|
44
|
+
field :account, -> { Wavix::Types::APIKeyScopePermission }, optional: false, nullable: true
|
|
45
|
+
|
|
46
|
+
field :subaccounts, -> { Wavix::Types::APIKeyScopePermission }, optional: false, nullable: true
|
|
47
|
+
|
|
48
|
+
field :created_at, -> { String }, optional: false, nullable: false
|
|
49
|
+
|
|
50
|
+
field :value, -> { String }, optional: false, nullable: false
|
|
51
|
+
|
|
52
|
+
field :redacted_value, -> { String }, optional: false, nullable: true
|
|
21
53
|
end
|
|
22
54
|
end
|
|
23
55
|
end
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Wavix
|
|
4
|
+
module Types
|
|
5
|
+
# Returned when validation runs asynchronously; poll results using `request_uuid`.
|
|
6
|
+
class NumberValidatorCreateBulkResponseRequestUUID < Internal::Types::Model
|
|
7
|
+
field :request_uuid, -> { String }, optional: false, nullable: false
|
|
8
|
+
end
|
|
9
|
+
end
|
|
10
|
+
end
|
|
@@ -12,6 +12,8 @@ module Wavix
|
|
|
12
12
|
|
|
13
13
|
field :api_key, -> { String }, optional: false, nullable: false
|
|
14
14
|
|
|
15
|
+
field :redacted_api_key, -> { String }, optional: false, nullable: true
|
|
16
|
+
|
|
15
17
|
field :master_organization, -> { Integer }, optional: false, nullable: false
|
|
16
18
|
|
|
17
19
|
field :status, -> { Wavix::Types::SubOrganizationResponseStatus }, optional: false, nullable: false
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Wavix
|
|
4
|
+
module Types
|
|
5
|
+
# Sub-account details including the full API key. Returned only by the create operation.
|
|
6
|
+
class SubOrganizationWithSecret < Internal::Types::Model
|
|
7
|
+
field :id, -> { Integer }, optional: false, nullable: false
|
|
8
|
+
|
|
9
|
+
field :created_at, -> { String }, optional: false, nullable: false
|
|
10
|
+
|
|
11
|
+
field :name, -> { String }, optional: false, nullable: false
|
|
12
|
+
|
|
13
|
+
field :api_key, -> { String }, optional: false, nullable: false
|
|
14
|
+
|
|
15
|
+
field :redacted_api_key, -> { String }, optional: false, nullable: true
|
|
16
|
+
|
|
17
|
+
field :master_organization, -> { Integer }, optional: false, nullable: false
|
|
18
|
+
|
|
19
|
+
field :status, -> { Wavix::Types::SubOrganizationWithSecretStatus }, optional: false, nullable: false
|
|
20
|
+
|
|
21
|
+
field :default_destinations, -> { Wavix::Types::SubOrganizationWithSecretDefaultDestinations }, optional: false, nullable: false
|
|
22
|
+
end
|
|
23
|
+
end
|
|
24
|
+
end
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Wavix
|
|
4
|
+
module Types
|
|
5
|
+
# Default webhook URLs for inbound messages and delivery reports.
|
|
6
|
+
class SubOrganizationWithSecretDefaultDestinations < Internal::Types::Model
|
|
7
|
+
field :sms_endpoint, -> { String }, optional: false, nullable: false
|
|
8
|
+
|
|
9
|
+
field :dlr_endpoint, -> { String }, optional: false, nullable: false
|
|
10
|
+
end
|
|
11
|
+
end
|
|
12
|
+
end
|
data/lib/wavix/version.rb
CHANGED
data/lib/wavix.rb
CHANGED
|
@@ -74,6 +74,7 @@ require_relative "wavix/types/api_key_scope_permission_allow"
|
|
|
74
74
|
require_relative "wavix/types/api_key_scope_permission"
|
|
75
75
|
require_relative "wavix/types/api_key_calls_scope_permission_allow"
|
|
76
76
|
require_relative "wavix/types/api_key_calls_scope_permission"
|
|
77
|
+
require_relative "wavix/types/api_key_base"
|
|
77
78
|
require_relative "wavix/types/api_key"
|
|
78
79
|
require_relative "wavix/types/unauthorized_error_response"
|
|
79
80
|
require_relative "wavix/types/forbidden_error_response"
|
|
@@ -207,7 +208,7 @@ require_relative "wavix/types/phone_number_validation_type"
|
|
|
207
208
|
require_relative "wavix/types/phone_validation_response"
|
|
208
209
|
require_relative "wavix/types/phone_validation_result_response"
|
|
209
210
|
require_relative "wavix/types/phone_validation_batch_response"
|
|
210
|
-
require_relative "wavix/types/
|
|
211
|
+
require_relative "wavix/types/number_validator_create_bulk_response_request_uuid"
|
|
211
212
|
require_relative "wavix/types/number_validator_create_bulk_response"
|
|
212
213
|
require_relative "wavix/types/phone_validation_batch_result_response"
|
|
213
214
|
require_relative "wavix/types/voice_campaign_response"
|
|
@@ -242,6 +243,9 @@ require_relative "wavix/types/sub_organization_response_status"
|
|
|
242
243
|
require_relative "wavix/types/sub_organization_response_default_destinations"
|
|
243
244
|
require_relative "wavix/types/sub_organization_response"
|
|
244
245
|
require_relative "wavix/types/sub_accounts_list_response"
|
|
246
|
+
require_relative "wavix/types/sub_organization_with_secret_status"
|
|
247
|
+
require_relative "wavix/types/sub_organization_with_secret_default_destinations"
|
|
248
|
+
require_relative "wavix/types/sub_organization_with_secret"
|
|
245
249
|
require_relative "wavix/types/sub_accounts_transactions_list_response_transactions_item"
|
|
246
250
|
require_relative "wavix/types/sub_accounts_transactions_list_response"
|
|
247
251
|
require_relative "wavix/types/whats_app_business_account_messaging_limit"
|
data/reference.md
CHANGED
|
@@ -62,7 +62,7 @@ client.api_keys.list(label: "production")
|
|
|
62
62
|
</dl>
|
|
63
63
|
</details>
|
|
64
64
|
|
|
65
|
-
<details><summary><code>client.api_keys.<a href="/lib/wavix/api_keys/client.rb">create</a>(request) -> Wavix::Types::
|
|
65
|
+
<details><summary><code>client.api_keys.<a href="/lib/wavix/api_keys/client.rb">create</a>(request) -> Wavix::Types::APIKeyWithSecret</code></summary>
|
|
66
66
|
<dl>
|
|
67
67
|
<dd>
|
|
68
68
|
|
|
@@ -74,7 +74,7 @@ client.api_keys.list(label: "production")
|
|
|
74
74
|
<dl>
|
|
75
75
|
<dd>
|
|
76
76
|
|
|
77
|
-
Creates an API key for the authenticated account. Restrict access by listing permitted IP addresses in `permitted_ips`.
|
|
77
|
+
Creates an API key for the authenticated account. Restrict access by listing permitted IP addresses in `permitted_ips`. Store the returned `value` securely. Later reads return `redacted_value`, and `value` on reads is deprecated.
|
|
78
78
|
</dd>
|
|
79
79
|
</dl>
|
|
80
80
|
</dd>
|
|
@@ -4048,7 +4048,7 @@ client.number_validator.get(
|
|
|
4048
4048
|
<dl>
|
|
4049
4049
|
<dd>
|
|
4050
4050
|
|
|
4051
|
-
Validates a batch of phone numbers. When `async` is `true`, returns a `
|
|
4051
|
+
Validates a batch of phone numbers. When `async` is `true`, returns a `request_uuid` to poll for results instead of the validation details.
|
|
4052
4052
|
</dd>
|
|
4053
4053
|
</dl>
|
|
4054
4054
|
</dd>
|
|
@@ -4081,7 +4081,7 @@ client.number_validator.create_bulk(
|
|
|
4081
4081
|
<dl>
|
|
4082
4082
|
<dd>
|
|
4083
4083
|
|
|
4084
|
-
**phone_numbers:** `Internal::Types::Array[String]` — List of phone numbers to get detailed information about. Maximum
|
|
4084
|
+
**phone_numbers:** `Internal::Types::Array[String]` — List of phone numbers to get detailed information about. Maximum 500 numbers per request, or 100000 when `async` is `true`.
|
|
4085
4085
|
|
|
4086
4086
|
</dd>
|
|
4087
4087
|
</dl>
|
|
@@ -4625,7 +4625,7 @@ client.sub_accounts.list
|
|
|
4625
4625
|
</dl>
|
|
4626
4626
|
</details>
|
|
4627
4627
|
|
|
4628
|
-
<details><summary><code>client.sub_accounts.<a href="/lib/wavix/sub_accounts/client.rb">create</a>(request) -> Wavix::Types::
|
|
4628
|
+
<details><summary><code>client.sub_accounts.<a href="/lib/wavix/sub_accounts/client.rb">create</a>(request) -> Wavix::Types::SubOrganizationWithSecret</code></summary>
|
|
4629
4629
|
<dl>
|
|
4630
4630
|
<dd>
|
|
4631
4631
|
|
|
@@ -4637,7 +4637,7 @@ client.sub_accounts.list
|
|
|
4637
4637
|
<dl>
|
|
4638
4638
|
<dd>
|
|
4639
4639
|
|
|
4640
|
-
Creates a sub-account under the authenticated master account. Returns the sub-account with its generated `api_key`.
|
|
4640
|
+
Creates a sub-account under the authenticated master account. Returns the sub-account with its generated `api_key`. Store the returned `api_key` securely. Later reads return `redacted_api_key`, and `api_key` on reads is deprecated.
|
|
4641
4641
|
</dd>
|
|
4642
4642
|
</dl>
|
|
4643
4643
|
</dd>
|
|
@@ -6014,7 +6014,7 @@ client.number_validator.results.get(request_id: "12542c5c-1a17-4d12-a163-5b68543
|
|
|
6014
6014
|
<dl>
|
|
6015
6015
|
<dd>
|
|
6016
6016
|
|
|
6017
|
-
**request_id:** `String` — The `
|
|
6017
|
+
**request_id:** `String` — The `request_uuid` returned by the asynchronous bulk validation request.
|
|
6018
6018
|
|
|
6019
6019
|
</dd>
|
|
6020
6020
|
</dl>
|
|
@@ -8627,7 +8627,9 @@ Submits an appeal for an external vetting of the 10DLC Brand identified by `bran
|
|
|
8627
8627
|
client.ten_dlc.brand_vetting_appeals.create(
|
|
8628
8628
|
brand_id: "B6AI7PA",
|
|
8629
8629
|
appeal_categories: ["VERIFY_TAX_ID"],
|
|
8630
|
-
evidence: ["855dff49-c097-4645-3983-08dcb9856232"]
|
|
8630
|
+
evidence: ["855dff49-c097-4645-3983-08dcb9856232"],
|
|
8631
|
+
evp_id: "AEGIS",
|
|
8632
|
+
vetting_id: "48c0ffaa-4e51-4d44-3982-08dcb9856232"
|
|
8631
8633
|
)
|
|
8632
8634
|
```
|
|
8633
8635
|
</dd>
|
|
@@ -8675,7 +8677,7 @@ client.ten_dlc.brand_vetting_appeals.create(
|
|
|
8675
8677
|
<dl>
|
|
8676
8678
|
<dd>
|
|
8677
8679
|
|
|
8678
|
-
**evp_id:** `String` —
|
|
8680
|
+
**evp_id:** `String` — Code of the external vetting provider whose vetting is appealed, as returned in the Brand's vettings.
|
|
8679
8681
|
|
|
8680
8682
|
</dd>
|
|
8681
8683
|
</dl>
|
|
@@ -8683,7 +8685,7 @@ client.ten_dlc.brand_vetting_appeals.create(
|
|
|
8683
8685
|
<dl>
|
|
8684
8686
|
<dd>
|
|
8685
8687
|
|
|
8686
|
-
**vetting_id:** `String` —
|
|
8688
|
+
**vetting_id:** `String` — ID of the external vetting to appeal, as returned in the Brand's vettings.
|
|
8687
8689
|
|
|
8688
8690
|
</dd>
|
|
8689
8691
|
</dl>
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: wavix-ruby-sdk
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version:
|
|
4
|
+
version: 3.1.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Wavix
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-11-
|
|
11
|
+
date: 2026-11-23 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
13
|
description: The Wavix Ruby library provides convenient access to the Wavix API from
|
|
14
14
|
Ruby.
|
|
@@ -247,6 +247,7 @@ files:
|
|
|
247
247
|
- lib/wavix/types/allowed_i_ps.rb
|
|
248
248
|
- lib/wavix/types/allowed_i_ps_item.rb
|
|
249
249
|
- lib/wavix/types/api_key.rb
|
|
250
|
+
- lib/wavix/types/api_key_base.rb
|
|
250
251
|
- lib/wavix/types/api_key_calls_scope_permission.rb
|
|
251
252
|
- lib/wavix/types/api_key_calls_scope_permission_allow.rb
|
|
252
253
|
- lib/wavix/types/api_key_scope_permission.rb
|
|
@@ -324,7 +325,7 @@ files:
|
|
|
324
325
|
- lib/wavix/types/number_status_updated_webhook.rb
|
|
325
326
|
- lib/wavix/types/number_status_updated_webhook_status.rb
|
|
326
327
|
- lib/wavix/types/number_validator_create_bulk_response.rb
|
|
327
|
-
- lib/wavix/types/
|
|
328
|
+
- lib/wavix/types/number_validator_create_bulk_response_request_uuid.rb
|
|
328
329
|
- lib/wavix/types/on_call_event_payload.rb
|
|
329
330
|
- lib/wavix/types/on_call_event_payload_type.rb
|
|
330
331
|
- lib/wavix/types/opt_out.rb
|
|
@@ -368,6 +369,9 @@ files:
|
|
|
368
369
|
- lib/wavix/types/sub_organization_response.rb
|
|
369
370
|
- lib/wavix/types/sub_organization_response_default_destinations.rb
|
|
370
371
|
- lib/wavix/types/sub_organization_response_status.rb
|
|
372
|
+
- lib/wavix/types/sub_organization_with_secret.rb
|
|
373
|
+
- lib/wavix/types/sub_organization_with_secret_default_destinations.rb
|
|
374
|
+
- lib/wavix/types/sub_organization_with_secret_status.rb
|
|
371
375
|
- lib/wavix/types/submit_file_transcription_response.rb
|
|
372
376
|
- lib/wavix/types/success_response.rb
|
|
373
377
|
- lib/wavix/types/tcr_error_message.rb
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
# frozen_string_literal: true
|
|
2
|
-
|
|
3
|
-
module Wavix
|
|
4
|
-
module Types
|
|
5
|
-
# Returned when validation runs asynchronously; poll results using `request_id`.
|
|
6
|
-
class NumberValidatorCreateBulkResponseRequestID < Internal::Types::Model
|
|
7
|
-
field :request_id, -> { String }, optional: true, nullable: false
|
|
8
|
-
end
|
|
9
|
-
end
|
|
10
|
-
end
|