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
|
@@ -33,14 +33,18 @@ module Telnyx
|
|
|
33
33
|
type data =
|
|
34
34
|
{
|
|
35
35
|
calling_enabled: bool,
|
|
36
|
+
coexistence_state: Telnyx::Models::Whatsapp::PhoneNumberGetResponse::Data::coexistence_state?,
|
|
36
37
|
created_at: Time,
|
|
37
38
|
display_name: String,
|
|
38
39
|
enabled: bool,
|
|
40
|
+
is_on_biz_app: bool,
|
|
39
41
|
phone_number: String,
|
|
40
42
|
phone_number_id: String,
|
|
41
43
|
quality_rating: String,
|
|
42
44
|
record_type: String,
|
|
43
45
|
status: String,
|
|
46
|
+
sync_deadline: Time?,
|
|
47
|
+
sync_progress: Telnyx::Models::Whatsapp::PhoneNumberGetResponse::Data::SyncProgress?,
|
|
44
48
|
user_id: String,
|
|
45
49
|
waba_id: String
|
|
46
50
|
}
|
|
@@ -50,6 +54,8 @@ module Telnyx
|
|
|
50
54
|
|
|
51
55
|
def calling_enabled=: (bool) -> bool
|
|
52
56
|
|
|
57
|
+
attr_accessor coexistence_state: Telnyx::Models::Whatsapp::PhoneNumberGetResponse::Data::coexistence_state?
|
|
58
|
+
|
|
53
59
|
attr_reader created_at: Time?
|
|
54
60
|
|
|
55
61
|
def created_at=: (Time) -> Time
|
|
@@ -62,6 +68,10 @@ module Telnyx
|
|
|
62
68
|
|
|
63
69
|
def enabled=: (bool) -> bool
|
|
64
70
|
|
|
71
|
+
attr_reader is_on_biz_app: bool?
|
|
72
|
+
|
|
73
|
+
def is_on_biz_app=: (bool) -> bool
|
|
74
|
+
|
|
65
75
|
attr_reader phone_number: String?
|
|
66
76
|
|
|
67
77
|
def phone_number=: (String) -> String
|
|
@@ -82,6 +92,10 @@ module Telnyx
|
|
|
82
92
|
|
|
83
93
|
def status=: (String) -> String
|
|
84
94
|
|
|
95
|
+
attr_accessor sync_deadline: Time?
|
|
96
|
+
|
|
97
|
+
attr_accessor sync_progress: Telnyx::Models::Whatsapp::PhoneNumberGetResponse::Data::SyncProgress?
|
|
98
|
+
|
|
85
99
|
attr_reader user_id: String?
|
|
86
100
|
|
|
87
101
|
def user_id=: (String) -> String
|
|
@@ -92,31 +106,107 @@ module Telnyx
|
|
|
92
106
|
|
|
93
107
|
def initialize: (
|
|
94
108
|
?calling_enabled: bool,
|
|
109
|
+
?coexistence_state: Telnyx::Models::Whatsapp::PhoneNumberGetResponse::Data::coexistence_state?,
|
|
95
110
|
?created_at: Time,
|
|
96
111
|
?display_name: String,
|
|
97
112
|
?enabled: bool,
|
|
113
|
+
?is_on_biz_app: bool,
|
|
98
114
|
?phone_number: String,
|
|
99
115
|
?phone_number_id: String,
|
|
100
116
|
?quality_rating: String,
|
|
101
117
|
?record_type: String,
|
|
102
118
|
?status: String,
|
|
119
|
+
?sync_deadline: Time?,
|
|
120
|
+
?sync_progress: Telnyx::Models::Whatsapp::PhoneNumberGetResponse::Data::SyncProgress?,
|
|
103
121
|
?user_id: String,
|
|
104
122
|
?waba_id: String
|
|
105
123
|
) -> void
|
|
106
124
|
|
|
107
125
|
def to_hash: -> {
|
|
108
126
|
calling_enabled: bool,
|
|
127
|
+
coexistence_state: Telnyx::Models::Whatsapp::PhoneNumberGetResponse::Data::coexistence_state?,
|
|
109
128
|
created_at: Time,
|
|
110
129
|
display_name: String,
|
|
111
130
|
enabled: bool,
|
|
131
|
+
is_on_biz_app: bool,
|
|
112
132
|
phone_number: String,
|
|
113
133
|
phone_number_id: String,
|
|
114
134
|
quality_rating: String,
|
|
115
135
|
record_type: String,
|
|
116
136
|
status: String,
|
|
137
|
+
sync_deadline: Time?,
|
|
138
|
+
sync_progress: Telnyx::Models::Whatsapp::PhoneNumberGetResponse::Data::SyncProgress?,
|
|
117
139
|
user_id: String,
|
|
118
140
|
waba_id: String
|
|
119
141
|
}
|
|
142
|
+
|
|
143
|
+
type coexistence_state =
|
|
144
|
+
:pending_onboarding
|
|
145
|
+
| :sync_pending
|
|
146
|
+
| :syncing
|
|
147
|
+
| :sync_complete
|
|
148
|
+
| :active
|
|
149
|
+
| :history_declined
|
|
150
|
+
| :sync_deadline_expired
|
|
151
|
+
| :offboarded
|
|
152
|
+
| :disconnected
|
|
153
|
+
|
|
154
|
+
module CoexistenceState
|
|
155
|
+
extend Telnyx::Internal::Type::Enum
|
|
156
|
+
|
|
157
|
+
PENDING_ONBOARDING: :pending_onboarding
|
|
158
|
+
SYNC_PENDING: :sync_pending
|
|
159
|
+
SYNCING: :syncing
|
|
160
|
+
SYNC_COMPLETE: :sync_complete
|
|
161
|
+
ACTIVE: :active
|
|
162
|
+
HISTORY_DECLINED: :history_declined
|
|
163
|
+
SYNC_DEADLINE_EXPIRED: :sync_deadline_expired
|
|
164
|
+
OFFBOARDED: :offboarded
|
|
165
|
+
DISCONNECTED: :disconnected
|
|
166
|
+
|
|
167
|
+
def self?.values: -> ::Array[Telnyx::Models::Whatsapp::PhoneNumberGetResponse::Data::coexistence_state]
|
|
168
|
+
end
|
|
169
|
+
|
|
170
|
+
type sync_progress =
|
|
171
|
+
{
|
|
172
|
+
contacts_status: String,
|
|
173
|
+
history_chunk_order: Integer?,
|
|
174
|
+
history_phase: Integer?,
|
|
175
|
+
history_progress: Integer?,
|
|
176
|
+
history_status: String
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
class SyncProgress < Telnyx::Internal::Type::BaseModel
|
|
180
|
+
attr_reader contacts_status: String?
|
|
181
|
+
|
|
182
|
+
def contacts_status=: (String) -> String
|
|
183
|
+
|
|
184
|
+
attr_accessor history_chunk_order: Integer?
|
|
185
|
+
|
|
186
|
+
attr_accessor history_phase: Integer?
|
|
187
|
+
|
|
188
|
+
attr_accessor history_progress: Integer?
|
|
189
|
+
|
|
190
|
+
attr_reader history_status: String?
|
|
191
|
+
|
|
192
|
+
def history_status=: (String) -> String
|
|
193
|
+
|
|
194
|
+
def initialize: (
|
|
195
|
+
?contacts_status: String,
|
|
196
|
+
?history_chunk_order: Integer?,
|
|
197
|
+
?history_phase: Integer?,
|
|
198
|
+
?history_progress: Integer?,
|
|
199
|
+
?history_status: String
|
|
200
|
+
) -> void
|
|
201
|
+
|
|
202
|
+
def to_hash: -> {
|
|
203
|
+
contacts_status: String,
|
|
204
|
+
history_chunk_order: Integer?,
|
|
205
|
+
history_phase: Integer?,
|
|
206
|
+
history_progress: Integer?,
|
|
207
|
+
history_status: String
|
|
208
|
+
}
|
|
209
|
+
end
|
|
120
210
|
end
|
|
121
211
|
end
|
|
122
212
|
end
|
|
@@ -4,14 +4,18 @@ module Telnyx
|
|
|
4
4
|
type phone_number_list_response =
|
|
5
5
|
{
|
|
6
6
|
calling_enabled: bool,
|
|
7
|
+
coexistence_state: Telnyx::Models::Whatsapp::PhoneNumberListResponse::coexistence_state?,
|
|
7
8
|
created_at: Time,
|
|
8
9
|
display_name: String,
|
|
9
10
|
enabled: bool,
|
|
11
|
+
is_on_biz_app: bool,
|
|
10
12
|
phone_number: String,
|
|
11
13
|
phone_number_id: String,
|
|
12
14
|
quality_rating: String,
|
|
13
15
|
record_type: String,
|
|
14
16
|
status: String,
|
|
17
|
+
sync_deadline: Time?,
|
|
18
|
+
sync_progress: Telnyx::Models::Whatsapp::PhoneNumberListResponse::SyncProgress?,
|
|
15
19
|
user_id: String,
|
|
16
20
|
waba_id: String
|
|
17
21
|
}
|
|
@@ -21,6 +25,8 @@ module Telnyx
|
|
|
21
25
|
|
|
22
26
|
def calling_enabled=: (bool) -> bool
|
|
23
27
|
|
|
28
|
+
attr_accessor coexistence_state: Telnyx::Models::Whatsapp::PhoneNumberListResponse::coexistence_state?
|
|
29
|
+
|
|
24
30
|
attr_reader created_at: Time?
|
|
25
31
|
|
|
26
32
|
def created_at=: (Time) -> Time
|
|
@@ -33,6 +39,10 @@ module Telnyx
|
|
|
33
39
|
|
|
34
40
|
def enabled=: (bool) -> bool
|
|
35
41
|
|
|
42
|
+
attr_reader is_on_biz_app: bool?
|
|
43
|
+
|
|
44
|
+
def is_on_biz_app=: (bool) -> bool
|
|
45
|
+
|
|
36
46
|
attr_reader phone_number: String?
|
|
37
47
|
|
|
38
48
|
def phone_number=: (String) -> String
|
|
@@ -53,6 +63,10 @@ module Telnyx
|
|
|
53
63
|
|
|
54
64
|
def status=: (String) -> String
|
|
55
65
|
|
|
66
|
+
attr_accessor sync_deadline: Time?
|
|
67
|
+
|
|
68
|
+
attr_accessor sync_progress: Telnyx::Models::Whatsapp::PhoneNumberListResponse::SyncProgress?
|
|
69
|
+
|
|
56
70
|
attr_reader user_id: String?
|
|
57
71
|
|
|
58
72
|
def user_id=: (String) -> String
|
|
@@ -63,31 +77,107 @@ module Telnyx
|
|
|
63
77
|
|
|
64
78
|
def initialize: (
|
|
65
79
|
?calling_enabled: bool,
|
|
80
|
+
?coexistence_state: Telnyx::Models::Whatsapp::PhoneNumberListResponse::coexistence_state?,
|
|
66
81
|
?created_at: Time,
|
|
67
82
|
?display_name: String,
|
|
68
83
|
?enabled: bool,
|
|
84
|
+
?is_on_biz_app: bool,
|
|
69
85
|
?phone_number: String,
|
|
70
86
|
?phone_number_id: String,
|
|
71
87
|
?quality_rating: String,
|
|
72
88
|
?record_type: String,
|
|
73
89
|
?status: String,
|
|
90
|
+
?sync_deadline: Time?,
|
|
91
|
+
?sync_progress: Telnyx::Models::Whatsapp::PhoneNumberListResponse::SyncProgress?,
|
|
74
92
|
?user_id: String,
|
|
75
93
|
?waba_id: String
|
|
76
94
|
) -> void
|
|
77
95
|
|
|
78
96
|
def to_hash: -> {
|
|
79
97
|
calling_enabled: bool,
|
|
98
|
+
coexistence_state: Telnyx::Models::Whatsapp::PhoneNumberListResponse::coexistence_state?,
|
|
80
99
|
created_at: Time,
|
|
81
100
|
display_name: String,
|
|
82
101
|
enabled: bool,
|
|
102
|
+
is_on_biz_app: bool,
|
|
83
103
|
phone_number: String,
|
|
84
104
|
phone_number_id: String,
|
|
85
105
|
quality_rating: String,
|
|
86
106
|
record_type: String,
|
|
87
107
|
status: String,
|
|
108
|
+
sync_deadline: Time?,
|
|
109
|
+
sync_progress: Telnyx::Models::Whatsapp::PhoneNumberListResponse::SyncProgress?,
|
|
88
110
|
user_id: String,
|
|
89
111
|
waba_id: String
|
|
90
112
|
}
|
|
113
|
+
|
|
114
|
+
type coexistence_state =
|
|
115
|
+
:pending_onboarding
|
|
116
|
+
| :sync_pending
|
|
117
|
+
| :syncing
|
|
118
|
+
| :sync_complete
|
|
119
|
+
| :active
|
|
120
|
+
| :history_declined
|
|
121
|
+
| :sync_deadline_expired
|
|
122
|
+
| :offboarded
|
|
123
|
+
| :disconnected
|
|
124
|
+
|
|
125
|
+
module CoexistenceState
|
|
126
|
+
extend Telnyx::Internal::Type::Enum
|
|
127
|
+
|
|
128
|
+
PENDING_ONBOARDING: :pending_onboarding
|
|
129
|
+
SYNC_PENDING: :sync_pending
|
|
130
|
+
SYNCING: :syncing
|
|
131
|
+
SYNC_COMPLETE: :sync_complete
|
|
132
|
+
ACTIVE: :active
|
|
133
|
+
HISTORY_DECLINED: :history_declined
|
|
134
|
+
SYNC_DEADLINE_EXPIRED: :sync_deadline_expired
|
|
135
|
+
OFFBOARDED: :offboarded
|
|
136
|
+
DISCONNECTED: :disconnected
|
|
137
|
+
|
|
138
|
+
def self?.values: -> ::Array[Telnyx::Models::Whatsapp::PhoneNumberListResponse::coexistence_state]
|
|
139
|
+
end
|
|
140
|
+
|
|
141
|
+
type sync_progress =
|
|
142
|
+
{
|
|
143
|
+
contacts_status: String,
|
|
144
|
+
history_chunk_order: Integer?,
|
|
145
|
+
history_phase: Integer?,
|
|
146
|
+
history_progress: Integer?,
|
|
147
|
+
history_status: String
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
class SyncProgress < Telnyx::Internal::Type::BaseModel
|
|
151
|
+
attr_reader contacts_status: String?
|
|
152
|
+
|
|
153
|
+
def contacts_status=: (String) -> String
|
|
154
|
+
|
|
155
|
+
attr_accessor history_chunk_order: Integer?
|
|
156
|
+
|
|
157
|
+
attr_accessor history_phase: Integer?
|
|
158
|
+
|
|
159
|
+
attr_accessor history_progress: Integer?
|
|
160
|
+
|
|
161
|
+
attr_reader history_status: String?
|
|
162
|
+
|
|
163
|
+
def history_status=: (String) -> String
|
|
164
|
+
|
|
165
|
+
def initialize: (
|
|
166
|
+
?contacts_status: String,
|
|
167
|
+
?history_chunk_order: Integer?,
|
|
168
|
+
?history_phase: Integer?,
|
|
169
|
+
?history_progress: Integer?,
|
|
170
|
+
?history_status: String
|
|
171
|
+
) -> void
|
|
172
|
+
|
|
173
|
+
def to_hash: -> {
|
|
174
|
+
contacts_status: String,
|
|
175
|
+
history_chunk_order: Integer?,
|
|
176
|
+
history_phase: Integer?,
|
|
177
|
+
history_progress: Integer?,
|
|
178
|
+
history_status: String
|
|
179
|
+
}
|
|
180
|
+
end
|
|
91
181
|
end
|
|
92
182
|
end
|
|
93
183
|
end
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
module Telnyx
|
|
2
|
+
module Models
|
|
3
|
+
module Whatsapp
|
|
4
|
+
type phone_number_retrieve_phone_number_params =
|
|
5
|
+
{ phone_number: String } & Telnyx::Internal::Type::request_parameters
|
|
6
|
+
|
|
7
|
+
class PhoneNumberRetrievePhoneNumberParams < Telnyx::Internal::Type::BaseModel
|
|
8
|
+
extend Telnyx::Internal::Type::RequestParameters::Converter
|
|
9
|
+
include Telnyx::Internal::Type::RequestParameters
|
|
10
|
+
|
|
11
|
+
attr_accessor phone_number: String
|
|
12
|
+
|
|
13
|
+
def initialize: (
|
|
14
|
+
phone_number: String,
|
|
15
|
+
?request_options: Telnyx::request_opts
|
|
16
|
+
) -> void
|
|
17
|
+
|
|
18
|
+
def to_hash: -> {
|
|
19
|
+
phone_number: String,
|
|
20
|
+
request_options: Telnyx::RequestOptions
|
|
21
|
+
}
|
|
22
|
+
end
|
|
23
|
+
end
|
|
24
|
+
end
|
|
25
|
+
end
|
|
@@ -0,0 +1,201 @@
|
|
|
1
|
+
module Telnyx
|
|
2
|
+
module Models
|
|
3
|
+
module Whatsapp
|
|
4
|
+
type phone_number_retrieve_phone_number_response =
|
|
5
|
+
{
|
|
6
|
+
data: Telnyx::Models::Whatsapp::PhoneNumberRetrievePhoneNumberResponse::Data
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
class PhoneNumberRetrievePhoneNumberResponse < Telnyx::Internal::Type::BaseModel
|
|
10
|
+
attr_accessor data: Telnyx::Models::Whatsapp::PhoneNumberRetrievePhoneNumberResponse::Data
|
|
11
|
+
|
|
12
|
+
def initialize: (
|
|
13
|
+
data: Telnyx::Models::Whatsapp::PhoneNumberRetrievePhoneNumberResponse::Data
|
|
14
|
+
) -> void
|
|
15
|
+
|
|
16
|
+
def to_hash: -> {
|
|
17
|
+
data: Telnyx::Models::Whatsapp::PhoneNumberRetrievePhoneNumberResponse::Data
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
type data =
|
|
21
|
+
{
|
|
22
|
+
calling_enabled: bool,
|
|
23
|
+
coexistence_state: Telnyx::Models::Whatsapp::PhoneNumberRetrievePhoneNumberResponse::Data::coexistence_state?,
|
|
24
|
+
created_at: Time,
|
|
25
|
+
display_name: String,
|
|
26
|
+
enabled: bool,
|
|
27
|
+
is_on_biz_app: bool,
|
|
28
|
+
phone_number: String,
|
|
29
|
+
phone_number_id: String,
|
|
30
|
+
quality_rating: String,
|
|
31
|
+
record_type: String,
|
|
32
|
+
status: String,
|
|
33
|
+
sync_deadline: Time?,
|
|
34
|
+
sync_progress: Telnyx::Models::Whatsapp::PhoneNumberRetrievePhoneNumberResponse::Data::SyncProgress?,
|
|
35
|
+
user_id: String,
|
|
36
|
+
waba_id: String
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
class Data < Telnyx::Internal::Type::BaseModel
|
|
40
|
+
attr_reader calling_enabled: bool?
|
|
41
|
+
|
|
42
|
+
def calling_enabled=: (bool) -> bool
|
|
43
|
+
|
|
44
|
+
attr_accessor coexistence_state: Telnyx::Models::Whatsapp::PhoneNumberRetrievePhoneNumberResponse::Data::coexistence_state?
|
|
45
|
+
|
|
46
|
+
attr_reader created_at: Time?
|
|
47
|
+
|
|
48
|
+
def created_at=: (Time) -> Time
|
|
49
|
+
|
|
50
|
+
attr_reader display_name: String?
|
|
51
|
+
|
|
52
|
+
def display_name=: (String) -> String
|
|
53
|
+
|
|
54
|
+
attr_reader enabled: bool?
|
|
55
|
+
|
|
56
|
+
def enabled=: (bool) -> bool
|
|
57
|
+
|
|
58
|
+
attr_reader is_on_biz_app: bool?
|
|
59
|
+
|
|
60
|
+
def is_on_biz_app=: (bool) -> bool
|
|
61
|
+
|
|
62
|
+
attr_reader phone_number: String?
|
|
63
|
+
|
|
64
|
+
def phone_number=: (String) -> String
|
|
65
|
+
|
|
66
|
+
attr_reader phone_number_id: String?
|
|
67
|
+
|
|
68
|
+
def phone_number_id=: (String) -> String
|
|
69
|
+
|
|
70
|
+
attr_reader quality_rating: String?
|
|
71
|
+
|
|
72
|
+
def quality_rating=: (String) -> String
|
|
73
|
+
|
|
74
|
+
attr_reader record_type: String?
|
|
75
|
+
|
|
76
|
+
def record_type=: (String) -> String
|
|
77
|
+
|
|
78
|
+
attr_reader status: String?
|
|
79
|
+
|
|
80
|
+
def status=: (String) -> String
|
|
81
|
+
|
|
82
|
+
attr_accessor sync_deadline: Time?
|
|
83
|
+
|
|
84
|
+
attr_accessor sync_progress: Telnyx::Models::Whatsapp::PhoneNumberRetrievePhoneNumberResponse::Data::SyncProgress?
|
|
85
|
+
|
|
86
|
+
attr_reader user_id: String?
|
|
87
|
+
|
|
88
|
+
def user_id=: (String) -> String
|
|
89
|
+
|
|
90
|
+
attr_reader waba_id: String?
|
|
91
|
+
|
|
92
|
+
def waba_id=: (String) -> String
|
|
93
|
+
|
|
94
|
+
def initialize: (
|
|
95
|
+
?calling_enabled: bool,
|
|
96
|
+
?coexistence_state: Telnyx::Models::Whatsapp::PhoneNumberRetrievePhoneNumberResponse::Data::coexistence_state?,
|
|
97
|
+
?created_at: Time,
|
|
98
|
+
?display_name: String,
|
|
99
|
+
?enabled: bool,
|
|
100
|
+
?is_on_biz_app: bool,
|
|
101
|
+
?phone_number: String,
|
|
102
|
+
?phone_number_id: String,
|
|
103
|
+
?quality_rating: String,
|
|
104
|
+
?record_type: String,
|
|
105
|
+
?status: String,
|
|
106
|
+
?sync_deadline: Time?,
|
|
107
|
+
?sync_progress: Telnyx::Models::Whatsapp::PhoneNumberRetrievePhoneNumberResponse::Data::SyncProgress?,
|
|
108
|
+
?user_id: String,
|
|
109
|
+
?waba_id: String
|
|
110
|
+
) -> void
|
|
111
|
+
|
|
112
|
+
def to_hash: -> {
|
|
113
|
+
calling_enabled: bool,
|
|
114
|
+
coexistence_state: Telnyx::Models::Whatsapp::PhoneNumberRetrievePhoneNumberResponse::Data::coexistence_state?,
|
|
115
|
+
created_at: Time,
|
|
116
|
+
display_name: String,
|
|
117
|
+
enabled: bool,
|
|
118
|
+
is_on_biz_app: bool,
|
|
119
|
+
phone_number: String,
|
|
120
|
+
phone_number_id: String,
|
|
121
|
+
quality_rating: String,
|
|
122
|
+
record_type: String,
|
|
123
|
+
status: String,
|
|
124
|
+
sync_deadline: Time?,
|
|
125
|
+
sync_progress: Telnyx::Models::Whatsapp::PhoneNumberRetrievePhoneNumberResponse::Data::SyncProgress?,
|
|
126
|
+
user_id: String,
|
|
127
|
+
waba_id: String
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
type coexistence_state =
|
|
131
|
+
:pending_onboarding
|
|
132
|
+
| :sync_pending
|
|
133
|
+
| :syncing
|
|
134
|
+
| :sync_complete
|
|
135
|
+
| :active
|
|
136
|
+
| :history_declined
|
|
137
|
+
| :sync_deadline_expired
|
|
138
|
+
| :offboarded
|
|
139
|
+
| :disconnected
|
|
140
|
+
|
|
141
|
+
module CoexistenceState
|
|
142
|
+
extend Telnyx::Internal::Type::Enum
|
|
143
|
+
|
|
144
|
+
PENDING_ONBOARDING: :pending_onboarding
|
|
145
|
+
SYNC_PENDING: :sync_pending
|
|
146
|
+
SYNCING: :syncing
|
|
147
|
+
SYNC_COMPLETE: :sync_complete
|
|
148
|
+
ACTIVE: :active
|
|
149
|
+
HISTORY_DECLINED: :history_declined
|
|
150
|
+
SYNC_DEADLINE_EXPIRED: :sync_deadline_expired
|
|
151
|
+
OFFBOARDED: :offboarded
|
|
152
|
+
DISCONNECTED: :disconnected
|
|
153
|
+
|
|
154
|
+
def self?.values: -> ::Array[Telnyx::Models::Whatsapp::PhoneNumberRetrievePhoneNumberResponse::Data::coexistence_state]
|
|
155
|
+
end
|
|
156
|
+
|
|
157
|
+
type sync_progress =
|
|
158
|
+
{
|
|
159
|
+
contacts_status: String,
|
|
160
|
+
history_chunk_order: Integer?,
|
|
161
|
+
history_phase: Integer?,
|
|
162
|
+
history_progress: Integer?,
|
|
163
|
+
history_status: String
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
class SyncProgress < Telnyx::Internal::Type::BaseModel
|
|
167
|
+
attr_reader contacts_status: String?
|
|
168
|
+
|
|
169
|
+
def contacts_status=: (String) -> String
|
|
170
|
+
|
|
171
|
+
attr_accessor history_chunk_order: Integer?
|
|
172
|
+
|
|
173
|
+
attr_accessor history_phase: Integer?
|
|
174
|
+
|
|
175
|
+
attr_accessor history_progress: Integer?
|
|
176
|
+
|
|
177
|
+
attr_reader history_status: String?
|
|
178
|
+
|
|
179
|
+
def history_status=: (String) -> String
|
|
180
|
+
|
|
181
|
+
def initialize: (
|
|
182
|
+
?contacts_status: String,
|
|
183
|
+
?history_chunk_order: Integer?,
|
|
184
|
+
?history_phase: Integer?,
|
|
185
|
+
?history_progress: Integer?,
|
|
186
|
+
?history_status: String
|
|
187
|
+
) -> void
|
|
188
|
+
|
|
189
|
+
def to_hash: -> {
|
|
190
|
+
contacts_status: String,
|
|
191
|
+
history_chunk_order: Integer?,
|
|
192
|
+
history_phase: Integer?,
|
|
193
|
+
history_progress: Integer?,
|
|
194
|
+
history_status: String
|
|
195
|
+
}
|
|
196
|
+
end
|
|
197
|
+
end
|
|
198
|
+
end
|
|
199
|
+
end
|
|
200
|
+
end
|
|
201
|
+
end
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
module Telnyx
|
|
2
|
+
module Models
|
|
3
|
+
type whatsapp_account_update = { data: Telnyx::WhatsappAccountUpdate::Data }
|
|
4
|
+
|
|
5
|
+
class WhatsappAccountUpdate < Telnyx::Internal::Type::BaseModel
|
|
6
|
+
attr_accessor data: Telnyx::WhatsappAccountUpdate::Data
|
|
7
|
+
|
|
8
|
+
def initialize: (data: Telnyx::WhatsappAccountUpdate::Data) -> void
|
|
9
|
+
|
|
10
|
+
def to_hash: -> { data: Telnyx::WhatsappAccountUpdate::Data }
|
|
11
|
+
|
|
12
|
+
type data =
|
|
13
|
+
{
|
|
14
|
+
id: String,
|
|
15
|
+
event_type: Telnyx::Models::WhatsappAccountUpdate::Data::event_type,
|
|
16
|
+
occurred_at: Time,
|
|
17
|
+
payload: Telnyx::WhatsappAccountUpdate::Data::Payload,
|
|
18
|
+
record_type: Telnyx::Models::WhatsappAccountUpdate::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::WhatsappAccountUpdate::Data::event_type
|
|
25
|
+
|
|
26
|
+
attr_accessor occurred_at: Time
|
|
27
|
+
|
|
28
|
+
attr_accessor payload: Telnyx::WhatsappAccountUpdate::Data::Payload
|
|
29
|
+
|
|
30
|
+
attr_accessor record_type: Telnyx::Models::WhatsappAccountUpdate::Data::record_type
|
|
31
|
+
|
|
32
|
+
def initialize: (
|
|
33
|
+
id: String,
|
|
34
|
+
event_type: Telnyx::Models::WhatsappAccountUpdate::Data::event_type,
|
|
35
|
+
occurred_at: Time,
|
|
36
|
+
payload: Telnyx::WhatsappAccountUpdate::Data::Payload,
|
|
37
|
+
record_type: Telnyx::Models::WhatsappAccountUpdate::Data::record_type
|
|
38
|
+
) -> void
|
|
39
|
+
|
|
40
|
+
def to_hash: -> {
|
|
41
|
+
id: String,
|
|
42
|
+
event_type: Telnyx::Models::WhatsappAccountUpdate::Data::event_type,
|
|
43
|
+
occurred_at: Time,
|
|
44
|
+
payload: Telnyx::WhatsappAccountUpdate::Data::Payload,
|
|
45
|
+
record_type: Telnyx::Models::WhatsappAccountUpdate::Data::record_type
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
type event_type = :"whatsapp.account.update"
|
|
49
|
+
|
|
50
|
+
module EventType
|
|
51
|
+
extend Telnyx::Internal::Type::Enum
|
|
52
|
+
|
|
53
|
+
WHATSAPP_ACCOUNT_UPDATE: :"whatsapp.account.update"
|
|
54
|
+
|
|
55
|
+
def self?.values: -> ::Array[Telnyx::Models::WhatsappAccountUpdate::Data::event_type]
|
|
56
|
+
end
|
|
57
|
+
|
|
58
|
+
type payload =
|
|
59
|
+
{
|
|
60
|
+
event: String,
|
|
61
|
+
record_type: Telnyx::Models::WhatsappAccountUpdate::Data::Payload::record_type,
|
|
62
|
+
waba_id: String
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
class Payload < Telnyx::Internal::Type::BaseModel
|
|
66
|
+
attr_accessor event: String
|
|
67
|
+
|
|
68
|
+
attr_accessor record_type: Telnyx::Models::WhatsappAccountUpdate::Data::Payload::record_type
|
|
69
|
+
|
|
70
|
+
attr_accessor waba_id: String
|
|
71
|
+
|
|
72
|
+
def initialize: (
|
|
73
|
+
event: String,
|
|
74
|
+
record_type: Telnyx::Models::WhatsappAccountUpdate::Data::Payload::record_type,
|
|
75
|
+
waba_id: String
|
|
76
|
+
) -> void
|
|
77
|
+
|
|
78
|
+
def to_hash: -> {
|
|
79
|
+
event: String,
|
|
80
|
+
record_type: Telnyx::Models::WhatsappAccountUpdate::Data::Payload::record_type,
|
|
81
|
+
waba_id: String
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
type record_type = :whatsapp_account
|
|
85
|
+
|
|
86
|
+
module RecordType
|
|
87
|
+
extend Telnyx::Internal::Type::Enum
|
|
88
|
+
|
|
89
|
+
WHATSAPP_ACCOUNT: :whatsapp_account
|
|
90
|
+
|
|
91
|
+
def self?.values: -> ::Array[Telnyx::Models::WhatsappAccountUpdate::Data::Payload::record_type]
|
|
92
|
+
end
|
|
93
|
+
end
|
|
94
|
+
|
|
95
|
+
type record_type = :event
|
|
96
|
+
|
|
97
|
+
module RecordType
|
|
98
|
+
extend Telnyx::Internal::Type::Enum
|
|
99
|
+
|
|
100
|
+
EVENT: :event
|
|
101
|
+
|
|
102
|
+
def self?.values: -> ::Array[Telnyx::Models::WhatsappAccountUpdate::Data::record_type]
|
|
103
|
+
end
|
|
104
|
+
end
|
|
105
|
+
end
|
|
106
|
+
end
|
|
107
|
+
end
|