onesignal 5.3.0 → 5.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (152) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +6 -0
  3. data/README.md +57 -186
  4. data/docs/CreateTemplateRequest.md +4 -0
  5. data/docs/DefaultApi.md +44 -44
  6. data/docs/UpdateTemplateRequest.md +4 -0
  7. data/lib/onesignal/api/default_api.rb +1 -1
  8. data/lib/onesignal/api_client.rb +2 -2
  9. data/lib/onesignal/api_error.rb +1 -1
  10. data/lib/onesignal/configuration.rb +4 -5
  11. data/lib/onesignal/models/api_key_token.rb +1 -1
  12. data/lib/onesignal/models/api_key_tokens_list_response.rb +1 -1
  13. data/lib/onesignal/models/app.rb +1 -1
  14. data/lib/onesignal/models/basic_notification.rb +3 -1
  15. data/lib/onesignal/models/basic_notification_all_of.rb +3 -1
  16. data/lib/onesignal/models/basic_notification_all_of_android_background_layout.rb +1 -1
  17. data/lib/onesignal/models/button.rb +1 -1
  18. data/lib/onesignal/models/copy_template_request.rb +1 -1
  19. data/lib/onesignal/models/create_api_key_request.rb +1 -1
  20. data/lib/onesignal/models/create_api_key_response.rb +1 -1
  21. data/lib/onesignal/models/create_notification_success_response.rb +1 -1
  22. data/lib/onesignal/models/create_segment_conflict_response.rb +1 -1
  23. data/lib/onesignal/models/create_segment_success_response.rb +1 -1
  24. data/lib/onesignal/models/create_template_request.rb +20 -2
  25. data/lib/onesignal/models/create_user_conflict_response.rb +1 -1
  26. data/lib/onesignal/models/create_user_conflict_response_errors_inner.rb +1 -1
  27. data/lib/onesignal/models/create_user_conflict_response_errors_items_meta.rb +1 -1
  28. data/lib/onesignal/models/custom_event.rb +1 -1
  29. data/lib/onesignal/models/custom_events_request.rb +1 -1
  30. data/lib/onesignal/models/delivery_data.rb +1 -1
  31. data/lib/onesignal/models/export_events_success_response.rb +1 -1
  32. data/lib/onesignal/models/export_subscriptions_request_body.rb +1 -1
  33. data/lib/onesignal/models/export_subscriptions_success_response.rb +1 -1
  34. data/lib/onesignal/models/filter.rb +1 -1
  35. data/lib/onesignal/models/filter_expression.rb +1 -1
  36. data/lib/onesignal/models/generic_error.rb +1 -1
  37. data/lib/onesignal/models/generic_success_bool_response.rb +1 -1
  38. data/lib/onesignal/models/get_notification_history_request_body.rb +1 -1
  39. data/lib/onesignal/models/get_segments_success_response.rb +1 -1
  40. data/lib/onesignal/models/language_string_map.rb +1 -1
  41. data/lib/onesignal/models/notification.rb +3 -1
  42. data/lib/onesignal/models/notification_all_of.rb +1 -1
  43. data/lib/onesignal/models/notification_history_success_response.rb +1 -1
  44. data/lib/onesignal/models/notification_slice.rb +1 -1
  45. data/lib/onesignal/models/notification_target.rb +1 -1
  46. data/lib/onesignal/models/notification_with_meta.rb +3 -1
  47. data/lib/onesignal/models/notification_with_meta_all_of.rb +1 -1
  48. data/lib/onesignal/models/operator.rb +1 -1
  49. data/lib/onesignal/models/outcome_data.rb +1 -1
  50. data/lib/onesignal/models/outcomes_data.rb +1 -1
  51. data/lib/onesignal/models/platform_delivery_data.rb +1 -1
  52. data/lib/onesignal/models/platform_delivery_data_email_all_of.rb +1 -1
  53. data/lib/onesignal/models/platform_delivery_data_sms_all_of.rb +1 -1
  54. data/lib/onesignal/models/properties_body.rb +1 -1
  55. data/lib/onesignal/models/properties_deltas.rb +1 -1
  56. data/lib/onesignal/models/properties_object.rb +1 -1
  57. data/lib/onesignal/models/purchase.rb +1 -1
  58. data/lib/onesignal/models/rate_limit_error.rb +1 -1
  59. data/lib/onesignal/models/segment.rb +1 -1
  60. data/lib/onesignal/models/segment_data.rb +1 -1
  61. data/lib/onesignal/models/segment_notification_target.rb +1 -1
  62. data/lib/onesignal/models/start_live_activity_request.rb +1 -1
  63. data/lib/onesignal/models/start_live_activity_success_response.rb +1 -1
  64. data/lib/onesignal/models/subscription.rb +1 -1
  65. data/lib/onesignal/models/subscription_body.rb +1 -1
  66. data/lib/onesignal/models/subscription_notification_target.rb +1 -1
  67. data/lib/onesignal/models/template_resource.rb +1 -1
  68. data/lib/onesignal/models/templates_list_response.rb +1 -1
  69. data/lib/onesignal/models/transfer_subscription_request_body.rb +1 -1
  70. data/lib/onesignal/models/update_api_key_request.rb +1 -1
  71. data/lib/onesignal/models/update_live_activity_request.rb +1 -1
  72. data/lib/onesignal/models/update_live_activity_success_response.rb +1 -1
  73. data/lib/onesignal/models/update_template_request.rb +20 -2
  74. data/lib/onesignal/models/update_user_request.rb +1 -1
  75. data/lib/onesignal/models/user.rb +1 -1
  76. data/lib/onesignal/models/user_identity_body.rb +1 -1
  77. data/lib/onesignal/models/web_button.rb +1 -1
  78. data/lib/onesignal/version.rb +2 -2
  79. data/lib/onesignal.rb +1 -1
  80. data/onesignal.gemspec +1 -1
  81. data/spec/api/default_api_spec.rb +1 -1
  82. data/spec/api_client_spec.rb +1 -1
  83. data/spec/configuration_spec.rb +1 -1
  84. data/spec/models/api_key_token_spec.rb +1 -1
  85. data/spec/models/api_key_tokens_list_response_spec.rb +1 -1
  86. data/spec/models/app_spec.rb +1 -1
  87. data/spec/models/basic_notification_all_of_android_background_layout_spec.rb +1 -1
  88. data/spec/models/basic_notification_all_of_spec.rb +1 -1
  89. data/spec/models/basic_notification_spec.rb +1 -1
  90. data/spec/models/button_spec.rb +1 -1
  91. data/spec/models/copy_template_request_spec.rb +1 -1
  92. data/spec/models/create_api_key_request_spec.rb +1 -1
  93. data/spec/models/create_api_key_response_spec.rb +1 -1
  94. data/spec/models/create_notification_success_response_spec.rb +1 -1
  95. data/spec/models/create_segment_conflict_response_spec.rb +1 -1
  96. data/spec/models/create_segment_success_response_spec.rb +1 -1
  97. data/spec/models/create_template_request_spec.rb +13 -1
  98. data/spec/models/create_user_conflict_response_errors_inner_spec.rb +1 -1
  99. data/spec/models/create_user_conflict_response_errors_items_meta_spec.rb +1 -1
  100. data/spec/models/create_user_conflict_response_spec.rb +1 -1
  101. data/spec/models/custom_event_spec.rb +1 -1
  102. data/spec/models/custom_events_request_spec.rb +1 -1
  103. data/spec/models/delivery_data_spec.rb +1 -1
  104. data/spec/models/export_events_success_response_spec.rb +1 -1
  105. data/spec/models/export_subscriptions_request_body_spec.rb +1 -1
  106. data/spec/models/export_subscriptions_success_response_spec.rb +1 -1
  107. data/spec/models/filter_expression_spec.rb +1 -1
  108. data/spec/models/filter_spec.rb +1 -1
  109. data/spec/models/generic_error_spec.rb +1 -1
  110. data/spec/models/generic_success_bool_response_spec.rb +1 -1
  111. data/spec/models/get_notification_history_request_body_spec.rb +1 -1
  112. data/spec/models/get_segments_success_response_spec.rb +1 -1
  113. data/spec/models/language_string_map_spec.rb +1 -1
  114. data/spec/models/notification_all_of_spec.rb +1 -1
  115. data/spec/models/notification_history_success_response_spec.rb +1 -1
  116. data/spec/models/notification_slice_spec.rb +1 -1
  117. data/spec/models/notification_spec.rb +1 -1
  118. data/spec/models/notification_target_spec.rb +1 -1
  119. data/spec/models/notification_with_meta_all_of_spec.rb +1 -1
  120. data/spec/models/notification_with_meta_spec.rb +1 -1
  121. data/spec/models/operator_spec.rb +1 -1
  122. data/spec/models/outcome_data_spec.rb +1 -1
  123. data/spec/models/outcomes_data_spec.rb +1 -1
  124. data/spec/models/platform_delivery_data_email_all_of_spec.rb +1 -1
  125. data/spec/models/platform_delivery_data_sms_all_of_spec.rb +1 -1
  126. data/spec/models/platform_delivery_data_spec.rb +1 -1
  127. data/spec/models/properties_body_spec.rb +1 -1
  128. data/spec/models/properties_deltas_spec.rb +1 -1
  129. data/spec/models/properties_object_spec.rb +1 -1
  130. data/spec/models/purchase_spec.rb +1 -1
  131. data/spec/models/rate_limit_error_spec.rb +1 -1
  132. data/spec/models/segment_data_spec.rb +1 -1
  133. data/spec/models/segment_notification_target_spec.rb +1 -1
  134. data/spec/models/segment_spec.rb +1 -1
  135. data/spec/models/start_live_activity_request_spec.rb +1 -1
  136. data/spec/models/start_live_activity_success_response_spec.rb +1 -1
  137. data/spec/models/subscription_body_spec.rb +1 -1
  138. data/spec/models/subscription_notification_target_spec.rb +1 -1
  139. data/spec/models/subscription_spec.rb +1 -1
  140. data/spec/models/template_resource_spec.rb +1 -1
  141. data/spec/models/templates_list_response_spec.rb +1 -1
  142. data/spec/models/transfer_subscription_request_body_spec.rb +1 -1
  143. data/spec/models/update_api_key_request_spec.rb +1 -1
  144. data/spec/models/update_live_activity_request_spec.rb +1 -1
  145. data/spec/models/update_live_activity_success_response_spec.rb +1 -1
  146. data/spec/models/update_template_request_spec.rb +13 -1
  147. data/spec/models/update_user_request_spec.rb +1 -1
  148. data/spec/models/user_identity_body_spec.rb +1 -1
  149. data/spec/models/user_spec.rb +1 -1
  150. data/spec/models/web_button_spec.rb +1 -1
  151. data/spec/spec_helper.rb +1 -1
  152. metadata +1 -1
data/docs/DefaultApi.md CHANGED
@@ -113,7 +113,7 @@ end
113
113
 
114
114
  ### Authorization
115
115
 
116
- [rest_api_key](../README.md#rest_api_key)
116
+ [rest_api_key](https://github.com/OneSignal/onesignal-ruby-api#configuration)
117
117
 
118
118
  ### HTTP request headers
119
119
 
@@ -186,7 +186,7 @@ end
186
186
 
187
187
  ### Authorization
188
188
 
189
- [organization_api_key](../README.md#organization_api_key)
189
+ [organization_api_key](https://github.com/OneSignal/onesignal-ruby-api#configuration)
190
190
 
191
191
  ### HTTP request headers
192
192
 
@@ -261,7 +261,7 @@ end
261
261
 
262
262
  ### Authorization
263
263
 
264
- [rest_api_key](../README.md#rest_api_key)
264
+ [rest_api_key](https://github.com/OneSignal/onesignal-ruby-api#configuration)
265
265
 
266
266
  ### HTTP request headers
267
267
 
@@ -334,7 +334,7 @@ end
334
334
 
335
335
  ### Authorization
336
336
 
337
- [rest_api_key](../README.md#rest_api_key)
337
+ [rest_api_key](https://github.com/OneSignal/onesignal-ruby-api#configuration)
338
338
 
339
339
  ### HTTP request headers
340
340
 
@@ -405,7 +405,7 @@ end
405
405
 
406
406
  ### Authorization
407
407
 
408
- [organization_api_key](../README.md#organization_api_key)
408
+ [organization_api_key](https://github.com/OneSignal/onesignal-ruby-api#configuration)
409
409
 
410
410
  ### HTTP request headers
411
411
 
@@ -474,7 +474,7 @@ end
474
474
 
475
475
  ### Authorization
476
476
 
477
- [organization_api_key](../README.md#organization_api_key)
477
+ [organization_api_key](https://github.com/OneSignal/onesignal-ruby-api#configuration)
478
478
 
479
479
  ### HTTP request headers
480
480
 
@@ -545,7 +545,7 @@ end
545
545
 
546
546
  ### Authorization
547
547
 
548
- [rest_api_key](../README.md#rest_api_key)
548
+ [rest_api_key](https://github.com/OneSignal/onesignal-ruby-api#configuration)
549
549
 
550
550
  ### HTTP request headers
551
551
 
@@ -614,7 +614,7 @@ end
614
614
 
615
615
  ### Authorization
616
616
 
617
- [rest_api_key](../README.md#rest_api_key)
617
+ [rest_api_key](https://github.com/OneSignal/onesignal-ruby-api#configuration)
618
618
 
619
619
  ### HTTP request headers
620
620
 
@@ -687,7 +687,7 @@ end
687
687
 
688
688
  ### Authorization
689
689
 
690
- [rest_api_key](../README.md#rest_api_key)
690
+ [rest_api_key](https://github.com/OneSignal/onesignal-ruby-api#configuration)
691
691
 
692
692
  ### HTTP request headers
693
693
 
@@ -762,7 +762,7 @@ end
762
762
 
763
763
  ### Authorization
764
764
 
765
- [rest_api_key](../README.md#rest_api_key)
765
+ [rest_api_key](https://github.com/OneSignal/onesignal-ruby-api#configuration)
766
766
 
767
767
  ### HTTP request headers
768
768
 
@@ -831,7 +831,7 @@ end
831
831
 
832
832
  ### Authorization
833
833
 
834
- [rest_api_key](../README.md#rest_api_key)
834
+ [rest_api_key](https://github.com/OneSignal/onesignal-ruby-api#configuration)
835
835
 
836
836
  ### HTTP request headers
837
837
 
@@ -902,7 +902,7 @@ end
902
902
 
903
903
  ### Authorization
904
904
 
905
- [rest_api_key](../README.md#rest_api_key)
905
+ [rest_api_key](https://github.com/OneSignal/onesignal-ruby-api#configuration)
906
906
 
907
907
  ### HTTP request headers
908
908
 
@@ -977,7 +977,7 @@ end
977
977
 
978
978
  ### Authorization
979
979
 
980
- [rest_api_key](../README.md#rest_api_key)
980
+ [rest_api_key](https://github.com/OneSignal/onesignal-ruby-api#configuration)
981
981
 
982
982
  ### HTTP request headers
983
983
 
@@ -1048,7 +1048,7 @@ end
1048
1048
 
1049
1049
  ### Authorization
1050
1050
 
1051
- [organization_api_key](../README.md#organization_api_key)
1051
+ [organization_api_key](https://github.com/OneSignal/onesignal-ruby-api#configuration)
1052
1052
 
1053
1053
  ### HTTP request headers
1054
1054
 
@@ -1119,7 +1119,7 @@ end
1119
1119
 
1120
1120
  ### Authorization
1121
1121
 
1122
- [rest_api_key](../README.md#rest_api_key)
1122
+ [rest_api_key](https://github.com/OneSignal/onesignal-ruby-api#configuration)
1123
1123
 
1124
1124
  ### HTTP request headers
1125
1125
 
@@ -1189,7 +1189,7 @@ nil (empty response body)
1189
1189
 
1190
1190
  ### Authorization
1191
1191
 
1192
- [rest_api_key](../README.md#rest_api_key)
1192
+ [rest_api_key](https://github.com/OneSignal/onesignal-ruby-api#configuration)
1193
1193
 
1194
1194
  ### HTTP request headers
1195
1195
 
@@ -1260,7 +1260,7 @@ end
1260
1260
 
1261
1261
  ### Authorization
1262
1262
 
1263
- [rest_api_key](../README.md#rest_api_key)
1263
+ [rest_api_key](https://github.com/OneSignal/onesignal-ruby-api#configuration)
1264
1264
 
1265
1265
  ### HTTP request headers
1266
1266
 
@@ -1332,7 +1332,7 @@ nil (empty response body)
1332
1332
 
1333
1333
  ### Authorization
1334
1334
 
1335
- [rest_api_key](../README.md#rest_api_key)
1335
+ [rest_api_key](https://github.com/OneSignal/onesignal-ruby-api#configuration)
1336
1336
 
1337
1337
  ### HTTP request headers
1338
1338
 
@@ -1403,7 +1403,7 @@ end
1403
1403
 
1404
1404
  ### Authorization
1405
1405
 
1406
- [rest_api_key](../README.md#rest_api_key)
1406
+ [rest_api_key](https://github.com/OneSignal/onesignal-ruby-api#configuration)
1407
1407
 
1408
1408
  ### HTTP request headers
1409
1409
 
@@ -1476,7 +1476,7 @@ end
1476
1476
 
1477
1477
  ### Authorization
1478
1478
 
1479
- [rest_api_key](../README.md#rest_api_key)
1479
+ [rest_api_key](https://github.com/OneSignal/onesignal-ruby-api#configuration)
1480
1480
 
1481
1481
  ### HTTP request headers
1482
1482
 
@@ -1549,7 +1549,7 @@ end
1549
1549
 
1550
1550
  ### Authorization
1551
1551
 
1552
- [rest_api_key](../README.md#rest_api_key)
1552
+ [rest_api_key](https://github.com/OneSignal/onesignal-ruby-api#configuration)
1553
1553
 
1554
1554
  ### HTTP request headers
1555
1555
 
@@ -1620,7 +1620,7 @@ end
1620
1620
 
1621
1621
  ### Authorization
1622
1622
 
1623
- [rest_api_key](../README.md#rest_api_key)
1623
+ [rest_api_key](https://github.com/OneSignal/onesignal-ruby-api#configuration)
1624
1624
 
1625
1625
  ### HTTP request headers
1626
1626
 
@@ -1689,7 +1689,7 @@ end
1689
1689
 
1690
1690
  ### Authorization
1691
1691
 
1692
- [organization_api_key](../README.md#organization_api_key)
1692
+ [organization_api_key](https://github.com/OneSignal/onesignal-ruby-api#configuration)
1693
1693
 
1694
1694
  ### HTTP request headers
1695
1695
 
@@ -1755,7 +1755,7 @@ This endpoint does not need any parameter.
1755
1755
 
1756
1756
  ### Authorization
1757
1757
 
1758
- [organization_api_key](../README.md#organization_api_key)
1758
+ [organization_api_key](https://github.com/OneSignal/onesignal-ruby-api#configuration)
1759
1759
 
1760
1760
  ### HTTP request headers
1761
1761
 
@@ -1826,7 +1826,7 @@ end
1826
1826
 
1827
1827
  ### Authorization
1828
1828
 
1829
- [rest_api_key](../README.md#rest_api_key)
1829
+ [rest_api_key](https://github.com/OneSignal/onesignal-ruby-api#configuration)
1830
1830
 
1831
1831
  ### HTTP request headers
1832
1832
 
@@ -1897,7 +1897,7 @@ end
1897
1897
 
1898
1898
  ### Authorization
1899
1899
 
1900
- [rest_api_key](../README.md#rest_api_key)
1900
+ [rest_api_key](https://github.com/OneSignal/onesignal-ruby-api#configuration)
1901
1901
 
1902
1902
  ### HTTP request headers
1903
1903
 
@@ -1974,7 +1974,7 @@ end
1974
1974
 
1975
1975
  ### Authorization
1976
1976
 
1977
- [rest_api_key](../README.md#rest_api_key)
1977
+ [rest_api_key](https://github.com/OneSignal/onesignal-ruby-api#configuration)
1978
1978
 
1979
1979
  ### HTTP request headers
1980
1980
 
@@ -2055,7 +2055,7 @@ end
2055
2055
 
2056
2056
  ### Authorization
2057
2057
 
2058
- [rest_api_key](../README.md#rest_api_key)
2058
+ [rest_api_key](https://github.com/OneSignal/onesignal-ruby-api#configuration)
2059
2059
 
2060
2060
  ### HTTP request headers
2061
2061
 
@@ -2130,7 +2130,7 @@ end
2130
2130
 
2131
2131
  ### Authorization
2132
2132
 
2133
- [rest_api_key](../README.md#rest_api_key)
2133
+ [rest_api_key](https://github.com/OneSignal/onesignal-ruby-api#configuration)
2134
2134
 
2135
2135
  ### HTTP request headers
2136
2136
 
@@ -2203,7 +2203,7 @@ end
2203
2203
 
2204
2204
  ### Authorization
2205
2205
 
2206
- [rest_api_key](../README.md#rest_api_key)
2206
+ [rest_api_key](https://github.com/OneSignal/onesignal-ruby-api#configuration)
2207
2207
 
2208
2208
  ### HTTP request headers
2209
2209
 
@@ -2274,7 +2274,7 @@ end
2274
2274
 
2275
2275
  ### Authorization
2276
2276
 
2277
- [organization_api_key](../README.md#organization_api_key)
2277
+ [organization_api_key](https://github.com/OneSignal/onesignal-ruby-api#configuration)
2278
2278
 
2279
2279
  ### HTTP request headers
2280
2280
 
@@ -2347,7 +2347,7 @@ end
2347
2347
 
2348
2348
  ### Authorization
2349
2349
 
2350
- [rest_api_key](../README.md#rest_api_key)
2350
+ [rest_api_key](https://github.com/OneSignal/onesignal-ruby-api#configuration)
2351
2351
 
2352
2352
  ### HTTP request headers
2353
2353
 
@@ -2420,7 +2420,7 @@ end
2420
2420
 
2421
2421
  ### Authorization
2422
2422
 
2423
- [rest_api_key](../README.md#rest_api_key)
2423
+ [rest_api_key](https://github.com/OneSignal/onesignal-ruby-api#configuration)
2424
2424
 
2425
2425
  ### HTTP request headers
2426
2426
 
@@ -2493,7 +2493,7 @@ end
2493
2493
 
2494
2494
  ### Authorization
2495
2495
 
2496
- [rest_api_key](../README.md#rest_api_key)
2496
+ [rest_api_key](https://github.com/OneSignal/onesignal-ruby-api#configuration)
2497
2497
 
2498
2498
  ### HTTP request headers
2499
2499
 
@@ -2566,7 +2566,7 @@ end
2566
2566
 
2567
2567
  ### Authorization
2568
2568
 
2569
- [organization_api_key](../README.md#organization_api_key)
2569
+ [organization_api_key](https://github.com/OneSignal/onesignal-ruby-api#configuration)
2570
2570
 
2571
2571
  ### HTTP request headers
2572
2572
 
@@ -2637,7 +2637,7 @@ end
2637
2637
 
2638
2638
  ### Authorization
2639
2639
 
2640
- [organization_api_key](../README.md#organization_api_key)
2640
+ [organization_api_key](https://github.com/OneSignal/onesignal-ruby-api#configuration)
2641
2641
 
2642
2642
  ### HTTP request headers
2643
2643
 
@@ -2710,7 +2710,7 @@ end
2710
2710
 
2711
2711
  ### Authorization
2712
2712
 
2713
- [rest_api_key](../README.md#rest_api_key)
2713
+ [rest_api_key](https://github.com/OneSignal/onesignal-ruby-api#configuration)
2714
2714
 
2715
2715
  ### HTTP request headers
2716
2716
 
@@ -2782,7 +2782,7 @@ nil (empty response body)
2782
2782
 
2783
2783
  ### Authorization
2784
2784
 
2785
- [rest_api_key](../README.md#rest_api_key)
2785
+ [rest_api_key](https://github.com/OneSignal/onesignal-ruby-api#configuration)
2786
2786
 
2787
2787
  ### HTTP request headers
2788
2788
 
@@ -2857,7 +2857,7 @@ end
2857
2857
 
2858
2858
  ### Authorization
2859
2859
 
2860
- [rest_api_key](../README.md#rest_api_key)
2860
+ [rest_api_key](https://github.com/OneSignal/onesignal-ruby-api#configuration)
2861
2861
 
2862
2862
  ### HTTP request headers
2863
2863
 
@@ -2930,7 +2930,7 @@ end
2930
2930
 
2931
2931
  ### Authorization
2932
2932
 
2933
- [rest_api_key](../README.md#rest_api_key)
2933
+ [rest_api_key](https://github.com/OneSignal/onesignal-ruby-api#configuration)
2934
2934
 
2935
2935
  ### HTTP request headers
2936
2936
 
@@ -3005,7 +3005,7 @@ end
3005
3005
 
3006
3006
  ### Authorization
3007
3007
 
3008
- [rest_api_key](../README.md#rest_api_key)
3008
+ [rest_api_key](https://github.com/OneSignal/onesignal-ruby-api#configuration)
3009
3009
 
3010
3010
  ### HTTP request headers
3011
3011
 
@@ -3074,7 +3074,7 @@ end
3074
3074
 
3075
3075
  ### Authorization
3076
3076
 
3077
- [organization_api_key](../README.md#organization_api_key)
3077
+ [organization_api_key](https://github.com/OneSignal/onesignal-ruby-api#configuration)
3078
3078
 
3079
3079
  ### HTTP request headers
3080
3080
 
@@ -3145,7 +3145,7 @@ end
3145
3145
 
3146
3146
  ### Authorization
3147
3147
 
3148
- [rest_api_key](../README.md#rest_api_key)
3148
+ [rest_api_key](https://github.com/OneSignal/onesignal-ruby-api#configuration)
3149
3149
 
3150
3150
  ### HTTP request headers
3151
3151
 
@@ -3222,7 +3222,7 @@ end
3222
3222
 
3223
3223
  ### Authorization
3224
3224
 
3225
- [rest_api_key](../README.md#rest_api_key)
3225
+ [rest_api_key](https://github.com/OneSignal/onesignal-ruby-api#configuration)
3226
3226
 
3227
3227
  ### HTTP request headers
3228
3228
 
@@ -6,6 +6,8 @@
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **name** | **String** | Updated name of the template. | [optional] |
8
8
  | **contents** | [**LanguageStringMap**](LanguageStringMap.md) | | [optional] |
9
+ | **headings** | [**LanguageStringMap**](LanguageStringMap.md) | | [optional] |
10
+ | **subtitle** | [**LanguageStringMap**](LanguageStringMap.md) | | [optional] |
9
11
  | **is_email** | **Boolean** | Set true for an Email template. | [optional] |
10
12
  | **email_subject** | **String** | Subject of the email. | [optional] |
11
13
  | **email_body** | **String** | Body of the email (HTML supported). | [optional] |
@@ -20,6 +22,8 @@ require 'onesignal'
20
22
  instance = OneSignal::UpdateTemplateRequest.new(
21
23
  name: null,
22
24
  contents: null,
25
+ headings: null,
26
+ subtitle: null,
23
27
  is_email: null,
24
28
  email_subject: null,
25
29
  email_body: null,
@@ -3,7 +3,7 @@
3
3
 
4
4
  #A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
5
5
 
6
- The version of the OpenAPI document: 5.3.0
6
+ The version of the OpenAPI document: 5.4.0
7
7
  Contact: devrel@onesignal.com
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 6.0.0-SNAPSHOT
@@ -3,7 +3,7 @@
3
3
 
4
4
  #A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
5
5
 
6
- The version of the OpenAPI document: 5.3.0
6
+ The version of the OpenAPI document: 5.4.0
7
7
  Contact: devrel@onesignal.com
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 6.0.0-SNAPSHOT
@@ -90,7 +90,7 @@ module OneSignal
90
90
  url = build_request_url(path, opts)
91
91
  http_method = http_method.to_sym.downcase
92
92
 
93
- opts[:header_params]['OS-Usage-Data'] = 'kind=sdk, sdk-name=onesignal-ruby, version=5.3.0'
93
+ opts[:header_params]['OS-Usage-Data'] = 'kind=sdk, sdk-name=onesignal-ruby, version=5.4.0'
94
94
  header_params = @default_headers.merge(opts[:header_params] || {})
95
95
  query_params = opts[:query_params] || {}
96
96
  form_params = opts[:form_params] || {}
@@ -3,7 +3,7 @@
3
3
 
4
4
  #A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
5
5
 
6
- The version of the OpenAPI document: 5.3.0
6
+ The version of the OpenAPI document: 5.4.0
7
7
  Contact: devrel@onesignal.com
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 6.0.0-SNAPSHOT
@@ -3,7 +3,7 @@
3
3
 
4
4
  #A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
5
5
 
6
- The version of the OpenAPI document: 5.3.0
6
+ The version of the OpenAPI document: 5.4.0
7
7
  Contact: devrel@onesignal.com
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 6.0.0-SNAPSHOT
@@ -33,11 +33,10 @@ module OneSignal
33
33
  # Default server operation variables
34
34
  attr_accessor :server_operation_variables
35
35
 
36
- # OneSignal API token for App Authentication
37
- attr_accessor :app_key
36
+ attr_accessor :organization_api_key
37
+
38
+ attr_accessor :rest_api_key
38
39
 
39
- # OneSignal API token for User Authentication
40
- attr_accessor :user_key
41
40
 
42
41
  # Set this to enable/disable debugging. When enabled (set to true), HTTP request/response
43
42
  # details will be logged with `logger.debug` (see the `logger` attribute).
@@ -3,7 +3,7 @@
3
3
 
4
4
  #A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
5
5
 
6
- The version of the OpenAPI document: 5.3.0
6
+ The version of the OpenAPI document: 5.4.0
7
7
  Contact: devrel@onesignal.com
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 6.0.0-SNAPSHOT
@@ -3,7 +3,7 @@
3
3
 
4
4
  #A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
5
5
 
6
- The version of the OpenAPI document: 5.3.0
6
+ The version of the OpenAPI document: 5.4.0
7
7
  Contact: devrel@onesignal.com
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 6.0.0-SNAPSHOT
@@ -3,7 +3,7 @@
3
3
 
4
4
  #A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
5
5
 
6
- The version of the OpenAPI document: 5.3.0
6
+ The version of the OpenAPI document: 5.4.0
7
7
  Contact: devrel@onesignal.com
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 6.0.0-SNAPSHOT
@@ -3,7 +3,7 @@
3
3
 
4
4
  #A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
5
5
 
6
- The version of the OpenAPI document: 5.3.0
6
+ The version of the OpenAPI document: 5.4.0
7
7
  Contact: devrel@onesignal.com
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 6.0.0-SNAPSHOT
@@ -653,7 +653,9 @@ module OneSignal
653
653
  :'buttons',
654
654
  :'web_buttons',
655
655
  :'ios_category',
656
+ :'android_channel_id',
656
657
  :'huawei_channel_id',
658
+ :'existing_android_channel_id',
657
659
  :'huawei_existing_channel_id',
658
660
  :'small_icon',
659
661
  :'huawei_small_icon',
@@ -3,7 +3,7 @@
3
3
 
4
4
  #A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
5
5
 
6
- The version of the OpenAPI document: 5.3.0
6
+ The version of the OpenAPI document: 5.4.0
7
7
  Contact: devrel@onesignal.com
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 6.0.0-SNAPSHOT
@@ -587,7 +587,9 @@ module OneSignal
587
587
  :'buttons',
588
588
  :'web_buttons',
589
589
  :'ios_category',
590
+ :'android_channel_id',
590
591
  :'huawei_channel_id',
592
+ :'existing_android_channel_id',
591
593
  :'huawei_existing_channel_id',
592
594
  :'small_icon',
593
595
  :'huawei_small_icon',
@@ -3,7 +3,7 @@
3
3
 
4
4
  #A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
5
5
 
6
- The version of the OpenAPI document: 5.3.0
6
+ The version of the OpenAPI document: 5.4.0
7
7
  Contact: devrel@onesignal.com
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 6.0.0-SNAPSHOT
@@ -3,7 +3,7 @@
3
3
 
4
4
  #A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
5
5
 
6
- The version of the OpenAPI document: 5.3.0
6
+ The version of the OpenAPI document: 5.4.0
7
7
  Contact: devrel@onesignal.com
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 6.0.0-SNAPSHOT
@@ -3,7 +3,7 @@
3
3
 
4
4
  #A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
5
5
 
6
- The version of the OpenAPI document: 5.3.0
6
+ The version of the OpenAPI document: 5.4.0
7
7
  Contact: devrel@onesignal.com
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 6.0.0-SNAPSHOT
@@ -3,7 +3,7 @@
3
3
 
4
4
  #A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
5
5
 
6
- The version of the OpenAPI document: 5.3.0
6
+ The version of the OpenAPI document: 5.4.0
7
7
  Contact: devrel@onesignal.com
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 6.0.0-SNAPSHOT
@@ -3,7 +3,7 @@
3
3
 
4
4
  #A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
5
5
 
6
- The version of the OpenAPI document: 5.3.0
6
+ The version of the OpenAPI document: 5.4.0
7
7
  Contact: devrel@onesignal.com
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 6.0.0-SNAPSHOT
@@ -3,7 +3,7 @@
3
3
 
4
4
  #A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
5
5
 
6
- The version of the OpenAPI document: 5.3.0
6
+ The version of the OpenAPI document: 5.4.0
7
7
  Contact: devrel@onesignal.com
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 6.0.0-SNAPSHOT
@@ -3,7 +3,7 @@
3
3
 
4
4
  #A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
5
5
 
6
- The version of the OpenAPI document: 5.3.0
6
+ The version of the OpenAPI document: 5.4.0
7
7
  Contact: devrel@onesignal.com
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 6.0.0-SNAPSHOT
@@ -3,7 +3,7 @@
3
3
 
4
4
  #A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
5
5
 
6
- The version of the OpenAPI document: 5.3.0
6
+ The version of the OpenAPI document: 5.4.0
7
7
  Contact: devrel@onesignal.com
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 6.0.0-SNAPSHOT