Skip to content

Commit ecfd578

Browse files
authored
Merge pull request #42 from OneSignal/user-api-updates
Add v5.2.0-beta1 package updates
2 parents 4033820 + 74fd4e9 commit ecfd578

File tree

65 files changed

+275
-151
lines changed

Some content is hidden

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

65 files changed

+275
-151
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -526,5 +526,5 @@ requires app_key and which user_key. You can get the value of these keys from yo
526526
527527

528528

529-
- API version: `5.1.0`
530-
- Package version: `5.1.0-beta1`
529+
- API version: `5.2.0`
530+
- Package version: `5.2.0-beta1`

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "onesignal/onesignal-php-api",
3-
"version": "5.1.0-beta1",
3+
"version": "5.2.0-beta1",
44
"description": "A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com",
55
"keywords": [
66
"onesignal",

docs/Model/BasicNotification.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@ Name | Type | Description | Notes
106106
**email_from_name** | **string** | Channel: Email The name the email is from. If not specified, will default to \"from name\" set in the OneSignal Dashboard Email Settings. | [optional]
107107
**email_from_address** | **string** | Channel: Email The email address the email is from. If not specified, will default to \"from email\" set in the OneSignal Dashboard Email Settings. | [optional]
108108
**email_preheader** | **string** | Channel: Email The preheader text of the email. Preheader is the preview text displayed immediately after an email subject that provides additional context about the email content. If not specified, will default to null. | [optional]
109+
**disable_email_click_tracking** | **bool** | Channel: Email Default is `false`. If set to `true`, the URLs sent within the email will not include link tracking and will be the same as originally set; otherwise, all the URLs in the email will be tracked. | [optional]
109110
**include_unsubscribed** | **bool** | Channel: Email Default is `false`. This field is used to send transactional notifications. If set to `true`, this notification will also be sent to unsubscribed emails. If a `template_id` is provided, the `include_unsubscribed` value from the template will be inherited. If you are using a third-party ESP, this field requires the ESP's list of unsubscribed emails to be cleared. | [optional]
110111
**sms_from** | **string** | Channel: SMS Phone Number used to send SMS. Should be a registered Twilio phone number in E.164 format. | [optional]
111112
**sms_media_urls** | **string[]** | Channel: SMS URLs for the media files to be attached to the SMS content. Limit: 10 media urls with a total max. size of 5MBs. | [optional]

docs/Model/BasicNotificationAllOf.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ Name | Type | Description | Notes
9393
**email_from_name** | **string** | Channel: Email The name the email is from. If not specified, will default to \"from name\" set in the OneSignal Dashboard Email Settings. | [optional]
9494
**email_from_address** | **string** | Channel: Email The email address the email is from. If not specified, will default to \"from email\" set in the OneSignal Dashboard Email Settings. | [optional]
9595
**email_preheader** | **string** | Channel: Email The preheader text of the email. Preheader is the preview text displayed immediately after an email subject that provides additional context about the email content. If not specified, will default to null. | [optional]
96+
**disable_email_click_tracking** | **bool** | Channel: Email Default is `false`. If set to `true`, the URLs sent within the email will not include link tracking and will be the same as originally set; otherwise, all the URLs in the email will be tracked. | [optional]
9697
**include_unsubscribed** | **bool** | Channel: Email Default is `false`. This field is used to send transactional notifications. If set to `true`, this notification will also be sent to unsubscribed emails. If a `template_id` is provided, the `include_unsubscribed` value from the template will be inherited. If you are using a third-party ESP, this field requires the ESP's list of unsubscribed emails to be cleared. | [optional]
9798
**sms_from** | **string** | Channel: SMS Phone Number used to send SMS. Should be a registered Twilio phone number in E.164 format. | [optional]
9899
**sms_media_urls** | **string[]** | Channel: SMS URLs for the media files to be attached to the SMS content. Limit: 10 media urls with a total max. size of 5MBs. | [optional]

docs/Model/Notification.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@ Name | Type | Description | Notes
106106
**email_from_name** | **string** | Channel: Email The name the email is from. If not specified, will default to \"from name\" set in the OneSignal Dashboard Email Settings. | [optional]
107107
**email_from_address** | **string** | Channel: Email The email address the email is from. If not specified, will default to \"from email\" set in the OneSignal Dashboard Email Settings. | [optional]
108108
**email_preheader** | **string** | Channel: Email The preheader text of the email. Preheader is the preview text displayed immediately after an email subject that provides additional context about the email content. If not specified, will default to null. | [optional]
109+
**disable_email_click_tracking** | **bool** | Channel: Email Default is `false`. If set to `true`, the URLs sent within the email will not include link tracking and will be the same as originally set; otherwise, all the URLs in the email will be tracked. | [optional]
109110
**include_unsubscribed** | **bool** | Channel: Email Default is `false`. This field is used to send transactional notifications. If set to `true`, this notification will also be sent to unsubscribed emails. If a `template_id` is provided, the `include_unsubscribed` value from the template will be inherited. If you are using a third-party ESP, this field requires the ESP's list of unsubscribed emails to be cleared. | [optional]
110111
**sms_from** | **string** | Channel: SMS Phone Number used to send SMS. Should be a registered Twilio phone number in E.164 format. | [optional]
111112
**sms_media_urls** | **string[]** | Channel: SMS URLs for the media files to be attached to the SMS content. Limit: 10 media urls with a total max. size of 5MBs. | [optional]

docs/Model/NotificationWithMeta.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@ Name | Type | Description | Notes
106106
**email_from_name** | **string** | Channel: Email The name the email is from. If not specified, will default to \"from name\" set in the OneSignal Dashboard Email Settings. | [optional]
107107
**email_from_address** | **string** | Channel: Email The email address the email is from. If not specified, will default to \"from email\" set in the OneSignal Dashboard Email Settings. | [optional]
108108
**email_preheader** | **string** | Channel: Email The preheader text of the email. Preheader is the preview text displayed immediately after an email subject that provides additional context about the email content. If not specified, will default to null. | [optional]
109+
**disable_email_click_tracking** | **bool** | Channel: Email Default is `false`. If set to `true`, the URLs sent within the email will not include link tracking and will be the same as originally set; otherwise, all the URLs in the email will be tracked. | [optional]
109110
**include_unsubscribed** | **bool** | Channel: Email Default is `false`. This field is used to send transactional notifications. If set to `true`, this notification will also be sent to unsubscribed emails. If a `template_id` is provided, the `include_unsubscribed` value from the template will be inherited. If you are using a third-party ESP, this field requires the ESP's list of unsubscribed emails to be cleared. | [optional]
110111
**sms_from** | **string** | Channel: SMS Phone Number used to send SMS. Should be a registered Twilio phone number in E.164 format. | [optional]
111112
**sms_media_urls** | **string[]** | Channel: SMS URLs for the media files to be attached to the SMS content. Limit: 10 media urls with a total max. size of 5MBs. | [optional]

lib/ApiException.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
*
1515
* A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
1616
*
17-
* The version of the OpenAPI document: 5.1.0
17+
* The version of the OpenAPI document: 5.2.0
1818
* Contact: [email protected]
1919
* Generated by: https://openapi-generator.tech
2020
* OpenAPI Generator version: 6.0.0-SNAPSHOT

lib/Configuration.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
*
1515
* A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
1616
*
17-
* The version of the OpenAPI document: 5.1.0
17+
* The version of the OpenAPI document: 5.2.0
1818
* Contact: [email protected]
1919
* Generated by: https://openapi-generator.tech
2020
* OpenAPI Generator version: 6.0.0-SNAPSHOT
@@ -99,7 +99,7 @@ class Configuration
9999
*
100100
* @var string
101101
*/
102-
protected $userAgent = 'OpenAPI-Generator/5.1.0-beta1/PHP';
102+
protected $userAgent = 'OpenAPI-Generator/5.2.0-beta1/PHP';
103103

104104
/**
105105
* Debug switch (default set to false)
@@ -430,8 +430,8 @@ public static function toDebugReport()
430430
$report = 'PHP SDK (onesignal\client) Debug Report:' . PHP_EOL;
431431
$report .= ' OS: ' . php_uname() . PHP_EOL;
432432
$report .= ' PHP Version: ' . PHP_VERSION . PHP_EOL;
433-
$report .= ' The version of the OpenAPI document: 5.1.0' . PHP_EOL;
434-
$report .= ' SDK Package Version: 5.1.0-beta1' . PHP_EOL;
433+
$report .= ' The version of the OpenAPI document: 5.2.0' . PHP_EOL;
434+
$report .= ' SDK Package Version: 5.2.0-beta1' . PHP_EOL;
435435
$report .= ' Temp Folder Path: ' . self::getDefaultConfiguration()->getTempFolderPath() . PHP_EOL;
436436

437437
return $report;

lib/HeaderSelector.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
*
1515
* A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
1616
*
17-
* The version of the OpenAPI document: 5.1.0
17+
* The version of the OpenAPI document: 5.2.0
1818
* Contact: [email protected]
1919
* Generated by: https://openapi-generator.tech
2020
* OpenAPI Generator version: 6.0.0-SNAPSHOT

lib/ObjectSerializer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
*
1616
* A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
1717
*
18-
* The version of the OpenAPI document: 5.1.0
18+
* The version of the OpenAPI document: 5.2.0
1919
* Contact: [email protected]
2020
* Generated by: https://openapi-generator.tech
2121
* OpenAPI Generator version: 6.0.0-SNAPSHOT

0 commit comments

Comments
 (0)