@@ -8,8 +8,8 @@ For more information, please visit [https://onesignal.com](https://onesignal.com
8
8
9
9
This API client was generated by the [ OpenAPI Generator] ( https://openapi-generator.tech ) project. By using the [ openapi-spec] ( https://openapis.org ) from a remote server, you can easily generate an API client.
10
10
11
- - API version: 1.4.0
12
- - Package version: 2.2.0
11
+ - API version: 5.0.1
12
+ - Package version: 5.0.0-beta1
13
13
- Build package: ` org.openapitools.codegen.languages.RustClientCodegen `
14
14
- GitHub repository: [ https://github.com/onesignal/onesignal-rust-api ] ( https://github.com/onesignal/onesignal-rust-api )
15
15
@@ -642,41 +642,34 @@ All URIs are relative to *https://api.onesignal.com*
642
642
643
643
Class | Method | HTTP request | Description
644
644
------------ | ------------- | ------------- | -------------
645
- * DefaultApi* | [ ** begin_live_activity** ] ( docs/DefaultApi.md#begin_live_activity ) | ** POST** /apps/{app_id}/live_activities/{activity_id}/token | Start Live Activity
646
645
* DefaultApi* | [ ** cancel_notification** ] ( docs/DefaultApi.md#cancel_notification ) | ** DELETE** /notifications/{notification_id} | Stop a scheduled or currently outgoing notification
646
+ * DefaultApi* | [ ** create_alias** ] ( docs/DefaultApi.md#create_alias ) | ** PATCH** /apps/{app_id}/users/by/{alias_label}/{alias_id}/identity |
647
+ * DefaultApi* | [ ** create_alias_by_subscription** ] ( docs/DefaultApi.md#create_alias_by_subscription ) | ** PATCH** /apps/{app_id}/subscriptions/{subscription_id}/user/identity |
647
648
* DefaultApi* | [ ** create_app** ] ( docs/DefaultApi.md#create_app ) | ** POST** /apps | Create an app
648
649
* DefaultApi* | [ ** create_notification** ] ( docs/DefaultApi.md#create_notification ) | ** POST** /notifications | Create notification
649
- * DefaultApi* | [ ** create_player** ] ( docs/DefaultApi.md#create_player ) | ** POST** /players | Add a device
650
- * DefaultApi* | [ ** create_segments** ] ( docs/DefaultApi.md#create_segments ) | ** POST** /apps/{app_id}/segments | Create Segments
650
+ * DefaultApi* | [ ** create_segment** ] ( docs/DefaultApi.md#create_segment ) | ** POST** /apps/{app_id}/segments | Create Segment
651
651
* DefaultApi* | [ ** create_subscription** ] ( docs/DefaultApi.md#create_subscription ) | ** POST** /apps/{app_id}/users/by/{alias_label}/{alias_id}/subscriptions |
652
652
* DefaultApi* | [ ** create_user** ] ( docs/DefaultApi.md#create_user ) | ** POST** /apps/{app_id}/users |
653
653
* DefaultApi* | [ ** delete_alias** ] ( docs/DefaultApi.md#delete_alias ) | ** DELETE** /apps/{app_id}/users/by/{alias_label}/{alias_id}/identity/{alias_label_to_delete} |
654
- * DefaultApi* | [ ** delete_player** ] ( docs/DefaultApi.md#delete_player ) | ** DELETE** /players/{player_id} | Delete a user record
655
- * DefaultApi* | [ ** delete_segments** ] ( docs/DefaultApi.md#delete_segments ) | ** DELETE** /apps/{app_id}/segments/{segment_id} | Delete Segments
654
+ * DefaultApi* | [ ** delete_segment** ] ( docs/DefaultApi.md#delete_segment ) | ** DELETE** /apps/{app_id}/segments/{segment_id} | Delete Segment
656
655
* DefaultApi* | [ ** delete_subscription** ] ( docs/DefaultApi.md#delete_subscription ) | ** DELETE** /apps/{app_id}/subscriptions/{subscription_id} |
657
656
* DefaultApi* | [ ** delete_user** ] ( docs/DefaultApi.md#delete_user ) | ** DELETE** /apps/{app_id}/users/by/{alias_label}/{alias_id} |
658
- * DefaultApi* | [ ** end_live_activity** ] ( docs/DefaultApi.md#end_live_activity ) | ** DELETE** /apps/{app_id}/live_activities/{activity_id}/token/{subscription_id} | Stop Live Activity
659
657
* DefaultApi* | [ ** export_events** ] ( docs/DefaultApi.md#export_events ) | ** POST** /notifications/{notification_id}/export_events?app_id={app_id} | Export CSV of Events
660
- * DefaultApi* | [ ** export_players** ] ( docs/DefaultApi.md#export_players ) | ** POST** /players/csv_export?app_id={app_id} | Export CSV of Players
661
- * DefaultApi* | [ ** fetch_aliases** ] ( docs/DefaultApi.md#fetch_aliases ) | ** GET** /apps/{app_id}/subscriptions/{subscription_id}/user/identity |
662
- * DefaultApi* | [ ** fetch_user** ] ( docs/DefaultApi.md#fetch_user ) | ** GET** /apps/{app_id}/users/by/{alias_label}/{alias_id} |
663
- * DefaultApi* | [ ** fetch_user_identity** ] ( docs/DefaultApi.md#fetch_user_identity ) | ** GET** /apps/{app_id}/users/by/{alias_label}/{alias_id}/identity |
658
+ * DefaultApi* | [ ** export_subscriptions** ] ( docs/DefaultApi.md#export_subscriptions ) | ** POST** /players/csv_export?app_id={app_id} | Export CSV of Subscriptions
659
+ * DefaultApi* | [ ** get_aliases** ] ( docs/DefaultApi.md#get_aliases ) | ** GET** /apps/{app_id}/users/by/{alias_label}/{alias_id}/identity |
660
+ * DefaultApi* | [ ** get_aliases_by_subscription** ] ( docs/DefaultApi.md#get_aliases_by_subscription ) | ** GET** /apps/{app_id}/subscriptions/{subscription_id}/user/identity |
664
661
* DefaultApi* | [ ** get_app** ] ( docs/DefaultApi.md#get_app ) | ** GET** /apps/{app_id} | View an app
665
662
* DefaultApi* | [ ** get_apps** ] ( docs/DefaultApi.md#get_apps ) | ** GET** /apps | View apps
666
- * DefaultApi* | [ ** get_eligible_iams** ] ( docs/DefaultApi.md#get_eligible_iams ) | ** GET** /apps/{app_id}/subscriptions/{subscription_id}/iams |
667
663
* DefaultApi* | [ ** get_notification** ] ( docs/DefaultApi.md#get_notification ) | ** GET** /notifications/{notification_id} | View notification
668
664
* DefaultApi* | [ ** get_notification_history** ] ( docs/DefaultApi.md#get_notification_history ) | ** POST** /notifications/{notification_id}/history | Notification History
669
665
* DefaultApi* | [ ** get_notifications** ] ( docs/DefaultApi.md#get_notifications ) | ** GET** /notifications | View notifications
670
666
* DefaultApi* | [ ** get_outcomes** ] ( docs/DefaultApi.md#get_outcomes ) | ** GET** /apps/{app_id}/outcomes | View Outcomes
671
- * DefaultApi* | [ ** get_player** ] ( docs/DefaultApi.md#get_player ) | ** GET** /players/{player_id} | View device
672
- * DefaultApi* | [ ** get_players** ] ( docs/DefaultApi.md#get_players ) | ** GET** /players | View devices
673
- * DefaultApi* | [ ** identify_user_by_alias** ] ( docs/DefaultApi.md#identify_user_by_alias ) | ** PATCH** /apps/{app_id}/users/by/{alias_label}/{alias_id}/identity |
674
- * DefaultApi* | [ ** identify_user_by_subscription_id** ] ( docs/DefaultApi.md#identify_user_by_subscription_id ) | ** PATCH** /apps/{app_id}/subscriptions/{subscription_id}/user/identity |
667
+ * DefaultApi* | [ ** get_segments** ] ( docs/DefaultApi.md#get_segments ) | ** GET** /apps/{app_id}/segments | Get Segments
668
+ * DefaultApi* | [ ** get_user** ] ( docs/DefaultApi.md#get_user ) | ** GET** /apps/{app_id}/users/by/{alias_label}/{alias_id} |
675
669
* DefaultApi* | [ ** transfer_subscription** ] ( docs/DefaultApi.md#transfer_subscription ) | ** PATCH** /apps/{app_id}/subscriptions/{subscription_id}/owner |
670
+ * DefaultApi* | [ ** unsubscribe_email_with_token** ] ( docs/DefaultApi.md#unsubscribe_email_with_token ) | ** POST** /apps/{app_id}/notifications/{notification_id}/unsubscribe | Unsubscribe with token
676
671
* DefaultApi* | [ ** update_app** ] ( docs/DefaultApi.md#update_app ) | ** PUT** /apps/{app_id} | Update an app
677
672
* 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
678
- * DefaultApi* | [ ** update_player** ] ( docs/DefaultApi.md#update_player ) | ** PUT** /players/{player_id} | Edit device
679
- * DefaultApi* | [ ** update_player_tags** ] ( docs/DefaultApi.md#update_player_tags ) | ** PUT** /apps/{app_id}/users/{external_user_id} | Edit tags with external user id
680
673
* DefaultApi* | [ ** update_subscription** ] ( docs/DefaultApi.md#update_subscription ) | ** PATCH** /apps/{app_id}/subscriptions/{subscription_id} |
681
674
* DefaultApi* | [ ** update_user** ] ( docs/DefaultApi.md#update_user ) | ** PATCH** /apps/{app_id}/users/by/{alias_label}/{alias_id} |
682
675
@@ -687,37 +680,25 @@ Class | Method | HTTP request | Description
687
680
- [ BasicNotification] ( docs/BasicNotification.md )
688
681
- [ BasicNotificationAllOf] ( docs/BasicNotificationAllOf.md )
689
682
- [ BasicNotificationAllOfAndroidBackgroundLayout] ( docs/BasicNotificationAllOfAndroidBackgroundLayout.md )
690
- - [ BeginLiveActivityRequest] ( docs/BeginLiveActivityRequest.md )
691
683
- [ Button] ( docs/Button.md )
692
- - [ CancelNotificationSuccessResponse] ( docs/CancelNotificationSuccessResponse.md )
693
684
- [ CreateNotificationSuccessResponse] ( docs/CreateNotificationSuccessResponse.md )
694
- - [ CreatePlayerSuccessResponse] ( docs/CreatePlayerSuccessResponse.md )
695
685
- [ CreateSegmentConflictResponse] ( docs/CreateSegmentConflictResponse.md )
696
686
- [ CreateSegmentSuccessResponse] ( docs/CreateSegmentSuccessResponse.md )
697
- - [ CreateSubscriptionRequestBody] ( docs/CreateSubscriptionRequestBody.md )
698
687
- [ CreateUserConflictResponse] ( docs/CreateUserConflictResponse.md )
699
688
- [ CreateUserConflictResponseErrorsInner] ( docs/CreateUserConflictResponseErrorsInner.md )
700
689
- [ CreateUserConflictResponseErrorsItemsMeta] ( docs/CreateUserConflictResponseErrorsItemsMeta.md )
701
- - [ DeletePlayerNotFoundResponse] ( docs/DeletePlayerNotFoundResponse.md )
702
- - [ DeletePlayerSuccessResponse] ( docs/DeletePlayerSuccessResponse.md )
703
- - [ DeleteSegmentNotFoundResponse] ( docs/DeleteSegmentNotFoundResponse.md )
704
- - [ DeleteSegmentSuccessResponse] ( docs/DeleteSegmentSuccessResponse.md )
705
690
- [ DeliveryData] ( docs/DeliveryData.md )
706
691
- [ ExportEventsSuccessResponse] ( docs/ExportEventsSuccessResponse.md )
707
- - [ ExportPlayersRequestBody ] ( docs/ExportPlayersRequestBody .md )
708
- - [ ExportPlayersSuccessResponse ] ( docs/ExportPlayersSuccessResponse .md )
692
+ - [ ExportSubscriptionsRequestBody ] ( docs/ExportSubscriptionsRequestBody .md )
693
+ - [ ExportSubscriptionsSuccessResponse ] ( docs/ExportSubscriptionsSuccessResponse .md )
709
694
- [ Filter] ( docs/Filter.md )
710
- - [ FilterExpressions ] ( docs/FilterExpressions .md )
695
+ - [ FilterExpression ] ( docs/FilterExpression .md )
711
696
- [ GenericError] ( docs/GenericError.md )
712
- - [ GenericErrorErrorsInner] ( docs/GenericErrorErrorsInner.md )
713
- - [ GetNotificationRequestBody] ( docs/GetNotificationRequestBody.md )
714
- - [ InlineResponse200] ( docs/InlineResponse200.md )
715
- - [ InlineResponse2003] ( docs/InlineResponse2003.md )
716
- - [ InlineResponse201] ( docs/InlineResponse201.md )
717
- - [ InlineResponse202] ( docs/InlineResponse202.md )
718
- - [ InvalidIdentifierError] ( docs/InvalidIdentifierError.md )
697
+ - [ GenericSuccessBoolResponse] ( docs/GenericSuccessBoolResponse.md )
698
+ - [ GetNotificationHistoryRequestBody] ( docs/GetNotificationHistoryRequestBody.md )
699
+ - [ GetSegmentsSuccessResponse] ( docs/GetSegmentsSuccessResponse.md )
700
+ - [ LanguageStringMap] ( docs/LanguageStringMap.md )
719
701
- [ Notification] ( docs/Notification.md )
720
- - [ Notification200Errors] ( docs/Notification200Errors.md )
721
702
- [ NotificationAllOf] ( docs/NotificationAllOf.md )
722
703
- [ NotificationHistorySuccessResponse] ( docs/NotificationHistorySuccessResponse.md )
723
704
- [ NotificationSlice] ( docs/NotificationSlice.md )
@@ -730,30 +711,24 @@ Class | Method | HTTP request | Description
730
711
- [ PlatformDeliveryData] ( docs/PlatformDeliveryData.md )
731
712
- [ PlatformDeliveryDataEmailAllOf] ( docs/PlatformDeliveryDataEmailAllOf.md )
732
713
- [ PlatformDeliveryDataSmsAllOf] ( docs/PlatformDeliveryDataSmsAllOf.md )
733
- - [ Player] ( docs/Player.md )
734
- - [ PlayerNotificationTarget] ( docs/PlayerNotificationTarget.md )
735
- - [ PlayerNotificationTargetIncludeAliases] ( docs/PlayerNotificationTargetIncludeAliases.md )
736
- - [ PlayerSlice] ( docs/PlayerSlice.md )
714
+ - [ PropertiesBody] ( docs/PropertiesBody.md )
737
715
- [ PropertiesDeltas] ( docs/PropertiesDeltas.md )
738
716
- [ PropertiesObject] ( docs/PropertiesObject.md )
739
717
- [ Purchase] ( docs/Purchase.md )
740
- - [ RateLimiterError ] ( docs/RateLimiterError .md )
718
+ - [ RateLimitError ] ( docs/RateLimitError .md )
741
719
- [ Segment] ( docs/Segment.md )
720
+ - [ SegmentData] ( docs/SegmentData.md )
742
721
- [ SegmentNotificationTarget] ( docs/SegmentNotificationTarget.md )
743
- - [ StringMap] ( docs/StringMap.md )
744
- - [ SubscriptionObject] ( docs/SubscriptionObject.md )
722
+ - [ Subscription] ( docs/Subscription.md )
723
+ - [ SubscriptionBody] ( docs/SubscriptionBody.md )
724
+ - [ SubscriptionNotificationTarget] ( docs/SubscriptionNotificationTarget.md )
745
725
- [ TransferSubscriptionRequestBody] ( docs/TransferSubscriptionRequestBody.md )
746
726
- [ UpdateLiveActivityRequest] ( docs/UpdateLiveActivityRequest.md )
747
727
- [ UpdateLiveActivitySuccessResponse] ( docs/UpdateLiveActivitySuccessResponse.md )
748
- - [ UpdatePlayerSuccessResponse] ( docs/UpdatePlayerSuccessResponse.md )
749
- - [ UpdatePlayerTagsRequestBody] ( docs/UpdatePlayerTagsRequestBody.md )
750
- - [ UpdatePlayerTagsSuccessResponse] ( docs/UpdatePlayerTagsSuccessResponse.md )
751
- - [ UpdateSubscriptionRequestBody] ( docs/UpdateSubscriptionRequestBody.md )
752
728
- [ UpdateUserRequest] ( docs/UpdateUserRequest.md )
753
729
- [ User] ( docs/User.md )
754
- - [ UserIdentityRequestBody] ( docs/UserIdentityRequestBody.md )
755
- - [ UserIdentityResponse] ( docs/UserIdentityResponse.md )
756
- - [ UserSubscriptionOptions] ( docs/UserSubscriptionOptions.md )
730
+ - [ UserIdentityBody] ( docs/UserIdentityBody.md )
731
+ - [ WebButton] ( docs/WebButton.md )
757
732
758
733
759
734
To get access to the crate's generated documentation, use:
0 commit comments