growsurf-ruby 1.10.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 +27 -0
- data/README.md +1 -1
- data/lib/growsurf_ruby/models/campaign/participant_email_params.rb +2 -0
- data/lib/growsurf_ruby/models/campaign/participant_request_payout_destination_confirmation_params.rb +1 -0
- data/lib/growsurf_ruby/resources/campaign/emails.rb +7 -1
- data/lib/growsurf_ruby/resources/campaign/installation.rb +2 -1
- data/lib/growsurf_ruby/resources/campaign/rewards.rb +2 -1
- data/lib/growsurf_ruby/version.rb +1 -1
- data/rbi/growsurf_ruby/models/campaign/participant_request_payout_destination_confirmation_params.rbi +5 -0
- data/rbi/growsurf_ruby/resources/campaign/emails.rbi +4 -0
- data/rbi/growsurf_ruby/resources/campaign/rewards.rbi +2 -1
- data/sig/growsurf_ruby/models/campaign/participant_request_payout_destination_confirmation_params.rbs +2 -1
- 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,32 @@
|
|
|
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
|
+
|
|
18
|
+
## [1.11.0](https://github.com/growsurf/growsurf-ruby/compare/v1.10.0...v1.11.0) (2026-09-29)
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
### Features
|
|
22
|
+
|
|
23
|
+
* **api:** update campaign contracts ([7471c59](https://github.com/growsurf/growsurf-ruby/commit/7471c59accda12c5839042efb04a3fd84dc58246))
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
### Bug Fixes
|
|
27
|
+
|
|
28
|
+
* include Venmo in payout provider RBI ([2b3d0ca](https://github.com/growsurf/growsurf-ruby/commit/2b3d0ca567d9a73a1f5b694d50a8838023e56b85))
|
|
29
|
+
|
|
3
30
|
## [1.10.0](https://github.com/growsurf/growsurf-ruby/compare/v1.9.0...v1.10.0) (2026-09-23)
|
|
4
31
|
|
|
5
32
|
|
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
|
#
|
|
@@ -7,7 +7,8 @@ module GrowsurfRuby
|
|
|
7
7
|
# Retrieves a program's installation configuration — the same surface as the
|
|
8
8
|
# dashboard Program Editor's **Installation** tab (plus the Mobile SDK settings).
|
|
9
9
|
# Includes the referral trigger (referral programs only), signup tracking method,
|
|
10
|
-
# share URL and whitelist, custom-form signup settings,
|
|
10
|
+
# share URL and whitelist, custom-form signup settings, mobile SDK settings,
|
|
11
|
+
# and saved installation-guide choices (`instructionSelections`).
|
|
11
12
|
#
|
|
12
13
|
# @overload retrieve(id, request_options: {})
|
|
13
14
|
#
|
|
@@ -6,7 +6,8 @@ module GrowsurfRuby
|
|
|
6
6
|
class Rewards
|
|
7
7
|
# Retrieves configured Campaign Rewards, including switched-off rewards and rewards
|
|
8
8
|
# whose group is not selected. Deleted rewards are excluded. The campaign response's
|
|
9
|
-
# embedded rewards array includes only enabled, visible rewards.
|
|
9
|
+
# embedded `rewards` array includes only enabled, visible rewards. A reward can be earned only
|
|
10
|
+
# when it also appears in the campaign response's embedded `rewards` array.
|
|
10
11
|
#
|
|
11
12
|
# @overload list(id, request_options: {})
|
|
12
13
|
#
|
|
@@ -78,6 +78,11 @@ module GrowsurfRuby
|
|
|
78
78
|
:PAYPAL,
|
|
79
79
|
GrowsurfRuby::Campaign::ParticipantRequestPayoutDestinationConfirmationParams::Provider::TaggedSymbol
|
|
80
80
|
)
|
|
81
|
+
VENMO =
|
|
82
|
+
T.let(
|
|
83
|
+
:VENMO,
|
|
84
|
+
GrowsurfRuby::Campaign::ParticipantRequestPayoutDestinationConfirmationParams::Provider::TaggedSymbol
|
|
85
|
+
)
|
|
81
86
|
WISECOM =
|
|
82
87
|
T.let(
|
|
83
88
|
:WISECOM,
|
|
@@ -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,
|
|
@@ -6,7 +6,8 @@ module GrowsurfRuby
|
|
|
6
6
|
class Rewards
|
|
7
7
|
# Retrieves configured Campaign Rewards, including switched-off rewards and rewards
|
|
8
8
|
# whose group is not selected. Deleted rewards are excluded. The campaign response's
|
|
9
|
-
# embedded rewards array includes only enabled, visible rewards.
|
|
9
|
+
# embedded `rewards` array includes only enabled, visible rewards. A reward can be earned only
|
|
10
|
+
# when it also appears in the campaign response's embedded `rewards` array.
|
|
10
11
|
sig do
|
|
11
12
|
params(
|
|
12
13
|
id: String,
|
|
@@ -33,12 +33,13 @@ module GrowsurfRuby
|
|
|
33
33
|
request_options: GrowsurfRuby::RequestOptions
|
|
34
34
|
}
|
|
35
35
|
|
|
36
|
-
type provider = :PAYPAL | :WISECOM
|
|
36
|
+
type provider = :PAYPAL | :VENMO | :WISECOM
|
|
37
37
|
|
|
38
38
|
module Provider
|
|
39
39
|
extend GrowsurfRuby::Internal::Type::Enum
|
|
40
40
|
|
|
41
41
|
PAYPAL: :PAYPAL
|
|
42
|
+
VENMO: :VENMO
|
|
42
43
|
WISECOM: :WISECOM
|
|
43
44
|
|
|
44
45
|
def self?.values: -> ::Array[GrowsurfRuby::Models::Campaign::ParticipantRequestPayoutDestinationConfirmationParams::provider]
|
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
|