7395 lines
243 KiB
Go
7395 lines
243 KiB
Go
package service
|
|
|
|
import (
|
|
"context"
|
|
"testing"
|
|
"time"
|
|
|
|
"github.com/gochat/gochat/internal/llm"
|
|
"github.com/gochat/gochat/internal/model"
|
|
"github.com/gochat/gochat/internal/repository"
|
|
)
|
|
|
|
var _ llm.Provider
|
|
|
|
func safeCall_Cov38(fn func()) { defer func() { _ = recover() }(); fn() }
|
|
|
|
// === AccountService ===
|
|
|
|
func TestAccountService_SetWorkerPool_Cov38(t *testing.T) {
|
|
svc := &AccountService{}
|
|
safeCall_Cov38(func() { svc.SetWorkerPool(nil) })
|
|
}
|
|
|
|
func TestAccountService_DB_Cov38(t *testing.T) {
|
|
svc := &AccountService{}
|
|
safeCall_Cov38(func() { svc.DB() })
|
|
}
|
|
|
|
func TestAccountService_ListByUser_Cov38(t *testing.T) {
|
|
svc := &AccountService{}
|
|
safeCall_Cov38(func() { svc.ListByUser(context.Background(), 0, 0, 0) })
|
|
}
|
|
|
|
func TestAccountService_GetByID_Cov38(t *testing.T) {
|
|
svc := &AccountService{}
|
|
safeCall_Cov38(func() { svc.GetByID(context.Background(), 0) })
|
|
}
|
|
|
|
func TestAccountService_GetByUserAndID_Cov38(t *testing.T) {
|
|
svc := &AccountService{}
|
|
safeCall_Cov38(func() { svc.GetByUserAndID(context.Background(), 0, 0) })
|
|
}
|
|
|
|
func TestAccountService_HelpCenterGenerationStatus_Cov38(t *testing.T) {
|
|
svc := &AccountService{}
|
|
safeCall_Cov38(func() { svc.HelpCenterGenerationStatus(context.Background(), 0) })
|
|
}
|
|
|
|
func TestAccountService_SelectBillingCurrency_Cov38(t *testing.T) {
|
|
svc := &AccountService{}
|
|
safeCall_Cov38(func() { svc.SelectBillingCurrency(context.Background(), 0, 0, "") })
|
|
}
|
|
|
|
func TestAccountService_EnterpriseSubscription_Cov38(t *testing.T) {
|
|
svc := &AccountService{}
|
|
safeCall_Cov38(func() { svc.EnterpriseSubscription(context.Background(), 0, 0) })
|
|
}
|
|
|
|
func TestAccountService_EnterpriseTopupOptions_Cov38(t *testing.T) {
|
|
svc := &AccountService{}
|
|
safeCall_Cov38(func() { svc.EnterpriseTopupOptions(context.Background(), 0, 0) })
|
|
}
|
|
|
|
func TestAccountService_billingCurrencySelectionRequired_Cov38(t *testing.T) {
|
|
svc := &AccountService{}
|
|
safeCall_Cov38(func() { svc.billingCurrencySelectionRequired(context.Background(), nil) })
|
|
}
|
|
|
|
func TestAccountService_accountBillingCurrency_Cov38(t *testing.T) {
|
|
svc := &AccountService{}
|
|
safeCall_Cov38(func() { svc.accountBillingCurrency(context.Background(), nil) })
|
|
}
|
|
|
|
func TestAccountService_multiCurrencyBillingEnabled_Cov38(t *testing.T) {
|
|
svc := &AccountService{}
|
|
safeCall_Cov38(func() { svc.multiCurrencyBillingEnabled(context.Background()) })
|
|
}
|
|
|
|
func TestAccountService_Create_Cov38(t *testing.T) {
|
|
svc := &AccountService{}
|
|
safeCall_Cov38(func() { svc.Create(context.Background(), 0, CreateAccountRequest{}) })
|
|
}
|
|
|
|
func TestAccountService_Update_Cov38(t *testing.T) {
|
|
svc := &AccountService{}
|
|
safeCall_Cov38(func() { svc.Update(context.Background(), 0, UpdateAccountRequest{}) })
|
|
}
|
|
|
|
func TestAccountService_UpdateOnboarding_Cov38(t *testing.T) {
|
|
svc := &AccountService{}
|
|
safeCall_Cov38(func() { svc.UpdateOnboarding(context.Background(), 0, UpdateAccountOnboardingRequest{}) })
|
|
}
|
|
|
|
func TestAccountService_Delete_Cov38(t *testing.T) {
|
|
svc := &AccountService{}
|
|
safeCall_Cov38(func() { svc.Delete(context.Background(), 0) })
|
|
}
|
|
|
|
func TestAccountService_ListUsers_Cov38(t *testing.T) {
|
|
svc := &AccountService{}
|
|
safeCall_Cov38(func() { svc.ListUsers(context.Background(), 0, 0, 0) })
|
|
}
|
|
|
|
func TestAccountService_AddUser_Cov38(t *testing.T) {
|
|
svc := &AccountService{}
|
|
safeCall_Cov38(func() { svc.AddUser(context.Background(), 0, AddUserRequest{}) })
|
|
}
|
|
|
|
func TestAccountService_RemoveUser_Cov38(t *testing.T) {
|
|
svc := &AccountService{}
|
|
safeCall_Cov38(func() { svc.RemoveUser(context.Background(), 0, 0) })
|
|
}
|
|
|
|
func TestAccountService_UpdateSettings_Cov38(t *testing.T) {
|
|
svc := &AccountService{}
|
|
safeCall_Cov38(func() { svc.UpdateSettings(context.Background(), 0, UpdateAccountSettingsRequest{}) })
|
|
}
|
|
|
|
func TestAccountService_GetAll_Cov38(t *testing.T) {
|
|
svc := &AccountService{}
|
|
safeCall_Cov38(func() { svc.GetAll(context.Background(), 0, 0) })
|
|
}
|
|
|
|
func TestAccountService_GetAgents_Cov38(t *testing.T) {
|
|
svc := &AccountService{}
|
|
safeCall_Cov38(func() { svc.GetAgents(context.Background(), 0, 0, 0) })
|
|
}
|
|
|
|
func TestAccountService_UpdateActiveAt_Cov38(t *testing.T) {
|
|
svc := &AccountService{}
|
|
safeCall_Cov38(func() { svc.UpdateActiveAt(context.Background(), 0, 0) })
|
|
}
|
|
|
|
func TestAccountService_CacheKeys_Cov38(t *testing.T) {
|
|
svc := &AccountService{}
|
|
safeCall_Cov38(func() { svc.CacheKeys(context.Background(), 0, 0) })
|
|
}
|
|
|
|
func TestAccountService_EnterpriseLimits_Cov38(t *testing.T) {
|
|
svc := &AccountService{}
|
|
safeCall_Cov38(func() { svc.EnterpriseLimits(context.Background(), 0, 0) })
|
|
}
|
|
|
|
func TestAccountService_MarkForDeletion_Cov38(t *testing.T) {
|
|
svc := &AccountService{}
|
|
safeCall_Cov38(func() { svc.MarkForDeletion(context.Background(), 0, 0, "") })
|
|
}
|
|
|
|
func TestAccountService_UnmarkForDeletion_Cov38(t *testing.T) {
|
|
svc := &AccountService{}
|
|
safeCall_Cov38(func() { svc.UnmarkForDeletion(context.Background(), 0, 0) })
|
|
}
|
|
|
|
func TestAccountService_EnsureEnterpriseAccountCustomerCreationFlag_Cov38(t *testing.T) {
|
|
svc := &AccountService{}
|
|
safeCall_Cov38(func() { svc.EnsureEnterpriseAccountCustomerCreationFlag(context.Background(), 0, 0) })
|
|
}
|
|
|
|
func TestAccountService_performCreateStripeCustomerJob_Cov38(t *testing.T) {
|
|
svc := &AccountService{}
|
|
safeCall_Cov38(func() { svc.performCreateStripeCustomerJob(context.Background(), nil) })
|
|
}
|
|
|
|
func TestAccountService_clearEnterpriseCustomerCreationFlag_Cov38(t *testing.T) {
|
|
svc := &AccountService{}
|
|
safeCall_Cov38(func() { svc.clearEnterpriseCustomerCreationFlag(context.Background(), 0) })
|
|
}
|
|
|
|
func TestAccountService_createStripeCustomer_Cov38(t *testing.T) {
|
|
svc := &AccountService{}
|
|
safeCall_Cov38(func() { svc.createStripeCustomer(context.Background(), 0) })
|
|
}
|
|
|
|
func TestAccountService_defaultCloudPlan_Cov38(t *testing.T) {
|
|
svc := &AccountService{}
|
|
safeCall_Cov38(func() { svc.defaultCloudPlan(context.Background()) })
|
|
}
|
|
|
|
func TestAccountService_stripeCreateCustomer_Cov38(t *testing.T) {
|
|
svc := &AccountService{}
|
|
safeCall_Cov38(func() { svc.stripeCreateCustomer(context.Background(), "", nil, "") })
|
|
}
|
|
|
|
func TestAccountService_stripeActiveSubscription_Cov38(t *testing.T) {
|
|
svc := &AccountService{}
|
|
safeCall_Cov38(func() { svc.stripeActiveSubscription(context.Background(), "", "") })
|
|
}
|
|
|
|
func TestAccountService_stripeCreateSubscription_Cov38(t *testing.T) {
|
|
svc := &AccountService{}
|
|
safeCall_Cov38(func() { svc.stripeCreateSubscription(context.Background(), "", "", "", 0) })
|
|
}
|
|
|
|
// === AccountUserService ===
|
|
|
|
func TestAccountUserService_AddUserToAccount_Cov38(t *testing.T) {
|
|
svc := &AccountUserService{}
|
|
safeCall_Cov38(func() { svc.AddUserToAccount(context.Background(), 0, nil) })
|
|
}
|
|
|
|
func TestAccountUserService_RemoveUserFromAccount_Cov38(t *testing.T) {
|
|
svc := &AccountUserService{}
|
|
safeCall_Cov38(func() { svc.RemoveUserFromAccount(context.Background(), 0, 0) })
|
|
}
|
|
|
|
func TestAccountUserService_UpdateAvailability_Cov38(t *testing.T) {
|
|
svc := &AccountUserService{}
|
|
safeCall_Cov38(func() { svc.UpdateAvailability(context.Background(), 0, 0, "") })
|
|
}
|
|
|
|
func TestAccountUserService_UpdateRole_Cov38(t *testing.T) {
|
|
svc := &AccountUserService{}
|
|
safeCall_Cov38(func() { svc.UpdateRole(context.Background(), 0, 0, "") })
|
|
}
|
|
|
|
func TestAccountUserService_ListByAccount_Cov38(t *testing.T) {
|
|
svc := &AccountUserService{}
|
|
safeCall_Cov38(func() { svc.ListByAccount(context.Background(), 0, 0, 0) })
|
|
}
|
|
|
|
func TestAccountUserService_GetByAccountAndUser_Cov38(t *testing.T) {
|
|
svc := &AccountUserService{}
|
|
safeCall_Cov38(func() { svc.GetByAccountAndUser(context.Background(), 0, 0) })
|
|
}
|
|
|
|
func TestAccountUserService_createDefaultNotificationSetting_Cov38(t *testing.T) {
|
|
svc := &AccountUserService{}
|
|
safeCall_Cov38(func() { svc.createDefaultNotificationSetting(context.Background(), 0, 0) })
|
|
}
|
|
|
|
func TestAccountUserService_MarkActive_Cov38(t *testing.T) {
|
|
svc := &AccountUserService{}
|
|
safeCall_Cov38(func() { svc.MarkActive(context.Background(), 0, 0) })
|
|
}
|
|
|
|
func TestAccountUserService_SetAutoOffline_Cov38(t *testing.T) {
|
|
svc := &AccountUserService{}
|
|
safeCall_Cov38(func() { svc.SetAutoOffline(context.Background(), 0, 0, false) })
|
|
}
|
|
|
|
func TestAccountUserService_FindOnlineAgents_Cov38(t *testing.T) {
|
|
svc := &AccountUserService{}
|
|
safeCall_Cov38(func() { svc.FindOnlineAgents(context.Background(), 0) })
|
|
}
|
|
|
|
// === AgentBotInboxService ===
|
|
|
|
func TestAgentBotInboxService_Bind_Cov38(t *testing.T) {
|
|
svc := &AgentBotInboxService{}
|
|
safeCall_Cov38(func() { svc.Bind(context.Background(), 0, BindBotToInboxRequest{}) })
|
|
}
|
|
|
|
func TestAgentBotInboxService_Unbind_Cov38(t *testing.T) {
|
|
svc := &AgentBotInboxService{}
|
|
safeCall_Cov38(func() { svc.Unbind(context.Background(), 0) })
|
|
}
|
|
|
|
func TestAgentBotInboxService_UpdateStatus_Cov38(t *testing.T) {
|
|
svc := &AgentBotInboxService{}
|
|
safeCall_Cov38(func() { svc.UpdateStatus(context.Background(), 0, UpdateBindingStatusRequest{}) })
|
|
}
|
|
|
|
func TestAgentBotInboxService_ListByInbox_Cov38(t *testing.T) {
|
|
svc := &AgentBotInboxService{}
|
|
safeCall_Cov38(func() { svc.ListByInbox(context.Background(), 0) })
|
|
}
|
|
|
|
func TestAgentBotInboxService_ListActiveByInbox_Cov38(t *testing.T) {
|
|
svc := &AgentBotInboxService{}
|
|
safeCall_Cov38(func() { svc.ListActiveByInbox(context.Background(), 0) })
|
|
}
|
|
|
|
func TestAgentBotInboxService_ListByBot_Cov38(t *testing.T) {
|
|
svc := &AgentBotInboxService{}
|
|
safeCall_Cov38(func() { svc.ListByBot(context.Background(), 0) })
|
|
}
|
|
|
|
// === AgentBotService ===
|
|
|
|
func TestAgentBotService_Create_Cov38(t *testing.T) {
|
|
svc := &AgentBotService{}
|
|
safeCall_Cov38(func() { svc.Create(context.Background(), CreateAgentBotRequest{}) })
|
|
}
|
|
|
|
func TestAgentBotService_Get_Cov38(t *testing.T) {
|
|
svc := &AgentBotService{}
|
|
safeCall_Cov38(func() { svc.Get(context.Background(), 0) })
|
|
}
|
|
|
|
func TestAgentBotService_GetAccessible_Cov38(t *testing.T) {
|
|
svc := &AgentBotService{}
|
|
safeCall_Cov38(func() { svc.GetAccessible(context.Background(), 0, 0) })
|
|
}
|
|
|
|
func TestAgentBotService_ListAccessible_Cov38(t *testing.T) {
|
|
svc := &AgentBotService{}
|
|
safeCall_Cov38(func() { svc.ListAccessible(context.Background(), 0, 0, 0) })
|
|
}
|
|
|
|
func TestAgentBotService_ListAccessibleAll_Cov38(t *testing.T) {
|
|
svc := &AgentBotService{}
|
|
safeCall_Cov38(func() { svc.ListAccessibleAll(context.Background(), 0) })
|
|
}
|
|
|
|
func TestAgentBotService_List_Cov38(t *testing.T) {
|
|
svc := &AgentBotService{}
|
|
safeCall_Cov38(func() { svc.List(context.Background(), 0) })
|
|
}
|
|
|
|
func TestAgentBotService_Update_Cov38(t *testing.T) {
|
|
svc := &AgentBotService{}
|
|
safeCall_Cov38(func() { svc.Update(context.Background(), 0, UpdateAgentBotRequest{}) })
|
|
}
|
|
|
|
func TestAgentBotService_UpdateByAccount_Cov38(t *testing.T) {
|
|
svc := &AgentBotService{}
|
|
safeCall_Cov38(func() { svc.UpdateByAccount(context.Background(), 0, 0, UpdateAgentBotRequest{}) })
|
|
}
|
|
|
|
func TestAgentBotService_update_Cov38(t *testing.T) {
|
|
svc := &AgentBotService{}
|
|
safeCall_Cov38(func() { svc.update(context.Background(), nil, 0, UpdateAgentBotRequest{}) })
|
|
}
|
|
|
|
func TestAgentBotService_DeleteByAccount_Cov38(t *testing.T) {
|
|
svc := &AgentBotService{}
|
|
safeCall_Cov38(func() { svc.DeleteByAccount(context.Background(), 0, 0) })
|
|
}
|
|
|
|
func TestAgentBotService_Delete_Cov38(t *testing.T) {
|
|
svc := &AgentBotService{}
|
|
safeCall_Cov38(func() { svc.Delete(context.Background(), 0) })
|
|
}
|
|
|
|
func TestAgentBotService_ResetToken_Cov38(t *testing.T) {
|
|
svc := &AgentBotService{}
|
|
safeCall_Cov38(func() { svc.ResetToken(context.Background(), 0) })
|
|
}
|
|
|
|
func TestAgentBotService_ResetTokenByAccount_Cov38(t *testing.T) {
|
|
svc := &AgentBotService{}
|
|
safeCall_Cov38(func() { svc.ResetTokenByAccount(context.Background(), 0, 0) })
|
|
}
|
|
|
|
func TestAgentBotService_ResetSecret_Cov38(t *testing.T) {
|
|
svc := &AgentBotService{}
|
|
safeCall_Cov38(func() { svc.ResetSecret(context.Background(), 0) })
|
|
}
|
|
|
|
func TestAgentBotService_ResetSecretByAccount_Cov38(t *testing.T) {
|
|
svc := &AgentBotService{}
|
|
safeCall_Cov38(func() { svc.ResetSecretByAccount(context.Background(), 0, 0) })
|
|
}
|
|
|
|
func TestAgentBotService_DeleteAvatar_Cov38(t *testing.T) {
|
|
svc := &AgentBotService{}
|
|
safeCall_Cov38(func() { svc.DeleteAvatar(context.Background(), 0) })
|
|
}
|
|
|
|
func TestAgentBotService_DeleteAvatarByAccount_Cov38(t *testing.T) {
|
|
svc := &AgentBotService{}
|
|
safeCall_Cov38(func() { svc.DeleteAvatarByAccount(context.Background(), 0, 0) })
|
|
}
|
|
|
|
func TestAgentBotService_deleteAvatar_Cov38(t *testing.T) {
|
|
svc := &AgentBotService{}
|
|
safeCall_Cov38(func() { svc.deleteAvatar(context.Background(), nil, 0) })
|
|
}
|
|
|
|
func TestAgentBotService_UpdateAvatar_Cov38(t *testing.T) {
|
|
svc := &AgentBotService{}
|
|
safeCall_Cov38(func() { svc.UpdateAvatar(context.Background(), 0, AgentBotUpdateAvatarRequest{}) })
|
|
}
|
|
|
|
func TestAgentBotService_ResetConfig_Cov38(t *testing.T) {
|
|
svc := &AgentBotService{}
|
|
safeCall_Cov38(func() { svc.ResetConfig(context.Background(), 0) })
|
|
}
|
|
|
|
// === AgentCapacityPolicyService ===
|
|
|
|
func TestAgentCapacityPolicyService_List_Cov38(t *testing.T) {
|
|
svc := &AgentCapacityPolicyService{}
|
|
safeCall_Cov38(func() { svc.List(context.Background(), 0, 0, 0) })
|
|
}
|
|
|
|
func TestAgentCapacityPolicyService_Create_Cov38(t *testing.T) {
|
|
svc := &AgentCapacityPolicyService{}
|
|
safeCall_Cov38(func() { svc.Create(context.Background(), 0, CreateAgentCapacityPolicyRequest{}) })
|
|
}
|
|
|
|
func TestAgentCapacityPolicyService_Update_Cov38(t *testing.T) {
|
|
svc := &AgentCapacityPolicyService{}
|
|
safeCall_Cov38(func() { svc.Update(context.Background(), 0, 0, UpdateAgentCapacityPolicyRequest{}) })
|
|
}
|
|
|
|
func TestAgentCapacityPolicyService_CreateInboxCapacityLimit_Cov38(t *testing.T) {
|
|
svc := &AgentCapacityPolicyService{}
|
|
safeCall_Cov38(func() { svc.CreateInboxCapacityLimit(context.Background(), 0, 0, CreateInboxCapacityLimitRequest{}) })
|
|
}
|
|
|
|
func TestAgentCapacityPolicyService_UpdateInboxCapacityLimit_Cov38(t *testing.T) {
|
|
svc := &AgentCapacityPolicyService{}
|
|
safeCall_Cov38(func() { svc.UpdateInboxCapacityLimit(context.Background(), 0, 0, 0, UpdateInboxCapacityLimitRequest{}) })
|
|
}
|
|
|
|
func TestAgentCapacityPolicyService_DeleteInboxCapacityLimit_Cov38(t *testing.T) {
|
|
svc := &AgentCapacityPolicyService{}
|
|
safeCall_Cov38(func() { svc.DeleteInboxCapacityLimit(context.Background(), 0, 0, 0) })
|
|
}
|
|
|
|
func TestAgentCapacityPolicyService_ListUsers_Cov38(t *testing.T) {
|
|
svc := &AgentCapacityPolicyService{}
|
|
safeCall_Cov38(func() { svc.ListUsers(context.Background(), 0, 0) })
|
|
}
|
|
|
|
func TestAgentCapacityPolicyService_AssignUser_Cov38(t *testing.T) {
|
|
svc := &AgentCapacityPolicyService{}
|
|
safeCall_Cov38(func() { svc.AssignUser(context.Background(), 0, 0, AssignCapacityPolicyUserRequest{}) })
|
|
}
|
|
|
|
func TestAgentCapacityPolicyService_RemoveUser_Cov38(t *testing.T) {
|
|
svc := &AgentCapacityPolicyService{}
|
|
safeCall_Cov38(func() { svc.RemoveUser(context.Background(), 0, 0, 0) })
|
|
}
|
|
|
|
func TestAgentCapacityPolicyService_Delete_Cov38(t *testing.T) {
|
|
svc := &AgentCapacityPolicyService{}
|
|
safeCall_Cov38(func() { svc.Delete(context.Background(), 0, 0) })
|
|
}
|
|
|
|
func TestAgentCapacityPolicyService_GetByID_Cov38(t *testing.T) {
|
|
svc := &AgentCapacityPolicyService{}
|
|
safeCall_Cov38(func() { svc.GetByID(context.Background(), 0, 0) })
|
|
}
|
|
|
|
// === AgentService ===
|
|
|
|
func TestAgentService_DB_Cov38(t *testing.T) {
|
|
svc := &AgentService{}
|
|
safeCall_Cov38(func() { svc.DB() })
|
|
}
|
|
|
|
func TestAgentService_List_Cov38(t *testing.T) {
|
|
svc := &AgentService{}
|
|
safeCall_Cov38(func() { svc.List(context.Background(), 0, 0, 0) })
|
|
}
|
|
|
|
func TestAgentService_Get_Cov38(t *testing.T) {
|
|
svc := &AgentService{}
|
|
safeCall_Cov38(func() { svc.Get(context.Background(), 0, 0) })
|
|
}
|
|
|
|
func TestAgentService_Create_Cov38(t *testing.T) {
|
|
svc := &AgentService{}
|
|
safeCall_Cov38(func() { svc.Create(context.Background(), 0, 0, CreateAgentRequest{}) })
|
|
}
|
|
|
|
func TestAgentService_Update_Cov38(t *testing.T) {
|
|
svc := &AgentService{}
|
|
safeCall_Cov38(func() { svc.Update(context.Background(), 0, 0, UpdateAgentRequest{}) })
|
|
}
|
|
|
|
func TestAgentService_Delete_Cov38(t *testing.T) {
|
|
svc := &AgentService{}
|
|
safeCall_Cov38(func() { svc.Delete(context.Background(), 0, 0) })
|
|
}
|
|
|
|
func TestAgentService_ResetPassword_Cov38(t *testing.T) {
|
|
svc := &AgentService{}
|
|
safeCall_Cov38(func() { svc.ResetPassword(context.Background(), 0, 0) })
|
|
}
|
|
|
|
func TestAgentService_BulkCreate_Cov38(t *testing.T) {
|
|
svc := &AgentService{}
|
|
safeCall_Cov38(func() { svc.BulkCreate(context.Background(), 0, 0, BulkCreateAgentRequest{}) })
|
|
}
|
|
|
|
func TestAgentService_AvailableAgentCount_Cov38(t *testing.T) {
|
|
svc := &AgentService{}
|
|
safeCall_Cov38(func() { svc.AvailableAgentCount(context.Background(), 0) })
|
|
}
|
|
|
|
func TestAgentService_CanAddAgent_Cov38(t *testing.T) {
|
|
svc := &AgentService{}
|
|
safeCall_Cov38(func() { svc.CanAddAgent(context.Background(), 0) })
|
|
}
|
|
|
|
func TestAgentService_CanAddAgents_Cov38(t *testing.T) {
|
|
svc := &AgentService{}
|
|
safeCall_Cov38(func() { svc.CanAddAgents(context.Background(), 0, 0) })
|
|
}
|
|
|
|
// === AnalyticsService ===
|
|
|
|
func TestAnalyticsService_GetAgentReportCSVRows_Cov38(t *testing.T) {
|
|
svc := &AnalyticsService{}
|
|
safeCall_Cov38(func() { svc.GetAgentReportCSVRows(context.Background(), 0, time.Time{}, time.Time{}, false) })
|
|
}
|
|
|
|
func TestAnalyticsService_GetInboxReportCSVRows_Cov38(t *testing.T) {
|
|
svc := &AnalyticsService{}
|
|
safeCall_Cov38(func() { svc.GetInboxReportCSVRows(context.Background(), 0, time.Time{}, time.Time{}, false) })
|
|
}
|
|
|
|
func TestAnalyticsService_GetTeamReportCSVRows_Cov38(t *testing.T) {
|
|
svc := &AnalyticsService{}
|
|
safeCall_Cov38(func() { svc.GetTeamReportCSVRows(context.Background(), 0, time.Time{}, time.Time{}, false) })
|
|
}
|
|
|
|
func TestAnalyticsService_GetLabelReportCSVRows_Cov38(t *testing.T) {
|
|
svc := &AnalyticsService{}
|
|
safeCall_Cov38(func() { svc.GetLabelReportCSVRows(context.Background(), 0, time.Time{}, time.Time{}, false) })
|
|
}
|
|
|
|
func TestAnalyticsService_GetConversationsSummaryCSVRows_Cov38(t *testing.T) {
|
|
svc := &AnalyticsService{}
|
|
safeCall_Cov38(func() { svc.GetConversationsSummaryCSVRows(context.Background(), 0, time.Time{}, time.Time{}, false) })
|
|
}
|
|
|
|
func TestAnalyticsService_GetConversationTrafficCSVRows_Cov38(t *testing.T) {
|
|
svc := &AnalyticsService{}
|
|
safeCall_Cov38(func() { svc.GetConversationTrafficCSVRows(context.Background(), 0, time.Time{}, time.Time{}, 0) })
|
|
}
|
|
|
|
func TestAnalyticsService_reportMetricsByDimension_Cov38(t *testing.T) {
|
|
svc := &AnalyticsService{}
|
|
safeCall_Cov38(func() { svc.reportMetricsByDimension(context.Background(), 0, time.Time{}, time.Time{}, "", false) })
|
|
}
|
|
|
|
func TestAnalyticsService_loadDimensionEventAverages_Cov38(t *testing.T) {
|
|
svc := &AnalyticsService{}
|
|
safeCall_Cov38(func() {
|
|
svc.loadDimensionEventAverages(context.Background(), nil, nil, 0, time.Time{}, time.Time{}, "", false)
|
|
})
|
|
}
|
|
|
|
func TestAnalyticsService_reportMetricsByLabel_Cov38(t *testing.T) {
|
|
svc := &AnalyticsService{}
|
|
safeCall_Cov38(func() { svc.reportMetricsByLabel(context.Background(), 0, time.Time{}, time.Time{}, false) })
|
|
}
|
|
|
|
func TestAnalyticsService_analyticsDB_Cov38(t *testing.T) {
|
|
svc := &AnalyticsService{}
|
|
safeCall_Cov38(func() { svc.analyticsDB() })
|
|
}
|
|
|
|
func TestAnalyticsService_EnsureRollupsForRange_Cov38(t *testing.T) {
|
|
svc := &AnalyticsService{}
|
|
safeCall_Cov38(func() { svc.EnsureRollupsForRange(context.Background(), 0, time.Time{}, time.Time{}) })
|
|
}
|
|
|
|
func TestAnalyticsService_GetTimeseries_Cov38(t *testing.T) {
|
|
svc := &AnalyticsService{}
|
|
safeCall_Cov38(func() { svc.GetTimeseries(context.Background(), 0, "", time.Time{}, time.Time{}, "", 0, "", 0, false) })
|
|
}
|
|
|
|
func TestAnalyticsService_liveConversationMetrics_Cov38(t *testing.T) {
|
|
svc := &AnalyticsService{}
|
|
safeCall_Cov38(func() { svc.liveConversationMetrics(context.Background(), 0, 0) })
|
|
}
|
|
|
|
func TestAnalyticsService_conversationCountTimeseries_Cov38(t *testing.T) {
|
|
svc := &AnalyticsService{}
|
|
safeCall_Cov38(func() {
|
|
svc.conversationCountTimeseries(context.Background(), 0, time.Time{}, time.Time{}, "", 0, "", nil, false)
|
|
})
|
|
}
|
|
|
|
func TestAnalyticsService_messageCountTimeseries_Cov38(t *testing.T) {
|
|
svc := &AnalyticsService{}
|
|
safeCall_Cov38(func() {
|
|
svc.messageCountTimeseries(context.Background(), 0, time.Time{}, time.Time{}, "", 0, "", nil, "")
|
|
})
|
|
}
|
|
|
|
func TestAnalyticsService_eventTimeseries_Cov38(t *testing.T) {
|
|
svc := &AnalyticsService{}
|
|
safeCall_Cov38(func() {
|
|
svc.eventTimeseries(context.Background(), 0, time.Time{}, time.Time{}, "", 0, "", nil, nil, false, false, "")
|
|
})
|
|
}
|
|
|
|
func TestAnalyticsService_groupedLiveConversationMetrics_Cov38(t *testing.T) {
|
|
svc := &AnalyticsService{}
|
|
safeCall_Cov38(func() { svc.groupedLiveConversationMetrics(context.Background(), 0, "", 0) })
|
|
}
|
|
|
|
func TestAnalyticsService_botSummaryCounts_Cov38(t *testing.T) {
|
|
svc := &AnalyticsService{}
|
|
safeCall_Cov38(func() { svc.botSummaryCounts(context.Background(), 0, time.Time{}, time.Time{}, "", 0) })
|
|
}
|
|
|
|
func TestAnalyticsService_reportSummaryCounts_Cov38(t *testing.T) {
|
|
svc := &AnalyticsService{}
|
|
safeCall_Cov38(func() { svc.reportSummaryCounts(context.Background(), 0, time.Time{}, time.Time{}, "", 0, false) })
|
|
}
|
|
|
|
func TestAnalyticsService_aggregateConversationCount_Cov38(t *testing.T) {
|
|
svc := &AnalyticsService{}
|
|
safeCall_Cov38(func() {
|
|
svc.aggregateConversationCount(context.Background(), 0, time.Time{}, time.Time{}, "", 0, false)
|
|
})
|
|
}
|
|
|
|
func TestAnalyticsService_aggregateMessageCount_Cov38(t *testing.T) {
|
|
svc := &AnalyticsService{}
|
|
safeCall_Cov38(func() { svc.aggregateMessageCount(context.Background(), 0, time.Time{}, time.Time{}, "", 0, "") })
|
|
}
|
|
|
|
func TestAnalyticsService_aggregateEventAverage_Cov38(t *testing.T) {
|
|
svc := &AnalyticsService{}
|
|
safeCall_Cov38(func() {
|
|
svc.aggregateEventAverage(context.Background(), 0, time.Time{}, time.Time{}, "", 0, nil, false)
|
|
})
|
|
}
|
|
|
|
func TestAnalyticsService_aggregateEventCount_Cov38(t *testing.T) {
|
|
svc := &AnalyticsService{}
|
|
safeCall_Cov38(func() { svc.aggregateEventCount(context.Background(), 0, time.Time{}, time.Time{}, "", 0, nil, "") })
|
|
}
|
|
|
|
func TestAnalyticsService_conversationMetricsByType_Cov38(t *testing.T) {
|
|
svc := &AnalyticsService{}
|
|
safeCall_Cov38(func() { svc.conversationMetricsByType(context.Background(), 0, "", 0) })
|
|
}
|
|
|
|
func TestAnalyticsService_agentConversationMetrics_Cov38(t *testing.T) {
|
|
svc := &AnalyticsService{}
|
|
safeCall_Cov38(func() { svc.agentConversationMetrics(context.Background(), 0, 0) })
|
|
}
|
|
|
|
func TestAnalyticsService_liveConversationMetricsForAssignee_Cov38(t *testing.T) {
|
|
svc := &AnalyticsService{}
|
|
safeCall_Cov38(func() { svc.liveConversationMetricsForAssignee(context.Background(), 0, 0) })
|
|
}
|
|
|
|
func TestAnalyticsService_conversationSummary_Cov38(t *testing.T) {
|
|
svc := &AnalyticsService{}
|
|
safeCall_Cov38(func() { svc.conversationSummary(context.Background(), 0, time.Time{}, time.Time{}) })
|
|
}
|
|
|
|
func TestAnalyticsService_botMetrics_Cov38(t *testing.T) {
|
|
svc := &AnalyticsService{}
|
|
safeCall_Cov38(func() { svc.botMetrics(context.Background(), 0, time.Time{}, time.Time{}) })
|
|
}
|
|
|
|
func TestAnalyticsService_botMetricDistinctCounts_Cov38(t *testing.T) {
|
|
svc := &AnalyticsService{}
|
|
safeCall_Cov38(func() { svc.botMetricDistinctCounts(context.Background(), nil, 0, time.Time{}, time.Time{}) })
|
|
}
|
|
|
|
func TestAnalyticsService_inboxLabelMatrix_Cov38(t *testing.T) {
|
|
svc := &AnalyticsService{}
|
|
safeCall_Cov38(func() { svc.inboxLabelMatrix(context.Background(), 0, InboxLabelMatrixFilter{}) })
|
|
}
|
|
|
|
func TestAnalyticsService_firstResponseTimeDistribution_Cov38(t *testing.T) {
|
|
svc := &AnalyticsService{}
|
|
safeCall_Cov38(func() { svc.firstResponseTimeDistribution(context.Background(), 0, time.Time{}, time.Time{}) })
|
|
}
|
|
|
|
func TestAnalyticsService_outgoingMessagesCount_Cov38(t *testing.T) {
|
|
svc := &AnalyticsService{}
|
|
safeCall_Cov38(func() { svc.outgoingMessagesCount(context.Background(), 0, time.Time{}, time.Time{}, "") })
|
|
}
|
|
|
|
func TestAnalyticsService_averageEventValue_Cov38(t *testing.T) {
|
|
svc := &AnalyticsService{}
|
|
safeCall_Cov38(func() { svc.averageEventValue(context.Background(), 0, nil, time.Time{}, time.Time{}) })
|
|
}
|
|
|
|
func TestAnalyticsService_outgoingMessagesByAgent_Cov38(t *testing.T) {
|
|
svc := &AnalyticsService{}
|
|
safeCall_Cov38(func() { svc.outgoingMessagesByAgent(context.Background(), nil, 0, time.Time{}, time.Time{}) })
|
|
}
|
|
|
|
func TestAnalyticsService_outgoingMessagesByConversationField_Cov38(t *testing.T) {
|
|
svc := &AnalyticsService{}
|
|
safeCall_Cov38(func() {
|
|
svc.outgoingMessagesByConversationField(context.Background(), nil, 0, time.Time{}, time.Time{}, "", "")
|
|
})
|
|
}
|
|
|
|
func TestAnalyticsService_outgoingMessagesByInbox_Cov38(t *testing.T) {
|
|
svc := &AnalyticsService{}
|
|
safeCall_Cov38(func() { svc.outgoingMessagesByInbox(context.Background(), nil, 0, time.Time{}, time.Time{}) })
|
|
}
|
|
|
|
func TestAnalyticsService_outgoingMessagesByLabel_Cov38(t *testing.T) {
|
|
svc := &AnalyticsService{}
|
|
safeCall_Cov38(func() { svc.outgoingMessagesByLabel(context.Background(), nil, 0, time.Time{}, time.Time{}) })
|
|
}
|
|
|
|
func TestAnalyticsService_SetWorkerPool_Cov38(t *testing.T) {
|
|
svc := &AnalyticsService{}
|
|
safeCall_Cov38(func() { svc.SetWorkerPool(nil) })
|
|
}
|
|
|
|
func TestAnalyticsService_GetSummary_Cov38(t *testing.T) {
|
|
svc := &AnalyticsService{}
|
|
safeCall_Cov38(func() { svc.GetSummary(context.Background(), 0, time.Time{}, time.Time{}) })
|
|
}
|
|
|
|
func TestAnalyticsService_GetDrilldown_Cov38(t *testing.T) {
|
|
svc := &AnalyticsService{}
|
|
safeCall_Cov38(func() { svc.GetDrilldown(context.Background(), 0, ReportDrilldownParams{}) })
|
|
}
|
|
|
|
func TestAnalyticsService_validateReportDimension_Cov38(t *testing.T) {
|
|
svc := &AnalyticsService{}
|
|
safeCall_Cov38(func() { svc.validateReportDimension(context.Background(), 0, ReportDrilldownParams{}) })
|
|
}
|
|
|
|
func TestAnalyticsService_reportMessageDimensionQuery_Cov38(t *testing.T) {
|
|
svc := &AnalyticsService{}
|
|
safeCall_Cov38(func() { svc.reportMessageDimensionQuery(context.Background(), 0, ReportDrilldownParams{}) })
|
|
}
|
|
|
|
func TestAnalyticsService_reportConversationDimensionQuery_Cov38(t *testing.T) {
|
|
svc := &AnalyticsService{}
|
|
safeCall_Cov38(func() { svc.reportConversationDimensionQuery(context.Background(), 0, ReportDrilldownParams{}) })
|
|
}
|
|
|
|
func TestAnalyticsService_reportEventDimensionQuery_Cov38(t *testing.T) {
|
|
svc := &AnalyticsService{}
|
|
safeCall_Cov38(func() { svc.reportEventDimensionQuery(context.Background(), 0, ReportDrilldownParams{}) })
|
|
}
|
|
|
|
func TestAnalyticsService_reportEventRecord_Cov38(t *testing.T) {
|
|
svc := &AnalyticsService{}
|
|
safeCall_Cov38(func() { svc.reportEventRecord(context.Background(), nil, ReportDrilldownParams{}) })
|
|
}
|
|
|
|
func TestAnalyticsService_reportMessageRecord_Cov38(t *testing.T) {
|
|
svc := &AnalyticsService{}
|
|
safeCall_Cov38(func() { svc.reportMessageRecord(context.Background(), nil, nil, nil) })
|
|
}
|
|
|
|
func TestAnalyticsService_reportConversationRecord_Cov38(t *testing.T) {
|
|
svc := &AnalyticsService{}
|
|
safeCall_Cov38(func() { svc.reportConversationRecord(context.Background(), nil, nil, nil, "") })
|
|
}
|
|
|
|
func TestAnalyticsService_reportConversationAttributes_Cov38(t *testing.T) {
|
|
svc := &AnalyticsService{}
|
|
safeCall_Cov38(func() { svc.reportConversationAttributes(context.Background(), nil) })
|
|
}
|
|
|
|
func TestAnalyticsService_reportSenderName_Cov38(t *testing.T) {
|
|
svc := &AnalyticsService{}
|
|
safeCall_Cov38(func() { svc.reportSenderName(context.Background(), nil) })
|
|
}
|
|
|
|
func TestAnalyticsService_GetAgentMetrics_Cov38(t *testing.T) {
|
|
svc := &AnalyticsService{}
|
|
safeCall_Cov38(func() { svc.GetAgentMetrics(context.Background(), 0, time.Time{}, time.Time{}) })
|
|
}
|
|
|
|
func TestAnalyticsService_GetInboxMetrics_Cov38(t *testing.T) {
|
|
svc := &AnalyticsService{}
|
|
safeCall_Cov38(func() { svc.GetInboxMetrics(context.Background(), 0, time.Time{}, time.Time{}) })
|
|
}
|
|
|
|
func TestAnalyticsService_GetLabelMetrics_Cov38(t *testing.T) {
|
|
svc := &AnalyticsService{}
|
|
safeCall_Cov38(func() { svc.GetLabelMetrics(context.Background(), 0, time.Time{}, time.Time{}) })
|
|
}
|
|
|
|
func TestAnalyticsService_GetTeamMetrics_Cov38(t *testing.T) {
|
|
svc := &AnalyticsService{}
|
|
safeCall_Cov38(func() { svc.GetTeamMetrics(context.Background(), 0, time.Time{}, time.Time{}) })
|
|
}
|
|
|
|
func TestAnalyticsService_getDimensionMetrics_Cov38(t *testing.T) {
|
|
svc := &AnalyticsService{}
|
|
safeCall_Cov38(func() { svc.getDimensionMetrics(context.Background(), 0, "", time.Time{}, time.Time{}) })
|
|
}
|
|
|
|
func TestAnalyticsService_GetConversationTraffic_Cov38(t *testing.T) {
|
|
svc := &AnalyticsService{}
|
|
safeCall_Cov38(func() { svc.GetConversationTraffic(context.Background(), 0, time.Time{}, time.Time{}) })
|
|
}
|
|
|
|
func TestAnalyticsService_GetConversationMetrics_Cov38(t *testing.T) {
|
|
svc := &AnalyticsService{}
|
|
safeCall_Cov38(func() { svc.GetConversationMetrics(context.Background(), 0) })
|
|
}
|
|
|
|
func TestAnalyticsService_GetConversationMetricsForTeam_Cov38(t *testing.T) {
|
|
svc := &AnalyticsService{}
|
|
safeCall_Cov38(func() { svc.GetConversationMetricsForTeam(context.Background(), 0, 0) })
|
|
}
|
|
|
|
func TestAnalyticsService_GetGroupedConversationMetrics_Cov38(t *testing.T) {
|
|
svc := &AnalyticsService{}
|
|
safeCall_Cov38(func() { svc.GetGroupedConversationMetrics(context.Background(), 0, "") })
|
|
}
|
|
|
|
func TestAnalyticsService_GetGroupedConversationMetricsForTeam_Cov38(t *testing.T) {
|
|
svc := &AnalyticsService{}
|
|
safeCall_Cov38(func() { svc.GetGroupedConversationMetricsForTeam(context.Background(), 0, "", 0) })
|
|
}
|
|
|
|
func TestAnalyticsService_GetReportSummary_Cov38(t *testing.T) {
|
|
svc := &AnalyticsService{}
|
|
safeCall_Cov38(func() { svc.GetReportSummary(context.Background(), 0, time.Time{}, time.Time{}, "", 0, false) })
|
|
}
|
|
|
|
func TestAnalyticsService_RecordEvent_Cov38(t *testing.T) {
|
|
svc := &AnalyticsService{}
|
|
safeCall_Cov38(func() { svc.RecordEvent(context.Background(), nil) })
|
|
}
|
|
|
|
func TestAnalyticsService_RollupDaily_Cov38(t *testing.T) {
|
|
svc := &AnalyticsService{}
|
|
safeCall_Cov38(func() { svc.RollupDaily(context.Background(), 0, time.Time{}) })
|
|
}
|
|
|
|
func TestAnalyticsService_groupEventsByDimension_Cov38(t *testing.T) {
|
|
svc := &AnalyticsService{}
|
|
safeCall_Cov38(func() { svc.groupEventsByDimension(nil, "") })
|
|
}
|
|
|
|
func TestAnalyticsService_GetBotSummary_Cov38(t *testing.T) {
|
|
svc := &AnalyticsService{}
|
|
safeCall_Cov38(func() { svc.GetBotSummary(context.Background(), 0, time.Time{}, time.Time{}, "", 0) })
|
|
}
|
|
|
|
func TestAnalyticsService_GetConversationsByType_Cov38(t *testing.T) {
|
|
svc := &AnalyticsService{}
|
|
safeCall_Cov38(func() { svc.GetConversationsByType(context.Background(), 0, "", 0) })
|
|
}
|
|
|
|
func TestAnalyticsService_GetConversationsSummary_Cov38(t *testing.T) {
|
|
svc := &AnalyticsService{}
|
|
safeCall_Cov38(func() { svc.GetConversationsSummary(context.Background(), 0, time.Time{}, time.Time{}) })
|
|
}
|
|
|
|
func TestAnalyticsService_GetBotMetrics_Cov38(t *testing.T) {
|
|
svc := &AnalyticsService{}
|
|
safeCall_Cov38(func() { svc.GetBotMetrics(context.Background(), 0, time.Time{}, time.Time{}) })
|
|
}
|
|
|
|
func TestAnalyticsService_GetInboxLabelMatrix_Cov38(t *testing.T) {
|
|
svc := &AnalyticsService{}
|
|
safeCall_Cov38(func() { svc.GetInboxLabelMatrix(context.Background(), 0, InboxLabelMatrixFilter{}) })
|
|
}
|
|
|
|
func TestAnalyticsService_GetFirstResponseTimeDistribution_Cov38(t *testing.T) {
|
|
svc := &AnalyticsService{}
|
|
safeCall_Cov38(func() { svc.GetFirstResponseTimeDistribution(context.Background(), 0, time.Time{}, time.Time{}) })
|
|
}
|
|
|
|
func TestAnalyticsService_GetOutgoingMessagesCount_Cov38(t *testing.T) {
|
|
svc := &AnalyticsService{}
|
|
safeCall_Cov38(func() { svc.GetOutgoingMessagesCount(context.Background(), 0, time.Time{}, time.Time{}) })
|
|
}
|
|
|
|
func TestAnalyticsService_GetOutgoingMessagesCountGrouped_Cov38(t *testing.T) {
|
|
svc := &AnalyticsService{}
|
|
safeCall_Cov38(func() { svc.GetOutgoingMessagesCountGrouped(context.Background(), 0, time.Time{}, time.Time{}, "") })
|
|
}
|
|
|
|
func TestAnalyticsService_performReportingRollupDayJob_Cov38(t *testing.T) {
|
|
svc := &AnalyticsService{}
|
|
safeCall_Cov38(func() { svc.performReportingRollupDayJob(context.Background(), nil) })
|
|
}
|
|
|
|
// === AppliedSlaService ===
|
|
|
|
func TestAppliedSlaService_ValidateSlaPolicy_Cov38(t *testing.T) {
|
|
svc := &AppliedSlaService{}
|
|
safeCall_Cov38(func() { svc.ValidateSlaPolicy(context.Background(), 0, 0) })
|
|
}
|
|
|
|
func TestAppliedSlaService_CreateFromConversation_Cov38(t *testing.T) {
|
|
svc := &AppliedSlaService{}
|
|
safeCall_Cov38(func() { svc.CreateFromConversation(context.Background(), 0, 0, 0) })
|
|
}
|
|
|
|
func TestAppliedSlaService_Evaluate_Cov38(t *testing.T) {
|
|
svc := &AppliedSlaService{}
|
|
safeCall_Cov38(func() { svc.Evaluate(context.Background(), 0) })
|
|
}
|
|
|
|
func TestAppliedSlaService_checkFRTMissed_Cov38(t *testing.T) {
|
|
svc := &AppliedSlaService{}
|
|
safeCall_Cov38(func() { svc.checkFRTMissed(nil, nil, time.Time{}) })
|
|
}
|
|
|
|
func TestAppliedSlaService_checkNRTMissed_Cov38(t *testing.T) {
|
|
svc := &AppliedSlaService{}
|
|
safeCall_Cov38(func() { svc.checkNRTMissed(nil, nil, time.Time{}) })
|
|
}
|
|
|
|
func TestAppliedSlaService_checkRTMissed_Cov38(t *testing.T) {
|
|
svc := &AppliedSlaService{}
|
|
safeCall_Cov38(func() { svc.checkRTMissed(nil, nil, time.Time{}) })
|
|
}
|
|
|
|
func TestAppliedSlaService_handleMissedSla_Cov38(t *testing.T) {
|
|
svc := &AppliedSlaService{}
|
|
safeCall_Cov38(func() { svc.handleMissedSla(context.Background(), nil, "", nil) })
|
|
}
|
|
|
|
func TestAppliedSlaService_createSlaMissNotifications_Cov38(t *testing.T) {
|
|
svc := &AppliedSlaService{}
|
|
safeCall_Cov38(func() { svc.createSlaMissNotifications(context.Background(), nil, "", nil) })
|
|
}
|
|
|
|
func TestAppliedSlaService_slaNotificationUserIDs_Cov38(t *testing.T) {
|
|
svc := &AppliedSlaService{}
|
|
safeCall_Cov38(func() { svc.slaNotificationUserIDs(context.Background(), nil) })
|
|
}
|
|
|
|
func TestAppliedSlaService_slaEventMeta_Cov38(t *testing.T) {
|
|
svc := &AppliedSlaService{}
|
|
safeCall_Cov38(func() { svc.slaEventMeta(context.Background(), "", nil) })
|
|
}
|
|
|
|
func TestAppliedSlaService_lastIncomingMessageID_Cov38(t *testing.T) {
|
|
svc := &AppliedSlaService{}
|
|
safeCall_Cov38(func() { svc.lastIncomingMessageID(context.Background(), nil) })
|
|
}
|
|
|
|
func TestAppliedSlaService_handleHitSla_Cov38(t *testing.T) {
|
|
svc := &AppliedSlaService{}
|
|
safeCall_Cov38(func() { svc.handleHitSla(context.Background(), nil, nil) })
|
|
}
|
|
|
|
func TestAppliedSlaService_RemoveAppliedSla_Cov38(t *testing.T) {
|
|
svc := &AppliedSlaService{}
|
|
safeCall_Cov38(func() { svc.RemoveAppliedSla(context.Background(), 0) })
|
|
}
|
|
|
|
// === ArticleService ===
|
|
|
|
func TestArticleService_SetSearchIndexer_Cov38(t *testing.T) {
|
|
svc := &ArticleService{}
|
|
safeCall_Cov38(func() { svc.SetSearchIndexer(nil) })
|
|
}
|
|
|
|
func TestArticleService_SetWorkerPool_Cov38(t *testing.T) {
|
|
svc := &ArticleService{}
|
|
safeCall_Cov38(func() { svc.SetWorkerPool(nil) })
|
|
}
|
|
|
|
func TestArticleService_SetArticleTranslationBackend_Cov38(t *testing.T) {
|
|
svc := &ArticleService{}
|
|
safeCall_Cov38(func() { svc.SetArticleTranslationBackend(nil) })
|
|
}
|
|
|
|
func TestArticleService_SetEmbeddingRepo_Cov38(t *testing.T) {
|
|
svc := &ArticleService{}
|
|
safeCall_Cov38(func() { svc.SetEmbeddingRepo(nil) })
|
|
}
|
|
|
|
func TestArticleService_SetLLMProvider_Cov38(t *testing.T) {
|
|
svc := &ArticleService{}
|
|
safeCall_Cov38(func() { svc.SetLLMProvider(nil) })
|
|
}
|
|
|
|
func TestArticleService_EmbeddingReindexStatus_Cov38(t *testing.T) {
|
|
svc := &ArticleService{}
|
|
safeCall_Cov38(func() { svc.EmbeddingReindexStatus() })
|
|
}
|
|
|
|
func TestArticleService_StartEmbeddingReindex_Cov38(t *testing.T) {
|
|
svc := &ArticleService{}
|
|
safeCall_Cov38(func() { svc.StartEmbeddingReindex() })
|
|
}
|
|
|
|
func TestArticleService_runEmbeddingReindex_Cov38(t *testing.T) {
|
|
svc := &ArticleService{}
|
|
safeCall_Cov38(func() { svc.runEmbeddingReindex(nil) })
|
|
}
|
|
|
|
func TestArticleService_indexArticle_Cov38(t *testing.T) {
|
|
svc := &ArticleService{}
|
|
safeCall_Cov38(func() { svc.indexArticle(context.Background(), nil) })
|
|
}
|
|
|
|
func TestArticleService_deleteArticleIndex_Cov38(t *testing.T) {
|
|
svc := &ArticleService{}
|
|
safeCall_Cov38(func() { svc.deleteArticleIndex(context.Background(), 0, 0) })
|
|
}
|
|
|
|
func TestArticleService_Create_Cov38(t *testing.T) {
|
|
svc := &ArticleService{}
|
|
safeCall_Cov38(func() { svc.Create(context.Background(), 0, 0, nil) })
|
|
}
|
|
|
|
func TestArticleService_CreateWithAccount_Cov38(t *testing.T) {
|
|
svc := &ArticleService{}
|
|
safeCall_Cov38(func() { svc.CreateWithAccount(context.Background(), 0, 0, 0, nil) })
|
|
}
|
|
|
|
func TestArticleService_GetByID_Cov38(t *testing.T) {
|
|
svc := &ArticleService{}
|
|
safeCall_Cov38(func() { svc.GetByID(context.Background(), 0) })
|
|
}
|
|
|
|
func TestArticleService_GetByPortalAndID_Cov38(t *testing.T) {
|
|
svc := &ArticleService{}
|
|
safeCall_Cov38(func() { svc.GetByPortalAndID(context.Background(), 0, 0) })
|
|
}
|
|
|
|
func TestArticleService_Update_Cov38(t *testing.T) {
|
|
svc := &ArticleService{}
|
|
safeCall_Cov38(func() { svc.Update(context.Background(), 0, nil) })
|
|
}
|
|
|
|
func TestArticleService_UpdateScoped_Cov38(t *testing.T) {
|
|
svc := &ArticleService{}
|
|
safeCall_Cov38(func() { svc.UpdateScoped(context.Background(), 0, 0, nil) })
|
|
}
|
|
|
|
func TestArticleService_UpdateExisting_Cov38(t *testing.T) {
|
|
svc := &ArticleService{}
|
|
safeCall_Cov38(func() { svc.UpdateExisting(context.Background(), nil, nil) })
|
|
}
|
|
|
|
func TestArticleService_Delete_Cov38(t *testing.T) {
|
|
svc := &ArticleService{}
|
|
safeCall_Cov38(func() { svc.Delete(context.Background(), 0) })
|
|
}
|
|
|
|
func TestArticleService_DeleteScoped_Cov38(t *testing.T) {
|
|
svc := &ArticleService{}
|
|
safeCall_Cov38(func() { svc.DeleteScoped(context.Background(), 0, 0) })
|
|
}
|
|
|
|
func TestArticleService_ListByPortalID_Cov38(t *testing.T) {
|
|
svc := &ArticleService{}
|
|
safeCall_Cov38(func() { svc.ListByPortalID(context.Background(), 0, 0, 0) })
|
|
}
|
|
|
|
func TestArticleService_ListByCategoryID_Cov38(t *testing.T) {
|
|
svc := &ArticleService{}
|
|
safeCall_Cov38(func() { svc.ListByCategoryID(context.Background(), 0, 0, 0) })
|
|
}
|
|
|
|
func TestArticleService_ListByStatus_Cov38(t *testing.T) {
|
|
svc := &ArticleService{}
|
|
safeCall_Cov38(func() { svc.ListByStatus(context.Background(), 0, "", 0, 0) })
|
|
}
|
|
|
|
func TestArticleService_GetByPortalAndSlug_Cov38(t *testing.T) {
|
|
svc := &ArticleService{}
|
|
safeCall_Cov38(func() { svc.GetByPortalAndSlug(context.Background(), 0, "") })
|
|
}
|
|
|
|
func TestArticleService_Search_Cov38(t *testing.T) {
|
|
svc := &ArticleService{}
|
|
safeCall_Cov38(func() { svc.Search(context.Background(), repository.ArticleSearchParams{}) })
|
|
}
|
|
|
|
func TestArticleService_Count_Cov38(t *testing.T) {
|
|
svc := &ArticleService{}
|
|
safeCall_Cov38(func() { svc.Count(context.Background(), repository.ArticleSearchParams{}) })
|
|
}
|
|
|
|
func TestArticleService_StatusCounts_Cov38(t *testing.T) {
|
|
svc := &ArticleService{}
|
|
safeCall_Cov38(func() { svc.StatusCounts(context.Background(), 0) })
|
|
}
|
|
|
|
func TestArticleService_ListMeta_Cov38(t *testing.T) {
|
|
svc := &ArticleService{}
|
|
safeCall_Cov38(func() { svc.ListMeta(context.Background(), repository.ArticleSearchParams{}, 0) })
|
|
}
|
|
|
|
func TestArticleService_Reorder_Cov38(t *testing.T) {
|
|
svc := &ArticleService{}
|
|
safeCall_Cov38(func() { svc.Reorder(context.Background(), nil) })
|
|
}
|
|
|
|
func TestArticleService_ReorderScoped_Cov38(t *testing.T) {
|
|
svc := &ArticleService{}
|
|
safeCall_Cov38(func() { svc.ReorderScoped(context.Background(), 0, nil) })
|
|
}
|
|
|
|
func TestArticleService_BulkUpdateStatus_Cov38(t *testing.T) {
|
|
svc := &ArticleService{}
|
|
safeCall_Cov38(func() { svc.BulkUpdateStatus(context.Background(), nil, "") })
|
|
}
|
|
|
|
func TestArticleService_BulkUpdateStatusScoped_Cov38(t *testing.T) {
|
|
svc := &ArticleService{}
|
|
safeCall_Cov38(func() { svc.BulkUpdateStatusScoped(context.Background(), 0, nil, "") })
|
|
}
|
|
|
|
func TestArticleService_BulkUpdateCategoryScoped_Cov38(t *testing.T) {
|
|
svc := &ArticleService{}
|
|
safeCall_Cov38(func() { svc.BulkUpdateCategoryScoped(context.Background(), 0, nil, 0) })
|
|
}
|
|
|
|
func TestArticleService_BulkDelete_Cov38(t *testing.T) {
|
|
svc := &ArticleService{}
|
|
safeCall_Cov38(func() { svc.BulkDelete(context.Background(), nil) })
|
|
}
|
|
|
|
func TestArticleService_BulkDeleteScoped_Cov38(t *testing.T) {
|
|
svc := &ArticleService{}
|
|
safeCall_Cov38(func() { svc.BulkDeleteScoped(context.Background(), 0, nil) })
|
|
}
|
|
|
|
func TestArticleService_IncrementViews_Cov38(t *testing.T) {
|
|
svc := &ArticleService{}
|
|
safeCall_Cov38(func() { svc.IncrementViews(context.Background(), 0) })
|
|
}
|
|
|
|
func TestArticleService_BulkTranslate_Cov38(t *testing.T) {
|
|
svc := &ArticleService{}
|
|
safeCall_Cov38(func() { svc.BulkTranslate(context.Background(), 0, nil, 0, BulkTranslateRequest{}) })
|
|
}
|
|
|
|
func TestArticleService_BulkActions_Cov38(t *testing.T) {
|
|
svc := &ArticleService{}
|
|
safeCall_Cov38(func() { svc.BulkActions(context.Background(), nil) })
|
|
}
|
|
|
|
func TestArticleService_performArticleTranslateJob_Cov38(t *testing.T) {
|
|
svc := &ArticleService{}
|
|
safeCall_Cov38(func() { svc.performArticleTranslateJob(context.Background(), nil) })
|
|
}
|
|
|
|
func TestArticleService_SemanticSearch_Cov38(t *testing.T) {
|
|
svc := &ArticleService{}
|
|
safeCall_Cov38(func() { svc.SemanticSearch(context.Background(), 0, "", 0) })
|
|
}
|
|
|
|
func TestArticleService_GenerateEmbedding_Cov38(t *testing.T) {
|
|
svc := &ArticleService{}
|
|
safeCall_Cov38(func() { svc.GenerateEmbedding(context.Background(), 0) })
|
|
}
|
|
|
|
// === AssignableAgentService ===
|
|
|
|
func TestAssignableAgentService_FindAssignableAgents_Cov38(t *testing.T) {
|
|
svc := &AssignableAgentService{}
|
|
safeCall_Cov38(func() { svc.FindAssignableAgents(context.Background(), 0, nil) })
|
|
}
|
|
|
|
func TestAssignableAgentService_GetAssignableAgents_Cov38(t *testing.T) {
|
|
svc := &AssignableAgentService{}
|
|
safeCall_Cov38(func() { svc.GetAssignableAgents(context.Background(), 0, nil) })
|
|
}
|
|
|
|
func TestAssignableAgentService_GetAssignableAgentBots_Cov38(t *testing.T) {
|
|
svc := &AssignableAgentService{}
|
|
safeCall_Cov38(func() { svc.GetAssignableAgentBots(context.Background(), 0) })
|
|
}
|
|
|
|
func TestAssignableAgentService_findAdministrators_Cov38(t *testing.T) {
|
|
svc := &AssignableAgentService{}
|
|
safeCall_Cov38(func() { svc.findAdministrators(context.Background(), 0) })
|
|
}
|
|
|
|
func TestAssignableAgentService_findAdministratorIDs_Cov38(t *testing.T) {
|
|
svc := &AssignableAgentService{}
|
|
safeCall_Cov38(func() { svc.findAdministratorIDs(context.Background(), 0) })
|
|
}
|
|
|
|
// === AssignmentPolicyService ===
|
|
|
|
func TestAssignmentPolicyService_ListAccountPolicies_Cov38(t *testing.T) {
|
|
svc := &AssignmentPolicyService{}
|
|
safeCall_Cov38(func() { svc.ListAccountPolicies(context.Background(), 0) })
|
|
}
|
|
|
|
func TestAssignmentPolicyService_GetAccountPolicy_Cov38(t *testing.T) {
|
|
svc := &AssignmentPolicyService{}
|
|
safeCall_Cov38(func() { svc.GetAccountPolicy(context.Background(), 0) })
|
|
}
|
|
|
|
func TestAssignmentPolicyService_CreateAccountPolicy_Cov38(t *testing.T) {
|
|
svc := &AssignmentPolicyService{}
|
|
safeCall_Cov38(func() { svc.CreateAccountPolicy(context.Background(), 0, CreatePolicyRequest{}) })
|
|
}
|
|
|
|
func TestAssignmentPolicyService_UpdateAccountPolicy_Cov38(t *testing.T) {
|
|
svc := &AssignmentPolicyService{}
|
|
safeCall_Cov38(func() { svc.UpdateAccountPolicy(context.Background(), 0, 0, UpdatePolicyRequest{}) })
|
|
}
|
|
|
|
func TestAssignmentPolicyService_DeleteAccountPolicy_Cov38(t *testing.T) {
|
|
svc := &AssignmentPolicyService{}
|
|
safeCall_Cov38(func() { svc.DeleteAccountPolicy(context.Background(), 0, 0) })
|
|
}
|
|
|
|
func TestAssignmentPolicyService_GetInboxPolicy_Cov38(t *testing.T) {
|
|
svc := &AssignmentPolicyService{}
|
|
safeCall_Cov38(func() { svc.GetInboxPolicy(context.Background(), 0, 0) })
|
|
}
|
|
|
|
func TestAssignmentPolicyService_ListPolicyInboxes_Cov38(t *testing.T) {
|
|
svc := &AssignmentPolicyService{}
|
|
safeCall_Cov38(func() { svc.ListPolicyInboxes(context.Background(), 0, 0) })
|
|
}
|
|
|
|
func TestAssignmentPolicyService_CreateInboxPolicy_Cov38(t *testing.T) {
|
|
svc := &AssignmentPolicyService{}
|
|
safeCall_Cov38(func() { svc.CreateInboxPolicy(context.Background(), 0, CreateInboxPolicyRequest{}) })
|
|
}
|
|
|
|
func TestAssignmentPolicyService_UpdateInboxPolicy_Cov38(t *testing.T) {
|
|
svc := &AssignmentPolicyService{}
|
|
safeCall_Cov38(func() { svc.UpdateInboxPolicy(context.Background(), 0, 0, UpdateInboxPolicyRequest{}) })
|
|
}
|
|
|
|
func TestAssignmentPolicyService_DeleteInboxPolicy_Cov38(t *testing.T) {
|
|
svc := &AssignmentPolicyService{}
|
|
safeCall_Cov38(func() { svc.DeleteInboxPolicy(context.Background(), 0, 0) })
|
|
}
|
|
|
|
func TestAssignmentPolicyService_SerializePolicy_Cov38(t *testing.T) {
|
|
svc := &AssignmentPolicyService{}
|
|
safeCall_Cov38(func() { svc.SerializePolicy(context.Background(), nil) })
|
|
}
|
|
|
|
func TestAssignmentPolicyService_AssignConversation_Cov38(t *testing.T) {
|
|
svc := &AssignmentPolicyService{}
|
|
safeCall_Cov38(func() { svc.AssignConversation(context.Background(), 0, 0, 0) })
|
|
}
|
|
|
|
// === AttachmentService ===
|
|
|
|
func TestAttachmentService_GetByID_Cov38(t *testing.T) {
|
|
svc := &AttachmentService{}
|
|
safeCall_Cov38(func() { svc.GetByID(context.Background(), 0) })
|
|
}
|
|
|
|
func TestAttachmentService_ListByMessage_Cov38(t *testing.T) {
|
|
svc := &AttachmentService{}
|
|
safeCall_Cov38(func() { svc.ListByMessage(context.Background(), 0) })
|
|
}
|
|
|
|
func TestAttachmentService_Create_Cov38(t *testing.T) {
|
|
svc := &AttachmentService{}
|
|
safeCall_Cov38(func() { svc.Create(context.Background(), CreateAttachmentRequest{}) })
|
|
}
|
|
|
|
func TestAttachmentService_Delete_Cov38(t *testing.T) {
|
|
svc := &AttachmentService{}
|
|
safeCall_Cov38(func() { svc.Delete(context.Background(), 0) })
|
|
}
|
|
|
|
func TestAttachmentService_DeleteByMessage_Cov38(t *testing.T) {
|
|
svc := &AttachmentService{}
|
|
safeCall_Cov38(func() { svc.DeleteByMessage(context.Background(), 0) })
|
|
}
|
|
|
|
// === AuditService ===
|
|
|
|
func TestAuditService_ListByAccount_Cov38(t *testing.T) {
|
|
svc := &AuditService{}
|
|
safeCall_Cov38(func() { svc.ListByAccount(context.Background(), 0, "", "", 0, 0) })
|
|
}
|
|
|
|
func TestAuditService_CreateAudit_Cov38(t *testing.T) {
|
|
svc := &AuditService{}
|
|
safeCall_Cov38(func() { svc.CreateAudit(context.Background(), nil) })
|
|
}
|
|
|
|
func TestAuditService_Record_Cov38(t *testing.T) {
|
|
svc := &AuditService{}
|
|
safeCall_Cov38(func() { svc.Record(context.Background(), AuditRecord{}) })
|
|
}
|
|
|
|
func TestAuditService_GetByID_Cov38(t *testing.T) {
|
|
svc := &AuditService{}
|
|
safeCall_Cov38(func() { svc.GetByID(context.Background(), 0) })
|
|
}
|
|
|
|
func TestAuditService_GetByIDForAccount_Cov38(t *testing.T) {
|
|
svc := &AuditService{}
|
|
safeCall_Cov38(func() { svc.GetByIDForAccount(context.Background(), 0, 0) })
|
|
}
|
|
|
|
// === AuthService ===
|
|
|
|
func TestAuthService_TrackChatwootSession_Cov38(t *testing.T) {
|
|
svc := &AuthService{}
|
|
safeCall_Cov38(func() { svc.TrackChatwootSession(context.Background(), nil, "", "", "") })
|
|
}
|
|
|
|
func TestAuthService_RevokeChatwootSession_Cov38(t *testing.T) {
|
|
svc := &AuthService{}
|
|
safeCall_Cov38(func() { svc.RevokeChatwootSession(context.Background(), 0, "") })
|
|
}
|
|
|
|
func TestAuthService_Login_Cov38(t *testing.T) {
|
|
svc := &AuthService{}
|
|
safeCall_Cov38(func() { svc.Login(context.Background(), nil) })
|
|
}
|
|
|
|
func TestAuthService_ValidateAccessToken_Cov38(t *testing.T) {
|
|
svc := &AuthService{}
|
|
safeCall_Cov38(func() { svc.ValidateAccessToken(context.Background(), "") })
|
|
}
|
|
|
|
func TestAuthService_Refresh_Cov38(t *testing.T) {
|
|
svc := &AuthService{}
|
|
safeCall_Cov38(func() { svc.Refresh(context.Background(), nil) })
|
|
}
|
|
|
|
func TestAuthService_Logout_Cov38(t *testing.T) {
|
|
svc := &AuthService{}
|
|
safeCall_Cov38(func() { svc.Logout(context.Background(), 0) })
|
|
}
|
|
|
|
func TestAuthService_SwitchAccount_Cov38(t *testing.T) {
|
|
svc := &AuthService{}
|
|
safeCall_Cov38(func() { svc.SwitchAccount(context.Background(), nil) })
|
|
}
|
|
|
|
func TestAuthService_ResetPassword_Cov38(t *testing.T) {
|
|
svc := &AuthService{}
|
|
safeCall_Cov38(func() { svc.ResetPassword(context.Background(), nil) })
|
|
}
|
|
|
|
func TestAuthService_ConfirmResetPassword_Cov38(t *testing.T) {
|
|
svc := &AuthService{}
|
|
safeCall_Cov38(func() { svc.ConfirmResetPassword(context.Background(), nil) })
|
|
}
|
|
|
|
func TestAuthService_ConfirmEmail_Cov38(t *testing.T) {
|
|
svc := &AuthService{}
|
|
safeCall_Cov38(func() { svc.ConfirmEmail(context.Background(), nil) })
|
|
}
|
|
|
|
func TestAuthService_getUserDefaultAccount_Cov38(t *testing.T) {
|
|
svc := &AuthService{}
|
|
safeCall_Cov38(func() { svc.getUserDefaultAccount(nil) })
|
|
}
|
|
|
|
func TestAuthService_issueLoginOutput_Cov38(t *testing.T) {
|
|
svc := &AuthService{}
|
|
safeCall_Cov38(func() { svc.issueLoginOutput(context.Background(), nil) })
|
|
}
|
|
|
|
// === AutoReplyRuleService ===
|
|
|
|
func TestAutoReplyRuleService_CreateRule_Cov38(t *testing.T) {
|
|
svc := &AutoReplyRuleService{}
|
|
safeCall_Cov38(func() { svc.CreateRule(context.Background(), 0, nil) })
|
|
}
|
|
|
|
func TestAutoReplyRuleService_GetRule_Cov38(t *testing.T) {
|
|
svc := &AutoReplyRuleService{}
|
|
safeCall_Cov38(func() { svc.GetRule(context.Background(), 0, 0) })
|
|
}
|
|
|
|
func TestAutoReplyRuleService_UpdateRule_Cov38(t *testing.T) {
|
|
svc := &AutoReplyRuleService{}
|
|
safeCall_Cov38(func() { svc.UpdateRule(context.Background(), 0, 0, nil) })
|
|
}
|
|
|
|
func TestAutoReplyRuleService_DeleteRule_Cov38(t *testing.T) {
|
|
svc := &AutoReplyRuleService{}
|
|
safeCall_Cov38(func() { svc.DeleteRule(context.Background(), 0, 0) })
|
|
}
|
|
|
|
func TestAutoReplyRuleService_ListRules_Cov38(t *testing.T) {
|
|
svc := &AutoReplyRuleService{}
|
|
safeCall_Cov38(func() { svc.ListRules(context.Background(), 0, 0, 0) })
|
|
}
|
|
|
|
func TestAutoReplyRuleService_EvaluateRules_Cov38(t *testing.T) {
|
|
svc := &AutoReplyRuleService{}
|
|
safeCall_Cov38(func() { svc.EvaluateRules(context.Background(), nil) })
|
|
}
|
|
|
|
func TestAutoReplyRuleService_matchConditions_Cov38(t *testing.T) {
|
|
svc := &AutoReplyRuleService{}
|
|
safeCall_Cov38(func() { svc.matchConditions(context.Background(), nil, nil) })
|
|
}
|
|
|
|
func TestAutoReplyRuleService_composeReply_Cov38(t *testing.T) {
|
|
svc := &AutoReplyRuleService{}
|
|
safeCall_Cov38(func() { svc.composeReply(context.Background(), nil, nil) })
|
|
}
|
|
|
|
func TestAutoReplyRuleService_composeLLMReply_Cov38(t *testing.T) {
|
|
svc := &AutoReplyRuleService{}
|
|
safeCall_Cov38(func() { svc.composeLLMReply(context.Background(), nil, nil) })
|
|
}
|
|
|
|
// === BannerService ===
|
|
|
|
func TestBannerService_List_Cov38(t *testing.T) {
|
|
svc := &BannerService{}
|
|
safeCall_Cov38(func() { svc.List(context.Background(), 0, 0) })
|
|
}
|
|
|
|
func TestBannerService_Get_Cov38(t *testing.T) {
|
|
svc := &BannerService{}
|
|
safeCall_Cov38(func() { svc.Get(context.Background(), 0) })
|
|
}
|
|
|
|
func TestBannerService_Create_Cov38(t *testing.T) {
|
|
svc := &BannerService{}
|
|
safeCall_Cov38(func() { svc.Create(context.Background(), nil) })
|
|
}
|
|
|
|
func TestBannerService_Update_Cov38(t *testing.T) {
|
|
svc := &BannerService{}
|
|
safeCall_Cov38(func() { svc.Update(context.Background(), 0, nil) })
|
|
}
|
|
|
|
func TestBannerService_Delete_Cov38(t *testing.T) {
|
|
svc := &BannerService{}
|
|
safeCall_Cov38(func() { svc.Delete(context.Background(), 0) })
|
|
}
|
|
|
|
func TestBannerService_ListActive_Cov38(t *testing.T) {
|
|
svc := &BannerService{}
|
|
safeCall_Cov38(func() { svc.ListActive(context.Background()) })
|
|
}
|
|
|
|
// === CampaignService ===
|
|
|
|
func TestCampaignService_List_Cov38(t *testing.T) {
|
|
svc := &CampaignService{}
|
|
safeCall_Cov38(func() { svc.List(context.Background(), 0, 0, 0) })
|
|
}
|
|
|
|
func TestCampaignService_Get_Cov38(t *testing.T) {
|
|
svc := &CampaignService{}
|
|
safeCall_Cov38(func() { svc.Get(context.Background(), 0, 0) })
|
|
}
|
|
|
|
func TestCampaignService_Create_Cov38(t *testing.T) {
|
|
svc := &CampaignService{}
|
|
safeCall_Cov38(func() { svc.Create(context.Background(), 0, CreateCampaignRequest{}) })
|
|
}
|
|
|
|
func TestCampaignService_Update_Cov38(t *testing.T) {
|
|
svc := &CampaignService{}
|
|
safeCall_Cov38(func() { svc.Update(context.Background(), 0, 0, UpdateCampaignRequest{}) })
|
|
}
|
|
|
|
func TestCampaignService_Delete_Cov38(t *testing.T) {
|
|
svc := &CampaignService{}
|
|
safeCall_Cov38(func() { svc.Delete(context.Background(), 0, 0) })
|
|
}
|
|
|
|
func TestCampaignService_Start_Cov38(t *testing.T) {
|
|
svc := &CampaignService{}
|
|
safeCall_Cov38(func() { svc.Start(context.Background(), 0, 0) })
|
|
}
|
|
|
|
func TestCampaignService_validateCampaignSender_Cov38(t *testing.T) {
|
|
svc := &CampaignService{}
|
|
safeCall_Cov38(func() { svc.validateCampaignSender(context.Background(), 0, nil) })
|
|
}
|
|
|
|
func TestCampaignService_Stop_Cov38(t *testing.T) {
|
|
svc := &CampaignService{}
|
|
safeCall_Cov38(func() { svc.Stop(context.Background(), 0, 0) })
|
|
}
|
|
|
|
// === CaptainAssistantResponseService ===
|
|
|
|
func TestCaptainAssistantResponseService_SetRAGService_Cov38(t *testing.T) {
|
|
svc := &CaptainAssistantResponseService{}
|
|
safeCall_Cov38(func() { svc.SetRAGService(nil) })
|
|
}
|
|
|
|
func TestCaptainAssistantResponseService_ProcessResponse_Cov38(t *testing.T) {
|
|
svc := &CaptainAssistantResponseService{}
|
|
safeCall_Cov38(func() { svc.ProcessResponse(context.Background(), 0, nil) })
|
|
}
|
|
|
|
func TestCaptainAssistantResponseService_List_Cov38(t *testing.T) {
|
|
svc := &CaptainAssistantResponseService{}
|
|
safeCall_Cov38(func() { svc.List(context.Background(), 0, 0, 0, "", "", 0, 0) })
|
|
}
|
|
|
|
func TestCaptainAssistantResponseService_Get_Cov38(t *testing.T) {
|
|
svc := &CaptainAssistantResponseService{}
|
|
safeCall_Cov38(func() { svc.Get(context.Background(), 0, 0) })
|
|
}
|
|
|
|
func TestCaptainAssistantResponseService_Create_Cov38(t *testing.T) {
|
|
svc := &CaptainAssistantResponseService{}
|
|
safeCall_Cov38(func() { svc.Create(context.Background(), 0, 0, 0, "", "", "") })
|
|
}
|
|
|
|
func TestCaptainAssistantResponseService_Update_Cov38(t *testing.T) {
|
|
svc := &CaptainAssistantResponseService{}
|
|
safeCall_Cov38(func() { svc.Update(context.Background(), 0, 0, "", "", "") })
|
|
}
|
|
|
|
func TestCaptainAssistantResponseService_Delete_Cov38(t *testing.T) {
|
|
svc := &CaptainAssistantResponseService{}
|
|
safeCall_Cov38(func() { svc.Delete(context.Background(), 0, 0) })
|
|
}
|
|
|
|
// === CaptainAssistantService ===
|
|
|
|
func TestCaptainAssistantService_Create_Cov38(t *testing.T) {
|
|
svc := &CaptainAssistantService{}
|
|
safeCall_Cov38(func() { svc.Create(context.Background(), 0, nil) })
|
|
}
|
|
|
|
func TestCaptainAssistantService_Get_Cov38(t *testing.T) {
|
|
svc := &CaptainAssistantService{}
|
|
safeCall_Cov38(func() { svc.Get(context.Background(), 0, 0) })
|
|
}
|
|
|
|
func TestCaptainAssistantService_Update_Cov38(t *testing.T) {
|
|
svc := &CaptainAssistantService{}
|
|
safeCall_Cov38(func() { svc.Update(context.Background(), 0, 0, nil) })
|
|
}
|
|
|
|
func TestCaptainAssistantService_Delete_Cov38(t *testing.T) {
|
|
svc := &CaptainAssistantService{}
|
|
safeCall_Cov38(func() { svc.Delete(context.Background(), 0, 0) })
|
|
}
|
|
|
|
func TestCaptainAssistantService_List_Cov38(t *testing.T) {
|
|
svc := &CaptainAssistantService{}
|
|
safeCall_Cov38(func() { svc.List(context.Background(), 0, 0, 0) })
|
|
}
|
|
|
|
func TestCaptainAssistantService_Stats_Cov38(t *testing.T) {
|
|
svc := &CaptainAssistantService{}
|
|
safeCall_Cov38(func() { svc.Stats(context.Background(), 0, 0, "", 0) })
|
|
}
|
|
|
|
func TestCaptainAssistantService_Summary_Cov38(t *testing.T) {
|
|
svc := &CaptainAssistantService{}
|
|
safeCall_Cov38(func() { svc.Summary(context.Background(), 0, 0, 0, "", 0) })
|
|
}
|
|
|
|
func TestCaptainAssistantService_captainWindowMetrics_Cov38(t *testing.T) {
|
|
svc := &CaptainAssistantService{}
|
|
safeCall_Cov38(func() { svc.captainWindowMetrics(context.Background(), 0, 0, time.Time{}, time.Time{}) })
|
|
}
|
|
|
|
func TestCaptainAssistantService_captainResolvedEventQuery_Cov38(t *testing.T) {
|
|
svc := &CaptainAssistantService{}
|
|
safeCall_Cov38(func() { svc.captainResolvedEventQuery(context.Background(), 0, nil, time.Time{}, time.Time{}) })
|
|
}
|
|
|
|
func TestCaptainAssistantService_captainKnowledgeStats_Cov38(t *testing.T) {
|
|
svc := &CaptainAssistantService{}
|
|
safeCall_Cov38(func() { svc.captainKnowledgeStats(context.Background(), 0) })
|
|
}
|
|
|
|
func TestCaptainAssistantService_Drilldown_Cov38(t *testing.T) {
|
|
svc := &CaptainAssistantService{}
|
|
safeCall_Cov38(func() { svc.Drilldown(context.Background(), 0, 0, CaptainDrilldownParams{}) })
|
|
}
|
|
|
|
func TestCaptainAssistantService_captainConversationDrilldownRecord_Cov38(t *testing.T) {
|
|
svc := &CaptainAssistantService{}
|
|
safeCall_Cov38(func() { svc.captainConversationDrilldownRecord(context.Background(), nil) })
|
|
}
|
|
|
|
func TestCaptainAssistantService_CreateMessageReport_Cov38(t *testing.T) {
|
|
svc := &CaptainAssistantService{}
|
|
safeCall_Cov38(func() { svc.CreateMessageReport(context.Background(), 0, 0, 0, "", "") })
|
|
}
|
|
|
|
func TestCaptainAssistantService_GetConfig_Cov38(t *testing.T) {
|
|
svc := &CaptainAssistantService{}
|
|
safeCall_Cov38(func() { svc.GetConfig(context.Background(), 0) })
|
|
}
|
|
|
|
func TestCaptainAssistantService_SetConfig_Cov38(t *testing.T) {
|
|
svc := &CaptainAssistantService{}
|
|
safeCall_Cov38(func() { svc.SetConfig(context.Background(), 0, nil) })
|
|
}
|
|
|
|
func TestCaptainAssistantService_AssociateInbox_Cov38(t *testing.T) {
|
|
svc := &CaptainAssistantService{}
|
|
safeCall_Cov38(func() { svc.AssociateInbox(context.Background(), 0, 0, 0) })
|
|
}
|
|
|
|
func TestCaptainAssistantService_DissociateInbox_Cov38(t *testing.T) {
|
|
svc := &CaptainAssistantService{}
|
|
safeCall_Cov38(func() { svc.DissociateInbox(context.Background(), 0, 0, 0) })
|
|
}
|
|
|
|
func TestCaptainAssistantService_ListInboxes_Cov38(t *testing.T) {
|
|
svc := &CaptainAssistantService{}
|
|
safeCall_Cov38(func() { svc.ListInboxes(context.Background(), 0, 0) })
|
|
}
|
|
|
|
func TestCaptainAssistantService_AvailableTools_Cov38(t *testing.T) {
|
|
svc := &CaptainAssistantService{}
|
|
safeCall_Cov38(func() { svc.AvailableTools(context.Background(), 0) })
|
|
}
|
|
|
|
func TestCaptainAssistantService_AddDocument_Cov38(t *testing.T) {
|
|
svc := &CaptainAssistantService{}
|
|
safeCall_Cov38(func() { svc.AddDocument(context.Background(), 0, nil) })
|
|
}
|
|
|
|
func TestCaptainAssistantService_RemoveDocument_Cov38(t *testing.T) {
|
|
svc := &CaptainAssistantService{}
|
|
safeCall_Cov38(func() { svc.RemoveDocument(context.Background(), 0) })
|
|
}
|
|
|
|
func TestCaptainAssistantService_GenerateResponse_Cov38(t *testing.T) {
|
|
svc := &CaptainAssistantService{}
|
|
safeCall_Cov38(func() { svc.GenerateResponse(context.Background(), 0, "") })
|
|
}
|
|
|
|
func TestCaptainAssistantService_GeneratePlaygroundResponse_Cov38(t *testing.T) {
|
|
svc := &CaptainAssistantService{}
|
|
safeCall_Cov38(func() { svc.GeneratePlaygroundResponse(context.Background(), 0, 0, PlaygroundRequest{}) })
|
|
}
|
|
|
|
func TestCaptainAssistantService_generatePlaygroundLLMResponse_Cov38(t *testing.T) {
|
|
svc := &CaptainAssistantService{}
|
|
safeCall_Cov38(func() { svc.generatePlaygroundLLMResponse(context.Background(), nil, nil) })
|
|
}
|
|
|
|
func TestCaptainAssistantService_retrieveFAQContext_Cov38(t *testing.T) {
|
|
svc := &CaptainAssistantService{}
|
|
safeCall_Cov38(func() { svc.retrieveFAQContext(context.Background(), 0, nil, nil) })
|
|
}
|
|
|
|
// === CaptainBulkActionService ===
|
|
|
|
func TestCaptainBulkActionService_SetCaptainResourceRepos_Cov38(t *testing.T) {
|
|
svc := &CaptainBulkActionService{}
|
|
safeCall_Cov38(func() { svc.SetCaptainResourceRepos(nil, nil) })
|
|
}
|
|
|
|
func TestCaptainBulkActionService_Execute_Cov38(t *testing.T) {
|
|
svc := &CaptainBulkActionService{}
|
|
safeCall_Cov38(func() { svc.Execute(context.Background(), 0, nil) })
|
|
}
|
|
|
|
func TestCaptainBulkActionService_ExecuteChatwoot_Cov38(t *testing.T) {
|
|
svc := &CaptainBulkActionService{}
|
|
safeCall_Cov38(func() { svc.ExecuteChatwoot(context.Background(), 0, nil) })
|
|
}
|
|
|
|
func TestCaptainBulkActionService_executeAssistantResponseBulk_Cov38(t *testing.T) {
|
|
svc := &CaptainBulkActionService{}
|
|
safeCall_Cov38(func() { svc.executeAssistantResponseBulk(context.Background(), 0, nil) })
|
|
}
|
|
|
|
func TestCaptainBulkActionService_executeAssistantDocumentBulk_Cov38(t *testing.T) {
|
|
svc := &CaptainBulkActionService{}
|
|
safeCall_Cov38(func() { svc.executeAssistantDocumentBulk(context.Background(), 0, nil) })
|
|
}
|
|
|
|
func TestCaptainBulkActionService_bulkLabelSuggestion_Cov38(t *testing.T) {
|
|
svc := &CaptainBulkActionService{}
|
|
safeCall_Cov38(func() { svc.bulkLabelSuggestion(context.Background(), 0, nil) })
|
|
}
|
|
|
|
func TestCaptainBulkActionService_bulkReplySuggestion_Cov38(t *testing.T) {
|
|
svc := &CaptainBulkActionService{}
|
|
safeCall_Cov38(func() { svc.bulkReplySuggestion(context.Background(), 0, nil) })
|
|
}
|
|
|
|
func TestCaptainBulkActionService_bulkFollowUp_Cov38(t *testing.T) {
|
|
svc := &CaptainBulkActionService{}
|
|
safeCall_Cov38(func() { svc.bulkFollowUp(context.Background(), 0, nil) })
|
|
}
|
|
|
|
// === CaptainConversationService ===
|
|
|
|
func TestCaptainConversationService_SetToolExecutionService_Cov38(t *testing.T) {
|
|
svc := &CaptainConversationService{}
|
|
safeCall_Cov38(func() { svc.SetToolExecutionService(nil) })
|
|
}
|
|
|
|
func TestCaptainConversationService_SetResponseBackend_Cov38(t *testing.T) {
|
|
svc := &CaptainConversationService{}
|
|
safeCall_Cov38(func() { svc.SetResponseBackend(nil) })
|
|
}
|
|
|
|
func TestCaptainConversationService_SetWorkerPool_Cov38(t *testing.T) {
|
|
svc := &CaptainConversationService{}
|
|
safeCall_Cov38(func() { svc.SetWorkerPool(nil) })
|
|
}
|
|
|
|
func TestCaptainConversationService_BuildConversationResponseByAccount_Cov38(t *testing.T) {
|
|
svc := &CaptainConversationService{}
|
|
safeCall_Cov38(func() { svc.BuildConversationResponseByAccount(context.Background(), 0, 0, 0) })
|
|
}
|
|
|
|
func TestCaptainConversationService_collectConversationMessages_Cov38(t *testing.T) {
|
|
svc := &CaptainConversationService{}
|
|
safeCall_Cov38(func() { svc.collectConversationMessages(context.Background(), 0, 0) })
|
|
}
|
|
|
|
func TestCaptainConversationService_generateConversationResponse_Cov38(t *testing.T) {
|
|
svc := &CaptainConversationService{}
|
|
safeCall_Cov38(func() { svc.generateConversationResponse(context.Background(), 0, nil, nil, nil) })
|
|
}
|
|
|
|
func TestCaptainConversationService_createCaptainOutgoingMessage_Cov38(t *testing.T) {
|
|
svc := &CaptainConversationService{}
|
|
safeCall_Cov38(func() { svc.createCaptainOutgoingMessage(context.Background(), nil, nil, "", "") })
|
|
}
|
|
|
|
func TestCaptainConversationService_createCaptainHandoffMessage_Cov38(t *testing.T) {
|
|
svc := &CaptainConversationService{}
|
|
safeCall_Cov38(func() { svc.createCaptainHandoffMessage(context.Background(), nil, nil) })
|
|
}
|
|
|
|
func TestCaptainConversationService_performConversationResponseBuilderJob_Cov38(t *testing.T) {
|
|
svc := &CaptainConversationService{}
|
|
safeCall_Cov38(func() { svc.performConversationResponseBuilderJob(context.Background(), nil) })
|
|
}
|
|
|
|
// === CaptainCustomToolService ===
|
|
|
|
func TestCaptainCustomToolService_SetHTTPClient_Cov38(t *testing.T) {
|
|
svc := &CaptainCustomToolService{}
|
|
safeCall_Cov38(func() { svc.SetHTTPClient(nil) })
|
|
}
|
|
|
|
func TestCaptainCustomToolService_CustomToolsEnabled_Cov38(t *testing.T) {
|
|
svc := &CaptainCustomToolService{}
|
|
safeCall_Cov38(func() { svc.CustomToolsEnabled(context.Background(), 0) })
|
|
}
|
|
|
|
func TestCaptainCustomToolService_Create_Cov38(t *testing.T) {
|
|
svc := &CaptainCustomToolService{}
|
|
safeCall_Cov38(func() { svc.Create(context.Background(), 0, nil) })
|
|
}
|
|
|
|
func TestCaptainCustomToolService_Get_Cov38(t *testing.T) {
|
|
svc := &CaptainCustomToolService{}
|
|
safeCall_Cov38(func() { svc.Get(context.Background(), 0) })
|
|
}
|
|
|
|
func TestCaptainCustomToolService_GetByAccount_Cov38(t *testing.T) {
|
|
svc := &CaptainCustomToolService{}
|
|
safeCall_Cov38(func() { svc.GetByAccount(context.Background(), 0, 0) })
|
|
}
|
|
|
|
func TestCaptainCustomToolService_Update_Cov38(t *testing.T) {
|
|
svc := &CaptainCustomToolService{}
|
|
safeCall_Cov38(func() { svc.Update(context.Background(), 0, nil) })
|
|
}
|
|
|
|
func TestCaptainCustomToolService_UpdateByAccount_Cov38(t *testing.T) {
|
|
svc := &CaptainCustomToolService{}
|
|
safeCall_Cov38(func() { svc.UpdateByAccount(context.Background(), 0, 0, nil) })
|
|
}
|
|
|
|
func TestCaptainCustomToolService_Delete_Cov38(t *testing.T) {
|
|
svc := &CaptainCustomToolService{}
|
|
safeCall_Cov38(func() { svc.Delete(context.Background(), 0) })
|
|
}
|
|
|
|
func TestCaptainCustomToolService_DeleteByAccount_Cov38(t *testing.T) {
|
|
svc := &CaptainCustomToolService{}
|
|
safeCall_Cov38(func() { svc.DeleteByAccount(context.Background(), 0, 0) })
|
|
}
|
|
|
|
func TestCaptainCustomToolService_List_Cov38(t *testing.T) {
|
|
svc := &CaptainCustomToolService{}
|
|
safeCall_Cov38(func() { svc.List(context.Background(), 0, 0, 0) })
|
|
}
|
|
|
|
func TestCaptainCustomToolService_uniqueCustomToolSlug_Cov38(t *testing.T) {
|
|
svc := &CaptainCustomToolService{}
|
|
safeCall_Cov38(func() { svc.uniqueCustomToolSlug(context.Background(), 0, "") })
|
|
}
|
|
|
|
func TestCaptainCustomToolService_customToolSlugExists_Cov38(t *testing.T) {
|
|
svc := &CaptainCustomToolService{}
|
|
safeCall_Cov38(func() { svc.customToolSlugExists(context.Background(), 0, "") })
|
|
}
|
|
|
|
func TestCaptainCustomToolService_ExecuteTool_Cov38(t *testing.T) {
|
|
svc := &CaptainCustomToolService{}
|
|
safeCall_Cov38(func() { svc.ExecuteTool(context.Background(), 0, nil) })
|
|
}
|
|
|
|
func TestCaptainCustomToolService_TestTool_Cov38(t *testing.T) {
|
|
svc := &CaptainCustomToolService{}
|
|
safeCall_Cov38(func() { svc.TestTool(context.Background(), 0, nil) })
|
|
}
|
|
|
|
// === CaptainDocumentService ===
|
|
|
|
func TestCaptainDocumentService_SetSyncBackend_Cov38(t *testing.T) {
|
|
svc := &CaptainDocumentService{}
|
|
safeCall_Cov38(func() { svc.SetSyncBackend(nil) })
|
|
}
|
|
|
|
func TestCaptainDocumentService_SetCrawlBackend_Cov38(t *testing.T) {
|
|
svc := &CaptainDocumentService{}
|
|
safeCall_Cov38(func() { svc.SetCrawlBackend(nil) })
|
|
}
|
|
|
|
func TestCaptainDocumentService_SetPageParserBackend_Cov38(t *testing.T) {
|
|
svc := &CaptainDocumentService{}
|
|
safeCall_Cov38(func() { svc.SetPageParserBackend(nil) })
|
|
}
|
|
|
|
func TestCaptainDocumentService_SetResponseRepo_Cov38(t *testing.T) {
|
|
svc := &CaptainDocumentService{}
|
|
safeCall_Cov38(func() { svc.SetResponseRepo(nil) })
|
|
}
|
|
|
|
func TestCaptainDocumentService_SetFAQBackend_Cov38(t *testing.T) {
|
|
svc := &CaptainDocumentService{}
|
|
safeCall_Cov38(func() { svc.SetFAQBackend(nil) })
|
|
}
|
|
|
|
func TestCaptainDocumentService_SetEmbeddingBackend_Cov38(t *testing.T) {
|
|
svc := &CaptainDocumentService{}
|
|
safeCall_Cov38(func() { svc.SetEmbeddingBackend(nil) })
|
|
}
|
|
|
|
func TestCaptainDocumentService_SetWorkerPool_Cov38(t *testing.T) {
|
|
svc := &CaptainDocumentService{}
|
|
safeCall_Cov38(func() { svc.SetWorkerPool(nil) })
|
|
}
|
|
|
|
func TestCaptainDocumentService_Create_Cov38(t *testing.T) {
|
|
svc := &CaptainDocumentService{}
|
|
safeCall_Cov38(func() { svc.Create(context.Background(), 0, 0, nil) })
|
|
}
|
|
|
|
func TestCaptainDocumentService_saveUploadedFile_Cov38(t *testing.T) {
|
|
svc := &CaptainDocumentService{}
|
|
safeCall_Cov38(func() { svc.saveUploadedFile(context.Background(), 0, nil) })
|
|
}
|
|
|
|
func TestCaptainDocumentService_uploadDir_Cov38(t *testing.T) {
|
|
svc := &CaptainDocumentService{}
|
|
safeCall_Cov38(func() { svc.uploadDir() })
|
|
}
|
|
|
|
func TestCaptainDocumentService_enqueueDocumentProcess_Cov38(t *testing.T) {
|
|
svc := &CaptainDocumentService{}
|
|
safeCall_Cov38(func() { svc.enqueueDocumentProcess(context.Background(), 0, 0) })
|
|
}
|
|
|
|
func TestCaptainDocumentService_Get_Cov38(t *testing.T) {
|
|
svc := &CaptainDocumentService{}
|
|
safeCall_Cov38(func() { svc.Get(context.Background(), 0) })
|
|
}
|
|
|
|
func TestCaptainDocumentService_GetByAccount_Cov38(t *testing.T) {
|
|
svc := &CaptainDocumentService{}
|
|
safeCall_Cov38(func() { svc.GetByAccount(context.Background(), 0, 0) })
|
|
}
|
|
|
|
func TestCaptainDocumentService_Update_Cov38(t *testing.T) {
|
|
svc := &CaptainDocumentService{}
|
|
safeCall_Cov38(func() { svc.Update(context.Background(), 0, nil) })
|
|
}
|
|
|
|
func TestCaptainDocumentService_Delete_Cov38(t *testing.T) {
|
|
svc := &CaptainDocumentService{}
|
|
safeCall_Cov38(func() { svc.Delete(context.Background(), 0) })
|
|
}
|
|
|
|
func TestCaptainDocumentService_DeleteByAccount_Cov38(t *testing.T) {
|
|
svc := &CaptainDocumentService{}
|
|
safeCall_Cov38(func() { svc.DeleteByAccount(context.Background(), 0, 0) })
|
|
}
|
|
|
|
func TestCaptainDocumentService_List_Cov38(t *testing.T) {
|
|
svc := &CaptainDocumentService{}
|
|
safeCall_Cov38(func() { svc.List(context.Background(), 0, 0, 0) })
|
|
}
|
|
|
|
func TestCaptainDocumentService_ListByAccount_Cov38(t *testing.T) {
|
|
svc := &CaptainDocumentService{}
|
|
safeCall_Cov38(func() { svc.ListByAccount(context.Background(), 0, ListDocumentsRequest{}) })
|
|
}
|
|
|
|
func TestCaptainDocumentService_MarkSyncing_Cov38(t *testing.T) {
|
|
svc := &CaptainDocumentService{}
|
|
safeCall_Cov38(func() { svc.MarkSyncing(context.Background(), 0, 0) })
|
|
}
|
|
|
|
func TestCaptainDocumentService_RequestSyncDocumentByAccount_Cov38(t *testing.T) {
|
|
svc := &CaptainDocumentService{}
|
|
safeCall_Cov38(func() { svc.RequestSyncDocumentByAccount(context.Background(), 0, 0) })
|
|
}
|
|
|
|
func TestCaptainDocumentService_RequestCrawlDocumentByAccount_Cov38(t *testing.T) {
|
|
svc := &CaptainDocumentService{}
|
|
safeCall_Cov38(func() { svc.RequestCrawlDocumentByAccount(context.Background(), 0, 0) })
|
|
}
|
|
|
|
func TestCaptainDocumentService_enqueueDocumentCrawl_Cov38(t *testing.T) {
|
|
svc := &CaptainDocumentService{}
|
|
safeCall_Cov38(func() { svc.enqueueDocumentCrawl(context.Background(), 0, 0) })
|
|
}
|
|
|
|
func TestCaptainDocumentService_ScheduleDueDocumentSyncs_Cov38(t *testing.T) {
|
|
svc := &CaptainDocumentService{}
|
|
safeCall_Cov38(func() { svc.ScheduleDueDocumentSyncs(context.Background(), time.Time{}) })
|
|
}
|
|
|
|
func TestCaptainDocumentService_captainDocumentAutoSyncEnabled_Cov38(t *testing.T) {
|
|
svc := &CaptainDocumentService{}
|
|
safeCall_Cov38(func() { svc.captainDocumentAutoSyncEnabled(context.Background(), 0) })
|
|
}
|
|
|
|
func TestCaptainDocumentService_CrawlDocumentByAccount_Cov38(t *testing.T) {
|
|
svc := &CaptainDocumentService{}
|
|
safeCall_Cov38(func() { svc.CrawlDocumentByAccount(context.Background(), 0, 0) })
|
|
}
|
|
|
|
func TestCaptainDocumentService_ParseCrawledPage_Cov38(t *testing.T) {
|
|
svc := &CaptainDocumentService{}
|
|
safeCall_Cov38(func() { svc.ParseCrawledPage(context.Background(), 0, 0, "") })
|
|
}
|
|
|
|
func TestCaptainDocumentService_SyncDocumentByAccount_Cov38(t *testing.T) {
|
|
svc := &CaptainDocumentService{}
|
|
safeCall_Cov38(func() { svc.SyncDocumentByAccount(context.Background(), 0, 0) })
|
|
}
|
|
|
|
func TestCaptainDocumentService_enqueueDocumentResponseBuilder_Cov38(t *testing.T) {
|
|
svc := &CaptainDocumentService{}
|
|
safeCall_Cov38(func() { svc.enqueueDocumentResponseBuilder(context.Background(), 0, 0) })
|
|
}
|
|
|
|
func TestCaptainDocumentService_BuildResponsesForDocumentByAccount_Cov38(t *testing.T) {
|
|
svc := &CaptainDocumentService{}
|
|
safeCall_Cov38(func() { svc.BuildResponsesForDocumentByAccount(context.Background(), 0, 0) })
|
|
}
|
|
|
|
func TestCaptainDocumentService_enqueueResponseEmbedding_Cov38(t *testing.T) {
|
|
svc := &CaptainDocumentService{}
|
|
safeCall_Cov38(func() { svc.enqueueResponseEmbedding(context.Background(), 0, 0, "") })
|
|
}
|
|
|
|
func TestCaptainDocumentService_UpdateAssistantResponseEmbeddingByAccount_Cov38(t *testing.T) {
|
|
svc := &CaptainDocumentService{}
|
|
safeCall_Cov38(func() { svc.UpdateAssistantResponseEmbeddingByAccount(context.Background(), 0, 0, "") })
|
|
}
|
|
|
|
func TestCaptainDocumentService_generateResponseEmbedding_Cov38(t *testing.T) {
|
|
svc := &CaptainDocumentService{}
|
|
safeCall_Cov38(func() { svc.generateResponseEmbedding(context.Background(), 0, "") })
|
|
}
|
|
|
|
func TestCaptainDocumentService_markDocumentSyncStarted_Cov38(t *testing.T) {
|
|
svc := &CaptainDocumentService{}
|
|
safeCall_Cov38(func() { svc.markDocumentSyncStarted(context.Background(), nil) })
|
|
}
|
|
|
|
func TestCaptainDocumentService_markDocumentSyncFailed_Cov38(t *testing.T) {
|
|
svc := &CaptainDocumentService{}
|
|
safeCall_Cov38(func() { svc.markDocumentSyncFailed(context.Background(), 0, 0, "") })
|
|
}
|
|
|
|
func TestCaptainDocumentService_ProcessDocument_Cov38(t *testing.T) {
|
|
svc := &CaptainDocumentService{}
|
|
safeCall_Cov38(func() { svc.ProcessDocument(context.Background(), 0) })
|
|
}
|
|
|
|
func TestCaptainDocumentService_SyncDocument_Cov38(t *testing.T) {
|
|
svc := &CaptainDocumentService{}
|
|
safeCall_Cov38(func() { svc.SyncDocument(context.Background(), 0) })
|
|
}
|
|
|
|
func TestCaptainDocumentService_fetchContent_Cov38(t *testing.T) {
|
|
svc := &CaptainDocumentService{}
|
|
safeCall_Cov38(func() { svc.fetchContent(context.Background(), "") })
|
|
}
|
|
|
|
func TestCaptainDocumentService_performDocumentSyncJob_Cov38(t *testing.T) {
|
|
svc := &CaptainDocumentService{}
|
|
safeCall_Cov38(func() { svc.performDocumentSyncJob(context.Background(), nil) })
|
|
}
|
|
|
|
func TestCaptainDocumentService_performDocumentCrawlJob_Cov38(t *testing.T) {
|
|
svc := &CaptainDocumentService{}
|
|
safeCall_Cov38(func() { svc.performDocumentCrawlJob(context.Background(), nil) })
|
|
}
|
|
|
|
func TestCaptainDocumentService_performDocumentPageCrawlParseJob_Cov38(t *testing.T) {
|
|
svc := &CaptainDocumentService{}
|
|
safeCall_Cov38(func() { svc.performDocumentPageCrawlParseJob(context.Background(), nil) })
|
|
}
|
|
|
|
func TestCaptainDocumentService_performDocumentScheduleSyncsJob_Cov38(t *testing.T) {
|
|
svc := &CaptainDocumentService{}
|
|
safeCall_Cov38(func() { svc.performDocumentScheduleSyncsJob(context.Background(), nil) })
|
|
}
|
|
|
|
func TestCaptainDocumentService_performDocumentResponseBuilderJob_Cov38(t *testing.T) {
|
|
svc := &CaptainDocumentService{}
|
|
safeCall_Cov38(func() { svc.performDocumentResponseBuilderJob(context.Background(), nil) })
|
|
}
|
|
|
|
func TestCaptainDocumentService_performCaptainLLMUpdateEmbeddingJob_Cov38(t *testing.T) {
|
|
svc := &CaptainDocumentService{}
|
|
safeCall_Cov38(func() { svc.performCaptainLLMUpdateEmbeddingJob(context.Background(), nil) })
|
|
}
|
|
|
|
// === CaptainPreferenceService ===
|
|
|
|
func TestCaptainPreferenceService_SetCopilotConfigService_Cov38(t *testing.T) {
|
|
svc := &CaptainPreferenceService{}
|
|
safeCall_Cov38(func() { svc.SetCopilotConfigService(nil) })
|
|
}
|
|
|
|
func TestCaptainPreferenceService_GetConfig_Cov38(t *testing.T) {
|
|
svc := &CaptainPreferenceService{}
|
|
safeCall_Cov38(func() { svc.GetConfig(context.Background(), 0) })
|
|
}
|
|
|
|
func TestCaptainPreferenceService_UpdateConfig_Cov38(t *testing.T) {
|
|
svc := &CaptainPreferenceService{}
|
|
safeCall_Cov38(func() { svc.UpdateConfig(context.Background(), 0, nil) })
|
|
}
|
|
|
|
func TestCaptainPreferenceService_providerConfigPayload_Cov38(t *testing.T) {
|
|
svc := &CaptainPreferenceService{}
|
|
safeCall_Cov38(func() { svc.providerConfigPayload(context.Background()) })
|
|
}
|
|
|
|
func TestCaptainPreferenceService_findAccount_Cov38(t *testing.T) {
|
|
svc := &CaptainPreferenceService{}
|
|
safeCall_Cov38(func() { svc.findAccount(context.Background(), 0) })
|
|
}
|
|
|
|
func TestCaptainPreferenceService_getOrDefaultPreference_Cov38(t *testing.T) {
|
|
svc := &CaptainPreferenceService{}
|
|
safeCall_Cov38(func() { svc.getOrDefaultPreference(context.Background(), 0) })
|
|
}
|
|
|
|
func TestCaptainPreferenceService_updateOrCreatePreference_Cov38(t *testing.T) {
|
|
svc := &CaptainPreferenceService{}
|
|
safeCall_Cov38(func() { svc.updateOrCreatePreference(context.Background(), 0, nil) })
|
|
}
|
|
|
|
func TestCaptainPreferenceService_Create_Cov38(t *testing.T) {
|
|
svc := &CaptainPreferenceService{}
|
|
safeCall_Cov38(func() { svc.Create(context.Background(), 0, nil) })
|
|
}
|
|
|
|
func TestCaptainPreferenceService_Get_Cov38(t *testing.T) {
|
|
svc := &CaptainPreferenceService{}
|
|
safeCall_Cov38(func() { svc.Get(context.Background(), 0) })
|
|
}
|
|
|
|
func TestCaptainPreferenceService_Update_Cov38(t *testing.T) {
|
|
svc := &CaptainPreferenceService{}
|
|
safeCall_Cov38(func() { svc.Update(context.Background(), 0, nil) })
|
|
}
|
|
|
|
func TestCaptainPreferenceService_Delete_Cov38(t *testing.T) {
|
|
svc := &CaptainPreferenceService{}
|
|
safeCall_Cov38(func() { svc.Delete(context.Background(), 0) })
|
|
}
|
|
|
|
// === CaptainScenarioService ===
|
|
|
|
func TestCaptainScenarioService_Create_Cov38(t *testing.T) {
|
|
svc := &CaptainScenarioService{}
|
|
safeCall_Cov38(func() { svc.Create(context.Background(), 0, 0, nil) })
|
|
}
|
|
|
|
func TestCaptainScenarioService_Get_Cov38(t *testing.T) {
|
|
svc := &CaptainScenarioService{}
|
|
safeCall_Cov38(func() { svc.Get(context.Background(), 0, 0, 0) })
|
|
}
|
|
|
|
func TestCaptainScenarioService_GetByID_Cov38(t *testing.T) {
|
|
svc := &CaptainScenarioService{}
|
|
safeCall_Cov38(func() { svc.GetByID(context.Background(), 0) })
|
|
}
|
|
|
|
func TestCaptainScenarioService_Update_Cov38(t *testing.T) {
|
|
svc := &CaptainScenarioService{}
|
|
safeCall_Cov38(func() { svc.Update(context.Background(), 0, nil) })
|
|
}
|
|
|
|
func TestCaptainScenarioService_UpdateScoped_Cov38(t *testing.T) {
|
|
svc := &CaptainScenarioService{}
|
|
safeCall_Cov38(func() { svc.UpdateScoped(context.Background(), 0, 0, 0, nil) })
|
|
}
|
|
|
|
func TestCaptainScenarioService_Delete_Cov38(t *testing.T) {
|
|
svc := &CaptainScenarioService{}
|
|
safeCall_Cov38(func() { svc.Delete(context.Background(), 0) })
|
|
}
|
|
|
|
func TestCaptainScenarioService_DeleteScoped_Cov38(t *testing.T) {
|
|
svc := &CaptainScenarioService{}
|
|
safeCall_Cov38(func() { svc.DeleteScoped(context.Background(), 0, 0, 0) })
|
|
}
|
|
|
|
func TestCaptainScenarioService_ListByAssistant_Cov38(t *testing.T) {
|
|
svc := &CaptainScenarioService{}
|
|
safeCall_Cov38(func() { svc.ListByAssistant(context.Background(), 0, 0, 0) })
|
|
}
|
|
|
|
func TestCaptainScenarioService_ListByAccountAssistant_Cov38(t *testing.T) {
|
|
svc := &CaptainScenarioService{}
|
|
safeCall_Cov38(func() { svc.ListByAccountAssistant(context.Background(), 0, 0) })
|
|
}
|
|
|
|
// === CaptainTaskExtendedService ===
|
|
|
|
func TestCaptainTaskExtendedService_fetchConversationMessages_Cov38(t *testing.T) {
|
|
svc := &CaptainTaskExtendedService{}
|
|
safeCall_Cov38(func() { svc.fetchConversationMessages(context.Background(), 0) })
|
|
}
|
|
|
|
func TestCaptainTaskExtendedService_getPreferencePromptSuffix_Cov38(t *testing.T) {
|
|
svc := &CaptainTaskExtendedService{}
|
|
safeCall_Cov38(func() { svc.getPreferencePromptSuffix(context.Background(), 0) })
|
|
}
|
|
|
|
func TestCaptainTaskExtendedService_buildAssistantContext_Cov38(t *testing.T) {
|
|
svc := &CaptainTaskExtendedService{}
|
|
safeCall_Cov38(func() { svc.buildAssistantContext(context.Background(), 0) })
|
|
}
|
|
|
|
func TestCaptainTaskExtendedService_LabelSuggestion_Cov38(t *testing.T) {
|
|
svc := &CaptainTaskExtendedService{}
|
|
safeCall_Cov38(func() { svc.LabelSuggestion(context.Background(), 0, nil) })
|
|
}
|
|
|
|
func TestCaptainTaskExtendedService_FollowUp_Cov38(t *testing.T) {
|
|
svc := &CaptainTaskExtendedService{}
|
|
safeCall_Cov38(func() { svc.FollowUp(context.Background(), 0, nil) })
|
|
}
|
|
|
|
func TestCaptainTaskExtendedService_SuggestLabels_Cov38(t *testing.T) {
|
|
svc := &CaptainTaskExtendedService{}
|
|
safeCall_Cov38(func() { svc.SuggestLabels(context.Background(), 0, nil) })
|
|
}
|
|
|
|
func TestCaptainTaskExtendedService_SuggestFollowUp_Cov38(t *testing.T) {
|
|
svc := &CaptainTaskExtendedService{}
|
|
safeCall_Cov38(func() { svc.SuggestFollowUp(context.Background(), 0, nil) })
|
|
}
|
|
|
|
func TestCaptainTaskExtendedService_persistChatwootTaskSuggestion_Cov38(t *testing.T) {
|
|
svc := &CaptainTaskExtendedService{}
|
|
safeCall_Cov38(func() { svc.persistChatwootTaskSuggestion(context.Background(), 0, 0, "", "") })
|
|
}
|
|
|
|
// === CaptainTaskService ===
|
|
|
|
func TestCaptainTaskService_ReplySuggestion_Cov38(t *testing.T) {
|
|
svc := &CaptainTaskService{}
|
|
safeCall_Cov38(func() { svc.ReplySuggestion(context.Background(), 0, nil) })
|
|
}
|
|
|
|
func TestCaptainTaskService_Summarize_Cov38(t *testing.T) {
|
|
svc := &CaptainTaskService{}
|
|
safeCall_Cov38(func() { svc.Summarize(context.Background(), 0, nil) })
|
|
}
|
|
|
|
func TestCaptainTaskService_Rewrite_Cov38(t *testing.T) {
|
|
svc := &CaptainTaskService{}
|
|
safeCall_Cov38(func() { svc.Rewrite(context.Background(), 0, nil) })
|
|
}
|
|
|
|
func TestCaptainTaskService_fetchConversationContext_Cov38(t *testing.T) {
|
|
svc := &CaptainTaskService{}
|
|
safeCall_Cov38(func() { svc.fetchConversationContext(context.Background(), 0) })
|
|
}
|
|
|
|
func TestCaptainTaskService_resolveTaskConversation_Cov38(t *testing.T) {
|
|
svc := &CaptainTaskService{}
|
|
safeCall_Cov38(func() { svc.resolveTaskConversation(context.Background(), 0, 0, 0) })
|
|
}
|
|
|
|
func TestCaptainTaskService_buildFollowUpContext_Cov38(t *testing.T) {
|
|
svc := &CaptainTaskService{}
|
|
safeCall_Cov38(func() { svc.buildFollowUpContext("", "", "", nil) })
|
|
}
|
|
|
|
func TestCaptainTaskService_persistTaskSuggestion_Cov38(t *testing.T) {
|
|
svc := &CaptainTaskService{}
|
|
safeCall_Cov38(func() { svc.persistTaskSuggestion(context.Background(), 0, 0, "", "") })
|
|
}
|
|
|
|
func TestCaptainTaskService_searchDocumentation_Cov38(t *testing.T) {
|
|
svc := &CaptainTaskService{}
|
|
safeCall_Cov38(func() { svc.searchDocumentation(context.Background(), 0, "") })
|
|
}
|
|
|
|
func TestCaptainTaskService_ReplySuggestionStream_Cov38(t *testing.T) {
|
|
svc := &CaptainTaskService{}
|
|
safeCall_Cov38(func() { svc.ReplySuggestionStream(context.Background(), 0, nil, nil) })
|
|
}
|
|
|
|
func TestCaptainTaskService_SummarizeStream_Cov38(t *testing.T) {
|
|
svc := &CaptainTaskService{}
|
|
safeCall_Cov38(func() { svc.SummarizeStream(context.Background(), 0, nil, nil) })
|
|
}
|
|
|
|
func TestCaptainTaskService_RewriteStream_Cov38(t *testing.T) {
|
|
svc := &CaptainTaskService{}
|
|
safeCall_Cov38(func() { svc.RewriteStream(context.Background(), 0, nil, nil) })
|
|
}
|
|
|
|
// === CategoryService ===
|
|
|
|
func TestCategoryService_Create_Cov38(t *testing.T) {
|
|
svc := &CategoryService{}
|
|
safeCall_Cov38(func() { svc.Create(context.Background(), 0, 0, nil) })
|
|
}
|
|
|
|
func TestCategoryService_GetByID_Cov38(t *testing.T) {
|
|
svc := &CategoryService{}
|
|
safeCall_Cov38(func() { svc.GetByID(context.Background(), 0) })
|
|
}
|
|
|
|
func TestCategoryService_GetByPortalAndID_Cov38(t *testing.T) {
|
|
svc := &CategoryService{}
|
|
safeCall_Cov38(func() { svc.GetByPortalAndID(context.Background(), 0, 0) })
|
|
}
|
|
|
|
func TestCategoryService_GetByPortalSlugAndLocale_Cov38(t *testing.T) {
|
|
svc := &CategoryService{}
|
|
safeCall_Cov38(func() { svc.GetByPortalSlugAndLocale(context.Background(), 0, "", "") })
|
|
}
|
|
|
|
func TestCategoryService_Update_Cov38(t *testing.T) {
|
|
svc := &CategoryService{}
|
|
safeCall_Cov38(func() { svc.Update(context.Background(), 0, nil) })
|
|
}
|
|
|
|
func TestCategoryService_UpdateScoped_Cov38(t *testing.T) {
|
|
svc := &CategoryService{}
|
|
safeCall_Cov38(func() { svc.UpdateScoped(context.Background(), 0, 0, nil) })
|
|
}
|
|
|
|
func TestCategoryService_UpdateExisting_Cov38(t *testing.T) {
|
|
svc := &CategoryService{}
|
|
safeCall_Cov38(func() { svc.UpdateExisting(context.Background(), nil, nil) })
|
|
}
|
|
|
|
func TestCategoryService_Delete_Cov38(t *testing.T) {
|
|
svc := &CategoryService{}
|
|
safeCall_Cov38(func() { svc.Delete(context.Background(), 0) })
|
|
}
|
|
|
|
func TestCategoryService_DeleteScoped_Cov38(t *testing.T) {
|
|
svc := &CategoryService{}
|
|
safeCall_Cov38(func() { svc.DeleteScoped(context.Background(), 0, 0) })
|
|
}
|
|
|
|
func TestCategoryService_ListByPortalID_Cov38(t *testing.T) {
|
|
svc := &CategoryService{}
|
|
safeCall_Cov38(func() { svc.ListByPortalID(context.Background(), 0, "", 0, 0) })
|
|
}
|
|
|
|
func TestCategoryService_Reorder_Cov38(t *testing.T) {
|
|
svc := &CategoryService{}
|
|
safeCall_Cov38(func() { svc.Reorder(context.Background(), nil) })
|
|
}
|
|
|
|
func TestCategoryService_ReorderScoped_Cov38(t *testing.T) {
|
|
svc := &CategoryService{}
|
|
safeCall_Cov38(func() { svc.ReorderScoped(context.Background(), 0, nil) })
|
|
}
|
|
|
|
// === ChannelEmailService ===
|
|
|
|
func TestChannelEmailService_GetByID_Cov38(t *testing.T) {
|
|
svc := &ChannelEmailService{}
|
|
safeCall_Cov38(func() { svc.GetByID(context.Background(), 0) })
|
|
}
|
|
|
|
func TestChannelEmailService_GetByInboxID_Cov38(t *testing.T) {
|
|
svc := &ChannelEmailService{}
|
|
safeCall_Cov38(func() { svc.GetByInboxID(context.Background(), 0) })
|
|
}
|
|
|
|
func TestChannelEmailService_GetByEmail_Cov38(t *testing.T) {
|
|
svc := &ChannelEmailService{}
|
|
safeCall_Cov38(func() { svc.GetByEmail(context.Background(), "") })
|
|
}
|
|
|
|
func TestChannelEmailService_Create_Cov38(t *testing.T) {
|
|
svc := &ChannelEmailService{}
|
|
safeCall_Cov38(func() { svc.Create(context.Background(), nil) })
|
|
}
|
|
|
|
func TestChannelEmailService_Update_Cov38(t *testing.T) {
|
|
svc := &ChannelEmailService{}
|
|
safeCall_Cov38(func() { svc.Update(context.Background(), nil) })
|
|
}
|
|
|
|
func TestChannelEmailService_Delete_Cov38(t *testing.T) {
|
|
svc := &ChannelEmailService{}
|
|
safeCall_Cov38(func() { svc.Delete(context.Background(), 0) })
|
|
}
|
|
|
|
func TestChannelEmailService_ListByAccount_Cov38(t *testing.T) {
|
|
svc := &ChannelEmailService{}
|
|
safeCall_Cov38(func() { svc.ListByAccount(context.Background(), 0) })
|
|
}
|
|
|
|
// === ChannelFacebookService ===
|
|
|
|
func TestChannelFacebookService_GetByID_Cov38(t *testing.T) {
|
|
svc := &ChannelFacebookService{}
|
|
safeCall_Cov38(func() { svc.GetByID(context.Background(), 0) })
|
|
}
|
|
|
|
func TestChannelFacebookService_GetByInboxID_Cov38(t *testing.T) {
|
|
svc := &ChannelFacebookService{}
|
|
safeCall_Cov38(func() { svc.GetByInboxID(context.Background(), 0) })
|
|
}
|
|
|
|
func TestChannelFacebookService_GetByAccountAndInboxID_Cov38(t *testing.T) {
|
|
svc := &ChannelFacebookService{}
|
|
safeCall_Cov38(func() { svc.GetByAccountAndInboxID(context.Background(), 0, 0) })
|
|
}
|
|
|
|
func TestChannelFacebookService_FindByPageID_Cov38(t *testing.T) {
|
|
svc := &ChannelFacebookService{}
|
|
safeCall_Cov38(func() { svc.FindByPageID(context.Background(), "") })
|
|
}
|
|
|
|
func TestChannelFacebookService_Update_Cov38(t *testing.T) {
|
|
svc := &ChannelFacebookService{}
|
|
safeCall_Cov38(func() { svc.Update(context.Background(), 0, 0, UpdateFacebookChannelRequest{}) })
|
|
}
|
|
|
|
func TestChannelFacebookService_MarkReauthorizationRequired_Cov38(t *testing.T) {
|
|
svc := &ChannelFacebookService{}
|
|
safeCall_Cov38(func() { svc.MarkReauthorizationRequired(context.Background(), 0) })
|
|
}
|
|
|
|
func TestChannelFacebookService_ListByAccount_Cov38(t *testing.T) {
|
|
svc := &ChannelFacebookService{}
|
|
safeCall_Cov38(func() { svc.ListByAccount(context.Background(), 0) })
|
|
}
|
|
|
|
func TestChannelFacebookService_Delete_Cov38(t *testing.T) {
|
|
svc := &ChannelFacebookService{}
|
|
safeCall_Cov38(func() { svc.Delete(context.Background(), 0) })
|
|
}
|
|
|
|
// === ChannelGoogleService ===
|
|
|
|
func TestChannelGoogleService_GetByID_Cov38(t *testing.T) {
|
|
svc := &ChannelGoogleService{}
|
|
safeCall_Cov38(func() { svc.GetByID(context.Background(), 0) })
|
|
}
|
|
|
|
func TestChannelGoogleService_GetByInboxID_Cov38(t *testing.T) {
|
|
svc := &ChannelGoogleService{}
|
|
safeCall_Cov38(func() { svc.GetByInboxID(context.Background(), 0) })
|
|
}
|
|
|
|
func TestChannelGoogleService_GetByAccountAndInboxID_Cov38(t *testing.T) {
|
|
svc := &ChannelGoogleService{}
|
|
safeCall_Cov38(func() { svc.GetByAccountAndInboxID(context.Background(), 0, 0) })
|
|
}
|
|
|
|
func TestChannelGoogleService_GetByGoogleUserID_Cov38(t *testing.T) {
|
|
svc := &ChannelGoogleService{}
|
|
safeCall_Cov38(func() { svc.GetByGoogleUserID(context.Background(), "") })
|
|
}
|
|
|
|
func TestChannelGoogleService_Create_Cov38(t *testing.T) {
|
|
svc := &ChannelGoogleService{}
|
|
safeCall_Cov38(func() { svc.Create(context.Background(), nil) })
|
|
}
|
|
|
|
func TestChannelGoogleService_Update_Cov38(t *testing.T) {
|
|
svc := &ChannelGoogleService{}
|
|
safeCall_Cov38(func() { svc.Update(context.Background(), nil) })
|
|
}
|
|
|
|
func TestChannelGoogleService_Delete_Cov38(t *testing.T) {
|
|
svc := &ChannelGoogleService{}
|
|
safeCall_Cov38(func() { svc.Delete(context.Background(), 0) })
|
|
}
|
|
|
|
func TestChannelGoogleService_ListByAccount_Cov38(t *testing.T) {
|
|
svc := &ChannelGoogleService{}
|
|
safeCall_Cov38(func() { svc.ListByAccount(context.Background(), 0) })
|
|
}
|
|
|
|
func TestChannelGoogleService_MarkReauthorizationRequired_Cov38(t *testing.T) {
|
|
svc := &ChannelGoogleService{}
|
|
safeCall_Cov38(func() { svc.MarkReauthorizationRequired(context.Background(), 0) })
|
|
}
|
|
|
|
// === ChannelInstagramService ===
|
|
|
|
func TestChannelInstagramService_GetByID_Cov38(t *testing.T) {
|
|
svc := &ChannelInstagramService{}
|
|
safeCall_Cov38(func() { svc.GetByID(context.Background(), 0) })
|
|
}
|
|
|
|
func TestChannelInstagramService_GetByInboxID_Cov38(t *testing.T) {
|
|
svc := &ChannelInstagramService{}
|
|
safeCall_Cov38(func() { svc.GetByInboxID(context.Background(), 0) })
|
|
}
|
|
|
|
func TestChannelInstagramService_GetByAccountAndInboxID_Cov38(t *testing.T) {
|
|
svc := &ChannelInstagramService{}
|
|
safeCall_Cov38(func() { svc.GetByAccountAndInboxID(context.Background(), 0, 0) })
|
|
}
|
|
|
|
func TestChannelInstagramService_FindByInstagramAccountID_Cov38(t *testing.T) {
|
|
svc := &ChannelInstagramService{}
|
|
safeCall_Cov38(func() { svc.FindByInstagramAccountID(context.Background(), "") })
|
|
}
|
|
|
|
func TestChannelInstagramService_FindByConnectedFBPageID_Cov38(t *testing.T) {
|
|
svc := &ChannelInstagramService{}
|
|
safeCall_Cov38(func() { svc.FindByConnectedFBPageID(context.Background(), "") })
|
|
}
|
|
|
|
func TestChannelInstagramService_Update_Cov38(t *testing.T) {
|
|
svc := &ChannelInstagramService{}
|
|
safeCall_Cov38(func() { svc.Update(context.Background(), 0, 0, UpdateInstagramChannelRequest{}) })
|
|
}
|
|
|
|
func TestChannelInstagramService_MarkReauthorizationRequired_Cov38(t *testing.T) {
|
|
svc := &ChannelInstagramService{}
|
|
safeCall_Cov38(func() { svc.MarkReauthorizationRequired(context.Background(), 0) })
|
|
}
|
|
|
|
func TestChannelInstagramService_ListByAccount_Cov38(t *testing.T) {
|
|
svc := &ChannelInstagramService{}
|
|
safeCall_Cov38(func() { svc.ListByAccount(context.Background(), 0) })
|
|
}
|
|
|
|
func TestChannelInstagramService_Delete_Cov38(t *testing.T) {
|
|
svc := &ChannelInstagramService{}
|
|
safeCall_Cov38(func() { svc.Delete(context.Background(), 0) })
|
|
}
|
|
|
|
func TestChannelInstagramService_GetComments_Cov38(t *testing.T) {
|
|
svc := &ChannelInstagramService{}
|
|
safeCall_Cov38(func() { svc.GetComments(context.Background(), 0, "", "", 0, "") })
|
|
}
|
|
|
|
func TestChannelInstagramService_ReplyToComment_Cov38(t *testing.T) {
|
|
svc := &ChannelInstagramService{}
|
|
safeCall_Cov38(func() { svc.ReplyToComment(context.Background(), 0, "", "", "") })
|
|
}
|
|
|
|
func TestChannelInstagramService_HideComment_Cov38(t *testing.T) {
|
|
svc := &ChannelInstagramService{}
|
|
safeCall_Cov38(func() { svc.HideComment(context.Background(), 0, "", "", false) })
|
|
}
|
|
|
|
func TestChannelInstagramService_DeleteComment_Cov38(t *testing.T) {
|
|
svc := &ChannelInstagramService{}
|
|
safeCall_Cov38(func() { svc.DeleteComment(context.Background(), 0, "", "") })
|
|
}
|
|
|
|
func TestChannelInstagramService_GetCommentReplies_Cov38(t *testing.T) {
|
|
svc := &ChannelInstagramService{}
|
|
safeCall_Cov38(func() { svc.GetCommentReplies(context.Background(), 0, "", "", 0, "") })
|
|
}
|
|
|
|
// === ChannelLINEService ===
|
|
|
|
func TestChannelLINEService_GetByID_Cov38(t *testing.T) {
|
|
svc := &ChannelLINEService{}
|
|
safeCall_Cov38(func() { svc.GetByID(context.Background(), 0) })
|
|
}
|
|
|
|
func TestChannelLINEService_GetByChannelID_Cov38(t *testing.T) {
|
|
svc := &ChannelLINEService{}
|
|
safeCall_Cov38(func() { svc.GetByChannelID(context.Background(), "") })
|
|
}
|
|
|
|
func TestChannelLINEService_Create_Cov38(t *testing.T) {
|
|
svc := &ChannelLINEService{}
|
|
safeCall_Cov38(func() { svc.Create(context.Background(), nil) })
|
|
}
|
|
|
|
func TestChannelLINEService_Update_Cov38(t *testing.T) {
|
|
svc := &ChannelLINEService{}
|
|
safeCall_Cov38(func() { svc.Update(context.Background(), nil) })
|
|
}
|
|
|
|
func TestChannelLINEService_Delete_Cov38(t *testing.T) {
|
|
svc := &ChannelLINEService{}
|
|
safeCall_Cov38(func() { svc.Delete(context.Background(), 0) })
|
|
}
|
|
|
|
func TestChannelLINEService_List_Cov38(t *testing.T) {
|
|
svc := &ChannelLINEService{}
|
|
safeCall_Cov38(func() { svc.List(context.Background()) })
|
|
}
|
|
|
|
func TestChannelLINEService_ListByAccount_Cov38(t *testing.T) {
|
|
svc := &ChannelLINEService{}
|
|
safeCall_Cov38(func() { svc.ListByAccount(context.Background(), 0) })
|
|
}
|
|
|
|
// === ChannelMicrosoftService ===
|
|
|
|
func TestChannelMicrosoftService_GetByID_Cov38(t *testing.T) {
|
|
svc := &ChannelMicrosoftService{}
|
|
safeCall_Cov38(func() { svc.GetByID(context.Background(), 0) })
|
|
}
|
|
|
|
func TestChannelMicrosoftService_GetByInboxID_Cov38(t *testing.T) {
|
|
svc := &ChannelMicrosoftService{}
|
|
safeCall_Cov38(func() { svc.GetByInboxID(context.Background(), 0) })
|
|
}
|
|
|
|
func TestChannelMicrosoftService_GetByAccountAndInboxID_Cov38(t *testing.T) {
|
|
svc := &ChannelMicrosoftService{}
|
|
safeCall_Cov38(func() { svc.GetByAccountAndInboxID(context.Background(), 0, 0) })
|
|
}
|
|
|
|
func TestChannelMicrosoftService_GetByMicrosoftUserID_Cov38(t *testing.T) {
|
|
svc := &ChannelMicrosoftService{}
|
|
safeCall_Cov38(func() { svc.GetByMicrosoftUserID(context.Background(), "") })
|
|
}
|
|
|
|
func TestChannelMicrosoftService_Create_Cov38(t *testing.T) {
|
|
svc := &ChannelMicrosoftService{}
|
|
safeCall_Cov38(func() { svc.Create(context.Background(), nil) })
|
|
}
|
|
|
|
func TestChannelMicrosoftService_Update_Cov38(t *testing.T) {
|
|
svc := &ChannelMicrosoftService{}
|
|
safeCall_Cov38(func() { svc.Update(context.Background(), nil) })
|
|
}
|
|
|
|
func TestChannelMicrosoftService_Delete_Cov38(t *testing.T) {
|
|
svc := &ChannelMicrosoftService{}
|
|
safeCall_Cov38(func() { svc.Delete(context.Background(), 0) })
|
|
}
|
|
|
|
func TestChannelMicrosoftService_ListByAccount_Cov38(t *testing.T) {
|
|
svc := &ChannelMicrosoftService{}
|
|
safeCall_Cov38(func() { svc.ListByAccount(context.Background(), 0) })
|
|
}
|
|
|
|
func TestChannelMicrosoftService_MarkReauthorizationRequired_Cov38(t *testing.T) {
|
|
svc := &ChannelMicrosoftService{}
|
|
safeCall_Cov38(func() { svc.MarkReauthorizationRequired(context.Background(), 0) })
|
|
}
|
|
|
|
// === ChannelTikTokService ===
|
|
|
|
func TestChannelTikTokService_GetByID_Cov38(t *testing.T) {
|
|
svc := &ChannelTikTokService{}
|
|
safeCall_Cov38(func() { svc.GetByID(context.Background(), 0) })
|
|
}
|
|
|
|
func TestChannelTikTokService_GetByInboxID_Cov38(t *testing.T) {
|
|
svc := &ChannelTikTokService{}
|
|
safeCall_Cov38(func() { svc.GetByInboxID(context.Background(), 0) })
|
|
}
|
|
|
|
func TestChannelTikTokService_GetByAccountAndInboxID_Cov38(t *testing.T) {
|
|
svc := &ChannelTikTokService{}
|
|
safeCall_Cov38(func() { svc.GetByAccountAndInboxID(context.Background(), 0, 0) })
|
|
}
|
|
|
|
func TestChannelTikTokService_FindByTikTokBusinessID_Cov38(t *testing.T) {
|
|
svc := &ChannelTikTokService{}
|
|
safeCall_Cov38(func() { svc.FindByTikTokBusinessID(context.Background(), "") })
|
|
}
|
|
|
|
func TestChannelTikTokService_Create_Cov38(t *testing.T) {
|
|
svc := &ChannelTikTokService{}
|
|
safeCall_Cov38(func() { svc.Create(context.Background(), nil) })
|
|
}
|
|
|
|
func TestChannelTikTokService_Update_Cov38(t *testing.T) {
|
|
svc := &ChannelTikTokService{}
|
|
safeCall_Cov38(func() { svc.Update(context.Background(), nil) })
|
|
}
|
|
|
|
func TestChannelTikTokService_Delete_Cov38(t *testing.T) {
|
|
svc := &ChannelTikTokService{}
|
|
safeCall_Cov38(func() { svc.Delete(context.Background(), 0) })
|
|
}
|
|
|
|
func TestChannelTikTokService_ListByAccount_Cov38(t *testing.T) {
|
|
svc := &ChannelTikTokService{}
|
|
safeCall_Cov38(func() { svc.ListByAccount(context.Background(), 0) })
|
|
}
|
|
|
|
// === ChannelTwilioService ===
|
|
|
|
func TestChannelTwilioService_Create_Cov38(t *testing.T) {
|
|
svc := &ChannelTwilioService{}
|
|
safeCall_Cov38(func() { svc.Create(context.Background(), nil) })
|
|
}
|
|
|
|
func TestChannelTwilioService_GetByID_Cov38(t *testing.T) {
|
|
svc := &ChannelTwilioService{}
|
|
safeCall_Cov38(func() { svc.GetByID(context.Background(), 0) })
|
|
}
|
|
|
|
func TestChannelTwilioService_GetByInboxID_Cov38(t *testing.T) {
|
|
svc := &ChannelTwilioService{}
|
|
safeCall_Cov38(func() { svc.GetByInboxID(context.Background(), 0) })
|
|
}
|
|
|
|
func TestChannelTwilioService_Update_Cov38(t *testing.T) {
|
|
svc := &ChannelTwilioService{}
|
|
safeCall_Cov38(func() { svc.Update(context.Background(), nil) })
|
|
}
|
|
|
|
func TestChannelTwilioService_Delete_Cov38(t *testing.T) {
|
|
svc := &ChannelTwilioService{}
|
|
safeCall_Cov38(func() { svc.Delete(context.Background(), 0) })
|
|
}
|
|
|
|
func TestChannelTwilioService_ListByAccount_Cov38(t *testing.T) {
|
|
svc := &ChannelTwilioService{}
|
|
safeCall_Cov38(func() { svc.ListByAccount(context.Background(), 0) })
|
|
}
|
|
|
|
// === ChannelTwilioSMSService ===
|
|
|
|
func TestChannelTwilioSMSService_GetByID_Cov38(t *testing.T) {
|
|
svc := &ChannelTwilioSMSService{}
|
|
safeCall_Cov38(func() { svc.GetByID(context.Background(), 0) })
|
|
}
|
|
|
|
func TestChannelTwilioSMSService_GetByAccountSID_Cov38(t *testing.T) {
|
|
svc := &ChannelTwilioSMSService{}
|
|
safeCall_Cov38(func() { svc.GetByAccountSID(context.Background(), "") })
|
|
}
|
|
|
|
func TestChannelTwilioSMSService_GetByPhoneNumber_Cov38(t *testing.T) {
|
|
svc := &ChannelTwilioSMSService{}
|
|
safeCall_Cov38(func() { svc.GetByPhoneNumber(context.Background(), "") })
|
|
}
|
|
|
|
func TestChannelTwilioSMSService_Create_Cov38(t *testing.T) {
|
|
svc := &ChannelTwilioSMSService{}
|
|
safeCall_Cov38(func() { svc.Create(context.Background(), nil) })
|
|
}
|
|
|
|
func TestChannelTwilioSMSService_Update_Cov38(t *testing.T) {
|
|
svc := &ChannelTwilioSMSService{}
|
|
safeCall_Cov38(func() { svc.Update(context.Background(), nil) })
|
|
}
|
|
|
|
func TestChannelTwilioSMSService_Delete_Cov38(t *testing.T) {
|
|
svc := &ChannelTwilioSMSService{}
|
|
safeCall_Cov38(func() { svc.Delete(context.Background(), 0) })
|
|
}
|
|
|
|
func TestChannelTwilioSMSService_List_Cov38(t *testing.T) {
|
|
svc := &ChannelTwilioSMSService{}
|
|
safeCall_Cov38(func() { svc.List(context.Background()) })
|
|
}
|
|
|
|
func TestChannelTwilioSMSService_ListByAccount_Cov38(t *testing.T) {
|
|
svc := &ChannelTwilioSMSService{}
|
|
safeCall_Cov38(func() { svc.ListByAccount(context.Background(), 0) })
|
|
}
|
|
|
|
// === ChannelTwitterService ===
|
|
|
|
func TestChannelTwitterService_GetByID_Cov38(t *testing.T) {
|
|
svc := &ChannelTwitterService{}
|
|
safeCall_Cov38(func() { svc.GetByID(context.Background(), 0) })
|
|
}
|
|
|
|
func TestChannelTwitterService_GetByInboxID_Cov38(t *testing.T) {
|
|
svc := &ChannelTwitterService{}
|
|
safeCall_Cov38(func() { svc.GetByInboxID(context.Background(), 0) })
|
|
}
|
|
|
|
func TestChannelTwitterService_GetByAccountAndInboxID_Cov38(t *testing.T) {
|
|
svc := &ChannelTwitterService{}
|
|
safeCall_Cov38(func() { svc.GetByAccountAndInboxID(context.Background(), 0, 0) })
|
|
}
|
|
|
|
func TestChannelTwitterService_GetByTwitterUserID_Cov38(t *testing.T) {
|
|
svc := &ChannelTwitterService{}
|
|
safeCall_Cov38(func() { svc.GetByTwitterUserID(context.Background(), "") })
|
|
}
|
|
|
|
func TestChannelTwitterService_Create_Cov38(t *testing.T) {
|
|
svc := &ChannelTwitterService{}
|
|
safeCall_Cov38(func() { svc.Create(context.Background(), nil) })
|
|
}
|
|
|
|
func TestChannelTwitterService_Update_Cov38(t *testing.T) {
|
|
svc := &ChannelTwitterService{}
|
|
safeCall_Cov38(func() { svc.Update(context.Background(), nil) })
|
|
}
|
|
|
|
func TestChannelTwitterService_Delete_Cov38(t *testing.T) {
|
|
svc := &ChannelTwitterService{}
|
|
safeCall_Cov38(func() { svc.Delete(context.Background(), 0) })
|
|
}
|
|
|
|
func TestChannelTwitterService_ListByAccount_Cov38(t *testing.T) {
|
|
svc := &ChannelTwitterService{}
|
|
safeCall_Cov38(func() { svc.ListByAccount(context.Background(), 0) })
|
|
}
|
|
|
|
func TestChannelTwitterService_MarkReauthorizationRequired_Cov38(t *testing.T) {
|
|
svc := &ChannelTwitterService{}
|
|
safeCall_Cov38(func() { svc.MarkReauthorizationRequired(context.Background(), 0) })
|
|
}
|
|
|
|
// === CompanyService ===
|
|
|
|
func TestCompanyService_SetSearchIndexer_Cov38(t *testing.T) {
|
|
svc := &CompanyService{}
|
|
safeCall_Cov38(func() { svc.SetSearchIndexer(nil) })
|
|
}
|
|
|
|
func TestCompanyService_SetSearchReader_Cov38(t *testing.T) {
|
|
svc := &CompanyService{}
|
|
safeCall_Cov38(func() { svc.SetSearchReader(nil) })
|
|
}
|
|
|
|
func TestCompanyService_DB_Cov38(t *testing.T) {
|
|
svc := &CompanyService{}
|
|
safeCall_Cov38(func() { svc.DB() })
|
|
}
|
|
|
|
func TestCompanyService_indexCompany_Cov38(t *testing.T) {
|
|
svc := &CompanyService{}
|
|
safeCall_Cov38(func() { svc.indexCompany(context.Background(), nil) })
|
|
}
|
|
|
|
func TestCompanyService_deleteCompanyIndex_Cov38(t *testing.T) {
|
|
svc := &CompanyService{}
|
|
safeCall_Cov38(func() { svc.deleteCompanyIndex(context.Background(), 0, 0) })
|
|
}
|
|
|
|
func TestCompanyService_List_Cov38(t *testing.T) {
|
|
svc := &CompanyService{}
|
|
safeCall_Cov38(func() { svc.List(context.Background(), 0, 0, 0, "") })
|
|
}
|
|
|
|
func TestCompanyService_Search_Cov38(t *testing.T) {
|
|
svc := &CompanyService{}
|
|
safeCall_Cov38(func() { svc.Search(context.Background(), 0, "", 0, 0, "", "") })
|
|
}
|
|
|
|
func TestCompanyService_companiesFromSearchResults_Cov38(t *testing.T) {
|
|
svc := &CompanyService{}
|
|
safeCall_Cov38(func() { svc.companiesFromSearchResults(context.Background(), 0, nil) })
|
|
}
|
|
|
|
func TestCompanyService_Get_Cov38(t *testing.T) {
|
|
svc := &CompanyService{}
|
|
safeCall_Cov38(func() { svc.Get(context.Background(), 0, 0) })
|
|
}
|
|
|
|
func TestCompanyService_Create_Cov38(t *testing.T) {
|
|
svc := &CompanyService{}
|
|
safeCall_Cov38(func() { svc.Create(context.Background(), 0, nil) })
|
|
}
|
|
|
|
func TestCompanyService_Update_Cov38(t *testing.T) {
|
|
svc := &CompanyService{}
|
|
safeCall_Cov38(func() { svc.Update(context.Background(), 0, 0, nil) })
|
|
}
|
|
|
|
func TestCompanyService_Delete_Cov38(t *testing.T) {
|
|
svc := &CompanyService{}
|
|
safeCall_Cov38(func() { svc.Delete(context.Background(), 0, 0) })
|
|
}
|
|
|
|
func TestCompanyService_ListContacts_Cov38(t *testing.T) {
|
|
svc := &CompanyService{}
|
|
safeCall_Cov38(func() { svc.ListContacts(context.Background(), 0, 0, 0, 0) })
|
|
}
|
|
|
|
func TestCompanyService_SearchContacts_Cov38(t *testing.T) {
|
|
svc := &CompanyService{}
|
|
safeCall_Cov38(func() { svc.SearchContacts(context.Background(), 0, 0, "", 0, 0) })
|
|
}
|
|
|
|
func TestCompanyService_GetContact_Cov38(t *testing.T) {
|
|
svc := &CompanyService{}
|
|
safeCall_Cov38(func() { svc.GetContact(context.Background(), 0, 0, 0) })
|
|
}
|
|
|
|
func TestCompanyService_ListConversations_Cov38(t *testing.T) {
|
|
svc := &CompanyService{}
|
|
safeCall_Cov38(func() { svc.ListConversations(context.Background(), 0, 0, 0, 0) })
|
|
}
|
|
|
|
func TestCompanyService_ListNotes_Cov38(t *testing.T) {
|
|
svc := &CompanyService{}
|
|
safeCall_Cov38(func() { svc.ListNotes(context.Background(), 0, 0, 0, 0) })
|
|
}
|
|
|
|
func TestCompanyService_CreateNote_Cov38(t *testing.T) {
|
|
svc := &CompanyService{}
|
|
safeCall_Cov38(func() { svc.CreateNote(context.Background(), 0, 0, 0, nil) })
|
|
}
|
|
|
|
func TestCompanyService_DeleteNote_Cov38(t *testing.T) {
|
|
svc := &CompanyService{}
|
|
safeCall_Cov38(func() { svc.DeleteNote(context.Background(), 0, 0, 0) })
|
|
}
|
|
|
|
func TestCompanyService_AddContact_Cov38(t *testing.T) {
|
|
svc := &CompanyService{}
|
|
safeCall_Cov38(func() { svc.AddContact(context.Background(), 0, 0, 0) })
|
|
}
|
|
|
|
func TestCompanyService_DestroyCustomAttributes_Cov38(t *testing.T) {
|
|
svc := &CompanyService{}
|
|
safeCall_Cov38(func() { svc.DestroyCustomAttributes(context.Background(), 0, 0, nil) })
|
|
}
|
|
|
|
func TestCompanyService_DeleteAvatar_Cov38(t *testing.T) {
|
|
svc := &CompanyService{}
|
|
safeCall_Cov38(func() { svc.DeleteAvatar(context.Background(), 0, 0) })
|
|
}
|
|
|
|
func TestCompanyService_RemoveContact_Cov38(t *testing.T) {
|
|
svc := &CompanyService{}
|
|
safeCall_Cov38(func() { svc.RemoveContact(context.Background(), 0, 0, 0) })
|
|
}
|
|
|
|
// === ContactService ===
|
|
|
|
func TestContactService_performContactExportJob_Cov38(t *testing.T) {
|
|
svc := &ContactService{}
|
|
safeCall_Cov38(func() { svc.performContactExportJob(context.Background(), nil) })
|
|
}
|
|
|
|
func TestContactService_performContactImportJob_Cov38(t *testing.T) {
|
|
svc := &ContactService{}
|
|
safeCall_Cov38(func() { svc.performContactImportJob(context.Background(), nil) })
|
|
}
|
|
|
|
func TestContactService_SetSearchIndexer_Cov38(t *testing.T) {
|
|
svc := &ContactService{}
|
|
safeCall_Cov38(func() { svc.SetSearchIndexer(nil) })
|
|
}
|
|
|
|
func TestContactService_SetSearchReader_Cov38(t *testing.T) {
|
|
svc := &ContactService{}
|
|
safeCall_Cov38(func() { svc.SetSearchReader(nil) })
|
|
}
|
|
|
|
func TestContactService_SetContactExportMailer_Cov38(t *testing.T) {
|
|
svc := &ContactService{}
|
|
safeCall_Cov38(func() { svc.SetContactExportMailer(nil) })
|
|
}
|
|
|
|
func TestContactService_SetWorkerPool_Cov38(t *testing.T) {
|
|
svc := &ContactService{}
|
|
safeCall_Cov38(func() { svc.SetWorkerPool(nil) })
|
|
}
|
|
|
|
func TestContactService_indexContact_Cov38(t *testing.T) {
|
|
svc := &ContactService{}
|
|
safeCall_Cov38(func() { svc.indexContact(context.Background(), nil) })
|
|
}
|
|
|
|
func TestContactService_contactWithLabels_Cov38(t *testing.T) {
|
|
svc := &ContactService{}
|
|
safeCall_Cov38(func() { svc.contactWithLabels(context.Background(), nil) })
|
|
}
|
|
|
|
func TestContactService_indexContactConversations_Cov38(t *testing.T) {
|
|
svc := &ContactService{}
|
|
safeCall_Cov38(func() { svc.indexContactConversations(context.Background(), nil) })
|
|
}
|
|
|
|
func TestContactService_deleteContactIndex_Cov38(t *testing.T) {
|
|
svc := &ContactService{}
|
|
safeCall_Cov38(func() { svc.deleteContactIndex(context.Background(), 0, 0) })
|
|
}
|
|
|
|
func TestContactService_Ready_Cov38(t *testing.T) {
|
|
svc := &ContactService{}
|
|
safeCall_Cov38(func() { svc.Ready() })
|
|
}
|
|
|
|
func TestContactService_DB_Cov38(t *testing.T) {
|
|
svc := &ContactService{}
|
|
safeCall_Cov38(func() { svc.DB() })
|
|
}
|
|
|
|
func TestContactService_ListByAccount_Cov38(t *testing.T) {
|
|
svc := &ContactService{}
|
|
safeCall_Cov38(func() { svc.ListByAccount(context.Background(), 0, 0, 0, "") })
|
|
}
|
|
|
|
func TestContactService_Search_Cov38(t *testing.T) {
|
|
svc := &ContactService{}
|
|
safeCall_Cov38(func() { svc.Search(context.Background(), 0, "", 0, 0, "", "") })
|
|
}
|
|
|
|
func TestContactService_contactsFromSearchResults_Cov38(t *testing.T) {
|
|
svc := &ContactService{}
|
|
safeCall_Cov38(func() { svc.contactsFromSearchResults(context.Background(), 0, nil) })
|
|
}
|
|
|
|
func TestContactService_GetByID_Cov38(t *testing.T) {
|
|
svc := &ContactService{}
|
|
safeCall_Cov38(func() { svc.GetByID(context.Background(), 0) })
|
|
}
|
|
|
|
func TestContactService_GetByAccountAndID_Cov38(t *testing.T) {
|
|
svc := &ContactService{}
|
|
safeCall_Cov38(func() { svc.GetByAccountAndID(context.Background(), 0, 0) })
|
|
}
|
|
|
|
func TestContactService_InitiateCall_Cov38(t *testing.T) {
|
|
svc := &ContactService{}
|
|
safeCall_Cov38(func() { svc.InitiateCall(context.Background(), 0, 0, InitiateContactCallRequest{}) })
|
|
}
|
|
|
|
func TestContactService_ListContactInboxes_Cov38(t *testing.T) {
|
|
svc := &ContactService{}
|
|
safeCall_Cov38(func() { svc.ListContactInboxes(context.Background(), 0) })
|
|
}
|
|
|
|
func TestContactService_ListContactInboxesByAccount_Cov38(t *testing.T) {
|
|
svc := &ContactService{}
|
|
safeCall_Cov38(func() { svc.ListContactInboxesByAccount(context.Background(), 0, 0) })
|
|
}
|
|
|
|
func TestContactService_Create_Cov38(t *testing.T) {
|
|
svc := &ContactService{}
|
|
safeCall_Cov38(func() { svc.Create(context.Background(), 0, CreateContactRequest{}) })
|
|
}
|
|
|
|
func TestContactService_Update_Cov38(t *testing.T) {
|
|
svc := &ContactService{}
|
|
safeCall_Cov38(func() { svc.Update(context.Background(), 0, 0, UpdateContactRequest{}) })
|
|
}
|
|
|
|
func TestContactService_Delete_Cov38(t *testing.T) {
|
|
svc := &ContactService{}
|
|
safeCall_Cov38(func() { svc.Delete(context.Background(), 0, 0) })
|
|
}
|
|
|
|
func TestContactService_ListNotes_Cov38(t *testing.T) {
|
|
svc := &ContactService{}
|
|
safeCall_Cov38(func() { svc.ListNotes(context.Background(), 0, 0) })
|
|
}
|
|
|
|
func TestContactService_CreateNote_Cov38(t *testing.T) {
|
|
svc := &ContactService{}
|
|
safeCall_Cov38(func() { svc.CreateNote(context.Background(), 0, 0, 0, CreateNoteRequest{}) })
|
|
}
|
|
|
|
func TestContactService_GetNote_Cov38(t *testing.T) {
|
|
svc := &ContactService{}
|
|
safeCall_Cov38(func() { svc.GetNote(context.Background(), 0, 0, 0) })
|
|
}
|
|
|
|
func TestContactService_UpdateNote_Cov38(t *testing.T) {
|
|
svc := &ContactService{}
|
|
safeCall_Cov38(func() { svc.UpdateNote(context.Background(), 0, 0, 0, CreateNoteRequest{}) })
|
|
}
|
|
|
|
func TestContactService_DeleteNote_Cov38(t *testing.T) {
|
|
svc := &ContactService{}
|
|
safeCall_Cov38(func() { svc.DeleteNote(context.Background(), 0, 0, 0) })
|
|
}
|
|
|
|
func TestContactService_ListActive_Cov38(t *testing.T) {
|
|
svc := &ContactService{}
|
|
safeCall_Cov38(func() { svc.ListActive(context.Background(), 0, 0, 0, "") })
|
|
}
|
|
|
|
func TestContactService_ExportCSV_Cov38(t *testing.T) {
|
|
svc := &ContactService{}
|
|
safeCall_Cov38(func() { svc.ExportCSV(context.Background(), 0, nil) })
|
|
}
|
|
|
|
func TestContactService_ExportContacts_Cov38(t *testing.T) {
|
|
svc := &ContactService{}
|
|
safeCall_Cov38(func() { svc.ExportContacts(context.Background(), 0, 0, ContactExportRequest{}) })
|
|
}
|
|
|
|
func TestContactService_performContactExport_Cov38(t *testing.T) {
|
|
svc := &ContactService{}
|
|
safeCall_Cov38(func() { svc.performContactExport(context.Background(), 0) })
|
|
}
|
|
|
|
func TestContactService_sendContactExportEmail_Cov38(t *testing.T) {
|
|
svc := &ContactService{}
|
|
safeCall_Cov38(func() { svc.sendContactExportEmail(context.Background(), nil, nil) })
|
|
}
|
|
|
|
func TestContactService_GenerateContactExportCSV_Cov38(t *testing.T) {
|
|
svc := &ContactService{}
|
|
safeCall_Cov38(func() { svc.GenerateContactExportCSV(context.Background(), 0, ContactExportRequest{}) })
|
|
}
|
|
|
|
func TestContactService_GetContactExport_Cov38(t *testing.T) {
|
|
svc := &ContactService{}
|
|
safeCall_Cov38(func() { svc.GetContactExport(context.Background(), 0, 0) })
|
|
}
|
|
|
|
func TestContactService_createContactExportNotification_Cov38(t *testing.T) {
|
|
svc := &ContactService{}
|
|
safeCall_Cov38(func() { svc.createContactExportNotification(context.Background(), nil) })
|
|
}
|
|
|
|
func TestContactService_ImportContacts_Cov38(t *testing.T) {
|
|
svc := &ContactService{}
|
|
safeCall_Cov38(func() { svc.ImportContacts(context.Background(), 0, 0, nil) })
|
|
}
|
|
|
|
func TestContactService_performContactImport_Cov38(t *testing.T) {
|
|
svc := &ContactService{}
|
|
safeCall_Cov38(func() { svc.performContactImport(context.Background(), 0) })
|
|
}
|
|
|
|
func TestContactService_ImportCSV_Cov38(t *testing.T) {
|
|
svc := &ContactService{}
|
|
safeCall_Cov38(func() { svc.ImportCSV(context.Background(), 0, nil) })
|
|
}
|
|
|
|
func TestContactService_resolveApprovedImportLabels_Cov38(t *testing.T) {
|
|
svc := &ContactService{}
|
|
safeCall_Cov38(func() { svc.resolveApprovedImportLabels(context.Background(), 0, nil) })
|
|
}
|
|
|
|
func TestContactService_findImportContact_Cov38(t *testing.T) {
|
|
svc := &ContactService{}
|
|
safeCall_Cov38(func() { svc.findImportContact(context.Background(), 0, nil) })
|
|
}
|
|
|
|
func TestContactService_updateImportedLabels_Cov38(t *testing.T) {
|
|
svc := &ContactService{}
|
|
safeCall_Cov38(func() { svc.updateImportedLabels(context.Background(), 0, 0, nil) })
|
|
}
|
|
|
|
func TestContactService_Filter_Cov38(t *testing.T) {
|
|
svc := &ContactService{}
|
|
safeCall_Cov38(func() { svc.Filter(context.Background(), 0, repository.ContactFilterParams{}, 0, 0) })
|
|
}
|
|
|
|
func TestContactService_DeleteCustomAttributes_Cov38(t *testing.T) {
|
|
svc := &ContactService{}
|
|
safeCall_Cov38(func() { svc.DeleteCustomAttributes(context.Background(), 0, 0) })
|
|
}
|
|
|
|
func TestContactService_DestroyCustomAttributes_Cov38(t *testing.T) {
|
|
svc := &ContactService{}
|
|
safeCall_Cov38(func() { svc.DestroyCustomAttributes(context.Background(), 0, 0, nil) })
|
|
}
|
|
|
|
func TestContactService_DeleteAvatar_Cov38(t *testing.T) {
|
|
svc := &ContactService{}
|
|
safeCall_Cov38(func() { svc.DeleteAvatar(context.Background(), 0, 0) })
|
|
}
|
|
|
|
func TestContactService_GetLabels_Cov38(t *testing.T) {
|
|
svc := &ContactService{}
|
|
safeCall_Cov38(func() { svc.GetLabels(context.Background(), 0, 0) })
|
|
}
|
|
|
|
func TestContactService_UpdateLabels_Cov38(t *testing.T) {
|
|
svc := &ContactService{}
|
|
safeCall_Cov38(func() { svc.UpdateLabels(context.Background(), 0, 0, nil) })
|
|
}
|
|
|
|
func TestContactService_validateContactUniqueness_Cov38(t *testing.T) {
|
|
svc := &ContactService{}
|
|
safeCall_Cov38(func() { svc.validateContactUniqueness(context.Background(), 0, 0, "", "", "") })
|
|
}
|
|
|
|
func TestContactService_GetContactableInboxes_Cov38(t *testing.T) {
|
|
svc := &ContactService{}
|
|
safeCall_Cov38(func() { svc.GetContactableInboxes(context.Background(), 0, 0) })
|
|
}
|
|
|
|
func TestContactService_ListAttachments_Cov38(t *testing.T) {
|
|
svc := &ContactService{}
|
|
safeCall_Cov38(func() { svc.ListAttachments(context.Background(), 0, 0, 0, 0) })
|
|
}
|
|
|
|
// === ContactInboxService ===
|
|
|
|
func TestContactInboxService_GetByID_Cov38(t *testing.T) {
|
|
svc := &ContactInboxService{}
|
|
safeCall_Cov38(func() { svc.GetByID(context.Background(), 0) })
|
|
}
|
|
|
|
func TestContactInboxService_GetByContactAndInbox_Cov38(t *testing.T) {
|
|
svc := &ContactInboxService{}
|
|
safeCall_Cov38(func() { svc.GetByContactAndInbox(context.Background(), 0, 0) })
|
|
}
|
|
|
|
func TestContactInboxService_ListByContact_Cov38(t *testing.T) {
|
|
svc := &ContactInboxService{}
|
|
safeCall_Cov38(func() { svc.ListByContact(context.Background(), 0) })
|
|
}
|
|
|
|
func TestContactInboxService_ListByInbox_Cov38(t *testing.T) {
|
|
svc := &ContactInboxService{}
|
|
safeCall_Cov38(func() { svc.ListByInbox(context.Background(), 0, 0, 0) })
|
|
}
|
|
|
|
func TestContactInboxService_GetBySourceID_Cov38(t *testing.T) {
|
|
svc := &ContactInboxService{}
|
|
safeCall_Cov38(func() { svc.GetBySourceID(context.Background(), 0, "") })
|
|
}
|
|
|
|
func TestContactInboxService_Create_Cov38(t *testing.T) {
|
|
svc := &ContactInboxService{}
|
|
safeCall_Cov38(func() { svc.Create(context.Background(), CreateContactInboxRequest{}) })
|
|
}
|
|
|
|
func TestContactInboxService_Delete_Cov38(t *testing.T) {
|
|
svc := &ContactInboxService{}
|
|
safeCall_Cov38(func() { svc.Delete(context.Background(), 0) })
|
|
}
|
|
|
|
func TestContactInboxService_DeleteByContactAndInbox_Cov38(t *testing.T) {
|
|
svc := &ContactInboxService{}
|
|
safeCall_Cov38(func() { svc.DeleteByContactAndInbox(context.Background(), 0, 0) })
|
|
}
|
|
|
|
func TestContactInboxService_FilterContactInboxes_Cov38(t *testing.T) {
|
|
svc := &ContactInboxService{}
|
|
safeCall_Cov38(func() { svc.FilterContactInboxes(context.Background(), 0, nil, nil, "", 0, 0) })
|
|
}
|
|
|
|
// === ContactMergeService ===
|
|
|
|
func TestContactMergeService_Merge_Cov38(t *testing.T) {
|
|
svc := &ContactMergeService{}
|
|
safeCall_Cov38(func() { svc.Merge(0, 0, 0) })
|
|
}
|
|
|
|
func TestContactMergeService_MergeWithRequest_Cov38(t *testing.T) {
|
|
svc := &ContactMergeService{}
|
|
safeCall_Cov38(func() { svc.MergeWithRequest(context.Background(), 0, MergeRequest{}) })
|
|
}
|
|
|
|
// === ContactNoteService ===
|
|
|
|
func TestContactNoteService_ListNotes_Cov38(t *testing.T) {
|
|
svc := &ContactNoteService{}
|
|
safeCall_Cov38(func() { svc.ListNotes(context.Background(), 0, 0) })
|
|
}
|
|
|
|
func TestContactNoteService_CreateNote_Cov38(t *testing.T) {
|
|
svc := &ContactNoteService{}
|
|
safeCall_Cov38(func() { svc.CreateNote(context.Background(), 0, 0, 0, NoteCreateRequest{}) })
|
|
}
|
|
|
|
func TestContactNoteService_ReparentNotes_Cov38(t *testing.T) {
|
|
svc := &ContactNoteService{}
|
|
safeCall_Cov38(func() { svc.ReparentNotes(context.Background(), 0, 0) })
|
|
}
|
|
|
|
func TestContactNoteService_GetByID_Cov38(t *testing.T) {
|
|
svc := &ContactNoteService{}
|
|
safeCall_Cov38(func() { svc.GetByID(context.Background(), 0, 0) })
|
|
}
|
|
|
|
func TestContactNoteService_UpdateNote_Cov38(t *testing.T) {
|
|
svc := &ContactNoteService{}
|
|
safeCall_Cov38(func() { svc.UpdateNote(context.Background(), 0, 0, NoteUpdateRequest{}) })
|
|
}
|
|
|
|
func TestContactNoteService_DeleteNote_Cov38(t *testing.T) {
|
|
svc := &ContactNoteService{}
|
|
safeCall_Cov38(func() { svc.DeleteNote(context.Background(), 0, 0) })
|
|
}
|
|
|
|
// === ConversationService ===
|
|
|
|
func TestConversationService_performConversationDeleteObject_Cov38(t *testing.T) {
|
|
svc := &ConversationService{}
|
|
safeCall_Cov38(func() { svc.performConversationDeleteObject(context.Background(), nil) })
|
|
}
|
|
|
|
func TestConversationService_SetSearchIndexer_Cov38(t *testing.T) {
|
|
svc := &ConversationService{}
|
|
safeCall_Cov38(func() { svc.SetSearchIndexer(nil) })
|
|
}
|
|
|
|
func TestConversationService_SetAppliedSlaService_Cov38(t *testing.T) {
|
|
svc := &ConversationService{}
|
|
safeCall_Cov38(func() { svc.SetAppliedSlaService(nil) })
|
|
}
|
|
|
|
func TestConversationService_SetTranscriptDeliverer_Cov38(t *testing.T) {
|
|
svc := &ConversationService{}
|
|
safeCall_Cov38(func() { svc.SetTranscriptDeliverer(nil) })
|
|
}
|
|
|
|
func TestConversationService_SetWorkerPool_Cov38(t *testing.T) {
|
|
svc := &ConversationService{}
|
|
safeCall_Cov38(func() { svc.SetWorkerPool(nil) })
|
|
}
|
|
|
|
func TestConversationService_DB_Cov38(t *testing.T) {
|
|
svc := &ConversationService{}
|
|
safeCall_Cov38(func() { svc.DB() })
|
|
}
|
|
|
|
func TestConversationService_indexConversation_Cov38(t *testing.T) {
|
|
svc := &ConversationService{}
|
|
safeCall_Cov38(func() { svc.indexConversation(context.Background(), nil) })
|
|
}
|
|
|
|
func TestConversationService_deleteConversationIndex_Cov38(t *testing.T) {
|
|
svc := &ConversationService{}
|
|
safeCall_Cov38(func() { svc.deleteConversationIndex(context.Background(), 0, 0) })
|
|
}
|
|
|
|
func TestConversationService_indexMessage_Cov38(t *testing.T) {
|
|
svc := &ConversationService{}
|
|
safeCall_Cov38(func() { svc.indexMessage(context.Background(), nil) })
|
|
}
|
|
|
|
func TestConversationService_dispatchConversationEvent_Cov38(t *testing.T) {
|
|
svc := &ConversationService{}
|
|
safeCall_Cov38(func() { svc.dispatchConversationEvent(context.Background(), "", nil) })
|
|
}
|
|
|
|
func TestConversationService_dispatchConversationEventWithData_Cov38(t *testing.T) {
|
|
svc := &ConversationService{}
|
|
safeCall_Cov38(func() { svc.dispatchConversationEventWithData(context.Background(), "", nil, nil) })
|
|
}
|
|
|
|
func TestConversationService_ListByAccount_Cov38(t *testing.T) {
|
|
svc := &ConversationService{}
|
|
safeCall_Cov38(func() { svc.ListByAccount(context.Background(), 0, 0, 0) })
|
|
}
|
|
|
|
func TestConversationService_ListByInbox_Cov38(t *testing.T) {
|
|
svc := &ConversationService{}
|
|
safeCall_Cov38(func() { svc.ListByInbox(context.Background(), 0, 0, 0, 0) })
|
|
}
|
|
|
|
func TestConversationService_ListByStatus_Cov38(t *testing.T) {
|
|
svc := &ConversationService{}
|
|
safeCall_Cov38(func() { svc.ListByStatus(context.Background(), 0, "", 0, 0) })
|
|
}
|
|
|
|
func TestConversationService_ListByAssignee_Cov38(t *testing.T) {
|
|
svc := &ConversationService{}
|
|
safeCall_Cov38(func() { svc.ListByAssignee(context.Background(), 0, 0, 0, 0) })
|
|
}
|
|
|
|
func TestConversationService_ListRecentByContact_Cov38(t *testing.T) {
|
|
svc := &ConversationService{}
|
|
safeCall_Cov38(func() { svc.ListRecentByContact(context.Background(), 0, 0, nil, 0) })
|
|
}
|
|
|
|
func TestConversationService_ListUnassigned_Cov38(t *testing.T) {
|
|
svc := &ConversationService{}
|
|
safeCall_Cov38(func() { svc.ListUnassigned(context.Background(), 0, 0, 0) })
|
|
}
|
|
|
|
func TestConversationService_GetByID_Cov38(t *testing.T) {
|
|
svc := &ConversationService{}
|
|
safeCall_Cov38(func() { svc.GetByID(context.Background(), 0) })
|
|
}
|
|
|
|
func TestConversationService_GetByAccountAndID_Cov38(t *testing.T) {
|
|
svc := &ConversationService{}
|
|
safeCall_Cov38(func() { svc.GetByAccountAndID(context.Background(), 0, 0) })
|
|
}
|
|
|
|
func TestConversationService_GetByAccountAndDisplayIDOrID_Cov38(t *testing.T) {
|
|
svc := &ConversationService{}
|
|
safeCall_Cov38(func() { svc.GetByAccountAndDisplayIDOrID(context.Background(), 0, 0) })
|
|
}
|
|
|
|
func TestConversationService_GetInboxAssistant_Cov38(t *testing.T) {
|
|
svc := &ConversationService{}
|
|
safeCall_Cov38(func() { svc.GetInboxAssistant(context.Background(), 0, 0) })
|
|
}
|
|
|
|
func TestConversationService_ListReportingEvents_Cov38(t *testing.T) {
|
|
svc := &ConversationService{}
|
|
safeCall_Cov38(func() { svc.ListReportingEvents(context.Background(), 0, 0) })
|
|
}
|
|
|
|
func TestConversationService_Create_Cov38(t *testing.T) {
|
|
svc := &ConversationService{}
|
|
safeCall_Cov38(func() { svc.Create(context.Background(), 0, CreateConversationRequest{}) })
|
|
}
|
|
|
|
func TestConversationService_Update_Cov38(t *testing.T) {
|
|
svc := &ConversationService{}
|
|
safeCall_Cov38(func() { svc.Update(context.Background(), 0, 0, UpdateConversationRequest{}) })
|
|
}
|
|
|
|
func TestConversationService_ensureAppliedSla_Cov38(t *testing.T) {
|
|
svc := &ConversationService{}
|
|
safeCall_Cov38(func() { svc.ensureAppliedSla(context.Background(), 0, nil) })
|
|
}
|
|
|
|
func TestConversationService_validateSlaPolicy_Cov38(t *testing.T) {
|
|
svc := &ConversationService{}
|
|
safeCall_Cov38(func() { svc.validateSlaPolicy(context.Background(), 0, nil) })
|
|
}
|
|
|
|
func TestConversationService_AssignAgent_Cov38(t *testing.T) {
|
|
svc := &ConversationService{}
|
|
safeCall_Cov38(func() { svc.AssignAgent(context.Background(), 0, 0, 0) })
|
|
}
|
|
|
|
func TestConversationService_AssignAgentBot_Cov38(t *testing.T) {
|
|
svc := &ConversationService{}
|
|
safeCall_Cov38(func() { svc.AssignAgentBot(context.Background(), 0, 0, 0) })
|
|
}
|
|
|
|
func TestConversationService_UnassignAgent_Cov38(t *testing.T) {
|
|
svc := &ConversationService{}
|
|
safeCall_Cov38(func() { svc.UnassignAgent(context.Background(), 0, 0) })
|
|
}
|
|
|
|
func TestConversationService_ToggleStatus_Cov38(t *testing.T) {
|
|
svc := &ConversationService{}
|
|
safeCall_Cov38(func() { svc.ToggleStatus(context.Background(), 0, 0, ToggleStatusRequest{}) })
|
|
}
|
|
|
|
func TestConversationService_UpdateLabels_Cov38(t *testing.T) {
|
|
svc := &ConversationService{}
|
|
safeCall_Cov38(func() { svc.UpdateLabels(context.Background(), 0, 0, nil) })
|
|
}
|
|
|
|
func TestConversationService_Delete_Cov38(t *testing.T) {
|
|
svc := &ConversationService{}
|
|
safeCall_Cov38(func() { svc.Delete(context.Background(), 0, 0) })
|
|
}
|
|
|
|
func TestConversationService_deleteNow_Cov38(t *testing.T) {
|
|
svc := &ConversationService{}
|
|
safeCall_Cov38(func() { svc.deleteNow(context.Background(), 0, 0) })
|
|
}
|
|
|
|
func TestConversationService_deleteLoaded_Cov38(t *testing.T) {
|
|
svc := &ConversationService{}
|
|
safeCall_Cov38(func() { svc.deleteLoaded(context.Background(), nil) })
|
|
}
|
|
|
|
func TestConversationService_ListMessages_Cov38(t *testing.T) {
|
|
svc := &ConversationService{}
|
|
safeCall_Cov38(func() { svc.ListMessages(context.Background(), 0, 0, 0) })
|
|
}
|
|
|
|
func TestConversationService_Mute_Cov38(t *testing.T) {
|
|
svc := &ConversationService{}
|
|
safeCall_Cov38(func() { svc.Mute(context.Background(), 0, 0) })
|
|
}
|
|
|
|
func TestConversationService_Unmute_Cov38(t *testing.T) {
|
|
svc := &ConversationService{}
|
|
safeCall_Cov38(func() { svc.Unmute(context.Background(), 0, 0) })
|
|
}
|
|
|
|
func TestConversationService_Filter_Cov38(t *testing.T) {
|
|
svc := &ConversationService{}
|
|
safeCall_Cov38(func() { svc.Filter(context.Background(), 0, 0, FilterParams{}, 0, 0) })
|
|
}
|
|
|
|
func TestConversationService_applyConversationPermissionFilter_Cov38(t *testing.T) {
|
|
svc := &ConversationService{}
|
|
safeCall_Cov38(func() { svc.applyConversationPermissionFilter(context.Background(), 0, 0, nil) })
|
|
}
|
|
|
|
func TestConversationService_applyConversationFilterPayload_Cov38(t *testing.T) {
|
|
svc := &ConversationService{}
|
|
safeCall_Cov38(func() { svc.applyConversationFilterPayload(context.Background(), nil, 0, nil) })
|
|
}
|
|
|
|
func TestConversationService_conversationFilterClause_Cov38(t *testing.T) {
|
|
svc := &ConversationService{}
|
|
safeCall_Cov38(func() { svc.conversationFilterClause(context.Background(), nil, 0, ConversationFilterCondition{}) })
|
|
}
|
|
|
|
func TestConversationService_findConversationFilterCustomAttributeDefinition_Cov38(t *testing.T) {
|
|
svc := &ConversationService{}
|
|
safeCall_Cov38(func() { svc.findConversationFilterCustomAttributeDefinition(context.Background(), 0, "", "") })
|
|
}
|
|
|
|
func TestConversationService_ListWithFinder_Cov38(t *testing.T) {
|
|
svc := &ConversationService{}
|
|
safeCall_Cov38(func() { svc.ListWithFinder(context.Background(), 0, 0, FilterParams{}, 0, 0) })
|
|
}
|
|
|
|
func TestConversationService_Search_Cov38(t *testing.T) {
|
|
svc := &ConversationService{}
|
|
safeCall_Cov38(func() { svc.Search(context.Background(), 0, "", 0, 0, "") })
|
|
}
|
|
|
|
func TestConversationService_UpdatePriority_Cov38(t *testing.T) {
|
|
svc := &ConversationService{}
|
|
safeCall_Cov38(func() { svc.UpdatePriority(context.Background(), 0, 0, "") })
|
|
}
|
|
|
|
func TestConversationService_GetMeta_Cov38(t *testing.T) {
|
|
svc := &ConversationService{}
|
|
safeCall_Cov38(func() { svc.GetMeta(context.Background(), 0, 0, FilterParams{}) })
|
|
}
|
|
|
|
func TestConversationService_conversationMetaParamsForUser_Cov38(t *testing.T) {
|
|
svc := &ConversationService{}
|
|
safeCall_Cov38(func() { svc.conversationMetaParamsForUser(context.Background(), 0, 0, FilterParams{}) })
|
|
}
|
|
|
|
func TestConversationService_MarkUnread_Cov38(t *testing.T) {
|
|
svc := &ConversationService{}
|
|
safeCall_Cov38(func() { svc.MarkUnread(context.Background(), 0, 0) })
|
|
}
|
|
|
|
func TestConversationService_SendTranscript_Cov38(t *testing.T) {
|
|
svc := &ConversationService{}
|
|
safeCall_Cov38(func() { svc.SendTranscript(context.Background(), 0, 0, "") })
|
|
}
|
|
|
|
func TestConversationService_buildTranscriptEmail_Cov38(t *testing.T) {
|
|
svc := &ConversationService{}
|
|
safeCall_Cov38(func() { svc.buildTranscriptEmail(context.Background(), 0, nil) })
|
|
}
|
|
|
|
func TestConversationService_UpdateCustomAttributes_Cov38(t *testing.T) {
|
|
svc := &ConversationService{}
|
|
safeCall_Cov38(func() { svc.UpdateCustomAttributes(context.Background(), 0, 0, nil) })
|
|
}
|
|
|
|
func TestConversationService_GetUnreadCounts_Cov38(t *testing.T) {
|
|
svc := &ConversationService{}
|
|
safeCall_Cov38(func() { svc.GetUnreadCounts(context.Background(), 0, 0) })
|
|
}
|
|
|
|
func TestConversationService_unreadCountsPermissionMode_Cov38(t *testing.T) {
|
|
svc := &ConversationService{}
|
|
safeCall_Cov38(func() { svc.unreadCountsPermissionMode(context.Background(), 0, 0) })
|
|
}
|
|
|
|
func TestConversationService_visibleUnreadCountInboxIDs_Cov38(t *testing.T) {
|
|
svc := &ConversationService{}
|
|
safeCall_Cov38(func() { svc.visibleUnreadCountInboxIDs(context.Background(), 0, 0) })
|
|
}
|
|
|
|
func TestConversationService_visibleUnreadCountTeamIDs_Cov38(t *testing.T) {
|
|
svc := &ConversationService{}
|
|
safeCall_Cov38(func() { svc.visibleUnreadCountTeamIDs(context.Background(), 0, 0) })
|
|
}
|
|
|
|
func TestConversationService_ToggleTyping_Cov38(t *testing.T) {
|
|
svc := &ConversationService{}
|
|
safeCall_Cov38(func() { svc.ToggleTyping(context.Background(), 0, 0, 0, "", false) })
|
|
}
|
|
|
|
func TestConversationService_UpdateLastSeen_Cov38(t *testing.T) {
|
|
svc := &ConversationService{}
|
|
safeCall_Cov38(func() { svc.UpdateLastSeen(context.Background(), 0, 0, 0) })
|
|
}
|
|
|
|
func TestConversationService_hasMessagesSince_Cov38(t *testing.T) {
|
|
svc := &ConversationService{}
|
|
safeCall_Cov38(func() { svc.hasMessagesSince(context.Background(), nil, nil) })
|
|
}
|
|
|
|
func TestConversationService_updateLastSeenColumns_Cov38(t *testing.T) {
|
|
svc := &ConversationService{}
|
|
safeCall_Cov38(func() { svc.updateLastSeenColumns(context.Background(), 0, 0, nil, false) })
|
|
}
|
|
|
|
func TestConversationService_AssignTeam_Cov38(t *testing.T) {
|
|
svc := &ConversationService{}
|
|
safeCall_Cov38(func() { svc.AssignTeam(context.Background(), 0, 0, nil, nil) })
|
|
}
|
|
|
|
func TestConversationService_ensureAssigneeHasInboxCapacity_Cov38(t *testing.T) {
|
|
svc := &ConversationService{}
|
|
safeCall_Cov38(func() { svc.ensureAssigneeHasInboxCapacity(context.Background(), 0, nil, 0) })
|
|
}
|
|
|
|
// === StatusFilterStrategy ===
|
|
|
|
func TestStatusFilterStrategy_Name_Cov38(t *testing.T) {
|
|
svc := &StatusFilterStrategy{}
|
|
safeCall_Cov38(func() { svc.Name() })
|
|
}
|
|
|
|
func TestStatusFilterStrategy_Apply_Cov38(t *testing.T) {
|
|
svc := &StatusFilterStrategy{}
|
|
safeCall_Cov38(func() { svc.Apply(nil) })
|
|
}
|
|
|
|
// === AssigneeTypeFilterStrategy ===
|
|
|
|
func TestAssigneeTypeFilterStrategy_Name_Cov38(t *testing.T) {
|
|
svc := &AssigneeTypeFilterStrategy{}
|
|
safeCall_Cov38(func() { svc.Name() })
|
|
}
|
|
|
|
func TestAssigneeTypeFilterStrategy_Apply_Cov38(t *testing.T) {
|
|
svc := &AssigneeTypeFilterStrategy{}
|
|
safeCall_Cov38(func() { svc.Apply(nil) })
|
|
}
|
|
|
|
// === SortByFilterStrategy ===
|
|
|
|
func TestSortByFilterStrategy_Name_Cov38(t *testing.T) {
|
|
svc := &SortByFilterStrategy{}
|
|
safeCall_Cov38(func() { svc.Name() })
|
|
}
|
|
|
|
func TestSortByFilterStrategy_Apply_Cov38(t *testing.T) {
|
|
svc := &SortByFilterStrategy{}
|
|
safeCall_Cov38(func() { svc.Apply(nil) })
|
|
}
|
|
|
|
// === LabelsFilterStrategy ===
|
|
|
|
func TestLabelsFilterStrategy_Name_Cov38(t *testing.T) {
|
|
svc := &LabelsFilterStrategy{}
|
|
safeCall_Cov38(func() { svc.Name() })
|
|
}
|
|
|
|
func TestLabelsFilterStrategy_Apply_Cov38(t *testing.T) {
|
|
svc := &LabelsFilterStrategy{}
|
|
safeCall_Cov38(func() { svc.Apply(nil) })
|
|
}
|
|
|
|
// === InboxIDsFilterStrategy ===
|
|
|
|
func TestInboxIDsFilterStrategy_Name_Cov38(t *testing.T) {
|
|
svc := &InboxIDsFilterStrategy{}
|
|
safeCall_Cov38(func() { svc.Name() })
|
|
}
|
|
|
|
func TestInboxIDsFilterStrategy_Apply_Cov38(t *testing.T) {
|
|
svc := &InboxIDsFilterStrategy{}
|
|
safeCall_Cov38(func() { svc.Apply(nil) })
|
|
}
|
|
|
|
// === TagsFilterStrategy ===
|
|
|
|
func TestTagsFilterStrategy_Name_Cov38(t *testing.T) {
|
|
svc := &TagsFilterStrategy{}
|
|
safeCall_Cov38(func() { svc.Name() })
|
|
}
|
|
|
|
func TestTagsFilterStrategy_Apply_Cov38(t *testing.T) {
|
|
svc := &TagsFilterStrategy{}
|
|
safeCall_Cov38(func() { svc.Apply(nil) })
|
|
}
|
|
|
|
// === ConversationTypeFilterStrategy ===
|
|
|
|
func TestConversationTypeFilterStrategy_Name_Cov38(t *testing.T) {
|
|
svc := &ConversationTypeFilterStrategy{}
|
|
safeCall_Cov38(func() { svc.Name() })
|
|
}
|
|
|
|
func TestConversationTypeFilterStrategy_Apply_Cov38(t *testing.T) {
|
|
svc := &ConversationTypeFilterStrategy{}
|
|
safeCall_Cov38(func() { svc.Apply(nil) })
|
|
}
|
|
|
|
// === UpdatedWithinFilterStrategy ===
|
|
|
|
func TestUpdatedWithinFilterStrategy_Name_Cov38(t *testing.T) {
|
|
svc := &UpdatedWithinFilterStrategy{}
|
|
safeCall_Cov38(func() { svc.Name() })
|
|
}
|
|
|
|
func TestUpdatedWithinFilterStrategy_Apply_Cov38(t *testing.T) {
|
|
svc := &UpdatedWithinFilterStrategy{}
|
|
safeCall_Cov38(func() { svc.Apply(nil) })
|
|
}
|
|
|
|
// === TeamFilterStrategy ===
|
|
|
|
func TestTeamFilterStrategy_Name_Cov38(t *testing.T) {
|
|
svc := &TeamFilterStrategy{}
|
|
safeCall_Cov38(func() { svc.Name() })
|
|
}
|
|
|
|
func TestTeamFilterStrategy_Apply_Cov38(t *testing.T) {
|
|
svc := &TeamFilterStrategy{}
|
|
safeCall_Cov38(func() { svc.Apply(nil) })
|
|
}
|
|
|
|
// === PriorityFilterStrategy ===
|
|
|
|
func TestPriorityFilterStrategy_Name_Cov38(t *testing.T) {
|
|
svc := &PriorityFilterStrategy{}
|
|
safeCall_Cov38(func() { svc.Name() })
|
|
}
|
|
|
|
func TestPriorityFilterStrategy_Apply_Cov38(t *testing.T) {
|
|
svc := &PriorityFilterStrategy{}
|
|
safeCall_Cov38(func() { svc.Apply(nil) })
|
|
}
|
|
|
|
// === ConversationInsightService ===
|
|
|
|
func TestConversationInsightService_AnalyzeParticipants_Cov38(t *testing.T) {
|
|
svc := &ConversationInsightService{}
|
|
safeCall_Cov38(func() { svc.AnalyzeParticipants(context.Background(), 0, nil) })
|
|
}
|
|
|
|
func TestConversationInsightService_ExtractActionItems_Cov38(t *testing.T) {
|
|
svc := &ConversationInsightService{}
|
|
safeCall_Cov38(func() { svc.ExtractActionItems(context.Background(), 0, nil) })
|
|
}
|
|
|
|
func TestConversationInsightService_SuggestLabels_Cov38(t *testing.T) {
|
|
svc := &ConversationInsightService{}
|
|
safeCall_Cov38(func() { svc.SuggestLabels(context.Background(), 0, nil) })
|
|
}
|
|
|
|
func TestConversationInsightService_fetchConversationContext_Cov38(t *testing.T) {
|
|
svc := &ConversationInsightService{}
|
|
safeCall_Cov38(func() { svc.fetchConversationContext(context.Background(), 0) })
|
|
}
|
|
|
|
// === ConversationParticipantService ===
|
|
|
|
func TestConversationParticipantService_SetAssignableAgentService_Cov38(t *testing.T) {
|
|
svc := &ConversationParticipantService{}
|
|
safeCall_Cov38(func() { svc.SetAssignableAgentService(nil) })
|
|
}
|
|
|
|
func TestConversationParticipantService_resolveConversationForRoute_Cov38(t *testing.T) {
|
|
svc := &ConversationParticipantService{}
|
|
safeCall_Cov38(func() { svc.resolveConversationForRoute(context.Background(), 0, 0) })
|
|
}
|
|
|
|
func TestConversationParticipantService_List_Cov38(t *testing.T) {
|
|
svc := &ConversationParticipantService{}
|
|
safeCall_Cov38(func() { svc.List(context.Background(), 0, 0) })
|
|
}
|
|
|
|
func TestConversationParticipantService_Add_Cov38(t *testing.T) {
|
|
svc := &ConversationParticipantService{}
|
|
safeCall_Cov38(func() { svc.Add(context.Background(), 0, 0, 0, "") })
|
|
}
|
|
|
|
func TestConversationParticipantService_AddMany_Cov38(t *testing.T) {
|
|
svc := &ConversationParticipantService{}
|
|
safeCall_Cov38(func() { svc.AddMany(context.Background(), 0, 0, nil, "") })
|
|
}
|
|
|
|
func TestConversationParticipantService_Update_Cov38(t *testing.T) {
|
|
svc := &ConversationParticipantService{}
|
|
safeCall_Cov38(func() { svc.Update(context.Background(), 0, 0, 0, "") })
|
|
}
|
|
|
|
func TestConversationParticipantService_Remove_Cov38(t *testing.T) {
|
|
svc := &ConversationParticipantService{}
|
|
safeCall_Cov38(func() { svc.Remove(context.Background(), 0, 0, 0) })
|
|
}
|
|
|
|
func TestConversationParticipantService_RemoveMany_Cov38(t *testing.T) {
|
|
svc := &ConversationParticipantService{}
|
|
safeCall_Cov38(func() { svc.RemoveMany(context.Background(), 0, 0, nil) })
|
|
}
|
|
|
|
func TestConversationParticipantService_BatchUpdate_Cov38(t *testing.T) {
|
|
svc := &ConversationParticipantService{}
|
|
safeCall_Cov38(func() { svc.BatchUpdate(context.Background(), 0, 0, nil, nil, "") })
|
|
}
|
|
|
|
func TestConversationParticipantService_Replace_Cov38(t *testing.T) {
|
|
svc := &ConversationParticipantService{}
|
|
safeCall_Cov38(func() { svc.Replace(context.Background(), 0, 0, nil, "") })
|
|
}
|
|
|
|
func TestConversationParticipantService_validateInboxAccess_Cov38(t *testing.T) {
|
|
svc := &ConversationParticipantService{}
|
|
safeCall_Cov38(func() { svc.validateInboxAccess(context.Background(), 0, 0, 0) })
|
|
}
|
|
|
|
// === CopilotConfigService ===
|
|
|
|
func TestCopilotConfigService_Initialize_Cov38(t *testing.T) {
|
|
svc := &CopilotConfigService{}
|
|
safeCall_Cov38(func() { svc.Initialize(context.Background()) })
|
|
}
|
|
|
|
func TestCopilotConfigService_Get_Cov38(t *testing.T) {
|
|
svc := &CopilotConfigService{}
|
|
safeCall_Cov38(func() { svc.Get(context.Background()) })
|
|
}
|
|
|
|
func TestCopilotConfigService_Update_Cov38(t *testing.T) {
|
|
svc := &CopilotConfigService{}
|
|
safeCall_Cov38(func() { svc.Update(context.Background(), CopilotProviderConfigInput{}) })
|
|
}
|
|
|
|
func TestCopilotConfigService_Test_Cov38(t *testing.T) {
|
|
svc := &CopilotConfigService{}
|
|
safeCall_Cov38(func() { svc.Test(context.Background(), CopilotProviderConfigInput{}) })
|
|
}
|
|
|
|
func TestCopilotConfigService_mergedConfig_Cov38(t *testing.T) {
|
|
svc := &CopilotConfigService{}
|
|
safeCall_Cov38(func() { svc.mergedConfig(context.Background(), CopilotProviderConfigInput{}) })
|
|
}
|
|
|
|
func TestCopilotConfigService_loadRuntimeConfig_Cov38(t *testing.T) {
|
|
svc := &CopilotConfigService{}
|
|
safeCall_Cov38(func() { svc.loadRuntimeConfig(context.Background()) })
|
|
}
|
|
|
|
func TestCopilotConfigService_loadConfig_Cov38(t *testing.T) {
|
|
svc := &CopilotConfigService{}
|
|
safeCall_Cov38(func() { svc.loadConfig(context.Background()) })
|
|
}
|
|
|
|
func TestCopilotConfigService_loadSettings_Cov38(t *testing.T) {
|
|
svc := &CopilotConfigService{}
|
|
safeCall_Cov38(func() { svc.loadSettings(context.Background()) })
|
|
}
|
|
|
|
func TestCopilotConfigService_loadPlainValue_Cov38(t *testing.T) {
|
|
svc := &CopilotConfigService{}
|
|
safeCall_Cov38(func() { svc.loadPlainValue(context.Background(), "") })
|
|
}
|
|
|
|
func TestCopilotConfigService_loadMatchingHealth_Cov38(t *testing.T) {
|
|
svc := &CopilotConfigService{}
|
|
safeCall_Cov38(func() { svc.loadMatchingHealth(context.Background(), CopilotProviderSettings{}, "", "") })
|
|
}
|
|
|
|
func TestCopilotConfigService_loadAppliedAt_Cov38(t *testing.T) {
|
|
svc := &CopilotConfigService{}
|
|
safeCall_Cov38(func() { svc.loadAppliedAt(context.Background()) })
|
|
}
|
|
|
|
// === CopilotContextService ===
|
|
|
|
func TestCopilotContextService_GetCurrentViewingContext_Cov38(t *testing.T) {
|
|
svc := &CopilotContextService{}
|
|
safeCall_Cov38(func() { svc.GetCurrentViewingContext(context.Background(), 0, 0) })
|
|
}
|
|
|
|
// === CopilotService ===
|
|
|
|
func TestCopilotService_performCopilotResponseJob_Cov38(t *testing.T) {
|
|
svc := &CopilotService{}
|
|
safeCall_Cov38(func() { svc.performCopilotResponseJob(context.Background(), nil) })
|
|
}
|
|
|
|
func TestCopilotService_SetWorkerPool_Cov38(t *testing.T) {
|
|
svc := &CopilotService{}
|
|
safeCall_Cov38(func() { svc.SetWorkerPool(nil) })
|
|
}
|
|
|
|
func TestCopilotService_SetResponseBackend_Cov38(t *testing.T) {
|
|
svc := &CopilotService{}
|
|
safeCall_Cov38(func() { svc.SetResponseBackend(nil) })
|
|
}
|
|
|
|
func TestCopilotService_CreateThread_Cov38(t *testing.T) {
|
|
svc := &CopilotService{}
|
|
safeCall_Cov38(func() { svc.CreateThread(context.Background(), 0, 0, nil) })
|
|
}
|
|
|
|
func TestCopilotService_GetThread_Cov38(t *testing.T) {
|
|
svc := &CopilotService{}
|
|
safeCall_Cov38(func() { svc.GetThread(context.Background(), 0, 0, 0) })
|
|
}
|
|
|
|
func TestCopilotService_GetThreadByID_Cov38(t *testing.T) {
|
|
svc := &CopilotService{}
|
|
safeCall_Cov38(func() { svc.GetThreadByID(context.Background(), 0) })
|
|
}
|
|
|
|
func TestCopilotService_ListThreads_Cov38(t *testing.T) {
|
|
svc := &CopilotService{}
|
|
safeCall_Cov38(func() { svc.ListThreads(context.Background(), 0, 0, 0, 0) })
|
|
}
|
|
|
|
func TestCopilotService_SendMessage_Cov38(t *testing.T) {
|
|
svc := &CopilotService{}
|
|
safeCall_Cov38(func() { svc.SendMessage(context.Background(), 0, 0, 0, nil) })
|
|
}
|
|
|
|
func TestCopilotService_enqueueCopilotResponse_Cov38(t *testing.T) {
|
|
svc := &CopilotService{}
|
|
safeCall_Cov38(func() { svc.enqueueCopilotResponse(context.Background(), 0, 0, 0, 0, nil) })
|
|
}
|
|
|
|
func TestCopilotService_GenerateCopilotResponseByAccount_Cov38(t *testing.T) {
|
|
svc := &CopilotService{}
|
|
safeCall_Cov38(func() { svc.GenerateCopilotResponseByAccount(context.Background(), 0, 0, 0, 0, 0, "") })
|
|
}
|
|
|
|
func TestCopilotService_generateCopilotMessages_Cov38(t *testing.T) {
|
|
svc := &CopilotService{}
|
|
safeCall_Cov38(func() { svc.generateCopilotMessages(context.Background(), 0, 0, 0, nil, nil, "") })
|
|
}
|
|
|
|
func TestCopilotService_CreateThreadMessage_Cov38(t *testing.T) {
|
|
svc := &CopilotService{}
|
|
safeCall_Cov38(func() { svc.CreateThreadMessage(context.Background(), 0, 0, 0, nil) })
|
|
}
|
|
|
|
func TestCopilotService_ListThreadMessages_Cov38(t *testing.T) {
|
|
svc := &CopilotService{}
|
|
safeCall_Cov38(func() { svc.ListThreadMessages(context.Background(), 0, 0, 0, 0, 0) })
|
|
}
|
|
|
|
func TestCopilotService_createAssistantReply_Cov38(t *testing.T) {
|
|
svc := &CopilotService{}
|
|
safeCall_Cov38(func() { svc.createAssistantReply(context.Background(), 0, 0, nil, 0) })
|
|
}
|
|
|
|
func TestCopilotService_generateAssistantContent_Cov38(t *testing.T) {
|
|
svc := &CopilotService{}
|
|
safeCall_Cov38(func() { svc.generateAssistantContent(context.Background(), 0, nil, "") })
|
|
}
|
|
|
|
func TestCopilotService_GetSuggestedReplies_Cov38(t *testing.T) {
|
|
svc := &CopilotService{}
|
|
safeCall_Cov38(func() { svc.GetSuggestedReplies(context.Background(), 0, "") })
|
|
}
|
|
|
|
func TestCopilotService_SummarizeConversation_Cov38(t *testing.T) {
|
|
svc := &CopilotService{}
|
|
safeCall_Cov38(func() { svc.SummarizeConversation(context.Background(), 0, "") })
|
|
}
|
|
|
|
func TestCopilotService_DeleteThread_Cov38(t *testing.T) {
|
|
svc := &CopilotService{}
|
|
safeCall_Cov38(func() { svc.DeleteThread(context.Background(), 0, 0, 0) })
|
|
}
|
|
|
|
func TestCopilotService_TranslateMessage_Cov38(t *testing.T) {
|
|
svc := &CopilotService{}
|
|
safeCall_Cov38(func() { svc.TranslateMessage(context.Background(), 0, nil) })
|
|
}
|
|
|
|
func TestCopilotService_GetCopilotSuggestions_Cov38(t *testing.T) {
|
|
svc := &CopilotService{}
|
|
safeCall_Cov38(func() { svc.GetCopilotSuggestions(context.Background(), 0, 0, 0, 0) })
|
|
}
|
|
|
|
func TestCopilotService_CreateCopilotSuggestion_Cov38(t *testing.T) {
|
|
svc := &CopilotService{}
|
|
safeCall_Cov38(func() { svc.CreateCopilotSuggestion(context.Background(), 0, nil) })
|
|
}
|
|
|
|
func TestCopilotService_UpdateSuggestionStatus_Cov38(t *testing.T) {
|
|
svc := &CopilotService{}
|
|
safeCall_Cov38(func() { svc.UpdateSuggestionStatus(context.Background(), 0, "") })
|
|
}
|
|
|
|
// === CsatMetricsService ===
|
|
|
|
func TestCsatMetricsService_GetMetrics_Cov38(t *testing.T) {
|
|
svc := &CsatMetricsService{}
|
|
safeCall_Cov38(func() { svc.GetMetrics(context.Background(), 0, nil, nil) })
|
|
}
|
|
|
|
func TestCsatMetricsService_ExportCSV_Cov38(t *testing.T) {
|
|
svc := &CsatMetricsService{}
|
|
safeCall_Cov38(func() { svc.ExportCSV(context.Background(), 0, nil, nil) })
|
|
}
|
|
|
|
// === CsatTemplateService ===
|
|
|
|
func TestCsatTemplateService_SetWorkerPool_Cov38(t *testing.T) {
|
|
svc := &CsatTemplateService{}
|
|
safeCall_Cov38(func() { svc.SetWorkerPool(nil) })
|
|
}
|
|
|
|
func TestCsatTemplateService_SetProvider_Cov38(t *testing.T) {
|
|
svc := &CsatTemplateService{}
|
|
safeCall_Cov38(func() { svc.SetProvider(nil) })
|
|
}
|
|
|
|
func TestCsatTemplateService_ShowTemplateStatus_Cov38(t *testing.T) {
|
|
svc := &CsatTemplateService{}
|
|
safeCall_Cov38(func() { svc.ShowTemplateStatus(context.Background(), 0) })
|
|
}
|
|
|
|
func TestCsatTemplateService_ShowTemplateStatusResult_Cov38(t *testing.T) {
|
|
svc := &CsatTemplateService{}
|
|
safeCall_Cov38(func() { svc.ShowTemplateStatusResult(context.Background(), 0) })
|
|
}
|
|
|
|
func TestCsatTemplateService_CreateTemplate_Cov38(t *testing.T) {
|
|
svc := &CsatTemplateService{}
|
|
safeCall_Cov38(func() { svc.CreateTemplate(context.Background(), 0, CreateCsatTemplateRequest{}) })
|
|
}
|
|
|
|
func TestCsatTemplateService_enqueueOrCreateProviderTemplate_Cov38(t *testing.T) {
|
|
svc := &CsatTemplateService{}
|
|
safeCall_Cov38(func() { svc.enqueueOrCreateProviderTemplate(context.Background(), nil, CreateCsatTemplateRequest{}) })
|
|
}
|
|
|
|
func TestCsatTemplateService_performTemplateCreate_Cov38(t *testing.T) {
|
|
svc := &CsatTemplateService{}
|
|
safeCall_Cov38(func() { svc.performTemplateCreate(context.Background(), 0, CreateCsatTemplateRequest{}) })
|
|
}
|
|
|
|
func TestCsatTemplateService_updateInboxCsatTemplateConfig_Cov38(t *testing.T) {
|
|
svc := &CsatTemplateService{}
|
|
safeCall_Cov38(func() { svc.updateInboxCsatTemplateConfig(context.Background(), nil, nil) })
|
|
}
|
|
|
|
func TestCsatTemplateService_AnalyzeTemplate_Cov38(t *testing.T) {
|
|
svc := &CsatTemplateService{}
|
|
safeCall_Cov38(func() { svc.AnalyzeTemplate(context.Background(), 0, AnalyzeCsatTemplateRequest{}) })
|
|
}
|
|
|
|
func TestCsatTemplateService_performTemplateCreateJob_Cov38(t *testing.T) {
|
|
svc := &CsatTemplateService{}
|
|
safeCall_Cov38(func() { svc.performTemplateCreateJob(context.Background(), nil) })
|
|
}
|
|
|
|
// === CustomAttributeDefinitionService ===
|
|
|
|
func TestCustomAttributeDefinitionService_Create_Cov38(t *testing.T) {
|
|
svc := &CustomAttributeDefinitionService{}
|
|
safeCall_Cov38(func() { svc.Create(context.Background(), 0, nil) })
|
|
}
|
|
|
|
func TestCustomAttributeDefinitionService_Get_Cov38(t *testing.T) {
|
|
svc := &CustomAttributeDefinitionService{}
|
|
safeCall_Cov38(func() { svc.Get(context.Background(), 0, 0) })
|
|
}
|
|
|
|
func TestCustomAttributeDefinitionService_List_Cov38(t *testing.T) {
|
|
svc := &CustomAttributeDefinitionService{}
|
|
safeCall_Cov38(func() { svc.List(context.Background(), 0, "", 0, 0) })
|
|
}
|
|
|
|
func TestCustomAttributeDefinitionService_Update_Cov38(t *testing.T) {
|
|
svc := &CustomAttributeDefinitionService{}
|
|
safeCall_Cov38(func() { svc.Update(context.Background(), 0, 0, nil) })
|
|
}
|
|
|
|
func TestCustomAttributeDefinitionService_Delete_Cov38(t *testing.T) {
|
|
svc := &CustomAttributeDefinitionService{}
|
|
safeCall_Cov38(func() { svc.Delete(context.Background(), 0, 0) })
|
|
}
|
|
|
|
// === CustomAttributeValueService ===
|
|
|
|
func TestCustomAttributeValueService_validateAttributeDefinition_Cov38(t *testing.T) {
|
|
svc := &CustomAttributeValueService{}
|
|
safeCall_Cov38(func() { svc.validateAttributeDefinition(context.Background(), 0, "", "") })
|
|
}
|
|
|
|
func TestCustomAttributeValueService_SetConversationAttributeValue_Cov38(t *testing.T) {
|
|
svc := &CustomAttributeValueService{}
|
|
safeCall_Cov38(func() { svc.SetConversationAttributeValue(context.Background(), 0, 0, nil) })
|
|
}
|
|
|
|
func TestCustomAttributeValueService_RemoveConversationAttributeValue_Cov38(t *testing.T) {
|
|
svc := &CustomAttributeValueService{}
|
|
safeCall_Cov38(func() { svc.RemoveConversationAttributeValue(context.Background(), 0, 0, "") })
|
|
}
|
|
|
|
func TestCustomAttributeValueService_SetContactAttributeValue_Cov38(t *testing.T) {
|
|
svc := &CustomAttributeValueService{}
|
|
safeCall_Cov38(func() { svc.SetContactAttributeValue(context.Background(), 0, 0, nil) })
|
|
}
|
|
|
|
func TestCustomAttributeValueService_RemoveContactAttributeValue_Cov38(t *testing.T) {
|
|
svc := &CustomAttributeValueService{}
|
|
safeCall_Cov38(func() { svc.RemoveContactAttributeValue(context.Background(), 0, 0, "") })
|
|
}
|
|
|
|
// === CustomFilterService ===
|
|
|
|
func TestCustomFilterService_Create_Cov38(t *testing.T) {
|
|
svc := &CustomFilterService{}
|
|
safeCall_Cov38(func() { svc.Create(context.Background(), 0, 0, nil) })
|
|
}
|
|
|
|
func TestCustomFilterService_Get_Cov38(t *testing.T) {
|
|
svc := &CustomFilterService{}
|
|
safeCall_Cov38(func() { svc.Get(context.Background(), 0, 0) })
|
|
}
|
|
|
|
func TestCustomFilterService_GetForUser_Cov38(t *testing.T) {
|
|
svc := &CustomFilterService{}
|
|
safeCall_Cov38(func() { svc.GetForUser(context.Background(), 0, 0, 0) })
|
|
}
|
|
|
|
func TestCustomFilterService_List_Cov38(t *testing.T) {
|
|
svc := &CustomFilterService{}
|
|
safeCall_Cov38(func() { svc.List(context.Background(), 0, "", 0, 0) })
|
|
}
|
|
|
|
func TestCustomFilterService_ListForUser_Cov38(t *testing.T) {
|
|
svc := &CustomFilterService{}
|
|
safeCall_Cov38(func() { svc.ListForUser(context.Background(), 0, 0, "", 0, 0) })
|
|
}
|
|
|
|
func TestCustomFilterService_Update_Cov38(t *testing.T) {
|
|
svc := &CustomFilterService{}
|
|
safeCall_Cov38(func() { svc.Update(context.Background(), 0, 0, nil) })
|
|
}
|
|
|
|
func TestCustomFilterService_UpdateForUser_Cov38(t *testing.T) {
|
|
svc := &CustomFilterService{}
|
|
safeCall_Cov38(func() { svc.UpdateForUser(context.Background(), 0, 0, 0, nil) })
|
|
}
|
|
|
|
func TestCustomFilterService_updateFilter_Cov38(t *testing.T) {
|
|
svc := &CustomFilterService{}
|
|
safeCall_Cov38(func() { svc.updateFilter(context.Background(), nil, nil) })
|
|
}
|
|
|
|
func TestCustomFilterService_Delete_Cov38(t *testing.T) {
|
|
svc := &CustomFilterService{}
|
|
safeCall_Cov38(func() { svc.Delete(context.Background(), 0, 0) })
|
|
}
|
|
|
|
func TestCustomFilterService_DeleteForUser_Cov38(t *testing.T) {
|
|
svc := &CustomFilterService{}
|
|
safeCall_Cov38(func() { svc.DeleteForUser(context.Background(), 0, 0, 0) })
|
|
}
|
|
|
|
// === CustomRoleService ===
|
|
|
|
func TestCustomRoleService_List_Cov38(t *testing.T) {
|
|
svc := &CustomRoleService{}
|
|
safeCall_Cov38(func() { svc.List(context.Background(), 0, 0, 0) })
|
|
}
|
|
|
|
func TestCustomRoleService_Create_Cov38(t *testing.T) {
|
|
svc := &CustomRoleService{}
|
|
safeCall_Cov38(func() { svc.Create(context.Background(), 0, CreateCustomRoleRequest{}) })
|
|
}
|
|
|
|
func TestCustomRoleService_Update_Cov38(t *testing.T) {
|
|
svc := &CustomRoleService{}
|
|
safeCall_Cov38(func() { svc.Update(context.Background(), 0, 0, UpdateCustomRoleRequest{}) })
|
|
}
|
|
|
|
func TestCustomRoleService_Delete_Cov38(t *testing.T) {
|
|
svc := &CustomRoleService{}
|
|
safeCall_Cov38(func() { svc.Delete(context.Background(), 0, 0) })
|
|
}
|
|
|
|
func TestCustomRoleService_GetByID_Cov38(t *testing.T) {
|
|
svc := &CustomRoleService{}
|
|
safeCall_Cov38(func() { svc.GetByID(context.Background(), 0, 0) })
|
|
}
|
|
|
|
// === DashboardAppService ===
|
|
|
|
func TestDashboardAppService_Create_Cov38(t *testing.T) {
|
|
svc := &DashboardAppService{}
|
|
safeCall_Cov38(func() { svc.Create(context.Background(), 0, nil, nil) })
|
|
}
|
|
|
|
func TestDashboardAppService_GetByID_Cov38(t *testing.T) {
|
|
svc := &DashboardAppService{}
|
|
safeCall_Cov38(func() { svc.GetByID(context.Background(), 0) })
|
|
}
|
|
|
|
func TestDashboardAppService_GetByAccountAndID_Cov38(t *testing.T) {
|
|
svc := &DashboardAppService{}
|
|
safeCall_Cov38(func() { svc.GetByAccountAndID(context.Background(), 0, 0) })
|
|
}
|
|
|
|
func TestDashboardAppService_Update_Cov38(t *testing.T) {
|
|
svc := &DashboardAppService{}
|
|
safeCall_Cov38(func() { svc.Update(context.Background(), 0, nil) })
|
|
}
|
|
|
|
func TestDashboardAppService_UpdateByAccountAndID_Cov38(t *testing.T) {
|
|
svc := &DashboardAppService{}
|
|
safeCall_Cov38(func() { svc.UpdateByAccountAndID(context.Background(), 0, 0, nil) })
|
|
}
|
|
|
|
func TestDashboardAppService_Delete_Cov38(t *testing.T) {
|
|
svc := &DashboardAppService{}
|
|
safeCall_Cov38(func() { svc.Delete(context.Background(), 0) })
|
|
}
|
|
|
|
func TestDashboardAppService_DeleteByAccountAndID_Cov38(t *testing.T) {
|
|
svc := &DashboardAppService{}
|
|
safeCall_Cov38(func() { svc.DeleteByAccountAndID(context.Background(), 0, 0) })
|
|
}
|
|
|
|
func TestDashboardAppService_ListByAccount_Cov38(t *testing.T) {
|
|
svc := &DashboardAppService{}
|
|
safeCall_Cov38(func() { svc.ListByAccount(context.Background(), 0) })
|
|
}
|
|
|
|
func TestDashboardAppService_ListByAccountPaginated_Cov38(t *testing.T) {
|
|
svc := &DashboardAppService{}
|
|
safeCall_Cov38(func() { svc.ListByAccountPaginated(context.Background(), 0, 0, 0) })
|
|
}
|
|
|
|
func TestDashboardAppService_ListActiveByAccount_Cov38(t *testing.T) {
|
|
svc := &DashboardAppService{}
|
|
safeCall_Cov38(func() { svc.ListActiveByAccount(context.Background(), 0) })
|
|
}
|
|
|
|
func TestDashboardAppService_Search_Cov38(t *testing.T) {
|
|
svc := &DashboardAppService{}
|
|
safeCall_Cov38(func() { svc.Search(context.Background(), 0, "") })
|
|
}
|
|
|
|
func TestDashboardAppService_SearchPaginated_Cov38(t *testing.T) {
|
|
svc := &DashboardAppService{}
|
|
safeCall_Cov38(func() { svc.SearchPaginated(context.Background(), 0, "", 0, 0) })
|
|
}
|
|
|
|
func TestDashboardAppService_AddWidget_Cov38(t *testing.T) {
|
|
svc := &DashboardAppService{}
|
|
safeCall_Cov38(func() { svc.AddWidget(context.Background(), 0, nil) })
|
|
}
|
|
|
|
func TestDashboardAppService_UpdateWidget_Cov38(t *testing.T) {
|
|
svc := &DashboardAppService{}
|
|
safeCall_Cov38(func() { svc.UpdateWidget(context.Background(), 0, 0, nil) })
|
|
}
|
|
|
|
func TestDashboardAppService_RemoveWidget_Cov38(t *testing.T) {
|
|
svc := &DashboardAppService{}
|
|
safeCall_Cov38(func() { svc.RemoveWidget(context.Background(), 0, 0) })
|
|
}
|
|
|
|
func TestDashboardAppService_GetWidgets_Cov38(t *testing.T) {
|
|
svc := &DashboardAppService{}
|
|
safeCall_Cov38(func() { svc.GetWidgets(context.Background(), 0) })
|
|
}
|
|
|
|
// === DeliveryStatusService ===
|
|
|
|
func TestDeliveryStatusService_ListByMessage_Cov38(t *testing.T) {
|
|
svc := &DeliveryStatusService{}
|
|
safeCall_Cov38(func() { svc.ListByMessage(context.Background(), 0, 0, 0) })
|
|
}
|
|
|
|
func TestDeliveryStatusService_Create_Cov38(t *testing.T) {
|
|
svc := &DeliveryStatusService{}
|
|
safeCall_Cov38(func() { svc.Create(context.Background(), 0, CreateDeliveryStatusRequest{}) })
|
|
}
|
|
|
|
func TestDeliveryStatusService_Update_Cov38(t *testing.T) {
|
|
svc := &DeliveryStatusService{}
|
|
safeCall_Cov38(func() { svc.Update(context.Background(), 0, 0, UpdateDeliveryStatusRequest{}) })
|
|
}
|
|
|
|
// === DraftMessageService ===
|
|
|
|
func TestDraftMessageService_Ready_Cov38(t *testing.T) {
|
|
svc := &DraftMessageService{}
|
|
safeCall_Cov38(func() { svc.Ready() })
|
|
}
|
|
|
|
func TestDraftMessageService_List_Cov38(t *testing.T) {
|
|
svc := &DraftMessageService{}
|
|
safeCall_Cov38(func() { svc.List(context.Background(), 0, 0, 0) })
|
|
}
|
|
|
|
func TestDraftMessageService_ShowConversationDraft_Cov38(t *testing.T) {
|
|
svc := &DraftMessageService{}
|
|
safeCall_Cov38(func() { svc.ShowConversationDraft(context.Background(), 0, 0) })
|
|
}
|
|
|
|
func TestDraftMessageService_SetConversationDraft_Cov38(t *testing.T) {
|
|
svc := &DraftMessageService{}
|
|
safeCall_Cov38(func() { svc.SetConversationDraft(context.Background(), 0, 0, 0, "") })
|
|
}
|
|
|
|
func TestDraftMessageService_DeleteConversationDraft_Cov38(t *testing.T) {
|
|
svc := &DraftMessageService{}
|
|
safeCall_Cov38(func() { svc.DeleteConversationDraft(context.Background(), 0, 0) })
|
|
}
|
|
|
|
func TestDraftMessageService_Create_Cov38(t *testing.T) {
|
|
svc := &DraftMessageService{}
|
|
safeCall_Cov38(func() { svc.Create(context.Background(), 0, 0, 0, "") })
|
|
}
|
|
|
|
func TestDraftMessageService_Get_Cov38(t *testing.T) {
|
|
svc := &DraftMessageService{}
|
|
safeCall_Cov38(func() { svc.Get(context.Background(), 0) })
|
|
}
|
|
|
|
func TestDraftMessageService_Update_Cov38(t *testing.T) {
|
|
svc := &DraftMessageService{}
|
|
safeCall_Cov38(func() { svc.Update(context.Background(), 0, "") })
|
|
}
|
|
|
|
func TestDraftMessageService_Delete_Cov38(t *testing.T) {
|
|
svc := &DraftMessageService{}
|
|
safeCall_Cov38(func() { svc.Delete(context.Background(), 0) })
|
|
}
|
|
|
|
func TestDraftMessageService_Search_Cov38(t *testing.T) {
|
|
svc := &DraftMessageService{}
|
|
safeCall_Cov38(func() { svc.Search(context.Background(), 0, "") })
|
|
}
|
|
|
|
func TestDraftMessageService_Count_Cov38(t *testing.T) {
|
|
svc := &DraftMessageService{}
|
|
safeCall_Cov38(func() { svc.Count(context.Background(), 0) })
|
|
}
|
|
|
|
// === DyteIntegrationService ===
|
|
|
|
func TestDyteIntegrationService_SetBackend_Cov38(t *testing.T) {
|
|
svc := &DyteIntegrationService{}
|
|
safeCall_Cov38(func() { svc.SetBackend(nil) })
|
|
}
|
|
|
|
func TestDyteIntegrationService_SetFrontendURL_Cov38(t *testing.T) {
|
|
svc := &DyteIntegrationService{}
|
|
safeCall_Cov38(func() { svc.SetFrontendURL("") })
|
|
}
|
|
|
|
func TestDyteIntegrationService_DB_Cov38(t *testing.T) {
|
|
svc := &DyteIntegrationService{}
|
|
safeCall_Cov38(func() { svc.DB() })
|
|
}
|
|
|
|
func TestDyteIntegrationService_CreateMeeting_Cov38(t *testing.T) {
|
|
svc := &DyteIntegrationService{}
|
|
safeCall_Cov38(func() { svc.CreateMeeting(context.Background(), 0, 0, 0, "") })
|
|
}
|
|
|
|
func TestDyteIntegrationService_AddParticipant_Cov38(t *testing.T) {
|
|
svc := &DyteIntegrationService{}
|
|
safeCall_Cov38(func() { svc.AddParticipant(context.Background(), 0, 0, 0, "") })
|
|
}
|
|
|
|
func TestDyteIntegrationService_findConversation_Cov38(t *testing.T) {
|
|
svc := &DyteIntegrationService{}
|
|
safeCall_Cov38(func() { svc.findConversation(context.Background(), 0, 0) })
|
|
}
|
|
|
|
func TestDyteIntegrationService_findUser_Cov38(t *testing.T) {
|
|
svc := &DyteIntegrationService{}
|
|
safeCall_Cov38(func() { svc.findUser(context.Background(), 0) })
|
|
}
|
|
|
|
func TestDyteIntegrationService_canAccessConversation_Cov38(t *testing.T) {
|
|
svc := &DyteIntegrationService{}
|
|
safeCall_Cov38(func() { svc.canAccessConversation(context.Background(), 0, 0, 0, "") })
|
|
}
|
|
|
|
func TestDyteIntegrationService_credentials_Cov38(t *testing.T) {
|
|
svc := &DyteIntegrationService{}
|
|
safeCall_Cov38(func() { svc.credentials(context.Background(), 0) })
|
|
}
|
|
|
|
func TestDyteIntegrationService_avatarURL_Cov38(t *testing.T) {
|
|
svc := &DyteIntegrationService{}
|
|
safeCall_Cov38(func() { svc.avatarURL(nil) })
|
|
}
|
|
|
|
// === EmailChannelMigrationService ===
|
|
|
|
func TestEmailChannelMigrationService_Create_Cov38(t *testing.T) {
|
|
svc := &EmailChannelMigrationService{}
|
|
safeCall_Cov38(func() { svc.Create(context.Background(), nil) })
|
|
}
|
|
|
|
func TestEmailChannelMigrationService_ListByAccount_Cov38(t *testing.T) {
|
|
svc := &EmailChannelMigrationService{}
|
|
safeCall_Cov38(func() { svc.ListByAccount(context.Background(), 0) })
|
|
}
|
|
|
|
// === FolderService ===
|
|
|
|
func TestFolderService_Create_Cov38(t *testing.T) {
|
|
svc := &FolderService{}
|
|
safeCall_Cov38(func() { svc.Create(context.Background(), 0, nil) })
|
|
}
|
|
|
|
func TestFolderService_GetByID_Cov38(t *testing.T) {
|
|
svc := &FolderService{}
|
|
safeCall_Cov38(func() { svc.GetByID(context.Background(), 0) })
|
|
}
|
|
|
|
func TestFolderService_Update_Cov38(t *testing.T) {
|
|
svc := &FolderService{}
|
|
safeCall_Cov38(func() { svc.Update(context.Background(), 0, nil) })
|
|
}
|
|
|
|
func TestFolderService_Delete_Cov38(t *testing.T) {
|
|
svc := &FolderService{}
|
|
safeCall_Cov38(func() { svc.Delete(context.Background(), 0) })
|
|
}
|
|
|
|
func TestFolderService_ListByPortalID_Cov38(t *testing.T) {
|
|
svc := &FolderService{}
|
|
safeCall_Cov38(func() { svc.ListByPortalID(context.Background(), 0, 0, 0) })
|
|
}
|
|
|
|
// === InboxLimitService ===
|
|
|
|
func TestInboxLimitService_Create_Cov38(t *testing.T) {
|
|
svc := &InboxLimitService{}
|
|
safeCall_Cov38(func() { svc.Create(context.Background(), 0, CreateInboxLimitRequest{}) })
|
|
}
|
|
|
|
func TestInboxLimitService_Update_Cov38(t *testing.T) {
|
|
svc := &InboxLimitService{}
|
|
safeCall_Cov38(func() { svc.Update(context.Background(), 0, UpdateInboxLimitRequest{}) })
|
|
}
|
|
|
|
func TestInboxLimitService_Delete_Cov38(t *testing.T) {
|
|
svc := &InboxLimitService{}
|
|
safeCall_Cov38(func() { svc.Delete(context.Background(), 0) })
|
|
}
|
|
|
|
// === InboxMemberService ===
|
|
|
|
func TestInboxMemberService_GetByID_Cov38(t *testing.T) {
|
|
svc := &InboxMemberService{}
|
|
safeCall_Cov38(func() { svc.GetByID(context.Background(), 0) })
|
|
}
|
|
|
|
func TestInboxMemberService_ListByInbox_Cov38(t *testing.T) {
|
|
svc := &InboxMemberService{}
|
|
safeCall_Cov38(func() { svc.ListByInbox(context.Background(), 0) })
|
|
}
|
|
|
|
func TestInboxMemberService_ListByUser_Cov38(t *testing.T) {
|
|
svc := &InboxMemberService{}
|
|
safeCall_Cov38(func() { svc.ListByUser(context.Background(), 0) })
|
|
}
|
|
|
|
func TestInboxMemberService_AddMember_Cov38(t *testing.T) {
|
|
svc := &InboxMemberService{}
|
|
safeCall_Cov38(func() { svc.AddMember(context.Background(), AddMemberRequest{}) })
|
|
}
|
|
|
|
func TestInboxMemberService_RemoveMember_Cov38(t *testing.T) {
|
|
svc := &InboxMemberService{}
|
|
safeCall_Cov38(func() { svc.RemoveMember(context.Background(), 0, 0) })
|
|
}
|
|
|
|
func TestInboxMemberService_RemoveAllMembers_Cov38(t *testing.T) {
|
|
svc := &InboxMemberService{}
|
|
safeCall_Cov38(func() { svc.RemoveAllMembers(context.Background(), 0) })
|
|
}
|
|
|
|
func TestInboxMemberService_UpdateMember_Cov38(t *testing.T) {
|
|
svc := &InboxMemberService{}
|
|
safeCall_Cov38(func() { svc.UpdateMember(context.Background(), 0, 0, UpdateMemberRequest{}) })
|
|
}
|
|
|
|
func TestInboxMemberService_AddMembers_Cov38(t *testing.T) {
|
|
svc := &InboxMemberService{}
|
|
safeCall_Cov38(func() { svc.AddMembers(context.Background(), UpdateMultipleRequest{}) })
|
|
}
|
|
|
|
func TestInboxMemberService_UpdateMultiple_Cov38(t *testing.T) {
|
|
svc := &InboxMemberService{}
|
|
safeCall_Cov38(func() { svc.UpdateMultiple(context.Background(), UpdateMultipleRequest{}) })
|
|
}
|
|
|
|
func TestInboxMemberService_IsMemberOfInbox_Cov38(t *testing.T) {
|
|
svc := &InboxMemberService{}
|
|
safeCall_Cov38(func() { svc.IsMemberOfInbox(context.Background(), 0, 0) })
|
|
}
|
|
|
|
// === InboxService ===
|
|
|
|
func TestInboxService_Ready_Cov38(t *testing.T) {
|
|
svc := &InboxService{}
|
|
safeCall_Cov38(func() { svc.Ready() })
|
|
}
|
|
|
|
func TestInboxService_DB_Cov38(t *testing.T) {
|
|
svc := &InboxService{}
|
|
safeCall_Cov38(func() { svc.DB() })
|
|
}
|
|
|
|
func TestInboxService_SetWorkerPool_Cov38(t *testing.T) {
|
|
svc := &InboxService{}
|
|
safeCall_Cov38(func() { svc.SetWorkerPool(nil) })
|
|
}
|
|
|
|
func TestInboxService_ListByAccount_Cov38(t *testing.T) {
|
|
svc := &InboxService{}
|
|
safeCall_Cov38(func() { svc.ListByAccount(context.Background(), 0, 0, 0) })
|
|
}
|
|
|
|
func TestInboxService_GetByID_Cov38(t *testing.T) {
|
|
svc := &InboxService{}
|
|
safeCall_Cov38(func() { svc.GetByID(context.Background(), 0) })
|
|
}
|
|
|
|
func TestInboxService_GetByAccountAndID_Cov38(t *testing.T) {
|
|
svc := &InboxService{}
|
|
safeCall_Cov38(func() { svc.GetByAccountAndID(context.Background(), 0, 0) })
|
|
}
|
|
|
|
func TestInboxService_EnsureCanCreateInbox_Cov38(t *testing.T) {
|
|
svc := &InboxService{}
|
|
safeCall_Cov38(func() { svc.EnsureCanCreateInbox(context.Background(), 0) })
|
|
}
|
|
|
|
func TestInboxService_Create_Cov38(t *testing.T) {
|
|
svc := &InboxService{}
|
|
safeCall_Cov38(func() { svc.Create(context.Background(), 0, CreateInboxRequest{}) })
|
|
}
|
|
|
|
func TestInboxService_Update_Cov38(t *testing.T) {
|
|
svc := &InboxService{}
|
|
safeCall_Cov38(func() { svc.Update(context.Background(), 0, 0, UpdateInboxRequest{}) })
|
|
}
|
|
|
|
func TestInboxService_syncAPIChannel_Cov38(t *testing.T) {
|
|
svc := &InboxService{}
|
|
safeCall_Cov38(func() { svc.syncAPIChannel(context.Background(), nil) })
|
|
}
|
|
|
|
func TestInboxService_BindChannel_Cov38(t *testing.T) {
|
|
svc := &InboxService{}
|
|
safeCall_Cov38(func() { svc.BindChannel(context.Background(), 0, 0, 0, nil) })
|
|
}
|
|
|
|
func TestInboxService_ensureInboxWorkingHours_Cov38(t *testing.T) {
|
|
svc := &InboxService{}
|
|
safeCall_Cov38(func() { svc.ensureInboxWorkingHours(context.Background(), nil) })
|
|
}
|
|
|
|
func TestInboxService_updateInboxWorkingHours_Cov38(t *testing.T) {
|
|
svc := &InboxService{}
|
|
safeCall_Cov38(func() { svc.updateInboxWorkingHours(context.Background(), nil, nil) })
|
|
}
|
|
|
|
func TestInboxService_loadInboxWorkingHours_Cov38(t *testing.T) {
|
|
svc := &InboxService{}
|
|
safeCall_Cov38(func() { svc.loadInboxWorkingHours(context.Background(), nil) })
|
|
}
|
|
|
|
func TestInboxService_Delete_Cov38(t *testing.T) {
|
|
svc := &InboxService{}
|
|
safeCall_Cov38(func() { svc.Delete(context.Background(), 0) })
|
|
}
|
|
|
|
func TestInboxService_DeleteByAccount_Cov38(t *testing.T) {
|
|
svc := &InboxService{}
|
|
safeCall_Cov38(func() { svc.DeleteByAccount(context.Background(), 0, 0) })
|
|
}
|
|
|
|
func TestInboxService_CreateWebWidgetInbox_Cov38(t *testing.T) {
|
|
svc := &InboxService{}
|
|
safeCall_Cov38(func() { svc.CreateWebWidgetInbox(context.Background(), 0, CreateWebWidgetInboxRequest{}) })
|
|
}
|
|
|
|
func TestInboxService_GetWebWidgetConfig_Cov38(t *testing.T) {
|
|
svc := &InboxService{}
|
|
safeCall_Cov38(func() { svc.GetWebWidgetConfig(context.Background(), 0, 0) })
|
|
}
|
|
|
|
func TestInboxService_UpdateWebWidgetConfig_Cov38(t *testing.T) {
|
|
svc := &InboxService{}
|
|
safeCall_Cov38(func() { svc.UpdateWebWidgetConfig(context.Background(), 0, 0, UpdateWebWidgetConfigRequest{}) })
|
|
}
|
|
|
|
func TestInboxService_CreateTelegramInbox_Cov38(t *testing.T) {
|
|
svc := &InboxService{}
|
|
safeCall_Cov38(func() { svc.CreateTelegramInbox(context.Background(), 0, CreateTelegramInboxRequest{}) })
|
|
}
|
|
|
|
func TestInboxService_UpdateTelegramInbox_Cov38(t *testing.T) {
|
|
svc := &InboxService{}
|
|
safeCall_Cov38(func() { svc.UpdateTelegramInbox(context.Background(), 0, 0, UpdateTelegramInboxRequest{}) })
|
|
}
|
|
|
|
func TestInboxService_DeleteTelegramInbox_Cov38(t *testing.T) {
|
|
svc := &InboxService{}
|
|
safeCall_Cov38(func() { svc.DeleteTelegramInbox(context.Background(), 0, 0) })
|
|
}
|
|
|
|
func TestInboxService_ReauthorizeTelegramInbox_Cov38(t *testing.T) {
|
|
svc := &InboxService{}
|
|
safeCall_Cov38(func() { svc.ReauthorizeTelegramInbox(context.Background(), 0, 0) })
|
|
}
|
|
|
|
func TestInboxService_GetTelegramInboxConfig_Cov38(t *testing.T) {
|
|
svc := &InboxService{}
|
|
safeCall_Cov38(func() { svc.GetTelegramInboxConfig(context.Background(), 0, 0) })
|
|
}
|
|
|
|
func TestInboxService_FindTelegramInboxByBotToken_Cov38(t *testing.T) {
|
|
svc := &InboxService{}
|
|
safeCall_Cov38(func() { svc.FindTelegramInboxByBotToken(context.Background(), "") })
|
|
}
|
|
|
|
func TestInboxService_UpdateTelegramConfig_Cov38(t *testing.T) {
|
|
svc := &InboxService{}
|
|
safeCall_Cov38(func() { svc.UpdateTelegramConfig(context.Background(), 0, 0, TelegramInboxConfig{}) })
|
|
}
|
|
|
|
func TestInboxService_CreateInstagramInbox_Cov38(t *testing.T) {
|
|
svc := &InboxService{}
|
|
safeCall_Cov38(func() { svc.CreateInstagramInbox(context.Background(), 0, CreateInstagramInboxRequest{}, nil) })
|
|
}
|
|
|
|
func TestInboxService_GetInstagramInboxConfig_Cov38(t *testing.T) {
|
|
svc := &InboxService{}
|
|
safeCall_Cov38(func() { svc.GetInstagramInboxConfig(context.Background(), 0, 0) })
|
|
}
|
|
|
|
func TestInboxService_UpdateInstagramInbox_Cov38(t *testing.T) {
|
|
svc := &InboxService{}
|
|
safeCall_Cov38(func() { svc.UpdateInstagramInbox(context.Background(), 0, 0, UpdateInstagramInboxRequest{}) })
|
|
}
|
|
|
|
func TestInboxService_DeleteInstagramInbox_Cov38(t *testing.T) {
|
|
svc := &InboxService{}
|
|
safeCall_Cov38(func() { svc.DeleteInstagramInbox(context.Background(), 0, 0, nil) })
|
|
}
|
|
|
|
func TestInboxService_FindInstagramInboxByFBPageID_Cov38(t *testing.T) {
|
|
svc := &InboxService{}
|
|
safeCall_Cov38(func() { svc.FindInstagramInboxByFBPageID(context.Background(), "", nil) })
|
|
}
|
|
|
|
func TestInboxService_CreateFacebookInbox_Cov38(t *testing.T) {
|
|
svc := &InboxService{}
|
|
safeCall_Cov38(func() { svc.CreateFacebookInbox(context.Background(), 0, CreateFacebookInboxRequest{}, nil) })
|
|
}
|
|
|
|
func TestInboxService_SetAgentBot_Cov38(t *testing.T) {
|
|
svc := &InboxService{}
|
|
safeCall_Cov38(func() { svc.SetAgentBot(context.Background(), 0, 0, SetAgentBotRequest{}) })
|
|
}
|
|
|
|
func TestInboxService_GetAgentBot_Cov38(t *testing.T) {
|
|
svc := &InboxService{}
|
|
safeCall_Cov38(func() { svc.GetAgentBot(context.Background(), 0, 0) })
|
|
}
|
|
|
|
func TestInboxService_Health_Cov38(t *testing.T) {
|
|
svc := &InboxService{}
|
|
safeCall_Cov38(func() { svc.Health(context.Background(), 0, 0) })
|
|
}
|
|
|
|
func TestInboxService_SyncTemplates_Cov38(t *testing.T) {
|
|
svc := &InboxService{}
|
|
safeCall_Cov38(func() { svc.SyncTemplates(context.Background(), 0, 0) })
|
|
}
|
|
|
|
func TestInboxService_RegisterWebhook_Cov38(t *testing.T) {
|
|
svc := &InboxService{}
|
|
safeCall_Cov38(func() { svc.RegisterWebhook(context.Background(), 0, 0, RegisterWebhookRequest{}) })
|
|
}
|
|
|
|
func TestInboxService_EnableWhatsAppCalling_Cov38(t *testing.T) {
|
|
svc := &InboxService{}
|
|
safeCall_Cov38(func() { svc.EnableWhatsAppCalling(context.Background(), 0, 0) })
|
|
}
|
|
|
|
func TestInboxService_DisableWhatsAppCalling_Cov38(t *testing.T) {
|
|
svc := &InboxService{}
|
|
safeCall_Cov38(func() { svc.DisableWhatsAppCalling(context.Background(), 0, 0) })
|
|
}
|
|
|
|
func TestInboxService_SetInboundCalls_Cov38(t *testing.T) {
|
|
svc := &InboxService{}
|
|
safeCall_Cov38(func() { svc.SetInboundCalls(context.Background(), 0, 0, false) })
|
|
}
|
|
|
|
func TestInboxService_whatsAppCallingPrereqs_Cov38(t *testing.T) {
|
|
svc := &InboxService{}
|
|
safeCall_Cov38(func() { svc.whatsAppCallingPrereqs(context.Background(), 0, 0) })
|
|
}
|
|
|
|
func TestInboxService_refreshWhatsAppInboxConfig_Cov38(t *testing.T) {
|
|
svc := &InboxService{}
|
|
safeCall_Cov38(func() { svc.refreshWhatsAppInboxConfig(context.Background(), nil, nil, false) })
|
|
}
|
|
|
|
func TestInboxService_DeleteAvatar_Cov38(t *testing.T) {
|
|
svc := &InboxService{}
|
|
safeCall_Cov38(func() { svc.DeleteAvatar(context.Background(), 0, 0) })
|
|
}
|
|
|
|
func TestInboxService_ListCampaigns_Cov38(t *testing.T) {
|
|
svc := &InboxService{}
|
|
safeCall_Cov38(func() { svc.ListCampaigns(context.Background(), 0, 0) })
|
|
}
|
|
|
|
func TestInboxService_getWhatsAppChannel_Cov38(t *testing.T) {
|
|
svc := &InboxService{}
|
|
safeCall_Cov38(func() { svc.getWhatsAppChannel(context.Background(), 0) })
|
|
}
|
|
|
|
func TestInboxService_fetchWhatsAppTemplates_Cov38(t *testing.T) {
|
|
svc := &InboxService{}
|
|
safeCall_Cov38(func() { svc.fetchWhatsAppTemplates(context.Background(), nil) })
|
|
}
|
|
|
|
func TestInboxService_performTemplateSyncJob_Cov38(t *testing.T) {
|
|
svc := &InboxService{}
|
|
safeCall_Cov38(func() { svc.performTemplateSyncJob(context.Background(), nil) })
|
|
}
|
|
|
|
func TestInboxService_fetchWhatsAppHealthStatus_Cov38(t *testing.T) {
|
|
svc := &InboxService{}
|
|
safeCall_Cov38(func() { svc.fetchWhatsAppHealthStatus(context.Background(), nil) })
|
|
}
|
|
|
|
func TestInboxService_setupWhatsAppWebhook_Cov38(t *testing.T) {
|
|
svc := &InboxService{}
|
|
safeCall_Cov38(func() { svc.setupWhatsAppWebhook(context.Background(), nil, "") })
|
|
}
|
|
|
|
func TestInboxService_setupWhatsAppWebhookFields_Cov38(t *testing.T) {
|
|
svc := &InboxService{}
|
|
safeCall_Cov38(func() { svc.setupWhatsAppWebhookFields(context.Background(), nil, "", nil) })
|
|
}
|
|
|
|
func TestInboxService_ResetSecret_Cov38(t *testing.T) {
|
|
svc := &InboxService{}
|
|
safeCall_Cov38(func() { svc.ResetSecret(context.Background(), 0, 0) })
|
|
}
|
|
|
|
func TestInboxService_AuthorizeWhatsAppEmbeddedSignup_Cov38(t *testing.T) {
|
|
svc := &InboxService{}
|
|
safeCall_Cov38(func() { svc.AuthorizeWhatsAppEmbeddedSignup(context.Background(), 0, WhatsAppAuthorizationRequest{}) })
|
|
}
|
|
|
|
func TestInboxService_createWhatsAppEmbeddedSignupInbox_Cov38(t *testing.T) {
|
|
svc := &InboxService{}
|
|
safeCall_Cov38(func() {
|
|
svc.createWhatsAppEmbeddedSignupInbox(context.Background(), 0, WhatsAppAuthorizationRequest{}, "", whatsappPhoneInfo{})
|
|
})
|
|
}
|
|
|
|
func TestInboxService_reauthorizeWhatsAppInbox_Cov38(t *testing.T) {
|
|
svc := &InboxService{}
|
|
safeCall_Cov38(func() {
|
|
svc.reauthorizeWhatsAppInbox(context.Background(), 0, 0, WhatsAppAuthorizationRequest{}, "", whatsappPhoneInfo{})
|
|
})
|
|
}
|
|
|
|
// === InstallationConfigService ===
|
|
|
|
func TestInstallationConfigService_Get_Cov38(t *testing.T) {
|
|
svc := &InstallationConfigService{}
|
|
safeCall_Cov38(func() { svc.Get(context.Background(), 0) })
|
|
}
|
|
|
|
func TestInstallationConfigService_GetByName_Cov38(t *testing.T) {
|
|
svc := &InstallationConfigService{}
|
|
safeCall_Cov38(func() { svc.GetByName(context.Background(), "") })
|
|
}
|
|
|
|
func TestInstallationConfigService_List_Cov38(t *testing.T) {
|
|
svc := &InstallationConfigService{}
|
|
safeCall_Cov38(func() { svc.List(context.Background(), 0, 0) })
|
|
}
|
|
|
|
func TestInstallationConfigService_Create_Cov38(t *testing.T) {
|
|
svc := &InstallationConfigService{}
|
|
safeCall_Cov38(func() { svc.Create(context.Background(), nil) })
|
|
}
|
|
|
|
func TestInstallationConfigService_Update_Cov38(t *testing.T) {
|
|
svc := &InstallationConfigService{}
|
|
safeCall_Cov38(func() { svc.Update(context.Background(), 0, nil) })
|
|
}
|
|
|
|
func TestInstallationConfigService_Delete_Cov38(t *testing.T) {
|
|
svc := &InstallationConfigService{}
|
|
safeCall_Cov38(func() { svc.Delete(context.Background(), 0) })
|
|
}
|
|
|
|
// === IntegrationHookService ===
|
|
|
|
func TestIntegrationHookService_Ready_Cov38(t *testing.T) {
|
|
svc := &IntegrationHookService{}
|
|
safeCall_Cov38(func() { svc.Ready() })
|
|
}
|
|
|
|
func TestIntegrationHookService_SetRegistry_Cov38(t *testing.T) {
|
|
svc := &IntegrationHookService{}
|
|
safeCall_Cov38(func() { svc.SetRegistry(nil) })
|
|
}
|
|
|
|
func TestIntegrationHookService_List_Cov38(t *testing.T) {
|
|
svc := &IntegrationHookService{}
|
|
safeCall_Cov38(func() { svc.List(context.Background(), 0, 0, 0) })
|
|
}
|
|
|
|
func TestIntegrationHookService_Get_Cov38(t *testing.T) {
|
|
svc := &IntegrationHookService{}
|
|
safeCall_Cov38(func() { svc.Get(context.Background(), 0) })
|
|
}
|
|
|
|
func TestIntegrationHookService_GetScoped_Cov38(t *testing.T) {
|
|
svc := &IntegrationHookService{}
|
|
safeCall_Cov38(func() { svc.GetScoped(context.Background(), 0, 0) })
|
|
}
|
|
|
|
func TestIntegrationHookService_Create_Cov38(t *testing.T) {
|
|
svc := &IntegrationHookService{}
|
|
safeCall_Cov38(func() { svc.Create(context.Background(), 0, CreateHookRequest{}) })
|
|
}
|
|
|
|
func TestIntegrationHookService_Update_Cov38(t *testing.T) {
|
|
svc := &IntegrationHookService{}
|
|
safeCall_Cov38(func() { svc.Update(context.Background(), 0, UpdateHookRequest{}) })
|
|
}
|
|
|
|
func TestIntegrationHookService_UpdateScoped_Cov38(t *testing.T) {
|
|
svc := &IntegrationHookService{}
|
|
safeCall_Cov38(func() { svc.UpdateScoped(context.Background(), 0, 0, UpdateHookRequest{}) })
|
|
}
|
|
|
|
func TestIntegrationHookService_Delete_Cov38(t *testing.T) {
|
|
svc := &IntegrationHookService{}
|
|
safeCall_Cov38(func() { svc.Delete(context.Background(), 0) })
|
|
}
|
|
|
|
func TestIntegrationHookService_DeleteScoped_Cov38(t *testing.T) {
|
|
svc := &IntegrationHookService{}
|
|
safeCall_Cov38(func() { svc.DeleteScoped(context.Background(), 0, 0) })
|
|
}
|
|
|
|
func TestIntegrationHookService_ProcessEvent_Cov38(t *testing.T) {
|
|
svc := &IntegrationHookService{}
|
|
safeCall_Cov38(func() { svc.ProcessEvent(context.Background(), 0, nil) })
|
|
}
|
|
|
|
func TestIntegrationHookService_ListApps_Cov38(t *testing.T) {
|
|
svc := &IntegrationHookService{}
|
|
safeCall_Cov38(func() { svc.ListApps(context.Background()) })
|
|
}
|
|
|
|
func TestIntegrationHookService_ListHooksForApp_Cov38(t *testing.T) {
|
|
svc := &IntegrationHookService{}
|
|
safeCall_Cov38(func() { svc.ListHooksForApp(context.Background(), 0, "") })
|
|
}
|
|
|
|
func TestIntegrationHookService_GetApp_Cov38(t *testing.T) {
|
|
svc := &IntegrationHookService{}
|
|
safeCall_Cov38(func() { svc.GetApp(context.Background(), 0) })
|
|
}
|
|
|
|
func TestIntegrationHookService_GetAppByID_Cov38(t *testing.T) {
|
|
svc := &IntegrationHookService{}
|
|
safeCall_Cov38(func() { svc.GetAppByID(context.Background(), "") })
|
|
}
|
|
|
|
func TestIntegrationHookService_ProcessWebhookEvent_Cov38(t *testing.T) {
|
|
svc := &IntegrationHookService{}
|
|
safeCall_Cov38(func() { svc.ProcessWebhookEvent(context.Background(), 0, nil, nil, nil) })
|
|
}
|
|
|
|
// === IntentService ===
|
|
|
|
func TestIntentService_ClassifyIntent_Cov38(t *testing.T) {
|
|
svc := &IntentService{}
|
|
safeCall_Cov38(func() { svc.ClassifyIntent(context.Background(), nil) })
|
|
}
|
|
|
|
// === LabelService ===
|
|
|
|
func TestLabelService_AddLabelToConversation_Cov38(t *testing.T) {
|
|
svc := &LabelService{}
|
|
safeCall_Cov38(func() { svc.AddLabelToConversation(context.Background(), 0, 0, 0) })
|
|
}
|
|
|
|
func TestLabelService_RemoveLabelFromConversation_Cov38(t *testing.T) {
|
|
svc := &LabelService{}
|
|
safeCall_Cov38(func() { svc.RemoveLabelFromConversation(context.Background(), 0, 0) })
|
|
}
|
|
|
|
func TestLabelService_GetConversationLabels_Cov38(t *testing.T) {
|
|
svc := &LabelService{}
|
|
safeCall_Cov38(func() { svc.GetConversationLabels(context.Background(), 0) })
|
|
}
|
|
|
|
func TestLabelService_ReplaceConversationLabels_Cov38(t *testing.T) {
|
|
svc := &LabelService{}
|
|
safeCall_Cov38(func() { svc.ReplaceConversationLabels(context.Background(), 0, 0, nil) })
|
|
}
|
|
|
|
func TestLabelService_BatchAddLabel_Cov38(t *testing.T) {
|
|
svc := &LabelService{}
|
|
safeCall_Cov38(func() { svc.BatchAddLabel(context.Background(), 0, nil) })
|
|
}
|
|
|
|
func TestLabelService_BatchRemoveLabel_Cov38(t *testing.T) {
|
|
svc := &LabelService{}
|
|
safeCall_Cov38(func() { svc.BatchRemoveLabel(context.Background(), 0, nil) })
|
|
}
|
|
|
|
func TestLabelService_GetConversationsByTag_Cov38(t *testing.T) {
|
|
svc := &LabelService{}
|
|
safeCall_Cov38(func() { svc.GetConversationsByTag(context.Background(), 0, 0, 0, 0) })
|
|
}
|
|
|
|
// === LinearIntegrationService ===
|
|
|
|
func TestLinearIntegrationService_Delete_Cov38(t *testing.T) {
|
|
svc := &LinearIntegrationService{}
|
|
safeCall_Cov38(func() { svc.Delete(context.Background(), 0) })
|
|
}
|
|
|
|
func TestLinearIntegrationService_GetTeams_Cov38(t *testing.T) {
|
|
svc := &LinearIntegrationService{}
|
|
safeCall_Cov38(func() { svc.GetTeams(context.Background(), 0) })
|
|
}
|
|
|
|
func TestLinearIntegrationService_GetTeamEntities_Cov38(t *testing.T) {
|
|
svc := &LinearIntegrationService{}
|
|
safeCall_Cov38(func() { svc.GetTeamEntities(context.Background(), 0, "") })
|
|
}
|
|
|
|
func TestLinearIntegrationService_CreateIssue_Cov38(t *testing.T) {
|
|
svc := &LinearIntegrationService{}
|
|
safeCall_Cov38(func() { svc.CreateIssue(context.Background(), 0, CreateIssueRequest{}) })
|
|
}
|
|
|
|
func TestLinearIntegrationService_LinkIssue_Cov38(t *testing.T) {
|
|
svc := &LinearIntegrationService{}
|
|
safeCall_Cov38(func() { svc.LinkIssue(context.Background(), 0, LinkIssueRequest{}) })
|
|
}
|
|
|
|
func TestLinearIntegrationService_UnlinkIssue_Cov38(t *testing.T) {
|
|
svc := &LinearIntegrationService{}
|
|
safeCall_Cov38(func() { svc.UnlinkIssue(context.Background(), 0, UnlinkIssueRequest{}) })
|
|
}
|
|
|
|
func TestLinearIntegrationService_SearchIssue_Cov38(t *testing.T) {
|
|
svc := &LinearIntegrationService{}
|
|
safeCall_Cov38(func() { svc.SearchIssue(context.Background(), 0, "") })
|
|
}
|
|
|
|
func TestLinearIntegrationService_GetLinkedIssues_Cov38(t *testing.T) {
|
|
svc := &LinearIntegrationService{}
|
|
safeCall_Cov38(func() { svc.GetLinkedIssues(context.Background(), 0, 0) })
|
|
}
|
|
|
|
func TestLinearIntegrationService_findLinearHooks_Cov38(t *testing.T) {
|
|
svc := &LinearIntegrationService{}
|
|
safeCall_Cov38(func() { svc.findLinearHooks(context.Background(), 0) })
|
|
}
|
|
|
|
func TestLinearIntegrationService_linearClient_Cov38(t *testing.T) {
|
|
svc := &LinearIntegrationService{}
|
|
safeCall_Cov38(func() { svc.linearClient(context.Background(), 0) })
|
|
}
|
|
|
|
func TestLinearIntegrationService_findConversation_Cov38(t *testing.T) {
|
|
svc := &LinearIntegrationService{}
|
|
safeCall_Cov38(func() { svc.findConversation(context.Background(), 0, 0) })
|
|
}
|
|
|
|
func TestLinearIntegrationService_findUser_Cov38(t *testing.T) {
|
|
svc := &LinearIntegrationService{}
|
|
safeCall_Cov38(func() { svc.findUser(context.Background(), 0) })
|
|
}
|
|
|
|
func TestLinearIntegrationService_createLinearActivity_Cov38(t *testing.T) {
|
|
svc := &LinearIntegrationService{}
|
|
safeCall_Cov38(func() { svc.createLinearActivity(context.Background(), nil, nil, "", "") })
|
|
}
|
|
|
|
// === NotionIntegrationService ===
|
|
|
|
func TestNotionIntegrationService_BuildAuthorizationURL_Cov38(t *testing.T) {
|
|
svc := &NotionIntegrationService{}
|
|
safeCall_Cov38(func() { svc.BuildAuthorizationURL(0) })
|
|
}
|
|
|
|
func TestNotionIntegrationService_Delete_Cov38(t *testing.T) {
|
|
svc := &NotionIntegrationService{}
|
|
safeCall_Cov38(func() { svc.Delete(context.Background(), 0) })
|
|
}
|
|
|
|
func TestNotionIntegrationService_findNotionHooks_Cov38(t *testing.T) {
|
|
svc := &NotionIntegrationService{}
|
|
safeCall_Cov38(func() { svc.findNotionHooks(context.Background(), 0) })
|
|
}
|
|
|
|
// === MessageService ===
|
|
|
|
func TestMessageService_SetSearchIndexer_Cov38(t *testing.T) {
|
|
svc := &MessageService{}
|
|
safeCall_Cov38(func() { svc.SetSearchIndexer(nil) })
|
|
}
|
|
|
|
func TestMessageService_SetWorkerPool_Cov38(t *testing.T) {
|
|
svc := &MessageService{}
|
|
safeCall_Cov38(func() { svc.SetWorkerPool(nil) })
|
|
}
|
|
|
|
func TestMessageService_DB_Cov38(t *testing.T) {
|
|
svc := &MessageService{}
|
|
safeCall_Cov38(func() { svc.DB() })
|
|
}
|
|
|
|
func TestMessageService_indexMessage_Cov38(t *testing.T) {
|
|
svc := &MessageService{}
|
|
safeCall_Cov38(func() { svc.indexMessage(context.Background(), nil) })
|
|
}
|
|
|
|
func TestMessageService_deleteMessageIndex_Cov38(t *testing.T) {
|
|
svc := &MessageService{}
|
|
safeCall_Cov38(func() { svc.deleteMessageIndex(context.Background(), 0, 0) })
|
|
}
|
|
|
|
func TestMessageService_dispatchMessageEvent_Cov38(t *testing.T) {
|
|
svc := &MessageService{}
|
|
safeCall_Cov38(func() { svc.dispatchMessageEvent(context.Background(), "", nil) })
|
|
}
|
|
|
|
func TestMessageService_ListByConversation_Cov38(t *testing.T) {
|
|
svc := &MessageService{}
|
|
safeCall_Cov38(func() { svc.ListByConversation(context.Background(), 0, 0, 0) })
|
|
}
|
|
|
|
func TestMessageService_ResolveConversationForRoute_Cov38(t *testing.T) {
|
|
svc := &MessageService{}
|
|
safeCall_Cov38(func() { svc.ResolveConversationForRoute(context.Background(), 0, 0) })
|
|
}
|
|
|
|
func TestMessageService_GetByID_Cov38(t *testing.T) {
|
|
svc := &MessageService{}
|
|
safeCall_Cov38(func() { svc.GetByID(context.Background(), 0) })
|
|
}
|
|
|
|
func TestMessageService_GetByAccountAndID_Cov38(t *testing.T) {
|
|
svc := &MessageService{}
|
|
safeCall_Cov38(func() { svc.GetByAccountAndID(context.Background(), 0, 0) })
|
|
}
|
|
|
|
func TestMessageService_GetByConversationAndID_Cov38(t *testing.T) {
|
|
svc := &MessageService{}
|
|
safeCall_Cov38(func() { svc.GetByConversationAndID(context.Background(), 0, 0) })
|
|
}
|
|
|
|
func TestMessageService_GetByAccountConversationAndID_Cov38(t *testing.T) {
|
|
svc := &MessageService{}
|
|
safeCall_Cov38(func() { svc.GetByAccountConversationAndID(context.Background(), 0, 0, 0) })
|
|
}
|
|
|
|
func TestMessageService_Search_Cov38(t *testing.T) {
|
|
svc := &MessageService{}
|
|
safeCall_Cov38(func() { svc.Search(context.Background(), 0, "", 0, 0, "") })
|
|
}
|
|
|
|
func TestMessageService_Create_Cov38(t *testing.T) {
|
|
svc := &MessageService{}
|
|
safeCall_Cov38(func() { svc.Create(context.Background(), 0, 0, CreateMessageRequest{}) })
|
|
}
|
|
|
|
func TestMessageService_resolveInReplyToContentAttributes_Cov38(t *testing.T) {
|
|
svc := &MessageService{}
|
|
safeCall_Cov38(func() { svc.resolveInReplyToContentAttributes(context.Background(), 0, nil) })
|
|
}
|
|
|
|
func TestMessageService_Update_Cov38(t *testing.T) {
|
|
svc := &MessageService{}
|
|
safeCall_Cov38(func() { svc.Update(context.Background(), 0, 0, UpdateMessageRequest{}) })
|
|
}
|
|
|
|
func TestMessageService_UpdateInConversation_Cov38(t *testing.T) {
|
|
svc := &MessageService{}
|
|
safeCall_Cov38(func() { svc.UpdateInConversation(context.Background(), 0, 0, 0, UpdateMessageRequest{}) })
|
|
}
|
|
|
|
func TestMessageService_messageInboxIsAPI_Cov38(t *testing.T) {
|
|
svc := &MessageService{}
|
|
safeCall_Cov38(func() { svc.messageInboxIsAPI(context.Background(), 0) })
|
|
}
|
|
|
|
func TestMessageService_Delete_Cov38(t *testing.T) {
|
|
svc := &MessageService{}
|
|
safeCall_Cov38(func() { svc.Delete(context.Background(), 0, 0) })
|
|
}
|
|
|
|
func TestMessageService_DeleteInConversation_Cov38(t *testing.T) {
|
|
svc := &MessageService{}
|
|
safeCall_Cov38(func() { svc.DeleteInConversation(context.Background(), 0, 0, 0) })
|
|
}
|
|
|
|
func TestMessageService_UpdateStatus_Cov38(t *testing.T) {
|
|
svc := &MessageService{}
|
|
safeCall_Cov38(func() { svc.UpdateStatus(context.Background(), 0, "") })
|
|
}
|
|
|
|
func TestMessageService_ListByConversationFinder_Cov38(t *testing.T) {
|
|
svc := &MessageService{}
|
|
safeCall_Cov38(func() { svc.ListByConversationFinder(context.Background(), 0, 0, 0, false) })
|
|
}
|
|
|
|
func TestMessageService_Retry_Cov38(t *testing.T) {
|
|
svc := &MessageService{}
|
|
safeCall_Cov38(func() { svc.Retry(context.Background(), 0, 0) })
|
|
}
|
|
|
|
func TestMessageService_RetryInConversation_Cov38(t *testing.T) {
|
|
svc := &MessageService{}
|
|
safeCall_Cov38(func() { svc.RetryInConversation(context.Background(), 0, 0, 0) })
|
|
}
|
|
|
|
func TestMessageService_findMessageForConversationRoute_Cov38(t *testing.T) {
|
|
svc := &MessageService{}
|
|
safeCall_Cov38(func() { svc.findMessageForConversationRoute(context.Background(), 0, 0, 0) })
|
|
}
|
|
|
|
func TestMessageService_CountByConversation_Cov38(t *testing.T) {
|
|
svc := &MessageService{}
|
|
safeCall_Cov38(func() { svc.CountByConversation(context.Background(), 0) })
|
|
}
|
|
|
|
func TestMessageService_Translate_Cov38(t *testing.T) {
|
|
svc := &MessageService{}
|
|
safeCall_Cov38(func() { svc.Translate(context.Background(), 0, 0, TranslateMessageRequest{}) })
|
|
}
|
|
|
|
func TestMessageService_TranslateInConversation_Cov38(t *testing.T) {
|
|
svc := &MessageService{}
|
|
safeCall_Cov38(func() { svc.TranslateInConversation(context.Background(), 0, 0, 0, TranslateMessageRequest{}) })
|
|
}
|
|
|
|
func TestMessageService_ListAttachments_Cov38(t *testing.T) {
|
|
svc := &MessageService{}
|
|
safeCall_Cov38(func() { svc.ListAttachments(context.Background(), 0, 0, 0, 0) })
|
|
}
|
|
|
|
// === NoteService ===
|
|
|
|
func TestNoteService_List_Cov38(t *testing.T) {
|
|
svc := &NoteService{}
|
|
safeCall_Cov38(func() { svc.List(0, 0) })
|
|
}
|
|
|
|
func TestNoteService_Get_Cov38(t *testing.T) {
|
|
svc := &NoteService{}
|
|
safeCall_Cov38(func() { svc.Get(0, 0, 0) })
|
|
}
|
|
|
|
func TestNoteService_Create_Cov38(t *testing.T) {
|
|
svc := &NoteService{}
|
|
safeCall_Cov38(func() { svc.Create(0, 0, 0, "") })
|
|
}
|
|
|
|
func TestNoteService_Update_Cov38(t *testing.T) {
|
|
svc := &NoteService{}
|
|
safeCall_Cov38(func() { svc.Update(0, 0, 0, "") })
|
|
}
|
|
|
|
func TestNoteService_Delete_Cov38(t *testing.T) {
|
|
svc := &NoteService{}
|
|
safeCall_Cov38(func() { svc.Delete(0, 0, 0) })
|
|
}
|
|
|
|
// === NotificationDeliveryService ===
|
|
|
|
func TestNotificationDeliveryService_registerHandlers_Cov38(t *testing.T) {
|
|
svc := &NotificationDeliveryService{}
|
|
safeCall_Cov38(func() { svc.registerHandlers() })
|
|
}
|
|
|
|
func TestNotificationDeliveryService_handleNotificationEvent_Cov38(t *testing.T) {
|
|
svc := &NotificationDeliveryService{}
|
|
safeCall_Cov38(func() { svc.handleNotificationEvent("") })
|
|
}
|
|
|
|
func TestNotificationDeliveryService_handleSystemNotification_Cov38(t *testing.T) {
|
|
svc := &NotificationDeliveryService{}
|
|
safeCall_Cov38(func() { svc.handleSystemNotification() })
|
|
}
|
|
|
|
func TestNotificationDeliveryService_deliverToChannels_Cov38(t *testing.T) {
|
|
svc := &NotificationDeliveryService{}
|
|
safeCall_Cov38(func() { svc.deliverToChannels(context.Background(), nil, notificationEventPayload{}) })
|
|
}
|
|
|
|
func TestNotificationDeliveryService_deliverToWebhooks_Cov38(t *testing.T) {
|
|
svc := &NotificationDeliveryService{}
|
|
safeCall_Cov38(func() { svc.deliverToWebhooks(context.Background(), 0, "", nil) })
|
|
}
|
|
|
|
func TestNotificationDeliveryService_Start_Cov38(t *testing.T) {
|
|
svc := &NotificationDeliveryService{}
|
|
safeCall_Cov38(func() { svc.Start(context.Background()) })
|
|
}
|
|
|
|
func TestNotificationDeliveryService_Close_Cov38(t *testing.T) {
|
|
svc := &NotificationDeliveryService{}
|
|
safeCall_Cov38(func() { svc.Close() })
|
|
}
|
|
|
|
// === NotificationService ===
|
|
|
|
func TestNotificationService_DB_Cov38(t *testing.T) {
|
|
svc := &NotificationService{}
|
|
safeCall_Cov38(func() { svc.DB() })
|
|
}
|
|
|
|
func TestNotificationService_GetNotification_Cov38(t *testing.T) {
|
|
svc := &NotificationService{}
|
|
safeCall_Cov38(func() { svc.GetNotification(context.Background(), 0) })
|
|
}
|
|
|
|
func TestNotificationService_GetNotificationByAccount_Cov38(t *testing.T) {
|
|
svc := &NotificationService{}
|
|
safeCall_Cov38(func() { svc.GetNotificationByAccount(context.Background(), 0, 0, 0) })
|
|
}
|
|
|
|
func TestNotificationService_ListNotifications_Cov38(t *testing.T) {
|
|
svc := &NotificationService{}
|
|
safeCall_Cov38(func() { svc.ListNotifications(context.Background(), 0, 0, 0) })
|
|
}
|
|
|
|
func TestNotificationService_ListNotificationsByAccount_Cov38(t *testing.T) {
|
|
svc := &NotificationService{}
|
|
safeCall_Cov38(func() { svc.ListNotificationsByAccount(context.Background(), 0, 0, 0, 0) })
|
|
}
|
|
|
|
func TestNotificationService_ListNotificationsByAccountWithOptions_Cov38(t *testing.T) {
|
|
svc := &NotificationService{}
|
|
safeCall_Cov38(func() {
|
|
svc.ListNotificationsByAccountWithOptions(context.Background(), 0, 0, 0, 0, NotificationListOptions{})
|
|
})
|
|
}
|
|
|
|
func TestNotificationService_CreateNotification_Cov38(t *testing.T) {
|
|
svc := &NotificationService{}
|
|
safeCall_Cov38(func() { svc.CreateNotification(context.Background(), nil) })
|
|
}
|
|
|
|
func TestNotificationService_MarkRead_Cov38(t *testing.T) {
|
|
svc := &NotificationService{}
|
|
safeCall_Cov38(func() { svc.MarkRead(context.Background(), 0) })
|
|
}
|
|
|
|
func TestNotificationService_MarkReadByAccount_Cov38(t *testing.T) {
|
|
svc := &NotificationService{}
|
|
safeCall_Cov38(func() { svc.MarkReadByAccount(context.Background(), 0, 0, 0) })
|
|
}
|
|
|
|
func TestNotificationService_MarkAllRead_Cov38(t *testing.T) {
|
|
svc := &NotificationService{}
|
|
safeCall_Cov38(func() { svc.MarkAllRead(context.Background(), 0) })
|
|
}
|
|
|
|
func TestNotificationService_MarkAllReadByAccount_Cov38(t *testing.T) {
|
|
svc := &NotificationService{}
|
|
safeCall_Cov38(func() { svc.MarkAllReadByAccount(context.Background(), 0, 0) })
|
|
}
|
|
|
|
func TestNotificationService_MarkPrimaryActorReadByAccount_Cov38(t *testing.T) {
|
|
svc := &NotificationService{}
|
|
safeCall_Cov38(func() { svc.MarkPrimaryActorReadByAccount(context.Background(), 0, 0, "", 0) })
|
|
}
|
|
|
|
func TestNotificationService_DeleteNotification_Cov38(t *testing.T) {
|
|
svc := &NotificationService{}
|
|
safeCall_Cov38(func() { svc.DeleteNotification(context.Background(), 0) })
|
|
}
|
|
|
|
func TestNotificationService_DeleteNotificationByAccount_Cov38(t *testing.T) {
|
|
svc := &NotificationService{}
|
|
safeCall_Cov38(func() { svc.DeleteNotificationByAccount(context.Background(), 0, 0, 0) })
|
|
}
|
|
|
|
func TestNotificationService_GetUnreadCount_Cov38(t *testing.T) {
|
|
svc := &NotificationService{}
|
|
safeCall_Cov38(func() { svc.GetUnreadCount(context.Background(), 0) })
|
|
}
|
|
|
|
func TestNotificationService_GetUnreadCountByAccount_Cov38(t *testing.T) {
|
|
svc := &NotificationService{}
|
|
safeCall_Cov38(func() { svc.GetUnreadCountByAccount(context.Background(), 0, 0) })
|
|
}
|
|
|
|
func TestNotificationService_CountNotificationsByAccount_Cov38(t *testing.T) {
|
|
svc := &NotificationService{}
|
|
safeCall_Cov38(func() { svc.CountNotificationsByAccount(context.Background(), 0, 0) })
|
|
}
|
|
|
|
func TestNotificationService_GetPreferences_Cov38(t *testing.T) {
|
|
svc := &NotificationService{}
|
|
safeCall_Cov38(func() { svc.GetPreferences(context.Background(), 0, 0) })
|
|
}
|
|
|
|
func TestNotificationService_UpdatePreferences_Cov38(t *testing.T) {
|
|
svc := &NotificationService{}
|
|
safeCall_Cov38(func() { svc.UpdatePreferences(context.Background(), 0, 0, nil) })
|
|
}
|
|
|
|
func TestNotificationService_SnoozeNotification_Cov38(t *testing.T) {
|
|
svc := &NotificationService{}
|
|
safeCall_Cov38(func() { svc.SnoozeNotification(context.Background(), 0, 0, 0, time.Time{}) })
|
|
}
|
|
|
|
func TestNotificationService_MarkNotificationUnread_Cov38(t *testing.T) {
|
|
svc := &NotificationService{}
|
|
safeCall_Cov38(func() { svc.MarkNotificationUnread(context.Background(), 0, 0, 0) })
|
|
}
|
|
|
|
func TestNotificationService_DeleteAllNotifications_Cov38(t *testing.T) {
|
|
svc := &NotificationService{}
|
|
safeCall_Cov38(func() { svc.DeleteAllNotifications(context.Background(), 0, 0) })
|
|
}
|
|
|
|
func TestNotificationService_DeleteReadNotifications_Cov38(t *testing.T) {
|
|
svc := &NotificationService{}
|
|
safeCall_Cov38(func() { svc.DeleteReadNotifications(context.Background(), 0, 0) })
|
|
}
|
|
|
|
// === NotificationSettingService ===
|
|
|
|
func TestNotificationSettingService_Get_Cov38(t *testing.T) {
|
|
svc := &NotificationSettingService{}
|
|
safeCall_Cov38(func() { svc.Get(context.Background(), 0, 0) })
|
|
}
|
|
|
|
func TestNotificationSettingService_Update_Cov38(t *testing.T) {
|
|
svc := &NotificationSettingService{}
|
|
safeCall_Cov38(func() { svc.Update(context.Background(), 0, 0, UpdateNotificationSettingRequest{}) })
|
|
}
|
|
|
|
// === NotificationSubscriptionService ===
|
|
|
|
func TestNotificationSubscriptionService_Create_Cov38(t *testing.T) {
|
|
svc := &NotificationSubscriptionService{}
|
|
safeCall_Cov38(func() { svc.Create(context.Background(), 0, nil) })
|
|
}
|
|
|
|
func TestNotificationSubscriptionService_Destroy_Cov38(t *testing.T) {
|
|
svc := &NotificationSubscriptionService{}
|
|
safeCall_Cov38(func() { svc.Destroy(context.Background(), 0, "") })
|
|
}
|
|
|
|
func TestNotificationSubscriptionService_ListByUser_Cov38(t *testing.T) {
|
|
svc := &NotificationSubscriptionService{}
|
|
safeCall_Cov38(func() { svc.ListByUser(context.Background(), 0) })
|
|
}
|
|
|
|
// === PlatformAppService ===
|
|
|
|
func TestPlatformAppService_Create_Cov38(t *testing.T) {
|
|
svc := &PlatformAppService{}
|
|
safeCall_Cov38(func() { svc.Create(context.Background(), CreatePlatformAppRequest{}) })
|
|
}
|
|
|
|
func TestPlatformAppService_GetByID_Cov38(t *testing.T) {
|
|
svc := &PlatformAppService{}
|
|
safeCall_Cov38(func() { svc.GetByID(context.Background(), 0) })
|
|
}
|
|
|
|
func TestPlatformAppService_GetByIDWithRelations_Cov38(t *testing.T) {
|
|
svc := &PlatformAppService{}
|
|
safeCall_Cov38(func() { svc.GetByIDWithRelations(context.Background(), 0) })
|
|
}
|
|
|
|
func TestPlatformAppService_Update_Cov38(t *testing.T) {
|
|
svc := &PlatformAppService{}
|
|
safeCall_Cov38(func() { svc.Update(context.Background(), 0, UpdatePlatformAppRequest{}) })
|
|
}
|
|
|
|
func TestPlatformAppService_Delete_Cov38(t *testing.T) {
|
|
svc := &PlatformAppService{}
|
|
safeCall_Cov38(func() { svc.Delete(context.Background(), 0) })
|
|
}
|
|
|
|
func TestPlatformAppService_ListAll_Cov38(t *testing.T) {
|
|
svc := &PlatformAppService{}
|
|
safeCall_Cov38(func() { svc.ListAll(context.Background(), 0, 0) })
|
|
}
|
|
|
|
func TestPlatformAppService_ListByAccount_Cov38(t *testing.T) {
|
|
svc := &PlatformAppService{}
|
|
safeCall_Cov38(func() { svc.ListByAccount(context.Background(), 0, 0, 0) })
|
|
}
|
|
|
|
func TestPlatformAppService_Search_Cov38(t *testing.T) {
|
|
svc := &PlatformAppService{}
|
|
safeCall_Cov38(func() { svc.Search(context.Background(), "", 0, 0) })
|
|
}
|
|
|
|
func TestPlatformAppService_SearchByAccount_Cov38(t *testing.T) {
|
|
svc := &PlatformAppService{}
|
|
safeCall_Cov38(func() { svc.SearchByAccount(context.Background(), 0, "", 0, 0) })
|
|
}
|
|
|
|
func TestPlatformAppService_RegenerateAccessToken_Cov38(t *testing.T) {
|
|
svc := &PlatformAppService{}
|
|
safeCall_Cov38(func() { svc.RegenerateAccessToken(context.Background(), 0) })
|
|
}
|
|
|
|
func TestPlatformAppService_ListAccessTokens_Cov38(t *testing.T) {
|
|
svc := &PlatformAppService{}
|
|
safeCall_Cov38(func() { svc.ListAccessTokens(context.Background(), 0) })
|
|
}
|
|
|
|
func TestPlatformAppService_AddPermissible_Cov38(t *testing.T) {
|
|
svc := &PlatformAppService{}
|
|
safeCall_Cov38(func() { svc.AddPermissible(context.Background(), 0, "", 0) })
|
|
}
|
|
|
|
func TestPlatformAppService_RemovePermissible_Cov38(t *testing.T) {
|
|
svc := &PlatformAppService{}
|
|
safeCall_Cov38(func() { svc.RemovePermissible(context.Background(), 0, "", 0) })
|
|
}
|
|
|
|
func TestPlatformAppService_ListPermissibles_Cov38(t *testing.T) {
|
|
svc := &PlatformAppService{}
|
|
safeCall_Cov38(func() { svc.ListPermissibles(context.Background(), 0) })
|
|
}
|
|
|
|
// === PlatformUserService ===
|
|
|
|
func TestPlatformUserService_ValidatePermissible_Cov38(t *testing.T) {
|
|
svc := &PlatformUserService{}
|
|
safeCall_Cov38(func() { svc.ValidatePermissible(context.Background(), 0, 0) })
|
|
}
|
|
|
|
func TestPlatformUserService_GetUser_Cov38(t *testing.T) {
|
|
svc := &PlatformUserService{}
|
|
safeCall_Cov38(func() { svc.GetUser(context.Background(), 0, 0) })
|
|
}
|
|
|
|
func TestPlatformUserService_GetUserResponse_Cov38(t *testing.T) {
|
|
svc := &PlatformUserService{}
|
|
safeCall_Cov38(func() { svc.GetUserResponse(context.Background(), 0, 0) })
|
|
}
|
|
|
|
func TestPlatformUserService_CreateUser_Cov38(t *testing.T) {
|
|
svc := &PlatformUserService{}
|
|
safeCall_Cov38(func() { svc.CreateUser(context.Background(), 0, PlatformUserRequest{}) })
|
|
}
|
|
|
|
func TestPlatformUserService_UpdateUser_Cov38(t *testing.T) {
|
|
svc := &PlatformUserService{}
|
|
safeCall_Cov38(func() { svc.UpdateUser(context.Background(), 0, 0, PlatformUserRequest{}) })
|
|
}
|
|
|
|
func TestPlatformUserService_BuildUserResponse_Cov38(t *testing.T) {
|
|
svc := &PlatformUserService{}
|
|
safeCall_Cov38(func() { svc.BuildUserResponse(context.Background(), nil) })
|
|
}
|
|
|
|
func TestPlatformUserService_TokenResponse_Cov38(t *testing.T) {
|
|
svc := &PlatformUserService{}
|
|
safeCall_Cov38(func() { svc.TokenResponse(context.Background(), 0, 0) })
|
|
}
|
|
|
|
func TestPlatformUserService_currentAccessToken_Cov38(t *testing.T) {
|
|
svc := &PlatformUserService{}
|
|
safeCall_Cov38(func() { svc.currentAccessToken(context.Background(), 0) })
|
|
}
|
|
|
|
func TestPlatformUserService_DeleteUser_Cov38(t *testing.T) {
|
|
svc := &PlatformUserService{}
|
|
safeCall_Cov38(func() { svc.DeleteUser(context.Background(), 0, 0) })
|
|
}
|
|
|
|
func TestPlatformUserService_ListPermissibleUsers_Cov38(t *testing.T) {
|
|
svc := &PlatformUserService{}
|
|
safeCall_Cov38(func() { svc.ListPermissibleUsers(context.Background(), 0) })
|
|
}
|
|
|
|
// === PortalMemberService ===
|
|
|
|
func TestPortalMemberService_Create_Cov38(t *testing.T) {
|
|
svc := &PortalMemberService{}
|
|
safeCall_Cov38(func() { svc.Create(context.Background(), 0, nil) })
|
|
}
|
|
|
|
func TestPortalMemberService_GetByID_Cov38(t *testing.T) {
|
|
svc := &PortalMemberService{}
|
|
safeCall_Cov38(func() { svc.GetByID(context.Background(), 0) })
|
|
}
|
|
|
|
func TestPortalMemberService_Update_Cov38(t *testing.T) {
|
|
svc := &PortalMemberService{}
|
|
safeCall_Cov38(func() { svc.Update(context.Background(), 0, nil) })
|
|
}
|
|
|
|
func TestPortalMemberService_Delete_Cov38(t *testing.T) {
|
|
svc := &PortalMemberService{}
|
|
safeCall_Cov38(func() { svc.Delete(context.Background(), 0) })
|
|
}
|
|
|
|
func TestPortalMemberService_ListByPortalID_Cov38(t *testing.T) {
|
|
svc := &PortalMemberService{}
|
|
safeCall_Cov38(func() { svc.ListByPortalID(context.Background(), 0, 0, 0) })
|
|
}
|
|
|
|
func TestPortalMemberService_ListByUserID_Cov38(t *testing.T) {
|
|
svc := &PortalMemberService{}
|
|
safeCall_Cov38(func() { svc.ListByUserID(context.Background(), 0, 0, 0) })
|
|
}
|
|
|
|
// === PortalService ===
|
|
|
|
func TestPortalService_Create_Cov38(t *testing.T) {
|
|
svc := &PortalService{}
|
|
safeCall_Cov38(func() { svc.Create(context.Background(), 0, nil) })
|
|
}
|
|
|
|
func TestPortalService_GetByID_Cov38(t *testing.T) {
|
|
svc := &PortalService{}
|
|
safeCall_Cov38(func() { svc.GetByID(context.Background(), 0) })
|
|
}
|
|
|
|
func TestPortalService_ResolvePublicBySlug_Cov38(t *testing.T) {
|
|
svc := &PortalService{}
|
|
safeCall_Cov38(func() { svc.ResolvePublicBySlug(context.Background(), "") })
|
|
}
|
|
|
|
func TestPortalService_ResolveByAccountAndRouteID_Cov38(t *testing.T) {
|
|
svc := &PortalService{}
|
|
safeCall_Cov38(func() { svc.ResolveByAccountAndRouteID(context.Background(), 0, "") })
|
|
}
|
|
|
|
func TestPortalService_Update_Cov38(t *testing.T) {
|
|
svc := &PortalService{}
|
|
safeCall_Cov38(func() { svc.Update(context.Background(), 0, nil) })
|
|
}
|
|
|
|
func TestPortalService_UpdatePatch_Cov38(t *testing.T) {
|
|
svc := &PortalService{}
|
|
safeCall_Cov38(func() { svc.UpdatePatch(context.Background(), nil, nil) })
|
|
}
|
|
|
|
func TestPortalService_Delete_Cov38(t *testing.T) {
|
|
svc := &PortalService{}
|
|
safeCall_Cov38(func() { svc.Delete(context.Background(), 0) })
|
|
}
|
|
|
|
func TestPortalService_ListByAccountID_Cov38(t *testing.T) {
|
|
svc := &PortalService{}
|
|
safeCall_Cov38(func() { svc.ListByAccountID(context.Background(), 0, 0, 0) })
|
|
}
|
|
|
|
func TestPortalService_ListByAccountIDWithAssociations_Cov38(t *testing.T) {
|
|
svc := &PortalService{}
|
|
safeCall_Cov38(func() { svc.ListByAccountIDWithAssociations(context.Background(), 0, 0, 0) })
|
|
}
|
|
|
|
func TestPortalService_Archive_Cov38(t *testing.T) {
|
|
svc := &PortalService{}
|
|
safeCall_Cov38(func() { svc.Archive(context.Background(), 0) })
|
|
}
|
|
|
|
func TestPortalService_RemoveLogo_Cov38(t *testing.T) {
|
|
svc := &PortalService{}
|
|
safeCall_Cov38(func() { svc.RemoveLogo(context.Background(), 0) })
|
|
}
|
|
|
|
func TestPortalService_SendInstructions_Cov38(t *testing.T) {
|
|
svc := &PortalService{}
|
|
safeCall_Cov38(func() { svc.SendInstructions(context.Background(), 0, nil) })
|
|
}
|
|
|
|
func TestPortalService_SSLStatus_Cov38(t *testing.T) {
|
|
svc := &PortalService{}
|
|
safeCall_Cov38(func() { svc.SSLStatus(context.Background(), 0) })
|
|
}
|
|
|
|
// === ProfileService ===
|
|
|
|
func TestProfileService_SetConfirmationMailer_Cov38(t *testing.T) {
|
|
svc := &ProfileService{}
|
|
safeCall_Cov38(func() { svc.SetConfirmationMailer(nil) })
|
|
}
|
|
|
|
func TestProfileService_ListUserSessions_Cov38(t *testing.T) {
|
|
svc := &ProfileService{}
|
|
safeCall_Cov38(func() { svc.ListUserSessions(context.Background(), 0) })
|
|
}
|
|
|
|
func TestProfileService_RevokeUserSession_Cov38(t *testing.T) {
|
|
svc := &ProfileService{}
|
|
safeCall_Cov38(func() { svc.RevokeUserSession(context.Background(), 0, 0, "") })
|
|
}
|
|
|
|
func TestProfileService_Get_Cov38(t *testing.T) {
|
|
svc := &ProfileService{}
|
|
safeCall_Cov38(func() { svc.Get(context.Background(), 0, 0) })
|
|
}
|
|
|
|
func TestProfileService_Update_Cov38(t *testing.T) {
|
|
svc := &ProfileService{}
|
|
safeCall_Cov38(func() { svc.Update(context.Background(), 0, 0, UpdateProfileRequest{}) })
|
|
}
|
|
|
|
func TestProfileService_UpdateAvatar_Cov38(t *testing.T) {
|
|
svc := &ProfileService{}
|
|
safeCall_Cov38(func() { svc.UpdateAvatar(context.Background(), 0, 0, UpdateAvatarRequest{}) })
|
|
}
|
|
|
|
func TestProfileService_SetAvailability_Cov38(t *testing.T) {
|
|
svc := &ProfileService{}
|
|
safeCall_Cov38(func() { svc.SetAvailability(context.Background(), 0, AvailabilityRequest{}) })
|
|
}
|
|
|
|
func TestProfileService_SetAutoOffline_Cov38(t *testing.T) {
|
|
svc := &ProfileService{}
|
|
safeCall_Cov38(func() { svc.SetAutoOffline(context.Background(), 0, AutoOfflineRequest{}) })
|
|
}
|
|
|
|
func TestProfileService_SetActiveAccount_Cov38(t *testing.T) {
|
|
svc := &ProfileService{}
|
|
safeCall_Cov38(func() { svc.SetActiveAccount(context.Background(), 0, SetActiveAccountRequest{}) })
|
|
}
|
|
|
|
func TestProfileService_ResendConfirmation_Cov38(t *testing.T) {
|
|
svc := &ProfileService{}
|
|
safeCall_Cov38(func() { svc.ResendConfirmation(context.Background(), 0) })
|
|
}
|
|
|
|
func TestProfileService_sendConfirmationInstructions_Cov38(t *testing.T) {
|
|
svc := &ProfileService{}
|
|
safeCall_Cov38(func() { svc.sendConfirmationInstructions(context.Background(), nil) })
|
|
}
|
|
|
|
func TestProfileService_confirmationAccountContext_Cov38(t *testing.T) {
|
|
svc := &ProfileService{}
|
|
safeCall_Cov38(func() { svc.confirmationAccountContext(context.Background(), nil) })
|
|
}
|
|
|
|
func TestProfileService_confirmationBrandName_Cov38(t *testing.T) {
|
|
svc := &ProfileService{}
|
|
safeCall_Cov38(func() { svc.confirmationBrandName(context.Background()) })
|
|
}
|
|
|
|
func TestProfileService_ResetAccessToken_Cov38(t *testing.T) {
|
|
svc := &ProfileService{}
|
|
safeCall_Cov38(func() { svc.ResetAccessToken(context.Background(), 0, 0) })
|
|
}
|
|
|
|
func TestProfileService_DeleteAvatar_Cov38(t *testing.T) {
|
|
svc := &ProfileService{}
|
|
safeCall_Cov38(func() { svc.DeleteAvatar(context.Background(), 0, 0) })
|
|
}
|
|
|
|
func TestProfileService_serializeUser_Cov38(t *testing.T) {
|
|
svc := &ProfileService{}
|
|
safeCall_Cov38(func() { svc.serializeUser(context.Background(), nil, 0) })
|
|
}
|
|
|
|
func TestProfileService_hmacIdentifier_Cov38(t *testing.T) {
|
|
svc := &ProfileService{}
|
|
safeCall_Cov38(func() { svc.hmacIdentifier(context.Background(), "") })
|
|
}
|
|
|
|
func TestProfileService_currentAccessToken_Cov38(t *testing.T) {
|
|
svc := &ProfileService{}
|
|
safeCall_Cov38(func() { svc.currentAccessToken(context.Background(), 0) })
|
|
}
|
|
|
|
func TestProfileService_regenerateAccessToken_Cov38(t *testing.T) {
|
|
svc := &ProfileService{}
|
|
safeCall_Cov38(func() { svc.regenerateAccessToken(context.Background(), 0) })
|
|
}
|
|
|
|
// === PushDeliveryService ===
|
|
|
|
func TestPushDeliveryService_SendPushNotification_Cov38(t *testing.T) {
|
|
svc := &PushDeliveryService{}
|
|
safeCall_Cov38(func() { svc.SendPushNotification(context.Background(), 0, PushPayload{}) })
|
|
}
|
|
|
|
func TestPushDeliveryService_deliverWebPush_Cov38(t *testing.T) {
|
|
svc := &PushDeliveryService{}
|
|
safeCall_Cov38(func() { svc.deliverWebPush(context.Background(), model.PushToken{}, nil) })
|
|
}
|
|
|
|
func TestPushDeliveryService_generateVAPIDJWT_Cov38(t *testing.T) {
|
|
svc := &PushDeliveryService{}
|
|
safeCall_Cov38(func() { svc.generateVAPIDJWT("") })
|
|
}
|
|
|
|
// === WebhookDeliveryService ===
|
|
|
|
func TestWebhookDeliveryService_DeliverEvent_Cov38(t *testing.T) {
|
|
svc := &WebhookDeliveryService{}
|
|
safeCall_Cov38(func() { svc.DeliverEvent(context.Background(), 0, "", nil) })
|
|
}
|
|
|
|
func TestWebhookDeliveryService_deliverToSubscription_Cov38(t *testing.T) {
|
|
svc := &WebhookDeliveryService{}
|
|
safeCall_Cov38(func() { svc.deliverToSubscription(context.Background(), model.WebhookSubscription{}, "", nil) })
|
|
}
|
|
|
|
// === PushSubscriptionService ===
|
|
|
|
func TestPushSubscriptionService_ListPushTokens_Cov38(t *testing.T) {
|
|
svc := &PushSubscriptionService{}
|
|
safeCall_Cov38(func() { svc.ListPushTokens(context.Background(), 0) })
|
|
}
|
|
|
|
func TestPushSubscriptionService_RegisterPushToken_Cov38(t *testing.T) {
|
|
svc := &PushSubscriptionService{}
|
|
safeCall_Cov38(func() { svc.RegisterPushToken(context.Background(), 0, "", "", "", "", "") })
|
|
}
|
|
|
|
func TestPushSubscriptionService_RemovePushToken_Cov38(t *testing.T) {
|
|
svc := &PushSubscriptionService{}
|
|
safeCall_Cov38(func() { svc.RemovePushToken(context.Background(), 0) })
|
|
}
|
|
|
|
func TestPushSubscriptionService_RemovePushTokenByValue_Cov38(t *testing.T) {
|
|
svc := &PushSubscriptionService{}
|
|
safeCall_Cov38(func() { svc.RemovePushTokenByValue(context.Background(), "", 0) })
|
|
}
|
|
|
|
// === RAGService ===
|
|
|
|
func TestRAGService_Query_Cov38(t *testing.T) {
|
|
svc := &RAGService{}
|
|
safeCall_Cov38(func() { svc.Query(context.Background(), 0, nil) })
|
|
}
|
|
|
|
func TestRAGService_queryWithoutContext_Cov38(t *testing.T) {
|
|
svc := &RAGService{}
|
|
safeCall_Cov38(func() { svc.queryWithoutContext(context.Background(), nil, nil, "") })
|
|
}
|
|
|
|
func TestRAGService_IndexResponse_Cov38(t *testing.T) {
|
|
svc := &RAGService{}
|
|
safeCall_Cov38(func() { svc.IndexResponse(context.Background(), 0) })
|
|
}
|
|
|
|
// === RBACService ===
|
|
|
|
func TestRBACService_GetAccountUser_Cov38(t *testing.T) {
|
|
svc := &RBACService{}
|
|
safeCall_Cov38(func() { svc.GetAccountUser(0, 0) })
|
|
}
|
|
|
|
func TestRBACService_AddAccountUser_Cov38(t *testing.T) {
|
|
svc := &RBACService{}
|
|
safeCall_Cov38(func() { svc.AddAccountUser(0, 0, "", 0, 0) })
|
|
}
|
|
|
|
func TestRBACService_UpdateAccountUserRole_Cov38(t *testing.T) {
|
|
svc := &RBACService{}
|
|
safeCall_Cov38(func() { svc.UpdateAccountUserRole(0, 0, "", 0) })
|
|
}
|
|
|
|
func TestRBACService_RemoveAccountUser_Cov38(t *testing.T) {
|
|
svc := &RBACService{}
|
|
safeCall_Cov38(func() { svc.RemoveAccountUser(0, 0) })
|
|
}
|
|
|
|
func TestRBACService_ListAccountUsers_Cov38(t *testing.T) {
|
|
svc := &RBACService{}
|
|
safeCall_Cov38(func() { svc.ListAccountUsers(0) })
|
|
}
|
|
|
|
func TestRBACService_ListUserAccounts_Cov38(t *testing.T) {
|
|
svc := &RBACService{}
|
|
safeCall_Cov38(func() { svc.ListUserAccounts(0) })
|
|
}
|
|
|
|
func TestRBACService_UpdateAvailability_Cov38(t *testing.T) {
|
|
svc := &RBACService{}
|
|
safeCall_Cov38(func() { svc.UpdateAvailability(0, 0, "") })
|
|
}
|
|
|
|
func TestRBACService_CreateCustomRole_Cov38(t *testing.T) {
|
|
svc := &RBACService{}
|
|
safeCall_Cov38(func() { svc.CreateCustomRole(0, "", nil, "") })
|
|
}
|
|
|
|
func TestRBACService_GetCustomRole_Cov38(t *testing.T) {
|
|
svc := &RBACService{}
|
|
safeCall_Cov38(func() { svc.GetCustomRole(0) })
|
|
}
|
|
|
|
func TestRBACService_GetCustomRolePermissionMatrix_Cov38(t *testing.T) {
|
|
svc := &RBACService{}
|
|
safeCall_Cov38(func() { svc.GetCustomRolePermissionMatrix(0) })
|
|
}
|
|
|
|
func TestRBACService_UpdateCustomRole_Cov38(t *testing.T) {
|
|
svc := &RBACService{}
|
|
safeCall_Cov38(func() { svc.UpdateCustomRole(0, "", nil, "") })
|
|
}
|
|
|
|
func TestRBACService_DeleteCustomRole_Cov38(t *testing.T) {
|
|
svc := &RBACService{}
|
|
safeCall_Cov38(func() { svc.DeleteCustomRole(0) })
|
|
}
|
|
|
|
func TestRBACService_ListCustomRoles_Cov38(t *testing.T) {
|
|
svc := &RBACService{}
|
|
safeCall_Cov38(func() { svc.ListCustomRoles(0) })
|
|
}
|
|
|
|
func TestRBACService_BuildPolicyContext_Cov38(t *testing.T) {
|
|
svc := &RBACService{}
|
|
safeCall_Cov38(func() { svc.BuildPolicyContext(0, 0) })
|
|
}
|
|
|
|
func TestRBACService_CanPerform_Cov38(t *testing.T) {
|
|
svc := &RBACService{}
|
|
safeCall_Cov38(func() { svc.CanPerform(0, 0, "", "") })
|
|
}
|
|
|
|
func TestRBACService_ScopeQuery_Cov38(t *testing.T) {
|
|
svc := &RBACService{}
|
|
safeCall_Cov38(func() { svc.ScopeQuery(0, 0, "") })
|
|
}
|
|
|
|
func TestRBACService_CreatePlatformApp_Cov38(t *testing.T) {
|
|
svc := &RBACService{}
|
|
safeCall_Cov38(func() { svc.CreatePlatformApp("", 0, "", "") })
|
|
}
|
|
|
|
func TestRBACService_GetPlatformApp_Cov38(t *testing.T) {
|
|
svc := &RBACService{}
|
|
safeCall_Cov38(func() { svc.GetPlatformApp(0) })
|
|
}
|
|
|
|
func TestRBACService_GetPlatformAppByAccessToken_Cov38(t *testing.T) {
|
|
svc := &RBACService{}
|
|
safeCall_Cov38(func() { svc.GetPlatformAppByAccessToken("") })
|
|
}
|
|
|
|
func TestRBACService_UpdatePlatformApp_Cov38(t *testing.T) {
|
|
svc := &RBACService{}
|
|
safeCall_Cov38(func() { svc.UpdatePlatformApp(0, "", "", "") })
|
|
}
|
|
|
|
func TestRBACService_DeletePlatformApp_Cov38(t *testing.T) {
|
|
svc := &RBACService{}
|
|
safeCall_Cov38(func() { svc.DeletePlatformApp(0) })
|
|
}
|
|
|
|
func TestRBACService_RegenerateAccessToken_Cov38(t *testing.T) {
|
|
svc := &RBACService{}
|
|
safeCall_Cov38(func() { svc.RegenerateAccessToken(0) })
|
|
}
|
|
|
|
func TestRBACService_ListPlatformApps_Cov38(t *testing.T) {
|
|
svc := &RBACService{}
|
|
safeCall_Cov38(func() { svc.ListPlatformApps(0) })
|
|
}
|
|
|
|
func TestRBACService_GetAccountUserRole_Cov38(t *testing.T) {
|
|
svc := &RBACService{}
|
|
safeCall_Cov38(func() { svc.GetAccountUserRole(0, 0) })
|
|
}
|
|
|
|
func TestRBACService_GetCustomRolePermissions_Cov38(t *testing.T) {
|
|
svc := &RBACService{}
|
|
safeCall_Cov38(func() { svc.GetCustomRolePermissions(0) })
|
|
}
|
|
|
|
// === ReportingBackfillService ===
|
|
|
|
func TestReportingBackfillService_BackfillDate_Cov38(t *testing.T) {
|
|
svc := &ReportingBackfillService{}
|
|
safeCall_Cov38(func() { svc.BackfillDate(context.Background(), 0, time.Time{}) })
|
|
}
|
|
|
|
func TestReportingBackfillService_BackfillRange_Cov38(t *testing.T) {
|
|
svc := &ReportingBackfillService{}
|
|
safeCall_Cov38(func() { svc.BackfillRange(context.Background(), 0, time.Time{}, time.Time{}) })
|
|
}
|
|
|
|
func TestReportingBackfillService_buildRollupRows_Cov38(t *testing.T) {
|
|
svc := &ReportingBackfillService{}
|
|
safeCall_Cov38(func() { svc.buildRollupRows(context.Background(), 0, time.Time{}, time.Time{}, time.Time{}) })
|
|
}
|
|
|
|
// === ReportingEventService ===
|
|
|
|
func TestReportingEventService_ListByAccount_Cov38(t *testing.T) {
|
|
svc := &ReportingEventService{}
|
|
safeCall_Cov38(func() { svc.ListByAccount(context.Background(), 0, time.Time{}, time.Time{}) })
|
|
}
|
|
|
|
func TestReportingEventService_GetByMetric_Cov38(t *testing.T) {
|
|
svc := &ReportingEventService{}
|
|
safeCall_Cov38(func() { svc.GetByMetric(context.Background(), 0, "", time.Time{}, time.Time{}) })
|
|
}
|
|
|
|
func TestReportingEventService_ListAccountEvents_Cov38(t *testing.T) {
|
|
svc := &ReportingEventService{}
|
|
safeCall_Cov38(func() { svc.ListAccountEvents(context.Background(), 0, ReportingEventListFilter{}) })
|
|
}
|
|
|
|
func TestReportingEventService_Create_Cov38(t *testing.T) {
|
|
svc := &ReportingEventService{}
|
|
safeCall_Cov38(func() { svc.Create(context.Background(), nil) })
|
|
}
|
|
|
|
// === ReportingRollupService ===
|
|
|
|
func TestReportingRollupService_RollupEvent_Cov38(t *testing.T) {
|
|
svc := &ReportingRollupService{}
|
|
safeCall_Cov38(func() { svc.RollupEvent(context.Background(), nil) })
|
|
}
|
|
|
|
func TestReportingRollupService_ComputeDailyRollup_Cov38(t *testing.T) {
|
|
svc := &ReportingRollupService{}
|
|
safeCall_Cov38(func() { svc.ComputeDailyRollup(context.Background(), 0, time.Time{}) })
|
|
}
|
|
|
|
func TestReportingRollupService_ComputeRollupForRange_Cov38(t *testing.T) {
|
|
svc := &ReportingRollupService{}
|
|
safeCall_Cov38(func() { svc.ComputeRollupForRange(context.Background(), 0, time.Time{}, time.Time{}) })
|
|
}
|
|
|
|
func TestReportingRollupService_GetSummaryMetrics_Cov38(t *testing.T) {
|
|
svc := &ReportingRollupService{}
|
|
safeCall_Cov38(func() { svc.GetSummaryMetrics(context.Background(), 0, time.Time{}, time.Time{}, "", 0) })
|
|
}
|
|
|
|
func TestReportingRollupService_buildRollupFromEvents_Cov38(t *testing.T) {
|
|
svc := &ReportingRollupService{}
|
|
safeCall_Cov38(func() { svc.buildRollupFromEvents(0, time.Time{}, nil) })
|
|
}
|
|
|
|
// === ShopifyIntegrationService ===
|
|
|
|
func TestShopifyIntegrationService_Delete_Cov38(t *testing.T) {
|
|
svc := &ShopifyIntegrationService{}
|
|
safeCall_Cov38(func() { svc.Delete(context.Background(), 0) })
|
|
}
|
|
|
|
func TestShopifyIntegrationService_Auth_Cov38(t *testing.T) {
|
|
svc := &ShopifyIntegrationService{}
|
|
safeCall_Cov38(func() { svc.Auth(context.Background(), 0, CreateShopifyAuthRequest{}) })
|
|
}
|
|
|
|
func TestShopifyIntegrationService_BuildAuthRedirect_Cov38(t *testing.T) {
|
|
svc := &ShopifyIntegrationService{}
|
|
safeCall_Cov38(func() { svc.BuildAuthRedirect(context.Background(), 0, CreateShopifyAuthRequest{}) })
|
|
}
|
|
|
|
func TestShopifyIntegrationService_GetOrders_Cov38(t *testing.T) {
|
|
svc := &ShopifyIntegrationService{}
|
|
safeCall_Cov38(func() { svc.GetOrders(context.Background(), 0, 0) })
|
|
}
|
|
|
|
func TestShopifyIntegrationService_findShopifyHooks_Cov38(t *testing.T) {
|
|
svc := &ShopifyIntegrationService{}
|
|
safeCall_Cov38(func() { svc.findShopifyHooks(context.Background(), 0) })
|
|
}
|
|
|
|
// === SlackIntegrationService ===
|
|
|
|
func TestSlackIntegrationService_Create_Cov38(t *testing.T) {
|
|
svc := &SlackIntegrationService{}
|
|
safeCall_Cov38(func() { svc.Create(context.Background(), 0, CreateSlackRequest{}) })
|
|
}
|
|
|
|
func TestSlackIntegrationService_Update_Cov38(t *testing.T) {
|
|
svc := &SlackIntegrationService{}
|
|
safeCall_Cov38(func() { svc.Update(context.Background(), 0, UpdateSlackRequest{}) })
|
|
}
|
|
|
|
func TestSlackIntegrationService_Delete_Cov38(t *testing.T) {
|
|
svc := &SlackIntegrationService{}
|
|
safeCall_Cov38(func() { svc.Delete(context.Background(), 0) })
|
|
}
|
|
|
|
func TestSlackIntegrationService_ListAllChannels_Cov38(t *testing.T) {
|
|
svc := &SlackIntegrationService{}
|
|
safeCall_Cov38(func() { svc.ListAllChannels(context.Background(), 0) })
|
|
}
|
|
|
|
func TestSlackIntegrationService_ListHooks_Cov38(t *testing.T) {
|
|
svc := &SlackIntegrationService{}
|
|
safeCall_Cov38(func() { svc.ListHooks(context.Background(), 0) })
|
|
}
|
|
|
|
func TestSlackIntegrationService_findSlackHooks_Cov38(t *testing.T) {
|
|
svc := &SlackIntegrationService{}
|
|
safeCall_Cov38(func() { svc.findSlackHooks(context.Background(), 0) })
|
|
}
|
|
|
|
func TestSlackIntegrationService_findChannel_Cov38(t *testing.T) {
|
|
svc := &SlackIntegrationService{}
|
|
safeCall_Cov38(func() { svc.findChannel(context.Background(), model.IntegrationHook{}, "") })
|
|
}
|
|
|
|
// === SlaPolicyService ===
|
|
|
|
func TestSlaPolicyService_DB_Cov38(t *testing.T) {
|
|
svc := &SlaPolicyService{}
|
|
safeCall_Cov38(func() { svc.DB() })
|
|
}
|
|
|
|
func TestSlaPolicyService_Create_Cov38(t *testing.T) {
|
|
svc := &SlaPolicyService{}
|
|
safeCall_Cov38(func() { svc.Create(context.Background(), 0, nil) })
|
|
}
|
|
|
|
func TestSlaPolicyService_Get_Cov38(t *testing.T) {
|
|
svc := &SlaPolicyService{}
|
|
safeCall_Cov38(func() { svc.Get(context.Background(), 0, 0) })
|
|
}
|
|
|
|
func TestSlaPolicyService_List_Cov38(t *testing.T) {
|
|
svc := &SlaPolicyService{}
|
|
safeCall_Cov38(func() { svc.List(context.Background(), 0) })
|
|
}
|
|
|
|
func TestSlaPolicyService_Update_Cov38(t *testing.T) {
|
|
svc := &SlaPolicyService{}
|
|
safeCall_Cov38(func() { svc.Update(context.Background(), 0, 0, nil) })
|
|
}
|
|
|
|
func TestSlaPolicyService_Delete_Cov38(t *testing.T) {
|
|
svc := &SlaPolicyService{}
|
|
safeCall_Cov38(func() { svc.Delete(context.Background(), 0, 0) })
|
|
}
|
|
|
|
func TestSlaPolicyService_GetAppliedSlaMetrics_Cov38(t *testing.T) {
|
|
svc := &SlaPolicyService{}
|
|
safeCall_Cov38(func() { svc.GetAppliedSlaMetrics(context.Background(), 0, 0) })
|
|
}
|
|
|
|
func TestSlaPolicyService_GetAppliedSlaDownload_Cov38(t *testing.T) {
|
|
svc := &SlaPolicyService{}
|
|
safeCall_Cov38(func() { svc.GetAppliedSlaDownload(context.Background(), 0) })
|
|
}
|
|
|
|
func TestSlaPolicyService_ListAppliedSlaReports_Cov38(t *testing.T) {
|
|
svc := &SlaPolicyService{}
|
|
safeCall_Cov38(func() { svc.ListAppliedSlaReports(context.Background(), 0, AppliedSlaReportFilter{}, 0) })
|
|
}
|
|
|
|
func TestSlaPolicyService_GetAppliedSlaReportMetrics_Cov38(t *testing.T) {
|
|
svc := &SlaPolicyService{}
|
|
safeCall_Cov38(func() { svc.GetAppliedSlaReportMetrics(context.Background(), 0, AppliedSlaReportFilter{}) })
|
|
}
|
|
|
|
func TestSlaPolicyService_ListAppliedSlaReportDownload_Cov38(t *testing.T) {
|
|
svc := &SlaPolicyService{}
|
|
safeCall_Cov38(func() { svc.ListAppliedSlaReportDownload(context.Background(), 0, AppliedSlaReportFilter{}) })
|
|
}
|
|
|
|
func TestSlaPolicyService_ListInboxes_Cov38(t *testing.T) {
|
|
svc := &SlaPolicyService{}
|
|
safeCall_Cov38(func() { svc.ListInboxes(context.Background(), 0, 0) })
|
|
}
|
|
|
|
func TestSlaPolicyService_AddInbox_Cov38(t *testing.T) {
|
|
svc := &SlaPolicyService{}
|
|
safeCall_Cov38(func() { svc.AddInbox(context.Background(), 0, 0, 0) })
|
|
}
|
|
|
|
func TestSlaPolicyService_RemoveInbox_Cov38(t *testing.T) {
|
|
svc := &SlaPolicyService{}
|
|
safeCall_Cov38(func() { svc.RemoveInbox(context.Background(), 0, 0, 0) })
|
|
}
|
|
|
|
// === SummaryReportService ===
|
|
|
|
func TestSummaryReportService_GetAgentSummary_Cov38(t *testing.T) {
|
|
svc := &SummaryReportService{}
|
|
safeCall_Cov38(func() { svc.GetAgentSummary(context.Background(), 0, time.Time{}, time.Time{}) })
|
|
}
|
|
|
|
func TestSummaryReportService_GetTeamSummary_Cov38(t *testing.T) {
|
|
svc := &SummaryReportService{}
|
|
safeCall_Cov38(func() { svc.GetTeamSummary(context.Background(), 0, time.Time{}, time.Time{}) })
|
|
}
|
|
|
|
func TestSummaryReportService_GetInboxSummary_Cov38(t *testing.T) {
|
|
svc := &SummaryReportService{}
|
|
safeCall_Cov38(func() { svc.GetInboxSummary(context.Background(), 0, time.Time{}, time.Time{}) })
|
|
}
|
|
|
|
func TestSummaryReportService_GetLabelSummary_Cov38(t *testing.T) {
|
|
svc := &SummaryReportService{}
|
|
safeCall_Cov38(func() { svc.GetLabelSummary(context.Background(), 0, time.Time{}, time.Time{}) })
|
|
}
|
|
|
|
func TestSummaryReportService_GetAccountSummary_Cov38(t *testing.T) {
|
|
svc := &SummaryReportService{}
|
|
safeCall_Cov38(func() { svc.GetAccountSummary(context.Background(), 0, time.Time{}, time.Time{}) })
|
|
}
|
|
|
|
func TestSummaryReportService_GetConversationSummary_Cov38(t *testing.T) {
|
|
svc := &SummaryReportService{}
|
|
safeCall_Cov38(func() { svc.GetConversationSummary(context.Background(), 0, time.Time{}, time.Time{}) })
|
|
}
|
|
|
|
func TestSummaryReportService_GetChannelSummary_Cov38(t *testing.T) {
|
|
svc := &SummaryReportService{}
|
|
safeCall_Cov38(func() { svc.GetChannelSummary(context.Background(), 0, time.Time{}, time.Time{}) })
|
|
}
|
|
|
|
func TestSummaryReportService_getDimensionSummary_Cov38(t *testing.T) {
|
|
svc := &SummaryReportService{}
|
|
safeCall_Cov38(func() { svc.getDimensionSummary(context.Background(), 0, "", time.Time{}, time.Time{}) })
|
|
}
|
|
|
|
// === TagService ===
|
|
|
|
func TestTagService_Create_Cov38(t *testing.T) {
|
|
svc := &TagService{}
|
|
safeCall_Cov38(func() { svc.Create(context.Background(), 0, nil) })
|
|
}
|
|
|
|
func TestTagService_GetByID_Cov38(t *testing.T) {
|
|
svc := &TagService{}
|
|
safeCall_Cov38(func() { svc.GetByID(context.Background(), 0) })
|
|
}
|
|
|
|
func TestTagService_GetByIDAndAccountID_Cov38(t *testing.T) {
|
|
svc := &TagService{}
|
|
safeCall_Cov38(func() { svc.GetByIDAndAccountID(context.Background(), 0, 0) })
|
|
}
|
|
|
|
func TestTagService_Update_Cov38(t *testing.T) {
|
|
svc := &TagService{}
|
|
safeCall_Cov38(func() { svc.Update(context.Background(), 0, nil) })
|
|
}
|
|
|
|
func TestTagService_Delete_Cov38(t *testing.T) {
|
|
svc := &TagService{}
|
|
safeCall_Cov38(func() { svc.Delete(context.Background(), 0) })
|
|
}
|
|
|
|
func TestTagService_List_Cov38(t *testing.T) {
|
|
svc := &TagService{}
|
|
safeCall_Cov38(func() { svc.List(context.Background(), 0) })
|
|
}
|
|
|
|
func TestTagService_ListPaginated_Cov38(t *testing.T) {
|
|
svc := &TagService{}
|
|
safeCall_Cov38(func() { svc.ListPaginated(context.Background(), 0, 0, 0) })
|
|
}
|
|
|
|
// === TeamService ===
|
|
|
|
func TestTeamService_DB_Cov38(t *testing.T) {
|
|
svc := &TeamService{}
|
|
safeCall_Cov38(func() { svc.DB() })
|
|
}
|
|
|
|
func TestTeamService_List_Cov38(t *testing.T) {
|
|
svc := &TeamService{}
|
|
safeCall_Cov38(func() { svc.List(context.Background(), 0, 0, 0) })
|
|
}
|
|
|
|
func TestTeamService_Get_Cov38(t *testing.T) {
|
|
svc := &TeamService{}
|
|
safeCall_Cov38(func() { svc.Get(context.Background(), 0, 0) })
|
|
}
|
|
|
|
func TestTeamService_Create_Cov38(t *testing.T) {
|
|
svc := &TeamService{}
|
|
safeCall_Cov38(func() { svc.Create(context.Background(), 0, CreateTeamRequest{}) })
|
|
}
|
|
|
|
func TestTeamService_Update_Cov38(t *testing.T) {
|
|
svc := &TeamService{}
|
|
safeCall_Cov38(func() { svc.Update(context.Background(), 0, 0, UpdateTeamRequest{}) })
|
|
}
|
|
|
|
func TestTeamService_Delete_Cov38(t *testing.T) {
|
|
svc := &TeamService{}
|
|
safeCall_Cov38(func() { svc.Delete(context.Background(), 0, 0) })
|
|
}
|
|
|
|
func TestTeamService_AddMembers_Cov38(t *testing.T) {
|
|
svc := &TeamService{}
|
|
safeCall_Cov38(func() { svc.AddMembers(context.Background(), 0, 0, nil) })
|
|
}
|
|
|
|
func TestTeamService_RemoveMember_Cov38(t *testing.T) {
|
|
svc := &TeamService{}
|
|
safeCall_Cov38(func() { svc.RemoveMember(context.Background(), 0, 0, 0) })
|
|
}
|
|
|
|
func TestTeamService_ListMembers_Cov38(t *testing.T) {
|
|
svc := &TeamService{}
|
|
safeCall_Cov38(func() { svc.ListMembers(context.Background(), 0, 0) })
|
|
}
|
|
|
|
func TestTeamService_UpdateMembers_Cov38(t *testing.T) {
|
|
svc := &TeamService{}
|
|
safeCall_Cov38(func() { svc.UpdateMembers(context.Background(), 0, 0, nil) })
|
|
}
|
|
|
|
func TestTeamService_validateUserIDsBelongToAccount_Cov38(t *testing.T) {
|
|
svc := &TeamService{}
|
|
safeCall_Cov38(func() { svc.validateUserIDsBelongToAccount(context.Background(), 0, nil) })
|
|
}
|
|
|
|
// === ToolExecutionService ===
|
|
|
|
func TestToolExecutionService_GetToolsForAccount_Cov38(t *testing.T) {
|
|
svc := &ToolExecutionService{}
|
|
safeCall_Cov38(func() { svc.GetToolsForAccount(context.Background(), 0) })
|
|
}
|
|
|
|
func TestToolExecutionService_ExecuteToolCall_Cov38(t *testing.T) {
|
|
svc := &ToolExecutionService{}
|
|
safeCall_Cov38(func() { svc.ExecuteToolCall(context.Background(), 0, llm.ToolCall{}) })
|
|
}
|
|
|
|
// === UploadService ===
|
|
|
|
func TestUploadService_WithWidgetAuth_Cov38(t *testing.T) {
|
|
svc := &UploadService{}
|
|
safeCall_Cov38(func() { svc.WithWidgetAuth(nil, nil) })
|
|
}
|
|
|
|
func TestUploadService_WithConversationRepo_Cov38(t *testing.T) {
|
|
svc := &UploadService{}
|
|
safeCall_Cov38(func() { svc.WithConversationRepo(nil) })
|
|
}
|
|
|
|
func TestUploadService_AccountUpload_Cov38(t *testing.T) {
|
|
svc := &UploadService{}
|
|
safeCall_Cov38(func() { svc.AccountUpload(context.Background(), 0, AccountUploadRequest{}) })
|
|
}
|
|
|
|
func TestUploadService_ProfileAvatarUpload_Cov38(t *testing.T) {
|
|
svc := &UploadService{}
|
|
safeCall_Cov38(func() { svc.ProfileAvatarUpload(context.Background(), 0, nil) })
|
|
}
|
|
|
|
func TestUploadService_AccountUploadFromURL_Cov38(t *testing.T) {
|
|
svc := &UploadService{}
|
|
safeCall_Cov38(func() { svc.AccountUploadFromURL(context.Background(), 0, "") })
|
|
}
|
|
|
|
func TestUploadService_AccountDirectUpload_Cov38(t *testing.T) {
|
|
svc := &UploadService{}
|
|
safeCall_Cov38(func() { svc.AccountDirectUpload(context.Background(), 0, AccountDirectUploadRequest{}) })
|
|
}
|
|
|
|
func TestUploadService_WidgetDirectUpload_Cov38(t *testing.T) {
|
|
svc := &UploadService{}
|
|
safeCall_Cov38(func() { svc.WidgetDirectUpload(context.Background(), WidgetDirectUploadRequest{}) })
|
|
}
|
|
|
|
func TestUploadService_CreateWidgetDirectUpload_Cov38(t *testing.T) {
|
|
svc := &UploadService{}
|
|
safeCall_Cov38(func() { svc.CreateWidgetDirectUpload(context.Background(), ActiveStorageDirectUploadRequest{}) })
|
|
}
|
|
|
|
func TestUploadService_CreateConversationDirectUpload_Cov38(t *testing.T) {
|
|
svc := &UploadService{}
|
|
safeCall_Cov38(func() {
|
|
svc.CreateConversationDirectUpload(context.Background(), 0, 0, ActiveStorageDirectUploadRequest{})
|
|
})
|
|
}
|
|
|
|
func TestUploadService_validateWidgetUploadSession_Cov38(t *testing.T) {
|
|
svc := &UploadService{}
|
|
safeCall_Cov38(func() { svc.validateWidgetUploadSession(context.Background(), "", "") })
|
|
}
|
|
|
|
func TestUploadService_CompleteWidgetDirectUpload_Cov38(t *testing.T) {
|
|
svc := &UploadService{}
|
|
safeCall_Cov38(func() { svc.CompleteWidgetDirectUpload(context.Background(), "", nil) })
|
|
}
|
|
|
|
func TestUploadService_CompleteConversationDirectUpload_Cov38(t *testing.T) {
|
|
svc := &UploadService{}
|
|
safeCall_Cov38(func() { svc.CompleteConversationDirectUpload(context.Background(), 0, 0, "", nil) })
|
|
}
|
|
|
|
func TestUploadService_createActiveStorageDirectUpload_Cov38(t *testing.T) {
|
|
svc := &UploadService{}
|
|
safeCall_Cov38(func() {
|
|
svc.createActiveStorageDirectUpload(context.Background(), 0, 0, "", ActiveStorageDirectUploadRequest{}, "")
|
|
})
|
|
}
|
|
|
|
func TestUploadService_processUpload_Cov38(t *testing.T) {
|
|
svc := &UploadService{}
|
|
safeCall_Cov38(func() { svc.processUpload(context.Background(), 0, nil, "") })
|
|
}
|
|
|
|
func TestUploadService_processUploadContent_Cov38(t *testing.T) {
|
|
svc := &UploadService{}
|
|
safeCall_Cov38(func() { svc.processUploadContent(context.Background(), 0, "", "", "", 0, nil) })
|
|
}
|
|
|
|
func TestUploadService_saveFileToDisk_Cov38(t *testing.T) {
|
|
svc := &UploadService{}
|
|
safeCall_Cov38(func() { svc.saveFileToDisk(0, "", "", nil) })
|
|
}
|
|
|
|
func TestUploadService_saveUploadReader_Cov38(t *testing.T) {
|
|
svc := &UploadService{}
|
|
safeCall_Cov38(func() { svc.saveUploadReader(0, "", "", "", nil) })
|
|
}
|
|
|
|
func TestUploadService_saveReaderToDisk_Cov38(t *testing.T) {
|
|
svc := &UploadService{}
|
|
safeCall_Cov38(func() { svc.saveReaderToDisk("", nil) })
|
|
}
|
|
|
|
func TestUploadService_directUploadURL_Cov38(t *testing.T) {
|
|
svc := &UploadService{}
|
|
safeCall_Cov38(func() { svc.directUploadURL("", 0, "", "") })
|
|
}
|
|
|
|
func TestUploadService_uploadDir_Cov38(t *testing.T) {
|
|
svc := &UploadService{}
|
|
safeCall_Cov38(func() { svc.uploadDir("", 0) })
|
|
}
|
|
|
|
func TestUploadService_uploadURL_Cov38(t *testing.T) {
|
|
svc := &UploadService{}
|
|
safeCall_Cov38(func() { svc.uploadURL("", 0, "") })
|
|
}
|
|
|
|
func TestUploadService_CleanupExpiredUploads_Cov38(t *testing.T) {
|
|
svc := &UploadService{}
|
|
safeCall_Cov38(func() { svc.CleanupExpiredUploads(context.Background()) })
|
|
}
|
|
|
|
// === WebhookSubscriptionService ===
|
|
|
|
func TestWebhookSubscriptionService_ListSubscriptions_Cov38(t *testing.T) {
|
|
svc := &WebhookSubscriptionService{}
|
|
safeCall_Cov38(func() { svc.ListSubscriptions(context.Background(), 0) })
|
|
}
|
|
|
|
func TestWebhookSubscriptionService_CreateSubscription_Cov38(t *testing.T) {
|
|
svc := &WebhookSubscriptionService{}
|
|
safeCall_Cov38(func() { svc.CreateSubscription(context.Background(), 0, "", nil) })
|
|
}
|
|
|
|
func TestWebhookSubscriptionService_CreateWebhook_Cov38(t *testing.T) {
|
|
svc := &WebhookSubscriptionService{}
|
|
safeCall_Cov38(func() { svc.CreateWebhook(context.Background(), 0, WebhookSubscriptionMutation{}) })
|
|
}
|
|
|
|
func TestWebhookSubscriptionService_UpdateSubscription_Cov38(t *testing.T) {
|
|
svc := &WebhookSubscriptionService{}
|
|
safeCall_Cov38(func() { svc.UpdateSubscription(context.Background(), 0, "", nil, false) })
|
|
}
|
|
|
|
func TestWebhookSubscriptionService_UpdateWebhook_Cov38(t *testing.T) {
|
|
svc := &WebhookSubscriptionService{}
|
|
safeCall_Cov38(func() { svc.UpdateWebhook(context.Background(), 0, 0, WebhookSubscriptionMutation{}) })
|
|
}
|
|
|
|
func TestWebhookSubscriptionService_DeleteWebhook_Cov38(t *testing.T) {
|
|
svc := &WebhookSubscriptionService{}
|
|
safeCall_Cov38(func() { svc.DeleteWebhook(context.Background(), 0, 0) })
|
|
}
|
|
|
|
func TestWebhookSubscriptionService_GetWebhook_Cov38(t *testing.T) {
|
|
svc := &WebhookSubscriptionService{}
|
|
safeCall_Cov38(func() { svc.GetWebhook(context.Background(), 0, 0) })
|
|
}
|
|
|
|
func TestWebhookSubscriptionService_DeleteSubscription_Cov38(t *testing.T) {
|
|
svc := &WebhookSubscriptionService{}
|
|
safeCall_Cov38(func() { svc.DeleteSubscription(context.Background(), 0) })
|
|
}
|
|
|
|
func TestWebhookSubscriptionService_GetSubscription_Cov38(t *testing.T) {
|
|
svc := &WebhookSubscriptionService{}
|
|
safeCall_Cov38(func() { svc.GetSubscription(context.Background(), 0) })
|
|
}
|
|
|
|
func TestWebhookSubscriptionService_ListDeliveries_Cov38(t *testing.T) {
|
|
svc := &WebhookSubscriptionService{}
|
|
safeCall_Cov38(func() { svc.ListDeliveries(context.Background(), 0, 0) })
|
|
}
|
|
|
|
// === WhatsAppCallService ===
|
|
|
|
func TestWhatsAppCallService_GetByCallID_Cov38(t *testing.T) {
|
|
svc := &WhatsAppCallService{}
|
|
safeCall_Cov38(func() { svc.GetByCallID(context.Background(), "") })
|
|
}
|
|
|
|
func TestWhatsAppCallService_ListByConversation_Cov38(t *testing.T) {
|
|
svc := &WhatsAppCallService{}
|
|
safeCall_Cov38(func() { svc.ListByConversation(context.Background(), 0) })
|
|
}
|
|
|
|
func TestWhatsAppCallService_CreateFromRequest_Cov38(t *testing.T) {
|
|
svc := &WhatsAppCallService{}
|
|
safeCall_Cov38(func() { svc.CreateFromRequest(context.Background(), nil) })
|
|
}
|
|
|
|
func TestWhatsAppCallService_UpdateByCallID_Cov38(t *testing.T) {
|
|
svc := &WhatsAppCallService{}
|
|
safeCall_Cov38(func() { svc.UpdateByCallID(context.Background(), "", "", 0) })
|
|
}
|
|
|
|
func TestWhatsAppCallService_DeleteByCallID_Cov38(t *testing.T) {
|
|
svc := &WhatsAppCallService{}
|
|
safeCall_Cov38(func() { svc.DeleteByCallID(context.Background(), "") })
|
|
}
|
|
|
|
func TestWhatsAppCallService_GetAccountCall_Cov38(t *testing.T) {
|
|
svc := &WhatsAppCallService{}
|
|
safeCall_Cov38(func() { svc.GetAccountCall(context.Background(), 0, 0) })
|
|
}
|
|
|
|
func TestWhatsAppCallService_ListAccountCalls_Cov38(t *testing.T) {
|
|
svc := &WhatsAppCallService{}
|
|
safeCall_Cov38(func() { svc.ListAccountCalls(context.Background(), 0, AccountCallListFilter{}) })
|
|
}
|
|
|
|
func TestWhatsAppCallService_Initiate_Cov38(t *testing.T) {
|
|
svc := &WhatsAppCallService{}
|
|
safeCall_Cov38(func() { svc.Initiate(context.Background(), 0, WhatsAppCallInitiateRequest{}) })
|
|
}
|
|
|
|
func TestWhatsAppCallService_Accept_Cov38(t *testing.T) {
|
|
svc := &WhatsAppCallService{}
|
|
safeCall_Cov38(func() { svc.Accept(context.Background(), 0, 0, 0, "") })
|
|
}
|
|
|
|
func TestWhatsAppCallService_Reject_Cov38(t *testing.T) {
|
|
svc := &WhatsAppCallService{}
|
|
safeCall_Cov38(func() { svc.Reject(context.Background(), 0, 0, 0) })
|
|
}
|
|
|
|
func TestWhatsAppCallService_Terminate_Cov38(t *testing.T) {
|
|
svc := &WhatsAppCallService{}
|
|
safeCall_Cov38(func() { svc.Terminate(context.Background(), 0, 0, 0) })
|
|
}
|
|
|
|
func TestWhatsAppCallService_UploadRecording_Cov38(t *testing.T) {
|
|
svc := &WhatsAppCallService{}
|
|
safeCall_Cov38(func() { svc.UploadRecording(context.Background(), 0, 0, "", 0) })
|
|
}
|
|
|
|
func TestWhatsAppCallService_finalize_Cov38(t *testing.T) {
|
|
svc := &WhatsAppCallService{}
|
|
safeCall_Cov38(func() { svc.finalize(context.Background(), nil, "", "", 0, nil) })
|
|
}
|
|
|
|
func TestWhatsAppCallService_handlePermissionRequest_Cov38(t *testing.T) {
|
|
svc := &WhatsAppCallService{}
|
|
safeCall_Cov38(func() { svc.handlePermissionRequest(context.Background(), nil, nil, nil, "") })
|
|
}
|
|
|
|
func TestWhatsAppCallService_findAccountCall_Cov38(t *testing.T) {
|
|
svc := &WhatsAppCallService{}
|
|
safeCall_Cov38(func() { svc.findAccountCall(context.Background(), 0, 0) })
|
|
}
|
|
|
|
func TestWhatsAppCallService_loadCallContext_Cov38(t *testing.T) {
|
|
svc := &WhatsAppCallService{}
|
|
safeCall_Cov38(func() { svc.loadCallContext(context.Background(), 0, 0, 0) })
|
|
}
|
|
|
|
// === WidgetService ===
|
|
|
|
func TestWidgetService_SetWorkerPool_Cov38(t *testing.T) {
|
|
svc := &WidgetService{}
|
|
safeCall_Cov38(func() { svc.SetWorkerPool(nil) })
|
|
}
|
|
|
|
func TestWidgetService_SetTranscriptDeliverer_Cov38(t *testing.T) {
|
|
svc := &WidgetService{}
|
|
safeCall_Cov38(func() { svc.SetTranscriptDeliverer(nil) })
|
|
}
|
|
|
|
func TestWidgetService_SetDispatcher_Cov38(t *testing.T) {
|
|
svc := &WidgetService{}
|
|
safeCall_Cov38(func() { svc.SetDispatcher(nil) })
|
|
}
|
|
|
|
func TestWidgetService_Init_Cov38(t *testing.T) {
|
|
svc := &WidgetService{}
|
|
safeCall_Cov38(func() { svc.Init(context.Background(), WidgetInitRequest{}) })
|
|
}
|
|
|
|
func TestWidgetService_SendMessage_Cov38(t *testing.T) {
|
|
svc := &WidgetService{}
|
|
safeCall_Cov38(func() { svc.SendMessage(context.Background(), WidgetSendMessageRequest{}) })
|
|
}
|
|
|
|
func TestWidgetService_reopenWidgetConversationForIncomingMessage_Cov38(t *testing.T) {
|
|
svc := &WidgetService{}
|
|
safeCall_Cov38(func() { svc.reopenWidgetConversationForIncomingMessage(context.Background(), nil) })
|
|
}
|
|
|
|
func TestWidgetService_GetConversations_Cov38(t *testing.T) {
|
|
svc := &WidgetService{}
|
|
safeCall_Cov38(func() { svc.GetConversations(context.Background(), "") })
|
|
}
|
|
|
|
func TestWidgetService_GetLatestConversation_Cov38(t *testing.T) {
|
|
svc := &WidgetService{}
|
|
safeCall_Cov38(func() { svc.GetLatestConversation(context.Background(), "") })
|
|
}
|
|
|
|
func TestWidgetService_GetConversation_Cov38(t *testing.T) {
|
|
svc := &WidgetService{}
|
|
safeCall_Cov38(func() { svc.GetConversation(context.Background(), "", 0) })
|
|
}
|
|
|
|
func TestWidgetService_GetLatestConversationMessages_Cov38(t *testing.T) {
|
|
svc := &WidgetService{}
|
|
safeCall_Cov38(func() { svc.GetLatestConversationMessages(context.Background(), "", 0, 0) })
|
|
}
|
|
|
|
func TestWidgetService_GetInboxMembersByWebsiteToken_Cov38(t *testing.T) {
|
|
svc := &WidgetService{}
|
|
safeCall_Cov38(func() { svc.GetInboxMembersByWebsiteToken(context.Background(), "") })
|
|
}
|
|
|
|
func TestWidgetService_GetCampaignsByWebsiteToken_Cov38(t *testing.T) {
|
|
svc := &WidgetService{}
|
|
safeCall_Cov38(func() { svc.GetCampaignsByWebsiteToken(context.Background(), "") })
|
|
}
|
|
|
|
func TestWidgetService_TrackEvent_Cov38(t *testing.T) {
|
|
svc := &WidgetService{}
|
|
safeCall_Cov38(func() { svc.TrackEvent(context.Background(), "", "", "", nil) })
|
|
}
|
|
|
|
func TestWidgetService_AddLabelToLatestConversation_Cov38(t *testing.T) {
|
|
svc := &WidgetService{}
|
|
safeCall_Cov38(func() { svc.AddLabelToLatestConversation(context.Background(), "", "") })
|
|
}
|
|
|
|
func TestWidgetService_RemoveLabelFromLatestConversation_Cov38(t *testing.T) {
|
|
svc := &WidgetService{}
|
|
safeCall_Cov38(func() { svc.RemoveLabelFromLatestConversation(context.Background(), "", "") })
|
|
}
|
|
|
|
func TestWidgetService_updateContactFields_Cov38(t *testing.T) {
|
|
svc := &WidgetService{}
|
|
safeCall_Cov38(func() { svc.updateContactFields(context.Background(), nil, WidgetContactUpdate{}) })
|
|
}
|
|
|
|
func TestWidgetService_PublicGetInbox_Cov38(t *testing.T) {
|
|
svc := &WidgetService{}
|
|
safeCall_Cov38(func() { svc.PublicGetInbox(context.Background(), "") })
|
|
}
|
|
|
|
func TestWidgetService_PublicCreateContact_Cov38(t *testing.T) {
|
|
svc := &WidgetService{}
|
|
safeCall_Cov38(func() { svc.PublicCreateContact(context.Background(), "", PublicContactRequest{}) })
|
|
}
|
|
|
|
func TestWidgetService_PublicGetContact_Cov38(t *testing.T) {
|
|
svc := &WidgetService{}
|
|
safeCall_Cov38(func() { svc.PublicGetContact(context.Background(), "", "") })
|
|
}
|
|
|
|
func TestWidgetService_PublicUpdateContact_Cov38(t *testing.T) {
|
|
svc := &WidgetService{}
|
|
safeCall_Cov38(func() { svc.PublicUpdateContact(context.Background(), "", "", PublicContactRequest{}) })
|
|
}
|
|
|
|
func TestWidgetService_PublicListConversations_Cov38(t *testing.T) {
|
|
svc := &WidgetService{}
|
|
safeCall_Cov38(func() { svc.PublicListConversations(context.Background(), "", "") })
|
|
}
|
|
|
|
func TestWidgetService_PublicCreateConversation_Cov38(t *testing.T) {
|
|
svc := &WidgetService{}
|
|
safeCall_Cov38(func() { svc.PublicCreateConversation(context.Background(), "", "", PublicConversationRequest{}) })
|
|
}
|
|
|
|
func TestWidgetService_PublicGetConversation_Cov38(t *testing.T) {
|
|
svc := &WidgetService{}
|
|
safeCall_Cov38(func() { svc.PublicGetConversation(context.Background(), "", "", 0) })
|
|
}
|
|
|
|
func TestWidgetService_PublicToggleStatus_Cov38(t *testing.T) {
|
|
svc := &WidgetService{}
|
|
safeCall_Cov38(func() { svc.PublicToggleStatus(context.Background(), "", "", 0) })
|
|
}
|
|
|
|
func TestWidgetService_PublicUpdateLastSeen_Cov38(t *testing.T) {
|
|
svc := &WidgetService{}
|
|
safeCall_Cov38(func() { svc.PublicUpdateLastSeen(context.Background(), "", "", 0) })
|
|
}
|
|
|
|
func TestWidgetService_PublicToggleTyping_Cov38(t *testing.T) {
|
|
svc := &WidgetService{}
|
|
safeCall_Cov38(func() { svc.PublicToggleTyping(context.Background(), "", "", 0, false) })
|
|
}
|
|
|
|
func TestWidgetService_PublicListMessages_Cov38(t *testing.T) {
|
|
svc := &WidgetService{}
|
|
safeCall_Cov38(func() { svc.PublicListMessages(context.Background(), "", "", 0, PublicMessageListOptions{}) })
|
|
}
|
|
|
|
func TestWidgetService_publicConversationMessages_Cov38(t *testing.T) {
|
|
svc := &WidgetService{}
|
|
safeCall_Cov38(func() { svc.publicConversationMessages(context.Background(), 0, PublicMessageListOptions{}) })
|
|
}
|
|
|
|
func TestWidgetService_PublicCreateMessage_Cov38(t *testing.T) {
|
|
svc := &WidgetService{}
|
|
safeCall_Cov38(func() { svc.PublicCreateMessage(context.Background(), "", "", 0, PublicMessageRequest{}) })
|
|
}
|
|
|
|
func TestWidgetService_PublicUpdateMessage_Cov38(t *testing.T) {
|
|
svc := &WidgetService{}
|
|
safeCall_Cov38(func() { svc.PublicUpdateMessage(context.Background(), "", "", 0, 0, PublicMessageRequest{}) })
|
|
}
|
|
|
|
func TestWidgetService_GetMessages_Cov38(t *testing.T) {
|
|
svc := &WidgetService{}
|
|
safeCall_Cov38(func() { svc.GetMessages(context.Background(), "", 0, 0, 0) })
|
|
}
|
|
|
|
func TestWidgetService_GetMessageAttachments_Cov38(t *testing.T) {
|
|
svc := &WidgetService{}
|
|
safeCall_Cov38(func() { svc.GetMessageAttachments(context.Background(), 0) })
|
|
}
|
|
|
|
func TestWidgetService_GetCableToken_Cov38(t *testing.T) {
|
|
svc := &WidgetService{}
|
|
safeCall_Cov38(func() { svc.GetCableToken(context.Background(), "") })
|
|
}
|
|
|
|
func TestWidgetService_UpdateContact_Cov38(t *testing.T) {
|
|
svc := &WidgetService{}
|
|
safeCall_Cov38(func() { svc.UpdateContact(context.Background(), "", "", "") })
|
|
}
|
|
|
|
func TestWidgetService_GetContact_Cov38(t *testing.T) {
|
|
svc := &WidgetService{}
|
|
safeCall_Cov38(func() { svc.GetContact(context.Background(), "") })
|
|
}
|
|
|
|
func TestWidgetService_UpdateContactProfile_Cov38(t *testing.T) {
|
|
svc := &WidgetService{}
|
|
safeCall_Cov38(func() { svc.UpdateContactProfile(context.Background(), "", WidgetContactUpdate{}) })
|
|
}
|
|
|
|
func TestWidgetService_SetUser_Cov38(t *testing.T) {
|
|
svc := &WidgetService{}
|
|
safeCall_Cov38(func() { svc.SetUser(context.Background(), WidgetSetUserRequest{}) })
|
|
}
|
|
|
|
func TestWidgetService_UpdateMessage_Cov38(t *testing.T) {
|
|
svc := &WidgetService{}
|
|
safeCall_Cov38(func() { svc.UpdateMessage(context.Background(), WidgetMessageUpdate{}) })
|
|
}
|
|
|
|
func TestWidgetService_identifyWidgetInputEmailContact_Cov38(t *testing.T) {
|
|
svc := &WidgetService{}
|
|
safeCall_Cov38(func() {
|
|
svc.identifyWidgetInputEmailContact(context.Background(), nil, nil, nil, WidgetMessageUpdate{})
|
|
})
|
|
}
|
|
|
|
func TestWidgetService_SendTranscript_Cov38(t *testing.T) {
|
|
svc := &WidgetService{}
|
|
safeCall_Cov38(func() { svc.SendTranscript(context.Background(), "") })
|
|
}
|
|
|
|
func TestWidgetService_buildWidgetTranscriptEmail_Cov38(t *testing.T) {
|
|
svc := &WidgetService{}
|
|
safeCall_Cov38(func() { svc.buildWidgetTranscriptEmail(context.Background(), nil) })
|
|
}
|
|
|
|
func TestWidgetService_AddDyteParticipant_Cov38(t *testing.T) {
|
|
svc := &WidgetService{}
|
|
safeCall_Cov38(func() { svc.AddDyteParticipant(context.Background(), "", "", 0) })
|
|
}
|
|
|
|
func TestWidgetService_DeleteContactCustomAttributes_Cov38(t *testing.T) {
|
|
svc := &WidgetService{}
|
|
safeCall_Cov38(func() { svc.DeleteContactCustomAttributes(context.Background(), "", nil) })
|
|
}
|
|
|
|
func TestWidgetService_ToggleTyping_Cov38(t *testing.T) {
|
|
svc := &WidgetService{}
|
|
safeCall_Cov38(func() { svc.ToggleTyping(context.Background(), "", 0, false) })
|
|
}
|
|
|
|
func TestWidgetService_UpdateLastSeen_Cov38(t *testing.T) {
|
|
svc := &WidgetService{}
|
|
safeCall_Cov38(func() { svc.UpdateLastSeen(context.Background(), "") })
|
|
}
|
|
|
|
func TestWidgetService_ResolveLatestConversation_Cov38(t *testing.T) {
|
|
svc := &WidgetService{}
|
|
safeCall_Cov38(func() { svc.ResolveLatestConversation(context.Background(), "") })
|
|
}
|
|
|
|
func TestWidgetService_latestConversationAllowsEnd_Cov38(t *testing.T) {
|
|
svc := &WidgetService{}
|
|
safeCall_Cov38(func() { svc.latestConversationAllowsEnd(context.Background(), nil) })
|
|
}
|
|
|
|
func TestWidgetService_SetLatestConversationCustomAttributes_Cov38(t *testing.T) {
|
|
svc := &WidgetService{}
|
|
safeCall_Cov38(func() { svc.SetLatestConversationCustomAttributes(context.Background(), "", nil) })
|
|
}
|
|
|
|
func TestWidgetService_DeleteLatestConversationCustomAttributes_Cov38(t *testing.T) {
|
|
svc := &WidgetService{}
|
|
safeCall_Cov38(func() { svc.DeleteLatestConversationCustomAttributes(context.Background(), "", nil) })
|
|
}
|
|
|
|
func TestWidgetService_findInboxByWebsiteToken_Cov38(t *testing.T) {
|
|
svc := &WidgetService{}
|
|
safeCall_Cov38(func() { svc.findInboxByWebsiteToken(context.Background(), "") })
|
|
}
|
|
|
|
func TestWidgetService_GetInboxByWebsiteToken_Cov38(t *testing.T) {
|
|
svc := &WidgetService{}
|
|
safeCall_Cov38(func() { svc.GetInboxByWebsiteToken(context.Background(), "") })
|
|
}
|
|
|
|
func TestWidgetService_findOrCreateWidgetContact_Cov38(t *testing.T) {
|
|
svc := &WidgetService{}
|
|
safeCall_Cov38(func() { svc.findOrCreateWidgetContact(context.Background(), 0, WidgetInitRequest{}) })
|
|
}
|
|
|
|
func TestWidgetService_findOrCreateContactByIdentifier_Cov38(t *testing.T) {
|
|
svc := &WidgetService{}
|
|
safeCall_Cov38(func() { svc.findOrCreateContactByIdentifier(context.Background(), 0, "") })
|
|
}
|
|
|
|
func TestWidgetService_findOrCreateContactInbox_Cov38(t *testing.T) {
|
|
svc := &WidgetService{}
|
|
safeCall_Cov38(func() { svc.findOrCreateContactInbox(context.Background(), 0, 0) })
|
|
}
|
|
|
|
func TestWidgetService_createWidgetConversation_Cov38(t *testing.T) {
|
|
svc := &WidgetService{}
|
|
safeCall_Cov38(func() { svc.createWidgetConversation(context.Background(), nil, nil, nil) })
|
|
}
|
|
|
|
func TestWidgetService_validWidgetLabels_Cov38(t *testing.T) {
|
|
svc := &WidgetService{}
|
|
safeCall_Cov38(func() { svc.validWidgetLabels(context.Background(), 0, nil) })
|
|
}
|
|
|
|
func TestWidgetService_SubmitOfflineMessage_Cov38(t *testing.T) {
|
|
svc := &WidgetService{}
|
|
safeCall_Cov38(func() { svc.SubmitOfflineMessage(context.Background(), 0, 0, nil, "", "") })
|
|
}
|
|
|
|
func TestWidgetService_GetOfflineMessages_Cov38(t *testing.T) {
|
|
svc := &WidgetService{}
|
|
safeCall_Cov38(func() { svc.GetOfflineMessages(context.Background(), 0) })
|
|
}
|
|
|
|
func TestWidgetService_ListOfflineMessagesByAccount_Cov38(t *testing.T) {
|
|
svc := &WidgetService{}
|
|
safeCall_Cov38(func() { svc.ListOfflineMessagesByAccount(context.Background(), 0, 0, 0) })
|
|
}
|
|
|
|
func TestWidgetService_ConvertOfflineMessageToConversation_Cov38(t *testing.T) {
|
|
svc := &WidgetService{}
|
|
safeCall_Cov38(func() { svc.ConvertOfflineMessageToConversation(context.Background(), 0) })
|
|
}
|
|
|
|
func TestWidgetService_findOrCreateContactFromOfflineMessage_Cov38(t *testing.T) {
|
|
svc := &WidgetService{}
|
|
safeCall_Cov38(func() { svc.findOrCreateContactFromOfflineMessage(context.Background(), 0, nil) })
|
|
}
|
|
|
|
func TestWidgetService_MarkOfflineMessageConverted_Cov38(t *testing.T) {
|
|
svc := &WidgetService{}
|
|
safeCall_Cov38(func() { svc.MarkOfflineMessageConverted(context.Background(), 0, 0) })
|
|
}
|
|
|
|
func TestWidgetService_DismissOfflineMessage_Cov38(t *testing.T) {
|
|
svc := &WidgetService{}
|
|
safeCall_Cov38(func() { svc.DismissOfflineMessage(context.Background(), 0) })
|
|
}
|
|
|
|
func TestWidgetService_CountPendingOfflineMessages_Cov38(t *testing.T) {
|
|
svc := &WidgetService{}
|
|
safeCall_Cov38(func() { svc.CountPendingOfflineMessages(context.Background(), 0) })
|
|
}
|
|
|
|
func TestWidgetService_findPublicContact_Cov38(t *testing.T) {
|
|
svc := &WidgetService{}
|
|
safeCall_Cov38(func() { svc.findPublicContact(context.Background(), 0, PublicContactRequest{}) })
|
|
}
|
|
|
|
func TestWidgetService_attachWidgetUploads_Cov38(t *testing.T) {
|
|
svc := &WidgetService{}
|
|
safeCall_Cov38(func() { svc.attachWidgetUploads(context.Background(), nil, nil) })
|
|
}
|
|
|
|
func TestWidgetService_resolvePublicInbox_Cov38(t *testing.T) {
|
|
svc := &WidgetService{}
|
|
safeCall_Cov38(func() { svc.resolvePublicInbox(context.Background(), "") })
|
|
}
|
|
|
|
func TestWidgetService_resolvePublicContactInbox_Cov38(t *testing.T) {
|
|
svc := &WidgetService{}
|
|
safeCall_Cov38(func() { svc.resolvePublicContactInbox(context.Background(), "", "") })
|
|
}
|
|
|
|
func TestWidgetService_GetThemeConfigByInboxID_Cov38(t *testing.T) {
|
|
svc := &WidgetService{}
|
|
safeCall_Cov38(func() { svc.GetThemeConfigByInboxID(context.Background(), 0) })
|
|
}
|
|
|
|
func TestWidgetService_GetThemeConfig_Cov38(t *testing.T) {
|
|
svc := &WidgetService{}
|
|
safeCall_Cov38(func() { svc.GetThemeConfig(context.Background(), "") })
|
|
}
|
|
|
|
func TestWidgetService_UpdateThemeConfig_Cov38(t *testing.T) {
|
|
svc := &WidgetService{}
|
|
safeCall_Cov38(func() { svc.UpdateThemeConfig(context.Background(), 0, nil) })
|
|
}
|
|
|
|
func TestWidgetService_DeleteThemeConfig_Cov38(t *testing.T) {
|
|
svc := &WidgetService{}
|
|
safeCall_Cov38(func() { svc.DeleteThemeConfig(context.Background(), 0) })
|
|
}
|
|
|
|
func TestWidgetService_GetPreChatFormByInboxID_Cov38(t *testing.T) {
|
|
svc := &WidgetService{}
|
|
safeCall_Cov38(func() { svc.GetPreChatFormByInboxID(context.Background(), 0) })
|
|
}
|
|
|
|
func TestWidgetService_GetPreChatForm_Cov38(t *testing.T) {
|
|
svc := &WidgetService{}
|
|
safeCall_Cov38(func() { svc.GetPreChatForm(context.Background(), "") })
|
|
}
|
|
|
|
func TestWidgetService_UpdatePreChatForm_Cov38(t *testing.T) {
|
|
svc := &WidgetService{}
|
|
safeCall_Cov38(func() { svc.UpdatePreChatForm(context.Background(), 0, nil) })
|
|
}
|
|
|
|
func TestWidgetService_DeletePreChatForm_Cov38(t *testing.T) {
|
|
svc := &WidgetService{}
|
|
safeCall_Cov38(func() { svc.DeletePreChatForm(context.Background(), 0) })
|
|
}
|
|
|
|
func TestWidgetService_SubmitPreChatForm_Cov38(t *testing.T) {
|
|
svc := &WidgetService{}
|
|
safeCall_Cov38(func() { svc.SubmitPreChatForm(context.Background(), "", model.PreChatFormSubmission{}) })
|
|
}
|
|
|
|
func TestWidgetService_StageFileUpload_Cov38(t *testing.T) {
|
|
svc := &WidgetService{}
|
|
safeCall_Cov38(func() { svc.StageFileUpload(context.Background(), WidgetUploadRequest{}, nil) })
|
|
}
|
|
|
|
func TestWidgetService_GetFileUploadStatus_Cov38(t *testing.T) {
|
|
svc := &WidgetService{}
|
|
safeCall_Cov38(func() { svc.GetFileUploadStatus(context.Background(), "", "") })
|
|
}
|
|
|
|
func TestWidgetService_UploadFile_Cov38(t *testing.T) {
|
|
svc := &WidgetService{}
|
|
safeCall_Cov38(func() { svc.UploadFile(context.Background(), WidgetUploadRequest{}, nil) })
|
|
}
|
|
|
|
func TestWidgetService_AttachUploadToMessage_Cov38(t *testing.T) {
|
|
svc := &WidgetService{}
|
|
safeCall_Cov38(func() { svc.AttachUploadToMessage(context.Background(), 0, 0) })
|
|
}
|
|
|
|
func TestWidgetService_CleanupExpiredUploads_Cov38(t *testing.T) {
|
|
svc := &WidgetService{}
|
|
safeCall_Cov38(func() { svc.CleanupExpiredUploads(context.Background()) })
|
|
}
|
|
|
|
// === WidgetTestService ===
|
|
|
|
func TestWidgetTestService_List_Cov38(t *testing.T) {
|
|
svc := &WidgetTestService{}
|
|
safeCall_Cov38(func() { svc.List(context.Background()) })
|
|
}
|
|
|
|
func TestWidgetTestService_ListByType_Cov38(t *testing.T) {
|
|
svc := &WidgetTestService{}
|
|
safeCall_Cov38(func() { svc.ListByType(context.Background(), "") })
|
|
}
|
|
|
|
// === WorkingHourService ===
|
|
|
|
func TestWorkingHourService_IsOutOfOffice_Cov38(t *testing.T) {
|
|
svc := &WorkingHourService{}
|
|
safeCall_Cov38(func() { svc.IsOutOfOffice(context.Background(), 0) })
|
|
}
|
|
|
|
func TestWorkingHourService_isClosedNow_Cov38(t *testing.T) {
|
|
svc := &WorkingHourService{}
|
|
safeCall_Cov38(func() { svc.isClosedNow(nil, time.Time{}, nil) })
|
|
}
|
|
|
|
func TestWorkingHourService_GetWeeklySchedule_Cov38(t *testing.T) {
|
|
svc := &WorkingHourService{}
|
|
safeCall_Cov38(func() { svc.GetWeeklySchedule(context.Background(), 0) })
|
|
}
|
|
|
|
func TestWorkingHourService_UpdateWeeklySchedule_Cov38(t *testing.T) {
|
|
svc := &WorkingHourService{}
|
|
safeCall_Cov38(func() { svc.UpdateWeeklySchedule(context.Background(), 0, nil) })
|
|
}
|
|
|
|
func TestWorkingHourService_InitDefaultWorkingHours_Cov38(t *testing.T) {
|
|
svc := &WorkingHourService{}
|
|
safeCall_Cov38(func() { svc.InitDefaultWorkingHours(context.Background(), 0, 0) })
|
|
}
|
|
|
|
// === YearInReviewService ===
|
|
|
|
func TestYearInReviewService_Show_Cov38(t *testing.T) {
|
|
svc := &YearInReviewService{}
|
|
safeCall_Cov38(func() { svc.Show(context.Background(), 0, 0, 0) })
|
|
}
|
|
|
|
func TestYearInReviewService_Build_Cov38(t *testing.T) {
|
|
svc := &YearInReviewService{}
|
|
safeCall_Cov38(func() { svc.Build(context.Background(), 0, 0, 0) })
|
|
}
|
|
|
|
func TestYearInReviewService_accountLocation_Cov38(t *testing.T) {
|
|
svc := &YearInReviewService{}
|
|
safeCall_Cov38(func() { svc.accountLocation(context.Background(), 0) })
|
|
}
|
|
|
|
func TestYearInReviewService_averageFirstResponse_Cov38(t *testing.T) {
|
|
svc := &YearInReviewService{}
|
|
safeCall_Cov38(func() { svc.averageFirstResponse(context.Background(), 0, 0, time.Time{}, time.Time{}) })
|
|
}
|
|
|
|
// === Constructors ===
|
|
|
|
func TestNewCopilotService_Cov38(t *testing.T) {
|
|
svc := NewCopilotService(nil, nil, nil, nil)
|
|
_ = svc
|
|
}
|
|
|
|
func TestNewNoteService_Cov38(t *testing.T) {
|
|
svc := NewNoteService(nil)
|
|
_ = svc
|
|
}
|
|
|
|
func TestNewPushDeliveryService_Cov38(t *testing.T) {
|
|
svc := NewPushDeliveryService(nil, "", "", "")
|
|
_ = svc
|
|
}
|
|
|
|
func TestNewWebhookDeliveryService_Cov38(t *testing.T) {
|
|
svc := NewWebhookDeliveryService(nil)
|
|
_ = svc
|
|
}
|
|
|
|
func TestNewUploadService_Cov38(t *testing.T) {
|
|
svc := NewUploadService(nil, nil)
|
|
_ = svc
|
|
}
|
|
|
|
func TestNewReportingRollupService_Cov38(t *testing.T) {
|
|
svc := NewReportingRollupService(nil, nil)
|
|
_ = svc
|
|
}
|
|
|
|
func TestNewChannelInstagramService_Cov38(t *testing.T) {
|
|
svc := NewChannelInstagramService(nil, nil)
|
|
_ = svc
|
|
}
|
|
|
|
func TestNewChannelTwilioSMSService_Cov38(t *testing.T) {
|
|
svc := NewChannelTwilioSMSService(nil)
|
|
_ = svc
|
|
}
|
|
|
|
func TestNewWebhookSubscriptionService_Cov38(t *testing.T) {
|
|
svc := NewWebhookSubscriptionService(nil)
|
|
_ = svc
|
|
}
|
|
|
|
func TestNewNotificationService_Cov38(t *testing.T) {
|
|
svc := NewNotificationService(nil, nil, nil)
|
|
_ = svc
|
|
}
|
|
|
|
func TestNewCsatMetricsService_Cov38(t *testing.T) {
|
|
svc := NewCsatMetricsService(nil)
|
|
_ = svc
|
|
}
|
|
|
|
func TestNewCaptainPreferenceService_Cov38(t *testing.T) {
|
|
svc := NewCaptainPreferenceService(nil)
|
|
_ = svc
|
|
}
|
|
|
|
func TestNewCaptainCustomToolService_Cov38(t *testing.T) {
|
|
svc := NewCaptainCustomToolService(nil)
|
|
_ = svc
|
|
}
|
|
|
|
func TestNewAttachmentService_Cov38(t *testing.T) {
|
|
svc := NewAttachmentService(nil)
|
|
_ = svc
|
|
}
|
|
|
|
func TestNewCustomAttributeValueService_Cov38(t *testing.T) {
|
|
svc := NewCustomAttributeValueService(nil, nil, nil)
|
|
_ = svc
|
|
}
|
|
|
|
func TestNewProfileService_Cov38(t *testing.T) {
|
|
svc := NewProfileService(nil, nil)
|
|
_ = svc
|
|
}
|
|
|
|
func TestNewSlaPolicyService_Cov38(t *testing.T) {
|
|
svc := NewSlaPolicyService(nil, nil, nil, nil)
|
|
_ = svc
|
|
}
|
|
|
|
func TestNewChannelTikTokService_Cov38(t *testing.T) {
|
|
svc := NewChannelTikTokService(nil)
|
|
_ = svc
|
|
}
|
|
|
|
func TestNewCopilotContextService_Cov38(t *testing.T) {
|
|
svc := NewCopilotContextService(nil, nil, nil, nil)
|
|
_ = svc
|
|
}
|
|
|
|
func TestNewFolderService_Cov38(t *testing.T) {
|
|
svc := NewFolderService(nil)
|
|
_ = svc
|
|
}
|
|
|
|
func TestNewConversationInsightService_Cov38(t *testing.T) {
|
|
svc := NewConversationInsightService(nil, nil, nil, nil)
|
|
_ = svc
|
|
}
|
|
|
|
func TestNewCaptainScenarioService_Cov38(t *testing.T) {
|
|
svc := NewCaptainScenarioService(nil)
|
|
_ = svc
|
|
}
|
|
|
|
func TestNewChannelTwitterService_Cov38(t *testing.T) {
|
|
svc := NewChannelTwitterService(nil)
|
|
_ = svc
|
|
}
|
|
|
|
func TestNewBannerService_Cov38(t *testing.T) {
|
|
svc := NewBannerService(nil)
|
|
_ = svc
|
|
}
|
|
|
|
func TestNewAutoReplyRuleService_Cov38(t *testing.T) {
|
|
svc := NewAutoReplyRuleService(nil, nil, nil, nil)
|
|
_ = svc
|
|
}
|
|
|
|
func TestNewConversationParticipantService_Cov38(t *testing.T) {
|
|
svc := NewConversationParticipantService(nil, nil)
|
|
_ = svc
|
|
}
|
|
|
|
func TestNewToolExecutionService_Cov38(t *testing.T) {
|
|
svc := NewToolExecutionService(nil, nil)
|
|
_ = svc
|
|
}
|
|
|
|
func TestNewDyteIntegrationService_Cov38(t *testing.T) {
|
|
svc := NewDyteIntegrationService(nil, nil)
|
|
_ = svc
|
|
}
|
|
|
|
func TestNewChannelTwilioService_Cov38(t *testing.T) {
|
|
svc := NewChannelTwilioService(nil)
|
|
_ = svc
|
|
}
|
|
|
|
func TestNewNotificationSubscriptionService_Cov38(t *testing.T) {
|
|
svc := NewNotificationSubscriptionService(nil)
|
|
_ = svc
|
|
}
|
|
|
|
func TestNewAnalyticsService_Cov38(t *testing.T) {
|
|
svc := NewAnalyticsService(nil, nil)
|
|
_ = svc
|
|
}
|
|
|
|
func TestNewInboxMemberService_Cov38(t *testing.T) {
|
|
svc := NewInboxMemberService(nil)
|
|
_ = svc
|
|
}
|
|
|
|
func TestNewCustomAttributeDefinitionService_Cov38(t *testing.T) {
|
|
svc := NewCustomAttributeDefinitionService(nil)
|
|
_ = svc
|
|
}
|
|
|
|
func TestNewAuthService_Cov38(t *testing.T) {
|
|
svc := NewAuthService(nil, nil, nil)
|
|
_ = svc
|
|
}
|
|
|
|
func TestNewInstallationConfigService_Cov38(t *testing.T) {
|
|
svc := NewInstallationConfigService(nil)
|
|
_ = svc
|
|
}
|
|
|
|
func TestNewPortalMemberService_Cov38(t *testing.T) {
|
|
svc := NewPortalMemberService(nil)
|
|
_ = svc
|
|
}
|
|
|
|
func TestNewSummaryReportService_Cov38(t *testing.T) {
|
|
svc := NewSummaryReportService(nil)
|
|
_ = svc
|
|
}
|
|
|
|
func TestNewCaptainBulkActionService_Cov38(t *testing.T) {
|
|
svc := NewCaptainBulkActionService(nil, nil, nil, nil, nil, nil, nil)
|
|
_ = svc
|
|
}
|
|
|
|
func TestNewMessageService_Cov38(t *testing.T) {
|
|
svc := NewMessageService(nil, nil, nil)
|
|
_ = svc
|
|
}
|
|
|
|
func TestNewPortalService_Cov38(t *testing.T) {
|
|
svc := NewPortalService(nil)
|
|
_ = svc
|
|
}
|
|
|
|
func TestNewCaptainTaskService_Cov38(t *testing.T) {
|
|
svc := NewCaptainTaskService(nil, nil, nil, nil, nil, nil, nil)
|
|
_ = svc
|
|
}
|
|
|
|
func TestNewLinearIntegrationService_Cov38(t *testing.T) {
|
|
svc := NewLinearIntegrationService(nil)
|
|
_ = svc
|
|
}
|
|
|
|
func TestNewNotionIntegrationService_Cov38(t *testing.T) {
|
|
svc := NewNotionIntegrationService(nil)
|
|
_ = svc
|
|
}
|
|
|
|
func TestNewDeliveryStatusService_Cov38(t *testing.T) {
|
|
svc := NewDeliveryStatusService(nil, nil)
|
|
_ = svc
|
|
}
|
|
|
|
func TestNewConversationService_Cov38(t *testing.T) {
|
|
svc := NewConversationService(nil, nil, nil, nil, nil, nil, nil)
|
|
_ = svc
|
|
}
|
|
|
|
func TestNewSlackIntegrationService_Cov38(t *testing.T) {
|
|
svc := NewSlackIntegrationService(nil)
|
|
_ = svc
|
|
}
|
|
|
|
func TestNewInboxService_Cov38(t *testing.T) {
|
|
svc := NewInboxService(nil, nil, nil, nil, nil, nil, nil)
|
|
_ = svc
|
|
}
|
|
|
|
func TestNewNotificationSettingService_Cov38(t *testing.T) {
|
|
svc := NewNotificationSettingService(nil)
|
|
_ = svc
|
|
}
|
|
|
|
func TestNewCaptainConversationService_Cov38(t *testing.T) {
|
|
svc := NewCaptainConversationService(nil, nil)
|
|
_ = svc
|
|
}
|
|
|
|
func TestNewChannelEmailService_Cov38(t *testing.T) {
|
|
svc := NewChannelEmailService(nil)
|
|
_ = svc
|
|
}
|
|
|
|
func TestNewCsatTemplateService_Cov38(t *testing.T) {
|
|
svc := NewCsatTemplateService(nil)
|
|
_ = svc
|
|
}
|
|
|
|
func TestNewArticleService_Cov38(t *testing.T) {
|
|
svc := NewArticleService(nil)
|
|
_ = svc
|
|
}
|
|
|
|
func TestNewWidgetTestService_Cov38(t *testing.T) {
|
|
svc := NewWidgetTestService(nil)
|
|
_ = svc
|
|
}
|
|
|
|
func TestNewChannelLINEService_Cov38(t *testing.T) {
|
|
svc := NewChannelLINEService(nil)
|
|
_ = svc
|
|
}
|
|
|
|
func TestNewDashboardAppService_Cov38(t *testing.T) {
|
|
svc := NewDashboardAppService(nil)
|
|
_ = svc
|
|
}
|
|
|
|
func TestNewAssignableAgentService_Cov38(t *testing.T) {
|
|
svc := NewAssignableAgentService(nil, nil, nil, nil)
|
|
_ = svc
|
|
}
|
|
|
|
func TestNewTeamService_Cov38(t *testing.T) {
|
|
svc := NewTeamService(nil, nil, nil)
|
|
_ = svc
|
|
}
|
|
|
|
func TestNewIntegrationHookService_Cov38(t *testing.T) {
|
|
svc := NewIntegrationHookService(nil, nil, nil)
|
|
_ = svc
|
|
}
|
|
|
|
func TestNewAgentService_Cov38(t *testing.T) {
|
|
svc := NewAgentService(nil, nil)
|
|
_ = svc
|
|
}
|
|
|
|
func TestNewAgentBotInboxService_Cov38(t *testing.T) {
|
|
svc := NewAgentBotInboxService(nil, nil)
|
|
_ = svc
|
|
}
|
|
|
|
func TestNewAccountUserService_Cov38(t *testing.T) {
|
|
svc := NewAccountUserService(nil, nil, nil, nil, nil)
|
|
_ = svc
|
|
}
|
|
|
|
func TestNewRAGService_Cov38(t *testing.T) {
|
|
svc := NewRAGService(nil, nil, nil)
|
|
_ = svc
|
|
}
|
|
|
|
func TestNewAssignmentPolicyService_Cov38(t *testing.T) {
|
|
svc := NewAssignmentPolicyService(nil, nil, nil)
|
|
_ = svc
|
|
}
|
|
|
|
func TestNewIntentService_Cov38(t *testing.T) {
|
|
svc := NewIntentService(nil)
|
|
_ = svc
|
|
}
|
|
|
|
func TestNewYearInReviewService_Cov38(t *testing.T) {
|
|
svc := NewYearInReviewService(nil)
|
|
_ = svc
|
|
}
|
|
|
|
func TestNewCaptainAssistantResponseService_Cov38(t *testing.T) {
|
|
svc := NewCaptainAssistantResponseService(nil, nil, nil, nil, nil, nil)
|
|
_ = svc
|
|
}
|
|
|
|
func TestNewSlaEventService_Cov38(t *testing.T) {
|
|
svc := NewSlaEventService(nil, nil)
|
|
_ = svc
|
|
}
|
|
|
|
func TestNewContactInboxService_Cov38(t *testing.T) {
|
|
svc := NewContactInboxService(nil)
|
|
_ = svc
|
|
}
|
|
|
|
func TestNewCompanyService_Cov38(t *testing.T) {
|
|
svc := NewCompanyService(nil, nil, nil)
|
|
_ = svc
|
|
}
|
|
|
|
func TestNewRBACService_Cov38(t *testing.T) {
|
|
svc := NewRBACService(nil)
|
|
_ = svc
|
|
}
|
|
|
|
func TestNewPlatformAppService_Cov38(t *testing.T) {
|
|
svc := NewPlatformAppService(nil, nil, nil)
|
|
_ = svc
|
|
}
|
|
|
|
func TestNewReportingBackfillService_Cov38(t *testing.T) {
|
|
svc := NewReportingBackfillService(nil, nil)
|
|
_ = svc
|
|
}
|
|
|
|
func TestNewAuditService_Cov38(t *testing.T) {
|
|
svc := NewAuditService(nil)
|
|
_ = svc
|
|
}
|
|
|
|
func TestNewReportingEventService_Cov38(t *testing.T) {
|
|
svc := NewReportingEventService(nil)
|
|
_ = svc
|
|
}
|
|
|
|
func TestNewContactNoteService_Cov38(t *testing.T) {
|
|
svc := NewContactNoteService(nil, nil)
|
|
_ = svc
|
|
}
|
|
|
|
func TestNewCaptainDocumentService_Cov38(t *testing.T) {
|
|
svc := NewCaptainDocumentService(nil, nil)
|
|
_ = svc
|
|
}
|
|
|
|
func TestNewAgentBotService_Cov38(t *testing.T) {
|
|
svc := NewAgentBotService(nil)
|
|
_ = svc
|
|
}
|
|
|
|
func TestNewAgentCapacityPolicyService_Cov38(t *testing.T) {
|
|
svc := NewAgentCapacityPolicyService(nil)
|
|
_ = svc
|
|
}
|
|
|
|
func TestNewSlackEventProcessor_Cov38(t *testing.T) {
|
|
svc := NewSlackEventProcessor(nil, nil, nil)
|
|
_ = svc
|
|
}
|
|
|
|
func TestNewShopifyEventProcessor_Cov38(t *testing.T) {
|
|
svc := NewShopifyEventProcessor(nil, nil)
|
|
_ = svc
|
|
}
|
|
|
|
func TestNewLinearEventProcessor_Cov38(t *testing.T) {
|
|
svc := NewLinearEventProcessor(nil, nil)
|
|
_ = svc
|
|
}
|
|
|
|
func TestNewNotionEventProcessor_Cov38(t *testing.T) {
|
|
svc := NewNotionEventProcessor(nil, nil)
|
|
_ = svc
|
|
}
|
|
|
|
func TestNewGenericWebhookProcessor_Cov38(t *testing.T) {
|
|
svc := NewGenericWebhookProcessor(nil, nil)
|
|
_ = svc
|
|
}
|
|
|
|
func TestNewWebhookProcessorRegistry_Cov38(t *testing.T) {
|
|
svc := NewWebhookProcessorRegistry(nil, nil, nil)
|
|
_ = svc
|
|
}
|
|
|
|
func TestNewCategoryService_Cov38(t *testing.T) {
|
|
svc := NewCategoryService(nil, nil)
|
|
_ = svc
|
|
}
|
|
|
|
func TestNewWorkingHourService_Cov38(t *testing.T) {
|
|
svc := NewWorkingHourService(nil, nil, nil)
|
|
_ = svc
|
|
}
|
|
|
|
func TestNewContactService_Cov38(t *testing.T) {
|
|
svc := NewContactService(nil, nil, nil)
|
|
_ = svc
|
|
}
|
|
|
|
func TestNewPushSubscriptionService_Cov38(t *testing.T) {
|
|
svc := NewPushSubscriptionService(nil)
|
|
_ = svc
|
|
}
|
|
|
|
func TestNewCustomFilterService_Cov38(t *testing.T) {
|
|
svc := NewCustomFilterService(nil)
|
|
_ = svc
|
|
}
|
|
|
|
func TestNewWidgetService_Cov38(t *testing.T) {
|
|
svc := NewWidgetService(nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil)
|
|
_ = svc
|
|
}
|
|
|
|
func TestNewCopilotConfigService_Cov38(t *testing.T) {
|
|
svc := NewCopilotConfigService(nil, nil)
|
|
_ = svc
|
|
}
|
|
|
|
func TestNewAppliedSlaService_Cov38(t *testing.T) {
|
|
svc := NewAppliedSlaService(nil, nil, nil, nil)
|
|
_ = svc
|
|
}
|
|
|
|
func TestNewCampaignService_Cov38(t *testing.T) {
|
|
svc := NewCampaignService(nil, nil)
|
|
_ = svc
|
|
}
|
|
|
|
func TestNewAssignmentPolicyV2Service_Cov38(t *testing.T) {
|
|
svc := NewAssignmentPolicyV2Service(nil, nil)
|
|
_ = svc
|
|
}
|
|
|
|
func TestNewCaptainTaskExtendedService_Cov38(t *testing.T) {
|
|
svc := NewCaptainTaskExtendedService(nil, nil, nil, nil, nil)
|
|
_ = svc
|
|
}
|
|
|
|
func TestNewChannelFacebookService_Cov38(t *testing.T) {
|
|
svc := NewChannelFacebookService(nil)
|
|
_ = svc
|
|
}
|
|
|
|
func TestNewInboxLimitService_Cov38(t *testing.T) {
|
|
svc := NewInboxLimitService(nil)
|
|
_ = svc
|
|
}
|
|
|
|
func TestNewCustomRoleService_Cov38(t *testing.T) {
|
|
svc := NewCustomRoleService(nil)
|
|
_ = svc
|
|
}
|
|
|
|
func TestNewChannelMicrosoftService_Cov38(t *testing.T) {
|
|
svc := NewChannelMicrosoftService(nil)
|
|
_ = svc
|
|
}
|
|
|
|
func TestNewCaptainAssistantService_Cov38(t *testing.T) {
|
|
svc := NewCaptainAssistantService(nil, nil, nil, nil, nil)
|
|
_ = svc
|
|
}
|
|
|
|
func TestNewChannelGoogleService_Cov38(t *testing.T) {
|
|
svc := NewChannelGoogleService(nil)
|
|
_ = svc
|
|
}
|
|
|
|
func TestNewEmailChannelMigrationService_Cov38(t *testing.T) {
|
|
svc := NewEmailChannelMigrationService(nil)
|
|
_ = svc
|
|
}
|
|
|
|
func TestNewWhatsAppCallService_Cov38(t *testing.T) {
|
|
svc := NewWhatsAppCallService(nil)
|
|
_ = svc
|
|
}
|
|
|
|
func TestNewShopifyIntegrationService_Cov38(t *testing.T) {
|
|
svc := NewShopifyIntegrationService(nil)
|
|
_ = svc
|
|
}
|
|
|
|
func TestNewDraftMessageService_Cov38(t *testing.T) {
|
|
svc := NewDraftMessageService(nil, nil)
|
|
_ = svc
|
|
}
|
|
|
|
func TestNewPlatformUserService_Cov38(t *testing.T) {
|
|
svc := NewPlatformUserService(nil, nil)
|
|
_ = svc
|
|
}
|
|
|
|
func TestNewAccountService_Cov38(t *testing.T) {
|
|
svc := NewAccountService(nil)
|
|
_ = svc
|
|
}
|
|
|
|
func TestNewLabelService_Cov38(t *testing.T) {
|
|
svc := NewLabelService(nil, nil)
|
|
_ = svc
|
|
}
|
|
|
|
func TestNewContactMergeService_Cov38(t *testing.T) {
|
|
svc := NewContactMergeService(nil, nil)
|
|
_ = svc
|
|
}
|
|
|
|
func TestNewTagService_Cov38(t *testing.T) {
|
|
svc := NewTagService(nil)
|
|
_ = svc
|
|
}
|