@onesignal/node-onesignal 2.0.1-beta1 → 5.0.0-alpha-01
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.
- package/DefaultApi.md +452 -707
- package/apis/DefaultApi.ts +998 -1004
- package/auth/auth.ts +14 -14
- package/configuration.ts +6 -6
- package/dist/apis/DefaultApi.d.ts +39 -63
- package/dist/apis/DefaultApi.js +1149 -1022
- package/dist/apis/DefaultApi.js.map +1 -1
- package/dist/auth/auth.d.ts +6 -6
- package/dist/auth/auth.js +19 -19
- package/dist/auth/auth.js.map +1 -1
- package/dist/configuration.d.ts +2 -2
- package/dist/configuration.js +4 -4
- package/dist/configuration.js.map +1 -1
- package/dist/models/BasicNotification.d.ts +14 -12
- package/dist/models/BasicNotification.js +20 -20
- package/dist/models/BasicNotification.js.map +1 -1
- package/dist/models/BasicNotificationAllOf.d.ts +10 -8
- package/dist/models/BasicNotificationAllOf.js +17 -11
- package/dist/models/BasicNotificationAllOf.js.map +1 -1
- package/dist/models/CreateNotificationSuccessResponse.d.ts +1 -3
- package/dist/models/CreateNotificationSuccessResponse.js +1 -7
- package/dist/models/CreateNotificationSuccessResponse.js.map +1 -1
- package/dist/models/{ExportPlayersSuccessResponse.d.ts → ExportEventsSuccessResponse.d.ts} +1 -1
- package/dist/models/ExportEventsSuccessResponse.js +22 -0
- package/dist/models/ExportEventsSuccessResponse.js.map +1 -0
- package/dist/models/{ExportPlayersRequestBody.d.ts → ExportSubscriptionsRequestBody.d.ts} +1 -1
- package/dist/models/ExportSubscriptionsRequestBody.js +34 -0
- package/dist/models/ExportSubscriptionsRequestBody.js.map +1 -0
- package/dist/models/{DeletePlayerNotFoundResponse.d.ts → ExportSubscriptionsSuccessResponse.d.ts} +2 -2
- package/dist/models/ExportSubscriptionsSuccessResponse.js +22 -0
- package/dist/models/ExportSubscriptionsSuccessResponse.js.map +1 -0
- package/dist/models/Filter.d.ts +6 -2
- package/dist/models/Filter.js +24 -0
- package/dist/models/Filter.js.map +1 -1
- package/dist/models/FilterExpression.d.ts +27 -0
- package/dist/models/FilterExpression.js +70 -0
- package/dist/models/FilterExpression.js.map +1 -0
- package/dist/models/{CancelNotificationSuccessResponse.d.ts → GenericError.d.ts} +3 -1
- package/dist/models/GenericError.js +34 -0
- package/dist/models/GenericError.js.map +1 -0
- package/dist/models/{IdentifyUserConflictResponseErrorsInner.d.ts → GenericErrorErrorsInner.d.ts} +1 -1
- package/dist/models/GenericErrorErrorsInner.js +28 -0
- package/dist/models/GenericErrorErrorsInner.js.map +1 -0
- package/dist/models/{DeletePlayerSuccessResponse.d.ts → GenericSuccessBoolResponse.d.ts} +1 -1
- package/dist/models/GenericSuccessBoolResponse.js +22 -0
- package/dist/models/GenericSuccessBoolResponse.js.map +1 -0
- package/dist/models/{GetNotificationRequestBody.d.ts → GetNotificationHistoryRequestBody.d.ts} +3 -3
- package/dist/models/GetNotificationHistoryRequestBody.js +34 -0
- package/dist/models/GetNotificationHistoryRequestBody.js.map +1 -0
- package/dist/models/{PlayerSlice.d.ts → GetSegmentsSuccessResponse.d.ts} +3 -3
- package/dist/models/GetSegmentsSuccessResponse.js +40 -0
- package/dist/models/GetSegmentsSuccessResponse.js.map +1 -0
- package/dist/models/InvalidIdentifierError.d.ts +1 -1
- package/dist/models/InvalidIdentifierError.js +2 -2
- package/dist/models/InvalidIdentifierError.js.map +1 -1
- package/dist/models/{StringMap.d.ts → LanguageStringMap.d.ts} +1 -1
- package/dist/models/{StringMap.js → LanguageStringMap.js} +10 -10
- package/dist/models/LanguageStringMap.js.map +1 -0
- package/dist/models/Notification.d.ts +14 -12
- package/dist/models/Notification.js +20 -20
- package/dist/models/Notification.js.map +1 -1
- package/dist/models/NotificationTarget.d.ts +4 -4
- package/dist/models/NotificationTarget.js +3 -9
- package/dist/models/NotificationTarget.js.map +1 -1
- package/dist/models/NotificationWithMeta.d.ts +14 -12
- package/dist/models/NotificationWithMeta.js +20 -20
- package/dist/models/NotificationWithMeta.js.map +1 -1
- package/dist/models/ObjectSerializer.d.ts +17 -33
- package/dist/models/ObjectSerializer.js +56 -105
- package/dist/models/ObjectSerializer.js.map +1 -1
- package/dist/models/{InlineResponse202.d.ts → PropertiesBody.d.ts} +1 -1
- package/dist/models/PropertiesBody.js +22 -0
- package/dist/models/PropertiesBody.js.map +1 -0
- package/dist/models/{BadRequestError.d.ts → RateLimitError.d.ts} +2 -1
- package/dist/models/RateLimitError.js +28 -0
- package/dist/models/RateLimitError.js.map +1 -0
- package/dist/models/RateLimiterError.d.ts +18 -0
- package/dist/models/RateLimiterError.js +22 -0
- package/dist/models/RateLimiterError.js.map +1 -0
- package/dist/models/Segment.d.ts +2 -2
- package/dist/models/Segment.js +1 -1
- package/dist/models/Segment.js.map +1 -1
- package/dist/models/{CreatePlayerSuccessResponse.d.ts → SegmentData.d.ts} +7 -2
- package/dist/models/SegmentData.js +58 -0
- package/dist/models/SegmentData.js.map +1 -0
- package/dist/models/{SubscriptionObject.d.ts → Subscription.d.ts} +3 -3
- package/dist/models/{SubscriptionObject.js → Subscription.js} +11 -11
- package/dist/models/Subscription.js.map +1 -0
- package/dist/models/{BeginLiveActivityRequest.d.ts → SubscriptionBody.d.ts} +3 -3
- package/dist/models/SubscriptionBody.js +22 -0
- package/dist/models/SubscriptionBody.js.map +1 -0
- package/dist/models/{PlayerNotificationTarget.d.ts → SubscriptionNotificationTarget.d.ts} +7 -7
- package/dist/models/{PlayerNotificationTarget.js → SubscriptionNotificationTarget.js} +14 -20
- package/dist/models/SubscriptionNotificationTarget.js.map +1 -0
- package/dist/models/TransferSubscriptionRequestBody.d.ts +1 -1
- package/dist/models/TransferSubscriptionRequestBody.js +1 -1
- package/dist/models/TransferSubscriptionRequestBody.js.map +1 -1
- package/dist/models/UpdateLiveActivityRequest.d.ts +8 -3
- package/dist/models/UpdateLiveActivityRequest.js +33 -3
- package/dist/models/UpdateLiveActivityRequest.js.map +1 -1
- package/dist/models/UpdateLiveActivitySuccessResponse.d.ts +1 -3
- package/dist/models/UpdateLiveActivitySuccessResponse.js +2 -8
- package/dist/models/UpdateLiveActivitySuccessResponse.js.map +1 -1
- package/dist/models/User.d.ts +3 -5
- package/dist/models/User.js +2 -8
- package/dist/models/User.js.map +1 -1
- package/dist/models/{InlineResponse200.d.ts → UserIdentityBody.d.ts} +2 -2
- package/dist/models/UserIdentityBody.js +22 -0
- package/dist/models/UserIdentityBody.js.map +1 -0
- package/dist/models/{CreateNotificationBadRequestResponse.d.ts → WebButton.d.ts} +5 -2
- package/dist/models/WebButton.js +40 -0
- package/dist/models/WebButton.js.map +1 -0
- package/dist/models/all.d.ts +17 -33
- package/dist/models/all.js +17 -33
- package/dist/models/all.js.map +1 -1
- package/dist/servers.js +1 -1
- package/dist/servers.js.map +1 -1
- package/dist/types/ObjectParamAPI.d.ts +56 -100
- package/dist/types/ObjectParamAPI.js +28 -46
- package/dist/types/ObjectParamAPI.js.map +1 -1
- package/dist/types/ObservableAPI.d.ts +27 -45
- package/dist/types/ObservableAPI.js +82 -226
- package/dist/types/ObservableAPI.js.map +1 -1
- package/dist/types/PromiseAPI.d.ts +27 -45
- package/dist/types/PromiseAPI.js +34 -58
- package/dist/types/PromiseAPI.js.map +1 -1
- package/models/App.ts +1 -1
- package/models/BasicNotification.ts +49 -46
- package/models/BasicNotificationAllOf.ts +34 -23
- package/models/BasicNotificationAllOfAndroidBackgroundLayout.ts +1 -1
- package/models/Button.ts +1 -1
- package/models/CreateNotificationSuccessResponse.ts +5 -13
- package/models/CreateSegmentConflictResponse.ts +1 -1
- package/models/CreateSegmentSuccessResponse.ts +1 -1
- package/models/CreateUserConflictResponse.ts +1 -1
- package/models/CreateUserConflictResponseErrorsInner.ts +1 -1
- package/models/CreateUserConflictResponseErrorsItemsMeta.ts +1 -1
- package/models/DeliveryData.ts +1 -1
- package/models/{ExportPlayersSuccessResponse.ts → ExportEventsSuccessResponse.ts} +3 -3
- package/models/{ExportPlayersRequestBody.ts → ExportSubscriptionsRequestBody.ts} +3 -3
- package/models/{CancelNotificationSuccessResponse.ts → ExportSubscriptionsSuccessResponse.ts} +7 -7
- package/models/Filter.ts +45 -5
- package/models/FilterExpression.ts +120 -0
- package/models/{CreateSegmentBadRequestResponse.ts → GenericError.ts} +14 -7
- package/models/{IdentifyUserConflictResponseErrorsInner.ts → GenericErrorErrorsInner.ts} +3 -3
- package/models/{DeletePlayerNotFoundResponse.ts → GenericSuccessBoolResponse.ts} +3 -3
- package/models/{GetNotificationRequestBody.ts → GetNotificationHistoryRequestBody.ts} +6 -6
- package/models/{PlayerSlice.ts → GetSegmentsSuccessResponse.ts} +20 -8
- package/models/InvalidIdentifierError.ts +6 -6
- package/models/{StringMap.ts → LanguageStringMap.ts} +3 -3
- package/models/Notification.ts +49 -46
- package/models/NotificationAllOf.ts +1 -1
- package/models/NotificationHistorySuccessResponse.ts +1 -1
- package/models/NotificationSlice.ts +1 -1
- package/models/NotificationTarget.ts +17 -25
- package/models/NotificationWithMeta.ts +49 -46
- package/models/NotificationWithMetaAllOf.ts +1 -1
- package/models/ObjectSerializer.ts +63 -112
- package/models/Operator.ts +1 -1
- package/models/OutcomeData.ts +1 -1
- package/models/OutcomesData.ts +1 -1
- package/models/PlatformDeliveryData.ts +1 -1
- package/models/PlatformDeliveryDataEmailAllOf.ts +1 -1
- package/models/PlatformDeliveryDataSmsAllOf.ts +1 -1
- package/models/{InlineResponse202.ts → PropertiesBody.ts} +3 -3
- package/models/PropertiesDeltas.ts +1 -1
- package/models/PropertiesObject.ts +1 -1
- package/models/Purchase.ts +1 -1
- package/models/{NotificationHistoryBadRequestResponse.ts → RateLimitError.ts} +10 -10
- package/models/{BadRequestError.ts → RateLimiterError.ts} +6 -5
- package/models/Segment.ts +4 -4
- package/models/SegmentData.ts +94 -0
- package/models/SegmentNotificationTarget.ts +1 -1
- package/models/{SubscriptionObject.ts → Subscription.ts} +6 -6
- package/models/{InlineResponse201.ts → SubscriptionBody.ts} +6 -6
- package/models/{PlayerNotificationTarget.ts → SubscriptionNotificationTarget.ts} +21 -29
- package/models/TransferSubscriptionRequestBody.ts +3 -3
- package/models/UpdateLiveActivityRequest.ts +56 -9
- package/models/UpdateLiveActivitySuccessResponse.ts +4 -12
- package/models/UpdateUserRequest.ts +1 -1
- package/models/User.ts +6 -14
- package/models/{InlineResponse200.ts → UserIdentityBody.ts} +5 -5
- package/models/{CreatePlayerSuccessResponse.ts → WebButton.ts} +24 -10
- package/models/all.ts +17 -33
- package/package.json +2 -2
- package/servers.ts +1 -1
- package/types/ObjectParamAPI.ts +174 -345
- package/types/ObservableAPI.ts +117 -284
- package/types/PromiseAPI.ts +97 -180
- package/dist/models/BadRequestError.js +0 -22
- package/dist/models/BadRequestError.js.map +0 -1
- package/dist/models/BeginLiveActivityRequest.js +0 -28
- package/dist/models/BeginLiveActivityRequest.js.map +0 -1
- package/dist/models/CancelNotificationSuccessResponse.js +0 -22
- package/dist/models/CancelNotificationSuccessResponse.js.map +0 -1
- package/dist/models/CreateNotificationBadRequestResponse.js +0 -22
- package/dist/models/CreateNotificationBadRequestResponse.js.map +0 -1
- package/dist/models/CreatePlayerSuccessResponse.js +0 -28
- package/dist/models/CreatePlayerSuccessResponse.js.map +0 -1
- package/dist/models/CreateSegmentBadRequestResponse.d.ts +0 -18
- package/dist/models/CreateSegmentBadRequestResponse.js +0 -28
- package/dist/models/CreateSegmentBadRequestResponse.js.map +0 -1
- package/dist/models/CreateSubscriptionRequestBody.d.ts +0 -19
- package/dist/models/CreateSubscriptionRequestBody.js +0 -28
- package/dist/models/CreateSubscriptionRequestBody.js.map +0 -1
- package/dist/models/DeletePlayerBadRequestResponse.d.ts +0 -17
- package/dist/models/DeletePlayerBadRequestResponse.js +0 -22
- package/dist/models/DeletePlayerBadRequestResponse.js.map +0 -1
- package/dist/models/DeletePlayerNotFoundResponse.js +0 -22
- package/dist/models/DeletePlayerNotFoundResponse.js.map +0 -1
- package/dist/models/DeletePlayerSuccessResponse.js +0 -22
- package/dist/models/DeletePlayerSuccessResponse.js.map +0 -1
- package/dist/models/DeleteSegmentBadRequestResponse.d.ts +0 -17
- package/dist/models/DeleteSegmentBadRequestResponse.js +0 -22
- package/dist/models/DeleteSegmentBadRequestResponse.js.map +0 -1
- package/dist/models/DeleteSegmentNotFoundResponse.d.ts +0 -17
- package/dist/models/DeleteSegmentNotFoundResponse.js +0 -22
- package/dist/models/DeleteSegmentNotFoundResponse.js.map +0 -1
- package/dist/models/DeleteSegmentSuccessResponse.d.ts +0 -17
- package/dist/models/DeleteSegmentSuccessResponse.js +0 -22
- package/dist/models/DeleteSegmentSuccessResponse.js.map +0 -1
- package/dist/models/ExportPlayersRequestBody.js +0 -34
- package/dist/models/ExportPlayersRequestBody.js.map +0 -1
- package/dist/models/ExportPlayersSuccessResponse.js +0 -22
- package/dist/models/ExportPlayersSuccessResponse.js.map +0 -1
- package/dist/models/FilterExpressions.d.ts +0 -23
- package/dist/models/FilterExpressions.js +0 -46
- package/dist/models/FilterExpressions.js.map +0 -1
- package/dist/models/FilterNotificationTarget.d.ts +0 -28
- package/dist/models/FilterNotificationTarget.js +0 -88
- package/dist/models/FilterNotificationTarget.js.map +0 -1
- package/dist/models/GetNotificationRequestBody.js +0 -34
- package/dist/models/GetNotificationRequestBody.js.map +0 -1
- package/dist/models/IdentifyUserConflictResponse.d.ts +0 -18
- package/dist/models/IdentifyUserConflictResponse.js +0 -22
- package/dist/models/IdentifyUserConflictResponse.js.map +0 -1
- package/dist/models/IdentifyUserConflictResponseErrorsInner.js +0 -28
- package/dist/models/IdentifyUserConflictResponseErrorsInner.js.map +0 -1
- package/dist/models/InlineResponse200.js +0 -22
- package/dist/models/InlineResponse200.js.map +0 -1
- package/dist/models/InlineResponse2003.d.ts +0 -17
- package/dist/models/InlineResponse2003.js +0 -22
- package/dist/models/InlineResponse2003.js.map +0 -1
- package/dist/models/InlineResponse201.d.ts +0 -18
- package/dist/models/InlineResponse201.js +0 -22
- package/dist/models/InlineResponse201.js.map +0 -1
- package/dist/models/InlineResponse202.js +0 -22
- package/dist/models/InlineResponse202.js.map +0 -1
- package/dist/models/Notification200Errors.d.ts +0 -18
- package/dist/models/Notification200Errors.js +0 -28
- package/dist/models/Notification200Errors.js.map +0 -1
- package/dist/models/NotificationHistoryBadRequestResponse.d.ts +0 -18
- package/dist/models/NotificationHistoryBadRequestResponse.js +0 -28
- package/dist/models/NotificationHistoryBadRequestResponse.js.map +0 -1
- package/dist/models/Player.d.ts +0 -43
- package/dist/models/Player.js +0 -178
- package/dist/models/Player.js.map +0 -1
- package/dist/models/PlayerNotificationTarget.js.map +0 -1
- package/dist/models/PlayerNotificationTargetIncludeAliases.d.ts +0 -17
- package/dist/models/PlayerNotificationTargetIncludeAliases.js +0 -22
- package/dist/models/PlayerNotificationTargetIncludeAliases.js.map +0 -1
- package/dist/models/PlayerSlice.js +0 -40
- package/dist/models/PlayerSlice.js.map +0 -1
- package/dist/models/StringMap.js.map +0 -1
- package/dist/models/SubscriptionObject.js.map +0 -1
- package/dist/models/UpdatePlayerSuccessResponse.d.ts +0 -17
- package/dist/models/UpdatePlayerSuccessResponse.js +0 -22
- package/dist/models/UpdatePlayerSuccessResponse.js.map +0 -1
- package/dist/models/UpdatePlayerTagsRequestBody.d.ts +0 -17
- package/dist/models/UpdatePlayerTagsRequestBody.js +0 -22
- package/dist/models/UpdatePlayerTagsRequestBody.js.map +0 -1
- package/dist/models/UpdatePlayerTagsSuccessResponse.d.ts +0 -17
- package/dist/models/UpdatePlayerTagsSuccessResponse.js +0 -22
- package/dist/models/UpdatePlayerTagsSuccessResponse.js.map +0 -1
- package/dist/models/UpdateSubscriptionRequestBody.d.ts +0 -18
- package/dist/models/UpdateSubscriptionRequestBody.js +0 -22
- package/dist/models/UpdateSubscriptionRequestBody.js.map +0 -1
- package/dist/models/UserIdentityRequestBody.d.ts +0 -19
- package/dist/models/UserIdentityRequestBody.js +0 -22
- package/dist/models/UserIdentityRequestBody.js.map +0 -1
- package/dist/models/UserIdentityResponse.d.ts +0 -19
- package/dist/models/UserIdentityResponse.js +0 -22
- package/dist/models/UserIdentityResponse.js.map +0 -1
- package/dist/models/UserSubscriptionOptions.d.ts +0 -17
- package/dist/models/UserSubscriptionOptions.js +0 -22
- package/dist/models/UserSubscriptionOptions.js.map +0 -1
- package/models/BeginLiveActivityRequest.ts +0 -38
- package/models/CreateNotificationBadRequestResponse.ts +0 -31
- package/models/CreateSubscriptionRequestBody.ts +0 -39
- package/models/DeletePlayerBadRequestResponse.ts +0 -31
- package/models/DeletePlayerSuccessResponse.ts +0 -31
- package/models/DeleteSegmentBadRequestResponse.ts +0 -31
- package/models/DeleteSegmentNotFoundResponse.ts +0 -31
- package/models/DeleteSegmentSuccessResponse.ts +0 -31
- package/models/FilterExpressions.ts +0 -80
- package/models/FilterNotificationTarget.ts +0 -144
- package/models/IdentifyUserConflictResponse.ts +0 -32
- package/models/InlineResponse2003.ts +0 -31
- package/models/Notification200Errors.ts +0 -45
- package/models/Player.ts +0 -291
- package/models/PlayerNotificationTargetIncludeAliases.ts +0 -31
- package/models/UpdatePlayerSuccessResponse.ts +0 -31
- package/models/UpdatePlayerTagsRequestBody.ts +0 -34
- package/models/UpdatePlayerTagsSuccessResponse.ts +0 -31
- package/models/UpdateSubscriptionRequestBody.ts +0 -32
- package/models/UserIdentityRequestBody.ts +0 -31
- package/models/UserIdentityResponse.ts +0 -31
- package/models/UserSubscriptionOptions.ts +0 -31
|
@@ -1,38 +1,27 @@
|
|
|
1
1
|
export * from './App';
|
|
2
|
-
export * from './BadRequestError';
|
|
3
2
|
export * from './BasicNotification';
|
|
4
3
|
export * from './BasicNotificationAllOf';
|
|
5
4
|
export * from './BasicNotificationAllOfAndroidBackgroundLayout';
|
|
6
|
-
export * from './BeginLiveActivityRequest';
|
|
7
5
|
export * from './Button';
|
|
8
|
-
export * from './CancelNotificationSuccessResponse';
|
|
9
6
|
export * from './CreateNotificationSuccessResponse';
|
|
10
|
-
export * from './CreatePlayerSuccessResponse';
|
|
11
7
|
export * from './CreateSegmentConflictResponse';
|
|
12
8
|
export * from './CreateSegmentSuccessResponse';
|
|
13
|
-
export * from './CreateSubscriptionRequestBody';
|
|
14
9
|
export * from './CreateUserConflictResponse';
|
|
15
10
|
export * from './CreateUserConflictResponseErrorsInner';
|
|
16
11
|
export * from './CreateUserConflictResponseErrorsItemsMeta';
|
|
17
|
-
export * from './DeletePlayerNotFoundResponse';
|
|
18
|
-
export * from './DeletePlayerSuccessResponse';
|
|
19
|
-
export * from './DeleteSegmentNotFoundResponse';
|
|
20
|
-
export * from './DeleteSegmentSuccessResponse';
|
|
21
12
|
export * from './DeliveryData';
|
|
22
|
-
export * from './
|
|
23
|
-
export * from './
|
|
13
|
+
export * from './ExportEventsSuccessResponse';
|
|
14
|
+
export * from './ExportSubscriptionsRequestBody';
|
|
15
|
+
export * from './ExportSubscriptionsSuccessResponse';
|
|
24
16
|
export * from './Filter';
|
|
25
|
-
export * from './
|
|
26
|
-
export * from './
|
|
27
|
-
export * from './
|
|
28
|
-
export * from './
|
|
29
|
-
export * from './
|
|
30
|
-
export * from './InlineResponse2003';
|
|
31
|
-
export * from './InlineResponse201';
|
|
32
|
-
export * from './InlineResponse202';
|
|
17
|
+
export * from './FilterExpression';
|
|
18
|
+
export * from './GenericError';
|
|
19
|
+
export * from './GenericSuccessBoolResponse';
|
|
20
|
+
export * from './GetNotificationHistoryRequestBody';
|
|
21
|
+
export * from './GetSegmentsSuccessResponse';
|
|
33
22
|
export * from './InvalidIdentifierError';
|
|
23
|
+
export * from './LanguageStringMap';
|
|
34
24
|
export * from './Notification';
|
|
35
|
-
export * from './Notification200Errors';
|
|
36
25
|
export * from './NotificationAllOf';
|
|
37
26
|
export * from './NotificationHistorySuccessResponse';
|
|
38
27
|
export * from './NotificationSlice';
|
|
@@ -45,70 +34,54 @@ export * from './OutcomesData';
|
|
|
45
34
|
export * from './PlatformDeliveryData';
|
|
46
35
|
export * from './PlatformDeliveryDataEmailAllOf';
|
|
47
36
|
export * from './PlatformDeliveryDataSmsAllOf';
|
|
48
|
-
export * from './
|
|
49
|
-
export * from './PlayerNotificationTarget';
|
|
50
|
-
export * from './PlayerNotificationTargetIncludeAliases';
|
|
51
|
-
export * from './PlayerSlice';
|
|
37
|
+
export * from './PropertiesBody';
|
|
52
38
|
export * from './PropertiesDeltas';
|
|
53
39
|
export * from './PropertiesObject';
|
|
54
40
|
export * from './Purchase';
|
|
41
|
+
export * from './RateLimitError';
|
|
55
42
|
export * from './Segment';
|
|
43
|
+
export * from './SegmentData';
|
|
56
44
|
export * from './SegmentNotificationTarget';
|
|
57
|
-
export * from './
|
|
58
|
-
export * from './
|
|
45
|
+
export * from './Subscription';
|
|
46
|
+
export * from './SubscriptionBody';
|
|
47
|
+
export * from './SubscriptionNotificationTarget';
|
|
59
48
|
export * from './TransferSubscriptionRequestBody';
|
|
60
49
|
export * from './UpdateLiveActivityRequest';
|
|
61
50
|
export * from './UpdateLiveActivitySuccessResponse';
|
|
62
|
-
export * from './UpdatePlayerSuccessResponse';
|
|
63
|
-
export * from './UpdatePlayerTagsRequestBody';
|
|
64
|
-
export * from './UpdatePlayerTagsSuccessResponse';
|
|
65
|
-
export * from './UpdateSubscriptionRequestBody';
|
|
66
51
|
export * from './UpdateUserRequest';
|
|
67
52
|
export * from './User';
|
|
68
|
-
export * from './
|
|
69
|
-
export * from './
|
|
70
|
-
export * from './UserSubscriptionOptions';
|
|
53
|
+
export * from './UserIdentityBody';
|
|
54
|
+
export * from './WebButton';
|
|
71
55
|
|
|
72
56
|
import { App , AppApnsEnvEnum } from './App';
|
|
73
|
-
import {
|
|
74
|
-
import {
|
|
75
|
-
import { BasicNotificationAllOf , BasicNotificationAllOfAggregationEnum } from './BasicNotificationAllOf';
|
|
57
|
+
import { BasicNotification , BasicNotificationTargetChannelEnum , BasicNotificationAggregationEnum } from './BasicNotification';
|
|
58
|
+
import { BasicNotificationAllOf , BasicNotificationAllOfAggregationEnum } from './BasicNotificationAllOf';
|
|
76
59
|
import { BasicNotificationAllOfAndroidBackgroundLayout } from './BasicNotificationAllOfAndroidBackgroundLayout';
|
|
77
|
-
import { BeginLiveActivityRequest } from './BeginLiveActivityRequest';
|
|
78
60
|
import { Button } from './Button';
|
|
79
|
-
import { CancelNotificationSuccessResponse } from './CancelNotificationSuccessResponse';
|
|
80
61
|
import { CreateNotificationSuccessResponse } from './CreateNotificationSuccessResponse';
|
|
81
|
-
import { CreatePlayerSuccessResponse } from './CreatePlayerSuccessResponse';
|
|
82
62
|
import { CreateSegmentConflictResponse } from './CreateSegmentConflictResponse';
|
|
83
63
|
import { CreateSegmentSuccessResponse } from './CreateSegmentSuccessResponse';
|
|
84
|
-
import { CreateSubscriptionRequestBody } from './CreateSubscriptionRequestBody';
|
|
85
64
|
import { CreateUserConflictResponse } from './CreateUserConflictResponse';
|
|
86
65
|
import { CreateUserConflictResponseErrorsInner } from './CreateUserConflictResponseErrorsInner';
|
|
87
66
|
import { CreateUserConflictResponseErrorsItemsMeta } from './CreateUserConflictResponseErrorsItemsMeta';
|
|
88
|
-
import { DeletePlayerNotFoundResponse } from './DeletePlayerNotFoundResponse';
|
|
89
|
-
import { DeletePlayerSuccessResponse } from './DeletePlayerSuccessResponse';
|
|
90
|
-
import { DeleteSegmentNotFoundResponse } from './DeleteSegmentNotFoundResponse';
|
|
91
|
-
import { DeleteSegmentSuccessResponse } from './DeleteSegmentSuccessResponse';
|
|
92
67
|
import { DeliveryData } from './DeliveryData';
|
|
93
|
-
import {
|
|
94
|
-
import {
|
|
95
|
-
import {
|
|
96
|
-
import {
|
|
97
|
-
import {
|
|
98
|
-
import {
|
|
99
|
-
import {
|
|
100
|
-
import {
|
|
101
|
-
import {
|
|
102
|
-
import { InlineResponse201 } from './InlineResponse201';
|
|
103
|
-
import { InlineResponse202 } from './InlineResponse202';
|
|
68
|
+
import { ExportEventsSuccessResponse } from './ExportEventsSuccessResponse';
|
|
69
|
+
import { ExportSubscriptionsRequestBody } from './ExportSubscriptionsRequestBody';
|
|
70
|
+
import { ExportSubscriptionsSuccessResponse } from './ExportSubscriptionsSuccessResponse';
|
|
71
|
+
import { Filter , FilterRelationEnum } from './Filter';
|
|
72
|
+
import { FilterExpression , FilterExpressionRelationEnum , FilterExpressionOperatorEnum } from './FilterExpression';
|
|
73
|
+
import { GenericError } from './GenericError';
|
|
74
|
+
import { GenericSuccessBoolResponse } from './GenericSuccessBoolResponse';
|
|
75
|
+
import { GetNotificationHistoryRequestBody, GetNotificationHistoryRequestBodyEventsEnum } from './GetNotificationHistoryRequestBody';
|
|
76
|
+
import { GetSegmentsSuccessResponse } from './GetSegmentsSuccessResponse';
|
|
104
77
|
import { InvalidIdentifierError } from './InvalidIdentifierError';
|
|
105
|
-
import {
|
|
106
|
-
import {
|
|
78
|
+
import { LanguageStringMap } from './LanguageStringMap';
|
|
79
|
+
import { Notification , NotificationTargetChannelEnum , NotificationAggregationEnum } from './Notification';
|
|
107
80
|
import { NotificationAllOf } from './NotificationAllOf';
|
|
108
81
|
import { NotificationHistorySuccessResponse } from './NotificationHistorySuccessResponse';
|
|
109
82
|
import { NotificationSlice } from './NotificationSlice';
|
|
110
|
-
import { NotificationTarget
|
|
111
|
-
import { NotificationWithMeta
|
|
83
|
+
import { NotificationTarget , NotificationTargetTargetChannelEnum } from './NotificationTarget';
|
|
84
|
+
import { NotificationWithMeta , NotificationWithMetaTargetChannelEnum , NotificationWithMetaAggregationEnum } from './NotificationWithMeta';
|
|
112
85
|
import { NotificationWithMetaAllOf } from './NotificationWithMetaAllOf';
|
|
113
86
|
import { Operator, OperatorOperatorEnum } from './Operator';
|
|
114
87
|
import { OutcomeData , OutcomeDataAggregationEnum } from './OutcomeData';
|
|
@@ -116,29 +89,24 @@ import { OutcomesData } from './OutcomesData';
|
|
|
116
89
|
import { PlatformDeliveryData } from './PlatformDeliveryData';
|
|
117
90
|
import { PlatformDeliveryDataEmailAllOf } from './PlatformDeliveryDataEmailAllOf';
|
|
118
91
|
import { PlatformDeliveryDataSmsAllOf } from './PlatformDeliveryDataSmsAllOf';
|
|
119
|
-
import {
|
|
120
|
-
import { PlayerNotificationTarget , PlayerNotificationTargetTargetChannelEnum } from './PlayerNotificationTarget';
|
|
121
|
-
import { PlayerNotificationTargetIncludeAliases } from './PlayerNotificationTargetIncludeAliases';
|
|
122
|
-
import { PlayerSlice } from './PlayerSlice';
|
|
92
|
+
import { PropertiesBody } from './PropertiesBody';
|
|
123
93
|
import { PropertiesDeltas } from './PropertiesDeltas';
|
|
124
94
|
import { PropertiesObject } from './PropertiesObject';
|
|
125
95
|
import { Purchase } from './Purchase';
|
|
96
|
+
import { RateLimitError } from './RateLimitError';
|
|
126
97
|
import { Segment } from './Segment';
|
|
98
|
+
import { SegmentData } from './SegmentData';
|
|
127
99
|
import { SegmentNotificationTarget } from './SegmentNotificationTarget';
|
|
128
|
-
import {
|
|
129
|
-
import {
|
|
100
|
+
import { Subscription , SubscriptionTypeEnum } from './Subscription';
|
|
101
|
+
import { SubscriptionBody } from './SubscriptionBody';
|
|
102
|
+
import { SubscriptionNotificationTarget , SubscriptionNotificationTargetTargetChannelEnum } from './SubscriptionNotificationTarget';
|
|
130
103
|
import { TransferSubscriptionRequestBody } from './TransferSubscriptionRequestBody';
|
|
131
|
-
import { UpdateLiveActivityRequest
|
|
104
|
+
import { UpdateLiveActivityRequest , UpdateLiveActivityRequestEventEnum } from './UpdateLiveActivityRequest';
|
|
132
105
|
import { UpdateLiveActivitySuccessResponse } from './UpdateLiveActivitySuccessResponse';
|
|
133
|
-
import { UpdatePlayerSuccessResponse } from './UpdatePlayerSuccessResponse';
|
|
134
|
-
import { UpdatePlayerTagsRequestBody } from './UpdatePlayerTagsRequestBody';
|
|
135
|
-
import { UpdatePlayerTagsSuccessResponse } from './UpdatePlayerTagsSuccessResponse';
|
|
136
|
-
import { UpdateSubscriptionRequestBody } from './UpdateSubscriptionRequestBody';
|
|
137
106
|
import { UpdateUserRequest } from './UpdateUserRequest';
|
|
138
107
|
import { User } from './User';
|
|
139
|
-
import {
|
|
140
|
-
import {
|
|
141
|
-
import { UserSubscriptionOptions } from './UserSubscriptionOptions';
|
|
108
|
+
import { UserIdentityBody } from './UserIdentityBody';
|
|
109
|
+
import { WebButton } from './WebButton';
|
|
142
110
|
|
|
143
111
|
/* tslint:disable:no-unused-variable */
|
|
144
112
|
let primitives = [
|
|
@@ -165,9 +133,9 @@ let enumsMap: Set<string> = new Set<string>([
|
|
|
165
133
|
"BasicNotificationAggregationEnum",
|
|
166
134
|
"BasicNotificationAllOfAggregationEnum",
|
|
167
135
|
"FilterRelationEnum",
|
|
168
|
-
"
|
|
169
|
-
"
|
|
170
|
-
"
|
|
136
|
+
"FilterExpressionRelationEnum",
|
|
137
|
+
"FilterExpressionOperatorEnum",
|
|
138
|
+
"GetNotificationHistoryRequestBodyEventsEnum",
|
|
171
139
|
"NotificationTargetChannelEnum",
|
|
172
140
|
"NotificationAggregationEnum",
|
|
173
141
|
"NotificationTargetTargetChannelEnum",
|
|
@@ -175,48 +143,36 @@ let enumsMap: Set<string> = new Set<string>([
|
|
|
175
143
|
"NotificationWithMetaAggregationEnum",
|
|
176
144
|
"OperatorOperatorEnum",
|
|
177
145
|
"OutcomeDataAggregationEnum",
|
|
178
|
-
"
|
|
179
|
-
"
|
|
180
|
-
"UpdateLiveActivityRequestNameEnum",
|
|
146
|
+
"SubscriptionTypeEnum",
|
|
147
|
+
"SubscriptionNotificationTargetTargetChannelEnum",
|
|
181
148
|
"UpdateLiveActivityRequestEventEnum",
|
|
182
149
|
]);
|
|
183
150
|
|
|
184
151
|
let typeMap: {[index: string]: any} = {
|
|
185
152
|
"App": App,
|
|
186
|
-
"BadRequestError": BadRequestError,
|
|
187
153
|
"BasicNotification": BasicNotification,
|
|
188
154
|
"BasicNotificationAllOf": BasicNotificationAllOf,
|
|
189
155
|
"BasicNotificationAllOfAndroidBackgroundLayout": BasicNotificationAllOfAndroidBackgroundLayout,
|
|
190
|
-
"BeginLiveActivityRequest": BeginLiveActivityRequest,
|
|
191
156
|
"Button": Button,
|
|
192
|
-
"CancelNotificationSuccessResponse": CancelNotificationSuccessResponse,
|
|
193
157
|
"CreateNotificationSuccessResponse": CreateNotificationSuccessResponse,
|
|
194
|
-
"CreatePlayerSuccessResponse": CreatePlayerSuccessResponse,
|
|
195
158
|
"CreateSegmentConflictResponse": CreateSegmentConflictResponse,
|
|
196
159
|
"CreateSegmentSuccessResponse": CreateSegmentSuccessResponse,
|
|
197
|
-
"CreateSubscriptionRequestBody": CreateSubscriptionRequestBody,
|
|
198
160
|
"CreateUserConflictResponse": CreateUserConflictResponse,
|
|
199
161
|
"CreateUserConflictResponseErrorsInner": CreateUserConflictResponseErrorsInner,
|
|
200
162
|
"CreateUserConflictResponseErrorsItemsMeta": CreateUserConflictResponseErrorsItemsMeta,
|
|
201
|
-
"DeletePlayerNotFoundResponse": DeletePlayerNotFoundResponse,
|
|
202
|
-
"DeletePlayerSuccessResponse": DeletePlayerSuccessResponse,
|
|
203
|
-
"DeleteSegmentNotFoundResponse": DeleteSegmentNotFoundResponse,
|
|
204
|
-
"DeleteSegmentSuccessResponse": DeleteSegmentSuccessResponse,
|
|
205
163
|
"DeliveryData": DeliveryData,
|
|
206
|
-
"
|
|
207
|
-
"
|
|
164
|
+
"ExportEventsSuccessResponse": ExportEventsSuccessResponse,
|
|
165
|
+
"ExportSubscriptionsRequestBody": ExportSubscriptionsRequestBody,
|
|
166
|
+
"ExportSubscriptionsSuccessResponse": ExportSubscriptionsSuccessResponse,
|
|
208
167
|
"Filter": Filter,
|
|
209
|
-
"
|
|
210
|
-
"
|
|
211
|
-
"
|
|
212
|
-
"
|
|
213
|
-
"
|
|
214
|
-
"InlineResponse2003": InlineResponse2003,
|
|
215
|
-
"InlineResponse201": InlineResponse201,
|
|
216
|
-
"InlineResponse202": InlineResponse202,
|
|
168
|
+
"FilterExpression": FilterExpression,
|
|
169
|
+
"GenericError": GenericError,
|
|
170
|
+
"GenericSuccessBoolResponse": GenericSuccessBoolResponse,
|
|
171
|
+
"GetNotificationHistoryRequestBody": GetNotificationHistoryRequestBody,
|
|
172
|
+
"GetSegmentsSuccessResponse": GetSegmentsSuccessResponse,
|
|
217
173
|
"InvalidIdentifierError": InvalidIdentifierError,
|
|
174
|
+
"LanguageStringMap": LanguageStringMap,
|
|
218
175
|
"Notification": Notification,
|
|
219
|
-
"Notification200Errors": Notification200Errors,
|
|
220
176
|
"NotificationAllOf": NotificationAllOf,
|
|
221
177
|
"NotificationHistorySuccessResponse": NotificationHistorySuccessResponse,
|
|
222
178
|
"NotificationSlice": NotificationSlice,
|
|
@@ -229,29 +185,24 @@ let typeMap: {[index: string]: any} = {
|
|
|
229
185
|
"PlatformDeliveryData": PlatformDeliveryData,
|
|
230
186
|
"PlatformDeliveryDataEmailAllOf": PlatformDeliveryDataEmailAllOf,
|
|
231
187
|
"PlatformDeliveryDataSmsAllOf": PlatformDeliveryDataSmsAllOf,
|
|
232
|
-
"
|
|
233
|
-
"PlayerNotificationTarget": PlayerNotificationTarget,
|
|
234
|
-
"PlayerNotificationTargetIncludeAliases": PlayerNotificationTargetIncludeAliases,
|
|
235
|
-
"PlayerSlice": PlayerSlice,
|
|
188
|
+
"PropertiesBody": PropertiesBody,
|
|
236
189
|
"PropertiesDeltas": PropertiesDeltas,
|
|
237
190
|
"PropertiesObject": PropertiesObject,
|
|
238
191
|
"Purchase": Purchase,
|
|
192
|
+
"RateLimitError": RateLimitError,
|
|
239
193
|
"Segment": Segment,
|
|
194
|
+
"SegmentData": SegmentData,
|
|
240
195
|
"SegmentNotificationTarget": SegmentNotificationTarget,
|
|
241
|
-
"
|
|
242
|
-
"
|
|
196
|
+
"Subscription": Subscription,
|
|
197
|
+
"SubscriptionBody": SubscriptionBody,
|
|
198
|
+
"SubscriptionNotificationTarget": SubscriptionNotificationTarget,
|
|
243
199
|
"TransferSubscriptionRequestBody": TransferSubscriptionRequestBody,
|
|
244
200
|
"UpdateLiveActivityRequest": UpdateLiveActivityRequest,
|
|
245
201
|
"UpdateLiveActivitySuccessResponse": UpdateLiveActivitySuccessResponse,
|
|
246
|
-
"UpdatePlayerSuccessResponse": UpdatePlayerSuccessResponse,
|
|
247
|
-
"UpdatePlayerTagsRequestBody": UpdatePlayerTagsRequestBody,
|
|
248
|
-
"UpdatePlayerTagsSuccessResponse": UpdatePlayerTagsSuccessResponse,
|
|
249
|
-
"UpdateSubscriptionRequestBody": UpdateSubscriptionRequestBody,
|
|
250
202
|
"UpdateUserRequest": UpdateUserRequest,
|
|
251
203
|
"User": User,
|
|
252
|
-
"
|
|
253
|
-
"
|
|
254
|
-
"UserSubscriptionOptions": UserSubscriptionOptions,
|
|
204
|
+
"UserIdentityBody": UserIdentityBody,
|
|
205
|
+
"WebButton": WebButton,
|
|
255
206
|
}
|
|
256
207
|
|
|
257
208
|
export class ObjectSerializer {
|
package/models/Operator.ts
CHANGED
package/models/OutcomeData.ts
CHANGED
package/models/OutcomesData.ts
CHANGED
|
@@ -2,14 +2,14 @@
|
|
|
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
|
+
* API Version: 5.0.0-alpha-01
|
|
6
6
|
* Contact: devrel@onesignal.com
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
9
|
import { PropertiesObject } from './PropertiesObject';
|
|
10
10
|
import { HttpFile } from '../http/http';
|
|
11
11
|
|
|
12
|
-
export class
|
|
12
|
+
export class PropertiesBody {
|
|
13
13
|
'properties'?: PropertiesObject;
|
|
14
14
|
|
|
15
15
|
static readonly discriminator: string | undefined = undefined;
|
|
@@ -23,7 +23,7 @@ export class InlineResponse202 {
|
|
|
23
23
|
} ];
|
|
24
24
|
|
|
25
25
|
static getAttributeTypeMap() {
|
|
26
|
-
return
|
|
26
|
+
return PropertiesBody.attributeTypeMap;
|
|
27
27
|
}
|
|
28
28
|
|
|
29
29
|
public constructor() {
|
package/models/Purchase.ts
CHANGED
|
@@ -2,34 +2,34 @@
|
|
|
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
|
+
* API Version: 5.0.0-alpha-01
|
|
6
6
|
* Contact: devrel@onesignal.com
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
9
|
import { HttpFile } from '../http/http';
|
|
10
10
|
|
|
11
|
-
export class
|
|
12
|
-
'success'?: string;
|
|
11
|
+
export class RateLimitError {
|
|
13
12
|
'errors'?: Array<string>;
|
|
13
|
+
'limit'?: string;
|
|
14
14
|
|
|
15
15
|
static readonly discriminator: string | undefined = undefined;
|
|
16
16
|
|
|
17
17
|
static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [
|
|
18
|
-
{
|
|
19
|
-
"name": "success",
|
|
20
|
-
"baseName": "success",
|
|
21
|
-
"type": "string",
|
|
22
|
-
"format": ""
|
|
23
|
-
},
|
|
24
18
|
{
|
|
25
19
|
"name": "errors",
|
|
26
20
|
"baseName": "errors",
|
|
27
21
|
"type": "Array<string>",
|
|
28
22
|
"format": ""
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"name": "limit",
|
|
26
|
+
"baseName": "limit",
|
|
27
|
+
"type": "string",
|
|
28
|
+
"format": ""
|
|
29
29
|
} ];
|
|
30
30
|
|
|
31
31
|
static getAttributeTypeMap() {
|
|
32
|
-
return
|
|
32
|
+
return RateLimitError.attributeTypeMap;
|
|
33
33
|
}
|
|
34
34
|
|
|
35
35
|
public constructor() {
|
|
@@ -2,14 +2,15 @@
|
|
|
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: 1.2.
|
|
5
|
+
* API Version: 1.2.2
|
|
6
6
|
* Contact: devrel@onesignal.com
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
|
+
import { GenericErrorErrorsInner } from './GenericErrorErrorsInner';
|
|
9
10
|
import { HttpFile } from '../http/http';
|
|
10
11
|
|
|
11
|
-
export class
|
|
12
|
-
'errors'?: Array<
|
|
12
|
+
export class RateLimiterError {
|
|
13
|
+
'errors'?: Array<GenericErrorErrorsInner>;
|
|
13
14
|
|
|
14
15
|
static readonly discriminator: string | undefined = undefined;
|
|
15
16
|
|
|
@@ -17,12 +18,12 @@ export class BadRequestError {
|
|
|
17
18
|
{
|
|
18
19
|
"name": "errors",
|
|
19
20
|
"baseName": "errors",
|
|
20
|
-
"type": "Array<
|
|
21
|
+
"type": "Array<GenericErrorErrorsInner>",
|
|
21
22
|
"format": ""
|
|
22
23
|
} ];
|
|
23
24
|
|
|
24
25
|
static getAttributeTypeMap() {
|
|
25
|
-
return
|
|
26
|
+
return RateLimiterError.attributeTypeMap;
|
|
26
27
|
}
|
|
27
28
|
|
|
28
29
|
public constructor() {
|
package/models/Segment.ts
CHANGED
|
@@ -2,11 +2,11 @@
|
|
|
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
|
+
* API Version: 5.0.0-alpha-01
|
|
6
6
|
* Contact: devrel@onesignal.com
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
|
-
import {
|
|
9
|
+
import { FilterExpression } from './FilterExpression';
|
|
10
10
|
import { HttpFile } from '../http/http';
|
|
11
11
|
|
|
12
12
|
export class Segment {
|
|
@@ -21,7 +21,7 @@ export class Segment {
|
|
|
21
21
|
/**
|
|
22
22
|
* Filter or operators the segment will have. For a list of available filters with details, please see Send to Users Based on Filters.
|
|
23
23
|
*/
|
|
24
|
-
'filters': Array<
|
|
24
|
+
'filters': Array<FilterExpression>;
|
|
25
25
|
|
|
26
26
|
static readonly discriminator: string | undefined = undefined;
|
|
27
27
|
|
|
@@ -41,7 +41,7 @@ export class Segment {
|
|
|
41
41
|
{
|
|
42
42
|
"name": "filters",
|
|
43
43
|
"baseName": "filters",
|
|
44
|
-
"type": "Array<
|
|
44
|
+
"type": "Array<FilterExpression>",
|
|
45
45
|
"format": ""
|
|
46
46
|
} ];
|
|
47
47
|
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* OneSignal
|
|
3
|
+
* A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
|
|
4
|
+
*
|
|
5
|
+
* API Version: 5.0.0-alpha-01
|
|
6
|
+
* Contact: devrel@onesignal.com
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
import { HttpFile } from '../http/http';
|
|
10
|
+
|
|
11
|
+
export class SegmentData {
|
|
12
|
+
/**
|
|
13
|
+
* The segment ID
|
|
14
|
+
*/
|
|
15
|
+
'id'?: string;
|
|
16
|
+
/**
|
|
17
|
+
* The segment name
|
|
18
|
+
*/
|
|
19
|
+
'name'?: string;
|
|
20
|
+
/**
|
|
21
|
+
* Date segment created
|
|
22
|
+
*/
|
|
23
|
+
'created_at'?: string;
|
|
24
|
+
/**
|
|
25
|
+
* Date segment last updated
|
|
26
|
+
*/
|
|
27
|
+
'updated_at'?: string;
|
|
28
|
+
/**
|
|
29
|
+
* The app id
|
|
30
|
+
*/
|
|
31
|
+
'app_id'?: string;
|
|
32
|
+
/**
|
|
33
|
+
* Is the segment read only?
|
|
34
|
+
*/
|
|
35
|
+
'read_only'?: boolean;
|
|
36
|
+
/**
|
|
37
|
+
* Is the segment active?
|
|
38
|
+
*/
|
|
39
|
+
'is_active'?: boolean;
|
|
40
|
+
|
|
41
|
+
static readonly discriminator: string | undefined = undefined;
|
|
42
|
+
|
|
43
|
+
static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [
|
|
44
|
+
{
|
|
45
|
+
"name": "id",
|
|
46
|
+
"baseName": "id",
|
|
47
|
+
"type": "string",
|
|
48
|
+
"format": ""
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"name": "name",
|
|
52
|
+
"baseName": "name",
|
|
53
|
+
"type": "string",
|
|
54
|
+
"format": ""
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"name": "created_at",
|
|
58
|
+
"baseName": "created_at",
|
|
59
|
+
"type": "string",
|
|
60
|
+
"format": ""
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"name": "updated_at",
|
|
64
|
+
"baseName": "updated_at",
|
|
65
|
+
"type": "string",
|
|
66
|
+
"format": ""
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"name": "app_id",
|
|
70
|
+
"baseName": "app_id",
|
|
71
|
+
"type": "string",
|
|
72
|
+
"format": ""
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
"name": "read_only",
|
|
76
|
+
"baseName": "read_only",
|
|
77
|
+
"type": "boolean",
|
|
78
|
+
"format": ""
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
"name": "is_active",
|
|
82
|
+
"baseName": "is_active",
|
|
83
|
+
"type": "boolean",
|
|
84
|
+
"format": ""
|
|
85
|
+
} ];
|
|
86
|
+
|
|
87
|
+
static getAttributeTypeMap() {
|
|
88
|
+
return SegmentData.attributeTypeMap;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
public constructor() {
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
|