Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "onesignal-rust-api"
version = "5.11.1"
version = "5.11.2"
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"
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.11.1
- Package version: 5.11.1
- API version: 5.11.2
- Package version: 5.11.2

## Installation

Add to `Cargo.toml` under `[dependencies]`:

```toml
onesignal-rust-api = "5.11.1"
onesignal-rust-api = "5.11.2"
```

## Configuration
Expand Down
2 changes: 1 addition & 1 deletion docs/DefaultApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Method | HTTP request | Description
[**create_alias_by_subscription**](DefaultApi.md#create_alias_by_subscription) | **PATCH** /apps/{app_id}/subscriptions/{subscription_id}/user/identity |
[**create_api_key**](DefaultApi.md#create_api_key) | **POST** /apps/{app_id}/auth/tokens | Create API key
[**create_app**](DefaultApi.md#create_app) | **POST** /apps | Create an app
[**create_custom_events**](DefaultApi.md#create_custom_events) | **POST** /apps/{app_id}/integrations/custom_events | Create custom events
[**create_custom_events**](DefaultApi.md#create_custom_events) | **POST** /apps/{app_id}/custom_events | Create custom events
[**create_notification**](DefaultApi.md#create_notification) | **POST** /notifications | Create notification
[**create_segment**](DefaultApi.md#create_segment) | **POST** /apps/{app_id}/segments | Create Segment
[**create_subscription**](DefaultApi.md#create_subscription) | **POST** /apps/{app_id}/users/by/{alias_label}/{alias_id}/subscriptions |
Expand Down
4 changes: 2 additions & 2 deletions src/apis/configuration.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.11.1
* The version of the OpenAPI document: 5.11.2
* Contact: devrel@onesignal.com
* Generated by: https://openapi-generator.tech
*/
Expand Down Expand Up @@ -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.11.1/rust".to_owned()),
user_agent: Some("OpenAPI-Generator/5.11.2/rust".to_owned()),
client: reqwest::Client::new(),
basic_auth: None,
oauth_access_token: None,
Expand Down
98 changes: 49 additions & 49 deletions src/apis/default_api.rs

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/models/api_key_token.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.11.1
* The version of the OpenAPI document: 5.11.2
* Contact: devrel@onesignal.com
* Generated by: https://openapi-generator.tech
*/
Expand Down
2 changes: 1 addition & 1 deletion src/models/api_key_tokens_list_response.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.11.1
* The version of the OpenAPI document: 5.11.2
* Contact: devrel@onesignal.com
* Generated by: https://openapi-generator.tech
*/
Expand Down
2 changes: 1 addition & 1 deletion src/models/app.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.11.1
* The version of the OpenAPI document: 5.11.2
* Contact: devrel@onesignal.com
* Generated by: https://openapi-generator.tech
*/
Expand Down
2 changes: 1 addition & 1 deletion src/models/audit_log_actor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.11.1
* The version of the OpenAPI document: 5.11.2
* Contact: devrel@onesignal.com
* Generated by: https://openapi-generator.tech
*/
Expand Down
2 changes: 1 addition & 1 deletion src/models/audit_log_context.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.11.1
* The version of the OpenAPI document: 5.11.2
* Contact: devrel@onesignal.com
* Generated by: https://openapi-generator.tech
*/
Expand Down
2 changes: 1 addition & 1 deletion src/models/audit_log_event.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.11.1
* The version of the OpenAPI document: 5.11.2
* Contact: devrel@onesignal.com
* Generated by: https://openapi-generator.tech
*/
Expand Down
2 changes: 1 addition & 1 deletion src/models/audit_log_target.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.11.1
* The version of the OpenAPI document: 5.11.2
* Contact: devrel@onesignal.com
* Generated by: https://openapi-generator.tech
*/
Expand Down
2 changes: 1 addition & 1 deletion src/models/basic_notification.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.11.1
* The version of the OpenAPI document: 5.11.2
* Contact: devrel@onesignal.com
* Generated by: https://openapi-generator.tech
*/
Expand Down
2 changes: 1 addition & 1 deletion src/models/basic_notification_all_of.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.11.1
* The version of the OpenAPI document: 5.11.2
* Contact: devrel@onesignal.com
* Generated by: https://openapi-generator.tech
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.11.1
* The version of the OpenAPI document: 5.11.2
* Contact: devrel@onesignal.com
* Generated by: https://openapi-generator.tech
*/
Expand Down
2 changes: 1 addition & 1 deletion src/models/button.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.11.1
* The version of the OpenAPI document: 5.11.2
* Contact: devrel@onesignal.com
* Generated by: https://openapi-generator.tech
*/
Expand Down
2 changes: 1 addition & 1 deletion src/models/copy_template_request.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.11.1
* The version of the OpenAPI document: 5.11.2
* Contact: devrel@onesignal.com
* Generated by: https://openapi-generator.tech
*/
Expand Down
2 changes: 1 addition & 1 deletion src/models/create_api_key_request.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.11.1
* The version of the OpenAPI document: 5.11.2
* Contact: devrel@onesignal.com
* Generated by: https://openapi-generator.tech
*/
Expand Down
2 changes: 1 addition & 1 deletion src/models/create_api_key_response.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.11.1
* The version of the OpenAPI document: 5.11.2
* Contact: devrel@onesignal.com
* Generated by: https://openapi-generator.tech
*/
Expand Down
2 changes: 1 addition & 1 deletion src/models/create_notification_success_response.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.11.1
* The version of the OpenAPI document: 5.11.2
* Contact: devrel@onesignal.com
* Generated by: https://openapi-generator.tech
*/
Expand Down
2 changes: 1 addition & 1 deletion src/models/create_segment_conflict_response.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.11.1
* The version of the OpenAPI document: 5.11.2
* Contact: devrel@onesignal.com
* Generated by: https://openapi-generator.tech
*/
Expand Down
2 changes: 1 addition & 1 deletion src/models/create_segment_success_response.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.11.1
* The version of the OpenAPI document: 5.11.2
* Contact: devrel@onesignal.com
* Generated by: https://openapi-generator.tech
*/
Expand Down
2 changes: 1 addition & 1 deletion src/models/create_template_request.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.11.1
* The version of the OpenAPI document: 5.11.2
* Contact: devrel@onesignal.com
* Generated by: https://openapi-generator.tech
*/
Expand Down
2 changes: 1 addition & 1 deletion src/models/create_user_conflict_response.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.11.1
* The version of the OpenAPI document: 5.11.2
* Contact: devrel@onesignal.com
* Generated by: https://openapi-generator.tech
*/
Expand Down
2 changes: 1 addition & 1 deletion src/models/create_user_conflict_response_errors_inner.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.11.1
* The version of the OpenAPI document: 5.11.2
* Contact: devrel@onesignal.com
* Generated by: https://openapi-generator.tech
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.11.1
* The version of the OpenAPI document: 5.11.2
* Contact: devrel@onesignal.com
* Generated by: https://openapi-generator.tech
*/
Expand Down
2 changes: 1 addition & 1 deletion src/models/custom_event.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.11.1
* The version of the OpenAPI document: 5.11.2
* Contact: devrel@onesignal.com
* Generated by: https://openapi-generator.tech
*/
Expand Down
2 changes: 1 addition & 1 deletion src/models/custom_events_request.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.11.1
* The version of the OpenAPI document: 5.11.2
* Contact: devrel@onesignal.com
* Generated by: https://openapi-generator.tech
*/
Expand Down
2 changes: 1 addition & 1 deletion src/models/delivery_data.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.11.1
* The version of the OpenAPI document: 5.11.2
* Contact: devrel@onesignal.com
* Generated by: https://openapi-generator.tech
*/
Expand Down
2 changes: 1 addition & 1 deletion src/models/export_events_success_response.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.11.1
* The version of the OpenAPI document: 5.11.2
* Contact: devrel@onesignal.com
* Generated by: https://openapi-generator.tech
*/
Expand Down
2 changes: 1 addition & 1 deletion src/models/export_subscriptions_request_body.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.11.1
* The version of the OpenAPI document: 5.11.2
* Contact: devrel@onesignal.com
* Generated by: https://openapi-generator.tech
*/
Expand Down
2 changes: 1 addition & 1 deletion src/models/export_subscriptions_success_response.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.11.1
* The version of the OpenAPI document: 5.11.2
* Contact: devrel@onesignal.com
* Generated by: https://openapi-generator.tech
*/
Expand Down
2 changes: 1 addition & 1 deletion src/models/filter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.11.1
* The version of the OpenAPI document: 5.11.2
* Contact: devrel@onesignal.com
* Generated by: https://openapi-generator.tech
*/
Expand Down
2 changes: 1 addition & 1 deletion src/models/filter_expression.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.11.1
* The version of the OpenAPI document: 5.11.2
* Contact: devrel@onesignal.com
* Generated by: https://openapi-generator.tech
*/
Expand Down
2 changes: 1 addition & 1 deletion src/models/generic_error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.11.1
* The version of the OpenAPI document: 5.11.2
* Contact: devrel@onesignal.com
* Generated by: https://openapi-generator.tech
*/
Expand Down
2 changes: 1 addition & 1 deletion src/models/generic_success_bool_response.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.11.1
* The version of the OpenAPI document: 5.11.2
* Contact: devrel@onesignal.com
* Generated by: https://openapi-generator.tech
*/
Expand Down
2 changes: 1 addition & 1 deletion src/models/get_notification_history_request_body.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.11.1
* The version of the OpenAPI document: 5.11.2
* Contact: devrel@onesignal.com
* Generated by: https://openapi-generator.tech
*/
Expand Down
2 changes: 1 addition & 1 deletion src/models/get_segment_success_response.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.11.1
* The version of the OpenAPI document: 5.11.2
* Contact: devrel@onesignal.com
* Generated by: https://openapi-generator.tech
*/
Expand Down
2 changes: 1 addition & 1 deletion src/models/get_segments_success_response.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.11.1
* The version of the OpenAPI document: 5.11.2
* Contact: devrel@onesignal.com
* Generated by: https://openapi-generator.tech
*/
Expand Down
2 changes: 1 addition & 1 deletion src/models/language_string_map.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.11.1
* The version of the OpenAPI document: 5.11.2
* Contact: devrel@onesignal.com
* Generated by: https://openapi-generator.tech
*/
Expand Down
2 changes: 1 addition & 1 deletion src/models/list_audit_logs_success_response.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.11.1
* The version of the OpenAPI document: 5.11.2
* Contact: devrel@onesignal.com
* Generated by: https://openapi-generator.tech
*/
Expand Down
2 changes: 1 addition & 1 deletion src/models/notification.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.11.1
* The version of the OpenAPI document: 5.11.2
* Contact: devrel@onesignal.com
* Generated by: https://openapi-generator.tech
*/
Expand Down
2 changes: 1 addition & 1 deletion src/models/notification_all_of.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.11.1
* The version of the OpenAPI document: 5.11.2
* Contact: devrel@onesignal.com
* Generated by: https://openapi-generator.tech
*/
Expand Down
Loading