sentdm 0.4.0 → 0.7.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 +39 -0
- data/README.md +13 -9
- data/lib/sentdm/client.rb +5 -8
- data/lib/sentdm/internal/type/base_model.rb +5 -5
- data/lib/sentdm/models/{api_response_contact.rb → api_response_of_contact.rb} +4 -4
- data/lib/sentdm/models/base_dto.rb +30 -0
- data/lib/sentdm/models/billing_contact_info.rb +47 -0
- data/lib/sentdm/models/brands_brand_data.rb +38 -0
- data/lib/sentdm/models/contact_delete_params.rb +1 -1
- data/lib/sentdm/models/contact_list_response.rb +3 -3
- data/lib/sentdm/models/{contact.rb → contact_response.rb} +1 -1
- data/lib/sentdm/models/{mutation_request.rb → mutation_request_base.rb} +2 -2
- data/lib/sentdm/models/number_lookup_params.rb +26 -0
- data/lib/sentdm/models/number_lookup_response.rb +104 -0
- data/lib/sentdm/models/payment_details.rb +44 -0
- data/lib/sentdm/models/{profile_complete_params.rb → profile_complete_setup_params.rb} +3 -3
- data/lib/sentdm/models/{profile_complete_response.rb → profile_complete_setup_response.rb} +1 -1
- data/lib/sentdm/models/profile_create_params.rb +9 -91
- data/lib/sentdm/models/profile_delete_params.rb +1 -1
- data/lib/sentdm/models/profile_detail.rb +369 -3
- data/lib/sentdm/models/profile_update_params.rb +9 -91
- data/lib/sentdm/models/{brands/api_response_tcr_campaign_with_use_cases.rb → profiles/api_response_of_tcr_campaign_with_use_cases.rb} +6 -5
- data/lib/sentdm/models/profiles/campaign_create_params.rb +57 -0
- data/lib/sentdm/models/{brands → profiles}/campaign_data.rb +5 -5
- data/lib/sentdm/models/profiles/campaign_delete_params.rb +50 -0
- data/lib/sentdm/models/profiles/campaign_list_params.rb +28 -0
- data/lib/sentdm/models/profiles/campaign_list_response.rb +47 -0
- data/lib/sentdm/models/profiles/campaign_update_params.rb +64 -0
- data/lib/sentdm/models/{brands → profiles}/messaging_use_case_us.rb +1 -1
- data/lib/sentdm/models/{brands → profiles}/sent_dm_services_endpoints_customer_ap_iv3_contracts_requests_campaigns_campaign_use_case_data.rb +4 -4
- data/lib/sentdm/models/{brands → profiles}/tcr_campaign_with_use_cases.rb +15 -15
- data/lib/sentdm/models/sent_dm_services_endpoints_customer_ap_iv3_contracts_requests_brands_brand_business_info.rb +119 -0
- data/lib/sentdm/models/sent_dm_services_endpoints_customer_ap_iv3_contracts_requests_brands_brand_compliance_info.rb +77 -0
- data/lib/sentdm/models/sent_dm_services_endpoints_customer_ap_iv3_contracts_requests_brands_brand_contact_info.rb +58 -0
- data/lib/sentdm/models/user_remove_params.rb +1 -1
- data/lib/sentdm/models/webhook_rotate_secret_params.rb +1 -1
- data/lib/sentdm/models.rb +23 -8
- data/lib/sentdm/resources/contacts.rb +6 -6
- data/lib/sentdm/resources/numbers.rb +44 -0
- data/lib/sentdm/resources/profiles/campaigns.rb +160 -0
- data/lib/sentdm/resources/profiles.rb +16 -11
- data/lib/sentdm/version.rb +1 -1
- data/lib/sentdm.rb +26 -16
- data/rbi/sentdm/client.rbi +4 -6
- data/rbi/sentdm/models/{api_response_contact.rbi → api_response_of_contact.rbi} +6 -6
- data/rbi/sentdm/models/base_dto.rbi +49 -0
- data/rbi/sentdm/models/billing_contact_info.rbi +65 -0
- data/rbi/sentdm/models/brands_brand_data.rbi +104 -0
- data/rbi/sentdm/models/contact_delete_params.rbi +1 -1
- data/rbi/sentdm/models/contact_list_response.rbi +4 -4
- data/rbi/sentdm/models/{contact.rbi → contact_response.rbi} +4 -2
- data/rbi/sentdm/models/{mutation_request.rbi → mutation_request_base.rbi} +2 -2
- data/rbi/sentdm/models/number_lookup_params.rbi +46 -0
- data/rbi/sentdm/models/number_lookup_response.rbi +166 -0
- data/rbi/sentdm/models/payment_details.rbi +59 -0
- data/rbi/sentdm/models/{profile_complete_params.rbi → profile_complete_setup_params.rbi} +2 -2
- data/rbi/sentdm/models/{profile_complete_response.rbi → profile_complete_setup_response.rbi} +1 -1
- data/rbi/sentdm/models/profile_create_params.rbi +12 -146
- data/rbi/sentdm/models/profile_delete_params.rbi +1 -1
- data/rbi/sentdm/models/profile_detail.rbi +562 -4
- data/rbi/sentdm/models/profile_update_params.rbi +12 -146
- data/rbi/sentdm/models/{brands/api_response_tcr_campaign_with_use_cases.rbi → profiles/api_response_of_tcr_campaign_with_use_cases.rbi} +7 -7
- data/rbi/sentdm/models/profiles/campaign_create_params.rbi +88 -0
- data/rbi/sentdm/models/{brands → profiles}/campaign_data.rbi +5 -5
- data/rbi/sentdm/models/profiles/campaign_delete_params.rbi +95 -0
- data/rbi/sentdm/models/profiles/campaign_list_params.rbi +51 -0
- data/rbi/sentdm/models/profiles/campaign_list_response.rbi +84 -0
- data/rbi/sentdm/models/profiles/campaign_update_params.rbi +94 -0
- data/rbi/sentdm/models/{brands → profiles}/messaging_use_case_us.rbi +20 -16
- data/rbi/sentdm/models/{brands → profiles}/sent_dm_services_endpoints_customer_ap_iv3_contracts_requests_campaigns_campaign_use_case_data.rbi +6 -5
- data/rbi/sentdm/models/{brands → profiles}/tcr_campaign_with_use_cases.rbi +37 -29
- data/rbi/sentdm/models/sent_dm_services_endpoints_customer_ap_iv3_contracts_requests_brands_brand_business_info.rbi +183 -0
- data/rbi/sentdm/models/sent_dm_services_endpoints_customer_ap_iv3_contracts_requests_brands_brand_compliance_info.rbi +99 -0
- data/rbi/sentdm/models/sent_dm_services_endpoints_customer_ap_iv3_contracts_requests_brands_brand_contact_info.rbi +81 -0
- data/rbi/sentdm/models/user_remove_params.rbi +1 -1
- data/rbi/sentdm/models/webhook_rotate_secret_params.rbi +1 -1
- data/rbi/sentdm/models.rbi +23 -8
- data/rbi/sentdm/resources/contacts.rbi +3 -3
- data/rbi/sentdm/resources/numbers.rbi +32 -0
- data/rbi/sentdm/resources/profiles/campaigns.rbi +127 -0
- data/rbi/sentdm/resources/profiles.rbi +11 -11
- data/sig/sentdm/client.rbs +2 -4
- data/sig/sentdm/models/{api_response_contact.rbs → api_response_of_contact.rbs} +6 -6
- data/sig/sentdm/models/base_dto.rbs +25 -0
- data/sig/sentdm/models/billing_contact_info.rbs +30 -0
- data/sig/sentdm/models/brands_brand_data.rbs +30 -0
- data/sig/sentdm/models/contact_delete_params.rbs +1 -1
- data/sig/sentdm/models/contact_list_response.rbs +7 -5
- data/sig/sentdm/models/{contact.rbs → contact_response.rbs} +2 -2
- data/sig/sentdm/models/{mutation_request.rbs → mutation_request_base.rbs} +2 -2
- data/sig/sentdm/models/number_lookup_params.rbs +30 -0
- data/sig/sentdm/models/number_lookup_response.rbs +100 -0
- data/sig/sentdm/models/payment_details.rbs +30 -0
- data/sig/sentdm/models/{profile_complete_params.rbs → profile_complete_setup_params.rbs} +2 -2
- data/sig/sentdm/models/profile_complete_setup_response.rbs +5 -0
- data/sig/sentdm/models/profile_create_params.rbs +12 -66
- data/sig/sentdm/models/profile_delete_params.rbs +1 -1
- data/sig/sentdm/models/profile_detail.rbs +289 -4
- data/sig/sentdm/models/profile_update_params.rbs +12 -66
- data/sig/sentdm/models/profiles/api_response_of_tcr_campaign_with_use_cases.rbs +41 -0
- data/sig/sentdm/models/profiles/campaign_create_params.rbs +54 -0
- data/sig/sentdm/models/{brands → profiles}/campaign_data.rbs +5 -5
- data/sig/sentdm/models/profiles/campaign_delete_params.rbs +53 -0
- data/sig/sentdm/models/profiles/campaign_list_params.rbs +32 -0
- data/sig/sentdm/models/{brands/api_response_tcr_campaign_with_use_cases.rbs → profiles/campaign_list_response.rbs} +7 -7
- data/sig/sentdm/models/profiles/campaign_update_params.rbs +59 -0
- data/sig/sentdm/models/{brands → profiles}/messaging_use_case_us.rbs +2 -2
- data/sig/sentdm/models/{brands → profiles}/sent_dm_services_endpoints_customer_ap_iv3_contracts_requests_campaigns_campaign_use_case_data.rbs +5 -5
- data/sig/sentdm/models/{brands → profiles}/tcr_campaign_with_use_cases.rbs +29 -29
- data/sig/sentdm/models/sent_dm_services_endpoints_customer_ap_iv3_contracts_requests_brands_brand_business_info.rbs +89 -0
- data/sig/sentdm/models/sent_dm_services_endpoints_customer_ap_iv3_contracts_requests_brands_brand_compliance_info.rbs +55 -0
- data/sig/sentdm/models/sent_dm_services_endpoints_customer_ap_iv3_contracts_requests_brands_brand_contact_info.rbs +45 -0
- data/sig/sentdm/models/user_remove_params.rbs +1 -1
- data/sig/sentdm/models/webhook_rotate_secret_params.rbs +1 -1
- data/sig/sentdm/models.rbs +20 -8
- data/sig/sentdm/resources/contacts.rbs +3 -3
- data/sig/sentdm/resources/numbers.rbs +13 -0
- data/sig/sentdm/resources/profiles/campaigns.rbs +42 -0
- data/sig/sentdm/resources/profiles.rbs +9 -7
- metadata +79 -49
- data/lib/sentdm/models/brand_data.rb +0 -274
- data/lib/sentdm/models/brand_with_kyc.rb +0 -370
- data/lib/sentdm/models/brands/base_dto.rb +0 -32
- data/lib/sentdm/resources/brands/campaigns.rb +0 -16
- data/lib/sentdm/resources/brands.rb +0 -18
- data/lib/sentdm/resources/lookup.rb +0 -14
- data/rbi/sentdm/models/brand_data.rbi +0 -389
- data/rbi/sentdm/models/brand_with_kyc.rbi +0 -516
- data/rbi/sentdm/models/brands/base_dto.rbi +0 -53
- data/rbi/sentdm/resources/brands/campaigns.rbi +0 -14
- data/rbi/sentdm/resources/brands.rbi +0 -15
- data/rbi/sentdm/resources/lookup.rbi +0 -12
- data/sig/sentdm/models/brand_data.rbs +0 -210
- data/sig/sentdm/models/brand_with_kyc.rbs +0 -288
- data/sig/sentdm/models/brands/base_dto.rbs +0 -27
- data/sig/sentdm/models/profile_complete_response.rbs +0 -5
- data/sig/sentdm/resources/brands/campaigns.rbs +0 -9
- data/sig/sentdm/resources/brands.rbs +0 -9
- data/sig/sentdm/resources/lookup.rbs +0 -7
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
module Sentdm
|
|
2
|
+
module Resources
|
|
3
|
+
class Profiles
|
|
4
|
+
class Campaigns
|
|
5
|
+
def create: (
|
|
6
|
+
String profile_id,
|
|
7
|
+
campaign: Sentdm::Profiles::CampaignData,
|
|
8
|
+
?sandbox: bool,
|
|
9
|
+
?idempotency_key: String,
|
|
10
|
+
?x_profile_id: String,
|
|
11
|
+
?request_options: Sentdm::request_opts
|
|
12
|
+
) -> Sentdm::Profiles::APIResponseOfTcrCampaignWithUseCases
|
|
13
|
+
|
|
14
|
+
def update: (
|
|
15
|
+
String campaign_id,
|
|
16
|
+
profile_id: String,
|
|
17
|
+
campaign: Sentdm::Profiles::CampaignData,
|
|
18
|
+
?sandbox: bool,
|
|
19
|
+
?idempotency_key: String,
|
|
20
|
+
?x_profile_id: String,
|
|
21
|
+
?request_options: Sentdm::request_opts
|
|
22
|
+
) -> Sentdm::Profiles::APIResponseOfTcrCampaignWithUseCases
|
|
23
|
+
|
|
24
|
+
def list: (
|
|
25
|
+
String profile_id,
|
|
26
|
+
?x_profile_id: String,
|
|
27
|
+
?request_options: Sentdm::request_opts
|
|
28
|
+
) -> Sentdm::Models::Profiles::CampaignListResponse
|
|
29
|
+
|
|
30
|
+
def delete: (
|
|
31
|
+
String campaign_id,
|
|
32
|
+
profile_id: String,
|
|
33
|
+
body: Sentdm::Profiles::CampaignDeleteParams::Body,
|
|
34
|
+
?x_profile_id: String,
|
|
35
|
+
?request_options: Sentdm::request_opts
|
|
36
|
+
) -> nil
|
|
37
|
+
|
|
38
|
+
def initialize: (client: Sentdm::Client) -> void
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
end
|
|
42
|
+
end
|
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
module Sentdm
|
|
2
2
|
module Resources
|
|
3
3
|
class Profiles
|
|
4
|
+
attr_reader campaigns: Sentdm::Resources::Profiles::Campaigns
|
|
5
|
+
|
|
4
6
|
def create: (
|
|
5
7
|
?allow_contact_sharing: bool,
|
|
6
8
|
?allow_template_sharing: bool,
|
|
7
|
-
?billing_contact: Sentdm::
|
|
9
|
+
?billing_contact: Sentdm::BillingContactInfo?,
|
|
8
10
|
?billing_model: String?,
|
|
9
|
-
?brand: Sentdm::
|
|
11
|
+
?brand: Sentdm::BrandsBrandData?,
|
|
10
12
|
?description: String?,
|
|
11
13
|
?icon: String?,
|
|
12
14
|
?inherit_contacts: bool?,
|
|
@@ -14,7 +16,7 @@ module Sentdm
|
|
|
14
16
|
?inherit_tcr_campaign: bool?,
|
|
15
17
|
?inherit_templates: bool?,
|
|
16
18
|
?name: String,
|
|
17
|
-
?payment_details: Sentdm::
|
|
19
|
+
?payment_details: Sentdm::PaymentDetails?,
|
|
18
20
|
?sandbox: bool,
|
|
19
21
|
?short_name: String?,
|
|
20
22
|
?whatsapp_business_account: Sentdm::ProfileCreateParams::WhatsappBusinessAccount?,
|
|
@@ -34,9 +36,9 @@ module Sentdm
|
|
|
34
36
|
?allow_contact_sharing: bool?,
|
|
35
37
|
?allow_number_change_during_onboarding: bool?,
|
|
36
38
|
?allow_template_sharing: bool?,
|
|
37
|
-
?billing_contact: Sentdm::
|
|
39
|
+
?billing_contact: Sentdm::BillingContactInfo?,
|
|
38
40
|
?billing_model: String?,
|
|
39
|
-
?brand: Sentdm::
|
|
41
|
+
?brand: Sentdm::BrandsBrandData?,
|
|
40
42
|
?description: String?,
|
|
41
43
|
?icon: String?,
|
|
42
44
|
?inherit_contacts: bool?,
|
|
@@ -44,7 +46,7 @@ module Sentdm
|
|
|
44
46
|
?inherit_tcr_campaign: bool?,
|
|
45
47
|
?inherit_templates: bool?,
|
|
46
48
|
?name: String?,
|
|
47
|
-
?payment_details: Sentdm::
|
|
49
|
+
?payment_details: Sentdm::PaymentDetails?,
|
|
48
50
|
?sandbox: bool,
|
|
49
51
|
?sending_phone_number: String?,
|
|
50
52
|
?sending_phone_number_profile_id: String?,
|
|
@@ -68,7 +70,7 @@ module Sentdm
|
|
|
68
70
|
?request_options: Sentdm::request_opts
|
|
69
71
|
) -> nil
|
|
70
72
|
|
|
71
|
-
def
|
|
73
|
+
def complete_setup: (
|
|
72
74
|
String profile_id,
|
|
73
75
|
web_hook_url: String,
|
|
74
76
|
?sandbox: bool,
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: sentdm
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.7.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Sent Dm
|
|
@@ -71,24 +71,19 @@ files:
|
|
|
71
71
|
- lib/sentdm/models.rb
|
|
72
72
|
- lib/sentdm/models/api_error.rb
|
|
73
73
|
- lib/sentdm/models/api_meta.rb
|
|
74
|
-
- lib/sentdm/models/
|
|
74
|
+
- lib/sentdm/models/api_response_of_contact.rb
|
|
75
75
|
- lib/sentdm/models/api_response_of_profile_detail.rb
|
|
76
76
|
- lib/sentdm/models/api_response_of_user.rb
|
|
77
77
|
- lib/sentdm/models/api_response_template.rb
|
|
78
78
|
- lib/sentdm/models/api_response_webhook.rb
|
|
79
|
-
- lib/sentdm/models/
|
|
80
|
-
- lib/sentdm/models/
|
|
81
|
-
- lib/sentdm/models/
|
|
82
|
-
- lib/sentdm/models/brands/base_dto.rb
|
|
83
|
-
- lib/sentdm/models/brands/campaign_data.rb
|
|
84
|
-
- lib/sentdm/models/brands/messaging_use_case_us.rb
|
|
85
|
-
- lib/sentdm/models/brands/sent_dm_services_endpoints_customer_ap_iv3_contracts_requests_campaigns_campaign_use_case_data.rb
|
|
86
|
-
- lib/sentdm/models/brands/tcr_campaign_with_use_cases.rb
|
|
87
|
-
- lib/sentdm/models/contact.rb
|
|
79
|
+
- lib/sentdm/models/base_dto.rb
|
|
80
|
+
- lib/sentdm/models/billing_contact_info.rb
|
|
81
|
+
- lib/sentdm/models/brands_brand_data.rb
|
|
88
82
|
- lib/sentdm/models/contact_create_params.rb
|
|
89
83
|
- lib/sentdm/models/contact_delete_params.rb
|
|
90
84
|
- lib/sentdm/models/contact_list_params.rb
|
|
91
85
|
- lib/sentdm/models/contact_list_response.rb
|
|
86
|
+
- lib/sentdm/models/contact_response.rb
|
|
92
87
|
- lib/sentdm/models/contact_retrieve_params.rb
|
|
93
88
|
- lib/sentdm/models/contact_update_params.rb
|
|
94
89
|
- lib/sentdm/models/destination_country.rb
|
|
@@ -100,10 +95,13 @@ files:
|
|
|
100
95
|
- lib/sentdm/models/message_retrieve_status_response.rb
|
|
101
96
|
- lib/sentdm/models/message_send_params.rb
|
|
102
97
|
- lib/sentdm/models/message_send_response.rb
|
|
103
|
-
- lib/sentdm/models/
|
|
98
|
+
- lib/sentdm/models/mutation_request_base.rb
|
|
99
|
+
- lib/sentdm/models/number_lookup_params.rb
|
|
100
|
+
- lib/sentdm/models/number_lookup_response.rb
|
|
104
101
|
- lib/sentdm/models/pagination_meta.rb
|
|
105
|
-
- lib/sentdm/models/
|
|
106
|
-
- lib/sentdm/models/
|
|
102
|
+
- lib/sentdm/models/payment_details.rb
|
|
103
|
+
- lib/sentdm/models/profile_complete_setup_params.rb
|
|
104
|
+
- lib/sentdm/models/profile_complete_setup_response.rb
|
|
107
105
|
- lib/sentdm/models/profile_create_params.rb
|
|
108
106
|
- lib/sentdm/models/profile_delete_params.rb
|
|
109
107
|
- lib/sentdm/models/profile_detail.rb
|
|
@@ -112,12 +110,25 @@ files:
|
|
|
112
110
|
- lib/sentdm/models/profile_retrieve_params.rb
|
|
113
111
|
- lib/sentdm/models/profile_settings.rb
|
|
114
112
|
- lib/sentdm/models/profile_update_params.rb
|
|
113
|
+
- lib/sentdm/models/profiles/api_response_of_tcr_campaign_with_use_cases.rb
|
|
114
|
+
- lib/sentdm/models/profiles/campaign_create_params.rb
|
|
115
|
+
- lib/sentdm/models/profiles/campaign_data.rb
|
|
116
|
+
- lib/sentdm/models/profiles/campaign_delete_params.rb
|
|
117
|
+
- lib/sentdm/models/profiles/campaign_list_params.rb
|
|
118
|
+
- lib/sentdm/models/profiles/campaign_list_response.rb
|
|
119
|
+
- lib/sentdm/models/profiles/campaign_update_params.rb
|
|
120
|
+
- lib/sentdm/models/profiles/messaging_use_case_us.rb
|
|
121
|
+
- lib/sentdm/models/profiles/sent_dm_services_endpoints_customer_ap_iv3_contracts_requests_campaigns_campaign_use_case_data.rb
|
|
122
|
+
- lib/sentdm/models/profiles/tcr_campaign_with_use_cases.rb
|
|
115
123
|
- lib/sentdm/models/sent_dm_services_common_contracts_poc_os_authentication_config.rb
|
|
116
124
|
- lib/sentdm/models/sent_dm_services_common_contracts_poc_os_template_body.rb
|
|
117
125
|
- lib/sentdm/models/sent_dm_services_common_contracts_poc_os_template_button.rb
|
|
118
126
|
- lib/sentdm/models/sent_dm_services_common_contracts_poc_os_template_button_props.rb
|
|
119
127
|
- lib/sentdm/models/sent_dm_services_common_contracts_poc_os_template_footer.rb
|
|
120
128
|
- lib/sentdm/models/sent_dm_services_common_contracts_poc_os_template_header.rb
|
|
129
|
+
- lib/sentdm/models/sent_dm_services_endpoints_customer_ap_iv3_contracts_requests_brands_brand_business_info.rb
|
|
130
|
+
- lib/sentdm/models/sent_dm_services_endpoints_customer_ap_iv3_contracts_requests_brands_brand_compliance_info.rb
|
|
131
|
+
- lib/sentdm/models/sent_dm_services_endpoints_customer_ap_iv3_contracts_requests_brands_brand_contact_info.rb
|
|
121
132
|
- lib/sentdm/models/tcr_brand_relationship.rb
|
|
122
133
|
- lib/sentdm/models/tcr_vertical.rb
|
|
123
134
|
- lib/sentdm/models/template.rb
|
|
@@ -154,13 +165,12 @@ files:
|
|
|
154
165
|
- lib/sentdm/models/webhook_toggle_status_params.rb
|
|
155
166
|
- lib/sentdm/models/webhook_update_params.rb
|
|
156
167
|
- lib/sentdm/request_options.rb
|
|
157
|
-
- lib/sentdm/resources/brands.rb
|
|
158
|
-
- lib/sentdm/resources/brands/campaigns.rb
|
|
159
168
|
- lib/sentdm/resources/contacts.rb
|
|
160
|
-
- lib/sentdm/resources/lookup.rb
|
|
161
169
|
- lib/sentdm/resources/me.rb
|
|
162
170
|
- lib/sentdm/resources/messages.rb
|
|
171
|
+
- lib/sentdm/resources/numbers.rb
|
|
163
172
|
- lib/sentdm/resources/profiles.rb
|
|
173
|
+
- lib/sentdm/resources/profiles/campaigns.rb
|
|
164
174
|
- lib/sentdm/resources/templates.rb
|
|
165
175
|
- lib/sentdm/resources/users.rb
|
|
166
176
|
- lib/sentdm/resources/webhooks.rb
|
|
@@ -187,24 +197,19 @@ files:
|
|
|
187
197
|
- rbi/sentdm/models.rbi
|
|
188
198
|
- rbi/sentdm/models/api_error.rbi
|
|
189
199
|
- rbi/sentdm/models/api_meta.rbi
|
|
190
|
-
- rbi/sentdm/models/
|
|
200
|
+
- rbi/sentdm/models/api_response_of_contact.rbi
|
|
191
201
|
- rbi/sentdm/models/api_response_of_profile_detail.rbi
|
|
192
202
|
- rbi/sentdm/models/api_response_of_user.rbi
|
|
193
203
|
- rbi/sentdm/models/api_response_template.rbi
|
|
194
204
|
- rbi/sentdm/models/api_response_webhook.rbi
|
|
195
|
-
- rbi/sentdm/models/
|
|
196
|
-
- rbi/sentdm/models/
|
|
197
|
-
- rbi/sentdm/models/
|
|
198
|
-
- rbi/sentdm/models/brands/base_dto.rbi
|
|
199
|
-
- rbi/sentdm/models/brands/campaign_data.rbi
|
|
200
|
-
- rbi/sentdm/models/brands/messaging_use_case_us.rbi
|
|
201
|
-
- rbi/sentdm/models/brands/sent_dm_services_endpoints_customer_ap_iv3_contracts_requests_campaigns_campaign_use_case_data.rbi
|
|
202
|
-
- rbi/sentdm/models/brands/tcr_campaign_with_use_cases.rbi
|
|
203
|
-
- rbi/sentdm/models/contact.rbi
|
|
205
|
+
- rbi/sentdm/models/base_dto.rbi
|
|
206
|
+
- rbi/sentdm/models/billing_contact_info.rbi
|
|
207
|
+
- rbi/sentdm/models/brands_brand_data.rbi
|
|
204
208
|
- rbi/sentdm/models/contact_create_params.rbi
|
|
205
209
|
- rbi/sentdm/models/contact_delete_params.rbi
|
|
206
210
|
- rbi/sentdm/models/contact_list_params.rbi
|
|
207
211
|
- rbi/sentdm/models/contact_list_response.rbi
|
|
212
|
+
- rbi/sentdm/models/contact_response.rbi
|
|
208
213
|
- rbi/sentdm/models/contact_retrieve_params.rbi
|
|
209
214
|
- rbi/sentdm/models/contact_update_params.rbi
|
|
210
215
|
- rbi/sentdm/models/destination_country.rbi
|
|
@@ -216,10 +221,13 @@ files:
|
|
|
216
221
|
- rbi/sentdm/models/message_retrieve_status_response.rbi
|
|
217
222
|
- rbi/sentdm/models/message_send_params.rbi
|
|
218
223
|
- rbi/sentdm/models/message_send_response.rbi
|
|
219
|
-
- rbi/sentdm/models/
|
|
224
|
+
- rbi/sentdm/models/mutation_request_base.rbi
|
|
225
|
+
- rbi/sentdm/models/number_lookup_params.rbi
|
|
226
|
+
- rbi/sentdm/models/number_lookup_response.rbi
|
|
220
227
|
- rbi/sentdm/models/pagination_meta.rbi
|
|
221
|
-
- rbi/sentdm/models/
|
|
222
|
-
- rbi/sentdm/models/
|
|
228
|
+
- rbi/sentdm/models/payment_details.rbi
|
|
229
|
+
- rbi/sentdm/models/profile_complete_setup_params.rbi
|
|
230
|
+
- rbi/sentdm/models/profile_complete_setup_response.rbi
|
|
223
231
|
- rbi/sentdm/models/profile_create_params.rbi
|
|
224
232
|
- rbi/sentdm/models/profile_delete_params.rbi
|
|
225
233
|
- rbi/sentdm/models/profile_detail.rbi
|
|
@@ -228,12 +236,25 @@ files:
|
|
|
228
236
|
- rbi/sentdm/models/profile_retrieve_params.rbi
|
|
229
237
|
- rbi/sentdm/models/profile_settings.rbi
|
|
230
238
|
- rbi/sentdm/models/profile_update_params.rbi
|
|
239
|
+
- rbi/sentdm/models/profiles/api_response_of_tcr_campaign_with_use_cases.rbi
|
|
240
|
+
- rbi/sentdm/models/profiles/campaign_create_params.rbi
|
|
241
|
+
- rbi/sentdm/models/profiles/campaign_data.rbi
|
|
242
|
+
- rbi/sentdm/models/profiles/campaign_delete_params.rbi
|
|
243
|
+
- rbi/sentdm/models/profiles/campaign_list_params.rbi
|
|
244
|
+
- rbi/sentdm/models/profiles/campaign_list_response.rbi
|
|
245
|
+
- rbi/sentdm/models/profiles/campaign_update_params.rbi
|
|
246
|
+
- rbi/sentdm/models/profiles/messaging_use_case_us.rbi
|
|
247
|
+
- rbi/sentdm/models/profiles/sent_dm_services_endpoints_customer_ap_iv3_contracts_requests_campaigns_campaign_use_case_data.rbi
|
|
248
|
+
- rbi/sentdm/models/profiles/tcr_campaign_with_use_cases.rbi
|
|
231
249
|
- rbi/sentdm/models/sent_dm_services_common_contracts_poc_os_authentication_config.rbi
|
|
232
250
|
- rbi/sentdm/models/sent_dm_services_common_contracts_poc_os_template_body.rbi
|
|
233
251
|
- rbi/sentdm/models/sent_dm_services_common_contracts_poc_os_template_button.rbi
|
|
234
252
|
- rbi/sentdm/models/sent_dm_services_common_contracts_poc_os_template_button_props.rbi
|
|
235
253
|
- rbi/sentdm/models/sent_dm_services_common_contracts_poc_os_template_footer.rbi
|
|
236
254
|
- rbi/sentdm/models/sent_dm_services_common_contracts_poc_os_template_header.rbi
|
|
255
|
+
- rbi/sentdm/models/sent_dm_services_endpoints_customer_ap_iv3_contracts_requests_brands_brand_business_info.rbi
|
|
256
|
+
- rbi/sentdm/models/sent_dm_services_endpoints_customer_ap_iv3_contracts_requests_brands_brand_compliance_info.rbi
|
|
257
|
+
- rbi/sentdm/models/sent_dm_services_endpoints_customer_ap_iv3_contracts_requests_brands_brand_contact_info.rbi
|
|
237
258
|
- rbi/sentdm/models/tcr_brand_relationship.rbi
|
|
238
259
|
- rbi/sentdm/models/tcr_vertical.rbi
|
|
239
260
|
- rbi/sentdm/models/template.rbi
|
|
@@ -270,13 +291,12 @@ files:
|
|
|
270
291
|
- rbi/sentdm/models/webhook_toggle_status_params.rbi
|
|
271
292
|
- rbi/sentdm/models/webhook_update_params.rbi
|
|
272
293
|
- rbi/sentdm/request_options.rbi
|
|
273
|
-
- rbi/sentdm/resources/brands.rbi
|
|
274
|
-
- rbi/sentdm/resources/brands/campaigns.rbi
|
|
275
294
|
- rbi/sentdm/resources/contacts.rbi
|
|
276
|
-
- rbi/sentdm/resources/lookup.rbi
|
|
277
295
|
- rbi/sentdm/resources/me.rbi
|
|
278
296
|
- rbi/sentdm/resources/messages.rbi
|
|
297
|
+
- rbi/sentdm/resources/numbers.rbi
|
|
279
298
|
- rbi/sentdm/resources/profiles.rbi
|
|
299
|
+
- rbi/sentdm/resources/profiles/campaigns.rbi
|
|
280
300
|
- rbi/sentdm/resources/templates.rbi
|
|
281
301
|
- rbi/sentdm/resources/users.rbi
|
|
282
302
|
- rbi/sentdm/resources/webhooks.rbi
|
|
@@ -302,24 +322,19 @@ files:
|
|
|
302
322
|
- sig/sentdm/models.rbs
|
|
303
323
|
- sig/sentdm/models/api_error.rbs
|
|
304
324
|
- sig/sentdm/models/api_meta.rbs
|
|
305
|
-
- sig/sentdm/models/
|
|
325
|
+
- sig/sentdm/models/api_response_of_contact.rbs
|
|
306
326
|
- sig/sentdm/models/api_response_of_profile_detail.rbs
|
|
307
327
|
- sig/sentdm/models/api_response_of_user.rbs
|
|
308
328
|
- sig/sentdm/models/api_response_template.rbs
|
|
309
329
|
- sig/sentdm/models/api_response_webhook.rbs
|
|
310
|
-
- sig/sentdm/models/
|
|
311
|
-
- sig/sentdm/models/
|
|
312
|
-
- sig/sentdm/models/
|
|
313
|
-
- sig/sentdm/models/brands/base_dto.rbs
|
|
314
|
-
- sig/sentdm/models/brands/campaign_data.rbs
|
|
315
|
-
- sig/sentdm/models/brands/messaging_use_case_us.rbs
|
|
316
|
-
- sig/sentdm/models/brands/sent_dm_services_endpoints_customer_ap_iv3_contracts_requests_campaigns_campaign_use_case_data.rbs
|
|
317
|
-
- sig/sentdm/models/brands/tcr_campaign_with_use_cases.rbs
|
|
318
|
-
- sig/sentdm/models/contact.rbs
|
|
330
|
+
- sig/sentdm/models/base_dto.rbs
|
|
331
|
+
- sig/sentdm/models/billing_contact_info.rbs
|
|
332
|
+
- sig/sentdm/models/brands_brand_data.rbs
|
|
319
333
|
- sig/sentdm/models/contact_create_params.rbs
|
|
320
334
|
- sig/sentdm/models/contact_delete_params.rbs
|
|
321
335
|
- sig/sentdm/models/contact_list_params.rbs
|
|
322
336
|
- sig/sentdm/models/contact_list_response.rbs
|
|
337
|
+
- sig/sentdm/models/contact_response.rbs
|
|
323
338
|
- sig/sentdm/models/contact_retrieve_params.rbs
|
|
324
339
|
- sig/sentdm/models/contact_update_params.rbs
|
|
325
340
|
- sig/sentdm/models/destination_country.rbs
|
|
@@ -331,10 +346,13 @@ files:
|
|
|
331
346
|
- sig/sentdm/models/message_retrieve_status_response.rbs
|
|
332
347
|
- sig/sentdm/models/message_send_params.rbs
|
|
333
348
|
- sig/sentdm/models/message_send_response.rbs
|
|
334
|
-
- sig/sentdm/models/
|
|
349
|
+
- sig/sentdm/models/mutation_request_base.rbs
|
|
350
|
+
- sig/sentdm/models/number_lookup_params.rbs
|
|
351
|
+
- sig/sentdm/models/number_lookup_response.rbs
|
|
335
352
|
- sig/sentdm/models/pagination_meta.rbs
|
|
336
|
-
- sig/sentdm/models/
|
|
337
|
-
- sig/sentdm/models/
|
|
353
|
+
- sig/sentdm/models/payment_details.rbs
|
|
354
|
+
- sig/sentdm/models/profile_complete_setup_params.rbs
|
|
355
|
+
- sig/sentdm/models/profile_complete_setup_response.rbs
|
|
338
356
|
- sig/sentdm/models/profile_create_params.rbs
|
|
339
357
|
- sig/sentdm/models/profile_delete_params.rbs
|
|
340
358
|
- sig/sentdm/models/profile_detail.rbs
|
|
@@ -343,12 +361,25 @@ files:
|
|
|
343
361
|
- sig/sentdm/models/profile_retrieve_params.rbs
|
|
344
362
|
- sig/sentdm/models/profile_settings.rbs
|
|
345
363
|
- sig/sentdm/models/profile_update_params.rbs
|
|
364
|
+
- sig/sentdm/models/profiles/api_response_of_tcr_campaign_with_use_cases.rbs
|
|
365
|
+
- sig/sentdm/models/profiles/campaign_create_params.rbs
|
|
366
|
+
- sig/sentdm/models/profiles/campaign_data.rbs
|
|
367
|
+
- sig/sentdm/models/profiles/campaign_delete_params.rbs
|
|
368
|
+
- sig/sentdm/models/profiles/campaign_list_params.rbs
|
|
369
|
+
- sig/sentdm/models/profiles/campaign_list_response.rbs
|
|
370
|
+
- sig/sentdm/models/profiles/campaign_update_params.rbs
|
|
371
|
+
- sig/sentdm/models/profiles/messaging_use_case_us.rbs
|
|
372
|
+
- sig/sentdm/models/profiles/sent_dm_services_endpoints_customer_ap_iv3_contracts_requests_campaigns_campaign_use_case_data.rbs
|
|
373
|
+
- sig/sentdm/models/profiles/tcr_campaign_with_use_cases.rbs
|
|
346
374
|
- sig/sentdm/models/sent_dm_services_common_contracts_poc_os_authentication_config.rbs
|
|
347
375
|
- sig/sentdm/models/sent_dm_services_common_contracts_poc_os_template_body.rbs
|
|
348
376
|
- sig/sentdm/models/sent_dm_services_common_contracts_poc_os_template_button.rbs
|
|
349
377
|
- sig/sentdm/models/sent_dm_services_common_contracts_poc_os_template_button_props.rbs
|
|
350
378
|
- sig/sentdm/models/sent_dm_services_common_contracts_poc_os_template_footer.rbs
|
|
351
379
|
- sig/sentdm/models/sent_dm_services_common_contracts_poc_os_template_header.rbs
|
|
380
|
+
- sig/sentdm/models/sent_dm_services_endpoints_customer_ap_iv3_contracts_requests_brands_brand_business_info.rbs
|
|
381
|
+
- sig/sentdm/models/sent_dm_services_endpoints_customer_ap_iv3_contracts_requests_brands_brand_compliance_info.rbs
|
|
382
|
+
- sig/sentdm/models/sent_dm_services_endpoints_customer_ap_iv3_contracts_requests_brands_brand_contact_info.rbs
|
|
352
383
|
- sig/sentdm/models/tcr_brand_relationship.rbs
|
|
353
384
|
- sig/sentdm/models/tcr_vertical.rbs
|
|
354
385
|
- sig/sentdm/models/template.rbs
|
|
@@ -385,13 +416,12 @@ files:
|
|
|
385
416
|
- sig/sentdm/models/webhook_toggle_status_params.rbs
|
|
386
417
|
- sig/sentdm/models/webhook_update_params.rbs
|
|
387
418
|
- sig/sentdm/request_options.rbs
|
|
388
|
-
- sig/sentdm/resources/brands.rbs
|
|
389
|
-
- sig/sentdm/resources/brands/campaigns.rbs
|
|
390
419
|
- sig/sentdm/resources/contacts.rbs
|
|
391
|
-
- sig/sentdm/resources/lookup.rbs
|
|
392
420
|
- sig/sentdm/resources/me.rbs
|
|
393
421
|
- sig/sentdm/resources/messages.rbs
|
|
422
|
+
- sig/sentdm/resources/numbers.rbs
|
|
394
423
|
- sig/sentdm/resources/profiles.rbs
|
|
424
|
+
- sig/sentdm/resources/profiles/campaigns.rbs
|
|
395
425
|
- sig/sentdm/resources/templates.rbs
|
|
396
426
|
- sig/sentdm/resources/users.rbs
|
|
397
427
|
- sig/sentdm/resources/webhooks.rbs
|
|
@@ -1,274 +0,0 @@
|
|
|
1
|
-
# frozen_string_literal: true
|
|
2
|
-
|
|
3
|
-
module Sentdm
|
|
4
|
-
module Models
|
|
5
|
-
class BrandData < Sentdm::Internal::Type::BaseModel
|
|
6
|
-
# @!attribute compliance
|
|
7
|
-
# Compliance and TCR-related information
|
|
8
|
-
#
|
|
9
|
-
# @return [Sentdm::Models::BrandData::Compliance]
|
|
10
|
-
required :compliance, -> { Sentdm::BrandData::Compliance }
|
|
11
|
-
|
|
12
|
-
# @!attribute contact
|
|
13
|
-
# Contact information for the brand
|
|
14
|
-
#
|
|
15
|
-
# @return [Sentdm::Models::BrandData::Contact]
|
|
16
|
-
required :contact, -> { Sentdm::BrandData::Contact }
|
|
17
|
-
|
|
18
|
-
# @!attribute business
|
|
19
|
-
# Business details and address information
|
|
20
|
-
#
|
|
21
|
-
# @return [Sentdm::Models::BrandData::Business, nil]
|
|
22
|
-
optional :business, -> { Sentdm::BrandData::Business }, nil?: true
|
|
23
|
-
|
|
24
|
-
# @!method initialize(compliance:, contact:, business: nil)
|
|
25
|
-
# Brand and KYC data grouped into contact, business, and compliance sections
|
|
26
|
-
#
|
|
27
|
-
# @param compliance [Sentdm::Models::BrandData::Compliance] Compliance and TCR-related information
|
|
28
|
-
#
|
|
29
|
-
# @param contact [Sentdm::Models::BrandData::Contact] Contact information for the brand
|
|
30
|
-
#
|
|
31
|
-
# @param business [Sentdm::Models::BrandData::Business, nil] Business details and address information
|
|
32
|
-
|
|
33
|
-
# @see Sentdm::Models::BrandData#compliance
|
|
34
|
-
class Compliance < Sentdm::Internal::Type::BaseModel
|
|
35
|
-
# @!attribute brand_relationship
|
|
36
|
-
# Brand relationship level with TCR (required for TCR)
|
|
37
|
-
#
|
|
38
|
-
# @return [Symbol, Sentdm::Models::TcrBrandRelationship]
|
|
39
|
-
required :brand_relationship, enum: -> { Sentdm::TcrBrandRelationship }, api_name: :brandRelationship
|
|
40
|
-
|
|
41
|
-
# @!attribute vertical
|
|
42
|
-
# Business vertical/industry category (required for TCR)
|
|
43
|
-
#
|
|
44
|
-
# @return [Symbol, Sentdm::Models::TcrVertical]
|
|
45
|
-
required :vertical, enum: -> { Sentdm::TcrVertical }
|
|
46
|
-
|
|
47
|
-
# @!attribute destination_countries
|
|
48
|
-
# List of destination countries for messaging
|
|
49
|
-
#
|
|
50
|
-
# @return [Array<Sentdm::Models::DestinationCountry>, nil]
|
|
51
|
-
optional :destination_countries,
|
|
52
|
-
-> { Sentdm::Internal::Type::ArrayOf[Sentdm::DestinationCountry] },
|
|
53
|
-
api_name: :destinationCountries,
|
|
54
|
-
nil?: true
|
|
55
|
-
|
|
56
|
-
# @!attribute expected_messaging_volume
|
|
57
|
-
# Expected daily messaging volume
|
|
58
|
-
#
|
|
59
|
-
# @return [String, nil]
|
|
60
|
-
optional :expected_messaging_volume, String, api_name: :expectedMessagingVolume, nil?: true
|
|
61
|
-
|
|
62
|
-
# @!attribute is_tcr_application
|
|
63
|
-
# Whether this is a TCR (Campaign Registry) application
|
|
64
|
-
#
|
|
65
|
-
# @return [Boolean, nil]
|
|
66
|
-
optional :is_tcr_application, Sentdm::Internal::Type::Boolean, api_name: :isTcrApplication, nil?: true
|
|
67
|
-
|
|
68
|
-
# @!attribute notes
|
|
69
|
-
# Additional notes about the business or use case
|
|
70
|
-
#
|
|
71
|
-
# @return [String, nil]
|
|
72
|
-
optional :notes, String, nil?: true
|
|
73
|
-
|
|
74
|
-
# @!attribute phone_number_prefix
|
|
75
|
-
# Phone number prefix for messaging (e.g., "+1")
|
|
76
|
-
#
|
|
77
|
-
# @return [String, nil]
|
|
78
|
-
optional :phone_number_prefix, String, api_name: :phoneNumberPrefix, nil?: true
|
|
79
|
-
|
|
80
|
-
# @!attribute primary_use_case
|
|
81
|
-
# Primary messaging use case description
|
|
82
|
-
#
|
|
83
|
-
# @return [String, nil]
|
|
84
|
-
optional :primary_use_case, String, api_name: :primaryUseCase, nil?: true
|
|
85
|
-
|
|
86
|
-
# @!method initialize(brand_relationship:, vertical:, destination_countries: nil, expected_messaging_volume: nil, is_tcr_application: nil, notes: nil, phone_number_prefix: nil, primary_use_case: nil)
|
|
87
|
-
# Compliance and TCR-related information
|
|
88
|
-
#
|
|
89
|
-
# @param brand_relationship [Symbol, Sentdm::Models::TcrBrandRelationship] Brand relationship level with TCR (required for TCR)
|
|
90
|
-
#
|
|
91
|
-
# @param vertical [Symbol, Sentdm::Models::TcrVertical] Business vertical/industry category (required for TCR)
|
|
92
|
-
#
|
|
93
|
-
# @param destination_countries [Array<Sentdm::Models::DestinationCountry>, nil] List of destination countries for messaging
|
|
94
|
-
#
|
|
95
|
-
# @param expected_messaging_volume [String, nil] Expected daily messaging volume
|
|
96
|
-
#
|
|
97
|
-
# @param is_tcr_application [Boolean, nil] Whether this is a TCR (Campaign Registry) application
|
|
98
|
-
#
|
|
99
|
-
# @param notes [String, nil] Additional notes about the business or use case
|
|
100
|
-
#
|
|
101
|
-
# @param phone_number_prefix [String, nil] Phone number prefix for messaging (e.g., "+1")
|
|
102
|
-
#
|
|
103
|
-
# @param primary_use_case [String, nil] Primary messaging use case description
|
|
104
|
-
end
|
|
105
|
-
|
|
106
|
-
# @see Sentdm::Models::BrandData#contact
|
|
107
|
-
class Contact < Sentdm::Internal::Type::BaseModel
|
|
108
|
-
# @!attribute name
|
|
109
|
-
# Primary contact name (required)
|
|
110
|
-
#
|
|
111
|
-
# @return [String]
|
|
112
|
-
required :name, String
|
|
113
|
-
|
|
114
|
-
# @!attribute business_name
|
|
115
|
-
# Business/brand name
|
|
116
|
-
#
|
|
117
|
-
# @return [String, nil]
|
|
118
|
-
optional :business_name, String, api_name: :businessName, nil?: true
|
|
119
|
-
|
|
120
|
-
# @!attribute email
|
|
121
|
-
# Contact email address
|
|
122
|
-
#
|
|
123
|
-
# @return [String, nil]
|
|
124
|
-
optional :email, String, nil?: true
|
|
125
|
-
|
|
126
|
-
# @!attribute phone
|
|
127
|
-
# Contact phone number in E.164 format
|
|
128
|
-
#
|
|
129
|
-
# @return [String, nil]
|
|
130
|
-
optional :phone, String, nil?: true
|
|
131
|
-
|
|
132
|
-
# @!attribute phone_country_code
|
|
133
|
-
# Contact phone country code (e.g., "1" for US)
|
|
134
|
-
#
|
|
135
|
-
# @return [String, nil]
|
|
136
|
-
optional :phone_country_code, String, api_name: :phoneCountryCode, nil?: true
|
|
137
|
-
|
|
138
|
-
# @!attribute role
|
|
139
|
-
# Contact's role in the business
|
|
140
|
-
#
|
|
141
|
-
# @return [String, nil]
|
|
142
|
-
optional :role, String, nil?: true
|
|
143
|
-
|
|
144
|
-
# @!method initialize(name:, business_name: nil, email: nil, phone: nil, phone_country_code: nil, role: nil)
|
|
145
|
-
# Contact information for the brand
|
|
146
|
-
#
|
|
147
|
-
# @param name [String] Primary contact name (required)
|
|
148
|
-
#
|
|
149
|
-
# @param business_name [String, nil] Business/brand name
|
|
150
|
-
#
|
|
151
|
-
# @param email [String, nil] Contact email address
|
|
152
|
-
#
|
|
153
|
-
# @param phone [String, nil] Contact phone number in E.164 format
|
|
154
|
-
#
|
|
155
|
-
# @param phone_country_code [String, nil] Contact phone country code (e.g., "1" for US)
|
|
156
|
-
#
|
|
157
|
-
# @param role [String, nil] Contact's role in the business
|
|
158
|
-
end
|
|
159
|
-
|
|
160
|
-
# @see Sentdm::Models::BrandData#business
|
|
161
|
-
class Business < Sentdm::Internal::Type::BaseModel
|
|
162
|
-
# @!attribute city
|
|
163
|
-
# City
|
|
164
|
-
#
|
|
165
|
-
# @return [String, nil]
|
|
166
|
-
optional :city, String, nil?: true
|
|
167
|
-
|
|
168
|
-
# @!attribute country
|
|
169
|
-
# Country code (e.g., US, CA)
|
|
170
|
-
#
|
|
171
|
-
# @return [String, nil]
|
|
172
|
-
optional :country, String, nil?: true
|
|
173
|
-
|
|
174
|
-
# @!attribute country_of_registration
|
|
175
|
-
# Country where the business is registered
|
|
176
|
-
#
|
|
177
|
-
# @return [String, nil]
|
|
178
|
-
optional :country_of_registration, String, api_name: :countryOfRegistration, nil?: true
|
|
179
|
-
|
|
180
|
-
# @!attribute entity_type
|
|
181
|
-
# Business entity type
|
|
182
|
-
#
|
|
183
|
-
# @return [Symbol, Sentdm::Models::BrandData::Business::EntityType, nil]
|
|
184
|
-
optional :entity_type,
|
|
185
|
-
enum: -> { Sentdm::BrandData::Business::EntityType },
|
|
186
|
-
api_name: :entityType,
|
|
187
|
-
nil?: true
|
|
188
|
-
|
|
189
|
-
# @!attribute legal_name
|
|
190
|
-
# Legal business name
|
|
191
|
-
#
|
|
192
|
-
# @return [String, nil]
|
|
193
|
-
optional :legal_name, String, api_name: :legalName, nil?: true
|
|
194
|
-
|
|
195
|
-
# @!attribute postal_code
|
|
196
|
-
# Postal/ZIP code
|
|
197
|
-
#
|
|
198
|
-
# @return [String, nil]
|
|
199
|
-
optional :postal_code, String, api_name: :postalCode, nil?: true
|
|
200
|
-
|
|
201
|
-
# @!attribute state
|
|
202
|
-
# State/province code
|
|
203
|
-
#
|
|
204
|
-
# @return [String, nil]
|
|
205
|
-
optional :state, String, nil?: true
|
|
206
|
-
|
|
207
|
-
# @!attribute street
|
|
208
|
-
# Street address
|
|
209
|
-
#
|
|
210
|
-
# @return [String, nil]
|
|
211
|
-
optional :street, String, nil?: true
|
|
212
|
-
|
|
213
|
-
# @!attribute tax_id
|
|
214
|
-
# Tax ID/EIN number
|
|
215
|
-
#
|
|
216
|
-
# @return [String, nil]
|
|
217
|
-
optional :tax_id, String, api_name: :taxId, nil?: true
|
|
218
|
-
|
|
219
|
-
# @!attribute tax_id_type
|
|
220
|
-
# Type of tax ID (e.g., us_ein, ca_bn)
|
|
221
|
-
#
|
|
222
|
-
# @return [String, nil]
|
|
223
|
-
optional :tax_id_type, String, api_name: :taxIdType, nil?: true
|
|
224
|
-
|
|
225
|
-
# @!attribute url
|
|
226
|
-
# Business website URL
|
|
227
|
-
#
|
|
228
|
-
# @return [String, nil]
|
|
229
|
-
optional :url, String, nil?: true
|
|
230
|
-
|
|
231
|
-
# @!method initialize(city: nil, country: nil, country_of_registration: nil, entity_type: nil, legal_name: nil, postal_code: nil, state: nil, street: nil, tax_id: nil, tax_id_type: nil, url: nil)
|
|
232
|
-
# Business details and address information
|
|
233
|
-
#
|
|
234
|
-
# @param city [String, nil] City
|
|
235
|
-
#
|
|
236
|
-
# @param country [String, nil] Country code (e.g., US, CA)
|
|
237
|
-
#
|
|
238
|
-
# @param country_of_registration [String, nil] Country where the business is registered
|
|
239
|
-
#
|
|
240
|
-
# @param entity_type [Symbol, Sentdm::Models::BrandData::Business::EntityType, nil] Business entity type
|
|
241
|
-
#
|
|
242
|
-
# @param legal_name [String, nil] Legal business name
|
|
243
|
-
#
|
|
244
|
-
# @param postal_code [String, nil] Postal/ZIP code
|
|
245
|
-
#
|
|
246
|
-
# @param state [String, nil] State/province code
|
|
247
|
-
#
|
|
248
|
-
# @param street [String, nil] Street address
|
|
249
|
-
#
|
|
250
|
-
# @param tax_id [String, nil] Tax ID/EIN number
|
|
251
|
-
#
|
|
252
|
-
# @param tax_id_type [String, nil] Type of tax ID (e.g., us_ein, ca_bn)
|
|
253
|
-
#
|
|
254
|
-
# @param url [String, nil] Business website URL
|
|
255
|
-
|
|
256
|
-
# Business entity type
|
|
257
|
-
#
|
|
258
|
-
# @see Sentdm::Models::BrandData::Business#entity_type
|
|
259
|
-
module EntityType
|
|
260
|
-
extend Sentdm::Internal::Type::Enum
|
|
261
|
-
|
|
262
|
-
PRIVATE_PROFIT = :PRIVATE_PROFIT
|
|
263
|
-
PUBLIC_PROFIT = :PUBLIC_PROFIT
|
|
264
|
-
NON_PROFIT = :NON_PROFIT
|
|
265
|
-
SOLE_PROPRIETOR = :SOLE_PROPRIETOR
|
|
266
|
-
GOVERNMENT = :GOVERNMENT
|
|
267
|
-
|
|
268
|
-
# @!method self.values
|
|
269
|
-
# @return [Array<Symbol>]
|
|
270
|
-
end
|
|
271
|
-
end
|
|
272
|
-
end
|
|
273
|
-
end
|
|
274
|
-
end
|