growsurf-ruby 1.11.0 → 1.12.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 +15 -0
- data/README.md +1 -1
- data/lib/growsurf_ruby/models/campaign/participant_email_params.rb +2 -0
- data/lib/growsurf_ruby/resources/campaign/emails.rb +7 -1
- data/lib/growsurf_ruby/version.rb +1 -1
- data/rbi/growsurf_ruby/resources/campaign/emails.rbi +4 -0
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b46af5b38c471693d0b2aa9cfbaf2d276b5dc1a1357007302d96cb965bb138b2
|
|
4
|
+
data.tar.gz: 8a1a47708b1defb2c7fbd625a9c6eba600e0f455a06bc76641823a0482d42dcb
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c3f91750b41a0dc90cdc0094089fffadf8a26dd699c542433625bf4bce6c60e5108a9a7eb10891d0a6d12ca8a03c25082cddf028cd88035f31ccad28fb695c26
|
|
7
|
+
data.tar.gz: c3fa7886a250b3bdede25883bcc0d40bafe11d934824e576ecde5cc490783cf586d915a4700132a2587edcce9669bea490bc3da1ea19cd972e5b0372baa47edc
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [1.12.0](https://github.com/growsurf/growsurf-ruby/compare/v1.11.0...v1.12.0) (2026-10-07)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Chores
|
|
7
|
+
|
|
8
|
+
* prepare SDK 1.12.0 ([d163c5e](https://github.com/growsurf/growsurf-ruby/commit/d163c5e7fda6400d44ae79a985763d50ead59b40))
|
|
9
|
+
* release 1.12.0 ([e2d8538](https://github.com/growsurf/growsurf-ruby/commit/e2d853807892abd014ec31c9865cb2b01d0663a7))
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
### Documentation
|
|
13
|
+
|
|
14
|
+
* clarify welcome email recipient eligibility ([7b91dc6](https://github.com/growsurf/growsurf-ruby/commit/7b91dc651b2456f2e944735b72870045ff8c6ae2))
|
|
15
|
+
* describe follow-up reminder eligibility and delay ([cc938ab](https://github.com/growsurf/growsurf-ruby/commit/cc938ab446327df49d9814b13f66002493d5b3c7))
|
|
16
|
+
* describe inline email layout and required footer token ([8d0d06c](https://github.com/growsurf/growsurf-ruby/commit/8d0d06c94793453447278c7e5294cffece80deb9))
|
|
17
|
+
|
|
3
18
|
## [1.11.0](https://github.com/growsurf/growsurf-ruby/compare/v1.10.0...v1.11.0) (2026-09-29)
|
|
4
19
|
|
|
5
20
|
|
data/README.md
CHANGED
|
@@ -36,6 +36,8 @@ module GrowsurfRuby
|
|
|
36
36
|
# `referredSignup`, `commissionGenerated`, `commissionAdjusted`, `payoutPending`,
|
|
37
37
|
# `payoutSentSuccess`, `progressUpdateMonthly`. System/transactional types (login
|
|
38
38
|
# link, PayPal confirmation, tax) and the invite email cannot be sent.
|
|
39
|
+
# `welcomeNonReferred` can only be sent to advocates or approved, enrolled affiliates in a
|
|
40
|
+
# program that has not ended.
|
|
39
41
|
#
|
|
40
42
|
# @return [String, nil]
|
|
41
43
|
optional :email_type, String, api_name: :emailType
|
|
@@ -7,9 +7,15 @@ module GrowsurfRuby
|
|
|
7
7
|
# Retrieves a program's email configuration — the same surface as the dashboard
|
|
8
8
|
# Program Editor's **Emails** tab. Returns each editable email template
|
|
9
9
|
# (`subject`, `preheader`, `body`, `isEnabled`) plus the `settings` block (sender,
|
|
10
|
-
# contact, and design).
|
|
10
|
+
# contact, and design). New programs return read-only `settings.design.layoutMode`
|
|
11
|
+
# as `INLINE`: bodies require `{{emailFooter}}`; `{{emailHeader}}` is optional.
|
|
12
|
+
# Older programs omit the mode and keep their existing layout. The set of email templates returned depends on the program
|
|
11
13
|
# type (referral vs affiliate). `offerClaimed` is available to both program types and sends
|
|
12
14
|
# while the Claim Offer Popup is enabled.
|
|
15
|
+
# `followUpReminder` is disabled by default. It reminds the referrer about new
|
|
16
|
+
# invitations sent while enabled when the contacts have not signed up.
|
|
17
|
+
# `delayDays` accepts integers from 2 to 30 (default 3); changing it leaves
|
|
18
|
+
# existing reminder dates unchanged.
|
|
13
19
|
#
|
|
14
20
|
# @overload retrieve(id, request_options: {})
|
|
15
21
|
#
|
|
@@ -10,6 +10,10 @@ module GrowsurfRuby
|
|
|
10
10
|
# contact, and design). The set of email templates returned depends on the program
|
|
11
11
|
# type (referral vs affiliate). `offerClaimed` is available to both program types and sends
|
|
12
12
|
# while the Claim Offer Popup is enabled.
|
|
13
|
+
# `followUpReminder` is disabled by default. It reminds the referrer about new
|
|
14
|
+
# invitations sent while enabled when the contacts have not signed up.
|
|
15
|
+
# `delayDays` accepts integers from 2 to 30 (default 3); changing it leaves
|
|
16
|
+
# existing reminder dates unchanged.
|
|
13
17
|
sig do
|
|
14
18
|
params(
|
|
15
19
|
id: String,
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: growsurf-ruby
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.12.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Growsurf
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-
|
|
11
|
+
date: 2026-10-07 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: cgi
|