talon_one 1.3.0 → 1.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (79) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +14 -6
  3. data/docs/AccountAnalytics.md +1 -0
  4. data/docs/AccountLimits.md +1 -0
  5. data/docs/Application.md +1 -0
  6. data/docs/AttributesMandatory.md +9 -0
  7. data/docs/AttributesSettings.md +8 -0
  8. data/docs/BaseSamlConnection.md +15 -0
  9. data/docs/CampaignAnalytics.md +9 -3
  10. data/docs/CampaignCopy.md +4 -0
  11. data/docs/Change.md +2 -2
  12. data/docs/CustomerInventory.md +9 -0
  13. data/docs/InlineResponse20020.md +1 -1
  14. data/docs/InlineResponse20021.md +1 -1
  15. data/docs/InlineResponse20022.md +1 -1
  16. data/docs/InlineResponse20023.md +1 -1
  17. data/docs/InlineResponse20024.md +1 -1
  18. data/docs/InlineResponse20025.md +2 -3
  19. data/docs/InlineResponse20026.md +3 -2
  20. data/docs/InlineResponse20027.md +1 -1
  21. data/docs/InlineResponse20028.md +1 -1
  22. data/docs/InlineResponse20029.md +9 -0
  23. data/docs/IntegrationApi.md +66 -0
  24. data/docs/ManagementApi.md +162 -101
  25. data/docs/NewApplication.md +1 -0
  26. data/docs/NewSamlConnection.md +3 -2
  27. data/docs/SamlConnection.md +4 -5
  28. data/docs/SamlConnectionMetadata.md +11 -0
  29. data/docs/UpdateApplication.md +1 -0
  30. data/lib/talon_one.rb +6 -0
  31. data/lib/talon_one/api/integration_api.rb +60 -0
  32. data/lib/talon_one/api/management_api.rb +177 -119
  33. data/lib/talon_one/models/account_analytics.rb +19 -4
  34. data/lib/talon_one/models/account_limits.rb +11 -1
  35. data/lib/talon_one/models/application.rb +10 -1
  36. data/lib/talon_one/models/attributes_mandatory.rb +199 -0
  37. data/lib/talon_one/models/attributes_settings.rb +184 -0
  38. data/lib/talon_one/models/base_saml_connection.rb +336 -0
  39. data/lib/talon_one/models/campaign_analytics.rb +94 -4
  40. data/lib/talon_one/models/campaign_copy.rb +46 -4
  41. data/lib/talon_one/models/change.rb +2 -2
  42. data/lib/talon_one/models/customer_inventory.rb +194 -0
  43. data/lib/talon_one/models/inline_response_200_20.rb +1 -1
  44. data/lib/talon_one/models/inline_response_200_21.rb +1 -1
  45. data/lib/talon_one/models/inline_response_200_22.rb +1 -1
  46. data/lib/talon_one/models/inline_response_200_23.rb +1 -1
  47. data/lib/talon_one/models/inline_response_200_24.rb +1 -1
  48. data/lib/talon_one/models/inline_response_200_25.rb +7 -11
  49. data/lib/talon_one/models/inline_response_200_26.rb +11 -7
  50. data/lib/talon_one/models/inline_response_200_27.rb +1 -1
  51. data/lib/talon_one/models/inline_response_200_28.rb +1 -1
  52. data/lib/talon_one/models/inline_response_200_29.rb +204 -0
  53. data/lib/talon_one/models/new_application.rb +10 -1
  54. data/lib/talon_one/models/new_saml_connection.rb +58 -43
  55. data/lib/talon_one/models/saml_connection.rb +45 -78
  56. data/lib/talon_one/models/saml_connection_metadata.rb +271 -0
  57. data/lib/talon_one/models/update_application.rb +13 -4
  58. data/lib/talon_one/version.rb +1 -1
  59. data/spec/api/integration_api_spec.rb +14 -0
  60. data/spec/api/management_api_spec.rb +50 -36
  61. data/spec/models/account_analytics_spec.rb +6 -0
  62. data/spec/models/account_limits_spec.rb +6 -0
  63. data/spec/models/application_spec.rb +6 -0
  64. data/spec/models/attributes_mandatory_spec.rb +47 -0
  65. data/spec/models/attributes_settings_spec.rb +41 -0
  66. data/spec/models/base_saml_connection_spec.rb +83 -0
  67. data/spec/models/campaign_analytics_spec.rb +36 -0
  68. data/spec/models/campaign_copy_spec.rb +24 -0
  69. data/spec/models/customer_inventory_spec.rb +47 -0
  70. data/spec/models/inline_response_200_25_spec.rb +0 -6
  71. data/spec/models/inline_response_200_26_spec.rb +6 -0
  72. data/spec/models/inline_response_200_29_spec.rb +47 -0
  73. data/spec/models/new_application_spec.rb +6 -0
  74. data/spec/models/new_saml_connection_spec.rb +13 -7
  75. data/spec/models/saml_connection_metadata_spec.rb +59 -0
  76. data/spec/models/saml_connection_spec.rb +9 -15
  77. data/spec/models/update_application_spec.rb +6 -0
  78. data/talon_one-1.3.0.gem +0 -0
  79. metadata +27 -2
@@ -35,6 +35,8 @@ module TalonOne
35
35
  # Default limits for campaigns created in this application
36
36
  attr_accessor :limits
37
37
 
38
+ attr_accessor :attributes_settings
39
+
38
40
  class EnumAttributeValidator
39
41
  attr_reader :datatype
40
42
  attr_reader :allowable_values
@@ -66,7 +68,8 @@ module TalonOne
66
68
  :'currency' => :'currency',
67
69
  :'case_sensitivity' => :'caseSensitivity',
68
70
  :'attributes' => :'attributes',
69
- :'limits' => :'limits'
71
+ :'limits' => :'limits',
72
+ :'attributes_settings' => :'attributesSettings'
70
73
  }
71
74
  end
72
75
 
@@ -79,7 +82,8 @@ module TalonOne
79
82
  :'currency' => :'String',
80
83
  :'case_sensitivity' => :'String',
81
84
  :'attributes' => :'Object',
82
- :'limits' => :'Array<LimitConfig>'
85
+ :'limits' => :'Array<LimitConfig>',
86
+ :'attributes_settings' => :'AttributesSettings'
83
87
  }
84
88
  end
85
89
 
@@ -120,6 +124,10 @@ module TalonOne
120
124
  self.limits = value
121
125
  end
122
126
  end
127
+
128
+ if attributes.has_key?(:'attributesSettings')
129
+ self.attributes_settings = attributes[:'attributesSettings']
130
+ end
123
131
  end
124
132
 
125
133
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -230,7 +238,8 @@ module TalonOne
230
238
  currency == o.currency &&
231
239
  case_sensitivity == o.case_sensitivity &&
232
240
  attributes == o.attributes &&
233
- limits == o.limits
241
+ limits == o.limits &&
242
+ attributes_settings == o.attributes_settings
234
243
  end
235
244
 
236
245
  # @see the `==` method
@@ -242,7 +251,7 @@ module TalonOne
242
251
  # Calculates hash code according to all attributes.
243
252
  # @return [Fixnum] Hash code
244
253
  def hash
245
- [name, description, timezone, currency, case_sensitivity, attributes, limits].hash
254
+ [name, description, timezone, currency, case_sensitivity, attributes, limits, attributes_settings].hash
246
255
  end
247
256
 
248
257
  # Builds the object from hash
@@ -11,5 +11,5 @@ Swagger Codegen version: 2.4.7
11
11
  =end
12
12
 
13
13
  module TalonOne
14
- VERSION = '1.3.0'
14
+ VERSION = '1.4.0'
15
15
  end
@@ -82,6 +82,20 @@ describe 'IntegrationApi' do
82
82
  end
83
83
  end
84
84
 
85
+ # unit tests for get_customer_inventory
86
+ # Get an inventory of all data associated with a specific customer profile.
87
+ # Get information regarding entities referencing this customer profile&#39;s integrationId. Currently we support customer profile information and referral codes. In the future, this will be expanded with coupon codes and loyalty points.
88
+ # @param integration_id The custom identifier for this profile, must be unique within the account.
89
+ # @param [Hash] opts the optional parameters
90
+ # @option opts [Object] :profile optional flag to decide if you would like customer profile information in the response
91
+ # @option opts [Object] :referrals optional flag to decide if you would like referral information in the response
92
+ # @return [CustomerInventory]
93
+ describe 'get_customer_inventory test' do
94
+ it 'should work' do
95
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
96
+ end
97
+ end
98
+
85
99
  # unit tests for get_reserved_coupons
86
100
  # Get all valid reserved coupons
87
101
  # Returns all coupons this user is subscribed to that are valid and usable
@@ -60,6 +60,18 @@ describe 'ManagementApi' do
60
60
  end
61
61
  end
62
62
 
63
+ # unit tests for create_attribute
64
+ # Define a new custom attribute
65
+ # Defines a new _custom attribute_ in this account. Custom attributes allow you to attach new fields to Talon.One domain objects like campaigns, coupons, customers and so on. These attributes can then be given values when creating / updating these objects, and these values can be used in your campaign rules. For example, you could define a &#x60;zipCode&#x60; field for customer sessions, and add a rule to your campaign that only allows certain ZIP codes. These attributes are shared across all applications in your account, and are never required.
66
+ # @param body
67
+ # @param [Hash] opts the optional parameters
68
+ # @return [Attribute]
69
+ describe 'create_attribute test' do
70
+ it 'should work' do
71
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
72
+ end
73
+ end
74
+
63
75
  # unit tests for create_campaign
64
76
  # Create a Campaign
65
77
  #
@@ -75,7 +87,7 @@ describe 'ManagementApi' do
75
87
 
76
88
  # unit tests for create_coupons
77
89
  # Create Coupons
78
- # Create coupons according to some pattern. Up to 20.000 coupons can be created without a unique prefix. When a unique prefix is provided, up to 200.000 coupns can be created.
90
+ # Create coupons according to some pattern. Up to 20.000 coupons can be created without a unique prefix. When a unique prefix is provided, up to 200.000 coupons can be created.
79
91
  # @param application_id
80
92
  # @param campaign_id
81
93
  # @param body
@@ -214,8 +226,8 @@ describe 'ManagementApi' do
214
226
  # @param range_start Only return results from after this timestamp, must be an RFC3339 timestamp string
215
227
  # @param range_end Only return results from before this timestamp, must be an RFC3339 timestamp string
216
228
  # @param [Hash] opts the optional parameters
217
- # @option opts [String] :path Only return results where the request path matches the given regular expresssion.
218
- # @option opts [String] :method Only return results where the request method matches the given regular expresssion.
229
+ # @option opts [String] :path Only return results where the request path matches the given regular expression.
230
+ # @option opts [String] :method Only return results where the request method matches the given regular expression.
219
231
  # @option opts [String] :status Filter results by HTTP status codes.
220
232
  # @option opts [Integer] :page_size The number of items to include in this response. When omitted, the maximum value of 1000 will be used.
221
233
  # @option opts [Integer] :skip Skips the given number of items when paging through large result sets.
@@ -234,8 +246,8 @@ describe 'ManagementApi' do
234
246
  # @param range_start Only return results from after this timestamp, must be an RFC3339 timestamp string
235
247
  # @param range_end Only return results from before this timestamp, must be an RFC3339 timestamp string
236
248
  # @param [Hash] opts the optional parameters
237
- # @option opts [String] :path Only return results where the request path matches the given regular expresssion.
238
- # @option opts [String] :method Only return results where the request method matches the given regular expresssion.
249
+ # @option opts [String] :path Only return results where the request path matches the given regular expression.
250
+ # @option opts [String] :method Only return results where the request method matches the given regular expression.
239
251
  # @option opts [String] :status Filter results by HTTP status codes.
240
252
  # @option opts [Integer] :page_size The number of items to include in this response. When omitted, the maximum value of 1000 will be used.
241
253
  # @option opts [Integer] :skip Skips the given number of items when paging through large result sets.
@@ -271,26 +283,14 @@ describe 'ManagementApi' do
271
283
  end
272
284
  end
273
285
 
274
- # unit tests for get_account_limits
275
- # Get Account Limits
276
- # Returns a list of all account limits set
277
- # @param account_id
278
- # @param [Hash] opts the optional parameters
279
- # @return [AccountLimits]
280
- describe 'get_account_limits test' do
281
- it 'should work' do
282
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
283
- end
284
- end
285
-
286
286
  # unit tests for get_all_access_logs
287
287
  # Get all access logs
288
288
  # Fetches the access logs for the entire account. Sensitive requests (logins) are _always_ filtered from the logs.
289
289
  # @param range_start Only return results from after this timestamp, must be an RFC3339 timestamp string
290
290
  # @param range_end Only return results from before this timestamp, must be an RFC3339 timestamp string
291
291
  # @param [Hash] opts the optional parameters
292
- # @option opts [String] :path Only return results where the request path matches the given regular expresssion.
293
- # @option opts [String] :method Only return results where the request method matches the given regular expresssion.
292
+ # @option opts [String] :path Only return results where the request path matches the given regular expression.
293
+ # @option opts [String] :method Only return results where the request method matches the given regular expression.
294
294
  # @option opts [String] :status Filter results by HTTP status codes.
295
295
  # @option opts [Integer] :page_size The number of items to include in this response. When omitted, the maximum value of 1000 will be used.
296
296
  # @option opts [Integer] :skip Skips the given number of items when paging through large result sets.
@@ -305,7 +305,7 @@ describe 'ManagementApi' do
305
305
  # unit tests for get_all_roles
306
306
  # Get all roles.
307
307
  # @param [Hash] opts the optional parameters
308
- # @return [InlineResponse20028]
308
+ # @return [InlineResponse20029]
309
309
  describe 'get_all_roles test' do
310
310
  it 'should work' do
311
311
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -363,7 +363,7 @@ describe 'ManagementApi' do
363
363
 
364
364
  # unit tests for get_application_customers_by_attributes
365
365
  # Get a list of the customer profiles that match the given attributes
366
- # Gets a list of all the customer profiles for the account that exactly match a set of attributes. The match is successful if all the attributes of the request are found in a profile, even if the profile has more attributes that are not present on the request. [Customer Profile]: http://help.talon.one/customer/en/portal/articles/2525263-data-model?b_id&#x3D;14115#customer-profile
366
+ # Gets a list of all the customer profiles for the account that exactly match a set of attributes. The match is successful if all the attributes of the request are found in a profile, even if the profile has more attributes that are not present on the request. [Customer Profile]: https://help.talon.one/hc/en-us/articles/360005130739-Data-Model#CustomerProfile
367
367
  # @param body
368
368
  # @param [Hash] opts the optional parameters
369
369
  # @return [InlineResponse20013]
@@ -497,6 +497,20 @@ describe 'ManagementApi' do
497
497
  end
498
498
  end
499
499
 
500
+ # unit tests for get_attributes
501
+ # List custom attributes
502
+ # Returns all the defined custom attributes for the account.
503
+ # @param [Hash] opts the optional parameters
504
+ # @option opts [Integer] :page_size The number of items to include in this response. When omitted, the maximum value of 1000 will be used.
505
+ # @option opts [Integer] :skip Skips the given number of items when paging through large result sets.
506
+ # @option opts [String] :sort The field by which results should be sorted. Sorting defaults to ascending order, prefix the field name with &#x60;-&#x60; to sort in descending order.
507
+ # @return [InlineResponse20020]
508
+ describe 'get_attributes test' do
509
+ it 'should work' do
510
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
511
+ end
512
+ end
513
+
500
514
  # unit tests for get_campaign
501
515
  # Get a Campaign
502
516
  #
@@ -587,7 +601,7 @@ describe 'ManagementApi' do
587
601
  # @option opts [DateTime] :created_after Filter results comparing the parameter value, expected to be an RFC3339 timestamp string, to the change creation timestamp.
588
602
  # @option opts [BOOLEAN] :with_total_result_size When this flag is set, the result will include the total size of the result, across all pages. This might decrease performance on large data sets. With this flag set to true, hasMore will be be true whenever there is a next page. totalResultSize will always be zero. With this flag set to false, hasMore will always be set to false. totalResultSize will contain the total number of results for this query.
589
603
  # @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.
590
- # @return [InlineResponse20025]
604
+ # @return [InlineResponse20026]
591
605
  describe 'get_changes test' do
592
606
  it 'should work' do
593
607
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -803,7 +817,7 @@ describe 'ManagementApi' do
803
817
 
804
818
  # unit tests for get_customers_by_attributes
805
819
  # Get a list of the customer profiles that match the given attributes
806
- # Gets a list of all the customer profiles for the account that exactly match a set of attributes. The match is successful if all the attributes of the request are found in a profile, even if the profile has more attributes that are not present on the request. [Customer Profile]: http://help.talon.one/customer/en/portal/articles/2525263-data-model?b_id&#x3D;14115#customer-profile
820
+ # Gets a list of all the customer profiles for the account that exactly match a set of attributes. The match is successful if all the attributes of the request are found in a profile, even if the profile has more attributes that are not present on the request. [Customer Profile]: https://help.talon.one/hc/en-us/articles/360005130739-Data-Model#CustomerProfile
807
821
  # @param body
808
822
  # @param [Hash] opts the optional parameters
809
823
  # @option opts [Integer] :page_size The number of items to include in this response. When omitted, the maximum value of 1000 will be used.
@@ -825,7 +839,7 @@ describe 'ManagementApi' do
825
839
  # @option opts [Integer] :page_size The number of items to include in this response. When omitted, the maximum value of 1000 will be used.
826
840
  # @option opts [Integer] :skip Skips the given number of items when paging through large result sets.
827
841
  # @option opts [String] :sort The field by which results should be sorted. Sorting defaults to ascending order, prefix the field name with &#x60;-&#x60; to sort in descending order.
828
- # @return [InlineResponse20023]
842
+ # @return [InlineResponse20024]
829
843
  describe 'get_event_types test' do
830
844
  it 'should work' do
831
845
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -841,7 +855,7 @@ describe 'ManagementApi' do
841
855
  # @option opts [Integer] :application_id
842
856
  # @option opts [Integer] :campaign_id
843
857
  # @option opts [String] :entity The name of the entity type that was exported.
844
- # @return [InlineResponse20026]
858
+ # @return [InlineResponse20027]
845
859
  describe 'get_exports test' do
846
860
  it 'should work' do
847
861
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -854,7 +868,7 @@ describe 'ManagementApi' do
854
868
  # @param [Hash] opts the optional parameters
855
869
  # @option opts [Integer] :page_size The number of items to include in this response. When omitted, the maximum value of 1000 will be used.
856
870
  # @option opts [Integer] :skip Skips the given number of items when paging through large result sets.
857
- # @return [InlineResponse20027]
871
+ # @return [InlineResponse20028]
858
872
  describe 'get_imports test' do
859
873
  it 'should work' do
860
874
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -1001,7 +1015,7 @@ describe 'ManagementApi' do
1001
1015
  # @option opts [Integer] :page_size The number of items to include in this response. When omitted, the maximum value of 1000 will be used.
1002
1016
  # @option opts [Integer] :skip Skips the given number of items when paging through large result sets.
1003
1017
  # @option opts [String] :sort The field by which results should be sorted. Sorting defaults to ascending order, prefix the field name with &#x60;-&#x60; to sort in descending order.
1004
- # @return [InlineResponse20024]
1018
+ # @return [InlineResponse20025]
1005
1019
  describe 'get_users test' do
1006
1020
  it 'should work' do
1007
1021
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -1033,7 +1047,7 @@ describe 'ManagementApi' do
1033
1047
  # @option opts [Float] :campaign_id Filter results by campaign.
1034
1048
  # @option opts [DateTime] :created_before Only return events created before this date.
1035
1049
  # @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.
1036
- # @return [InlineResponse20021]
1050
+ # @return [InlineResponse20022]
1037
1051
  describe 'get_webhook_activation_logs test' do
1038
1052
  it 'should work' do
1039
1053
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -1054,7 +1068,7 @@ describe 'ManagementApi' do
1054
1068
  # @option opts [String] :request_uuid Filter results by request UUID.
1055
1069
  # @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.
1056
1070
  # @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.
1057
- # @return [InlineResponse20022]
1071
+ # @return [InlineResponse20023]
1058
1072
  describe 'get_webhook_logs test' do
1059
1073
  it 'should work' do
1060
1074
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -1069,7 +1083,7 @@ describe 'ManagementApi' do
1069
1083
  # @option opts [String] :sort The field by which results should be sorted. Sorting defaults to ascending order, prefix the field name with &#x60;-&#x60; to sort in descending order.
1070
1084
  # @option opts [Integer] :page_size The number of items to include in this response. When omitted, the maximum value of 1000 will be used.
1071
1085
  # @option opts [Integer] :skip Skips the given number of items when paging through large result sets.
1072
- # @return [InlineResponse20020]
1086
+ # @return [InlineResponse20021]
1073
1087
  describe 'get_webhooks test' do
1074
1088
  it 'should work' do
1075
1089
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -1217,14 +1231,14 @@ describe 'ManagementApi' do
1217
1231
  end
1218
1232
  end
1219
1233
 
1220
- # unit tests for set_account_limits
1221
- # Set account limits
1222
- # sets account limits
1223
- # @param account_id
1234
+ # unit tests for update_attribute
1235
+ # Update a custom attribute
1236
+ # Updates an existing custom attribute. Once created, the only property of a custom attribute that can be changed is the title (human readable description). This restriction is in place to prevent accidentally breaking live integrations. E.g. if you have a customer profile attribute with the name &#x60;region&#x60;, and your integration is sending &#x60;attributes.region&#x60; with customer profile updates, changing the name to &#x60;locale&#x60; would cause the integration requests to begin failing. If you **really** need to change the &#x60;type&#x60; or &#x60;name&#x60; property of a custom attribute, create a new attribute and update any relevant integrations and rules to use the new attribute. Then delete the old attribute when you are confident you have migrated any needed data from the old attribute to the new one.
1237
+ # @param attribute_id
1224
1238
  # @param body
1225
1239
  # @param [Hash] opts the optional parameters
1226
- # @return [nil]
1227
- describe 'set_account_limits test' do
1240
+ # @return [Attribute]
1241
+ describe 'update_attribute test' do
1228
1242
  it 'should work' do
1229
1243
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
1230
1244
  end
@@ -116,4 +116,10 @@ describe 'AccountAnalytics' do
116
116
  end
117
117
  end
118
118
 
119
+ describe 'test attribute "active_rules"' do
120
+ it 'should work' do
121
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
122
+ end
123
+ end
124
+
119
125
  end
@@ -92,6 +92,12 @@ describe 'AccountLimits' do
92
92
  end
93
93
  end
94
94
 
95
+ describe 'test attribute "active_rules"' do
96
+ it 'should work' do
97
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
98
+ end
99
+ end
100
+
95
101
  describe 'test attribute "promotion_types"' do
96
102
  it 'should work' do
97
103
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -102,6 +102,12 @@ describe 'Application' do
102
102
  end
103
103
  end
104
104
 
105
+ describe 'test attribute "attributes_settings"' do
106
+ it 'should work' do
107
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
108
+ end
109
+ end
110
+
105
111
  describe 'test attribute "key"' do
106
112
  it 'should work' do
107
113
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -0,0 +1,47 @@
1
+ =begin
2
+ #Talon.One API
3
+
4
+ #The Talon.One API is used to manage applications and campaigns, as well as to integrate with your application. The operations in the _Integration API_ section are used to integrate with our platform, while the other operations are used to manage applications and campaigns. ### Where is the API? The API is available at the same hostname as these docs. For example, if you are reading this page at `https://mycompany.talon.one/docs/api/`, the URL for the [updateCustomerProfile][] operation is `https://mycompany.talon.one/v1/customer_profiles/id` [updateCustomerProfile]: #operation--v1-customer_profiles--integrationId--put
5
+
6
+ OpenAPI spec version: 1.0.0
7
+
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.4.7
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for TalonOne::AttributesMandatory
18
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
19
+ # Please update as you see appropriate
20
+ describe 'AttributesMandatory' do
21
+ before do
22
+ # run before each test
23
+ @instance = TalonOne::AttributesMandatory.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of AttributesMandatory' do
31
+ it 'should create an instance of AttributesMandatory' do
32
+ expect(@instance).to be_instance_of(TalonOne::AttributesMandatory)
33
+ end
34
+ end
35
+ describe 'test attribute "campaigns"' 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 "coupons"' 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
+ end
@@ -0,0 +1,41 @@
1
+ =begin
2
+ #Talon.One API
3
+
4
+ #The Talon.One API is used to manage applications and campaigns, as well as to integrate with your application. The operations in the _Integration API_ section are used to integrate with our platform, while the other operations are used to manage applications and campaigns. ### Where is the API? The API is available at the same hostname as these docs. For example, if you are reading this page at `https://mycompany.talon.one/docs/api/`, the URL for the [updateCustomerProfile][] operation is `https://mycompany.talon.one/v1/customer_profiles/id` [updateCustomerProfile]: #operation--v1-customer_profiles--integrationId--put
5
+
6
+ OpenAPI spec version: 1.0.0
7
+
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.4.7
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for TalonOne::AttributesSettings
18
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
19
+ # Please update as you see appropriate
20
+ describe 'AttributesSettings' do
21
+ before do
22
+ # run before each test
23
+ @instance = TalonOne::AttributesSettings.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of AttributesSettings' do
31
+ it 'should create an instance of AttributesSettings' do
32
+ expect(@instance).to be_instance_of(TalonOne::AttributesSettings)
33
+ end
34
+ end
35
+ describe 'test attribute "mandatory"' 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
+ end
@@ -0,0 +1,83 @@
1
+ =begin
2
+ #Talon.One API
3
+
4
+ #The Talon.One API is used to manage applications and campaigns, as well as to integrate with your application. The operations in the _Integration API_ section are used to integrate with our platform, while the other operations are used to manage applications and campaigns. ### Where is the API? The API is available at the same hostname as these docs. For example, if you are reading this page at `https://mycompany.talon.one/docs/api/`, the URL for the [updateCustomerProfile][] operation is `https://mycompany.talon.one/v1/customer_profiles/id` [updateCustomerProfile]: #operation--v1-customer_profiles--integrationId--put
5
+
6
+ OpenAPI spec version: 1.0.0
7
+
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.4.7
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for TalonOne::BaseSamlConnection
18
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
19
+ # Please update as you see appropriate
20
+ describe 'BaseSamlConnection' do
21
+ before do
22
+ # run before each test
23
+ @instance = TalonOne::BaseSamlConnection.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of BaseSamlConnection' do
31
+ it 'should create an instance of BaseSamlConnection' do
32
+ expect(@instance).to be_instance_of(TalonOne::BaseSamlConnection)
33
+ end
34
+ end
35
+ describe 'test attribute "account_id"' do
36
+ it 'should work' do
37
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
+ end
39
+ end
40
+
41
+ describe 'test attribute "name"' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
+ end
45
+ end
46
+
47
+ describe 'test attribute "enabled"' do
48
+ it 'should work' do
49
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
50
+ end
51
+ end
52
+
53
+ describe 'test attribute "issuer"' do
54
+ it 'should work' do
55
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
56
+ end
57
+ end
58
+
59
+ describe 'test attribute "sign_on_url"' do
60
+ it 'should work' do
61
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
62
+ end
63
+ end
64
+
65
+ describe 'test attribute "sign_out_url"' do
66
+ it 'should work' do
67
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
68
+ end
69
+ end
70
+
71
+ describe 'test attribute "metadata_url"' do
72
+ it 'should work' do
73
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
74
+ end
75
+ end
76
+
77
+ describe 'test attribute "audience_uri"' do
78
+ it 'should work' do
79
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
80
+ end
81
+ end
82
+
83
+ end