package service import ( "context" "testing" "time" "github.com/gochat/gochat/internal/model" "github.com/gochat/gochat/internal/repository" ) func safeCall_Cov37(fn func()) { defer func() { _ = recover() }(); fn() } // === AccountService === func TestAccountService_ListByUser_Cov37(t *testing.T) { svc := &AccountService{} safeCall_Cov37(func() { _, _, _ = svc.ListByUser(context.Background(), 1, 0, 10) }) } func TestAccountService_GetByID_Cov37(t *testing.T) { svc := &AccountService{} safeCall_Cov37(func() { _, _ = svc.GetByID(context.Background(), 1) }) } func TestAccountService_Create_Cov37(t *testing.T) { svc := &AccountService{} safeCall_Cov37(func() { _, _ = svc.Create(context.Background(), 1, CreateAccountRequest{Name: "test"}) }) } func TestAccountService_Update_Cov37(t *testing.T) { svc := &AccountService{} safeCall_Cov37(func() { _, _ = svc.Update(context.Background(), 1, UpdateAccountRequest{Name: "test"}) }) } func TestAccountService_Delete_Cov37(t *testing.T) { svc := &AccountService{} safeCall_Cov37(func() { _ = svc.Delete(context.Background(), 1) }) } // === AccountUserService === func TestAccountUserService_ListByAccount_Cov37(t *testing.T) { svc := &AccountUserService{} safeCall_Cov37(func() { _, _, _ = svc.ListByAccount(context.Background(), 1, 0, 10) }) } func TestAccountUserService_GetByAccountAndUser_Cov37(t *testing.T) { svc := &AccountUserService{} safeCall_Cov37(func() { _, _ = svc.GetByAccountAndUser(context.Background(), 1, 1) }) } func TestAccountUserService_RemoveUserFromAccount_Cov37(t *testing.T) { svc := &AccountUserService{} safeCall_Cov37(func() { _ = svc.RemoveUserFromAccount(context.Background(), 1, 1) }) } // === AgentBotInboxService === func TestAgentBotInboxService_Bind_Cov37(t *testing.T) { svc := &AgentBotInboxService{} safeCall_Cov37(func() { _, _ = svc.Bind(context.Background(), 1, BindBotToInboxRequest{}) }) } func TestAgentBotInboxService_Unbind_Cov37(t *testing.T) { svc := &AgentBotInboxService{} safeCall_Cov37(func() { _ = svc.Unbind(context.Background(), 1) }) } func TestAgentBotInboxService_ListByInbox_Cov37(t *testing.T) { svc := &AgentBotInboxService{} safeCall_Cov37(func() { _, _ = svc.ListByInbox(context.Background(), 1) }) } // === AgentBotService === func TestAgentBotService_Create_Cov37(t *testing.T) { svc := &AgentBotService{} safeCall_Cov37(func() { _, _ = svc.Create(context.Background(), CreateAgentBotRequest{Name: "bot"}) }) } func TestAgentBotService_Get_Cov37(t *testing.T) { svc := &AgentBotService{} safeCall_Cov37(func() { _, _ = svc.Get(context.Background(), 1) }) } func TestAgentBotService_List_Cov37(t *testing.T) { svc := &AgentBotService{} safeCall_Cov37(func() { _, _ = svc.List(context.Background(), 1) }) } func TestAgentBotService_Delete_Cov37(t *testing.T) { svc := &AgentBotService{} safeCall_Cov37(func() { _ = svc.Delete(context.Background(), 1) }) } func TestAgentBotService_ResetToken_Cov37(t *testing.T) { svc := &AgentBotService{} safeCall_Cov37(func() { _, _ = svc.ResetToken(context.Background(), 1) }) } func TestAgentBotService_Create_DB_Cov37(t *testing.T) { db := newSimpleServiceTestDB(t) svc := NewAgentBotService(repository.NewAgentBotRepo(db)) _, _ = svc.Create(context.Background(), CreateAgentBotRequest{Name: "dbbot"}) } // === AgentCapacityPolicyService === func TestAgentCapacityPolicyService_List_Cov37(t *testing.T) { svc := &AgentCapacityPolicyService{} safeCall_Cov37(func() { _, _, _ = svc.List(context.Background(), 1, 1, 10) }) } func TestAgentCapacityPolicyService_Create_Cov37(t *testing.T) { svc := &AgentCapacityPolicyService{} safeCall_Cov37(func() { _, _ = svc.Create(context.Background(), 1, CreateAgentCapacityPolicyRequest{Name: "p"}) }) } func TestAgentCapacityPolicyService_GetByID_Cov37(t *testing.T) { svc := &AgentCapacityPolicyService{} safeCall_Cov37(func() { _, _ = svc.GetByID(context.Background(), 1, 1) }) } // === AgentService === func TestAgentService_List_Cov37(t *testing.T) { svc := &AgentService{} safeCall_Cov37(func() { _, _, _ = svc.List(context.Background(), 1, 0, 10) }) } func TestAgentService_Get_Cov37(t *testing.T) { svc := &AgentService{} safeCall_Cov37(func() { _, _ = svc.Get(context.Background(), 1, 1) }) } func TestAgentService_Create_Cov37(t *testing.T) { svc := &AgentService{} safeCall_Cov37(func() { _, _ = svc.Create(context.Background(), 1, 1, CreateAgentRequest{Email: "a@b.com"}) }) } // === AnalyticsService === func TestAnalyticsService_GetSummary_Cov37(t *testing.T) { svc := &AnalyticsService{} safeCall_Cov37(func() { _, _ = svc.GetSummary(context.Background(), 1, time.Now(), time.Now()) }) } func TestAnalyticsService_GetAgentMetrics_Cov37(t *testing.T) { svc := &AnalyticsService{} safeCall_Cov37(func() { _, _ = svc.GetAgentMetrics(context.Background(), 1, time.Now(), time.Now()) }) } func TestAnalyticsService_RecordEvent_Cov37(t *testing.T) { svc := &AnalyticsService{} safeCall_Cov37(func() { _ = svc.RecordEvent(context.Background(), &model.ReportingEvent{}) }) } func TestAnalyticsService_GetConversationMetrics_Cov37(t *testing.T) { svc := &AnalyticsService{} safeCall_Cov37(func() { _, _ = svc.GetConversationMetrics(context.Background(), 1) }) } // === AppliedSlaService === func TestAppliedSlaService_ValidateSlaPolicy_Cov37(t *testing.T) { svc := &AppliedSlaService{} safeCall_Cov37(func() { _ = svc.ValidateSlaPolicy(context.Background(), 1, 1) }) } func TestAppliedSlaService_GetAppliedSla_Cov37(t *testing.T) { svc := &AppliedSlaService{} safeCall_Cov37(func() { _, _ = svc.Evaluate(context.Background(), 1) }) } func TestAppliedSlaService_CreateFromConversation_Cov37(t *testing.T) { svc := &AppliedSlaService{} safeCall_Cov37(func() { _, _ = svc.CreateFromConversation(context.Background(), 1, 1, 1) }) } // === ArticleService === func TestArticleService_Create_Cov37(t *testing.T) { svc := &ArticleService{} safeCall_Cov37(func() { _, _ = svc.Create(context.Background(), 1, 1, &CreateArticleRequest{Title: "t"}) }) } func TestArticleService_GetByID_Cov37(t *testing.T) { svc := &ArticleService{} safeCall_Cov37(func() { _, _ = svc.GetByID(context.Background(), 1) }) } func TestArticleService_Delete_Cov37(t *testing.T) { svc := &ArticleService{} safeCall_Cov37(func() { _ = svc.Delete(context.Background(), 1) }) } // === AssignmentPolicyService === func TestAssignmentPolicyService_ListAccountPolicies_Cov37(t *testing.T) { svc := &AssignmentPolicyService{} safeCall_Cov37(func() { _, _ = svc.ListAccountPolicies(context.Background(), 1) }) } func TestAssignmentPolicyService_CreateAccountPolicy_Cov37(t *testing.T) { svc := &AssignmentPolicyService{} safeCall_Cov37(func() { _, _ = svc.CreateAccountPolicy(context.Background(), 1, CreatePolicyRequest{Name: "p"}) }) } func TestAssignmentPolicyService_AssignConversation_Cov37(t *testing.T) { svc := &AssignmentPolicyService{} safeCall_Cov37(func() { _, _ = svc.AssignConversation(context.Background(), 1, 1, 1) }) } // === AssignmentPolicyV2Service === func TestAssignmentPolicyV2Service_List_Cov37(t *testing.T) { svc := &AssignmentPolicyV2Service{} safeCall_Cov37(func() { _, _ = svc.List(context.Background(), 1) }) } func TestAssignmentPolicyV2Service_Create_Cov37(t *testing.T) { svc := &AssignmentPolicyV2Service{} safeCall_Cov37(func() { _, _ = svc.Create(context.Background(), 1, &CreatePolicyV2Request{Name: "p"}) }) } func TestAssignmentPolicyV2Service_Delete_Cov37(t *testing.T) { svc := &AssignmentPolicyV2Service{} safeCall_Cov37(func() { _ = svc.Delete(context.Background(), 1, 1) }) } // === AssignableAgentService === func TestAssignableAgentService_FindAssignableAgents_Cov37(t *testing.T) { svc := &AssignableAgentService{} safeCall_Cov37(func() { _, _ = svc.FindAssignableAgents(context.Background(), 1, nil) }) } func TestAssignableAgentService_GetAssignableAgents_Cov37(t *testing.T) { svc := &AssignableAgentService{} safeCall_Cov37(func() { _, _ = svc.GetAssignableAgents(context.Background(), 1, nil) }) } func TestAssignableAgentService_GetAssignableAgentBots_Cov37(t *testing.T) { svc := &AssignableAgentService{} safeCall_Cov37(func() { _, _ = svc.GetAssignableAgentBots(context.Background(), 1) }) } // === AttachmentService === func TestAttachmentService_GetByID_Cov37(t *testing.T) { svc := &AttachmentService{} safeCall_Cov37(func() { _, _ = svc.GetByID(context.Background(), 1) }) } func TestAttachmentService_ListByMessage_Cov37(t *testing.T) { svc := &AttachmentService{} safeCall_Cov37(func() { _, _ = svc.ListByMessage(context.Background(), 1) }) } func TestAttachmentService_Create_Cov37(t *testing.T) { svc := &AttachmentService{} safeCall_Cov37(func() { _, _ = svc.Create(context.Background(), CreateAttachmentRequest{}) }) } func TestAttachmentService_Delete_Cov37(t *testing.T) { svc := &AttachmentService{} safeCall_Cov37(func() { _ = svc.Delete(context.Background(), 1) }) } // === AuditService === func TestAuditService_ListByAccount_Cov37(t *testing.T) { svc := &AuditService{} safeCall_Cov37(func() { _, _, _ = svc.ListByAccount(context.Background(), 1, "", "", 1, 10) }) } func TestAuditService_CreateAudit_Cov37(t *testing.T) { svc := &AuditService{} safeCall_Cov37(func() { _, _ = svc.CreateAudit(context.Background(), &model.Audit{}) }) } func TestAuditService_GetByID_Cov37(t *testing.T) { svc := &AuditService{} safeCall_Cov37(func() { _, _ = svc.GetByID(context.Background(), 1) }) } // === AutoReplyRuleService === func TestAutoReplyRuleService_CreateRule_Cov37(t *testing.T) { svc := &AutoReplyRuleService{} safeCall_Cov37(func() { _, _ = svc.CreateRule(context.Background(), 1, &CreateAutoReplyRuleRequest{Name: "r"}) }) } func TestAutoReplyRuleService_GetRule_Cov37(t *testing.T) { svc := &AutoReplyRuleService{} safeCall_Cov37(func() { _, _ = svc.GetRule(context.Background(), 1, 1) }) } func TestAutoReplyRuleService_ListRules_Cov37(t *testing.T) { svc := &AutoReplyRuleService{} safeCall_Cov37(func() { _, _, _ = svc.ListRules(context.Background(), 1, 0, 10) }) } // === BannerService === func TestBannerService_List_Cov37(t *testing.T) { svc := &BannerService{} safeCall_Cov37(func() { _, _, _ = svc.List(context.Background(), 0, 10) }) } func TestBannerService_Get_Cov37(t *testing.T) { svc := &BannerService{} safeCall_Cov37(func() { _, _ = svc.Get(context.Background(), 1) }) } func TestBannerService_Create_Cov37(t *testing.T) { svc := &BannerService{} safeCall_Cov37(func() { _ = svc.Create(context.Background(), &model.Banner{}) }) } func TestBannerService_ListActive_Cov37(t *testing.T) { svc := &BannerService{} safeCall_Cov37(func() { _, _ = svc.ListActive(context.Background()) }) } // === CampaignService === func TestCampaignService_List_Cov37(t *testing.T) { svc := &CampaignService{} safeCall_Cov37(func() { _, _, _ = svc.List(context.Background(), 1, 0, 10) }) } func TestCampaignService_Get_Cov37(t *testing.T) { svc := &CampaignService{} safeCall_Cov37(func() { _, _ = svc.Get(context.Background(), 1, 1) }) } func TestCampaignService_Create_Cov37(t *testing.T) { svc := &CampaignService{} safeCall_Cov37(func() { _, _ = svc.Create(context.Background(), 1, CreateCampaignRequest{Title: "c"}) }) } // === CaptainAssistantResponseService === func TestCaptainAssistantResponseService_List_Cov37(t *testing.T) { svc := &CaptainAssistantResponseService{} safeCall_Cov37(func() { _, _, _ = svc.List(context.Background(), 1, 1, 1, "", "", 1, 10) }) } func TestCaptainAssistantResponseService_Get_Cov37(t *testing.T) { svc := &CaptainAssistantResponseService{} safeCall_Cov37(func() { _, _ = svc.Get(context.Background(), 1, 1) }) } func TestCaptainAssistantResponseService_Create_Cov37(t *testing.T) { svc := &CaptainAssistantResponseService{} safeCall_Cov37(func() { _, _ = svc.Create(context.Background(), 1, 1, 1, "q", "a", "") }) } // === CaptainAssistantService === func TestCaptainAssistantService_Create_Cov37(t *testing.T) { svc := &CaptainAssistantService{} safeCall_Cov37(func() { _, _ = svc.Create(context.Background(), 1, &CreateAssistantRequest{Name: "a"}) }) } func TestCaptainAssistantService_Get_Cov37(t *testing.T) { svc := &CaptainAssistantService{} safeCall_Cov37(func() { _, _ = svc.Get(context.Background(), 1, 1) }) } func TestCaptainAssistantService_List_Cov37(t *testing.T) { svc := &CaptainAssistantService{} safeCall_Cov37(func() { _, _, _ = svc.List(context.Background(), 1, 0, 10) }) } func TestCaptainAssistantService_Delete_Cov37(t *testing.T) { svc := &CaptainAssistantService{} safeCall_Cov37(func() { _ = svc.Delete(context.Background(), 1, 1) }) } // === CaptainBulkActionService === func TestCaptainBulkActionService_Execute_Cov37(t *testing.T) { svc := &CaptainBulkActionService{} safeCall_Cov37(func() { _, _ = svc.Execute(context.Background(), 1, &BulkActionRequest{}) }) } func TestCaptainBulkActionService_ExecuteChatwoot_Cov37(t *testing.T) { svc := &CaptainBulkActionService{} safeCall_Cov37(func() { _, _ = svc.ExecuteChatwoot(context.Background(), 1, &ChatwootBulkActionRequest{}) }) } // === CaptainConversationService === func TestCaptainConversationService_BuildConversationResponseByAccount_Cov37(t *testing.T) { svc := &CaptainConversationService{} safeCall_Cov37(func() { _, _ = svc.BuildConversationResponseByAccount(context.Background(), 1, 1, 1) }) } func TestCaptainConversationService_SetWorkerPool_Cov37(t *testing.T) { svc := &CaptainConversationService{} safeCall_Cov37(func() { svc.SetWorkerPool(nil) }) } func TestCaptainConversationService_SetToolExecutionService_Cov37(t *testing.T) { svc := &CaptainConversationService{} safeCall_Cov37(func() { svc.SetToolExecutionService(nil) }) } // === CaptainCustomToolService === func TestCaptainCustomToolService_Create_Cov37(t *testing.T) { svc := &CaptainCustomToolService{} safeCall_Cov37(func() { _, _ = svc.Create(context.Background(), 1, &CreateCustomToolRequest{Title: "t"}) }) } func TestCaptainCustomToolService_Get_Cov37(t *testing.T) { svc := &CaptainCustomToolService{} safeCall_Cov37(func() { _, _ = svc.Get(context.Background(), 1) }) } func TestCaptainCustomToolService_List_Cov37(t *testing.T) { svc := &CaptainCustomToolService{} safeCall_Cov37(func() { _, _, _ = svc.List(context.Background(), 1, 0, 10) }) } func TestCaptainCustomToolService_ExecuteTool_Cov37(t *testing.T) { svc := &CaptainCustomToolService{} safeCall_Cov37(func() { _, _ = svc.ExecuteTool(context.Background(), 1, nil) }) } // === CaptainDocumentService === func TestCaptainDocumentService_Create_Cov37(t *testing.T) { svc := &CaptainDocumentService{} safeCall_Cov37(func() { _, _ = svc.Create(context.Background(), 1, 1, &CreateDocumentRequest{Name: "d"}) }) } func TestCaptainDocumentService_Get_Cov37(t *testing.T) { svc := &CaptainDocumentService{} safeCall_Cov37(func() { _, _ = svc.Get(context.Background(), 1) }) } func TestCaptainDocumentService_List_Cov37(t *testing.T) { svc := &CaptainDocumentService{} safeCall_Cov37(func() { _, _, _ = svc.List(context.Background(), 1, 0, 10) }) } func TestCaptainDocumentService_Delete_Cov37(t *testing.T) { svc := &CaptainDocumentService{} safeCall_Cov37(func() { _ = svc.Delete(context.Background(), 1) }) } // === CaptainPreferenceService === func TestCaptainPreferenceService_GetConfig_Cov37(t *testing.T) { svc := &CaptainPreferenceService{} safeCall_Cov37(func() { _, _ = svc.GetConfig(context.Background(), 1) }) } func TestCaptainPreferenceService_UpdateConfig_Cov37(t *testing.T) { svc := &CaptainPreferenceService{} safeCall_Cov37(func() { _, _ = svc.UpdateConfig(context.Background(), 1, &UpdateCaptainConfigRequest{}) }) } func TestCaptainPreferenceService_Get_Cov37(t *testing.T) { svc := &CaptainPreferenceService{} safeCall_Cov37(func() { _, _ = svc.Get(context.Background(), 1) }) } // === CaptainScenarioService === func TestCaptainScenarioService_Create_Cov37(t *testing.T) { svc := &CaptainScenarioService{} safeCall_Cov37(func() { _, _ = svc.Create(context.Background(), 1, 1, &CreateScenarioRequest{Title: "s"}) }) } func TestCaptainScenarioService_Get_Cov37(t *testing.T) { svc := &CaptainScenarioService{} safeCall_Cov37(func() { _, _ = svc.Get(context.Background(), 1, 1, 1) }) } func TestCaptainScenarioService_ListByAssistant_Cov37(t *testing.T) { svc := &CaptainScenarioService{} safeCall_Cov37(func() { _, _, _ = svc.ListByAssistant(context.Background(), 1, 0, 10) }) } // === CaptainTaskExtendedService === func TestCaptainTaskExtendedService_LabelSuggestion_Cov37(t *testing.T) { svc := &CaptainTaskExtendedService{} safeCall_Cov37(func() { _, _ = svc.LabelSuggestion(context.Background(), 1, &ChatwootLabelSuggestionRequest{}) }) } func TestCaptainTaskExtendedService_FollowUp_Cov37(t *testing.T) { svc := &CaptainTaskExtendedService{} safeCall_Cov37(func() { _, _ = svc.FollowUp(context.Background(), 1, &ChatwootFollowUpRequest{}) }) } func TestCaptainTaskExtendedService_SuggestLabels_Cov37(t *testing.T) { svc := &CaptainTaskExtendedService{} safeCall_Cov37(func() { _, _ = svc.SuggestLabels(context.Background(), 1, &LabelSuggestionQuery{}) }) } // === CaptainTaskService === func TestCaptainTaskService_ReplySuggestion_Cov37(t *testing.T) { svc := &CaptainTaskService{} safeCall_Cov37(func() { _, _ = svc.ReplySuggestion(context.Background(), 1, &TaskReplySuggestionRequest{}) }) } func TestCaptainTaskService_Summarize_Cov37(t *testing.T) { svc := &CaptainTaskService{} safeCall_Cov37(func() { _, _ = svc.Summarize(context.Background(), 1, &TaskSummarizeRequest{}) }) } func TestCaptainTaskService_Rewrite_Cov37(t *testing.T) { svc := &CaptainTaskService{} safeCall_Cov37(func() { _, _ = svc.Rewrite(context.Background(), 1, &TaskRewriteRequest{}) }) } // === CategoryService === func TestCategoryService_Create_Cov37(t *testing.T) { svc := &CategoryService{} safeCall_Cov37(func() { _, _ = svc.Create(context.Background(), 1, 1, &CreateCategoryRequest{Name: "c"}) }) } func TestCategoryService_GetByID_Cov37(t *testing.T) { svc := &CategoryService{} safeCall_Cov37(func() { _, _ = svc.GetByID(context.Background(), 1) }) } func TestCategoryService_ListByPortalID_Cov37(t *testing.T) { svc := &CategoryService{} safeCall_Cov37(func() { _, _, _ = svc.ListByPortalID(context.Background(), 1, "", 1, 10) }) } // === ChannelEmailService === func TestChannelEmailService_GetByID_Cov37(t *testing.T) { svc := &ChannelEmailService{} safeCall_Cov37(func() { _, _ = svc.GetByID(context.Background(), 1) }) } func TestChannelEmailService_Create_Cov37(t *testing.T) { svc := &ChannelEmailService{} safeCall_Cov37(func() { _ = svc.Create(context.Background(), nil) }) } func TestChannelEmailService_ListByAccount_Cov37(t *testing.T) { svc := &ChannelEmailService{} safeCall_Cov37(func() { _, _ = svc.ListByAccount(context.Background(), 1) }) } // === ChannelFacebookService === func TestChannelFacebookService_GetByID_Cov37(t *testing.T) { svc := &ChannelFacebookService{} safeCall_Cov37(func() { _, _ = svc.GetByID(context.Background(), 1) }) } func TestChannelFacebookService_Update_Cov37(t *testing.T) { svc := &ChannelFacebookService{} safeCall_Cov37(func() { _, _ = svc.Update(context.Background(), 1, 1, UpdateFacebookChannelRequest{}) }) } func TestChannelFacebookService_ListByAccount_Cov37(t *testing.T) { svc := &ChannelFacebookService{} safeCall_Cov37(func() { _, _ = svc.ListByAccount(context.Background(), 1) }) } // === ChannelGoogleService === func TestChannelGoogleService_GetByID_Cov37(t *testing.T) { svc := &ChannelGoogleService{} safeCall_Cov37(func() { _, _ = svc.GetByID(context.Background(), 1) }) } func TestChannelGoogleService_Create_Cov37(t *testing.T) { svc := &ChannelGoogleService{} safeCall_Cov37(func() { _ = svc.Create(context.Background(), nil) }) } func TestChannelGoogleService_ListByAccount_Cov37(t *testing.T) { svc := &ChannelGoogleService{} safeCall_Cov37(func() { _, _ = svc.ListByAccount(context.Background(), 1) }) } // === ChannelInstagramService === func TestChannelInstagramService_GetByID_Cov37(t *testing.T) { svc := &ChannelInstagramService{} safeCall_Cov37(func() { _, _ = svc.GetByID(context.Background(), 1) }) } func TestChannelInstagramService_Update_Cov37(t *testing.T) { svc := &ChannelInstagramService{} safeCall_Cov37(func() { _, _ = svc.Update(context.Background(), 1, 1, UpdateInstagramChannelRequest{}) }) } func TestChannelInstagramService_ListByAccount_Cov37(t *testing.T) { svc := &ChannelInstagramService{} safeCall_Cov37(func() { _, _ = svc.ListByAccount(context.Background(), 1) }) } // === ChannelLINEService === func TestChannelLINEService_GetByID_Cov37(t *testing.T) { svc := &ChannelLINEService{} safeCall_Cov37(func() { _, _ = svc.GetByID(context.Background(), 1) }) } func TestChannelLINEService_Create_Cov37(t *testing.T) { svc := &ChannelLINEService{} safeCall_Cov37(func() { _ = svc.Create(context.Background(), nil) }) } func TestChannelLINEService_ListByAccount_Cov37(t *testing.T) { svc := &ChannelLINEService{} safeCall_Cov37(func() { _, _ = svc.ListByAccount(context.Background(), 1) }) } // === ChannelMicrosoftService === func TestChannelMicrosoftService_GetByID_Cov37(t *testing.T) { svc := &ChannelMicrosoftService{} safeCall_Cov37(func() { _, _ = svc.GetByID(context.Background(), 1) }) } func TestChannelMicrosoftService_Create_Cov37(t *testing.T) { svc := &ChannelMicrosoftService{} safeCall_Cov37(func() { _ = svc.Create(context.Background(), nil) }) } func TestChannelMicrosoftService_ListByAccount_Cov37(t *testing.T) { svc := &ChannelMicrosoftService{} safeCall_Cov37(func() { _, _ = svc.ListByAccount(context.Background(), 1) }) } // === ChannelTikTokService === func TestChannelTikTokService_GetByID_Cov37(t *testing.T) { svc := &ChannelTikTokService{} safeCall_Cov37(func() { _, _ = svc.GetByID(context.Background(), 1) }) } func TestChannelTikTokService_Create_Cov37(t *testing.T) { svc := &ChannelTikTokService{} safeCall_Cov37(func() { _ = svc.Create(context.Background(), nil) }) } func TestChannelTikTokService_ListByAccount_Cov37(t *testing.T) { svc := &ChannelTikTokService{} safeCall_Cov37(func() { _, _ = svc.ListByAccount(context.Background(), 1) }) } // === ChannelTwilioService === func TestChannelTwilioService_GetByID_Cov37(t *testing.T) { svc := &ChannelTwilioService{} safeCall_Cov37(func() { _, _ = svc.GetByID(context.Background(), 1) }) } func TestChannelTwilioService_Create_Cov37(t *testing.T) { svc := &ChannelTwilioService{} safeCall_Cov37(func() { _ = svc.Create(context.Background(), nil) }) } func TestChannelTwilioService_ListByAccount_Cov37(t *testing.T) { svc := &ChannelTwilioService{} safeCall_Cov37(func() { _, _ = svc.ListByAccount(context.Background(), 1) }) } // === ChannelTwilioSMSService === func TestChannelTwilioSMSService_GetByID_Cov37(t *testing.T) { svc := &ChannelTwilioSMSService{} safeCall_Cov37(func() { _, _ = svc.GetByID(context.Background(), 1) }) } func TestChannelTwilioSMSService_Create_Cov37(t *testing.T) { svc := &ChannelTwilioSMSService{} safeCall_Cov37(func() { _ = svc.Create(context.Background(), nil) }) } func TestChannelTwilioSMSService_List_Cov37(t *testing.T) { svc := &ChannelTwilioSMSService{} safeCall_Cov37(func() { _, _ = svc.List(context.Background()) }) } // === ChannelTwitterService === func TestChannelTwitterService_GetByID_Cov37(t *testing.T) { svc := &ChannelTwitterService{} safeCall_Cov37(func() { _, _ = svc.GetByID(context.Background(), 1) }) } func TestChannelTwitterService_Create_Cov37(t *testing.T) { svc := &ChannelTwitterService{} safeCall_Cov37(func() { _ = svc.Create(context.Background(), nil) }) } func TestChannelTwitterService_ListByAccount_Cov37(t *testing.T) { svc := &ChannelTwitterService{} safeCall_Cov37(func() { _, _ = svc.ListByAccount(context.Background(), 1) }) } // === CompanyService === func TestCompanyService_List_Cov37(t *testing.T) { svc := &CompanyService{} safeCall_Cov37(func() { _, _, _ = svc.List(context.Background(), 1, 0, 10, "name") }) } func TestCompanyService_Get_Cov37(t *testing.T) { svc := &CompanyService{} safeCall_Cov37(func() { _, _ = svc.Get(context.Background(), 1, 1) }) } func TestCompanyService_Create_Cov37(t *testing.T) { svc := &CompanyService{} safeCall_Cov37(func() { _, _ = svc.Create(context.Background(), 1, &CreateCompanyRequest{Name: "c"}) }) } func TestCompanyService_Delete_Cov37(t *testing.T) { svc := &CompanyService{} safeCall_Cov37(func() { _ = svc.Delete(context.Background(), 1, 1) }) } // === ContactInboxService === func TestContactInboxService_ListByContact_Cov37(t *testing.T) { svc := &ContactInboxService{} safeCall_Cov37(func() { _, _ = svc.ListByContact(context.Background(), 1) }) } func TestContactInboxService_Create_Cov37(t *testing.T) { svc := &ContactInboxService{} safeCall_Cov37(func() { _, _ = svc.Create(context.Background(), CreateContactInboxRequest{}) }) } func TestContactInboxService_Delete_Cov37(t *testing.T) { svc := &ContactInboxService{} safeCall_Cov37(func() { _ = svc.Delete(context.Background(), 1) }) } // === ContactMergeService === func TestContactMergeService_Merge_Cov37(t *testing.T) { svc := &ContactMergeService{} safeCall_Cov37(func() { _, _ = svc.Merge(1, 1, 2) }) } func TestContactMergeService_MergeWithRequest_Cov37(t *testing.T) { svc := &ContactMergeService{} safeCall_Cov37(func() { _, _ = svc.MergeWithRequest(context.Background(), 1, MergeRequest{}) }) } // === ContactNoteService === func TestContactNoteService_ListNotes_Cov37(t *testing.T) { svc := &ContactNoteService{} safeCall_Cov37(func() { _, _ = svc.ListNotes(context.Background(), 1, 1) }) } func TestContactNoteService_CreateNote_Cov37(t *testing.T) { svc := &ContactNoteService{} safeCall_Cov37(func() { _, _ = svc.CreateNote(context.Background(), 1, 1, 1, NoteCreateRequest{Content: "n"}) }) } func TestContactNoteService_DeleteNote_Cov37(t *testing.T) { svc := &ContactNoteService{} safeCall_Cov37(func() { _ = svc.DeleteNote(context.Background(), 1, 1) }) } // === ContactService === func TestContactService_ListByAccount_Cov37(t *testing.T) { svc := &ContactService{} safeCall_Cov37(func() { _, _, _ = svc.ListByAccount(context.Background(), 1, 0, 10, "name") }) } func TestContactService_GetByID_Cov37(t *testing.T) { svc := &ContactService{} safeCall_Cov37(func() { _, _ = svc.GetByID(context.Background(), 1) }) } func TestContactService_Create_Cov37(t *testing.T) { svc := &ContactService{} safeCall_Cov37(func() { _, _ = svc.Create(context.Background(), 1, CreateContactRequest{Name: "c"}) }) } func TestContactService_Delete_Cov37(t *testing.T) { svc := &ContactService{} safeCall_Cov37(func() { _ = svc.Delete(context.Background(), 1, 1) }) } // === ConversationInsightService === func TestConversationInsightService_AnalyzeParticipants_Cov37(t *testing.T) { svc := &ConversationInsightService{} safeCall_Cov37(func() { _, _ = svc.AnalyzeParticipants(context.Background(), 1, &ParticipantAnalysisRequest{}) }) } func TestConversationInsightService_ExtractActionItems_Cov37(t *testing.T) { svc := &ConversationInsightService{} safeCall_Cov37(func() { _, _ = svc.ExtractActionItems(context.Background(), 1, &ActionItemsRequest{}) }) } func TestConversationInsightService_SuggestLabels_Cov37(t *testing.T) { svc := &ConversationInsightService{} safeCall_Cov37(func() { _, _ = svc.SuggestLabels(context.Background(), 1, &LabelSuggestionRequest{}) }) } // === ConversationParticipantService === func TestConversationParticipantService_List_Cov37(t *testing.T) { svc := &ConversationParticipantService{} safeCall_Cov37(func() { _, _ = svc.List(context.Background(), 1, 1) }) } func TestConversationParticipantService_Add_Cov37(t *testing.T) { svc := &ConversationParticipantService{} safeCall_Cov37(func() { _, _ = svc.Add(context.Background(), 1, 1, 1, "agent") }) } func TestConversationParticipantService_Remove_Cov37(t *testing.T) { svc := &ConversationParticipantService{} safeCall_Cov37(func() { _ = svc.Remove(context.Background(), 1, 1, 1) }) } // === ConversationService === func TestConversationService_ListByAccount_Cov37(t *testing.T) { svc := &ConversationService{} safeCall_Cov37(func() { _, _, _ = svc.ListByAccount(context.Background(), 1, 0, 10) }) } func TestConversationService_GetByID_Cov37(t *testing.T) { svc := &ConversationService{} safeCall_Cov37(func() { _, _ = svc.GetByID(context.Background(), 1) }) } func TestConversationService_Create_Cov37(t *testing.T) { svc := &ConversationService{} safeCall_Cov37(func() { _, _ = svc.Create(context.Background(), 1, CreateConversationRequest{}) }) } func TestConversationService_ToggleStatus_Cov37(t *testing.T) { svc := &ConversationService{} safeCall_Cov37(func() { _, _ = svc.ToggleStatus(context.Background(), 1, 1, ToggleStatusRequest{Status: "open"}) }) } // === CopilotConfigService === func TestCopilotConfigService_Get_Cov37(t *testing.T) { svc := &CopilotConfigService{} safeCall_Cov37(func() { _, _ = svc.Get(context.Background()) }) } func TestCopilotConfigService_Update_Cov37(t *testing.T) { svc := &CopilotConfigService{} safeCall_Cov37(func() { _, _ = svc.Update(context.Background(), CopilotProviderConfigInput{}) }) } // === CopilotContextService === func TestCopilotContextService_GetCurrentViewingContext_Cov37(t *testing.T) { svc := &CopilotContextService{} safeCall_Cov37(func() { _, _ = svc.GetCurrentViewingContext(context.Background(), 1, 1) }) } // === CopilotService === func TestCopilotService_CreateThread_Cov37(t *testing.T) { svc := &CopilotService{} safeCall_Cov37(func() { _, _ = svc.CreateThread(context.Background(), 1, 1, &CreateThreadRequest{}) }) } func TestCopilotService_GetThread_Cov37(t *testing.T) { svc := &CopilotService{} safeCall_Cov37(func() { _, _ = svc.GetThread(context.Background(), 1, 1, 1) }) } func TestCopilotService_ListThreads_Cov37(t *testing.T) { svc := &CopilotService{} safeCall_Cov37(func() { _, _, _ = svc.ListThreads(context.Background(), 1, 1, 0, 10) }) } func TestCopilotService_DeleteThread_Cov37(t *testing.T) { svc := &CopilotService{} safeCall_Cov37(func() { _ = svc.DeleteThread(context.Background(), 1, 1, 1) }) } // === CsatMetricsService === func TestCsatMetricsService_GetMetrics_Cov37(t *testing.T) { svc := &CsatMetricsService{} safeCall_Cov37(func() { _, _ = svc.GetMetrics(context.Background(), 1, nil, nil) }) } func TestCsatMetricsService_ExportCSV_Cov37(t *testing.T) { svc := &CsatMetricsService{} safeCall_Cov37(func() { _, _ = svc.ExportCSV(context.Background(), 1, nil, nil) }) } // === CsatTemplateService === func TestCsatTemplateService_ShowTemplateStatus_Cov37(t *testing.T) { svc := &CsatTemplateService{} safeCall_Cov37(func() { _, _ = svc.ShowTemplateStatus(context.Background(), 1) }) } func TestCsatTemplateService_CreateTemplate_Cov37(t *testing.T) { svc := &CsatTemplateService{} safeCall_Cov37(func() { _, _ = svc.CreateTemplate(context.Background(), 1, CreateCsatTemplateRequest{}) }) } func TestCsatTemplateService_AnalyzeTemplate_Cov37(t *testing.T) { svc := &CsatTemplateService{} safeCall_Cov37(func() { _, _ = svc.AnalyzeTemplate(context.Background(), 1, AnalyzeCsatTemplateRequest{}) }) } // === CustomAttributeDefinitionService === func TestCustomAttributeDefinitionService_Create_Cov37(t *testing.T) { svc := &CustomAttributeDefinitionService{} safeCall_Cov37(func() { _, _ = svc.Create(context.Background(), 1, &CreateCustomAttributeDefinitionRequest{AttributeKey: "k"}) }) } func TestCustomAttributeDefinitionService_Get_Cov37(t *testing.T) { svc := &CustomAttributeDefinitionService{} safeCall_Cov37(func() { _, _ = svc.Get(context.Background(), 1, 1) }) } func TestCustomAttributeDefinitionService_List_Cov37(t *testing.T) { svc := &CustomAttributeDefinitionService{} safeCall_Cov37(func() { _, _, _ = svc.List(context.Background(), 1, "contact", 0, 10) }) } // === CustomAttributeValueService === func TestCustomAttributeValueService_SetConversationAttributeValue_Cov37(t *testing.T) { svc := &CustomAttributeValueService{} safeCall_Cov37(func() { _, _ = svc.SetConversationAttributeValue(context.Background(), 1, 1, &SetAttributeValueRequest{AttributeName: "k"}) }) } func TestCustomAttributeValueService_SetContactAttributeValue_Cov37(t *testing.T) { svc := &CustomAttributeValueService{} safeCall_Cov37(func() { _, _ = svc.SetContactAttributeValue(context.Background(), 1, 1, &SetAttributeValueRequest{AttributeName: "k"}) }) } func TestCustomAttributeValueService_RemoveContactAttributeValue_Cov37(t *testing.T) { svc := &CustomAttributeValueService{} safeCall_Cov37(func() { _, _ = svc.RemoveContactAttributeValue(context.Background(), 1, 1, "k") }) } // === CustomFilterService === func TestCustomFilterService_Create_Cov37(t *testing.T) { svc := &CustomFilterService{} safeCall_Cov37(func() { _, _ = svc.Create(context.Background(), 1, 1, &CreateCustomFilterRequest{Name: "f"}) }) } func TestCustomFilterService_Get_Cov37(t *testing.T) { svc := &CustomFilterService{} safeCall_Cov37(func() { _, _ = svc.Get(context.Background(), 1, 1) }) } func TestCustomFilterService_List_Cov37(t *testing.T) { svc := &CustomFilterService{} safeCall_Cov37(func() { _, _, _ = svc.List(context.Background(), 1, "conversation", 0, 10) }) } // === CustomRoleService === func TestCustomRoleService_List_Cov37(t *testing.T) { svc := &CustomRoleService{} safeCall_Cov37(func() { _, _, _ = svc.List(context.Background(), 1, 1, 10) }) } func TestCustomRoleService_Create_Cov37(t *testing.T) { svc := &CustomRoleService{} safeCall_Cov37(func() { _, _ = svc.Create(context.Background(), 1, CreateCustomRoleRequest{Name: "r"}) }) } func TestCustomRoleService_Delete_Cov37(t *testing.T) { svc := &CustomRoleService{} safeCall_Cov37(func() { _ = svc.Delete(context.Background(), 1, 1) }) } // === DashboardAppService === func TestDashboardAppService_Create_Cov37(t *testing.T) { svc := &DashboardAppService{} safeCall_Cov37(func() { _, _ = svc.Create(context.Background(), 1, nil, &CreateDashboardAppRequest{Title: "d"}) }) } func TestDashboardAppService_GetByID_Cov37(t *testing.T) { svc := &DashboardAppService{} safeCall_Cov37(func() { _, _ = svc.GetByID(context.Background(), 1) }) } func TestDashboardAppService_ListByAccount_Cov37(t *testing.T) { svc := &DashboardAppService{} safeCall_Cov37(func() { _, _ = svc.ListByAccount(context.Background(), 1) }) } func TestDashboardAppService_AddWidget_Cov37(t *testing.T) { svc := &DashboardAppService{} safeCall_Cov37(func() { _, _ = svc.AddWidget(context.Background(), 1, &AddWidgetRequest{}) }) } // === DeliveryStatusService === func TestDeliveryStatusService_ListByMessage_Cov37(t *testing.T) { svc := &DeliveryStatusService{} safeCall_Cov37(func() { _, _ = svc.ListByMessage(context.Background(), 1, 1, 1) }) } func TestDeliveryStatusService_Create_Cov37(t *testing.T) { svc := &DeliveryStatusService{} safeCall_Cov37(func() { _, _ = svc.Create(context.Background(), 1, CreateDeliveryStatusRequest{}) }) } func TestDeliveryStatusService_Update_Cov37(t *testing.T) { svc := &DeliveryStatusService{} safeCall_Cov37(func() { _, _ = svc.Update(context.Background(), 1, 1, UpdateDeliveryStatusRequest{}) }) } // === DraftMessageService === func TestDraftMessageService_List_Cov37(t *testing.T) { svc := &DraftMessageService{} safeCall_Cov37(func() { _, _ = svc.List(context.Background(), 1, 1, 1) }) } func TestDraftMessageService_Create_Cov37(t *testing.T) { svc := &DraftMessageService{} safeCall_Cov37(func() { _, _ = svc.Create(context.Background(), 1, 1, 1, "content") }) } func TestDraftMessageService_Search_Cov37(t *testing.T) { svc := &DraftMessageService{} safeCall_Cov37(func() { _, _ = svc.Search(context.Background(), 1, "test") }) } // === DyteIntegrationService === func TestDyteIntegrationService_CreateMeeting_Cov37(t *testing.T) { svc := &DyteIntegrationService{} safeCall_Cov37(func() { _, _, _, _ = svc.CreateMeeting(context.Background(), 1, 1, 1, "agent") }) } func TestDyteIntegrationService_AddParticipant_Cov37(t *testing.T) { svc := &DyteIntegrationService{} safeCall_Cov37(func() { _, _, _ = svc.AddParticipant(context.Background(), 1, 1, 1, "agent") }) } func TestDyteIntegrationService_DB_Cov37(t *testing.T) { svc := &DyteIntegrationService{} safeCall_Cov37(func() { _ = svc.DB() }) } // === EmailChannelMigrationService === func TestEmailChannelMigrationService_Create_Cov37(t *testing.T) { svc := &EmailChannelMigrationService{} safeCall_Cov37(func() { _ = svc.Create(context.Background(), nil) }) } func TestEmailChannelMigrationService_ListByAccount_Cov37(t *testing.T) { svc := &EmailChannelMigrationService{} safeCall_Cov37(func() { _, _ = svc.ListByAccount(context.Background(), 1) }) } // === FolderService === func TestFolderService_Create_Cov37(t *testing.T) { svc := &FolderService{} safeCall_Cov37(func() { _, _ = svc.Create(context.Background(), 1, &CreateFolderRequest{Name: "f"}) }) } func TestFolderService_GetByID_Cov37(t *testing.T) { svc := &FolderService{} safeCall_Cov37(func() { _, _ = svc.GetByID(context.Background(), 1) }) } func TestFolderService_ListByPortalID_Cov37(t *testing.T) { svc := &FolderService{} safeCall_Cov37(func() { _, _, _ = svc.ListByPortalID(context.Background(), 1, 0, 10) }) } // === InboxLimitService === func TestInboxLimitService_Create_Cov37(t *testing.T) { svc := &InboxLimitService{} safeCall_Cov37(func() { _, _ = svc.Create(context.Background(), 1, CreateInboxLimitRequest{}) }) } func TestInboxLimitService_Update_Cov37(t *testing.T) { svc := &InboxLimitService{} safeCall_Cov37(func() { _, _ = svc.Update(context.Background(), 1, UpdateInboxLimitRequest{}) }) } func TestInboxLimitService_Delete_Cov37(t *testing.T) { svc := &InboxLimitService{} safeCall_Cov37(func() { _ = svc.Delete(context.Background(), 1) }) } // === InboxMemberService === func TestInboxMemberService_GetByID_Cov37(t *testing.T) { svc := &InboxMemberService{} safeCall_Cov37(func() { _, _ = svc.GetByID(context.Background(), 1) }) } func TestInboxMemberService_ListByInbox_Cov37(t *testing.T) { svc := &InboxMemberService{} safeCall_Cov37(func() { _, _ = svc.ListByInbox(context.Background(), 1) }) } func TestInboxMemberService_AddMember_Cov37(t *testing.T) { svc := &InboxMemberService{} safeCall_Cov37(func() { _, _ = svc.AddMember(context.Background(), AddMemberRequest{}) }) } // === InboxService === func TestInboxService_Ready_Cov37(t *testing.T) { svc := &InboxService{} safeCall_Cov37(func() { _ = svc.Ready() }) } func TestInboxService_ListByAccount_Cov37(t *testing.T) { svc := &InboxService{} safeCall_Cov37(func() { _, _, _ = svc.ListByAccount(context.Background(), 1, 0, 10) }) } func TestInboxService_GetByID_Cov37(t *testing.T) { svc := &InboxService{} safeCall_Cov37(func() { _, _ = svc.GetByID(context.Background(), 1) }) } func TestInboxService_Create_Cov37(t *testing.T) { svc := &InboxService{} safeCall_Cov37(func() { _, _ = svc.Create(context.Background(), 1, CreateInboxRequest{Name: "i"}) }) } func TestInboxService_Delete_Cov37(t *testing.T) { svc := &InboxService{} safeCall_Cov37(func() { _ = svc.Delete(context.Background(), 1) }) } // === InstallationConfigService === func TestInstallationConfigService_Get_Cov37(t *testing.T) { svc := &InstallationConfigService{} safeCall_Cov37(func() { _, _ = svc.Get(context.Background(), 1) }) } func TestInstallationConfigService_GetByName_Cov37(t *testing.T) { svc := &InstallationConfigService{} safeCall_Cov37(func() { _, _ = svc.GetByName(context.Background(), "name") }) } func TestInstallationConfigService_Create_Cov37(t *testing.T) { svc := &InstallationConfigService{} safeCall_Cov37(func() { _, _ = svc.Create(context.Background(), &CreateInstallationConfigRequest{Name: "n"}) }) } // === IntegrationHookService === func TestIntegrationHookService_Ready_Cov37(t *testing.T) { svc := &IntegrationHookService{} safeCall_Cov37(func() { _ = svc.Ready() }) } func TestIntegrationHookService_List_Cov37(t *testing.T) { svc := &IntegrationHookService{} safeCall_Cov37(func() { _, _, _ = svc.List(context.Background(), 1, 0, 10) }) } func TestIntegrationHookService_Create_Cov37(t *testing.T) { svc := &IntegrationHookService{} safeCall_Cov37(func() { _, _ = svc.Create(context.Background(), 1, CreateHookRequest{}) }) } // === IntentService === func TestIntentService_ClassifyIntent_Cov37(t *testing.T) { svc := &IntentService{} safeCall_Cov37(func() { _, _ = svc.ClassifyIntent(context.Background(), &ClassifyIntentRequest{}) }) } // === LabelService === func TestLabelService_AddLabelToConversation_Cov37(t *testing.T) { svc := &LabelService{} safeCall_Cov37(func() { _, _ = svc.AddLabelToConversation(context.Background(), 1, 1, 1) }) } func TestLabelService_RemoveLabelFromConversation_Cov37(t *testing.T) { svc := &LabelService{} safeCall_Cov37(func() { _ = svc.RemoveLabelFromConversation(context.Background(), 1, 1) }) } func TestLabelService_GetConversationLabels_Cov37(t *testing.T) { svc := &LabelService{} safeCall_Cov37(func() { _, _ = svc.GetConversationLabels(context.Background(), 1) }) } // === LinearIntegrationService === func TestLinearIntegrationService_Delete_Cov37(t *testing.T) { svc := &LinearIntegrationService{} safeCall_Cov37(func() { _ = svc.Delete(context.Background(), 1) }) } func TestLinearIntegrationService_GetTeams_Cov37(t *testing.T) { svc := &LinearIntegrationService{} safeCall_Cov37(func() { _, _ = svc.GetTeams(context.Background(), 1) }) } func TestLinearIntegrationService_SearchIssue_Cov37(t *testing.T) { svc := &LinearIntegrationService{} safeCall_Cov37(func() { _, _ = svc.SearchIssue(context.Background(), 1, "query") }) } // === MessageService === func TestMessageService_ListByConversation_Cov37(t *testing.T) { svc := &MessageService{} safeCall_Cov37(func() { _, _, _ = svc.ListByConversation(context.Background(), 1, 0, 10) }) } func TestMessageService_GetByID_Cov37(t *testing.T) { svc := &MessageService{} safeCall_Cov37(func() { _, _ = svc.GetByID(context.Background(), 1) }) } func TestMessageService_Create_Cov37(t *testing.T) { svc := &MessageService{} safeCall_Cov37(func() { _, _ = svc.Create(context.Background(), 1, 1, CreateMessageRequest{Content: "m"}) }) } func TestMessageService_Delete_Cov37(t *testing.T) { svc := &MessageService{} safeCall_Cov37(func() { _, _ = svc.Delete(context.Background(), 1, 1) }) } // === NoteService === func TestNoteService_List_Cov37(t *testing.T) { svc := &NoteService{} safeCall_Cov37(func() { _, _ = svc.List(1, 1) }) } func TestNoteService_Get_Cov37(t *testing.T) { svc := &NoteService{} safeCall_Cov37(func() { _, _ = svc.Get(1, 1, 1) }) } func TestNoteService_Create_Cov37(t *testing.T) { svc := &NoteService{} safeCall_Cov37(func() { _, _ = svc.Create(1, 1, 1, "content") }) } // === NotificationDeliveryService === func TestNotificationDeliveryService_Start_Cov37(t *testing.T) { svc := &NotificationDeliveryService{} safeCall_Cov37(func() { _ = svc.Start(context.Background()) }) } func TestNotificationDeliveryService_Close_Cov37(t *testing.T) { svc := &NotificationDeliveryService{} safeCall_Cov37(func() { _ = svc.Close(context.Background()) }) } // === NotificationService === func TestNotificationService_GetNotification_Cov37(t *testing.T) { svc := &NotificationService{} safeCall_Cov37(func() { _, _ = svc.GetNotification(context.Background(), 1) }) } func TestNotificationService_ListNotifications_Cov37(t *testing.T) { svc := &NotificationService{} safeCall_Cov37(func() { _, _, _ = svc.ListNotifications(context.Background(), 1, 1, 10) }) } func TestNotificationService_CreateNotification_Cov37(t *testing.T) { svc := &NotificationService{} safeCall_Cov37(func() { _ = svc.CreateNotification(context.Background(), &model.Notification{}) }) } func TestNotificationService_MarkRead_Cov37(t *testing.T) { svc := &NotificationService{} safeCall_Cov37(func() { _ = svc.MarkRead(context.Background(), 1) }) } func TestNotificationService_GetUnreadCount_Cov37(t *testing.T) { svc := &NotificationService{} safeCall_Cov37(func() { _, _ = svc.GetUnreadCount(context.Background(), 1) }) } // === NotificationSettingService === func TestNotificationSettingService_Get_Cov37(t *testing.T) { svc := &NotificationSettingService{} safeCall_Cov37(func() { _, _ = svc.Get(context.Background(), 1, 1) }) } func TestNotificationSettingService_Update_Cov37(t *testing.T) { svc := &NotificationSettingService{} safeCall_Cov37(func() { _, _ = svc.Update(context.Background(), 1, 1, UpdateNotificationSettingRequest{}) }) } // === NotificationSubscriptionService === func TestNotificationSubscriptionService_Create_Cov37(t *testing.T) { svc := &NotificationSubscriptionService{} safeCall_Cov37(func() { _, _ = svc.Create(context.Background(), 1, &CreateSubscriptionRequest{}) }) } func TestNotificationSubscriptionService_Destroy_Cov37(t *testing.T) { svc := &NotificationSubscriptionService{} safeCall_Cov37(func() { _ = svc.Destroy(context.Background(), 1, "id") }) } func TestNotificationSubscriptionService_ListByUser_Cov37(t *testing.T) { svc := &NotificationSubscriptionService{} safeCall_Cov37(func() { _, _ = svc.ListByUser(context.Background(), 1) }) } // === NotionIntegrationService === func TestNotionIntegrationService_BuildAuthorizationURL_Cov37(t *testing.T) { svc := &NotionIntegrationService{} safeCall_Cov37(func() { _, _ = svc.BuildAuthorizationURL(1) }) } func TestNotionIntegrationService_Delete_Cov37(t *testing.T) { svc := &NotionIntegrationService{} safeCall_Cov37(func() { _ = svc.Delete(context.Background(), 1) }) } // === PlatformUserService === func TestPlatformUserService_GetUser_Cov37(t *testing.T) { svc := &PlatformUserService{} safeCall_Cov37(func() { _, _ = svc.GetUser(context.Background(), 1, 1) }) } func TestPlatformUserService_CreateUser_Cov37(t *testing.T) { svc := &PlatformUserService{} safeCall_Cov37(func() { _, _ = svc.CreateUser(context.Background(), 1, PlatformUserRequest{Email: "a@b.com"}) }) } func TestPlatformUserService_DeleteUser_Cov37(t *testing.T) { svc := &PlatformUserService{} safeCall_Cov37(func() { _ = svc.DeleteUser(context.Background(), 1, 1) }) } // === PortalMemberService === func TestPortalMemberService_Create_Cov37(t *testing.T) { svc := &PortalMemberService{} safeCall_Cov37(func() { _, _ = svc.Create(context.Background(), 1, &CreatePortalMemberRequest{}) }) } func TestPortalMemberService_GetByID_Cov37(t *testing.T) { svc := &PortalMemberService{} safeCall_Cov37(func() { _, _ = svc.GetByID(context.Background(), 1) }) } func TestPortalMemberService_ListByPortalID_Cov37(t *testing.T) { svc := &PortalMemberService{} safeCall_Cov37(func() { _, _, _ = svc.ListByPortalID(context.Background(), 1, 0, 10) }) } // === PortalService === func TestPortalService_Create_Cov37(t *testing.T) { svc := &PortalService{} safeCall_Cov37(func() { _, _ = svc.Create(context.Background(), 1, &CreatePortalRequest{Name: "p"}) }) } func TestPortalService_GetByID_Cov37(t *testing.T) { svc := &PortalService{} safeCall_Cov37(func() { _, _ = svc.GetByID(context.Background(), 1) }) } func TestPortalService_Delete_Cov37(t *testing.T) { svc := &PortalService{} safeCall_Cov37(func() { _ = svc.Delete(context.Background(), 1) }) } func TestPortalService_ListByAccountID_Cov37(t *testing.T) { svc := &PortalService{} safeCall_Cov37(func() { _, _, _ = svc.ListByAccountID(context.Background(), 1, 1, 10) }) } // === ProfileService === func TestProfileService_Get_Cov37(t *testing.T) { svc := &ProfileService{} safeCall_Cov37(func() { _, _ = svc.Get(context.Background(), 1, 1) }) } func TestProfileService_Update_Cov37(t *testing.T) { svc := &ProfileService{} safeCall_Cov37(func() { _, _ = svc.Update(context.Background(), 1, 1, UpdateProfileRequest{Name: "n"}) }) } func TestProfileService_SetAvailability_Cov37(t *testing.T) { svc := &ProfileService{} safeCall_Cov37(func() { _, _ = svc.SetAvailability(context.Background(), 1, AvailabilityRequest{Availability: "online"}) }) } func TestProfileService_ResetAccessToken_Cov37(t *testing.T) { svc := &ProfileService{} safeCall_Cov37(func() { _, _ = svc.ResetAccessToken(context.Background(), 1, 1) }) } // === PushDeliveryService === func TestPushDeliveryService_SendPushNotification_Cov37(t *testing.T) { svc := &PushDeliveryService{} safeCall_Cov37(func() { _ = svc.SendPushNotification(context.Background(), 1, PushPayload{}) }) } // === PushSubscriptionService === func TestPushSubscriptionService_ListPushTokens_Cov37(t *testing.T) { svc := &PushSubscriptionService{} safeCall_Cov37(func() { _, _ = svc.ListPushTokens(context.Background(), 1) }) } func TestPushSubscriptionService_RegisterPushToken_Cov37(t *testing.T) { svc := &PushSubscriptionService{} safeCall_Cov37(func() { _, _ = svc.RegisterPushToken(context.Background(), 1, "token", "web", "dev", "p256", "auth") }) } func TestPushSubscriptionService_RemovePushToken_Cov37(t *testing.T) { svc := &PushSubscriptionService{} safeCall_Cov37(func() { _ = svc.RemovePushToken(context.Background(), 1) }) } // === ReportingBackfillService === func TestReportingBackfillService_BackfillDate_Cov37(t *testing.T) { svc := &ReportingBackfillService{} safeCall_Cov37(func() { _ = svc.BackfillDate(context.Background(), 1, time.Now()) }) } func TestReportingBackfillService_BackfillRange_Cov37(t *testing.T) { svc := &ReportingBackfillService{} safeCall_Cov37(func() { _ = svc.BackfillRange(context.Background(), 1, time.Now(), time.Now()) }) } // === ReportingEventService === func TestReportingEventService_ListByAccount_Cov37(t *testing.T) { svc := &ReportingEventService{} safeCall_Cov37(func() { _, _ = svc.ListByAccount(context.Background(), 1, time.Now(), time.Now()) }) } func TestReportingEventService_GetByMetric_Cov37(t *testing.T) { svc := &ReportingEventService{} safeCall_Cov37(func() { _, _ = svc.GetByMetric(context.Background(), 1, "metric", time.Now(), time.Now()) }) } // === ReportingRollupService === func TestReportingRollupService_RollupEvent_Cov37(t *testing.T) { svc := &ReportingRollupService{} safeCall_Cov37(func() { _ = svc.RollupEvent(context.Background(), &model.ReportingEvent{}) }) } func TestReportingRollupService_ComputeDailyRollup_Cov37(t *testing.T) { svc := &ReportingRollupService{} safeCall_Cov37(func() { _ = svc.ComputeDailyRollup(context.Background(), 1, time.Now()) }) } func TestReportingRollupService_GetSummaryMetrics_Cov37(t *testing.T) { svc := &ReportingRollupService{} safeCall_Cov37(func() { _, _ = svc.GetSummaryMetrics(context.Background(), 1, time.Now(), time.Now(), "", 1) }) } // === SlaEventService === func TestSlaEventService_CreateMissedEvent_Cov37(t *testing.T) { svc := &SlaEventService{} safeCall_Cov37(func() { _ = svc.CreateMissedEvent(context.Background(), &model.AppliedSLA{}, model.SLAEventType("first_response")) }) } func TestSlaEventService_CreateHitEvent_Cov37(t *testing.T) { svc := &SlaEventService{} safeCall_Cov37(func() { _ = svc.CreateHitEvent(context.Background(), &model.AppliedSLA{}) }) } // === SlaPolicyService === func TestSlaPolicyService_Create_Cov37(t *testing.T) { svc := &SlaPolicyService{} safeCall_Cov37(func() { _, _ = svc.Create(context.Background(), 1, &CreateSlaPolicyRequest{Name: "s"}) }) } func TestSlaPolicyService_Get_Cov37(t *testing.T) { svc := &SlaPolicyService{} safeCall_Cov37(func() { _, _ = svc.Get(context.Background(), 1, 1) }) } func TestSlaPolicyService_List_Cov37(t *testing.T) { svc := &SlaPolicyService{} safeCall_Cov37(func() { _, _ = svc.List(context.Background(), 1) }) } func TestSlaPolicyService_Delete_Cov37(t *testing.T) { svc := &SlaPolicyService{} safeCall_Cov37(func() { _ = svc.Delete(context.Background(), 1, 1) }) } // === SummaryReportService === func TestSummaryReportService_GetAgentSummary_Cov37(t *testing.T) { svc := &SummaryReportService{} safeCall_Cov37(func() { _, _ = svc.GetAgentSummary(context.Background(), 1, time.Now(), time.Now()) }) } func TestSummaryReportService_GetInboxSummary_Cov37(t *testing.T) { svc := &SummaryReportService{} safeCall_Cov37(func() { _, _ = svc.GetInboxSummary(context.Background(), 1, time.Now(), time.Now()) }) } func TestSummaryReportService_GetAccountSummary_Cov37(t *testing.T) { svc := &SummaryReportService{} safeCall_Cov37(func() { _, _ = svc.GetAccountSummary(context.Background(), 1, time.Now(), time.Now()) }) } // === TagService === func TestTagService_Create_Cov37(t *testing.T) { svc := &TagService{} safeCall_Cov37(func() { _, _ = svc.Create(context.Background(), 1, &CreateTagRequest{Name: "t"}) }) } func TestTagService_GetByID_Cov37(t *testing.T) { svc := &TagService{} safeCall_Cov37(func() { _, _ = svc.GetByID(context.Background(), 1) }) } func TestTagService_List_Cov37(t *testing.T) { svc := &TagService{} safeCall_Cov37(func() { _, _ = svc.List(context.Background(), 1) }) } func TestTagService_Delete_Cov37(t *testing.T) { svc := &TagService{} safeCall_Cov37(func() { _ = svc.Delete(context.Background(), 1) }) } // === TeamService === func TestTeamService_List_Cov37(t *testing.T) { svc := &TeamService{} safeCall_Cov37(func() { _, _, _ = svc.List(context.Background(), 1, 0, 10) }) } func TestTeamService_Get_Cov37(t *testing.T) { svc := &TeamService{} safeCall_Cov37(func() { _, _ = svc.Get(context.Background(), 1, 1) }) } func TestTeamService_Create_Cov37(t *testing.T) { svc := &TeamService{} safeCall_Cov37(func() { _, _ = svc.Create(context.Background(), 1, CreateTeamRequest{Name: "t"}) }) } func TestTeamService_Delete_Cov37(t *testing.T) { svc := &TeamService{} safeCall_Cov37(func() { _ = svc.Delete(context.Background(), 1, 1) }) } // === ToolExecutionService === func TestToolExecutionService_GetToolsForAccount_Cov37(t *testing.T) { svc := &ToolExecutionService{} safeCall_Cov37(func() { _, _ = svc.GetToolsForAccount(context.Background(), 1) }) } // === UploadService === func TestUploadService_AccountUpload_Cov37(t *testing.T) { svc := &UploadService{} safeCall_Cov37(func() { _, _ = svc.AccountUpload(context.Background(), 1, AccountUploadRequest{}) }) } func TestUploadService_CleanupExpiredUploads_Cov37(t *testing.T) { svc := &UploadService{} safeCall_Cov37(func() { _, _ = svc.CleanupExpiredUploads(context.Background()) }) } func TestUploadService_AccountDirectUpload_Cov37(t *testing.T) { svc := &UploadService{} safeCall_Cov37(func() { _, _ = svc.AccountDirectUpload(context.Background(), 1, AccountDirectUploadRequest{}) }) } // === WebhookDeliveryService === func TestWebhookDeliveryService_DeliverEvent_Cov37(t *testing.T) { svc := &WebhookDeliveryService{} safeCall_Cov37(func() { _ = svc.DeliverEvent(context.Background(), 1, "event", nil) }) } // === WebhookSubscriptionService === func TestWebhookSubscriptionService_ListSubscriptions_Cov37(t *testing.T) { svc := &WebhookSubscriptionService{} safeCall_Cov37(func() { _, _ = svc.ListSubscriptions(context.Background(), 1) }) } func TestWebhookSubscriptionService_CreateWebhook_Cov37(t *testing.T) { svc := &WebhookSubscriptionService{} safeCall_Cov37(func() { _, _ = svc.CreateWebhook(context.Background(), 1, WebhookSubscriptionMutation{URL: "http://x.com"}) }) } func TestWebhookSubscriptionService_DeleteWebhook_Cov37(t *testing.T) { svc := &WebhookSubscriptionService{} safeCall_Cov37(func() { _ = svc.DeleteWebhook(context.Background(), 1, 1) }) } // === WhatsAppCallService === func TestWhatsAppCallService_GetByCallID_Cov37(t *testing.T) { svc := &WhatsAppCallService{} safeCall_Cov37(func() { _, _ = svc.GetByCallID(context.Background(), "call1") }) } func TestWhatsAppCallService_ListByConversation_Cov37(t *testing.T) { svc := &WhatsAppCallService{} safeCall_Cov37(func() { _, _ = svc.ListByConversation(context.Background(), 1) }) } func TestWhatsAppCallService_Initiate_Cov37(t *testing.T) { svc := &WhatsAppCallService{} safeCall_Cov37(func() { _, _ = svc.Initiate(context.Background(), 1, WhatsAppCallInitiateRequest{}) }) } // === WidgetService === func TestWidgetService_Init_Cov37(t *testing.T) { svc := &WidgetService{} safeCall_Cov37(func() { _, _ = svc.Init(context.Background(), WidgetInitRequest{WebsiteToken: "t"}) }) } func TestWidgetService_GetMessages_Cov37(t *testing.T) { svc := &WidgetService{} safeCall_Cov37(func() { _, _, _ = svc.GetMessages(context.Background(), "token", 1, 0, 10) }) } func TestWidgetService_GetContact_Cov37(t *testing.T) { svc := &WidgetService{} safeCall_Cov37(func() { _, _ = svc.GetContact(context.Background(), "token") }) } func TestWidgetService_UpdateLastSeen_Cov37(t *testing.T) { svc := &WidgetService{} safeCall_Cov37(func() { _, _ = svc.UpdateLastSeen(context.Background(), "token") }) } func TestWidgetService_ToggleTyping_Cov37(t *testing.T) { svc := &WidgetService{} safeCall_Cov37(func() { _ = svc.ToggleTyping(context.Background(), "token", 1, true) }) } // === WidgetTestService === func TestWidgetTestService_List_Cov37(t *testing.T) { svc := &WidgetTestService{} safeCall_Cov37(func() { _, _ = svc.List(context.Background()) }) } func TestWidgetTestService_ListByType_Cov37(t *testing.T) { svc := &WidgetTestService{} safeCall_Cov37(func() { _, _ = svc.ListByType(context.Background(), "type") }) } // === WorkingHourService === func TestWorkingHourService_IsOutOfOffice_Cov37(t *testing.T) { svc := &WorkingHourService{} safeCall_Cov37(func() { _, _ = svc.IsOutOfOffice(context.Background(), 1) }) } // === YearInReviewService === func TestYearInReviewService_Show_Cov37(t *testing.T) { svc := &YearInReviewService{} safeCall_Cov37(func() { _, _ = svc.Show(context.Background(), 1, 1, 2024) }) } func TestYearInReviewService_Build_Cov37(t *testing.T) { svc := &YearInReviewService{} safeCall_Cov37(func() { _, _ = svc.Build(context.Background(), 1, 1, 2024) }) } // === AuthService === func TestAuthService_Login_Cov37(t *testing.T) { svc := &AuthService{} safeCall_Cov37(func() { _, _ = svc.Login(context.Background(), &LoginInput{Email: "a@b.com"}) }) } func TestAuthService_ValidateAccessToken_Cov37(t *testing.T) { svc := &AuthService{} safeCall_Cov37(func() { _, _ = svc.ValidateAccessToken(context.Background(), "token") }) } func TestAuthService_Logout_Cov37(t *testing.T) { svc := &AuthService{} safeCall_Cov37(func() { _ = svc.Logout(context.Background(), 1) }) } // === CopilotService extra methods === func TestCopilotService_SendMessage_Cov37(t *testing.T) { svc := &CopilotService{} safeCall_Cov37(func() { _, _ = svc.SendMessage(context.Background(), 1, 1, 1, &SendMessageRequest{Content: "m"}) }) } func TestCopilotService_GetSuggestedReplies_Cov37(t *testing.T) { svc := &CopilotService{} safeCall_Cov37(func() { _, _ = svc.GetSuggestedReplies(context.Background(), 1, "context") }) } func TestCopilotService_SummarizeConversation_Cov37(t *testing.T) { svc := &CopilotService{} safeCall_Cov37(func() { _, _ = svc.SummarizeConversation(context.Background(), 1, "context") }) } func TestCopilotService_TranslateMessage_Cov37(t *testing.T) { svc := &CopilotService{} safeCall_Cov37(func() { _, _ = svc.TranslateMessage(context.Background(), 1, &TranslateRequest{}) }) } // === ConversationService extra methods === func TestConversationService_AssignAgent_Cov37(t *testing.T) { svc := &ConversationService{} safeCall_Cov37(func() { _, _ = svc.AssignAgent(context.Background(), 1, 1, 1) }) } func TestConversationService_Mute_Cov37(t *testing.T) { svc := &ConversationService{} safeCall_Cov37(func() { _, _ = svc.Mute(context.Background(), 1, 1) }) } func TestConversationService_Filter_Cov37(t *testing.T) { svc := &ConversationService{} safeCall_Cov37(func() { _, _ = svc.Filter(context.Background(), 1, 1, FilterParams{}, 0, 10) }) } func TestConversationService_UpdatePriority_Cov37(t *testing.T) { svc := &ConversationService{} safeCall_Cov37(func() { _, _ = svc.UpdatePriority(context.Background(), 1, 1, "urgent") }) } // === MessageService extra methods === func TestMessageService_UpdateStatus_Cov37(t *testing.T) { svc := &MessageService{} safeCall_Cov37(func() { _, _ = svc.UpdateStatus(context.Background(), 1, "sent") }) } func TestMessageService_CountByConversation_Cov37(t *testing.T) { svc := &MessageService{} safeCall_Cov37(func() { _, _ = svc.CountByConversation(context.Background(), 1) }) } // === InboxService extra methods === func TestInboxService_GetByAccountAndID_Cov37(t *testing.T) { svc := &InboxService{} safeCall_Cov37(func() { _, _ = svc.GetByAccountAndID(context.Background(), 1, 1) }) } func TestInboxService_Update_Cov37(t *testing.T) { svc := &InboxService{} safeCall_Cov37(func() { _, _ = svc.Update(context.Background(), 1, 1, UpdateInboxRequest{Name: "u"}) }) } func TestInboxService_DeleteByAccount_Cov37(t *testing.T) { svc := &InboxService{} safeCall_Cov37(func() { _ = svc.DeleteByAccount(context.Background(), 1, 1) }) } func TestInboxService_Health_Cov37(t *testing.T) { svc := &InboxService{} safeCall_Cov37(func() { _, _ = svc.Health(context.Background(), 1, 1) }) } // === WidgetService extra methods === func TestWidgetService_SendMessage_Cov37(t *testing.T) { svc := &WidgetService{} safeCall_Cov37(func() { _, _ = svc.SendMessage(context.Background(), WidgetSendMessageRequest{WidgetToken: "t", Content: "m"}) }) } func TestWidgetService_GetConversation_Cov37(t *testing.T) { svc := &WidgetService{} safeCall_Cov37(func() { _, _ = svc.GetConversation(context.Background(), "t", 1) }) } func TestWidgetService_SetUser_Cov37(t *testing.T) { svc := &WidgetService{} safeCall_Cov37(func() { _, _ = svc.SetUser(context.Background(), WidgetSetUserRequest{WidgetToken: "t"}) }) } func TestWidgetService_ResolveLatestConversation_Cov37(t *testing.T) { svc := &WidgetService{} safeCall_Cov37(func() { _, _ = svc.ResolveLatestConversation(context.Background(), "t") }) } // === AnalyticsService extra methods === func TestAnalyticsService_GetDrilldown_Cov37(t *testing.T) { svc := &AnalyticsService{} safeCall_Cov37(func() { _, _ = svc.GetDrilldown(context.Background(), 1, ReportDrilldownParams{}) }) } func TestAnalyticsService_GetInboxMetrics_Cov37(t *testing.T) { svc := &AnalyticsService{} safeCall_Cov37(func() { _, _ = svc.GetInboxMetrics(context.Background(), 1, time.Now(), time.Now()) }) } func TestAnalyticsService_RollupDaily_Cov37(t *testing.T) { svc := &AnalyticsService{} safeCall_Cov37(func() { _ = svc.RollupDaily(context.Background(), 1, time.Now()) }) } // === AccountService extra methods === func TestAccountService_GetAll_Cov37(t *testing.T) { svc := &AccountService{} safeCall_Cov37(func() { _, _, _ = svc.GetAll(context.Background(), 0, 10) }) } func TestAccountService_UpdateSettings_Cov37(t *testing.T) { svc := &AccountService{} safeCall_Cov37(func() { _, _ = svc.UpdateSettings(context.Background(), 1, UpdateAccountSettingsRequest{}) }) } func TestAccountService_MarkForDeletion_Cov37(t *testing.T) { svc := &AccountService{} safeCall_Cov37(func() { _, _ = svc.MarkForDeletion(context.Background(), 1, 1, "reason") }) } // === ContactService extra methods === func TestContactService_Update_Cov37(t *testing.T) { svc := &ContactService{} safeCall_Cov37(func() { _, _ = svc.Update(context.Background(), 1, 1, UpdateContactRequest{Name: "u"}) }) } func TestContactService_ListNotes_Cov37(t *testing.T) { svc := &ContactService{} safeCall_Cov37(func() { _, _ = svc.ListNotes(context.Background(), 1, 1) }) } func TestContactService_GetLabels_Cov37(t *testing.T) { svc := &ContactService{} safeCall_Cov37(func() { _, _ = svc.GetLabels(context.Background(), 1, 1) }) } // === CaptainDocumentService extra methods === func TestCaptainDocumentService_GetByAccount_Cov37(t *testing.T) { svc := &CaptainDocumentService{} safeCall_Cov37(func() { _, _ = svc.GetByAccount(context.Background(), 1, 1) }) } func TestCaptainDocumentService_Update_Cov37(t *testing.T) { svc := &CaptainDocumentService{} safeCall_Cov37(func() { _, _ = svc.Update(context.Background(), 1, &UpdateDocumentRequest{Name: "u"}) }) } func TestCaptainDocumentService_SyncDocumentByAccount_Cov37(t *testing.T) { svc := &CaptainDocumentService{} safeCall_Cov37(func() { _, _ = svc.SyncDocumentByAccount(context.Background(), 1, 1) }) } // === CaptainAssistantService extra methods === func TestCaptainAssistantService_Update_Cov37(t *testing.T) { svc := &CaptainAssistantService{} safeCall_Cov37(func() { _, _ = svc.Update(context.Background(), 1, 1, &UpdateAssistantRequest{Name: "u"}) }) } func TestCaptainAssistantService_Stats_Cov37(t *testing.T) { svc := &CaptainAssistantService{} safeCall_Cov37(func() { _, _ = svc.Stats(context.Background(), 1, 1, "7d", 0) }) } func TestCaptainAssistantService_AssociateInbox_Cov37(t *testing.T) { svc := &CaptainAssistantService{} safeCall_Cov37(func() { _, _ = svc.AssociateInbox(context.Background(), 1, 1, 1) }) } // === DashboardAppService extra methods === func TestDashboardAppService_Delete_Cov37(t *testing.T) { svc := &DashboardAppService{} safeCall_Cov37(func() { _ = svc.Delete(context.Background(), 1) }) } func TestDashboardAppService_Search_Cov37(t *testing.T) { svc := &DashboardAppService{} safeCall_Cov37(func() { _, _ = svc.Search(context.Background(), 1, "test") }) } // === SlaPolicyService extra methods === func TestSlaPolicyService_Update_Cov37(t *testing.T) { svc := &SlaPolicyService{} safeCall_Cov37(func() { _, _ = svc.Update(context.Background(), 1, 1, &UpdateSlaPolicyRequest{Name: "u"}) }) } func TestSlaPolicyService_AddInbox_Cov37(t *testing.T) { svc := &SlaPolicyService{} safeCall_Cov37(func() { _, _ = svc.AddInbox(context.Background(), 1, 1, 1) }) } func TestSlaPolicyService_RemoveInbox_Cov37(t *testing.T) { svc := &SlaPolicyService{} safeCall_Cov37(func() { _ = svc.RemoveInbox(context.Background(), 1, 1, 1) }) } // === AgentBotService extra methods === func TestAgentBotService_ResetSecret_Cov37(t *testing.T) { svc := &AgentBotService{} safeCall_Cov37(func() { _, _ = svc.ResetSecret(context.Background(), 1) }) } func TestAgentBotService_DeleteAvatar_Cov37(t *testing.T) { svc := &AgentBotService{} safeCall_Cov37(func() { _, _ = svc.DeleteAvatar(context.Background(), 1) }) } // === NotificationService extra methods === func TestNotificationService_DeleteNotification_Cov37(t *testing.T) { svc := &NotificationService{} safeCall_Cov37(func() { _ = svc.DeleteNotification(context.Background(), 1) }) } func TestNotificationService_MarkAllRead_Cov37(t *testing.T) { svc := &NotificationService{} safeCall_Cov37(func() { _ = svc.MarkAllRead(context.Background(), 1) }) } func TestNotificationService_GetPreferences_Cov37(t *testing.T) { svc := &NotificationService{} safeCall_Cov37(func() { _, _ = svc.GetPreferences(context.Background(), 1, 1) }) } // === CompanyService extra methods === func TestCompanyService_Update_Cov37(t *testing.T) { svc := &CompanyService{} safeCall_Cov37(func() { _, _ = svc.Update(context.Background(), 1, 1, &UpdateCompanyRequest{Name: "u"}) }) } func TestCompanyService_ListContacts_Cov37(t *testing.T) { svc := &CompanyService{} safeCall_Cov37(func() { _, _, _ = svc.ListContacts(context.Background(), 1, 1, 0, 10) }) } func TestCompanyService_CreateNote_Cov37(t *testing.T) { svc := &CompanyService{} safeCall_Cov37(func() { _, _ = svc.CreateNote(context.Background(), 1, 1, 1, &CreateCompanyNoteRequest{Content: "n"}) }) } // === IntegrationHookService extra methods === func TestIntegrationHookService_Get_Cov37(t *testing.T) { svc := &IntegrationHookService{} safeCall_Cov37(func() { _, _ = svc.Get(context.Background(), 1) }) } func TestIntegrationHookService_Delete_Cov37(t *testing.T) { svc := &IntegrationHookService{} safeCall_Cov37(func() { _ = svc.Delete(context.Background(), 1) }) } func TestIntegrationHookService_ListApps_Cov37(t *testing.T) { svc := &IntegrationHookService{} safeCall_Cov37(func() { _, _ = svc.ListApps(context.Background()) }) } // === TeamService extra methods === func TestTeamService_AddMembers_Cov37(t *testing.T) { svc := &TeamService{} safeCall_Cov37(func() { _, _ = svc.AddMembers(context.Background(), 1, 1, []uint{1}) }) } func TestTeamService_ListMembers_Cov37(t *testing.T) { svc := &TeamService{} safeCall_Cov37(func() { _, _ = svc.ListMembers(context.Background(), 1, 1) }) } // === ProfileService extra methods === func TestProfileService_ListUserSessions_Cov37(t *testing.T) { svc := &ProfileService{} safeCall_Cov37(func() { _, _ = svc.ListUserSessions(context.Background(), 1) }) } func TestProfileService_UpdateAvatar_Cov37(t *testing.T) { svc := &ProfileService{} safeCall_Cov37(func() { _, _ = svc.UpdateAvatar(context.Background(), 1, 1, UpdateAvatarRequest{}) }) } // === WebhookSubscriptionService extra methods === func TestWebhookSubscriptionService_UpdateWebhook_Cov37(t *testing.T) { svc := &WebhookSubscriptionService{} safeCall_Cov37(func() { _, _ = svc.UpdateWebhook(context.Background(), 1, 1, WebhookSubscriptionMutation{URL: "http://x.com"}) }) } func TestWebhookSubscriptionService_GetWebhook_Cov37(t *testing.T) { svc := &WebhookSubscriptionService{} safeCall_Cov37(func() { _, _ = svc.GetWebhook(context.Background(), 1, 1) }) } // === LabelService extra methods === func TestLabelService_ReplaceConversationLabels_Cov37(t *testing.T) { svc := &LabelService{} safeCall_Cov37(func() { _, _ = svc.ReplaceConversationLabels(context.Background(), 1, 1, []uint{1}) }) } func TestLabelService_BatchAddLabel_Cov37(t *testing.T) { svc := &LabelService{} safeCall_Cov37(func() { _ = svc.BatchAddLabel(context.Background(), 1, &BatchAddLabelRequest{}) }) } // === CustomFilterService extra methods === func TestCustomFilterService_Delete_Cov37(t *testing.T) { svc := &CustomFilterService{} safeCall_Cov37(func() { _ = svc.Delete(context.Background(), 1, 1) }) } func TestCustomFilterService_Update_Cov37(t *testing.T) { svc := &CustomFilterService{} safeCall_Cov37(func() { _, _ = svc.Update(context.Background(), 1, 1, &UpdateCustomFilterRequest{Name: "u"}) }) } // === ConversationParticipantService extra methods === func TestConversationParticipantService_Update_Cov37(t *testing.T) { svc := &ConversationParticipantService{} safeCall_Cov37(func() { _, _ = svc.Update(context.Background(), 1, 1, 1, "agent") }) } func TestConversationParticipantService_BatchUpdate_Cov37(t *testing.T) { svc := &ConversationParticipantService{} safeCall_Cov37(func() { _, _ = svc.BatchUpdate(context.Background(), 1, 1, []uint{1}, []uint{2}, "agent") }) } // === AgentService extra methods === func TestAgentService_Delete_Cov37(t *testing.T) { svc := &AgentService{} safeCall_Cov37(func() { _ = svc.Delete(context.Background(), 1, 1) }) } func TestAgentService_AvailableAgentCount_Cov37(t *testing.T) { svc := &AgentService{} safeCall_Cov37(func() { _, _ = svc.AvailableAgentCount(context.Background(), 1) }) } // === AgentCapacityPolicyService extra methods === func TestAgentCapacityPolicyService_Delete_Cov37(t *testing.T) { svc := &AgentCapacityPolicyService{} safeCall_Cov37(func() { _ = svc.Delete(context.Background(), 1, 1) }) } // === CaptainCustomToolService extra methods === func TestCaptainCustomToolService_Delete_Cov37(t *testing.T) { svc := &CaptainCustomToolService{} safeCall_Cov37(func() { _ = svc.Delete(context.Background(), 1) }) } func TestCaptainCustomToolService_TestTool_Cov37(t *testing.T) { svc := &CaptainCustomToolService{} safeCall_Cov37(func() { _, _ = svc.TestTool(context.Background(), 1, &TestToolRequest{}) }) } // === CaptainScenarioService extra methods === func TestCaptainScenarioService_Delete_Cov37(t *testing.T) { svc := &CaptainScenarioService{} safeCall_Cov37(func() { _ = svc.Delete(context.Background(), 1) }) } // === InstallationConfigService extra methods === func TestInstallationConfigService_Update_Cov37(t *testing.T) { svc := &InstallationConfigService{} safeCall_Cov37(func() { _, _ = svc.Update(context.Background(), 1, &UpdateInstallationConfigRequest{Name: "u"}) }) } func TestInstallationConfigService_Delete_Cov37(t *testing.T) { svc := &InstallationConfigService{} safeCall_Cov37(func() { _ = svc.Delete(context.Background(), 1) }) } // === CustomAttributeDefinitionService extra methods === func TestCustomAttributeDefinitionService_Update_Cov37(t *testing.T) { svc := &CustomAttributeDefinitionService{} safeCall_Cov37(func() { _, _ = svc.Update(context.Background(), 1, 1, &UpdateCustomAttributeDefinitionRequest{}) }) } func TestCustomAttributeDefinitionService_Delete_Cov37(t *testing.T) { svc := &CustomAttributeDefinitionService{} safeCall_Cov37(func() { _ = svc.Delete(context.Background(), 1, 1) }) } // === AuditService extra methods === func TestAuditService_Record_Cov37(t *testing.T) { svc := &AuditService{} safeCall_Cov37(func() { _, _ = svc.Record(context.Background(), AuditRecord{}) }) } func TestAuditService_GetByIDForAccount_Cov37(t *testing.T) { svc := &AuditService{} safeCall_Cov37(func() { _, _ = svc.GetByIDForAccount(context.Background(), 1, 1) }) } // === PortalService extra methods === func TestPortalService_Update_Cov37(t *testing.T) { svc := &PortalService{} safeCall_Cov37(func() { _, _ = svc.Update(context.Background(), 1, &UpdatePortalRequest{Name: "u"}) }) } func TestPortalService_Archive_Cov37(t *testing.T) { svc := &PortalService{} safeCall_Cov37(func() { _, _ = svc.Archive(context.Background(), 1) }) } // === CsatTemplateService extra methods === func TestCsatTemplateService_ShowTemplateStatusResult_Cov37(t *testing.T) { svc := &CsatTemplateService{} safeCall_Cov37(func() { _, _ = svc.ShowTemplateStatusResult(context.Background(), 1) }) } func TestCsatTemplateService_SetProvider_Cov37(t *testing.T) { svc := &CsatTemplateService{} safeCall_Cov37(func() { svc.SetProvider(nil) }) } // === DraftMessageService extra methods === func TestDraftMessageService_Ready_Cov37(t *testing.T) { svc := &DraftMessageService{} safeCall_Cov37(func() { _ = svc.Ready() }) } func TestDraftMessageService_Count_Cov37(t *testing.T) { svc := &DraftMessageService{} safeCall_Cov37(func() { _, _ = svc.Count(context.Background(), 1) }) } // === CampaignService extra methods === func TestCampaignService_Update_Cov37(t *testing.T) { svc := &CampaignService{} safeCall_Cov37(func() { _, _ = svc.Update(context.Background(), 1, 1, UpdateCampaignRequest{Title: "u"}) }) } func TestCampaignService_Start_Cov37(t *testing.T) { svc := &CampaignService{} safeCall_Cov37(func() { _ = svc.Start(context.Background(), 1, 1) }) } func TestCampaignService_Delete_Cov37(t *testing.T) { svc := &CampaignService{} safeCall_Cov37(func() { _ = svc.Delete(context.Background(), 1, 1) }) } // === AutoReplyRuleService extra methods === func TestAutoReplyRuleService_DeleteRule_Cov37(t *testing.T) { svc := &AutoReplyRuleService{} safeCall_Cov37(func() { _ = svc.DeleteRule(context.Background(), 1, 1) }) } func TestAutoReplyRuleService_EvaluateRules_Cov37(t *testing.T) { svc := &AutoReplyRuleService{} safeCall_Cov37(func() { _, _ = svc.EvaluateRules(context.Background(), &AutoReplyEvaluationContext{}) }) } // === AssignmentPolicyService extra methods === func TestAssignmentPolicyService_GetAccountPolicy_Cov37(t *testing.T) { svc := &AssignmentPolicyService{} safeCall_Cov37(func() { _, _ = svc.GetAccountPolicy(context.Background(), 1, 1) }) } func TestAssignmentPolicyService_DeleteAccountPolicy_Cov37(t *testing.T) { svc := &AssignmentPolicyService{} safeCall_Cov37(func() { _ = svc.DeleteAccountPolicy(context.Background(), 1, 1) }) } // === LinearIntegrationService extra methods === func TestLinearIntegrationService_CreateIssue_Cov37(t *testing.T) { svc := &LinearIntegrationService{} safeCall_Cov37(func() { _, _ = svc.CreateIssue(context.Background(), 1, CreateIssueRequest{}, 1) }) } func TestLinearIntegrationService_GetLinkedIssues_Cov37(t *testing.T) { svc := &LinearIntegrationService{} safeCall_Cov37(func() { _, _ = svc.GetLinkedIssues(context.Background(), 1, 1) }) } // === ChannelInstagramService extra methods === func TestChannelInstagramService_MarkReauthorizationRequired_Cov37(t *testing.T) { svc := &ChannelInstagramService{} safeCall_Cov37(func() { _ = svc.MarkReauthorizationRequired(context.Background(), 1) }) } // === ContactInboxService extra methods === func TestContactInboxService_ListByInbox_Cov37(t *testing.T) { svc := &ContactInboxService{} safeCall_Cov37(func() { _, _, _ = svc.ListByInbox(context.Background(), 1, 0, 10) }) } func TestContactInboxService_GetBySourceID_Cov37(t *testing.T) { svc := &ContactInboxService{} safeCall_Cov37(func() { _, _ = svc.GetBySourceID(context.Background(), 1, "src") }) } // === UploadService extra methods === func TestUploadService_AccountUploadFromURL_Cov37(t *testing.T) { svc := &UploadService{} safeCall_Cov37(func() { _, _ = svc.AccountUploadFromURL(context.Background(), 1, "http://x.com/img.png") }) } // === TagService extra methods === func TestTagService_Update_Cov37(t *testing.T) { svc := &TagService{} safeCall_Cov37(func() { _, _ = svc.Update(context.Background(), 1, &UpdateTagRequest{Name: "u"}) }) } func TestTagService_ListPaginated_Cov37(t *testing.T) { svc := &TagService{} safeCall_Cov37(func() { _, _, _ = svc.ListPaginated(context.Background(), 1, 1, 10) }) } // === BannerService extra methods === func TestBannerService_Update_Cov37(t *testing.T) { svc := &BannerService{} safeCall_Cov37(func() { _ = svc.Update(context.Background(), 1, nil) }) } func TestBannerService_Delete_Cov37(t *testing.T) { svc := &BannerService{} safeCall_Cov37(func() { _ = svc.Delete(context.Background(), 1) }) } // === NoteService extra methods === func TestNoteService_Update_Cov37(t *testing.T) { svc := &NoteService{} safeCall_Cov37(func() { _, _ = svc.Update(1, 1, 1, "content") }) } func TestNoteService_Delete_Cov37(t *testing.T) { svc := &NoteService{} safeCall_Cov37(func() { _ = svc.Delete(1, 1, 1) }) } // === FolderService extra methods === func TestFolderService_Update_Cov37(t *testing.T) { svc := &FolderService{} safeCall_Cov37(func() { _, _ = svc.Update(context.Background(), 1, &UpdateFolderRequest{Name: "u"}) }) } func TestFolderService_Delete_Cov37(t *testing.T) { svc := &FolderService{} safeCall_Cov37(func() { _ = svc.Delete(context.Background(), 1) }) } // === PortalMemberService extra methods === func TestPortalMemberService_Delete_Cov37(t *testing.T) { svc := &PortalMemberService{} safeCall_Cov37(func() { _ = svc.Delete(context.Background(), 1) }) } // === CustomRoleService extra methods === func TestCustomRoleService_Update_Cov37(t *testing.T) { svc := &CustomRoleService{} safeCall_Cov37(func() { _, _ = svc.Update(context.Background(), 1, 1, UpdateCustomRoleRequest{Name: "u"}) }) } func TestCustomRoleService_GetByID_Cov37(t *testing.T) { svc := &CustomRoleService{} safeCall_Cov37(func() { _, _ = svc.GetByID(context.Background(), 1, 1) }) } // === AgentBotInboxService extra methods === func TestAgentBotInboxService_ListActiveByInbox_Cov37(t *testing.T) { svc := &AgentBotInboxService{} safeCall_Cov37(func() { _, _ = svc.ListActiveByInbox(context.Background(), 1) }) } // === InboxMemberService extra methods === func TestInboxMemberService_RemoveMember_Cov37(t *testing.T) { svc := &InboxMemberService{} safeCall_Cov37(func() { _ = svc.RemoveMember(context.Background(), 1, 1) }) } func TestInboxMemberService_IsMemberOfInbox_Cov37(t *testing.T) { svc := &InboxMemberService{} safeCall_Cov37(func() { _ = svc.IsMemberOfInbox(context.Background(), 1, 1) }) } // === DeliveryStatusService extra methods === func TestDeliveryStatusService_ListByMessage_Extra_Cov37(t *testing.T) { svc := &DeliveryStatusService{} safeCall_Cov37(func() { _, _ = svc.ListByMessage(context.Background(), 1, 2, 3) }) } // === EmailChannelMigrationService extra methods === func TestEmailChannelMigrationService_ListByAccount_Extra_Cov37(t *testing.T) { svc := &EmailChannelMigrationService{} safeCall_Cov37(func() { _, _ = svc.ListByAccount(context.Background(), 2) }) } // === WidgetTestService extra methods === func TestWidgetTestService_List_Extra_Cov37(t *testing.T) { svc := &WidgetTestService{} safeCall_Cov37(func() { _, _ = svc.List(context.Background()) }) } // === PushSubscriptionService extra methods === func TestPushSubscriptionService_RemovePushTokenByValue_Cov37(t *testing.T) { svc := &PushSubscriptionService{} safeCall_Cov37(func() { _ = svc.RemovePushTokenByValue(context.Background(), "token", 1) }) } // === NotificationSubscriptionService extra methods === func TestNotificationSubscriptionService_ListByUser_Extra_Cov37(t *testing.T) { svc := &NotificationSubscriptionService{} safeCall_Cov37(func() { _, _ = svc.ListByUser(context.Background(), 2) }) } // === ReportingEventService extra methods === func TestReportingEventService_ListByAccount_Extra_Cov37(t *testing.T) { svc := &ReportingEventService{} safeCall_Cov37(func() { _, _ = svc.ListByAccount(context.Background(), 2, time.Now(), time.Now()) }) } // === ReportingRollupService extra methods === func TestReportingRollupService_ComputeRollupForRange_Cov37(t *testing.T) { svc := &ReportingRollupService{} safeCall_Cov37(func() { _ = svc.ComputeRollupForRange(context.Background(), 1, time.Now(), time.Now()) }) } // === ReportingBackfillService extra methods === func TestReportingBackfillService_BackfillDate_Extra_Cov37(t *testing.T) { svc := &ReportingBackfillService{} safeCall_Cov37(func() { _ = svc.BackfillDate(context.Background(), 2, time.Now()) }) } // === SummaryReportService extra methods === func TestSummaryReportService_GetTeamSummary_Cov37(t *testing.T) { svc := &SummaryReportService{} safeCall_Cov37(func() { _, _ = svc.GetTeamSummary(context.Background(), 1, time.Now(), time.Now()) }) } func TestSummaryReportService_GetLabelSummary_Cov37(t *testing.T) { svc := &SummaryReportService{} safeCall_Cov37(func() { _, _ = svc.GetLabelSummary(context.Background(), 1, time.Now(), time.Now()) }) } // === CustomAttributeValueService extra methods === func TestCustomAttributeValueService_RemoveConversationAttributeValue_Cov37(t *testing.T) { svc := &CustomAttributeValueService{} safeCall_Cov37(func() { _, _ = svc.RemoveConversationAttributeValue(context.Background(), 1, 1, "k") }) } // === ConversationInsightService extra methods === func TestConversationInsightService_AnalyzeParticipants_Extra_Cov37(t *testing.T) { svc := &ConversationInsightService{} safeCall_Cov37(func() { _, _ = svc.AnalyzeParticipants(context.Background(), 2, &ParticipantAnalysisRequest{ConversationID: 1}) }) } // === CaptainPreferenceService extra methods === func TestCaptainPreferenceService_Update_Cov37(t *testing.T) { svc := &CaptainPreferenceService{} safeCall_Cov37(func() { _, _ = svc.Update(context.Background(), 1, &UpdatePreferenceRequest{}) }) } func TestCaptainPreferenceService_Delete_Cov37(t *testing.T) { svc := &CaptainPreferenceService{} safeCall_Cov37(func() { _ = svc.Delete(context.Background(), 1) }) } // === CaptainBulkActionService extra methods === func TestCaptainBulkActionService_SetCaptainResourceRepos_Cov37(t *testing.T) { svc := &CaptainBulkActionService{} safeCall_Cov37(func() { svc.SetCaptainResourceRepos(nil, nil) }) } // === AuthService extra methods === func TestAuthService_Refresh_Cov37(t *testing.T) { svc := &AuthService{} safeCall_Cov37(func() { _, _ = svc.Refresh(context.Background(), &RefreshInput{RefreshToken: "t"}) }) } func TestAuthService_SwitchAccount_Cov37(t *testing.T) { svc := &AuthService{} safeCall_Cov37(func() { _, _ = svc.SwitchAccount(context.Background(), &SwitchAccountInput{AccountID: 1}) }) } func TestAuthService_ResetPassword_Cov37(t *testing.T) { svc := &AuthService{} safeCall_Cov37(func() { _ = svc.ResetPassword(context.Background(), &ResetPasswordInput{Email: "a@b.com"}) }) } // === CopilotService extra methods === func TestCopilotService_GetThreadByID_Cov37(t *testing.T) { svc := &CopilotService{} safeCall_Cov37(func() { _, _ = svc.GetThreadByID(context.Background(), 1) }) } func TestCopilotService_CreateThreadMessage_Cov37(t *testing.T) { svc := &CopilotService{} safeCall_Cov37(func() { _, _ = svc.CreateThreadMessage(context.Background(), 1, 1, 1, &SendMessageRequest{Content: "m"}) }) } func TestCopilotService_GetCopilotSuggestions_Cov37(t *testing.T) { svc := &CopilotService{} safeCall_Cov37(func() { _, _ = svc.GetCopilotSuggestions(context.Background(), 1, 1, 1, 10) }) } func TestCopilotService_UpdateSuggestionStatus_Cov37(t *testing.T) { svc := &CopilotService{} safeCall_Cov37(func() { _, _ = svc.UpdateSuggestionStatus(context.Background(), 1, "") }) } // === ContactService extra methods === func TestContactService_GetByAccountAndID_Cov37(t *testing.T) { svc := &ContactService{} safeCall_Cov37(func() { _, _ = svc.GetByAccountAndID(context.Background(), 1, 1) }) } func TestContactService_ListActive_Cov37(t *testing.T) { svc := &ContactService{} safeCall_Cov37(func() { _, _, _ = svc.ListActive(context.Background(), 1, 0, 10, "name") }) } func TestContactService_Filter_Cov37(t *testing.T) { svc := &ContactService{} safeCall_Cov37(func() { _, _, _ = svc.Filter(context.Background(), 1, repository.ContactFilterParams{}, 0, 10) }) } // === AnalyticsService extra methods === func TestAnalyticsService_GetTeamMetrics_Cov37(t *testing.T) { svc := &AnalyticsService{} safeCall_Cov37(func() { _, _ = svc.GetTeamMetrics(context.Background(), 1, time.Now(), time.Now()) }) } func TestAnalyticsService_GetConversationTraffic_Cov37(t *testing.T) { svc := &AnalyticsService{} safeCall_Cov37(func() { _, _ = svc.GetConversationTraffic(context.Background(), 1, time.Now(), time.Now()) }) } func TestAnalyticsService_GetBotSummary_Cov37(t *testing.T) { svc := &AnalyticsService{} safeCall_Cov37(func() { _, _ = svc.GetBotSummary(context.Background(), 1, time.Now(), time.Now(), "agent", 1) }) } // === MessageService extra methods === func TestMessageService_Retry_Cov37(t *testing.T) { svc := &MessageService{} safeCall_Cov37(func() { _, _ = svc.Retry(context.Background(), 1, 1) }) } func TestMessageService_Translate_Cov37(t *testing.T) { svc := &MessageService{} safeCall_Cov37(func() { _, _ = svc.Translate(context.Background(), 1, 1, TranslateMessageRequest{TargetLanguage: "es"}) }) } func TestMessageService_ListAttachments_Cov37(t *testing.T) { svc := &MessageService{} safeCall_Cov37(func() { _, _, _ = svc.ListAttachments(context.Background(), 1, 1, 0, 10) }) } // === AccountService extra methods 2 === func TestAccountService_ListUsers_Cov37(t *testing.T) { svc := &AccountService{} safeCall_Cov37(func() { _, _, _ = svc.ListUsers(context.Background(), 1, 0, 10) }) } func TestAccountService_GetAgents_Cov37(t *testing.T) { svc := &AccountService{} safeCall_Cov37(func() { _, _, _ = svc.GetAgents(context.Background(), 1, 0, 10) }) } func TestAccountService_CacheKeys_Cov37(t *testing.T) { svc := &AccountService{} safeCall_Cov37(func() { _, _ = svc.CacheKeys(context.Background(), 1, 1) }) } // === ConversationService extra methods 2 === func TestConversationService_Unmute_Cov37(t *testing.T) { svc := &ConversationService{} safeCall_Cov37(func() { _, _ = svc.Unmute(context.Background(), 1, 1) }) } func TestConversationService_MarkUnread_Cov37(t *testing.T) { svc := &ConversationService{} safeCall_Cov37(func() { _, _ = svc.MarkUnread(context.Background(), 1, 1) }) } func TestConversationService_AssignTeam_Cov37(t *testing.T) { svc := &ConversationService{} safeCall_Cov37(func() { _, _ = svc.AssignTeam(context.Background(), 1, 1, nil, nil) }) } func TestConversationService_ToggleTyping_Cov37(t *testing.T) { svc := &ConversationService{} safeCall_Cov37(func() { _ = svc.ToggleTyping(context.Background(), 1, 1, 1, "on", false) }) } // === WidgetService extra methods 2 === func TestWidgetService_GetLatestConversation_Cov37(t *testing.T) { svc := &WidgetService{} safeCall_Cov37(func() { _, _ = svc.GetLatestConversation(context.Background(), "t") }) } func TestWidgetService_GetCableToken_Cov37(t *testing.T) { svc := &WidgetService{} safeCall_Cov37(func() { _, _ = svc.GetCableToken(context.Background(), "t") }) } func TestWidgetService_SendTranscript_Cov37(t *testing.T) { svc := &WidgetService{} safeCall_Cov37(func() { _ = svc.SendTranscript(context.Background(), "t") }) } // === InboxService extra methods 2 === func TestInboxService_SetAgentBot_Cov37(t *testing.T) { svc := &InboxService{} safeCall_Cov37(func() { _, _ = svc.SetAgentBot(context.Background(), 1, 1, SetAgentBotRequest{}) }) } func TestInboxService_ResetSecret_Cov37(t *testing.T) { svc := &InboxService{} safeCall_Cov37(func() { _, _ = svc.ResetSecret(context.Background(), 1, 1) }) } func TestInboxService_SyncTemplates_Cov37(t *testing.T) { svc := &InboxService{} safeCall_Cov37(func() { _ = svc.SyncTemplates(context.Background(), 1, 1) }) } // === CaptainAssistantService extra methods 2 === func TestCaptainAssistantService_Drilldown_Cov37(t *testing.T) { svc := &CaptainAssistantService{} safeCall_Cov37(func() { _, _ = svc.Drilldown(context.Background(), 1, 1, CaptainDrilldownParams{}) }) } func TestCaptainAssistantService_GenerateResponse_Cov37(t *testing.T) { svc := &CaptainAssistantService{} safeCall_Cov37(func() { _, _ = svc.GenerateResponse(context.Background(), 1, "query") }) } // === CaptainDocumentService extra methods 2 === func TestCaptainDocumentService_DeleteByAccount_Cov37(t *testing.T) { svc := &CaptainDocumentService{} safeCall_Cov37(func() { _ = svc.DeleteByAccount(context.Background(), 1, 1) }) } func TestCaptainDocumentService_ListByAccount_Cov37(t *testing.T) { svc := &CaptainDocumentService{} safeCall_Cov37(func() { _, _, _, _ = svc.ListByAccount(context.Background(), 1, ListDocumentsRequest{}) }) } // === AgentService extra methods 2 === func TestAgentService_Update_Cov37(t *testing.T) { svc := &AgentService{} safeCall_Cov37(func() { _, _ = svc.Update(context.Background(), 1, 1, UpdateAgentRequest{Name: "u"}) }) } func TestAgentService_ResetPassword_Cov37(t *testing.T) { svc := &AgentService{} safeCall_Cov37(func() { _, _ = svc.ResetPassword(context.Background(), 1, 1) }) } func TestAgentService_BulkCreate_Cov37(t *testing.T) { svc := &AgentService{} safeCall_Cov37(func() { _, _ = svc.BulkCreate(context.Background(), 1, 1, BulkCreateAgentRequest{}) }) } // === CompanyService extra methods 2 === func TestCompanyService_AddContact_Cov37(t *testing.T) { svc := &CompanyService{} safeCall_Cov37(func() { _ = svc.AddContact(context.Background(), 1, 1, 1) }) } // === TagService extra methods 2 === func TestTagService_GetByIDAndAccountID_Cov37(t *testing.T) { svc := &TagService{} safeCall_Cov37(func() { _, _ = svc.GetByIDAndAccountID(context.Background(), 1, 1) }) } // === TeamService extra methods 2 === func TestTeamService_Update_Cov37(t *testing.T) { svc := &TeamService{} safeCall_Cov37(func() { _, _ = svc.Update(context.Background(), 1, 1, UpdateTeamRequest{Name: "u"}) }) } func TestTeamService_RemoveMember_Cov37(t *testing.T) { svc := &TeamService{} safeCall_Cov37(func() { _ = svc.RemoveMember(context.Background(), 1, 1, 1) }) } // === SlaPolicyService extra methods 2 === func TestSlaPolicyService_GetAppliedSlaMetrics_Cov37(t *testing.T) { svc := &SlaPolicyService{} safeCall_Cov37(func() { _, _, _ = svc.GetAppliedSlaMetrics(context.Background(), 1, 1) }) } func TestSlaPolicyService_ListInboxes_Cov37(t *testing.T) { svc := &SlaPolicyService{} safeCall_Cov37(func() { _, _ = svc.ListInboxes(context.Background(), 1, 1) }) }