sentdm 0.3.1 → 0.5.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 +16 -0
- data/README.md +1 -27
- data/lib/sentdm/client.rb +5 -9
- data/lib/sentdm/internal/type/base_model.rb +5 -5
- data/lib/sentdm/models/api_meta.rb +1 -9
- 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 +274 -0
- data/lib/sentdm/models/contact_create_params.rb +13 -6
- data/lib/sentdm/models/contact_delete_params.rb +9 -2
- data/lib/sentdm/models/contact_list_params.rb +10 -2
- 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/contact_retrieve_params.rb +7 -1
- data/lib/sentdm/models/contact_update_params.rb +13 -6
- data/lib/sentdm/models/me_retrieve_params.rb +7 -1
- data/lib/sentdm/models/me_retrieve_response.rb +152 -7
- data/lib/sentdm/models/message_retrieve_activities_params.rb +7 -1
- data/lib/sentdm/models/message_retrieve_activities_response.rb +19 -5
- data/lib/sentdm/models/message_retrieve_status_params.rb +7 -1
- data/lib/sentdm/models/message_retrieve_status_response.rb +8 -1
- data/lib/sentdm/models/message_send_params.rb +17 -10
- data/lib/sentdm/models/mutation_request_base.rb +20 -0
- data/lib/sentdm/models/{lookup_retrieve_phone_info_params.rb → number_lookup_params.rb} +9 -3
- data/lib/sentdm/models/{lookup_retrieve_phone_info_response.rb → number_lookup_response.rb} +21 -21
- data/lib/sentdm/models/payment_details.rb +44 -0
- data/lib/sentdm/models/{profile_complete_params.rb → profile_complete_setup_params.rb} +16 -9
- data/lib/sentdm/models/{profile_complete_response.rb → profile_complete_setup_response.rb} +1 -1
- data/lib/sentdm/models/profile_create_params.rb +111 -11
- data/lib/sentdm/models/profile_delete_params.rb +18 -18
- data/lib/sentdm/models/profile_detail.rb +483 -68
- data/lib/sentdm/models/profile_list_params.rb +7 -1
- data/lib/sentdm/models/profile_retrieve_params.rb +7 -1
- data/lib/sentdm/models/profile_update_params.rb +60 -22
- data/lib/sentdm/models/{brands/api_response_tcr_campaign_with_use_cases.rb → profiles/api_response_of_tcr_campaign_with_use_cases.rb} +6 -6
- data/lib/sentdm/models/profiles/campaign_create_params.rb +57 -0
- data/lib/sentdm/models/{brands → profiles}/campaign_data.rb +28 -7
- 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/{brands → profiles}/campaign_list_response.rb +5 -5
- 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}/tcr_campaign_with_use_cases.rb +15 -15
- data/lib/sentdm/models/template_create_params.rb +17 -10
- data/lib/sentdm/models/template_definition.rb +255 -15
- data/lib/sentdm/models/template_delete_params.rb +13 -6
- data/lib/sentdm/models/template_list_params.rb +18 -2
- data/lib/sentdm/models/template_retrieve_params.rb +7 -1
- data/lib/sentdm/models/template_update_params.rb +17 -10
- data/lib/sentdm/models/template_variable.rb +7 -1
- data/lib/sentdm/models/user_invite_params.rb +13 -6
- data/lib/sentdm/models/user_list_params.rb +7 -1
- data/lib/sentdm/models/user_remove_params.rb +17 -17
- data/lib/sentdm/models/user_retrieve_params.rb +7 -1
- data/lib/sentdm/models/user_update_role_params.rb +15 -16
- data/lib/sentdm/models/webhook_create_params.rb +13 -6
- data/lib/sentdm/models/webhook_delete_params.rb +7 -1
- data/lib/sentdm/models/webhook_list_event_types_params.rb +7 -1
- data/lib/sentdm/models/webhook_list_events_params.rb +7 -1
- data/lib/sentdm/models/webhook_list_params.rb +7 -1
- data/lib/sentdm/models/webhook_retrieve_params.rb +7 -1
- data/lib/sentdm/models/webhook_rotate_secret_params.rb +8 -2
- data/lib/sentdm/models/webhook_test_params.rb +13 -6
- data/lib/sentdm/models/webhook_toggle_status_params.rb +13 -6
- data/lib/sentdm/models/webhook_update_params.rb +13 -6
- data/lib/sentdm/models.rb +14 -38
- data/lib/sentdm/resources/contacts.rb +49 -26
- data/lib/sentdm/resources/me.rb +24 -5
- data/lib/sentdm/resources/messages.rb +24 -8
- data/lib/sentdm/resources/numbers.rb +44 -0
- data/lib/sentdm/resources/profiles/campaigns.rb +160 -0
- data/lib/sentdm/resources/profiles.rb +125 -36
- data/lib/sentdm/resources/templates.rb +47 -24
- data/lib/sentdm/resources/users.rb +40 -23
- data/lib/sentdm/resources/webhooks.rb +92 -34
- data/lib/sentdm/version.rb +1 -1
- data/lib/sentdm.rb +22 -35
- data/rbi/sentdm/client.rbi +4 -7
- data/rbi/sentdm/models/api_meta.rbi +4 -18
- data/rbi/sentdm/models/{api_response_brand_with_kyc.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 +406 -0
- data/rbi/sentdm/models/contact_create_params.rbi +19 -10
- data/rbi/sentdm/models/contact_delete_params.rbi +10 -1
- data/rbi/sentdm/models/contact_list_params.rbi +11 -0
- 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/contact_retrieve_params.rbi +13 -2
- data/rbi/sentdm/models/contact_update_params.rbi +19 -10
- data/rbi/sentdm/models/me_retrieve_params.rbi +16 -5
- data/rbi/sentdm/models/me_retrieve_response.rbi +316 -16
- data/rbi/sentdm/models/message_retrieve_activities_params.rbi +13 -2
- data/rbi/sentdm/models/message_retrieve_activities_response.rbi +18 -6
- data/rbi/sentdm/models/message_retrieve_status_params.rbi +13 -2
- data/rbi/sentdm/models/message_retrieve_status_response.rbi +6 -0
- data/rbi/sentdm/models/message_send_params.rbi +22 -13
- data/rbi/sentdm/models/mutation_request_base.rbi +32 -0
- data/rbi/sentdm/models/{lookup_retrieve_phone_info_params.rbi → number_lookup_params.rbi} +15 -7
- data/rbi/sentdm/models/{lookup_retrieve_phone_info_response.rbi → number_lookup_response.rbi} +16 -33
- data/rbi/sentdm/models/payment_details.rbi +59 -0
- data/rbi/sentdm/models/{profile_complete_params.rbi → profile_complete_setup_params.rbi} +21 -12
- data/rbi/sentdm/models/{profile_complete_response.rbi → profile_complete_setup_response.rbi} +1 -1
- data/rbi/sentdm/models/profile_create_params.rbi +189 -15
- data/rbi/sentdm/models/profile_delete_params.rbi +36 -24
- data/rbi/sentdm/models/profile_detail.rbi +725 -111
- data/rbi/sentdm/models/profile_list_params.rbi +16 -5
- data/rbi/sentdm/models/profile_retrieve_params.rbi +13 -2
- data/rbi/sentdm/models/profile_update_params.rbi +97 -30
- 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/{brands → profiles}/campaign_create_params.rbi +29 -20
- data/rbi/sentdm/models/{brands → profiles}/campaign_data.rbi +51 -16
- data/rbi/sentdm/models/{brands → profiles}/campaign_delete_params.rbi +23 -12
- data/rbi/sentdm/models/profiles/campaign_list_params.rbi +51 -0
- data/rbi/sentdm/models/{brands → profiles}/campaign_list_response.rbi +7 -5
- data/rbi/sentdm/models/{brands → profiles}/campaign_update_params.rbi +29 -20
- data/rbi/sentdm/models/{brands → profiles}/messaging_use_case_us.rbi +20 -16
- data/rbi/sentdm/models/{brands → profiles}/tcr_campaign_with_use_cases.rbi +35 -29
- data/rbi/sentdm/models/template_create_params.rbi +22 -13
- data/rbi/sentdm/models/template_definition.rbi +405 -74
- data/rbi/sentdm/models/template_delete_params.rbi +19 -10
- data/rbi/sentdm/models/template_list_params.rbi +19 -0
- data/rbi/sentdm/models/template_retrieve_params.rbi +13 -2
- data/rbi/sentdm/models/template_update_params.rbi +22 -13
- data/rbi/sentdm/models/template_variable.rbi +6 -0
- data/rbi/sentdm/models/user_invite_params.rbi +19 -10
- data/rbi/sentdm/models/user_list_params.rbi +16 -5
- data/rbi/sentdm/models/user_remove_params.rbi +35 -23
- data/rbi/sentdm/models/user_retrieve_params.rbi +13 -2
- data/rbi/sentdm/models/user_update_role_params.rbi +23 -25
- data/rbi/sentdm/models/webhook_create_params.rbi +19 -10
- data/rbi/sentdm/models/webhook_delete_params.rbi +13 -2
- data/rbi/sentdm/models/webhook_list_event_types_params.rbi +16 -5
- data/rbi/sentdm/models/webhook_list_events_params.rbi +16 -1
- data/rbi/sentdm/models/webhook_list_params.rbi +9 -0
- data/rbi/sentdm/models/webhook_retrieve_params.rbi +13 -2
- data/rbi/sentdm/models/webhook_rotate_secret_params.rbi +16 -2
- data/rbi/sentdm/models/webhook_test_params.rbi +19 -10
- data/rbi/sentdm/models/webhook_toggle_status_params.rbi +19 -10
- data/rbi/sentdm/models/webhook_update_params.rbi +19 -10
- data/rbi/sentdm/models.rbi +14 -38
- data/rbi/sentdm/resources/contacts.rbi +40 -15
- data/rbi/sentdm/resources/me.rbi +25 -7
- data/rbi/sentdm/resources/messages.rbi +17 -4
- data/rbi/sentdm/resources/numbers.rbi +32 -0
- data/rbi/sentdm/resources/profiles/campaigns.rbi +127 -0
- data/rbi/sentdm/resources/profiles.rbi +179 -39
- data/rbi/sentdm/resources/templates.rbi +47 -19
- data/rbi/sentdm/resources/users.rbi +47 -25
- data/rbi/sentdm/resources/webhooks.rbi +92 -20
- data/sig/sentdm/client.rbs +2 -4
- data/sig/sentdm/models/api_meta.rbs +2 -16
- 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 +210 -0
- data/sig/sentdm/models/contact_create_params.rbs +16 -5
- data/sig/sentdm/models/contact_delete_params.rbs +12 -2
- data/sig/sentdm/models/contact_list_params.rbs +8 -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/contact_retrieve_params.rbs +12 -2
- data/sig/sentdm/models/contact_update_params.rbs +13 -6
- data/sig/sentdm/models/me_retrieve_params.rbs +14 -3
- data/sig/sentdm/models/me_retrieve_response.rbs +134 -7
- data/sig/sentdm/models/message_retrieve_activities_params.rbs +12 -2
- data/sig/sentdm/models/message_retrieve_activities_response.rbs +9 -4
- data/sig/sentdm/models/message_retrieve_status_params.rbs +12 -2
- data/sig/sentdm/models/message_retrieve_status_response.rbs +5 -0
- data/sig/sentdm/models/message_send_params.rbs +15 -8
- data/sig/sentdm/models/mutation_request_base.rbs +15 -0
- data/sig/sentdm/models/{lookup_retrieve_phone_info_params.rbs → number_lookup_params.rbs} +10 -3
- data/sig/sentdm/models/{lookup_retrieve_phone_info_response.rbs → number_lookup_response.rbs} +14 -16
- data/sig/sentdm/models/payment_details.rbs +30 -0
- data/sig/sentdm/models/{profile_complete_params.rbs → profile_complete_setup_params.rbs} +15 -8
- data/sig/sentdm/models/profile_complete_setup_response.rbs +5 -0
- data/sig/sentdm/models/profile_create_params.rbs +57 -7
- data/sig/sentdm/models/profile_delete_params.rbs +23 -13
- data/sig/sentdm/models/profile_detail.rbs +374 -68
- data/sig/sentdm/models/profile_list_params.rbs +14 -3
- data/sig/sentdm/models/profile_retrieve_params.rbs +8 -1
- data/sig/sentdm/models/profile_update_params.rbs +32 -17
- data/sig/sentdm/models/{brands/api_response_tcr_campaign_with_use_cases.rbs → profiles/api_response_of_tcr_campaign_with_use_cases.rbs} +7 -7
- data/sig/sentdm/models/profiles/campaign_create_params.rbs +54 -0
- data/sig/sentdm/models/{brands → profiles}/campaign_data.rbs +27 -5
- data/sig/sentdm/models/{brands → profiles}/campaign_delete_params.rbs +17 -10
- data/sig/sentdm/models/{brands → profiles}/campaign_list_params.rbs +12 -5
- data/sig/sentdm/models/{brands → profiles}/campaign_list_response.rbs +5 -5
- data/sig/sentdm/models/{brands → profiles}/campaign_update_params.rbs +22 -15
- data/sig/sentdm/models/{brands → profiles}/messaging_use_case_us.rbs +2 -2
- data/sig/sentdm/models/{brands → profiles}/tcr_campaign_with_use_cases.rbs +29 -29
- data/sig/sentdm/models/template_create_params.rbs +15 -8
- data/sig/sentdm/models/template_definition.rbs +233 -20
- data/sig/sentdm/models/template_delete_params.rbs +16 -5
- data/sig/sentdm/models/template_list_params.rbs +13 -1
- data/sig/sentdm/models/template_retrieve_params.rbs +12 -2
- data/sig/sentdm/models/template_update_params.rbs +15 -8
- data/sig/sentdm/models/template_variable.rbs +5 -0
- data/sig/sentdm/models/user_invite_params.rbs +13 -6
- data/sig/sentdm/models/user_list_params.rbs +14 -3
- data/sig/sentdm/models/user_remove_params.rbs +23 -13
- data/sig/sentdm/models/user_retrieve_params.rbs +8 -1
- data/sig/sentdm/models/user_update_role_params.rbs +17 -17
- data/sig/sentdm/models/webhook_create_params.rbs +13 -6
- data/sig/sentdm/models/webhook_delete_params.rbs +12 -2
- data/sig/sentdm/models/webhook_list_event_types_params.rbs +13 -3
- data/sig/sentdm/models/webhook_list_events_params.rbs +13 -1
- data/sig/sentdm/models/webhook_list_params.rbs +13 -1
- data/sig/sentdm/models/webhook_retrieve_params.rbs +12 -2
- data/sig/sentdm/models/webhook_rotate_secret_params.rbs +9 -2
- data/sig/sentdm/models/webhook_test_params.rbs +13 -6
- data/sig/sentdm/models/webhook_toggle_status_params.rbs +17 -5
- data/sig/sentdm/models/webhook_update_params.rbs +13 -6
- data/sig/sentdm/models.rbs +14 -32
- data/sig/sentdm/resources/contacts.rbs +10 -5
- data/sig/sentdm/resources/me.rbs +1 -0
- data/sig/sentdm/resources/messages.rbs +4 -1
- data/sig/sentdm/resources/{lookup.rbs → numbers.rbs} +4 -3
- data/sig/sentdm/resources/profiles/campaigns.rbs +42 -0
- data/sig/sentdm/resources/profiles.rbs +22 -9
- data/sig/sentdm/resources/templates.rbs +9 -3
- data/sig/sentdm/resources/users.rbs +10 -7
- data/sig/sentdm/resources/webhooks.rbs +18 -5
- metadata +67 -106
- data/lib/sentdm/models/api_response_brand_with_kyc.rb +0 -43
- data/lib/sentdm/models/brand_create_params.rb +0 -41
- data/lib/sentdm/models/brand_data.rb +0 -237
- data/lib/sentdm/models/brand_delete_params.rb +0 -34
- data/lib/sentdm/models/brand_list_params.rb +0 -14
- data/lib/sentdm/models/brand_list_response.rb +0 -43
- data/lib/sentdm/models/brand_update_params.rb +0 -48
- data/lib/sentdm/models/brand_with_kyc.rb +0 -335
- data/lib/sentdm/models/brands/base_dto.rb +0 -32
- data/lib/sentdm/models/brands/campaign_create_params.rb +0 -50
- data/lib/sentdm/models/brands/campaign_delete_params.rb +0 -43
- data/lib/sentdm/models/brands/campaign_list_params.rb +0 -22
- data/lib/sentdm/models/brands/campaign_update_params.rb +0 -57
- data/lib/sentdm/models/brands/sent_dm_services_endpoints_customer_ap_iv3_contracts_requests_campaigns_campaign_use_case_data.rb +0 -30
- data/lib/sentdm/models/mutation_request.rb +0 -20
- data/lib/sentdm/models/sent_dm_services_common_contracts_poc_os_authentication_config.rb +0 -34
- data/lib/sentdm/models/sent_dm_services_common_contracts_poc_os_template_body.rb +0 -40
- data/lib/sentdm/models/sent_dm_services_common_contracts_poc_os_template_button.rb +0 -38
- data/lib/sentdm/models/sent_dm_services_common_contracts_poc_os_template_button_props.rb +0 -81
- data/lib/sentdm/models/sent_dm_services_common_contracts_poc_os_template_footer.rb +0 -34
- data/lib/sentdm/models/sent_dm_services_common_contracts_poc_os_template_header.rb +0 -39
- data/lib/sentdm/resources/brands/campaigns.rb +0 -145
- data/lib/sentdm/resources/brands.rb +0 -130
- data/lib/sentdm/resources/lookup.rb +0 -35
- data/rbi/sentdm/models/api_response_contact.rbi +0 -74
- data/rbi/sentdm/models/brand_create_params.rbi +0 -68
- data/rbi/sentdm/models/brand_data.rbi +0 -266
- data/rbi/sentdm/models/brand_delete_params.rbi +0 -68
- data/rbi/sentdm/models/brand_list_params.rbi +0 -27
- data/rbi/sentdm/models/brand_list_response.rbi +0 -71
- data/rbi/sentdm/models/brand_update_params.rbi +0 -74
- data/rbi/sentdm/models/brand_with_kyc.rbi +0 -398
- data/rbi/sentdm/models/brands/base_dto.rbi +0 -53
- data/rbi/sentdm/models/brands/campaign_list_params.rbi +0 -37
- data/rbi/sentdm/models/brands/sent_dm_services_endpoints_customer_ap_iv3_contracts_requests_campaigns_campaign_use_case_data.rbi +0 -52
- data/rbi/sentdm/models/mutation_request.rbi +0 -32
- data/rbi/sentdm/models/sent_dm_services_common_contracts_poc_os_authentication_config.rbi +0 -56
- data/rbi/sentdm/models/sent_dm_services_common_contracts_poc_os_template_body.rbi +0 -76
- data/rbi/sentdm/models/sent_dm_services_common_contracts_poc_os_template_button.rbi +0 -79
- data/rbi/sentdm/models/sent_dm_services_common_contracts_poc_os_template_button_props.rbi +0 -104
- data/rbi/sentdm/models/sent_dm_services_common_contracts_poc_os_template_footer.rbi +0 -60
- data/rbi/sentdm/models/sent_dm_services_common_contracts_poc_os_template_header.rbi +0 -62
- data/rbi/sentdm/resources/brands/campaigns.rbi +0 -109
- data/rbi/sentdm/resources/brands.rbi +0 -95
- data/rbi/sentdm/resources/lookup.rbi +0 -24
- data/sig/sentdm/models/api_response_brand_with_kyc.rbs +0 -39
- data/sig/sentdm/models/brand_create_params.rbs +0 -36
- data/sig/sentdm/models/brand_data.rbs +0 -164
- data/sig/sentdm/models/brand_delete_params.rbs +0 -36
- data/sig/sentdm/models/brand_list_params.rbs +0 -14
- data/sig/sentdm/models/brand_list_response.rbs +0 -39
- data/sig/sentdm/models/brand_update_params.rbs +0 -45
- data/sig/sentdm/models/brand_with_kyc.rbs +0 -237
- data/sig/sentdm/models/brands/base_dto.rbs +0 -27
- data/sig/sentdm/models/brands/campaign_create_params.rbs +0 -47
- data/sig/sentdm/models/brands/sent_dm_services_endpoints_customer_ap_iv3_contracts_requests_campaigns_campaign_use_case_data.rbs +0 -27
- data/sig/sentdm/models/mutation_request.rbs +0 -15
- data/sig/sentdm/models/profile_complete_response.rbs +0 -5
- data/sig/sentdm/models/sent_dm_services_common_contracts_poc_os_authentication_config.rbs +0 -24
- data/sig/sentdm/models/sent_dm_services_common_contracts_poc_os_template_body.rbs +0 -30
- data/sig/sentdm/models/sent_dm_services_common_contracts_poc_os_template_button.rbs +0 -38
- data/sig/sentdm/models/sent_dm_services_common_contracts_poc_os_template_button_props.rbs +0 -75
- data/sig/sentdm/models/sent_dm_services_common_contracts_poc_os_template_footer.rbs +0 -32
- data/sig/sentdm/models/sent_dm_services_common_contracts_poc_os_template_header.rbs +0 -32
- data/sig/sentdm/resources/brands/campaigns.rbs +0 -38
- data/sig/sentdm/resources/brands.rbs +0 -34
|
@@ -7,9 +7,10 @@ module Sentdm
|
|
|
7
7
|
definition: Sentdm::TemplateDefinition?,
|
|
8
8
|
language: String?,
|
|
9
9
|
name: String?,
|
|
10
|
+
sandbox: bool,
|
|
10
11
|
submit_for_review: bool,
|
|
11
|
-
|
|
12
|
-
|
|
12
|
+
idempotency_key: String,
|
|
13
|
+
x_profile_id: String
|
|
13
14
|
}
|
|
14
15
|
& Sentdm::Internal::Type::request_parameters
|
|
15
16
|
|
|
@@ -27,27 +28,32 @@ module Sentdm
|
|
|
27
28
|
|
|
28
29
|
attr_accessor name: String?
|
|
29
30
|
|
|
30
|
-
attr_reader
|
|
31
|
+
attr_reader sandbox: bool?
|
|
31
32
|
|
|
32
|
-
def
|
|
33
|
+
def sandbox=: (bool) -> bool
|
|
33
34
|
|
|
34
|
-
attr_reader
|
|
35
|
+
attr_reader submit_for_review: bool?
|
|
35
36
|
|
|
36
|
-
def
|
|
37
|
+
def submit_for_review=: (bool) -> bool
|
|
37
38
|
|
|
38
39
|
attr_reader idempotency_key: String?
|
|
39
40
|
|
|
40
41
|
def idempotency_key=: (String) -> String
|
|
41
42
|
|
|
43
|
+
attr_reader x_profile_id: String?
|
|
44
|
+
|
|
45
|
+
def x_profile_id=: (String) -> String
|
|
46
|
+
|
|
42
47
|
def initialize: (
|
|
43
48
|
id: String,
|
|
44
49
|
?category: String?,
|
|
45
50
|
?definition: Sentdm::TemplateDefinition?,
|
|
46
51
|
?language: String?,
|
|
47
52
|
?name: String?,
|
|
53
|
+
?sandbox: bool,
|
|
48
54
|
?submit_for_review: bool,
|
|
49
|
-
?test_mode: bool,
|
|
50
55
|
?idempotency_key: String,
|
|
56
|
+
?x_profile_id: String,
|
|
51
57
|
?request_options: Sentdm::request_opts
|
|
52
58
|
) -> void
|
|
53
59
|
|
|
@@ -57,9 +63,10 @@ module Sentdm
|
|
|
57
63
|
definition: Sentdm::TemplateDefinition?,
|
|
58
64
|
language: String?,
|
|
59
65
|
name: String?,
|
|
66
|
+
sandbox: bool,
|
|
60
67
|
submit_for_review: bool,
|
|
61
|
-
test_mode: bool,
|
|
62
68
|
idempotency_key: String,
|
|
69
|
+
x_profile_id: String,
|
|
63
70
|
request_options: Sentdm::RequestOptions
|
|
64
71
|
}
|
|
65
72
|
end
|
|
@@ -45,6 +45,7 @@ module Sentdm
|
|
|
45
45
|
{
|
|
46
46
|
alt: String?,
|
|
47
47
|
media_type: String?,
|
|
48
|
+
regex: String?,
|
|
48
49
|
sample: String?,
|
|
49
50
|
short_url: String?,
|
|
50
51
|
url: String?,
|
|
@@ -56,6 +57,8 @@ module Sentdm
|
|
|
56
57
|
|
|
57
58
|
attr_accessor media_type: String?
|
|
58
59
|
|
|
60
|
+
attr_accessor regex: String?
|
|
61
|
+
|
|
59
62
|
attr_accessor sample: String?
|
|
60
63
|
|
|
61
64
|
attr_accessor short_url: String?
|
|
@@ -67,6 +70,7 @@ module Sentdm
|
|
|
67
70
|
def initialize: (
|
|
68
71
|
?alt: String?,
|
|
69
72
|
?media_type: String?,
|
|
73
|
+
?regex: String?,
|
|
70
74
|
?sample: String?,
|
|
71
75
|
?short_url: String?,
|
|
72
76
|
?url: String?,
|
|
@@ -76,6 +80,7 @@ module Sentdm
|
|
|
76
80
|
def to_hash: -> {
|
|
77
81
|
alt: String?,
|
|
78
82
|
media_type: String?,
|
|
83
|
+
regex: String?,
|
|
79
84
|
sample: String?,
|
|
80
85
|
short_url: String?,
|
|
81
86
|
url: String?,
|
|
@@ -5,8 +5,9 @@ module Sentdm
|
|
|
5
5
|
email: String,
|
|
6
6
|
name: String,
|
|
7
7
|
role: String,
|
|
8
|
-
|
|
9
|
-
idempotency_key: String
|
|
8
|
+
sandbox: bool,
|
|
9
|
+
idempotency_key: String,
|
|
10
|
+
x_profile_id: String
|
|
10
11
|
}
|
|
11
12
|
& Sentdm::Internal::Type::request_parameters
|
|
12
13
|
|
|
@@ -26,20 +27,25 @@ module Sentdm
|
|
|
26
27
|
|
|
27
28
|
def role=: (String) -> String
|
|
28
29
|
|
|
29
|
-
attr_reader
|
|
30
|
+
attr_reader sandbox: bool?
|
|
30
31
|
|
|
31
|
-
def
|
|
32
|
+
def sandbox=: (bool) -> bool
|
|
32
33
|
|
|
33
34
|
attr_reader idempotency_key: String?
|
|
34
35
|
|
|
35
36
|
def idempotency_key=: (String) -> String
|
|
36
37
|
|
|
38
|
+
attr_reader x_profile_id: String?
|
|
39
|
+
|
|
40
|
+
def x_profile_id=: (String) -> String
|
|
41
|
+
|
|
37
42
|
def initialize: (
|
|
38
43
|
?email: String,
|
|
39
44
|
?name: String,
|
|
40
45
|
?role: String,
|
|
41
|
-
?
|
|
46
|
+
?sandbox: bool,
|
|
42
47
|
?idempotency_key: String,
|
|
48
|
+
?x_profile_id: String,
|
|
43
49
|
?request_options: Sentdm::request_opts
|
|
44
50
|
) -> void
|
|
45
51
|
|
|
@@ -47,8 +53,9 @@ module Sentdm
|
|
|
47
53
|
email: String,
|
|
48
54
|
name: String,
|
|
49
55
|
role: String,
|
|
50
|
-
|
|
56
|
+
sandbox: bool,
|
|
51
57
|
idempotency_key: String,
|
|
58
|
+
x_profile_id: String,
|
|
52
59
|
request_options: Sentdm::RequestOptions
|
|
53
60
|
}
|
|
54
61
|
end
|
|
@@ -1,14 +1,25 @@
|
|
|
1
1
|
module Sentdm
|
|
2
2
|
module Models
|
|
3
|
-
type user_list_params =
|
|
3
|
+
type user_list_params =
|
|
4
|
+
{ x_profile_id: String } & Sentdm::Internal::Type::request_parameters
|
|
4
5
|
|
|
5
6
|
class UserListParams < Sentdm::Internal::Type::BaseModel
|
|
6
7
|
extend Sentdm::Internal::Type::RequestParameters::Converter
|
|
7
8
|
include Sentdm::Internal::Type::RequestParameters
|
|
8
9
|
|
|
9
|
-
|
|
10
|
+
attr_reader x_profile_id: String?
|
|
10
11
|
|
|
11
|
-
def
|
|
12
|
+
def x_profile_id=: (String) -> String
|
|
13
|
+
|
|
14
|
+
def initialize: (
|
|
15
|
+
?x_profile_id: String,
|
|
16
|
+
?request_options: Sentdm::request_opts
|
|
17
|
+
) -> void
|
|
18
|
+
|
|
19
|
+
def to_hash: -> {
|
|
20
|
+
x_profile_id: String,
|
|
21
|
+
request_options: Sentdm::RequestOptions
|
|
22
|
+
}
|
|
12
23
|
end
|
|
13
24
|
end
|
|
14
25
|
end
|
|
@@ -1,36 +1,46 @@
|
|
|
1
1
|
module Sentdm
|
|
2
2
|
module Models
|
|
3
3
|
type user_remove_params =
|
|
4
|
-
{
|
|
4
|
+
{
|
|
5
|
+
user_id: String,
|
|
6
|
+
body: Sentdm::UserRemoveParams::Body,
|
|
7
|
+
x_profile_id: String
|
|
8
|
+
}
|
|
5
9
|
& Sentdm::Internal::Type::request_parameters
|
|
6
10
|
|
|
7
11
|
class UserRemoveParams < Sentdm::Internal::Type::BaseModel
|
|
8
12
|
extend Sentdm::Internal::Type::RequestParameters::Converter
|
|
9
13
|
include Sentdm::Internal::Type::RequestParameters
|
|
10
14
|
|
|
11
|
-
attr_accessor
|
|
12
|
-
|
|
13
|
-
attr_reader test_mode: bool?
|
|
15
|
+
attr_accessor user_id: String
|
|
14
16
|
|
|
15
|
-
|
|
17
|
+
attr_accessor body: Sentdm::UserRemoveParams::Body
|
|
16
18
|
|
|
17
|
-
attr_reader
|
|
19
|
+
attr_reader x_profile_id: String?
|
|
18
20
|
|
|
19
|
-
def
|
|
21
|
+
def x_profile_id=: (String) -> String
|
|
20
22
|
|
|
21
23
|
def initialize: (
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
?
|
|
24
|
+
user_id: String,
|
|
25
|
+
body: Sentdm::UserRemoveParams::Body,
|
|
26
|
+
?x_profile_id: String,
|
|
25
27
|
?request_options: Sentdm::request_opts
|
|
26
28
|
) -> void
|
|
27
29
|
|
|
28
30
|
def to_hash: -> {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
31
|
+
user_id: String,
|
|
32
|
+
body: Sentdm::UserRemoveParams::Body,
|
|
33
|
+
x_profile_id: String,
|
|
32
34
|
request_options: Sentdm::RequestOptions
|
|
33
35
|
}
|
|
36
|
+
|
|
37
|
+
type body = { }
|
|
38
|
+
|
|
39
|
+
class Body < Sentdm::Models::MutationRequestBase
|
|
40
|
+
def initialize: -> void
|
|
41
|
+
|
|
42
|
+
def to_hash: -> { }
|
|
43
|
+
end
|
|
34
44
|
end
|
|
35
45
|
end
|
|
36
46
|
end
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
module Sentdm
|
|
2
2
|
module Models
|
|
3
3
|
type user_retrieve_params =
|
|
4
|
-
{ user_id: String
|
|
4
|
+
{ user_id: String, x_profile_id: String }
|
|
5
|
+
& Sentdm::Internal::Type::request_parameters
|
|
5
6
|
|
|
6
7
|
class UserRetrieveParams < Sentdm::Internal::Type::BaseModel
|
|
7
8
|
extend Sentdm::Internal::Type::RequestParameters::Converter
|
|
@@ -9,13 +10,19 @@ module Sentdm
|
|
|
9
10
|
|
|
10
11
|
attr_accessor user_id: String
|
|
11
12
|
|
|
13
|
+
attr_reader x_profile_id: String?
|
|
14
|
+
|
|
15
|
+
def x_profile_id=: (String) -> String
|
|
16
|
+
|
|
12
17
|
def initialize: (
|
|
13
18
|
user_id: String,
|
|
19
|
+
?x_profile_id: String,
|
|
14
20
|
?request_options: Sentdm::request_opts
|
|
15
21
|
) -> void
|
|
16
22
|
|
|
17
23
|
def to_hash: -> {
|
|
18
24
|
user_id: String,
|
|
25
|
+
x_profile_id: String,
|
|
19
26
|
request_options: Sentdm::RequestOptions
|
|
20
27
|
}
|
|
21
28
|
end
|
|
@@ -2,11 +2,11 @@ module Sentdm
|
|
|
2
2
|
module Models
|
|
3
3
|
type user_update_role_params =
|
|
4
4
|
{
|
|
5
|
-
|
|
5
|
+
user_id: String,
|
|
6
6
|
role: String,
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
sandbox: bool,
|
|
8
|
+
idempotency_key: String,
|
|
9
|
+
x_profile_id: String
|
|
10
10
|
}
|
|
11
11
|
& Sentdm::Internal::Type::request_parameters
|
|
12
12
|
|
|
@@ -14,39 +14,39 @@ module Sentdm
|
|
|
14
14
|
extend Sentdm::Internal::Type::RequestParameters::Converter
|
|
15
15
|
include Sentdm::Internal::Type::RequestParameters
|
|
16
16
|
|
|
17
|
-
attr_accessor
|
|
17
|
+
attr_accessor user_id: String
|
|
18
18
|
|
|
19
19
|
attr_reader role: String?
|
|
20
20
|
|
|
21
21
|
def role=: (String) -> String
|
|
22
22
|
|
|
23
|
-
attr_reader
|
|
24
|
-
|
|
25
|
-
def test_mode=: (bool) -> bool
|
|
26
|
-
|
|
27
|
-
attr_reader body_user_id: String?
|
|
23
|
+
attr_reader sandbox: bool?
|
|
28
24
|
|
|
29
|
-
def
|
|
25
|
+
def sandbox=: (bool) -> bool
|
|
30
26
|
|
|
31
27
|
attr_reader idempotency_key: String?
|
|
32
28
|
|
|
33
29
|
def idempotency_key=: (String) -> String
|
|
34
30
|
|
|
31
|
+
attr_reader x_profile_id: String?
|
|
32
|
+
|
|
33
|
+
def x_profile_id=: (String) -> String
|
|
34
|
+
|
|
35
35
|
def initialize: (
|
|
36
|
-
|
|
36
|
+
user_id: String,
|
|
37
37
|
?role: String,
|
|
38
|
-
?
|
|
39
|
-
?body_user_id: String,
|
|
38
|
+
?sandbox: bool,
|
|
40
39
|
?idempotency_key: String,
|
|
40
|
+
?x_profile_id: String,
|
|
41
41
|
?request_options: Sentdm::request_opts
|
|
42
42
|
) -> void
|
|
43
43
|
|
|
44
44
|
def to_hash: -> {
|
|
45
|
-
|
|
45
|
+
user_id: String,
|
|
46
46
|
role: String,
|
|
47
|
-
|
|
48
|
-
body_user_id: String,
|
|
47
|
+
sandbox: bool,
|
|
49
48
|
idempotency_key: String,
|
|
49
|
+
x_profile_id: String,
|
|
50
50
|
request_options: Sentdm::RequestOptions
|
|
51
51
|
}
|
|
52
52
|
end
|
|
@@ -6,9 +6,10 @@ module Sentdm
|
|
|
6
6
|
endpoint_url: String,
|
|
7
7
|
event_types: ::Array[String],
|
|
8
8
|
retry_count: Integer,
|
|
9
|
-
|
|
9
|
+
sandbox: bool,
|
|
10
10
|
timeout_seconds: Integer,
|
|
11
|
-
idempotency_key: String
|
|
11
|
+
idempotency_key: String,
|
|
12
|
+
x_profile_id: String
|
|
12
13
|
}
|
|
13
14
|
& Sentdm::Internal::Type::request_parameters
|
|
14
15
|
|
|
@@ -32,9 +33,9 @@ module Sentdm
|
|
|
32
33
|
|
|
33
34
|
def retry_count=: (Integer) -> Integer
|
|
34
35
|
|
|
35
|
-
attr_reader
|
|
36
|
+
attr_reader sandbox: bool?
|
|
36
37
|
|
|
37
|
-
def
|
|
38
|
+
def sandbox=: (bool) -> bool
|
|
38
39
|
|
|
39
40
|
attr_reader timeout_seconds: Integer?
|
|
40
41
|
|
|
@@ -44,14 +45,19 @@ module Sentdm
|
|
|
44
45
|
|
|
45
46
|
def idempotency_key=: (String) -> String
|
|
46
47
|
|
|
48
|
+
attr_reader x_profile_id: String?
|
|
49
|
+
|
|
50
|
+
def x_profile_id=: (String) -> String
|
|
51
|
+
|
|
47
52
|
def initialize: (
|
|
48
53
|
?display_name: String,
|
|
49
54
|
?endpoint_url: String,
|
|
50
55
|
?event_types: ::Array[String],
|
|
51
56
|
?retry_count: Integer,
|
|
52
|
-
?
|
|
57
|
+
?sandbox: bool,
|
|
53
58
|
?timeout_seconds: Integer,
|
|
54
59
|
?idempotency_key: String,
|
|
60
|
+
?x_profile_id: String,
|
|
55
61
|
?request_options: Sentdm::request_opts
|
|
56
62
|
) -> void
|
|
57
63
|
|
|
@@ -60,9 +66,10 @@ module Sentdm
|
|
|
60
66
|
endpoint_url: String,
|
|
61
67
|
event_types: ::Array[String],
|
|
62
68
|
retry_count: Integer,
|
|
63
|
-
|
|
69
|
+
sandbox: bool,
|
|
64
70
|
timeout_seconds: Integer,
|
|
65
71
|
idempotency_key: String,
|
|
72
|
+
x_profile_id: String,
|
|
66
73
|
request_options: Sentdm::RequestOptions
|
|
67
74
|
}
|
|
68
75
|
end
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
module Sentdm
|
|
2
2
|
module Models
|
|
3
3
|
type webhook_delete_params =
|
|
4
|
-
{ id: String
|
|
4
|
+
{ id: String, x_profile_id: String }
|
|
5
|
+
& Sentdm::Internal::Type::request_parameters
|
|
5
6
|
|
|
6
7
|
class WebhookDeleteParams < Sentdm::Internal::Type::BaseModel
|
|
7
8
|
extend Sentdm::Internal::Type::RequestParameters::Converter
|
|
@@ -9,12 +10,21 @@ module Sentdm
|
|
|
9
10
|
|
|
10
11
|
attr_accessor id: String
|
|
11
12
|
|
|
13
|
+
attr_reader x_profile_id: String?
|
|
14
|
+
|
|
15
|
+
def x_profile_id=: (String) -> String
|
|
16
|
+
|
|
12
17
|
def initialize: (
|
|
13
18
|
id: String,
|
|
19
|
+
?x_profile_id: String,
|
|
14
20
|
?request_options: Sentdm::request_opts
|
|
15
21
|
) -> void
|
|
16
22
|
|
|
17
|
-
def to_hash: -> {
|
|
23
|
+
def to_hash: -> {
|
|
24
|
+
id: String,
|
|
25
|
+
x_profile_id: String,
|
|
26
|
+
request_options: Sentdm::RequestOptions
|
|
27
|
+
}
|
|
18
28
|
end
|
|
19
29
|
end
|
|
20
30
|
end
|
|
@@ -1,15 +1,25 @@
|
|
|
1
1
|
module Sentdm
|
|
2
2
|
module Models
|
|
3
3
|
type webhook_list_event_types_params =
|
|
4
|
-
{
|
|
4
|
+
{ x_profile_id: String } & Sentdm::Internal::Type::request_parameters
|
|
5
5
|
|
|
6
6
|
class WebhookListEventTypesParams < Sentdm::Internal::Type::BaseModel
|
|
7
7
|
extend Sentdm::Internal::Type::RequestParameters::Converter
|
|
8
8
|
include Sentdm::Internal::Type::RequestParameters
|
|
9
9
|
|
|
10
|
-
|
|
10
|
+
attr_reader x_profile_id: String?
|
|
11
11
|
|
|
12
|
-
def
|
|
12
|
+
def x_profile_id=: (String) -> String
|
|
13
|
+
|
|
14
|
+
def initialize: (
|
|
15
|
+
?x_profile_id: String,
|
|
16
|
+
?request_options: Sentdm::request_opts
|
|
17
|
+
) -> void
|
|
18
|
+
|
|
19
|
+
def to_hash: -> {
|
|
20
|
+
x_profile_id: String,
|
|
21
|
+
request_options: Sentdm::RequestOptions
|
|
22
|
+
}
|
|
13
23
|
end
|
|
14
24
|
end
|
|
15
25
|
end
|
|
@@ -1,7 +1,13 @@
|
|
|
1
1
|
module Sentdm
|
|
2
2
|
module Models
|
|
3
3
|
type webhook_list_events_params =
|
|
4
|
-
{
|
|
4
|
+
{
|
|
5
|
+
id: String,
|
|
6
|
+
page: Integer,
|
|
7
|
+
page_size: Integer,
|
|
8
|
+
search: String?,
|
|
9
|
+
x_profile_id: String
|
|
10
|
+
}
|
|
5
11
|
& Sentdm::Internal::Type::request_parameters
|
|
6
12
|
|
|
7
13
|
class WebhookListEventsParams < Sentdm::Internal::Type::BaseModel
|
|
@@ -16,11 +22,16 @@ module Sentdm
|
|
|
16
22
|
|
|
17
23
|
attr_accessor search: String?
|
|
18
24
|
|
|
25
|
+
attr_reader x_profile_id: String?
|
|
26
|
+
|
|
27
|
+
def x_profile_id=: (String) -> String
|
|
28
|
+
|
|
19
29
|
def initialize: (
|
|
20
30
|
id: String,
|
|
21
31
|
page: Integer,
|
|
22
32
|
page_size: Integer,
|
|
23
33
|
?search: String?,
|
|
34
|
+
?x_profile_id: String,
|
|
24
35
|
?request_options: Sentdm::request_opts
|
|
25
36
|
) -> void
|
|
26
37
|
|
|
@@ -29,6 +40,7 @@ module Sentdm
|
|
|
29
40
|
page: Integer,
|
|
30
41
|
page_size: Integer,
|
|
31
42
|
search: String?,
|
|
43
|
+
x_profile_id: String,
|
|
32
44
|
request_options: Sentdm::RequestOptions
|
|
33
45
|
}
|
|
34
46
|
end
|
|
@@ -1,7 +1,13 @@
|
|
|
1
1
|
module Sentdm
|
|
2
2
|
module Models
|
|
3
3
|
type webhook_list_params =
|
|
4
|
-
{
|
|
4
|
+
{
|
|
5
|
+
page: Integer,
|
|
6
|
+
page_size: Integer,
|
|
7
|
+
is_active: bool?,
|
|
8
|
+
search: String?,
|
|
9
|
+
x_profile_id: String
|
|
10
|
+
}
|
|
5
11
|
& Sentdm::Internal::Type::request_parameters
|
|
6
12
|
|
|
7
13
|
class WebhookListParams < Sentdm::Internal::Type::BaseModel
|
|
@@ -16,11 +22,16 @@ module Sentdm
|
|
|
16
22
|
|
|
17
23
|
attr_accessor search: String?
|
|
18
24
|
|
|
25
|
+
attr_reader x_profile_id: String?
|
|
26
|
+
|
|
27
|
+
def x_profile_id=: (String) -> String
|
|
28
|
+
|
|
19
29
|
def initialize: (
|
|
20
30
|
page: Integer,
|
|
21
31
|
page_size: Integer,
|
|
22
32
|
?is_active: bool?,
|
|
23
33
|
?search: String?,
|
|
34
|
+
?x_profile_id: String,
|
|
24
35
|
?request_options: Sentdm::request_opts
|
|
25
36
|
) -> void
|
|
26
37
|
|
|
@@ -29,6 +40,7 @@ module Sentdm
|
|
|
29
40
|
page_size: Integer,
|
|
30
41
|
is_active: bool?,
|
|
31
42
|
search: String?,
|
|
43
|
+
x_profile_id: String,
|
|
32
44
|
request_options: Sentdm::RequestOptions
|
|
33
45
|
}
|
|
34
46
|
end
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
module Sentdm
|
|
2
2
|
module Models
|
|
3
3
|
type webhook_retrieve_params =
|
|
4
|
-
{ id: String
|
|
4
|
+
{ id: String, x_profile_id: String }
|
|
5
|
+
& Sentdm::Internal::Type::request_parameters
|
|
5
6
|
|
|
6
7
|
class WebhookRetrieveParams < Sentdm::Internal::Type::BaseModel
|
|
7
8
|
extend Sentdm::Internal::Type::RequestParameters::Converter
|
|
@@ -9,12 +10,21 @@ module Sentdm
|
|
|
9
10
|
|
|
10
11
|
attr_accessor id: String
|
|
11
12
|
|
|
13
|
+
attr_reader x_profile_id: String?
|
|
14
|
+
|
|
15
|
+
def x_profile_id=: (String) -> String
|
|
16
|
+
|
|
12
17
|
def initialize: (
|
|
13
18
|
id: String,
|
|
19
|
+
?x_profile_id: String,
|
|
14
20
|
?request_options: Sentdm::request_opts
|
|
15
21
|
) -> void
|
|
16
22
|
|
|
17
|
-
def to_hash: -> {
|
|
23
|
+
def to_hash: -> {
|
|
24
|
+
id: String,
|
|
25
|
+
x_profile_id: String,
|
|
26
|
+
request_options: Sentdm::RequestOptions
|
|
27
|
+
}
|
|
18
28
|
end
|
|
19
29
|
end
|
|
20
30
|
end
|
|
@@ -4,7 +4,8 @@ module Sentdm
|
|
|
4
4
|
{
|
|
5
5
|
id: String,
|
|
6
6
|
body: Sentdm::WebhookRotateSecretParams::Body,
|
|
7
|
-
idempotency_key: String
|
|
7
|
+
idempotency_key: String,
|
|
8
|
+
x_profile_id: String
|
|
8
9
|
}
|
|
9
10
|
& Sentdm::Internal::Type::request_parameters
|
|
10
11
|
|
|
@@ -20,10 +21,15 @@ module Sentdm
|
|
|
20
21
|
|
|
21
22
|
def idempotency_key=: (String) -> String
|
|
22
23
|
|
|
24
|
+
attr_reader x_profile_id: String?
|
|
25
|
+
|
|
26
|
+
def x_profile_id=: (String) -> String
|
|
27
|
+
|
|
23
28
|
def initialize: (
|
|
24
29
|
id: String,
|
|
25
30
|
body: Sentdm::WebhookRotateSecretParams::Body,
|
|
26
31
|
?idempotency_key: String,
|
|
32
|
+
?x_profile_id: String,
|
|
27
33
|
?request_options: Sentdm::request_opts
|
|
28
34
|
) -> void
|
|
29
35
|
|
|
@@ -31,12 +37,13 @@ module Sentdm
|
|
|
31
37
|
id: String,
|
|
32
38
|
body: Sentdm::WebhookRotateSecretParams::Body,
|
|
33
39
|
idempotency_key: String,
|
|
40
|
+
x_profile_id: String,
|
|
34
41
|
request_options: Sentdm::RequestOptions
|
|
35
42
|
}
|
|
36
43
|
|
|
37
44
|
type body = { }
|
|
38
45
|
|
|
39
|
-
class Body < Sentdm::Models::
|
|
46
|
+
class Body < Sentdm::Models::MutationRequestBase
|
|
40
47
|
def initialize: -> void
|
|
41
48
|
|
|
42
49
|
def to_hash: -> { }
|
|
@@ -4,8 +4,9 @@ module Sentdm
|
|
|
4
4
|
{
|
|
5
5
|
id: String,
|
|
6
6
|
event_type: String,
|
|
7
|
-
|
|
8
|
-
idempotency_key: String
|
|
7
|
+
sandbox: bool,
|
|
8
|
+
idempotency_key: String,
|
|
9
|
+
x_profile_id: String
|
|
9
10
|
}
|
|
10
11
|
& Sentdm::Internal::Type::request_parameters
|
|
11
12
|
|
|
@@ -19,27 +20,33 @@ module Sentdm
|
|
|
19
20
|
|
|
20
21
|
def event_type=: (String) -> String
|
|
21
22
|
|
|
22
|
-
attr_reader
|
|
23
|
+
attr_reader sandbox: bool?
|
|
23
24
|
|
|
24
|
-
def
|
|
25
|
+
def sandbox=: (bool) -> bool
|
|
25
26
|
|
|
26
27
|
attr_reader idempotency_key: String?
|
|
27
28
|
|
|
28
29
|
def idempotency_key=: (String) -> String
|
|
29
30
|
|
|
31
|
+
attr_reader x_profile_id: String?
|
|
32
|
+
|
|
33
|
+
def x_profile_id=: (String) -> String
|
|
34
|
+
|
|
30
35
|
def initialize: (
|
|
31
36
|
id: String,
|
|
32
37
|
?event_type: String,
|
|
33
|
-
?
|
|
38
|
+
?sandbox: bool,
|
|
34
39
|
?idempotency_key: String,
|
|
40
|
+
?x_profile_id: String,
|
|
35
41
|
?request_options: Sentdm::request_opts
|
|
36
42
|
) -> void
|
|
37
43
|
|
|
38
44
|
def to_hash: -> {
|
|
39
45
|
id: String,
|
|
40
46
|
event_type: String,
|
|
41
|
-
|
|
47
|
+
sandbox: bool,
|
|
42
48
|
idempotency_key: String,
|
|
49
|
+
x_profile_id: String,
|
|
43
50
|
request_options: Sentdm::RequestOptions
|
|
44
51
|
}
|
|
45
52
|
end
|