sentdm 0.3.1 → 0.4.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 +8 -0
- data/README.md +9 -9
- data/lib/sentdm/client.rb +0 -1
- data/lib/sentdm/models/api_meta.rb +1 -9
- data/lib/sentdm/models/brand_data.rb +235 -198
- data/lib/sentdm/models/brand_with_kyc.rb +249 -214
- data/lib/sentdm/models/brands/api_response_tcr_campaign_with_use_cases.rb +0 -1
- data/lib/sentdm/models/contact_create_params.rb +13 -6
- data/lib/sentdm/models/contact_delete_params.rb +8 -1
- data/lib/sentdm/models/contact_list_params.rb +10 -2
- data/lib/sentdm/models/contact_retrieve_params.rb +7 -1
- data/lib/sentdm/models/contact_update_params.rb +13 -6
- data/lib/sentdm/models/me_retrieve_params.rb +7 -1
- data/lib/sentdm/models/me_retrieve_response.rb +152 -7
- data/lib/sentdm/models/message_retrieve_activities_params.rb +7 -1
- data/lib/sentdm/models/message_retrieve_activities_response.rb +19 -5
- data/lib/sentdm/models/message_retrieve_status_params.rb +7 -1
- data/lib/sentdm/models/message_retrieve_status_response.rb +8 -1
- data/lib/sentdm/models/message_send_params.rb +17 -10
- data/lib/sentdm/models/mutation_request.rb +6 -6
- data/lib/sentdm/models/profile_complete_params.rb +13 -6
- data/lib/sentdm/models/profile_create_params.rb +192 -10
- data/lib/sentdm/models/profile_delete_params.rb +18 -18
- data/lib/sentdm/models/profile_detail.rb +144 -95
- data/lib/sentdm/models/profile_list_params.rb +7 -1
- data/lib/sentdm/models/profile_retrieve_params.rb +7 -1
- data/lib/sentdm/models/profile_update_params.rb +142 -22
- data/lib/sentdm/models/template_create_params.rb +17 -10
- data/lib/sentdm/models/template_delete_params.rb +13 -6
- data/lib/sentdm/models/template_list_params.rb +18 -2
- data/lib/sentdm/models/template_retrieve_params.rb +7 -1
- data/lib/sentdm/models/template_update_params.rb +17 -10
- data/lib/sentdm/models/template_variable.rb +7 -1
- data/lib/sentdm/models/user_invite_params.rb +13 -6
- data/lib/sentdm/models/user_list_params.rb +7 -1
- data/lib/sentdm/models/user_remove_params.rb +17 -17
- data/lib/sentdm/models/user_retrieve_params.rb +7 -1
- data/lib/sentdm/models/user_update_role_params.rb +15 -16
- data/lib/sentdm/models/webhook_create_params.rb +13 -6
- data/lib/sentdm/models/webhook_delete_params.rb +7 -1
- data/lib/sentdm/models/webhook_list_event_types_params.rb +7 -1
- data/lib/sentdm/models/webhook_list_events_params.rb +7 -1
- data/lib/sentdm/models/webhook_list_params.rb +7 -1
- data/lib/sentdm/models/webhook_retrieve_params.rb +7 -1
- data/lib/sentdm/models/webhook_rotate_secret_params.rb +7 -1
- data/lib/sentdm/models/webhook_test_params.rb +13 -6
- data/lib/sentdm/models/webhook_toggle_status_params.rb +13 -6
- data/lib/sentdm/models/webhook_update_params.rb +13 -6
- data/lib/sentdm/models.rb +0 -12
- data/lib/sentdm/resources/brands/campaigns.rb +0 -129
- data/lib/sentdm/resources/brands.rb +0 -112
- data/lib/sentdm/resources/contacts.rb +43 -20
- data/lib/sentdm/resources/lookup.rb +0 -21
- data/lib/sentdm/resources/me.rb +24 -5
- data/lib/sentdm/resources/messages.rb +24 -8
- data/lib/sentdm/resources/profiles.rb +116 -32
- data/lib/sentdm/resources/templates.rb +47 -24
- data/lib/sentdm/resources/users.rb +40 -23
- data/lib/sentdm/resources/webhooks.rb +92 -34
- data/lib/sentdm/version.rb +1 -1
- data/lib/sentdm.rb +1 -14
- data/rbi/sentdm/client.rbi +0 -1
- data/rbi/sentdm/models/api_meta.rbi +4 -18
- data/rbi/sentdm/models/brand_data.rbi +326 -203
- data/rbi/sentdm/models/brand_with_kyc.rbi +334 -216
- data/rbi/sentdm/models/brands/tcr_campaign_with_use_cases.rbi +6 -8
- data/rbi/sentdm/models/contact_create_params.rbi +19 -10
- data/rbi/sentdm/models/contact_delete_params.rbi +9 -0
- data/rbi/sentdm/models/contact_list_params.rbi +11 -0
- data/rbi/sentdm/models/contact_retrieve_params.rbi +13 -2
- data/rbi/sentdm/models/contact_update_params.rbi +19 -10
- data/rbi/sentdm/models/me_retrieve_params.rbi +16 -5
- data/rbi/sentdm/models/me_retrieve_response.rbi +316 -16
- data/rbi/sentdm/models/message_retrieve_activities_params.rbi +13 -2
- data/rbi/sentdm/models/message_retrieve_activities_response.rbi +18 -6
- data/rbi/sentdm/models/message_retrieve_status_params.rbi +13 -2
- data/rbi/sentdm/models/message_retrieve_status_response.rbi +6 -0
- data/rbi/sentdm/models/message_send_params.rbi +22 -13
- data/rbi/sentdm/models/mutation_request.rbi +10 -10
- data/rbi/sentdm/models/profile_complete_params.rbi +19 -10
- data/rbi/sentdm/models/profile_create_params.rbi +323 -15
- data/rbi/sentdm/models/profile_delete_params.rbi +36 -24
- data/rbi/sentdm/models/profile_detail.rbi +184 -128
- data/rbi/sentdm/models/profile_list_params.rbi +16 -5
- data/rbi/sentdm/models/profile_retrieve_params.rbi +13 -2
- data/rbi/sentdm/models/profile_update_params.rbi +231 -30
- data/rbi/sentdm/models/template_create_params.rbi +22 -13
- data/rbi/sentdm/models/template_delete_params.rbi +19 -10
- data/rbi/sentdm/models/template_list_params.rbi +19 -0
- data/rbi/sentdm/models/template_retrieve_params.rbi +13 -2
- data/rbi/sentdm/models/template_update_params.rbi +22 -13
- data/rbi/sentdm/models/template_variable.rbi +6 -0
- data/rbi/sentdm/models/user_invite_params.rbi +19 -10
- data/rbi/sentdm/models/user_list_params.rbi +16 -5
- data/rbi/sentdm/models/user_remove_params.rbi +35 -23
- data/rbi/sentdm/models/user_retrieve_params.rbi +13 -2
- data/rbi/sentdm/models/user_update_role_params.rbi +23 -25
- data/rbi/sentdm/models/webhook_create_params.rbi +19 -10
- data/rbi/sentdm/models/webhook_delete_params.rbi +13 -2
- data/rbi/sentdm/models/webhook_list_event_types_params.rbi +16 -5
- data/rbi/sentdm/models/webhook_list_events_params.rbi +16 -1
- data/rbi/sentdm/models/webhook_list_params.rbi +9 -0
- data/rbi/sentdm/models/webhook_retrieve_params.rbi +13 -2
- data/rbi/sentdm/models/webhook_rotate_secret_params.rbi +15 -1
- data/rbi/sentdm/models/webhook_test_params.rbi +19 -10
- data/rbi/sentdm/models/webhook_toggle_status_params.rbi +19 -10
- data/rbi/sentdm/models/webhook_update_params.rbi +19 -10
- data/rbi/sentdm/models.rbi +0 -12
- data/rbi/sentdm/resources/brands/campaigns.rbi +0 -95
- data/rbi/sentdm/resources/brands.rbi +0 -80
- data/rbi/sentdm/resources/contacts.rbi +37 -12
- data/rbi/sentdm/resources/lookup.rbi +0 -12
- data/rbi/sentdm/resources/me.rbi +25 -7
- data/rbi/sentdm/resources/messages.rbi +17 -4
- data/rbi/sentdm/resources/profiles.rbi +178 -38
- data/rbi/sentdm/resources/templates.rbi +47 -19
- data/rbi/sentdm/resources/users.rbi +47 -25
- data/rbi/sentdm/resources/webhooks.rbi +92 -20
- data/sig/sentdm/models/api_meta.rbs +2 -16
- data/sig/sentdm/models/brand_data.rbs +188 -142
- data/sig/sentdm/models/brand_with_kyc.rbs +184 -133
- data/sig/sentdm/models/contact_create_params.rbs +16 -5
- data/sig/sentdm/models/contact_delete_params.rbs +11 -1
- data/sig/sentdm/models/contact_list_params.rbs +8 -1
- data/sig/sentdm/models/contact_retrieve_params.rbs +12 -2
- data/sig/sentdm/models/contact_update_params.rbs +13 -6
- data/sig/sentdm/models/me_retrieve_params.rbs +14 -3
- data/sig/sentdm/models/me_retrieve_response.rbs +134 -7
- data/sig/sentdm/models/message_retrieve_activities_params.rbs +12 -2
- data/sig/sentdm/models/message_retrieve_activities_response.rbs +9 -4
- data/sig/sentdm/models/message_retrieve_status_params.rbs +12 -2
- data/sig/sentdm/models/message_retrieve_status_response.rbs +5 -0
- data/sig/sentdm/models/message_send_params.rbs +15 -8
- data/sig/sentdm/models/mutation_request.rbs +5 -5
- data/sig/sentdm/models/profile_complete_params.rbs +13 -6
- data/sig/sentdm/models/profile_create_params.rbs +111 -7
- data/sig/sentdm/models/profile_delete_params.rbs +23 -13
- data/sig/sentdm/models/profile_detail.rbs +105 -84
- data/sig/sentdm/models/profile_list_params.rbs +14 -3
- data/sig/sentdm/models/profile_retrieve_params.rbs +8 -1
- data/sig/sentdm/models/profile_update_params.rbs +86 -17
- data/sig/sentdm/models/template_create_params.rbs +15 -8
- data/sig/sentdm/models/template_delete_params.rbs +16 -5
- data/sig/sentdm/models/template_list_params.rbs +13 -1
- data/sig/sentdm/models/template_retrieve_params.rbs +12 -2
- data/sig/sentdm/models/template_update_params.rbs +15 -8
- data/sig/sentdm/models/template_variable.rbs +5 -0
- data/sig/sentdm/models/user_invite_params.rbs +13 -6
- data/sig/sentdm/models/user_list_params.rbs +14 -3
- data/sig/sentdm/models/user_remove_params.rbs +23 -13
- data/sig/sentdm/models/user_retrieve_params.rbs +8 -1
- data/sig/sentdm/models/user_update_role_params.rbs +17 -17
- data/sig/sentdm/models/webhook_create_params.rbs +13 -6
- data/sig/sentdm/models/webhook_delete_params.rbs +12 -2
- data/sig/sentdm/models/webhook_list_event_types_params.rbs +13 -3
- data/sig/sentdm/models/webhook_list_events_params.rbs +13 -1
- data/sig/sentdm/models/webhook_list_params.rbs +13 -1
- data/sig/sentdm/models/webhook_retrieve_params.rbs +12 -2
- data/sig/sentdm/models/webhook_rotate_secret_params.rbs +8 -1
- data/sig/sentdm/models/webhook_test_params.rbs +13 -6
- data/sig/sentdm/models/webhook_toggle_status_params.rbs +17 -5
- data/sig/sentdm/models/webhook_update_params.rbs +13 -6
- data/sig/sentdm/models.rbs +0 -12
- data/sig/sentdm/resources/brands/campaigns.rbs +0 -29
- data/sig/sentdm/resources/brands.rbs +0 -25
- data/sig/sentdm/resources/contacts.rbs +7 -2
- data/sig/sentdm/resources/lookup.rbs +0 -5
- data/sig/sentdm/resources/me.rbs +1 -0
- data/sig/sentdm/resources/messages.rbs +4 -1
- data/sig/sentdm/resources/profiles.rbs +19 -8
- data/sig/sentdm/resources/templates.rbs +9 -3
- data/sig/sentdm/resources/users.rbs +10 -7
- data/sig/sentdm/resources/webhooks.rbs +18 -5
- metadata +1 -40
- data/lib/sentdm/models/api_response_brand_with_kyc.rb +0 -43
- data/lib/sentdm/models/brand_create_params.rb +0 -41
- data/lib/sentdm/models/brand_delete_params.rb +0 -34
- data/lib/sentdm/models/brand_list_params.rb +0 -14
- data/lib/sentdm/models/brand_list_response.rb +0 -43
- data/lib/sentdm/models/brand_update_params.rb +0 -48
- data/lib/sentdm/models/brands/campaign_create_params.rb +0 -50
- data/lib/sentdm/models/brands/campaign_delete_params.rb +0 -43
- data/lib/sentdm/models/brands/campaign_list_params.rb +0 -22
- data/lib/sentdm/models/brands/campaign_list_response.rb +0 -47
- data/lib/sentdm/models/brands/campaign_update_params.rb +0 -57
- data/lib/sentdm/models/lookup_retrieve_phone_info_params.rb +0 -20
- data/lib/sentdm/models/lookup_retrieve_phone_info_response.rb +0 -104
- data/rbi/sentdm/models/api_response_brand_with_kyc.rbi +0 -74
- data/rbi/sentdm/models/brand_create_params.rbi +0 -68
- data/rbi/sentdm/models/brand_delete_params.rbi +0 -68
- data/rbi/sentdm/models/brand_list_params.rbi +0 -27
- data/rbi/sentdm/models/brand_list_response.rbi +0 -71
- data/rbi/sentdm/models/brand_update_params.rbi +0 -74
- data/rbi/sentdm/models/brands/campaign_create_params.rbi +0 -79
- data/rbi/sentdm/models/brands/campaign_delete_params.rbi +0 -84
- data/rbi/sentdm/models/brands/campaign_list_params.rbi +0 -37
- data/rbi/sentdm/models/brands/campaign_list_response.rbi +0 -82
- data/rbi/sentdm/models/brands/campaign_update_params.rbi +0 -85
- data/rbi/sentdm/models/lookup_retrieve_phone_info_params.rbi +0 -38
- data/rbi/sentdm/models/lookup_retrieve_phone_info_response.rbi +0 -183
- data/sig/sentdm/models/api_response_brand_with_kyc.rbs +0 -39
- data/sig/sentdm/models/brand_create_params.rbs +0 -36
- data/sig/sentdm/models/brand_delete_params.rbs +0 -36
- data/sig/sentdm/models/brand_list_params.rbs +0 -14
- data/sig/sentdm/models/brand_list_response.rbs +0 -39
- data/sig/sentdm/models/brand_update_params.rbs +0 -45
- data/sig/sentdm/models/brands/campaign_create_params.rbs +0 -47
- data/sig/sentdm/models/brands/campaign_delete_params.rbs +0 -46
- data/sig/sentdm/models/brands/campaign_list_params.rbs +0 -25
- data/sig/sentdm/models/brands/campaign_list_response.rbs +0 -41
- data/sig/sentdm/models/brands/campaign_update_params.rbs +0 -52
- data/sig/sentdm/models/lookup_retrieve_phone_info_params.rbs +0 -23
- data/sig/sentdm/models/lookup_retrieve_phone_info_response.rbs +0 -102
|
@@ -2,162 +2,208 @@ module Sentdm
|
|
|
2
2
|
module Models
|
|
3
3
|
type brand_data =
|
|
4
4
|
{
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
brand_name: String?,
|
|
9
|
-
business_legal_name: String?,
|
|
10
|
-
business_name: String?,
|
|
11
|
-
business_role: String?,
|
|
12
|
-
business_url: String?,
|
|
13
|
-
city: String?,
|
|
14
|
-
contact_email: String?,
|
|
15
|
-
contact_phone: String?,
|
|
16
|
-
contact_phone_country_code: String?,
|
|
17
|
-
country: String?,
|
|
18
|
-
country_of_registration: String?,
|
|
19
|
-
destination_countries: ::Array[Sentdm::DestinationCountry]?,
|
|
20
|
-
entity_type: Sentdm::Models::BrandData::entity_type?,
|
|
21
|
-
expected_messaging_volume: String?,
|
|
22
|
-
is_tcr_application: bool?,
|
|
23
|
-
notes: String?,
|
|
24
|
-
phone_number_prefix: String?,
|
|
25
|
-
postal_code: String?,
|
|
26
|
-
primary_use_case: String?,
|
|
27
|
-
state: String?,
|
|
28
|
-
street: String?,
|
|
29
|
-
tax_id: String?,
|
|
30
|
-
tax_id_type: String?
|
|
5
|
+
compliance: Sentdm::BrandData::Compliance,
|
|
6
|
+
contact: Sentdm::BrandData::Contact,
|
|
7
|
+
business: Sentdm::BrandData::Business?
|
|
31
8
|
}
|
|
32
9
|
|
|
33
10
|
class BrandData < Sentdm::Internal::Type::BaseModel
|
|
34
|
-
attr_accessor
|
|
11
|
+
attr_accessor compliance: Sentdm::BrandData::Compliance
|
|
35
12
|
|
|
36
|
-
attr_accessor
|
|
13
|
+
attr_accessor contact: Sentdm::BrandData::Contact
|
|
37
14
|
|
|
38
|
-
attr_accessor
|
|
39
|
-
|
|
40
|
-
attr_accessor brand_name: String?
|
|
41
|
-
|
|
42
|
-
attr_accessor business_legal_name: String?
|
|
43
|
-
|
|
44
|
-
attr_accessor business_name: String?
|
|
45
|
-
|
|
46
|
-
attr_accessor business_role: String?
|
|
47
|
-
|
|
48
|
-
attr_accessor business_url: String?
|
|
49
|
-
|
|
50
|
-
attr_accessor city: String?
|
|
51
|
-
|
|
52
|
-
attr_accessor contact_email: String?
|
|
53
|
-
|
|
54
|
-
attr_accessor contact_phone: String?
|
|
55
|
-
|
|
56
|
-
attr_accessor contact_phone_country_code: String?
|
|
57
|
-
|
|
58
|
-
attr_accessor country: String?
|
|
59
|
-
|
|
60
|
-
attr_accessor country_of_registration: String?
|
|
61
|
-
|
|
62
|
-
attr_accessor destination_countries: ::Array[Sentdm::DestinationCountry]?
|
|
63
|
-
|
|
64
|
-
attr_accessor entity_type: Sentdm::Models::BrandData::entity_type?
|
|
65
|
-
|
|
66
|
-
attr_accessor expected_messaging_volume: String?
|
|
67
|
-
|
|
68
|
-
attr_accessor is_tcr_application: bool?
|
|
69
|
-
|
|
70
|
-
attr_accessor notes: String?
|
|
71
|
-
|
|
72
|
-
attr_accessor phone_number_prefix: String?
|
|
73
|
-
|
|
74
|
-
attr_accessor postal_code: String?
|
|
75
|
-
|
|
76
|
-
attr_accessor primary_use_case: String?
|
|
77
|
-
|
|
78
|
-
attr_accessor state: String?
|
|
79
|
-
|
|
80
|
-
attr_accessor street: String?
|
|
81
|
-
|
|
82
|
-
attr_accessor tax_id: String?
|
|
83
|
-
|
|
84
|
-
attr_accessor tax_id_type: String?
|
|
15
|
+
attr_accessor business: Sentdm::BrandData::Business?
|
|
85
16
|
|
|
86
17
|
def initialize: (
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
?brand_name: String?,
|
|
91
|
-
?business_legal_name: String?,
|
|
92
|
-
?business_name: String?,
|
|
93
|
-
?business_role: String?,
|
|
94
|
-
?business_url: String?,
|
|
95
|
-
?city: String?,
|
|
96
|
-
?contact_email: String?,
|
|
97
|
-
?contact_phone: String?,
|
|
98
|
-
?contact_phone_country_code: String?,
|
|
99
|
-
?country: String?,
|
|
100
|
-
?country_of_registration: String?,
|
|
101
|
-
?destination_countries: ::Array[Sentdm::DestinationCountry]?,
|
|
102
|
-
?entity_type: Sentdm::Models::BrandData::entity_type?,
|
|
103
|
-
?expected_messaging_volume: String?,
|
|
104
|
-
?is_tcr_application: bool?,
|
|
105
|
-
?notes: String?,
|
|
106
|
-
?phone_number_prefix: String?,
|
|
107
|
-
?postal_code: String?,
|
|
108
|
-
?primary_use_case: String?,
|
|
109
|
-
?state: String?,
|
|
110
|
-
?street: String?,
|
|
111
|
-
?tax_id: String?,
|
|
112
|
-
?tax_id_type: String?
|
|
18
|
+
compliance: Sentdm::BrandData::Compliance,
|
|
19
|
+
contact: Sentdm::BrandData::Contact,
|
|
20
|
+
?business: Sentdm::BrandData::Business?
|
|
113
21
|
) -> void
|
|
114
22
|
|
|
115
23
|
def to_hash: -> {
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
brand_name: String?,
|
|
120
|
-
business_legal_name: String?,
|
|
121
|
-
business_name: String?,
|
|
122
|
-
business_role: String?,
|
|
123
|
-
business_url: String?,
|
|
124
|
-
city: String?,
|
|
125
|
-
contact_email: String?,
|
|
126
|
-
contact_phone: String?,
|
|
127
|
-
contact_phone_country_code: String?,
|
|
128
|
-
country: String?,
|
|
129
|
-
country_of_registration: String?,
|
|
130
|
-
destination_countries: ::Array[Sentdm::DestinationCountry]?,
|
|
131
|
-
entity_type: Sentdm::Models::BrandData::entity_type?,
|
|
132
|
-
expected_messaging_volume: String?,
|
|
133
|
-
is_tcr_application: bool?,
|
|
134
|
-
notes: String?,
|
|
135
|
-
phone_number_prefix: String?,
|
|
136
|
-
postal_code: String?,
|
|
137
|
-
primary_use_case: String?,
|
|
138
|
-
state: String?,
|
|
139
|
-
street: String?,
|
|
140
|
-
tax_id: String?,
|
|
141
|
-
tax_id_type: String?
|
|
24
|
+
compliance: Sentdm::BrandData::Compliance,
|
|
25
|
+
contact: Sentdm::BrandData::Contact,
|
|
26
|
+
business: Sentdm::BrandData::Business?
|
|
142
27
|
}
|
|
143
28
|
|
|
144
|
-
type
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
29
|
+
type compliance =
|
|
30
|
+
{
|
|
31
|
+
brand_relationship: Sentdm::Models::tcr_brand_relationship,
|
|
32
|
+
vertical: Sentdm::Models::tcr_vertical,
|
|
33
|
+
destination_countries: ::Array[Sentdm::DestinationCountry]?,
|
|
34
|
+
expected_messaging_volume: String?,
|
|
35
|
+
is_tcr_application: bool?,
|
|
36
|
+
notes: String?,
|
|
37
|
+
phone_number_prefix: String?,
|
|
38
|
+
primary_use_case: String?
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
class Compliance < Sentdm::Internal::Type::BaseModel
|
|
42
|
+
attr_accessor brand_relationship: Sentdm::Models::tcr_brand_relationship
|
|
43
|
+
|
|
44
|
+
attr_accessor vertical: Sentdm::Models::tcr_vertical
|
|
45
|
+
|
|
46
|
+
attr_accessor destination_countries: ::Array[Sentdm::DestinationCountry]?
|
|
47
|
+
|
|
48
|
+
attr_accessor expected_messaging_volume: String?
|
|
49
|
+
|
|
50
|
+
attr_accessor is_tcr_application: bool?
|
|
51
|
+
|
|
52
|
+
attr_accessor notes: String?
|
|
53
|
+
|
|
54
|
+
attr_accessor phone_number_prefix: String?
|
|
55
|
+
|
|
56
|
+
attr_accessor primary_use_case: String?
|
|
57
|
+
|
|
58
|
+
def initialize: (
|
|
59
|
+
brand_relationship: Sentdm::Models::tcr_brand_relationship,
|
|
60
|
+
vertical: Sentdm::Models::tcr_vertical,
|
|
61
|
+
?destination_countries: ::Array[Sentdm::DestinationCountry]?,
|
|
62
|
+
?expected_messaging_volume: String?,
|
|
63
|
+
?is_tcr_application: bool?,
|
|
64
|
+
?notes: String?,
|
|
65
|
+
?phone_number_prefix: String?,
|
|
66
|
+
?primary_use_case: String?
|
|
67
|
+
) -> void
|
|
68
|
+
|
|
69
|
+
def to_hash: -> {
|
|
70
|
+
brand_relationship: Sentdm::Models::tcr_brand_relationship,
|
|
71
|
+
vertical: Sentdm::Models::tcr_vertical,
|
|
72
|
+
destination_countries: ::Array[Sentdm::DestinationCountry]?,
|
|
73
|
+
expected_messaging_volume: String?,
|
|
74
|
+
is_tcr_application: bool?,
|
|
75
|
+
notes: String?,
|
|
76
|
+
phone_number_prefix: String?,
|
|
77
|
+
primary_use_case: String?
|
|
78
|
+
}
|
|
79
|
+
end
|
|
153
80
|
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
81
|
+
type contact =
|
|
82
|
+
{
|
|
83
|
+
name: String,
|
|
84
|
+
business_name: String?,
|
|
85
|
+
email: String?,
|
|
86
|
+
phone: String?,
|
|
87
|
+
phone_country_code: String?,
|
|
88
|
+
role: String?
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
class Contact < Sentdm::Internal::Type::BaseModel
|
|
92
|
+
attr_accessor name: String
|
|
93
|
+
|
|
94
|
+
attr_accessor business_name: String?
|
|
95
|
+
|
|
96
|
+
attr_accessor email: String?
|
|
97
|
+
|
|
98
|
+
attr_accessor phone: String?
|
|
99
|
+
|
|
100
|
+
attr_accessor phone_country_code: String?
|
|
101
|
+
|
|
102
|
+
attr_accessor role: String?
|
|
103
|
+
|
|
104
|
+
def initialize: (
|
|
105
|
+
name: String,
|
|
106
|
+
?business_name: String?,
|
|
107
|
+
?email: String?,
|
|
108
|
+
?phone: String?,
|
|
109
|
+
?phone_country_code: String?,
|
|
110
|
+
?role: String?
|
|
111
|
+
) -> void
|
|
112
|
+
|
|
113
|
+
def to_hash: -> {
|
|
114
|
+
name: String,
|
|
115
|
+
business_name: String?,
|
|
116
|
+
email: String?,
|
|
117
|
+
phone: String?,
|
|
118
|
+
phone_country_code: String?,
|
|
119
|
+
role: String?
|
|
120
|
+
}
|
|
121
|
+
end
|
|
159
122
|
|
|
160
|
-
|
|
123
|
+
type business =
|
|
124
|
+
{
|
|
125
|
+
city: String?,
|
|
126
|
+
country: String?,
|
|
127
|
+
country_of_registration: String?,
|
|
128
|
+
entity_type: Sentdm::Models::BrandData::Business::entity_type?,
|
|
129
|
+
legal_name: String?,
|
|
130
|
+
postal_code: String?,
|
|
131
|
+
state: String?,
|
|
132
|
+
street: String?,
|
|
133
|
+
tax_id: String?,
|
|
134
|
+
tax_id_type: String?,
|
|
135
|
+
url: String?
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
class Business < Sentdm::Internal::Type::BaseModel
|
|
139
|
+
attr_accessor city: String?
|
|
140
|
+
|
|
141
|
+
attr_accessor country: String?
|
|
142
|
+
|
|
143
|
+
attr_accessor country_of_registration: String?
|
|
144
|
+
|
|
145
|
+
attr_accessor entity_type: Sentdm::Models::BrandData::Business::entity_type?
|
|
146
|
+
|
|
147
|
+
attr_accessor legal_name: String?
|
|
148
|
+
|
|
149
|
+
attr_accessor postal_code: String?
|
|
150
|
+
|
|
151
|
+
attr_accessor state: String?
|
|
152
|
+
|
|
153
|
+
attr_accessor street: String?
|
|
154
|
+
|
|
155
|
+
attr_accessor tax_id: String?
|
|
156
|
+
|
|
157
|
+
attr_accessor tax_id_type: String?
|
|
158
|
+
|
|
159
|
+
attr_accessor url: String?
|
|
160
|
+
|
|
161
|
+
def initialize: (
|
|
162
|
+
?city: String?,
|
|
163
|
+
?country: String?,
|
|
164
|
+
?country_of_registration: String?,
|
|
165
|
+
?entity_type: Sentdm::Models::BrandData::Business::entity_type?,
|
|
166
|
+
?legal_name: String?,
|
|
167
|
+
?postal_code: String?,
|
|
168
|
+
?state: String?,
|
|
169
|
+
?street: String?,
|
|
170
|
+
?tax_id: String?,
|
|
171
|
+
?tax_id_type: String?,
|
|
172
|
+
?url: String?
|
|
173
|
+
) -> void
|
|
174
|
+
|
|
175
|
+
def to_hash: -> {
|
|
176
|
+
city: String?,
|
|
177
|
+
country: String?,
|
|
178
|
+
country_of_registration: String?,
|
|
179
|
+
entity_type: Sentdm::Models::BrandData::Business::entity_type?,
|
|
180
|
+
legal_name: String?,
|
|
181
|
+
postal_code: String?,
|
|
182
|
+
state: String?,
|
|
183
|
+
street: String?,
|
|
184
|
+
tax_id: String?,
|
|
185
|
+
tax_id_type: String?,
|
|
186
|
+
url: String?
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
type entity_type =
|
|
190
|
+
:PRIVATE_PROFIT
|
|
191
|
+
| :PUBLIC_PROFIT
|
|
192
|
+
| :NON_PROFIT
|
|
193
|
+
| :SOLE_PROPRIETOR
|
|
194
|
+
| :GOVERNMENT
|
|
195
|
+
|
|
196
|
+
module EntityType
|
|
197
|
+
extend Sentdm::Internal::Type::Enum
|
|
198
|
+
|
|
199
|
+
PRIVATE_PROFIT: :PRIVATE_PROFIT
|
|
200
|
+
PUBLIC_PROFIT: :PUBLIC_PROFIT
|
|
201
|
+
NON_PROFIT: :NON_PROFIT
|
|
202
|
+
SOLE_PROPRIETOR: :SOLE_PROPRIETOR
|
|
203
|
+
GOVERNMENT: :GOVERNMENT
|
|
204
|
+
|
|
205
|
+
def self?.values: -> ::Array[Sentdm::Models::BrandData::Business::entity_type]
|
|
206
|
+
end
|
|
161
207
|
end
|
|
162
208
|
end
|
|
163
209
|
end
|