sentdm 0.0.2 → 0.1.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 +26 -0
- data/README.md +1 -1
- data/lib/sentdm/internal/transport/pooled_net_requester.rb +1 -1
- data/lib/sentdm/internal/util.rb +1 -1
- data/lib/sentdm/models.rb +0 -8
- data/lib/sentdm/resources/organizations/users.rb +0 -134
- data/lib/sentdm/resources/organizations.rb +0 -40
- data/lib/sentdm/version.rb +1 -1
- data/lib/sentdm.rb +0 -12
- data/rbi/sentdm/internal/util.rbi +1 -1
- data/rbi/sentdm/models.rbi +0 -9
- data/rbi/sentdm/resources/organizations/users.rbi +0 -81
- data/rbi/sentdm/resources/organizations.rbi +0 -22
- data/sig/sentdm/models.rbs +0 -8
- data/sig/sentdm/resources/organizations/users.rbs +0 -35
- data/sig/sentdm/resources/organizations.rbs +0 -9
- metadata +2 -38
- data/lib/sentdm/models/organization_list_params.rb +0 -14
- data/lib/sentdm/models/organization_list_response.rb +0 -57
- data/lib/sentdm/models/organization_retrieve_profiles_params.rb +0 -14
- data/lib/sentdm/models/organization_retrieve_profiles_response.rb +0 -22
- data/lib/sentdm/models/organizations/customer_user.rb +0 -96
- data/lib/sentdm/models/organizations/user_delete_params.rb +0 -22
- data/lib/sentdm/models/organizations/user_invite_params.rb +0 -40
- data/lib/sentdm/models/organizations/user_list_params.rb +0 -28
- data/lib/sentdm/models/organizations/user_list_response.rb +0 -36
- data/lib/sentdm/models/organizations/user_retrieve_params.rb +0 -22
- data/lib/sentdm/models/organizations/user_update_role_params.rb +0 -28
- data/lib/sentdm/models/profile_summary.rb +0 -45
- data/rbi/sentdm/models/organization_list_params.rbi +0 -27
- data/rbi/sentdm/models/organization_list_response.rbi +0 -131
- data/rbi/sentdm/models/organization_retrieve_profiles_params.rbi +0 -30
- data/rbi/sentdm/models/organization_retrieve_profiles_response.rbi +0 -47
- data/rbi/sentdm/models/organizations/customer_user.rbi +0 -129
- data/rbi/sentdm/models/organizations/user_delete_params.rbi +0 -40
- data/rbi/sentdm/models/organizations/user_invite_params.rbi +0 -73
- data/rbi/sentdm/models/organizations/user_list_params.rbi +0 -48
- data/rbi/sentdm/models/organizations/user_list_response.rbi +0 -71
- data/rbi/sentdm/models/organizations/user_retrieve_params.rbi +0 -40
- data/rbi/sentdm/models/organizations/user_update_role_params.rbi +0 -51
- data/rbi/sentdm/models/profile_summary.rbi +0 -74
- data/sig/sentdm/models/organization_list_params.rbs +0 -15
- data/sig/sentdm/models/organization_list_response.rbs +0 -76
- data/sig/sentdm/models/organization_retrieve_profiles_params.rbs +0 -15
- data/sig/sentdm/models/organization_retrieve_profiles_response.rbs +0 -28
- data/sig/sentdm/models/organizations/customer_user.rbs +0 -91
- data/sig/sentdm/models/organizations/user_delete_params.rbs +0 -25
- data/sig/sentdm/models/organizations/user_invite_params.rbs +0 -44
- data/sig/sentdm/models/organizations/user_list_params.rbs +0 -30
- data/sig/sentdm/models/organizations/user_list_response.rbs +0 -47
- data/sig/sentdm/models/organizations/user_retrieve_params.rbs +0 -25
- data/sig/sentdm/models/organizations/user_update_role_params.rbs +0 -32
- data/sig/sentdm/models/profile_summary.rbs +0 -51
|
@@ -1,91 +0,0 @@
|
|
|
1
|
-
module Sentdm
|
|
2
|
-
module Models
|
|
3
|
-
module Organizations
|
|
4
|
-
type customer_user =
|
|
5
|
-
{
|
|
6
|
-
id: String,
|
|
7
|
-
created_at: Time,
|
|
8
|
-
customer_id: String,
|
|
9
|
-
email: String,
|
|
10
|
-
invitation_sent_at: Time?,
|
|
11
|
-
invitation_token: String?,
|
|
12
|
-
invitation_token_expires_at: Time?,
|
|
13
|
-
last_login_at: Time?,
|
|
14
|
-
name: String,
|
|
15
|
-
role: String,
|
|
16
|
-
status: String,
|
|
17
|
-
updated_at: Time?
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
class CustomerUser < Sentdm::Internal::Type::BaseModel
|
|
21
|
-
attr_reader id: String?
|
|
22
|
-
|
|
23
|
-
def id=: (String) -> String
|
|
24
|
-
|
|
25
|
-
attr_reader created_at: Time?
|
|
26
|
-
|
|
27
|
-
def created_at=: (Time) -> Time
|
|
28
|
-
|
|
29
|
-
attr_reader customer_id: String?
|
|
30
|
-
|
|
31
|
-
def customer_id=: (String) -> String
|
|
32
|
-
|
|
33
|
-
attr_reader email: String?
|
|
34
|
-
|
|
35
|
-
def email=: (String) -> String
|
|
36
|
-
|
|
37
|
-
attr_accessor invitation_sent_at: Time?
|
|
38
|
-
|
|
39
|
-
attr_accessor invitation_token: String?
|
|
40
|
-
|
|
41
|
-
attr_accessor invitation_token_expires_at: Time?
|
|
42
|
-
|
|
43
|
-
attr_accessor last_login_at: Time?
|
|
44
|
-
|
|
45
|
-
attr_reader name: String?
|
|
46
|
-
|
|
47
|
-
def name=: (String) -> String
|
|
48
|
-
|
|
49
|
-
attr_reader role: String?
|
|
50
|
-
|
|
51
|
-
def role=: (String) -> String
|
|
52
|
-
|
|
53
|
-
attr_reader status: String?
|
|
54
|
-
|
|
55
|
-
def status=: (String) -> String
|
|
56
|
-
|
|
57
|
-
attr_accessor updated_at: Time?
|
|
58
|
-
|
|
59
|
-
def initialize: (
|
|
60
|
-
?id: String,
|
|
61
|
-
?created_at: Time,
|
|
62
|
-
?customer_id: String,
|
|
63
|
-
?email: String,
|
|
64
|
-
?invitation_sent_at: Time?,
|
|
65
|
-
?invitation_token: String?,
|
|
66
|
-
?invitation_token_expires_at: Time?,
|
|
67
|
-
?last_login_at: Time?,
|
|
68
|
-
?name: String,
|
|
69
|
-
?role: String,
|
|
70
|
-
?status: String,
|
|
71
|
-
?updated_at: Time?
|
|
72
|
-
) -> void
|
|
73
|
-
|
|
74
|
-
def to_hash: -> {
|
|
75
|
-
id: String,
|
|
76
|
-
created_at: Time,
|
|
77
|
-
customer_id: String,
|
|
78
|
-
email: String,
|
|
79
|
-
invitation_sent_at: Time?,
|
|
80
|
-
invitation_token: String?,
|
|
81
|
-
invitation_token_expires_at: Time?,
|
|
82
|
-
last_login_at: Time?,
|
|
83
|
-
name: String,
|
|
84
|
-
role: String,
|
|
85
|
-
status: String,
|
|
86
|
-
updated_at: Time?
|
|
87
|
-
}
|
|
88
|
-
end
|
|
89
|
-
end
|
|
90
|
-
end
|
|
91
|
-
end
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
module Sentdm
|
|
2
|
-
module Models
|
|
3
|
-
module Organizations
|
|
4
|
-
type user_delete_params =
|
|
5
|
-
{ customer_id: String } & Sentdm::Internal::Type::request_parameters
|
|
6
|
-
|
|
7
|
-
class UserDeleteParams < Sentdm::Internal::Type::BaseModel
|
|
8
|
-
extend Sentdm::Internal::Type::RequestParameters::Converter
|
|
9
|
-
include Sentdm::Internal::Type::RequestParameters
|
|
10
|
-
|
|
11
|
-
attr_accessor customer_id: String
|
|
12
|
-
|
|
13
|
-
def initialize: (
|
|
14
|
-
customer_id: String,
|
|
15
|
-
?request_options: Sentdm::request_opts
|
|
16
|
-
) -> void
|
|
17
|
-
|
|
18
|
-
def to_hash: -> {
|
|
19
|
-
customer_id: String,
|
|
20
|
-
request_options: Sentdm::RequestOptions
|
|
21
|
-
}
|
|
22
|
-
end
|
|
23
|
-
end
|
|
24
|
-
end
|
|
25
|
-
end
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
module Sentdm
|
|
2
|
-
module Models
|
|
3
|
-
module Organizations
|
|
4
|
-
type user_invite_params =
|
|
5
|
-
{ email: String, invited_by: String?, name: String, role: String }
|
|
6
|
-
& Sentdm::Internal::Type::request_parameters
|
|
7
|
-
|
|
8
|
-
class UserInviteParams < Sentdm::Internal::Type::BaseModel
|
|
9
|
-
extend Sentdm::Internal::Type::RequestParameters::Converter
|
|
10
|
-
include Sentdm::Internal::Type::RequestParameters
|
|
11
|
-
|
|
12
|
-
attr_reader email: String?
|
|
13
|
-
|
|
14
|
-
def email=: (String) -> String
|
|
15
|
-
|
|
16
|
-
attr_accessor invited_by: String?
|
|
17
|
-
|
|
18
|
-
attr_reader name: String?
|
|
19
|
-
|
|
20
|
-
def name=: (String) -> String
|
|
21
|
-
|
|
22
|
-
attr_reader role: String?
|
|
23
|
-
|
|
24
|
-
def role=: (String) -> String
|
|
25
|
-
|
|
26
|
-
def initialize: (
|
|
27
|
-
?email: String,
|
|
28
|
-
?invited_by: String?,
|
|
29
|
-
?name: String,
|
|
30
|
-
?role: String,
|
|
31
|
-
?request_options: Sentdm::request_opts
|
|
32
|
-
) -> void
|
|
33
|
-
|
|
34
|
-
def to_hash: -> {
|
|
35
|
-
email: String,
|
|
36
|
-
invited_by: String?,
|
|
37
|
-
name: String,
|
|
38
|
-
role: String,
|
|
39
|
-
request_options: Sentdm::RequestOptions
|
|
40
|
-
}
|
|
41
|
-
end
|
|
42
|
-
end
|
|
43
|
-
end
|
|
44
|
-
end
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
module Sentdm
|
|
2
|
-
module Models
|
|
3
|
-
module Organizations
|
|
4
|
-
type user_list_params =
|
|
5
|
-
{ page: Integer, page_size: Integer }
|
|
6
|
-
& Sentdm::Internal::Type::request_parameters
|
|
7
|
-
|
|
8
|
-
class UserListParams < Sentdm::Internal::Type::BaseModel
|
|
9
|
-
extend Sentdm::Internal::Type::RequestParameters::Converter
|
|
10
|
-
include Sentdm::Internal::Type::RequestParameters
|
|
11
|
-
|
|
12
|
-
attr_accessor page: Integer
|
|
13
|
-
|
|
14
|
-
attr_accessor page_size: Integer
|
|
15
|
-
|
|
16
|
-
def initialize: (
|
|
17
|
-
page: Integer,
|
|
18
|
-
page_size: Integer,
|
|
19
|
-
?request_options: Sentdm::request_opts
|
|
20
|
-
) -> void
|
|
21
|
-
|
|
22
|
-
def to_hash: -> {
|
|
23
|
-
page: Integer,
|
|
24
|
-
page_size: Integer,
|
|
25
|
-
request_options: Sentdm::RequestOptions
|
|
26
|
-
}
|
|
27
|
-
end
|
|
28
|
-
end
|
|
29
|
-
end
|
|
30
|
-
end
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
module Sentdm
|
|
2
|
-
module Models
|
|
3
|
-
module Organizations
|
|
4
|
-
type user_list_response =
|
|
5
|
-
{
|
|
6
|
-
page: Integer,
|
|
7
|
-
page_size: Integer,
|
|
8
|
-
total_count: Integer,
|
|
9
|
-
users: ::Array[Sentdm::Organizations::CustomerUser]
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
class UserListResponse < Sentdm::Internal::Type::BaseModel
|
|
13
|
-
attr_reader page: Integer?
|
|
14
|
-
|
|
15
|
-
def page=: (Integer) -> Integer
|
|
16
|
-
|
|
17
|
-
attr_reader page_size: Integer?
|
|
18
|
-
|
|
19
|
-
def page_size=: (Integer) -> Integer
|
|
20
|
-
|
|
21
|
-
attr_reader total_count: Integer?
|
|
22
|
-
|
|
23
|
-
def total_count=: (Integer) -> Integer
|
|
24
|
-
|
|
25
|
-
attr_reader users: ::Array[Sentdm::Organizations::CustomerUser]?
|
|
26
|
-
|
|
27
|
-
def users=: (
|
|
28
|
-
::Array[Sentdm::Organizations::CustomerUser]
|
|
29
|
-
) -> ::Array[Sentdm::Organizations::CustomerUser]
|
|
30
|
-
|
|
31
|
-
def initialize: (
|
|
32
|
-
?page: Integer,
|
|
33
|
-
?page_size: Integer,
|
|
34
|
-
?total_count: Integer,
|
|
35
|
-
?users: ::Array[Sentdm::Organizations::CustomerUser]
|
|
36
|
-
) -> void
|
|
37
|
-
|
|
38
|
-
def to_hash: -> {
|
|
39
|
-
page: Integer,
|
|
40
|
-
page_size: Integer,
|
|
41
|
-
total_count: Integer,
|
|
42
|
-
users: ::Array[Sentdm::Organizations::CustomerUser]
|
|
43
|
-
}
|
|
44
|
-
end
|
|
45
|
-
end
|
|
46
|
-
end
|
|
47
|
-
end
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
module Sentdm
|
|
2
|
-
module Models
|
|
3
|
-
module Organizations
|
|
4
|
-
type user_retrieve_params =
|
|
5
|
-
{ customer_id: String } & Sentdm::Internal::Type::request_parameters
|
|
6
|
-
|
|
7
|
-
class UserRetrieveParams < Sentdm::Internal::Type::BaseModel
|
|
8
|
-
extend Sentdm::Internal::Type::RequestParameters::Converter
|
|
9
|
-
include Sentdm::Internal::Type::RequestParameters
|
|
10
|
-
|
|
11
|
-
attr_accessor customer_id: String
|
|
12
|
-
|
|
13
|
-
def initialize: (
|
|
14
|
-
customer_id: String,
|
|
15
|
-
?request_options: Sentdm::request_opts
|
|
16
|
-
) -> void
|
|
17
|
-
|
|
18
|
-
def to_hash: -> {
|
|
19
|
-
customer_id: String,
|
|
20
|
-
request_options: Sentdm::RequestOptions
|
|
21
|
-
}
|
|
22
|
-
end
|
|
23
|
-
end
|
|
24
|
-
end
|
|
25
|
-
end
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
module Sentdm
|
|
2
|
-
module Models
|
|
3
|
-
module Organizations
|
|
4
|
-
type user_update_role_params =
|
|
5
|
-
{ customer_id: String, role: String }
|
|
6
|
-
& Sentdm::Internal::Type::request_parameters
|
|
7
|
-
|
|
8
|
-
class UserUpdateRoleParams < Sentdm::Internal::Type::BaseModel
|
|
9
|
-
extend Sentdm::Internal::Type::RequestParameters::Converter
|
|
10
|
-
include Sentdm::Internal::Type::RequestParameters
|
|
11
|
-
|
|
12
|
-
attr_accessor customer_id: String
|
|
13
|
-
|
|
14
|
-
attr_reader role: String?
|
|
15
|
-
|
|
16
|
-
def role=: (String) -> String
|
|
17
|
-
|
|
18
|
-
def initialize: (
|
|
19
|
-
customer_id: String,
|
|
20
|
-
?role: String,
|
|
21
|
-
?request_options: Sentdm::request_opts
|
|
22
|
-
) -> void
|
|
23
|
-
|
|
24
|
-
def to_hash: -> {
|
|
25
|
-
customer_id: String,
|
|
26
|
-
role: String,
|
|
27
|
-
request_options: Sentdm::RequestOptions
|
|
28
|
-
}
|
|
29
|
-
end
|
|
30
|
-
end
|
|
31
|
-
end
|
|
32
|
-
end
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
module Sentdm
|
|
2
|
-
module Models
|
|
3
|
-
type profile_summary =
|
|
4
|
-
{
|
|
5
|
-
id: String,
|
|
6
|
-
created_at: Time,
|
|
7
|
-
description: String?,
|
|
8
|
-
icon: String?,
|
|
9
|
-
name: String,
|
|
10
|
-
short_name: String?
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
class ProfileSummary < Sentdm::Internal::Type::BaseModel
|
|
14
|
-
attr_reader id: String?
|
|
15
|
-
|
|
16
|
-
def id=: (String) -> String
|
|
17
|
-
|
|
18
|
-
attr_reader created_at: Time?
|
|
19
|
-
|
|
20
|
-
def created_at=: (Time) -> Time
|
|
21
|
-
|
|
22
|
-
attr_accessor description: String?
|
|
23
|
-
|
|
24
|
-
attr_accessor icon: String?
|
|
25
|
-
|
|
26
|
-
attr_reader name: String?
|
|
27
|
-
|
|
28
|
-
def name=: (String) -> String
|
|
29
|
-
|
|
30
|
-
attr_accessor short_name: String?
|
|
31
|
-
|
|
32
|
-
def initialize: (
|
|
33
|
-
?id: String,
|
|
34
|
-
?created_at: Time,
|
|
35
|
-
?description: String?,
|
|
36
|
-
?icon: String?,
|
|
37
|
-
?name: String,
|
|
38
|
-
?short_name: String?
|
|
39
|
-
) -> void
|
|
40
|
-
|
|
41
|
-
def to_hash: -> {
|
|
42
|
-
id: String,
|
|
43
|
-
created_at: Time,
|
|
44
|
-
description: String?,
|
|
45
|
-
icon: String?,
|
|
46
|
-
name: String,
|
|
47
|
-
short_name: String?
|
|
48
|
-
}
|
|
49
|
-
end
|
|
50
|
-
end
|
|
51
|
-
end
|