sentdm 0.28.0 → 0.30.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 +27 -1
- data/lib/sentdm/internal/type/base_model.rb +5 -5
- data/lib/sentdm/models/api_meta.rb +34 -0
- data/lib/sentdm/models/api_response_of_contact.rb +46 -0
- data/lib/sentdm/models/api_response_of_contact_message_summary.rb +43 -0
- data/lib/sentdm/models/api_response_of_conversation_messages_list.rb +43 -0
- data/lib/sentdm/models/api_response_of_profile_detail.rb +43 -0
- data/lib/sentdm/models/api_response_of_user.rb +43 -0
- data/lib/sentdm/models/api_response_template.rb +43 -0
- data/lib/sentdm/models/api_response_webhook.rb +43 -0
- data/lib/sentdm/models/billing_contact_info.rb +47 -0
- data/lib/sentdm/models/brand_business_info.rb +114 -0
- data/lib/sentdm/models/brand_compliance_info.rb +59 -0
- data/lib/sentdm/models/brand_contact_info.rb +58 -0
- data/lib/sentdm/models/brands_brand_data.rb +34 -0
- data/lib/sentdm/models/contact_delete_params.rb +2 -16
- data/lib/sentdm/models/contact_list_response.rb +12 -295
- data/lib/sentdm/models/contact_message_summary.rb +76 -0
- data/lib/sentdm/models/contact_response.rb +139 -0
- data/lib/sentdm/models/conversation_messages_list.rb +245 -0
- data/lib/sentdm/models/error_detail.rb +42 -0
- data/lib/sentdm/models/inbound_message_event_payload.rb +17 -17
- data/lib/sentdm/models/me_retrieve_response.rb +43 -243
- data/lib/sentdm/models/message_event_payload.rb +11 -11
- data/lib/sentdm/models/message_retrieve_activities_response.rb +9 -159
- data/lib/sentdm/models/message_retrieve_status_response.rb +6 -74
- data/lib/sentdm/models/message_send_response.rb +6 -74
- data/lib/sentdm/models/mutation_request.rb +20 -0
- data/lib/sentdm/models/number_lookup_response.rb +6 -74
- data/lib/sentdm/models/pagination_meta.rb +84 -0
- data/lib/sentdm/models/payment_details.rb +40 -0
- data/lib/sentdm/models/profile_complete_response.rb +6 -74
- data/lib/sentdm/models/profile_create_params.rb +9 -345
- data/lib/sentdm/models/profile_delete_params.rb +2 -16
- data/lib/sentdm/models/profile_detail.rb +650 -0
- data/lib/sentdm/models/profile_list_response.rb +12 -815
- data/lib/sentdm/models/profile_settings.rb +85 -0
- data/lib/sentdm/models/profile_update_params.rb +9 -345
- data/lib/sentdm/models/profiles/api_response_of_brand_campaign.rb +45 -0
- data/lib/sentdm/models/profiles/api_response_of_list_of_brand_campaign.rb +45 -0
- data/lib/sentdm/models/profiles/brand_campaign.rb +247 -0
- data/lib/sentdm/models/profiles/campaign_create_params.rb +3 -156
- data/lib/sentdm/models/profiles/campaign_data.rb +136 -0
- data/lib/sentdm/models/profiles/campaign_delete_params.rb +2 -17
- data/lib/sentdm/models/profiles/campaign_update_params.rb +3 -156
- data/lib/sentdm/models/profiles/campaign_use_case.rb +71 -0
- data/lib/sentdm/models/profiles/campaign_use_case_data.rb +29 -0
- data/lib/sentdm/models/template.rb +102 -0
- data/lib/sentdm/models/template_event_payload.rb +18 -18
- data/lib/sentdm/models/template_list_response.rb +12 -258
- data/lib/sentdm/models/user_list_response.rb +12 -249
- data/lib/sentdm/models/user_remove_params.rb +2 -16
- data/lib/sentdm/models/user_response.rb +94 -0
- data/lib/sentdm/models/webhook_event_type.rb +45 -0
- data/lib/sentdm/models/webhook_list_event_types_response.rb +12 -203
- data/lib/sentdm/models/webhook_list_events_response.rb +9 -157
- data/lib/sentdm/models/webhook_list_response.rb +12 -276
- data/lib/sentdm/models/webhook_response.rb +120 -0
- data/lib/sentdm/models/webhook_rotate_secret_params.rb +2 -17
- data/lib/sentdm/models/webhook_rotate_secret_response.rb +6 -74
- data/lib/sentdm/models/webhook_test_response.rb +6 -74
- data/lib/sentdm/models.rb +52 -0
- data/lib/sentdm/resources/contacts.rb +8 -8
- data/lib/sentdm/resources/conversations.rb +4 -4
- data/lib/sentdm/resources/me.rb +11 -0
- data/lib/sentdm/resources/profiles/campaigns.rb +8 -8
- data/lib/sentdm/resources/profiles.rb +12 -12
- data/lib/sentdm/resources/templates.rb +6 -6
- data/lib/sentdm/resources/users.rb +6 -6
- data/lib/sentdm/resources/webhooks.rb +8 -8
- data/lib/sentdm/version.rb +1 -1
- data/lib/sentdm.rb +32 -22
- data/rbi/sentdm/models/api_meta.rbi +55 -0
- data/rbi/sentdm/models/api_response_of_contact.rbi +74 -0
- data/rbi/sentdm/models/api_response_of_contact_message_summary.rbi +79 -0
- data/rbi/sentdm/models/api_response_of_conversation_messages_list.rbi +79 -0
- data/rbi/sentdm/models/api_response_of_profile_detail.rbi +74 -0
- data/rbi/sentdm/models/api_response_of_user.rbi +74 -0
- data/rbi/sentdm/models/api_response_template.rbi +74 -0
- data/rbi/sentdm/models/api_response_webhook.rbi +74 -0
- data/rbi/sentdm/models/billing_contact_info.rbi +65 -0
- data/rbi/sentdm/models/brand_business_info.rbi +162 -0
- data/rbi/sentdm/models/brand_compliance_info.rbi +76 -0
- data/rbi/sentdm/models/brand_contact_info.rbi +78 -0
- data/rbi/sentdm/models/brands_brand_data.rbi +65 -0
- data/rbi/sentdm/models/contact_delete_params.rbi +2 -19
- data/rbi/sentdm/models/contact_list_response.rbi +16 -522
- data/rbi/sentdm/models/contact_message_summary.rbi +144 -0
- data/rbi/sentdm/models/contact_response.rbi +200 -0
- data/rbi/sentdm/models/conversation_messages_list.rbi +419 -0
- data/rbi/sentdm/models/error_detail.rbi +66 -0
- data/rbi/sentdm/models/inbound_message_event_payload.rbi +16 -22
- data/rbi/sentdm/models/me_retrieve_response.rbi +60 -367
- data/rbi/sentdm/models/message_event_payload.rbi +12 -15
- data/rbi/sentdm/models/message_retrieve_activities_response.rbi +12 -325
- data/rbi/sentdm/models/message_retrieve_status_response.rbi +8 -148
- data/rbi/sentdm/models/message_send_response.rbi +8 -135
- data/rbi/sentdm/models/mutation_request.rbi +32 -0
- data/rbi/sentdm/models/number_lookup_response.rbi +8 -135
- data/rbi/sentdm/models/pagination_meta.rbi +135 -0
- data/rbi/sentdm/models/payment_details.rbi +56 -0
- data/rbi/sentdm/models/profile_complete_response.rbi +8 -137
- data/rbi/sentdm/models/profile_create_params.rbi +12 -546
- data/rbi/sentdm/models/profile_delete_params.rbi +2 -19
- data/rbi/sentdm/models/profile_detail.rbi +918 -0
- data/rbi/sentdm/models/profile_list_response.rbi +16 -1347
- data/rbi/sentdm/models/profile_settings.rbi +102 -0
- data/rbi/sentdm/models/profile_update_params.rbi +12 -546
- data/rbi/sentdm/models/profiles/api_response_of_brand_campaign.rbi +81 -0
- data/rbi/sentdm/models/profiles/api_response_of_list_of_brand_campaign.rbi +76 -0
- data/rbi/sentdm/models/profiles/brand_campaign.rbi +299 -0
- data/rbi/sentdm/models/profiles/campaign_create_params.rbi +4 -218
- data/rbi/sentdm/models/profiles/campaign_data.rbi +158 -0
- data/rbi/sentdm/models/profiles/campaign_delete_params.rbi +1 -14
- data/rbi/sentdm/models/profiles/campaign_update_params.rbi +4 -218
- data/rbi/sentdm/models/profiles/campaign_use_case.rbi +110 -0
- data/rbi/sentdm/models/profiles/campaign_use_case_data.rbi +51 -0
- data/rbi/sentdm/models/template.rbi +139 -0
- data/rbi/sentdm/models/template_event_payload.rbi +21 -27
- data/rbi/sentdm/models/template_list_response.rbi +16 -464
- data/rbi/sentdm/models/user_list_response.rbi +16 -444
- data/rbi/sentdm/models/user_remove_params.rbi +2 -19
- data/rbi/sentdm/models/user_response.rbi +131 -0
- data/rbi/sentdm/models/webhook_event_type.rbi +74 -0
- data/rbi/sentdm/models/webhook_list_event_types_response.rbi +16 -414
- data/rbi/sentdm/models/webhook_list_events_response.rbi +12 -314
- data/rbi/sentdm/models/webhook_list_response.rbi +16 -475
- data/rbi/sentdm/models/webhook_response.rbi +153 -0
- data/rbi/sentdm/models/webhook_rotate_secret_params.rbi +1 -14
- data/rbi/sentdm/models/webhook_rotate_secret_response.rbi +8 -148
- data/rbi/sentdm/models/webhook_test_response.rbi +8 -135
- data/rbi/sentdm/models.rbi +54 -0
- data/rbi/sentdm/resources/contacts.rbi +4 -4
- data/rbi/sentdm/resources/conversations.rbi +2 -2
- data/rbi/sentdm/resources/me.rbi +11 -0
- data/rbi/sentdm/resources/profiles/campaigns.rbi +5 -5
- data/rbi/sentdm/resources/profiles.rbi +9 -13
- data/rbi/sentdm/resources/templates.rbi +3 -3
- data/rbi/sentdm/resources/users.rbi +3 -3
- data/rbi/sentdm/resources/webhooks.rbi +4 -4
- data/sig/sentdm/models/api_meta.rbs +27 -0
- data/sig/sentdm/models/api_response_of_contact.rbs +39 -0
- data/sig/sentdm/models/api_response_of_contact_message_summary.rbs +39 -0
- data/sig/sentdm/models/api_response_of_conversation_messages_list.rbs +39 -0
- data/sig/sentdm/models/api_response_of_profile_detail.rbs +39 -0
- data/sig/sentdm/models/api_response_of_user.rbs +39 -0
- data/sig/sentdm/models/api_response_template.rbs +39 -0
- data/sig/sentdm/models/api_response_webhook.rbs +39 -0
- data/sig/sentdm/models/billing_contact_info.rbs +30 -0
- data/sig/sentdm/models/brand_business_info.rbs +89 -0
- data/sig/sentdm/models/brand_compliance_info.rbs +45 -0
- data/sig/sentdm/models/brand_contact_info.rbs +45 -0
- data/sig/sentdm/models/brands_brand_data.rbs +30 -0
- data/sig/sentdm/models/contact_delete_params.rbs +6 -10
- data/sig/sentdm/models/contact_list_response.rbs +20 -263
- data/sig/sentdm/models/contact_message_summary.rbs +84 -0
- data/sig/sentdm/models/contact_response.rbs +118 -0
- data/sig/sentdm/models/conversation_messages_list.rbs +240 -0
- data/sig/sentdm/models/error_detail.rbs +39 -0
- data/sig/sentdm/models/inbound_message_event_payload.rbs +10 -14
- data/sig/sentdm/models/me_retrieve_response.rbs +28 -176
- data/sig/sentdm/models/message_event_payload.rbs +5 -7
- data/sig/sentdm/models/message_retrieve_activities_response.rbs +14 -142
- data/sig/sentdm/models/message_retrieve_status_response.rbs +9 -71
- data/sig/sentdm/models/message_send_response.rbs +9 -71
- data/sig/sentdm/models/mutation_request.rbs +15 -0
- data/sig/sentdm/models/number_lookup_response.rbs +9 -71
- data/sig/sentdm/models/pagination_meta.rbs +67 -0
- data/sig/sentdm/models/payment_details.rbs +30 -0
- data/sig/sentdm/models/profile_complete_response.rbs +9 -71
- data/sig/sentdm/models/profile_create_params.rbs +12 -263
- data/sig/sentdm/models/profile_delete_params.rbs +6 -10
- data/sig/sentdm/models/profile_detail.rbs +461 -0
- data/sig/sentdm/models/profile_list_response.rbs +20 -606
- data/sig/sentdm/models/profile_settings.rbs +50 -0
- data/sig/sentdm/models/profile_update_params.rbs +12 -263
- data/sig/sentdm/models/profiles/api_response_of_brand_campaign.rbs +41 -0
- data/sig/sentdm/models/profiles/api_response_of_list_of_brand_campaign.rbs +41 -0
- data/sig/sentdm/models/profiles/brand_campaign.rbs +194 -0
- data/sig/sentdm/models/profiles/campaign_create_params.rbs +4 -108
- data/sig/sentdm/models/profiles/campaign_data.rbs +87 -0
- data/sig/sentdm/models/profiles/campaign_delete_params.rbs +8 -15
- data/sig/sentdm/models/profiles/campaign_update_params.rbs +4 -108
- data/sig/sentdm/models/profiles/campaign_use_case.rbs +66 -0
- data/sig/sentdm/models/profiles/campaign_use_case_data.rbs +27 -0
- data/sig/sentdm/models/template.rbs +84 -0
- data/sig/sentdm/models/template_event_payload.rbs +13 -17
- data/sig/sentdm/models/template_list_response.rbs +19 -230
- data/sig/sentdm/models/user_list_response.rbs +20 -224
- data/sig/sentdm/models/user_remove_params.rbs +6 -10
- data/sig/sentdm/models/user_response.rbs +79 -0
- data/sig/sentdm/models/webhook_event_type.rbs +51 -0
- data/sig/sentdm/models/webhook_list_event_types_response.rbs +20 -196
- data/sig/sentdm/models/webhook_list_events_response.rbs +14 -142
- data/sig/sentdm/models/webhook_list_response.rbs +20 -255
- data/sig/sentdm/models/webhook_response.rbs +110 -0
- data/sig/sentdm/models/webhook_rotate_secret_params.rbs +8 -17
- data/sig/sentdm/models/webhook_rotate_secret_response.rbs +9 -71
- data/sig/sentdm/models/webhook_test_response.rbs +9 -71
- data/sig/sentdm/models.rbs +52 -0
- data/sig/sentdm/resources/contacts.rbs +4 -4
- data/sig/sentdm/resources/conversations.rbs +2 -2
- data/sig/sentdm/resources/profiles/campaigns.rbs +5 -5
- data/sig/sentdm/resources/profiles.rbs +9 -9
- data/sig/sentdm/resources/templates.rbs +3 -3
- data/sig/sentdm/resources/users.rbs +3 -3
- data/sig/sentdm/resources/webhooks.rbs +4 -4
- metadata +98 -68
- data/lib/sentdm/models/contact_create_response.rb +0 -249
- data/lib/sentdm/models/contact_retrieve_message_summary_response.rb +0 -186
- data/lib/sentdm/models/contact_retrieve_response.rb +0 -249
- data/lib/sentdm/models/contact_update_response.rb +0 -249
- data/lib/sentdm/models/conversation_list_messages_response.rb +0 -436
- data/lib/sentdm/models/conversation_list_response.rb +0 -433
- data/lib/sentdm/models/profile_create_response.rb +0 -760
- data/lib/sentdm/models/profile_retrieve_response.rb +0 -762
- data/lib/sentdm/models/profile_update_response.rb +0 -760
- data/lib/sentdm/models/profiles/campaign_create_response.rb +0 -420
- data/lib/sentdm/models/profiles/campaign_list_response.rb +0 -421
- data/lib/sentdm/models/profiles/campaign_update_response.rb +0 -420
- data/lib/sentdm/models/template_create_response.rb +0 -209
- data/lib/sentdm/models/template_retrieve_response.rb +0 -209
- data/lib/sentdm/models/template_update_response.rb +0 -209
- data/lib/sentdm/models/user_invite_response.rb +0 -201
- data/lib/sentdm/models/user_retrieve_response.rb +0 -201
- data/lib/sentdm/models/user_update_role_response.rb +0 -201
- data/lib/sentdm/models/webhook_create_response.rb +0 -229
- data/lib/sentdm/models/webhook_retrieve_response.rb +0 -229
- data/lib/sentdm/models/webhook_toggle_status_response.rb +0 -229
- data/lib/sentdm/models/webhook_update_response.rb +0 -229
- data/rbi/sentdm/models/contact_create_response.rbi +0 -407
- data/rbi/sentdm/models/contact_retrieve_message_summary_response.rbi +0 -397
- data/rbi/sentdm/models/contact_retrieve_response.rbi +0 -409
- data/rbi/sentdm/models/contact_update_response.rbi +0 -407
- data/rbi/sentdm/models/conversation_list_messages_response.rbi +0 -843
- data/rbi/sentdm/models/conversation_list_response.rbi +0 -819
- data/rbi/sentdm/models/profile_create_response.rbi +0 -1226
- data/rbi/sentdm/models/profile_retrieve_response.rbi +0 -1230
- data/rbi/sentdm/models/profile_update_response.rbi +0 -1226
- data/rbi/sentdm/models/profiles/campaign_create_response.rbi +0 -674
- data/rbi/sentdm/models/profiles/campaign_list_response.rbi +0 -667
- data/rbi/sentdm/models/profiles/campaign_update_response.rbi +0 -674
- data/rbi/sentdm/models/template_create_response.rbi +0 -349
- data/rbi/sentdm/models/template_retrieve_response.rbi +0 -355
- data/rbi/sentdm/models/template_update_response.rbi +0 -349
- data/rbi/sentdm/models/user_invite_response.rbi +0 -336
- data/rbi/sentdm/models/user_retrieve_response.rbi +0 -336
- data/rbi/sentdm/models/user_update_role_response.rbi +0 -341
- data/rbi/sentdm/models/webhook_create_response.rbi +0 -361
- data/rbi/sentdm/models/webhook_retrieve_response.rbi +0 -363
- data/rbi/sentdm/models/webhook_toggle_status_response.rbi +0 -379
- data/rbi/sentdm/models/webhook_update_response.rbi +0 -361
- data/sig/sentdm/models/contact_create_response.rbs +0 -216
- data/sig/sentdm/models/contact_retrieve_message_summary_response.rbs +0 -182
- data/sig/sentdm/models/contact_retrieve_response.rbs +0 -216
- data/sig/sentdm/models/contact_update_response.rbs +0 -216
- data/sig/sentdm/models/conversation_list_messages_response.rbs +0 -404
- data/sig/sentdm/models/conversation_list_response.rbs +0 -404
- data/sig/sentdm/models/profile_create_response.rbs +0 -559
- data/sig/sentdm/models/profile_retrieve_response.rbs +0 -559
- data/sig/sentdm/models/profile_update_response.rbs +0 -559
- data/sig/sentdm/models/profiles/campaign_create_response.rbs +0 -357
- data/sig/sentdm/models/profiles/campaign_list_response.rbs +0 -357
- data/sig/sentdm/models/profiles/campaign_update_response.rbs +0 -357
- data/sig/sentdm/models/template_create_response.rbs +0 -182
- data/sig/sentdm/models/template_retrieve_response.rbs +0 -182
- data/sig/sentdm/models/template_update_response.rbs +0 -182
- data/sig/sentdm/models/user_invite_response.rbs +0 -177
- data/sig/sentdm/models/user_retrieve_response.rbs +0 -177
- data/sig/sentdm/models/user_update_role_response.rbs +0 -177
- data/sig/sentdm/models/webhook_create_response.rbs +0 -208
- data/sig/sentdm/models/webhook_retrieve_response.rbs +0 -208
- data/sig/sentdm/models/webhook_toggle_status_response.rbs +0 -208
- data/sig/sentdm/models/webhook_update_response.rbs +0 -208
|
@@ -0,0 +1,461 @@
|
|
|
1
|
+
module Sentdm
|
|
2
|
+
module Models
|
|
3
|
+
type profile_detail =
|
|
4
|
+
{
|
|
5
|
+
id: String,
|
|
6
|
+
allow_contact_sharing: bool?,
|
|
7
|
+
allow_number_change_during_onboarding: bool?,
|
|
8
|
+
allow_template_sharing: bool?,
|
|
9
|
+
billing_contact: Sentdm::ProfileDetail::BillingContact?,
|
|
10
|
+
billing_model: String,
|
|
11
|
+
brand: Sentdm::ProfileDetail::Brand?,
|
|
12
|
+
created_at: Time,
|
|
13
|
+
description: String?,
|
|
14
|
+
email: String?,
|
|
15
|
+
icon: String?,
|
|
16
|
+
inherit_contacts: bool?,
|
|
17
|
+
inherit_tcr_brand: bool,
|
|
18
|
+
inherit_tcr_campaign: bool,
|
|
19
|
+
inherit_templates: bool?,
|
|
20
|
+
name: String,
|
|
21
|
+
organization_id: String?,
|
|
22
|
+
sending_phone_number: String?,
|
|
23
|
+
sending_phone_number_profile_id: String?,
|
|
24
|
+
sending_whatsapp_number_profile_id: String?,
|
|
25
|
+
short_name: String?,
|
|
26
|
+
status: String,
|
|
27
|
+
updated_at: Time?,
|
|
28
|
+
waba_id: String?,
|
|
29
|
+
whatsapp_phone_number: String?
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
class ProfileDetail < Sentdm::Internal::Type::BaseModel
|
|
33
|
+
attr_reader id: String?
|
|
34
|
+
|
|
35
|
+
def id=: (String) -> String
|
|
36
|
+
|
|
37
|
+
attr_accessor allow_contact_sharing: bool?
|
|
38
|
+
|
|
39
|
+
attr_accessor allow_number_change_during_onboarding: bool?
|
|
40
|
+
|
|
41
|
+
attr_accessor allow_template_sharing: bool?
|
|
42
|
+
|
|
43
|
+
attr_accessor billing_contact: Sentdm::ProfileDetail::BillingContact?
|
|
44
|
+
|
|
45
|
+
attr_reader billing_model: String?
|
|
46
|
+
|
|
47
|
+
def billing_model=: (String) -> String
|
|
48
|
+
|
|
49
|
+
attr_accessor brand: Sentdm::ProfileDetail::Brand?
|
|
50
|
+
|
|
51
|
+
attr_reader created_at: Time?
|
|
52
|
+
|
|
53
|
+
def created_at=: (Time) -> Time
|
|
54
|
+
|
|
55
|
+
attr_accessor description: String?
|
|
56
|
+
|
|
57
|
+
attr_accessor email: String?
|
|
58
|
+
|
|
59
|
+
attr_accessor icon: String?
|
|
60
|
+
|
|
61
|
+
attr_accessor inherit_contacts: bool?
|
|
62
|
+
|
|
63
|
+
attr_reader inherit_tcr_brand: bool?
|
|
64
|
+
|
|
65
|
+
def inherit_tcr_brand=: (bool) -> bool
|
|
66
|
+
|
|
67
|
+
attr_reader inherit_tcr_campaign: bool?
|
|
68
|
+
|
|
69
|
+
def inherit_tcr_campaign=: (bool) -> bool
|
|
70
|
+
|
|
71
|
+
attr_accessor inherit_templates: bool?
|
|
72
|
+
|
|
73
|
+
attr_reader name: String?
|
|
74
|
+
|
|
75
|
+
def name=: (String) -> String
|
|
76
|
+
|
|
77
|
+
attr_accessor organization_id: String?
|
|
78
|
+
|
|
79
|
+
attr_accessor sending_phone_number: String?
|
|
80
|
+
|
|
81
|
+
attr_accessor sending_phone_number_profile_id: String?
|
|
82
|
+
|
|
83
|
+
attr_accessor sending_whatsapp_number_profile_id: String?
|
|
84
|
+
|
|
85
|
+
attr_accessor short_name: String?
|
|
86
|
+
|
|
87
|
+
attr_reader status: String?
|
|
88
|
+
|
|
89
|
+
def status=: (String) -> String
|
|
90
|
+
|
|
91
|
+
attr_accessor updated_at: Time?
|
|
92
|
+
|
|
93
|
+
attr_accessor waba_id: String?
|
|
94
|
+
|
|
95
|
+
attr_accessor whatsapp_phone_number: String?
|
|
96
|
+
|
|
97
|
+
def initialize: (
|
|
98
|
+
?id: String,
|
|
99
|
+
?allow_contact_sharing: bool?,
|
|
100
|
+
?allow_number_change_during_onboarding: bool?,
|
|
101
|
+
?allow_template_sharing: bool?,
|
|
102
|
+
?billing_contact: Sentdm::ProfileDetail::BillingContact?,
|
|
103
|
+
?billing_model: String,
|
|
104
|
+
?brand: Sentdm::ProfileDetail::Brand?,
|
|
105
|
+
?created_at: Time,
|
|
106
|
+
?description: String?,
|
|
107
|
+
?email: String?,
|
|
108
|
+
?icon: String?,
|
|
109
|
+
?inherit_contacts: bool?,
|
|
110
|
+
?inherit_tcr_brand: bool,
|
|
111
|
+
?inherit_tcr_campaign: bool,
|
|
112
|
+
?inherit_templates: bool?,
|
|
113
|
+
?name: String,
|
|
114
|
+
?organization_id: String?,
|
|
115
|
+
?sending_phone_number: String?,
|
|
116
|
+
?sending_phone_number_profile_id: String?,
|
|
117
|
+
?sending_whatsapp_number_profile_id: String?,
|
|
118
|
+
?short_name: String?,
|
|
119
|
+
?status: String,
|
|
120
|
+
?updated_at: Time?,
|
|
121
|
+
?waba_id: String?,
|
|
122
|
+
?whatsapp_phone_number: String?
|
|
123
|
+
) -> void
|
|
124
|
+
|
|
125
|
+
def to_hash: -> {
|
|
126
|
+
id: String,
|
|
127
|
+
allow_contact_sharing: bool?,
|
|
128
|
+
allow_number_change_during_onboarding: bool?,
|
|
129
|
+
allow_template_sharing: bool?,
|
|
130
|
+
billing_contact: Sentdm::ProfileDetail::BillingContact?,
|
|
131
|
+
billing_model: String,
|
|
132
|
+
brand: Sentdm::ProfileDetail::Brand?,
|
|
133
|
+
created_at: Time,
|
|
134
|
+
description: String?,
|
|
135
|
+
email: String?,
|
|
136
|
+
icon: String?,
|
|
137
|
+
inherit_contacts: bool?,
|
|
138
|
+
inherit_tcr_brand: bool,
|
|
139
|
+
inherit_tcr_campaign: bool,
|
|
140
|
+
inherit_templates: bool?,
|
|
141
|
+
name: String,
|
|
142
|
+
organization_id: String?,
|
|
143
|
+
sending_phone_number: String?,
|
|
144
|
+
sending_phone_number_profile_id: String?,
|
|
145
|
+
sending_whatsapp_number_profile_id: String?,
|
|
146
|
+
short_name: String?,
|
|
147
|
+
status: String,
|
|
148
|
+
updated_at: Time?,
|
|
149
|
+
waba_id: String?,
|
|
150
|
+
whatsapp_phone_number: String?
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
type billing_contact =
|
|
154
|
+
{ address: String?, email: String?, name: String?, phone: String? }
|
|
155
|
+
|
|
156
|
+
class BillingContact < Sentdm::Internal::Type::BaseModel
|
|
157
|
+
attr_accessor address: String?
|
|
158
|
+
|
|
159
|
+
attr_accessor email: String?
|
|
160
|
+
|
|
161
|
+
attr_accessor name: String?
|
|
162
|
+
|
|
163
|
+
attr_accessor phone: String?
|
|
164
|
+
|
|
165
|
+
def initialize: (
|
|
166
|
+
?address: String?,
|
|
167
|
+
?email: String?,
|
|
168
|
+
?name: String?,
|
|
169
|
+
?phone: String?
|
|
170
|
+
) -> void
|
|
171
|
+
|
|
172
|
+
def to_hash: -> {
|
|
173
|
+
address: String?,
|
|
174
|
+
email: String?,
|
|
175
|
+
name: String?,
|
|
176
|
+
phone: String?
|
|
177
|
+
}
|
|
178
|
+
end
|
|
179
|
+
|
|
180
|
+
type brand =
|
|
181
|
+
{
|
|
182
|
+
id: String,
|
|
183
|
+
business: Sentdm::ProfileDetail::Brand::Business?,
|
|
184
|
+
compliance: Sentdm::ProfileDetail::Brand::Compliance?,
|
|
185
|
+
contact: Sentdm::ProfileDetail::Brand::Contact?,
|
|
186
|
+
created_at: Time,
|
|
187
|
+
csp_id: String?,
|
|
188
|
+
identity_status: Sentdm::Models::ProfileDetail::Brand::identity_status?,
|
|
189
|
+
is_inherited: bool,
|
|
190
|
+
status: Sentdm::Models::ProfileDetail::Brand::status?,
|
|
191
|
+
submitted_at: Time?,
|
|
192
|
+
submitted_to_tcr: bool,
|
|
193
|
+
tcr_brand_id: String?,
|
|
194
|
+
universal_ein: String?,
|
|
195
|
+
updated_at: Time?
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
class Brand < Sentdm::Internal::Type::BaseModel
|
|
199
|
+
attr_reader id: String?
|
|
200
|
+
|
|
201
|
+
def id=: (String) -> String
|
|
202
|
+
|
|
203
|
+
attr_accessor business: Sentdm::ProfileDetail::Brand::Business?
|
|
204
|
+
|
|
205
|
+
attr_accessor compliance: Sentdm::ProfileDetail::Brand::Compliance?
|
|
206
|
+
|
|
207
|
+
attr_accessor contact: Sentdm::ProfileDetail::Brand::Contact?
|
|
208
|
+
|
|
209
|
+
attr_reader created_at: Time?
|
|
210
|
+
|
|
211
|
+
def created_at=: (Time) -> Time
|
|
212
|
+
|
|
213
|
+
attr_accessor csp_id: String?
|
|
214
|
+
|
|
215
|
+
attr_accessor identity_status: Sentdm::Models::ProfileDetail::Brand::identity_status?
|
|
216
|
+
|
|
217
|
+
attr_reader is_inherited: bool?
|
|
218
|
+
|
|
219
|
+
def is_inherited=: (bool) -> bool
|
|
220
|
+
|
|
221
|
+
attr_accessor status: Sentdm::Models::ProfileDetail::Brand::status?
|
|
222
|
+
|
|
223
|
+
attr_accessor submitted_at: Time?
|
|
224
|
+
|
|
225
|
+
attr_reader submitted_to_tcr: bool?
|
|
226
|
+
|
|
227
|
+
def submitted_to_tcr=: (bool) -> bool
|
|
228
|
+
|
|
229
|
+
attr_accessor tcr_brand_id: String?
|
|
230
|
+
|
|
231
|
+
attr_accessor universal_ein: String?
|
|
232
|
+
|
|
233
|
+
attr_accessor updated_at: Time?
|
|
234
|
+
|
|
235
|
+
def initialize: (
|
|
236
|
+
?id: String,
|
|
237
|
+
?business: Sentdm::ProfileDetail::Brand::Business?,
|
|
238
|
+
?compliance: Sentdm::ProfileDetail::Brand::Compliance?,
|
|
239
|
+
?contact: Sentdm::ProfileDetail::Brand::Contact?,
|
|
240
|
+
?created_at: Time,
|
|
241
|
+
?csp_id: String?,
|
|
242
|
+
?identity_status: Sentdm::Models::ProfileDetail::Brand::identity_status?,
|
|
243
|
+
?is_inherited: bool,
|
|
244
|
+
?status: Sentdm::Models::ProfileDetail::Brand::status?,
|
|
245
|
+
?submitted_at: Time?,
|
|
246
|
+
?submitted_to_tcr: bool,
|
|
247
|
+
?tcr_brand_id: String?,
|
|
248
|
+
?universal_ein: String?,
|
|
249
|
+
?updated_at: Time?
|
|
250
|
+
) -> void
|
|
251
|
+
|
|
252
|
+
def to_hash: -> {
|
|
253
|
+
id: String,
|
|
254
|
+
business: Sentdm::ProfileDetail::Brand::Business?,
|
|
255
|
+
compliance: Sentdm::ProfileDetail::Brand::Compliance?,
|
|
256
|
+
contact: Sentdm::ProfileDetail::Brand::Contact?,
|
|
257
|
+
created_at: Time,
|
|
258
|
+
csp_id: String?,
|
|
259
|
+
identity_status: Sentdm::Models::ProfileDetail::Brand::identity_status?,
|
|
260
|
+
is_inherited: bool,
|
|
261
|
+
status: Sentdm::Models::ProfileDetail::Brand::status?,
|
|
262
|
+
submitted_at: Time?,
|
|
263
|
+
submitted_to_tcr: bool,
|
|
264
|
+
tcr_brand_id: String?,
|
|
265
|
+
universal_ein: String?,
|
|
266
|
+
updated_at: Time?
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
type business =
|
|
270
|
+
{
|
|
271
|
+
city: String?,
|
|
272
|
+
country: String?,
|
|
273
|
+
country_of_registration: String?,
|
|
274
|
+
entity_type: String?,
|
|
275
|
+
legal_name: String?,
|
|
276
|
+
postal_code: String?,
|
|
277
|
+
state: String?,
|
|
278
|
+
street: String?,
|
|
279
|
+
tax_id: String?,
|
|
280
|
+
tax_id_type: String?,
|
|
281
|
+
url: String?
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
class Business < Sentdm::Internal::Type::BaseModel
|
|
285
|
+
attr_accessor city: String?
|
|
286
|
+
|
|
287
|
+
attr_accessor country: String?
|
|
288
|
+
|
|
289
|
+
attr_accessor country_of_registration: String?
|
|
290
|
+
|
|
291
|
+
attr_accessor entity_type: String?
|
|
292
|
+
|
|
293
|
+
attr_accessor legal_name: String?
|
|
294
|
+
|
|
295
|
+
attr_accessor postal_code: String?
|
|
296
|
+
|
|
297
|
+
attr_accessor state: String?
|
|
298
|
+
|
|
299
|
+
attr_accessor street: String?
|
|
300
|
+
|
|
301
|
+
attr_accessor tax_id: String?
|
|
302
|
+
|
|
303
|
+
attr_accessor tax_id_type: String?
|
|
304
|
+
|
|
305
|
+
attr_accessor url: String?
|
|
306
|
+
|
|
307
|
+
def initialize: (
|
|
308
|
+
?city: String?,
|
|
309
|
+
?country: String?,
|
|
310
|
+
?country_of_registration: String?,
|
|
311
|
+
?entity_type: String?,
|
|
312
|
+
?legal_name: String?,
|
|
313
|
+
?postal_code: String?,
|
|
314
|
+
?state: String?,
|
|
315
|
+
?street: String?,
|
|
316
|
+
?tax_id: String?,
|
|
317
|
+
?tax_id_type: String?,
|
|
318
|
+
?url: String?
|
|
319
|
+
) -> void
|
|
320
|
+
|
|
321
|
+
def to_hash: -> {
|
|
322
|
+
city: String?,
|
|
323
|
+
country: String?,
|
|
324
|
+
country_of_registration: String?,
|
|
325
|
+
entity_type: String?,
|
|
326
|
+
legal_name: String?,
|
|
327
|
+
postal_code: String?,
|
|
328
|
+
state: String?,
|
|
329
|
+
street: String?,
|
|
330
|
+
tax_id: String?,
|
|
331
|
+
tax_id_type: String?,
|
|
332
|
+
url: String?
|
|
333
|
+
}
|
|
334
|
+
end
|
|
335
|
+
|
|
336
|
+
type compliance =
|
|
337
|
+
{
|
|
338
|
+
brand_relationship: Sentdm::Models::tcr_brand_relationship?,
|
|
339
|
+
destination_countries: ::Array[Sentdm::DestinationCountry],
|
|
340
|
+
is_tcr_application: bool,
|
|
341
|
+
notes: String?,
|
|
342
|
+
phone_number_prefix: String?,
|
|
343
|
+
primary_use_case: String?,
|
|
344
|
+
vertical: Sentdm::Models::tcr_vertical?
|
|
345
|
+
}
|
|
346
|
+
|
|
347
|
+
class Compliance < Sentdm::Internal::Type::BaseModel
|
|
348
|
+
attr_accessor brand_relationship: Sentdm::Models::tcr_brand_relationship?
|
|
349
|
+
|
|
350
|
+
attr_reader destination_countries: ::Array[Sentdm::DestinationCountry]?
|
|
351
|
+
|
|
352
|
+
def destination_countries=: (
|
|
353
|
+
::Array[Sentdm::DestinationCountry]
|
|
354
|
+
) -> ::Array[Sentdm::DestinationCountry]
|
|
355
|
+
|
|
356
|
+
attr_reader is_tcr_application: bool?
|
|
357
|
+
|
|
358
|
+
def is_tcr_application=: (bool) -> bool
|
|
359
|
+
|
|
360
|
+
attr_accessor notes: String?
|
|
361
|
+
|
|
362
|
+
attr_accessor phone_number_prefix: String?
|
|
363
|
+
|
|
364
|
+
attr_accessor primary_use_case: String?
|
|
365
|
+
|
|
366
|
+
attr_accessor vertical: Sentdm::Models::tcr_vertical?
|
|
367
|
+
|
|
368
|
+
def initialize: (
|
|
369
|
+
?brand_relationship: Sentdm::Models::tcr_brand_relationship?,
|
|
370
|
+
?destination_countries: ::Array[Sentdm::DestinationCountry],
|
|
371
|
+
?is_tcr_application: bool,
|
|
372
|
+
?notes: String?,
|
|
373
|
+
?phone_number_prefix: String?,
|
|
374
|
+
?primary_use_case: String?,
|
|
375
|
+
?vertical: Sentdm::Models::tcr_vertical?
|
|
376
|
+
) -> void
|
|
377
|
+
|
|
378
|
+
def to_hash: -> {
|
|
379
|
+
brand_relationship: Sentdm::Models::tcr_brand_relationship?,
|
|
380
|
+
destination_countries: ::Array[Sentdm::DestinationCountry],
|
|
381
|
+
is_tcr_application: bool,
|
|
382
|
+
notes: String?,
|
|
383
|
+
phone_number_prefix: String?,
|
|
384
|
+
primary_use_case: String?,
|
|
385
|
+
vertical: Sentdm::Models::tcr_vertical?
|
|
386
|
+
}
|
|
387
|
+
end
|
|
388
|
+
|
|
389
|
+
type contact =
|
|
390
|
+
{
|
|
391
|
+
business_name: String?,
|
|
392
|
+
email: String?,
|
|
393
|
+
name: String,
|
|
394
|
+
phone: String?,
|
|
395
|
+
phone_country_code: String?,
|
|
396
|
+
role: String?
|
|
397
|
+
}
|
|
398
|
+
|
|
399
|
+
class Contact < Sentdm::Internal::Type::BaseModel
|
|
400
|
+
attr_accessor business_name: String?
|
|
401
|
+
|
|
402
|
+
attr_accessor email: String?
|
|
403
|
+
|
|
404
|
+
attr_reader name: String?
|
|
405
|
+
|
|
406
|
+
def name=: (String) -> String
|
|
407
|
+
|
|
408
|
+
attr_accessor phone: String?
|
|
409
|
+
|
|
410
|
+
attr_accessor phone_country_code: String?
|
|
411
|
+
|
|
412
|
+
attr_accessor role: String?
|
|
413
|
+
|
|
414
|
+
def initialize: (
|
|
415
|
+
?business_name: String?,
|
|
416
|
+
?email: String?,
|
|
417
|
+
?name: String,
|
|
418
|
+
?phone: String?,
|
|
419
|
+
?phone_country_code: String?,
|
|
420
|
+
?role: String?
|
|
421
|
+
) -> void
|
|
422
|
+
|
|
423
|
+
def to_hash: -> {
|
|
424
|
+
business_name: String?,
|
|
425
|
+
email: String?,
|
|
426
|
+
name: String,
|
|
427
|
+
phone: String?,
|
|
428
|
+
phone_country_code: String?,
|
|
429
|
+
role: String?
|
|
430
|
+
}
|
|
431
|
+
end
|
|
432
|
+
|
|
433
|
+
type identity_status =
|
|
434
|
+
:SELF_DECLARED | :UNVERIFIED | :VERIFIED | :VETTED_VERIFIED
|
|
435
|
+
|
|
436
|
+
module IdentityStatus
|
|
437
|
+
extend Sentdm::Internal::Type::Enum
|
|
438
|
+
|
|
439
|
+
SELF_DECLARED: :SELF_DECLARED
|
|
440
|
+
UNVERIFIED: :UNVERIFIED
|
|
441
|
+
VERIFIED: :VERIFIED
|
|
442
|
+
VETTED_VERIFIED: :VETTED_VERIFIED
|
|
443
|
+
|
|
444
|
+
def self?.values: -> ::Array[Sentdm::Models::ProfileDetail::Brand::identity_status]
|
|
445
|
+
end
|
|
446
|
+
|
|
447
|
+
type status = :ACTIVE | :INACTIVE | :SUSPENDED
|
|
448
|
+
|
|
449
|
+
module Status
|
|
450
|
+
extend Sentdm::Internal::Type::Enum
|
|
451
|
+
|
|
452
|
+
ACTIVE: :ACTIVE
|
|
453
|
+
INACTIVE: :INACTIVE
|
|
454
|
+
SUSPENDED: :SUSPENDED
|
|
455
|
+
|
|
456
|
+
def self?.values: -> ::Array[Sentdm::Models::ProfileDetail::Brand::status]
|
|
457
|
+
end
|
|
458
|
+
end
|
|
459
|
+
end
|
|
460
|
+
end
|
|
461
|
+
end
|