growsurf-ruby 1.9.0 → 1.10.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e83bd0694ba044332c08da0da8988ee637e3f63ef7c61ec33586296b3fe9416b
4
- data.tar.gz: 3a0f1d1430a51745b6685b351560ff87d15cf6d39eff13099d394d57190cda0c
3
+ metadata.gz: 639861d0b1e6d0a9d32dad41ddc207c776a71eaa84b5f8455c549bd4f0962ea2
4
+ data.tar.gz: 8f050dc64bc242a26af0eaf48b04fd8e3986a830d07e65ca7f06b4b072a83007
5
5
  SHA512:
6
- metadata.gz: bcf542dd230cd55467e19c8805e08460da9fa30de186ba5158386f74c2c42f35ef14967e171114bdc581cba9895e0604eceae2e382c8210200ed452512d86ef6
7
- data.tar.gz: cf92458633b01f014b47b735d152c6caf66396749c78a5cc27a1f3b2ccad5e4a78f03fbeff577c3277a7ba1a7d784bab973365554bc68ed79cfd97bde34586cf
6
+ metadata.gz: 5f9ca0a45ec5c4ffd1093e73936986fad8eb7dad5088bc99e1030f3d80a04780cd62f16e0cdf58f1594a8a490d62d87ba4db3d9c14157a083a9a8a62394ab8a4
7
+ data.tar.gz: 349179a199d646fa5de5626a06f2c0cf11b45ca6e5510191816ecd817c2305ee38e0a68eac3aa8e7aaad7f3d368d34995e4f3441c28151a844703c27e3f02484
data/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.10.0](https://github.com/growsurf/growsurf-ruby/compare/v1.9.0...v1.10.0) (2026-09-23)
4
+
5
+
6
+ ### Features
7
+
8
+ * **api:** update SDK campaign contracts and request handling ([86574eb](https://github.com/growsurf/growsurf-ruby/commit/86574ebcadd9997ea10e202cb6e2abe5a58e9f39))
9
+
3
10
  ## [1.9.0](https://github.com/growsurf/growsurf-ruby/compare/v1.8.1...v1.9.0) (2026-09-21)
4
11
 
5
12
 
data/README.md CHANGED
@@ -17,7 +17,7 @@ To use this gem, install via Bundler by adding the following to your application
17
17
  <!-- x-release-please-start-version -->
18
18
 
19
19
  ```ruby
20
- gem "growsurf-ruby", "~> 1.9.0"
20
+ gem "growsurf-ruby", "~> 1.10.0"
21
21
  ```
22
22
 
23
23
  <!-- x-release-please-end -->
@@ -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`, and the website widget under
39
- # `widget`. Only the fields you send
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
@@ -4,9 +4,9 @@ module GrowsurfRuby
4
4
  module Resources
5
5
  class Campaign
6
6
  class Rewards
7
- # Retrieves the list of a program's configured rewards (`CampaignReward`s) — the
8
- # same set embedded in the `rewards` array of the campaign response. Delete a
9
- # reward with `DELETE /campaign/{id}/reward-configs/{campaignRewardId}`.
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.
10
10
  #
11
11
  # @overload list(id, request_options: {})
12
12
  #
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module GrowsurfRuby
4
- VERSION = "1.9.0"
4
+ VERSION = "1.10.0"
5
5
  end
@@ -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`, and the website widget under
57
- # `widget`. Only the fields you send are
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,9 @@ module GrowsurfRuby
4
4
  module Resources
5
5
  class Campaign
6
6
  class Rewards
7
- # Retrieves the list of a program's configured rewards (`CampaignReward`s) — the
8
- # same set embedded in the `rewards` array of the campaign response. Delete a
9
- # reward with `DELETE /campaign/{id}/reward-configs/{campaignRewardId}`.
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.
10
10
  sig do
11
11
  params(
12
12
  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.9.0
4
+ version: 1.10.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-21 00:00:00.000000000 Z
11
+ date: 2026-09-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cgi