telnyx 5.69.0 → 5.71.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 +50 -0
- data/README.md +1 -1
- data/lib/telnyx/internal/util.rb +3 -1
- data/lib/telnyx/models/ai/assistant.rb +6 -149
- data/lib/telnyx/models/ai/assistant_create_params.rb +3 -42
- data/lib/telnyx/models/ai/assistant_update_params.rb +3 -42
- data/lib/telnyx/models/ai/assistants/update_assistant.rb +3 -43
- data/lib/telnyx/models/ai/conversation_add_message_params.rb +4 -4
- data/lib/telnyx/models/ai/inference_embedding.rb +3 -43
- data/lib/telnyx/models/ai/observability.rb +46 -0
- data/lib/telnyx/models/ai/observability_req.rb +46 -0
- data/lib/telnyx/models/book_appointment_tool.rb +31 -0
- data/lib/telnyx/models/book_appointment_tool_params.rb +51 -0
- data/lib/telnyx/models/call_assistant_request.rb +176 -0
- data/lib/telnyx/models/call_control_bucket_ids.rb +23 -0
- data/lib/telnyx/models/call_control_retrieval_tool.rb +31 -0
- data/lib/telnyx/models/call_dial_params.rb +34 -1
- data/lib/telnyx/models/calls/action_answer_params.rb +11 -1
- data/lib/telnyx/models/calls/action_start_ai_assistant_params.rb +6 -39
- data/lib/telnyx/models/calls/action_transfer_params.rb +24 -1
- data/lib/telnyx/models/check_availability_tool.rb +31 -0
- data/lib/telnyx/models/check_availability_tool_params.rb +31 -0
- data/lib/telnyx/models/enterprise_create_params.rb +1 -1
- data/lib/telnyx/models/enterprise_public.rb +1 -1
- data/lib/telnyx/models/enterprise_update_params.rb +1 -1
- data/lib/telnyx/models/enterprises/reputation/{number_create_params.rb → number_associate_params.rb} +2 -2
- data/lib/telnyx/models/enterprises/reputation/{number_create_response.rb → number_associate_response.rb} +5 -5
- data/lib/telnyx/models/enterprises/reputation/{number_delete_params.rb → number_disassociate_params.rb} +2 -2
- data/lib/telnyx/models/enterprises/{reputation_list_params.rb → reputation_disable_params.rb} +2 -2
- data/lib/telnyx/models/enterprises/{reputation_create_params.rb → reputation_enable_params.rb} +6 -6
- data/lib/telnyx/models/enterprises/{reputation_create_response.rb → reputation_enable_response.rb} +2 -2
- data/lib/telnyx/models/enterprises/{reputation_delete_all_params.rb → reputation_retrieve_params.rb} +2 -2
- data/lib/telnyx/models/enterprises/{reputation_list_response.rb → reputation_retrieve_response.rb} +2 -2
- data/lib/telnyx/models/porting_orders/phone_number_block_list_params.rb +9 -9
- data/lib/telnyx/models/pronunciation_dict_alias_item.rb +51 -0
- data/lib/telnyx/models/pronunciation_dict_create_params.rb +5 -93
- data/lib/telnyx/models/pronunciation_dict_create_response.rb +3 -191
- data/lib/telnyx/models/pronunciation_dict_data.rb +101 -0
- data/lib/telnyx/models/pronunciation_dict_phoneme_item.rb +71 -0
- data/lib/telnyx/models/pronunciation_dict_retrieve_response.rb +3 -191
- data/lib/telnyx/models/pronunciation_dict_update_params.rb +5 -93
- data/lib/telnyx/models/pronunciation_dict_update_response.rb +3 -191
- data/lib/telnyx/models/texml/accounts/call_calls_params.rb +203 -191
- data/lib/telnyx/models/voice_clone_create_from_design_params.rb +3 -3
- data/lib/telnyx/models/voice_clone_create_from_upload_params.rb +371 -71
- data/lib/telnyx/models/voice_clone_create_params.rb +161 -51
- data/lib/telnyx/models/voice_clone_data.rb +51 -4
- data/lib/telnyx/models/whatsapp/phone_numbers/profile/photo_retrieve_params.rb +26 -0
- data/lib/telnyx/models/whatsapp/phone_numbers/profile/photo_retrieve_response.rb +54 -0
- data/lib/telnyx/models.rb +20 -0
- data/lib/telnyx/resources/ai/assistants/versions.rb +1 -1
- data/lib/telnyx/resources/ai/assistants.rb +2 -2
- data/lib/telnyx/resources/calls/actions.rb +7 -3
- data/lib/telnyx/resources/calls.rb +5 -1
- data/lib/telnyx/resources/enterprises/reputation/numbers.rb +42 -42
- data/lib/telnyx/resources/enterprises/reputation.rb +61 -61
- data/lib/telnyx/resources/pronunciation_dicts.rb +4 -4
- data/lib/telnyx/resources/texml/accounts/calls.rb +3 -3
- data/lib/telnyx/resources/voice_clones.rb +7 -27
- data/lib/telnyx/resources/whatsapp/phone_numbers/profile/photo.rb +20 -0
- data/lib/telnyx/version.rb +1 -1
- data/lib/telnyx.rb +22 -9
- data/rbi/telnyx/models/ai/assistant.rbi +15 -329
- data/rbi/telnyx/models/ai/assistant_create_params.rbi +4 -121
- data/rbi/telnyx/models/ai/assistant_update_params.rbi +4 -121
- data/rbi/telnyx/models/ai/assistants/update_assistant.rbi +4 -123
- data/rbi/telnyx/models/ai/conversation_add_message_params.rbi +5 -5
- data/rbi/telnyx/models/ai/inference_embedding.rbi +4 -123
- data/rbi/telnyx/models/ai/observability.rbi +90 -0
- data/rbi/telnyx/models/ai/observability_req.rbi +92 -0
- data/rbi/telnyx/models/book_appointment_tool.rbi +65 -0
- data/rbi/telnyx/models/book_appointment_tool_params.rbi +83 -0
- data/rbi/telnyx/models/call_assistant_request.rbi +322 -0
- data/rbi/telnyx/models/call_control_bucket_ids.rbi +42 -0
- data/rbi/telnyx/models/call_control_retrieval_tool.rbi +63 -0
- data/rbi/telnyx/models/call_dial_params.rbi +52 -0
- data/rbi/telnyx/models/calls/action_answer_params.rbi +15 -0
- data/rbi/telnyx/models/calls/action_start_ai_assistant_params.rbi +10 -77
- data/rbi/telnyx/models/calls/action_transfer_params.rbi +57 -0
- data/rbi/telnyx/models/check_availability_tool.rbi +67 -0
- data/rbi/telnyx/models/check_availability_tool_params.rbi +45 -0
- data/rbi/telnyx/models/enterprise_create_params.rbi +1 -1
- data/rbi/telnyx/models/enterprise_public.rbi +1 -1
- data/rbi/telnyx/models/enterprise_update_params.rbi +1 -1
- data/rbi/telnyx/models/enterprises/reputation/{number_create_params.rbi → number_associate_params.rbi} +2 -2
- data/rbi/telnyx/models/enterprises/reputation/{number_create_response.rbi → number_associate_response.rbi} +7 -7
- data/rbi/telnyx/models/enterprises/reputation/{number_delete_params.rbi → number_disassociate_params.rbi} +2 -2
- data/rbi/telnyx/models/enterprises/{reputation_list_params.rbi → reputation_disable_params.rbi} +2 -2
- data/rbi/telnyx/models/enterprises/{reputation_create_params.rbi → reputation_enable_params.rbi} +14 -14
- data/rbi/telnyx/models/enterprises/{reputation_create_response.rbi → reputation_enable_response.rbi} +2 -2
- data/rbi/telnyx/models/enterprises/{reputation_delete_all_params.rbi → reputation_retrieve_params.rbi} +2 -2
- data/rbi/telnyx/models/enterprises/{reputation_list_response.rbi → reputation_retrieve_response.rbi} +2 -2
- data/rbi/telnyx/models/porting_orders/phone_number_block_list_params.rbi +34 -34
- data/rbi/telnyx/models/pronunciation_dict_alias_item.rbi +79 -0
- data/rbi/telnyx/models/pronunciation_dict_create_params.rbi +8 -154
- data/rbi/telnyx/models/pronunciation_dict_create_response.rbi +6 -366
- data/rbi/telnyx/models/pronunciation_dict_data.rbi +186 -0
- data/rbi/telnyx/models/pronunciation_dict_phoneme_item.rbi +117 -0
- data/rbi/telnyx/models/pronunciation_dict_retrieve_response.rbi +6 -366
- data/rbi/telnyx/models/pronunciation_dict_update_params.rbi +10 -156
- data/rbi/telnyx/models/pronunciation_dict_update_response.rbi +6 -366
- data/rbi/telnyx/models/texml/accounts/call_calls_params.rbi +391 -403
- data/rbi/telnyx/models/voice_clone_create_from_design_params.rbi +10 -10
- data/rbi/telnyx/models/voice_clone_create_from_upload_params.rbi +711 -134
- data/rbi/telnyx/models/voice_clone_create_params.rbi +345 -79
- data/rbi/telnyx/models/voice_clone_data.rbi +77 -4
- data/rbi/telnyx/models/whatsapp/phone_numbers/profile/photo_retrieve_params.rbi +47 -0
- data/rbi/telnyx/models/whatsapp/phone_numbers/profile/photo_retrieve_response.rbi +118 -0
- data/rbi/telnyx/models.rbi +20 -0
- data/rbi/telnyx/resources/ai/assistants/versions.rbi +1 -2
- data/rbi/telnyx/resources/ai/assistants.rbi +2 -4
- data/rbi/telnyx/resources/calls/actions.rbi +14 -3
- data/rbi/telnyx/resources/calls.rbi +10 -0
- data/rbi/telnyx/resources/enterprises/reputation/numbers.rbi +34 -34
- data/rbi/telnyx/resources/enterprises/reputation.rbi +44 -44
- data/rbi/telnyx/resources/pronunciation_dicts.rbi +5 -7
- data/rbi/telnyx/resources/texml/accounts/calls.rbi +5 -5
- data/rbi/telnyx/resources/voice_clones.rbi +17 -41
- data/rbi/telnyx/resources/whatsapp/phone_numbers/profile/photo.rbi +16 -0
- data/sig/telnyx/models/ai/assistant.rbs +3 -142
- data/sig/telnyx/models/ai/assistant_create_params.rbs +6 -59
- data/sig/telnyx/models/ai/assistant_update_params.rbs +6 -59
- data/sig/telnyx/models/ai/assistants/update_assistant.rbs +6 -59
- data/sig/telnyx/models/ai/conversation_add_message_params.rbs +5 -5
- data/sig/telnyx/models/ai/inference_embedding.rbs +6 -59
- data/sig/telnyx/models/ai/observability.rbs +58 -0
- data/sig/telnyx/models/ai/observability_req.rbs +58 -0
- data/sig/telnyx/models/book_appointment_tool.rbs +35 -0
- data/sig/telnyx/models/book_appointment_tool_params.rbs +39 -0
- data/sig/telnyx/models/call_assistant_request.rbs +132 -0
- data/sig/telnyx/models/call_control_bucket_ids.rbs +21 -0
- data/sig/telnyx/models/call_control_retrieval_tool.rbs +35 -0
- data/sig/telnyx/models/call_dial_params.rbs +29 -0
- data/sig/telnyx/models/calls/action_answer_params.rbs +9 -0
- data/sig/telnyx/models/calls/action_start_ai_assistant_params.rbs +6 -35
- data/sig/telnyx/models/calls/action_transfer_params.rbs +20 -0
- data/sig/telnyx/models/check_availability_tool.rbs +35 -0
- data/sig/telnyx/models/check_availability_tool_params.rbs +16 -0
- data/sig/telnyx/models/enterprise_create_params.rbs +1 -1
- data/sig/telnyx/models/enterprise_public.rbs +1 -1
- data/sig/telnyx/models/enterprise_update_params.rbs +1 -1
- data/sig/telnyx/models/enterprises/reputation/{number_create_params.rbs → number_associate_params.rbs} +2 -2
- data/sig/telnyx/models/enterprises/reputation/{number_create_response.rbs → number_associate_response.rbs} +8 -8
- data/sig/telnyx/models/enterprises/reputation/{number_delete_params.rbs → number_disassociate_params.rbs} +2 -2
- data/sig/telnyx/models/enterprises/{reputation_list_params.rbs → reputation_disable_params.rbs} +2 -2
- data/sig/telnyx/models/enterprises/{reputation_create_params.rbs → reputation_enable_params.rbs} +9 -9
- data/sig/telnyx/models/enterprises/{reputation_create_response.rbs → reputation_enable_response.rbs} +2 -2
- data/sig/telnyx/models/enterprises/{reputation_delete_all_params.rbs → reputation_retrieve_params.rbs} +2 -2
- data/sig/telnyx/models/enterprises/{reputation_list_response.rbs → reputation_retrieve_response.rbs} +2 -2
- data/sig/telnyx/models/porting_orders/phone_number_block_list_params.rbs +9 -9
- data/sig/telnyx/models/pronunciation_dict_alias_item.rbs +40 -0
- data/sig/telnyx/models/pronunciation_dict_create_params.rbs +2 -58
- data/sig/telnyx/models/pronunciation_dict_create_response.rbs +6 -155
- data/sig/telnyx/models/pronunciation_dict_data.rbs +88 -0
- data/sig/telnyx/models/pronunciation_dict_phoneme_item.rbs +55 -0
- data/sig/telnyx/models/pronunciation_dict_retrieve_response.rbs +6 -155
- data/sig/telnyx/models/pronunciation_dict_update_params.rbs +2 -58
- data/sig/telnyx/models/pronunciation_dict_update_response.rbs +6 -155
- data/sig/telnyx/models/texml/accounts/call_calls_params.rbs +317 -325
- data/sig/telnyx/models/voice_clone_create_from_design_params.rbs +7 -7
- data/sig/telnyx/models/voice_clone_create_from_upload_params.rbs +269 -56
- data/sig/telnyx/models/voice_clone_create_params.rbs +129 -44
- data/sig/telnyx/models/voice_clone_data.rbs +43 -0
- data/sig/telnyx/models/whatsapp/phone_numbers/profile/photo_retrieve_params.rbs +30 -0
- data/sig/telnyx/models/whatsapp/phone_numbers/profile/photo_retrieve_response.rbs +63 -0
- data/sig/telnyx/models.rbs +20 -0
- data/sig/telnyx/resources/ai/assistants/versions.rbs +1 -1
- data/sig/telnyx/resources/ai/assistants.rbs +2 -2
- data/sig/telnyx/resources/calls/actions.rbs +3 -1
- data/sig/telnyx/resources/calls.rbs +2 -0
- data/sig/telnyx/resources/enterprises/reputation/numbers.rbs +7 -7
- data/sig/telnyx/resources/enterprises/reputation.rbs +8 -8
- data/sig/telnyx/resources/pronunciation_dicts.rbs +1 -1
- data/sig/telnyx/resources/texml/accounts/calls.rbs +1 -1
- data/sig/telnyx/resources/voice_clones.rbs +2 -12
- data/sig/telnyx/resources/whatsapp/phone_numbers/profile/photo.rbs +5 -0
- metadata +68 -29
- data/lib/telnyx/models/pronunciation_dict_list_response.rb +0 -190
- data/rbi/telnyx/models/pronunciation_dict_list_response.rbi +0 -353
- data/sig/telnyx/models/pronunciation_dict_list_response.rbs +0 -144
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
module Telnyx
|
|
2
|
+
module Models
|
|
3
|
+
module AI
|
|
4
|
+
type observability_req =
|
|
5
|
+
{
|
|
6
|
+
host: String,
|
|
7
|
+
public_key_ref: String,
|
|
8
|
+
secret_key_ref: String,
|
|
9
|
+
status: Telnyx::Models::AI::ObservabilityReq::status
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
class ObservabilityReq < Telnyx::Internal::Type::BaseModel
|
|
13
|
+
attr_reader host: String?
|
|
14
|
+
|
|
15
|
+
def host=: (String) -> String
|
|
16
|
+
|
|
17
|
+
attr_reader public_key_ref: String?
|
|
18
|
+
|
|
19
|
+
def public_key_ref=: (String) -> String
|
|
20
|
+
|
|
21
|
+
attr_reader secret_key_ref: String?
|
|
22
|
+
|
|
23
|
+
def secret_key_ref=: (String) -> String
|
|
24
|
+
|
|
25
|
+
attr_reader status: Telnyx::Models::AI::ObservabilityReq::status?
|
|
26
|
+
|
|
27
|
+
def status=: (
|
|
28
|
+
Telnyx::Models::AI::ObservabilityReq::status
|
|
29
|
+
) -> Telnyx::Models::AI::ObservabilityReq::status
|
|
30
|
+
|
|
31
|
+
def initialize: (
|
|
32
|
+
?host: String,
|
|
33
|
+
?public_key_ref: String,
|
|
34
|
+
?secret_key_ref: String,
|
|
35
|
+
?status: Telnyx::Models::AI::ObservabilityReq::status
|
|
36
|
+
) -> void
|
|
37
|
+
|
|
38
|
+
def to_hash: -> {
|
|
39
|
+
host: String,
|
|
40
|
+
public_key_ref: String,
|
|
41
|
+
secret_key_ref: String,
|
|
42
|
+
status: Telnyx::Models::AI::ObservabilityReq::status
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
type status = :enabled | :disabled
|
|
46
|
+
|
|
47
|
+
module Status
|
|
48
|
+
extend Telnyx::Internal::Type::Enum
|
|
49
|
+
|
|
50
|
+
ENABLED: :enabled
|
|
51
|
+
DISABLED: :disabled
|
|
52
|
+
|
|
53
|
+
def self?.values: -> ::Array[Telnyx::Models::AI::ObservabilityReq::status]
|
|
54
|
+
end
|
|
55
|
+
end
|
|
56
|
+
end
|
|
57
|
+
end
|
|
58
|
+
end
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
module Telnyx
|
|
2
|
+
module Models
|
|
3
|
+
type book_appointment_tool =
|
|
4
|
+
{
|
|
5
|
+
book_appointment: Telnyx::BookAppointmentToolParams,
|
|
6
|
+
type: Telnyx::Models::BookAppointmentTool::type_
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
class BookAppointmentTool < Telnyx::Internal::Type::BaseModel
|
|
10
|
+
attr_accessor book_appointment: Telnyx::BookAppointmentToolParams
|
|
11
|
+
|
|
12
|
+
attr_accessor type: Telnyx::Models::BookAppointmentTool::type_
|
|
13
|
+
|
|
14
|
+
def initialize: (
|
|
15
|
+
book_appointment: Telnyx::BookAppointmentToolParams,
|
|
16
|
+
type: Telnyx::Models::BookAppointmentTool::type_
|
|
17
|
+
) -> void
|
|
18
|
+
|
|
19
|
+
def to_hash: -> {
|
|
20
|
+
book_appointment: Telnyx::BookAppointmentToolParams,
|
|
21
|
+
type: Telnyx::Models::BookAppointmentTool::type_
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
type type_ = :book_appointment
|
|
25
|
+
|
|
26
|
+
module Type
|
|
27
|
+
extend Telnyx::Internal::Type::Enum
|
|
28
|
+
|
|
29
|
+
BOOK_APPOINTMENT: :book_appointment
|
|
30
|
+
|
|
31
|
+
def self?.values: -> ::Array[Telnyx::Models::BookAppointmentTool::type_]
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
end
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
module Telnyx
|
|
2
|
+
module Models
|
|
3
|
+
type book_appointment_tool_params =
|
|
4
|
+
{
|
|
5
|
+
api_key_ref: String,
|
|
6
|
+
event_type_id: Integer,
|
|
7
|
+
attendee_name: String,
|
|
8
|
+
attendee_timezone: String
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
class BookAppointmentToolParams < Telnyx::Internal::Type::BaseModel
|
|
12
|
+
attr_accessor api_key_ref: String
|
|
13
|
+
|
|
14
|
+
attr_accessor event_type_id: Integer
|
|
15
|
+
|
|
16
|
+
attr_reader attendee_name: String?
|
|
17
|
+
|
|
18
|
+
def attendee_name=: (String) -> String
|
|
19
|
+
|
|
20
|
+
attr_reader attendee_timezone: String?
|
|
21
|
+
|
|
22
|
+
def attendee_timezone=: (String) -> String
|
|
23
|
+
|
|
24
|
+
def initialize: (
|
|
25
|
+
api_key_ref: String,
|
|
26
|
+
event_type_id: Integer,
|
|
27
|
+
?attendee_name: String,
|
|
28
|
+
?attendee_timezone: String
|
|
29
|
+
) -> void
|
|
30
|
+
|
|
31
|
+
def to_hash: -> {
|
|
32
|
+
api_key_ref: String,
|
|
33
|
+
event_type_id: Integer,
|
|
34
|
+
attendee_name: String,
|
|
35
|
+
attendee_timezone: String
|
|
36
|
+
}
|
|
37
|
+
end
|
|
38
|
+
end
|
|
39
|
+
end
|
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
module Telnyx
|
|
2
|
+
module Models
|
|
3
|
+
type call_assistant_request =
|
|
4
|
+
{
|
|
5
|
+
id: String,
|
|
6
|
+
dynamic_variables: ::Hash[Symbol, Telnyx::Models::CallAssistantRequest::dynamic_variable],
|
|
7
|
+
external_llm: ::Hash[Symbol, top],
|
|
8
|
+
fallback_config: ::Hash[Symbol, top],
|
|
9
|
+
greeting: String,
|
|
10
|
+
instructions: String,
|
|
11
|
+
llm_api_key_ref: String,
|
|
12
|
+
mcp_servers: ::Array[::Hash[Symbol, top]],
|
|
13
|
+
model: String,
|
|
14
|
+
name: String,
|
|
15
|
+
observability_settings: ::Hash[Symbol, top],
|
|
16
|
+
openai_api_key_ref: String,
|
|
17
|
+
tools: ::Array[Telnyx::Models::CallAssistantRequest::tool]
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
class CallAssistantRequest < Telnyx::Internal::Type::BaseModel
|
|
21
|
+
attr_accessor id: String
|
|
22
|
+
|
|
23
|
+
attr_reader dynamic_variables: ::Hash[Symbol, Telnyx::Models::CallAssistantRequest::dynamic_variable]?
|
|
24
|
+
|
|
25
|
+
def dynamic_variables=: (
|
|
26
|
+
::Hash[Symbol, Telnyx::Models::CallAssistantRequest::dynamic_variable]
|
|
27
|
+
) -> ::Hash[Symbol, Telnyx::Models::CallAssistantRequest::dynamic_variable]
|
|
28
|
+
|
|
29
|
+
attr_reader external_llm: ::Hash[Symbol, top]?
|
|
30
|
+
|
|
31
|
+
def external_llm=: (::Hash[Symbol, top]) -> ::Hash[Symbol, top]
|
|
32
|
+
|
|
33
|
+
attr_reader fallback_config: ::Hash[Symbol, top]?
|
|
34
|
+
|
|
35
|
+
def fallback_config=: (::Hash[Symbol, top]) -> ::Hash[Symbol, top]
|
|
36
|
+
|
|
37
|
+
attr_reader greeting: String?
|
|
38
|
+
|
|
39
|
+
def greeting=: (String) -> String
|
|
40
|
+
|
|
41
|
+
attr_reader instructions: String?
|
|
42
|
+
|
|
43
|
+
def instructions=: (String) -> String
|
|
44
|
+
|
|
45
|
+
attr_reader llm_api_key_ref: String?
|
|
46
|
+
|
|
47
|
+
def llm_api_key_ref=: (String) -> String
|
|
48
|
+
|
|
49
|
+
attr_reader mcp_servers: ::Array[::Hash[Symbol, top]]?
|
|
50
|
+
|
|
51
|
+
def mcp_servers=: (
|
|
52
|
+
::Array[::Hash[Symbol, top]]
|
|
53
|
+
) -> ::Array[::Hash[Symbol, top]]
|
|
54
|
+
|
|
55
|
+
attr_reader model: String?
|
|
56
|
+
|
|
57
|
+
def model=: (String) -> String
|
|
58
|
+
|
|
59
|
+
attr_reader name: String?
|
|
60
|
+
|
|
61
|
+
def name=: (String) -> String
|
|
62
|
+
|
|
63
|
+
attr_reader observability_settings: ::Hash[Symbol, top]?
|
|
64
|
+
|
|
65
|
+
def observability_settings=: (::Hash[Symbol, top]) -> ::Hash[Symbol, top]
|
|
66
|
+
|
|
67
|
+
attr_reader openai_api_key_ref: String?
|
|
68
|
+
|
|
69
|
+
def openai_api_key_ref=: (String) -> String
|
|
70
|
+
|
|
71
|
+
attr_reader tools: ::Array[Telnyx::Models::CallAssistantRequest::tool]?
|
|
72
|
+
|
|
73
|
+
def tools=: (
|
|
74
|
+
::Array[Telnyx::Models::CallAssistantRequest::tool]
|
|
75
|
+
) -> ::Array[Telnyx::Models::CallAssistantRequest::tool]
|
|
76
|
+
|
|
77
|
+
def initialize: (
|
|
78
|
+
id: String,
|
|
79
|
+
?dynamic_variables: ::Hash[Symbol, Telnyx::Models::CallAssistantRequest::dynamic_variable],
|
|
80
|
+
?external_llm: ::Hash[Symbol, top],
|
|
81
|
+
?fallback_config: ::Hash[Symbol, top],
|
|
82
|
+
?greeting: String,
|
|
83
|
+
?instructions: String,
|
|
84
|
+
?llm_api_key_ref: String,
|
|
85
|
+
?mcp_servers: ::Array[::Hash[Symbol, top]],
|
|
86
|
+
?model: String,
|
|
87
|
+
?name: String,
|
|
88
|
+
?observability_settings: ::Hash[Symbol, top],
|
|
89
|
+
?openai_api_key_ref: String,
|
|
90
|
+
?tools: ::Array[Telnyx::Models::CallAssistantRequest::tool]
|
|
91
|
+
) -> void
|
|
92
|
+
|
|
93
|
+
def to_hash: -> {
|
|
94
|
+
id: String,
|
|
95
|
+
dynamic_variables: ::Hash[Symbol, Telnyx::Models::CallAssistantRequest::dynamic_variable],
|
|
96
|
+
external_llm: ::Hash[Symbol, top],
|
|
97
|
+
fallback_config: ::Hash[Symbol, top],
|
|
98
|
+
greeting: String,
|
|
99
|
+
instructions: String,
|
|
100
|
+
llm_api_key_ref: String,
|
|
101
|
+
mcp_servers: ::Array[::Hash[Symbol, top]],
|
|
102
|
+
model: String,
|
|
103
|
+
name: String,
|
|
104
|
+
observability_settings: ::Hash[Symbol, top],
|
|
105
|
+
openai_api_key_ref: String,
|
|
106
|
+
tools: ::Array[Telnyx::Models::CallAssistantRequest::tool]
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
type dynamic_variable = String | Float | bool
|
|
110
|
+
|
|
111
|
+
module DynamicVariable
|
|
112
|
+
extend Telnyx::Internal::Type::Union
|
|
113
|
+
|
|
114
|
+
def self?.variants: -> ::Array[Telnyx::Models::CallAssistantRequest::dynamic_variable]
|
|
115
|
+
end
|
|
116
|
+
|
|
117
|
+
type tool =
|
|
118
|
+
Telnyx::BookAppointmentTool
|
|
119
|
+
| Telnyx::CheckAvailabilityTool
|
|
120
|
+
| Telnyx::AI::WebhookTool
|
|
121
|
+
| Telnyx::AI::HangupTool
|
|
122
|
+
| Telnyx::AI::TransferTool
|
|
123
|
+
| Telnyx::CallControlRetrievalTool
|
|
124
|
+
|
|
125
|
+
module Tool
|
|
126
|
+
extend Telnyx::Internal::Type::Union
|
|
127
|
+
|
|
128
|
+
def self?.variants: -> ::Array[Telnyx::Models::CallAssistantRequest::tool]
|
|
129
|
+
end
|
|
130
|
+
end
|
|
131
|
+
end
|
|
132
|
+
end
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
module Telnyx
|
|
2
|
+
module Models
|
|
3
|
+
type call_control_bucket_ids =
|
|
4
|
+
{ bucket_ids: ::Array[String], max_num_results: Integer }
|
|
5
|
+
|
|
6
|
+
class CallControlBucketIDs < Telnyx::Internal::Type::BaseModel
|
|
7
|
+
attr_accessor bucket_ids: ::Array[String]
|
|
8
|
+
|
|
9
|
+
attr_reader max_num_results: Integer?
|
|
10
|
+
|
|
11
|
+
def max_num_results=: (Integer) -> Integer
|
|
12
|
+
|
|
13
|
+
def initialize: (
|
|
14
|
+
bucket_ids: ::Array[String],
|
|
15
|
+
?max_num_results: Integer
|
|
16
|
+
) -> void
|
|
17
|
+
|
|
18
|
+
def to_hash: -> { bucket_ids: ::Array[String], max_num_results: Integer }
|
|
19
|
+
end
|
|
20
|
+
end
|
|
21
|
+
end
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
module Telnyx
|
|
2
|
+
module Models
|
|
3
|
+
type call_control_retrieval_tool =
|
|
4
|
+
{
|
|
5
|
+
retrieval: Telnyx::CallControlBucketIDs,
|
|
6
|
+
type: Telnyx::Models::CallControlRetrievalTool::type_
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
class CallControlRetrievalTool < Telnyx::Internal::Type::BaseModel
|
|
10
|
+
attr_accessor retrieval: Telnyx::CallControlBucketIDs
|
|
11
|
+
|
|
12
|
+
attr_accessor type: Telnyx::Models::CallControlRetrievalTool::type_
|
|
13
|
+
|
|
14
|
+
def initialize: (
|
|
15
|
+
retrieval: Telnyx::CallControlBucketIDs,
|
|
16
|
+
type: Telnyx::Models::CallControlRetrievalTool::type_
|
|
17
|
+
) -> void
|
|
18
|
+
|
|
19
|
+
def to_hash: -> {
|
|
20
|
+
retrieval: Telnyx::CallControlBucketIDs,
|
|
21
|
+
type: Telnyx::Models::CallControlRetrievalTool::type_
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
type type_ = :retrieval
|
|
25
|
+
|
|
26
|
+
module Type
|
|
27
|
+
extend Telnyx::Internal::Type::Enum
|
|
28
|
+
|
|
29
|
+
RETRIEVAL: :retrieval
|
|
30
|
+
|
|
31
|
+
def self?.values: -> ::Array[Telnyx::Models::CallControlRetrievalTool::type_]
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
end
|
|
@@ -7,6 +7,7 @@ module Telnyx
|
|
|
7
7
|
to: Telnyx::Models::CallDialParams::to,
|
|
8
8
|
answering_machine_detection: Telnyx::Models::CallDialParams::answering_machine_detection,
|
|
9
9
|
answering_machine_detection_config: Telnyx::CallDialParams::AnsweringMachineDetectionConfig,
|
|
10
|
+
assistant: Telnyx::CallAssistantRequest,
|
|
10
11
|
audio_url: String,
|
|
11
12
|
billing_group_id: String,
|
|
12
13
|
bridge_intent: bool,
|
|
@@ -24,6 +25,7 @@ module Telnyx
|
|
|
24
25
|
park_after_unbridge: String,
|
|
25
26
|
preferred_codecs: String,
|
|
26
27
|
prevent_double_bridge: bool,
|
|
28
|
+
privacy: Telnyx::Models::CallDialParams::privacy,
|
|
27
29
|
record: Telnyx::Models::CallDialParams::record,
|
|
28
30
|
record_channels: Telnyx::Models::CallDialParams::record_channels,
|
|
29
31
|
record_custom_file_name: String,
|
|
@@ -81,6 +83,12 @@ module Telnyx
|
|
|
81
83
|
Telnyx::CallDialParams::AnsweringMachineDetectionConfig
|
|
82
84
|
) -> Telnyx::CallDialParams::AnsweringMachineDetectionConfig
|
|
83
85
|
|
|
86
|
+
attr_reader assistant: Telnyx::CallAssistantRequest?
|
|
87
|
+
|
|
88
|
+
def assistant=: (
|
|
89
|
+
Telnyx::CallAssistantRequest
|
|
90
|
+
) -> Telnyx::CallAssistantRequest
|
|
91
|
+
|
|
84
92
|
attr_reader audio_url: String?
|
|
85
93
|
|
|
86
94
|
def audio_url=: (String) -> String
|
|
@@ -157,6 +165,12 @@ module Telnyx
|
|
|
157
165
|
|
|
158
166
|
def prevent_double_bridge=: (bool) -> bool
|
|
159
167
|
|
|
168
|
+
attr_reader privacy: Telnyx::Models::CallDialParams::privacy?
|
|
169
|
+
|
|
170
|
+
def privacy=: (
|
|
171
|
+
Telnyx::Models::CallDialParams::privacy
|
|
172
|
+
) -> Telnyx::Models::CallDialParams::privacy
|
|
173
|
+
|
|
160
174
|
attr_reader record: Telnyx::Models::CallDialParams::record?
|
|
161
175
|
|
|
162
176
|
def record=: (
|
|
@@ -327,6 +341,7 @@ module Telnyx
|
|
|
327
341
|
to: Telnyx::Models::CallDialParams::to,
|
|
328
342
|
?answering_machine_detection: Telnyx::Models::CallDialParams::answering_machine_detection,
|
|
329
343
|
?answering_machine_detection_config: Telnyx::CallDialParams::AnsweringMachineDetectionConfig,
|
|
344
|
+
?assistant: Telnyx::CallAssistantRequest,
|
|
330
345
|
?audio_url: String,
|
|
331
346
|
?billing_group_id: String,
|
|
332
347
|
?bridge_intent: bool,
|
|
@@ -344,6 +359,7 @@ module Telnyx
|
|
|
344
359
|
?park_after_unbridge: String,
|
|
345
360
|
?preferred_codecs: String,
|
|
346
361
|
?prevent_double_bridge: bool,
|
|
362
|
+
?privacy: Telnyx::Models::CallDialParams::privacy,
|
|
347
363
|
?record: Telnyx::Models::CallDialParams::record,
|
|
348
364
|
?record_channels: Telnyx::Models::CallDialParams::record_channels,
|
|
349
365
|
?record_custom_file_name: String,
|
|
@@ -385,6 +401,7 @@ module Telnyx
|
|
|
385
401
|
to: Telnyx::Models::CallDialParams::to,
|
|
386
402
|
answering_machine_detection: Telnyx::Models::CallDialParams::answering_machine_detection,
|
|
387
403
|
answering_machine_detection_config: Telnyx::CallDialParams::AnsweringMachineDetectionConfig,
|
|
404
|
+
assistant: Telnyx::CallAssistantRequest,
|
|
388
405
|
audio_url: String,
|
|
389
406
|
billing_group_id: String,
|
|
390
407
|
bridge_intent: bool,
|
|
@@ -402,6 +419,7 @@ module Telnyx
|
|
|
402
419
|
park_after_unbridge: String,
|
|
403
420
|
preferred_codecs: String,
|
|
404
421
|
prevent_double_bridge: bool,
|
|
422
|
+
privacy: Telnyx::Models::CallDialParams::privacy,
|
|
405
423
|
record: Telnyx::Models::CallDialParams::record,
|
|
406
424
|
record_channels: Telnyx::Models::CallDialParams::record_channels,
|
|
407
425
|
record_custom_file_name: String,
|
|
@@ -702,6 +720,17 @@ module Telnyx
|
|
|
702
720
|
def self?.values: -> ::Array[Telnyx::Models::CallDialParams::media_encryption]
|
|
703
721
|
end
|
|
704
722
|
|
|
723
|
+
type privacy = :id | :none
|
|
724
|
+
|
|
725
|
+
module Privacy
|
|
726
|
+
extend Telnyx::Internal::Type::Enum
|
|
727
|
+
|
|
728
|
+
ID: :id
|
|
729
|
+
NONE: :none
|
|
730
|
+
|
|
731
|
+
def self?.values: -> ::Array[Telnyx::Models::CallDialParams::privacy]
|
|
732
|
+
end
|
|
733
|
+
|
|
705
734
|
type record = :"record-from-answer"
|
|
706
735
|
|
|
707
736
|
module Record
|
|
@@ -4,6 +4,7 @@ module Telnyx
|
|
|
4
4
|
type action_answer_params =
|
|
5
5
|
{
|
|
6
6
|
call_control_id: String,
|
|
7
|
+
assistant: Telnyx::CallAssistantRequest,
|
|
7
8
|
billing_group_id: String,
|
|
8
9
|
client_state: String,
|
|
9
10
|
command_id: String,
|
|
@@ -42,6 +43,12 @@ module Telnyx
|
|
|
42
43
|
|
|
43
44
|
attr_accessor call_control_id: String
|
|
44
45
|
|
|
46
|
+
attr_reader assistant: Telnyx::CallAssistantRequest?
|
|
47
|
+
|
|
48
|
+
def assistant=: (
|
|
49
|
+
Telnyx::CallAssistantRequest
|
|
50
|
+
) -> Telnyx::CallAssistantRequest
|
|
51
|
+
|
|
45
52
|
attr_reader billing_group_id: String?
|
|
46
53
|
|
|
47
54
|
def billing_group_id=: (String) -> String
|
|
@@ -196,6 +203,7 @@ module Telnyx
|
|
|
196
203
|
|
|
197
204
|
def initialize: (
|
|
198
205
|
call_control_id: String,
|
|
206
|
+
?assistant: Telnyx::CallAssistantRequest,
|
|
199
207
|
?billing_group_id: String,
|
|
200
208
|
?client_state: String,
|
|
201
209
|
?command_id: String,
|
|
@@ -230,6 +238,7 @@ module Telnyx
|
|
|
230
238
|
|
|
231
239
|
def to_hash: -> {
|
|
232
240
|
call_control_id: String,
|
|
241
|
+
assistant: Telnyx::CallAssistantRequest,
|
|
233
242
|
billing_group_id: String,
|
|
234
243
|
client_state: String,
|
|
235
244
|
command_id: String,
|
|
@@ -4,7 +4,7 @@ module Telnyx
|
|
|
4
4
|
type action_start_ai_assistant_params =
|
|
5
5
|
{
|
|
6
6
|
call_control_id: String,
|
|
7
|
-
assistant: Telnyx::
|
|
7
|
+
assistant: Telnyx::CallAssistantRequest,
|
|
8
8
|
client_state: String,
|
|
9
9
|
command_id: String,
|
|
10
10
|
greeting: String,
|
|
@@ -24,11 +24,11 @@ module Telnyx
|
|
|
24
24
|
|
|
25
25
|
attr_accessor call_control_id: String
|
|
26
26
|
|
|
27
|
-
attr_reader assistant: Telnyx::
|
|
27
|
+
attr_reader assistant: Telnyx::CallAssistantRequest?
|
|
28
28
|
|
|
29
29
|
def assistant=: (
|
|
30
|
-
Telnyx::
|
|
31
|
-
) -> Telnyx::
|
|
30
|
+
Telnyx::CallAssistantRequest
|
|
31
|
+
) -> Telnyx::CallAssistantRequest
|
|
32
32
|
|
|
33
33
|
attr_reader client_state: String?
|
|
34
34
|
|
|
@@ -82,7 +82,7 @@ module Telnyx
|
|
|
82
82
|
|
|
83
83
|
def initialize: (
|
|
84
84
|
call_control_id: String,
|
|
85
|
-
?assistant: Telnyx::
|
|
85
|
+
?assistant: Telnyx::CallAssistantRequest,
|
|
86
86
|
?client_state: String,
|
|
87
87
|
?command_id: String,
|
|
88
88
|
?greeting: String,
|
|
@@ -98,7 +98,7 @@ module Telnyx
|
|
|
98
98
|
|
|
99
99
|
def to_hash: -> {
|
|
100
100
|
call_control_id: String,
|
|
101
|
-
assistant: Telnyx::
|
|
101
|
+
assistant: Telnyx::CallAssistantRequest,
|
|
102
102
|
client_state: String,
|
|
103
103
|
command_id: String,
|
|
104
104
|
greeting: String,
|
|
@@ -112,35 +112,6 @@ module Telnyx
|
|
|
112
112
|
request_options: Telnyx::RequestOptions
|
|
113
113
|
}
|
|
114
114
|
|
|
115
|
-
type assistant =
|
|
116
|
-
{ id: String, instructions: String, openai_api_key_ref: String }
|
|
117
|
-
|
|
118
|
-
class Assistant < Telnyx::Internal::Type::BaseModel
|
|
119
|
-
attr_reader id: String?
|
|
120
|
-
|
|
121
|
-
def id=: (String) -> String
|
|
122
|
-
|
|
123
|
-
attr_reader instructions: String?
|
|
124
|
-
|
|
125
|
-
def instructions=: (String) -> String
|
|
126
|
-
|
|
127
|
-
attr_reader openai_api_key_ref: String?
|
|
128
|
-
|
|
129
|
-
def openai_api_key_ref=: (String) -> String
|
|
130
|
-
|
|
131
|
-
def initialize: (
|
|
132
|
-
?id: String,
|
|
133
|
-
?instructions: String,
|
|
134
|
-
?openai_api_key_ref: String
|
|
135
|
-
) -> void
|
|
136
|
-
|
|
137
|
-
def to_hash: -> {
|
|
138
|
-
id: String,
|
|
139
|
-
instructions: String,
|
|
140
|
-
openai_api_key_ref: String
|
|
141
|
-
}
|
|
142
|
-
end
|
|
143
|
-
|
|
144
115
|
type message_history =
|
|
145
116
|
Telnyx::Calls::ActionStartAIAssistantParams::MessageHistory::User
|
|
146
117
|
| Telnyx::Calls::ActionStartAIAssistantParams::MessageHistory::Assistant
|
|
@@ -19,6 +19,7 @@ module Telnyx
|
|
|
19
19
|
mute_dtmf: Telnyx::Models::Calls::ActionTransferParams::mute_dtmf,
|
|
20
20
|
park_after_unbridge: String,
|
|
21
21
|
preferred_codecs: String,
|
|
22
|
+
privacy: Telnyx::Models::Calls::ActionTransferParams::privacy,
|
|
22
23
|
record: Telnyx::Models::Calls::ActionTransferParams::record,
|
|
23
24
|
record_channels: Telnyx::Models::Calls::ActionTransferParams::record_channels,
|
|
24
25
|
record_custom_file_name: String,
|
|
@@ -118,6 +119,12 @@ module Telnyx
|
|
|
118
119
|
|
|
119
120
|
def preferred_codecs=: (String) -> String
|
|
120
121
|
|
|
122
|
+
attr_reader privacy: Telnyx::Models::Calls::ActionTransferParams::privacy?
|
|
123
|
+
|
|
124
|
+
def privacy=: (
|
|
125
|
+
Telnyx::Models::Calls::ActionTransferParams::privacy
|
|
126
|
+
) -> Telnyx::Models::Calls::ActionTransferParams::privacy
|
|
127
|
+
|
|
121
128
|
attr_reader record: Telnyx::Models::Calls::ActionTransferParams::record?
|
|
122
129
|
|
|
123
130
|
def record=: (
|
|
@@ -247,6 +254,7 @@ module Telnyx
|
|
|
247
254
|
?mute_dtmf: Telnyx::Models::Calls::ActionTransferParams::mute_dtmf,
|
|
248
255
|
?park_after_unbridge: String,
|
|
249
256
|
?preferred_codecs: String,
|
|
257
|
+
?privacy: Telnyx::Models::Calls::ActionTransferParams::privacy,
|
|
250
258
|
?record: Telnyx::Models::Calls::ActionTransferParams::record,
|
|
251
259
|
?record_channels: Telnyx::Models::Calls::ActionTransferParams::record_channels,
|
|
252
260
|
?record_custom_file_name: String,
|
|
@@ -289,6 +297,7 @@ module Telnyx
|
|
|
289
297
|
mute_dtmf: Telnyx::Models::Calls::ActionTransferParams::mute_dtmf,
|
|
290
298
|
park_after_unbridge: String,
|
|
291
299
|
preferred_codecs: String,
|
|
300
|
+
privacy: Telnyx::Models::Calls::ActionTransferParams::privacy,
|
|
292
301
|
record: Telnyx::Models::Calls::ActionTransferParams::record,
|
|
293
302
|
record_channels: Telnyx::Models::Calls::ActionTransferParams::record_channels,
|
|
294
303
|
record_custom_file_name: String,
|
|
@@ -442,6 +451,17 @@ module Telnyx
|
|
|
442
451
|
def self?.values: -> ::Array[Telnyx::Models::Calls::ActionTransferParams::mute_dtmf]
|
|
443
452
|
end
|
|
444
453
|
|
|
454
|
+
type privacy = :id | :none
|
|
455
|
+
|
|
456
|
+
module Privacy
|
|
457
|
+
extend Telnyx::Internal::Type::Enum
|
|
458
|
+
|
|
459
|
+
ID: :id
|
|
460
|
+
NONE: :none
|
|
461
|
+
|
|
462
|
+
def self?.values: -> ::Array[Telnyx::Models::Calls::ActionTransferParams::privacy]
|
|
463
|
+
end
|
|
464
|
+
|
|
445
465
|
type record = :"record-from-answer"
|
|
446
466
|
|
|
447
467
|
module Record
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
module Telnyx
|
|
2
|
+
module Models
|
|
3
|
+
type check_availability_tool =
|
|
4
|
+
{
|
|
5
|
+
check_availability: Telnyx::CheckAvailabilityToolParams,
|
|
6
|
+
type: Telnyx::Models::CheckAvailabilityTool::type_
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
class CheckAvailabilityTool < Telnyx::Internal::Type::BaseModel
|
|
10
|
+
attr_accessor check_availability: Telnyx::CheckAvailabilityToolParams
|
|
11
|
+
|
|
12
|
+
attr_accessor type: Telnyx::Models::CheckAvailabilityTool::type_
|
|
13
|
+
|
|
14
|
+
def initialize: (
|
|
15
|
+
check_availability: Telnyx::CheckAvailabilityToolParams,
|
|
16
|
+
type: Telnyx::Models::CheckAvailabilityTool::type_
|
|
17
|
+
) -> void
|
|
18
|
+
|
|
19
|
+
def to_hash: -> {
|
|
20
|
+
check_availability: Telnyx::CheckAvailabilityToolParams,
|
|
21
|
+
type: Telnyx::Models::CheckAvailabilityTool::type_
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
type type_ = :check_availability
|
|
25
|
+
|
|
26
|
+
module Type
|
|
27
|
+
extend Telnyx::Internal::Type::Enum
|
|
28
|
+
|
|
29
|
+
CHECK_AVAILABILITY: :check_availability
|
|
30
|
+
|
|
31
|
+
def self?.values: -> ::Array[Telnyx::Models::CheckAvailabilityTool::type_]
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
end
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
module Telnyx
|
|
2
|
+
module Models
|
|
3
|
+
type check_availability_tool_params =
|
|
4
|
+
{ api_key_ref: String, event_type_id: Integer }
|
|
5
|
+
|
|
6
|
+
class CheckAvailabilityToolParams < Telnyx::Internal::Type::BaseModel
|
|
7
|
+
attr_accessor api_key_ref: String
|
|
8
|
+
|
|
9
|
+
attr_accessor event_type_id: Integer
|
|
10
|
+
|
|
11
|
+
def initialize: (api_key_ref: String, event_type_id: Integer) -> void
|
|
12
|
+
|
|
13
|
+
def to_hash: -> { api_key_ref: String, event_type_id: Integer }
|
|
14
|
+
end
|
|
15
|
+
end
|
|
16
|
+
end
|
|
@@ -144,7 +144,7 @@ module Telnyx
|
|
|
144
144
|
NUMBER_OF_EMPLOYEES_201_500: :"201-500"
|
|
145
145
|
NUMBER_OF_EMPLOYEES_501_2000: :"501-2000"
|
|
146
146
|
NUMBER_OF_EMPLOYEES_2001_10000: :"2001-10000"
|
|
147
|
-
|
|
147
|
+
NUMBER_OF_EMPLOYEES_10001_PLUS: :"10001+"
|
|
148
148
|
|
|
149
149
|
def self?.values: -> ::Array[Telnyx::Models::EnterpriseCreateParams::number_of_employees]
|
|
150
150
|
end
|
|
@@ -171,7 +171,7 @@ module Telnyx
|
|
|
171
171
|
NUMBER_OF_EMPLOYEES_201_500: :"201-500"
|
|
172
172
|
NUMBER_OF_EMPLOYEES_501_2000: :"501-2000"
|
|
173
173
|
NUMBER_OF_EMPLOYEES_2001_10000: :"2001-10000"
|
|
174
|
-
|
|
174
|
+
NUMBER_OF_EMPLOYEES_10001_PLUS: :"10001+"
|
|
175
175
|
|
|
176
176
|
def self?.values: -> ::Array[Telnyx::Models::EnterprisePublic::number_of_employees]
|
|
177
177
|
end
|
|
@@ -160,7 +160,7 @@ module Telnyx
|
|
|
160
160
|
NUMBER_OF_EMPLOYEES_201_500: :"201-500"
|
|
161
161
|
NUMBER_OF_EMPLOYEES_501_2000: :"501-2000"
|
|
162
162
|
NUMBER_OF_EMPLOYEES_2001_10000: :"2001-10000"
|
|
163
|
-
|
|
163
|
+
NUMBER_OF_EMPLOYEES_10001_PLUS: :"10001+"
|
|
164
164
|
|
|
165
165
|
def self?.values: -> ::Array[Telnyx::Models::EnterpriseUpdateParams::number_of_employees]
|
|
166
166
|
end
|
|
@@ -2,11 +2,11 @@ module Telnyx
|
|
|
2
2
|
module Models
|
|
3
3
|
module Enterprises
|
|
4
4
|
module Reputation
|
|
5
|
-
type
|
|
5
|
+
type number_associate_params =
|
|
6
6
|
{ enterprise_id: String, phone_numbers: ::Array[String] }
|
|
7
7
|
& Telnyx::Internal::Type::request_parameters
|
|
8
8
|
|
|
9
|
-
class
|
|
9
|
+
class NumberAssociateParams < Telnyx::Internal::Type::BaseModel
|
|
10
10
|
extend Telnyx::Internal::Type::RequestParameters::Converter
|
|
11
11
|
include Telnyx::Internal::Type::RequestParameters
|
|
12
12
|
|