amocrm/internal/repository/different.go

101 lines
2.0 KiB
Go
Raw Normal View History

2024-04-04 09:42:40 +00:00
package repository
import (
2024-04-08 08:20:10 +00:00
"amocrm/internal/models"
2024-04-04 09:42:40 +00:00
"context"
)
type DifferentRepository struct {
}
func NewDifferentRepository() *DifferentRepository {
return &DifferentRepository{}
}
2024-04-08 15:24:50 +00:00
func (r *DifferentRepository) GettingStepsFromCash(ctx context.Context) (*models.UserListStepsResp, error) {
2024-04-04 09:42:40 +00:00
//TODO:IMPLEMENT ME
2024-04-08 08:20:10 +00:00
return &models.UserListStepsResp{}, nil
2024-04-04 09:42:40 +00:00
}
2024-04-08 15:24:50 +00:00
func (r *DifferentRepository) UpdateListSteps(ctx context.Context) error {
2024-04-04 09:42:40 +00:00
//TODO:IMPLEMENT ME
return nil
}
2024-04-08 15:24:50 +00:00
func (r *DifferentRepository) WebhookCreate(ctx context.Context) error {
2024-04-04 09:42:40 +00:00
//TODO:IMPLEMENT ME
return nil
}
2024-04-08 15:24:50 +00:00
func (r *DifferentRepository) WebhookDelete(ctx context.Context) error {
2024-04-04 09:42:40 +00:00
//TODO:IMPLEMENT ME
return nil
}
2024-04-08 15:24:50 +00:00
func (r *DifferentRepository) UpdateListPipelines(ctx context.Context) error {
2024-04-04 09:42:40 +00:00
//TODO:IMPLEMENT ME
return nil
}
2024-04-08 15:24:50 +00:00
func (r *DifferentRepository) GettingPipelinesFromCash(ctx context.Context) (*models.UserListPipelinesResp, error) {
2024-04-04 09:42:40 +00:00
//TODO:IMPLEMENT ME
2024-04-08 08:20:10 +00:00
return &models.UserListPipelinesResp{}, nil
2024-04-04 09:42:40 +00:00
}
2024-04-08 15:24:50 +00:00
func (r *DifferentRepository) ChangeQuizSettings(ctx context.Context, request *models.RulesReq) error {
2024-04-04 09:42:40 +00:00
//TODO:IMPLEMENT ME
return nil
}
2024-04-08 15:24:50 +00:00
func (r *DifferentRepository) SetQuizSettings(ctx context.Context, request *models.RulesReq) error {
2024-04-04 09:42:40 +00:00
//TODO:IMPLEMENT ME
return nil
}
2024-04-08 15:24:50 +00:00
func (r *DifferentRepository) GettingQuizRules(ctx context.Context) (*models.Rule, error) {
2024-04-08 08:20:10 +00:00
//TODO:IMPLEMENT ME
return &models.Rule{}, nil
}
2024-04-08 15:24:50 +00:00
func (r *DifferentRepository) GettingTagsFromCash(ctx context.Context) (*models.UserListTagsResp, error) {
2024-04-08 08:20:10 +00:00
//TODO:IMPLEMENT ME
return &models.UserListTagsResp{}, nil
}
2024-04-08 15:24:50 +00:00
func (r *DifferentRepository) UpdateListTags(ctx context.Context) error {
2024-04-04 09:42:40 +00:00
//TODO:IMPLEMENT ME
return nil
}
2024-04-08 15:24:50 +00:00
func (r *DifferentRepository) GettingFieldsFromCash(ctx context.Context) (*models.UserListFieldsResp, error) {
2024-04-08 08:20:10 +00:00
//TODO:IMPLEMENT ME
return &models.UserListFieldsResp{}, nil
}
2024-04-08 15:24:50 +00:00
func (r *DifferentRepository) UpdateListCustom(ctx context.Context) error {
2024-04-04 09:42:40 +00:00
//TODO:IMPLEMENT ME
return nil
}