active_campaign_webhooks 0.3.1 → 0.3.6
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 +19 -21
- data/lib/active_campaign/webhooks/request/deal_update_request.rb +2 -0
- 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 +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 859504f75153d3bfe3864ca9167b30f581c47ec97c2e2fdbe33a310ed0ecd6fa
|
4
|
+
data.tar.gz: e4e2aa2f303a3f330faae1fc4d54afd2725cecd49584e22cfb2dd778b8777740
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e7b80f0a391c1fca45e7778e0b9d2dd1c9d5b1f63a4020b75ecca21c784ff4fd5b79e0c6903b0e20c1d7ea1b8ccbf1ab130cd0ed7129b3d1019f0a8039d82ae0
|
7
|
+
data.tar.gz: '059af66f4e64ff35086bbe4208b0aef050a58d7ca20853f8ef8a9d622150ffd75539503fa32076641a9090c1e6680f831053bd858c7badc038ed2e90900fc19a'
|
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,24 +5,26 @@ 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]
|
@@ -30,17 +32,15 @@ module ActiveCampaign
|
|
30
32
|
# @return [DateTime]
|
31
33
|
attribute :create_date, :DateTime
|
32
34
|
# @return [String]
|
33
|
-
attribute :customer_acct_name
|
34
|
-
# @return [String]
|
35
35
|
attribute :stage_title
|
36
|
-
# @return [
|
37
|
-
attribute :pipelineid, :
|
36
|
+
# @return [Integer]
|
37
|
+
attribute :pipelineid, :Integer
|
38
38
|
# @return [String]
|
39
39
|
attribute :note
|
40
|
-
# @return [
|
41
|
-
attribute :contactid, :
|
42
|
-
# @return [
|
43
|
-
attribute :status, :
|
40
|
+
# @return [Integer]
|
41
|
+
attribute :contactid, :Integer
|
42
|
+
# @return [Integer]
|
43
|
+
attribute :status, :Integer
|
44
44
|
# @return [String]
|
45
45
|
attribute :contact_firstname
|
46
46
|
# @return [String]
|
@@ -48,8 +48,6 @@ module ActiveCampaign
|
|
48
48
|
# @return [String]
|
49
49
|
attribute :contact_avatar
|
50
50
|
# @return [Float]
|
51
|
-
attribute :age, :Float
|
52
|
-
# @return [Float]
|
53
51
|
attribute :value, :Float
|
54
52
|
# @return [String]
|
55
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]
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: active_campaign_webhooks
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sam Boyne
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-10-
|
11
|
+
date: 2020-10-21 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description:
|
14
14
|
email:
|