Skip to content

Commit 373210a

Browse files
authored
Merge pull request #12 from OneSignal/api
Dependency Update
2 parents ffb1827 + fc53ee0 commit 373210a

File tree

127 files changed

+2213
-154
lines changed

Some content is hidden

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

127 files changed

+2213
-154
lines changed

README.md

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616

1717
A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
1818

19-
- API version: 1.0.1
20-
- Package version: 1.0.1
19+
- API version: 1.0.2
20+
- Package version: 1.0.2
2121
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
2222

2323
## Requirements.
@@ -83,13 +83,15 @@ All URIs are relative to *https://onesignal.com/api/v1*
8383

8484
Class | Method | HTTP request | Description
8585
------------ | ------------- | ------------- | -------------
86+
*DefaultApi* | [**begin_live_activity**](docs/DefaultApi.md#begin_live_activity) | **POST** /apps/{app_id}/live_activities/{activity_id}/token | Start Live Activity
8687
*DefaultApi* | [**cancel_notification**](docs/DefaultApi.md#cancel_notification) | **DELETE** /notifications/{notification_id} | Stop a scheduled or currently outgoing notification
8788
*DefaultApi* | [**create_app**](docs/DefaultApi.md#create_app) | **POST** /apps | Create an app
8889
*DefaultApi* | [**create_notification**](docs/DefaultApi.md#create_notification) | **POST** /notifications | Create notification
8990
*DefaultApi* | [**create_player**](docs/DefaultApi.md#create_player) | **POST** /players | Add a device
9091
*DefaultApi* | [**create_segments**](docs/DefaultApi.md#create_segments) | **POST** /apps/{app_id}/segments | Create Segments
9192
*DefaultApi* | [**delete_player**](docs/DefaultApi.md#delete_player) | **DELETE** /players/{player_id} | Delete a user record
9293
*DefaultApi* | [**delete_segments**](docs/DefaultApi.md#delete_segments) | **DELETE** /apps/{app_id}/segments/{segment_id} | Delete Segments
94+
*DefaultApi* | [**end_live_activity**](docs/DefaultApi.md#end_live_activity) | **DELETE** /apps/{app_id}/live_activities/{activity_id}/token/{subscription_id} | Stop Live Activity
9395
*DefaultApi* | [**export_players**](docs/DefaultApi.md#export_players) | **POST** /players/csv_export?app_id={app_id} | CSV export
9496
*DefaultApi* | [**get_app**](docs/DefaultApi.md#get_app) | **GET** /apps/{app_id} | View an app
9597
*DefaultApi* | [**get_apps**](docs/DefaultApi.md#get_apps) | **GET** /apps | View apps
@@ -100,6 +102,7 @@ Class | Method | HTTP request | Description
100102
*DefaultApi* | [**get_player**](docs/DefaultApi.md#get_player) | **GET** /players/{player_id} | View device
101103
*DefaultApi* | [**get_players**](docs/DefaultApi.md#get_players) | **GET** /players | View devices
102104
*DefaultApi* | [**update_app**](docs/DefaultApi.md#update_app) | **PUT** /apps/{app_id} | Update an app
105+
*DefaultApi* | [**update_live_activity**](docs/DefaultApi.md#update_live_activity) | **POST** /apps/{app_id}/live_activities/{activity_id}/notifications | Update a Live Activity via Push
103106
*DefaultApi* | [**update_player**](docs/DefaultApi.md#update_player) | **PUT** /players/{player_id} | Edit device
104107
*DefaultApi* | [**update_player_tags**](docs/DefaultApi.md#update_player_tags) | **PUT** /apps/{app_id}/users/{external_user_id} | Edit tags with external user id
105108

@@ -108,22 +111,20 @@ Class | Method | HTTP request | Description
108111

109112
- [App](docs/App.md)
110113
- [Apps](docs/Apps.md)
114+
- [BadRequestError](docs/BadRequestError.md)
111115
- [BasicNotification](docs/BasicNotification.md)
112116
- [BasicNotificationAllOf](docs/BasicNotificationAllOf.md)
113117
- [BasicNotificationAllOfAndroidBackgroundLayout](docs/BasicNotificationAllOfAndroidBackgroundLayout.md)
118+
- [BeginLiveActivityRequest](docs/BeginLiveActivityRequest.md)
114119
- [Button](docs/Button.md)
115120
- [Buttons](docs/Buttons.md)
116121
- [CancelNotificationSuccessResponse](docs/CancelNotificationSuccessResponse.md)
117-
- [CreateNotificationBadRequestResponse](docs/CreateNotificationBadRequestResponse.md)
118122
- [CreateNotificationSuccessResponse](docs/CreateNotificationSuccessResponse.md)
119123
- [CreatePlayerSuccessResponse](docs/CreatePlayerSuccessResponse.md)
120-
- [CreateSegmentBadRequestResponse](docs/CreateSegmentBadRequestResponse.md)
121124
- [CreateSegmentConflictResponse](docs/CreateSegmentConflictResponse.md)
122125
- [CreateSegmentSuccessResponse](docs/CreateSegmentSuccessResponse.md)
123-
- [DeletePlayerBadRequestResponse](docs/DeletePlayerBadRequestResponse.md)
124126
- [DeletePlayerNotFoundResponse](docs/DeletePlayerNotFoundResponse.md)
125127
- [DeletePlayerSuccessResponse](docs/DeletePlayerSuccessResponse.md)
126-
- [DeleteSegmentBadRequestResponse](docs/DeleteSegmentBadRequestResponse.md)
127128
- [DeleteSegmentNotFoundResponse](docs/DeleteSegmentNotFoundResponse.md)
128129
- [DeleteSegmentSuccessResponse](docs/DeleteSegmentSuccessResponse.md)
129130
- [DeliveryData](docs/DeliveryData.md)
@@ -137,7 +138,6 @@ Class | Method | HTTP request | Description
137138
- [Notification](docs/Notification.md)
138139
- [Notification200Errors](docs/Notification200Errors.md)
139140
- [NotificationAllOf](docs/NotificationAllOf.md)
140-
- [NotificationHistoryBadRequestResponse](docs/NotificationHistoryBadRequestResponse.md)
141141
- [NotificationHistorySuccessResponse](docs/NotificationHistorySuccessResponse.md)
142142
- [NotificationSlice](docs/NotificationSlice.md)
143143
- [NotificationTarget](docs/NotificationTarget.md)
@@ -157,6 +157,8 @@ Class | Method | HTTP request | Description
157157
- [Segment](docs/Segment.md)
158158
- [SegmentNotificationTarget](docs/SegmentNotificationTarget.md)
159159
- [StringMap](docs/StringMap.md)
160+
- [UpdateLiveActivityRequest](docs/UpdateLiveActivityRequest.md)
161+
- [UpdateLiveActivitySuccessResponse](docs/UpdateLiveActivitySuccessResponse.md)
160162
- [UpdatePlayerSuccessResponse](docs/UpdatePlayerSuccessResponse.md)
161163
- [UpdatePlayerTagsRequestBody](docs/UpdatePlayerTagsRequestBody.md)
162164
- [UpdatePlayerTagsSuccessResponse](docs/UpdatePlayerTagsSuccessResponse.md)

docs/App.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@ Name | Type | Description | Notes
2323
**safari_apns_certificates** | **str** | | [optional] [readonly]
2424
**safari_apns_p12** | **str** | Safari: Your apple push notification p12 certificate file for Safari Push Notifications, converted to a string and Base64 encoded. | [optional]
2525
**safari_apns_p12_password** | **str** | Safari: Password for safari_apns_p12 file | [optional]
26+
**apns_key_id** | **str** | iOS: Required if using p8. Unique identifier for the p8 authentication key. | [optional]
27+
**apns_team_id** | **str** | iOS: Required if using p8. Team ID generated by Apple for your developer account. | [optional]
28+
**apns_bundle_id** | **str** | iOS: Required if using p8. Bundle ID for your app in the Apple ecosystem. | [optional]
29+
**apns_p8** | **str** | iOS: Required if using p8. Base64 encoded p8 key | [optional]
2630
**safari_site_origin** | **str, none_type** | Safari (Recommended): The hostname to your website including http(s):// | [optional]
2731
**safari_push_id** | **str, none_type** | | [optional] [readonly]
2832
**safari_icon_16_16** | **str** | | [optional] [readonly]

docs/BadRequestError.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# BadRequestError
2+
3+
4+
## Properties
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**errors** | **[str]** | | [optional]
8+
**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional]
9+
10+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
11+
12+

docs/BasicNotification.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ Name | Type | Description | Notes
3232
**is_adm** | **bool, none_type** | Indicates whether to send to all devices registered under your app's Amazon Fire platform. | [optional]
3333
**is_chrome** | **bool, none_type** | This flag is not used for web push Please see isChromeWeb for sending to web push users. This flag only applies to Google Chrome Apps & Extensions. Indicates whether to send to all devices registered under your app's Google Chrome Apps & Extension platform. | [optional]
3434
**channel_for_external_user_ids** | **str** | Indicates if the message type when targeting with include_external_user_ids for cases where an email, sms, and/or push subscribers have the same external user id. Example: Use the string \"push\" to indicate you are sending a push notification or the string \"email\"for sending emails or \"sms\"for sending SMS. | [optional]
35-
**external_id** | **str, none_type** | Correlation and idempotency key. A request received with this parameter will first look for another notification with the same external_id. If one exists, a notification will not be sent, and result of the previous operation will instead be returned. Therefore, if you plan on using this feature, it's important to use a good source of randomness to generate the UUID passed here. This key is only idempotent for 30 days. After 30 days, the notification could be removed from our system and a notification with the same external_id will be sent again. See Idempotent Notification Requests for more details writeOnly: true | [optional]
35+
**external_id** | **str** | Correlation and idempotency key. A request received with this parameter will first look for another notification with the same external_id. If one exists, a notification will not be sent, and result of the previous operation will instead be returned. Therefore, if you plan on using this feature, it's important to use a good source of randomness to generate the UUID passed here. This key is only idempotent for 30 days. After 30 days, the notification could be removed from our system and a notification with the same external_id will be sent again. See Idempotent Notification Requests for more details writeOnly: true | [optional]
3636
**contents** | **bool, date, datetime, dict, float, int, list, str, none_type** | | [optional]
3737
**headings** | **bool, date, datetime, dict, float, int, list, str, none_type** | | [optional]
3838
**subtitle** | **bool, date, datetime, dict, float, int, list, str, none_type** | | [optional]

docs/BasicNotificationAllOf.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Name | Type | Description | Notes
2020
**is_chrome** | **bool, none_type** | This flag is not used for web push Please see isChromeWeb for sending to web push users. This flag only applies to Google Chrome Apps & Extensions. Indicates whether to send to all devices registered under your app's Google Chrome Apps & Extension platform. | [optional]
2121
**channel_for_external_user_ids** | **str** | Indicates if the message type when targeting with include_external_user_ids for cases where an email, sms, and/or push subscribers have the same external user id. Example: Use the string \"push\" to indicate you are sending a push notification or the string \"email\"for sending emails or \"sms\"for sending SMS. | [optional]
2222
**app_id** | **str** | Required: Your OneSignal Application ID, which can be found in Keys & IDs. It is a UUID and looks similar to 8250eaf6-1a58-489e-b136-7c74a864b434. | [optional]
23-
**external_id** | **str, none_type** | Correlation and idempotency key. A request received with this parameter will first look for another notification with the same external_id. If one exists, a notification will not be sent, and result of the previous operation will instead be returned. Therefore, if you plan on using this feature, it's important to use a good source of randomness to generate the UUID passed here. This key is only idempotent for 30 days. After 30 days, the notification could be removed from our system and a notification with the same external_id will be sent again. See Idempotent Notification Requests for more details writeOnly: true | [optional]
23+
**external_id** | **str** | Correlation and idempotency key. A request received with this parameter will first look for another notification with the same external_id. If one exists, a notification will not be sent, and result of the previous operation will instead be returned. Therefore, if you plan on using this feature, it's important to use a good source of randomness to generate the UUID passed here. This key is only idempotent for 30 days. After 30 days, the notification could be removed from our system and a notification with the same external_id will be sent again. See Idempotent Notification Requests for more details writeOnly: true | [optional]
2424
**contents** | **bool, date, datetime, dict, float, int, list, str, none_type** | | [optional]
2525
**headings** | **bool, date, datetime, dict, float, int, list, str, none_type** | | [optional]
2626
**subtitle** | **bool, date, datetime, dict, float, int, list, str, none_type** | | [optional]

docs/BeginLiveActivityRequest.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# BeginLiveActivityRequest
2+
3+
4+
## Properties
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**push_token** | **str** | |
8+
**subscription_id** | **str** | |
9+
**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional]
10+
11+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
12+
13+

0 commit comments

Comments
 (0)