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.
@@ -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
- attr_reader profile: top?
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: (?duration: Integer?, ?until_: String?) -> void
206
+ def initialize: (
207
+ ?duration: Integer?,
208
+ ?timezone: String?,
209
+ ?until_: String?
210
+ ) -> void
205
211
 
206
- def to_hash: -> { duration: Integer?, until_: String? }
212
+ def to_hash: -> {
213
+ duration: Integer?,
214
+ timezone: String?,
215
+ until_: String?
216
+ }
207
217
  end
208
218
 
209
219
  type expiry =
@@ -109,7 +109,7 @@ module Trycourier
109
109
 
110
110
  class Icons = Trycourier::Models::Icons
111
111
 
112
- module InboundBulkMessage = Trycourier::Models::InboundBulkMessage
112
+ class InboundBulkMessage = Trycourier::Models::InboundBulkMessage
113
113
 
114
114
  class InboundBulkMessageUser = Trycourier::Models::InboundBulkMessageUser
115
115
 
@@ -8,7 +8,7 @@ module Trycourier
8
8
  ) -> nil
9
9
 
10
10
  def create_job: (
11
- message: Trycourier::Models::inbound_bulk_message,
11
+ message: Trycourier::InboundBulkMessage,
12
12
  ?request_options: Trycourier::request_opts
13
13
  ) -> Trycourier::Models::BulkCreateJobResponse
14
14
 
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.3.0
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-08 00:00:00.000000000 Z
11
+ date: 2025-12-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: connection_pool