telnyx 5.26.0 → 5.28.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 +16 -0
- data/README.md +1 -1
- data/lib/telnyx/models/ai/mission_create_response.rb +3 -73
- data/lib/telnyx/models/ai/{mission_list_response.rb → mission_data.rb} +5 -5
- data/lib/telnyx/models/ai/mission_retrieve_response.rb +3 -73
- data/lib/telnyx/models/ai/mission_update_mission_response.rb +3 -74
- data/lib/telnyx/models/ai/missions/{run_list_response.rb → mission_run_data.rb} +7 -5
- data/lib/telnyx/models/ai/missions/run_cancel_run_response.rb +3 -89
- data/lib/telnyx/models/ai/missions/run_create_response.rb +3 -89
- data/lib/telnyx/models/ai/missions/run_pause_run_response.rb +3 -89
- data/lib/telnyx/models/ai/missions/run_resume_run_response.rb +3 -89
- data/lib/telnyx/models/ai/missions/run_retrieve_response.rb +3 -89
- data/lib/telnyx/models/ai/missions/run_update_response.rb +3 -89
- data/lib/telnyx/models/ai/missions/runs/plan_add_steps_to_plan_response.rb +3 -77
- data/lib/telnyx/models/ai/missions/runs/plan_create_response.rb +3 -76
- data/lib/telnyx/models/ai/missions/runs/plan_get_step_details_response.rb +3 -77
- data/lib/telnyx/models/ai/missions/runs/plan_retrieve_response.rb +3 -76
- data/lib/telnyx/models/ai/missions/runs/plan_step_data.rb +83 -0
- data/lib/telnyx/models/ai/missions/runs/plan_update_step_response.rb +3 -76
- data/lib/telnyx/models/calls/action_gather_using_speak_params.rb +4 -39
- data/lib/telnyx/models/calls/action_speak_params.rb +4 -39
- data/lib/telnyx/models/conferences/action_speak_params.rb +4 -39
- data/lib/telnyx/models/global_ip_assignment.rb +1 -0
- data/lib/telnyx/models/global_ip_assignment_create_response.rb +2 -2
- data/lib/telnyx/models/global_ip_assignment_delete_response.rb +2 -2
- data/lib/telnyx/models/global_ip_assignment_retrieve_response.rb +2 -2
- data/lib/telnyx/models/global_ip_assignment_update_params.rb +1 -1
- data/lib/telnyx/models/global_ip_assignment_update_response.rb +2 -2
- data/lib/telnyx/models/global_ip_create_response.rb +2 -34
- data/lib/telnyx/models/global_ip_delete_response.rb +2 -34
- data/lib/telnyx/models/global_ip_health_check_create_response.rb +2 -36
- data/lib/telnyx/models/global_ip_health_check_delete_response.rb +2 -36
- data/lib/telnyx/models/global_ip_health_check_list_response.rb +2 -36
- data/lib/telnyx/models/global_ip_health_check_retrieve_response.rb +2 -36
- data/lib/telnyx/models/global_ip_list_response.rb +2 -34
- data/lib/telnyx/models/global_ip_retrieve_response.rb +2 -34
- data/lib/telnyx/models/messaging_10dlc/brand_get_sms_otp_by_reference_params.rb +24 -0
- data/lib/telnyx/models/messaging_10dlc/brand_get_sms_otp_by_reference_response.rb +82 -0
- data/lib/telnyx/models/minimax_voice_settings.rb +52 -0
- data/lib/telnyx/models/network_create.rb +2 -36
- data/lib/telnyx/models/network_create_response.rb +2 -36
- data/lib/telnyx/models/network_delete_response.rb +2 -36
- data/lib/telnyx/models/network_list_interfaces_response.rb +2 -112
- data/lib/telnyx/models/network_list_response.rb +2 -36
- data/lib/telnyx/models/network_retrieve_response.rb +2 -36
- data/lib/telnyx/models/network_update_response.rb +2 -36
- data/lib/telnyx/models/networks/default_gateway_create_response.rb +2 -34
- data/lib/telnyx/models/networks/default_gateway_delete_response.rb +2 -34
- data/lib/telnyx/models/networks/default_gateway_retrieve_response.rb +2 -34
- data/lib/telnyx/models/public_internet_gateway_create_response.rb +2 -75
- data/lib/telnyx/models/public_internet_gateway_delete_response.rb +2 -75
- data/lib/telnyx/models/public_internet_gateway_list_response.rb +2 -75
- data/lib/telnyx/models/public_internet_gateway_retrieve_response.rb +2 -75
- data/lib/telnyx/models/record.rb +42 -0
- data/lib/telnyx/models/virtual_cross_connect_create_response.rb +272 -2
- data/lib/telnyx/models/virtual_cross_connect_delete_response.rb +272 -2
- data/lib/telnyx/models/virtual_cross_connect_list_response.rb +271 -2
- data/lib/telnyx/models/virtual_cross_connect_retrieve_response.rb +272 -2
- data/lib/telnyx/models/virtual_cross_connect_update_response.rb +272 -2
- data/lib/telnyx/models/wireguard_interface_create_response.rb +2 -128
- data/lib/telnyx/models/wireguard_interface_delete_response.rb +2 -128
- data/lib/telnyx/models/wireguard_interface_list_response.rb +2 -128
- data/lib/telnyx/models/wireguard_interface_retrieve_response.rb +2 -128
- data/lib/telnyx/models/wireguard_peer_create_response.rb +75 -2
- data/lib/telnyx/models/wireguard_peer_delete_response.rb +75 -2
- data/lib/telnyx/models/wireguard_peer_list_response.rb +75 -2
- data/lib/telnyx/models/wireguard_peer_retrieve_response.rb +75 -2
- data/lib/telnyx/models/wireguard_peer_update_response.rb +75 -2
- data/lib/telnyx/models.rb +4 -0
- data/lib/telnyx/resources/ai/missions/runs.rb +4 -4
- data/lib/telnyx/resources/ai/missions.rb +2 -2
- data/lib/telnyx/resources/calls/actions.rb +2 -2
- data/lib/telnyx/resources/conferences/actions.rb +1 -1
- data/lib/telnyx/resources/global_ip_assignments.rb +1 -1
- data/lib/telnyx/resources/messaging_10dlc/brand.rb +35 -0
- data/lib/telnyx/version.rb +1 -1
- data/lib/telnyx.rb +8 -4
- data/rbi/telnyx/models/ai/mission_create_response.rbi +6 -147
- data/rbi/telnyx/models/ai/{mission_list_response.rbi → mission_data.rbi} +9 -22
- data/rbi/telnyx/models/ai/mission_retrieve_response.rbi +6 -147
- data/rbi/telnyx/models/ai/mission_update_mission_response.rbi +6 -147
- data/rbi/telnyx/models/ai/missions/{run_list_response.rbi → mission_run_data.rbi} +15 -19
- data/rbi/telnyx/models/ai/missions/run_cancel_run_response.rbi +6 -185
- data/rbi/telnyx/models/ai/missions/run_create_response.rbi +6 -183
- data/rbi/telnyx/models/ai/missions/run_pause_run_response.rbi +6 -185
- data/rbi/telnyx/models/ai/missions/run_resume_run_response.rbi +6 -185
- data/rbi/telnyx/models/ai/missions/run_retrieve_response.rbi +6 -185
- data/rbi/telnyx/models/ai/missions/run_update_response.rbi +6 -183
- data/rbi/telnyx/models/ai/missions/runs/plan_add_steps_to_plan_response.rbi +3 -165
- data/rbi/telnyx/models/ai/missions/runs/plan_create_response.rbi +3 -165
- data/rbi/telnyx/models/ai/missions/runs/plan_get_step_details_response.rbi +4 -161
- data/rbi/telnyx/models/ai/missions/runs/plan_retrieve_response.rbi +3 -165
- data/rbi/telnyx/models/ai/missions/runs/plan_step_data.rbi +159 -0
- data/rbi/telnyx/models/ai/missions/runs/plan_update_step_response.rbi +4 -161
- data/rbi/telnyx/models/calls/action_gather_using_speak_params.rbi +5 -68
- data/rbi/telnyx/models/calls/action_speak_params.rbi +5 -68
- data/rbi/telnyx/models/conferences/action_speak_params.rbi +5 -68
- data/rbi/telnyx/models/global_ip_assignment_update_params.rbi +2 -11
- data/rbi/telnyx/models/global_ip_create_response.rbi +1 -45
- data/rbi/telnyx/models/global_ip_delete_response.rbi +1 -45
- data/rbi/telnyx/models/global_ip_health_check_create_response.rbi +1 -45
- data/rbi/telnyx/models/global_ip_health_check_delete_response.rbi +1 -45
- data/rbi/telnyx/models/global_ip_health_check_list_response.rbi +1 -45
- data/rbi/telnyx/models/global_ip_health_check_retrieve_response.rbi +1 -45
- data/rbi/telnyx/models/global_ip_list_response.rbi +1 -45
- data/rbi/telnyx/models/global_ip_retrieve_response.rbi +1 -45
- data/rbi/telnyx/models/messaging_10dlc/brand_get_sms_otp_by_reference_params.rbi +48 -0
- data/rbi/telnyx/models/messaging_10dlc/brand_get_sms_otp_by_reference_response.rbi +110 -0
- data/rbi/telnyx/models/minimax_voice_settings.rbi +90 -0
- data/rbi/telnyx/models/network_create.rbi +4 -58
- data/rbi/telnyx/models/network_create_response.rbi +3 -57
- data/rbi/telnyx/models/network_delete_response.rbi +3 -57
- data/rbi/telnyx/models/network_list_interfaces_response.rbi +4 -181
- data/rbi/telnyx/models/network_list_response.rbi +3 -57
- data/rbi/telnyx/models/network_retrieve_response.rbi +3 -57
- data/rbi/telnyx/models/network_update_response.rbi +3 -57
- data/rbi/telnyx/models/networks/default_gateway_create_response.rbi +1 -45
- data/rbi/telnyx/models/networks/default_gateway_delete_response.rbi +1 -45
- data/rbi/telnyx/models/networks/default_gateway_retrieve_response.rbi +1 -45
- data/rbi/telnyx/models/public_internet_gateway_create_response.rbi +4 -112
- data/rbi/telnyx/models/public_internet_gateway_delete_response.rbi +4 -112
- data/rbi/telnyx/models/public_internet_gateway_list_response.rbi +4 -112
- data/rbi/telnyx/models/public_internet_gateway_retrieve_response.rbi +4 -112
- data/rbi/telnyx/models/record.rbi +70 -0
- data/rbi/telnyx/models/virtual_cross_connect_create_response.rbi +449 -4
- data/rbi/telnyx/models/virtual_cross_connect_delete_response.rbi +449 -4
- data/rbi/telnyx/models/virtual_cross_connect_list_response.rbi +444 -4
- data/rbi/telnyx/models/virtual_cross_connect_retrieve_response.rbi +449 -4
- data/rbi/telnyx/models/virtual_cross_connect_update_response.rbi +449 -4
- data/rbi/telnyx/models/wireguard_interface_create_response.rbi +4 -210
- data/rbi/telnyx/models/wireguard_interface_delete_response.rbi +4 -210
- data/rbi/telnyx/models/wireguard_interface_list_response.rbi +4 -204
- data/rbi/telnyx/models/wireguard_interface_retrieve_response.rbi +4 -210
- data/rbi/telnyx/models/wireguard_peer_create_response.rbi +111 -4
- data/rbi/telnyx/models/wireguard_peer_delete_response.rbi +111 -4
- data/rbi/telnyx/models/wireguard_peer_list_response.rbi +111 -4
- data/rbi/telnyx/models/wireguard_peer_retrieve_response.rbi +111 -4
- data/rbi/telnyx/models/wireguard_peer_update_response.rbi +111 -4
- data/rbi/telnyx/models.rbi +4 -0
- data/rbi/telnyx/resources/ai/missions/runs.rbi +2 -2
- data/rbi/telnyx/resources/ai/missions.rbi +1 -3
- data/rbi/telnyx/resources/calls/actions.rbi +2 -2
- data/rbi/telnyx/resources/conferences/actions.rbi +1 -1
- data/rbi/telnyx/resources/messaging_10dlc/brand.rbi +30 -0
- data/sig/telnyx/models/ai/mission_create_response.rbs +4 -85
- data/sig/telnyx/models/ai/{mission_list_response.rbs → mission_data.rbs} +7 -7
- data/sig/telnyx/models/ai/mission_retrieve_response.rbs +4 -85
- data/sig/telnyx/models/ai/mission_update_mission_response.rbs +4 -85
- data/sig/telnyx/models/ai/missions/{run_list_response.rbs → mission_run_data.rbs} +9 -7
- data/sig/telnyx/models/ai/missions/run_cancel_run_response.rbs +4 -103
- data/sig/telnyx/models/ai/missions/run_create_response.rbs +4 -103
- data/sig/telnyx/models/ai/missions/run_pause_run_response.rbs +4 -103
- data/sig/telnyx/models/ai/missions/run_resume_run_response.rbs +4 -103
- data/sig/telnyx/models/ai/missions/run_retrieve_response.rbs +4 -103
- data/sig/telnyx/models/ai/missions/run_update_response.rbs +4 -103
- data/sig/telnyx/models/ai/missions/runs/plan_add_steps_to_plan_response.rbs +4 -86
- data/sig/telnyx/models/ai/missions/runs/plan_create_response.rbs +4 -86
- data/sig/telnyx/models/ai/missions/runs/plan_get_step_details_response.rbs +4 -88
- data/sig/telnyx/models/ai/missions/runs/plan_retrieve_response.rbs +4 -86
- data/sig/telnyx/models/ai/missions/runs/plan_step_data.rbs +89 -0
- data/sig/telnyx/models/ai/missions/runs/plan_update_step_response.rbs +4 -88
- data/sig/telnyx/models/calls/action_gather_using_speak_params.rbs +1 -34
- data/sig/telnyx/models/calls/action_speak_params.rbs +1 -34
- data/sig/telnyx/models/conferences/action_speak_params.rbs +1 -34
- data/sig/telnyx/models/global_ip_assignment_update_params.rbs +3 -17
- data/sig/telnyx/models/global_ip_create_response.rbs +9 -37
- data/sig/telnyx/models/global_ip_delete_response.rbs +9 -37
- data/sig/telnyx/models/global_ip_health_check_create_response.rbs +7 -35
- data/sig/telnyx/models/global_ip_health_check_delete_response.rbs +7 -35
- data/sig/telnyx/models/global_ip_health_check_list_response.rbs +7 -35
- data/sig/telnyx/models/global_ip_health_check_retrieve_response.rbs +7 -35
- data/sig/telnyx/models/global_ip_list_response.rbs +9 -37
- data/sig/telnyx/models/global_ip_retrieve_response.rbs +9 -37
- data/sig/telnyx/models/messaging_10dlc/brand_get_sms_otp_by_reference_params.rbs +27 -0
- data/sig/telnyx/models/messaging_10dlc/brand_get_sms_otp_by_reference_response.rbs +63 -0
- data/sig/telnyx/models/minimax_voice_settings.rbs +51 -0
- data/sig/telnyx/models/network_create.rbs +6 -39
- data/sig/telnyx/models/network_create_response.rbs +6 -41
- data/sig/telnyx/models/network_delete_response.rbs +6 -41
- data/sig/telnyx/models/network_list_interfaces_response.rbs +4 -106
- data/sig/telnyx/models/network_list_response.rbs +6 -41
- data/sig/telnyx/models/network_retrieve_response.rbs +6 -41
- data/sig/telnyx/models/network_update_response.rbs +6 -41
- data/sig/telnyx/models/networks/default_gateway_create_response.rbs +7 -35
- data/sig/telnyx/models/networks/default_gateway_delete_response.rbs +7 -35
- data/sig/telnyx/models/networks/default_gateway_retrieve_response.rbs +7 -35
- data/sig/telnyx/models/public_internet_gateway_create_response.rbs +4 -73
- data/sig/telnyx/models/public_internet_gateway_delete_response.rbs +4 -73
- data/sig/telnyx/models/public_internet_gateway_list_response.rbs +4 -73
- data/sig/telnyx/models/public_internet_gateway_retrieve_response.rbs +4 -73
- data/sig/telnyx/models/record.rbs +43 -0
- data/sig/telnyx/models/virtual_cross_connect_create_response.rbs +225 -4
- data/sig/telnyx/models/virtual_cross_connect_delete_response.rbs +225 -4
- data/sig/telnyx/models/virtual_cross_connect_list_response.rbs +225 -4
- data/sig/telnyx/models/virtual_cross_connect_retrieve_response.rbs +225 -4
- data/sig/telnyx/models/virtual_cross_connect_update_response.rbs +225 -4
- data/sig/telnyx/models/wireguard_interface_create_response.rbs +4 -120
- data/sig/telnyx/models/wireguard_interface_delete_response.rbs +4 -120
- data/sig/telnyx/models/wireguard_interface_list_response.rbs +4 -120
- data/sig/telnyx/models/wireguard_interface_retrieve_response.rbs +4 -120
- data/sig/telnyx/models/wireguard_peer_create_response.rbs +64 -4
- data/sig/telnyx/models/wireguard_peer_delete_response.rbs +64 -4
- data/sig/telnyx/models/wireguard_peer_list_response.rbs +64 -4
- data/sig/telnyx/models/wireguard_peer_retrieve_response.rbs +64 -4
- data/sig/telnyx/models/wireguard_peer_update_response.rbs +64 -4
- data/sig/telnyx/models.rbs +4 -0
- data/sig/telnyx/resources/ai/missions/runs.rbs +2 -2
- data/sig/telnyx/resources/ai/missions.rbs +1 -1
- data/sig/telnyx/resources/messaging_10dlc/brand.rbs +6 -0
- metadata +23 -11
- data/lib/telnyx/models/ai/missions/run_list_runs_response.rb +0 -95
- data/rbi/telnyx/models/ai/missions/run_list_runs_response.rbi +0 -180
- data/sig/telnyx/models/ai/missions/run_list_runs_response.rbs +0 -102
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Telnyx
|
|
4
|
+
module Models
|
|
5
|
+
module AI
|
|
6
|
+
module Missions
|
|
7
|
+
module Runs
|
|
8
|
+
class PlanStepData < Telnyx::Internal::Type::BaseModel
|
|
9
|
+
# @!attribute description
|
|
10
|
+
#
|
|
11
|
+
# @return [String]
|
|
12
|
+
required :description, String
|
|
13
|
+
|
|
14
|
+
# @!attribute run_id
|
|
15
|
+
#
|
|
16
|
+
# @return [String]
|
|
17
|
+
required :run_id, String
|
|
18
|
+
|
|
19
|
+
# @!attribute sequence
|
|
20
|
+
#
|
|
21
|
+
# @return [Integer]
|
|
22
|
+
required :sequence, Integer
|
|
23
|
+
|
|
24
|
+
# @!attribute status
|
|
25
|
+
#
|
|
26
|
+
# @return [Symbol, Telnyx::Models::AI::Missions::Runs::PlanStepData::Status]
|
|
27
|
+
required :status, enum: -> { Telnyx::AI::Missions::Runs::PlanStepData::Status }
|
|
28
|
+
|
|
29
|
+
# @!attribute step_id
|
|
30
|
+
#
|
|
31
|
+
# @return [String]
|
|
32
|
+
required :step_id, String
|
|
33
|
+
|
|
34
|
+
# @!attribute completed_at
|
|
35
|
+
#
|
|
36
|
+
# @return [Time, nil]
|
|
37
|
+
optional :completed_at, Time
|
|
38
|
+
|
|
39
|
+
# @!attribute metadata
|
|
40
|
+
#
|
|
41
|
+
# @return [Hash{Symbol=>Object}, nil]
|
|
42
|
+
optional :metadata, Telnyx::Internal::Type::HashOf[Telnyx::Internal::Type::Unknown]
|
|
43
|
+
|
|
44
|
+
# @!attribute parent_step_id
|
|
45
|
+
#
|
|
46
|
+
# @return [String, nil]
|
|
47
|
+
optional :parent_step_id, String
|
|
48
|
+
|
|
49
|
+
# @!attribute started_at
|
|
50
|
+
#
|
|
51
|
+
# @return [Time, nil]
|
|
52
|
+
optional :started_at, Time
|
|
53
|
+
|
|
54
|
+
# @!method initialize(description:, run_id:, sequence:, status:, step_id:, completed_at: nil, metadata: nil, parent_step_id: nil, started_at: nil)
|
|
55
|
+
# @param description [String]
|
|
56
|
+
# @param run_id [String]
|
|
57
|
+
# @param sequence [Integer]
|
|
58
|
+
# @param status [Symbol, Telnyx::Models::AI::Missions::Runs::PlanStepData::Status]
|
|
59
|
+
# @param step_id [String]
|
|
60
|
+
# @param completed_at [Time]
|
|
61
|
+
# @param metadata [Hash{Symbol=>Object}]
|
|
62
|
+
# @param parent_step_id [String]
|
|
63
|
+
# @param started_at [Time]
|
|
64
|
+
|
|
65
|
+
# @see Telnyx::Models::AI::Missions::Runs::PlanStepData#status
|
|
66
|
+
module Status
|
|
67
|
+
extend Telnyx::Internal::Type::Enum
|
|
68
|
+
|
|
69
|
+
PENDING = :pending
|
|
70
|
+
IN_PROGRESS = :in_progress
|
|
71
|
+
COMPLETED = :completed
|
|
72
|
+
SKIPPED = :skipped
|
|
73
|
+
FAILED = :failed
|
|
74
|
+
|
|
75
|
+
# @!method self.values
|
|
76
|
+
# @return [Array<Symbol>]
|
|
77
|
+
end
|
|
78
|
+
end
|
|
79
|
+
end
|
|
80
|
+
end
|
|
81
|
+
end
|
|
82
|
+
end
|
|
83
|
+
end
|
|
@@ -9,84 +9,11 @@ module Telnyx
|
|
|
9
9
|
class PlanUpdateStepResponse < Telnyx::Internal::Type::BaseModel
|
|
10
10
|
# @!attribute data
|
|
11
11
|
#
|
|
12
|
-
# @return [Telnyx::Models::AI::Missions::Runs::
|
|
13
|
-
required :data, -> { Telnyx::
|
|
12
|
+
# @return [Telnyx::Models::AI::Missions::Runs::PlanStepData]
|
|
13
|
+
required :data, -> { Telnyx::AI::Missions::Runs::PlanStepData }
|
|
14
14
|
|
|
15
15
|
# @!method initialize(data:)
|
|
16
|
-
# @param data [Telnyx::Models::AI::Missions::Runs::
|
|
17
|
-
|
|
18
|
-
# @see Telnyx::Models::AI::Missions::Runs::PlanUpdateStepResponse#data
|
|
19
|
-
class Data < Telnyx::Internal::Type::BaseModel
|
|
20
|
-
# @!attribute description
|
|
21
|
-
#
|
|
22
|
-
# @return [String]
|
|
23
|
-
required :description, String
|
|
24
|
-
|
|
25
|
-
# @!attribute run_id
|
|
26
|
-
#
|
|
27
|
-
# @return [String]
|
|
28
|
-
required :run_id, String
|
|
29
|
-
|
|
30
|
-
# @!attribute sequence
|
|
31
|
-
#
|
|
32
|
-
# @return [Integer]
|
|
33
|
-
required :sequence, Integer
|
|
34
|
-
|
|
35
|
-
# @!attribute status
|
|
36
|
-
#
|
|
37
|
-
# @return [Symbol, Telnyx::Models::AI::Missions::Runs::PlanUpdateStepResponse::Data::Status]
|
|
38
|
-
required :status, enum: -> { Telnyx::Models::AI::Missions::Runs::PlanUpdateStepResponse::Data::Status }
|
|
39
|
-
|
|
40
|
-
# @!attribute step_id
|
|
41
|
-
#
|
|
42
|
-
# @return [String]
|
|
43
|
-
required :step_id, String
|
|
44
|
-
|
|
45
|
-
# @!attribute completed_at
|
|
46
|
-
#
|
|
47
|
-
# @return [Time, nil]
|
|
48
|
-
optional :completed_at, Time
|
|
49
|
-
|
|
50
|
-
# @!attribute metadata
|
|
51
|
-
#
|
|
52
|
-
# @return [Hash{Symbol=>Object}, nil]
|
|
53
|
-
optional :metadata, Telnyx::Internal::Type::HashOf[Telnyx::Internal::Type::Unknown]
|
|
54
|
-
|
|
55
|
-
# @!attribute parent_step_id
|
|
56
|
-
#
|
|
57
|
-
# @return [String, nil]
|
|
58
|
-
optional :parent_step_id, String
|
|
59
|
-
|
|
60
|
-
# @!attribute started_at
|
|
61
|
-
#
|
|
62
|
-
# @return [Time, nil]
|
|
63
|
-
optional :started_at, Time
|
|
64
|
-
|
|
65
|
-
# @!method initialize(description:, run_id:, sequence:, status:, step_id:, completed_at: nil, metadata: nil, parent_step_id: nil, started_at: nil)
|
|
66
|
-
# @param description [String]
|
|
67
|
-
# @param run_id [String]
|
|
68
|
-
# @param sequence [Integer]
|
|
69
|
-
# @param status [Symbol, Telnyx::Models::AI::Missions::Runs::PlanUpdateStepResponse::Data::Status]
|
|
70
|
-
# @param step_id [String]
|
|
71
|
-
# @param completed_at [Time]
|
|
72
|
-
# @param metadata [Hash{Symbol=>Object}]
|
|
73
|
-
# @param parent_step_id [String]
|
|
74
|
-
# @param started_at [Time]
|
|
75
|
-
|
|
76
|
-
# @see Telnyx::Models::AI::Missions::Runs::PlanUpdateStepResponse::Data#status
|
|
77
|
-
module Status
|
|
78
|
-
extend Telnyx::Internal::Type::Enum
|
|
79
|
-
|
|
80
|
-
PENDING = :pending
|
|
81
|
-
IN_PROGRESS = :in_progress
|
|
82
|
-
COMPLETED = :completed
|
|
83
|
-
SKIPPED = :skipped
|
|
84
|
-
FAILED = :failed
|
|
85
|
-
|
|
86
|
-
# @!method self.values
|
|
87
|
-
# @return [Array<Symbol>]
|
|
88
|
-
end
|
|
89
|
-
end
|
|
16
|
+
# @param data [Telnyx::Models::AI::Missions::Runs::PlanStepData]
|
|
90
17
|
end
|
|
91
18
|
end
|
|
92
19
|
end
|
|
@@ -142,7 +142,7 @@ module Telnyx
|
|
|
142
142
|
# @!attribute voice_settings
|
|
143
143
|
# The settings associated with the voice selected
|
|
144
144
|
#
|
|
145
|
-
# @return [Telnyx::Models::Calls::ElevenLabsVoiceSettings, Telnyx::Models::Calls::TelnyxVoiceSettings, Telnyx::Models::Calls::AwsVoiceSettings, Telnyx::Models::
|
|
145
|
+
# @return [Telnyx::Models::Calls::ElevenLabsVoiceSettings, Telnyx::Models::Calls::TelnyxVoiceSettings, Telnyx::Models::Calls::AwsVoiceSettings, Telnyx::Models::MinimaxVoiceSettings, nil]
|
|
146
146
|
optional :voice_settings, union: -> { Telnyx::Calls::ActionGatherUsingSpeakParams::VoiceSettings }
|
|
147
147
|
|
|
148
148
|
# @!method initialize(payload:, voice:, client_state: nil, command_id: nil, inter_digit_timeout_millis: nil, invalid_payload: nil, language: nil, maximum_digits: nil, maximum_tries: nil, minimum_digits: nil, payload_type: nil, service_level: nil, terminating_digit: nil, timeout_millis: nil, valid_digits: nil, voice_settings: nil, request_options: {})
|
|
@@ -180,7 +180,7 @@ module Telnyx
|
|
|
180
180
|
#
|
|
181
181
|
# @param valid_digits [String] A list of all digits accepted as valid.
|
|
182
182
|
#
|
|
183
|
-
# @param voice_settings [Telnyx::Models::Calls::ElevenLabsVoiceSettings, Telnyx::Models::Calls::TelnyxVoiceSettings, Telnyx::Models::Calls::AwsVoiceSettings, Telnyx::Models::
|
|
183
|
+
# @param voice_settings [Telnyx::Models::Calls::ElevenLabsVoiceSettings, Telnyx::Models::Calls::TelnyxVoiceSettings, Telnyx::Models::Calls::AwsVoiceSettings, Telnyx::Models::MinimaxVoiceSettings] The settings associated with the voice selected
|
|
184
184
|
#
|
|
185
185
|
# @param request_options [Telnyx::RequestOptions, Hash{Symbol=>Object}]
|
|
186
186
|
|
|
@@ -259,45 +259,10 @@ module Telnyx
|
|
|
259
259
|
|
|
260
260
|
variant :aws, -> { Telnyx::Calls::AwsVoiceSettings }
|
|
261
261
|
|
|
262
|
-
variant :minimax, -> { Telnyx::
|
|
263
|
-
|
|
264
|
-
class Minimax < Telnyx::Internal::Type::BaseModel
|
|
265
|
-
# @!attribute type
|
|
266
|
-
# Voice settings provider type
|
|
267
|
-
#
|
|
268
|
-
# @return [Symbol, :minimax]
|
|
269
|
-
required :type, const: :minimax
|
|
270
|
-
|
|
271
|
-
# @!attribute pitch
|
|
272
|
-
# Voice pitch adjustment. Default is 0.
|
|
273
|
-
#
|
|
274
|
-
# @return [Integer, nil]
|
|
275
|
-
optional :pitch, Integer
|
|
276
|
-
|
|
277
|
-
# @!attribute speed
|
|
278
|
-
# Speech speed multiplier. Default is 1.0.
|
|
279
|
-
#
|
|
280
|
-
# @return [Float, nil]
|
|
281
|
-
optional :speed, Float
|
|
282
|
-
|
|
283
|
-
# @!attribute vol
|
|
284
|
-
# Speech volume multiplier. Default is 1.0.
|
|
285
|
-
#
|
|
286
|
-
# @return [Float, nil]
|
|
287
|
-
optional :vol, Float
|
|
288
|
-
|
|
289
|
-
# @!method initialize(pitch: nil, speed: nil, vol: nil, type: :minimax)
|
|
290
|
-
# @param pitch [Integer] Voice pitch adjustment. Default is 0.
|
|
291
|
-
#
|
|
292
|
-
# @param speed [Float] Speech speed multiplier. Default is 1.0.
|
|
293
|
-
#
|
|
294
|
-
# @param vol [Float] Speech volume multiplier. Default is 1.0.
|
|
295
|
-
#
|
|
296
|
-
# @param type [Symbol, :minimax] Voice settings provider type
|
|
297
|
-
end
|
|
262
|
+
variant :minimax, -> { Telnyx::MinimaxVoiceSettings }
|
|
298
263
|
|
|
299
264
|
# @!method self.variants
|
|
300
|
-
# @return [Array(Telnyx::Models::Calls::ElevenLabsVoiceSettings, Telnyx::Models::Calls::TelnyxVoiceSettings, Telnyx::Models::Calls::AwsVoiceSettings, Telnyx::Models::
|
|
265
|
+
# @return [Array(Telnyx::Models::Calls::ElevenLabsVoiceSettings, Telnyx::Models::Calls::TelnyxVoiceSettings, Telnyx::Models::Calls::AwsVoiceSettings, Telnyx::Models::MinimaxVoiceSettings)]
|
|
301
266
|
end
|
|
302
267
|
end
|
|
303
268
|
end
|
|
@@ -97,7 +97,7 @@ module Telnyx
|
|
|
97
97
|
# @!attribute voice_settings
|
|
98
98
|
# The settings associated with the voice selected
|
|
99
99
|
#
|
|
100
|
-
# @return [Telnyx::Models::Calls::ElevenLabsVoiceSettings, Telnyx::Models::Calls::TelnyxVoiceSettings, Telnyx::Models::Calls::AwsVoiceSettings, Telnyx::Models::
|
|
100
|
+
# @return [Telnyx::Models::Calls::ElevenLabsVoiceSettings, Telnyx::Models::Calls::TelnyxVoiceSettings, Telnyx::Models::Calls::AwsVoiceSettings, Telnyx::Models::MinimaxVoiceSettings, nil]
|
|
101
101
|
optional :voice_settings, union: -> { Telnyx::Calls::ActionSpeakParams::VoiceSettings }
|
|
102
102
|
|
|
103
103
|
# @!method initialize(payload:, voice:, client_state: nil, command_id: nil, language: nil, payload_type: nil, service_level: nil, stop: nil, voice_settings: nil, request_options: {})
|
|
@@ -120,7 +120,7 @@ module Telnyx
|
|
|
120
120
|
#
|
|
121
121
|
# @param stop [String] When specified, it stops the current audio being played. Specify `current` to st
|
|
122
122
|
#
|
|
123
|
-
# @param voice_settings [Telnyx::Models::Calls::ElevenLabsVoiceSettings, Telnyx::Models::Calls::TelnyxVoiceSettings, Telnyx::Models::Calls::AwsVoiceSettings, Telnyx::Models::
|
|
123
|
+
# @param voice_settings [Telnyx::Models::Calls::ElevenLabsVoiceSettings, Telnyx::Models::Calls::TelnyxVoiceSettings, Telnyx::Models::Calls::AwsVoiceSettings, Telnyx::Models::MinimaxVoiceSettings] The settings associated with the voice selected
|
|
124
124
|
#
|
|
125
125
|
# @param request_options [Telnyx::RequestOptions, Hash{Symbol=>Object}]
|
|
126
126
|
|
|
@@ -199,45 +199,10 @@ module Telnyx
|
|
|
199
199
|
|
|
200
200
|
variant :aws, -> { Telnyx::Calls::AwsVoiceSettings }
|
|
201
201
|
|
|
202
|
-
variant :minimax, -> { Telnyx::
|
|
203
|
-
|
|
204
|
-
class Minimax < Telnyx::Internal::Type::BaseModel
|
|
205
|
-
# @!attribute type
|
|
206
|
-
# Voice settings provider type
|
|
207
|
-
#
|
|
208
|
-
# @return [Symbol, :minimax]
|
|
209
|
-
required :type, const: :minimax
|
|
210
|
-
|
|
211
|
-
# @!attribute pitch
|
|
212
|
-
# Voice pitch adjustment. Default is 0.
|
|
213
|
-
#
|
|
214
|
-
# @return [Integer, nil]
|
|
215
|
-
optional :pitch, Integer
|
|
216
|
-
|
|
217
|
-
# @!attribute speed
|
|
218
|
-
# Speech speed multiplier. Default is 1.0.
|
|
219
|
-
#
|
|
220
|
-
# @return [Float, nil]
|
|
221
|
-
optional :speed, Float
|
|
222
|
-
|
|
223
|
-
# @!attribute vol
|
|
224
|
-
# Speech volume multiplier. Default is 1.0.
|
|
225
|
-
#
|
|
226
|
-
# @return [Float, nil]
|
|
227
|
-
optional :vol, Float
|
|
228
|
-
|
|
229
|
-
# @!method initialize(pitch: nil, speed: nil, vol: nil, type: :minimax)
|
|
230
|
-
# @param pitch [Integer] Voice pitch adjustment. Default is 0.
|
|
231
|
-
#
|
|
232
|
-
# @param speed [Float] Speech speed multiplier. Default is 1.0.
|
|
233
|
-
#
|
|
234
|
-
# @param vol [Float] Speech volume multiplier. Default is 1.0.
|
|
235
|
-
#
|
|
236
|
-
# @param type [Symbol, :minimax] Voice settings provider type
|
|
237
|
-
end
|
|
202
|
+
variant :minimax, -> { Telnyx::MinimaxVoiceSettings }
|
|
238
203
|
|
|
239
204
|
# @!method self.variants
|
|
240
|
-
# @return [Array(Telnyx::Models::Calls::ElevenLabsVoiceSettings, Telnyx::Models::Calls::TelnyxVoiceSettings, Telnyx::Models::Calls::AwsVoiceSettings, Telnyx::Models::
|
|
205
|
+
# @return [Array(Telnyx::Models::Calls::ElevenLabsVoiceSettings, Telnyx::Models::Calls::TelnyxVoiceSettings, Telnyx::Models::Calls::AwsVoiceSettings, Telnyx::Models::MinimaxVoiceSettings)]
|
|
241
206
|
end
|
|
242
207
|
end
|
|
243
208
|
end
|
|
@@ -89,7 +89,7 @@ module Telnyx
|
|
|
89
89
|
# @!attribute voice_settings
|
|
90
90
|
# The settings associated with the voice selected
|
|
91
91
|
#
|
|
92
|
-
# @return [Telnyx::Models::Calls::ElevenLabsVoiceSettings, Telnyx::Models::Calls::TelnyxVoiceSettings, Telnyx::Models::Calls::AwsVoiceSettings, Telnyx::Models::
|
|
92
|
+
# @return [Telnyx::Models::Calls::ElevenLabsVoiceSettings, Telnyx::Models::Calls::TelnyxVoiceSettings, Telnyx::Models::Calls::AwsVoiceSettings, Telnyx::Models::MinimaxVoiceSettings, nil]
|
|
93
93
|
optional :voice_settings, union: -> { Telnyx::Conferences::ActionSpeakParams::VoiceSettings }
|
|
94
94
|
|
|
95
95
|
# @!method initialize(payload:, voice:, call_control_ids: nil, command_id: nil, language: nil, payload_type: nil, region: nil, voice_settings: nil, request_options: {})
|
|
@@ -110,7 +110,7 @@ module Telnyx
|
|
|
110
110
|
#
|
|
111
111
|
# @param region [Symbol, Telnyx::Models::Conferences::ActionSpeakParams::Region] Region where the conference data is located. Defaults to the region defined in u
|
|
112
112
|
#
|
|
113
|
-
# @param voice_settings [Telnyx::Models::Calls::ElevenLabsVoiceSettings, Telnyx::Models::Calls::TelnyxVoiceSettings, Telnyx::Models::Calls::AwsVoiceSettings, Telnyx::Models::
|
|
113
|
+
# @param voice_settings [Telnyx::Models::Calls::ElevenLabsVoiceSettings, Telnyx::Models::Calls::TelnyxVoiceSettings, Telnyx::Models::Calls::AwsVoiceSettings, Telnyx::Models::MinimaxVoiceSettings] The settings associated with the voice selected
|
|
114
114
|
#
|
|
115
115
|
# @param request_options [Telnyx::RequestOptions, Hash{Symbol=>Object}]
|
|
116
116
|
|
|
@@ -191,45 +191,10 @@ module Telnyx
|
|
|
191
191
|
|
|
192
192
|
variant :aws, -> { Telnyx::Calls::AwsVoiceSettings }
|
|
193
193
|
|
|
194
|
-
variant :minimax, -> { Telnyx::
|
|
195
|
-
|
|
196
|
-
class Minimax < Telnyx::Internal::Type::BaseModel
|
|
197
|
-
# @!attribute type
|
|
198
|
-
# Voice settings provider type
|
|
199
|
-
#
|
|
200
|
-
# @return [Symbol, :minimax]
|
|
201
|
-
required :type, const: :minimax
|
|
202
|
-
|
|
203
|
-
# @!attribute pitch
|
|
204
|
-
# Voice pitch adjustment. Default is 0.
|
|
205
|
-
#
|
|
206
|
-
# @return [Integer, nil]
|
|
207
|
-
optional :pitch, Integer
|
|
208
|
-
|
|
209
|
-
# @!attribute speed
|
|
210
|
-
# Speech speed multiplier. Default is 1.0.
|
|
211
|
-
#
|
|
212
|
-
# @return [Float, nil]
|
|
213
|
-
optional :speed, Float
|
|
214
|
-
|
|
215
|
-
# @!attribute vol
|
|
216
|
-
# Speech volume multiplier. Default is 1.0.
|
|
217
|
-
#
|
|
218
|
-
# @return [Float, nil]
|
|
219
|
-
optional :vol, Float
|
|
220
|
-
|
|
221
|
-
# @!method initialize(pitch: nil, speed: nil, vol: nil, type: :minimax)
|
|
222
|
-
# @param pitch [Integer] Voice pitch adjustment. Default is 0.
|
|
223
|
-
#
|
|
224
|
-
# @param speed [Float] Speech speed multiplier. Default is 1.0.
|
|
225
|
-
#
|
|
226
|
-
# @param vol [Float] Speech volume multiplier. Default is 1.0.
|
|
227
|
-
#
|
|
228
|
-
# @param type [Symbol, :minimax] Voice settings provider type
|
|
229
|
-
end
|
|
194
|
+
variant :minimax, -> { Telnyx::MinimaxVoiceSettings }
|
|
230
195
|
|
|
231
196
|
# @!method self.variants
|
|
232
|
-
# @return [Array(Telnyx::Models::Calls::ElevenLabsVoiceSettings, Telnyx::Models::Calls::TelnyxVoiceSettings, Telnyx::Models::Calls::AwsVoiceSettings, Telnyx::Models::
|
|
197
|
+
# @return [Array(Telnyx::Models::Calls::ElevenLabsVoiceSettings, Telnyx::Models::Calls::TelnyxVoiceSettings, Telnyx::Models::Calls::AwsVoiceSettings, Telnyx::Models::MinimaxVoiceSettings)]
|
|
233
198
|
end
|
|
234
199
|
end
|
|
235
200
|
end
|
|
@@ -6,11 +6,11 @@ module Telnyx
|
|
|
6
6
|
class GlobalIPAssignmentCreateResponse < Telnyx::Internal::Type::BaseModel
|
|
7
7
|
# @!attribute data
|
|
8
8
|
#
|
|
9
|
-
# @return [GlobalIPAssignment, nil]
|
|
9
|
+
# @return [Telnyx::Models::GlobalIPAssignment, nil]
|
|
10
10
|
optional :data, -> { Telnyx::GlobalIPAssignment }
|
|
11
11
|
|
|
12
12
|
# @!method initialize(data: nil)
|
|
13
|
-
# @param data [GlobalIPAssignment]
|
|
13
|
+
# @param data [Telnyx::Models::GlobalIPAssignment]
|
|
14
14
|
end
|
|
15
15
|
end
|
|
16
16
|
end
|
|
@@ -6,11 +6,11 @@ module Telnyx
|
|
|
6
6
|
class GlobalIPAssignmentDeleteResponse < Telnyx::Internal::Type::BaseModel
|
|
7
7
|
# @!attribute data
|
|
8
8
|
#
|
|
9
|
-
# @return [GlobalIPAssignment, nil]
|
|
9
|
+
# @return [Telnyx::Models::GlobalIPAssignment, nil]
|
|
10
10
|
optional :data, -> { Telnyx::GlobalIPAssignment }
|
|
11
11
|
|
|
12
12
|
# @!method initialize(data: nil)
|
|
13
|
-
# @param data [GlobalIPAssignment]
|
|
13
|
+
# @param data [Telnyx::Models::GlobalIPAssignment]
|
|
14
14
|
end
|
|
15
15
|
end
|
|
16
16
|
end
|
|
@@ -6,11 +6,11 @@ module Telnyx
|
|
|
6
6
|
class GlobalIPAssignmentRetrieveResponse < Telnyx::Internal::Type::BaseModel
|
|
7
7
|
# @!attribute data
|
|
8
8
|
#
|
|
9
|
-
# @return [GlobalIPAssignment, nil]
|
|
9
|
+
# @return [Telnyx::Models::GlobalIPAssignment, nil]
|
|
10
10
|
optional :data, -> { Telnyx::GlobalIPAssignment }
|
|
11
11
|
|
|
12
12
|
# @!method initialize(data: nil)
|
|
13
|
-
# @param data [GlobalIPAssignment]
|
|
13
|
+
# @param data [Telnyx::Models::GlobalIPAssignment]
|
|
14
14
|
end
|
|
15
15
|
end
|
|
16
16
|
end
|
|
@@ -18,7 +18,7 @@ module Telnyx
|
|
|
18
18
|
# @param global_ip_assignment_update_request [Telnyx::Models::GlobalIPAssignmentUpdateParams::GlobalIPAssignmentUpdateRequest]
|
|
19
19
|
# @param request_options [Telnyx::RequestOptions, Hash{Symbol=>Object}]
|
|
20
20
|
|
|
21
|
-
class GlobalIPAssignmentUpdateRequest < Telnyx::
|
|
21
|
+
class GlobalIPAssignmentUpdateRequest < Telnyx::Models::GlobalIPAssignment
|
|
22
22
|
# @!method initialize
|
|
23
23
|
end
|
|
24
24
|
end
|
|
@@ -6,11 +6,11 @@ module Telnyx
|
|
|
6
6
|
class GlobalIPAssignmentUpdateResponse < Telnyx::Internal::Type::BaseModel
|
|
7
7
|
# @!attribute data
|
|
8
8
|
#
|
|
9
|
-
# @return [GlobalIPAssignment, nil]
|
|
9
|
+
# @return [Telnyx::Models::GlobalIPAssignment, nil]
|
|
10
10
|
optional :data, -> { Telnyx::GlobalIPAssignment }
|
|
11
11
|
|
|
12
12
|
# @!method initialize(data: nil)
|
|
13
|
-
# @param data [GlobalIPAssignment]
|
|
13
|
+
# @param data [Telnyx::Models::GlobalIPAssignment]
|
|
14
14
|
end
|
|
15
15
|
end
|
|
16
16
|
end
|
|
@@ -13,7 +13,7 @@ module Telnyx
|
|
|
13
13
|
# @param data [Telnyx::Models::GlobalIPCreateResponse::Data]
|
|
14
14
|
|
|
15
15
|
# @see Telnyx::Models::GlobalIPCreateResponse#data
|
|
16
|
-
class Data < Telnyx::
|
|
16
|
+
class Data < Telnyx::Models::Record
|
|
17
17
|
# @!attribute description
|
|
18
18
|
# A user specified description for the address.
|
|
19
19
|
#
|
|
@@ -33,30 +33,6 @@ module Telnyx
|
|
|
33
33
|
optional :ports, Telnyx::Internal::Type::HashOf[Telnyx::Internal::Type::Unknown]
|
|
34
34
|
|
|
35
35
|
response_only do
|
|
36
|
-
# @!attribute id
|
|
37
|
-
# Identifies the resource.
|
|
38
|
-
#
|
|
39
|
-
# @return [String, nil]
|
|
40
|
-
optional :id, String
|
|
41
|
-
|
|
42
|
-
# @!attribute created_at
|
|
43
|
-
# ISO 8601 formatted date-time indicating when the resource was created.
|
|
44
|
-
#
|
|
45
|
-
# @return [String, nil]
|
|
46
|
-
optional :created_at, String
|
|
47
|
-
|
|
48
|
-
# @!attribute record_type
|
|
49
|
-
# Identifies the type of the resource.
|
|
50
|
-
#
|
|
51
|
-
# @return [String, nil]
|
|
52
|
-
optional :record_type, String
|
|
53
|
-
|
|
54
|
-
# @!attribute updated_at
|
|
55
|
-
# ISO 8601 formatted date-time indicating when the resource was updated.
|
|
56
|
-
#
|
|
57
|
-
# @return [String, nil]
|
|
58
|
-
optional :updated_at, String
|
|
59
|
-
|
|
60
36
|
# @!attribute ip_address
|
|
61
37
|
# The Global IP address.
|
|
62
38
|
#
|
|
@@ -64,15 +40,7 @@ module Telnyx
|
|
|
64
40
|
optional :ip_address, String
|
|
65
41
|
end
|
|
66
42
|
|
|
67
|
-
# @!method initialize(
|
|
68
|
-
# @param id [String] Identifies the resource.
|
|
69
|
-
#
|
|
70
|
-
# @param created_at [String] ISO 8601 formatted date-time indicating when the resource was created.
|
|
71
|
-
#
|
|
72
|
-
# @param record_type [String] Identifies the type of the resource.
|
|
73
|
-
#
|
|
74
|
-
# @param updated_at [String] ISO 8601 formatted date-time indicating when the resource was updated.
|
|
75
|
-
#
|
|
43
|
+
# @!method initialize(description: nil, ip_address: nil, name: nil, ports: nil)
|
|
76
44
|
# @param description [String] A user specified description for the address.
|
|
77
45
|
#
|
|
78
46
|
# @param ip_address [String] The Global IP address.
|
|
@@ -13,7 +13,7 @@ module Telnyx
|
|
|
13
13
|
# @param data [Telnyx::Models::GlobalIPDeleteResponse::Data]
|
|
14
14
|
|
|
15
15
|
# @see Telnyx::Models::GlobalIPDeleteResponse#data
|
|
16
|
-
class Data < Telnyx::
|
|
16
|
+
class Data < Telnyx::Models::Record
|
|
17
17
|
# @!attribute description
|
|
18
18
|
# A user specified description for the address.
|
|
19
19
|
#
|
|
@@ -33,30 +33,6 @@ module Telnyx
|
|
|
33
33
|
optional :ports, Telnyx::Internal::Type::HashOf[Telnyx::Internal::Type::Unknown]
|
|
34
34
|
|
|
35
35
|
response_only do
|
|
36
|
-
# @!attribute id
|
|
37
|
-
# Identifies the resource.
|
|
38
|
-
#
|
|
39
|
-
# @return [String, nil]
|
|
40
|
-
optional :id, String
|
|
41
|
-
|
|
42
|
-
# @!attribute created_at
|
|
43
|
-
# ISO 8601 formatted date-time indicating when the resource was created.
|
|
44
|
-
#
|
|
45
|
-
# @return [String, nil]
|
|
46
|
-
optional :created_at, String
|
|
47
|
-
|
|
48
|
-
# @!attribute record_type
|
|
49
|
-
# Identifies the type of the resource.
|
|
50
|
-
#
|
|
51
|
-
# @return [String, nil]
|
|
52
|
-
optional :record_type, String
|
|
53
|
-
|
|
54
|
-
# @!attribute updated_at
|
|
55
|
-
# ISO 8601 formatted date-time indicating when the resource was updated.
|
|
56
|
-
#
|
|
57
|
-
# @return [String, nil]
|
|
58
|
-
optional :updated_at, String
|
|
59
|
-
|
|
60
36
|
# @!attribute ip_address
|
|
61
37
|
# The Global IP address.
|
|
62
38
|
#
|
|
@@ -64,15 +40,7 @@ module Telnyx
|
|
|
64
40
|
optional :ip_address, String
|
|
65
41
|
end
|
|
66
42
|
|
|
67
|
-
# @!method initialize(
|
|
68
|
-
# @param id [String] Identifies the resource.
|
|
69
|
-
#
|
|
70
|
-
# @param created_at [String] ISO 8601 formatted date-time indicating when the resource was created.
|
|
71
|
-
#
|
|
72
|
-
# @param record_type [String] Identifies the type of the resource.
|
|
73
|
-
#
|
|
74
|
-
# @param updated_at [String] ISO 8601 formatted date-time indicating when the resource was updated.
|
|
75
|
-
#
|
|
43
|
+
# @!method initialize(description: nil, ip_address: nil, name: nil, ports: nil)
|
|
76
44
|
# @param description [String] A user specified description for the address.
|
|
77
45
|
#
|
|
78
46
|
# @param ip_address [String] The Global IP address.
|
|
@@ -13,7 +13,7 @@ module Telnyx
|
|
|
13
13
|
# @param data [Telnyx::Models::GlobalIPHealthCheckCreateResponse::Data]
|
|
14
14
|
|
|
15
15
|
# @see Telnyx::Models::GlobalIPHealthCheckCreateResponse#data
|
|
16
|
-
class Data < Telnyx::
|
|
16
|
+
class Data < Telnyx::Models::Record
|
|
17
17
|
# @!attribute global_ip_id
|
|
18
18
|
# Global IP ID.
|
|
19
19
|
#
|
|
@@ -32,41 +32,7 @@ module Telnyx
|
|
|
32
32
|
# @return [String, nil]
|
|
33
33
|
optional :health_check_type, String
|
|
34
34
|
|
|
35
|
-
|
|
36
|
-
# @!attribute id
|
|
37
|
-
# Identifies the resource.
|
|
38
|
-
#
|
|
39
|
-
# @return [String, nil]
|
|
40
|
-
optional :id, String
|
|
41
|
-
|
|
42
|
-
# @!attribute created_at
|
|
43
|
-
# ISO 8601 formatted date-time indicating when the resource was created.
|
|
44
|
-
#
|
|
45
|
-
# @return [String, nil]
|
|
46
|
-
optional :created_at, String
|
|
47
|
-
|
|
48
|
-
# @!attribute record_type
|
|
49
|
-
# Identifies the type of the resource.
|
|
50
|
-
#
|
|
51
|
-
# @return [String, nil]
|
|
52
|
-
optional :record_type, String
|
|
53
|
-
|
|
54
|
-
# @!attribute updated_at
|
|
55
|
-
# ISO 8601 formatted date-time indicating when the resource was updated.
|
|
56
|
-
#
|
|
57
|
-
# @return [String, nil]
|
|
58
|
-
optional :updated_at, String
|
|
59
|
-
end
|
|
60
|
-
|
|
61
|
-
# @!method initialize(id: nil, created_at: nil, record_type: nil, updated_at: nil, global_ip_id: nil, health_check_params: nil, health_check_type: nil)
|
|
62
|
-
# @param id [String] Identifies the resource.
|
|
63
|
-
#
|
|
64
|
-
# @param created_at [String] ISO 8601 formatted date-time indicating when the resource was created.
|
|
65
|
-
#
|
|
66
|
-
# @param record_type [String] Identifies the type of the resource.
|
|
67
|
-
#
|
|
68
|
-
# @param updated_at [String] ISO 8601 formatted date-time indicating when the resource was updated.
|
|
69
|
-
#
|
|
35
|
+
# @!method initialize(global_ip_id: nil, health_check_params: nil, health_check_type: nil)
|
|
70
36
|
# @param global_ip_id [String] Global IP ID.
|
|
71
37
|
#
|
|
72
38
|
# @param health_check_params [Hash{Symbol=>Object}] A Global IP health check params.
|
|
@@ -13,7 +13,7 @@ module Telnyx
|
|
|
13
13
|
# @param data [Telnyx::Models::GlobalIPHealthCheckDeleteResponse::Data]
|
|
14
14
|
|
|
15
15
|
# @see Telnyx::Models::GlobalIPHealthCheckDeleteResponse#data
|
|
16
|
-
class Data < Telnyx::
|
|
16
|
+
class Data < Telnyx::Models::Record
|
|
17
17
|
# @!attribute global_ip_id
|
|
18
18
|
# Global IP ID.
|
|
19
19
|
#
|
|
@@ -32,41 +32,7 @@ module Telnyx
|
|
|
32
32
|
# @return [String, nil]
|
|
33
33
|
optional :health_check_type, String
|
|
34
34
|
|
|
35
|
-
|
|
36
|
-
# @!attribute id
|
|
37
|
-
# Identifies the resource.
|
|
38
|
-
#
|
|
39
|
-
# @return [String, nil]
|
|
40
|
-
optional :id, String
|
|
41
|
-
|
|
42
|
-
# @!attribute created_at
|
|
43
|
-
# ISO 8601 formatted date-time indicating when the resource was created.
|
|
44
|
-
#
|
|
45
|
-
# @return [String, nil]
|
|
46
|
-
optional :created_at, String
|
|
47
|
-
|
|
48
|
-
# @!attribute record_type
|
|
49
|
-
# Identifies the type of the resource.
|
|
50
|
-
#
|
|
51
|
-
# @return [String, nil]
|
|
52
|
-
optional :record_type, String
|
|
53
|
-
|
|
54
|
-
# @!attribute updated_at
|
|
55
|
-
# ISO 8601 formatted date-time indicating when the resource was updated.
|
|
56
|
-
#
|
|
57
|
-
# @return [String, nil]
|
|
58
|
-
optional :updated_at, String
|
|
59
|
-
end
|
|
60
|
-
|
|
61
|
-
# @!method initialize(id: nil, created_at: nil, record_type: nil, updated_at: nil, global_ip_id: nil, health_check_params: nil, health_check_type: nil)
|
|
62
|
-
# @param id [String] Identifies the resource.
|
|
63
|
-
#
|
|
64
|
-
# @param created_at [String] ISO 8601 formatted date-time indicating when the resource was created.
|
|
65
|
-
#
|
|
66
|
-
# @param record_type [String] Identifies the type of the resource.
|
|
67
|
-
#
|
|
68
|
-
# @param updated_at [String] ISO 8601 formatted date-time indicating when the resource was updated.
|
|
69
|
-
#
|
|
35
|
+
# @!method initialize(global_ip_id: nil, health_check_params: nil, health_check_type: nil)
|
|
70
36
|
# @param global_ip_id [String] Global IP ID.
|
|
71
37
|
#
|
|
72
38
|
# @param health_check_params [Hash{Symbol=>Object}] A Global IP health check params.
|