telnyx 5.150.0 → 5.152.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 -531
- data/README.md +10 -1
- data/lib/telnyx/models/advanced_order_create_params.rb +1 -86
- data/lib/telnyx/models/advanced_order_update_requirement_group_params.rb +1 -88
- data/lib/telnyx/models/ai_retrieve_conversation_histories_params.rb +22 -48
- data/lib/telnyx/models/ai_retrieve_conversation_histories_response.rb +10 -50
- data/lib/telnyx/models/calls/deepgram_nova2_config.rb +23 -1
- data/lib/telnyx/models/calls/deepgram_nova3_config.rb +22 -1
- data/lib/telnyx/models/calls/transcription_start_request.rb +5 -3
- data/lib/telnyx/models/dir/email_verification_status_wrapped.rb +82 -0
- data/lib/telnyx/models/dir/reference.rb +125 -0
- data/lib/telnyx/models/dir/reference_create_params.rb +43 -0
- data/lib/telnyx/models/dir/reference_input.rb +74 -0
- data/lib/telnyx/models/dir/reference_list.rb +18 -0
- data/lib/telnyx/models/dir/{phone_number_delete_all_params.rb → reference_list_params.rb} +3 -9
- data/lib/telnyx/models/dir/reference_update_params.rb +103 -0
- data/lib/telnyx/models/dir/reference_update_response.rb +23 -0
- data/lib/telnyx/models/dir/verify_email_confirm_params.rb +31 -0
- data/lib/telnyx/models/dir/verify_email_create_params.rb +22 -0
- data/lib/telnyx/models/dir/verify_email_list_params.rb +22 -0
- data/lib/telnyx/models/dir_update_infringement_params.rb +6 -2
- data/lib/telnyx/models/enterprises/dir_create_params.rb +10 -10
- data/lib/telnyx/models/public_internet_gateway.rb +24 -1
- data/lib/telnyx/models/storage/kv_create_params.rb +24 -0
- data/lib/telnyx/models/storage/kv_delete_params.rb +22 -0
- data/lib/telnyx/models/storage/kv_list_params.rb +32 -0
- data/lib/telnyx/models/storage/kv_namespace.rb +75 -0
- data/lib/telnyx/models/storage/kv_namespace_response_wrapper.rb +18 -0
- data/lib/telnyx/models/storage/kv_retrieve_params.rb +22 -0
- data/lib/telnyx/models/storage/kvs/key_delete_params.rb +30 -0
- data/lib/telnyx/models/storage/kvs/key_list_params.rb +49 -0
- data/lib/telnyx/models/storage/kvs/key_list_response.rb +82 -0
- data/lib/telnyx/models/storage/kvs/key_retrieve_params.rb +30 -0
- data/lib/telnyx/models/storage/kvs/key_update_params.rb +53 -0
- data/lib/telnyx/models/texml/accounts/call_calls_params.rb +9 -69
- data/lib/telnyx/models/virtual_cross_connect_create.rb +176 -2
- data/lib/telnyx/models/whatsapp/phone_number_retrieve_conversation_window_params.rb +31 -0
- data/lib/telnyx/models/whatsapp/phone_number_retrieve_conversation_window_response.rb +54 -0
- data/lib/telnyx/models/wireguard_interface.rb +24 -1
- data/lib/telnyx/resources/ai.rb +20 -21
- data/lib/telnyx/resources/calls/actions.rb +1 -1
- data/lib/telnyx/resources/dir/references.rb +139 -0
- data/lib/telnyx/resources/dir/verify_email.rb +91 -0
- data/lib/telnyx/resources/dir.rb +17 -1
- data/lib/telnyx/resources/documents.rb +1 -1
- data/lib/telnyx/resources/enterprises/dir.rb +3 -3
- data/lib/telnyx/resources/storage/kvs/keys.rb +154 -0
- data/lib/telnyx/resources/storage/kvs.rb +115 -0
- data/lib/telnyx/resources/storage.rb +5 -0
- data/lib/telnyx/resources/whatsapp/phone_numbers.rb +27 -0
- data/lib/telnyx/version.rb +1 -1
- data/lib/telnyx.rb +29 -2
- data/rbi/telnyx/models/advanced_order_create_params.rbi +4 -198
- data/rbi/telnyx/models/advanced_order_update_requirement_group_params.rbi +2 -219
- data/rbi/telnyx/models/ai/assistant_get_texml_response.rbi +1 -1
- data/rbi/telnyx/models/ai/assistants/instruction_enhance_response.rbi +1 -1
- data/rbi/telnyx/models/ai_retrieve_conversation_histories_params.rbi +30 -97
- data/rbi/telnyx/models/ai_retrieve_conversation_histories_response.rbi +10 -85
- data/rbi/telnyx/models/calls/deepgram_nova2_config.rbi +34 -0
- data/rbi/telnyx/models/calls/deepgram_nova3_config.rbi +32 -0
- data/rbi/telnyx/models/calls/transcription_start_request.rbi +5 -0
- data/rbi/telnyx/models/dir/email_verification_status_wrapped.rbi +184 -0
- data/rbi/telnyx/models/dir/reference.rbi +162 -0
- data/rbi/telnyx/models/dir/reference_create_params.rbi +66 -0
- data/rbi/telnyx/models/dir/reference_input.rbi +93 -0
- data/rbi/telnyx/models/dir/reference_list.rbi +29 -0
- data/rbi/telnyx/models/dir/reference_list_params.rbi +37 -0
- data/rbi/telnyx/models/dir/reference_update_params.rbi +154 -0
- data/rbi/telnyx/models/dir/reference_update_response.rbi +39 -0
- data/rbi/telnyx/models/dir/{phone_number_delete_all_params.rbi → verify_email_confirm_params.rbi} +13 -7
- data/rbi/telnyx/models/dir/verify_email_create_params.rbi +40 -0
- data/rbi/telnyx/models/dir/verify_email_list_params.rbi +37 -0
- data/rbi/telnyx/models/dir_update_infringement_params.rbi +4 -2
- data/rbi/telnyx/models/enterprises/dir_create_params.rbi +10 -13
- data/rbi/telnyx/models/messaging_profiles/autoresp_config_delete_response.rbi +1 -1
- data/rbi/telnyx/models/public_internet_gateway.rbi +45 -3
- data/rbi/telnyx/models/storage/kv_create_params.rbi +42 -0
- data/rbi/telnyx/models/storage/kv_delete_params.rbi +37 -0
- data/rbi/telnyx/models/storage/kv_list_params.rbi +59 -0
- data/rbi/telnyx/models/storage/kv_namespace.rbi +131 -0
- data/rbi/telnyx/models/storage/kv_namespace_response_wrapper.rbi +35 -0
- data/rbi/telnyx/models/storage/kv_retrieve_params.rbi +37 -0
- data/rbi/telnyx/models/storage/kvs/key_delete_params.rbi +50 -0
- data/rbi/telnyx/models/storage/kvs/key_list_params.rbi +81 -0
- data/rbi/telnyx/models/storage/kvs/key_list_response.rbi +179 -0
- data/rbi/telnyx/models/storage/kvs/key_retrieve_params.rbi +50 -0
- data/rbi/telnyx/models/storage/kvs/key_update_params.rbi +77 -0
- data/rbi/telnyx/models/sub_number_orders_report_download_response.rbi +1 -1
- data/rbi/telnyx/models/telephony_credential_create_token_response.rbi +1 -1
- data/rbi/telnyx/models/texml/accounts/call_calls_params.rbi +12 -189
- data/rbi/telnyx/models/virtual_cross_connect_create.rbi +265 -7
- data/rbi/telnyx/models/whatsapp/phone_number_retrieve_conversation_window_params.rbi +54 -0
- data/rbi/telnyx/models/whatsapp/phone_number_retrieve_conversation_window_response.rbi +125 -0
- data/rbi/telnyx/models/wireguard_interface.rbi +48 -3
- data/rbi/telnyx/models/wireguard_peer_retrieve_config_response.rbi +1 -1
- data/rbi/telnyx/models.rbi +0 -7
- data/rbi/telnyx/resources/ai.rbi +21 -28
- data/rbi/telnyx/resources/calls/actions.rbi +1 -0
- data/rbi/telnyx/resources/dir/references.rbi +114 -0
- data/rbi/telnyx/resources/dir/verify_email.rbi +70 -0
- data/rbi/telnyx/resources/dir.rbi +13 -1
- data/rbi/telnyx/resources/enterprises/dir.rbi +4 -4
- data/rbi/telnyx/resources/storage/kvs/keys.rbi +115 -0
- data/rbi/telnyx/resources/storage/kvs.rbi +87 -0
- data/rbi/telnyx/resources/storage.rbi +4 -0
- data/rbi/telnyx/resources/whatsapp/phone_numbers.rbi +21 -0
- data/sig/telnyx/models/advanced_order_create_params.rbs +3 -99
- data/sig/telnyx/models/advanced_order_update_requirement_group_params.rbs +3 -94
- data/sig/telnyx/models/ai_retrieve_conversation_histories_params.rbs +15 -34
- data/sig/telnyx/models/ai_retrieve_conversation_histories_response.rbs +0 -24
- data/sig/telnyx/models/calls/deepgram_nova2_config.rbs +14 -0
- data/sig/telnyx/models/calls/deepgram_nova3_config.rbs +14 -0
- data/sig/telnyx/models/calls/transcription_start_request.rbs +1 -0
- data/sig/telnyx/models/dir/email_verification_status_wrapped.rbs +69 -0
- data/sig/telnyx/models/dir/reference.rbs +88 -0
- data/sig/telnyx/models/dir/reference_create_params.rbs +38 -0
- data/sig/telnyx/models/dir/reference_input.rbs +52 -0
- data/sig/telnyx/models/dir/reference_list.rbs +15 -0
- data/sig/telnyx/models/dir/reference_list_params.rbs +25 -0
- data/sig/telnyx/models/dir/reference_update_params.rbs +92 -0
- data/sig/telnyx/models/dir/reference_update_response.rbs +15 -0
- data/sig/telnyx/models/dir/{phone_number_delete_all_params.rbs → verify_email_confirm_params.rbs} +6 -6
- data/sig/telnyx/models/dir/verify_email_create_params.rbs +25 -0
- data/sig/telnyx/models/dir/verify_email_list_params.rbs +25 -0
- data/sig/telnyx/models/enterprises/dir_create_params.rbs +5 -7
- data/sig/telnyx/models/public_internet_gateway.rbs +32 -3
- data/sig/telnyx/models/storage/kv_create_params.rbs +25 -0
- data/sig/telnyx/models/storage/kv_delete_params.rbs +22 -0
- data/sig/telnyx/models/storage/kv_list_params.rbs +34 -0
- data/sig/telnyx/models/storage/kv_namespace.rbs +80 -0
- data/sig/telnyx/models/storage/kv_namespace_response_wrapper.rbs +20 -0
- data/sig/telnyx/models/storage/kv_retrieve_params.rbs +22 -0
- data/sig/telnyx/models/storage/kvs/key_delete_params.rbs +32 -0
- data/sig/telnyx/models/storage/kvs/key_list_params.rbs +46 -0
- data/sig/telnyx/models/storage/kvs/key_list_response.rbs +88 -0
- data/sig/telnyx/models/{enterprises/reputation/loa_patch_all_params.rbs → storage/kvs/key_retrieve_params.rbs} +11 -11
- data/sig/telnyx/models/storage/kvs/key_update_params.rbs +47 -0
- data/sig/telnyx/models/texml/accounts/call_calls_params.rbs +15 -63
- data/sig/telnyx/models/virtual_cross_connect_create.rbs +138 -7
- data/sig/telnyx/models/whatsapp/phone_number_retrieve_conversation_window_params.rbs +30 -0
- data/sig/telnyx/models/whatsapp/phone_number_retrieve_conversation_window_response.rbs +66 -0
- data/sig/telnyx/models/wireguard_interface.rbs +34 -3
- data/sig/telnyx/models.rbs +0 -1
- data/sig/telnyx/resources/ai.rbs +2 -3
- data/sig/telnyx/resources/dir/references.rbs +35 -0
- data/sig/telnyx/resources/dir/verify_email.rbs +25 -0
- data/sig/telnyx/resources/dir.rbs +4 -0
- data/sig/telnyx/resources/enterprises/dir.rbs +1 -1
- data/sig/telnyx/resources/storage/kvs/keys.rbs +39 -0
- data/sig/telnyx/resources/storage/kvs.rbs +32 -0
- data/sig/telnyx/resources/storage.rbs +2 -0
- data/sig/telnyx/resources/whatsapp/phone_numbers.rbs +6 -0
- metadata +86 -38
- data/lib/telnyx/models/dir/phone_number_create_params.rb +0 -47
- data/lib/telnyx/models/dir/phone_number_create_response.rb +0 -32
- data/lib/telnyx/models/dir/phone_number_delete_all_response.rb +0 -103
- data/lib/telnyx/models/dir_loa_params.rb +0 -79
- data/lib/telnyx/models/dir_retrieve_document_types_params.rb +0 -14
- data/lib/telnyx/models/dir_retrieve_document_types_response.rb +0 -51
- data/lib/telnyx/models/dir_retrieve_infringement_claims_params.rb +0 -40
- data/lib/telnyx/models/dir_retrieve_infringement_claims_response.rb +0 -30
- data/lib/telnyx/models/dir_update_infringement_update_params.rb +0 -134
- data/lib/telnyx/models/enterprises/reputation/loa_create_params.rb +0 -146
- data/lib/telnyx/models/enterprises/reputation/loa_patch_all_params.rb +0 -38
- data/rbi/telnyx/models/dir/phone_number_create_params.rbi +0 -72
- data/rbi/telnyx/models/dir/phone_number_create_response.rbi +0 -48
- data/rbi/telnyx/models/dir/phone_number_delete_all_response.rbi +0 -206
- data/rbi/telnyx/models/dir_loa_params.rbi +0 -120
- data/rbi/telnyx/models/dir_retrieve_document_types_params.rbi +0 -30
- data/rbi/telnyx/models/dir_retrieve_document_types_response.rbi +0 -103
- data/rbi/telnyx/models/dir_retrieve_infringement_claims_params.rbi +0 -66
- data/rbi/telnyx/models/dir_retrieve_infringement_claims_response.rbi +0 -55
- data/rbi/telnyx/models/dir_update_infringement_update_params.rbi +0 -256
- data/rbi/telnyx/models/enterprises/reputation/loa_create_params.rbi +0 -238
- data/rbi/telnyx/models/enterprises/reputation/loa_patch_all_params.rbi +0 -60
- data/sig/telnyx/models/dir/phone_number_create_params.rbs +0 -38
- data/sig/telnyx/models/dir/phone_number_create_response.rbs +0 -16
- data/sig/telnyx/models/dir/phone_number_delete_all_response.rbs +0 -86
- data/sig/telnyx/models/dir_loa_params.rbs +0 -61
- data/sig/telnyx/models/dir_retrieve_document_types_params.rbs +0 -15
- data/sig/telnyx/models/dir_retrieve_document_types_response.rbs +0 -41
- data/sig/telnyx/models/dir_retrieve_infringement_claims_params.rbs +0 -36
- data/sig/telnyx/models/dir_retrieve_infringement_claims_response.rbs +0 -25
- data/sig/telnyx/models/dir_update_infringement_update_params.rbs +0 -111
- data/sig/telnyx/models/enterprises/reputation/loa_create_params.rbs +0 -135
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
module Telnyx
|
|
2
|
+
module Models
|
|
3
|
+
module Storage
|
|
4
|
+
module Kvs
|
|
5
|
+
type key_list_response =
|
|
6
|
+
{
|
|
7
|
+
data: ::Array[Telnyx::Models::Storage::Kvs::KeyListResponse::Data],
|
|
8
|
+
meta: Telnyx::Models::Storage::Kvs::KeyListResponse::Meta,
|
|
9
|
+
record_type: String
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
class KeyListResponse < Telnyx::Internal::Type::BaseModel
|
|
13
|
+
attr_reader data: ::Array[Telnyx::Models::Storage::Kvs::KeyListResponse::Data]?
|
|
14
|
+
|
|
15
|
+
def data=: (
|
|
16
|
+
::Array[Telnyx::Models::Storage::Kvs::KeyListResponse::Data]
|
|
17
|
+
) -> ::Array[Telnyx::Models::Storage::Kvs::KeyListResponse::Data]
|
|
18
|
+
|
|
19
|
+
attr_reader meta: Telnyx::Models::Storage::Kvs::KeyListResponse::Meta?
|
|
20
|
+
|
|
21
|
+
def meta=: (
|
|
22
|
+
Telnyx::Models::Storage::Kvs::KeyListResponse::Meta
|
|
23
|
+
) -> Telnyx::Models::Storage::Kvs::KeyListResponse::Meta
|
|
24
|
+
|
|
25
|
+
attr_reader record_type: String?
|
|
26
|
+
|
|
27
|
+
def record_type=: (String) -> String
|
|
28
|
+
|
|
29
|
+
def initialize: (
|
|
30
|
+
?data: ::Array[Telnyx::Models::Storage::Kvs::KeyListResponse::Data],
|
|
31
|
+
?meta: Telnyx::Models::Storage::Kvs::KeyListResponse::Meta,
|
|
32
|
+
?record_type: String
|
|
33
|
+
) -> void
|
|
34
|
+
|
|
35
|
+
def to_hash: -> {
|
|
36
|
+
data: ::Array[Telnyx::Models::Storage::Kvs::KeyListResponse::Data],
|
|
37
|
+
meta: Telnyx::Models::Storage::Kvs::KeyListResponse::Meta,
|
|
38
|
+
record_type: String
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
type data = { key: String, size_bytes: Integer, updated_at: Time }
|
|
42
|
+
|
|
43
|
+
class Data < Telnyx::Internal::Type::BaseModel
|
|
44
|
+
attr_reader key: String?
|
|
45
|
+
|
|
46
|
+
def key=: (String) -> String
|
|
47
|
+
|
|
48
|
+
attr_reader size_bytes: Integer?
|
|
49
|
+
|
|
50
|
+
def size_bytes=: (Integer) -> Integer
|
|
51
|
+
|
|
52
|
+
attr_reader updated_at: Time?
|
|
53
|
+
|
|
54
|
+
def updated_at=: (Time) -> Time
|
|
55
|
+
|
|
56
|
+
def initialize: (
|
|
57
|
+
?key: String,
|
|
58
|
+
?size_bytes: Integer,
|
|
59
|
+
?updated_at: Time
|
|
60
|
+
) -> void
|
|
61
|
+
|
|
62
|
+
def to_hash: -> {
|
|
63
|
+
key: String,
|
|
64
|
+
size_bytes: Integer,
|
|
65
|
+
updated_at: Time
|
|
66
|
+
}
|
|
67
|
+
end
|
|
68
|
+
|
|
69
|
+
type meta = { cursor: String, has_more: bool }
|
|
70
|
+
|
|
71
|
+
class Meta < Telnyx::Internal::Type::BaseModel
|
|
72
|
+
attr_reader cursor: String?
|
|
73
|
+
|
|
74
|
+
def cursor=: (String) -> String
|
|
75
|
+
|
|
76
|
+
attr_reader has_more: bool?
|
|
77
|
+
|
|
78
|
+
def has_more=: (bool) -> bool
|
|
79
|
+
|
|
80
|
+
def initialize: (?cursor: String, ?has_more: bool) -> void
|
|
81
|
+
|
|
82
|
+
def to_hash: -> { cursor: String, has_more: bool }
|
|
83
|
+
end
|
|
84
|
+
end
|
|
85
|
+
end
|
|
86
|
+
end
|
|
87
|
+
end
|
|
88
|
+
end
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
module Telnyx
|
|
2
2
|
module Models
|
|
3
|
-
module
|
|
4
|
-
module
|
|
5
|
-
type
|
|
6
|
-
{
|
|
3
|
+
module Storage
|
|
4
|
+
module Kvs
|
|
5
|
+
type key_retrieve_params =
|
|
6
|
+
{ id: String, key: String }
|
|
7
7
|
& Telnyx::Internal::Type::request_parameters
|
|
8
8
|
|
|
9
|
-
class
|
|
9
|
+
class KeyRetrieveParams < Telnyx::Internal::Type::BaseModel
|
|
10
10
|
extend Telnyx::Internal::Type::RequestParameters::Converter
|
|
11
11
|
include Telnyx::Internal::Type::RequestParameters
|
|
12
12
|
|
|
13
|
-
attr_accessor
|
|
13
|
+
attr_accessor id: String
|
|
14
14
|
|
|
15
|
-
attr_accessor
|
|
15
|
+
attr_accessor key: String
|
|
16
16
|
|
|
17
17
|
def initialize: (
|
|
18
|
-
|
|
19
|
-
|
|
18
|
+
id: String,
|
|
19
|
+
key: String,
|
|
20
20
|
?request_options: Telnyx::request_opts
|
|
21
21
|
) -> void
|
|
22
22
|
|
|
23
23
|
def to_hash: -> {
|
|
24
|
-
|
|
25
|
-
|
|
24
|
+
id: String,
|
|
25
|
+
key: String,
|
|
26
26
|
request_options: Telnyx::RequestOptions
|
|
27
27
|
}
|
|
28
28
|
end
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
module Telnyx
|
|
2
|
+
module Models
|
|
3
|
+
module Storage
|
|
4
|
+
module Kvs
|
|
5
|
+
type key_update_params =
|
|
6
|
+
{
|
|
7
|
+
id: String,
|
|
8
|
+
key: String,
|
|
9
|
+
body: Telnyx::Internal::file_input,
|
|
10
|
+
ttl_secs: Integer
|
|
11
|
+
}
|
|
12
|
+
& Telnyx::Internal::Type::request_parameters
|
|
13
|
+
|
|
14
|
+
class KeyUpdateParams < Telnyx::Internal::Type::BaseModel
|
|
15
|
+
extend Telnyx::Internal::Type::RequestParameters::Converter
|
|
16
|
+
include Telnyx::Internal::Type::RequestParameters
|
|
17
|
+
|
|
18
|
+
attr_accessor id: String
|
|
19
|
+
|
|
20
|
+
attr_accessor key: String
|
|
21
|
+
|
|
22
|
+
attr_accessor body: Telnyx::Internal::file_input
|
|
23
|
+
|
|
24
|
+
attr_reader ttl_secs: Integer?
|
|
25
|
+
|
|
26
|
+
def ttl_secs=: (Integer) -> Integer
|
|
27
|
+
|
|
28
|
+
def initialize: (
|
|
29
|
+
id: String,
|
|
30
|
+
key: String,
|
|
31
|
+
body: Telnyx::Internal::file_input,
|
|
32
|
+
?ttl_secs: Integer,
|
|
33
|
+
?request_options: Telnyx::request_opts
|
|
34
|
+
) -> void
|
|
35
|
+
|
|
36
|
+
def to_hash: -> {
|
|
37
|
+
id: String,
|
|
38
|
+
key: String,
|
|
39
|
+
body: Telnyx::Internal::file_input,
|
|
40
|
+
ttl_secs: Integer,
|
|
41
|
+
request_options: Telnyx::RequestOptions
|
|
42
|
+
}
|
|
43
|
+
end
|
|
44
|
+
end
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
end
|
|
@@ -74,7 +74,7 @@ module Telnyx
|
|
|
74
74
|
sip_auth_username: String,
|
|
75
75
|
sip_region: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithURL::sip_region,
|
|
76
76
|
status_callback: String,
|
|
77
|
-
status_callback_event:
|
|
77
|
+
status_callback_event: String,
|
|
78
78
|
status_callback_method: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithURL::status_callback_method,
|
|
79
79
|
supervise_call_sid: String,
|
|
80
80
|
supervising_role: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithURL::supervising_role,
|
|
@@ -247,11 +247,9 @@ module Telnyx
|
|
|
247
247
|
|
|
248
248
|
def status_callback=: (String) -> String
|
|
249
249
|
|
|
250
|
-
attr_reader status_callback_event:
|
|
250
|
+
attr_reader status_callback_event: String?
|
|
251
251
|
|
|
252
|
-
def status_callback_event=: (
|
|
253
|
-
Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithURL::status_callback_event
|
|
254
|
-
) -> Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithURL::status_callback_event
|
|
252
|
+
def status_callback_event=: (String) -> String
|
|
255
253
|
|
|
256
254
|
attr_reader status_callback_method: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithURL::status_callback_method?
|
|
257
255
|
|
|
@@ -331,7 +329,7 @@ module Telnyx
|
|
|
331
329
|
?sip_auth_username: String,
|
|
332
330
|
?sip_region: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithURL::sip_region,
|
|
333
331
|
?status_callback: String,
|
|
334
|
-
?status_callback_event:
|
|
332
|
+
?status_callback_event: String,
|
|
335
333
|
?status_callback_method: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithURL::status_callback_method,
|
|
336
334
|
?supervise_call_sid: String,
|
|
337
335
|
?supervising_role: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithURL::supervising_role,
|
|
@@ -379,7 +377,7 @@ module Telnyx
|
|
|
379
377
|
sip_auth_username: String,
|
|
380
378
|
sip_region: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithURL::sip_region,
|
|
381
379
|
status_callback: String,
|
|
382
|
-
status_callback_event:
|
|
380
|
+
status_callback_event: String,
|
|
383
381
|
status_callback_method: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithURL::status_callback_method,
|
|
384
382
|
supervise_call_sid: String,
|
|
385
383
|
supervising_role: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithURL::supervising_role,
|
|
@@ -520,20 +518,6 @@ module Telnyx
|
|
|
520
518
|
def self?.values: -> ::Array[Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithURL::sip_region]
|
|
521
519
|
end
|
|
522
520
|
|
|
523
|
-
type status_callback_event =
|
|
524
|
-
:initiated | :ringing | :answered | :completed
|
|
525
|
-
|
|
526
|
-
module StatusCallbackEvent
|
|
527
|
-
extend Telnyx::Internal::Type::Enum
|
|
528
|
-
|
|
529
|
-
INITIATED: :initiated
|
|
530
|
-
RINGING: :ringing
|
|
531
|
-
ANSWERED: :answered
|
|
532
|
-
COMPLETED: :completed
|
|
533
|
-
|
|
534
|
-
def self?.values: -> ::Array[Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithURL::status_callback_event]
|
|
535
|
-
end
|
|
536
|
-
|
|
537
521
|
type status_callback_method = :GET | :POST
|
|
538
522
|
|
|
539
523
|
module StatusCallbackMethod
|
|
@@ -617,7 +601,7 @@ module Telnyx
|
|
|
617
601
|
sip_auth_username: String,
|
|
618
602
|
sip_region: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithTeXml::sip_region,
|
|
619
603
|
status_callback: String,
|
|
620
|
-
status_callback_event:
|
|
604
|
+
status_callback_event: String,
|
|
621
605
|
status_callback_method: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithTeXml::status_callback_method,
|
|
622
606
|
supervise_call_sid: String,
|
|
623
607
|
supervising_role: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithTeXml::supervising_role,
|
|
@@ -790,11 +774,9 @@ module Telnyx
|
|
|
790
774
|
|
|
791
775
|
def status_callback=: (String) -> String
|
|
792
776
|
|
|
793
|
-
attr_reader status_callback_event:
|
|
777
|
+
attr_reader status_callback_event: String?
|
|
794
778
|
|
|
795
|
-
def status_callback_event=: (
|
|
796
|
-
Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithTeXml::status_callback_event
|
|
797
|
-
) -> Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithTeXml::status_callback_event
|
|
779
|
+
def status_callback_event=: (String) -> String
|
|
798
780
|
|
|
799
781
|
attr_reader status_callback_method: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithTeXml::status_callback_method?
|
|
800
782
|
|
|
@@ -874,7 +856,7 @@ module Telnyx
|
|
|
874
856
|
?sip_auth_username: String,
|
|
875
857
|
?sip_region: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithTeXml::sip_region,
|
|
876
858
|
?status_callback: String,
|
|
877
|
-
?status_callback_event:
|
|
859
|
+
?status_callback_event: String,
|
|
878
860
|
?status_callback_method: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithTeXml::status_callback_method,
|
|
879
861
|
?supervise_call_sid: String,
|
|
880
862
|
?supervising_role: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithTeXml::supervising_role,
|
|
@@ -922,7 +904,7 @@ module Telnyx
|
|
|
922
904
|
sip_auth_username: String,
|
|
923
905
|
sip_region: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithTeXml::sip_region,
|
|
924
906
|
status_callback: String,
|
|
925
|
-
status_callback_event:
|
|
907
|
+
status_callback_event: String,
|
|
926
908
|
status_callback_method: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithTeXml::status_callback_method,
|
|
927
909
|
supervise_call_sid: String,
|
|
928
910
|
supervising_role: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithTeXml::supervising_role,
|
|
@@ -1063,20 +1045,6 @@ module Telnyx
|
|
|
1063
1045
|
def self?.values: -> ::Array[Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithTeXml::sip_region]
|
|
1064
1046
|
end
|
|
1065
1047
|
|
|
1066
|
-
type status_callback_event =
|
|
1067
|
-
:initiated | :ringing | :answered | :completed
|
|
1068
|
-
|
|
1069
|
-
module StatusCallbackEvent
|
|
1070
|
-
extend Telnyx::Internal::Type::Enum
|
|
1071
|
-
|
|
1072
|
-
INITIATED: :initiated
|
|
1073
|
-
RINGING: :ringing
|
|
1074
|
-
ANSWERED: :answered
|
|
1075
|
-
COMPLETED: :completed
|
|
1076
|
-
|
|
1077
|
-
def self?.values: -> ::Array[Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithTeXml::status_callback_event]
|
|
1078
|
-
end
|
|
1079
|
-
|
|
1080
1048
|
type status_callback_method = :GET | :POST
|
|
1081
1049
|
|
|
1082
1050
|
module StatusCallbackMethod
|
|
@@ -1159,7 +1127,7 @@ module Telnyx
|
|
|
1159
1127
|
sip_auth_username: String,
|
|
1160
1128
|
sip_region: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::ApplicationDefault::sip_region,
|
|
1161
1129
|
status_callback: String,
|
|
1162
|
-
status_callback_event:
|
|
1130
|
+
status_callback_event: String,
|
|
1163
1131
|
status_callback_method: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::ApplicationDefault::status_callback_method,
|
|
1164
1132
|
supervise_call_sid: String,
|
|
1165
1133
|
supervising_role: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::ApplicationDefault::supervising_role,
|
|
@@ -1331,11 +1299,9 @@ module Telnyx
|
|
|
1331
1299
|
|
|
1332
1300
|
def status_callback=: (String) -> String
|
|
1333
1301
|
|
|
1334
|
-
attr_reader status_callback_event:
|
|
1302
|
+
attr_reader status_callback_event: String?
|
|
1335
1303
|
|
|
1336
|
-
def status_callback_event=: (
|
|
1337
|
-
Telnyx::Models::Texml::Accounts::CallCallsParams::Body::ApplicationDefault::status_callback_event
|
|
1338
|
-
) -> Telnyx::Models::Texml::Accounts::CallCallsParams::Body::ApplicationDefault::status_callback_event
|
|
1304
|
+
def status_callback_event=: (String) -> String
|
|
1339
1305
|
|
|
1340
1306
|
attr_reader status_callback_method: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::ApplicationDefault::status_callback_method?
|
|
1341
1307
|
|
|
@@ -1416,7 +1382,7 @@ module Telnyx
|
|
|
1416
1382
|
?sip_auth_username: String,
|
|
1417
1383
|
?sip_region: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::ApplicationDefault::sip_region,
|
|
1418
1384
|
?status_callback: String,
|
|
1419
|
-
?status_callback_event:
|
|
1385
|
+
?status_callback_event: String,
|
|
1420
1386
|
?status_callback_method: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::ApplicationDefault::status_callback_method,
|
|
1421
1387
|
?supervise_call_sid: String,
|
|
1422
1388
|
?supervising_role: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::ApplicationDefault::supervising_role,
|
|
@@ -1464,7 +1430,7 @@ module Telnyx
|
|
|
1464
1430
|
sip_auth_username: String,
|
|
1465
1431
|
sip_region: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::ApplicationDefault::sip_region,
|
|
1466
1432
|
status_callback: String,
|
|
1467
|
-
status_callback_event:
|
|
1433
|
+
status_callback_event: String,
|
|
1468
1434
|
status_callback_method: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::ApplicationDefault::status_callback_method,
|
|
1469
1435
|
supervise_call_sid: String,
|
|
1470
1436
|
supervising_role: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::ApplicationDefault::supervising_role,
|
|
@@ -1606,20 +1572,6 @@ module Telnyx
|
|
|
1606
1572
|
def self?.values: -> ::Array[Telnyx::Models::Texml::Accounts::CallCallsParams::Body::ApplicationDefault::sip_region]
|
|
1607
1573
|
end
|
|
1608
1574
|
|
|
1609
|
-
type status_callback_event =
|
|
1610
|
-
:initiated | :ringing | :answered | :completed
|
|
1611
|
-
|
|
1612
|
-
module StatusCallbackEvent
|
|
1613
|
-
extend Telnyx::Internal::Type::Enum
|
|
1614
|
-
|
|
1615
|
-
INITIATED: :initiated
|
|
1616
|
-
RINGING: :ringing
|
|
1617
|
-
ANSWERED: :answered
|
|
1618
|
-
COMPLETED: :completed
|
|
1619
|
-
|
|
1620
|
-
def self?.values: -> ::Array[Telnyx::Models::Texml::Accounts::CallCallsParams::Body::ApplicationDefault::status_callback_event]
|
|
1621
|
-
end
|
|
1622
|
-
|
|
1623
1575
|
type status_callback_method = :GET | :POST
|
|
1624
1576
|
|
|
1625
1577
|
module StatusCallbackMethod
|
|
@@ -1,16 +1,147 @@
|
|
|
1
1
|
module Telnyx
|
|
2
2
|
module Models
|
|
3
|
-
type virtual_cross_connect_create =
|
|
3
|
+
type virtual_cross_connect_create =
|
|
4
|
+
{
|
|
5
|
+
name: String,
|
|
6
|
+
network_id: String,
|
|
7
|
+
status: Telnyx::Models::interface_status,
|
|
8
|
+
region_code: String,
|
|
9
|
+
bandwidth_mbps: Float,
|
|
10
|
+
bgp_asn: Float,
|
|
11
|
+
cloud_provider: Telnyx::Models::VirtualCrossConnectCreate::cloud_provider,
|
|
12
|
+
cloud_provider_region: String,
|
|
13
|
+
primary_bgp_key: String,
|
|
14
|
+
primary_cloud_account_id: String,
|
|
15
|
+
primary_cloud_ip: String,
|
|
16
|
+
primary_enabled: bool,
|
|
17
|
+
primary_telnyx_ip: String,
|
|
18
|
+
secondary_bgp_key: String,
|
|
19
|
+
secondary_cloud_account_id: String,
|
|
20
|
+
secondary_cloud_ip: String,
|
|
21
|
+
secondary_enabled: bool,
|
|
22
|
+
secondary_telnyx_ip: String
|
|
23
|
+
}
|
|
4
24
|
|
|
5
25
|
class VirtualCrossConnectCreate < Telnyx::Models::Record
|
|
6
|
-
def
|
|
26
|
+
def name: -> String?
|
|
7
27
|
|
|
8
|
-
def
|
|
28
|
+
def name=: (String _) -> String
|
|
9
29
|
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
30
|
+
def network_id: -> String?
|
|
31
|
+
|
|
32
|
+
def network_id=: (String _) -> String
|
|
33
|
+
|
|
34
|
+
def region_code: -> String
|
|
35
|
+
|
|
36
|
+
def region_code=: (String _) -> String
|
|
37
|
+
|
|
38
|
+
def bandwidth_mbps: -> Float?
|
|
39
|
+
|
|
40
|
+
def bandwidth_mbps=: (Float _) -> Float
|
|
41
|
+
|
|
42
|
+
def bgp_asn: -> Float?
|
|
43
|
+
|
|
44
|
+
def bgp_asn=: (Float _) -> Float
|
|
45
|
+
|
|
46
|
+
def cloud_provider: -> Telnyx::Models::VirtualCrossConnectCreate::cloud_provider?
|
|
47
|
+
|
|
48
|
+
def cloud_provider=: (
|
|
49
|
+
Telnyx::Models::VirtualCrossConnectCreate::cloud_provider _
|
|
50
|
+
) -> Telnyx::Models::VirtualCrossConnectCreate::cloud_provider
|
|
51
|
+
|
|
52
|
+
def cloud_provider_region: -> String?
|
|
53
|
+
|
|
54
|
+
def cloud_provider_region=: (String _) -> String
|
|
55
|
+
|
|
56
|
+
def primary_bgp_key: -> String?
|
|
57
|
+
|
|
58
|
+
def primary_bgp_key=: (String _) -> String
|
|
59
|
+
|
|
60
|
+
def primary_cloud_account_id: -> String?
|
|
61
|
+
|
|
62
|
+
def primary_cloud_account_id=: (String _) -> String
|
|
63
|
+
|
|
64
|
+
def primary_cloud_ip: -> String?
|
|
65
|
+
|
|
66
|
+
def primary_cloud_ip=: (String _) -> String
|
|
67
|
+
|
|
68
|
+
def primary_telnyx_ip: -> String?
|
|
69
|
+
|
|
70
|
+
def primary_telnyx_ip=: (String _) -> String
|
|
71
|
+
|
|
72
|
+
def secondary_bgp_key: -> String?
|
|
73
|
+
|
|
74
|
+
def secondary_bgp_key=: (String _) -> String
|
|
75
|
+
|
|
76
|
+
def secondary_cloud_account_id: -> String?
|
|
77
|
+
|
|
78
|
+
def secondary_cloud_account_id=: (String _) -> String
|
|
79
|
+
|
|
80
|
+
def secondary_cloud_ip: -> String?
|
|
81
|
+
|
|
82
|
+
def secondary_cloud_ip=: (String _) -> String
|
|
83
|
+
|
|
84
|
+
def secondary_telnyx_ip: -> String?
|
|
85
|
+
|
|
86
|
+
def secondary_telnyx_ip=: (String _) -> String
|
|
87
|
+
|
|
88
|
+
def status: -> Telnyx::Models::interface_status?
|
|
89
|
+
|
|
90
|
+
def status=: (
|
|
91
|
+
Telnyx::Models::interface_status _
|
|
92
|
+
) -> Telnyx::Models::interface_status
|
|
93
|
+
|
|
94
|
+
def primary_enabled: -> bool?
|
|
95
|
+
|
|
96
|
+
def primary_enabled=: (bool _) -> bool
|
|
97
|
+
|
|
98
|
+
def secondary_enabled: -> bool?
|
|
99
|
+
|
|
100
|
+
def secondary_enabled=: (bool _) -> bool
|
|
101
|
+
|
|
102
|
+
def initialize: (
|
|
103
|
+
region_code: String,
|
|
104
|
+
?name: String,
|
|
105
|
+
?network_id: String,
|
|
106
|
+
?status: Telnyx::Models::interface_status,
|
|
107
|
+
?bandwidth_mbps: Float,
|
|
108
|
+
?bgp_asn: Float,
|
|
109
|
+
?cloud_provider: Telnyx::Models::VirtualCrossConnectCreate::cloud_provider,
|
|
110
|
+
?cloud_provider_region: String,
|
|
111
|
+
?primary_bgp_key: String,
|
|
112
|
+
?primary_cloud_account_id: String,
|
|
113
|
+
?primary_cloud_ip: String,
|
|
114
|
+
?primary_enabled: bool,
|
|
115
|
+
?primary_telnyx_ip: String,
|
|
116
|
+
?secondary_bgp_key: String,
|
|
117
|
+
?secondary_cloud_account_id: String,
|
|
118
|
+
?secondary_cloud_ip: String,
|
|
119
|
+
?secondary_enabled: bool,
|
|
120
|
+
?secondary_telnyx_ip: String
|
|
121
|
+
) -> void
|
|
122
|
+
|
|
123
|
+
def to_hash: -> {
|
|
124
|
+
name: String,
|
|
125
|
+
network_id: String,
|
|
126
|
+
status: Telnyx::Models::interface_status,
|
|
127
|
+
region_code: String,
|
|
128
|
+
bandwidth_mbps: Float,
|
|
129
|
+
bgp_asn: Float,
|
|
130
|
+
cloud_provider: Telnyx::Models::VirtualCrossConnectCreate::cloud_provider,
|
|
131
|
+
cloud_provider_region: String,
|
|
132
|
+
primary_bgp_key: String,
|
|
133
|
+
primary_cloud_account_id: String,
|
|
134
|
+
primary_cloud_ip: String,
|
|
135
|
+
primary_enabled: bool,
|
|
136
|
+
primary_telnyx_ip: String,
|
|
137
|
+
secondary_bgp_key: String,
|
|
138
|
+
secondary_cloud_account_id: String,
|
|
139
|
+
secondary_cloud_ip: String,
|
|
140
|
+
secondary_enabled: bool,
|
|
141
|
+
secondary_telnyx_ip: String
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
type cloud_provider = :aws | :azure | :gce
|
|
14
145
|
|
|
15
146
|
module CloudProvider
|
|
16
147
|
extend Telnyx::Internal::Type::Enum
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
module Telnyx
|
|
2
|
+
module Models
|
|
3
|
+
module Whatsapp
|
|
4
|
+
type phone_number_retrieve_conversation_window_params =
|
|
5
|
+
{ phone_number: String, destination_number: String }
|
|
6
|
+
& Telnyx::Internal::Type::request_parameters
|
|
7
|
+
|
|
8
|
+
class PhoneNumberRetrieveConversationWindowParams < Telnyx::Internal::Type::BaseModel
|
|
9
|
+
extend Telnyx::Internal::Type::RequestParameters::Converter
|
|
10
|
+
include Telnyx::Internal::Type::RequestParameters
|
|
11
|
+
|
|
12
|
+
attr_accessor phone_number: String
|
|
13
|
+
|
|
14
|
+
attr_accessor destination_number: String
|
|
15
|
+
|
|
16
|
+
def initialize: (
|
|
17
|
+
phone_number: String,
|
|
18
|
+
destination_number: String,
|
|
19
|
+
?request_options: Telnyx::request_opts
|
|
20
|
+
) -> void
|
|
21
|
+
|
|
22
|
+
def to_hash: -> {
|
|
23
|
+
phone_number: String,
|
|
24
|
+
destination_number: String,
|
|
25
|
+
request_options: Telnyx::RequestOptions
|
|
26
|
+
}
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
end
|
|
30
|
+
end
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
module Telnyx
|
|
2
|
+
module Models
|
|
3
|
+
module Whatsapp
|
|
4
|
+
type phone_number_retrieve_conversation_window_response =
|
|
5
|
+
{
|
|
6
|
+
data: Telnyx::Models::Whatsapp::PhoneNumberRetrieveConversationWindowResponse::Data
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
class PhoneNumberRetrieveConversationWindowResponse < Telnyx::Internal::Type::BaseModel
|
|
10
|
+
attr_reader data: Telnyx::Models::Whatsapp::PhoneNumberRetrieveConversationWindowResponse::Data?
|
|
11
|
+
|
|
12
|
+
def data=: (
|
|
13
|
+
Telnyx::Models::Whatsapp::PhoneNumberRetrieveConversationWindowResponse::Data
|
|
14
|
+
) -> Telnyx::Models::Whatsapp::PhoneNumberRetrieveConversationWindowResponse::Data
|
|
15
|
+
|
|
16
|
+
def initialize: (
|
|
17
|
+
?data: Telnyx::Models::Whatsapp::PhoneNumberRetrieveConversationWindowResponse::Data
|
|
18
|
+
) -> void
|
|
19
|
+
|
|
20
|
+
def to_hash: -> {
|
|
21
|
+
data: Telnyx::Models::Whatsapp::PhoneNumberRetrieveConversationWindowResponse::Data
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
type data =
|
|
25
|
+
{
|
|
26
|
+
last_user_message_at: Time,
|
|
27
|
+
window_active: bool,
|
|
28
|
+
window_expires_at: Time,
|
|
29
|
+
window_type: String
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
class Data < Telnyx::Internal::Type::BaseModel
|
|
33
|
+
attr_reader last_user_message_at: Time?
|
|
34
|
+
|
|
35
|
+
def last_user_message_at=: (Time) -> Time
|
|
36
|
+
|
|
37
|
+
attr_reader window_active: bool?
|
|
38
|
+
|
|
39
|
+
def window_active=: (bool) -> bool
|
|
40
|
+
|
|
41
|
+
attr_reader window_expires_at: Time?
|
|
42
|
+
|
|
43
|
+
def window_expires_at=: (Time) -> Time
|
|
44
|
+
|
|
45
|
+
attr_reader window_type: String?
|
|
46
|
+
|
|
47
|
+
def window_type=: (String) -> String
|
|
48
|
+
|
|
49
|
+
def initialize: (
|
|
50
|
+
?last_user_message_at: Time,
|
|
51
|
+
?window_active: bool,
|
|
52
|
+
?window_expires_at: Time,
|
|
53
|
+
?window_type: String
|
|
54
|
+
) -> void
|
|
55
|
+
|
|
56
|
+
def to_hash: -> {
|
|
57
|
+
last_user_message_at: Time,
|
|
58
|
+
window_active: bool,
|
|
59
|
+
window_expires_at: Time,
|
|
60
|
+
window_type: String
|
|
61
|
+
}
|
|
62
|
+
end
|
|
63
|
+
end
|
|
64
|
+
end
|
|
65
|
+
end
|
|
66
|
+
end
|
|
@@ -1,11 +1,42 @@
|
|
|
1
1
|
module Telnyx
|
|
2
2
|
module Models
|
|
3
|
-
type wireguard_interface =
|
|
3
|
+
type wireguard_interface =
|
|
4
|
+
{
|
|
5
|
+
name: String,
|
|
6
|
+
network_id: String,
|
|
7
|
+
status: Telnyx::Models::interface_status,
|
|
8
|
+
enable_sip_trunking: bool,
|
|
9
|
+
endpoint: String,
|
|
10
|
+
public_key: String
|
|
11
|
+
}
|
|
4
12
|
|
|
5
13
|
class WireguardInterface < Telnyx::Models::Record
|
|
6
|
-
def
|
|
14
|
+
def name: -> String?
|
|
7
15
|
|
|
8
|
-
def
|
|
16
|
+
def name=: (String _) -> String
|
|
17
|
+
|
|
18
|
+
def network_id: -> String?
|
|
19
|
+
|
|
20
|
+
def network_id=: (String _) -> String
|
|
21
|
+
|
|
22
|
+
def enable_sip_trunking: -> bool?
|
|
23
|
+
|
|
24
|
+
def enable_sip_trunking=: (bool _) -> bool
|
|
25
|
+
|
|
26
|
+
def initialize: (
|
|
27
|
+
?name: String,
|
|
28
|
+
?network_id: String,
|
|
29
|
+
?enable_sip_trunking: bool
|
|
30
|
+
) -> void
|
|
31
|
+
|
|
32
|
+
def to_hash: -> {
|
|
33
|
+
name: String,
|
|
34
|
+
network_id: String,
|
|
35
|
+
status: Telnyx::Models::interface_status,
|
|
36
|
+
enable_sip_trunking: bool,
|
|
37
|
+
endpoint: String,
|
|
38
|
+
public_key: String
|
|
39
|
+
}
|
|
9
40
|
end
|
|
10
41
|
end
|
|
11
42
|
end
|
data/sig/telnyx/models.rbs
CHANGED
|
@@ -525,7 +525,6 @@ module Telnyx
|
|
|
525
525
|
|
|
526
526
|
class DirListParams = Telnyx::Models::DirListParams
|
|
527
527
|
|
|
528
|
-
class DirLoaParams = Telnyx::Models::DirLoaParams
|
|
529
528
|
class DirNewLoaParams = Telnyx::Models::DirNewLoaParams
|
|
530
529
|
|
|
531
530
|
class DirRetrieveParams = Telnyx::Models::DirRetrieveParams
|
data/sig/telnyx/resources/ai.rbs
CHANGED
|
@@ -32,8 +32,6 @@ module Telnyx
|
|
|
32
32
|
|
|
33
33
|
def retrieve_conversation_histories: (
|
|
34
34
|
q: String,
|
|
35
|
-
record_type: Telnyx::Models::AIRetrieveConversationHistoriesParams::record_type,
|
|
36
|
-
?filter_document_id: String,
|
|
37
35
|
?filter_ingested_at_gte: Time,
|
|
38
36
|
?filter_ingested_at_lte: Time,
|
|
39
37
|
?filter_record_created_at_gte: Time,
|
|
@@ -43,8 +41,9 @@ module Telnyx
|
|
|
43
41
|
?filter_retention: String,
|
|
44
42
|
?filter_user_id: String,
|
|
45
43
|
?min_score: Float,
|
|
44
|
+
?page_number: Integer,
|
|
45
|
+
?page_size: Integer,
|
|
46
46
|
?region: Telnyx::Models::AIRetrieveConversationHistoriesParams::region,
|
|
47
|
-
?top_k: Integer,
|
|
48
47
|
?request_options: Telnyx::request_opts
|
|
49
48
|
) -> Telnyx::Models::AIRetrieveConversationHistoriesResponse
|
|
50
49
|
|