diff --git a/docs/BasicNotification.md b/docs/BasicNotification.md index 8e4337c..b188ef1 100644 --- a/docs/BasicNotification.md +++ b/docs/BasicNotification.md @@ -49,6 +49,7 @@ Name | Type | Description | Notes **mutable_content** | Option<**bool**> | Channel: Push Notifications Platform: iOS 10+ Always defaults to true and cannot be turned off. Allows tracking of notification receives and changing of the notification content in your app before it is displayed. Triggers didReceive(_:withContentHandler:) on your UNNotificationServiceExtension. | [optional] **target_content_identifier** | Option<**String**> | Channel: Push Notifications Platform: iOS 13+ Use to target a specific experience in your App Clip, or to target your notification to a specific window in a multi-scene App. | [optional] **big_picture** | Option<**String**> | Channel: Push Notifications Platform: Android Picture to display in the expanded view. Can be a drawable resource name or a URL. | [optional] +**global_image** | Option<**String**> | Channel: Push Notifications Platform: All Picture to display on all platforms that support it. Must be a URL to an image file. Platform-specific picture fields (big_picture, huawei_big_picture, adm_big_picture, chrome_web_image, ios_attachments, firefox_icon) take precedence over this value when set. | [optional] **huawei_big_picture** | Option<**String**> | Channel: Push Notifications Platform: Huawei Picture to display in the expanded view. Can be a drawable resource name or a URL. | [optional] **adm_big_picture** | Option<**String**> | Channel: Push Notifications Platform: Amazon Picture to display in the expanded view. Can be a drawable resource name or a URL. | [optional] **chrome_big_picture** | Option<**String**> | Channel: Push Notifications Platform: ChromeApp Large picture to display below the notification text. Must be a local URL. | [optional] diff --git a/docs/BasicNotificationAllOf.md b/docs/BasicNotificationAllOf.md index 3b26450..6a37a2c 100644 --- a/docs/BasicNotificationAllOf.md +++ b/docs/BasicNotificationAllOf.md @@ -35,6 +35,7 @@ Name | Type | Description | Notes **mutable_content** | Option<**bool**> | Channel: Push Notifications Platform: iOS 10+ Always defaults to true and cannot be turned off. Allows tracking of notification receives and changing of the notification content in your app before it is displayed. Triggers didReceive(_:withContentHandler:) on your UNNotificationServiceExtension. | [optional] **target_content_identifier** | Option<**String**> | Channel: Push Notifications Platform: iOS 13+ Use to target a specific experience in your App Clip, or to target your notification to a specific window in a multi-scene App. | [optional] **big_picture** | Option<**String**> | Channel: Push Notifications Platform: Android Picture to display in the expanded view. Can be a drawable resource name or a URL. | [optional] +**global_image** | Option<**String**> | Channel: Push Notifications Platform: All Picture to display on all platforms that support it. Must be a URL to an image file. Platform-specific picture fields (big_picture, huawei_big_picture, adm_big_picture, chrome_web_image, ios_attachments, firefox_icon) take precedence over this value when set. | [optional] **huawei_big_picture** | Option<**String**> | Channel: Push Notifications Platform: Huawei Picture to display in the expanded view. Can be a drawable resource name or a URL. | [optional] **adm_big_picture** | Option<**String**> | Channel: Push Notifications Platform: Amazon Picture to display in the expanded view. Can be a drawable resource name or a URL. | [optional] **chrome_big_picture** | Option<**String**> | Channel: Push Notifications Platform: ChromeApp Large picture to display below the notification text. Must be a local URL. | [optional] diff --git a/docs/DefaultApi.md b/docs/DefaultApi.md index ca1da89..02792b7 100644 --- a/docs/DefaultApi.md +++ b/docs/DefaultApi.md @@ -22,7 +22,7 @@ Method | HTTP request | Description [**delete_subscription**](DefaultApi.md#delete_subscription) | **DELETE** /apps/{app_id}/subscriptions/{subscription_id} | [**delete_template**](DefaultApi.md#delete_template) | **DELETE** /templates/{template_id} | Delete template [**delete_user**](DefaultApi.md#delete_user) | **DELETE** /apps/{app_id}/users/by/{alias_label}/{alias_id} | -[**export_events**](DefaultApi.md#export_events) | **POST** /notifications/{notification_id}/export_events?app_id={app_id} | Export CSV of Events +[**export_events**](DefaultApi.md#export_events) | **POST** /notifications/{notification_id}/export_events | Export CSV of Events [**export_subscriptions**](DefaultApi.md#export_subscriptions) | **POST** /players/csv_export?app_id={app_id} | Export CSV of Subscriptions [**get_aliases**](DefaultApi.md#get_aliases) | **GET** /apps/{app_id}/users/by/{alias_label}/{alias_id}/identity | [**get_aliases_by_subscription**](DefaultApi.md#get_aliases_by_subscription) | **GET** /apps/{app_id}/subscriptions/{subscription_id}/user/identity | diff --git a/docs/Notification.md b/docs/Notification.md index 1383f50..96ca4ae 100644 --- a/docs/Notification.md +++ b/docs/Notification.md @@ -49,6 +49,7 @@ Name | Type | Description | Notes **mutable_content** | Option<**bool**> | Channel: Push Notifications Platform: iOS 10+ Always defaults to true and cannot be turned off. Allows tracking of notification receives and changing of the notification content in your app before it is displayed. Triggers didReceive(_:withContentHandler:) on your UNNotificationServiceExtension. | [optional] **target_content_identifier** | Option<**String**> | Channel: Push Notifications Platform: iOS 13+ Use to target a specific experience in your App Clip, or to target your notification to a specific window in a multi-scene App. | [optional] **big_picture** | Option<**String**> | Channel: Push Notifications Platform: Android Picture to display in the expanded view. Can be a drawable resource name or a URL. | [optional] +**global_image** | Option<**String**> | Channel: Push Notifications Platform: All Picture to display on all platforms that support it. Must be a URL to an image file. Platform-specific picture fields (big_picture, huawei_big_picture, adm_big_picture, chrome_web_image, ios_attachments, firefox_icon) take precedence over this value when set. | [optional] **huawei_big_picture** | Option<**String**> | Channel: Push Notifications Platform: Huawei Picture to display in the expanded view. Can be a drawable resource name or a URL. | [optional] **adm_big_picture** | Option<**String**> | Channel: Push Notifications Platform: Amazon Picture to display in the expanded view. Can be a drawable resource name or a URL. | [optional] **chrome_big_picture** | Option<**String**> | Channel: Push Notifications Platform: ChromeApp Large picture to display below the notification text. Must be a local URL. | [optional] diff --git a/docs/NotificationWithMeta.md b/docs/NotificationWithMeta.md index 570c68e..ead0132 100644 --- a/docs/NotificationWithMeta.md +++ b/docs/NotificationWithMeta.md @@ -49,6 +49,7 @@ Name | Type | Description | Notes **mutable_content** | Option<**bool**> | Channel: Push Notifications Platform: iOS 10+ Always defaults to true and cannot be turned off. Allows tracking of notification receives and changing of the notification content in your app before it is displayed. Triggers didReceive(_:withContentHandler:) on your UNNotificationServiceExtension. | [optional] **target_content_identifier** | Option<**String**> | Channel: Push Notifications Platform: iOS 13+ Use to target a specific experience in your App Clip, or to target your notification to a specific window in a multi-scene App. | [optional] **big_picture** | Option<**String**> | Channel: Push Notifications Platform: Android Picture to display in the expanded view. Can be a drawable resource name or a URL. | [optional] +**global_image** | Option<**String**> | Channel: Push Notifications Platform: All Picture to display on all platforms that support it. Must be a URL to an image file. Platform-specific picture fields (big_picture, huawei_big_picture, adm_big_picture, chrome_web_image, ios_attachments, firefox_icon) take precedence over this value when set. | [optional] **huawei_big_picture** | Option<**String**> | Channel: Push Notifications Platform: Huawei Picture to display in the expanded view. Can be a drawable resource name or a URL. | [optional] **adm_big_picture** | Option<**String**> | Channel: Push Notifications Platform: Amazon Picture to display in the expanded view. Can be a drawable resource name or a URL. | [optional] **chrome_big_picture** | Option<**String**> | Channel: Push Notifications Platform: ChromeApp Large picture to display below the notification text. Must be a local URL. | [optional] diff --git a/src/apis/default_api.rs b/src/apis/default_api.rs index 2d8f936..067b3ec 100644 --- a/src/apis/default_api.rs +++ b/src/apis/default_api.rs @@ -1160,7 +1160,7 @@ pub async fn export_events(configuration: &configuration::Configuration, notific let client = &configuration.client; - let uri_str = format!("{}/notifications/{notification_id}/export_events?app_id={app_id}", configuration.base_path, notification_id=crate::apis::urlencode(notification_id)); + let uri_str = format!("{}/notifications/{notification_id}/export_events", configuration.base_path, notification_id=crate::apis::urlencode(notification_id)); let mut req_builder = client.request(reqwest::Method::POST, uri_str.as_str()); req_builder = req_builder.query(&[("app_id", &app_id.to_string())]); diff --git a/src/models/basic_notification.rs b/src/models/basic_notification.rs index 173f313..8392170 100644 --- a/src/models/basic_notification.rs +++ b/src/models/basic_notification.rs @@ -141,6 +141,9 @@ pub struct BasicNotification { /// Channel: Push Notifications Platform: Android Picture to display in the expanded view. Can be a drawable resource name or a URL. #[serde(rename = "big_picture", skip_serializing_if = "Option::is_none")] pub big_picture: Option, + /// Channel: Push Notifications Platform: All Picture to display on all platforms that support it. Must be a URL to an image file. Platform-specific picture fields (big_picture, huawei_big_picture, adm_big_picture, chrome_web_image, ios_attachments, firefox_icon) take precedence over this value when set. + #[serde(rename = "global_image", skip_serializing_if = "Option::is_none")] + pub global_image: Option, /// Channel: Push Notifications Platform: Huawei Picture to display in the expanded view. Can be a drawable resource name or a URL. #[serde(rename = "huawei_big_picture", skip_serializing_if = "Option::is_none")] pub huawei_big_picture: Option, @@ -405,6 +408,7 @@ impl BasicNotification { mutable_content: None, target_content_identifier: None, big_picture: None, + global_image: None, huawei_big_picture: None, adm_big_picture: None, chrome_big_picture: None, diff --git a/src/models/basic_notification_all_of.rs b/src/models/basic_notification_all_of.rs index 7029b32..33c8c3a 100644 --- a/src/models/basic_notification_all_of.rs +++ b/src/models/basic_notification_all_of.rs @@ -100,6 +100,9 @@ pub struct BasicNotificationAllOf { /// Channel: Push Notifications Platform: Android Picture to display in the expanded view. Can be a drawable resource name or a URL. #[serde(rename = "big_picture", skip_serializing_if = "Option::is_none")] pub big_picture: Option, + /// Channel: Push Notifications Platform: All Picture to display on all platforms that support it. Must be a URL to an image file. Platform-specific picture fields (big_picture, huawei_big_picture, adm_big_picture, chrome_web_image, ios_attachments, firefox_icon) take precedence over this value when set. + #[serde(rename = "global_image", skip_serializing_if = "Option::is_none")] + pub global_image: Option, /// Channel: Push Notifications Platform: Huawei Picture to display in the expanded view. Can be a drawable resource name or a URL. #[serde(rename = "huawei_big_picture", skip_serializing_if = "Option::is_none")] pub huawei_big_picture: Option, @@ -350,6 +353,7 @@ impl BasicNotificationAllOf { mutable_content: None, target_content_identifier: None, big_picture: None, + global_image: None, huawei_big_picture: None, adm_big_picture: None, chrome_big_picture: None, diff --git a/src/models/notification.rs b/src/models/notification.rs index 6f336e0..c767cd5 100644 --- a/src/models/notification.rs +++ b/src/models/notification.rs @@ -141,6 +141,9 @@ pub struct Notification { /// Channel: Push Notifications Platform: Android Picture to display in the expanded view. Can be a drawable resource name or a URL. #[serde(rename = "big_picture", skip_serializing_if = "Option::is_none")] pub big_picture: Option, + /// Channel: Push Notifications Platform: All Picture to display on all platforms that support it. Must be a URL to an image file. Platform-specific picture fields (big_picture, huawei_big_picture, adm_big_picture, chrome_web_image, ios_attachments, firefox_icon) take precedence over this value when set. + #[serde(rename = "global_image", skip_serializing_if = "Option::is_none")] + pub global_image: Option, /// Channel: Push Notifications Platform: Huawei Picture to display in the expanded view. Can be a drawable resource name or a URL. #[serde(rename = "huawei_big_picture", skip_serializing_if = "Option::is_none")] pub huawei_big_picture: Option, @@ -408,6 +411,7 @@ impl Notification { mutable_content: None, target_content_identifier: None, big_picture: None, + global_image: None, huawei_big_picture: None, adm_big_picture: None, chrome_big_picture: None, diff --git a/src/models/notification_with_meta.rs b/src/models/notification_with_meta.rs index 8d19fcc..43d8151 100644 --- a/src/models/notification_with_meta.rs +++ b/src/models/notification_with_meta.rs @@ -141,6 +141,9 @@ pub struct NotificationWithMeta { /// Channel: Push Notifications Platform: Android Picture to display in the expanded view. Can be a drawable resource name or a URL. #[serde(rename = "big_picture", skip_serializing_if = "Option::is_none")] pub big_picture: Option, + /// Channel: Push Notifications Platform: All Picture to display on all platforms that support it. Must be a URL to an image file. Platform-specific picture fields (big_picture, huawei_big_picture, adm_big_picture, chrome_web_image, ios_attachments, firefox_icon) take precedence over this value when set. + #[serde(rename = "global_image", skip_serializing_if = "Option::is_none")] + pub global_image: Option, /// Channel: Push Notifications Platform: Huawei Picture to display in the expanded view. Can be a drawable resource name or a URL. #[serde(rename = "huawei_big_picture", skip_serializing_if = "Option::is_none")] pub huawei_big_picture: Option, @@ -442,6 +445,7 @@ impl NotificationWithMeta { mutable_content: None, target_content_identifier: None, big_picture: None, + global_image: None, huawei_big_picture: None, adm_big_picture: None, chrome_big_picture: None,