diff --git a/Cargo.toml b/Cargo.toml index 0ab66a6..0b2d99c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "onesignal-rust-api" -version = "5.9.0" +version = "5.10.0" authors = ["devrel@onesignal.com"] edition = "2018" description = "A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com" diff --git a/README.md b/README.md index c7df407..77346fb 100644 --- a/README.md +++ b/README.md @@ -6,15 +6,15 @@ A powerful way to send personalized messages at scale and build effective custom For more information, please visit [https://onesignal.com](https://onesignal.com) -- API version: 5.9.0 -- Package version: 5.9.0 +- API version: 5.10.0 +- Package version: 5.10.0 ## Installation Add to `Cargo.toml` under `[dependencies]`: ```toml -onesignal-rust-api = "5.9.0" +onesignal-rust-api = "5.10.0" ``` ## Configuration diff --git a/docs/Filter.md b/docs/Filter.md index ea4d8e7..98e215a 100644 --- a/docs/Filter.md +++ b/docs/Filter.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **field** | Option<**String**> | Required. Name of the field to use as the first operand in the filter expression. | [optional] **key** | Option<**String**> | If `field` is `tag`, this field is *required* to specify `key` inside the tags. | [optional] -**value** | Option<**String**> | Constant value to use as the second operand in the filter expression. This value is *required* when the relation operator is a binary operator. | [optional] +**value** | Option<**String**> | Constant value to use as the second operand in the filter expression. This value is *required* when the relation operator is a binary operator. For `in_array` and `not_in_array` relations, provide a comma-separated list of up to 20 values. | [optional] **hours_ago** | Option<**String**> | If `field` is session-related, this is *required* to specify the number of hours before or after the user's session. | [optional] **radius** | Option<**f32**> | If `field` is `location`, this will specify the radius in meters from a provided location point. Use with `lat` and `long`. | [optional] **lat** | Option<**f32**> | If `field` is `location`, this is *required* to specify the user's latitude. | [optional] diff --git a/docs/FilterExpression.md b/docs/FilterExpression.md index a142c1f..b3c3964 100644 --- a/docs/FilterExpression.md +++ b/docs/FilterExpression.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **field** | Option<**String**> | Required. Name of the field to use as the first operand in the filter expression. | [optional] **key** | Option<**String**> | If `field` is `tag`, this field is *required* to specify `key` inside the tags. | [optional] -**value** | Option<**String**> | Constant value to use as the second operand in the filter expression. This value is *required* when the relation operator is a binary operator. | [optional] +**value** | Option<**String**> | Constant value to use as the second operand in the filter expression. This value is *required* when the relation operator is a binary operator. For `in_array` and `not_in_array` relations, provide a comma-separated list of up to 20 values. | [optional] **hours_ago** | Option<**String**> | If `field` is session-related, this is *required* to specify the number of hours before or after the user's session. | [optional] **radius** | Option<**f32**> | If `field` is `location`, this will specify the radius in meters from a provided location point. Use with `lat` and `long`. | [optional] **lat** | Option<**f32**> | If `field` is `location`, this is *required* to specify the user's latitude. | [optional] diff --git a/src/apis/configuration.rs b/src/apis/configuration.rs index d48e2e5..71068dd 100644 --- a/src/apis/configuration.rs +++ b/src/apis/configuration.rs @@ -3,7 +3,7 @@ * * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.9.0 + * The version of the OpenAPI document: 5.10.0 * Contact: devrel@onesignal.com * Generated by: https://openapi-generator.tech */ @@ -45,7 +45,7 @@ impl Default for Configuration { fn default() -> Self { Configuration { base_path: "https://api.onesignal.com".to_owned(), - user_agent: Some("OpenAPI-Generator/5.9.0/rust".to_owned()), + user_agent: Some("OpenAPI-Generator/5.10.0/rust".to_owned()), client: reqwest::Client::new(), basic_auth: None, oauth_access_token: None, diff --git a/src/apis/default_api.rs b/src/apis/default_api.rs index c74c129..48e01ce 100644 --- a/src/apis/default_api.rs +++ b/src/apis/default_api.rs @@ -3,7 +3,7 @@ * * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.9.0 + * The version of the OpenAPI document: 5.10.0 * Contact: devrel@onesignal.com * Generated by: https://openapi-generator.tech */ @@ -490,7 +490,7 @@ pub async fn cancel_notification(configuration: &configuration::Configuration, a } // Adds a telemetry header - req_builder = req_builder.header("OS-Usage-Data", "kind=sdk, sdk-name=onesignal-rust, version=5.9.0"); + req_builder = req_builder.header("OS-Usage-Data", "kind=sdk, sdk-name=onesignal-rust, version=5.10.0"); if let Some(ref token) = configuration.rest_api_key_token { req_builder = req_builder.header("Authorization", format!("Key {}", token.to_owned())); @@ -526,7 +526,7 @@ pub async fn copy_template_to_app(configuration: &configuration::Configuration, } // Adds a telemetry header - req_builder = req_builder.header("OS-Usage-Data", "kind=sdk, sdk-name=onesignal-rust, version=5.9.0"); + req_builder = req_builder.header("OS-Usage-Data", "kind=sdk, sdk-name=onesignal-rust, version=5.10.0"); if let Some(ref token) = configuration.organization_api_key_token { req_builder = req_builder.header("Authorization", format!("Key {}", token.to_owned())); @@ -562,7 +562,7 @@ pub async fn create_alias(configuration: &configuration::Configuration, app_id: } // Adds a telemetry header - req_builder = req_builder.header("OS-Usage-Data", "kind=sdk, sdk-name=onesignal-rust, version=5.9.0"); + req_builder = req_builder.header("OS-Usage-Data", "kind=sdk, sdk-name=onesignal-rust, version=5.10.0"); if let Some(ref token) = configuration.rest_api_key_token { req_builder = req_builder.header("Authorization", format!("Key {}", token.to_owned())); @@ -598,7 +598,7 @@ pub async fn create_alias_by_subscription(configuration: &configuration::Configu } // Adds a telemetry header - req_builder = req_builder.header("OS-Usage-Data", "kind=sdk, sdk-name=onesignal-rust, version=5.9.0"); + req_builder = req_builder.header("OS-Usage-Data", "kind=sdk, sdk-name=onesignal-rust, version=5.10.0"); if let Some(ref token) = configuration.rest_api_key_token { req_builder = req_builder.header("Authorization", format!("Key {}", token.to_owned())); @@ -634,7 +634,7 @@ pub async fn create_api_key(configuration: &configuration::Configuration, app_id } // Adds a telemetry header - req_builder = req_builder.header("OS-Usage-Data", "kind=sdk, sdk-name=onesignal-rust, version=5.9.0"); + req_builder = req_builder.header("OS-Usage-Data", "kind=sdk, sdk-name=onesignal-rust, version=5.10.0"); if let Some(ref token) = configuration.organization_api_key_token { req_builder = req_builder.header("Authorization", format!("Key {}", token.to_owned())); @@ -670,7 +670,7 @@ pub async fn create_app(configuration: &configuration::Configuration, app: crate } // Adds a telemetry header - req_builder = req_builder.header("OS-Usage-Data", "kind=sdk, sdk-name=onesignal-rust, version=5.9.0"); + req_builder = req_builder.header("OS-Usage-Data", "kind=sdk, sdk-name=onesignal-rust, version=5.10.0"); if let Some(ref token) = configuration.organization_api_key_token { req_builder = req_builder.header("Authorization", format!("Key {}", token.to_owned())); @@ -706,7 +706,7 @@ pub async fn create_custom_events(configuration: &configuration::Configuration, } // Adds a telemetry header - req_builder = req_builder.header("OS-Usage-Data", "kind=sdk, sdk-name=onesignal-rust, version=5.9.0"); + req_builder = req_builder.header("OS-Usage-Data", "kind=sdk, sdk-name=onesignal-rust, version=5.10.0"); if let Some(ref token) = configuration.rest_api_key_token { req_builder = req_builder.header("Authorization", format!("Key {}", token.to_owned())); @@ -742,7 +742,7 @@ pub async fn create_notification(configuration: &configuration::Configuration, n } // Adds a telemetry header - req_builder = req_builder.header("OS-Usage-Data", "kind=sdk, sdk-name=onesignal-rust, version=5.9.0"); + req_builder = req_builder.header("OS-Usage-Data", "kind=sdk, sdk-name=onesignal-rust, version=5.10.0"); if let Some(ref token) = configuration.rest_api_key_token { req_builder = req_builder.header("Authorization", format!("Key {}", token.to_owned())); @@ -778,7 +778,7 @@ pub async fn create_segment(configuration: &configuration::Configuration, app_id } // Adds a telemetry header - req_builder = req_builder.header("OS-Usage-Data", "kind=sdk, sdk-name=onesignal-rust, version=5.9.0"); + req_builder = req_builder.header("OS-Usage-Data", "kind=sdk, sdk-name=onesignal-rust, version=5.10.0"); if let Some(ref token) = configuration.rest_api_key_token { req_builder = req_builder.header("Authorization", format!("Key {}", token.to_owned())); @@ -814,7 +814,7 @@ pub async fn create_subscription(configuration: &configuration::Configuration, a } // Adds a telemetry header - req_builder = req_builder.header("OS-Usage-Data", "kind=sdk, sdk-name=onesignal-rust, version=5.9.0"); + req_builder = req_builder.header("OS-Usage-Data", "kind=sdk, sdk-name=onesignal-rust, version=5.10.0"); if let Some(ref token) = configuration.rest_api_key_token { req_builder = req_builder.header("Authorization", format!("Key {}", token.to_owned())); @@ -850,7 +850,7 @@ pub async fn create_template(configuration: &configuration::Configuration, creat } // Adds a telemetry header - req_builder = req_builder.header("OS-Usage-Data", "kind=sdk, sdk-name=onesignal-rust, version=5.9.0"); + req_builder = req_builder.header("OS-Usage-Data", "kind=sdk, sdk-name=onesignal-rust, version=5.10.0"); if let Some(ref token) = configuration.rest_api_key_token { req_builder = req_builder.header("Authorization", format!("Key {}", token.to_owned())); @@ -886,7 +886,7 @@ pub async fn create_user(configuration: &configuration::Configuration, app_id: & } // Adds a telemetry header - req_builder = req_builder.header("OS-Usage-Data", "kind=sdk, sdk-name=onesignal-rust, version=5.9.0"); + req_builder = req_builder.header("OS-Usage-Data", "kind=sdk, sdk-name=onesignal-rust, version=5.10.0"); if let Some(ref token) = configuration.rest_api_key_token { req_builder = req_builder.header("Authorization", format!("Key {}", token.to_owned())); @@ -922,7 +922,7 @@ pub async fn delete_alias(configuration: &configuration::Configuration, app_id: } // Adds a telemetry header - req_builder = req_builder.header("OS-Usage-Data", "kind=sdk, sdk-name=onesignal-rust, version=5.9.0"); + req_builder = req_builder.header("OS-Usage-Data", "kind=sdk, sdk-name=onesignal-rust, version=5.10.0"); if let Some(ref token) = configuration.rest_api_key_token { req_builder = req_builder.header("Authorization", format!("Key {}", token.to_owned())); @@ -957,7 +957,7 @@ pub async fn delete_api_key(configuration: &configuration::Configuration, app_id } // Adds a telemetry header - req_builder = req_builder.header("OS-Usage-Data", "kind=sdk, sdk-name=onesignal-rust, version=5.9.0"); + req_builder = req_builder.header("OS-Usage-Data", "kind=sdk, sdk-name=onesignal-rust, version=5.10.0"); if let Some(ref token) = configuration.organization_api_key_token { req_builder = req_builder.header("Authorization", format!("Key {}", token.to_owned())); @@ -992,7 +992,7 @@ pub async fn delete_segment(configuration: &configuration::Configuration, app_id } // Adds a telemetry header - req_builder = req_builder.header("OS-Usage-Data", "kind=sdk, sdk-name=onesignal-rust, version=5.9.0"); + req_builder = req_builder.header("OS-Usage-Data", "kind=sdk, sdk-name=onesignal-rust, version=5.10.0"); if let Some(ref token) = configuration.rest_api_key_token { req_builder = req_builder.header("Authorization", format!("Key {}", token.to_owned())); @@ -1027,7 +1027,7 @@ pub async fn delete_subscription(configuration: &configuration::Configuration, a } // Adds a telemetry header - req_builder = req_builder.header("OS-Usage-Data", "kind=sdk, sdk-name=onesignal-rust, version=5.9.0"); + req_builder = req_builder.header("OS-Usage-Data", "kind=sdk, sdk-name=onesignal-rust, version=5.10.0"); if let Some(ref token) = configuration.rest_api_key_token { req_builder = req_builder.header("Authorization", format!("Key {}", token.to_owned())); @@ -1063,7 +1063,7 @@ pub async fn delete_template(configuration: &configuration::Configuration, templ } // Adds a telemetry header - req_builder = req_builder.header("OS-Usage-Data", "kind=sdk, sdk-name=onesignal-rust, version=5.9.0"); + req_builder = req_builder.header("OS-Usage-Data", "kind=sdk, sdk-name=onesignal-rust, version=5.10.0"); if let Some(ref token) = configuration.rest_api_key_token { req_builder = req_builder.header("Authorization", format!("Key {}", token.to_owned())); @@ -1098,7 +1098,7 @@ pub async fn delete_user(configuration: &configuration::Configuration, app_id: & } // Adds a telemetry header - req_builder = req_builder.header("OS-Usage-Data", "kind=sdk, sdk-name=onesignal-rust, version=5.9.0"); + req_builder = req_builder.header("OS-Usage-Data", "kind=sdk, sdk-name=onesignal-rust, version=5.10.0"); if let Some(ref token) = configuration.rest_api_key_token { req_builder = req_builder.header("Authorization", format!("Key {}", token.to_owned())); @@ -1134,7 +1134,7 @@ pub async fn export_events(configuration: &configuration::Configuration, notific } // Adds a telemetry header - req_builder = req_builder.header("OS-Usage-Data", "kind=sdk, sdk-name=onesignal-rust, version=5.9.0"); + req_builder = req_builder.header("OS-Usage-Data", "kind=sdk, sdk-name=onesignal-rust, version=5.10.0"); if let Some(ref token) = configuration.rest_api_key_token { req_builder = req_builder.header("Authorization", format!("Key {}", token.to_owned())); @@ -1169,7 +1169,7 @@ pub async fn export_subscriptions(configuration: &configuration::Configuration, } // Adds a telemetry header - req_builder = req_builder.header("OS-Usage-Data", "kind=sdk, sdk-name=onesignal-rust, version=5.9.0"); + req_builder = req_builder.header("OS-Usage-Data", "kind=sdk, sdk-name=onesignal-rust, version=5.10.0"); if let Some(ref token) = configuration.rest_api_key_token { req_builder = req_builder.header("Authorization", format!("Key {}", token.to_owned())); @@ -1205,7 +1205,7 @@ pub async fn get_aliases(configuration: &configuration::Configuration, app_id: & } // Adds a telemetry header - req_builder = req_builder.header("OS-Usage-Data", "kind=sdk, sdk-name=onesignal-rust, version=5.9.0"); + req_builder = req_builder.header("OS-Usage-Data", "kind=sdk, sdk-name=onesignal-rust, version=5.10.0"); if let Some(ref token) = configuration.rest_api_key_token { req_builder = req_builder.header("Authorization", format!("Key {}", token.to_owned())); @@ -1240,7 +1240,7 @@ pub async fn get_aliases_by_subscription(configuration: &configuration::Configur } // Adds a telemetry header - req_builder = req_builder.header("OS-Usage-Data", "kind=sdk, sdk-name=onesignal-rust, version=5.9.0"); + req_builder = req_builder.header("OS-Usage-Data", "kind=sdk, sdk-name=onesignal-rust, version=5.10.0"); if let Some(ref token) = configuration.rest_api_key_token { req_builder = req_builder.header("Authorization", format!("Key {}", token.to_owned())); @@ -1275,7 +1275,7 @@ pub async fn get_app(configuration: &configuration::Configuration, app_id: &str) } // Adds a telemetry header - req_builder = req_builder.header("OS-Usage-Data", "kind=sdk, sdk-name=onesignal-rust, version=5.9.0"); + req_builder = req_builder.header("OS-Usage-Data", "kind=sdk, sdk-name=onesignal-rust, version=5.10.0"); if let Some(ref token) = configuration.organization_api_key_token { req_builder = req_builder.header("Authorization", format!("Key {}", token.to_owned())); @@ -1310,7 +1310,7 @@ pub async fn get_apps(configuration: &configuration::Configuration, ) -> Result< } // Adds a telemetry header - req_builder = req_builder.header("OS-Usage-Data", "kind=sdk, sdk-name=onesignal-rust, version=5.9.0"); + req_builder = req_builder.header("OS-Usage-Data", "kind=sdk, sdk-name=onesignal-rust, version=5.10.0"); if let Some(ref token) = configuration.organization_api_key_token { req_builder = req_builder.header("Authorization", format!("Key {}", token.to_owned())); @@ -1346,7 +1346,7 @@ pub async fn get_notification(configuration: &configuration::Configuration, app_ } // Adds a telemetry header - req_builder = req_builder.header("OS-Usage-Data", "kind=sdk, sdk-name=onesignal-rust, version=5.9.0"); + req_builder = req_builder.header("OS-Usage-Data", "kind=sdk, sdk-name=onesignal-rust, version=5.10.0"); if let Some(ref token) = configuration.rest_api_key_token { req_builder = req_builder.header("Authorization", format!("Key {}", token.to_owned())); @@ -1381,7 +1381,7 @@ pub async fn get_notification_history(configuration: &configuration::Configurati } // Adds a telemetry header - req_builder = req_builder.header("OS-Usage-Data", "kind=sdk, sdk-name=onesignal-rust, version=5.9.0"); + req_builder = req_builder.header("OS-Usage-Data", "kind=sdk, sdk-name=onesignal-rust, version=5.10.0"); if let Some(ref token) = configuration.rest_api_key_token { req_builder = req_builder.header("Authorization", format!("Key {}", token.to_owned())); @@ -1430,7 +1430,7 @@ pub async fn get_notifications(configuration: &configuration::Configuration, app } // Adds a telemetry header - req_builder = req_builder.header("OS-Usage-Data", "kind=sdk, sdk-name=onesignal-rust, version=5.9.0"); + req_builder = req_builder.header("OS-Usage-Data", "kind=sdk, sdk-name=onesignal-rust, version=5.10.0"); if let Some(ref token) = configuration.rest_api_key_token { req_builder = req_builder.header("Authorization", format!("Key {}", token.to_owned())); @@ -1478,7 +1478,7 @@ pub async fn get_outcomes(configuration: &configuration::Configuration, app_id: } // Adds a telemetry header - req_builder = req_builder.header("OS-Usage-Data", "kind=sdk, sdk-name=onesignal-rust, version=5.9.0"); + req_builder = req_builder.header("OS-Usage-Data", "kind=sdk, sdk-name=onesignal-rust, version=5.10.0"); if let Some(ref token) = configuration.rest_api_key_token { req_builder = req_builder.header("Authorization", format!("Key {}", token.to_owned())); @@ -1519,7 +1519,7 @@ pub async fn get_segments(configuration: &configuration::Configuration, app_id: } // Adds a telemetry header - req_builder = req_builder.header("OS-Usage-Data", "kind=sdk, sdk-name=onesignal-rust, version=5.9.0"); + req_builder = req_builder.header("OS-Usage-Data", "kind=sdk, sdk-name=onesignal-rust, version=5.10.0"); if let Some(ref token) = configuration.rest_api_key_token { req_builder = req_builder.header("Authorization", format!("Key {}", token.to_owned())); @@ -1554,7 +1554,7 @@ pub async fn get_user(configuration: &configuration::Configuration, app_id: &str } // Adds a telemetry header - req_builder = req_builder.header("OS-Usage-Data", "kind=sdk, sdk-name=onesignal-rust, version=5.9.0"); + req_builder = req_builder.header("OS-Usage-Data", "kind=sdk, sdk-name=onesignal-rust, version=5.10.0"); if let Some(ref token) = configuration.rest_api_key_token { req_builder = req_builder.header("Authorization", format!("Key {}", token.to_owned())); @@ -1589,7 +1589,7 @@ pub async fn rotate_api_key(configuration: &configuration::Configuration, app_id } // Adds a telemetry header - req_builder = req_builder.header("OS-Usage-Data", "kind=sdk, sdk-name=onesignal-rust, version=5.9.0"); + req_builder = req_builder.header("OS-Usage-Data", "kind=sdk, sdk-name=onesignal-rust, version=5.10.0"); if let Some(ref token) = configuration.organization_api_key_token { req_builder = req_builder.header("Authorization", format!("Key {}", token.to_owned())); @@ -1624,7 +1624,7 @@ pub async fn start_live_activity(configuration: &configuration::Configuration, a } // Adds a telemetry header - req_builder = req_builder.header("OS-Usage-Data", "kind=sdk, sdk-name=onesignal-rust, version=5.9.0"); + req_builder = req_builder.header("OS-Usage-Data", "kind=sdk, sdk-name=onesignal-rust, version=5.10.0"); if let Some(ref token) = configuration.rest_api_key_token { req_builder = req_builder.header("Authorization", format!("Key {}", token.to_owned())); @@ -1660,7 +1660,7 @@ pub async fn transfer_subscription(configuration: &configuration::Configuration, } // Adds a telemetry header - req_builder = req_builder.header("OS-Usage-Data", "kind=sdk, sdk-name=onesignal-rust, version=5.9.0"); + req_builder = req_builder.header("OS-Usage-Data", "kind=sdk, sdk-name=onesignal-rust, version=5.10.0"); if let Some(ref token) = configuration.rest_api_key_token { req_builder = req_builder.header("Authorization", format!("Key {}", token.to_owned())); @@ -1697,7 +1697,7 @@ pub async fn unsubscribe_email_with_token(configuration: &configuration::Configu } // Adds a telemetry header - req_builder = req_builder.header("OS-Usage-Data", "kind=sdk, sdk-name=onesignal-rust, version=5.9.0"); + req_builder = req_builder.header("OS-Usage-Data", "kind=sdk, sdk-name=onesignal-rust, version=5.10.0"); if let Some(ref token) = configuration.rest_api_key_token { req_builder = req_builder.header("Authorization", format!("Key {}", token.to_owned())); @@ -1732,7 +1732,7 @@ pub async fn update_api_key(configuration: &configuration::Configuration, app_id } // Adds a telemetry header - req_builder = req_builder.header("OS-Usage-Data", "kind=sdk, sdk-name=onesignal-rust, version=5.9.0"); + req_builder = req_builder.header("OS-Usage-Data", "kind=sdk, sdk-name=onesignal-rust, version=5.10.0"); if let Some(ref token) = configuration.organization_api_key_token { req_builder = req_builder.header("Authorization", format!("Key {}", token.to_owned())); @@ -1768,7 +1768,7 @@ pub async fn update_app(configuration: &configuration::Configuration, app_id: &s } // Adds a telemetry header - req_builder = req_builder.header("OS-Usage-Data", "kind=sdk, sdk-name=onesignal-rust, version=5.9.0"); + req_builder = req_builder.header("OS-Usage-Data", "kind=sdk, sdk-name=onesignal-rust, version=5.10.0"); if let Some(ref token) = configuration.organization_api_key_token { req_builder = req_builder.header("Authorization", format!("Key {}", token.to_owned())); @@ -1804,7 +1804,7 @@ pub async fn update_live_activity(configuration: &configuration::Configuration, } // Adds a telemetry header - req_builder = req_builder.header("OS-Usage-Data", "kind=sdk, sdk-name=onesignal-rust, version=5.9.0"); + req_builder = req_builder.header("OS-Usage-Data", "kind=sdk, sdk-name=onesignal-rust, version=5.10.0"); if let Some(ref token) = configuration.rest_api_key_token { req_builder = req_builder.header("Authorization", format!("Key {}", token.to_owned())); @@ -1840,7 +1840,7 @@ pub async fn update_subscription(configuration: &configuration::Configuration, a } // Adds a telemetry header - req_builder = req_builder.header("OS-Usage-Data", "kind=sdk, sdk-name=onesignal-rust, version=5.9.0"); + req_builder = req_builder.header("OS-Usage-Data", "kind=sdk, sdk-name=onesignal-rust, version=5.10.0"); if let Some(ref token) = configuration.rest_api_key_token { req_builder = req_builder.header("Authorization", format!("Key {}", token.to_owned())); @@ -1876,7 +1876,7 @@ pub async fn update_subscription_by_token(configuration: &configuration::Configu } // Adds a telemetry header - req_builder = req_builder.header("OS-Usage-Data", "kind=sdk, sdk-name=onesignal-rust, version=5.9.0"); + req_builder = req_builder.header("OS-Usage-Data", "kind=sdk, sdk-name=onesignal-rust, version=5.10.0"); if let Some(ref token) = configuration.rest_api_key_token { req_builder = req_builder.header("Authorization", format!("Key {}", token.to_owned())); @@ -1913,7 +1913,7 @@ pub async fn update_template(configuration: &configuration::Configuration, templ } // Adds a telemetry header - req_builder = req_builder.header("OS-Usage-Data", "kind=sdk, sdk-name=onesignal-rust, version=5.9.0"); + req_builder = req_builder.header("OS-Usage-Data", "kind=sdk, sdk-name=onesignal-rust, version=5.10.0"); if let Some(ref token) = configuration.rest_api_key_token { req_builder = req_builder.header("Authorization", format!("Key {}", token.to_owned())); @@ -1949,7 +1949,7 @@ pub async fn update_user(configuration: &configuration::Configuration, app_id: & } // Adds a telemetry header - req_builder = req_builder.header("OS-Usage-Data", "kind=sdk, sdk-name=onesignal-rust, version=5.9.0"); + req_builder = req_builder.header("OS-Usage-Data", "kind=sdk, sdk-name=onesignal-rust, version=5.10.0"); if let Some(ref token) = configuration.rest_api_key_token { req_builder = req_builder.header("Authorization", format!("Key {}", token.to_owned())); @@ -1985,7 +1985,7 @@ pub async fn view_api_keys(configuration: &configuration::Configuration, app_id: } // Adds a telemetry header - req_builder = req_builder.header("OS-Usage-Data", "kind=sdk, sdk-name=onesignal-rust, version=5.9.0"); + req_builder = req_builder.header("OS-Usage-Data", "kind=sdk, sdk-name=onesignal-rust, version=5.10.0"); if let Some(ref token) = configuration.organization_api_key_token { req_builder = req_builder.header("Authorization", format!("Key {}", token.to_owned())); @@ -2021,7 +2021,7 @@ pub async fn view_template(configuration: &configuration::Configuration, templat } // Adds a telemetry header - req_builder = req_builder.header("OS-Usage-Data", "kind=sdk, sdk-name=onesignal-rust, version=5.9.0"); + req_builder = req_builder.header("OS-Usage-Data", "kind=sdk, sdk-name=onesignal-rust, version=5.10.0"); if let Some(ref token) = configuration.rest_api_key_token { req_builder = req_builder.header("Authorization", format!("Key {}", token.to_owned())); @@ -2066,7 +2066,7 @@ pub async fn view_templates(configuration: &configuration::Configuration, app_id } // Adds a telemetry header - req_builder = req_builder.header("OS-Usage-Data", "kind=sdk, sdk-name=onesignal-rust, version=5.9.0"); + req_builder = req_builder.header("OS-Usage-Data", "kind=sdk, sdk-name=onesignal-rust, version=5.10.0"); if let Some(ref token) = configuration.rest_api_key_token { req_builder = req_builder.header("Authorization", format!("Key {}", token.to_owned())); diff --git a/src/models/api_key_token.rs b/src/models/api_key_token.rs index 4e463ce..194784d 100644 --- a/src/models/api_key_token.rs +++ b/src/models/api_key_token.rs @@ -3,7 +3,7 @@ * * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.9.0 + * The version of the OpenAPI document: 5.10.0 * Contact: devrel@onesignal.com * Generated by: https://openapi-generator.tech */ diff --git a/src/models/api_key_tokens_list_response.rs b/src/models/api_key_tokens_list_response.rs index 24d428e..33f3fae 100644 --- a/src/models/api_key_tokens_list_response.rs +++ b/src/models/api_key_tokens_list_response.rs @@ -3,7 +3,7 @@ * * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.9.0 + * The version of the OpenAPI document: 5.10.0 * Contact: devrel@onesignal.com * Generated by: https://openapi-generator.tech */ diff --git a/src/models/app.rs b/src/models/app.rs index 19400b3..727e96e 100644 --- a/src/models/app.rs +++ b/src/models/app.rs @@ -3,7 +3,7 @@ * * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.9.0 + * The version of the OpenAPI document: 5.10.0 * Contact: devrel@onesignal.com * Generated by: https://openapi-generator.tech */ diff --git a/src/models/basic_notification.rs b/src/models/basic_notification.rs index ca5e490..87d8e1b 100644 --- a/src/models/basic_notification.rs +++ b/src/models/basic_notification.rs @@ -3,7 +3,7 @@ * * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.9.0 + * The version of the OpenAPI document: 5.10.0 * Contact: devrel@onesignal.com * Generated by: https://openapi-generator.tech */ diff --git a/src/models/basic_notification_all_of.rs b/src/models/basic_notification_all_of.rs index d659036..ab30367 100644 --- a/src/models/basic_notification_all_of.rs +++ b/src/models/basic_notification_all_of.rs @@ -3,7 +3,7 @@ * * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.9.0 + * The version of the OpenAPI document: 5.10.0 * Contact: devrel@onesignal.com * Generated by: https://openapi-generator.tech */ diff --git a/src/models/basic_notification_all_of_android_background_layout.rs b/src/models/basic_notification_all_of_android_background_layout.rs index 704ccf5..05d86fc 100644 --- a/src/models/basic_notification_all_of_android_background_layout.rs +++ b/src/models/basic_notification_all_of_android_background_layout.rs @@ -3,7 +3,7 @@ * * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.9.0 + * The version of the OpenAPI document: 5.10.0 * Contact: devrel@onesignal.com * Generated by: https://openapi-generator.tech */ diff --git a/src/models/button.rs b/src/models/button.rs index d658f51..e34b4d3 100644 --- a/src/models/button.rs +++ b/src/models/button.rs @@ -3,7 +3,7 @@ * * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.9.0 + * The version of the OpenAPI document: 5.10.0 * Contact: devrel@onesignal.com * Generated by: https://openapi-generator.tech */ diff --git a/src/models/copy_template_request.rs b/src/models/copy_template_request.rs index de32abf..0e31f23 100644 --- a/src/models/copy_template_request.rs +++ b/src/models/copy_template_request.rs @@ -3,7 +3,7 @@ * * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.9.0 + * The version of the OpenAPI document: 5.10.0 * Contact: devrel@onesignal.com * Generated by: https://openapi-generator.tech */ diff --git a/src/models/create_api_key_request.rs b/src/models/create_api_key_request.rs index 5f76f59..ddc36f9 100644 --- a/src/models/create_api_key_request.rs +++ b/src/models/create_api_key_request.rs @@ -3,7 +3,7 @@ * * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.9.0 + * The version of the OpenAPI document: 5.10.0 * Contact: devrel@onesignal.com * Generated by: https://openapi-generator.tech */ diff --git a/src/models/create_api_key_response.rs b/src/models/create_api_key_response.rs index f4262dc..4f781b8 100644 --- a/src/models/create_api_key_response.rs +++ b/src/models/create_api_key_response.rs @@ -3,7 +3,7 @@ * * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.9.0 + * The version of the OpenAPI document: 5.10.0 * Contact: devrel@onesignal.com * Generated by: https://openapi-generator.tech */ diff --git a/src/models/create_notification_success_response.rs b/src/models/create_notification_success_response.rs index d943281..4877021 100644 --- a/src/models/create_notification_success_response.rs +++ b/src/models/create_notification_success_response.rs @@ -3,7 +3,7 @@ * * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.9.0 + * The version of the OpenAPI document: 5.10.0 * Contact: devrel@onesignal.com * Generated by: https://openapi-generator.tech */ diff --git a/src/models/create_segment_conflict_response.rs b/src/models/create_segment_conflict_response.rs index 9f79db4..d0e2641 100644 --- a/src/models/create_segment_conflict_response.rs +++ b/src/models/create_segment_conflict_response.rs @@ -3,7 +3,7 @@ * * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.9.0 + * The version of the OpenAPI document: 5.10.0 * Contact: devrel@onesignal.com * Generated by: https://openapi-generator.tech */ diff --git a/src/models/create_segment_success_response.rs b/src/models/create_segment_success_response.rs index 8defedf..fec8ca2 100644 --- a/src/models/create_segment_success_response.rs +++ b/src/models/create_segment_success_response.rs @@ -3,7 +3,7 @@ * * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.9.0 + * The version of the OpenAPI document: 5.10.0 * Contact: devrel@onesignal.com * Generated by: https://openapi-generator.tech */ diff --git a/src/models/create_template_request.rs b/src/models/create_template_request.rs index 559e3cc..e9239d5 100644 --- a/src/models/create_template_request.rs +++ b/src/models/create_template_request.rs @@ -3,7 +3,7 @@ * * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.9.0 + * The version of the OpenAPI document: 5.10.0 * Contact: devrel@onesignal.com * Generated by: https://openapi-generator.tech */ diff --git a/src/models/create_user_conflict_response.rs b/src/models/create_user_conflict_response.rs index d5825b7..25c56f3 100644 --- a/src/models/create_user_conflict_response.rs +++ b/src/models/create_user_conflict_response.rs @@ -3,7 +3,7 @@ * * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.9.0 + * The version of the OpenAPI document: 5.10.0 * Contact: devrel@onesignal.com * Generated by: https://openapi-generator.tech */ diff --git a/src/models/create_user_conflict_response_errors_inner.rs b/src/models/create_user_conflict_response_errors_inner.rs index ed925c4..ffb24aa 100644 --- a/src/models/create_user_conflict_response_errors_inner.rs +++ b/src/models/create_user_conflict_response_errors_inner.rs @@ -3,7 +3,7 @@ * * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.9.0 + * The version of the OpenAPI document: 5.10.0 * Contact: devrel@onesignal.com * Generated by: https://openapi-generator.tech */ diff --git a/src/models/create_user_conflict_response_errors_items_meta.rs b/src/models/create_user_conflict_response_errors_items_meta.rs index c5a9978..6883d31 100644 --- a/src/models/create_user_conflict_response_errors_items_meta.rs +++ b/src/models/create_user_conflict_response_errors_items_meta.rs @@ -3,7 +3,7 @@ * * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.9.0 + * The version of the OpenAPI document: 5.10.0 * Contact: devrel@onesignal.com * Generated by: https://openapi-generator.tech */ diff --git a/src/models/custom_event.rs b/src/models/custom_event.rs index 14c27ee..39ecfa2 100644 --- a/src/models/custom_event.rs +++ b/src/models/custom_event.rs @@ -3,7 +3,7 @@ * * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.9.0 + * The version of the OpenAPI document: 5.10.0 * Contact: devrel@onesignal.com * Generated by: https://openapi-generator.tech */ diff --git a/src/models/custom_events_request.rs b/src/models/custom_events_request.rs index 3790e22..467fde6 100644 --- a/src/models/custom_events_request.rs +++ b/src/models/custom_events_request.rs @@ -3,7 +3,7 @@ * * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.9.0 + * The version of the OpenAPI document: 5.10.0 * Contact: devrel@onesignal.com * Generated by: https://openapi-generator.tech */ diff --git a/src/models/delivery_data.rs b/src/models/delivery_data.rs index b7a2884..90f0d5a 100644 --- a/src/models/delivery_data.rs +++ b/src/models/delivery_data.rs @@ -3,7 +3,7 @@ * * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.9.0 + * The version of the OpenAPI document: 5.10.0 * Contact: devrel@onesignal.com * Generated by: https://openapi-generator.tech */ diff --git a/src/models/export_events_success_response.rs b/src/models/export_events_success_response.rs index 03d457c..3ebbe83 100644 --- a/src/models/export_events_success_response.rs +++ b/src/models/export_events_success_response.rs @@ -3,7 +3,7 @@ * * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.9.0 + * The version of the OpenAPI document: 5.10.0 * Contact: devrel@onesignal.com * Generated by: https://openapi-generator.tech */ diff --git a/src/models/export_subscriptions_request_body.rs b/src/models/export_subscriptions_request_body.rs index 4f874bd..605374f 100644 --- a/src/models/export_subscriptions_request_body.rs +++ b/src/models/export_subscriptions_request_body.rs @@ -3,7 +3,7 @@ * * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.9.0 + * The version of the OpenAPI document: 5.10.0 * Contact: devrel@onesignal.com * Generated by: https://openapi-generator.tech */ diff --git a/src/models/export_subscriptions_success_response.rs b/src/models/export_subscriptions_success_response.rs index d104ef3..52f6341 100644 --- a/src/models/export_subscriptions_success_response.rs +++ b/src/models/export_subscriptions_success_response.rs @@ -3,7 +3,7 @@ * * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.9.0 + * The version of the OpenAPI document: 5.10.0 * Contact: devrel@onesignal.com * Generated by: https://openapi-generator.tech */ diff --git a/src/models/filter.rs b/src/models/filter.rs index 30abfcd..cd42590 100644 --- a/src/models/filter.rs +++ b/src/models/filter.rs @@ -3,7 +3,7 @@ * * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.9.0 + * The version of the OpenAPI document: 5.10.0 * Contact: devrel@onesignal.com * Generated by: https://openapi-generator.tech */ @@ -19,7 +19,7 @@ pub struct Filter { /// If `field` is `tag`, this field is *required* to specify `key` inside the tags. #[serde(rename = "key", skip_serializing_if = "Option::is_none")] pub key: Option, - /// Constant value to use as the second operand in the filter expression. This value is *required* when the relation operator is a binary operator. + /// Constant value to use as the second operand in the filter expression. This value is *required* when the relation operator is a binary operator. For `in_array` and `not_in_array` relations, provide a comma-separated list of up to 20 values. #[serde(rename = "value", skip_serializing_if = "Option::is_none")] pub value: Option, /// If `field` is session-related, this is *required* to specify the number of hours before or after the user's session. @@ -73,6 +73,10 @@ pub enum RelationType { TimeElapsedGt, #[serde(rename = "time_elapsed_lt")] TimeElapsedLt, + #[serde(rename = "in_array")] + InArray, + #[serde(rename = "not_in_array")] + NotInArray, } impl Default for RelationType { diff --git a/src/models/filter_expression.rs b/src/models/filter_expression.rs index d6727d0..ae5854f 100644 --- a/src/models/filter_expression.rs +++ b/src/models/filter_expression.rs @@ -3,7 +3,7 @@ * * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.9.0 + * The version of the OpenAPI document: 5.10.0 * Contact: devrel@onesignal.com * Generated by: https://openapi-generator.tech */ @@ -19,7 +19,7 @@ pub struct FilterExpression { /// If `field` is `tag`, this field is *required* to specify `key` inside the tags. #[serde(rename = "key", skip_serializing_if = "Option::is_none")] pub key: Option, - /// Constant value to use as the second operand in the filter expression. This value is *required* when the relation operator is a binary operator. + /// Constant value to use as the second operand in the filter expression. This value is *required* when the relation operator is a binary operator. For `in_array` and `not_in_array` relations, provide a comma-separated list of up to 20 values. #[serde(rename = "value", skip_serializing_if = "Option::is_none")] pub value: Option, /// If `field` is session-related, this is *required* to specify the number of hours before or after the user's session. @@ -77,6 +77,10 @@ pub enum RelationType { TimeElapsedGt, #[serde(rename = "time_elapsed_lt")] TimeElapsedLt, + #[serde(rename = "in_array")] + InArray, + #[serde(rename = "not_in_array")] + NotInArray, } impl Default for RelationType { diff --git a/src/models/generic_error.rs b/src/models/generic_error.rs index a82dedb..ba9e528 100644 --- a/src/models/generic_error.rs +++ b/src/models/generic_error.rs @@ -3,7 +3,7 @@ * * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.9.0 + * The version of the OpenAPI document: 5.10.0 * Contact: devrel@onesignal.com * Generated by: https://openapi-generator.tech */ diff --git a/src/models/generic_success_bool_response.rs b/src/models/generic_success_bool_response.rs index aafd722..03c0ccc 100644 --- a/src/models/generic_success_bool_response.rs +++ b/src/models/generic_success_bool_response.rs @@ -3,7 +3,7 @@ * * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.9.0 + * The version of the OpenAPI document: 5.10.0 * Contact: devrel@onesignal.com * Generated by: https://openapi-generator.tech */ diff --git a/src/models/get_notification_history_request_body.rs b/src/models/get_notification_history_request_body.rs index 1c2d53a..e2e7701 100644 --- a/src/models/get_notification_history_request_body.rs +++ b/src/models/get_notification_history_request_body.rs @@ -3,7 +3,7 @@ * * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.9.0 + * The version of the OpenAPI document: 5.10.0 * Contact: devrel@onesignal.com * Generated by: https://openapi-generator.tech */ diff --git a/src/models/get_segments_success_response.rs b/src/models/get_segments_success_response.rs index 9ad0fc6..e164c23 100644 --- a/src/models/get_segments_success_response.rs +++ b/src/models/get_segments_success_response.rs @@ -3,7 +3,7 @@ * * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.9.0 + * The version of the OpenAPI document: 5.10.0 * Contact: devrel@onesignal.com * Generated by: https://openapi-generator.tech */ diff --git a/src/models/language_string_map.rs b/src/models/language_string_map.rs index 52463cf..cf39ee3 100644 --- a/src/models/language_string_map.rs +++ b/src/models/language_string_map.rs @@ -3,7 +3,7 @@ * * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.9.0 + * The version of the OpenAPI document: 5.10.0 * Contact: devrel@onesignal.com * Generated by: https://openapi-generator.tech */ diff --git a/src/models/notification.rs b/src/models/notification.rs index d8f6862..8738d1a 100644 --- a/src/models/notification.rs +++ b/src/models/notification.rs @@ -3,7 +3,7 @@ * * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.9.0 + * The version of the OpenAPI document: 5.10.0 * Contact: devrel@onesignal.com * Generated by: https://openapi-generator.tech */ diff --git a/src/models/notification_all_of.rs b/src/models/notification_all_of.rs index b46c9eb..af050c5 100644 --- a/src/models/notification_all_of.rs +++ b/src/models/notification_all_of.rs @@ -3,7 +3,7 @@ * * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.9.0 + * The version of the OpenAPI document: 5.10.0 * Contact: devrel@onesignal.com * Generated by: https://openapi-generator.tech */ diff --git a/src/models/notification_history_success_response.rs b/src/models/notification_history_success_response.rs index 21eb3ad..560e4f3 100644 --- a/src/models/notification_history_success_response.rs +++ b/src/models/notification_history_success_response.rs @@ -3,7 +3,7 @@ * * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.9.0 + * The version of the OpenAPI document: 5.10.0 * Contact: devrel@onesignal.com * Generated by: https://openapi-generator.tech */ diff --git a/src/models/notification_slice.rs b/src/models/notification_slice.rs index 6a1efa4..d9960d9 100644 --- a/src/models/notification_slice.rs +++ b/src/models/notification_slice.rs @@ -3,7 +3,7 @@ * * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.9.0 + * The version of the OpenAPI document: 5.10.0 * Contact: devrel@onesignal.com * Generated by: https://openapi-generator.tech */ diff --git a/src/models/notification_target.rs b/src/models/notification_target.rs index ecf9477..044ce32 100644 --- a/src/models/notification_target.rs +++ b/src/models/notification_target.rs @@ -3,7 +3,7 @@ * * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.9.0 + * The version of the OpenAPI document: 5.10.0 * Contact: devrel@onesignal.com * Generated by: https://openapi-generator.tech */ diff --git a/src/models/notification_with_meta.rs b/src/models/notification_with_meta.rs index 53eae92..397e71b 100644 --- a/src/models/notification_with_meta.rs +++ b/src/models/notification_with_meta.rs @@ -3,7 +3,7 @@ * * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.9.0 + * The version of the OpenAPI document: 5.10.0 * Contact: devrel@onesignal.com * Generated by: https://openapi-generator.tech */ diff --git a/src/models/notification_with_meta_all_of.rs b/src/models/notification_with_meta_all_of.rs index 3251bbe..50ff860 100644 --- a/src/models/notification_with_meta_all_of.rs +++ b/src/models/notification_with_meta_all_of.rs @@ -3,7 +3,7 @@ * * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.9.0 + * The version of the OpenAPI document: 5.10.0 * Contact: devrel@onesignal.com * Generated by: https://openapi-generator.tech */ diff --git a/src/models/operator.rs b/src/models/operator.rs index 9af6204..dd06b31 100644 --- a/src/models/operator.rs +++ b/src/models/operator.rs @@ -3,7 +3,7 @@ * * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.9.0 + * The version of the OpenAPI document: 5.10.0 * Contact: devrel@onesignal.com * Generated by: https://openapi-generator.tech */ diff --git a/src/models/outcome_data.rs b/src/models/outcome_data.rs index b77a8d4..57dcb08 100644 --- a/src/models/outcome_data.rs +++ b/src/models/outcome_data.rs @@ -3,7 +3,7 @@ * * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.9.0 + * The version of the OpenAPI document: 5.10.0 * Contact: devrel@onesignal.com * Generated by: https://openapi-generator.tech */ diff --git a/src/models/outcomes_data.rs b/src/models/outcomes_data.rs index e04edef..283da24 100644 --- a/src/models/outcomes_data.rs +++ b/src/models/outcomes_data.rs @@ -3,7 +3,7 @@ * * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.9.0 + * The version of the OpenAPI document: 5.10.0 * Contact: devrel@onesignal.com * Generated by: https://openapi-generator.tech */ diff --git a/src/models/platform_delivery_data.rs b/src/models/platform_delivery_data.rs index f3a19f3..dfb5d9b 100644 --- a/src/models/platform_delivery_data.rs +++ b/src/models/platform_delivery_data.rs @@ -3,7 +3,7 @@ * * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.9.0 + * The version of the OpenAPI document: 5.10.0 * Contact: devrel@onesignal.com * Generated by: https://openapi-generator.tech */ diff --git a/src/models/platform_delivery_data_email_all_of.rs b/src/models/platform_delivery_data_email_all_of.rs index 3e279bc..9f4796c 100644 --- a/src/models/platform_delivery_data_email_all_of.rs +++ b/src/models/platform_delivery_data_email_all_of.rs @@ -3,7 +3,7 @@ * * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.9.0 + * The version of the OpenAPI document: 5.10.0 * Contact: devrel@onesignal.com * Generated by: https://openapi-generator.tech */ diff --git a/src/models/platform_delivery_data_sms_all_of.rs b/src/models/platform_delivery_data_sms_all_of.rs index 0c8797e..367f828 100644 --- a/src/models/platform_delivery_data_sms_all_of.rs +++ b/src/models/platform_delivery_data_sms_all_of.rs @@ -3,7 +3,7 @@ * * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.9.0 + * The version of the OpenAPI document: 5.10.0 * Contact: devrel@onesignal.com * Generated by: https://openapi-generator.tech */ diff --git a/src/models/properties_body.rs b/src/models/properties_body.rs index c002a2d..bca148f 100644 --- a/src/models/properties_body.rs +++ b/src/models/properties_body.rs @@ -3,7 +3,7 @@ * * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.9.0 + * The version of the OpenAPI document: 5.10.0 * Contact: devrel@onesignal.com * Generated by: https://openapi-generator.tech */ diff --git a/src/models/properties_deltas.rs b/src/models/properties_deltas.rs index 3afbc44..f371968 100644 --- a/src/models/properties_deltas.rs +++ b/src/models/properties_deltas.rs @@ -3,7 +3,7 @@ * * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.9.0 + * The version of the OpenAPI document: 5.10.0 * Contact: devrel@onesignal.com * Generated by: https://openapi-generator.tech */ diff --git a/src/models/properties_object.rs b/src/models/properties_object.rs index b786b91..6bdf815 100644 --- a/src/models/properties_object.rs +++ b/src/models/properties_object.rs @@ -3,7 +3,7 @@ * * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.9.0 + * The version of the OpenAPI document: 5.10.0 * Contact: devrel@onesignal.com * Generated by: https://openapi-generator.tech */ diff --git a/src/models/purchase.rs b/src/models/purchase.rs index 2a1d778..e786357 100644 --- a/src/models/purchase.rs +++ b/src/models/purchase.rs @@ -3,7 +3,7 @@ * * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.9.0 + * The version of the OpenAPI document: 5.10.0 * Contact: devrel@onesignal.com * Generated by: https://openapi-generator.tech */ diff --git a/src/models/rate_limit_error.rs b/src/models/rate_limit_error.rs index 87427dd..2b951bd 100644 --- a/src/models/rate_limit_error.rs +++ b/src/models/rate_limit_error.rs @@ -3,7 +3,7 @@ * * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.9.0 + * The version of the OpenAPI document: 5.10.0 * Contact: devrel@onesignal.com * Generated by: https://openapi-generator.tech */ diff --git a/src/models/segment.rs b/src/models/segment.rs index 1a5968f..d168352 100644 --- a/src/models/segment.rs +++ b/src/models/segment.rs @@ -3,7 +3,7 @@ * * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.9.0 + * The version of the OpenAPI document: 5.10.0 * Contact: devrel@onesignal.com * Generated by: https://openapi-generator.tech */ diff --git a/src/models/segment_data.rs b/src/models/segment_data.rs index d150e01..d0335c1 100644 --- a/src/models/segment_data.rs +++ b/src/models/segment_data.rs @@ -3,7 +3,7 @@ * * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.9.0 + * The version of the OpenAPI document: 5.10.0 * Contact: devrel@onesignal.com * Generated by: https://openapi-generator.tech */ diff --git a/src/models/segment_notification_target.rs b/src/models/segment_notification_target.rs index ccdde9d..c0eff03 100644 --- a/src/models/segment_notification_target.rs +++ b/src/models/segment_notification_target.rs @@ -3,7 +3,7 @@ * * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.9.0 + * The version of the OpenAPI document: 5.10.0 * Contact: devrel@onesignal.com * Generated by: https://openapi-generator.tech */ diff --git a/src/models/start_live_activity_request.rs b/src/models/start_live_activity_request.rs index 88a83bf..1e36245 100644 --- a/src/models/start_live_activity_request.rs +++ b/src/models/start_live_activity_request.rs @@ -3,7 +3,7 @@ * * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.9.0 + * The version of the OpenAPI document: 5.10.0 * Contact: devrel@onesignal.com * Generated by: https://openapi-generator.tech */ diff --git a/src/models/start_live_activity_success_response.rs b/src/models/start_live_activity_success_response.rs index f02522a..0099606 100644 --- a/src/models/start_live_activity_success_response.rs +++ b/src/models/start_live_activity_success_response.rs @@ -3,7 +3,7 @@ * * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.9.0 + * The version of the OpenAPI document: 5.10.0 * Contact: devrel@onesignal.com * Generated by: https://openapi-generator.tech */ diff --git a/src/models/subscription.rs b/src/models/subscription.rs index 0b8fd59..4017f44 100644 --- a/src/models/subscription.rs +++ b/src/models/subscription.rs @@ -3,7 +3,7 @@ * * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.9.0 + * The version of the OpenAPI document: 5.10.0 * Contact: devrel@onesignal.com * Generated by: https://openapi-generator.tech */ diff --git a/src/models/subscription_body.rs b/src/models/subscription_body.rs index 7f60068..3f69959 100644 --- a/src/models/subscription_body.rs +++ b/src/models/subscription_body.rs @@ -3,7 +3,7 @@ * * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.9.0 + * The version of the OpenAPI document: 5.10.0 * Contact: devrel@onesignal.com * Generated by: https://openapi-generator.tech */ diff --git a/src/models/subscription_notification_target.rs b/src/models/subscription_notification_target.rs index c34ac89..8874545 100644 --- a/src/models/subscription_notification_target.rs +++ b/src/models/subscription_notification_target.rs @@ -3,7 +3,7 @@ * * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.9.0 + * The version of the OpenAPI document: 5.10.0 * Contact: devrel@onesignal.com * Generated by: https://openapi-generator.tech */ diff --git a/src/models/template_resource.rs b/src/models/template_resource.rs index ad20b79..339feb6 100644 --- a/src/models/template_resource.rs +++ b/src/models/template_resource.rs @@ -3,7 +3,7 @@ * * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.9.0 + * The version of the OpenAPI document: 5.10.0 * Contact: devrel@onesignal.com * Generated by: https://openapi-generator.tech */ diff --git a/src/models/templates_list_response.rs b/src/models/templates_list_response.rs index 23d0615..0c4db93 100644 --- a/src/models/templates_list_response.rs +++ b/src/models/templates_list_response.rs @@ -3,7 +3,7 @@ * * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.9.0 + * The version of the OpenAPI document: 5.10.0 * Contact: devrel@onesignal.com * Generated by: https://openapi-generator.tech */ diff --git a/src/models/transfer_subscription_request_body.rs b/src/models/transfer_subscription_request_body.rs index f9c7777..2720091 100644 --- a/src/models/transfer_subscription_request_body.rs +++ b/src/models/transfer_subscription_request_body.rs @@ -3,7 +3,7 @@ * * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.9.0 + * The version of the OpenAPI document: 5.10.0 * Contact: devrel@onesignal.com * Generated by: https://openapi-generator.tech */ diff --git a/src/models/update_api_key_request.rs b/src/models/update_api_key_request.rs index df5e2b4..c9b8754 100644 --- a/src/models/update_api_key_request.rs +++ b/src/models/update_api_key_request.rs @@ -3,7 +3,7 @@ * * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.9.0 + * The version of the OpenAPI document: 5.10.0 * Contact: devrel@onesignal.com * Generated by: https://openapi-generator.tech */ diff --git a/src/models/update_live_activity_request.rs b/src/models/update_live_activity_request.rs index bb87fcb..2341673 100644 --- a/src/models/update_live_activity_request.rs +++ b/src/models/update_live_activity_request.rs @@ -3,7 +3,7 @@ * * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.9.0 + * The version of the OpenAPI document: 5.10.0 * Contact: devrel@onesignal.com * Generated by: https://openapi-generator.tech */ diff --git a/src/models/update_live_activity_success_response.rs b/src/models/update_live_activity_success_response.rs index 3e81d9b..497d1b9 100644 --- a/src/models/update_live_activity_success_response.rs +++ b/src/models/update_live_activity_success_response.rs @@ -3,7 +3,7 @@ * * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.9.0 + * The version of the OpenAPI document: 5.10.0 * Contact: devrel@onesignal.com * Generated by: https://openapi-generator.tech */ diff --git a/src/models/update_template_request.rs b/src/models/update_template_request.rs index 54a8ad4..6e0a274 100644 --- a/src/models/update_template_request.rs +++ b/src/models/update_template_request.rs @@ -3,7 +3,7 @@ * * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.9.0 + * The version of the OpenAPI document: 5.10.0 * Contact: devrel@onesignal.com * Generated by: https://openapi-generator.tech */ diff --git a/src/models/update_user_request.rs b/src/models/update_user_request.rs index 5a854bd..826ba24 100644 --- a/src/models/update_user_request.rs +++ b/src/models/update_user_request.rs @@ -3,7 +3,7 @@ * * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.9.0 + * The version of the OpenAPI document: 5.10.0 * Contact: devrel@onesignal.com * Generated by: https://openapi-generator.tech */ diff --git a/src/models/user.rs b/src/models/user.rs index e599cd0..cc3bddf 100644 --- a/src/models/user.rs +++ b/src/models/user.rs @@ -3,7 +3,7 @@ * * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.9.0 + * The version of the OpenAPI document: 5.10.0 * Contact: devrel@onesignal.com * Generated by: https://openapi-generator.tech */ diff --git a/src/models/user_identity_body.rs b/src/models/user_identity_body.rs index df7eae5..aba401b 100644 --- a/src/models/user_identity_body.rs +++ b/src/models/user_identity_body.rs @@ -3,7 +3,7 @@ * * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.9.0 + * The version of the OpenAPI document: 5.10.0 * Contact: devrel@onesignal.com * Generated by: https://openapi-generator.tech */ diff --git a/src/models/web_button.rs b/src/models/web_button.rs index c22c00d..21cc58c 100644 --- a/src/models/web_button.rs +++ b/src/models/web_button.rs @@ -3,7 +3,7 @@ * * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.9.0 + * The version of the OpenAPI document: 5.10.0 * Contact: devrel@onesignal.com * Generated by: https://openapi-generator.tech */