active_campaign_webhooks 0.3.0 → 0.3.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/active_campaign/webhooks/request/account.rb +2 -2
- data/lib/active_campaign/webhooks/request/account_contact.rb +6 -6
- data/lib/active_campaign/webhooks/request/account_contact_removed.rb +6 -6
- data/lib/active_campaign/webhooks/request/base_request.rb +2 -2
- data/lib/active_campaign/webhooks/request/campaign.rb +6 -6
- data/lib/active_campaign/webhooks/request/click_request.rb +2 -2
- data/lib/active_campaign/webhooks/request/contact.rb +3 -5
- data/lib/active_campaign/webhooks/request/contact_tag_added_request.rb +2 -2
- data/lib/active_campaign/webhooks/request/deal.rb +21 -21
- data/lib/active_campaign/webhooks/request/form.rb +2 -2
- data/lib/active_campaign/webhooks/request/forward.rb +2 -2
- data/lib/active_campaign/webhooks/request/forward_request.rb +2 -2
- data/lib/active_campaign/webhooks/request/link.rb +2 -2
- data/lib/active_campaign/webhooks/request/open_request.rb +2 -2
- data/lib/active_campaign/webhooks/request/pipeline.rb +2 -2
- data/lib/active_campaign/webhooks/request/reply_request.rb +2 -2
- data/lib/active_campaign/webhooks/request/sent_request.rb +2 -2
- data/lib/active_campaign/webhooks/request/share.rb +2 -2
- data/lib/active_campaign/webhooks/request/share_request.rb +2 -2
- data/lib/active_campaign/webhooks/request/stage.rb +2 -2
- data/lib/active_campaign/webhooks/request/subscribe_request.rb +2 -2
- data/lib/active_campaign/webhooks/request/task.rb +4 -4
- data/lib/active_campaign/webhooks/request/tasktype.rb +2 -2
- data/lib/active_campaign/webhooks/request/unsubscribe_request.rb +2 -2
- data/lib/active_campaign/webhooks/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3c47c35aab81851fc5f730d590aa27c5057e6c8eab637611c79ad932541a5c29
|
4
|
+
data.tar.gz: ead058e76b7e9a96a3e500b2b1d76dbb0b4c217aeb28e3f5946d25baab923868
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a3b2ab0573d943e10e8bafe1f88756fda4069f6c939fcd6556a7c0673975968373fca74e09108960257077c45f5f97d6ad1471e7a7bbc9b2f7e05833a07e18cd
|
7
|
+
data.tar.gz: 48eb7023976716415f360395264ae56537e119bd94191297da7a325d9f773ecde4b72059354428597c9d17d25fa59df4649fd68861289643ec69e2be9a560aa7
|
data/Gemfile.lock
CHANGED
@@ -5,8 +5,8 @@ module ActiveCampaign
|
|
5
5
|
module Request
|
6
6
|
# AC Request Struct Account
|
7
7
|
class Account < BaseRecord
|
8
|
-
# @return [
|
9
|
-
attribute :id, :
|
8
|
+
# @return [Integer]
|
9
|
+
attribute :id, :Integer
|
10
10
|
# @return [String]
|
11
11
|
attribute :account_name
|
12
12
|
# @return [String]
|
@@ -5,12 +5,12 @@ module ActiveCampaign
|
|
5
5
|
module Request
|
6
6
|
# AC Request Struct AccountContact
|
7
7
|
class AccountContact < BaseRecord
|
8
|
-
# @return [
|
9
|
-
attribute :id, :
|
10
|
-
# @return [
|
11
|
-
attribute :account, :
|
12
|
-
# @return [
|
13
|
-
attribute :contact, :
|
8
|
+
# @return [Integer]
|
9
|
+
attribute :id, :Integer
|
10
|
+
# @return [Integer]
|
11
|
+
attribute :account, :Integer
|
12
|
+
# @return [Integer]
|
13
|
+
attribute :contact, :Integer
|
14
14
|
# @return [String]
|
15
15
|
attribute :job_title
|
16
16
|
end
|
@@ -5,12 +5,12 @@ module ActiveCampaign
|
|
5
5
|
module Request
|
6
6
|
# AC Request Struct AccountContactRemoved
|
7
7
|
class AccountContactRemoved < BaseRecord
|
8
|
-
# @return [
|
9
|
-
attribute :id, :
|
10
|
-
# @return [
|
11
|
-
attribute :account, :
|
12
|
-
# @return [
|
13
|
-
attribute :contact, :
|
8
|
+
# @return [Integer]
|
9
|
+
attribute :id, :Integer
|
10
|
+
# @return [Integer]
|
11
|
+
attribute :account, :Integer
|
12
|
+
# @return [Integer]
|
13
|
+
attribute :contact, :Integer
|
14
14
|
end
|
15
15
|
end
|
16
16
|
end
|
@@ -5,12 +5,12 @@ module ActiveCampaign
|
|
5
5
|
module Request
|
6
6
|
# AC Request Struct Campaign
|
7
7
|
class Campaign < BaseRecord
|
8
|
-
# @return [
|
9
|
-
attribute :id, :
|
10
|
-
# @return [
|
11
|
-
attribute :status, :
|
12
|
-
# @return [
|
13
|
-
attribute :recipients, :
|
8
|
+
# @return [Integer]
|
9
|
+
attribute :id, :Integer
|
10
|
+
# @return [Integer]
|
11
|
+
attribute :status, :Integer
|
12
|
+
# @return [Integer]
|
13
|
+
attribute :recipients, :Integer
|
14
14
|
# @return [String]
|
15
15
|
attribute :webcopy_url
|
16
16
|
end
|
@@ -7,8 +7,8 @@ module ActiveCampaign
|
|
7
7
|
class ClickRequest < BaseRecord
|
8
8
|
# @return [String]
|
9
9
|
attribute :url
|
10
|
-
# @return [
|
11
|
-
attribute :list, :
|
10
|
+
# @return [Integer]
|
11
|
+
attribute :list, :Integer
|
12
12
|
# @return [Campaign]
|
13
13
|
attribute :campaign, :Campaign
|
14
14
|
# @return [Contact]
|
@@ -11,8 +11,8 @@ module ActiveCampaign
|
|
11
11
|
attribute :first_name
|
12
12
|
# @return [String]
|
13
13
|
attribute :last_name
|
14
|
-
# @return [
|
15
|
-
attribute :id, :
|
14
|
+
# @return [Integer]
|
15
|
+
attribute :id, :Integer
|
16
16
|
# @return [String]
|
17
17
|
attribute :tags
|
18
18
|
# @return [String]
|
@@ -20,9 +20,7 @@ module ActiveCampaign
|
|
20
20
|
# @return [String]
|
21
21
|
attribute :phone
|
22
22
|
# @return [String]
|
23
|
-
attribute :
|
24
|
-
# @return [Number]
|
25
|
-
attribute :customer_acct_id, :Number
|
23
|
+
attribute :orgname
|
26
24
|
# @return [Hash]
|
27
25
|
attribute :fields
|
28
26
|
end
|
@@ -7,8 +7,8 @@ module ActiveCampaign
|
|
7
7
|
class ContactTagAddedRequest < BaseRequest
|
8
8
|
# @return [String]
|
9
9
|
attribute :url
|
10
|
-
# @return [
|
11
|
-
attribute :list, :
|
10
|
+
# @return [Integer]
|
11
|
+
attribute :list, :Integer
|
12
12
|
# @return [String]
|
13
13
|
attribute :tag
|
14
14
|
# @return [Contact]
|
@@ -5,40 +5,42 @@ module ActiveCampaign
|
|
5
5
|
module Request
|
6
6
|
# AC Request Struct Deal
|
7
7
|
class Deal < BaseRecord
|
8
|
-
STATUS_OPEN =
|
9
|
-
STATUS_WON =
|
10
|
-
STATUS_LOST =
|
8
|
+
STATUS_OPEN = 0
|
9
|
+
STATUS_WON = 1
|
10
|
+
STATUS_LOST = 2
|
11
11
|
|
12
12
|
# @return [String]
|
13
13
|
attribute :currency_symbol
|
14
14
|
# @return [String]
|
15
15
|
attribute :currency
|
16
|
-
# @return [
|
17
|
-
attribute :
|
18
|
-
# @return [
|
19
|
-
attribute :
|
20
|
-
# @return [
|
21
|
-
attribute :
|
16
|
+
# @return [Integer]
|
17
|
+
attribute :orgid, :Integer
|
18
|
+
# @return [String]
|
19
|
+
attribute :orgname
|
20
|
+
# @return [Integer]
|
21
|
+
attribute :stageid, :Integer
|
22
|
+
# @return [Integer]
|
23
|
+
attribute :owner, :Integer
|
22
24
|
# @return [String]
|
23
25
|
attribute :contact_lastname
|
24
|
-
# @return [
|
25
|
-
attribute :id, :
|
26
|
+
# @return [Integer]
|
27
|
+
attribute :id, :Integer
|
26
28
|
# @return [String]
|
27
29
|
attribute :pipeline_title
|
28
30
|
# @return [String]
|
29
31
|
attribute :title
|
30
|
-
# @return [
|
31
|
-
attribute :
|
32
|
+
# @return [DateTime]
|
33
|
+
attribute :create_date, :DateTime
|
32
34
|
# @return [String]
|
33
35
|
attribute :stage_title
|
34
|
-
# @return [
|
35
|
-
attribute :pipelineid, :
|
36
|
+
# @return [Integer]
|
37
|
+
attribute :pipelineid, :Integer
|
36
38
|
# @return [String]
|
37
39
|
attribute :note
|
38
|
-
# @return [
|
39
|
-
attribute :contactid, :
|
40
|
-
# @return [
|
41
|
-
attribute :status, :
|
40
|
+
# @return [Integer]
|
41
|
+
attribute :contactid, :Integer
|
42
|
+
# @return [Integer]
|
43
|
+
attribute :status, :Integer
|
42
44
|
# @return [String]
|
43
45
|
attribute :contact_firstname
|
44
46
|
# @return [String]
|
@@ -46,8 +48,6 @@ module ActiveCampaign
|
|
46
48
|
# @return [String]
|
47
49
|
attribute :contact_avatar
|
48
50
|
# @return [Float]
|
49
|
-
attribute :age, :Float
|
50
|
-
# @return [Float]
|
51
51
|
attribute :value, :Float
|
52
52
|
# @return [String]
|
53
53
|
attribute :owner_firstname
|
@@ -7,8 +7,8 @@ module ActiveCampaign
|
|
7
7
|
class ForwardRequest < BaseRequest
|
8
8
|
# @return [String]
|
9
9
|
attribute :url
|
10
|
-
# @return [
|
11
|
-
attribute :list, :
|
10
|
+
# @return [Integer]
|
11
|
+
attribute :list, :Integer
|
12
12
|
# @return [Campaign]
|
13
13
|
attribute :campaign, :Campaign
|
14
14
|
# @return [Contact]
|
@@ -7,8 +7,8 @@ module ActiveCampaign
|
|
7
7
|
class OpenRequest < BaseRequest
|
8
8
|
# @return [String]
|
9
9
|
attribute :url
|
10
|
-
# @return [
|
11
|
-
attribute :list, :
|
10
|
+
# @return [Integer]
|
11
|
+
attribute :list, :Integer
|
12
12
|
# @return [Campaign]
|
13
13
|
attribute :campaign, :Campaign
|
14
14
|
# @return [Contact]
|
@@ -7,8 +7,8 @@ module ActiveCampaign
|
|
7
7
|
class ReplyRequest < BaseRequest
|
8
8
|
# @return [String]
|
9
9
|
attribute :url
|
10
|
-
# @return [
|
11
|
-
attribute :list, :
|
10
|
+
# @return [Integer]
|
11
|
+
attribute :list, :Integer
|
12
12
|
# @return [Campaign]
|
13
13
|
attribute :campaign, :Campaign
|
14
14
|
# @return [Contact]
|
@@ -7,8 +7,8 @@ module ActiveCampaign
|
|
7
7
|
class ShareRequest < BaseRequest
|
8
8
|
# @return [String]
|
9
9
|
attribute :url
|
10
|
-
# @return [
|
11
|
-
attribute :list, :
|
10
|
+
# @return [Integer]
|
11
|
+
attribute :list, :Integer
|
12
12
|
# @return [Campaign]
|
13
13
|
attribute :campaign, :Campaign
|
14
14
|
# @return [Contact]
|
@@ -7,8 +7,8 @@ module ActiveCampaign
|
|
7
7
|
class SubscribeRequest < BaseRequest
|
8
8
|
# @return [String]
|
9
9
|
attribute :url
|
10
|
-
# @return [
|
11
|
-
attribute :list, :
|
10
|
+
# @return [Integer]
|
11
|
+
attribute :list, :Integer
|
12
12
|
# @return [Form]
|
13
13
|
attribute :form, :Form
|
14
14
|
# @return [Contact]
|
@@ -7,8 +7,8 @@ module ActiveCampaign
|
|
7
7
|
class Task < BaseRecord
|
8
8
|
# @return [String]
|
9
9
|
attribute :note
|
10
|
-
# @return [
|
11
|
-
attribute :id, :
|
10
|
+
# @return [Integer]
|
11
|
+
attribute :id, :Integer
|
12
12
|
# @return [DateTime]
|
13
13
|
attribute :duedate, :DateTime
|
14
14
|
# @return [DateTime]
|
@@ -17,8 +17,8 @@ module ActiveCampaign
|
|
17
17
|
attribute :type_title
|
18
18
|
# @return [String]
|
19
19
|
attribute :title
|
20
|
-
# @return [
|
21
|
-
attribute :type_id, :
|
20
|
+
# @return [Integer]
|
21
|
+
attribute :type_id, :Integer
|
22
22
|
end
|
23
23
|
end
|
24
24
|
end
|
@@ -7,8 +7,8 @@ module ActiveCampaign
|
|
7
7
|
class UnsubscribeRequest < BaseRequest
|
8
8
|
# @return [String]
|
9
9
|
attribute :url
|
10
|
-
# @return [
|
11
|
-
attribute :list, :
|
10
|
+
# @return [Integer]
|
11
|
+
attribute :list, :Integer
|
12
12
|
# @return [Campaign]
|
13
13
|
attribute :form, :Campaign
|
14
14
|
# @return [Campaign]
|