growsurf-ruby 1.9.0 → 1.11.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 +19 -0
- data/README.md +1 -1
- data/lib/growsurf_ruby/models/campaign/participant_request_payout_destination_confirmation_params.rb +1 -0
- data/lib/growsurf_ruby/resources/campaign/design.rb +6 -3
- data/lib/growsurf_ruby/resources/campaign/installation.rb +2 -1
- data/lib/growsurf_ruby/resources/campaign/rewards.rb +4 -3
- 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/design.rbi +6 -2
- data/rbi/growsurf_ruby/resources/campaign/rewards.rbi +4 -3
- 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: d0a3b95b3133ce558497796181239db19722afbbf33c3fde584ff1dfce27baac
|
|
4
|
+
data.tar.gz: 5ffe4cc507ca7b364e2f58c73dc27b0f7bbafd10b1e6b05e071cc6798b5a0660
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ca08b82af5a3c2440221d8f1a281fad243d87d1c92a368968bc9ec225e4b3d13964a87379e1b2fc94a396e97147ff56d2ba811a99975bb14f189fe61ca0603fc
|
|
7
|
+
data.tar.gz: 1cbba60543073bbec8a4630859f97e36fe99c148886283c177daa839c48dc6a0b6ab5a864c2b3b76a732c402a145e84d6604c771beeeb98a7ce9d6995673b0ec
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,24 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [1.11.0](https://github.com/growsurf/growsurf-ruby/compare/v1.10.0...v1.11.0) (2026-09-29)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* **api:** update campaign contracts ([7471c59](https://github.com/growsurf/growsurf-ruby/commit/7471c59accda12c5839042efb04a3fd84dc58246))
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* include Venmo in payout provider RBI ([2b3d0ca](https://github.com/growsurf/growsurf-ruby/commit/2b3d0ca567d9a73a1f5b694d50a8838023e56b85))
|
|
14
|
+
|
|
15
|
+
## [1.10.0](https://github.com/growsurf/growsurf-ruby/compare/v1.9.0...v1.10.0) (2026-09-23)
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
### Features
|
|
19
|
+
|
|
20
|
+
* **api:** update SDK campaign contracts and request handling ([86574eb](https://github.com/growsurf/growsurf-ruby/commit/86574ebcadd9997ea10e202cb6e2abe5a58e9f39))
|
|
21
|
+
|
|
3
22
|
## [1.9.0](https://github.com/growsurf/growsurf-ruby/compare/v1.8.1...v1.9.0) (2026-09-21)
|
|
4
23
|
|
|
5
24
|
|
data/README.md
CHANGED
|
@@ -12,7 +12,9 @@ module GrowsurfRuby
|
|
|
12
12
|
# types, with its colors under `theme.referredExperienceOfferPopup`. `widget` is the website
|
|
13
13
|
# widget shown in a corner of your own site, with its colors under `theme.widget`;
|
|
14
14
|
# both of its audience switches start off, so a program shows nothing until you turn one
|
|
15
|
-
# on.
|
|
15
|
+
# on. `trafficInsights` is the participant Traffic report; it starts on for new affiliate
|
|
16
|
+
# programs and hidden for referral programs, and `GET` returns every setting with its
|
|
17
|
+
# default copy.
|
|
16
18
|
# `participantAvatarStyle` is `CHARACTERS`, `INITIALS`, `ANIMALS`, or `GRADIENT`; missing or
|
|
17
19
|
# unknown values mean `INITIALS`.
|
|
18
20
|
# `payoutDestinationConfirmation` is omitted when no confirmation fields are stored. Stored
|
|
@@ -35,8 +37,9 @@ module GrowsurfRuby
|
|
|
35
37
|
end
|
|
36
38
|
|
|
37
39
|
# Updates a program's design configuration, including the payout-destination confirmation
|
|
38
|
-
# page copy, the Claim Offer Popup under `referredExperience`,
|
|
39
|
-
# `widget
|
|
40
|
+
# page copy, the Claim Offer Popup under `referredExperience`, the website widget under
|
|
41
|
+
# `widget`, and the participant Traffic report under `trafficInsights` (its labels cannot be
|
|
42
|
+
# blank). Only the fields you send
|
|
40
43
|
# are changed;
|
|
41
44
|
# anything you leave out is untouched (arrays such as `signup.fields` replace wholesale).
|
|
42
45
|
# Unknown fields, fields not available for the program type, and invalid values return a
|
|
@@ -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
|
#
|
|
@@ -4,9 +4,10 @@ module GrowsurfRuby
|
|
|
4
4
|
module Resources
|
|
5
5
|
class Campaign
|
|
6
6
|
class Rewards
|
|
7
|
-
# Retrieves
|
|
8
|
-
#
|
|
9
|
-
# reward
|
|
7
|
+
# Retrieves configured Campaign Rewards, including switched-off rewards and rewards
|
|
8
|
+
# whose group is not selected. Deleted rewards are excluded. The campaign response's
|
|
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,
|
|
@@ -35,6 +35,9 @@ module GrowsurfRuby
|
|
|
35
35
|
# `theme.referredExperienceOfferPopup`. `widget` is the website widget shown in a
|
|
36
36
|
# corner of your own site, with its colors under `theme.widget`; both of its audience
|
|
37
37
|
# switches start off, so a program shows nothing until you turn one on.
|
|
38
|
+
# `trafficInsights` is the participant Traffic report; it starts on for new affiliate
|
|
39
|
+
# programs and hidden for referral programs, and `GET` returns every setting with its
|
|
40
|
+
# default copy.
|
|
38
41
|
# `participantAvatarStyle` is `CHARACTERS`, `INITIALS`, `ANIMALS`, or `GRADIENT`; missing or
|
|
39
42
|
# unknown values mean `INITIALS`.
|
|
40
43
|
# `payoutDestinationConfirmation` is omitted when no confirmation fields are stored. Stored
|
|
@@ -53,8 +56,9 @@ module GrowsurfRuby
|
|
|
53
56
|
end
|
|
54
57
|
|
|
55
58
|
# Updates a program's design configuration, including the payout-destination confirmation
|
|
56
|
-
# page copy, the Claim Offer Popup under `referredExperience`,
|
|
57
|
-
# `widget
|
|
59
|
+
# page copy, the Claim Offer Popup under `referredExperience`, the website widget under
|
|
60
|
+
# `widget`, and the participant Traffic report under `trafficInsights` (its labels cannot be
|
|
61
|
+
# blank). Only the fields you send are
|
|
58
62
|
# changed; anything you leave out is untouched (arrays such as `signup.fields` replace
|
|
59
63
|
# wholesale). Unknown fields, fields not available for the program type, and invalid
|
|
60
64
|
# values return a `400`. Landing-page custom code and JavaScript are not editable via the
|
|
@@ -4,9 +4,10 @@ module GrowsurfRuby
|
|
|
4
4
|
module Resources
|
|
5
5
|
class Campaign
|
|
6
6
|
class Rewards
|
|
7
|
-
# Retrieves
|
|
8
|
-
#
|
|
9
|
-
# reward
|
|
7
|
+
# Retrieves configured Campaign Rewards, including switched-off rewards and rewards
|
|
8
|
+
# whose group is not selected. Deleted rewards are excluded. The campaign response's
|
|
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.11.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-09-
|
|
11
|
+
date: 2026-09-29 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: cgi
|