Versions in this module Expand all Collapse all v0 v0.2.0 Oct 23, 2025 v0.1.0 Oct 23, 2025 Changes in this version + const BearerAuthScopes + func NewAuthenticateRequestWithBody(server string, params *AuthenticateParams, contentType string, body io.Reader) (*http.Request, error) + func NewAuthenticateRequestWithFormdataBody(server string, params *AuthenticateParams, ...) (*http.Request, error) + func NewDownloadFileRequest(server string, productId int, deliveryId int, fileId int) (*http.Request, error) + func NewGetProductRequest(server string, productId int) (*http.Request, error) + func NewListProductsRequest(server string) (*http.Request, error) + type AuthenticateFormdataBody struct + GrantType AuthenticateFormdataBodyGrantType + Password string + Scope AuthenticateFormdataBodyScope + Username string + type AuthenticateFormdataBodyGrantType string + const Password + type AuthenticateFormdataBodyScope string + const Openid + type AuthenticateFormdataRequestBody AuthenticateFormdataBody + type AuthenticateParams struct + Authorization string + type AuthenticateResponse struct + Body []byte + HTTPResponse *http.Response + JSON200 *TokenResponse + func ParseAuthenticateResponse(rsp *http.Response) (*AuthenticateResponse, error) + func (r AuthenticateResponse) Status() string + func (r AuthenticateResponse) StatusCode() int + type Client struct + Client HttpRequestDoer + RequestEditors []RequestEditorFn + Server string + func NewClient(server string, opts ...ClientOption) (*Client, error) + func (c *Client) AuthenticateWithBody(ctx context.Context, params *AuthenticateParams, contentType string, ...) (*http.Response, error) + func (c *Client) AuthenticateWithFormdataBody(ctx context.Context, params *AuthenticateParams, ...) (*http.Response, error) + func (c *Client) DownloadFile(ctx context.Context, productId int, deliveryId int, fileId int, ...) (*http.Response, error) + func (c *Client) GetProduct(ctx context.Context, productId int, reqEditors ...RequestEditorFn) (*http.Response, error) + func (c *Client) ListProducts(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + type ClientInterface interface + AuthenticateWithBody func(ctx context.Context, params *AuthenticateParams, contentType string, ...) (*http.Response, error) + AuthenticateWithFormdataBody func(ctx context.Context, params *AuthenticateParams, ...) (*http.Response, error) + DownloadFile func(ctx context.Context, productId int, deliveryId int, fileId int, ...) (*http.Response, error) + GetProduct func(ctx context.Context, productId int, reqEditors ...RequestEditorFn) (*http.Response, error) + ListProducts func(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + type ClientOption func(*Client) error + func WithBaseURL(baseURL string) ClientOption + func WithHTTPClient(doer HttpRequestDoer) ClientOption + func WithRequestEditorFn(fn RequestEditorFn) ClientOption + type ClientWithResponses struct + func NewClientWithResponses(server string, opts ...ClientOption) (*ClientWithResponses, error) + func (c *ClientWithResponses) AuthenticateWithBodyWithResponse(ctx context.Context, params *AuthenticateParams, contentType string, ...) (*AuthenticateResponse, error) + func (c *ClientWithResponses) AuthenticateWithFormdataBodyWithResponse(ctx context.Context, params *AuthenticateParams, ...) (*AuthenticateResponse, error) + func (c *ClientWithResponses) DownloadFileWithResponse(ctx context.Context, productId int, deliveryId int, fileId int, ...) (*DownloadFileResponse, error) + func (c *ClientWithResponses) GetProductWithResponse(ctx context.Context, productId int, reqEditors ...RequestEditorFn) (*GetProductResponse, error) + func (c *ClientWithResponses) ListProductsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListProductsResponse, error) + type ClientWithResponsesInterface interface + AuthenticateWithBodyWithResponse func(ctx context.Context, params *AuthenticateParams, contentType string, ...) (*AuthenticateResponse, error) + AuthenticateWithFormdataBodyWithResponse func(ctx context.Context, params *AuthenticateParams, ...) (*AuthenticateResponse, error) + DownloadFileWithResponse func(ctx context.Context, productId int, deliveryId int, fileId int, ...) (*DownloadFileResponse, error) + GetProductWithResponse func(ctx context.Context, productId int, reqEditors ...RequestEditorFn) (*GetProductResponse, error) + ListProductsWithResponse func(ctx context.Context, reqEditors ...RequestEditorFn) (*ListProductsResponse, error) + type Delivery struct + DeliveryExpiryDatetime *time.Time + DeliveryId int + DeliveryName string + DeliveryPublicationDatetime time.Time + Files []DeliveryFile + type DeliveryFile struct + FileChecksum string + FileId int + FileName string + FilePublicationDatetime time.Time + FileSize string + type DownloadFileResponse struct + Body []byte + HTTPResponse *http.Response + func ParseDownloadFileResponse(rsp *http.Response) (*DownloadFileResponse, error) + func (r DownloadFileResponse) Status() string + func (r DownloadFileResponse) StatusCode() int + type GetProductResponse struct + Body []byte + HTTPResponse *http.Response + JSON200 *ProductWithDeliveries + func ParseGetProductResponse(rsp *http.Response) (*GetProductResponse, error) + func (r GetProductResponse) Status() string + func (r GetProductResponse) StatusCode() int + type HttpRequestDoer interface + Do func(req *http.Request) (*http.Response, error) + type ListProductsResponse struct + Body []byte + HTTPResponse *http.Response + JSON200 *[]Product + func ParseListProductsResponse(rsp *http.Response) (*ListProductsResponse, error) + func (r ListProductsResponse) Status() string + func (r ListProductsResponse) StatusCode() int + type Product struct + Description string + Id int + Name string + type ProductWithDeliveries struct + Deliveries []Delivery + Description string + Id int + Name string + type RequestEditorFn func(ctx context.Context, req *http.Request) error + type TokenResponse struct + AccessToken string + ExpiresIn int + IdToken string + Scope string + TokenType string