talon_one 2.2.0 → 2.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (134) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +22 -12
  3. data/docs/AddLoyaltyPointsEffectProps.md +3 -1
  4. data/docs/Application.md +2 -0
  5. data/docs/ApplicationEvent.md +3 -1
  6. data/docs/Binding.md +2 -0
  7. data/docs/Campaign.md +11 -1
  8. data/docs/CartItem.md +1 -3
  9. data/docs/Change.md +2 -0
  10. data/docs/CustomerProfileIntegrationRequestV2.md +3 -1
  11. data/docs/DeductLoyaltyPointsEffectProps.md +3 -1
  12. data/docs/Effect.md +2 -0
  13. data/docs/EffectEntity.md +3 -1
  14. data/docs/Import.md +1 -1
  15. data/docs/InlineResponse20020.md +2 -2
  16. data/docs/InlineResponse20021.md +1 -1
  17. data/docs/InlineResponse20022.md +1 -1
  18. data/docs/InlineResponse20023.md +1 -1
  19. data/docs/InlineResponse20024.md +1 -1
  20. data/docs/InlineResponse20025.md +1 -1
  21. data/docs/InlineResponse20026.md +1 -1
  22. data/docs/InlineResponse20027.md +2 -4
  23. data/docs/InlineResponse20028.md +4 -2
  24. data/docs/InlineResponse20029.md +1 -1
  25. data/docs/IntegrationApi.md +27 -27
  26. data/docs/IntegrationRequest.md +1 -1
  27. data/docs/IntegrationStateV2.md +2 -0
  28. data/docs/LoyaltyProgramBalance.md +10 -2
  29. data/docs/LoyaltyProgramLedgers.md +3 -1
  30. data/docs/LoyaltySubLedger.md +1 -1
  31. data/docs/ManagementApi.md +623 -169
  32. data/docs/NewApplication.md +2 -0
  33. data/docs/NewCoupons.md +5 -5
  34. data/docs/NewCouponsForMultipleRecipients.md +31 -0
  35. data/docs/ProfileAudiencesChanges.md +19 -0
  36. data/docs/RejectCouponEffectProps.md +7 -1
  37. data/docs/RejectReferralEffectProps.md +7 -1
  38. data/docs/RollbackAddedLoyaltyPointsEffectProps.md +25 -0
  39. data/docs/RollbackDeductedLoyaltyPointsEffectProps.md +29 -0
  40. data/docs/RollbackReferralEffectProps.md +17 -0
  41. data/docs/RuleFailureReason.md +39 -0
  42. data/docs/UpdateApplication.md +2 -0
  43. data/lib/talon_one.rb +6 -3
  44. data/lib/talon_one/api/integration_api.rb +30 -30
  45. data/lib/talon_one/api/management_api.rb +816 -242
  46. data/lib/talon_one/models/add_loyalty_points_effect_props.rb +19 -4
  47. data/lib/talon_one/models/application.rb +23 -1
  48. data/lib/talon_one/models/application_api_key.rb +2 -2
  49. data/lib/talon_one/models/application_event.rb +16 -4
  50. data/lib/talon_one/models/binding.rb +11 -1
  51. data/lib/talon_one/models/campaign.rb +52 -2
  52. data/lib/talon_one/models/cart_item.rb +4 -13
  53. data/lib/talon_one/models/change.rb +11 -1
  54. data/lib/talon_one/models/code_generator_settings.rb +9 -0
  55. data/lib/talon_one/models/create_application_api_key.rb +2 -2
  56. data/lib/talon_one/models/customer_profile_integration_request_v2.rb +11 -2
  57. data/lib/talon_one/models/customer_session.rb +38 -0
  58. data/lib/talon_one/models/customer_session_v2.rb +15 -0
  59. data/lib/talon_one/models/deduct_loyalty_points_effect_props.rb +19 -4
  60. data/lib/talon_one/models/effect.rb +11 -1
  61. data/lib/talon_one/models/effect_entity.rb +14 -4
  62. data/lib/talon_one/models/import.rb +1 -35
  63. data/lib/talon_one/models/inline_response20020.rb +1 -6
  64. data/lib/talon_one/models/inline_response20021.rb +1 -1
  65. data/lib/talon_one/models/inline_response20022.rb +1 -1
  66. data/lib/talon_one/models/inline_response20023.rb +1 -1
  67. data/lib/talon_one/models/inline_response20024.rb +1 -1
  68. data/lib/talon_one/models/inline_response20025.rb +1 -1
  69. data/lib/talon_one/models/inline_response20026.rb +1 -1
  70. data/lib/talon_one/models/inline_response20027.rb +7 -11
  71. data/lib/talon_one/models/inline_response20028.rb +11 -7
  72. data/lib/talon_one/models/inline_response20029.rb +1 -1
  73. data/lib/talon_one/models/integration_request.rb +1 -1
  74. data/lib/talon_one/models/integration_state_v2.rb +12 -1
  75. data/lib/talon_one/models/limit_config.rb +0 -12
  76. data/lib/talon_one/models/loyalty_points.rb +28 -0
  77. data/lib/talon_one/models/loyalty_program_balance.rb +65 -4
  78. data/lib/talon_one/models/loyalty_program_ledgers.rb +16 -1
  79. data/lib/talon_one/models/loyalty_sub_ledger.rb +1 -1
  80. data/lib/talon_one/models/new_application.rb +23 -1
  81. data/lib/talon_one/models/new_application_api_key.rb +2 -2
  82. data/lib/talon_one/models/new_coupons.rb +36 -41
  83. data/lib/talon_one/models/new_coupons_for_multiple_recipients.rb +368 -0
  84. data/lib/talon_one/models/new_customer_session.rb +30 -0
  85. data/lib/talon_one/models/new_customer_session_v2.rb +15 -0
  86. data/lib/talon_one/models/{new_import.rb → profile_audiences_changes.rb} +32 -48
  87. data/lib/talon_one/models/reject_coupon_effect_props.rb +34 -4
  88. data/lib/talon_one/models/reject_referral_effect_props.rb +34 -4
  89. data/lib/talon_one/models/{cart_item_adjustment.rb → rollback_added_loyalty_points_effect_props.rb} +63 -61
  90. data/lib/talon_one/models/rollback_deducted_loyalty_points_effect_props.rb +293 -0
  91. data/lib/talon_one/models/{import_coupons.rb → rollback_referral_effect_props.rb} +15 -13
  92. data/lib/talon_one/models/rule_failure_reason.rb +343 -0
  93. data/lib/talon_one/models/update_application.rb +23 -1
  94. data/lib/talon_one/version.rb +1 -1
  95. data/spec/api/integration_api_spec.rb +15 -15
  96. data/spec/api/management_api_spec.rb +183 -68
  97. data/spec/models/add_loyalty_points_effect_props_spec.rb +6 -0
  98. data/spec/models/application_api_key_spec.rb +1 -1
  99. data/spec/models/application_event_spec.rb +6 -0
  100. data/spec/models/application_spec.rb +10 -0
  101. data/spec/models/binding_spec.rb +6 -0
  102. data/spec/models/campaign_spec.rb +30 -0
  103. data/spec/models/cart_item_spec.rb +0 -6
  104. data/spec/models/change_spec.rb +6 -0
  105. data/spec/models/create_application_api_key_spec.rb +1 -1
  106. data/spec/models/customer_profile_integration_request_v2_spec.rb +7 -1
  107. data/spec/models/deduct_loyalty_points_effect_props_spec.rb +6 -0
  108. data/spec/models/effect_entity_spec.rb +6 -0
  109. data/spec/models/effect_spec.rb +6 -0
  110. data/spec/models/import_spec.rb +0 -4
  111. data/spec/models/inline_response20027_spec.rb +0 -6
  112. data/spec/models/inline_response20028_spec.rb +6 -0
  113. data/spec/models/integration_request_spec.rb +1 -1
  114. data/spec/models/integration_state_v2_spec.rb +6 -0
  115. data/spec/models/limit_config_spec.rb +0 -4
  116. data/spec/models/loyalty_program_balance_spec.rb +24 -0
  117. data/spec/models/loyalty_program_ledgers_spec.rb +6 -0
  118. data/spec/models/new_application_api_key_spec.rb +1 -1
  119. data/spec/models/new_application_spec.rb +10 -0
  120. data/spec/models/new_coupons_for_multiple_recipients_spec.rb +83 -0
  121. data/spec/models/new_coupons_spec.rb +6 -6
  122. data/spec/models/{cart_item_adjustment_spec.rb → profile_audiences_changes_spec.rb} +8 -14
  123. data/spec/models/reject_coupon_effect_props_spec.rb +18 -0
  124. data/spec/models/reject_referral_effect_props_spec.rb +18 -0
  125. data/spec/models/rollback_added_loyalty_points_effect_props_spec.rb +65 -0
  126. data/spec/models/rollback_deducted_loyalty_points_effect_props_spec.rb +77 -0
  127. data/spec/models/{import_coupons_spec.rb → rollback_referral_effect_props_spec.rb} +7 -7
  128. data/spec/models/rule_failure_reason_spec.rb +107 -0
  129. data/spec/models/update_application_spec.rb +10 -0
  130. metadata +26 -14
  131. data/docs/CartItemAdjustment.md +0 -21
  132. data/docs/ImportCoupons.md +0 -17
  133. data/docs/NewImport.md +0 -17
  134. data/spec/models/new_import_spec.rb +0 -45
@@ -14,37 +14,31 @@ require 'spec_helper'
14
14
  require 'json'
15
15
  require 'date'
16
16
 
17
- # Unit tests for TalonOne::CartItemAdjustment
17
+ # Unit tests for TalonOne::ProfileAudiencesChanges
18
18
  # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
19
  # Please update as you see appropriate
20
- describe 'CartItemAdjustment' do
20
+ describe 'ProfileAudiencesChanges' do
21
21
  before do
22
22
  # run before each test
23
- @instance = TalonOne::CartItemAdjustment.new
23
+ @instance = TalonOne::ProfileAudiencesChanges.new
24
24
  end
25
25
 
26
26
  after do
27
27
  # run after each test
28
28
  end
29
29
 
30
- describe 'test an instance of CartItemAdjustment' do
31
- it 'should create an instance of CartItemAdjustment' do
32
- expect(@instance).to be_instance_of(TalonOne::CartItemAdjustment)
30
+ describe 'test an instance of ProfileAudiencesChanges' do
31
+ it 'should create an instance of ProfileAudiencesChanges' do
32
+ expect(@instance).to be_instance_of(TalonOne::ProfileAudiencesChanges)
33
33
  end
34
34
  end
35
- describe 'test attribute "pay_from_loyalty_program"' do
35
+ describe 'test attribute "adds"' do
36
36
  it 'should work' do
37
37
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
38
  end
39
39
  end
40
40
 
41
- describe 'test attribute "point_payment"' 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 "remaining_price"' do
41
+ describe 'test attribute "deletes"' do
48
42
  it 'should work' do
49
43
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
50
44
  end
@@ -44,4 +44,22 @@ describe 'RejectCouponEffectProps' do
44
44
  end
45
45
  end
46
46
 
47
+ describe 'test attribute "condition_index"' 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 "effect_index"' 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 "details"' 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
  end
@@ -44,4 +44,22 @@ describe 'RejectReferralEffectProps' do
44
44
  end
45
45
  end
46
46
 
47
+ describe 'test attribute "condition_index"' 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 "effect_index"' 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 "details"' 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
  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::RollbackAddedLoyaltyPointsEffectProps
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe 'RollbackAddedLoyaltyPointsEffectProps' do
21
+ before do
22
+ # run before each test
23
+ @instance = TalonOne::RollbackAddedLoyaltyPointsEffectProps.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of RollbackAddedLoyaltyPointsEffectProps' do
31
+ it 'should create an instance of RollbackAddedLoyaltyPointsEffectProps' do
32
+ expect(@instance).to be_instance_of(TalonOne::RollbackAddedLoyaltyPointsEffectProps)
33
+ end
34
+ end
35
+ describe 'test attribute "program_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 "sub_ledger_id"' 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 "value"' 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 "recipient_integration_id"' 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 "transaction_uuid"' 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,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::RollbackDeductedLoyaltyPointsEffectProps
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe 'RollbackDeductedLoyaltyPointsEffectProps' do
21
+ before do
22
+ # run before each test
23
+ @instance = TalonOne::RollbackDeductedLoyaltyPointsEffectProps.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of RollbackDeductedLoyaltyPointsEffectProps' do
31
+ it 'should create an instance of RollbackDeductedLoyaltyPointsEffectProps' do
32
+ expect(@instance).to be_instance_of(TalonOne::RollbackDeductedLoyaltyPointsEffectProps)
33
+ end
34
+ end
35
+ describe 'test attribute "program_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 "sub_ledger_id"' 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 "value"' 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 "recipient_integration_id"' 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 "start_date"' 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 "expiry_date"' 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 "transaction_uuid"' 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
@@ -14,25 +14,25 @@ require 'spec_helper'
14
14
  require 'json'
15
15
  require 'date'
16
16
 
17
- # Unit tests for TalonOne::ImportCoupons
17
+ # Unit tests for TalonOne::RollbackReferralEffectProps
18
18
  # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
19
  # Please update as you see appropriate
20
- describe 'ImportCoupons' do
20
+ describe 'RollbackReferralEffectProps' do
21
21
  before do
22
22
  # run before each test
23
- @instance = TalonOne::ImportCoupons.new
23
+ @instance = TalonOne::RollbackReferralEffectProps.new
24
24
  end
25
25
 
26
26
  after do
27
27
  # run after each test
28
28
  end
29
29
 
30
- describe 'test an instance of ImportCoupons' do
31
- it 'should create an instance of ImportCoupons' do
32
- expect(@instance).to be_instance_of(TalonOne::ImportCoupons)
30
+ describe 'test an instance of RollbackReferralEffectProps' do
31
+ it 'should create an instance of RollbackReferralEffectProps' do
32
+ expect(@instance).to be_instance_of(TalonOne::RollbackReferralEffectProps)
33
33
  end
34
34
  end
35
- describe 'test attribute "coupons"' do
35
+ describe 'test attribute "value"' do
36
36
  it 'should work' do
37
37
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
38
  end
@@ -0,0 +1,107 @@
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::RuleFailureReason
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe 'RuleFailureReason' do
21
+ before do
22
+ # run before each test
23
+ @instance = TalonOne::RuleFailureReason.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of RuleFailureReason' do
31
+ it 'should create an instance of RuleFailureReason' do
32
+ expect(@instance).to be_instance_of(TalonOne::RuleFailureReason)
33
+ end
34
+ end
35
+ describe 'test attribute "campaign_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 "campaign_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 "ruleset_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
+ describe 'test attribute "coupon_id"' 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 "coupon_value"' 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 "referral_id"' 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 "referral_value"' 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
+ describe 'test attribute "rule_index"' do
78
+ it 'should work' do
79
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
80
+ end
81
+ end
82
+
83
+ describe 'test attribute "rule_name"' do
84
+ it 'should work' do
85
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
86
+ end
87
+ end
88
+
89
+ describe 'test attribute "condition_index"' do
90
+ it 'should work' do
91
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
92
+ end
93
+ end
94
+
95
+ describe 'test attribute "effect_index"' do
96
+ it 'should work' do
97
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
98
+ end
99
+ end
100
+
101
+ describe 'test attribute "details"' do
102
+ it 'should work' do
103
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
104
+ end
105
+ end
106
+
107
+ end
@@ -98,6 +98,16 @@ describe 'UpdateApplication' do
98
98
  end
99
99
  end
100
100
 
101
+ describe 'test attribute "default_discount_scope"' do
102
+ it 'should work' do
103
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
104
+ # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["sessionTotal", "cartItems", "additionalCosts"])
105
+ # validator.allowable_values.each do |value|
106
+ # expect { @instance.default_discount_scope = value }.not_to raise_error
107
+ # end
108
+ end
109
+ end
110
+
101
111
  describe 'test attribute "enable_cascading_discounts"' do
102
112
  it 'should work' do
103
113
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
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.2.0
4
+ version: 2.3.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: 2020-10-16 00:00:00.000000000 Z
11
+ date: 2021-02-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus
@@ -125,7 +125,6 @@ files:
125
125
  - docs/CampaignSetLeafNode.md
126
126
  - docs/CampaignSetNode.md
127
127
  - docs/CartItem.md
128
- - docs/CartItemAdjustment.md
129
128
  - docs/Change.md
130
129
  - docs/ChangeProfilePassword.md
131
130
  - docs/CodeGeneratorSettings.md
@@ -167,7 +166,6 @@ files:
167
166
  - docs/FuncArgDef.md
168
167
  - docs/FunctionDef.md
169
168
  - docs/Import.md
170
- - docs/ImportCoupons.md
171
169
  - docs/InlineResponse200.md
172
170
  - docs/InlineResponse2001.md
173
171
  - docs/InlineResponse20010.md
@@ -239,13 +237,13 @@ files:
239
237
  - docs/NewCampaignGroup.md
240
238
  - docs/NewCampaignSet.md
241
239
  - docs/NewCoupons.md
240
+ - docs/NewCouponsForMultipleRecipients.md
242
241
  - docs/NewCustomerProfile.md
243
242
  - docs/NewCustomerSession.md
244
243
  - docs/NewCustomerSessionV2.md
245
244
  - docs/NewEvent.md
246
245
  - docs/NewEventType.md
247
246
  - docs/NewFeatureFlags.md
248
- - docs/NewImport.md
249
247
  - docs/NewInvitation.md
250
248
  - docs/NewInviteEmail.md
251
249
  - docs/NewLoyaltyProgram.md
@@ -259,6 +257,7 @@ files:
259
257
  - docs/NewUser.md
260
258
  - docs/NewWebhook.md
261
259
  - docs/Notification.md
260
+ - docs/ProfileAudiencesChanges.md
262
261
  - docs/RedeemReferralEffectProps.md
263
262
  - docs/Referral.md
264
263
  - docs/ReferralCreatedEffectProps.md
@@ -268,9 +267,13 @@ files:
268
267
  - docs/Role.md
269
268
  - docs/RoleAssign.md
270
269
  - docs/RoleMembership.md
270
+ - docs/RollbackAddedLoyaltyPointsEffectProps.md
271
271
  - docs/RollbackCouponEffectProps.md
272
+ - docs/RollbackDeductedLoyaltyPointsEffectProps.md
272
273
  - docs/RollbackDiscountEffectProps.md
274
+ - docs/RollbackReferralEffectProps.md
273
275
  - docs/Rule.md
276
+ - docs/RuleFailureReason.md
274
277
  - docs/Ruleset.md
275
278
  - docs/SamlConnection.md
276
279
  - docs/SamlConnectionMetadata.md
@@ -349,7 +352,6 @@ files:
349
352
  - lib/talon_one/models/campaign_set_leaf_node.rb
350
353
  - lib/talon_one/models/campaign_set_node.rb
351
354
  - lib/talon_one/models/cart_item.rb
352
- - lib/talon_one/models/cart_item_adjustment.rb
353
355
  - lib/talon_one/models/change.rb
354
356
  - lib/talon_one/models/change_profile_password.rb
355
357
  - lib/talon_one/models/code_generator_settings.rb
@@ -391,7 +393,6 @@ files:
391
393
  - lib/talon_one/models/func_arg_def.rb
392
394
  - lib/talon_one/models/function_def.rb
393
395
  - lib/talon_one/models/import.rb
394
- - lib/talon_one/models/import_coupons.rb
395
396
  - lib/talon_one/models/inline_response200.rb
396
397
  - lib/talon_one/models/inline_response2001.rb
397
398
  - lib/talon_one/models/inline_response20010.rb
@@ -461,13 +462,13 @@ files:
461
462
  - lib/talon_one/models/new_campaign_group.rb
462
463
  - lib/talon_one/models/new_campaign_set.rb
463
464
  - lib/talon_one/models/new_coupons.rb
465
+ - lib/talon_one/models/new_coupons_for_multiple_recipients.rb
464
466
  - lib/talon_one/models/new_customer_profile.rb
465
467
  - lib/talon_one/models/new_customer_session.rb
466
468
  - lib/talon_one/models/new_customer_session_v2.rb
467
469
  - lib/talon_one/models/new_event.rb
468
470
  - lib/talon_one/models/new_event_type.rb
469
471
  - lib/talon_one/models/new_feature_flags.rb
470
- - lib/talon_one/models/new_import.rb
471
472
  - lib/talon_one/models/new_invitation.rb
472
473
  - lib/talon_one/models/new_invite_email.rb
473
474
  - lib/talon_one/models/new_loyalty_program.rb
@@ -481,6 +482,7 @@ files:
481
482
  - lib/talon_one/models/new_user.rb
482
483
  - lib/talon_one/models/new_webhook.rb
483
484
  - lib/talon_one/models/notification.rb
485
+ - lib/talon_one/models/profile_audiences_changes.rb
484
486
  - lib/talon_one/models/redeem_referral_effect_props.rb
485
487
  - lib/talon_one/models/referral.rb
486
488
  - lib/talon_one/models/referral_created_effect_props.rb
@@ -490,9 +492,13 @@ files:
490
492
  - lib/talon_one/models/role.rb
491
493
  - lib/talon_one/models/role_assign.rb
492
494
  - lib/talon_one/models/role_membership.rb
495
+ - lib/talon_one/models/rollback_added_loyalty_points_effect_props.rb
493
496
  - lib/talon_one/models/rollback_coupon_effect_props.rb
497
+ - lib/talon_one/models/rollback_deducted_loyalty_points_effect_props.rb
494
498
  - lib/talon_one/models/rollback_discount_effect_props.rb
499
+ - lib/talon_one/models/rollback_referral_effect_props.rb
495
500
  - lib/talon_one/models/rule.rb
501
+ - lib/talon_one/models/rule_failure_reason.rb
496
502
  - lib/talon_one/models/ruleset.rb
497
503
  - lib/talon_one/models/saml_connection.rb
498
504
  - lib/talon_one/models/saml_connection_metadata.rb
@@ -569,7 +575,6 @@ files:
569
575
  - spec/models/campaign_set_node_spec.rb
570
576
  - spec/models/campaign_set_spec.rb
571
577
  - spec/models/campaign_spec.rb
572
- - spec/models/cart_item_adjustment_spec.rb
573
578
  - spec/models/cart_item_spec.rb
574
579
  - spec/models/change_profile_password_spec.rb
575
580
  - spec/models/change_spec.rb
@@ -611,7 +616,6 @@ files:
611
616
  - spec/models/feed_notification_spec.rb
612
617
  - spec/models/func_arg_def_spec.rb
613
618
  - spec/models/function_def_spec.rb
614
- - spec/models/import_coupons_spec.rb
615
619
  - spec/models/import_spec.rb
616
620
  - spec/models/inline_response20010_spec.rb
617
621
  - spec/models/inline_response20011_spec.rb
@@ -681,6 +685,7 @@ files:
681
685
  - spec/models/new_campaign_group_spec.rb
682
686
  - spec/models/new_campaign_set_spec.rb
683
687
  - spec/models/new_campaign_spec.rb
688
+ - spec/models/new_coupons_for_multiple_recipients_spec.rb
684
689
  - spec/models/new_coupons_spec.rb
685
690
  - spec/models/new_customer_profile_spec.rb
686
691
  - spec/models/new_customer_session_spec.rb
@@ -688,7 +693,6 @@ files:
688
693
  - spec/models/new_event_spec.rb
689
694
  - spec/models/new_event_type_spec.rb
690
695
  - spec/models/new_feature_flags_spec.rb
691
- - spec/models/new_import_spec.rb
692
696
  - spec/models/new_invitation_spec.rb
693
697
  - spec/models/new_invite_email_spec.rb
694
698
  - spec/models/new_loyalty_program_spec.rb
@@ -702,6 +706,7 @@ files:
702
706
  - spec/models/new_user_spec.rb
703
707
  - spec/models/new_webhook_spec.rb
704
708
  - spec/models/notification_spec.rb
709
+ - spec/models/profile_audiences_changes_spec.rb
705
710
  - spec/models/redeem_referral_effect_props_spec.rb
706
711
  - spec/models/referral_created_effect_props_spec.rb
707
712
  - spec/models/referral_rejection_reason_spec.rb
@@ -711,8 +716,12 @@ files:
711
716
  - spec/models/role_assign_spec.rb
712
717
  - spec/models/role_membership_spec.rb
713
718
  - spec/models/role_spec.rb
719
+ - spec/models/rollback_added_loyalty_points_effect_props_spec.rb
714
720
  - spec/models/rollback_coupon_effect_props_spec.rb
721
+ - spec/models/rollback_deducted_loyalty_points_effect_props_spec.rb
715
722
  - spec/models/rollback_discount_effect_props_spec.rb
723
+ - spec/models/rollback_referral_effect_props_spec.rb
724
+ - spec/models/rule_failure_reason_spec.rb
716
725
  - spec/models/rule_spec.rb
717
726
  - spec/models/ruleset_spec.rb
718
727
  - spec/models/saml_connection_metadata_spec.rb
@@ -797,6 +806,7 @@ test_files:
797
806
  - spec/models/new_password_email_spec.rb
798
807
  - spec/models/inline_response20018_spec.rb
799
808
  - spec/models/webhook_log_entry_spec.rb
809
+ - spec/models/profile_audiences_changes_spec.rb
800
810
  - spec/models/account_spec.rb
801
811
  - spec/models/inline_response20027_spec.rb
802
812
  - spec/models/update_coupon_batch_spec.rb
@@ -874,6 +884,7 @@ test_files:
874
884
  - spec/models/accept_referral_effect_props_spec.rb
875
885
  - spec/models/export_spec.rb
876
886
  - spec/models/manager_config_spec.rb
887
+ - spec/models/new_coupons_for_multiple_recipients_spec.rb
877
888
  - spec/models/template_arg_def_spec.rb
878
889
  - spec/models/rule_spec.rb
879
890
  - spec/models/entity_spec.rb
@@ -895,14 +906,13 @@ test_files:
895
906
  - spec/models/inline_response20020_spec.rb
896
907
  - spec/models/loyalty_program_ledgers_spec.rb
897
908
  - spec/models/campaign_entity_spec.rb
898
- - spec/models/cart_item_adjustment_spec.rb
899
909
  - spec/models/customer_analytics_spec.rb
900
910
  - spec/models/campaign_set_spec.rb
901
911
  - spec/models/access_log_entry_spec.rb
902
912
  - spec/models/customer_profile_search_query_spec.rb
913
+ - spec/models/rollback_deducted_loyalty_points_effect_props_spec.rb
903
914
  - spec/models/saml_connection_metadata_spec.rb
904
915
  - spec/models/limit_config_spec.rb
905
- - spec/models/import_coupons_spec.rb
906
916
  - spec/models/update_application_spec.rb
907
917
  - spec/models/inline_response20029_spec.rb
908
918
  - spec/models/slot_def_spec.rb
@@ -930,14 +940,15 @@ test_files:
930
940
  - spec/models/loyalty_spec.rb
931
941
  - spec/models/entity_with_talang_visible_id_spec.rb
932
942
  - spec/models/inline_response20017_spec.rb
943
+ - spec/models/rollback_referral_effect_props_spec.rb
933
944
  - spec/models/multiple_customer_profile_integration_request_item_spec.rb
934
945
  - spec/models/campaign_search_spec.rb
935
946
  - spec/models/new_event_spec.rb
936
- - spec/models/new_import_spec.rb
937
947
  - spec/models/inline_response20021_spec.rb
938
948
  - spec/models/show_bundle_metadata_effect_props_spec.rb
939
949
  - spec/models/referral_created_effect_props_spec.rb
940
950
  - spec/models/multiple_customer_profile_integration_request_spec.rb
951
+ - spec/models/rule_failure_reason_spec.rb
941
952
  - spec/models/accept_coupon_effect_props_spec.rb
942
953
  - spec/models/customer_session_spec.rb
943
954
  - spec/models/event_spec.rb
@@ -985,6 +996,7 @@ test_files:
985
996
  - spec/models/customer_profile_audience_request_item_spec.rb
986
997
  - spec/models/update_account_spec.rb
987
998
  - spec/models/template_def_spec.rb
999
+ - spec/models/rollback_added_loyalty_points_effect_props_spec.rb
988
1000
  - spec/models/reject_coupon_effect_props_spec.rb
989
1001
  - spec/models/saml_login_endpoint_spec.rb
990
1002
  - spec/models/new_role_spec.rb