talon_one 2.3.0 → 2.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +31 -5
- data/docs/ApplicationCampaignStats.md +27 -0
- data/docs/ApplicationReferee.md +27 -0
- data/docs/AwardGiveawayEffectProps.md +25 -0
- data/docs/Campaign.md +2 -0
- data/docs/Coupon.md +1 -1
- data/docs/CustomEffect.md +41 -0
- data/docs/CustomEffectProps.md +19 -0
- data/docs/CustomerInventory.md +4 -2
- data/docs/CustomerProfileIntegrationRequestV2.md +1 -1
- data/docs/Environment.md +10 -0
- data/docs/Giveaway.md +33 -0
- data/docs/GiveawaysPool.md +33 -0
- data/docs/ImportEntity.md +17 -0
- data/docs/InlineResponse20010.md +3 -3
- data/docs/InlineResponse20011.md +4 -2
- data/docs/InlineResponse20012.md +2 -4
- data/docs/InlineResponse20013.md +3 -3
- data/docs/InlineResponse20014.md +2 -2
- data/docs/InlineResponse20015.md +2 -2
- data/docs/InlineResponse20016.md +3 -3
- data/docs/InlineResponse20017.md +2 -2
- data/docs/InlineResponse20018.md +3 -3
- data/docs/InlineResponse20019.md +5 -3
- data/docs/InlineResponse20020.md +2 -2
- data/docs/InlineResponse20021.md +1 -1
- data/docs/InlineResponse20022.md +1 -1
- data/docs/InlineResponse20023.md +1 -1
- data/docs/InlineResponse20024.md +1 -1
- data/docs/InlineResponse20025.md +1 -1
- data/docs/InlineResponse20026.md +1 -1
- data/docs/InlineResponse20027.md +4 -2
- data/docs/InlineResponse20028.md +2 -4
- data/docs/InlineResponse20029.md +1 -1
- data/docs/InlineResponse2006.md +2 -2
- data/docs/InlineResponse2007.md +3 -3
- data/docs/InlineResponse2008.md +1 -1
- data/docs/InlineResponse2009.md +2 -2
- data/docs/{InlineResponse20030.md → InlineResponse201.md} +3 -3
- data/docs/IntegrationApi.md +77 -11
- data/docs/IntegrationRequest.md +1 -1
- data/docs/IntegrationStateV2.md +3 -1
- data/docs/InventoryCoupon.md +53 -0
- data/docs/LoyaltyProgram.md +3 -1
- data/docs/LoyaltyProgramEntity.md +17 -0
- data/docs/LoyaltyTier.md +25 -0
- data/docs/ManagementApi.md +370 -69
- data/docs/NewCustomEffect.md +29 -0
- data/docs/NewGiveawaysPool.md +21 -0
- data/docs/NewLoyaltyTier.md +19 -0
- data/docs/NewReferral.md +10 -6
- data/docs/NewReferralsForMultipleAdvocates.md +31 -0
- data/docs/NewRole.md +1 -1
- data/docs/Referral.md +13 -7
- data/docs/ReferralConstraints.md +21 -0
- data/docs/Role.md +8 -4
- data/docs/UpdateCustomEffect.md +29 -0
- data/docs/UpdateLoyaltyTier.md +19 -0
- data/docs/UpdateReferral.md +25 -0
- data/docs/UpdateRole.md +1 -1
- data/docs/WillAwardGiveawayEffectProps.md +21 -0
- data/lib/talon_one.rb +21 -1
- data/lib/talon_one/api/integration_api.rb +80 -10
- data/lib/talon_one/api/management_api.rb +460 -97
- data/lib/talon_one/models/application_campaign_stats.rb +288 -0
- data/lib/talon_one/models/application_referee.rb +288 -0
- data/lib/talon_one/models/attribute.rb +2 -2
- data/lib/talon_one/models/award_giveaway_effect_props.rb +273 -0
- data/lib/talon_one/models/campaign.rb +11 -1
- data/lib/talon_one/models/coupon.rb +1 -1
- data/lib/talon_one/models/custom_effect.rb +377 -0
- data/lib/talon_one/models/custom_effect_props.rb +228 -0
- data/lib/talon_one/models/customer_inventory.rb +15 -4
- data/lib/talon_one/models/customer_profile_integration_request_v2.rb +1 -1
- data/lib/talon_one/models/environment.rb +61 -1
- data/lib/talon_one/models/export.rb +2 -2
- data/lib/talon_one/models/giveaway.rb +308 -0
- data/lib/talon_one/models/giveaways_pool.rb +315 -0
- data/lib/talon_one/models/import_entity.rb +207 -0
- data/lib/talon_one/models/inline_response20010.rb +11 -11
- data/lib/talon_one/models/inline_response20011.rb +11 -7
- data/lib/talon_one/models/inline_response20012.rb +6 -10
- data/lib/talon_one/models/inline_response20013.rb +11 -11
- data/lib/talon_one/models/inline_response20014.rb +10 -10
- data/lib/talon_one/models/inline_response20015.rb +1 -6
- data/lib/talon_one/models/inline_response20016.rb +13 -8
- data/lib/talon_one/models/inline_response20017.rb +10 -10
- data/lib/talon_one/models/inline_response20018.rb +11 -11
- data/lib/talon_one/models/inline_response20019.rb +11 -7
- data/lib/talon_one/models/inline_response20020.rb +6 -1
- data/lib/talon_one/models/inline_response20021.rb +1 -1
- data/lib/talon_one/models/inline_response20022.rb +1 -1
- data/lib/talon_one/models/inline_response20023.rb +1 -1
- data/lib/talon_one/models/inline_response20024.rb +1 -1
- data/lib/talon_one/models/inline_response20025.rb +1 -1
- data/lib/talon_one/models/inline_response20026.rb +1 -1
- data/lib/talon_one/models/inline_response20027.rb +11 -7
- data/lib/talon_one/models/inline_response20028.rb +7 -11
- data/lib/talon_one/models/inline_response20029.rb +1 -1
- data/lib/talon_one/models/inline_response2006.rb +10 -10
- data/lib/talon_one/models/inline_response2007.rb +11 -11
- data/lib/talon_one/models/inline_response2008.rb +1 -1
- data/lib/talon_one/models/inline_response2009.rb +10 -10
- data/lib/talon_one/models/{inline_response20030.rb → inline_response201.rb} +4 -4
- data/lib/talon_one/models/integration_request.rb +1 -1
- data/lib/talon_one/models/integration_state_v2.rb +15 -4
- data/lib/talon_one/models/inventory_coupon.rb +499 -0
- data/lib/talon_one/models/loyalty_program.rb +16 -4
- data/lib/talon_one/models/loyalty_program_entity.rb +212 -0
- data/lib/talon_one/models/loyalty_tier.rb +301 -0
- data/lib/talon_one/models/new_attribute.rb +2 -2
- data/lib/talon_one/models/new_custom_effect.rb +291 -0
- data/lib/talon_one/models/new_giveaways_pool.rb +234 -0
- data/lib/talon_one/models/new_loyalty_tier.rb +256 -0
- data/lib/talon_one/models/new_referral.rb +64 -19
- data/lib/talon_one/models/new_referrals_for_multiple_advocates.rb +349 -0
- data/lib/talon_one/models/new_role.rb +1 -1
- data/lib/talon_one/models/referral.rb +86 -47
- data/lib/talon_one/models/referral_constraints.rb +251 -0
- data/lib/talon_one/models/role.rb +44 -4
- data/lib/talon_one/models/update_custom_effect.rb +292 -0
- data/lib/talon_one/models/update_loyalty_tier.rb +256 -0
- data/lib/talon_one/models/update_referral.rb +271 -0
- data/lib/talon_one/models/update_role.rb +1 -1
- data/lib/talon_one/models/will_award_giveaway_effect_props.rb +243 -0
- data/lib/talon_one/version.rb +1 -1
- data/spec/api/integration_api_spec.rb +19 -5
- data/spec/api/management_api_spec.rb +102 -33
- data/spec/models/application_campaign_stats_spec.rb +71 -0
- data/spec/models/application_referee_spec.rb +71 -0
- data/spec/models/attribute_spec.rb +1 -1
- data/spec/models/award_giveaway_effect_props_spec.rb +65 -0
- data/spec/models/campaign_spec.rb +7 -1
- data/spec/models/custom_effect_props_spec.rb +47 -0
- data/spec/models/custom_effect_spec.rb +113 -0
- data/spec/models/customer_inventory_spec.rb +6 -0
- data/spec/models/customer_profile_integration_request_v2_spec.rb +1 -1
- data/spec/models/environment_spec.rb +30 -0
- data/spec/models/export_spec.rb +1 -1
- data/spec/models/giveaway_spec.rb +89 -0
- data/spec/models/giveaways_pool_spec.rb +89 -0
- data/spec/models/import_entity_spec.rb +41 -0
- data/spec/models/inline_response20010_spec.rb +1 -1
- data/spec/models/inline_response20011_spec.rb +6 -0
- data/spec/models/inline_response20012_spec.rb +0 -6
- data/spec/models/inline_response20013_spec.rb +1 -1
- data/spec/models/inline_response20014_spec.rb +1 -1
- data/spec/models/inline_response20016_spec.rb +1 -1
- data/spec/models/inline_response20017_spec.rb +1 -1
- data/spec/models/inline_response20018_spec.rb +1 -1
- data/spec/models/inline_response20019_spec.rb +6 -0
- data/spec/models/inline_response20027_spec.rb +6 -0
- data/spec/models/inline_response20028_spec.rb +0 -6
- data/spec/models/inline_response2006_spec.rb +1 -1
- data/spec/models/inline_response2007_spec.rb +1 -1
- data/spec/models/inline_response2009_spec.rb +1 -1
- data/spec/models/{inline_response20030_spec.rb → inline_response201_spec.rb} +6 -6
- data/spec/models/integration_request_spec.rb +1 -1
- data/spec/models/integration_state_v2_spec.rb +6 -0
- data/spec/models/inventory_coupon_spec.rb +149 -0
- data/spec/models/loyalty_program_entity_spec.rb +41 -0
- data/spec/models/loyalty_program_spec.rb +6 -0
- data/spec/models/loyalty_tier_spec.rb +65 -0
- data/spec/models/new_attribute_spec.rb +1 -1
- data/spec/models/new_campaign_spec.rb +1 -1
- data/spec/models/new_custom_effect_spec.rb +77 -0
- data/spec/models/new_giveaways_pool_spec.rb +53 -0
- data/spec/models/new_loyalty_tier_spec.rb +47 -0
- data/spec/models/new_referral_spec.rb +17 -5
- data/spec/models/new_referrals_for_multiple_advocates_spec.rb +83 -0
- data/spec/models/referral_constraints_spec.rb +53 -0
- data/spec/models/referral_spec.rb +21 -3
- data/spec/models/role_spec.rb +12 -0
- data/spec/models/update_campaign_spec.rb +1 -1
- data/spec/models/update_custom_effect_spec.rb +77 -0
- data/spec/models/update_loyalty_tier_spec.rb +47 -0
- data/spec/models/update_referral_spec.rb +65 -0
- data/spec/models/will_award_giveaway_effect_props_spec.rb +53 -0
- metadata +86 -6
@@ -0,0 +1,53 @@
|
|
1
|
+
=begin
|
2
|
+
#Talon.One API
|
3
|
+
|
4
|
+
#The Talon.One API is used to manage applications and campaigns, as well as to integrate with your application. The operations in the _Integration API_ section are used to integrate with our platform, while the other operations are used to manage applications and campaigns. ### Where is the API? The API is available at the same hostname as these docs. For example, if you are reading this page at `https://mycompany.talon.one/docs/api/`, the URL for the [updateCustomerProfile][] operation is `https://mycompany.talon.one/v1/customer_profiles/id` [updateCustomerProfile]: #operation--v1-customer_profiles--integrationId--put
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 1.0.0
|
7
|
+
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 4.3.1
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for TalonOne::ReferralConstraints
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'ReferralConstraints' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = TalonOne::ReferralConstraints.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of ReferralConstraints' do
|
31
|
+
it 'should create an instance of ReferralConstraints' do
|
32
|
+
expect(@instance).to be_instance_of(TalonOne::ReferralConstraints)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "start_date"' do
|
36
|
+
it 'should work' do
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
describe 'test attribute "expiry_date"' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
describe 'test attribute "usage_limit"' do
|
48
|
+
it 'should work' do
|
49
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
53
|
+
end
|
@@ -44,6 +44,24 @@ describe 'Referral' do
|
|
44
44
|
end
|
45
45
|
end
|
46
46
|
|
47
|
+
describe 'test attribute "start_date"' do
|
48
|
+
it 'should work' do
|
49
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
53
|
+
describe 'test attribute "expiry_date"' do
|
54
|
+
it 'should work' do
|
55
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
56
|
+
end
|
57
|
+
end
|
58
|
+
|
59
|
+
describe 'test attribute "usage_limit"' do
|
60
|
+
it 'should work' do
|
61
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
62
|
+
end
|
63
|
+
end
|
64
|
+
|
47
65
|
describe 'test attribute "campaign_id"' do
|
48
66
|
it 'should work' do
|
49
67
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -62,13 +80,13 @@ describe 'Referral' do
|
|
62
80
|
end
|
63
81
|
end
|
64
82
|
|
65
|
-
describe 'test attribute "
|
83
|
+
describe 'test attribute "attributes"' do
|
66
84
|
it 'should work' do
|
67
85
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
68
86
|
end
|
69
87
|
end
|
70
88
|
|
71
|
-
describe 'test attribute "
|
89
|
+
describe 'test attribute "import_id"' do
|
72
90
|
it 'should work' do
|
73
91
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
74
92
|
end
|
@@ -86,7 +104,7 @@ describe 'Referral' do
|
|
86
104
|
end
|
87
105
|
end
|
88
106
|
|
89
|
-
describe 'test attribute "
|
107
|
+
describe 'test attribute "batch_id"' do
|
90
108
|
it 'should work' do
|
91
109
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
92
110
|
end
|
data/spec/models/role_spec.rb
CHANGED
@@ -38,6 +38,18 @@ describe 'Role' do
|
|
38
38
|
end
|
39
39
|
end
|
40
40
|
|
41
|
+
describe 'test attribute "created"' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
describe 'test attribute "modified"' do
|
48
|
+
it 'should work' do
|
49
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
41
53
|
describe 'test attribute "account_id"' do
|
42
54
|
it 'should work' do
|
43
55
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -87,7 +87,7 @@ describe 'UpdateCampaign' do
|
|
87
87
|
describe 'test attribute "features"' do
|
88
88
|
it 'should work' do
|
89
89
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
90
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('Array<String>', ["coupons", "referrals", "loyalty"])
|
90
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('Array<String>', ["coupons", "referrals", "loyalty", "giveaways"])
|
91
91
|
# validator.allowable_values.each do |value|
|
92
92
|
# expect { @instance.features = value }.not_to raise_error
|
93
93
|
# end
|
@@ -0,0 +1,77 @@
|
|
1
|
+
=begin
|
2
|
+
#Talon.One API
|
3
|
+
|
4
|
+
#The Talon.One API is used to manage applications and campaigns, as well as to integrate with your application. The operations in the _Integration API_ section are used to integrate with our platform, while the other operations are used to manage applications and campaigns. ### Where is the API? The API is available at the same hostname as these docs. For example, if you are reading this page at `https://mycompany.talon.one/docs/api/`, the URL for the [updateCustomerProfile][] operation is `https://mycompany.talon.one/v1/customer_profiles/id` [updateCustomerProfile]: #operation--v1-customer_profiles--integrationId--put
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 1.0.0
|
7
|
+
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 4.3.1
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for TalonOne::UpdateCustomEffect
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'UpdateCustomEffect' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = TalonOne::UpdateCustomEffect.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of UpdateCustomEffect' do
|
31
|
+
it 'should create an instance of UpdateCustomEffect' do
|
32
|
+
expect(@instance).to be_instance_of(TalonOne::UpdateCustomEffect)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "name"' do
|
36
|
+
it 'should work' do
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
describe 'test attribute "title"' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
describe 'test attribute "payload"' do
|
48
|
+
it 'should work' do
|
49
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
53
|
+
describe 'test attribute "description"' do
|
54
|
+
it 'should work' do
|
55
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
56
|
+
end
|
57
|
+
end
|
58
|
+
|
59
|
+
describe 'test attribute "enabled"' do
|
60
|
+
it 'should work' do
|
61
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
62
|
+
end
|
63
|
+
end
|
64
|
+
|
65
|
+
describe 'test attribute "subscribed_applications_ids"' do
|
66
|
+
it 'should work' do
|
67
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
68
|
+
end
|
69
|
+
end
|
70
|
+
|
71
|
+
describe 'test attribute "params"' do
|
72
|
+
it 'should work' do
|
73
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
74
|
+
end
|
75
|
+
end
|
76
|
+
|
77
|
+
end
|
@@ -0,0 +1,47 @@
|
|
1
|
+
=begin
|
2
|
+
#Talon.One API
|
3
|
+
|
4
|
+
#The Talon.One API is used to manage applications and campaigns, as well as to integrate with your application. The operations in the _Integration API_ section are used to integrate with our platform, while the other operations are used to manage applications and campaigns. ### Where is the API? The API is available at the same hostname as these docs. For example, if you are reading this page at `https://mycompany.talon.one/docs/api/`, the URL for the [updateCustomerProfile][] operation is `https://mycompany.talon.one/v1/customer_profiles/id` [updateCustomerProfile]: #operation--v1-customer_profiles--integrationId--put
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 1.0.0
|
7
|
+
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 4.3.1
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for TalonOne::UpdateLoyaltyTier
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'UpdateLoyaltyTier' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = TalonOne::UpdateLoyaltyTier.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of UpdateLoyaltyTier' do
|
31
|
+
it 'should create an instance of UpdateLoyaltyTier' do
|
32
|
+
expect(@instance).to be_instance_of(TalonOne::UpdateLoyaltyTier)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "name"' do
|
36
|
+
it 'should work' do
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
describe 'test attribute "min_points"' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
end
|
@@ -0,0 +1,65 @@
|
|
1
|
+
=begin
|
2
|
+
#Talon.One API
|
3
|
+
|
4
|
+
#The Talon.One API is used to manage applications and campaigns, as well as to integrate with your application. The operations in the _Integration API_ section are used to integrate with our platform, while the other operations are used to manage applications and campaigns. ### Where is the API? The API is available at the same hostname as these docs. For example, if you are reading this page at `https://mycompany.talon.one/docs/api/`, the URL for the [updateCustomerProfile][] operation is `https://mycompany.talon.one/v1/customer_profiles/id` [updateCustomerProfile]: #operation--v1-customer_profiles--integrationId--put
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 1.0.0
|
7
|
+
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 4.3.1
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for TalonOne::UpdateReferral
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'UpdateReferral' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = TalonOne::UpdateReferral.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of UpdateReferral' do
|
31
|
+
it 'should create an instance of UpdateReferral' do
|
32
|
+
expect(@instance).to be_instance_of(TalonOne::UpdateReferral)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "friend_profile_integration_id"' do
|
36
|
+
it 'should work' do
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
describe 'test attribute "start_date"' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
describe 'test attribute "expiry_date"' do
|
48
|
+
it 'should work' do
|
49
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
53
|
+
describe 'test attribute "usage_limit"' do
|
54
|
+
it 'should work' do
|
55
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
56
|
+
end
|
57
|
+
end
|
58
|
+
|
59
|
+
describe 'test attribute "attributes"' do
|
60
|
+
it 'should work' do
|
61
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
62
|
+
end
|
63
|
+
end
|
64
|
+
|
65
|
+
end
|
@@ -0,0 +1,53 @@
|
|
1
|
+
=begin
|
2
|
+
#Talon.One API
|
3
|
+
|
4
|
+
#The Talon.One API is used to manage applications and campaigns, as well as to integrate with your application. The operations in the _Integration API_ section are used to integrate with our platform, while the other operations are used to manage applications and campaigns. ### Where is the API? The API is available at the same hostname as these docs. For example, if you are reading this page at `https://mycompany.talon.one/docs/api/`, the URL for the [updateCustomerProfile][] operation is `https://mycompany.talon.one/v1/customer_profiles/id` [updateCustomerProfile]: #operation--v1-customer_profiles--integrationId--put
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 1.0.0
|
7
|
+
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 4.3.1
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for TalonOne::WillAwardGiveawayEffectProps
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'WillAwardGiveawayEffectProps' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = TalonOne::WillAwardGiveawayEffectProps.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of WillAwardGiveawayEffectProps' do
|
31
|
+
it 'should create an instance of WillAwardGiveawayEffectProps' do
|
32
|
+
expect(@instance).to be_instance_of(TalonOne::WillAwardGiveawayEffectProps)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "pool_id"' do
|
36
|
+
it 'should work' do
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
describe 'test attribute "pool_name"' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
describe 'test attribute "recipient_integration_id"' do
|
48
|
+
it 'should work' do
|
49
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
53
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: talon_one
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Talon.One GmbH
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-05-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|
@@ -99,11 +99,13 @@ files:
|
|
99
99
|
- docs/Application.md
|
100
100
|
- docs/ApplicationAPIKey.md
|
101
101
|
- docs/ApplicationApiHealth.md
|
102
|
+
- docs/ApplicationCampaignStats.md
|
102
103
|
- docs/ApplicationCustomer.md
|
103
104
|
- docs/ApplicationCustomerEntity.md
|
104
105
|
- docs/ApplicationCustomerSearch.md
|
105
106
|
- docs/ApplicationEntity.md
|
106
107
|
- docs/ApplicationEvent.md
|
108
|
+
- docs/ApplicationReferee.md
|
107
109
|
- docs/ApplicationSession.md
|
108
110
|
- docs/ApplicationSessionEntity.md
|
109
111
|
- docs/Attribute.md
|
@@ -111,6 +113,7 @@ files:
|
|
111
113
|
- docs/AttributesSettings.md
|
112
114
|
- docs/Audience.md
|
113
115
|
- docs/AudienceMembership.md
|
116
|
+
- docs/AwardGiveawayEffectProps.md
|
114
117
|
- docs/BaseSamlConnection.md
|
115
118
|
- docs/Binding.md
|
116
119
|
- docs/Campaign.md
|
@@ -136,6 +139,8 @@ files:
|
|
136
139
|
- docs/CouponSearch.md
|
137
140
|
- docs/CouponValue.md
|
138
141
|
- docs/CreateApplicationAPIKey.md
|
142
|
+
- docs/CustomEffect.md
|
143
|
+
- docs/CustomEffectProps.md
|
139
144
|
- docs/CustomerActivityReport.md
|
140
145
|
- docs/CustomerAnalytics.md
|
141
146
|
- docs/CustomerInventory.md
|
@@ -165,7 +170,10 @@ files:
|
|
165
170
|
- docs/FeedNotification.md
|
166
171
|
- docs/FuncArgDef.md
|
167
172
|
- docs/FunctionDef.md
|
173
|
+
- docs/Giveaway.md
|
174
|
+
- docs/GiveawaysPool.md
|
168
175
|
- docs/Import.md
|
176
|
+
- docs/ImportEntity.md
|
169
177
|
- docs/InlineResponse200.md
|
170
178
|
- docs/InlineResponse2001.md
|
171
179
|
- docs/InlineResponse20010.md
|
@@ -190,13 +198,13 @@ files:
|
|
190
198
|
- docs/InlineResponse20028.md
|
191
199
|
- docs/InlineResponse20029.md
|
192
200
|
- docs/InlineResponse2003.md
|
193
|
-
- docs/InlineResponse20030.md
|
194
201
|
- docs/InlineResponse2004.md
|
195
202
|
- docs/InlineResponse2005.md
|
196
203
|
- docs/InlineResponse2006.md
|
197
204
|
- docs/InlineResponse2007.md
|
198
205
|
- docs/InlineResponse2008.md
|
199
206
|
- docs/InlineResponse2009.md
|
207
|
+
- docs/InlineResponse201.md
|
200
208
|
- docs/IntegrationApi.md
|
201
209
|
- docs/IntegrationEntity.md
|
202
210
|
- docs/IntegrationEvent.md
|
@@ -204,6 +212,7 @@ files:
|
|
204
212
|
- docs/IntegrationRequest.md
|
205
213
|
- docs/IntegrationState.md
|
206
214
|
- docs/IntegrationStateV2.md
|
215
|
+
- docs/InventoryCoupon.md
|
207
216
|
- docs/LedgerEntry.md
|
208
217
|
- docs/LibraryAttribute.md
|
209
218
|
- docs/LimitConfig.md
|
@@ -215,9 +224,11 @@ files:
|
|
215
224
|
- docs/LoyaltyPoints.md
|
216
225
|
- docs/LoyaltyProgram.md
|
217
226
|
- docs/LoyaltyProgramBalance.md
|
227
|
+
- docs/LoyaltyProgramEntity.md
|
218
228
|
- docs/LoyaltyProgramLedgers.md
|
219
229
|
- docs/LoyaltyStatistics.md
|
220
230
|
- docs/LoyaltySubLedger.md
|
231
|
+
- docs/LoyaltyTier.md
|
221
232
|
- docs/ManagementApi.md
|
222
233
|
- docs/ManagerConfig.md
|
223
234
|
- docs/Meta.md
|
@@ -238,18 +249,22 @@ files:
|
|
238
249
|
- docs/NewCampaignSet.md
|
239
250
|
- docs/NewCoupons.md
|
240
251
|
- docs/NewCouponsForMultipleRecipients.md
|
252
|
+
- docs/NewCustomEffect.md
|
241
253
|
- docs/NewCustomerProfile.md
|
242
254
|
- docs/NewCustomerSession.md
|
243
255
|
- docs/NewCustomerSessionV2.md
|
244
256
|
- docs/NewEvent.md
|
245
257
|
- docs/NewEventType.md
|
246
258
|
- docs/NewFeatureFlags.md
|
259
|
+
- docs/NewGiveawaysPool.md
|
247
260
|
- docs/NewInvitation.md
|
248
261
|
- docs/NewInviteEmail.md
|
249
262
|
- docs/NewLoyaltyProgram.md
|
263
|
+
- docs/NewLoyaltyTier.md
|
250
264
|
- docs/NewPassword.md
|
251
265
|
- docs/NewPasswordEmail.md
|
252
266
|
- docs/NewReferral.md
|
267
|
+
- docs/NewReferralsForMultipleAdvocates.md
|
253
268
|
- docs/NewRole.md
|
254
269
|
- docs/NewRuleset.md
|
255
270
|
- docs/NewSamlConnection.md
|
@@ -260,6 +275,7 @@ files:
|
|
260
275
|
- docs/ProfileAudiencesChanges.md
|
261
276
|
- docs/RedeemReferralEffectProps.md
|
262
277
|
- docs/Referral.md
|
278
|
+
- docs/ReferralConstraints.md
|
263
279
|
- docs/ReferralCreatedEffectProps.md
|
264
280
|
- docs/ReferralRejectionReason.md
|
265
281
|
- docs/RejectCouponEffectProps.md
|
@@ -295,7 +311,10 @@ files:
|
|
295
311
|
- docs/UpdateCampaignGroup.md
|
296
312
|
- docs/UpdateCoupon.md
|
297
313
|
- docs/UpdateCouponBatch.md
|
314
|
+
- docs/UpdateCustomEffect.md
|
298
315
|
- docs/UpdateLoyaltyProgram.md
|
316
|
+
- docs/UpdateLoyaltyTier.md
|
317
|
+
- docs/UpdateReferral.md
|
299
318
|
- docs/UpdateRole.md
|
300
319
|
- docs/UpdateUser.md
|
301
320
|
- docs/UpdateUserLatestFeedTimestamp.md
|
@@ -305,6 +324,7 @@ files:
|
|
305
324
|
- docs/Webhook.md
|
306
325
|
- docs/WebhookActivationLogEntry.md
|
307
326
|
- docs/WebhookLogEntry.md
|
327
|
+
- docs/WillAwardGiveawayEffectProps.md
|
308
328
|
- lib/talon_one.rb
|
309
329
|
- lib/talon_one/api/integration_api.rb
|
310
330
|
- lib/talon_one/api/management_api.rb
|
@@ -326,11 +346,13 @@ files:
|
|
326
346
|
- lib/talon_one/models/application.rb
|
327
347
|
- lib/talon_one/models/application_api_health.rb
|
328
348
|
- lib/talon_one/models/application_api_key.rb
|
349
|
+
- lib/talon_one/models/application_campaign_stats.rb
|
329
350
|
- lib/talon_one/models/application_customer.rb
|
330
351
|
- lib/talon_one/models/application_customer_entity.rb
|
331
352
|
- lib/talon_one/models/application_customer_search.rb
|
332
353
|
- lib/talon_one/models/application_entity.rb
|
333
354
|
- lib/talon_one/models/application_event.rb
|
355
|
+
- lib/talon_one/models/application_referee.rb
|
334
356
|
- lib/talon_one/models/application_session.rb
|
335
357
|
- lib/talon_one/models/application_session_entity.rb
|
336
358
|
- lib/talon_one/models/attribute.rb
|
@@ -338,6 +360,7 @@ files:
|
|
338
360
|
- lib/talon_one/models/attributes_settings.rb
|
339
361
|
- lib/talon_one/models/audience.rb
|
340
362
|
- lib/talon_one/models/audience_membership.rb
|
363
|
+
- lib/talon_one/models/award_giveaway_effect_props.rb
|
341
364
|
- lib/talon_one/models/base_saml_connection.rb
|
342
365
|
- lib/talon_one/models/binding.rb
|
343
366
|
- lib/talon_one/models/campaign.rb
|
@@ -363,6 +386,8 @@ files:
|
|
363
386
|
- lib/talon_one/models/coupon_search.rb
|
364
387
|
- lib/talon_one/models/coupon_value.rb
|
365
388
|
- lib/talon_one/models/create_application_api_key.rb
|
389
|
+
- lib/talon_one/models/custom_effect.rb
|
390
|
+
- lib/talon_one/models/custom_effect_props.rb
|
366
391
|
- lib/talon_one/models/customer_activity_report.rb
|
367
392
|
- lib/talon_one/models/customer_analytics.rb
|
368
393
|
- lib/talon_one/models/customer_inventory.rb
|
@@ -392,7 +417,10 @@ files:
|
|
392
417
|
- lib/talon_one/models/feed_notification.rb
|
393
418
|
- lib/talon_one/models/func_arg_def.rb
|
394
419
|
- lib/talon_one/models/function_def.rb
|
420
|
+
- lib/talon_one/models/giveaway.rb
|
421
|
+
- lib/talon_one/models/giveaways_pool.rb
|
395
422
|
- lib/talon_one/models/import.rb
|
423
|
+
- lib/talon_one/models/import_entity.rb
|
396
424
|
- lib/talon_one/models/inline_response200.rb
|
397
425
|
- lib/talon_one/models/inline_response2001.rb
|
398
426
|
- lib/talon_one/models/inline_response20010.rb
|
@@ -417,19 +445,20 @@ files:
|
|
417
445
|
- lib/talon_one/models/inline_response20028.rb
|
418
446
|
- lib/talon_one/models/inline_response20029.rb
|
419
447
|
- lib/talon_one/models/inline_response2003.rb
|
420
|
-
- lib/talon_one/models/inline_response20030.rb
|
421
448
|
- lib/talon_one/models/inline_response2004.rb
|
422
449
|
- lib/talon_one/models/inline_response2005.rb
|
423
450
|
- lib/talon_one/models/inline_response2006.rb
|
424
451
|
- lib/talon_one/models/inline_response2007.rb
|
425
452
|
- lib/talon_one/models/inline_response2008.rb
|
426
453
|
- lib/talon_one/models/inline_response2009.rb
|
454
|
+
- lib/talon_one/models/inline_response201.rb
|
427
455
|
- lib/talon_one/models/integration_entity.rb
|
428
456
|
- lib/talon_one/models/integration_event.rb
|
429
457
|
- lib/talon_one/models/integration_profile_entity.rb
|
430
458
|
- lib/talon_one/models/integration_request.rb
|
431
459
|
- lib/talon_one/models/integration_state.rb
|
432
460
|
- lib/talon_one/models/integration_state_v2.rb
|
461
|
+
- lib/talon_one/models/inventory_coupon.rb
|
433
462
|
- lib/talon_one/models/ledger_entry.rb
|
434
463
|
- lib/talon_one/models/library_attribute.rb
|
435
464
|
- lib/talon_one/models/limit_config.rb
|
@@ -441,9 +470,11 @@ files:
|
|
441
470
|
- lib/talon_one/models/loyalty_points.rb
|
442
471
|
- lib/talon_one/models/loyalty_program.rb
|
443
472
|
- lib/talon_one/models/loyalty_program_balance.rb
|
473
|
+
- lib/talon_one/models/loyalty_program_entity.rb
|
444
474
|
- lib/talon_one/models/loyalty_program_ledgers.rb
|
445
475
|
- lib/talon_one/models/loyalty_statistics.rb
|
446
476
|
- lib/talon_one/models/loyalty_sub_ledger.rb
|
477
|
+
- lib/talon_one/models/loyalty_tier.rb
|
447
478
|
- lib/talon_one/models/manager_config.rb
|
448
479
|
- lib/talon_one/models/meta.rb
|
449
480
|
- lib/talon_one/models/multi_application_entity.rb
|
@@ -463,18 +494,22 @@ files:
|
|
463
494
|
- lib/talon_one/models/new_campaign_set.rb
|
464
495
|
- lib/talon_one/models/new_coupons.rb
|
465
496
|
- lib/talon_one/models/new_coupons_for_multiple_recipients.rb
|
497
|
+
- lib/talon_one/models/new_custom_effect.rb
|
466
498
|
- lib/talon_one/models/new_customer_profile.rb
|
467
499
|
- lib/talon_one/models/new_customer_session.rb
|
468
500
|
- lib/talon_one/models/new_customer_session_v2.rb
|
469
501
|
- lib/talon_one/models/new_event.rb
|
470
502
|
- lib/talon_one/models/new_event_type.rb
|
471
503
|
- lib/talon_one/models/new_feature_flags.rb
|
504
|
+
- lib/talon_one/models/new_giveaways_pool.rb
|
472
505
|
- lib/talon_one/models/new_invitation.rb
|
473
506
|
- lib/talon_one/models/new_invite_email.rb
|
474
507
|
- lib/talon_one/models/new_loyalty_program.rb
|
508
|
+
- lib/talon_one/models/new_loyalty_tier.rb
|
475
509
|
- lib/talon_one/models/new_password.rb
|
476
510
|
- lib/talon_one/models/new_password_email.rb
|
477
511
|
- lib/talon_one/models/new_referral.rb
|
512
|
+
- lib/talon_one/models/new_referrals_for_multiple_advocates.rb
|
478
513
|
- lib/talon_one/models/new_role.rb
|
479
514
|
- lib/talon_one/models/new_ruleset.rb
|
480
515
|
- lib/talon_one/models/new_saml_connection.rb
|
@@ -485,6 +520,7 @@ files:
|
|
485
520
|
- lib/talon_one/models/profile_audiences_changes.rb
|
486
521
|
- lib/talon_one/models/redeem_referral_effect_props.rb
|
487
522
|
- lib/talon_one/models/referral.rb
|
523
|
+
- lib/talon_one/models/referral_constraints.rb
|
488
524
|
- lib/talon_one/models/referral_created_effect_props.rb
|
489
525
|
- lib/talon_one/models/referral_rejection_reason.rb
|
490
526
|
- lib/talon_one/models/reject_coupon_effect_props.rb
|
@@ -520,7 +556,10 @@ files:
|
|
520
556
|
- lib/talon_one/models/update_campaign_group.rb
|
521
557
|
- lib/talon_one/models/update_coupon.rb
|
522
558
|
- lib/talon_one/models/update_coupon_batch.rb
|
559
|
+
- lib/talon_one/models/update_custom_effect.rb
|
523
560
|
- lib/talon_one/models/update_loyalty_program.rb
|
561
|
+
- lib/talon_one/models/update_loyalty_tier.rb
|
562
|
+
- lib/talon_one/models/update_referral.rb
|
524
563
|
- lib/talon_one/models/update_role.rb
|
525
564
|
- lib/talon_one/models/update_user.rb
|
526
565
|
- lib/talon_one/models/update_user_latest_feed_timestamp.rb
|
@@ -530,6 +569,7 @@ files:
|
|
530
569
|
- lib/talon_one/models/webhook.rb
|
531
570
|
- lib/talon_one/models/webhook_activation_log_entry.rb
|
532
571
|
- lib/talon_one/models/webhook_log_entry.rb
|
572
|
+
- lib/talon_one/models/will_award_giveaway_effect_props.rb
|
533
573
|
- lib/talon_one/version.rb
|
534
574
|
- spec/api/integration_api_spec.rb
|
535
575
|
- spec/api/management_api_spec.rb
|
@@ -549,11 +589,13 @@ files:
|
|
549
589
|
- spec/models/api_error_spec.rb
|
550
590
|
- spec/models/application_api_health_spec.rb
|
551
591
|
- spec/models/application_api_key_spec.rb
|
592
|
+
- spec/models/application_campaign_stats_spec.rb
|
552
593
|
- spec/models/application_customer_entity_spec.rb
|
553
594
|
- spec/models/application_customer_search_spec.rb
|
554
595
|
- spec/models/application_customer_spec.rb
|
555
596
|
- spec/models/application_entity_spec.rb
|
556
597
|
- spec/models/application_event_spec.rb
|
598
|
+
- spec/models/application_referee_spec.rb
|
557
599
|
- spec/models/application_session_entity_spec.rb
|
558
600
|
- spec/models/application_session_spec.rb
|
559
601
|
- spec/models/application_spec.rb
|
@@ -562,6 +604,7 @@ files:
|
|
562
604
|
- spec/models/attributes_settings_spec.rb
|
563
605
|
- spec/models/audience_membership_spec.rb
|
564
606
|
- spec/models/audience_spec.rb
|
607
|
+
- spec/models/award_giveaway_effect_props_spec.rb
|
565
608
|
- spec/models/base_saml_connection_spec.rb
|
566
609
|
- spec/models/binding_spec.rb
|
567
610
|
- spec/models/campaign_analytics_spec.rb
|
@@ -587,6 +630,8 @@ files:
|
|
587
630
|
- spec/models/coupon_spec.rb
|
588
631
|
- spec/models/coupon_value_spec.rb
|
589
632
|
- spec/models/create_application_api_key_spec.rb
|
633
|
+
- spec/models/custom_effect_props_spec.rb
|
634
|
+
- spec/models/custom_effect_spec.rb
|
590
635
|
- spec/models/customer_activity_report_spec.rb
|
591
636
|
- spec/models/customer_analytics_spec.rb
|
592
637
|
- spec/models/customer_inventory_spec.rb
|
@@ -616,6 +661,9 @@ files:
|
|
616
661
|
- spec/models/feed_notification_spec.rb
|
617
662
|
- spec/models/func_arg_def_spec.rb
|
618
663
|
- spec/models/function_def_spec.rb
|
664
|
+
- spec/models/giveaway_spec.rb
|
665
|
+
- spec/models/giveaways_pool_spec.rb
|
666
|
+
- spec/models/import_entity_spec.rb
|
619
667
|
- spec/models/import_spec.rb
|
620
668
|
- spec/models/inline_response20010_spec.rb
|
621
669
|
- spec/models/inline_response20011_spec.rb
|
@@ -639,7 +687,6 @@ files:
|
|
639
687
|
- spec/models/inline_response20028_spec.rb
|
640
688
|
- spec/models/inline_response20029_spec.rb
|
641
689
|
- spec/models/inline_response2002_spec.rb
|
642
|
-
- spec/models/inline_response20030_spec.rb
|
643
690
|
- spec/models/inline_response2003_spec.rb
|
644
691
|
- spec/models/inline_response2004_spec.rb
|
645
692
|
- spec/models/inline_response2005_spec.rb
|
@@ -648,12 +695,14 @@ files:
|
|
648
695
|
- spec/models/inline_response2008_spec.rb
|
649
696
|
- spec/models/inline_response2009_spec.rb
|
650
697
|
- spec/models/inline_response200_spec.rb
|
698
|
+
- spec/models/inline_response201_spec.rb
|
651
699
|
- spec/models/integration_entity_spec.rb
|
652
700
|
- spec/models/integration_event_spec.rb
|
653
701
|
- spec/models/integration_profile_entity_spec.rb
|
654
702
|
- spec/models/integration_request_spec.rb
|
655
703
|
- spec/models/integration_state_spec.rb
|
656
704
|
- spec/models/integration_state_v2_spec.rb
|
705
|
+
- spec/models/inventory_coupon_spec.rb
|
657
706
|
- spec/models/ledger_entry_spec.rb
|
658
707
|
- spec/models/library_attribute_spec.rb
|
659
708
|
- spec/models/limit_config_spec.rb
|
@@ -663,11 +712,13 @@ files:
|
|
663
712
|
- spec/models/loyalty_membership_spec.rb
|
664
713
|
- spec/models/loyalty_points_spec.rb
|
665
714
|
- spec/models/loyalty_program_balance_spec.rb
|
715
|
+
- spec/models/loyalty_program_entity_spec.rb
|
666
716
|
- spec/models/loyalty_program_ledgers_spec.rb
|
667
717
|
- spec/models/loyalty_program_spec.rb
|
668
718
|
- spec/models/loyalty_spec.rb
|
669
719
|
- spec/models/loyalty_statistics_spec.rb
|
670
720
|
- spec/models/loyalty_sub_ledger_spec.rb
|
721
|
+
- spec/models/loyalty_tier_spec.rb
|
671
722
|
- spec/models/manager_config_spec.rb
|
672
723
|
- spec/models/meta_spec.rb
|
673
724
|
- spec/models/multi_application_entity_spec.rb
|
@@ -687,18 +738,22 @@ files:
|
|
687
738
|
- spec/models/new_campaign_spec.rb
|
688
739
|
- spec/models/new_coupons_for_multiple_recipients_spec.rb
|
689
740
|
- spec/models/new_coupons_spec.rb
|
741
|
+
- spec/models/new_custom_effect_spec.rb
|
690
742
|
- spec/models/new_customer_profile_spec.rb
|
691
743
|
- spec/models/new_customer_session_spec.rb
|
692
744
|
- spec/models/new_customer_session_v2_spec.rb
|
693
745
|
- spec/models/new_event_spec.rb
|
694
746
|
- spec/models/new_event_type_spec.rb
|
695
747
|
- spec/models/new_feature_flags_spec.rb
|
748
|
+
- spec/models/new_giveaways_pool_spec.rb
|
696
749
|
- spec/models/new_invitation_spec.rb
|
697
750
|
- spec/models/new_invite_email_spec.rb
|
698
751
|
- spec/models/new_loyalty_program_spec.rb
|
752
|
+
- spec/models/new_loyalty_tier_spec.rb
|
699
753
|
- spec/models/new_password_email_spec.rb
|
700
754
|
- spec/models/new_password_spec.rb
|
701
755
|
- spec/models/new_referral_spec.rb
|
756
|
+
- spec/models/new_referrals_for_multiple_advocates_spec.rb
|
702
757
|
- spec/models/new_role_spec.rb
|
703
758
|
- spec/models/new_ruleset_spec.rb
|
704
759
|
- spec/models/new_saml_connection_spec.rb
|
@@ -708,6 +763,7 @@ files:
|
|
708
763
|
- spec/models/notification_spec.rb
|
709
764
|
- spec/models/profile_audiences_changes_spec.rb
|
710
765
|
- spec/models/redeem_referral_effect_props_spec.rb
|
766
|
+
- spec/models/referral_constraints_spec.rb
|
711
767
|
- spec/models/referral_created_effect_props_spec.rb
|
712
768
|
- spec/models/referral_rejection_reason_spec.rb
|
713
769
|
- spec/models/referral_spec.rb
|
@@ -744,7 +800,10 @@ files:
|
|
744
800
|
- spec/models/update_campaign_spec.rb
|
745
801
|
- spec/models/update_coupon_batch_spec.rb
|
746
802
|
- spec/models/update_coupon_spec.rb
|
803
|
+
- spec/models/update_custom_effect_spec.rb
|
747
804
|
- spec/models/update_loyalty_program_spec.rb
|
805
|
+
- spec/models/update_loyalty_tier_spec.rb
|
806
|
+
- spec/models/update_referral_spec.rb
|
748
807
|
- spec/models/update_role_spec.rb
|
749
808
|
- spec/models/update_user_latest_feed_timestamp_spec.rb
|
750
809
|
- spec/models/update_user_spec.rb
|
@@ -754,6 +813,7 @@ files:
|
|
754
813
|
- spec/models/webhook_activation_log_entry_spec.rb
|
755
814
|
- spec/models/webhook_log_entry_spec.rb
|
756
815
|
- spec/models/webhook_spec.rb
|
816
|
+
- spec/models/will_award_giveaway_effect_props_spec.rb
|
757
817
|
- spec/spec_helper.rb
|
758
818
|
- talon_one.gemspec
|
759
819
|
homepage: https://github.com/talon-one/talon_one.rb/
|
@@ -787,6 +847,7 @@ test_files:
|
|
787
847
|
- spec/models/saml_connection_spec.rb
|
788
848
|
- spec/models/notification_spec.rb
|
789
849
|
- spec/models/new_campaign_group_spec.rb
|
850
|
+
- spec/models/update_referral_spec.rb
|
790
851
|
- spec/models/new_customer_profile_spec.rb
|
791
852
|
- spec/models/webhook_spec.rb
|
792
853
|
- spec/models/user_entity_spec.rb
|
@@ -801,10 +862,12 @@ test_files:
|
|
801
862
|
- spec/models/new_attribute_spec.rb
|
802
863
|
- spec/models/integration_state_v2_spec.rb
|
803
864
|
- spec/models/new_additional_cost_spec.rb
|
865
|
+
- spec/models/new_custom_effect_spec.rb
|
804
866
|
- spec/models/campaign_analytics_spec.rb
|
805
867
|
- spec/models/new_invitation_spec.rb
|
806
868
|
- spec/models/new_password_email_spec.rb
|
807
869
|
- spec/models/inline_response20018_spec.rb
|
870
|
+
- spec/models/import_entity_spec.rb
|
808
871
|
- spec/models/webhook_log_entry_spec.rb
|
809
872
|
- spec/models/profile_audiences_changes_spec.rb
|
810
873
|
- spec/models/account_spec.rb
|
@@ -817,9 +880,11 @@ test_files:
|
|
817
880
|
- spec/models/coupon_created_effect_props_spec.rb
|
818
881
|
- spec/models/coupon_rejection_reason_spec.rb
|
819
882
|
- spec/models/application_session_entity_spec.rb
|
883
|
+
- spec/models/application_referee_spec.rb
|
820
884
|
- spec/models/inline_response20019_spec.rb
|
821
885
|
- spec/models/loyalty_membership_spec.rb
|
822
886
|
- spec/models/rollback_coupon_effect_props_spec.rb
|
887
|
+
- spec/models/new_giveaways_pool_spec.rb
|
823
888
|
- spec/models/features_feed_spec.rb
|
824
889
|
- spec/models/account_additional_cost_spec.rb
|
825
890
|
- spec/models/error_response_spec.rb
|
@@ -849,6 +914,7 @@ test_files:
|
|
849
914
|
- spec/models/inline_response2003_spec.rb
|
850
915
|
- spec/models/new_campaign_set_spec.rb
|
851
916
|
- spec/models/integration_event_spec.rb
|
917
|
+
- spec/models/loyalty_program_entity_spec.rb
|
852
918
|
- spec/models/new_referral_spec.rb
|
853
919
|
- spec/models/show_notification_effect_props_spec.rb
|
854
920
|
- spec/models/coupon_search_spec.rb
|
@@ -856,7 +922,9 @@ test_files:
|
|
856
922
|
- spec/models/update_audience_spec.rb
|
857
923
|
- spec/models/audience_membership_spec.rb
|
858
924
|
- spec/models/inline_response2008_spec.rb
|
925
|
+
- spec/models/giveaways_pool_spec.rb
|
859
926
|
- spec/models/new_feature_flags_spec.rb
|
927
|
+
- spec/models/referral_constraints_spec.rb
|
860
928
|
- spec/models/base_saml_connection_spec.rb
|
861
929
|
- spec/models/cart_item_spec.rb
|
862
930
|
- spec/models/integration_entity_spec.rb
|
@@ -878,6 +946,8 @@ test_files:
|
|
878
946
|
- spec/models/inline_response20013_spec.rb
|
879
947
|
- spec/models/error_effect_props_spec.rb
|
880
948
|
- spec/models/update_user_latest_feed_timestamp_spec.rb
|
949
|
+
- spec/models/loyalty_tier_spec.rb
|
950
|
+
- spec/models/update_loyalty_tier_spec.rb
|
881
951
|
- spec/models/campaign_group_spec.rb
|
882
952
|
- spec/models/campaign_set_leaf_node_spec.rb
|
883
953
|
- spec/models/redeem_referral_effect_props_spec.rb
|
@@ -894,6 +964,7 @@ test_files:
|
|
894
964
|
- spec/models/customer_activity_report_spec.rb
|
895
965
|
- spec/models/new_audience_spec.rb
|
896
966
|
- spec/models/ruleset_spec.rb
|
967
|
+
- spec/models/custom_effect_spec.rb
|
897
968
|
- spec/models/inline_response2009_spec.rb
|
898
969
|
- spec/models/application_customer_spec.rb
|
899
970
|
- spec/models/feed_notification_spec.rb
|
@@ -901,8 +972,8 @@ test_files:
|
|
901
972
|
- spec/models/new_customer_session_v2_spec.rb
|
902
973
|
- spec/models/inline_response20025_spec.rb
|
903
974
|
- spec/models/application_event_spec.rb
|
975
|
+
- spec/models/new_referrals_for_multiple_advocates_spec.rb
|
904
976
|
- spec/models/feature_flag_spec.rb
|
905
|
-
- spec/models/inline_response20030_spec.rb
|
906
977
|
- spec/models/inline_response20020_spec.rb
|
907
978
|
- spec/models/loyalty_program_ledgers_spec.rb
|
908
979
|
- spec/models/campaign_entity_spec.rb
|
@@ -912,6 +983,7 @@ test_files:
|
|
912
983
|
- spec/models/customer_profile_search_query_spec.rb
|
913
984
|
- spec/models/rollback_deducted_loyalty_points_effect_props_spec.rb
|
914
985
|
- spec/models/saml_connection_metadata_spec.rb
|
986
|
+
- spec/models/custom_effect_props_spec.rb
|
915
987
|
- spec/models/limit_config_spec.rb
|
916
988
|
- spec/models/update_application_spec.rb
|
917
989
|
- spec/models/inline_response20029_spec.rb
|
@@ -925,10 +997,12 @@ test_files:
|
|
925
997
|
- spec/models/attributes_mandatory_spec.rb
|
926
998
|
- spec/models/new_password_spec.rb
|
927
999
|
- spec/models/new_invite_email_spec.rb
|
1000
|
+
- spec/models/award_giveaway_effect_props_spec.rb
|
928
1001
|
- spec/models/function_def_spec.rb
|
929
1002
|
- spec/models/inline_response20016_spec.rb
|
930
1003
|
- spec/models/coupon_value_spec.rb
|
931
1004
|
- spec/models/customer_profile_audience_request_spec.rb
|
1005
|
+
- spec/models/inventory_coupon_spec.rb
|
932
1006
|
- spec/models/application_entity_spec.rb
|
933
1007
|
- spec/models/rollback_discount_effect_props_spec.rb
|
934
1008
|
- spec/models/mutable_entity_spec.rb
|
@@ -944,6 +1018,7 @@ test_files:
|
|
944
1018
|
- spec/models/multiple_customer_profile_integration_request_item_spec.rb
|
945
1019
|
- spec/models/campaign_search_spec.rb
|
946
1020
|
- spec/models/new_event_spec.rb
|
1021
|
+
- spec/models/giveaway_spec.rb
|
947
1022
|
- spec/models/inline_response20021_spec.rb
|
948
1023
|
- spec/models/show_bundle_metadata_effect_props_spec.rb
|
949
1024
|
- spec/models/referral_created_effect_props_spec.rb
|
@@ -971,12 +1046,16 @@ test_files:
|
|
971
1046
|
- spec/models/new_saml_connection_spec.rb
|
972
1047
|
- spec/models/inline_response20023_spec.rb
|
973
1048
|
- spec/models/inline_response200_spec.rb
|
1049
|
+
- spec/models/application_campaign_stats_spec.rb
|
974
1050
|
- spec/models/campaign_group_entity_spec.rb
|
975
1051
|
- spec/models/error_source_spec.rb
|
976
1052
|
- spec/models/role_membership_spec.rb
|
1053
|
+
- spec/models/new_loyalty_tier_spec.rb
|
977
1054
|
- spec/models/loyalty_program_balance_spec.rb
|
1055
|
+
- spec/models/will_award_giveaway_effect_props_spec.rb
|
978
1056
|
- spec/models/user_spec.rb
|
979
1057
|
- spec/models/new_webhook_spec.rb
|
1058
|
+
- spec/models/inline_response201_spec.rb
|
980
1059
|
- spec/models/inline_response20022_spec.rb
|
981
1060
|
- spec/models/change_spec.rb
|
982
1061
|
- spec/models/role_spec.rb
|
@@ -994,6 +1073,7 @@ test_files:
|
|
994
1073
|
- spec/models/inline_response2007_spec.rb
|
995
1074
|
- spec/models/multi_application_entity_spec.rb
|
996
1075
|
- spec/models/customer_profile_audience_request_item_spec.rb
|
1076
|
+
- spec/models/update_custom_effect_spec.rb
|
997
1077
|
- spec/models/update_account_spec.rb
|
998
1078
|
- spec/models/template_def_spec.rb
|
999
1079
|
- spec/models/rollback_added_loyalty_points_effect_props_spec.rb
|