Add v5.0.0-beta1 package updates #24
Merged
+4,358
−9,781
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
User Model beta release
Changes
Models
Added
ExportSubscriptionsSuccessResponse
Export_subscriptions_request_body
GenericSuccessBoolResponse
GetSegmentsSuccessResponse
Get_notification_history_request_body
PropertiesBody
RateLimitError
SubscriptionBody
UserIdentityBody
Removed
BeginLiveActivityRequest
CancelNotificationSuccessResponse
CreatePlayerSuccessResponse
CreateSubscriptionRequestBody
DeletePlayerNotFoundResponse
DeletePlayerSuccessResponse
DeleteSegmentNotFoundResponse
DeleteSegmentSuccessResponse
ExportPlayersSuccessResponse
Export_players_request_body
Get_notification_request_body
Inline_response_200
Inline_response_200_3
Inline_response_201
Inline_response_202
Player
PlayerSlice
RateLimiterError
UpdatePlayerSuccessResponse
UpdatePlayerTagsSuccessResponse
UpdateSubscriptionRequestBody
Update_player_tags_request_body
UserIdentityRequestBody
APIs
Added APIs
cancelNotification
pplx::task<std::shared_ptr<GenericSuccessBoolResponse>> cancelNotification(utility::string_t appId, utility::string_t notificationId) const = 0;
createAlias
pplx::task<std::shared_ptr<UserIdentityBody>> createAlias(utility::string_t appId, utility::string_t aliasLabel, utility::string_t aliasId, std::shared_ptr<UserIdentityBody> userIdentityBody) const = 0;
createAliasBySubscription
pplx::task<std::shared_ptr<UserIdentityBody>> createAliasBySubscription(utility::string_t appId, utility::string_t subscriptionId, std::shared_ptr<UserIdentityBody> userIdentityBody) const = 0;
createSegment
pplx::task<std::shared_ptr<CreateSegmentSuccessResponse>> createSegment(utility::string_t appId, boost::optional<std::shared_ptr<Segment>> segment) const = 0;
createSubscription
Now returns
std::shared_ptr<SubscriptionBody>
Accepts
std::shared_ptr<SubscriptionBody> subscriptionBody
deleteAlias
std::shared_ptr<UserIdentityBody>
deleteSegment
std::shared_ptr<GenericSuccessBoolResponse>
exportSubscriptions
pplx::task<std::shared_ptr<ExportSubscriptionsSuccessResponse>> exportSubscriptions(utility::string_t appId, boost::optional<std::shared_ptr<Export_subscriptions_request_body>> exportSubscriptionsRequestBody) const = 0;
getAliases
pplx::task<std::shared_ptr<UserIdentityBody>> getAliases(utility::string_t appId, utility::string_t aliasLabel, utility::string_t aliasId) const = 0;
getAliasesBySubscription
pplx::task<std::shared_ptr<UserIdentityBody>> getAliasesBySubscription(utility::string_t appId, utility::string_t subscriptionId) const = 0;
getSegments
pplx::task<std::shared_ptr<GetSegmentsSuccessResponse>> getSegments(utility::string_t appId, boost::optional<int32_t> offset, boost::optional<int32_t> limit) const = 0;
getUser
pplx::task<std::shared_ptr<User>> getUser(utility::string_t appId, utility::string_t aliasLabel, utility::string_t aliasId) const = 0;
transferSubscription
pplx::task<std::shared_ptr<UserIdentityBody>> transferSubscription(utility::string_t appId, utility::string_t subscriptionId, std::shared_ptr<TransferSubscriptionRequestBody> transferSubscriptionRequestBody) const = 0;
unsubscribeEmailWithToken
pplx::task<std::shared_ptr<GenericSuccessBoolResponse>> unsubscribeEmailWithToken(utility::string_t appId, utility::string_t notificationId, utility::string_t token) const = 0;
updateUser
Now returns
std::shared_ptr<PropertiesBody>
Modified APIs
Now takes
std::shared_ptr<SubscriptionBody> subscriptionBody
instead ofUpdateSubscriptionRequestBody
Removed APIs