telnyx 5.166.0 → 5.168.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 +19 -0
- data/README.md +1 -1
- data/lib/telnyx/client.rb +4 -0
- data/lib/telnyx/internal/default_flat_pagination.rb +7 -3
- data/lib/telnyx/internal/default_flat_pagination_for_inexplicit_number_orders.rb +7 -3
- data/lib/telnyx/internal/default_flat_pagination_top_level_array.rb +10 -8
- data/lib/telnyx/internal/default_pagination_for_log_messages.rb +7 -3
- data/lib/telnyx/internal/default_pagination_for_messaging_tollfree.rb +12 -3
- data/lib/telnyx/internal/default_pagination_for_queues.rb +12 -3
- data/lib/telnyx/internal/per_page_pagination.rb +8 -1
- data/lib/telnyx/internal/per_page_pagination_v2.rb +8 -1
- data/lib/telnyx/internal/type/converter.rb +2 -0
- data/lib/telnyx/models/ai/anthropic/v1_messages_params.rb +57 -1
- data/lib/telnyx/models/ai/assistant_a2_a_agent.rb +195 -0
- data/lib/telnyx/models/ai/assistant_create_params.rb +16 -1
- data/lib/telnyx/models/ai/assistant_update_params.rb +17 -1
- data/lib/telnyx/models/ai/assistants/update_assistant.rb +17 -1
- data/lib/telnyx/models/ai/chat_completion_request.rb +185 -48
- data/lib/telnyx/models/ai/inference_embedding.rb +16 -1
- data/lib/telnyx/models/ai/openai_create_response_params.rb +57 -1
- data/lib/telnyx/models/ai/telephony_settings.rb +15 -1
- data/lib/telnyx/models/compute/func_retrieve_logs_params.rb +66 -0
- data/lib/telnyx/models/compute/func_retrieve_logs_response.rb +161 -0
- data/lib/telnyx/models/compute/func_retrieve_metric_aggregates_params.rb +69 -0
- data/lib/telnyx/models/compute/func_retrieve_metric_aggregates_response.rb +137 -0
- data/lib/telnyx/models/compute/func_retrieve_revisions_params.rb +34 -0
- data/lib/telnyx/models/compute/func_retrieve_revisions_response.rb +101 -0
- data/lib/telnyx/models/compute/func_retrieve_ship_inspection_params.rb +22 -0
- data/lib/telnyx/models/compute/func_retrieve_ship_inspection_response.rb +94 -0
- data/lib/telnyx/models/compute/functions_observability_pagination_meta.rb +35 -0
- data/lib/telnyx/models/compute/logs_meta.rb +23 -0
- data/lib/telnyx/models/credential_connection.rb +4 -1
- data/lib/telnyx/models/email_inboxes/email_message.rb +12 -1
- data/lib/telnyx/models/email_message_batch_params.rb +4 -1
- data/lib/telnyx/models/email_message_batch_response.rb +1 -0
- data/lib/telnyx/models/fqdn_connection.rb +5 -2
- data/lib/telnyx/models/fqdn_connections/fqdn_authentication.rb +9 -2
- data/lib/telnyx/models/messaging_inbound_message_payload.rb +210 -67
- data/lib/telnyx/models/messaging_messaging_profile.rb +284 -0
- data/lib/telnyx/models/messaging_profile.rb +0 -1
- data/lib/telnyx/models/messaging_profile_create_params.rb +11 -1
- data/lib/telnyx/models/messaging_profile_create_response.rb +3 -3
- data/lib/telnyx/models/messaging_profile_delete_response.rb +3 -3
- data/lib/telnyx/models/messaging_profile_features.rb +26 -0
- data/lib/telnyx/models/messaging_profile_retrieve_response.rb +3 -3
- data/lib/telnyx/models/messaging_profile_update_params.rb +32 -1
- data/lib/telnyx/models/messaging_profile_update_response.rb +3 -3
- data/lib/telnyx/models/messaging_profiles/action_regenerate_secret_response.rb +3 -3
- data/lib/telnyx/models/uac_connection.rb +4 -1
- data/lib/telnyx/models/uac_external_settings.rb +6 -2
- data/lib/telnyx/models/unsafe_unwrap_webhook_event.rb +5 -1
- data/lib/telnyx/models/unwrap_webhook_event.rb +5 -1
- data/lib/telnyx/models/whatsapp/business_accounts/phone_number_list_response.rb +104 -1
- data/lib/telnyx/models/whatsapp/phone_number_get_response.rb +103 -1
- data/lib/telnyx/models/whatsapp/phone_number_list_response.rb +103 -1
- data/lib/telnyx/models/whatsapp/phone_number_retrieve_phone_number_params.rb +22 -0
- data/lib/telnyx/models/whatsapp/phone_number_retrieve_phone_number_response.rb +207 -0
- data/lib/telnyx/models/whatsapp_account_update.rb +112 -0
- data/lib/telnyx/models/whatsapp_message_echo.rb +340 -0
- data/lib/telnyx/models/x402/credit_account/payment_list_params.rb +34 -0
- data/lib/telnyx/models/x402/credit_account/payment_retrieve_params.rb +24 -0
- data/lib/telnyx/models/x402/credit_account/payment_retrieve_response.rb +21 -0
- data/lib/telnyx/models/x402/credit_account/x402_transaction_record.rb +113 -0
- data/lib/telnyx/models.rb +10 -0
- data/lib/telnyx/resources/ai/anthropic/v1.rb +5 -1
- data/lib/telnyx/resources/ai/assistants/versions.rb +3 -1
- data/lib/telnyx/resources/ai/assistants.rb +6 -2
- data/lib/telnyx/resources/ai/openai/chat.rb +6 -8
- data/lib/telnyx/resources/ai/openai.rb +5 -1
- data/lib/telnyx/resources/compute/funcs.rb +141 -0
- data/lib/telnyx/resources/compute.rb +18 -0
- data/lib/telnyx/resources/email_messages.rb +4 -2
- data/lib/telnyx/resources/messaging_profiles.rb +12 -4
- data/lib/telnyx/resources/webhooks.rb +2 -2
- data/lib/telnyx/resources/whatsapp/phone_numbers.rb +22 -0
- data/lib/telnyx/resources/x402/credit_account/payments.rb +71 -0
- data/lib/telnyx/resources/x402/credit_account.rb +8 -2
- data/lib/telnyx/version.rb +1 -1
- data/lib/telnyx.rb +24 -0
- data/rbi/telnyx/client.rbi +3 -0
- data/rbi/telnyx/models/ai/anthropic/v1_messages_params.rbi +139 -0
- data/rbi/telnyx/models/ai/assistant_a2_a_agent.rbi +345 -0
- data/rbi/telnyx/models/ai/assistant_create_params.rbi +29 -0
- data/rbi/telnyx/models/ai/assistant_update_params.rbi +31 -0
- data/rbi/telnyx/models/ai/assistants/update_assistant.rbi +31 -0
- data/rbi/telnyx/models/ai/chat_completion_request.rbi +339 -91
- data/rbi/telnyx/models/ai/inference_embedding.rbi +29 -0
- data/rbi/telnyx/models/ai/openai_create_response_params.rbi +136 -0
- data/rbi/telnyx/models/ai/telephony_settings.rbi +23 -0
- data/rbi/telnyx/models/compute/func_retrieve_logs_params.rbi +130 -0
- data/rbi/telnyx/models/compute/func_retrieve_logs_response.rbi +410 -0
- data/rbi/telnyx/models/compute/func_retrieve_metric_aggregates_params.rbi +102 -0
- data/rbi/telnyx/models/compute/func_retrieve_metric_aggregates_response.rbi +231 -0
- data/rbi/telnyx/models/compute/func_retrieve_revisions_params.rbi +59 -0
- data/rbi/telnyx/models/compute/func_retrieve_revisions_response.rbi +213 -0
- data/rbi/telnyx/models/compute/func_retrieve_ship_inspection_params.rbi +40 -0
- data/rbi/telnyx/models/compute/func_retrieve_ship_inspection_response.rbi +252 -0
- data/rbi/telnyx/models/compute/functions_observability_pagination_meta.rbi +70 -0
- data/rbi/telnyx/models/compute/logs_meta.rbi +38 -0
- data/rbi/telnyx/models/credential_connection.rbi +8 -2
- data/rbi/telnyx/models/email_inboxes/email_message.rbi +22 -3
- data/rbi/telnyx/models/email_message_batch_params.rbi +6 -0
- data/rbi/telnyx/models/email_message_batch_response.rbi +5 -0
- data/rbi/telnyx/models/fqdn_connection.rbi +8 -2
- data/rbi/telnyx/models/fqdn_connections/fqdn_authentication.rbi +8 -2
- data/rbi/telnyx/models/messaging_inbound_message_payload.rbi +450 -193
- data/rbi/telnyx/models/messaging_messaging_profile.rbi +463 -0
- data/rbi/telnyx/models/messaging_profile.rbi +4 -6
- data/rbi/telnyx/models/messaging_profile_create_params.rbi +19 -0
- data/rbi/telnyx/models/messaging_profile_create_response.rbi +6 -4
- data/rbi/telnyx/models/messaging_profile_delete_response.rbi +6 -4
- data/rbi/telnyx/models/messaging_profile_features.rbi +43 -0
- data/rbi/telnyx/models/messaging_profile_retrieve_response.rbi +6 -4
- data/rbi/telnyx/models/messaging_profile_update_params.rbi +51 -0
- data/rbi/telnyx/models/messaging_profile_update_response.rbi +6 -4
- data/rbi/telnyx/models/messaging_profiles/action_regenerate_secret_response.rbi +4 -4
- data/rbi/telnyx/models/uac_connection.rbi +8 -2
- data/rbi/telnyx/models/uac_external_settings.rbi +10 -2
- data/rbi/telnyx/models/unsafe_unwrap_webhook_event.rbi +3 -1
- data/rbi/telnyx/models/unwrap_webhook_event.rbi +3 -1
- data/rbi/telnyx/models/whatsapp/business_accounts/phone_number_list_response.rbi +213 -0
- data/rbi/telnyx/models/whatsapp/phone_number_get_response.rbi +213 -0
- data/rbi/telnyx/models/whatsapp/phone_number_list_response.rbi +213 -0
- data/rbi/telnyx/models/whatsapp/phone_number_retrieve_phone_number_params.rbi +40 -0
- data/rbi/telnyx/models/whatsapp/phone_number_retrieve_phone_number_response.rbi +401 -0
- data/rbi/telnyx/models/whatsapp_account_update.rbi +236 -0
- data/rbi/telnyx/models/whatsapp_message_echo.rbi +611 -0
- data/rbi/telnyx/models/x402/credit_account/payment_list_params.rbi +64 -0
- data/rbi/telnyx/models/x402/credit_account/payment_retrieve_params.rbi +42 -0
- data/rbi/telnyx/models/x402/credit_account/payment_retrieve_response.rbi +53 -0
- data/rbi/telnyx/models/x402/credit_account/x402_transaction_record.rbi +219 -0
- data/rbi/telnyx/models.rbi +10 -0
- data/rbi/telnyx/resources/ai/anthropic/v1.rbi +14 -0
- data/rbi/telnyx/resources/ai/assistants/versions.rbi +12 -0
- data/rbi/telnyx/resources/ai/assistants.rbi +21 -0
- data/rbi/telnyx/resources/ai/openai/chat.rbi +23 -13
- data/rbi/telnyx/resources/ai/openai.rbi +14 -0
- data/rbi/telnyx/resources/compute/funcs.rbi +111 -0
- data/rbi/telnyx/resources/compute.rbi +15 -0
- data/rbi/telnyx/resources/email_messages.rbi +6 -2
- data/rbi/telnyx/resources/messaging_profiles.rbi +24 -1
- data/rbi/telnyx/resources/webhooks.rbi +6 -2
- data/rbi/telnyx/resources/whatsapp/phone_numbers.rbi +18 -0
- data/rbi/telnyx/resources/x402/credit_account/payments.rbi +60 -0
- data/rbi/telnyx/resources/x402/credit_account.rbi +5 -0
- data/sig/telnyx/client.rbs +2 -0
- data/sig/telnyx/models/ai/anthropic/v1_messages_params.rbs +42 -0
- data/sig/telnyx/models/ai/assistant_a2_a_agent.rbs +140 -0
- data/sig/telnyx/models/ai/assistant_create_params.rbs +9 -0
- data/sig/telnyx/models/ai/assistant_update_params.rbs +9 -0
- data/sig/telnyx/models/ai/assistants/update_assistant.rbs +9 -0
- data/sig/telnyx/models/ai/chat_completion_request.rbs +128 -44
- data/sig/telnyx/models/ai/inference_embedding.rbs +9 -0
- data/sig/telnyx/models/ai/openai_create_response_params.rbs +42 -0
- data/sig/telnyx/models/ai/telephony_settings.rbs +7 -0
- data/sig/telnyx/models/compute/func_retrieve_logs_params.rbs +69 -0
- data/sig/telnyx/models/compute/func_retrieve_logs_response.rbs +210 -0
- data/sig/telnyx/models/compute/func_retrieve_metric_aggregates_params.rbs +66 -0
- data/sig/telnyx/models/compute/func_retrieve_metric_aggregates_response.rbs +149 -0
- data/sig/telnyx/models/compute/func_retrieve_revisions_params.rbs +38 -0
- data/sig/telnyx/models/compute/func_retrieve_revisions_response.rbs +131 -0
- data/sig/telnyx/models/compute/func_retrieve_ship_inspection_params.rbs +22 -0
- data/sig/telnyx/models/compute/func_retrieve_ship_inspection_response.rbs +117 -0
- data/sig/telnyx/models/compute/functions_observability_pagination_meta.rbs +45 -0
- data/sig/telnyx/models/compute/logs_meta.rbs +21 -0
- data/sig/telnyx/models/email_inboxes/email_message.rbs +12 -3
- data/sig/telnyx/models/email_message_batch_response.rbs +2 -0
- data/sig/telnyx/models/messaging_inbound_message_payload.rbs +207 -95
- data/sig/telnyx/models/messaging_messaging_profile.rbs +212 -0
- data/sig/telnyx/models/messaging_profile_create_params.rbs +5 -0
- data/sig/telnyx/models/messaging_profile_create_response.rbs +8 -5
- data/sig/telnyx/models/messaging_profile_delete_response.rbs +8 -5
- data/sig/telnyx/models/messaging_profile_features.rbs +15 -0
- data/sig/telnyx/models/messaging_profile_retrieve_response.rbs +7 -5
- data/sig/telnyx/models/messaging_profile_update_params.rbs +19 -0
- data/sig/telnyx/models/messaging_profile_update_response.rbs +8 -5
- data/sig/telnyx/models/messaging_profiles/action_regenerate_secret_response.rbs +7 -5
- data/sig/telnyx/models/unsafe_unwrap_webhook_event.rbs +2 -0
- data/sig/telnyx/models/unwrap_webhook_event.rbs +2 -0
- data/sig/telnyx/models/whatsapp/business_accounts/phone_number_list_response.rbs +90 -0
- data/sig/telnyx/models/whatsapp/phone_number_get_response.rbs +90 -0
- data/sig/telnyx/models/whatsapp/phone_number_list_response.rbs +90 -0
- data/sig/telnyx/models/whatsapp/phone_number_retrieve_phone_number_params.rbs +25 -0
- data/sig/telnyx/models/whatsapp/phone_number_retrieve_phone_number_response.rbs +201 -0
- data/sig/telnyx/models/whatsapp_account_update.rbs +107 -0
- data/sig/telnyx/models/whatsapp_message_echo.rbs +291 -0
- data/sig/telnyx/models/x402/credit_account/payment_list_params.rbs +36 -0
- data/sig/telnyx/models/x402/credit_account/payment_retrieve_params.rbs +27 -0
- data/sig/telnyx/models/x402/credit_account/payment_retrieve_response.rbs +26 -0
- data/sig/telnyx/models/x402/credit_account/x402_transaction_record.rbs +104 -0
- data/sig/telnyx/models.rbs +10 -0
- data/sig/telnyx/resources/ai/anthropic/v1.rbs +2 -0
- data/sig/telnyx/resources/ai/assistants/versions.rbs +1 -0
- data/sig/telnyx/resources/ai/assistants.rbs +2 -0
- data/sig/telnyx/resources/ai/openai/chat.rbs +3 -4
- data/sig/telnyx/resources/ai/openai.rbs +2 -0
- data/sig/telnyx/resources/compute/funcs.rbs +41 -0
- data/sig/telnyx/resources/compute.rbs +9 -0
- data/sig/telnyx/resources/messaging_profiles.rbs +5 -1
- data/sig/telnyx/resources/webhooks.rbs +6 -2
- data/sig/telnyx/resources/whatsapp/phone_numbers.rbs +5 -0
- data/sig/telnyx/resources/x402/credit_account/payments.rbs +22 -0
- data/sig/telnyx/resources/x402/credit_account.rbs +2 -0
- metadata +74 -2
|
@@ -0,0 +1,291 @@
|
|
|
1
|
+
module Telnyx
|
|
2
|
+
module Models
|
|
3
|
+
type whatsapp_message_echo = { data: Telnyx::WhatsappMessageEcho::Data }
|
|
4
|
+
|
|
5
|
+
class WhatsappMessageEcho < Telnyx::Internal::Type::BaseModel
|
|
6
|
+
attr_accessor data: Telnyx::WhatsappMessageEcho::Data
|
|
7
|
+
|
|
8
|
+
def initialize: (data: Telnyx::WhatsappMessageEcho::Data) -> void
|
|
9
|
+
|
|
10
|
+
def to_hash: -> { data: Telnyx::WhatsappMessageEcho::Data }
|
|
11
|
+
|
|
12
|
+
type data =
|
|
13
|
+
{
|
|
14
|
+
id: String,
|
|
15
|
+
event_type: Telnyx::Models::WhatsappMessageEcho::Data::event_type,
|
|
16
|
+
occurred_at: Time,
|
|
17
|
+
payload: Telnyx::WhatsappMessageEcho::Data::Payload,
|
|
18
|
+
record_type: Telnyx::Models::WhatsappMessageEcho::Data::record_type
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
class Data < Telnyx::Internal::Type::BaseModel
|
|
22
|
+
attr_accessor id: String
|
|
23
|
+
|
|
24
|
+
attr_accessor event_type: Telnyx::Models::WhatsappMessageEcho::Data::event_type
|
|
25
|
+
|
|
26
|
+
attr_accessor occurred_at: Time
|
|
27
|
+
|
|
28
|
+
attr_accessor payload: Telnyx::WhatsappMessageEcho::Data::Payload
|
|
29
|
+
|
|
30
|
+
attr_accessor record_type: Telnyx::Models::WhatsappMessageEcho::Data::record_type
|
|
31
|
+
|
|
32
|
+
def initialize: (
|
|
33
|
+
id: String,
|
|
34
|
+
event_type: Telnyx::Models::WhatsappMessageEcho::Data::event_type,
|
|
35
|
+
occurred_at: Time,
|
|
36
|
+
payload: Telnyx::WhatsappMessageEcho::Data::Payload,
|
|
37
|
+
record_type: Telnyx::Models::WhatsappMessageEcho::Data::record_type
|
|
38
|
+
) -> void
|
|
39
|
+
|
|
40
|
+
def to_hash: -> {
|
|
41
|
+
id: String,
|
|
42
|
+
event_type: Telnyx::Models::WhatsappMessageEcho::Data::event_type,
|
|
43
|
+
occurred_at: Time,
|
|
44
|
+
payload: Telnyx::WhatsappMessageEcho::Data::Payload,
|
|
45
|
+
record_type: Telnyx::Models::WhatsappMessageEcho::Data::record_type
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
type event_type = :"message.echo"
|
|
49
|
+
|
|
50
|
+
module EventType
|
|
51
|
+
extend Telnyx::Internal::Type::Enum
|
|
52
|
+
|
|
53
|
+
MESSAGE_ECHO: :"message.echo"
|
|
54
|
+
|
|
55
|
+
def self?.values: -> ::Array[Telnyx::Models::WhatsappMessageEcho::Data::event_type]
|
|
56
|
+
end
|
|
57
|
+
|
|
58
|
+
type payload =
|
|
59
|
+
{
|
|
60
|
+
id: String,
|
|
61
|
+
body: Telnyx::WhatsappMessageEcho::Data::Payload::Body,
|
|
62
|
+
cost: Telnyx::WhatsappMessageEcho::Data::Payload::Cost,
|
|
63
|
+
direction: Telnyx::Models::WhatsappMessageEcho::Data::Payload::direction,
|
|
64
|
+
errors: ::Array[Telnyx::MessagingError0b38e7044b],
|
|
65
|
+
from: Telnyx::WhatsappMessageEcho::Data::Payload::From,
|
|
66
|
+
messaging_profile_id: String,
|
|
67
|
+
organization_id: String,
|
|
68
|
+
origin: Telnyx::Models::WhatsappMessageEcho::Data::Payload::origin,
|
|
69
|
+
record_type: Telnyx::Models::WhatsappMessageEcho::Data::Payload::record_type,
|
|
70
|
+
to: String,
|
|
71
|
+
type: Telnyx::Models::WhatsappMessageEcho::Data::Payload::type_,
|
|
72
|
+
received_at: Time,
|
|
73
|
+
tags: ::Array[String],
|
|
74
|
+
webhook_failover_url: String?,
|
|
75
|
+
webhook_url: String?
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
class Payload < Telnyx::Internal::Type::BaseModel
|
|
79
|
+
attr_accessor id: String
|
|
80
|
+
|
|
81
|
+
attr_accessor body: Telnyx::WhatsappMessageEcho::Data::Payload::Body
|
|
82
|
+
|
|
83
|
+
attr_accessor cost: Telnyx::WhatsappMessageEcho::Data::Payload::Cost
|
|
84
|
+
|
|
85
|
+
attr_accessor direction: Telnyx::Models::WhatsappMessageEcho::Data::Payload::direction
|
|
86
|
+
|
|
87
|
+
attr_accessor errors: ::Array[Telnyx::MessagingError0b38e7044b]
|
|
88
|
+
|
|
89
|
+
attr_accessor from: Telnyx::WhatsappMessageEcho::Data::Payload::From
|
|
90
|
+
|
|
91
|
+
attr_accessor messaging_profile_id: String
|
|
92
|
+
|
|
93
|
+
attr_accessor organization_id: String
|
|
94
|
+
|
|
95
|
+
attr_accessor origin: Telnyx::Models::WhatsappMessageEcho::Data::Payload::origin
|
|
96
|
+
|
|
97
|
+
attr_accessor record_type: Telnyx::Models::WhatsappMessageEcho::Data::Payload::record_type
|
|
98
|
+
|
|
99
|
+
attr_accessor to: String
|
|
100
|
+
|
|
101
|
+
attr_accessor type: Telnyx::Models::WhatsappMessageEcho::Data::Payload::type_
|
|
102
|
+
|
|
103
|
+
attr_reader received_at: Time?
|
|
104
|
+
|
|
105
|
+
def received_at=: (Time) -> Time
|
|
106
|
+
|
|
107
|
+
attr_reader tags: ::Array[String]?
|
|
108
|
+
|
|
109
|
+
def tags=: (::Array[String]) -> ::Array[String]
|
|
110
|
+
|
|
111
|
+
attr_accessor webhook_failover_url: String?
|
|
112
|
+
|
|
113
|
+
attr_accessor webhook_url: String?
|
|
114
|
+
|
|
115
|
+
def initialize: (
|
|
116
|
+
id: String,
|
|
117
|
+
body: Telnyx::WhatsappMessageEcho::Data::Payload::Body,
|
|
118
|
+
cost: Telnyx::WhatsappMessageEcho::Data::Payload::Cost,
|
|
119
|
+
direction: Telnyx::Models::WhatsappMessageEcho::Data::Payload::direction,
|
|
120
|
+
errors: ::Array[Telnyx::MessagingError0b38e7044b],
|
|
121
|
+
from: Telnyx::WhatsappMessageEcho::Data::Payload::From,
|
|
122
|
+
messaging_profile_id: String,
|
|
123
|
+
organization_id: String,
|
|
124
|
+
origin: Telnyx::Models::WhatsappMessageEcho::Data::Payload::origin,
|
|
125
|
+
record_type: Telnyx::Models::WhatsappMessageEcho::Data::Payload::record_type,
|
|
126
|
+
to: String,
|
|
127
|
+
type: Telnyx::Models::WhatsappMessageEcho::Data::Payload::type_,
|
|
128
|
+
?received_at: Time,
|
|
129
|
+
?tags: ::Array[String],
|
|
130
|
+
?webhook_failover_url: String?,
|
|
131
|
+
?webhook_url: String?
|
|
132
|
+
) -> void
|
|
133
|
+
|
|
134
|
+
def to_hash: -> {
|
|
135
|
+
id: String,
|
|
136
|
+
body: Telnyx::WhatsappMessageEcho::Data::Payload::Body,
|
|
137
|
+
cost: Telnyx::WhatsappMessageEcho::Data::Payload::Cost,
|
|
138
|
+
direction: Telnyx::Models::WhatsappMessageEcho::Data::Payload::direction,
|
|
139
|
+
errors: ::Array[Telnyx::MessagingError0b38e7044b],
|
|
140
|
+
from: Telnyx::WhatsappMessageEcho::Data::Payload::From,
|
|
141
|
+
messaging_profile_id: String,
|
|
142
|
+
organization_id: String,
|
|
143
|
+
origin: Telnyx::Models::WhatsappMessageEcho::Data::Payload::origin,
|
|
144
|
+
record_type: Telnyx::Models::WhatsappMessageEcho::Data::Payload::record_type,
|
|
145
|
+
to: String,
|
|
146
|
+
type: Telnyx::Models::WhatsappMessageEcho::Data::Payload::type_,
|
|
147
|
+
received_at: Time,
|
|
148
|
+
tags: ::Array[String],
|
|
149
|
+
webhook_failover_url: String?,
|
|
150
|
+
webhook_url: String?
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
type body =
|
|
154
|
+
{
|
|
155
|
+
id: String,
|
|
156
|
+
foreign_id: String,
|
|
157
|
+
timestamp: String,
|
|
158
|
+
type: String,
|
|
159
|
+
from: String,
|
|
160
|
+
from_user_id: String
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
class Body < Telnyx::Internal::Type::BaseModel
|
|
164
|
+
attr_accessor id: String
|
|
165
|
+
|
|
166
|
+
attr_accessor foreign_id: String
|
|
167
|
+
|
|
168
|
+
attr_accessor timestamp: String
|
|
169
|
+
|
|
170
|
+
attr_accessor type: String
|
|
171
|
+
|
|
172
|
+
attr_reader from: String?
|
|
173
|
+
|
|
174
|
+
def from=: (String) -> String
|
|
175
|
+
|
|
176
|
+
attr_reader from_user_id: String?
|
|
177
|
+
|
|
178
|
+
def from_user_id=: (String) -> String
|
|
179
|
+
|
|
180
|
+
def initialize: (
|
|
181
|
+
id: String,
|
|
182
|
+
foreign_id: String,
|
|
183
|
+
timestamp: String,
|
|
184
|
+
type: String,
|
|
185
|
+
?from: String,
|
|
186
|
+
?from_user_id: String
|
|
187
|
+
) -> void
|
|
188
|
+
|
|
189
|
+
def to_hash: -> {
|
|
190
|
+
id: String,
|
|
191
|
+
foreign_id: String,
|
|
192
|
+
timestamp: String,
|
|
193
|
+
type: String,
|
|
194
|
+
from: String,
|
|
195
|
+
from_user_id: String
|
|
196
|
+
}
|
|
197
|
+
end
|
|
198
|
+
|
|
199
|
+
type cost = { amount: String?, currency: String? }
|
|
200
|
+
|
|
201
|
+
class Cost < Telnyx::Internal::Type::BaseModel
|
|
202
|
+
attr_accessor amount: String?
|
|
203
|
+
|
|
204
|
+
attr_accessor currency: String?
|
|
205
|
+
|
|
206
|
+
def initialize: (?amount: String?, ?currency: String?) -> void
|
|
207
|
+
|
|
208
|
+
def to_hash: -> { amount: String?, currency: String? }
|
|
209
|
+
end
|
|
210
|
+
|
|
211
|
+
type direction = :outbound
|
|
212
|
+
|
|
213
|
+
module Direction
|
|
214
|
+
extend Telnyx::Internal::Type::Enum
|
|
215
|
+
|
|
216
|
+
OUTBOUND: :outbound
|
|
217
|
+
|
|
218
|
+
def self?.values: -> ::Array[Telnyx::Models::WhatsappMessageEcho::Data::Payload::direction]
|
|
219
|
+
end
|
|
220
|
+
|
|
221
|
+
type from =
|
|
222
|
+
{ phone_number: String, carrier: String, line_type: String }
|
|
223
|
+
|
|
224
|
+
class From < Telnyx::Internal::Type::BaseModel
|
|
225
|
+
attr_accessor phone_number: String
|
|
226
|
+
|
|
227
|
+
attr_reader carrier: String?
|
|
228
|
+
|
|
229
|
+
def carrier=: (String) -> String
|
|
230
|
+
|
|
231
|
+
attr_reader line_type: String?
|
|
232
|
+
|
|
233
|
+
def line_type=: (String) -> String
|
|
234
|
+
|
|
235
|
+
def initialize: (
|
|
236
|
+
phone_number: String,
|
|
237
|
+
?carrier: String,
|
|
238
|
+
?line_type: String
|
|
239
|
+
) -> void
|
|
240
|
+
|
|
241
|
+
def to_hash: -> {
|
|
242
|
+
phone_number: String,
|
|
243
|
+
carrier: String,
|
|
244
|
+
line_type: String
|
|
245
|
+
}
|
|
246
|
+
end
|
|
247
|
+
|
|
248
|
+
type origin = :whatsapp_business_app
|
|
249
|
+
|
|
250
|
+
module Origin
|
|
251
|
+
extend Telnyx::Internal::Type::Enum
|
|
252
|
+
|
|
253
|
+
WHATSAPP_BUSINESS_APP: :whatsapp_business_app
|
|
254
|
+
|
|
255
|
+
def self?.values: -> ::Array[Telnyx::Models::WhatsappMessageEcho::Data::Payload::origin]
|
|
256
|
+
end
|
|
257
|
+
|
|
258
|
+
type record_type = :message
|
|
259
|
+
|
|
260
|
+
module RecordType
|
|
261
|
+
extend Telnyx::Internal::Type::Enum
|
|
262
|
+
|
|
263
|
+
MESSAGE: :message
|
|
264
|
+
|
|
265
|
+
def self?.values: -> ::Array[Telnyx::Models::WhatsappMessageEcho::Data::Payload::record_type]
|
|
266
|
+
end
|
|
267
|
+
|
|
268
|
+
type type_ = :WHATSAPP
|
|
269
|
+
|
|
270
|
+
module Type
|
|
271
|
+
extend Telnyx::Internal::Type::Enum
|
|
272
|
+
|
|
273
|
+
WHATSAPP: :WHATSAPP
|
|
274
|
+
|
|
275
|
+
def self?.values: -> ::Array[Telnyx::Models::WhatsappMessageEcho::Data::Payload::type_]
|
|
276
|
+
end
|
|
277
|
+
end
|
|
278
|
+
|
|
279
|
+
type record_type = :event
|
|
280
|
+
|
|
281
|
+
module RecordType
|
|
282
|
+
extend Telnyx::Internal::Type::Enum
|
|
283
|
+
|
|
284
|
+
EVENT: :event
|
|
285
|
+
|
|
286
|
+
def self?.values: -> ::Array[Telnyx::Models::WhatsappMessageEcho::Data::record_type]
|
|
287
|
+
end
|
|
288
|
+
end
|
|
289
|
+
end
|
|
290
|
+
end
|
|
291
|
+
end
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
module Telnyx
|
|
2
|
+
module Models
|
|
3
|
+
module X402
|
|
4
|
+
module CreditAccount
|
|
5
|
+
type payment_list_params =
|
|
6
|
+
{ page_number: Integer, page_size: Integer }
|
|
7
|
+
& Telnyx::Internal::Type::request_parameters
|
|
8
|
+
|
|
9
|
+
class PaymentListParams < Telnyx::Internal::Type::BaseModel
|
|
10
|
+
extend Telnyx::Internal::Type::RequestParameters::Converter
|
|
11
|
+
include Telnyx::Internal::Type::RequestParameters
|
|
12
|
+
|
|
13
|
+
attr_reader page_number: Integer?
|
|
14
|
+
|
|
15
|
+
def page_number=: (Integer) -> Integer
|
|
16
|
+
|
|
17
|
+
attr_reader page_size: Integer?
|
|
18
|
+
|
|
19
|
+
def page_size=: (Integer) -> Integer
|
|
20
|
+
|
|
21
|
+
def initialize: (
|
|
22
|
+
?page_number: Integer,
|
|
23
|
+
?page_size: Integer,
|
|
24
|
+
?request_options: Telnyx::request_opts
|
|
25
|
+
) -> void
|
|
26
|
+
|
|
27
|
+
def to_hash: -> {
|
|
28
|
+
page_number: Integer,
|
|
29
|
+
page_size: Integer,
|
|
30
|
+
request_options: Telnyx::RequestOptions
|
|
31
|
+
}
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
end
|
|
36
|
+
end
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
module Telnyx
|
|
2
|
+
module Models
|
|
3
|
+
module X402
|
|
4
|
+
module CreditAccount
|
|
5
|
+
type payment_retrieve_params =
|
|
6
|
+
{ id: String } & Telnyx::Internal::Type::request_parameters
|
|
7
|
+
|
|
8
|
+
class PaymentRetrieveParams < Telnyx::Internal::Type::BaseModel
|
|
9
|
+
extend Telnyx::Internal::Type::RequestParameters::Converter
|
|
10
|
+
include Telnyx::Internal::Type::RequestParameters
|
|
11
|
+
|
|
12
|
+
attr_accessor id: String
|
|
13
|
+
|
|
14
|
+
def initialize: (
|
|
15
|
+
id: String,
|
|
16
|
+
?request_options: Telnyx::request_opts
|
|
17
|
+
) -> void
|
|
18
|
+
|
|
19
|
+
def to_hash: -> {
|
|
20
|
+
id: String,
|
|
21
|
+
request_options: Telnyx::RequestOptions
|
|
22
|
+
}
|
|
23
|
+
end
|
|
24
|
+
end
|
|
25
|
+
end
|
|
26
|
+
end
|
|
27
|
+
end
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
module Telnyx
|
|
2
|
+
module Models
|
|
3
|
+
module X402
|
|
4
|
+
module CreditAccount
|
|
5
|
+
type payment_retrieve_response =
|
|
6
|
+
{ data: Telnyx::X402::CreditAccount::X402TransactionRecord }
|
|
7
|
+
|
|
8
|
+
class PaymentRetrieveResponse < Telnyx::Internal::Type::BaseModel
|
|
9
|
+
attr_reader data: Telnyx::X402::CreditAccount::X402TransactionRecord?
|
|
10
|
+
|
|
11
|
+
def data=: (
|
|
12
|
+
Telnyx::X402::CreditAccount::X402TransactionRecord
|
|
13
|
+
) -> Telnyx::X402::CreditAccount::X402TransactionRecord
|
|
14
|
+
|
|
15
|
+
def initialize: (
|
|
16
|
+
?data: Telnyx::X402::CreditAccount::X402TransactionRecord
|
|
17
|
+
) -> void
|
|
18
|
+
|
|
19
|
+
def to_hash: -> {
|
|
20
|
+
data: Telnyx::X402::CreditAccount::X402TransactionRecord
|
|
21
|
+
}
|
|
22
|
+
end
|
|
23
|
+
end
|
|
24
|
+
end
|
|
25
|
+
end
|
|
26
|
+
end
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
module Telnyx
|
|
2
|
+
module Models
|
|
3
|
+
module X402
|
|
4
|
+
module CreditAccount
|
|
5
|
+
type x402_transaction_record =
|
|
6
|
+
{
|
|
7
|
+
id: String,
|
|
8
|
+
amount: String,
|
|
9
|
+
created_at: Time,
|
|
10
|
+
currency: String,
|
|
11
|
+
quote_id: String,
|
|
12
|
+
record_type: Telnyx::Models::X402::CreditAccount::X402TransactionRecord::record_type,
|
|
13
|
+
status: Telnyx::Models::X402::CreditAccount::X402TransactionRecord::status,
|
|
14
|
+
tx_hash: String?,
|
|
15
|
+
updated_at: Time
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
class X402TransactionRecord < Telnyx::Internal::Type::BaseModel
|
|
19
|
+
attr_reader id: String?
|
|
20
|
+
|
|
21
|
+
def id=: (String) -> String
|
|
22
|
+
|
|
23
|
+
attr_reader amount: String?
|
|
24
|
+
|
|
25
|
+
def amount=: (String) -> String
|
|
26
|
+
|
|
27
|
+
attr_reader created_at: Time?
|
|
28
|
+
|
|
29
|
+
def created_at=: (Time) -> Time
|
|
30
|
+
|
|
31
|
+
attr_reader currency: String?
|
|
32
|
+
|
|
33
|
+
def currency=: (String) -> String
|
|
34
|
+
|
|
35
|
+
attr_reader quote_id: String?
|
|
36
|
+
|
|
37
|
+
def quote_id=: (String) -> String
|
|
38
|
+
|
|
39
|
+
attr_reader record_type: Telnyx::Models::X402::CreditAccount::X402TransactionRecord::record_type?
|
|
40
|
+
|
|
41
|
+
def record_type=: (
|
|
42
|
+
Telnyx::Models::X402::CreditAccount::X402TransactionRecord::record_type
|
|
43
|
+
) -> Telnyx::Models::X402::CreditAccount::X402TransactionRecord::record_type
|
|
44
|
+
|
|
45
|
+
attr_reader status: Telnyx::Models::X402::CreditAccount::X402TransactionRecord::status?
|
|
46
|
+
|
|
47
|
+
def status=: (
|
|
48
|
+
Telnyx::Models::X402::CreditAccount::X402TransactionRecord::status
|
|
49
|
+
) -> Telnyx::Models::X402::CreditAccount::X402TransactionRecord::status
|
|
50
|
+
|
|
51
|
+
attr_accessor tx_hash: String?
|
|
52
|
+
|
|
53
|
+
attr_reader updated_at: Time?
|
|
54
|
+
|
|
55
|
+
def updated_at=: (Time) -> Time
|
|
56
|
+
|
|
57
|
+
def initialize: (
|
|
58
|
+
?id: String,
|
|
59
|
+
?amount: String,
|
|
60
|
+
?created_at: Time,
|
|
61
|
+
?currency: String,
|
|
62
|
+
?quote_id: String,
|
|
63
|
+
?record_type: Telnyx::Models::X402::CreditAccount::X402TransactionRecord::record_type,
|
|
64
|
+
?status: Telnyx::Models::X402::CreditAccount::X402TransactionRecord::status,
|
|
65
|
+
?tx_hash: String?,
|
|
66
|
+
?updated_at: Time
|
|
67
|
+
) -> void
|
|
68
|
+
|
|
69
|
+
def to_hash: -> {
|
|
70
|
+
id: String,
|
|
71
|
+
amount: String,
|
|
72
|
+
created_at: Time,
|
|
73
|
+
currency: String,
|
|
74
|
+
quote_id: String,
|
|
75
|
+
record_type: Telnyx::Models::X402::CreditAccount::X402TransactionRecord::record_type,
|
|
76
|
+
status: Telnyx::Models::X402::CreditAccount::X402TransactionRecord::status,
|
|
77
|
+
tx_hash: String?,
|
|
78
|
+
updated_at: Time
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
type record_type = :x402_transaction
|
|
82
|
+
|
|
83
|
+
module RecordType
|
|
84
|
+
extend Telnyx::Internal::Type::Enum
|
|
85
|
+
|
|
86
|
+
X402_TRANSACTION: :x402_transaction
|
|
87
|
+
|
|
88
|
+
def self?.values: -> ::Array[Telnyx::Models::X402::CreditAccount::X402TransactionRecord::record_type]
|
|
89
|
+
end
|
|
90
|
+
|
|
91
|
+
type status = :settled
|
|
92
|
+
|
|
93
|
+
module Status
|
|
94
|
+
extend Telnyx::Internal::Type::Enum
|
|
95
|
+
|
|
96
|
+
SETTLED: :settled
|
|
97
|
+
|
|
98
|
+
def self?.values: -> ::Array[Telnyx::Models::X402::CreditAccount::X402TransactionRecord::status]
|
|
99
|
+
end
|
|
100
|
+
end
|
|
101
|
+
end
|
|
102
|
+
end
|
|
103
|
+
end
|
|
104
|
+
end
|
data/sig/telnyx/models.rbs
CHANGED
|
@@ -343,6 +343,8 @@ module Telnyx
|
|
|
343
343
|
|
|
344
344
|
class CommentRetrieveParams = Telnyx::Models::CommentRetrieveParams
|
|
345
345
|
|
|
346
|
+
module Compute = Telnyx::Models::Compute
|
|
347
|
+
|
|
346
348
|
class Conference = Telnyx::Models::Conference
|
|
347
349
|
|
|
348
350
|
class ConferenceCreated = Telnyx::Models::ConferenceCreated
|
|
@@ -1099,6 +1101,8 @@ module Telnyx
|
|
|
1099
1101
|
|
|
1100
1102
|
class MessagingInboundMessagePayload = Telnyx::Models::MessagingInboundMessagePayload
|
|
1101
1103
|
|
|
1104
|
+
class MessagingMessagingProfile = Telnyx::Models::MessagingMessagingProfile
|
|
1105
|
+
|
|
1102
1106
|
module MessagingMetricsTimeFrame = Telnyx::Models::MessagingMetricsTimeFrame
|
|
1103
1107
|
|
|
1104
1108
|
class MessagingNumbersBulkUpdateCreateParams = Telnyx::Models::MessagingNumbersBulkUpdateCreateParams
|
|
@@ -1119,6 +1123,8 @@ module Telnyx
|
|
|
1119
1123
|
|
|
1120
1124
|
class MessagingProfileDeleteParams = Telnyx::Models::MessagingProfileDeleteParams
|
|
1121
1125
|
|
|
1126
|
+
class MessagingProfileFeatures = Telnyx::Models::MessagingProfileFeatures
|
|
1127
|
+
|
|
1122
1128
|
class MessagingProfileListAlphanumericSenderIDsParams = Telnyx::Models::MessagingProfileListAlphanumericSenderIDsParams
|
|
1123
1129
|
|
|
1124
1130
|
class MessagingProfileListParams = Telnyx::Models::MessagingProfileListParams
|
|
@@ -2099,6 +2105,8 @@ module Telnyx
|
|
|
2099
2105
|
|
|
2100
2106
|
module Whatsapp = Telnyx::Models::Whatsapp
|
|
2101
2107
|
|
|
2108
|
+
class WhatsappAccountUpdate = Telnyx::Models::WhatsappAccountUpdate
|
|
2109
|
+
|
|
2102
2110
|
class WhatsappContact = Telnyx::Models::WhatsappContact
|
|
2103
2111
|
|
|
2104
2112
|
class WhatsappInteractive = Telnyx::Models::WhatsappInteractive
|
|
@@ -2109,6 +2117,8 @@ module Telnyx
|
|
|
2109
2117
|
|
|
2110
2118
|
class WhatsappMessageContent = Telnyx::Models::WhatsappMessageContent
|
|
2111
2119
|
|
|
2120
|
+
class WhatsappMessageEcho = Telnyx::Models::WhatsappMessageEcho
|
|
2121
|
+
|
|
2112
2122
|
class WhatsappMessageTemplateDeleteParams = Telnyx::Models::WhatsappMessageTemplateDeleteParams
|
|
2113
2123
|
|
|
2114
2124
|
class WhatsappMessageTemplateRetrieveParams = Telnyx::Models::WhatsappMessageTemplateRetrieveParams
|
|
@@ -13,6 +13,8 @@ module Telnyx
|
|
|
13
13
|
?max_retries: Integer,
|
|
14
14
|
?mcp_servers: ::Array[::Hash[Symbol, top]],
|
|
15
15
|
?metadata: ::Hash[Symbol, top],
|
|
16
|
+
?mode: Telnyx::Models::AI::Anthropic::V1MessagesParams::mode,
|
|
17
|
+
?region: Telnyx::Models::AI::Anthropic::V1MessagesParams::region,
|
|
16
18
|
?service_tier: String,
|
|
17
19
|
?stop_sequences: ::Array[String],
|
|
18
20
|
?stream: bool,
|
|
@@ -19,6 +19,7 @@ module Telnyx
|
|
|
19
19
|
def create: (
|
|
20
20
|
instructions: String,
|
|
21
21
|
name: String,
|
|
22
|
+
?a2a_agents: ::Array[Telnyx::AI::AssistantA2AAgent],
|
|
22
23
|
?conversation_flow: Telnyx::AI::ConversationFlowReq,
|
|
23
24
|
?description: String,
|
|
24
25
|
?dynamic_variables: ::Hash[Symbol, top],
|
|
@@ -60,6 +61,7 @@ module Telnyx
|
|
|
60
61
|
|
|
61
62
|
def update: (
|
|
62
63
|
String assistant_id,
|
|
64
|
+
?a2a_agents: ::Array[Telnyx::AI::AssistantA2AAgent],
|
|
63
65
|
?conversation_flow: Telnyx::AI::ConversationFlowReq,
|
|
64
66
|
?description: String,
|
|
65
67
|
?dynamic_variables: ::Hash[Symbol, top],
|
|
@@ -10,18 +10,17 @@ module Telnyx
|
|
|
10
10
|
?early_stopping: bool,
|
|
11
11
|
?enable_thinking: bool,
|
|
12
12
|
?frequency_penalty: Float,
|
|
13
|
-
?guided_choice: ::Array[String],
|
|
14
|
-
?guided_json: ::Hash[Symbol, top],
|
|
15
|
-
?guided_regex: String,
|
|
16
13
|
?length_penalty: Float,
|
|
17
14
|
?logprobs: bool,
|
|
18
15
|
?max_tokens: Integer,
|
|
19
16
|
?min_p: Float,
|
|
17
|
+
?mode: Telnyx::Models::AI::ChatCompletionRequest::mode,
|
|
20
18
|
?model: String,
|
|
21
19
|
?n: Float,
|
|
22
20
|
?presence_penalty: Float,
|
|
23
21
|
?reasoning_effort: Telnyx::Models::AI::ChatCompletionRequest::reasoning_effort,
|
|
24
|
-
?
|
|
22
|
+
?region: Telnyx::Models::AI::ChatCompletionRequest::region,
|
|
23
|
+
?response_format: Telnyx::Models::AI::ChatCompletionRequest::response_format,
|
|
25
24
|
?seed: Integer,
|
|
26
25
|
?service_tier: String,
|
|
27
26
|
?stop: Telnyx::Models::AI::ChatCompletionRequest::stop,
|
|
@@ -10,8 +10,10 @@ module Telnyx
|
|
|
10
10
|
?conversation: String,
|
|
11
11
|
?input: ::Hash[Symbol, top],
|
|
12
12
|
?instructions: String,
|
|
13
|
+
?mode: Telnyx::Models::AI::OpenAICreateResponseParams::mode,
|
|
13
14
|
?model: String,
|
|
14
15
|
?reasoning: Telnyx::AI::OpenAICreateResponseParams::Reasoning,
|
|
16
|
+
?region: Telnyx::Models::AI::OpenAICreateResponseParams::region,
|
|
15
17
|
?service_tier: String,
|
|
16
18
|
?stream: bool,
|
|
17
19
|
?request_options: Telnyx::request_opts
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
module Telnyx
|
|
2
|
+
module Resources
|
|
3
|
+
class Compute
|
|
4
|
+
class Funcs
|
|
5
|
+
def retrieve_logs: (
|
|
6
|
+
String id,
|
|
7
|
+
?end_time: Time,
|
|
8
|
+
?limit: Integer,
|
|
9
|
+
?start_time: Time,
|
|
10
|
+
?type: Telnyx::Models::Compute::FuncRetrieveLogsParams::type_,
|
|
11
|
+
?request_options: Telnyx::request_opts
|
|
12
|
+
) -> Telnyx::Models::Compute::func_retrieve_logs_response
|
|
13
|
+
|
|
14
|
+
def retrieve_metric_aggregates: (
|
|
15
|
+
String id,
|
|
16
|
+
end_time: Time,
|
|
17
|
+
start_time: Time,
|
|
18
|
+
?filter_edge_site: String,
|
|
19
|
+
?filter_namespace: String,
|
|
20
|
+
?page_number: Integer,
|
|
21
|
+
?page_size: Integer,
|
|
22
|
+
?request_options: Telnyx::request_opts
|
|
23
|
+
) -> Telnyx::Models::Compute::FuncRetrieveMetricAggregatesResponse
|
|
24
|
+
|
|
25
|
+
def retrieve_revisions: (
|
|
26
|
+
String id,
|
|
27
|
+
?page_number: Integer,
|
|
28
|
+
?page_size: Integer,
|
|
29
|
+
?request_options: Telnyx::request_opts
|
|
30
|
+
) -> Telnyx::Models::Compute::FuncRetrieveRevisionsResponse
|
|
31
|
+
|
|
32
|
+
def retrieve_ship_inspection: (
|
|
33
|
+
String id,
|
|
34
|
+
?request_options: Telnyx::request_opts
|
|
35
|
+
) -> Telnyx::Models::Compute::FuncRetrieveShipInspectionResponse
|
|
36
|
+
|
|
37
|
+
def initialize: (client: Telnyx::Client) -> void
|
|
38
|
+
end
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
end
|
|
@@ -13,6 +13,7 @@ module Telnyx
|
|
|
13
13
|
?daily_spend_limit: String,
|
|
14
14
|
?daily_spend_limit_enabled: bool,
|
|
15
15
|
?enabled: bool,
|
|
16
|
+
?features: Telnyx::MessagingProfileFeatures?,
|
|
16
17
|
?health_webhook_url: String?,
|
|
17
18
|
?mms_fall_back_to_sms: bool,
|
|
18
19
|
?mms_transcoding: bool,
|
|
@@ -39,11 +40,14 @@ module Telnyx
|
|
|
39
40
|
?daily_spend_limit: String,
|
|
40
41
|
?daily_spend_limit_enabled: bool,
|
|
41
42
|
?enabled: bool,
|
|
43
|
+
?features: Telnyx::MessagingProfileFeatures?,
|
|
42
44
|
?mms_fall_back_to_sms: bool,
|
|
43
45
|
?mms_transcoding: bool,
|
|
44
46
|
?mobile_only: bool,
|
|
45
47
|
?name: String,
|
|
46
48
|
?number_pool_settings: Telnyx::NumberPoolSettings?,
|
|
49
|
+
?redaction_enabled: bool,
|
|
50
|
+
?redaction_level: Integer,
|
|
47
51
|
?smart_encoding: bool,
|
|
48
52
|
?url_shortener_settings: Telnyx::URLShortenerSettings?,
|
|
49
53
|
?v1_secret: String,
|
|
@@ -61,7 +65,7 @@ module Telnyx
|
|
|
61
65
|
?page_number: Integer,
|
|
62
66
|
?page_size: Integer,
|
|
63
67
|
?request_options: Telnyx::request_opts
|
|
64
|
-
) -> Telnyx::Internal::DefaultFlatPagination[Telnyx::
|
|
68
|
+
) -> Telnyx::Internal::DefaultFlatPagination[Telnyx::MessagingMessagingProfile]
|
|
65
69
|
|
|
66
70
|
def delete: (
|
|
67
71
|
String messaging_profile_id,
|