trycourier 4.3.0 → 4.4.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 +9 -0
- data/README.md +1 -1
- data/lib/trycourier/models/bulk_create_job_params.rb +12 -3
- data/lib/trycourier/models/bulk_retrieve_job_response.rb +15 -3
- data/lib/trycourier/models/inbound_bulk_message.rb +79 -113
- data/lib/trycourier/models/inbound_bulk_message_user.rb +21 -6
- data/lib/trycourier/models/send_message_params.rb +14 -1
- data/lib/trycourier/resources/bulk.rb +17 -3
- data/lib/trycourier/version.rb +1 -1
- data/rbi/trycourier/models/bulk_create_job_params.rbi +21 -20
- data/rbi/trycourier/models/bulk_retrieve_job_response.rbi +24 -9
- data/rbi/trycourier/models/inbound_bulk_message.rbi +97 -153
- data/rbi/trycourier/models/inbound_bulk_message_user.rbi +20 -7
- data/rbi/trycourier/models/send_message_params.rbi +16 -1
- data/rbi/trycourier/resources/bulk.rbi +22 -8
- data/sig/trycourier/models/bulk_create_job_params.rbs +4 -4
- data/sig/trycourier/models/bulk_retrieve_job_response.rbs +4 -4
- data/sig/trycourier/models/inbound_bulk_message.rbs +52 -99
- data/sig/trycourier/models/inbound_bulk_message_user.rbs +4 -6
- data/sig/trycourier/models/send_message_params.rbs +13 -3
- data/sig/trycourier/models.rbs +1 -1
- data/sig/trycourier/resources/bulk.rbs +1 -1
- metadata +2 -2
|
@@ -4,7 +4,7 @@ module Trycourier
|
|
|
4
4
|
{
|
|
5
5
|
data: top,
|
|
6
6
|
preferences: Trycourier::RecipientPreferences?,
|
|
7
|
-
profile: top
|
|
7
|
+
profile: ::Hash[Symbol, top]?,
|
|
8
8
|
recipient: String?,
|
|
9
9
|
to: Trycourier::UserRecipient?
|
|
10
10
|
}
|
|
@@ -16,9 +16,7 @@ module Trycourier
|
|
|
16
16
|
|
|
17
17
|
attr_accessor preferences: Trycourier::RecipientPreferences?
|
|
18
18
|
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
def profile=: (top) -> top
|
|
19
|
+
attr_accessor profile: ::Hash[Symbol, top]?
|
|
22
20
|
|
|
23
21
|
attr_accessor recipient: String?
|
|
24
22
|
|
|
@@ -27,7 +25,7 @@ module Trycourier
|
|
|
27
25
|
def initialize: (
|
|
28
26
|
?data: top,
|
|
29
27
|
?preferences: Trycourier::RecipientPreferences?,
|
|
30
|
-
?profile: top
|
|
28
|
+
?profile: ::Hash[Symbol, top]?,
|
|
31
29
|
?recipient: String?,
|
|
32
30
|
?to: Trycourier::UserRecipient?
|
|
33
31
|
) -> void
|
|
@@ -35,7 +33,7 @@ module Trycourier
|
|
|
35
33
|
def to_hash: -> {
|
|
36
34
|
data: top,
|
|
37
35
|
preferences: Trycourier::RecipientPreferences?,
|
|
38
|
-
profile: top
|
|
36
|
+
profile: ::Hash[Symbol, top]?,
|
|
39
37
|
recipient: String?,
|
|
40
38
|
to: Trycourier::UserRecipient?
|
|
41
39
|
}
|
|
@@ -194,16 +194,26 @@ module Trycourier
|
|
|
194
194
|
def self?.variants: -> ::Array[Trycourier::Models::SendMessageParams::Message::content]
|
|
195
195
|
end
|
|
196
196
|
|
|
197
|
-
type delay = { duration: Integer?, until_: String? }
|
|
197
|
+
type delay = { duration: Integer?, timezone: String?, until_: String? }
|
|
198
198
|
|
|
199
199
|
class Delay < Trycourier::Internal::Type::BaseModel
|
|
200
200
|
attr_accessor duration: Integer?
|
|
201
201
|
|
|
202
|
+
attr_accessor timezone: String?
|
|
203
|
+
|
|
202
204
|
attr_accessor until_: String?
|
|
203
205
|
|
|
204
|
-
def initialize: (
|
|
206
|
+
def initialize: (
|
|
207
|
+
?duration: Integer?,
|
|
208
|
+
?timezone: String?,
|
|
209
|
+
?until_: String?
|
|
210
|
+
) -> void
|
|
205
211
|
|
|
206
|
-
def to_hash: -> {
|
|
212
|
+
def to_hash: -> {
|
|
213
|
+
duration: Integer?,
|
|
214
|
+
timezone: String?,
|
|
215
|
+
until_: String?
|
|
216
|
+
}
|
|
207
217
|
end
|
|
208
218
|
|
|
209
219
|
type expiry =
|
data/sig/trycourier/models.rbs
CHANGED
|
@@ -109,7 +109,7 @@ module Trycourier
|
|
|
109
109
|
|
|
110
110
|
class Icons = Trycourier::Models::Icons
|
|
111
111
|
|
|
112
|
-
|
|
112
|
+
class InboundBulkMessage = Trycourier::Models::InboundBulkMessage
|
|
113
113
|
|
|
114
114
|
class InboundBulkMessageUser = Trycourier::Models::InboundBulkMessageUser
|
|
115
115
|
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: trycourier
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 4.
|
|
4
|
+
version: 4.4.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Courier
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2025-12-
|
|
11
|
+
date: 2025-12-16 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: connection_pool
|