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.
Files changed (180) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +31 -5
  3. data/docs/ApplicationCampaignStats.md +27 -0
  4. data/docs/ApplicationReferee.md +27 -0
  5. data/docs/AwardGiveawayEffectProps.md +25 -0
  6. data/docs/Campaign.md +2 -0
  7. data/docs/Coupon.md +1 -1
  8. data/docs/CustomEffect.md +41 -0
  9. data/docs/CustomEffectProps.md +19 -0
  10. data/docs/CustomerInventory.md +4 -2
  11. data/docs/CustomerProfileIntegrationRequestV2.md +1 -1
  12. data/docs/Environment.md +10 -0
  13. data/docs/Giveaway.md +33 -0
  14. data/docs/GiveawaysPool.md +33 -0
  15. data/docs/ImportEntity.md +17 -0
  16. data/docs/InlineResponse20010.md +3 -3
  17. data/docs/InlineResponse20011.md +4 -2
  18. data/docs/InlineResponse20012.md +2 -4
  19. data/docs/InlineResponse20013.md +3 -3
  20. data/docs/InlineResponse20014.md +2 -2
  21. data/docs/InlineResponse20015.md +2 -2
  22. data/docs/InlineResponse20016.md +3 -3
  23. data/docs/InlineResponse20017.md +2 -2
  24. data/docs/InlineResponse20018.md +3 -3
  25. data/docs/InlineResponse20019.md +5 -3
  26. data/docs/InlineResponse20020.md +2 -2
  27. data/docs/InlineResponse20021.md +1 -1
  28. data/docs/InlineResponse20022.md +1 -1
  29. data/docs/InlineResponse20023.md +1 -1
  30. data/docs/InlineResponse20024.md +1 -1
  31. data/docs/InlineResponse20025.md +1 -1
  32. data/docs/InlineResponse20026.md +1 -1
  33. data/docs/InlineResponse20027.md +4 -2
  34. data/docs/InlineResponse20028.md +2 -4
  35. data/docs/InlineResponse20029.md +1 -1
  36. data/docs/InlineResponse2006.md +2 -2
  37. data/docs/InlineResponse2007.md +3 -3
  38. data/docs/InlineResponse2008.md +1 -1
  39. data/docs/InlineResponse2009.md +2 -2
  40. data/docs/{InlineResponse20030.md → InlineResponse201.md} +3 -3
  41. data/docs/IntegrationApi.md +77 -11
  42. data/docs/IntegrationRequest.md +1 -1
  43. data/docs/IntegrationStateV2.md +3 -1
  44. data/docs/InventoryCoupon.md +53 -0
  45. data/docs/LoyaltyProgram.md +3 -1
  46. data/docs/LoyaltyProgramEntity.md +17 -0
  47. data/docs/LoyaltyTier.md +25 -0
  48. data/docs/ManagementApi.md +370 -69
  49. data/docs/NewCustomEffect.md +29 -0
  50. data/docs/NewGiveawaysPool.md +21 -0
  51. data/docs/NewLoyaltyTier.md +19 -0
  52. data/docs/NewReferral.md +10 -6
  53. data/docs/NewReferralsForMultipleAdvocates.md +31 -0
  54. data/docs/NewRole.md +1 -1
  55. data/docs/Referral.md +13 -7
  56. data/docs/ReferralConstraints.md +21 -0
  57. data/docs/Role.md +8 -4
  58. data/docs/UpdateCustomEffect.md +29 -0
  59. data/docs/UpdateLoyaltyTier.md +19 -0
  60. data/docs/UpdateReferral.md +25 -0
  61. data/docs/UpdateRole.md +1 -1
  62. data/docs/WillAwardGiveawayEffectProps.md +21 -0
  63. data/lib/talon_one.rb +21 -1
  64. data/lib/talon_one/api/integration_api.rb +80 -10
  65. data/lib/talon_one/api/management_api.rb +460 -97
  66. data/lib/talon_one/models/application_campaign_stats.rb +288 -0
  67. data/lib/talon_one/models/application_referee.rb +288 -0
  68. data/lib/talon_one/models/attribute.rb +2 -2
  69. data/lib/talon_one/models/award_giveaway_effect_props.rb +273 -0
  70. data/lib/talon_one/models/campaign.rb +11 -1
  71. data/lib/talon_one/models/coupon.rb +1 -1
  72. data/lib/talon_one/models/custom_effect.rb +377 -0
  73. data/lib/talon_one/models/custom_effect_props.rb +228 -0
  74. data/lib/talon_one/models/customer_inventory.rb +15 -4
  75. data/lib/talon_one/models/customer_profile_integration_request_v2.rb +1 -1
  76. data/lib/talon_one/models/environment.rb +61 -1
  77. data/lib/talon_one/models/export.rb +2 -2
  78. data/lib/talon_one/models/giveaway.rb +308 -0
  79. data/lib/talon_one/models/giveaways_pool.rb +315 -0
  80. data/lib/talon_one/models/import_entity.rb +207 -0
  81. data/lib/talon_one/models/inline_response20010.rb +11 -11
  82. data/lib/talon_one/models/inline_response20011.rb +11 -7
  83. data/lib/talon_one/models/inline_response20012.rb +6 -10
  84. data/lib/talon_one/models/inline_response20013.rb +11 -11
  85. data/lib/talon_one/models/inline_response20014.rb +10 -10
  86. data/lib/talon_one/models/inline_response20015.rb +1 -6
  87. data/lib/talon_one/models/inline_response20016.rb +13 -8
  88. data/lib/talon_one/models/inline_response20017.rb +10 -10
  89. data/lib/talon_one/models/inline_response20018.rb +11 -11
  90. data/lib/talon_one/models/inline_response20019.rb +11 -7
  91. data/lib/talon_one/models/inline_response20020.rb +6 -1
  92. data/lib/talon_one/models/inline_response20021.rb +1 -1
  93. data/lib/talon_one/models/inline_response20022.rb +1 -1
  94. data/lib/talon_one/models/inline_response20023.rb +1 -1
  95. data/lib/talon_one/models/inline_response20024.rb +1 -1
  96. data/lib/talon_one/models/inline_response20025.rb +1 -1
  97. data/lib/talon_one/models/inline_response20026.rb +1 -1
  98. data/lib/talon_one/models/inline_response20027.rb +11 -7
  99. data/lib/talon_one/models/inline_response20028.rb +7 -11
  100. data/lib/talon_one/models/inline_response20029.rb +1 -1
  101. data/lib/talon_one/models/inline_response2006.rb +10 -10
  102. data/lib/talon_one/models/inline_response2007.rb +11 -11
  103. data/lib/talon_one/models/inline_response2008.rb +1 -1
  104. data/lib/talon_one/models/inline_response2009.rb +10 -10
  105. data/lib/talon_one/models/{inline_response20030.rb → inline_response201.rb} +4 -4
  106. data/lib/talon_one/models/integration_request.rb +1 -1
  107. data/lib/talon_one/models/integration_state_v2.rb +15 -4
  108. data/lib/talon_one/models/inventory_coupon.rb +499 -0
  109. data/lib/talon_one/models/loyalty_program.rb +16 -4
  110. data/lib/talon_one/models/loyalty_program_entity.rb +212 -0
  111. data/lib/talon_one/models/loyalty_tier.rb +301 -0
  112. data/lib/talon_one/models/new_attribute.rb +2 -2
  113. data/lib/talon_one/models/new_custom_effect.rb +291 -0
  114. data/lib/talon_one/models/new_giveaways_pool.rb +234 -0
  115. data/lib/talon_one/models/new_loyalty_tier.rb +256 -0
  116. data/lib/talon_one/models/new_referral.rb +64 -19
  117. data/lib/talon_one/models/new_referrals_for_multiple_advocates.rb +349 -0
  118. data/lib/talon_one/models/new_role.rb +1 -1
  119. data/lib/talon_one/models/referral.rb +86 -47
  120. data/lib/talon_one/models/referral_constraints.rb +251 -0
  121. data/lib/talon_one/models/role.rb +44 -4
  122. data/lib/talon_one/models/update_custom_effect.rb +292 -0
  123. data/lib/talon_one/models/update_loyalty_tier.rb +256 -0
  124. data/lib/talon_one/models/update_referral.rb +271 -0
  125. data/lib/talon_one/models/update_role.rb +1 -1
  126. data/lib/talon_one/models/will_award_giveaway_effect_props.rb +243 -0
  127. data/lib/talon_one/version.rb +1 -1
  128. data/spec/api/integration_api_spec.rb +19 -5
  129. data/spec/api/management_api_spec.rb +102 -33
  130. data/spec/models/application_campaign_stats_spec.rb +71 -0
  131. data/spec/models/application_referee_spec.rb +71 -0
  132. data/spec/models/attribute_spec.rb +1 -1
  133. data/spec/models/award_giveaway_effect_props_spec.rb +65 -0
  134. data/spec/models/campaign_spec.rb +7 -1
  135. data/spec/models/custom_effect_props_spec.rb +47 -0
  136. data/spec/models/custom_effect_spec.rb +113 -0
  137. data/spec/models/customer_inventory_spec.rb +6 -0
  138. data/spec/models/customer_profile_integration_request_v2_spec.rb +1 -1
  139. data/spec/models/environment_spec.rb +30 -0
  140. data/spec/models/export_spec.rb +1 -1
  141. data/spec/models/giveaway_spec.rb +89 -0
  142. data/spec/models/giveaways_pool_spec.rb +89 -0
  143. data/spec/models/import_entity_spec.rb +41 -0
  144. data/spec/models/inline_response20010_spec.rb +1 -1
  145. data/spec/models/inline_response20011_spec.rb +6 -0
  146. data/spec/models/inline_response20012_spec.rb +0 -6
  147. data/spec/models/inline_response20013_spec.rb +1 -1
  148. data/spec/models/inline_response20014_spec.rb +1 -1
  149. data/spec/models/inline_response20016_spec.rb +1 -1
  150. data/spec/models/inline_response20017_spec.rb +1 -1
  151. data/spec/models/inline_response20018_spec.rb +1 -1
  152. data/spec/models/inline_response20019_spec.rb +6 -0
  153. data/spec/models/inline_response20027_spec.rb +6 -0
  154. data/spec/models/inline_response20028_spec.rb +0 -6
  155. data/spec/models/inline_response2006_spec.rb +1 -1
  156. data/spec/models/inline_response2007_spec.rb +1 -1
  157. data/spec/models/inline_response2009_spec.rb +1 -1
  158. data/spec/models/{inline_response20030_spec.rb → inline_response201_spec.rb} +6 -6
  159. data/spec/models/integration_request_spec.rb +1 -1
  160. data/spec/models/integration_state_v2_spec.rb +6 -0
  161. data/spec/models/inventory_coupon_spec.rb +149 -0
  162. data/spec/models/loyalty_program_entity_spec.rb +41 -0
  163. data/spec/models/loyalty_program_spec.rb +6 -0
  164. data/spec/models/loyalty_tier_spec.rb +65 -0
  165. data/spec/models/new_attribute_spec.rb +1 -1
  166. data/spec/models/new_campaign_spec.rb +1 -1
  167. data/spec/models/new_custom_effect_spec.rb +77 -0
  168. data/spec/models/new_giveaways_pool_spec.rb +53 -0
  169. data/spec/models/new_loyalty_tier_spec.rb +47 -0
  170. data/spec/models/new_referral_spec.rb +17 -5
  171. data/spec/models/new_referrals_for_multiple_advocates_spec.rb +83 -0
  172. data/spec/models/referral_constraints_spec.rb +53 -0
  173. data/spec/models/referral_spec.rb +21 -3
  174. data/spec/models/role_spec.rb +12 -0
  175. data/spec/models/update_campaign_spec.rb +1 -1
  176. data/spec/models/update_custom_effect_spec.rb +77 -0
  177. data/spec/models/update_loyalty_tier_spec.rb +47 -0
  178. data/spec/models/update_referral_spec.rb +65 -0
  179. data/spec/models/will_award_giveaway_effect_props_spec.rb +53 -0
  180. metadata +86 -6
@@ -0,0 +1,29 @@
1
+ # TalonOne::NewCustomEffect
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **name** | **String** | The name of this effect. |
8
+ **title** | **String** | The title of this effect. |
9
+ **payload** | **String** | The JSON payload of this effect. |
10
+ **description** | **String** | The description of this effect. | [optional]
11
+ **enabled** | **Boolean** | Determines if this effect is active. |
12
+ **subscribed_applications_ids** | **Array<Integer>** | A list of the IDs of the applications that this effect is enabled for | [optional]
13
+ **params** | [**Array<TemplateArgDef>**](TemplateArgDef.md) | Array of template argument definitions | [optional]
14
+
15
+ ## Code Sample
16
+
17
+ ```ruby
18
+ require 'TalonOne'
19
+
20
+ instance = TalonOne::NewCustomEffect.new(name: null,
21
+ title: null,
22
+ payload: null,
23
+ description: null,
24
+ enabled: null,
25
+ subscribed_applications_ids: null,
26
+ params: null)
27
+ ```
28
+
29
+
@@ -0,0 +1,21 @@
1
+ # TalonOne::NewGiveawaysPool
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **name** | **String** | The name of this giveaways pool. |
8
+ **description** | **String** | The description of this giveaways pool. | [optional]
9
+ **subscribed_applications_ids** | **Array<Integer>** | A list of the IDs of the applications that this giveaways pool is enabled for | [optional]
10
+
11
+ ## Code Sample
12
+
13
+ ```ruby
14
+ require 'TalonOne'
15
+
16
+ instance = TalonOne::NewGiveawaysPool.new(name: null,
17
+ description: null,
18
+ subscribed_applications_ids: null)
19
+ ```
20
+
21
+
@@ -0,0 +1,19 @@
1
+ # TalonOne::NewLoyaltyTier
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **name** | **String** | The name of the tier |
8
+ **min_points** | **Float** | The minimum amount of points required to be eligible for the tier |
9
+
10
+ ## Code Sample
11
+
12
+ ```ruby
13
+ require 'TalonOne'
14
+
15
+ instance = TalonOne::NewLoyaltyTier.new(name: null,
16
+ min_points: null)
17
+ ```
18
+
19
+
data/docs/NewReferral.md CHANGED
@@ -4,22 +4,26 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **campaign_id** | **Integer** | ID of the campaign from which the referral received the referral code. |
8
- **advocate_profile_integration_id** | **String** | The Integration Id of the Advocate's Profile |
9
- **friend_profile_integration_id** | **String** | An optional Integration ID of the Friend's Profile | [optional]
10
7
  **start_date** | **DateTime** | Timestamp at which point the referral code becomes valid. | [optional]
11
8
  **expiry_date** | **DateTime** | Expiry date of the referral code. Referral never expires if this is omitted, zero, or negative. | [optional]
9
+ **usage_limit** | **Integer** | The number of times a referral code can be used. This can be set to 0 for no limit, but any campaign usage limits will still apply. | [optional]
10
+ **campaign_id** | **Integer** | ID of the campaign from which the referral received the referral code. |
11
+ **advocate_profile_integration_id** | **String** | The Integration ID of the Advocate's Profile. |
12
+ **friend_profile_integration_id** | **String** | An optional Integration ID of the Friend's Profile | [optional]
13
+ **attributes** | [**Object**](.md) | Arbitrary properties associated with this item. | [optional]
12
14
 
13
15
  ## Code Sample
14
16
 
15
17
  ```ruby
16
18
  require 'TalonOne'
17
19
 
18
- instance = TalonOne::NewReferral.new(campaign_id: null,
20
+ instance = TalonOne::NewReferral.new(start_date: null,
21
+ expiry_date: null,
22
+ usage_limit: null,
23
+ campaign_id: null,
19
24
  advocate_profile_integration_id: null,
20
25
  friend_profile_integration_id: null,
21
- start_date: null,
22
- expiry_date: null)
26
+ attributes: null)
23
27
  ```
24
28
 
25
29
 
@@ -0,0 +1,31 @@
1
+ # TalonOne::NewReferralsForMultipleAdvocates
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **start_date** | **DateTime** | Timestamp at which point the referral code becomes valid. | [optional]
8
+ **expiry_date** | **DateTime** | Expiry date of the referral code. Referral never expires if this is omitted, zero, or negative. | [optional]
9
+ **usage_limit** | **Integer** | The number of times a referral code can be used. This can be set to 0 for no limit, but any campaign usage limits will still apply. |
10
+ **campaign_id** | **Integer** | The ID of the campaign from which the referral received the referral code. |
11
+ **advocate_profile_integration_ids** | **Array<String>** | An array containing all the respective advocate profiles. |
12
+ **attributes** | [**Object**](.md) | Arbitrary properties associated with this item. | [optional]
13
+ **valid_characters** | **Array<String>** | Set of characters to be used when generating random part of code. Defaults to [A-Z, 0-9] (in terms of RegExp). | [optional]
14
+ **referral_pattern** | **String** | The pattern that will be used to generate referrals. The character `#` acts as a placeholder and will be replaced by a random character from the `validCharacters` set. | [optional]
15
+
16
+ ## Code Sample
17
+
18
+ ```ruby
19
+ require 'TalonOne'
20
+
21
+ instance = TalonOne::NewReferralsForMultipleAdvocates.new(start_date: null,
22
+ expiry_date: null,
23
+ usage_limit: null,
24
+ campaign_id: null,
25
+ advocate_profile_integration_ids: null,
26
+ attributes: null,
27
+ valid_characters: null,
28
+ referral_pattern: null)
29
+ ```
30
+
31
+
data/docs/NewRole.md CHANGED
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
7
7
  **name** | **String** | Name of the role |
8
8
  **description** | **String** | Description of the role | [optional]
9
9
  **acl** | **String** | Role Policy this should be a stringified blob of json |
10
- **users** | **Array<Integer>** | An array of userIDs |
10
+ **users** | **Array<Integer>** | An array of user identifiers |
11
11
 
12
12
  ## Code Sample
13
13
 
data/docs/Referral.md CHANGED
@@ -6,14 +6,17 @@ Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **id** | **Integer** | Unique ID for this entity. |
8
8
  **created** | **DateTime** | The exact moment this entity was created. |
9
- **campaign_id** | **Integer** | ID of the campaign from which the referral received the referral code. |
10
- **advocate_profile_integration_id** | **String** | The Integration Id of the Advocate's Profile |
11
- **friend_profile_integration_id** | **String** | An optional Integration ID of the Friend's Profile | [optional]
12
9
  **start_date** | **DateTime** | Timestamp at which point the referral code becomes valid. | [optional]
13
10
  **expiry_date** | **DateTime** | Expiry date of the referral code. Referral never expires if this is omitted, zero, or negative. | [optional]
11
+ **usage_limit** | **Integer** | The number of times a referral code can be used. This can be set to 0 for no limit, but any campaign usage limits will still apply. |
12
+ **campaign_id** | **Integer** | ID of the campaign from which the referral received the referral code. |
13
+ **advocate_profile_integration_id** | **String** | The Integration ID of the Advocate's Profile. |
14
+ **friend_profile_integration_id** | **String** | An optional Integration ID of the Friend's Profile | [optional]
15
+ **attributes** | [**Object**](.md) | Arbitrary properties associated with this item. | [optional]
16
+ **import_id** | **Integer** | The ID of the Import which created this referral. | [optional]
14
17
  **code** | **String** | The actual referral code. |
15
18
  **usage_counter** | **Integer** | The number of times this referral code has been successfully used. |
16
- **usage_limit** | **Integer** | The number of times a referral code can be used. This can be set to 0 for no limit, but any campaign usage limits will still apply. |
19
+ **batch_id** | **String** | The ID of the batch the referrals belong to. | [optional]
17
20
 
18
21
  ## Code Sample
19
22
 
@@ -22,14 +25,17 @@ require 'TalonOne'
22
25
 
23
26
  instance = TalonOne::Referral.new(id: null,
24
27
  created: null,
28
+ start_date: null,
29
+ expiry_date: null,
30
+ usage_limit: null,
25
31
  campaign_id: null,
26
32
  advocate_profile_integration_id: null,
27
33
  friend_profile_integration_id: null,
28
- start_date: null,
29
- expiry_date: null,
34
+ attributes: null,
35
+ import_id: null,
30
36
  code: null,
31
37
  usage_counter: null,
32
- usage_limit: null)
38
+ batch_id: null)
33
39
  ```
34
40
 
35
41
 
@@ -0,0 +1,21 @@
1
+ # TalonOne::ReferralConstraints
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **start_date** | **DateTime** | Timestamp at which point the referral code becomes valid. | [optional]
8
+ **expiry_date** | **DateTime** | Expiry date of the referral code. Referral never expires if this is omitted, zero, or negative. | [optional]
9
+ **usage_limit** | **Integer** | The number of times a referral code can be used. This can be set to 0 for no limit, but any campaign usage limits will still apply. | [optional]
10
+
11
+ ## Code Sample
12
+
13
+ ```ruby
14
+ require 'TalonOne'
15
+
16
+ instance = TalonOne::ReferralConstraints.new(start_date: null,
17
+ expiry_date: null,
18
+ usage_limit: null)
19
+ ```
20
+
21
+
data/docs/Role.md CHANGED
@@ -4,13 +4,15 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **id** | **Integer** | The ID of the role corresponding to the DB row |
8
- **account_id** | **Integer** | The ID of the Talon.One account that owns this role. |
7
+ **id** | **Integer** | Unique ID for this entity. |
8
+ **created** | **DateTime** | The exact moment this entity was created. |
9
+ **modified** | **DateTime** | The exact moment this entity was last modified. |
10
+ **account_id** | **Integer** | The ID of the account that owns this entity. |
9
11
  **campaign_group_id** | **Integer** | The ID of the Campaign Group this role was created for. | [optional]
10
- **name** | **String** | Name of the role | [optional]
12
+ **name** | **String** | Name of the role |
11
13
  **description** | **String** | Description of the role | [optional]
12
14
  **members** | **Array<Integer>** | A list of user identifiers assigned to this role | [optional]
13
- **acl** | [**Object**](.md) | Role ACL Policy | [optional]
15
+ **acl** | [**Object**](.md) | Role ACL Policy |
14
16
 
15
17
  ## Code Sample
16
18
 
@@ -18,6 +20,8 @@ Name | Type | Description | Notes
18
20
  require 'TalonOne'
19
21
 
20
22
  instance = TalonOne::Role.new(id: null,
23
+ created: null,
24
+ modified: null,
21
25
  account_id: null,
22
26
  campaign_group_id: null,
23
27
  name: null,
@@ -0,0 +1,29 @@
1
+ # TalonOne::UpdateCustomEffect
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **name** | **String** | The name of this effect. |
8
+ **title** | **String** | The title of this effect. |
9
+ **payload** | **String** | The JSON payload of this effect. |
10
+ **description** | **String** | The description of this effect. | [optional]
11
+ **enabled** | **Boolean** | Determines if this effect is active. |
12
+ **subscribed_applications_ids** | **Array<Integer>** | A list of the IDs of the applications that this effect is enabled for | [optional]
13
+ **params** | [**Array<TemplateArgDef>**](TemplateArgDef.md) | Array of template argument definitions | [optional]
14
+
15
+ ## Code Sample
16
+
17
+ ```ruby
18
+ require 'TalonOne'
19
+
20
+ instance = TalonOne::UpdateCustomEffect.new(name: null,
21
+ title: null,
22
+ payload: null,
23
+ description: null,
24
+ enabled: null,
25
+ subscribed_applications_ids: null,
26
+ params: null)
27
+ ```
28
+
29
+
@@ -0,0 +1,19 @@
1
+ # TalonOne::UpdateLoyaltyTier
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **name** | **String** | The name of the tier |
8
+ **min_points** | **Float** | The minimum amount of points required to be eligible for the tier |
9
+
10
+ ## Code Sample
11
+
12
+ ```ruby
13
+ require 'TalonOne'
14
+
15
+ instance = TalonOne::UpdateLoyaltyTier.new(name: null,
16
+ min_points: null)
17
+ ```
18
+
19
+
@@ -0,0 +1,25 @@
1
+ # TalonOne::UpdateReferral
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **friend_profile_integration_id** | **String** | An optional Integration ID of the Friend's Profile | [optional]
8
+ **start_date** | **DateTime** | Timestamp at which point the referral code becomes valid. | [optional]
9
+ **expiry_date** | **DateTime** | Expiry date of the referral code. Referral never expires if this is omitted, zero, or negative. | [optional]
10
+ **usage_limit** | **Integer** | The number of times a referral code can be used. This can be set to 0 for no limit, but any campaign usage limits will still apply. | [optional]
11
+ **attributes** | [**Object**](.md) | Arbitrary properties associated with this item | [optional]
12
+
13
+ ## Code Sample
14
+
15
+ ```ruby
16
+ require 'TalonOne'
17
+
18
+ instance = TalonOne::UpdateReferral.new(friend_profile_integration_id: null,
19
+ start_date: null,
20
+ expiry_date: null,
21
+ usage_limit: null,
22
+ attributes: null)
23
+ ```
24
+
25
+
data/docs/UpdateRole.md CHANGED
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
7
7
  **name** | **String** | Name of the role | [optional]
8
8
  **description** | **String** | Description of the role | [optional]
9
9
  **acl** | **String** | Role Policy this should be a stringified blob of json | [optional]
10
- **users** | **Array<Integer>** | an array of user identifiers | [optional]
10
+ **users** | **Array<Integer>** | An array of user identifiers | [optional]
11
11
 
12
12
  ## Code Sample
13
13
 
@@ -0,0 +1,21 @@
1
+ # TalonOne::WillAwardGiveawayEffectProps
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **pool_id** | **Integer** | The ID of the giveaways pool the code will be taken from. |
8
+ **pool_name** | **String** | The name of the giveaways pool the code will be taken from. |
9
+ **recipient_integration_id** | **String** | The integration ID of the profile that will be awarded the giveaway. |
10
+
11
+ ## Code Sample
12
+
13
+ ```ruby
14
+ require 'TalonOne'
15
+
16
+ instance = TalonOne::WillAwardGiveawayEffectProps.new(pool_id: null,
17
+ pool_name: null,
18
+ recipient_integration_id: null)
19
+ ```
20
+
21
+
data/lib/talon_one.rb CHANGED
@@ -32,11 +32,13 @@ require 'talon_one/models/additional_cost'
32
32
  require 'talon_one/models/application'
33
33
  require 'talon_one/models/application_api_key'
34
34
  require 'talon_one/models/application_api_health'
35
+ require 'talon_one/models/application_campaign_stats'
35
36
  require 'talon_one/models/application_customer'
36
37
  require 'talon_one/models/application_customer_entity'
37
38
  require 'talon_one/models/application_customer_search'
38
39
  require 'talon_one/models/application_entity'
39
40
  require 'talon_one/models/application_event'
41
+ require 'talon_one/models/application_referee'
40
42
  require 'talon_one/models/application_session'
41
43
  require 'talon_one/models/application_session_entity'
42
44
  require 'talon_one/models/attribute'
@@ -44,6 +46,7 @@ require 'talon_one/models/attributes_mandatory'
44
46
  require 'talon_one/models/attributes_settings'
45
47
  require 'talon_one/models/audience'
46
48
  require 'talon_one/models/audience_membership'
49
+ require 'talon_one/models/award_giveaway_effect_props'
47
50
  require 'talon_one/models/base_saml_connection'
48
51
  require 'talon_one/models/binding'
49
52
  require 'talon_one/models/campaign'
@@ -69,6 +72,8 @@ require 'talon_one/models/coupon_reservations'
69
72
  require 'talon_one/models/coupon_search'
70
73
  require 'talon_one/models/coupon_value'
71
74
  require 'talon_one/models/create_application_api_key'
75
+ require 'talon_one/models/custom_effect'
76
+ require 'talon_one/models/custom_effect_props'
72
77
  require 'talon_one/models/customer_activity_report'
73
78
  require 'talon_one/models/customer_analytics'
74
79
  require 'talon_one/models/customer_inventory'
@@ -98,7 +103,10 @@ require 'talon_one/models/features_feed'
98
103
  require 'talon_one/models/feed_notification'
99
104
  require 'talon_one/models/func_arg_def'
100
105
  require 'talon_one/models/function_def'
106
+ require 'talon_one/models/giveaway'
107
+ require 'talon_one/models/giveaways_pool'
101
108
  require 'talon_one/models/import'
109
+ require 'talon_one/models/import_entity'
102
110
  require 'talon_one/models/inline_response200'
103
111
  require 'talon_one/models/inline_response2001'
104
112
  require 'talon_one/models/inline_response20010'
@@ -123,19 +131,20 @@ require 'talon_one/models/inline_response20027'
123
131
  require 'talon_one/models/inline_response20028'
124
132
  require 'talon_one/models/inline_response20029'
125
133
  require 'talon_one/models/inline_response2003'
126
- require 'talon_one/models/inline_response20030'
127
134
  require 'talon_one/models/inline_response2004'
128
135
  require 'talon_one/models/inline_response2005'
129
136
  require 'talon_one/models/inline_response2006'
130
137
  require 'talon_one/models/inline_response2007'
131
138
  require 'talon_one/models/inline_response2008'
132
139
  require 'talon_one/models/inline_response2009'
140
+ require 'talon_one/models/inline_response201'
133
141
  require 'talon_one/models/integration_entity'
134
142
  require 'talon_one/models/integration_event'
135
143
  require 'talon_one/models/integration_profile_entity'
136
144
  require 'talon_one/models/integration_request'
137
145
  require 'talon_one/models/integration_state'
138
146
  require 'talon_one/models/integration_state_v2'
147
+ require 'talon_one/models/inventory_coupon'
139
148
  require 'talon_one/models/ledger_entry'
140
149
  require 'talon_one/models/library_attribute'
141
150
  require 'talon_one/models/limit_config'
@@ -147,9 +156,11 @@ require 'talon_one/models/loyalty_membership'
147
156
  require 'talon_one/models/loyalty_points'
148
157
  require 'talon_one/models/loyalty_program'
149
158
  require 'talon_one/models/loyalty_program_balance'
159
+ require 'talon_one/models/loyalty_program_entity'
150
160
  require 'talon_one/models/loyalty_program_ledgers'
151
161
  require 'talon_one/models/loyalty_statistics'
152
162
  require 'talon_one/models/loyalty_sub_ledger'
163
+ require 'talon_one/models/loyalty_tier'
153
164
  require 'talon_one/models/manager_config'
154
165
  require 'talon_one/models/meta'
155
166
  require 'talon_one/models/multi_application_entity'
@@ -169,18 +180,22 @@ require 'talon_one/models/new_campaign_group'
169
180
  require 'talon_one/models/new_campaign_set'
170
181
  require 'talon_one/models/new_coupons'
171
182
  require 'talon_one/models/new_coupons_for_multiple_recipients'
183
+ require 'talon_one/models/new_custom_effect'
172
184
  require 'talon_one/models/new_customer_profile'
173
185
  require 'talon_one/models/new_customer_session'
174
186
  require 'talon_one/models/new_customer_session_v2'
175
187
  require 'talon_one/models/new_event'
176
188
  require 'talon_one/models/new_event_type'
177
189
  require 'talon_one/models/new_feature_flags'
190
+ require 'talon_one/models/new_giveaways_pool'
178
191
  require 'talon_one/models/new_invitation'
179
192
  require 'talon_one/models/new_invite_email'
180
193
  require 'talon_one/models/new_loyalty_program'
194
+ require 'talon_one/models/new_loyalty_tier'
181
195
  require 'talon_one/models/new_password'
182
196
  require 'talon_one/models/new_password_email'
183
197
  require 'talon_one/models/new_referral'
198
+ require 'talon_one/models/new_referrals_for_multiple_advocates'
184
199
  require 'talon_one/models/new_role'
185
200
  require 'talon_one/models/new_ruleset'
186
201
  require 'talon_one/models/new_saml_connection'
@@ -191,6 +206,7 @@ require 'talon_one/models/notification'
191
206
  require 'talon_one/models/profile_audiences_changes'
192
207
  require 'talon_one/models/redeem_referral_effect_props'
193
208
  require 'talon_one/models/referral'
209
+ require 'talon_one/models/referral_constraints'
194
210
  require 'talon_one/models/referral_created_effect_props'
195
211
  require 'talon_one/models/referral_rejection_reason'
196
212
  require 'talon_one/models/reject_coupon_effect_props'
@@ -226,7 +242,10 @@ require 'talon_one/models/update_campaign'
226
242
  require 'talon_one/models/update_campaign_group'
227
243
  require 'talon_one/models/update_coupon'
228
244
  require 'talon_one/models/update_coupon_batch'
245
+ require 'talon_one/models/update_custom_effect'
229
246
  require 'talon_one/models/update_loyalty_program'
247
+ require 'talon_one/models/update_loyalty_tier'
248
+ require 'talon_one/models/update_referral'
230
249
  require 'talon_one/models/update_role'
231
250
  require 'talon_one/models/update_user'
232
251
  require 'talon_one/models/update_user_latest_feed_timestamp'
@@ -236,6 +255,7 @@ require 'talon_one/models/user_feed_notifications'
236
255
  require 'talon_one/models/webhook'
237
256
  require 'talon_one/models/webhook_activation_log_entry'
238
257
  require 'talon_one/models/webhook_log_entry'
258
+ require 'talon_one/models/will_award_giveaway_effect_props'
239
259
 
240
260
  # APIs
241
261
  require 'talon_one/api/integration_api'