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
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Sentdm
|
|
4
|
+
module Models
|
|
5
|
+
class TemplateVariable < Sentdm::Internal::Type::BaseModel
|
|
6
|
+
# @!attribute name
|
|
7
|
+
#
|
|
8
|
+
# @return [String]
|
|
9
|
+
required :name, String
|
|
10
|
+
|
|
11
|
+
# @!attribute props
|
|
12
|
+
#
|
|
13
|
+
# @return [Sentdm::Models::TemplateVariable::Props]
|
|
14
|
+
required :props, -> { Sentdm::TemplateVariable::Props }
|
|
15
|
+
|
|
16
|
+
# @!attribute type
|
|
17
|
+
#
|
|
18
|
+
# @return [String]
|
|
19
|
+
required :type, String
|
|
20
|
+
|
|
21
|
+
# @!attribute id
|
|
22
|
+
#
|
|
23
|
+
# @return [Integer, nil]
|
|
24
|
+
optional :id, Integer
|
|
25
|
+
|
|
26
|
+
# @!method initialize(name:, props:, type:, id: nil)
|
|
27
|
+
# @param name [String]
|
|
28
|
+
# @param props [Sentdm::Models::TemplateVariable::Props]
|
|
29
|
+
# @param type [String]
|
|
30
|
+
# @param id [Integer]
|
|
31
|
+
|
|
32
|
+
# @see Sentdm::Models::TemplateVariable#props
|
|
33
|
+
class Props < Sentdm::Internal::Type::BaseModel
|
|
34
|
+
# @!attribute media_type
|
|
35
|
+
#
|
|
36
|
+
# @return [String]
|
|
37
|
+
required :media_type, String, api_name: :mediaType
|
|
38
|
+
|
|
39
|
+
# @!attribute sample
|
|
40
|
+
#
|
|
41
|
+
# @return [String]
|
|
42
|
+
required :sample, String
|
|
43
|
+
|
|
44
|
+
# @!attribute url
|
|
45
|
+
#
|
|
46
|
+
# @return [String]
|
|
47
|
+
required :url, String
|
|
48
|
+
|
|
49
|
+
# @!attribute variable_type
|
|
50
|
+
#
|
|
51
|
+
# @return [String]
|
|
52
|
+
required :variable_type, String, api_name: :variableType
|
|
53
|
+
|
|
54
|
+
# @!attribute alt
|
|
55
|
+
#
|
|
56
|
+
# @return [String, nil]
|
|
57
|
+
optional :alt, String, nil?: true
|
|
58
|
+
|
|
59
|
+
# @!attribute regex
|
|
60
|
+
#
|
|
61
|
+
# @return [String, nil]
|
|
62
|
+
optional :regex, String, nil?: true
|
|
63
|
+
|
|
64
|
+
# @!attribute short_url
|
|
65
|
+
#
|
|
66
|
+
# @return [String, nil]
|
|
67
|
+
optional :short_url, String, api_name: :shortUrl, nil?: true
|
|
68
|
+
|
|
69
|
+
# @!method initialize(media_type:, sample:, url:, variable_type:, alt: nil, regex: nil, short_url: nil)
|
|
70
|
+
# @param media_type [String]
|
|
71
|
+
# @param sample [String]
|
|
72
|
+
# @param url [String]
|
|
73
|
+
# @param variable_type [String]
|
|
74
|
+
# @param alt [String, nil]
|
|
75
|
+
# @param regex [String, nil]
|
|
76
|
+
# @param short_url [String, nil]
|
|
77
|
+
end
|
|
78
|
+
end
|
|
79
|
+
end
|
|
80
|
+
end
|
|
@@ -13,14 +13,14 @@ module Sentdm
|
|
|
13
13
|
# @!attribute error
|
|
14
14
|
# Error information
|
|
15
15
|
#
|
|
16
|
-
# @return [Sentdm::Models::
|
|
17
|
-
optional :error, -> { Sentdm::
|
|
16
|
+
# @return [Sentdm::Models::ErrorDetail, nil]
|
|
17
|
+
optional :error, -> { Sentdm::ErrorDetail }, nil?: true
|
|
18
18
|
|
|
19
19
|
# @!attribute meta
|
|
20
20
|
# Request and response metadata
|
|
21
21
|
#
|
|
22
|
-
# @return [Sentdm::Models::
|
|
23
|
-
optional :meta, -> { Sentdm::
|
|
22
|
+
# @return [Sentdm::Models::APIMeta, nil]
|
|
23
|
+
optional :meta, -> { Sentdm::APIMeta }
|
|
24
24
|
|
|
25
25
|
# @!attribute success
|
|
26
26
|
# Indicates whether the request was successful
|
|
@@ -33,9 +33,9 @@ module Sentdm
|
|
|
33
33
|
#
|
|
34
34
|
# @param data [Sentdm::Models::UserListResponse::Data, nil] List of users response
|
|
35
35
|
#
|
|
36
|
-
# @param error [Sentdm::Models::
|
|
36
|
+
# @param error [Sentdm::Models::ErrorDetail, nil] Error information
|
|
37
37
|
#
|
|
38
|
-
# @param meta [Sentdm::Models::
|
|
38
|
+
# @param meta [Sentdm::Models::APIMeta] Request and response metadata
|
|
39
39
|
#
|
|
40
40
|
# @param success [Boolean] Indicates whether the request was successful
|
|
41
41
|
|
|
@@ -44,158 +44,13 @@ module Sentdm
|
|
|
44
44
|
# @!attribute users
|
|
45
45
|
# List of users in the organization
|
|
46
46
|
#
|
|
47
|
-
# @return [Array<Sentdm::Models::
|
|
48
|
-
optional :users, -> { Sentdm::Internal::Type::ArrayOf[Sentdm::
|
|
47
|
+
# @return [Array<Sentdm::Models::UserResponse>, nil]
|
|
48
|
+
optional :users, -> { Sentdm::Internal::Type::ArrayOf[Sentdm::UserResponse] }
|
|
49
49
|
|
|
50
50
|
# @!method initialize(users: nil)
|
|
51
51
|
# List of users response
|
|
52
52
|
#
|
|
53
|
-
# @param users [Array<Sentdm::Models::
|
|
54
|
-
|
|
55
|
-
class User < Sentdm::Internal::Type::BaseModel
|
|
56
|
-
# @!attribute id
|
|
57
|
-
# User unique identifier
|
|
58
|
-
#
|
|
59
|
-
# @return [String, nil]
|
|
60
|
-
optional :id, String
|
|
61
|
-
|
|
62
|
-
# @!attribute created_at
|
|
63
|
-
# When the user was added to the organization
|
|
64
|
-
#
|
|
65
|
-
# @return [Time, nil]
|
|
66
|
-
optional :created_at, Time
|
|
67
|
-
|
|
68
|
-
# @!attribute email
|
|
69
|
-
# User email address
|
|
70
|
-
#
|
|
71
|
-
# @return [String, nil]
|
|
72
|
-
optional :email, String
|
|
73
|
-
|
|
74
|
-
# @!attribute invited_at
|
|
75
|
-
# When the user was invited
|
|
76
|
-
#
|
|
77
|
-
# @return [Time, nil]
|
|
78
|
-
optional :invited_at, Time, nil?: true
|
|
79
|
-
|
|
80
|
-
# @!attribute last_login_at
|
|
81
|
-
# When the user last logged in
|
|
82
|
-
#
|
|
83
|
-
# @return [Time, nil]
|
|
84
|
-
optional :last_login_at, Time, nil?: true
|
|
85
|
-
|
|
86
|
-
# @!attribute name
|
|
87
|
-
# User full name
|
|
88
|
-
#
|
|
89
|
-
# @return [String, nil]
|
|
90
|
-
optional :name, String
|
|
91
|
-
|
|
92
|
-
# @!attribute role
|
|
93
|
-
# User role in the organization: admin, billing, developer
|
|
94
|
-
#
|
|
95
|
-
# @return [String, nil]
|
|
96
|
-
optional :role, String
|
|
97
|
-
|
|
98
|
-
# @!attribute status
|
|
99
|
-
# User status: active, invited, suspended, rejected
|
|
100
|
-
#
|
|
101
|
-
# @return [String, nil]
|
|
102
|
-
optional :status, String
|
|
103
|
-
|
|
104
|
-
# @!attribute updated_at
|
|
105
|
-
# When the user record was last updated
|
|
106
|
-
#
|
|
107
|
-
# @return [Time, nil]
|
|
108
|
-
optional :updated_at, Time, nil?: true
|
|
109
|
-
|
|
110
|
-
# @!method initialize(id: nil, created_at: nil, email: nil, invited_at: nil, last_login_at: nil, name: nil, role: nil, status: nil, updated_at: nil)
|
|
111
|
-
# User response for v3 API
|
|
112
|
-
#
|
|
113
|
-
# @param id [String] User unique identifier
|
|
114
|
-
#
|
|
115
|
-
# @param created_at [Time] When the user was added to the organization
|
|
116
|
-
#
|
|
117
|
-
# @param email [String] User email address
|
|
118
|
-
#
|
|
119
|
-
# @param invited_at [Time, nil] When the user was invited
|
|
120
|
-
#
|
|
121
|
-
# @param last_login_at [Time, nil] When the user last logged in
|
|
122
|
-
#
|
|
123
|
-
# @param name [String] User full name
|
|
124
|
-
#
|
|
125
|
-
# @param role [String] User role in the organization: admin, billing, developer
|
|
126
|
-
#
|
|
127
|
-
# @param status [String] User status: active, invited, suspended, rejected
|
|
128
|
-
#
|
|
129
|
-
# @param updated_at [Time, nil] When the user record was last updated
|
|
130
|
-
end
|
|
131
|
-
end
|
|
132
|
-
|
|
133
|
-
# @see Sentdm::Models::UserListResponse#error
|
|
134
|
-
class Error < Sentdm::Internal::Type::BaseModel
|
|
135
|
-
# @!attribute code
|
|
136
|
-
# Machine-readable error code (e.g., "RESOURCE_001")
|
|
137
|
-
#
|
|
138
|
-
# @return [String, nil]
|
|
139
|
-
optional :code, String
|
|
140
|
-
|
|
141
|
-
# @!attribute details
|
|
142
|
-
# Additional validation error details (field-level errors)
|
|
143
|
-
#
|
|
144
|
-
# @return [Hash{Symbol=>Array<String>}, nil]
|
|
145
|
-
optional :details, Sentdm::Internal::Type::HashOf[Sentdm::Internal::Type::ArrayOf[String]], nil?: true
|
|
146
|
-
|
|
147
|
-
# @!attribute doc_url
|
|
148
|
-
# URL to documentation about this error
|
|
149
|
-
#
|
|
150
|
-
# @return [String, nil]
|
|
151
|
-
optional :doc_url, String, nil?: true
|
|
152
|
-
|
|
153
|
-
# @!attribute message
|
|
154
|
-
# Human-readable error message
|
|
155
|
-
#
|
|
156
|
-
# @return [String, nil]
|
|
157
|
-
optional :message, String
|
|
158
|
-
|
|
159
|
-
# @!method initialize(code: nil, details: nil, doc_url: nil, message: nil)
|
|
160
|
-
# Error information
|
|
161
|
-
#
|
|
162
|
-
# @param code [String] Machine-readable error code (e.g., "RESOURCE_001")
|
|
163
|
-
#
|
|
164
|
-
# @param details [Hash{Symbol=>Array<String>}, nil] Additional validation error details (field-level errors)
|
|
165
|
-
#
|
|
166
|
-
# @param doc_url [String, nil] URL to documentation about this error
|
|
167
|
-
#
|
|
168
|
-
# @param message [String] Human-readable error message
|
|
169
|
-
end
|
|
170
|
-
|
|
171
|
-
# @see Sentdm::Models::UserListResponse#meta
|
|
172
|
-
class Meta < Sentdm::Internal::Type::BaseModel
|
|
173
|
-
# @!attribute request_id
|
|
174
|
-
# Unique identifier for this request (for tracing and support)
|
|
175
|
-
#
|
|
176
|
-
# @return [String, nil]
|
|
177
|
-
optional :request_id, String
|
|
178
|
-
|
|
179
|
-
# @!attribute timestamp
|
|
180
|
-
# Server timestamp when the response was generated
|
|
181
|
-
#
|
|
182
|
-
# @return [Time, nil]
|
|
183
|
-
optional :timestamp, Time
|
|
184
|
-
|
|
185
|
-
# @!attribute version
|
|
186
|
-
# API version used for this request
|
|
187
|
-
#
|
|
188
|
-
# @return [String, nil]
|
|
189
|
-
optional :version, String
|
|
190
|
-
|
|
191
|
-
# @!method initialize(request_id: nil, timestamp: nil, version: nil)
|
|
192
|
-
# Request and response metadata
|
|
193
|
-
#
|
|
194
|
-
# @param request_id [String] Unique identifier for this request (for tracing and support)
|
|
195
|
-
#
|
|
196
|
-
# @param timestamp [Time] Server timestamp when the response was generated
|
|
197
|
-
#
|
|
198
|
-
# @param version [String] API version used for this request
|
|
53
|
+
# @param users [Array<Sentdm::Models::UserResponse>] List of users in the organization
|
|
199
54
|
end
|
|
200
55
|
end
|
|
201
56
|
end
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
module Sentdm
|
|
4
4
|
module Models
|
|
5
5
|
# @see Sentdm::Resources::Users#remove
|
|
6
|
-
class UserRemoveParams < Sentdm::
|
|
6
|
+
class UserRemoveParams < Sentdm::Models::MutationRequest
|
|
7
7
|
extend Sentdm::Internal::Type::RequestParameters::Converter
|
|
8
8
|
include Sentdm::Internal::Type::RequestParameters
|
|
9
9
|
|
|
@@ -12,28 +12,14 @@ module Sentdm
|
|
|
12
12
|
# @return [String]
|
|
13
13
|
required :user_id, String
|
|
14
14
|
|
|
15
|
-
# @!attribute sandbox
|
|
16
|
-
# Sandbox flag - when true, the operation is simulated without side effects Useful
|
|
17
|
-
# for testing integrations without actual execution
|
|
18
|
-
#
|
|
19
|
-
# @return [Boolean, nil]
|
|
20
|
-
optional :sandbox, Sentdm::Internal::Type::Boolean
|
|
21
|
-
|
|
22
15
|
# @!attribute x_profile_id
|
|
23
16
|
#
|
|
24
17
|
# @return [String, nil]
|
|
25
18
|
optional :x_profile_id, String
|
|
26
19
|
|
|
27
|
-
# @!method initialize(user_id:,
|
|
28
|
-
# Some parameter documentations has been truncated, see
|
|
29
|
-
# {Sentdm::Models::UserRemoveParams} for more details.
|
|
30
|
-
#
|
|
20
|
+
# @!method initialize(user_id:, x_profile_id: nil, request_options: {})
|
|
31
21
|
# @param user_id [String]
|
|
32
|
-
#
|
|
33
|
-
# @param sandbox [Boolean] Sandbox flag - when true, the operation is simulated without side effects
|
|
34
|
-
#
|
|
35
22
|
# @param x_profile_id [String]
|
|
36
|
-
#
|
|
37
23
|
# @param request_options [Sentdm::RequestOptions, Hash{Symbol=>Object}]
|
|
38
24
|
end
|
|
39
25
|
end
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Sentdm
|
|
4
|
+
module Models
|
|
5
|
+
class UserResponse < Sentdm::Internal::Type::BaseModel
|
|
6
|
+
# @!attribute id
|
|
7
|
+
# User unique identifier
|
|
8
|
+
#
|
|
9
|
+
# @return [String, nil]
|
|
10
|
+
optional :id, String
|
|
11
|
+
|
|
12
|
+
# @!attribute created_at
|
|
13
|
+
# When the user was added to the organization
|
|
14
|
+
#
|
|
15
|
+
# @return [Time, nil]
|
|
16
|
+
optional :created_at, Time
|
|
17
|
+
|
|
18
|
+
# @!attribute email
|
|
19
|
+
# User email address
|
|
20
|
+
#
|
|
21
|
+
# @return [String, nil]
|
|
22
|
+
optional :email, String
|
|
23
|
+
|
|
24
|
+
# @!attribute invited_at
|
|
25
|
+
# When the user was invited
|
|
26
|
+
#
|
|
27
|
+
# @return [Time, nil]
|
|
28
|
+
optional :invited_at, Time, nil?: true
|
|
29
|
+
|
|
30
|
+
# @!attribute last_login_at
|
|
31
|
+
# When the user last logged in
|
|
32
|
+
#
|
|
33
|
+
# @return [Time, nil]
|
|
34
|
+
optional :last_login_at, Time, nil?: true
|
|
35
|
+
|
|
36
|
+
# @!attribute name
|
|
37
|
+
# User full name
|
|
38
|
+
#
|
|
39
|
+
# @return [String, nil]
|
|
40
|
+
optional :name, String
|
|
41
|
+
|
|
42
|
+
# @!attribute role
|
|
43
|
+
# User role in the organization: admin, billing, developer
|
|
44
|
+
#
|
|
45
|
+
# @return [String, nil]
|
|
46
|
+
optional :role, String
|
|
47
|
+
|
|
48
|
+
# @!attribute status
|
|
49
|
+
# User status: active, invited, suspended, rejected
|
|
50
|
+
#
|
|
51
|
+
# @return [String, nil]
|
|
52
|
+
optional :status, String
|
|
53
|
+
|
|
54
|
+
# @!attribute updated_at
|
|
55
|
+
# When the user record was last updated
|
|
56
|
+
#
|
|
57
|
+
# @return [Time, nil]
|
|
58
|
+
optional :updated_at, Time, nil?: true
|
|
59
|
+
|
|
60
|
+
# @!method initialize(id: nil, created_at: nil, email: nil, invited_at: nil, last_login_at: nil, name: nil, role: nil, status: nil, updated_at: nil)
|
|
61
|
+
# User response for v3 API
|
|
62
|
+
#
|
|
63
|
+
# @param id [String] User unique identifier
|
|
64
|
+
#
|
|
65
|
+
# @param created_at [Time] When the user was added to the organization
|
|
66
|
+
#
|
|
67
|
+
# @param email [String] User email address
|
|
68
|
+
#
|
|
69
|
+
# @param invited_at [Time, nil] When the user was invited
|
|
70
|
+
#
|
|
71
|
+
# @param last_login_at [Time, nil] When the user last logged in
|
|
72
|
+
#
|
|
73
|
+
# @param name [String] User full name
|
|
74
|
+
#
|
|
75
|
+
# @param role [String] User role in the organization: admin, billing, developer
|
|
76
|
+
#
|
|
77
|
+
# @param status [String] User status: active, invited, suspended, rejected
|
|
78
|
+
#
|
|
79
|
+
# @param updated_at [Time, nil] When the user record was last updated
|
|
80
|
+
end
|
|
81
|
+
end
|
|
82
|
+
end
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Sentdm
|
|
4
|
+
module Models
|
|
5
|
+
class WebhookEventType < Sentdm::Internal::Type::BaseModel
|
|
6
|
+
# @!attribute description
|
|
7
|
+
#
|
|
8
|
+
# @return [String, nil]
|
|
9
|
+
optional :description, String, nil?: true
|
|
10
|
+
|
|
11
|
+
# @!attribute display_name
|
|
12
|
+
#
|
|
13
|
+
# @return [String, nil]
|
|
14
|
+
optional :display_name, String
|
|
15
|
+
|
|
16
|
+
# @!attribute event_type
|
|
17
|
+
#
|
|
18
|
+
# @return [String, nil]
|
|
19
|
+
optional :event_type, String, nil?: true
|
|
20
|
+
|
|
21
|
+
# @!attribute is_active
|
|
22
|
+
#
|
|
23
|
+
# @return [Boolean, nil]
|
|
24
|
+
optional :is_active, Sentdm::Internal::Type::Boolean
|
|
25
|
+
|
|
26
|
+
# @!attribute name
|
|
27
|
+
#
|
|
28
|
+
# @return [String, nil]
|
|
29
|
+
optional :name, String
|
|
30
|
+
|
|
31
|
+
# @!attribute sub_types
|
|
32
|
+
#
|
|
33
|
+
# @return [Array<Sentdm::Models::WebhookEventType>, nil]
|
|
34
|
+
optional :sub_types, -> { Sentdm::Internal::Type::ArrayOf[Sentdm::WebhookEventType] }, nil?: true
|
|
35
|
+
|
|
36
|
+
# @!method initialize(description: nil, display_name: nil, event_type: nil, is_active: nil, name: nil, sub_types: nil)
|
|
37
|
+
# @param description [String, nil]
|
|
38
|
+
# @param display_name [String]
|
|
39
|
+
# @param event_type [String, nil]
|
|
40
|
+
# @param is_active [Boolean]
|
|
41
|
+
# @param name [String]
|
|
42
|
+
# @param sub_types [Array<Sentdm::Models::WebhookEventType>, nil]
|
|
43
|
+
end
|
|
44
|
+
end
|
|
45
|
+
end
|
|
@@ -13,14 +13,14 @@ module Sentdm
|
|
|
13
13
|
# @!attribute error
|
|
14
14
|
# Error information
|
|
15
15
|
#
|
|
16
|
-
# @return [Sentdm::Models::
|
|
17
|
-
optional :error, -> { Sentdm::
|
|
16
|
+
# @return [Sentdm::Models::ErrorDetail, nil]
|
|
17
|
+
optional :error, -> { Sentdm::ErrorDetail }, nil?: true
|
|
18
18
|
|
|
19
19
|
# @!attribute meta
|
|
20
20
|
# Request and response metadata
|
|
21
21
|
#
|
|
22
|
-
# @return [Sentdm::Models::
|
|
23
|
-
optional :meta, -> { Sentdm::
|
|
22
|
+
# @return [Sentdm::Models::APIMeta, nil]
|
|
23
|
+
optional :meta, -> { Sentdm::APIMeta }
|
|
24
24
|
|
|
25
25
|
# @!attribute success
|
|
26
26
|
# Indicates whether the request was successful
|
|
@@ -33,9 +33,9 @@ module Sentdm
|
|
|
33
33
|
#
|
|
34
34
|
# @param data [Sentdm::Models::WebhookListEventTypesResponse::Data, nil] The response data (null if error)
|
|
35
35
|
#
|
|
36
|
-
# @param error [Sentdm::Models::
|
|
36
|
+
# @param error [Sentdm::Models::ErrorDetail, nil] Error information
|
|
37
37
|
#
|
|
38
|
-
# @param meta [Sentdm::Models::
|
|
38
|
+
# @param meta [Sentdm::Models::APIMeta] Request and response metadata
|
|
39
39
|
#
|
|
40
40
|
# @param success [Boolean] Indicates whether the request was successful
|
|
41
41
|
|
|
@@ -43,122 +43,13 @@ module Sentdm
|
|
|
43
43
|
class Data < Sentdm::Internal::Type::BaseModel
|
|
44
44
|
# @!attribute event_types
|
|
45
45
|
#
|
|
46
|
-
# @return [Array<Sentdm::Models::
|
|
47
|
-
optional :event_types,
|
|
48
|
-
-> { Sentdm::Internal::Type::ArrayOf[Sentdm::Models::WebhookListEventTypesResponse::Data::EventType] }
|
|
46
|
+
# @return [Array<Sentdm::Models::WebhookEventType>, nil]
|
|
47
|
+
optional :event_types, -> { Sentdm::Internal::Type::ArrayOf[Sentdm::WebhookEventType] }
|
|
49
48
|
|
|
50
49
|
# @!method initialize(event_types: nil)
|
|
51
50
|
# The response data (null if error)
|
|
52
51
|
#
|
|
53
|
-
# @param event_types [Array<Sentdm::Models::
|
|
54
|
-
|
|
55
|
-
class EventType < Sentdm::Internal::Type::BaseModel
|
|
56
|
-
# @!attribute description
|
|
57
|
-
#
|
|
58
|
-
# @return [String, nil]
|
|
59
|
-
optional :description, String, nil?: true
|
|
60
|
-
|
|
61
|
-
# @!attribute display_name
|
|
62
|
-
#
|
|
63
|
-
# @return [String, nil]
|
|
64
|
-
optional :display_name, String
|
|
65
|
-
|
|
66
|
-
# @!attribute event_type
|
|
67
|
-
#
|
|
68
|
-
# @return [String, nil]
|
|
69
|
-
optional :event_type, String, nil?: true
|
|
70
|
-
|
|
71
|
-
# @!attribute is_active
|
|
72
|
-
#
|
|
73
|
-
# @return [Boolean, nil]
|
|
74
|
-
optional :is_active, Sentdm::Internal::Type::Boolean
|
|
75
|
-
|
|
76
|
-
# @!attribute name
|
|
77
|
-
#
|
|
78
|
-
# @return [String, nil]
|
|
79
|
-
optional :name, String
|
|
80
|
-
|
|
81
|
-
# @!attribute sub_types
|
|
82
|
-
#
|
|
83
|
-
# @return [Array<Object>, nil]
|
|
84
|
-
optional :sub_types, Sentdm::Internal::Type::ArrayOf[Sentdm::Internal::Type::Unknown], nil?: true
|
|
85
|
-
|
|
86
|
-
# @!method initialize(description: nil, display_name: nil, event_type: nil, is_active: nil, name: nil, sub_types: nil)
|
|
87
|
-
# @param description [String, nil]
|
|
88
|
-
# @param display_name [String]
|
|
89
|
-
# @param event_type [String, nil]
|
|
90
|
-
# @param is_active [Boolean]
|
|
91
|
-
# @param name [String]
|
|
92
|
-
# @param sub_types [Array<Object>, nil]
|
|
93
|
-
end
|
|
94
|
-
end
|
|
95
|
-
|
|
96
|
-
# @see Sentdm::Models::WebhookListEventTypesResponse#error
|
|
97
|
-
class Error < Sentdm::Internal::Type::BaseModel
|
|
98
|
-
# @!attribute code
|
|
99
|
-
# Machine-readable error code (e.g., "RESOURCE_001")
|
|
100
|
-
#
|
|
101
|
-
# @return [String, nil]
|
|
102
|
-
optional :code, String
|
|
103
|
-
|
|
104
|
-
# @!attribute details
|
|
105
|
-
# Additional validation error details (field-level errors)
|
|
106
|
-
#
|
|
107
|
-
# @return [Hash{Symbol=>Array<String>}, nil]
|
|
108
|
-
optional :details, Sentdm::Internal::Type::HashOf[Sentdm::Internal::Type::ArrayOf[String]], nil?: true
|
|
109
|
-
|
|
110
|
-
# @!attribute doc_url
|
|
111
|
-
# URL to documentation about this error
|
|
112
|
-
#
|
|
113
|
-
# @return [String, nil]
|
|
114
|
-
optional :doc_url, String, nil?: true
|
|
115
|
-
|
|
116
|
-
# @!attribute message
|
|
117
|
-
# Human-readable error message
|
|
118
|
-
#
|
|
119
|
-
# @return [String, nil]
|
|
120
|
-
optional :message, String
|
|
121
|
-
|
|
122
|
-
# @!method initialize(code: nil, details: nil, doc_url: nil, message: nil)
|
|
123
|
-
# Error information
|
|
124
|
-
#
|
|
125
|
-
# @param code [String] Machine-readable error code (e.g., "RESOURCE_001")
|
|
126
|
-
#
|
|
127
|
-
# @param details [Hash{Symbol=>Array<String>}, nil] Additional validation error details (field-level errors)
|
|
128
|
-
#
|
|
129
|
-
# @param doc_url [String, nil] URL to documentation about this error
|
|
130
|
-
#
|
|
131
|
-
# @param message [String] Human-readable error message
|
|
132
|
-
end
|
|
133
|
-
|
|
134
|
-
# @see Sentdm::Models::WebhookListEventTypesResponse#meta
|
|
135
|
-
class Meta < Sentdm::Internal::Type::BaseModel
|
|
136
|
-
# @!attribute request_id
|
|
137
|
-
# Unique identifier for this request (for tracing and support)
|
|
138
|
-
#
|
|
139
|
-
# @return [String, nil]
|
|
140
|
-
optional :request_id, String
|
|
141
|
-
|
|
142
|
-
# @!attribute timestamp
|
|
143
|
-
# Server timestamp when the response was generated
|
|
144
|
-
#
|
|
145
|
-
# @return [Time, nil]
|
|
146
|
-
optional :timestamp, Time
|
|
147
|
-
|
|
148
|
-
# @!attribute version
|
|
149
|
-
# API version used for this request
|
|
150
|
-
#
|
|
151
|
-
# @return [String, nil]
|
|
152
|
-
optional :version, String
|
|
153
|
-
|
|
154
|
-
# @!method initialize(request_id: nil, timestamp: nil, version: nil)
|
|
155
|
-
# Request and response metadata
|
|
156
|
-
#
|
|
157
|
-
# @param request_id [String] Unique identifier for this request (for tracing and support)
|
|
158
|
-
#
|
|
159
|
-
# @param timestamp [Time] Server timestamp when the response was generated
|
|
160
|
-
#
|
|
161
|
-
# @param version [String] API version used for this request
|
|
52
|
+
# @param event_types [Array<Sentdm::Models::WebhookEventType>]
|
|
162
53
|
end
|
|
163
54
|
end
|
|
164
55
|
end
|