growsurf-ruby 0.1.1 → 0.2.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 +13 -0
- data/README.md +1 -1
- data/lib/growsurf_ruby/internal/transport/base_client.rb +2 -0
- data/lib/growsurf_ruby/models/campaign_retrieve_analytics_response.rb +22 -1
- data/lib/growsurf_ruby/version.rb +1 -1
- data/rbi/growsurf_ruby/models/campaign_retrieve_analytics_response.rbi +27 -0
- data/sig/growsurf_ruby/models/campaign_retrieve_analytics_response.rbs +21 -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: 981bbbfa4ff94476ccd32bd8c6c6e3b162f299b595917e4203453b63075c5b49
|
|
4
|
+
data.tar.gz: b60479fec6ed1cee05057a5fabd06542c1315f47bda95d3aab1eeb4ba24ad6e4
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ed43b241c7fbf84392eeb93107946c6456eb26c9014a65660999c0523faa11a701cf6f54c51607a8e788c0c5ec96fc8f5fbbd50515012f3235a31097241da3f3
|
|
7
|
+
data.tar.gz: 260c56e29c5f066f4e778c9c709007a93a64aba501ec13abc4c77bb29ff77702a388ffb103c444c5600ef02ac9e15dcce3ee2160150b490393479d6bc4d3b185
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.2.0 (2026-05-15)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v0.1.1...v0.2.0](https://github.com/growsurf/growsurf-ruby/compare/v0.1.1...v0.2.0)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* **api:** manual updates ([bc04ef1](https://github.com/growsurf/growsurf-ruby/commit/bc04ef142661cac35875e2d602c556d7a88c8298))
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
### Bug Fixes
|
|
13
|
+
|
|
14
|
+
* **client:** elide content type header on requests without body ([b97e5fd](https://github.com/growsurf/growsurf-ruby/commit/b97e5fd6e4e4874cb9aeaa03eec2fd99d9325107))
|
|
15
|
+
|
|
3
16
|
## 0.1.1 (2026-05-13)
|
|
4
17
|
|
|
5
18
|
Full Changelog: [v0.1.0...v0.1.1](https://github.com/growsurf/growsurf-ruby/compare/v0.1.0...v0.1.1)
|
data/README.md
CHANGED
|
@@ -306,6 +306,8 @@ module GrowsurfRuby
|
|
|
306
306
|
GrowsurfRuby::Internal::Util.deep_merge(*[req[:body], opts[:extra_body]].compact)
|
|
307
307
|
end
|
|
308
308
|
|
|
309
|
+
headers.delete("content-type") if body.nil?
|
|
310
|
+
|
|
309
311
|
url = GrowsurfRuby::Internal::Util.join_parsed_uri(
|
|
310
312
|
@base_url_components,
|
|
311
313
|
{**req, path: path, query: query}
|
|
@@ -26,11 +26,21 @@ module GrowsurfRuby
|
|
|
26
26
|
|
|
27
27
|
# @see GrowsurfRuby::Models::CampaignRetrieveAnalyticsResponse#analytics
|
|
28
28
|
class Analytics < GrowsurfRuby::Internal::Type::BaseModel
|
|
29
|
+
# @!attribute android_native_shares
|
|
30
|
+
#
|
|
31
|
+
# @return [Integer, nil]
|
|
32
|
+
optional :android_native_shares, Integer, api_name: :androidNativeShares
|
|
33
|
+
|
|
29
34
|
# @!attribute bluesky_shares
|
|
30
35
|
#
|
|
31
36
|
# @return [Integer, nil]
|
|
32
37
|
optional :bluesky_shares, Integer, api_name: :blueskyShares
|
|
33
38
|
|
|
39
|
+
# @!attribute copy_ref_link_shares
|
|
40
|
+
#
|
|
41
|
+
# @return [Integer, nil]
|
|
42
|
+
optional :copy_ref_link_shares, Integer, api_name: :copyRefLinkShares
|
|
43
|
+
|
|
34
44
|
# @!attribute email_shares
|
|
35
45
|
#
|
|
36
46
|
# @return [Integer, nil]
|
|
@@ -51,6 +61,11 @@ module GrowsurfRuby
|
|
|
51
61
|
# @return [Integer, nil]
|
|
52
62
|
optional :invites, Integer
|
|
53
63
|
|
|
64
|
+
# @!attribute ios_native_shares
|
|
65
|
+
#
|
|
66
|
+
# @return [Integer, nil]
|
|
67
|
+
optional :ios_native_shares, Integer, api_name: :iosNativeShares
|
|
68
|
+
|
|
54
69
|
# @!attribute linked_in_shares
|
|
55
70
|
#
|
|
56
71
|
# @return [Integer, nil]
|
|
@@ -155,13 +170,17 @@ module GrowsurfRuby
|
|
|
155
170
|
# @return [Integer, nil]
|
|
156
171
|
optional :whats_app_shares, Integer, api_name: :whatsAppShares
|
|
157
172
|
|
|
158
|
-
# @!method initialize(bluesky_shares: nil, email_shares: nil, facebook_shares: nil, impressions: nil, invites: nil, linked_in_shares: nil, messenger_shares: nil, participants: nil, pinterest_shares: nil, qrcode_shares: nil, reddit_shares: nil, referral_credit_expireds: nil, referral_credit_pendings: nil, referrals: nil, sms_shares: nil, telegram_shares: nil, threads_shares: nil, total_commission_count: nil, total_commissions: nil, total_revenue: nil, tumblr_shares: nil, twitter_shares: nil, unique_impressions: nil, wechat_shares: nil, whats_app_shares: nil)
|
|
173
|
+
# @!method initialize(android_native_shares: nil, bluesky_shares: nil, copy_ref_link_shares: nil, email_shares: nil, facebook_shares: nil, impressions: nil, invites: nil, ios_native_shares: nil, linked_in_shares: nil, messenger_shares: nil, participants: nil, pinterest_shares: nil, qrcode_shares: nil, reddit_shares: nil, referral_credit_expireds: nil, referral_credit_pendings: nil, referrals: nil, sms_shares: nil, telegram_shares: nil, threads_shares: nil, total_commission_count: nil, total_commissions: nil, total_revenue: nil, tumblr_shares: nil, twitter_shares: nil, unique_impressions: nil, wechat_shares: nil, whats_app_shares: nil)
|
|
159
174
|
# Some parameter documentations has been truncated, see
|
|
160
175
|
# {GrowsurfRuby::Models::CampaignRetrieveAnalyticsResponse::Analytics} for more
|
|
161
176
|
# details.
|
|
162
177
|
#
|
|
178
|
+
# @param android_native_shares [Integer]
|
|
179
|
+
#
|
|
163
180
|
# @param bluesky_shares [Integer]
|
|
164
181
|
#
|
|
182
|
+
# @param copy_ref_link_shares [Integer]
|
|
183
|
+
#
|
|
165
184
|
# @param email_shares [Integer]
|
|
166
185
|
#
|
|
167
186
|
# @param facebook_shares [Integer]
|
|
@@ -170,6 +189,8 @@ module GrowsurfRuby
|
|
|
170
189
|
#
|
|
171
190
|
# @param invites [Integer]
|
|
172
191
|
#
|
|
192
|
+
# @param ios_native_shares [Integer]
|
|
193
|
+
#
|
|
173
194
|
# @param linked_in_shares [Integer]
|
|
174
195
|
#
|
|
175
196
|
# @param messenger_shares [Integer]
|
|
@@ -65,12 +65,24 @@ module GrowsurfRuby
|
|
|
65
65
|
)
|
|
66
66
|
end
|
|
67
67
|
|
|
68
|
+
sig { returns(T.nilable(Integer)) }
|
|
69
|
+
attr_reader :android_native_shares
|
|
70
|
+
|
|
71
|
+
sig { params(android_native_shares: Integer).void }
|
|
72
|
+
attr_writer :android_native_shares
|
|
73
|
+
|
|
68
74
|
sig { returns(T.nilable(Integer)) }
|
|
69
75
|
attr_reader :bluesky_shares
|
|
70
76
|
|
|
71
77
|
sig { params(bluesky_shares: Integer).void }
|
|
72
78
|
attr_writer :bluesky_shares
|
|
73
79
|
|
|
80
|
+
sig { returns(T.nilable(Integer)) }
|
|
81
|
+
attr_reader :copy_ref_link_shares
|
|
82
|
+
|
|
83
|
+
sig { params(copy_ref_link_shares: Integer).void }
|
|
84
|
+
attr_writer :copy_ref_link_shares
|
|
85
|
+
|
|
74
86
|
sig { returns(T.nilable(Integer)) }
|
|
75
87
|
attr_reader :email_shares
|
|
76
88
|
|
|
@@ -95,6 +107,12 @@ module GrowsurfRuby
|
|
|
95
107
|
sig { params(invites: Integer).void }
|
|
96
108
|
attr_writer :invites
|
|
97
109
|
|
|
110
|
+
sig { returns(T.nilable(Integer)) }
|
|
111
|
+
attr_reader :ios_native_shares
|
|
112
|
+
|
|
113
|
+
sig { params(ios_native_shares: Integer).void }
|
|
114
|
+
attr_writer :ios_native_shares
|
|
115
|
+
|
|
98
116
|
sig { returns(T.nilable(Integer)) }
|
|
99
117
|
attr_reader :linked_in_shares
|
|
100
118
|
|
|
@@ -221,11 +239,14 @@ module GrowsurfRuby
|
|
|
221
239
|
|
|
222
240
|
sig do
|
|
223
241
|
params(
|
|
242
|
+
android_native_shares: Integer,
|
|
224
243
|
bluesky_shares: Integer,
|
|
244
|
+
copy_ref_link_shares: Integer,
|
|
225
245
|
email_shares: Integer,
|
|
226
246
|
facebook_shares: Integer,
|
|
227
247
|
impressions: Integer,
|
|
228
248
|
invites: Integer,
|
|
249
|
+
ios_native_shares: Integer,
|
|
229
250
|
linked_in_shares: Integer,
|
|
230
251
|
messenger_shares: Integer,
|
|
231
252
|
participants: Integer,
|
|
@@ -249,11 +270,14 @@ module GrowsurfRuby
|
|
|
249
270
|
).returns(T.attached_class)
|
|
250
271
|
end
|
|
251
272
|
def self.new(
|
|
273
|
+
android_native_shares: nil,
|
|
252
274
|
bluesky_shares: nil,
|
|
275
|
+
copy_ref_link_shares: nil,
|
|
253
276
|
email_shares: nil,
|
|
254
277
|
facebook_shares: nil,
|
|
255
278
|
impressions: nil,
|
|
256
279
|
invites: nil,
|
|
280
|
+
ios_native_shares: nil,
|
|
257
281
|
linked_in_shares: nil,
|
|
258
282
|
messenger_shares: nil,
|
|
259
283
|
participants: nil,
|
|
@@ -284,11 +308,14 @@ module GrowsurfRuby
|
|
|
284
308
|
sig do
|
|
285
309
|
override.returns(
|
|
286
310
|
{
|
|
311
|
+
android_native_shares: Integer,
|
|
287
312
|
bluesky_shares: Integer,
|
|
313
|
+
copy_ref_link_shares: Integer,
|
|
288
314
|
email_shares: Integer,
|
|
289
315
|
facebook_shares: Integer,
|
|
290
316
|
impressions: Integer,
|
|
291
317
|
invites: Integer,
|
|
318
|
+
ios_native_shares: Integer,
|
|
292
319
|
linked_in_shares: Integer,
|
|
293
320
|
messenger_shares: Integer,
|
|
294
321
|
participants: Integer,
|
|
@@ -28,11 +28,14 @@ module GrowsurfRuby
|
|
|
28
28
|
|
|
29
29
|
type analytics =
|
|
30
30
|
{
|
|
31
|
+
android_native_shares: Integer,
|
|
31
32
|
bluesky_shares: Integer,
|
|
33
|
+
copy_ref_link_shares: Integer,
|
|
32
34
|
email_shares: Integer,
|
|
33
35
|
facebook_shares: Integer,
|
|
34
36
|
impressions: Integer,
|
|
35
37
|
invites: Integer,
|
|
38
|
+
ios_native_shares: Integer,
|
|
36
39
|
linked_in_shares: Integer,
|
|
37
40
|
messenger_shares: Integer,
|
|
38
41
|
participants: Integer,
|
|
@@ -56,10 +59,18 @@ module GrowsurfRuby
|
|
|
56
59
|
}
|
|
57
60
|
|
|
58
61
|
class Analytics < GrowsurfRuby::Internal::Type::BaseModel
|
|
62
|
+
attr_reader android_native_shares: Integer?
|
|
63
|
+
|
|
64
|
+
def android_native_shares=: (Integer) -> Integer
|
|
65
|
+
|
|
59
66
|
attr_reader bluesky_shares: Integer?
|
|
60
67
|
|
|
61
68
|
def bluesky_shares=: (Integer) -> Integer
|
|
62
69
|
|
|
70
|
+
attr_reader copy_ref_link_shares: Integer?
|
|
71
|
+
|
|
72
|
+
def copy_ref_link_shares=: (Integer) -> Integer
|
|
73
|
+
|
|
63
74
|
attr_reader email_shares: Integer?
|
|
64
75
|
|
|
65
76
|
def email_shares=: (Integer) -> Integer
|
|
@@ -76,6 +87,10 @@ module GrowsurfRuby
|
|
|
76
87
|
|
|
77
88
|
def invites=: (Integer) -> Integer
|
|
78
89
|
|
|
90
|
+
attr_reader ios_native_shares: Integer?
|
|
91
|
+
|
|
92
|
+
def ios_native_shares=: (Integer) -> Integer
|
|
93
|
+
|
|
79
94
|
attr_reader linked_in_shares: Integer?
|
|
80
95
|
|
|
81
96
|
def linked_in_shares=: (Integer) -> Integer
|
|
@@ -157,11 +172,14 @@ module GrowsurfRuby
|
|
|
157
172
|
def whats_app_shares=: (Integer) -> Integer
|
|
158
173
|
|
|
159
174
|
def initialize: (
|
|
175
|
+
?android_native_shares: Integer,
|
|
160
176
|
?bluesky_shares: Integer,
|
|
177
|
+
?copy_ref_link_shares: Integer,
|
|
161
178
|
?email_shares: Integer,
|
|
162
179
|
?facebook_shares: Integer,
|
|
163
180
|
?impressions: Integer,
|
|
164
181
|
?invites: Integer,
|
|
182
|
+
?ios_native_shares: Integer,
|
|
165
183
|
?linked_in_shares: Integer,
|
|
166
184
|
?messenger_shares: Integer,
|
|
167
185
|
?participants: Integer,
|
|
@@ -185,11 +203,14 @@ module GrowsurfRuby
|
|
|
185
203
|
) -> void
|
|
186
204
|
|
|
187
205
|
def to_hash: -> {
|
|
206
|
+
android_native_shares: Integer,
|
|
188
207
|
bluesky_shares: Integer,
|
|
208
|
+
copy_ref_link_shares: Integer,
|
|
189
209
|
email_shares: Integer,
|
|
190
210
|
facebook_shares: Integer,
|
|
191
211
|
impressions: Integer,
|
|
192
212
|
invites: Integer,
|
|
213
|
+
ios_native_shares: Integer,
|
|
193
214
|
linked_in_shares: Integer,
|
|
194
215
|
messenger_shares: Integer,
|
|
195
216
|
participants: Integer,
|
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: 0.
|
|
4
|
+
version: 0.2.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-05-
|
|
11
|
+
date: 2026-05-15 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: cgi
|