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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/README.md +1 -1
- data/lib/sentdm/models/contact_delete_params.rb +2 -17
- data/lib/sentdm/models/profile_complete_response.rb +68 -2
- data/lib/sentdm/models/profile_delete_params.rb +2 -17
- data/lib/sentdm/models/profiles/campaign_delete_params.rb +2 -18
- data/lib/sentdm/models/user_remove_params.rb +2 -17
- data/lib/sentdm/models/webhook_rotate_secret_params.rb +2 -12
- data/lib/sentdm/resources/contacts.rb +6 -5
- data/lib/sentdm/resources/profiles/campaigns.rb +5 -4
- data/lib/sentdm/resources/profiles.rb +8 -7
- data/lib/sentdm/resources/users.rb +6 -5
- data/lib/sentdm/resources/webhooks.rb +6 -8
- data/lib/sentdm/version.rb +1 -1
- data/rbi/sentdm/models/contact_delete_params.rbi +2 -33
- data/rbi/sentdm/models/profile_complete_response.rbi +121 -2
- data/rbi/sentdm/models/profile_delete_params.rbi +2 -33
- data/rbi/sentdm/models/profiles/campaign_delete_params.rbi +1 -35
- data/rbi/sentdm/models/user_remove_params.rbi +2 -33
- data/rbi/sentdm/models/webhook_rotate_secret_params.rbi +1 -28
- data/rbi/sentdm/resources/contacts.rbi +4 -3
- data/rbi/sentdm/resources/profiles/campaigns.rbi +4 -3
- data/rbi/sentdm/resources/profiles.rbi +5 -4
- data/rbi/sentdm/resources/users.rbi +4 -3
- data/rbi/sentdm/resources/webhooks.rbi +4 -3
- data/sig/sentdm/models/contact_delete_params.rbs +6 -20
- data/sig/sentdm/models/profile_complete_response.rbs +51 -1
- data/sig/sentdm/models/profile_delete_params.rbs +6 -20
- data/sig/sentdm/models/profiles/campaign_delete_params.rbs +9 -22
- data/sig/sentdm/models/user_remove_params.rbs +6 -20
- data/sig/sentdm/models/webhook_rotate_secret_params.rbs +8 -23
- data/sig/sentdm/resources/contacts.rbs +1 -1
- data/sig/sentdm/resources/profiles/campaigns.rbs +1 -1
- data/sig/sentdm/resources/profiles.rbs +2 -2
- data/sig/sentdm/resources/users.rbs +1 -1
- data/sig/sentdm/resources/webhooks.rbs +1 -1
- metadata +1 -1
|
@@ -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::
|
|
7
|
+
class ProfileDeleteParams < Sentdm::Models::MutationRequest
|
|
12
8
|
extend Sentdm::Internal::Type::RequestParameters::Converter
|
|
13
9
|
include Sentdm::Internal::Type::RequestParameters
|
|
14
10
|
|
|
15
|
-
|
|
11
|
+
def profile_id: -> String
|
|
16
12
|
|
|
17
|
-
|
|
13
|
+
def profile_id=: (String _) -> String
|
|
18
14
|
|
|
19
|
-
|
|
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::
|
|
8
|
+
class CampaignDeleteParams < Sentdm::Models::MutationRequest
|
|
14
9
|
extend Sentdm::Internal::Type::RequestParameters::Converter
|
|
15
10
|
include Sentdm::Internal::Type::RequestParameters
|
|
16
11
|
|
|
17
|
-
|
|
12
|
+
def profile_id: -> String
|
|
13
|
+
|
|
14
|
+
def profile_id=: (String _) -> String
|
|
18
15
|
|
|
19
|
-
|
|
16
|
+
def campaign_id: -> String
|
|
20
17
|
|
|
21
|
-
|
|
18
|
+
def campaign_id=: (String _) -> String
|
|
22
19
|
|
|
23
|
-
|
|
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::
|
|
7
|
+
class UserRemoveParams < Sentdm::Models::MutationRequest
|
|
12
8
|
extend Sentdm::Internal::Type::RequestParameters::Converter
|
|
13
9
|
include Sentdm::Internal::Type::RequestParameters
|
|
14
10
|
|
|
15
|
-
|
|
11
|
+
def user_id: -> String
|
|
16
12
|
|
|
17
|
-
|
|
13
|
+
def user_id=: (String _) -> String
|
|
18
14
|
|
|
19
|
-
|
|
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
|
|
@@ -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::
|
|
7
|
+
class WebhookRotateSecretParams < Sentdm::Models::MutationRequest
|
|
13
8
|
extend Sentdm::Internal::Type::RequestParameters::Converter
|
|
14
9
|
include Sentdm::Internal::Type::RequestParameters
|
|
15
10
|
|
|
16
|
-
|
|
11
|
+
def id: -> String
|
|
17
12
|
|
|
18
|
-
|
|
13
|
+
def id=: (String _) -> String
|
|
19
14
|
|
|
20
|
-
|
|
15
|
+
def idempotency_key: -> String?
|
|
21
16
|
|
|
22
|
-
def idempotency_key=: (String) -> String
|
|
17
|
+
def idempotency_key=: (String _) -> String
|
|
23
18
|
|
|
24
|
-
|
|
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
|
|
@@ -65,7 +65,7 @@ module Sentdm
|
|
|
65
65
|
|
|
66
66
|
def delete: (
|
|
67
67
|
String profile_id,
|
|
68
|
-
|
|
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
|
-
) ->
|
|
80
|
+
) -> Sentdm::Models::ProfileCompleteResponse
|
|
81
81
|
|
|
82
82
|
def initialize: (client: Sentdm::Client) -> void
|
|
83
83
|
end
|