collectionapi

package
v0.0.0-...-08a8310 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 30, 2026 License: AGPL-3.0 Imports: 16 Imported by: 0

Documentation

Overview

Package collectionapi provides primitives to interact with the openapi HTTP API.

Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.8.0 DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetSpec

func GetSpec() (swagger *openapi3.T, err error)

GetSpec returns the OpenAPI specification corresponding to the generated code in this file. External references in the spec are resolved through PathToRawSpec; externally-referenced files must be embedded in their corresponding Go packages (via the import-mapping feature). URL-based external refs are not supported.

func GetSpecJSON

func GetSpecJSON() ([]byte, error)

GetSpecJSON returns the raw JSON bytes of the embedded OpenAPI specification: decompressed but not unmarshaled. External references are not resolved here; the bytes are the spec exactly as embedded by codegen. The result is cached at package init time, so repeated calls are cheap.

func GetSwagger deprecated

func GetSwagger() (*openapi3.T, error)

GetSwagger returns the OpenAPI specification corresponding to the generated code in this file.

Deprecated: GetSwagger predates kin-openapi renaming openapi3.Swagger to openapi3.T. Use GetSpec instead. This wrapper is retained for backwards compatibility.

func NewAckEntryRegionMismatchRequest

func NewAckEntryRegionMismatchRequest(server string, entryId openapi_types.UUID) (*http.Request, error)

NewAckEntryRegionMismatchRequest constructs an http.Request for the AckEntryRegionMismatch method

func NewAckSubmissionResolutionRequest

func NewAckSubmissionResolutionRequest(server string, entryId openapi_types.UUID) (*http.Request, error)

NewAckSubmissionResolutionRequest constructs an http.Request for the AckSubmissionResolution method

func NewBulkUpdateEntriesRequest

func NewBulkUpdateEntriesRequest(server string, body BulkUpdateEntriesJSONRequestBody) (*http.Request, error)

NewBulkUpdateEntriesRequest calls the generic BulkUpdateEntries builder with application/json body

func NewBulkUpdateEntriesRequestWithBody

func NewBulkUpdateEntriesRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewBulkUpdateEntriesRequestWithBody constructs an http.Request for the BulkUpdateEntries method, with any body, and a specified content type

func NewCancelSubmissionRequest

func NewCancelSubmissionRequest(server string, entryId openapi_types.UUID) (*http.Request, error)

NewCancelSubmissionRequest constructs an http.Request for the CancelSubmission method

func NewCountProductReferencesRequest

func NewCountProductReferencesRequest(server string, productId openapi_types.UUID) (*http.Request, error)

NewCountProductReferencesRequest constructs an http.Request for the CountProductReferences method

func NewCreateEntryRequest

func NewCreateEntryRequest(server string, body CreateEntryJSONRequestBody) (*http.Request, error)

NewCreateEntryRequest calls the generic CreateEntry builder with application/json body

func NewCreateEntryRequestWithBody

func NewCreateEntryRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewCreateEntryRequestWithBody constructs an http.Request for the CreateEntry method, with any body, and a specified content type

func NewCreateSubmissionRequest

func NewCreateSubmissionRequest(server string, entryId openapi_types.UUID) (*http.Request, error)

NewCreateSubmissionRequest constructs an http.Request for the CreateSubmission method

func NewCreateTagRequest

func NewCreateTagRequest(server string, body CreateTagJSONRequestBody) (*http.Request, error)

NewCreateTagRequest calls the generic CreateTag builder with application/json body

func NewCreateTagRequestWithBody

func NewCreateTagRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewCreateTagRequestWithBody constructs an http.Request for the CreateTag method, with any body, and a specified content type

func NewCreateViewRequest

func NewCreateViewRequest(server string, body CreateViewJSONRequestBody) (*http.Request, error)

NewCreateViewRequest calls the generic CreateView builder with application/json body

func NewCreateViewRequestWithBody

func NewCreateViewRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewCreateViewRequestWithBody constructs an http.Request for the CreateView method, with any body, and a specified content type

func NewDeleteEntryRequest

func NewDeleteEntryRequest(server string, entryId openapi_types.UUID) (*http.Request, error)

NewDeleteEntryRequest constructs an http.Request for the DeleteEntry method

func NewDeleteTagRequest

func NewDeleteTagRequest(server string, tagId openapi_types.UUID) (*http.Request, error)

NewDeleteTagRequest constructs an http.Request for the DeleteTag method

func NewDeleteViewRequest

func NewDeleteViewRequest(server string, viewId openapi_types.UUID) (*http.Request, error)

NewDeleteViewRequest constructs an http.Request for the DeleteView method

func NewGetDashboardRequest

func NewGetDashboardRequest(server string, params *GetDashboardParams) (*http.Request, error)

NewGetDashboardRequest constructs an http.Request for the GetDashboard method

func NewGetEntryRequest

func NewGetEntryRequest(server string, entryId openapi_types.UUID) (*http.Request, error)

NewGetEntryRequest constructs an http.Request for the GetEntry method

func NewGetLibrarySummaryRequest

func NewGetLibrarySummaryRequest(server string) (*http.Request, error)

NewGetLibrarySummaryRequest constructs an http.Request for the GetLibrarySummary method

func NewGetSharedShelfBySlugRequest

func NewGetSharedShelfBySlugRequest(server string, params *GetSharedShelfBySlugParams) (*http.Request, error)

NewGetSharedShelfBySlugRequest constructs an http.Request for the GetSharedShelfBySlug method

func NewGetSharedShelfRequest

func NewGetSharedShelfRequest(server string, shelfId openapi_types.UUID) (*http.Request, error)

NewGetSharedShelfRequest constructs an http.Request for the GetSharedShelf method

func NewGetSharedShelvesByIdsRequest

func NewGetSharedShelvesByIdsRequest(server string, params *GetSharedShelvesByIdsParams) (*http.Request, error)

NewGetSharedShelvesByIdsRequest constructs an http.Request for the GetSharedShelvesByIds method

func NewGetSubmissionRequest

func NewGetSubmissionRequest(server string, entryId openapi_types.UUID) (*http.Request, error)

NewGetSubmissionRequest constructs an http.Request for the GetSubmission method

func NewGetValueHistoryRequest

func NewGetValueHistoryRequest(server string) (*http.Request, error)

NewGetValueHistoryRequest constructs an http.Request for the GetValueHistory method

func NewInternalNormalizePlatformsRequest

func NewInternalNormalizePlatformsRequest(server string) (*http.Request, error)

NewInternalNormalizePlatformsRequest constructs an http.Request for the InternalNormalizePlatforms method

func NewInternalNormalizeRegionsRequest

func NewInternalNormalizeRegionsRequest(server string) (*http.Request, error)

NewInternalNormalizeRegionsRequest constructs an http.Request for the InternalNormalizeRegions method

func NewInternalRematchEntriesRequest

func NewInternalRematchEntriesRequest(server string) (*http.Request, error)

NewInternalRematchEntriesRequest constructs an http.Request for the InternalRematchEntries method

func NewInternalResnapshotRequest

func NewInternalResnapshotRequest(server string) (*http.Request, error)

NewInternalResnapshotRequest constructs an http.Request for the InternalResnapshot method

func NewListEntriesRequest

func NewListEntriesRequest(server string, params *ListEntriesParams) (*http.Request, error)

NewListEntriesRequest constructs an http.Request for the ListEntries method

func NewListSharedShelfEntriesRequest

func NewListSharedShelfEntriesRequest(server string, shelfId openapi_types.UUID, params *ListSharedShelfEntriesParams) (*http.Request, error)

NewListSharedShelfEntriesRequest constructs an http.Request for the ListSharedShelfEntries method

func NewListSharedShelvesRequest

func NewListSharedShelvesRequest(server string, params *ListSharedShelvesParams) (*http.Request, error)

NewListSharedShelvesRequest constructs an http.Request for the ListSharedShelves method

func NewListSubmissionsRequest

func NewListSubmissionsRequest(server string, params *ListSubmissionsParams) (*http.Request, error)

NewListSubmissionsRequest constructs an http.Request for the ListSubmissions method

func NewListTagsRequest

func NewListTagsRequest(server string) (*http.Request, error)

NewListTagsRequest constructs an http.Request for the ListTags method

func NewListViewsRequest

func NewListViewsRequest(server string) (*http.Request, error)

NewListViewsRequest constructs an http.Request for the ListViews method

func NewPurgeUserDataRequest

func NewPurgeUserDataRequest(server string) (*http.Request, error)

NewPurgeUserDataRequest constructs an http.Request for the PurgeUserData method

func NewRenameTagRequest

func NewRenameTagRequest(server string, tagId openapi_types.UUID, body RenameTagJSONRequestBody) (*http.Request, error)

NewRenameTagRequest calls the generic RenameTag builder with application/json body

func NewRenameTagRequestWithBody

func NewRenameTagRequestWithBody(server string, tagId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)

NewRenameTagRequestWithBody constructs an http.Request for the RenameTag method, with any body, and a specified content type

func NewReorderEntryRequest

func NewReorderEntryRequest(server string, entryId openapi_types.UUID, body ReorderEntryJSONRequestBody) (*http.Request, error)

NewReorderEntryRequest calls the generic ReorderEntry builder with application/json body

func NewReorderEntryRequestWithBody

func NewReorderEntryRequestWithBody(server string, entryId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)

NewReorderEntryRequestWithBody constructs an http.Request for the ReorderEntry method, with any body, and a specified content type

func NewSubmitVerdictRequest

func NewSubmitVerdictRequest(server string, submissionId openapi_types.UUID, body SubmitVerdictJSONRequestBody) (*http.Request, error)

NewSubmitVerdictRequest calls the generic SubmitVerdict builder with application/json body

func NewSubmitVerdictRequestWithBody

func NewSubmitVerdictRequestWithBody(server string, submissionId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)

NewSubmitVerdictRequestWithBody constructs an http.Request for the SubmitVerdict method, with any body, and a specified content type

func NewUpdateEntryRequest

func NewUpdateEntryRequest(server string, entryId openapi_types.UUID, body UpdateEntryJSONRequestBody) (*http.Request, error)

NewUpdateEntryRequest calls the generic UpdateEntry builder with application/json body

func NewUpdateEntryRequestWithBody

func NewUpdateEntryRequestWithBody(server string, entryId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)

NewUpdateEntryRequestWithBody constructs an http.Request for the UpdateEntry method, with any body, and a specified content type

func NewUpdateViewRequest

func NewUpdateViewRequest(server string, viewId openapi_types.UUID, body UpdateViewJSONRequestBody) (*http.Request, error)

NewUpdateViewRequest calls the generic UpdateView builder with application/json body

func NewUpdateViewRequestWithBody

func NewUpdateViewRequestWithBody(server string, viewId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)

NewUpdateViewRequestWithBody constructs an http.Request for the UpdateView method, with any body, and a specified content type

func PathToRawSpec

func PathToRawSpec(pathToFile string) map[string]func() ([]byte, error)

Constructs a synthetic filesystem for resolving external references when loading openapi specifications.

Types

type AckEntryRegionMismatchResponse

type AckEntryRegionMismatchResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
	ApplicationproblemJSON401 *Unauthorized
	// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
	ApplicationproblemJSON404 *NotFound
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *InternalError
}

func ParseAckEntryRegionMismatchResponse

func ParseAckEntryRegionMismatchResponse(rsp *http.Response) (*AckEntryRegionMismatchResponse, error)

ParseAckEntryRegionMismatchResponse parses an HTTP response from a AckEntryRegionMismatchWithResponse call

func (AckEntryRegionMismatchResponse) ContentType

func (r AckEntryRegionMismatchResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (AckEntryRegionMismatchResponse) GetApplicationproblemJSON401

func (r AckEntryRegionMismatchResponse) GetApplicationproblemJSON401() *Unauthorized

GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response

func (AckEntryRegionMismatchResponse) GetApplicationproblemJSON404

func (r AckEntryRegionMismatchResponse) GetApplicationproblemJSON404() *NotFound

GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response

func (AckEntryRegionMismatchResponse) GetApplicationproblemJSONDefault

func (r AckEntryRegionMismatchResponse) GetApplicationproblemJSONDefault() *InternalError

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (AckEntryRegionMismatchResponse) GetBody

func (r AckEntryRegionMismatchResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (AckEntryRegionMismatchResponse) Status

Status returns HTTPResponse.Status

func (AckEntryRegionMismatchResponse) StatusCode

func (r AckEntryRegionMismatchResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type AckSubmissionResolutionResponse

type AckSubmissionResolutionResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
	ApplicationproblemJSON401 *Unauthorized
	// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
	ApplicationproblemJSON404 *NotFound
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *InternalError
}

func ParseAckSubmissionResolutionResponse

func ParseAckSubmissionResolutionResponse(rsp *http.Response) (*AckSubmissionResolutionResponse, error)

ParseAckSubmissionResolutionResponse parses an HTTP response from a AckSubmissionResolutionWithResponse call

func (AckSubmissionResolutionResponse) ContentType

func (r AckSubmissionResolutionResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (AckSubmissionResolutionResponse) GetApplicationproblemJSON401

func (r AckSubmissionResolutionResponse) GetApplicationproblemJSON401() *Unauthorized

GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response

func (AckSubmissionResolutionResponse) GetApplicationproblemJSON404

func (r AckSubmissionResolutionResponse) GetApplicationproblemJSON404() *NotFound

GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response

func (AckSubmissionResolutionResponse) GetApplicationproblemJSONDefault

func (r AckSubmissionResolutionResponse) GetApplicationproblemJSONDefault() *InternalError

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (AckSubmissionResolutionResponse) GetBody

func (r AckSubmissionResolutionResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (AckSubmissionResolutionResponse) Status

Status returns HTTPResponse.Status

func (AckSubmissionResolutionResponse) StatusCode

func (r AckSubmissionResolutionResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type AdminSubmissionsPage

type AdminSubmissionsPage = externalRef0.AdminSubmissionsPage

AdminSubmissionsPage defines model for AdminSubmissionsPage.

type BadRequest

type BadRequest = externalRef0.Problem

BadRequest defines model for BadRequest.

type BulkUpdateEntriesJSONRequestBody

type BulkUpdateEntriesJSONRequestBody = BulkUpdateRequest

BulkUpdateEntriesJSONRequestBody defines body for BulkUpdateEntries for application/json ContentType.

type BulkUpdateEntriesResponse

type BulkUpdateEntriesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *BulkUpdateResult
	// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
	ApplicationproblemJSON400 *BadRequest
	// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
	ApplicationproblemJSON401 *Unauthorized
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *InternalError
}

func ParseBulkUpdateEntriesResponse

func ParseBulkUpdateEntriesResponse(rsp *http.Response) (*BulkUpdateEntriesResponse, error)

ParseBulkUpdateEntriesResponse parses an HTTP response from a BulkUpdateEntriesWithResponse call

func (BulkUpdateEntriesResponse) ContentType

func (r BulkUpdateEntriesResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (BulkUpdateEntriesResponse) GetApplicationproblemJSON400

func (r BulkUpdateEntriesResponse) GetApplicationproblemJSON400() *BadRequest

GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response

func (BulkUpdateEntriesResponse) GetApplicationproblemJSON401

func (r BulkUpdateEntriesResponse) GetApplicationproblemJSON401() *Unauthorized

GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response

func (BulkUpdateEntriesResponse) GetApplicationproblemJSONDefault

func (r BulkUpdateEntriesResponse) GetApplicationproblemJSONDefault() *InternalError

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (BulkUpdateEntriesResponse) GetBody

func (r BulkUpdateEntriesResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (BulkUpdateEntriesResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (BulkUpdateEntriesResponse) Status

func (r BulkUpdateEntriesResponse) Status() string

Status returns HTTPResponse.Status

func (BulkUpdateEntriesResponse) StatusCode

func (r BulkUpdateEntriesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type BulkUpdateRequest

type BulkUpdateRequest = externalRef0.BulkUpdateRequest

BulkUpdateRequest Delta applied across the caller's own entries among entry_ids (foreign or unknown ids are silently not counted, same ownership-filtering posture as tag attachment). At least one of add_tag_ids / remove_tag_ids / status / storage_location must be present, else 400. storage_location's clearing rule is the OPPOSITE of the full-replacement update's: here an ABSENT storage_location leaves the field untouched, and an explicit empty string clears it.

type BulkUpdateResult

type BulkUpdateResult = externalRef0.BulkUpdateResult

BulkUpdateResult defines model for BulkUpdateResult.

type CancelSubmissionResponse

type CancelSubmissionResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
	ApplicationproblemJSON401 *Unauthorized
	// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
	ApplicationproblemJSON404 *NotFound
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *InternalError
}

func ParseCancelSubmissionResponse

func ParseCancelSubmissionResponse(rsp *http.Response) (*CancelSubmissionResponse, error)

ParseCancelSubmissionResponse parses an HTTP response from a CancelSubmissionWithResponse call

func (CancelSubmissionResponse) ContentType

func (r CancelSubmissionResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (CancelSubmissionResponse) GetApplicationproblemJSON401

func (r CancelSubmissionResponse) GetApplicationproblemJSON401() *Unauthorized

GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response

func (CancelSubmissionResponse) GetApplicationproblemJSON404

func (r CancelSubmissionResponse) GetApplicationproblemJSON404() *NotFound

GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response

func (CancelSubmissionResponse) GetApplicationproblemJSONDefault

func (r CancelSubmissionResponse) GetApplicationproblemJSONDefault() *InternalError

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (CancelSubmissionResponse) GetBody

func (r CancelSubmissionResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (CancelSubmissionResponse) Status

func (r CancelSubmissionResponse) Status() string

Status returns HTTPResponse.Status

func (CancelSubmissionResponse) StatusCode

func (r CancelSubmissionResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type Client

type Client struct {
	// The endpoint of the server conforming to this interface, with scheme,
	// https://api.deepmap.com for example. This can contain a path relative
	// to the server, such as https://api.deepmap.com/dev-test, and all the
	// paths in the swagger spec will be appended to the server.
	Server string

	// Doer for performing requests, typically a *http.Client with any
	// customized settings, such as certificate chains.
	Client HttpRequestDoer

	// A list of callbacks for modifying requests which are generated before sending over
	// the network.
	RequestEditors []RequestEditorFn
}

Client which conforms to the OpenAPI3 specification for this service.

func NewClient

func NewClient(server string, opts ...ClientOption) (*Client, error)

Creates a new Client, with reasonable defaults

func (*Client) AckEntryRegionMismatch

func (c *Client) AckEntryRegionMismatch(ctx context.Context, entryId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

AckEntryRegionMismatch Dismiss the region-mismatch banner for the entry's current choice

Stamps region_mismatch_ack_at on the caller's entry for its current (region, product) choice, so the banner does not reappear until either changes (both clear the stamp). Idempotent: 204 on every call while the choice stands.

Corresponds with POST /entries/{entryId}/region-mismatch-ack (the `AckEntryRegionMismatch` operationId).

func (*Client) AckSubmissionResolution

func (c *Client) AckSubmissionResolution(ctx context.Context, entryId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

AckSubmissionResolution Acknowledge an approved submission (dismiss the banner)

Stamps resolution_ack_at on the caller's latest approved submission for the entry, so the approval banner does not reappear on the next open. Idempotent: 204 on the first stamp and on every repeat. 404 code entry_not_found for a foreign or missing entry; submission_not_found when the entry has no approved submission.

Corresponds with POST /entries/{entryId}/submission/ack (the `AckSubmissionResolution` operationId).

func (*Client) BulkUpdateEntries

func (c *Client) BulkUpdateEntries(ctx context.Context, body BulkUpdateEntriesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

BulkUpdateEntries Apply tag/status/storage-location changes across a batch of the caller's entries (transactional)

One transaction, all-or-nothing: tag removal and tag addition both apply ownership-scoped (a foreign or unknown tag id in add_tag_ids/remove_tag_ids simply matches nothing, same posture as tag attachment elsewhere), and whichever scalar fields are present apply in the same transaction. A status change to backlog manages backlog_rank like the single-entry update: newly-entering entries append at the end (oldest-created first among the batch), entries already in backlog keep their position, and a status change away from backlog clears it. If any targeted entry would end up holding more than 50 tags, the WHOLE transaction rolls back (400 code tag_cap_exceeded) - a skipped-entry partial apply is never allowed.

Takes a body of the `application/json` content type.

Corresponds with POST /entries/bulk-update (the `BulkUpdateEntries` operationId).

func (*Client) BulkUpdateEntriesWithBody

func (c *Client) BulkUpdateEntriesWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

BulkUpdateEntriesWithBody Apply tag/status/storage-location changes across a batch of the caller's entries (transactional)

One transaction, all-or-nothing: tag removal and tag addition both apply ownership-scoped (a foreign or unknown tag id in add_tag_ids/remove_tag_ids simply matches nothing, same posture as tag attachment elsewhere), and whichever scalar fields are present apply in the same transaction. A status change to backlog manages backlog_rank like the single-entry update: newly-entering entries append at the end (oldest-created first among the batch), entries already in backlog keep their position, and a status change away from backlog clears it. If any targeted entry would end up holding more than 50 tags, the WHOLE transaction rolls back (400 code tag_cap_exceeded) - a skipped-entry partial apply is never allowed.

Takes any type of body and a specified content type.

Corresponds with POST /entries/bulk-update (the `BulkUpdateEntries` operationId).

func (*Client) CancelSubmission

func (c *Client) CancelSubmission(ctx context.Context, entryId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

CancelSubmission Cancel the entry's pending submission

Flips the pending submission to cancelled - a status change, not a delete: the row persists and still counts toward the rolling creation cap. 404 code submission_not_found when nothing is pending.

Corresponds with DELETE /entries/{entryId}/submission (the `CancelSubmission` operationId).

func (*Client) CountProductReferences

func (c *Client) CountProductReferences(ctx context.Context, productId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

CountProductReferences Count entries referencing a product, across all users (role admin)

The admin delete's safety read: a shared catalog product is deletable only when no entry would dangle, and only this service can see entries. Counts every user's entries for the product; serves only the count.

Corresponds with GET /admin/products/{productId}/references (the `CountProductReferences` operationId).

func (*Client) CreateEntry

func (c *Client) CreateEntry(ctx context.Context, body CreateEntryJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

CreateEntry Add an entry (catalog-backed, or custom for off-catalog items)

With a product_id, fetches the product from enrichment to snapshot item_type, display_name, platform, first_release_date, and igdb_game_id (games) onto the row; the client never supplies catalog facts for those. WITHOUT a product_id the entry is CUSTOM (an item the providers do not list): the client supplies display_name and item_type, optionally a free-text platform_name and first_release_date; pricing_mode defaults to disabled and auto is invalid (no own product) - pick a catalog product as the price source via pricing_mode proxy + pricing_product_id. A backlog entry receives a backlog_rank at the end of the backlog. Errors: 404 code unknown_product (product_id) or unknown_pricing_product (pricing_product_id) or tag_not_found; 502 code enrichment_unavailable when the catalog cannot be reached (product-backed creation's one hard dependency; a custom create needs enrichment only to validate a proxy reference). value_cents in the response is composed best-effort like every entry read.

Takes a body of the `application/json` content type.

Corresponds with POST /entries (the `CreateEntry` operationId).

func (*Client) CreateEntryWithBody

func (c *Client) CreateEntryWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

CreateEntryWithBody Add an entry (catalog-backed, or custom for off-catalog items)

With a product_id, fetches the product from enrichment to snapshot item_type, display_name, platform, first_release_date, and igdb_game_id (games) onto the row; the client never supplies catalog facts for those. WITHOUT a product_id the entry is CUSTOM (an item the providers do not list): the client supplies display_name and item_type, optionally a free-text platform_name and first_release_date; pricing_mode defaults to disabled and auto is invalid (no own product) - pick a catalog product as the price source via pricing_mode proxy + pricing_product_id. A backlog entry receives a backlog_rank at the end of the backlog. Errors: 404 code unknown_product (product_id) or unknown_pricing_product (pricing_product_id) or tag_not_found; 502 code enrichment_unavailable when the catalog cannot be reached (product-backed creation's one hard dependency; a custom create needs enrichment only to validate a proxy reference). value_cents in the response is composed best-effort like every entry read.

Takes any type of body and a specified content type.

Corresponds with POST /entries (the `CreateEntry` operationId).

func (*Client) CreateSubmission

func (c *Client) CreateSubmission(ctx context.Context, entryId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

CreateSubmission Submit a custom entry as a catalog candidate

Files the entry into the admin review queue. Custom entries only (400 code entry_not_custom otherwise); one pending submission per entry (409 code submission_pending). The queue holds a live reference: entry edits flow into what the admin reviews until the verdict. Abuse caps, per user: at most 10 pending (429 code too_many_pending_submissions) and at most 20 created in any rolling 24h window (429 code submission_rate_limited) - cancelled submissions still count toward the window, so cancel/recreate does not reset it.

Corresponds with POST /entries/{entryId}/submission (the `CreateSubmission` operationId).

func (*Client) CreateTag

func (c *Client) CreateTag(ctx context.Context, body CreateTagJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

CreateTag Create a tag (names are unique per user, case-insensitively)

Takes a body of the `application/json` content type.

Corresponds with POST /tags (the `CreateTag` operationId).

func (*Client) CreateTagWithBody

func (c *Client) CreateTagWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

CreateTagWithBody Create a tag (names are unique per user, case-insensitively)

Takes any type of body and a specified content type.

Corresponds with POST /tags (the `CreateTag` operationId).

func (*Client) CreateView

func (c *Client) CreateView(ctx context.Context, body CreateViewJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

CreateView Save a view (an opaque frontend params document; names unique per user)

params is the frontend's serialized view state (filters, sort, group_by, view mode). The server validates only that it is a JSON object of at most 8192 marshaled bytes; its vocabulary belongs to the frontend.

Takes a body of the `application/json` content type.

Corresponds with POST /views (the `CreateView` operationId).

func (*Client) CreateViewWithBody

func (c *Client) CreateViewWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

CreateViewWithBody Save a view (an opaque frontend params document; names unique per user)

params is the frontend's serialized view state (filters, sort, group_by, view mode). The server validates only that it is a JSON object of at most 8192 marshaled bytes; its vocabulary belongs to the frontend.

Takes any type of body and a specified content type.

Corresponds with POST /views (the `CreateView` operationId).

func (*Client) DeleteEntry

func (c *Client) DeleteEntry(ctx context.Context, entryId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

DeleteEntry Delete an entry (tag links cascade)

Corresponds with DELETE /entries/{entryId} (the `DeleteEntry` operationId).

func (*Client) DeleteTag

func (c *Client) DeleteTag(ctx context.Context, tagId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

DeleteTag Delete a tag (entry links cascade; entries survive)

Corresponds with DELETE /tags/{tagId} (the `DeleteTag` operationId).

func (*Client) DeleteView

func (c *Client) DeleteView(ctx context.Context, viewId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

DeleteView Delete a saved view

Corresponds with DELETE /views/{viewId} (the `DeleteView` operationId).

func (*Client) GetDashboard

func (c *Client) GetDashboard(ctx context.Context, params *GetDashboardParams, reqEditors ...RequestEditorFn) (*http.Response, error)

GetDashboard Collection dashboard (SQL aggregates + one batched enrichment price call)

Counts and spend come from SQL; total value composes each entry's effective pricing product (auto uses the entry's own product, proxy the override, disabled is excluded) with the packaging-appropriate price field. The entries-list filter dimensions narrow every aggregate exactly as they narrow the list (AND across dimensions, OR within one, tag_id requiring ALL listed tags). Only the unfiltered dashboard is cached (about five minutes, invalidated by the caller's own entry mutations); filtered requests are computed live. When enrichment is unreachable the dashboard still answers with pricing.available=false (and the degraded result is not cached).

Corresponds with GET /dashboard (the `GetDashboard` operationId).

func (*Client) GetEntry

func (c *Client) GetEntry(ctx context.Context, entryId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

GetEntry Fetch one entry with its composed current value

Corresponds with GET /entries/{entryId} (the `GetEntry` operationId).

func (*Client) GetLibrarySummary

func (c *Client) GetLibrarySummary(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

GetLibrarySummary Deduplicated game-library summary (recommendation scoring input)

Games with an igdb_game_id snapshot, deduplicated across copies: highest rating wins and status reports dropped only when every copy is dropped. Shaped exactly like the enrichment scoring contract's library array so a caller pipes it through without reshaping.

Corresponds with GET /library/summary (the `GetLibrarySummary` operationId).

func (*Client) GetSharedShelf

func (c *Client) GetSharedShelf(ctx context.Context, shelfId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

GetSharedShelf Shelf meta by id (non-private; any authenticated caller)

Corresponds with GET /shared/shelves/{shelfId} (the `GetSharedShelf` operationId).

func (*Client) GetSharedShelfBySlug

func (c *Client) GetSharedShelfBySlug(ctx context.Context, params *GetSharedShelfBySlugParams, reqEditors ...RequestEditorFn) (*http.Response, error)

GetSharedShelfBySlug Resolve (owner, slug) to a shelf; folds case and underscores

Corresponds with GET /shared/shelves/by-slug (the `GetSharedShelfBySlug` operationId).

func (*Client) GetSharedShelvesByIds

func (c *Client) GetSharedShelvesByIds(ctx context.Context, params *GetSharedShelvesByIdsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

GetSharedShelvesByIds Batch shelf summaries for hydration (non-private only)

Corresponds with GET /shared/shelves/by-ids (the `GetSharedShelvesByIds` operationId).

func (*Client) GetSubmission

func (c *Client) GetSubmission(ctx context.Context, entryId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

GetSubmission The entry's latest submission, any status

The entry page's read: pending shows the wait, rejected shows the reason, cancelled reads as none for resubmit purposes. 404 code entry_not_found for a foreign or missing entry; submission_not_found when the entry never had one.

Corresponds with GET /entries/{entryId}/submission (the `GetSubmission` operationId).

func (*Client) GetValueHistory

func (c *Client) GetValueHistory(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

GetValueHistory Collection value over time (composed from enrichment price snapshots)

One point per day over the last ninety days - each day in the union of snapshot days across the caller's effective pricing products. An entry contributes its packaging-appropriate price from its effective product's latest snapshot on or before the day; entries whose product has no snapshot yet contribute nothing that day. The series values the CURRENT collection at historical prices; it does not reconstruct past collection composition. Cached and invalidated exactly like the dashboard. When enrichment is unreachable the endpoint answers available=false with no points, and that answer is not cached.

Corresponds with GET /dashboard/value-history (the `GetValueHistory` operationId).

func (*Client) InternalNormalizePlatforms

func (c *Client) InternalNormalizePlatforms(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

InternalNormalizePlatforms Canonicalize free-text custom-entry platforms

Maintenance operation; the gateway never routes it. Matches every entry carrying a platform_name but no platform_igdb_id (case-insensitive, trimmed, exact-or-alias - never fuzzy) against the enrichment platform catalog and stamps the canonical igdb id and name. Guard: admin role or service token (the nightly job runs it; the mass write stays reviewable through its counts and logs). Idempotent and re-runnable; stamped rows leave the selection set.

Corresponds with POST /internal/normalize-platforms (the `InternalNormalizePlatforms` operationId).

func (*Client) InternalNormalizeRegions

func (c *Client) InternalNormalizeRegions(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

InternalNormalizeRegions Promote free-text entry regions into the known set

Maintenance operation; the gateway never routes it. Folds every entry region outside the known set (lowercase, trim) against the known values and the reviewed synonyms table - exact or synonym, never fuzzy. Promoted igdb-backed entries re-pick their release-date and localized display snapshots for the promoted region in the same write; enrichment outage skips the row for the next run. Guard: admin role or service token (the nightly job runs it ahead of the entry rematch, so a promoted region's pricing class corrects the same night). Idempotent and re-runnable; promoted rows leave the selection set.

Corresponds with POST /internal/normalize-regions (the `InternalNormalizeRegions` operationId).

func (*Client) InternalRematchEntries

func (c *Client) InternalRematchEntries(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

InternalRematchEntries Entry rematch - repoint auto entries onto region-correct listings

Maintenance operation; the gateway never routes it. Re-resolves auto-priced, auto-provenance game-backed entries grouped by (game, platform, region): unmatched or region-incompatible members are re-resolved with the entry region and the entries repointed to the returned member, snapshot fields re-derived. Guard: admin user or service token. Answers 202 and detaches (a day-one backfill outlives the HTTP write timeout at the provider's polite request rate); the counts land in the completion log and the rematch.* metrics, not the response. Idempotent and re-runnable; each repoint is logged (entry, from, to, region).

Corresponds with POST /internal/rematch-entries (the `InternalRematchEntries` operationId).

func (*Client) InternalResnapshot

func (c *Client) InternalResnapshot(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

InternalResnapshot Resnapshot - recompute every game-backed entry's product-derived snapshot fields

Maintenance operation; the gateway never routes it. Recomputes the region-picked release date, the localized presentation trio (name, transliteration, cover url), and the credit arrays (developers, publishers) for every game-backed entry from its product's current data. Guard: admin user or service token (tightened from any valid JWT). Idempotent and re-runnable; a row is written only when a recomputed field differs from what is stored.

Corresponds with POST /internal/resnapshot (the `InternalResnapshot` operationId).

func (*Client) ListEntries

func (c *Client) ListEntries(ctx context.Context, params *ListEntriesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

ListEntries List the caller's entries (filter x sort x group matrix)

Filters combine AND across dimensions and OR within one, except tag_id which requires ALL listed tags. pinned entries always sort first (within each group when grouped), except under sort=backlog_rank, the drag-order read, which is pure rank order. Nullable sort dimensions place nulls last in both directions; ties break on created_at (newest first) then id. sort=value composes current prices from enrichment before ordering; sort=backlog_rank is meaningful with status=backlog. group_by partitions the sorted list: groups order by label ascending with the catch-all group (Unknown/Unassigned/ Untagged) last, and group_by=tag repeats a multi-tagged entry in each of its tag groups. Responses are paginated: limit (default 200, max 500) and offset slice the sorted flat sequence and total_count reports the full filtered count; when grouped, the groups partition the requested page, so a group may continue on the next page. pricing_available=false flags that enrichment could not be reached and every value_cents is null.

Corresponds with GET /entries (the `ListEntries` operationId).

func (*Client) ListSharedShelfEntries

func (c *Client) ListSharedShelfEntries(ctx context.Context, shelfId openapi_types.UUID, params *ListSharedShelfEntriesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

ListSharedShelfEntries Execute a shelf's stored params and return the whitelisted projection

Filters, sort, and grouping come from the stored params verbatim; the caller controls pagination only. Money and personal fields never appear (SharedEntry is a strict whitelist); a stored sort of "value" degrades to the stable base order because value composition never runs here.

Corresponds with GET /shared/shelves/{shelfId}/entries (the `ListSharedShelfEntries` operationId).

func (*Client) ListSharedShelves

func (c *Client) ListSharedShelves(ctx context.Context, params *ListSharedShelvesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

ListSharedShelves Listed shelf summaries, newest publish first (any authenticated caller)

owner_ids absent or empty pages every listed shelf across every owner (Explore-recent's read); present, it scopes the page to just those owners (the profile page's read), same guard and pagination semantics either way.

Corresponds with GET /shared/shelves (the `ListSharedShelves` operationId).

func (*Client) ListSubmissions

func (c *Client) ListSubmissions(ctx context.Context, params *ListSubmissionsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

ListSubmissions The pending catalog-submission queue, across all users (role admin)

Pending only, oldest first (created_at with id as the tiebreak). Each row carries the submission plus the LIVE proposal joined from the entry - user edits flow through until the verdict. Submitters appear as opaque user ids. limit defaults to 200 (max 500); total_count reports the full pending count.

Corresponds with GET /admin/submissions (the `ListSubmissions` operationId).

func (*Client) ListTags

func (c *Client) ListTags(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

ListTags List the caller's tags with usage counts

Corresponds with GET /tags (the `ListTags` operationId).

func (*Client) ListViews

func (c *Client) ListViews(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

ListViews List the caller's saved views

Corresponds with GET /views (the `ListViews` operationId).

func (*Client) PurgeUserData

func (c *Client) PurgeUserData(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

PurgeUserData Delete every collection row belonging to the caller (entries, tags, saved views); idempotent

Corresponds with DELETE /user-data (the `PurgeUserData` operationId).

func (*Client) RenameTag

func (c *Client) RenameTag(ctx context.Context, tagId openapi_types.UUID, body RenameTagJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

RenameTag Rename a tag

Takes a body of the `application/json` content type.

Corresponds with PUT /tags/{tagId} (the `RenameTag` operationId).

func (*Client) RenameTagWithBody

func (c *Client) RenameTagWithBody(ctx context.Context, tagId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

RenameTagWithBody Rename a tag

Takes any type of body and a specified content type.

Corresponds with PUT /tags/{tagId} (the `RenameTag` operationId).

func (*Client) ReorderEntry

func (c *Client) ReorderEntry(ctx context.Context, entryId openapi_types.UUID, body ReorderEntryJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

ReorderEntry Move a backlog entry between two neighbors (single-row fractional-index write)

after_id is the entry that precedes the drop slot, before_id the one that follows; null marks a list edge (both null is invalid). The neighbors' ranks must straddle or the reorder answers 409 code conflicting_order (a stale drag against a list that moved); the entry and both neighbors must be the caller's backlog entries or it answers 409 code not_in_backlog. Ranks are server-generated; clients never send one.

Takes a body of the `application/json` content type.

Corresponds with POST /entries/{entryId}/reorder (the `ReorderEntry` operationId).

func (*Client) ReorderEntryWithBody

func (c *Client) ReorderEntryWithBody(ctx context.Context, entryId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

ReorderEntryWithBody Move a backlog entry between two neighbors (single-row fractional-index write)

after_id is the entry that precedes the drop slot, before_id the one that follows; null marks a list edge (both null is invalid). The neighbors' ranks must straddle or the reorder answers 409 code conflicting_order (a stale drag against a list that moved); the entry and both neighbors must be the caller's backlog entries or it answers 409 code not_in_backlog. Ranks are server-generated; clients never send one.

Takes any type of body and a specified content type.

Corresponds with POST /entries/{entryId}/reorder (the `ReorderEntry` operationId).

func (*Client) SubmitVerdict

func (c *Client) SubmitVerdict(ctx context.Context, submissionId openapi_types.UUID, body SubmitVerdictJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

SubmitVerdict Resolve one pending submission (role admin)

action reject requires reason (the submitter sees it). action approve_existing requires product_id: the target is validated against enrichment and the submitter's entry adopts it (the product-backed creation snapshot, community facts filling what provider blocks do not supply), preserving every user-owned field. action approve_new requires product (the curated fields; the single edition field follows the entry idiom): enrichment mints a community product with the admin's own bearer, the minted id is recorded on the still-pending row, then adoption runs - a retry after a mid-way failure sees the recorded id and never mints twice. A row that is no longer pending answers 409 code submission_resolved. Errors: 404 code submission_not_found, unknown_product, or entry_not_found (the entry vanishes mid-race; cascade delete also removes the submission); 502 code enrichment_unavailable (retryable; the row stays pending).

Takes a body of the `application/json` content type.

Corresponds with POST /admin/submissions/{submissionId}/verdict (the `SubmitVerdict` operationId).

func (*Client) SubmitVerdictWithBody

func (c *Client) SubmitVerdictWithBody(ctx context.Context, submissionId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

SubmitVerdictWithBody Resolve one pending submission (role admin)

action reject requires reason (the submitter sees it). action approve_existing requires product_id: the target is validated against enrichment and the submitter's entry adopts it (the product-backed creation snapshot, community facts filling what provider blocks do not supply), preserving every user-owned field. action approve_new requires product (the curated fields; the single edition field follows the entry idiom): enrichment mints a community product with the admin's own bearer, the minted id is recorded on the still-pending row, then adoption runs - a retry after a mid-way failure sees the recorded id and never mints twice. A row that is no longer pending answers 409 code submission_resolved. Errors: 404 code submission_not_found, unknown_product, or entry_not_found (the entry vanishes mid-race; cascade delete also removes the submission); 502 code enrichment_unavailable (retryable; the row stays pending).

Takes any type of body and a specified content type.

Corresponds with POST /admin/submissions/{submissionId}/verdict (the `SubmitVerdict` operationId).

func (*Client) UpdateEntry

func (c *Client) UpdateEntry(ctx context.Context, entryId openapi_types.UUID, body UpdateEntryJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

UpdateEntry Replace an entry's mutable state (the edit form submits everything)

Full replacement of the mutable fields; an absent optional field is cleared. media_type and the entry's custom-ness are immutable. product_id accepts one narrow change - re-matching an auto-priced entry off an unmatched game product onto a product of the same game and platform (see EntryUpdate); anything else answers 400 code invalid_product_change. On CUSTOM entries the user-owned display fields are part of the mutable state: display_name is required and platform_name/first_release_date replace like any optional field; on product-backed entries those fields are rejected (400) - the catalog snapshot is immutable. Status transitions manage backlog_rank: entering backlog appends at the end, leaving clears, staying keeps the position. A changed pricing_product_id is validated against enrichment; auto stays invalid for custom entries. Pin toggles ride this operation.

Takes a body of the `application/json` content type.

Corresponds with PUT /entries/{entryId} (the `UpdateEntry` operationId).

func (*Client) UpdateEntryWithBody

func (c *Client) UpdateEntryWithBody(ctx context.Context, entryId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

UpdateEntryWithBody Replace an entry's mutable state (the edit form submits everything)

Full replacement of the mutable fields; an absent optional field is cleared. media_type and the entry's custom-ness are immutable. product_id accepts one narrow change - re-matching an auto-priced entry off an unmatched game product onto a product of the same game and platform (see EntryUpdate); anything else answers 400 code invalid_product_change. On CUSTOM entries the user-owned display fields are part of the mutable state: display_name is required and platform_name/first_release_date replace like any optional field; on product-backed entries those fields are rejected (400) - the catalog snapshot is immutable. Status transitions manage backlog_rank: entering backlog appends at the end, leaving clears, staying keeps the position. A changed pricing_product_id is validated against enrichment; auto stays invalid for custom entries. Pin toggles ride this operation.

Takes any type of body and a specified content type.

Corresponds with PUT /entries/{entryId} (the `UpdateEntry` operationId).

func (*Client) UpdateView

func (c *Client) UpdateView(ctx context.Context, viewId openapi_types.UUID, body UpdateViewJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

UpdateView Replace a saved view's name, params, and visibility

Full replacement: name, params, and visibility are all overwritten from the body. An absent visibility resets to private (ViewCreate's default), not left unchanged - this is how a listed shelf is unpublished.

Takes a body of the `application/json` content type.

Corresponds with PUT /views/{viewId} (the `UpdateView` operationId).

func (*Client) UpdateViewWithBody

func (c *Client) UpdateViewWithBody(ctx context.Context, viewId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

UpdateViewWithBody Replace a saved view's name, params, and visibility

Full replacement: name, params, and visibility are all overwritten from the body. An absent visibility resets to private (ViewCreate's default), not left unchanged - this is how a listed shelf is unpublished.

Takes any type of body and a specified content type.

Corresponds with PUT /views/{viewId} (the `UpdateView` operationId).

type ClientInterface

type ClientInterface interface {

	// CountProductReferences Count entries referencing a product, across all users (role admin)
	//
	// The admin delete's safety read: a shared catalog product is deletable only when no entry would dangle, and only this service can see entries. Counts every user's entries for the product; serves only the count.
	//
	// Corresponds with GET /admin/products/{productId}/references (the `CountProductReferences` operationId).
	CountProductReferences(ctx context.Context, productId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListSubmissions The pending catalog-submission queue, across all users (role admin)
	//
	// Pending only, oldest first (created_at with id as the tiebreak). Each row carries the submission plus the LIVE proposal joined from the entry - user edits flow through until the verdict. Submitters appear as opaque user ids. limit defaults to 200 (max 500); total_count reports the full pending count.
	//
	// Corresponds with GET /admin/submissions (the `ListSubmissions` operationId).
	ListSubmissions(ctx context.Context, params *ListSubmissionsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SubmitVerdictWithBody Resolve one pending submission (role admin)
	//
	// action reject requires reason (the submitter sees it). action approve_existing requires product_id: the target is validated against enrichment and the submitter's entry adopts it (the product-backed creation snapshot, community facts filling what provider blocks do not supply), preserving every user-owned field. action approve_new requires product (the curated fields; the single edition field follows the entry idiom): enrichment mints a community product with the admin's own bearer, the minted id is recorded on the still-pending row, then adoption runs - a retry after a mid-way failure sees the recorded id and never mints twice. A row that is no longer pending answers 409 code submission_resolved. Errors: 404 code submission_not_found, unknown_product, or entry_not_found (the entry vanishes mid-race; cascade delete also removes the submission); 502 code enrichment_unavailable (retryable; the row stays pending).
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /admin/submissions/{submissionId}/verdict (the `SubmitVerdict` operationId).
	SubmitVerdictWithBody(ctx context.Context, submissionId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SubmitVerdict Resolve one pending submission (role admin)
	//
	// action reject requires reason (the submitter sees it). action approve_existing requires product_id: the target is validated against enrichment and the submitter's entry adopts it (the product-backed creation snapshot, community facts filling what provider blocks do not supply), preserving every user-owned field. action approve_new requires product (the curated fields; the single edition field follows the entry idiom): enrichment mints a community product with the admin's own bearer, the minted id is recorded on the still-pending row, then adoption runs - a retry after a mid-way failure sees the recorded id and never mints twice. A row that is no longer pending answers 409 code submission_resolved. Errors: 404 code submission_not_found, unknown_product, or entry_not_found (the entry vanishes mid-race; cascade delete also removes the submission); 502 code enrichment_unavailable (retryable; the row stays pending).
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /admin/submissions/{submissionId}/verdict (the `SubmitVerdict` operationId).
	SubmitVerdict(ctx context.Context, submissionId openapi_types.UUID, body SubmitVerdictJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetDashboard Collection dashboard (SQL aggregates + one batched enrichment price call)
	//
	// Counts and spend come from SQL; total value composes each entry's effective pricing product (auto uses the entry's own product, proxy the override, disabled is excluded) with the packaging-appropriate price field. The entries-list filter dimensions narrow every aggregate exactly as they narrow the list (AND across dimensions, OR within one, tag_id requiring ALL listed tags). Only the unfiltered dashboard is cached (about five minutes, invalidated by the caller's own entry mutations); filtered requests are computed live. When enrichment is unreachable the dashboard still answers with pricing.available=false (and the degraded result is not cached).
	//
	// Corresponds with GET /dashboard (the `GetDashboard` operationId).
	GetDashboard(ctx context.Context, params *GetDashboardParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetValueHistory Collection value over time (composed from enrichment price snapshots)
	//
	// One point per day over the last ninety days - each day in the union of snapshot days across the caller's effective pricing products. An entry contributes its packaging-appropriate price from its effective product's latest snapshot on or before the day; entries whose product has no snapshot yet contribute nothing that day. The series values the CURRENT collection at historical prices; it does not reconstruct past collection composition. Cached and invalidated exactly like the dashboard. When enrichment is unreachable the endpoint answers available=false with no points, and that answer is not cached.
	//
	// Corresponds with GET /dashboard/value-history (the `GetValueHistory` operationId).
	GetValueHistory(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListEntries List the caller's entries (filter x sort x group matrix)
	//
	// Filters combine AND across dimensions and OR within one, except tag_id which requires ALL listed tags. pinned entries always sort first (within each group when grouped), except under sort=backlog_rank, the drag-order read, which is pure rank order. Nullable sort dimensions place nulls last in both directions; ties break on created_at (newest first) then id. sort=value composes current prices from enrichment before ordering; sort=backlog_rank is meaningful with status=backlog. group_by partitions the sorted list: groups order by label ascending with the catch-all group (Unknown/Unassigned/ Untagged) last, and group_by=tag repeats a multi-tagged entry in each of its tag groups. Responses are paginated: limit (default 200, max 500) and offset slice the sorted flat sequence and total_count reports the full filtered count; when grouped, the groups partition the requested page, so a group may continue on the next page. pricing_available=false flags that enrichment could not be reached and every value_cents is null.
	//
	// Corresponds with GET /entries (the `ListEntries` operationId).
	ListEntries(ctx context.Context, params *ListEntriesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateEntryWithBody Add an entry (catalog-backed, or custom for off-catalog items)
	//
	// With a product_id, fetches the product from enrichment to snapshot item_type, display_name, platform, first_release_date, and igdb_game_id (games) onto the row; the client never supplies catalog facts for those. WITHOUT a product_id the entry is CUSTOM (an item the providers do not list): the client supplies display_name and item_type, optionally a free-text platform_name and first_release_date; pricing_mode defaults to disabled and auto is invalid (no own product) - pick a catalog product as the price source via pricing_mode proxy + pricing_product_id. A backlog entry receives a backlog_rank at the end of the backlog. Errors: 404 code unknown_product (product_id) or unknown_pricing_product (pricing_product_id) or tag_not_found; 502 code enrichment_unavailable when the catalog cannot be reached (product-backed creation's one hard dependency; a custom create needs enrichment only to validate a proxy reference). value_cents in the response is composed best-effort like every entry read.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /entries (the `CreateEntry` operationId).
	CreateEntryWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateEntry Add an entry (catalog-backed, or custom for off-catalog items)
	//
	// With a product_id, fetches the product from enrichment to snapshot item_type, display_name, platform, first_release_date, and igdb_game_id (games) onto the row; the client never supplies catalog facts for those. WITHOUT a product_id the entry is CUSTOM (an item the providers do not list): the client supplies display_name and item_type, optionally a free-text platform_name and first_release_date; pricing_mode defaults to disabled and auto is invalid (no own product) - pick a catalog product as the price source via pricing_mode proxy + pricing_product_id. A backlog entry receives a backlog_rank at the end of the backlog. Errors: 404 code unknown_product (product_id) or unknown_pricing_product (pricing_product_id) or tag_not_found; 502 code enrichment_unavailable when the catalog cannot be reached (product-backed creation's one hard dependency; a custom create needs enrichment only to validate a proxy reference). value_cents in the response is composed best-effort like every entry read.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /entries (the `CreateEntry` operationId).
	CreateEntry(ctx context.Context, body CreateEntryJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// BulkUpdateEntriesWithBody Apply tag/status/storage-location changes across a batch of the caller's entries (transactional)
	//
	// One transaction, all-or-nothing: tag removal and tag addition both apply ownership-scoped (a foreign or unknown tag id in add_tag_ids/remove_tag_ids simply matches nothing, same posture as tag attachment elsewhere), and whichever scalar fields are present apply in the same transaction. A status change to backlog manages backlog_rank like the single-entry update: newly-entering entries append at the end (oldest-created first among the batch), entries already in backlog keep their position, and a status change away from backlog clears it. If any targeted entry would end up holding more than 50 tags, the WHOLE transaction rolls back (400 code tag_cap_exceeded) - a skipped-entry partial apply is never allowed.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /entries/bulk-update (the `BulkUpdateEntries` operationId).
	BulkUpdateEntriesWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// BulkUpdateEntries Apply tag/status/storage-location changes across a batch of the caller's entries (transactional)
	//
	// One transaction, all-or-nothing: tag removal and tag addition both apply ownership-scoped (a foreign or unknown tag id in add_tag_ids/remove_tag_ids simply matches nothing, same posture as tag attachment elsewhere), and whichever scalar fields are present apply in the same transaction. A status change to backlog manages backlog_rank like the single-entry update: newly-entering entries append at the end (oldest-created first among the batch), entries already in backlog keep their position, and a status change away from backlog clears it. If any targeted entry would end up holding more than 50 tags, the WHOLE transaction rolls back (400 code tag_cap_exceeded) - a skipped-entry partial apply is never allowed.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /entries/bulk-update (the `BulkUpdateEntries` operationId).
	BulkUpdateEntries(ctx context.Context, body BulkUpdateEntriesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteEntry Delete an entry (tag links cascade)
	//
	// Corresponds with DELETE /entries/{entryId} (the `DeleteEntry` operationId).
	DeleteEntry(ctx context.Context, entryId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetEntry Fetch one entry with its composed current value
	//
	// Corresponds with GET /entries/{entryId} (the `GetEntry` operationId).
	GetEntry(ctx context.Context, entryId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateEntryWithBody Replace an entry's mutable state (the edit form submits everything)
	//
	// Full replacement of the mutable fields; an absent optional field is cleared. media_type and the entry's custom-ness are immutable. product_id accepts one narrow change - re-matching an auto-priced entry off an unmatched game product onto a product of the same game and platform (see EntryUpdate); anything else answers 400 code invalid_product_change. On CUSTOM entries the user-owned display fields are part of the mutable state: display_name is required and platform_name/first_release_date replace like any optional field; on product-backed entries those fields are rejected (400) - the catalog snapshot is immutable. Status transitions manage backlog_rank: entering backlog appends at the end, leaving clears, staying keeps the position. A changed pricing_product_id is validated against enrichment; auto stays invalid for custom entries. Pin toggles ride this operation.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PUT /entries/{entryId} (the `UpdateEntry` operationId).
	UpdateEntryWithBody(ctx context.Context, entryId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateEntry Replace an entry's mutable state (the edit form submits everything)
	//
	// Full replacement of the mutable fields; an absent optional field is cleared. media_type and the entry's custom-ness are immutable. product_id accepts one narrow change - re-matching an auto-priced entry off an unmatched game product onto a product of the same game and platform (see EntryUpdate); anything else answers 400 code invalid_product_change. On CUSTOM entries the user-owned display fields are part of the mutable state: display_name is required and platform_name/first_release_date replace like any optional field; on product-backed entries those fields are rejected (400) - the catalog snapshot is immutable. Status transitions manage backlog_rank: entering backlog appends at the end, leaving clears, staying keeps the position. A changed pricing_product_id is validated against enrichment; auto stays invalid for custom entries. Pin toggles ride this operation.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PUT /entries/{entryId} (the `UpdateEntry` operationId).
	UpdateEntry(ctx context.Context, entryId openapi_types.UUID, body UpdateEntryJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AckEntryRegionMismatch Dismiss the region-mismatch banner for the entry's current choice
	//
	// Stamps region_mismatch_ack_at on the caller's entry for its current (region, product) choice, so the banner does not reappear until either changes (both clear the stamp). Idempotent: 204 on every call while the choice stands.
	//
	// Corresponds with POST /entries/{entryId}/region-mismatch-ack (the `AckEntryRegionMismatch` operationId).
	AckEntryRegionMismatch(ctx context.Context, entryId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ReorderEntryWithBody Move a backlog entry between two neighbors (single-row fractional-index write)
	//
	// after_id is the entry that precedes the drop slot, before_id the one that follows; null marks a list edge (both null is invalid). The neighbors' ranks must straddle or the reorder answers 409 code conflicting_order (a stale drag against a list that moved); the entry and both neighbors must be the caller's backlog entries or it answers 409 code not_in_backlog. Ranks are server-generated; clients never send one.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /entries/{entryId}/reorder (the `ReorderEntry` operationId).
	ReorderEntryWithBody(ctx context.Context, entryId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ReorderEntry Move a backlog entry between two neighbors (single-row fractional-index write)
	//
	// after_id is the entry that precedes the drop slot, before_id the one that follows; null marks a list edge (both null is invalid). The neighbors' ranks must straddle or the reorder answers 409 code conflicting_order (a stale drag against a list that moved); the entry and both neighbors must be the caller's backlog entries or it answers 409 code not_in_backlog. Ranks are server-generated; clients never send one.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /entries/{entryId}/reorder (the `ReorderEntry` operationId).
	ReorderEntry(ctx context.Context, entryId openapi_types.UUID, body ReorderEntryJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CancelSubmission Cancel the entry's pending submission
	//
	// Flips the pending submission to cancelled - a status change, not a delete: the row persists and still counts toward the rolling creation cap. 404 code submission_not_found when nothing is pending.
	//
	// Corresponds with DELETE /entries/{entryId}/submission (the `CancelSubmission` operationId).
	CancelSubmission(ctx context.Context, entryId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetSubmission The entry's latest submission, any status
	//
	// The entry page's read: pending shows the wait, rejected shows the reason, cancelled reads as none for resubmit purposes. 404 code entry_not_found for a foreign or missing entry; submission_not_found when the entry never had one.
	//
	// Corresponds with GET /entries/{entryId}/submission (the `GetSubmission` operationId).
	GetSubmission(ctx context.Context, entryId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateSubmission Submit a custom entry as a catalog candidate
	//
	// Files the entry into the admin review queue. Custom entries only (400 code entry_not_custom otherwise); one pending submission per entry (409 code submission_pending). The queue holds a live reference: entry edits flow into what the admin reviews until the verdict. Abuse caps, per user: at most 10 pending (429 code too_many_pending_submissions) and at most 20 created in any rolling 24h window (429 code submission_rate_limited) - cancelled submissions still count toward the window, so cancel/recreate does not reset it.
	//
	// Corresponds with POST /entries/{entryId}/submission (the `CreateSubmission` operationId).
	CreateSubmission(ctx context.Context, entryId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AckSubmissionResolution Acknowledge an approved submission (dismiss the banner)
	//
	// Stamps resolution_ack_at on the caller's latest approved submission for the entry, so the approval banner does not reappear on the next open. Idempotent: 204 on the first stamp and on every repeat. 404 code entry_not_found for a foreign or missing entry; submission_not_found when the entry has no approved submission.
	//
	// Corresponds with POST /entries/{entryId}/submission/ack (the `AckSubmissionResolution` operationId).
	AckSubmissionResolution(ctx context.Context, entryId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// InternalNormalizePlatforms Canonicalize free-text custom-entry platforms
	//
	// Maintenance operation; the gateway never routes it. Matches every entry carrying a platform_name but no platform_igdb_id (case-insensitive, trimmed, exact-or-alias - never fuzzy) against the enrichment platform catalog and stamps the canonical igdb id and name. Guard: admin role or service token (the nightly job runs it; the mass write stays reviewable through its counts and logs). Idempotent and re-runnable; stamped rows leave the selection set.
	//
	// Corresponds with POST /internal/normalize-platforms (the `InternalNormalizePlatforms` operationId).
	InternalNormalizePlatforms(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// InternalNormalizeRegions Promote free-text entry regions into the known set
	//
	// Maintenance operation; the gateway never routes it. Folds every entry region outside the known set (lowercase, trim) against the known values and the reviewed synonyms table - exact or synonym, never fuzzy. Promoted igdb-backed entries re-pick their release-date and localized display snapshots for the promoted region in the same write; enrichment outage skips the row for the next run. Guard: admin role or service token (the nightly job runs it ahead of the entry rematch, so a promoted region's pricing class corrects the same night). Idempotent and re-runnable; promoted rows leave the selection set.
	//
	// Corresponds with POST /internal/normalize-regions (the `InternalNormalizeRegions` operationId).
	InternalNormalizeRegions(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// InternalRematchEntries Entry rematch - repoint auto entries onto region-correct listings
	//
	// Maintenance operation; the gateway never routes it. Re-resolves auto-priced, auto-provenance game-backed entries grouped by (game, platform, region): unmatched or region-incompatible members are re-resolved with the entry region and the entries repointed to the returned member, snapshot fields re-derived. Guard: admin user or service token. Answers 202 and detaches (a day-one backfill outlives the HTTP write timeout at the provider's polite request rate); the counts land in the completion log and the rematch.* metrics, not the response. Idempotent and re-runnable; each repoint is logged (entry, from, to, region).
	//
	// Corresponds with POST /internal/rematch-entries (the `InternalRematchEntries` operationId).
	InternalRematchEntries(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// InternalResnapshot Resnapshot - recompute every game-backed entry's product-derived snapshot fields
	//
	// Maintenance operation; the gateway never routes it. Recomputes the region-picked release date, the localized presentation trio (name, transliteration, cover url), and the credit arrays (developers, publishers) for every game-backed entry from its product's current data. Guard: admin user or service token (tightened from any valid JWT). Idempotent and re-runnable; a row is written only when a recomputed field differs from what is stored.
	//
	// Corresponds with POST /internal/resnapshot (the `InternalResnapshot` operationId).
	InternalResnapshot(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetLibrarySummary Deduplicated game-library summary (recommendation scoring input)
	//
	// Games with an igdb_game_id snapshot, deduplicated across copies: highest rating wins and status reports dropped only when every copy is dropped. Shaped exactly like the enrichment scoring contract's library array so a caller pipes it through without reshaping.
	//
	// Corresponds with GET /library/summary (the `GetLibrarySummary` operationId).
	GetLibrarySummary(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListSharedShelves Listed shelf summaries, newest publish first (any authenticated caller)
	//
	// owner_ids absent or empty pages every listed shelf across every owner (Explore-recent's read); present, it scopes the page to just those owners (the profile page's read), same guard and pagination semantics either way.
	//
	// Corresponds with GET /shared/shelves (the `ListSharedShelves` operationId).
	ListSharedShelves(ctx context.Context, params *ListSharedShelvesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetSharedShelvesByIds Batch shelf summaries for hydration (non-private only)
	//
	// Corresponds with GET /shared/shelves/by-ids (the `GetSharedShelvesByIds` operationId).
	GetSharedShelvesByIds(ctx context.Context, params *GetSharedShelvesByIdsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetSharedShelfBySlug Resolve (owner, slug) to a shelf; folds case and underscores
	//
	// Corresponds with GET /shared/shelves/by-slug (the `GetSharedShelfBySlug` operationId).
	GetSharedShelfBySlug(ctx context.Context, params *GetSharedShelfBySlugParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetSharedShelf Shelf meta by id (non-private; any authenticated caller)
	//
	// Corresponds with GET /shared/shelves/{shelfId} (the `GetSharedShelf` operationId).
	GetSharedShelf(ctx context.Context, shelfId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListSharedShelfEntries Execute a shelf's stored params and return the whitelisted projection
	//
	// Filters, sort, and grouping come from the stored params verbatim; the caller controls pagination only. Money and personal fields never appear (SharedEntry is a strict whitelist); a stored sort of "value" degrades to the stable base order because value composition never runs here.
	//
	// Corresponds with GET /shared/shelves/{shelfId}/entries (the `ListSharedShelfEntries` operationId).
	ListSharedShelfEntries(ctx context.Context, shelfId openapi_types.UUID, params *ListSharedShelfEntriesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListTags List the caller's tags with usage counts
	//
	// Corresponds with GET /tags (the `ListTags` operationId).
	ListTags(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateTagWithBody Create a tag (names are unique per user, case-insensitively)
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /tags (the `CreateTag` operationId).
	CreateTagWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateTag Create a tag (names are unique per user, case-insensitively)
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /tags (the `CreateTag` operationId).
	CreateTag(ctx context.Context, body CreateTagJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteTag Delete a tag (entry links cascade; entries survive)
	//
	// Corresponds with DELETE /tags/{tagId} (the `DeleteTag` operationId).
	DeleteTag(ctx context.Context, tagId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RenameTagWithBody Rename a tag
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PUT /tags/{tagId} (the `RenameTag` operationId).
	RenameTagWithBody(ctx context.Context, tagId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RenameTag Rename a tag
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PUT /tags/{tagId} (the `RenameTag` operationId).
	RenameTag(ctx context.Context, tagId openapi_types.UUID, body RenameTagJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PurgeUserData Delete every collection row belonging to the caller (entries, tags, saved views); idempotent
	//
	// Corresponds with DELETE /user-data (the `PurgeUserData` operationId).
	PurgeUserData(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListViews List the caller's saved views
	//
	// Corresponds with GET /views (the `ListViews` operationId).
	ListViews(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateViewWithBody Save a view (an opaque frontend params document; names unique per user)
	//
	// params is the frontend's serialized view state (filters, sort, group_by, view mode). The server validates only that it is a JSON object of at most 8192 marshaled bytes; its vocabulary belongs to the frontend.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /views (the `CreateView` operationId).
	CreateViewWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateView Save a view (an opaque frontend params document; names unique per user)
	//
	// params is the frontend's serialized view state (filters, sort, group_by, view mode). The server validates only that it is a JSON object of at most 8192 marshaled bytes; its vocabulary belongs to the frontend.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /views (the `CreateView` operationId).
	CreateView(ctx context.Context, body CreateViewJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteView Delete a saved view
	//
	// Corresponds with DELETE /views/{viewId} (the `DeleteView` operationId).
	DeleteView(ctx context.Context, viewId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateViewWithBody Replace a saved view's name, params, and visibility
	//
	// Full replacement: name, params, and visibility are all overwritten from the body. An absent visibility resets to private (ViewCreate's default), not left unchanged - this is how a listed shelf is unpublished.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PUT /views/{viewId} (the `UpdateView` operationId).
	UpdateViewWithBody(ctx context.Context, viewId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateView Replace a saved view's name, params, and visibility
	//
	// Full replacement: name, params, and visibility are all overwritten from the body. An absent visibility resets to private (ViewCreate's default), not left unchanged - this is how a listed shelf is unpublished.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PUT /views/{viewId} (the `UpdateView` operationId).
	UpdateView(ctx context.Context, viewId openapi_types.UUID, body UpdateViewJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
}

The interface specification for the client above.

type ClientOption

type ClientOption func(*Client) error

ClientOption allows setting custom parameters during construction

func WithBaseURL

func WithBaseURL(baseURL string) ClientOption

WithBaseURL overrides the baseURL.

func WithHTTPClient

func WithHTTPClient(doer HttpRequestDoer) ClientOption

WithHTTPClient allows overriding the default Doer, which is automatically created using http.Client. This is useful for tests.

func WithRequestEditorFn

func WithRequestEditorFn(fn RequestEditorFn) ClientOption

WithRequestEditorFn allows setting up a callback function, which will be called right before sending the request. This can be used to mutate the request.

type ClientWithResponses

type ClientWithResponses struct {
	ClientInterface
}

ClientWithResponses builds on ClientInterface to offer response payloads

func NewClientWithResponses

func NewClientWithResponses(server string, opts ...ClientOption) (*ClientWithResponses, error)

NewClientWithResponses creates a new ClientWithResponses, which wraps Client with return type handling

func (*ClientWithResponses) AckEntryRegionMismatchWithResponse

func (c *ClientWithResponses) AckEntryRegionMismatchWithResponse(ctx context.Context, entryId openapi_types.UUID, reqEditors ...RequestEditorFn) (*AckEntryRegionMismatchResponse, error)

AckEntryRegionMismatchWithResponse Dismiss the region-mismatch banner for the entry's current choice

Stamps region_mismatch_ack_at on the caller's entry for its current (region, product) choice, so the banner does not reappear until either changes (both clear the stamp). Idempotent: 204 on every call while the choice stands.

Returns a wrapper object for the known response body format(s).

Corresponds with POST /entries/{entryId}/region-mismatch-ack (the `AckEntryRegionMismatch` operationId).

func (*ClientWithResponses) AckSubmissionResolutionWithResponse

func (c *ClientWithResponses) AckSubmissionResolutionWithResponse(ctx context.Context, entryId openapi_types.UUID, reqEditors ...RequestEditorFn) (*AckSubmissionResolutionResponse, error)

AckSubmissionResolutionWithResponse Acknowledge an approved submission (dismiss the banner)

Stamps resolution_ack_at on the caller's latest approved submission for the entry, so the approval banner does not reappear on the next open. Idempotent: 204 on the first stamp and on every repeat. 404 code entry_not_found for a foreign or missing entry; submission_not_found when the entry has no approved submission.

Returns a wrapper object for the known response body format(s).

Corresponds with POST /entries/{entryId}/submission/ack (the `AckSubmissionResolution` operationId).

func (*ClientWithResponses) BulkUpdateEntriesWithBodyWithResponse

func (c *ClientWithResponses) BulkUpdateEntriesWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*BulkUpdateEntriesResponse, error)

BulkUpdateEntriesWithBodyWithResponse Apply tag/status/storage-location changes across a batch of the caller's entries (transactional)

One transaction, all-or-nothing: tag removal and tag addition both apply ownership-scoped (a foreign or unknown tag id in add_tag_ids/remove_tag_ids simply matches nothing, same posture as tag attachment elsewhere), and whichever scalar fields are present apply in the same transaction. A status change to backlog manages backlog_rank like the single-entry update: newly-entering entries append at the end (oldest-created first among the batch), entries already in backlog keep their position, and a status change away from backlog clears it. If any targeted entry would end up holding more than 50 tags, the WHOLE transaction rolls back (400 code tag_cap_exceeded) - a skipped-entry partial apply is never allowed.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /entries/bulk-update (the `BulkUpdateEntries` operationId).

func (*ClientWithResponses) BulkUpdateEntriesWithResponse

func (c *ClientWithResponses) BulkUpdateEntriesWithResponse(ctx context.Context, body BulkUpdateEntriesJSONRequestBody, reqEditors ...RequestEditorFn) (*BulkUpdateEntriesResponse, error)

BulkUpdateEntriesWithResponse Apply tag/status/storage-location changes across a batch of the caller's entries (transactional)

One transaction, all-or-nothing: tag removal and tag addition both apply ownership-scoped (a foreign or unknown tag id in add_tag_ids/remove_tag_ids simply matches nothing, same posture as tag attachment elsewhere), and whichever scalar fields are present apply in the same transaction. A status change to backlog manages backlog_rank like the single-entry update: newly-entering entries append at the end (oldest-created first among the batch), entries already in backlog keep their position, and a status change away from backlog clears it. If any targeted entry would end up holding more than 50 tags, the WHOLE transaction rolls back (400 code tag_cap_exceeded) - a skipped-entry partial apply is never allowed.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /entries/bulk-update (the `BulkUpdateEntries` operationId).

func (*ClientWithResponses) CancelSubmissionWithResponse

func (c *ClientWithResponses) CancelSubmissionWithResponse(ctx context.Context, entryId openapi_types.UUID, reqEditors ...RequestEditorFn) (*CancelSubmissionResponse, error)

CancelSubmissionWithResponse Cancel the entry's pending submission

Flips the pending submission to cancelled - a status change, not a delete: the row persists and still counts toward the rolling creation cap. 404 code submission_not_found when nothing is pending.

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /entries/{entryId}/submission (the `CancelSubmission` operationId).

func (*ClientWithResponses) CountProductReferencesWithResponse

func (c *ClientWithResponses) CountProductReferencesWithResponse(ctx context.Context, productId openapi_types.UUID, reqEditors ...RequestEditorFn) (*CountProductReferencesResponse, error)

CountProductReferencesWithResponse Count entries referencing a product, across all users (role admin)

The admin delete's safety read: a shared catalog product is deletable only when no entry would dangle, and only this service can see entries. Counts every user's entries for the product; serves only the count.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /admin/products/{productId}/references (the `CountProductReferences` operationId).

func (*ClientWithResponses) CreateEntryWithBodyWithResponse

func (c *ClientWithResponses) CreateEntryWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateEntryResponse, error)

CreateEntryWithBodyWithResponse Add an entry (catalog-backed, or custom for off-catalog items)

With a product_id, fetches the product from enrichment to snapshot item_type, display_name, platform, first_release_date, and igdb_game_id (games) onto the row; the client never supplies catalog facts for those. WITHOUT a product_id the entry is CUSTOM (an item the providers do not list): the client supplies display_name and item_type, optionally a free-text platform_name and first_release_date; pricing_mode defaults to disabled and auto is invalid (no own product) - pick a catalog product as the price source via pricing_mode proxy + pricing_product_id. A backlog entry receives a backlog_rank at the end of the backlog. Errors: 404 code unknown_product (product_id) or unknown_pricing_product (pricing_product_id) or tag_not_found; 502 code enrichment_unavailable when the catalog cannot be reached (product-backed creation's one hard dependency; a custom create needs enrichment only to validate a proxy reference). value_cents in the response is composed best-effort like every entry read.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /entries (the `CreateEntry` operationId).

func (*ClientWithResponses) CreateEntryWithResponse

func (c *ClientWithResponses) CreateEntryWithResponse(ctx context.Context, body CreateEntryJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateEntryResponse, error)

CreateEntryWithResponse Add an entry (catalog-backed, or custom for off-catalog items)

With a product_id, fetches the product from enrichment to snapshot item_type, display_name, platform, first_release_date, and igdb_game_id (games) onto the row; the client never supplies catalog facts for those. WITHOUT a product_id the entry is CUSTOM (an item the providers do not list): the client supplies display_name and item_type, optionally a free-text platform_name and first_release_date; pricing_mode defaults to disabled and auto is invalid (no own product) - pick a catalog product as the price source via pricing_mode proxy + pricing_product_id. A backlog entry receives a backlog_rank at the end of the backlog. Errors: 404 code unknown_product (product_id) or unknown_pricing_product (pricing_product_id) or tag_not_found; 502 code enrichment_unavailable when the catalog cannot be reached (product-backed creation's one hard dependency; a custom create needs enrichment only to validate a proxy reference). value_cents in the response is composed best-effort like every entry read.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /entries (the `CreateEntry` operationId).

func (*ClientWithResponses) CreateSubmissionWithResponse

func (c *ClientWithResponses) CreateSubmissionWithResponse(ctx context.Context, entryId openapi_types.UUID, reqEditors ...RequestEditorFn) (*CreateSubmissionResponse, error)

CreateSubmissionWithResponse Submit a custom entry as a catalog candidate

Files the entry into the admin review queue. Custom entries only (400 code entry_not_custom otherwise); one pending submission per entry (409 code submission_pending). The queue holds a live reference: entry edits flow into what the admin reviews until the verdict. Abuse caps, per user: at most 10 pending (429 code too_many_pending_submissions) and at most 20 created in any rolling 24h window (429 code submission_rate_limited) - cancelled submissions still count toward the window, so cancel/recreate does not reset it.

Returns a wrapper object for the known response body format(s).

Corresponds with POST /entries/{entryId}/submission (the `CreateSubmission` operationId).

func (*ClientWithResponses) CreateTagWithBodyWithResponse

func (c *ClientWithResponses) CreateTagWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateTagResponse, error)

CreateTagWithBodyWithResponse Create a tag (names are unique per user, case-insensitively)

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /tags (the `CreateTag` operationId).

func (*ClientWithResponses) CreateTagWithResponse

func (c *ClientWithResponses) CreateTagWithResponse(ctx context.Context, body CreateTagJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateTagResponse, error)

CreateTagWithResponse Create a tag (names are unique per user, case-insensitively)

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /tags (the `CreateTag` operationId).

func (*ClientWithResponses) CreateViewWithBodyWithResponse

func (c *ClientWithResponses) CreateViewWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateViewResponse, error)

CreateViewWithBodyWithResponse Save a view (an opaque frontend params document; names unique per user)

params is the frontend's serialized view state (filters, sort, group_by, view mode). The server validates only that it is a JSON object of at most 8192 marshaled bytes; its vocabulary belongs to the frontend.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /views (the `CreateView` operationId).

func (*ClientWithResponses) CreateViewWithResponse

func (c *ClientWithResponses) CreateViewWithResponse(ctx context.Context, body CreateViewJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateViewResponse, error)

CreateViewWithResponse Save a view (an opaque frontend params document; names unique per user)

params is the frontend's serialized view state (filters, sort, group_by, view mode). The server validates only that it is a JSON object of at most 8192 marshaled bytes; its vocabulary belongs to the frontend.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /views (the `CreateView` operationId).

func (*ClientWithResponses) DeleteEntryWithResponse

func (c *ClientWithResponses) DeleteEntryWithResponse(ctx context.Context, entryId openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteEntryResponse, error)

DeleteEntryWithResponse Delete an entry (tag links cascade)

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /entries/{entryId} (the `DeleteEntry` operationId).

func (*ClientWithResponses) DeleteTagWithResponse

func (c *ClientWithResponses) DeleteTagWithResponse(ctx context.Context, tagId openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteTagResponse, error)

DeleteTagWithResponse Delete a tag (entry links cascade; entries survive)

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /tags/{tagId} (the `DeleteTag` operationId).

func (*ClientWithResponses) DeleteViewWithResponse

func (c *ClientWithResponses) DeleteViewWithResponse(ctx context.Context, viewId openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteViewResponse, error)

DeleteViewWithResponse Delete a saved view

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /views/{viewId} (the `DeleteView` operationId).

func (*ClientWithResponses) GetDashboardWithResponse

func (c *ClientWithResponses) GetDashboardWithResponse(ctx context.Context, params *GetDashboardParams, reqEditors ...RequestEditorFn) (*GetDashboardResponse, error)

GetDashboardWithResponse Collection dashboard (SQL aggregates + one batched enrichment price call)

Counts and spend come from SQL; total value composes each entry's effective pricing product (auto uses the entry's own product, proxy the override, disabled is excluded) with the packaging-appropriate price field. The entries-list filter dimensions narrow every aggregate exactly as they narrow the list (AND across dimensions, OR within one, tag_id requiring ALL listed tags). Only the unfiltered dashboard is cached (about five minutes, invalidated by the caller's own entry mutations); filtered requests are computed live. When enrichment is unreachable the dashboard still answers with pricing.available=false (and the degraded result is not cached).

Returns a wrapper object for the known response body format(s).

Corresponds with GET /dashboard (the `GetDashboard` operationId).

func (*ClientWithResponses) GetEntryWithResponse

func (c *ClientWithResponses) GetEntryWithResponse(ctx context.Context, entryId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetEntryResponse, error)

GetEntryWithResponse Fetch one entry with its composed current value

Returns a wrapper object for the known response body format(s).

Corresponds with GET /entries/{entryId} (the `GetEntry` operationId).

func (*ClientWithResponses) GetLibrarySummaryWithResponse

func (c *ClientWithResponses) GetLibrarySummaryWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetLibrarySummaryResponse, error)

GetLibrarySummaryWithResponse Deduplicated game-library summary (recommendation scoring input)

Games with an igdb_game_id snapshot, deduplicated across copies: highest rating wins and status reports dropped only when every copy is dropped. Shaped exactly like the enrichment scoring contract's library array so a caller pipes it through without reshaping.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /library/summary (the `GetLibrarySummary` operationId).

func (*ClientWithResponses) GetSharedShelfBySlugWithResponse

func (c *ClientWithResponses) GetSharedShelfBySlugWithResponse(ctx context.Context, params *GetSharedShelfBySlugParams, reqEditors ...RequestEditorFn) (*GetSharedShelfBySlugResponse, error)

GetSharedShelfBySlugWithResponse Resolve (owner, slug) to a shelf; folds case and underscores

Returns a wrapper object for the known response body format(s).

Corresponds with GET /shared/shelves/by-slug (the `GetSharedShelfBySlug` operationId).

func (*ClientWithResponses) GetSharedShelfWithResponse

func (c *ClientWithResponses) GetSharedShelfWithResponse(ctx context.Context, shelfId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetSharedShelfResponse, error)

GetSharedShelfWithResponse Shelf meta by id (non-private; any authenticated caller)

Returns a wrapper object for the known response body format(s).

Corresponds with GET /shared/shelves/{shelfId} (the `GetSharedShelf` operationId).

func (*ClientWithResponses) GetSharedShelvesByIdsWithResponse

func (c *ClientWithResponses) GetSharedShelvesByIdsWithResponse(ctx context.Context, params *GetSharedShelvesByIdsParams, reqEditors ...RequestEditorFn) (*GetSharedShelvesByIdsResponse, error)

GetSharedShelvesByIdsWithResponse Batch shelf summaries for hydration (non-private only)

Returns a wrapper object for the known response body format(s).

Corresponds with GET /shared/shelves/by-ids (the `GetSharedShelvesByIds` operationId).

func (*ClientWithResponses) GetSubmissionWithResponse

func (c *ClientWithResponses) GetSubmissionWithResponse(ctx context.Context, entryId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetSubmissionResponse, error)

GetSubmissionWithResponse The entry's latest submission, any status

The entry page's read: pending shows the wait, rejected shows the reason, cancelled reads as none for resubmit purposes. 404 code entry_not_found for a foreign or missing entry; submission_not_found when the entry never had one.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /entries/{entryId}/submission (the `GetSubmission` operationId).

func (*ClientWithResponses) GetValueHistoryWithResponse

func (c *ClientWithResponses) GetValueHistoryWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetValueHistoryResponse, error)

GetValueHistoryWithResponse Collection value over time (composed from enrichment price snapshots)

One point per day over the last ninety days - each day in the union of snapshot days across the caller's effective pricing products. An entry contributes its packaging-appropriate price from its effective product's latest snapshot on or before the day; entries whose product has no snapshot yet contribute nothing that day. The series values the CURRENT collection at historical prices; it does not reconstruct past collection composition. Cached and invalidated exactly like the dashboard. When enrichment is unreachable the endpoint answers available=false with no points, and that answer is not cached.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /dashboard/value-history (the `GetValueHistory` operationId).

func (*ClientWithResponses) InternalNormalizePlatformsWithResponse

func (c *ClientWithResponses) InternalNormalizePlatformsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*InternalNormalizePlatformsResponse, error)

InternalNormalizePlatformsWithResponse Canonicalize free-text custom-entry platforms

Maintenance operation; the gateway never routes it. Matches every entry carrying a platform_name but no platform_igdb_id (case-insensitive, trimmed, exact-or-alias - never fuzzy) against the enrichment platform catalog and stamps the canonical igdb id and name. Guard: admin role or service token (the nightly job runs it; the mass write stays reviewable through its counts and logs). Idempotent and re-runnable; stamped rows leave the selection set.

Returns a wrapper object for the known response body format(s).

Corresponds with POST /internal/normalize-platforms (the `InternalNormalizePlatforms` operationId).

func (*ClientWithResponses) InternalNormalizeRegionsWithResponse

func (c *ClientWithResponses) InternalNormalizeRegionsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*InternalNormalizeRegionsResponse, error)

InternalNormalizeRegionsWithResponse Promote free-text entry regions into the known set

Maintenance operation; the gateway never routes it. Folds every entry region outside the known set (lowercase, trim) against the known values and the reviewed synonyms table - exact or synonym, never fuzzy. Promoted igdb-backed entries re-pick their release-date and localized display snapshots for the promoted region in the same write; enrichment outage skips the row for the next run. Guard: admin role or service token (the nightly job runs it ahead of the entry rematch, so a promoted region's pricing class corrects the same night). Idempotent and re-runnable; promoted rows leave the selection set.

Returns a wrapper object for the known response body format(s).

Corresponds with POST /internal/normalize-regions (the `InternalNormalizeRegions` operationId).

func (*ClientWithResponses) InternalRematchEntriesWithResponse

func (c *ClientWithResponses) InternalRematchEntriesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*InternalRematchEntriesResponse, error)

InternalRematchEntriesWithResponse Entry rematch - repoint auto entries onto region-correct listings

Maintenance operation; the gateway never routes it. Re-resolves auto-priced, auto-provenance game-backed entries grouped by (game, platform, region): unmatched or region-incompatible members are re-resolved with the entry region and the entries repointed to the returned member, snapshot fields re-derived. Guard: admin user or service token. Answers 202 and detaches (a day-one backfill outlives the HTTP write timeout at the provider's polite request rate); the counts land in the completion log and the rematch.* metrics, not the response. Idempotent and re-runnable; each repoint is logged (entry, from, to, region).

Returns a wrapper object for the known response body format(s).

Corresponds with POST /internal/rematch-entries (the `InternalRematchEntries` operationId).

func (*ClientWithResponses) InternalResnapshotWithResponse

func (c *ClientWithResponses) InternalResnapshotWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*InternalResnapshotResponse, error)

InternalResnapshotWithResponse Resnapshot - recompute every game-backed entry's product-derived snapshot fields

Maintenance operation; the gateway never routes it. Recomputes the region-picked release date, the localized presentation trio (name, transliteration, cover url), and the credit arrays (developers, publishers) for every game-backed entry from its product's current data. Guard: admin user or service token (tightened from any valid JWT). Idempotent and re-runnable; a row is written only when a recomputed field differs from what is stored.

Returns a wrapper object for the known response body format(s).

Corresponds with POST /internal/resnapshot (the `InternalResnapshot` operationId).

func (*ClientWithResponses) ListEntriesWithResponse

func (c *ClientWithResponses) ListEntriesWithResponse(ctx context.Context, params *ListEntriesParams, reqEditors ...RequestEditorFn) (*ListEntriesResponse, error)

ListEntriesWithResponse List the caller's entries (filter x sort x group matrix)

Filters combine AND across dimensions and OR within one, except tag_id which requires ALL listed tags. pinned entries always sort first (within each group when grouped), except under sort=backlog_rank, the drag-order read, which is pure rank order. Nullable sort dimensions place nulls last in both directions; ties break on created_at (newest first) then id. sort=value composes current prices from enrichment before ordering; sort=backlog_rank is meaningful with status=backlog. group_by partitions the sorted list: groups order by label ascending with the catch-all group (Unknown/Unassigned/ Untagged) last, and group_by=tag repeats a multi-tagged entry in each of its tag groups. Responses are paginated: limit (default 200, max 500) and offset slice the sorted flat sequence and total_count reports the full filtered count; when grouped, the groups partition the requested page, so a group may continue on the next page. pricing_available=false flags that enrichment could not be reached and every value_cents is null.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /entries (the `ListEntries` operationId).

func (*ClientWithResponses) ListSharedShelfEntriesWithResponse

func (c *ClientWithResponses) ListSharedShelfEntriesWithResponse(ctx context.Context, shelfId openapi_types.UUID, params *ListSharedShelfEntriesParams, reqEditors ...RequestEditorFn) (*ListSharedShelfEntriesResponse, error)

ListSharedShelfEntriesWithResponse Execute a shelf's stored params and return the whitelisted projection

Filters, sort, and grouping come from the stored params verbatim; the caller controls pagination only. Money and personal fields never appear (SharedEntry is a strict whitelist); a stored sort of "value" degrades to the stable base order because value composition never runs here.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /shared/shelves/{shelfId}/entries (the `ListSharedShelfEntries` operationId).

func (*ClientWithResponses) ListSharedShelvesWithResponse

func (c *ClientWithResponses) ListSharedShelvesWithResponse(ctx context.Context, params *ListSharedShelvesParams, reqEditors ...RequestEditorFn) (*ListSharedShelvesResponse, error)

ListSharedShelvesWithResponse Listed shelf summaries, newest publish first (any authenticated caller)

owner_ids absent or empty pages every listed shelf across every owner (Explore-recent's read); present, it scopes the page to just those owners (the profile page's read), same guard and pagination semantics either way.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /shared/shelves (the `ListSharedShelves` operationId).

func (*ClientWithResponses) ListSubmissionsWithResponse

func (c *ClientWithResponses) ListSubmissionsWithResponse(ctx context.Context, params *ListSubmissionsParams, reqEditors ...RequestEditorFn) (*ListSubmissionsResponse, error)

ListSubmissionsWithResponse The pending catalog-submission queue, across all users (role admin)

Pending only, oldest first (created_at with id as the tiebreak). Each row carries the submission plus the LIVE proposal joined from the entry - user edits flow through until the verdict. Submitters appear as opaque user ids. limit defaults to 200 (max 500); total_count reports the full pending count.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /admin/submissions (the `ListSubmissions` operationId).

func (*ClientWithResponses) ListTagsWithResponse

func (c *ClientWithResponses) ListTagsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListTagsResponse, error)

ListTagsWithResponse List the caller's tags with usage counts

Returns a wrapper object for the known response body format(s).

Corresponds with GET /tags (the `ListTags` operationId).

func (*ClientWithResponses) ListViewsWithResponse

func (c *ClientWithResponses) ListViewsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListViewsResponse, error)

ListViewsWithResponse List the caller's saved views

Returns a wrapper object for the known response body format(s).

Corresponds with GET /views (the `ListViews` operationId).

func (*ClientWithResponses) PurgeUserDataWithResponse

func (c *ClientWithResponses) PurgeUserDataWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PurgeUserDataResponse, error)

PurgeUserDataWithResponse Delete every collection row belonging to the caller (entries, tags, saved views); idempotent

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /user-data (the `PurgeUserData` operationId).

func (*ClientWithResponses) RenameTagWithBodyWithResponse

func (c *ClientWithResponses) RenameTagWithBodyWithResponse(ctx context.Context, tagId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RenameTagResponse, error)

RenameTagWithBodyWithResponse Rename a tag

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /tags/{tagId} (the `RenameTag` operationId).

func (*ClientWithResponses) RenameTagWithResponse

func (c *ClientWithResponses) RenameTagWithResponse(ctx context.Context, tagId openapi_types.UUID, body RenameTagJSONRequestBody, reqEditors ...RequestEditorFn) (*RenameTagResponse, error)

RenameTagWithResponse Rename a tag

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /tags/{tagId} (the `RenameTag` operationId).

func (*ClientWithResponses) ReorderEntryWithBodyWithResponse

func (c *ClientWithResponses) ReorderEntryWithBodyWithResponse(ctx context.Context, entryId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ReorderEntryResponse, error)

ReorderEntryWithBodyWithResponse Move a backlog entry between two neighbors (single-row fractional-index write)

after_id is the entry that precedes the drop slot, before_id the one that follows; null marks a list edge (both null is invalid). The neighbors' ranks must straddle or the reorder answers 409 code conflicting_order (a stale drag against a list that moved); the entry and both neighbors must be the caller's backlog entries or it answers 409 code not_in_backlog. Ranks are server-generated; clients never send one.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /entries/{entryId}/reorder (the `ReorderEntry` operationId).

func (*ClientWithResponses) ReorderEntryWithResponse

func (c *ClientWithResponses) ReorderEntryWithResponse(ctx context.Context, entryId openapi_types.UUID, body ReorderEntryJSONRequestBody, reqEditors ...RequestEditorFn) (*ReorderEntryResponse, error)

ReorderEntryWithResponse Move a backlog entry between two neighbors (single-row fractional-index write)

after_id is the entry that precedes the drop slot, before_id the one that follows; null marks a list edge (both null is invalid). The neighbors' ranks must straddle or the reorder answers 409 code conflicting_order (a stale drag against a list that moved); the entry and both neighbors must be the caller's backlog entries or it answers 409 code not_in_backlog. Ranks are server-generated; clients never send one.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /entries/{entryId}/reorder (the `ReorderEntry` operationId).

func (*ClientWithResponses) SubmitVerdictWithBodyWithResponse

func (c *ClientWithResponses) SubmitVerdictWithBodyWithResponse(ctx context.Context, submissionId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SubmitVerdictResponse, error)

SubmitVerdictWithBodyWithResponse Resolve one pending submission (role admin)

action reject requires reason (the submitter sees it). action approve_existing requires product_id: the target is validated against enrichment and the submitter's entry adopts it (the product-backed creation snapshot, community facts filling what provider blocks do not supply), preserving every user-owned field. action approve_new requires product (the curated fields; the single edition field follows the entry idiom): enrichment mints a community product with the admin's own bearer, the minted id is recorded on the still-pending row, then adoption runs - a retry after a mid-way failure sees the recorded id and never mints twice. A row that is no longer pending answers 409 code submission_resolved. Errors: 404 code submission_not_found, unknown_product, or entry_not_found (the entry vanishes mid-race; cascade delete also removes the submission); 502 code enrichment_unavailable (retryable; the row stays pending).

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /admin/submissions/{submissionId}/verdict (the `SubmitVerdict` operationId).

func (*ClientWithResponses) SubmitVerdictWithResponse

func (c *ClientWithResponses) SubmitVerdictWithResponse(ctx context.Context, submissionId openapi_types.UUID, body SubmitVerdictJSONRequestBody, reqEditors ...RequestEditorFn) (*SubmitVerdictResponse, error)

SubmitVerdictWithResponse Resolve one pending submission (role admin)

action reject requires reason (the submitter sees it). action approve_existing requires product_id: the target is validated against enrichment and the submitter's entry adopts it (the product-backed creation snapshot, community facts filling what provider blocks do not supply), preserving every user-owned field. action approve_new requires product (the curated fields; the single edition field follows the entry idiom): enrichment mints a community product with the admin's own bearer, the minted id is recorded on the still-pending row, then adoption runs - a retry after a mid-way failure sees the recorded id and never mints twice. A row that is no longer pending answers 409 code submission_resolved. Errors: 404 code submission_not_found, unknown_product, or entry_not_found (the entry vanishes mid-race; cascade delete also removes the submission); 502 code enrichment_unavailable (retryable; the row stays pending).

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /admin/submissions/{submissionId}/verdict (the `SubmitVerdict` operationId).

func (*ClientWithResponses) UpdateEntryWithBodyWithResponse

func (c *ClientWithResponses) UpdateEntryWithBodyWithResponse(ctx context.Context, entryId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateEntryResponse, error)

UpdateEntryWithBodyWithResponse Replace an entry's mutable state (the edit form submits everything)

Full replacement of the mutable fields; an absent optional field is cleared. media_type and the entry's custom-ness are immutable. product_id accepts one narrow change - re-matching an auto-priced entry off an unmatched game product onto a product of the same game and platform (see EntryUpdate); anything else answers 400 code invalid_product_change. On CUSTOM entries the user-owned display fields are part of the mutable state: display_name is required and platform_name/first_release_date replace like any optional field; on product-backed entries those fields are rejected (400) - the catalog snapshot is immutable. Status transitions manage backlog_rank: entering backlog appends at the end, leaving clears, staying keeps the position. A changed pricing_product_id is validated against enrichment; auto stays invalid for custom entries. Pin toggles ride this operation.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /entries/{entryId} (the `UpdateEntry` operationId).

func (*ClientWithResponses) UpdateEntryWithResponse

func (c *ClientWithResponses) UpdateEntryWithResponse(ctx context.Context, entryId openapi_types.UUID, body UpdateEntryJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateEntryResponse, error)

UpdateEntryWithResponse Replace an entry's mutable state (the edit form submits everything)

Full replacement of the mutable fields; an absent optional field is cleared. media_type and the entry's custom-ness are immutable. product_id accepts one narrow change - re-matching an auto-priced entry off an unmatched game product onto a product of the same game and platform (see EntryUpdate); anything else answers 400 code invalid_product_change. On CUSTOM entries the user-owned display fields are part of the mutable state: display_name is required and platform_name/first_release_date replace like any optional field; on product-backed entries those fields are rejected (400) - the catalog snapshot is immutable. Status transitions manage backlog_rank: entering backlog appends at the end, leaving clears, staying keeps the position. A changed pricing_product_id is validated against enrichment; auto stays invalid for custom entries. Pin toggles ride this operation.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /entries/{entryId} (the `UpdateEntry` operationId).

func (*ClientWithResponses) UpdateViewWithBodyWithResponse

func (c *ClientWithResponses) UpdateViewWithBodyWithResponse(ctx context.Context, viewId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateViewResponse, error)

UpdateViewWithBodyWithResponse Replace a saved view's name, params, and visibility

Full replacement: name, params, and visibility are all overwritten from the body. An absent visibility resets to private (ViewCreate's default), not left unchanged - this is how a listed shelf is unpublished.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /views/{viewId} (the `UpdateView` operationId).

func (*ClientWithResponses) UpdateViewWithResponse

func (c *ClientWithResponses) UpdateViewWithResponse(ctx context.Context, viewId openapi_types.UUID, body UpdateViewJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateViewResponse, error)

UpdateViewWithResponse Replace a saved view's name, params, and visibility

Full replacement: name, params, and visibility are all overwritten from the body. An absent visibility resets to private (ViewCreate's default), not left unchanged - this is how a listed shelf is unpublished.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /views/{viewId} (the `UpdateView` operationId).

type ClientWithResponsesInterface

type ClientWithResponsesInterface interface {

	// CountProductReferencesWithResponse Count entries referencing a product, across all users (role admin)
	//
	// The admin delete's safety read: a shared catalog product is deletable only when no entry would dangle, and only this service can see entries. Counts every user's entries for the product; serves only the count.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /admin/products/{productId}/references (the `CountProductReferences` operationId).
	CountProductReferencesWithResponse(ctx context.Context, productId openapi_types.UUID, reqEditors ...RequestEditorFn) (*CountProductReferencesResponse, error)

	// ListSubmissionsWithResponse The pending catalog-submission queue, across all users (role admin)
	//
	// Pending only, oldest first (created_at with id as the tiebreak). Each row carries the submission plus the LIVE proposal joined from the entry - user edits flow through until the verdict. Submitters appear as opaque user ids. limit defaults to 200 (max 500); total_count reports the full pending count.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /admin/submissions (the `ListSubmissions` operationId).
	ListSubmissionsWithResponse(ctx context.Context, params *ListSubmissionsParams, reqEditors ...RequestEditorFn) (*ListSubmissionsResponse, error)

	// SubmitVerdictWithBodyWithResponse Resolve one pending submission (role admin)
	//
	// action reject requires reason (the submitter sees it). action approve_existing requires product_id: the target is validated against enrichment and the submitter's entry adopts it (the product-backed creation snapshot, community facts filling what provider blocks do not supply), preserving every user-owned field. action approve_new requires product (the curated fields; the single edition field follows the entry idiom): enrichment mints a community product with the admin's own bearer, the minted id is recorded on the still-pending row, then adoption runs - a retry after a mid-way failure sees the recorded id and never mints twice. A row that is no longer pending answers 409 code submission_resolved. Errors: 404 code submission_not_found, unknown_product, or entry_not_found (the entry vanishes mid-race; cascade delete also removes the submission); 502 code enrichment_unavailable (retryable; the row stays pending).
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /admin/submissions/{submissionId}/verdict (the `SubmitVerdict` operationId).
	SubmitVerdictWithBodyWithResponse(ctx context.Context, submissionId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SubmitVerdictResponse, error)

	// SubmitVerdictWithResponse Resolve one pending submission (role admin)
	//
	// action reject requires reason (the submitter sees it). action approve_existing requires product_id: the target is validated against enrichment and the submitter's entry adopts it (the product-backed creation snapshot, community facts filling what provider blocks do not supply), preserving every user-owned field. action approve_new requires product (the curated fields; the single edition field follows the entry idiom): enrichment mints a community product with the admin's own bearer, the minted id is recorded on the still-pending row, then adoption runs - a retry after a mid-way failure sees the recorded id and never mints twice. A row that is no longer pending answers 409 code submission_resolved. Errors: 404 code submission_not_found, unknown_product, or entry_not_found (the entry vanishes mid-race; cascade delete also removes the submission); 502 code enrichment_unavailable (retryable; the row stays pending).
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /admin/submissions/{submissionId}/verdict (the `SubmitVerdict` operationId).
	SubmitVerdictWithResponse(ctx context.Context, submissionId openapi_types.UUID, body SubmitVerdictJSONRequestBody, reqEditors ...RequestEditorFn) (*SubmitVerdictResponse, error)

	// GetDashboardWithResponse Collection dashboard (SQL aggregates + one batched enrichment price call)
	//
	// Counts and spend come from SQL; total value composes each entry's effective pricing product (auto uses the entry's own product, proxy the override, disabled is excluded) with the packaging-appropriate price field. The entries-list filter dimensions narrow every aggregate exactly as they narrow the list (AND across dimensions, OR within one, tag_id requiring ALL listed tags). Only the unfiltered dashboard is cached (about five minutes, invalidated by the caller's own entry mutations); filtered requests are computed live. When enrichment is unreachable the dashboard still answers with pricing.available=false (and the degraded result is not cached).
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /dashboard (the `GetDashboard` operationId).
	GetDashboardWithResponse(ctx context.Context, params *GetDashboardParams, reqEditors ...RequestEditorFn) (*GetDashboardResponse, error)

	// GetValueHistoryWithResponse Collection value over time (composed from enrichment price snapshots)
	//
	// One point per day over the last ninety days - each day in the union of snapshot days across the caller's effective pricing products. An entry contributes its packaging-appropriate price from its effective product's latest snapshot on or before the day; entries whose product has no snapshot yet contribute nothing that day. The series values the CURRENT collection at historical prices; it does not reconstruct past collection composition. Cached and invalidated exactly like the dashboard. When enrichment is unreachable the endpoint answers available=false with no points, and that answer is not cached.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /dashboard/value-history (the `GetValueHistory` operationId).
	GetValueHistoryWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetValueHistoryResponse, error)

	// ListEntriesWithResponse List the caller's entries (filter x sort x group matrix)
	//
	// Filters combine AND across dimensions and OR within one, except tag_id which requires ALL listed tags. pinned entries always sort first (within each group when grouped), except under sort=backlog_rank, the drag-order read, which is pure rank order. Nullable sort dimensions place nulls last in both directions; ties break on created_at (newest first) then id. sort=value composes current prices from enrichment before ordering; sort=backlog_rank is meaningful with status=backlog. group_by partitions the sorted list: groups order by label ascending with the catch-all group (Unknown/Unassigned/ Untagged) last, and group_by=tag repeats a multi-tagged entry in each of its tag groups. Responses are paginated: limit (default 200, max 500) and offset slice the sorted flat sequence and total_count reports the full filtered count; when grouped, the groups partition the requested page, so a group may continue on the next page. pricing_available=false flags that enrichment could not be reached and every value_cents is null.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /entries (the `ListEntries` operationId).
	ListEntriesWithResponse(ctx context.Context, params *ListEntriesParams, reqEditors ...RequestEditorFn) (*ListEntriesResponse, error)

	// CreateEntryWithBodyWithResponse Add an entry (catalog-backed, or custom for off-catalog items)
	//
	// With a product_id, fetches the product from enrichment to snapshot item_type, display_name, platform, first_release_date, and igdb_game_id (games) onto the row; the client never supplies catalog facts for those. WITHOUT a product_id the entry is CUSTOM (an item the providers do not list): the client supplies display_name and item_type, optionally a free-text platform_name and first_release_date; pricing_mode defaults to disabled and auto is invalid (no own product) - pick a catalog product as the price source via pricing_mode proxy + pricing_product_id. A backlog entry receives a backlog_rank at the end of the backlog. Errors: 404 code unknown_product (product_id) or unknown_pricing_product (pricing_product_id) or tag_not_found; 502 code enrichment_unavailable when the catalog cannot be reached (product-backed creation's one hard dependency; a custom create needs enrichment only to validate a proxy reference). value_cents in the response is composed best-effort like every entry read.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /entries (the `CreateEntry` operationId).
	CreateEntryWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateEntryResponse, error)

	// CreateEntryWithResponse Add an entry (catalog-backed, or custom for off-catalog items)
	//
	// With a product_id, fetches the product from enrichment to snapshot item_type, display_name, platform, first_release_date, and igdb_game_id (games) onto the row; the client never supplies catalog facts for those. WITHOUT a product_id the entry is CUSTOM (an item the providers do not list): the client supplies display_name and item_type, optionally a free-text platform_name and first_release_date; pricing_mode defaults to disabled and auto is invalid (no own product) - pick a catalog product as the price source via pricing_mode proxy + pricing_product_id. A backlog entry receives a backlog_rank at the end of the backlog. Errors: 404 code unknown_product (product_id) or unknown_pricing_product (pricing_product_id) or tag_not_found; 502 code enrichment_unavailable when the catalog cannot be reached (product-backed creation's one hard dependency; a custom create needs enrichment only to validate a proxy reference). value_cents in the response is composed best-effort like every entry read.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /entries (the `CreateEntry` operationId).
	CreateEntryWithResponse(ctx context.Context, body CreateEntryJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateEntryResponse, error)

	// BulkUpdateEntriesWithBodyWithResponse Apply tag/status/storage-location changes across a batch of the caller's entries (transactional)
	//
	// One transaction, all-or-nothing: tag removal and tag addition both apply ownership-scoped (a foreign or unknown tag id in add_tag_ids/remove_tag_ids simply matches nothing, same posture as tag attachment elsewhere), and whichever scalar fields are present apply in the same transaction. A status change to backlog manages backlog_rank like the single-entry update: newly-entering entries append at the end (oldest-created first among the batch), entries already in backlog keep their position, and a status change away from backlog clears it. If any targeted entry would end up holding more than 50 tags, the WHOLE transaction rolls back (400 code tag_cap_exceeded) - a skipped-entry partial apply is never allowed.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /entries/bulk-update (the `BulkUpdateEntries` operationId).
	BulkUpdateEntriesWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*BulkUpdateEntriesResponse, error)

	// BulkUpdateEntriesWithResponse Apply tag/status/storage-location changes across a batch of the caller's entries (transactional)
	//
	// One transaction, all-or-nothing: tag removal and tag addition both apply ownership-scoped (a foreign or unknown tag id in add_tag_ids/remove_tag_ids simply matches nothing, same posture as tag attachment elsewhere), and whichever scalar fields are present apply in the same transaction. A status change to backlog manages backlog_rank like the single-entry update: newly-entering entries append at the end (oldest-created first among the batch), entries already in backlog keep their position, and a status change away from backlog clears it. If any targeted entry would end up holding more than 50 tags, the WHOLE transaction rolls back (400 code tag_cap_exceeded) - a skipped-entry partial apply is never allowed.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /entries/bulk-update (the `BulkUpdateEntries` operationId).
	BulkUpdateEntriesWithResponse(ctx context.Context, body BulkUpdateEntriesJSONRequestBody, reqEditors ...RequestEditorFn) (*BulkUpdateEntriesResponse, error)

	// DeleteEntryWithResponse Delete an entry (tag links cascade)
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /entries/{entryId} (the `DeleteEntry` operationId).
	DeleteEntryWithResponse(ctx context.Context, entryId openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteEntryResponse, error)

	// GetEntryWithResponse Fetch one entry with its composed current value
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /entries/{entryId} (the `GetEntry` operationId).
	GetEntryWithResponse(ctx context.Context, entryId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetEntryResponse, error)

	// UpdateEntryWithBodyWithResponse Replace an entry's mutable state (the edit form submits everything)
	//
	// Full replacement of the mutable fields; an absent optional field is cleared. media_type and the entry's custom-ness are immutable. product_id accepts one narrow change - re-matching an auto-priced entry off an unmatched game product onto a product of the same game and platform (see EntryUpdate); anything else answers 400 code invalid_product_change. On CUSTOM entries the user-owned display fields are part of the mutable state: display_name is required and platform_name/first_release_date replace like any optional field; on product-backed entries those fields are rejected (400) - the catalog snapshot is immutable. Status transitions manage backlog_rank: entering backlog appends at the end, leaving clears, staying keeps the position. A changed pricing_product_id is validated against enrichment; auto stays invalid for custom entries. Pin toggles ride this operation.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /entries/{entryId} (the `UpdateEntry` operationId).
	UpdateEntryWithBodyWithResponse(ctx context.Context, entryId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateEntryResponse, error)

	// UpdateEntryWithResponse Replace an entry's mutable state (the edit form submits everything)
	//
	// Full replacement of the mutable fields; an absent optional field is cleared. media_type and the entry's custom-ness are immutable. product_id accepts one narrow change - re-matching an auto-priced entry off an unmatched game product onto a product of the same game and platform (see EntryUpdate); anything else answers 400 code invalid_product_change. On CUSTOM entries the user-owned display fields are part of the mutable state: display_name is required and platform_name/first_release_date replace like any optional field; on product-backed entries those fields are rejected (400) - the catalog snapshot is immutable. Status transitions manage backlog_rank: entering backlog appends at the end, leaving clears, staying keeps the position. A changed pricing_product_id is validated against enrichment; auto stays invalid for custom entries. Pin toggles ride this operation.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /entries/{entryId} (the `UpdateEntry` operationId).
	UpdateEntryWithResponse(ctx context.Context, entryId openapi_types.UUID, body UpdateEntryJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateEntryResponse, error)

	// AckEntryRegionMismatchWithResponse Dismiss the region-mismatch banner for the entry's current choice
	//
	// Stamps region_mismatch_ack_at on the caller's entry for its current (region, product) choice, so the banner does not reappear until either changes (both clear the stamp). Idempotent: 204 on every call while the choice stands.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /entries/{entryId}/region-mismatch-ack (the `AckEntryRegionMismatch` operationId).
	AckEntryRegionMismatchWithResponse(ctx context.Context, entryId openapi_types.UUID, reqEditors ...RequestEditorFn) (*AckEntryRegionMismatchResponse, error)

	// ReorderEntryWithBodyWithResponse Move a backlog entry between two neighbors (single-row fractional-index write)
	//
	// after_id is the entry that precedes the drop slot, before_id the one that follows; null marks a list edge (both null is invalid). The neighbors' ranks must straddle or the reorder answers 409 code conflicting_order (a stale drag against a list that moved); the entry and both neighbors must be the caller's backlog entries or it answers 409 code not_in_backlog. Ranks are server-generated; clients never send one.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /entries/{entryId}/reorder (the `ReorderEntry` operationId).
	ReorderEntryWithBodyWithResponse(ctx context.Context, entryId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ReorderEntryResponse, error)

	// ReorderEntryWithResponse Move a backlog entry between two neighbors (single-row fractional-index write)
	//
	// after_id is the entry that precedes the drop slot, before_id the one that follows; null marks a list edge (both null is invalid). The neighbors' ranks must straddle or the reorder answers 409 code conflicting_order (a stale drag against a list that moved); the entry and both neighbors must be the caller's backlog entries or it answers 409 code not_in_backlog. Ranks are server-generated; clients never send one.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /entries/{entryId}/reorder (the `ReorderEntry` operationId).
	ReorderEntryWithResponse(ctx context.Context, entryId openapi_types.UUID, body ReorderEntryJSONRequestBody, reqEditors ...RequestEditorFn) (*ReorderEntryResponse, error)

	// CancelSubmissionWithResponse Cancel the entry's pending submission
	//
	// Flips the pending submission to cancelled - a status change, not a delete: the row persists and still counts toward the rolling creation cap. 404 code submission_not_found when nothing is pending.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /entries/{entryId}/submission (the `CancelSubmission` operationId).
	CancelSubmissionWithResponse(ctx context.Context, entryId openapi_types.UUID, reqEditors ...RequestEditorFn) (*CancelSubmissionResponse, error)

	// GetSubmissionWithResponse The entry's latest submission, any status
	//
	// The entry page's read: pending shows the wait, rejected shows the reason, cancelled reads as none for resubmit purposes. 404 code entry_not_found for a foreign or missing entry; submission_not_found when the entry never had one.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /entries/{entryId}/submission (the `GetSubmission` operationId).
	GetSubmissionWithResponse(ctx context.Context, entryId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetSubmissionResponse, error)

	// CreateSubmissionWithResponse Submit a custom entry as a catalog candidate
	//
	// Files the entry into the admin review queue. Custom entries only (400 code entry_not_custom otherwise); one pending submission per entry (409 code submission_pending). The queue holds a live reference: entry edits flow into what the admin reviews until the verdict. Abuse caps, per user: at most 10 pending (429 code too_many_pending_submissions) and at most 20 created in any rolling 24h window (429 code submission_rate_limited) - cancelled submissions still count toward the window, so cancel/recreate does not reset it.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /entries/{entryId}/submission (the `CreateSubmission` operationId).
	CreateSubmissionWithResponse(ctx context.Context, entryId openapi_types.UUID, reqEditors ...RequestEditorFn) (*CreateSubmissionResponse, error)

	// AckSubmissionResolutionWithResponse Acknowledge an approved submission (dismiss the banner)
	//
	// Stamps resolution_ack_at on the caller's latest approved submission for the entry, so the approval banner does not reappear on the next open. Idempotent: 204 on the first stamp and on every repeat. 404 code entry_not_found for a foreign or missing entry; submission_not_found when the entry has no approved submission.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /entries/{entryId}/submission/ack (the `AckSubmissionResolution` operationId).
	AckSubmissionResolutionWithResponse(ctx context.Context, entryId openapi_types.UUID, reqEditors ...RequestEditorFn) (*AckSubmissionResolutionResponse, error)

	// InternalNormalizePlatformsWithResponse Canonicalize free-text custom-entry platforms
	//
	// Maintenance operation; the gateway never routes it. Matches every entry carrying a platform_name but no platform_igdb_id (case-insensitive, trimmed, exact-or-alias - never fuzzy) against the enrichment platform catalog and stamps the canonical igdb id and name. Guard: admin role or service token (the nightly job runs it; the mass write stays reviewable through its counts and logs). Idempotent and re-runnable; stamped rows leave the selection set.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /internal/normalize-platforms (the `InternalNormalizePlatforms` operationId).
	InternalNormalizePlatformsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*InternalNormalizePlatformsResponse, error)

	// InternalNormalizeRegionsWithResponse Promote free-text entry regions into the known set
	//
	// Maintenance operation; the gateway never routes it. Folds every entry region outside the known set (lowercase, trim) against the known values and the reviewed synonyms table - exact or synonym, never fuzzy. Promoted igdb-backed entries re-pick their release-date and localized display snapshots for the promoted region in the same write; enrichment outage skips the row for the next run. Guard: admin role or service token (the nightly job runs it ahead of the entry rematch, so a promoted region's pricing class corrects the same night). Idempotent and re-runnable; promoted rows leave the selection set.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /internal/normalize-regions (the `InternalNormalizeRegions` operationId).
	InternalNormalizeRegionsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*InternalNormalizeRegionsResponse, error)

	// InternalRematchEntriesWithResponse Entry rematch - repoint auto entries onto region-correct listings
	//
	// Maintenance operation; the gateway never routes it. Re-resolves auto-priced, auto-provenance game-backed entries grouped by (game, platform, region): unmatched or region-incompatible members are re-resolved with the entry region and the entries repointed to the returned member, snapshot fields re-derived. Guard: admin user or service token. Answers 202 and detaches (a day-one backfill outlives the HTTP write timeout at the provider's polite request rate); the counts land in the completion log and the rematch.* metrics, not the response. Idempotent and re-runnable; each repoint is logged (entry, from, to, region).
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /internal/rematch-entries (the `InternalRematchEntries` operationId).
	InternalRematchEntriesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*InternalRematchEntriesResponse, error)

	// InternalResnapshotWithResponse Resnapshot - recompute every game-backed entry's product-derived snapshot fields
	//
	// Maintenance operation; the gateway never routes it. Recomputes the region-picked release date, the localized presentation trio (name, transliteration, cover url), and the credit arrays (developers, publishers) for every game-backed entry from its product's current data. Guard: admin user or service token (tightened from any valid JWT). Idempotent and re-runnable; a row is written only when a recomputed field differs from what is stored.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /internal/resnapshot (the `InternalResnapshot` operationId).
	InternalResnapshotWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*InternalResnapshotResponse, error)

	// GetLibrarySummaryWithResponse Deduplicated game-library summary (recommendation scoring input)
	//
	// Games with an igdb_game_id snapshot, deduplicated across copies: highest rating wins and status reports dropped only when every copy is dropped. Shaped exactly like the enrichment scoring contract's library array so a caller pipes it through without reshaping.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /library/summary (the `GetLibrarySummary` operationId).
	GetLibrarySummaryWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetLibrarySummaryResponse, error)

	// ListSharedShelvesWithResponse Listed shelf summaries, newest publish first (any authenticated caller)
	//
	// owner_ids absent or empty pages every listed shelf across every owner (Explore-recent's read); present, it scopes the page to just those owners (the profile page's read), same guard and pagination semantics either way.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /shared/shelves (the `ListSharedShelves` operationId).
	ListSharedShelvesWithResponse(ctx context.Context, params *ListSharedShelvesParams, reqEditors ...RequestEditorFn) (*ListSharedShelvesResponse, error)

	// GetSharedShelvesByIdsWithResponse Batch shelf summaries for hydration (non-private only)
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /shared/shelves/by-ids (the `GetSharedShelvesByIds` operationId).
	GetSharedShelvesByIdsWithResponse(ctx context.Context, params *GetSharedShelvesByIdsParams, reqEditors ...RequestEditorFn) (*GetSharedShelvesByIdsResponse, error)

	// GetSharedShelfBySlugWithResponse Resolve (owner, slug) to a shelf; folds case and underscores
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /shared/shelves/by-slug (the `GetSharedShelfBySlug` operationId).
	GetSharedShelfBySlugWithResponse(ctx context.Context, params *GetSharedShelfBySlugParams, reqEditors ...RequestEditorFn) (*GetSharedShelfBySlugResponse, error)

	// GetSharedShelfWithResponse Shelf meta by id (non-private; any authenticated caller)
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /shared/shelves/{shelfId} (the `GetSharedShelf` operationId).
	GetSharedShelfWithResponse(ctx context.Context, shelfId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetSharedShelfResponse, error)

	// ListSharedShelfEntriesWithResponse Execute a shelf's stored params and return the whitelisted projection
	//
	// Filters, sort, and grouping come from the stored params verbatim; the caller controls pagination only. Money and personal fields never appear (SharedEntry is a strict whitelist); a stored sort of "value" degrades to the stable base order because value composition never runs here.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /shared/shelves/{shelfId}/entries (the `ListSharedShelfEntries` operationId).
	ListSharedShelfEntriesWithResponse(ctx context.Context, shelfId openapi_types.UUID, params *ListSharedShelfEntriesParams, reqEditors ...RequestEditorFn) (*ListSharedShelfEntriesResponse, error)

	// ListTagsWithResponse List the caller's tags with usage counts
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /tags (the `ListTags` operationId).
	ListTagsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListTagsResponse, error)

	// CreateTagWithBodyWithResponse Create a tag (names are unique per user, case-insensitively)
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /tags (the `CreateTag` operationId).
	CreateTagWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateTagResponse, error)

	// CreateTagWithResponse Create a tag (names are unique per user, case-insensitively)
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /tags (the `CreateTag` operationId).
	CreateTagWithResponse(ctx context.Context, body CreateTagJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateTagResponse, error)

	// DeleteTagWithResponse Delete a tag (entry links cascade; entries survive)
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /tags/{tagId} (the `DeleteTag` operationId).
	DeleteTagWithResponse(ctx context.Context, tagId openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteTagResponse, error)

	// RenameTagWithBodyWithResponse Rename a tag
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /tags/{tagId} (the `RenameTag` operationId).
	RenameTagWithBodyWithResponse(ctx context.Context, tagId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RenameTagResponse, error)

	// RenameTagWithResponse Rename a tag
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /tags/{tagId} (the `RenameTag` operationId).
	RenameTagWithResponse(ctx context.Context, tagId openapi_types.UUID, body RenameTagJSONRequestBody, reqEditors ...RequestEditorFn) (*RenameTagResponse, error)

	// PurgeUserDataWithResponse Delete every collection row belonging to the caller (entries, tags, saved views); idempotent
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /user-data (the `PurgeUserData` operationId).
	PurgeUserDataWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PurgeUserDataResponse, error)

	// ListViewsWithResponse List the caller's saved views
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /views (the `ListViews` operationId).
	ListViewsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListViewsResponse, error)

	// CreateViewWithBodyWithResponse Save a view (an opaque frontend params document; names unique per user)
	//
	// params is the frontend's serialized view state (filters, sort, group_by, view mode). The server validates only that it is a JSON object of at most 8192 marshaled bytes; its vocabulary belongs to the frontend.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /views (the `CreateView` operationId).
	CreateViewWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateViewResponse, error)

	// CreateViewWithResponse Save a view (an opaque frontend params document; names unique per user)
	//
	// params is the frontend's serialized view state (filters, sort, group_by, view mode). The server validates only that it is a JSON object of at most 8192 marshaled bytes; its vocabulary belongs to the frontend.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /views (the `CreateView` operationId).
	CreateViewWithResponse(ctx context.Context, body CreateViewJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateViewResponse, error)

	// DeleteViewWithResponse Delete a saved view
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /views/{viewId} (the `DeleteView` operationId).
	DeleteViewWithResponse(ctx context.Context, viewId openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteViewResponse, error)

	// UpdateViewWithBodyWithResponse Replace a saved view's name, params, and visibility
	//
	// Full replacement: name, params, and visibility are all overwritten from the body. An absent visibility resets to private (ViewCreate's default), not left unchanged - this is how a listed shelf is unpublished.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /views/{viewId} (the `UpdateView` operationId).
	UpdateViewWithBodyWithResponse(ctx context.Context, viewId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateViewResponse, error)

	// UpdateViewWithResponse Replace a saved view's name, params, and visibility
	//
	// Full replacement: name, params, and visibility are all overwritten from the body. An absent visibility resets to private (ViewCreate's default), not left unchanged - this is how a listed shelf is unpublished.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /views/{viewId} (the `UpdateView` operationId).
	UpdateViewWithResponse(ctx context.Context, viewId openapi_types.UUID, body UpdateViewJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateViewResponse, error)
}

ClientWithResponsesInterface is the interface specification for the client with responses above.

type Conflict

type Conflict = externalRef0.Problem

Conflict defines model for Conflict.

type CountProductReferencesResponse

type CountProductReferencesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *struct {
		EntryCount int64 `json:"entry_count"`
	}
	// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
	ApplicationproblemJSON401 *Unauthorized
	// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
	ApplicationproblemJSON403 *Forbidden
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *InternalError
}

func ParseCountProductReferencesResponse

func ParseCountProductReferencesResponse(rsp *http.Response) (*CountProductReferencesResponse, error)

ParseCountProductReferencesResponse parses an HTTP response from a CountProductReferencesWithResponse call

func (CountProductReferencesResponse) ContentType

func (r CountProductReferencesResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (CountProductReferencesResponse) GetApplicationproblemJSON401

func (r CountProductReferencesResponse) GetApplicationproblemJSON401() *Unauthorized

GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response

func (CountProductReferencesResponse) GetApplicationproblemJSON403

func (r CountProductReferencesResponse) GetApplicationproblemJSON403() *Forbidden

GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response

func (CountProductReferencesResponse) GetApplicationproblemJSONDefault

func (r CountProductReferencesResponse) GetApplicationproblemJSONDefault() *InternalError

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (CountProductReferencesResponse) GetBody

func (r CountProductReferencesResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (CountProductReferencesResponse) GetJSON200

func (r CountProductReferencesResponse) GetJSON200() *struct {
	EntryCount int64 `json:"entry_count"`
}

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (CountProductReferencesResponse) Status

Status returns HTTPResponse.Status

func (CountProductReferencesResponse) StatusCode

func (r CountProductReferencesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateEntryJSONRequestBody

type CreateEntryJSONRequestBody = EntryCreate

CreateEntryJSONRequestBody defines body for CreateEntry for application/json ContentType.

type CreateEntryResponse

type CreateEntryResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON201 the response for an HTTP 201 `application/json` response
	JSON201 *Entry
	// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
	ApplicationproblemJSON400 *BadRequest
	// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
	ApplicationproblemJSON401 *Unauthorized
	// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
	ApplicationproblemJSON404 *NotFound
	// ApplicationproblemJSON502 the response for an HTTP 502 `application/problem+json` response
	ApplicationproblemJSON502 *UpstreamError
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *InternalError
	// Headers201 the parsed response headers for an HTTP 201 response
	Headers201 *CreateEntryResponse201Headers
}

func ParseCreateEntryResponse

func ParseCreateEntryResponse(rsp *http.Response) (*CreateEntryResponse, error)

ParseCreateEntryResponse parses an HTTP response from a CreateEntryWithResponse call

func (CreateEntryResponse) ContentType

func (r CreateEntryResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (CreateEntryResponse) GetApplicationproblemJSON400

func (r CreateEntryResponse) GetApplicationproblemJSON400() *BadRequest

GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response

func (CreateEntryResponse) GetApplicationproblemJSON401

func (r CreateEntryResponse) GetApplicationproblemJSON401() *Unauthorized

GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response

func (CreateEntryResponse) GetApplicationproblemJSON404

func (r CreateEntryResponse) GetApplicationproblemJSON404() *NotFound

GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response

func (CreateEntryResponse) GetApplicationproblemJSON502

func (r CreateEntryResponse) GetApplicationproblemJSON502() *UpstreamError

GetApplicationproblemJSON502 returns the response for an HTTP 502 `application/problem+json` response

func (CreateEntryResponse) GetApplicationproblemJSONDefault

func (r CreateEntryResponse) GetApplicationproblemJSONDefault() *InternalError

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (CreateEntryResponse) GetBody

func (r CreateEntryResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (CreateEntryResponse) GetJSON201

func (r CreateEntryResponse) GetJSON201() *Entry

GetJSON201 returns the response for an HTTP 201 `application/json` response

func (CreateEntryResponse) Status

func (r CreateEntryResponse) Status() string

Status returns HTTPResponse.Status

func (CreateEntryResponse) StatusCode

func (r CreateEntryResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateEntryResponse201Headers

type CreateEntryResponse201Headers struct {
	Location *string
}

CreateEntryResponse201Headers the declared response headers of an HTTP 201 response for CreateEntry

type CreateSubmissionResponse

type CreateSubmissionResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON201 the response for an HTTP 201 `application/json` response
	JSON201 *Submission
	// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
	ApplicationproblemJSON400 *BadRequest
	// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
	ApplicationproblemJSON401 *Unauthorized
	// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
	ApplicationproblemJSON404 *NotFound
	// ApplicationproblemJSON409 the response for an HTTP 409 `application/problem+json` response
	ApplicationproblemJSON409 *Conflict
	// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
	ApplicationproblemJSON429 *TooManyRequests
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *InternalError
}

func ParseCreateSubmissionResponse

func ParseCreateSubmissionResponse(rsp *http.Response) (*CreateSubmissionResponse, error)

ParseCreateSubmissionResponse parses an HTTP response from a CreateSubmissionWithResponse call

func (CreateSubmissionResponse) ContentType

func (r CreateSubmissionResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (CreateSubmissionResponse) GetApplicationproblemJSON400

func (r CreateSubmissionResponse) GetApplicationproblemJSON400() *BadRequest

GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response

func (CreateSubmissionResponse) GetApplicationproblemJSON401

func (r CreateSubmissionResponse) GetApplicationproblemJSON401() *Unauthorized

GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response

func (CreateSubmissionResponse) GetApplicationproblemJSON404

func (r CreateSubmissionResponse) GetApplicationproblemJSON404() *NotFound

GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response

func (CreateSubmissionResponse) GetApplicationproblemJSON409

func (r CreateSubmissionResponse) GetApplicationproblemJSON409() *Conflict

GetApplicationproblemJSON409 returns the response for an HTTP 409 `application/problem+json` response

func (CreateSubmissionResponse) GetApplicationproblemJSON429

func (r CreateSubmissionResponse) GetApplicationproblemJSON429() *TooManyRequests

GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response

func (CreateSubmissionResponse) GetApplicationproblemJSONDefault

func (r CreateSubmissionResponse) GetApplicationproblemJSONDefault() *InternalError

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (CreateSubmissionResponse) GetBody

func (r CreateSubmissionResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (CreateSubmissionResponse) GetJSON201

func (r CreateSubmissionResponse) GetJSON201() *Submission

GetJSON201 returns the response for an HTTP 201 `application/json` response

func (CreateSubmissionResponse) Status

func (r CreateSubmissionResponse) Status() string

Status returns HTTPResponse.Status

func (CreateSubmissionResponse) StatusCode

func (r CreateSubmissionResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateTagJSONRequestBody

type CreateTagJSONRequestBody = TagCreate

CreateTagJSONRequestBody defines body for CreateTag for application/json ContentType.

type CreateTagResponse

type CreateTagResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON201 the response for an HTTP 201 `application/json` response
	JSON201 *Tag
	// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
	ApplicationproblemJSON400 *BadRequest
	// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
	ApplicationproblemJSON401 *Unauthorized
	// ApplicationproblemJSON409 the response for an HTTP 409 `application/problem+json` response
	ApplicationproblemJSON409 *Conflict
	// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
	ApplicationproblemJSON429 *TooManyRequests
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *InternalError
}

func ParseCreateTagResponse

func ParseCreateTagResponse(rsp *http.Response) (*CreateTagResponse, error)

ParseCreateTagResponse parses an HTTP response from a CreateTagWithResponse call

func (CreateTagResponse) ContentType

func (r CreateTagResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (CreateTagResponse) GetApplicationproblemJSON400

func (r CreateTagResponse) GetApplicationproblemJSON400() *BadRequest

GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response

func (CreateTagResponse) GetApplicationproblemJSON401

func (r CreateTagResponse) GetApplicationproblemJSON401() *Unauthorized

GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response

func (CreateTagResponse) GetApplicationproblemJSON409

func (r CreateTagResponse) GetApplicationproblemJSON409() *Conflict

GetApplicationproblemJSON409 returns the response for an HTTP 409 `application/problem+json` response

func (CreateTagResponse) GetApplicationproblemJSON429

func (r CreateTagResponse) GetApplicationproblemJSON429() *TooManyRequests

GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response

func (CreateTagResponse) GetApplicationproblemJSONDefault

func (r CreateTagResponse) GetApplicationproblemJSONDefault() *InternalError

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (CreateTagResponse) GetBody

func (r CreateTagResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (CreateTagResponse) GetJSON201

func (r CreateTagResponse) GetJSON201() *Tag

GetJSON201 returns the response for an HTTP 201 `application/json` response

func (CreateTagResponse) Status

func (r CreateTagResponse) Status() string

Status returns HTTPResponse.Status

func (CreateTagResponse) StatusCode

func (r CreateTagResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateViewJSONRequestBody

type CreateViewJSONRequestBody = ViewCreate

CreateViewJSONRequestBody defines body for CreateView for application/json ContentType.

type CreateViewResponse

type CreateViewResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON201 the response for an HTTP 201 `application/json` response
	JSON201 *SavedView
	// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
	ApplicationproblemJSON400 *BadRequest
	// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
	ApplicationproblemJSON401 *Unauthorized
	// ApplicationproblemJSON409 the response for an HTTP 409 `application/problem+json` response
	ApplicationproblemJSON409 *Conflict
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *InternalError
}

func ParseCreateViewResponse

func ParseCreateViewResponse(rsp *http.Response) (*CreateViewResponse, error)

ParseCreateViewResponse parses an HTTP response from a CreateViewWithResponse call

func (CreateViewResponse) ContentType

func (r CreateViewResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (CreateViewResponse) GetApplicationproblemJSON400

func (r CreateViewResponse) GetApplicationproblemJSON400() *BadRequest

GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response

func (CreateViewResponse) GetApplicationproblemJSON401

func (r CreateViewResponse) GetApplicationproblemJSON401() *Unauthorized

GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response

func (CreateViewResponse) GetApplicationproblemJSON409

func (r CreateViewResponse) GetApplicationproblemJSON409() *Conflict

GetApplicationproblemJSON409 returns the response for an HTTP 409 `application/problem+json` response

func (CreateViewResponse) GetApplicationproblemJSONDefault

func (r CreateViewResponse) GetApplicationproblemJSONDefault() *InternalError

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (CreateViewResponse) GetBody

func (r CreateViewResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (CreateViewResponse) GetJSON201

func (r CreateViewResponse) GetJSON201() *SavedView

GetJSON201 returns the response for an HTTP 201 `application/json` response

func (CreateViewResponse) Status

func (r CreateViewResponse) Status() string

Status returns HTTPResponse.Status

func (CreateViewResponse) StatusCode

func (r CreateViewResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type Dashboard

type Dashboard = externalRef0.Dashboard

Dashboard defines model for Dashboard.

type DeleteEntryResponse

type DeleteEntryResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
	ApplicationproblemJSON401 *Unauthorized
	// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
	ApplicationproblemJSON404 *NotFound
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *InternalError
}

func ParseDeleteEntryResponse

func ParseDeleteEntryResponse(rsp *http.Response) (*DeleteEntryResponse, error)

ParseDeleteEntryResponse parses an HTTP response from a DeleteEntryWithResponse call

func (DeleteEntryResponse) ContentType

func (r DeleteEntryResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DeleteEntryResponse) GetApplicationproblemJSON401

func (r DeleteEntryResponse) GetApplicationproblemJSON401() *Unauthorized

GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response

func (DeleteEntryResponse) GetApplicationproblemJSON404

func (r DeleteEntryResponse) GetApplicationproblemJSON404() *NotFound

GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response

func (DeleteEntryResponse) GetApplicationproblemJSONDefault

func (r DeleteEntryResponse) GetApplicationproblemJSONDefault() *InternalError

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (DeleteEntryResponse) GetBody

func (r DeleteEntryResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (DeleteEntryResponse) Status

func (r DeleteEntryResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteEntryResponse) StatusCode

func (r DeleteEntryResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteTagResponse

type DeleteTagResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
	ApplicationproblemJSON401 *Unauthorized
	// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
	ApplicationproblemJSON404 *NotFound
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *InternalError
}

func ParseDeleteTagResponse

func ParseDeleteTagResponse(rsp *http.Response) (*DeleteTagResponse, error)

ParseDeleteTagResponse parses an HTTP response from a DeleteTagWithResponse call

func (DeleteTagResponse) ContentType

func (r DeleteTagResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DeleteTagResponse) GetApplicationproblemJSON401

func (r DeleteTagResponse) GetApplicationproblemJSON401() *Unauthorized

GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response

func (DeleteTagResponse) GetApplicationproblemJSON404

func (r DeleteTagResponse) GetApplicationproblemJSON404() *NotFound

GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response

func (DeleteTagResponse) GetApplicationproblemJSONDefault

func (r DeleteTagResponse) GetApplicationproblemJSONDefault() *InternalError

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (DeleteTagResponse) GetBody

func (r DeleteTagResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (DeleteTagResponse) Status

func (r DeleteTagResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteTagResponse) StatusCode

func (r DeleteTagResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteViewResponse

type DeleteViewResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
	ApplicationproblemJSON401 *Unauthorized
	// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
	ApplicationproblemJSON404 *NotFound
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *InternalError
}

func ParseDeleteViewResponse

func ParseDeleteViewResponse(rsp *http.Response) (*DeleteViewResponse, error)

ParseDeleteViewResponse parses an HTTP response from a DeleteViewWithResponse call

func (DeleteViewResponse) ContentType

func (r DeleteViewResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DeleteViewResponse) GetApplicationproblemJSON401

func (r DeleteViewResponse) GetApplicationproblemJSON401() *Unauthorized

GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response

func (DeleteViewResponse) GetApplicationproblemJSON404

func (r DeleteViewResponse) GetApplicationproblemJSON404() *NotFound

GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response

func (DeleteViewResponse) GetApplicationproblemJSONDefault

func (r DeleteViewResponse) GetApplicationproblemJSONDefault() *InternalError

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (DeleteViewResponse) GetBody

func (r DeleteViewResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (DeleteViewResponse) Status

func (r DeleteViewResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteViewResponse) StatusCode

func (r DeleteViewResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type Entry

type Entry = externalRef0.Entry

Entry One physical copy. On product-backed entries the catalog fields (item_type, display_name, platform, first_release_date, igdb_game_id) are immutable creation-time snapshots from the enrichment product and product_id remains the live join key for prices. A CUSTOM entry has no product_id: its display fields are user-owned and editable, platform carries the picked or normalized identity - name-only for escape-hatch free text - when supplied, and igdb_game_id is always absent. value_cents is composed at read time from the effective pricing product and the packaging-matched price field; (or, with pricing_mode custom, taken directly from custom_value_cents, packaging-independent); it is null when pricing_mode is disabled, the product is unmatched, no price exists for the packaging, or enrichment is temporarily unreachable.

type EntryCreate

type EntryCreate = externalRef0.EntryCreate

EntryCreate Product-backed: product_id comes from a prior enrichment resolve and the catalog fields are snapshotted server-side (display_name/item_type/platform_name/first_release_date must NOT be sent). Custom (no product_id): display_name and item_type are required, platform_name and first_release_date optional; pricing_mode defaults to disabled and must not be auto. media_type accepts only physical (the column already allows digital: the API widens when platform sync arrives). source is server-set manual. pricing_product_id is required when pricing_mode is proxy; box_condition requires has_box and manual_condition requires has_manual. custom_value_cents is required when pricing_mode is custom.

type EntryList

type EntryList = externalRef0.EntryList

EntryList One page of the sorted, filtered sequence. Exactly one of entries/groups is present (groups when group_by was requested, partitioning this page only).

type EntryUpdate

type EntryUpdate = externalRef0.EntryUpdate

EntryUpdate Full replacement of the mutable state; an absent optional field is cleared (the edit form holds the whole entry). media_type and custom-ness are immutable. product_id accepts one narrow change - re-matching an auto-priced entry off an unmatched game product onto a product of the same game and platform (see the field description); anything else answers 400 code invalid_product_change. That re-match stamps match_provenance=user; automated region repoints only ever run on match_provenance=auto entries. On custom entries display_name is required and platform_name/first_release_date replace like any optional field; on product-backed entries all three are rejected. tag_ids replaces the tag set; absent means no tags. custom_value_cents is required when pricing_mode is custom.

type Forbidden

type Forbidden = externalRef0.Problem

Forbidden defines model for Forbidden.

type GetDashboardParams

type GetDashboardParams struct {
	ItemType  *externalRef0.EntriesItemType  `form:"item_type,omitempty" json:"item_type,omitempty"`
	Status    *externalRef0.StatusFilter     `form:"status,omitempty" json:"status,omitempty"`
	Packaging *externalRef0.EntriesPackaging `form:"packaging,omitempty" json:"packaging,omitempty"`

	// Region Known-value buckets; other stored strings only surface unfiltered.
	Region *externalRef0.EntriesRegion `form:"region,omitempty" json:"region,omitempty"`

	// Developer Developer names; an entry matches when any of its snapshotted developers is listed.
	Developer *externalRef0.EntriesDeveloper `form:"developer,omitempty" json:"developer,omitempty"`

	// Publisher Publisher names; same overlap matching as developer.
	Publisher     *externalRef0.EntriesPublisher     `form:"publisher,omitempty" json:"publisher,omitempty"`
	ItemCondition *externalRef0.EntriesItemCondition `form:"item_condition,omitempty" json:"item_condition,omitempty"`

	// PlatformId IGDB platform ids (matches the creation-time snapshot).
	PlatformId *externalRef0.PlatformId `form:"platform_id,omitempty" json:"platform_id,omitempty"`

	// TagId Entries carrying ALL listed tags.
	TagId *externalRef0.EntriesTagId `form:"tag_id,omitempty" json:"tag_id,omitempty"`
}

GetDashboardParams defines parameters for GetDashboard.

type GetDashboardResponse

type GetDashboardResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *Dashboard
	// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
	ApplicationproblemJSON400 *BadRequest
	// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
	ApplicationproblemJSON401 *Unauthorized
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *InternalError
}

func ParseGetDashboardResponse

func ParseGetDashboardResponse(rsp *http.Response) (*GetDashboardResponse, error)

ParseGetDashboardResponse parses an HTTP response from a GetDashboardWithResponse call

func (GetDashboardResponse) ContentType

func (r GetDashboardResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetDashboardResponse) GetApplicationproblemJSON400

func (r GetDashboardResponse) GetApplicationproblemJSON400() *BadRequest

GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response

func (GetDashboardResponse) GetApplicationproblemJSON401

func (r GetDashboardResponse) GetApplicationproblemJSON401() *Unauthorized

GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response

func (GetDashboardResponse) GetApplicationproblemJSONDefault

func (r GetDashboardResponse) GetApplicationproblemJSONDefault() *InternalError

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (GetDashboardResponse) GetBody

func (r GetDashboardResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetDashboardResponse) GetJSON200

func (r GetDashboardResponse) GetJSON200() *Dashboard

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetDashboardResponse) Status

func (r GetDashboardResponse) Status() string

Status returns HTTPResponse.Status

func (GetDashboardResponse) StatusCode

func (r GetDashboardResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetEntryResponse

type GetEntryResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *Entry
	// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
	ApplicationproblemJSON401 *Unauthorized
	// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
	ApplicationproblemJSON404 *NotFound
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *InternalError
}

func ParseGetEntryResponse

func ParseGetEntryResponse(rsp *http.Response) (*GetEntryResponse, error)

ParseGetEntryResponse parses an HTTP response from a GetEntryWithResponse call

func (GetEntryResponse) ContentType

func (r GetEntryResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetEntryResponse) GetApplicationproblemJSON401

func (r GetEntryResponse) GetApplicationproblemJSON401() *Unauthorized

GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response

func (GetEntryResponse) GetApplicationproblemJSON404

func (r GetEntryResponse) GetApplicationproblemJSON404() *NotFound

GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response

func (GetEntryResponse) GetApplicationproblemJSONDefault

func (r GetEntryResponse) GetApplicationproblemJSONDefault() *InternalError

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (GetEntryResponse) GetBody

func (r GetEntryResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetEntryResponse) GetJSON200

func (r GetEntryResponse) GetJSON200() *Entry

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetEntryResponse) Status

func (r GetEntryResponse) Status() string

Status returns HTTPResponse.Status

func (GetEntryResponse) StatusCode

func (r GetEntryResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetLibrarySummaryResponse

type GetLibrarySummaryResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *LibrarySummary
	// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
	ApplicationproblemJSON401 *Unauthorized
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *InternalError
}

func ParseGetLibrarySummaryResponse

func ParseGetLibrarySummaryResponse(rsp *http.Response) (*GetLibrarySummaryResponse, error)

ParseGetLibrarySummaryResponse parses an HTTP response from a GetLibrarySummaryWithResponse call

func (GetLibrarySummaryResponse) ContentType

func (r GetLibrarySummaryResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetLibrarySummaryResponse) GetApplicationproblemJSON401

func (r GetLibrarySummaryResponse) GetApplicationproblemJSON401() *Unauthorized

GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response

func (GetLibrarySummaryResponse) GetApplicationproblemJSONDefault

func (r GetLibrarySummaryResponse) GetApplicationproblemJSONDefault() *InternalError

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (GetLibrarySummaryResponse) GetBody

func (r GetLibrarySummaryResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetLibrarySummaryResponse) GetJSON200

func (r GetLibrarySummaryResponse) GetJSON200() *LibrarySummary

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetLibrarySummaryResponse) Status

func (r GetLibrarySummaryResponse) Status() string

Status returns HTTPResponse.Status

func (GetLibrarySummaryResponse) StatusCode

func (r GetLibrarySummaryResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetSharedShelfBySlugParams

type GetSharedShelfBySlugParams struct {
	OwnerId openapi_types.UUID `form:"owner_id" json:"owner_id"`
	Slug    string             `form:"slug" json:"slug"`
}

GetSharedShelfBySlugParams defines parameters for GetSharedShelfBySlug.

type GetSharedShelfBySlugResponse

type GetSharedShelfBySlugResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *SharedShelf
	// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
	ApplicationproblemJSON400 *BadRequest
	// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
	ApplicationproblemJSON401 *Unauthorized
	// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
	ApplicationproblemJSON404 *NotFound
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *InternalError
}

func ParseGetSharedShelfBySlugResponse

func ParseGetSharedShelfBySlugResponse(rsp *http.Response) (*GetSharedShelfBySlugResponse, error)

ParseGetSharedShelfBySlugResponse parses an HTTP response from a GetSharedShelfBySlugWithResponse call

func (GetSharedShelfBySlugResponse) ContentType

func (r GetSharedShelfBySlugResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetSharedShelfBySlugResponse) GetApplicationproblemJSON400

func (r GetSharedShelfBySlugResponse) GetApplicationproblemJSON400() *BadRequest

GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response

func (GetSharedShelfBySlugResponse) GetApplicationproblemJSON401

func (r GetSharedShelfBySlugResponse) GetApplicationproblemJSON401() *Unauthorized

GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response

func (GetSharedShelfBySlugResponse) GetApplicationproblemJSON404

func (r GetSharedShelfBySlugResponse) GetApplicationproblemJSON404() *NotFound

GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response

func (GetSharedShelfBySlugResponse) GetApplicationproblemJSONDefault

func (r GetSharedShelfBySlugResponse) GetApplicationproblemJSONDefault() *InternalError

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (GetSharedShelfBySlugResponse) GetBody

func (r GetSharedShelfBySlugResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetSharedShelfBySlugResponse) GetJSON200

func (r GetSharedShelfBySlugResponse) GetJSON200() *SharedShelf

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetSharedShelfBySlugResponse) Status

Status returns HTTPResponse.Status

func (GetSharedShelfBySlugResponse) StatusCode

func (r GetSharedShelfBySlugResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetSharedShelfResponse

type GetSharedShelfResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *SharedShelf
	// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
	ApplicationproblemJSON401 *Unauthorized
	// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
	ApplicationproblemJSON404 *NotFound
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *InternalError
}

func ParseGetSharedShelfResponse

func ParseGetSharedShelfResponse(rsp *http.Response) (*GetSharedShelfResponse, error)

ParseGetSharedShelfResponse parses an HTTP response from a GetSharedShelfWithResponse call

func (GetSharedShelfResponse) ContentType

func (r GetSharedShelfResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetSharedShelfResponse) GetApplicationproblemJSON401

func (r GetSharedShelfResponse) GetApplicationproblemJSON401() *Unauthorized

GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response

func (GetSharedShelfResponse) GetApplicationproblemJSON404

func (r GetSharedShelfResponse) GetApplicationproblemJSON404() *NotFound

GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response

func (GetSharedShelfResponse) GetApplicationproblemJSONDefault

func (r GetSharedShelfResponse) GetApplicationproblemJSONDefault() *InternalError

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (GetSharedShelfResponse) GetBody

func (r GetSharedShelfResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetSharedShelfResponse) GetJSON200

func (r GetSharedShelfResponse) GetJSON200() *SharedShelf

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetSharedShelfResponse) Status

func (r GetSharedShelfResponse) Status() string

Status returns HTTPResponse.Status

func (GetSharedShelfResponse) StatusCode

func (r GetSharedShelfResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetSharedShelvesByIdsParams

type GetSharedShelvesByIdsParams struct {
	Ids []openapi_types.UUID `form:"ids" json:"ids"`
}

GetSharedShelvesByIdsParams defines parameters for GetSharedShelvesByIds.

type GetSharedShelvesByIdsResponse

type GetSharedShelvesByIdsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *struct {
		Shelves []SharedShelfSummary `json:"shelves"`
	}
	// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
	ApplicationproblemJSON400 *BadRequest
	// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
	ApplicationproblemJSON401 *Unauthorized
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *InternalError
}

func ParseGetSharedShelvesByIdsResponse

func ParseGetSharedShelvesByIdsResponse(rsp *http.Response) (*GetSharedShelvesByIdsResponse, error)

ParseGetSharedShelvesByIdsResponse parses an HTTP response from a GetSharedShelvesByIdsWithResponse call

func (GetSharedShelvesByIdsResponse) ContentType

func (r GetSharedShelvesByIdsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetSharedShelvesByIdsResponse) GetApplicationproblemJSON400

func (r GetSharedShelvesByIdsResponse) GetApplicationproblemJSON400() *BadRequest

GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response

func (GetSharedShelvesByIdsResponse) GetApplicationproblemJSON401

func (r GetSharedShelvesByIdsResponse) GetApplicationproblemJSON401() *Unauthorized

GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response

func (GetSharedShelvesByIdsResponse) GetApplicationproblemJSONDefault

func (r GetSharedShelvesByIdsResponse) GetApplicationproblemJSONDefault() *InternalError

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (GetSharedShelvesByIdsResponse) GetBody

func (r GetSharedShelvesByIdsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetSharedShelvesByIdsResponse) GetJSON200

func (r GetSharedShelvesByIdsResponse) GetJSON200() *struct {
	Shelves []SharedShelfSummary `json:"shelves"`
}

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetSharedShelvesByIdsResponse) Status

Status returns HTTPResponse.Status

func (GetSharedShelvesByIdsResponse) StatusCode

func (r GetSharedShelvesByIdsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetSubmissionResponse

type GetSubmissionResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *Submission
	// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
	ApplicationproblemJSON401 *Unauthorized
	// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
	ApplicationproblemJSON404 *NotFound
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *InternalError
}

func ParseGetSubmissionResponse

func ParseGetSubmissionResponse(rsp *http.Response) (*GetSubmissionResponse, error)

ParseGetSubmissionResponse parses an HTTP response from a GetSubmissionWithResponse call

func (GetSubmissionResponse) ContentType

func (r GetSubmissionResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetSubmissionResponse) GetApplicationproblemJSON401

func (r GetSubmissionResponse) GetApplicationproblemJSON401() *Unauthorized

GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response

func (GetSubmissionResponse) GetApplicationproblemJSON404

func (r GetSubmissionResponse) GetApplicationproblemJSON404() *NotFound

GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response

func (GetSubmissionResponse) GetApplicationproblemJSONDefault

func (r GetSubmissionResponse) GetApplicationproblemJSONDefault() *InternalError

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (GetSubmissionResponse) GetBody

func (r GetSubmissionResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetSubmissionResponse) GetJSON200

func (r GetSubmissionResponse) GetJSON200() *Submission

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetSubmissionResponse) Status

func (r GetSubmissionResponse) Status() string

Status returns HTTPResponse.Status

func (GetSubmissionResponse) StatusCode

func (r GetSubmissionResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetValueHistoryResponse

type GetValueHistoryResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ValueHistory
	// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
	ApplicationproblemJSON401 *Unauthorized
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *InternalError
}

func ParseGetValueHistoryResponse

func ParseGetValueHistoryResponse(rsp *http.Response) (*GetValueHistoryResponse, error)

ParseGetValueHistoryResponse parses an HTTP response from a GetValueHistoryWithResponse call

func (GetValueHistoryResponse) ContentType

func (r GetValueHistoryResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetValueHistoryResponse) GetApplicationproblemJSON401

func (r GetValueHistoryResponse) GetApplicationproblemJSON401() *Unauthorized

GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response

func (GetValueHistoryResponse) GetApplicationproblemJSONDefault

func (r GetValueHistoryResponse) GetApplicationproblemJSONDefault() *InternalError

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (GetValueHistoryResponse) GetBody

func (r GetValueHistoryResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetValueHistoryResponse) GetJSON200

func (r GetValueHistoryResponse) GetJSON200() *ValueHistory

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetValueHistoryResponse) Status

func (r GetValueHistoryResponse) Status() string

Status returns HTTPResponse.Status

func (GetValueHistoryResponse) StatusCode

func (r GetValueHistoryResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type HttpRequestDoer

type HttpRequestDoer interface {
	Do(req *http.Request) (*http.Response, error)
}

Doer performs HTTP requests.

The standard http.Client implements this interface.

type InternalError

type InternalError = externalRef0.Problem

InternalError defines model for InternalError.

type InternalNormalizePlatformsResponse

type InternalNormalizePlatformsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *NormalizeResult
	// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
	ApplicationproblemJSON401 *Unauthorized
	// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
	ApplicationproblemJSON403 *Forbidden
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *InternalError
}

func ParseInternalNormalizePlatformsResponse

func ParseInternalNormalizePlatformsResponse(rsp *http.Response) (*InternalNormalizePlatformsResponse, error)

ParseInternalNormalizePlatformsResponse parses an HTTP response from a InternalNormalizePlatformsWithResponse call

func (InternalNormalizePlatformsResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (InternalNormalizePlatformsResponse) GetApplicationproblemJSON401

func (r InternalNormalizePlatformsResponse) GetApplicationproblemJSON401() *Unauthorized

GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response

func (InternalNormalizePlatformsResponse) GetApplicationproblemJSON403

func (r InternalNormalizePlatformsResponse) GetApplicationproblemJSON403() *Forbidden

GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response

func (InternalNormalizePlatformsResponse) GetApplicationproblemJSONDefault

func (r InternalNormalizePlatformsResponse) GetApplicationproblemJSONDefault() *InternalError

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (InternalNormalizePlatformsResponse) GetBody

GetBody returns the raw response body bytes

func (InternalNormalizePlatformsResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (InternalNormalizePlatformsResponse) Status

Status returns HTTPResponse.Status

func (InternalNormalizePlatformsResponse) StatusCode

func (r InternalNormalizePlatformsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type InternalNormalizeRegionsResponse

type InternalNormalizeRegionsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *NormalizeResult
	// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
	ApplicationproblemJSON401 *Unauthorized
	// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
	ApplicationproblemJSON403 *Forbidden
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *InternalError
}

func ParseInternalNormalizeRegionsResponse

func ParseInternalNormalizeRegionsResponse(rsp *http.Response) (*InternalNormalizeRegionsResponse, error)

ParseInternalNormalizeRegionsResponse parses an HTTP response from a InternalNormalizeRegionsWithResponse call

func (InternalNormalizeRegionsResponse) ContentType

func (r InternalNormalizeRegionsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (InternalNormalizeRegionsResponse) GetApplicationproblemJSON401

func (r InternalNormalizeRegionsResponse) GetApplicationproblemJSON401() *Unauthorized

GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response

func (InternalNormalizeRegionsResponse) GetApplicationproblemJSON403

func (r InternalNormalizeRegionsResponse) GetApplicationproblemJSON403() *Forbidden

GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response

func (InternalNormalizeRegionsResponse) GetApplicationproblemJSONDefault

func (r InternalNormalizeRegionsResponse) GetApplicationproblemJSONDefault() *InternalError

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (InternalNormalizeRegionsResponse) GetBody

func (r InternalNormalizeRegionsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (InternalNormalizeRegionsResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (InternalNormalizeRegionsResponse) Status

Status returns HTTPResponse.Status

func (InternalNormalizeRegionsResponse) StatusCode

func (r InternalNormalizeRegionsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type InternalRematchEntriesResponse

type InternalRematchEntriesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON202 the response for an HTTP 202 `application/json` response
	JSON202 *RematchAccepted
	// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
	ApplicationproblemJSON401 *Unauthorized
	// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
	ApplicationproblemJSON403 *Forbidden
	// ApplicationproblemJSON409 the response for an HTTP 409 `application/problem+json` response
	ApplicationproblemJSON409 *Conflict
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *InternalError
}

func ParseInternalRematchEntriesResponse

func ParseInternalRematchEntriesResponse(rsp *http.Response) (*InternalRematchEntriesResponse, error)

ParseInternalRematchEntriesResponse parses an HTTP response from a InternalRematchEntriesWithResponse call

func (InternalRematchEntriesResponse) ContentType

func (r InternalRematchEntriesResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (InternalRematchEntriesResponse) GetApplicationproblemJSON401

func (r InternalRematchEntriesResponse) GetApplicationproblemJSON401() *Unauthorized

GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response

func (InternalRematchEntriesResponse) GetApplicationproblemJSON403

func (r InternalRematchEntriesResponse) GetApplicationproblemJSON403() *Forbidden

GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response

func (InternalRematchEntriesResponse) GetApplicationproblemJSON409

func (r InternalRematchEntriesResponse) GetApplicationproblemJSON409() *Conflict

GetApplicationproblemJSON409 returns the response for an HTTP 409 `application/problem+json` response

func (InternalRematchEntriesResponse) GetApplicationproblemJSONDefault

func (r InternalRematchEntriesResponse) GetApplicationproblemJSONDefault() *InternalError

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (InternalRematchEntriesResponse) GetBody

func (r InternalRematchEntriesResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (InternalRematchEntriesResponse) GetJSON202

GetJSON202 returns the response for an HTTP 202 `application/json` response

func (InternalRematchEntriesResponse) Status

Status returns HTTPResponse.Status

func (InternalRematchEntriesResponse) StatusCode

func (r InternalRematchEntriesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type InternalResnapshotResponse

type InternalResnapshotResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ResnapshotResult
	// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
	ApplicationproblemJSON401 *Unauthorized
	// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
	ApplicationproblemJSON403 *Forbidden
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *InternalError
}

func ParseInternalResnapshotResponse

func ParseInternalResnapshotResponse(rsp *http.Response) (*InternalResnapshotResponse, error)

ParseInternalResnapshotResponse parses an HTTP response from a InternalResnapshotWithResponse call

func (InternalResnapshotResponse) ContentType

func (r InternalResnapshotResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (InternalResnapshotResponse) GetApplicationproblemJSON401

func (r InternalResnapshotResponse) GetApplicationproblemJSON401() *Unauthorized

GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response

func (InternalResnapshotResponse) GetApplicationproblemJSON403

func (r InternalResnapshotResponse) GetApplicationproblemJSON403() *Forbidden

GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response

func (InternalResnapshotResponse) GetApplicationproblemJSONDefault

func (r InternalResnapshotResponse) GetApplicationproblemJSONDefault() *InternalError

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (InternalResnapshotResponse) GetBody

func (r InternalResnapshotResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (InternalResnapshotResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (InternalResnapshotResponse) Status

Status returns HTTPResponse.Status

func (InternalResnapshotResponse) StatusCode

func (r InternalResnapshotResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type LibraryEntry

type LibraryEntry = externalRef0.LibraryEntry

LibraryEntry defines model for LibraryEntry.

type LibrarySummary

type LibrarySummary struct {
	Library []LibraryEntry `json:"library"`
}

LibrarySummary defines model for LibrarySummary.

type ListEntriesParams

type ListEntriesParams struct {
	ItemType  *externalRef0.EntriesItemType  `form:"item_type,omitempty" json:"item_type,omitempty"`
	Status    *externalRef0.StatusFilter     `form:"status,omitempty" json:"status,omitempty"`
	Packaging *externalRef0.EntriesPackaging `form:"packaging,omitempty" json:"packaging,omitempty"`

	// Region Known-value buckets; other stored strings only surface unfiltered.
	Region *externalRef0.EntriesRegion `form:"region,omitempty" json:"region,omitempty"`

	// Developer Developer names; an entry matches when any of its snapshotted developers is listed.
	Developer *externalRef0.EntriesDeveloper `form:"developer,omitempty" json:"developer,omitempty"`

	// Publisher Publisher names; same overlap matching as developer.
	Publisher     *externalRef0.EntriesPublisher     `form:"publisher,omitempty" json:"publisher,omitempty"`
	ItemCondition *externalRef0.EntriesItemCondition `form:"item_condition,omitempty" json:"item_condition,omitempty"`

	// PlatformId IGDB platform ids (matches the creation-time snapshot).
	PlatformId *externalRef0.PlatformId `form:"platform_id,omitempty" json:"platform_id,omitempty"`

	// TagId Entries carrying ALL listed tags.
	TagId   *externalRef0.EntriesTagId `form:"tag_id,omitempty" json:"tag_id,omitempty"`
	Sort    *ListEntriesParamsSort     `form:"sort,omitempty" json:"sort,omitempty"`
	Order   *ListEntriesParamsOrder    `form:"order,omitempty" json:"order,omitempty"`
	GroupBy *ListEntriesParamsGroupBy  `form:"group_by,omitempty" json:"group_by,omitempty"`
	Limit   *int                       `form:"limit,omitempty" json:"limit,omitempty"`
	Offset  *externalRef0.Offset       `form:"offset,omitempty" json:"offset,omitempty"`
}

ListEntriesParams defines parameters for ListEntries.

type ListEntriesParamsGroupBy

type ListEntriesParamsGroupBy string

ListEntriesParamsGroupBy defines parameters for ListEntries.

const (
	ListEntriesParamsGroupByItemType ListEntriesParamsGroupBy = "item_type"
	ListEntriesParamsGroupByLocation ListEntriesParamsGroupBy = "location"
	ListEntriesParamsGroupByPlatform ListEntriesParamsGroupBy = "platform"
	ListEntriesParamsGroupByStatus   ListEntriesParamsGroupBy = "status"
	ListEntriesParamsGroupByTag      ListEntriesParamsGroupBy = "tag"
)

Defines values for ListEntriesParamsGroupBy.

func (ListEntriesParamsGroupBy) Valid

func (e ListEntriesParamsGroupBy) Valid() bool

Valid indicates whether the value is a known member of the ListEntriesParamsGroupBy enum.

type ListEntriesParamsOrder

type ListEntriesParamsOrder string

ListEntriesParamsOrder defines parameters for ListEntries.

const (
	Asc  ListEntriesParamsOrder = "asc"
	Desc ListEntriesParamsOrder = "desc"
)

Defines values for ListEntriesParamsOrder.

func (ListEntriesParamsOrder) Valid

func (e ListEntriesParamsOrder) Valid() bool

Valid indicates whether the value is a known member of the ListEntriesParamsOrder enum.

type ListEntriesParamsSort

type ListEntriesParamsSort string

ListEntriesParamsSort defines parameters for ListEntries.

const (
	BacklogRank ListEntriesParamsSort = "backlog_rank"
	CreatedAt   ListEntriesParamsSort = "created_at"
	Name        ListEntriesParamsSort = "name"
	PurchasedAt ListEntriesParamsSort = "purchased_at"
	Rating      ListEntriesParamsSort = "rating"
	ReleaseDate ListEntriesParamsSort = "release_date"
	Value       ListEntriesParamsSort = "value"
)

Defines values for ListEntriesParamsSort.

func (ListEntriesParamsSort) Valid

func (e ListEntriesParamsSort) Valid() bool

Valid indicates whether the value is a known member of the ListEntriesParamsSort enum.

type ListEntriesResponse

type ListEntriesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *EntryList
	// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
	ApplicationproblemJSON400 *BadRequest
	// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
	ApplicationproblemJSON401 *Unauthorized
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *InternalError
}

func ParseListEntriesResponse

func ParseListEntriesResponse(rsp *http.Response) (*ListEntriesResponse, error)

ParseListEntriesResponse parses an HTTP response from a ListEntriesWithResponse call

func (ListEntriesResponse) ContentType

func (r ListEntriesResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ListEntriesResponse) GetApplicationproblemJSON400

func (r ListEntriesResponse) GetApplicationproblemJSON400() *BadRequest

GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response

func (ListEntriesResponse) GetApplicationproblemJSON401

func (r ListEntriesResponse) GetApplicationproblemJSON401() *Unauthorized

GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response

func (ListEntriesResponse) GetApplicationproblemJSONDefault

func (r ListEntriesResponse) GetApplicationproblemJSONDefault() *InternalError

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (ListEntriesResponse) GetBody

func (r ListEntriesResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (ListEntriesResponse) GetJSON200

func (r ListEntriesResponse) GetJSON200() *EntryList

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ListEntriesResponse) Status

func (r ListEntriesResponse) Status() string

Status returns HTTPResponse.Status

func (ListEntriesResponse) StatusCode

func (r ListEntriesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListSharedShelfEntriesParams

type ListSharedShelfEntriesParams struct {
	Limit  *int                 `form:"limit,omitempty" json:"limit,omitempty"`
	Offset *externalRef0.Offset `form:"offset,omitempty" json:"offset,omitempty"`
}

ListSharedShelfEntriesParams defines parameters for ListSharedShelfEntries.

type ListSharedShelfEntriesResponse

type ListSharedShelfEntriesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *SharedEntryList
	// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
	ApplicationproblemJSON400 *BadRequest
	// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
	ApplicationproblemJSON401 *Unauthorized
	// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
	ApplicationproblemJSON404 *NotFound
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *InternalError
}

func ParseListSharedShelfEntriesResponse

func ParseListSharedShelfEntriesResponse(rsp *http.Response) (*ListSharedShelfEntriesResponse, error)

ParseListSharedShelfEntriesResponse parses an HTTP response from a ListSharedShelfEntriesWithResponse call

func (ListSharedShelfEntriesResponse) ContentType

func (r ListSharedShelfEntriesResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ListSharedShelfEntriesResponse) GetApplicationproblemJSON400

func (r ListSharedShelfEntriesResponse) GetApplicationproblemJSON400() *BadRequest

GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response

func (ListSharedShelfEntriesResponse) GetApplicationproblemJSON401

func (r ListSharedShelfEntriesResponse) GetApplicationproblemJSON401() *Unauthorized

GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response

func (ListSharedShelfEntriesResponse) GetApplicationproblemJSON404

func (r ListSharedShelfEntriesResponse) GetApplicationproblemJSON404() *NotFound

GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response

func (ListSharedShelfEntriesResponse) GetApplicationproblemJSONDefault

func (r ListSharedShelfEntriesResponse) GetApplicationproblemJSONDefault() *InternalError

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (ListSharedShelfEntriesResponse) GetBody

func (r ListSharedShelfEntriesResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (ListSharedShelfEntriesResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ListSharedShelfEntriesResponse) Status

Status returns HTTPResponse.Status

func (ListSharedShelfEntriesResponse) StatusCode

func (r ListSharedShelfEntriesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListSharedShelvesParams

type ListSharedShelvesParams struct {
	// OwnerIds Omit to page across all listed shelves; when present, at most 5000 owner ids to scope the page to.
	OwnerIds *[]openapi_types.UUID `form:"owner_ids,omitempty" json:"owner_ids,omitempty"`
	Limit    *int                  `form:"limit,omitempty" json:"limit,omitempty"`
	Offset   *externalRef0.Offset  `form:"offset,omitempty" json:"offset,omitempty"`
}

ListSharedShelvesParams defines parameters for ListSharedShelves.

type ListSharedShelvesResponse

type ListSharedShelvesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *struct {
		Shelves    []SharedShelfSummary `json:"shelves"`
		TotalCount int                  `json:"total_count"`
	}
	// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
	ApplicationproblemJSON400 *BadRequest
	// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
	ApplicationproblemJSON401 *Unauthorized
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *InternalError
}

func ParseListSharedShelvesResponse

func ParseListSharedShelvesResponse(rsp *http.Response) (*ListSharedShelvesResponse, error)

ParseListSharedShelvesResponse parses an HTTP response from a ListSharedShelvesWithResponse call

func (ListSharedShelvesResponse) ContentType

func (r ListSharedShelvesResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ListSharedShelvesResponse) GetApplicationproblemJSON400

func (r ListSharedShelvesResponse) GetApplicationproblemJSON400() *BadRequest

GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response

func (ListSharedShelvesResponse) GetApplicationproblemJSON401

func (r ListSharedShelvesResponse) GetApplicationproblemJSON401() *Unauthorized

GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response

func (ListSharedShelvesResponse) GetApplicationproblemJSONDefault

func (r ListSharedShelvesResponse) GetApplicationproblemJSONDefault() *InternalError

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (ListSharedShelvesResponse) GetBody

func (r ListSharedShelvesResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (ListSharedShelvesResponse) GetJSON200

func (r ListSharedShelvesResponse) GetJSON200() *struct {
	Shelves    []SharedShelfSummary `json:"shelves"`
	TotalCount int                  `json:"total_count"`
}

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ListSharedShelvesResponse) Status

func (r ListSharedShelvesResponse) Status() string

Status returns HTTPResponse.Status

func (ListSharedShelvesResponse) StatusCode

func (r ListSharedShelvesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListSubmissionsParams

type ListSubmissionsParams struct {
	Limit  *int                 `form:"limit,omitempty" json:"limit,omitempty"`
	Offset *externalRef0.Offset `form:"offset,omitempty" json:"offset,omitempty"`
}

ListSubmissionsParams defines parameters for ListSubmissions.

type ListSubmissionsResponse

type ListSubmissionsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *AdminSubmissionsPage
	// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
	ApplicationproblemJSON400 *BadRequest
	// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
	ApplicationproblemJSON401 *Unauthorized
	// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
	ApplicationproblemJSON403 *Forbidden
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *InternalError
}

func ParseListSubmissionsResponse

func ParseListSubmissionsResponse(rsp *http.Response) (*ListSubmissionsResponse, error)

ParseListSubmissionsResponse parses an HTTP response from a ListSubmissionsWithResponse call

func (ListSubmissionsResponse) ContentType

func (r ListSubmissionsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ListSubmissionsResponse) GetApplicationproblemJSON400

func (r ListSubmissionsResponse) GetApplicationproblemJSON400() *BadRequest

GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response

func (ListSubmissionsResponse) GetApplicationproblemJSON401

func (r ListSubmissionsResponse) GetApplicationproblemJSON401() *Unauthorized

GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response

func (ListSubmissionsResponse) GetApplicationproblemJSON403

func (r ListSubmissionsResponse) GetApplicationproblemJSON403() *Forbidden

GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response

func (ListSubmissionsResponse) GetApplicationproblemJSONDefault

func (r ListSubmissionsResponse) GetApplicationproblemJSONDefault() *InternalError

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (ListSubmissionsResponse) GetBody

func (r ListSubmissionsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (ListSubmissionsResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ListSubmissionsResponse) Status

func (r ListSubmissionsResponse) Status() string

Status returns HTTPResponse.Status

func (ListSubmissionsResponse) StatusCode

func (r ListSubmissionsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListTagsResponse

type ListTagsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *struct {
		Tags []Tag `json:"tags"`
	}
	// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
	ApplicationproblemJSON401 *Unauthorized
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *InternalError
}

func ParseListTagsResponse

func ParseListTagsResponse(rsp *http.Response) (*ListTagsResponse, error)

ParseListTagsResponse parses an HTTP response from a ListTagsWithResponse call

func (ListTagsResponse) ContentType

func (r ListTagsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ListTagsResponse) GetApplicationproblemJSON401

func (r ListTagsResponse) GetApplicationproblemJSON401() *Unauthorized

GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response

func (ListTagsResponse) GetApplicationproblemJSONDefault

func (r ListTagsResponse) GetApplicationproblemJSONDefault() *InternalError

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (ListTagsResponse) GetBody

func (r ListTagsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (ListTagsResponse) GetJSON200

func (r ListTagsResponse) GetJSON200() *struct {
	Tags []Tag `json:"tags"`
}

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ListTagsResponse) Status

func (r ListTagsResponse) Status() string

Status returns HTTPResponse.Status

func (ListTagsResponse) StatusCode

func (r ListTagsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListViewsResponse

type ListViewsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *struct {
		Views []SavedView `json:"views"`
	}
	// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
	ApplicationproblemJSON401 *Unauthorized
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *InternalError
}

func ParseListViewsResponse

func ParseListViewsResponse(rsp *http.Response) (*ListViewsResponse, error)

ParseListViewsResponse parses an HTTP response from a ListViewsWithResponse call

func (ListViewsResponse) ContentType

func (r ListViewsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ListViewsResponse) GetApplicationproblemJSON401

func (r ListViewsResponse) GetApplicationproblemJSON401() *Unauthorized

GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response

func (ListViewsResponse) GetApplicationproblemJSONDefault

func (r ListViewsResponse) GetApplicationproblemJSONDefault() *InternalError

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (ListViewsResponse) GetBody

func (r ListViewsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (ListViewsResponse) GetJSON200

func (r ListViewsResponse) GetJSON200() *struct {
	Views []SavedView `json:"views"`
}

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ListViewsResponse) Status

func (r ListViewsResponse) Status() string

Status returns HTTPResponse.Status

func (ListViewsResponse) StatusCode

func (r ListViewsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type NormalizeResult

type NormalizeResult = externalRef0.NormalizeResult

NormalizeResult defines model for NormalizeResult.

type NotFound

type NotFound = externalRef0.Problem

NotFound defines model for NotFound.

type PurgeUserDataResponse

type PurgeUserDataResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
	ApplicationproblemJSON401 *Unauthorized
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *InternalError
}

func ParsePurgeUserDataResponse

func ParsePurgeUserDataResponse(rsp *http.Response) (*PurgeUserDataResponse, error)

ParsePurgeUserDataResponse parses an HTTP response from a PurgeUserDataWithResponse call

func (PurgeUserDataResponse) ContentType

func (r PurgeUserDataResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PurgeUserDataResponse) GetApplicationproblemJSON401

func (r PurgeUserDataResponse) GetApplicationproblemJSON401() *Unauthorized

GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response

func (PurgeUserDataResponse) GetApplicationproblemJSONDefault

func (r PurgeUserDataResponse) GetApplicationproblemJSONDefault() *InternalError

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (PurgeUserDataResponse) GetBody

func (r PurgeUserDataResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (PurgeUserDataResponse) Status

func (r PurgeUserDataResponse) Status() string

Status returns HTTPResponse.Status

func (PurgeUserDataResponse) StatusCode

func (r PurgeUserDataResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type RematchAccepted

type RematchAccepted = externalRef0.RematchAccepted

RematchAccepted defines model for RematchAccepted.

type RenameTagJSONRequestBody

type RenameTagJSONRequestBody = TagCreate

RenameTagJSONRequestBody defines body for RenameTag for application/json ContentType.

type RenameTagResponse

type RenameTagResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *Tag
	// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
	ApplicationproblemJSON400 *BadRequest
	// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
	ApplicationproblemJSON401 *Unauthorized
	// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
	ApplicationproblemJSON404 *NotFound
	// ApplicationproblemJSON409 the response for an HTTP 409 `application/problem+json` response
	ApplicationproblemJSON409 *Conflict
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *InternalError
}

func ParseRenameTagResponse

func ParseRenameTagResponse(rsp *http.Response) (*RenameTagResponse, error)

ParseRenameTagResponse parses an HTTP response from a RenameTagWithResponse call

func (RenameTagResponse) ContentType

func (r RenameTagResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (RenameTagResponse) GetApplicationproblemJSON400

func (r RenameTagResponse) GetApplicationproblemJSON400() *BadRequest

GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response

func (RenameTagResponse) GetApplicationproblemJSON401

func (r RenameTagResponse) GetApplicationproblemJSON401() *Unauthorized

GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response

func (RenameTagResponse) GetApplicationproblemJSON404

func (r RenameTagResponse) GetApplicationproblemJSON404() *NotFound

GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response

func (RenameTagResponse) GetApplicationproblemJSON409

func (r RenameTagResponse) GetApplicationproblemJSON409() *Conflict

GetApplicationproblemJSON409 returns the response for an HTTP 409 `application/problem+json` response

func (RenameTagResponse) GetApplicationproblemJSONDefault

func (r RenameTagResponse) GetApplicationproblemJSONDefault() *InternalError

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (RenameTagResponse) GetBody

func (r RenameTagResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (RenameTagResponse) GetJSON200

func (r RenameTagResponse) GetJSON200() *Tag

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (RenameTagResponse) Status

func (r RenameTagResponse) Status() string

Status returns HTTPResponse.Status

func (RenameTagResponse) StatusCode

func (r RenameTagResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ReorderEntryJSONRequestBody

type ReorderEntryJSONRequestBody = ReorderRequest

ReorderEntryJSONRequestBody defines body for ReorderEntry for application/json ContentType.

type ReorderEntryResponse

type ReorderEntryResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *Entry
	// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
	ApplicationproblemJSON400 *BadRequest
	// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
	ApplicationproblemJSON401 *Unauthorized
	// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
	ApplicationproblemJSON404 *NotFound
	// ApplicationproblemJSON409 the response for an HTTP 409 `application/problem+json` response
	ApplicationproblemJSON409 *Conflict
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *InternalError
}

func ParseReorderEntryResponse

func ParseReorderEntryResponse(rsp *http.Response) (*ReorderEntryResponse, error)

ParseReorderEntryResponse parses an HTTP response from a ReorderEntryWithResponse call

func (ReorderEntryResponse) ContentType

func (r ReorderEntryResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ReorderEntryResponse) GetApplicationproblemJSON400

func (r ReorderEntryResponse) GetApplicationproblemJSON400() *BadRequest

GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response

func (ReorderEntryResponse) GetApplicationproblemJSON401

func (r ReorderEntryResponse) GetApplicationproblemJSON401() *Unauthorized

GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response

func (ReorderEntryResponse) GetApplicationproblemJSON404

func (r ReorderEntryResponse) GetApplicationproblemJSON404() *NotFound

GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response

func (ReorderEntryResponse) GetApplicationproblemJSON409

func (r ReorderEntryResponse) GetApplicationproblemJSON409() *Conflict

GetApplicationproblemJSON409 returns the response for an HTTP 409 `application/problem+json` response

func (ReorderEntryResponse) GetApplicationproblemJSONDefault

func (r ReorderEntryResponse) GetApplicationproblemJSONDefault() *InternalError

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (ReorderEntryResponse) GetBody

func (r ReorderEntryResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (ReorderEntryResponse) GetJSON200

func (r ReorderEntryResponse) GetJSON200() *Entry

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ReorderEntryResponse) Status

func (r ReorderEntryResponse) Status() string

Status returns HTTPResponse.Status

func (ReorderEntryResponse) StatusCode

func (r ReorderEntryResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ReorderRequest

type ReorderRequest = externalRef0.ReorderRequest

ReorderRequest Neighbor entry ids around the drop slot; null marks a list edge. Both null is invalid.

type RequestEditorFn

type RequestEditorFn func(ctx context.Context, req *http.Request) error

RequestEditorFn is the function signature for the RequestEditor callback function

type ResnapshotResult

type ResnapshotResult = externalRef0.ResnapshotResult

ResnapshotResult defines model for ResnapshotResult.

type SavedView

type SavedView = externalRef0.SavedView

SavedView defines model for SavedView.

type SharedEntryList

type SharedEntryList = externalRef0.SharedEntryList

SharedEntryList Exactly one of entries/groups is present (groups when the stored params group).

type SharedShelf

type SharedShelf struct {
	Id          openapi_types.UUID     `json:"id"`
	Name        string                 `json:"name"`
	OwnerId     openapi_types.UUID     `json:"owner_id"`
	Params      map[string]interface{} `json:"params"`
	PublishedAt *time.Time             `json:"published_at,omitempty"`
	Slug        string                 `json:"slug"`
	Visibility  SharedShelfVisibility  `json:"visibility"`
}

SharedShelf defines model for SharedShelf.

type SharedShelfSummary

type SharedShelfSummary struct {
	CoverUrls   []string           `json:"cover_urls"`
	EntryCount  int                `json:"entry_count"`
	Id          openapi_types.UUID `json:"id"`
	Name        string             `json:"name"`
	OwnerId     openapi_types.UUID `json:"owner_id"`
	PublishedAt *time.Time         `json:"published_at,omitempty"`
	Slug        string             `json:"slug"`

	// Visibility The bff's Explore/feed gating reads this (listed-only surfaces).
	Visibility SharedShelfVisibility `json:"visibility"`
}

SharedShelfSummary defines model for SharedShelfSummary.

type SharedShelfVisibility

type SharedShelfVisibility string

SharedShelfVisibility defines model for SharedShelfVisibility.

const (
	Listed   SharedShelfVisibility = "listed"
	Unlisted SharedShelfVisibility = "unlisted"
)

Defines values for SharedShelfVisibility.

func (SharedShelfVisibility) Valid

func (e SharedShelfVisibility) Valid() bool

Valid indicates whether the value is a known member of the SharedShelfVisibility enum.

type Submission

type Submission = externalRef0.Submission

Submission One catalog-submission lifecycle row for an entry. Rows persist as history (rejected and cancelled included; the rolling creation cap counts every attempt); deleting the entry removes them with it. product_id is the verdict's resolved product - recorded before adoption so an approve_new retry never mints twice.

type SubmitVerdictJSONRequestBody

type SubmitVerdictJSONRequestBody = VerdictRequest

SubmitVerdictJSONRequestBody defines body for SubmitVerdict for application/json ContentType.

type SubmitVerdictResponse

type SubmitVerdictResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *Submission
	// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
	ApplicationproblemJSON400 *BadRequest
	// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
	ApplicationproblemJSON401 *Unauthorized
	// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
	ApplicationproblemJSON403 *Forbidden
	// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
	ApplicationproblemJSON404 *NotFound
	// ApplicationproblemJSON409 the response for an HTTP 409 `application/problem+json` response
	ApplicationproblemJSON409 *Conflict
	// ApplicationproblemJSON502 the response for an HTTP 502 `application/problem+json` response
	ApplicationproblemJSON502 *UpstreamError
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *InternalError
}

func ParseSubmitVerdictResponse

func ParseSubmitVerdictResponse(rsp *http.Response) (*SubmitVerdictResponse, error)

ParseSubmitVerdictResponse parses an HTTP response from a SubmitVerdictWithResponse call

func (SubmitVerdictResponse) ContentType

func (r SubmitVerdictResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (SubmitVerdictResponse) GetApplicationproblemJSON400

func (r SubmitVerdictResponse) GetApplicationproblemJSON400() *BadRequest

GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response

func (SubmitVerdictResponse) GetApplicationproblemJSON401

func (r SubmitVerdictResponse) GetApplicationproblemJSON401() *Unauthorized

GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response

func (SubmitVerdictResponse) GetApplicationproblemJSON403

func (r SubmitVerdictResponse) GetApplicationproblemJSON403() *Forbidden

GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response

func (SubmitVerdictResponse) GetApplicationproblemJSON404

func (r SubmitVerdictResponse) GetApplicationproblemJSON404() *NotFound

GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response

func (SubmitVerdictResponse) GetApplicationproblemJSON409

func (r SubmitVerdictResponse) GetApplicationproblemJSON409() *Conflict

GetApplicationproblemJSON409 returns the response for an HTTP 409 `application/problem+json` response

func (SubmitVerdictResponse) GetApplicationproblemJSON502

func (r SubmitVerdictResponse) GetApplicationproblemJSON502() *UpstreamError

GetApplicationproblemJSON502 returns the response for an HTTP 502 `application/problem+json` response

func (SubmitVerdictResponse) GetApplicationproblemJSONDefault

func (r SubmitVerdictResponse) GetApplicationproblemJSONDefault() *InternalError

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (SubmitVerdictResponse) GetBody

func (r SubmitVerdictResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (SubmitVerdictResponse) GetJSON200

func (r SubmitVerdictResponse) GetJSON200() *Submission

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (SubmitVerdictResponse) Status

func (r SubmitVerdictResponse) Status() string

Status returns HTTPResponse.Status

func (SubmitVerdictResponse) StatusCode

func (r SubmitVerdictResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type Tag

type Tag = externalRef0.Tag

Tag defines model for Tag.

type TagCreate

type TagCreate = externalRef0.TagCreate

TagCreate defines model for TagCreate.

type TooManyRequests

type TooManyRequests = externalRef0.Problem

TooManyRequests defines model for TooManyRequests.

type Unauthorized

type Unauthorized = externalRef0.Problem

Unauthorized defines model for Unauthorized.

type UpdateEntryJSONRequestBody

type UpdateEntryJSONRequestBody = EntryUpdate

UpdateEntryJSONRequestBody defines body for UpdateEntry for application/json ContentType.

type UpdateEntryResponse

type UpdateEntryResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *Entry
	// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
	ApplicationproblemJSON400 *BadRequest
	// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
	ApplicationproblemJSON401 *Unauthorized
	// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
	ApplicationproblemJSON404 *NotFound
	// ApplicationproblemJSON502 the response for an HTTP 502 `application/problem+json` response
	ApplicationproblemJSON502 *UpstreamError
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *InternalError
}

func ParseUpdateEntryResponse

func ParseUpdateEntryResponse(rsp *http.Response) (*UpdateEntryResponse, error)

ParseUpdateEntryResponse parses an HTTP response from a UpdateEntryWithResponse call

func (UpdateEntryResponse) ContentType

func (r UpdateEntryResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (UpdateEntryResponse) GetApplicationproblemJSON400

func (r UpdateEntryResponse) GetApplicationproblemJSON400() *BadRequest

GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response

func (UpdateEntryResponse) GetApplicationproblemJSON401

func (r UpdateEntryResponse) GetApplicationproblemJSON401() *Unauthorized

GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response

func (UpdateEntryResponse) GetApplicationproblemJSON404

func (r UpdateEntryResponse) GetApplicationproblemJSON404() *NotFound

GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response

func (UpdateEntryResponse) GetApplicationproblemJSON502

func (r UpdateEntryResponse) GetApplicationproblemJSON502() *UpstreamError

GetApplicationproblemJSON502 returns the response for an HTTP 502 `application/problem+json` response

func (UpdateEntryResponse) GetApplicationproblemJSONDefault

func (r UpdateEntryResponse) GetApplicationproblemJSONDefault() *InternalError

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (UpdateEntryResponse) GetBody

func (r UpdateEntryResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (UpdateEntryResponse) GetJSON200

func (r UpdateEntryResponse) GetJSON200() *Entry

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (UpdateEntryResponse) Status

func (r UpdateEntryResponse) Status() string

Status returns HTTPResponse.Status

func (UpdateEntryResponse) StatusCode

func (r UpdateEntryResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateViewJSONRequestBody

type UpdateViewJSONRequestBody = ViewCreate

UpdateViewJSONRequestBody defines body for UpdateView for application/json ContentType.

type UpdateViewResponse

type UpdateViewResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *SavedView
	// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
	ApplicationproblemJSON400 *BadRequest
	// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
	ApplicationproblemJSON401 *Unauthorized
	// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
	ApplicationproblemJSON404 *NotFound
	// ApplicationproblemJSON409 the response for an HTTP 409 `application/problem+json` response
	ApplicationproblemJSON409 *Conflict
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *InternalError
}

func ParseUpdateViewResponse

func ParseUpdateViewResponse(rsp *http.Response) (*UpdateViewResponse, error)

ParseUpdateViewResponse parses an HTTP response from a UpdateViewWithResponse call

func (UpdateViewResponse) ContentType

func (r UpdateViewResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (UpdateViewResponse) GetApplicationproblemJSON400

func (r UpdateViewResponse) GetApplicationproblemJSON400() *BadRequest

GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response

func (UpdateViewResponse) GetApplicationproblemJSON401

func (r UpdateViewResponse) GetApplicationproblemJSON401() *Unauthorized

GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response

func (UpdateViewResponse) GetApplicationproblemJSON404

func (r UpdateViewResponse) GetApplicationproblemJSON404() *NotFound

GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response

func (UpdateViewResponse) GetApplicationproblemJSON409

func (r UpdateViewResponse) GetApplicationproblemJSON409() *Conflict

GetApplicationproblemJSON409 returns the response for an HTTP 409 `application/problem+json` response

func (UpdateViewResponse) GetApplicationproblemJSONDefault

func (r UpdateViewResponse) GetApplicationproblemJSONDefault() *InternalError

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (UpdateViewResponse) GetBody

func (r UpdateViewResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (UpdateViewResponse) GetJSON200

func (r UpdateViewResponse) GetJSON200() *SavedView

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (UpdateViewResponse) Status

func (r UpdateViewResponse) Status() string

Status returns HTTPResponse.Status

func (UpdateViewResponse) StatusCode

func (r UpdateViewResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpstreamError

type UpstreamError = externalRef0.Problem

UpstreamError defines model for UpstreamError.

type ValueHistory

type ValueHistory = externalRef0.ValueHistory

ValueHistory defines model for ValueHistory.

type VerdictRequest

type VerdictRequest = externalRef0.VerdictRequest

VerdictRequest One admin verdict. approve_new requires product; approve_existing requires product_id; reject requires reason.

type ViewCreate

type ViewCreate = externalRef0.ViewCreate

ViewCreate defines model for ViewCreate.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL