Skip to content

Commit b0a64d8

Browse files
authored
Merge pull request #17 from OneSignal/api
Add v2.1.0 package updates
2 parents 319980e + f517c12 commit b0a64d8

File tree

76 files changed

+121
-118
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

76 files changed

+121
-118
lines changed

Diff for: Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "onesignal-rust-api"
3-
version = "2.0.2"
3+
version = "2.1.0"
44
authors = ["[email protected]"]
55
edition = "2018"
66
description = "A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com"

Diff for: README.md

+3-3

Diff for: docs/DefaultApi.md

+2-2

Diff for: src/apis/configuration.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*
44
* A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
55
*
6-
* The version of the OpenAPI document: 1.2.2
6+
* The version of the OpenAPI document: 1.3.0
77
* Contact: [email protected]
88
* Generated by: https://openapi-generator.tech
99
*/
@@ -44,8 +44,8 @@ impl Configuration {
4444
impl Default for Configuration {
4545
fn default() -> Self {
4646
Configuration {
47-
base_path: "https://onesignal.com/api/v1".to_owned(),
48-
user_agent: Some("OpenAPI-Generator/1.2.2/rust".to_owned()),
47+
base_path: "https://api.onesignal.com".to_owned(),
48+
user_agent: Some("OpenAPI-Generator/1.3.0/rust".to_owned()),
4949
client: reqwest::Client::new(),
5050
basic_auth: None,
5151
oauth_access_token: None,

Diff for: src/apis/default_api.rs

+41-38
Large diffs are not rendered by default.

Diff for: src/models/app.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*
44
* A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
55
*
6-
* The version of the OpenAPI document: 1.2.2
6+
* The version of the OpenAPI document: 1.3.0
77
* Contact: [email protected]
88
* Generated by: https://openapi-generator.tech
99
*/

Diff for: src/models/basic_notification.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*
44
* A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
55
*
6-
* The version of the OpenAPI document: 1.2.2
6+
* The version of the OpenAPI document: 1.3.0
77
* Contact: [email protected]
88
* Generated by: https://openapi-generator.tech
99
*/

Diff for: src/models/basic_notification_all_of.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*
44
* A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
55
*
6-
* The version of the OpenAPI document: 1.2.2
6+
* The version of the OpenAPI document: 1.3.0
77
* Contact: [email protected]
88
* Generated by: https://openapi-generator.tech
99
*/

Diff for: src/models/basic_notification_all_of_android_background_layout.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*
44
* A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
55
*
6-
* The version of the OpenAPI document: 1.2.2
6+
* The version of the OpenAPI document: 1.3.0
77
* Contact: [email protected]
88
* Generated by: https://openapi-generator.tech
99
*/

Diff for: src/models/begin_live_activity_request.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*
44
* A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
55
*
6-
* The version of the OpenAPI document: 1.2.2
6+
* The version of the OpenAPI document: 1.3.0
77
* Contact: [email protected]
88
* Generated by: https://openapi-generator.tech
99
*/

Diff for: src/models/button.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*
44
* A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
55
*
6-
* The version of the OpenAPI document: 1.2.2
6+
* The version of the OpenAPI document: 1.3.0
77
* Contact: [email protected]
88
* Generated by: https://openapi-generator.tech
99
*/

Diff for: src/models/cancel_notification_success_response.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*
44
* A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
55
*
6-
* The version of the OpenAPI document: 1.2.2
6+
* The version of the OpenAPI document: 1.3.0
77
* Contact: [email protected]
88
* Generated by: https://openapi-generator.tech
99
*/

Diff for: src/models/create_notification_success_response.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*
44
* A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
55
*
6-
* The version of the OpenAPI document: 1.2.2
6+
* The version of the OpenAPI document: 1.3.0
77
* Contact: [email protected]
88
* Generated by: https://openapi-generator.tech
99
*/

Diff for: src/models/create_player_success_response.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*
44
* A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
55
*
6-
* The version of the OpenAPI document: 1.2.2
6+
* The version of the OpenAPI document: 1.3.0
77
* Contact: [email protected]
88
* Generated by: https://openapi-generator.tech
99
*/

Diff for: src/models/create_segment_conflict_response.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*
44
* A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
55
*
6-
* The version of the OpenAPI document: 1.2.2
6+
* The version of the OpenAPI document: 1.3.0
77
* Contact: [email protected]
88
* Generated by: https://openapi-generator.tech
99
*/

Diff for: src/models/create_segment_success_response.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*
44
* A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
55
*
6-
* The version of the OpenAPI document: 1.2.2
6+
* The version of the OpenAPI document: 1.3.0
77
* Contact: [email protected]
88
* Generated by: https://openapi-generator.tech
99
*/

Diff for: src/models/create_subscription_request_body.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*
44
* A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
55
*
6-
* The version of the OpenAPI document: 1.2.2
6+
* The version of the OpenAPI document: 1.3.0
77
* Contact: [email protected]
88
* Generated by: https://openapi-generator.tech
99
*/

Diff for: src/models/create_user_conflict_response.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*
44
* A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
55
*
6-
* The version of the OpenAPI document: 1.2.2
6+
* The version of the OpenAPI document: 1.3.0
77
* Contact: [email protected]
88
* Generated by: https://openapi-generator.tech
99
*/

Diff for: src/models/create_user_conflict_response_errors_inner.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*
44
* A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
55
*
6-
* The version of the OpenAPI document: 1.2.2
6+
* The version of the OpenAPI document: 1.3.0
77
* Contact: [email protected]
88
* Generated by: https://openapi-generator.tech
99
*/

Diff for: src/models/create_user_conflict_response_errors_items_meta.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*
44
* A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
55
*
6-
* The version of the OpenAPI document: 1.2.2
6+
* The version of the OpenAPI document: 1.3.0
77
* Contact: [email protected]
88
* Generated by: https://openapi-generator.tech
99
*/

Diff for: src/models/delete_player_not_found_response.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*
44
* A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
55
*
6-
* The version of the OpenAPI document: 1.2.2
6+
* The version of the OpenAPI document: 1.3.0
77
* Contact: [email protected]
88
* Generated by: https://openapi-generator.tech
99
*/

Diff for: src/models/delete_player_success_response.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*
44
* A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
55
*
6-
* The version of the OpenAPI document: 1.2.2
6+
* The version of the OpenAPI document: 1.3.0
77
* Contact: [email protected]
88
* Generated by: https://openapi-generator.tech
99
*/

Diff for: src/models/delete_segment_not_found_response.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*
44
* A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
55
*
6-
* The version of the OpenAPI document: 1.2.2
6+
* The version of the OpenAPI document: 1.3.0
77
* Contact: [email protected]
88
* Generated by: https://openapi-generator.tech
99
*/

Diff for: src/models/delete_segment_success_response.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*
44
* A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
55
*
6-
* The version of the OpenAPI document: 1.2.2
6+
* The version of the OpenAPI document: 1.3.0
77
* Contact: [email protected]
88
* Generated by: https://openapi-generator.tech
99
*/

Diff for: src/models/delivery_data.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*
44
* A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
55
*
6-
* The version of the OpenAPI document: 1.2.2
6+
* The version of the OpenAPI document: 1.3.0
77
* Contact: [email protected]
88
* Generated by: https://openapi-generator.tech
99
*/

Diff for: src/models/export_events_success_response.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*
44
* A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
55
*
6-
* The version of the OpenAPI document: 1.2.2
6+
* The version of the OpenAPI document: 1.3.0
77
* Contact: [email protected]
88
* Generated by: https://openapi-generator.tech
99
*/

Diff for: src/models/export_players_request_body.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*
44
* A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
55
*
6-
* The version of the OpenAPI document: 1.2.2
6+
* The version of the OpenAPI document: 1.3.0
77
* Contact: [email protected]
88
* Generated by: https://openapi-generator.tech
99
*/

Diff for: src/models/export_players_success_response.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*
44
* A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
55
*
6-
* The version of the OpenAPI document: 1.2.2
6+
* The version of the OpenAPI document: 1.3.0
77
* Contact: [email protected]
88
* Generated by: https://openapi-generator.tech
99
*/

Diff for: src/models/filter.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*
44
* A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
55
*
6-
* The version of the OpenAPI document: 1.2.2
6+
* The version of the OpenAPI document: 1.3.0
77
* Contact: [email protected]
88
* Generated by: https://openapi-generator.tech
99
*/

Diff for: src/models/filter_expressions.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*
44
* A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
55
*
6-
* The version of the OpenAPI document: 1.2.2
6+
* The version of the OpenAPI document: 1.3.0
77
* Contact: [email protected]
88
* Generated by: https://openapi-generator.tech
99
*/

Diff for: src/models/generic_error.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*
44
* A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
55
*
6-
* The version of the OpenAPI document: 1.2.2
6+
* The version of the OpenAPI document: 1.3.0
77
* Contact: [email protected]
88
* Generated by: https://openapi-generator.tech
99
*/

Diff for: src/models/generic_error_errors_inner.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*
44
* A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
55
*
6-
* The version of the OpenAPI document: 1.2.2
6+
* The version of the OpenAPI document: 1.3.0
77
* Contact: [email protected]
88
* Generated by: https://openapi-generator.tech
99
*/

Diff for: src/models/get_notification_request_body.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*
44
* A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
55
*
6-
* The version of the OpenAPI document: 1.2.2
6+
* The version of the OpenAPI document: 1.3.0
77
* Contact: [email protected]
88
* Generated by: https://openapi-generator.tech
99
*/

Diff for: src/models/inline_response_200.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*
44
* A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
55
*
6-
* The version of the OpenAPI document: 1.2.2
6+
* The version of the OpenAPI document: 1.3.0
77
* Contact: [email protected]
88
* Generated by: https://openapi-generator.tech
99
*/

Diff for: src/models/inline_response_200_3.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*
44
* A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
55
*
6-
* The version of the OpenAPI document: 1.2.2
6+
* The version of the OpenAPI document: 1.3.0
77
* Contact: [email protected]
88
* Generated by: https://openapi-generator.tech
99
*/

Diff for: src/models/inline_response_201.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*
44
* A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
55
*
6-
* The version of the OpenAPI document: 1.2.2
6+
* The version of the OpenAPI document: 1.3.0
77
* Contact: [email protected]
88
* Generated by: https://openapi-generator.tech
99
*/

Diff for: src/models/inline_response_202.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*
44
* A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
55
*
6-
* The version of the OpenAPI document: 1.2.2
6+
* The version of the OpenAPI document: 1.3.0
77
* Contact: [email protected]
88
* Generated by: https://openapi-generator.tech
99
*/

Diff for: src/models/invalid_identifier_error.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*
44
* A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
55
*
6-
* The version of the OpenAPI document: 1.2.2
6+
* The version of the OpenAPI document: 1.3.0
77
* Contact: [email protected]
88
* Generated by: https://openapi-generator.tech
99
*/

Diff for: src/models/notification.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*
44
* A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
55
*
6-
* The version of the OpenAPI document: 1.2.2
6+
* The version of the OpenAPI document: 1.3.0
77
* Contact: [email protected]
88
* Generated by: https://openapi-generator.tech
99
*/

Diff for: src/models/notification200_errors.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*
44
* A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
55
*
6-
* The version of the OpenAPI document: 1.2.2
6+
* The version of the OpenAPI document: 1.3.0
77
* Contact: [email protected]
88
* Generated by: https://openapi-generator.tech
99
*/

Diff for: src/models/notification_all_of.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*
44
* A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
55
*
6-
* The version of the OpenAPI document: 1.2.2
6+
* The version of the OpenAPI document: 1.3.0
77
* Contact: [email protected]
88
* Generated by: https://openapi-generator.tech
99
*/

Diff for: src/models/notification_history_success_response.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*
44
* A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
55
*
6-
* The version of the OpenAPI document: 1.2.2
6+
* The version of the OpenAPI document: 1.3.0
77
* Contact: [email protected]
88
* Generated by: https://openapi-generator.tech
99
*/

0 commit comments

Comments
 (0)