@@ -17,68 +17,68 @@ type InboxRepository struct {
1717func (r * InboxRepository ) ListInboxes (ctx context.Context , exec repositories.Executor ,
1818 organizationId string , inboxIds []uuid.UUID , withCaseCount bool ,
1919) ([]models.Inbox , error ) {
20- args := r .Called (exec , organizationId , inboxIds )
20+ args := r .Called (ctx , exec , organizationId , inboxIds , withCaseCount )
2121 return args .Get (0 ).([]models.Inbox ), args .Error (1 )
2222}
2323
2424func (r * InboxRepository ) GetInboxById (ctx context.Context , exec repositories.Executor , inboxId uuid.UUID ) (models.Inbox , error ) {
25- args := r .Called (exec , inboxId )
25+ args := r .Called (ctx , exec , inboxId )
2626 return args .Get (0 ).(models.Inbox ), args .Error (1 )
2727}
2828
2929func (r * InboxRepository ) CreateInbox (ctx context.Context , exec repositories.Executor ,
3030 input models.CreateInboxInput , newInboxId uuid.UUID ,
3131) error {
32- args := r .Called (exec , input , newInboxId )
32+ args := r .Called (ctx , exec , input , newInboxId )
3333 return args .Error (0 )
3434}
3535
3636func (r * InboxRepository ) UpdateInbox (ctx context.Context , exec repositories.Executor ,
3737 inboxId uuid.UUID , name * string , escalationInboxId * uuid.UUID , autoAssignEnabled * bool ,
3838) error {
39- args := r .Called (exec , inboxId , name , escalationInboxId , autoAssignEnabled )
39+ args := r .Called (ctx , exec , inboxId , name , escalationInboxId , autoAssignEnabled )
4040 return args .Error (0 )
4141}
4242
4343func (r * InboxRepository ) SoftDeleteInbox (ctx context.Context , exec repositories.Executor , inboxId uuid.UUID ) error {
44- args := r .Called (exec , inboxId )
44+ args := r .Called (ctx , exec , inboxId )
4545 return args .Error (0 )
4646}
4747
4848func (r * InboxRepository ) ListOrganizationCases (ctx context.Context , exec repositories.Executor ,
4949 filters models.CaseFilters , pagination models.PaginationAndSorting ,
5050) ([]models.Case , error ) {
51- args := r .Called (exec , filters , pagination )
51+ args := r .Called (ctx , exec , filters , pagination )
5252 return args .Get (0 ).([]models.Case ), args .Error (1 )
5353}
5454
5555func (r * InboxRepository ) ListInboxUsers (ctx context.Context , exec repositories.Executor ,
5656 filters models.InboxUserFilterInput ,
5757) ([]models.InboxUser , error ) {
58- args := r .Called (exec , filters )
58+ args := r .Called (ctx , exec , filters )
5959 return args .Get (0 ).([]models.InboxUser ), args .Error (1 )
6060}
6161
6262func (r * InboxRepository ) GetInboxUserById (ctx context.Context , exec repositories.Executor , inboxUserId uuid.UUID ) (models.InboxUser , error ) {
63- args := r .Called (exec , inboxUserId )
63+ args := r .Called (ctx , exec , inboxUserId )
6464 return args .Get (0 ).(models.InboxUser ), args .Error (1 )
6565}
6666
6767func (r * InboxRepository ) CreateInboxUser (ctx context.Context , exec repositories.Executor ,
6868 input models.CreateInboxUserInput , newInboxUserId uuid.UUID ,
6969) error {
70- args := r .Called (exec , input , newInboxUserId )
70+ args := r .Called (ctx , exec , input , newInboxUserId )
7171 return args .Error (0 )
7272}
7373
7474func (r * InboxRepository ) UpdateInboxUser (ctx context.Context , exec repositories.Executor ,
7575 inboxUserId uuid.UUID , role * models.InboxUserRole , autoAssignable * bool ,
7676) error {
77- args := r .Called (exec , inboxUserId , role , autoAssignable )
77+ args := r .Called (ctx , exec , inboxUserId , role , autoAssignable )
7878 return args .Error (0 )
7979}
8080
8181func (r * InboxRepository ) DeleteInboxUser (ctx context.Context , exec repositories.Executor , inboxUserId uuid.UUID ) error {
82- args := r .Called (exec , inboxUserId )
82+ args := r .Called (ctx , exec , inboxUserId )
8383 return args .Error (0 )
8484}
0 commit comments