trycourier 4.22.0 → 4.23.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/lib/courier/client.rb +4 -0
- data/lib/courier/models/broadcast.rb +132 -0
- data/lib/courier/models/broadcast_archive_params.rb +20 -0
- data/lib/courier/models/broadcast_cancel_params.rb +20 -0
- data/lib/courier/models/broadcast_create_params.rb +14 -0
- data/lib/courier/models/broadcast_duplicate_params.rb +20 -0
- data/lib/courier/models/broadcast_list_params.rb +30 -0
- data/lib/courier/models/broadcast_list_response.rb +24 -0
- data/lib/courier/models/broadcast_put_content_params.rb +20 -0
- data/lib/courier/models/broadcast_retrieve_content_params.rb +33 -0
- data/lib/courier/models/broadcast_retrieve_params.rb +20 -0
- data/lib/courier/models/broadcast_schedule.rb +59 -0
- data/lib/courier/models/broadcast_schedule_params.rb +20 -0
- data/lib/courier/models/broadcast_send_params.rb +20 -0
- data/lib/courier/models/broadcast_update_params.rb +20 -0
- data/lib/courier/models/create_broadcast_request.rb +43 -0
- data/lib/courier/models/schedule_broadcast_request.rb +59 -0
- data/lib/courier/models/send_broadcast_request.rb +39 -0
- data/lib/courier/models/update_broadcast_request.rb +18 -0
- data/lib/courier/models.rb +36 -0
- data/lib/courier/resources/broadcasts.rb +290 -0
- data/lib/courier/version.rb +1 -1
- data/lib/courier.rb +20 -1
- data/rbi/courier/client.rbi +3 -0
- data/rbi/courier/models/broadcast.rbi +164 -0
- data/rbi/courier/models/broadcast_archive_params.rbi +35 -0
- data/rbi/courier/models/broadcast_cancel_params.rbi +35 -0
- data/rbi/courier/models/broadcast_create_params.rbi +27 -0
- data/rbi/courier/models/broadcast_duplicate_params.rbi +35 -0
- data/rbi/courier/models/broadcast_list_params.rbi +54 -0
- data/rbi/courier/models/broadcast_list_response.rbi +39 -0
- data/rbi/courier/models/broadcast_put_content_params.rbi +35 -0
- data/rbi/courier/models/broadcast_retrieve_content_params.rbi +57 -0
- data/rbi/courier/models/broadcast_retrieve_params.rbi +35 -0
- data/rbi/courier/models/broadcast_schedule.rbi +92 -0
- data/rbi/courier/models/broadcast_schedule_params.rbi +35 -0
- data/rbi/courier/models/broadcast_send_params.rbi +35 -0
- data/rbi/courier/models/broadcast_update_params.rbi +35 -0
- data/rbi/courier/models/create_broadcast_request.rbi +81 -0
- data/rbi/courier/models/schedule_broadcast_request.rbi +103 -0
- data/rbi/courier/models/send_broadcast_request.rbi +77 -0
- data/rbi/courier/models/update_broadcast_request.rbi +28 -0
- data/rbi/courier/models.rbi +37 -0
- data/rbi/courier/resources/broadcasts.rbi +199 -0
- data/sig/courier/client.rbs +2 -0
- data/sig/courier/models/broadcast.rbs +98 -0
- data/sig/courier/models/broadcast_archive_params.rbs +23 -0
- data/sig/courier/models/broadcast_cancel_params.rbs +23 -0
- data/sig/courier/models/broadcast_create_params.rbs +15 -0
- data/sig/courier/models/broadcast_duplicate_params.rbs +23 -0
- data/sig/courier/models/broadcast_list_params.rbs +30 -0
- data/sig/courier/models/broadcast_list_response.rbs +22 -0
- data/sig/courier/models/broadcast_put_content_params.rbs +25 -0
- data/sig/courier/models/broadcast_retrieve_content_params.rbs +30 -0
- data/sig/courier/models/broadcast_retrieve_params.rbs +23 -0
- data/sig/courier/models/broadcast_schedule.rbs +46 -0
- data/sig/courier/models/broadcast_schedule_params.rbs +25 -0
- data/sig/courier/models/broadcast_send_params.rbs +25 -0
- data/sig/courier/models/broadcast_update_params.rbs +25 -0
- data/sig/courier/models/create_broadcast_request.rbs +40 -0
- data/sig/courier/models/schedule_broadcast_request.rbs +48 -0
- data/sig/courier/models/send_broadcast_request.rbs +36 -0
- data/sig/courier/models/update_broadcast_request.rbs +13 -0
- data/sig/courier/models.rbs +36 -0
- data/sig/courier/resources/broadcasts.rbs +74 -0
- metadata +58 -1
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
module Courier
|
|
2
|
+
module Models
|
|
3
|
+
type broadcast_schedule =
|
|
4
|
+
{
|
|
5
|
+
recipient_id: String,
|
|
6
|
+
recipient_type: Courier::Models::BroadcastSchedule::recipient_type,
|
|
7
|
+
scheduled_to: String?,
|
|
8
|
+
timezone: String?
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
class BroadcastSchedule < Courier::Internal::Type::BaseModel
|
|
12
|
+
attr_accessor recipient_id: String
|
|
13
|
+
|
|
14
|
+
attr_accessor recipient_type: Courier::Models::BroadcastSchedule::recipient_type
|
|
15
|
+
|
|
16
|
+
attr_accessor scheduled_to: String?
|
|
17
|
+
|
|
18
|
+
attr_accessor timezone: String?
|
|
19
|
+
|
|
20
|
+
def initialize: (
|
|
21
|
+
recipient_id: String,
|
|
22
|
+
recipient_type: Courier::Models::BroadcastSchedule::recipient_type,
|
|
23
|
+
?scheduled_to: String?,
|
|
24
|
+
?timezone: String?
|
|
25
|
+
) -> void
|
|
26
|
+
|
|
27
|
+
def to_hash: -> {
|
|
28
|
+
recipient_id: String,
|
|
29
|
+
recipient_type: Courier::Models::BroadcastSchedule::recipient_type,
|
|
30
|
+
scheduled_to: String?,
|
|
31
|
+
timezone: String?
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
type recipient_type = :list | :audience
|
|
35
|
+
|
|
36
|
+
module RecipientType
|
|
37
|
+
extend Courier::Internal::Type::Enum
|
|
38
|
+
|
|
39
|
+
LIST: :list
|
|
40
|
+
AUDIENCE: :audience
|
|
41
|
+
|
|
42
|
+
def self?.values: -> ::Array[Courier::Models::BroadcastSchedule::recipient_type]
|
|
43
|
+
end
|
|
44
|
+
end
|
|
45
|
+
end
|
|
46
|
+
end
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
module Courier
|
|
2
|
+
module Models
|
|
3
|
+
type broadcast_schedule_params =
|
|
4
|
+
{ broadcast_id: String } & Courier::Internal::Type::request_parameters
|
|
5
|
+
|
|
6
|
+
class BroadcastScheduleParams < Courier::Models::ScheduleBroadcastRequest
|
|
7
|
+
extend Courier::Internal::Type::RequestParameters::Converter
|
|
8
|
+
include Courier::Internal::Type::RequestParameters
|
|
9
|
+
|
|
10
|
+
def broadcast_id: -> String
|
|
11
|
+
|
|
12
|
+
def broadcast_id=: (String _) -> String
|
|
13
|
+
|
|
14
|
+
def initialize: (
|
|
15
|
+
broadcast_id: String,
|
|
16
|
+
?request_options: Courier::request_opts
|
|
17
|
+
) -> void
|
|
18
|
+
|
|
19
|
+
def to_hash: -> {
|
|
20
|
+
broadcast_id: String,
|
|
21
|
+
request_options: Courier::RequestOptions
|
|
22
|
+
}
|
|
23
|
+
end
|
|
24
|
+
end
|
|
25
|
+
end
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
module Courier
|
|
2
|
+
module Models
|
|
3
|
+
type broadcast_send_params =
|
|
4
|
+
{ broadcast_id: String } & Courier::Internal::Type::request_parameters
|
|
5
|
+
|
|
6
|
+
class BroadcastSendParams < Courier::Models::SendBroadcastRequest
|
|
7
|
+
extend Courier::Internal::Type::RequestParameters::Converter
|
|
8
|
+
include Courier::Internal::Type::RequestParameters
|
|
9
|
+
|
|
10
|
+
def broadcast_id: -> String
|
|
11
|
+
|
|
12
|
+
def broadcast_id=: (String _) -> String
|
|
13
|
+
|
|
14
|
+
def initialize: (
|
|
15
|
+
broadcast_id: String,
|
|
16
|
+
?request_options: Courier::request_opts
|
|
17
|
+
) -> void
|
|
18
|
+
|
|
19
|
+
def to_hash: -> {
|
|
20
|
+
broadcast_id: String,
|
|
21
|
+
request_options: Courier::RequestOptions
|
|
22
|
+
}
|
|
23
|
+
end
|
|
24
|
+
end
|
|
25
|
+
end
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
module Courier
|
|
2
|
+
module Models
|
|
3
|
+
type broadcast_update_params =
|
|
4
|
+
{ broadcast_id: String } & Courier::Internal::Type::request_parameters
|
|
5
|
+
|
|
6
|
+
class BroadcastUpdateParams < Courier::Models::UpdateBroadcastRequest
|
|
7
|
+
extend Courier::Internal::Type::RequestParameters::Converter
|
|
8
|
+
include Courier::Internal::Type::RequestParameters
|
|
9
|
+
|
|
10
|
+
def broadcast_id: -> String
|
|
11
|
+
|
|
12
|
+
def broadcast_id=: (String _) -> String
|
|
13
|
+
|
|
14
|
+
def initialize: (
|
|
15
|
+
broadcast_id: String,
|
|
16
|
+
?request_options: Courier::request_opts
|
|
17
|
+
) -> void
|
|
18
|
+
|
|
19
|
+
def to_hash: -> {
|
|
20
|
+
broadcast_id: String,
|
|
21
|
+
request_options: Courier::RequestOptions
|
|
22
|
+
}
|
|
23
|
+
end
|
|
24
|
+
end
|
|
25
|
+
end
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
module Courier
|
|
2
|
+
module Models
|
|
3
|
+
type create_broadcast_request =
|
|
4
|
+
{
|
|
5
|
+
channel: Courier::Models::CreateBroadcastRequest::channel,
|
|
6
|
+
name: String
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
class CreateBroadcastRequest < Courier::Internal::Type::BaseModel
|
|
10
|
+
attr_accessor channel: Courier::Models::CreateBroadcastRequest::channel
|
|
11
|
+
|
|
12
|
+
attr_accessor name: String
|
|
13
|
+
|
|
14
|
+
def initialize: (
|
|
15
|
+
channel: Courier::Models::CreateBroadcastRequest::channel,
|
|
16
|
+
name: String
|
|
17
|
+
) -> void
|
|
18
|
+
|
|
19
|
+
def to_hash: -> {
|
|
20
|
+
channel: Courier::Models::CreateBroadcastRequest::channel,
|
|
21
|
+
name: String
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
type channel = :email | :sms | :push | :inbox | :slack | :msteams
|
|
25
|
+
|
|
26
|
+
module Channel
|
|
27
|
+
extend Courier::Internal::Type::Enum
|
|
28
|
+
|
|
29
|
+
EMAIL: :email
|
|
30
|
+
SMS: :sms
|
|
31
|
+
PUSH: :push
|
|
32
|
+
INBOX: :inbox
|
|
33
|
+
SLACK: :slack
|
|
34
|
+
MSTEAMS: :msteams
|
|
35
|
+
|
|
36
|
+
def self?.values: -> ::Array[Courier::Models::CreateBroadcastRequest::channel]
|
|
37
|
+
end
|
|
38
|
+
end
|
|
39
|
+
end
|
|
40
|
+
end
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
module Courier
|
|
2
|
+
module Models
|
|
3
|
+
type schedule_broadcast_request =
|
|
4
|
+
{
|
|
5
|
+
recipient_id: String,
|
|
6
|
+
recipient_type: Courier::Models::ScheduleBroadcastRequest::recipient_type,
|
|
7
|
+
scheduled_to: String,
|
|
8
|
+
timezone: String
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
class ScheduleBroadcastRequest < Courier::Internal::Type::BaseModel
|
|
12
|
+
attr_accessor recipient_id: String
|
|
13
|
+
|
|
14
|
+
attr_accessor recipient_type: Courier::Models::ScheduleBroadcastRequest::recipient_type
|
|
15
|
+
|
|
16
|
+
attr_accessor scheduled_to: String
|
|
17
|
+
|
|
18
|
+
attr_reader timezone: String?
|
|
19
|
+
|
|
20
|
+
def timezone=: (String) -> String
|
|
21
|
+
|
|
22
|
+
def initialize: (
|
|
23
|
+
recipient_id: String,
|
|
24
|
+
recipient_type: Courier::Models::ScheduleBroadcastRequest::recipient_type,
|
|
25
|
+
scheduled_to: String,
|
|
26
|
+
?timezone: String
|
|
27
|
+
) -> void
|
|
28
|
+
|
|
29
|
+
def to_hash: -> {
|
|
30
|
+
recipient_id: String,
|
|
31
|
+
recipient_type: Courier::Models::ScheduleBroadcastRequest::recipient_type,
|
|
32
|
+
scheduled_to: String,
|
|
33
|
+
timezone: String
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
type recipient_type = :list | :audience
|
|
37
|
+
|
|
38
|
+
module RecipientType
|
|
39
|
+
extend Courier::Internal::Type::Enum
|
|
40
|
+
|
|
41
|
+
LIST: :list
|
|
42
|
+
AUDIENCE: :audience
|
|
43
|
+
|
|
44
|
+
def self?.values: -> ::Array[Courier::Models::ScheduleBroadcastRequest::recipient_type]
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
end
|
|
48
|
+
end
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
module Courier
|
|
2
|
+
module Models
|
|
3
|
+
type send_broadcast_request =
|
|
4
|
+
{
|
|
5
|
+
recipient_id: String,
|
|
6
|
+
recipient_type: Courier::Models::SendBroadcastRequest::recipient_type
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
class SendBroadcastRequest < Courier::Internal::Type::BaseModel
|
|
10
|
+
attr_accessor recipient_id: String
|
|
11
|
+
|
|
12
|
+
attr_accessor recipient_type: Courier::Models::SendBroadcastRequest::recipient_type
|
|
13
|
+
|
|
14
|
+
def initialize: (
|
|
15
|
+
recipient_id: String,
|
|
16
|
+
recipient_type: Courier::Models::SendBroadcastRequest::recipient_type
|
|
17
|
+
) -> void
|
|
18
|
+
|
|
19
|
+
def to_hash: -> {
|
|
20
|
+
recipient_id: String,
|
|
21
|
+
recipient_type: Courier::Models::SendBroadcastRequest::recipient_type
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
type recipient_type = :list | :audience
|
|
25
|
+
|
|
26
|
+
module RecipientType
|
|
27
|
+
extend Courier::Internal::Type::Enum
|
|
28
|
+
|
|
29
|
+
LIST: :list
|
|
30
|
+
AUDIENCE: :audience
|
|
31
|
+
|
|
32
|
+
def self?.values: -> ::Array[Courier::Models::SendBroadcastRequest::recipient_type]
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
end
|
|
36
|
+
end
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
module Courier
|
|
2
|
+
module Models
|
|
3
|
+
type update_broadcast_request = { name: String }
|
|
4
|
+
|
|
5
|
+
class UpdateBroadcastRequest < Courier::Internal::Type::BaseModel
|
|
6
|
+
attr_accessor name: String
|
|
7
|
+
|
|
8
|
+
def initialize: (name: String) -> void
|
|
9
|
+
|
|
10
|
+
def to_hash: -> { name: String }
|
|
11
|
+
end
|
|
12
|
+
end
|
|
13
|
+
end
|
data/sig/courier/models.rbs
CHANGED
|
@@ -73,6 +73,34 @@ module Courier
|
|
|
73
73
|
|
|
74
74
|
class BrandUpdateParams = Courier::Models::BrandUpdateParams
|
|
75
75
|
|
|
76
|
+
class Broadcast = Courier::Models::Broadcast
|
|
77
|
+
|
|
78
|
+
class BroadcastArchiveParams = Courier::Models::BroadcastArchiveParams
|
|
79
|
+
|
|
80
|
+
class BroadcastCancelParams = Courier::Models::BroadcastCancelParams
|
|
81
|
+
|
|
82
|
+
class BroadcastCreateParams = Courier::Models::BroadcastCreateParams
|
|
83
|
+
|
|
84
|
+
class BroadcastDuplicateParams = Courier::Models::BroadcastDuplicateParams
|
|
85
|
+
|
|
86
|
+
class BroadcastListParams = Courier::Models::BroadcastListParams
|
|
87
|
+
|
|
88
|
+
class BroadcastListResponse = Courier::Models::BroadcastListResponse
|
|
89
|
+
|
|
90
|
+
class BroadcastPutContentParams = Courier::Models::BroadcastPutContentParams
|
|
91
|
+
|
|
92
|
+
class BroadcastRetrieveContentParams = Courier::Models::BroadcastRetrieveContentParams
|
|
93
|
+
|
|
94
|
+
class BroadcastRetrieveParams = Courier::Models::BroadcastRetrieveParams
|
|
95
|
+
|
|
96
|
+
class BroadcastSchedule = Courier::Models::BroadcastSchedule
|
|
97
|
+
|
|
98
|
+
class BroadcastScheduleParams = Courier::Models::BroadcastScheduleParams
|
|
99
|
+
|
|
100
|
+
class BroadcastSendParams = Courier::Models::BroadcastSendParams
|
|
101
|
+
|
|
102
|
+
class BroadcastUpdateParams = Courier::Models::BroadcastUpdateParams
|
|
103
|
+
|
|
76
104
|
module CancelJourneyRequest = Courier::Models::CancelJourneyRequest
|
|
77
105
|
|
|
78
106
|
module CancelJourneyResponse = Courier::Models::CancelJourneyResponse
|
|
@@ -87,6 +115,8 @@ module Courier
|
|
|
87
115
|
|
|
88
116
|
class Check = Courier::Models::Check
|
|
89
117
|
|
|
118
|
+
class CreateBroadcastRequest = Courier::Models::CreateBroadcastRequest
|
|
119
|
+
|
|
90
120
|
class CreateJourneyRequest = Courier::Models::CreateJourneyRequest
|
|
91
121
|
|
|
92
122
|
class DefaultPreferences = Courier::Models::DefaultPreferences
|
|
@@ -431,6 +461,10 @@ module Courier
|
|
|
431
461
|
|
|
432
462
|
class Rule = Courier::Models::Rule
|
|
433
463
|
|
|
464
|
+
class ScheduleBroadcastRequest = Courier::Models::ScheduleBroadcastRequest
|
|
465
|
+
|
|
466
|
+
class SendBroadcastRequest = Courier::Models::SendBroadcastRequest
|
|
467
|
+
|
|
434
468
|
class SendDirectMessage = Courier::Models::SendDirectMessage
|
|
435
469
|
|
|
436
470
|
class SendMessageParams = Courier::Models::SendMessageParams
|
|
@@ -493,6 +527,8 @@ module Courier
|
|
|
493
527
|
|
|
494
528
|
class TranslationUpdateParams = Courier::Models::TranslationUpdateParams
|
|
495
529
|
|
|
530
|
+
class UpdateBroadcastRequest = Courier::Models::UpdateBroadcastRequest
|
|
531
|
+
|
|
496
532
|
class UserProfile = Courier::Models::UserProfile
|
|
497
533
|
|
|
498
534
|
module UserProfileFirebaseToken = Courier::Models::UserProfileFirebaseToken
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
module Courier
|
|
2
|
+
module Resources
|
|
3
|
+
class Broadcasts
|
|
4
|
+
def create: (
|
|
5
|
+
channel: Courier::Models::CreateBroadcastRequest::channel,
|
|
6
|
+
name: String,
|
|
7
|
+
?request_options: Courier::request_opts
|
|
8
|
+
) -> Courier::Broadcast
|
|
9
|
+
|
|
10
|
+
def retrieve: (
|
|
11
|
+
String broadcast_id,
|
|
12
|
+
?request_options: Courier::request_opts
|
|
13
|
+
) -> Courier::Broadcast
|
|
14
|
+
|
|
15
|
+
def update: (
|
|
16
|
+
String broadcast_id,
|
|
17
|
+
name: String,
|
|
18
|
+
?request_options: Courier::request_opts
|
|
19
|
+
) -> Courier::Broadcast
|
|
20
|
+
|
|
21
|
+
def list: (
|
|
22
|
+
?cursor: String?,
|
|
23
|
+
?limit: Integer,
|
|
24
|
+
?request_options: Courier::request_opts
|
|
25
|
+
) -> Courier::BroadcastListResponse
|
|
26
|
+
|
|
27
|
+
def archive: (
|
|
28
|
+
String broadcast_id,
|
|
29
|
+
?request_options: Courier::request_opts
|
|
30
|
+
) -> Courier::Broadcast
|
|
31
|
+
|
|
32
|
+
def cancel: (
|
|
33
|
+
String broadcast_id,
|
|
34
|
+
?request_options: Courier::request_opts
|
|
35
|
+
) -> Courier::Broadcast
|
|
36
|
+
|
|
37
|
+
def duplicate: (
|
|
38
|
+
String broadcast_id,
|
|
39
|
+
?request_options: Courier::request_opts
|
|
40
|
+
) -> Courier::Broadcast
|
|
41
|
+
|
|
42
|
+
def put_content: (
|
|
43
|
+
String broadcast_id,
|
|
44
|
+
content: Courier::NotificationContentPutRequest::Content,
|
|
45
|
+
?state: Courier::Models::notification_template_state,
|
|
46
|
+
?request_options: Courier::request_opts
|
|
47
|
+
) -> Courier::NotificationContentMutationResponse
|
|
48
|
+
|
|
49
|
+
def retrieve_content: (
|
|
50
|
+
String broadcast_id,
|
|
51
|
+
?version: String,
|
|
52
|
+
?request_options: Courier::request_opts
|
|
53
|
+
) -> Courier::NotificationContentGetResponse
|
|
54
|
+
|
|
55
|
+
def schedule: (
|
|
56
|
+
String broadcast_id,
|
|
57
|
+
recipient_id: String,
|
|
58
|
+
recipient_type: Courier::Models::ScheduleBroadcastRequest::recipient_type,
|
|
59
|
+
scheduled_to: String,
|
|
60
|
+
?timezone: String,
|
|
61
|
+
?request_options: Courier::request_opts
|
|
62
|
+
) -> Courier::Broadcast
|
|
63
|
+
|
|
64
|
+
def send_: (
|
|
65
|
+
String broadcast_id,
|
|
66
|
+
recipient_id: String,
|
|
67
|
+
recipient_type: Courier::Models::SendBroadcastRequest::recipient_type,
|
|
68
|
+
?request_options: Courier::request_opts
|
|
69
|
+
) -> Courier::Broadcast
|
|
70
|
+
|
|
71
|
+
def initialize: (client: Courier::Client) -> void
|
|
72
|
+
end
|
|
73
|
+
end
|
|
74
|
+
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: trycourier
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 4.
|
|
4
|
+
version: 4.23.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Courier
|
|
@@ -113,6 +113,20 @@ files:
|
|
|
113
113
|
- lib/courier/models/brand_snippets.rb
|
|
114
114
|
- lib/courier/models/brand_template.rb
|
|
115
115
|
- lib/courier/models/brand_update_params.rb
|
|
116
|
+
- lib/courier/models/broadcast.rb
|
|
117
|
+
- lib/courier/models/broadcast_archive_params.rb
|
|
118
|
+
- lib/courier/models/broadcast_cancel_params.rb
|
|
119
|
+
- lib/courier/models/broadcast_create_params.rb
|
|
120
|
+
- lib/courier/models/broadcast_duplicate_params.rb
|
|
121
|
+
- lib/courier/models/broadcast_list_params.rb
|
|
122
|
+
- lib/courier/models/broadcast_list_response.rb
|
|
123
|
+
- lib/courier/models/broadcast_put_content_params.rb
|
|
124
|
+
- lib/courier/models/broadcast_retrieve_content_params.rb
|
|
125
|
+
- lib/courier/models/broadcast_retrieve_params.rb
|
|
126
|
+
- lib/courier/models/broadcast_schedule.rb
|
|
127
|
+
- lib/courier/models/broadcast_schedule_params.rb
|
|
128
|
+
- lib/courier/models/broadcast_send_params.rb
|
|
129
|
+
- lib/courier/models/broadcast_update_params.rb
|
|
116
130
|
- lib/courier/models/cancel_journey_request.rb
|
|
117
131
|
- lib/courier/models/cancel_journey_response.rb
|
|
118
132
|
- lib/courier/models/channel.rb
|
|
@@ -120,6 +134,7 @@ files:
|
|
|
120
134
|
- lib/courier/models/channel_metadata.rb
|
|
121
135
|
- lib/courier/models/channel_preference.rb
|
|
122
136
|
- lib/courier/models/check.rb
|
|
137
|
+
- lib/courier/models/create_broadcast_request.rb
|
|
123
138
|
- lib/courier/models/create_journey_request.rb
|
|
124
139
|
- lib/courier/models/default_preferences.rb
|
|
125
140
|
- lib/courier/models/device_type.rb
|
|
@@ -331,6 +346,8 @@ files:
|
|
|
331
346
|
- lib/courier/models/routing_strategy_retrieve_params.rb
|
|
332
347
|
- lib/courier/models/routing_strategy_summary.rb
|
|
333
348
|
- lib/courier/models/rule.rb
|
|
349
|
+
- lib/courier/models/schedule_broadcast_request.rb
|
|
350
|
+
- lib/courier/models/send_broadcast_request.rb
|
|
334
351
|
- lib/courier/models/send_direct_message.rb
|
|
335
352
|
- lib/courier/models/send_message_params.rb
|
|
336
353
|
- lib/courier/models/send_message_response.rb
|
|
@@ -374,6 +391,7 @@ files:
|
|
|
374
391
|
- lib/courier/models/translation_retrieve_params.rb
|
|
375
392
|
- lib/courier/models/translation_retrieve_response.rb
|
|
376
393
|
- lib/courier/models/translation_update_params.rb
|
|
394
|
+
- lib/courier/models/update_broadcast_request.rb
|
|
377
395
|
- lib/courier/models/user_profile.rb
|
|
378
396
|
- lib/courier/models/user_profile_firebase_token.rb
|
|
379
397
|
- lib/courier/models/user_recipient.rb
|
|
@@ -440,6 +458,7 @@ files:
|
|
|
440
458
|
- lib/courier/resources/automations.rb
|
|
441
459
|
- lib/courier/resources/automations/invoke.rb
|
|
442
460
|
- lib/courier/resources/brands.rb
|
|
461
|
+
- lib/courier/resources/broadcasts.rb
|
|
443
462
|
- lib/courier/resources/digests.rb
|
|
444
463
|
- lib/courier/resources/digests/schedules.rb
|
|
445
464
|
- lib/courier/resources/inbound.rb
|
|
@@ -536,6 +555,20 @@ files:
|
|
|
536
555
|
- rbi/courier/models/brand_snippets.rbi
|
|
537
556
|
- rbi/courier/models/brand_template.rbi
|
|
538
557
|
- rbi/courier/models/brand_update_params.rbi
|
|
558
|
+
- rbi/courier/models/broadcast.rbi
|
|
559
|
+
- rbi/courier/models/broadcast_archive_params.rbi
|
|
560
|
+
- rbi/courier/models/broadcast_cancel_params.rbi
|
|
561
|
+
- rbi/courier/models/broadcast_create_params.rbi
|
|
562
|
+
- rbi/courier/models/broadcast_duplicate_params.rbi
|
|
563
|
+
- rbi/courier/models/broadcast_list_params.rbi
|
|
564
|
+
- rbi/courier/models/broadcast_list_response.rbi
|
|
565
|
+
- rbi/courier/models/broadcast_put_content_params.rbi
|
|
566
|
+
- rbi/courier/models/broadcast_retrieve_content_params.rbi
|
|
567
|
+
- rbi/courier/models/broadcast_retrieve_params.rbi
|
|
568
|
+
- rbi/courier/models/broadcast_schedule.rbi
|
|
569
|
+
- rbi/courier/models/broadcast_schedule_params.rbi
|
|
570
|
+
- rbi/courier/models/broadcast_send_params.rbi
|
|
571
|
+
- rbi/courier/models/broadcast_update_params.rbi
|
|
539
572
|
- rbi/courier/models/cancel_journey_request.rbi
|
|
540
573
|
- rbi/courier/models/cancel_journey_response.rbi
|
|
541
574
|
- rbi/courier/models/channel.rbi
|
|
@@ -543,6 +576,7 @@ files:
|
|
|
543
576
|
- rbi/courier/models/channel_metadata.rbi
|
|
544
577
|
- rbi/courier/models/channel_preference.rbi
|
|
545
578
|
- rbi/courier/models/check.rbi
|
|
579
|
+
- rbi/courier/models/create_broadcast_request.rbi
|
|
546
580
|
- rbi/courier/models/create_journey_request.rbi
|
|
547
581
|
- rbi/courier/models/default_preferences.rbi
|
|
548
582
|
- rbi/courier/models/device_type.rbi
|
|
@@ -754,6 +788,8 @@ files:
|
|
|
754
788
|
- rbi/courier/models/routing_strategy_retrieve_params.rbi
|
|
755
789
|
- rbi/courier/models/routing_strategy_summary.rbi
|
|
756
790
|
- rbi/courier/models/rule.rbi
|
|
791
|
+
- rbi/courier/models/schedule_broadcast_request.rbi
|
|
792
|
+
- rbi/courier/models/send_broadcast_request.rbi
|
|
757
793
|
- rbi/courier/models/send_direct_message.rbi
|
|
758
794
|
- rbi/courier/models/send_message_params.rbi
|
|
759
795
|
- rbi/courier/models/send_message_response.rbi
|
|
@@ -797,6 +833,7 @@ files:
|
|
|
797
833
|
- rbi/courier/models/translation_retrieve_params.rbi
|
|
798
834
|
- rbi/courier/models/translation_retrieve_response.rbi
|
|
799
835
|
- rbi/courier/models/translation_update_params.rbi
|
|
836
|
+
- rbi/courier/models/update_broadcast_request.rbi
|
|
800
837
|
- rbi/courier/models/user_profile.rbi
|
|
801
838
|
- rbi/courier/models/user_profile_firebase_token.rbi
|
|
802
839
|
- rbi/courier/models/user_recipient.rbi
|
|
@@ -863,6 +900,7 @@ files:
|
|
|
863
900
|
- rbi/courier/resources/automations.rbi
|
|
864
901
|
- rbi/courier/resources/automations/invoke.rbi
|
|
865
902
|
- rbi/courier/resources/brands.rbi
|
|
903
|
+
- rbi/courier/resources/broadcasts.rbi
|
|
866
904
|
- rbi/courier/resources/digests.rbi
|
|
867
905
|
- rbi/courier/resources/digests/schedules.rbi
|
|
868
906
|
- rbi/courier/resources/inbound.rbi
|
|
@@ -958,6 +996,20 @@ files:
|
|
|
958
996
|
- sig/courier/models/brand_snippets.rbs
|
|
959
997
|
- sig/courier/models/brand_template.rbs
|
|
960
998
|
- sig/courier/models/brand_update_params.rbs
|
|
999
|
+
- sig/courier/models/broadcast.rbs
|
|
1000
|
+
- sig/courier/models/broadcast_archive_params.rbs
|
|
1001
|
+
- sig/courier/models/broadcast_cancel_params.rbs
|
|
1002
|
+
- sig/courier/models/broadcast_create_params.rbs
|
|
1003
|
+
- sig/courier/models/broadcast_duplicate_params.rbs
|
|
1004
|
+
- sig/courier/models/broadcast_list_params.rbs
|
|
1005
|
+
- sig/courier/models/broadcast_list_response.rbs
|
|
1006
|
+
- sig/courier/models/broadcast_put_content_params.rbs
|
|
1007
|
+
- sig/courier/models/broadcast_retrieve_content_params.rbs
|
|
1008
|
+
- sig/courier/models/broadcast_retrieve_params.rbs
|
|
1009
|
+
- sig/courier/models/broadcast_schedule.rbs
|
|
1010
|
+
- sig/courier/models/broadcast_schedule_params.rbs
|
|
1011
|
+
- sig/courier/models/broadcast_send_params.rbs
|
|
1012
|
+
- sig/courier/models/broadcast_update_params.rbs
|
|
961
1013
|
- sig/courier/models/cancel_journey_request.rbs
|
|
962
1014
|
- sig/courier/models/cancel_journey_response.rbs
|
|
963
1015
|
- sig/courier/models/channel.rbs
|
|
@@ -965,6 +1017,7 @@ files:
|
|
|
965
1017
|
- sig/courier/models/channel_metadata.rbs
|
|
966
1018
|
- sig/courier/models/channel_preference.rbs
|
|
967
1019
|
- sig/courier/models/check.rbs
|
|
1020
|
+
- sig/courier/models/create_broadcast_request.rbs
|
|
968
1021
|
- sig/courier/models/create_journey_request.rbs
|
|
969
1022
|
- sig/courier/models/default_preferences.rbs
|
|
970
1023
|
- sig/courier/models/device_type.rbs
|
|
@@ -1176,6 +1229,8 @@ files:
|
|
|
1176
1229
|
- sig/courier/models/routing_strategy_retrieve_params.rbs
|
|
1177
1230
|
- sig/courier/models/routing_strategy_summary.rbs
|
|
1178
1231
|
- sig/courier/models/rule.rbs
|
|
1232
|
+
- sig/courier/models/schedule_broadcast_request.rbs
|
|
1233
|
+
- sig/courier/models/send_broadcast_request.rbs
|
|
1179
1234
|
- sig/courier/models/send_direct_message.rbs
|
|
1180
1235
|
- sig/courier/models/send_message_params.rbs
|
|
1181
1236
|
- sig/courier/models/send_message_response.rbs
|
|
@@ -1219,6 +1274,7 @@ files:
|
|
|
1219
1274
|
- sig/courier/models/translation_retrieve_params.rbs
|
|
1220
1275
|
- sig/courier/models/translation_retrieve_response.rbs
|
|
1221
1276
|
- sig/courier/models/translation_update_params.rbs
|
|
1277
|
+
- sig/courier/models/update_broadcast_request.rbs
|
|
1222
1278
|
- sig/courier/models/user_profile.rbs
|
|
1223
1279
|
- sig/courier/models/user_profile_firebase_token.rbs
|
|
1224
1280
|
- sig/courier/models/user_recipient.rbs
|
|
@@ -1285,6 +1341,7 @@ files:
|
|
|
1285
1341
|
- sig/courier/resources/automations.rbs
|
|
1286
1342
|
- sig/courier/resources/automations/invoke.rbs
|
|
1287
1343
|
- sig/courier/resources/brands.rbs
|
|
1344
|
+
- sig/courier/resources/broadcasts.rbs
|
|
1288
1345
|
- sig/courier/resources/digests.rbs
|
|
1289
1346
|
- sig/courier/resources/digests/schedules.rbs
|
|
1290
1347
|
- sig/courier/resources/inbound.rbs
|