sentdm 0.17.0 → 0.18.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 (38) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +8 -0
  3. data/README.md +1 -1
  4. data/lib/sentdm/models/contact_delete_params.rb +2 -17
  5. data/lib/sentdm/models/profile_complete_response.rb +68 -2
  6. data/lib/sentdm/models/profile_delete_params.rb +2 -17
  7. data/lib/sentdm/models/profiles/campaign_delete_params.rb +2 -18
  8. data/lib/sentdm/models/user_remove_params.rb +2 -17
  9. data/lib/sentdm/models/webhook_rotate_secret_params.rb +2 -12
  10. data/lib/sentdm/resources/contacts.rb +6 -5
  11. data/lib/sentdm/resources/profiles/campaigns.rb +5 -4
  12. data/lib/sentdm/resources/profiles.rb +8 -7
  13. data/lib/sentdm/resources/users.rb +6 -5
  14. data/lib/sentdm/resources/webhooks.rb +6 -8
  15. data/lib/sentdm/version.rb +1 -1
  16. data/rbi/sentdm/models/contact_delete_params.rbi +2 -33
  17. data/rbi/sentdm/models/profile_complete_response.rbi +121 -2
  18. data/rbi/sentdm/models/profile_delete_params.rbi +2 -33
  19. data/rbi/sentdm/models/profiles/campaign_delete_params.rbi +1 -35
  20. data/rbi/sentdm/models/user_remove_params.rbi +2 -33
  21. data/rbi/sentdm/models/webhook_rotate_secret_params.rbi +1 -28
  22. data/rbi/sentdm/resources/contacts.rbi +4 -3
  23. data/rbi/sentdm/resources/profiles/campaigns.rbi +4 -3
  24. data/rbi/sentdm/resources/profiles.rbi +5 -4
  25. data/rbi/sentdm/resources/users.rbi +4 -3
  26. data/rbi/sentdm/resources/webhooks.rbi +4 -3
  27. data/sig/sentdm/models/contact_delete_params.rbs +6 -20
  28. data/sig/sentdm/models/profile_complete_response.rbs +51 -1
  29. data/sig/sentdm/models/profile_delete_params.rbs +6 -20
  30. data/sig/sentdm/models/profiles/campaign_delete_params.rbs +9 -22
  31. data/sig/sentdm/models/user_remove_params.rbs +6 -20
  32. data/sig/sentdm/models/webhook_rotate_secret_params.rbs +8 -23
  33. data/sig/sentdm/resources/contacts.rbs +1 -1
  34. data/sig/sentdm/resources/profiles/campaigns.rbs +1 -1
  35. data/sig/sentdm/resources/profiles.rbs +2 -2
  36. data/sig/sentdm/resources/users.rbs +1 -1
  37. data/sig/sentdm/resources/webhooks.rbs +1 -1
  38. metadata +1 -1
@@ -2,7 +2,126 @@
2
2
 
3
3
  module Sentdm
4
4
  module Models
5
- ProfileCompleteResponse =
6
- T.let(T.anything, Sentdm::Internal::Type::Converter)
5
+ class ProfileCompleteResponse < Sentdm::Internal::Type::BaseModel
6
+ OrHash =
7
+ T.type_alias do
8
+ T.any(
9
+ Sentdm::Models::ProfileCompleteResponse,
10
+ Sentdm::Internal::AnyHash
11
+ )
12
+ end
13
+
14
+ # Response when a profile is already in the completed state and no further action
15
+ # is taken.
16
+ sig { returns(T.nilable(Sentdm::Models::ProfileCompleteResponse::Data)) }
17
+ attr_reader :data
18
+
19
+ sig do
20
+ params(
21
+ data: T.nilable(Sentdm::Models::ProfileCompleteResponse::Data::OrHash)
22
+ ).void
23
+ end
24
+ attr_writer :data
25
+
26
+ # Error information
27
+ sig { returns(T.nilable(Sentdm::ErrorDetail)) }
28
+ attr_reader :error
29
+
30
+ sig { params(error: T.nilable(Sentdm::ErrorDetail::OrHash)).void }
31
+ attr_writer :error
32
+
33
+ # Request and response metadata
34
+ sig { returns(T.nilable(Sentdm::APIMeta)) }
35
+ attr_reader :meta
36
+
37
+ sig { params(meta: Sentdm::APIMeta::OrHash).void }
38
+ attr_writer :meta
39
+
40
+ # Indicates whether the request was successful
41
+ sig { returns(T.nilable(T::Boolean)) }
42
+ attr_reader :success
43
+
44
+ sig { params(success: T::Boolean).void }
45
+ attr_writer :success
46
+
47
+ # Standard API response envelope for all v3 endpoints
48
+ sig do
49
+ params(
50
+ data:
51
+ T.nilable(Sentdm::Models::ProfileCompleteResponse::Data::OrHash),
52
+ error: T.nilable(Sentdm::ErrorDetail::OrHash),
53
+ meta: Sentdm::APIMeta::OrHash,
54
+ success: T::Boolean
55
+ ).returns(T.attached_class)
56
+ end
57
+ def self.new(
58
+ # Response when a profile is already in the completed state and no further action
59
+ # is taken.
60
+ data: nil,
61
+ # Error information
62
+ error: nil,
63
+ # Request and response metadata
64
+ meta: nil,
65
+ # Indicates whether the request was successful
66
+ success: nil
67
+ )
68
+ end
69
+
70
+ sig do
71
+ override.returns(
72
+ {
73
+ data: T.nilable(Sentdm::Models::ProfileCompleteResponse::Data),
74
+ error: T.nilable(Sentdm::ErrorDetail),
75
+ meta: Sentdm::APIMeta,
76
+ success: T::Boolean
77
+ }
78
+ )
79
+ end
80
+ def to_hash
81
+ end
82
+
83
+ class Data < Sentdm::Internal::Type::BaseModel
84
+ OrHash =
85
+ T.type_alias do
86
+ T.any(
87
+ Sentdm::Models::ProfileCompleteResponse::Data,
88
+ Sentdm::Internal::AnyHash
89
+ )
90
+ end
91
+
92
+ # Human-readable message describing the result.
93
+ sig { returns(T.nilable(String)) }
94
+ attr_reader :message
95
+
96
+ sig { params(message: String).void }
97
+ attr_writer :message
98
+
99
+ # Current process status of the profile (e.g., "completed", "submitted",
100
+ # "in_progress").
101
+ sig { returns(T.nilable(String)) }
102
+ attr_reader :status
103
+
104
+ sig { params(status: String).void }
105
+ attr_writer :status
106
+
107
+ # Response when a profile is already in the completed state and no further action
108
+ # is taken.
109
+ sig do
110
+ params(message: String, status: String).returns(T.attached_class)
111
+ end
112
+ def self.new(
113
+ # Human-readable message describing the result.
114
+ message: nil,
115
+ # Current process status of the profile (e.g., "completed", "submitted",
116
+ # "in_progress").
117
+ status: nil
118
+ )
119
+ end
120
+
121
+ sig { override.returns({ message: String, status: String }) }
122
+ def to_hash
123
+ end
124
+ end
125
+ end
7
126
  end
8
127
  end
@@ -2,7 +2,7 @@
2
2
 
3
3
  module Sentdm
4
4
  module Models
5
- class ProfileDeleteParams < Sentdm::Internal::Type::BaseModel
5
+ class ProfileDeleteParams < Sentdm::Models::MutationRequest
6
6
  extend Sentdm::Internal::Type::RequestParameters::Converter
7
7
  include Sentdm::Internal::Type::RequestParameters
8
8
 
@@ -14,13 +14,6 @@ module Sentdm
14
14
  sig { returns(String) }
15
15
  attr_accessor :profile_id
16
16
 
17
- # Request to delete a profile
18
- sig { returns(Sentdm::ProfileDeleteParams::Body) }
19
- attr_reader :body
20
-
21
- sig { params(body: Sentdm::ProfileDeleteParams::Body::OrHash).void }
22
- attr_writer :body
23
-
24
17
  sig { returns(T.nilable(String)) }
25
18
  attr_reader :x_profile_id
26
19
 
@@ -30,25 +23,17 @@ module Sentdm
30
23
  sig do
31
24
  params(
32
25
  profile_id: String,
33
- body: Sentdm::ProfileDeleteParams::Body::OrHash,
34
26
  x_profile_id: String,
35
27
  request_options: Sentdm::RequestOptions::OrHash
36
28
  ).returns(T.attached_class)
37
29
  end
38
- def self.new(
39
- profile_id:,
40
- # Request to delete a profile
41
- body:,
42
- x_profile_id: nil,
43
- request_options: {}
44
- )
30
+ def self.new(profile_id:, x_profile_id: nil, request_options: {})
45
31
  end
46
32
 
47
33
  sig do
48
34
  override.returns(
49
35
  {
50
36
  profile_id: String,
51
- body: Sentdm::ProfileDeleteParams::Body,
52
37
  x_profile_id: String,
53
38
  request_options: Sentdm::RequestOptions
54
39
  }
@@ -56,22 +41,6 @@ module Sentdm
56
41
  end
57
42
  def to_hash
58
43
  end
59
-
60
- class Body < Sentdm::Models::MutationRequest
61
- OrHash =
62
- T.type_alias do
63
- T.any(Sentdm::ProfileDeleteParams::Body, Sentdm::Internal::AnyHash)
64
- end
65
-
66
- # Request to delete a profile
67
- sig { returns(T.attached_class) }
68
- def self.new
69
- end
70
-
71
- sig { override.returns({}) }
72
- def to_hash
73
- end
74
- end
75
44
  end
76
45
  end
77
46
  end
@@ -3,7 +3,7 @@
3
3
  module Sentdm
4
4
  module Models
5
5
  module Profiles
6
- class CampaignDeleteParams < Sentdm::Internal::Type::BaseModel
6
+ class CampaignDeleteParams < Sentdm::Models::MutationRequest
7
7
  extend Sentdm::Internal::Type::RequestParameters::Converter
8
8
  include Sentdm::Internal::Type::RequestParameters
9
9
 
@@ -21,17 +21,6 @@ module Sentdm
21
21
  sig { returns(String) }
22
22
  attr_accessor :campaign_id
23
23
 
24
- # Request to delete a campaign from a brand
25
- sig { returns(Sentdm::Profiles::CampaignDeleteParams::Body) }
26
- attr_reader :body
27
-
28
- sig do
29
- params(
30
- body: Sentdm::Profiles::CampaignDeleteParams::Body::OrHash
31
- ).void
32
- end
33
- attr_writer :body
34
-
35
24
  sig { returns(T.nilable(String)) }
36
25
  attr_reader :x_profile_id
37
26
 
@@ -42,7 +31,6 @@ module Sentdm
42
31
  params(
43
32
  profile_id: String,
44
33
  campaign_id: String,
45
- body: Sentdm::Profiles::CampaignDeleteParams::Body::OrHash,
46
34
  x_profile_id: String,
47
35
  request_options: Sentdm::RequestOptions::OrHash
48
36
  ).returns(T.attached_class)
@@ -50,8 +38,6 @@ module Sentdm
50
38
  def self.new(
51
39
  profile_id:,
52
40
  campaign_id:,
53
- # Request to delete a campaign from a brand
54
- body:,
55
41
  x_profile_id: nil,
56
42
  request_options: {}
57
43
  )
@@ -62,7 +48,6 @@ module Sentdm
62
48
  {
63
49
  profile_id: String,
64
50
  campaign_id: String,
65
- body: Sentdm::Profiles::CampaignDeleteParams::Body,
66
51
  x_profile_id: String,
67
52
  request_options: Sentdm::RequestOptions
68
53
  }
@@ -70,25 +55,6 @@ module Sentdm
70
55
  end
71
56
  def to_hash
72
57
  end
73
-
74
- class Body < Sentdm::Models::MutationRequest
75
- OrHash =
76
- T.type_alias do
77
- T.any(
78
- Sentdm::Profiles::CampaignDeleteParams::Body,
79
- Sentdm::Internal::AnyHash
80
- )
81
- end
82
-
83
- # Request to delete a campaign from a brand
84
- sig { returns(T.attached_class) }
85
- def self.new
86
- end
87
-
88
- sig { override.returns({}) }
89
- def to_hash
90
- end
91
- end
92
58
  end
93
59
  end
94
60
  end
@@ -2,7 +2,7 @@
2
2
 
3
3
  module Sentdm
4
4
  module Models
5
- class UserRemoveParams < Sentdm::Internal::Type::BaseModel
5
+ class UserRemoveParams < Sentdm::Models::MutationRequest
6
6
  extend Sentdm::Internal::Type::RequestParameters::Converter
7
7
  include Sentdm::Internal::Type::RequestParameters
8
8
 
@@ -14,13 +14,6 @@ module Sentdm
14
14
  sig { returns(String) }
15
15
  attr_accessor :user_id
16
16
 
17
- # Request to remove a user from an organization
18
- sig { returns(Sentdm::UserRemoveParams::Body) }
19
- attr_reader :body
20
-
21
- sig { params(body: Sentdm::UserRemoveParams::Body::OrHash).void }
22
- attr_writer :body
23
-
24
17
  sig { returns(T.nilable(String)) }
25
18
  attr_reader :x_profile_id
26
19
 
@@ -30,25 +23,17 @@ module Sentdm
30
23
  sig do
31
24
  params(
32
25
  user_id: String,
33
- body: Sentdm::UserRemoveParams::Body::OrHash,
34
26
  x_profile_id: String,
35
27
  request_options: Sentdm::RequestOptions::OrHash
36
28
  ).returns(T.attached_class)
37
29
  end
38
- def self.new(
39
- user_id:,
40
- # Request to remove a user from an organization
41
- body:,
42
- x_profile_id: nil,
43
- request_options: {}
44
- )
30
+ def self.new(user_id:, x_profile_id: nil, request_options: {})
45
31
  end
46
32
 
47
33
  sig do
48
34
  override.returns(
49
35
  {
50
36
  user_id: String,
51
- body: Sentdm::UserRemoveParams::Body,
52
37
  x_profile_id: String,
53
38
  request_options: Sentdm::RequestOptions
54
39
  }
@@ -56,22 +41,6 @@ module Sentdm
56
41
  end
57
42
  def to_hash
58
43
  end
59
-
60
- class Body < Sentdm::Models::MutationRequest
61
- OrHash =
62
- T.type_alias do
63
- T.any(Sentdm::UserRemoveParams::Body, Sentdm::Internal::AnyHash)
64
- end
65
-
66
- # Request to remove a user from an organization
67
- sig { returns(T.attached_class) }
68
- def self.new
69
- end
70
-
71
- sig { override.returns({}) }
72
- def to_hash
73
- end
74
- end
75
44
  end
76
45
  end
77
46
  end
@@ -2,7 +2,7 @@
2
2
 
3
3
  module Sentdm
4
4
  module Models
5
- class WebhookRotateSecretParams < Sentdm::Internal::Type::BaseModel
5
+ class WebhookRotateSecretParams < Sentdm::Models::MutationRequest
6
6
  extend Sentdm::Internal::Type::RequestParameters::Converter
7
7
  include Sentdm::Internal::Type::RequestParameters
8
8
 
@@ -14,12 +14,6 @@ module Sentdm
14
14
  sig { returns(String) }
15
15
  attr_accessor :id
16
16
 
17
- sig { returns(Sentdm::WebhookRotateSecretParams::Body) }
18
- attr_reader :body
19
-
20
- sig { params(body: Sentdm::WebhookRotateSecretParams::Body::OrHash).void }
21
- attr_writer :body
22
-
23
17
  sig { returns(T.nilable(String)) }
24
18
  attr_reader :idempotency_key
25
19
 
@@ -35,7 +29,6 @@ module Sentdm
35
29
  sig do
36
30
  params(
37
31
  id: String,
38
- body: Sentdm::WebhookRotateSecretParams::Body::OrHash,
39
32
  idempotency_key: String,
40
33
  x_profile_id: String,
41
34
  request_options: Sentdm::RequestOptions::OrHash
@@ -43,7 +36,6 @@ module Sentdm
43
36
  end
44
37
  def self.new(
45
38
  id:,
46
- body:,
47
39
  idempotency_key: nil,
48
40
  x_profile_id: nil,
49
41
  request_options: {}
@@ -54,7 +46,6 @@ module Sentdm
54
46
  override.returns(
55
47
  {
56
48
  id: String,
57
- body: Sentdm::WebhookRotateSecretParams::Body,
58
49
  idempotency_key: String,
59
50
  x_profile_id: String,
60
51
  request_options: Sentdm::RequestOptions
@@ -63,24 +54,6 @@ module Sentdm
63
54
  end
64
55
  def to_hash
65
56
  end
66
-
67
- class Body < Sentdm::Models::MutationRequest
68
- OrHash =
69
- T.type_alias do
70
- T.any(
71
- Sentdm::WebhookRotateSecretParams::Body,
72
- Sentdm::Internal::AnyHash
73
- )
74
- end
75
-
76
- sig { returns(T.attached_class) }
77
- def self.new
78
- end
79
-
80
- sig { override.returns({}) }
81
- def to_hash
82
- end
83
- end
84
57
  end
85
58
  end
86
59
  end
@@ -133,7 +133,7 @@ module Sentdm
133
133
  sig do
134
134
  params(
135
135
  id: String,
136
- body: Sentdm::ContactDeleteParams::Body::OrHash,
136
+ sandbox: T::Boolean,
137
137
  x_profile_id: String,
138
138
  request_options: Sentdm::RequestOptions::OrHash
139
139
  ).void
@@ -141,8 +141,9 @@ module Sentdm
141
141
  def delete(
142
142
  # Path param: Contact ID from route parameter
143
143
  id,
144
- # Body param: Request to delete/dissociate a contact
145
- body:,
144
+ # Body param: Sandbox flag - when true, the operation is simulated without side
145
+ # effects Useful for testing integrations without actual execution
146
+ sandbox: nil,
146
147
  # Header param: Profile UUID to scope the request to a child profile. Only
147
148
  # organization API keys can use this header. The profile must belong to the
148
149
  # calling organization.
@@ -97,7 +97,7 @@ module Sentdm
97
97
  params(
98
98
  campaign_id: String,
99
99
  profile_id: String,
100
- body: Sentdm::Profiles::CampaignDeleteParams::Body::OrHash,
100
+ sandbox: T::Boolean,
101
101
  x_profile_id: String,
102
102
  request_options: Sentdm::RequestOptions::OrHash
103
103
  ).void
@@ -107,8 +107,9 @@ module Sentdm
107
107
  campaign_id,
108
108
  # Path param: Profile ID from route parameter
109
109
  profile_id:,
110
- # Body param: Request to delete a campaign from a brand
111
- body:,
110
+ # Body param: Sandbox flag - when true, the operation is simulated without side
111
+ # effects Useful for testing integrations without actual execution
112
+ sandbox: nil,
112
113
  # Header param: Profile UUID to scope the request to a child profile. Only
113
114
  # organization API keys can use this header. The profile must belong to the
114
115
  # calling organization.
@@ -297,7 +297,7 @@ module Sentdm
297
297
  sig do
298
298
  params(
299
299
  profile_id: String,
300
- body: Sentdm::ProfileDeleteParams::Body::OrHash,
300
+ sandbox: T::Boolean,
301
301
  x_profile_id: String,
302
302
  request_options: Sentdm::RequestOptions::OrHash
303
303
  ).void
@@ -305,8 +305,9 @@ module Sentdm
305
305
  def delete(
306
306
  # Path param
307
307
  profile_id,
308
- # Body param: Request to delete a profile
309
- body:,
308
+ # Body param: Sandbox flag - when true, the operation is simulated without side
309
+ # effects Useful for testing integrations without actual execution
310
+ sandbox: nil,
310
311
  # Header param: Profile UUID to scope the request to a child profile. Only
311
312
  # organization API keys can use this header. The profile must belong to the
312
313
  # calling organization.
@@ -341,7 +342,7 @@ module Sentdm
341
342
  idempotency_key: String,
342
343
  x_profile_id: String,
343
344
  request_options: Sentdm::RequestOptions::OrHash
344
- ).returns(T.anything)
345
+ ).returns(Sentdm::Models::ProfileCompleteResponse)
345
346
  end
346
347
  def complete(
347
348
  # Path param: Profile ID from route
@@ -80,7 +80,7 @@ module Sentdm
80
80
  sig do
81
81
  params(
82
82
  user_id: String,
83
- body: Sentdm::UserRemoveParams::Body::OrHash,
83
+ sandbox: T::Boolean,
84
84
  x_profile_id: String,
85
85
  request_options: Sentdm::RequestOptions::OrHash
86
86
  ).void
@@ -88,8 +88,9 @@ module Sentdm
88
88
  def remove(
89
89
  # Path param
90
90
  user_id,
91
- # Body param: Request to remove a user from an organization
92
- body:,
91
+ # Body param: Sandbox flag - when true, the operation is simulated without side
92
+ # effects Useful for testing integrations without actual execution
93
+ sandbox: nil,
93
94
  # Header param: Profile UUID to scope the request to a child profile. Only
94
95
  # organization API keys can use this header. The profile must belong to the
95
96
  # calling organization.
@@ -203,7 +203,7 @@ module Sentdm
203
203
  sig do
204
204
  params(
205
205
  id: String,
206
- body: Sentdm::WebhookRotateSecretParams::Body::OrHash,
206
+ sandbox: T::Boolean,
207
207
  idempotency_key: String,
208
208
  x_profile_id: String,
209
209
  request_options: Sentdm::RequestOptions::OrHash
@@ -212,8 +212,9 @@ module Sentdm
212
212
  def rotate_secret(
213
213
  # Path param
214
214
  id,
215
- # Body param
216
- body:,
215
+ # Body param: Sandbox flag - when true, the operation is simulated without side
216
+ # effects Useful for testing integrations without actual execution
217
+ sandbox: nil,
217
218
  # Header param: Unique key to ensure idempotent request processing. Must be 1-255
218
219
  # alphanumeric characters, hyphens, or underscores. Responses are cached for 24
219
220
  # hours per key per customer.
@@ -1,46 +1,32 @@
1
1
  module Sentdm
2
2
  module Models
3
3
  type contact_delete_params =
4
- {
5
- id: String,
6
- body: Sentdm::ContactDeleteParams::Body,
7
- x_profile_id: String
8
- }
4
+ { id: String, x_profile_id: String }
9
5
  & Sentdm::Internal::Type::request_parameters
10
6
 
11
- class ContactDeleteParams < Sentdm::Internal::Type::BaseModel
7
+ class ContactDeleteParams < Sentdm::Models::MutationRequest
12
8
  extend Sentdm::Internal::Type::RequestParameters::Converter
13
9
  include Sentdm::Internal::Type::RequestParameters
14
10
 
15
- attr_accessor id: String
11
+ def id: -> String
16
12
 
17
- attr_accessor body: Sentdm::ContactDeleteParams::Body
13
+ def id=: (String _) -> String
18
14
 
19
- attr_reader x_profile_id: String?
15
+ def x_profile_id: -> String?
20
16
 
21
- def x_profile_id=: (String) -> String
17
+ def x_profile_id=: (String _) -> String
22
18
 
23
19
  def initialize: (
24
20
  id: String,
25
- body: Sentdm::ContactDeleteParams::Body,
26
21
  ?x_profile_id: String,
27
22
  ?request_options: Sentdm::request_opts
28
23
  ) -> void
29
24
 
30
25
  def to_hash: -> {
31
26
  id: String,
32
- body: Sentdm::ContactDeleteParams::Body,
33
27
  x_profile_id: String,
34
28
  request_options: Sentdm::RequestOptions
35
29
  }
36
-
37
- type body = { }
38
-
39
- class Body < Sentdm::Models::MutationRequest
40
- def initialize: -> void
41
-
42
- def to_hash: -> { }
43
- end
44
30
  end
45
31
  end
46
32
  end
@@ -1,5 +1,55 @@
1
1
  module Sentdm
2
2
  module Models
3
- ProfileCompleteResponse: Sentdm::Internal::Type::Converter
3
+ type profile_complete_response =
4
+ {
5
+ data: Sentdm::Models::ProfileCompleteResponse::Data?,
6
+ error: Sentdm::ErrorDetail?,
7
+ meta: Sentdm::APIMeta,
8
+ success: bool
9
+ }
10
+
11
+ class ProfileCompleteResponse < Sentdm::Internal::Type::BaseModel
12
+ attr_accessor data: Sentdm::Models::ProfileCompleteResponse::Data?
13
+
14
+ attr_accessor error: Sentdm::ErrorDetail?
15
+
16
+ attr_reader meta: Sentdm::APIMeta?
17
+
18
+ def meta=: (Sentdm::APIMeta) -> Sentdm::APIMeta
19
+
20
+ attr_reader success: bool?
21
+
22
+ def success=: (bool) -> bool
23
+
24
+ def initialize: (
25
+ ?data: Sentdm::Models::ProfileCompleteResponse::Data?,
26
+ ?error: Sentdm::ErrorDetail?,
27
+ ?meta: Sentdm::APIMeta,
28
+ ?success: bool
29
+ ) -> void
30
+
31
+ def to_hash: -> {
32
+ data: Sentdm::Models::ProfileCompleteResponse::Data?,
33
+ error: Sentdm::ErrorDetail?,
34
+ meta: Sentdm::APIMeta,
35
+ success: bool
36
+ }
37
+
38
+ type data = { message: String, status: String }
39
+
40
+ class Data < Sentdm::Internal::Type::BaseModel
41
+ attr_reader message: String?
42
+
43
+ def message=: (String) -> String
44
+
45
+ attr_reader status: String?
46
+
47
+ def status=: (String) -> String
48
+
49
+ def initialize: (?message: String, ?status: String) -> void
50
+
51
+ def to_hash: -> { message: String, status: String }
52
+ end
53
+ end
4
54
  end
5
55
  end