sentdm 0.16.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 (48) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +16 -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_event_type.rb +45 -0
  10. data/lib/sentdm/models/webhook_list_event_types_response.rb +3 -44
  11. data/lib/sentdm/models/webhook_rotate_secret_params.rb +2 -12
  12. data/lib/sentdm/models.rb +2 -0
  13. data/lib/sentdm/resources/contacts.rb +6 -5
  14. data/lib/sentdm/resources/profiles/campaigns.rb +5 -4
  15. data/lib/sentdm/resources/profiles.rb +8 -7
  16. data/lib/sentdm/resources/users.rb +6 -5
  17. data/lib/sentdm/resources/webhooks.rb +6 -8
  18. data/lib/sentdm/version.rb +1 -1
  19. data/lib/sentdm.rb +1 -0
  20. data/rbi/sentdm/models/contact_delete_params.rbi +2 -33
  21. data/rbi/sentdm/models/profile_complete_response.rbi +121 -2
  22. data/rbi/sentdm/models/profile_delete_params.rbi +2 -33
  23. data/rbi/sentdm/models/profiles/campaign_delete_params.rbi +1 -35
  24. data/rbi/sentdm/models/user_remove_params.rbi +2 -33
  25. data/rbi/sentdm/models/webhook_event_type.rbi +74 -0
  26. data/rbi/sentdm/models/webhook_list_event_types_response.rbi +4 -99
  27. data/rbi/sentdm/models/webhook_rotate_secret_params.rbi +1 -28
  28. data/rbi/sentdm/models.rbi +2 -0
  29. data/rbi/sentdm/resources/contacts.rbi +4 -3
  30. data/rbi/sentdm/resources/profiles/campaigns.rbi +4 -3
  31. data/rbi/sentdm/resources/profiles.rbi +5 -4
  32. data/rbi/sentdm/resources/users.rbi +4 -3
  33. data/rbi/sentdm/resources/webhooks.rbi +4 -3
  34. data/sig/sentdm/models/contact_delete_params.rbs +6 -20
  35. data/sig/sentdm/models/profile_complete_response.rbs +51 -1
  36. data/sig/sentdm/models/profile_delete_params.rbs +6 -20
  37. data/sig/sentdm/models/profiles/campaign_delete_params.rbs +9 -22
  38. data/sig/sentdm/models/user_remove_params.rbs +6 -20
  39. data/sig/sentdm/models/webhook_event_type.rbs +51 -0
  40. data/sig/sentdm/models/webhook_list_event_types_response.rbs +6 -59
  41. data/sig/sentdm/models/webhook_rotate_secret_params.rbs +8 -23
  42. data/sig/sentdm/models.rbs +2 -0
  43. data/sig/sentdm/resources/contacts.rbs +1 -1
  44. data/sig/sentdm/resources/profiles/campaigns.rbs +1 -1
  45. data/sig/sentdm/resources/profiles.rbs +2 -2
  46. data/sig/sentdm/resources/users.rbs +1 -1
  47. data/sig/sentdm/resources/webhooks.rbs +1 -1
  48. metadata +5 -2
@@ -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
@@ -1,46 +1,32 @@
1
1
  module Sentdm
2
2
  module Models
3
3
  type profile_delete_params =
4
- {
5
- profile_id: String,
6
- body: Sentdm::ProfileDeleteParams::Body,
7
- x_profile_id: String
8
- }
4
+ { profile_id: String, x_profile_id: String }
9
5
  & Sentdm::Internal::Type::request_parameters
10
6
 
11
- class ProfileDeleteParams < Sentdm::Internal::Type::BaseModel
7
+ class ProfileDeleteParams < Sentdm::Models::MutationRequest
12
8
  extend Sentdm::Internal::Type::RequestParameters::Converter
13
9
  include Sentdm::Internal::Type::RequestParameters
14
10
 
15
- attr_accessor profile_id: String
11
+ def profile_id: -> String
16
12
 
17
- attr_accessor body: Sentdm::ProfileDeleteParams::Body
13
+ def profile_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
  profile_id: String,
25
- body: Sentdm::ProfileDeleteParams::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
  profile_id: String,
32
- body: Sentdm::ProfileDeleteParams::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
@@ -2,32 +2,28 @@ module Sentdm
2
2
  module Models
3
3
  module Profiles
4
4
  type campaign_delete_params =
5
- {
6
- profile_id: String,
7
- campaign_id: String,
8
- body: Sentdm::Profiles::CampaignDeleteParams::Body,
9
- x_profile_id: String
10
- }
5
+ { profile_id: String, campaign_id: String, x_profile_id: String }
11
6
  & Sentdm::Internal::Type::request_parameters
12
7
 
13
- class CampaignDeleteParams < Sentdm::Internal::Type::BaseModel
8
+ class CampaignDeleteParams < Sentdm::Models::MutationRequest
14
9
  extend Sentdm::Internal::Type::RequestParameters::Converter
15
10
  include Sentdm::Internal::Type::RequestParameters
16
11
 
17
- attr_accessor profile_id: String
12
+ def profile_id: -> String
13
+
14
+ def profile_id=: (String _) -> String
18
15
 
19
- attr_accessor campaign_id: String
16
+ def campaign_id: -> String
20
17
 
21
- attr_accessor body: Sentdm::Profiles::CampaignDeleteParams::Body
18
+ def campaign_id=: (String _) -> String
22
19
 
23
- attr_reader x_profile_id: String?
20
+ def x_profile_id: -> String?
24
21
 
25
- def x_profile_id=: (String) -> String
22
+ def x_profile_id=: (String _) -> String
26
23
 
27
24
  def initialize: (
28
25
  profile_id: String,
29
26
  campaign_id: String,
30
- body: Sentdm::Profiles::CampaignDeleteParams::Body,
31
27
  ?x_profile_id: String,
32
28
  ?request_options: Sentdm::request_opts
33
29
  ) -> void
@@ -35,18 +31,9 @@ module Sentdm
35
31
  def to_hash: -> {
36
32
  profile_id: String,
37
33
  campaign_id: String,
38
- body: Sentdm::Profiles::CampaignDeleteParams::Body,
39
34
  x_profile_id: String,
40
35
  request_options: Sentdm::RequestOptions
41
36
  }
42
-
43
- type body = { }
44
-
45
- class Body < Sentdm::Models::MutationRequest
46
- def initialize: -> void
47
-
48
- def to_hash: -> { }
49
- end
50
37
  end
51
38
  end
52
39
  end
@@ -1,46 +1,32 @@
1
1
  module Sentdm
2
2
  module Models
3
3
  type user_remove_params =
4
- {
5
- user_id: String,
6
- body: Sentdm::UserRemoveParams::Body,
7
- x_profile_id: String
8
- }
4
+ { user_id: String, x_profile_id: String }
9
5
  & Sentdm::Internal::Type::request_parameters
10
6
 
11
- class UserRemoveParams < Sentdm::Internal::Type::BaseModel
7
+ class UserRemoveParams < Sentdm::Models::MutationRequest
12
8
  extend Sentdm::Internal::Type::RequestParameters::Converter
13
9
  include Sentdm::Internal::Type::RequestParameters
14
10
 
15
- attr_accessor user_id: String
11
+ def user_id: -> String
16
12
 
17
- attr_accessor body: Sentdm::UserRemoveParams::Body
13
+ def user_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
  user_id: String,
25
- body: Sentdm::UserRemoveParams::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
  user_id: String,
32
- body: Sentdm::UserRemoveParams::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
@@ -0,0 +1,51 @@
1
+ module Sentdm
2
+ module Models
3
+ type webhook_event_type =
4
+ {
5
+ description: String?,
6
+ display_name: String,
7
+ event_type: String?,
8
+ is_active: bool,
9
+ name: String,
10
+ sub_types: ::Array[Sentdm::WebhookEventType]?
11
+ }
12
+
13
+ class WebhookEventType < Sentdm::Internal::Type::BaseModel
14
+ attr_accessor description: String?
15
+
16
+ attr_reader display_name: String?
17
+
18
+ def display_name=: (String) -> String
19
+
20
+ attr_accessor event_type: String?
21
+
22
+ attr_reader is_active: bool?
23
+
24
+ def is_active=: (bool) -> bool
25
+
26
+ attr_reader name: String?
27
+
28
+ def name=: (String) -> String
29
+
30
+ attr_accessor sub_types: ::Array[Sentdm::WebhookEventType]?
31
+
32
+ def initialize: (
33
+ ?description: String?,
34
+ ?display_name: String,
35
+ ?event_type: String?,
36
+ ?is_active: bool,
37
+ ?name: String,
38
+ ?sub_types: ::Array[Sentdm::WebhookEventType]?
39
+ ) -> void
40
+
41
+ def to_hash: -> {
42
+ description: String?,
43
+ display_name: String,
44
+ event_type: String?,
45
+ is_active: bool,
46
+ name: String,
47
+ sub_types: ::Array[Sentdm::WebhookEventType]?
48
+ }
49
+ end
50
+ end
51
+ end
@@ -35,73 +35,20 @@ module Sentdm
35
35
  success: bool
36
36
  }
37
37
 
38
- type data =
39
- {
40
- event_types: ::Array[Sentdm::Models::WebhookListEventTypesResponse::Data::EventType]
41
- }
38
+ type data = { event_types: ::Array[Sentdm::WebhookEventType] }
42
39
 
43
40
  class Data < Sentdm::Internal::Type::BaseModel
44
- attr_reader event_types: ::Array[Sentdm::Models::WebhookListEventTypesResponse::Data::EventType]?
41
+ attr_reader event_types: ::Array[Sentdm::WebhookEventType]?
45
42
 
46
43
  def event_types=: (
47
- ::Array[Sentdm::Models::WebhookListEventTypesResponse::Data::EventType]
48
- ) -> ::Array[Sentdm::Models::WebhookListEventTypesResponse::Data::EventType]
44
+ ::Array[Sentdm::WebhookEventType]
45
+ ) -> ::Array[Sentdm::WebhookEventType]
49
46
 
50
47
  def initialize: (
51
- ?event_types: ::Array[Sentdm::Models::WebhookListEventTypesResponse::Data::EventType]
48
+ ?event_types: ::Array[Sentdm::WebhookEventType]
52
49
  ) -> void
53
50
 
54
- def to_hash: -> {
55
- event_types: ::Array[Sentdm::Models::WebhookListEventTypesResponse::Data::EventType]
56
- }
57
-
58
- type event_type =
59
- {
60
- description: String?,
61
- display_name: String,
62
- event_type: String?,
63
- is_active: bool,
64
- name: String,
65
- sub_types: ::Array[top]?
66
- }
67
-
68
- class EventType < Sentdm::Internal::Type::BaseModel
69
- attr_accessor description: String?
70
-
71
- attr_reader display_name: String?
72
-
73
- def display_name=: (String) -> String
74
-
75
- attr_accessor event_type: String?
76
-
77
- attr_reader is_active: bool?
78
-
79
- def is_active=: (bool) -> bool
80
-
81
- attr_reader name: String?
82
-
83
- def name=: (String) -> String
84
-
85
- attr_accessor sub_types: ::Array[top]?
86
-
87
- def initialize: (
88
- ?description: String?,
89
- ?display_name: String,
90
- ?event_type: String?,
91
- ?is_active: bool,
92
- ?name: String,
93
- ?sub_types: ::Array[top]?
94
- ) -> void
95
-
96
- def to_hash: -> {
97
- description: String?,
98
- display_name: String,
99
- event_type: String?,
100
- is_active: bool,
101
- name: String,
102
- sub_types: ::Array[top]?
103
- }
104
- end
51
+ def to_hash: -> { event_types: ::Array[Sentdm::WebhookEventType] }
105
52
  end
106
53
  end
107
54
  end
@@ -1,33 +1,27 @@
1
1
  module Sentdm
2
2
  module Models
3
3
  type webhook_rotate_secret_params =
4
- {
5
- id: String,
6
- body: Sentdm::WebhookRotateSecretParams::Body,
7
- idempotency_key: String,
8
- x_profile_id: String
9
- }
4
+ { id: String, idempotency_key: String, x_profile_id: String }
10
5
  & Sentdm::Internal::Type::request_parameters
11
6
 
12
- class WebhookRotateSecretParams < Sentdm::Internal::Type::BaseModel
7
+ class WebhookRotateSecretParams < Sentdm::Models::MutationRequest
13
8
  extend Sentdm::Internal::Type::RequestParameters::Converter
14
9
  include Sentdm::Internal::Type::RequestParameters
15
10
 
16
- attr_accessor id: String
11
+ def id: -> String
17
12
 
18
- attr_accessor body: Sentdm::WebhookRotateSecretParams::Body
13
+ def id=: (String _) -> String
19
14
 
20
- attr_reader idempotency_key: String?
15
+ def idempotency_key: -> String?
21
16
 
22
- def idempotency_key=: (String) -> String
17
+ def idempotency_key=: (String _) -> String
23
18
 
24
- attr_reader x_profile_id: String?
19
+ def x_profile_id: -> String?
25
20
 
26
- def x_profile_id=: (String) -> String
21
+ def x_profile_id=: (String _) -> String
27
22
 
28
23
  def initialize: (
29
24
  id: String,
30
- body: Sentdm::WebhookRotateSecretParams::Body,
31
25
  ?idempotency_key: String,
32
26
  ?x_profile_id: String,
33
27
  ?request_options: Sentdm::request_opts
@@ -35,19 +29,10 @@ module Sentdm
35
29
 
36
30
  def to_hash: -> {
37
31
  id: String,
38
- body: Sentdm::WebhookRotateSecretParams::Body,
39
32
  idempotency_key: String,
40
33
  x_profile_id: String,
41
34
  request_options: Sentdm::RequestOptions
42
35
  }
43
-
44
- type body = { }
45
-
46
- class Body < Sentdm::Models::MutationRequest
47
- def initialize: -> void
48
-
49
- def to_hash: -> { }
50
- end
51
36
  end
52
37
  end
53
38
  end
@@ -121,6 +121,8 @@ module Sentdm
121
121
 
122
122
  class WebhookDeleteParams = Sentdm::Models::WebhookDeleteParams
123
123
 
124
+ class WebhookEventType = Sentdm::Models::WebhookEventType
125
+
124
126
  class WebhookListEventsParams = Sentdm::Models::WebhookListEventsParams
125
127
 
126
128
  class WebhookListEventTypesParams = Sentdm::Models::WebhookListEventTypesParams
@@ -38,7 +38,7 @@ module Sentdm
38
38
 
39
39
  def delete: (
40
40
  String id,
41
- body: Sentdm::ContactDeleteParams::Body,
41
+ ?sandbox: bool,
42
42
  ?x_profile_id: String,
43
43
  ?request_options: Sentdm::request_opts
44
44
  ) -> nil
@@ -30,7 +30,7 @@ module Sentdm
30
30
  def delete: (
31
31
  String campaign_id,
32
32
  profile_id: String,
33
- body: Sentdm::Profiles::CampaignDeleteParams::Body,
33
+ ?sandbox: bool,
34
34
  ?x_profile_id: String,
35
35
  ?request_options: Sentdm::request_opts
36
36
  ) -> nil
@@ -65,7 +65,7 @@ module Sentdm
65
65
 
66
66
  def delete: (
67
67
  String profile_id,
68
- body: Sentdm::ProfileDeleteParams::Body,
68
+ ?sandbox: bool,
69
69
  ?x_profile_id: String,
70
70
  ?request_options: Sentdm::request_opts
71
71
  ) -> nil
@@ -77,7 +77,7 @@ module Sentdm
77
77
  ?idempotency_key: String,
78
78
  ?x_profile_id: String,
79
79
  ?request_options: Sentdm::request_opts
80
- ) -> top
80
+ ) -> Sentdm::Models::ProfileCompleteResponse
81
81
 
82
82
  def initialize: (client: Sentdm::Client) -> void
83
83
  end
@@ -24,7 +24,7 @@ module Sentdm
24
24
 
25
25
  def remove: (
26
26
  String user_id,
27
- body: Sentdm::UserRemoveParams::Body,
27
+ ?sandbox: bool,
28
28
  ?x_profile_id: String,
29
29
  ?request_options: Sentdm::request_opts
30
30
  ) -> nil
@@ -65,7 +65,7 @@ module Sentdm
65
65
 
66
66
  def rotate_secret: (
67
67
  String id,
68
- body: Sentdm::WebhookRotateSecretParams::Body,
68
+ ?sandbox: bool,
69
69
  ?idempotency_key: String,
70
70
  ?x_profile_id: String,
71
71
  ?request_options: Sentdm::request_opts