growsurf-ruby 1.5.0 → 1.6.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 +29 -0
- data/README.md +1 -1
- data/lib/growsurf_ruby/models/campaign/participant_bulk_delete_response.rb +21 -5
- data/lib/growsurf_ruby/models/campaign/participant_delete_response.rb +11 -1
- data/lib/growsurf_ruby/models/campaign/pending_analytics_erasure.rb +26 -0
- data/lib/growsurf_ruby/resources/account.rb +15 -11
- data/lib/growsurf_ruby/version.rb +1 -1
- data/lib/growsurf_ruby.rb +1 -0
- data/rbi/growsurf_ruby/models/campaign/participant_bulk_delete_response.rbi +30 -2
- data/rbi/growsurf_ruby/models/campaign/participant_delete_response.rbi +43 -3
- data/rbi/growsurf_ruby/models/campaign/pending_analytics_erasure.rbi +40 -0
- data/sig/growsurf_ruby/models/campaign/participant_bulk_delete_response.rbs +8 -3
- data/sig/growsurf_ruby/models/campaign/participant_delete_response.rbs +5 -3
- data/sig/growsurf_ruby/models/campaign/pending_analytics_erasure.rbs +17 -0
- metadata +5 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 30767eaf7fe9df6cf0d79676d5d398e9f05fcabaaab4fe397589a4e21b4e81d5
|
|
4
|
+
data.tar.gz: 2565e6b7e6a9c36e189dfe6d118f94893ccdba2e2c168b9364ebcd447d95698b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e00037e4aa5f320e67e261d2a812c473972f198a2afc7b005894a8b87cc936fc973ad2d256bc72295dce87204aeed9238080d68ba255ea55a089907b802b7791
|
|
7
|
+
data.tar.gz: b346f82c3569cf54bb3d317d3eace7e362afa4066774eb943a660ca07e4400bfe8da7a128102fbedf3556be380ccf6bf016b31e3cdf54466f83b238bc915b6a0
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,34 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [1.6.0](https://github.com/growsurf/growsurf-ruby/compare/v1.5.1...v1.6.0) (2026-09-14)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* **api:** add pending analyticsErasure to participant delete responses ([43ea40d](https://github.com/growsurf/growsurf-ruby/commit/43ea40d0b1aef235b6bd11e3bbda0c6ac092a60c))
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* **types:** correct analyticsErasure param ordering and RBI style ([44b0dc1](https://github.com/growsurf/growsurf-ruby/commit/44b0dc1852633775a99227951aaf9b7b51d13d46))
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
### Chores
|
|
17
|
+
|
|
18
|
+
* merge dev into main ([9855d24](https://github.com/growsurf/growsurf-ruby/commit/9855d240457ad9ae95d4946d0574787390177e2d))
|
|
19
|
+
|
|
20
|
+
## [1.5.1](https://github.com/growsurf/growsurf-ruby/compare/v1.5.0...v1.5.1) (2026-09-10)
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
### Chores
|
|
24
|
+
|
|
25
|
+
* merge main (release 1.5.0) into dev ([649434a](https://github.com/growsurf/growsurf-ruby/commit/649434ad8a9e326c3ce00f3291e8bd9d476e47d2))
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
### Documentation
|
|
29
|
+
|
|
30
|
+
* **api:** warn that a new account API key cannot be recovered ([3fbfe2b](https://github.com/growsurf/growsurf-ruby/commit/3fbfe2b758a0a2aecf0ad28be458c8350197a1e9))
|
|
31
|
+
|
|
3
32
|
## [1.5.0](https://github.com/growsurf/growsurf-ruby/compare/v1.4.0...v1.5.0) (2026-09-10)
|
|
4
33
|
|
|
5
34
|
|
data/README.md
CHANGED
|
@@ -5,26 +5,39 @@ module GrowsurfRuby
|
|
|
5
5
|
module Campaign
|
|
6
6
|
# @see GrowsurfRuby::Resources::Campaign::Participant#bulk_delete
|
|
7
7
|
class ParticipantBulkDeleteResponse < GrowsurfRuby::Internal::Type::BaseModel
|
|
8
|
+
# @!attribute analytics_erasure
|
|
9
|
+
# Analytics erasure is pending. Do not repeat successful deletions.
|
|
10
|
+
#
|
|
11
|
+
# @return [GrowsurfRuby::Models::Campaign::PendingAnalyticsErasure, nil]
|
|
12
|
+
optional :analytics_erasure,
|
|
13
|
+
-> { GrowsurfRuby::Models::Campaign::PendingAnalyticsErasure },
|
|
14
|
+
api_name: :analyticsErasure
|
|
15
|
+
|
|
8
16
|
# @!attribute results
|
|
9
17
|
# One entry per submitted identifier, in the same order as the request.
|
|
10
18
|
#
|
|
11
19
|
# @return [Array<GrowsurfRuby::Models::Campaign::ParticipantBulkDeleteResponse::Result>]
|
|
12
20
|
required :results,
|
|
13
|
-
->
|
|
21
|
+
-> do
|
|
14
22
|
GrowsurfRuby::Internal::Type::ArrayOf[
|
|
15
23
|
GrowsurfRuby::Campaign::ParticipantBulkDeleteResponse::Result
|
|
16
24
|
]
|
|
17
|
-
|
|
25
|
+
end
|
|
18
26
|
|
|
19
27
|
# @!attribute summary
|
|
20
28
|
#
|
|
21
29
|
# @return [GrowsurfRuby::Models::Campaign::ParticipantBulkDeleteResponse::Summary]
|
|
22
|
-
required :summary,
|
|
30
|
+
required :summary,
|
|
31
|
+
-> do
|
|
32
|
+
GrowsurfRuby::Campaign::ParticipantBulkDeleteResponse::Summary
|
|
33
|
+
end
|
|
23
34
|
|
|
24
|
-
# @!method initialize(results:, summary:)
|
|
35
|
+
# @!method initialize(results:, summary:, analytics_erasure: nil)
|
|
25
36
|
# @param results [Array<GrowsurfRuby::Models::Campaign::ParticipantBulkDeleteResponse::Result>] One entry per submitted identifier, in the same order as the request.
|
|
26
37
|
#
|
|
27
38
|
# @param summary [GrowsurfRuby::Models::Campaign::ParticipantBulkDeleteResponse::Summary]
|
|
39
|
+
#
|
|
40
|
+
# @param analytics_erasure [GrowsurfRuby::Models::Campaign::PendingAnalyticsErasure, nil] Analytics erasure is pending. Do not repeat successful deletions.
|
|
28
41
|
|
|
29
42
|
class Result < GrowsurfRuby::Internal::Type::BaseModel
|
|
30
43
|
# @!attribute identifier
|
|
@@ -46,7 +59,10 @@ module GrowsurfRuby
|
|
|
46
59
|
# `ERROR` — the lookup or deletion failed for this row.
|
|
47
60
|
#
|
|
48
61
|
# @return [Symbol, GrowsurfRuby::Models::Campaign::ParticipantBulkDeleteResponse::Result::Status]
|
|
49
|
-
required :status,
|
|
62
|
+
required :status,
|
|
63
|
+
enum: -> do
|
|
64
|
+
GrowsurfRuby::Campaign::ParticipantBulkDeleteResponse::Result::Status
|
|
65
|
+
end
|
|
50
66
|
|
|
51
67
|
# @!attribute email
|
|
52
68
|
# The resolved participant's email address. Present on `DELETED` rows.
|
|
@@ -5,13 +5,23 @@ module GrowsurfRuby
|
|
|
5
5
|
module Campaign
|
|
6
6
|
# @see GrowsurfRuby::Resources::Campaign::Participant#delete
|
|
7
7
|
class ParticipantDeleteResponse < GrowsurfRuby::Internal::Type::BaseModel
|
|
8
|
+
# @!attribute analytics_erasure
|
|
9
|
+
# Analytics erasure is pending. Do not repeat successful deletions.
|
|
10
|
+
#
|
|
11
|
+
# @return [GrowsurfRuby::Models::Campaign::PendingAnalyticsErasure, nil]
|
|
12
|
+
optional :analytics_erasure,
|
|
13
|
+
-> { GrowsurfRuby::Models::Campaign::PendingAnalyticsErasure },
|
|
14
|
+
api_name: :analyticsErasure
|
|
15
|
+
|
|
8
16
|
# @!attribute success
|
|
9
17
|
#
|
|
10
18
|
# @return [Boolean]
|
|
11
19
|
required :success, GrowsurfRuby::Internal::Type::Boolean
|
|
12
20
|
|
|
13
|
-
# @!method initialize(success:)
|
|
21
|
+
# @!method initialize(success:, analytics_erasure: nil)
|
|
14
22
|
# @param success [Boolean]
|
|
23
|
+
#
|
|
24
|
+
# @param analytics_erasure [GrowsurfRuby::Models::Campaign::PendingAnalyticsErasure, nil] Analytics erasure is pending. Do not repeat successful deletions.
|
|
15
25
|
end
|
|
16
26
|
end
|
|
17
27
|
end
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module GrowsurfRuby
|
|
4
|
+
module Models
|
|
5
|
+
module Campaign
|
|
6
|
+
class PendingAnalyticsErasure < GrowsurfRuby::Internal::Type::BaseModel
|
|
7
|
+
# @!attribute status
|
|
8
|
+
# Analytics erasure has been accepted but is not confirmed complete.
|
|
9
|
+
#
|
|
10
|
+
# @return [String]
|
|
11
|
+
required :status, String
|
|
12
|
+
|
|
13
|
+
# @!attribute operation_id
|
|
14
|
+
# Opaque reference for support inquiries about this analytics erasure.
|
|
15
|
+
#
|
|
16
|
+
# @return [String]
|
|
17
|
+
required :operation_id, String, api_name: :operationId
|
|
18
|
+
|
|
19
|
+
# @!method initialize(status:, operation_id:)
|
|
20
|
+
# @param status [String] Analytics erasure has been accepted but is not confirmed complete.
|
|
21
|
+
#
|
|
22
|
+
# @param operation_id [String] Opaque reference for support inquiries about this analytics erasure.
|
|
23
|
+
end
|
|
24
|
+
end
|
|
25
|
+
end
|
|
26
|
+
end
|
|
@@ -3,17 +3,21 @@
|
|
|
3
3
|
module GrowsurfRuby
|
|
4
4
|
module Resources
|
|
5
5
|
class Account
|
|
6
|
-
# Creates a new GrowSurf account. This is the only endpoint that does not require
|
|
7
|
-
#
|
|
8
|
-
#
|
|
9
|
-
# Policy](https://growsurf.com/privacy). The account starts a 14-day Business
|
|
10
|
-
#
|
|
11
|
-
#
|
|
12
|
-
#
|
|
13
|
-
#
|
|
14
|
-
#
|
|
15
|
-
#
|
|
16
|
-
#
|
|
6
|
+
# Creates a new GrowSurf account. This is the only endpoint that does not require an API
|
|
7
|
+
# key. Before calling it, an authorized account owner must review and approve GrowSurf's
|
|
8
|
+
# [Terms of Service](https://growsurf.com/terms) and [Privacy
|
|
9
|
+
# Policy](https://growsurf.com/privacy). The account starts a 14-day Business trial
|
|
10
|
+
# without a credit card. The response includes an API key for the new account, shown once
|
|
11
|
+
# in the response. The key is a secret: store it in a secret manager and do not put it in
|
|
12
|
+
# logs, screenshots, URLs, model context, analytics, or generated output. A lost key
|
|
13
|
+
# cannot be recovered through this API, so do not create an account here unless you can
|
|
14
|
+
# store the key somewhere that outlives the current conversation. If you cannot, ask the
|
|
15
|
+
# account owner to connect GrowSurf's hosted MCP server at `https://mcp.growsurf.com`
|
|
16
|
+
# instead, which keeps the credential with your tool rather than in chat. The key is
|
|
17
|
+
# locked until the team owner's email address is verified: authenticated program and
|
|
18
|
+
# resource endpoints return a `403` with error code `EMAIL_NOT_VERIFIED_ERROR` until then
|
|
19
|
+
# (resend the email via `POST /team/owner/verification-email`, then retry). Verification
|
|
20
|
+
# unlocks this same key
|
|
17
21
|
# - keep it and retry rather than requesting a replacement. A welcome email is
|
|
18
22
|
# sent to the address with the verification link and a set-password link for
|
|
19
23
|
# dashboard access. Accounts whose email is never verified are deleted
|
data/lib/growsurf_ruby.rb
CHANGED
|
@@ -75,6 +75,7 @@ require_relative "growsurf_ruby/models/campaign/participant_bulk_delete_response
|
|
|
75
75
|
require_relative "growsurf_ruby/models/campaign/participant_cancel_delayed_referral_params"
|
|
76
76
|
require_relative "growsurf_ruby/models/campaign/participant_cancel_delayed_referral_response"
|
|
77
77
|
require_relative "growsurf_ruby/models/campaign/participant_delete_params"
|
|
78
|
+
require_relative "growsurf_ruby/models/campaign/pending_analytics_erasure"
|
|
78
79
|
require_relative "growsurf_ruby/models/campaign/participant_delete_response"
|
|
79
80
|
require_relative "growsurf_ruby/models/campaign/participant_email_params"
|
|
80
81
|
require_relative "growsurf_ruby/models/campaign/participant_email_response"
|
|
@@ -12,6 +12,24 @@ module GrowsurfRuby
|
|
|
12
12
|
)
|
|
13
13
|
end
|
|
14
14
|
|
|
15
|
+
# Analytics erasure is pending. Do not repeat successful deletions.
|
|
16
|
+
sig do
|
|
17
|
+
returns(
|
|
18
|
+
T.nilable(GrowsurfRuby::Models::Campaign::PendingAnalyticsErasure)
|
|
19
|
+
)
|
|
20
|
+
end
|
|
21
|
+
attr_reader :analytics_erasure
|
|
22
|
+
|
|
23
|
+
sig do
|
|
24
|
+
params(
|
|
25
|
+
analytics_erasure:
|
|
26
|
+
T.nilable(
|
|
27
|
+
GrowsurfRuby::Models::Campaign::PendingAnalyticsErasure::OrHash
|
|
28
|
+
)
|
|
29
|
+
).void
|
|
30
|
+
end
|
|
31
|
+
attr_writer :analytics_erasure
|
|
32
|
+
|
|
15
33
|
# One entry per submitted identifier, in the same order as the request.
|
|
16
34
|
sig do
|
|
17
35
|
returns(
|
|
@@ -44,19 +62,29 @@ module GrowsurfRuby
|
|
|
44
62
|
GrowsurfRuby::Campaign::ParticipantBulkDeleteResponse::Result::OrHash
|
|
45
63
|
],
|
|
46
64
|
summary:
|
|
47
|
-
GrowsurfRuby::Campaign::ParticipantBulkDeleteResponse::Summary::OrHash
|
|
65
|
+
GrowsurfRuby::Campaign::ParticipantBulkDeleteResponse::Summary::OrHash,
|
|
66
|
+
analytics_erasure:
|
|
67
|
+
T.nilable(
|
|
68
|
+
GrowsurfRuby::Models::Campaign::PendingAnalyticsErasure::OrHash
|
|
69
|
+
)
|
|
48
70
|
).returns(T.attached_class)
|
|
49
71
|
end
|
|
50
72
|
def self.new(
|
|
51
73
|
# One entry per submitted identifier, in the same order as the request.
|
|
52
74
|
results:,
|
|
53
|
-
summary
|
|
75
|
+
summary:,
|
|
76
|
+
# Analytics erasure is pending. Do not repeat successful deletions.
|
|
77
|
+
analytics_erasure: nil
|
|
54
78
|
)
|
|
55
79
|
end
|
|
56
80
|
|
|
57
81
|
sig do
|
|
58
82
|
override.returns(
|
|
59
83
|
{
|
|
84
|
+
analytics_erasure:
|
|
85
|
+
T.nilable(
|
|
86
|
+
GrowsurfRuby::Models::Campaign::PendingAnalyticsErasure
|
|
87
|
+
),
|
|
60
88
|
results:
|
|
61
89
|
T::Array[
|
|
62
90
|
GrowsurfRuby::Campaign::ParticipantBulkDeleteResponse::Result
|
|
@@ -12,14 +12,54 @@ module GrowsurfRuby
|
|
|
12
12
|
)
|
|
13
13
|
end
|
|
14
14
|
|
|
15
|
+
# Analytics erasure is pending. Do not repeat successful deletions.
|
|
16
|
+
sig do
|
|
17
|
+
returns(
|
|
18
|
+
T.nilable(GrowsurfRuby::Models::Campaign::PendingAnalyticsErasure)
|
|
19
|
+
)
|
|
20
|
+
end
|
|
21
|
+
attr_reader :analytics_erasure
|
|
22
|
+
|
|
23
|
+
sig do
|
|
24
|
+
params(
|
|
25
|
+
analytics_erasure:
|
|
26
|
+
T.nilable(
|
|
27
|
+
GrowsurfRuby::Models::Campaign::PendingAnalyticsErasure::OrHash
|
|
28
|
+
)
|
|
29
|
+
).void
|
|
30
|
+
end
|
|
31
|
+
attr_writer :analytics_erasure
|
|
32
|
+
|
|
15
33
|
sig { returns(T::Boolean) }
|
|
16
34
|
attr_accessor :success
|
|
17
35
|
|
|
18
|
-
sig
|
|
19
|
-
|
|
36
|
+
sig do
|
|
37
|
+
params(
|
|
38
|
+
success: T::Boolean,
|
|
39
|
+
analytics_erasure:
|
|
40
|
+
T.nilable(
|
|
41
|
+
GrowsurfRuby::Models::Campaign::PendingAnalyticsErasure::OrHash
|
|
42
|
+
)
|
|
43
|
+
).returns(T.attached_class)
|
|
44
|
+
end
|
|
45
|
+
def self.new(
|
|
46
|
+
success:,
|
|
47
|
+
# Analytics erasure is pending. Do not repeat successful deletions.
|
|
48
|
+
analytics_erasure: nil
|
|
49
|
+
)
|
|
20
50
|
end
|
|
21
51
|
|
|
22
|
-
sig
|
|
52
|
+
sig do
|
|
53
|
+
override.returns(
|
|
54
|
+
{
|
|
55
|
+
success: T::Boolean,
|
|
56
|
+
analytics_erasure:
|
|
57
|
+
T.nilable(
|
|
58
|
+
GrowsurfRuby::Models::Campaign::PendingAnalyticsErasure
|
|
59
|
+
)
|
|
60
|
+
}
|
|
61
|
+
)
|
|
62
|
+
end
|
|
23
63
|
def to_hash
|
|
24
64
|
end
|
|
25
65
|
end
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module GrowsurfRuby
|
|
4
|
+
module Models
|
|
5
|
+
module Campaign
|
|
6
|
+
class PendingAnalyticsErasure < GrowsurfRuby::Internal::Type::BaseModel
|
|
7
|
+
OrHash =
|
|
8
|
+
T.type_alias do
|
|
9
|
+
T.any(
|
|
10
|
+
GrowsurfRuby::Models::Campaign::PendingAnalyticsErasure,
|
|
11
|
+
GrowsurfRuby::Internal::AnyHash
|
|
12
|
+
)
|
|
13
|
+
end
|
|
14
|
+
|
|
15
|
+
# Analytics erasure has been accepted but is not confirmed complete.
|
|
16
|
+
sig { returns(String) }
|
|
17
|
+
attr_accessor :status
|
|
18
|
+
|
|
19
|
+
# Opaque reference for support inquiries about this analytics erasure.
|
|
20
|
+
sig { returns(String) }
|
|
21
|
+
attr_accessor :operation_id
|
|
22
|
+
|
|
23
|
+
sig do
|
|
24
|
+
params(status: String, operation_id: String).returns(T.attached_class)
|
|
25
|
+
end
|
|
26
|
+
def self.new(
|
|
27
|
+
# Analytics erasure has been accepted but is not confirmed complete.
|
|
28
|
+
status:,
|
|
29
|
+
# Opaque reference for support inquiries about this analytics erasure.
|
|
30
|
+
operation_id:
|
|
31
|
+
)
|
|
32
|
+
end
|
|
33
|
+
|
|
34
|
+
sig { override.returns({ status: String, operation_id: String }) }
|
|
35
|
+
def to_hash
|
|
36
|
+
end
|
|
37
|
+
end
|
|
38
|
+
end
|
|
39
|
+
end
|
|
40
|
+
end
|
|
@@ -4,22 +4,27 @@ module GrowsurfRuby
|
|
|
4
4
|
type participant_bulk_delete_response =
|
|
5
5
|
{
|
|
6
6
|
results: ::Array[GrowsurfRuby::Models::Campaign::ParticipantBulkDeleteResponse::Result],
|
|
7
|
-
summary: GrowsurfRuby::Models::Campaign::ParticipantBulkDeleteResponse::Summary
|
|
7
|
+
summary: GrowsurfRuby::Models::Campaign::ParticipantBulkDeleteResponse::Summary,
|
|
8
|
+
?analytics_erasure: GrowsurfRuby::Models::Campaign::PendingAnalyticsErasure?
|
|
8
9
|
}
|
|
9
10
|
|
|
10
11
|
class ParticipantBulkDeleteResponse < GrowsurfRuby::Internal::Type::BaseModel
|
|
12
|
+
attr_accessor analytics_erasure: GrowsurfRuby::Models::Campaign::PendingAnalyticsErasure?
|
|
13
|
+
|
|
11
14
|
attr_accessor results: ::Array[GrowsurfRuby::Models::Campaign::ParticipantBulkDeleteResponse::Result]
|
|
12
15
|
|
|
13
16
|
attr_accessor summary: GrowsurfRuby::Models::Campaign::ParticipantBulkDeleteResponse::Summary
|
|
14
17
|
|
|
15
18
|
def initialize: (
|
|
16
19
|
results: ::Array[GrowsurfRuby::Models::Campaign::ParticipantBulkDeleteResponse::Result],
|
|
17
|
-
summary: GrowsurfRuby::Models::Campaign::ParticipantBulkDeleteResponse::Summary
|
|
20
|
+
summary: GrowsurfRuby::Models::Campaign::ParticipantBulkDeleteResponse::Summary,
|
|
21
|
+
?analytics_erasure: GrowsurfRuby::Models::Campaign::PendingAnalyticsErasure?
|
|
18
22
|
) -> void
|
|
19
23
|
|
|
20
24
|
def to_hash: -> {
|
|
21
25
|
results: ::Array[GrowsurfRuby::Models::Campaign::ParticipantBulkDeleteResponse::Result],
|
|
22
|
-
summary: GrowsurfRuby::Models::Campaign::ParticipantBulkDeleteResponse::Summary
|
|
26
|
+
summary: GrowsurfRuby::Models::Campaign::ParticipantBulkDeleteResponse::Summary,
|
|
27
|
+
?analytics_erasure: GrowsurfRuby::Models::Campaign::PendingAnalyticsErasure?
|
|
23
28
|
}
|
|
24
29
|
|
|
25
30
|
type result =
|
|
@@ -1,14 +1,16 @@
|
|
|
1
1
|
module GrowsurfRuby
|
|
2
2
|
module Models
|
|
3
3
|
module Campaign
|
|
4
|
-
type participant_delete_response = { success: bool }
|
|
4
|
+
type participant_delete_response = { success: bool, ?analytics_erasure: GrowsurfRuby::Models::Campaign::PendingAnalyticsErasure? }
|
|
5
5
|
|
|
6
6
|
class ParticipantDeleteResponse < GrowsurfRuby::Internal::Type::BaseModel
|
|
7
|
+
attr_accessor analytics_erasure: GrowsurfRuby::Models::Campaign::PendingAnalyticsErasure?
|
|
8
|
+
|
|
7
9
|
attr_accessor success: bool
|
|
8
10
|
|
|
9
|
-
def initialize: (success: bool) -> void
|
|
11
|
+
def initialize: (success: bool, ?analytics_erasure: GrowsurfRuby::Models::Campaign::PendingAnalyticsErasure?) -> void
|
|
10
12
|
|
|
11
|
-
def to_hash: -> { success: bool }
|
|
13
|
+
def to_hash: -> { success: bool, ?analytics_erasure: GrowsurfRuby::Models::Campaign::PendingAnalyticsErasure? }
|
|
12
14
|
end
|
|
13
15
|
end
|
|
14
16
|
end
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
module GrowsurfRuby
|
|
2
|
+
module Models
|
|
3
|
+
module Campaign
|
|
4
|
+
type pending_analytics_erasure = { status: String, operation_id: String }
|
|
5
|
+
|
|
6
|
+
class PendingAnalyticsErasure < GrowsurfRuby::Internal::Type::BaseModel
|
|
7
|
+
attr_accessor status: String
|
|
8
|
+
|
|
9
|
+
attr_accessor operation_id: String
|
|
10
|
+
|
|
11
|
+
def initialize: (status: String, operation_id: String) -> void
|
|
12
|
+
|
|
13
|
+
def to_hash: -> { status: String, operation_id: String }
|
|
14
|
+
end
|
|
15
|
+
end
|
|
16
|
+
end
|
|
17
|
+
end
|
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.6.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-14 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: cgi
|
|
@@ -126,6 +126,7 @@ files:
|
|
|
126
126
|
- lib/growsurf_ruby/models/campaign/participant_trigger_referral_params.rb
|
|
127
127
|
- lib/growsurf_ruby/models/campaign/participant_trigger_referral_response.rb
|
|
128
128
|
- lib/growsurf_ruby/models/campaign/participant_update_params.rb
|
|
129
|
+
- lib/growsurf_ruby/models/campaign/pending_analytics_erasure.rb
|
|
129
130
|
- lib/growsurf_ruby/models/campaign/program_resource.rb
|
|
130
131
|
- lib/growsurf_ruby/models/campaign/program_resource_create_params.rb
|
|
131
132
|
- lib/growsurf_ruby/models/campaign/program_resource_delete_params.rb
|
|
@@ -280,6 +281,7 @@ files:
|
|
|
280
281
|
- rbi/growsurf_ruby/models/campaign/participant_trigger_referral_params.rbi
|
|
281
282
|
- rbi/growsurf_ruby/models/campaign/participant_trigger_referral_response.rbi
|
|
282
283
|
- rbi/growsurf_ruby/models/campaign/participant_update_params.rbi
|
|
284
|
+
- rbi/growsurf_ruby/models/campaign/pending_analytics_erasure.rbi
|
|
283
285
|
- rbi/growsurf_ruby/models/campaign/program_resource.rbi
|
|
284
286
|
- rbi/growsurf_ruby/models/campaign/program_resource_create_params.rbi
|
|
285
287
|
- rbi/growsurf_ruby/models/campaign/program_resource_delete_params.rbi
|
|
@@ -433,6 +435,7 @@ files:
|
|
|
433
435
|
- sig/growsurf_ruby/models/campaign/participant_trigger_referral_params.rbs
|
|
434
436
|
- sig/growsurf_ruby/models/campaign/participant_trigger_referral_response.rbs
|
|
435
437
|
- sig/growsurf_ruby/models/campaign/participant_update_params.rbs
|
|
438
|
+
- sig/growsurf_ruby/models/campaign/pending_analytics_erasure.rbs
|
|
436
439
|
- sig/growsurf_ruby/models/campaign/program_resource.rbs
|
|
437
440
|
- sig/growsurf_ruby/models/campaign/program_resource_create_params.rbs
|
|
438
441
|
- sig/growsurf_ruby/models/campaign/program_resource_delete_params.rbs
|