Documentation
¶
Overview ¶
Copyright (c) 2021 AccelByte Inc. All Rights Reserved. This is licensed software from AccelByte Inc, for limitations and restrictions contact your company contract manager.
Copyright (c) 2021 AccelByte Inc. All Rights Reserved. This is licensed software from AccelByte Inc, for limitations and restrictions contact your company contract manager.
Copyright (c) 2021 AccelByte Inc. All Rights Reserved. This is licensed software from AccelByte Inc, for limitations and restrictions contact your company contract manager.
Copyright (c) 2021 AccelByte Inc. All Rights Reserved. This is licensed software from AccelByte Inc, for limitations and restrictions contact your company contract manager.
Copyright (c) 2021 AccelByte Inc. All Rights Reserved. This is licensed software from AccelByte Inc, for limitations and restrictions contact your company contract manager.
Copyright (c) 2021 AccelByte Inc. All Rights Reserved. This is licensed software from AccelByte Inc, for limitations and restrictions contact your company contract manager.
Index ¶
- type BansService
- func (bansService *BansService) AdminGetBannedUsersV3(activeOnly *bool, banType *string, limit *int64, namespace string, ...) (*iamclientmodels.ModelGetUserBanV3Response, error)
- func (bansService *BansService) AdminGetBansTypeV3() (*iamclientmodels.AccountcommonBansV3, error)
- func (bansService BansService) AdminGetBansTypeWithNamespaceV3(namespace string) (*iamclientmodels.AccountcommonBansV3, error)
- func (bansService BansService) AdminGetListBanReasonV3() (*iamclientmodels.AccountcommonBanReasonsV3, error)
- type CategoryService
- func (categoryService *CategoryService) CreateCategory(namespace, storeId string, categoryCreate platformclientmodels.CategoryCreate) (*platformclientmodels.FullCategoryInfo, error)
- func (categoryService *CategoryService) DeleteCategory(namespace, storeId, categoryPath string) (*platformclientmodels.FullCategoryInfo, error)
- func (categoryService *CategoryService) DownloadCategories(namespace string, language, storeId *string) ([]*platformclientmodels.HierarchicalCategoryInfo, error)
- func (categoryService *CategoryService) GetCategory(namespace, categoryPath string, storeId *string) (*platformclientmodels.FullCategoryInfo, error)
- func (categoryService *CategoryService) GetChildCategories(namespace, categoryPath string, storeId *string) ([]*platformclientmodels.FullCategoryInfo, error)
- func (categoryService *CategoryService) GetDescendantCategories(namespace, categoryPath string, storeId *string) ([]*platformclientmodels.FullCategoryInfo, error)
- func (categoryService *CategoryService) GetRootCategories(namespace string, storeId *string) ([]*platformclientmodels.FullCategoryInfo, error)
- func (categoryService *CategoryService) ListCategoriesBasic(namespace string, storeId *string) ([]*platformclientmodels.BasicCategoryInfo, error)
- func (categoryService *CategoryService) PublicGetCategory(namespace, categoryPath string, storeId, language *string) (*platformclientmodels.CategoryInfo, error)
- func (categoryService *CategoryService) PublicGetChildCategories(namespace, categoryPath string, storeId *string) ([]*platformclientmodels.CategoryInfo, error)
- func (categoryService *CategoryService) PublicGetDescendantCategories(namespace, categoryPath string, storeId *string) ([]*platformclientmodels.CategoryInfo, error)
- func (categoryService *CategoryService) PublicGetRootCategories(namespace string, storeId *string) ([]*platformclientmodels.CategoryInfo, error)
- func (categoryService *CategoryService) UpdateCategory(namespace, storeId, categoryPath string, ...) (*platformclientmodels.FullCategoryInfo, error)
- type ChatService
- func (s *ChatService) GetPersonalChatHistory(friendID string) error
- func (s *ChatService) JoinDefaultChannel() error
- func (s *ChatService) SendChannelChat(channelSlug, payload string) error
- func (s *ChatService) SendPartyChat(content string) error
- func (s *ChatService) SendPersonalChat(friendID, content string) error
- type ClientService
- func (clientService *ClientService) AdminAddClientPermissionsV3(clientID string, namespace string, ...) error
- func (clientService *ClientService) AdminCreateClientV3(namespace string, ...) (*iamclientmodels.ClientmodelClientV3Response, error)
- func (clientService *ClientService) AdminDeleteClientPermissionV3(action int64, clientID string, namespace string, resource string) error
- func (clientService *ClientService) AdminDeleteClientV3(clientID, namespace string) error
- func (clientService *ClientService) AdminGetClientsByNamespaceV3(after *string, before *string, limit *int64, namespace string) (*iamclientmodels.ClientmodelClientsV3Response, error)
- func (clientService *ClientService) AdminGetClientsbyNamespacebyIDV3(clientID string, namespace string) (*iamclientmodels.ClientmodelClientV3Response, error)
- func (clientService *ClientService) AdminUpdateClientPermissionV3(clientID string, namespace string, ...) error
- func (clientService *ClientService) AdminUpdateClientV3(clientID string, namespace string, ...) (*iamclientmodels.ClientmodelClientV3Response, error)
- type CloudSaveService
- func (couldSaveService *CloudSaveService) CreateGameRecord(content map[string]string, key, namespace string) error
- func (couldSaveService *CloudSaveService) CreatePlayerRecord(userId, namespace, key string, content map[string]string) error
- func (couldSaveService *CloudSaveService) DeleteGameRecord(key, namespace string) error
- func (couldSaveService *CloudSaveService) DeletePlayerRecord(userId, namespace, key string) error
- func (couldSaveService *CloudSaveService) GetGameRecord(key, namespace string) (*cloudsaveclientmodels.ModelsGameRecord, error)
- func (couldSaveService *CloudSaveService) GetPlayerRecord(userId, namespace, key string) (*cloudsaveclientmodels.ModelsPlayerRecord, error)
- type CurrencyService
- func (c *CurrencyService) CreateCurrency(namespace string, body *platformclientmodels.CurrencyCreate) (*platformclientmodels.CurrencyInfo, error)
- func (c *CurrencyService) DeleteCurrency(namespace, currencyCode string) (*platformclientmodels.CurrencyInfo, error)
- func (c *CurrencyService) GetCurrencyConfig(namespace, currencyCode string) (*platformclientmodels.CurrencyConfig, error)
- func (c *CurrencyService) GetCurrencySummary(namespace, currencyCode string) (*platformclientmodels.CurrencySummary, error)
- func (c *CurrencyService) ListCurrencies(namespace string) ([]*platformclientmodels.CurrencyInfo, error)
- func (c *CurrencyService) PublicListCurrencies(namespace string) ([]*platformclientmodels.CurrencyInfo, error)
- func (c *CurrencyService) UpdateCurrency(namespace, currencyCode string, content *platformclientmodels.CurrencyUpdate) (*platformclientmodels.CurrencyInfo, error)
- type EntitlementService
- func (entitlementService *EntitlementService) ConsumeUserEntitlement(namespace, userId, entitlementId string, ...) (*platformclientmodels.EntitlementInfo, error)
- func (entitlementService *EntitlementService) CreateUserDistributionReceiver(namespace, userId, extUserId string, ...) error
- func (entitlementService *EntitlementService) DeleteUserDistributionReceiver(namespace, userId, extUserId string) error
- func (entitlementService *EntitlementService) DisableUserEntitlement(namespace, userId, entitlementId string) error
- func (entitlementService *EntitlementService) EnableUserEntitlement(namespace, userId, entitlementId string) (*platformclientmodels.EntitlementInfo, error)
- func (entitlementService *EntitlementService) ExistsAnyUserActiveEntitlement(namespace, userId string, appIds, itemIds, skus []string) (*platformclientmodels.Ownership, error)
- func (entitlementService *EntitlementService) ExistsAnyUserActiveEntitlementByItemIds(namespace, userId string, itemIds []string) (*platformclientmodels.Ownership, error)
- func (entitlementService *EntitlementService) GetEntitlement(namespace, entitlementId string) (*platformclientmodels.EntitlementInfo, error)
- func (entitlementService *EntitlementService) GetUserAppEntitlementByAppID(namespace, userId, appId string, activeOnly *bool) (*platformclientmodels.AppEntitlementInfo, error)
- func (entitlementService *EntitlementService) GetUserAppEntitlementOwnershipByAppID(namespace, userId, appId string) (*platformclientmodels.Ownership, error)
- func (entitlementService *EntitlementService) GetUserDistributionReceivers(namespace, userId string) ([]*platformclientmodels.DistributionReceiverInfo, error)
- func (entitlementService *EntitlementService) GetUserEntitlement(namespace, userId, entitlementId string) (*platformclientmodels.EntitlementInfo, error)
- func (entitlementService *EntitlementService) GetUserEntitlementBySku(namespace, sku, userId string, entitlementClazz *string, activeOnly *bool) (*platformclientmodels.EntitlementInfo, error)
- func (entitlementService *EntitlementService) GetUserEntitlementHistories(namespace, entitlementId, userId string) ([]*platformclientmodels.EntitlementHistoryInfo, error)
- func (entitlementService *EntitlementService) GetUserEntitlementOwnershipBySku(namespace, userId, sku string, entitlementClazz *string) (*platformclientmodels.Ownership, error)
- func (entitlementService *EntitlementService) GrantUserEntitlement(namespace, userId string, ...) ([]*platformclientmodels.StackableEntitlementInfo, error)
- func (entitlementService *EntitlementService) PublicConsumeUserEntitlement(namespace, userId, entitlementId string, ...) (*platformclientmodels.EntitlementInfo, error)
- func (entitlementService *EntitlementService) PublicCreateUserDistributionReceiver(namespace, userId, extUserId string, ...) error
- func (entitlementService *EntitlementService) PublicDeleteUserDistributionReceiver(namespace, userId, extUserId string) error
- func (entitlementService *EntitlementService) PublicDistributeUserDistribution(namespace, userId, entitlementId, extUserId, targetNamespace string, ...) (*platformclientmodels.EntitlementInfo, error)
- func (entitlementService *EntitlementService) PublicExistsAnyUserActiveEntitlement(namespace, userId string, appIds, itemIds, skus []string) (*platformclientmodels.Ownership, error)
- func (entitlementService *EntitlementService) PublicGetMyAppEntitlementOwnershipByAppID(namespace, appId string) (*platformclientmodels.Ownership, error)
- func (entitlementService *EntitlementService) PublicGetMyEntitlementOwnershipBySku(namespace, sku string, entitlementClazz *string) (*platformclientmodels.Ownership, error)
- func (entitlementService *EntitlementService) PublicGetUserAppEntitlementByAppID(namespace, userId, appId string) (*platformclientmodels.AppEntitlementInfo, error)
- func (entitlementService *EntitlementService) PublicGetUserAppEntitlementOwnershipByAppID(namespace, userId, appId string) (*platformclientmodels.Ownership, error)
- func (entitlementService *EntitlementService) PublicGetUserDistributionReceivers(namespace, userId, targetNamespace string) ([]*platformclientmodels.DistributionReceiverInfo, error)
- func (entitlementService *EntitlementService) PublicGetUserEntitlement(namespace, userId, entitlementId string) (*platformclientmodels.EntitlementInfo, error)
- func (entitlementService *EntitlementService) PublicGetUserEntitlementBySku(namespace, userId, sku string, entitlementClazz *string) (*platformclientmodels.EntitlementInfo, error)
- func (entitlementService *EntitlementService) PublicGetUserEntitlementOwnershipBySku(namespace, userId, sku string, entitlementClazz *string) (*platformclientmodels.Ownership, error)
- func (entitlementService *EntitlementService) PublicQueryUserEntitlements(namespace, userId string, ...) (*platformclientmodels.EntitlementPagingSlicedResult, error)
- func (entitlementService *EntitlementService) PublicQueryUserEntitlementsByAppType(namespace, userId, appType string, limit, offset *int32) (*platformclientmodels.AppEntitlementPagingSlicedResult, error)
- func (entitlementService *EntitlementService) PublicUpdateUserDistributionReceiver(namespace, userId, extUserId string, ...) error
- func (entitlementService *EntitlementService) QueryEntitlement(namespace string, ...) (*platformclientmodels.EntitlementPagingSlicedResult, error)
- func (entitlementService *EntitlementService) QueryUserEntitlements(namespace, userId string, ...) (*platformclientmodels.EntitlementPagingSlicedResult, error)
- func (entitlementService *EntitlementService) QueryUserEntitlementsByAppType(namespace, userId, appType string, activeOnly *bool, limit, offset *int32) (*platformclientmodels.AppEntitlementPagingSlicedResult, error)
- func (entitlementService *EntitlementService) RevokeUserEntitlement(namespace, userId, entitlementId string) (*platformclientmodels.EntitlementInfo, error)
- func (entitlementService *EntitlementService) RevokeUserEntitlements(namespace, userId, entitlementIds string) (*platformclientmodels.BulkOperationResult, error)
- func (entitlementService *EntitlementService) UpdateUserDistributionReceiver(namespace, userId, extUserId string, ...) error
- func (entitlementService *EntitlementService) UpdateUserEntitlement(namespace, userId, entitlementId string, ...) (*platformclientmodels.EntitlementInfo, error)
- type FriendService
- type FriendServiceWebsocket
- func (friendService *FriendServiceWebsocket) AcceptFriendRequest(friendID string) error
- func (friendService *FriendServiceWebsocket) Block(namespace, userID, blockedUserID string) error
- func (friendService *FriendServiceWebsocket) CancelFriendRequest(friendID string) error
- func (friendService *FriendServiceWebsocket) GetFriendPresenceStatus() error
- func (friendService *FriendServiceWebsocket) GetFriends() error
- func (friendService *FriendServiceWebsocket) GetFriendshipStatus(friendID string) error
- func (friendService *FriendServiceWebsocket) GetIncomingFriendRequest() error
- func (friendService *FriendServiceWebsocket) GetOfflineNotification() error
- func (friendService *FriendServiceWebsocket) GetOnlineFriends() error
- func (friendService *FriendServiceWebsocket) GetOutgoingFriendRequest() error
- func (friendService *FriendServiceWebsocket) RejectFriendRequest(friendID string) error
- func (friendService *FriendServiceWebsocket) RequestFriend(friendID string) error
- func (friendService *FriendServiceWebsocket) SetUserStatus(availability int, activity string) error
- func (friendService *FriendServiceWebsocket) Unblock(namespace, userID, unblockedUserID string) error
- func (friendService *FriendServiceWebsocket) Unfriend(friendID string) error
- type FulfillmentService
- func (fulfillmentService *FulfillmentService) FulfillItem(userId, userNamespace string, ...) (*platformclientmodels.FulfillmentResult, error)
- func (fulfillmentService *FulfillmentService) QueryFulfillmentHistories(namespace string, userId, status *string, limit, offset *int32) (*platformclientmodels.FulfillmentHistoryPagingSlicedResult, error)
- type GameNotificationService
- func (g GameNotificationService) CreateNotificationTemplateV1Admin(namespace string, content *lobbyclientmodels.ModelCreateTemplateRequest) error
- func (g GameNotificationService) CreateNotificationTopicV1Admin(namespace string, content *lobbyclientmodels.ModelCreateTopicRequestV1) error
- func (g GameNotificationService) FreeFormNotification(namespace string, content *lobbyclientmodels.ModelFreeFormNotificationRequest) error
- func (g GameNotificationService) FreeFormNotificationByUserID(namespace, userID string, async *bool, ...) error
- func (g GameNotificationService) SendMultipleUsersFreeformNotificationV1Admin(namespace string, async *bool, ...) error
- func (g GameNotificationService) SendSpecificUserFreeformNotificationV1Admin(namespace, userID string, async *bool, ...) error
- func (g GameNotificationService) SendUsersFreeformNotificationV1Admin(namespace string, ...) error
- type GameProfileService
- func (s *GameProfileService) GetProfile(namespace, userId, profileId string) (*socialclientmodels.GameProfileInfo, error)
- func (s *GameProfileService) GetUserProfiles(namespace, userId string) ([]*socialclientmodels.GameProfileHeader, error)
- func (s *GameProfileService) PublicCreateProfile(namespace, userId string, content *socialclientmodels.GameProfileRequest) error
- func (s *GameProfileService) PublicDeleteProfile(namespace, userId, profileId string) error
- func (s *GameProfileService) PublicGetProfile(namespace, userId, profileId string) (*socialclientmodels.GameProfileInfo, error)
- func (s *GameProfileService) PublicGetProfileAttribute(namespace, userId, attributeName, profileId string) (*socialclientmodels.Attribute, error)
- func (s *GameProfileService) PublicGetUserGameProfiles(namespace string, userIds []string) ([]*socialclientmodels.UserGameProfiles, error)
- func (s *GameProfileService) PublicGetUserProfiles(namespace, userId string) ([]*socialclientmodels.GameProfileHeader, error)
- func (s *GameProfileService) PublicUpdateAttribute(namespace, userId, attributeName, profileId string, ...) (*socialclientmodels.GameProfileInfo, error)
- func (s *GameProfileService) PublicUpdateProfile(namespace, userId, profileId string, ...) (*socialclientmodels.GameProfileInfo, error)
- type GameSessionService
- func (g *GameSessionService) ClaimServer(namespace string, content *dsmcclientmodels.ModelsClaimSessionRequest) error
- func (g *GameSessionService) CreateSession(namespace string, content *dsmcclientmodels.ModelsCreateSessionRequest) (*dsmcclientmodels.ModelsSessionResponse, error)
- func (g *GameSessionService) GetSession(namespace, sessionID string) (*dsmcclientmodels.ModelsSessionResponse, error)
- type GroupConfigService
- func (s *GroupConfigService) CreateGroupConfigurationAdminV1(namespace string, ...) (*groupclientmodels.ModelsCreateGroupConfigurationResponseV1, error)
- func (s *GroupConfigService) DeleteGroupConfigurationAdminV1(namespace, configCode string) (*groupclientmodels.ModelsGetGroupConfigurationResponseV1, error)
- func (s *GroupConfigService) DeleteGroupConfigurationGlobalRuleAdminV1(namespace, configCode, allowedAction string) (*groupclientmodels.ModelsUpdateGroupConfigurationResponseV1, error)
- func (s *GroupConfigService) GetGroupConfigurationAdminV1(namespace, configCode string) (*groupclientmodels.ModelsGetGroupConfigurationResponseV1, error)
- func (s *GroupConfigService) InitiateGroupConfigurationAdminV1(namespace string) (*groupclientmodels.ModelsCreateGroupConfigurationResponseV1, error)
- func (s *GroupConfigService) ListGroupConfigurationAdminV1(namespace string, limit, offset *int64) (*groupclientmodels.ModelsGetGroupConfigurationResponseV1, error)
- func (s *GroupConfigService) UpdateGroupConfigurationAdminV1(namespace, configCode string, ...) (*groupclientmodels.ModelsUpdateGroupConfigurationResponseV1, error)
- func (s *GroupConfigService) UpdateGroupConfigurationGlobalRuleAdminV1(namespace, configCode, allowedAction string, ...) (*groupclientmodels.ModelsUpdateGroupConfigurationResponseV1, error)
- type GroupMemberConfigService
- func (s *GroupMemberConfigService) GetGroupMembersListV1(namespace, groupId string, order *string, limit, offset *int64) (*groupclientmodels.ModelsGetGroupMemberListResponseV1, error)
- func (s *GroupMemberConfigService) PublicAcceptGroupInvitationV1(namespace, groupId string) (*groupclientmodels.ModelsMemberRequestGroupResponseV1, error)
- func (s *GroupMemberConfigService) PublicAcceptGroupJoinRequestV1(namespace, userId string) (*groupclientmodels.ModelsMemberRequestGroupResponseV1, error)
- func (s *GroupMemberConfigService) PublicCancelGroupJoinRequestV1(namespace, groupId string) (*groupclientmodels.ModelsMemberRequestGroupResponseV1, error)
- func (s *GroupMemberConfigService) PublicGetGroupInvitationRequestV1(namespace string, limit, offset *int64) (*groupclientmodels.ModelsGetMemberRequestsListResponseV1, error)
- func (s *GroupMemberConfigService) PublicGetGroupJoinRequestV1(namespace, groupId string, limit, offset *int64) (*groupclientmodels.ModelsGetMemberRequestsListResponseV1, error)
- func (s *GroupMemberConfigService) PublicGetGroupMembersListV1(namespace, groupId string, order *string, limit, offset *int64) (*groupclientmodels.ModelsGetGroupMemberListResponseV1, error)
- func (s *GroupMemberConfigService) PublicGetUserGroupInformationV1(namespace, userId string) (*groupclientmodels.ModelsGetUserGroupInformationResponseV1, error)
- func (s *GroupMemberConfigService) PublicInviteGroupV1(namespace, userId string) (*groupclientmodels.ModelsUserInvitationResponseV1, error)
- func (s *GroupMemberConfigService) PublicJoinGroupV1(namespace, groupId string) (*groupclientmodels.ModelsJoinGroupResponseV1, error)
- func (s *GroupMemberConfigService) PublicKickGroupMemberV1(namespace, userId string) (*groupclientmodels.ModelsKickGroupMemberResponseV1, error)
- func (s *GroupMemberConfigService) PublicLeaveGroupV1(namespace string) (*groupclientmodels.ModelsLeaveGroupResponseV1, error)
- func (s *GroupMemberConfigService) PublicRejectGroupInvitationV1(namespace, groupId string) (*groupclientmodels.ModelsMemberRequestGroupResponseV1, error)
- func (s *GroupMemberConfigService) PublicRejectGroupJoinRequestV1(namespace, userId string) (*groupclientmodels.ModelsMemberRequestGroupResponseV1, error)
- type GroupRoleConfigService
- func (s *GroupRoleConfigService) CreateMemberRoleAdminV1(namespace string, content *groupclientmodels.ModelsCreateMemberRoleRequestV1) (*groupclientmodels.ModelsCreateMemberRoleResponseV1, error)
- func (s *GroupRoleConfigService) DeleteMemberRoleAdminV1(namespace, memberRoleId string) error
- func (s *GroupRoleConfigService) GetMemberRolesListAdminV1(namespace string, limit, offset *int64) (*groupclientmodels.ModelsGetMemberRolesListResponseV1, error)
- func (s *GroupRoleConfigService) GetSingleMemberRoleAdminV1(namespace, memberRoleId string) (*groupclientmodels.ModelsGetMemberRoleResponseV1, error)
- func (s *GroupRoleConfigService) PublicAssignRoleToGroupMemberAdminV1(namespace, memberRoleId string, ...) (*groupclientmodels.ModelsUpdateMemberRoleResponseV1, error)
- func (s *GroupRoleConfigService) PublicDeleteMemberRoleV1(namespace, memberRoleId string, ...) (*groupclientmodels.ModelsUpdateMemberRoleResponseV1, error)
- func (s *GroupRoleConfigService) PublicGetMemberRolesListV1(namespace string, limit, offset *int64) (*groupclientmodels.ModelsGetMemberRolesListResponseV1, error)
- func (s *GroupRoleConfigService) UpdateMemberRoleAdminV1(namespace, memberRoleId string, ...) (*groupclientmodels.ModelsUpdateMemberRoleResponseV1, error)
- func (s *GroupRoleConfigService) UpdateMemberRolePermissionAdminV1(namespace, memberRoleId string, ...) (*groupclientmodels.ModelsUpdateMemberRoleResponseV1, error)
- type GroupService
- func (s *GroupService) DeleteGroupAdminV1(namespace, groupId string) error
- func (s *GroupService) GetGroupListAdminV1(namespace string, groupName, groupRegion, configCode *string, ...) (*groupclientmodels.ModelsGetGroupsListResponseV1, error)
- func (s *GroupService) GetSingleGroupAdminV1(namespace, groupId string) (*groupclientmodels.ModelsGroupResponseV1, error)
- func (s *GroupService) PublicCreateNewGroupV1(namespace string, ...) error
- func (s *GroupService) PublicDeleteGroupPredefinedRuleV1(namespace, groupId, allowedAction string) error
- func (s *GroupService) PublicDeleteGroupV1(namespace, groupId string) error
- func (s *GroupService) PublicGetGroupListV1(namespace string, groupName, groupRegion *string, limit, offset *int64) (*groupclientmodels.ModelsGetGroupsListResponseV1, error)
- func (s *GroupService) PublicGetSingleGroupV1(namespace, groupId string) (*groupclientmodels.ModelsGroupResponseV1, error)
- func (s *GroupService) PublicUpdateGroupCustomAttributesV1(namespace, groupId string, ...) (*groupclientmodels.ModelsGroupResponseV1, error)
- func (s *GroupService) PublicUpdateGroupCustomRuleV1(namespace, groupId string, ...) (*groupclientmodels.ModelsGroupResponseV1, error)
- func (s *GroupService) PublicUpdateGroupPredefinedRuleV1(namespace, groupId, allowedAction string, ...) (*groupclientmodels.ModelsGroupResponseV1, error)
- func (s *GroupService) PublicUpdateSingleGroupPartialV1(namespace, groupId string, ...) (*groupclientmodels.ModelsGroupResponseV1, error)
- func (s *GroupService) PublicUpdateSingleGroupV1(namespace, groupId string, ...) (*groupclientmodels.ModelsGroupResponseV1, error)
- type IAPService
- func (s *IAPService) DeleteAppleIAPConfig(namespace string) error
- func (s *IAPService) DeleteEpicGamesIAPConfig(namespace string) error
- func (s *IAPService) DeleteGoogleIAPConfig(namespace string) error
- func (s *IAPService) DeletePlaystationIAPConfig(namespace string) error
- func (s *IAPService) DeleteStadiaIAPConfig(namespace string) error
- func (s *IAPService) DeleteSteamIAPConfig(namespace string) error
- func (s *IAPService) DeleteXblAPConfig(namespace string) error
- func (s *IAPService) GetAppleIAPConfig(namespace string) (*platformclientmodels.AppleIAPConfigInfo, error)
- func (s *IAPService) GetEpicGamesIAPConfig(namespace string) (*platformclientmodels.EpicGamesIAPConfigInfo, error)
- func (s *IAPService) GetGoogleIAPConfig(namespace string) (*platformclientmodels.GoogleIAPConfigInfo, error)
- func (s *IAPService) GetPlayStationIAPConfig(namespace string) (*platformclientmodels.PlayStationIAPConfigInfo, error)
- func (s *IAPService) GetStadiaIAPConfig(namespace string) (*platformclientmodels.StadiaIAPConfigInfo, error)
- func (s *IAPService) GetSteamIAPConfig(namespace string) (*platformclientmodels.SteamIAPConfig, error)
- func (s *IAPService) GetXblIAPConfig(namespace string) (*platformclientmodels.XblIAPConfigInfo, error)
- func (s *IAPService) MockFulfillIAPItem(namespace, userId string, content *platformclientmodels.MockIAPReceipt) error
- func (s *IAPService) PublicFulfillAppleIAPItem(namespace, userId string, content *platformclientmodels.AppleIAPReceipt) error
- func (s *IAPService) PublicFulfillGoogleIAPItem(namespace, userId string, content *platformclientmodels.GoogleIAPReceipt) error
- func (s *IAPService) PublicReconcilePlayStationStore(namespace, userId string) ([]*platformclientmodels.PlayStationReconcileResult, error)
- func (s *IAPService) QueryUserIAPOrders(namespace, userId string, ...) (*platformclientmodels.IAPOrderPagingSlicedResult, error)
- func (s *IAPService) SyncEpicGamesInventory(namespace, userId string, ...) error
- func (s *IAPService) SyncStadiaEntitlement(namespace, userId string, content *platformclientmodels.StadiaSyncRequest) error
- func (s *IAPService) SyncSteamInventory(namespace, userId string, content *platformclientmodels.SteamSyncRequest) error
- func (s *IAPService) SyncXboxInventory(namespace, userId string, content *platformclientmodels.XblReconcileRequest) error
- func (s *IAPService) UpdateAppleIAPConfig(namespace string, content *platformclientmodels.AppleIAPConfigRequest) (*platformclientmodels.AppleIAPConfigInfo, error)
- func (s *IAPService) UpdateEpicGamesIAPConfig(namespace string, content *platformclientmodels.EpicGamesIAPConfigRequest) (*platformclientmodels.EpicGamesIAPConfigInfo, error)
- func (s *IAPService) UpdateGoogleIAPConfig(namespace string, content *platformclientmodels.GoogleIAPConfigRequest) (*platformclientmodels.GoogleIAPConfigInfo, error)
- func (s *IAPService) UpdateGoogleP12File(namespace string, file runtime.NamedReadCloser) (*platformclientmodels.GoogleIAPConfigInfo, error)
- func (s *IAPService) UpdatePlaystationIAPConfig(namespace string, content *platformclientmodels.PlaystationIAPConfigRequest) (*platformclientmodels.PlayStationIAPConfigInfo, error)
- func (s *IAPService) UpdateStadiaJSONConfigFile(namespace string, file runtime.NamedReadCloser) (*platformclientmodels.StadiaIAPConfigInfo, error)
- func (s *IAPService) UpdateSteamIAPConfig(namespace string, content *platformclientmodels.SteamIAPConfigRequest) (*platformclientmodels.SteamIAPConfigInfo, error)
- func (s *IAPService) UpdateXblBPCertFile(namespace string, password *string, file runtime.NamedReadCloser) (*platformclientmodels.XblIAPConfigInfo, error)
- func (s *IAPService) UpdateXblIAPConfig(namespace string, content *platformclientmodels.XblIAPConfigRequest) (*platformclientmodels.XblIAPConfigInfo, error)
- type ItemService
- func (itemService *ItemService) AcquireItem(namespace, itemId string, ...) (*platformclientmodels.ItemAcquireResult, error)
- func (itemService *ItemService) BulkGetLocaleItem(namespace, itemIds string, language, region, storeId *string, activeOnly *bool) ([]*platformclientmodels.ItemInfo, error)
- func (itemService *ItemService) CreateItem(namespace, storeId string, itemCreate platformclientmodels.ItemCreate) (*platformclientmodels.FullItemInfo, error)
- func (itemService *ItemService) DefeatureItem(namespace, itemId, storeId, feature string) error
- func (itemService *ItemService) DeleteItem(namespace, itemId string, storeId *string) error
- func (itemService *ItemService) DisableItem(namespace, itemId, storeId string) (*platformclientmodels.FullItemInfo, error)
- func (itemService *ItemService) EnableItem(namespace, itemId, storeId string) (*platformclientmodels.FullItemInfo, error)
- func (itemService *ItemService) FeatureItem(namespace, itemId, storeId, feature string) error
- func (itemService *ItemService) GetApp(namespace, itemId, storeId string, activeOnly *bool) (*platformclientmodels.FullAppInfo, error)
- func (itemService *ItemService) GetBasicItemByFeature(namespace string, features []string, activeOnly *bool) ([]*platformclientmodels.BasicItem, error)
- func (itemService *ItemService) GetItem(namespace, itemId string, storeId *string, activeOnly *bool) (*platformclientmodels.FullItemInfo, error)
- func (itemService *ItemService) GetItemByAppId(namespace, appId, storeId string, activeOnly *bool) (*platformclientmodels.FullItemInfo, error)
- func (itemService *ItemService) GetItemByCriteria(namespace string, ...) (*platformclientmodels.FullItemPagingSlicedResult, error)
- func (itemService *ItemService) GetItemBySku(namespace, sku string, storeId *string, activeOnly *bool) (*platformclientmodels.FullItemInfo, error)
- func (itemService *ItemService) GetItemDynamicData(namespace, itemId string) (*platformclientmodels.ItemDynamicDataInfo, error)
- func (itemService *ItemService) GetItemIdBySku(namespace, sku, storeId string, activeOnly *bool) (*platformclientmodels.ItemID, error)
- func (itemService *ItemService) GetLocaleItem(namespace, itemId string, region, language, storeId *string, ...) (*platformclientmodels.PopulatedItemInfo, error)
- func (itemService *ItemService) GetLocaleItemBySku(namespace, sku string, storeId, region, language *string, ...) (*platformclientmodels.PopulatedItemInfo, error)
- func (itemService *ItemService) GetUncategorizedItem(namespace string, storeId, sortBy *string, activeOnly *bool, ...) (*platformclientmodels.FullItemPagingSlicedResult, error)
- func (itemService *ItemService) PublicGetApp(namespace, itemId string, storeId, language, region *string) (*platformclientmodels.AppInfo, error)
- func (itemService *ItemService) PublicGetBulkItems(namespace, itemIds string, language, region, storeId *string) ([]*platformclientmodels.ItemInfo, error)
- func (itemService *ItemService) PublicGetItem(namespace, itemId string, region, storeId, language *string, ...) (*platformclientmodels.PopulatedItemInfo, error)
- func (itemService *ItemService) PublicGetItemByAppId(namespace, appId string, storeId, language, region *string) (*platformclientmodels.ItemInfo, error)
- func (itemService *ItemService) PublicGetItemBySku(namespace, sku string, storeId, region, language *string) (*platformclientmodels.ItemInfo, error)
- func (itemService *ItemService) PublicGetItemDynamicData(namespace, itemId string) (*platformclientmodels.ItemDynamicDataInfo, error)
- func (itemService *ItemService) PublicQueryItems(namespace string, ...) (*platformclientmodels.ItemPagingSlicedResult, error)
- func (itemService *ItemService) PublicSearchItem(namespace, keyword, language string, storeId, region *string, ...) (*platformclientmodels.ItemPagingSlicedResult, error)
- func (itemService *ItemService) ReturnItem(namespace, itemId string, ...) error
- func (itemService *ItemService) SearchItem(namespace, keyword, language string, storeId *string, activeOnly *bool, ...) (*platformclientmodels.FullItemPagingSlicedResult, error)
- func (itemService *ItemService) SyncInGameItem(namespace, storeId string, inGameItemSync platformclientmodels.InGameItemSync) (*platformclientmodels.FullItemInfo, error)
- func (itemService *ItemService) UpdateApp(namespace, itemId, storeId string, appUpdate platformclientmodels.AppUpdate) (*platformclientmodels.FullAppInfo, error)
- func (itemService *ItemService) UpdateItem(namespace, itemId, storeId string, itemUpdate platformclientmodels.ItemUpdate) (*platformclientmodels.FullItemInfo, error)
- type NotificationServiceWebsocket
- type OauthExtService
- func (oauthExtService OauthExtService) GetCountryLocationV3() (*iamclientmodels.OauthmodelCountryLocationResponse, error)
- func (oauthExtService OauthExtService) Logout() error
- func (oauthExtService OauthExtService) PlatformAuthenticationV3(...) error
- func (oauthExtService OauthExtService) UserAuthenticationV3(password string, requestID, userName string) (string, error)
- type OauthService
- func (oauthService OauthService) AuthCodeRequestV3(clientID *string, platformID string, redirectURI *string, requestID string) (*o_auth2_0.AuthCodeRequestV3Found, error)
- func (oauthService *OauthService) Authenticate(requestId, username, password string) (string, error)
- func (oauthService *OauthService) Authorize(scope, challenge, challengeMethod string) (string, error)
- func (oauthService OauthService) AuthorizeV3(clientID string, codeChallenge *string, codeChallengeMethode *string, ...) (string, error)
- func (oauthService OauthService) GetJWKSV3() (*iamclientmodels.OauthcommonJWKSet, error)
- func (oauthService OauthService) GetRevocationListV3() (*iamclientmodels.OauthapiRevocationList, error)
- func (oauthService *OauthService) GetToken() (string, error)
- func (oauthService *OauthService) GrantTokenAuthorizationCode(code, codeVerifier, redirectUri string) error
- func (oauthService *OauthService) GrantTokenCredentials(code, codeVerifier string) error
- func (oauthService *OauthService) GrantTokenRefreshToken(code, codeVerifier, refreshToken string) error
- func (oauthService OauthService) PlatformTokenGrantV3(clientID *string, deviceID *string, platformID string, platformToken *string) (*iamclientmodels.OauthmodelTokenResponse, error)
- func (oauthService OauthService) RetrieveUserThirdPartyPlatformTokenV3(namespace string, platformID string, userID string) (*iamclientmodels.OauthmodelTokenThirdPartyResponse, error)
- func (oauthService OauthService) RevokeUserV3(namespace, userID string) error
- func (oauthService OauthService) TokenGrantV3(clientID *string, code *string, codeVerifier *string, deviceID *string, ...) (*iamclientmodels.OauthmodelTokenResponseV3, error)
- func (oauthService OauthService) TokenIntrospectionV3(token string) (*iamclientmodels.OauthmodelTokenIntrospectResponse, error)
- func (oauthService OauthService) TokenRevocationV3(token string) error
- type OrderService
- func (o *OrderService) CountOfPurchasedItem(namespace, userId, itemId string) (*platformclientmodels.PurchasedItemCount, error)
- func (o *OrderService) DownloadUserOrderReceipt(namespace, orderNo, userId string) error
- func (o *OrderService) FulfillUserOrder(namespace, userId, orderNo string) (*platformclientmodels.OrderInfo, error)
- func (o *OrderService) GetOrder(namespace, orderNo string) (*platformclientmodels.OrderInfo, error)
- func (o *OrderService) GetOrderStatistics(namespace string) (*platformclientmodels.OrderStatistics, error)
- func (o *OrderService) GetUserOrder(namespace, userId, orderNo string) (*platformclientmodels.OrderInfo, error)
- func (o *OrderService) GetUserOrderGrant(namespace, userId, orderNo string) (*platformclientmodels.OrderGrantInfo, error)
- func (o *OrderService) GetUserOrderHistories(namespace, userId, orderNo string) ([]*platformclientmodels.OrderHistoryInfo, error)
- func (o *OrderService) ProcessUserOrderNotification(namespace, userId, orderNo string, ...) error
- func (o *OrderService) PublicCancelUserOrder(namespace, orderNo, userId string) (*platformclientmodels.OrderInfo, error)
- func (o *OrderService) PublicCreateUserOrder(namespace, userId string, content *platformclientmodels.OrderCreate) (*platformclientmodels.OrderInfo, error)
- func (o *OrderService) PublicDownloadUserOrderReceipt(namespace, orderNo, userId string) error
- func (o *OrderService) PublicGetUserOrder(namespace, userId, orderNo string) (*platformclientmodels.OrderInfo, error)
- func (o *OrderService) PublicGetUserOrderHistories(namespace, orderNo, userId string) ([]*platformclientmodels.OrderHistoryInfo, error)
- func (o *OrderService) PublicQueryUserOrders(namespace, userId string, itemId, status *string, limit, offset *int32) (*platformclientmodels.OrderPagingSlicedResult, error)
- func (o *OrderService) QueryOrders(namespace string, sort, status, startTime, endTime *string, orderNos []string, ...) (*platformclientmodels.OrderPagingResult, error)
- func (o *OrderService) QueryUserOrders(namespace, userId string, itemId, status *string, limit, offset *int32) (*platformclientmodels.OrderPagingSlicedResult, error)
- func (o *OrderService) RefundOrder(namespace, orderNo string, content *platformclientmodels.OrderRefundCreate) (*platformclientmodels.OrderInfo, error)
- func (o *OrderService) SyncOrders(start, end string, nextEvaluatedKey *string) (*platformclientmodels.OrderSyncResult, error)
- func (o *OrderService) UpdateUserOrderStatus(namespace, userId, orderNo string, content *platformclientmodels.OrderUpdate) (*platformclientmodels.OrderInfo, error)
- type PartyService
- func (s *PartyService) CreateParty() error
- func (s *PartyService) GetPartyInfo() error
- func (s *PartyService) InviteParty(friendId string) error
- func (s *PartyService) JoinParty(partyID, token string) error
- func (s *PartyService) KickPartyMember(id string) error
- func (s *PartyService) LeaveParty() error
- func (s *PartyService) PromotePartyLeader(leaderUserId string) error
- func (s *PartyService) RejectPartyInvitation(partyID, token string) error
- type PaymentAccount
- type PaymentConfig
- func (p *PaymentConfig) CreatePaymentProviderConfig(content *platformclientmodels.PaymentProviderConfigEdit) (*platformclientmodels.PaymentProviderConfigInfo, error)
- func (p *PaymentConfig) DebugMatchedPaymentMerchantConfig(namespace, region *string) (*platformclientmodels.PaymentMerchantConfigInfo, error)
- func (p *PaymentConfig) DebugMatchedPaymentProviderConfig(namespace, region *string) (*platformclientmodels.PaymentProviderConfigInfo, error)
- func (p *PaymentConfig) DeletePaymentProviderConfig(id string) error
- func (p *PaymentConfig) GetAggregatePaymentProviders() ([]string, error)
- func (p *PaymentConfig) GetPaymentMerchantConfig(id string) (*platformclientmodels.PaymentMerchantConfigInfo, error)
- func (p *PaymentConfig) GetPaymentTaxConfig() (*platformclientmodels.PaymentTaxConfigInfo, error)
- func (p *PaymentConfig) GetSpecialPaymentProviders() ([]string, error)
- func (p *PaymentConfig) QueryPaymentProviderConfig(namespace, region *string, limit, offset *int32) (*platformclientmodels.PaymentProviderConfigPagingSlicedResult, error)
- func (p *PaymentConfig) TestAdyenConfig(content *platformclientmodels.AdyenConfig, sandbox *bool) (*platformclientmodels.TestResult, error)
- func (p *PaymentConfig) TestAdyenConfigByID(id string, sandbox *bool) (*platformclientmodels.TestResult, error)
- func (p *PaymentConfig) TestAliPayConfig(content *platformclientmodels.AliPayConfig, sandbox *bool) (*platformclientmodels.TestResult, error)
- func (p *PaymentConfig) TestAliPayConfigByID(id string, sandbox *bool) (*platformclientmodels.TestResult, error)
- func (p *PaymentConfig) TestCheckoutConfig(content *platformclientmodels.CheckoutConfig, sandbox *bool) (*platformclientmodels.TestResult, error)
- func (p *PaymentConfig) TestCheckoutConfigByID(id string) (*platformclientmodels.TestResult, error)
- func (p *PaymentConfig) TestPayPalConfig(content *platformclientmodels.PayPalConfig, sandbox *bool) (*platformclientmodels.TestResult, error)
- func (p *PaymentConfig) TestPayPalConfigByID(id string, sandbox *bool) (*platformclientmodels.TestResult, error)
- func (p *PaymentConfig) TestStripeConfig(content *platformclientmodels.StripeConfig, sandbox *bool) (*platformclientmodels.TestResult, error)
- func (p *PaymentConfig) TestStripeConfigByID(id string, sandbox *bool) (*platformclientmodels.TestResult, error)
- func (p *PaymentConfig) TestWxPayConfig(content *platformclientmodels.WxPayConfigRequest) (*platformclientmodels.TestResult, error)
- func (p *PaymentConfig) TestWxPayConfigByID(id string) (*platformclientmodels.TestResult, error)
- func (p *PaymentConfig) TestXsollaConfig(content *platformclientmodels.XsollaConfig) (*platformclientmodels.TestResult, error)
- func (p *PaymentConfig) TestXsollaConfigByID(id string) (*platformclientmodels.TestResult, error)
- func (p *PaymentConfig) UpdateAdyenConfig(id string, sandbox, validate *bool, content *platformclientmodels.AdyenConfig) (*platformclientmodels.PaymentMerchantConfigInfo, error)
- func (p *PaymentConfig) UpdateAliPayConfig(id string, sandbox, validate *bool, content *platformclientmodels.AliPayConfig) (*platformclientmodels.PaymentMerchantConfigInfo, error)
- func (p *PaymentConfig) UpdateCheckoutConfig(id string, sandbox, validate *bool, ...) (*platformclientmodels.PaymentMerchantConfigInfo, error)
- func (p *PaymentConfig) UpdatePayPalConfig(id string, sandbox, validate *bool, content *platformclientmodels.PayPalConfig) (*platformclientmodels.PaymentMerchantConfigInfo, error)
- func (p *PaymentConfig) UpdatePaymentProviderConfig(id string, content *platformclientmodels.PaymentProviderConfigEdit) (*platformclientmodels.PaymentProviderConfigInfo, error)
- func (p *PaymentConfig) UpdatePaymentTaxConfig(content *platformclientmodels.PaymentTaxConfigEdit) (*platformclientmodels.PaymentTaxConfigInfo, error)
- func (p *PaymentConfig) UpdateStripeConfig(id string, sandbox, validate *bool, content *platformclientmodels.StripeConfig) (*platformclientmodels.PaymentMerchantConfigInfo, error)
- func (p *PaymentConfig) UpdateWxPayConfig(id string, validate *bool, content *platformclientmodels.WxPayConfigRequest) (*platformclientmodels.PaymentMerchantConfigInfo, error)
- func (p *PaymentConfig) UpdateWxPayConfigCert(id string, file runtime.NamedReadCloser) (*platformclientmodels.PaymentMerchantConfigInfo, error)
- func (p *PaymentConfig) UpdateXsollaConfig(id string, validate *bool, content *platformclientmodels.XsollaConfig) (*platformclientmodels.PaymentMerchantConfigInfo, error)
- func (p *PaymentConfig) UpdateXsollaUIConfig(id string, content *platformclientmodels.XsollaPaywallConfigRequest) (*platformclientmodels.PaymentMerchantConfigInfo, error)
- type PaymentService
- func (p *PaymentService) ChargePaymentOrder(namespace, paymentOrderNo string) (*platformclientmodels.PaymentOrderInfo, error)
- func (p *PaymentService) CreatePaymentOrderByDedicated(namespace string, content *platformclientmodels.ExternalPaymentOrderCreate) (*platformclientmodels.PaymentOrderCreateResult, error)
- func (p *PaymentService) CreateUserPaymentOrder(namespace, userId string, content *platformclientmodels.PaymentOrderCreate) (*platformclientmodels.PaymentOrderInfo, error)
- func (p *PaymentService) GetPaymentOrder(namespace, paymentOrderNo string) (*platformclientmodels.PaymentOrderInfo, error)
- func (p *PaymentService) GetPaymentOrderChargeStatus(namespace, paymentOrderNo string) (*platformclientmodels.PaymentOrderChargeStatus, error)
- func (p *PaymentService) ListExtOrderNoByExtTxID(namespace, extTxId string) ([]string, error)
- func (p *PaymentService) QueryPaymentNotification(namespace string, ...) (*platformclientmodels.PaymentNotificationPagingSlicedResult, error)
- func (p *PaymentService) QueryPaymentOrders(namespace string, channel, extTxId, status *string, limit, offset *int32) (*platformclientmodels.PaymentOrderPagingSlicedResult, error)
- func (p *PaymentService) RefundPaymentOrderByDedicated(namespace, paymentOrderNo string, ...) (*platformclientmodels.PaymentOrderRefundResult, error)
- func (p *PaymentService) RefundUserPaymentOrder(namespace, userId, paymentOrderNo string, ...) (*platformclientmodels.PaymentOrderInfo, error)
- func (p *PaymentService) SyncPaymentOrders(startDate, endDate string, nextEvaluatedKey *string) (*platformclientmodels.PaymentOrderSyncResult, error)
- type PaymentStation
- func (p *PaymentStation) GetPaymentCustomization(namespace, paymentProvider, region string, sandbox *bool) (*platformclientmodels.Customization, error)
- func (p *PaymentStation) GetPaymentPublicConfig(namespace, paymentProvider string) (map[string]interface{}, error)
- func (p *PaymentStation) GetPaymentTaxValue(namespace, paymentOrderNo, paymentProvider string, zipCode *string) (*platformclientmodels.TaxResult, error)
- func (p *PaymentStation) Pay(namespace, paymentOrderNo string, paymentProvider, zipCode *string) (*platformclientmodels.PaymentProcessResult, error)
- func (p *PaymentStation) PublicCheckPaymentOrderPaidStatus(namespace, paymentOrderNo string) (*platformclientmodels.PaymentOrderPaidResult, error)
- func (p *PaymentStation) PublicGetPaymentMethods(namespace, paymentOrderNo string) ([]*platformclientmodels.PaymentMethod, error)
- func (p *PaymentStation) PublicGetPaymentURL(namespace string, content *platformclientmodels.PaymentURLCreate) (*platformclientmodels.PaymentURL, error)
- func (p *PaymentStation) PublicGetQRCode(namespace, code string, writer io.Writer) (io.Writer, error)
- func (p *PaymentStation) PublicGetUnpaidPaymentOrder(namespace, paymentOrderNo string) (*platformclientmodels.PaymentOrderDetails, error)
- func (p *PaymentStation) PublicNormalizePaymentReturnURL(namespace, paymentProvider, orderNo, paymentOrderNo, returnUrl string, ...) error
- type RewardService
- func (r *RewardService) CreateReward(namespace string, content *platformclientmodels.RewardCreate) (*platformclientmodels.RewardInfo, error)
- func (r *RewardService) DeleteReward(namespace, rewardId string) (*platformclientmodels.RewardInfo, error)
- func (r *RewardService) ExportRewards(namespace string) error
- func (r *RewardService) GetReward(namespace, rewardId string) (*platformclientmodels.RewardInfo, error)
- func (r *RewardService) ImportRewards(namespace string, replaceExisting bool, file runtime.NamedReadCloser) error
- func (r *RewardService) PublicGetReward(namespace, rewardId string) (*platformclientmodels.RewardInfo, error)
- func (r *RewardService) PublicQueryRewards(namespace string, eventTopic, sort *string, limit, offset *int32) (*platformclientmodels.RewardPagingSlicedResult, error)
- func (r *RewardService) QueryRewards(namespace string, eventTopic, sort *string, limit, offset *int32) (*platformclientmodels.RewardPagingSlicedResult, error)
- func (r *RewardService) UpdateReward(namespace, rewardId string) (*platformclientmodels.RewardInfo, error)
- type RoleService
- func (roleService *RoleService) AdminAddRoleManagersV3(roleId string, managers []*iamclientmodels.AccountcommonRoleManagerV3) error
- func (roleService *RoleService) AdminAddRoleMembersV3(roleId string, managers []*iamclientmodels.AccountcommonRoleMemberV3) error
- func (roleService *RoleService) AdminAddRolePermissionsV3(roleId string, permissions []*iamclientmodels.AccountcommonPermissionV3) error
- func (roleService *RoleService) AdminCreateRoleV3(roleName *string, adminRole, isWildcard *bool, ...) (*iamclientmodels.AccountcommonRoleV3, error)
- func (roleService *RoleService) AdminDeleteRolePermissionV3(roleId, resource string, action int64) error
- func (roleService *RoleService) AdminDeleteRolePermissionsV3(roleId string, body []string) error
- func (roleService *RoleService) AdminDeleteRoleV3(roleId string) error
- func (roleService *RoleService) AdminGetRoleAdminStatusV3(roleId string) (*iamclientmodels.ModelRoleAdminStatusResponseV3, error)
- func (roleService *RoleService) AdminGetRoleManagers(roleId string, after, before *string, limit *int64) (*iamclientmodels.ModelRoleManagersResponsesV3, error)
- func (roleService *RoleService) AdminGetRoleMembersV3(roleId string, before, after *string, limit *int64) (*iamclientmodels.ModelRoleMembersResponseV3, error)
- func (roleService *RoleService) AdminGetRoleV3(roleId string) (*iamclientmodels.ModelRoleResponseV3, error)
- func (roleService *RoleService) AdminGetRolesV3(after, before *string, isWildCard *bool, limit *int64) (*iamclientmodels.ModelRoleResponseWithManagersAndPaginationV3, error)
- func (roleService *RoleService) AdminRemoveRoleAdminV3(roleId string) error
- func (roleService *RoleService) AdminRemoveRoleManagersV3(roleId string, managers []*iamclientmodels.AccountcommonRoleManagerV3) error
- func (roleService *RoleService) AdminRemoveRoleMembersV3(roleId string, managers []*iamclientmodels.AccountcommonRoleMemberV3) error
- func (roleService *RoleService) AdminUpdateAdminRoleStatusV3(roleId string) error
- func (roleService *RoleService) AdminUpdateRolePermissionsV3(roleId string, permissions []*iamclientmodels.AccountcommonPermissionV3) error
- func (roleService *RoleService) AdminUpdateRoleV3(roleId string, roleName *string, isWildcard *bool) (*iamclientmodels.ModelRoleResponseV3, error)
- func (roleService *RoleService) PublicGetRoleV3(roleId string) (*iamclientmodels.ModelRoleResponse, error)
- func (roleService *RoleService) PublicGetRolesV3(after, before *string, isWildCard *bool, limit *int64) (*iamclientmodels.ModelRoleNamesResponseV3, error)
- type SSOCredService
- func (s SSOCredService) AddSSOLoginPlatformCredentialV3(body *iamclientmodels.ModelSSOPlatformCredentialRequest, namespace string, ...) (*iamclientmodels.ModelSSOPlatformCredentialResponse, error)
- func (s SSOCredService) DeleteSSOLoginPlatformCredentialV3(namespace string, platformID string) error
- func (s SSOCredService) RetrieveAllSSOLoginPlatformCredentialV3(limit *int64, namespace string, offset *string) ([]*iamclientmodels.ModelSSOPlatformCredentialResponse, error)
- func (s SSOCredService) RetrieveSSOLoginPlatformCredentialV3(namespace string, platformID string) (*iamclientmodels.ModelSSOPlatformCredentialResponse, error)
- func (s SSOCredService) UpdateSSOLoginPlatformCredentialV3(body *iamclientmodels.ModelSSOPlatformCredentialRequest, namespace string, ...) (*iamclientmodels.ModelSSOPlatformCredentialResponse, error)
- type SSOSAML20Service
- type SSOService
- type SessionBrowserService
- func (b *SessionBrowserService) CreateSession(namespace string, body *sessionbrowserclientmodels.ModelsCreateSessionRequest) (*sessionbrowserclientmodels.ModelsSessionResponse, error)
- func (b *SessionBrowserService) DeleteSession(namespace, sessionId string) (*sessionbrowserclientmodels.ModelsSessionResponse, error)
- func (b *SessionBrowserService) GetSession(namespace, sessionId string) (*sessionbrowserclientmodels.ModelsSessionResponse, error)
- func (b *SessionBrowserService) GetSessionByUserIDs(namespace, userIds string) (*sessionbrowserclientmodels.ModelsSessionByUserIDsResponse, error)
- func (b *SessionBrowserService) QuerySession(namespace, sessionType string, ...) (*sessionbrowserclientmodels.ModelsSessionQueryResponse, error)
- func (b *SessionBrowserService) UpdateSession(namespace, sessionId string, ...) (*sessionbrowserclientmodels.ModelsSessionResponse, error)
- type SlotConfigService
- func (s *SlotConfigService) DeleteNamespaceSlotConfig(namespace string) error
- func (s *SlotConfigService) DeleteUserSlotConfig(namespace, userId string) error
- func (s *SlotConfigService) GetNamespaceSlotConfig(namespace string) (*socialclientmodels.NamespaceSlotConfigInfo, error)
- func (s *SlotConfigService) GetUserSlotConfig(namespace, userId string) (*socialclientmodels.UserSlotConfigInfo, error)
- func (s *SlotConfigService) UpdateNamespaceSlotConfig(namespace string, content *socialclientmodels.SlotConfigUpdate) (*socialclientmodels.NamespaceSlotConfigInfo, error)
- func (s *SlotConfigService) UpdateUserSlotConfig(namespace, userId string, content *socialclientmodels.SlotConfigUpdate) (*socialclientmodels.UserSlotConfigInfo, error)
- type SlotService
- func (s *SlotService) GetSlotData(namespace, userId, slotId string, writer io.Writer) (io.Writer, error)
- func (s *SlotService) GetUserNamespaceSlots(namespace, userId string) ([]*socialclientmodels.SlotInfo, error)
- func (s *SlotService) PublicCreateUserNamespaceSlot(namespace, userId string, checksum, customAttribute, label *string, ...) error
- func (s *SlotService) PublicDeleteUserNamespaceSlot(namespace, userId, slotId string) error
- func (s *SlotService) PublicGetSlotData(namespace, userId, slotId string, writer io.Writer) (io.Writer, error)
- func (s *SlotService) PublicGetUserNamespaceSlots(namespace, userId string) ([]*socialclientmodels.SlotInfo, error)
- func (s *SlotService) PublicUpdateUserNamespaceSlot(namespace, userId, slotId string, checksum, customAttribute, label *string, ...) (*socialclientmodels.SlotInfo, error)
- func (s *SlotService) PublicUpdateUserNamespaceSlotMetadata(namespace, userId, slotId string, ...) (*socialclientmodels.SlotInfo, error)
- type StatisticConfigService
- func (s *StatisticConfigService) CreateStat(namespace string, content *socialclientmodels.StatCreate) (*socialclientmodels.StatInfo, error)
- func (s *StatisticConfigService) DeleteStat(namespace, statCode string) error
- func (s *StatisticConfigService) ExportStats(namespace string) error
- func (s *StatisticConfigService) GetStat(namespace, statCode string) (*socialclientmodels.StatInfo, error)
- func (s *StatisticConfigService) GetStats(namespace string, limit, offset *int32) (*socialclientmodels.StatPagingSlicedResult, error)
- func (s *StatisticConfigService) ImportStats(namespace string, file runtime.NamedReadCloser, replaceExisting *bool) (*socialclientmodels.StatImportInfo, error)
- func (s *StatisticConfigService) PublicCreateStat(namespace string, content *socialclientmodels.StatCreate) (*socialclientmodels.StatInfo, error)
- func (s *StatisticConfigService) QueryStats(namespace, keyword string, limit, offset *int32) (*socialclientmodels.StatPagingSlicedResult, error)
- func (s *StatisticConfigService) UpdateStat(namespace, statCode string, content *socialclientmodels.StatUpdate) (*socialclientmodels.StatInfo, error)
- type StatisticService
- func (s *StatisticService) BulkCreateUserStatItems(namespace, userId string, content []*socialclientmodels.BulkStatItemCreate) ([]*socialclientmodels.BulkStatItemOperationResult, error)
- func (s *StatisticService) BulkFetchStatItems(namespace, statCode, userIds string) ([]*socialclientmodels.UserStatItemInfo, error)
- func (s *StatisticService) BulkIncUserStatItem(namespace string, content []*socialclientmodels.BulkUserStatItemInc) ([]*socialclientmodels.BulkStatItemOperationResult, error)
- func (s *StatisticService) BulkIncUserStatItem1(namespace string, userID string, content []*socialclientmodels.BulkStatItemInc) ([]*socialclientmodels.BulkStatItemOperationResult, error)
- func (s *StatisticService) BulkIncUserStatItemValue2(namespace string, userID string, content []*socialclientmodels.BulkStatItemInc) ([]*socialclientmodels.BulkStatItemOperationResult, error)
- func (s *StatisticService) BulkResetMultipleUserStatItem(namespace string, content []*socialclientmodels.BulkUserStatItemReset) ([]*socialclientmodels.BulkStatItemOperationResult, error)
- func (s *StatisticService) BulkResetUserStatItem(namespace, userId string, content []*socialclientmodels.BulkStatItemReset) ([]*socialclientmodels.BulkStatItemOperationResult, error)
- func (s *StatisticService) BulkUpdateMultipleUserStatItem(namespace string, content []*socialclientmodels.BulkUserStatItemInc) ([]*socialclientmodels.BulkStatItemOperationResult, error)
- func (s *StatisticService) BulkUpdateMultipleUserStatItemV2(namespace string, content []*socialclientmodels.BulkUserStatItemUpdate) ([]*socialclientmodels.BulkStatItemOperationResult, error)
- func (s *StatisticService) BulkUpdateUserStatItem(namespace string, content []*socialclientmodels.BulkStatItemInc) ([]*socialclientmodels.BulkStatItemOperationResult, error)
- func (s *StatisticService) BulkUpdateUserStatItemV2(namespace string, content []*socialclientmodels.BulkStatItemUpdate) ([]*socialclientmodels.BulkStatItemOperationResult, error)
- func (s *StatisticService) CreateUserStatItem(namespace, userId, statCode string) error
- func (s *StatisticService) DeleteUserStatItems(namespace, userId, statCode string) error
- func (s *StatisticService) DeleteUserStatItemsV2(namespace, userId, statCode string) error
- func (s *StatisticService) GetGlobalStatItems(namespace string, limit, offset *int32) (*socialclientmodels.GlobalStatItemPagingSlicedResult, error)
- func (s *StatisticService) GetUserStatItems(namespace, userId string, statCodes, tags *string, limit, offset *int32) (*socialclientmodels.UserStatItemPagingSlicedResult, error)
- func (s *StatisticService) IncUserStatItemValue(namespace, statCode, userId string, content *socialclientmodels.StatItemInc) (*socialclientmodels.StatItemIncResult, error)
- func (s *StatisticService) IncUserStatItemValueV2(namespace string, content *socialclientmodels.StatItemUpdate) (*socialclientmodels.StatItemIncResult, error)
- func (s *StatisticService) PublicBulkCreateUserStatItems(namespace, userId string, content []*socialclientmodels.BulkStatItemCreate) ([]*socialclientmodels.BulkStatItemOperationResult, error)
- func (s *StatisticService) PublicBulkFetchStatItems(namespace, statCode, userIds string) ([]*socialclientmodels.UserStatItemInfo, error)
- func (s *StatisticService) PublicBulkIncMultipleUserStatItem(namespace string, content []*socialclientmodels.BulkUserStatItemInc) ([]*socialclientmodels.BulkStatItemOperationResult, error)
- func (s *StatisticService) PublicBulkIncMultipleUserStatItemV2(namespace string, content []*socialclientmodels.BulkUserStatItemUpdate) ([]*socialclientmodels.BulkStatItemOperationResult, error)
- func (s *StatisticService) PublicBulkIncUserStatItem(namespace, userId string, content []*socialclientmodels.BulkStatItemInc) ([]*socialclientmodels.BulkStatItemOperationResult, error)
- func (s *StatisticService) PublicBulkIncUserStatItemV2(namespace string, content []*socialclientmodels.BulkStatItemUpdate) ([]*socialclientmodels.BulkStatItemOperationResult, error)
- func (s *StatisticService) PublicBulkIncUserStatItemValue(namespace string, content []*socialclientmodels.BulkUserStatItemInc) ([]*socialclientmodels.BulkStatItemOperationResult, error)
- func (s *StatisticService) PublicBulkResetMultipleUserStatItem(namespace string, content []*socialclientmodels.BulkUserStatItemReset) ([]*socialclientmodels.BulkStatItemOperationResult, error)
- func (s *StatisticService) PublicBulkResetUserStatItem(namespace, userId string, content []*socialclientmodels.BulkStatItemReset) ([]*socialclientmodels.BulkStatItemOperationResult, error)
- func (s *StatisticService) PublicCreateUserStatItem(namespace, userId, statCode string) error
- func (s *StatisticService) PublicDeleteUserStatItem(namespace, userId, statCode string) error
- func (s *StatisticService) PublicIncUserStatItem(namespace, userId string, content *socialclientmodels.StatItemInc) (*socialclientmodels.StatItemIncResult, error)
- func (s *StatisticService) PublicIncUserStatItemV2(namespace string, content *socialclientmodels.StatItemUpdate) (*socialclientmodels.StatItemIncResult, error)
- func (s *StatisticService) PublicIncUserStatItemValue(namespace string, statCode string, userID string, ...) (*socialclientmodels.StatItemIncResult, error)
- func (s *StatisticService) PublicQueryUserStatItems(namespace, userId string, tags, statCodes *string, limit, offset *int32) (*socialclientmodels.UserStatItemPagingSlicedResult, error)
- func (s *StatisticService) PublicResetUserStatItemValue(namespace, userId, statCode string) (*socialclientmodels.StatItemIncResult, error)
- func (s *StatisticService) ResetUserStatItemValue(namespace, statCode, userId string, additionalKey *string) (*socialclientmodels.StatItemIncResult, error)
- type StoreService
- func (storeService *StoreService) BackupStore(namespace string) (*platformclientmodels.StoreBackupInfo, error)
- func (storeService *StoreService) CloneStore(namespace, storeId, targetStoreId string) (*platformclientmodels.StoreInfo, error)
- func (storeService *StoreService) CreateStore(namespace string, storeCreate platformclientmodels.StoreCreate) (*platformclientmodels.StoreInfo, error)
- func (storeService *StoreService) DeletePublishedStore(namespace string) (*platformclientmodels.StoreInfo, error)
- func (storeService *StoreService) DeleteStore(namespace, storeId string) (*platformclientmodels.StoreInfo, error)
- func (storeService *StoreService) ExportStore(namespace, storeId string) error
- func (storeService *StoreService) GetPublishedStore(namespace string) (*platformclientmodels.StoreInfo, error)
- func (storeService *StoreService) GetStore(namespace, storeId string) (*platformclientmodels.StoreInfo, error)
- func (storeService *StoreService) ImportStore(namespace string, storeId *string, fileAbsolutePath string) (*platformclientmodels.StoreInfo, error)
- func (storeService *StoreService) ListStore(namespace string) ([]*platformclientmodels.StoreInfo, error)
- func (storeService *StoreService) PublicListStore(namespace string) ([]*platformclientmodels.StoreInfo, error)
- func (storeService *StoreService) RollbackPublishedStore(namespace string) (*platformclientmodels.StoreInfo, error)
- func (storeService *StoreService) UpdateStore(namespace, storeId string, storeUpdate platformclientmodels.StoreUpdate) (*platformclientmodels.StoreInfo, error)
- type ThirdPartyCredentialService
- func (thirdPartyCredentialService *ThirdPartyCredentialService) AddThirdPartyLoginPlatformCredentialV3(namespace string, platformID string, ...) (*iamclientmodels.ModelThirdPartyLoginPlatformCredentialResponse, error)
- func (thirdPartyCredentialService *ThirdPartyCredentialService) DeleteThirdPartyLoginPlatformCredentialV3(namespace string, platformID string) error
- func (thirdPartyCredentialService *ThirdPartyCredentialService) RetrieveAllActiveThirdPartyLoginPlatformCredentialPublicV3(namespace string) ([]*iamclientmodels.ModelPublicThirdPartyPlatformInfo, error)
- func (thirdPartyCredentialService *ThirdPartyCredentialService) RetrieveAllActiveThirdPartyLoginPlatformCredentialV3(namespace string) ([]*iamclientmodels.ModelThirdPartyLoginPlatformCredentialResponse, error)
- func (thirdPartyCredentialService *ThirdPartyCredentialService) RetrieveAllThirdPartyLoginPlatformCredentialV3(namespace string) ([]*iamclientmodels.ModelThirdPartyLoginPlatformCredentialResponse, error)
- func (thirdPartyCredentialService *ThirdPartyCredentialService) RetrieveThirdPartyLoginPlatformCredentialV3(namespace string) (*iamclientmodels.ModelThirdPartyLoginPlatformCredentialResponse, error)
- func (thirdPartyCredentialService *ThirdPartyCredentialService) UpdateThirdPartyLoginPlatformCredentialV3(namespace string, platformID string, ...) (*iamclientmodels.ModelThirdPartyLoginPlatformCredentialResponse, error)
- type UserService
- func (userService *UserService) AdminAddUserPermissionsV3(namespace, userId string, ...) error
- func (userService *UserService) AdminAddUserRoleV3(namespace, userId, roleId string) error
- func (userService *UserService) AdminBanUserV3(namespace, userId string, ban, comment, endDate, reason *string, ...) (*iamclientmodels.ModelUserBanResponseV3, error)
- func (userService *UserService) AdminCreateJusticeUser(namespace, targetNamespace, userId string) (*iamclientmodels.ModelCreateJusticeUserResponse, error)
- func (userService *UserService) AdminDeleteUserInformationV3(namespace, userId string) error
- func (userService *UserService) AdminDeleteUserPermissionBulkV3(namespace, userId string, body []*iamclientmodels.ModelPermissionDeleteRequest) error
- func (userService *UserService) AdminDeleteUserPermissionV3(namespace, userId, resource string, action int64) error
- func (userService *UserService) AdminDeleteUserRoleV3(namespace, userId, roleId string) error
- func (userService *UserService) AdminDeleteUserRolesV3(namespace, userId string, body []string) error
- func (userService *UserService) AdminGetAgeRestrictionStatusV3(namespace string) (*iamclientmodels.ModelAgeRestrictionResponseV3, error)
- func (userService *UserService) AdminGetBulkUserByEmailAddressV3(namespace string, listEmailAddressRequest []string) (*iamclientmodels.ModelListUserResponseV3, error)
- func (userService *UserService) AdminGetListCountryAgeRestrictionV3(namespace string) ([]*iamclientmodels.ModelCountryV3Response, error)
- func (userService *UserService) AdminGetMyUserV3() (*iamclientmodels.ModelUserResponseV3, error)
- func (userService *UserService) AdminGetUserBanV3(namespace, userId string, after, before *string, activeOnly *bool, ...) (*iamclientmodels.ModelGetUserBanV3Response, error)
- func (userService *UserService) AdminGetUserByEmailAddressV3(namespace string, emailAddress *string) (*iamclientmodels.ModelUserResponseV3, error)
- func (userService *UserService) AdminGetUserByUserIDV3(namespace, userId string) (*iamclientmodels.ModelUserResponseV3, error)
- func (userService *UserService) AdminGetUserDeletionStatusV3(namespace, userId string) (*iamclientmodels.ModelUserDeletionStatusResponse, error)
- func (userService *UserService) AdminGetUserLoginHistoriesV3(namespace, userId string, after, before, limit *float64) (*iamclientmodels.ModelLoginHistoriesResponse, error)
- func (userService *UserService) AdminGetUserPlatformAccountsV3(namespace, userId string, after, before *string, limit *int64) (*iamclientmodels.AccountcommonUserLinkedPlatformsResponseV3, error)
- func (userService *UserService) AdminInviteUserV3(namespace string, emailAddresses, roles []string) (*iamclientmodels.ModelInviteAdminResponseV3, error)
- func (userService *UserService) AdminLinkPlatformAccount(namespace, userId string, platformId, platformUserId *string) error
- func (userService *UserService) AdminListUsersV3(namespace string, limit, offset *int64) (*iamclientmodels.AccountcommonListUsersWithPlatformAccountsResponse, error)
- func (userService *UserService) AdminPlatformUnlinkV3(namespace, platformId, userId, platformNamespace string) error
- func (userService *UserService) AdminSaveUserRoleV3(namespace, userId string, body []*iamclientmodels.ModelNamespaceRoleRequest) error
- func (userService *UserService) AdminSearchUserV3(namespace string, by, endDate, offset, query, startDate *string, limit *int64) (*iamclientmodels.ModelSearchUsersResponseWithPaginationV3, error)
- func (userService *UserService) AdminSendVerificationCodeV3(namespace, userId, context, languageTag string, emailAddress *string) error
- func (userService *UserService) AdminUpdateAgeRestrictionConfigV3(namespace string, ageRestriction *int32, enable *bool) (*iamclientmodels.ModelAgeRestrictionResponseV3, error)
- func (userService *UserService) AdminUpdateCountryAgeRestrictionV3(namespace, countryCode string, ageRestriction *int32) (*iamclientmodels.ModelCountryV3Response, error)
- func (userService *UserService) AdminUpdateUserBanV3(namespace, userId, banId string, enabled, skipNotif *bool) (*iamclientmodels.ModelUserBanResponseV3, error)
- func (userService *UserService) AdminUpdateUserDeletionStatusV3(namespace, userId string, enabled *bool) error
- func (userService *UserService) AdminUpdateUserPermissionV3(namespace, userId string, ...) error
- func (userService *UserService) AdminUpdateUserStatusV3(namespace, userId string, reason *string, enabled *bool) error
- func (userService *UserService) AdminUpdateUserV3(...) (*iamclientmodels.ModelUserResponseV3, error)
- func (userService *UserService) AdminUpgradeHeadlessAccountV3(namespace, userId, country, dateOfBirth, displayName string, ...) (*iamclientmodels.ModelUserResponseV3, error)
- func (userService *UserService) AdminVerifyAccountV3(namespace, userId string, code, contactType, languageTag *string) error
- func (userService *UserService) AdminVerifyUserWithoutVerificationCodeV3(namespace, userId string) error
- func (userService *UserService) CreateProfile(namespace string) error
- func (userService *UserService) CreateUserFromInvitationV3(namespace, invitationId string, ...) (*iamclientmodels.ModelUserCreateResponseV3, error)
- func (userService *UserService) GetAdminInvitationV3(namespace, invitationId string) (*iamclientmodels.ModelAdminInvitationV3, error)
- func (userService *UserService) GetAdminUsersByRoleIDV3(namespace, roleId string, after, before, limit *int64) (*iamclientmodels.ModelGetUsersResponseWithPaginationV3, error)
- func (userService *UserService) GetProfile(namespace string) (*basicclientmodels.UserProfilePrivateInfo, error)
- func (userService *UserService) GetUserVerificationCodeV3(namespace, userId string) (*iamclientmodels.ModelVerificationCodeResponse, error)
- func (userService *UserService) ListAdminsV3(namespace string, after, before *string, limit *int64) (*iamclientmodels.ModelGetUsersResponseWithPaginationV3, error)
- func (userService *UserService) Login(username, password string) error
- func (userService *UserService) Logout() error
- func (userService *UserService) PublicCreateJusticeUser(namespace, targetNamespace string) (*iamclientmodels.ModelCreateJusticeUserResponse, error)
- func (userService *UserService) PublicCreateUserV3(namespace, displayName, birthDate, email, countryId, password string) (*iamclientmodels.ModelUserCreateResponseV3, error)
- func (userService *UserService) PublicForgotPasswordV3(namespace, languageTag string, emailAddress *string) error
- func (userService *UserService) PublicGetAsyncStatus(namespace, requestId string) (*iamclientmodels.ModelLinkRequest, error)
- func (userService *UserService) PublicGetMyUserV3() (*iamclientmodels.ModelUserResponseV3, error)
- func (userService *UserService) PublicGetUserBanHistoryV3(namespace, userId string, after, before *string, activeOnly *bool, ...) (*iamclientmodels.ModelGetUserBanV3Response, error)
- func (userService *UserService) PublicGetUserByPlatformUserIDV3(namespace, platformId, platformUserId string) (*iamclientmodels.ModelUserResponseV3, error)
- func (userService *UserService) PublicGetUserByUserIDV3(namespace, userId string) (*iamclientmodels.ModelPublicUserResponseV3, error)
- func (userService *UserService) PublicGetUserLoginHistoriesV3(namespace, userId string, after, before, limit *float64) (*iamclientmodels.ModelLoginHistoriesResponse, error)
- func (userService *UserService) PublicGetUserPlatformAccountsV3(namespace, userId string, after, before *string, limit *int64) (*iamclientmodels.AccountcommonUserLinkedPlatformsResponseV3, error)
- func (userService *UserService) PublicLinkPlatformAccount(namespace, userId string, platformId, platformUserId *string) error
- func (userService *UserService) PublicListUserIDByPlatformUserIDsV3(namespace, platformId string, platformUserIds []string) (*iamclientmodels.AccountcommonUserPlatforms, error)
- func (userService *UserService) PublicPlatformLinkV3(namespace, platformId, ticket string, redirectURI *string) error
- func (userService *UserService) PublicPlatformUnlinkV3(namespace, platformId, platformNamespace string) error
- func (userService *UserService) PublicSearchUserV3(namespace string, by, query *string) (*iamclientmodels.ModelPublicUserInformationResponseV3, error)
- func (userService *UserService) PublicSendVerificationCodeV3(namespace, context, languageTag string, emailAddress *string) error
- func (userService *UserService) PublicUpdatePasswordV3(namespace string, languageTag, newPassword, oldPassword *string) error
- func (userService *UserService) PublicUpdateUserV3(namespace, country, dateOfBirth, displayName, languageTag, userName string) ([]*iamclientmodels.ModelUserResponseV3, error)
- func (userService *UserService) PublicUpgradeHeadlessAccountV3(namespace, country, dateOfBirth, displayName string, ...) (*iamclientmodels.ModelUserResponseV3, error)
- func (userService *UserService) PublicUserVerificationV3(code, contactType, namespace string) error
- func (userService *UserService) PublicValidateUserByUserIDAndPasswordV3(namespace, userId, password string) error
- func (userService *UserService) PublicVerifyHeadlessAccountV3(namespace string, emailAddress, password *string) (*iamclientmodels.ModelUserResponseV3, error)
- func (userService *UserService) PublicWebLinkPlatform(namespace, platformId string, clientId, redirectUri *string) (*iamclientmodels.ModelWebLinkingResponse, error)
- func (userService *UserService) PublicWebLinkPlatformEstablish(namespace, platformId, state string) error
- func (userService *UserService) ResetPasswordV3(namespace string, code, emailAddress, newPassword *string) error
- func (userService *UserService) UpdateUserV3(namespace, country, dateOfBirth, displayName, languageTag, userName string) ([]*iamclientmodels.ModelUserResponseV3, error)
- type WalletService
- func (w *WalletService) CheckTransactionCreditLimit(namespace, userId, currencyCode string, ...) error
- func (w *WalletService) CreditUserWallet(namespace, userId, currencyCode string, ...) (*platformclientmodels.WalletInfo, error)
- func (w *WalletService) DebitUserWallet(namespace, userId, walletId string, content *platformclientmodels.DebitRequest) (*platformclientmodels.WalletInfo, error)
- func (w *WalletService) DisableUserWallet(namespace, userId, walletId string) (*platformclientmodels.ErrorEntity, error)
- func (w *WalletService) EnableUserWallet(namespace, userId, walletId string) error
- func (w *WalletService) GetUserWallet(namespace, userId, walletId string) (*platformclientmodels.WalletInfo, error)
- func (w *WalletService) GetWallet(namespace, walletId string) (*platformclientmodels.WalletInfo, error)
- func (w *WalletService) ListUserWalletTransactions(namespace, userId, walletId string, limit, offset *int32) (*platformclientmodels.WalletTransactionPagingSlicedResult, error)
- func (w *WalletService) PayWithUserWallet(namespace, userId, currencyCode string, ...) (*platformclientmodels.WalletInfo, error)
- func (w *WalletService) PublicGetMyWallet(namespace, currencyCode string) (*platformclientmodels.WalletInfo, error)
- func (w *WalletService) PublicGetWallet(namespace, userId, currencyCode string) (*platformclientmodels.WalletInfo, error)
- func (w *WalletService) PublicListUserWalletTransactions(namespace, userId, currencyCode string, limit, offset *int32) (*platformclientmodels.WalletTransactionPagingSlicedResult, error)
- func (w *WalletService) QueryWallets(namespace string, currencyCode, userId *string) (*platformclientmodels.WalletPagingSlicedResult, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BansService ¶ added in v0.2.0
type BansService struct { IamClient *iamclient.JusticeIamService TokenRepository repository.TokenRepository }
func (*BansService) AdminGetBannedUsersV3 ¶ added in v0.2.0
func (bansService *BansService) AdminGetBannedUsersV3(activeOnly *bool, banType *string, limit *int64, namespace string, offset *int64) (*iamclientmodels.ModelGetUserBanV3Response, error)
func (*BansService) AdminGetBansTypeV3 ¶ added in v0.2.0
func (bansService *BansService) AdminGetBansTypeV3() (*iamclientmodels.AccountcommonBansV3, error)
func (BansService) AdminGetBansTypeWithNamespaceV3 ¶ added in v0.2.0
func (bansService BansService) AdminGetBansTypeWithNamespaceV3(namespace string) (*iamclientmodels.AccountcommonBansV3, error)
func (BansService) AdminGetListBanReasonV3 ¶ added in v0.2.0
func (bansService BansService) AdminGetListBanReasonV3() (*iamclientmodels.AccountcommonBanReasonsV3, error)
type CategoryService ¶
type CategoryService struct { OauthService *OauthService PlatformService *platformclient.JusticePlatformService }
func (*CategoryService) CreateCategory ¶
func (categoryService *CategoryService) CreateCategory(namespace, storeId string, categoryCreate platformclientmodels.CategoryCreate) (*platformclientmodels.FullCategoryInfo, error)
func (*CategoryService) DeleteCategory ¶
func (categoryService *CategoryService) DeleteCategory(namespace, storeId, categoryPath string) (*platformclientmodels.FullCategoryInfo, error)
func (*CategoryService) DownloadCategories ¶
func (categoryService *CategoryService) DownloadCategories(namespace string, language, storeId *string) ([]*platformclientmodels.HierarchicalCategoryInfo, error)
func (*CategoryService) GetCategory ¶
func (categoryService *CategoryService) GetCategory(namespace, categoryPath string, storeId *string) (*platformclientmodels.FullCategoryInfo, error)
func (*CategoryService) GetChildCategories ¶
func (categoryService *CategoryService) GetChildCategories(namespace, categoryPath string, storeId *string) ([]*platformclientmodels.FullCategoryInfo, error)
func (*CategoryService) GetDescendantCategories ¶
func (categoryService *CategoryService) GetDescendantCategories(namespace, categoryPath string, storeId *string) ([]*platformclientmodels.FullCategoryInfo, error)
func (*CategoryService) GetRootCategories ¶
func (categoryService *CategoryService) GetRootCategories(namespace string, storeId *string) ([]*platformclientmodels.FullCategoryInfo, error)
func (*CategoryService) ListCategoriesBasic ¶
func (categoryService *CategoryService) ListCategoriesBasic(namespace string, storeId *string) ([]*platformclientmodels.BasicCategoryInfo, error)
func (*CategoryService) PublicGetCategory ¶
func (categoryService *CategoryService) PublicGetCategory(namespace, categoryPath string, storeId, language *string) (*platformclientmodels.CategoryInfo, error)
func (*CategoryService) PublicGetChildCategories ¶
func (categoryService *CategoryService) PublicGetChildCategories(namespace, categoryPath string, storeId *string) ([]*platformclientmodels.CategoryInfo, error)
func (*CategoryService) PublicGetDescendantCategories ¶
func (categoryService *CategoryService) PublicGetDescendantCategories(namespace, categoryPath string, storeId *string) ([]*platformclientmodels.CategoryInfo, error)
func (*CategoryService) PublicGetRootCategories ¶
func (categoryService *CategoryService) PublicGetRootCategories(namespace string, storeId *string) ([]*platformclientmodels.CategoryInfo, error)
func (*CategoryService) UpdateCategory ¶
func (categoryService *CategoryService) UpdateCategory(namespace, storeId, categoryPath string, categoryUpdate platformclientmodels.CategoryUpdate) (*platformclientmodels.FullCategoryInfo, error)
type ChatService ¶
type ChatService struct { ConfigRepository repository.ConfigRepository TokenRepository repository.TokenRepository ConnectionManager connectionutils.ConnectionManager }
func (*ChatService) GetPersonalChatHistory ¶
func (s *ChatService) GetPersonalChatHistory(friendID string) error
func (*ChatService) JoinDefaultChannel ¶
func (s *ChatService) JoinDefaultChannel() error
func (*ChatService) SendChannelChat ¶
func (s *ChatService) SendChannelChat(channelSlug, payload string) error
func (*ChatService) SendPartyChat ¶
func (s *ChatService) SendPartyChat(content string) error
func (*ChatService) SendPersonalChat ¶
func (s *ChatService) SendPersonalChat(friendID, content string) error
type ClientService ¶ added in v0.2.0
type ClientService struct { TokenRepository repository.TokenRepository IamClient *iamclient.JusticeIamService }
func (*ClientService) AdminAddClientPermissionsV3 ¶ added in v0.2.0
func (clientService *ClientService) AdminAddClientPermissionsV3(clientID string, namespace string, acccountcommonClientPermissionsV3 iamclientmodels.AccountcommonClientPermissionsV3) error
func (*ClientService) AdminCreateClientV3 ¶ added in v0.2.0
func (clientService *ClientService) AdminCreateClientV3(namespace string, clientmodelClientCreationV3Request iamclientmodels.ClientmodelClientCreationV3Request) (*iamclientmodels.ClientmodelClientV3Response, error)
func (*ClientService) AdminDeleteClientPermissionV3 ¶ added in v0.2.0
func (*ClientService) AdminDeleteClientV3 ¶ added in v0.2.0
func (clientService *ClientService) AdminDeleteClientV3(clientID, namespace string) error
func (*ClientService) AdminGetClientsByNamespaceV3 ¶ added in v0.2.0
func (clientService *ClientService) AdminGetClientsByNamespaceV3(after *string, before *string, limit *int64, namespace string) (*iamclientmodels.ClientmodelClientsV3Response, error)
func (*ClientService) AdminGetClientsbyNamespacebyIDV3 ¶ added in v0.2.0
func (clientService *ClientService) AdminGetClientsbyNamespacebyIDV3(clientID string, namespace string) (*iamclientmodels.ClientmodelClientV3Response, error)
func (*ClientService) AdminUpdateClientPermissionV3 ¶ added in v0.2.0
func (clientService *ClientService) AdminUpdateClientPermissionV3(clientID string, namespace string, accountcommonClientPermissionsV3 *iamclientmodels.AccountcommonClientPermissionsV3) error
func (*ClientService) AdminUpdateClientV3 ¶ added in v0.2.0
func (clientService *ClientService) AdminUpdateClientV3(clientID string, namespace string, clientmodelClientUpdateV3Request *iamclientmodels.ClientmodelClientUpdateV3Request) (*iamclientmodels.ClientmodelClientV3Response, error)
type CloudSaveService ¶
type CloudSaveService struct { CloudSaveServiceClient *cloudsaveclient.JusticeCloudsaveService TokenRepository repository.TokenRepository }
func (*CloudSaveService) CreateGameRecord ¶
func (couldSaveService *CloudSaveService) CreateGameRecord(content map[string]string, key, namespace string) error
func (*CloudSaveService) CreatePlayerRecord ¶
func (couldSaveService *CloudSaveService) CreatePlayerRecord(userId, namespace, key string, content map[string]string) error
func (*CloudSaveService) DeleteGameRecord ¶
func (couldSaveService *CloudSaveService) DeleteGameRecord(key, namespace string) error
func (*CloudSaveService) DeletePlayerRecord ¶
func (couldSaveService *CloudSaveService) DeletePlayerRecord(userId, namespace, key string) error
func (*CloudSaveService) GetGameRecord ¶
func (couldSaveService *CloudSaveService) GetGameRecord(key, namespace string) (*cloudsaveclientmodels.ModelsGameRecord, error)
func (*CloudSaveService) GetPlayerRecord ¶
func (couldSaveService *CloudSaveService) GetPlayerRecord(userId, namespace, key string) (*cloudsaveclientmodels.ModelsPlayerRecord, error)
type CurrencyService ¶
type CurrencyService struct { PlatformServiceClient *platformclient.JusticePlatformService TokenRepository repository.TokenRepository }
func (*CurrencyService) CreateCurrency ¶
func (c *CurrencyService) CreateCurrency(namespace string, body *platformclientmodels.CurrencyCreate) (*platformclientmodels.CurrencyInfo, error)
func (*CurrencyService) DeleteCurrency ¶
func (c *CurrencyService) DeleteCurrency(namespace, currencyCode string) (*platformclientmodels.CurrencyInfo, error)
func (*CurrencyService) GetCurrencyConfig ¶
func (c *CurrencyService) GetCurrencyConfig(namespace, currencyCode string) (*platformclientmodels.CurrencyConfig, error)
func (*CurrencyService) GetCurrencySummary ¶
func (c *CurrencyService) GetCurrencySummary(namespace, currencyCode string) (*platformclientmodels.CurrencySummary, error)
func (*CurrencyService) ListCurrencies ¶
func (c *CurrencyService) ListCurrencies(namespace string) ([]*platformclientmodels.CurrencyInfo, error)
func (*CurrencyService) PublicListCurrencies ¶
func (c *CurrencyService) PublicListCurrencies(namespace string) ([]*platformclientmodels.CurrencyInfo, error)
func (*CurrencyService) UpdateCurrency ¶
func (c *CurrencyService) UpdateCurrency(namespace, currencyCode string, content *platformclientmodels.CurrencyUpdate) (*platformclientmodels.CurrencyInfo, error)
type EntitlementService ¶
type EntitlementService struct { PlatformService *platformclient.JusticePlatformService TokenRepository repository.TokenRepository }
func (*EntitlementService) ConsumeUserEntitlement ¶
func (entitlementService *EntitlementService) ConsumeUserEntitlement(namespace, userId, entitlementId string, entitlementDecrement platformclientmodels.EntitlementDecrement) (*platformclientmodels.EntitlementInfo, error)
func (*EntitlementService) CreateUserDistributionReceiver ¶
func (entitlementService *EntitlementService) CreateUserDistributionReceiver(namespace, userId, extUserId string, distributionReceiverCreate platformclientmodels.DistributionReceiverCreate) error
func (*EntitlementService) DeleteUserDistributionReceiver ¶
func (entitlementService *EntitlementService) DeleteUserDistributionReceiver(namespace, userId, extUserId string) error
func (*EntitlementService) DisableUserEntitlement ¶
func (entitlementService *EntitlementService) DisableUserEntitlement(namespace, userId, entitlementId string) error
func (*EntitlementService) EnableUserEntitlement ¶
func (entitlementService *EntitlementService) EnableUserEntitlement(namespace, userId, entitlementId string) (*platformclientmodels.EntitlementInfo, error)
func (*EntitlementService) ExistsAnyUserActiveEntitlement ¶
func (entitlementService *EntitlementService) ExistsAnyUserActiveEntitlement(namespace, userId string, appIds, itemIds, skus []string) (*platformclientmodels.Ownership, error)
func (*EntitlementService) ExistsAnyUserActiveEntitlementByItemIds ¶
func (entitlementService *EntitlementService) ExistsAnyUserActiveEntitlementByItemIds(namespace, userId string, itemIds []string) (*platformclientmodels.Ownership, error)
func (*EntitlementService) GetEntitlement ¶
func (entitlementService *EntitlementService) GetEntitlement(namespace, entitlementId string) (*platformclientmodels.EntitlementInfo, error)
func (*EntitlementService) GetUserAppEntitlementByAppID ¶
func (entitlementService *EntitlementService) GetUserAppEntitlementByAppID(namespace, userId, appId string, activeOnly *bool) (*platformclientmodels.AppEntitlementInfo, error)
func (*EntitlementService) GetUserAppEntitlementOwnershipByAppID ¶
func (entitlementService *EntitlementService) GetUserAppEntitlementOwnershipByAppID(namespace, userId, appId string) (*platformclientmodels.Ownership, error)
func (*EntitlementService) GetUserDistributionReceivers ¶
func (entitlementService *EntitlementService) GetUserDistributionReceivers(namespace, userId string) ([]*platformclientmodels.DistributionReceiverInfo, error)
func (*EntitlementService) GetUserEntitlement ¶
func (entitlementService *EntitlementService) GetUserEntitlement(namespace, userId, entitlementId string) (*platformclientmodels.EntitlementInfo, error)
func (*EntitlementService) GetUserEntitlementBySku ¶
func (entitlementService *EntitlementService) GetUserEntitlementBySku(namespace, sku, userId string, entitlementClazz *string, activeOnly *bool) (*platformclientmodels.EntitlementInfo, error)
func (*EntitlementService) GetUserEntitlementHistories ¶
func (entitlementService *EntitlementService) GetUserEntitlementHistories(namespace, entitlementId, userId string) ([]*platformclientmodels.EntitlementHistoryInfo, error)
func (*EntitlementService) GetUserEntitlementOwnershipBySku ¶
func (entitlementService *EntitlementService) GetUserEntitlementOwnershipBySku(namespace, userId, sku string, entitlementClazz *string) (*platformclientmodels.Ownership, error)
func (*EntitlementService) GrantUserEntitlement ¶
func (entitlementService *EntitlementService) GrantUserEntitlement(namespace, userId string, entitlementGrants []platformclientmodels.EntitlementGrant) ([]*platformclientmodels.StackableEntitlementInfo, error)
func (*EntitlementService) PublicConsumeUserEntitlement ¶
func (entitlementService *EntitlementService) PublicConsumeUserEntitlement(namespace, userId, entitlementId string, entitlementDecrement platformclientmodels.EntitlementDecrement) (*platformclientmodels.EntitlementInfo, error)
func (*EntitlementService) PublicCreateUserDistributionReceiver ¶
func (entitlementService *EntitlementService) PublicCreateUserDistributionReceiver(namespace, userId, extUserId string, distributionReceiverCreate platformclientmodels.DistributionReceiverCreate) error
func (*EntitlementService) PublicDeleteUserDistributionReceiver ¶
func (entitlementService *EntitlementService) PublicDeleteUserDistributionReceiver(namespace, userId, extUserId string) error
func (*EntitlementService) PublicDistributeUserDistribution ¶
func (entitlementService *EntitlementService) PublicDistributeUserDistribution(namespace, userId, entitlementId, extUserId, targetNamespace string, quantity *int32) (*platformclientmodels.EntitlementInfo, error)
func (*EntitlementService) PublicExistsAnyUserActiveEntitlement ¶
func (entitlementService *EntitlementService) PublicExistsAnyUserActiveEntitlement(namespace, userId string, appIds, itemIds, skus []string) (*platformclientmodels.Ownership, error)
func (*EntitlementService) PublicGetMyAppEntitlementOwnershipByAppID ¶
func (entitlementService *EntitlementService) PublicGetMyAppEntitlementOwnershipByAppID(namespace, appId string) (*platformclientmodels.Ownership, error)
func (*EntitlementService) PublicGetMyEntitlementOwnershipBySku ¶
func (entitlementService *EntitlementService) PublicGetMyEntitlementOwnershipBySku(namespace, sku string, entitlementClazz *string) (*platformclientmodels.Ownership, error)
func (*EntitlementService) PublicGetUserAppEntitlementByAppID ¶
func (entitlementService *EntitlementService) PublicGetUserAppEntitlementByAppID(namespace, userId, appId string) (*platformclientmodels.AppEntitlementInfo, error)
func (*EntitlementService) PublicGetUserAppEntitlementOwnershipByAppID ¶
func (entitlementService *EntitlementService) PublicGetUserAppEntitlementOwnershipByAppID(namespace, userId, appId string) (*platformclientmodels.Ownership, error)
func (*EntitlementService) PublicGetUserDistributionReceivers ¶
func (entitlementService *EntitlementService) PublicGetUserDistributionReceivers(namespace, userId, targetNamespace string) ([]*platformclientmodels.DistributionReceiverInfo, error)
func (*EntitlementService) PublicGetUserEntitlement ¶
func (entitlementService *EntitlementService) PublicGetUserEntitlement(namespace, userId, entitlementId string) (*platformclientmodels.EntitlementInfo, error)
func (*EntitlementService) PublicGetUserEntitlementBySku ¶
func (entitlementService *EntitlementService) PublicGetUserEntitlementBySku(namespace, userId, sku string, entitlementClazz *string) (*platformclientmodels.EntitlementInfo, error)
func (*EntitlementService) PublicGetUserEntitlementOwnershipBySku ¶
func (entitlementService *EntitlementService) PublicGetUserEntitlementOwnershipBySku(namespace, userId, sku string, entitlementClazz *string) (*platformclientmodels.Ownership, error)
func (*EntitlementService) PublicQueryUserEntitlements ¶
func (entitlementService *EntitlementService) PublicQueryUserEntitlements(namespace, userId string, appType, entitlementName, itemId, entitlementClazz *string, limit, offset *int32) (*platformclientmodels.EntitlementPagingSlicedResult, error)
func (*EntitlementService) PublicQueryUserEntitlementsByAppType ¶
func (entitlementService *EntitlementService) PublicQueryUserEntitlementsByAppType(namespace, userId, appType string, limit, offset *int32) (*platformclientmodels.AppEntitlementPagingSlicedResult, error)
func (*EntitlementService) PublicUpdateUserDistributionReceiver ¶
func (entitlementService *EntitlementService) PublicUpdateUserDistributionReceiver(namespace, userId, extUserId string, distributionReceiverCreate platformclientmodels.DistributionReceiverCreate) error
func (*EntitlementService) QueryEntitlement ¶
func (entitlementService *EntitlementService) QueryEntitlement(namespace string, userId, appType, entitlementClazz, entitlementName, itemId *string, limit, offset *int32, activeOnly *bool) (*platformclientmodels.EntitlementPagingSlicedResult, error)
func (*EntitlementService) QueryUserEntitlements ¶
func (entitlementService *EntitlementService) QueryUserEntitlements(namespace, userId string, appType, entitlementClazz, entitlementName, itemId *string, limit, offset *int32, activeOnly *bool) (*platformclientmodels.EntitlementPagingSlicedResult, error)
func (*EntitlementService) QueryUserEntitlementsByAppType ¶
func (entitlementService *EntitlementService) QueryUserEntitlementsByAppType(namespace, userId, appType string, activeOnly *bool, limit, offset *int32) (*platformclientmodels.AppEntitlementPagingSlicedResult, error)
func (*EntitlementService) RevokeUserEntitlement ¶
func (entitlementService *EntitlementService) RevokeUserEntitlement(namespace, userId, entitlementId string) (*platformclientmodels.EntitlementInfo, error)
func (*EntitlementService) RevokeUserEntitlements ¶
func (entitlementService *EntitlementService) RevokeUserEntitlements(namespace, userId, entitlementIds string) (*platformclientmodels.BulkOperationResult, error)
func (*EntitlementService) UpdateUserDistributionReceiver ¶
func (entitlementService *EntitlementService) UpdateUserDistributionReceiver(namespace, userId, extUserId string, distributionReceiverCreate platformclientmodels.DistributionReceiverCreate) error
func (*EntitlementService) UpdateUserEntitlement ¶
func (entitlementService *EntitlementService) UpdateUserEntitlement(namespace, userId, entitlementId string, entitlementUpdate platformclientmodels.EntitlementUpdate) (*platformclientmodels.EntitlementInfo, error)
type FriendService ¶
type FriendService struct { LobbyClient *lobbyclient.JusticeLobbyService TokenRepository repository.TokenRepository }
func (*FriendService) AddFriends ¶
func (friendService *FriendService) AddFriends(friendIds []string, namespace, userId string) error
func (*FriendService) GetFriends ¶
func (friendService *FriendService) GetFriends(namespace, userId, limit, offset string) (*lobbyclientmodels.ModelGetFriendsResponse, error)
type FriendServiceWebsocket ¶
type FriendServiceWebsocket struct { ConfigRepository repository.ConfigRepository TokenRepository repository.TokenRepository ConnectionManager connectionutils.ConnectionManager }
func (*FriendServiceWebsocket) AcceptFriendRequest ¶
func (friendService *FriendServiceWebsocket) AcceptFriendRequest(friendID string) error
func (*FriendServiceWebsocket) Block ¶
func (friendService *FriendServiceWebsocket) Block(namespace, userID, blockedUserID string) error
func (*FriendServiceWebsocket) CancelFriendRequest ¶
func (friendService *FriendServiceWebsocket) CancelFriendRequest(friendID string) error
func (*FriendServiceWebsocket) GetFriendPresenceStatus ¶
func (friendService *FriendServiceWebsocket) GetFriendPresenceStatus() error
func (*FriendServiceWebsocket) GetFriends ¶
func (friendService *FriendServiceWebsocket) GetFriends() error
func (*FriendServiceWebsocket) GetFriendshipStatus ¶
func (friendService *FriendServiceWebsocket) GetFriendshipStatus(friendID string) error
func (*FriendServiceWebsocket) GetIncomingFriendRequest ¶
func (friendService *FriendServiceWebsocket) GetIncomingFriendRequest() error
func (*FriendServiceWebsocket) GetOfflineNotification ¶
func (friendService *FriendServiceWebsocket) GetOfflineNotification() error
func (*FriendServiceWebsocket) GetOnlineFriends ¶
func (friendService *FriendServiceWebsocket) GetOnlineFriends() error
func (*FriendServiceWebsocket) GetOutgoingFriendRequest ¶
func (friendService *FriendServiceWebsocket) GetOutgoingFriendRequest() error
func (*FriendServiceWebsocket) RejectFriendRequest ¶
func (friendService *FriendServiceWebsocket) RejectFriendRequest(friendID string) error
func (*FriendServiceWebsocket) RequestFriend ¶
func (friendService *FriendServiceWebsocket) RequestFriend(friendID string) error
func (*FriendServiceWebsocket) SetUserStatus ¶
func (friendService *FriendServiceWebsocket) SetUserStatus(availability int, activity string) error
func (*FriendServiceWebsocket) Unblock ¶
func (friendService *FriendServiceWebsocket) Unblock(namespace, userID, unblockedUserID string) error
func (*FriendServiceWebsocket) Unfriend ¶
func (friendService *FriendServiceWebsocket) Unfriend(friendID string) error
type FulfillmentService ¶
type FulfillmentService struct { PlatformService *platformclient.JusticePlatformService TokenRepository repository.TokenRepository }
func (*FulfillmentService) FulfillItem ¶
func (fulfillmentService *FulfillmentService) FulfillItem(userId, userNamespace string, fulfillmentRequest platformclientmodels.FulfillmentRequest) (*platformclientmodels.FulfillmentResult, error)
func (*FulfillmentService) QueryFulfillmentHistories ¶
func (fulfillmentService *FulfillmentService) QueryFulfillmentHistories(namespace string, userId, status *string, limit, offset *int32) (*platformclientmodels.FulfillmentHistoryPagingSlicedResult, error)
type GameNotificationService ¶ added in v0.2.0
type GameNotificationService struct { LobbyClient *lobbyclient.JusticeLobbyService TokenRepository repository.TokenRepository }
func (GameNotificationService) CreateNotificationTemplateV1Admin ¶ added in v0.2.0
func (g GameNotificationService) CreateNotificationTemplateV1Admin(namespace string, content *lobbyclientmodels.ModelCreateTemplateRequest) error
func (GameNotificationService) CreateNotificationTopicV1Admin ¶ added in v0.2.0
func (g GameNotificationService) CreateNotificationTopicV1Admin(namespace string, content *lobbyclientmodels.ModelCreateTopicRequestV1) error
func (GameNotificationService) FreeFormNotification ¶ added in v0.2.0
func (g GameNotificationService) FreeFormNotification(namespace string, content *lobbyclientmodels.ModelFreeFormNotificationRequest) error
func (GameNotificationService) FreeFormNotificationByUserID ¶ added in v0.2.0
func (g GameNotificationService) FreeFormNotificationByUserID(namespace, userID string, async *bool, content *lobbyclientmodels.ModelFreeFormNotificationRequest) error
func (GameNotificationService) SendMultipleUsersFreeformNotificationV1Admin ¶ added in v0.2.0
func (g GameNotificationService) SendMultipleUsersFreeformNotificationV1Admin(namespace string, async *bool, content *lobbyclientmodels.ModelBulkUsersFreeFormNotificationRequestV1) error
func (GameNotificationService) SendSpecificUserFreeformNotificationV1Admin ¶ added in v0.2.0
func (g GameNotificationService) SendSpecificUserFreeformNotificationV1Admin(namespace, userID string, async *bool, content *lobbyclientmodels.ModelFreeFormNotificationRequestV1) error
func (GameNotificationService) SendUsersFreeformNotificationV1Admin ¶ added in v0.2.0
func (g GameNotificationService) SendUsersFreeformNotificationV1Admin(namespace string, content *lobbyclientmodels.ModelFreeFormNotificationRequestV1) error
type GameProfileService ¶
type GameProfileService struct { SocialServiceClient *socialclient.JusticeSocialService TokenRepository repository.TokenRepository }
func (*GameProfileService) GetProfile ¶
func (s *GameProfileService) GetProfile(namespace, userId, profileId string) (*socialclientmodels.GameProfileInfo, error)
func (*GameProfileService) GetUserProfiles ¶
func (s *GameProfileService) GetUserProfiles(namespace, userId string) ([]*socialclientmodels.GameProfileHeader, error)
func (*GameProfileService) PublicCreateProfile ¶
func (s *GameProfileService) PublicCreateProfile(namespace, userId string, content *socialclientmodels.GameProfileRequest) error
func (*GameProfileService) PublicDeleteProfile ¶
func (s *GameProfileService) PublicDeleteProfile(namespace, userId, profileId string) error
func (*GameProfileService) PublicGetProfile ¶
func (s *GameProfileService) PublicGetProfile(namespace, userId, profileId string) (*socialclientmodels.GameProfileInfo, error)
func (*GameProfileService) PublicGetProfileAttribute ¶
func (s *GameProfileService) PublicGetProfileAttribute(namespace, userId, attributeName, profileId string) (*socialclientmodels.Attribute, error)
func (*GameProfileService) PublicGetUserGameProfiles ¶
func (s *GameProfileService) PublicGetUserGameProfiles(namespace string, userIds []string) ([]*socialclientmodels.UserGameProfiles, error)
func (*GameProfileService) PublicGetUserProfiles ¶
func (s *GameProfileService) PublicGetUserProfiles(namespace, userId string) ([]*socialclientmodels.GameProfileHeader, error)
func (*GameProfileService) PublicUpdateAttribute ¶
func (s *GameProfileService) PublicUpdateAttribute(namespace, userId, attributeName, profileId string, content *socialclientmodels.Attribute) (*socialclientmodels.GameProfileInfo, error)
func (*GameProfileService) PublicUpdateProfile ¶
func (s *GameProfileService) PublicUpdateProfile(namespace, userId, profileId string, content *socialclientmodels.GameProfileRequest) (*socialclientmodels.GameProfileInfo, error)
type GameSessionService ¶ added in v0.2.0
type GameSessionService struct { DSMCClient *dsmcclient.JusticeDsmcService TokenRepository repository.TokenRepository }
func (*GameSessionService) ClaimServer ¶ added in v0.2.0
func (g *GameSessionService) ClaimServer(namespace string, content *dsmcclientmodels.ModelsClaimSessionRequest) error
func (*GameSessionService) CreateSession ¶ added in v0.2.0
func (g *GameSessionService) CreateSession(namespace string, content *dsmcclientmodels.ModelsCreateSessionRequest) (*dsmcclientmodels.ModelsSessionResponse, error)
func (*GameSessionService) GetSession ¶ added in v0.2.0
func (g *GameSessionService) GetSession(namespace, sessionID string) (*dsmcclientmodels.ModelsSessionResponse, error)
type GroupConfigService ¶
type GroupConfigService struct { GroupClient *groupclient.JusticeGroupService TokenRepository repository.TokenRepository }
func (*GroupConfigService) CreateGroupConfigurationAdminV1 ¶
func (s *GroupConfigService) CreateGroupConfigurationAdminV1(namespace string, content *groupclientmodels.ModelsCreateGroupConfigurationRequestV1) (*groupclientmodels.ModelsCreateGroupConfigurationResponseV1, error)
func (*GroupConfigService) DeleteGroupConfigurationAdminV1 ¶
func (s *GroupConfigService) DeleteGroupConfigurationAdminV1(namespace, configCode string) (*groupclientmodels.ModelsGetGroupConfigurationResponseV1, error)
func (*GroupConfigService) DeleteGroupConfigurationGlobalRuleAdminV1 ¶
func (s *GroupConfigService) DeleteGroupConfigurationGlobalRuleAdminV1(namespace, configCode, allowedAction string) (*groupclientmodels.ModelsUpdateGroupConfigurationResponseV1, error)
func (*GroupConfigService) GetGroupConfigurationAdminV1 ¶
func (s *GroupConfigService) GetGroupConfigurationAdminV1(namespace, configCode string) (*groupclientmodels.ModelsGetGroupConfigurationResponseV1, error)
func (*GroupConfigService) InitiateGroupConfigurationAdminV1 ¶
func (s *GroupConfigService) InitiateGroupConfigurationAdminV1(namespace string) (*groupclientmodels.ModelsCreateGroupConfigurationResponseV1, error)
func (*GroupConfigService) ListGroupConfigurationAdminV1 ¶
func (s *GroupConfigService) ListGroupConfigurationAdminV1(namespace string, limit, offset *int64) (*groupclientmodels.ModelsGetGroupConfigurationResponseV1, error)
func (*GroupConfigService) UpdateGroupConfigurationAdminV1 ¶
func (s *GroupConfigService) UpdateGroupConfigurationAdminV1(namespace, configCode string, content *groupclientmodels.ModelsUpdateGroupConfigurationRequestV1) (*groupclientmodels.ModelsUpdateGroupConfigurationResponseV1, error)
func (*GroupConfigService) UpdateGroupConfigurationGlobalRuleAdminV1 ¶
func (s *GroupConfigService) UpdateGroupConfigurationGlobalRuleAdminV1(namespace, configCode, allowedAction string, content *groupclientmodels.ModelsUpdateGroupConfigurationGlobalRulesRequestV1) (*groupclientmodels.ModelsUpdateGroupConfigurationResponseV1, error)
type GroupMemberConfigService ¶
type GroupMemberConfigService struct { GroupClient *groupclient.JusticeGroupService TokenRepository repository.TokenRepository }
func (*GroupMemberConfigService) GetGroupMembersListV1 ¶
func (s *GroupMemberConfigService) GetGroupMembersListV1(namespace, groupId string, order *string, limit, offset *int64) (*groupclientmodels.ModelsGetGroupMemberListResponseV1, error)
func (*GroupMemberConfigService) PublicAcceptGroupInvitationV1 ¶
func (s *GroupMemberConfigService) PublicAcceptGroupInvitationV1(namespace, groupId string) (*groupclientmodels.ModelsMemberRequestGroupResponseV1, error)
func (*GroupMemberConfigService) PublicAcceptGroupJoinRequestV1 ¶
func (s *GroupMemberConfigService) PublicAcceptGroupJoinRequestV1(namespace, userId string) (*groupclientmodels.ModelsMemberRequestGroupResponseV1, error)
func (*GroupMemberConfigService) PublicCancelGroupJoinRequestV1 ¶
func (s *GroupMemberConfigService) PublicCancelGroupJoinRequestV1(namespace, groupId string) (*groupclientmodels.ModelsMemberRequestGroupResponseV1, error)
func (*GroupMemberConfigService) PublicGetGroupInvitationRequestV1 ¶
func (s *GroupMemberConfigService) PublicGetGroupInvitationRequestV1(namespace string, limit, offset *int64) (*groupclientmodels.ModelsGetMemberRequestsListResponseV1, error)
func (*GroupMemberConfigService) PublicGetGroupJoinRequestV1 ¶
func (s *GroupMemberConfigService) PublicGetGroupJoinRequestV1(namespace, groupId string, limit, offset *int64) (*groupclientmodels.ModelsGetMemberRequestsListResponseV1, error)
func (*GroupMemberConfigService) PublicGetGroupMembersListV1 ¶
func (s *GroupMemberConfigService) PublicGetGroupMembersListV1(namespace, groupId string, order *string, limit, offset *int64) (*groupclientmodels.ModelsGetGroupMemberListResponseV1, error)
func (*GroupMemberConfigService) PublicGetUserGroupInformationV1 ¶
func (s *GroupMemberConfigService) PublicGetUserGroupInformationV1(namespace, userId string) (*groupclientmodels.ModelsGetUserGroupInformationResponseV1, error)
func (*GroupMemberConfigService) PublicInviteGroupV1 ¶
func (s *GroupMemberConfigService) PublicInviteGroupV1(namespace, userId string) (*groupclientmodels.ModelsUserInvitationResponseV1, error)
func (*GroupMemberConfigService) PublicJoinGroupV1 ¶
func (s *GroupMemberConfigService) PublicJoinGroupV1(namespace, groupId string) (*groupclientmodels.ModelsJoinGroupResponseV1, error)
func (*GroupMemberConfigService) PublicKickGroupMemberV1 ¶
func (s *GroupMemberConfigService) PublicKickGroupMemberV1(namespace, userId string) (*groupclientmodels.ModelsKickGroupMemberResponseV1, error)
func (*GroupMemberConfigService) PublicLeaveGroupV1 ¶
func (s *GroupMemberConfigService) PublicLeaveGroupV1(namespace string) (*groupclientmodels.ModelsLeaveGroupResponseV1, error)
func (*GroupMemberConfigService) PublicRejectGroupInvitationV1 ¶
func (s *GroupMemberConfigService) PublicRejectGroupInvitationV1(namespace, groupId string) (*groupclientmodels.ModelsMemberRequestGroupResponseV1, error)
func (*GroupMemberConfigService) PublicRejectGroupJoinRequestV1 ¶
func (s *GroupMemberConfigService) PublicRejectGroupJoinRequestV1(namespace, userId string) (*groupclientmodels.ModelsMemberRequestGroupResponseV1, error)
type GroupRoleConfigService ¶
type GroupRoleConfigService struct { GroupClient *groupclient.JusticeGroupService TokenRepository repository.TokenRepository }
func (*GroupRoleConfigService) CreateMemberRoleAdminV1 ¶
func (s *GroupRoleConfigService) CreateMemberRoleAdminV1(namespace string, content *groupclientmodels.ModelsCreateMemberRoleRequestV1) (*groupclientmodels.ModelsCreateMemberRoleResponseV1, error)
func (*GroupRoleConfigService) DeleteMemberRoleAdminV1 ¶
func (s *GroupRoleConfigService) DeleteMemberRoleAdminV1(namespace, memberRoleId string) error
func (*GroupRoleConfigService) GetMemberRolesListAdminV1 ¶
func (s *GroupRoleConfigService) GetMemberRolesListAdminV1(namespace string, limit, offset *int64) (*groupclientmodels.ModelsGetMemberRolesListResponseV1, error)
func (*GroupRoleConfigService) GetSingleMemberRoleAdminV1 ¶
func (s *GroupRoleConfigService) GetSingleMemberRoleAdminV1(namespace, memberRoleId string) (*groupclientmodels.ModelsGetMemberRoleResponseV1, error)
func (*GroupRoleConfigService) PublicAssignRoleToGroupMemberAdminV1 ¶
func (s *GroupRoleConfigService) PublicAssignRoleToGroupMemberAdminV1(namespace, memberRoleId string, content *groupclientmodels.ModelsAssignRoleToMemberRequestV1) (*groupclientmodels.ModelsUpdateMemberRoleResponseV1, error)
func (*GroupRoleConfigService) PublicDeleteMemberRoleV1 ¶
func (s *GroupRoleConfigService) PublicDeleteMemberRoleV1(namespace, memberRoleId string, content *groupclientmodels.ModelsRemoveRoleFromMemberRequestV1) (*groupclientmodels.ModelsUpdateMemberRoleResponseV1, error)
func (*GroupRoleConfigService) PublicGetMemberRolesListV1 ¶
func (s *GroupRoleConfigService) PublicGetMemberRolesListV1(namespace string, limit, offset *int64) (*groupclientmodels.ModelsGetMemberRolesListResponseV1, error)
func (*GroupRoleConfigService) UpdateMemberRoleAdminV1 ¶
func (s *GroupRoleConfigService) UpdateMemberRoleAdminV1(namespace, memberRoleId string, content *groupclientmodels.ModelsUpdateMemberRoleRequestV1) (*groupclientmodels.ModelsUpdateMemberRoleResponseV1, error)
func (*GroupRoleConfigService) UpdateMemberRolePermissionAdminV1 ¶
func (s *GroupRoleConfigService) UpdateMemberRolePermissionAdminV1(namespace, memberRoleId string, content *groupclientmodels.ModelsUpdateMemberRolePermissionsRequestV1) (*groupclientmodels.ModelsUpdateMemberRoleResponseV1, error)
type GroupService ¶
type GroupService struct { GroupClient *groupclient.JusticeGroupService TokenRepository repository.TokenRepository }
func (*GroupService) DeleteGroupAdminV1 ¶
func (s *GroupService) DeleteGroupAdminV1(namespace, groupId string) error
func (*GroupService) GetGroupListAdminV1 ¶
func (s *GroupService) GetGroupListAdminV1(namespace string, groupName, groupRegion, configCode *string, limit, offset *int64) (*groupclientmodels.ModelsGetGroupsListResponseV1, error)
func (*GroupService) GetSingleGroupAdminV1 ¶
func (s *GroupService) GetSingleGroupAdminV1(namespace, groupId string) (*groupclientmodels.ModelsGroupResponseV1, error)
func (*GroupService) PublicCreateNewGroupV1 ¶
func (s *GroupService) PublicCreateNewGroupV1(namespace string, content *groupclientmodels.ModelsPublicCreateNewGroupRequestV1) error
func (*GroupService) PublicDeleteGroupPredefinedRuleV1 ¶
func (s *GroupService) PublicDeleteGroupPredefinedRuleV1(namespace, groupId, allowedAction string) error
func (*GroupService) PublicDeleteGroupV1 ¶
func (s *GroupService) PublicDeleteGroupV1(namespace, groupId string) error
func (*GroupService) PublicGetGroupListV1 ¶
func (s *GroupService) PublicGetGroupListV1(namespace string, groupName, groupRegion *string, limit, offset *int64) (*groupclientmodels.ModelsGetGroupsListResponseV1, error)
func (*GroupService) PublicGetSingleGroupV1 ¶
func (s *GroupService) PublicGetSingleGroupV1(namespace, groupId string) (*groupclientmodels.ModelsGroupResponseV1, error)
func (*GroupService) PublicUpdateGroupCustomAttributesV1 ¶
func (s *GroupService) PublicUpdateGroupCustomAttributesV1(namespace, groupId string, content *groupclientmodels.ModelsUpdateGroupCustomAttributesRequestV1) (*groupclientmodels.ModelsGroupResponseV1, error)
func (*GroupService) PublicUpdateGroupCustomRuleV1 ¶
func (s *GroupService) PublicUpdateGroupCustomRuleV1(namespace, groupId string, content *groupclientmodels.ModelsUpdateGroupCustomRuleRequestV1) (*groupclientmodels.ModelsGroupResponseV1, error)
func (*GroupService) PublicUpdateGroupPredefinedRuleV1 ¶
func (s *GroupService) PublicUpdateGroupPredefinedRuleV1(namespace, groupId, allowedAction string, content *groupclientmodels.ModelsUpdateGroupPredefinedRuleRequestV1) (*groupclientmodels.ModelsGroupResponseV1, error)
func (*GroupService) PublicUpdateSingleGroupPartialV1 ¶
func (s *GroupService) PublicUpdateSingleGroupPartialV1(namespace, groupId string, content *groupclientmodels.ModelsUpdateGroupRequestV1) (*groupclientmodels.ModelsGroupResponseV1, error)
func (*GroupService) PublicUpdateSingleGroupV1 ¶
func (s *GroupService) PublicUpdateSingleGroupV1(namespace, groupId string, content *groupclientmodels.ModelsUpdateGroupRequestV1) (*groupclientmodels.ModelsGroupResponseV1, error)
type IAPService ¶
type IAPService struct { PlatformServiceClient *platformclient.JusticePlatformService TokenRepository repository.TokenRepository }
func (*IAPService) DeleteAppleIAPConfig ¶
func (s *IAPService) DeleteAppleIAPConfig(namespace string) error
func (*IAPService) DeleteEpicGamesIAPConfig ¶
func (s *IAPService) DeleteEpicGamesIAPConfig(namespace string) error
func (*IAPService) DeleteGoogleIAPConfig ¶
func (s *IAPService) DeleteGoogleIAPConfig(namespace string) error
func (*IAPService) DeletePlaystationIAPConfig ¶
func (s *IAPService) DeletePlaystationIAPConfig(namespace string) error
func (*IAPService) DeleteStadiaIAPConfig ¶
func (s *IAPService) DeleteStadiaIAPConfig(namespace string) error
func (*IAPService) DeleteSteamIAPConfig ¶
func (s *IAPService) DeleteSteamIAPConfig(namespace string) error
func (*IAPService) DeleteXblAPConfig ¶
func (s *IAPService) DeleteXblAPConfig(namespace string) error
func (*IAPService) GetAppleIAPConfig ¶
func (s *IAPService) GetAppleIAPConfig(namespace string) (*platformclientmodels.AppleIAPConfigInfo, error)
func (*IAPService) GetEpicGamesIAPConfig ¶
func (s *IAPService) GetEpicGamesIAPConfig(namespace string) (*platformclientmodels.EpicGamesIAPConfigInfo, error)
func (*IAPService) GetGoogleIAPConfig ¶
func (s *IAPService) GetGoogleIAPConfig(namespace string) (*platformclientmodels.GoogleIAPConfigInfo, error)
func (*IAPService) GetPlayStationIAPConfig ¶
func (s *IAPService) GetPlayStationIAPConfig(namespace string) (*platformclientmodels.PlayStationIAPConfigInfo, error)
func (*IAPService) GetStadiaIAPConfig ¶
func (s *IAPService) GetStadiaIAPConfig(namespace string) (*platformclientmodels.StadiaIAPConfigInfo, error)
func (*IAPService) GetSteamIAPConfig ¶
func (s *IAPService) GetSteamIAPConfig(namespace string) (*platformclientmodels.SteamIAPConfig, error)
func (*IAPService) GetXblIAPConfig ¶
func (s *IAPService) GetXblIAPConfig(namespace string) (*platformclientmodels.XblIAPConfigInfo, error)
func (*IAPService) MockFulfillIAPItem ¶
func (s *IAPService) MockFulfillIAPItem(namespace, userId string, content *platformclientmodels.MockIAPReceipt) error
func (*IAPService) PublicFulfillAppleIAPItem ¶
func (s *IAPService) PublicFulfillAppleIAPItem(namespace, userId string, content *platformclientmodels.AppleIAPReceipt) error
func (*IAPService) PublicFulfillGoogleIAPItem ¶
func (s *IAPService) PublicFulfillGoogleIAPItem(namespace, userId string, content *platformclientmodels.GoogleIAPReceipt) error
func (*IAPService) PublicReconcilePlayStationStore ¶
func (s *IAPService) PublicReconcilePlayStationStore(namespace, userId string) ([]*platformclientmodels.PlayStationReconcileResult, error)
func (*IAPService) QueryUserIAPOrders ¶
func (s *IAPService) QueryUserIAPOrders(namespace, userId string, productId, status, orderType, startTime, endTime *string, limit, offset *int32) (*platformclientmodels.IAPOrderPagingSlicedResult, error)
func (*IAPService) SyncEpicGamesInventory ¶
func (s *IAPService) SyncEpicGamesInventory(namespace, userId string, content *platformclientmodels.EpicGamesReconcileRequest) error
func (*IAPService) SyncStadiaEntitlement ¶
func (s *IAPService) SyncStadiaEntitlement(namespace, userId string, content *platformclientmodels.StadiaSyncRequest) error
func (*IAPService) SyncSteamInventory ¶
func (s *IAPService) SyncSteamInventory(namespace, userId string, content *platformclientmodels.SteamSyncRequest) error
func (*IAPService) SyncXboxInventory ¶
func (s *IAPService) SyncXboxInventory(namespace, userId string, content *platformclientmodels.XblReconcileRequest) error
func (*IAPService) UpdateAppleIAPConfig ¶
func (s *IAPService) UpdateAppleIAPConfig(namespace string, content *platformclientmodels.AppleIAPConfigRequest) (*platformclientmodels.AppleIAPConfigInfo, error)
func (*IAPService) UpdateEpicGamesIAPConfig ¶
func (s *IAPService) UpdateEpicGamesIAPConfig(namespace string, content *platformclientmodels.EpicGamesIAPConfigRequest) (*platformclientmodels.EpicGamesIAPConfigInfo, error)
func (*IAPService) UpdateGoogleIAPConfig ¶
func (s *IAPService) UpdateGoogleIAPConfig(namespace string, content *platformclientmodels.GoogleIAPConfigRequest) (*platformclientmodels.GoogleIAPConfigInfo, error)
func (*IAPService) UpdateGoogleP12File ¶
func (s *IAPService) UpdateGoogleP12File(namespace string, file runtime.NamedReadCloser) (*platformclientmodels.GoogleIAPConfigInfo, error)
func (*IAPService) UpdatePlaystationIAPConfig ¶
func (s *IAPService) UpdatePlaystationIAPConfig(namespace string, content *platformclientmodels.PlaystationIAPConfigRequest) (*platformclientmodels.PlayStationIAPConfigInfo, error)
func (*IAPService) UpdateStadiaJSONConfigFile ¶
func (s *IAPService) UpdateStadiaJSONConfigFile(namespace string, file runtime.NamedReadCloser) (*platformclientmodels.StadiaIAPConfigInfo, error)
func (*IAPService) UpdateSteamIAPConfig ¶
func (s *IAPService) UpdateSteamIAPConfig(namespace string, content *platformclientmodels.SteamIAPConfigRequest) (*platformclientmodels.SteamIAPConfigInfo, error)
func (*IAPService) UpdateXblBPCertFile ¶
func (s *IAPService) UpdateXblBPCertFile(namespace string, password *string, file runtime.NamedReadCloser) (*platformclientmodels.XblIAPConfigInfo, error)
func (*IAPService) UpdateXblIAPConfig ¶
func (s *IAPService) UpdateXblIAPConfig(namespace string, content *platformclientmodels.XblIAPConfigRequest) (*platformclientmodels.XblIAPConfigInfo, error)
type ItemService ¶
type ItemService struct { PlatformService *platformclient.JusticePlatformService OauthService *OauthService }
func (*ItemService) AcquireItem ¶
func (itemService *ItemService) AcquireItem(namespace, itemId string, itemAcqRequest platformclientmodels.ItemAcquireRequest) (*platformclientmodels.ItemAcquireResult, error)
func (*ItemService) BulkGetLocaleItem ¶
func (itemService *ItemService) BulkGetLocaleItem(namespace, itemIds string, language, region, storeId *string, activeOnly *bool) ([]*platformclientmodels.ItemInfo, error)
func (*ItemService) CreateItem ¶
func (itemService *ItemService) CreateItem(namespace, storeId string, itemCreate platformclientmodels.ItemCreate) (*platformclientmodels.FullItemInfo, error)
func (*ItemService) DefeatureItem ¶
func (itemService *ItemService) DefeatureItem(namespace, itemId, storeId, feature string) error
func (*ItemService) DeleteItem ¶
func (itemService *ItemService) DeleteItem(namespace, itemId string, storeId *string) error
func (*ItemService) DisableItem ¶
func (itemService *ItemService) DisableItem(namespace, itemId, storeId string) (*platformclientmodels.FullItemInfo, error)
func (*ItemService) EnableItem ¶
func (itemService *ItemService) EnableItem(namespace, itemId, storeId string) (*platformclientmodels.FullItemInfo, error)
func (*ItemService) FeatureItem ¶
func (itemService *ItemService) FeatureItem(namespace, itemId, storeId, feature string) error
func (*ItemService) GetApp ¶
func (itemService *ItemService) GetApp(namespace, itemId, storeId string, activeOnly *bool) (*platformclientmodels.FullAppInfo, error)
func (*ItemService) GetBasicItemByFeature ¶
func (itemService *ItemService) GetBasicItemByFeature(namespace string, features []string, activeOnly *bool) ([]*platformclientmodels.BasicItem, error)
func (*ItemService) GetItem ¶
func (itemService *ItemService) GetItem(namespace, itemId string, storeId *string, activeOnly *bool) (*platformclientmodels.FullItemInfo, error)
func (*ItemService) GetItemByAppId ¶
func (itemService *ItemService) GetItemByAppId(namespace, appId, storeId string, activeOnly *bool) (*platformclientmodels.FullItemInfo, error)
func (*ItemService) GetItemByCriteria ¶
func (itemService *ItemService) GetItemByCriteria(namespace string, targetNamespace, appType, baseAppId, categoryPath, features, itemType, region, sortBy, tags, storeId, availableDate *string, activeOnly *bool, limit, offset *int32) (*platformclientmodels.FullItemPagingSlicedResult, error)
func (*ItemService) GetItemBySku ¶
func (itemService *ItemService) GetItemBySku(namespace, sku string, storeId *string, activeOnly *bool) (*platformclientmodels.FullItemInfo, error)
func (*ItemService) GetItemDynamicData ¶
func (itemService *ItemService) GetItemDynamicData(namespace, itemId string) (*platformclientmodels.ItemDynamicDataInfo, error)
func (*ItemService) GetItemIdBySku ¶
func (itemService *ItemService) GetItemIdBySku(namespace, sku, storeId string, activeOnly *bool) (*platformclientmodels.ItemID, error)
func (*ItemService) GetLocaleItem ¶
func (itemService *ItemService) GetLocaleItem(namespace, itemId string, region, language, storeId *string, activeOnly, populateBundle *bool) (*platformclientmodels.PopulatedItemInfo, error)
func (*ItemService) GetLocaleItemBySku ¶
func (itemService *ItemService) GetLocaleItemBySku(namespace, sku string, storeId, region, language *string, activeOnly, populateBundle *bool) (*platformclientmodels.PopulatedItemInfo, error)
func (*ItemService) GetUncategorizedItem ¶
func (itemService *ItemService) GetUncategorizedItem(namespace string, storeId, sortBy *string, activeOnly *bool, limit, offset *int32) (*platformclientmodels.FullItemPagingSlicedResult, error)
func (*ItemService) PublicGetApp ¶
func (itemService *ItemService) PublicGetApp(namespace, itemId string, storeId, language, region *string) (*platformclientmodels.AppInfo, error)
func (*ItemService) PublicGetBulkItems ¶
func (itemService *ItemService) PublicGetBulkItems(namespace, itemIds string, language, region, storeId *string) ([]*platformclientmodels.ItemInfo, error)
func (*ItemService) PublicGetItem ¶
func (itemService *ItemService) PublicGetItem(namespace, itemId string, region, storeId, language *string, populateBundle *bool) (*platformclientmodels.PopulatedItemInfo, error)
func (*ItemService) PublicGetItemByAppId ¶
func (itemService *ItemService) PublicGetItemByAppId(namespace, appId string, storeId, language, region *string) (*platformclientmodels.ItemInfo, error)
func (*ItemService) PublicGetItemBySku ¶
func (itemService *ItemService) PublicGetItemBySku(namespace, sku string, storeId, region, language *string) (*platformclientmodels.ItemInfo, error)
func (*ItemService) PublicGetItemDynamicData ¶
func (itemService *ItemService) PublicGetItemDynamicData(namespace, itemId string) (*platformclientmodels.ItemDynamicDataInfo, error)
func (*ItemService) PublicQueryItems ¶
func (itemService *ItemService) PublicQueryItems(namespace string, language, appType, baseAppId, categoryPath, features, itemType, region, sortBy, tags, storeId *string, limit, offset *int32) (*platformclientmodels.ItemPagingSlicedResult, error)
func (*ItemService) PublicSearchItem ¶
func (itemService *ItemService) PublicSearchItem(namespace, keyword, language string, storeId, region *string, limit, offset *int32) (*platformclientmodels.ItemPagingSlicedResult, error)
func (*ItemService) ReturnItem ¶
func (itemService *ItemService) ReturnItem(namespace, itemId string, itemReturnRequest platformclientmodels.ItemReturnRequest) error
func (*ItemService) SearchItem ¶
func (itemService *ItemService) SearchItem(namespace, keyword, language string, storeId *string, activeOnly *bool, limit, offset *int32) (*platformclientmodels.FullItemPagingSlicedResult, error)
func (*ItemService) SyncInGameItem ¶
func (itemService *ItemService) SyncInGameItem(namespace, storeId string, inGameItemSync platformclientmodels.InGameItemSync) (*platformclientmodels.FullItemInfo, error)
func (*ItemService) UpdateApp ¶
func (itemService *ItemService) UpdateApp(namespace, itemId, storeId string, appUpdate platformclientmodels.AppUpdate) (*platformclientmodels.FullAppInfo, error)
func (*ItemService) UpdateItem ¶
func (itemService *ItemService) UpdateItem(namespace, itemId, storeId string, itemUpdate platformclientmodels.ItemUpdate) (*platformclientmodels.FullItemInfo, error)
type NotificationServiceWebsocket ¶ added in v0.3.0
type NotificationServiceWebsocket struct { ConfigRepository repository.ConfigRepository TokenRepository repository.TokenRepository ConnectionManager connectionutils.ConnectionManager }
func (*NotificationServiceWebsocket) GetNotificationMessage ¶ added in v0.3.0
func (notificationService *NotificationServiceWebsocket) GetNotificationMessage() error
type OauthExtService ¶ added in v0.2.0
type OauthExtService struct { IamService *iamclient.JusticeIamService ConfigRepository repository.ConfigRepository TokenRepository repository.TokenRepository }
func (OauthExtService) GetCountryLocationV3 ¶ added in v0.2.0
func (oauthExtService OauthExtService) GetCountryLocationV3() (*iamclientmodels.OauthmodelCountryLocationResponse, error)
func (OauthExtService) Logout ¶ added in v0.2.0
func (oauthExtService OauthExtService) Logout() error
func (OauthExtService) PlatformAuthenticationV3 ¶ added in v0.2.0
func (oauthExtService OauthExtService) PlatformAuthenticationV3(code, error, openIdAssocHandle, openIdClaimedID, openIdIdentity, openIdMode, openIdNs, openIdEndpoint, openIdResponseNonce, openIdReturnTo, openIdSig, openIdSigned *string, platformID, state string) error
func (OauthExtService) UserAuthenticationV3 ¶ added in v0.2.0
func (oauthExtService OauthExtService) UserAuthenticationV3(password string, requestID, userName string) (string, error)
type OauthService ¶
type OauthService struct { IamService *iamclient.JusticeIamService ConfigRepository repository.ConfigRepository TokenRepository repository.TokenRepository }
func (OauthService) AuthCodeRequestV3 ¶ added in v0.2.0
func (oauthService OauthService) AuthCodeRequestV3(clientID *string, platformID string, redirectURI *string, requestID string) (*o_auth2_0.AuthCodeRequestV3Found, error)
func (*OauthService) Authenticate ¶
func (oauthService *OauthService) Authenticate(requestId, username, password string) (string, error)
func (*OauthService) Authorize ¶
func (oauthService *OauthService) Authorize(scope, challenge, challengeMethod string) (string, error)
func (OauthService) AuthorizeV3 ¶ added in v0.2.0
func (OauthService) GetJWKSV3 ¶ added in v0.2.0
func (oauthService OauthService) GetJWKSV3() (*iamclientmodels.OauthcommonJWKSet, error)
func (OauthService) GetRevocationListV3 ¶ added in v0.2.0
func (oauthService OauthService) GetRevocationListV3() (*iamclientmodels.OauthapiRevocationList, error)
func (*OauthService) GetToken ¶
func (oauthService *OauthService) GetToken() (string, error)
func (*OauthService) GrantTokenAuthorizationCode ¶
func (oauthService *OauthService) GrantTokenAuthorizationCode(code, codeVerifier, redirectUri string) error
func (*OauthService) GrantTokenCredentials ¶
func (oauthService *OauthService) GrantTokenCredentials(code, codeVerifier string) error
func (*OauthService) GrantTokenRefreshToken ¶
func (oauthService *OauthService) GrantTokenRefreshToken(code, codeVerifier, refreshToken string) error
func (OauthService) PlatformTokenGrantV3 ¶ added in v0.2.0
func (oauthService OauthService) PlatformTokenGrantV3(clientID *string, deviceID *string, platformID string, platformToken *string) (*iamclientmodels.OauthmodelTokenResponse, error)
func (OauthService) RetrieveUserThirdPartyPlatformTokenV3 ¶ added in v0.2.0
func (oauthService OauthService) RetrieveUserThirdPartyPlatformTokenV3(namespace string, platformID string, userID string) (*iamclientmodels.OauthmodelTokenThirdPartyResponse, error)
func (OauthService) RevokeUserV3 ¶ added in v0.2.0
func (oauthService OauthService) RevokeUserV3(namespace, userID string) error
func (OauthService) TokenGrantV3 ¶ added in v0.2.0
func (oauthService OauthService) TokenGrantV3(clientID *string, code *string, codeVerifier *string, deviceID *string, grantType string, redirectURI *string, refreshToken *string) (*iamclientmodels.OauthmodelTokenResponseV3, error)
func (OauthService) TokenIntrospectionV3 ¶ added in v0.2.0
func (oauthService OauthService) TokenIntrospectionV3(token string) (*iamclientmodels.OauthmodelTokenIntrospectResponse, error)
func (OauthService) TokenRevocationV3 ¶ added in v0.2.0
func (oauthService OauthService) TokenRevocationV3(token string) error
type OrderService ¶
type OrderService struct { PlatformServiceClient *platformclient.JusticePlatformService TokenRepository repository.TokenRepository }
func (*OrderService) CountOfPurchasedItem ¶
func (o *OrderService) CountOfPurchasedItem(namespace, userId, itemId string) (*platformclientmodels.PurchasedItemCount, error)
func (*OrderService) DownloadUserOrderReceipt ¶
func (o *OrderService) DownloadUserOrderReceipt(namespace, orderNo, userId string) error
func (*OrderService) FulfillUserOrder ¶
func (o *OrderService) FulfillUserOrder(namespace, userId, orderNo string) (*platformclientmodels.OrderInfo, error)
func (*OrderService) GetOrder ¶
func (o *OrderService) GetOrder(namespace, orderNo string) (*platformclientmodels.OrderInfo, error)
func (*OrderService) GetOrderStatistics ¶
func (o *OrderService) GetOrderStatistics(namespace string) (*platformclientmodels.OrderStatistics, error)
func (*OrderService) GetUserOrder ¶
func (o *OrderService) GetUserOrder(namespace, userId, orderNo string) (*platformclientmodels.OrderInfo, error)
func (*OrderService) GetUserOrderGrant ¶
func (o *OrderService) GetUserOrderGrant(namespace, userId, orderNo string) (*platformclientmodels.OrderGrantInfo, error)
func (*OrderService) GetUserOrderHistories ¶
func (o *OrderService) GetUserOrderHistories(namespace, userId, orderNo string) ([]*platformclientmodels.OrderHistoryInfo, error)
func (*OrderService) ProcessUserOrderNotification ¶
func (o *OrderService) ProcessUserOrderNotification(namespace, userId, orderNo string, content *platformclientmodels.TradeNotification) error
func (*OrderService) PublicCancelUserOrder ¶
func (o *OrderService) PublicCancelUserOrder(namespace, orderNo, userId string) (*platformclientmodels.OrderInfo, error)
func (*OrderService) PublicCreateUserOrder ¶
func (o *OrderService) PublicCreateUserOrder(namespace, userId string, content *platformclientmodels.OrderCreate) (*platformclientmodels.OrderInfo, error)
func (*OrderService) PublicDownloadUserOrderReceipt ¶
func (o *OrderService) PublicDownloadUserOrderReceipt(namespace, orderNo, userId string) error
func (*OrderService) PublicGetUserOrder ¶
func (o *OrderService) PublicGetUserOrder(namespace, userId, orderNo string) (*platformclientmodels.OrderInfo, error)
func (*OrderService) PublicGetUserOrderHistories ¶
func (o *OrderService) PublicGetUserOrderHistories(namespace, orderNo, userId string) ([]*platformclientmodels.OrderHistoryInfo, error)
func (*OrderService) PublicQueryUserOrders ¶
func (o *OrderService) PublicQueryUserOrders(namespace, userId string, itemId, status *string, limit, offset *int32) (*platformclientmodels.OrderPagingSlicedResult, error)
func (*OrderService) QueryOrders ¶
func (o *OrderService) QueryOrders(namespace string, sort, status, startTime, endTime *string, orderNos []string, withTotal *bool, limit, offset *int32) (*platformclientmodels.OrderPagingResult, error)
func (*OrderService) QueryUserOrders ¶
func (o *OrderService) QueryUserOrders(namespace, userId string, itemId, status *string, limit, offset *int32) (*platformclientmodels.OrderPagingSlicedResult, error)
func (*OrderService) RefundOrder ¶
func (o *OrderService) RefundOrder(namespace, orderNo string, content *platformclientmodels.OrderRefundCreate) (*platformclientmodels.OrderInfo, error)
func (*OrderService) SyncOrders ¶
func (o *OrderService) SyncOrders(start, end string, nextEvaluatedKey *string) (*platformclientmodels.OrderSyncResult, error)
func (*OrderService) UpdateUserOrderStatus ¶
func (o *OrderService) UpdateUserOrderStatus(namespace, userId, orderNo string, content *platformclientmodels.OrderUpdate) (*platformclientmodels.OrderInfo, error)
type PartyService ¶
type PartyService struct { ConfigRepository repository.ConfigRepository TokenRepository repository.TokenRepository ConnectionManager connectionutils.ConnectionManager }
func (*PartyService) CreateParty ¶
func (s *PartyService) CreateParty() error
func (*PartyService) GetPartyInfo ¶
func (s *PartyService) GetPartyInfo() error
func (*PartyService) InviteParty ¶
func (s *PartyService) InviteParty(friendId string) error
func (*PartyService) JoinParty ¶
func (s *PartyService) JoinParty(partyID, token string) error
func (*PartyService) KickPartyMember ¶
func (s *PartyService) KickPartyMember(id string) error
func (*PartyService) LeaveParty ¶
func (s *PartyService) LeaveParty() error
func (*PartyService) PromotePartyLeader ¶
func (s *PartyService) PromotePartyLeader(leaderUserId string) error
func (*PartyService) RejectPartyInvitation ¶
func (s *PartyService) RejectPartyInvitation(partyID, token string) error
type PaymentAccount ¶
type PaymentAccount struct { PlatformServiceClient *platformclient.JusticePlatformService TokenRepository repository.TokenRepository }
func (*PaymentAccount) PublicDeletePaymentAccount ¶
func (p *PaymentAccount) PublicDeletePaymentAccount(namespace, userId, id, paymentAccountType string) error
func (*PaymentAccount) PublicGetPaymentAccounts ¶
func (p *PaymentAccount) PublicGetPaymentAccounts(namespace, userId string) ([]*platformclientmodels.PaymentAccount, error)
type PaymentConfig ¶
type PaymentConfig struct { PlatformServiceClient *platformclient.JusticePlatformService TokenRepository repository.TokenRepository }
func (*PaymentConfig) CreatePaymentProviderConfig ¶
func (p *PaymentConfig) CreatePaymentProviderConfig(content *platformclientmodels.PaymentProviderConfigEdit) (*platformclientmodels.PaymentProviderConfigInfo, error)
func (*PaymentConfig) DebugMatchedPaymentMerchantConfig ¶
func (p *PaymentConfig) DebugMatchedPaymentMerchantConfig(namespace, region *string) (*platformclientmodels.PaymentMerchantConfigInfo, error)
func (*PaymentConfig) DebugMatchedPaymentProviderConfig ¶
func (p *PaymentConfig) DebugMatchedPaymentProviderConfig(namespace, region *string) (*platformclientmodels.PaymentProviderConfigInfo, error)
func (*PaymentConfig) DeletePaymentProviderConfig ¶
func (p *PaymentConfig) DeletePaymentProviderConfig(id string) error
func (*PaymentConfig) GetAggregatePaymentProviders ¶
func (p *PaymentConfig) GetAggregatePaymentProviders() ([]string, error)
func (*PaymentConfig) GetPaymentMerchantConfig ¶
func (p *PaymentConfig) GetPaymentMerchantConfig(id string) (*platformclientmodels.PaymentMerchantConfigInfo, error)
func (*PaymentConfig) GetPaymentTaxConfig ¶
func (p *PaymentConfig) GetPaymentTaxConfig() (*platformclientmodels.PaymentTaxConfigInfo, error)
func (*PaymentConfig) GetSpecialPaymentProviders ¶
func (p *PaymentConfig) GetSpecialPaymentProviders() ([]string, error)
func (*PaymentConfig) QueryPaymentProviderConfig ¶
func (p *PaymentConfig) QueryPaymentProviderConfig(namespace, region *string, limit, offset *int32) (*platformclientmodels.PaymentProviderConfigPagingSlicedResult, error)
func (*PaymentConfig) TestAdyenConfig ¶
func (p *PaymentConfig) TestAdyenConfig(content *platformclientmodels.AdyenConfig, sandbox *bool) (*platformclientmodels.TestResult, error)
func (*PaymentConfig) TestAdyenConfigByID ¶
func (p *PaymentConfig) TestAdyenConfigByID(id string, sandbox *bool) (*platformclientmodels.TestResult, error)
func (*PaymentConfig) TestAliPayConfig ¶
func (p *PaymentConfig) TestAliPayConfig(content *platformclientmodels.AliPayConfig, sandbox *bool) (*platformclientmodels.TestResult, error)
func (*PaymentConfig) TestAliPayConfigByID ¶
func (p *PaymentConfig) TestAliPayConfigByID(id string, sandbox *bool) (*platformclientmodels.TestResult, error)
func (*PaymentConfig) TestCheckoutConfig ¶
func (p *PaymentConfig) TestCheckoutConfig(content *platformclientmodels.CheckoutConfig, sandbox *bool) (*platformclientmodels.TestResult, error)
func (*PaymentConfig) TestCheckoutConfigByID ¶
func (p *PaymentConfig) TestCheckoutConfigByID(id string) (*platformclientmodels.TestResult, error)
func (*PaymentConfig) TestPayPalConfig ¶
func (p *PaymentConfig) TestPayPalConfig(content *platformclientmodels.PayPalConfig, sandbox *bool) (*platformclientmodels.TestResult, error)
func (*PaymentConfig) TestPayPalConfigByID ¶
func (p *PaymentConfig) TestPayPalConfigByID(id string, sandbox *bool) (*platformclientmodels.TestResult, error)
func (*PaymentConfig) TestStripeConfig ¶
func (p *PaymentConfig) TestStripeConfig(content *platformclientmodels.StripeConfig, sandbox *bool) (*platformclientmodels.TestResult, error)
func (*PaymentConfig) TestStripeConfigByID ¶
func (p *PaymentConfig) TestStripeConfigByID(id string, sandbox *bool) (*platformclientmodels.TestResult, error)
func (*PaymentConfig) TestWxPayConfig ¶
func (p *PaymentConfig) TestWxPayConfig(content *platformclientmodels.WxPayConfigRequest) (*platformclientmodels.TestResult, error)
func (*PaymentConfig) TestWxPayConfigByID ¶
func (p *PaymentConfig) TestWxPayConfigByID(id string) (*platformclientmodels.TestResult, error)
func (*PaymentConfig) TestXsollaConfig ¶
func (p *PaymentConfig) TestXsollaConfig(content *platformclientmodels.XsollaConfig) (*platformclientmodels.TestResult, error)
func (*PaymentConfig) TestXsollaConfigByID ¶
func (p *PaymentConfig) TestXsollaConfigByID(id string) (*platformclientmodels.TestResult, error)
func (*PaymentConfig) UpdateAdyenConfig ¶
func (p *PaymentConfig) UpdateAdyenConfig(id string, sandbox, validate *bool, content *platformclientmodels.AdyenConfig) (*platformclientmodels.PaymentMerchantConfigInfo, error)
func (*PaymentConfig) UpdateAliPayConfig ¶
func (p *PaymentConfig) UpdateAliPayConfig(id string, sandbox, validate *bool, content *platformclientmodels.AliPayConfig) (*platformclientmodels.PaymentMerchantConfigInfo, error)
func (*PaymentConfig) UpdateCheckoutConfig ¶
func (p *PaymentConfig) UpdateCheckoutConfig(id string, sandbox, validate *bool, content *platformclientmodels.CheckoutConfig) (*platformclientmodels.PaymentMerchantConfigInfo, error)
func (*PaymentConfig) UpdatePayPalConfig ¶
func (p *PaymentConfig) UpdatePayPalConfig(id string, sandbox, validate *bool, content *platformclientmodels.PayPalConfig) (*platformclientmodels.PaymentMerchantConfigInfo, error)
func (*PaymentConfig) UpdatePaymentProviderConfig ¶
func (p *PaymentConfig) UpdatePaymentProviderConfig(id string, content *platformclientmodels.PaymentProviderConfigEdit) (*platformclientmodels.PaymentProviderConfigInfo, error)
func (*PaymentConfig) UpdatePaymentTaxConfig ¶
func (p *PaymentConfig) UpdatePaymentTaxConfig(content *platformclientmodels.PaymentTaxConfigEdit) (*platformclientmodels.PaymentTaxConfigInfo, error)
func (*PaymentConfig) UpdateStripeConfig ¶
func (p *PaymentConfig) UpdateStripeConfig(id string, sandbox, validate *bool, content *platformclientmodels.StripeConfig) (*platformclientmodels.PaymentMerchantConfigInfo, error)
func (*PaymentConfig) UpdateWxPayConfig ¶
func (p *PaymentConfig) UpdateWxPayConfig(id string, validate *bool, content *platformclientmodels.WxPayConfigRequest) (*platformclientmodels.PaymentMerchantConfigInfo, error)
func (*PaymentConfig) UpdateWxPayConfigCert ¶
func (p *PaymentConfig) UpdateWxPayConfigCert(id string, file runtime.NamedReadCloser) (*platformclientmodels.PaymentMerchantConfigInfo, error)
func (*PaymentConfig) UpdateXsollaConfig ¶
func (p *PaymentConfig) UpdateXsollaConfig(id string, validate *bool, content *platformclientmodels.XsollaConfig) (*platformclientmodels.PaymentMerchantConfigInfo, error)
func (*PaymentConfig) UpdateXsollaUIConfig ¶
func (p *PaymentConfig) UpdateXsollaUIConfig(id string, content *platformclientmodels.XsollaPaywallConfigRequest) (*platformclientmodels.PaymentMerchantConfigInfo, error)
type PaymentService ¶
type PaymentService struct { PlatformServiceClient *platformclient.JusticePlatformService TokenRepository repository.TokenRepository }
func (*PaymentService) ChargePaymentOrder ¶
func (p *PaymentService) ChargePaymentOrder(namespace, paymentOrderNo string) (*platformclientmodels.PaymentOrderInfo, error)
func (*PaymentService) CreatePaymentOrderByDedicated ¶
func (p *PaymentService) CreatePaymentOrderByDedicated(namespace string, content *platformclientmodels.ExternalPaymentOrderCreate) (*platformclientmodels.PaymentOrderCreateResult, error)
func (*PaymentService) CreateUserPaymentOrder ¶
func (p *PaymentService) CreateUserPaymentOrder(namespace, userId string, content *platformclientmodels.PaymentOrderCreate) (*platformclientmodels.PaymentOrderInfo, error)
func (*PaymentService) GetPaymentOrder ¶
func (p *PaymentService) GetPaymentOrder(namespace, paymentOrderNo string) (*platformclientmodels.PaymentOrderInfo, error)
func (*PaymentService) GetPaymentOrderChargeStatus ¶
func (p *PaymentService) GetPaymentOrderChargeStatus(namespace, paymentOrderNo string) (*platformclientmodels.PaymentOrderChargeStatus, error)
func (*PaymentService) ListExtOrderNoByExtTxID ¶
func (p *PaymentService) ListExtOrderNoByExtTxID(namespace, extTxId string) ([]string, error)
func (*PaymentService) QueryPaymentNotification ¶
func (p *PaymentService) QueryPaymentNotification(namespace string, paymentOrderNo, status, externalId, notificationType, notificationSource, startDate, endDate *string, limit, offset *int32) (*platformclientmodels.PaymentNotificationPagingSlicedResult, error)
func (*PaymentService) QueryPaymentOrders ¶
func (p *PaymentService) QueryPaymentOrders(namespace string, channel, extTxId, status *string, limit, offset *int32) (*platformclientmodels.PaymentOrderPagingSlicedResult, error)
func (*PaymentService) RefundPaymentOrderByDedicated ¶
func (p *PaymentService) RefundPaymentOrderByDedicated(namespace, paymentOrderNo string, content *platformclientmodels.PaymentOrderRefund) (*platformclientmodels.PaymentOrderRefundResult, error)
func (*PaymentService) RefundUserPaymentOrder ¶
func (p *PaymentService) RefundUserPaymentOrder(namespace, userId, paymentOrderNo string, content *platformclientmodels.PaymentOrderRefund) (*platformclientmodels.PaymentOrderInfo, error)
func (*PaymentService) SyncPaymentOrders ¶
func (p *PaymentService) SyncPaymentOrders(startDate, endDate string, nextEvaluatedKey *string) (*platformclientmodels.PaymentOrderSyncResult, error)
type PaymentStation ¶
type PaymentStation struct { PlatformServiceClient *platformclient.JusticePlatformService TokenRepository repository.TokenRepository }
func (*PaymentStation) GetPaymentCustomization ¶
func (p *PaymentStation) GetPaymentCustomization(namespace, paymentProvider, region string, sandbox *bool) (*platformclientmodels.Customization, error)
func (*PaymentStation) GetPaymentPublicConfig ¶
func (p *PaymentStation) GetPaymentPublicConfig(namespace, paymentProvider string) (map[string]interface{}, error)
func (*PaymentStation) GetPaymentTaxValue ¶
func (p *PaymentStation) GetPaymentTaxValue(namespace, paymentOrderNo, paymentProvider string, zipCode *string) (*platformclientmodels.TaxResult, error)
func (*PaymentStation) Pay ¶
func (p *PaymentStation) Pay(namespace, paymentOrderNo string, paymentProvider, zipCode *string) (*platformclientmodels.PaymentProcessResult, error)
func (*PaymentStation) PublicCheckPaymentOrderPaidStatus ¶
func (p *PaymentStation) PublicCheckPaymentOrderPaidStatus(namespace, paymentOrderNo string) (*platformclientmodels.PaymentOrderPaidResult, error)
func (*PaymentStation) PublicGetPaymentMethods ¶
func (p *PaymentStation) PublicGetPaymentMethods(namespace, paymentOrderNo string) ([]*platformclientmodels.PaymentMethod, error)
func (*PaymentStation) PublicGetPaymentURL ¶
func (p *PaymentStation) PublicGetPaymentURL(namespace string, content *platformclientmodels.PaymentURLCreate) (*platformclientmodels.PaymentURL, error)
func (*PaymentStation) PublicGetQRCode ¶
func (*PaymentStation) PublicGetUnpaidPaymentOrder ¶
func (p *PaymentStation) PublicGetUnpaidPaymentOrder(namespace, paymentOrderNo string) (*platformclientmodels.PaymentOrderDetails, error)
func (*PaymentStation) PublicNormalizePaymentReturnURL ¶
func (p *PaymentStation) PublicNormalizePaymentReturnURL(namespace, paymentProvider, orderNo, paymentOrderNo, returnUrl string, payerId, foreignInvoice, invoiceId, resultCode, status, token, paymentType, userId, payload *string) error
type RewardService ¶
type RewardService struct { PlatformServiceClient *platformclient.JusticePlatformService TokenRepository repository.TokenRepository }
func (*RewardService) CreateReward ¶
func (r *RewardService) CreateReward(namespace string, content *platformclientmodels.RewardCreate) (*platformclientmodels.RewardInfo, error)
func (*RewardService) DeleteReward ¶
func (r *RewardService) DeleteReward(namespace, rewardId string) (*platformclientmodels.RewardInfo, error)
func (*RewardService) ExportRewards ¶
func (r *RewardService) ExportRewards(namespace string) error
func (*RewardService) GetReward ¶
func (r *RewardService) GetReward(namespace, rewardId string) (*platformclientmodels.RewardInfo, error)
func (*RewardService) ImportRewards ¶
func (r *RewardService) ImportRewards(namespace string, replaceExisting bool, file runtime.NamedReadCloser) error
func (*RewardService) PublicGetReward ¶
func (r *RewardService) PublicGetReward(namespace, rewardId string) (*platformclientmodels.RewardInfo, error)
func (*RewardService) PublicQueryRewards ¶
func (r *RewardService) PublicQueryRewards(namespace string, eventTopic, sort *string, limit, offset *int32) (*platformclientmodels.RewardPagingSlicedResult, error)
func (*RewardService) QueryRewards ¶
func (r *RewardService) QueryRewards(namespace string, eventTopic, sort *string, limit, offset *int32) (*platformclientmodels.RewardPagingSlicedResult, error)
func (*RewardService) UpdateReward ¶
func (r *RewardService) UpdateReward(namespace, rewardId string) (*platformclientmodels.RewardInfo, error)
type RoleService ¶
type RoleService struct { IamService *iamclient.JusticeIamService TokenRepository repository.TokenRepository }
func (*RoleService) AdminAddRoleManagersV3 ¶ added in v0.2.0
func (roleService *RoleService) AdminAddRoleManagersV3(roleId string, managers []*iamclientmodels.AccountcommonRoleManagerV3) error
AdminAddRoleManagersV3 is for admin to add role by role's managers
func (*RoleService) AdminAddRoleMembersV3 ¶ added in v0.2.0
func (roleService *RoleService) AdminAddRoleMembersV3(roleId string, managers []*iamclientmodels.AccountcommonRoleMemberV3) error
AdminAddRoleMembersV3 is for admin to add role by role's manager listed in members
func (*RoleService) AdminAddRolePermissionsV3 ¶ added in v0.2.0
func (roleService *RoleService) AdminAddRolePermissionsV3(roleId string, permissions []*iamclientmodels.AccountcommonPermissionV3) error
AdminAddRolePermissionsV3 is for admin to add role's permission
func (*RoleService) AdminCreateRoleV3 ¶ added in v0.2.0
func (roleService *RoleService) AdminCreateRoleV3(roleName *string, adminRole, isWildcard *bool, managers []*iamclientmodels.AccountcommonRoleManagerV3, members []*iamclientmodels.AccountcommonRoleMemberV3, permissions []*iamclientmodels.AccountcommonPermissionV3) (*iamclientmodels.AccountcommonRoleV3, error)
AdminCreateRoleV3 is for admin to create the roles
func (*RoleService) AdminDeleteRolePermissionV3 ¶ added in v0.2.0
func (roleService *RoleService) AdminDeleteRolePermissionV3(roleId, resource string, action int64) error
AdminDeleteRolePermissionV3 is for admin to delete a role's permission
func (*RoleService) AdminDeleteRolePermissionsV3 ¶ added in v0.2.0
func (roleService *RoleService) AdminDeleteRolePermissionsV3(roleId string, body []string) error
AdminDeleteRolePermissionsV3 is for admin to delete role's permissions
func (*RoleService) AdminDeleteRoleV3 ¶ added in v0.2.0
func (roleService *RoleService) AdminDeleteRoleV3(roleId string) error
AdminDeleteRoleV3 is for admin to delete the roles
func (*RoleService) AdminGetRoleAdminStatusV3 ¶ added in v0.2.0
func (roleService *RoleService) AdminGetRoleAdminStatusV3(roleId string) (*iamclientmodels.ModelRoleAdminStatusResponseV3, error)
AdminGetRoleAdminStatusV3 is for admin to get admin status
func (*RoleService) AdminGetRoleManagers ¶ added in v0.2.0
func (roleService *RoleService) AdminGetRoleManagers(roleId string, after, before *string, limit *int64) (*iamclientmodels.ModelRoleManagersResponsesV3, error)
AdminGetRoleManagers is for admin to get the roles by role's managers
func (*RoleService) AdminGetRoleMembersV3 ¶ added in v0.2.0
func (roleService *RoleService) AdminGetRoleMembersV3(roleId string, before, after *string, limit *int64) (*iamclientmodels.ModelRoleMembersResponseV3, error)
AdminGetRoleMembersV3 is for admin to get the role members
func (*RoleService) AdminGetRoleV3 ¶ added in v0.2.0
func (roleService *RoleService) AdminGetRoleV3(roleId string) (*iamclientmodels.ModelRoleResponseV3, error)
AdminGetRoleV3 is for admin to get the roles by roleId
func (*RoleService) AdminGetRolesV3 ¶ added in v0.2.0
func (roleService *RoleService) AdminGetRolesV3(after, before *string, isWildCard *bool, limit *int64) (*iamclientmodels.ModelRoleResponseWithManagersAndPaginationV3, error)
AdminGetRolesV3 is for admin to get the roles
func (*RoleService) AdminRemoveRoleAdminV3 ¶ added in v0.2.0
func (roleService *RoleService) AdminRemoveRoleAdminV3(roleId string) error
AdminRemoveRoleAdminV3 is for admin to delete role admin status
func (*RoleService) AdminRemoveRoleManagersV3 ¶ added in v0.2.0
func (roleService *RoleService) AdminRemoveRoleManagersV3(roleId string, managers []*iamclientmodels.AccountcommonRoleManagerV3) error
AdminRemoveRoleManagersV3 is for admin to delete assigned role by role's managers
func (*RoleService) AdminRemoveRoleMembersV3 ¶ added in v0.2.0
func (roleService *RoleService) AdminRemoveRoleMembersV3(roleId string, managers []*iamclientmodels.AccountcommonRoleMemberV3) error
AdminRemoveRoleMembersV3 is for admin to delete role by role's manager listed in members
func (*RoleService) AdminUpdateAdminRoleStatusV3 ¶ added in v0.2.0
func (roleService *RoleService) AdminUpdateAdminRoleStatusV3(roleId string) error
AdminUpdateAdminRoleStatusV3 is for admin to update role set as admin
func (*RoleService) AdminUpdateRolePermissionsV3 ¶ added in v0.2.0
func (roleService *RoleService) AdminUpdateRolePermissionsV3(roleId string, permissions []*iamclientmodels.AccountcommonPermissionV3) error
AdminUpdateRolePermissionsV3 is for admin to update existing role's permission
func (*RoleService) AdminUpdateRoleV3 ¶ added in v0.2.0
func (roleService *RoleService) AdminUpdateRoleV3(roleId string, roleName *string, isWildcard *bool) (*iamclientmodels.ModelRoleResponseV3, error)
AdminUpdateRoleV3 is for admin to update existing role
func (*RoleService) PublicGetRoleV3 ¶ added in v0.2.0
func (roleService *RoleService) PublicGetRoleV3(roleId string) (*iamclientmodels.ModelRoleResponse, error)
PublicGetRoleV3 is for public to get the roles by id
func (*RoleService) PublicGetRolesV3 ¶ added in v0.2.0
func (roleService *RoleService) PublicGetRolesV3(after, before *string, isWildCard *bool, limit *int64) (*iamclientmodels.ModelRoleNamesResponseV3, error)
PublicGetRolesV3 is for public to get the roles
type SSOCredService ¶ added in v0.2.0
type SSOCredService struct { IamService *iamclient.JusticeIamService TokenRepository repository.TokenRepository }
func (SSOCredService) AddSSOLoginPlatformCredentialV3 ¶ added in v0.2.0
func (s SSOCredService) AddSSOLoginPlatformCredentialV3(body *iamclientmodels.ModelSSOPlatformCredentialRequest, namespace string, platformID string) (*iamclientmodels.ModelSSOPlatformCredentialResponse, error)
func (SSOCredService) DeleteSSOLoginPlatformCredentialV3 ¶ added in v0.2.0
func (s SSOCredService) DeleteSSOLoginPlatformCredentialV3(namespace string, platformID string) error
func (SSOCredService) RetrieveAllSSOLoginPlatformCredentialV3 ¶ added in v0.2.0
func (s SSOCredService) RetrieveAllSSOLoginPlatformCredentialV3(limit *int64, namespace string, offset *string) ([]*iamclientmodels.ModelSSOPlatformCredentialResponse, error)
func (SSOCredService) RetrieveSSOLoginPlatformCredentialV3 ¶ added in v0.2.0
func (s SSOCredService) RetrieveSSOLoginPlatformCredentialV3(namespace string, platformID string) (*iamclientmodels.ModelSSOPlatformCredentialResponse, error)
func (SSOCredService) UpdateSSOLoginPlatformCredentialV3 ¶ added in v0.2.0
func (s SSOCredService) UpdateSSOLoginPlatformCredentialV3(body *iamclientmodels.ModelSSOPlatformCredentialRequest, namespace string, platformID string) (*iamclientmodels.ModelSSOPlatformCredentialResponse, error)
type SSOSAML20Service ¶ added in v0.2.0
type SSOSAML20Service struct { IamService *iamclient.JusticeIamService ConfigRepository repository.ConfigRepository TokenRepository repository.TokenRepository }
func (*SSOSAML20Service) PlatformAuthenticateSAMLV3 ¶ added in v0.2.0
func (ssoSAML20Service *SSOSAML20Service) PlatformAuthenticateSAMLV3(platformId, state, code, error string) (string, error)
PlatformAuthenticateSAMLV3 is used to authenticates user platform for SAML protocol
type SSOService ¶ added in v0.2.0
type SSOService struct { IamService *iamclient.JusticeIamService ConfigRepository repository.ConfigRepository TokenRepository repository.TokenRepository }
func (*SSOService) LoginSSOClient ¶ added in v0.2.0
func (ssoService *SSOService) LoginSSOClient(platformID string, payload *string) error
LoginSSOClient is used to logins to SSO client with provided platform Id
func (*SSOService) LogoutSSOClient ¶ added in v0.2.0
func (ssoService *SSOService) LogoutSSOClient(platformID string) error
LogoutSSOClient is used to logout user's session on platform that logged in using SSO
type SessionBrowserService ¶ added in v0.2.0
type SessionBrowserService struct { SessionBrowserServiceClient *sessionbrowserclient.JusticeSessionbrowserService TokenRepository repository.TokenRepository }
func (*SessionBrowserService) CreateSession ¶ added in v0.2.0
func (b *SessionBrowserService) CreateSession(namespace string, body *sessionbrowserclientmodels.ModelsCreateSessionRequest) (*sessionbrowserclientmodels.ModelsSessionResponse, error)
CreateSession is used to register a new game session by session ID
func (*SessionBrowserService) DeleteSession ¶ added in v0.2.0
func (b *SessionBrowserService) DeleteSession(namespace, sessionId string) (*sessionbrowserclientmodels.ModelsSessionResponse, error)
DeleteSession is used to delete specified game session by session ID
func (*SessionBrowserService) GetSession ¶ added in v0.2.0
func (b *SessionBrowserService) GetSession(namespace, sessionId string) (*sessionbrowserclientmodels.ModelsSessionResponse, error)
GetSession is used to get query game sessions by session ids
func (*SessionBrowserService) GetSessionByUserIDs ¶ added in v0.2.0
func (b *SessionBrowserService) GetSessionByUserIDs(namespace, userIds string) (*sessionbrowserclientmodels.ModelsSessionByUserIDsResponse, error)
GetSessionByUserIDs is used to get the session by session ID
func (*SessionBrowserService) QuerySession ¶ added in v0.2.0
func (b *SessionBrowserService) QuerySession(namespace, sessionType string, userId, matchId, gameMode, gameVersion, joinable, serverStatus, offset, limit *string) (*sessionbrowserclientmodels.ModelsSessionQueryResponse, error)
QuerySession is used to query an available game session
func (*SessionBrowserService) UpdateSession ¶ added in v0.2.0
func (b *SessionBrowserService) UpdateSession(namespace, sessionId string, body *sessionbrowserclientmodels.ModelsUpdateSessionRequest) (*sessionbrowserclientmodels.ModelsSessionResponse, error)
UpdateSession is used to update game session, update current player
type SlotConfigService ¶
type SlotConfigService struct { SocialServiceClient *socialclient.JusticeSocialService TokenRepository repository.TokenRepository }
func (*SlotConfigService) DeleteNamespaceSlotConfig ¶
func (s *SlotConfigService) DeleteNamespaceSlotConfig(namespace string) error
func (*SlotConfigService) DeleteUserSlotConfig ¶
func (s *SlotConfigService) DeleteUserSlotConfig(namespace, userId string) error
func (*SlotConfigService) GetNamespaceSlotConfig ¶
func (s *SlotConfigService) GetNamespaceSlotConfig(namespace string) (*socialclientmodels.NamespaceSlotConfigInfo, error)
func (*SlotConfigService) GetUserSlotConfig ¶
func (s *SlotConfigService) GetUserSlotConfig(namespace, userId string) (*socialclientmodels.UserSlotConfigInfo, error)
func (*SlotConfigService) UpdateNamespaceSlotConfig ¶
func (s *SlotConfigService) UpdateNamespaceSlotConfig(namespace string, content *socialclientmodels.SlotConfigUpdate) (*socialclientmodels.NamespaceSlotConfigInfo, error)
func (*SlotConfigService) UpdateUserSlotConfig ¶
func (s *SlotConfigService) UpdateUserSlotConfig(namespace, userId string, content *socialclientmodels.SlotConfigUpdate) (*socialclientmodels.UserSlotConfigInfo, error)
type SlotService ¶
type SlotService struct { SocialServiceClient *socialclient.JusticeSocialService TokenRepository repository.TokenRepository }
func (*SlotService) GetSlotData ¶
func (*SlotService) GetUserNamespaceSlots ¶
func (s *SlotService) GetUserNamespaceSlots(namespace, userId string) ([]*socialclientmodels.SlotInfo, error)
func (*SlotService) PublicCreateUserNamespaceSlot ¶
func (s *SlotService) PublicCreateUserNamespaceSlot(namespace, userId string, checksum, customAttribute, label *string, tags []string, file runtime.NamedReadCloser) error
func (*SlotService) PublicDeleteUserNamespaceSlot ¶
func (s *SlotService) PublicDeleteUserNamespaceSlot(namespace, userId, slotId string) error
func (*SlotService) PublicGetSlotData ¶
func (*SlotService) PublicGetUserNamespaceSlots ¶
func (s *SlotService) PublicGetUserNamespaceSlots(namespace, userId string) ([]*socialclientmodels.SlotInfo, error)
func (*SlotService) PublicUpdateUserNamespaceSlot ¶
func (s *SlotService) PublicUpdateUserNamespaceSlot(namespace, userId, slotId string, checksum, customAttribute, label *string, tags []string, file runtime.NamedReadCloser) (*socialclientmodels.SlotInfo, error)
func (*SlotService) PublicUpdateUserNamespaceSlotMetadata ¶
func (s *SlotService) PublicUpdateUserNamespaceSlotMetadata(namespace, userId, slotId string, content *socialclientmodels.SlotMetadataUpdate) (*socialclientmodels.SlotInfo, error)
type StatisticConfigService ¶
type StatisticConfigService struct { SocialServiceClient *socialclient.JusticeSocialService TokenRepository repository.TokenRepository }
func (*StatisticConfigService) CreateStat ¶
func (s *StatisticConfigService) CreateStat(namespace string, content *socialclientmodels.StatCreate) (*socialclientmodels.StatInfo, error)
func (*StatisticConfigService) DeleteStat ¶
func (s *StatisticConfigService) DeleteStat(namespace, statCode string) error
func (*StatisticConfigService) ExportStats ¶
func (s *StatisticConfigService) ExportStats(namespace string) error
func (*StatisticConfigService) GetStat ¶
func (s *StatisticConfigService) GetStat(namespace, statCode string) (*socialclientmodels.StatInfo, error)
func (*StatisticConfigService) GetStats ¶
func (s *StatisticConfigService) GetStats(namespace string, limit, offset *int32) (*socialclientmodels.StatPagingSlicedResult, error)
func (*StatisticConfigService) ImportStats ¶
func (s *StatisticConfigService) ImportStats(namespace string, file runtime.NamedReadCloser, replaceExisting *bool) (*socialclientmodels.StatImportInfo, error)
func (*StatisticConfigService) PublicCreateStat ¶
func (s *StatisticConfigService) PublicCreateStat(namespace string, content *socialclientmodels.StatCreate) (*socialclientmodels.StatInfo, error)
func (*StatisticConfigService) QueryStats ¶
func (s *StatisticConfigService) QueryStats(namespace, keyword string, limit, offset *int32) (*socialclientmodels.StatPagingSlicedResult, error)
func (*StatisticConfigService) UpdateStat ¶
func (s *StatisticConfigService) UpdateStat(namespace, statCode string, content *socialclientmodels.StatUpdate) (*socialclientmodels.StatInfo, error)
type StatisticService ¶
type StatisticService struct { SocialServiceClient *socialclient.JusticeSocialService TokenRepository repository.TokenRepository }
func (*StatisticService) BulkCreateUserStatItems ¶
func (s *StatisticService) BulkCreateUserStatItems(namespace, userId string, content []*socialclientmodels.BulkStatItemCreate) ([]*socialclientmodels.BulkStatItemOperationResult, error)
func (*StatisticService) BulkFetchStatItems ¶
func (s *StatisticService) BulkFetchStatItems(namespace, statCode, userIds string) ([]*socialclientmodels.UserStatItemInfo, error)
func (*StatisticService) BulkIncUserStatItem ¶ added in v0.2.0
func (s *StatisticService) BulkIncUserStatItem(namespace string, content []*socialclientmodels.BulkUserStatItemInc) ([]*socialclientmodels.BulkStatItemOperationResult, error)
func (*StatisticService) BulkIncUserStatItem1 ¶ added in v0.2.0
func (s *StatisticService) BulkIncUserStatItem1(namespace string, userID string, content []*socialclientmodels.BulkStatItemInc) ([]*socialclientmodels.BulkStatItemOperationResult, error)
func (*StatisticService) BulkIncUserStatItemValue2 ¶ added in v0.2.0
func (s *StatisticService) BulkIncUserStatItemValue2(namespace string, userID string, content []*socialclientmodels.BulkStatItemInc) ([]*socialclientmodels.BulkStatItemOperationResult, error)
func (*StatisticService) BulkResetMultipleUserStatItem ¶
func (s *StatisticService) BulkResetMultipleUserStatItem(namespace string, content []*socialclientmodels.BulkUserStatItemReset) ([]*socialclientmodels.BulkStatItemOperationResult, error)
func (*StatisticService) BulkResetUserStatItem ¶
func (s *StatisticService) BulkResetUserStatItem(namespace, userId string, content []*socialclientmodels.BulkStatItemReset) ([]*socialclientmodels.BulkStatItemOperationResult, error)
func (*StatisticService) BulkUpdateMultipleUserStatItem ¶
func (s *StatisticService) BulkUpdateMultipleUserStatItem(namespace string, content []*socialclientmodels.BulkUserStatItemInc) ([]*socialclientmodels.BulkStatItemOperationResult, error)
func (*StatisticService) BulkUpdateMultipleUserStatItemV2 ¶
func (s *StatisticService) BulkUpdateMultipleUserStatItemV2(namespace string, content []*socialclientmodels.BulkUserStatItemUpdate) ([]*socialclientmodels.BulkStatItemOperationResult, error)
func (*StatisticService) BulkUpdateUserStatItem ¶
func (s *StatisticService) BulkUpdateUserStatItem(namespace string, content []*socialclientmodels.BulkStatItemInc) ([]*socialclientmodels.BulkStatItemOperationResult, error)
func (*StatisticService) BulkUpdateUserStatItemV2 ¶
func (s *StatisticService) BulkUpdateUserStatItemV2(namespace string, content []*socialclientmodels.BulkStatItemUpdate) ([]*socialclientmodels.BulkStatItemOperationResult, error)
func (*StatisticService) CreateUserStatItem ¶
func (s *StatisticService) CreateUserStatItem(namespace, userId, statCode string) error
func (*StatisticService) DeleteUserStatItems ¶
func (s *StatisticService) DeleteUserStatItems(namespace, userId, statCode string) error
func (*StatisticService) DeleteUserStatItemsV2 ¶
func (s *StatisticService) DeleteUserStatItemsV2(namespace, userId, statCode string) error
func (*StatisticService) GetGlobalStatItems ¶
func (s *StatisticService) GetGlobalStatItems(namespace string, limit, offset *int32) (*socialclientmodels.GlobalStatItemPagingSlicedResult, error)
func (*StatisticService) GetUserStatItems ¶
func (s *StatisticService) GetUserStatItems(namespace, userId string, statCodes, tags *string, limit, offset *int32) (*socialclientmodels.UserStatItemPagingSlicedResult, error)
func (*StatisticService) IncUserStatItemValue ¶
func (s *StatisticService) IncUserStatItemValue(namespace, statCode, userId string, content *socialclientmodels.StatItemInc) (*socialclientmodels.StatItemIncResult, error)
func (*StatisticService) IncUserStatItemValueV2 ¶
func (s *StatisticService) IncUserStatItemValueV2(namespace string, content *socialclientmodels.StatItemUpdate) (*socialclientmodels.StatItemIncResult, error)
func (*StatisticService) PublicBulkCreateUserStatItems ¶
func (s *StatisticService) PublicBulkCreateUserStatItems(namespace, userId string, content []*socialclientmodels.BulkStatItemCreate) ([]*socialclientmodels.BulkStatItemOperationResult, error)
func (*StatisticService) PublicBulkFetchStatItems ¶
func (s *StatisticService) PublicBulkFetchStatItems(namespace, statCode, userIds string) ([]*socialclientmodels.UserStatItemInfo, error)
func (*StatisticService) PublicBulkIncMultipleUserStatItem ¶
func (s *StatisticService) PublicBulkIncMultipleUserStatItem(namespace string, content []*socialclientmodels.BulkUserStatItemInc) ([]*socialclientmodels.BulkStatItemOperationResult, error)
func (*StatisticService) PublicBulkIncMultipleUserStatItemV2 ¶
func (s *StatisticService) PublicBulkIncMultipleUserStatItemV2(namespace string, content []*socialclientmodels.BulkUserStatItemUpdate) ([]*socialclientmodels.BulkStatItemOperationResult, error)
func (*StatisticService) PublicBulkIncUserStatItem ¶
func (s *StatisticService) PublicBulkIncUserStatItem(namespace, userId string, content []*socialclientmodels.BulkStatItemInc) ([]*socialclientmodels.BulkStatItemOperationResult, error)
func (*StatisticService) PublicBulkIncUserStatItemV2 ¶
func (s *StatisticService) PublicBulkIncUserStatItemV2(namespace string, content []*socialclientmodels.BulkStatItemUpdate) ([]*socialclientmodels.BulkStatItemOperationResult, error)
func (*StatisticService) PublicBulkIncUserStatItemValue ¶ added in v0.2.0
func (s *StatisticService) PublicBulkIncUserStatItemValue(namespace string, content []*socialclientmodels.BulkUserStatItemInc) ([]*socialclientmodels.BulkStatItemOperationResult, error)
func (*StatisticService) PublicBulkResetMultipleUserStatItem ¶
func (s *StatisticService) PublicBulkResetMultipleUserStatItem(namespace string, content []*socialclientmodels.BulkUserStatItemReset) ([]*socialclientmodels.BulkStatItemOperationResult, error)
func (*StatisticService) PublicBulkResetUserStatItem ¶
func (s *StatisticService) PublicBulkResetUserStatItem(namespace, userId string, content []*socialclientmodels.BulkStatItemReset) ([]*socialclientmodels.BulkStatItemOperationResult, error)
func (*StatisticService) PublicCreateUserStatItem ¶
func (s *StatisticService) PublicCreateUserStatItem(namespace, userId, statCode string) error
func (*StatisticService) PublicDeleteUserStatItem ¶
func (s *StatisticService) PublicDeleteUserStatItem(namespace, userId, statCode string) error
func (*StatisticService) PublicIncUserStatItem ¶
func (s *StatisticService) PublicIncUserStatItem(namespace, userId string, content *socialclientmodels.StatItemInc) (*socialclientmodels.StatItemIncResult, error)
func (*StatisticService) PublicIncUserStatItemV2 ¶
func (s *StatisticService) PublicIncUserStatItemV2(namespace string, content *socialclientmodels.StatItemUpdate) (*socialclientmodels.StatItemIncResult, error)
func (*StatisticService) PublicIncUserStatItemValue ¶ added in v0.2.0
func (s *StatisticService) PublicIncUserStatItemValue(namespace string, statCode string, userID string, content *socialclientmodels.StatItemInc) (*socialclientmodels.StatItemIncResult, error)
func (*StatisticService) PublicQueryUserStatItems ¶
func (s *StatisticService) PublicQueryUserStatItems(namespace, userId string, tags, statCodes *string, limit, offset *int32) (*socialclientmodels.UserStatItemPagingSlicedResult, error)
func (*StatisticService) PublicResetUserStatItemValue ¶
func (s *StatisticService) PublicResetUserStatItemValue(namespace, userId, statCode string) (*socialclientmodels.StatItemIncResult, error)
func (*StatisticService) ResetUserStatItemValue ¶
func (s *StatisticService) ResetUserStatItemValue(namespace, statCode, userId string, additionalKey *string) (*socialclientmodels.StatItemIncResult, error)
type StoreService ¶
type StoreService struct { OauthService *OauthService PlatformService *platformclient.JusticePlatformService }
func (*StoreService) BackupStore ¶
func (storeService *StoreService) BackupStore(namespace string) (*platformclientmodels.StoreBackupInfo, error)
func (*StoreService) CloneStore ¶
func (storeService *StoreService) CloneStore(namespace, storeId, targetStoreId string) (*platformclientmodels.StoreInfo, error)
func (*StoreService) CreateStore ¶
func (storeService *StoreService) CreateStore(namespace string, storeCreate platformclientmodels.StoreCreate) (*platformclientmodels.StoreInfo, error)
func (*StoreService) DeletePublishedStore ¶
func (storeService *StoreService) DeletePublishedStore(namespace string) (*platformclientmodels.StoreInfo, error)
func (*StoreService) DeleteStore ¶
func (storeService *StoreService) DeleteStore(namespace, storeId string) (*platformclientmodels.StoreInfo, error)
func (*StoreService) ExportStore ¶
func (storeService *StoreService) ExportStore(namespace, storeId string) error
func (*StoreService) GetPublishedStore ¶
func (storeService *StoreService) GetPublishedStore(namespace string) (*platformclientmodels.StoreInfo, error)
func (*StoreService) GetStore ¶
func (storeService *StoreService) GetStore(namespace, storeId string) (*platformclientmodels.StoreInfo, error)
func (*StoreService) ImportStore ¶
func (storeService *StoreService) ImportStore(namespace string, storeId *string, fileAbsolutePath string) (*platformclientmodels.StoreInfo, error)
func (*StoreService) ListStore ¶
func (storeService *StoreService) ListStore(namespace string) ([]*platformclientmodels.StoreInfo, error)
func (*StoreService) PublicListStore ¶
func (storeService *StoreService) PublicListStore(namespace string) ([]*platformclientmodels.StoreInfo, error)
func (*StoreService) RollbackPublishedStore ¶
func (storeService *StoreService) RollbackPublishedStore(namespace string) (*platformclientmodels.StoreInfo, error)
func (*StoreService) UpdateStore ¶
func (storeService *StoreService) UpdateStore(namespace, storeId string, storeUpdate platformclientmodels.StoreUpdate) (*platformclientmodels.StoreInfo, error)
type ThirdPartyCredentialService ¶ added in v0.2.0
type ThirdPartyCredentialService struct { TokenRepository repository.TokenRepository IamClient *iamclient.JusticeIamService }
func (*ThirdPartyCredentialService) AddThirdPartyLoginPlatformCredentialV3 ¶ added in v0.2.0
func (thirdPartyCredentialService *ThirdPartyCredentialService) AddThirdPartyLoginPlatformCredentialV3(namespace string, platformID string, modelThirdPartyLoginPlatformCredentialRequest *iamclientmodels.ModelThirdPartyLoginPlatformCredentialRequest) (*iamclientmodels.ModelThirdPartyLoginPlatformCredentialResponse, error)
func (*ThirdPartyCredentialService) DeleteThirdPartyLoginPlatformCredentialV3 ¶ added in v0.2.0
func (thirdPartyCredentialService *ThirdPartyCredentialService) DeleteThirdPartyLoginPlatformCredentialV3(namespace string, platformID string) error
func (*ThirdPartyCredentialService) RetrieveAllActiveThirdPartyLoginPlatformCredentialPublicV3 ¶ added in v0.2.0
func (thirdPartyCredentialService *ThirdPartyCredentialService) RetrieveAllActiveThirdPartyLoginPlatformCredentialPublicV3(namespace string) ([]*iamclientmodels.ModelPublicThirdPartyPlatformInfo, error)
func (*ThirdPartyCredentialService) RetrieveAllActiveThirdPartyLoginPlatformCredentialV3 ¶ added in v0.2.0
func (thirdPartyCredentialService *ThirdPartyCredentialService) RetrieveAllActiveThirdPartyLoginPlatformCredentialV3(namespace string) ([]*iamclientmodels.ModelThirdPartyLoginPlatformCredentialResponse, error)
func (*ThirdPartyCredentialService) RetrieveAllThirdPartyLoginPlatformCredentialV3 ¶ added in v0.2.0
func (thirdPartyCredentialService *ThirdPartyCredentialService) RetrieveAllThirdPartyLoginPlatformCredentialV3(namespace string) ([]*iamclientmodels.ModelThirdPartyLoginPlatformCredentialResponse, error)
func (*ThirdPartyCredentialService) RetrieveThirdPartyLoginPlatformCredentialV3 ¶ added in v0.2.0
func (thirdPartyCredentialService *ThirdPartyCredentialService) RetrieveThirdPartyLoginPlatformCredentialV3(namespace string) (*iamclientmodels.ModelThirdPartyLoginPlatformCredentialResponse, error)
func (*ThirdPartyCredentialService) UpdateThirdPartyLoginPlatformCredentialV3 ¶ added in v0.2.0
func (thirdPartyCredentialService *ThirdPartyCredentialService) UpdateThirdPartyLoginPlatformCredentialV3(namespace string, platformID string, modelThirdPartyLoginPlatformCredentialRequest *iamclientmodels.ModelThirdPartyLoginPlatformCredentialRequest) (*iamclientmodels.ModelThirdPartyLoginPlatformCredentialResponse, error)
type UserService ¶
type UserService struct { IamService *iamclient.JusticeIamService BasicService *basicclient.JusticeBasicService OauthService *OauthService TokenRepository repository.TokenRepository }
UserService is for the user's authentication
func (*UserService) AdminAddUserPermissionsV3 ¶ added in v0.2.0
func (userService *UserService) AdminAddUserPermissionsV3(namespace, userId string, permissions []*iamclientmodels.AccountcommonPermission) error
AdminAddUserPermissionsV3 is used to add user permissions
func (*UserService) AdminAddUserRoleV3 ¶ added in v0.2.0
func (userService *UserService) AdminAddUserRoleV3(namespace, userId, roleId string) error
AdminAddUserRoleV3 is used to add user's role
func (*UserService) AdminBanUserV3 ¶ added in v0.2.0
func (userService *UserService) AdminBanUserV3(namespace, userId string, ban, comment, endDate, reason *string, skipNotif *bool) (*iamclientmodels.ModelUserBanResponseV3, error)
AdminBanUserV3 is used to ban a single user with specific type of ban
func (*UserService) AdminCreateJusticeUser ¶ added in v0.2.0
func (userService *UserService) AdminCreateJusticeUser(namespace, targetNamespace, userId string) (*iamclientmodels.ModelCreateJusticeUserResponse, error)
AdminCreateJusticeUser is to create platform justice user from publisher user
func (*UserService) AdminDeleteUserInformationV3 ¶ added in v0.2.0
func (userService *UserService) AdminDeleteUserInformationV3(namespace, userId string) error
AdminDeleteUserInformationV3 is used to delete user's information
func (*UserService) AdminDeleteUserPermissionBulkV3 ¶ added in v0.2.0
func (userService *UserService) AdminDeleteUserPermissionBulkV3(namespace, userId string, body []*iamclientmodels.ModelPermissionDeleteRequest) error
AdminDeleteUserPermissionBulkV3 is used to delete user permission
func (*UserService) AdminDeleteUserPermissionV3 ¶ added in v0.2.0
func (userService *UserService) AdminDeleteUserPermissionV3(namespace, userId, resource string, action int64) error
AdminDeleteUserPermissionV3 delete user permission action
func (*UserService) AdminDeleteUserRoleV3 ¶ added in v0.2.0
func (userService *UserService) AdminDeleteUserRoleV3(namespace, userId, roleId string) error
AdminDeleteUserRoleV3 is used to delete user's role
func (*UserService) AdminDeleteUserRolesV3 ¶ added in v0.2.0
func (userService *UserService) AdminDeleteUserRolesV3(namespace, userId string, body []string) error
AdminDeleteUserRolesV3 is used to delete user's roles
func (*UserService) AdminGetAgeRestrictionStatusV3 ¶ added in v0.2.0
func (userService *UserService) AdminGetAgeRestrictionStatusV3(namespace string) (*iamclientmodels.ModelAgeRestrictionResponseV3, error)
AdminGetAgeRestrictionStatusV3 is used to get age restriction status
func (*UserService) AdminGetBulkUserByEmailAddressV3 ¶ added in v0.2.0
func (userService *UserService) AdminGetBulkUserByEmailAddressV3(namespace string, listEmailAddressRequest []string) (*iamclientmodels.ModelListUserResponseV3, error)
AdminGetBulkUserByEmailAddressV3 is used to get bulk user by email address
func (*UserService) AdminGetListCountryAgeRestrictionV3 ¶ added in v0.2.0
func (userService *UserService) AdminGetListCountryAgeRestrictionV3(namespace string) ([]*iamclientmodels.ModelCountryV3Response, error)
AdminGetListCountryAgeRestrictionV3 is used to get age restriction country list
func (*UserService) AdminGetMyUserV3 ¶ added in v0.2.0
func (userService *UserService) AdminGetMyUserV3() (*iamclientmodels.ModelUserResponseV3, error)
AdminGetMyUserV3 is used to get user's data
func (*UserService) AdminGetUserBanV3 ¶ added in v0.2.0
func (userService *UserService) AdminGetUserBanV3(namespace, userId string, after, before *string, activeOnly *bool, limit *int64) (*iamclientmodels.ModelGetUserBanV3Response, error)
AdminGetUserBanV3 is to get the first page of the data if after and before parameters is empty
func (*UserService) AdminGetUserByEmailAddressV3 ¶ added in v0.2.0
func (userService *UserService) AdminGetUserByEmailAddressV3(namespace string, emailAddress *string) (*iamclientmodels.ModelUserResponseV3, error)
AdminGetUserByEmailAddressV3 is used to get users by email
func (*UserService) AdminGetUserByUserIDV3 ¶ added in v0.2.0
func (userService *UserService) AdminGetUserByUserIDV3(namespace, userId string) (*iamclientmodels.ModelUserResponseV3, error)
AdminGetUserByUserIDV3 is used to get user by userId
func (*UserService) AdminGetUserDeletionStatusV3 ¶ added in v0.2.0
func (userService *UserService) AdminGetUserDeletionStatusV3(namespace, userId string) (*iamclientmodels.ModelUserDeletionStatusResponse, error)
AdminGetUserDeletionStatusV3 is to get user deletion status
func (*UserService) AdminGetUserLoginHistoriesV3 ¶ added in v0.2.0
func (userService *UserService) AdminGetUserLoginHistoriesV3(namespace, userId string, after, before, limit *float64) (*iamclientmodels.ModelLoginHistoriesResponse, error)
AdminGetUserLoginHistoriesV3 is used to get user's login histories
func (*UserService) AdminGetUserPlatformAccountsV3 ¶ added in v0.2.0
func (userService *UserService) AdminGetUserPlatformAccountsV3(namespace, userId string, after, before *string, limit *int64) (*iamclientmodels.AccountcommonUserLinkedPlatformsResponseV3, error)
AdminGetUserPlatformAccountsV3 is used to get platform accounts linked to the user
func (*UserService) AdminInviteUserV3 ¶ added in v0.2.0
func (userService *UserService) AdminInviteUserV3(namespace string, emailAddresses, roles []string) (*iamclientmodels.ModelInviteAdminResponseV3, error)
AdminInviteUserV3 is used to invite admin user and assign role to them
func (*UserService) AdminLinkPlatformAccount ¶ added in v0.2.0
func (userService *UserService) AdminLinkPlatformAccount(namespace, userId string, platformId, platformUserId *string) error
AdminLinkPlatformAccount is used to links a platform user account to user account
func (*UserService) AdminListUsersV3 ¶ added in v0.2.0
func (userService *UserService) AdminListUsersV3(namespace string, limit, offset *int64) (*iamclientmodels.AccountcommonListUsersWithPlatformAccountsResponse, error)
AdminListUsersV3 is used to get list of users ID and namespace with their Justice platform account, under a namespace
func (*UserService) AdminPlatformUnlinkV3 ¶ added in v0.2.0
func (userService *UserService) AdminPlatformUnlinkV3(namespace, platformId, userId, platformNamespace string) error
AdminPlatformUnlinkV3 is used to unlink a platform user account to user account
func (*UserService) AdminSaveUserRoleV3 ¶ added in v0.2.0
func (userService *UserService) AdminSaveUserRoleV3(namespace, userId string, body []*iamclientmodels.ModelNamespaceRoleRequest) error
AdminSaveUserRoleV3 is used to update user's role
func (*UserService) AdminSearchUserV3 ¶ added in v0.2.0
func (userService *UserService) AdminSearchUserV3(namespace string, by, endDate, offset, query, startDate *string, limit *int64) (*iamclientmodels.ModelSearchUsersResponseWithPaginationV3, error)
AdminSearchUserV3 is used to search user
func (*UserService) AdminSendVerificationCodeV3 ¶ added in v0.2.0
func (userService *UserService) AdminSendVerificationCodeV3(namespace, userId, context, languageTag string, emailAddress *string) error
AdminSendVerificationCodeV3 is used to send verification code to user
func (*UserService) AdminUpdateAgeRestrictionConfigV3 ¶ added in v0.2.0
func (userService *UserService) AdminUpdateAgeRestrictionConfigV3(namespace string, ageRestriction *int32, enable *bool) (*iamclientmodels.ModelAgeRestrictionResponseV3, error)
AdminUpdateAgeRestrictionConfigV3 is used to update age restriction config value
func (*UserService) AdminUpdateCountryAgeRestrictionV3 ¶ added in v0.2.0
func (userService *UserService) AdminUpdateCountryAgeRestrictionV3(namespace, countryCode string, ageRestriction *int32) (*iamclientmodels.ModelCountryV3Response, error)
AdminUpdateCountryAgeRestrictionV3 is used to get age restriction country list
func (*UserService) AdminUpdateUserBanV3 ¶ added in v0.2.0
func (userService *UserService) AdminUpdateUserBanV3(namespace, userId, banId string, enabled, skipNotif *bool) (*iamclientmodels.ModelUserBanResponseV3, error)
AdminUpdateUserBanV3 is used to update enable or disable ban for single user
func (*UserService) AdminUpdateUserDeletionStatusV3 ¶ added in v0.2.0
func (userService *UserService) AdminUpdateUserDeletionStatusV3(namespace, userId string, enabled *bool) error
AdminUpdateUserDeletionStatusV3 is used to update user deletion status
func (*UserService) AdminUpdateUserPermissionV3 ¶ added in v0.2.0
func (userService *UserService) AdminUpdateUserPermissionV3(namespace, userId string, permissions []*iamclientmodels.AccountcommonPermission) error
AdminUpdateUserPermissionV3 is used to update user permissions
func (*UserService) AdminUpdateUserStatusV3 ¶ added in v0.2.0
func (userService *UserService) AdminUpdateUserStatusV3(namespace, userId string, reason *string, enabled *bool) error
AdminUpdateUserStatusV3 is used to disable or enable user account
func (*UserService) AdminUpdateUserV3 ¶ added in v0.2.0
func (userService *UserService) AdminUpdateUserV3(namespace, userId, country, dateOfBirth, displayName, languageTag, userName string) (*iamclientmodels.ModelUserResponseV3, error)
AdminUpdateUserV3 is used to update user by userId
func (*UserService) AdminUpgradeHeadlessAccountV3 ¶ added in v0.2.0
func (userService *UserService) AdminUpgradeHeadlessAccountV3(namespace, userId, country, dateOfBirth, displayName string, code, emailAddress, password *string) (*iamclientmodels.ModelUserResponseV3, error)
AdminUpgradeHeadlessAccountV3 is used to upgrade headless account with verification code
func (*UserService) AdminVerifyAccountV3 ¶ added in v0.2.0
func (userService *UserService) AdminVerifyAccountV3(namespace, userId string, code, contactType, languageTag *string) error
AdminVerifyAccountV3 is used to verify account by validating verification code
func (*UserService) AdminVerifyUserWithoutVerificationCodeV3 ¶ added in v0.2.0
func (userService *UserService) AdminVerifyUserWithoutVerificationCodeV3(namespace, userId string) error
AdminVerifyUserWithoutVerificationCodeV3 is used to force verify user
func (*UserService) CreateProfile ¶
func (userService *UserService) CreateProfile(namespace string) error
CreateProfile is used to create profile in client service (public)
func (*UserService) CreateUserFromInvitationV3 ¶ added in v0.2.0
func (userService *UserService) CreateUserFromInvitationV3(namespace, invitationId string, authType, country, dateOfBirth, displayName, password *string) (*iamclientmodels.ModelUserCreateResponseV3, error)
CreateUserFromInvitationV3 is used to create user from saved roles when creating invitation and submitted data
func (*UserService) GetAdminInvitationV3 ¶ added in v0.2.0
func (userService *UserService) GetAdminInvitationV3(namespace, invitationId string) (*iamclientmodels.ModelAdminInvitationV3, error)
GetAdminInvitationV3 is used to validate user admin invitation
func (*UserService) GetAdminUsersByRoleIDV3 ¶ added in v0.2.0
func (userService *UserService) GetAdminUsersByRoleIDV3(namespace, roleId string, after, before, limit *int64) (*iamclientmodels.ModelGetUsersResponseWithPaginationV3, error)
GetAdminUsersByRoleIDV3 is used to get list of admin users which have the roleId
func (*UserService) GetProfile ¶
func (userService *UserService) GetProfile(namespace string) (*basicclientmodels.UserProfilePrivateInfo, error)
GetProfile is used to get profile in client service (public)
func (*UserService) GetUserVerificationCodeV3 ¶ added in v0.2.0
func (userService *UserService) GetUserVerificationCodeV3(namespace, userId string) (*iamclientmodels.ModelVerificationCodeResponse, error)
GetUserVerificationCodeV3 is used to get verification code sent to user. [WARNING] This endpoint is only for testing purpose.
func (*UserService) ListAdminsV3 ¶ added in v0.2.0
func (userService *UserService) ListAdminsV3(namespace string, after, before *string, limit *int64) (*iamclientmodels.ModelGetUsersResponseWithPaginationV3, error)
ListAdminsV3 is used to get list of admins by admin
func (*UserService) Login ¶
func (userService *UserService) Login(username, password string) error
Login is used to login with username and password
func (*UserService) Logout ¶
func (userService *UserService) Logout() error
Logout is used to logout with client service oauth2 revoke
func (*UserService) PublicCreateJusticeUser ¶ added in v0.2.0
func (userService *UserService) PublicCreateJusticeUser(namespace, targetNamespace string) (*iamclientmodels.ModelCreateJusticeUserResponse, error)
PublicCreateJusticeUser is used to creates justice user from publisher user
func (*UserService) PublicCreateUserV3 ¶ added in v0.2.0
func (userService *UserService) PublicCreateUserV3(namespace, displayName, birthDate, email, countryId, password string) (*iamclientmodels.ModelUserCreateResponseV3, error)
PublicCreateUserV3 is used to to create user. Support accepting agreements for the created user. Supply the accepted agreements in acceptedPolicies attribute.
func (*UserService) PublicForgotPasswordV3 ¶ added in v0.2.0
func (userService *UserService) PublicForgotPasswordV3(namespace, languageTag string, emailAddress *string) error
PublicForgotPasswordV3 is used to requests password reset code
func (*UserService) PublicGetAsyncStatus ¶ added in v0.2.0
func (userService *UserService) PublicGetAsyncStatus(namespace, requestId string) (*iamclientmodels.ModelLinkRequest, error)
PublicGetAsyncStatus is used to get linking status
func (*UserService) PublicGetMyUserV3 ¶ added in v0.2.0
func (userService *UserService) PublicGetMyUserV3() (*iamclientmodels.ModelUserResponseV3, error)
PublicGetMyUserV3 is used to get my user
func (*UserService) PublicGetUserBanHistoryV3 ¶ added in v0.2.0
func (userService *UserService) PublicGetUserBanHistoryV3(namespace, userId string, after, before *string, activeOnly *bool, limit *int64) (*iamclientmodels.ModelGetUserBanV3Response, error)
PublicGetUserBanHistoryV3 is used to gets user s bans
func (*UserService) PublicGetUserByPlatformUserIDV3 ¶ added in v0.2.0
func (userService *UserService) PublicGetUserByPlatformUserIDV3(namespace, platformId, platformUserId string) (*iamclientmodels.ModelUserResponseV3, error)
PublicGetUserByPlatformUserIDV3 is used to gets user by platform user ID
func (*UserService) PublicGetUserByUserIDV3 ¶ added in v0.2.0
func (userService *UserService) PublicGetUserByUserIDV3(namespace, userId string) (*iamclientmodels.ModelPublicUserResponseV3, error)
PublicGetUserByUserIDV3 is used to gets user by user ID
func (*UserService) PublicGetUserLoginHistoriesV3 ¶ added in v0.2.0
func (userService *UserService) PublicGetUserLoginHistoriesV3(namespace, userId string, after, before, limit *float64) (*iamclientmodels.ModelLoginHistoriesResponse, error)
PublicGetUserLoginHistoriesV3 is used to gets user s login histories status
func (*UserService) PublicGetUserPlatformAccountsV3 ¶ added in v0.2.0
func (userService *UserService) PublicGetUserPlatformAccountsV3(namespace, userId string, after, before *string, limit *int64) (*iamclientmodels.AccountcommonUserLinkedPlatformsResponseV3, error)
PublicGetUserPlatformAccountsV3 is used to get platform accounts linked to the user
func (*UserService) PublicLinkPlatformAccount ¶ added in v0.2.0
func (userService *UserService) PublicLinkPlatformAccount(namespace, userId string, platformId, platformUserId *string) error
PublicLinkPlatformAccount is used to links a platform user account to user account
func (*UserService) PublicListUserIDByPlatformUserIDsV3 ¶ added in v0.2.0
func (userService *UserService) PublicListUserIDByPlatformUserIDsV3(namespace, platformId string, platformUserIds []string) (*iamclientmodels.AccountcommonUserPlatforms, error)
PublicListUserIDByPlatformUserIDsV3 is used to get list user id by platform user id
func (*UserService) PublicPlatformLinkV3 ¶ added in v0.2.0
func (userService *UserService) PublicPlatformLinkV3(namespace, platformId, ticket string, redirectURI *string) error
PublicPlatformLinkV3 is used to links user s account with platform
func (*UserService) PublicPlatformUnlinkV3 ¶ added in v0.2.0
func (userService *UserService) PublicPlatformUnlinkV3(namespace, platformId, platformNamespace string) error
PublicPlatformUnlinkV3 is used to unlinks user s account from specific platform
func (*UserService) PublicSearchUserV3 ¶ added in v0.2.0
func (userService *UserService) PublicSearchUserV3(namespace string, by, query *string) (*iamclientmodels.ModelPublicUserInformationResponseV3, error)
PublicSearchUserV3 is used to search all users on the specified namespace that match the query on these fields: email address, display name, and username
func (*UserService) PublicSendVerificationCodeV3 ¶ added in v0.2.0
func (userService *UserService) PublicSendVerificationCodeV3(namespace, context, languageTag string, emailAddress *string) error
PublicSendVerificationCodeV3 is used to sends verification code to user
func (*UserService) PublicUpdatePasswordV3 ¶ added in v0.2.0
func (userService *UserService) PublicUpdatePasswordV3(namespace string, languageTag, newPassword, oldPassword *string) error
PublicUpdatePasswordV3 is used to sends verification code to user
func (*UserService) PublicUpdateUserV3 ¶ added in v0.2.0
func (userService *UserService) PublicUpdateUserV3(namespace, country, dateOfBirth, displayName, languageTag, userName string) ([]*iamclientmodels.ModelUserResponseV3, error)
PublicUpdateUserV3 is used to updates user
func (*UserService) PublicUpgradeHeadlessAccountV3 ¶ added in v0.2.0
func (userService *UserService) PublicUpgradeHeadlessAccountV3(namespace, country, dateOfBirth, displayName string, code, emailAddress, password *string) (*iamclientmodels.ModelUserResponseV3, error)
PublicUpgradeHeadlessAccountV3 is used to upgrades headless account and automatically verified the email address if it is succeeded
func (*UserService) PublicUserVerificationV3 ¶ added in v0.2.0
func (userService *UserService) PublicUserVerificationV3(code, contactType, namespace string) error
PublicUserVerificationV3 is used to redeems verification code sent to user
func (*UserService) PublicValidateUserByUserIDAndPasswordV3 ¶ added in v0.2.0
func (userService *UserService) PublicValidateUserByUserIDAndPasswordV3(namespace, userId, password string) error
PublicValidateUserByUserIDAndPasswordV3 is used to validates user password by user ID and password
func (*UserService) PublicVerifyHeadlessAccountV3 ¶ added in v0.2.0
func (userService *UserService) PublicVerifyHeadlessAccountV3(namespace string, emailAddress, password *string) (*iamclientmodels.ModelUserResponseV3, error)
PublicVerifyHeadlessAccountV3 is used to upgrades user account to full account with email
func (*UserService) PublicWebLinkPlatform ¶ added in v0.2.0
func (userService *UserService) PublicWebLinkPlatform(namespace, platformId string, clientId, redirectUri *string) (*iamclientmodels.ModelWebLinkingResponse, error)
PublicWebLinkPlatform is used to creates public web linking
func (*UserService) PublicWebLinkPlatformEstablish ¶ added in v0.2.0
func (userService *UserService) PublicWebLinkPlatformEstablish(namespace, platformId, state string) error
PublicWebLinkPlatformEstablish is used to establishes link progress
func (*UserService) ResetPasswordV3 ¶ added in v0.2.0
func (userService *UserService) ResetPasswordV3(namespace string, code, emailAddress, newPassword *string) error
ResetPasswordV3 is used to resets user password
func (*UserService) UpdateUserV3 ¶ added in v0.2.0
func (userService *UserService) UpdateUserV3(namespace, country, dateOfBirth, displayName, languageTag, userName string) ([]*iamclientmodels.ModelUserResponseV3, error)
UpdateUserV3 is used to updates user
type WalletService ¶
type WalletService struct { PlatformServiceClient *platformclient.JusticePlatformService TokenRepository repository.TokenRepository }
func (*WalletService) CheckTransactionCreditLimit ¶
func (w *WalletService) CheckTransactionCreditLimit(namespace, userId, currencyCode string, content *platformclientmodels.CreditRequest) error
func (*WalletService) CreditUserWallet ¶
func (w *WalletService) CreditUserWallet(namespace, userId, currencyCode string, content *platformclientmodels.CreditRequest) (*platformclientmodels.WalletInfo, error)
func (*WalletService) DebitUserWallet ¶
func (w *WalletService) DebitUserWallet(namespace, userId, walletId string, content *platformclientmodels.DebitRequest) (*platformclientmodels.WalletInfo, error)
func (*WalletService) DisableUserWallet ¶
func (w *WalletService) DisableUserWallet(namespace, userId, walletId string) (*platformclientmodels.ErrorEntity, error)
func (*WalletService) EnableUserWallet ¶
func (w *WalletService) EnableUserWallet(namespace, userId, walletId string) error
func (*WalletService) GetUserWallet ¶
func (w *WalletService) GetUserWallet(namespace, userId, walletId string) (*platformclientmodels.WalletInfo, error)
func (*WalletService) GetWallet ¶
func (w *WalletService) GetWallet(namespace, walletId string) (*platformclientmodels.WalletInfo, error)
func (*WalletService) ListUserWalletTransactions ¶
func (w *WalletService) ListUserWalletTransactions(namespace, userId, walletId string, limit, offset *int32) (*platformclientmodels.WalletTransactionPagingSlicedResult, error)
func (*WalletService) PayWithUserWallet ¶
func (w *WalletService) PayWithUserWallet(namespace, userId, currencyCode string, content *platformclientmodels.PaymentRequest) (*platformclientmodels.WalletInfo, error)
func (*WalletService) PublicGetMyWallet ¶
func (w *WalletService) PublicGetMyWallet(namespace, currencyCode string) (*platformclientmodels.WalletInfo, error)
func (*WalletService) PublicGetWallet ¶
func (w *WalletService) PublicGetWallet(namespace, userId, currencyCode string) (*platformclientmodels.WalletInfo, error)
func (*WalletService) PublicListUserWalletTransactions ¶
func (w *WalletService) PublicListUserWalletTransactions(namespace, userId, currencyCode string, limit, offset *int32) (*platformclientmodels.WalletTransactionPagingSlicedResult, error)
func (*WalletService) QueryWallets ¶
func (w *WalletService) QueryWallets(namespace string, currencyCode, userId *string) (*platformclientmodels.WalletPagingSlicedResult, error)
Source Files
¶
- bansService.go
- categoryService.go
- chatService.go
- clientService.go
- cloudSaveService.go
- currencyService.go
- entitlementService.go
- friendService.go
- friendServiceWebsocket.go
- fulfillmentService.go
- gameNotificationService.go
- gameProfileService.go
- gameSessionService.go
- groupConfigurationService.go
- groupMemberService.go
- groupRoleService.go
- groupService.go
- iapService.go
- itemService.go
- notificationServiceWebsocket.go
- oauthExtService.go
- oauthService.go
- orderService.go
- partyService.go
- paymentAccount.go
- paymentConfig.go
- paymentService.go
- paymentStation.go
- rewardService.go
- roleService.go
- sessionService.go
- slotConfigService.go
- slotService.go
- ssoCredService.go
- ssoSAML20Service.go
- ssoService.go
- statisticConfigService.go
- statisticService.go
- storeService.go
- thirdPartyCredentialService.go
- userService.go
- walletService.go