@onesignal/node-onesignal 5.0.0-alpha-01 → 5.0.0-alpha-02

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (157) hide show
  1. package/DefaultApi.md +1 -1
  2. package/README.md +7 -7
  3. package/apis/DefaultApi.ts +36 -30
  4. package/dist/apis/DefaultApi.js +42 -35
  5. package/dist/apis/DefaultApi.js.map +1 -1
  6. package/dist/http/http.d.ts +1 -0
  7. package/dist/jest.config.d.ts +15 -0
  8. package/dist/jest.config.js +17 -0
  9. package/dist/jest.config.js.map +1 -0
  10. package/dist/models/BeginLiveActivityRequest.d.ts +18 -0
  11. package/dist/models/BeginLiveActivityRequest.js +28 -0
  12. package/dist/models/BeginLiveActivityRequest.js.map +1 -0
  13. package/dist/models/CancelNotificationSuccessResponse.d.ts +17 -0
  14. package/dist/models/CancelNotificationSuccessResponse.js +22 -0
  15. package/dist/models/CancelNotificationSuccessResponse.js.map +1 -0
  16. package/dist/models/CreatePlayerSuccessResponse.d.ts +18 -0
  17. package/dist/models/CreatePlayerSuccessResponse.js +28 -0
  18. package/dist/models/CreatePlayerSuccessResponse.js.map +1 -0
  19. package/dist/models/CreateSubscriptionRequestBody.d.ts +19 -0
  20. package/dist/models/CreateSubscriptionRequestBody.js +28 -0
  21. package/dist/models/CreateSubscriptionRequestBody.js.map +1 -0
  22. package/dist/models/DeletePlayerNotFoundResponse.d.ts +17 -0
  23. package/dist/models/DeletePlayerNotFoundResponse.js +22 -0
  24. package/dist/models/DeletePlayerNotFoundResponse.js.map +1 -0
  25. package/dist/models/DeletePlayerSuccessResponse.d.ts +17 -0
  26. package/dist/models/DeletePlayerSuccessResponse.js +22 -0
  27. package/dist/models/DeletePlayerSuccessResponse.js.map +1 -0
  28. package/dist/models/DeleteSegmentNotFoundResponse.d.ts +17 -0
  29. package/dist/models/DeleteSegmentNotFoundResponse.js +22 -0
  30. package/dist/models/DeleteSegmentNotFoundResponse.js.map +1 -0
  31. package/dist/models/DeleteSegmentSuccessResponse.d.ts +17 -0
  32. package/dist/models/DeleteSegmentSuccessResponse.js +22 -0
  33. package/dist/models/DeleteSegmentSuccessResponse.js.map +1 -0
  34. package/dist/models/ExportPlayersRequestBody.d.ts +19 -0
  35. package/dist/models/ExportPlayersRequestBody.js +34 -0
  36. package/dist/models/ExportPlayersRequestBody.js.map +1 -0
  37. package/dist/models/ExportPlayersSuccessResponse.d.ts +17 -0
  38. package/dist/models/ExportPlayersSuccessResponse.js +22 -0
  39. package/dist/models/ExportPlayersSuccessResponse.js.map +1 -0
  40. package/dist/models/FilterExpressions.d.ts +23 -0
  41. package/dist/models/FilterExpressions.js +46 -0
  42. package/dist/models/FilterExpressions.js.map +1 -0
  43. package/dist/models/GetNotificationRequestBody.d.ts +20 -0
  44. package/dist/models/GetNotificationRequestBody.js +34 -0
  45. package/dist/models/GetNotificationRequestBody.js.map +1 -0
  46. package/dist/models/InlineResponse200.d.ts +19 -0
  47. package/dist/models/InlineResponse200.js +22 -0
  48. package/dist/models/InlineResponse200.js.map +1 -0
  49. package/dist/models/InlineResponse2003.d.ts +17 -0
  50. package/dist/models/InlineResponse2003.js +22 -0
  51. package/dist/models/InlineResponse2003.js.map +1 -0
  52. package/dist/models/InlineResponse201.d.ts +18 -0
  53. package/dist/models/InlineResponse201.js +22 -0
  54. package/dist/models/InlineResponse201.js.map +1 -0
  55. package/dist/models/InlineResponse202.d.ts +18 -0
  56. package/dist/models/InlineResponse202.js +22 -0
  57. package/dist/models/InlineResponse202.js.map +1 -0
  58. package/dist/models/Notification200Errors.d.ts +18 -0
  59. package/dist/models/Notification200Errors.js +28 -0
  60. package/dist/models/Notification200Errors.js.map +1 -0
  61. package/dist/models/Player.d.ts +43 -0
  62. package/dist/models/Player.js +178 -0
  63. package/dist/models/Player.js.map +1 -0
  64. package/dist/models/PlayerNotificationTarget.d.ts +30 -0
  65. package/dist/models/PlayerNotificationTarget.js +88 -0
  66. package/dist/models/PlayerNotificationTarget.js.map +1 -0
  67. package/dist/models/PlayerNotificationTargetIncludeAliases.d.ts +17 -0
  68. package/dist/models/PlayerNotificationTargetIncludeAliases.js +22 -0
  69. package/dist/models/PlayerNotificationTargetIncludeAliases.js.map +1 -0
  70. package/dist/models/PlayerSlice.d.ts +21 -0
  71. package/dist/models/PlayerSlice.js +40 -0
  72. package/dist/models/PlayerSlice.js.map +1 -0
  73. package/dist/models/StringMap.d.ts +59 -0
  74. package/dist/models/StringMap.js +274 -0
  75. package/dist/models/StringMap.js.map +1 -0
  76. package/dist/models/SubscriptionObject.d.ts +34 -0
  77. package/dist/models/SubscriptionObject.js +118 -0
  78. package/dist/models/SubscriptionObject.js.map +1 -0
  79. package/dist/models/UpdatePlayerSuccessResponse.d.ts +17 -0
  80. package/dist/models/UpdatePlayerSuccessResponse.js +22 -0
  81. package/dist/models/UpdatePlayerSuccessResponse.js.map +1 -0
  82. package/dist/models/UpdatePlayerTagsRequestBody.d.ts +17 -0
  83. package/dist/models/UpdatePlayerTagsRequestBody.js +22 -0
  84. package/dist/models/UpdatePlayerTagsRequestBody.js.map +1 -0
  85. package/dist/models/UpdatePlayerTagsSuccessResponse.d.ts +17 -0
  86. package/dist/models/UpdatePlayerTagsSuccessResponse.js +22 -0
  87. package/dist/models/UpdatePlayerTagsSuccessResponse.js.map +1 -0
  88. package/dist/models/UpdateSubscriptionRequestBody.d.ts +18 -0
  89. package/dist/models/UpdateSubscriptionRequestBody.js +22 -0
  90. package/dist/models/UpdateSubscriptionRequestBody.js.map +1 -0
  91. package/dist/models/UserIdentityRequestBody.d.ts +19 -0
  92. package/dist/models/UserIdentityRequestBody.js +22 -0
  93. package/dist/models/UserIdentityRequestBody.js.map +1 -0
  94. package/dist/models/UserIdentityResponse.d.ts +19 -0
  95. package/dist/models/UserIdentityResponse.js +22 -0
  96. package/dist/models/UserIdentityResponse.js.map +1 -0
  97. package/dist/models/UserSubscriptionOptions.d.ts +17 -0
  98. package/dist/models/UserSubscriptionOptions.js +22 -0
  99. package/dist/models/UserSubscriptionOptions.js.map +1 -0
  100. package/dist/test/DefaultApi.test.d.ts +1 -0
  101. package/dist/test/DefaultApi.test.js +49 -0
  102. package/dist/test/DefaultApi.test.js.map +1 -0
  103. package/models/App.ts +1 -1
  104. package/models/BasicNotification.ts +1 -1
  105. package/models/BasicNotificationAllOf.ts +1 -1
  106. package/models/BasicNotificationAllOfAndroidBackgroundLayout.ts +1 -1
  107. package/models/Button.ts +1 -1
  108. package/models/CreateNotificationSuccessResponse.ts +1 -1
  109. package/models/CreateSegmentConflictResponse.ts +1 -1
  110. package/models/CreateSegmentSuccessResponse.ts +1 -1
  111. package/models/CreateUserConflictResponse.ts +1 -1
  112. package/models/CreateUserConflictResponseErrorsInner.ts +1 -1
  113. package/models/CreateUserConflictResponseErrorsItemsMeta.ts +1 -1
  114. package/models/DeliveryData.ts +1 -1
  115. package/models/ExportEventsSuccessResponse.ts +1 -1
  116. package/models/ExportSubscriptionsRequestBody.ts +1 -1
  117. package/models/ExportSubscriptionsSuccessResponse.ts +1 -1
  118. package/models/Filter.ts +1 -1
  119. package/models/FilterExpression.ts +1 -1
  120. package/models/GenericError.ts +1 -1
  121. package/models/GenericSuccessBoolResponse.ts +1 -1
  122. package/models/GetNotificationHistoryRequestBody.ts +1 -1
  123. package/models/GetSegmentsSuccessResponse.ts +1 -1
  124. package/models/InvalidIdentifierError.ts +1 -1
  125. package/models/LanguageStringMap.ts +1 -1
  126. package/models/Notification.ts +1 -1
  127. package/models/NotificationAllOf.ts +1 -1
  128. package/models/NotificationHistorySuccessResponse.ts +1 -1
  129. package/models/NotificationSlice.ts +1 -1
  130. package/models/NotificationTarget.ts +1 -1
  131. package/models/NotificationWithMeta.ts +1 -1
  132. package/models/NotificationWithMetaAllOf.ts +1 -1
  133. package/models/Operator.ts +1 -1
  134. package/models/OutcomeData.ts +1 -1
  135. package/models/OutcomesData.ts +1 -1
  136. package/models/PlatformDeliveryData.ts +1 -1
  137. package/models/PlatformDeliveryDataEmailAllOf.ts +1 -1
  138. package/models/PlatformDeliveryDataSmsAllOf.ts +1 -1
  139. package/models/PropertiesBody.ts +1 -1
  140. package/models/PropertiesDeltas.ts +1 -1
  141. package/models/PropertiesObject.ts +1 -1
  142. package/models/Purchase.ts +1 -1
  143. package/models/RateLimitError.ts +1 -1
  144. package/models/Segment.ts +1 -1
  145. package/models/SegmentData.ts +1 -1
  146. package/models/SegmentNotificationTarget.ts +1 -1
  147. package/models/Subscription.ts +1 -1
  148. package/models/SubscriptionBody.ts +1 -1
  149. package/models/SubscriptionNotificationTarget.ts +1 -1
  150. package/models/TransferSubscriptionRequestBody.ts +1 -1
  151. package/models/UpdateLiveActivityRequest.ts +1 -1
  152. package/models/UpdateLiveActivitySuccessResponse.ts +1 -1
  153. package/models/UpdateUserRequest.ts +1 -1
  154. package/models/User.ts +1 -1
  155. package/models/UserIdentityBody.ts +1 -1
  156. package/models/WebButton.ts +1 -1
  157. package/package.json +2 -2
@@ -0,0 +1 @@
1
+ {"version":3,"file":"UpdateSubscriptionRequestBody.js","sourceRoot":"","sources":["../../models/UpdateSubscriptionRequestBody.ts"],"names":[],"mappings":";;;AAWA;IAiBI;IACA,CAAC;IALM,iDAAmB,GAA1B;QACI,OAAO,6BAA6B,CAAC,gBAAgB,CAAC;IAC1D,CAAC;IAZe,2CAAa,GAAuB,SAAS,CAAC;IAE9C,8CAAgB,GAA0E;QACtG;YACI,MAAM,EAAE,cAAc;YACtB,UAAU,EAAE,cAAc;YAC1B,MAAM,EAAE,oBAAoB;YAC5B,QAAQ,EAAE,EAAE;SACf;KAAK,CAAC;IAQf,oCAAC;CAAA,AAnBD,IAmBC;AAnBY,sEAA6B"}
@@ -0,0 +1,19 @@
1
+ export declare class UserIdentityRequestBody {
2
+ 'identity'?: {
3
+ [key: string]: any;
4
+ };
5
+ static readonly discriminator: string | undefined;
6
+ static readonly attributeTypeMap: Array<{
7
+ name: string;
8
+ baseName: string;
9
+ type: string;
10
+ format: string;
11
+ }>;
12
+ static getAttributeTypeMap(): {
13
+ name: string;
14
+ baseName: string;
15
+ type: string;
16
+ format: string;
17
+ }[];
18
+ constructor();
19
+ }
@@ -0,0 +1,22 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UserIdentityRequestBody = void 0;
4
+ var UserIdentityRequestBody = (function () {
5
+ function UserIdentityRequestBody() {
6
+ }
7
+ UserIdentityRequestBody.getAttributeTypeMap = function () {
8
+ return UserIdentityRequestBody.attributeTypeMap;
9
+ };
10
+ UserIdentityRequestBody.discriminator = undefined;
11
+ UserIdentityRequestBody.attributeTypeMap = [
12
+ {
13
+ "name": "identity",
14
+ "baseName": "identity",
15
+ "type": "{ [key: string]: any; }",
16
+ "format": ""
17
+ }
18
+ ];
19
+ return UserIdentityRequestBody;
20
+ }());
21
+ exports.UserIdentityRequestBody = UserIdentityRequestBody;
22
+ //# sourceMappingURL=UserIdentityRequestBody.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"UserIdentityRequestBody.js","sourceRoot":"","sources":["../../models/UserIdentityRequestBody.ts"],"names":[],"mappings":";;;AAUA;IAiBI;IACA,CAAC;IALM,2CAAmB,GAA1B;QACI,OAAO,uBAAuB,CAAC,gBAAgB,CAAC;IACpD,CAAC;IAZe,qCAAa,GAAuB,SAAS,CAAC;IAE9C,wCAAgB,GAA0E;QACtG;YACI,MAAM,EAAE,UAAU;YAClB,UAAU,EAAE,UAAU;YACtB,MAAM,EAAE,yBAAyB;YACjC,QAAQ,EAAE,EAAE;SACf;KAAK,CAAC;IAQf,8BAAC;CAAA,AAnBD,IAmBC;AAnBY,0DAAuB"}
@@ -0,0 +1,19 @@
1
+ export declare class UserIdentityResponse {
2
+ 'identity'?: {
3
+ [key: string]: any;
4
+ };
5
+ static readonly discriminator: string | undefined;
6
+ static readonly attributeTypeMap: Array<{
7
+ name: string;
8
+ baseName: string;
9
+ type: string;
10
+ format: string;
11
+ }>;
12
+ static getAttributeTypeMap(): {
13
+ name: string;
14
+ baseName: string;
15
+ type: string;
16
+ format: string;
17
+ }[];
18
+ constructor();
19
+ }
@@ -0,0 +1,22 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UserIdentityResponse = void 0;
4
+ var UserIdentityResponse = (function () {
5
+ function UserIdentityResponse() {
6
+ }
7
+ UserIdentityResponse.getAttributeTypeMap = function () {
8
+ return UserIdentityResponse.attributeTypeMap;
9
+ };
10
+ UserIdentityResponse.discriminator = undefined;
11
+ UserIdentityResponse.attributeTypeMap = [
12
+ {
13
+ "name": "identity",
14
+ "baseName": "identity",
15
+ "type": "{ [key: string]: any; }",
16
+ "format": ""
17
+ }
18
+ ];
19
+ return UserIdentityResponse;
20
+ }());
21
+ exports.UserIdentityResponse = UserIdentityResponse;
22
+ //# sourceMappingURL=UserIdentityResponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"UserIdentityResponse.js","sourceRoot":"","sources":["../../models/UserIdentityResponse.ts"],"names":[],"mappings":";;;AAUA;IAiBI;IACA,CAAC;IALM,wCAAmB,GAA1B;QACI,OAAO,oBAAoB,CAAC,gBAAgB,CAAC;IACjD,CAAC;IAZe,kCAAa,GAAuB,SAAS,CAAC;IAE9C,qCAAgB,GAA0E;QACtG;YACI,MAAM,EAAE,UAAU;YAClB,UAAU,EAAE,UAAU;YACtB,MAAM,EAAE,yBAAyB;YACjC,QAAQ,EAAE,EAAE;SACf;KAAK,CAAC;IAQf,2BAAC;CAAA,AAnBD,IAmBC;AAnBY,oDAAoB"}
@@ -0,0 +1,17 @@
1
+ export declare class UserSubscriptionOptions {
2
+ 'retain_previous_owner'?: boolean;
3
+ static readonly discriminator: string | undefined;
4
+ static readonly attributeTypeMap: Array<{
5
+ name: string;
6
+ baseName: string;
7
+ type: string;
8
+ format: string;
9
+ }>;
10
+ static getAttributeTypeMap(): {
11
+ name: string;
12
+ baseName: string;
13
+ type: string;
14
+ format: string;
15
+ }[];
16
+ constructor();
17
+ }
@@ -0,0 +1,22 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UserSubscriptionOptions = void 0;
4
+ var UserSubscriptionOptions = (function () {
5
+ function UserSubscriptionOptions() {
6
+ }
7
+ UserSubscriptionOptions.getAttributeTypeMap = function () {
8
+ return UserSubscriptionOptions.attributeTypeMap;
9
+ };
10
+ UserSubscriptionOptions.discriminator = undefined;
11
+ UserSubscriptionOptions.attributeTypeMap = [
12
+ {
13
+ "name": "retain_previous_owner",
14
+ "baseName": "retain_previous_owner",
15
+ "type": "boolean",
16
+ "format": ""
17
+ }
18
+ ];
19
+ return UserSubscriptionOptions;
20
+ }());
21
+ exports.UserSubscriptionOptions = UserSubscriptionOptions;
22
+ //# sourceMappingURL=UserSubscriptionOptions.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"UserSubscriptionOptions.js","sourceRoot":"","sources":["../../models/UserSubscriptionOptions.ts"],"names":[],"mappings":";;;AAUA;IAiBI;IACA,CAAC;IALM,2CAAmB,GAA1B;QACI,OAAO,uBAAuB,CAAC,gBAAgB,CAAC;IACpD,CAAC;IAZe,qCAAa,GAAuB,SAAS,CAAC;IAE9C,wCAAgB,GAA0E;QACtG;YACI,MAAM,EAAE,uBAAuB;YAC/B,UAAU,EAAE,uBAAuB;YACnC,MAAM,EAAE,SAAS;YACjB,QAAQ,EAAE,EAAE;SACf;KAAK,CAAC;IAQf,8BAAC;CAAA,AAnBD,IAmBC;AAnBY,0DAAuB"}
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,49 @@
1
+ "use strict";
2
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
3
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
4
+ return new (P || (P = Promise))(function (resolve, reject) {
5
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
6
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
7
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
8
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
9
+ });
10
+ };
11
+ var __generator = (this && this.__generator) || function (thisArg, body) {
12
+ var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
13
+ return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
14
+ function verb(n) { return function (v) { return step([n, v]); }; }
15
+ function step(op) {
16
+ if (f) throw new TypeError("Generator is already executing.");
17
+ while (g && (g = 0, op[0] && (_ = 0)), _) try {
18
+ if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
19
+ if (y = 0, t) op = [op[0] & 2, t.value];
20
+ switch (op[0]) {
21
+ case 0: case 1: t = op; break;
22
+ case 4: _.label++; return { value: op[1], done: false };
23
+ case 5: _.label++; y = op[1]; op = [0]; continue;
24
+ case 7: op = _.ops.pop(); _.trys.pop(); continue;
25
+ default:
26
+ if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
27
+ if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
28
+ if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
29
+ if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
30
+ if (t[2]) _.ops.pop();
31
+ _.trys.pop(); continue;
32
+ }
33
+ op = body.call(thisArg, _);
34
+ } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
35
+ if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
36
+ }
37
+ };
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ describe('DefaultApi', function () {
40
+ describe('cancelNotification', function () {
41
+ it('should cancel a notification successfully', function () { return __awaiter(void 0, void 0, void 0, function () {
42
+ return __generator(this, function (_a) {
43
+ expect(true).toBe(true);
44
+ return [2];
45
+ });
46
+ }); });
47
+ });
48
+ });
49
+ //# sourceMappingURL=DefaultApi.test.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DefaultApi.test.js","sourceRoot":"","sources":["../../test/DefaultApi.test.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,QAAQ,CAAC,YAAY,EAAE;IACnB,QAAQ,CAAC,oBAAoB,EAAE;QAC3B,EAAE,CAAC,2CAA2C,EAAE;;gBAC5C,MAAM,CAAC,IAAI,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;;;aAC3B,CAAC,CAAC;IACP,CAAC,CAAC,CAAC;AAqIP,CAAC,CAAC,CAAC"}
package/models/App.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * OneSignal
3
3
  * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
4
4
  *
5
- * API Version: 5.0.0-alpha-01
5
+ * API Version: 5.0.1
6
6
  * Contact: devrel@onesignal.com
7
7
  */
8
8
 
@@ -2,7 +2,7 @@
2
2
  * OneSignal
3
3
  * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
4
4
  *
5
- * API Version: 5.0.0-alpha-01
5
+ * API Version: 5.0.1
6
6
  * Contact: devrel@onesignal.com
7
7
  */
8
8
 
@@ -2,7 +2,7 @@
2
2
  * OneSignal
3
3
  * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
4
4
  *
5
- * API Version: 5.0.0-alpha-01
5
+ * API Version: 5.0.1
6
6
  * Contact: devrel@onesignal.com
7
7
  */
8
8
 
@@ -2,7 +2,7 @@
2
2
  * OneSignal
3
3
  * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
4
4
  *
5
- * API Version: 5.0.0-alpha-01
5
+ * API Version: 5.0.1
6
6
  * Contact: devrel@onesignal.com
7
7
  */
8
8
 
package/models/Button.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * OneSignal
3
3
  * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
4
4
  *
5
- * API Version: 5.0.0-alpha-01
5
+ * API Version: 5.0.1
6
6
  * Contact: devrel@onesignal.com
7
7
  */
8
8
 
@@ -2,7 +2,7 @@
2
2
  * OneSignal
3
3
  * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
4
4
  *
5
- * API Version: 5.0.0-alpha-01
5
+ * API Version: 5.0.1
6
6
  * Contact: devrel@onesignal.com
7
7
  */
8
8
 
@@ -2,7 +2,7 @@
2
2
  * OneSignal
3
3
  * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
4
4
  *
5
- * API Version: 5.0.0-alpha-01
5
+ * API Version: 5.0.1
6
6
  * Contact: devrel@onesignal.com
7
7
  */
8
8
 
@@ -2,7 +2,7 @@
2
2
  * OneSignal
3
3
  * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
4
4
  *
5
- * API Version: 5.0.0-alpha-01
5
+ * API Version: 5.0.1
6
6
  * Contact: devrel@onesignal.com
7
7
  */
8
8
 
@@ -2,7 +2,7 @@
2
2
  * OneSignal
3
3
  * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
4
4
  *
5
- * API Version: 5.0.0-alpha-01
5
+ * API Version: 5.0.1
6
6
  * Contact: devrel@onesignal.com
7
7
  */
8
8
 
@@ -2,7 +2,7 @@
2
2
  * OneSignal
3
3
  * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
4
4
  *
5
- * API Version: 5.0.0-alpha-01
5
+ * API Version: 5.0.1
6
6
  * Contact: devrel@onesignal.com
7
7
  */
8
8
 
@@ -2,7 +2,7 @@
2
2
  * OneSignal
3
3
  * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
4
4
  *
5
- * API Version: 5.0.0-alpha-01
5
+ * API Version: 5.0.1
6
6
  * Contact: devrel@onesignal.com
7
7
  */
8
8
 
@@ -2,7 +2,7 @@
2
2
  * OneSignal
3
3
  * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
4
4
  *
5
- * API Version: 5.0.0-alpha-01
5
+ * API Version: 5.0.1
6
6
  * Contact: devrel@onesignal.com
7
7
  */
8
8
 
@@ -2,7 +2,7 @@
2
2
  * OneSignal
3
3
  * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
4
4
  *
5
- * API Version: 5.0.0-alpha-01
5
+ * API Version: 5.0.1
6
6
  * Contact: devrel@onesignal.com
7
7
  */
8
8
 
@@ -2,7 +2,7 @@
2
2
  * OneSignal
3
3
  * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
4
4
  *
5
- * API Version: 5.0.0-alpha-01
5
+ * API Version: 5.0.1
6
6
  * Contact: devrel@onesignal.com
7
7
  */
8
8
 
@@ -2,7 +2,7 @@
2
2
  * OneSignal
3
3
  * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
4
4
  *
5
- * API Version: 5.0.0-alpha-01
5
+ * API Version: 5.0.1
6
6
  * Contact: devrel@onesignal.com
7
7
  */
8
8
 
package/models/Filter.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * OneSignal
3
3
  * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
4
4
  *
5
- * API Version: 5.0.0-alpha-01
5
+ * API Version: 5.0.1
6
6
  * Contact: devrel@onesignal.com
7
7
  */
8
8
 
@@ -2,7 +2,7 @@
2
2
  * OneSignal
3
3
  * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
4
4
  *
5
- * API Version: 5.0.0-alpha-01
5
+ * API Version: 5.0.1
6
6
  * Contact: devrel@onesignal.com
7
7
  */
8
8
 
@@ -2,7 +2,7 @@
2
2
  * OneSignal
3
3
  * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
4
4
  *
5
- * API Version: 5.0.0-alpha-01
5
+ * API Version: 5.0.1
6
6
  * Contact: devrel@onesignal.com
7
7
  */
8
8
 
@@ -2,7 +2,7 @@
2
2
  * OneSignal
3
3
  * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
4
4
  *
5
- * API Version: 5.0.0-alpha-01
5
+ * API Version: 5.0.1
6
6
  * Contact: devrel@onesignal.com
7
7
  */
8
8
 
@@ -2,7 +2,7 @@
2
2
  * OneSignal
3
3
  * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
4
4
  *
5
- * API Version: 5.0.0-alpha-01
5
+ * API Version: 5.0.1
6
6
  * Contact: devrel@onesignal.com
7
7
  */
8
8
 
@@ -2,7 +2,7 @@
2
2
  * OneSignal
3
3
  * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
4
4
  *
5
- * API Version: 5.0.0-alpha-01
5
+ * API Version: 5.0.1
6
6
  * Contact: devrel@onesignal.com
7
7
  */
8
8
 
@@ -2,7 +2,7 @@
2
2
  * OneSignal
3
3
  * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
4
4
  *
5
- * API Version: 5.0.0-alpha-01
5
+ * API Version: 5.0.1
6
6
  * Contact: devrel@onesignal.com
7
7
  */
8
8
 
@@ -2,7 +2,7 @@
2
2
  * OneSignal
3
3
  * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
4
4
  *
5
- * API Version: 5.0.0-alpha-01
5
+ * API Version: 5.0.1
6
6
  * Contact: devrel@onesignal.com
7
7
  */
8
8
 
@@ -2,7 +2,7 @@
2
2
  * OneSignal
3
3
  * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
4
4
  *
5
- * API Version: 5.0.0-alpha-01
5
+ * API Version: 5.0.1
6
6
  * Contact: devrel@onesignal.com
7
7
  */
8
8
 
@@ -2,7 +2,7 @@
2
2
  * OneSignal
3
3
  * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
4
4
  *
5
- * API Version: 5.0.0-alpha-01
5
+ * API Version: 5.0.1
6
6
  * Contact: devrel@onesignal.com
7
7
  */
8
8
 
@@ -2,7 +2,7 @@
2
2
  * OneSignal
3
3
  * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
4
4
  *
5
- * API Version: 5.0.0-alpha-01
5
+ * API Version: 5.0.1
6
6
  * Contact: devrel@onesignal.com
7
7
  */
8
8
 
@@ -2,7 +2,7 @@
2
2
  * OneSignal
3
3
  * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
4
4
  *
5
- * API Version: 5.0.0-alpha-01
5
+ * API Version: 5.0.1
6
6
  * Contact: devrel@onesignal.com
7
7
  */
8
8
 
@@ -2,7 +2,7 @@
2
2
  * OneSignal
3
3
  * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
4
4
  *
5
- * API Version: 5.0.0-alpha-01
5
+ * API Version: 5.0.1
6
6
  * Contact: devrel@onesignal.com
7
7
  */
8
8
 
@@ -2,7 +2,7 @@
2
2
  * OneSignal
3
3
  * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
4
4
  *
5
- * API Version: 5.0.0-alpha-01
5
+ * API Version: 5.0.1
6
6
  * Contact: devrel@onesignal.com
7
7
  */
8
8
 
@@ -2,7 +2,7 @@
2
2
  * OneSignal
3
3
  * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
4
4
  *
5
- * API Version: 5.0.0-alpha-01
5
+ * API Version: 5.0.1
6
6
  * Contact: devrel@onesignal.com
7
7
  */
8
8
 
@@ -2,7 +2,7 @@
2
2
  * OneSignal
3
3
  * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
4
4
  *
5
- * API Version: 5.0.0-alpha-01
5
+ * API Version: 5.0.1
6
6
  * Contact: devrel@onesignal.com
7
7
  */
8
8
 
@@ -2,7 +2,7 @@
2
2
  * OneSignal
3
3
  * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
4
4
  *
5
- * API Version: 5.0.0-alpha-01
5
+ * API Version: 5.0.1
6
6
  * Contact: devrel@onesignal.com
7
7
  */
8
8
 
@@ -2,7 +2,7 @@
2
2
  * OneSignal
3
3
  * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
4
4
  *
5
- * API Version: 5.0.0-alpha-01
5
+ * API Version: 5.0.1
6
6
  * Contact: devrel@onesignal.com
7
7
  */
8
8
 
@@ -2,7 +2,7 @@
2
2
  * OneSignal
3
3
  * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
4
4
  *
5
- * API Version: 5.0.0-alpha-01
5
+ * API Version: 5.0.1
6
6
  * Contact: devrel@onesignal.com
7
7
  */
8
8
 
@@ -2,7 +2,7 @@
2
2
  * OneSignal
3
3
  * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
4
4
  *
5
- * API Version: 5.0.0-alpha-01
5
+ * API Version: 5.0.1
6
6
  * Contact: devrel@onesignal.com
7
7
  */
8
8
 
@@ -2,7 +2,7 @@
2
2
  * OneSignal
3
3
  * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
4
4
  *
5
- * API Version: 5.0.0-alpha-01
5
+ * API Version: 5.0.1
6
6
  * Contact: devrel@onesignal.com
7
7
  */
8
8
 
@@ -2,7 +2,7 @@
2
2
  * OneSignal
3
3
  * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
4
4
  *
5
- * API Version: 5.0.0-alpha-01
5
+ * API Version: 5.0.1
6
6
  * Contact: devrel@onesignal.com
7
7
  */
8
8
 
@@ -2,7 +2,7 @@
2
2
  * OneSignal
3
3
  * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
4
4
  *
5
- * API Version: 5.0.0-alpha-01
5
+ * API Version: 5.0.1
6
6
  * Contact: devrel@onesignal.com
7
7
  */
8
8
 
@@ -2,7 +2,7 @@
2
2
  * OneSignal
3
3
  * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
4
4
  *
5
- * API Version: 5.0.0-alpha-01
5
+ * API Version: 5.0.1
6
6
  * Contact: devrel@onesignal.com
7
7
  */
8
8
 
@@ -2,7 +2,7 @@
2
2
  * OneSignal
3
3
  * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
4
4
  *
5
- * API Version: 5.0.0-alpha-01
5
+ * API Version: 5.0.1
6
6
  * Contact: devrel@onesignal.com
7
7
  */
8
8
 
@@ -2,7 +2,7 @@
2
2
  * OneSignal
3
3
  * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
4
4
  *
5
- * API Version: 5.0.0-alpha-01
5
+ * API Version: 5.0.1
6
6
  * Contact: devrel@onesignal.com
7
7
  */
8
8
 
package/models/Segment.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * OneSignal
3
3
  * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
4
4
  *
5
- * API Version: 5.0.0-alpha-01
5
+ * API Version: 5.0.1
6
6
  * Contact: devrel@onesignal.com
7
7
  */
8
8
 
@@ -2,7 +2,7 @@
2
2
  * OneSignal
3
3
  * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
4
4
  *
5
- * API Version: 5.0.0-alpha-01
5
+ * API Version: 5.0.1
6
6
  * Contact: devrel@onesignal.com
7
7
  */
8
8