sentdm 0.7.0 → 0.8.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.
Files changed (123) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +10 -0
  3. data/README.md +1 -1
  4. data/lib/sentdm/internal/type/base_model.rb +5 -5
  5. data/lib/sentdm/models/api_response_of_contact.rb +9 -6
  6. data/lib/sentdm/models/api_response_of_profile_detail.rb +6 -6
  7. data/lib/sentdm/models/api_response_of_user.rb +6 -6
  8. data/lib/sentdm/models/api_response_template.rb +6 -6
  9. data/lib/sentdm/models/api_response_webhook.rb +4 -4
  10. data/lib/sentdm/models/brands_brand_data.rb +6 -6
  11. data/lib/sentdm/models/contact_delete_params.rb +1 -1
  12. data/lib/sentdm/models/contact_list_response.rb +9 -9
  13. data/lib/sentdm/models/me_retrieve_response.rb +35 -21
  14. data/lib/sentdm/models/message_retrieve_activities_response.rb +7 -7
  15. data/lib/sentdm/models/message_retrieve_status_response.rb +7 -7
  16. data/lib/sentdm/models/message_send_params.rb +5 -3
  17. data/lib/sentdm/models/message_send_response.rb +7 -7
  18. data/lib/sentdm/models/{mutation_request_base.rb → mutation_request.rb} +2 -2
  19. data/lib/sentdm/models/number_lookup_response.rb +4 -4
  20. data/lib/sentdm/models/pagination_meta.rb +3 -3
  21. data/lib/sentdm/models/{profile_complete_setup_params.rb → profile_complete_params.rb} +3 -3
  22. data/lib/sentdm/models/{profile_complete_setup_response.rb → profile_complete_response.rb} +1 -1
  23. data/lib/sentdm/models/profile_create_params.rb +20 -23
  24. data/lib/sentdm/models/profile_delete_params.rb +1 -1
  25. data/lib/sentdm/models/profile_detail.rb +12 -22
  26. data/lib/sentdm/models/profile_list_response.rb +7 -7
  27. data/lib/sentdm/models/profile_update_params.rb +9 -13
  28. data/lib/sentdm/models/profiles/api_response_of_tcr_campaign_with_use_cases.rb +4 -4
  29. data/lib/sentdm/models/profiles/base_dto.rb +32 -0
  30. data/lib/sentdm/models/profiles/campaign_create_params.rb +2 -2
  31. data/lib/sentdm/models/profiles/campaign_delete_params.rb +1 -1
  32. data/lib/sentdm/models/profiles/campaign_list_response.rb +4 -4
  33. data/lib/sentdm/models/profiles/campaign_update_params.rb +2 -2
  34. data/lib/sentdm/models/profiles/sent_dm_services_endpoints_customer_ap_iv3_contracts_requests_campaigns_campaign_use_case_data.rb +1 -2
  35. data/lib/sentdm/models/profiles/tcr_campaign_with_use_cases.rb +2 -2
  36. data/lib/sentdm/models/sent_dm_services_endpoints_customer_ap_iv3_contracts_requests_brands_brand_business_info.rb +1 -4
  37. data/lib/sentdm/models/sent_dm_services_endpoints_customer_ap_iv3_contracts_requests_brands_brand_compliance_info.rb +2 -4
  38. data/lib/sentdm/models/template_create_params.rb +3 -2
  39. data/lib/sentdm/models/template_definition.rb +8 -12
  40. data/lib/sentdm/models/template_list_response.rb +9 -9
  41. data/lib/sentdm/models/template_update_params.rb +3 -2
  42. data/lib/sentdm/models/user_list_response.rb +7 -7
  43. data/lib/sentdm/models/user_remove_params.rb +1 -1
  44. data/lib/sentdm/models/webhook_list_event_types_response.rb +4 -4
  45. data/lib/sentdm/models/webhook_list_events_response.rb +4 -4
  46. data/lib/sentdm/models/webhook_list_response.rb +4 -4
  47. data/lib/sentdm/models/webhook_rotate_secret_params.rb +1 -1
  48. data/lib/sentdm/models/webhook_rotate_secret_response.rb +4 -4
  49. data/lib/sentdm/models/webhook_test_response.rb +4 -4
  50. data/lib/sentdm/models.rb +2 -4
  51. data/lib/sentdm/resources/messages.rb +1 -1
  52. data/lib/sentdm/resources/profiles/campaigns.rb +2 -2
  53. data/lib/sentdm/resources/profiles.rb +12 -12
  54. data/lib/sentdm/resources/templates.rb +2 -2
  55. data/lib/sentdm/version.rb +1 -1
  56. data/lib/sentdm.rb +4 -4
  57. data/rbi/sentdm/models/api_response_of_contact.rbi +6 -6
  58. data/rbi/sentdm/models/api_response_of_profile_detail.rbi +6 -6
  59. data/rbi/sentdm/models/api_response_of_user.rbi +6 -6
  60. data/rbi/sentdm/models/api_response_template.rbi +6 -6
  61. data/rbi/sentdm/models/api_response_webhook.rbi +4 -4
  62. data/rbi/sentdm/models/brands_brand_data.rbi +6 -6
  63. data/rbi/sentdm/models/contact_delete_params.rbi +1 -1
  64. data/rbi/sentdm/models/contact_list_response.rbi +9 -9
  65. data/rbi/sentdm/models/me_retrieve_response.rbi +33 -21
  66. data/rbi/sentdm/models/message_retrieve_activities_response.rbi +7 -7
  67. data/rbi/sentdm/models/message_retrieve_status_response.rbi +7 -7
  68. data/rbi/sentdm/models/message_send_params.rbi +6 -3
  69. data/rbi/sentdm/models/message_send_response.rbi +7 -7
  70. data/rbi/sentdm/models/{mutation_request_base.rbi → mutation_request.rbi} +2 -2
  71. data/rbi/sentdm/models/number_lookup_response.rbi +4 -4
  72. data/rbi/sentdm/models/pagination_meta.rbi +3 -3
  73. data/rbi/sentdm/models/{profile_complete_setup_params.rbi → profile_complete_params.rbi} +2 -2
  74. data/rbi/sentdm/models/{profile_complete_setup_response.rbi → profile_complete_response.rbi} +1 -1
  75. data/rbi/sentdm/models/profile_create_params.rbi +27 -33
  76. data/rbi/sentdm/models/profile_delete_params.rbi +1 -1
  77. data/rbi/sentdm/models/profile_detail.rbi +9 -22
  78. data/rbi/sentdm/models/profile_list_response.rbi +7 -7
  79. data/rbi/sentdm/models/profile_update_params.rbi +12 -20
  80. data/rbi/sentdm/models/profiles/api_response_of_tcr_campaign_with_use_cases.rbi +4 -4
  81. data/rbi/sentdm/models/profiles/base_dto.rbi +53 -0
  82. data/rbi/sentdm/models/profiles/campaign_create_params.rbi +2 -2
  83. data/rbi/sentdm/models/profiles/campaign_delete_params.rbi +1 -1
  84. data/rbi/sentdm/models/profiles/campaign_list_response.rbi +4 -4
  85. data/rbi/sentdm/models/profiles/campaign_update_params.rbi +2 -2
  86. data/rbi/sentdm/models/profiles/sent_dm_services_endpoints_customer_ap_iv3_contracts_requests_campaigns_campaign_use_case_data.rbi +0 -2
  87. data/rbi/sentdm/models/profiles/tcr_campaign_with_use_cases.rbi +2 -2
  88. data/rbi/sentdm/models/sent_dm_services_endpoints_customer_ap_iv3_contracts_requests_brands_brand_business_info.rbi +0 -3
  89. data/rbi/sentdm/models/sent_dm_services_endpoints_customer_ap_iv3_contracts_requests_brands_brand_compliance_info.rbi +0 -4
  90. data/rbi/sentdm/models/template_create_params.rbi +4 -2
  91. data/rbi/sentdm/models/template_definition.rbi +8 -10
  92. data/rbi/sentdm/models/template_list_response.rbi +9 -9
  93. data/rbi/sentdm/models/template_update_params.rbi +4 -2
  94. data/rbi/sentdm/models/user_list_response.rbi +7 -7
  95. data/rbi/sentdm/models/user_remove_params.rbi +1 -1
  96. data/rbi/sentdm/models/webhook_list_event_types_response.rbi +4 -4
  97. data/rbi/sentdm/models/webhook_list_events_response.rbi +4 -4
  98. data/rbi/sentdm/models/webhook_list_response.rbi +4 -4
  99. data/rbi/sentdm/models/webhook_rotate_secret_params.rbi +1 -1
  100. data/rbi/sentdm/models/webhook_rotate_secret_response.rbi +4 -4
  101. data/rbi/sentdm/models/webhook_test_response.rbi +4 -4
  102. data/rbi/sentdm/models.rbi +2 -4
  103. data/rbi/sentdm/resources/messages.rbi +2 -1
  104. data/rbi/sentdm/resources/profiles/campaigns.rbi +2 -2
  105. data/rbi/sentdm/resources/profiles.rbi +20 -26
  106. data/rbi/sentdm/resources/templates.rbi +4 -2
  107. data/sig/sentdm/models/contact_delete_params.rbs +1 -1
  108. data/sig/sentdm/models/{mutation_request_base.rbs → mutation_request.rbs} +2 -2
  109. data/sig/sentdm/models/{profile_complete_setup_params.rbs → profile_complete_params.rbs} +2 -2
  110. data/sig/sentdm/models/profile_complete_response.rbs +5 -0
  111. data/sig/sentdm/models/profile_delete_params.rbs +1 -1
  112. data/sig/sentdm/models/profiles/base_dto.rbs +27 -0
  113. data/sig/sentdm/models/profiles/campaign_delete_params.rbs +1 -1
  114. data/sig/sentdm/models/profiles/tcr_campaign_with_use_cases.rbs +2 -2
  115. data/sig/sentdm/models/user_remove_params.rbs +1 -1
  116. data/sig/sentdm/models/webhook_rotate_secret_params.rbs +1 -1
  117. data/sig/sentdm/models.rbs +2 -4
  118. data/sig/sentdm/resources/profiles.rbs +1 -1
  119. metadata +14 -14
  120. data/lib/sentdm/models/base_dto.rb +0 -30
  121. data/rbi/sentdm/models/base_dto.rbi +0 -49
  122. data/sig/sentdm/models/base_dto.rbs +0 -25
  123. data/sig/sentdm/models/profile_complete_setup_response.rbs +0 -5
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bff2c5b4e518eeec2d0ab709016c3f835ae425bd86e3c1552e238f1d64419da3
4
- data.tar.gz: b5360b4e37cc156800a6f8a90d051ade3078fa10c89c453999a9fdb2a70a8813
3
+ metadata.gz: 447a045280efe7da83cf429cdcccd358d54cab7bde54b7e017e194b398ed6333
4
+ data.tar.gz: 6df56b895dfc8b2b118c8bccdabc9b87272a79c80f9f1749d27ff5537d97240a
5
5
  SHA512:
6
- metadata.gz: bb49d13d9d4c5d4f3eed14a8e2caeb8fe3c2a70214b551408c1cf60b2ae3c2f3497031a77e44a7e558362d7e38fe6076fc774a62946fdb1ae45f88a2215186ff
7
- data.tar.gz: 606ca84dfc65bb1b02f08bbf8d2cdad31db141e5e9354c595f95e6127190a0c9a01df1c78f3221804dbe680b0ac09bdb31f313384852ebe11dd0774ec62bf598
6
+ metadata.gz: '064029446763608a46bdb7e1be08b8075645ea22b42a954a259d9ba0ebdf5aecd39bc8a783d38e745ad41c8e18c018c90439b62ab2d9b750938def30983a6fed'
7
+ data.tar.gz: 941fd2702a359e4d7ce7eee6b8e868980275fa7270457e3534fd1dfbb385d1b052c235aae138d9e93dcfc428c133960a9b29b47ad45bd257bc5649a6d0d2c94a
data/CHANGELOG.md CHANGED
@@ -1,5 +1,15 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.8.0 (2026-03-12)
4
+
5
+ Full Changelog: [v0.7.0...v0.8.0](https://github.com/sentdm/sent-dm-ruby/compare/v0.7.0...v0.8.0)
6
+
7
+ ### Features
8
+
9
+ * **api:** api update ([f25ebae](https://github.com/sentdm/sent-dm-ruby/commit/f25ebae4c9713c74d6958d1bc3bc83bec52db1a9))
10
+ * **api:** manual updates ([7700a0e](https://github.com/sentdm/sent-dm-ruby/commit/7700a0e6b7a4a8e68a4d4bc7fdad40bc51302fcc))
11
+ * **api:** manual updates ([3101223](https://github.com/sentdm/sent-dm-ruby/commit/3101223023d236a6b3006f4c9847badc5a98dbab))
12
+
3
13
  ## 0.7.0 (2026-03-11)
4
14
 
5
15
  Full Changelog: [v0.6.0...v0.7.0](https://github.com/sentdm/sent-dm-ruby/compare/v0.6.0...v0.7.0)
data/README.md CHANGED
@@ -26,7 +26,7 @@ To use this gem, install via Bundler by adding the following to your application
26
26
  <!-- x-release-please-start-version -->
27
27
 
28
28
  ```ruby
29
- gem "sentdm", "~> 0.7.0"
29
+ gem "sentdm", "~> 0.8.0"
30
30
  ```
31
31
 
32
32
  <!-- x-release-please-end -->
@@ -438,11 +438,11 @@ module Sentdm
438
438
  # @return [Hash{Symbol=>Object}]
439
439
  #
440
440
  # @example
441
- # # `base_dto` is a `Sentdm::BaseDto`
442
- # base_dto => {
443
- # id: id,
444
- # created_at: created_at,
445
- # updated_at: updated_at
441
+ # # `api_error` is a `Sentdm::APIError`
442
+ # api_error => {
443
+ # code: code,
444
+ # details: details,
445
+ # doc_url: doc_url
446
446
  # }
447
447
  def deconstruct_keys(keys)
448
448
  (keys || self.class.known_fields.keys)
@@ -5,19 +5,19 @@ module Sentdm
5
5
  # @see Sentdm::Resources::Contacts#create
6
6
  class APIResponseOfContact < Sentdm::Internal::Type::BaseModel
7
7
  # @!attribute data
8
- # The response data (null if error)
8
+ # Contact response for v3 API Uses snake_case for JSON property names
9
9
  #
10
10
  # @return [Sentdm::Models::ContactResponse, nil]
11
11
  optional :data, -> { Sentdm::ContactResponse }, nil?: true
12
12
 
13
13
  # @!attribute error
14
- # Error details (null if successful)
14
+ # Error information
15
15
  #
16
16
  # @return [Sentdm::Models::APIError, nil]
17
17
  optional :error, -> { Sentdm::APIError }, nil?: true
18
18
 
19
19
  # @!attribute meta
20
- # Metadata about the request and response
20
+ # Request and response metadata
21
21
  #
22
22
  # @return [Sentdm::Models::APIMeta, nil]
23
23
  optional :meta, -> { Sentdm::APIMeta }
@@ -29,13 +29,16 @@ module Sentdm
29
29
  optional :success, Sentdm::Internal::Type::Boolean
30
30
 
31
31
  # @!method initialize(data: nil, error: nil, meta: nil, success: nil)
32
+ # Some parameter documentations has been truncated, see
33
+ # {Sentdm::Models::APIResponseOfContact} for more details.
34
+ #
32
35
  # Standard API response envelope for all v3 endpoints
33
36
  #
34
- # @param data [Sentdm::Models::ContactResponse, nil] The response data (null if error)
37
+ # @param data [Sentdm::Models::ContactResponse, nil] Contact response for v3 API
35
38
  #
36
- # @param error [Sentdm::Models::APIError, nil] Error details (null if successful)
39
+ # @param error [Sentdm::Models::APIError, nil] Error information
37
40
  #
38
- # @param meta [Sentdm::Models::APIMeta] Metadata about the request and response
41
+ # @param meta [Sentdm::Models::APIMeta] Request and response metadata
39
42
  #
40
43
  # @param success [Boolean] Indicates whether the request was successful
41
44
  end
@@ -5,19 +5,19 @@ module Sentdm
5
5
  # @see Sentdm::Resources::Profiles#create
6
6
  class APIResponseOfProfileDetail < Sentdm::Internal::Type::BaseModel
7
7
  # @!attribute data
8
- # The response data (null if error)
8
+ # Detailed profile response for v3 API
9
9
  #
10
10
  # @return [Sentdm::Models::ProfileDetail, nil]
11
11
  optional :data, -> { Sentdm::ProfileDetail }, nil?: true
12
12
 
13
13
  # @!attribute error
14
- # Error details (null if successful)
14
+ # Error information
15
15
  #
16
16
  # @return [Sentdm::Models::APIError, nil]
17
17
  optional :error, -> { Sentdm::APIError }, nil?: true
18
18
 
19
19
  # @!attribute meta
20
- # Metadata about the request and response
20
+ # Request and response metadata
21
21
  #
22
22
  # @return [Sentdm::Models::APIMeta, nil]
23
23
  optional :meta, -> { Sentdm::APIMeta }
@@ -31,11 +31,11 @@ module Sentdm
31
31
  # @!method initialize(data: nil, error: nil, meta: nil, success: nil)
32
32
  # Standard API response envelope for all v3 endpoints
33
33
  #
34
- # @param data [Sentdm::Models::ProfileDetail, nil] The response data (null if error)
34
+ # @param data [Sentdm::Models::ProfileDetail, nil] Detailed profile response for v3 API
35
35
  #
36
- # @param error [Sentdm::Models::APIError, nil] Error details (null if successful)
36
+ # @param error [Sentdm::Models::APIError, nil] Error information
37
37
  #
38
- # @param meta [Sentdm::Models::APIMeta] Metadata about the request and response
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
  end
@@ -5,19 +5,19 @@ module Sentdm
5
5
  # @see Sentdm::Resources::Users#retrieve
6
6
  class APIResponseOfUser < Sentdm::Internal::Type::BaseModel
7
7
  # @!attribute data
8
- # The response data (null if error)
8
+ # User response for v3 API
9
9
  #
10
10
  # @return [Sentdm::Models::UserResponse, nil]
11
11
  optional :data, -> { Sentdm::UserResponse }, nil?: true
12
12
 
13
13
  # @!attribute error
14
- # Error details (null if successful)
14
+ # Error information
15
15
  #
16
16
  # @return [Sentdm::Models::APIError, nil]
17
17
  optional :error, -> { Sentdm::APIError }, nil?: true
18
18
 
19
19
  # @!attribute meta
20
- # Metadata about the request and response
20
+ # Request and response metadata
21
21
  #
22
22
  # @return [Sentdm::Models::APIMeta, nil]
23
23
  optional :meta, -> { Sentdm::APIMeta }
@@ -31,11 +31,11 @@ module Sentdm
31
31
  # @!method initialize(data: nil, error: nil, meta: nil, success: nil)
32
32
  # Standard API response envelope for all v3 endpoints
33
33
  #
34
- # @param data [Sentdm::Models::UserResponse, nil] The response data (null if error)
34
+ # @param data [Sentdm::Models::UserResponse, nil] User response for v3 API
35
35
  #
36
- # @param error [Sentdm::Models::APIError, nil] Error details (null if successful)
36
+ # @param error [Sentdm::Models::APIError, nil] Error information
37
37
  #
38
- # @param meta [Sentdm::Models::APIMeta] Metadata about the request and response
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
  end
@@ -5,19 +5,19 @@ module Sentdm
5
5
  # @see Sentdm::Resources::Templates#create
6
6
  class APIResponseTemplate < Sentdm::Internal::Type::BaseModel
7
7
  # @!attribute data
8
- # The response data (null if error)
8
+ # Template response for v3 API
9
9
  #
10
10
  # @return [Sentdm::Models::Template, nil]
11
11
  optional :data, -> { Sentdm::Template }, nil?: true
12
12
 
13
13
  # @!attribute error
14
- # Error details (null if successful)
14
+ # Error information
15
15
  #
16
16
  # @return [Sentdm::Models::APIError, nil]
17
17
  optional :error, -> { Sentdm::APIError }, nil?: true
18
18
 
19
19
  # @!attribute meta
20
- # Metadata about the request and response
20
+ # Request and response metadata
21
21
  #
22
22
  # @return [Sentdm::Models::APIMeta, nil]
23
23
  optional :meta, -> { Sentdm::APIMeta }
@@ -31,11 +31,11 @@ module Sentdm
31
31
  # @!method initialize(data: nil, error: nil, meta: nil, success: nil)
32
32
  # Standard API response envelope for all v3 endpoints
33
33
  #
34
- # @param data [Sentdm::Models::Template, nil] The response data (null if error)
34
+ # @param data [Sentdm::Models::Template, nil] Template response for v3 API
35
35
  #
36
- # @param error [Sentdm::Models::APIError, nil] Error details (null if successful)
36
+ # @param error [Sentdm::Models::APIError, nil] Error information
37
37
  #
38
- # @param meta [Sentdm::Models::APIMeta] Metadata about the request and response
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
  end
@@ -11,13 +11,13 @@ module Sentdm
11
11
  optional :data, -> { Sentdm::WebhookResponse }, nil?: true
12
12
 
13
13
  # @!attribute error
14
- # Error details (null if successful)
14
+ # Error information
15
15
  #
16
16
  # @return [Sentdm::Models::APIError, nil]
17
17
  optional :error, -> { Sentdm::APIError }, nil?: true
18
18
 
19
19
  # @!attribute meta
20
- # Metadata about the request and response
20
+ # Request and response metadata
21
21
  #
22
22
  # @return [Sentdm::Models::APIMeta, nil]
23
23
  optional :meta, -> { Sentdm::APIMeta }
@@ -33,9 +33,9 @@ module Sentdm
33
33
  #
34
34
  # @param data [Sentdm::Models::WebhookResponse, nil] The response data (null if error)
35
35
  #
36
- # @param error [Sentdm::Models::APIError, nil] Error details (null if successful)
36
+ # @param error [Sentdm::Models::APIError, nil] Error information
37
37
  #
38
- # @param meta [Sentdm::Models::APIMeta] Metadata about the request and response
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
  end
@@ -4,21 +4,21 @@ module Sentdm
4
4
  module Models
5
5
  class BrandsBrandData < Sentdm::Internal::Type::BaseModel
6
6
  # @!attribute compliance
7
- # Compliance and TCR-related information
7
+ # Compliance and TCR information for brand registration
8
8
  #
9
9
  # @return [Sentdm::Models::SentDmServicesEndpointsCustomerApIv3ContractsRequestsBrandsBrandComplianceInfo]
10
10
  required :compliance,
11
11
  -> { Sentdm::SentDmServicesEndpointsCustomerApIv3ContractsRequestsBrandsBrandComplianceInfo }
12
12
 
13
13
  # @!attribute contact
14
- # Contact information for the brand
14
+ # Contact information for brand KYC
15
15
  #
16
16
  # @return [Sentdm::Models::SentDmServicesEndpointsCustomerApIv3ContractsRequestsBrandsBrandContactInfo]
17
17
  required :contact,
18
18
  -> { Sentdm::SentDmServicesEndpointsCustomerApIv3ContractsRequestsBrandsBrandContactInfo }
19
19
 
20
20
  # @!attribute business
21
- # Business details and address information
21
+ # Business details and address for brand KYC
22
22
  #
23
23
  # @return [Sentdm::Models::SentDmServicesEndpointsCustomerApIv3ContractsRequestsBrandsBrandBusinessInfo, nil]
24
24
  optional :business,
@@ -28,11 +28,11 @@ module Sentdm
28
28
  # @!method initialize(compliance:, contact:, business: nil)
29
29
  # Brand and KYC data grouped into contact, business, and compliance sections
30
30
  #
31
- # @param compliance [Sentdm::Models::SentDmServicesEndpointsCustomerApIv3ContractsRequestsBrandsBrandComplianceInfo] Compliance and TCR-related information
31
+ # @param compliance [Sentdm::Models::SentDmServicesEndpointsCustomerApIv3ContractsRequestsBrandsBrandComplianceInfo] Compliance and TCR information for brand registration
32
32
  #
33
- # @param contact [Sentdm::Models::SentDmServicesEndpointsCustomerApIv3ContractsRequestsBrandsBrandContactInfo] Contact information for the brand
33
+ # @param contact [Sentdm::Models::SentDmServicesEndpointsCustomerApIv3ContractsRequestsBrandsBrandContactInfo] Contact information for brand KYC
34
34
  #
35
- # @param business [Sentdm::Models::SentDmServicesEndpointsCustomerApIv3ContractsRequestsBrandsBrandBusinessInfo, nil] Business details and address information
35
+ # @param business [Sentdm::Models::SentDmServicesEndpointsCustomerApIv3ContractsRequestsBrandsBrandBusinessInfo, nil] Business details and address for brand KYC
36
36
  end
37
37
  end
38
38
  end
@@ -32,7 +32,7 @@ module Sentdm
32
32
  #
33
33
  # @param request_options [Sentdm::RequestOptions, Hash{Symbol=>Object}]
34
34
 
35
- class Body < Sentdm::Models::MutationRequestBase
35
+ class Body < Sentdm::Models::MutationRequest
36
36
  # @!method initialize
37
37
  # Request to delete/dissociate a contact
38
38
  end
@@ -5,19 +5,19 @@ module Sentdm
5
5
  # @see Sentdm::Resources::Contacts#list
6
6
  class ContactListResponse < Sentdm::Internal::Type::BaseModel
7
7
  # @!attribute data
8
- # The response data (null if error)
8
+ # Paginated list of contacts response
9
9
  #
10
10
  # @return [Sentdm::Models::ContactListResponse::Data, nil]
11
11
  optional :data, -> { Sentdm::Models::ContactListResponse::Data }, nil?: true
12
12
 
13
13
  # @!attribute error
14
- # Error details (null if successful)
14
+ # Error information
15
15
  #
16
16
  # @return [Sentdm::Models::APIError, nil]
17
17
  optional :error, -> { Sentdm::APIError }, nil?: true
18
18
 
19
19
  # @!attribute meta
20
- # Metadata about the request and response
20
+ # Request and response metadata
21
21
  #
22
22
  # @return [Sentdm::Models::APIMeta, nil]
23
23
  optional :meta, -> { Sentdm::APIMeta }
@@ -31,11 +31,11 @@ module Sentdm
31
31
  # @!method initialize(data: nil, error: nil, meta: nil, success: nil)
32
32
  # Standard API response envelope for all v3 endpoints
33
33
  #
34
- # @param data [Sentdm::Models::ContactListResponse::Data, nil] The response data (null if error)
34
+ # @param data [Sentdm::Models::ContactListResponse::Data, nil] Paginated list of contacts response
35
35
  #
36
- # @param error [Sentdm::Models::APIError, nil] Error details (null if successful)
36
+ # @param error [Sentdm::Models::APIError, nil] Error information
37
37
  #
38
- # @param meta [Sentdm::Models::APIMeta] Metadata about the request and response
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
 
@@ -48,17 +48,17 @@ module Sentdm
48
48
  optional :contacts, -> { Sentdm::Internal::Type::ArrayOf[Sentdm::ContactResponse] }
49
49
 
50
50
  # @!attribute pagination
51
- # Pagination metadata
51
+ # Pagination metadata for list responses
52
52
  #
53
53
  # @return [Sentdm::Models::PaginationMeta, nil]
54
54
  optional :pagination, -> { Sentdm::PaginationMeta }
55
55
 
56
56
  # @!method initialize(contacts: nil, pagination: nil)
57
- # The response data (null if error)
57
+ # Paginated list of contacts response
58
58
  #
59
59
  # @param contacts [Array<Sentdm::Models::ContactResponse>] List of contacts
60
60
  #
61
- # @param pagination [Sentdm::Models::PaginationMeta] Pagination metadata
61
+ # @param pagination [Sentdm::Models::PaginationMeta] Pagination metadata for list responses
62
62
  end
63
63
  end
64
64
  end
@@ -5,19 +5,21 @@ module Sentdm
5
5
  # @see Sentdm::Resources::Me#retrieve
6
6
  class MeRetrieveResponse < Sentdm::Internal::Type::BaseModel
7
7
  # @!attribute data
8
- # The response data (null if error)
8
+ # Account response for GET /v3/me endpoint. Returns organization (with profiles),
9
+ # user (standalone), or profile (child of an organization) data depending on the
10
+ # API key type. Always includes messaging channel configuration.
9
11
  #
10
12
  # @return [Sentdm::Models::MeRetrieveResponse::Data, nil]
11
13
  optional :data, -> { Sentdm::Models::MeRetrieveResponse::Data }, nil?: true
12
14
 
13
15
  # @!attribute error
14
- # Error details (null if successful)
16
+ # Error information
15
17
  #
16
18
  # @return [Sentdm::Models::APIError, nil]
17
19
  optional :error, -> { Sentdm::APIError }, nil?: true
18
20
 
19
21
  # @!attribute meta
20
- # Metadata about the request and response
22
+ # Request and response metadata
21
23
  #
22
24
  # @return [Sentdm::Models::APIMeta, nil]
23
25
  optional :meta, -> { Sentdm::APIMeta }
@@ -29,13 +31,16 @@ module Sentdm
29
31
  optional :success, Sentdm::Internal::Type::Boolean
30
32
 
31
33
  # @!method initialize(data: nil, error: nil, meta: nil, success: nil)
34
+ # Some parameter documentations has been truncated, see
35
+ # {Sentdm::Models::MeRetrieveResponse} for more details.
36
+ #
32
37
  # Standard API response envelope for all v3 endpoints
33
38
  #
34
- # @param data [Sentdm::Models::MeRetrieveResponse::Data, nil] The response data (null if error)
39
+ # @param data [Sentdm::Models::MeRetrieveResponse::Data, nil] Account response for GET /v3/me endpoint.
35
40
  #
36
- # @param error [Sentdm::Models::APIError, nil] Error details (null if successful)
41
+ # @param error [Sentdm::Models::APIError, nil] Error information
37
42
  #
38
- # @param meta [Sentdm::Models::APIMeta] Metadata about the request and response
43
+ # @param meta [Sentdm::Models::APIMeta] Request and response metadata
39
44
  #
40
45
  # @param success [Boolean] Indicates whether the request was successful
41
46
 
@@ -48,7 +53,8 @@ module Sentdm
48
53
  optional :id, String
49
54
 
50
55
  # @!attribute channels
51
- # Messaging channel configuration
56
+ # Messaging channel configuration. All three channels are always present. Each
57
+ # channel has a "configured" flag; configured channels expose additional details.
52
58
  #
53
59
  # @return [Sentdm::Models::MeRetrieveResponse::Data::Channels, nil]
54
60
  optional :channels, -> { Sentdm::Models::MeRetrieveResponse::Data::Channels }
@@ -98,7 +104,7 @@ module Sentdm
98
104
  -> { Sentdm::Internal::Type::ArrayOf[Sentdm::Models::MeRetrieveResponse::Data::Profile] }
99
105
 
100
106
  # @!attribute settings
101
- # Profile settings (only for profile type)
107
+ # Profile configuration settings
102
108
  #
103
109
  # @return [Sentdm::Models::ProfileSettings, nil]
104
110
  optional :settings, -> { Sentdm::ProfileSettings }, nil?: true
@@ -127,11 +133,13 @@ module Sentdm
127
133
  # Some parameter documentations has been truncated, see
128
134
  # {Sentdm::Models::MeRetrieveResponse::Data} for more details.
129
135
  #
130
- # The response data (null if error)
136
+ # Account response for GET /v3/me endpoint. Returns organization (with profiles),
137
+ # user (standalone), or profile (child of an organization) data depending on the
138
+ # API key type. Always includes messaging channel configuration.
131
139
  #
132
140
  # @param id [String] Customer ID (organization, account, or profile)
133
141
  #
134
- # @param channels [Sentdm::Models::MeRetrieveResponse::Data::Channels] Messaging channel configuration
142
+ # @param channels [Sentdm::Models::MeRetrieveResponse::Data::Channels] Messaging channel configuration. All three channels are always present.
135
143
  #
136
144
  # @param created_at [Time] When the account was created
137
145
  #
@@ -147,7 +155,7 @@ module Sentdm
147
155
  #
148
156
  # @param profiles [Array<Sentdm::Models::MeRetrieveResponse::Data::Profile>] List of profiles (populated for organization type, empty for user and profile ty
149
157
  #
150
- # @param settings [Sentdm::Models::ProfileSettings, nil] Profile settings (only for profile type)
158
+ # @param settings [Sentdm::Models::ProfileSettings, nil] Profile configuration settings
151
159
  #
152
160
  # @param short_name [String, nil] Short name / abbreviation (only for profile type)
153
161
  #
@@ -158,31 +166,36 @@ module Sentdm
158
166
  # @see Sentdm::Models::MeRetrieveResponse::Data#channels
159
167
  class Channels < Sentdm::Internal::Type::BaseModel
160
168
  # @!attribute rcs
161
- # RCS channel (provider: vibes)
169
+ # RCS channel configuration. When configured, includes the RCS phone number.
162
170
  #
163
171
  # @return [Sentdm::Models::MeRetrieveResponse::Data::Channels::Rcs, nil]
164
172
  optional :rcs, -> { Sentdm::Models::MeRetrieveResponse::Data::Channels::Rcs }
165
173
 
166
174
  # @!attribute sms
167
- # SMS channel (providers: telnyx, sinch)
175
+ # SMS channel configuration. When configured, includes the sending phone number.
168
176
  #
169
177
  # @return [Sentdm::Models::MeRetrieveResponse::Data::Channels::SMS, nil]
170
178
  optional :sms, -> { Sentdm::Models::MeRetrieveResponse::Data::Channels::SMS }
171
179
 
172
180
  # @!attribute whatsapp
173
- # WhatsApp Business channel (provider: meta)
181
+ # WhatsApp Business channel configuration. When configured, includes the WhatsApp
182
+ # phone number and business name.
174
183
  #
175
184
  # @return [Sentdm::Models::MeRetrieveResponse::Data::Channels::Whatsapp, nil]
176
185
  optional :whatsapp, -> { Sentdm::Models::MeRetrieveResponse::Data::Channels::Whatsapp }
177
186
 
178
187
  # @!method initialize(rcs: nil, sms: nil, whatsapp: nil)
179
- # Messaging channel configuration
188
+ # Some parameter documentations has been truncated, see
189
+ # {Sentdm::Models::MeRetrieveResponse::Data::Channels} for more details.
190
+ #
191
+ # Messaging channel configuration. All three channels are always present. Each
192
+ # channel has a "configured" flag; configured channels expose additional details.
180
193
  #
181
- # @param rcs [Sentdm::Models::MeRetrieveResponse::Data::Channels::Rcs] RCS channel (provider: vibes)
194
+ # @param rcs [Sentdm::Models::MeRetrieveResponse::Data::Channels::Rcs] RCS channel configuration. When configured, includes the RCS phone number.
182
195
  #
183
- # @param sms [Sentdm::Models::MeRetrieveResponse::Data::Channels::SMS] SMS channel (providers: telnyx, sinch)
196
+ # @param sms [Sentdm::Models::MeRetrieveResponse::Data::Channels::SMS] SMS channel configuration. When configured, includes the sending phone number.
184
197
  #
185
- # @param whatsapp [Sentdm::Models::MeRetrieveResponse::Data::Channels::Whatsapp] WhatsApp Business channel (provider: meta)
198
+ # @param whatsapp [Sentdm::Models::MeRetrieveResponse::Data::Channels::Whatsapp] WhatsApp Business channel configuration. When configured, includes the WhatsApp
186
199
 
187
200
  # @see Sentdm::Models::MeRetrieveResponse::Data::Channels#rcs
188
201
  class Rcs < Sentdm::Internal::Type::BaseModel
@@ -199,7 +212,7 @@ module Sentdm
199
212
  optional :phone_number, String, nil?: true
200
213
 
201
214
  # @!method initialize(configured: nil, phone_number: nil)
202
- # RCS channel (provider: vibes)
215
+ # RCS channel configuration. When configured, includes the RCS phone number.
203
216
  #
204
217
  # @param configured [Boolean] Whether RCS is configured for this account
205
218
  #
@@ -221,7 +234,7 @@ module Sentdm
221
234
  optional :phone_number, String, nil?: true
222
235
 
223
236
  # @!method initialize(configured: nil, phone_number: nil)
224
- # SMS channel (providers: telnyx, sinch)
237
+ # SMS channel configuration. When configured, includes the sending phone number.
225
238
  #
226
239
  # @param configured [Boolean] Whether SMS is configured for this account
227
240
  #
@@ -249,7 +262,8 @@ module Sentdm
249
262
  optional :phone_number, String, nil?: true
250
263
 
251
264
  # @!method initialize(business_name: nil, configured: nil, phone_number: nil)
252
- # WhatsApp Business channel (provider: meta)
265
+ # WhatsApp Business channel configuration. When configured, includes the WhatsApp
266
+ # phone number and business name.
253
267
  #
254
268
  # @param business_name [String, nil] WhatsApp Business display name
255
269
  #
@@ -5,19 +5,19 @@ module Sentdm
5
5
  # @see Sentdm::Resources::Messages#retrieve_activities
6
6
  class MessageRetrieveActivitiesResponse < Sentdm::Internal::Type::BaseModel
7
7
  # @!attribute data
8
- # The response data (null if error)
8
+ # Response for GET /messages/{id}/activities
9
9
  #
10
10
  # @return [Sentdm::Models::MessageRetrieveActivitiesResponse::Data, nil]
11
11
  optional :data, -> { Sentdm::Models::MessageRetrieveActivitiesResponse::Data }, nil?: true
12
12
 
13
13
  # @!attribute error
14
- # Error details (null if successful)
14
+ # Error information
15
15
  #
16
16
  # @return [Sentdm::Models::APIError, nil]
17
17
  optional :error, -> { Sentdm::APIError }, nil?: true
18
18
 
19
19
  # @!attribute meta
20
- # Metadata about the request and response
20
+ # Request and response metadata
21
21
  #
22
22
  # @return [Sentdm::Models::APIMeta, nil]
23
23
  optional :meta, -> { Sentdm::APIMeta }
@@ -31,11 +31,11 @@ module Sentdm
31
31
  # @!method initialize(data: nil, error: nil, meta: nil, success: nil)
32
32
  # Standard API response envelope for all v3 endpoints
33
33
  #
34
- # @param data [Sentdm::Models::MessageRetrieveActivitiesResponse::Data, nil] The response data (null if error)
34
+ # @param data [Sentdm::Models::MessageRetrieveActivitiesResponse::Data, nil] Response for GET /messages/{id}/activities
35
35
  #
36
- # @param error [Sentdm::Models::APIError, nil] Error details (null if successful)
36
+ # @param error [Sentdm::Models::APIError, nil] Error information
37
37
  #
38
- # @param meta [Sentdm::Models::APIMeta] Metadata about the request and response
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
 
@@ -55,7 +55,7 @@ module Sentdm
55
55
  optional :message_id, String
56
56
 
57
57
  # @!method initialize(activities: nil, message_id: nil)
58
- # The response data (null if error)
58
+ # Response for GET /messages/{id}/activities
59
59
  #
60
60
  # @param activities [Array<Sentdm::Models::MessageRetrieveActivitiesResponse::Data::Activity>] List of activity events ordered by most recent first
61
61
  #
@@ -5,19 +5,19 @@ module Sentdm
5
5
  # @see Sentdm::Resources::Messages#retrieve_status
6
6
  class MessageRetrieveStatusResponse < Sentdm::Internal::Type::BaseModel
7
7
  # @!attribute data
8
- # The response data (null if error)
8
+ # Message response for v3 API — same shape as v2 with snake_case JSON conventions
9
9
  #
10
10
  # @return [Sentdm::Models::MessageRetrieveStatusResponse::Data, nil]
11
11
  optional :data, -> { Sentdm::Models::MessageRetrieveStatusResponse::Data }, nil?: true
12
12
 
13
13
  # @!attribute error
14
- # Error details (null if successful)
14
+ # Error information
15
15
  #
16
16
  # @return [Sentdm::Models::APIError, nil]
17
17
  optional :error, -> { Sentdm::APIError }, nil?: true
18
18
 
19
19
  # @!attribute meta
20
- # Metadata about the request and response
20
+ # Request and response metadata
21
21
  #
22
22
  # @return [Sentdm::Models::APIMeta, nil]
23
23
  optional :meta, -> { Sentdm::APIMeta }
@@ -31,11 +31,11 @@ module Sentdm
31
31
  # @!method initialize(data: nil, error: nil, meta: nil, success: nil)
32
32
  # Standard API response envelope for all v3 endpoints
33
33
  #
34
- # @param data [Sentdm::Models::MessageRetrieveStatusResponse::Data, nil] The response data (null if error)
34
+ # @param data [Sentdm::Models::MessageRetrieveStatusResponse::Data, nil] Message response for v3 API — same shape as v2 with snake_case JSON conventions
35
35
  #
36
- # @param error [Sentdm::Models::APIError, nil] Error details (null if successful)
36
+ # @param error [Sentdm::Models::APIError, nil] Error information
37
37
  #
38
- # @param meta [Sentdm::Models::APIMeta] Metadata about the request and response
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
 
@@ -131,7 +131,7 @@ module Sentdm
131
131
  # Some parameter documentations has been truncated, see
132
132
  # {Sentdm::Models::MessageRetrieveStatusResponse::Data} for more details.
133
133
  #
134
- # The response data (null if error)
134
+ # Message response for v3 API — same shape as v2 with snake_case JSON conventions
135
135
  #
136
136
  # @param id [String]
137
137
  #
@@ -23,7 +23,8 @@ module Sentdm
23
23
  optional :sandbox, Sentdm::Internal::Type::Boolean
24
24
 
25
25
  # @!attribute template
26
- # Template reference (by id or name, with optional parameters)
26
+ # SDK-style template reference: resolve by ID or by name, with optional
27
+ # parameters.
27
28
  #
28
29
  # @return [Sentdm::Models::MessageSendParams::Template, nil]
29
30
  optional :template, -> { Sentdm::MessageSendParams::Template }
@@ -52,7 +53,7 @@ module Sentdm
52
53
  #
53
54
  # @param sandbox [Boolean] Sandbox flag - when true, the operation is simulated without side effects
54
55
  #
55
- # @param template [Sentdm::Models::MessageSendParams::Template] Template reference (by id or name, with optional parameters)
56
+ # @param template [Sentdm::Models::MessageSendParams::Template] SDK-style template reference: resolve by ID or by name, with optional parameters
56
57
  #
57
58
  # @param to [Array<String>] List of recipient phone numbers in E.164 format (multi-recipient fan-out)
58
59
  #
@@ -82,7 +83,8 @@ module Sentdm
82
83
  optional :parameters, Sentdm::Internal::Type::HashOf[String], nil?: true
83
84
 
84
85
  # @!method initialize(id: nil, name: nil, parameters: nil)
85
- # Template reference (by id or name, with optional parameters)
86
+ # SDK-style template reference: resolve by ID or by name, with optional
87
+ # parameters.
86
88
  #
87
89
  # @param id [String, nil] Template ID (mutually exclusive with name)
88
90
  #