sentdm 0.32.0 → 0.33.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 (47) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +9 -0
  3. data/README.md +1 -1
  4. data/lib/sentdm/client.rb +6 -0
  5. data/lib/sentdm/models/channel_event_payload.rb +139 -2
  6. data/lib/sentdm/models/contact_event.rb +15 -7
  7. data/lib/sentdm/models/contact_event_payload.rb +77 -16
  8. data/lib/sentdm/models/conversation_messages_list.rb +125 -4
  9. data/lib/sentdm/models/message_event_payload.rb +20 -1
  10. data/lib/sentdm/models/message_retrieve_activities_response.rb +20 -5
  11. data/lib/sentdm/models/message_retrieve_status_response.rb +133 -6
  12. data/lib/sentdm/models/message_send_params.rb +67 -3
  13. data/lib/sentdm/models/message_send_response.rb +13 -4
  14. data/lib/sentdm/models/template_body.rb +82 -1
  15. data/lib/sentdm/models/template_header.rb +91 -3
  16. data/lib/sentdm/models/template_variable.rb +15 -1
  17. data/lib/sentdm/models/webhook_list_events_response.rb +324 -9
  18. data/lib/sentdm/resources/messages.rb +33 -5
  19. data/lib/sentdm/version.rb +1 -1
  20. data/lib/sentdm.rb +1 -1
  21. data/rbi/sentdm/client.rbi +6 -0
  22. data/rbi/sentdm/models/channel_event_payload.rbi +253 -2
  23. data/rbi/sentdm/models/contact_event.rbi +28 -12
  24. data/rbi/sentdm/models/contact_event_payload.rbi +118 -28
  25. data/rbi/sentdm/models/conversation_messages_list.rbi +202 -7
  26. data/rbi/sentdm/models/message_event_payload.rbi +22 -0
  27. data/rbi/sentdm/models/message_retrieve_activities_response.rbi +23 -5
  28. data/rbi/sentdm/models/message_retrieve_status_response.rbi +214 -9
  29. data/rbi/sentdm/models/message_send_params.rbi +100 -2
  30. data/rbi/sentdm/models/message_send_response.rbi +15 -5
  31. data/rbi/sentdm/models/template_body.rbi +133 -0
  32. data/rbi/sentdm/models/template_header.rbi +143 -2
  33. data/rbi/sentdm/models/template_variable.rbi +10 -0
  34. data/rbi/sentdm/models/webhook_list_events_response.rbi +478 -12
  35. data/rbi/sentdm/resources/messages.rbi +58 -3
  36. data/sig/sentdm/models/channel_event_payload.rbs +57 -0
  37. data/sig/sentdm/models/contact_event_payload.rbs +24 -9
  38. data/sig/sentdm/models/conversation_messages_list.rbs +48 -3
  39. data/sig/sentdm/models/message_event_payload.rbs +10 -0
  40. data/sig/sentdm/models/message_retrieve_activities_response.rbs +5 -0
  41. data/sig/sentdm/models/message_retrieve_status_response.rbs +48 -3
  42. data/sig/sentdm/models/message_send_params.rbs +15 -0
  43. data/sig/sentdm/models/template_body.rbs +44 -0
  44. data/sig/sentdm/models/template_header.rbs +44 -0
  45. data/sig/sentdm/models/webhook_list_events_response.rbs +145 -0
  46. data/sig/sentdm/resources/messages.rbs +3 -0
  47. metadata +2 -2
@@ -5,6 +5,7 @@ module Sentdm
5
5
  country: String,
6
6
  account_id: String,
7
7
  channel: String,
8
+ compliance: Sentdm::ChannelEventPayload::Compliance?,
8
9
  number_type: String?,
9
10
  reason: String?,
10
11
  sender_value: String?,
@@ -23,6 +24,8 @@ module Sentdm
23
24
 
24
25
  def channel=: (String) -> String
25
26
 
27
+ attr_accessor compliance: Sentdm::ChannelEventPayload::Compliance?
28
+
26
29
  attr_accessor number_type: String?
27
30
 
28
31
  attr_accessor reason: String?
@@ -41,6 +44,7 @@ module Sentdm
41
44
  country: String,
42
45
  ?account_id: String,
43
46
  ?channel: String,
47
+ ?compliance: Sentdm::ChannelEventPayload::Compliance?,
44
48
  ?number_type: String?,
45
49
  ?reason: String?,
46
50
  ?sender_value: String?,
@@ -52,12 +56,65 @@ module Sentdm
52
56
  country: String,
53
57
  account_id: String,
54
58
  channel: String,
59
+ compliance: Sentdm::ChannelEventPayload::Compliance?,
55
60
  number_type: String?,
56
61
  reason: String?,
57
62
  sender_value: String?,
58
63
  status: String,
59
64
  updated_at: String
60
65
  }
66
+
67
+ type compliance =
68
+ {
69
+ brand: ::Hash[Symbol, top]?,
70
+ campaign: ::Hash[Symbol, top]?,
71
+ documents: ::Array[Sentdm::ChannelEventPayload::Compliance::Document]?
72
+ }
73
+
74
+ class Compliance < Sentdm::Internal::Type::BaseModel
75
+ attr_accessor brand: ::Hash[Symbol, top]?
76
+
77
+ attr_accessor campaign: ::Hash[Symbol, top]?
78
+
79
+ attr_accessor documents: ::Array[Sentdm::ChannelEventPayload::Compliance::Document]?
80
+
81
+ def initialize: (
82
+ ?brand: ::Hash[Symbol, top]?,
83
+ ?campaign: ::Hash[Symbol, top]?,
84
+ ?documents: ::Array[Sentdm::ChannelEventPayload::Compliance::Document]?
85
+ ) -> void
86
+
87
+ def to_hash: -> {
88
+ brand: ::Hash[Symbol, top]?,
89
+ campaign: ::Hash[Symbol, top]?,
90
+ documents: ::Array[Sentdm::ChannelEventPayload::Compliance::Document]?
91
+ }
92
+
93
+ type document =
94
+ { document_id: String?, file_name: String?, key: String }
95
+
96
+ class Document < Sentdm::Internal::Type::BaseModel
97
+ attr_accessor document_id: String?
98
+
99
+ attr_accessor file_name: String?
100
+
101
+ attr_reader key: String?
102
+
103
+ def key=: (String) -> String
104
+
105
+ def initialize: (
106
+ ?document_id: String?,
107
+ ?file_name: String?,
108
+ ?key: String
109
+ ) -> void
110
+
111
+ def to_hash: -> {
112
+ document_id: String?,
113
+ file_name: String?,
114
+ key: String
115
+ }
116
+ end
117
+ end
61
118
  end
62
119
  end
63
120
  end
@@ -5,11 +5,14 @@ module Sentdm
5
5
  opt_out: bool,
6
6
  source: String,
7
7
  account_id: String,
8
+ agent_id: String?,
8
9
  channel: String,
9
10
  contact_id: String,
11
+ from: String,
10
12
  message_id: String?,
11
- phone_number: String,
12
- text: String?
13
+ template_id: String?,
14
+ text: String?,
15
+ to: String?
13
16
  }
14
17
 
15
18
  class ContactEventPayload < Sentdm::Internal::Type::BaseModel
@@ -21,6 +24,8 @@ module Sentdm
21
24
 
22
25
  def account_id=: (String) -> String
23
26
 
27
+ attr_accessor agent_id: String?
28
+
24
29
  attr_reader channel: String?
25
30
 
26
31
  def channel=: (String) -> String
@@ -29,34 +34,44 @@ module Sentdm
29
34
 
30
35
  def contact_id=: (String) -> String
31
36
 
32
- attr_accessor message_id: String?
37
+ attr_reader from: String?
33
38
 
34
- attr_reader phone_number: String?
39
+ def from=: (String) -> String
35
40
 
36
- def phone_number=: (String) -> String
41
+ attr_accessor message_id: String?
42
+
43
+ attr_accessor template_id: String?
37
44
 
38
45
  attr_accessor text: String?
39
46
 
47
+ attr_accessor to: String?
48
+
40
49
  def initialize: (
41
50
  opt_out: bool,
42
51
  source: String,
43
52
  ?account_id: String,
53
+ ?agent_id: String?,
44
54
  ?channel: String,
45
55
  ?contact_id: String,
56
+ ?from: String,
46
57
  ?message_id: String?,
47
- ?phone_number: String,
48
- ?text: String?
58
+ ?template_id: String?,
59
+ ?text: String?,
60
+ ?to: String?
49
61
  ) -> void
50
62
 
51
63
  def to_hash: -> {
52
64
  opt_out: bool,
53
65
  source: String,
54
66
  account_id: String,
67
+ agent_id: String?,
55
68
  channel: String,
56
69
  contact_id: String,
70
+ from: String,
57
71
  message_id: String?,
58
- phone_number: String,
59
- text: String?
72
+ template_id: String?,
73
+ text: String?,
74
+ to: String?
60
75
  }
61
76
  end
62
77
  end
@@ -170,7 +170,10 @@ module Sentdm
170
170
  buttons: ::Array[Sentdm::ConversationMessagesList::Message::MessageBody::Button]?,
171
171
  content: String,
172
172
  footer: String?,
173
- header: String?
173
+ header: String?,
174
+ header_media: Sentdm::ConversationMessagesList::Message::MessageBody::HeaderMedia?,
175
+ media: ::Array[Sentdm::ConversationMessagesList::Message::MessageBody::Media]?,
176
+ subject: String?
174
177
  }
175
178
 
176
179
  class MessageBody < Sentdm::Internal::Type::BaseModel
@@ -184,18 +187,30 @@ module Sentdm
184
187
 
185
188
  attr_accessor header: String?
186
189
 
190
+ attr_accessor header_media: Sentdm::ConversationMessagesList::Message::MessageBody::HeaderMedia?
191
+
192
+ attr_accessor media: ::Array[Sentdm::ConversationMessagesList::Message::MessageBody::Media]?
193
+
194
+ attr_accessor subject: String?
195
+
187
196
  def initialize: (
188
197
  ?buttons: ::Array[Sentdm::ConversationMessagesList::Message::MessageBody::Button]?,
189
198
  ?content: String,
190
199
  ?footer: String?,
191
- ?header: String?
200
+ ?header: String?,
201
+ ?header_media: Sentdm::ConversationMessagesList::Message::MessageBody::HeaderMedia?,
202
+ ?media: ::Array[Sentdm::ConversationMessagesList::Message::MessageBody::Media]?,
203
+ ?subject: String?
192
204
  ) -> void
193
205
 
194
206
  def to_hash: -> {
195
207
  buttons: ::Array[Sentdm::ConversationMessagesList::Message::MessageBody::Button]?,
196
208
  content: String,
197
209
  footer: String?,
198
- header: String?
210
+ header: String?,
211
+ header_media: Sentdm::ConversationMessagesList::Message::MessageBody::HeaderMedia?,
212
+ media: ::Array[Sentdm::ConversationMessagesList::Message::MessageBody::Media]?,
213
+ subject: String?
199
214
  }
200
215
 
201
216
  type button =
@@ -233,6 +248,36 @@ module Sentdm
233
248
  value: String
234
249
  }
235
250
  end
251
+
252
+ type header_media = { type: String, url: String }
253
+
254
+ class HeaderMedia < Sentdm::Internal::Type::BaseModel
255
+ attr_reader type: String?
256
+
257
+ def type=: (String) -> String
258
+
259
+ attr_reader url: String?
260
+
261
+ def url=: (String) -> String
262
+
263
+ def initialize: (?type: String, ?url: String) -> void
264
+
265
+ def to_hash: -> { type: String, url: String }
266
+ end
267
+
268
+ type media = { media_type: String?, url: String }
269
+
270
+ class Media < Sentdm::Internal::Type::BaseModel
271
+ attr_accessor media_type: String?
272
+
273
+ attr_reader url: String?
274
+
275
+ def url=: (String) -> String
276
+
277
+ def initialize: (?media_type: String?, ?url: String) -> void
278
+
279
+ def to_hash: -> { media_type: String?, url: String }
280
+ end
236
281
  end
237
282
  end
238
283
  end
@@ -9,6 +9,8 @@ module Sentdm
9
9
  channel: String,
10
10
  message_id: String,
11
11
  outbound_number: String,
12
+ schedule_reason: String?,
13
+ scheduled_at: String?,
12
14
  template_id: String?,
13
15
  template_name: String?,
14
16
  updated_at: String
@@ -37,6 +39,10 @@ module Sentdm
37
39
 
38
40
  def outbound_number=: (String) -> String
39
41
 
42
+ attr_accessor schedule_reason: String?
43
+
44
+ attr_accessor scheduled_at: String?
45
+
40
46
  attr_accessor template_id: String?
41
47
 
42
48
  attr_accessor template_name: String?
@@ -53,6 +59,8 @@ module Sentdm
53
59
  ?channel: String,
54
60
  ?message_id: String,
55
61
  ?outbound_number: String,
62
+ ?schedule_reason: String?,
63
+ ?scheduled_at: String?,
56
64
  ?template_id: String?,
57
65
  ?template_name: String?,
58
66
  ?updated_at: String
@@ -66,6 +74,8 @@ module Sentdm
66
74
  channel: String,
67
75
  message_id: String,
68
76
  outbound_number: String,
77
+ schedule_reason: String?,
78
+ scheduled_at: String?,
69
79
  template_id: String?,
70
80
  template_name: String?,
71
81
  updated_at: String
@@ -75,6 +75,7 @@ module Sentdm
75
75
  description: String,
76
76
  from: String?,
77
77
  price: String?,
78
+ scheduled_at: Time?,
78
79
  status: String,
79
80
  timestamp: Time
80
81
  }
@@ -90,6 +91,8 @@ module Sentdm
90
91
 
91
92
  attr_accessor price: String?
92
93
 
94
+ attr_accessor scheduled_at: Time?
95
+
93
96
  attr_reader status: String?
94
97
 
95
98
  def status=: (String) -> String
@@ -103,6 +106,7 @@ module Sentdm
103
106
  ?description: String,
104
107
  ?from: String?,
105
108
  ?price: String?,
109
+ ?scheduled_at: Time?,
106
110
  ?status: String,
107
111
  ?timestamp: Time
108
112
  ) -> void
@@ -112,6 +116,7 @@ module Sentdm
112
116
  description: String,
113
117
  from: String?,
114
118
  price: String?,
119
+ scheduled_at: Time?,
115
120
  status: String,
116
121
  timestamp: Time
117
122
  }
@@ -178,7 +178,10 @@ module Sentdm
178
178
  buttons: ::Array[Sentdm::Models::MessageRetrieveStatusResponse::Data::MessageBody::Button]?,
179
179
  content: String,
180
180
  footer: String?,
181
- header: String?
181
+ header: String?,
182
+ header_media: Sentdm::Models::MessageRetrieveStatusResponse::Data::MessageBody::HeaderMedia?,
183
+ media: ::Array[Sentdm::Models::MessageRetrieveStatusResponse::Data::MessageBody::Media]?,
184
+ subject: String?
182
185
  }
183
186
 
184
187
  class MessageBody < Sentdm::Internal::Type::BaseModel
@@ -192,18 +195,30 @@ module Sentdm
192
195
 
193
196
  attr_accessor header: String?
194
197
 
198
+ attr_accessor header_media: Sentdm::Models::MessageRetrieveStatusResponse::Data::MessageBody::HeaderMedia?
199
+
200
+ attr_accessor media: ::Array[Sentdm::Models::MessageRetrieveStatusResponse::Data::MessageBody::Media]?
201
+
202
+ attr_accessor subject: String?
203
+
195
204
  def initialize: (
196
205
  ?buttons: ::Array[Sentdm::Models::MessageRetrieveStatusResponse::Data::MessageBody::Button]?,
197
206
  ?content: String,
198
207
  ?footer: String?,
199
- ?header: String?
208
+ ?header: String?,
209
+ ?header_media: Sentdm::Models::MessageRetrieveStatusResponse::Data::MessageBody::HeaderMedia?,
210
+ ?media: ::Array[Sentdm::Models::MessageRetrieveStatusResponse::Data::MessageBody::Media]?,
211
+ ?subject: String?
200
212
  ) -> void
201
213
 
202
214
  def to_hash: -> {
203
215
  buttons: ::Array[Sentdm::Models::MessageRetrieveStatusResponse::Data::MessageBody::Button]?,
204
216
  content: String,
205
217
  footer: String?,
206
- header: String?
218
+ header: String?,
219
+ header_media: Sentdm::Models::MessageRetrieveStatusResponse::Data::MessageBody::HeaderMedia?,
220
+ media: ::Array[Sentdm::Models::MessageRetrieveStatusResponse::Data::MessageBody::Media]?,
221
+ subject: String?
207
222
  }
208
223
 
209
224
  type button =
@@ -241,6 +256,36 @@ module Sentdm
241
256
  value: String
242
257
  }
243
258
  end
259
+
260
+ type header_media = { type: String, url: String }
261
+
262
+ class HeaderMedia < Sentdm::Internal::Type::BaseModel
263
+ attr_reader type: String?
264
+
265
+ def type=: (String) -> String
266
+
267
+ attr_reader url: String?
268
+
269
+ def url=: (String) -> String
270
+
271
+ def initialize: (?type: String, ?url: String) -> void
272
+
273
+ def to_hash: -> { type: String, url: String }
274
+ end
275
+
276
+ type media = { media_type: String?, url: String }
277
+
278
+ class Media < Sentdm::Internal::Type::BaseModel
279
+ attr_accessor media_type: String?
280
+
281
+ attr_reader url: String?
282
+
283
+ def url=: (String) -> String
284
+
285
+ def initialize: (?media_type: String?, ?url: String) -> void
286
+
287
+ def to_hash: -> { media_type: String?, url: String }
288
+ end
244
289
  end
245
290
  end
246
291
  end
@@ -3,7 +3,10 @@ module Sentdm
3
3
  type message_send_params =
4
4
  {
5
5
  channel: ::Array[String]?,
6
+ media_urls: ::Array[String]?,
6
7
  sandbox: bool,
8
+ scheduled_at: Time?,
9
+ subject: String?,
7
10
  template: Sentdm::MessageSendParams::Template?,
8
11
  text: String?,
9
12
  to: ::Array[String],
@@ -18,10 +21,16 @@ module Sentdm
18
21
 
19
22
  attr_accessor channel: ::Array[String]?
20
23
 
24
+ attr_accessor media_urls: ::Array[String]?
25
+
21
26
  attr_reader sandbox: bool?
22
27
 
23
28
  def sandbox=: (bool) -> bool
24
29
 
30
+ attr_accessor scheduled_at: Time?
31
+
32
+ attr_accessor subject: String?
33
+
25
34
  attr_accessor template: Sentdm::MessageSendParams::Template?
26
35
 
27
36
  attr_accessor text: String?
@@ -40,7 +49,10 @@ module Sentdm
40
49
 
41
50
  def initialize: (
42
51
  ?channel: ::Array[String]?,
52
+ ?media_urls: ::Array[String]?,
43
53
  ?sandbox: bool,
54
+ ?scheduled_at: Time?,
55
+ ?subject: String?,
44
56
  ?template: Sentdm::MessageSendParams::Template?,
45
57
  ?text: String?,
46
58
  ?to: ::Array[String],
@@ -51,7 +63,10 @@ module Sentdm
51
63
 
52
64
  def to_hash: -> {
53
65
  channel: ::Array[String]?,
66
+ media_urls: ::Array[String]?,
54
67
  sandbox: bool,
68
+ scheduled_at: Time?,
69
+ subject: String?,
55
70
  template: Sentdm::MessageSendParams::Template?,
56
71
  text: String?,
57
72
  to: ::Array[String],
@@ -2,6 +2,7 @@ module Sentdm
2
2
  module Models
3
3
  type template_body =
4
4
  {
5
+ mms: Sentdm::TemplateBody::Mms?,
5
6
  multi_channel: Sentdm::TemplateBodyContent?,
6
7
  rcs: Sentdm::TemplateBodyContent?,
7
8
  sms: Sentdm::TemplateBodyContent?,
@@ -9,6 +10,8 @@ module Sentdm
9
10
  }
10
11
 
11
12
  class TemplateBody < Sentdm::Internal::Type::BaseModel
13
+ attr_accessor mms: Sentdm::TemplateBody::Mms?
14
+
12
15
  attr_accessor multi_channel: Sentdm::TemplateBodyContent?
13
16
 
14
17
  attr_accessor rcs: Sentdm::TemplateBodyContent?
@@ -18,6 +21,7 @@ module Sentdm
18
21
  attr_accessor whatsapp: Sentdm::TemplateBodyContent?
19
22
 
20
23
  def initialize: (
24
+ ?mms: Sentdm::TemplateBody::Mms?,
21
25
  ?multi_channel: Sentdm::TemplateBodyContent?,
22
26
  ?rcs: Sentdm::TemplateBodyContent?,
23
27
  ?sms: Sentdm::TemplateBodyContent?,
@@ -25,11 +29,51 @@ module Sentdm
25
29
  ) -> void
26
30
 
27
31
  def to_hash: -> {
32
+ mms: Sentdm::TemplateBody::Mms?,
28
33
  multi_channel: Sentdm::TemplateBodyContent?,
29
34
  rcs: Sentdm::TemplateBodyContent?,
30
35
  sms: Sentdm::TemplateBodyContent?,
31
36
  whatsapp: Sentdm::TemplateBodyContent?
32
37
  }
38
+
39
+ type mms =
40
+ { media: ::Array[Sentdm::TemplateBody::Mms::Media]?, subject: String? }
41
+
42
+ class Mms < Sentdm::Models::TemplateBodyContent
43
+ def media: -> ::Array[Sentdm::TemplateBody::Mms::Media]?
44
+
45
+ def media=: (
46
+ ::Array[Sentdm::TemplateBody::Mms::Media]? _
47
+ ) -> ::Array[Sentdm::TemplateBody::Mms::Media]?
48
+
49
+ def subject: -> String?
50
+
51
+ def subject=: (String? _) -> String?
52
+
53
+ def initialize: (
54
+ ?media: ::Array[Sentdm::TemplateBody::Mms::Media]?,
55
+ ?subject: String?
56
+ ) -> void
57
+
58
+ def to_hash: -> {
59
+ media: ::Array[Sentdm::TemplateBody::Mms::Media]?,
60
+ subject: String?
61
+ }
62
+
63
+ type media = { media_type: String?, url: String }
64
+
65
+ class Media < Sentdm::Internal::Type::BaseModel
66
+ attr_accessor media_type: String?
67
+
68
+ attr_reader url: String?
69
+
70
+ def url=: (String) -> String
71
+
72
+ def initialize: (?media_type: String?, ?url: String) -> void
73
+
74
+ def to_hash: -> { media_type: String?, url: String }
75
+ end
76
+ end
33
77
  end
34
78
  end
35
79
  end
@@ -3,6 +3,9 @@ module Sentdm
3
3
  type template_header =
4
4
  {
5
5
  template: String,
6
+ example_url: String?,
7
+ location: Sentdm::TemplateHeader::Location?,
8
+ static_resource: bool,
6
9
  type: String?,
7
10
  variables: ::Array[Sentdm::TemplateVariable]?
8
11
  }
@@ -10,21 +13,62 @@ module Sentdm
10
13
  class TemplateHeader < Sentdm::Internal::Type::BaseModel
11
14
  attr_accessor template: String
12
15
 
16
+ attr_accessor example_url: String?
17
+
18
+ attr_accessor location: Sentdm::TemplateHeader::Location?
19
+
20
+ attr_reader static_resource: bool?
21
+
22
+ def static_resource=: (bool) -> bool
23
+
13
24
  attr_accessor type: String?
14
25
 
15
26
  attr_accessor variables: ::Array[Sentdm::TemplateVariable]?
16
27
 
17
28
  def initialize: (
18
29
  template: String,
30
+ ?example_url: String?,
31
+ ?location: Sentdm::TemplateHeader::Location?,
32
+ ?static_resource: bool,
19
33
  ?type: String?,
20
34
  ?variables: ::Array[Sentdm::TemplateVariable]?
21
35
  ) -> void
22
36
 
23
37
  def to_hash: -> {
24
38
  template: String,
39
+ example_url: String?,
40
+ location: Sentdm::TemplateHeader::Location?,
41
+ static_resource: bool,
25
42
  type: String?,
26
43
  variables: ::Array[Sentdm::TemplateVariable]?
27
44
  }
45
+
46
+ type location =
47
+ { address: String, latitude: String, longitude: String, name: String }
48
+
49
+ class Location < Sentdm::Internal::Type::BaseModel
50
+ attr_accessor address: String
51
+
52
+ attr_accessor latitude: String
53
+
54
+ attr_accessor longitude: String
55
+
56
+ attr_accessor name: String
57
+
58
+ def initialize: (
59
+ address: String,
60
+ latitude: String,
61
+ longitude: String,
62
+ name: String
63
+ ) -> void
64
+
65
+ def to_hash: -> {
66
+ address: String,
67
+ latitude: String,
68
+ longitude: String,
69
+ name: String
70
+ }
71
+ end
28
72
  end
29
73
  end
30
74
  end