sentdm 0.8.0 → 0.9.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 (76) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +8 -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 +3 -3
  6. data/lib/sentdm/models/api_response_of_profile_detail.rb +3 -3
  7. data/lib/sentdm/models/api_response_of_user.rb +3 -3
  8. data/lib/sentdm/models/api_response_template.rb +3 -3
  9. data/lib/sentdm/models/api_response_webhook.rb +3 -3
  10. data/lib/sentdm/models/contact_list_response.rb +3 -3
  11. data/lib/sentdm/models/{api_error.rb → error_detail.rb} +1 -1
  12. data/lib/sentdm/models/me_retrieve_response.rb +3 -3
  13. data/lib/sentdm/models/message_retrieve_activities_response.rb +3 -3
  14. data/lib/sentdm/models/message_retrieve_status_response.rb +3 -3
  15. data/lib/sentdm/models/message_send_response.rb +3 -3
  16. data/lib/sentdm/models/number_lookup_response.rb +3 -3
  17. data/lib/sentdm/models/profile_list_response.rb +3 -3
  18. data/lib/sentdm/models/profiles/api_response_of_tcr_campaign_with_use_cases.rb +3 -3
  19. data/lib/sentdm/models/profiles/campaign_list_response.rb +3 -3
  20. data/lib/sentdm/models/template_list_response.rb +3 -3
  21. data/lib/sentdm/models/user_list_response.rb +3 -3
  22. data/lib/sentdm/models/webhook_list_event_types_response.rb +3 -3
  23. data/lib/sentdm/models/webhook_list_events_response.rb +3 -3
  24. data/lib/sentdm/models/webhook_list_response.rb +3 -3
  25. data/lib/sentdm/models/webhook_rotate_secret_response.rb +3 -3
  26. data/lib/sentdm/models/webhook_test_response.rb +3 -3
  27. data/lib/sentdm/models.rb +2 -2
  28. data/lib/sentdm/version.rb +1 -1
  29. data/lib/sentdm.rb +1 -1
  30. data/rbi/sentdm/models/api_response_of_contact.rbi +4 -4
  31. data/rbi/sentdm/models/api_response_of_profile_detail.rbi +4 -4
  32. data/rbi/sentdm/models/api_response_of_user.rbi +4 -4
  33. data/rbi/sentdm/models/api_response_template.rbi +4 -4
  34. data/rbi/sentdm/models/api_response_webhook.rbi +4 -4
  35. data/rbi/sentdm/models/contact_list_response.rbi +4 -4
  36. data/rbi/sentdm/models/{api_error.rbi → error_detail.rbi} +2 -2
  37. data/rbi/sentdm/models/me_retrieve_response.rbi +4 -4
  38. data/rbi/sentdm/models/message_retrieve_activities_response.rbi +4 -4
  39. data/rbi/sentdm/models/message_retrieve_status_response.rbi +4 -4
  40. data/rbi/sentdm/models/message_send_response.rbi +4 -4
  41. data/rbi/sentdm/models/number_lookup_response.rbi +4 -4
  42. data/rbi/sentdm/models/profile_list_response.rbi +4 -4
  43. data/rbi/sentdm/models/profiles/api_response_of_tcr_campaign_with_use_cases.rbi +4 -4
  44. data/rbi/sentdm/models/profiles/campaign_list_response.rbi +4 -4
  45. data/rbi/sentdm/models/template_list_response.rbi +4 -4
  46. data/rbi/sentdm/models/user_list_response.rbi +4 -4
  47. data/rbi/sentdm/models/webhook_list_event_types_response.rbi +4 -4
  48. data/rbi/sentdm/models/webhook_list_events_response.rbi +4 -4
  49. data/rbi/sentdm/models/webhook_list_response.rbi +4 -4
  50. data/rbi/sentdm/models/webhook_rotate_secret_response.rbi +4 -4
  51. data/rbi/sentdm/models/webhook_test_response.rbi +4 -4
  52. data/rbi/sentdm/models.rbi +2 -2
  53. data/sig/sentdm/models/api_response_of_contact.rbs +4 -4
  54. data/sig/sentdm/models/api_response_of_profile_detail.rbs +4 -4
  55. data/sig/sentdm/models/api_response_of_user.rbs +4 -4
  56. data/sig/sentdm/models/api_response_template.rbs +4 -4
  57. data/sig/sentdm/models/api_response_webhook.rbs +4 -4
  58. data/sig/sentdm/models/contact_list_response.rbs +4 -4
  59. data/sig/sentdm/models/{api_error.rbs → error_detail.rbs} +2 -2
  60. data/sig/sentdm/models/me_retrieve_response.rbs +4 -4
  61. data/sig/sentdm/models/message_retrieve_activities_response.rbs +4 -4
  62. data/sig/sentdm/models/message_retrieve_status_response.rbs +4 -4
  63. data/sig/sentdm/models/message_send_response.rbs +4 -4
  64. data/sig/sentdm/models/number_lookup_response.rbs +4 -4
  65. data/sig/sentdm/models/profile_list_response.rbs +4 -4
  66. data/sig/sentdm/models/profiles/api_response_of_tcr_campaign_with_use_cases.rbs +4 -4
  67. data/sig/sentdm/models/profiles/campaign_list_response.rbs +4 -4
  68. data/sig/sentdm/models/template_list_response.rbs +4 -4
  69. data/sig/sentdm/models/user_list_response.rbs +4 -4
  70. data/sig/sentdm/models/webhook_list_event_types_response.rbs +4 -4
  71. data/sig/sentdm/models/webhook_list_events_response.rbs +4 -4
  72. data/sig/sentdm/models/webhook_list_response.rbs +4 -4
  73. data/sig/sentdm/models/webhook_rotate_secret_response.rbs +4 -4
  74. data/sig/sentdm/models/webhook_test_response.rbs +4 -4
  75. data/sig/sentdm/models.rbs +2 -2
  76. metadata +4 -4
@@ -3,7 +3,7 @@ module Sentdm
3
3
  type api_response_of_user =
4
4
  {
5
5
  data: Sentdm::UserResponse?,
6
- error: Sentdm::APIError?,
6
+ error: Sentdm::ErrorDetail?,
7
7
  meta: Sentdm::APIMeta,
8
8
  success: bool
9
9
  }
@@ -11,7 +11,7 @@ module Sentdm
11
11
  class APIResponseOfUser < Sentdm::Internal::Type::BaseModel
12
12
  attr_accessor data: Sentdm::UserResponse?
13
13
 
14
- attr_accessor error: Sentdm::APIError?
14
+ attr_accessor error: Sentdm::ErrorDetail?
15
15
 
16
16
  attr_reader meta: Sentdm::APIMeta?
17
17
 
@@ -23,14 +23,14 @@ module Sentdm
23
23
 
24
24
  def initialize: (
25
25
  ?data: Sentdm::UserResponse?,
26
- ?error: Sentdm::APIError?,
26
+ ?error: Sentdm::ErrorDetail?,
27
27
  ?meta: Sentdm::APIMeta,
28
28
  ?success: bool
29
29
  ) -> void
30
30
 
31
31
  def to_hash: -> {
32
32
  data: Sentdm::UserResponse?,
33
- error: Sentdm::APIError?,
33
+ error: Sentdm::ErrorDetail?,
34
34
  meta: Sentdm::APIMeta,
35
35
  success: bool
36
36
  }
@@ -3,7 +3,7 @@ module Sentdm
3
3
  type api_response_template =
4
4
  {
5
5
  data: Sentdm::Template?,
6
- error: Sentdm::APIError?,
6
+ error: Sentdm::ErrorDetail?,
7
7
  meta: Sentdm::APIMeta,
8
8
  success: bool
9
9
  }
@@ -11,7 +11,7 @@ module Sentdm
11
11
  class APIResponseTemplate < Sentdm::Internal::Type::BaseModel
12
12
  attr_accessor data: Sentdm::Template?
13
13
 
14
- attr_accessor error: Sentdm::APIError?
14
+ attr_accessor error: Sentdm::ErrorDetail?
15
15
 
16
16
  attr_reader meta: Sentdm::APIMeta?
17
17
 
@@ -23,14 +23,14 @@ module Sentdm
23
23
 
24
24
  def initialize: (
25
25
  ?data: Sentdm::Template?,
26
- ?error: Sentdm::APIError?,
26
+ ?error: Sentdm::ErrorDetail?,
27
27
  ?meta: Sentdm::APIMeta,
28
28
  ?success: bool
29
29
  ) -> void
30
30
 
31
31
  def to_hash: -> {
32
32
  data: Sentdm::Template?,
33
- error: Sentdm::APIError?,
33
+ error: Sentdm::ErrorDetail?,
34
34
  meta: Sentdm::APIMeta,
35
35
  success: bool
36
36
  }
@@ -3,7 +3,7 @@ module Sentdm
3
3
  type api_response_webhook =
4
4
  {
5
5
  data: Sentdm::WebhookResponse?,
6
- error: Sentdm::APIError?,
6
+ error: Sentdm::ErrorDetail?,
7
7
  meta: Sentdm::APIMeta,
8
8
  success: bool
9
9
  }
@@ -11,7 +11,7 @@ module Sentdm
11
11
  class APIResponseWebhook < Sentdm::Internal::Type::BaseModel
12
12
  attr_accessor data: Sentdm::WebhookResponse?
13
13
 
14
- attr_accessor error: Sentdm::APIError?
14
+ attr_accessor error: Sentdm::ErrorDetail?
15
15
 
16
16
  attr_reader meta: Sentdm::APIMeta?
17
17
 
@@ -23,14 +23,14 @@ module Sentdm
23
23
 
24
24
  def initialize: (
25
25
  ?data: Sentdm::WebhookResponse?,
26
- ?error: Sentdm::APIError?,
26
+ ?error: Sentdm::ErrorDetail?,
27
27
  ?meta: Sentdm::APIMeta,
28
28
  ?success: bool
29
29
  ) -> void
30
30
 
31
31
  def to_hash: -> {
32
32
  data: Sentdm::WebhookResponse?,
33
- error: Sentdm::APIError?,
33
+ error: Sentdm::ErrorDetail?,
34
34
  meta: Sentdm::APIMeta,
35
35
  success: bool
36
36
  }
@@ -3,7 +3,7 @@ module Sentdm
3
3
  type contact_list_response =
4
4
  {
5
5
  data: Sentdm::Models::ContactListResponse::Data?,
6
- error: Sentdm::APIError?,
6
+ error: Sentdm::ErrorDetail?,
7
7
  meta: Sentdm::APIMeta,
8
8
  success: bool
9
9
  }
@@ -11,7 +11,7 @@ module Sentdm
11
11
  class ContactListResponse < Sentdm::Internal::Type::BaseModel
12
12
  attr_accessor data: Sentdm::Models::ContactListResponse::Data?
13
13
 
14
- attr_accessor error: Sentdm::APIError?
14
+ attr_accessor error: Sentdm::ErrorDetail?
15
15
 
16
16
  attr_reader meta: Sentdm::APIMeta?
17
17
 
@@ -23,14 +23,14 @@ module Sentdm
23
23
 
24
24
  def initialize: (
25
25
  ?data: Sentdm::Models::ContactListResponse::Data?,
26
- ?error: Sentdm::APIError?,
26
+ ?error: Sentdm::ErrorDetail?,
27
27
  ?meta: Sentdm::APIMeta,
28
28
  ?success: bool
29
29
  ) -> void
30
30
 
31
31
  def to_hash: -> {
32
32
  data: Sentdm::Models::ContactListResponse::Data?,
33
- error: Sentdm::APIError?,
33
+ error: Sentdm::ErrorDetail?,
34
34
  meta: Sentdm::APIMeta,
35
35
  success: bool
36
36
  }
@@ -1,6 +1,6 @@
1
1
  module Sentdm
2
2
  module Models
3
- type api_error =
3
+ type error_detail =
4
4
  {
5
5
  code: String,
6
6
  details: ::Hash[Symbol, ::Array[String]]?,
@@ -8,7 +8,7 @@ module Sentdm
8
8
  message: String
9
9
  }
10
10
 
11
- class APIError < Sentdm::Internal::Type::BaseModel
11
+ class ErrorDetail < Sentdm::Internal::Type::BaseModel
12
12
  attr_reader code: String?
13
13
 
14
14
  def code=: (String) -> String
@@ -3,7 +3,7 @@ module Sentdm
3
3
  type me_retrieve_response =
4
4
  {
5
5
  data: Sentdm::Models::MeRetrieveResponse::Data?,
6
- error: Sentdm::APIError?,
6
+ error: Sentdm::ErrorDetail?,
7
7
  meta: Sentdm::APIMeta,
8
8
  success: bool
9
9
  }
@@ -11,7 +11,7 @@ module Sentdm
11
11
  class MeRetrieveResponse < Sentdm::Internal::Type::BaseModel
12
12
  attr_accessor data: Sentdm::Models::MeRetrieveResponse::Data?
13
13
 
14
- attr_accessor error: Sentdm::APIError?
14
+ attr_accessor error: Sentdm::ErrorDetail?
15
15
 
16
16
  attr_reader meta: Sentdm::APIMeta?
17
17
 
@@ -23,14 +23,14 @@ module Sentdm
23
23
 
24
24
  def initialize: (
25
25
  ?data: Sentdm::Models::MeRetrieveResponse::Data?,
26
- ?error: Sentdm::APIError?,
26
+ ?error: Sentdm::ErrorDetail?,
27
27
  ?meta: Sentdm::APIMeta,
28
28
  ?success: bool
29
29
  ) -> void
30
30
 
31
31
  def to_hash: -> {
32
32
  data: Sentdm::Models::MeRetrieveResponse::Data?,
33
- error: Sentdm::APIError?,
33
+ error: Sentdm::ErrorDetail?,
34
34
  meta: Sentdm::APIMeta,
35
35
  success: bool
36
36
  }
@@ -3,7 +3,7 @@ module Sentdm
3
3
  type message_retrieve_activities_response =
4
4
  {
5
5
  data: Sentdm::Models::MessageRetrieveActivitiesResponse::Data?,
6
- error: Sentdm::APIError?,
6
+ error: Sentdm::ErrorDetail?,
7
7
  meta: Sentdm::APIMeta,
8
8
  success: bool
9
9
  }
@@ -11,7 +11,7 @@ module Sentdm
11
11
  class MessageRetrieveActivitiesResponse < Sentdm::Internal::Type::BaseModel
12
12
  attr_accessor data: Sentdm::Models::MessageRetrieveActivitiesResponse::Data?
13
13
 
14
- attr_accessor error: Sentdm::APIError?
14
+ attr_accessor error: Sentdm::ErrorDetail?
15
15
 
16
16
  attr_reader meta: Sentdm::APIMeta?
17
17
 
@@ -23,14 +23,14 @@ module Sentdm
23
23
 
24
24
  def initialize: (
25
25
  ?data: Sentdm::Models::MessageRetrieveActivitiesResponse::Data?,
26
- ?error: Sentdm::APIError?,
26
+ ?error: Sentdm::ErrorDetail?,
27
27
  ?meta: Sentdm::APIMeta,
28
28
  ?success: bool
29
29
  ) -> void
30
30
 
31
31
  def to_hash: -> {
32
32
  data: Sentdm::Models::MessageRetrieveActivitiesResponse::Data?,
33
- error: Sentdm::APIError?,
33
+ error: Sentdm::ErrorDetail?,
34
34
  meta: Sentdm::APIMeta,
35
35
  success: bool
36
36
  }
@@ -3,7 +3,7 @@ module Sentdm
3
3
  type message_retrieve_status_response =
4
4
  {
5
5
  data: Sentdm::Models::MessageRetrieveStatusResponse::Data?,
6
- error: Sentdm::APIError?,
6
+ error: Sentdm::ErrorDetail?,
7
7
  meta: Sentdm::APIMeta,
8
8
  success: bool
9
9
  }
@@ -11,7 +11,7 @@ module Sentdm
11
11
  class MessageRetrieveStatusResponse < Sentdm::Internal::Type::BaseModel
12
12
  attr_accessor data: Sentdm::Models::MessageRetrieveStatusResponse::Data?
13
13
 
14
- attr_accessor error: Sentdm::APIError?
14
+ attr_accessor error: Sentdm::ErrorDetail?
15
15
 
16
16
  attr_reader meta: Sentdm::APIMeta?
17
17
 
@@ -23,14 +23,14 @@ module Sentdm
23
23
 
24
24
  def initialize: (
25
25
  ?data: Sentdm::Models::MessageRetrieveStatusResponse::Data?,
26
- ?error: Sentdm::APIError?,
26
+ ?error: Sentdm::ErrorDetail?,
27
27
  ?meta: Sentdm::APIMeta,
28
28
  ?success: bool
29
29
  ) -> void
30
30
 
31
31
  def to_hash: -> {
32
32
  data: Sentdm::Models::MessageRetrieveStatusResponse::Data?,
33
- error: Sentdm::APIError?,
33
+ error: Sentdm::ErrorDetail?,
34
34
  meta: Sentdm::APIMeta,
35
35
  success: bool
36
36
  }
@@ -3,7 +3,7 @@ module Sentdm
3
3
  type message_send_response =
4
4
  {
5
5
  data: Sentdm::Models::MessageSendResponse::Data?,
6
- error: Sentdm::APIError?,
6
+ error: Sentdm::ErrorDetail?,
7
7
  meta: Sentdm::APIMeta,
8
8
  success: bool
9
9
  }
@@ -11,7 +11,7 @@ module Sentdm
11
11
  class MessageSendResponse < Sentdm::Internal::Type::BaseModel
12
12
  attr_accessor data: Sentdm::Models::MessageSendResponse::Data?
13
13
 
14
- attr_accessor error: Sentdm::APIError?
14
+ attr_accessor error: Sentdm::ErrorDetail?
15
15
 
16
16
  attr_reader meta: Sentdm::APIMeta?
17
17
 
@@ -23,14 +23,14 @@ module Sentdm
23
23
 
24
24
  def initialize: (
25
25
  ?data: Sentdm::Models::MessageSendResponse::Data?,
26
- ?error: Sentdm::APIError?,
26
+ ?error: Sentdm::ErrorDetail?,
27
27
  ?meta: Sentdm::APIMeta,
28
28
  ?success: bool
29
29
  ) -> void
30
30
 
31
31
  def to_hash: -> {
32
32
  data: Sentdm::Models::MessageSendResponse::Data?,
33
- error: Sentdm::APIError?,
33
+ error: Sentdm::ErrorDetail?,
34
34
  meta: Sentdm::APIMeta,
35
35
  success: bool
36
36
  }
@@ -3,7 +3,7 @@ module Sentdm
3
3
  type number_lookup_response =
4
4
  {
5
5
  data: Sentdm::Models::NumberLookupResponse::Data?,
6
- error: Sentdm::APIError?,
6
+ error: Sentdm::ErrorDetail?,
7
7
  meta: Sentdm::APIMeta,
8
8
  success: bool
9
9
  }
@@ -11,7 +11,7 @@ module Sentdm
11
11
  class NumberLookupResponse < Sentdm::Internal::Type::BaseModel
12
12
  attr_accessor data: Sentdm::Models::NumberLookupResponse::Data?
13
13
 
14
- attr_accessor error: Sentdm::APIError?
14
+ attr_accessor error: Sentdm::ErrorDetail?
15
15
 
16
16
  attr_reader meta: Sentdm::APIMeta?
17
17
 
@@ -23,14 +23,14 @@ module Sentdm
23
23
 
24
24
  def initialize: (
25
25
  ?data: Sentdm::Models::NumberLookupResponse::Data?,
26
- ?error: Sentdm::APIError?,
26
+ ?error: Sentdm::ErrorDetail?,
27
27
  ?meta: Sentdm::APIMeta,
28
28
  ?success: bool
29
29
  ) -> void
30
30
 
31
31
  def to_hash: -> {
32
32
  data: Sentdm::Models::NumberLookupResponse::Data?,
33
- error: Sentdm::APIError?,
33
+ error: Sentdm::ErrorDetail?,
34
34
  meta: Sentdm::APIMeta,
35
35
  success: bool
36
36
  }
@@ -3,7 +3,7 @@ module Sentdm
3
3
  type profile_list_response =
4
4
  {
5
5
  data: Sentdm::Models::ProfileListResponse::Data?,
6
- error: Sentdm::APIError?,
6
+ error: Sentdm::ErrorDetail?,
7
7
  meta: Sentdm::APIMeta,
8
8
  success: bool
9
9
  }
@@ -11,7 +11,7 @@ module Sentdm
11
11
  class ProfileListResponse < Sentdm::Internal::Type::BaseModel
12
12
  attr_accessor data: Sentdm::Models::ProfileListResponse::Data?
13
13
 
14
- attr_accessor error: Sentdm::APIError?
14
+ attr_accessor error: Sentdm::ErrorDetail?
15
15
 
16
16
  attr_reader meta: Sentdm::APIMeta?
17
17
 
@@ -23,14 +23,14 @@ module Sentdm
23
23
 
24
24
  def initialize: (
25
25
  ?data: Sentdm::Models::ProfileListResponse::Data?,
26
- ?error: Sentdm::APIError?,
26
+ ?error: Sentdm::ErrorDetail?,
27
27
  ?meta: Sentdm::APIMeta,
28
28
  ?success: bool
29
29
  ) -> void
30
30
 
31
31
  def to_hash: -> {
32
32
  data: Sentdm::Models::ProfileListResponse::Data?,
33
- error: Sentdm::APIError?,
33
+ error: Sentdm::ErrorDetail?,
34
34
  meta: Sentdm::APIMeta,
35
35
  success: bool
36
36
  }
@@ -4,7 +4,7 @@ module Sentdm
4
4
  type api_response_of_tcr_campaign_with_use_cases =
5
5
  {
6
6
  data: Sentdm::Profiles::TcrCampaignWithUseCases?,
7
- error: Sentdm::APIError?,
7
+ error: Sentdm::ErrorDetail?,
8
8
  meta: Sentdm::APIMeta,
9
9
  success: bool
10
10
  }
@@ -12,7 +12,7 @@ module Sentdm
12
12
  class APIResponseOfTcrCampaignWithUseCases < Sentdm::Internal::Type::BaseModel
13
13
  attr_accessor data: Sentdm::Profiles::TcrCampaignWithUseCases?
14
14
 
15
- attr_accessor error: Sentdm::APIError?
15
+ attr_accessor error: Sentdm::ErrorDetail?
16
16
 
17
17
  attr_reader meta: Sentdm::APIMeta?
18
18
 
@@ -24,14 +24,14 @@ module Sentdm
24
24
 
25
25
  def initialize: (
26
26
  ?data: Sentdm::Profiles::TcrCampaignWithUseCases?,
27
- ?error: Sentdm::APIError?,
27
+ ?error: Sentdm::ErrorDetail?,
28
28
  ?meta: Sentdm::APIMeta,
29
29
  ?success: bool
30
30
  ) -> void
31
31
 
32
32
  def to_hash: -> {
33
33
  data: Sentdm::Profiles::TcrCampaignWithUseCases?,
34
- error: Sentdm::APIError?,
34
+ error: Sentdm::ErrorDetail?,
35
35
  meta: Sentdm::APIMeta,
36
36
  success: bool
37
37
  }
@@ -4,7 +4,7 @@ module Sentdm
4
4
  type campaign_list_response =
5
5
  {
6
6
  data: ::Array[Sentdm::Profiles::TcrCampaignWithUseCases]?,
7
- error: Sentdm::APIError?,
7
+ error: Sentdm::ErrorDetail?,
8
8
  meta: Sentdm::APIMeta,
9
9
  success: bool
10
10
  }
@@ -12,7 +12,7 @@ module Sentdm
12
12
  class CampaignListResponse < Sentdm::Internal::Type::BaseModel
13
13
  attr_accessor data: ::Array[Sentdm::Profiles::TcrCampaignWithUseCases]?
14
14
 
15
- attr_accessor error: Sentdm::APIError?
15
+ attr_accessor error: Sentdm::ErrorDetail?
16
16
 
17
17
  attr_reader meta: Sentdm::APIMeta?
18
18
 
@@ -24,14 +24,14 @@ module Sentdm
24
24
 
25
25
  def initialize: (
26
26
  ?data: ::Array[Sentdm::Profiles::TcrCampaignWithUseCases]?,
27
- ?error: Sentdm::APIError?,
27
+ ?error: Sentdm::ErrorDetail?,
28
28
  ?meta: Sentdm::APIMeta,
29
29
  ?success: bool
30
30
  ) -> void
31
31
 
32
32
  def to_hash: -> {
33
33
  data: ::Array[Sentdm::Profiles::TcrCampaignWithUseCases]?,
34
- error: Sentdm::APIError?,
34
+ error: Sentdm::ErrorDetail?,
35
35
  meta: Sentdm::APIMeta,
36
36
  success: bool
37
37
  }
@@ -3,7 +3,7 @@ module Sentdm
3
3
  type template_list_response =
4
4
  {
5
5
  data: Sentdm::Models::TemplateListResponse::Data?,
6
- error: Sentdm::APIError?,
6
+ error: Sentdm::ErrorDetail?,
7
7
  meta: Sentdm::APIMeta,
8
8
  success: bool
9
9
  }
@@ -11,7 +11,7 @@ module Sentdm
11
11
  class TemplateListResponse < Sentdm::Internal::Type::BaseModel
12
12
  attr_accessor data: Sentdm::Models::TemplateListResponse::Data?
13
13
 
14
- attr_accessor error: Sentdm::APIError?
14
+ attr_accessor error: Sentdm::ErrorDetail?
15
15
 
16
16
  attr_reader meta: Sentdm::APIMeta?
17
17
 
@@ -23,14 +23,14 @@ module Sentdm
23
23
 
24
24
  def initialize: (
25
25
  ?data: Sentdm::Models::TemplateListResponse::Data?,
26
- ?error: Sentdm::APIError?,
26
+ ?error: Sentdm::ErrorDetail?,
27
27
  ?meta: Sentdm::APIMeta,
28
28
  ?success: bool
29
29
  ) -> void
30
30
 
31
31
  def to_hash: -> {
32
32
  data: Sentdm::Models::TemplateListResponse::Data?,
33
- error: Sentdm::APIError?,
33
+ error: Sentdm::ErrorDetail?,
34
34
  meta: Sentdm::APIMeta,
35
35
  success: bool
36
36
  }
@@ -3,7 +3,7 @@ module Sentdm
3
3
  type user_list_response =
4
4
  {
5
5
  data: Sentdm::Models::UserListResponse::Data?,
6
- error: Sentdm::APIError?,
6
+ error: Sentdm::ErrorDetail?,
7
7
  meta: Sentdm::APIMeta,
8
8
  success: bool
9
9
  }
@@ -11,7 +11,7 @@ module Sentdm
11
11
  class UserListResponse < Sentdm::Internal::Type::BaseModel
12
12
  attr_accessor data: Sentdm::Models::UserListResponse::Data?
13
13
 
14
- attr_accessor error: Sentdm::APIError?
14
+ attr_accessor error: Sentdm::ErrorDetail?
15
15
 
16
16
  attr_reader meta: Sentdm::APIMeta?
17
17
 
@@ -23,14 +23,14 @@ module Sentdm
23
23
 
24
24
  def initialize: (
25
25
  ?data: Sentdm::Models::UserListResponse::Data?,
26
- ?error: Sentdm::APIError?,
26
+ ?error: Sentdm::ErrorDetail?,
27
27
  ?meta: Sentdm::APIMeta,
28
28
  ?success: bool
29
29
  ) -> void
30
30
 
31
31
  def to_hash: -> {
32
32
  data: Sentdm::Models::UserListResponse::Data?,
33
- error: Sentdm::APIError?,
33
+ error: Sentdm::ErrorDetail?,
34
34
  meta: Sentdm::APIMeta,
35
35
  success: bool
36
36
  }
@@ -3,7 +3,7 @@ module Sentdm
3
3
  type webhook_list_event_types_response =
4
4
  {
5
5
  data: Sentdm::Models::WebhookListEventTypesResponse::Data?,
6
- error: Sentdm::APIError?,
6
+ error: Sentdm::ErrorDetail?,
7
7
  meta: Sentdm::APIMeta,
8
8
  success: bool
9
9
  }
@@ -11,7 +11,7 @@ module Sentdm
11
11
  class WebhookListEventTypesResponse < Sentdm::Internal::Type::BaseModel
12
12
  attr_accessor data: Sentdm::Models::WebhookListEventTypesResponse::Data?
13
13
 
14
- attr_accessor error: Sentdm::APIError?
14
+ attr_accessor error: Sentdm::ErrorDetail?
15
15
 
16
16
  attr_reader meta: Sentdm::APIMeta?
17
17
 
@@ -23,14 +23,14 @@ module Sentdm
23
23
 
24
24
  def initialize: (
25
25
  ?data: Sentdm::Models::WebhookListEventTypesResponse::Data?,
26
- ?error: Sentdm::APIError?,
26
+ ?error: Sentdm::ErrorDetail?,
27
27
  ?meta: Sentdm::APIMeta,
28
28
  ?success: bool
29
29
  ) -> void
30
30
 
31
31
  def to_hash: -> {
32
32
  data: Sentdm::Models::WebhookListEventTypesResponse::Data?,
33
- error: Sentdm::APIError?,
33
+ error: Sentdm::ErrorDetail?,
34
34
  meta: Sentdm::APIMeta,
35
35
  success: bool
36
36
  }
@@ -3,7 +3,7 @@ module Sentdm
3
3
  type webhook_list_events_response =
4
4
  {
5
5
  data: Sentdm::Models::WebhookListEventsResponse::Data?,
6
- error: Sentdm::APIError?,
6
+ error: Sentdm::ErrorDetail?,
7
7
  meta: Sentdm::APIMeta,
8
8
  success: bool
9
9
  }
@@ -11,7 +11,7 @@ module Sentdm
11
11
  class WebhookListEventsResponse < Sentdm::Internal::Type::BaseModel
12
12
  attr_accessor data: Sentdm::Models::WebhookListEventsResponse::Data?
13
13
 
14
- attr_accessor error: Sentdm::APIError?
14
+ attr_accessor error: Sentdm::ErrorDetail?
15
15
 
16
16
  attr_reader meta: Sentdm::APIMeta?
17
17
 
@@ -23,14 +23,14 @@ module Sentdm
23
23
 
24
24
  def initialize: (
25
25
  ?data: Sentdm::Models::WebhookListEventsResponse::Data?,
26
- ?error: Sentdm::APIError?,
26
+ ?error: Sentdm::ErrorDetail?,
27
27
  ?meta: Sentdm::APIMeta,
28
28
  ?success: bool
29
29
  ) -> void
30
30
 
31
31
  def to_hash: -> {
32
32
  data: Sentdm::Models::WebhookListEventsResponse::Data?,
33
- error: Sentdm::APIError?,
33
+ error: Sentdm::ErrorDetail?,
34
34
  meta: Sentdm::APIMeta,
35
35
  success: bool
36
36
  }
@@ -3,7 +3,7 @@ module Sentdm
3
3
  type webhook_list_response =
4
4
  {
5
5
  data: Sentdm::Models::WebhookListResponse::Data?,
6
- error: Sentdm::APIError?,
6
+ error: Sentdm::ErrorDetail?,
7
7
  meta: Sentdm::APIMeta,
8
8
  success: bool
9
9
  }
@@ -11,7 +11,7 @@ module Sentdm
11
11
  class WebhookListResponse < Sentdm::Internal::Type::BaseModel
12
12
  attr_accessor data: Sentdm::Models::WebhookListResponse::Data?
13
13
 
14
- attr_accessor error: Sentdm::APIError?
14
+ attr_accessor error: Sentdm::ErrorDetail?
15
15
 
16
16
  attr_reader meta: Sentdm::APIMeta?
17
17
 
@@ -23,14 +23,14 @@ module Sentdm
23
23
 
24
24
  def initialize: (
25
25
  ?data: Sentdm::Models::WebhookListResponse::Data?,
26
- ?error: Sentdm::APIError?,
26
+ ?error: Sentdm::ErrorDetail?,
27
27
  ?meta: Sentdm::APIMeta,
28
28
  ?success: bool
29
29
  ) -> void
30
30
 
31
31
  def to_hash: -> {
32
32
  data: Sentdm::Models::WebhookListResponse::Data?,
33
- error: Sentdm::APIError?,
33
+ error: Sentdm::ErrorDetail?,
34
34
  meta: Sentdm::APIMeta,
35
35
  success: bool
36
36
  }
@@ -3,7 +3,7 @@ module Sentdm
3
3
  type webhook_rotate_secret_response =
4
4
  {
5
5
  data: Sentdm::Models::WebhookRotateSecretResponse::Data?,
6
- error: Sentdm::APIError?,
6
+ error: Sentdm::ErrorDetail?,
7
7
  meta: Sentdm::APIMeta,
8
8
  success: bool
9
9
  }
@@ -11,7 +11,7 @@ module Sentdm
11
11
  class WebhookRotateSecretResponse < Sentdm::Internal::Type::BaseModel
12
12
  attr_accessor data: Sentdm::Models::WebhookRotateSecretResponse::Data?
13
13
 
14
- attr_accessor error: Sentdm::APIError?
14
+ attr_accessor error: Sentdm::ErrorDetail?
15
15
 
16
16
  attr_reader meta: Sentdm::APIMeta?
17
17
 
@@ -23,14 +23,14 @@ module Sentdm
23
23
 
24
24
  def initialize: (
25
25
  ?data: Sentdm::Models::WebhookRotateSecretResponse::Data?,
26
- ?error: Sentdm::APIError?,
26
+ ?error: Sentdm::ErrorDetail?,
27
27
  ?meta: Sentdm::APIMeta,
28
28
  ?success: bool
29
29
  ) -> void
30
30
 
31
31
  def to_hash: -> {
32
32
  data: Sentdm::Models::WebhookRotateSecretResponse::Data?,
33
- error: Sentdm::APIError?,
33
+ error: Sentdm::ErrorDetail?,
34
34
  meta: Sentdm::APIMeta,
35
35
  success: bool
36
36
  }
@@ -3,7 +3,7 @@ module Sentdm
3
3
  type webhook_test_response =
4
4
  {
5
5
  data: Sentdm::Models::WebhookTestResponse::Data?,
6
- error: Sentdm::APIError?,
6
+ error: Sentdm::ErrorDetail?,
7
7
  meta: Sentdm::APIMeta,
8
8
  success: bool
9
9
  }
@@ -11,7 +11,7 @@ module Sentdm
11
11
  class WebhookTestResponse < Sentdm::Internal::Type::BaseModel
12
12
  attr_accessor data: Sentdm::Models::WebhookTestResponse::Data?
13
13
 
14
- attr_accessor error: Sentdm::APIError?
14
+ attr_accessor error: Sentdm::ErrorDetail?
15
15
 
16
16
  attr_reader meta: Sentdm::APIMeta?
17
17
 
@@ -23,14 +23,14 @@ module Sentdm
23
23
 
24
24
  def initialize: (
25
25
  ?data: Sentdm::Models::WebhookTestResponse::Data?,
26
- ?error: Sentdm::APIError?,
26
+ ?error: Sentdm::ErrorDetail?,
27
27
  ?meta: Sentdm::APIMeta,
28
28
  ?success: bool
29
29
  ) -> void
30
30
 
31
31
  def to_hash: -> {
32
32
  data: Sentdm::Models::WebhookTestResponse::Data?,
33
- error: Sentdm::APIError?,
33
+ error: Sentdm::ErrorDetail?,
34
34
  meta: Sentdm::APIMeta,
35
35
  success: bool
36
36
  }