telnyx 5.59.0 → 5.60.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/CHANGELOG.md +5 -8
- data/README.md +1 -1
- data/lib/telnyx/models/{traffic_policy_profile_list_response.rb → traffic_policy_profile.rb} +5 -5
- data/lib/telnyx/models/traffic_policy_profile_create_response.rb +3 -94
- data/lib/telnyx/models/traffic_policy_profile_retrieve_response.rb +3 -94
- data/lib/telnyx/models/traffic_policy_profile_update_response.rb +3 -94
- data/lib/telnyx/models/voice_clone_create_from_upload_response.rb +3 -121
- data/lib/telnyx/models/{voice_clone_list_response.rb → voice_clone_data.rb} +10 -10
- data/lib/telnyx/models/voice_clone_update_response.rb +3 -119
- data/lib/telnyx/models/voice_design_create_response.rb +3 -101
- data/lib/telnyx/models/voice_design_data.rb +102 -0
- data/lib/telnyx/models/voice_design_retrieve_response.rb +3 -101
- data/lib/telnyx/models/whatsapp/phone_numbers/profile/photo_upload_response.rb +3 -99
- data/lib/telnyx/models/whatsapp/phone_numbers/profile_retrieve_response.rb +3 -99
- data/lib/telnyx/models/whatsapp/phone_numbers/profile_update_response.rb +3 -99
- data/lib/telnyx/models/whatsapp/phone_numbers/whatsapp_profile_data.rb +104 -0
- data/lib/telnyx/models.rb +6 -0
- data/lib/telnyx/resources/traffic_policy_profiles.rb +2 -2
- data/lib/telnyx/resources/voice_clones.rb +2 -2
- data/lib/telnyx/version.rb +1 -1
- data/lib/telnyx.rb +5 -2
- data/rbi/telnyx/models/{traffic_policy_profile_list_response.rbi → traffic_policy_profile.rbi} +11 -40
- data/rbi/telnyx/models/traffic_policy_profile_create_response.rbi +6 -192
- data/rbi/telnyx/models/traffic_policy_profile_retrieve_response.rbi +6 -194
- data/rbi/telnyx/models/traffic_policy_profile_update_response.rbi +6 -192
- data/rbi/telnyx/models/voice_clone_create_from_upload_response.rbi +4 -238
- data/rbi/telnyx/models/{voice_clone_list_response.rbi → voice_clone_data.rbi} +17 -62
- data/rbi/telnyx/models/voice_clone_update_response.rbi +4 -234
- data/rbi/telnyx/models/voice_design_create_response.rbi +4 -197
- data/rbi/telnyx/models/voice_design_data.rbi +167 -0
- data/rbi/telnyx/models/voice_design_retrieve_response.rbi +4 -197
- data/rbi/telnyx/models/whatsapp/phone_numbers/profile/photo_upload_response.rbi +4 -155
- data/rbi/telnyx/models/whatsapp/phone_numbers/profile_retrieve_response.rbi +4 -157
- data/rbi/telnyx/models/whatsapp/phone_numbers/profile_update_response.rbi +4 -157
- data/rbi/telnyx/models/whatsapp/phone_numbers/whatsapp_profile_data.rbi +155 -0
- data/rbi/telnyx/models.rbi +3 -0
- data/rbi/telnyx/resources/traffic_policy_profiles.rbi +1 -3
- data/rbi/telnyx/resources/voice_clones.rbi +1 -3
- data/sig/telnyx/models/{traffic_policy_profile_list_response.rbs → traffic_policy_profile.rbs} +9 -9
- data/sig/telnyx/models/traffic_policy_profile_create_response.rbs +5 -98
- data/sig/telnyx/models/traffic_policy_profile_retrieve_response.rbs +5 -98
- data/sig/telnyx/models/traffic_policy_profile_update_response.rbs +5 -98
- data/sig/telnyx/models/voice_clone_create_from_upload_response.rbs +5 -107
- data/sig/telnyx/models/{voice_clone_list_response.rbs → voice_clone_data.rbs} +14 -14
- data/sig/telnyx/models/voice_clone_update_response.rbs +5 -106
- data/sig/telnyx/models/voice_design_create_response.rbs +5 -104
- data/sig/telnyx/models/voice_design_data.rbs +97 -0
- data/sig/telnyx/models/voice_design_retrieve_response.rbs +5 -106
- data/sig/telnyx/models/whatsapp/phone_numbers/profile/photo_upload_response.rbs +6 -111
- data/sig/telnyx/models/whatsapp/phone_numbers/profile_retrieve_response.rbs +6 -111
- data/sig/telnyx/models/whatsapp/phone_numbers/profile_update_response.rbs +6 -111
- data/sig/telnyx/models/whatsapp/phone_numbers/whatsapp_profile_data.rbs +110 -0
- data/sig/telnyx/models.rbs +6 -0
- data/sig/telnyx/resources/traffic_policy_profiles.rbs +1 -1
- data/sig/telnyx/resources/voice_clones.rbs +1 -1
- metadata +14 -8
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4cc8ec3afb639cdd0d6f194a42803314ec513af449a648d86e41613a89b16740
|
|
4
|
+
data.tar.gz: 51fbe245b539719cc8940981fa18d1248662c4b1dda908a9c03697cc493e7547
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 31a58bbbc11dc812323d36498c1e9f05b857583af031917f4bc9728fbb5f1dd4f4f5735a40a7ce15ce6f36dd7ecce1206d27133a4300cfcf982784bc23f12150
|
|
7
|
+
data.tar.gz: 2a6138c3e6ed88b972db374114d3790913720896d12947302e42a2f536528854baf70f1fca36154b6e5464b30dc3359dc6b268283ec96963a80c464b215928ee
|
data/CHANGELOG.md
CHANGED
|
@@ -1,20 +1,17 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
-
## 5.
|
|
3
|
+
## 5.60.0 (2026-03-20)
|
|
4
4
|
|
|
5
|
-
Full Changelog: [v5.
|
|
5
|
+
Full Changelog: [v5.59.0...v5.60.0](https://github.com/team-telnyx/telnyx-ruby/compare/v5.59.0...v5.60.0)
|
|
6
6
|
|
|
7
7
|
### Features
|
|
8
8
|
|
|
9
|
-
* **api:** manual updates ([
|
|
10
|
-
* **api:** manual updates ([bd1eab5](https://github.com/team-telnyx/telnyx-ruby/commit/bd1eab5de098d98d53fc00aefc35dbe825fcd825))
|
|
11
|
-
* TELAPPS-5668: Add call.cost webhook event documentation ([ad13577](https://github.com/team-telnyx/telnyx-ruby/commit/ad1357775aeffb088773216f099dc0ba7ac667e9))
|
|
12
|
-
* **wireless:** add traffic policy profiles endpoints to OpenAPI spec ([9d09743](https://github.com/team-telnyx/telnyx-ruby/commit/9d09743b1ddd22f8a9c296fc19636a0b07137554))
|
|
9
|
+
* **api:** manual updates ([de7ba26](https://github.com/team-telnyx/telnyx-ruby/commit/de7ba26010eaa0b927c15529f8b3b6227cee0b43))
|
|
13
10
|
|
|
14
11
|
|
|
15
|
-
###
|
|
12
|
+
### Chores
|
|
16
13
|
|
|
17
|
-
* **
|
|
14
|
+
* **internal:** version bump ([b889b09](https://github.com/team-telnyx/telnyx-ruby/commit/b889b0938490b818314eb6eac76f92c112f630bc))
|
|
18
15
|
|
|
19
16
|
## 5.58.0 (2026-03-18)
|
|
20
17
|
|
data/README.md
CHANGED
data/lib/telnyx/models/{traffic_policy_profile_list_response.rb → traffic_policy_profile.rb}
RENAMED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
module Telnyx
|
|
4
4
|
module Models
|
|
5
5
|
# @see Telnyx::Resources::TrafficPolicyProfiles#list
|
|
6
|
-
class
|
|
6
|
+
class TrafficPolicyProfile < Telnyx::Internal::Type::BaseModel
|
|
7
7
|
# @!attribute domains
|
|
8
8
|
# Array of domain names.
|
|
9
9
|
#
|
|
@@ -31,8 +31,8 @@ module Telnyx
|
|
|
31
31
|
# @!attribute type
|
|
32
32
|
# The type of the traffic policy profile.
|
|
33
33
|
#
|
|
34
|
-
# @return [Symbol, Telnyx::Models::
|
|
35
|
-
optional :type, enum: -> { Telnyx::
|
|
34
|
+
# @return [Symbol, Telnyx::Models::TrafficPolicyProfile::Type, nil]
|
|
35
|
+
optional :type, enum: -> { Telnyx::TrafficPolicyProfile::Type }
|
|
36
36
|
|
|
37
37
|
response_only do
|
|
38
38
|
# @!attribute id
|
|
@@ -74,13 +74,13 @@ module Telnyx
|
|
|
74
74
|
#
|
|
75
75
|
# @param services [Array<String>] Array of PCEF service IDs included in the profile.
|
|
76
76
|
#
|
|
77
|
-
# @param type [Symbol, Telnyx::Models::
|
|
77
|
+
# @param type [Symbol, Telnyx::Models::TrafficPolicyProfile::Type] The type of the traffic policy profile.
|
|
78
78
|
#
|
|
79
79
|
# @param updated_at [String] ISO 8601 formatted date-time indicating when the resource was updated.
|
|
80
80
|
|
|
81
81
|
# The type of the traffic policy profile.
|
|
82
82
|
#
|
|
83
|
-
# @see Telnyx::Models::
|
|
83
|
+
# @see Telnyx::Models::TrafficPolicyProfile#type
|
|
84
84
|
module Type
|
|
85
85
|
extend Telnyx::Internal::Type::Enum
|
|
86
86
|
|
|
@@ -6,102 +6,11 @@ module Telnyx
|
|
|
6
6
|
class TrafficPolicyProfileCreateResponse < Telnyx::Internal::Type::BaseModel
|
|
7
7
|
# @!attribute data
|
|
8
8
|
#
|
|
9
|
-
# @return [Telnyx::Models::
|
|
10
|
-
optional :data, -> { Telnyx::
|
|
9
|
+
# @return [Telnyx::Models::TrafficPolicyProfile, nil]
|
|
10
|
+
optional :data, -> { Telnyx::TrafficPolicyProfile }
|
|
11
11
|
|
|
12
12
|
# @!method initialize(data: nil)
|
|
13
|
-
# @param data [Telnyx::Models::
|
|
14
|
-
|
|
15
|
-
# @see Telnyx::Models::TrafficPolicyProfileCreateResponse#data
|
|
16
|
-
class Data < Telnyx::Internal::Type::BaseModel
|
|
17
|
-
# @!attribute domains
|
|
18
|
-
# Array of domain names.
|
|
19
|
-
#
|
|
20
|
-
# @return [Array<String>, nil]
|
|
21
|
-
optional :domains, Telnyx::Internal::Type::ArrayOf[String]
|
|
22
|
-
|
|
23
|
-
# @!attribute ip_ranges
|
|
24
|
-
# Array of IP ranges in CIDR notation.
|
|
25
|
-
#
|
|
26
|
-
# @return [Array<String>, nil]
|
|
27
|
-
optional :ip_ranges, Telnyx::Internal::Type::ArrayOf[String]
|
|
28
|
-
|
|
29
|
-
# @!attribute limit_bw_kbps
|
|
30
|
-
# Bandwidth limit in kbps.
|
|
31
|
-
#
|
|
32
|
-
# @return [Integer, nil]
|
|
33
|
-
optional :limit_bw_kbps, Integer, nil?: true
|
|
34
|
-
|
|
35
|
-
# @!attribute services
|
|
36
|
-
# Array of PCEF service IDs included in the profile.
|
|
37
|
-
#
|
|
38
|
-
# @return [Array<String>, nil]
|
|
39
|
-
optional :services, Telnyx::Internal::Type::ArrayOf[String]
|
|
40
|
-
|
|
41
|
-
# @!attribute type
|
|
42
|
-
# The type of the traffic policy profile.
|
|
43
|
-
#
|
|
44
|
-
# @return [Symbol, Telnyx::Models::TrafficPolicyProfileCreateResponse::Data::Type, nil]
|
|
45
|
-
optional :type, enum: -> { Telnyx::Models::TrafficPolicyProfileCreateResponse::Data::Type }
|
|
46
|
-
|
|
47
|
-
response_only do
|
|
48
|
-
# @!attribute id
|
|
49
|
-
# Identifies the resource.
|
|
50
|
-
#
|
|
51
|
-
# @return [String, nil]
|
|
52
|
-
optional :id, String
|
|
53
|
-
|
|
54
|
-
# @!attribute created_at
|
|
55
|
-
# ISO 8601 formatted date-time indicating when the resource was created.
|
|
56
|
-
#
|
|
57
|
-
# @return [String, nil]
|
|
58
|
-
optional :created_at, String
|
|
59
|
-
|
|
60
|
-
# @!attribute record_type
|
|
61
|
-
#
|
|
62
|
-
# @return [String, nil]
|
|
63
|
-
optional :record_type, String
|
|
64
|
-
|
|
65
|
-
# @!attribute updated_at
|
|
66
|
-
# ISO 8601 formatted date-time indicating when the resource was updated.
|
|
67
|
-
#
|
|
68
|
-
# @return [String, nil]
|
|
69
|
-
optional :updated_at, String
|
|
70
|
-
end
|
|
71
|
-
|
|
72
|
-
# @!method initialize(id: nil, created_at: nil, domains: nil, ip_ranges: nil, limit_bw_kbps: nil, record_type: nil, services: nil, type: nil, updated_at: nil)
|
|
73
|
-
# @param id [String] Identifies the resource.
|
|
74
|
-
#
|
|
75
|
-
# @param created_at [String] ISO 8601 formatted date-time indicating when the resource was created.
|
|
76
|
-
#
|
|
77
|
-
# @param domains [Array<String>] Array of domain names.
|
|
78
|
-
#
|
|
79
|
-
# @param ip_ranges [Array<String>] Array of IP ranges in CIDR notation.
|
|
80
|
-
#
|
|
81
|
-
# @param limit_bw_kbps [Integer, nil] Bandwidth limit in kbps.
|
|
82
|
-
#
|
|
83
|
-
# @param record_type [String]
|
|
84
|
-
#
|
|
85
|
-
# @param services [Array<String>] Array of PCEF service IDs included in the profile.
|
|
86
|
-
#
|
|
87
|
-
# @param type [Symbol, Telnyx::Models::TrafficPolicyProfileCreateResponse::Data::Type] The type of the traffic policy profile.
|
|
88
|
-
#
|
|
89
|
-
# @param updated_at [String] ISO 8601 formatted date-time indicating when the resource was updated.
|
|
90
|
-
|
|
91
|
-
# The type of the traffic policy profile.
|
|
92
|
-
#
|
|
93
|
-
# @see Telnyx::Models::TrafficPolicyProfileCreateResponse::Data#type
|
|
94
|
-
module Type
|
|
95
|
-
extend Telnyx::Internal::Type::Enum
|
|
96
|
-
|
|
97
|
-
WHITELIST = :whitelist
|
|
98
|
-
BLACKLIST = :blacklist
|
|
99
|
-
THROTTLING = :throttling
|
|
100
|
-
|
|
101
|
-
# @!method self.values
|
|
102
|
-
# @return [Array<Symbol>]
|
|
103
|
-
end
|
|
104
|
-
end
|
|
13
|
+
# @param data [Telnyx::Models::TrafficPolicyProfile]
|
|
105
14
|
end
|
|
106
15
|
end
|
|
107
16
|
end
|
|
@@ -6,102 +6,11 @@ module Telnyx
|
|
|
6
6
|
class TrafficPolicyProfileRetrieveResponse < Telnyx::Internal::Type::BaseModel
|
|
7
7
|
# @!attribute data
|
|
8
8
|
#
|
|
9
|
-
# @return [Telnyx::Models::
|
|
10
|
-
optional :data, -> { Telnyx::
|
|
9
|
+
# @return [Telnyx::Models::TrafficPolicyProfile, nil]
|
|
10
|
+
optional :data, -> { Telnyx::TrafficPolicyProfile }
|
|
11
11
|
|
|
12
12
|
# @!method initialize(data: nil)
|
|
13
|
-
# @param data [Telnyx::Models::
|
|
14
|
-
|
|
15
|
-
# @see Telnyx::Models::TrafficPolicyProfileRetrieveResponse#data
|
|
16
|
-
class Data < Telnyx::Internal::Type::BaseModel
|
|
17
|
-
# @!attribute domains
|
|
18
|
-
# Array of domain names.
|
|
19
|
-
#
|
|
20
|
-
# @return [Array<String>, nil]
|
|
21
|
-
optional :domains, Telnyx::Internal::Type::ArrayOf[String]
|
|
22
|
-
|
|
23
|
-
# @!attribute ip_ranges
|
|
24
|
-
# Array of IP ranges in CIDR notation.
|
|
25
|
-
#
|
|
26
|
-
# @return [Array<String>, nil]
|
|
27
|
-
optional :ip_ranges, Telnyx::Internal::Type::ArrayOf[String]
|
|
28
|
-
|
|
29
|
-
# @!attribute limit_bw_kbps
|
|
30
|
-
# Bandwidth limit in kbps.
|
|
31
|
-
#
|
|
32
|
-
# @return [Integer, nil]
|
|
33
|
-
optional :limit_bw_kbps, Integer, nil?: true
|
|
34
|
-
|
|
35
|
-
# @!attribute services
|
|
36
|
-
# Array of PCEF service IDs included in the profile.
|
|
37
|
-
#
|
|
38
|
-
# @return [Array<String>, nil]
|
|
39
|
-
optional :services, Telnyx::Internal::Type::ArrayOf[String]
|
|
40
|
-
|
|
41
|
-
# @!attribute type
|
|
42
|
-
# The type of the traffic policy profile.
|
|
43
|
-
#
|
|
44
|
-
# @return [Symbol, Telnyx::Models::TrafficPolicyProfileRetrieveResponse::Data::Type, nil]
|
|
45
|
-
optional :type, enum: -> { Telnyx::Models::TrafficPolicyProfileRetrieveResponse::Data::Type }
|
|
46
|
-
|
|
47
|
-
response_only do
|
|
48
|
-
# @!attribute id
|
|
49
|
-
# Identifies the resource.
|
|
50
|
-
#
|
|
51
|
-
# @return [String, nil]
|
|
52
|
-
optional :id, String
|
|
53
|
-
|
|
54
|
-
# @!attribute created_at
|
|
55
|
-
# ISO 8601 formatted date-time indicating when the resource was created.
|
|
56
|
-
#
|
|
57
|
-
# @return [String, nil]
|
|
58
|
-
optional :created_at, String
|
|
59
|
-
|
|
60
|
-
# @!attribute record_type
|
|
61
|
-
#
|
|
62
|
-
# @return [String, nil]
|
|
63
|
-
optional :record_type, String
|
|
64
|
-
|
|
65
|
-
# @!attribute updated_at
|
|
66
|
-
# ISO 8601 formatted date-time indicating when the resource was updated.
|
|
67
|
-
#
|
|
68
|
-
# @return [String, nil]
|
|
69
|
-
optional :updated_at, String
|
|
70
|
-
end
|
|
71
|
-
|
|
72
|
-
# @!method initialize(id: nil, created_at: nil, domains: nil, ip_ranges: nil, limit_bw_kbps: nil, record_type: nil, services: nil, type: nil, updated_at: nil)
|
|
73
|
-
# @param id [String] Identifies the resource.
|
|
74
|
-
#
|
|
75
|
-
# @param created_at [String] ISO 8601 formatted date-time indicating when the resource was created.
|
|
76
|
-
#
|
|
77
|
-
# @param domains [Array<String>] Array of domain names.
|
|
78
|
-
#
|
|
79
|
-
# @param ip_ranges [Array<String>] Array of IP ranges in CIDR notation.
|
|
80
|
-
#
|
|
81
|
-
# @param limit_bw_kbps [Integer, nil] Bandwidth limit in kbps.
|
|
82
|
-
#
|
|
83
|
-
# @param record_type [String]
|
|
84
|
-
#
|
|
85
|
-
# @param services [Array<String>] Array of PCEF service IDs included in the profile.
|
|
86
|
-
#
|
|
87
|
-
# @param type [Symbol, Telnyx::Models::TrafficPolicyProfileRetrieveResponse::Data::Type] The type of the traffic policy profile.
|
|
88
|
-
#
|
|
89
|
-
# @param updated_at [String] ISO 8601 formatted date-time indicating when the resource was updated.
|
|
90
|
-
|
|
91
|
-
# The type of the traffic policy profile.
|
|
92
|
-
#
|
|
93
|
-
# @see Telnyx::Models::TrafficPolicyProfileRetrieveResponse::Data#type
|
|
94
|
-
module Type
|
|
95
|
-
extend Telnyx::Internal::Type::Enum
|
|
96
|
-
|
|
97
|
-
WHITELIST = :whitelist
|
|
98
|
-
BLACKLIST = :blacklist
|
|
99
|
-
THROTTLING = :throttling
|
|
100
|
-
|
|
101
|
-
# @!method self.values
|
|
102
|
-
# @return [Array<Symbol>]
|
|
103
|
-
end
|
|
104
|
-
end
|
|
13
|
+
# @param data [Telnyx::Models::TrafficPolicyProfile]
|
|
105
14
|
end
|
|
106
15
|
end
|
|
107
16
|
end
|
|
@@ -6,102 +6,11 @@ module Telnyx
|
|
|
6
6
|
class TrafficPolicyProfileUpdateResponse < Telnyx::Internal::Type::BaseModel
|
|
7
7
|
# @!attribute data
|
|
8
8
|
#
|
|
9
|
-
# @return [Telnyx::Models::
|
|
10
|
-
optional :data, -> { Telnyx::
|
|
9
|
+
# @return [Telnyx::Models::TrafficPolicyProfile, nil]
|
|
10
|
+
optional :data, -> { Telnyx::TrafficPolicyProfile }
|
|
11
11
|
|
|
12
12
|
# @!method initialize(data: nil)
|
|
13
|
-
# @param data [Telnyx::Models::
|
|
14
|
-
|
|
15
|
-
# @see Telnyx::Models::TrafficPolicyProfileUpdateResponse#data
|
|
16
|
-
class Data < Telnyx::Internal::Type::BaseModel
|
|
17
|
-
# @!attribute domains
|
|
18
|
-
# Array of domain names.
|
|
19
|
-
#
|
|
20
|
-
# @return [Array<String>, nil]
|
|
21
|
-
optional :domains, Telnyx::Internal::Type::ArrayOf[String]
|
|
22
|
-
|
|
23
|
-
# @!attribute ip_ranges
|
|
24
|
-
# Array of IP ranges in CIDR notation.
|
|
25
|
-
#
|
|
26
|
-
# @return [Array<String>, nil]
|
|
27
|
-
optional :ip_ranges, Telnyx::Internal::Type::ArrayOf[String]
|
|
28
|
-
|
|
29
|
-
# @!attribute limit_bw_kbps
|
|
30
|
-
# Bandwidth limit in kbps.
|
|
31
|
-
#
|
|
32
|
-
# @return [Integer, nil]
|
|
33
|
-
optional :limit_bw_kbps, Integer, nil?: true
|
|
34
|
-
|
|
35
|
-
# @!attribute services
|
|
36
|
-
# Array of PCEF service IDs included in the profile.
|
|
37
|
-
#
|
|
38
|
-
# @return [Array<String>, nil]
|
|
39
|
-
optional :services, Telnyx::Internal::Type::ArrayOf[String]
|
|
40
|
-
|
|
41
|
-
# @!attribute type
|
|
42
|
-
# The type of the traffic policy profile.
|
|
43
|
-
#
|
|
44
|
-
# @return [Symbol, Telnyx::Models::TrafficPolicyProfileUpdateResponse::Data::Type, nil]
|
|
45
|
-
optional :type, enum: -> { Telnyx::Models::TrafficPolicyProfileUpdateResponse::Data::Type }
|
|
46
|
-
|
|
47
|
-
response_only do
|
|
48
|
-
# @!attribute id
|
|
49
|
-
# Identifies the resource.
|
|
50
|
-
#
|
|
51
|
-
# @return [String, nil]
|
|
52
|
-
optional :id, String
|
|
53
|
-
|
|
54
|
-
# @!attribute created_at
|
|
55
|
-
# ISO 8601 formatted date-time indicating when the resource was created.
|
|
56
|
-
#
|
|
57
|
-
# @return [String, nil]
|
|
58
|
-
optional :created_at, String
|
|
59
|
-
|
|
60
|
-
# @!attribute record_type
|
|
61
|
-
#
|
|
62
|
-
# @return [String, nil]
|
|
63
|
-
optional :record_type, String
|
|
64
|
-
|
|
65
|
-
# @!attribute updated_at
|
|
66
|
-
# ISO 8601 formatted date-time indicating when the resource was updated.
|
|
67
|
-
#
|
|
68
|
-
# @return [String, nil]
|
|
69
|
-
optional :updated_at, String
|
|
70
|
-
end
|
|
71
|
-
|
|
72
|
-
# @!method initialize(id: nil, created_at: nil, domains: nil, ip_ranges: nil, limit_bw_kbps: nil, record_type: nil, services: nil, type: nil, updated_at: nil)
|
|
73
|
-
# @param id [String] Identifies the resource.
|
|
74
|
-
#
|
|
75
|
-
# @param created_at [String] ISO 8601 formatted date-time indicating when the resource was created.
|
|
76
|
-
#
|
|
77
|
-
# @param domains [Array<String>] Array of domain names.
|
|
78
|
-
#
|
|
79
|
-
# @param ip_ranges [Array<String>] Array of IP ranges in CIDR notation.
|
|
80
|
-
#
|
|
81
|
-
# @param limit_bw_kbps [Integer, nil] Bandwidth limit in kbps.
|
|
82
|
-
#
|
|
83
|
-
# @param record_type [String]
|
|
84
|
-
#
|
|
85
|
-
# @param services [Array<String>] Array of PCEF service IDs included in the profile.
|
|
86
|
-
#
|
|
87
|
-
# @param type [Symbol, Telnyx::Models::TrafficPolicyProfileUpdateResponse::Data::Type] The type of the traffic policy profile.
|
|
88
|
-
#
|
|
89
|
-
# @param updated_at [String] ISO 8601 formatted date-time indicating when the resource was updated.
|
|
90
|
-
|
|
91
|
-
# The type of the traffic policy profile.
|
|
92
|
-
#
|
|
93
|
-
# @see Telnyx::Models::TrafficPolicyProfileUpdateResponse::Data#type
|
|
94
|
-
module Type
|
|
95
|
-
extend Telnyx::Internal::Type::Enum
|
|
96
|
-
|
|
97
|
-
WHITELIST = :whitelist
|
|
98
|
-
BLACKLIST = :blacklist
|
|
99
|
-
THROTTLING = :throttling
|
|
100
|
-
|
|
101
|
-
# @!method self.values
|
|
102
|
-
# @return [Array<Symbol>]
|
|
103
|
-
end
|
|
104
|
-
end
|
|
13
|
+
# @param data [Telnyx::Models::TrafficPolicyProfile]
|
|
105
14
|
end
|
|
106
15
|
end
|
|
107
16
|
end
|
|
@@ -7,131 +7,13 @@ module Telnyx
|
|
|
7
7
|
# @!attribute data
|
|
8
8
|
# A voice clone object.
|
|
9
9
|
#
|
|
10
|
-
# @return [Telnyx::Models::
|
|
11
|
-
optional :data, -> { Telnyx::
|
|
10
|
+
# @return [Telnyx::Models::VoiceCloneData, nil]
|
|
11
|
+
optional :data, -> { Telnyx::VoiceCloneData }
|
|
12
12
|
|
|
13
13
|
# @!method initialize(data: nil)
|
|
14
14
|
# Response envelope for a single voice clone.
|
|
15
15
|
#
|
|
16
|
-
# @param data [Telnyx::Models::
|
|
17
|
-
|
|
18
|
-
# @see Telnyx::Models::VoiceCloneCreateFromUploadResponse#data
|
|
19
|
-
class Data < Telnyx::Internal::Type::BaseModel
|
|
20
|
-
# @!attribute id
|
|
21
|
-
# Unique identifier for the voice clone.
|
|
22
|
-
#
|
|
23
|
-
# @return [String, nil]
|
|
24
|
-
optional :id, String
|
|
25
|
-
|
|
26
|
-
# @!attribute created_at
|
|
27
|
-
# Timestamp when the voice clone was created.
|
|
28
|
-
#
|
|
29
|
-
# @return [Time, nil]
|
|
30
|
-
optional :created_at, Time
|
|
31
|
-
|
|
32
|
-
# @!attribute gender
|
|
33
|
-
# Gender of the voice clone.
|
|
34
|
-
#
|
|
35
|
-
# @return [Symbol, Telnyx::Models::VoiceCloneCreateFromUploadResponse::Data::Gender, nil]
|
|
36
|
-
optional :gender,
|
|
37
|
-
enum: -> { Telnyx::Models::VoiceCloneCreateFromUploadResponse::Data::Gender },
|
|
38
|
-
nil?: true
|
|
39
|
-
|
|
40
|
-
# @!attribute label
|
|
41
|
-
# Voice style description. If not explicitly set on upload, falls back to the
|
|
42
|
-
# source design's prompt text.
|
|
43
|
-
#
|
|
44
|
-
# @return [String, nil]
|
|
45
|
-
optional :label, String, nil?: true
|
|
46
|
-
|
|
47
|
-
# @!attribute language
|
|
48
|
-
# ISO 639-1 language code of the voice clone.
|
|
49
|
-
#
|
|
50
|
-
# @return [String, nil]
|
|
51
|
-
optional :language, String, nil?: true
|
|
52
|
-
|
|
53
|
-
# @!attribute name
|
|
54
|
-
# Name of the voice clone.
|
|
55
|
-
#
|
|
56
|
-
# @return [String, nil]
|
|
57
|
-
optional :name, String
|
|
58
|
-
|
|
59
|
-
# @!attribute record_type
|
|
60
|
-
# Identifies the resource type.
|
|
61
|
-
#
|
|
62
|
-
# @return [Symbol, Telnyx::Models::VoiceCloneCreateFromUploadResponse::Data::RecordType, nil]
|
|
63
|
-
optional :record_type, enum: -> { Telnyx::Models::VoiceCloneCreateFromUploadResponse::Data::RecordType }
|
|
64
|
-
|
|
65
|
-
# @!attribute source_voice_design_id
|
|
66
|
-
# UUID of the source voice design. `null` for upload-based clones.
|
|
67
|
-
#
|
|
68
|
-
# @return [String, nil]
|
|
69
|
-
optional :source_voice_design_id, String, nil?: true
|
|
70
|
-
|
|
71
|
-
# @!attribute source_voice_design_version
|
|
72
|
-
# Version of the source voice design used. `null` for upload-based clones.
|
|
73
|
-
#
|
|
74
|
-
# @return [Integer, nil]
|
|
75
|
-
optional :source_voice_design_version, Integer, nil?: true
|
|
76
|
-
|
|
77
|
-
# @!attribute updated_at
|
|
78
|
-
# Timestamp when the voice clone was last updated.
|
|
79
|
-
#
|
|
80
|
-
# @return [Time, nil]
|
|
81
|
-
optional :updated_at, Time
|
|
82
|
-
|
|
83
|
-
# @!method initialize(id: nil, created_at: nil, gender: nil, label: nil, language: nil, name: nil, record_type: nil, source_voice_design_id: nil, source_voice_design_version: nil, updated_at: nil)
|
|
84
|
-
# Some parameter documentations has been truncated, see
|
|
85
|
-
# {Telnyx::Models::VoiceCloneCreateFromUploadResponse::Data} for more details.
|
|
86
|
-
#
|
|
87
|
-
# A voice clone object.
|
|
88
|
-
#
|
|
89
|
-
# @param id [String] Unique identifier for the voice clone.
|
|
90
|
-
#
|
|
91
|
-
# @param created_at [Time] Timestamp when the voice clone was created.
|
|
92
|
-
#
|
|
93
|
-
# @param gender [Symbol, Telnyx::Models::VoiceCloneCreateFromUploadResponse::Data::Gender, nil] Gender of the voice clone.
|
|
94
|
-
#
|
|
95
|
-
# @param label [String, nil] Voice style description. If not explicitly set on upload, falls back to the sour
|
|
96
|
-
#
|
|
97
|
-
# @param language [String, nil] ISO 639-1 language code of the voice clone.
|
|
98
|
-
#
|
|
99
|
-
# @param name [String] Name of the voice clone.
|
|
100
|
-
#
|
|
101
|
-
# @param record_type [Symbol, Telnyx::Models::VoiceCloneCreateFromUploadResponse::Data::RecordType] Identifies the resource type.
|
|
102
|
-
#
|
|
103
|
-
# @param source_voice_design_id [String, nil] UUID of the source voice design. `null` for upload-based clones.
|
|
104
|
-
#
|
|
105
|
-
# @param source_voice_design_version [Integer, nil] Version of the source voice design used. `null` for upload-based clones.
|
|
106
|
-
#
|
|
107
|
-
# @param updated_at [Time] Timestamp when the voice clone was last updated.
|
|
108
|
-
|
|
109
|
-
# Gender of the voice clone.
|
|
110
|
-
#
|
|
111
|
-
# @see Telnyx::Models::VoiceCloneCreateFromUploadResponse::Data#gender
|
|
112
|
-
module Gender
|
|
113
|
-
extend Telnyx::Internal::Type::Enum
|
|
114
|
-
|
|
115
|
-
MALE = :male
|
|
116
|
-
FEMALE = :female
|
|
117
|
-
NEUTRAL = :neutral
|
|
118
|
-
|
|
119
|
-
# @!method self.values
|
|
120
|
-
# @return [Array<Symbol>]
|
|
121
|
-
end
|
|
122
|
-
|
|
123
|
-
# Identifies the resource type.
|
|
124
|
-
#
|
|
125
|
-
# @see Telnyx::Models::VoiceCloneCreateFromUploadResponse::Data#record_type
|
|
126
|
-
module RecordType
|
|
127
|
-
extend Telnyx::Internal::Type::Enum
|
|
128
|
-
|
|
129
|
-
VOICE_CLONE = :voice_clone
|
|
130
|
-
|
|
131
|
-
# @!method self.values
|
|
132
|
-
# @return [Array<Symbol>]
|
|
133
|
-
end
|
|
134
|
-
end
|
|
16
|
+
# @param data [Telnyx::Models::VoiceCloneData] A voice clone object.
|
|
135
17
|
end
|
|
136
18
|
end
|
|
137
19
|
end
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
module Telnyx
|
|
4
4
|
module Models
|
|
5
5
|
# @see Telnyx::Resources::VoiceClones#list
|
|
6
|
-
class
|
|
6
|
+
class VoiceCloneData < Telnyx::Internal::Type::BaseModel
|
|
7
7
|
# @!attribute id
|
|
8
8
|
# Unique identifier for the voice clone.
|
|
9
9
|
#
|
|
@@ -19,8 +19,8 @@ module Telnyx
|
|
|
19
19
|
# @!attribute gender
|
|
20
20
|
# Gender of the voice clone.
|
|
21
21
|
#
|
|
22
|
-
# @return [Symbol, Telnyx::Models::
|
|
23
|
-
optional :gender, enum: -> { Telnyx::
|
|
22
|
+
# @return [Symbol, Telnyx::Models::VoiceCloneData::Gender, nil]
|
|
23
|
+
optional :gender, enum: -> { Telnyx::VoiceCloneData::Gender }, nil?: true
|
|
24
24
|
|
|
25
25
|
# @!attribute label
|
|
26
26
|
# Voice style description. If not explicitly set on upload, falls back to the
|
|
@@ -44,8 +44,8 @@ module Telnyx
|
|
|
44
44
|
# @!attribute record_type
|
|
45
45
|
# Identifies the resource type.
|
|
46
46
|
#
|
|
47
|
-
# @return [Symbol, Telnyx::Models::
|
|
48
|
-
optional :record_type, enum: -> { Telnyx::
|
|
47
|
+
# @return [Symbol, Telnyx::Models::VoiceCloneData::RecordType, nil]
|
|
48
|
+
optional :record_type, enum: -> { Telnyx::VoiceCloneData::RecordType }
|
|
49
49
|
|
|
50
50
|
# @!attribute source_voice_design_id
|
|
51
51
|
# UUID of the source voice design. `null` for upload-based clones.
|
|
@@ -67,7 +67,7 @@ module Telnyx
|
|
|
67
67
|
|
|
68
68
|
# @!method initialize(id: nil, created_at: nil, gender: nil, label: nil, language: nil, name: nil, record_type: nil, source_voice_design_id: nil, source_voice_design_version: nil, updated_at: nil)
|
|
69
69
|
# Some parameter documentations has been truncated, see
|
|
70
|
-
# {Telnyx::Models::
|
|
70
|
+
# {Telnyx::Models::VoiceCloneData} for more details.
|
|
71
71
|
#
|
|
72
72
|
# A voice clone object.
|
|
73
73
|
#
|
|
@@ -75,7 +75,7 @@ module Telnyx
|
|
|
75
75
|
#
|
|
76
76
|
# @param created_at [Time] Timestamp when the voice clone was created.
|
|
77
77
|
#
|
|
78
|
-
# @param gender [Symbol, Telnyx::Models::
|
|
78
|
+
# @param gender [Symbol, Telnyx::Models::VoiceCloneData::Gender, nil] Gender of the voice clone.
|
|
79
79
|
#
|
|
80
80
|
# @param label [String, nil] Voice style description. If not explicitly set on upload, falls back to the sour
|
|
81
81
|
#
|
|
@@ -83,7 +83,7 @@ module Telnyx
|
|
|
83
83
|
#
|
|
84
84
|
# @param name [String] Name of the voice clone.
|
|
85
85
|
#
|
|
86
|
-
# @param record_type [Symbol, Telnyx::Models::
|
|
86
|
+
# @param record_type [Symbol, Telnyx::Models::VoiceCloneData::RecordType] Identifies the resource type.
|
|
87
87
|
#
|
|
88
88
|
# @param source_voice_design_id [String, nil] UUID of the source voice design. `null` for upload-based clones.
|
|
89
89
|
#
|
|
@@ -93,7 +93,7 @@ module Telnyx
|
|
|
93
93
|
|
|
94
94
|
# Gender of the voice clone.
|
|
95
95
|
#
|
|
96
|
-
# @see Telnyx::Models::
|
|
96
|
+
# @see Telnyx::Models::VoiceCloneData#gender
|
|
97
97
|
module Gender
|
|
98
98
|
extend Telnyx::Internal::Type::Enum
|
|
99
99
|
|
|
@@ -107,7 +107,7 @@ module Telnyx
|
|
|
107
107
|
|
|
108
108
|
# Identifies the resource type.
|
|
109
109
|
#
|
|
110
|
-
# @see Telnyx::Models::
|
|
110
|
+
# @see Telnyx::Models::VoiceCloneData#record_type
|
|
111
111
|
module RecordType
|
|
112
112
|
extend Telnyx::Internal::Type::Enum
|
|
113
113
|
|