rcs 2.0.13 → 2.0.15
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/.fern/metadata.json +2 -2
- data/.fernignore +2 -1
- data/lib/pinnacle/audiences/client.rb +34 -0
- data/lib/pinnacle/audiences/types/list_audiences_params.rb +13 -0
- data/lib/pinnacle/brands/client.rb +34 -0
- data/lib/pinnacle/brands/types/list_brands_params.rb +15 -0
- data/lib/pinnacle/brands/types/list_brands_request_status.rb +18 -0
- data/lib/pinnacle/campaigns/dlc/client.rb +35 -0
- data/lib/pinnacle/campaigns/dlc/types/list_dlc_campaigns_params.rb +17 -0
- data/lib/pinnacle/campaigns/dlc/types/list_dlc_campaigns_request_status.rb +18 -0
- data/lib/pinnacle/campaigns/rcs/client.rb +35 -0
- data/lib/pinnacle/campaigns/rcs/types/list_rcs_campaigns_params.rb +17 -0
- data/lib/pinnacle/campaigns/rcs/types/list_rcs_campaigns_request_status.rb +18 -0
- data/lib/pinnacle/campaigns/rcs/types/upsert_rcs_campaign_params.rb +3 -6
- data/lib/pinnacle/campaigns/toll_free/client.rb +35 -0
- data/lib/pinnacle/campaigns/toll_free/types/list_toll_free_campaigns_params.rb +17 -0
- data/lib/pinnacle/campaigns/toll_free/types/list_toll_free_campaigns_request_status.rb +18 -0
- data/lib/pinnacle/client.rb +1 -1
- data/lib/pinnacle/contacts/client.rb +34 -0
- data/lib/pinnacle/contacts/types/list_contacts_params.rb +16 -0
- data/lib/pinnacle/internal/types/boolean.rb +1 -1
- data/lib/pinnacle/internal/types/utils.rb +2 -2
- data/lib/pinnacle/messages/blasts/client.rb +50 -0
- data/lib/pinnacle/messages/blasts/types/list_blasts_params.rb +17 -0
- data/lib/pinnacle/messages/client.rb +44 -0
- data/lib/pinnacle/messages/rcs/types/send_rich_message_response.rb +2 -0
- data/lib/pinnacle/messages/rcs/types/send_typing_indicator_schema.rb +0 -1
- data/lib/pinnacle/messages/schedules/client.rb +51 -0
- data/lib/pinnacle/messages/schedules/types/list_scheduled_messages_params.rb +17 -0
- data/lib/pinnacle/messages/schedules/types/list_scheduled_messages_request_schedule_type.rb +16 -0
- data/lib/pinnacle/messages/schedules/types/list_scheduled_messages_request_status.rb +17 -0
- data/lib/pinnacle/messages/types/list_messages_params.rb +21 -0
- data/lib/pinnacle/messages/types/list_messages_request_direction.rb +14 -0
- data/lib/pinnacle/messages/types/list_messages_request_method.rb +15 -0
- data/lib/pinnacle/messages/types/list_messages_request_status.rb +21 -0
- data/lib/pinnacle/messages/types/list_messages_request_type.rb +15 -0
- data/lib/pinnacle/phone_numbers/client.rb +32 -3
- data/lib/pinnacle/phone_numbers/types/list_phone_numbers_params.rb +12 -0
- data/lib/pinnacle/rcs/agents/client.rb +50 -0
- data/lib/pinnacle/rcs/agents/types/list_agents_params.rb +16 -0
- data/lib/pinnacle/rcs/agents/types/list_agents_request_agent_type.rb +16 -0
- data/lib/pinnacle/rcs/client.rb +34 -44
- data/lib/pinnacle/rcs/test/client.rb +275 -0
- data/lib/pinnacle/rcs/test/types/create_test_agent_request.rb +24 -0
- data/lib/pinnacle/rcs/test/types/test_agent_whitelist_request.rb +14 -0
- data/lib/pinnacle/rcs/test/types/test_get_whitelist_status_request.rb +14 -0
- data/lib/pinnacle/rcs/test/types/update_test_agent_request.rb +25 -0
- data/lib/pinnacle/rcs/types/rcs_capabilities_query.rb +1 -0
- data/lib/pinnacle/rcs/types/rcs_link_request.rb +0 -1
- data/lib/pinnacle/rcs/whitelisted_numbers/client.rb +51 -0
- data/lib/pinnacle/rcs/whitelisted_numbers/types/list_test_numbers_params.rb +17 -0
- data/lib/pinnacle/rcs/whitelisted_numbers/types/list_test_numbers_request_status.rb +17 -0
- data/lib/pinnacle/tools/url/client.rb +34 -0
- data/lib/pinnacle/tools/url/types/list_links_params.rb +15 -0
- data/lib/pinnacle/types/agent_email_entry.rb +11 -0
- data/lib/pinnacle/types/agent_phone_entry.rb +11 -0
- data/lib/pinnacle/types/agent_summary.rb +15 -0
- data/lib/pinnacle/types/agent_summary_agent_type.rb +12 -0
- data/lib/pinnacle/types/agent_summary_carrier_launches.rb +13 -0
- data/lib/pinnacle/types/agent_summary_config.rb +21 -0
- data/lib/pinnacle/types/agent_summary_config_agent_use_case.rb +14 -0
- data/lib/pinnacle/types/agent_summary_config_emails_item.rb +10 -0
- data/lib/pinnacle/types/agent_summary_config_phones_item.rb +10 -0
- data/lib/pinnacle/types/agent_summary_config_websites_item.rb +10 -0
- data/lib/pinnacle/types/agent_use_case.rb +14 -0
- data/lib/pinnacle/types/agent_website_entry.rb +11 -0
- data/lib/pinnacle/types/attach_webhook_response_webhook.rb +1 -2
- data/lib/pinnacle/types/attach_webhook_result.rb +12 -0
- data/lib/pinnacle/types/audience_summary.rb +13 -0
- data/lib/pinnacle/types/blast_summary.rb +16 -0
- data/lib/pinnacle/types/blast_summary_type.rb +13 -0
- data/lib/pinnacle/types/carrier_launch_status.rb +13 -0
- data/lib/pinnacle/types/carrier_launches.rb +13 -0
- data/lib/pinnacle/types/detach_webhook_result.rb +11 -0
- data/lib/pinnacle/types/dlc_campaign_summary.rb +15 -0
- data/lib/pinnacle/types/dlc_campaign_summary_status.rb +14 -0
- data/lib/pinnacle/types/extended_rcs_campaign.rb +3 -6
- data/lib/pinnacle/types/failed_sender.rb +10 -0
- data/lib/pinnacle/types/fallback_message.rb +5 -3
- data/lib/pinnacle/types/link_summary.rb +12 -0
- data/lib/pinnacle/types/list_agents_response.rb +11 -0
- data/lib/pinnacle/types/list_audiences_response.rb +11 -0
- data/lib/pinnacle/types/list_blasts_response.rb +11 -0
- data/lib/pinnacle/types/list_brands_response.rb +11 -0
- data/lib/pinnacle/types/list_contacts_response.rb +11 -0
- data/lib/pinnacle/types/list_dlc_campaigns_response.rb +11 -0
- data/lib/pinnacle/types/list_links_response.rb +11 -0
- data/lib/pinnacle/types/list_messages_response.rb +11 -0
- data/lib/pinnacle/types/list_phone_numbers_response.rb +11 -0
- data/lib/pinnacle/types/list_rcs_campaigns_response.rb +11 -0
- data/lib/pinnacle/types/list_scheduled_messages_response.rb +11 -0
- data/lib/pinnacle/types/list_test_numbers_response.rb +11 -0
- data/lib/pinnacle/types/list_toll_free_campaigns_response.rb +11 -0
- data/lib/pinnacle/types/list_webhooks_response.rb +11 -0
- data/lib/pinnacle/types/message.rb +0 -1
- data/lib/pinnacle/types/message_event.rb +2 -1
- data/lib/pinnacle/types/message_event_fallback_message.rb +6 -6
- data/lib/pinnacle/types/message_list.rb +1 -1
- data/lib/pinnacle/types/message_summary.rb +25 -0
- data/lib/pinnacle/types/{message_with_reaction_direction.rb → message_summary_direction.rb} +1 -1
- data/lib/pinnacle/types/message_summary_method.rb +13 -0
- data/lib/pinnacle/types/message_summary_status.rb +19 -0
- data/lib/pinnacle/types/message_summary_type.rb +13 -0
- data/lib/pinnacle/types/message_with_reactions.rb +11 -0
- data/lib/pinnacle/types/message_with_reactions_direction.rb +12 -0
- data/lib/pinnacle/types/owned_phone_number.rb +14 -0
- data/lib/pinnacle/types/rcs_agent_details.rb +21 -0
- data/lib/pinnacle/types/rcs_agent_details_agent_use_case.rb +14 -0
- data/lib/pinnacle/types/rcs_agent_details_emails_item.rb +10 -0
- data/lib/pinnacle/types/rcs_agent_details_phones_item.rb +10 -0
- data/lib/pinnacle/types/rcs_agent_details_websites_item.rb +10 -0
- data/lib/pinnacle/types/rcs_agent_response.rb +14 -0
- data/lib/pinnacle/types/rcs_campaign.rb +3 -6
- data/lib/pinnacle/types/rcs_campaign_summary.rb +15 -0
- data/lib/pinnacle/types/rcs_campaign_summary_status.rb +14 -0
- data/lib/pinnacle/types/rcs_whitelist_status.rb +13 -0
- data/lib/pinnacle/types/scheduled_message_summary.rb +17 -0
- data/lib/pinnacle/types/scheduled_message_summary_status.rb +13 -0
- data/lib/pinnacle/types/send_rich_message_options.rb +0 -1
- data/lib/pinnacle/types/sent_rich_message_fallback_mms.rb +13 -0
- data/lib/pinnacle/types/sent_rich_message_fallback_sms.rb +13 -0
- data/lib/pinnacle/types/test_agent_response.rb +13 -0
- data/lib/pinnacle/types/test_agent_whitelist_response.rb +10 -0
- data/lib/pinnacle/types/toll_free_campaign_summary.rb +15 -0
- data/lib/pinnacle/types/toll_free_campaign_summary_status.rb +14 -0
- data/lib/pinnacle/types/webhook_event_enum.rb +1 -0
- data/lib/pinnacle/types/webhook_summary.rb +14 -0
- data/lib/pinnacle/types/webhook_summary_status.rb +13 -0
- data/lib/pinnacle/types/whitelisted_number_summary.rb +12 -0
- data/lib/pinnacle/types/whitelisted_number_summary_status.rb +13 -0
- data/lib/pinnacle/version.rb +1 -1
- data/lib/pinnacle/webhooks/client.rb +113 -0
- data/lib/pinnacle/webhooks/types/attach_webhook_params.rb +15 -0
- data/lib/pinnacle/webhooks/types/detach_webhook_params.rb +12 -0
- data/lib/pinnacle/webhooks/types/list_webhooks_params.rb +14 -0
- data/lib/pinnacle/webhooks/types/list_webhooks_request_status.rb +15 -0
- data/lib/pinnacle.rb +102 -18
- data/reference.md +2327 -454
- metadata +106 -17
- data/lib/pinnacle/campaigns/rcs/types/rcs_use_case.rb +0 -15
- data/lib/pinnacle/messages/rcs/types/send_typing_indicator_schema_options.rb +0 -14
- data/lib/pinnacle/phone_numbers/webhook/client.rb +0 -90
- data/lib/pinnacle/rcs/types/rcs_whitelist_request.rb +0 -12
- data/lib/pinnacle/types/attach_webhook_by_id_params.rb +0 -11
- data/lib/pinnacle/types/attach_webhook_params.rb +0 -15
- data/lib/pinnacle/types/configured_webhook.rb +0 -13
- data/lib/pinnacle/types/create_and_attach_webhook_by_url_params.rb +0 -12
- data/lib/pinnacle/types/detached_webhook_info.rb +0 -11
- data/lib/pinnacle/types/message_with_reaction.rb +0 -11
- data/lib/pinnacle/types/rcs_campaign_schema_extra_use_case.rb +0 -11
- data/lib/pinnacle/types/rcs_campaign_schema_use_case.rb +0 -11
- data/lib/pinnacle/types/rcs_campaign_use_case_enum.rb +0 -43
- data/lib/pinnacle/types/rcs_whitelist_response.rb +0 -10
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: rcs
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.0.
|
|
4
|
+
version: 2.0.15
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Pinnacle
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-
|
|
11
|
+
date: 2026-03-29 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
13
|
description: The Pinnacle Ruby library provides convenient access to the Pinnacle
|
|
14
14
|
API from Ruby.
|
|
@@ -32,11 +32,14 @@ files:
|
|
|
32
32
|
- lib/pinnacle/audiences/types/audiences_get_request.rb
|
|
33
33
|
- lib/pinnacle/audiences/types/audiences_get_response.rb
|
|
34
34
|
- lib/pinnacle/audiences/types/create_audience_params.rb
|
|
35
|
+
- lib/pinnacle/audiences/types/list_audiences_params.rb
|
|
35
36
|
- lib/pinnacle/audiences/types/update_audience_params.rb
|
|
36
37
|
- lib/pinnacle/brands/client.rb
|
|
37
38
|
- lib/pinnacle/brands/types/autofill_brand_options.rb
|
|
38
39
|
- lib/pinnacle/brands/types/autofill_brand_params.rb
|
|
39
40
|
- lib/pinnacle/brands/types/brands_get_request.rb
|
|
41
|
+
- lib/pinnacle/brands/types/list_brands_params.rb
|
|
42
|
+
- lib/pinnacle/brands/types/list_brands_request_status.rb
|
|
40
43
|
- lib/pinnacle/brands/types/upsert_brand_params.rb
|
|
41
44
|
- lib/pinnacle/brands/types/upsert_brand_schema_contact.rb
|
|
42
45
|
- lib/pinnacle/brands/types/upsert_brand_schema_entity_type.rb
|
|
@@ -52,8 +55,12 @@ files:
|
|
|
52
55
|
- lib/pinnacle/campaigns/dlc/types/dlc_campaign_opt_out_keywords.rb
|
|
53
56
|
- lib/pinnacle/campaigns/dlc/types/dlc_campaign_options.rb
|
|
54
57
|
- lib/pinnacle/campaigns/dlc/types/dlc_campaign_use_case.rb
|
|
58
|
+
- lib/pinnacle/campaigns/dlc/types/list_dlc_campaigns_params.rb
|
|
59
|
+
- lib/pinnacle/campaigns/dlc/types/list_dlc_campaigns_request_status.rb
|
|
55
60
|
- lib/pinnacle/campaigns/dlc/types/upsert_dlc_campaign_params.rb
|
|
56
61
|
- lib/pinnacle/campaigns/rcs/client.rb
|
|
62
|
+
- lib/pinnacle/campaigns/rcs/types/list_rcs_campaigns_params.rb
|
|
63
|
+
- lib/pinnacle/campaigns/rcs/types/list_rcs_campaigns_request_status.rb
|
|
57
64
|
- lib/pinnacle/campaigns/rcs/types/rcs_agent.rb
|
|
58
65
|
- lib/pinnacle/campaigns/rcs/types/rcs_agent_email.rb
|
|
59
66
|
- lib/pinnacle/campaigns/rcs/types/rcs_agent_phone.rb
|
|
@@ -65,9 +72,10 @@ files:
|
|
|
65
72
|
- lib/pinnacle/campaigns/rcs/types/rcs_campaign_opt_out_keywords.rb
|
|
66
73
|
- lib/pinnacle/campaigns/rcs/types/rcs_campaign_traffic.rb
|
|
67
74
|
- lib/pinnacle/campaigns/rcs/types/rcs_links.rb
|
|
68
|
-
- lib/pinnacle/campaigns/rcs/types/rcs_use_case.rb
|
|
69
75
|
- lib/pinnacle/campaigns/rcs/types/upsert_rcs_campaign_params.rb
|
|
70
76
|
- lib/pinnacle/campaigns/toll_free/client.rb
|
|
77
|
+
- lib/pinnacle/campaigns/toll_free/types/list_toll_free_campaigns_params.rb
|
|
78
|
+
- lib/pinnacle/campaigns/toll_free/types/list_toll_free_campaigns_request_status.rb
|
|
71
79
|
- lib/pinnacle/campaigns/toll_free/types/toll_free_autofill_response.rb
|
|
72
80
|
- lib/pinnacle/campaigns/toll_free/types/toll_free_campaign_help_keywords.rb
|
|
73
81
|
- lib/pinnacle/campaigns/toll_free/types/toll_free_campaign_keywords.rb
|
|
@@ -81,6 +89,7 @@ files:
|
|
|
81
89
|
- lib/pinnacle/contacts/client.rb
|
|
82
90
|
- lib/pinnacle/contacts/types/contacts_get_request.rb
|
|
83
91
|
- lib/pinnacle/contacts/types/create_contact_params.rb
|
|
92
|
+
- lib/pinnacle/contacts/types/list_contacts_params.rb
|
|
84
93
|
- lib/pinnacle/contacts/types/update_contact_params.rb
|
|
85
94
|
- lib/pinnacle/conversations/client.rb
|
|
86
95
|
- lib/pinnacle/conversations/types/conversations_list_messages_request.rb
|
|
@@ -135,6 +144,8 @@ files:
|
|
|
135
144
|
- lib/pinnacle/messages/blast/types/blast_sms.rb
|
|
136
145
|
- lib/pinnacle/messages/blast/types/blast_sms_options.rb
|
|
137
146
|
- lib/pinnacle/messages/blast/types/blast_sms_response.rb
|
|
147
|
+
- lib/pinnacle/messages/blasts/client.rb
|
|
148
|
+
- lib/pinnacle/messages/blasts/types/list_blasts_params.rb
|
|
138
149
|
- lib/pinnacle/messages/client.rb
|
|
139
150
|
- lib/pinnacle/messages/mms/client.rb
|
|
140
151
|
- lib/pinnacle/messages/mms/types/mms.rb
|
|
@@ -143,12 +154,20 @@ files:
|
|
|
143
154
|
- lib/pinnacle/messages/rcs/client.rb
|
|
144
155
|
- lib/pinnacle/messages/rcs/types/send_rich_message_response.rb
|
|
145
156
|
- lib/pinnacle/messages/rcs/types/send_typing_indicator_schema.rb
|
|
146
|
-
- lib/pinnacle/messages/rcs/types/send_typing_indicator_schema_options.rb
|
|
147
157
|
- lib/pinnacle/messages/schedule/client.rb
|
|
158
|
+
- lib/pinnacle/messages/schedules/client.rb
|
|
159
|
+
- lib/pinnacle/messages/schedules/types/list_scheduled_messages_params.rb
|
|
160
|
+
- lib/pinnacle/messages/schedules/types/list_scheduled_messages_request_schedule_type.rb
|
|
161
|
+
- lib/pinnacle/messages/schedules/types/list_scheduled_messages_request_status.rb
|
|
148
162
|
- lib/pinnacle/messages/sms/client.rb
|
|
149
163
|
- lib/pinnacle/messages/sms/types/send_sms_options.rb
|
|
150
164
|
- lib/pinnacle/messages/sms/types/sms.rb
|
|
151
165
|
- lib/pinnacle/messages/sms/types/sms_send_response.rb
|
|
166
|
+
- lib/pinnacle/messages/types/list_messages_params.rb
|
|
167
|
+
- lib/pinnacle/messages/types/list_messages_request_direction.rb
|
|
168
|
+
- lib/pinnacle/messages/types/list_messages_request_method.rb
|
|
169
|
+
- lib/pinnacle/messages/types/list_messages_request_status.rb
|
|
170
|
+
- lib/pinnacle/messages/types/list_messages_request_type.rb
|
|
152
171
|
- lib/pinnacle/messages/types/react_message_options.rb
|
|
153
172
|
- lib/pinnacle/messages/types/react_message_params.rb
|
|
154
173
|
- lib/pinnacle/phone_numbers/campaign/client.rb
|
|
@@ -157,6 +176,7 @@ files:
|
|
|
157
176
|
- lib/pinnacle/phone_numbers/client.rb
|
|
158
177
|
- lib/pinnacle/phone_numbers/types/buy_phone_number_params.rb
|
|
159
178
|
- lib/pinnacle/phone_numbers/types/enhanced_contact_info.rb
|
|
179
|
+
- lib/pinnacle/phone_numbers/types/list_phone_numbers_params.rb
|
|
160
180
|
- lib/pinnacle/phone_numbers/types/phone_details_schema_level.rb
|
|
161
181
|
- lib/pinnacle/phone_numbers/types/phone_numbers_get_response.rb
|
|
162
182
|
- lib/pinnacle/phone_numbers/types/retrieve_phone_number_details_options.rb
|
|
@@ -165,12 +185,21 @@ files:
|
|
|
165
185
|
- lib/pinnacle/phone_numbers/types/search_phone_number_by_location.rb
|
|
166
186
|
- lib/pinnacle/phone_numbers/types/search_phone_number_options.rb
|
|
167
187
|
- lib/pinnacle/phone_numbers/types/search_phone_number_params.rb
|
|
168
|
-
- lib/pinnacle/phone_numbers/webhook/client.rb
|
|
169
188
|
- lib/pinnacle/pinnacle_client.rb
|
|
189
|
+
- lib/pinnacle/rcs/agents/client.rb
|
|
190
|
+
- lib/pinnacle/rcs/agents/types/list_agents_params.rb
|
|
191
|
+
- lib/pinnacle/rcs/agents/types/list_agents_request_agent_type.rb
|
|
170
192
|
- lib/pinnacle/rcs/client.rb
|
|
193
|
+
- lib/pinnacle/rcs/test/client.rb
|
|
194
|
+
- lib/pinnacle/rcs/test/types/create_test_agent_request.rb
|
|
195
|
+
- lib/pinnacle/rcs/test/types/test_agent_whitelist_request.rb
|
|
196
|
+
- lib/pinnacle/rcs/test/types/test_get_whitelist_status_request.rb
|
|
197
|
+
- lib/pinnacle/rcs/test/types/update_test_agent_request.rb
|
|
171
198
|
- lib/pinnacle/rcs/types/rcs_capabilities_query.rb
|
|
172
199
|
- lib/pinnacle/rcs/types/rcs_link_request.rb
|
|
173
|
-
- lib/pinnacle/rcs/
|
|
200
|
+
- lib/pinnacle/rcs/whitelisted_numbers/client.rb
|
|
201
|
+
- lib/pinnacle/rcs/whitelisted_numbers/types/list_test_numbers_params.rb
|
|
202
|
+
- lib/pinnacle/rcs/whitelisted_numbers/types/list_test_numbers_request_status.rb
|
|
174
203
|
- lib/pinnacle/status/client.rb
|
|
175
204
|
- lib/pinnacle/status/get/client.rb
|
|
176
205
|
- lib/pinnacle/tools/client.rb
|
|
@@ -185,6 +214,7 @@ files:
|
|
|
185
214
|
- lib/pinnacle/tools/file/types/upload_file_params.rb
|
|
186
215
|
- lib/pinnacle/tools/url/client.rb
|
|
187
216
|
- lib/pinnacle/tools/url/types/create_url_params.rb
|
|
217
|
+
- lib/pinnacle/tools/url/types/list_links_params.rb
|
|
188
218
|
- lib/pinnacle/tools/url/types/update_url_params.rb
|
|
189
219
|
- lib/pinnacle/types/advanced_phone_information.rb
|
|
190
220
|
- lib/pinnacle/types/advanced_phone_information_carrier.rb
|
|
@@ -195,11 +225,23 @@ files:
|
|
|
195
225
|
- lib/pinnacle/types/advanced_phone_information_type.rb
|
|
196
226
|
- lib/pinnacle/types/advanced_phone_information_type_recommendation.rb
|
|
197
227
|
- lib/pinnacle/types/agent.rb
|
|
198
|
-
- lib/pinnacle/types/
|
|
199
|
-
- lib/pinnacle/types/
|
|
228
|
+
- lib/pinnacle/types/agent_email_entry.rb
|
|
229
|
+
- lib/pinnacle/types/agent_phone_entry.rb
|
|
230
|
+
- lib/pinnacle/types/agent_summary.rb
|
|
231
|
+
- lib/pinnacle/types/agent_summary_agent_type.rb
|
|
232
|
+
- lib/pinnacle/types/agent_summary_carrier_launches.rb
|
|
233
|
+
- lib/pinnacle/types/agent_summary_config.rb
|
|
234
|
+
- lib/pinnacle/types/agent_summary_config_agent_use_case.rb
|
|
235
|
+
- lib/pinnacle/types/agent_summary_config_emails_item.rb
|
|
236
|
+
- lib/pinnacle/types/agent_summary_config_phones_item.rb
|
|
237
|
+
- lib/pinnacle/types/agent_summary_config_websites_item.rb
|
|
238
|
+
- lib/pinnacle/types/agent_use_case.rb
|
|
239
|
+
- lib/pinnacle/types/agent_website_entry.rb
|
|
200
240
|
- lib/pinnacle/types/attach_webhook_response_webhook.rb
|
|
241
|
+
- lib/pinnacle/types/attach_webhook_result.rb
|
|
201
242
|
- lib/pinnacle/types/attached_phone_number_result.rb
|
|
202
243
|
- lib/pinnacle/types/audience_count_only.rb
|
|
244
|
+
- lib/pinnacle/types/audience_summary.rb
|
|
203
245
|
- lib/pinnacle/types/audience_with_pagination.rb
|
|
204
246
|
- lib/pinnacle/types/autofill_campaign_params.rb
|
|
205
247
|
- lib/pinnacle/types/autofill_dlc_campaign_response.rb
|
|
@@ -217,6 +259,8 @@ files:
|
|
|
217
259
|
- lib/pinnacle/types/basic_phone_information_location.rb
|
|
218
260
|
- lib/pinnacle/types/basic_phone_information_location_country.rb
|
|
219
261
|
- lib/pinnacle/types/blast_details.rb
|
|
262
|
+
- lib/pinnacle/types/blast_summary.rb
|
|
263
|
+
- lib/pinnacle/types/blast_summary_type.rb
|
|
220
264
|
- lib/pinnacle/types/brand_status.rb
|
|
221
265
|
- lib/pinnacle/types/brand_status_enum.rb
|
|
222
266
|
- lib/pinnacle/types/button_clicked.rb
|
|
@@ -230,10 +274,11 @@ files:
|
|
|
230
274
|
- lib/pinnacle/types/campaign_submission_result.rb
|
|
231
275
|
- lib/pinnacle/types/campaign_validation_response_errors_item.rb
|
|
232
276
|
- lib/pinnacle/types/campaign_validation_result.rb
|
|
277
|
+
- lib/pinnacle/types/carrier_launch_status.rb
|
|
278
|
+
- lib/pinnacle/types/carrier_launches.rb
|
|
233
279
|
- lib/pinnacle/types/company_entity_type_enum.rb
|
|
234
280
|
- lib/pinnacle/types/company_sector_enum.rb
|
|
235
281
|
- lib/pinnacle/types/company_type_enum.rb
|
|
236
|
-
- lib/pinnacle/types/configured_webhook.rb
|
|
237
282
|
- lib/pinnacle/types/contact.rb
|
|
238
283
|
- lib/pinnacle/types/contact_id.rb
|
|
239
284
|
- lib/pinnacle/types/conversation.rb
|
|
@@ -242,14 +287,15 @@ files:
|
|
|
242
287
|
- lib/pinnacle/types/conversation_contact.rb
|
|
243
288
|
- lib/pinnacle/types/conversation_list.rb
|
|
244
289
|
- lib/pinnacle/types/conversation_sender.rb
|
|
245
|
-
- lib/pinnacle/types/create_and_attach_webhook_by_url_params.rb
|
|
246
290
|
- lib/pinnacle/types/create_url_options.rb
|
|
247
291
|
- lib/pinnacle/types/delete_audience_response.rb
|
|
292
|
+
- lib/pinnacle/types/detach_webhook_result.rb
|
|
248
293
|
- lib/pinnacle/types/detached_phone_number_result.rb
|
|
249
|
-
- lib/pinnacle/types/detached_webhook_info.rb
|
|
250
294
|
- lib/pinnacle/types/detailed_phone_number_enum.rb
|
|
251
295
|
- lib/pinnacle/types/dlc_assignment_status_enum.rb
|
|
252
296
|
- lib/pinnacle/types/dlc_campaign_status.rb
|
|
297
|
+
- lib/pinnacle/types/dlc_campaign_summary.rb
|
|
298
|
+
- lib/pinnacle/types/dlc_campaign_summary_status.rb
|
|
253
299
|
- lib/pinnacle/types/dlc_campaign_use_case_enum.rb
|
|
254
300
|
- lib/pinnacle/types/dlc_campaign_with_extended_brand_and_status.rb
|
|
255
301
|
- lib/pinnacle/types/dlc_with_extended_brand_and_status_keywords.rb
|
|
@@ -267,11 +313,27 @@ files:
|
|
|
267
313
|
- lib/pinnacle/types/extended_brand.rb
|
|
268
314
|
- lib/pinnacle/types/extended_brand_with_vetting.rb
|
|
269
315
|
- lib/pinnacle/types/extended_rcs_campaign.rb
|
|
316
|
+
- lib/pinnacle/types/failed_sender.rb
|
|
270
317
|
- lib/pinnacle/types/fallback_message.rb
|
|
271
318
|
- lib/pinnacle/types/get_conversation_params.rb
|
|
272
319
|
- lib/pinnacle/types/get_dlc_campaign_status_response_updates.rb
|
|
273
320
|
- lib/pinnacle/types/get_toll_free_campaign_status_response_updates.rb
|
|
274
321
|
- lib/pinnacle/types/link_click_event.rb
|
|
322
|
+
- lib/pinnacle/types/link_summary.rb
|
|
323
|
+
- lib/pinnacle/types/list_agents_response.rb
|
|
324
|
+
- lib/pinnacle/types/list_audiences_response.rb
|
|
325
|
+
- lib/pinnacle/types/list_blasts_response.rb
|
|
326
|
+
- lib/pinnacle/types/list_brands_response.rb
|
|
327
|
+
- lib/pinnacle/types/list_contacts_response.rb
|
|
328
|
+
- lib/pinnacle/types/list_dlc_campaigns_response.rb
|
|
329
|
+
- lib/pinnacle/types/list_links_response.rb
|
|
330
|
+
- lib/pinnacle/types/list_messages_response.rb
|
|
331
|
+
- lib/pinnacle/types/list_phone_numbers_response.rb
|
|
332
|
+
- lib/pinnacle/types/list_rcs_campaigns_response.rb
|
|
333
|
+
- lib/pinnacle/types/list_scheduled_messages_response.rb
|
|
334
|
+
- lib/pinnacle/types/list_test_numbers_response.rb
|
|
335
|
+
- lib/pinnacle/types/list_toll_free_campaigns_response.rb
|
|
336
|
+
- lib/pinnacle/types/list_webhooks_response.rb
|
|
275
337
|
- lib/pinnacle/types/location_share_action.rb
|
|
276
338
|
- lib/pinnacle/types/location_share_action_data.rb
|
|
277
339
|
- lib/pinnacle/types/message.rb
|
|
@@ -299,9 +361,14 @@ files:
|
|
|
299
361
|
- lib/pinnacle/types/message_protocol_enum.rb
|
|
300
362
|
- lib/pinnacle/types/message_schedule.rb
|
|
301
363
|
- lib/pinnacle/types/message_status_enum.rb
|
|
364
|
+
- lib/pinnacle/types/message_summary.rb
|
|
365
|
+
- lib/pinnacle/types/message_summary_direction.rb
|
|
366
|
+
- lib/pinnacle/types/message_summary_method.rb
|
|
367
|
+
- lib/pinnacle/types/message_summary_status.rb
|
|
368
|
+
- lib/pinnacle/types/message_summary_type.rb
|
|
302
369
|
- lib/pinnacle/types/message_volume_enum.rb
|
|
303
|
-
- lib/pinnacle/types/
|
|
304
|
-
- lib/pinnacle/types/
|
|
370
|
+
- lib/pinnacle/types/message_with_reactions.rb
|
|
371
|
+
- lib/pinnacle/types/message_with_reactions_direction.rb
|
|
305
372
|
- lib/pinnacle/types/messaging_profile_enum.rb
|
|
306
373
|
- lib/pinnacle/types/mms_content.rb
|
|
307
374
|
- lib/pinnacle/types/mms_validation_response_segments.rb
|
|
@@ -313,6 +380,7 @@ files:
|
|
|
313
380
|
- lib/pinnacle/types/optional_brand_info.rb
|
|
314
381
|
- lib/pinnacle/types/optional_contact.rb
|
|
315
382
|
- lib/pinnacle/types/optional_contacts.rb
|
|
383
|
+
- lib/pinnacle/types/owned_phone_number.rb
|
|
316
384
|
- lib/pinnacle/types/pagination.rb
|
|
317
385
|
- lib/pinnacle/types/phone.rb
|
|
318
386
|
- lib/pinnacle/types/phone_capabilities.rb
|
|
@@ -334,6 +402,12 @@ files:
|
|
|
334
402
|
- lib/pinnacle/types/pinnacle_url_config.rb
|
|
335
403
|
- lib/pinnacle/types/profile_status_enum.rb
|
|
336
404
|
- lib/pinnacle/types/purchased_number.rb
|
|
405
|
+
- lib/pinnacle/types/rcs_agent_details.rb
|
|
406
|
+
- lib/pinnacle/types/rcs_agent_details_agent_use_case.rb
|
|
407
|
+
- lib/pinnacle/types/rcs_agent_details_emails_item.rb
|
|
408
|
+
- lib/pinnacle/types/rcs_agent_details_phones_item.rb
|
|
409
|
+
- lib/pinnacle/types/rcs_agent_details_websites_item.rb
|
|
410
|
+
- lib/pinnacle/types/rcs_agent_response.rb
|
|
337
411
|
- lib/pinnacle/types/rcs_button_call.rb
|
|
338
412
|
- lib/pinnacle/types/rcs_button_open_url.rb
|
|
339
413
|
- lib/pinnacle/types/rcs_button_open_url_webview_mode.rb
|
|
@@ -357,16 +431,15 @@ files:
|
|
|
357
431
|
- lib/pinnacle/types/rcs_campaign_schema_extra_keywords_opt_out.rb
|
|
358
432
|
- lib/pinnacle/types/rcs_campaign_schema_extra_links.rb
|
|
359
433
|
- lib/pinnacle/types/rcs_campaign_schema_extra_traffic.rb
|
|
360
|
-
- lib/pinnacle/types/rcs_campaign_schema_extra_use_case.rb
|
|
361
434
|
- lib/pinnacle/types/rcs_campaign_schema_keywords.rb
|
|
362
435
|
- lib/pinnacle/types/rcs_campaign_schema_keywords_help.rb
|
|
363
436
|
- lib/pinnacle/types/rcs_campaign_schema_keywords_opt_in.rb
|
|
364
437
|
- lib/pinnacle/types/rcs_campaign_schema_keywords_opt_out.rb
|
|
365
438
|
- lib/pinnacle/types/rcs_campaign_schema_links.rb
|
|
366
439
|
- lib/pinnacle/types/rcs_campaign_schema_traffic.rb
|
|
367
|
-
- lib/pinnacle/types/rcs_campaign_schema_use_case.rb
|
|
368
440
|
- lib/pinnacle/types/rcs_campaign_status.rb
|
|
369
|
-
- lib/pinnacle/types/
|
|
441
|
+
- lib/pinnacle/types/rcs_campaign_summary.rb
|
|
442
|
+
- lib/pinnacle/types/rcs_campaign_summary_status.rb
|
|
370
443
|
- lib/pinnacle/types/rcs_capabilities_result.rb
|
|
371
444
|
- lib/pinnacle/types/rcs_capability.rb
|
|
372
445
|
- lib/pinnacle/types/rcs_capability_actions.rb
|
|
@@ -381,7 +454,7 @@ files:
|
|
|
381
454
|
- lib/pinnacle/types/rcs_validate_content.rb
|
|
382
455
|
- lib/pinnacle/types/rcs_validate_content_media.rb
|
|
383
456
|
- lib/pinnacle/types/rcs_validation_result.rb
|
|
384
|
-
- lib/pinnacle/types/
|
|
457
|
+
- lib/pinnacle/types/rcs_whitelist_status.rb
|
|
385
458
|
- lib/pinnacle/types/reaction_result.rb
|
|
386
459
|
- lib/pinnacle/types/refreshed_file.rb
|
|
387
460
|
- lib/pinnacle/types/rich_button.rb
|
|
@@ -397,6 +470,8 @@ files:
|
|
|
397
470
|
- lib/pinnacle/types/scheduled_blast_details.rb
|
|
398
471
|
- lib/pinnacle/types/scheduled_blast_response_config.rb
|
|
399
472
|
- lib/pinnacle/types/scheduled_message.rb
|
|
473
|
+
- lib/pinnacle/types/scheduled_message_summary.rb
|
|
474
|
+
- lib/pinnacle/types/scheduled_message_summary_status.rb
|
|
400
475
|
- lib/pinnacle/types/scheduled_send_response_config.rb
|
|
401
476
|
- lib/pinnacle/types/send_rcs_card_options_standalone_card_image_alignment.rb
|
|
402
477
|
- lib/pinnacle/types/send_rcs_card_options_standalone_card_orientation.rb
|
|
@@ -408,6 +483,8 @@ files:
|
|
|
408
483
|
- lib/pinnacle/types/sender.rb
|
|
409
484
|
- lib/pinnacle/types/sent_mms_details.rb
|
|
410
485
|
- lib/pinnacle/types/sent_rich_message.rb
|
|
486
|
+
- lib/pinnacle/types/sent_rich_message_fallback_mms.rb
|
|
487
|
+
- lib/pinnacle/types/sent_rich_message_fallback_sms.rb
|
|
411
488
|
- lib/pinnacle/types/sent_sms_details.rb
|
|
412
489
|
- lib/pinnacle/types/shortened_url.rb
|
|
413
490
|
- lib/pinnacle/types/shortened_url_with_click_data.rb
|
|
@@ -420,6 +497,8 @@ files:
|
|
|
420
497
|
- lib/pinnacle/types/sub_use_case_enum.rb
|
|
421
498
|
- lib/pinnacle/types/submission_results.rb
|
|
422
499
|
- lib/pinnacle/types/successful_conversation_update.rb
|
|
500
|
+
- lib/pinnacle/types/test_agent_response.rb
|
|
501
|
+
- lib/pinnacle/types/test_agent_whitelist_response.rb
|
|
423
502
|
- lib/pinnacle/types/toll_free_campaign.rb
|
|
424
503
|
- lib/pinnacle/types/toll_free_campaign_schema_keywords.rb
|
|
425
504
|
- lib/pinnacle/types/toll_free_campaign_schema_keywords_help.rb
|
|
@@ -429,6 +508,8 @@ files:
|
|
|
429
508
|
- lib/pinnacle/types/toll_free_campaign_schema_options.rb
|
|
430
509
|
- lib/pinnacle/types/toll_free_campaign_schema_use_case.rb
|
|
431
510
|
- lib/pinnacle/types/toll_free_campaign_status.rb
|
|
511
|
+
- lib/pinnacle/types/toll_free_campaign_summary.rb
|
|
512
|
+
- lib/pinnacle/types/toll_free_campaign_summary_status.rb
|
|
432
513
|
- lib/pinnacle/types/toll_free_campaign_use_case_enum.rb
|
|
433
514
|
- lib/pinnacle/types/toll_free_campaign_with_extended_brand_and_status.rb
|
|
434
515
|
- lib/pinnacle/types/toll_free_status_enum.rb
|
|
@@ -468,11 +549,19 @@ files:
|
|
|
468
549
|
- lib/pinnacle/types/vetting_results.rb
|
|
469
550
|
- lib/pinnacle/types/webhook_event_enum.rb
|
|
470
551
|
- lib/pinnacle/types/webhook_result.rb
|
|
552
|
+
- lib/pinnacle/types/webhook_summary.rb
|
|
553
|
+
- lib/pinnacle/types/webhook_summary_status.rb
|
|
471
554
|
- lib/pinnacle/types/webhooks.rb
|
|
555
|
+
- lib/pinnacle/types/whitelisted_number_summary.rb
|
|
556
|
+
- lib/pinnacle/types/whitelisted_number_summary_status.rb
|
|
472
557
|
- lib/pinnacle/types/zod_error.rb
|
|
473
558
|
- lib/pinnacle/version.rb
|
|
474
559
|
- lib/pinnacle/webhooks/client.rb
|
|
560
|
+
- lib/pinnacle/webhooks/types/attach_webhook_params.rb
|
|
561
|
+
- lib/pinnacle/webhooks/types/detach_webhook_params.rb
|
|
475
562
|
- lib/pinnacle/webhooks/types/get_webhook_params.rb
|
|
563
|
+
- lib/pinnacle/webhooks/types/list_webhooks_params.rb
|
|
564
|
+
- lib/pinnacle/webhooks/types/list_webhooks_request_status.rb
|
|
476
565
|
- lib/pinnacle/wrapper/messages/client.rb
|
|
477
566
|
- lib/pinnacle/wrapper/tools/client.rb
|
|
478
567
|
- lib/pinnacle/wrapper/tools/file_uploader.rb
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
# frozen_string_literal: true
|
|
2
|
-
|
|
3
|
-
module Pinnacle
|
|
4
|
-
module Campaigns
|
|
5
|
-
module Rcs
|
|
6
|
-
module Types
|
|
7
|
-
# Use case classification for the campaign.
|
|
8
|
-
class RcsUseCase < Internal::Types::Model
|
|
9
|
-
field :behavior, -> { String }, optional: true, nullable: false
|
|
10
|
-
field :value, -> { Pinnacle::Types::RcsCampaignUseCaseEnum }, optional: true, nullable: false
|
|
11
|
-
end
|
|
12
|
-
end
|
|
13
|
-
end
|
|
14
|
-
end
|
|
15
|
-
end
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
# frozen_string_literal: true
|
|
2
|
-
|
|
3
|
-
module Pinnacle
|
|
4
|
-
module Messages
|
|
5
|
-
module Rcs
|
|
6
|
-
module Types
|
|
7
|
-
# Configure how your typing indicator is sent.
|
|
8
|
-
class SendTypingIndicatorSchemaOptions < Internal::Types::Model
|
|
9
|
-
field :test_mode, -> { Internal::Types::Boolean }, optional: true, nullable: false
|
|
10
|
-
end
|
|
11
|
-
end
|
|
12
|
-
end
|
|
13
|
-
end
|
|
14
|
-
end
|
|
@@ -1,90 +0,0 @@
|
|
|
1
|
-
# frozen_string_literal: true
|
|
2
|
-
|
|
3
|
-
module Pinnacle
|
|
4
|
-
module PhoneNumbers
|
|
5
|
-
module Webhook
|
|
6
|
-
class Client
|
|
7
|
-
# @param client [Pinnacle::Internal::Http::RawClient]
|
|
8
|
-
#
|
|
9
|
-
# @return [void]
|
|
10
|
-
def initialize(client:)
|
|
11
|
-
@client = client
|
|
12
|
-
end
|
|
13
|
-
|
|
14
|
-
# Connect a webhook to your phone number to receive real-time notifications for incoming messages, delivery
|
|
15
|
-
# status updates, and other communication events.
|
|
16
|
-
#
|
|
17
|
-
# @param request_options [Hash]
|
|
18
|
-
# @param params [Pinnacle::Types::AttachWebhookParams]
|
|
19
|
-
# @option request_options [String] :base_url
|
|
20
|
-
# @option request_options [Hash{String => Object}] :additional_headers
|
|
21
|
-
# @option request_options [Hash{String => Object}] :additional_query_parameters
|
|
22
|
-
# @option request_options [Hash{String => Object}] :additional_body_parameters
|
|
23
|
-
# @option request_options [Integer] :timeout_in_seconds
|
|
24
|
-
# @option params [String] :phone
|
|
25
|
-
#
|
|
26
|
-
# @return [Pinnacle::Types::ConfiguredWebhook]
|
|
27
|
-
def attach(request_options: {}, **params)
|
|
28
|
-
params = Pinnacle::Internal::Types::Utils.normalize_keys(params)
|
|
29
|
-
request = Pinnacle::Internal::JSON::Request.new(
|
|
30
|
-
base_url: request_options[:base_url],
|
|
31
|
-
method: "POST",
|
|
32
|
-
path: "phone-numbers/#{params[:phone]}/attach-webhook",
|
|
33
|
-
body: Pinnacle::Types::AttachWebhookParams.new(params).to_h,
|
|
34
|
-
request_options: request_options
|
|
35
|
-
)
|
|
36
|
-
begin
|
|
37
|
-
response = @client.send(request)
|
|
38
|
-
rescue Net::HTTPRequestTimeout
|
|
39
|
-
raise Pinnacle::Errors::TimeoutError
|
|
40
|
-
end
|
|
41
|
-
code = response.code.to_i
|
|
42
|
-
if code.between?(200, 299)
|
|
43
|
-
Pinnacle::Types::ConfiguredWebhook.load(response.body)
|
|
44
|
-
else
|
|
45
|
-
error_class = Pinnacle::Errors::ResponseError.subclass_for_code(code)
|
|
46
|
-
raise error_class.new(response.body, code: code)
|
|
47
|
-
end
|
|
48
|
-
end
|
|
49
|
-
|
|
50
|
-
# Disconnect a webhook from your phone number to stop receiving event notifications for that specific number.
|
|
51
|
-
# <br>
|
|
52
|
-
#
|
|
53
|
-
# The webhook configuration itself remains intact and available for use with other phone numbers.
|
|
54
|
-
#
|
|
55
|
-
# @param request_options [Hash]
|
|
56
|
-
# @param params [Hash]
|
|
57
|
-
# @option request_options [String] :base_url
|
|
58
|
-
# @option request_options [Hash{String => Object}] :additional_headers
|
|
59
|
-
# @option request_options [Hash{String => Object}] :additional_query_parameters
|
|
60
|
-
# @option request_options [Hash{String => Object}] :additional_body_parameters
|
|
61
|
-
# @option request_options [Integer] :timeout_in_seconds
|
|
62
|
-
# @option params [String] :phone
|
|
63
|
-
# @option params [String] :webhook_id
|
|
64
|
-
#
|
|
65
|
-
# @return [Pinnacle::Types::DetachedWebhookInfo]
|
|
66
|
-
def detach(request_options: {}, **params)
|
|
67
|
-
params = Pinnacle::Internal::Types::Utils.normalize_keys(params)
|
|
68
|
-
request = Pinnacle::Internal::JSON::Request.new(
|
|
69
|
-
base_url: request_options[:base_url],
|
|
70
|
-
method: "DELETE",
|
|
71
|
-
path: "phone-numbers/#{params[:phone]}/detach-webhook/#{params[:webhook_id]}",
|
|
72
|
-
request_options: request_options
|
|
73
|
-
)
|
|
74
|
-
begin
|
|
75
|
-
response = @client.send(request)
|
|
76
|
-
rescue Net::HTTPRequestTimeout
|
|
77
|
-
raise Pinnacle::Errors::TimeoutError
|
|
78
|
-
end
|
|
79
|
-
code = response.code.to_i
|
|
80
|
-
if code.between?(200, 299)
|
|
81
|
-
Pinnacle::Types::DetachedWebhookInfo.load(response.body)
|
|
82
|
-
else
|
|
83
|
-
error_class = Pinnacle::Errors::ResponseError.subclass_for_code(code)
|
|
84
|
-
raise error_class.new(response.body, code: code)
|
|
85
|
-
end
|
|
86
|
-
end
|
|
87
|
-
end
|
|
88
|
-
end
|
|
89
|
-
end
|
|
90
|
-
end
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
# frozen_string_literal: true
|
|
2
|
-
|
|
3
|
-
module Pinnacle
|
|
4
|
-
module Rcs
|
|
5
|
-
module Types
|
|
6
|
-
class RcsWhitelistRequest < Internal::Types::Model
|
|
7
|
-
field :agent_id, -> { String }, optional: false, nullable: false, api_name: "agentId"
|
|
8
|
-
field :phone_number, -> { String }, optional: false, nullable: false, api_name: "phoneNumber"
|
|
9
|
-
end
|
|
10
|
-
end
|
|
11
|
-
end
|
|
12
|
-
end
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
# frozen_string_literal: true
|
|
2
|
-
|
|
3
|
-
module Pinnacle
|
|
4
|
-
module Types
|
|
5
|
-
# Attach a webhook you've already created in your account to this phone number.
|
|
6
|
-
class AttachWebhookByIdParams < Internal::Types::Model
|
|
7
|
-
field :webhook_id, -> { String }, optional: false, nullable: false, api_name: "webhookId"
|
|
8
|
-
field :event, -> { Pinnacle::Types::WebhookEventEnum }, optional: false, nullable: true
|
|
9
|
-
end
|
|
10
|
-
end
|
|
11
|
-
end
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
# frozen_string_literal: true
|
|
2
|
-
|
|
3
|
-
module Pinnacle
|
|
4
|
-
module Types
|
|
5
|
-
# Use this request to connect a webhook to your phone number and receive real-time event notifications.
|
|
6
|
-
# You can either attach one of your existing webhooks by providing its ID or create a new webhook by specifying its
|
|
7
|
-
# name, URL, and event type.
|
|
8
|
-
class AttachWebhookParams < Internal::Types::Model
|
|
9
|
-
extend Pinnacle::Internal::Types::Union
|
|
10
|
-
|
|
11
|
-
member -> { Pinnacle::Types::AttachWebhookByIdParams }
|
|
12
|
-
member -> { Pinnacle::Types::CreateAndAttachWebhookByUrlParams }
|
|
13
|
-
end
|
|
14
|
-
end
|
|
15
|
-
end
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
# frozen_string_literal: true
|
|
2
|
-
|
|
3
|
-
module Pinnacle
|
|
4
|
-
module Types
|
|
5
|
-
# Confirmation that a webhook has been successfully attached to the specified phone number.
|
|
6
|
-
# Includes detailed webhook information, the subscribed event type, and the associated phone number.
|
|
7
|
-
class ConfiguredWebhook < Internal::Types::Model
|
|
8
|
-
field :webhook, -> { Pinnacle::Types::AttachWebhookResponseWebhook }, optional: false, nullable: false
|
|
9
|
-
field :event, -> { Pinnacle::Types::WebhookEventEnum }, optional: false, nullable: false
|
|
10
|
-
field :phone_number, -> { String }, optional: false, nullable: false, api_name: "phoneNumber"
|
|
11
|
-
end
|
|
12
|
-
end
|
|
13
|
-
end
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
# frozen_string_literal: true
|
|
2
|
-
|
|
3
|
-
module Pinnacle
|
|
4
|
-
module Types
|
|
5
|
-
# Create a new webhook and immediately attach it to your phone number.
|
|
6
|
-
class CreateAndAttachWebhookByUrlParams < Internal::Types::Model
|
|
7
|
-
field :name, -> { String }, optional: false, nullable: false
|
|
8
|
-
field :url, -> { String }, optional: false, nullable: false
|
|
9
|
-
field :event, -> { Pinnacle::Types::WebhookEventEnum }, optional: false, nullable: true
|
|
10
|
-
end
|
|
11
|
-
end
|
|
12
|
-
end
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
# frozen_string_literal: true
|
|
2
|
-
|
|
3
|
-
module Pinnacle
|
|
4
|
-
module Types
|
|
5
|
-
class DetachedWebhookInfo < Internal::Types::Model
|
|
6
|
-
field :message, -> { String }, optional: false, nullable: false
|
|
7
|
-
field :webhook_id, -> { String }, optional: false, nullable: false, api_name: "webhookId"
|
|
8
|
-
field :phone_number, -> { String }, optional: false, nullable: false, api_name: "phoneNumber"
|
|
9
|
-
end
|
|
10
|
-
end
|
|
11
|
-
end
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
# frozen_string_literal: true
|
|
2
|
-
|
|
3
|
-
module Pinnacle
|
|
4
|
-
module Types
|
|
5
|
-
# Message with additional conversation-specific fields including direction and reaction.
|
|
6
|
-
class MessageWithReaction < Internal::Types::Model
|
|
7
|
-
field :direction, -> { Pinnacle::Types::MessageWithReactionDirection }, optional: false, nullable: false
|
|
8
|
-
field :reaction, -> { String }, optional: false, nullable: true
|
|
9
|
-
end
|
|
10
|
-
end
|
|
11
|
-
end
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
# frozen_string_literal: true
|
|
2
|
-
|
|
3
|
-
module Pinnacle
|
|
4
|
-
module Types
|
|
5
|
-
# Use case classification for the campaign.
|
|
6
|
-
class RcsCampaignSchemaExtraUseCase < Internal::Types::Model
|
|
7
|
-
field :behavior, -> { String }, optional: true, nullable: false
|
|
8
|
-
field :value, -> { Pinnacle::Types::RcsCampaignUseCaseEnum }, optional: true, nullable: false
|
|
9
|
-
end
|
|
10
|
-
end
|
|
11
|
-
end
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
# frozen_string_literal: true
|
|
2
|
-
|
|
3
|
-
module Pinnacle
|
|
4
|
-
module Types
|
|
5
|
-
# Use case classification for the campaign.
|
|
6
|
-
class RcsCampaignSchemaUseCase < Internal::Types::Model
|
|
7
|
-
field :behavior, -> { String }, optional: true, nullable: false
|
|
8
|
-
field :value, -> { Pinnacle::Types::RcsCampaignUseCaseEnum }, optional: true, nullable: false
|
|
9
|
-
end
|
|
10
|
-
end
|
|
11
|
-
end
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
# frozen_string_literal: true
|
|
2
|
-
|
|
3
|
-
module Pinnacle
|
|
4
|
-
module Types
|
|
5
|
-
module RcsCampaignUseCaseEnum
|
|
6
|
-
extend Pinnacle::Internal::Types::Enum
|
|
7
|
-
|
|
8
|
-
ADVERTISING_MARKETING = "ADVERTISING_MARKETING"
|
|
9
|
-
ARTS_AND_ENTERTAINMENT = "ARTS_AND_ENTERTAINMENT"
|
|
10
|
-
BFSI = "BFSI"
|
|
11
|
-
COMMERCIAL_AND_INDUSTRIAL = "COMMERCIAL_AND_INDUSTRIAL"
|
|
12
|
-
COMMUNITY_ORGANIZATIONS = "COMMUNITY_ORGANIZATIONS"
|
|
13
|
-
CREDIT_RATING = "CREDIT_RATING"
|
|
14
|
-
DELIVERY_PARTNER = "DELIVERY_PARTNER"
|
|
15
|
-
EDUCATION = "EDUCATION"
|
|
16
|
-
FINANCE = "FINANCE"
|
|
17
|
-
FOOD_AND_BEVERAGE = "FOOD_AND_BEVERAGE"
|
|
18
|
-
GAMING = "GAMING"
|
|
19
|
-
GOVERNMENT = "GOVERNMENT"
|
|
20
|
-
HEALTH = "HEALTH"
|
|
21
|
-
HOTEL_AND_BNB = "HOTEL_AND_BNB"
|
|
22
|
-
INSURANCE = "INSURANCE"
|
|
23
|
-
LEGAL = "LEGAL"
|
|
24
|
-
LENDING = "LENDING"
|
|
25
|
-
LOANS = "LOANS"
|
|
26
|
-
LOCAL_SERVICES = "LOCAL_SERVICES"
|
|
27
|
-
NEWS = "NEWS"
|
|
28
|
-
NON_GOVERNMENTAL_ORGANIZATIONS = "NON_GOVERNMENTAL_ORGANIZATIONS"
|
|
29
|
-
NON_PROFIT_ORGANIZATIONS = "NON_PROFIT_ORGANIZATIONS"
|
|
30
|
-
ONLINE_SELLER = "ONLINE_SELLER"
|
|
31
|
-
OTHER = "OTHER"
|
|
32
|
-
PRODUCTIVITY = "PRODUCTIVITY"
|
|
33
|
-
PROPERTY = "PROPERTY"
|
|
34
|
-
SCIENCE_TECHNOLOGY_ENGINEERING = "SCIENCE_TECHNOLOGY_ENGINEERING"
|
|
35
|
-
SHOPPING_AND_RETAIL = "SHOPPING_AND_RETAIL"
|
|
36
|
-
SOCIAL = "SOCIAL"
|
|
37
|
-
SPORTS = "SPORTS"
|
|
38
|
-
TELECOMMUNICATIONS = "TELECOMMUNICATIONS"
|
|
39
|
-
TRAVEL = "TRAVEL"
|
|
40
|
-
UTILITIES = "UTILITIES"
|
|
41
|
-
end
|
|
42
|
-
end
|
|
43
|
-
end
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
# frozen_string_literal: true
|
|
2
|
-
|
|
3
|
-
module Pinnacle
|
|
4
|
-
module Types
|
|
5
|
-
# Response indicating success of whitelisting operation
|
|
6
|
-
class RcsWhitelistResponse < Internal::Types::Model
|
|
7
|
-
field :success, -> { Internal::Types::Boolean }, optional: false, nullable: false
|
|
8
|
-
end
|
|
9
|
-
end
|
|
10
|
-
end
|