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,212 @@
|
|
|
1
|
+
module Telnyx
|
|
2
|
+
module Models
|
|
3
|
+
type messaging_messaging_profile =
|
|
4
|
+
{
|
|
5
|
+
id: String,
|
|
6
|
+
ai_assistant_id: String?,
|
|
7
|
+
alpha_sender: String?,
|
|
8
|
+
created_at: Time,
|
|
9
|
+
daily_spend_limit: String,
|
|
10
|
+
daily_spend_limit_enabled: bool,
|
|
11
|
+
enabled: bool,
|
|
12
|
+
features: Telnyx::MessagingProfileFeatures?,
|
|
13
|
+
health_webhook_url: String?,
|
|
14
|
+
mms_fall_back_to_sms: bool,
|
|
15
|
+
mms_transcoding: bool,
|
|
16
|
+
mobile_only: bool,
|
|
17
|
+
name: String,
|
|
18
|
+
number_pool_settings: Telnyx::NumberPoolSettings?,
|
|
19
|
+
organization_id: String,
|
|
20
|
+
record_type: Telnyx::Models::MessagingMessagingProfile::record_type,
|
|
21
|
+
redaction_enabled: bool,
|
|
22
|
+
redaction_level: Integer,
|
|
23
|
+
resource_group_id: String?,
|
|
24
|
+
smart_encoding: bool,
|
|
25
|
+
updated_at: Time,
|
|
26
|
+
url_shortener_settings: Telnyx::URLShortenerSettings?,
|
|
27
|
+
:v1_secret => String,
|
|
28
|
+
webhook_api_version: Telnyx::Models::MessagingMessagingProfile::webhook_api_version,
|
|
29
|
+
webhook_failover_url: String?,
|
|
30
|
+
webhook_url: String?,
|
|
31
|
+
whitelisted_destinations: ::Array[String]
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
class MessagingMessagingProfile < Telnyx::Internal::Type::BaseModel
|
|
35
|
+
attr_accessor ai_assistant_id: String?
|
|
36
|
+
|
|
37
|
+
attr_accessor alpha_sender: String?
|
|
38
|
+
|
|
39
|
+
attr_reader daily_spend_limit: String?
|
|
40
|
+
|
|
41
|
+
def daily_spend_limit=: (String) -> String
|
|
42
|
+
|
|
43
|
+
attr_reader daily_spend_limit_enabled: bool?
|
|
44
|
+
|
|
45
|
+
def daily_spend_limit_enabled=: (bool) -> bool
|
|
46
|
+
|
|
47
|
+
attr_reader enabled: bool?
|
|
48
|
+
|
|
49
|
+
def enabled=: (bool) -> bool
|
|
50
|
+
|
|
51
|
+
attr_accessor features: Telnyx::MessagingProfileFeatures?
|
|
52
|
+
|
|
53
|
+
attr_accessor health_webhook_url: String?
|
|
54
|
+
|
|
55
|
+
attr_reader mms_fall_back_to_sms: bool?
|
|
56
|
+
|
|
57
|
+
def mms_fall_back_to_sms=: (bool) -> bool
|
|
58
|
+
|
|
59
|
+
attr_reader mms_transcoding: bool?
|
|
60
|
+
|
|
61
|
+
def mms_transcoding=: (bool) -> bool
|
|
62
|
+
|
|
63
|
+
attr_reader mobile_only: bool?
|
|
64
|
+
|
|
65
|
+
def mobile_only=: (bool) -> bool
|
|
66
|
+
|
|
67
|
+
attr_reader name: String?
|
|
68
|
+
|
|
69
|
+
def name=: (String) -> String
|
|
70
|
+
|
|
71
|
+
attr_accessor number_pool_settings: Telnyx::NumberPoolSettings?
|
|
72
|
+
|
|
73
|
+
attr_reader organization_id: String?
|
|
74
|
+
|
|
75
|
+
def organization_id=: (String) -> String
|
|
76
|
+
|
|
77
|
+
attr_reader redaction_enabled: bool?
|
|
78
|
+
|
|
79
|
+
def redaction_enabled=: (bool) -> bool
|
|
80
|
+
|
|
81
|
+
attr_reader redaction_level: Integer?
|
|
82
|
+
|
|
83
|
+
def redaction_level=: (Integer) -> Integer
|
|
84
|
+
|
|
85
|
+
attr_accessor resource_group_id: String?
|
|
86
|
+
|
|
87
|
+
attr_reader smart_encoding: bool?
|
|
88
|
+
|
|
89
|
+
def smart_encoding=: (bool) -> bool
|
|
90
|
+
|
|
91
|
+
attr_accessor url_shortener_settings: Telnyx::URLShortenerSettings?
|
|
92
|
+
|
|
93
|
+
attr_reader v1_secret: String?
|
|
94
|
+
|
|
95
|
+
def v1_secret=: (String) -> String
|
|
96
|
+
|
|
97
|
+
attr_reader webhook_api_version: Telnyx::Models::MessagingMessagingProfile::webhook_api_version?
|
|
98
|
+
|
|
99
|
+
def webhook_api_version=: (
|
|
100
|
+
Telnyx::Models::MessagingMessagingProfile::webhook_api_version
|
|
101
|
+
) -> Telnyx::Models::MessagingMessagingProfile::webhook_api_version
|
|
102
|
+
|
|
103
|
+
attr_accessor webhook_failover_url: String?
|
|
104
|
+
|
|
105
|
+
attr_accessor webhook_url: String?
|
|
106
|
+
|
|
107
|
+
attr_reader whitelisted_destinations: ::Array[String]?
|
|
108
|
+
|
|
109
|
+
def whitelisted_destinations=: (::Array[String]) -> ::Array[String]
|
|
110
|
+
|
|
111
|
+
attr_reader id: String?
|
|
112
|
+
|
|
113
|
+
def id=: (String) -> String
|
|
114
|
+
|
|
115
|
+
attr_reader created_at: Time?
|
|
116
|
+
|
|
117
|
+
def created_at=: (Time) -> Time
|
|
118
|
+
|
|
119
|
+
attr_reader record_type: Telnyx::Models::MessagingMessagingProfile::record_type?
|
|
120
|
+
|
|
121
|
+
def record_type=: (
|
|
122
|
+
Telnyx::Models::MessagingMessagingProfile::record_type
|
|
123
|
+
) -> Telnyx::Models::MessagingMessagingProfile::record_type
|
|
124
|
+
|
|
125
|
+
attr_reader updated_at: Time?
|
|
126
|
+
|
|
127
|
+
def updated_at=: (Time) -> Time
|
|
128
|
+
|
|
129
|
+
def initialize: (
|
|
130
|
+
?id: String,
|
|
131
|
+
?ai_assistant_id: String?,
|
|
132
|
+
?alpha_sender: String?,
|
|
133
|
+
?created_at: Time,
|
|
134
|
+
?daily_spend_limit: String,
|
|
135
|
+
?daily_spend_limit_enabled: bool,
|
|
136
|
+
?enabled: bool,
|
|
137
|
+
?features: Telnyx::MessagingProfileFeatures?,
|
|
138
|
+
?health_webhook_url: String?,
|
|
139
|
+
?mms_fall_back_to_sms: bool,
|
|
140
|
+
?mms_transcoding: bool,
|
|
141
|
+
?mobile_only: bool,
|
|
142
|
+
?name: String,
|
|
143
|
+
?number_pool_settings: Telnyx::NumberPoolSettings?,
|
|
144
|
+
?organization_id: String,
|
|
145
|
+
?record_type: Telnyx::Models::MessagingMessagingProfile::record_type,
|
|
146
|
+
?redaction_enabled: bool,
|
|
147
|
+
?redaction_level: Integer,
|
|
148
|
+
?resource_group_id: String?,
|
|
149
|
+
?smart_encoding: bool,
|
|
150
|
+
?updated_at: Time,
|
|
151
|
+
?url_shortener_settings: Telnyx::URLShortenerSettings?,
|
|
152
|
+
?v1_secret: String,
|
|
153
|
+
?webhook_api_version: Telnyx::Models::MessagingMessagingProfile::webhook_api_version,
|
|
154
|
+
?webhook_failover_url: String?,
|
|
155
|
+
?webhook_url: String?,
|
|
156
|
+
?whitelisted_destinations: ::Array[String]
|
|
157
|
+
) -> void
|
|
158
|
+
|
|
159
|
+
def to_hash: -> {
|
|
160
|
+
id: String,
|
|
161
|
+
ai_assistant_id: String?,
|
|
162
|
+
alpha_sender: String?,
|
|
163
|
+
created_at: Time,
|
|
164
|
+
daily_spend_limit: String,
|
|
165
|
+
daily_spend_limit_enabled: bool,
|
|
166
|
+
enabled: bool,
|
|
167
|
+
features: Telnyx::MessagingProfileFeatures?,
|
|
168
|
+
health_webhook_url: String?,
|
|
169
|
+
mms_fall_back_to_sms: bool,
|
|
170
|
+
mms_transcoding: bool,
|
|
171
|
+
mobile_only: bool,
|
|
172
|
+
name: String,
|
|
173
|
+
number_pool_settings: Telnyx::NumberPoolSettings?,
|
|
174
|
+
organization_id: String,
|
|
175
|
+
record_type: Telnyx::Models::MessagingMessagingProfile::record_type,
|
|
176
|
+
redaction_enabled: bool,
|
|
177
|
+
redaction_level: Integer,
|
|
178
|
+
resource_group_id: String?,
|
|
179
|
+
smart_encoding: bool,
|
|
180
|
+
updated_at: Time,
|
|
181
|
+
url_shortener_settings: Telnyx::URLShortenerSettings?,
|
|
182
|
+
:v1_secret => String,
|
|
183
|
+
webhook_api_version: Telnyx::Models::MessagingMessagingProfile::webhook_api_version,
|
|
184
|
+
webhook_failover_url: String?,
|
|
185
|
+
webhook_url: String?,
|
|
186
|
+
whitelisted_destinations: ::Array[String]
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
type record_type = :messaging_profile
|
|
190
|
+
|
|
191
|
+
module RecordType
|
|
192
|
+
extend Telnyx::Internal::Type::Enum
|
|
193
|
+
|
|
194
|
+
MESSAGING_PROFILE: :messaging_profile
|
|
195
|
+
|
|
196
|
+
def self?.values: -> ::Array[Telnyx::Models::MessagingMessagingProfile::record_type]
|
|
197
|
+
end
|
|
198
|
+
|
|
199
|
+
type webhook_api_version = :"1" | :"2" | :"2010-04-01"
|
|
200
|
+
|
|
201
|
+
module WebhookAPIVersion
|
|
202
|
+
extend Telnyx::Internal::Type::Enum
|
|
203
|
+
|
|
204
|
+
V1: :"1"
|
|
205
|
+
V2: :"2"
|
|
206
|
+
V2010_04_01: :"2010-04-01"
|
|
207
|
+
|
|
208
|
+
def self?.values: -> ::Array[Telnyx::Models::MessagingMessagingProfile::webhook_api_version]
|
|
209
|
+
end
|
|
210
|
+
end
|
|
211
|
+
end
|
|
212
|
+
end
|
|
@@ -9,6 +9,7 @@ module Telnyx
|
|
|
9
9
|
daily_spend_limit: String,
|
|
10
10
|
daily_spend_limit_enabled: bool,
|
|
11
11
|
enabled: bool,
|
|
12
|
+
features: Telnyx::MessagingProfileFeatures?,
|
|
12
13
|
health_webhook_url: String?,
|
|
13
14
|
mms_fall_back_to_sms: bool,
|
|
14
15
|
mms_transcoding: bool,
|
|
@@ -47,6 +48,8 @@ module Telnyx
|
|
|
47
48
|
|
|
48
49
|
def enabled=: (bool) -> bool
|
|
49
50
|
|
|
51
|
+
attr_accessor features: Telnyx::MessagingProfileFeatures?
|
|
52
|
+
|
|
50
53
|
attr_accessor health_webhook_url: String?
|
|
51
54
|
|
|
52
55
|
attr_reader mms_fall_back_to_sms: bool?
|
|
@@ -89,6 +92,7 @@ module Telnyx
|
|
|
89
92
|
?daily_spend_limit: String,
|
|
90
93
|
?daily_spend_limit_enabled: bool,
|
|
91
94
|
?enabled: bool,
|
|
95
|
+
?features: Telnyx::MessagingProfileFeatures?,
|
|
92
96
|
?health_webhook_url: String?,
|
|
93
97
|
?mms_fall_back_to_sms: bool,
|
|
94
98
|
?mms_transcoding: bool,
|
|
@@ -111,6 +115,7 @@ module Telnyx
|
|
|
111
115
|
daily_spend_limit: String,
|
|
112
116
|
daily_spend_limit_enabled: bool,
|
|
113
117
|
enabled: bool,
|
|
118
|
+
features: Telnyx::MessagingProfileFeatures?,
|
|
114
119
|
health_webhook_url: String?,
|
|
115
120
|
mms_fall_back_to_sms: bool,
|
|
116
121
|
mms_transcoding: bool,
|
|
@@ -1,15 +1,18 @@
|
|
|
1
1
|
module Telnyx
|
|
2
2
|
module Models
|
|
3
|
-
type messaging_profile_create_response =
|
|
3
|
+
type messaging_profile_create_response =
|
|
4
|
+
{ data: Telnyx::MessagingMessagingProfile }
|
|
4
5
|
|
|
5
6
|
class MessagingProfileCreateResponse < Telnyx::Internal::Type::BaseModel
|
|
6
|
-
attr_reader data: Telnyx::
|
|
7
|
+
attr_reader data: Telnyx::MessagingMessagingProfile?
|
|
7
8
|
|
|
8
|
-
def data=: (
|
|
9
|
+
def data=: (
|
|
10
|
+
Telnyx::MessagingMessagingProfile
|
|
11
|
+
) -> Telnyx::MessagingMessagingProfile
|
|
9
12
|
|
|
10
|
-
def initialize: (?data: Telnyx::
|
|
13
|
+
def initialize: (?data: Telnyx::MessagingMessagingProfile) -> void
|
|
11
14
|
|
|
12
|
-
def to_hash: -> { data: Telnyx::
|
|
15
|
+
def to_hash: -> { data: Telnyx::MessagingMessagingProfile }
|
|
13
16
|
end
|
|
14
17
|
end
|
|
15
18
|
end
|
|
@@ -1,15 +1,18 @@
|
|
|
1
1
|
module Telnyx
|
|
2
2
|
module Models
|
|
3
|
-
type messaging_profile_delete_response =
|
|
3
|
+
type messaging_profile_delete_response =
|
|
4
|
+
{ data: Telnyx::MessagingMessagingProfile }
|
|
4
5
|
|
|
5
6
|
class MessagingProfileDeleteResponse < Telnyx::Internal::Type::BaseModel
|
|
6
|
-
attr_reader data: Telnyx::
|
|
7
|
+
attr_reader data: Telnyx::MessagingMessagingProfile?
|
|
7
8
|
|
|
8
|
-
def data=: (
|
|
9
|
+
def data=: (
|
|
10
|
+
Telnyx::MessagingMessagingProfile
|
|
11
|
+
) -> Telnyx::MessagingMessagingProfile
|
|
9
12
|
|
|
10
|
-
def initialize: (?data: Telnyx::
|
|
13
|
+
def initialize: (?data: Telnyx::MessagingMessagingProfile) -> void
|
|
11
14
|
|
|
12
|
-
def to_hash: -> { data: Telnyx::
|
|
15
|
+
def to_hash: -> { data: Telnyx::MessagingMessagingProfile }
|
|
13
16
|
end
|
|
14
17
|
end
|
|
15
18
|
end
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
module Telnyx
|
|
2
|
+
module Models
|
|
3
|
+
type messaging_profile_features = { ai_opt_out_detection_enabled: bool }
|
|
4
|
+
|
|
5
|
+
class MessagingProfileFeatures < Telnyx::Internal::Type::BaseModel
|
|
6
|
+
attr_reader ai_opt_out_detection_enabled: bool?
|
|
7
|
+
|
|
8
|
+
def ai_opt_out_detection_enabled=: (bool) -> bool
|
|
9
|
+
|
|
10
|
+
def initialize: (?ai_opt_out_detection_enabled: bool) -> void
|
|
11
|
+
|
|
12
|
+
def to_hash: -> { ai_opt_out_detection_enabled: bool }
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
end
|
|
@@ -1,16 +1,18 @@
|
|
|
1
1
|
module Telnyx
|
|
2
2
|
module Models
|
|
3
3
|
type messaging_profile_retrieve_response =
|
|
4
|
-
{ data: Telnyx::
|
|
4
|
+
{ data: Telnyx::MessagingMessagingProfile }
|
|
5
5
|
|
|
6
6
|
class MessagingProfileRetrieveResponse < Telnyx::Internal::Type::BaseModel
|
|
7
|
-
attr_reader data: Telnyx::
|
|
7
|
+
attr_reader data: Telnyx::MessagingMessagingProfile?
|
|
8
8
|
|
|
9
|
-
def data=: (
|
|
9
|
+
def data=: (
|
|
10
|
+
Telnyx::MessagingMessagingProfile
|
|
11
|
+
) -> Telnyx::MessagingMessagingProfile
|
|
10
12
|
|
|
11
|
-
def initialize: (?data: Telnyx::
|
|
13
|
+
def initialize: (?data: Telnyx::MessagingMessagingProfile) -> void
|
|
12
14
|
|
|
13
|
-
def to_hash: -> { data: Telnyx::
|
|
15
|
+
def to_hash: -> { data: Telnyx::MessagingMessagingProfile }
|
|
14
16
|
end
|
|
15
17
|
end
|
|
16
18
|
end
|
|
@@ -8,11 +8,14 @@ module Telnyx
|
|
|
8
8
|
daily_spend_limit: String,
|
|
9
9
|
daily_spend_limit_enabled: bool,
|
|
10
10
|
enabled: bool,
|
|
11
|
+
features: Telnyx::MessagingProfileFeatures?,
|
|
11
12
|
mms_fall_back_to_sms: bool,
|
|
12
13
|
mms_transcoding: bool,
|
|
13
14
|
mobile_only: bool,
|
|
14
15
|
name: String,
|
|
15
16
|
number_pool_settings: Telnyx::NumberPoolSettings?,
|
|
17
|
+
redaction_enabled: bool,
|
|
18
|
+
redaction_level: Integer,
|
|
16
19
|
smart_encoding: bool,
|
|
17
20
|
url_shortener_settings: Telnyx::URLShortenerSettings?,
|
|
18
21
|
:v1_secret => String,
|
|
@@ -45,6 +48,8 @@ module Telnyx
|
|
|
45
48
|
|
|
46
49
|
def enabled=: (bool) -> bool
|
|
47
50
|
|
|
51
|
+
attr_accessor features: Telnyx::MessagingProfileFeatures?
|
|
52
|
+
|
|
48
53
|
attr_reader mms_fall_back_to_sms: bool?
|
|
49
54
|
|
|
50
55
|
def mms_fall_back_to_sms=: (bool) -> bool
|
|
@@ -63,6 +68,14 @@ module Telnyx
|
|
|
63
68
|
|
|
64
69
|
attr_accessor number_pool_settings: Telnyx::NumberPoolSettings?
|
|
65
70
|
|
|
71
|
+
attr_reader redaction_enabled: bool?
|
|
72
|
+
|
|
73
|
+
def redaction_enabled=: (bool) -> bool
|
|
74
|
+
|
|
75
|
+
attr_reader redaction_level: Integer?
|
|
76
|
+
|
|
77
|
+
def redaction_level=: (Integer) -> Integer
|
|
78
|
+
|
|
66
79
|
attr_reader smart_encoding: bool?
|
|
67
80
|
|
|
68
81
|
def smart_encoding=: (bool) -> bool
|
|
@@ -94,11 +107,14 @@ module Telnyx
|
|
|
94
107
|
?daily_spend_limit: String,
|
|
95
108
|
?daily_spend_limit_enabled: bool,
|
|
96
109
|
?enabled: bool,
|
|
110
|
+
?features: Telnyx::MessagingProfileFeatures?,
|
|
97
111
|
?mms_fall_back_to_sms: bool,
|
|
98
112
|
?mms_transcoding: bool,
|
|
99
113
|
?mobile_only: bool,
|
|
100
114
|
?name: String,
|
|
101
115
|
?number_pool_settings: Telnyx::NumberPoolSettings?,
|
|
116
|
+
?redaction_enabled: bool,
|
|
117
|
+
?redaction_level: Integer,
|
|
102
118
|
?smart_encoding: bool,
|
|
103
119
|
?url_shortener_settings: Telnyx::URLShortenerSettings?,
|
|
104
120
|
?v1_secret: String,
|
|
@@ -116,11 +132,14 @@ module Telnyx
|
|
|
116
132
|
daily_spend_limit: String,
|
|
117
133
|
daily_spend_limit_enabled: bool,
|
|
118
134
|
enabled: bool,
|
|
135
|
+
features: Telnyx::MessagingProfileFeatures?,
|
|
119
136
|
mms_fall_back_to_sms: bool,
|
|
120
137
|
mms_transcoding: bool,
|
|
121
138
|
mobile_only: bool,
|
|
122
139
|
name: String,
|
|
123
140
|
number_pool_settings: Telnyx::NumberPoolSettings?,
|
|
141
|
+
redaction_enabled: bool,
|
|
142
|
+
redaction_level: Integer,
|
|
124
143
|
smart_encoding: bool,
|
|
125
144
|
url_shortener_settings: Telnyx::URLShortenerSettings?,
|
|
126
145
|
:v1_secret => String,
|
|
@@ -1,15 +1,18 @@
|
|
|
1
1
|
module Telnyx
|
|
2
2
|
module Models
|
|
3
|
-
type messaging_profile_update_response =
|
|
3
|
+
type messaging_profile_update_response =
|
|
4
|
+
{ data: Telnyx::MessagingMessagingProfile }
|
|
4
5
|
|
|
5
6
|
class MessagingProfileUpdateResponse < Telnyx::Internal::Type::BaseModel
|
|
6
|
-
attr_reader data: Telnyx::
|
|
7
|
+
attr_reader data: Telnyx::MessagingMessagingProfile?
|
|
7
8
|
|
|
8
|
-
def data=: (
|
|
9
|
+
def data=: (
|
|
10
|
+
Telnyx::MessagingMessagingProfile
|
|
11
|
+
) -> Telnyx::MessagingMessagingProfile
|
|
9
12
|
|
|
10
|
-
def initialize: (?data: Telnyx::
|
|
13
|
+
def initialize: (?data: Telnyx::MessagingMessagingProfile) -> void
|
|
11
14
|
|
|
12
|
-
def to_hash: -> { data: Telnyx::
|
|
15
|
+
def to_hash: -> { data: Telnyx::MessagingMessagingProfile }
|
|
13
16
|
end
|
|
14
17
|
end
|
|
15
18
|
end
|
|
@@ -2,16 +2,18 @@ module Telnyx
|
|
|
2
2
|
module Models
|
|
3
3
|
module MessagingProfiles
|
|
4
4
|
type action_regenerate_secret_response =
|
|
5
|
-
{ data: Telnyx::
|
|
5
|
+
{ data: Telnyx::MessagingMessagingProfile }
|
|
6
6
|
|
|
7
7
|
class ActionRegenerateSecretResponse < Telnyx::Internal::Type::BaseModel
|
|
8
|
-
attr_reader data: Telnyx::
|
|
8
|
+
attr_reader data: Telnyx::MessagingMessagingProfile?
|
|
9
9
|
|
|
10
|
-
def data=: (
|
|
10
|
+
def data=: (
|
|
11
|
+
Telnyx::MessagingMessagingProfile
|
|
12
|
+
) -> Telnyx::MessagingMessagingProfile
|
|
11
13
|
|
|
12
|
-
def initialize: (?data: Telnyx::
|
|
14
|
+
def initialize: (?data: Telnyx::MessagingMessagingProfile) -> void
|
|
13
15
|
|
|
14
|
-
def to_hash: -> { data: Telnyx::
|
|
16
|
+
def to_hash: -> { data: Telnyx::MessagingMessagingProfile }
|
|
15
17
|
end
|
|
16
18
|
end
|
|
17
19
|
end
|
|
@@ -74,6 +74,8 @@ module Telnyx
|
|
|
74
74
|
| Telnyx::SessionStatusChangedWebhookEvent
|
|
75
75
|
| Telnyx::TranscriptCompletedWebhookEvent
|
|
76
76
|
| Telnyx::TranscriptionWebhookEvent
|
|
77
|
+
| Telnyx::WhatsappAccountUpdate
|
|
78
|
+
| Telnyx::WhatsappMessageEcho
|
|
77
79
|
|
|
78
80
|
module UnsafeUnwrapWebhookEvent
|
|
79
81
|
extend Telnyx::Internal::Type::Union
|
|
@@ -74,6 +74,8 @@ module Telnyx
|
|
|
74
74
|
| Telnyx::SessionStatusChangedWebhookEvent
|
|
75
75
|
| Telnyx::TranscriptCompletedWebhookEvent
|
|
76
76
|
| Telnyx::TranscriptionWebhookEvent
|
|
77
|
+
| Telnyx::WhatsappAccountUpdate
|
|
78
|
+
| Telnyx::WhatsappMessageEcho
|
|
77
79
|
|
|
78
80
|
module UnwrapWebhookEvent
|
|
79
81
|
extend Telnyx::Internal::Type::Union
|
|
@@ -5,14 +5,18 @@ module Telnyx
|
|
|
5
5
|
type phone_number_list_response =
|
|
6
6
|
{
|
|
7
7
|
calling_enabled: bool,
|
|
8
|
+
coexistence_state: Telnyx::Models::Whatsapp::BusinessAccounts::PhoneNumberListResponse::coexistence_state?,
|
|
8
9
|
created_at: Time,
|
|
9
10
|
display_name: String,
|
|
10
11
|
enabled: bool,
|
|
12
|
+
is_on_biz_app: bool,
|
|
11
13
|
phone_number: String,
|
|
12
14
|
phone_number_id: String,
|
|
13
15
|
quality_rating: String,
|
|
14
16
|
record_type: String,
|
|
15
17
|
status: String,
|
|
18
|
+
sync_deadline: Time?,
|
|
19
|
+
sync_progress: Telnyx::Models::Whatsapp::BusinessAccounts::PhoneNumberListResponse::SyncProgress?,
|
|
16
20
|
user_id: String,
|
|
17
21
|
waba_id: String
|
|
18
22
|
}
|
|
@@ -22,6 +26,8 @@ module Telnyx
|
|
|
22
26
|
|
|
23
27
|
def calling_enabled=: (bool) -> bool
|
|
24
28
|
|
|
29
|
+
attr_accessor coexistence_state: Telnyx::Models::Whatsapp::BusinessAccounts::PhoneNumberListResponse::coexistence_state?
|
|
30
|
+
|
|
25
31
|
attr_reader created_at: Time?
|
|
26
32
|
|
|
27
33
|
def created_at=: (Time) -> Time
|
|
@@ -34,6 +40,10 @@ module Telnyx
|
|
|
34
40
|
|
|
35
41
|
def enabled=: (bool) -> bool
|
|
36
42
|
|
|
43
|
+
attr_reader is_on_biz_app: bool?
|
|
44
|
+
|
|
45
|
+
def is_on_biz_app=: (bool) -> bool
|
|
46
|
+
|
|
37
47
|
attr_reader phone_number: String?
|
|
38
48
|
|
|
39
49
|
def phone_number=: (String) -> String
|
|
@@ -54,6 +64,10 @@ module Telnyx
|
|
|
54
64
|
|
|
55
65
|
def status=: (String) -> String
|
|
56
66
|
|
|
67
|
+
attr_accessor sync_deadline: Time?
|
|
68
|
+
|
|
69
|
+
attr_accessor sync_progress: Telnyx::Models::Whatsapp::BusinessAccounts::PhoneNumberListResponse::SyncProgress?
|
|
70
|
+
|
|
57
71
|
attr_reader user_id: String?
|
|
58
72
|
|
|
59
73
|
def user_id=: (String) -> String
|
|
@@ -64,31 +78,107 @@ module Telnyx
|
|
|
64
78
|
|
|
65
79
|
def initialize: (
|
|
66
80
|
?calling_enabled: bool,
|
|
81
|
+
?coexistence_state: Telnyx::Models::Whatsapp::BusinessAccounts::PhoneNumberListResponse::coexistence_state?,
|
|
67
82
|
?created_at: Time,
|
|
68
83
|
?display_name: String,
|
|
69
84
|
?enabled: bool,
|
|
85
|
+
?is_on_biz_app: bool,
|
|
70
86
|
?phone_number: String,
|
|
71
87
|
?phone_number_id: String,
|
|
72
88
|
?quality_rating: String,
|
|
73
89
|
?record_type: String,
|
|
74
90
|
?status: String,
|
|
91
|
+
?sync_deadline: Time?,
|
|
92
|
+
?sync_progress: Telnyx::Models::Whatsapp::BusinessAccounts::PhoneNumberListResponse::SyncProgress?,
|
|
75
93
|
?user_id: String,
|
|
76
94
|
?waba_id: String
|
|
77
95
|
) -> void
|
|
78
96
|
|
|
79
97
|
def to_hash: -> {
|
|
80
98
|
calling_enabled: bool,
|
|
99
|
+
coexistence_state: Telnyx::Models::Whatsapp::BusinessAccounts::PhoneNumberListResponse::coexistence_state?,
|
|
81
100
|
created_at: Time,
|
|
82
101
|
display_name: String,
|
|
83
102
|
enabled: bool,
|
|
103
|
+
is_on_biz_app: bool,
|
|
84
104
|
phone_number: String,
|
|
85
105
|
phone_number_id: String,
|
|
86
106
|
quality_rating: String,
|
|
87
107
|
record_type: String,
|
|
88
108
|
status: String,
|
|
109
|
+
sync_deadline: Time?,
|
|
110
|
+
sync_progress: Telnyx::Models::Whatsapp::BusinessAccounts::PhoneNumberListResponse::SyncProgress?,
|
|
89
111
|
user_id: String,
|
|
90
112
|
waba_id: String
|
|
91
113
|
}
|
|
114
|
+
|
|
115
|
+
type coexistence_state =
|
|
116
|
+
:pending_onboarding
|
|
117
|
+
| :sync_pending
|
|
118
|
+
| :syncing
|
|
119
|
+
| :sync_complete
|
|
120
|
+
| :active
|
|
121
|
+
| :history_declined
|
|
122
|
+
| :sync_deadline_expired
|
|
123
|
+
| :offboarded
|
|
124
|
+
| :disconnected
|
|
125
|
+
|
|
126
|
+
module CoexistenceState
|
|
127
|
+
extend Telnyx::Internal::Type::Enum
|
|
128
|
+
|
|
129
|
+
PENDING_ONBOARDING: :pending_onboarding
|
|
130
|
+
SYNC_PENDING: :sync_pending
|
|
131
|
+
SYNCING: :syncing
|
|
132
|
+
SYNC_COMPLETE: :sync_complete
|
|
133
|
+
ACTIVE: :active
|
|
134
|
+
HISTORY_DECLINED: :history_declined
|
|
135
|
+
SYNC_DEADLINE_EXPIRED: :sync_deadline_expired
|
|
136
|
+
OFFBOARDED: :offboarded
|
|
137
|
+
DISCONNECTED: :disconnected
|
|
138
|
+
|
|
139
|
+
def self?.values: -> ::Array[Telnyx::Models::Whatsapp::BusinessAccounts::PhoneNumberListResponse::coexistence_state]
|
|
140
|
+
end
|
|
141
|
+
|
|
142
|
+
type sync_progress =
|
|
143
|
+
{
|
|
144
|
+
contacts_status: String,
|
|
145
|
+
history_chunk_order: Integer?,
|
|
146
|
+
history_phase: Integer?,
|
|
147
|
+
history_progress: Integer?,
|
|
148
|
+
history_status: String
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
class SyncProgress < Telnyx::Internal::Type::BaseModel
|
|
152
|
+
attr_reader contacts_status: String?
|
|
153
|
+
|
|
154
|
+
def contacts_status=: (String) -> String
|
|
155
|
+
|
|
156
|
+
attr_accessor history_chunk_order: Integer?
|
|
157
|
+
|
|
158
|
+
attr_accessor history_phase: Integer?
|
|
159
|
+
|
|
160
|
+
attr_accessor history_progress: Integer?
|
|
161
|
+
|
|
162
|
+
attr_reader history_status: String?
|
|
163
|
+
|
|
164
|
+
def history_status=: (String) -> String
|
|
165
|
+
|
|
166
|
+
def initialize: (
|
|
167
|
+
?contacts_status: String,
|
|
168
|
+
?history_chunk_order: Integer?,
|
|
169
|
+
?history_phase: Integer?,
|
|
170
|
+
?history_progress: Integer?,
|
|
171
|
+
?history_status: String
|
|
172
|
+
) -> void
|
|
173
|
+
|
|
174
|
+
def to_hash: -> {
|
|
175
|
+
contacts_status: String,
|
|
176
|
+
history_chunk_order: Integer?,
|
|
177
|
+
history_phase: Integer?,
|
|
178
|
+
history_progress: Integer?,
|
|
179
|
+
history_status: String
|
|
180
|
+
}
|
|
181
|
+
end
|
|
92
182
|
end
|
|
93
183
|
end
|
|
94
184
|
end
|