talon_one 8.0.0 → 9.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (59) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +6 -8
  3. data/docs/AchievementBase.md +35 -0
  4. data/docs/AchievementProgressWithDefinition.md +45 -0
  5. data/docs/AchievementStatusEntry.md +45 -0
  6. data/docs/AnalyticsSKU.md +23 -0
  7. data/docs/ApplicationCIFReferences.md +19 -0
  8. data/docs/CampaignDetail.md +19 -0
  9. data/docs/CampaignStoreBudgetLimitConfig.md +25 -0
  10. data/docs/CampaignTemplate.md +3 -1
  11. data/docs/HiddenConditionsEffects.md +23 -0
  12. data/docs/InlineResponse20048.md +19 -0
  13. data/docs/InlineResponse20049.md +19 -0
  14. data/docs/IntegrationApi.md +3 -1
  15. data/docs/LedgerTransactionLogEntryIntegrationAPI.md +3 -1
  16. data/docs/LoyaltyLedgerEntryFlags.md +17 -0
  17. data/docs/LoyaltyProgramTransaction.md +3 -1
  18. data/docs/ManagementApi.md +164 -323
  19. data/docs/MessageTest.md +27 -0
  20. data/docs/NewMessageTest.md +29 -0
  21. data/docs/ProductUnitAnalyticsDataPoint.md +25 -0
  22. data/docs/ProductUnitAnalyticsTotals.md +17 -0
  23. data/docs/SkuUnitAnalytics.md +19 -0
  24. data/docs/SkuUnitAnalyticsDataPoint.md +23 -0
  25. data/docs/StrikethroughLabelingNotification.md +2 -0
  26. data/lib/talon_one/api/integration_api.rb +3 -0
  27. data/lib/talon_one/api/management_api.rb +191 -354
  28. data/lib/talon_one/models/achievement_base.rb +377 -0
  29. data/lib/talon_one/models/achievement_progress_with_definition.rb +490 -0
  30. data/lib/talon_one/models/achievement_status_entry.rb +472 -0
  31. data/lib/talon_one/models/analytics_sku.rb +246 -0
  32. data/lib/talon_one/models/application_cif_references.rb +219 -0
  33. data/lib/talon_one/models/campaign_detail.rb +232 -0
  34. data/lib/talon_one/models/campaign_store_budget_limit_config.rb +322 -0
  35. data/lib/talon_one/models/campaign_template.rb +16 -4
  36. data/lib/talon_one/models/delete_user_request.rb +0 -1
  37. data/lib/talon_one/models/hidden_conditions_effects.rb +246 -0
  38. data/lib/talon_one/models/inline_response20048.rb +222 -0
  39. data/lib/talon_one/models/inline_response20049.rb +227 -0
  40. data/lib/talon_one/models/ledger_transaction_log_entry_integration_api.rb +13 -4
  41. data/lib/talon_one/models/loyalty_ledger_entry_flags.rb +208 -0
  42. data/lib/talon_one/models/loyalty_program_transaction.rb +13 -4
  43. data/lib/talon_one/models/message_test.rb +227 -0
  44. data/lib/talon_one/models/new_message_test.rb +322 -0
  45. data/lib/talon_one/models/product_unit_analytics_data_point.rb +271 -0
  46. data/lib/talon_one/models/product_unit_analytics_totals.rb +206 -0
  47. data/lib/talon_one/models/sku_unit_analytics.rb +227 -0
  48. data/lib/talon_one/models/sku_unit_analytics_data_point.rb +256 -0
  49. data/lib/talon_one/models/strikethrough_labeling_notification.rb +11 -1
  50. data/lib/talon_one/version.rb +1 -1
  51. data/lib/talon_one.rb +2 -1
  52. data/spec/api/integration_api_spec.rb +1 -0
  53. data/spec/api/management_api_spec.rb +60 -87
  54. data/spec/models/campaign_template_spec.rb +6 -0
  55. data/spec/models/ledger_transaction_log_entry_integration_api_spec.rb +6 -0
  56. data/spec/models/loyalty_program_transaction_spec.rb +6 -0
  57. data/spec/models/revision_activation_request_spec.rb +47 -0
  58. data/spec/models/strikethrough_labeling_notification_spec.rb +6 -0
  59. metadata +563 -527
@@ -18,6 +18,9 @@ module TalonOne
18
18
  # The version of the strikethrough pricing notification.
19
19
  attr_accessor :version
20
20
 
21
+ # Timestamp at which the strikethrough pricing update becomes valid. Set for **scheduled** strikethrough pricing updates (version: v2) only.
22
+ attr_accessor :valid_from
23
+
21
24
  # The ID of the Application to which the catalog items labels belongs.
22
25
  attr_accessor :application_id
23
26
 
@@ -57,6 +60,7 @@ module TalonOne
57
60
  def self.attribute_map
58
61
  {
59
62
  :'version' => :'version',
63
+ :'valid_from' => :'validFrom',
60
64
  :'application_id' => :'applicationId',
61
65
  :'current_batch' => :'currentBatch',
62
66
  :'total_batches' => :'totalBatches',
@@ -69,6 +73,7 @@ module TalonOne
69
73
  def self.openapi_types
70
74
  {
71
75
  :'version' => :'String',
76
+ :'valid_from' => :'DateTime',
72
77
  :'application_id' => :'Integer',
73
78
  :'current_batch' => :'Integer',
74
79
  :'total_batches' => :'Integer',
@@ -102,6 +107,10 @@ module TalonOne
102
107
  self.version = attributes[:'version']
103
108
  end
104
109
 
110
+ if attributes.key?(:'valid_from')
111
+ self.valid_from = attributes[:'valid_from']
112
+ end
113
+
105
114
  if attributes.key?(:'application_id')
106
115
  self.application_id = attributes[:'application_id']
107
116
  end
@@ -181,6 +190,7 @@ module TalonOne
181
190
  return true if self.equal?(o)
182
191
  self.class == o.class &&
183
192
  version == o.version &&
193
+ valid_from == o.valid_from &&
184
194
  application_id == o.application_id &&
185
195
  current_batch == o.current_batch &&
186
196
  total_batches == o.total_batches &&
@@ -197,7 +207,7 @@ module TalonOne
197
207
  # Calculates hash code according to all attributes.
198
208
  # @return [Integer] Hash code
199
209
  def hash
200
- [version, application_id, current_batch, total_batches, trigger, changed_items].hash
210
+ [version, valid_from, application_id, current_batch, total_batches, trigger, changed_items].hash
201
211
  end
202
212
 
203
213
  # Builds the object from hash
@@ -11,5 +11,5 @@ OpenAPI Generator version: 4.3.1
11
11
  =end
12
12
 
13
13
  module TalonOne
14
- VERSION = '8.0.0'
14
+ VERSION = '9.0.0'
15
15
  end
data/lib/talon_one.rb CHANGED
@@ -177,9 +177,9 @@ require 'talon_one/models/customer_profile_search_query'
177
177
  require 'talon_one/models/customer_profile_update_v2_response'
178
178
  require 'talon_one/models/customer_session'
179
179
  require 'talon_one/models/customer_session_v2'
180
- require 'talon_one/models/deactivate_user_request'
181
180
  require 'talon_one/models/deduct_loyalty_points'
182
181
  require 'talon_one/models/deduct_loyalty_points_effect_props'
182
+ require 'talon_one/models/delete_user_request'
183
183
  require 'talon_one/models/effect'
184
184
  require 'talon_one/models/effect_entity'
185
185
  require 'talon_one/models/email_entity'
@@ -439,6 +439,7 @@ require 'talon_one/models/return_integration_request'
439
439
  require 'talon_one/models/returned_cart_item'
440
440
  require 'talon_one/models/revision'
441
441
  require 'talon_one/models/revision_activation'
442
+ require 'talon_one/models/revision_activation_request'
442
443
  require 'talon_one/models/revision_version'
443
444
  require 'talon_one/models/role'
444
445
  require 'talon_one/models/role_assign'
@@ -386,6 +386,7 @@ describe 'IntegrationApi' do
386
386
  # @param [Hash] opts the optional parameters
387
387
  # @option opts [String] :silent Possible values: `yes` or `no`. - `yes`: Increases the performance of the API call by returning a 204 response. - `no`: Returns a 200 response that contains the updated customer profiles.
388
388
  # @option opts [Boolean] :dry Indicates whether to persist the changes. Changes are ignored when `dry=true`.
389
+ # @option opts [Boolean] :force_complete_evaluation Forces evaluation for all matching campaigns regardless of the [campaign evaluation mode](https://docs.talon.one/docs/product/applications/managing-campaign-evaluation#setting-campaign-evaluation-mode). Requires `dry=true`.
389
390
  # @return [TrackEventV2Response]
390
391
  describe 'track_event_v2 test' do
391
392
  it 'should work' do
@@ -573,7 +573,7 @@ describe 'ManagementApi' do
573
573
  # @param application_id The ID of the Application. It is displayed in your Talon.One deployment URL.
574
574
  # @param [Hash] opts the optional parameters
575
575
  # @option opts [Float] :campaign_id Filter results by campaign ID.
576
- # @option opts [String] :sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** This parameter works only with numeric fields.
576
+ # @option opts [String] :sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations.
577
577
  # @option opts [String] :value Filter results performing case-insensitive matching against the coupon code. Both the code and the query are folded to remove all non-alpha-numeric characters.
578
578
  # @option opts [DateTime] :created_before Filter results comparing the parameter value, expected to be an RFC3339 timestamp string, to the coupon creation timestamp. You can use any time zone setting. Talon.One will convert to UTC internally.
579
579
  # @option opts [DateTime] :created_after Filter results comparing the parameter value, expected to be an RFC3339 timestamp string, to the coupon creation timestamp. You can use any time zone setting. Talon.One will convert to UTC internally.
@@ -711,7 +711,7 @@ describe 'ManagementApi' do
711
711
 
712
712
  # unit tests for export_loyalty_ledger
713
713
  # Export customer's transaction logs
714
- # Download a CSV file containing a customer's transaction logs in the loyalty program. **Tip:** If the exported CSV file is too large to view, you can [split it into multiple files](https://www.makeuseof.com/tag/how-to-split-a-huge-csv-excel-workbook-into-seperate-files/). The generated file can contain the following columns: - `customerprofileid`: The ID of the profile. - `customersessionid`: The ID of the customer session. - `rulesetid`: The ID of the rule set. - `rulename`: The name of the rule. - `programid`: The ID of the loyalty program. - `type`: The transaction type, such as `addition` or `subtraction`. - `name`: The reason for the transaction. - `subledgerid`: The ID of the subledger, when applicable. - `startdate`: The start date of the program. - `expirydate`: The expiration date of the program. - `id`: The ID of the transaction. - `created`: The timestamp of the creation of the loyalty program. - `amount`: The number of points in that transaction. - `archived`: Whether the session related to the transaction is archived. - `campaignid`: The ID of the campaign.
714
+ # Download a CSV file containing a customer's transaction logs in the loyalty program. **Tip:** If the exported CSV file is too large to view, you can [split it into multiple files](https://www.makeuseof.com/tag/how-to-split-a-huge-csv-excel-workbook-into-seperate-files/). The generated file can contain the following columns: - `customerprofileid`: The ID of the profile. - `customersessionid`: The ID of the customer session. - `rulesetid`: The ID of the rule set. - `rulename`: The name of the rule. - `programid`: The ID of the loyalty program. - `type`: The transaction type, such as `addition` or `subtraction`. - `name`: The reason for the transaction. - `subledgerid`: The ID of the subledger, when applicable. - `startdate`: The start date of the program. - `expirydate`: The expiration date of the program. - `id`: The ID of the transaction. - `created`: The timestamp of the creation of the loyalty program. - `amount`: The number of points in that transaction. - `archived`: Whether the session related to the transaction is archived. - `campaignid`: The ID of the campaign. - `flags`: The flags of the transaction, when applicable. The `createsNegativeBalance` flag indicates whether the transaction results in a negative balance.
715
715
  # @param range_start Only return results from after this timestamp. **Note:** - This must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered.
716
716
  # @param range_end Only return results from before this timestamp. **Note:** - This must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered.
717
717
  # @param loyalty_program_id The identifier for the loyalty program.
@@ -770,7 +770,7 @@ describe 'ManagementApi' do
770
770
  # @option opts [String] :status Filter results by HTTP status codes.
771
771
  # @option opts [Integer] :page_size The number of items in the response.
772
772
  # @option opts [Integer] :skip The number of items to skip when paging through large result sets.
773
- # @option opts [String] :sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** This parameter works only with numeric fields.
773
+ # @option opts [String] :sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations.
774
774
  # @return [InlineResponse20022]
775
775
  describe 'get_access_logs_without_total_count test' do
776
776
  it 'should work' do
@@ -846,7 +846,7 @@ describe 'ManagementApi' do
846
846
  # @param [Hash] opts the optional parameters
847
847
  # @option opts [Integer] :page_size The number of items in the response.
848
848
  # @option opts [Integer] :skip The number of items to skip when paging through large result sets.
849
- # @option opts [String] :sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** This parameter works only with numeric fields.
849
+ # @option opts [String] :sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations.
850
850
  # @return [InlineResponse20038]
851
851
  describe 'get_additional_costs test' do
852
852
  it 'should work' do
@@ -899,7 +899,7 @@ describe 'ManagementApi' do
899
899
  # @param [Hash] opts the optional parameters
900
900
  # @option opts [Integer] :page_size The number of items in the response.
901
901
  # @option opts [Integer] :skip The number of items to skip when paging through large result sets.
902
- # @option opts [String] :sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** This parameter works only with numeric fields.
902
+ # @option opts [String] :sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations.
903
903
  # @option opts [Boolean] :with_total_result_size When this flag is set, the result includes the total size of the result, across all pages. This might decrease performance on large data sets. - When `true`: `hasMore` is true when there is a next page. `totalResultSize` is always zero. - When `false`: `hasMore` is always false. `totalResultSize` contains the total number of results for this query.
904
904
  # @return [InlineResponse20035]
905
905
  describe 'get_application_customer_friends test' do
@@ -947,7 +947,7 @@ describe 'ManagementApi' do
947
947
  # @param [Hash] opts the optional parameters
948
948
  # @option opts [Integer] :page_size The number of items in the response.
949
949
  # @option opts [Integer] :skip The number of items to skip when paging through large result sets.
950
- # @option opts [String] :sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** This parameter works only with numeric fields.
950
+ # @option opts [String] :sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations.
951
951
  # @return [InlineResponse20031]
952
952
  describe 'get_application_event_types test' do
953
953
  it 'should work' do
@@ -962,7 +962,7 @@ describe 'ManagementApi' do
962
962
  # @param [Hash] opts the optional parameters
963
963
  # @option opts [Integer] :page_size The number of items in the response.
964
964
  # @option opts [Integer] :skip The number of items to skip when paging through large result sets.
965
- # @option opts [String] :sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** This parameter works only with numeric fields.
965
+ # @option opts [String] :sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations.
966
966
  # @option opts [String] :type Comma-separated list of types by which to filter events. Must be exact match(es).
967
967
  # @option opts [DateTime] :created_before Only return events created before this date. You can use any time zone setting. Talon.One will convert to UTC internally.
968
968
  # @option opts [DateTime] :created_after Only return events created after this date. You can use any time zone setting. Talon.One will convert to UTC internally.
@@ -1001,7 +1001,7 @@ describe 'ManagementApi' do
1001
1001
  # @param [Hash] opts the optional parameters
1002
1002
  # @option opts [Integer] :page_size The number of items in the response.
1003
1003
  # @option opts [Integer] :skip The number of items to skip when paging through large result sets.
1004
- # @option opts [String] :sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** This parameter works only with numeric fields.
1004
+ # @option opts [String] :sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations.
1005
1005
  # @option opts [String] :profile Profile integration ID filter for sessions. Must be exact match.
1006
1006
  # @option opts [String] :state Filter by sessions with this state. Must be exact match.
1007
1007
  # @option opts [DateTime] :created_before Only return events created before this date. You can use any time zone setting. Talon.One will convert to UTC internally.
@@ -1023,7 +1023,7 @@ describe 'ManagementApi' do
1023
1023
  # @param [Hash] opts the optional parameters
1024
1024
  # @option opts [Integer] :page_size The number of items in the response.
1025
1025
  # @option opts [Integer] :skip The number of items to skip when paging through large result sets.
1026
- # @option opts [String] :sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** This parameter works only with numeric fields.
1026
+ # @option opts [String] :sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations.
1027
1027
  # @return [InlineResponse2007]
1028
1028
  describe 'get_applications test' do
1029
1029
  it 'should work' do
@@ -1049,7 +1049,7 @@ describe 'ManagementApi' do
1049
1049
  # @param [Hash] opts the optional parameters
1050
1050
  # @option opts [Integer] :page_size The number of items in the response.
1051
1051
  # @option opts [Integer] :skip The number of items to skip when paging through large result sets.
1052
- # @option opts [String] :sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** This parameter works only with numeric fields.
1052
+ # @option opts [String] :sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations.
1053
1053
  # @option opts [String] :entity Returned attributes will be filtered by supplied entity.
1054
1054
  # @return [InlineResponse20036]
1055
1055
  describe 'get_attributes test' do
@@ -1065,7 +1065,7 @@ describe 'ManagementApi' do
1065
1065
  # @param [Hash] opts the optional parameters
1066
1066
  # @option opts [Integer] :page_size The number of items in the response.
1067
1067
  # @option opts [Integer] :skip The number of items to skip when paging through large result sets.
1068
- # @option opts [String] :sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** This parameter works only with numeric fields.
1068
+ # @option opts [String] :sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations.
1069
1069
  # @option opts [String] :profile_query The filter to select a profile.
1070
1070
  # @return [InlineResponse20034]
1071
1071
  describe 'get_audience_memberships test' do
@@ -1080,7 +1080,7 @@ describe 'ManagementApi' do
1080
1080
  # @param [Hash] opts the optional parameters
1081
1081
  # @option opts [Integer] :page_size The number of items in the response.
1082
1082
  # @option opts [Integer] :skip The number of items to skip when paging through large result sets.
1083
- # @option opts [String] :sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** This parameter works only with numeric fields.
1083
+ # @option opts [String] :sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations.
1084
1084
  # @option opts [Boolean] :with_total_result_size When this flag is set, the result includes the total size of the result, across all pages. This might decrease performance on large data sets. - When `true`: `hasMore` is true when there is a next page. `totalResultSize` is always zero. - When `false`: `hasMore` is always false. `totalResultSize` contains the total number of results for this query.
1085
1085
  # @return [InlineResponse20032]
1086
1086
  describe 'get_audiences test' do
@@ -1094,7 +1094,7 @@ describe 'ManagementApi' do
1094
1094
  # Get a list of audience IDs and their member count.
1095
1095
  # @param audience_ids The IDs of one or more audiences, separated by commas, by which to filter results.
1096
1096
  # @param [Hash] opts the optional parameters
1097
- # @option opts [String] :sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** This parameter works only with numeric fields.
1097
+ # @option opts [String] :sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations.
1098
1098
  # @return [InlineResponse20033]
1099
1099
  describe 'get_audiences_analytics test' do
1100
1100
  it 'should work' do
@@ -1139,7 +1139,7 @@ describe 'ManagementApi' do
1139
1139
  # @param [Hash] opts the optional parameters
1140
1140
  # @option opts [Integer] :page_size The number of items in the response.
1141
1141
  # @option opts [Integer] :skip The number of items to skip when paging through large result sets.
1142
- # @option opts [String] :sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** This parameter works only with numeric fields.
1142
+ # @option opts [String] :sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations.
1143
1143
  # @option opts [String] :campaign_state Filter results by the state of the campaign. - `enabled`: Campaigns that are scheduled, running (activated), or expired. - `running`: Campaigns that are running (activated). - `disabled`: Campaigns that are disabled. - `expired`: Campaigns that are expired. - `archived`: Campaigns that are archived.
1144
1144
  # @return [InlineResponse2008]
1145
1145
  describe 'get_campaign_by_attributes test' do
@@ -1166,7 +1166,7 @@ describe 'ManagementApi' do
1166
1166
  # @param [Hash] opts the optional parameters
1167
1167
  # @option opts [Integer] :page_size The number of items in the response.
1168
1168
  # @option opts [Integer] :skip The number of items to skip when paging through large result sets.
1169
- # @option opts [String] :sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** This parameter works only with numeric fields.
1169
+ # @option opts [String] :sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations.
1170
1170
  # @return [InlineResponse20013]
1171
1171
  describe 'get_campaign_groups test' do
1172
1172
  it 'should work' do
@@ -1180,7 +1180,7 @@ describe 'ManagementApi' do
1180
1180
  # @param [Hash] opts the optional parameters
1181
1181
  # @option opts [Integer] :page_size The number of items in the response.
1182
1182
  # @option opts [Integer] :skip The number of items to skip when paging through large result sets.
1183
- # @option opts [String] :sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** This parameter works only with numeric fields.
1183
+ # @option opts [String] :sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations.
1184
1184
  # @option opts [String] :state Filter results by the state of the campaign template.
1185
1185
  # @option opts [String] :name Filter results performing case-insensitive matching against the name of the campaign template.
1186
1186
  # @option opts [String] :tags Filter results performing case-insensitive matching against the tags of the campaign template. When used in conjunction with the \"name\" query parameter, a logical OR will be performed to search both tags and name for the provided values.
@@ -1199,7 +1199,7 @@ describe 'ManagementApi' do
1199
1199
  # @param [Hash] opts the optional parameters
1200
1200
  # @option opts [Integer] :page_size The number of items in the response.
1201
1201
  # @option opts [Integer] :skip The number of items to skip when paging through large result sets.
1202
- # @option opts [String] :sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** This parameter works only with numeric fields.
1202
+ # @option opts [String] :sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations.
1203
1203
  # @option opts [String] :campaign_state Filter results by the state of the campaign. - `enabled`: Campaigns that are scheduled, running (activated), or expired. - `running`: Campaigns that are running (activated). - `disabled`: Campaigns that are disabled. - `expired`: Campaigns that are expired. - `archived`: Campaigns that are archived.
1204
1204
  # @option opts [String] :name Filter results performing case-insensitive matching against the name of the campaign.
1205
1205
  # @option opts [String] :tags Filter results performing case-insensitive matching against the tags of the campaign. When used in conjunction with the \"name\" query parameter, a logical OR will be performed to search both tags and name for the provided values
@@ -1221,7 +1221,7 @@ describe 'ManagementApi' do
1221
1221
  # @param [Hash] opts the optional parameters
1222
1222
  # @option opts [Integer] :page_size The number of items in the response.
1223
1223
  # @option opts [Integer] :skip The number of items to skip when paging through large result sets.
1224
- # @option opts [String] :sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** This parameter works only with numeric fields.
1224
+ # @option opts [String] :sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations.
1225
1225
  # @option opts [Float] :application_id Filter results by Application ID.
1226
1226
  # @option opts [String] :entity_path Filter results on a case insensitive matching of the url path of the entity
1227
1227
  # @option opts [Integer] :user_id Filter results by user ID.
@@ -1273,7 +1273,7 @@ describe 'ManagementApi' do
1273
1273
  # @param [Hash] opts the optional parameters
1274
1274
  # @option opts [Integer] :page_size The number of items in the response.
1275
1275
  # @option opts [Integer] :skip The number of items to skip when paging through large result sets.
1276
- # @option opts [String] :sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** This parameter works only with numeric fields.
1276
+ # @option opts [String] :sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations.
1277
1277
  # @option opts [String] :value Filter results performing case-insensitive matching against the coupon code. Both the code and the query are folded to remove all non-alpha-numeric characters.
1278
1278
  # @option opts [DateTime] :created_before Filter results comparing the parameter value, expected to be an RFC3339 timestamp string, to the coupon creation timestamp. You can use any time zone setting. Talon.One will convert to UTC internally.
1279
1279
  # @option opts [DateTime] :created_after Filter results comparing the parameter value, expected to be an RFC3339 timestamp string, to the coupon creation timestamp. You can use any time zone setting. Talon.One will convert to UTC internally.
@@ -1322,7 +1322,7 @@ describe 'ManagementApi' do
1322
1322
  # @param [Hash] opts the optional parameters
1323
1323
  # @option opts [Integer] :page_size The number of items in the response.
1324
1324
  # @option opts [Integer] :skip The number of items to skip when paging through large result sets.
1325
- # @option opts [String] :sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** This parameter works only with numeric fields.
1325
+ # @option opts [String] :sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations.
1326
1326
  # @option opts [String] :name Only return reports matching the customer name.
1327
1327
  # @option opts [String] :integration_id Filter results performing an exact matching against the profile integration identifier.
1328
1328
  # @option opts [String] :campaign_name Only return reports matching the campaign name.
@@ -1342,7 +1342,7 @@ describe 'ManagementApi' do
1342
1342
  # @param [Hash] opts the optional parameters
1343
1343
  # @option opts [Integer] :page_size The number of items in the response.
1344
1344
  # @option opts [Integer] :skip The number of items to skip when paging through large result sets.
1345
- # @option opts [String] :sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** This parameter works only with numeric fields.
1345
+ # @option opts [String] :sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations.
1346
1346
  # @return [CustomerAnalytics]
1347
1347
  describe 'get_customer_analytics test' do
1348
1348
  it 'should work' do
@@ -1431,7 +1431,7 @@ describe 'ManagementApi' do
1431
1431
  # @option opts [Boolean] :include_old_versions Include all versions of every event type.
1432
1432
  # @option opts [Integer] :page_size The number of items in the response.
1433
1433
  # @option opts [Integer] :skip The number of items to skip when paging through large result sets.
1434
- # @option opts [String] :sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** This parameter works only with numeric fields.
1434
+ # @option opts [String] :sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations.
1435
1435
  # @return [InlineResponse20042]
1436
1436
  describe 'get_event_types test' do
1437
1437
  it 'should work' do
@@ -1493,7 +1493,7 @@ describe 'ManagementApi' do
1493
1493
  # @param [Hash] opts the optional parameters
1494
1494
  # @option opts [Integer] :page_size The number of items in the response.
1495
1495
  # @option opts [Integer] :skip The number of items to skip when paging through large result sets.
1496
- # @option opts [String] :sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** This parameter works only with numeric fields.
1496
+ # @option opts [String] :sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations.
1497
1497
  # @option opts [String] :identifier The card code by which to filter loyalty cards in the response.
1498
1498
  # @option opts [Integer] :profile_id Filter results by customer profile ID.
1499
1499
  # @option opts [String] :batch_id Filter results by loyalty card batch ID.
@@ -1570,6 +1570,31 @@ describe 'ManagementApi' do
1570
1570
  end
1571
1571
  end
1572
1572
 
1573
+ # unit tests for get_message_logs
1574
+ # List message log entries
1575
+ # Retrieve all message log entries.
1576
+ # @param entity_type The entity type the log is related to.
1577
+ # @param [Hash] opts the optional parameters
1578
+ # @option opts [String] :message_id Filter results by message ID.
1579
+ # @option opts [String] :change_type Filter results by change type.
1580
+ # @option opts [String] :notification_i_ds Filter results by notification ID (include up to 30 values, separated by a comma).
1581
+ # @option opts [DateTime] :created_before Filter results where request and response times to return entries before parameter value, expected to be an RFC3339 timestamp string. You can use any time zone setting. Talon.One will convert to UTC internally.
1582
+ # @option opts [DateTime] :created_after Filter results where request and response times to return entries after parameter value, expected to be an RFC3339 timestamp string. You can use any time zone setting. Talon.One will convert to UTC internally.
1583
+ # @option opts [String] :cursor A specific unique value in the database. If this value is not given, the server fetches results starting with the first record.
1584
+ # @option opts [String] :period Filter results by time period. Choose between the available relative time frames.
1585
+ # @option opts [Boolean] :is_successful Indicates whether to return log entries with either successful or unsuccessful HTTP response codes. When set to`true`, only log entries with `2xx` response codes are returned. When set to `false`, only log entries with `4xx` and `5xx` response codes are returned.
1586
+ # @option opts [Float] :application_id Filter results by Application ID.
1587
+ # @option opts [Float] :campaign_id Filter results by campaign ID.
1588
+ # @option opts [Integer] :loyalty_program_id Identifier of the loyalty program.
1589
+ # @option opts [Integer] :response_code Filter results by response status code.
1590
+ # @option opts [String] :webhook_i_ds Filter results by webhook ID (include up to 30 values, separated by a comma).
1591
+ # @return [MessageLogEntries]
1592
+ describe 'get_message_logs test' do
1593
+ it 'should work' do
1594
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
1595
+ end
1596
+ end
1597
+
1573
1598
  # unit tests for get_referrals_without_total_count
1574
1599
  # List referrals
1575
1600
  # List all referrals of the specified campaign.
@@ -1578,7 +1603,7 @@ describe 'ManagementApi' do
1578
1603
  # @param [Hash] opts the optional parameters
1579
1604
  # @option opts [Integer] :page_size The number of items in the response.
1580
1605
  # @option opts [Integer] :skip The number of items to skip when paging through large result sets.
1581
- # @option opts [String] :sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** This parameter works only with numeric fields.
1606
+ # @option opts [String] :sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations.
1582
1607
  # @option opts [String] :code Filter results performing case-insensitive matching against the referral code. Both the code and the query are folded to remove all non-alpha-numeric characters.
1583
1608
  # @option opts [DateTime] :created_before Filter results comparing the parameter value, expected to be an RFC3339 timestamp string, to the referral creation timestamp. You can use any time zone setting. Talon.One will convert to UTC internally.
1584
1609
  # @option opts [DateTime] :created_after Filter results comparing the parameter value, expected to be an RFC3339 timestamp string, to the referral creation timestamp. You can use any time zone setting. Talon.One will convert to UTC internally.
@@ -1626,7 +1651,7 @@ describe 'ManagementApi' do
1626
1651
  # @param [Hash] opts the optional parameters
1627
1652
  # @option opts [Integer] :page_size The number of items in the response.
1628
1653
  # @option opts [Integer] :skip The number of items to skip when paging through large result sets.
1629
- # @option opts [String] :sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** This parameter works only with numeric fields.
1654
+ # @option opts [String] :sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations.
1630
1655
  # @return [InlineResponse2009]
1631
1656
  describe 'get_rulesets test' do
1632
1657
  it 'should work' do
@@ -1665,7 +1690,7 @@ describe 'ManagementApi' do
1665
1690
  # @param [Hash] opts the optional parameters
1666
1691
  # @option opts [Integer] :page_size The number of items in the response.
1667
1692
  # @option opts [Integer] :skip The number of items to skip when paging through large result sets.
1668
- # @option opts [String] :sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** This parameter works only with numeric fields.
1693
+ # @option opts [String] :sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations.
1669
1694
  # @return [InlineResponse20043]
1670
1695
  describe 'get_users test' do
1671
1696
  it 'should work' do
@@ -1691,7 +1716,7 @@ describe 'ManagementApi' do
1691
1716
  # @param [Hash] opts the optional parameters
1692
1717
  # @option opts [Integer] :page_size The number of items in the response.
1693
1718
  # @option opts [Integer] :skip The number of items to skip when paging through large result sets.
1694
- # @option opts [String] :sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** This parameter works only with numeric fields.
1719
+ # @option opts [String] :sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations.
1695
1720
  # @option opts [String] :integration_request_uuid Filter results by integration request UUID.
1696
1721
  # @option opts [Float] :webhook_id Filter results by webhook id.
1697
1722
  # @option opts [Float] :application_id Filter results by Application ID.
@@ -1711,7 +1736,7 @@ describe 'ManagementApi' do
1711
1736
  # @param [Hash] opts the optional parameters
1712
1737
  # @option opts [Integer] :page_size The number of items in the response.
1713
1738
  # @option opts [Integer] :skip The number of items to skip when paging through large result sets.
1714
- # @option opts [String] :sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** This parameter works only with numeric fields.
1739
+ # @option opts [String] :sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations.
1715
1740
  # @option opts [String] :status Filter results by HTTP status codes.
1716
1741
  # @option opts [Float] :webhook_id Filter results by webhook id.
1717
1742
  # @option opts [Float] :application_id Filter results by Application ID.
@@ -1731,7 +1756,7 @@ describe 'ManagementApi' do
1731
1756
  # List all webhooks.
1732
1757
  # @param [Hash] opts the optional parameters
1733
1758
  # @option opts [String] :application_ids Checks if the given catalog or its attributes are referenced in the specified Application ID. **Note**: If no Application ID is provided, we check for all connected Applications.
1734
- # @option opts [String] :sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** This parameter works only with numeric fields.
1759
+ # @option opts [String] :sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations.
1735
1760
  # @option opts [Integer] :page_size The number of items in the response.
1736
1761
  # @option opts [Integer] :skip The number of items to skip when paging through large result sets.
1737
1762
  # @option opts [String] :creation_type Filter results by creation type.
@@ -1912,7 +1937,7 @@ describe 'ManagementApi' do
1912
1937
  # @param [Hash] opts the optional parameters
1913
1938
  # @option opts [Integer] :page_size The number of items in the response.
1914
1939
  # @option opts [Integer] :skip The number of items to skip when paging through large result sets.
1915
- # @option opts [String] :sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** This parameter works only with numeric fields.
1940
+ # @option opts [String] :sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations.
1916
1941
  # @option opts [Boolean] :with_total_result_size When this flag is set, the result includes the total size of the result, across all pages. This might decrease performance on large data sets. - When `true`: `hasMore` is true when there is a next page. `totalResultSize` is always zero. - When `false`: `hasMore` is always false. `totalResultSize` contains the total number of results for this query.
1917
1942
  # @option opts [String] :name Filter by collection name.
1918
1943
  # @return [InlineResponse20020]
@@ -1974,7 +1999,7 @@ describe 'ManagementApi' do
1974
1999
  # @param [Hash] opts the optional parameters
1975
2000
  # @option opts [Integer] :page_size The number of items in the response.
1976
2001
  # @option opts [Integer] :skip The number of items to skip when paging through large result sets.
1977
- # @option opts [String] :sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** This parameter works only with numeric fields.
2002
+ # @option opts [String] :sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations.
1978
2003
  # @option opts [Boolean] :with_total_result_size When this flag is set, the result includes the total size of the result, across all pages. This might decrease performance on large data sets. - When `true`: `hasMore` is true when there is a next page. `totalResultSize` is always zero. - When `false`: `hasMore` is always false. `totalResultSize` contains the total number of results for this query.
1979
2004
  # @option opts [String] :name Filter by collection name.
1980
2005
  # @return [InlineResponse20020]
@@ -1991,7 +2016,7 @@ describe 'ManagementApi' do
1991
2016
  # @param [Hash] opts the optional parameters
1992
2017
  # @option opts [Integer] :page_size The number of items in the response.
1993
2018
  # @option opts [Integer] :skip The number of items to skip when paging through large result sets.
1994
- # @option opts [String] :sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** This parameter works only with numeric fields.
2019
+ # @option opts [String] :sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations.
1995
2020
  # @option opts [Boolean] :with_total_result_size When this flag is set, the result includes the total size of the result, across all pages. This might decrease performance on large data sets. - When `true`: `hasMore` is true when there is a next page. `totalResultSize` is always zero. - When `false`: `hasMore` is always false. `totalResultSize` contains the total number of results for this query.
1996
2021
  # @option opts [String] :name Filter by collection name.
1997
2022
  # @return [InlineResponse20020]
@@ -2008,7 +2033,7 @@ describe 'ManagementApi' do
2008
2033
  # @param [Hash] opts the optional parameters
2009
2034
  # @option opts [Integer] :page_size The number of items in the response.
2010
2035
  # @option opts [Integer] :skip The number of items to skip when paging through large result sets.
2011
- # @option opts [String] :sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** This parameter works only with numeric fields.
2036
+ # @option opts [String] :sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations.
2012
2037
  # @option opts [Boolean] :with_total_result_size When this flag is set, the result includes the total size of the result, across all pages. This might decrease performance on large data sets. - When `true`: `hasMore` is true when there is a next page. `totalResultSize` is always zero. - When `false`: `hasMore` is always false. `totalResultSize` contains the total number of results for this query.
2013
2038
  # @option opts [Float] :campaign_id Filter results by campaign ID.
2014
2039
  # @option opts [String] :name The name of the store.
@@ -2021,19 +2046,6 @@ describe 'ManagementApi' do
2021
2046
  end
2022
2047
  end
2023
2048
 
2024
- # unit tests for notification_activation
2025
- # Activate or deactivate notification
2026
- # Activate or deactivate the given notification. When `enabled` is false, updates will no longer be sent for the given notification.
2027
- # @param notification_id The ID of the notification. Get it with the appropriate _List notifications_ endpoint.
2028
- # @param body body
2029
- # @param [Hash] opts the optional parameters
2030
- # @return [nil]
2031
- describe 'notification_activation test' do
2032
- it 'should work' do
2033
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
2034
- end
2035
- end
2036
-
2037
2049
  # unit tests for okta_event_handler_challenge
2038
2050
  # Validate Okta API ownership
2039
2051
  # Validate the ownership of the API through a challenge-response mechanism. This challenger endpoint is used by Okta to confirm that communication between Talon.One and Okta is correctly configured and accessible for provisioning and deprovisioning of Talon.One users, and that only Talon.One can receive and respond to events from Okta.
@@ -2045,45 +2057,6 @@ describe 'ManagementApi' do
2045
2057
  end
2046
2058
  end
2047
2059
 
2048
- # unit tests for post_added_deducted_points_notification
2049
- # Create notification about added or deducted loyalty points
2050
- # Create a notification about added or deducted loyalty points in a given profile-based loyalty program. A notification for added or deducted loyalty points is different from regular webhooks in that it is loyalty program-scoped and has a predefined payload. For more information, see [Loyalty notifications](https://docs.talon.one/docs/product/loyalty-programs/loyalty-notifications/overview).
2051
- # @param loyalty_program_id Identifier of the profile-based loyalty program. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint.
2052
- # @param body body
2053
- # @param [Hash] opts the optional parameters
2054
- # @return [BaseNotification]
2055
- describe 'post_added_deducted_points_notification test' do
2056
- it 'should work' do
2057
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
2058
- end
2059
- end
2060
-
2061
- # unit tests for post_catalogs_strikethrough_notification
2062
- # Create strikethrough notification
2063
- # Create a notification for the in the given Application. For more information, see [Application notifications](https://docs.talon.one/docs/product/applications/application-notifications/overview). See the [payload](https://docs.talon.one/outbound-notifications) you will receive.
2064
- # @param application_id The ID of the Application. It is displayed in your Talon.One deployment URL.
2065
- # @param body body
2066
- # @param [Hash] opts the optional parameters
2067
- # @return [BaseNotification]
2068
- describe 'post_catalogs_strikethrough_notification test' do
2069
- it 'should work' do
2070
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
2071
- end
2072
- end
2073
-
2074
- # unit tests for post_pending_points_notification
2075
- # Create notification about pending loyalty points
2076
- # Create a notification about pending loyalty points for a given profile-based loyalty program. For more information, see [Loyalty notifications](https://docs.talon.one/docs/product/loyalty-programs/loyalty-notifications/overview).
2077
- # @param loyalty_program_id Identifier of the profile-based loyalty program. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint.
2078
- # @param body body
2079
- # @param [Hash] opts the optional parameters
2080
- # @return [BaseNotification]
2081
- describe 'post_pending_points_notification test' do
2082
- it 'should work' do
2083
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
2084
- end
2085
- end
2086
-
2087
2060
  # unit tests for remove_loyalty_points
2088
2061
  # Deduct points from customer profile
2089
2062
  # Deduct points from the specified loyalty program and specified customer profile. **Important:** - Only active points can be deducted. - Only pending points are rolled back when a session is cancelled or reopened. To get the `integrationId` of the profile from a `sessionId`, use the [Update customer session](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2) endpoint.
@@ -2224,7 +2197,7 @@ describe 'ManagementApi' do
2224
2197
  # @param [Hash] opts the optional parameters
2225
2198
  # @option opts [Integer] :page_size The number of items in the response.
2226
2199
  # @option opts [Integer] :skip The number of items to skip when paging through large result sets.
2227
- # @option opts [String] :sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** This parameter works only with numeric fields.
2200
+ # @option opts [String] :sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations.
2228
2201
  # @option opts [String] :value Filter results performing case-insensitive matching against the coupon code. Both the code and the query are folded to remove all non-alpha-numeric characters.
2229
2202
  # @option opts [DateTime] :created_before Filter results comparing the parameter value, expected to be an RFC3339 timestamp string, to the coupon creation timestamp. You can use any time zone setting. Talon.One will convert to UTC internally.
2230
2203
  # @option opts [DateTime] :created_after Filter results comparing the parameter value, expected to be an RFC3339 timestamp string, to the coupon creation timestamp. You can use any time zone setting. Talon.One will convert to UTC internally.
@@ -2251,7 +2224,7 @@ describe 'ManagementApi' do
2251
2224
  # @param [Hash] opts the optional parameters
2252
2225
  # @option opts [Integer] :page_size The number of items in the response.
2253
2226
  # @option opts [Integer] :skip The number of items to skip when paging through large result sets.
2254
- # @option opts [String] :sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** This parameter works only with numeric fields.
2227
+ # @option opts [String] :sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations.
2255
2228
  # @option opts [String] :value Filter results performing case-insensitive matching against the coupon code. Both the code and the query are folded to remove all non-alpha-numeric characters.
2256
2229
  # @option opts [DateTime] :created_before Filter results comparing the parameter value, expected to be an RFC3339 timestamp string, to the coupon creation timestamp. You can use any time zone setting. Talon.One will convert to UTC internally.
2257
2230
  # @option opts [DateTime] :created_after Filter results comparing the parameter value, expected to be an RFC3339 timestamp string, to the coupon creation timestamp. You can use any time zone setting. Talon.One will convert to UTC internally.
@@ -194,4 +194,10 @@ describe 'CampaignTemplate' do
194
194
  end
195
195
  end
196
196
 
197
+ describe 'test attribute "is_user_favorite"' do
198
+ it 'should work' do
199
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
200
+ end
201
+ end
202
+
197
203
  end
@@ -108,4 +108,10 @@ describe 'LedgerTransactionLogEntryIntegrationAPI' do
108
108
  end
109
109
  end
110
110
 
111
+ describe 'test attribute "flags"' do
112
+ it 'should work' do
113
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
114
+ end
115
+ end
116
+
111
117
  end
@@ -144,4 +144,10 @@ describe 'LoyaltyProgramTransaction' do
144
144
  end
145
145
  end
146
146
 
147
+ describe 'test attribute "flags"' do
148
+ it 'should work' do
149
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
150
+ end
151
+ end
152
+
147
153
  end