go_shopware_admin_sdk

package module
v0.0.0-...-3c16ae8 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2024 License: MIT Imports: 14 Imported by: 3

README

SDK for the Shopware 6 Admin API

See example folder

Create a client

Password
ctx := context.Background()

// Create a using password grant
creds := sdk.NewPasswordCredentials("<username>", "<password>", []string{"write"})
client, err := sdk.NewApiClient(ctx, "<url>", creds, nil)
Integration
ctx := context.Background()

// Create a using password grant
creds := sdk.NewIntegrationCredentials("<client-id>", "<client-secret>", []string{"write"})
client, err := sdk.NewApiClient(ctx, "<url>", creds, nil)

Usage of a repository

apiContext := sdk.NewApiContext(ctx)
criteria := sdk.Criteria{}

collection, _, _ := client.Repository.Tax.Search(apiContext, criteria)

for _, tax := range collection.Data {
    fmt.Println(tax.Name)
}
Create/Update
apiContext := sdk.NewApiContext(ctx)
client.Repository.Tax.Upsert(apiContext, []sdk.Tax{
    {TaxRate: 15, Name: "15%"},
})
Delete
apiContext := sdk.NewApiContext(ctx)
client.Repository.Tax.Delete(apiContext, []string{"someid"})

Documentation

Index

Constants

View Source
const (
	TotalCountModeDefault  = 0
	TotalCountModeExact    = 1
	TotalCountModeNextPage = 2

	SearchFilterTypeEquals    = "equals"
	SearchFilterTypeEqualsAny = "equalsAny"

	SearchSortDirectionAscending  = "ASC"
	SearchSortDirectionDescending = "DESC"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AclRole

type AclRole struct {
	UpdatedAt time.Time `json:"updatedAt,omitempty"`

	Name string `json:"name,omitempty"`

	DeletedAt time.Time `json:"deletedAt,omitempty"`

	Users []User `json:"users,omitempty"`

	App *App `json:"app,omitempty"`

	Integrations []Integration `json:"integrations,omitempty"`

	Id string `json:"id,omitempty"`

	Description string `json:"description,omitempty"`

	Privileges interface{} `json:"privileges,omitempty"`

	CreatedAt time.Time `json:"createdAt,omitempty"`
}

type AclRoleCollection

type AclRoleCollection struct {
	EntityCollection

	Data []AclRole `json:"data"`
}

type AclRoleRepository

type AclRoleRepository ClientService

func (AclRoleRepository) Delete

func (t AclRoleRepository) Delete(ctx ApiContext, ids []string) (*http.Response, error)

func (AclRoleRepository) Search

func (AclRoleRepository) SearchAll

func (t AclRoleRepository) SearchAll(ctx ApiContext, criteria Criteria) (*AclRoleCollection, *http.Response, error)

func (AclRoleRepository) SearchIds

func (t AclRoleRepository) SearchIds(ctx ApiContext, criteria Criteria) (*SearchIdsResponse, *http.Response, error)

func (AclRoleRepository) Upsert

func (t AclRoleRepository) Upsert(ctx ApiContext, entity []AclRole) (*http.Response, error)

type AclUserRole

type AclUserRole struct {
	User *User `json:"user,omitempty"`

	AclRole *AclRole `json:"aclRole,omitempty"`

	UserId string `json:"userId,omitempty"`

	AclRoleId string `json:"aclRoleId,omitempty"`

	CreatedAt time.Time `json:"createdAt,omitempty"`

	UpdatedAt time.Time `json:"updatedAt,omitempty"`
}

type AclUserRoleCollection

type AclUserRoleCollection struct {
	EntityCollection

	Data []AclUserRole `json:"data"`
}

type AclUserRoleRepository

type AclUserRoleRepository ClientService

func (AclUserRoleRepository) Delete

func (t AclUserRoleRepository) Delete(ctx ApiContext, ids []string) (*http.Response, error)

func (AclUserRoleRepository) Search

func (AclUserRoleRepository) SearchAll

func (AclUserRoleRepository) SearchIds

func (AclUserRoleRepository) Upsert

func (t AclUserRoleRepository) Upsert(ctx ApiContext, entity []AclUserRole) (*http.Response, error)

type ApiContext

type ApiContext struct {
	Context    context.Context
	LanguageId string
	VersionId  string
	SkipFlows  bool
}

func NewApiContext

func NewApiContext(ctx context.Context) ApiContext

type App

type App struct {
	Active bool `json:"active,omitempty"`

	IconRaw interface{} `json:"iconRaw,omitempty"`

	Modules interface{} `json:"modules,omitempty"`

	AllowedHosts interface{} `json:"allowedHosts,omitempty"`

	Translations []AppTranslation `json:"translations,omitempty"`

	AppShippingMethods []AppShippingMethod `json:"appShippingMethods,omitempty"`

	Id string `json:"id,omitempty"`

	Author string `json:"author,omitempty"`

	Privacy string `json:"privacy,omitempty"`

	Templates []AppTemplate `json:"templates,omitempty"`

	PaymentMethods []AppPaymentMethod `json:"paymentMethods,omitempty"`

	AclRole *AclRole `json:"aclRole,omitempty"`

	Version string `json:"version,omitempty"`

	Icon string `json:"icon,omitempty"`

	MainModule interface{} `json:"mainModule,omitempty"`

	Cookies interface{} `json:"cookies,omitempty"`

	IntegrationId string `json:"integrationId,omitempty"`

	Integration *Integration `json:"integration,omitempty"`

	AclRoleId string `json:"aclRoleId,omitempty"`

	Name string `json:"name,omitempty"`

	PrivacyPolicyExtensions string `json:"privacyPolicyExtensions,omitempty"`

	Translated interface{} `json:"translated,omitempty"`

	Path string `json:"path,omitempty"`

	License string `json:"license,omitempty"`

	AppSecret string `json:"appSecret,omitempty"`

	BaseAppUrl string `json:"baseAppUrl,omitempty"`

	CustomFields interface{} `json:"customFields,omitempty"`

	ActionButtons []AppActionButton `json:"actionButtons,omitempty"`

	Scripts []Script `json:"scripts,omitempty"`

	TaxProviders []TaxProvider `json:"taxProviders,omitempty"`

	ScriptConditions []AppScriptCondition `json:"scriptConditions,omitempty"`

	CmsBlocks []AppCmsBlock `json:"cmsBlocks,omitempty"`

	Copyright string `json:"copyright,omitempty"`

	Configurable bool `json:"configurable,omitempty"`

	TemplateLoadPriority float64 `json:"templateLoadPriority,omitempty"`

	Label string `json:"label,omitempty"`

	Description string `json:"description,omitempty"`

	Webhooks []Webhook `json:"webhooks,omitempty"`

	FlowEvents []AppFlowEvent `json:"flowEvents,omitempty"`

	CreatedAt time.Time `json:"createdAt,omitempty"`

	UpdatedAt time.Time `json:"updatedAt,omitempty"`

	AllowDisable bool `json:"allowDisable,omitempty"`

	CustomFieldSets []CustomFieldSet `json:"customFieldSets,omitempty"`

	FlowActions []AppFlowAction `json:"flowActions,omitempty"`
}

type AppActionButton

type AppActionButton struct {
	Entity string `json:"entity,omitempty"`

	Translations []AppActionButtonTranslation `json:"translations,omitempty"`

	Translated interface{} `json:"translated,omitempty"`

	Action string `json:"action,omitempty"`

	Label string `json:"label,omitempty"`

	AppId string `json:"appId,omitempty"`

	App *App `json:"app,omitempty"`

	CreatedAt time.Time `json:"createdAt,omitempty"`

	Id string `json:"id,omitempty"`

	View string `json:"view,omitempty"`

	Url string `json:"url,omitempty"`

	UpdatedAt time.Time `json:"updatedAt,omitempty"`
}

type AppActionButtonCollection

type AppActionButtonCollection struct {
	EntityCollection

	Data []AppActionButton `json:"data"`
}

type AppActionButtonRepository

type AppActionButtonRepository ClientService

func (AppActionButtonRepository) Delete

func (t AppActionButtonRepository) Delete(ctx ApiContext, ids []string) (*http.Response, error)

func (AppActionButtonRepository) Search

func (AppActionButtonRepository) SearchAll

func (AppActionButtonRepository) SearchIds

func (AppActionButtonRepository) Upsert

type AppActionButtonTranslation

type AppActionButtonTranslation struct {
	UpdatedAt time.Time `json:"updatedAt,omitempty"`

	AppActionButtonId string `json:"appActionButtonId,omitempty"`

	LanguageId string `json:"languageId,omitempty"`

	AppActionButton *AppActionButton `json:"appActionButton,omitempty"`

	Language *Language `json:"language,omitempty"`

	Label string `json:"label,omitempty"`

	CreatedAt time.Time `json:"createdAt,omitempty"`
}

type AppActionButtonTranslationCollection

type AppActionButtonTranslationCollection struct {
	EntityCollection

	Data []AppActionButtonTranslation `json:"data"`
}

type AppActionButtonTranslationRepository

type AppActionButtonTranslationRepository ClientService

func (AppActionButtonTranslationRepository) Delete

func (AppActionButtonTranslationRepository) Search

func (AppActionButtonTranslationRepository) SearchAll

func (AppActionButtonTranslationRepository) SearchIds

func (AppActionButtonTranslationRepository) Upsert

type AppAdministrationSnippet

type AppAdministrationSnippet struct {
	CreatedAt time.Time `json:"createdAt,omitempty"`

	UpdatedAt time.Time `json:"updatedAt,omitempty"`

	Id string `json:"id,omitempty"`

	Value string `json:"value,omitempty"`

	AppId string `json:"appId,omitempty"`

	LocaleId string `json:"localeId,omitempty"`
}

type AppAdministrationSnippetCollection

type AppAdministrationSnippetCollection struct {
	EntityCollection

	Data []AppAdministrationSnippet `json:"data"`
}

type AppAdministrationSnippetRepository

type AppAdministrationSnippetRepository ClientService

func (AppAdministrationSnippetRepository) Delete

func (AppAdministrationSnippetRepository) Search

func (AppAdministrationSnippetRepository) SearchAll

func (AppAdministrationSnippetRepository) SearchIds

func (AppAdministrationSnippetRepository) Upsert

type AppCmsBlock

type AppCmsBlock struct {
	Translated interface{} `json:"translated,omitempty"`

	Id string `json:"id,omitempty"`

	Name string `json:"name,omitempty"`

	Block interface{} `json:"block,omitempty"`

	Template string `json:"template,omitempty"`

	Styles string `json:"styles,omitempty"`

	UpdatedAt time.Time `json:"updatedAt,omitempty"`

	Label string `json:"label,omitempty"`

	Translations []AppCmsBlockTranslation `json:"translations,omitempty"`

	AppId string `json:"appId,omitempty"`

	App *App `json:"app,omitempty"`

	CreatedAt time.Time `json:"createdAt,omitempty"`
}

type AppCmsBlockCollection

type AppCmsBlockCollection struct {
	EntityCollection

	Data []AppCmsBlock `json:"data"`
}

type AppCmsBlockRepository

type AppCmsBlockRepository ClientService

func (AppCmsBlockRepository) Delete

func (t AppCmsBlockRepository) Delete(ctx ApiContext, ids []string) (*http.Response, error)

func (AppCmsBlockRepository) Search

func (AppCmsBlockRepository) SearchAll

func (AppCmsBlockRepository) SearchIds

func (AppCmsBlockRepository) Upsert

func (t AppCmsBlockRepository) Upsert(ctx ApiContext, entity []AppCmsBlock) (*http.Response, error)

type AppCmsBlockTranslation

type AppCmsBlockTranslation struct {
	AppCmsBlockId string `json:"appCmsBlockId,omitempty"`

	LanguageId string `json:"languageId,omitempty"`

	AppCmsBlock *AppCmsBlock `json:"appCmsBlock,omitempty"`

	Language *Language `json:"language,omitempty"`

	Label string `json:"label,omitempty"`

	CreatedAt time.Time `json:"createdAt,omitempty"`

	UpdatedAt time.Time `json:"updatedAt,omitempty"`
}

type AppCmsBlockTranslationCollection

type AppCmsBlockTranslationCollection struct {
	EntityCollection

	Data []AppCmsBlockTranslation `json:"data"`
}

type AppCmsBlockTranslationRepository

type AppCmsBlockTranslationRepository ClientService

func (AppCmsBlockTranslationRepository) Delete

func (AppCmsBlockTranslationRepository) Search

func (AppCmsBlockTranslationRepository) SearchAll

func (AppCmsBlockTranslationRepository) SearchIds

func (AppCmsBlockTranslationRepository) Upsert

type AppCollection

type AppCollection struct {
	EntityCollection

	Data []App `json:"data"`
}

type AppFlowAction

type AppFlowAction struct {
	UpdatedAt time.Time `json:"updatedAt,omitempty"`

	Badge string `json:"badge,omitempty"`

	IconRaw interface{} `json:"iconRaw,omitempty"`

	Url string `json:"url,omitempty"`

	Delayable bool `json:"delayable,omitempty"`

	Description string `json:"description,omitempty"`

	SwIcon string `json:"swIcon,omitempty"`

	Headline string `json:"headline,omitempty"`

	Translations []AppFlowActionTranslation `json:"translations,omitempty"`

	AppId string `json:"appId,omitempty"`

	Name string `json:"name,omitempty"`

	Headers interface{} `json:"headers,omitempty"`

	Requirements interface{} `json:"requirements,omitempty"`

	Icon string `json:"icon,omitempty"`

	CreatedAt time.Time `json:"createdAt,omitempty"`

	Translated interface{} `json:"translated,omitempty"`

	Parameters interface{} `json:"parameters,omitempty"`

	Config interface{} `json:"config,omitempty"`

	Label string `json:"label,omitempty"`

	CustomFields interface{} `json:"customFields,omitempty"`

	App *App `json:"app,omitempty"`

	Id string `json:"id,omitempty"`

	FlowSequences []FlowSequence `json:"flowSequences,omitempty"`
}

type AppFlowActionCollection

type AppFlowActionCollection struct {
	EntityCollection

	Data []AppFlowAction `json:"data"`
}

type AppFlowActionRepository

type AppFlowActionRepository ClientService

func (AppFlowActionRepository) Delete

func (t AppFlowActionRepository) Delete(ctx ApiContext, ids []string) (*http.Response, error)

func (AppFlowActionRepository) Search

func (AppFlowActionRepository) SearchAll

func (AppFlowActionRepository) SearchIds

func (AppFlowActionRepository) Upsert

func (t AppFlowActionRepository) Upsert(ctx ApiContext, entity []AppFlowAction) (*http.Response, error)

type AppFlowActionTranslation

type AppFlowActionTranslation struct {
	Label string `json:"label,omitempty"`

	Headline string `json:"headline,omitempty"`

	CreatedAt time.Time `json:"createdAt,omitempty"`

	AppFlowActionId string `json:"appFlowActionId,omitempty"`

	LanguageId string `json:"languageId,omitempty"`

	Language *Language `json:"language,omitempty"`

	Description string `json:"description,omitempty"`

	CustomFields interface{} `json:"customFields,omitempty"`

	UpdatedAt time.Time `json:"updatedAt,omitempty"`

	AppFlowAction *AppFlowAction `json:"appFlowAction,omitempty"`
}

type AppFlowActionTranslationCollection

type AppFlowActionTranslationCollection struct {
	EntityCollection

	Data []AppFlowActionTranslation `json:"data"`
}

type AppFlowActionTranslationRepository

type AppFlowActionTranslationRepository ClientService

func (AppFlowActionTranslationRepository) Delete

func (AppFlowActionTranslationRepository) Search

func (AppFlowActionTranslationRepository) SearchAll

func (AppFlowActionTranslationRepository) SearchIds

func (AppFlowActionTranslationRepository) Upsert

type AppFlowEvent

type AppFlowEvent struct {
	Name string `json:"name,omitempty"`

	Aware interface{} `json:"aware,omitempty"`

	CreatedAt time.Time `json:"createdAt,omitempty"`

	Id string `json:"id,omitempty"`

	AppId string `json:"appId,omitempty"`

	Flows []Flow `json:"flows,omitempty"`

	UpdatedAt time.Time `json:"updatedAt,omitempty"`

	CustomFields interface{} `json:"customFields,omitempty"`

	App *App `json:"app,omitempty"`
}

type AppFlowEventCollection

type AppFlowEventCollection struct {
	EntityCollection

	Data []AppFlowEvent `json:"data"`
}

type AppFlowEventRepository

type AppFlowEventRepository ClientService

func (AppFlowEventRepository) Delete

func (t AppFlowEventRepository) Delete(ctx ApiContext, ids []string) (*http.Response, error)

func (AppFlowEventRepository) Search

func (AppFlowEventRepository) SearchAll

func (AppFlowEventRepository) SearchIds

func (AppFlowEventRepository) Upsert

func (t AppFlowEventRepository) Upsert(ctx ApiContext, entity []AppFlowEvent) (*http.Response, error)

type AppPaymentMethod

type AppPaymentMethod struct {
	AppName string `json:"appName,omitempty"`

	App *App `json:"app,omitempty"`

	OriginalMedia *Media `json:"originalMedia,omitempty"`

	PaymentMethod *PaymentMethod `json:"paymentMethod,omitempty"`

	PaymentMethodId string `json:"paymentMethodId,omitempty"`

	PayUrl string `json:"payUrl,omitempty"`

	FinalizeUrl string `json:"finalizeUrl,omitempty"`

	ValidateUrl string `json:"validateUrl,omitempty"`

	RecurringUrl string `json:"recurringUrl,omitempty"`

	AppId string `json:"appId,omitempty"`

	UpdatedAt time.Time `json:"updatedAt,omitempty"`

	Id string `json:"id,omitempty"`

	Identifier string `json:"identifier,omitempty"`

	CaptureUrl string `json:"captureUrl,omitempty"`

	RefundUrl string `json:"refundUrl,omitempty"`

	CreatedAt time.Time `json:"createdAt,omitempty"`

	OriginalMediaId string `json:"originalMediaId,omitempty"`
}

type AppPaymentMethodCollection

type AppPaymentMethodCollection struct {
	EntityCollection

	Data []AppPaymentMethod `json:"data"`
}

type AppPaymentMethodRepository

type AppPaymentMethodRepository ClientService

func (AppPaymentMethodRepository) Delete

func (AppPaymentMethodRepository) Search

func (AppPaymentMethodRepository) SearchAll

func (AppPaymentMethodRepository) SearchIds

func (AppPaymentMethodRepository) Upsert

type AppRepository

type AppRepository ClientService

func (AppRepository) Delete

func (t AppRepository) Delete(ctx ApiContext, ids []string) (*http.Response, error)

func (AppRepository) Search

func (t AppRepository) Search(ctx ApiContext, criteria Criteria) (*AppCollection, *http.Response, error)

func (AppRepository) SearchAll

func (t AppRepository) SearchAll(ctx ApiContext, criteria Criteria) (*AppCollection, *http.Response, error)

func (AppRepository) SearchIds

func (t AppRepository) SearchIds(ctx ApiContext, criteria Criteria) (*SearchIdsResponse, *http.Response, error)

func (AppRepository) Upsert

func (t AppRepository) Upsert(ctx ApiContext, entity []App) (*http.Response, error)

type AppScriptCondition

type AppScriptCondition struct {
	RuleConditions []RuleCondition `json:"ruleConditions,omitempty"`

	CreatedAt time.Time `json:"createdAt,omitempty"`

	Id string `json:"id,omitempty"`

	Name string `json:"name,omitempty"`

	App *App `json:"app,omitempty"`

	Config interface{} `json:"config,omitempty"`

	AppId string `json:"appId,omitempty"`

	UpdatedAt time.Time `json:"updatedAt,omitempty"`

	Group string `json:"group,omitempty"`

	Script string `json:"script,omitempty"`

	Constraints interface{} `json:"constraints,omitempty"`

	Active bool `json:"active,omitempty"`

	Translations []AppScriptConditionTranslation `json:"translations,omitempty"`

	Identifier string `json:"identifier,omitempty"`

	Translated interface{} `json:"translated,omitempty"`
}

type AppScriptConditionCollection

type AppScriptConditionCollection struct {
	EntityCollection

	Data []AppScriptCondition `json:"data"`
}

type AppScriptConditionRepository

type AppScriptConditionRepository ClientService

func (AppScriptConditionRepository) Delete

func (AppScriptConditionRepository) Search

func (AppScriptConditionRepository) SearchAll

func (AppScriptConditionRepository) SearchIds

func (AppScriptConditionRepository) Upsert

type AppScriptConditionTranslation

type AppScriptConditionTranslation struct {
	AppScriptConditionId string `json:"appScriptConditionId,omitempty"`

	LanguageId string `json:"languageId,omitempty"`

	AppScriptCondition *AppScriptCondition `json:"appScriptCondition,omitempty"`

	Language *Language `json:"language,omitempty"`

	Name string `json:"name,omitempty"`

	CreatedAt time.Time `json:"createdAt,omitempty"`

	UpdatedAt time.Time `json:"updatedAt,omitempty"`
}

type AppScriptConditionTranslationCollection

type AppScriptConditionTranslationCollection struct {
	EntityCollection

	Data []AppScriptConditionTranslation `json:"data"`
}

type AppScriptConditionTranslationRepository

type AppScriptConditionTranslationRepository ClientService

func (AppScriptConditionTranslationRepository) Delete

func (AppScriptConditionTranslationRepository) Search

func (AppScriptConditionTranslationRepository) SearchAll

func (AppScriptConditionTranslationRepository) SearchIds

func (AppScriptConditionTranslationRepository) Upsert

type AppShippingMethod

type AppShippingMethod struct {
	ShippingMethod *ShippingMethod `json:"shippingMethod,omitempty"`

	OriginalMediaId string `json:"originalMediaId,omitempty"`

	UpdatedAt time.Time `json:"updatedAt,omitempty"`

	Id string `json:"id,omitempty"`

	App *App `json:"app,omitempty"`

	AppId string `json:"appId,omitempty"`

	ShippingMethodId string `json:"shippingMethodId,omitempty"`

	OriginalMedia *Media `json:"originalMedia,omitempty"`

	CreatedAt time.Time `json:"createdAt,omitempty"`

	AppName string `json:"appName,omitempty"`

	Identifier string `json:"identifier,omitempty"`
}

type AppShippingMethodCollection

type AppShippingMethodCollection struct {
	EntityCollection

	Data []AppShippingMethod `json:"data"`
}

type AppShippingMethodRepository

type AppShippingMethodRepository ClientService

func (AppShippingMethodRepository) Delete

func (AppShippingMethodRepository) Search

func (AppShippingMethodRepository) SearchAll

func (AppShippingMethodRepository) SearchIds

func (AppShippingMethodRepository) Upsert

type AppTemplate

type AppTemplate struct {
	UpdatedAt time.Time `json:"updatedAt,omitempty"`

	Id string `json:"id,omitempty"`

	Template string `json:"template,omitempty"`

	Path string `json:"path,omitempty"`

	Active bool `json:"active,omitempty"`

	AppId string `json:"appId,omitempty"`

	App *App `json:"app,omitempty"`

	CreatedAt time.Time `json:"createdAt,omitempty"`
}

type AppTemplateCollection

type AppTemplateCollection struct {
	EntityCollection

	Data []AppTemplate `json:"data"`
}

type AppTemplateRepository

type AppTemplateRepository ClientService

func (AppTemplateRepository) Delete

func (t AppTemplateRepository) Delete(ctx ApiContext, ids []string) (*http.Response, error)

func (AppTemplateRepository) Search

func (AppTemplateRepository) SearchAll

func (AppTemplateRepository) SearchIds

func (AppTemplateRepository) Upsert

func (t AppTemplateRepository) Upsert(ctx ApiContext, entity []AppTemplate) (*http.Response, error)

type AppTranslation

type AppTranslation struct {
	App *App `json:"app,omitempty"`

	Label string `json:"label,omitempty"`

	PrivacyPolicyExtensions string `json:"privacyPolicyExtensions,omitempty"`

	CustomFields interface{} `json:"customFields,omitempty"`

	CreatedAt time.Time `json:"createdAt,omitempty"`

	AppId string `json:"appId,omitempty"`

	LanguageId string `json:"languageId,omitempty"`

	Description string `json:"description,omitempty"`

	UpdatedAt time.Time `json:"updatedAt,omitempty"`

	Language *Language `json:"language,omitempty"`
}

type AppTranslationCollection

type AppTranslationCollection struct {
	EntityCollection

	Data []AppTranslation `json:"data"`
}

type AppTranslationRepository

type AppTranslationRepository ClientService

func (AppTranslationRepository) Delete

func (t AppTranslationRepository) Delete(ctx ApiContext, ids []string) (*http.Response, error)

func (AppTranslationRepository) Search

func (AppTranslationRepository) SearchAll

func (AppTranslationRepository) SearchIds

func (AppTranslationRepository) Upsert

type BulkService

type BulkService ClientService

func (BulkService) Sync

func (b BulkService) Sync(ctx ApiContext, payload map[string]SyncOperation) (*http.Response, error)

type CacheManagerService

type CacheManagerService ClientService

func (CacheManagerService) Clear

type Category

type Category struct {
	Children []Category `json:"children,omitempty"`

	Tags []Tag `json:"tags,omitempty"`

	CustomEntityTypeId string `json:"customEntityTypeId,omitempty"`

	Breadcrumb interface{} `json:"breadcrumb,omitempty"`

	Products []Product `json:"products,omitempty"`

	CmsPageId string `json:"cmsPageId,omitempty"`

	DisplayNestedProducts bool `json:"displayNestedProducts,omitempty"`

	Level float64 `json:"level,omitempty"`

	ChildCount float64 `json:"childCount,omitempty"`

	ProductAssignmentType string `json:"productAssignmentType,omitempty"`

	Description string `json:"description,omitempty"`

	Parent *Category `json:"parent,omitempty"`

	ProductStreamId string `json:"productStreamId,omitempty"`

	ParentVersionId string `json:"parentVersionId,omitempty"`

	Type string `json:"type,omitempty"`

	LinkType string `json:"linkType,omitempty"`

	VisibleChildCount float64 `json:"visibleChildCount,omitempty"`

	CmsPage *CmsPage `json:"cmsPage,omitempty"`

	AfterCategoryId string `json:"afterCategoryId,omitempty"`

	LinkNewTab bool `json:"linkNewTab,omitempty"`

	CmsPageVersionId string `json:"cmsPageVersionId,omitempty"`

	CustomFields interface{} `json:"customFields,omitempty"`

	SlotConfig interface{} `json:"slotConfig,omitempty"`

	CmsPageIdSwitched bool `json:"cmsPageIdSwitched,omitempty"`

	NestedProducts []Product `json:"nestedProducts,omitempty"`

	NavigationSalesChannels []SalesChannel `json:"navigationSalesChannels,omitempty"`

	Visible bool `json:"visible,omitempty"`

	MediaId string `json:"mediaId,omitempty"`

	MetaDescription string `json:"metaDescription,omitempty"`

	ParentId string `json:"parentId,omitempty"`

	FooterSalesChannels []SalesChannel `json:"footerSalesChannels,omitempty"`

	Translated interface{} `json:"translated,omitempty"`

	ExternalLink string `json:"externalLink,omitempty"`

	Path string `json:"path,omitempty"`

	SeoUrls []SeoUrl `json:"seoUrls,omitempty"`

	Active bool `json:"active,omitempty"`

	InternalLink string `json:"internalLink,omitempty"`

	Media *Media `json:"media,omitempty"`

	ProductStream *ProductStream `json:"productStream,omitempty"`

	Id string `json:"id,omitempty"`

	AfterCategoryVersionId string `json:"afterCategoryVersionId,omitempty"`

	Name string `json:"name,omitempty"`

	CreatedAt time.Time `json:"createdAt,omitempty"`

	Translations []CategoryTranslation `json:"translations,omitempty"`

	MainCategories []MainCategory `json:"mainCategories,omitempty"`

	VersionId string `json:"versionId,omitempty"`

	AutoIncrement float64 `json:"autoIncrement,omitempty"`

	MetaTitle string `json:"metaTitle,omitempty"`

	Keywords string `json:"keywords,omitempty"`

	ServiceSalesChannels []SalesChannel `json:"serviceSalesChannels,omitempty"`

	UpdatedAt time.Time `json:"updatedAt,omitempty"`
}

type CategoryCollection

type CategoryCollection struct {
	EntityCollection

	Data []Category `json:"data"`
}

type CategoryRepository

type CategoryRepository ClientService

func (CategoryRepository) Delete

func (t CategoryRepository) Delete(ctx ApiContext, ids []string) (*http.Response, error)

func (CategoryRepository) Search

func (CategoryRepository) SearchAll

func (t CategoryRepository) SearchAll(ctx ApiContext, criteria Criteria) (*CategoryCollection, *http.Response, error)

func (CategoryRepository) SearchIds

func (t CategoryRepository) SearchIds(ctx ApiContext, criteria Criteria) (*SearchIdsResponse, *http.Response, error)

func (CategoryRepository) Upsert

func (t CategoryRepository) Upsert(ctx ApiContext, entity []Category) (*http.Response, error)

type CategoryTag

type CategoryTag struct {
	Tag *Tag `json:"tag,omitempty"`

	CategoryId string `json:"categoryId,omitempty"`

	CategoryVersionId string `json:"categoryVersionId,omitempty"`

	TagId string `json:"tagId,omitempty"`

	Category *Category `json:"category,omitempty"`
}

type CategoryTagCollection

type CategoryTagCollection struct {
	EntityCollection

	Data []CategoryTag `json:"data"`
}

type CategoryTagRepository

type CategoryTagRepository ClientService

func (CategoryTagRepository) Delete

func (t CategoryTagRepository) Delete(ctx ApiContext, ids []string) (*http.Response, error)

func (CategoryTagRepository) Search

func (CategoryTagRepository) SearchAll

func (CategoryTagRepository) SearchIds

func (CategoryTagRepository) Upsert

func (t CategoryTagRepository) Upsert(ctx ApiContext, entity []CategoryTag) (*http.Response, error)

type CategoryTranslation

type CategoryTranslation struct {
	Description string `json:"description,omitempty"`

	LanguageId string `json:"languageId,omitempty"`

	Name string `json:"name,omitempty"`

	Breadcrumb interface{} `json:"breadcrumb,omitempty"`

	MetaTitle string `json:"metaTitle,omitempty"`

	CreatedAt time.Time `json:"createdAt,omitempty"`

	UpdatedAt time.Time `json:"updatedAt,omitempty"`

	CategoryId string `json:"categoryId,omitempty"`

	Category *Category `json:"category,omitempty"`

	CategoryVersionId string `json:"categoryVersionId,omitempty"`

	SlotConfig interface{} `json:"slotConfig,omitempty"`

	LinkType string `json:"linkType,omitempty"`

	Keywords string `json:"keywords,omitempty"`

	ExternalLink string `json:"externalLink,omitempty"`

	LinkNewTab bool `json:"linkNewTab,omitempty"`

	CustomFields interface{} `json:"customFields,omitempty"`

	Language *Language `json:"language,omitempty"`

	InternalLink string `json:"internalLink,omitempty"`

	MetaDescription string `json:"metaDescription,omitempty"`
}

type CategoryTranslationCollection

type CategoryTranslationCollection struct {
	EntityCollection

	Data []CategoryTranslation `json:"data"`
}

type CategoryTranslationRepository

type CategoryTranslationRepository ClientService

func (CategoryTranslationRepository) Delete

func (CategoryTranslationRepository) Search

func (CategoryTranslationRepository) SearchAll

func (CategoryTranslationRepository) SearchIds

func (CategoryTranslationRepository) Upsert

type Client

type Client struct {
	Repository          Repository
	Bulk                *BulkService
	Info                *InfoService
	ExtensionManager    *ExtensionManagerService
	ThemeManager        *ThemeManagerService
	CacheManager        *CacheManagerService
	SystemConfigManager *SystemConfigService
	// contains filtered or unexported fields
}

func NewApiClient

func NewApiClient(ctx context.Context, shopUrl string, credentials OAuthCredentials, httpClient *http.Client) (*Client, error)

func (*Client) BareDo

func (c *Client) BareDo(ctx context.Context, req *http.Request) (*http.Response, error)

func (*Client) Do

func (c *Client) Do(ctx context.Context, req *http.Request, v interface{}) (*http.Response, error)

func (*Client) NewRawRequest

func (c *Client) NewRawRequest(context ApiContext, method, urlStr string, body io.Reader) (*http.Request, error)

func (*Client) NewRequest

func (c *Client) NewRequest(context ApiContext, method, urlStr string, body interface{}) (*http.Request, error)

func (*Client) Token

func (c *Client) Token() oauth2.TokenSource

type ClientService

type ClientService struct {
	Client *Client
}

type CmsBlock

type CmsBlock struct {
	MarginLeft string `json:"marginLeft,omitempty"`

	CssClass string `json:"cssClass,omitempty"`

	VersionId string `json:"versionId,omitempty"`

	CmsSectionVersionId string `json:"cmsSectionVersionId,omitempty"`

	CreatedAt time.Time `json:"createdAt,omitempty"`

	Locked bool `json:"locked,omitempty"`

	Name string `json:"name,omitempty"`

	MarginRight string `json:"marginRight,omitempty"`

	BackgroundColor string `json:"backgroundColor,omitempty"`

	BackgroundMediaId string `json:"backgroundMediaId,omitempty"`

	BackgroundMediaMode string `json:"backgroundMediaMode,omitempty"`

	Visibility interface{} `json:"visibility,omitempty"`

	Section *CmsSection `json:"section,omitempty"`

	SectionPosition string `json:"sectionPosition,omitempty"`

	MarginTop string `json:"marginTop,omitempty"`

	UpdatedAt time.Time `json:"updatedAt,omitempty"`

	Slots []CmsSlot `json:"slots,omitempty"`

	CustomFields interface{} `json:"customFields,omitempty"`

	MarginBottom string `json:"marginBottom,omitempty"`

	BackgroundMedia *Media `json:"backgroundMedia,omitempty"`

	Position float64 `json:"position,omitempty"`

	Type string `json:"type,omitempty"`

	Id string `json:"id,omitempty"`

	SectionId string `json:"sectionId,omitempty"`
}

type CmsBlockCollection

type CmsBlockCollection struct {
	EntityCollection

	Data []CmsBlock `json:"data"`
}

type CmsBlockRepository

type CmsBlockRepository ClientService

func (CmsBlockRepository) Delete

func (t CmsBlockRepository) Delete(ctx ApiContext, ids []string) (*http.Response, error)

func (CmsBlockRepository) Search

func (CmsBlockRepository) SearchAll

func (t CmsBlockRepository) SearchAll(ctx ApiContext, criteria Criteria) (*CmsBlockCollection, *http.Response, error)

func (CmsBlockRepository) SearchIds

func (t CmsBlockRepository) SearchIds(ctx ApiContext, criteria Criteria) (*SearchIdsResponse, *http.Response, error)

func (CmsBlockRepository) Upsert

func (t CmsBlockRepository) Upsert(ctx ApiContext, entity []CmsBlock) (*http.Response, error)

type CmsPage

type CmsPage struct {
	Config interface{} `json:"config,omitempty"`

	Translations []CmsPageTranslation `json:"translations,omitempty"`

	Translated interface{} `json:"translated,omitempty"`

	Name string `json:"name,omitempty"`

	CssClass string `json:"cssClass,omitempty"`

	Type string `json:"type,omitempty"`

	CustomFields interface{} `json:"customFields,omitempty"`

	UpdatedAt time.Time `json:"updatedAt,omitempty"`

	Id string `json:"id,omitempty"`

	VersionId string `json:"versionId,omitempty"`

	PreviewMedia *Media `json:"previewMedia,omitempty"`

	Categories []Category `json:"categories,omitempty"`

	LandingPages []LandingPage `json:"landingPages,omitempty"`

	HomeSalesChannels []SalesChannel `json:"homeSalesChannels,omitempty"`

	Entity string `json:"entity,omitempty"`

	PreviewMediaId string `json:"previewMediaId,omitempty"`

	Products []Product `json:"products,omitempty"`

	CreatedAt time.Time `json:"createdAt,omitempty"`

	Locked bool `json:"locked,omitempty"`

	Sections []CmsSection `json:"sections,omitempty"`
}

type CmsPageCollection

type CmsPageCollection struct {
	EntityCollection

	Data []CmsPage `json:"data"`
}

type CmsPageRepository

type CmsPageRepository ClientService

func (CmsPageRepository) Delete

func (t CmsPageRepository) Delete(ctx ApiContext, ids []string) (*http.Response, error)

func (CmsPageRepository) Search

func (CmsPageRepository) SearchAll

func (t CmsPageRepository) SearchAll(ctx ApiContext, criteria Criteria) (*CmsPageCollection, *http.Response, error)

func (CmsPageRepository) SearchIds

func (t CmsPageRepository) SearchIds(ctx ApiContext, criteria Criteria) (*SearchIdsResponse, *http.Response, error)

func (CmsPageRepository) Upsert

func (t CmsPageRepository) Upsert(ctx ApiContext, entity []CmsPage) (*http.Response, error)

type CmsPageTranslation

type CmsPageTranslation struct {
	CustomFields interface{} `json:"customFields,omitempty"`

	LanguageId string `json:"languageId,omitempty"`

	Language *Language `json:"language,omitempty"`

	CmsPageVersionId string `json:"cmsPageVersionId,omitempty"`

	Name string `json:"name,omitempty"`

	CreatedAt time.Time `json:"createdAt,omitempty"`

	UpdatedAt time.Time `json:"updatedAt,omitempty"`

	CmsPageId string `json:"cmsPageId,omitempty"`

	CmsPage *CmsPage `json:"cmsPage,omitempty"`
}

type CmsPageTranslationCollection

type CmsPageTranslationCollection struct {
	EntityCollection

	Data []CmsPageTranslation `json:"data"`
}

type CmsPageTranslationRepository

type CmsPageTranslationRepository ClientService

func (CmsPageTranslationRepository) Delete

func (CmsPageTranslationRepository) Search

func (CmsPageTranslationRepository) SearchAll

func (CmsPageTranslationRepository) SearchIds

func (CmsPageTranslationRepository) Upsert

type CmsSection

type CmsSection struct {
	Visibility interface{} `json:"visibility,omitempty"`

	BackgroundMedia *Media `json:"backgroundMedia,omitempty"`

	VersionId string `json:"versionId,omitempty"`

	MobileBehavior string `json:"mobileBehavior,omitempty"`

	BackgroundMediaId string `json:"backgroundMediaId,omitempty"`

	BackgroundMediaMode string `json:"backgroundMediaMode,omitempty"`

	SizingMode string `json:"sizingMode,omitempty"`

	Blocks []CmsBlock `json:"blocks,omitempty"`

	CmsPageVersionId string `json:"cmsPageVersionId,omitempty"`

	Id string `json:"id,omitempty"`

	Position float64 `json:"position,omitempty"`

	Type string `json:"type,omitempty"`

	UpdatedAt time.Time `json:"updatedAt,omitempty"`

	Locked bool `json:"locked,omitempty"`

	PageId string `json:"pageId,omitempty"`

	Page *CmsPage `json:"page,omitempty"`

	CustomFields interface{} `json:"customFields,omitempty"`

	CreatedAt time.Time `json:"createdAt,omitempty"`

	Name string `json:"name,omitempty"`

	BackgroundColor string `json:"backgroundColor,omitempty"`

	CssClass string `json:"cssClass,omitempty"`
}

type CmsSectionCollection

type CmsSectionCollection struct {
	EntityCollection

	Data []CmsSection `json:"data"`
}

type CmsSectionRepository

type CmsSectionRepository ClientService

func (CmsSectionRepository) Delete

func (t CmsSectionRepository) Delete(ctx ApiContext, ids []string) (*http.Response, error)

func (CmsSectionRepository) Search

func (CmsSectionRepository) SearchAll

func (CmsSectionRepository) SearchIds

func (t CmsSectionRepository) SearchIds(ctx ApiContext, criteria Criteria) (*SearchIdsResponse, *http.Response, error)

func (CmsSectionRepository) Upsert

func (t CmsSectionRepository) Upsert(ctx ApiContext, entity []CmsSection) (*http.Response, error)

type CmsSlot

type CmsSlot struct {
	Type string `json:"type,omitempty"`

	CustomFields interface{} `json:"customFields,omitempty"`

	CmsBlockVersionId string `json:"cmsBlockVersionId,omitempty"`

	CreatedAt time.Time `json:"createdAt,omitempty"`

	Block *CmsBlock `json:"block,omitempty"`

	Translated interface{} `json:"translated,omitempty"`

	Id string `json:"id,omitempty"`

	VersionId string `json:"versionId,omitempty"`

	Slot string `json:"slot,omitempty"`

	Config interface{} `json:"config,omitempty"`

	Data interface{} `json:"data,omitempty"`

	Translations []CmsSlotTranslation `json:"translations,omitempty"`

	Locked bool `json:"locked,omitempty"`

	BlockId string `json:"blockId,omitempty"`

	FieldConfig interface{} `json:"fieldConfig,omitempty"`

	UpdatedAt time.Time `json:"updatedAt,omitempty"`
}

type CmsSlotCollection

type CmsSlotCollection struct {
	EntityCollection

	Data []CmsSlot `json:"data"`
}

type CmsSlotRepository

type CmsSlotRepository ClientService

func (CmsSlotRepository) Delete

func (t CmsSlotRepository) Delete(ctx ApiContext, ids []string) (*http.Response, error)

func (CmsSlotRepository) Search

func (CmsSlotRepository) SearchAll

func (t CmsSlotRepository) SearchAll(ctx ApiContext, criteria Criteria) (*CmsSlotCollection, *http.Response, error)

func (CmsSlotRepository) SearchIds

func (t CmsSlotRepository) SearchIds(ctx ApiContext, criteria Criteria) (*SearchIdsResponse, *http.Response, error)

func (CmsSlotRepository) Upsert

func (t CmsSlotRepository) Upsert(ctx ApiContext, entity []CmsSlot) (*http.Response, error)

type CmsSlotTranslation

type CmsSlotTranslation struct {
	Config interface{} `json:"config,omitempty"`

	CreatedAt time.Time `json:"createdAt,omitempty"`

	UpdatedAt time.Time `json:"updatedAt,omitempty"`

	CmsSlotId string `json:"cmsSlotId,omitempty"`

	CustomFields interface{} `json:"customFields,omitempty"`

	LanguageId string `json:"languageId,omitempty"`

	CmsSlot *CmsSlot `json:"cmsSlot,omitempty"`

	Language *Language `json:"language,omitempty"`

	CmsSlotVersionId string `json:"cmsSlotVersionId,omitempty"`
}

type CmsSlotTranslationCollection

type CmsSlotTranslationCollection struct {
	EntityCollection

	Data []CmsSlotTranslation `json:"data"`
}

type CmsSlotTranslationRepository

type CmsSlotTranslationRepository ClientService

func (CmsSlotTranslationRepository) Delete

func (CmsSlotTranslationRepository) Search

func (CmsSlotTranslationRepository) SearchAll

func (CmsSlotTranslationRepository) SearchIds

func (CmsSlotTranslationRepository) Upsert

type Country

type Country struct {
	Translations []CountryTranslation `json:"translations,omitempty"`

	UpdatedAt time.Time `json:"updatedAt,omitempty"`

	Position float64 `json:"position,omitempty"`

	VatIdPattern string `json:"vatIdPattern,omitempty"`

	CustomerAddresses []CustomerAddress `json:"customerAddresses,omitempty"`

	SalesChannels []SalesChannel `json:"salesChannels,omitempty"`

	CurrencyCountryRoundings []CurrencyCountryRounding `json:"currencyCountryRoundings,omitempty"`

	Id string `json:"id,omitempty"`

	CustomFields interface{} `json:"customFields,omitempty"`

	Iso3 string `json:"iso3,omitempty"`

	ForceStateInRegistration bool `json:"forceStateInRegistration,omitempty"`

	CompanyTax interface{} `json:"companyTax,omitempty"`

	CheckPostalCodePattern bool `json:"checkPostalCodePattern,omitempty"`

	OrderAddresses []OrderAddress `json:"orderAddresses,omitempty"`

	SalesChannelDefaultAssignments []SalesChannel `json:"salesChannelDefaultAssignments,omitempty"`

	Name string `json:"name,omitempty"`

	Active bool `json:"active,omitempty"`

	TaxRules []TaxRule `json:"taxRules,omitempty"`

	AddressFormat interface{} `json:"addressFormat,omitempty"`

	Translated interface{} `json:"translated,omitempty"`

	DisplayStateInRegistration bool `json:"displayStateInRegistration,omitempty"`

	PostalCodeRequired bool `json:"postalCodeRequired,omitempty"`

	AdvancedPostalCodePattern string `json:"advancedPostalCodePattern,omitempty"`

	Iso string `json:"iso,omitempty"`

	VatIdRequired bool `json:"vatIdRequired,omitempty"`

	CustomerTax interface{} `json:"customerTax,omitempty"`

	DefaultPostalCodePattern string `json:"defaultPostalCodePattern,omitempty"`

	States []CountryState `json:"states,omitempty"`

	CheckVatIdPattern bool `json:"checkVatIdPattern,omitempty"`

	CheckAdvancedPostalCodePattern bool `json:"checkAdvancedPostalCodePattern,omitempty"`

	ShippingAvailable bool `json:"shippingAvailable,omitempty"`

	CreatedAt time.Time `json:"createdAt,omitempty"`
}

type CountryCollection

type CountryCollection struct {
	EntityCollection

	Data []Country `json:"data"`
}

type CountryRepository

type CountryRepository ClientService

func (CountryRepository) Delete

func (t CountryRepository) Delete(ctx ApiContext, ids []string) (*http.Response, error)

func (CountryRepository) Search

func (CountryRepository) SearchAll

func (t CountryRepository) SearchAll(ctx ApiContext, criteria Criteria) (*CountryCollection, *http.Response, error)

func (CountryRepository) SearchIds

func (t CountryRepository) SearchIds(ctx ApiContext, criteria Criteria) (*SearchIdsResponse, *http.Response, error)

func (CountryRepository) Upsert

func (t CountryRepository) Upsert(ctx ApiContext, entity []Country) (*http.Response, error)

type CountryState

type CountryState struct {
	Id string `json:"id,omitempty"`

	Name string `json:"name,omitempty"`

	Active bool `json:"active,omitempty"`

	Translations []CountryStateTranslation `json:"translations,omitempty"`

	Translated interface{} `json:"translated,omitempty"`

	CountryId string `json:"countryId,omitempty"`

	CustomerAddresses []CustomerAddress `json:"customerAddresses,omitempty"`

	OrderAddresses []OrderAddress `json:"orderAddresses,omitempty"`

	UpdatedAt time.Time `json:"updatedAt,omitempty"`

	ShortCode string `json:"shortCode,omitempty"`

	Position float64 `json:"position,omitempty"`

	CustomFields interface{} `json:"customFields,omitempty"`

	Country *Country `json:"country,omitempty"`

	CreatedAt time.Time `json:"createdAt,omitempty"`
}

type CountryStateCollection

type CountryStateCollection struct {
	EntityCollection

	Data []CountryState `json:"data"`
}

type CountryStateRepository

type CountryStateRepository ClientService

func (CountryStateRepository) Delete

func (t CountryStateRepository) Delete(ctx ApiContext, ids []string) (*http.Response, error)

func (CountryStateRepository) Search

func (CountryStateRepository) SearchAll

func (CountryStateRepository) SearchIds

func (CountryStateRepository) Upsert

func (t CountryStateRepository) Upsert(ctx ApiContext, entity []CountryState) (*http.Response, error)

type CountryStateTranslation

type CountryStateTranslation struct {
	Language *Language `json:"language,omitempty"`

	Name string `json:"name,omitempty"`

	CustomFields interface{} `json:"customFields,omitempty"`

	CreatedAt time.Time `json:"createdAt,omitempty"`

	UpdatedAt time.Time `json:"updatedAt,omitempty"`

	CountryStateId string `json:"countryStateId,omitempty"`

	LanguageId string `json:"languageId,omitempty"`

	CountryState *CountryState `json:"countryState,omitempty"`
}

type CountryStateTranslationCollection

type CountryStateTranslationCollection struct {
	EntityCollection

	Data []CountryStateTranslation `json:"data"`
}

type CountryStateTranslationRepository

type CountryStateTranslationRepository ClientService

func (CountryStateTranslationRepository) Delete

func (CountryStateTranslationRepository) Search

func (CountryStateTranslationRepository) SearchAll

func (CountryStateTranslationRepository) SearchIds

func (CountryStateTranslationRepository) Upsert

type CountryTranslation

type CountryTranslation struct {
	CustomFields interface{} `json:"customFields,omitempty"`

	UpdatedAt time.Time `json:"updatedAt,omitempty"`

	CountryId string `json:"countryId,omitempty"`

	LanguageId string `json:"languageId,omitempty"`

	Name string `json:"name,omitempty"`

	AddressFormat interface{} `json:"addressFormat,omitempty"`

	CreatedAt time.Time `json:"createdAt,omitempty"`

	Country *Country `json:"country,omitempty"`

	Language *Language `json:"language,omitempty"`
}

type CountryTranslationCollection

type CountryTranslationCollection struct {
	EntityCollection

	Data []CountryTranslation `json:"data"`
}

type CountryTranslationRepository

type CountryTranslationRepository ClientService

func (CountryTranslationRepository) Delete

func (CountryTranslationRepository) Search

func (CountryTranslationRepository) SearchAll

func (CountryTranslationRepository) SearchIds

func (CountryTranslationRepository) Upsert

type Criteria

type Criteria struct {
	Includes       map[string][]string `json:"includes,omitempty"`
	Page           int64               `json:"page,omitempty"`
	Limit          int64               `json:"limit,omitempty"`
	IDs            []string            `json:"ids,omitempty"`
	Filter         []CriteriaFilter    `json:"filter,omitempty"`
	PostFilter     []CriteriaFilter    `json:"postFilter,omitempty"`
	Sort           []CriteriaSort      `json:"sort,omitempty"`
	Associations   map[string]Criteria `json:"associations,omitempty"`
	Term           string              `json:"term,omitempty"`
	TotalCountMode int                 `json:"totalCountMode,omitempty"`
}

type CriteriaFilter

type CriteriaFilter struct {
	Type  string      `json:"type"`
	Field string      `json:"field"`
	Value interface{} `json:"value"`
}

type CriteriaSort

type CriteriaSort struct {
	Direction      string `json:"order"`
	Field          string `json:"field"`
	NaturalSorting bool   `json:"naturalSorting"`
}

type Currency

type Currency struct {
	CountryRoundings []CurrencyCountryRounding `json:"countryRoundings,omitempty"`

	CreatedAt time.Time `json:"createdAt,omitempty"`

	Name string `json:"name,omitempty"`

	CustomFields interface{} `json:"customFields,omitempty"`

	Orders []Order `json:"orders,omitempty"`

	SalesChannels []SalesChannel `json:"salesChannels,omitempty"`

	TotalRounding interface{} `json:"totalRounding,omitempty"`

	Symbol string `json:"symbol,omitempty"`

	IsSystemDefault bool `json:"isSystemDefault,omitempty"`

	ItemRounding interface{} `json:"itemRounding,omitempty"`

	UpdatedAt time.Time `json:"updatedAt,omitempty"`

	PromotionDiscountPrices []PromotionDiscountPrices `json:"promotionDiscountPrices,omitempty"`

	Id string `json:"id,omitempty"`

	Factor float64 `json:"factor,omitempty"`

	Position float64 `json:"position,omitempty"`

	TaxFreeFrom float64 `json:"taxFreeFrom,omitempty"`

	Translations []CurrencyTranslation `json:"translations,omitempty"`

	Translated interface{} `json:"translated,omitempty"`

	IsoCode string `json:"isoCode,omitempty"`

	ShortName string `json:"shortName,omitempty"`

	SalesChannelDefaultAssignments []SalesChannel `json:"salesChannelDefaultAssignments,omitempty"`

	SalesChannelDomains []SalesChannelDomain `json:"salesChannelDomains,omitempty"`

	ProductExports []ProductExport `json:"productExports,omitempty"`
}

type CurrencyCollection

type CurrencyCollection struct {
	EntityCollection

	Data []Currency `json:"data"`
}

type CurrencyCountryRounding

type CurrencyCountryRounding struct {
	CurrencyId string `json:"currencyId,omitempty"`

	Currency *Currency `json:"currency,omitempty"`

	CreatedAt time.Time `json:"createdAt,omitempty"`

	UpdatedAt time.Time `json:"updatedAt,omitempty"`

	Id string `json:"id,omitempty"`

	CountryId string `json:"countryId,omitempty"`

	ItemRounding interface{} `json:"itemRounding,omitempty"`

	TotalRounding interface{} `json:"totalRounding,omitempty"`

	Country *Country `json:"country,omitempty"`
}

type CurrencyCountryRoundingCollection

type CurrencyCountryRoundingCollection struct {
	EntityCollection

	Data []CurrencyCountryRounding `json:"data"`
}

type CurrencyCountryRoundingRepository

type CurrencyCountryRoundingRepository ClientService

func (CurrencyCountryRoundingRepository) Delete

func (CurrencyCountryRoundingRepository) Search

func (CurrencyCountryRoundingRepository) SearchAll

func (CurrencyCountryRoundingRepository) SearchIds

func (CurrencyCountryRoundingRepository) Upsert

type CurrencyRepository

type CurrencyRepository ClientService

func (CurrencyRepository) Delete

func (t CurrencyRepository) Delete(ctx ApiContext, ids []string) (*http.Response, error)

func (CurrencyRepository) Search

func (CurrencyRepository) SearchAll

func (t CurrencyRepository) SearchAll(ctx ApiContext, criteria Criteria) (*CurrencyCollection, *http.Response, error)

func (CurrencyRepository) SearchIds

func (t CurrencyRepository) SearchIds(ctx ApiContext, criteria Criteria) (*SearchIdsResponse, *http.Response, error)

func (CurrencyRepository) Upsert

func (t CurrencyRepository) Upsert(ctx ApiContext, entity []Currency) (*http.Response, error)

type CurrencyTranslation

type CurrencyTranslation struct {
	Name string `json:"name,omitempty"`

	CreatedAt time.Time `json:"createdAt,omitempty"`

	UpdatedAt time.Time `json:"updatedAt,omitempty"`

	CurrencyId string `json:"currencyId,omitempty"`

	LanguageId string `json:"languageId,omitempty"`

	Language *Language `json:"language,omitempty"`

	ShortName string `json:"shortName,omitempty"`

	CustomFields interface{} `json:"customFields,omitempty"`

	Currency *Currency `json:"currency,omitempty"`
}

type CurrencyTranslationCollection

type CurrencyTranslationCollection struct {
	EntityCollection

	Data []CurrencyTranslation `json:"data"`
}

type CurrencyTranslationRepository

type CurrencyTranslationRepository ClientService

func (CurrencyTranslationRepository) Delete

func (CurrencyTranslationRepository) Search

func (CurrencyTranslationRepository) SearchAll

func (CurrencyTranslationRepository) SearchIds

func (CurrencyTranslationRepository) Upsert

type CustomEntity

type CustomEntity struct {
	StoreApiAware bool `json:"storeApiAware,omitempty"`

	DeletedAt time.Time `json:"deletedAt,omitempty"`

	Name string `json:"name,omitempty"`

	Flags interface{} `json:"flags,omitempty"`

	AppId string `json:"appId,omitempty"`

	CustomFieldsAware bool `json:"customFieldsAware,omitempty"`

	CreatedAt time.Time `json:"createdAt,omitempty"`

	Fields interface{} `json:"fields,omitempty"`

	CmsAware bool `json:"cmsAware,omitempty"`

	Id string `json:"id,omitempty"`

	PluginId string `json:"pluginId,omitempty"`

	LabelProperty string `json:"labelProperty,omitempty"`

	UpdatedAt time.Time `json:"updatedAt,omitempty"`
}

type CustomEntityCollection

type CustomEntityCollection struct {
	EntityCollection

	Data []CustomEntity `json:"data"`
}

type CustomEntityRepository

type CustomEntityRepository ClientService

func (CustomEntityRepository) Delete

func (t CustomEntityRepository) Delete(ctx ApiContext, ids []string) (*http.Response, error)

func (CustomEntityRepository) Search

func (CustomEntityRepository) SearchAll

func (CustomEntityRepository) SearchIds

func (CustomEntityRepository) Upsert

func (t CustomEntityRepository) Upsert(ctx ApiContext, entity []CustomEntity) (*http.Response, error)

type CustomField

type CustomField struct {
	AllowCustomerWrite bool `json:"allowCustomerWrite,omitempty"`

	AllowCartExpose bool `json:"allowCartExpose,omitempty"`

	ProductSearchConfigFields []ProductSearchConfigField `json:"productSearchConfigFields,omitempty"`

	Config interface{} `json:"config,omitempty"`

	CustomFieldSetId string `json:"customFieldSetId,omitempty"`

	Type string `json:"type,omitempty"`

	Active bool `json:"active,omitempty"`

	CustomFieldSet *CustomFieldSet `json:"customFieldSet,omitempty"`

	CreatedAt time.Time `json:"createdAt,omitempty"`

	UpdatedAt time.Time `json:"updatedAt,omitempty"`

	Id string `json:"id,omitempty"`

	Name string `json:"name,omitempty"`
}

type CustomFieldCollection

type CustomFieldCollection struct {
	EntityCollection

	Data []CustomField `json:"data"`
}

type CustomFieldRepository

type CustomFieldRepository ClientService

func (CustomFieldRepository) Delete

func (t CustomFieldRepository) Delete(ctx ApiContext, ids []string) (*http.Response, error)

func (CustomFieldRepository) Search

func (CustomFieldRepository) SearchAll

func (CustomFieldRepository) SearchIds

func (CustomFieldRepository) Upsert

func (t CustomFieldRepository) Upsert(ctx ApiContext, entity []CustomField) (*http.Response, error)

type CustomFieldSet

type CustomFieldSet struct {
	UpdatedAt time.Time `json:"updatedAt,omitempty"`

	Config interface{} `json:"config,omitempty"`

	App *App `json:"app,omitempty"`

	CreatedAt time.Time `json:"createdAt,omitempty"`

	Relations []CustomFieldSetRelation `json:"relations,omitempty"`

	Products []Product `json:"products,omitempty"`

	Position float64 `json:"position,omitempty"`

	Active bool `json:"active,omitempty"`

	Global bool `json:"global,omitempty"`

	AppId string `json:"appId,omitempty"`

	CustomFields []CustomField `json:"customFields,omitempty"`

	Id string `json:"id,omitempty"`

	Name string `json:"name,omitempty"`
}

type CustomFieldSetCollection

type CustomFieldSetCollection struct {
	EntityCollection

	Data []CustomFieldSet `json:"data"`
}

type CustomFieldSetRelation

type CustomFieldSetRelation struct {
	CustomFieldSet *CustomFieldSet `json:"customFieldSet,omitempty"`

	CreatedAt time.Time `json:"createdAt,omitempty"`

	UpdatedAt time.Time `json:"updatedAt,omitempty"`

	Id string `json:"id,omitempty"`

	CustomFieldSetId string `json:"customFieldSetId,omitempty"`

	EntityName string `json:"entityName,omitempty"`
}

type CustomFieldSetRelationCollection

type CustomFieldSetRelationCollection struct {
	EntityCollection

	Data []CustomFieldSetRelation `json:"data"`
}

type CustomFieldSetRelationRepository

type CustomFieldSetRelationRepository ClientService

func (CustomFieldSetRelationRepository) Delete

func (CustomFieldSetRelationRepository) Search

func (CustomFieldSetRelationRepository) SearchAll

func (CustomFieldSetRelationRepository) SearchIds

func (CustomFieldSetRelationRepository) Upsert

type CustomFieldSetRepository

type CustomFieldSetRepository ClientService

func (CustomFieldSetRepository) Delete

func (t CustomFieldSetRepository) Delete(ctx ApiContext, ids []string) (*http.Response, error)

func (CustomFieldSetRepository) Search

func (CustomFieldSetRepository) SearchAll

func (CustomFieldSetRepository) SearchIds

func (CustomFieldSetRepository) Upsert

type Customer

type Customer struct {
	Company string `json:"company,omitempty"`

	Title string `json:"title,omitempty"`

	VatIds interface{} `json:"vatIds,omitempty"`

	ActiveShippingAddress *CustomerAddress `json:"activeShippingAddress,omitempty"`

	SalutationId string `json:"salutationId,omitempty"`

	LastPaymentMethod *PaymentMethod `json:"lastPaymentMethod,omitempty"`

	LastOrderDate time.Time `json:"lastOrderDate,omitempty"`

	DefaultPaymentMethod *PaymentMethod `json:"defaultPaymentMethod,omitempty"`

	Password interface{} `json:"password,omitempty"`

	CampaignCode string `json:"campaignCode,omitempty"`

	Active bool `json:"active,omitempty"`

	Group *CustomerGroup `json:"group,omitempty"`

	BoundSalesChannel *SalesChannel `json:"boundSalesChannel,omitempty"`

	CreatedById string `json:"createdById,omitempty"`

	SalesChannel *SalesChannel `json:"salesChannel,omitempty"`

	LanguageId string `json:"languageId,omitempty"`

	DefaultShippingAddressId string `json:"defaultShippingAddressId,omitempty"`

	FirstName string `json:"firstName,omitempty"`

	FirstLogin time.Time `json:"firstLogin,omitempty"`

	UpdatedById string `json:"updatedById,omitempty"`

	SalesChannelId string `json:"salesChannelId,omitempty"`

	Guest bool `json:"guest,omitempty"`

	LegacyEncoder string `json:"legacyEncoder,omitempty"`

	Language *Language `json:"language,omitempty"`

	ActiveBillingAddress *CustomerAddress `json:"activeBillingAddress,omitempty"`

	Salutation *Salutation `json:"salutation,omitempty"`

	Addresses []CustomerAddress `json:"addresses,omitempty"`

	UpdatedAt time.Time `json:"updatedAt,omitempty"`

	Id string `json:"id,omitempty"`

	DefaultPaymentMethodId string `json:"defaultPaymentMethodId,omitempty"`

	AutoIncrement float64 `json:"autoIncrement,omitempty"`

	Hash string `json:"hash,omitempty"`

	AccountType string `json:"accountType,omitempty"`

	CreatedBy *User `json:"createdBy,omitempty"`

	CreatedAt time.Time `json:"createdAt,omitempty"`

	LastPaymentMethodId string `json:"lastPaymentMethodId,omitempty"`

	DefaultBillingAddressId string `json:"defaultBillingAddressId,omitempty"`

	LastName string `json:"lastName,omitempty"`

	CustomFields interface{} `json:"customFields,omitempty"`

	BoundSalesChannelId string `json:"boundSalesChannelId,omitempty"`

	NewsletterSalesChannelIds interface{} `json:"newsletterSalesChannelIds,omitempty"`

	Promotions []Promotion `json:"promotions,omitempty"`

	Birthday time.Time `json:"birthday,omitempty"`

	RequestedGroup *CustomerGroup `json:"requestedGroup,omitempty"`

	Wishlists []CustomerWishlist `json:"wishlists,omitempty"`

	GroupId string `json:"groupId,omitempty"`

	UpdatedBy *User `json:"updatedBy,omitempty"`

	DoubleOptInConfirmDate time.Time `json:"doubleOptInConfirmDate,omitempty"`

	OrderCount float64 `json:"orderCount,omitempty"`

	LegacyPassword string `json:"legacyPassword,omitempty"`

	DefaultBillingAddress *CustomerAddress `json:"defaultBillingAddress,omitempty"`

	RecoveryCustomer *CustomerRecovery `json:"recoveryCustomer,omitempty"`

	RemoteAddress interface{} `json:"remoteAddress,omitempty"`

	RequestedGroupId string `json:"requestedGroupId,omitempty"`

	Email string `json:"email,omitempty"`

	LastLogin time.Time `json:"lastLogin,omitempty"`

	CustomerNumber string `json:"customerNumber,omitempty"`

	AffiliateCode string `json:"affiliateCode,omitempty"`

	DoubleOptInRegistration bool `json:"doubleOptInRegistration,omitempty"`

	DoubleOptInEmailSentDate time.Time `json:"doubleOptInEmailSentDate,omitempty"`

	ReviewCount float64 `json:"reviewCount,omitempty"`

	OrderCustomers []OrderCustomer `json:"orderCustomers,omitempty"`

	OrderTotalAmount float64 `json:"orderTotalAmount,omitempty"`

	DefaultShippingAddress *CustomerAddress `json:"defaultShippingAddress,omitempty"`

	Tags []Tag `json:"tags,omitempty"`

	ProductReviews []ProductReview `json:"productReviews,omitempty"`

	TagIds interface{} `json:"tagIds,omitempty"`
}

type CustomerAddress

type CustomerAddress struct {
	CustomerId string `json:"customerId,omitempty"`

	CountryStateId string `json:"countryStateId,omitempty"`

	SalutationId string `json:"salutationId,omitempty"`

	Zipcode string `json:"zipcode,omitempty"`

	City string `json:"city,omitempty"`

	Company string `json:"company,omitempty"`

	Street string `json:"street,omitempty"`

	CustomFields interface{} `json:"customFields,omitempty"`

	UpdatedAt time.Time `json:"updatedAt,omitempty"`

	FirstName string `json:"firstName,omitempty"`

	AdditionalAddressLine1 string `json:"additionalAddressLine1,omitempty"`

	AdditionalAddressLine2 string `json:"additionalAddressLine2,omitempty"`

	Country *Country `json:"country,omitempty"`

	CountryState *CountryState `json:"countryState,omitempty"`

	CreatedAt time.Time `json:"createdAt,omitempty"`

	LastName string `json:"lastName,omitempty"`

	Title string `json:"title,omitempty"`

	Customer *Customer `json:"customer,omitempty"`

	Salutation *Salutation `json:"salutation,omitempty"`

	Id string `json:"id,omitempty"`

	CountryId string `json:"countryId,omitempty"`

	Department string `json:"department,omitempty"`

	PhoneNumber string `json:"phoneNumber,omitempty"`
}

type CustomerAddressCollection

type CustomerAddressCollection struct {
	EntityCollection

	Data []CustomerAddress `json:"data"`
}

type CustomerAddressRepository

type CustomerAddressRepository ClientService

func (CustomerAddressRepository) Delete

func (t CustomerAddressRepository) Delete(ctx ApiContext, ids []string) (*http.Response, error)

func (CustomerAddressRepository) Search

func (CustomerAddressRepository) SearchAll

func (CustomerAddressRepository) SearchIds

func (CustomerAddressRepository) Upsert

type CustomerCollection

type CustomerCollection struct {
	EntityCollection

	Data []Customer `json:"data"`
}

type CustomerGroup

type CustomerGroup struct {
	Name string `json:"name,omitempty"`

	DisplayGross bool `json:"displayGross,omitempty"`

	RegistrationTitle string `json:"registrationTitle,omitempty"`

	RegistrationOnlyCompanyRegistration bool `json:"registrationOnlyCompanyRegistration,omitempty"`

	Id string `json:"id,omitempty"`

	RegistrationActive bool `json:"registrationActive,omitempty"`

	RegistrationIntroduction string `json:"registrationIntroduction,omitempty"`

	RegistrationSeoMetaDescription string `json:"registrationSeoMetaDescription,omitempty"`

	Customers []Customer `json:"customers,omitempty"`

	Translations []CustomerGroupTranslation `json:"translations,omitempty"`

	RegistrationSalesChannels []SalesChannel `json:"registrationSalesChannels,omitempty"`

	CustomFields interface{} `json:"customFields,omitempty"`

	Translated interface{} `json:"translated,omitempty"`

	UpdatedAt time.Time `json:"updatedAt,omitempty"`

	CreatedAt time.Time `json:"createdAt,omitempty"`

	SalesChannels []SalesChannel `json:"salesChannels,omitempty"`
}

type CustomerGroupCollection

type CustomerGroupCollection struct {
	EntityCollection

	Data []CustomerGroup `json:"data"`
}

type CustomerGroupRegistrationSalesChannels

type CustomerGroupRegistrationSalesChannels struct {
	SalesChannelId string `json:"salesChannelId,omitempty"`

	CustomerGroup *CustomerGroup `json:"customerGroup,omitempty"`

	SalesChannel *SalesChannel `json:"salesChannel,omitempty"`

	CreatedAt time.Time `json:"createdAt,omitempty"`

	CustomerGroupId string `json:"customerGroupId,omitempty"`
}

type CustomerGroupRegistrationSalesChannelsCollection

type CustomerGroupRegistrationSalesChannelsCollection struct {
	EntityCollection

	Data []CustomerGroupRegistrationSalesChannels `json:"data"`
}

type CustomerGroupRegistrationSalesChannelsRepository

type CustomerGroupRegistrationSalesChannelsRepository ClientService

func (CustomerGroupRegistrationSalesChannelsRepository) Delete

func (CustomerGroupRegistrationSalesChannelsRepository) Search

func (CustomerGroupRegistrationSalesChannelsRepository) SearchAll

func (CustomerGroupRegistrationSalesChannelsRepository) SearchIds

func (CustomerGroupRegistrationSalesChannelsRepository) Upsert

type CustomerGroupRepository

type CustomerGroupRepository ClientService

func (CustomerGroupRepository) Delete

func (t CustomerGroupRepository) Delete(ctx ApiContext, ids []string) (*http.Response, error)

func (CustomerGroupRepository) Search

func (CustomerGroupRepository) SearchAll

func (CustomerGroupRepository) SearchIds

func (CustomerGroupRepository) Upsert

func (t CustomerGroupRepository) Upsert(ctx ApiContext, entity []CustomerGroup) (*http.Response, error)

type CustomerGroupTranslation

type CustomerGroupTranslation struct {
	RegistrationIntroduction string `json:"registrationIntroduction,omitempty"`

	RegistrationOnlyCompanyRegistration bool `json:"registrationOnlyCompanyRegistration,omitempty"`

	CustomerGroupId string `json:"customerGroupId,omitempty"`

	CustomerGroup *CustomerGroup `json:"customerGroup,omitempty"`

	Language *Language `json:"language,omitempty"`

	UpdatedAt time.Time `json:"updatedAt,omitempty"`

	LanguageId string `json:"languageId,omitempty"`

	Name string `json:"name,omitempty"`

	RegistrationTitle string `json:"registrationTitle,omitempty"`

	RegistrationSeoMetaDescription string `json:"registrationSeoMetaDescription,omitempty"`

	CustomFields interface{} `json:"customFields,omitempty"`

	CreatedAt time.Time `json:"createdAt,omitempty"`
}

type CustomerGroupTranslationCollection

type CustomerGroupTranslationCollection struct {
	EntityCollection

	Data []CustomerGroupTranslation `json:"data"`
}

type CustomerGroupTranslationRepository

type CustomerGroupTranslationRepository ClientService

func (CustomerGroupTranslationRepository) Delete

func (CustomerGroupTranslationRepository) Search

func (CustomerGroupTranslationRepository) SearchAll

func (CustomerGroupTranslationRepository) SearchIds

func (CustomerGroupTranslationRepository) Upsert

type CustomerRecovery

type CustomerRecovery struct {
	CreatedAt time.Time `json:"createdAt,omitempty"`

	UpdatedAt time.Time `json:"updatedAt,omitempty"`

	Id string `json:"id,omitempty"`

	Hash string `json:"hash,omitempty"`

	CustomerId string `json:"customerId,omitempty"`

	Customer *Customer `json:"customer,omitempty"`
}

type CustomerRecoveryCollection

type CustomerRecoveryCollection struct {
	EntityCollection

	Data []CustomerRecovery `json:"data"`
}

type CustomerRecoveryRepository

type CustomerRecoveryRepository ClientService

func (CustomerRecoveryRepository) Delete

func (CustomerRecoveryRepository) Search

func (CustomerRecoveryRepository) SearchAll

func (CustomerRecoveryRepository) SearchIds

func (CustomerRecoveryRepository) Upsert

type CustomerRepository

type CustomerRepository ClientService

func (CustomerRepository) Delete

func (t CustomerRepository) Delete(ctx ApiContext, ids []string) (*http.Response, error)

func (CustomerRepository) Search

func (CustomerRepository) SearchAll

func (t CustomerRepository) SearchAll(ctx ApiContext, criteria Criteria) (*CustomerCollection, *http.Response, error)

func (CustomerRepository) SearchIds

func (t CustomerRepository) SearchIds(ctx ApiContext, criteria Criteria) (*SearchIdsResponse, *http.Response, error)

func (CustomerRepository) Upsert

func (t CustomerRepository) Upsert(ctx ApiContext, entity []Customer) (*http.Response, error)

type CustomerTag

type CustomerTag struct {
	TagId string `json:"tagId,omitempty"`

	Customer *Customer `json:"customer,omitempty"`

	Tag *Tag `json:"tag,omitempty"`

	CustomerId string `json:"customerId,omitempty"`
}

type CustomerTagCollection

type CustomerTagCollection struct {
	EntityCollection

	Data []CustomerTag `json:"data"`
}

type CustomerTagRepository

type CustomerTagRepository ClientService

func (CustomerTagRepository) Delete

func (t CustomerTagRepository) Delete(ctx ApiContext, ids []string) (*http.Response, error)

func (CustomerTagRepository) Search

func (CustomerTagRepository) SearchAll

func (CustomerTagRepository) SearchIds

func (CustomerTagRepository) Upsert

func (t CustomerTagRepository) Upsert(ctx ApiContext, entity []CustomerTag) (*http.Response, error)

type CustomerWishlist

type CustomerWishlist struct {
	CustomFields interface{} `json:"customFields,omitempty"`

	Customer *Customer `json:"customer,omitempty"`

	CreatedAt time.Time `json:"createdAt,omitempty"`

	UpdatedAt time.Time `json:"updatedAt,omitempty"`

	SalesChannel *SalesChannel `json:"salesChannel,omitempty"`

	Id string `json:"id,omitempty"`

	CustomerId string `json:"customerId,omitempty"`

	SalesChannelId string `json:"salesChannelId,omitempty"`

	Products []CustomerWishlistProduct `json:"products,omitempty"`
}

type CustomerWishlistCollection

type CustomerWishlistCollection struct {
	EntityCollection

	Data []CustomerWishlist `json:"data"`
}

type CustomerWishlistProduct

type CustomerWishlistProduct struct {
	Product *Product `json:"product,omitempty"`

	CreatedAt time.Time `json:"createdAt,omitempty"`

	UpdatedAt time.Time `json:"updatedAt,omitempty"`

	Id string `json:"id,omitempty"`

	ProductId string `json:"productId,omitempty"`

	ProductVersionId string `json:"productVersionId,omitempty"`

	WishlistId string `json:"wishlistId,omitempty"`

	Wishlist *CustomerWishlist `json:"wishlist,omitempty"`
}

type CustomerWishlistProductCollection

type CustomerWishlistProductCollection struct {
	EntityCollection

	Data []CustomerWishlistProduct `json:"data"`
}

type CustomerWishlistProductRepository

type CustomerWishlistProductRepository ClientService

func (CustomerWishlistProductRepository) Delete

func (CustomerWishlistProductRepository) Search

func (CustomerWishlistProductRepository) SearchAll

func (CustomerWishlistProductRepository) SearchIds

func (CustomerWishlistProductRepository) Upsert

type CustomerWishlistRepository

type CustomerWishlistRepository ClientService

func (CustomerWishlistRepository) Delete

func (CustomerWishlistRepository) Search

func (CustomerWishlistRepository) SearchAll

func (CustomerWishlistRepository) SearchIds

func (CustomerWishlistRepository) Upsert

type DeadMessage

type DeadMessage struct {
	CreatedAt time.Time `json:"createdAt,omitempty"`

	Id string `json:"id,omitempty"`

	SerializedOriginalMessage interface{} `json:"serializedOriginalMessage,omitempty"`

	Exception string `json:"exception,omitempty"`

	ExceptionLine float64 `json:"exceptionLine,omitempty"`

	ScheduledTask *ScheduledTask `json:"scheduledTask,omitempty"`

	OriginalMessageClass string `json:"originalMessageClass,omitempty"`

	ExceptionMessage string `json:"exceptionMessage,omitempty"`

	ExceptionFile string `json:"exceptionFile,omitempty"`

	UpdatedAt time.Time `json:"updatedAt,omitempty"`

	HandlerClass string `json:"handlerClass,omitempty"`

	Encrypted bool `json:"encrypted,omitempty"`

	ErrorCount float64 `json:"errorCount,omitempty"`

	NextExecutionTime time.Time `json:"nextExecutionTime,omitempty"`

	ScheduledTaskId string `json:"scheduledTaskId,omitempty"`
}

type DeadMessageCollection

type DeadMessageCollection struct {
	EntityCollection

	Data []DeadMessage `json:"data"`
}

type DeadMessageRepository

type DeadMessageRepository ClientService

func (DeadMessageRepository) Delete

func (t DeadMessageRepository) Delete(ctx ApiContext, ids []string) (*http.Response, error)

func (DeadMessageRepository) Search

func (DeadMessageRepository) SearchAll

func (DeadMessageRepository) SearchIds

func (DeadMessageRepository) Upsert

func (t DeadMessageRepository) Upsert(ctx ApiContext, entity []DeadMessage) (*http.Response, error)

type DeliveryTime

type DeliveryTime struct {
	UpdatedAt time.Time `json:"updatedAt,omitempty"`

	Id string `json:"id,omitempty"`

	Name string `json:"name,omitempty"`

	Unit string `json:"unit,omitempty"`

	CreatedAt time.Time `json:"createdAt,omitempty"`

	Products []Product `json:"products,omitempty"`

	Translations []DeliveryTimeTranslation `json:"translations,omitempty"`

	Translated interface{} `json:"translated,omitempty"`

	Min float64 `json:"min,omitempty"`

	Max float64 `json:"max,omitempty"`

	CustomFields interface{} `json:"customFields,omitempty"`

	ShippingMethods []ShippingMethod `json:"shippingMethods,omitempty"`
}

type DeliveryTimeCollection

type DeliveryTimeCollection struct {
	EntityCollection

	Data []DeliveryTime `json:"data"`
}

type DeliveryTimeRepository

type DeliveryTimeRepository ClientService

func (DeliveryTimeRepository) Delete

func (t DeliveryTimeRepository) Delete(ctx ApiContext, ids []string) (*http.Response, error)

func (DeliveryTimeRepository) Search

func (DeliveryTimeRepository) SearchAll

func (DeliveryTimeRepository) SearchIds

func (DeliveryTimeRepository) Upsert

func (t DeliveryTimeRepository) Upsert(ctx ApiContext, entity []DeliveryTime) (*http.Response, error)

type DeliveryTimeTranslation

type DeliveryTimeTranslation struct {
	DeliveryTime *DeliveryTime `json:"deliveryTime,omitempty"`

	Language *Language `json:"language,omitempty"`

	Name string `json:"name,omitempty"`

	CustomFields interface{} `json:"customFields,omitempty"`

	CreatedAt time.Time `json:"createdAt,omitempty"`

	UpdatedAt time.Time `json:"updatedAt,omitempty"`

	DeliveryTimeId string `json:"deliveryTimeId,omitempty"`

	LanguageId string `json:"languageId,omitempty"`
}

type DeliveryTimeTranslationCollection

type DeliveryTimeTranslationCollection struct {
	EntityCollection

	Data []DeliveryTimeTranslation `json:"data"`
}

type DeliveryTimeTranslationRepository

type DeliveryTimeTranslationRepository ClientService

func (DeliveryTimeTranslationRepository) Delete

func (DeliveryTimeTranslationRepository) Search

func (DeliveryTimeTranslationRepository) SearchAll

func (DeliveryTimeTranslationRepository) SearchIds

func (DeliveryTimeTranslationRepository) Upsert

type Document

type Document struct {
	OrderVersionId string `json:"orderVersionId,omitempty"`

	Static bool `json:"static,omitempty"`

	Order *Order `json:"order,omitempty"`

	DependentDocuments []Document `json:"dependentDocuments,omitempty"`

	Id string `json:"id,omitempty"`

	FileType string `json:"fileType,omitempty"`

	Config interface{} `json:"config,omitempty"`

	DeepLinkCode string `json:"deepLinkCode,omitempty"`

	DocumentMediaFile *Media `json:"documentMediaFile,omitempty"`

	DocumentNumber string `json:"documentNumber,omitempty"`

	CustomFields interface{} `json:"customFields,omitempty"`

	DocumentType *DocumentType `json:"documentType,omitempty"`

	ReferencedDocument *Document `json:"referencedDocument,omitempty"`

	CreatedAt time.Time `json:"createdAt,omitempty"`

	UpdatedAt time.Time `json:"updatedAt,omitempty"`

	DocumentTypeId string `json:"documentTypeId,omitempty"`

	ReferencedDocumentId string `json:"referencedDocumentId,omitempty"`

	OrderId string `json:"orderId,omitempty"`

	DocumentMediaFileId string `json:"documentMediaFileId,omitempty"`

	Sent bool `json:"sent,omitempty"`
}

type DocumentBaseConfig

type DocumentBaseConfig struct {
	Id string `json:"id,omitempty"`

	DocumentTypeId string `json:"documentTypeId,omitempty"`

	FilenameSuffix string `json:"filenameSuffix,omitempty"`

	Config interface{} `json:"config,omitempty"`

	DocumentType *DocumentType `json:"documentType,omitempty"`

	UpdatedAt time.Time `json:"updatedAt,omitempty"`

	Global bool `json:"global,omitempty"`

	CreatedAt time.Time `json:"createdAt,omitempty"`

	DocumentNumber string `json:"documentNumber,omitempty"`

	CustomFields interface{} `json:"customFields,omitempty"`

	LogoId string `json:"logoId,omitempty"`

	Name string `json:"name,omitempty"`

	FilenamePrefix string `json:"filenamePrefix,omitempty"`


	SalesChannels []DocumentBaseConfigSalesChannel `json:"salesChannels,omitempty"`
}

type DocumentBaseConfigCollection

type DocumentBaseConfigCollection struct {
	EntityCollection

	Data []DocumentBaseConfig `json:"data"`
}

type DocumentBaseConfigRepository

type DocumentBaseConfigRepository ClientService

func (DocumentBaseConfigRepository) Delete

func (DocumentBaseConfigRepository) Search

func (DocumentBaseConfigRepository) SearchAll

func (DocumentBaseConfigRepository) SearchIds

func (DocumentBaseConfigRepository) Upsert

type DocumentBaseConfigSalesChannel

type DocumentBaseConfigSalesChannel struct {
	Id string `json:"id,omitempty"`

	DocumentTypeId string `json:"documentTypeId,omitempty"`

	DocumentBaseConfig *DocumentBaseConfig `json:"documentBaseConfig,omitempty"`

	SalesChannel *SalesChannel `json:"salesChannel,omitempty"`

	DocumentBaseConfigId string `json:"documentBaseConfigId,omitempty"`

	SalesChannelId string `json:"salesChannelId,omitempty"`

	DocumentType *DocumentType `json:"documentType,omitempty"`

	CreatedAt time.Time `json:"createdAt,omitempty"`

	UpdatedAt time.Time `json:"updatedAt,omitempty"`
}

type DocumentBaseConfigSalesChannelCollection

type DocumentBaseConfigSalesChannelCollection struct {
	EntityCollection

	Data []DocumentBaseConfigSalesChannel `json:"data"`
}

type DocumentBaseConfigSalesChannelRepository

type DocumentBaseConfigSalesChannelRepository ClientService

func (DocumentBaseConfigSalesChannelRepository) Delete

func (DocumentBaseConfigSalesChannelRepository) Search

func (DocumentBaseConfigSalesChannelRepository) SearchAll

func (DocumentBaseConfigSalesChannelRepository) SearchIds

func (DocumentBaseConfigSalesChannelRepository) Upsert

type DocumentCollection

type DocumentCollection struct {
	EntityCollection

	Data []Document `json:"data"`
}

type DocumentRepository

type DocumentRepository ClientService

func (DocumentRepository) Delete

func (t DocumentRepository) Delete(ctx ApiContext, ids []string) (*http.Response, error)

func (DocumentRepository) Search

func (DocumentRepository) SearchAll

func (t DocumentRepository) SearchAll(ctx ApiContext, criteria Criteria) (*DocumentCollection, *http.Response, error)

func (DocumentRepository) SearchIds

func (t DocumentRepository) SearchIds(ctx ApiContext, criteria Criteria) (*SearchIdsResponse, *http.Response, error)

func (DocumentRepository) Upsert

func (t DocumentRepository) Upsert(ctx ApiContext, entity []Document) (*http.Response, error)

type DocumentType

type DocumentType struct {
	CustomFields interface{} `json:"customFields,omitempty"`

	Translations []DocumentTypeTranslation `json:"translations,omitempty"`

	Documents []Document `json:"documents,omitempty"`

	DocumentBaseConfigs []DocumentBaseConfig `json:"documentBaseConfigs,omitempty"`

	Translated interface{} `json:"translated,omitempty"`

	Name string `json:"name,omitempty"`

	TechnicalName string `json:"technicalName,omitempty"`

	UpdatedAt time.Time `json:"updatedAt,omitempty"`

	DocumentBaseConfigSalesChannels []DocumentBaseConfigSalesChannel `json:"documentBaseConfigSalesChannels,omitempty"`

	Id string `json:"id,omitempty"`

	CreatedAt time.Time `json:"createdAt,omitempty"`
}

type DocumentTypeCollection

type DocumentTypeCollection struct {
	EntityCollection

	Data []DocumentType `json:"data"`
}

type DocumentTypeRepository

type DocumentTypeRepository ClientService

func (DocumentTypeRepository) Delete

func (t DocumentTypeRepository) Delete(ctx ApiContext, ids []string) (*http.Response, error)

func (DocumentTypeRepository) Search

func (DocumentTypeRepository) SearchAll

func (DocumentTypeRepository) SearchIds

func (DocumentTypeRepository) Upsert

func (t DocumentTypeRepository) Upsert(ctx ApiContext, entity []DocumentType) (*http.Response, error)

type DocumentTypeTranslation

type DocumentTypeTranslation struct {
	Language *Language `json:"language,omitempty"`

	Name string `json:"name,omitempty"`

	CustomFields interface{} `json:"customFields,omitempty"`

	CreatedAt time.Time `json:"createdAt,omitempty"`

	UpdatedAt time.Time `json:"updatedAt,omitempty"`

	DocumentTypeId string `json:"documentTypeId,omitempty"`

	LanguageId string `json:"languageId,omitempty"`

	DocumentType *DocumentType `json:"documentType,omitempty"`
}

type DocumentTypeTranslationCollection

type DocumentTypeTranslationCollection struct {
	EntityCollection

	Data []DocumentTypeTranslation `json:"data"`
}

type DocumentTypeTranslationRepository

type DocumentTypeTranslationRepository ClientService

func (DocumentTypeTranslationRepository) Delete

func (DocumentTypeTranslationRepository) Search

func (DocumentTypeTranslationRepository) SearchAll

func (DocumentTypeTranslationRepository) SearchIds

func (DocumentTypeTranslationRepository) Upsert

type EntityCollection

type EntityCollection struct {
	Total        int64       `json:"total"`
	Aggregations interface{} `json:"aggregations"`
}

type ErrorDetail

type ErrorDetail struct {
	Code   string `json:"code"`
	Status string `json:"status"`
	Title  string `json:"title"`
	Detail string `json:"detail"`
}

type ErrorResponse

type ErrorResponse struct {
	Response *http.Response
	Content  string
	Errors   []ErrorDetail `json:"errors"`
}

func (ErrorResponse) Error

func (r ErrorResponse) Error() string

type EventAction

type EventAction struct {
	Active bool `json:"active,omitempty"`

	Title string `json:"title,omitempty"`

	Rules []Rule `json:"rules,omitempty"`

	SalesChannels []SalesChannel `json:"salesChannels,omitempty"`

	CreatedAt time.Time `json:"createdAt,omitempty"`

	EventName string `json:"eventName,omitempty"`

	ActionName string `json:"actionName,omitempty"`

	Config interface{} `json:"config,omitempty"`

	CustomFields interface{} `json:"customFields,omitempty"`

	UpdatedAt time.Time `json:"updatedAt,omitempty"`

	Id string `json:"id,omitempty"`
}

type EventActionCollection

type EventActionCollection struct {
	EntityCollection

	Data []EventAction `json:"data"`
}

type EventActionRepository

type EventActionRepository ClientService

func (EventActionRepository) Delete

func (t EventActionRepository) Delete(ctx ApiContext, ids []string) (*http.Response, error)

func (EventActionRepository) Search

func (EventActionRepository) SearchAll

func (EventActionRepository) SearchIds

func (EventActionRepository) Upsert

func (t EventActionRepository) Upsert(ctx ApiContext, entity []EventAction) (*http.Response, error)

type EventActionRule

type EventActionRule struct {
	RuleId string `json:"ruleId,omitempty"`

	EventAction *EventAction `json:"eventAction,omitempty"`

	Rule *Rule `json:"rule,omitempty"`

	EventActionId string `json:"eventActionId,omitempty"`
}

type EventActionRuleCollection

type EventActionRuleCollection struct {
	EntityCollection

	Data []EventActionRule `json:"data"`
}

type EventActionRuleRepository

type EventActionRuleRepository ClientService

func (EventActionRuleRepository) Delete

func (t EventActionRuleRepository) Delete(ctx ApiContext, ids []string) (*http.Response, error)

func (EventActionRuleRepository) Search

func (EventActionRuleRepository) SearchAll

func (EventActionRuleRepository) SearchIds

func (EventActionRuleRepository) Upsert

type EventActionSalesChannel

type EventActionSalesChannel struct {
	SalesChannel *SalesChannel `json:"salesChannel,omitempty"`

	EventActionId string `json:"eventActionId,omitempty"`

	SalesChannelId string `json:"salesChannelId,omitempty"`

	EventAction *EventAction `json:"eventAction,omitempty"`
}

type EventActionSalesChannelCollection

type EventActionSalesChannelCollection struct {
	EntityCollection

	Data []EventActionSalesChannel `json:"data"`
}

type EventActionSalesChannelRepository

type EventActionSalesChannelRepository ClientService

func (EventActionSalesChannelRepository) Delete

func (EventActionSalesChannelRepository) Search

func (EventActionSalesChannelRepository) SearchAll

func (EventActionSalesChannelRepository) SearchIds

func (EventActionSalesChannelRepository) Upsert

type ExtensionDetail

type ExtensionDetail struct {
	Extensions             []interface{} `json:"extensions"`
	Id                     interface{}   `json:"id"`
	LocalId                string        `json:"localId"`
	Name                   string        `json:"name"`
	Label                  string        `json:"label"`
	Description            string        `json:"description"`
	ShortDescription       interface{}   `json:"shortDescription"`
	ProducerName           string        `json:"producerName"`
	License                string        `json:"license"`
	Version                string        `json:"version"`
	LatestVersion          string        `json:"latestVersion"`
	Languages              []interface{} `json:"languages"`
	Rating                 interface{}   `json:"rating"`
	NumberOfRatings        int           `json:"numberOfRatings"`
	Variants               []interface{} `json:"variants"`
	Faq                    []interface{} `json:"faq"`
	Binaries               []interface{} `json:"binaries"`
	Images                 []interface{} `json:"images"`
	Icon                   interface{}   `json:"icon"`
	IconRaw                *string       `json:"iconRaw"`
	Categories             []interface{} `json:"categories"`
	Permissions            interface{}   `json:"permissions"`
	Active                 bool          `json:"active"`
	Type                   string        `json:"type"`
	IsTheme                bool          `json:"isTheme"`
	Configurable           bool          `json:"configurable"`
	PrivacyPolicyExtension interface{}   `json:"privacyPolicyExtension"`
	StoreLicense           interface{}   `json:"storeLicense"`
	StoreExtension         interface{}   `json:"storeExtension"`
	InstalledAt            *struct {
		Date         string `json:"date"`
		TimezoneType int    `json:"timezone_type"`
		Timezone     string `json:"timezone"`
	} `json:"installedAt"`
	UpdatedAt    interface{}   `json:"updatedAt"`
	Notices      []interface{} `json:"notices"`
	Source       string        `json:"source"`
	UpdateSource string        `json:"updateSource"`
}

func (ExtensionDetail) IsPlugin

func (e ExtensionDetail) IsPlugin() bool

func (ExtensionDetail) IsUpdateAble

func (e ExtensionDetail) IsUpdateAble() bool

func (ExtensionDetail) Status

func (e ExtensionDetail) Status() string

type ExtensionList

type ExtensionList []*ExtensionDetail

func (ExtensionList) FilterByUpdateable

func (l ExtensionList) FilterByUpdateable() ExtensionList

func (ExtensionList) GetByName

func (l ExtensionList) GetByName(name string) *ExtensionDetail

type ExtensionManagerService

type ExtensionManagerService ClientService

func (ExtensionManagerService) ActivateExtension

func (e ExtensionManagerService) ActivateExtension(ctx ApiContext, extType, name string) (*http.Response, error)

func (ExtensionManagerService) DeactivateExtension

func (e ExtensionManagerService) DeactivateExtension(ctx ApiContext, extType, name string) (*http.Response, error)

func (ExtensionManagerService) DownloadExtension

func (e ExtensionManagerService) DownloadExtension(ctx ApiContext, name string) (*http.Response, error)

func (ExtensionManagerService) InstallExtension

func (e ExtensionManagerService) InstallExtension(ctx ApiContext, extType, name string) (*http.Response, error)

func (ExtensionManagerService) ListAvailableExtensions

func (e ExtensionManagerService) ListAvailableExtensions(ctx ApiContext) (ExtensionList, *http.Response, error)

func (ExtensionManagerService) Refresh

func (ExtensionManagerService) RemoveExtension

func (e ExtensionManagerService) RemoveExtension(ctx ApiContext, extType, name string) (*http.Response, error)

func (ExtensionManagerService) UninstallExtension

func (e ExtensionManagerService) UninstallExtension(ctx ApiContext, extType, name string) (*http.Response, error)

func (ExtensionManagerService) UpdateExtension

func (e ExtensionManagerService) UpdateExtension(ctx ApiContext, extType, name string) (*http.Response, error)

func (ExtensionManagerService) UploadExtension

func (e ExtensionManagerService) UploadExtension(ctx ApiContext, extensionZip io.Reader) (*http.Response, error)

func (ExtensionManagerService) UploadExtensionUpdateToCloud

func (e ExtensionManagerService) UploadExtensionUpdateToCloud(ctx ApiContext, extensionName string, extensionZip io.Reader) (*http.Response, error)

type Flow

type Flow struct {
	Invalid bool `json:"invalid,omitempty"`

	Description string `json:"description,omitempty"`

	Id string `json:"id,omitempty"`

	EventName string `json:"eventName,omitempty"`

	Sequences []FlowSequence `json:"sequences,omitempty"`

	AppFlowEvent *AppFlowEvent `json:"appFlowEvent,omitempty"`

	Name string `json:"name,omitempty"`

	UpdatedAt time.Time `json:"updatedAt,omitempty"`

	Payload interface{} `json:"payload,omitempty"`

	Active bool `json:"active,omitempty"`

	CustomFields interface{} `json:"customFields,omitempty"`

	AppFlowEventId string `json:"appFlowEventId,omitempty"`

	CreatedAt time.Time `json:"createdAt,omitempty"`

	Priority float64 `json:"priority,omitempty"`
}

type FlowCollection

type FlowCollection struct {
	EntityCollection

	Data []Flow `json:"data"`
}

type FlowRepository

type FlowRepository ClientService

func (FlowRepository) Delete

func (t FlowRepository) Delete(ctx ApiContext, ids []string) (*http.Response, error)

func (FlowRepository) Search

func (t FlowRepository) Search(ctx ApiContext, criteria Criteria) (*FlowCollection, *http.Response, error)

func (FlowRepository) SearchAll

func (t FlowRepository) SearchAll(ctx ApiContext, criteria Criteria) (*FlowCollection, *http.Response, error)

func (FlowRepository) SearchIds

func (t FlowRepository) SearchIds(ctx ApiContext, criteria Criteria) (*SearchIdsResponse, *http.Response, error)

func (FlowRepository) Upsert

func (t FlowRepository) Upsert(ctx ApiContext, entity []Flow) (*http.Response, error)

type FlowSequence

type FlowSequence struct {
	Position float64 `json:"position,omitempty"`

	DisplayGroup float64 `json:"displayGroup,omitempty"`

	AppFlowActionId string `json:"appFlowActionId,omitempty"`

	UpdatedAt time.Time `json:"updatedAt,omitempty"`

	FlowId string `json:"flowId,omitempty"`

	Config interface{} `json:"config,omitempty"`

	Flow *Flow `json:"flow,omitempty"`

	Rule *Rule `json:"rule,omitempty"`

	Parent *FlowSequence `json:"parent,omitempty"`

	Children []FlowSequence `json:"children,omitempty"`

	ParentId string `json:"parentId,omitempty"`

	AppFlowAction *AppFlowAction `json:"appFlowAction,omitempty"`

	RuleId string `json:"ruleId,omitempty"`

	ActionName string `json:"actionName,omitempty"`

	CreatedAt time.Time `json:"createdAt,omitempty"`

	Id string `json:"id,omitempty"`

	CustomFields interface{} `json:"customFields,omitempty"`

	TrueCase bool `json:"trueCase,omitempty"`
}

type FlowSequenceCollection

type FlowSequenceCollection struct {
	EntityCollection

	Data []FlowSequence `json:"data"`
}

type FlowSequenceRepository

type FlowSequenceRepository ClientService

func (FlowSequenceRepository) Delete

func (t FlowSequenceRepository) Delete(ctx ApiContext, ids []string) (*http.Response, error)

func (FlowSequenceRepository) Search

func (FlowSequenceRepository) SearchAll

func (FlowSequenceRepository) SearchIds

func (FlowSequenceRepository) Upsert

func (t FlowSequenceRepository) Upsert(ctx ApiContext, entity []FlowSequence) (*http.Response, error)

type FlowTemplate

type FlowTemplate struct {
	Id string `json:"id,omitempty"`

	Name string `json:"name,omitempty"`

	Config interface{} `json:"config,omitempty"`

	CreatedAt time.Time `json:"createdAt,omitempty"`

	UpdatedAt time.Time `json:"updatedAt,omitempty"`
}

type FlowTemplateCollection

type FlowTemplateCollection struct {
	EntityCollection

	Data []FlowTemplate `json:"data"`
}

type FlowTemplateRepository

type FlowTemplateRepository ClientService

func (FlowTemplateRepository) Delete

func (t FlowTemplateRepository) Delete(ctx ApiContext, ids []string) (*http.Response, error)

func (FlowTemplateRepository) Search

func (FlowTemplateRepository) SearchAll

func (FlowTemplateRepository) SearchIds

func (FlowTemplateRepository) Upsert

func (t FlowTemplateRepository) Upsert(ctx ApiContext, entity []FlowTemplate) (*http.Response, error)

type ImportExportFile

type ImportExportFile struct {
	Path string `json:"path,omitempty"`

	ExpireDate time.Time `json:"expireDate,omitempty"`

	Size float64 `json:"size,omitempty"`

	Log *ImportExportLog `json:"log,omitempty"`

	CreatedAt time.Time `json:"createdAt,omitempty"`

	UpdatedAt time.Time `json:"updatedAt,omitempty"`

	Id string `json:"id,omitempty"`

	OriginalName string `json:"originalName,omitempty"`

	AccessToken string `json:"accessToken,omitempty"`
}

type ImportExportFileCollection

type ImportExportFileCollection struct {
	EntityCollection

	Data []ImportExportFile `json:"data"`
}

type ImportExportFileRepository

type ImportExportFileRepository ClientService

func (ImportExportFileRepository) Delete

func (ImportExportFileRepository) Search

func (ImportExportFileRepository) SearchAll

func (ImportExportFileRepository) SearchIds

func (ImportExportFileRepository) Upsert

type ImportExportLog

type ImportExportLog struct {
	FailedImportLog *ImportExportLog `json:"failedImportLog,omitempty"`

	UpdatedAt time.Time `json:"updatedAt,omitempty"`

	State string `json:"state,omitempty"`

	FileId string `json:"fileId,omitempty"`

	InvalidRecordsLogId string `json:"invalidRecordsLogId,omitempty"`

	Username string `json:"username,omitempty"`

	Result interface{} `json:"result,omitempty"`

	Profile *ImportExportProfile `json:"profile,omitempty"`

	Records float64 `json:"records,omitempty"`

	UserId string `json:"userId,omitempty"`

	ProfileId string `json:"profileId,omitempty"`

	ProfileName string `json:"profileName,omitempty"`

	User *User `json:"user,omitempty"`

	Activity string `json:"activity,omitempty"`

	InvalidRecordsLog *ImportExportLog `json:"invalidRecordsLog,omitempty"`

	Id string `json:"id,omitempty"`

	Config interface{} `json:"config,omitempty"`

	File *ImportExportFile `json:"file,omitempty"`

	CreatedAt time.Time `json:"createdAt,omitempty"`
}

type ImportExportLogCollection

type ImportExportLogCollection struct {
	EntityCollection

	Data []ImportExportLog `json:"data"`
}

type ImportExportLogRepository

type ImportExportLogRepository ClientService

func (ImportExportLogRepository) Delete

func (t ImportExportLogRepository) Delete(ctx ApiContext, ids []string) (*http.Response, error)

func (ImportExportLogRepository) Search

func (ImportExportLogRepository) SearchAll

func (ImportExportLogRepository) SearchIds

func (ImportExportLogRepository) Upsert

type ImportExportProfile

type ImportExportProfile struct {
	Type string `json:"type,omitempty"`

	Enclosure string `json:"enclosure,omitempty"`

	Name string `json:"name,omitempty"`

	Label string `json:"label,omitempty"`

	SystemDefault bool `json:"systemDefault,omitempty"`

	FileType string `json:"fileType,omitempty"`

	Mapping interface{} `json:"mapping,omitempty"`

	ImportExportLogs []ImportExportLog `json:"importExportLogs,omitempty"`

	Translations []ImportExportProfileTranslation `json:"translations,omitempty"`

	UpdatedAt time.Time `json:"updatedAt,omitempty"`

	Translated interface{} `json:"translated,omitempty"`

	Id string `json:"id,omitempty"`

	CreatedAt time.Time `json:"createdAt,omitempty"`

	SourceEntity string `json:"sourceEntity,omitempty"`

	Delimiter string `json:"delimiter,omitempty"`

	UpdateBy interface{} `json:"updateBy,omitempty"`

	Config interface{} `json:"config,omitempty"`
}

type ImportExportProfileCollection

type ImportExportProfileCollection struct {
	EntityCollection

	Data []ImportExportProfile `json:"data"`
}

type ImportExportProfileRepository

type ImportExportProfileRepository ClientService

func (ImportExportProfileRepository) Delete

func (ImportExportProfileRepository) Search

func (ImportExportProfileRepository) SearchAll

func (ImportExportProfileRepository) SearchIds

func (ImportExportProfileRepository) Upsert

type ImportExportProfileTranslation

type ImportExportProfileTranslation struct {
	UpdatedAt time.Time `json:"updatedAt,omitempty"`

	ImportExportProfileId string `json:"importExportProfileId,omitempty"`

	LanguageId string `json:"languageId,omitempty"`

	ImportExportProfile *ImportExportProfile `json:"importExportProfile,omitempty"`

	Language *Language `json:"language,omitempty"`

	Label string `json:"label,omitempty"`

	CreatedAt time.Time `json:"createdAt,omitempty"`
}

type ImportExportProfileTranslationCollection

type ImportExportProfileTranslationCollection struct {
	EntityCollection

	Data []ImportExportProfileTranslation `json:"data"`
}

type ImportExportProfileTranslationRepository

type ImportExportProfileTranslationRepository ClientService

func (ImportExportProfileTranslationRepository) Delete

func (ImportExportProfileTranslationRepository) Search

func (ImportExportProfileTranslationRepository) SearchAll

func (ImportExportProfileTranslationRepository) SearchIds

func (ImportExportProfileTranslationRepository) Upsert

type InfoResponse

type InfoResponse struct {
	Version         string `json:"version"`
	VersionRevision string `json:"versionRevision"`
	AdminWorker     struct {
		EnableAdminWorker bool     `json:"enableAdminWorker"`
		Transports        []string `json:"transports"`
	} `json:"adminWorker"`
	Bundles  map[string]infoResponseBundle `json:"bundles"`
	Settings struct {
		EnableURLFeature bool `json:"enableUrlFeature"`
	} `json:"settings"`
}

func (InfoResponse) IsCloudShop

func (r InfoResponse) IsCloudShop() bool

type InfoService

type InfoService ClientService

func (InfoService) Info

type Integration

type Integration struct {
	LastUsageAt time.Time `json:"lastUsageAt,omitempty"`

	CreatedAt time.Time `json:"createdAt,omitempty"`

	Id string `json:"id,omitempty"`

	Label string `json:"label,omitempty"`

	AccessKey string `json:"accessKey,omitempty"`

	UpdatedAt time.Time `json:"updatedAt,omitempty"`

	CreatedNotifications []Notification `json:"createdNotifications,omitempty"`

	SecretAccessKey interface{} `json:"secretAccessKey,omitempty"`

	CustomFields interface{} `json:"customFields,omitempty"`

	Admin bool `json:"admin,omitempty"`

	DeletedAt time.Time `json:"deletedAt,omitempty"`

	App *App `json:"app,omitempty"`

	AclRoles []AclRole `json:"aclRoles,omitempty"`
}

type IntegrationCollection

type IntegrationCollection struct {
	EntityCollection

	Data []Integration `json:"data"`
}

type IntegrationCredentials

type IntegrationCredentials struct {
	ClientId     string
	ClientSecret string
	Scopes       []string
}

func NewIntegrationCredentials

func NewIntegrationCredentials(clientId, clientSecret string, scopes []string) IntegrationCredentials

func (IntegrationCredentials) GetTokenSource

func (c IntegrationCredentials) GetTokenSource(ctx context.Context, tokenURL string) (oauth2.TokenSource, error)

type IntegrationRepository

type IntegrationRepository ClientService

func (IntegrationRepository) Delete

func (t IntegrationRepository) Delete(ctx ApiContext, ids []string) (*http.Response, error)

func (IntegrationRepository) Search

func (IntegrationRepository) SearchAll

func (IntegrationRepository) SearchIds

func (IntegrationRepository) Upsert

func (t IntegrationRepository) Upsert(ctx ApiContext, entity []Integration) (*http.Response, error)

type IntegrationRole

type IntegrationRole struct {
	IntegrationId string `json:"integrationId,omitempty"`

	AclRoleId string `json:"aclRoleId,omitempty"`

	Integration *Integration `json:"integration,omitempty"`

	Role *AclRole `json:"role,omitempty"`
}

type IntegrationRoleCollection

type IntegrationRoleCollection struct {
	EntityCollection

	Data []IntegrationRole `json:"data"`
}

type IntegrationRoleRepository

type IntegrationRoleRepository ClientService

func (IntegrationRoleRepository) Delete

func (t IntegrationRoleRepository) Delete(ctx ApiContext, ids []string) (*http.Response, error)

func (IntegrationRoleRepository) Search

func (IntegrationRoleRepository) SearchAll

func (IntegrationRoleRepository) SearchIds

func (IntegrationRoleRepository) Upsert

type LandingPage

type LandingPage struct {
	MetaTitle string `json:"metaTitle,omitempty"`

	MetaDescription string `json:"metaDescription,omitempty"`

	Keywords string `json:"keywords,omitempty"`

	CmsPageId string `json:"cmsPageId,omitempty"`

	CmsPageVersionId string `json:"cmsPageVersionId,omitempty"`

	Active bool `json:"active,omitempty"`

	Name string `json:"name,omitempty"`

	CmsPage *CmsPage `json:"cmsPage,omitempty"`

	SalesChannels []SalesChannel `json:"salesChannels,omitempty"`

	SeoUrls []SeoUrl `json:"seoUrls,omitempty"`

	CreatedAt time.Time `json:"createdAt,omitempty"`

	UpdatedAt time.Time `json:"updatedAt,omitempty"`

	Url string `json:"url,omitempty"`

	Translations []LandingPageTranslation `json:"translations,omitempty"`

	Tags []Tag `json:"tags,omitempty"`

	Translated interface{} `json:"translated,omitempty"`

	CustomFields interface{} `json:"customFields,omitempty"`

	SlotConfig interface{} `json:"slotConfig,omitempty"`

	Id string `json:"id,omitempty"`

	VersionId string `json:"versionId,omitempty"`
}

type LandingPageCollection

type LandingPageCollection struct {
	EntityCollection

	Data []LandingPage `json:"data"`
}

type LandingPageRepository

type LandingPageRepository ClientService

func (LandingPageRepository) Delete

func (t LandingPageRepository) Delete(ctx ApiContext, ids []string) (*http.Response, error)

func (LandingPageRepository) Search

func (LandingPageRepository) SearchAll

func (LandingPageRepository) SearchIds

func (LandingPageRepository) Upsert

func (t LandingPageRepository) Upsert(ctx ApiContext, entity []LandingPage) (*http.Response, error)

type LandingPageSalesChannel

type LandingPageSalesChannel struct {
	LandingPageVersionId string `json:"landingPageVersionId,omitempty"`

	SalesChannelId string `json:"salesChannelId,omitempty"`

	LandingPage *LandingPage `json:"landingPage,omitempty"`

	SalesChannel *SalesChannel `json:"salesChannel,omitempty"`

	LandingPageId string `json:"landingPageId,omitempty"`
}

type LandingPageSalesChannelCollection

type LandingPageSalesChannelCollection struct {
	EntityCollection

	Data []LandingPageSalesChannel `json:"data"`
}

type LandingPageSalesChannelRepository

type LandingPageSalesChannelRepository ClientService

func (LandingPageSalesChannelRepository) Delete

func (LandingPageSalesChannelRepository) Search

func (LandingPageSalesChannelRepository) SearchAll

func (LandingPageSalesChannelRepository) SearchIds

func (LandingPageSalesChannelRepository) Upsert

type LandingPageTag

type LandingPageTag struct {
	Tag *Tag `json:"tag,omitempty"`

	LandingPageId string `json:"landingPageId,omitempty"`

	LandingPageVersionId string `json:"landingPageVersionId,omitempty"`

	TagId string `json:"tagId,omitempty"`

	LandingPage *LandingPage `json:"landingPage,omitempty"`
}

type LandingPageTagCollection

type LandingPageTagCollection struct {
	EntityCollection

	Data []LandingPageTag `json:"data"`
}

type LandingPageTagRepository

type LandingPageTagRepository ClientService

func (LandingPageTagRepository) Delete

func (t LandingPageTagRepository) Delete(ctx ApiContext, ids []string) (*http.Response, error)

func (LandingPageTagRepository) Search

func (LandingPageTagRepository) SearchAll

func (LandingPageTagRepository) SearchIds

func (LandingPageTagRepository) Upsert

type LandingPageTranslation

type LandingPageTranslation struct {
	LandingPage *LandingPage `json:"landingPage,omitempty"`

	SlotConfig interface{} `json:"slotConfig,omitempty"`

	Keywords string `json:"keywords,omitempty"`

	Language *Language `json:"language,omitempty"`

	LandingPageVersionId string `json:"landingPageVersionId,omitempty"`

	MetaTitle string `json:"metaTitle,omitempty"`

	CustomFields interface{} `json:"customFields,omitempty"`

	CreatedAt time.Time `json:"createdAt,omitempty"`

	UpdatedAt time.Time `json:"updatedAt,omitempty"`

	LandingPageId string `json:"landingPageId,omitempty"`

	Name string `json:"name,omitempty"`

	Url string `json:"url,omitempty"`

	MetaDescription string `json:"metaDescription,omitempty"`

	LanguageId string `json:"languageId,omitempty"`
}

type LandingPageTranslationCollection

type LandingPageTranslationCollection struct {
	EntityCollection

	Data []LandingPageTranslation `json:"data"`
}

type LandingPageTranslationRepository

type LandingPageTranslationRepository ClientService

func (LandingPageTranslationRepository) Delete

func (LandingPageTranslationRepository) Search

func (LandingPageTranslationRepository) SearchAll

func (LandingPageTranslationRepository) SearchIds

func (LandingPageTranslationRepository) Upsert

type Language

type Language struct {
	ProductSearchKeywords []ProductSearchKeyword `json:"productSearchKeywords,omitempty"`

	AppTranslations []AppTranslation `json:"appTranslations,omitempty"`

	AppCmsBlockTranslations []AppCmsBlockTranslation `json:"appCmsBlockTranslations,omitempty"`

	SalesChannelDefaultAssignments []SalesChannel `json:"salesChannelDefaultAssignments,omitempty"`

	ActionButtonTranslations []AppActionButtonTranslation `json:"actionButtonTranslations,omitempty"`

	SalesChannels []SalesChannel `json:"salesChannels,omitempty"`

	Parent *Language `json:"parent,omitempty"`

	PropertyGroupOptionTranslations []PropertyGroupOptionTranslation `json:"propertyGroupOptionTranslations,omitempty"`

	CmsPageTranslations []CmsPageTranslation `json:"cmsPageTranslations,omitempty"`

	ProductSortingTranslations []ProductSortingTranslation `json:"productSortingTranslations,omitempty"`

	CreatedAt time.Time `json:"createdAt,omitempty"`

	CustomFields interface{} `json:"customFields,omitempty"`

	TranslationCode *Locale `json:"translationCode,omitempty"`

	NewsletterRecipients []NewsletterRecipient `json:"newsletterRecipients,omitempty"`

	CountryTranslations []CountryTranslation `json:"countryTranslations,omitempty"`

	UnitTranslations []UnitTranslation `json:"unitTranslations,omitempty"`

	ProductKeywordDictionaries []ProductKeywordDictionary `json:"productKeywordDictionaries,omitempty"`

	Id string `json:"id,omitempty"`

	NumberRangeTranslations []NumberRangeTranslation `json:"numberRangeTranslations,omitempty"`

	Children []Language `json:"children,omitempty"`

	StateMachineStateTranslations []StateMachineStateTranslation `json:"stateMachineStateTranslations,omitempty"`

	CmsSlotTranslations []CmsSlotTranslation `json:"cmsSlotTranslations,omitempty"`

	LocaleTranslations []LocaleTranslation `json:"localeTranslations,omitempty"`

	ProductSearchConfig *ProductSearchConfig `json:"productSearchConfig,omitempty"`

	UpdatedAt time.Time `json:"updatedAt,omitempty"`

	PromotionTranslations []PromotionTranslation `json:"promotionTranslations,omitempty"`

	ProductManufacturerTranslations []ProductManufacturerTranslation `json:"productManufacturerTranslations,omitempty"`

	StateMachineTranslations []StateMachineTranslation `json:"stateMachineTranslations,omitempty"`

	MailHeaderFooterTranslations []MailHeaderFooterTranslation `json:"mailHeaderFooterTranslations,omitempty"`

	NumberRangeTypeTranslations []NumberRangeTypeTranslation `json:"numberRangeTypeTranslations,omitempty"`

	MailTemplateTypeTranslations []MailTemplateTypeTranslation `json:"mailTemplateTypeTranslations,omitempty"`

	LocaleId string `json:"localeId,omitempty"`

	CategoryTranslations []CategoryTranslation `json:"categoryTranslations,omitempty"`

	CountryStateTranslations []CountryStateTranslation `json:"countryStateTranslations,omitempty"`

	MediaTranslations []MediaTranslation `json:"mediaTranslations,omitempty"`

	PaymentMethodTranslations []PaymentMethodTranslation `json:"paymentMethodTranslations,omitempty"`

	ProductStreamTranslations []ProductStreamTranslation `json:"productStreamTranslations,omitempty"`

	TaxRuleTypeTranslations []TaxRuleTypeTranslation `json:"taxRuleTypeTranslations,omitempty"`

	ImportExportProfileTranslations []ImportExportProfileTranslation `json:"importExportProfileTranslations,omitempty"`

	TranslationCodeId string `json:"translationCodeId,omitempty"`

	ProductFeatureSetTranslations []ProductFeatureSetTranslation `json:"productFeatureSetTranslations,omitempty"`

	MailTemplateTranslations []MailTemplateTranslation `json:"mailTemplateTranslations,omitempty"`

	ProductCrossSellingTranslations []ProductCrossSellingTranslation `json:"productCrossSellingTranslations,omitempty"`

	Orders []Order `json:"orders,omitempty"`

	ShippingMethodTranslations []ShippingMethodTranslation `json:"shippingMethodTranslations,omitempty"`

	SalesChannelTypeTranslations []SalesChannelTypeTranslation `json:"salesChannelTypeTranslations,omitempty"`

	SalutationTranslations []SalutationTranslation `json:"salutationTranslations,omitempty"`

	TaxProviderTranslations []TaxProviderTranslation `json:"taxProviderTranslations,omitempty"`

	ParentId string `json:"parentId,omitempty"`

	ProductReviews []ProductReview `json:"productReviews,omitempty"`

	ThemeTranslations []ThemeTranslation `json:"themeTranslations,omitempty"`

	DeliveryTimeTranslations []DeliveryTimeTranslation `json:"deliveryTimeTranslations,omitempty"`

	ProductTranslations []ProductTranslation `json:"productTranslations,omitempty"`

	DocumentTypeTranslations []DocumentTypeTranslation `json:"documentTypeTranslations,omitempty"`

	LandingPageTranslations []LandingPageTranslation `json:"landingPageTranslations,omitempty"`

	AppFlowActionTranslations []AppFlowActionTranslation `json:"appFlowActionTranslations,omitempty"`

	SalesChannelDomains []SalesChannelDomain `json:"salesChannelDomains,omitempty"`

	PropertyGroupTranslations []PropertyGroupTranslation `json:"propertyGroupTranslations,omitempty"`

	Customers []Customer `json:"customers,omitempty"`

	SalesChannelTranslations []SalesChannelTranslation `json:"salesChannelTranslations,omitempty"`

	SeoUrlTranslations []SeoUrl `json:"seoUrlTranslations,omitempty"`

	AppScriptConditionTranslations []AppScriptConditionTranslation `json:"appScriptConditionTranslations,omitempty"`

	Name string `json:"name,omitempty"`

	CurrencyTranslations []CurrencyTranslation `json:"currencyTranslations,omitempty"`

	CustomerGroupTranslations []CustomerGroupTranslation `json:"customerGroupTranslations,omitempty"`

	PluginTranslations []PluginTranslation `json:"pluginTranslations,omitempty"`

	Locale *Locale `json:"locale,omitempty"`
}

type LanguageCollection

type LanguageCollection struct {
	EntityCollection

	Data []Language `json:"data"`
}

type LanguageRepository

type LanguageRepository ClientService

func (LanguageRepository) Delete

func (t LanguageRepository) Delete(ctx ApiContext, ids []string) (*http.Response, error)

func (LanguageRepository) Search

func (LanguageRepository) SearchAll

func (t LanguageRepository) SearchAll(ctx ApiContext, criteria Criteria) (*LanguageCollection, *http.Response, error)

func (LanguageRepository) SearchIds

func (t LanguageRepository) SearchIds(ctx ApiContext, criteria Criteria) (*SearchIdsResponse, *http.Response, error)

func (LanguageRepository) Upsert

func (t LanguageRepository) Upsert(ctx ApiContext, entity []Language) (*http.Response, error)

type Locale

type Locale struct {
	Territory string `json:"territory,omitempty"`

	Languages []Language `json:"languages,omitempty"`

	Translations []LocaleTranslation `json:"translations,omitempty"`

	Users []User `json:"users,omitempty"`

	CreatedAt time.Time `json:"createdAt,omitempty"`

	UpdatedAt time.Time `json:"updatedAt,omitempty"`

	Id string `json:"id,omitempty"`

	Code string `json:"code,omitempty"`

	Name string `json:"name,omitempty"`

	CustomFields interface{} `json:"customFields,omitempty"`

	Translated interface{} `json:"translated,omitempty"`
}

type LocaleCollection

type LocaleCollection struct {
	EntityCollection

	Data []Locale `json:"data"`
}

type LocaleRepository

type LocaleRepository ClientService

func (LocaleRepository) Delete

func (t LocaleRepository) Delete(ctx ApiContext, ids []string) (*http.Response, error)

func (LocaleRepository) Search

func (t LocaleRepository) Search(ctx ApiContext, criteria Criteria) (*LocaleCollection, *http.Response, error)

func (LocaleRepository) SearchAll

func (t LocaleRepository) SearchAll(ctx ApiContext, criteria Criteria) (*LocaleCollection, *http.Response, error)

func (LocaleRepository) SearchIds

func (t LocaleRepository) SearchIds(ctx ApiContext, criteria Criteria) (*SearchIdsResponse, *http.Response, error)

func (LocaleRepository) Upsert

func (t LocaleRepository) Upsert(ctx ApiContext, entity []Locale) (*http.Response, error)

type LocaleTranslation

type LocaleTranslation struct {
	Territory string `json:"territory,omitempty"`

	CustomFields interface{} `json:"customFields,omitempty"`

	CreatedAt time.Time `json:"createdAt,omitempty"`

	Language *Language `json:"language,omitempty"`

	Name string `json:"name,omitempty"`

	UpdatedAt time.Time `json:"updatedAt,omitempty"`

	LocaleId string `json:"localeId,omitempty"`

	LanguageId string `json:"languageId,omitempty"`

	Locale *Locale `json:"locale,omitempty"`
}

type LocaleTranslationCollection

type LocaleTranslationCollection struct {
	EntityCollection

	Data []LocaleTranslation `json:"data"`
}

type LocaleTranslationRepository

type LocaleTranslationRepository ClientService

func (LocaleTranslationRepository) Delete

func (LocaleTranslationRepository) Search

func (LocaleTranslationRepository) SearchAll

func (LocaleTranslationRepository) SearchIds

func (LocaleTranslationRepository) Upsert

type LogEntry

type LogEntry struct {
	Context interface{} `json:"context,omitempty"`

	Extra interface{} `json:"extra,omitempty"`

	CreatedAt time.Time `json:"createdAt,omitempty"`

	UpdatedAt time.Time `json:"updatedAt,omitempty"`

	Id string `json:"id,omitempty"`

	Message string `json:"message,omitempty"`

	Level float64 `json:"level,omitempty"`

	Channel string `json:"channel,omitempty"`
}

type LogEntryCollection

type LogEntryCollection struct {
	EntityCollection

	Data []LogEntry `json:"data"`
}

type LogEntryRepository

type LogEntryRepository ClientService

func (LogEntryRepository) Delete

func (t LogEntryRepository) Delete(ctx ApiContext, ids []string) (*http.Response, error)

func (LogEntryRepository) Search

func (LogEntryRepository) SearchAll

func (t LogEntryRepository) SearchAll(ctx ApiContext, criteria Criteria) (*LogEntryCollection, *http.Response, error)

func (LogEntryRepository) SearchIds

func (t LogEntryRepository) SearchIds(ctx ApiContext, criteria Criteria) (*SearchIdsResponse, *http.Response, error)

func (LogEntryRepository) Upsert

func (t LogEntryRepository) Upsert(ctx ApiContext, entity []LogEntry) (*http.Response, error)

type MailHeaderFooter

type MailHeaderFooter struct {
	Id string `json:"id,omitempty"`

	HeaderHtml string `json:"headerHtml,omitempty"`

	Translations []MailHeaderFooterTranslation `json:"translations,omitempty"`

	CreatedAt time.Time `json:"createdAt,omitempty"`

	Translated interface{} `json:"translated,omitempty"`

	Description string `json:"description,omitempty"`

	HeaderPlain string `json:"headerPlain,omitempty"`

	FooterHtml string `json:"footerHtml,omitempty"`

	SalesChannels []SalesChannel `json:"salesChannels,omitempty"`

	UpdatedAt time.Time `json:"updatedAt,omitempty"`

	SystemDefault bool `json:"systemDefault,omitempty"`

	Name string `json:"name,omitempty"`

	FooterPlain string `json:"footerPlain,omitempty"`
}

type MailHeaderFooterCollection

type MailHeaderFooterCollection struct {
	EntityCollection

	Data []MailHeaderFooter `json:"data"`
}

type MailHeaderFooterRepository

type MailHeaderFooterRepository ClientService

func (MailHeaderFooterRepository) Delete

func (MailHeaderFooterRepository) Search

func (MailHeaderFooterRepository) SearchAll

func (MailHeaderFooterRepository) SearchIds

func (MailHeaderFooterRepository) Upsert

type MailHeaderFooterTranslation

type MailHeaderFooterTranslation struct {
	HeaderHtml string `json:"headerHtml,omitempty"`

	HeaderPlain string `json:"headerPlain,omitempty"`

	FooterHtml string `json:"footerHtml,omitempty"`

	FooterPlain string `json:"footerPlain,omitempty"`

	CreatedAt time.Time `json:"createdAt,omitempty"`

	MailHeaderFooterId string `json:"mailHeaderFooterId,omitempty"`

	Name string `json:"name,omitempty"`

	Description string `json:"description,omitempty"`

	Language *Language `json:"language,omitempty"`

	LanguageId string `json:"languageId,omitempty"`

	MailHeaderFooter *MailHeaderFooter `json:"mailHeaderFooter,omitempty"`

	UpdatedAt time.Time `json:"updatedAt,omitempty"`
}

type MailHeaderFooterTranslationCollection

type MailHeaderFooterTranslationCollection struct {
	EntityCollection

	Data []MailHeaderFooterTranslation `json:"data"`
}

type MailHeaderFooterTranslationRepository

type MailHeaderFooterTranslationRepository ClientService

func (MailHeaderFooterTranslationRepository) Delete

func (MailHeaderFooterTranslationRepository) Search

func (MailHeaderFooterTranslationRepository) SearchAll

func (MailHeaderFooterTranslationRepository) SearchIds

func (MailHeaderFooterTranslationRepository) Upsert

type MailTemplate

type MailTemplate struct {
	SenderName string `json:"senderName,omitempty"`

	Translations []MailTemplateTranslation `json:"translations,omitempty"`

	MailTemplateType *MailTemplateType `json:"mailTemplateType,omitempty"`

	Id string `json:"id,omitempty"`

	Description string `json:"description,omitempty"`

	ContentPlain string `json:"contentPlain,omitempty"`

	CreatedAt time.Time `json:"createdAt,omitempty"`

	Translated interface{} `json:"translated,omitempty"`

	MailTemplateTypeId string `json:"mailTemplateTypeId,omitempty"`

	SystemDefault bool `json:"systemDefault,omitempty"`

	Subject string `json:"subject,omitempty"`

	ContentHtml string `json:"contentHtml,omitempty"`

	CustomFields interface{} `json:"customFields,omitempty"`

	Media []MailTemplateMedia `json:"media,omitempty"`

	UpdatedAt time.Time `json:"updatedAt,omitempty"`
}

type MailTemplateCollection

type MailTemplateCollection struct {
	EntityCollection

	Data []MailTemplate `json:"data"`
}

type MailTemplateMedia

type MailTemplateMedia struct {
	Media *Media `json:"media,omitempty"`

	Id string `json:"id,omitempty"`

	MailTemplateId string `json:"mailTemplateId,omitempty"`

	LanguageId string `json:"languageId,omitempty"`

	MediaId string `json:"mediaId,omitempty"`

	Position float64 `json:"position,omitempty"`

	MailTemplate *MailTemplate `json:"mailTemplate,omitempty"`
}

type MailTemplateMediaCollection

type MailTemplateMediaCollection struct {
	EntityCollection

	Data []MailTemplateMedia `json:"data"`
}

type MailTemplateMediaRepository

type MailTemplateMediaRepository ClientService

func (MailTemplateMediaRepository) Delete

func (MailTemplateMediaRepository) Search

func (MailTemplateMediaRepository) SearchAll

func (MailTemplateMediaRepository) SearchIds

func (MailTemplateMediaRepository) Upsert

type MailTemplateRepository

type MailTemplateRepository ClientService

func (MailTemplateRepository) Delete

func (t MailTemplateRepository) Delete(ctx ApiContext, ids []string) (*http.Response, error)

func (MailTemplateRepository) Search

func (MailTemplateRepository) SearchAll

func (MailTemplateRepository) SearchIds

func (MailTemplateRepository) Upsert

func (t MailTemplateRepository) Upsert(ctx ApiContext, entity []MailTemplate) (*http.Response, error)

type MailTemplateTranslation

type MailTemplateTranslation struct {
	Description string `json:"description,omitempty"`

	Subject string `json:"subject,omitempty"`

	ContentHtml string `json:"contentHtml,omitempty"`

	ContentPlain string `json:"contentPlain,omitempty"`

	CreatedAt time.Time `json:"createdAt,omitempty"`

	UpdatedAt time.Time `json:"updatedAt,omitempty"`

	MailTemplateId string `json:"mailTemplateId,omitempty"`

	LanguageId string `json:"languageId,omitempty"`

	Language *Language `json:"language,omitempty"`

	SenderName string `json:"senderName,omitempty"`

	CustomFields interface{} `json:"customFields,omitempty"`

	MailTemplate *MailTemplate `json:"mailTemplate,omitempty"`
}

type MailTemplateTranslationCollection

type MailTemplateTranslationCollection struct {
	EntityCollection

	Data []MailTemplateTranslation `json:"data"`
}

type MailTemplateTranslationRepository

type MailTemplateTranslationRepository ClientService

func (MailTemplateTranslationRepository) Delete

func (MailTemplateTranslationRepository) Search

func (MailTemplateTranslationRepository) SearchAll

func (MailTemplateTranslationRepository) SearchIds

func (MailTemplateTranslationRepository) Upsert

type MailTemplateType

type MailTemplateType struct {
	UpdatedAt time.Time `json:"updatedAt,omitempty"`

	Id string `json:"id,omitempty"`

	MailTemplates []MailTemplate `json:"mailTemplates,omitempty"`

	AvailableEntities interface{} `json:"availableEntities,omitempty"`

	CustomFields interface{} `json:"customFields,omitempty"`

	Translations []MailTemplateTypeTranslation `json:"translations,omitempty"`

	TemplateData interface{} `json:"templateData,omitempty"`

	CreatedAt time.Time `json:"createdAt,omitempty"`

	Translated interface{} `json:"translated,omitempty"`

	Name string `json:"name,omitempty"`

	TechnicalName string `json:"technicalName,omitempty"`
}

type MailTemplateTypeCollection

type MailTemplateTypeCollection struct {
	EntityCollection

	Data []MailTemplateType `json:"data"`
}

type MailTemplateTypeRepository

type MailTemplateTypeRepository ClientService

func (MailTemplateTypeRepository) Delete

func (MailTemplateTypeRepository) Search

func (MailTemplateTypeRepository) SearchAll

func (MailTemplateTypeRepository) SearchIds

func (MailTemplateTypeRepository) Upsert

type MailTemplateTypeTranslation

type MailTemplateTypeTranslation struct {
	Name string `json:"name,omitempty"`

	CustomFields interface{} `json:"customFields,omitempty"`

	CreatedAt time.Time `json:"createdAt,omitempty"`

	UpdatedAt time.Time `json:"updatedAt,omitempty"`

	MailTemplateTypeId string `json:"mailTemplateTypeId,omitempty"`

	LanguageId string `json:"languageId,omitempty"`

	MailTemplateType *MailTemplateType `json:"mailTemplateType,omitempty"`

	Language *Language `json:"language,omitempty"`
}

type MailTemplateTypeTranslationCollection

type MailTemplateTypeTranslationCollection struct {
	EntityCollection

	Data []MailTemplateTypeTranslation `json:"data"`
}

type MailTemplateTypeTranslationRepository

type MailTemplateTypeTranslationRepository ClientService

func (MailTemplateTypeTranslationRepository) Delete

func (MailTemplateTypeTranslationRepository) Search

func (MailTemplateTypeTranslationRepository) SearchAll

func (MailTemplateTypeTranslationRepository) SearchIds

func (MailTemplateTypeTranslationRepository) Upsert

type MainCategory

type MainCategory struct {
	ProductVersionId string `json:"productVersionId,omitempty"`

	CategoryVersionId string `json:"categoryVersionId,omitempty"`

	UpdatedAt time.Time `json:"updatedAt,omitempty"`

	Id string `json:"id,omitempty"`

	ProductId string `json:"productId,omitempty"`

	Product *Product `json:"product,omitempty"`

	Category *Category `json:"category,omitempty"`

	SalesChannel *SalesChannel `json:"salesChannel,omitempty"`

	CreatedAt time.Time `json:"createdAt,omitempty"`

	CategoryId string `json:"categoryId,omitempty"`

	SalesChannelId string `json:"salesChannelId,omitempty"`
}

type MainCategoryCollection

type MainCategoryCollection struct {
	EntityCollection

	Data []MainCategory `json:"data"`
}

type MainCategoryRepository

type MainCategoryRepository ClientService

func (MainCategoryRepository) Delete

func (t MainCategoryRepository) Delete(ctx ApiContext, ids []string) (*http.Response, error)

func (MainCategoryRepository) Search

func (MainCategoryRepository) SearchAll

func (MainCategoryRepository) SearchIds

func (MainCategoryRepository) Upsert

func (t MainCategoryRepository) Upsert(ctx ApiContext, entity []MainCategory) (*http.Response, error)

type Media

type Media struct {
	CmsPages []CmsPage `json:"cmsPages,omitempty"`

	ProductMedia []ProductMedia `json:"productMedia,omitempty"`

	AvatarUsers []User `json:"avatarUsers,omitempty"`

	CmsSections []CmsSection `json:"cmsSections,omitempty"`

	Url string `json:"url,omitempty"`

	ThemeMedia []Theme `json:"themeMedia,omitempty"`

	MediaType interface{} `json:"mediaType,omitempty"`

	Tags []Tag `json:"tags,omitempty"`

	CustomFields interface{} `json:"customFields,omitempty"`

	UserId string `json:"userId,omitempty"`

	ProductConfiguratorSettings []ProductConfiguratorSetting `json:"productConfiguratorSettings,omitempty"`

	OrderLineItemDownloads []OrderLineItemDownload `json:"orderLineItemDownloads,omitempty"`

	AppShippingMethods []AppShippingMethod `json:"appShippingMethods,omitempty"`

	CreatedAt time.Time `json:"createdAt,omitempty"`

	HasFile bool `json:"hasFile,omitempty"`

	Thumbnails []MediaThumbnail `json:"thumbnails,omitempty"`

	Themes []Theme `json:"themes,omitempty"`

	MediaFolderId string `json:"mediaFolderId,omitempty"`

	MediaFolder *MediaFolder `json:"mediaFolder,omitempty"`

	Id string `json:"id,omitempty"`

	MediaTypeRaw interface{} `json:"mediaTypeRaw,omitempty"`

	Translations []MediaTranslation `json:"translations,omitempty"`

	ProductDownloads []ProductDownload `json:"productDownloads,omitempty"`

	UpdatedAt time.Time `json:"updatedAt,omitempty"`

	FileExtension string `json:"fileExtension,omitempty"`

	UploadedAt time.Time `json:"uploadedAt,omitempty"`

	DocumentBaseConfigs []DocumentBaseConfig `json:"documentBaseConfigs,omitempty"`

	ThumbnailsRo interface{} `json:"thumbnailsRo,omitempty"`

	MimeType string `json:"mimeType,omitempty"`

	Config interface{} `json:"config,omitempty"`

	Title string `json:"title,omitempty"`

	AppPaymentMethods []AppPaymentMethod `json:"appPaymentMethods,omitempty"`

	PaymentMethods []PaymentMethod `json:"paymentMethods,omitempty"`

	OrderLineItems []OrderLineItem `json:"orderLineItems,omitempty"`

	CmsBlocks []CmsBlock `json:"cmsBlocks,omitempty"`

	FileName string `json:"fileName,omitempty"`

	Alt string `json:"alt,omitempty"`

	Private bool `json:"private,omitempty"`

	Categories []Category `json:"categories,omitempty"`

	ShippingMethods []ShippingMethod `json:"shippingMethods,omitempty"`

	MetaData interface{} `json:"metaData,omitempty"`

	ProductManufacturers []ProductManufacturer `json:"productManufacturers,omitempty"`

	MailTemplateMedia []MailTemplateMedia `json:"mailTemplateMedia,omitempty"`

	Documents []Document `json:"documents,omitempty"`

	Translated interface{} `json:"translated,omitempty"`

	FileSize float64 `json:"fileSize,omitempty"`

	Path string `json:"path,omitempty"`

	User *User `json:"user,omitempty"`

	PropertyGroupOptions []PropertyGroupOption `json:"propertyGroupOptions,omitempty"`
}

type MediaCollection

type MediaCollection struct {
	EntityCollection

	Data []Media `json:"data"`
}

type MediaDefaultFolder

type MediaDefaultFolder struct {
	CustomFields interface{} `json:"customFields,omitempty"`

	CreatedAt time.Time `json:"createdAt,omitempty"`

	UpdatedAt time.Time `json:"updatedAt,omitempty"`

	Id string `json:"id,omitempty"`

	Entity string `json:"entity,omitempty"`

	Folder *MediaFolder `json:"folder,omitempty"`
}

type MediaDefaultFolderCollection

type MediaDefaultFolderCollection struct {
	EntityCollection

	Data []MediaDefaultFolder `json:"data"`
}

type MediaDefaultFolderRepository

type MediaDefaultFolderRepository ClientService

func (MediaDefaultFolderRepository) Delete

func (MediaDefaultFolderRepository) Search

func (MediaDefaultFolderRepository) SearchAll

func (MediaDefaultFolderRepository) SearchIds

func (MediaDefaultFolderRepository) Upsert

type MediaFolder

type MediaFolder struct {
	Children []MediaFolder `json:"children,omitempty"`

	ChildCount float64 `json:"childCount,omitempty"`

	Media []Media `json:"media,omitempty"`

	CustomFields interface{} `json:"customFields,omitempty"`

	ParentId string `json:"parentId,omitempty"`

	Path string `json:"path,omitempty"`

	DefaultFolder *MediaDefaultFolder `json:"defaultFolder,omitempty"`

	Name string `json:"name,omitempty"`

	UseParentConfiguration bool `json:"useParentConfiguration,omitempty"`

	ConfigurationId string `json:"configurationId,omitempty"`

	DefaultFolderId string `json:"defaultFolderId,omitempty"`

	Parent *MediaFolder `json:"parent,omitempty"`

	CreatedAt time.Time `json:"createdAt,omitempty"`

	Id string `json:"id,omitempty"`

	Configuration *MediaFolderConfiguration `json:"configuration,omitempty"`

	UpdatedAt time.Time `json:"updatedAt,omitempty"`
}

type MediaFolderCollection

type MediaFolderCollection struct {
	EntityCollection

	Data []MediaFolder `json:"data"`
}

type MediaFolderConfiguration

type MediaFolderConfiguration struct {
	CreateThumbnails bool `json:"createThumbnails,omitempty"`

	KeepAspectRatio bool `json:"keepAspectRatio,omitempty"`

	ThumbnailQuality float64 `json:"thumbnailQuality,omitempty"`

	NoAssociation bool `json:"noAssociation,omitempty"`

	MediaFolders []MediaFolder `json:"mediaFolders,omitempty"`

	UpdatedAt time.Time `json:"updatedAt,omitempty"`

	Id string `json:"id,omitempty"`

	MediaThumbnailSizes []MediaThumbnailSize `json:"mediaThumbnailSizes,omitempty"`

	MediaThumbnailSizesRo interface{} `json:"mediaThumbnailSizesRo,omitempty"`

	CustomFields interface{} `json:"customFields,omitempty"`

	CreatedAt time.Time `json:"createdAt,omitempty"`

	Private bool `json:"private,omitempty"`
}

type MediaFolderConfigurationCollection

type MediaFolderConfigurationCollection struct {
	EntityCollection

	Data []MediaFolderConfiguration `json:"data"`
}

type MediaFolderConfigurationMediaThumbnailSize

type MediaFolderConfigurationMediaThumbnailSize struct {
	MediaThumbnailSizeId string `json:"mediaThumbnailSizeId,omitempty"`

	MediaFolderConfiguration *MediaFolderConfiguration `json:"mediaFolderConfiguration,omitempty"`

	MediaThumbnailSize *MediaThumbnailSize `json:"mediaThumbnailSize,omitempty"`

	MediaFolderConfigurationId string `json:"mediaFolderConfigurationId,omitempty"`
}

type MediaFolderConfigurationMediaThumbnailSizeCollection

type MediaFolderConfigurationMediaThumbnailSizeCollection struct {
	EntityCollection

	Data []MediaFolderConfigurationMediaThumbnailSize `json:"data"`
}

type MediaFolderConfigurationMediaThumbnailSizeRepository

type MediaFolderConfigurationMediaThumbnailSizeRepository ClientService

func (MediaFolderConfigurationMediaThumbnailSizeRepository) Delete

func (MediaFolderConfigurationMediaThumbnailSizeRepository) Search

func (MediaFolderConfigurationMediaThumbnailSizeRepository) SearchAll

func (MediaFolderConfigurationMediaThumbnailSizeRepository) SearchIds

func (MediaFolderConfigurationMediaThumbnailSizeRepository) Upsert

type MediaFolderConfigurationRepository

type MediaFolderConfigurationRepository ClientService

func (MediaFolderConfigurationRepository) Delete

func (MediaFolderConfigurationRepository) Search

func (MediaFolderConfigurationRepository) SearchAll

func (MediaFolderConfigurationRepository) SearchIds

func (MediaFolderConfigurationRepository) Upsert

type MediaFolderRepository

type MediaFolderRepository ClientService

func (MediaFolderRepository) Delete

func (t MediaFolderRepository) Delete(ctx ApiContext, ids []string) (*http.Response, error)

func (MediaFolderRepository) Search

func (MediaFolderRepository) SearchAll

func (MediaFolderRepository) SearchIds

func (MediaFolderRepository) Upsert

func (t MediaFolderRepository) Upsert(ctx ApiContext, entity []MediaFolder) (*http.Response, error)

type MediaRepository

type MediaRepository ClientService

func (MediaRepository) Delete

func (t MediaRepository) Delete(ctx ApiContext, ids []string) (*http.Response, error)

func (MediaRepository) Search

func (t MediaRepository) Search(ctx ApiContext, criteria Criteria) (*MediaCollection, *http.Response, error)

func (MediaRepository) SearchAll

func (t MediaRepository) SearchAll(ctx ApiContext, criteria Criteria) (*MediaCollection, *http.Response, error)

func (MediaRepository) SearchIds

func (t MediaRepository) SearchIds(ctx ApiContext, criteria Criteria) (*SearchIdsResponse, *http.Response, error)

func (MediaRepository) Upsert

func (t MediaRepository) Upsert(ctx ApiContext, entity []Media) (*http.Response, error)

type MediaTag

type MediaTag struct {
	Media *Media `json:"media,omitempty"`

	Tag *Tag `json:"tag,omitempty"`

	MediaId string `json:"mediaId,omitempty"`

	TagId string `json:"tagId,omitempty"`
}

type MediaTagCollection

type MediaTagCollection struct {
	EntityCollection

	Data []MediaTag `json:"data"`
}

type MediaTagRepository

type MediaTagRepository ClientService

func (MediaTagRepository) Delete

func (t MediaTagRepository) Delete(ctx ApiContext, ids []string) (*http.Response, error)

func (MediaTagRepository) Search

func (MediaTagRepository) SearchAll

func (t MediaTagRepository) SearchAll(ctx ApiContext, criteria Criteria) (*MediaTagCollection, *http.Response, error)

func (MediaTagRepository) SearchIds

func (t MediaTagRepository) SearchIds(ctx ApiContext, criteria Criteria) (*SearchIdsResponse, *http.Response, error)

func (MediaTagRepository) Upsert

func (t MediaTagRepository) Upsert(ctx ApiContext, entity []MediaTag) (*http.Response, error)

type MediaThumbnail

type MediaThumbnail struct {
	Id string `json:"id,omitempty"`

	Height float64 `json:"height,omitempty"`

	Media *Media `json:"media,omitempty"`

	CustomFields interface{} `json:"customFields,omitempty"`

	MediaId string `json:"mediaId,omitempty"`

	Width float64 `json:"width,omitempty"`

	Url string `json:"url,omitempty"`

	Path string `json:"path,omitempty"`

	CreatedAt time.Time `json:"createdAt,omitempty"`

	UpdatedAt time.Time `json:"updatedAt,omitempty"`
}

type MediaThumbnailCollection

type MediaThumbnailCollection struct {
	EntityCollection

	Data []MediaThumbnail `json:"data"`
}

type MediaThumbnailRepository

type MediaThumbnailRepository ClientService

func (MediaThumbnailRepository) Delete

func (t MediaThumbnailRepository) Delete(ctx ApiContext, ids []string) (*http.Response, error)

func (MediaThumbnailRepository) Search

func (MediaThumbnailRepository) SearchAll

func (MediaThumbnailRepository) SearchIds

func (MediaThumbnailRepository) Upsert

type MediaThumbnailSize

type MediaThumbnailSize struct {
	CreatedAt time.Time `json:"createdAt,omitempty"`

	UpdatedAt time.Time `json:"updatedAt,omitempty"`

	Id string `json:"id,omitempty"`

	Width float64 `json:"width,omitempty"`

	Height float64 `json:"height,omitempty"`

	MediaFolderConfigurations []MediaFolderConfiguration `json:"mediaFolderConfigurations,omitempty"`

	CustomFields interface{} `json:"customFields,omitempty"`
}

type MediaThumbnailSizeCollection

type MediaThumbnailSizeCollection struct {
	EntityCollection

	Data []MediaThumbnailSize `json:"data"`
}

type MediaThumbnailSizeRepository

type MediaThumbnailSizeRepository ClientService

func (MediaThumbnailSizeRepository) Delete

func (MediaThumbnailSizeRepository) Search

func (MediaThumbnailSizeRepository) SearchAll

func (MediaThumbnailSizeRepository) SearchIds

func (MediaThumbnailSizeRepository) Upsert

type MediaTranslation

type MediaTranslation struct {
	LanguageId string `json:"languageId,omitempty"`

	Media *Media `json:"media,omitempty"`

	Language *Language `json:"language,omitempty"`

	Title string `json:"title,omitempty"`

	CreatedAt time.Time `json:"createdAt,omitempty"`

	UpdatedAt time.Time `json:"updatedAt,omitempty"`

	MediaId string `json:"mediaId,omitempty"`

	Alt string `json:"alt,omitempty"`

	CustomFields interface{} `json:"customFields,omitempty"`
}

type MediaTranslationCollection

type MediaTranslationCollection struct {
	EntityCollection

	Data []MediaTranslation `json:"data"`
}

type MediaTranslationRepository

type MediaTranslationRepository ClientService

func (MediaTranslationRepository) Delete

func (MediaTranslationRepository) Search

func (MediaTranslationRepository) SearchAll

func (MediaTranslationRepository) SearchIds

func (MediaTranslationRepository) Upsert

type MessageQueueStats

type MessageQueueStats struct {
	Size float64 `json:"size,omitempty"`

	CreatedAt time.Time `json:"createdAt,omitempty"`

	UpdatedAt time.Time `json:"updatedAt,omitempty"`

	Id string `json:"id,omitempty"`

	Name string `json:"name,omitempty"`
}

type MessageQueueStatsCollection

type MessageQueueStatsCollection struct {
	EntityCollection

	Data []MessageQueueStats `json:"data"`
}

type MessageQueueStatsRepository

type MessageQueueStatsRepository ClientService

func (MessageQueueStatsRepository) Delete

func (MessageQueueStatsRepository) Search

func (MessageQueueStatsRepository) SearchAll

func (MessageQueueStatsRepository) SearchIds

func (MessageQueueStatsRepository) Upsert

type NewsletterRecipient

type NewsletterRecipient struct {
	SalesChannel *SalesChannel `json:"salesChannel,omitempty"`

	CreatedAt time.Time `json:"createdAt,omitempty"`

	UpdatedAt time.Time `json:"updatedAt,omitempty"`

	Status string `json:"status,omitempty"`

	LastName string `json:"lastName,omitempty"`

	CustomFields interface{} `json:"customFields,omitempty"`

	Salutation *Salutation `json:"salutation,omitempty"`

	LanguageId string `json:"languageId,omitempty"`

	Title string `json:"title,omitempty"`

	ConfirmedAt time.Time `json:"confirmedAt,omitempty"`

	Language *Language `json:"language,omitempty"`

	SalesChannelId string `json:"salesChannelId,omitempty"`

	Email string `json:"email,omitempty"`

	FirstName string `json:"firstName,omitempty"`

	ZipCode string `json:"zipCode,omitempty"`

	City string `json:"city,omitempty"`

	Street string `json:"street,omitempty"`

	Hash string `json:"hash,omitempty"`

	Tags []Tag `json:"tags,omitempty"`

	SalutationId string `json:"salutationId,omitempty"`

	Id string `json:"id,omitempty"`
}

type NewsletterRecipientCollection

type NewsletterRecipientCollection struct {
	EntityCollection

	Data []NewsletterRecipient `json:"data"`
}

type NewsletterRecipientRepository

type NewsletterRecipientRepository ClientService

func (NewsletterRecipientRepository) Delete

func (NewsletterRecipientRepository) Search

func (NewsletterRecipientRepository) SearchAll

func (NewsletterRecipientRepository) SearchIds

func (NewsletterRecipientRepository) Upsert

type NewsletterRecipientTag

type NewsletterRecipientTag struct {
	NewsletterRecipientId string `json:"newsletterRecipientId,omitempty"`

	TagId string `json:"tagId,omitempty"`

	NewsletterRecipient *NewsletterRecipient `json:"newsletterRecipient,omitempty"`

	Tag *Tag `json:"tag,omitempty"`
}

type NewsletterRecipientTagCollection

type NewsletterRecipientTagCollection struct {
	EntityCollection

	Data []NewsletterRecipientTag `json:"data"`
}

type NewsletterRecipientTagRepository

type NewsletterRecipientTagRepository ClientService

func (NewsletterRecipientTagRepository) Delete

func (NewsletterRecipientTagRepository) Search

func (NewsletterRecipientTagRepository) SearchAll

func (NewsletterRecipientTagRepository) SearchIds

func (NewsletterRecipientTagRepository) Upsert

type Notification

type Notification struct {
	CreatedByUser *User `json:"createdByUser,omitempty"`

	CreatedAt time.Time `json:"createdAt,omitempty"`

	Status string `json:"status,omitempty"`

	Message string `json:"message,omitempty"`

	AdminOnly bool `json:"adminOnly,omitempty"`

	CreatedByIntegrationId string `json:"createdByIntegrationId,omitempty"`

	CreatedByIntegration *Integration `json:"createdByIntegration,omitempty"`

	Id string `json:"id,omitempty"`

	RequiredPrivileges interface{} `json:"requiredPrivileges,omitempty"`

	CreatedByUserId string `json:"createdByUserId,omitempty"`

	UpdatedAt time.Time `json:"updatedAt,omitempty"`
}

type NotificationCollection

type NotificationCollection struct {
	EntityCollection

	Data []Notification `json:"data"`
}

type NotificationRepository

type NotificationRepository ClientService

func (NotificationRepository) Delete

func (t NotificationRepository) Delete(ctx ApiContext, ids []string) (*http.Response, error)

func (NotificationRepository) Search

func (NotificationRepository) SearchAll

func (NotificationRepository) SearchIds

func (NotificationRepository) Upsert

func (t NotificationRepository) Upsert(ctx ApiContext, entity []Notification) (*http.Response, error)

type NumberRange

type NumberRange struct {
	Start float64 `json:"start,omitempty"`

	TypeId string `json:"typeId,omitempty"`

	Global bool `json:"global,omitempty"`

	Name string `json:"name,omitempty"`

	Type *NumberRangeType `json:"type,omitempty"`

	Translations []NumberRangeTranslation `json:"translations,omitempty"`

	UpdatedAt time.Time `json:"updatedAt,omitempty"`

	Id string `json:"id,omitempty"`

	Pattern string `json:"pattern,omitempty"`

	CustomFields interface{} `json:"customFields,omitempty"`

	State *NumberRangeState `json:"state,omitempty"`

	Translated interface{} `json:"translated,omitempty"`

	Description string `json:"description,omitempty"`

	CreatedAt time.Time `json:"createdAt,omitempty"`

	NumberRangeSalesChannels []NumberRangeSalesChannel `json:"numberRangeSalesChannels,omitempty"`
}

type NumberRangeCollection

type NumberRangeCollection struct {
	EntityCollection

	Data []NumberRange `json:"data"`
}

type NumberRangeRepository

type NumberRangeRepository ClientService

func (NumberRangeRepository) Delete

func (t NumberRangeRepository) Delete(ctx ApiContext, ids []string) (*http.Response, error)

func (NumberRangeRepository) Search

func (NumberRangeRepository) SearchAll

func (NumberRangeRepository) SearchIds

func (NumberRangeRepository) Upsert

func (t NumberRangeRepository) Upsert(ctx ApiContext, entity []NumberRange) (*http.Response, error)

type NumberRangeSalesChannel

type NumberRangeSalesChannel struct {
	NumberRangeTypeId string `json:"numberRangeTypeId,omitempty"`

	SalesChannel *SalesChannel `json:"salesChannel,omitempty"`

	NumberRangeType *NumberRangeType `json:"numberRangeType,omitempty"`

	CreatedAt time.Time `json:"createdAt,omitempty"`

	UpdatedAt time.Time `json:"updatedAt,omitempty"`

	Id string `json:"id,omitempty"`

	NumberRangeId string `json:"numberRangeId,omitempty"`

	SalesChannelId string `json:"salesChannelId,omitempty"`

	NumberRange *NumberRange `json:"numberRange,omitempty"`
}

type NumberRangeSalesChannelCollection

type NumberRangeSalesChannelCollection struct {
	EntityCollection

	Data []NumberRangeSalesChannel `json:"data"`
}

type NumberRangeSalesChannelRepository

type NumberRangeSalesChannelRepository ClientService

func (NumberRangeSalesChannelRepository) Delete

func (NumberRangeSalesChannelRepository) Search

func (NumberRangeSalesChannelRepository) SearchAll

func (NumberRangeSalesChannelRepository) SearchIds

func (NumberRangeSalesChannelRepository) Upsert

type NumberRangeState

type NumberRangeState struct {
	Id string `json:"id,omitempty"`

	NumberRangeId string `json:"numberRangeId,omitempty"`

	LastValue float64 `json:"lastValue,omitempty"`

	NumberRange *NumberRange `json:"numberRange,omitempty"`

	CreatedAt time.Time `json:"createdAt,omitempty"`

	UpdatedAt time.Time `json:"updatedAt,omitempty"`
}

type NumberRangeStateCollection

type NumberRangeStateCollection struct {
	EntityCollection

	Data []NumberRangeState `json:"data"`
}

type NumberRangeStateRepository

type NumberRangeStateRepository ClientService

func (NumberRangeStateRepository) Delete

func (NumberRangeStateRepository) Search

func (NumberRangeStateRepository) SearchAll

func (NumberRangeStateRepository) SearchIds

func (NumberRangeStateRepository) Upsert

type NumberRangeTranslation

type NumberRangeTranslation struct {
	CreatedAt time.Time `json:"createdAt,omitempty"`

	UpdatedAt time.Time `json:"updatedAt,omitempty"`

	NumberRange *NumberRange `json:"numberRange,omitempty"`

	Name string `json:"name,omitempty"`

	Description string `json:"description,omitempty"`

	CustomFields interface{} `json:"customFields,omitempty"`

	NumberRangeId string `json:"numberRangeId,omitempty"`

	LanguageId string `json:"languageId,omitempty"`

	Language *Language `json:"language,omitempty"`
}

type NumberRangeTranslationCollection

type NumberRangeTranslationCollection struct {
	EntityCollection

	Data []NumberRangeTranslation `json:"data"`
}

type NumberRangeTranslationRepository

type NumberRangeTranslationRepository ClientService

func (NumberRangeTranslationRepository) Delete

func (NumberRangeTranslationRepository) Search

func (NumberRangeTranslationRepository) SearchAll

func (NumberRangeTranslationRepository) SearchIds

func (NumberRangeTranslationRepository) Upsert

type NumberRangeType

type NumberRangeType struct {
	TypeName string `json:"typeName,omitempty"`

	Translations []NumberRangeTypeTranslation `json:"translations,omitempty"`

	UpdatedAt time.Time `json:"updatedAt,omitempty"`

	Translated interface{} `json:"translated,omitempty"`

	Id string `json:"id,omitempty"`

	TechnicalName string `json:"technicalName,omitempty"`

	NumberRanges []NumberRange `json:"numberRanges,omitempty"`

	NumberRangeSalesChannels []NumberRangeSalesChannel `json:"numberRangeSalesChannels,omitempty"`

	CreatedAt time.Time `json:"createdAt,omitempty"`

	Global bool `json:"global,omitempty"`

	CustomFields interface{} `json:"customFields,omitempty"`
}

type NumberRangeTypeCollection

type NumberRangeTypeCollection struct {
	EntityCollection

	Data []NumberRangeType `json:"data"`
}

type NumberRangeTypeRepository

type NumberRangeTypeRepository ClientService

func (NumberRangeTypeRepository) Delete

func (t NumberRangeTypeRepository) Delete(ctx ApiContext, ids []string) (*http.Response, error)

func (NumberRangeTypeRepository) Search

func (NumberRangeTypeRepository) SearchAll

func (NumberRangeTypeRepository) SearchIds

func (NumberRangeTypeRepository) Upsert

type NumberRangeTypeTranslation

type NumberRangeTypeTranslation struct {
	NumberRangeType *NumberRangeType `json:"numberRangeType,omitempty"`

	Language *Language `json:"language,omitempty"`

	TypeName string `json:"typeName,omitempty"`

	CustomFields interface{} `json:"customFields,omitempty"`

	CreatedAt time.Time `json:"createdAt,omitempty"`

	UpdatedAt time.Time `json:"updatedAt,omitempty"`

	NumberRangeTypeId string `json:"numberRangeTypeId,omitempty"`

	LanguageId string `json:"languageId,omitempty"`
}

type NumberRangeTypeTranslationCollection

type NumberRangeTypeTranslationCollection struct {
	EntityCollection

	Data []NumberRangeTypeTranslation `json:"data"`
}

type NumberRangeTypeTranslationRepository

type NumberRangeTypeTranslationRepository ClientService

func (NumberRangeTypeTranslationRepository) Delete

func (NumberRangeTypeTranslationRepository) Search

func (NumberRangeTypeTranslationRepository) SearchAll

func (NumberRangeTypeTranslationRepository) SearchIds

func (NumberRangeTypeTranslationRepository) Upsert

type OAuthCredentials

type OAuthCredentials interface {
	GetTokenSource(ctx context.Context, tokenURL string) (oauth2.TokenSource, error)
}

type Order

type Order struct {
	AmountTotal float64 `json:"amountTotal,omitempty"`

	AmountNet float64 `json:"amountNet,omitempty"`

	ItemRounding interface{} `json:"itemRounding,omitempty"`

	Price interface{} `json:"price,omitempty"`

	DeepLinkCode string `json:"deepLinkCode,omitempty"`

	CreatedBy *User `json:"createdBy,omitempty"`

	CurrencyId string `json:"currencyId,omitempty"`

	Currency *Currency `json:"currency,omitempty"`

	Language *Language `json:"language,omitempty"`

	Addresses []OrderAddress `json:"addresses,omitempty"`

	UpdatedBy *User `json:"updatedBy,omitempty"`

	BillingAddressId string `json:"billingAddressId,omitempty"`

	LanguageId string `json:"languageId,omitempty"`

	SalesChannelId string `json:"salesChannelId,omitempty"`

	AffiliateCode string `json:"affiliateCode,omitempty"`

	StateId string `json:"stateId,omitempty"`

	Tags []Tag `json:"tags,omitempty"`

	OrderNumber string `json:"orderNumber,omitempty"`

	ShippingTotal float64 `json:"shippingTotal,omitempty"`

	RuleIds interface{} `json:"ruleIds,omitempty"`

	BillingAddress *OrderAddress `json:"billingAddress,omitempty"`

	Documents []Document `json:"documents,omitempty"`

	StateMachineState *StateMachineState `json:"stateMachineState,omitempty"`

	CreatedById string `json:"createdById,omitempty"`

	Deliveries []OrderDelivery `json:"deliveries,omitempty"`

	Id string `json:"id,omitempty"`

	VersionId string `json:"versionId,omitempty"`

	OrderDateTime time.Time `json:"orderDateTime,omitempty"`

	PositionPrice float64 `json:"positionPrice,omitempty"`

	Source string `json:"source,omitempty"`

	LineItems []OrderLineItem `json:"lineItems,omitempty"`

	Transactions []OrderTransaction `json:"transactions,omitempty"`

	TotalRounding interface{} `json:"totalRounding,omitempty"`

	CreatedAt time.Time `json:"createdAt,omitempty"`

	ShippingCosts interface{} `json:"shippingCosts,omitempty"`

	CampaignCode string `json:"campaignCode,omitempty"`

	CustomFields interface{} `json:"customFields,omitempty"`

	OrderCustomer *OrderCustomer `json:"orderCustomer,omitempty"`

	SalesChannel *SalesChannel `json:"salesChannel,omitempty"`

	CustomerComment string `json:"customerComment,omitempty"`

	UpdatedById string `json:"updatedById,omitempty"`

	UpdatedAt time.Time `json:"updatedAt,omitempty"`

	AutoIncrement float64 `json:"autoIncrement,omitempty"`

	BillingAddressVersionId string `json:"billingAddressVersionId,omitempty"`

	OrderDate time.Time `json:"orderDate,omitempty"`

	TaxStatus string `json:"taxStatus,omitempty"`

	CurrencyFactor float64 `json:"currencyFactor,omitempty"`
}

type OrderAddress

type OrderAddress struct {
	FirstName string `json:"firstName,omitempty"`

	CustomFields interface{} `json:"customFields,omitempty"`

	Id string `json:"id,omitempty"`

	CountryId string `json:"countryId,omitempty"`

	CountryStateId string `json:"countryStateId,omitempty"`

	VatId string `json:"vatId,omitempty"`

	AdditionalAddressLine1 string `json:"additionalAddressLine1,omitempty"`

	Country *Country `json:"country,omitempty"`

	Order *Order `json:"order,omitempty"`

	CreatedAt time.Time `json:"createdAt,omitempty"`

	OrderVersionId string `json:"orderVersionId,omitempty"`

	Title string `json:"title,omitempty"`

	OrderDeliveries []OrderDelivery `json:"orderDeliveries,omitempty"`

	PhoneNumber string `json:"phoneNumber,omitempty"`

	AdditionalAddressLine2 string `json:"additionalAddressLine2,omitempty"`

	CountryState *CountryState `json:"countryState,omitempty"`

	SalutationId string `json:"salutationId,omitempty"`

	LastName string `json:"lastName,omitempty"`

	Street string `json:"street,omitempty"`

	UpdatedAt time.Time `json:"updatedAt,omitempty"`

	Company string `json:"company,omitempty"`

	Department string `json:"department,omitempty"`

	OrderId string `json:"orderId,omitempty"`

	City string `json:"city,omitempty"`

	Salutation *Salutation `json:"salutation,omitempty"`

	VersionId string `json:"versionId,omitempty"`

	Zipcode string `json:"zipcode,omitempty"`
}

type OrderAddressCollection

type OrderAddressCollection struct {
	EntityCollection

	Data []OrderAddress `json:"data"`
}

type OrderAddressRepository

type OrderAddressRepository ClientService

func (OrderAddressRepository) Delete

func (t OrderAddressRepository) Delete(ctx ApiContext, ids []string) (*http.Response, error)

func (OrderAddressRepository) Search

func (OrderAddressRepository) SearchAll

func (OrderAddressRepository) SearchIds

func (OrderAddressRepository) Upsert

func (t OrderAddressRepository) Upsert(ctx ApiContext, entity []OrderAddress) (*http.Response, error)

type OrderCollection

type OrderCollection struct {
	EntityCollection

	Data []Order `json:"data"`
}

type OrderCustomer

type OrderCustomer struct {
	CustomFields interface{} `json:"customFields,omitempty"`

	OrderId string `json:"orderId,omitempty"`

	Title string `json:"title,omitempty"`

	VatIds interface{} `json:"vatIds,omitempty"`

	Customer *Customer `json:"customer,omitempty"`

	Salutation *Salutation `json:"salutation,omitempty"`

	UpdatedAt time.Time `json:"updatedAt,omitempty"`

	CreatedAt time.Time `json:"createdAt,omitempty"`

	VersionId string `json:"versionId,omitempty"`

	Email string `json:"email,omitempty"`

	SalutationId string `json:"salutationId,omitempty"`

	LastName string `json:"lastName,omitempty"`

	CustomerNumber string `json:"customerNumber,omitempty"`

	Order *Order `json:"order,omitempty"`

	Id string `json:"id,omitempty"`

	CustomerId string `json:"customerId,omitempty"`

	OrderVersionId string `json:"orderVersionId,omitempty"`

	FirstName string `json:"firstName,omitempty"`

	Company string `json:"company,omitempty"`

	RemoteAddress interface{} `json:"remoteAddress,omitempty"`
}

type OrderCustomerCollection

type OrderCustomerCollection struct {
	EntityCollection

	Data []OrderCustomer `json:"data"`
}

type OrderCustomerRepository

type OrderCustomerRepository ClientService

func (OrderCustomerRepository) Delete

func (t OrderCustomerRepository) Delete(ctx ApiContext, ids []string) (*http.Response, error)

func (OrderCustomerRepository) Search

func (OrderCustomerRepository) SearchAll

func (OrderCustomerRepository) SearchIds

func (OrderCustomerRepository) Upsert

func (t OrderCustomerRepository) Upsert(ctx ApiContext, entity []OrderCustomer) (*http.Response, error)

type OrderDelivery

type OrderDelivery struct {
	StateId string `json:"stateId,omitempty"`

	StateMachineState *StateMachineState `json:"stateMachineState,omitempty"`

	TrackingCodes interface{} `json:"trackingCodes,omitempty"`

	ShippingOrderAddress *OrderAddress `json:"shippingOrderAddress,omitempty"`

	ShippingOrderAddressVersionId string `json:"shippingOrderAddressVersionId,omitempty"`

	VersionId string `json:"versionId,omitempty"`

	OrderVersionId string `json:"orderVersionId,omitempty"`

	ShippingDateEarliest time.Time `json:"shippingDateEarliest,omitempty"`

	ShippingCosts interface{} `json:"shippingCosts,omitempty"`

	Order *Order `json:"order,omitempty"`

	UpdatedAt time.Time `json:"updatedAt,omitempty"`

	Id string `json:"id,omitempty"`

	ShippingOrderAddressId string `json:"shippingOrderAddressId,omitempty"`

	ShippingDateLatest time.Time `json:"shippingDateLatest,omitempty"`

	Positions []OrderDeliveryPosition `json:"positions,omitempty"`

	CreatedAt time.Time `json:"createdAt,omitempty"`

	OrderId string `json:"orderId,omitempty"`

	CustomFields interface{} `json:"customFields,omitempty"`

	ShippingMethod *ShippingMethod `json:"shippingMethod,omitempty"`

	ShippingMethodId string `json:"shippingMethodId,omitempty"`
}

type OrderDeliveryCollection

type OrderDeliveryCollection struct {
	EntityCollection

	Data []OrderDelivery `json:"data"`
}

type OrderDeliveryPosition

type OrderDeliveryPosition struct {
	Id string `json:"id,omitempty"`

	OrderDeliveryVersionId string `json:"orderDeliveryVersionId,omitempty"`

	Price interface{} `json:"price,omitempty"`

	Quantity float64 `json:"quantity,omitempty"`

	CreatedAt time.Time `json:"createdAt,omitempty"`

	OrderLineItemId string `json:"orderLineItemId,omitempty"`

	TotalPrice float64 `json:"totalPrice,omitempty"`

	CustomFields interface{} `json:"customFields,omitempty"`

	VersionId string `json:"versionId,omitempty"`

	OrderLineItemVersionId string `json:"orderLineItemVersionId,omitempty"`

	OrderLineItem *OrderLineItem `json:"orderLineItem,omitempty"`

	UpdatedAt time.Time `json:"updatedAt,omitempty"`

	OrderDeliveryId string `json:"orderDeliveryId,omitempty"`

	UnitPrice float64 `json:"unitPrice,omitempty"`

	OrderDelivery *OrderDelivery `json:"orderDelivery,omitempty"`
}

type OrderDeliveryPositionCollection

type OrderDeliveryPositionCollection struct {
	EntityCollection

	Data []OrderDeliveryPosition `json:"data"`
}

type OrderDeliveryPositionRepository

type OrderDeliveryPositionRepository ClientService

func (OrderDeliveryPositionRepository) Delete

func (OrderDeliveryPositionRepository) Search

func (OrderDeliveryPositionRepository) SearchAll

func (OrderDeliveryPositionRepository) SearchIds

func (OrderDeliveryPositionRepository) Upsert

type OrderDeliveryRepository

type OrderDeliveryRepository ClientService

func (OrderDeliveryRepository) Delete

func (t OrderDeliveryRepository) Delete(ctx ApiContext, ids []string) (*http.Response, error)

func (OrderDeliveryRepository) Search

func (OrderDeliveryRepository) SearchAll

func (OrderDeliveryRepository) SearchIds

func (OrderDeliveryRepository) Upsert

func (t OrderDeliveryRepository) Upsert(ctx ApiContext, entity []OrderDelivery) (*http.Response, error)

type OrderLineItem

type OrderLineItem struct {
	CreatedAt time.Time `json:"createdAt,omitempty"`

	UpdatedAt time.Time `json:"updatedAt,omitempty"`

	ProductVersionId string `json:"productVersionId,omitempty"`

	UnitPrice float64 `json:"unitPrice,omitempty"`

	OrderDeliveryPositions []OrderDeliveryPosition `json:"orderDeliveryPositions,omitempty"`

	PriceDefinition interface{} `json:"priceDefinition,omitempty"`

	OrderVersionId string `json:"orderVersionId,omitempty"`

	Payload interface{} `json:"payload,omitempty"`

	Good bool `json:"good,omitempty"`

	ParentVersionId string `json:"parentVersionId,omitempty"`

	Position float64 `json:"position,omitempty"`

	Type string `json:"type,omitempty"`

	Product *Product `json:"product,omitempty"`

	Id string `json:"id,omitempty"`

	VersionId string `json:"versionId,omitempty"`

	PromotionId string `json:"promotionId,omitempty"`

	Stackable bool `json:"stackable,omitempty"`

	States interface{} `json:"states,omitempty"`

	Description string `json:"description,omitempty"`

	OrderId string `json:"orderId,omitempty"`

	ParentId string `json:"parentId,omitempty"`

	CoverId string `json:"coverId,omitempty"`

	OrderTransactionCaptureRefundPositions []OrderTransactionCaptureRefundPosition `json:"orderTransactionCaptureRefundPositions,omitempty"`

	Children []OrderLineItem `json:"children,omitempty"`

	Cover *Media `json:"cover,omitempty"`

	Identifier string `json:"identifier,omitempty"`

	ReferencedId string `json:"referencedId,omitempty"`

	Promotion *Promotion `json:"promotion,omitempty"`

	Downloads []OrderLineItemDownload `json:"downloads,omitempty"`

	Parent *OrderLineItem `json:"parent,omitempty"`

	Quantity float64 `json:"quantity,omitempty"`

	Removable bool `json:"removable,omitempty"`

	CustomFields interface{} `json:"customFields,omitempty"`

	Price interface{} `json:"price,omitempty"`

	Order *Order `json:"order,omitempty"`

	ProductId string `json:"productId,omitempty"`

	Label string `json:"label,omitempty"`

	TotalPrice float64 `json:"totalPrice,omitempty"`
}

type OrderLineItemCollection

type OrderLineItemCollection struct {
	EntityCollection

	Data []OrderLineItem `json:"data"`
}

type OrderLineItemDownload

type OrderLineItemDownload struct {
	Id string `json:"id,omitempty"`

	VersionId string `json:"versionId,omitempty"`

	MediaId string `json:"mediaId,omitempty"`

	OrderLineItem *OrderLineItem `json:"orderLineItem,omitempty"`

	CustomFields interface{} `json:"customFields,omitempty"`

	UpdatedAt time.Time `json:"updatedAt,omitempty"`

	OrderLineItemId string `json:"orderLineItemId,omitempty"`

	OrderLineItemVersionId string `json:"orderLineItemVersionId,omitempty"`

	Position float64 `json:"position,omitempty"`

	AccessGranted bool `json:"accessGranted,omitempty"`

	Media *Media `json:"media,omitempty"`

	CreatedAt time.Time `json:"createdAt,omitempty"`
}

type OrderLineItemDownloadCollection

type OrderLineItemDownloadCollection struct {
	EntityCollection

	Data []OrderLineItemDownload `json:"data"`
}

type OrderLineItemDownloadRepository

type OrderLineItemDownloadRepository ClientService

func (OrderLineItemDownloadRepository) Delete

func (OrderLineItemDownloadRepository) Search

func (OrderLineItemDownloadRepository) SearchAll

func (OrderLineItemDownloadRepository) SearchIds

func (OrderLineItemDownloadRepository) Upsert

type OrderLineItemRepository

type OrderLineItemRepository ClientService

func (OrderLineItemRepository) Delete

func (t OrderLineItemRepository) Delete(ctx ApiContext, ids []string) (*http.Response, error)

func (OrderLineItemRepository) Search

func (OrderLineItemRepository) SearchAll

func (OrderLineItemRepository) SearchIds

func (OrderLineItemRepository) Upsert

func (t OrderLineItemRepository) Upsert(ctx ApiContext, entity []OrderLineItem) (*http.Response, error)

type OrderRepository

type OrderRepository ClientService

func (OrderRepository) Delete

func (t OrderRepository) Delete(ctx ApiContext, ids []string) (*http.Response, error)

func (OrderRepository) Search

func (t OrderRepository) Search(ctx ApiContext, criteria Criteria) (*OrderCollection, *http.Response, error)

func (OrderRepository) SearchAll

func (t OrderRepository) SearchAll(ctx ApiContext, criteria Criteria) (*OrderCollection, *http.Response, error)

func (OrderRepository) SearchIds

func (t OrderRepository) SearchIds(ctx ApiContext, criteria Criteria) (*SearchIdsResponse, *http.Response, error)

func (OrderRepository) Upsert

func (t OrderRepository) Upsert(ctx ApiContext, entity []Order) (*http.Response, error)

type OrderTag

type OrderTag struct {
	TagId string `json:"tagId,omitempty"`

	Order *Order `json:"order,omitempty"`

	Tag *Tag `json:"tag,omitempty"`

	OrderId string `json:"orderId,omitempty"`

	OrderVersionId string `json:"orderVersionId,omitempty"`
}

type OrderTagCollection

type OrderTagCollection struct {
	EntityCollection

	Data []OrderTag `json:"data"`
}

type OrderTagRepository

type OrderTagRepository ClientService

func (OrderTagRepository) Delete

func (t OrderTagRepository) Delete(ctx ApiContext, ids []string) (*http.Response, error)

func (OrderTagRepository) Search

func (OrderTagRepository) SearchAll

func (t OrderTagRepository) SearchAll(ctx ApiContext, criteria Criteria) (*OrderTagCollection, *http.Response, error)

func (OrderTagRepository) SearchIds

func (t OrderTagRepository) SearchIds(ctx ApiContext, criteria Criteria) (*SearchIdsResponse, *http.Response, error)

func (OrderTagRepository) Upsert

func (t OrderTagRepository) Upsert(ctx ApiContext, entity []OrderTag) (*http.Response, error)

type OrderTransaction

type OrderTransaction struct {
	PaymentMethodId string `json:"paymentMethodId,omitempty"`

	CustomFields interface{} `json:"customFields,omitempty"`

	CreatedAt time.Time `json:"createdAt,omitempty"`

	Id string `json:"id,omitempty"`

	OrderVersionId string `json:"orderVersionId,omitempty"`

	Order *Order `json:"order,omitempty"`

	Captures []OrderTransactionCapture `json:"captures,omitempty"`

	VersionId string `json:"versionId,omitempty"`

	StateId string `json:"stateId,omitempty"`

	StateMachineState *StateMachineState `json:"stateMachineState,omitempty"`

	Amount interface{} `json:"amount,omitempty"`

	PaymentMethod *PaymentMethod `json:"paymentMethod,omitempty"`

	UpdatedAt time.Time `json:"updatedAt,omitempty"`

	OrderId string `json:"orderId,omitempty"`
}

type OrderTransactionCapture

type OrderTransactionCapture struct {
	StateId string `json:"stateId,omitempty"`

	Refunds []OrderTransactionCaptureRefund `json:"refunds,omitempty"`

	Id string `json:"id,omitempty"`

	VersionId string `json:"versionId,omitempty"`

	StateMachineState *StateMachineState `json:"stateMachineState,omitempty"`

	Transaction *OrderTransaction `json:"transaction,omitempty"`

	OrderTransactionId string `json:"orderTransactionId,omitempty"`

	OrderTransactionVersionId string `json:"orderTransactionVersionId,omitempty"`

	CreatedAt time.Time `json:"createdAt,omitempty"`

	ExternalReference string `json:"externalReference,omitempty"`

	Amount interface{} `json:"amount,omitempty"`

	CustomFields interface{} `json:"customFields,omitempty"`

	UpdatedAt time.Time `json:"updatedAt,omitempty"`
}

type OrderTransactionCaptureCollection

type OrderTransactionCaptureCollection struct {
	EntityCollection

	Data []OrderTransactionCapture `json:"data"`
}

type OrderTransactionCaptureRefund

type OrderTransactionCaptureRefund struct {
	StateId string `json:"stateId,omitempty"`

	Reason string `json:"reason,omitempty"`

	UpdatedAt time.Time `json:"updatedAt,omitempty"`

	Id string `json:"id,omitempty"`

	CaptureId string `json:"captureId,omitempty"`

	TransactionCapture *OrderTransactionCapture `json:"transactionCapture,omitempty"`

	ExternalReference string `json:"externalReference,omitempty"`

	Amount interface{} `json:"amount,omitempty"`

	CreatedAt time.Time `json:"createdAt,omitempty"`

	CaptureVersionId string `json:"captureVersionId,omitempty"`

	Positions []OrderTransactionCaptureRefundPosition `json:"positions,omitempty"`

	CustomFields interface{} `json:"customFields,omitempty"`

	VersionId string `json:"versionId,omitempty"`

	StateMachineState *StateMachineState `json:"stateMachineState,omitempty"`
}

type OrderTransactionCaptureRefundCollection

type OrderTransactionCaptureRefundCollection struct {
	EntityCollection

	Data []OrderTransactionCaptureRefund `json:"data"`
}

type OrderTransactionCaptureRefundPosition

type OrderTransactionCaptureRefundPosition struct {
	OrderLineItemId string `json:"orderLineItemId,omitempty"`

	OrderTransactionCaptureRefund *OrderTransactionCaptureRefund `json:"orderTransactionCaptureRefund,omitempty"`

	Reason string `json:"reason,omitempty"`

	Quantity float64 `json:"quantity,omitempty"`

	Amount interface{} `json:"amount,omitempty"`

	RefundVersionId string `json:"refundVersionId,omitempty"`

	ExternalReference string `json:"externalReference,omitempty"`

	CreatedAt time.Time `json:"createdAt,omitempty"`

	VersionId string `json:"versionId,omitempty"`

	Id string `json:"id,omitempty"`

	RefundId string `json:"refundId,omitempty"`

	OrderLineItemVersionId string `json:"orderLineItemVersionId,omitempty"`

	OrderLineItem *OrderLineItem `json:"orderLineItem,omitempty"`

	CustomFields interface{} `json:"customFields,omitempty"`

	UpdatedAt time.Time `json:"updatedAt,omitempty"`
}

type OrderTransactionCaptureRefundPositionCollection

type OrderTransactionCaptureRefundPositionCollection struct {
	EntityCollection

	Data []OrderTransactionCaptureRefundPosition `json:"data"`
}

type OrderTransactionCaptureRefundPositionRepository

type OrderTransactionCaptureRefundPositionRepository ClientService

func (OrderTransactionCaptureRefundPositionRepository) Delete

func (OrderTransactionCaptureRefundPositionRepository) Search

func (OrderTransactionCaptureRefundPositionRepository) SearchAll

func (OrderTransactionCaptureRefundPositionRepository) SearchIds

func (OrderTransactionCaptureRefundPositionRepository) Upsert

type OrderTransactionCaptureRefundRepository

type OrderTransactionCaptureRefundRepository ClientService

func (OrderTransactionCaptureRefundRepository) Delete

func (OrderTransactionCaptureRefundRepository) Search

func (OrderTransactionCaptureRefundRepository) SearchAll

func (OrderTransactionCaptureRefundRepository) SearchIds

func (OrderTransactionCaptureRefundRepository) Upsert

type OrderTransactionCaptureRepository

type OrderTransactionCaptureRepository ClientService

func (OrderTransactionCaptureRepository) Delete

func (OrderTransactionCaptureRepository) Search

func (OrderTransactionCaptureRepository) SearchAll

func (OrderTransactionCaptureRepository) SearchIds

func (OrderTransactionCaptureRepository) Upsert

type OrderTransactionCollection

type OrderTransactionCollection struct {
	EntityCollection

	Data []OrderTransaction `json:"data"`
}

type OrderTransactionRepository

type OrderTransactionRepository ClientService

func (OrderTransactionRepository) Delete

func (OrderTransactionRepository) Search

func (OrderTransactionRepository) SearchAll

func (OrderTransactionRepository) SearchIds

func (OrderTransactionRepository) Upsert

type PasswordCredentials

type PasswordCredentials struct {
	Username string
	Password string
	Scopes   []string
}

func NewPasswordCredentials

func NewPasswordCredentials(username, password string, scopes []string) PasswordCredentials

func (PasswordCredentials) GetTokenSource

func (c PasswordCredentials) GetTokenSource(ctx context.Context, tokenURL string) (oauth2.TokenSource, error)

type PaymentMethod

type PaymentMethod struct {
	Name string `json:"name,omitempty"`

	Media *Media `json:"media,omitempty"`

	AppPaymentMethod *AppPaymentMethod `json:"appPaymentMethod,omitempty"`

	TechnicalName string `json:"technicalName,omitempty"`

	HandlerIdentifier string `json:"handlerIdentifier,omitempty"`

	CustomFields interface{} `json:"customFields,omitempty"`

	AvailabilityRuleId string `json:"availabilityRuleId,omitempty"`

	Synchronous bool `json:"synchronous,omitempty"`

	Asynchronous bool `json:"asynchronous,omitempty"`

	Translated interface{} `json:"translated,omitempty"`

	AfterOrderEnabled bool `json:"afterOrderEnabled,omitempty"`

	DistinguishableName string `json:"distinguishableName,omitempty"`

	Translations []PaymentMethodTranslation `json:"translations,omitempty"`

	Plugin *Plugin `json:"plugin,omitempty"`

	Customers []Customer `json:"customers,omitempty"`

	SalesChannels []SalesChannel `json:"salesChannels,omitempty"`

	ShortName string `json:"shortName,omitempty"`

	Id string `json:"id,omitempty"`

	Position float64 `json:"position,omitempty"`

	MediaId string `json:"mediaId,omitempty"`

	Refundable bool `json:"refundable,omitempty"`

	OrderTransactions []OrderTransaction `json:"orderTransactions,omitempty"`

	CreatedAt time.Time `json:"createdAt,omitempty"`

	UpdatedAt time.Time `json:"updatedAt,omitempty"`

	FormattedHandlerIdentifier string `json:"formattedHandlerIdentifier,omitempty"`

	Prepared bool `json:"prepared,omitempty"`

	AvailabilityRule *Rule `json:"availabilityRule,omitempty"`

	SalesChannelDefaultAssignments []SalesChannel `json:"salesChannelDefaultAssignments,omitempty"`

	PluginId string `json:"pluginId,omitempty"`

	Description string `json:"description,omitempty"`

	Active bool `json:"active,omitempty"`

	Recurring bool `json:"recurring,omitempty"`
}

type PaymentMethodCollection

type PaymentMethodCollection struct {
	EntityCollection

	Data []PaymentMethod `json:"data"`
}

type PaymentMethodRepository

type PaymentMethodRepository ClientService

func (PaymentMethodRepository) Delete

func (t PaymentMethodRepository) Delete(ctx ApiContext, ids []string) (*http.Response, error)

func (PaymentMethodRepository) Search

func (PaymentMethodRepository) SearchAll

func (PaymentMethodRepository) SearchIds

func (PaymentMethodRepository) Upsert

func (t PaymentMethodRepository) Upsert(ctx ApiContext, entity []PaymentMethod) (*http.Response, error)

type PaymentMethodTranslation

type PaymentMethodTranslation struct {
	LanguageId string `json:"languageId,omitempty"`

	Language *Language `json:"language,omitempty"`

	Name string `json:"name,omitempty"`

	CustomFields interface{} `json:"customFields,omitempty"`

	PaymentMethodId string `json:"paymentMethodId,omitempty"`

	UpdatedAt time.Time `json:"updatedAt,omitempty"`

	PaymentMethod *PaymentMethod `json:"paymentMethod,omitempty"`

	DistinguishableName string `json:"distinguishableName,omitempty"`

	Description string `json:"description,omitempty"`

	CreatedAt time.Time `json:"createdAt,omitempty"`
}

type PaymentMethodTranslationCollection

type PaymentMethodTranslationCollection struct {
	EntityCollection

	Data []PaymentMethodTranslation `json:"data"`
}

type PaymentMethodTranslationRepository

type PaymentMethodTranslationRepository ClientService

func (PaymentMethodTranslationRepository) Delete

func (PaymentMethodTranslationRepository) Search

func (PaymentMethodTranslationRepository) SearchAll

func (PaymentMethodTranslationRepository) SearchIds

func (PaymentMethodTranslationRepository) Upsert

type Plugin

type Plugin struct {
	ComposerName string `json:"composerName,omitempty"`

	Icon string `json:"icon,omitempty"`

	ManufacturerLink string `json:"manufacturerLink,omitempty"`

	Changelog interface{} `json:"changelog,omitempty"`

	CustomFields interface{} `json:"customFields,omitempty"`

	Copyright string `json:"copyright,omitempty"`

	UpgradeVersion string `json:"upgradeVersion,omitempty"`

	Autoload interface{} `json:"autoload,omitempty"`

	Translations []PluginTranslation `json:"translations,omitempty"`

	Translated interface{} `json:"translated,omitempty"`

	Active bool `json:"active,omitempty"`

	PaymentMethods []PaymentMethod `json:"paymentMethods,omitempty"`

	UpdatedAt time.Time `json:"updatedAt,omitempty"`

	Path string `json:"path,omitempty"`

	Author string `json:"author,omitempty"`

	UpgradedAt time.Time `json:"upgradedAt,omitempty"`

	SupportLink string `json:"supportLink,omitempty"`

	CreatedAt time.Time `json:"createdAt,omitempty"`

	Description string `json:"description,omitempty"`

	Name string `json:"name,omitempty"`

	License string `json:"license,omitempty"`

	Version string `json:"version,omitempty"`

	IconRaw interface{} `json:"iconRaw,omitempty"`

	Label string `json:"label,omitempty"`

	Id string `json:"id,omitempty"`

	BaseClass string `json:"baseClass,omitempty"`

	ManagedByComposer bool `json:"managedByComposer,omitempty"`

	InstalledAt time.Time `json:"installedAt,omitempty"`
}

type PluginCollection

type PluginCollection struct {
	EntityCollection

	Data []Plugin `json:"data"`
}

type PluginRepository

type PluginRepository ClientService

func (PluginRepository) Delete

func (t PluginRepository) Delete(ctx ApiContext, ids []string) (*http.Response, error)

func (PluginRepository) Search

func (t PluginRepository) Search(ctx ApiContext, criteria Criteria) (*PluginCollection, *http.Response, error)

func (PluginRepository) SearchAll

func (t PluginRepository) SearchAll(ctx ApiContext, criteria Criteria) (*PluginCollection, *http.Response, error)

func (PluginRepository) SearchIds

func (t PluginRepository) SearchIds(ctx ApiContext, criteria Criteria) (*SearchIdsResponse, *http.Response, error)

func (PluginRepository) Upsert

func (t PluginRepository) Upsert(ctx ApiContext, entity []Plugin) (*http.Response, error)

type PluginTranslation

type PluginTranslation struct {
	UpdatedAt time.Time `json:"updatedAt,omitempty"`

	Language *Language `json:"language,omitempty"`

	Label string `json:"label,omitempty"`

	Description string `json:"description,omitempty"`

	ManufacturerLink string `json:"manufacturerLink,omitempty"`

	SupportLink string `json:"supportLink,omitempty"`

	Changelog interface{} `json:"changelog,omitempty"`

	CreatedAt time.Time `json:"createdAt,omitempty"`

	CustomFields interface{} `json:"customFields,omitempty"`

	PluginId string `json:"pluginId,omitempty"`

	LanguageId string `json:"languageId,omitempty"`

	Plugin *Plugin `json:"plugin,omitempty"`
}

type PluginTranslationCollection

type PluginTranslationCollection struct {
	EntityCollection

	Data []PluginTranslation `json:"data"`
}

type PluginTranslationRepository

type PluginTranslationRepository ClientService

func (PluginTranslationRepository) Delete

func (PluginTranslationRepository) Search

func (PluginTranslationRepository) SearchAll

func (PluginTranslationRepository) SearchIds

func (PluginTranslationRepository) Upsert

type Product

type Product struct {
	CmsPageVersionId string `json:"cmsPageVersionId,omitempty"`

	Cover *ProductMedia `json:"cover,omitempty"`

	Categories []Category `json:"categories,omitempty"`

	ManufacturerId string `json:"manufacturerId,omitempty"`

	TaxId string `json:"taxId,omitempty"`

	CustomFields interface{} `json:"customFields,omitempty"`

	SlotConfig interface{} `json:"slotConfig,omitempty"`

	CustomFieldSetSelectionActive bool `json:"customFieldSetSelectionActive,omitempty"`

	Manufacturer *ProductManufacturer `json:"manufacturer,omitempty"`

	PurchaseSteps float64 `json:"purchaseSteps,omitempty"`

	ChildCount float64 `json:"childCount,omitempty"`

	States interface{} `json:"states,omitempty"`

	Wishlists []CustomerWishlistProduct `json:"wishlists,omitempty"`

	Children []Product `json:"children,omitempty"`

	Prices []ProductPrice `json:"prices,omitempty"`

	Streams []ProductStream `json:"streams,omitempty"`

	Stock float64 `json:"stock,omitempty"`

	Available bool `json:"available,omitempty"`

	Sales float64 `json:"sales,omitempty"`

	VariantRestrictions interface{} `json:"variantRestrictions,omitempty"`

	ParentId string `json:"parentId,omitempty"`

	Description string `json:"description,omitempty"`

	Price interface{} `json:"price,omitempty"`

	ProductNumber string `json:"productNumber,omitempty"`

	StreamIds interface{} `json:"streamIds,omitempty"`

	Unit *Unit `json:"unit,omitempty"`

	OptionIds interface{} `json:"optionIds,omitempty"`

	DisplayGroup string `json:"displayGroup,omitempty"`

	DeliveryTime *DeliveryTime `json:"deliveryTime,omitempty"`

	ProductManufacturerVersionId string `json:"productManufacturerVersionId,omitempty"`

	Height float64 `json:"height,omitempty"`

	RatingAverage float64 `json:"ratingAverage,omitempty"`

	Keywords string `json:"keywords,omitempty"`

	ShippingFree bool `json:"shippingFree,omitempty"`

	CustomSearchKeywords interface{} `json:"customSearchKeywords,omitempty"`

	Ean string `json:"ean,omitempty"`

	Parent *Product `json:"parent,omitempty"`

	ConfiguratorSettings []ProductConfiguratorSetting `json:"configuratorSettings,omitempty"`

	Translations []ProductTranslation `json:"translations,omitempty"`

	AvailableStock float64 `json:"availableStock,omitempty"`

	Width float64 `json:"width,omitempty"`

	PropertyIds interface{} `json:"propertyIds,omitempty"`

	PackUnit string `json:"packUnit,omitempty"`

	MainCategories []MainCategory `json:"mainCategories,omitempty"`

	VariantListingConfig interface{} `json:"variantListingConfig,omitempty"`

	OrderLineItems []OrderLineItem `json:"orderLineItems,omitempty"`

	Id string `json:"id,omitempty"`

	CategoryIds interface{} `json:"categoryIds,omitempty"`

	ReferenceUnit float64 `json:"referenceUnit,omitempty"`

	Weight float64 `json:"weight,omitempty"`

	CoverId string `json:"coverId,omitempty"`

	RestockTime float64 `json:"restockTime,omitempty"`

	CanonicalProduct *Product `json:"canonicalProduct,omitempty"`

	Tags []Tag `json:"tags,omitempty"`

	PackUnitPlural string `json:"packUnitPlural,omitempty"`

	FeatureSet *ProductFeatureSet `json:"featureSet,omitempty"`

	Media []ProductMedia `json:"media,omitempty"`

	UpdatedAt time.Time `json:"updatedAt,omitempty"`

	CanonicalProductId string `json:"canonicalProductId,omitempty"`

	MetaDescription string `json:"metaDescription,omitempty"`

	ProductReviews []ProductReview `json:"productReviews,omitempty"`

	Options []PropertyGroupOption `json:"options,omitempty"`

	CategoriesRo []Category `json:"categoriesRo,omitempty"`

	MarkAsTopseller bool `json:"markAsTopseller,omitempty"`

	VersionId string `json:"versionId,omitempty"`

	Downloads []ProductDownload `json:"downloads,omitempty"`

	Tax *Tax `json:"tax,omitempty"`

	CategoryTree interface{} `json:"categoryTree,omitempty"`

	CustomFieldSets []CustomFieldSet `json:"customFieldSets,omitempty"`

	ParentVersionId string `json:"parentVersionId,omitempty"`

	CmsPageId string `json:"cmsPageId,omitempty"`

	ManufacturerNumber string `json:"manufacturerNumber,omitempty"`

	DeliveryTimeId string `json:"deliveryTimeId,omitempty"`

	AutoIncrement float64 `json:"autoIncrement,omitempty"`

	IsCloseout bool `json:"isCloseout,omitempty"`

	Variation interface{} `json:"variation,omitempty"`

	Length float64 `json:"length,omitempty"`

	MetaTitle string `json:"metaTitle,omitempty"`

	ProductMediaVersionId string `json:"productMediaVersionId,omitempty"`

	Properties []PropertyGroupOption `json:"properties,omitempty"`

	Visibilities []ProductVisibility `json:"visibilities,omitempty"`

	SearchKeywords []ProductSearchKeyword `json:"searchKeywords,omitempty"`

	TagIds interface{} `json:"tagIds,omitempty"`

	CrossSellings []ProductCrossSelling `json:"crossSellings,omitempty"`

	UnitId string `json:"unitId,omitempty"`

	PurchaseUnit float64 `json:"purchaseUnit,omitempty"`

	Name string `json:"name,omitempty"`

	SeoUrls []SeoUrl `json:"seoUrls,omitempty"`

	FeatureSetId string `json:"featureSetId,omitempty"`

	ReleaseDate time.Time `json:"releaseDate,omitempty"`

	CmsPage *CmsPage `json:"cmsPage,omitempty"`

	MinPurchase float64 `json:"minPurchase,omitempty"`

	CreatedAt time.Time `json:"createdAt,omitempty"`

	Translated interface{} `json:"translated,omitempty"`

	MaxPurchase float64 `json:"maxPurchase,omitempty"`

	PurchasePrices interface{} `json:"purchasePrices,omitempty"`

	CrossSellingAssignedProducts []ProductCrossSellingAssignedProducts `json:"crossSellingAssignedProducts,omitempty"`

	Active bool `json:"active,omitempty"`
}

type ProductCategory

type ProductCategory struct {
	Category *Category `json:"category,omitempty"`

	ProductId string `json:"productId,omitempty"`

	ProductVersionId string `json:"productVersionId,omitempty"`

	CategoryId string `json:"categoryId,omitempty"`

	CategoryVersionId string `json:"categoryVersionId,omitempty"`

	Product *Product `json:"product,omitempty"`
}

type ProductCategoryCollection

type ProductCategoryCollection struct {
	EntityCollection

	Data []ProductCategory `json:"data"`
}

type ProductCategoryRepository

type ProductCategoryRepository ClientService

func (ProductCategoryRepository) Delete

func (t ProductCategoryRepository) Delete(ctx ApiContext, ids []string) (*http.Response, error)

func (ProductCategoryRepository) Search

func (ProductCategoryRepository) SearchAll

func (ProductCategoryRepository) SearchIds

func (ProductCategoryRepository) Upsert

type ProductCategoryTree

type ProductCategoryTree struct {
	ProductId string `json:"productId,omitempty"`

	ProductVersionId string `json:"productVersionId,omitempty"`

	CategoryId string `json:"categoryId,omitempty"`

	CategoryVersionId string `json:"categoryVersionId,omitempty"`

	Product *Product `json:"product,omitempty"`

	Category *Category `json:"category,omitempty"`
}

type ProductCategoryTreeCollection

type ProductCategoryTreeCollection struct {
	EntityCollection

	Data []ProductCategoryTree `json:"data"`
}

type ProductCategoryTreeRepository

type ProductCategoryTreeRepository ClientService

func (ProductCategoryTreeRepository) Delete

func (ProductCategoryTreeRepository) Search

func (ProductCategoryTreeRepository) SearchAll

func (ProductCategoryTreeRepository) SearchIds

func (ProductCategoryTreeRepository) Upsert

type ProductCollection

type ProductCollection struct {
	EntityCollection

	Data []Product `json:"data"`
}

type ProductConfiguratorSetting

type ProductConfiguratorSetting struct {
	Id string `json:"id,omitempty"`

	ProductVersionId string `json:"productVersionId,omitempty"`

	Media *Media `json:"media,omitempty"`

	CreatedAt time.Time `json:"createdAt,omitempty"`

	VersionId string `json:"versionId,omitempty"`

	OptionId string `json:"optionId,omitempty"`

	Product *Product `json:"product,omitempty"`

	ProductId string `json:"productId,omitempty"`

	Price interface{} `json:"price,omitempty"`

	Option *PropertyGroupOption `json:"option,omitempty"`

	MediaId string `json:"mediaId,omitempty"`

	Position float64 `json:"position,omitempty"`

	CustomFields interface{} `json:"customFields,omitempty"`

	UpdatedAt time.Time `json:"updatedAt,omitempty"`
}

type ProductConfiguratorSettingCollection

type ProductConfiguratorSettingCollection struct {
	EntityCollection

	Data []ProductConfiguratorSetting `json:"data"`
}

type ProductConfiguratorSettingRepository

type ProductConfiguratorSettingRepository ClientService

func (ProductConfiguratorSettingRepository) Delete

func (ProductConfiguratorSettingRepository) Search

func (ProductConfiguratorSettingRepository) SearchAll

func (ProductConfiguratorSettingRepository) SearchIds

func (ProductConfiguratorSettingRepository) Upsert

type ProductCrossSelling

type ProductCrossSelling struct {
	Type string `json:"type,omitempty"`

	ProductVersionId string `json:"productVersionId,omitempty"`

	ProductStream *ProductStream `json:"productStream,omitempty"`

	SortDirection string `json:"sortDirection,omitempty"`

	Limit float64 `json:"limit,omitempty"`

	Id string `json:"id,omitempty"`

	Position float64 `json:"position,omitempty"`

	SortBy string `json:"sortBy,omitempty"`

	Translations []ProductCrossSellingTranslation `json:"translations,omitempty"`

	UpdatedAt time.Time `json:"updatedAt,omitempty"`

	CreatedAt time.Time `json:"createdAt,omitempty"`

	Translated interface{} `json:"translated,omitempty"`

	Name string `json:"name,omitempty"`

	Active bool `json:"active,omitempty"`

	ProductId string `json:"productId,omitempty"`

	Product *Product `json:"product,omitempty"`

	ProductStreamId string `json:"productStreamId,omitempty"`

	AssignedProducts []ProductCrossSellingAssignedProducts `json:"assignedProducts,omitempty"`
}

type ProductCrossSellingAssignedProducts

type ProductCrossSellingAssignedProducts struct {
	Id string `json:"id,omitempty"`

	CrossSellingId string `json:"crossSellingId,omitempty"`

	ProductVersionId string `json:"productVersionId,omitempty"`

	UpdatedAt time.Time `json:"updatedAt,omitempty"`

	ProductId string `json:"productId,omitempty"`

	Product *Product `json:"product,omitempty"`

	CrossSelling *ProductCrossSelling `json:"crossSelling,omitempty"`

	Position float64 `json:"position,omitempty"`

	CreatedAt time.Time `json:"createdAt,omitempty"`
}

type ProductCrossSellingAssignedProductsCollection

type ProductCrossSellingAssignedProductsCollection struct {
	EntityCollection

	Data []ProductCrossSellingAssignedProducts `json:"data"`
}

type ProductCrossSellingAssignedProductsRepository

type ProductCrossSellingAssignedProductsRepository ClientService

func (ProductCrossSellingAssignedProductsRepository) Delete

func (ProductCrossSellingAssignedProductsRepository) Search

func (ProductCrossSellingAssignedProductsRepository) SearchAll

func (ProductCrossSellingAssignedProductsRepository) SearchIds

func (ProductCrossSellingAssignedProductsRepository) Upsert

type ProductCrossSellingCollection

type ProductCrossSellingCollection struct {
	EntityCollection

	Data []ProductCrossSelling `json:"data"`
}

type ProductCrossSellingRepository

type ProductCrossSellingRepository ClientService

func (ProductCrossSellingRepository) Delete

func (ProductCrossSellingRepository) Search

func (ProductCrossSellingRepository) SearchAll

func (ProductCrossSellingRepository) SearchIds

func (ProductCrossSellingRepository) Upsert

type ProductCrossSellingTranslation

type ProductCrossSellingTranslation struct {
	CreatedAt time.Time `json:"createdAt,omitempty"`

	UpdatedAt time.Time `json:"updatedAt,omitempty"`

	ProductCrossSellingId string `json:"productCrossSellingId,omitempty"`

	LanguageId string `json:"languageId,omitempty"`

	ProductCrossSelling *ProductCrossSelling `json:"productCrossSelling,omitempty"`

	Language *Language `json:"language,omitempty"`

	Name string `json:"name,omitempty"`
}

type ProductCrossSellingTranslationCollection

type ProductCrossSellingTranslationCollection struct {
	EntityCollection

	Data []ProductCrossSellingTranslation `json:"data"`
}

type ProductCrossSellingTranslationRepository

type ProductCrossSellingTranslationRepository ClientService

func (ProductCrossSellingTranslationRepository) Delete

func (ProductCrossSellingTranslationRepository) Search

func (ProductCrossSellingTranslationRepository) SearchAll

func (ProductCrossSellingTranslationRepository) SearchIds

func (ProductCrossSellingTranslationRepository) Upsert

type ProductCustomFieldSet

type ProductCustomFieldSet struct {
	ProductId string `json:"productId,omitempty"`

	CustomFieldSetId string `json:"customFieldSetId,omitempty"`

	ProductVersionId string `json:"productVersionId,omitempty"`

	Product *Product `json:"product,omitempty"`

	CustomFieldSet *CustomFieldSet `json:"customFieldSet,omitempty"`
}

type ProductCustomFieldSetCollection

type ProductCustomFieldSetCollection struct {
	EntityCollection

	Data []ProductCustomFieldSet `json:"data"`
}

type ProductCustomFieldSetRepository

type ProductCustomFieldSetRepository ClientService

func (ProductCustomFieldSetRepository) Delete

func (ProductCustomFieldSetRepository) Search

func (ProductCustomFieldSetRepository) SearchAll

func (ProductCustomFieldSetRepository) SearchIds

func (ProductCustomFieldSetRepository) Upsert

type ProductDownload

type ProductDownload struct {
	Position float64 `json:"position,omitempty"`

	Product *Product `json:"product,omitempty"`

	Id string `json:"id,omitempty"`

	VersionId string `json:"versionId,omitempty"`

	ProductId string `json:"productId,omitempty"`

	ProductVersionId string `json:"productVersionId,omitempty"`

	MediaId string `json:"mediaId,omitempty"`

	Media *Media `json:"media,omitempty"`

	CustomFields interface{} `json:"customFields,omitempty"`

	CreatedAt time.Time `json:"createdAt,omitempty"`

	UpdatedAt time.Time `json:"updatedAt,omitempty"`
}

type ProductDownloadCollection

type ProductDownloadCollection struct {
	EntityCollection

	Data []ProductDownload `json:"data"`
}

type ProductDownloadRepository

type ProductDownloadRepository ClientService

func (ProductDownloadRepository) Delete

func (t ProductDownloadRepository) Delete(ctx ApiContext, ids []string) (*http.Response, error)

func (ProductDownloadRepository) Search

func (ProductDownloadRepository) SearchAll

func (ProductDownloadRepository) SearchIds

func (ProductDownloadRepository) Upsert

type ProductExport

type ProductExport struct {
	Id string `json:"id,omitempty"`

	StorefrontSalesChannelId string `json:"storefrontSalesChannelId,omitempty"`

	FooterTemplate string `json:"footerTemplate,omitempty"`

	Currency *Currency `json:"currency,omitempty"`

	SalesChannelDomainId string `json:"salesChannelDomainId,omitempty"`

	Encoding string `json:"encoding,omitempty"`

	ProductStreamId string `json:"productStreamId,omitempty"`

	SalesChannelId string `json:"salesChannelId,omitempty"`

	AccessKey string `json:"accessKey,omitempty"`

	GeneratedAt time.Time `json:"generatedAt,omitempty"`

	IsRunning bool `json:"isRunning,omitempty"`

	BodyTemplate string `json:"bodyTemplate,omitempty"`

	PausedSchedule bool `json:"pausedSchedule,omitempty"`

	ProductStream *ProductStream `json:"productStream,omitempty"`

	SalesChannel *SalesChannel `json:"salesChannel,omitempty"`

	FileFormat string `json:"fileFormat,omitempty"`

	SalesChannelDomain *SalesChannelDomain `json:"salesChannelDomain,omitempty"`

	UpdatedAt time.Time `json:"updatedAt,omitempty"`

	CurrencyId string `json:"currencyId,omitempty"`

	FileName string `json:"fileName,omitempty"`

	IncludeVariants bool `json:"includeVariants,omitempty"`

	GenerateByCronjob bool `json:"generateByCronjob,omitempty"`

	HeaderTemplate string `json:"headerTemplate,omitempty"`

	StorefrontSalesChannel *SalesChannel `json:"storefrontSalesChannel,omitempty"`

	CreatedAt time.Time `json:"createdAt,omitempty"`

	Interval float64 `json:"interval,omitempty"`
}

type ProductExportCollection

type ProductExportCollection struct {
	EntityCollection

	Data []ProductExport `json:"data"`
}

type ProductExportRepository

type ProductExportRepository ClientService

func (ProductExportRepository) Delete

func (t ProductExportRepository) Delete(ctx ApiContext, ids []string) (*http.Response, error)

func (ProductExportRepository) Search

func (ProductExportRepository) SearchAll

func (ProductExportRepository) SearchIds

func (ProductExportRepository) Upsert

func (t ProductExportRepository) Upsert(ctx ApiContext, entity []ProductExport) (*http.Response, error)

type ProductFeatureSet

type ProductFeatureSet struct {
	Translations []ProductFeatureSetTranslation `json:"translations,omitempty"`

	CreatedAt time.Time `json:"createdAt,omitempty"`

	Translated interface{} `json:"translated,omitempty"`

	Id string `json:"id,omitempty"`

	Description string `json:"description,omitempty"`

	Features interface{} `json:"features,omitempty"`

	Name string `json:"name,omitempty"`

	Products []Product `json:"products,omitempty"`

	UpdatedAt time.Time `json:"updatedAt,omitempty"`
}

type ProductFeatureSetCollection

type ProductFeatureSetCollection struct {
	EntityCollection

	Data []ProductFeatureSet `json:"data"`
}

type ProductFeatureSetRepository

type ProductFeatureSetRepository ClientService

func (ProductFeatureSetRepository) Delete

func (ProductFeatureSetRepository) Search

func (ProductFeatureSetRepository) SearchAll

func (ProductFeatureSetRepository) SearchIds

func (ProductFeatureSetRepository) Upsert

type ProductFeatureSetTranslation

type ProductFeatureSetTranslation struct {
	ProductFeatureSet *ProductFeatureSet `json:"productFeatureSet,omitempty"`

	Language *Language `json:"language,omitempty"`

	Name string `json:"name,omitempty"`

	Description string `json:"description,omitempty"`

	CreatedAt time.Time `json:"createdAt,omitempty"`

	UpdatedAt time.Time `json:"updatedAt,omitempty"`

	ProductFeatureSetId string `json:"productFeatureSetId,omitempty"`

	LanguageId string `json:"languageId,omitempty"`
}

type ProductFeatureSetTranslationCollection

type ProductFeatureSetTranslationCollection struct {
	EntityCollection

	Data []ProductFeatureSetTranslation `json:"data"`
}

type ProductFeatureSetTranslationRepository

type ProductFeatureSetTranslationRepository ClientService

func (ProductFeatureSetTranslationRepository) Delete

func (ProductFeatureSetTranslationRepository) Search

func (ProductFeatureSetTranslationRepository) SearchAll

func (ProductFeatureSetTranslationRepository) SearchIds

func (ProductFeatureSetTranslationRepository) Upsert

type ProductKeywordDictionary

type ProductKeywordDictionary struct {
	Id string `json:"id,omitempty"`

	LanguageId string `json:"languageId,omitempty"`

	Keyword string `json:"keyword,omitempty"`

	Reversed string `json:"reversed,omitempty"`

	Language *Language `json:"language,omitempty"`
}

type ProductKeywordDictionaryCollection

type ProductKeywordDictionaryCollection struct {
	EntityCollection

	Data []ProductKeywordDictionary `json:"data"`
}

type ProductKeywordDictionaryRepository

type ProductKeywordDictionaryRepository ClientService

func (ProductKeywordDictionaryRepository) Delete

func (ProductKeywordDictionaryRepository) Search

func (ProductKeywordDictionaryRepository) SearchAll

func (ProductKeywordDictionaryRepository) SearchIds

func (ProductKeywordDictionaryRepository) Upsert

type ProductManufacturer

type ProductManufacturer struct {
	Link string `json:"link,omitempty"`

	Description string `json:"description,omitempty"`

	CustomFields interface{} `json:"customFields,omitempty"`

	Media *Media `json:"media,omitempty"`

	Products []Product `json:"products,omitempty"`

	Translations []ProductManufacturerTranslation `json:"translations,omitempty"`

	Translated interface{} `json:"translated,omitempty"`

	Id string `json:"id,omitempty"`

	MediaId string `json:"mediaId,omitempty"`

	CreatedAt time.Time `json:"createdAt,omitempty"`

	Name string `json:"name,omitempty"`

	VersionId string `json:"versionId,omitempty"`

	UpdatedAt time.Time `json:"updatedAt,omitempty"`
}

type ProductManufacturerCollection

type ProductManufacturerCollection struct {
	EntityCollection

	Data []ProductManufacturer `json:"data"`
}

type ProductManufacturerRepository

type ProductManufacturerRepository ClientService

func (ProductManufacturerRepository) Delete

func (ProductManufacturerRepository) Search

func (ProductManufacturerRepository) SearchAll

func (ProductManufacturerRepository) SearchIds

func (ProductManufacturerRepository) Upsert

type ProductManufacturerTranslation

type ProductManufacturerTranslation struct {
	CreatedAt time.Time `json:"createdAt,omitempty"`

	UpdatedAt time.Time `json:"updatedAt,omitempty"`

	LanguageId string `json:"languageId,omitempty"`

	Language *Language `json:"language,omitempty"`

	Name string `json:"name,omitempty"`

	CustomFields interface{} `json:"customFields,omitempty"`

	ProductManufacturerId string `json:"productManufacturerId,omitempty"`

	ProductManufacturer *ProductManufacturer `json:"productManufacturer,omitempty"`

	ProductManufacturerVersionId string `json:"productManufacturerVersionId,omitempty"`

	Description string `json:"description,omitempty"`
}

type ProductManufacturerTranslationCollection

type ProductManufacturerTranslationCollection struct {
	EntityCollection

	Data []ProductManufacturerTranslation `json:"data"`
}

type ProductManufacturerTranslationRepository

type ProductManufacturerTranslationRepository ClientService

func (ProductManufacturerTranslationRepository) Delete

func (ProductManufacturerTranslationRepository) Search

func (ProductManufacturerTranslationRepository) SearchAll

func (ProductManufacturerTranslationRepository) SearchIds

func (ProductManufacturerTranslationRepository) Upsert

type ProductMedia

type ProductMedia struct {
	CustomFields interface{} `json:"customFields,omitempty"`

	CreatedAt time.Time `json:"createdAt,omitempty"`

	UpdatedAt time.Time `json:"updatedAt,omitempty"`

	ProductId string `json:"productId,omitempty"`

	VersionId string `json:"versionId,omitempty"`

	ProductVersionId string `json:"productVersionId,omitempty"`

	MediaId string `json:"mediaId,omitempty"`

	Position float64 `json:"position,omitempty"`

	Product *Product `json:"product,omitempty"`

	Media *Media `json:"media,omitempty"`

	CoverProducts []Product `json:"coverProducts,omitempty"`

	Id string `json:"id,omitempty"`
}

type ProductMediaCollection

type ProductMediaCollection struct {
	EntityCollection

	Data []ProductMedia `json:"data"`
}

type ProductMediaRepository

type ProductMediaRepository ClientService

func (ProductMediaRepository) Delete

func (t ProductMediaRepository) Delete(ctx ApiContext, ids []string) (*http.Response, error)

func (ProductMediaRepository) Search

func (ProductMediaRepository) SearchAll

func (ProductMediaRepository) SearchIds

func (ProductMediaRepository) Upsert

func (t ProductMediaRepository) Upsert(ctx ApiContext, entity []ProductMedia) (*http.Response, error)

type ProductOption

type ProductOption struct {
	Option *PropertyGroupOption `json:"option,omitempty"`

	ProductId string `json:"productId,omitempty"`

	ProductVersionId string `json:"productVersionId,omitempty"`

	OptionId string `json:"optionId,omitempty"`

	Product *Product `json:"product,omitempty"`
}

type ProductOptionCollection

type ProductOptionCollection struct {
	EntityCollection

	Data []ProductOption `json:"data"`
}

type ProductOptionRepository

type ProductOptionRepository ClientService

func (ProductOptionRepository) Delete

func (t ProductOptionRepository) Delete(ctx ApiContext, ids []string) (*http.Response, error)

func (ProductOptionRepository) Search

func (ProductOptionRepository) SearchAll

func (ProductOptionRepository) SearchIds

func (ProductOptionRepository) Upsert

func (t ProductOptionRepository) Upsert(ctx ApiContext, entity []ProductOption) (*http.Response, error)

type ProductPrice

type ProductPrice struct {
	ProductVersionId string `json:"productVersionId,omitempty"`

	Price interface{} `json:"price,omitempty"`

	CustomFields interface{} `json:"customFields,omitempty"`

	CreatedAt time.Time `json:"createdAt,omitempty"`

	QuantityEnd float64 `json:"quantityEnd,omitempty"`

	RuleId string `json:"ruleId,omitempty"`

	Rule *Rule `json:"rule,omitempty"`

	Id string `json:"id,omitempty"`

	VersionId string `json:"versionId,omitempty"`

	ProductId string `json:"productId,omitempty"`

	QuantityStart float64 `json:"quantityStart,omitempty"`

	Product *Product `json:"product,omitempty"`

	UpdatedAt time.Time `json:"updatedAt,omitempty"`
}

type ProductPriceCollection

type ProductPriceCollection struct {
	EntityCollection

	Data []ProductPrice `json:"data"`
}

type ProductPriceRepository

type ProductPriceRepository ClientService

func (ProductPriceRepository) Delete

func (t ProductPriceRepository) Delete(ctx ApiContext, ids []string) (*http.Response, error)

func (ProductPriceRepository) Search

func (ProductPriceRepository) SearchAll

func (ProductPriceRepository) SearchIds

func (ProductPriceRepository) Upsert

func (t ProductPriceRepository) Upsert(ctx ApiContext, entity []ProductPrice) (*http.Response, error)

type ProductProperty

type ProductProperty struct {
	ProductId string `json:"productId,omitempty"`

	ProductVersionId string `json:"productVersionId,omitempty"`

	OptionId string `json:"optionId,omitempty"`

	Product *Product `json:"product,omitempty"`

	Option *PropertyGroupOption `json:"option,omitempty"`
}

type ProductPropertyCollection

type ProductPropertyCollection struct {
	EntityCollection

	Data []ProductProperty `json:"data"`
}

type ProductPropertyRepository

type ProductPropertyRepository ClientService

func (ProductPropertyRepository) Delete

func (t ProductPropertyRepository) Delete(ctx ApiContext, ids []string) (*http.Response, error)

func (ProductPropertyRepository) Search

func (ProductPropertyRepository) SearchAll

func (ProductPropertyRepository) SearchIds

func (ProductPropertyRepository) Upsert

type ProductRepository

type ProductRepository ClientService

func (ProductRepository) Delete

func (t ProductRepository) Delete(ctx ApiContext, ids []string) (*http.Response, error)

func (ProductRepository) Search

func (ProductRepository) SearchAll

func (t ProductRepository) SearchAll(ctx ApiContext, criteria Criteria) (*ProductCollection, *http.Response, error)

func (ProductRepository) SearchIds

func (t ProductRepository) SearchIds(ctx ApiContext, criteria Criteria) (*SearchIdsResponse, *http.Response, error)

func (ProductRepository) Upsert

func (t ProductRepository) Upsert(ctx ApiContext, entity []Product) (*http.Response, error)

type ProductReview

type ProductReview struct {
	UpdatedAt time.Time `json:"updatedAt,omitempty"`

	ProductId string `json:"productId,omitempty"`

	CustomerId string `json:"customerId,omitempty"`

	SalesChannelId string `json:"salesChannelId,omitempty"`

	ExternalEmail string `json:"externalEmail,omitempty"`

	Title string `json:"title,omitempty"`

	Points float64 `json:"points,omitempty"`

	CreatedAt time.Time `json:"createdAt,omitempty"`

	Id string `json:"id,omitempty"`

	ExternalUser string `json:"externalUser,omitempty"`

	Content string `json:"content,omitempty"`

	SalesChannel *SalesChannel `json:"salesChannel,omitempty"`

	Language *Language `json:"language,omitempty"`

	LanguageId string `json:"languageId,omitempty"`

	Status bool `json:"status,omitempty"`

	Comment string `json:"comment,omitempty"`

	Customer *Customer `json:"customer,omitempty"`

	ProductVersionId string `json:"productVersionId,omitempty"`

	Product *Product `json:"product,omitempty"`

	CustomFields interface{} `json:"customFields,omitempty"`
}

type ProductReviewCollection

type ProductReviewCollection struct {
	EntityCollection

	Data []ProductReview `json:"data"`
}

type ProductReviewRepository

type ProductReviewRepository ClientService

func (ProductReviewRepository) Delete

func (t ProductReviewRepository) Delete(ctx ApiContext, ids []string) (*http.Response, error)

func (ProductReviewRepository) Search

func (ProductReviewRepository) SearchAll

func (ProductReviewRepository) SearchIds

func (ProductReviewRepository) Upsert

func (t ProductReviewRepository) Upsert(ctx ApiContext, entity []ProductReview) (*http.Response, error)

type ProductSearchConfig

type ProductSearchConfig struct {
	Id string `json:"id,omitempty"`

	LanguageId string `json:"languageId,omitempty"`

	ExcludedTerms interface{} `json:"excludedTerms,omitempty"`

	ConfigFields []ProductSearchConfigField `json:"configFields,omitempty"`

	CreatedAt time.Time `json:"createdAt,omitempty"`

	UpdatedAt time.Time `json:"updatedAt,omitempty"`

	AndLogic bool `json:"andLogic,omitempty"`

	MinSearchLength float64 `json:"minSearchLength,omitempty"`

	Language *Language `json:"language,omitempty"`
}

type ProductSearchConfigCollection

type ProductSearchConfigCollection struct {
	EntityCollection

	Data []ProductSearchConfig `json:"data"`
}

type ProductSearchConfigField

type ProductSearchConfigField struct {
	CustomField *CustomField `json:"customField,omitempty"`

	Id string `json:"id,omitempty"`

	CustomFieldId string `json:"customFieldId,omitempty"`

	Tokenize bool `json:"tokenize,omitempty"`

	Searchable bool `json:"searchable,omitempty"`

	CreatedAt time.Time `json:"createdAt,omitempty"`

	UpdatedAt time.Time `json:"updatedAt,omitempty"`

	SearchConfigId string `json:"searchConfigId,omitempty"`

	Field string `json:"field,omitempty"`

	Ranking float64 `json:"ranking,omitempty"`

	SearchConfig *ProductSearchConfig `json:"searchConfig,omitempty"`
}

type ProductSearchConfigFieldCollection

type ProductSearchConfigFieldCollection struct {
	EntityCollection

	Data []ProductSearchConfigField `json:"data"`
}

type ProductSearchConfigFieldRepository

type ProductSearchConfigFieldRepository ClientService

func (ProductSearchConfigFieldRepository) Delete

func (ProductSearchConfigFieldRepository) Search

func (ProductSearchConfigFieldRepository) SearchAll

func (ProductSearchConfigFieldRepository) SearchIds

func (ProductSearchConfigFieldRepository) Upsert

type ProductSearchConfigRepository

type ProductSearchConfigRepository ClientService

func (ProductSearchConfigRepository) Delete

func (ProductSearchConfigRepository) Search

func (ProductSearchConfigRepository) SearchAll

func (ProductSearchConfigRepository) SearchIds

func (ProductSearchConfigRepository) Upsert

type ProductSearchKeyword

type ProductSearchKeyword struct {
	LanguageId string `json:"languageId,omitempty"`

	ProductId string `json:"productId,omitempty"`

	ProductVersionId string `json:"productVersionId,omitempty"`

	Keyword string `json:"keyword,omitempty"`

	Ranking float64 `json:"ranking,omitempty"`

	Language *Language `json:"language,omitempty"`

	CreatedAt time.Time `json:"createdAt,omitempty"`

	Id string `json:"id,omitempty"`

	VersionId string `json:"versionId,omitempty"`

	Product *Product `json:"product,omitempty"`

	UpdatedAt time.Time `json:"updatedAt,omitempty"`
}

type ProductSearchKeywordCollection

type ProductSearchKeywordCollection struct {
	EntityCollection

	Data []ProductSearchKeyword `json:"data"`
}

type ProductSearchKeywordRepository

type ProductSearchKeywordRepository ClientService

func (ProductSearchKeywordRepository) Delete

func (ProductSearchKeywordRepository) Search

func (ProductSearchKeywordRepository) SearchAll

func (ProductSearchKeywordRepository) SearchIds

func (ProductSearchKeywordRepository) Upsert

type ProductSorting

type ProductSorting struct {
	Id string `json:"id,omitempty"`

	Key string `json:"key,omitempty"`

	Fields interface{} `json:"fields,omitempty"`

	CreatedAt time.Time `json:"createdAt,omitempty"`

	UpdatedAt time.Time `json:"updatedAt,omitempty"`

	Translated interface{} `json:"translated,omitempty"`

	Locked bool `json:"locked,omitempty"`

	Priority float64 `json:"priority,omitempty"`

	Active bool `json:"active,omitempty"`

	Label string `json:"label,omitempty"`

	Translations []ProductSortingTranslation `json:"translations,omitempty"`
}

type ProductSortingCollection

type ProductSortingCollection struct {
	EntityCollection

	Data []ProductSorting `json:"data"`
}

type ProductSortingRepository

type ProductSortingRepository ClientService

func (ProductSortingRepository) Delete

func (t ProductSortingRepository) Delete(ctx ApiContext, ids []string) (*http.Response, error)

func (ProductSortingRepository) Search

func (ProductSortingRepository) SearchAll

func (ProductSortingRepository) SearchIds

func (ProductSortingRepository) Upsert

type ProductSortingTranslation

type ProductSortingTranslation struct {
	Label string `json:"label,omitempty"`

	CreatedAt time.Time `json:"createdAt,omitempty"`

	UpdatedAt time.Time `json:"updatedAt,omitempty"`

	ProductSortingId string `json:"productSortingId,omitempty"`

	LanguageId string `json:"languageId,omitempty"`

	ProductSorting *ProductSorting `json:"productSorting,omitempty"`

	Language *Language `json:"language,omitempty"`
}

type ProductSortingTranslationCollection

type ProductSortingTranslationCollection struct {
	EntityCollection

	Data []ProductSortingTranslation `json:"data"`
}

type ProductSortingTranslationRepository

type ProductSortingTranslationRepository ClientService

func (ProductSortingTranslationRepository) Delete

func (ProductSortingTranslationRepository) Search

func (ProductSortingTranslationRepository) SearchAll

func (ProductSortingTranslationRepository) SearchIds

func (ProductSortingTranslationRepository) Upsert

type ProductStream

type ProductStream struct {
	Translations []ProductStreamTranslation `json:"translations,omitempty"`

	ProductCrossSellings []ProductCrossSelling `json:"productCrossSellings,omitempty"`

	ProductExports []ProductExport `json:"productExports,omitempty"`

	Categories []Category `json:"categories,omitempty"`

	ApiFilter interface{} `json:"apiFilter,omitempty"`

	CustomFields interface{} `json:"customFields,omitempty"`

	Filters []ProductStreamFilter `json:"filters,omitempty"`

	CreatedAt time.Time `json:"createdAt,omitempty"`

	Id string `json:"id,omitempty"`

	Translated interface{} `json:"translated,omitempty"`

	Description string `json:"description,omitempty"`

	Name string `json:"name,omitempty"`

	UpdatedAt time.Time `json:"updatedAt,omitempty"`

	Invalid bool `json:"invalid,omitempty"`
}

type ProductStreamCollection

type ProductStreamCollection struct {
	EntityCollection

	Data []ProductStream `json:"data"`
}

type ProductStreamFilter

type ProductStreamFilter struct {
	Type string `json:"type,omitempty"`

	ProductStream *ProductStream `json:"productStream,omitempty"`

	ProductStreamId string `json:"productStreamId,omitempty"`

	Position float64 `json:"position,omitempty"`

	Parent *ProductStreamFilter `json:"parent,omitempty"`

	Queries []ProductStreamFilter `json:"queries,omitempty"`

	CreatedAt time.Time `json:"createdAt,omitempty"`

	ParentId string `json:"parentId,omitempty"`

	UpdatedAt time.Time `json:"updatedAt,omitempty"`

	Value string `json:"value,omitempty"`

	Field string `json:"field,omitempty"`

	Operator string `json:"operator,omitempty"`

	Parameters interface{} `json:"parameters,omitempty"`

	CustomFields interface{} `json:"customFields,omitempty"`

	Id string `json:"id,omitempty"`
}

type ProductStreamFilterCollection

type ProductStreamFilterCollection struct {
	EntityCollection

	Data []ProductStreamFilter `json:"data"`
}

type ProductStreamFilterRepository

type ProductStreamFilterRepository ClientService

func (ProductStreamFilterRepository) Delete

func (ProductStreamFilterRepository) Search

func (ProductStreamFilterRepository) SearchAll

func (ProductStreamFilterRepository) SearchIds

func (ProductStreamFilterRepository) Upsert

type ProductStreamMapping

type ProductStreamMapping struct {
	ProductId string `json:"productId,omitempty"`

	ProductVersionId string `json:"productVersionId,omitempty"`

	ProductStreamId string `json:"productStreamId,omitempty"`

	Product *Product `json:"product,omitempty"`

	ProductStream *ProductStream `json:"productStream,omitempty"`
}

type ProductStreamMappingCollection

type ProductStreamMappingCollection struct {
	EntityCollection

	Data []ProductStreamMapping `json:"data"`
}

type ProductStreamMappingRepository

type ProductStreamMappingRepository ClientService

func (ProductStreamMappingRepository) Delete

func (ProductStreamMappingRepository) Search

func (ProductStreamMappingRepository) SearchAll

func (ProductStreamMappingRepository) SearchIds

func (ProductStreamMappingRepository) Upsert

type ProductStreamRepository

type ProductStreamRepository ClientService

func (ProductStreamRepository) Delete

func (t ProductStreamRepository) Delete(ctx ApiContext, ids []string) (*http.Response, error)

func (ProductStreamRepository) Search

func (ProductStreamRepository) SearchAll

func (ProductStreamRepository) SearchIds

func (ProductStreamRepository) Upsert

func (t ProductStreamRepository) Upsert(ctx ApiContext, entity []ProductStream) (*http.Response, error)

type ProductStreamTranslation

type ProductStreamTranslation struct {
	Name string `json:"name,omitempty"`

	Description string `json:"description,omitempty"`

	CustomFields interface{} `json:"customFields,omitempty"`

	ProductStream *ProductStream `json:"productStream,omitempty"`

	CreatedAt time.Time `json:"createdAt,omitempty"`

	UpdatedAt time.Time `json:"updatedAt,omitempty"`

	ProductStreamId string `json:"productStreamId,omitempty"`

	LanguageId string `json:"languageId,omitempty"`

	Language *Language `json:"language,omitempty"`
}

type ProductStreamTranslationCollection

type ProductStreamTranslationCollection struct {
	EntityCollection

	Data []ProductStreamTranslation `json:"data"`
}

type ProductStreamTranslationRepository

type ProductStreamTranslationRepository ClientService

func (ProductStreamTranslationRepository) Delete

func (ProductStreamTranslationRepository) Search

func (ProductStreamTranslationRepository) SearchAll

func (ProductStreamTranslationRepository) SearchIds

func (ProductStreamTranslationRepository) Upsert

type ProductTag

type ProductTag struct {
	ProductId string `json:"productId,omitempty"`

	ProductVersionId string `json:"productVersionId,omitempty"`

	TagId string `json:"tagId,omitempty"`

	Product *Product `json:"product,omitempty"`

	Tag *Tag `json:"tag,omitempty"`
}

type ProductTagCollection

type ProductTagCollection struct {
	EntityCollection

	Data []ProductTag `json:"data"`
}

type ProductTagRepository

type ProductTagRepository ClientService

func (ProductTagRepository) Delete

func (t ProductTagRepository) Delete(ctx ApiContext, ids []string) (*http.Response, error)

func (ProductTagRepository) Search

func (ProductTagRepository) SearchAll

func (ProductTagRepository) SearchIds

func (t ProductTagRepository) SearchIds(ctx ApiContext, criteria Criteria) (*SearchIdsResponse, *http.Response, error)

func (ProductTagRepository) Upsert

func (t ProductTagRepository) Upsert(ctx ApiContext, entity []ProductTag) (*http.Response, error)

type ProductTranslation

type ProductTranslation struct {
	CustomFields interface{} `json:"customFields,omitempty"`

	LanguageId string `json:"languageId,omitempty"`

	Product *Product `json:"product,omitempty"`

	ProductVersionId string `json:"productVersionId,omitempty"`

	MetaDescription string `json:"metaDescription,omitempty"`

	Description string `json:"description,omitempty"`

	CustomSearchKeywords interface{} `json:"customSearchKeywords,omitempty"`

	ProductId string `json:"productId,omitempty"`

	UpdatedAt time.Time `json:"updatedAt,omitempty"`

	Language *Language `json:"language,omitempty"`

	MetaTitle string `json:"metaTitle,omitempty"`

	PackUnitPlural string `json:"packUnitPlural,omitempty"`

	PackUnit string `json:"packUnit,omitempty"`

	SlotConfig interface{} `json:"slotConfig,omitempty"`

	CreatedAt time.Time `json:"createdAt,omitempty"`

	Name string `json:"name,omitempty"`

	Keywords string `json:"keywords,omitempty"`
}

type ProductTranslationCollection

type ProductTranslationCollection struct {
	EntityCollection

	Data []ProductTranslation `json:"data"`
}

type ProductTranslationRepository

type ProductTranslationRepository ClientService

func (ProductTranslationRepository) Delete

func (ProductTranslationRepository) Search

func (ProductTranslationRepository) SearchAll

func (ProductTranslationRepository) SearchIds

func (ProductTranslationRepository) Upsert

type ProductVisibility

type ProductVisibility struct {
	SalesChannel *SalesChannel `json:"salesChannel,omitempty"`

	Product *Product `json:"product,omitempty"`

	UpdatedAt time.Time `json:"updatedAt,omitempty"`

	ProductId string `json:"productId,omitempty"`

	ProductVersionId string `json:"productVersionId,omitempty"`

	SalesChannelId string `json:"salesChannelId,omitempty"`

	Id string `json:"id,omitempty"`

	Visibility float64 `json:"visibility,omitempty"`

	CreatedAt time.Time `json:"createdAt,omitempty"`
}

type ProductVisibilityCollection

type ProductVisibilityCollection struct {
	EntityCollection

	Data []ProductVisibility `json:"data"`
}

type ProductVisibilityRepository

type ProductVisibilityRepository ClientService

func (ProductVisibilityRepository) Delete

func (ProductVisibilityRepository) Search

func (ProductVisibilityRepository) SearchAll

func (ProductVisibilityRepository) SearchIds

func (ProductVisibilityRepository) Upsert

type Promotion

type Promotion struct {
	ValidUntil time.Time `json:"validUntil,omitempty"`

	UseIndividualCodes bool `json:"useIndividualCodes,omitempty"`

	CustomFields interface{} `json:"customFields,omitempty"`

	CreatedAt time.Time `json:"createdAt,omitempty"`

	UpdatedAt time.Time `json:"updatedAt,omitempty"`

	ValidFrom time.Time `json:"validFrom,omitempty"`

	Discounts []PromotionDiscount `json:"discounts,omitempty"`

	Exclusive bool `json:"exclusive,omitempty"`

	UseSetGroups bool `json:"useSetGroups,omitempty"`

	PreventCombination bool `json:"preventCombination,omitempty"`

	Setgroups []PromotionSetgroup `json:"setgroups,omitempty"`

	Name string `json:"name,omitempty"`

	PersonaCustomers []Customer `json:"personaCustomers,omitempty"`

	MaxRedemptionsPerCustomer float64 `json:"maxRedemptionsPerCustomer,omitempty"`

	MaxRedemptionsGlobal float64 `json:"maxRedemptionsGlobal,omitempty"`

	Code string `json:"code,omitempty"`

	OrderRules []Rule `json:"orderRules,omitempty"`

	OrderLineItems []OrderLineItem `json:"orderLineItems,omitempty"`

	ExclusionIds interface{} `json:"exclusionIds,omitempty"`

	Active bool `json:"active,omitempty"`

	CustomerRestriction bool `json:"customerRestriction,omitempty"`

	PersonaRules []Rule `json:"personaRules,omitempty"`

	Translated interface{} `json:"translated,omitempty"`

	Id string `json:"id,omitempty"`

	IndividualCodePattern string `json:"individualCodePattern,omitempty"`

	OrderCount float64 `json:"orderCount,omitempty"`

	OrdersPerCustomerCount interface{} `json:"ordersPerCustomerCount,omitempty"`

	IndividualCodes []PromotionIndividualCode `json:"individualCodes,omitempty"`

	Translations []PromotionTranslation `json:"translations,omitempty"`

	Priority float64 `json:"priority,omitempty"`

	SalesChannels []PromotionSalesChannel `json:"salesChannels,omitempty"`

	CartRules []Rule `json:"cartRules,omitempty"`

	UseCodes bool `json:"useCodes,omitempty"`
}

type PromotionCartRule

type PromotionCartRule struct {
	RuleId string `json:"ruleId,omitempty"`

	Promotion *Promotion `json:"promotion,omitempty"`

	Rule *Rule `json:"rule,omitempty"`

	PromotionId string `json:"promotionId,omitempty"`
}

type PromotionCartRuleCollection

type PromotionCartRuleCollection struct {
	EntityCollection

	Data []PromotionCartRule `json:"data"`
}

type PromotionCartRuleRepository

type PromotionCartRuleRepository ClientService

func (PromotionCartRuleRepository) Delete

func (PromotionCartRuleRepository) Search

func (PromotionCartRuleRepository) SearchAll

func (PromotionCartRuleRepository) SearchIds

func (PromotionCartRuleRepository) Upsert

type PromotionCollection

type PromotionCollection struct {
	EntityCollection

	Data []Promotion `json:"data"`
}

type PromotionDiscount

type PromotionDiscount struct {
	SorterKey string `json:"sorterKey,omitempty"`

	PromotionDiscountPrices []PromotionDiscountPrices `json:"promotionDiscountPrices,omitempty"`

	CreatedAt time.Time `json:"createdAt,omitempty"`

	UpdatedAt time.Time `json:"updatedAt,omitempty"`

	PromotionId string `json:"promotionId,omitempty"`

	Scope string `json:"scope,omitempty"`

	Type string `json:"type,omitempty"`

	MaxValue float64 `json:"maxValue,omitempty"`

	ApplierKey string `json:"applierKey,omitempty"`

	Promotion *Promotion `json:"promotion,omitempty"`

	DiscountRules []Rule `json:"discountRules,omitempty"`

	Id string `json:"id,omitempty"`

	Value float64 `json:"value,omitempty"`

	ConsiderAdvancedRules bool `json:"considerAdvancedRules,omitempty"`

	PickerKey string `json:"pickerKey,omitempty"`

	UsageKey string `json:"usageKey,omitempty"`
}

type PromotionDiscountCollection

type PromotionDiscountCollection struct {
	EntityCollection

	Data []PromotionDiscount `json:"data"`
}

type PromotionDiscountPrices

type PromotionDiscountPrices struct {
	CreatedAt time.Time `json:"createdAt,omitempty"`

	UpdatedAt time.Time `json:"updatedAt,omitempty"`

	Id string `json:"id,omitempty"`

	DiscountId string `json:"discountId,omitempty"`

	CurrencyId string `json:"currencyId,omitempty"`

	Price float64 `json:"price,omitempty"`

	PromotionDiscount *PromotionDiscount `json:"promotionDiscount,omitempty"`

	Currency *Currency `json:"currency,omitempty"`
}

type PromotionDiscountPricesCollection

type PromotionDiscountPricesCollection struct {
	EntityCollection

	Data []PromotionDiscountPrices `json:"data"`
}

type PromotionDiscountPricesRepository

type PromotionDiscountPricesRepository ClientService

func (PromotionDiscountPricesRepository) Delete

func (PromotionDiscountPricesRepository) Search

func (PromotionDiscountPricesRepository) SearchAll

func (PromotionDiscountPricesRepository) SearchIds

func (PromotionDiscountPricesRepository) Upsert

type PromotionDiscountRepository

type PromotionDiscountRepository ClientService

func (PromotionDiscountRepository) Delete

func (PromotionDiscountRepository) Search

func (PromotionDiscountRepository) SearchAll

func (PromotionDiscountRepository) SearchIds

func (PromotionDiscountRepository) Upsert

type PromotionDiscountRule

type PromotionDiscountRule struct {
	DiscountId string `json:"discountId,omitempty"`

	RuleId string `json:"ruleId,omitempty"`

	Discount *PromotionDiscount `json:"discount,omitempty"`

	Rule *Rule `json:"rule,omitempty"`
}

type PromotionDiscountRuleCollection

type PromotionDiscountRuleCollection struct {
	EntityCollection

	Data []PromotionDiscountRule `json:"data"`
}

type PromotionDiscountRuleRepository

type PromotionDiscountRuleRepository ClientService

func (PromotionDiscountRuleRepository) Delete

func (PromotionDiscountRuleRepository) Search

func (PromotionDiscountRuleRepository) SearchAll

func (PromotionDiscountRuleRepository) SearchIds

func (PromotionDiscountRuleRepository) Upsert

type PromotionIndividualCode

type PromotionIndividualCode struct {
	Id string `json:"id,omitempty"`

	PromotionId string `json:"promotionId,omitempty"`

	Code string `json:"code,omitempty"`

	Payload interface{} `json:"payload,omitempty"`

	Promotion *Promotion `json:"promotion,omitempty"`

	CreatedAt time.Time `json:"createdAt,omitempty"`

	UpdatedAt time.Time `json:"updatedAt,omitempty"`
}

type PromotionIndividualCodeCollection

type PromotionIndividualCodeCollection struct {
	EntityCollection

	Data []PromotionIndividualCode `json:"data"`
}

type PromotionIndividualCodeRepository

type PromotionIndividualCodeRepository ClientService

func (PromotionIndividualCodeRepository) Delete

func (PromotionIndividualCodeRepository) Search

func (PromotionIndividualCodeRepository) SearchAll

func (PromotionIndividualCodeRepository) SearchIds

func (PromotionIndividualCodeRepository) Upsert

type PromotionOrderRule

type PromotionOrderRule struct {
	PromotionId string `json:"promotionId,omitempty"`

	RuleId string `json:"ruleId,omitempty"`

	Promotion *Promotion `json:"promotion,omitempty"`

	Rule *Rule `json:"rule,omitempty"`
}

type PromotionOrderRuleCollection

type PromotionOrderRuleCollection struct {
	EntityCollection

	Data []PromotionOrderRule `json:"data"`
}

type PromotionOrderRuleRepository

type PromotionOrderRuleRepository ClientService

func (PromotionOrderRuleRepository) Delete

func (PromotionOrderRuleRepository) Search

func (PromotionOrderRuleRepository) SearchAll

func (PromotionOrderRuleRepository) SearchIds

func (PromotionOrderRuleRepository) Upsert

type PromotionPersonaCustomer

type PromotionPersonaCustomer struct {
	Promotion *Promotion `json:"promotion,omitempty"`

	Customer *Customer `json:"customer,omitempty"`

	PromotionId string `json:"promotionId,omitempty"`

	CustomerId string `json:"customerId,omitempty"`
}

type PromotionPersonaCustomerCollection

type PromotionPersonaCustomerCollection struct {
	EntityCollection

	Data []PromotionPersonaCustomer `json:"data"`
}

type PromotionPersonaCustomerRepository

type PromotionPersonaCustomerRepository ClientService

func (PromotionPersonaCustomerRepository) Delete

func (PromotionPersonaCustomerRepository) Search

func (PromotionPersonaCustomerRepository) SearchAll

func (PromotionPersonaCustomerRepository) SearchIds

func (PromotionPersonaCustomerRepository) Upsert

type PromotionPersonaRule

type PromotionPersonaRule struct {
	PromotionId string `json:"promotionId,omitempty"`

	RuleId string `json:"ruleId,omitempty"`

	Promotion *Promotion `json:"promotion,omitempty"`

	Rule *Rule `json:"rule,omitempty"`
}

type PromotionPersonaRuleCollection

type PromotionPersonaRuleCollection struct {
	EntityCollection

	Data []PromotionPersonaRule `json:"data"`
}

type PromotionPersonaRuleRepository

type PromotionPersonaRuleRepository ClientService

func (PromotionPersonaRuleRepository) Delete

func (PromotionPersonaRuleRepository) Search

func (PromotionPersonaRuleRepository) SearchAll

func (PromotionPersonaRuleRepository) SearchIds

func (PromotionPersonaRuleRepository) Upsert

type PromotionRepository

type PromotionRepository ClientService

func (PromotionRepository) Delete

func (t PromotionRepository) Delete(ctx ApiContext, ids []string) (*http.Response, error)

func (PromotionRepository) Search

func (PromotionRepository) SearchAll

func (PromotionRepository) SearchIds

func (t PromotionRepository) SearchIds(ctx ApiContext, criteria Criteria) (*SearchIdsResponse, *http.Response, error)

func (PromotionRepository) Upsert

func (t PromotionRepository) Upsert(ctx ApiContext, entity []Promotion) (*http.Response, error)

type PromotionSalesChannel

type PromotionSalesChannel struct {
	UpdatedAt time.Time `json:"updatedAt,omitempty"`

	Id string `json:"id,omitempty"`

	PromotionId string `json:"promotionId,omitempty"`

	SalesChannelId string `json:"salesChannelId,omitempty"`

	Priority float64 `json:"priority,omitempty"`

	Promotion *Promotion `json:"promotion,omitempty"`

	SalesChannel *SalesChannel `json:"salesChannel,omitempty"`

	CreatedAt time.Time `json:"createdAt,omitempty"`
}

type PromotionSalesChannelCollection

type PromotionSalesChannelCollection struct {
	EntityCollection

	Data []PromotionSalesChannel `json:"data"`
}

type PromotionSalesChannelRepository

type PromotionSalesChannelRepository ClientService

func (PromotionSalesChannelRepository) Delete

func (PromotionSalesChannelRepository) Search

func (PromotionSalesChannelRepository) SearchAll

func (PromotionSalesChannelRepository) SearchIds

func (PromotionSalesChannelRepository) Upsert

type PromotionSetgroup

type PromotionSetgroup struct {
	SetGroupRules []Rule `json:"setGroupRules,omitempty"`

	CreatedAt time.Time `json:"createdAt,omitempty"`

	PromotionId string `json:"promotionId,omitempty"`

	PackagerKey string `json:"packagerKey,omitempty"`

	SorterKey string `json:"sorterKey,omitempty"`

	Value float64 `json:"value,omitempty"`

	Id string `json:"id,omitempty"`

	Promotion *Promotion `json:"promotion,omitempty"`

	UpdatedAt time.Time `json:"updatedAt,omitempty"`
}

type PromotionSetgroupCollection

type PromotionSetgroupCollection struct {
	EntityCollection

	Data []PromotionSetgroup `json:"data"`
}

type PromotionSetgroupRepository

type PromotionSetgroupRepository ClientService

func (PromotionSetgroupRepository) Delete

func (PromotionSetgroupRepository) Search

func (PromotionSetgroupRepository) SearchAll

func (PromotionSetgroupRepository) SearchIds

func (PromotionSetgroupRepository) Upsert

type PromotionSetgroupRule

type PromotionSetgroupRule struct {
	SetgroupId string `json:"setgroupId,omitempty"`

	RuleId string `json:"ruleId,omitempty"`

	Setgroup *PromotionSetgroup `json:"setgroup,omitempty"`

	Rule *Rule `json:"rule,omitempty"`
}

type PromotionSetgroupRuleCollection

type PromotionSetgroupRuleCollection struct {
	EntityCollection

	Data []PromotionSetgroupRule `json:"data"`
}

type PromotionSetgroupRuleRepository

type PromotionSetgroupRuleRepository ClientService

func (PromotionSetgroupRuleRepository) Delete

func (PromotionSetgroupRuleRepository) Search

func (PromotionSetgroupRuleRepository) SearchAll

func (PromotionSetgroupRuleRepository) SearchIds

func (PromotionSetgroupRuleRepository) Upsert

type PromotionTranslation

type PromotionTranslation struct {
	LanguageId string `json:"languageId,omitempty"`

	Promotion *Promotion `json:"promotion,omitempty"`

	Language *Language `json:"language,omitempty"`

	Name string `json:"name,omitempty"`

	CustomFields interface{} `json:"customFields,omitempty"`

	CreatedAt time.Time `json:"createdAt,omitempty"`

	UpdatedAt time.Time `json:"updatedAt,omitempty"`

	PromotionId string `json:"promotionId,omitempty"`
}

type PromotionTranslationCollection

type PromotionTranslationCollection struct {
	EntityCollection

	Data []PromotionTranslation `json:"data"`
}

type PromotionTranslationRepository

type PromotionTranslationRepository ClientService

func (PromotionTranslationRepository) Delete

func (PromotionTranslationRepository) Search

func (PromotionTranslationRepository) SearchAll

func (PromotionTranslationRepository) SearchIds

func (PromotionTranslationRepository) Upsert

type PropertyGroup

type PropertyGroup struct {
	Id string `json:"id,omitempty"`

	Name string `json:"name,omitempty"`

	Filterable bool `json:"filterable,omitempty"`

	CreatedAt time.Time `json:"createdAt,omitempty"`

	Description string `json:"description,omitempty"`

	Translations []PropertyGroupTranslation `json:"translations,omitempty"`

	DisplayType string `json:"displayType,omitempty"`

	CustomFields interface{} `json:"customFields,omitempty"`

	UpdatedAt time.Time `json:"updatedAt,omitempty"`

	Translated interface{} `json:"translated,omitempty"`

	SortingType string `json:"sortingType,omitempty"`

	VisibleOnProductDetailPage bool `json:"visibleOnProductDetailPage,omitempty"`

	Position float64 `json:"position,omitempty"`

	Options []PropertyGroupOption `json:"options,omitempty"`
}

type PropertyGroupCollection

type PropertyGroupCollection struct {
	EntityCollection

	Data []PropertyGroup `json:"data"`
}

type PropertyGroupOption

type PropertyGroupOption struct {
	Group *PropertyGroup `json:"group,omitempty"`

	ProductConfiguratorSettings []ProductConfiguratorSetting `json:"productConfiguratorSettings,omitempty"`

	ProductProperties []Product `json:"productProperties,omitempty"`

	GroupId string `json:"groupId,omitempty"`

	Position float64 `json:"position,omitempty"`

	Media *Media `json:"media,omitempty"`

	CreatedAt time.Time `json:"createdAt,omitempty"`

	UpdatedAt time.Time `json:"updatedAt,omitempty"`

	Name string `json:"name,omitempty"`

	MediaId string `json:"mediaId,omitempty"`

	Translations []PropertyGroupOptionTranslation `json:"translations,omitempty"`

	Id string `json:"id,omitempty"`

	ColorHexCode string `json:"colorHexCode,omitempty"`

	CustomFields interface{} `json:"customFields,omitempty"`

	ProductOptions []Product `json:"productOptions,omitempty"`

	Translated interface{} `json:"translated,omitempty"`
}

type PropertyGroupOptionCollection

type PropertyGroupOptionCollection struct {
	EntityCollection

	Data []PropertyGroupOption `json:"data"`
}

type PropertyGroupOptionRepository

type PropertyGroupOptionRepository ClientService

func (PropertyGroupOptionRepository) Delete

func (PropertyGroupOptionRepository) Search

func (PropertyGroupOptionRepository) SearchAll

func (PropertyGroupOptionRepository) SearchIds

func (PropertyGroupOptionRepository) Upsert

type PropertyGroupOptionTranslation

type PropertyGroupOptionTranslation struct {
	CustomFields interface{} `json:"customFields,omitempty"`

	UpdatedAt time.Time `json:"updatedAt,omitempty"`

	LanguageId string `json:"languageId,omitempty"`

	Name string `json:"name,omitempty"`

	CreatedAt time.Time `json:"createdAt,omitempty"`

	PropertyGroupOptionId string `json:"propertyGroupOptionId,omitempty"`

	PropertyGroupOption *PropertyGroupOption `json:"propertyGroupOption,omitempty"`

	Language *Language `json:"language,omitempty"`

	Position float64 `json:"position,omitempty"`
}

type PropertyGroupOptionTranslationCollection

type PropertyGroupOptionTranslationCollection struct {
	EntityCollection

	Data []PropertyGroupOptionTranslation `json:"data"`
}

type PropertyGroupOptionTranslationRepository

type PropertyGroupOptionTranslationRepository ClientService

func (PropertyGroupOptionTranslationRepository) Delete

func (PropertyGroupOptionTranslationRepository) Search

func (PropertyGroupOptionTranslationRepository) SearchAll

func (PropertyGroupOptionTranslationRepository) SearchIds

func (PropertyGroupOptionTranslationRepository) Upsert

type PropertyGroupRepository

type PropertyGroupRepository ClientService

func (PropertyGroupRepository) Delete

func (t PropertyGroupRepository) Delete(ctx ApiContext, ids []string) (*http.Response, error)

func (PropertyGroupRepository) Search

func (PropertyGroupRepository) SearchAll

func (PropertyGroupRepository) SearchIds

func (PropertyGroupRepository) Upsert

func (t PropertyGroupRepository) Upsert(ctx ApiContext, entity []PropertyGroup) (*http.Response, error)

type PropertyGroupTranslation

type PropertyGroupTranslation struct {
	CustomFields interface{} `json:"customFields,omitempty"`

	CreatedAt time.Time `json:"createdAt,omitempty"`

	UpdatedAt time.Time `json:"updatedAt,omitempty"`

	Language *Language `json:"language,omitempty"`

	Description string `json:"description,omitempty"`

	Position float64 `json:"position,omitempty"`

	LanguageId string `json:"languageId,omitempty"`

	PropertyGroup *PropertyGroup `json:"propertyGroup,omitempty"`

	Name string `json:"name,omitempty"`

	PropertyGroupId string `json:"propertyGroupId,omitempty"`
}

type PropertyGroupTranslationCollection

type PropertyGroupTranslationCollection struct {
	EntityCollection

	Data []PropertyGroupTranslation `json:"data"`
}

type PropertyGroupTranslationRepository

type PropertyGroupTranslationRepository ClientService

func (PropertyGroupTranslationRepository) Delete

func (PropertyGroupTranslationRepository) Search

func (PropertyGroupTranslationRepository) SearchAll

func (PropertyGroupTranslationRepository) SearchIds

func (PropertyGroupTranslationRepository) Upsert

type Repository

type Repository struct {
	ClientService

	CustomerWishlist *CustomerWishlistRepository

	SalesChannelAnalytics *SalesChannelAnalyticsRepository

	AppActionButton *AppActionButtonRepository

	AppFlowEvent *AppFlowEventRepository

	CustomerRecovery *CustomerRecoveryRepository

	ProductCategoryTree *ProductCategoryTreeRepository

	ProductStream *ProductStreamRepository

	App *AppRepository

	CategoryTranslation *CategoryTranslationRepository

	LandingPageTranslation *LandingPageTranslationRepository

	OrderTag *OrderTagRepository

	PromotionSetgroup *PromotionSetgroupRepository

	SalesChannelTranslation *SalesChannelTranslationRepository

	ThemeMedia *ThemeMediaRepository

	Theme *ThemeRepository

	ProductSearchConfigField *ProductSearchConfigFieldRepository

	StateMachineHistory *StateMachineHistoryRepository

	UserConfig *UserConfigRepository

	AppScriptConditionTranslation *AppScriptConditionTranslationRepository

	ProductExport *ProductExportRepository

	PromotionDiscountRule *PromotionDiscountRuleRepository

	RuleCondition *RuleConditionRepository

	TaxProviderTranslation *TaxProviderTranslationRepository

	WebhookEventLog *WebhookEventLogRepository

	CountryStateTranslation *CountryStateTranslationRepository

	MailTemplateTranslation *MailTemplateTranslationRepository

	NewsletterRecipientTag *NewsletterRecipientTagRepository

	SnippetSet *SnippetSetRepository

	UserAccessKey *UserAccessKeyRepository

	PropertyGroup *PropertyGroupRepository

	CustomerTag *CustomerTagRepository

	ImportExportProfileTranslation *ImportExportProfileTranslationRepository

	SalesChannelCountry *SalesChannelCountryRepository

	PromotionPersonaCustomer *PromotionPersonaCustomerRepository

	Version *VersionRepository

	Language *LanguageRepository

	PromotionSalesChannel *PromotionSalesChannelRepository

	Salutation *SalutationRepository

	StateMachine *StateMachineRepository

	StateMachineTranslation *StateMachineTranslationRepository

	UnitTranslation *UnitTranslationRepository

	ThemeChild *ThemeChildRepository

	AppScriptCondition *AppScriptConditionRepository

	CategoryTag *CategoryTagRepository

	LogEntry *LogEntryRepository

	MediaThumbnail *MediaThumbnailRepository

	OrderDelivery *OrderDeliveryRepository

	ShippingMethod *ShippingMethodRepository

	CmsPageTranslation *CmsPageTranslationRepository

	CmsSlot *CmsSlotRepository

	OrderTransaction *OrderTransactionRepository

	Plugin *PluginRepository

	OrderLineItemDownload *OrderLineItemDownloadRepository

	ProductOption *ProductOptionRepository

	ProductPrice *ProductPriceRepository

	ProductTranslation *ProductTranslationRepository

	TaxRuleTypeTranslation *TaxRuleTypeTranslationRepository

	ProductStreamTranslation *ProductStreamTranslationRepository

	Rule *RuleRepository

	SalesChannelLanguage *SalesChannelLanguageRepository

	PropertyGroupOption *PropertyGroupOptionRepository

	SalesChannelPaymentMethod *SalesChannelPaymentMethodRepository

	AppAdministrationSnippet *AppAdministrationSnippetRepository

	AppCmsBlockTranslation *AppCmsBlockTranslationRepository

	AppFlowActionTranslation *AppFlowActionTranslationRepository

	NumberRangeState *NumberRangeStateRepository

	PluginTranslation *PluginTranslationRepository

	PromotionOrderRule *PromotionOrderRuleRepository

	MediaThumbnailSize *MediaThumbnailSizeRepository

	ProductDownload *ProductDownloadRepository

	Tax *TaxRepository

	CustomerGroupTranslation *CustomerGroupTranslationRepository

	MailHeaderFooter *MailHeaderFooterRepository

	FlowSequence *FlowSequenceRepository

	Locale *LocaleRepository

	OrderCustomer *OrderCustomerRepository

	OrderDeliveryPosition *OrderDeliveryPositionRepository

	ProductCrossSellingTranslation *ProductCrossSellingTranslationRepository

	Media *MediaRepository

	Order *OrderRepository

	CmsPage *CmsPageRepository

	FlowTemplate *FlowTemplateRepository

	MailHeaderFooterTranslation *MailHeaderFooterTranslationRepository

	MediaFolder *MediaFolderRepository

	MediaTag *MediaTagRepository

	User *UserRepository

	Country *CountryRepository

	NumberRangeType *NumberRangeTypeRepository

	SalesChannel *SalesChannelRepository

	CustomerGroup *CustomerGroupRepository

	ProductCrossSellingAssignedProducts *ProductCrossSellingAssignedProductsRepository

	OrderLineItem *OrderLineItemRepository

	OrderTransactionCaptureRefund *OrderTransactionCaptureRefundRepository

	ProductCrossSelling *ProductCrossSellingRepository

	ProductManufacturer *ProductManufacturerRepository

	TaxProvider *TaxProviderRepository

	Flow *FlowRepository

	ImportExportProfile *ImportExportProfileRepository

	ProductVisibility *ProductVisibilityRepository

	PromotionDiscount *PromotionDiscountRepository

	ScheduledTask *ScheduledTaskRepository

	DocumentBaseConfigSalesChannel *DocumentBaseConfigSalesChannelRepository

	NumberRangeSalesChannel *NumberRangeSalesChannelRepository

	ShippingMethodTranslation *ShippingMethodTranslationRepository

	AppCmsBlock *AppCmsBlockRepository

	AppTemplate *AppTemplateRepository

	CustomFieldSet *CustomFieldSetRepository

	LandingPageSalesChannel *LandingPageSalesChannelRepository

	ProductTag *ProductTagRepository

	Script *ScriptRepository

	Customer *CustomerRepository

	SeoUrl *SeoUrlRepository

	ProductProperty *ProductPropertyRepository

	Snippet *SnippetRepository

	CurrencyCountryRounding *CurrencyCountryRoundingRepository

	MailTemplateTypeTranslation *MailTemplateTypeTranslationRepository

	TaxRule *TaxRuleRepository

	CmsSection *CmsSectionRepository

	MediaDefaultFolder *MediaDefaultFolderRepository

	MediaFolderConfiguration *MediaFolderConfigurationRepository

	MediaTranslation *MediaTranslationRepository

	ProductReview *ProductReviewRepository

	SalesChannelShippingMethod *SalesChannelShippingMethodRepository

	DeliveryTimeTranslation *DeliveryTimeTranslationRepository

	ProductConfiguratorSetting *ProductConfiguratorSettingRepository

	ProductSortingTranslation *ProductSortingTranslationRepository

	RuleTag *RuleTagRepository

	SalesChannelCurrency *SalesChannelCurrencyRepository

	DocumentBaseConfig *DocumentBaseConfigRepository

	PropertyGroupOptionTranslation *PropertyGroupOptionTranslationRepository

	CurrencyTranslation *CurrencyTranslationRepository

	LocaleTranslation *LocaleTranslationRepository

	ProductStreamFilter *ProductStreamFilterRepository

	ProductSearchKeyword *ProductSearchKeywordRepository

	StateMachineStateTranslation *StateMachineStateTranslationRepository

	ThemeTranslation *ThemeTranslationRepository

	NumberRangeTypeTranslation *NumberRangeTypeTranslationRepository

	PaymentMethodTranslation *PaymentMethodTranslationRepository

	VersionCommit *VersionCommitRepository

	Webhook *WebhookRepository

	ProductSearchConfig *ProductSearchConfigRepository

	AppActionButtonTranslation *AppActionButtonTranslationRepository

	CustomerAddress *CustomerAddressRepository

	DocumentTypeTranslation *DocumentTypeTranslationRepository

	Product *ProductRepository

	ProductCustomFieldSet *ProductCustomFieldSetRepository

	PromotionDiscountPrices *PromotionDiscountPricesRepository

	OrderTransactionCapture *OrderTransactionCaptureRepository

	PropertyGroupTranslation *PropertyGroupTranslationRepository

	CustomFieldSetRelation *CustomFieldSetRelationRepository

	CustomerGroupRegistrationSalesChannels *CustomerGroupRegistrationSalesChannelsRepository

	ProductFeatureSetTranslation *ProductFeatureSetTranslationRepository

	ShippingMethodPrice *ShippingMethodPriceRepository

	StateMachineTransition *StateMachineTransitionRepository

	ProductFeatureSet *ProductFeatureSetRepository

	DeliveryTime *DeliveryTimeRepository

	ProductKeywordDictionary *ProductKeywordDictionaryRepository

	ProductManufacturerTranslation *ProductManufacturerTranslationRepository

	PromotionCartRule *PromotionCartRuleRepository

	SalesChannelType *SalesChannelTypeRepository

	Document *DocumentRepository

	UserRecovery *UserRecoveryRepository

	PromotionPersonaRule *PromotionPersonaRuleRepository

	VersionCommitData *VersionCommitDataRepository

	AppTranslation *AppTranslationRepository

	PromotionIndividualCode *PromotionIndividualCodeRepository

	Unit *UnitRepository

	TaxRuleType *TaxRuleTypeRepository

	AclRole *AclRoleRepository

	CustomerWishlistProduct *CustomerWishlistProductRepository

	MailTemplateType *MailTemplateTypeRepository

	NumberRange *NumberRangeRepository

	NumberRangeTranslation *NumberRangeTranslationRepository

	StateMachineState *StateMachineStateRepository

	CustomField *CustomFieldRepository

	LandingPageTag *LandingPageTagRepository

	SalesChannelTypeTranslation *SalesChannelTypeTranslationRepository

	SalutationTranslation *SalutationTranslationRepository

	ShippingMethodTag *ShippingMethodTagRepository

	AppFlowAction *AppFlowActionRepository

	Integration *IntegrationRepository

	LandingPage *LandingPageRepository

	Tag *TagRepository

	AppPaymentMethod *AppPaymentMethodRepository

	CountryState *CountryStateRepository

	NewsletterRecipient *NewsletterRecipientRepository

	ProductMedia *ProductMediaRepository

	ThemeSalesChannel *ThemeSalesChannelRepository

	CountryTranslation *CountryTranslationRepository

	Currency *CurrencyRepository

	DocumentType *DocumentTypeRepository

	MainCategory *MainCategoryRepository

	ProductCategory *ProductCategoryRepository

	SystemConfig *SystemConfigRepository

	CmsBlock *CmsBlockRepository

	AclUserRole *AclUserRoleRepository

	CmsSlotTranslation *CmsSlotTranslationRepository

	SeoUrlTemplate *SeoUrlTemplateRepository

	Category *CategoryRepository

	ImportExportLog *ImportExportLogRepository

	MediaFolderConfigurationMediaThumbnailSize *MediaFolderConfigurationMediaThumbnailSizeRepository

	PaymentMethod *PaymentMethodRepository

	ProductStreamMapping *ProductStreamMappingRepository

	PromotionSetgroupRule *PromotionSetgroupRuleRepository

	AppShippingMethod *AppShippingMethodRepository

	ImportExportFile *ImportExportFileRepository

	OrderTransactionCaptureRefundPosition *OrderTransactionCaptureRefundPositionRepository

	Promotion *PromotionRepository

	SalesChannelDomain *SalesChannelDomainRepository

	IntegrationRole *IntegrationRoleRepository

	MailTemplate *MailTemplateRepository

	OrderAddress *OrderAddressRepository

	ProductSorting *ProductSortingRepository

	CustomEntity *CustomEntityRepository

	MailTemplateMedia *MailTemplateMediaRepository

	PromotionTranslation *PromotionTranslationRepository
}

func NewRepository

func NewRepository(client ClientService) Repository

type Rule

type Rule struct {
	ModuleTypes interface{} `json:"moduleTypes,omitempty"`

	PersonaPromotions []Promotion `json:"personaPromotions,omitempty"`

	Id string `json:"id,omitempty"`

	ShippingMethodPriceCalculations []ShippingMethodPrice `json:"shippingMethodPriceCalculations,omitempty"`

	Priority float64 `json:"priority,omitempty"`

	FlowSequences []FlowSequence `json:"flowSequences,omitempty"`

	ShippingMethodPrices []ShippingMethodPrice `json:"shippingMethodPrices,omitempty"`

	Invalid bool `json:"invalid,omitempty"`

	PaymentMethods []PaymentMethod `json:"paymentMethods,omitempty"`

	PromotionDiscounts []PromotionDiscount `json:"promotionDiscounts,omitempty"`

	PromotionSetGroups []PromotionSetgroup `json:"promotionSetGroups,omitempty"`

	CreatedAt time.Time `json:"createdAt,omitempty"`

	Description string `json:"description,omitempty"`

	ShippingMethods []ShippingMethod `json:"shippingMethods,omitempty"`

	Tags []Tag `json:"tags,omitempty"`

	OrderPromotions []Promotion `json:"orderPromotions,omitempty"`

	UpdatedAt time.Time `json:"updatedAt,omitempty"`

	Name string `json:"name,omitempty"`

	Areas interface{} `json:"areas,omitempty"`

	ProductPrices []ProductPrice `json:"productPrices,omitempty"`

	Conditions []RuleCondition `json:"conditions,omitempty"`

	TaxProviders []TaxProvider `json:"taxProviders,omitempty"`

	CustomFields interface{} `json:"customFields,omitempty"`

	CartPromotions []Promotion `json:"cartPromotions,omitempty"`

	Payload interface{} `json:"payload,omitempty"`
}

type RuleCollection

type RuleCollection struct {
	EntityCollection

	Data []Rule `json:"data"`
}

type RuleCondition

type RuleCondition struct {
	Value interface{} `json:"value,omitempty"`

	Rule *Rule `json:"rule,omitempty"`

	Parent *RuleCondition `json:"parent,omitempty"`

	Position float64 `json:"position,omitempty"`

	CreatedAt time.Time `json:"createdAt,omitempty"`

	Id string `json:"id,omitempty"`

	Type string `json:"type,omitempty"`

	ScriptId string `json:"scriptId,omitempty"`

	ParentId string `json:"parentId,omitempty"`

	RuleId string `json:"ruleId,omitempty"`

	Children []RuleCondition `json:"children,omitempty"`

	CustomFields interface{} `json:"customFields,omitempty"`

	AppScriptCondition *AppScriptCondition `json:"appScriptCondition,omitempty"`

	UpdatedAt time.Time `json:"updatedAt,omitempty"`
}

type RuleConditionCollection

type RuleConditionCollection struct {
	EntityCollection

	Data []RuleCondition `json:"data"`
}

type RuleConditionRepository

type RuleConditionRepository ClientService

func (RuleConditionRepository) Delete

func (t RuleConditionRepository) Delete(ctx ApiContext, ids []string) (*http.Response, error)

func (RuleConditionRepository) Search

func (RuleConditionRepository) SearchAll

func (RuleConditionRepository) SearchIds

func (RuleConditionRepository) Upsert

func (t RuleConditionRepository) Upsert(ctx ApiContext, entity []RuleCondition) (*http.Response, error)

type RuleRepository

type RuleRepository ClientService

func (RuleRepository) Delete

func (t RuleRepository) Delete(ctx ApiContext, ids []string) (*http.Response, error)

func (RuleRepository) Search

func (t RuleRepository) Search(ctx ApiContext, criteria Criteria) (*RuleCollection, *http.Response, error)

func (RuleRepository) SearchAll

func (t RuleRepository) SearchAll(ctx ApiContext, criteria Criteria) (*RuleCollection, *http.Response, error)

func (RuleRepository) SearchIds

func (t RuleRepository) SearchIds(ctx ApiContext, criteria Criteria) (*SearchIdsResponse, *http.Response, error)

func (RuleRepository) Upsert

func (t RuleRepository) Upsert(ctx ApiContext, entity []Rule) (*http.Response, error)

type RuleTag

type RuleTag struct {
	RuleId string `json:"ruleId,omitempty"`

	TagId string `json:"tagId,omitempty"`

	Rule *Rule `json:"rule,omitempty"`

	Tag *Tag `json:"tag,omitempty"`
}

type RuleTagCollection

type RuleTagCollection struct {
	EntityCollection

	Data []RuleTag `json:"data"`
}

type RuleTagRepository

type RuleTagRepository ClientService

func (RuleTagRepository) Delete

func (t RuleTagRepository) Delete(ctx ApiContext, ids []string) (*http.Response, error)

func (RuleTagRepository) Search

func (RuleTagRepository) SearchAll

func (t RuleTagRepository) SearchAll(ctx ApiContext, criteria Criteria) (*RuleTagCollection, *http.Response, error)

func (RuleTagRepository) SearchIds

func (t RuleTagRepository) SearchIds(ctx ApiContext, criteria Criteria) (*SearchIdsResponse, *http.Response, error)

func (RuleTagRepository) Upsert

func (t RuleTagRepository) Upsert(ctx ApiContext, entity []RuleTag) (*http.Response, error)

type SalesChannel

type SalesChannel struct {
	ServiceCategory *Category `json:"serviceCategory,omitempty"`

	MailHeaderFooter *MailHeaderFooter `json:"mailHeaderFooter,omitempty"`

	ShippingMethodId string `json:"shippingMethodId,omitempty"`

	ServiceCategoryId string `json:"serviceCategoryId,omitempty"`

	AccessKey string `json:"accessKey,omitempty"`

	Maintenance bool `json:"maintenance,omitempty"`

	PaymentMethods []PaymentMethod `json:"paymentMethods,omitempty"`

	HomeCmsPageId string `json:"homeCmsPageId,omitempty"`

	Wishlists []CustomerWishlist `json:"wishlists,omitempty"`

	TypeId string `json:"typeId,omitempty"`

	MailHeaderFooterId string `json:"mailHeaderFooterId,omitempty"`

	HreflangDefaultDomainId string `json:"hreflangDefaultDomainId,omitempty"`

	BoundCustomers []Customer `json:"boundCustomers,omitempty"`

	Themes []Theme `json:"themes,omitempty"`

	NavigationCategoryDepth float64 `json:"navigationCategoryDepth,omitempty"`

	ShortName string `json:"shortName,omitempty"`

	MaintenanceIpWhitelist interface{} `json:"maintenanceIpWhitelist,omitempty"`

	ShippingMethods []ShippingMethod `json:"shippingMethods,omitempty"`

	FooterCategoryId string `json:"footerCategoryId,omitempty"`

	HreflangDefaultDomain *SalesChannelDomain `json:"hreflangDefaultDomain,omitempty"`

	Currency *Currency `json:"currency,omitempty"`

	SeoUrls []SeoUrl `json:"seoUrls,omitempty"`

	Configuration interface{} `json:"configuration,omitempty"`

	Translations []SalesChannelTranslation `json:"translations,omitempty"`

	HomeMetaDescription string `json:"homeMetaDescription,omitempty"`

	CustomerGroupsRegistrations []CustomerGroup `json:"customerGroupsRegistrations,omitempty"`

	PaymentMethodId string `json:"paymentMethodId,omitempty"`

	Countries []Country `json:"countries,omitempty"`

	Country *Country `json:"country,omitempty"`

	NewsletterRecipients []NewsletterRecipient `json:"newsletterRecipients,omitempty"`

	PromotionSalesChannels []PromotionSalesChannel `json:"promotionSalesChannels,omitempty"`

	ProductExports []ProductExport `json:"productExports,omitempty"`

	Domains []SalesChannelDomain `json:"domains,omitempty"`

	ProductVisibilities []ProductVisibility `json:"productVisibilities,omitempty"`

	CustomerGroupId string `json:"customerGroupId,omitempty"`

	ServiceCategoryVersionId string `json:"serviceCategoryVersionId,omitempty"`

	Name string `json:"name,omitempty"`

	ShippingMethod *ShippingMethod `json:"shippingMethod,omitempty"`

	Orders []Order `json:"orders,omitempty"`

	Customers []Customer `json:"customers,omitempty"`

	MainCategories []MainCategory `json:"mainCategories,omitempty"`

	CreatedAt time.Time `json:"createdAt,omitempty"`

	HomeCmsPageVersionId string `json:"homeCmsPageVersionId,omitempty"`

	HomeCmsPage *CmsPage `json:"homeCmsPage,omitempty"`

	DocumentBaseConfigSalesChannels []DocumentBaseConfigSalesChannel `json:"documentBaseConfigSalesChannels,omitempty"`

	SeoUrlTemplates []SeoUrlTemplate `json:"seoUrlTemplates,omitempty"`

	FooterCategoryVersionId string `json:"footerCategoryVersionId,omitempty"`

	HreflangActive bool `json:"hreflangActive,omitempty"`

	FooterCategory *Category `json:"footerCategory,omitempty"`

	Id string `json:"id,omitempty"`

	NavigationCategoryId string `json:"navigationCategoryId,omitempty"`

	Currencies []Currency `json:"currencies,omitempty"`

	HomeSlotConfig interface{} `json:"homeSlotConfig,omitempty"`

	HomeEnabled bool `json:"homeEnabled,omitempty"`

	Analytics *SalesChannelAnalytics `json:"analytics,omitempty"`

	LanguageId string `json:"languageId,omitempty"`

	CurrencyId string `json:"currencyId,omitempty"`

	PaymentMethodIds interface{} `json:"paymentMethodIds,omitempty"`

	HomeMetaTitle string `json:"homeMetaTitle,omitempty"`

	HomeKeywords string `json:"homeKeywords,omitempty"`

	TaxCalculationType string `json:"taxCalculationType,omitempty"`

	PaymentMethod *PaymentMethod `json:"paymentMethod,omitempty"`

	NavigationCategory *Category `json:"navigationCategory,omitempty"`

	NumberRangeSalesChannels []NumberRangeSalesChannel `json:"numberRangeSalesChannels,omitempty"`

	UpdatedAt time.Time `json:"updatedAt,omitempty"`

	AnalyticsId string `json:"analyticsId,omitempty"`

	Active bool `json:"active,omitempty"`

	Languages []Language `json:"languages,omitempty"`

	Type *SalesChannelType `json:"type,omitempty"`

	Language *Language `json:"language,omitempty"`

	CustomerGroup *CustomerGroup `json:"customerGroup,omitempty"`

	Translated interface{} `json:"translated,omitempty"`

	LandingPages []LandingPage `json:"landingPages,omitempty"`

	CountryId string `json:"countryId,omitempty"`

	NavigationCategoryVersionId string `json:"navigationCategoryVersionId,omitempty"`

	CustomFields interface{} `json:"customFields,omitempty"`

	HomeName string `json:"homeName,omitempty"`

	SystemConfigs []SystemConfig `json:"systemConfigs,omitempty"`

	ProductReviews []ProductReview `json:"productReviews,omitempty"`
}

type SalesChannelAnalytics

type SalesChannelAnalytics struct {
	CreatedAt time.Time `json:"createdAt,omitempty"`

	UpdatedAt time.Time `json:"updatedAt,omitempty"`

	Id string `json:"id,omitempty"`

	TrackingId string `json:"trackingId,omitempty"`

	Active bool `json:"active,omitempty"`

	TrackOrders bool `json:"trackOrders,omitempty"`

	AnonymizeIp bool `json:"anonymizeIp,omitempty"`

	SalesChannel *SalesChannel `json:"salesChannel,omitempty"`
}

type SalesChannelAnalyticsCollection

type SalesChannelAnalyticsCollection struct {
	EntityCollection

	Data []SalesChannelAnalytics `json:"data"`
}

type SalesChannelAnalyticsRepository

type SalesChannelAnalyticsRepository ClientService

func (SalesChannelAnalyticsRepository) Delete

func (SalesChannelAnalyticsRepository) Search

func (SalesChannelAnalyticsRepository) SearchAll

func (SalesChannelAnalyticsRepository) SearchIds

func (SalesChannelAnalyticsRepository) Upsert

type SalesChannelCollection

type SalesChannelCollection struct {
	EntityCollection

	Data []SalesChannel `json:"data"`
}

type SalesChannelCountry

type SalesChannelCountry struct {
	SalesChannelId string `json:"salesChannelId,omitempty"`

	CountryId string `json:"countryId,omitempty"`

	SalesChannel *SalesChannel `json:"salesChannel,omitempty"`

	Country *Country `json:"country,omitempty"`
}

type SalesChannelCountryCollection

type SalesChannelCountryCollection struct {
	EntityCollection

	Data []SalesChannelCountry `json:"data"`
}

type SalesChannelCountryRepository

type SalesChannelCountryRepository ClientService

func (SalesChannelCountryRepository) Delete

func (SalesChannelCountryRepository) Search

func (SalesChannelCountryRepository) SearchAll

func (SalesChannelCountryRepository) SearchIds

func (SalesChannelCountryRepository) Upsert

type SalesChannelCurrency

type SalesChannelCurrency struct {
	SalesChannelId string `json:"salesChannelId,omitempty"`

	CurrencyId string `json:"currencyId,omitempty"`

	SalesChannel *SalesChannel `json:"salesChannel,omitempty"`

	Currency *Currency `json:"currency,omitempty"`
}

type SalesChannelCurrencyCollection

type SalesChannelCurrencyCollection struct {
	EntityCollection

	Data []SalesChannelCurrency `json:"data"`
}

type SalesChannelCurrencyRepository

type SalesChannelCurrencyRepository ClientService

func (SalesChannelCurrencyRepository) Delete

func (SalesChannelCurrencyRepository) Search

func (SalesChannelCurrencyRepository) SearchAll

func (SalesChannelCurrencyRepository) SearchIds

func (SalesChannelCurrencyRepository) Upsert

type SalesChannelDomain

type SalesChannelDomain struct {
	LanguageId string `json:"languageId,omitempty"`

	SalesChannelDefaultHreflang *SalesChannel `json:"salesChannelDefaultHreflang,omitempty"`

	HreflangUseOnlyLocale bool `json:"hreflangUseOnlyLocale,omitempty"`

	Currency *Currency `json:"currency,omitempty"`

	ProductExports []ProductExport `json:"productExports,omitempty"`

	Url string `json:"url,omitempty"`

	CurrencyId string `json:"currencyId,omitempty"`

	SnippetSetId string `json:"snippetSetId,omitempty"`

	SalesChannel *SalesChannel `json:"salesChannel,omitempty"`

	Language *Language `json:"language,omitempty"`

	CustomFields interface{} `json:"customFields,omitempty"`

	UpdatedAt time.Time `json:"updatedAt,omitempty"`

	Id string `json:"id,omitempty"`

	SalesChannelId string `json:"salesChannelId,omitempty"`

	SnippetSet *SnippetSet `json:"snippetSet,omitempty"`

	CreatedAt time.Time `json:"createdAt,omitempty"`
}

type SalesChannelDomainCollection

type SalesChannelDomainCollection struct {
	EntityCollection

	Data []SalesChannelDomain `json:"data"`
}

type SalesChannelDomainRepository

type SalesChannelDomainRepository ClientService

func (SalesChannelDomainRepository) Delete

func (SalesChannelDomainRepository) Search

func (SalesChannelDomainRepository) SearchAll

func (SalesChannelDomainRepository) SearchIds

func (SalesChannelDomainRepository) Upsert

type SalesChannelLanguage

type SalesChannelLanguage struct {
	SalesChannelId string `json:"salesChannelId,omitempty"`

	LanguageId string `json:"languageId,omitempty"`

	SalesChannel *SalesChannel `json:"salesChannel,omitempty"`

	Language *Language `json:"language,omitempty"`
}

type SalesChannelLanguageCollection

type SalesChannelLanguageCollection struct {
	EntityCollection

	Data []SalesChannelLanguage `json:"data"`
}

type SalesChannelLanguageRepository

type SalesChannelLanguageRepository ClientService

func (SalesChannelLanguageRepository) Delete

func (SalesChannelLanguageRepository) Search

func (SalesChannelLanguageRepository) SearchAll

func (SalesChannelLanguageRepository) SearchIds

func (SalesChannelLanguageRepository) Upsert

type SalesChannelPaymentMethod

type SalesChannelPaymentMethod struct {
	SalesChannelId string `json:"salesChannelId,omitempty"`

	PaymentMethodId string `json:"paymentMethodId,omitempty"`

	SalesChannel *SalesChannel `json:"salesChannel,omitempty"`

	PaymentMethod *PaymentMethod `json:"paymentMethod,omitempty"`
}

type SalesChannelPaymentMethodCollection

type SalesChannelPaymentMethodCollection struct {
	EntityCollection

	Data []SalesChannelPaymentMethod `json:"data"`
}

type SalesChannelPaymentMethodRepository

type SalesChannelPaymentMethodRepository ClientService

func (SalesChannelPaymentMethodRepository) Delete

func (SalesChannelPaymentMethodRepository) Search

func (SalesChannelPaymentMethodRepository) SearchAll

func (SalesChannelPaymentMethodRepository) SearchIds

func (SalesChannelPaymentMethodRepository) Upsert

type SalesChannelRepository

type SalesChannelRepository ClientService

func (SalesChannelRepository) Delete

func (t SalesChannelRepository) Delete(ctx ApiContext, ids []string) (*http.Response, error)

func (SalesChannelRepository) Search

func (SalesChannelRepository) SearchAll

func (SalesChannelRepository) SearchIds

func (SalesChannelRepository) Upsert

func (t SalesChannelRepository) Upsert(ctx ApiContext, entity []SalesChannel) (*http.Response, error)

type SalesChannelShippingMethod

type SalesChannelShippingMethod struct {
	ShippingMethod *ShippingMethod `json:"shippingMethod,omitempty"`

	SalesChannelId string `json:"salesChannelId,omitempty"`

	ShippingMethodId string `json:"shippingMethodId,omitempty"`

	SalesChannel *SalesChannel `json:"salesChannel,omitempty"`
}

type SalesChannelShippingMethodCollection

type SalesChannelShippingMethodCollection struct {
	EntityCollection

	Data []SalesChannelShippingMethod `json:"data"`
}

type SalesChannelShippingMethodRepository

type SalesChannelShippingMethodRepository ClientService

func (SalesChannelShippingMethodRepository) Delete

func (SalesChannelShippingMethodRepository) Search

func (SalesChannelShippingMethodRepository) SearchAll

func (SalesChannelShippingMethodRepository) SearchIds

func (SalesChannelShippingMethodRepository) Upsert

type SalesChannelTranslation

type SalesChannelTranslation struct {
	HomeMetaTitle string `json:"homeMetaTitle,omitempty"`

	HomeMetaDescription string `json:"homeMetaDescription,omitempty"`

	UpdatedAt time.Time `json:"updatedAt,omitempty"`

	Name string `json:"name,omitempty"`

	HomeEnabled bool `json:"homeEnabled,omitempty"`

	HomeName string `json:"homeName,omitempty"`

	CreatedAt time.Time `json:"createdAt,omitempty"`

	SalesChannelId string `json:"salesChannelId,omitempty"`

	LanguageId string `json:"languageId,omitempty"`

	HomeSlotConfig interface{} `json:"homeSlotConfig,omitempty"`

	SalesChannel *SalesChannel `json:"salesChannel,omitempty"`

	HomeKeywords string `json:"homeKeywords,omitempty"`

	CustomFields interface{} `json:"customFields,omitempty"`

	Language *Language `json:"language,omitempty"`
}

type SalesChannelTranslationCollection

type SalesChannelTranslationCollection struct {
	EntityCollection

	Data []SalesChannelTranslation `json:"data"`
}

type SalesChannelTranslationRepository

type SalesChannelTranslationRepository ClientService

func (SalesChannelTranslationRepository) Delete

func (SalesChannelTranslationRepository) Search

func (SalesChannelTranslationRepository) SearchAll

func (SalesChannelTranslationRepository) SearchIds

func (SalesChannelTranslationRepository) Upsert

type SalesChannelType

type SalesChannelType struct {
	ScreenshotUrls interface{} `json:"screenshotUrls,omitempty"`

	Name string `json:"name,omitempty"`

	Manufacturer string `json:"manufacturer,omitempty"`

	CustomFields interface{} `json:"customFields,omitempty"`

	UpdatedAt time.Time `json:"updatedAt,omitempty"`

	Translations []SalesChannelTypeTranslation `json:"translations,omitempty"`

	SalesChannels []SalesChannel `json:"salesChannels,omitempty"`

	CreatedAt time.Time `json:"createdAt,omitempty"`

	DescriptionLong string `json:"descriptionLong,omitempty"`

	Translated interface{} `json:"translated,omitempty"`

	Id string `json:"id,omitempty"`

	CoverUrl string `json:"coverUrl,omitempty"`

	IconName string `json:"iconName,omitempty"`

	Description string `json:"description,omitempty"`
}

type SalesChannelTypeCollection

type SalesChannelTypeCollection struct {
	EntityCollection

	Data []SalesChannelType `json:"data"`
}

type SalesChannelTypeRepository

type SalesChannelTypeRepository ClientService

func (SalesChannelTypeRepository) Delete

func (SalesChannelTypeRepository) Search

func (SalesChannelTypeRepository) SearchAll

func (SalesChannelTypeRepository) SearchIds

func (SalesChannelTypeRepository) Upsert

type SalesChannelTypeTranslation

type SalesChannelTypeTranslation struct {
	LanguageId string `json:"languageId,omitempty"`

	Language *Language `json:"language,omitempty"`

	Description string `json:"description,omitempty"`

	DescriptionLong string `json:"descriptionLong,omitempty"`

	CustomFields interface{} `json:"customFields,omitempty"`

	UpdatedAt time.Time `json:"updatedAt,omitempty"`

	SalesChannelTypeId string `json:"salesChannelTypeId,omitempty"`

	Name string `json:"name,omitempty"`

	Manufacturer string `json:"manufacturer,omitempty"`

	CreatedAt time.Time `json:"createdAt,omitempty"`

	SalesChannelType *SalesChannelType `json:"salesChannelType,omitempty"`
}

type SalesChannelTypeTranslationCollection

type SalesChannelTypeTranslationCollection struct {
	EntityCollection

	Data []SalesChannelTypeTranslation `json:"data"`
}

type SalesChannelTypeTranslationRepository

type SalesChannelTypeTranslationRepository ClientService

func (SalesChannelTypeTranslationRepository) Delete

func (SalesChannelTypeTranslationRepository) Search

func (SalesChannelTypeTranslationRepository) SearchAll

func (SalesChannelTypeTranslationRepository) SearchIds

func (SalesChannelTypeTranslationRepository) Upsert

type Salutation

type Salutation struct {
	Id string `json:"id,omitempty"`

	Translations []SalutationTranslation `json:"translations,omitempty"`

	CreatedAt time.Time `json:"createdAt,omitempty"`

	SalutationKey string `json:"salutationKey,omitempty"`

	DisplayName string `json:"displayName,omitempty"`

	CustomerAddresses []CustomerAddress `json:"customerAddresses,omitempty"`

	OrderCustomers []OrderCustomer `json:"orderCustomers,omitempty"`

	CustomFields interface{} `json:"customFields,omitempty"`

	NewsletterRecipients []NewsletterRecipient `json:"newsletterRecipients,omitempty"`

	Translated interface{} `json:"translated,omitempty"`

	LetterName string `json:"letterName,omitempty"`

	Customers []Customer `json:"customers,omitempty"`

	OrderAddresses []OrderAddress `json:"orderAddresses,omitempty"`

	UpdatedAt time.Time `json:"updatedAt,omitempty"`
}

type SalutationCollection

type SalutationCollection struct {
	EntityCollection

	Data []Salutation `json:"data"`
}

type SalutationRepository

type SalutationRepository ClientService

func (SalutationRepository) Delete

func (t SalutationRepository) Delete(ctx ApiContext, ids []string) (*http.Response, error)

func (SalutationRepository) Search

func (SalutationRepository) SearchAll

func (SalutationRepository) SearchIds

func (t SalutationRepository) SearchIds(ctx ApiContext, criteria Criteria) (*SearchIdsResponse, *http.Response, error)

func (SalutationRepository) Upsert

func (t SalutationRepository) Upsert(ctx ApiContext, entity []Salutation) (*http.Response, error)

type SalutationTranslation

type SalutationTranslation struct {
	LetterName string `json:"letterName,omitempty"`

	SalutationId string `json:"salutationId,omitempty"`

	Salutation *Salutation `json:"salutation,omitempty"`

	Language *Language `json:"language,omitempty"`

	DisplayName string `json:"displayName,omitempty"`

	CustomFields interface{} `json:"customFields,omitempty"`

	CreatedAt time.Time `json:"createdAt,omitempty"`

	UpdatedAt time.Time `json:"updatedAt,omitempty"`

	LanguageId string `json:"languageId,omitempty"`
}

type SalutationTranslationCollection

type SalutationTranslationCollection struct {
	EntityCollection

	Data []SalutationTranslation `json:"data"`
}

type SalutationTranslationRepository

type SalutationTranslationRepository ClientService

func (SalutationTranslationRepository) Delete

func (SalutationTranslationRepository) Search

func (SalutationTranslationRepository) SearchAll

func (SalutationTranslationRepository) SearchIds

func (SalutationTranslationRepository) Upsert

type ScheduledTask

type ScheduledTask struct {
	LastExecutionTime time.Time `json:"lastExecutionTime,omitempty"`

	NextExecutionTime time.Time `json:"nextExecutionTime,omitempty"`

	DefaultRunInterval float64 `json:"defaultRunInterval,omitempty"`

	UpdatedAt time.Time `json:"updatedAt,omitempty"`

	RunInterval float64 `json:"runInterval,omitempty"`

	Status string `json:"status,omitempty"`

	ScheduledTaskClass string `json:"scheduledTaskClass,omitempty"`

	CreatedAt time.Time `json:"createdAt,omitempty"`

	Id string `json:"id,omitempty"`

	Name string `json:"name,omitempty"`
}

type ScheduledTaskCollection

type ScheduledTaskCollection struct {
	EntityCollection

	Data []ScheduledTask `json:"data"`
}

type ScheduledTaskRepository

type ScheduledTaskRepository ClientService

func (ScheduledTaskRepository) Delete

func (t ScheduledTaskRepository) Delete(ctx ApiContext, ids []string) (*http.Response, error)

func (ScheduledTaskRepository) Search

func (ScheduledTaskRepository) SearchAll

func (ScheduledTaskRepository) SearchIds

func (ScheduledTaskRepository) Upsert

func (t ScheduledTaskRepository) Upsert(ctx ApiContext, entity []ScheduledTask) (*http.Response, error)

type Script

type Script struct {
	Hook string `json:"hook,omitempty"`

	Name string `json:"name,omitempty"`

	Active bool `json:"active,omitempty"`

	CreatedAt time.Time `json:"createdAt,omitempty"`

	Script string `json:"script,omitempty"`

	AppId string `json:"appId,omitempty"`

	App *App `json:"app,omitempty"`

	UpdatedAt time.Time `json:"updatedAt,omitempty"`

	Id string `json:"id,omitempty"`
}

type ScriptCollection

type ScriptCollection struct {
	EntityCollection

	Data []Script `json:"data"`
}

type ScriptRepository

type ScriptRepository ClientService

func (ScriptRepository) Delete

func (t ScriptRepository) Delete(ctx ApiContext, ids []string) (*http.Response, error)

func (ScriptRepository) Search

func (t ScriptRepository) Search(ctx ApiContext, criteria Criteria) (*ScriptCollection, *http.Response, error)

func (ScriptRepository) SearchAll

func (t ScriptRepository) SearchAll(ctx ApiContext, criteria Criteria) (*ScriptCollection, *http.Response, error)

func (ScriptRepository) SearchIds

func (t ScriptRepository) SearchIds(ctx ApiContext, criteria Criteria) (*SearchIdsResponse, *http.Response, error)

func (ScriptRepository) Upsert

func (t ScriptRepository) Upsert(ctx ApiContext, entity []Script) (*http.Response, error)

type SearchIdsResponse

type SearchIdsResponse struct {
	Total int      `json:"total"`
	Data  []string `json:"data"`
}

func (SearchIdsResponse) FirstId

func (s SearchIdsResponse) FirstId() string

type SeoUrl

type SeoUrl struct {
	Language *Language `json:"language,omitempty"`

	SalesChannel *SalesChannel `json:"salesChannel,omitempty"`

	ForeignKey string `json:"foreignKey,omitempty"`

	RouteName string `json:"routeName,omitempty"`

	PathInfo string `json:"pathInfo,omitempty"`

	SeoPathInfo string `json:"seoPathInfo,omitempty"`

	IsModified bool `json:"isModified,omitempty"`

	IsValid bool `json:"isValid,omitempty"`

	SalesChannelId string `json:"salesChannelId,omitempty"`

	LanguageId string `json:"languageId,omitempty"`

	UpdatedAt time.Time `json:"updatedAt,omitempty"`

	CustomFields interface{} `json:"customFields,omitempty"`

	CreatedAt time.Time `json:"createdAt,omitempty"`

	IsDeleted bool `json:"isDeleted,omitempty"`

	Url string `json:"url,omitempty"`

	Id string `json:"id,omitempty"`

	IsCanonical bool `json:"isCanonical,omitempty"`
}

type SeoUrlCollection

type SeoUrlCollection struct {
	EntityCollection

	Data []SeoUrl `json:"data"`
}

type SeoUrlRepository

type SeoUrlRepository ClientService

func (SeoUrlRepository) Delete

func (t SeoUrlRepository) Delete(ctx ApiContext, ids []string) (*http.Response, error)

func (SeoUrlRepository) Search

func (t SeoUrlRepository) Search(ctx ApiContext, criteria Criteria) (*SeoUrlCollection, *http.Response, error)

func (SeoUrlRepository) SearchAll

func (t SeoUrlRepository) SearchAll(ctx ApiContext, criteria Criteria) (*SeoUrlCollection, *http.Response, error)

func (SeoUrlRepository) SearchIds

func (t SeoUrlRepository) SearchIds(ctx ApiContext, criteria Criteria) (*SearchIdsResponse, *http.Response, error)

func (SeoUrlRepository) Upsert

func (t SeoUrlRepository) Upsert(ctx ApiContext, entity []SeoUrl) (*http.Response, error)

type SeoUrlTemplate

type SeoUrlTemplate struct {
	IsValid bool `json:"isValid,omitempty"`

	CustomFields interface{} `json:"customFields,omitempty"`

	SalesChannel *SalesChannel `json:"salesChannel,omitempty"`

	CreatedAt time.Time `json:"createdAt,omitempty"`

	UpdatedAt time.Time `json:"updatedAt,omitempty"`

	EntityName string `json:"entityName,omitempty"`

	SalesChannelId string `json:"salesChannelId,omitempty"`

	RouteName string `json:"routeName,omitempty"`

	Template string `json:"template,omitempty"`

	Id string `json:"id,omitempty"`
}

type SeoUrlTemplateCollection

type SeoUrlTemplateCollection struct {
	EntityCollection

	Data []SeoUrlTemplate `json:"data"`
}

type SeoUrlTemplateRepository

type SeoUrlTemplateRepository ClientService

func (SeoUrlTemplateRepository) Delete

func (t SeoUrlTemplateRepository) Delete(ctx ApiContext, ids []string) (*http.Response, error)

func (SeoUrlTemplateRepository) Search

func (SeoUrlTemplateRepository) SearchAll

func (SeoUrlTemplateRepository) SearchIds

func (SeoUrlTemplateRepository) Upsert

type ShippingMethod

type ShippingMethod struct {
	Description string `json:"description,omitempty"`

	Media *Media `json:"media,omitempty"`

	TechnicalName string `json:"technicalName,omitempty"`

	UpdatedAt time.Time `json:"updatedAt,omitempty"`

	Id string `json:"id,omitempty"`

	Position float64 `json:"position,omitempty"`

	Tags []Tag `json:"tags,omitempty"`

	AvailabilityRuleId string `json:"availabilityRuleId,omitempty"`

	AvailabilityRule *Rule `json:"availabilityRule,omitempty"`

	Prices []ShippingMethodPrice `json:"prices,omitempty"`

	AppShippingMethod *AppShippingMethod `json:"appShippingMethod,omitempty"`

	CustomFields interface{} `json:"customFields,omitempty"`

	SalesChannels []SalesChannel `json:"salesChannels,omitempty"`

	CreatedAt time.Time `json:"createdAt,omitempty"`

	DeliveryTimeId string `json:"deliveryTimeId,omitempty"`

	TrackingUrl string `json:"trackingUrl,omitempty"`

	OrderDeliveries []OrderDelivery `json:"orderDeliveries,omitempty"`

	Tax *Tax `json:"tax,omitempty"`

	Translated interface{} `json:"translated,omitempty"`

	Active bool `json:"active,omitempty"`

	MediaId string `json:"mediaId,omitempty"`

	TaxType string `json:"taxType,omitempty"`

	DeliveryTime *DeliveryTime `json:"deliveryTime,omitempty"`

	Name string `json:"name,omitempty"`

	TaxId string `json:"taxId,omitempty"`

	Translations []ShippingMethodTranslation `json:"translations,omitempty"`

	SalesChannelDefaultAssignments []SalesChannel `json:"salesChannelDefaultAssignments,omitempty"`
}

type ShippingMethodCollection

type ShippingMethodCollection struct {
	EntityCollection

	Data []ShippingMethod `json:"data"`
}

type ShippingMethodPrice

type ShippingMethodPrice struct {
	Calculation float64 `json:"calculation,omitempty"`

	QuantityEnd float64 `json:"quantityEnd,omitempty"`

	CustomFields interface{} `json:"customFields,omitempty"`

	Id string `json:"id,omitempty"`

	RuleId string `json:"ruleId,omitempty"`

	CreatedAt time.Time `json:"createdAt,omitempty"`

	ShippingMethodId string `json:"shippingMethodId,omitempty"`

	QuantityStart float64 `json:"quantityStart,omitempty"`

	ShippingMethod *ShippingMethod `json:"shippingMethod,omitempty"`

	CalculationRule *Rule `json:"calculationRule,omitempty"`

	CalculationRuleId string `json:"calculationRuleId,omitempty"`

	CurrencyPrice interface{} `json:"currencyPrice,omitempty"`

	Rule *Rule `json:"rule,omitempty"`

	UpdatedAt time.Time `json:"updatedAt,omitempty"`
}

type ShippingMethodPriceCollection

type ShippingMethodPriceCollection struct {
	EntityCollection

	Data []ShippingMethodPrice `json:"data"`
}

type ShippingMethodPriceRepository

type ShippingMethodPriceRepository ClientService

func (ShippingMethodPriceRepository) Delete

func (ShippingMethodPriceRepository) Search

func (ShippingMethodPriceRepository) SearchAll

func (ShippingMethodPriceRepository) SearchIds

func (ShippingMethodPriceRepository) Upsert

type ShippingMethodRepository

type ShippingMethodRepository ClientService

func (ShippingMethodRepository) Delete

func (t ShippingMethodRepository) Delete(ctx ApiContext, ids []string) (*http.Response, error)

func (ShippingMethodRepository) Search

func (ShippingMethodRepository) SearchAll

func (ShippingMethodRepository) SearchIds

func (ShippingMethodRepository) Upsert

type ShippingMethodTag

type ShippingMethodTag struct {
	ShippingMethod *ShippingMethod `json:"shippingMethod,omitempty"`

	Tag *Tag `json:"tag,omitempty"`

	ShippingMethodId string `json:"shippingMethodId,omitempty"`

	TagId string `json:"tagId,omitempty"`
}

type ShippingMethodTagCollection

type ShippingMethodTagCollection struct {
	EntityCollection

	Data []ShippingMethodTag `json:"data"`
}

type ShippingMethodTagRepository

type ShippingMethodTagRepository ClientService

func (ShippingMethodTagRepository) Delete

func (ShippingMethodTagRepository) Search

func (ShippingMethodTagRepository) SearchAll

func (ShippingMethodTagRepository) SearchIds

func (ShippingMethodTagRepository) Upsert

type ShippingMethodTranslation

type ShippingMethodTranslation struct {
	UpdatedAt time.Time `json:"updatedAt,omitempty"`

	ShippingMethod *ShippingMethod `json:"shippingMethod,omitempty"`

	Language *Language `json:"language,omitempty"`

	Name string `json:"name,omitempty"`

	Description string `json:"description,omitempty"`

	TrackingUrl string `json:"trackingUrl,omitempty"`

	LanguageId string `json:"languageId,omitempty"`

	CustomFields interface{} `json:"customFields,omitempty"`

	CreatedAt time.Time `json:"createdAt,omitempty"`

	ShippingMethodId string `json:"shippingMethodId,omitempty"`
}

type ShippingMethodTranslationCollection

type ShippingMethodTranslationCollection struct {
	EntityCollection

	Data []ShippingMethodTranslation `json:"data"`
}

type ShippingMethodTranslationRepository

type ShippingMethodTranslationRepository ClientService

func (ShippingMethodTranslationRepository) Delete

func (ShippingMethodTranslationRepository) Search

func (ShippingMethodTranslationRepository) SearchAll

func (ShippingMethodTranslationRepository) SearchIds

func (ShippingMethodTranslationRepository) Upsert

type Snippet

type Snippet struct {
	Id string `json:"id,omitempty"`

	Value string `json:"value,omitempty"`

	Author string `json:"author,omitempty"`

	Set *SnippetSet `json:"set,omitempty"`

	CreatedAt time.Time `json:"createdAt,omitempty"`

	UpdatedAt time.Time `json:"updatedAt,omitempty"`

	SetId string `json:"setId,omitempty"`

	TranslationKey string `json:"translationKey,omitempty"`

	CustomFields interface{} `json:"customFields,omitempty"`
}

type SnippetCollection

type SnippetCollection struct {
	EntityCollection

	Data []Snippet `json:"data"`
}

type SnippetRepository

type SnippetRepository ClientService

func (SnippetRepository) Delete

func (t SnippetRepository) Delete(ctx ApiContext, ids []string) (*http.Response, error)

func (SnippetRepository) Search

func (SnippetRepository) SearchAll

func (t SnippetRepository) SearchAll(ctx ApiContext, criteria Criteria) (*SnippetCollection, *http.Response, error)

func (SnippetRepository) SearchIds

func (t SnippetRepository) SearchIds(ctx ApiContext, criteria Criteria) (*SearchIdsResponse, *http.Response, error)

func (SnippetRepository) Upsert

func (t SnippetRepository) Upsert(ctx ApiContext, entity []Snippet) (*http.Response, error)

type SnippetSet

type SnippetSet struct {
	BaseFile string `json:"baseFile,omitempty"`

	Iso string `json:"iso,omitempty"`

	CreatedAt time.Time `json:"createdAt,omitempty"`

	Id string `json:"id,omitempty"`

	Name string `json:"name,omitempty"`

	CustomFields interface{} `json:"customFields,omitempty"`

	Snippets []Snippet `json:"snippets,omitempty"`

	SalesChannelDomains []SalesChannelDomain `json:"salesChannelDomains,omitempty"`

	UpdatedAt time.Time `json:"updatedAt,omitempty"`
}

type SnippetSetCollection

type SnippetSetCollection struct {
	EntityCollection

	Data []SnippetSet `json:"data"`
}

type SnippetSetRepository

type SnippetSetRepository ClientService

func (SnippetSetRepository) Delete

func (t SnippetSetRepository) Delete(ctx ApiContext, ids []string) (*http.Response, error)

func (SnippetSetRepository) Search

func (SnippetSetRepository) SearchAll

func (SnippetSetRepository) SearchIds

func (t SnippetSetRepository) SearchIds(ctx ApiContext, criteria Criteria) (*SearchIdsResponse, *http.Response, error)

func (SnippetSetRepository) Upsert

func (t SnippetSetRepository) Upsert(ctx ApiContext, entity []SnippetSet) (*http.Response, error)

type StateMachine

type StateMachine struct {
	InitialStateId string `json:"initialStateId,omitempty"`

	Translations []StateMachineTranslation `json:"translations,omitempty"`

	Name string `json:"name,omitempty"`

	TechnicalName string `json:"technicalName,omitempty"`

	CustomFields interface{} `json:"customFields,omitempty"`

	States []StateMachineState `json:"states,omitempty"`

	Transitions []StateMachineTransition `json:"transitions,omitempty"`

	HistoryEntries []StateMachineHistory `json:"historyEntries,omitempty"`

	CreatedAt time.Time `json:"createdAt,omitempty"`

	UpdatedAt time.Time `json:"updatedAt,omitempty"`

	Id string `json:"id,omitempty"`

	Translated interface{} `json:"translated,omitempty"`
}

type StateMachineCollection

type StateMachineCollection struct {
	EntityCollection

	Data []StateMachine `json:"data"`
}

type StateMachineHistory

type StateMachineHistory struct {
	Id string `json:"id,omitempty"`

	FromStateId string `json:"fromStateId,omitempty"`

	ToStateId string `json:"toStateId,omitempty"`

	UpdatedAt time.Time `json:"updatedAt,omitempty"`

	User *User `json:"user,omitempty"`

	CreatedAt time.Time `json:"createdAt,omitempty"`

	ToStateMachineState *StateMachineState `json:"toStateMachineState,omitempty"`

	ReferencedVersionId string `json:"referencedVersionId,omitempty"`

	UserId string `json:"userId,omitempty"`

	ReferencedId string `json:"referencedId,omitempty"`

	StateMachineId string `json:"stateMachineId,omitempty"`

	StateMachine *StateMachine `json:"stateMachine,omitempty"`

	EntityName string `json:"entityName,omitempty"`

	FromStateMachineState *StateMachineState `json:"fromStateMachineState,omitempty"`

	TransitionActionName string `json:"transitionActionName,omitempty"`
}

type StateMachineHistoryCollection

type StateMachineHistoryCollection struct {
	EntityCollection

	Data []StateMachineHistory `json:"data"`
}

type StateMachineHistoryRepository

type StateMachineHistoryRepository ClientService

func (StateMachineHistoryRepository) Delete

func (StateMachineHistoryRepository) Search

func (StateMachineHistoryRepository) SearchAll

func (StateMachineHistoryRepository) SearchIds

func (StateMachineHistoryRepository) Upsert

type StateMachineRepository

type StateMachineRepository ClientService

func (StateMachineRepository) Delete

func (t StateMachineRepository) Delete(ctx ApiContext, ids []string) (*http.Response, error)

func (StateMachineRepository) Search

func (StateMachineRepository) SearchAll

func (StateMachineRepository) SearchIds

func (StateMachineRepository) Upsert

func (t StateMachineRepository) Upsert(ctx ApiContext, entity []StateMachine) (*http.Response, error)

type StateMachineState

type StateMachineState struct {
	Name string `json:"name,omitempty"`

	StateMachine *StateMachine `json:"stateMachine,omitempty"`

	ToStateMachineTransitions []StateMachineTransition `json:"toStateMachineTransitions,omitempty"`

	OrderTransactionCaptures []OrderTransactionCapture `json:"orderTransactionCaptures,omitempty"`

	OrderTransactionCaptureRefunds []OrderTransactionCaptureRefund `json:"orderTransactionCaptureRefunds,omitempty"`

	ToStateMachineHistoryEntries []StateMachineHistory `json:"toStateMachineHistoryEntries,omitempty"`

	Orders []Order `json:"orders,omitempty"`

	CustomFields interface{} `json:"customFields,omitempty"`

	CreatedAt time.Time `json:"createdAt,omitempty"`

	Id string `json:"id,omitempty"`

	StateMachineId string `json:"stateMachineId,omitempty"`

	FromStateMachineTransitions []StateMachineTransition `json:"fromStateMachineTransitions,omitempty"`

	Translations []StateMachineStateTranslation `json:"translations,omitempty"`

	OrderDeliveries []OrderDelivery `json:"orderDeliveries,omitempty"`

	TechnicalName string `json:"technicalName,omitempty"`

	OrderTransactions []OrderTransaction `json:"orderTransactions,omitempty"`

	FromStateMachineHistoryEntries []StateMachineHistory `json:"fromStateMachineHistoryEntries,omitempty"`

	UpdatedAt time.Time `json:"updatedAt,omitempty"`

	Translated interface{} `json:"translated,omitempty"`
}

type StateMachineStateCollection

type StateMachineStateCollection struct {
	EntityCollection

	Data []StateMachineState `json:"data"`
}

type StateMachineStateRepository

type StateMachineStateRepository ClientService

func (StateMachineStateRepository) Delete

func (StateMachineStateRepository) Search

func (StateMachineStateRepository) SearchAll

func (StateMachineStateRepository) SearchIds

func (StateMachineStateRepository) Upsert

type StateMachineStateTranslation

type StateMachineStateTranslation struct {
	StateMachineStateId string `json:"stateMachineStateId,omitempty"`

	LanguageId string `json:"languageId,omitempty"`

	StateMachineState *StateMachineState `json:"stateMachineState,omitempty"`

	Language *Language `json:"language,omitempty"`

	Name string `json:"name,omitempty"`

	CustomFields interface{} `json:"customFields,omitempty"`

	CreatedAt time.Time `json:"createdAt,omitempty"`

	UpdatedAt time.Time `json:"updatedAt,omitempty"`
}

type StateMachineStateTranslationCollection

type StateMachineStateTranslationCollection struct {
	EntityCollection

	Data []StateMachineStateTranslation `json:"data"`
}

type StateMachineStateTranslationRepository

type StateMachineStateTranslationRepository ClientService

func (StateMachineStateTranslationRepository) Delete

func (StateMachineStateTranslationRepository) Search

func (StateMachineStateTranslationRepository) SearchAll

func (StateMachineStateTranslationRepository) SearchIds

func (StateMachineStateTranslationRepository) Upsert

type StateMachineTransition

type StateMachineTransition struct {
	StateMachine *StateMachine `json:"stateMachine,omitempty"`

	FromStateId string `json:"fromStateId,omitempty"`

	ToStateId string `json:"toStateId,omitempty"`

	ToStateMachineState *StateMachineState `json:"toStateMachineState,omitempty"`

	CustomFields interface{} `json:"customFields,omitempty"`

	CreatedAt time.Time `json:"createdAt,omitempty"`

	Id string `json:"id,omitempty"`

	ActionName string `json:"actionName,omitempty"`

	UpdatedAt time.Time `json:"updatedAt,omitempty"`

	StateMachineId string `json:"stateMachineId,omitempty"`

	FromStateMachineState *StateMachineState `json:"fromStateMachineState,omitempty"`
}

type StateMachineTransitionCollection

type StateMachineTransitionCollection struct {
	EntityCollection

	Data []StateMachineTransition `json:"data"`
}

type StateMachineTransitionRepository

type StateMachineTransitionRepository ClientService

func (StateMachineTransitionRepository) Delete

func (StateMachineTransitionRepository) Search

func (StateMachineTransitionRepository) SearchAll

func (StateMachineTransitionRepository) SearchIds

func (StateMachineTransitionRepository) Upsert

type StateMachineTranslation

type StateMachineTranslation struct {
	CreatedAt time.Time `json:"createdAt,omitempty"`

	UpdatedAt time.Time `json:"updatedAt,omitempty"`

	StateMachineId string `json:"stateMachineId,omitempty"`

	LanguageId string `json:"languageId,omitempty"`

	StateMachine *StateMachine `json:"stateMachine,omitempty"`

	Language *Language `json:"language,omitempty"`

	Name string `json:"name,omitempty"`

	CustomFields interface{} `json:"customFields,omitempty"`
}

type StateMachineTranslationCollection

type StateMachineTranslationCollection struct {
	EntityCollection

	Data []StateMachineTranslation `json:"data"`
}

type StateMachineTranslationRepository

type StateMachineTranslationRepository ClientService

func (StateMachineTranslationRepository) Delete

func (StateMachineTranslationRepository) Search

func (StateMachineTranslationRepository) SearchAll

func (StateMachineTranslationRepository) SearchIds

func (StateMachineTranslationRepository) Upsert

type SyncOperation

type SyncOperation struct {
	Entity  string      `json:"entity"`
	Action  string      `json:"action"`
	Payload interface{} `json:"payload"`
}

type SystemConfig

type SystemConfig struct {
	CreatedAt time.Time `json:"createdAt,omitempty"`

	UpdatedAt time.Time `json:"updatedAt,omitempty"`

	Id string `json:"id,omitempty"`

	ConfigurationKey string `json:"configurationKey,omitempty"`

	ConfigurationValue interface{} `json:"configurationValue,omitempty"`

	SalesChannelId string `json:"salesChannelId,omitempty"`

	SalesChannel *SalesChannel `json:"salesChannel,omitempty"`
}

type SystemConfigCollection

type SystemConfigCollection struct {
	EntityCollection

	Data []SystemConfig `json:"data"`
}

type SystemConfigRepository

type SystemConfigRepository ClientService

func (SystemConfigRepository) Delete

func (t SystemConfigRepository) Delete(ctx ApiContext, ids []string) (*http.Response, error)

func (SystemConfigRepository) Search

func (SystemConfigRepository) SearchAll

func (SystemConfigRepository) SearchIds

func (SystemConfigRepository) Upsert

func (t SystemConfigRepository) Upsert(ctx ApiContext, entity []SystemConfig) (*http.Response, error)

type SystemConfigService

type SystemConfigService ClientService

func (SystemConfigService) UpdateConfig

func (c SystemConfigService) UpdateConfig(ctx ApiContext, payload string) (*http.Response, error)

type Tag

type Tag struct {
	Products []Product `json:"products,omitempty"`

	Categories []Category `json:"categories,omitempty"`

	Orders []Order `json:"orders,omitempty"`

	ShippingMethods []ShippingMethod `json:"shippingMethods,omitempty"`

	LandingPages []LandingPage `json:"landingPages,omitempty"`

	Rules []Rule `json:"rules,omitempty"`

	Id string `json:"id,omitempty"`

	Media []Media `json:"media,omitempty"`

	CreatedAt time.Time `json:"createdAt,omitempty"`

	Name string `json:"name,omitempty"`

	Customers []Customer `json:"customers,omitempty"`

	NewsletterRecipients []NewsletterRecipient `json:"newsletterRecipients,omitempty"`

	UpdatedAt time.Time `json:"updatedAt,omitempty"`
}

type TagCollection

type TagCollection struct {
	EntityCollection

	Data []Tag `json:"data"`
}

type TagRepository

type TagRepository ClientService

func (TagRepository) Delete

func (t TagRepository) Delete(ctx ApiContext, ids []string) (*http.Response, error)

func (TagRepository) Search

func (t TagRepository) Search(ctx ApiContext, criteria Criteria) (*TagCollection, *http.Response, error)

func (TagRepository) SearchAll

func (t TagRepository) SearchAll(ctx ApiContext, criteria Criteria) (*TagCollection, *http.Response, error)

func (TagRepository) SearchIds

func (t TagRepository) SearchIds(ctx ApiContext, criteria Criteria) (*SearchIdsResponse, *http.Response, error)

func (TagRepository) Upsert

func (t TagRepository) Upsert(ctx ApiContext, entity []Tag) (*http.Response, error)

type Tax

type Tax struct {
	Id string `json:"id,omitempty"`

	TaxRate float64 `json:"taxRate,omitempty"`

	Position float64 `json:"position,omitempty"`

	Rules []TaxRule `json:"rules,omitempty"`

	UpdatedAt time.Time `json:"updatedAt,omitempty"`

	Name string `json:"name,omitempty"`

	CustomFields interface{} `json:"customFields,omitempty"`

	Products []Product `json:"products,omitempty"`

	ShippingMethods []ShippingMethod `json:"shippingMethods,omitempty"`

	CreatedAt time.Time `json:"createdAt,omitempty"`
}

type TaxCollection

type TaxCollection struct {
	EntityCollection

	Data []Tax `json:"data"`
}

type TaxProvider

type TaxProvider struct {
	Id string `json:"id,omitempty"`

	Priority float64 `json:"priority,omitempty"`

	Name string `json:"name,omitempty"`

	AppId string `json:"appId,omitempty"`

	CreatedAt time.Time `json:"createdAt,omitempty"`

	UpdatedAt time.Time `json:"updatedAt,omitempty"`

	App *App `json:"app,omitempty"`

	Identifier string `json:"identifier,omitempty"`

	Active bool `json:"active,omitempty"`

	ProcessUrl string `json:"processUrl,omitempty"`

	AvailabilityRuleId string `json:"availabilityRuleId,omitempty"`

	CustomFields interface{} `json:"customFields,omitempty"`

	Translations []TaxProviderTranslation `json:"translations,omitempty"`

	AvailabilityRule *Rule `json:"availabilityRule,omitempty"`

	Translated interface{} `json:"translated,omitempty"`
}

type TaxProviderCollection

type TaxProviderCollection struct {
	EntityCollection

	Data []TaxProvider `json:"data"`
}

type TaxProviderRepository

type TaxProviderRepository ClientService

func (TaxProviderRepository) Delete

func (t TaxProviderRepository) Delete(ctx ApiContext, ids []string) (*http.Response, error)

func (TaxProviderRepository) Search

func (TaxProviderRepository) SearchAll

func (TaxProviderRepository) SearchIds

func (TaxProviderRepository) Upsert

func (t TaxProviderRepository) Upsert(ctx ApiContext, entity []TaxProvider) (*http.Response, error)

type TaxProviderTranslation

type TaxProviderTranslation struct {
	Name string `json:"name,omitempty"`

	CustomFields interface{} `json:"customFields,omitempty"`

	CreatedAt time.Time `json:"createdAt,omitempty"`

	UpdatedAt time.Time `json:"updatedAt,omitempty"`

	TaxProviderId string `json:"taxProviderId,omitempty"`

	LanguageId string `json:"languageId,omitempty"`

	TaxProvider *TaxProvider `json:"taxProvider,omitempty"`

	Language *Language `json:"language,omitempty"`
}

type TaxProviderTranslationCollection

type TaxProviderTranslationCollection struct {
	EntityCollection

	Data []TaxProviderTranslation `json:"data"`
}

type TaxProviderTranslationRepository

type TaxProviderTranslationRepository ClientService

func (TaxProviderTranslationRepository) Delete

func (TaxProviderTranslationRepository) Search

func (TaxProviderTranslationRepository) SearchAll

func (TaxProviderTranslationRepository) SearchIds

func (TaxProviderTranslationRepository) Upsert

type TaxRepository

type TaxRepository ClientService

func (TaxRepository) Delete

func (t TaxRepository) Delete(ctx ApiContext, ids []string) (*http.Response, error)

func (TaxRepository) Search

func (t TaxRepository) Search(ctx ApiContext, criteria Criteria) (*TaxCollection, *http.Response, error)

func (TaxRepository) SearchAll

func (t TaxRepository) SearchAll(ctx ApiContext, criteria Criteria) (*TaxCollection, *http.Response, error)

func (TaxRepository) SearchIds

func (t TaxRepository) SearchIds(ctx ApiContext, criteria Criteria) (*SearchIdsResponse, *http.Response, error)

func (TaxRepository) Upsert

func (t TaxRepository) Upsert(ctx ApiContext, entity []Tax) (*http.Response, error)

type TaxRule

type TaxRule struct {
	CountryId string `json:"countryId,omitempty"`

	TaxRate float64 `json:"taxRate,omitempty"`

	Data interface{} `json:"data,omitempty"`

	TaxId string `json:"taxId,omitempty"`

	ActiveFrom time.Time `json:"activeFrom,omitempty"`

	Type *TaxRuleType `json:"type,omitempty"`

	UpdatedAt time.Time `json:"updatedAt,omitempty"`

	Id string `json:"id,omitempty"`

	TaxRuleTypeId string `json:"taxRuleTypeId,omitempty"`

	Country *Country `json:"country,omitempty"`

	Tax *Tax `json:"tax,omitempty"`

	CreatedAt time.Time `json:"createdAt,omitempty"`
}

type TaxRuleCollection

type TaxRuleCollection struct {
	EntityCollection

	Data []TaxRule `json:"data"`
}

type TaxRuleRepository

type TaxRuleRepository ClientService

func (TaxRuleRepository) Delete

func (t TaxRuleRepository) Delete(ctx ApiContext, ids []string) (*http.Response, error)

func (TaxRuleRepository) Search

func (TaxRuleRepository) SearchAll

func (t TaxRuleRepository) SearchAll(ctx ApiContext, criteria Criteria) (*TaxRuleCollection, *http.Response, error)

func (TaxRuleRepository) SearchIds

func (t TaxRuleRepository) SearchIds(ctx ApiContext, criteria Criteria) (*SearchIdsResponse, *http.Response, error)

func (TaxRuleRepository) Upsert

func (t TaxRuleRepository) Upsert(ctx ApiContext, entity []TaxRule) (*http.Response, error)

type TaxRuleType

type TaxRuleType struct {
	Id string `json:"id,omitempty"`

	Translations []TaxRuleTypeTranslation `json:"translations,omitempty"`

	CreatedAt time.Time `json:"createdAt,omitempty"`

	Translated interface{} `json:"translated,omitempty"`

	TechnicalName string `json:"technicalName,omitempty"`

	Position float64 `json:"position,omitempty"`

	TypeName string `json:"typeName,omitempty"`

	Rules []TaxRule `json:"rules,omitempty"`

	UpdatedAt time.Time `json:"updatedAt,omitempty"`
}

type TaxRuleTypeCollection

type TaxRuleTypeCollection struct {
	EntityCollection

	Data []TaxRuleType `json:"data"`
}

type TaxRuleTypeRepository

type TaxRuleTypeRepository ClientService

func (TaxRuleTypeRepository) Delete

func (t TaxRuleTypeRepository) Delete(ctx ApiContext, ids []string) (*http.Response, error)

func (TaxRuleTypeRepository) Search

func (TaxRuleTypeRepository) SearchAll

func (TaxRuleTypeRepository) SearchIds

func (TaxRuleTypeRepository) Upsert

func (t TaxRuleTypeRepository) Upsert(ctx ApiContext, entity []TaxRuleType) (*http.Response, error)

type TaxRuleTypeTranslation

type TaxRuleTypeTranslation struct {
	TaxRuleTypeId string `json:"taxRuleTypeId,omitempty"`

	LanguageId string `json:"languageId,omitempty"`

	TaxRuleType *TaxRuleType `json:"taxRuleType,omitempty"`

	Language *Language `json:"language,omitempty"`

	TypeName string `json:"typeName,omitempty"`

	CreatedAt time.Time `json:"createdAt,omitempty"`

	UpdatedAt time.Time `json:"updatedAt,omitempty"`
}

type TaxRuleTypeTranslationCollection

type TaxRuleTypeTranslationCollection struct {
	EntityCollection

	Data []TaxRuleTypeTranslation `json:"data"`
}

type TaxRuleTypeTranslationRepository

type TaxRuleTypeTranslationRepository ClientService

func (TaxRuleTypeTranslationRepository) Delete

func (TaxRuleTypeTranslationRepository) Search

func (TaxRuleTypeTranslationRepository) SearchAll

func (TaxRuleTypeTranslationRepository) SearchIds

func (TaxRuleTypeTranslationRepository) Upsert

type Theme

type Theme struct {
	Name string `json:"name,omitempty"`

	Author string `json:"author,omitempty"`

	ThemeJson interface{} `json:"themeJson,omitempty"`

	Active bool `json:"active,omitempty"`

	CreatedAt time.Time `json:"createdAt,omitempty"`

	CustomFields interface{} `json:"customFields,omitempty"`

	ParentThemeId string `json:"parentThemeId,omitempty"`

	ConfigValues interface{} `json:"configValues,omitempty"`

	Media []Media `json:"media,omitempty"`

	UpdatedAt time.Time `json:"updatedAt,omitempty"`

	Id string `json:"id,omitempty"`

	BaseConfig interface{} `json:"baseConfig,omitempty"`

	DependentThemes []Theme `json:"dependentThemes,omitempty"`

	Translated interface{} `json:"translated,omitempty"`

	Translations []ThemeTranslation `json:"translations,omitempty"`

	SalesChannels []SalesChannel `json:"salesChannels,omitempty"`

	PreviewMedia *Media `json:"previewMedia,omitempty"`

	TechnicalName string `json:"technicalName,omitempty"`

	Description string `json:"description,omitempty"`

	Labels interface{} `json:"labels,omitempty"`

	HelpTexts interface{} `json:"helpTexts,omitempty"`

	PreviewMediaId string `json:"previewMediaId,omitempty"`
}

type ThemeChild

type ThemeChild struct {
	ChildId string `json:"childId,omitempty"`

	ParentTheme *Theme `json:"parentTheme,omitempty"`

	ChildTheme *Theme `json:"childTheme,omitempty"`

	ParentId string `json:"parentId,omitempty"`
}

type ThemeChildCollection

type ThemeChildCollection struct {
	EntityCollection

	Data []ThemeChild `json:"data"`
}

type ThemeChildRepository

type ThemeChildRepository ClientService

func (ThemeChildRepository) Delete

func (t ThemeChildRepository) Delete(ctx ApiContext, ids []string) (*http.Response, error)

func (ThemeChildRepository) Search

func (ThemeChildRepository) SearchAll

func (ThemeChildRepository) SearchIds

func (t ThemeChildRepository) SearchIds(ctx ApiContext, criteria Criteria) (*SearchIdsResponse, *http.Response, error)

func (ThemeChildRepository) Upsert

func (t ThemeChildRepository) Upsert(ctx ApiContext, entity []ThemeChild) (*http.Response, error)

type ThemeCollection

type ThemeCollection struct {
	EntityCollection

	Data []Theme `json:"data"`
}

type ThemeConfigValue

type ThemeConfigValue struct {
	Value interface{} `yaml:"value" json:"value"`
}

type ThemeConfiguration

type ThemeConfiguration struct {
	CurrentFields *map[string]ThemeConfigValue `json:"currentFields"`
	Fields        map[string]ThemeConfigValue  `json:"fields"`
}

type ThemeManagerService

type ThemeManagerService ClientService

func (ThemeManagerService) GetConfiguration

func (m ThemeManagerService) GetConfiguration(ctx ApiContext, themeId string) (*ThemeConfiguration, *http.Response, error)

func (ThemeManagerService) UpdateConfiguration

func (m ThemeManagerService) UpdateConfiguration(ctx ApiContext, themeId string, update ThemeUpdateRequest) (*http.Response, error)

type ThemeMedia

type ThemeMedia struct {
	ThemeId string `json:"themeId,omitempty"`

	MediaId string `json:"mediaId,omitempty"`

	Theme *Theme `json:"theme,omitempty"`

	Media *Media `json:"media,omitempty"`
}

type ThemeMediaCollection

type ThemeMediaCollection struct {
	EntityCollection

	Data []ThemeMedia `json:"data"`
}

type ThemeMediaRepository

type ThemeMediaRepository ClientService

func (ThemeMediaRepository) Delete

func (t ThemeMediaRepository) Delete(ctx ApiContext, ids []string) (*http.Response, error)

func (ThemeMediaRepository) Search

func (ThemeMediaRepository) SearchAll

func (ThemeMediaRepository) SearchIds

func (t ThemeMediaRepository) SearchIds(ctx ApiContext, criteria Criteria) (*SearchIdsResponse, *http.Response, error)

func (ThemeMediaRepository) Upsert

func (t ThemeMediaRepository) Upsert(ctx ApiContext, entity []ThemeMedia) (*http.Response, error)

type ThemeRepository

type ThemeRepository ClientService

func (ThemeRepository) Delete

func (t ThemeRepository) Delete(ctx ApiContext, ids []string) (*http.Response, error)

func (ThemeRepository) Search

func (t ThemeRepository) Search(ctx ApiContext, criteria Criteria) (*ThemeCollection, *http.Response, error)

func (ThemeRepository) SearchAll

func (t ThemeRepository) SearchAll(ctx ApiContext, criteria Criteria) (*ThemeCollection, *http.Response, error)

func (ThemeRepository) SearchIds

func (t ThemeRepository) SearchIds(ctx ApiContext, criteria Criteria) (*SearchIdsResponse, *http.Response, error)

func (ThemeRepository) Upsert

func (t ThemeRepository) Upsert(ctx ApiContext, entity []Theme) (*http.Response, error)

type ThemeSalesChannel

type ThemeSalesChannel struct {
	SalesChannel *SalesChannel `json:"salesChannel,omitempty"`

	SalesChannelId string `json:"salesChannelId,omitempty"`

	ThemeId string `json:"themeId,omitempty"`

	Theme *Theme `json:"theme,omitempty"`
}

type ThemeSalesChannelCollection

type ThemeSalesChannelCollection struct {
	EntityCollection

	Data []ThemeSalesChannel `json:"data"`
}

type ThemeSalesChannelRepository

type ThemeSalesChannelRepository ClientService

func (ThemeSalesChannelRepository) Delete

func (ThemeSalesChannelRepository) Search

func (ThemeSalesChannelRepository) SearchAll

func (ThemeSalesChannelRepository) SearchIds

func (ThemeSalesChannelRepository) Upsert

type ThemeTranslation

type ThemeTranslation struct {
	ThemeId string `json:"themeId,omitempty"`

	LanguageId string `json:"languageId,omitempty"`

	Theme *Theme `json:"theme,omitempty"`

	Language *Language `json:"language,omitempty"`

	Description string `json:"description,omitempty"`

	HelpTexts interface{} `json:"helpTexts,omitempty"`

	CustomFields interface{} `json:"customFields,omitempty"`

	UpdatedAt time.Time `json:"updatedAt,omitempty"`

	Labels interface{} `json:"labels,omitempty"`

	CreatedAt time.Time `json:"createdAt,omitempty"`
}

type ThemeTranslationCollection

type ThemeTranslationCollection struct {
	EntityCollection

	Data []ThemeTranslation `json:"data"`
}

type ThemeTranslationRepository

type ThemeTranslationRepository ClientService

func (ThemeTranslationRepository) Delete

func (ThemeTranslationRepository) Search

func (ThemeTranslationRepository) SearchAll

func (ThemeTranslationRepository) SearchIds

func (ThemeTranslationRepository) Upsert

type ThemeUpdateRequest

type ThemeUpdateRequest struct {
	Config map[string]ThemeConfigValue `json:"config"`
}

type Unit

type Unit struct {
	Id string `json:"id,omitempty"`

	Name string `json:"name,omitempty"`

	CustomFields interface{} `json:"customFields,omitempty"`

	Products []Product `json:"products,omitempty"`

	Translations []UnitTranslation `json:"translations,omitempty"`

	CreatedAt time.Time `json:"createdAt,omitempty"`

	ShortCode string `json:"shortCode,omitempty"`

	UpdatedAt time.Time `json:"updatedAt,omitempty"`

	Translated interface{} `json:"translated,omitempty"`
}

type UnitCollection

type UnitCollection struct {
	EntityCollection

	Data []Unit `json:"data"`
}

type UnitRepository

type UnitRepository ClientService

func (UnitRepository) Delete

func (t UnitRepository) Delete(ctx ApiContext, ids []string) (*http.Response, error)

func (UnitRepository) Search

func (t UnitRepository) Search(ctx ApiContext, criteria Criteria) (*UnitCollection, *http.Response, error)

func (UnitRepository) SearchAll

func (t UnitRepository) SearchAll(ctx ApiContext, criteria Criteria) (*UnitCollection, *http.Response, error)

func (UnitRepository) SearchIds

func (t UnitRepository) SearchIds(ctx ApiContext, criteria Criteria) (*SearchIdsResponse, *http.Response, error)

func (UnitRepository) Upsert

func (t UnitRepository) Upsert(ctx ApiContext, entity []Unit) (*http.Response, error)

type UnitTranslation

type UnitTranslation struct {
	CustomFields interface{} `json:"customFields,omitempty"`

	CreatedAt time.Time `json:"createdAt,omitempty"`

	UnitId string `json:"unitId,omitempty"`

	Unit *Unit `json:"unit,omitempty"`

	Language *Language `json:"language,omitempty"`

	ShortCode string `json:"shortCode,omitempty"`

	Name string `json:"name,omitempty"`

	UpdatedAt time.Time `json:"updatedAt,omitempty"`

	LanguageId string `json:"languageId,omitempty"`
}

type UnitTranslationCollection

type UnitTranslationCollection struct {
	EntityCollection

	Data []UnitTranslation `json:"data"`
}

type UnitTranslationRepository

type UnitTranslationRepository ClientService

func (UnitTranslationRepository) Delete

func (t UnitTranslationRepository) Delete(ctx ApiContext, ids []string) (*http.Response, error)

func (UnitTranslationRepository) Search

func (UnitTranslationRepository) SearchAll

func (UnitTranslationRepository) SearchIds

func (UnitTranslationRepository) Upsert

type User

type User struct {
	Id string `json:"id,omitempty"`

	TimeZone string `json:"timeZone,omitempty"`

	AvatarMedia *Media `json:"avatarMedia,omitempty"`

	CreatedOrders []Order `json:"createdOrders,omitempty"`

	UpdatedOrders []Order `json:"updatedOrders,omitempty"`

	CreatedAt time.Time `json:"createdAt,omitempty"`

	UpdatedAt time.Time `json:"updatedAt,omitempty"`

	Title string `json:"title,omitempty"`

	Email string `json:"email,omitempty"`

	ImportExportLogEntries []ImportExportLog `json:"importExportLogEntries,omitempty"`

	CreatedCustomers []Customer `json:"createdCustomers,omitempty"`

	Admin bool `json:"admin,omitempty"`

	LastUpdatedPasswordAt time.Time `json:"lastUpdatedPasswordAt,omitempty"`

	StoreToken string `json:"storeToken,omitempty"`

	LocaleId string `json:"localeId,omitempty"`

	Username string `json:"username,omitempty"`

	FirstName string `json:"firstName,omitempty"`

	Active bool `json:"active,omitempty"`

	CustomFields interface{} `json:"customFields,omitempty"`

	AvatarId string `json:"avatarId,omitempty"`

	Media []Media `json:"media,omitempty"`

	AccessKeys []UserAccessKey `json:"accessKeys,omitempty"`

	RecoveryUser *UserRecovery `json:"recoveryUser,omitempty"`

	UpdatedCustomers []Customer `json:"updatedCustomers,omitempty"`

	CreatedNotifications []Notification `json:"createdNotifications,omitempty"`

	Password interface{} `json:"password,omitempty"`

	Configs []UserConfig `json:"configs,omitempty"`

	AclRoles []AclRole `json:"aclRoles,omitempty"`

	LastName string `json:"lastName,omitempty"`

	Locale *Locale `json:"locale,omitempty"`

	StateMachineHistoryEntries []StateMachineHistory `json:"stateMachineHistoryEntries,omitempty"`
}

type UserAccessKey

type UserAccessKey struct {
	Id string `json:"id,omitempty"`

	AccessKey string `json:"accessKey,omitempty"`

	SecretAccessKey interface{} `json:"secretAccessKey,omitempty"`

	CustomFields interface{} `json:"customFields,omitempty"`

	CreatedAt time.Time `json:"createdAt,omitempty"`

	UserId string `json:"userId,omitempty"`

	LastUsageAt time.Time `json:"lastUsageAt,omitempty"`

	User *User `json:"user,omitempty"`

	UpdatedAt time.Time `json:"updatedAt,omitempty"`
}

type UserAccessKeyCollection

type UserAccessKeyCollection struct {
	EntityCollection

	Data []UserAccessKey `json:"data"`
}

type UserAccessKeyRepository

type UserAccessKeyRepository ClientService

func (UserAccessKeyRepository) Delete

func (t UserAccessKeyRepository) Delete(ctx ApiContext, ids []string) (*http.Response, error)

func (UserAccessKeyRepository) Search

func (UserAccessKeyRepository) SearchAll

func (UserAccessKeyRepository) SearchIds

func (UserAccessKeyRepository) Upsert

func (t UserAccessKeyRepository) Upsert(ctx ApiContext, entity []UserAccessKey) (*http.Response, error)

type UserCollection

type UserCollection struct {
	EntityCollection

	Data []User `json:"data"`
}

type UserConfig

type UserConfig struct {
	Id string `json:"id,omitempty"`

	UserId string `json:"userId,omitempty"`

	Key string `json:"key,omitempty"`

	Value interface{} `json:"value,omitempty"`

	User *User `json:"user,omitempty"`

	CreatedAt time.Time `json:"createdAt,omitempty"`

	UpdatedAt time.Time `json:"updatedAt,omitempty"`
}

type UserConfigCollection

type UserConfigCollection struct {
	EntityCollection

	Data []UserConfig `json:"data"`
}

type UserConfigRepository

type UserConfigRepository ClientService

func (UserConfigRepository) Delete

func (t UserConfigRepository) Delete(ctx ApiContext, ids []string) (*http.Response, error)

func (UserConfigRepository) Search

func (UserConfigRepository) SearchAll

func (UserConfigRepository) SearchIds

func (t UserConfigRepository) SearchIds(ctx ApiContext, criteria Criteria) (*SearchIdsResponse, *http.Response, error)

func (UserConfigRepository) Upsert

func (t UserConfigRepository) Upsert(ctx ApiContext, entity []UserConfig) (*http.Response, error)

type UserRecovery

type UserRecovery struct {
	UserId string `json:"userId,omitempty"`

	CreatedAt time.Time `json:"createdAt,omitempty"`

	User *User `json:"user,omitempty"`

	UpdatedAt time.Time `json:"updatedAt,omitempty"`

	Id string `json:"id,omitempty"`

	Hash string `json:"hash,omitempty"`
}

type UserRecoveryCollection

type UserRecoveryCollection struct {
	EntityCollection

	Data []UserRecovery `json:"data"`
}

type UserRecoveryRepository

type UserRecoveryRepository ClientService

func (UserRecoveryRepository) Delete

func (t UserRecoveryRepository) Delete(ctx ApiContext, ids []string) (*http.Response, error)

func (UserRecoveryRepository) Search

func (UserRecoveryRepository) SearchAll

func (UserRecoveryRepository) SearchIds

func (UserRecoveryRepository) Upsert

func (t UserRecoveryRepository) Upsert(ctx ApiContext, entity []UserRecovery) (*http.Response, error)

type UserRepository

type UserRepository ClientService

func (UserRepository) Delete

func (t UserRepository) Delete(ctx ApiContext, ids []string) (*http.Response, error)

func (UserRepository) Search

func (t UserRepository) Search(ctx ApiContext, criteria Criteria) (*UserCollection, *http.Response, error)

func (UserRepository) SearchAll

func (t UserRepository) SearchAll(ctx ApiContext, criteria Criteria) (*UserCollection, *http.Response, error)

func (UserRepository) SearchIds

func (t UserRepository) SearchIds(ctx ApiContext, criteria Criteria) (*SearchIdsResponse, *http.Response, error)

func (UserRepository) Upsert

func (t UserRepository) Upsert(ctx ApiContext, entity []User) (*http.Response, error)

type Version

type Version struct {
	UpdatedAt time.Time `json:"updatedAt,omitempty"`

	Id string `json:"id,omitempty"`

	Name string `json:"name,omitempty"`

	Commits []VersionCommit `json:"commits,omitempty"`

	CreatedAt time.Time `json:"createdAt,omitempty"`
}

type VersionCollection

type VersionCollection struct {
	EntityCollection

	Data []Version `json:"data"`
}

type VersionCommit

type VersionCommit struct {
	VersionId string `json:"versionId,omitempty"`

	UserId string `json:"userId,omitempty"`

	IsMerge bool `json:"isMerge,omitempty"`

	Data []VersionCommitData `json:"data,omitempty"`

	CreatedAt time.Time `json:"createdAt,omitempty"`

	Id string `json:"id,omitempty"`

	IntegrationId string `json:"integrationId,omitempty"`

	AutoIncrement float64 `json:"autoIncrement,omitempty"`

	Message string `json:"message,omitempty"`

	Version *Version `json:"version,omitempty"`

	UpdatedAt time.Time `json:"updatedAt,omitempty"`
}

type VersionCommitCollection

type VersionCommitCollection struct {
	EntityCollection

	Data []VersionCommit `json:"data"`
}

type VersionCommitData

type VersionCommitData struct {
	Id string `json:"id,omitempty"`

	VersionCommitId string `json:"versionCommitId,omitempty"`

	Commit *VersionCommit `json:"commit,omitempty"`

	UserId string `json:"userId,omitempty"`

	AutoIncrement float64 `json:"autoIncrement,omitempty"`

	EntityName string `json:"entityName,omitempty"`

	EntityId interface{} `json:"entityId,omitempty"`

	Action string `json:"action,omitempty"`

	Payload interface{} `json:"payload,omitempty"`

	UpdatedAt time.Time `json:"updatedAt,omitempty"`

	IntegrationId string `json:"integrationId,omitempty"`

	CreatedAt time.Time `json:"createdAt,omitempty"`
}

type VersionCommitDataCollection

type VersionCommitDataCollection struct {
	EntityCollection

	Data []VersionCommitData `json:"data"`
}

type VersionCommitDataRepository

type VersionCommitDataRepository ClientService

func (VersionCommitDataRepository) Delete

func (VersionCommitDataRepository) Search

func (VersionCommitDataRepository) SearchAll

func (VersionCommitDataRepository) SearchIds

func (VersionCommitDataRepository) Upsert

type VersionCommitRepository

type VersionCommitRepository ClientService

func (VersionCommitRepository) Delete

func (t VersionCommitRepository) Delete(ctx ApiContext, ids []string) (*http.Response, error)

func (VersionCommitRepository) Search

func (VersionCommitRepository) SearchAll

func (VersionCommitRepository) SearchIds

func (VersionCommitRepository) Upsert

func (t VersionCommitRepository) Upsert(ctx ApiContext, entity []VersionCommit) (*http.Response, error)

type VersionRepository

type VersionRepository ClientService

func (VersionRepository) Delete

func (t VersionRepository) Delete(ctx ApiContext, ids []string) (*http.Response, error)

func (VersionRepository) Search

func (VersionRepository) SearchAll

func (t VersionRepository) SearchAll(ctx ApiContext, criteria Criteria) (*VersionCollection, *http.Response, error)

func (VersionRepository) SearchIds

func (t VersionRepository) SearchIds(ctx ApiContext, criteria Criteria) (*SearchIdsResponse, *http.Response, error)

func (VersionRepository) Upsert

func (t VersionRepository) Upsert(ctx ApiContext, entity []Version) (*http.Response, error)

type Webhook

type Webhook struct {
	Url string `json:"url,omitempty"`

	ErrorCount float64 `json:"errorCount,omitempty"`

	AppId string `json:"appId,omitempty"`

	App *App `json:"app,omitempty"`

	CreatedAt time.Time `json:"createdAt,omitempty"`

	UpdatedAt time.Time `json:"updatedAt,omitempty"`

	Id string `json:"id,omitempty"`

	Name string `json:"name,omitempty"`

	EventName string `json:"eventName,omitempty"`

	OnlyLiveVersion bool `json:"onlyLiveVersion,omitempty"`

	Active bool `json:"active,omitempty"`
}

type WebhookCollection

type WebhookCollection struct {
	EntityCollection

	Data []Webhook `json:"data"`
}

type WebhookEventLog

type WebhookEventLog struct {
	AppVersion string `json:"appVersion,omitempty"`

	UpdatedAt time.Time `json:"updatedAt,omitempty"`

	DeliveryStatus string `json:"deliveryStatus,omitempty"`

	ProcessingTime float64 `json:"processingTime,omitempty"`

	RequestContent interface{} `json:"requestContent,omitempty"`

	ResponseContent interface{} `json:"responseContent,omitempty"`

	ResponseReasonPhrase string `json:"responseReasonPhrase,omitempty"`

	SerializedWebhookMessage interface{} `json:"serializedWebhookMessage,omitempty"`

	Id string `json:"id,omitempty"`

	WebhookName string `json:"webhookName,omitempty"`

	CreatedAt time.Time `json:"createdAt,omitempty"`

	ResponseStatusCode float64 `json:"responseStatusCode,omitempty"`

	AppName string `json:"appName,omitempty"`

	Timestamp float64 `json:"timestamp,omitempty"`

	OnlyLiveVersion bool `json:"onlyLiveVersion,omitempty"`

	CustomFields interface{} `json:"customFields,omitempty"`

	EventName string `json:"eventName,omitempty"`

	Url string `json:"url,omitempty"`
}

type WebhookEventLogCollection

type WebhookEventLogCollection struct {
	EntityCollection

	Data []WebhookEventLog `json:"data"`
}

type WebhookEventLogRepository

type WebhookEventLogRepository ClientService

func (WebhookEventLogRepository) Delete

func (t WebhookEventLogRepository) Delete(ctx ApiContext, ids []string) (*http.Response, error)

func (WebhookEventLogRepository) Search

func (WebhookEventLogRepository) SearchAll

func (WebhookEventLogRepository) SearchIds

func (WebhookEventLogRepository) Upsert

type WebhookRepository

type WebhookRepository ClientService

func (WebhookRepository) Delete

func (t WebhookRepository) Delete(ctx ApiContext, ids []string) (*http.Response, error)

func (WebhookRepository) Search

func (WebhookRepository) SearchAll

func (t WebhookRepository) SearchAll(ctx ApiContext, criteria Criteria) (*WebhookCollection, *http.Response, error)

func (WebhookRepository) SearchIds

func (t WebhookRepository) SearchIds(ctx ApiContext, criteria Criteria) (*SearchIdsResponse, *http.Response, error)

func (WebhookRepository) Upsert

func (t WebhookRepository) Upsert(ctx ApiContext, entity []Webhook) (*http.Response, error)

Source Files

Directories

Path Synopsis
example module
generator module

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL