bucket_cake 7.0.0.rc1 → 7.0.0.rc2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d63eba7da49bc8019653a18bc32a5d2ec11f118841a6e52cd865684915ad0d7a
4
- data.tar.gz: fa8832cc4135bfc00a38e327437de97b5b699b3079841a75d061007701520683
3
+ metadata.gz: b74db13feb2db5df2591edd5238562cdc1792adcfcd1a6ffee3f99144fdb0ea1
4
+ data.tar.gz: e14445439839ec247db562e9100f4a4b7763854db8d0f0e8cb63933944013c21
5
5
  SHA512:
6
- metadata.gz: 2070c1c5b3fad14f700efd4339b4a2fd686d52d6a060a5fb2ffff7b32ef47c7967ee12249d133207f908920745d8a42af70e0a7da7b33f8f5fe894d989fb1baf
7
- data.tar.gz: 1bdf3c5d68889dc18cc802ae7ca56517689ae9379049e9c378d2968bf4c45b93472cd21b79733a420b1358ef66482ff9d9100fe51fd9dc0ad352d4f421bdbe7e
6
+ metadata.gz: d6c81d83dac54d980647caf23c3d3bf1d04c1c4874b16604f7f72ea4113d41266f253e669b579c93501faf3a2e2d3c0dd4e8668032fd90832d9dbac7b00dcc72
7
+ data.tar.gz: 11151c809a7f41160a178249c2daa5b3ecaa8a6d973c7fae3673d1e62898b1122ef2b609ce84f7e24c824e2d12d6d1e3465b7aaf912e3accdc755ede07decd7c
@@ -3,45 +3,47 @@
3
3
 
4
4
 
5
5
  Google::Protobuf::DescriptorPool.generated_pool.build do
6
- add_message "cakeproto.Advertiser" do
7
- optional :id, :int64, 1
8
- optional :name, :string, 2
9
- optional :account_manager, :message, 3, "cakeproto.IdName"
10
- optional :account_status, :message, 4, "cakeproto.IdName"
11
- optional :street1, :string, 5
12
- optional :street2, :string, 6
13
- optional :city, :string, 7
14
- optional :state, :string, 8
15
- optional :zip_code, :string, 9
16
- optional :country, :string, 10
17
- optional :website, :string, 11
18
- repeated :contacts, :message, 12, "cakeproto.Contact"
19
- repeated :tags, :message, 13, "cakeproto.IdName"
20
- repeated :suppression_lists, :message, 14, "cakeproto.SuppressionList"
21
- repeated :blacklists, :message, 15, "cakeproto.Blacklist"
22
- repeated :events, :message, 21, "cakeproto.Advertiser.Event"
23
- optional :billing_cycle, :message, 16, "cakeproto.IdName"
24
- optional :quickbooks_id, :string, 17
25
- optional :online_signup, :bool, 18
26
- optional :date_created, :message, 19, "cakeproto.TimeWithZone"
27
- optional :notes, :string, 20
28
- end
29
- add_message "cakeproto.Advertiser.Event" do
30
- optional :id, :int64, 1
31
- optional :name, :string, 2
32
- optional :price_format, :message, 3, "cakeproto.IdName"
33
- optional :active, :bool, 4
34
- optional :allow_duplicates, :bool, 5
35
- optional :transaction_id_deduplication, :message, 6, "cakeproto.IdName"
36
- optional :payout, :message, 7, "cakeproto.Money"
37
- optional :received, :message, 8, "cakeproto.Money"
38
- optional :portal, :bool, 9
39
- optional :active_for_all_offers, :bool, 10
40
- optional :fire_global_pixel, :bool, 11
41
- optional :postback_url, :string, 12
42
- optional :postback_delay_ms, :int64, 13
43
- optional :pixel, :string, 14
44
- optional :event_payout_and_received_trumps_other_sources, :bool, 15
6
+ add_file("advertisers.proto", :syntax => :proto3) do
7
+ add_message "cakeproto.Advertiser" do
8
+ optional :id, :int64, 1
9
+ optional :name, :string, 2
10
+ optional :account_manager, :message, 3, "cakeproto.IdName"
11
+ optional :account_status, :message, 4, "cakeproto.IdName"
12
+ optional :street1, :string, 5
13
+ optional :street2, :string, 6
14
+ optional :city, :string, 7
15
+ optional :state, :string, 8
16
+ optional :zip_code, :string, 9
17
+ optional :country, :string, 10
18
+ optional :website, :string, 11
19
+ repeated :contacts, :message, 12, "cakeproto.Contact"
20
+ repeated :tags, :message, 13, "cakeproto.IdName"
21
+ repeated :suppression_lists, :message, 14, "cakeproto.SuppressionList"
22
+ repeated :blacklists, :message, 15, "cakeproto.Blacklist"
23
+ repeated :events, :message, 21, "cakeproto.Advertiser.Event"
24
+ optional :billing_cycle, :message, 16, "cakeproto.IdName"
25
+ optional :quickbooks_id, :string, 17
26
+ optional :online_signup, :bool, 18
27
+ optional :date_created, :message, 19, "cakeproto.TimeWithZone"
28
+ optional :notes, :string, 20
29
+ end
30
+ add_message "cakeproto.Advertiser.Event" do
31
+ optional :id, :int64, 1
32
+ optional :name, :string, 2
33
+ optional :price_format, :message, 3, "cakeproto.IdName"
34
+ optional :active, :bool, 4
35
+ optional :allow_duplicates, :bool, 5
36
+ optional :transaction_id_deduplication, :message, 6, "cakeproto.IdName"
37
+ optional :payout, :message, 7, "cakeproto.Money"
38
+ optional :received, :message, 8, "cakeproto.Money"
39
+ optional :portal, :bool, 9
40
+ optional :active_for_all_offers, :bool, 10
41
+ optional :fire_global_pixel, :bool, 11
42
+ optional :postback_url, :string, 12
43
+ optional :postback_delay_ms, :int64, 13
44
+ optional :pixel, :string, 14
45
+ optional :event_payout_and_received_trumps_other_sources, :bool, 15
46
+ end
45
47
  end
46
48
  end
47
49
 
@@ -3,58 +3,60 @@
3
3
 
4
4
 
5
5
  Google::Protobuf::DescriptorPool.generated_pool.build do
6
- add_message "cakeproto.Affiliate" do
7
- optional :id, :int64, 1
8
- optional :name, :string, 2
9
- optional :tier, :message, 3, "cakeproto.IdName"
10
- optional :account_manager, :message, 4, "cakeproto.IdName"
11
- optional :account_status, :message, 5, "cakeproto.IdName"
12
- optional :street1, :string, 6
13
- optional :street2, :string, 7
14
- optional :city, :string, 8
15
- optional :state, :string, 9
16
- optional :zip_code, :string, 10
17
- optional :country, :string, 11
18
- optional :website, :string, 12
19
- optional :payment_type, :message, 13, "cakeproto.Affiliate.PaymentType"
20
- repeated :contacts, :message, 14, "cakeproto.Contact"
21
- repeated :tags, :message, 15, "cakeproto.IdName"
22
- repeated :traffic_price_formats, :message, 16, "cakeproto.IdName"
23
- repeated :traffic_media_types, :message, 17, "cakeproto.MediaType"
24
- repeated :traffic_vertical_categories, :message, 18, "cakeproto.IdName"
25
- repeated :traffic_countries, :message, 19, "cakeproto.Country"
26
- optional :minimum_payment_threshold, :double, 20
27
- optional :auto_payment_fee, :double, 21
28
- optional :payment_to, :string, 22
29
- optional :tax_class, :string, 23
30
- optional :ssn_tax_id, :string, 24
31
- optional :pay_vat, :bool, 25
32
- optional :swift_iban, :string, 26
33
- optional :referrals_enabled, :bool, 27
34
- optional :referred_by_affiliate, :message, 28, "cakeproto.IdName"
35
- optional :referral_info, :string, 29
36
- optional :billing_cycle, :message, 30, "cakeproto.IdName"
37
- optional :currency, :message, 31, "cakeproto.Currency"
38
- optional :currency_payment_setting, :message, 32, "cakeproto.IdName"
39
- optional :online_signup, :bool, 33
40
- optional :pay_for_conversions, :bool, 34
41
- optional :review, :bool, 35
42
- optional :review_new_subaffiliates, :bool, 36
43
- optional :suppression, :bool, 37
44
- optional :pixel_info, :message, 38, "cakeproto.PixelInfo"
45
- optional :fire_global_pixel, :bool, 39
46
- repeated :blacklists, :message, 40, "cakeproto.Blacklist"
47
- optional :redirect_domain_override, :string, 41
48
- optional :auto_approve_campaigns, :bool, 42
49
- optional :auto_approve_pixels, :bool, 43
50
- optional :hide_offers, :bool, 44
51
- optional :date_created, :message, 45, "cakeproto.TimeWithZone"
52
- optional :notes, :string, 46
53
- end
54
- add_message "cakeproto.Affiliate.PaymentType" do
55
- optional :id, :int64, 1
56
- optional :name, :string, 2
57
- optional :info, :string, 3
6
+ add_file("affiliates.proto", :syntax => :proto3) do
7
+ add_message "cakeproto.Affiliate" do
8
+ optional :id, :int64, 1
9
+ optional :name, :string, 2
10
+ optional :tier, :message, 3, "cakeproto.IdName"
11
+ optional :account_manager, :message, 4, "cakeproto.IdName"
12
+ optional :account_status, :message, 5, "cakeproto.IdName"
13
+ optional :street1, :string, 6
14
+ optional :street2, :string, 7
15
+ optional :city, :string, 8
16
+ optional :state, :string, 9
17
+ optional :zip_code, :string, 10
18
+ optional :country, :string, 11
19
+ optional :website, :string, 12
20
+ optional :payment_type, :message, 13, "cakeproto.Affiliate.PaymentType"
21
+ repeated :contacts, :message, 14, "cakeproto.Contact"
22
+ repeated :tags, :message, 15, "cakeproto.IdName"
23
+ repeated :traffic_price_formats, :message, 16, "cakeproto.IdName"
24
+ repeated :traffic_media_types, :message, 17, "cakeproto.MediaType"
25
+ repeated :traffic_vertical_categories, :message, 18, "cakeproto.IdName"
26
+ repeated :traffic_countries, :message, 19, "cakeproto.Country"
27
+ optional :minimum_payment_threshold, :double, 20
28
+ optional :auto_payment_fee, :double, 21
29
+ optional :payment_to, :string, 22
30
+ optional :tax_class, :string, 23
31
+ optional :ssn_tax_id, :string, 24
32
+ optional :pay_vat, :bool, 25
33
+ optional :swift_iban, :string, 26
34
+ optional :referrals_enabled, :bool, 27
35
+ optional :referred_by_affiliate, :message, 28, "cakeproto.IdName"
36
+ optional :referral_info, :string, 29
37
+ optional :billing_cycle, :message, 30, "cakeproto.IdName"
38
+ optional :currency, :message, 31, "cakeproto.Currency"
39
+ optional :currency_payment_setting, :message, 32, "cakeproto.IdName"
40
+ optional :online_signup, :bool, 33
41
+ optional :pay_for_conversions, :bool, 34
42
+ optional :review, :bool, 35
43
+ optional :review_new_subaffiliates, :bool, 36
44
+ optional :suppression, :bool, 37
45
+ optional :pixel_info, :message, 38, "cakeproto.PixelInfo"
46
+ optional :fire_global_pixel, :bool, 39
47
+ repeated :blacklists, :message, 40, "cakeproto.Blacklist"
48
+ optional :redirect_domain_override, :string, 41
49
+ optional :auto_approve_campaigns, :bool, 42
50
+ optional :auto_approve_pixels, :bool, 43
51
+ optional :hide_offers, :bool, 44
52
+ optional :date_created, :message, 45, "cakeproto.TimeWithZone"
53
+ optional :notes, :string, 46
54
+ end
55
+ add_message "cakeproto.Affiliate.PaymentType" do
56
+ optional :id, :int64, 1
57
+ optional :name, :string, 2
58
+ optional :info, :string, 3
59
+ end
58
60
  end
59
61
  end
60
62
 
@@ -3,52 +3,54 @@
3
3
 
4
4
 
5
5
  Google::Protobuf::DescriptorPool.generated_pool.build do
6
- add_message "cakeproto.Campaign" do
7
- optional :id, :int64, 1
8
- optional :type, :message, 2, "cakeproto.IdName"
9
- optional :affiliate, :message, 3, "cakeproto.IdName"
10
- optional :offer, :message, 4, "cakeproto.IdName"
11
- optional :offer_contract, :message, 5, "cakeproto.IdName"
12
- optional :original, :bool, 6
13
- repeated :blocked_sub_affiliates, :message, 7, "cakeproto.IdName"
14
- repeated :blocked_creatives, :message, 8, "cakeproto.IdName"
15
- optional :account_status, :message, 9, "cakeproto.IdName"
16
- optional :currency, :message, 10, "cakeproto.Currency"
17
- optional :media_type, :message, 11, "cakeproto.IdName"
18
- optional :link_display_type, :message, 12, "cakeproto.IdName"
19
- repeated :event_overrides, :message, 13, "cakeproto.EventOverride"
20
- optional :date_contacted, :message, 14, "cakeproto.TimeWithZone"
21
- optional :date_io_sent, :message, 15, "cakeproto.TimeWithZone"
22
- optional :date_io_signed, :message, 16, "cakeproto.TimeWithZone"
23
- optional :date_creative_sent, :message, 17, "cakeproto.TimeWithZone"
24
- optional :date_pixel_placed, :message, 18, "cakeproto.TimeWithZone"
25
- repeated :payouts, :message, 19, "cakeproto.HistorizedMoney"
26
- optional :paid, :bool, 20
27
- optional :paid_redirects, :bool, 21
28
- optional :disable_prepop_appending, :bool, 22
29
- optional :redirect_domain, :string, 23
30
- optional :click_cap, :message, 24, "cakeproto.Cap"
31
- optional :conversion_cap, :message, 25, "cakeproto.Cap"
32
- optional :pixel_info, :message, 26, "cakeproto.PixelInfo"
33
- optional :disable_upsells, :bool, 27
34
- optional :paid_upsells, :bool, 28
35
- optional :paid_upsells_same_session_only, :bool, 29
36
- optional :clear_session_on_conversion, :bool, 30
37
- repeated :upsells, :message, 31, "cakeproto.Upsell"
38
- repeated :voucher_codes, :message, 32, "cakeproto.Campaign.VoucherCode"
39
- optional :test_link, :string, 33
40
- optional :redirect_offer, :message, 34, "cakeproto.IdName"
41
- optional :redirect404, :bool, 35
42
- optional :date_created, :message, 36, "cakeproto.TimeWithZone"
43
- optional :expiration_date, :message, 37, "cakeproto.TimeWithZone"
44
- optional :notes, :string, 38
45
- end
46
- add_message "cakeproto.Campaign.VoucherCode" do
47
- optional :name, :string, 1
48
- optional :creative, :message, 2, "cakeproto.IdName"
49
- optional :start_date, :message, 3, "cakeproto.TimeWithZone"
50
- optional :expiration_date, :message, 4, "cakeproto.TimeWithZone"
51
- optional :active, :bool, 5
6
+ add_file("campaigns.proto", :syntax => :proto3) do
7
+ add_message "cakeproto.Campaign" do
8
+ optional :id, :int64, 1
9
+ optional :type, :message, 2, "cakeproto.IdName"
10
+ optional :affiliate, :message, 3, "cakeproto.IdName"
11
+ optional :offer, :message, 4, "cakeproto.IdName"
12
+ optional :offer_contract, :message, 5, "cakeproto.IdName"
13
+ optional :original, :bool, 6
14
+ repeated :blocked_sub_affiliates, :message, 7, "cakeproto.IdName"
15
+ repeated :blocked_creatives, :message, 8, "cakeproto.IdName"
16
+ optional :account_status, :message, 9, "cakeproto.IdName"
17
+ optional :currency, :message, 10, "cakeproto.Currency"
18
+ optional :media_type, :message, 11, "cakeproto.IdName"
19
+ optional :link_display_type, :message, 12, "cakeproto.IdName"
20
+ repeated :event_overrides, :message, 13, "cakeproto.EventOverride"
21
+ optional :date_contacted, :message, 14, "cakeproto.TimeWithZone"
22
+ optional :date_io_sent, :message, 15, "cakeproto.TimeWithZone"
23
+ optional :date_io_signed, :message, 16, "cakeproto.TimeWithZone"
24
+ optional :date_creative_sent, :message, 17, "cakeproto.TimeWithZone"
25
+ optional :date_pixel_placed, :message, 18, "cakeproto.TimeWithZone"
26
+ repeated :payouts, :message, 19, "cakeproto.HistorizedMoney"
27
+ optional :paid, :bool, 20
28
+ optional :paid_redirects, :bool, 21
29
+ optional :disable_prepop_appending, :bool, 22
30
+ optional :redirect_domain, :string, 23
31
+ optional :click_cap, :message, 24, "cakeproto.Cap"
32
+ optional :conversion_cap, :message, 25, "cakeproto.Cap"
33
+ optional :pixel_info, :message, 26, "cakeproto.PixelInfo"
34
+ optional :disable_upsells, :bool, 27
35
+ optional :paid_upsells, :bool, 28
36
+ optional :paid_upsells_same_session_only, :bool, 29
37
+ optional :clear_session_on_conversion, :bool, 30
38
+ repeated :upsells, :message, 31, "cakeproto.Upsell"
39
+ repeated :voucher_codes, :message, 32, "cakeproto.Campaign.VoucherCode"
40
+ optional :test_link, :string, 33
41
+ optional :redirect_offer, :message, 34, "cakeproto.IdName"
42
+ optional :redirect404, :bool, 35
43
+ optional :date_created, :message, 36, "cakeproto.TimeWithZone"
44
+ optional :expiration_date, :message, 37, "cakeproto.TimeWithZone"
45
+ optional :notes, :string, 38
46
+ end
47
+ add_message "cakeproto.Campaign.VoucherCode" do
48
+ optional :name, :string, 1
49
+ optional :creative, :message, 2, "cakeproto.IdName"
50
+ optional :start_date, :message, 3, "cakeproto.TimeWithZone"
51
+ optional :expiration_date, :message, 4, "cakeproto.TimeWithZone"
52
+ optional :active, :bool, 5
53
+ end
52
54
  end
53
55
  end
54
56
 
@@ -3,21 +3,23 @@
3
3
 
4
4
 
5
5
  Google::Protobuf::DescriptorPool.generated_pool.build do
6
- add_message "cakeproto.CapState" do
7
- optional :advertiser, :message, 1, "cakeproto.IdName"
8
- optional :offer, :message, 2, "cakeproto.IdName"
9
- optional :offer_contract, :message, 3, "cakeproto.IdName"
10
- optional :affiliate, :message, 4, "cakeproto.IdName"
11
- optional :campaign_id, :int64, 5
12
- optional :entity, :string, 6
13
- optional :type, :message, 7, "cakeproto.IdName"
14
- optional :interval, :message, 8, "cakeproto.IdName"
15
- optional :active, :bool, 9
16
- optional :start_date, :message, 10, "cakeproto.TimeWithZone"
17
- optional :end_date, :message, 11, "cakeproto.TimeWithZone"
18
- optional :current, :int64, 12
19
- optional :limit, :message, 14, "cakeproto.MaybeInt"
20
- optional :limit_DEPRECATED, :int64, 13
6
+ add_file("cap_states.proto", :syntax => :proto3) do
7
+ add_message "cakeproto.CapState" do
8
+ optional :advertiser, :message, 1, "cakeproto.IdName"
9
+ optional :offer, :message, 2, "cakeproto.IdName"
10
+ optional :offer_contract, :message, 3, "cakeproto.IdName"
11
+ optional :affiliate, :message, 4, "cakeproto.IdName"
12
+ optional :campaign_id, :int64, 5
13
+ optional :entity, :string, 6
14
+ optional :type, :message, 7, "cakeproto.IdName"
15
+ optional :interval, :message, 8, "cakeproto.IdName"
16
+ optional :active, :bool, 9
17
+ optional :start_date, :message, 10, "cakeproto.TimeWithZone"
18
+ optional :end_date, :message, 11, "cakeproto.TimeWithZone"
19
+ optional :current, :int64, 12
20
+ optional :limit, :message, 14, "cakeproto.MaybeInt"
21
+ optional :limit_DEPRECATED, :int64, 13
22
+ end
21
23
  end
22
24
  end
23
25
 
@@ -3,41 +3,44 @@
3
3
 
4
4
 
5
5
  Google::Protobuf::DescriptorPool.generated_pool.build do
6
- add_message "cakeproto.Click" do
7
- optional :original_id, :int64, 1
8
- optional :id, :string, 32
9
- optional :original_visitor_id, :int64, 2
10
- optional :visitor_id, :string, 33
11
- optional :original_tracking_id, :int64, 30
12
- optional :tracking_id, :string, 34
13
- optional :original_request_session_id, :int64, 3
14
- optional :request_session_id, :string, 31
15
- optional :click_date, :message, 4, "cakeproto.TimeWithZone"
16
- optional :total_clicks, :int64, 29
17
- optional :affiliate, :message, 5, "cakeproto.IdName"
18
- optional :advertiser, :message, 6, "cakeproto.IdName"
19
- optional :offer, :message, 7, "cakeproto.IdName"
20
- optional :offer_contract, :message, 8, "cakeproto.IdName"
21
- optional :campaign_id, :int64, 9
22
- optional :creative, :message, 10, "cakeproto.IdName"
23
- optional :sub_id1, :string, 11
24
- optional :sub_id2, :string, 12
25
- optional :sub_id3, :string, 13
26
- optional :sub_id4, :string, 14
27
- optional :sub_id5, :string, 15
28
- optional :ip_address, :string, 16
29
- optional :user_agent, :string, 17
30
- optional :referrer_url, :string, 18
31
- optional :request_url, :string, 19
32
- optional :redirect_url, :string, 20
33
- optional :country, :message, 21, "cakeproto.Country"
34
- optional :region, :message, 22, "cakeproto.Region"
35
- optional :language, :message, 28, "cakeproto.IdName"
36
- optional :isp, :message, 23, "cakeproto.IdName"
37
- optional :disposition, :string, 24
38
- optional :paid_action, :int64, 25
39
- optional :paid, :message, 26, "cakeproto.MoneyWithCurrency"
40
- optional :received, :message, 27, "cakeproto.MoneyWithCurrency"
6
+ add_file("clicks.proto", :syntax => :proto3) do
7
+ add_message "cakeproto.Click" do
8
+ optional :original_id, :int64, 1
9
+ optional :id, :string, 35
10
+ optional :original_visitor_id, :int64, 2
11
+ optional :visitor_id, :string, 33
12
+ optional :original_tracking_id, :int64, 30
13
+ optional :tracking_id, :string, 34
14
+ optional :original_request_session_id, :int64, 3
15
+ optional :request_session_id, :string, 31
16
+ optional :click_date, :message, 4, "cakeproto.TimeWithZone"
17
+ optional :total_clicks, :int64, 29
18
+ optional :affiliate, :message, 5, "cakeproto.IdName"
19
+ optional :advertiser, :message, 6, "cakeproto.IdName"
20
+ optional :offer, :message, 7, "cakeproto.IdName"
21
+ optional :offer_contract, :message, 8, "cakeproto.IdName"
22
+ optional :campaign_id, :int64, 9
23
+ optional :creative, :message, 10, "cakeproto.IdName"
24
+ optional :sub_id1, :string, 11
25
+ optional :sub_id2, :string, 12
26
+ optional :sub_id3, :string, 13
27
+ optional :sub_id4, :string, 14
28
+ optional :sub_id5, :string, 15
29
+ optional :ip_address, :string, 16
30
+ optional :user_agent, :string, 17
31
+ optional :referrer_url, :string, 18
32
+ optional :request_url, :string, 19
33
+ optional :redirect_url, :string, 20
34
+ optional :country, :message, 21, "cakeproto.Country"
35
+ optional :region, :message, 22, "cakeproto.Region"
36
+ optional :language, :message, 28, "cakeproto.IdName"
37
+ optional :isp, :message, 23, "cakeproto.IdName"
38
+ optional :disposition, :string, 24
39
+ optional :paid_action, :int64, 25
40
+ optional :paid, :message, 26, "cakeproto.MoneyWithCurrency"
41
+ optional :received, :message, 27, "cakeproto.MoneyWithCurrency"
42
+ optional :duplicate, :bool, 32
43
+ end
41
44
  end
42
45
  end
43
46
 
@@ -3,131 +3,133 @@
3
3
 
4
4
 
5
5
  Google::Protobuf::DescriptorPool.generated_pool.build do
6
- add_message "cakeproto.IdName" do
7
- optional :id, :int64, 1
8
- optional :name, :string, 2
9
- end
10
- add_message "cakeproto.TimeWithZone" do
11
- optional :unix_seconds, :int64, 1
12
- optional :timezone_location, :string, 2
13
- end
14
- add_message "cakeproto.Currency" do
15
- optional :id, :int64, 1
16
- optional :symbol, :string, 2
17
- optional :name, :string, 3
18
- optional :abbr, :string, 4
19
- end
20
- add_message "cakeproto.PixelInfo" do
21
- optional :html, :string, 1
22
- optional :hash_type, :message, 2, "cakeproto.IdName"
23
- optional :postback_url, :string, 3
24
- optional :postback_delay_ms, :int64, 4
25
- end
26
- add_message "cakeproto.Money" do
27
- optional :is_percentage, :bool, 1
28
- optional :amount, :double, 2
29
- optional :formatted_amount, :string, 3
30
- end
31
- add_message "cakeproto.MoneyWithCurrency" do
32
- optional :currency_id, :int64, 1
33
- optional :amount, :double, 2
34
- optional :formatted_amount, :string, 3
35
- end
36
- add_message "cakeproto.MediaType" do
37
- optional :id, :int64, 1
38
- optional :name, :string, 2
39
- optional :category_id, :int64, 3
40
- optional :category_name, :string, 4
41
- end
42
- add_message "cakeproto.Country" do
43
- optional :code, :string, 1
44
- optional :name, :string, 2
45
- end
46
- add_message "cakeproto.Region" do
47
- optional :code, :string, 1
48
- optional :name, :string, 2
49
- end
50
- add_message "cakeproto.SuppressionList" do
51
- optional :id, :int64, 1
52
- optional :name, :string, 2
53
- optional :type, :message, 3, "cakeproto.IdName"
54
- optional :md5_only, :bool, 4
55
- optional :date_created, :message, 5, "cakeproto.TimeWithZone"
56
- optional :date_updated, :message, 6, "cakeproto.TimeWithZone"
57
- optional :list_location, :string, 7
58
- end
59
- add_message "cakeproto.Contact" do
60
- optional :id, :int64, 1
61
- optional :type, :message, 2, "cakeproto.IdName"
62
- optional :role, :message, 3, "cakeproto.IdName"
63
- optional :first_name, :string, 4
64
- optional :last_name, :string, 5
65
- optional :email_address, :string, 6
66
- optional :title, :string, 7
67
- optional :phone_work, :string, 8
68
- optional :phone_cell, :string, 9
69
- optional :phone_fax, :string, 10
70
- optional :im_service, :string, 11
71
- optional :im_name, :string, 12
72
- optional :include_in_mass_emails, :bool, 13
73
- optional :notes, :string, 14
74
- end
75
- add_message "cakeproto.Blacklist" do
76
- optional :advertiser, :message, 1, "cakeproto.IdName"
77
- optional :offer, :message, 2, "cakeproto.IdName"
78
- optional :affiliate, :message, 3, "cakeproto.IdName"
79
- optional :sub_affiliate, :message, 4, "cakeproto.IdName"
80
- optional :reason, :message, 5, "cakeproto.IdName"
81
- optional :type, :message, 6, "cakeproto.IdName"
82
- optional :date_created, :message, 7, "cakeproto.TimeWithZone"
83
- end
84
- add_message "cakeproto.Cap" do
85
- optional :limit, :int64, 1
86
- optional :interval, :message, 2, "cakeproto.IdName"
87
- optional :start_date, :message, 3, "cakeproto.TimeWithZone"
88
- optional :review_no_redirect, :bool, 4
89
- end
90
- add_message "cakeproto.HistorizedMoney" do
91
- optional :current, :bool, 1
92
- optional :start_date, :message, 2, "cakeproto.TimeWithZone"
93
- optional :money, :message, 3, "cakeproto.Money"
94
- optional :notes, :string, 4
95
- end
96
- add_message "cakeproto.EventOverride" do
97
- optional :id, :int64, 1
98
- optional :name, :string, 2
99
- optional :active, :bool, 3
100
- optional :payout_fallback, :string, 4
101
- optional :received_fallback, :string, 5
102
- optional :cap, :message, 6, "cakeproto.Cap"
103
- optional :start_date, :message, 7, "cakeproto.TimeWithZone"
104
- optional :review_no_redirect, :bool, 8
105
- end
106
- add_message "cakeproto.Upsell" do
107
- optional :offer_contract, :message, 1, "cakeproto.IdName"
108
- optional :creative, :message, 2, "cakeproto.IdName"
109
- optional :order, :int64, 3
110
- optional :top_html, :string, 4
111
- optional :bottom_html, :string, 5
112
- optional :prepop_link, :bool, 6
113
- end
114
- add_message "cakeproto.ExchangeRate" do
115
- optional :base_currency, :message, 1, "cakeproto.Currency"
116
- optional :quote_currency, :message, 2, "cakeproto.Currency"
117
- optional :start_date, :message, 3, "cakeproto.TimeWithZone"
118
- optional :end_date, :message, 4, "cakeproto.TimeWithZone"
119
- optional :rate, :double, 5
120
- end
121
- add_message "cakeproto.Disposition" do
122
- optional :id, :int64, 1
123
- optional :name, :string, 2
124
- optional :type, :message, 3, "cakeproto.IdName"
125
- optional :contact, :string, 4
126
- optional :disposition_date, :message, 5, "cakeproto.TimeWithZone"
127
- end
128
- add_message "cakeproto.MaybeInt" do
129
- optional :value, :int64, 1
130
- optional :has_value, :bool, 2
6
+ add_file("common.proto", :syntax => :proto3) do
7
+ add_message "cakeproto.IdName" do
8
+ optional :id, :int64, 1
9
+ optional :name, :string, 2
10
+ end
11
+ add_message "cakeproto.TimeWithZone" do
12
+ optional :unix_seconds, :int64, 1
13
+ optional :timezone_location, :string, 2
14
+ end
15
+ add_message "cakeproto.Currency" do
16
+ optional :id, :int64, 1
17
+ optional :symbol, :string, 2
18
+ optional :name, :string, 3
19
+ optional :abbr, :string, 4
20
+ end
21
+ add_message "cakeproto.PixelInfo" do
22
+ optional :html, :string, 1
23
+ optional :hash_type, :message, 2, "cakeproto.IdName"
24
+ optional :postback_url, :string, 3
25
+ optional :postback_delay_ms, :int64, 4
26
+ end
27
+ add_message "cakeproto.Money" do
28
+ optional :is_percentage, :bool, 1
29
+ optional :amount, :double, 2
30
+ optional :formatted_amount, :string, 3
31
+ end
32
+ add_message "cakeproto.MoneyWithCurrency" do
33
+ optional :currency_id, :int64, 1
34
+ optional :amount, :double, 2
35
+ optional :formatted_amount, :string, 3
36
+ end
37
+ add_message "cakeproto.MediaType" do
38
+ optional :id, :int64, 1
39
+ optional :name, :string, 2
40
+ optional :category_id, :int64, 3
41
+ optional :category_name, :string, 4
42
+ end
43
+ add_message "cakeproto.Country" do
44
+ optional :code, :string, 1
45
+ optional :name, :string, 2
46
+ end
47
+ add_message "cakeproto.Region" do
48
+ optional :code, :string, 1
49
+ optional :name, :string, 2
50
+ end
51
+ add_message "cakeproto.SuppressionList" do
52
+ optional :id, :int64, 1
53
+ optional :name, :string, 2
54
+ optional :type, :message, 3, "cakeproto.IdName"
55
+ optional :md5_only, :bool, 4
56
+ optional :date_created, :message, 5, "cakeproto.TimeWithZone"
57
+ optional :date_updated, :message, 6, "cakeproto.TimeWithZone"
58
+ optional :list_location, :string, 7
59
+ end
60
+ add_message "cakeproto.Contact" do
61
+ optional :id, :int64, 1
62
+ optional :type, :message, 2, "cakeproto.IdName"
63
+ optional :role, :message, 3, "cakeproto.IdName"
64
+ optional :first_name, :string, 4
65
+ optional :last_name, :string, 5
66
+ optional :email_address, :string, 6
67
+ optional :title, :string, 7
68
+ optional :phone_work, :string, 8
69
+ optional :phone_cell, :string, 9
70
+ optional :phone_fax, :string, 10
71
+ optional :im_service, :string, 11
72
+ optional :im_name, :string, 12
73
+ optional :include_in_mass_emails, :bool, 13
74
+ optional :notes, :string, 14
75
+ end
76
+ add_message "cakeproto.Blacklist" do
77
+ optional :advertiser, :message, 1, "cakeproto.IdName"
78
+ optional :offer, :message, 2, "cakeproto.IdName"
79
+ optional :affiliate, :message, 3, "cakeproto.IdName"
80
+ optional :sub_affiliate, :message, 4, "cakeproto.IdName"
81
+ optional :reason, :message, 5, "cakeproto.IdName"
82
+ optional :type, :message, 6, "cakeproto.IdName"
83
+ optional :date_created, :message, 7, "cakeproto.TimeWithZone"
84
+ end
85
+ add_message "cakeproto.Cap" do
86
+ optional :limit, :int64, 1
87
+ optional :interval, :message, 2, "cakeproto.IdName"
88
+ optional :start_date, :message, 3, "cakeproto.TimeWithZone"
89
+ optional :review_no_redirect, :bool, 4
90
+ end
91
+ add_message "cakeproto.HistorizedMoney" do
92
+ optional :current, :bool, 1
93
+ optional :start_date, :message, 2, "cakeproto.TimeWithZone"
94
+ optional :money, :message, 3, "cakeproto.Money"
95
+ optional :notes, :string, 4
96
+ end
97
+ add_message "cakeproto.EventOverride" do
98
+ optional :id, :int64, 1
99
+ optional :name, :string, 2
100
+ optional :active, :bool, 3
101
+ optional :payout_fallback, :string, 4
102
+ optional :received_fallback, :string, 5
103
+ optional :cap, :message, 6, "cakeproto.Cap"
104
+ optional :start_date, :message, 7, "cakeproto.TimeWithZone"
105
+ optional :review_no_redirect, :bool, 8
106
+ end
107
+ add_message "cakeproto.Upsell" do
108
+ optional :offer_contract, :message, 1, "cakeproto.IdName"
109
+ optional :creative, :message, 2, "cakeproto.IdName"
110
+ optional :order, :int64, 3
111
+ optional :top_html, :string, 4
112
+ optional :bottom_html, :string, 5
113
+ optional :prepop_link, :bool, 6
114
+ end
115
+ add_message "cakeproto.ExchangeRate" do
116
+ optional :base_currency, :message, 1, "cakeproto.Currency"
117
+ optional :quote_currency, :message, 2, "cakeproto.Currency"
118
+ optional :start_date, :message, 3, "cakeproto.TimeWithZone"
119
+ optional :end_date, :message, 4, "cakeproto.TimeWithZone"
120
+ optional :rate, :double, 5
121
+ end
122
+ add_message "cakeproto.Disposition" do
123
+ optional :id, :int64, 1
124
+ optional :name, :string, 2
125
+ optional :type, :message, 3, "cakeproto.IdName"
126
+ optional :contact, :string, 4
127
+ optional :disposition_date, :message, 5, "cakeproto.TimeWithZone"
128
+ end
129
+ add_message "cakeproto.MaybeInt" do
130
+ optional :value, :int64, 1
131
+ optional :has_value, :bool, 2
132
+ end
131
133
  end
132
134
  end
133
135
 
@@ -3,51 +3,53 @@
3
3
 
4
4
 
5
5
  Google::Protobuf::DescriptorPool.generated_pool.build do
6
- add_message "cakeproto.Conversion" do
7
- optional :id, :int64, 1
8
- optional :original_visitor_id, :int64, 2
9
- optional :visitor_id, :string, 42
10
- optional :original_tracking_id, :int64, 39
11
- optional :tracking_id, :string, 43
12
- optional :original_request_session_id, :int64, 3
13
- optional :request_session_id, :string, 40
14
- optional :original_click_id, :int64, 4
15
- optional :click_id, :string, 44
16
- optional :original_click_request_session_id, :int64, 5
17
- optional :click_request_session_id, :string, 41
18
- optional :conversion_date, :message, 6, "cakeproto.TimeWithZone"
19
- optional :click_date, :message, 7, "cakeproto.TimeWithZone"
20
- optional :last_updated, :message, 8, "cakeproto.TimeWithZone"
21
- optional :event, :message, 9, "cakeproto.IdName"
22
- optional :affiliate, :message, 10, "cakeproto.IdName"
23
- optional :advertiser, :message, 11, "cakeproto.IdName"
24
- optional :offer, :message, 12, "cakeproto.IdName"
25
- optional :offer_contract, :message, 13, "cakeproto.IdName"
26
- optional :campaign_id, :int64, 14
27
- optional :campaign_type, :message, 15, "cakeproto.IdName"
28
- optional :creative, :message, 16, "cakeproto.IdName"
29
- optional :sub_id1, :string, 17
30
- optional :sub_id2, :string, 18
31
- optional :sub_id3, :string, 19
32
- optional :sub_id4, :string, 20
33
- optional :sub_id5, :string, 21
34
- optional :ip_address, :string, 22
35
- optional :click_ip_address, :string, 36
36
- optional :user_agent, :string, 23
37
- optional :click_user_agent, :string, 37
38
- optional :source_type, :string, 24
39
- optional :price_format, :message, 25, "cakeproto.IdName"
40
- optional :paid, :message, 26, "cakeproto.MoneyWithCurrency"
41
- optional :received, :message, 27, "cakeproto.MoneyWithCurrency"
42
- optional :step_reached, :int64, 28
43
- optional :transaction_id, :string, 29
44
- optional :current_disposition, :message, 30, "cakeproto.Disposition"
45
- optional :order_total, :message, 38, "cakeproto.MoneyWithCurrency"
46
- optional :country, :message, 31, "cakeproto.Country"
47
- optional :region, :message, 32, "cakeproto.Region"
48
- optional :language, :message, 33, "cakeproto.IdName"
49
- optional :isp, :message, 34, "cakeproto.IdName"
50
- optional :note, :string, 35
6
+ add_file("conversions.proto", :syntax => :proto3) do
7
+ add_message "cakeproto.Conversion" do
8
+ optional :id, :int64, 1
9
+ optional :original_visitor_id, :int64, 2
10
+ optional :visitor_id, :string, 42
11
+ optional :original_tracking_id, :int64, 39
12
+ optional :tracking_id, :string, 43
13
+ optional :original_request_session_id, :int64, 3
14
+ optional :request_session_id, :string, 40
15
+ optional :original_click_id, :int64, 4
16
+ optional :click_id, :string, 44
17
+ optional :original_click_request_session_id, :int64, 5
18
+ optional :click_request_session_id, :string, 41
19
+ optional :conversion_date, :message, 6, "cakeproto.TimeWithZone"
20
+ optional :click_date, :message, 7, "cakeproto.TimeWithZone"
21
+ optional :last_updated, :message, 8, "cakeproto.TimeWithZone"
22
+ optional :event, :message, 9, "cakeproto.IdName"
23
+ optional :affiliate, :message, 10, "cakeproto.IdName"
24
+ optional :advertiser, :message, 11, "cakeproto.IdName"
25
+ optional :offer, :message, 12, "cakeproto.IdName"
26
+ optional :offer_contract, :message, 13, "cakeproto.IdName"
27
+ optional :campaign_id, :int64, 14
28
+ optional :campaign_type, :message, 15, "cakeproto.IdName"
29
+ optional :creative, :message, 16, "cakeproto.IdName"
30
+ optional :sub_id1, :string, 17
31
+ optional :sub_id2, :string, 18
32
+ optional :sub_id3, :string, 19
33
+ optional :sub_id4, :string, 20
34
+ optional :sub_id5, :string, 21
35
+ optional :ip_address, :string, 22
36
+ optional :click_ip_address, :string, 36
37
+ optional :user_agent, :string, 23
38
+ optional :click_user_agent, :string, 37
39
+ optional :source_type, :string, 24
40
+ optional :price_format, :message, 25, "cakeproto.IdName"
41
+ optional :paid, :message, 26, "cakeproto.MoneyWithCurrency"
42
+ optional :received, :message, 27, "cakeproto.MoneyWithCurrency"
43
+ optional :step_reached, :int64, 28
44
+ optional :transaction_id, :string, 29
45
+ optional :current_disposition, :message, 30, "cakeproto.Disposition"
46
+ optional :order_total, :message, 38, "cakeproto.MoneyWithCurrency"
47
+ optional :country, :message, 31, "cakeproto.Country"
48
+ optional :region, :message, 32, "cakeproto.Region"
49
+ optional :language, :message, 33, "cakeproto.IdName"
50
+ optional :isp, :message, 34, "cakeproto.IdName"
51
+ optional :note, :string, 35
52
+ end
51
53
  end
52
54
  end
53
55
 
@@ -3,26 +3,28 @@
3
3
 
4
4
 
5
5
  Google::Protobuf::DescriptorPool.generated_pool.build do
6
- add_message "cakeproto.Creative" do
7
- optional :id, :int64, 1
8
- optional :name, :string, 2
9
- optional :offer_id, :int64, 3
10
- optional :type, :message, 4, "cakeproto.IdName"
11
- optional :status, :message, 5, "cakeproto.IdName"
12
- optional :offer_link_override, :string, 6
13
- optional :width, :int64, 7
14
- optional :height, :int64, 8
15
- repeated :files, :message, 9, "cakeproto.Creative.File"
16
- optional :date_created, :message, 10, "cakeproto.TimeWithZone"
17
- optional :expiration_date, :message, 11, "cakeproto.TimeWithZone"
18
- optional :notes, :string, 12
19
- end
20
- add_message "cakeproto.Creative.File" do
21
- optional :id, :int64, 1
22
- optional :name, :string, 2
23
- optional :link, :string, 3
24
- optional :preview, :bool, 4
25
- optional :date_created, :message, 5, "cakeproto.TimeWithZone"
6
+ add_file("creatives.proto", :syntax => :proto3) do
7
+ add_message "cakeproto.Creative" do
8
+ optional :id, :int64, 1
9
+ optional :name, :string, 2
10
+ optional :offer_id, :int64, 3
11
+ optional :type, :message, 4, "cakeproto.IdName"
12
+ optional :status, :message, 5, "cakeproto.IdName"
13
+ optional :offer_link_override, :string, 6
14
+ optional :width, :int64, 7
15
+ optional :height, :int64, 8
16
+ repeated :files, :message, 9, "cakeproto.Creative.File"
17
+ optional :date_created, :message, 10, "cakeproto.TimeWithZone"
18
+ optional :expiration_date, :message, 11, "cakeproto.TimeWithZone"
19
+ optional :notes, :string, 12
20
+ end
21
+ add_message "cakeproto.Creative.File" do
22
+ optional :id, :int64, 1
23
+ optional :name, :string, 2
24
+ optional :link, :string, 3
25
+ optional :preview, :bool, 4
26
+ optional :date_created, :message, 5, "cakeproto.TimeWithZone"
27
+ end
26
28
  end
27
29
  end
28
30
 
@@ -3,22 +3,24 @@
3
3
 
4
4
 
5
5
  Google::Protobuf::DescriptorPool.generated_pool.build do
6
- add_message "cakeproto.DailySummary" do
7
- optional :date, :string, 1
8
- optional :views, :int64, 2
9
- optional :clicks, :int64, 3
10
- optional :click_thru, :double, 4
11
- optional :conversions, :int64, 5
12
- optional :paid, :int64, 6
13
- optional :sellable, :int64, 7
14
- optional :conversion_rate, :double, 8
15
- optional :cpl, :double, 9
16
- optional :cost, :double, 10
17
- optional :rpt, :double, 11
18
- optional :revenue, :double, 12
19
- optional :margin, :double, 13
20
- optional :profit, :double, 14
21
- optional :epc, :double, 15
6
+ add_file("daily_summaries.proto", :syntax => :proto3) do
7
+ add_message "cakeproto.DailySummary" do
8
+ optional :date, :string, 1
9
+ optional :views, :int64, 2
10
+ optional :clicks, :int64, 3
11
+ optional :click_thru, :double, 4
12
+ optional :conversions, :int64, 5
13
+ optional :paid, :int64, 6
14
+ optional :sellable, :int64, 7
15
+ optional :conversion_rate, :double, 8
16
+ optional :cpl, :double, 9
17
+ optional :cost, :double, 10
18
+ optional :rpt, :double, 11
19
+ optional :revenue, :double, 12
20
+ optional :margin, :double, 13
21
+ optional :profit, :double, 14
22
+ optional :epc, :double, 15
23
+ end
22
24
  end
23
25
  end
24
26
 
@@ -3,89 +3,91 @@
3
3
 
4
4
 
5
5
  Google::Protobuf::DescriptorPool.generated_pool.build do
6
- add_message "cakeproto.Offer" do
7
- optional :id, :int64, 1
8
- optional :name, :string, 2
9
- optional :advertiser, :message, 3, "cakeproto.IdName"
10
- optional :vertical, :message, 4, "cakeproto.IdName"
11
- optional :type, :message, 5, "cakeproto.IdName"
12
- optional :status, :message, 6, "cakeproto.IdName"
13
- optional :hidden, :bool, 7
14
- optional :image_link, :string, 8
15
- optional :default_contract_id, :int64, 9
16
- repeated :contracts, :message, 10, "cakeproto.Offer.Contract"
17
- repeated :tiers, :message, 11, "cakeproto.Offer.Tier"
18
- repeated :tags, :message, 12, "cakeproto.IdName"
19
- repeated :allowed_media_types, :message, 13, "cakeproto.MediaType"
20
- optional :currency, :message, 14, "cakeproto.Currency"
21
- optional :ssl, :bool, 15
22
- optional :click_cap, :message, 16, "cakeproto.Cap"
23
- optional :conversion_cap, :message, 17, "cakeproto.Cap"
24
- optional :click_cookie_days, :int64, 18
25
- optional :impression_cookie_days, :int64, 19
26
- optional :enable_view_thru_conversions, :bool, 20
27
- optional :click_trumps_impression, :bool, 21
28
- optional :disable_click_deduplication, :bool, 22
29
- optional :disable_impression_deduplication, :bool, 23
30
- optional :voucher_code_attribution, :message, 24, "cakeproto.IdName"
31
- optional :last_touch, :bool, 25
32
- optional :enable_transaction_id_deduplication, :bool, 26
33
- optional :conversions_from_whitelist_only, :bool, 27
34
- optional :pixel_info, :message, 28, "cakeproto.PixelInfo"
35
- optional :fire_global_pixel, :bool, 29
36
- optional :fire_pixel_on_non_paid_conversions, :bool, 30
37
- optional :disable_prepop_appending, :bool, 31
38
- optional :redirect_offer, :message, 32, "cakeproto.IdName"
39
- optional :redirect404, :bool, 33
40
- optional :session_regeneration_seconds, :int64, 34
41
- optional :session_regeneration_type, :message, 35, "cakeproto.IdName"
42
- optional :suppression_list, :message, 36, "cakeproto.SuppressionList"
43
- optional :unsubscribe_link, :string, 37
44
- optional :preview_link, :string, 38
45
- optional :description, :string, 39
46
- optional :restrictions, :string, 40
47
- optional :advertiser_extended_terms, :string, 41
48
- optional :testing_instructions, :string, 42
49
- optional :from_lines, :string, 43
50
- optional :subject_lines, :string, 44
51
- repeated :upsells, :message, 45, "cakeproto.Upsell"
52
- optional :thankyou_html, :string, 46
53
- optional :notes, :string, 47
54
- optional :date_created, :message, 48, "cakeproto.TimeWithZone"
55
- optional :expiration_date, :message, 49, "cakeproto.TimeWithZone"
56
- end
57
- add_message "cakeproto.Offer.Contract" do
58
- optional :id, :int64, 1
59
- optional :name, :string, 2
60
- optional :price_format, :message, 3, "cakeproto.IdName"
61
- optional :current_payout, :message, 4, "cakeproto.Money"
62
- optional :current_received, :message, 5, "cakeproto.Money"
63
- optional :offer_link, :string, 6
64
- optional :thankyou_link, :string, 7
65
- optional :hidden, :bool, 8
66
- optional :targeting_method, :message, 9, "cakeproto.IdName"
67
- repeated :event_overrides, :message, 10, "cakeproto.EventOverride"
68
- repeated :payouts, :message, 11, "cakeproto.HistorizedMoney"
69
- repeated :prices_received, :message, 12, "cakeproto.HistorizedMoney"
70
- repeated :allowed_countries, :message, 13, "cakeproto.Offer.Contract.GeoTarget"
71
- repeated :disallowed_countries, :message, 14, "cakeproto.Offer.Contract.GeoTarget"
72
- repeated :rules, :message, 15, "cakeproto.Offer.Contract.Rule"
73
- end
74
- add_message "cakeproto.Offer.Contract.Rule" do
75
- optional :id, :int64, 1
76
- optional :name, :string, 2
77
- optional :order, :int64, 3
78
- optional :active, :bool, 4
79
- optional :redirect_offer, :message, 5, "cakeproto.IdName"
80
- end
81
- add_message "cakeproto.Offer.Contract.GeoTarget" do
82
- optional :country, :message, 1, "cakeproto.Country"
83
- optional :redirect_contract, :message, 2, "cakeproto.IdName"
84
- end
85
- add_message "cakeproto.Offer.Tier" do
86
- optional :price_format, :message, 1, "cakeproto.IdName"
87
- optional :affiliate_tier, :message, 2, "cakeproto.IdName"
88
- optional :contract, :message, 3, "cakeproto.IdName"
6
+ add_file("offers.proto", :syntax => :proto3) do
7
+ add_message "cakeproto.Offer" do
8
+ optional :id, :int64, 1
9
+ optional :name, :string, 2
10
+ optional :advertiser, :message, 3, "cakeproto.IdName"
11
+ optional :vertical, :message, 4, "cakeproto.IdName"
12
+ optional :type, :message, 5, "cakeproto.IdName"
13
+ optional :status, :message, 6, "cakeproto.IdName"
14
+ optional :hidden, :bool, 7
15
+ optional :image_link, :string, 8
16
+ optional :default_contract_id, :int64, 9
17
+ repeated :contracts, :message, 10, "cakeproto.Offer.Contract"
18
+ repeated :tiers, :message, 11, "cakeproto.Offer.Tier"
19
+ repeated :tags, :message, 12, "cakeproto.IdName"
20
+ repeated :allowed_media_types, :message, 13, "cakeproto.MediaType"
21
+ optional :currency, :message, 14, "cakeproto.Currency"
22
+ optional :ssl, :bool, 15
23
+ optional :click_cap, :message, 16, "cakeproto.Cap"
24
+ optional :conversion_cap, :message, 17, "cakeproto.Cap"
25
+ optional :click_cookie_days, :int64, 18
26
+ optional :impression_cookie_days, :int64, 19
27
+ optional :enable_view_thru_conversions, :bool, 20
28
+ optional :click_trumps_impression, :bool, 21
29
+ optional :disable_click_deduplication, :bool, 22
30
+ optional :disable_impression_deduplication, :bool, 23
31
+ optional :voucher_code_attribution, :message, 24, "cakeproto.IdName"
32
+ optional :last_touch, :bool, 25
33
+ optional :enable_transaction_id_deduplication, :bool, 26
34
+ optional :conversions_from_whitelist_only, :bool, 27
35
+ optional :pixel_info, :message, 28, "cakeproto.PixelInfo"
36
+ optional :fire_global_pixel, :bool, 29
37
+ optional :fire_pixel_on_non_paid_conversions, :bool, 30
38
+ optional :disable_prepop_appending, :bool, 31
39
+ optional :redirect_offer, :message, 32, "cakeproto.IdName"
40
+ optional :redirect404, :bool, 33
41
+ optional :session_regeneration_seconds, :int64, 34
42
+ optional :session_regeneration_type, :message, 35, "cakeproto.IdName"
43
+ optional :suppression_list, :message, 36, "cakeproto.SuppressionList"
44
+ optional :unsubscribe_link, :string, 37
45
+ optional :preview_link, :string, 38
46
+ optional :description, :string, 39
47
+ optional :restrictions, :string, 40
48
+ optional :advertiser_extended_terms, :string, 41
49
+ optional :testing_instructions, :string, 42
50
+ optional :from_lines, :string, 43
51
+ optional :subject_lines, :string, 44
52
+ repeated :upsells, :message, 45, "cakeproto.Upsell"
53
+ optional :thankyou_html, :string, 46
54
+ optional :notes, :string, 47
55
+ optional :date_created, :message, 48, "cakeproto.TimeWithZone"
56
+ optional :expiration_date, :message, 49, "cakeproto.TimeWithZone"
57
+ end
58
+ add_message "cakeproto.Offer.Contract" do
59
+ optional :id, :int64, 1
60
+ optional :name, :string, 2
61
+ optional :price_format, :message, 3, "cakeproto.IdName"
62
+ optional :current_payout, :message, 4, "cakeproto.Money"
63
+ optional :current_received, :message, 5, "cakeproto.Money"
64
+ optional :offer_link, :string, 6
65
+ optional :thankyou_link, :string, 7
66
+ optional :hidden, :bool, 8
67
+ optional :targeting_method, :message, 9, "cakeproto.IdName"
68
+ repeated :event_overrides, :message, 10, "cakeproto.EventOverride"
69
+ repeated :payouts, :message, 11, "cakeproto.HistorizedMoney"
70
+ repeated :prices_received, :message, 12, "cakeproto.HistorizedMoney"
71
+ repeated :allowed_countries, :message, 13, "cakeproto.Offer.Contract.GeoTarget"
72
+ repeated :disallowed_countries, :message, 14, "cakeproto.Offer.Contract.GeoTarget"
73
+ repeated :rules, :message, 15, "cakeproto.Offer.Contract.Rule"
74
+ end
75
+ add_message "cakeproto.Offer.Contract.Rule" do
76
+ optional :id, :int64, 1
77
+ optional :name, :string, 2
78
+ optional :order, :int64, 3
79
+ optional :active, :bool, 4
80
+ optional :redirect_offer, :message, 5, "cakeproto.IdName"
81
+ end
82
+ add_message "cakeproto.Offer.Contract.GeoTarget" do
83
+ optional :country, :message, 1, "cakeproto.Country"
84
+ optional :redirect_contract, :message, 2, "cakeproto.IdName"
85
+ end
86
+ add_message "cakeproto.Offer.Tier" do
87
+ optional :price_format, :message, 1, "cakeproto.IdName"
88
+ optional :affiliate_tier, :message, 2, "cakeproto.IdName"
89
+ optional :contract, :message, 3, "cakeproto.IdName"
90
+ end
89
91
  end
90
92
  end
91
93
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module BucketCake
4
- VERSION = '7.0.0.rc1'
4
+ VERSION = '7.0.0.rc2'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bucket_cake
3
3
  version: !ruby/object:Gem::Version
4
- version: 7.0.0.rc1
4
+ version: 7.0.0.rc2
5
5
  platform: ruby
6
6
  authors:
7
7
  - ad2games developers
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-12-17 00:00:00.000000000 Z
11
+ date: 2019-08-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -225,8 +225,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
225
225
  - !ruby/object:Gem::Version
226
226
  version: 1.3.1
227
227
  requirements: []
228
- rubyforge_project:
229
- rubygems_version: 2.7.6
228
+ rubygems_version: 3.0.2
230
229
  signing_key:
231
230
  specification_version: 4
232
231
  summary: Get cakeproto objects from S3.