sentdm 0.19.0 → 0.20.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 +31 -1
- data/lib/sentdm/internal/type/base_model.rb +5 -5
- data/lib/sentdm/internal/type/enum.rb +25 -0
- 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_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/brands_brand_data.rb +38 -0
- data/lib/sentdm/models/contact_delete_params.rb +2 -16
- data/lib/sentdm/models/contact_list_response.rb +12 -278
- data/lib/sentdm/models/contact_response.rb +126 -0
- data/lib/sentdm/models/destination_country.rb +21 -0
- data/lib/sentdm/models/error_detail.rb +42 -0
- data/lib/sentdm/models/me_retrieve_response.rb +12 -204
- data/lib/sentdm/models/message_retrieve_activities_response.rb +6 -74
- 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 +80 -0
- data/lib/sentdm/models/payment_details.rb +44 -0
- data/lib/sentdm/models/profile_complete_response.rb +6 -74
- data/lib/sentdm/models/profile_create_params.rb +9 -423
- data/lib/sentdm/models/profile_delete_params.rb +2 -16
- data/lib/sentdm/models/profile_detail.rb +605 -0
- data/lib/sentdm/models/profile_list_response.rb +9 -753
- data/lib/sentdm/models/profile_settings.rb +66 -0
- data/lib/sentdm/models/profile_update_params.rb +9 -423
- data/lib/sentdm/models/profiles/api_response_of_tcr_campaign_with_use_cases.rb +45 -0
- data/lib/sentdm/models/profiles/base_dto.rb +32 -0
- data/lib/sentdm/models/profiles/campaign_create_params.rb +3 -165
- data/lib/sentdm/models/profiles/campaign_data.rb +123 -0
- data/lib/sentdm/models/profiles/campaign_delete_params.rb +2 -17
- data/lib/sentdm/models/profiles/campaign_list_response.rb +9 -420
- data/lib/sentdm/models/profiles/campaign_update_params.rb +3 -165
- data/lib/sentdm/models/profiles/messaging_use_case_us.rb +28 -0
- data/lib/sentdm/models/profiles/sent_dm_services_endpoints_customer_ap_iv3_contracts_requests_campaigns_campaign_use_case_data.rb +29 -0
- data/lib/sentdm/models/profiles/tcr_campaign_with_use_cases.rb +248 -0
- data/lib/sentdm/models/sent_dm_services_common_contracts_poc_os_authentication_config.rb +34 -0
- data/lib/sentdm/models/sent_dm_services_common_contracts_poc_os_template_body.rb +48 -0
- data/lib/sentdm/models/sent_dm_services_common_contracts_poc_os_template_button.rb +38 -0
- data/lib/sentdm/models/sent_dm_services_common_contracts_poc_os_template_button_props.rb +81 -0
- data/lib/sentdm/models/sent_dm_services_common_contracts_poc_os_template_footer.rb +34 -0
- data/lib/sentdm/models/sent_dm_services_common_contracts_poc_os_template_header.rb +39 -0
- data/lib/sentdm/models/sent_dm_services_endpoints_customer_ap_iv3_contracts_requests_brands_brand_business_info.rb +116 -0
- data/lib/sentdm/models/sent_dm_services_endpoints_customer_ap_iv3_contracts_requests_brands_brand_compliance_info.rb +75 -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/tcr_brand_relationship.rb +18 -0
- data/lib/sentdm/models/tcr_vertical.rb +36 -0
- data/lib/sentdm/models/template.rb +90 -0
- data/lib/sentdm/models/template_body_content.rb +27 -0
- data/lib/sentdm/models/template_create_params.rb +3 -889
- data/lib/sentdm/models/template_definition.rb +66 -0
- data/lib/sentdm/models/template_list_response.rb +12 -242
- data/lib/sentdm/models/template_update_params.rb +3 -889
- data/lib/sentdm/models/template_variable.rb +80 -0
- data/lib/sentdm/models/user_list_response.rb +9 -154
- data/lib/sentdm/models/user_remove_params.rb +2 -16
- data/lib/sentdm/models/user_response.rb +82 -0
- data/lib/sentdm/models/webhook_event_type.rb +45 -0
- data/lib/sentdm/models/webhook_list_event_types_response.rb +9 -118
- data/lib/sentdm/models/webhook_list_events_response.rb +9 -153
- data/lib/sentdm/models/webhook_list_response.rb +12 -247
- data/lib/sentdm/models/webhook_response.rb +95 -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 +77 -0
- data/lib/sentdm/resources/contacts.rb +6 -6
- data/lib/sentdm/resources/profiles/campaigns.rb +6 -6
- data/lib/sentdm/resources/profiles.rb +12 -12
- data/lib/sentdm/resources/templates.rb +8 -8
- 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 +40 -18
- 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_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/brands_brand_data.rbi +104 -0
- data/rbi/sentdm/models/contact_delete_params.rbi +2 -19
- data/rbi/sentdm/models/contact_list_response.rbi +16 -505
- data/rbi/sentdm/models/contact_response.rbi +183 -0
- data/rbi/sentdm/models/destination_country.rbi +32 -0
- data/rbi/sentdm/models/error_detail.rbi +66 -0
- data/rbi/sentdm/models/me_retrieve_response.rbi +16 -335
- data/rbi/sentdm/models/message_retrieve_activities_response.rbi +8 -154
- 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 +59 -0
- data/rbi/sentdm/models/profile_complete_response.rbi +8 -137
- data/rbi/sentdm/models/profile_create_params.rbi +12 -810
- data/rbi/sentdm/models/profile_delete_params.rbi +2 -19
- data/rbi/sentdm/models/profile_detail.rbi +874 -0
- data/rbi/sentdm/models/profile_list_response.rbi +14 -1400
- data/rbi/sentdm/models/profile_settings.rbi +86 -0
- data/rbi/sentdm/models/profile_update_params.rbi +12 -810
- data/rbi/sentdm/models/profiles/api_response_of_tcr_campaign_with_use_cases.rbi +83 -0
- data/rbi/sentdm/models/profiles/base_dto.rbi +53 -0
- data/rbi/sentdm/models/profiles/campaign_create_params.rbi +4 -289
- data/rbi/sentdm/models/profiles/campaign_data.rbi +148 -0
- data/rbi/sentdm/models/profiles/campaign_delete_params.rbi +1 -14
- data/rbi/sentdm/models/profiles/campaign_list_response.rbi +11 -733
- data/rbi/sentdm/models/profiles/campaign_update_params.rbi +4 -289
- data/rbi/sentdm/models/profiles/messaging_use_case_us.rbi +73 -0
- data/rbi/sentdm/models/profiles/sent_dm_services_endpoints_customer_ap_iv3_contracts_requests_campaigns_campaign_use_case_data.rbi +51 -0
- data/rbi/sentdm/models/profiles/tcr_campaign_with_use_cases.rbi +425 -0
- data/rbi/sentdm/models/sent_dm_services_common_contracts_poc_os_authentication_config.rbi +56 -0
- data/rbi/sentdm/models/sent_dm_services_common_contracts_poc_os_template_body.rbi +87 -0
- data/rbi/sentdm/models/sent_dm_services_common_contracts_poc_os_template_button.rbi +72 -0
- data/rbi/sentdm/models/sent_dm_services_common_contracts_poc_os_template_button_props.rbi +104 -0
- data/rbi/sentdm/models/sent_dm_services_common_contracts_poc_os_template_footer.rbi +57 -0
- data/rbi/sentdm/models/sent_dm_services_common_contracts_poc_os_template_header.rbi +59 -0
- data/rbi/sentdm/models/sent_dm_services_endpoints_customer_ap_iv3_contracts_requests_brands_brand_business_info.rbi +180 -0
- data/rbi/sentdm/models/sent_dm_services_endpoints_customer_ap_iv3_contracts_requests_brands_brand_compliance_info.rbi +95 -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/tcr_brand_relationship.rbi +30 -0
- data/rbi/sentdm/models/tcr_vertical.rbi +41 -0
- data/rbi/sentdm/models/template.rbi +129 -0
- data/rbi/sentdm/models/template_body_content.rbi +43 -0
- data/rbi/sentdm/models/template_create_params.rbi +4 -1701
- data/rbi/sentdm/models/template_definition.rbi +164 -0
- data/rbi/sentdm/models/template_list_response.rbi +16 -454
- data/rbi/sentdm/models/template_update_params.rbi +4 -1701
- data/rbi/sentdm/models/template_variable.rbi +120 -0
- data/rbi/sentdm/models/user_list_response.rbi +14 -271
- data/rbi/sentdm/models/user_remove_params.rbi +2 -19
- data/rbi/sentdm/models/user_response.rbi +118 -0
- data/rbi/sentdm/models/webhook_event_type.rbi +74 -0
- data/rbi/sentdm/models/webhook_list_event_types_response.rbi +12 -247
- data/rbi/sentdm/models/webhook_list_events_response.rbi +12 -314
- data/rbi/sentdm/models/webhook_list_response.rbi +16 -462
- data/rbi/sentdm/models/webhook_response.rbi +140 -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 +77 -0
- data/rbi/sentdm/resources/contacts.rbi +3 -3
- data/rbi/sentdm/resources/profiles/campaigns.rbi +4 -4
- data/rbi/sentdm/resources/profiles.rbi +9 -13
- data/rbi/sentdm/resources/templates.rbi +5 -6
- 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_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/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 -256
- data/sig/sentdm/models/contact_response.rbs +111 -0
- data/sig/sentdm/models/destination_country.rbs +19 -0
- data/sig/sentdm/models/error_detail.rbs +39 -0
- data/sig/sentdm/models/me_retrieve_response.rbs +18 -176
- data/sig/sentdm/models/message_retrieve_activities_response.rbs +9 -71
- 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 -363
- data/sig/sentdm/models/profile_delete_params.rbs +6 -10
- data/sig/sentdm/models/profile_detail.rbs +474 -0
- data/sig/sentdm/models/profile_list_response.rbs +15 -645
- data/sig/sentdm/models/profile_settings.rbs +50 -0
- data/sig/sentdm/models/profile_update_params.rbs +12 -363
- data/sig/sentdm/models/profiles/api_response_of_tcr_campaign_with_use_cases.rbs +41 -0
- data/sig/sentdm/models/profiles/base_dto.rbs +27 -0
- data/sig/sentdm/models/profiles/campaign_create_params.rbs +4 -138
- data/sig/sentdm/models/profiles/campaign_data.rbs +82 -0
- data/sig/sentdm/models/profiles/campaign_delete_params.rbs +8 -15
- data/sig/sentdm/models/profiles/campaign_list_response.rbs +13 -396
- data/sig/sentdm/models/profiles/campaign_update_params.rbs +4 -138
- data/sig/sentdm/models/profiles/messaging_use_case_us.rbs +40 -0
- data/sig/sentdm/models/profiles/sent_dm_services_endpoints_customer_ap_iv3_contracts_requests_campaigns_campaign_use_case_data.rbs +27 -0
- data/sig/sentdm/models/profiles/tcr_campaign_with_use_cases.rbs +299 -0
- data/sig/sentdm/models/sent_dm_services_common_contracts_poc_os_authentication_config.rbs +24 -0
- data/sig/sentdm/models/sent_dm_services_common_contracts_poc_os_template_body.rbs +35 -0
- data/sig/sentdm/models/sent_dm_services_common_contracts_poc_os_template_button.rbs +32 -0
- data/sig/sentdm/models/sent_dm_services_common_contracts_poc_os_template_button_props.rbs +75 -0
- data/sig/sentdm/models/sent_dm_services_common_contracts_poc_os_template_footer.rbs +30 -0
- data/sig/sentdm/models/sent_dm_services_common_contracts_poc_os_template_header.rbs +30 -0
- 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/tcr_brand_relationship.rbs +22 -0
- data/sig/sentdm/models/tcr_vertical.rbs +58 -0
- data/sig/sentdm/models/template.rbs +79 -0
- data/sig/sentdm/models/template_body_content.rbs +30 -0
- data/sig/sentdm/models/template_create_params.rbs +6 -853
- data/sig/sentdm/models/template_definition.rbs +45 -0
- data/sig/sentdm/models/template_list_response.rbs +19 -225
- data/sig/sentdm/models/template_update_params.rbs +4 -851
- data/sig/sentdm/models/template_variable.rbs +84 -0
- data/sig/sentdm/models/user_list_response.rbs +15 -151
- data/sig/sentdm/models/user_remove_params.rbs +6 -10
- data/sig/sentdm/models/user_response.rbs +72 -0
- data/sig/sentdm/models/webhook_event_type.rbs +51 -0
- data/sig/sentdm/models/webhook_list_event_types_response.rbs +15 -130
- data/sig/sentdm/models/webhook_list_events_response.rbs +14 -142
- data/sig/sentdm/models/webhook_list_response.rbs +20 -248
- data/sig/sentdm/models/webhook_response.rbs +103 -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 +68 -0
- data/sig/sentdm/resources/contacts.rbs +3 -3
- data/sig/sentdm/resources/profiles/campaigns.rbs +4 -4
- data/sig/sentdm/resources/profiles.rbs +9 -9
- data/sig/sentdm/resources/templates.rbs +5 -5
- data/sig/sentdm/resources/users.rbs +3 -3
- data/sig/sentdm/resources/webhooks.rbs +4 -4
- metadata +121 -55
- data/lib/sentdm/models/contact_create_response.rb +0 -236
- data/lib/sentdm/models/contact_retrieve_response.rb +0 -236
- data/lib/sentdm/models/contact_update_response.rb +0 -236
- data/lib/sentdm/models/profile_create_response.rb +0 -781
- data/lib/sentdm/models/profile_retrieve_response.rb +0 -783
- data/lib/sentdm/models/profile_update_response.rb +0 -781
- data/lib/sentdm/models/profiles/campaign_create_response.rb +0 -459
- data/lib/sentdm/models/profiles/campaign_update_response.rb +0 -459
- data/lib/sentdm/models/template_create_response.rb +0 -197
- data/lib/sentdm/models/template_retrieve_response.rb +0 -197
- data/lib/sentdm/models/template_update_response.rb +0 -197
- data/lib/sentdm/models/user_invite_response.rb +0 -189
- data/lib/sentdm/models/user_retrieve_response.rb +0 -189
- data/lib/sentdm/models/user_update_role_response.rb +0 -189
- data/lib/sentdm/models/webhook_create_response.rb +0 -204
- data/lib/sentdm/models/webhook_retrieve_response.rb +0 -204
- data/lib/sentdm/models/webhook_toggle_status_response.rb +0 -204
- data/lib/sentdm/models/webhook_update_response.rb +0 -204
- data/rbi/sentdm/models/contact_create_response.rbi +0 -390
- data/rbi/sentdm/models/contact_retrieve_response.rbi +0 -392
- data/rbi/sentdm/models/contact_update_response.rbi +0 -390
- data/rbi/sentdm/models/profile_create_response.rbi +0 -1439
- data/rbi/sentdm/models/profile_retrieve_response.rbi +0 -1443
- data/rbi/sentdm/models/profile_update_response.rbi +0 -1439
- data/rbi/sentdm/models/profiles/campaign_create_response.rbi +0 -814
- data/rbi/sentdm/models/profiles/campaign_update_response.rbi +0 -814
- data/rbi/sentdm/models/template_create_response.rbi +0 -339
- data/rbi/sentdm/models/template_retrieve_response.rbi +0 -345
- data/rbi/sentdm/models/template_update_response.rbi +0 -339
- data/rbi/sentdm/models/user_invite_response.rbi +0 -323
- data/rbi/sentdm/models/user_retrieve_response.rbi +0 -323
- data/rbi/sentdm/models/user_update_role_response.rbi +0 -328
- data/rbi/sentdm/models/webhook_create_response.rbi +0 -348
- data/rbi/sentdm/models/webhook_retrieve_response.rbi +0 -350
- data/rbi/sentdm/models/webhook_toggle_status_response.rbi +0 -366
- data/rbi/sentdm/models/webhook_update_response.rbi +0 -348
- data/sig/sentdm/models/contact_create_response.rbs +0 -209
- data/sig/sentdm/models/contact_retrieve_response.rbs +0 -209
- data/sig/sentdm/models/contact_update_response.rbs +0 -209
- data/sig/sentdm/models/profile_create_response.rbs +0 -662
- data/sig/sentdm/models/profile_retrieve_response.rbs +0 -662
- data/sig/sentdm/models/profile_update_response.rbs +0 -662
- data/sig/sentdm/models/profiles/campaign_create_response.rbs +0 -424
- data/sig/sentdm/models/profiles/campaign_update_response.rbs +0 -424
- data/sig/sentdm/models/template_create_response.rbs +0 -177
- data/sig/sentdm/models/template_retrieve_response.rbs +0 -177
- data/sig/sentdm/models/template_update_response.rbs +0 -177
- data/sig/sentdm/models/user_invite_response.rbs +0 -170
- data/sig/sentdm/models/user_retrieve_response.rbs +0 -170
- data/sig/sentdm/models/user_update_role_response.rbs +0 -170
- data/sig/sentdm/models/webhook_create_response.rbs +0 -201
- data/sig/sentdm/models/webhook_retrieve_response.rbs +0 -201
- data/sig/sentdm/models/webhook_toggle_status_response.rbs +0 -201
- data/sig/sentdm/models/webhook_update_response.rbs +0 -201
|
@@ -3,21 +3,19 @@ module Sentdm
|
|
|
3
3
|
type me_retrieve_response =
|
|
4
4
|
{
|
|
5
5
|
data: Sentdm::Models::MeRetrieveResponse::Data?,
|
|
6
|
-
error: Sentdm::
|
|
7
|
-
meta: Sentdm::
|
|
6
|
+
error: Sentdm::ErrorDetail?,
|
|
7
|
+
meta: Sentdm::APIMeta,
|
|
8
8
|
success: bool
|
|
9
9
|
}
|
|
10
10
|
|
|
11
11
|
class MeRetrieveResponse < Sentdm::Internal::Type::BaseModel
|
|
12
12
|
attr_accessor data: Sentdm::Models::MeRetrieveResponse::Data?
|
|
13
13
|
|
|
14
|
-
attr_accessor error: Sentdm::
|
|
14
|
+
attr_accessor error: Sentdm::ErrorDetail?
|
|
15
15
|
|
|
16
|
-
attr_reader meta: Sentdm::
|
|
16
|
+
attr_reader meta: Sentdm::APIMeta?
|
|
17
17
|
|
|
18
|
-
def meta=: (
|
|
19
|
-
Sentdm::Models::MeRetrieveResponse::Meta
|
|
20
|
-
) -> Sentdm::Models::MeRetrieveResponse::Meta
|
|
18
|
+
def meta=: (Sentdm::APIMeta) -> Sentdm::APIMeta
|
|
21
19
|
|
|
22
20
|
attr_reader success: bool?
|
|
23
21
|
|
|
@@ -25,15 +23,15 @@ module Sentdm
|
|
|
25
23
|
|
|
26
24
|
def initialize: (
|
|
27
25
|
?data: Sentdm::Models::MeRetrieveResponse::Data?,
|
|
28
|
-
?error: Sentdm::
|
|
29
|
-
?meta: Sentdm::
|
|
26
|
+
?error: Sentdm::ErrorDetail?,
|
|
27
|
+
?meta: Sentdm::APIMeta,
|
|
30
28
|
?success: bool
|
|
31
29
|
) -> void
|
|
32
30
|
|
|
33
31
|
def to_hash: -> {
|
|
34
32
|
data: Sentdm::Models::MeRetrieveResponse::Data?,
|
|
35
|
-
error: Sentdm::
|
|
36
|
-
meta: Sentdm::
|
|
33
|
+
error: Sentdm::ErrorDetail?,
|
|
34
|
+
meta: Sentdm::APIMeta,
|
|
37
35
|
success: bool
|
|
38
36
|
}
|
|
39
37
|
|
|
@@ -48,7 +46,7 @@ module Sentdm
|
|
|
48
46
|
name: String,
|
|
49
47
|
organization_id: String?,
|
|
50
48
|
profiles: ::Array[Sentdm::Models::MeRetrieveResponse::Data::Profile],
|
|
51
|
-
settings: Sentdm::
|
|
49
|
+
settings: Sentdm::ProfileSettings?,
|
|
52
50
|
short_name: String?,
|
|
53
51
|
status: String?,
|
|
54
52
|
type: String
|
|
@@ -87,7 +85,7 @@ module Sentdm
|
|
|
87
85
|
::Array[Sentdm::Models::MeRetrieveResponse::Data::Profile]
|
|
88
86
|
) -> ::Array[Sentdm::Models::MeRetrieveResponse::Data::Profile]
|
|
89
87
|
|
|
90
|
-
attr_accessor settings: Sentdm::
|
|
88
|
+
attr_accessor settings: Sentdm::ProfileSettings?
|
|
91
89
|
|
|
92
90
|
attr_accessor short_name: String?
|
|
93
91
|
|
|
@@ -107,7 +105,7 @@ module Sentdm
|
|
|
107
105
|
?name: String,
|
|
108
106
|
?organization_id: String?,
|
|
109
107
|
?profiles: ::Array[Sentdm::Models::MeRetrieveResponse::Data::Profile],
|
|
110
|
-
?settings: Sentdm::
|
|
108
|
+
?settings: Sentdm::ProfileSettings?,
|
|
111
109
|
?short_name: String?,
|
|
112
110
|
?status: String?,
|
|
113
111
|
?type: String
|
|
@@ -123,7 +121,7 @@ module Sentdm
|
|
|
123
121
|
name: String,
|
|
124
122
|
organization_id: String?,
|
|
125
123
|
profiles: ::Array[Sentdm::Models::MeRetrieveResponse::Data::Profile],
|
|
126
|
-
settings: Sentdm::
|
|
124
|
+
settings: Sentdm::ProfileSettings?,
|
|
127
125
|
short_name: String?,
|
|
128
126
|
status: String?,
|
|
129
127
|
type: String
|
|
@@ -229,7 +227,7 @@ module Sentdm
|
|
|
229
227
|
icon: String?,
|
|
230
228
|
name: String,
|
|
231
229
|
role: String?,
|
|
232
|
-
settings: Sentdm::
|
|
230
|
+
settings: Sentdm::ProfileSettings,
|
|
233
231
|
short_name: String?,
|
|
234
232
|
status: String?
|
|
235
233
|
}
|
|
@@ -253,11 +251,9 @@ module Sentdm
|
|
|
253
251
|
|
|
254
252
|
attr_accessor role: String?
|
|
255
253
|
|
|
256
|
-
attr_reader settings: Sentdm::
|
|
254
|
+
attr_reader settings: Sentdm::ProfileSettings?
|
|
257
255
|
|
|
258
|
-
def settings=: (
|
|
259
|
-
Sentdm::Models::MeRetrieveResponse::Data::Profile::Settings
|
|
260
|
-
) -> Sentdm::Models::MeRetrieveResponse::Data::Profile::Settings
|
|
256
|
+
def settings=: (Sentdm::ProfileSettings) -> Sentdm::ProfileSettings
|
|
261
257
|
|
|
262
258
|
attr_accessor short_name: String?
|
|
263
259
|
|
|
@@ -270,7 +266,7 @@ module Sentdm
|
|
|
270
266
|
?icon: String?,
|
|
271
267
|
?name: String,
|
|
272
268
|
?role: String?,
|
|
273
|
-
?settings: Sentdm::
|
|
269
|
+
?settings: Sentdm::ProfileSettings,
|
|
274
270
|
?short_name: String?,
|
|
275
271
|
?status: String?
|
|
276
272
|
) -> void
|
|
@@ -282,165 +278,11 @@ module Sentdm
|
|
|
282
278
|
icon: String?,
|
|
283
279
|
name: String,
|
|
284
280
|
role: String?,
|
|
285
|
-
settings: Sentdm::
|
|
281
|
+
settings: Sentdm::ProfileSettings,
|
|
286
282
|
short_name: String?,
|
|
287
283
|
status: String?
|
|
288
284
|
}
|
|
289
|
-
|
|
290
|
-
type settings =
|
|
291
|
-
{
|
|
292
|
-
allow_contact_sharing: bool?,
|
|
293
|
-
allow_template_sharing: bool?,
|
|
294
|
-
billing_model: String?,
|
|
295
|
-
inherit_contacts: bool?,
|
|
296
|
-
inherit_tcr_brand: bool?,
|
|
297
|
-
inherit_tcr_campaign: bool?,
|
|
298
|
-
inherit_templates: bool?
|
|
299
|
-
}
|
|
300
|
-
|
|
301
|
-
class Settings < Sentdm::Internal::Type::BaseModel
|
|
302
|
-
attr_accessor allow_contact_sharing: bool?
|
|
303
|
-
|
|
304
|
-
attr_accessor allow_template_sharing: bool?
|
|
305
|
-
|
|
306
|
-
attr_accessor billing_model: String?
|
|
307
|
-
|
|
308
|
-
attr_accessor inherit_contacts: bool?
|
|
309
|
-
|
|
310
|
-
attr_accessor inherit_tcr_brand: bool?
|
|
311
|
-
|
|
312
|
-
attr_accessor inherit_tcr_campaign: bool?
|
|
313
|
-
|
|
314
|
-
attr_accessor inherit_templates: bool?
|
|
315
|
-
|
|
316
|
-
def initialize: (
|
|
317
|
-
?allow_contact_sharing: bool?,
|
|
318
|
-
?allow_template_sharing: bool?,
|
|
319
|
-
?billing_model: String?,
|
|
320
|
-
?inherit_contacts: bool?,
|
|
321
|
-
?inherit_tcr_brand: bool?,
|
|
322
|
-
?inherit_tcr_campaign: bool?,
|
|
323
|
-
?inherit_templates: bool?
|
|
324
|
-
) -> void
|
|
325
|
-
|
|
326
|
-
def to_hash: -> {
|
|
327
|
-
allow_contact_sharing: bool?,
|
|
328
|
-
allow_template_sharing: bool?,
|
|
329
|
-
billing_model: String?,
|
|
330
|
-
inherit_contacts: bool?,
|
|
331
|
-
inherit_tcr_brand: bool?,
|
|
332
|
-
inherit_tcr_campaign: bool?,
|
|
333
|
-
inherit_templates: bool?
|
|
334
|
-
}
|
|
335
|
-
end
|
|
336
285
|
end
|
|
337
|
-
|
|
338
|
-
type settings =
|
|
339
|
-
{
|
|
340
|
-
allow_contact_sharing: bool?,
|
|
341
|
-
allow_template_sharing: bool?,
|
|
342
|
-
billing_model: String?,
|
|
343
|
-
inherit_contacts: bool?,
|
|
344
|
-
inherit_tcr_brand: bool?,
|
|
345
|
-
inherit_tcr_campaign: bool?,
|
|
346
|
-
inherit_templates: bool?
|
|
347
|
-
}
|
|
348
|
-
|
|
349
|
-
class Settings < Sentdm::Internal::Type::BaseModel
|
|
350
|
-
attr_accessor allow_contact_sharing: bool?
|
|
351
|
-
|
|
352
|
-
attr_accessor allow_template_sharing: bool?
|
|
353
|
-
|
|
354
|
-
attr_accessor billing_model: String?
|
|
355
|
-
|
|
356
|
-
attr_accessor inherit_contacts: bool?
|
|
357
|
-
|
|
358
|
-
attr_accessor inherit_tcr_brand: bool?
|
|
359
|
-
|
|
360
|
-
attr_accessor inherit_tcr_campaign: bool?
|
|
361
|
-
|
|
362
|
-
attr_accessor inherit_templates: bool?
|
|
363
|
-
|
|
364
|
-
def initialize: (
|
|
365
|
-
?allow_contact_sharing: bool?,
|
|
366
|
-
?allow_template_sharing: bool?,
|
|
367
|
-
?billing_model: String?,
|
|
368
|
-
?inherit_contacts: bool?,
|
|
369
|
-
?inherit_tcr_brand: bool?,
|
|
370
|
-
?inherit_tcr_campaign: bool?,
|
|
371
|
-
?inherit_templates: bool?
|
|
372
|
-
) -> void
|
|
373
|
-
|
|
374
|
-
def to_hash: -> {
|
|
375
|
-
allow_contact_sharing: bool?,
|
|
376
|
-
allow_template_sharing: bool?,
|
|
377
|
-
billing_model: String?,
|
|
378
|
-
inherit_contacts: bool?,
|
|
379
|
-
inherit_tcr_brand: bool?,
|
|
380
|
-
inherit_tcr_campaign: bool?,
|
|
381
|
-
inherit_templates: bool?
|
|
382
|
-
}
|
|
383
|
-
end
|
|
384
|
-
end
|
|
385
|
-
|
|
386
|
-
type error =
|
|
387
|
-
{
|
|
388
|
-
code: String,
|
|
389
|
-
details: ::Hash[Symbol, ::Array[String]]?,
|
|
390
|
-
doc_url: String?,
|
|
391
|
-
message: String
|
|
392
|
-
}
|
|
393
|
-
|
|
394
|
-
class Error < Sentdm::Internal::Type::BaseModel
|
|
395
|
-
attr_reader code: String?
|
|
396
|
-
|
|
397
|
-
def code=: (String) -> String
|
|
398
|
-
|
|
399
|
-
attr_accessor details: ::Hash[Symbol, ::Array[String]]?
|
|
400
|
-
|
|
401
|
-
attr_accessor doc_url: String?
|
|
402
|
-
|
|
403
|
-
attr_reader message: String?
|
|
404
|
-
|
|
405
|
-
def message=: (String) -> String
|
|
406
|
-
|
|
407
|
-
def initialize: (
|
|
408
|
-
?code: String,
|
|
409
|
-
?details: ::Hash[Symbol, ::Array[String]]?,
|
|
410
|
-
?doc_url: String?,
|
|
411
|
-
?message: String
|
|
412
|
-
) -> void
|
|
413
|
-
|
|
414
|
-
def to_hash: -> {
|
|
415
|
-
code: String,
|
|
416
|
-
details: ::Hash[Symbol, ::Array[String]]?,
|
|
417
|
-
doc_url: String?,
|
|
418
|
-
message: String
|
|
419
|
-
}
|
|
420
|
-
end
|
|
421
|
-
|
|
422
|
-
type meta = { request_id: String, timestamp: Time, version: String }
|
|
423
|
-
|
|
424
|
-
class Meta < Sentdm::Internal::Type::BaseModel
|
|
425
|
-
attr_reader request_id: String?
|
|
426
|
-
|
|
427
|
-
def request_id=: (String) -> String
|
|
428
|
-
|
|
429
|
-
attr_reader timestamp: Time?
|
|
430
|
-
|
|
431
|
-
def timestamp=: (Time) -> Time
|
|
432
|
-
|
|
433
|
-
attr_reader version: String?
|
|
434
|
-
|
|
435
|
-
def version=: (String) -> String
|
|
436
|
-
|
|
437
|
-
def initialize: (
|
|
438
|
-
?request_id: String,
|
|
439
|
-
?timestamp: Time,
|
|
440
|
-
?version: String
|
|
441
|
-
) -> void
|
|
442
|
-
|
|
443
|
-
def to_hash: -> { request_id: String, timestamp: Time, version: String }
|
|
444
286
|
end
|
|
445
287
|
end
|
|
446
288
|
end
|
|
@@ -3,21 +3,19 @@ module Sentdm
|
|
|
3
3
|
type message_retrieve_activities_response =
|
|
4
4
|
{
|
|
5
5
|
data: Sentdm::Models::MessageRetrieveActivitiesResponse::Data?,
|
|
6
|
-
error: Sentdm::
|
|
7
|
-
meta: Sentdm::
|
|
6
|
+
error: Sentdm::ErrorDetail?,
|
|
7
|
+
meta: Sentdm::APIMeta,
|
|
8
8
|
success: bool
|
|
9
9
|
}
|
|
10
10
|
|
|
11
11
|
class MessageRetrieveActivitiesResponse < Sentdm::Internal::Type::BaseModel
|
|
12
12
|
attr_accessor data: Sentdm::Models::MessageRetrieveActivitiesResponse::Data?
|
|
13
13
|
|
|
14
|
-
attr_accessor error: Sentdm::
|
|
14
|
+
attr_accessor error: Sentdm::ErrorDetail?
|
|
15
15
|
|
|
16
|
-
attr_reader meta: Sentdm::
|
|
16
|
+
attr_reader meta: Sentdm::APIMeta?
|
|
17
17
|
|
|
18
|
-
def meta=: (
|
|
19
|
-
Sentdm::Models::MessageRetrieveActivitiesResponse::Meta
|
|
20
|
-
) -> Sentdm::Models::MessageRetrieveActivitiesResponse::Meta
|
|
18
|
+
def meta=: (Sentdm::APIMeta) -> Sentdm::APIMeta
|
|
21
19
|
|
|
22
20
|
attr_reader success: bool?
|
|
23
21
|
|
|
@@ -25,15 +23,15 @@ module Sentdm
|
|
|
25
23
|
|
|
26
24
|
def initialize: (
|
|
27
25
|
?data: Sentdm::Models::MessageRetrieveActivitiesResponse::Data?,
|
|
28
|
-
?error: Sentdm::
|
|
29
|
-
?meta: Sentdm::
|
|
26
|
+
?error: Sentdm::ErrorDetail?,
|
|
27
|
+
?meta: Sentdm::APIMeta,
|
|
30
28
|
?success: bool
|
|
31
29
|
) -> void
|
|
32
30
|
|
|
33
31
|
def to_hash: -> {
|
|
34
32
|
data: Sentdm::Models::MessageRetrieveActivitiesResponse::Data?,
|
|
35
|
-
error: Sentdm::
|
|
36
|
-
meta: Sentdm::
|
|
33
|
+
error: Sentdm::ErrorDetail?,
|
|
34
|
+
meta: Sentdm::APIMeta,
|
|
37
35
|
success: bool
|
|
38
36
|
}
|
|
39
37
|
|
|
@@ -112,66 +110,6 @@ module Sentdm
|
|
|
112
110
|
}
|
|
113
111
|
end
|
|
114
112
|
end
|
|
115
|
-
|
|
116
|
-
type error =
|
|
117
|
-
{
|
|
118
|
-
code: String,
|
|
119
|
-
details: ::Hash[Symbol, ::Array[String]]?,
|
|
120
|
-
doc_url: String?,
|
|
121
|
-
message: String
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
class Error < Sentdm::Internal::Type::BaseModel
|
|
125
|
-
attr_reader code: String?
|
|
126
|
-
|
|
127
|
-
def code=: (String) -> String
|
|
128
|
-
|
|
129
|
-
attr_accessor details: ::Hash[Symbol, ::Array[String]]?
|
|
130
|
-
|
|
131
|
-
attr_accessor doc_url: String?
|
|
132
|
-
|
|
133
|
-
attr_reader message: String?
|
|
134
|
-
|
|
135
|
-
def message=: (String) -> String
|
|
136
|
-
|
|
137
|
-
def initialize: (
|
|
138
|
-
?code: String,
|
|
139
|
-
?details: ::Hash[Symbol, ::Array[String]]?,
|
|
140
|
-
?doc_url: String?,
|
|
141
|
-
?message: String
|
|
142
|
-
) -> void
|
|
143
|
-
|
|
144
|
-
def to_hash: -> {
|
|
145
|
-
code: String,
|
|
146
|
-
details: ::Hash[Symbol, ::Array[String]]?,
|
|
147
|
-
doc_url: String?,
|
|
148
|
-
message: String
|
|
149
|
-
}
|
|
150
|
-
end
|
|
151
|
-
|
|
152
|
-
type meta = { request_id: String, timestamp: Time, version: String }
|
|
153
|
-
|
|
154
|
-
class Meta < Sentdm::Internal::Type::BaseModel
|
|
155
|
-
attr_reader request_id: String?
|
|
156
|
-
|
|
157
|
-
def request_id=: (String) -> String
|
|
158
|
-
|
|
159
|
-
attr_reader timestamp: Time?
|
|
160
|
-
|
|
161
|
-
def timestamp=: (Time) -> Time
|
|
162
|
-
|
|
163
|
-
attr_reader version: String?
|
|
164
|
-
|
|
165
|
-
def version=: (String) -> String
|
|
166
|
-
|
|
167
|
-
def initialize: (
|
|
168
|
-
?request_id: String,
|
|
169
|
-
?timestamp: Time,
|
|
170
|
-
?version: String
|
|
171
|
-
) -> void
|
|
172
|
-
|
|
173
|
-
def to_hash: -> { request_id: String, timestamp: Time, version: String }
|
|
174
|
-
end
|
|
175
113
|
end
|
|
176
114
|
end
|
|
177
115
|
end
|
|
@@ -3,21 +3,19 @@ module Sentdm
|
|
|
3
3
|
type message_retrieve_status_response =
|
|
4
4
|
{
|
|
5
5
|
data: Sentdm::Models::MessageRetrieveStatusResponse::Data?,
|
|
6
|
-
error: Sentdm::
|
|
7
|
-
meta: Sentdm::
|
|
6
|
+
error: Sentdm::ErrorDetail?,
|
|
7
|
+
meta: Sentdm::APIMeta,
|
|
8
8
|
success: bool
|
|
9
9
|
}
|
|
10
10
|
|
|
11
11
|
class MessageRetrieveStatusResponse < Sentdm::Internal::Type::BaseModel
|
|
12
12
|
attr_accessor data: Sentdm::Models::MessageRetrieveStatusResponse::Data?
|
|
13
13
|
|
|
14
|
-
attr_accessor error: Sentdm::
|
|
14
|
+
attr_accessor error: Sentdm::ErrorDetail?
|
|
15
15
|
|
|
16
|
-
attr_reader meta: Sentdm::
|
|
16
|
+
attr_reader meta: Sentdm::APIMeta?
|
|
17
17
|
|
|
18
|
-
def meta=: (
|
|
19
|
-
Sentdm::Models::MessageRetrieveStatusResponse::Meta
|
|
20
|
-
) -> Sentdm::Models::MessageRetrieveStatusResponse::Meta
|
|
18
|
+
def meta=: (Sentdm::APIMeta) -> Sentdm::APIMeta
|
|
21
19
|
|
|
22
20
|
attr_reader success: bool?
|
|
23
21
|
|
|
@@ -25,15 +23,15 @@ module Sentdm
|
|
|
25
23
|
|
|
26
24
|
def initialize: (
|
|
27
25
|
?data: Sentdm::Models::MessageRetrieveStatusResponse::Data?,
|
|
28
|
-
?error: Sentdm::
|
|
29
|
-
?meta: Sentdm::
|
|
26
|
+
?error: Sentdm::ErrorDetail?,
|
|
27
|
+
?meta: Sentdm::APIMeta,
|
|
30
28
|
?success: bool
|
|
31
29
|
) -> void
|
|
32
30
|
|
|
33
31
|
def to_hash: -> {
|
|
34
32
|
data: Sentdm::Models::MessageRetrieveStatusResponse::Data?,
|
|
35
|
-
error: Sentdm::
|
|
36
|
-
meta: Sentdm::
|
|
33
|
+
error: Sentdm::ErrorDetail?,
|
|
34
|
+
meta: Sentdm::APIMeta,
|
|
37
35
|
success: bool
|
|
38
36
|
}
|
|
39
37
|
|
|
@@ -249,66 +247,6 @@ module Sentdm
|
|
|
249
247
|
end
|
|
250
248
|
end
|
|
251
249
|
end
|
|
252
|
-
|
|
253
|
-
type error =
|
|
254
|
-
{
|
|
255
|
-
code: String,
|
|
256
|
-
details: ::Hash[Symbol, ::Array[String]]?,
|
|
257
|
-
doc_url: String?,
|
|
258
|
-
message: String
|
|
259
|
-
}
|
|
260
|
-
|
|
261
|
-
class Error < Sentdm::Internal::Type::BaseModel
|
|
262
|
-
attr_reader code: String?
|
|
263
|
-
|
|
264
|
-
def code=: (String) -> String
|
|
265
|
-
|
|
266
|
-
attr_accessor details: ::Hash[Symbol, ::Array[String]]?
|
|
267
|
-
|
|
268
|
-
attr_accessor doc_url: String?
|
|
269
|
-
|
|
270
|
-
attr_reader message: String?
|
|
271
|
-
|
|
272
|
-
def message=: (String) -> String
|
|
273
|
-
|
|
274
|
-
def initialize: (
|
|
275
|
-
?code: String,
|
|
276
|
-
?details: ::Hash[Symbol, ::Array[String]]?,
|
|
277
|
-
?doc_url: String?,
|
|
278
|
-
?message: String
|
|
279
|
-
) -> void
|
|
280
|
-
|
|
281
|
-
def to_hash: -> {
|
|
282
|
-
code: String,
|
|
283
|
-
details: ::Hash[Symbol, ::Array[String]]?,
|
|
284
|
-
doc_url: String?,
|
|
285
|
-
message: String
|
|
286
|
-
}
|
|
287
|
-
end
|
|
288
|
-
|
|
289
|
-
type meta = { request_id: String, timestamp: Time, version: String }
|
|
290
|
-
|
|
291
|
-
class Meta < Sentdm::Internal::Type::BaseModel
|
|
292
|
-
attr_reader request_id: String?
|
|
293
|
-
|
|
294
|
-
def request_id=: (String) -> String
|
|
295
|
-
|
|
296
|
-
attr_reader timestamp: Time?
|
|
297
|
-
|
|
298
|
-
def timestamp=: (Time) -> Time
|
|
299
|
-
|
|
300
|
-
attr_reader version: String?
|
|
301
|
-
|
|
302
|
-
def version=: (String) -> String
|
|
303
|
-
|
|
304
|
-
def initialize: (
|
|
305
|
-
?request_id: String,
|
|
306
|
-
?timestamp: Time,
|
|
307
|
-
?version: String
|
|
308
|
-
) -> void
|
|
309
|
-
|
|
310
|
-
def to_hash: -> { request_id: String, timestamp: Time, version: String }
|
|
311
|
-
end
|
|
312
250
|
end
|
|
313
251
|
end
|
|
314
252
|
end
|
|
@@ -3,21 +3,19 @@ module Sentdm
|
|
|
3
3
|
type message_send_response =
|
|
4
4
|
{
|
|
5
5
|
data: Sentdm::Models::MessageSendResponse::Data?,
|
|
6
|
-
error: Sentdm::
|
|
7
|
-
meta: Sentdm::
|
|
6
|
+
error: Sentdm::ErrorDetail?,
|
|
7
|
+
meta: Sentdm::APIMeta,
|
|
8
8
|
success: bool
|
|
9
9
|
}
|
|
10
10
|
|
|
11
11
|
class MessageSendResponse < Sentdm::Internal::Type::BaseModel
|
|
12
12
|
attr_accessor data: Sentdm::Models::MessageSendResponse::Data?
|
|
13
13
|
|
|
14
|
-
attr_accessor error: Sentdm::
|
|
14
|
+
attr_accessor error: Sentdm::ErrorDetail?
|
|
15
15
|
|
|
16
|
-
attr_reader meta: Sentdm::
|
|
16
|
+
attr_reader meta: Sentdm::APIMeta?
|
|
17
17
|
|
|
18
|
-
def meta=: (
|
|
19
|
-
Sentdm::Models::MessageSendResponse::Meta
|
|
20
|
-
) -> Sentdm::Models::MessageSendResponse::Meta
|
|
18
|
+
def meta=: (Sentdm::APIMeta) -> Sentdm::APIMeta
|
|
21
19
|
|
|
22
20
|
attr_reader success: bool?
|
|
23
21
|
|
|
@@ -25,15 +23,15 @@ module Sentdm
|
|
|
25
23
|
|
|
26
24
|
def initialize: (
|
|
27
25
|
?data: Sentdm::Models::MessageSendResponse::Data?,
|
|
28
|
-
?error: Sentdm::
|
|
29
|
-
?meta: Sentdm::
|
|
26
|
+
?error: Sentdm::ErrorDetail?,
|
|
27
|
+
?meta: Sentdm::APIMeta,
|
|
30
28
|
?success: bool
|
|
31
29
|
) -> void
|
|
32
30
|
|
|
33
31
|
def to_hash: -> {
|
|
34
32
|
data: Sentdm::Models::MessageSendResponse::Data?,
|
|
35
|
-
error: Sentdm::
|
|
36
|
-
meta: Sentdm::
|
|
33
|
+
error: Sentdm::ErrorDetail?,
|
|
34
|
+
meta: Sentdm::APIMeta,
|
|
37
35
|
success: bool
|
|
38
36
|
}
|
|
39
37
|
|
|
@@ -109,66 +107,6 @@ module Sentdm
|
|
|
109
107
|
}
|
|
110
108
|
end
|
|
111
109
|
end
|
|
112
|
-
|
|
113
|
-
type error =
|
|
114
|
-
{
|
|
115
|
-
code: String,
|
|
116
|
-
details: ::Hash[Symbol, ::Array[String]]?,
|
|
117
|
-
doc_url: String?,
|
|
118
|
-
message: String
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
class Error < Sentdm::Internal::Type::BaseModel
|
|
122
|
-
attr_reader code: String?
|
|
123
|
-
|
|
124
|
-
def code=: (String) -> String
|
|
125
|
-
|
|
126
|
-
attr_accessor details: ::Hash[Symbol, ::Array[String]]?
|
|
127
|
-
|
|
128
|
-
attr_accessor doc_url: String?
|
|
129
|
-
|
|
130
|
-
attr_reader message: String?
|
|
131
|
-
|
|
132
|
-
def message=: (String) -> String
|
|
133
|
-
|
|
134
|
-
def initialize: (
|
|
135
|
-
?code: String,
|
|
136
|
-
?details: ::Hash[Symbol, ::Array[String]]?,
|
|
137
|
-
?doc_url: String?,
|
|
138
|
-
?message: String
|
|
139
|
-
) -> void
|
|
140
|
-
|
|
141
|
-
def to_hash: -> {
|
|
142
|
-
code: String,
|
|
143
|
-
details: ::Hash[Symbol, ::Array[String]]?,
|
|
144
|
-
doc_url: String?,
|
|
145
|
-
message: String
|
|
146
|
-
}
|
|
147
|
-
end
|
|
148
|
-
|
|
149
|
-
type meta = { request_id: String, timestamp: Time, version: String }
|
|
150
|
-
|
|
151
|
-
class Meta < Sentdm::Internal::Type::BaseModel
|
|
152
|
-
attr_reader request_id: String?
|
|
153
|
-
|
|
154
|
-
def request_id=: (String) -> String
|
|
155
|
-
|
|
156
|
-
attr_reader timestamp: Time?
|
|
157
|
-
|
|
158
|
-
def timestamp=: (Time) -> Time
|
|
159
|
-
|
|
160
|
-
attr_reader version: String?
|
|
161
|
-
|
|
162
|
-
def version=: (String) -> String
|
|
163
|
-
|
|
164
|
-
def initialize: (
|
|
165
|
-
?request_id: String,
|
|
166
|
-
?timestamp: Time,
|
|
167
|
-
?version: String
|
|
168
|
-
) -> void
|
|
169
|
-
|
|
170
|
-
def to_hash: -> { request_id: String, timestamp: Time, version: String }
|
|
171
|
-
end
|
|
172
110
|
end
|
|
173
111
|
end
|
|
174
112
|
end
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
module Sentdm
|
|
2
|
+
module Models
|
|
3
|
+
type mutation_request = { sandbox: bool }
|
|
4
|
+
|
|
5
|
+
class MutationRequest < Sentdm::Internal::Type::BaseModel
|
|
6
|
+
attr_reader sandbox: bool?
|
|
7
|
+
|
|
8
|
+
def sandbox=: (bool) -> bool
|
|
9
|
+
|
|
10
|
+
def initialize: (?sandbox: bool) -> void
|
|
11
|
+
|
|
12
|
+
def to_hash: -> { sandbox: bool }
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
end
|