talon_one 4.0.0 → 5.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (45) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +11 -6
  3. data/docs/ActivateUserRequest.md +17 -0
  4. data/docs/Coupon.md +2 -2
  5. data/docs/CustomerInventory.md +1 -1
  6. data/docs/InlineResponse20044.md +1 -1
  7. data/docs/IntegrationApi.md +11 -11
  8. data/docs/IntegrationCoupon.md +2 -2
  9. data/docs/InventoryCoupon.md +2 -2
  10. data/docs/LoyaltyCardBalances.md +21 -0
  11. data/docs/LoyaltyCardProfileRegistration.md +1 -1
  12. data/docs/ManagementApi.md +187 -69
  13. data/docs/MessageLogEntry.md +1 -3
  14. data/docs/NewCoupons.md +1 -1
  15. data/docs/NewExternalInvitation.md +21 -0
  16. data/docs/UpdateCoupon.md +1 -1
  17. data/docs/UpdateUser.md +1 -1
  18. data/lib/talon_one/api/integration_api.rb +18 -18
  19. data/lib/talon_one/api/management_api.rb +200 -76
  20. data/lib/talon_one/models/activate_user_request.rb +213 -0
  21. data/lib/talon_one/models/additional_campaign_properties.rb +2 -2
  22. data/lib/talon_one/models/campaign.rb +2 -2
  23. data/lib/talon_one/models/coupon.rb +2 -2
  24. data/lib/talon_one/models/customer_inventory.rb +1 -1
  25. data/lib/talon_one/models/inline_response20044.rb +1 -1
  26. data/lib/talon_one/models/integration_coupon.rb +2 -2
  27. data/lib/talon_one/models/inventory_coupon.rb +2 -2
  28. data/lib/talon_one/models/loyalty_card_balances.rb +231 -0
  29. data/lib/talon_one/models/loyalty_card_profile_registration.rb +1 -1
  30. data/lib/talon_one/models/message_log_entry.rb +4 -14
  31. data/lib/talon_one/models/new_coupons.rb +1 -1
  32. data/lib/talon_one/models/new_external_invitation.rb +235 -0
  33. data/lib/talon_one/models/update_coupon.rb +1 -1
  34. data/lib/talon_one/models/update_user.rb +1 -1
  35. data/lib/talon_one/version.rb +1 -1
  36. data/lib/talon_one.rb +3 -0
  37. data/spec/api/integration_api_spec.rb +7 -7
  38. data/spec/api/management_api_spec.rb +43 -19
  39. data/spec/models/activate_user_request_spec.rb +41 -0
  40. data/spec/models/additional_campaign_properties_spec.rb +1 -1
  41. data/spec/models/campaign_spec.rb +1 -1
  42. data/spec/models/loyalty_card_balances_spec.rb +53 -0
  43. data/spec/models/message_log_entry_spec.rb +1 -7
  44. data/spec/models/new_external_invitation_spec.rb +53 -0
  45. metadata +30 -18
@@ -0,0 +1,53 @@
1
+ =begin
2
+ #Talon.One API
3
+
4
+ #Use the Talon.One API to integrate with your application and to manage applications and campaigns: - Use the operations in the [Integration API section](#integration-api) are used to integrate with our platform - Use the operation in the [Management API section](#management-api) to manage applications and campaigns. ## Determining the base URL of the endpoints The API is available at the same hostname as your Campaign Manager deployment. For example, if you access the Campaign Manager at `https://yourbaseurl.talon.one/`, the URL for the [updateCustomerSessionV2](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2) endpoint is `https://yourbaseurl.talon.one/v2/customer_sessions/{Id}`
5
+
6
+ The version of the OpenAPI document:
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 4.3.1
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for TalonOne::NewExternalInvitation
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe 'NewExternalInvitation' do
21
+ before do
22
+ # run before each test
23
+ @instance = TalonOne::NewExternalInvitation.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of NewExternalInvitation' do
31
+ it 'should create an instance of NewExternalInvitation' do
32
+ expect(@instance).to be_instance_of(TalonOne::NewExternalInvitation)
33
+ end
34
+ end
35
+ describe 'test attribute "name"' do
36
+ it 'should work' do
37
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
+ end
39
+ end
40
+
41
+ describe 'test attribute "user_groups"' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
+ end
45
+ end
46
+
47
+ describe 'test attribute "email"' do
48
+ it 'should work' do
49
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
50
+ end
51
+ end
52
+
53
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: talon_one
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.0
4
+ version: 5.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Talon.One GmbH
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-05-28 00:00:00.000000000 Z
11
+ date: 2024-06-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus
@@ -34,42 +34,42 @@ dependencies:
34
34
  name: json
35
35
  requirement: !ruby/object:Gem::Requirement
36
36
  requirements:
37
- - - ">="
38
- - !ruby/object:Gem::Version
39
- version: 2.1.0
40
37
  - - "~>"
41
38
  - !ruby/object:Gem::Version
42
39
  version: '2.1'
40
+ - - ">="
41
+ - !ruby/object:Gem::Version
42
+ version: 2.1.0
43
43
  type: :runtime
44
44
  prerelease: false
45
45
  version_requirements: !ruby/object:Gem::Requirement
46
46
  requirements:
47
- - - ">="
48
- - !ruby/object:Gem::Version
49
- version: 2.1.0
50
47
  - - "~>"
51
48
  - !ruby/object:Gem::Version
52
49
  version: '2.1'
50
+ - - ">="
51
+ - !ruby/object:Gem::Version
52
+ version: 2.1.0
53
53
  - !ruby/object:Gem::Dependency
54
54
  name: rspec
55
55
  requirement: !ruby/object:Gem::Requirement
56
56
  requirements:
57
- - - ">="
58
- - !ruby/object:Gem::Version
59
- version: 3.6.0
60
57
  - - "~>"
61
58
  - !ruby/object:Gem::Version
62
59
  version: '3.6'
60
+ - - ">="
61
+ - !ruby/object:Gem::Version
62
+ version: 3.6.0
63
63
  type: :development
64
64
  prerelease: false
65
65
  version_requirements: !ruby/object:Gem::Requirement
66
66
  requirements:
67
- - - ">="
68
- - !ruby/object:Gem::Version
69
- version: 3.6.0
70
67
  - - "~>"
71
68
  - !ruby/object:Gem::Version
72
69
  version: '3.6'
70
+ - - ">="
71
+ - !ruby/object:Gem::Version
72
+ version: 3.6.0
73
73
  description: The Talon.One API is used to manage applications and campaigns, as well
74
74
  as to integrate with your application. The operations in the _Integration API_ section
75
75
  are used to integrate with our platform, while the other operations are used to
@@ -104,6 +104,7 @@ files:
104
104
  - docs/Achievement.md
105
105
  - docs/AchievementAdditionalProperties.md
106
106
  - docs/AchievementProgress.md
107
+ - docs/ActivateUserRequest.md
107
108
  - docs/AddFreeItemEffectProps.md
108
109
  - docs/AddItemCatalogAction.md
109
110
  - docs/AddLoyaltyPoints.md
@@ -350,6 +351,7 @@ files:
350
351
  - docs/LoyaltyBalance.md
351
352
  - docs/LoyaltyBalances.md
352
353
  - docs/LoyaltyCard.md
354
+ - docs/LoyaltyCardBalances.md
353
355
  - docs/LoyaltyCardProfileRegistration.md
354
356
  - docs/LoyaltyCardRegistration.md
355
357
  - docs/LoyaltyDashboardData.md
@@ -412,6 +414,7 @@ files:
412
414
  - docs/NewCustomerSessionV2.md
413
415
  - docs/NewEvent.md
414
416
  - docs/NewEventType.md
417
+ - docs/NewExternalInvitation.md
415
418
  - docs/NewGiveawaysPool.md
416
419
  - docs/NewInternalAudience.md
417
420
  - docs/NewInvitation.md
@@ -586,6 +589,7 @@ files:
586
589
  - lib/talon_one/models/achievement.rb
587
590
  - lib/talon_one/models/achievement_additional_properties.rb
588
591
  - lib/talon_one/models/achievement_progress.rb
592
+ - lib/talon_one/models/activate_user_request.rb
589
593
  - lib/talon_one/models/add_free_item_effect_props.rb
590
594
  - lib/talon_one/models/add_item_catalog_action.rb
591
595
  - lib/talon_one/models/add_loyalty_points.rb
@@ -832,6 +836,7 @@ files:
832
836
  - lib/talon_one/models/loyalty_balance.rb
833
837
  - lib/talon_one/models/loyalty_balances.rb
834
838
  - lib/talon_one/models/loyalty_card.rb
839
+ - lib/talon_one/models/loyalty_card_balances.rb
835
840
  - lib/talon_one/models/loyalty_card_profile_registration.rb
836
841
  - lib/talon_one/models/loyalty_card_registration.rb
837
842
  - lib/talon_one/models/loyalty_dashboard_data.rb
@@ -893,6 +898,7 @@ files:
893
898
  - lib/talon_one/models/new_customer_session_v2.rb
894
899
  - lib/talon_one/models/new_event.rb
895
900
  - lib/talon_one/models/new_event_type.rb
901
+ - lib/talon_one/models/new_external_invitation.rb
896
902
  - lib/talon_one/models/new_giveaways_pool.rb
897
903
  - lib/talon_one/models/new_internal_audience.rb
898
904
  - lib/talon_one/models/new_invitation.rb
@@ -1066,6 +1072,7 @@ files:
1066
1072
  - spec/models/achievement_additional_properties_spec.rb
1067
1073
  - spec/models/achievement_progress_spec.rb
1068
1074
  - spec/models/achievement_spec.rb
1075
+ - spec/models/activate_user_request_spec.rb
1069
1076
  - spec/models/add_free_item_effect_props_spec.rb
1070
1077
  - spec/models/add_item_catalog_action_spec.rb
1071
1078
  - spec/models/add_loyalty_points_effect_props_spec.rb
@@ -1310,6 +1317,7 @@ files:
1310
1317
  - spec/models/login_params_spec.rb
1311
1318
  - spec/models/loyalty_balance_spec.rb
1312
1319
  - spec/models/loyalty_balances_spec.rb
1320
+ - spec/models/loyalty_card_balances_spec.rb
1313
1321
  - spec/models/loyalty_card_profile_registration_spec.rb
1314
1322
  - spec/models/loyalty_card_registration_spec.rb
1315
1323
  - spec/models/loyalty_card_spec.rb
@@ -1373,6 +1381,7 @@ files:
1373
1381
  - spec/models/new_customer_session_v2_spec.rb
1374
1382
  - spec/models/new_event_spec.rb
1375
1383
  - spec/models/new_event_type_spec.rb
1384
+ - spec/models/new_external_invitation_spec.rb
1376
1385
  - spec/models/new_giveaways_pool_spec.rb
1377
1386
  - spec/models/new_internal_audience_spec.rb
1378
1387
  - spec/models/new_invitation_spec.rb
@@ -1529,7 +1538,7 @@ homepage: https://github.com/talon-one/talon_one.rb/
1529
1538
  licenses:
1530
1539
  - MIT
1531
1540
  metadata: {}
1532
- post_install_message:
1541
+ post_install_message:
1533
1542
  rdoc_options: []
1534
1543
  require_paths:
1535
1544
  - lib
@@ -1544,8 +1553,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
1544
1553
  - !ruby/object:Gem::Version
1545
1554
  version: '0'
1546
1555
  requirements: []
1547
- rubygems_version: 3.0.3.1
1548
- signing_key:
1556
+ rubygems_version: 3.5.10
1557
+ signing_key:
1549
1558
  specification_version: 4
1550
1559
  summary: Talon.One API Ruby Gem
1551
1560
  test_files:
@@ -1625,6 +1634,7 @@ test_files:
1625
1634
  - spec/models/application_session_entity_spec.rb
1626
1635
  - spec/models/application_referee_spec.rb
1627
1636
  - spec/models/inline_response20019_spec.rb
1637
+ - spec/models/loyalty_card_balances_spec.rb
1628
1638
  - spec/models/loyalty_membership_spec.rb
1629
1639
  - spec/models/rollback_coupon_effect_props_spec.rb
1630
1640
  - spec/models/endpoint_spec.rb
@@ -1741,6 +1751,7 @@ test_files:
1741
1751
  - spec/models/ledger_transaction_log_entry_integration_api_spec.rb
1742
1752
  - spec/models/new_base_notification_spec.rb
1743
1753
  - spec/models/remove_from_audience_effect_props_spec.rb
1754
+ - spec/models/new_external_invitation_spec.rb
1744
1755
  - spec/models/campaign_group_spec.rb
1745
1756
  - spec/models/application_campaign_analytics_avg_items_per_session_spec.rb
1746
1757
  - spec/models/campaign_set_leaf_node_spec.rb
@@ -1953,6 +1964,7 @@ test_files:
1953
1964
  - spec/models/store_spec.rb
1954
1965
  - spec/models/integration_customer_session_response_spec.rb
1955
1966
  - spec/models/application_campaign_stats_spec.rb
1967
+ - spec/models/activate_user_request_spec.rb
1956
1968
  - spec/models/update_loyalty_card_spec.rb
1957
1969
  - spec/models/talang_attribute_spec.rb
1958
1970
  - spec/models/tier_spec.rb