talon_one 3.0.0 → 3.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/docs/AddLoyaltyPoints.md +2 -2
- data/docs/CustomEffect.md +1 -1
- data/docs/InlineResponse2001.md +1 -1
- data/docs/InlineResponse20010.md +3 -3
- data/docs/InlineResponse20011.md +3 -3
- data/docs/InlineResponse20012.md +1 -1
- data/docs/InlineResponse20013.md +2 -2
- data/docs/InlineResponse20014.md +3 -5
- data/docs/InlineResponse20015.md +4 -2
- data/docs/InlineResponse20016.md +2 -4
- data/docs/InlineResponse20017.md +4 -2
- data/docs/InlineResponse20018.md +2 -2
- data/docs/InlineResponse20019.md +1 -1
- data/docs/InlineResponse2002.md +3 -3
- data/docs/InlineResponse20020.md +2 -4
- data/docs/InlineResponse20021.md +3 -3
- data/docs/InlineResponse20022.md +1 -1
- data/docs/InlineResponse20023.md +3 -1
- data/docs/InlineResponse20024.md +1 -1
- data/docs/InlineResponse20025.md +2 -2
- data/docs/InlineResponse20026.md +2 -2
- data/docs/InlineResponse20027.md +3 -3
- data/docs/InlineResponse20028.md +3 -5
- data/docs/InlineResponse20029.md +1 -1
- data/docs/InlineResponse2003.md +1 -1
- data/docs/InlineResponse20030.md +5 -3
- data/docs/InlineResponse20031.md +1 -1
- data/docs/InlineResponse20032.md +1 -1
- data/docs/InlineResponse20033.md +1 -1
- data/docs/InlineResponse20034.md +1 -1
- data/docs/InlineResponse20035.md +1 -1
- data/docs/InlineResponse20036.md +1 -1
- data/docs/InlineResponse20037.md +2 -4
- data/docs/InlineResponse20038.md +4 -2
- data/docs/InlineResponse20039.md +1 -1
- data/docs/InlineResponse2004.md +1 -1
- data/docs/InlineResponse20040.md +19 -0
- data/docs/InlineResponse2005.md +1 -1
- data/docs/InlineResponse2006.md +1 -1
- data/docs/InlineResponse2007.md +2 -2
- data/docs/InlineResponse2008.md +1 -1
- data/docs/InlineResponse2009.md +1 -1
- data/docs/IntegrationApi.md +26 -26
- data/docs/ManagementApi.md +141 -141
- data/docs/MultiApplicationEntity.md +1 -1
- data/docs/NewCustomEffect.md +1 -1
- data/docs/NewOutgoingIntegrationWebhook.md +19 -0
- data/docs/NewWebhook.md +3 -3
- data/docs/OutgoingIntegrationConfiguration.md +3 -1
- data/docs/OutgoingIntegrationWebhookTemplate.md +3 -1
- data/docs/ReopenSessionResponse.md +17 -0
- data/docs/StrikethroughCustomEffectPerItemProps.md +21 -0
- data/docs/UpdateCustomEffect.md +1 -1
- data/docs/Webhook.md +3 -3
- data/lib/talon_one/api/integration_api.rb +48 -48
- data/lib/talon_one/api/management_api.rb +234 -234
- data/lib/talon_one/models/add_loyalty_points.rb +2 -2
- data/lib/talon_one/models/custom_effect.rb +1 -1
- data/lib/talon_one/models/inline_response2001.rb +1 -1
- data/lib/talon_one/models/inline_response20010.rb +11 -11
- data/lib/talon_one/models/inline_response20011.rb +11 -11
- data/lib/talon_one/models/inline_response20012.rb +1 -1
- data/lib/talon_one/models/inline_response20013.rb +1 -3
- data/lib/talon_one/models/inline_response20014.rb +9 -11
- data/lib/talon_one/models/inline_response20015.rb +11 -7
- data/lib/talon_one/models/inline_response20016.rb +7 -11
- data/lib/talon_one/models/inline_response20017.rb +11 -7
- data/lib/talon_one/models/inline_response20018.rb +10 -10
- data/lib/talon_one/models/inline_response20019.rb +1 -1
- data/lib/talon_one/models/inline_response2002.rb +11 -11
- data/lib/talon_one/models/inline_response20020.rb +7 -11
- data/lib/talon_one/models/inline_response20021.rb +10 -10
- data/lib/talon_one/models/inline_response20022.rb +1 -1
- data/lib/talon_one/models/inline_response20023.rb +10 -6
- data/lib/talon_one/models/inline_response20024.rb +1 -1
- data/lib/talon_one/models/inline_response20025.rb +6 -1
- data/lib/talon_one/models/inline_response20026.rb +1 -6
- data/lib/talon_one/models/inline_response20027.rb +11 -11
- data/lib/talon_one/models/inline_response20028.rb +7 -11
- data/lib/talon_one/models/inline_response20029.rb +1 -1
- data/lib/talon_one/models/inline_response2003.rb +1 -1
- data/lib/talon_one/models/inline_response20030.rb +11 -7
- data/lib/talon_one/models/inline_response20031.rb +1 -1
- data/lib/talon_one/models/inline_response20032.rb +1 -1
- data/lib/talon_one/models/inline_response20033.rb +1 -1
- data/lib/talon_one/models/inline_response20034.rb +1 -1
- data/lib/talon_one/models/inline_response20035.rb +1 -1
- data/lib/talon_one/models/inline_response20036.rb +1 -1
- data/lib/talon_one/models/inline_response20037.rb +7 -11
- data/lib/talon_one/models/inline_response20038.rb +11 -7
- data/lib/talon_one/models/inline_response20039.rb +1 -1
- data/lib/talon_one/models/inline_response2004.rb +1 -1
- data/lib/talon_one/models/inline_response20040.rb +227 -0
- data/lib/talon_one/models/inline_response2005.rb +1 -1
- data/lib/talon_one/models/inline_response2006.rb +1 -1
- data/lib/talon_one/models/inline_response2007.rb +10 -10
- data/lib/talon_one/models/inline_response2008.rb +1 -1
- data/lib/talon_one/models/inline_response2009.rb +1 -1
- data/lib/talon_one/models/multi_application_entity.rb +1 -1
- data/lib/talon_one/models/new_custom_effect.rb +1 -1
- data/lib/talon_one/models/new_outgoing_integration_webhook.rb +229 -0
- data/lib/talon_one/models/new_webhook.rb +3 -3
- data/lib/talon_one/models/outgoing_integration_configuration.rb +16 -1
- data/lib/talon_one/models/outgoing_integration_webhook_template.rb +53 -4
- data/lib/talon_one/models/reopen_session_response.rb +215 -0
- data/lib/talon_one/models/strikethrough_custom_effect_per_item_props.rb +243 -0
- data/lib/talon_one/models/update_custom_effect.rb +1 -1
- data/lib/talon_one/models/webhook.rb +3 -3
- data/lib/talon_one/version.rb +1 -1
- data/lib/talon_one.rb +4 -0
- data/spec/api/integration_api_spec.rb +9 -9
- data/spec/api/management_api_spec.rb +59 -59
- data/spec/models/inline_response20010_spec.rb +1 -1
- data/spec/models/inline_response20011_spec.rb +1 -1
- data/spec/models/inline_response20014_spec.rb +0 -6
- data/spec/models/inline_response20015_spec.rb +6 -0
- data/spec/models/inline_response20016_spec.rb +0 -6
- data/spec/models/inline_response20017_spec.rb +6 -0
- data/spec/models/inline_response20018_spec.rb +1 -1
- data/spec/models/inline_response20020_spec.rb +0 -6
- data/spec/models/inline_response20021_spec.rb +2 -2
- data/spec/models/inline_response20023_spec.rb +6 -0
- data/spec/models/inline_response20027_spec.rb +1 -1
- data/spec/models/inline_response20028_spec.rb +0 -6
- data/spec/models/inline_response2002_spec.rb +1 -1
- data/spec/models/inline_response20030_spec.rb +6 -0
- data/spec/models/inline_response20037_spec.rb +0 -6
- data/spec/models/inline_response20038_spec.rb +6 -0
- data/spec/models/inline_response20040_spec.rb +47 -0
- data/spec/models/inline_response2007_spec.rb +1 -1
- data/spec/models/new_outgoing_integration_webhook_spec.rb +47 -0
- data/spec/models/outgoing_integration_configuration_spec.rb +6 -0
- data/spec/models/outgoing_integration_webhook_template_spec.rb +10 -0
- data/spec/models/reopen_session_response_spec.rb +41 -0
- data/spec/models/strikethrough_custom_effect_per_item_props_spec.rb +53 -0
- metadata +18 -2
@@ -33,10 +33,10 @@ describe 'ManagementApi' do
|
|
33
33
|
end
|
34
34
|
|
35
35
|
# unit tests for add_loyalty_card_points
|
36
|
-
# Add points to card
|
36
|
+
# Add points to card
|
37
37
|
# Add points to the given loyalty card in the specified card-based loyalty program.
|
38
38
|
# @param loyalty_program_id Identifier of the card-based loyalty program containing the loyalty card. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint.
|
39
|
-
# @param
|
39
|
+
# @param loyalty_card_id Identifier of the loyalty card. You can get the identifier with the [List loyalty cards](https://docs.talon.one/management-api#tag/Loyalty-cards/operation/getLoyaltyCards) endpoint.
|
40
40
|
# @param body body
|
41
41
|
# @param [Hash] opts the optional parameters
|
42
42
|
# @return [nil]
|
@@ -67,7 +67,7 @@ describe 'ManagementApi' do
|
|
67
67
|
# @param campaign_id The ID of the campaign. It is displayed in your Talon.One deployment URL.
|
68
68
|
# @param body body
|
69
69
|
# @param [Hash] opts the optional parameters
|
70
|
-
# @return [
|
70
|
+
# @return [InlineResponse2004]
|
71
71
|
describe 'copy_campaign_to_applications test' do
|
72
72
|
it 'should work' do
|
73
73
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -145,7 +145,7 @@ describe 'ManagementApi' do
|
|
145
145
|
# @param body body
|
146
146
|
# @param [Hash] opts the optional parameters
|
147
147
|
# @option opts [String] :silent Possible values: `yes` or `no`. - `yes`: Increases the perfomance of the API call by returning a 204 response. - `no`: Returns a 200 response that contains the updated customer profiles.
|
148
|
-
# @return [
|
148
|
+
# @return [InlineResponse2007]
|
149
149
|
describe 'create_coupons test' do
|
150
150
|
it 'should work' do
|
151
151
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -174,7 +174,7 @@ describe 'ManagementApi' do
|
|
174
174
|
# @param body body
|
175
175
|
# @param [Hash] opts the optional parameters
|
176
176
|
# @option opts [String] :silent Possible values: `yes` or `no`. - `yes`: Increases the perfomance of the API call by returning a 204 response. - `no`: Returns a 200 response that contains the updated customer profiles.
|
177
|
-
# @return [
|
177
|
+
# @return [InlineResponse2007]
|
178
178
|
describe 'create_coupons_for_multiple_recipients test' do
|
179
179
|
it 'should work' do
|
180
180
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -219,10 +219,10 @@ describe 'ManagementApi' do
|
|
219
219
|
end
|
220
220
|
|
221
221
|
# unit tests for deduct_loyalty_card_points
|
222
|
-
# Deduct points from card
|
222
|
+
# Deduct points from card
|
223
223
|
# Deduct points from the given loyalty card in the specified card-based loyalty program.
|
224
224
|
# @param loyalty_program_id Identifier of the card-based loyalty program containing the loyalty card. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint.
|
225
|
-
# @param
|
225
|
+
# @param loyalty_card_id Identifier of the loyalty card. You can get the identifier with the [List loyalty cards](https://docs.talon.one/management-api#tag/Loyalty-cards/operation/getLoyaltyCards) endpoint.
|
226
226
|
# @param body body
|
227
227
|
# @param [Hash] opts the optional parameters
|
228
228
|
# @return [nil]
|
@@ -315,7 +315,7 @@ describe 'ManagementApi' do
|
|
315
315
|
# Delete loyalty card
|
316
316
|
# Delete the given loyalty card.
|
317
317
|
# @param loyalty_program_id Identifier of the card-based loyalty program containing the loyalty card. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint.
|
318
|
-
# @param
|
318
|
+
# @param loyalty_card_id Identifier of the loyalty card. You can get the identifier with the [List loyalty cards](https://docs.talon.one/management-api#tag/Loyalty-cards/operation/getLoyaltyCards) endpoint.
|
319
319
|
# @param [Hash] opts the optional parameters
|
320
320
|
# @return [nil]
|
321
321
|
describe 'delete_loyalty_card test' do
|
@@ -473,7 +473,7 @@ describe 'ManagementApi' do
|
|
473
473
|
end
|
474
474
|
|
475
475
|
# unit tests for export_loyalty_card_balances
|
476
|
-
# Export
|
476
|
+
# Export all card transaction logs
|
477
477
|
# Download a CSV file containing the balances of all cards 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 CSV file contains the following columns: - `loyaltyProgramID`: The ID of the loyalty program. - `loyaltySubledger`: The name of the subdleger, when applicatble. - `cardIdentifier`: The alphanumeric identifier of the loyalty card. - `cardState`:The state of the loyalty card. It can be `active` or `inactive`. - `currentBalance`: The current point balance. - `pendingBalance`: The number of pending points. - `expiredBalance`: The number of expired points. - `spentBalance`: The number of spent points.
|
478
478
|
# @param loyalty_program_id Identifier of the card-based loyalty program containing the loyalty card. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint.
|
479
479
|
# @param [Hash] opts the optional parameters
|
@@ -486,10 +486,10 @@ describe 'ManagementApi' do
|
|
486
486
|
end
|
487
487
|
|
488
488
|
# unit tests for export_loyalty_card_ledger
|
489
|
-
# Export
|
489
|
+
# Export card's ledger log
|
490
490
|
# Download a CSV file containing a loyalty card ledger log of 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/).
|
491
491
|
# @param loyalty_program_id Identifier of the card-based loyalty program containing the loyalty card. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint.
|
492
|
-
# @param
|
492
|
+
# @param loyalty_card_id Identifier of the loyalty card. You can get the identifier with the [List loyalty cards](https://docs.talon.one/management-api#tag/Loyalty-cards/operation/getLoyaltyCards) endpoint.
|
493
493
|
# @param range_start Only return results from after this timestamp. This must be an RFC3339 timestamp string.
|
494
494
|
# @param range_end Only return results from before this timestamp. This must be an RFC3339 timestamp string.
|
495
495
|
# @param [Hash] opts the optional parameters
|
@@ -549,7 +549,7 @@ describe 'ManagementApi' do
|
|
549
549
|
# @option opts [Integer] :page_size The number of items in this response.
|
550
550
|
# @option opts [Integer] :skip Skips the given number of items when paging through large result sets.
|
551
551
|
# @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.
|
552
|
-
# @return [
|
552
|
+
# @return [InlineResponse20018]
|
553
553
|
describe 'get_access_logs_without_total_count test' do
|
554
554
|
it 'should work' do
|
555
555
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -611,7 +611,7 @@ describe 'ManagementApi' do
|
|
611
611
|
# @option opts [Integer] :page_size The number of items in this response.
|
612
612
|
# @option opts [Integer] :skip Skips the given number of items when paging through large result sets.
|
613
613
|
# @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.
|
614
|
-
# @return [
|
614
|
+
# @return [InlineResponse20032]
|
615
615
|
describe 'get_additional_costs test' do
|
616
616
|
it 'should work' do
|
617
617
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -630,7 +630,7 @@ describe 'ManagementApi' do
|
|
630
630
|
# @option opts [Integer] :page_size The number of items in this response.
|
631
631
|
# @option opts [Integer] :skip Skips the given number of items when paging through large result sets.
|
632
632
|
# @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.
|
633
|
-
# @return [
|
633
|
+
# @return [InlineResponse20019]
|
634
634
|
describe 'get_all_access_logs test' do
|
635
635
|
it 'should work' do
|
636
636
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -641,7 +641,7 @@ describe 'ManagementApi' do
|
|
641
641
|
# List roles
|
642
642
|
# List all roles.
|
643
643
|
# @param [Hash] opts the optional parameters
|
644
|
-
# @return [
|
644
|
+
# @return [InlineResponse20040]
|
645
645
|
describe 'get_all_roles test' do
|
646
646
|
it 'should work' do
|
647
647
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -695,7 +695,7 @@ describe 'ManagementApi' do
|
|
695
695
|
# @option opts [Integer] :skip Skips the given number of items when paging through large result sets.
|
696
696
|
# @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.
|
697
697
|
# @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.
|
698
|
-
# @return [
|
698
|
+
# @return [InlineResponse20030]
|
699
699
|
describe 'get_application_customer_friends test' do
|
700
700
|
it 'should work' do
|
701
701
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -711,7 +711,7 @@ describe 'ManagementApi' do
|
|
711
711
|
# @option opts [Integer] :page_size The number of items in this response.
|
712
712
|
# @option opts [Integer] :skip Skips the given number of items when paging through large result sets.
|
713
713
|
# @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.
|
714
|
-
# @return [
|
714
|
+
# @return [InlineResponse20021]
|
715
715
|
describe 'get_application_customers test' do
|
716
716
|
it 'should work' do
|
717
717
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -727,7 +727,7 @@ describe 'ManagementApi' do
|
|
727
727
|
# @option opts [Integer] :page_size The number of items in this response.
|
728
728
|
# @option opts [Integer] :skip Skips the given number of items when paging through large result sets.
|
729
729
|
# @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.
|
730
|
-
# @return [
|
730
|
+
# @return [InlineResponse20022]
|
731
731
|
describe 'get_application_customers_by_attributes test' do
|
732
732
|
it 'should work' do
|
733
733
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -742,7 +742,7 @@ describe 'ManagementApi' do
|
|
742
742
|
# @option opts [Integer] :page_size The number of items in this response.
|
743
743
|
# @option opts [Integer] :skip Skips the given number of items when paging through large result sets.
|
744
744
|
# @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.
|
745
|
-
# @return [
|
745
|
+
# @return [InlineResponse20028]
|
746
746
|
describe 'get_application_event_types test' do
|
747
747
|
it 'should work' do
|
748
748
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -768,7 +768,7 @@ describe 'ManagementApi' do
|
|
768
768
|
# @option opts [String] :referral_code Referral code
|
769
769
|
# @option opts [String] :rule_query Rule name filter for events
|
770
770
|
# @option opts [String] :campaign_query Campaign name filter for events
|
771
|
-
# @return [
|
771
|
+
# @return [InlineResponse20027]
|
772
772
|
describe 'get_application_events_without_total_count test' do
|
773
773
|
it 'should work' do
|
774
774
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -803,7 +803,7 @@ describe 'ManagementApi' do
|
|
803
803
|
# @option opts [String] :coupon Filter by sessions with this coupon. Must be exact match.
|
804
804
|
# @option opts [String] :referral Filter by sessions with this referral. Must be exact match.
|
805
805
|
# @option opts [String] :integration_id Filter by sessions with this integrationId. Must be exact match.
|
806
|
-
# @return [
|
806
|
+
# @return [InlineResponse20026]
|
807
807
|
describe 'get_application_sessions test' do
|
808
808
|
it 'should work' do
|
809
809
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -817,7 +817,7 @@ describe 'ManagementApi' do
|
|
817
817
|
# @option opts [Integer] :page_size The number of items in this response.
|
818
818
|
# @option opts [Integer] :skip Skips the given number of items when paging through large result sets.
|
819
819
|
# @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.
|
820
|
-
# @return [
|
820
|
+
# @return [InlineResponse2003]
|
821
821
|
describe 'get_applications test' do
|
822
822
|
it 'should work' do
|
823
823
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -844,7 +844,7 @@ describe 'ManagementApi' do
|
|
844
844
|
# @option opts [Integer] :skip Skips the given number of items when paging through large result sets.
|
845
845
|
# @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.
|
846
846
|
# @option opts [String] :entity Returned attributes will be filtered by supplied entity.
|
847
|
-
# @return [
|
847
|
+
# @return [InlineResponse20031]
|
848
848
|
describe 'get_attributes test' do
|
849
849
|
it 'should work' do
|
850
850
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -859,7 +859,7 @@ describe 'ManagementApi' do
|
|
859
859
|
# @option opts [Integer] :skip Skips the given number of items when paging through large result sets.
|
860
860
|
# @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.
|
861
861
|
# @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.
|
862
|
-
# @return [
|
862
|
+
# @return [InlineResponse20029]
|
863
863
|
describe 'get_audiences test' do
|
864
864
|
it 'should work' do
|
865
865
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -888,7 +888,7 @@ describe 'ManagementApi' do
|
|
888
888
|
# @param range_end Only return results from before this timestamp. This must be an RFC3339 timestamp string.
|
889
889
|
# @param [Hash] opts the optional parameters
|
890
890
|
# @option opts [String] :granularity The time interval between the results in the returned time-series.
|
891
|
-
# @return [
|
891
|
+
# @return [InlineResponse20020]
|
892
892
|
describe 'get_campaign_analytics test' do
|
893
893
|
it 'should work' do
|
894
894
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -905,7 +905,7 @@ describe 'ManagementApi' do
|
|
905
905
|
# @option opts [Integer] :skip Skips the given number of items when paging through large result sets.
|
906
906
|
# @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.
|
907
907
|
# @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. - `draft`: Campaigns that are drafts.
|
908
|
-
# @return [
|
908
|
+
# @return [InlineResponse2004]
|
909
909
|
describe 'get_campaign_by_attributes test' do
|
910
910
|
it 'should work' do
|
911
911
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -923,7 +923,7 @@ describe 'ManagementApi' do
|
|
923
923
|
# @option opts [String] :name Filter results performing case-insensitive matching against the name of the campaign template.
|
924
924
|
# @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.
|
925
925
|
# @option opts [Integer] :user_id Filter results by user ID.
|
926
|
-
# @return [
|
926
|
+
# @return [InlineResponse20010]
|
927
927
|
describe 'get_campaign_templates test' do
|
928
928
|
it 'should work' do
|
929
929
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -945,7 +945,7 @@ describe 'ManagementApi' do
|
|
945
945
|
# @option opts [DateTime] :created_after Filter results comparing the parameter value, expected to be an RFC3339 timestamp string, to the campaign creation timestamp. You can use any timezone. Talon.One will convert to UTC internally.
|
946
946
|
# @option opts [Integer] :campaign_group_id Filter results to campaigns owned by the specified campaign group ID.
|
947
947
|
# @option opts [Integer] :template_id The ID of the Campaign Template this Campaign was created from.
|
948
|
-
# @return [
|
948
|
+
# @return [InlineResponse2004]
|
949
949
|
describe 'get_campaigns test' do
|
950
950
|
it 'should work' do
|
951
951
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -967,7 +967,7 @@ describe 'ManagementApi' do
|
|
967
967
|
# @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.
|
968
968
|
# @option opts [Integer] :management_key_id Filter results that match the given management key ID.
|
969
969
|
# @option opts [Boolean] :include_old When this flag is set to false, the state without the change will not be returned. The default value is true.
|
970
|
-
# @return [
|
970
|
+
# @return [InlineResponse20038]
|
971
971
|
describe 'get_changes test' do
|
972
972
|
it 'should work' do
|
973
973
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -995,7 +995,7 @@ describe 'ManagementApi' do
|
|
995
995
|
# @param [Hash] opts the optional parameters
|
996
996
|
# @option opts [Integer] :page_size The number of items in this response.
|
997
997
|
# @option opts [Integer] :skip Skips the given number of items when paging through large result sets.
|
998
|
-
# @return [
|
998
|
+
# @return [InlineResponse20016]
|
999
999
|
describe 'get_collection_items test' do
|
1000
1000
|
it 'should work' do
|
1001
1001
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -1020,7 +1020,7 @@ describe 'ManagementApi' do
|
|
1020
1020
|
# @option opts [String] :recipient_integration_id Filter results by match with a profile id specified in the coupon's RecipientIntegrationId field
|
1021
1021
|
# @option opts [String] :batch_id Filter results by batches of coupons
|
1022
1022
|
# @option opts [Boolean] :exact_match Filter results to an exact case-insensitive matching against the coupon code
|
1023
|
-
# @return [
|
1023
|
+
# @return [InlineResponse2008]
|
1024
1024
|
describe 'get_coupons_without_total_count test' do
|
1025
1025
|
it 'should work' do
|
1026
1026
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -1058,7 +1058,7 @@ describe 'ManagementApi' do
|
|
1058
1058
|
# @option opts [String] :integration_id Filter results performing an exact matching against the profile integration identifier.
|
1059
1059
|
# @option opts [String] :campaign_name Only return reports matching the campaignName
|
1060
1060
|
# @option opts [String] :advocate_name Only return reports matching the current customer referrer name
|
1061
|
-
# @return [
|
1061
|
+
# @return [InlineResponse20025]
|
1062
1062
|
describe 'get_customer_activity_reports_without_total_count test' do
|
1063
1063
|
it 'should work' do
|
1064
1064
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -1100,7 +1100,7 @@ describe 'ManagementApi' do
|
|
1100
1100
|
# @option opts [Integer] :page_size The number of items in this response.
|
1101
1101
|
# @option opts [Integer] :skip Skips the given number of items when paging through large result sets.
|
1102
1102
|
# @option opts [Boolean] :sandbox Indicates whether you are pointing to a sandbox or Live customer.
|
1103
|
-
# @return [
|
1103
|
+
# @return [InlineResponse20024]
|
1104
1104
|
describe 'get_customer_profiles test' do
|
1105
1105
|
it 'should work' do
|
1106
1106
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -1115,7 +1115,7 @@ describe 'ManagementApi' do
|
|
1115
1115
|
# @option opts [Integer] :page_size The number of items in this response.
|
1116
1116
|
# @option opts [Integer] :skip Skips the given number of items when paging through large result sets.
|
1117
1117
|
# @option opts [Boolean] :sandbox Indicates whether you are pointing to a sandbox or Live customer.
|
1118
|
-
# @return [
|
1118
|
+
# @return [InlineResponse20023]
|
1119
1119
|
describe 'get_customers_by_attributes test' do
|
1120
1120
|
it 'should work' do
|
1121
1121
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -1131,7 +1131,7 @@ describe 'ManagementApi' do
|
|
1131
1131
|
# @option opts [Integer] :page_size The number of items in this response.
|
1132
1132
|
# @option opts [Integer] :skip Skips the given number of items when paging through large result sets.
|
1133
1133
|
# @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.
|
1134
|
-
# @return [
|
1134
|
+
# @return [InlineResponse20036]
|
1135
1135
|
describe 'get_event_types test' do
|
1136
1136
|
it 'should work' do
|
1137
1137
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -1147,7 +1147,7 @@ describe 'ManagementApi' do
|
|
1147
1147
|
# @option opts [Float] :application_id Filter results by Application ID.
|
1148
1148
|
# @option opts [Integer] :campaign_id Filter by the campaign ID on which the limit counters are used.
|
1149
1149
|
# @option opts [String] :entity The name of the entity type that was exported.
|
1150
|
-
# @return [
|
1150
|
+
# @return [InlineResponse20039]
|
1151
1151
|
describe 'get_exports test' do
|
1152
1152
|
it 'should work' do
|
1153
1153
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -1158,7 +1158,7 @@ describe 'ManagementApi' do
|
|
1158
1158
|
# Get loyalty card
|
1159
1159
|
# Get the given loyalty card.
|
1160
1160
|
# @param loyalty_program_id Identifier of the card-based loyalty program containing the loyalty card. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint.
|
1161
|
-
# @param
|
1161
|
+
# @param loyalty_card_id Identifier of the loyalty card. You can get the identifier with the [List loyalty cards](https://docs.talon.one/management-api#tag/Loyalty-cards/operation/getLoyaltyCards) endpoint.
|
1162
1162
|
# @param [Hash] opts the optional parameters
|
1163
1163
|
# @return [LoyaltyCard]
|
1164
1164
|
describe 'get_loyalty_card test' do
|
@@ -1168,17 +1168,17 @@ describe 'ManagementApi' do
|
|
1168
1168
|
end
|
1169
1169
|
|
1170
1170
|
# unit tests for get_loyalty_card_transaction_logs
|
1171
|
-
#
|
1171
|
+
# List card's transactions
|
1172
1172
|
# Retrieve the transaction logs for the given [loyalty card](https://docs.talon.one/docs/product/loyalty-programs/loyalty-cards/loyalty-card-overview) within the specified [card-based loyalty program](https://docs.talon.one/docs/product/loyalty-programs/overview#loyalty-program-types) with filtering options applied. If no filtering options are applied, the last 50 loyalty transactions for the given loyalty card are returned.
|
1173
1173
|
# @param loyalty_program_id Identifier of the card-based loyalty program containing the loyalty card. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint.
|
1174
|
-
# @param
|
1174
|
+
# @param loyalty_card_id Identifier of the loyalty card. You can get the identifier with the [List loyalty cards](https://docs.talon.one/management-api#tag/Loyalty-cards/operation/getLoyaltyCards) endpoint.
|
1175
1175
|
# @param [Hash] opts the optional parameters
|
1176
1176
|
# @option opts [DateTime] :start_date Date and time from which results are returned. Results are filtered by transaction creation date. **Note:** It must be an RFC3339 timestamp string.
|
1177
1177
|
# @option opts [DateTime] :end_date Date and time by which results are returned. Results are filtered by transaction creation date. **Note:** It must be an RFC3339 timestamp string.
|
1178
1178
|
# @option opts [Integer] :page_size The number of items in this response.
|
1179
1179
|
# @option opts [Integer] :skip Skips the given number of items when paging through large result sets.
|
1180
1180
|
# @option opts [String] :subledger_id The ID of the subledger by which we filter the data.
|
1181
|
-
# @return [
|
1181
|
+
# @return [InlineResponse20014]
|
1182
1182
|
describe 'get_loyalty_card_transaction_logs test' do
|
1183
1183
|
it 'should work' do
|
1184
1184
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -1195,7 +1195,7 @@ describe 'ManagementApi' do
|
|
1195
1195
|
# @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.
|
1196
1196
|
# @option opts [String] :identifier Optional query parameter to search cards by identifier.
|
1197
1197
|
# @option opts [Integer] :profile_id Filter by the profile ID.
|
1198
|
-
# @return [
|
1198
|
+
# @return [InlineResponse20013]
|
1199
1199
|
describe 'get_loyalty_cards test' do
|
1200
1200
|
it 'should work' do
|
1201
1201
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -1238,7 +1238,7 @@ describe 'ManagementApi' do
|
|
1238
1238
|
# @option opts [DateTime] :end_date Date and time by which results are returned. Results are filtered by transaction creation date. **Note:** It must be an RFC3339 timestamp string.
|
1239
1239
|
# @option opts [Integer] :page_size The number of items in this response.
|
1240
1240
|
# @option opts [Integer] :skip Skips the given number of items when paging through large result sets.
|
1241
|
-
# @return [
|
1241
|
+
# @return [InlineResponse20012]
|
1242
1242
|
describe 'get_loyalty_program_transactions test' do
|
1243
1243
|
it 'should work' do
|
1244
1244
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -1249,7 +1249,7 @@ describe 'ManagementApi' do
|
|
1249
1249
|
# List loyalty programs
|
1250
1250
|
# List the loyalty programs of the account.
|
1251
1251
|
# @param [Hash] opts the optional parameters
|
1252
|
-
# @return [
|
1252
|
+
# @return [InlineResponse20011]
|
1253
1253
|
describe 'get_loyalty_programs test' do
|
1254
1254
|
it 'should work' do
|
1255
1255
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -1286,7 +1286,7 @@ describe 'ManagementApi' do
|
|
1286
1286
|
# List all [notifications about campaign-related changes](https://docs.talon.one/docs/product/applications/outbound-notifications) for the given Application.
|
1287
1287
|
# @param application_id The ID of the Application. It is displayed in your Talon.One deployment URL.
|
1288
1288
|
# @param [Hash] opts the optional parameters
|
1289
|
-
# @return [
|
1289
|
+
# @return [InlineResponse2005]
|
1290
1290
|
describe 'get_notification_webhooks test' do
|
1291
1291
|
it 'should work' do
|
1292
1292
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -1308,7 +1308,7 @@ describe 'ManagementApi' do
|
|
1308
1308
|
# @option opts [String] :valid Either \"expired\", \"validNow\", or \"validFuture\". The first option matches referrals in which the expiration date is set and in the past. The second matches referrals in which start date is null or in the past and expiration date is null or in the future, the third matches referrals in which start date is set and in the future.
|
1309
1309
|
# @option opts [String] :usable Either \"true\" or \"false\". If \"true\", only referrals where `usageCounter < usageLimit` will be returned, \"false\" will return only referrals where `usageCounter >= usageLimit`.
|
1310
1310
|
# @option opts [String] :advocate Filter results by match with a profile id specified in the referral's AdvocateProfileIntegrationId field
|
1311
|
-
# @return [
|
1311
|
+
# @return [InlineResponse2009]
|
1312
1312
|
describe 'get_referrals_without_total_count test' do
|
1313
1313
|
it 'should work' do
|
1314
1314
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -1350,7 +1350,7 @@ describe 'ManagementApi' do
|
|
1350
1350
|
# @option opts [Integer] :page_size The number of items in this response.
|
1351
1351
|
# @option opts [Integer] :skip Skips the given number of items when paging through large result sets.
|
1352
1352
|
# @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.
|
1353
|
-
# @return [
|
1353
|
+
# @return [InlineResponse2006]
|
1354
1354
|
describe 'get_rulesets test' do
|
1355
1355
|
it 'should work' do
|
1356
1356
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -1376,7 +1376,7 @@ describe 'ManagementApi' do
|
|
1376
1376
|
# @option opts [Integer] :page_size The number of items in this response.
|
1377
1377
|
# @option opts [Integer] :skip Skips the given number of items when paging through large result sets.
|
1378
1378
|
# @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.
|
1379
|
-
# @return [
|
1379
|
+
# @return [InlineResponse20037]
|
1380
1380
|
describe 'get_users test' do
|
1381
1381
|
it 'should work' do
|
1382
1382
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -1408,7 +1408,7 @@ describe 'ManagementApi' do
|
|
1408
1408
|
# @option opts [Float] :campaign_id Filter results by campaign.
|
1409
1409
|
# @option opts [DateTime] :created_before Only return events created before this date. You can use any timezone. Talon.One will convert to UTC internally.
|
1410
1410
|
# @option opts [DateTime] :created_after Only return events created after this date. You can use any timezone. Talon.One will convert to UTC internally.
|
1411
|
-
# @return [
|
1411
|
+
# @return [InlineResponse20034]
|
1412
1412
|
describe 'get_webhook_activation_logs test' do
|
1413
1413
|
it 'should work' do
|
1414
1414
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -1429,7 +1429,7 @@ describe 'ManagementApi' do
|
|
1429
1429
|
# @option opts [String] :request_uuid Filter results by request UUID.
|
1430
1430
|
# @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 timezone. Talon.One will convert to UTC internally.
|
1431
1431
|
# @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 timezone. Talon.One will convert to UTC internally.
|
1432
|
-
# @return [
|
1432
|
+
# @return [InlineResponse20035]
|
1433
1433
|
describe 'get_webhook_logs test' do
|
1434
1434
|
it 'should work' do
|
1435
1435
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -1444,7 +1444,7 @@ describe 'ManagementApi' do
|
|
1444
1444
|
# @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.
|
1445
1445
|
# @option opts [Integer] :page_size The number of items in this response.
|
1446
1446
|
# @option opts [Integer] :skip Skips the given number of items when paging through large result sets.
|
1447
|
-
# @return [
|
1447
|
+
# @return [InlineResponse20033]
|
1448
1448
|
describe 'get_webhooks test' do
|
1449
1449
|
it 'should work' do
|
1450
1450
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -1568,7 +1568,7 @@ describe 'ManagementApi' do
|
|
1568
1568
|
# @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.
|
1569
1569
|
# @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.
|
1570
1570
|
# @option opts [String] :name Filter by the name of the Collection.
|
1571
|
-
# @return [
|
1571
|
+
# @return [InlineResponse20015]
|
1572
1572
|
describe 'list_account_collections test' do
|
1573
1573
|
it 'should work' do
|
1574
1574
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -1586,7 +1586,7 @@ describe 'ManagementApi' do
|
|
1586
1586
|
# @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.
|
1587
1587
|
# @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.
|
1588
1588
|
# @option opts [String] :name Filter by the name of the Collection.
|
1589
|
-
# @return [
|
1589
|
+
# @return [InlineResponse20017]
|
1590
1590
|
describe 'list_collections test' do
|
1591
1591
|
it 'should work' do
|
1592
1592
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -1603,7 +1603,7 @@ describe 'ManagementApi' do
|
|
1603
1603
|
# @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.
|
1604
1604
|
# @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.
|
1605
1605
|
# @option opts [String] :name Filter by the name of the Collection.
|
1606
|
-
# @return [
|
1606
|
+
# @return [InlineResponse20017]
|
1607
1607
|
describe 'list_collections_in_application test' do
|
1608
1608
|
it 'should work' do
|
1609
1609
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -1681,7 +1681,7 @@ describe 'ManagementApi' do
|
|
1681
1681
|
# @option opts [String] :batch_id Filter results by batches of coupons
|
1682
1682
|
# @option opts [Boolean] :exact_match Filter results to an exact case-insensitive matching against the coupon code
|
1683
1683
|
# @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. - `draft`: Campaigns that are drafts.
|
1684
|
-
# @return [
|
1684
|
+
# @return [InlineResponse2008]
|
1685
1685
|
describe 'search_coupons_advanced_application_wide_without_total_count test' do
|
1686
1686
|
it 'should work' do
|
1687
1687
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -1707,7 +1707,7 @@ describe 'ManagementApi' do
|
|
1707
1707
|
# @option opts [String] :recipient_integration_id Filter results by match with a profile id specified in the coupon's RecipientIntegrationId field
|
1708
1708
|
# @option opts [Boolean] :exact_match Filter results to an exact case-insensitive matching against the coupon code
|
1709
1709
|
# @option opts [String] :batch_id Filter results by batches of coupons
|
1710
|
-
# @return [
|
1710
|
+
# @return [InlineResponse2008]
|
1711
1711
|
describe 'search_coupons_advanced_without_total_count test' do
|
1712
1712
|
it 'should work' do
|
1713
1713
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -1715,10 +1715,10 @@ describe 'ManagementApi' do
|
|
1715
1715
|
end
|
1716
1716
|
|
1717
1717
|
# unit tests for transfer_loyalty_card
|
1718
|
-
# Transfer
|
1719
|
-
# Transfer card data, such as linked customers, loyalty balances and transactions, from a given loyalty card to a new, automatically created loyalty card. **Important:** - The original card is automatically blocked once the new card is created, and it cannot be activated again. - The default status of the new card is _active_.
|
1718
|
+
# Transfer card data
|
1719
|
+
# Transfer loyalty card data, such as linked customers, loyalty balances and transactions, from a given loyalty card to a new, automatically created loyalty card. **Important:** - The original card is automatically blocked once the new card is created, and it cannot be activated again. - The default status of the new card is _active_.
|
1720
1720
|
# @param loyalty_program_id Identifier of the card-based loyalty program containing the loyalty card. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint.
|
1721
|
-
# @param
|
1721
|
+
# @param loyalty_card_id Identifier of the loyalty card. You can get the identifier with the [List loyalty cards](https://docs.talon.one/management-api#tag/Loyalty-cards/operation/getLoyaltyCards) endpoint.
|
1722
1722
|
# @param body body
|
1723
1723
|
# @param [Hash] opts the optional parameters
|
1724
1724
|
# @return [nil]
|
@@ -1829,7 +1829,7 @@ describe 'ManagementApi' do
|
|
1829
1829
|
# Update loyalty card status
|
1830
1830
|
# Update the status of the given loyalty card. A card can be _active_ or _inactive_.
|
1831
1831
|
# @param loyalty_program_id Identifier of the card-based loyalty program containing the loyalty card. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint.
|
1832
|
-
# @param
|
1832
|
+
# @param loyalty_card_id Identifier of the loyalty card. You can get the identifier with the [List loyalty cards](https://docs.talon.one/management-api#tag/Loyalty-cards/operation/getLoyaltyCards) endpoint.
|
1833
1833
|
# @param body body
|
1834
1834
|
# @param [Hash] opts the optional parameters
|
1835
1835
|
# @return [LoyaltyCard]
|
@@ -32,7 +32,7 @@ describe 'InlineResponse20010' do
|
|
32
32
|
expect(@instance).to be_instance_of(TalonOne::InlineResponse20010)
|
33
33
|
end
|
34
34
|
end
|
35
|
-
describe 'test attribute "
|
35
|
+
describe 'test attribute "has_more"' do
|
36
36
|
it 'should work' do
|
37
37
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
38
|
end
|
@@ -32,7 +32,7 @@ describe 'InlineResponse20011' do
|
|
32
32
|
expect(@instance).to be_instance_of(TalonOne::InlineResponse20011)
|
33
33
|
end
|
34
34
|
end
|
35
|
-
describe 'test attribute "
|
35
|
+
describe 'test attribute "total_result_size"' do
|
36
36
|
it 'should work' do
|
37
37
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
38
|
end
|
@@ -38,12 +38,6 @@ describe 'InlineResponse20014' do
|
|
38
38
|
end
|
39
39
|
end
|
40
40
|
|
41
|
-
describe 'test attribute "total_result_size"' do
|
42
|
-
it 'should work' do
|
43
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
-
end
|
45
|
-
end
|
46
|
-
|
47
41
|
describe 'test attribute "data"' do
|
48
42
|
it 'should work' do
|
49
43
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -38,6 +38,12 @@ describe 'InlineResponse20015' do
|
|
38
38
|
end
|
39
39
|
end
|
40
40
|
|
41
|
+
describe 'test attribute "total_result_size"' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
41
47
|
describe 'test attribute "data"' do
|
42
48
|
it 'should work' do
|
43
49
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -38,12 +38,6 @@ describe 'InlineResponse20016' do
|
|
38
38
|
end
|
39
39
|
end
|
40
40
|
|
41
|
-
describe 'test attribute "total_result_size"' do
|
42
|
-
it 'should work' do
|
43
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
-
end
|
45
|
-
end
|
46
|
-
|
47
41
|
describe 'test attribute "data"' do
|
48
42
|
it 'should work' do
|
49
43
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -38,6 +38,12 @@ describe 'InlineResponse20017' do
|
|
38
38
|
end
|
39
39
|
end
|
40
40
|
|
41
|
+
describe 'test attribute "total_result_size"' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
41
47
|
describe 'test attribute "data"' do
|
42
48
|
it 'should work' do
|
43
49
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -32,7 +32,7 @@ describe 'InlineResponse20018' do
|
|
32
32
|
expect(@instance).to be_instance_of(TalonOne::InlineResponse20018)
|
33
33
|
end
|
34
34
|
end
|
35
|
-
describe 'test attribute "
|
35
|
+
describe 'test attribute "has_more"' do
|
36
36
|
it 'should work' do
|
37
37
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
38
|
end
|
@@ -38,12 +38,6 @@ describe 'InlineResponse20020' do
|
|
38
38
|
end
|
39
39
|
end
|
40
40
|
|
41
|
-
describe 'test attribute "has_more"' do
|
42
|
-
it 'should work' do
|
43
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
-
end
|
45
|
-
end
|
46
|
-
|
47
41
|
describe 'test attribute "data"' do
|
48
42
|
it 'should work' do
|
49
43
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -32,13 +32,13 @@ describe 'InlineResponse20021' do
|
|
32
32
|
expect(@instance).to be_instance_of(TalonOne::InlineResponse20021)
|
33
33
|
end
|
34
34
|
end
|
35
|
-
describe 'test attribute "
|
35
|
+
describe 'test attribute "total_result_size"' do
|
36
36
|
it 'should work' do
|
37
37
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
38
|
end
|
39
39
|
end
|
40
40
|
|
41
|
-
describe 'test attribute "
|
41
|
+
describe 'test attribute "has_more"' do
|
42
42
|
it 'should work' do
|
43
43
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
44
|
end
|