Skip to content

Commit

Permalink
remove states
Browse files Browse the repository at this point in the history
  • Loading branch information
diPhantxm committed Aug 9, 2024
1 parent 5ecf131 commit 823386e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 19 deletions.
18 changes: 0 additions & 18 deletions ozon/common.go
Original file line number Diff line number Diff line change
Expand Up @@ -126,24 +126,6 @@ const (
type SupplyRequestState string

const (
// request draft. Only for supplies via vDC
Draft SupplyRequestState = "DRAFT"

// selecting supply options. Only for supplies via vDC
SupplyVariantsArranging SupplyRequestState = "SUPPLY_VARIANTS_ARRANGING"

// no supply options, the request is archived. Only for supplies via vDC
HasNoSupplyVariantsArchive SupplyRequestState = "HAS_NO_SUPPLY_VARIANTS_ARCHIVE"

// no supply options. Only for supplies via vDC
HasNoSupplyVariantsNew SupplyRequestState = "HAS_NO_SUPPLY_VARIANTS_NEW"

// supply being approved. Only for supplies via vDC
SupplyVariantsConfirmation SupplyRequestState = "SUPPLY_VARIANTS_CONFIRMATION"

// time reservation
TimeslotBooking SupplyRequestState = "TIMESLOT_BOOKING"

// filling in the data
DATA_FILLING SupplyRequestState = "DATA_FILLING"

Expand Down
2 changes: 1 addition & 1 deletion ozon/products.go
Original file line number Diff line number Diff line change
Expand Up @@ -1799,7 +1799,7 @@ type ListGeoRestrictionsRestriction struct {
OrderNumber int64 `json:"order_number"`
}

// Get a list of geo-restrictions for services
// Deprecated: Get a list of geo-restrictions for services
func (c Products) ListGeoRestrictions(ctx context.Context, params *ListGeoRestrictionsParams) (*ListGeoRestrictionsResponse, error) {
url := "/v1/products/geo-restrictions-catalog-by-filter"

Expand Down

0 comments on commit 823386e

Please sign in to comment.