Skip to content

Commit

Permalink
rename scoreType
Browse files Browse the repository at this point in the history
  • Loading branch information
Jürgen Stockinger committed Jul 15, 2024
1 parent dfd22ba commit 87924a4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@ const (
const TYPE_CRR ProjectType = "crr"
const TYPE_DPR ProjectType = "dpr"

const RATING_CRR RatingType = "crr"
const RATING_DPR RatingType = "dpr"
const RATING_WEBRISK RatingType = "webrisk"
const SCORE_CRR ScoreType = "crr"
const SCORE_DPR ScoreType = "dpr"
const SCORE_WEBRISK ScoreType = "webrisk"
10 changes: 5 additions & 5 deletions types.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
)

type ProjectType string
type RatingType string
type ScoreType string

type RequestSupplier struct {
VAT string `json:"vat"` // mandatory
Expand Down Expand Up @@ -74,10 +74,10 @@ type WebRisk struct {
}

type RatingFilter struct {
Status []string `url:"status"`
RatingType []RatingType `url:"rt"`
SupplierIDs []string `url:"supplier-id"`
ExternalIDs []string `url:"external-id"`
Status []string `url:"status"`
ScoreType []ScoreType `url:"st"`
SupplierIDs []string `url:"supplier-id"`
ExternalIDs []string `url:"external-id"`
}

type RequestRatingCRR struct {
Expand Down

0 comments on commit 87924a4

Please sign in to comment.